Skip to content
Snippets Groups Projects
  1. Aug 03, 2005
  2. Aug 02, 2005
  3. Aug 01, 2005
    • Benedikt Meurer's avatar
      2005-08-02 Benedikt Meurer <benny@xfce.org> · 0b48d923
      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)
      0b48d923
    • Benedikt Meurer's avatar
      2005-08-02 Benedikt Meurer <benny@xfce.org> · e5ff300e
      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)
      e5ff300e
    • Benedikt Meurer's avatar
      2005-08-01 Benedikt Meurer <benny@xfce.org> · 0c77a5e2
      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)
      0c77a5e2
  4. Jul 31, 2005
    • Benedikt Meurer's avatar
      2005-07-31 Benedikt Meurer <benny@xfce.org> · 1c9628d3
      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)
      1c9628d3
    • Benedikt Meurer's avatar
      2005-07-31 Benedikt Meurer <benny@xfce.org> · 70f294fe
      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)
      70f294fe
    • Benedikt Meurer's avatar
      2005-07-31 Benedikt Meurer <benny@xfce.org> · e716baa6
      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)
      e716baa6
    • Benedikt Meurer's avatar
      2005-07-31 Benedikt Meurer <benny@xfce.org> · 3f2c6b14
      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)
      3f2c6b14
  5. Jul 30, 2005
    • Benedikt Meurer's avatar
      2005-07-30 Benedikt Meurer <benny@xfce.org> · f7b8a2d7
      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)
      f7b8a2d7
  6. Jul 29, 2005
    • Benedikt Meurer's avatar
      2005-07-29 Benedikt Meurer <benny@xfce.org> · 87e24fce
      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)
      87e24fce
  7. Jul 28, 2005
    • Benedikt Meurer's avatar
      2005-07-29 Benedikt Meurer <benny@xfce.org> · 8d40bd21
      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)
      8d40bd21
  8. Jul 25, 2005
    • Benedikt Meurer's avatar
      2005-07-25 Benedikt Meurer <benny@xfce.org> · 08981f18
      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)
      08981f18
  9. Jul 22, 2005
    • Benedikt Meurer's avatar
      2005-07-22 Benedikt Meurer <benny@xfce.org> · 4d7e3617
      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)
      4d7e3617
  10. Jul 21, 2005
    • Benedikt Meurer's avatar
      2005-07-22 Benedikt Meurer <benny@xfce.org> · dab554d9
      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)
      dab554d9
  11. Jul 18, 2005
    • Benedikt Meurer's avatar
      2005-07-18 Benedikt Meurer <benny@xfce.org> · 5cec398f
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-job-listdir.c(thunar_vfs_job_listdir_execute):
      	  Always ignore the "." and ".." entries for directories.
      	* thunar/thunar-location-bar.{c,h}: Add virtual method accept_focus(),
      	  which tries to transfer keyboard focus to the location bar if it
      	  provides a way for the user to enter the location as text. Else
      	  the method returns FALSE and the window will open a separate dialog.
      	* thunar/thunar-location-buttons.c, thunar/thunar-location-entry.c:
      	  Implement the accept_focus() method on the ThunarLocationBar
      	  interface appropriately.
      	* thunar/thunar-window-ui.xml, thunar/thunar-window.c: Make the
      	  location bar configurable using the action system.
      
      
      
      
      (Old svn revision: 16399)
      5cec398f
  12. Jul 17, 2005
    • Benedikt Meurer's avatar
      2005-07-17 Benedikt Meurer <benny@xfce.org> · 07141b79
      Benedikt Meurer authored
      	* TODO: Add note to based the ThunarVfsJob communication on the GSignal
      	  mechanism.
      	* configure.in.in: Set tarname to be "Thunar-threaded".
      	* thunar-vfs/thunar-vfs-info.{c,h}: Let thunar_vfs_info_list_free()
      	  return NULL.
      	* thunar-vfs/thunar-vfs-job-listdir.c: Invoke the callback every two
      	  seconds, so for large directories, the user does not need to wait for
      	  the whole folder to be loaded. Also sort the item names prior to
      	  loading the infos.
      	* thunar/thunar-local-folder.c: Support partial loading, as implemented
      	  for ThunarVfsJobListdir.
      
      
      
      
      (Old svn revision: 16395)
      07141b79
    • Benedikt Meurer's avatar
      2005-07-17 Benedikt Meurer <benny@xfce.org> · a23b22b4
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-volume-sysv.c: Fix compile warning with wrong
      	  parameters to thunar_vfs_volume_manager_sysv_get_volume_by_info().
      	  This fixes bug #1083.
      
      
      
      
      (Old svn revision: 16394)
      a23b22b4
    • Benedikt Meurer's avatar
      2005-07-17 Benedikt Meurer <benny@xfce.org> · c17853c2
      Benedikt Meurer authored
      	* thunar-vfs/xdgmime/: Import the XDG mime implementation with the
      	  patches from libexo.
      	* thunar-vfs/: The ThunarVfsInfo framework is now thread-safe, using
      	  the ThunarVfsMime framework provided by ThunarVFS.
      	* thunar/: Turn Thunar into a threaded application.
      
      
      
      
      (Old svn revision: 16393)
      c17853c2
  13. Jul 15, 2005
    • Benedikt Meurer's avatar
      2005-07-15 Benedikt Meurer <benny@xfce.org> · 53eb3dae
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-volume.{c,h}: Extend the ThunarVfsVolumeManager
      	  interface to be able to query the ThunarVfsVolume for a given
      	  ThunarVfsInfo.
      	* thunar-vfs/thunar-vfs-volume-{bsd,sysv}.c: Catch up with the latest
      	  ThunarVfsVolumeManager changes.
      	* thunar-vfs/thunar-vfs-volume-bsd.c(thunar_vfs_volume_bsd_new): Add
      	  support for SCSI direct access devices.
      	* thunar/thunar-file.{c,h}: Add thunar_file_get_volume() to be able
      	  to query the ThunarVfsVolume for a given ThunarFile, if possible.
      	* thunar/thunar-local-file.c: Implement the newly added get_volume()
      	  method based on the ThunarVfsVolumeManager.
      	* thunar/thunar-list-model.c: Use the new volume related functionality
      	  to display the free space of the currently active directory in the
      	  statusbar.
      
      
      
      
      (Old svn revision: 16389)
      53eb3dae
    • Benedikt Meurer's avatar
      2005-07-15 Benedikt Meurer <benny@xfce.org> · a13c5705
      Benedikt Meurer authored
      	* docs/papers/HackingOnThunar.odt: Improve the "Hacking on Thunar"
      	  guide.
      	* thunar-vfs/thunar-vfs-volume.{c,h}: Change the icon lookup mechanism
      	  to return an icon name instead of a GtkIconInfo object. Also allow
      	  the ThunarVfsVolume implementation to specify a custom icon by
      	  overriding the lookup_icon_name() method. Add a new method
      	  get_free_space() which can be used to determine the amount of free
      	  space on a given volume.
      	* thunar-vfs/thunar-vfs-volume-bsd.c: Catch up with the changes to
      	  ThunarVfsVolume.
      	* thunar/thunar-favourites-model.c: Cache icons for the favourites and
      	  reload them whenever the file/volume changes. Adopt the new icon
      	  lookup mechanism for ThunarVfsVolume.
      
      
      
      
      (Old svn revision: 16388)
      a13c5705
  14. Jul 13, 2005
    • Benedikt Meurer's avatar
      2005-07-13 Benedikt Meurer <benny@xfce.org> · 5b032926
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-user.c(thunar_vfs_user_manager_init): Use
      	  direct hashing instead of int hashing.
      	* thunar/thunar-local-file.c(thunar_local_file_get_emblem_names): If
      	  the file cannot be written, return the "noread" emblem as well.
      	* thunar/thunar-file.{c,h}: Add can_execute(), can_read() and
      	  can_write() methods, and a default implementation, so not every
      	  class derived from ThunarFile needs to implement these methods of
      	  its own.
      	* thunar/thunar-standard-view.c(thunar_standard_view_selection_changed):
      	  Update the "cut" and "paste" actions depending on whether the
      	  current directory is writable.
      
      
      
      
      (Old svn revision: 16385)
      5b032926
    • Benedikt Meurer's avatar
      2005-07-12 Benedikt Meurer <benny@xfce.org> · 7894110d
      Benedikt Meurer authored
      	* thunar/thunar-vfs-uri.c(thunar_vfs_uri_list_to_string): Use GString
      	  to build the URI list string.
      	* thunar/thunar-vfs-uri.{c,h}: Add a method thunar_vfs_uri_list_copy()
      	  which duplicates a list of ThunarVfsURIs.
      	* thunar-vfs/thunar-vfs-volume-bsd.c(thunar_vfs_volume_bsd_finalize):
      	  Properly remove the update timer here.
      	* thunar/thunar-list-model.c(thunar_list_model_remove): Perform the
      	  GtkTreeModel delete operation prior to notifying the "num-files"
      	  property to make sure the selection of the view is updated before
      	  the standard-view requests the statusbar text for the selection.
      	* TODO: Add another two issues.
      	* thunar/thunar-clipboard-manager.{c,h}, thunar/Makefile.am: Add the new
      	  ThunarClipboardManager class, which does the interaction with the
      	  clipboard.
      	* thunar/thunar-standard-view.{c,h}: Implement Copy/Cut operations based
      	  on the newly added ThunarClipboardManager class.
      	* thunar/thunar-standard-view-ui.xml, thunar/thunar-window-ui.xml: Add
      	  clipboard operations to the "Edit" menu.
      
      
      
      
      (Old svn revision: 16384)
      7894110d
  15. Jul 07, 2005
  16. Jul 03, 2005
    • Benedikt Meurer's avatar
      2005-07-03 Benedikt Meurer <benny@xfce.org> · 9f3325e9
      Benedikt Meurer authored
      	* thunar/thunar-favourites-model.c(thunar_favourites_model_get_value):
      	  The ThunarVfsVolume interface does no longer provide the "name"
      	  property.
      	* thunar-vfs/thunar-vfs-volume-bsd.c: Read the label from the ISO9660
      	  volume descriptor block whenever a new medium is inserted and use
      	  this label as name.
      
      
      
      
      (Old svn revision: 16365)
      9f3325e9
  17. Jul 01, 2005
    • Benedikt Meurer's avatar
      2005-07-02 Benedikt Meurer <benny@xfce.org> · 2c1bfce3
      Benedikt Meurer authored
      	* configure.in.in: Add checks for functions used in the user module.
      	* thunar-vfs/thunar-vfs-user.{c,h}: Add a user module to the VFS
      	  library, which is extensible and performs some caching to reduce
      	  the overhead caused by the underlying NSS implementation.
      	* docs/papers/HackingOnThunar.odt: Add comments about the newly added
      	  ThunarVfsUser module.
      	* thunar-vfs/thunar-vfs-info.h: Add ThunarVfsUserId and ThunarVfsGroupId
      	  typedefs.
      	* thunar-vfs/thunar-vfs.h, thunar-vfs/Makefile.am: Add the new
      	  ThunarVfsUser module to the build framework.
      	* thunar/thunar-file.{c,h}, thunar/thunar-local-file.c,
      	  thunar/thunar-trash-file.c: Add two new methods to the ThunarFile
      	  class - get_group() and get_user() - and add an implementation of
      	  these methods to the local and trash backends.
      
      
      
      
      (Old svn revision: 16363)
      2c1bfce3
  18. Jun 28, 2005
  19. Jun 26, 2005
    • Benedikt Meurer's avatar
      2005-06-26 Benedikt Meurer <benny@xfce.org> · c2ee9b2c
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-info.{c,h}: Do not automatically determine the
      	  link target for ThunarVfsInfo objects. Instead, we'll add a method
      	  to ThunarVfsInfo later, so modules can do this on-demand. This speeds
      	  up loading directories with lots of symlinks within.
      	* TODO: Remove the ThunarVfsInfo symlink item.
      
      
      
      
      (Old svn revision: 16358)
      c2ee9b2c
    • Benedikt Meurer's avatar
      2005-06-26 Benedikt Meurer <benny@xfce.org> · e5aa4256
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-uri.{c,h}: Don't use a GObject for the
      	  ThunarVfsURI class. GObject is really overhead here, as we don't need
      	  anything of whats provided by GObject.
      	* TODO: Add note about missing GValue handling for ThunarVfsURI.
      	* TODO: Add note to fix ThunarVfsInfo to not implicitly query the
      	  link target.
      	* thunar-vfs/*.[ch], thunar/*.[ch]: Use thunar_vfs_uri_unref() and
      	  thunar_vfs_uri_ref() instead of g_object_unref() and g_object_ref(),
      	  as ThunarVfsURI is no longer a GObject derived type.
      	* thunar/thunar-window.c: Make loading new directories look and feel
      	  "smoother". Still not perfect.
      
      
      
      
      (Old svn revision: 16357)
      e5aa4256
  20. Jun 24, 2005
    • Benedikt Meurer's avatar
      2005-06-24 Benedikt Meurer <benny@xfce.org> · c0587880
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-uri.{c,h}: Add support for the 'computer://'
      	  URI.
      	* thunar/thunar-trash-folder.c, thunar/thunar-local-folder.c,
      	  thunar/thunar-folder.c: Drop the GObject properties, as they are
      	  mostly useless here.
      	* thunar/main.c(main): Use thunar_vfs_uri_new() for the optional
      	  command line parameter to be able to open arbitrary URIs from the
      	  command line.
      	* thunar/Makefile.am: Add new class ThunarComputerFolder to the build
      	  framework.
      	* thunar/thunar-computer-folder.{c,h}: Add ThunarComputerFolder class,
      	  which implements the 'computer:' URI. This vfolder is the root of all
      	  other root folders, currently 'file:/' and 'trash:'.
      	* thunar/thunar-file.{c,h}, thunar/thunar-folder.c,
      	  thunar/thunar-list-model.c, thunar/thunar-local-file.c,
      	  thunar/thunar-local-folder.c, thunar/thunar-statusbar.c,
      	  thunar/thunar-trash-file.c, thunar/thunar-trash-folder.c: Add support
      	  for the 'computer:' vfolder as overall root node. Rearrange the
      	  get_size() method to be able to support objects for which no size
      	  is known, currently vfolders and directories in general. The virtual
      	  get_mime_info() method now automatically takes a reference on the
      	  returned object for the caller.
      
      
      
      
      (Old svn revision: 16351)
      c0587880
  21. Jun 21, 2005
    • Benedikt Meurer's avatar
      2005-06-22 Benedikt Meurer <benny@xfce.org> · 305049cc
      Benedikt Meurer authored
      	* TODO: Addd new TODO items and remove solved issues.
      	* thunar/Makefile.am: Add new class ThunarTrashFile to the build
      	  framework.
      	* thunar-vfs/thunar-vfs-monitor.c(thunar_vfs_monitor_add_info): Do not
      	  use kevent for symlinks, it's way easier to watch them using regular
      	  polling. This shouldn't be a problem anyways, as watching symlinks
      	  is not a common case.
      	* thunar-vfs/thunar-vfs-trash.{c,h}: Add functionality to handle trash:
      	  URIs and determine the real path for a file in a particular trash
      	  can.
      	* thunar-vfs/thunar-vfs-trash.c(thunar_vfs_trash_manager_get_trashes):
      	  Fix a typo where the order of arguments to the g_list_prepend()
      	  function was wrong.
      	* thunar/thunar-trash-file.{c,h}: Add a ThunarTrashFile class, which
      	  represents a trashed file.
      	* thunar/thunar-trash-folder.c: Add support for listing the contents
      	  of the various trash cans, and also provide a simple proxy mechanism,
      	  that automatically forwards the constructor invokation to the
      	  ThunarTrashFile class if required. The trash can handling must be
      	  improved, see bug #1027.
      
      
      
      
      (Old svn revision: 16346)
      305049cc
  22. Jun 20, 2005
    • Benedikt Meurer's avatar
      2005-06-20 Benedikt Meurer <benny@xfce.org> · 96245579
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-monitor.c(thunar_vfs_monitor_event): Remove
      	  unused variables.
      	* thunar/thunar-folder.c: Apply the same optimization concerning signal
      	  id lookups and closure generations as done with ThunarListModel
      	  earlier.
      	* thunar/thunar-folder.c: Actually react to events on the corresponding
      	  file. We still need a mode in which we'll handle errors in async
      	  folder reloads.
      	* thunar/thunar-local-file.c: Drop the cached MIME type whenever the
      	  file changes. The MIME type will be recalculated on demand when
      	  needed.
      	* thunar/thunar-icon-factory.c: Instead of binding to the icon theme
      	  instance's "changed" signal and risking that somebody else already
      	  registered a handler earlier, we use a signal emission hook now, which
      	  is garantied to be fired before any of the signal handlers are
      	  invoked. See the code for details and additional comments.
      
      
      
      
      (Old svn revision: 16344)
      96245579
    • Benedikt Meurer's avatar
      2005-06-20 Benedikt Meurer <benny@xfce.org> · 11772bb1
      Benedikt Meurer authored
      	* thunar/thunar-local-file.h: Add missing THUNAR_LOCAL_FILE_GET_CLASS().
      	* configure.in.in: Add checks for kqueue() and required headers.
      	* thunar-vfs/thunar-vfs-info.{c,h}: thunar_vfs_info_update() is now
      	  part of the public API as it's used by monitor and will be used
      	  by the ThunarLocalFile implementation later as well.
      	* thunar-vfs/thunar-vfs-monitor.{c,h}: Add implementation for most
      	  of the ThunarVfsMonitor. The current implementation uses kqueue()
      	  if available with a fallback to regular polling.
      
      
      
      
      (Old svn revision: 16343)
      11772bb1
  23. Jun 19, 2005
    • Benedikt Meurer's avatar
      2005-06-19 Benedikt Meurer <benny@xfce.org> · 9f508ea5
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-trash.{c,h}: Import first implementation of a
      	  trash manager into thunar-vfs. Does currently only support the "home
      	  trash", but will be extended to use the volume manager in order to
      	  support foreign trashes as well.
      	* thunar-vfs/Makefile.am: Add the trash manager to the build framework.
      	* thunar-vfs/thunar-vfs.h: Include the trash manager header.
      	* thunar/thunar-trash-file.c: Make use of the experimental trash
      	  manager to display the proper icon depending on whether the trash
      	  is full or empty.
      
      
      
      
      (Old svn revision: 16341)
      9f508ea5
  24. Jun 14, 2005
    • Benedikt Meurer's avatar
      2005-06-14 Benedikt Meurer <benny@xfce.org> · 47f47567
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-volume-sysv.{c,h}: Add no-op implementation
      	  to make it possible to compile Thunar on non-BSD systems again.
      	* configure.in.in, thunar-vfs/Makefile.am,
      	  thunar-vfs/thunar-vfs-volume.c, thunar-vfs/thunar-vfs-volume-bsd.c:
      	  Add a rather hacky way to support different system flavours based
      	  on AC_CONFIG_LINKS(). Needs to be replaced by a real solution at
      	  some time.
      	* TODO: Add note about the wacky AC_CONFIG_LINKS() hacks mentioned
      	  above.
      
      
      
      
      (Old svn revision: 16334)
      47f47567
    • Benedikt Meurer's avatar
      2005-06-14 Benedikt Meurer <benny@xfce.org> · 7f27b006
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-uri.c(thunar_vfs_uri_new_for_path): Add some
      	  code to automatically remove trailing slashes from path names, which
      	  would otherwise confuse the whole file manager.
      	* thunar/thunar-fallback-icon.{h,png}, thunar/Makefile.am: The fallback
      	  icon is now stored in a C file and automatically generated at compile
      	  time if maintainer mode is enabled, while dist tarballs will ship the
      	  generated C file.
      	* thunar/thunar-icon-factory.{c,h}: Add new class ThunarIconFactory,
      	  which provides caching of themed icons. The basic concept is based
      	  on the NautilusIconFactory class, but the implementation is simpler
      	  and faster than the implementation found in Nautilus.
      	* thunar/thunar-file.c: Use the new ThunarIconFactory class and the
      	  new exo_mime_info_lookup_icon_name() method to lookup and cache icons
      	  for files. This speeds up folder loading quite a lot.
      	* docs/design/overview.xmi: Add ThunarIconFactory diagram.
      
      
      
      
      (Old svn revision: 16333)
      7f27b006
  25. Jun 13, 2005
    • Benedikt Meurer's avatar
      2005-06-13 Benedikt Meurer <benny@xfce.org> · 9926fdc5
      Benedikt Meurer authored
      	* configure.in.in: Add header checks required for the BSD volume
      	  manager implementation.
      	* thunar/thunar-window.c: Display the current folder's special name.
      	* thunar/thunar-file.{c,h}: Add property "special-name", which contains
      	  the special name of a given file if any, else it contains the same
      	  value as the "display-name" property.
      	* thunar/thunar-location-buttons.c: Use the home directory as root.
      	  Don't display a label for the 'Filesystem' node, similar to how it
      	  is done with GtkFileChooser.
      	* thunar-vfs/thunar-vfs-volume.{c,h},
      	  thunar-vfs/thunar-vfs-volume-bsd.c: Try more advanced features, like
      	  detecting whether a medium is present for a given volume. This is
      	  currently just testing, based on what is provided by the BSD
      	  interface. The final design may look different, maybe even a
      	  D-BUS based thunar-volume-manager service, which can be run with
      	  special permissions in order to be able to query device stats and
      	  mount volumes.
      	* thunar/thunar-favourites-model.c: Use the new features provided by
      	  the volume manager to dynamically display volumes when a medium is
      	  inserted.
      
      
      
      
      (Old svn revision: 16332)
      9926fdc5
  26. Jun 12, 2005
    • Benedikt Meurer's avatar
      2005-06-12 Benedikt Meurer <benny@xfce.org> · e1b21ef0
      Benedikt Meurer authored
      	* docs/design/overview.xmi: Refined the basic ideas for the volume
      	  manager, which will provide core functionality required by the
      	  trash system. The ThunarVfsVolume and ThunarVfsVolumeManager concepts
      	  are interfaces now, which will be implemented by the backend (usually
      	  one backend per operating system family).
      	* tests/data/test-thunar-vfs-volume-bsd.fstab, tests/data/Makefile.am,
      	  tests/test-thunar-vfs-volume-bsd.c, tests/Makefile.am: Add test case
      	  for the BSD specific implementation of the ThunarVfsVolumeManager
      	  module.
      	* tests/test-thunar-vfs-uri.c: Fix copyright and includes.
      	* TODO: Add item about possible improvements of the BSD specific
      	  volume manager implementation.
      	* thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs.h, configure.in.in: Add
      	  new classes and interfaces to the build framework.
      	* thunar-vfs/thunar-vfs-volume.{c,h}: Import the basic interfaces to
      	  the volume manager module, with a minimum set of methods and signals,
      	  which will be extended later.
      	* thunar-vfs/thunar-vfs-volume-bsd.{c,h}: Add first try of an
      	  implementation of the the volume manager interfaces for BSD systems.
      
      
      
      
      (Old svn revision: 16331)
      e1b21ef0
  27. Jun 11, 2005
    • Benedikt Meurer's avatar
      2005-06-11 Benedikt Meurer <benny@xfce.org> · 1455d332
      Benedikt Meurer authored
      	* docs/design/overview.xmi: Extend the ThunarVfsURI functionality.
      	* thunar-vfs/thunar-vfs-uri.{c,h}: Add host handling to ThunarVfsURI.
      	  Add support for different URI schemes, currently 'file://' and
      	  'trash://'.
      	* thunar/thunar-favourites-model.c, thunar/thunar-favourites-view.c, 
      	  thunar/thunar-location-buttons.c: Sync with the little API change
      	  to ThunarVfsURI.
      	* tests/Makefile.am: Delete core files on `make clean'.
      	* tests/test-thunar-vfs-uri.c(main): Add test cases for the trash:
      	  scheme.
      
      
      
      
      (Old svn revision: 16330)
      1455d332
  28. Jun 10, 2005
    • Benedikt Meurer's avatar
      2005-06-11 Benedikt Meurer <benny@xfce.org> · 713ba61f
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-uri.{c,h}: Add functions to ease the handling
      	  of URI lists, specifically to automatically parse and generate
      	  string representations of URI lists that conform to the
      	  text/uri-list mime type.
      	* thunar/thunar-location-buttons.c
      	  (thunar_location_buttons_drag_data_get): Use new ThunarVfsURI list
      	  handling functions instead.
      	* thunar/thunar-favourites-model.c
      	  (thunar_favourites_model_file_destroy): Handle the case where a
      	  directory referenced by a favourite disappears from the backend media.
      	* thunar/thunar-favourites-model.c
      	  (thunar_favourites_model_file_changed): Remove a given favourite if
      	  the system notices that the favourite's file no longer refers to a
      	  directory.
      	* thunar/thunar-favourites-model.c(thunar_favourites_model_init): Do
      	  not re-add favourites initially, that do not refer to a directory.
      	* thunar/thunar-favourites-model.{c,h}: Add a new method
      	  thunar_favourites_model_add(), which is used by the
      	  ThunarFavouritesView to add new favourites to the list and
      	  automatically sync the changes with the Gtk+ bookmarks list.
      	* thunar/thunar-favourites-view.c: Handle "text/uri-list" drops,
      	  adding new favourites as appropriate. Add note, that the initial
      	  idea is based on the GtkFileChooser written by Red Hat for Gtk+.
      	* TODO: Remove the 'text/uri-list'-handling for ThunarFavouritesView.
      	  Add item concerning the Trash in the favourites list.
      
      
      
      
      (Old svn revision: 16328)
      713ba61f
Loading