Skip to content
Snippets Groups Projects
  1. Dec 20, 2005
    • Benedikt Meurer's avatar
      2005-12-20 Benedikt Meurer <benny@xfce.org> · 5fdaff05
      Benedikt Meurer authored
      	* THANKS: Update credits.
      	* README, configure.in.in, thunar-vfs/thunar-vfs-info.c,
      	  thunar-vfs/thunar-vfs-mime-database.c,
      	  thunar-vfs/thunar-vfs-mime-info.c, thunar-vfs/thunar-vfs-path.c,
      	  thunar/main.c, thunar/thunar-file.c: Support four different levels
      	  of debugging support. Default for SVN builds is `yes', while the
      	  default for release builds is `minimum'. Closes bug #1254.
      
      
      
      
      (Old svn revision: 19091)
      5fdaff05
  2. Dec 13, 2005
    • Benedikt Meurer's avatar
      2005-12-13 Benedikt Meurer <benny@xfce.org> · eeb6ae9b
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-volume-bsd.c(thunar_vfs_volume_bsd_update):
      	  Specify correct buffer size for read().
      	* thunar/thunar-icon-factory.c(thunar_icon_factory_load_from_file):
      	  Don't add frames for small icon sizes (< 36). Be sure to scale icon
      	  to the required size, so we don't need to scale on every render()
      	  call.
      	* thunar/thunar-icon-renderer.c(thunar_icon_renderer_init): Add 1px
      	  padding to the icons.
      	* thunar/thunar-icon-renderer.c(thunar_icon_renderer_render): Try to
      	  avoid scaling icons if they fit into the given cell area (including
      	  the padding).
      
      
      
      
      (Old svn revision: 19037)
      eeb6ae9b
  3. Nov 30, 2005
  4. Nov 29, 2005
  5. Nov 22, 2005
    • Benedikt Meurer's avatar
      2005-11-22 Benedikt Meurer <benny@xfce.org> · 55311a41
      Benedikt Meurer authored
      	* thunar-vfs/*.{c,h}, thunar/*.c, thunarx/*.c: Avoid duplicating static
      	  strings if possible.
      	* thunar-vfs/thunar-vfs-scandir.c(thunar_vfs_scandir_collect): Ignore
      	  EACCES and EPERM on subdirectories with recursive scanning.
      	* thunar-vfs/thunar-vfs-info.h(ThunarVfsInfo): Compress "type", "mode"
      	  and "flags" to reduce memory overhead.
      
      
      
      
      (Old svn revision: 18929)
      55311a41
  6. Nov 21, 2005
    • Benedikt Meurer's avatar
      2005-11-21 Benedikt Meurer <benny@xfce.org> · 95d508f2
      Benedikt Meurer authored
      	* docs/reference/thunar-vfs/, thunar-vfs/thunar-vfs-info.h: Small
      	  documentation tweaks.
      	* thunar-vfs/thunar-vfs-info.h: Allow previous declarations of the
      	  ThunarVfsInfo typedef.
      	* thunarx/thunarx-file-info.{c,h}, thunarx/thunarx.symbols,
      	  thunar/thunar-file.c, docs/reference/thunarx/: Add new virtual method
      	  thunarx_file_info_get_vfs_info(), which can be used to query the
      	  ThunarVfsInfo for a given ThunarxFileInfo.
      
      
      
      
      (Old svn revision: 18920)
      95d508f2
  7. Nov 16, 2005
  8. Nov 14, 2005
    • Benedikt Meurer's avatar
      2005-11-14 Benedikt Meurer <benny@xfce.org> · a6d99306
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-xfer.c: Return G_FILE_ERROR_INTR when the copy
      	  operation is explicitly cancelled by the user.
      	* thunar-vfs/thunar-vfs-transfer-job.c
      	  (thunar_vfs_transfer_job_copy_pair): Don't delete the source file when
      	  moving unless the target file was written successfully and the job
      	  wasn't cancelled. This fixes a bug reported by Jari Rahkonen.
      
      
      
      
      (Old svn revision: 18850)
      a6d99306
    • Benedikt Meurer's avatar
      2005-11-14 Benedikt Meurer <benny@xfce.org> · 00ed6526
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-exec.c(thunar_vfs_exec_on_screen): Fix invalid
      	  calculation of the number of environment variables.
      
      
      
      
      (Old svn revision: 18847)
      00ed6526
    • Benedikt Meurer's avatar
      2005-11-14 Benedikt Meurer <benny@xfce.org> · 4e7a77db
      Benedikt Meurer authored
      	* thunar/thunar-list-model.c: Don't need to remember the "changed"
      	  signal handler id per row, as g_signal_handlers_disconnect_matched()
      	  using G_SIGNAL_MATCH_ID and G_SIGNAL_MATCH_CLOSURE is nearly as fast
      	  as g_signal_handler_disconnect().
      	* thunar/thunar-folder.c(thunar_folder_finalize): Specify both
      	  G_SIGNAL_MATCH_ID and G_SIGNAL_MATCH_CLOSURE when disconnecting
      	  "destroy" signals from files.
      	* thunar/thunar-preferences.c, thunar/thunar-window.c: Remember the last
      	  active view as default for now.
      	* thunar/thunar-create-dialog.c(thunar_create_dialog_text_changed): Use
      	  G_IS_DIR_SEPARATOR() rather than hardcoding the slash character.
      
      2005-11-13	Benedikt Meurer <benny@xfce.org>
      
      	* FAQ, thunar/thunar-icon-view.c: Add initial support for mouse gestures
      	  to the icon view component.
      
      2005-11-13	Benedikt Meurer <benny@xfce.org>
      
      	* thunar/thunar-window.c, thunar/thunar-preferences.c: Rename
      	  "window-location-bar" to "last-location-bar" and "window-side-pane"
      	  to "last-side-pane" to make clear that it's the last selected
      	  setting.
      	* thunar/thunar-metafile.h: Drop THUNAR_METAFILE_KEY_SHOWHIDDEN.
      	* thunar/Makefile.am, thunar/thunar-gobject-extensions.{c,h}: Add
      	  additional GValue transformation functions.
      	* thunar/thunar-preferences.c: Register additional transformation
      	  functions provided by the GObject extensions in the class_init()
      	  function. Add new preference "default-show-hidden", which tells
      	  whether hidden files are shown by default in new windows.
      	* thunar/thunar-view.{c,h}: Add the "show-hidden" property to the
      	  ThunarView interface.
      	* thunar/thunar-standard-view-ui.xml, thunar/thunar-standard-view.c:
      	  Implement the "show-hidden" property from the ThunarView interface,
      	  rather than adding an action to the UI manager.
      	* thunar/thunar-preferences.c: Add "default-show-hidden" property, which
      	  tells whether hidden files should be shown in newly opened windows.
      	* thunar/thunar-window-ui.xml, thunar/thunar-window.c: Add the
      	  "show-hidden" action here, which starts with the default value queried
      	  from the preferences, and uses the new ThunarView API to sync the
      	  selected setting.
      
      2005-11-13	Benedikt Meurer <benny@xfce.org>
      
      	* thunar/thunar-preferences.c(thunar_preferences_set_property): No need
      	  to call g_object_notify() here, as object_set_property() does that
      	  implictly once the set_property() call returns.
      
      2005-11-13	Benedikt Meurer <benny@xfce.org>
      
      	* thunar/thunar-file.{c,h}, thunar/thunar-metafile.{c,h}: Remove the
      	  default value handling from the ThunarMetafile class and leave it up
      	  to the caller to specify the default value when fetching/storing
      	  metadata.
      	* thunar/thunar-folder.{c,h}, thunar/thunar-standard-view.c: Remove
      	  the error parameter from the thunar_folder_get_for_file() method, as
      	  this call cannot fail. If a loading error occurs, it will be reported
      	  asynchronously by the listdir job.
      	* thunar/thunar-preferences.c(thunar_preferences_set_property): Issue
      	  a warning if a required transformation function is not available to
      	  the GLib Type System, as this is effectively a bug in our application.
      
      2005-11-12	Benedikt Meurer <benny@xfce.org>
      
      	* thunar/thunar-folder.c, thunar/thunar-list-model.c,
      	  thunar/thunar-standard-view.c: Forward ThunarVfsListdirJob loading
      	  errors to the ThunarStandardView and display an error dialog to the
      	  user.
      	* thunar/thunar-preferences.c, FAQ: Use a tdb database to store the
      	  preferences, while not saving defaults to the database file.
      	* thunar/thunar-preferences.c: Add initial preferences
      	  "window-location-bar" and "window-side-pane".
      	* thunar/thunar-window.c: Always remember the last selected location
      	  bar and side pane setting in the preferences.
      
      2005-11-11	Benedikt Meurer <benny@xfce.org>
      
      	* thunar/thunar-list-model.c(thunar_list_model_get_statusbar_text):
      	  Display symbolic links properly just like the MIME type field in
      	  the properties dialog.
      
      2005-11-11	Benedikt Meurer <benny@xfce.org>
      
      	* thunar/thunar-standard-view.c(thunar_standard_view_action_duplicate):
      	  Use thunar_standard_view_get_selected_paths() instead of
      	  thunar_standard_view_get_selected_files().
      	* po/POTFILES.in: Add new source files.
      	* po/*.po: Merge new strings.
      	* thunar/thunar-dialogs.{c,h}, thunar/Makefile.am: Add new function
      	  thunar_dialogs_show_error(), which takes care of displaying an error
      	  message dialog to the user.
      	* thunar/thunar-application.c, thunar/thunar-chooser-dialog.c,
      	  thunar/thunar-clipboard-manager.c, thunar/thunar-dnd.c,
      	  thunar/thunar-favourites-view.c, thunar/thunar-launcher.c,
      	  thunar/thunar-properties-dialog.c, thunar/thunar-standard-view.c,
      	  thunar/thunar-window.c: Use thunar_dialogs_show_error() whenever
      	  possible to reduce code duplication.
      	* thunar-vfs/thunar-vfs-info.h, docs/reference/thunar-vfs/: Update the
      	  Thunar-VFS documentation.
      
      2005-11-10	Benedikt Meurer <benny@xfce.org>
      
      	* thunar/thunar-standard-view.c(thunar_standard_view_new_files): Grab
      	  focus for the view widget after selecting newly created files.
      	* thunar-vfs/thunar-vfs-mkdir-job.{c,h}, thunar-vfs/Makefile.am: Import
      	  new class ThunarVfsMkdirJob, which is used to asynchronously create
      	  a bunch of directories.
      	* thunar-vfs/thunar-vfs.{c,h}, thunar-vfs/thunar-vfs.symbols: Add new
      	  methods thunar_vfs_make_directory() and thunar_vfs_make_directories()
      	  as public interface to the newly imported ThunarVfsMkdirJob.
      	* thunar-vfs/thunar-vfs-mime-database.c
      	  (thunar_vfs_mime_database_get_info_for_data_locked),
      	  (thunar_vfs_mime_database_get_info_for_file): Consider empty
      	  files to be text/plain, so users can easily open newly created (empty)
      	  files in their favourite text editor.
      	* thunar-vfs/thunar-vfs-mime-sniffer.{c,h}, thunar-vfs/Makefile.am,
      	  thunar-vfs/thunar-vfs-mime-database.c, configure.in.in: Add function
      	  thunar_vfs_mime_sniffer_looks_like_text(), which performs some smart
      	  checks to determine if a given data block looks like plain text. Plain
      	  text means either UTF-8 - and thereby also ASCII - or valid multi-byte
      	  if the platform supports multi-byte strings. In both cases, even
      	  truncated data blocks will be recognized.
      	* thunar/thunar-application.{c,h}: Add thunar_application_mkdir() as
      	  frontend to the thunar_vfs_make_directories() function.
      	* thunar/thunar-create-dialog.{c,h}, thunar-vfs/Makefile.am: Add class
      	  ThunarCreateDialog, which is used to query the user for the filename
      	  that should be used for a new file/folder.
      	* TODO: Add todo item.
      	* thunar/thunar-standard-view-ui.xml, thunar/thunar-standard-view.c,
      	  thunar/thunar-window-ui.xml: Add "Create Folder" action, which uses
      	  thunar_application_mkdir() to create a new subfolder in the current
      	  folder.
      	* thunar/thunar-window.c: Rename thunar_window_action_location() to
      	  thunar_window_action_open_location() to get consistent naming.
      	* thunar/thunar-window-ui.xml, thunar/thunar-window.c: Add "Home" action
      	  whose primary purpose is to be able to open the home folder using a
      	  keyboard shortcut.
      
      2005-11-10	Benedikt Meurer <benny@xfce.org>
      
      	* thunar-vfs/thunar-vfs-monitor.c, thunar-vfs/thunar-vfs-thumb.c: Apply
      	  patch from Erik Harrison <erikharrison@gmail.com> to fix unused
      	  variables when FAM/Gamin and/or GConf aren't available.
      
      2005-11-10	Benedikt Meurer <benny@xfce.org>
      
      	* thunar/thunar-standard-view.c(thunar_standard_view_init): Be sure to
      	  update the actions whenever the current folder is changed.
      
      2005-11-10	Benedikt Meurer <benny@xfce.org>
      
      	* thunar/thunar-window.c(thunar_window_notify_loading): Don't force a
      	  round-trip to the Xserver when setting/unsetting the watch cursor.
      	  Set/unset the cursor only if the window is already realized.
      	* thunar/thunar-list-model.c(thunar_list_model_get_value): Don't need to
      	  check the result of thunar_file_get_date_string() and
      	  thunar_file_get_size_string() as they are garantied to be non-NULL.
      	* thunar/thunar-list-model.c(thunar_list_model_file_changed): Use
      	  gtk_tree_path_new_from_indices() instead of gtk_tree_path_new() and
      	  gtk_tree_path_append_index().
      	* thunar/thunar-list-model.c(thunar_list_model_set_folder): Use
      	  g_object_freeze_notify()/g_object_thaw_notify() for multiple property
      	  change notification.
      	* thunar/thunar-list-model.c(thunar_list_model_get_statusbar_text):
      	  Don't need to verify the result of thunar_file_get_size_string(), as
      	  it's garantied to be non-NULL.
      
      2005-11-09	Benedikt Meurer <benny@xfce.org>
      
      	* thunar/thunar-location-buttons.c
      	  (thunar_location_buttons_set_current_directory): Be a bit smarter here
      	  and try to reuse existing buttons whenever possible.
      
      2005-11-09	Benedikt Meurer <benny@xfce.org>
      
      	* configure.in.in: Depend on GLib 2.6.4 or above.
      	* tdb/Makefile.am: Add _XOPEN_SOURCE=500 workaround for glibc to make
      	  pread()/pwrite() visible to the compiler.
      
      2005-11-09	Benedikt Meurer <benny@xfce.org>
      
      	* thunar/thunar-history.{c,h}, thunar/Makefile.am: Import new class
      	  ThunarHistory, which handles back/forward history for a ThunarWindow.
      	* thunar/thunar-window-ui.xml, thunar/thunar-window.c: Use the newly
      	  imported class ThunarHistory to manage the navigational history for
      	  the ThunarWindow.
      
      2005-11-09	Benedikt Meurer <benny@xfce.org>
      
      	* thunar/thunar-window.c: Display the tooltip of the currently selected
      	  menu item in the statusbar.
      	* thunar/thunar-icon-render.c(thunar_icon_renderer_render): Render up
      	  to 4 emblems for icon sizes from 48px on and up to 2 emblems for icon
      	  sizes lower than 48px.
      	* thunar/thunar-icon-render.c(thunar_icon_renderer_render): Use the
      	  proper icon factory for the target drawable, rather than the default
      	  icon factory.
      
      2005-11-09	Benedikt Meurer <benny@xfce.org>
      
      	* thunar-vfs/thunar-vfs-xfer.{c,h}: Add function thunar_vfs_xfer_link(),
      	  which creates a symbolic link to a file.
      	* thunar-vfs/thunar-vfs-link-job.{c,h}, thunar-vfs/Makefile.am: Import
      	  new class ThunarVfsLinkJob, which can be used to symlink a bunch of
      	  files.
      	* thunar-vfs/thunar-vfs.{c,h}, thunar-vfs/thunar-vfs.symbols: Add
      	  thunar_vfs_link_file() and thunar_vfs_link_files() as public interface
      	  to the ThunarVfsLinkJob class.
      	* po/POTFILES.in: Add thunar-vfs-link-job.c here.
      	* thunar/thunar-application.{c,h}: Add thunar_application_link_into() as
      	  interface to the thunar_vfs_link_files() method. Restructure the code
      	  to further reduce the code duplication.
      	* thunar/thunar-dnd.c: Use thunar_application_link_into() to implement
      	  the "Link here" Drag&Drop action.
      	* thunar-vfs/thunar-vfs-transfer-job.c
      	  (thunar_vfs_transfer_job_copy_pair): Don't access pairs outside the
      	  current pair list.
      	* thunar-vfs/thunar-vfs-xfer.c(thunar_vfs_xfer_next_path): Also detect
      	  the "%uth copy of %s" pattern when duplicating a file.
      	* thunar/thunar-standard-view.c: Use upper case for substantives in
      	  action titles where appropriate.
      	* thunar/thunar-standard-view-ui.xml, thunar/thunar-standard-view.c:
      	  Add "duplicate" and "make-link" actions, for duplicating/linking
      	  files easily.
      	* po/*.po: Merge new strings.
      
      2005-11-08	Benedikt Meurer <benny@xfce.org>
      
      	* thunar-vfs/thunar-vfs-transfer-job.c(thunar_vfs_transfer_job_new):
      	  Verify that we don't ever try to transfer the root directory.
      	* thunar/thunar-file.{c,h}: Make thunar_file_cache_lookup() a public
      	  function.
      	* thunar-vfs/thunar-vfs-interactive-job.{c,h}: Add a new signal
      	  "new-files", which can be invoked by derived jobs for their new files.
      	  The application can use this signal to get notified when a job added
      	  new files to a folder (e.g. select them in a folder view, etc.).
      	* thunar-vfs/thunar-vfs-transfer-job.c: Collect the newly created paths
      	  and emit the "new-files" signal when the execution finishes.
      	* thunar-vfs/thunar-vfs-monitor.{c,h}, thunar-vfs/thunar-vfs.symbols:
      	  Add new method thunar_vfs_monitor_wait(), which can be used by helper
      	  threads to wait until the ThunarVfsMonitor has processed all pending
      	  notifications.
      	* thunar-vfs/thunar-vfs-interactive-job.c
      	  (thunar_vfs_interactive_job_new_files): Use thunar_vfs_monitor_wait()
      	  to delay the "new-files" emission until the application has processed
      	  all pending notifications.
      	* thunar-vfs/thunar-vfs-monitor.c: Lower the notification interval to
      	  250 milliseconds.
      	* thunar-vfs/thunar-vfs-transfer-job.c(thunar_vfs_transfer_job_execute):
      	  Don't use g_rename() for now, as it causes too much trouble right now.
      	* thunar/thunar-application.{c,h}, thunar/thunar-dnd.{c,h},
      	  thunar/thunar-clipboard-manager.{c,h}: Allow the consumers to pass
      	  a "new-files" closure when starting a transfer job.
      	* thunar/thunar-list-model.{c,h}: Add new method
      	  thunar_list_model_get_paths_for_files(), which returns the list of
      	  tree paths for a given list of ThunarFiles.
      	* thunar/thunar-standard-view.c: Supply a "new-files" closure when
      	  starting transfer jobs, and select the files that are passed to the
      	  "new-files" callback when the job finishes.
      	* docs/reference/thunar-vfs/: Update the documentation bits affected
      	  by the latest changes.
      
      2005-11-08	Benedikt Meurer <benny@xfce.org>
      
      	* thunar/thunar-file.h: Add method thunar_file_is_symlink() to check
      	  whether a given ThunarFile is a symbolic link.
      	* thunar/thunar-list-model.c, thunar/thunar-properties-dialog.c: Display
      	  symbolic links properly for the MIME Type fields.
      	* thunar-vfs/thunar-vfs-transfer-job.{c,h}, thunar-vfs/thunar-vfs.{c,h},
      	  thunar-vfs/thunar-vfs.symbols: Adjust the asynchronous operations API
      	  again to make it more constistent with the requirements of the file
      	  manager.
      	* po/*.po: Merge new strings.
      	* thunar-vfs/thunar-vfs-monitor.c: Add tags to notifications to make
      	  sure (slow) FAM events don't override properly feeded events, as
      	  afterall we know best what we did.
      	* thunar-vfs/thunar-vfs-transfer-job.c
      	  (thunar_vfs_transfer_job_copy_pair): Fix a typo, where the result
      	  of thunar_vfs_transfer_job_overwrite() was not negated properly.
      	* thunar-vfs/thunar-vfs-xfer.c, thunar-vfs/thunar-vfs-transfer-job.c,
      	  TODO: Automatically duplicate files when copying and the source and
      	  target paths refer to the same file.
      	* thunar/thunar-application.{c,h}, thunar/thunar-standard-view.c,
      	  thunar/thunar-clipboard-manager.{c,h}, thunar/thunar-dnd.c: Rework
      	  the ThunarApplication API and internals to reduce the amount of
      	  duplicated code, and make the API more consistent.
      	* thunar-vfs/thunar-vfs-xfer.{c,h}, thunar-vfs/thunar-vfs.c: Feed events
      	  into the VFS monitor from the xfer module.
      	* thunar-vfs/thunar-vfs-transfer-job.c
      	  (thunar_vfs_transfer_job_copy_pair): No need to feed a "created" event
      	  into the VFS monitor, as that's done by the xfer module directly (with
      	  the correct target path).
      	* docs/reference/thunar-vfs/thunar-vfs-sections.txt,
      	  docs/reference/thunar-vfs/tmpl/thunar-vfs-operations.sgml: Update
      	  documentation bits affected by the latest changes to the public API.
      
      2005-11-07	Benedikt Meurer <benny@xfce.org>
      
      	* thunar/thunar-list-model.c: Use an alloc-only memory chunk to reduce
      	  the overhead.
      	* thunar/thunar-icon-factory.c(thunar_icon_factory_load_from_file): Add
      	  the thumbnail frame after scaling down the thumbnail to the desired
      	  size.
      	* thunar/thunar-icon-factory.c(thumbnail_needs_frame): Inline this
      	  function if possible.
      
      2005-11-07	Benedikt Meurer <benny@xfce.org>
      
      	* tdb/tdbtool.c: Make gcc4 happy.
      	* thunar/thunar-dnd.c(thunar_dnd_ask): Add icons to the "move" and
      	  "copy" actions.
      	* thunar/thunar-folder.c(thunar_folder_monitor): Be sure to process
      	  monitor events properly in either case.
      	* thunar-vfs/thunar-vfs-monitor.c
      	  (thunar_vfs_monitor_queue_notification): Schedule only one
      	  notification per handle, where "deleted" events have the highest
      	  priority.
      	* docs/reference/thunar-vfs/: Update documentation.
      	* thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs-xfer.{c,h}: Add module
      	  to copy various kinds of file system entities (basicly everything that
      	  a normal user is permitted to create, e.g. no device nodes).
      	* thunar-vfs/thunar-vfs-transfer-job.{c,h}: Add new ThunarVfsTransferJob
      	  class based on the thunar-vfs-xfer module.
      	* thunar-vfs/thunar-vfs.c: Use new ThunarVfsTransferJob class.
      	* thunar/thunar-progress-dialog.c: Improve the progress dialog.
      	* po/POTFILES.in, po/*.po: Update the file list and the translations.
      
      2005-11-04	Benedikt Meurer <benny@xfce.org>
      
      	* thunar-vfs/thunar-vfs-transfer-job.{c,h}, thunar-vfs/thunar-vfs.{c,h},
      	  thunar-vfs/thunar-vfs.symbols: Update the Thunar-VFS transfer API.
      	* thunar/thunar-application.c: Use the new Thunar-VFS transfer API.
      
      2005-11-04	Benedikt Meurer <benny@xfce.org>
      
      	* thunar/thunar-file.{c,h}: Add "renamed" signal and emit it whenever
      	  the file is renamed by the user.
      	* thunar/thunar-folder.c: Use the "ThunarFile::renamed" to re-register
      	  with the file alteration monitor under the new path.
      	* thunar/thunar-window.c: Update the window icon and title whenever the
      	  current-directory is changed (e.g. the user renamed the directory
      	  file).
      	* thunar-vfs/thunar-vfs-monitor.c: Place the timeout into a preprocessor
      	  define.
      	* tdb/, AUTHORS, FAQ, configure.in.in, Makefile.am: Import the tdb - the
      	  Trivial Database - engine from the Samba suite, which will be used to
      	  store file metadata in a lightweight and efficient way.
      	* thunar/thunar-metafile.{c,h}, thunar/Makefile.am: Add ThunarMetafile
      	  class, which handles metadata for files based on a tdb database.
      	* thunar/thunar-file.{c,h}: Add methods to access metadata for a given
      	  ThunarFile.
      	* thunar/thunar-file.c: Query additional emblems from the file's
      	  metadata (in addition to the special emblems that are set
      	  automcatically).
      	* thunar/thunar-emblem-chooser.{c,h}, thunar/Makefile.am: Add
      	  ThunarEmblemChooser widget class, to edit the list of additional
      	  emblems for a ThunarFile.
      	* thunar/thunar-standard-view.c: Synchronize the show-hidden property.
      	* thunar/thunar-properties-dialog.c: Add a notebook tab for the Emblems.
      
      2005-11-02	Benedikt Meurer <benny@xfce.org>
      
      	* thunar/thunar-file.c: Use THUNAR_FILE_IN_DESTRUCTION as destruction
      	  flag rather than GTK_IN_DESTRUCTION.
      
      2005-11-01	Benedikt Meurer <benny@xfce.org>
      
      	* thunar-vfs/thunar-vfs-unlink-job.c(thunar_vfs_unlink_job_remove):
      	  Also remove thumbnails when successfully deleting a regular file.
      	* thunar-vfs/thunar-vfs-thumb-jpeg.{c,h}, thunar-vfs/Makefile.am,
      	  configure.in.in: Add fast JPEG loader, which is able to scale down
      	  the data while loading it.
      	* thunar-vfs/thunar-vfs-thumb.c: Use the fast JPEG loader to generate
      	  thumbnails for JPEG files (if supported).
      
      2005-11-01	Benedikt Meurer <benny@xfce.org>
      
      	* thunar-vfs/thunar-vfs-info.{c,h}, thunar-vfs/thunar-vfs.symbols: Add
      	  attribute custom_icon to the ThunarVfsInfo struct instead of the hints
      	  framework and a new method thunar_vfs_info_get_custom_icon() to query
      	  the custom icon from a ThunarVfsInfo.
      	* thunar-vfs/thunar-vfs-thumb.c
      	  (thunar_vfs_thumb_factory_store_thumbnail): Fix invalid check for
      	  valid pixbuf.
      	* thunar-vfs/thunar-vfs-info.c(_thunar_vfs_info_new_internal): Be sure
      	  to remove any file extension (e.g. '.png') from themed icon names, so
      	  GtkIconTheme is able to locate the icon.
      	* thunar-vfs/thunar-vfs-info.c: Don't treat .directory files like other
      	  .desktop files, as that's confusing for the casual user.
      	* thunar/thunar-file.{c,h}: Add method thunar_file_get_custom_icon()
      	  to return the custom icon set for the associated ThunarVfsInfo.
      	* thunar/thunar-file.c(thunar_file_get_icon_name): Don't return the
      	  custom icon here.
      	* thunar/thunar-icon-factory.c(thunar_icon_factory_load_file_icon):Check
      	  first if the ThunarFile specifies a custom icon and try to load it,
      	  falling back to thumbnails and regular (mime) icons.
      
      2005-10-31	Benedikt Meurer <benny@xfce.org>
      
      	* thunar/thunar-file.h: Add thunar_file_is_regular() to check whether a
      	  ThunarFile is a regular file.
      	* thunar/thunar-file.h: Add thunar_file_get_info() to query the
      	  ThunarVfsInfo for a given ThunarFile.
      	* thunar-vfs/thunar-vfs-info.{c,h}, thunar-vfs/thunar-vfs.symbols: Add
      	  new method thunar_vfs_info_copy(), which takes a deep copy of a
      	  ThunarVfsInfo.
      	* thunar-vfs/thunar-vfs-job.{c,h}, thunar-vfs/thunar-vfs.symbols: Turn
      	  thunar_vfs_job_cancelled() into an inline function.
      	* thunar-vfs/thunar-vfs-thumb.{c,h}, thunar-vfs/thunar-vfs.symbols,
      	  thunar-vfs/Makefile.am: Readd the ThunarVfsThumbFactory class and
      	  adjust it to use ThunarVfsInfo's instead of ThunarVfsURI's.
      	* configure.in.in, thunar-vfs/Makefile.am,
      	  thunar-vfs/thunar-vfs-thumb.{c,h}: Add optional support for GNOME
      	  thumbnailers, which requires GConf.
      	* thunar/thunar-thumbnail-generator.{c,h}, thunar/Makefile.am: Add new
      	  class ThunarThumbnailGenerator, which is used to asynchronously
      	  generate and store thumbnails for files.
      	* thunar/thunar-icon-factory.{c,h}: Add support for loading thumbnails.
      	  Add support for generating thumbnails using the new
      	  ThunarThumbnailGenerator class.
      	* configure.in.in: Bump version to 0.1.3.
      
      2005-10-30	Benedikt Meurer <benny@xfce.org>
      
      	* thunar-vfs/thunar-vfs-listdir-job.c(thunar_vfs_listdir_job_execute):
      	  Don't immediately terminate the second collector task.
      
      2005-10-30	Benedikt Meurer <benny@xfce.org>
      
      	* thunar-vfs/thunar-vfs-scandir.c: Don't report EMLINK at all.
      
      2005-10-30	Benedikt Meurer <benny@xfce.org>
      
      	* thunar-vfs/thunar-vfs-scandir.c(thunar_vfs_scandir): Treat EMLINK
      	  like ENOTDIR, since there's no GFileError to represent EMLINK.
      
      2005-10-29	Benedikt Meurer <benny@xfce.org>
      
      	* thunar-vfs/thunar-vfs-mime-cache.c(cache_node_lookup_suffix): Always
      	  check the return value to avoid guessing invalid mime types just
      	  because of misleading stopchars.
      	* thunar/thunar-file.c(thunar_file_get_icon_name): Try to be smart when
      	  looking up the icon name for binaries.
      
      2005-10-29	Benedikt Meurer <benny@xfce.org>
      
      	* thunar/thunar-clipboard-manager.{c,h}: Use ThunarFile to copy/cut to
      	  the clipboard and monitor the files for deletion.
      	* thunar/thunar-clipbard-manager.{c,h}: Add new method
      	  thunar_clipboard_manager_has_cutted_file() to check whether a certain
      	  file was cutted to the clipboard.
      	* thunar/thunar-gdk-pixbuf-extensions.{c,h}: Add new function
      	  thunar_gdk_pixbuf_lucent() when generates a translucent pixbuf.
      	* thunar/thunar-standard-view.c: Use the new clipboard manager
      	  interface.
      	* thunar/thunar-icon-renderer.c(thunar_icon_renderer_render): Render
      	  translucent icons for files previously cutted to the clipboard.
      	* thunar/thunar-window.c: Queue a draw on the window whenever the
      	  clipboard contents change to be sure to always display correct
      	  state.
      
      2005-10-28	Benedikt Meurer <benny@xfce.org>
      
      	* thunar-vfs/thunar-vfs-monitor.c(thunar_vfs_monitor_feed): Be sure to
      	  schedule directory events only for handles that were registered as
      	  directory.
      	* thunar-vfs/thunar-vfs-unlink-job.c(thunar_vfs_unlink_job_execute):
      	  Ignore ENOTDIR errors when collecting the files to delete.
      	* thunar-vfs/thunar-vfs-exec.c(tvsn_startup_timeout),
      	  (thunar_vfs_exec_on_screen): Don't use libsn functions outside the
      	  GDK lock.
      	* thunar/thunar-file.{c,h}: Inline the most trivial methods.
      	* thunar-vfs/thunar-vfs-user.{c,h}: Implement ThunarVfsUser and 
      	  ThunarVfsGroup directly for local user/group management.
      
      2005-10-28	Benedikt Meurer <benny@xfce.org>
      
      	* thunar/thunar-clipboard-manager.c
      	  (thunar_clipboard_manager_paste_path_list): Fix possible segmentation
      	  fault.
      
      2005-10-27	Benedikt Meurer <benny@xfce.org>
      
      	* thunar-vfs/thunar-vfs-interactive-job.{c,h}: Add a VFS monitor pointer
      	  to the interactive job, which will be used by the derived classes to
      	  communicate fs changes to the application.
      	* thunar-vfs/thunar-vfs-unlink-job.c(thunar_vfs_unlink_job_remove): Feed
      	  deleted events into the VFS monitor whenever a file was successfully
      	  unlinked from the file system, so the application can be updated even
      	  if no file system monitoring mechanism like FAM or Gamin is available.
      	* thunar/thunar-standard-view-ui.xml, thunar/thunar-standard-view.c: Add
      	  the "Delete file(s)" operation to the user interface.
      
      2005-10-27	Benedikt Meurer <benny@xfce.org>
      
      	* configure.in.in: Add optional check for libstartup-notification-1.0.
      	* thunar-vfs/thunar-vfs-exec.{c,h}, thunar-vfs/Makefile.am: Add optional
      	  support for startup notification.
      	* thunar-vfs/thunar-vfs-info.c,
      	  thunar-vfs/thunar-vfs-mime-application.c: Use the thunar-vfs-exec
      	  module.
      	* thunar-vfs/thunar-vfs-transfer-job.c: Don't include
      	  thunar-vfs-sysdep.h anymore.
      	* po/POTFILES.in: Remove thunar-vfs-sysdep and add thunar-vfs-exec.
      
      2005-10-22	Benedikt Meurer <benny@xfce.org>
      
      	* thunarx/thunarx-config.c: Fix typo.
      	* thunar-vfs/thunar-vfs-config.{c,h.in}, thunar-vfs/Makefile.am,
      	  thunar-vfs/thunar-vfs.symbols, thunar-vfs/abicheck.sh,
      	  thunar-vfs/thunar-vfs.h, configure.in.in: Add support for version
      	  checking to the Thunar-VFS library.
      	* thunar-vfs/*.[ch], thunar-vfs/Makefile.am,
      	  thunar-vfs/thunar-vfs.symbols: Replace ThunarVfsURI with ThunarVfsPath
      	  for the first version and thereby limit the functionality to local
      	  files, which in turn means there's no trash and no computer folder.
      	  This will increase the chance that Thunar will be ready for the Xfce
      	  4.4.0 release.
      	* thunar/*.[ch], thunar/Makefile.am: Use ThunarVfsPath instead of
      	  ThunarVfsURI.
      	* tests/test-thunar-vfs-path.c, tests/test-thunar-vfs-uri.c,
      	  tests/Makefile.am: Replace the ThunarVfsURI test case with a new
      	  ThunarVfsPath test case.
      	* tests/test-thunar-vfs-volume-bsd.c: Properly initialize and shutdown
      	  the Thunar-VFS library.
      	* po/POTFILES.in: Update the file list.
      	* docs/: Sync the documentation with the changes.
      	* configure.in.in: Don't use -fvisibility=hidden as that causes trouble
      	  with inline functions that are also implemented and exported by the
      	  library. Instead we explicitly mark internal functions with
      	  G_GNUC_INTERNAL.
      
      
      
      
      (Old svn revision: 18843)
      4e7a77db
  9. Oct 02, 2005
    • Benedikt Meurer's avatar
      2005-10-02 Benedikt Meurer <benny@xfce.org> · 04ac445b
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-monitor.c: Fire notifications asynchronously, so
      	  events can be injected from threads other than the main thread. This
      	  also fixes problems with Gamins kqueue/inotify backends.
      
      
      
      
      (Old svn revision: 17960)
      04ac445b
  10. Sep 22, 2005
    • Benedikt Meurer's avatar
      2005-09-22 Benedikt Meurer <benny@xfce.org> · b2406d5e
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-*.c: Documentation tweaks.
      	* configure.in.in, docs/reference/Makefile.am,
      	  docs/reference/thunar-vfs/: Prepare Thunar-VFS reference manual.
      	* thunar/thunar-list-model.c(thunar_list_model_get_statusbar_text):
      	  Use ngettext() for the statusbar text.
      	* thunar/thunar-launcher.c(thunar_launcher_update): Use ngettext() for
      	  the "Open in n New Windows" menu label.
      	* thunar/thunar-launcher.c(thunar_launcher_open_new_windows): Use
      	  ngettext() for the question whether to open n separate windows.
      	* thunar/thunar-launcher.c(thunar_launcher_open_uris): Use ngettext()
      	  to format the error message when opening multiple URIs at once
      	  failes.
      	* po/*.po: Update po files.
      	* configure.in.in, examples/open-terminal-here/Makefile.am,
      	  thunar-vfs/Makefile.am, thunar/Makefile.am, thunarx/Makefile.am:
      	  Don't add debugging and visibility flags to CFLAGS, CPPFLAGS and
      	  LDFLAGS, but use PLATFORM_CFLAGS, PLATFORM_CPPFLAGS and
      	  PLATFORM_LDFLAGS instead to avoid trouble with certain conftests
      	  when checking the distribution.
      
      
      
      
      (Old svn revision: 17769)
      b2406d5e
    • Benedikt Meurer's avatar
      2005-09-22 Benedikt Meurer <benny@xfce.org> · febc177d
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-trash.h: Fix typo.
      	* thunar/thunar-chooser-dialog.c(thunar_chooser_dialog_response): Handle
      	  absolute paths properly for custom commands.
      
      
      
      
      (Old svn revision: 17764)
      febc177d
    • Benedikt Meurer's avatar
      2005-09-20 Benedikt Meurer <benny@xfce.org> · 4ebfe744
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-mime-application.{c,h},
      	  thunar-vfs/thunar-vfs.symbols: Load the supported mime types for the
      	  applications.
      	* thunar-vfs/thunar-vfs-mime-application.{c,h},
      	  thunar-vfs/thunar-vfs.symbols: Add a new constructor
      	  thunar_vfs_mime_application_new_from_file() for the special case
      	  where a particular file should be loaded by path.
      	* thunar-vfs/thunar-vfs-mime-application.c
      	  (thunar_vfs_mime_application_equal): Properly initialize the
      	  application variables.
      	* thunar-vfs/thunar-vfs-mime-application.c
      	  (thunar_vfs_mime_application_lookup_icon_name): Permit applications
      	  to specify absolute paths for the icon name.
      	* thunar-vfs/thunar-vfs-mime-database.{c,h},
      	  thunar-vfs/thunar-vfs.symbols: Extend the mime database by a new
      	  method thunar_vfs_mime_database_set_default_application(), which is
      	  used to set the default application for a given mime type.
      	* thunar-vfs/thunar-vfs-sysdep.c(_thunar_vfs_sysdep_parse_exec): Fix
      	  typo to properly execute applications that require a terminal.
      	* thunar-vfs/thunar-vfs-mime-database.c
      	  (thunar_vfs_mime_database_get_applications): Always prepend the
      	  default applications for the given mime info to the list returned
      	  from this method.
      	* thunar/thunar-favourites-model.c(thunar_favourites_model_save): Use
      	  g_mkstemp() to create the temporary file.
      	* thunar-vfs/thunar-vfs-mime-application.{c,h},
      	  thunar-vfs/thunar-vfs.symbols: Add public flags to the mime
      	  applications.
      	* thunar-vfs/thunar-vfs-mime-application.c
      	  (thunar_vfs_mime_application_new_from_file): Strip off known suffixes
      	  for image files if a themed icon is specified. This way we can
      	  work-around quite a few broken .desktop files.
      	* thunar-vfs/thunar-vfs-mime-database.{c,h},
      	  thunar-vfs/thunar-vfs.symbols: Support the addition of custom
      	  applications using thunar_vfs_mime_database_add_application() in
      	  a way compatible to what Nautilus does (which is actually quite a
      	  mess).
      	* thunar/thunar-chooser-dialog.{c,h}, thunar/thunar-chooser-model.{c,h},
      	  thunar/Makefile.am: Import the "Open With" dialog based on the two
      	  classes ThunarChooserDialog and ThunarChooserModel, which in turn are
      	  based on the new functionality provided by Thunar-VFS, and thereby
      	  permit the user to associate applications with files (actually mime
      	  types) and add new applications.
      	* thunar/thunar-launcher.c: Connect the "Open With Other" action to
      	  the new ThunarChooserDialog.
      	* thunar/thunar-favourites-model.c: Document the drag source functions.
      	* README: Add a list of dependencies for Thunar.
      	* TODO: Drop completed items.
      
      
      
      
      (Old svn revision: 17760)
      4ebfe744
  11. Sep 17, 2005
  12. Sep 15, 2005
    • Benedikt Meurer's avatar
      2005-09-15 Benedikt Meurer <benny@xfce.org> · 07df89b9
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-volume-bsd.c,
      	  thunar-vfs/thunar-vfs-volume-sysv.c: Include thunar-vfs-alias.h.
      
      
      
      
      (Old svn revision: 17636)
      07df89b9
    • Benedikt Meurer's avatar
      2005-09-15 Benedikt Meurer <benny@xfce.org> · 63623969
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-interactive-job.{c,h},
      	  thunar-vfs/thunar-vfs-job.{c,h},
      	  thunar-vfs/thunar-vfs-listdir-job.{c,h},
      	  thunar-vfs/thunar-vfs-transfer-job.{c,h},
      	  thunar-vfs/thunar-vfs-unlink-job.{c,h}: Allocate a new main loop for
      	  every running job so we can terminate them properly and be sure to
      	  run the finalize method in the main thread. This enables us to use
      	  arbitrary GObjects within a job without having to worry about the
      	  reference counting problem in GLib 2.6. The jobs are GObjects as well
      	  now to easily support language bindings and allow us to drop the
      	  problematic ExoObject class.
      
      
      
      
      (Old svn revision: 17633)
      63623969
  13. Sep 14, 2005
    • Benedikt Meurer's avatar
      2005-09-14 Benedikt Meurer <benny@xfce.org> · 7aacc258
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-mime-application.{c,h},
      	  thunar-vfs/thunar-vfs-mime-database.c, thunar-vfs/thunar-vfs.symbols,
      	  thunar/thunar-launcher.c, thunar/thunar-marshal.list,
      	  thunar/thunar-open-with-action.c: Turn ThunarVfsMimeApplication into
      	  a boxed type.
      	* thunar/thunar-window.c: Apply Daichis patch to make the dynamic
      	  actions titles translatable (#1153).
      
      
      
      
      (Old svn revision: 17605)
      7aacc258
  14. Sep 13, 2005
    • Benedikt Meurer's avatar
      2005-09-13 Benedikt Meurer <benny@xfce.org> · f66793cd
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-info.c, thunar-vfs/thunar-vfs-mime-database.c,
      	  thunar-vfs/thunar-vfs-mime-info.{c,h}, thunar-vfs/thunar-vfs-thumb.c,
      	  thunar-vfs/thunar-vfs.symbols: Turn ThunarVfsMimeInfo into a boxed
      	  type.
      	* thunar-vfs/thunar-vfs-mime-provider.c: No need to provide fallback
      	  implementations for the virtual methods, as both providers implement
      	  all virtual methods.
      	* thunar-vfs/thunar-vfs-mime-provider.{c,h},
      	  thunar-vfs/thunar-vfs-mime-cache.c,
      	  thunar-vfs/thunar-vfs-mime-legacy.c,
      	  thunar-vfs/thunar-vfs-mime-database.c: Derive the MIME providers from
      	  GObject instead of ExoObject.
      	* thunar-vfs/thunar-vfs-mime-database.c, thunar-vfs/thunar-vfs-info.c,
      	  thunar-vfs/thunar-vfs-thumb.c, thunar-vfs/thunar-vfs.c,
      	  thunar/thunar-computer-folder.c, thunar/thunar-file.c,
      	  thunar/thunar-open-with-action.c, thunar/thunar-trash-folder.c:
      	  Derive ThunarVfsMimeDatabase from GObject instead of ExoObject.
      
      
      
      
      (Old svn revision: 17595)
      f66793cd
    • Benedikt Meurer's avatar
      2005-09-13 Benedikt Meurer <benny@xfce.org> · 926981bc
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-sysdep.h: Add inline atomic operations.
      	* thunar-vfs/thunar-vfs-info.c, thunar-vfs/thunar-vfs-listdir-job.c,
      	  thunar-vfs/thunar-vfs-mime-application.c,
      	  thunar-vfs/thunar-vfs-mime-database.c,
      	  thunar-vfs/thunar-vfs-monitor.c,
      	  thunar-vfs/thunar-vfs-sysdep.c, thunar-vfs/thunar-vfs-thumb.c,
      	  thunar-vfs/thunar-vfs-transfer-job.c, thunar-vfs/thunar-vfs-trash.c,
      	  thunar-vfs/thunar-vfs-uri.{c,h}, thunar-vfs/thunar-vfs.c,
      	  thunar-vfs/thunar-vfs.symbols, thunar/thunar-clipboard-manager.c,
      	  thunar/thunar-computer-folder.c, thunar/thunar-favourites-model.c,
      	  thunar/thunar-favourites-view.c, thunar/thunar-file.c,
      	  thunar/thunar-icon-factory.c, thunar/thunar-local-file.c,
      	  thunar/thunar-local-folder.c, thunar/thunar-location-buttons.c,
      	  thunar/thunar-path-entry.c, thunar/thunar-standard-view.c,
      	  thunar/thunar-statusbar.c, thunar/thunar-trash-file.c, 
      	  thunar/thunar-trash-folder.c: Turn ThunarVfsURI into a boxed type
      	  to make language bindings easier and reduce the overhead. Drop the
      	  foreign host support code, as we can't use it anyways, since nearly
      	  every other existing application that handles file URIs is broken
      	  when it comes to file URIs with authorities. Simplify the
      	  thunar_vfs_uri_to_string() method again and return only escaped
      	  versions of the URI.
      	* thunar/thunar-path-entry.c(thunar_path_entry_set_current_file):
      	  Display file URIs for non-UTF8 paths.
      	* tests/test-thunar-vfs-uri.c, tests/test-thunar-vfs-volume-bsd.c:
      	  Update the tests.
      	* thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs-info.h,
      	  thunar-vfs/thunar-vfs-types.h: Move the system-dependent types to
      	  thunar-vfs-types.h.
      	* thunar-vfs/thunar-vfs-info.{c,h}, thunar-vfs/thunar-vfs.symbols:
      	  Turn ThunarVfsInfo into a boxed type.
      
      
      
      
      (Old svn revision: 17594)
      926981bc
  15. Sep 11, 2005
    • Benedikt Meurer's avatar
      2005-09-11 Benedikt Meurer <benny@xfce.org> · edb3b02d
      Benedikt Meurer authored
      	* thunar/thunar-standard-view.c: Sort the extension actions by their
      	  names instead of their labels.
      	* thunar/thunar-extension-manager.c(thunar_extension_class_init):
      	  Properly initialize the parent class reference.
      	* examples/open-terminal-here/Makefile.am: Don't specify CLEANFILES
      	  explicitly.
      	* thunar/thunar-file.c(thunar_file_get_mime_info): Documentation fix.
      	* thunar-vfs/thunar-vfs-mime-database.c
      	  (thunar_vfs_mime_database_get_info_for_file): When generating an
      	  application/x-extension-<EXT> mime type and no valid extension is
      	  found for the file name, fallback to the whole filename as suggested
      	  by jrb. This way we can make sure that we will never return
      	  application/octet-stream from this method and thereby allow the
      	  program chooser to set default applications for every mime type
      	  used in the file manager.
      	* thunar/Makefile.am: Add $(top_builddir) to INCLUDES.
      
      
      
      
      (Old svn revision: 17560)
      edb3b02d
  16. Sep 06, 2005
    • Benedikt Meurer's avatar
      2005-09-06 Benedikt Meurer <benny@xfce.org> · c5a3c59f
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-uri.c: Invoke the parent's finalize method, as
      	  that will be required for language bindings once we have weak/toggle
      	  references for ExoObject.
      	* thunar/thunar-local-file.c(thunar_local_file_rename): Re-register with
      	  the VFS monitor if the rename succeeds.
      	* thunar-vfs/thunar-vfs-uri.c(thunar_vfs_uri_hash): Don't hash the
      	  hostname if it's NULL.
      	* thunar-vfs/thunar-vfs-uri.c(thunar_vfs_uri_equal): We don't need to
      	  query the hostname string here, as local files will always have host
      	  set to NULL.
      	* tests/test-thunar-vfs-uri.c(main): Extend the ThunarVfsURI test.
      	* pixmaps/, Makefile.am, configure.in.in, thunar/thunar-window.c,
      	  thunar/Makefile.am: Initial idea for the about dialog logo.
      
      
      
      
      (Old svn revision: 17389)
      c5a3c59f
  17. Sep 05, 2005
    • Benedikt Meurer's avatar
      2005-09-05 Benedikt Meurer <benny@xfce.org> · 75692676
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-info.{c,h}, thunar-vfs/thunar-vfs-listdir-job.c:
      	  Use GList instead of GSList to manage ThunarVfsInfo lists, which
      	  increases data locality and decreases memory usage (as there's no
      	  need to keep another allocator around any more).
      	* thunar/thunar-computer-folder.c, thunar/thunar-folder.{c,h},
      	  thunar/thunar-list-model.c, thunar/thunar-local-folder.c,
      	  thunar/thunar-trash-folder.c: Use GList instead of GSList to manage
      	  the list of files for a folder for the same reason.
      	* thunar/thunar-file.{c,h}, thunar/thunar-folder.c,
      	  thunar/thunar-local-folder.c, thunar/thunar-local-file.c: ThunarFile
      	  is derived from GObject now, instead of GtkObject.
      	* thunar/thunar-list-model.c: No need to implement GtkTreeDragDest,
      	  as that's handled in ThunarStandardView.
      
      
      
      
      (Old svn revision: 17375)
      75692676
  18. Sep 04, 2005
    • Benedikt Meurer's avatar
      2005-09-04 Benedikt Meurer <benny@xfce.org> · b164b6e1
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-uri.c(escape): And of course, we need to escape
      	  the '+' and '%' characters in URIs.
      
      
      
      
      (Old svn revision: 17342)
      b164b6e1
    • Benedikt Meurer's avatar
      2005-09-04 Benedikt Meurer <benny@xfce.org> · db0b3b67
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-uri.c(escape): Also escape '&' in URIs.
      
      
      
      
      (Old svn revision: 17339)
      db0b3b67
    • Benedikt Meurer's avatar
      2005-09-04 Benedikt Meurer <benny@xfce.org> · ebaac55a
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-thumb.{c,h}: Implement the store thumbnail
      	  functionality.
      	* thunar-vfs/thunar-vfs-sysdep.c, thunar-vfs/thunar-vfs-trash.c,
      	  thunar-vfs/thunar-vfs-uri.{c,h}, thunar-vfs/thunar-vfs.symbols,
      	  thunar/thunar-clipboard-manager.c, thunar/thunar-favourites-model.c,
      	  thunar/thunar-favourites-view.c, thunar/thunar-file.c,
      	  thunar/thunar-location-buttons.c, thunar/thunar-path-entry.c,
      	  thunar/thunar-standard-view.c, thunar/thunar-statusbar.c: Improve
      	  the thunar_vfs_uri_to_string() method to support UTF-8 URI strings
      	  and escaping of URIs, which is required for proper Drag'n'Drop
      	  interaction with other applications.
      
      
      
      
      (Old svn revision: 17336)
      ebaac55a
    • Benedikt Meurer's avatar
      2005-09-04 Benedikt Meurer <benny@xfce.org> · b6845a37
      Benedikt Meurer authored
      	* thunar/thunar-file.{c,h}: Store the watch count in the GObject data
      	  list, as it seldomly used.
      	* thunar/thunar-file.c(thunar_file_load_icon): Try to load the "loading"
      	  icon directly instead of checking the icon theme first.
      	* thunar/thunar-standard-view.c: Revert the "num-files" special handling
      	  as it leads to a bug where the actions aren't updated properly when
      	  changing directories.
      	* thunar-vfs/thunar-vfs-sysdep.h: Fix typo.
      	* thunar-vfs/thunar-vfs-transfer-job.c,
      	  thunar-vfs/thunar-vfs-unlink-job.c: Unlink thumbnails after removing
      	  a file to reduce the junk in ~/.thumbnails/.
      	* thunar-vfs/thunar-vfs-uri.c(thunar_vfs_uri_get_md5sum): Escape the
      	  path properly, so the thumbnail paths we determine are equal to those
      	  of other file managers.
      
      
      
      
      (Old svn revision: 17333)
      b6845a37
  19. Sep 03, 2005
    • Benedikt Meurer's avatar
      2005-09-03 Benedikt Meurer <benny@xfce.org> · 4da80447
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs.symbols, thunar-vfs/thunar-vfs-mime-info.{c,h},
      	  thunar-vfs/thunar-vfs-mime-database.c: Determine media and subtype of
      	  a ThunarVfsMimeInfo on-demand.
      	* thunar-vfs/thunar-vfs-info.c(thunar_vfs_info_new_for_uri): Move the
      	  .desktop file handling to the regular file case.
      	* thunar-vfs/thunar-vfs-thumb.{c,h}, thunar-vfs/thunar-vfs.symbols,
      	  thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs.h: Import the
      	  ThunarVfsThumbFactory class, which implements the freedesktop
      	  thumbnail management specification.
      	* thunarx/thunarx-gdk-pixbuf-extensions.{c,h}: Add new helper function
      	  thunarx_gdk_pixbuf_frame(), which is used to embed an arbitrary image
      	  into a frame (e.g. for thumbnails).
      	* thunar/thunar-favourites-model.c, thunar/thunar-file.c,
      	  thunar/thunar-icon-factory.{c,h}, thunar/thunar-icon-renderer.c,
      	  thunar/thunar-list-model.c, thunar/thunar-location-buttons.c,
      	  thunar/thunar-window.c: Make sure we don't leak the default icon
      	  factory instance on exit.
      	* thunar/Makefile.am, thunar/thunar-thumbnail-frame.{h,png}: Import
      	  the thumbnail frame image used by Nautilus.
      	* thunar/thunar-icon-factory.{c,h}: Add thumbnail loading support to
      	  the icon factory and reorganize the internals a bit.
      	* thunar/thunar-file.c: Load thumbnails for regular if possible.
      
      
      
      
      (Old svn revision: 17328)
      4da80447
  20. Sep 02, 2005
    • Benedikt Meurer's avatar
      2005-09-02 Benedikt Meurer <benny@xfce.org> · c598ef43
      Benedikt Meurer authored
      	* thunar/thunar-standard-view.c: Avoid going through the selection
      	  changed handling whenever the number of files in a model changes,
      	  as the only thing that needs updating here is the statusbar text.
      	* thunar-vfs/thunar-vfs-mime-cache.c
      	  (thunar_vfs_mime_cache_lookup_parents): Fix the offset from which the
      	  parent mime type name is read.
      	* thunar-vfs/thunar-vfs-mime-cache.c(cache_node_lookup_suffix):
      	  Optimize the tail-recursive suffix lookup.
      	* thunar-vfs/thunar-vfs-mime-database.c
      	  (thunar_vfs_mime_database_get_info_for_file): Use fast stack memory
      	  for the extattr and content lookups.
      
      
      
      
      (Old svn revision: 17285)
      c598ef43
  21. Sep 01, 2005
    • Benedikt Meurer's avatar
      2005-09-01 Benedikt Meurer <benny@xfce.org> · 2a91e495
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-listdir-job.c: Fix the pre-sorting of files, so
      	  upper layers always receive the info list sorted by name.
      	* thunar/thunar-details-view.c(thunar_details_view_button_press_event),
      	  thunar/thunar-icon-view.c(thunar_icon_view_button_press_event): Don't
      	  popup the context menu immediately on right-clicks, but schedule the
      	  menu popup using thunar_standard_view_queue_popup().
      	* thunar/thunar-standard-view.{c,h}: Add the ability to start a drag
      	  operation using the right mouse button.
      	* thunar/thunar-file.{c,h}: Add virtual method accepts_uri_drop() and
      	  method thunar_file_accepts_uri_drop(), which are used to determine
      	  whether it is possible to drop a certain list of ThunarVfsURIs on
      	  a given ThunarFile (using a set of actions specified by the drag
      	  source).
      	* thunar/thunar-local-file.c: Implement the accepts_uri_drop() method
      	  for local file handling.
      	* thunar/thunar-progress-dialog.c(thunar_progress_dialog_ask),
      	  (thunar_progress_dialog_error): Be sure to display the progress dialog
      	  prior to opening an error or question dialog.
      	* thunar-vfs/thunar-vfs-info.c(thunar_vfs_info_rename): Fix gcc4
      	  warning.
      	* thunar-vfs/thunar-vfs.symbols: Add missing thunar_vfs_rename symbol.
      	* thunar/thunar-favourites-model.c(thunar_favourites_model_get_value):
      	  Work-around a compiler bug with newer gcc versions.
      	* thunar/thunar-standard-view.{c,h}: Turn ThunarStandardView into a
      	  valid drop site with support for text/uri-list drops.
      	* thunar/Makefile.am, thunar/thunar-dnd.{c,h}: Add DnD helper functions,
      	  which can be used by other modules as well (e.g. for the desktop
      	  view).
      
      
      
      
      (Old svn revision: 17266)
      2a91e495
  22. Aug 30, 2005
    • Benedikt Meurer's avatar
      2005-08-30 Benedikt Meurer <benny@xfce.org> · e2264e17
      Benedikt Meurer authored
      	* thunar/thunar-local-file.c(thunar_local_folder_infos_ready): Do not
      	  compare the newly inserted files, as they are garantied to be
      	  different from each other.
      	* thunar-vfs/thunar-vfs-info.c(thunar_vfs_info_matches): Move the URI
      	  comparison to the end as that takes most of the time.
      	* thunar-vfs/thunar-vfs-listdir-job.c(thunar_vfs_listdir_job_execute):
      	  Pre-sort the names in ascending order to get faster inserts for the
      	  usual case where the user sorts its views by name.
      
      
      
      
      (Old svn revision: 17197)
      e2264e17
    • Benedikt Meurer's avatar
      2005-08-30 Benedikt Meurer <benny@xfce.org> · 7d12f4e2
      Benedikt Meurer authored
      	* thunar/thunar-properties-dialog.c: Adjust the "editability" of the
      	  name entry widget depending on whether the file can be renamed.
      	* thunar-vfs/thunar-vfs-info.{c,h}: Add methd thunar_vfs_info_rename()
      	  which supports renaming of regular files and .desktop files.
      	* thunar/thunar-file.{c,h}: Add _thunar_file_cache_rename() to support
      	  ThunarFile implementations that provide the thunar_file_rename()
      	  method.
      	* thunar/thunar-local-file.c: Add support to rename local files based
      	  on thunar_vfs_info_rename().
      	* thunar/thunar-properties-dialog.c: Allow users to rename files using
      	  the name entry widget.
      	* thunar/thunar-list-model.c(thunar_list_model_file_changed): Re-sort
      	  the model as the file may have changed its name.
      	* thunar/thunar-list-model.c(thunar_list_model_sort): Avoid the GArray
      	  overhead and try to use stack memory if possible.
      	* thunar/thunar-standard-view.h, thunar/thunar-details-view.c,
      	  thunar/thunar-icon-view.c: Add virtual methods set_cursor() and
      	  scroll_to_path() to the ThunarStandardView class and implement them
      	  in ThunarDetailsView and ThunarIconView.
      	* thunar/thunar-standard-view.c: Implement the "Rename" action based
      	  on the inline editing capabilities of ThunarTextRenderer.
      
      
      
      
      (Old svn revision: 17194)
      7d12f4e2
  23. Aug 28, 2005
    • Benedikt Meurer's avatar
      2005-08-28 Benedikt Meurer <benny@xfce.org> · ac7961d6
      Benedikt Meurer authored
      	* thunar/thunar-list-model.c(thunar_list_model_sort): Use temporary
      	  storage on the stack, rather than the heap.
      	* thunar/thunar-list-model.c: Derive from GObject rather than
      	  GtkObject, as we don't need GtkObject's features anymore in
      	  ThunarListModel.
      	* thunar/thunar-list-model.c(thunar_list_model_class_init): Use
      	  EXO_PARAM_* macros rather than G_PARAM_*.
      	* thunar-vfs/thunar-vfs-uri.c(thunar_vfs_uri_equal): Add a check to
      	  see whether the compared references refer to the same object, which
      	  can happen quite often (in case of a positive match).
      	* thunar-vfs/thunar-vfs-uri.c(thunar_vfs_uri_list_to_string): Prealloc
      	  a buffer of 512 bytes for the URI list string representation.
      	* thunar-vfs/thunar-vfs-uri.c(thunar_vfs_uri_list_free): Use
      	  g_list_foreach() to unref the URIs.
      	* thunar/thunar-local-file.c(thunar_local_file_get_emblem_names):
      	  Properly verify the parent uri when testing for the Desktop
      	  directory.
      	* thunar-vfs/thunar-vfs.{c,h}, thunar-vfs/Makefile.am: Drop the
      	  thunar_vfs_mime_info_get() and thunar_vfs_mime_info_get_for_file()
      	  methods, and merge the thunar-vfs-mime initialization into the
      	  thunar-vfs initialization routines.
      
      
      
      
      (Old svn revision: 17153)
      ac7961d6
    • Benedikt Meurer's avatar
      2005-08-28 Benedikt Meurer <benny@xfce.org> · b951da96
      Benedikt Meurer authored
      	* thunar/thunar-file.{c,h}, thunar/thunar-local-file.c,
      	  thunar/thunar-standard-view.c: Rename can_execute(), can_read() and
      	  can_write() to is_executable(), is_readable() and is_writable() to
      	  get consistent naming.
      	* thunar-vfs/thunar-vfs-info.{c,h}: Add THUNAR_VFS_FILE_FLAGS_EXECUTABLE
      	  to the ThunarVfsFileFlags, which will be set if a ThunarVfsInfo
      	  can be executed, either as regular binary or as .desktop file.
      	* thunar-vfs/thunar-vfs-mime-application.c,
      	  thunar-vfs/thunar-vfs-sysdep.{c,h}: Move the Exec parsing code from
      	  ThunarVfsMimeApplication to thunar-vfs-sysdep, so it can be used by
      	  other modules as well.
      	* thunar-vfs/thunar-vfs-info.{c,h}, thunar-vfs/thunar-vfs.symbols: Add
      	  new method thunar_vfs_info_execute(), which is used to execute
      	  files with a list of URIs. These method can handle both regular
      	  executable files as well as .desktop files.
      	* thunar/thunar-file.{c,h}, thunar/thunar-launcher.c,
      	  thunar/thunar-local-file.c: Add support to execute files that are
      	  marked as executable by the ThunarVfsInfo module.
      	* thunar-vfs/thunar-vfs-mime-database.c
      	  (thunar_vfs_mime_database_get_info_locked),
      	  (thunar_vfs_mime_database_get_infos_for_info_locked): Be sure to
      	  always unalias MIME-types prior to returning them from the mime
      	  database instance. This way we don't need to care for unaliasing
      	  when determining the MIME-type comment or MIME-type icon.
      	* thunar-vfs/thunar-vfs-mime-database.{c,h},
      	  thunar-vfs/thunar-vfs.symbols: Add new method
      	  thunar_vfs_mime_database_get_infos_for_info() to the public API, to
      	  allow other components to access the subclassing information.
      	* FAQ, Makefile.am: Add initial items for the list of frequently asked
      	  questions.
      	* TODO: Remove obsolete items.
      
      
      
      
      (Old svn revision: 17147)
      b951da96
  24. Aug 27, 2005
    • Benedikt Meurer's avatar
      2005-08-27 Benedikt Meurer <benny@xfce.org> · 8a33bf71
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-info.{c,h}: Add support to pass hints from the
      	  ThunarVfsInfo to the upper layers. Use these hints to pass icon and
      	  name information from .desktop files.
      	* thunar-vfs/thunar-vfs.symbols: Add new symbols.
      	* thunar/thunar-local-file.c: Use the new hints to display appropriate
      	  names and icons for .desktop files.
      
      
      
      
      (Old svn revision: 17137)
      8a33bf71
    • Benedikt Meurer's avatar
      2005-08-27 Benedikt Meurer <benny@xfce.org> · 759da4d9
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-trash.c: Use ThunarVfsMonitor instead of
      	  polling the trash files/ directories manually.
      
      
      
      
      (Old svn revision: 17134)
      759da4d9
    • Benedikt Meurer's avatar
      2005-08-27 Benedikt Meurer <benny@xfce.org> · 4d01a84a
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-mime-legacy.c: Add support for MIME-type
      	  aliases and parents to the legacy implementation.
      	* configure.in.in, thunar-vfs/thunar-vfs-mime-database.c: Add support
      	  for determining the MIME type from an extended attribute on SunOS
      	  and Linux.
      
      
      
      
      (Old svn revision: 17126)
      4d01a84a
  25. Aug 20, 2005
  26. Aug 11, 2005
    • Benedikt Meurer's avatar
      2005-08-11 Benedikt Meurer <benny@xfce.org> · 25f30de4
      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)
      25f30de4
    • Benedikt Meurer's avatar
      2005-08-10 Benedikt Meurer <benny@xfce.org> · fdb0add5
      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)
      fdb0add5
Loading