- Aug 06, 2005
-
-
Benedikt Meurer authored
* configure.in.in: Use AC_TRY_LINK() to avoid trouble with funky systems. (Old svn revision: 16482)
-
Benedikt Meurer authored
* configure.in.in: Add some autoconf magic to get posix_madvise() working with glibc. (Old svn revision: 16481)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-info.{c,h}: Determine the display_name for each file info. * thunar-vfs/thunar-vfs-info.c(thunar_vfs_info_new_for_uri): Hand the display name to thunar_vfs_mime_database_get_info_for_file(), so we don't need to determine it again. * thunar-vfs/thunar-vfs-uri.c(thunar_vfs_uri_get_display_name): Don't use g_filename_display_basename(), because it may returned a somehow translated file name. * thunar/thunar-local-file.c: Use the display_name supplied with the ThunarVfsInfo rather than determining it again. (Old svn revision: 16479)
-
Benedikt Meurer authored
* configure.in.in, thunar-vfs/thunar-vfs-mime-database.c: Add support to query the MIME type stored in the extended attribute "user.mime_type" as specified in the Shared MIME-info spec. * docs/design/mime.xmi, docs/design/Makefile.am: Import description for the ThunarVFS mime module. * thunar-vfs/thunar-vfs-mime-cache.c(thunar_vfs_mime_cache_lookup_glob): Use correct offset when iterating over the GlobEntries. * thunar-vfs/thunar-vfs-mime-cache.c (thunar_vfs_mime_cache_lookup_literal): Fix the offset returned for the MIME-type name. (Old svn revision: 16478)
-
Benedikt Meurer authored
* configure.in.in: Check for fnmatch.h and sys/mman.h. Add checks for working mmap and posix_madvise. * configure.in.in, thunar-vfs/xdgmime/, thunar-vfs/Makefile.am: Drop the xdgmime library. * thunar-vfs/thunar-vfs-mime-cache.{c,h}, thunar-vfs/thunar-vfs-mime-database.{c,h}, thunar-vfs/thunar-vfs-mime-info.{c,h}, thunar-vfs/thunar-vfs-mime-legacy.{c,h}, thunar-vfs/thunar-vfs-mime-provider.{c,h}, thunar-vfs/thunar-vfs-mime.{c,h}: Import thread-safe replacement for the xdgmime library. Works only with very recent shared-mime-info right now. * thunar-vfs/Makefile.am: Add new files to the build framework. * thunar-vfs/thunar-vfs-job.c, thunar-vfs/thunar-vfs-mime.c, thunar-vfs/thunar-vfs.c, thunar-vfs/thunar-vfs.h, thunar/main.c: Add ability to shutdown the VFS library. (Old svn revision: 16477)
-
- Aug 05, 2005
-
-
Stavros Giannouris authored
(Old svn revision: 16473)
-
- Aug 04, 2005
-
-
Benedikt Meurer authored
* configure.in.in: Add "r" in front of the revision for the version string. * thunar-vfs/thunar-vfs-job.{c,h}, thunar-vfs/thunar-vfs-listdir-job.c, thunar-vfs/thunar-vfs-mime.{c,h}, thunar-vfs/thunar-vfs-unlink-job.c, thunar-vfs/thunar-vfs-uri.{c,h}, thunar-vfs/thunar-vfs-transfer-job.c, thunar/thunar-progress-dialog.c: Use ExoObject as base class for ThunarVfsJob, ThunarVfsMimeInfo and ThunarVfsUri, which were fun- damental types previously. ExoObject does exactly what we need here, without any additional overhead. In particular, the ref- counting is atomic, even with GLib < 2.7.4. * configure.in.in: Connect greek translations, previously committed by Stavros Giannouris <stavrosg2002@freemail.gr>. * thunar/thunar-file.c: Use exo-noops for the defaults where possible instead of providing several fallback implementations. * configure.in.in: Bump version number to 0.1.0. (Old svn revision: 16464)
-
Stavros Giannouris authored
(Old svn revision: 16463)
-
Stavros Giannouris authored
(Old svn revision: 16462)
-
- Aug 03, 2005
-
-
Benedikt Meurer authored
* thunar/main.c(main): Connect the translation domain and setup the application name. * thunar/thunar-standard-view.c(thunar_standard_view_init): Setup the translation domain for the action group. * thunar/thunar-window.c(thunar_window_init): Setup the translation domain for the action group. * po/hu.po, configure.in.in, THANKS: Add hungarian translations, thanks to Szervác Attila <sas@321.hu>. (Old svn revision: 16452)
-
Benedikt Meurer authored
2005-08-03 Benedikt Meurer <benny@xfce.org> * thunar/thunar-folder.c(thunar_folder_files_removed): Update docu- mentation. * thunar/thunar-local-folder.c(thunar_local_folder_file_destroy): In- voke the "files-removed" signal when a file in this folder is de- stroyed. * thunar/thunar-list-model.c: Do not connect the "destroy" signal of ThunarFile anymore, but instead we rely on the folder to emit "files-removed" appropriately. * thunar/thunar-list-model.c(thunar_list_model_class_init): Increase the number of preallocated rows. * po/, Makefile.am, configure.in.in: Add i18n support. (Old svn revision: 16451)
-
Benedikt Meurer authored
* thunar/thunar-details-view-text-renderer.c: Calculating the approxi- mate sizes based on the font metrics requires way too much additional data memory (because Pango loads the whole fontset for this calcu- lation), so we base our calculation on a sample text instead. (Old svn revision: 16449)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-job.c(thunar_vfs_job_emit_valist): Lower the Job signal priority to increase the responsiveness of the user interface. (Old svn revision: 16446)
-
Benedikt Meurer authored
* thunar/thunar-details-view-text-renderer.{c,h}: Fast text cell renderer, which provides less accurate cell area size calculation. * thunar/Makefile.am: Add ThunarDetailsViewTextRenderer to the build framework. * thunar/thunar-details-view.c: Use the new text renderer. (Old svn revision: 16445)
-
- Aug 02, 2005
-
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-monitor.c: Implement the thunar_vfs_monitor_feed() method in a reentrant way. (Old svn revision: 16438)
-
- Aug 01, 2005
-
-
Benedikt Meurer authored
* thunar/thunar-list-model.c: Add sort_by_name() calls missing from the initial patch. (Old svn revision: 16434)
-
Benedikt Meurer authored
* thunar/thunar-local-file.c(thunar_local_file_monitor): Actually reload the file info when the VFS monitor notices a change. * thunar/thunar-list-model.c: Apply Jens Luedickes patch to add sub-sorting on the filename. * thunar-vfs/thunar-vfs-monitor.c: Add missing header files. * configure.in.in: Drop the kevent related checks. (Old svn revision: 16433)
-
Benedikt Meurer authored
* configure.in.in: Add check for the FAM/Gamin library. * thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs-monitor.{c,h}: Redesign the VFS monitor to use FAM if available. It also provides an interface to feed the monitor with external events, which will be used by the VFS jobs, which know for sure that they changed/created/deleted a file. The interface is not yet implemented. * thunar/thunar-file.{c,h}: Add a virtual method reload(), which allows external entities to trigger a reload on a ThunarFile. * thunar/thunar-local-file.c: Implement the reload() method. * thunar/thunar-local-file.c, thunar/thunar-local-folder.c: Add support for the new VFS monitor. (Old svn revision: 16432)
-
Benedikt Meurer authored
* thunar/thunar-list-model.{c,h}: Add new method thunar_list_model_get_paths_for_pattern(), which is used to generate a list of GtkTreePaths for all rows matching a certain pattern. * thunar/thunar-details-view.c, thunar/thunar-icon-view.c, thunar/thunar-standard-view.h: Add virtual methods select_all(), unselect_all() and select_path(), and implement them in the details and icon views. * thunar/thunar-standard-view-ui.xml, thunar/thunar-standard-view.c, thunar/thunar-window-ui.xml: Add actions "select-all" and "select-by-pattern" to the "Edit" menu. * thunar-vfs/thunar-vfs-trash.c: Cosmetic fix. (Old svn revision: 16430)
-
- Jul 31, 2005
-
-
Benedikt Meurer authored
* thunar/thunar-local-folder.c: Properly disconnect all signal handlers prior to releasing the job. * TODO: Remove completed items. Add note about the copy&paste behaviour within the same folder. * thunar-vfs/thunar-vfs-transfer-job.c (thunar_vfs_transfer_job_insert_base): Fix the check whether source and target directory are equal. * thunar-vfs/thunar-vfs-user.c(thunar_vfs_user_local_class_init): Fix a crash, where the thunar_vfs_local_user_parent_class wasn't initia- lized properly. * thunar/thunar-location-buttons.c: Allow users to automatically enter directories while dragging a text/uri-list over one of the folder buttons. (Old svn revision: 16425)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-transfer-job.c: Include <time.h> since we use the time() library call. g_chmod() will be introduced with GLib 2.8.0, so adjust the check. (Old svn revision: 16422)
-
Benedikt Meurer authored
* thunar/thunar-clipboard-manager.c (thunar_clipboard_manager_contents_received): Properly clear the CLIPBOARD selection after a paste on "cutted data". Manually trigger an "owner-changed" after a successfully initiating the paste operation if either the Xserver or the GTK+ version doesn't support the XFixes extension. * thunar-vfs/thunar-vfs-transfer-job.c, configure.in.in: Add work-around for systems that lack the lchmod() system call. * thunar/thunar-standard-view.{c,h}: Query all actions from the group when initializing the view to speed up access later. * thunar/thunar-standard-view-ui.xml, thunar/thunar-standard-view.c: Add a "paste-into-folder" action, which is only available from the context menu. * autogen.sh, configure.in.in: Adopt the version numbering scheme from libexo and ditch the date. (Old svn revision: 16421)
-
Benedikt Meurer authored
* thunar/thunar-clipboard-manager.{c,h}: Implement paste support based on the recent API additions to ThunarApplication. * thunar/thunar-standard-view.c(thunar_standard_view_action_paste): Implement the paste action based on the new functionality in ThunarClipboardManager. (Old svn revision: 16419)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-unlink-job.c: Allocate dirent buffer for the job instead of the stack on every thunar_vfs_unlink_item_collect call to reduce the stack overhead for the threads. * thunar-vfs/thunar-vfs-interactive-job.c: Check the cancellation state prior to invoking the "ask" signal. * thunar-vfs/thunar-vfs-interactive-job.{c,h}: Reduce the number of "percent" signal invokations to one per second to reduce the overall load on the main thread. * thunar-vfs/thunar-vfs-job.c(thunar_vfs_job_emit_valist): Lower the priority of inter-thread signals. * thunar/thunar-progress-dialog.c(thunar_progress_dialog_init): Use an ellipsizing label for the progress info message to avoid automatic resizing of the progress dialog. * thunar/thunar-application.{c,h}: Add "copy" and "move" actions. Drop "unlink" action, will be replaced with "trash" and "empty-trash-bin" later. * thunar-vfs/thunar-vfs-transfer-job.{c,h}: Import the ThunarVfsTransferJob class, which can only handle 'file:'-URI transfers right now. (Old svn revision: 16418)
-
- Jul 30, 2005
-
-
Benedikt Meurer authored
* thunarx/thunarx-gtk-extensions.{c,h}, thunarx/Makefile.am: Add a helper function thunarx_gtk_action_group_set_action_sensitive(), which is used to easily change the sensitivity of a GtkAction within a GtkActionGroup. * thunar/thunar-window.c, thunar/thunar-standard-view.c: Use the newly added thunarx_gtk_action_group_set_action_sensitive() method. * thunar/thunar-window-ui.xml, thunar/thunar-window.c: Add new actions "open-new-window" and "close-all-windows". * thunar/thunar-application.{c,h}: Add support for progress dialogs based on the ThunarVfsInteractiveJob. Turn the ThunarApplication class into a single-instance class. Add support to open new windows and querying the list of currently open windows. * thunar/thunar-progress-dialog.{c,h}: GtkWindow already provides the "icon-name" property (since Gtk 2.6), no need to duplicate that. * thunar/main.c: Switch to ThunarApplication. (Old svn revision: 16417)
-
Benedikt Meurer authored
* thunar/thunar-clipboard-manager.c, thunar/thunar-favourites-view.c, thunar/thunar-location-buttons.c, thunar/thunar-statusbar.c: Fix GCC 4.0 cast warnings, thanks to Jeff Franks <jcfranks@tpg.com.au>. (Old svn revision: 16416)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-job.c: Emit signals independant of the cancellation state of the current job. * thunar-vfs/thunar-vfs-trash.{c,h}: Add a way to query the absolute path to the .trashinfo file. Support relative paths and not just filenames for several trash methods. * thunar-vfs/thunar-vfs-interactive-job.{c,h}: Import the ThunarVfsInteractiveJob class, which provides the base for all jobs, that require extended user interaction. * thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs-marshal.list: Add required marshallers, which are not provided by GObject out of the box. * thunar-vfs/thunar-vfs-unlink-job.{c,h}: Import ThunarVfsUnlinkJob class, which is used to unlink a bunch of local or trashed files. * thunar-vfs/thunar-vfs-jobs.{c,h}: Add public interface to the various jobs provided by Thunar-VFS. * thunar-vfs/thunar-vfs.h: Remove the listdir job from the public interface. Add the jobs and the interactive job headers. * thunar/thunar-progress-dialog.{c,h}: Add ThunarProgressDialog class, which provides a dialog, that monitors the progress of an interactive and supports the required user interaction. * thunar/Makefile.am, thunar/thunar-local-folder.c: Catch up with Thunar-VFS changes. (Old svn revision: 16415)
-
- Jul 29, 2005
-
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-job.{c,h}, thunar-vfs/thunar-vfs-listdir-job.c: Move "error" signal to the ThunarVfsJob class. Make proper use of the virtual finalize method. * thunar/thunar-local-folder.c: Catch up with the ThunarVfsJob interface changes. (Old svn revision: 16414)
-
- Jul 28, 2005
-
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-job.{c,h}: Add a parameter spec for ThunarVfsJob and derived types. Add support methods to handle GValues easily. * thunar-vfs/thunar-vfs-listdir-job.{c,h}, thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs.h, thunar/thunar-local-folder.c: Rename the ThunarVfsJobListdir class to ThunarVfsListdirJob. (Old svn revision: 16413)
-
- Jul 25, 2005
-
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-sysdep.{c,h}: Add _thunar_vfs_sysdep_readdir() as a portable, thread-safe readdir replacement. * thunar-vfs/thunar-vfs-job-listdir.c(thunar_vfs_job_listdir_execute): Use _thunar_vfs_sysdep_readdir(). * thunar-vfs/Makefile.am: Add the sysdep component to the build framework. (Old svn revision: 16412)
-
- Jul 24, 2005
-
-
Benedikt Meurer authored
* thunar/thunar-desktop-view.c, thunar/thunar-details-view-icon-renderer.c, thunar/thunar-favourites-model.c, thunar/thunar-file.{c,h}, thunar/thunar-list-model.c, thunar/thunar-location-buttons.c, thunar/thunar-path-entry.c, thunar/thunar-properties-dialog.c, thunar/thunar-statusbar.c, thunar/thunar-window.c: Do not hardcode the default icon factory in thunar_file_load_icon. Instead the icon factory is now a parameter to that function, which permits for proper multi-screen support. (Old svn revision: 16411)
-
Benedikt Meurer authored
* thunar/thunar-icon-factory.c(thunar_icon_factory_load_icon): Handle the case where no XSETTINGS manager is running on one of the connected screens. (Old svn revision: 16410)
-
Benedikt Meurer authored
* thunar/thunar-file.c(thunar_file_load_icon): Actually cache the result of an icon lookup. * thunarx/, thunarx/Makefile.am, configure.in.in: Add "thunarx" namespace, which contains extensions to existing frameworks and various helper functions that don't fit anywhere else. * thunarx/thunarx-gdk-pixbuf-extensions.{c,h}: Add a method to colorize a GdkPixbuf to a given GdkColor. * thunar/main.c, thunar/thunar-desktop-model.{c,h}, thunar/Makefile.am, thunar/thunar-desktop-window.{c,h}, thunar/thunar-desktop-view.{c,h}: Add proof-of-concept for the desktop support. (Old svn revision: 16409)
-
- Jul 22, 2005
-
-
Benedikt Meurer authored
* thunar/thunar-list-model.c: Fix incorrect ThunarVfsMimeInfo -> GObject casts. (Old svn revision: 16408)
-
Benedikt Meurer authored
* configure.in.in: Add -O0 if debugging is enabled. * thunar-vfs/thunar-vfs-job.{c,h}, thunar/thunar-local-folder.c, thunar-vfs/thunar-vfs-job-listdir.{c,h}: Do the ThunarVfsJob communication based on GSignals to provide more flexibility for the various upcoming jobs. (Old svn revision: 16407)
-
Benedikt Meurer authored
* thunar/thunar-clipboard-manager.c, thunar/thunar-standard-view.c, thunar/thunar-window.c: Remove duplicate "const"s. (Old svn revision: 16406)
-
- Jul 21, 2005
-
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-uri.{c,h}: Use "const" parameters if possible to give more hints to the compiler. * thunar-vfs/thunar-vfs-uri.{c,h}: Add thunar_vfs_uri_get_md5sum() method to calculate the MD5 digest of an URI. * thunar/thunar-local-file.c: Preallocate 512 instances of the ThunarLocalFile class to speed up the creation of new objects. * thunar/thunar-details-view.c(thunar_details_view_init): Do not allow reordering of treeview columns. (Old svn revision: 16405)
-
Benedikt Meurer authored
* configure.in.in: Add --disable-debug option, which can be used to disable all kinds of debugging support, and thereby may speed up the whole application in certain cases. * thunar/thunar-statusbar.c: Use the foreground color from the selected style instead of hard coding black for the animation. (Old svn revision: 16404)
-
Benedikt Meurer authored
* thunar/thunar-favourites-view.c: Add support for the LINK DnD action. * thunar/thunar-location-buttons.c(thunar_location_buttons_init): Use GDK_ACTION_LINK instead of GDK_ACTION_COPY to avoid accident copying of directories. * thunar/thunar-statusbar.{c,h}: Implement the ThunarNavigator interface. * thunar/thunar-statusbar.{c,h}: Add a "loading" indicator to the statusbar. Add support to dnd from the shortcut indicator to the favourites list. * thunar/thunar-window.c(thunar_window_init): Connect the statusbar as a navigator. Forward the "loading" property from the view to the statusbar. * configure.in.in: Check for additional headers. Add optional dependency on cairo. (Old svn revision: 16403)
-
- Jul 20, 2005
-
-
Benedikt Meurer authored
* configure.in.in: Rename to "thunar" again, as this is now the main development line. * thunar/thunar-standard-view-ui.xml, thunar/thunar-standard-view.{c,h}: Add context-menu support to the standard view's action framework. * thunar/thunar-details-view.c: Implement context-menu support for right-button click and "Menu"/"<Shift>F10" keyboard shortcuts. (Old svn revision: 16402)
-