commit d4af5129de1554b3911b1d42497bb085005e887e Author: Ondrej Holy Date: 2015-10-12 Update NEWS for 1.26.1 release M NEWS commit ff92ef3aa4b09a648bd38152cc61ddfb99f41895 Author: Ondrej Holy Date: 2015-10-12 test: Fix d-bus session services names Commit 957fff5 modified d-bus session services names, but the change was incomplete and test suite is broken conseqently. All tests fail with: Error mounting location: volume doesn't implement mount https://bugzilla.gnome.org/show_bug.cgi?id=755760 M test/Makefile.am commit 77805a9871fcf53e99ccece6509faea77fcf93b4 Author: Tristan Van Berkom Date: 2015-10-06 Avoid crash when no monitor implementations exist. The GVariantBuilder is unable to create any GVariant for an untyped array - while an empty vector is a valid variant, it is not valid for an untyped array. Passing the resulting null to gvfs_dbus_daemon_complete_cancel() causes gvfs to abort with a g_error(). https://bugzilla.gnome.org/show_bug.cgi?id=756105 M daemon/gvfsdaemon.c commit eef594d24918d28ad5f0f736825a333df955c6c4 Author: Ondrej Holy Date: 2015-09-30 client: Use g_warning if proxy creation failed Currently g_errprint is used and thus a message doesn't end up in a logs. Use g_warning to log the message and also replace g_return_if_fail, because proxy creation failure isn't programmer error. https://bugzilla.gnome.org/show_bug.cgi?id=755805 M client/gdaemonvfs.c commit b75a1896e740b3486a01961803fc304e0d3b3efe Author: Debarshi Ray Date: 2015-09-30 proxy volume monitor: Guard access to the internal caches Accesses to the drives, volumes and mounts hash tables should be guarded by the proxy_vm mutex. https://bugzilla.gnome.org/show_bug.cgi?id=755805 M monitor/proxy/gproxyvolumemonitor.c commit dc7040d7f8b81658817b0a633092f85a4f4963fd Author: Simon McVittie Date: 2015-09-29 Add a corresponding systemd user service for every D-Bus session service When using "systemd --user" in conjunction with "dbus-daemon --session --systemd-activation", this ensures that each daemon is correctly placed in its own cgroup, instead of being treated as part of dbus.service. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=755760 M daemon/Makefile.am A daemon/gvfs-daemon.service.in M daemon/org.gtk.vfs.Daemon.service.in M metadata/Makefile.am A metadata/gvfs-metadata.service.in M metadata/org.gtk.vfs.Metadata.service.in M monitor/afc/Makefile.am A monitor/afc/gvfs-afc-volume-monitor.service.in M monitor/afc/org.gtk.vfs.AfcVolumeMonitor.service.in M monitor/gdu/Makefile.am A monitor/gdu/gvfs-gdu-volume-monitor.service.in M monitor/gdu/org.gtk.vfs.GduVolumeMonitor.service.in M monitor/goa/Makefile.am A monitor/goa/gvfs-goa-volume-monitor.service.in M monitor/goa/org.gtk.vfs.GoaVolumeMonitor.service.in M monitor/gphoto2/Makefile.am A monitor/gphoto2/gvfs-gphoto2-volume-monitor.service.in M monitor/gphoto2/org.gtk.vfs.GPhoto2VolumeMonitor.service.in M monitor/hal/Makefile.am A monitor/hal/gvfs-hal-volume-monitor.service.in M monitor/hal/org.gtk.vfs.HalVolumeMonitor.service.in M monitor/mtp/Makefile.am A monitor/mtp/gvfs-mtp-volume-monitor.service.in M monitor/mtp/org.gtk.vfs.MTPVolumeMonitor.service.in M monitor/udisks2/Makefile.am A monitor/udisks2/gvfs-udisks2-volume-monitor.service.in M monitor/udisks2/org.gtk.vfs.UDisks2VolumeMonitor.service.in commit 957fff5be2b3cb2a3356955f5c51c94bcd256fed Author: Simon McVittie Date: 2015-09-22 Use conventional naming for D-Bus session services This naming is mandatory for the system bus, but is also recommended for the session bus. The D-Bus maintainers recommend that all activatable session services' service files are named according to the bus name, so that any conflict is resolved in a deterministic way. If the services are in different directories (precedence levels) the result is the same as it is now: the higher precedence "wins". If the services are in the same directory, either one overwrites the other and consistently "wins", or a packaging system like dpkg prevents co-installation. If the service files were named differently, it would be possible to have two implementations for the same name. dbus-daemon resolves this by choosing one arbitrarily, not necessarily the same one every time. systemd's kdbus support is more strict (or less concerned with backwards compatibility), and treats this situation as an error. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=755760 M daemon/Makefile.am R100 daemon/gvfs-daemon.service.in daemon/org.gtk.vfs.Daemon.service.in M metadata/Makefile.am R100 metadata/gvfs-metadata.service.in metadata/org.gtk.vfs.Metadata.service.in commit 7373acf9b15f40f1c01bd2a325b380ba9bc17d19 Author: Alexander Larsson Date: 2015-09-30 file monitor: Construct synchronously g_file_monitor_file() is a sync call anyway, so doing some sync i/o in the constructor doesn't make a difference, and doing so avoids races where you would not get change events for operations you do. We don't actually need to wait for the subscribe event, and proxy construction in this case does not do any i/o, so we're really only doing sync i/o to look up the connection, and it should be cached from the earlier call in g_daemon_file_monitor_file(), so in practice this should make little difference. https://bugzilla.gnome.org/show_bug.cgi?id=749317 M client/gdaemonfilemonitor.c commit 3a70ae6f9f9ffc48e1e1b9337e57760d2e10e7d6 Author: Ondrej Holy Date: 2015-09-29 google: Report progress when copying and moving Progress isn't reported currently. However it is guaranteed that the progress callback will be called at least after all data has been transferred according the GIO documentation. Nautilus shows some weird progress info when moving and copying consequently. Emit progress callback with total size to fix this issue. https://bugzilla.gnome.org/show_bug.cgi?id=755775 M daemon/gvfsbackendgoogle.c commit eefdc161bc016d9f5f8a5122e7c9eb75769078ed Author: Ross Lagerwall Date: 2015-09-20 ftp: Sanitize absolute symlink paths when resolving The existing code sanitizes relative symlinks but not absolute symlinks when resolving them. But this can cause issues when looking up the resolved path (e.g. if it has a trailing slash, the correct information will not be returned because it will not get the parent directory correctly). To fix this, sanitize both absolute and relative paths. https://bugzilla.gnome.org/show_bug.cgi?id=755303 M daemon/gvfsftpdircache.c commit d1a53acf98d152f7e22fcf05ed9e2661b81334aa Author: Trần Ngọc Quân Date: 2015-09-27 Updated Vietnamese translation Signed-off-by: Trần Ngọc Quân M po/vi.po commit 2eaaac903fe54a9c111888c7446b9f5f4dfdc36a Author: Bernd Homuth Date: 2015-09-23 Updated German translation M po/de.po commit 1a4e823966e31f72eedfec536cb150c629e126a7 Author: Ondrej Holy Date: 2015-08-26 Mark files as untrashable for main backends Otherwise nautilus will offer the wrong action in its UI. https://bugzilla.gnome.org/show_bug.cgi?id=753934 M daemon/gvfsafpserver.c M daemon/gvfsbackendafc.c M daemon/gvfsbackendsftp.c M daemon/gvfsbackendsmb.c M daemon/gvfsftpdircache.c commit e1a3c297aa38c86b19705a03555d322eaa944ff7 Author: Ross Lagerwall Date: 2015-09-05 sftp: Don't call g_vfs_backend_force_unmount multiple times If the remote connection(s) are closed (e.g. the remote host is rebooted), ensure that g_vfs_backend_force_unmount is only called once. This avoids a warning like the following: forced_unregister_mount_callback forced_unregister_mount_callback ** (process:12472): WARNING **: Error unregistering mount: Mountpoint not registered (g-io-error-quark, 16) Additionally, remove some backend member variables. https://bugzilla.gnome.org/show_bug.cgi?id=753311 M daemon/gvfsbackendsftp.c commit 46487b40479c0a422a2a5061bfa8da138a4dc107 Author: Ondrej Holy Date: 2015-08-06 sftp: Fix crashes when data connection setup failed destroy_connection() is called twice when setup of data connection failed. Consequently g_hash_table_destroy() is called on already destroyed hash table on finalize. Set conn->expected_replies to NULL in destroy_connection() to fix the issue. There is another crash on force unmount when setup of data connection failed. fail_jobs() is called on already destroyed connection. Check usability of the connection before use to avoid the crash. Finally move the hast table initialization into the setup_connection, because the initialization in g_vfs_backend_sftp_init() is confusing. https://bugzilla.gnome.org/show_bug.cgi?id=753311 M daemon/gvfsbackendsftp.c commit 766b99b678d547dec69752f5a2df94cb94c54a7e Author: Ondrej Holy Date: 2015-09-11 job: Unify send_reply debug messages Unify send_reply debug messages for all jobs. Always indicate failure and include error message. Indicate some other info (i.e. offset, size) for some jobs (i.e. seek, read, write). https://bugzilla.gnome.org/show_bug.cgi?id=755104 M daemon/gvfsjobcloseread.c M daemon/gvfsjobclosewrite.c M daemon/gvfsjobdbus.c M daemon/gvfsjobenumerate.c M daemon/gvfsjobmount.c M daemon/gvfsjobread.c M daemon/gvfsjobseekread.c M daemon/gvfsjobseekwrite.c M daemon/gvfsjobtruncate.c M daemon/gvfsjobunmount.c M daemon/gvfsjobwrite.c commit 6f48955f87592aa18cac6a82465643dbdf95a50b Author: Милош Поповић Date: 2015-09-22 Updated Serbian Latin translation M po/sr@latin.po commit 52e9b4aff044f21641e941c7d8cc8eb53f20447f Author: Милош Поповић Date: 2015-09-22 Updated Serbian translation M po/sr.po commit 2b3a441b08f64f586fbfcdae975e84045822f99f Author: Ondrej Holy Date: 2015-09-21 Post release version bump M configure.ac