2008-05-27 Christian Kellner * NEWS: Prepare for release. 2008-05-22 Hans Petter Jansson Fix fuse daemon locking and file handle life-cycle issues that were causing frequent crashes. * client/gvfsfusedaemon.c (file_handle_new): Add a "path" field pointing to a string representing the path this file handle is associated with, for reverse mapping. (file_handle_unref): Is now responsible for decrementing the ref count and freeing the handle if it reaches 0. Note that we need to check the ref count again after obtaining the global mutex. (file_handle_free): The new path member is freed here. (get_file_handle_for_path): Ref the obtained handle. (get_or_create_file_handle_for_path): Ditto, and hold the lock the whole time. (reindex_file_handle_for_path): Steal the old entry to avoid buildup of stale handles. (free_file_handle_for_path): Remove. (vfs_getattr): Unref the handle when we're done with it. (vfs_rename): Ditto. (vfs_unlink): Ditto. (vfs_truncate): Ditto. (vfs_open): Don't ref the obtained handle; it's done in the helper. (vfs_create): Ditto. (vfs_release): Let file_handle_unref() free the handle if appropriate. Note that the old logic here was inverted, meaning we'd try to free the handle if the ref count was non-zero. (vfs_init): The hash table no longer owns the path key strings - the file handle does. 2008-05-22 Hans Petter Jansson A more complete fix for GNOME bug #531516. * client/gvfsfusedaemon.c (subthread_main): Send SIGHUP to the main thread just before subthread exits. (dbus_filter_func): When gvfsd goes away, exit the subthread's main loop instead of immediately sending SIGHUP to parent thread. Do the same when the session bus goes away. (shutdown_on_idle): Remove, no longer needed. (shutdown_signal): Remove, no longer needed. (vfs_init): Tell dbus to not exit when session bus goes down. Don't catch signals anymore, since Fuse does this for us. 2008-05-22 Hans Petter Jansson * client/gvfsfusedaemon.c (shutown_on_idle) (shutdown_signal) (vfs_init): When the process receives one of the HUP, TERM or INT signals, shut down gracefully. Fixes GNOME bug #531516. 2008-05-11 Hans Petter Jansson * client/gvfsfusedaemon.c: Fix erroneous copyright header and provide a better description of the source file. 2008-05-09 Federico Mena Quintero Merged from trunk: http://bugzilla.gnome.org/show_bug.cgi?id=532375 - Fix strdup() / g_free() confusion. * hal/hal-device.c (hal_device_new_from_udi_and_properties): g_strdup() the UDI. We can't just steal it, since it comes from libhal, which uses strdup() (and we do g_free() in our finalizer). * hal/hal-pool.c (hal_pool_new): Free the actual device strings here. 2008-04-22 Benjamin Otte * */*.[ch]: get rid of modelines The modelines were inconsistent and caused issues when used in different editors. 2008-04-21 Sebastien Bacher * daemon/gvfsbackendftp.c: (do_enumerate_directory): remove trailing '\r', that workarounds a parser issue causing some filenames to not be listed (#524880) 2008-04-21 Matthias Clasen * client/gdaemonvfs.c: * hal/hal-pool.c: Set exit-on-disconnect to FALSE on private dbus connections to prevent unexpected exits. (#528785) 2008-04-21 David Zeuthen * client/gvfsfusedaemon.c: Fix some reference issues, see http://mail.gnome.org/archives/gvfs-list/2008-April/msg00017.html 2008-04-20 David Zeuthen * daemon/gvfsbackendarchive.c: some minor fixes (#528950) 2008-04-16 David Zeuthen * hal/ghalvolumemonitor.c: (should_mount_be_ignored), (should_volume_be_ignored), (update_mounts): Avoid having GVolume and GMount objects for mounts for which the mount point will make g_unix_mount_guess_should_display() return FALSE. This fixes a problem where e.g. live cd installers mounts some file system somewhere (e.g. a /boot partition at /mnt/installer_boot). 2008-04-16 Matthias Clasen Bug 526793 – unmount hangs with some backends * daemon/gvfsbackendgphoto2.c: Set exit-on-disconnect to FALSE on the private dbus connection to prevent unexpected exit before the job is done. 2008-04-16 Christian Kellner * daemon/gvfsbackenddav.c: Set mount prefix on the mount_spec (again). Fixes #528218 2008-04-16 Christian Kellner * daemon/gvfsbackendhttp.c: Add logging for soup so we can get easy network traces even if we are doing https. 2008-04-15 Matthias Clasen Bug 526454 – too early use of dbus session bus * client/gdaemonvfs.c (g_io_module_load): Refuse to load if there is no session bus. 2008-04-14 Matthias Clasen * client/gvfsfusedaemon.c: You cannot store pointers in integers. Fixes a crash on 64bit systems. 2008-04-14 Matthias Clasen * common/gmounttracker.c (g_mount_tracker_finalize): Only free lock if it is non-NULL. Pointed out by Denis Leroy. 2008-04-08 Christian Kellner * configure.ac: Post release version bump === gvfs 0.2.3 === 2008-04-08 Christian Kellner * NEWS: Prepare for release. * daemon/Makefile.am: Fix for release