- Aug 18, 2005
-
-
Benedikt Meurer authored
* thunar/thunar-list-model.c(thunar_list_model_set_folder): Speed up the removal of existing rows when changing folders. It's now O(n) instead of O(n^2). * thunar/thunar-list-model.c: The memory chunk used for the rows is now an object attribute, rather than a global variable. (Old svn revision: 17004)
-
Daichi Kawahata authored
(Old svn revision: 16995)
-
- Aug 11, 2005
-
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-mime-application.c (thunar_vfs_mime_application_new_from_desktop_id): Use "Name" instead of "GenericName" for the application's name, as the "Name" usually includes the project name in addition to the functional description of the application, which provides better results than having several applications named "Text Editor", etc. * configure.in.in: Prefer Gamin over FAM to avoid the C++ dependency if possible. Besides that, Gamin offers several other advantages over FAM, which makes it better suitable to be used in Thunar. * po/POTFILES.in: Add missing source files here, and remove obsolete files. * Thunar.desktop.in, Makefile.am, configure.in.in, po/POTFILES.in: Add desktop file for Thunar. (Old svn revision: 16851)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-jobs.{c,h}, thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs.{c,h}: Merge thunar-vfs-jobs.[ch] into thunar-vfs.[ch]. * thunar-vfs/thunar-vfs-mime-database.c, thunar/thunar-local-folder.c, thunar-vfs/thunar-vfs-monitor.{c,h}, thunar/thunar-local-file.c: Rename thunar_vfs_monitor_get() to thunar_vfs_monitor_get_default(). * thunar-vfs/thunar-vfs-mime-database.{c,h}, thunar-vfs/thunar-vfs-mime.c, thunar-vfs/thunar-vfs-info.c, thunar/thunar-launcher.c, thunar/thunar-open-with-action.c, thunar/thunar-trash-folder.c: Rename thunar_vfs_mime_database_get() to thunar_vfs_mime_database_get_default(). * thunar-vfs/, thunar/Makefile.am, tests/Makefile.am, configure.in.in: Turn libthunar-vfs into a shared library, so we can use it in other applications/plugins as well. (Old svn revision: 16849)
-
- Aug 10, 2005
-
-
Benedikt Meurer authored
* configure.in.in: Bump version to 0.1.1. * thunar-vfs/thunar-vfs-mime-info.h: Add list handling method thunar_vfs_mime_info_list_free(). * thunar-vfs/thunar-vfs-mime-info.c(thunar_vfs_mime_info_get_comment): Automatically generate a comment for 'application/x-extension-<EXT>' types if no comment is found on the disk. * thunar-vfs/thunar-vfs-mime-database.c (thunar_vfs_mime_database_get_info_for_file): Automatically generate an 'application/x-extension-<EXT>' type on the fly if all other checks fail and the file name has an extension. * thunar-vfs/thunar-vfs-mime-cache.c, thunar-vfs/thunar-vfs-mime-legacy.c, thunar-vfs/thunar-vfs-mime-database.c, thunar-vfs/thunar-vfs-mime-provider.{c,h}: Add provider methods to unalias mime types and to determine the parents of a given mime type. Use these information to query additional MIME applications. (Old svn revision: 16839)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-mime-database.c (thunar_vfs_mime_database_get_default_application): Fall back to the first available application if no explicit default application is set by the user. * thunar/thunar-file.{c,h}, thunar/thunar-launcher.c: Rename thunar_file_list_dup() to thunar_file_list_copy() to get consistent naming. * thunar-vfs/thunar-vfs-mime-application.{c,h}: Add support methods required for hashing. * thunar-vfs/thunar-vfs-mime-application.{c,h}: Add methods to launch an application on a given list of URIs on a specific screen. Implement the Desktop Entry Specification 0.9.4, except for startup notification support, which will be added soon. * thunar/thunar-launcher.c, thunar/thunar-open-with-action.c: Allow users to open files using the newly added ThunarVfsMimeApplication functionality. (Old svn revision: 16828)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-mime-database.c: According to the specification the defaults.list may specify more than one desktop-id per MIME type, where the first available application should be used. (Old svn revision: 16825)
-
- Aug 09, 2005
-
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-mime-info.{c,h}: Add support methods required for hashing. * thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs-mime-application.{c,h}, thunar-vfs/thunar-vfs-mime-database.{c,h}: Add initial MIME application support to the MIME database. * thunar/thunar-launcher.{c,h}: Add ThunarLauncher class, which provides actions to launch files using appropriate MIME applications. The ThunarLauncher class will also be used by the desktop view. * thunar/thunar-open-with-action.{c,h}: Add special action class ThunarOpenWithAction, which provides a GtkAction implementation, that - when used as menu - displays a submenu with all available MIME applications for a given file. * thunar/thunar-window-ui.xml: Add a placeholder to include the launcher support in the "File" menu on the main menu bar. * thunar/thunar-standard-view.c, thunar/thunar-standard-view-ui.xml, thunar/thunar-icon-view.c, thunar/thunar-details-view.c: Add file launcher support based on the new ThunarLauncher class. * thunar/thunar-file.{c,h}: Add methods to handle lists of ThunarFile items easily. * thunar/thunar-icon-factory.c(thunar_icon_factory_load_icon): Handle the case of passing a NULL or empty name properly. (Old svn revision: 16816)
-
- Aug 07, 2005
-
-
Benedikt Meurer authored
* configure.in.in, po/ja.po, THANKS: Add initial japanese translations, thanks to Daichi Kawahata <daichik@users.sourceforge.net>. This fixes #1004. (Old svn revision: 16495)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-mime-legacy.c: Add support for the various globs to the legacy mime provider. * thunar-vfs/thunar-vfs-mime-database.c(thunar_vfs_mime_database_init): Read atleast 64 bytes from every file to reliably detect text files. * thunar-vfs/thunar-vfs-mime-database.c: When looking up the MIME info for a given file, and the magic check doesn't return a match, we'll return "application/x-executable" for every regular file that is atleast 1 byte in size and has the executable bit set, as this is more precise than "application/octet-stream". (Old svn revision: 16494)
-
- 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)
-