2009-03-02 Alexander Larsson * NEWS: Update for release 2009-03-02 David Zeuthen Bug 551403 – Support Reading Volume Icon/Name Information from .xdg-volume-info * common/Makefile.am: * common/gvfsmountinfo.[ch]: Move autorun file detection to common library. Also add routines for detecting .xdg-volume-info files. * monitor/hal/ghalmount.c: Use g_mount_info*() functions for detecting autorun and .xdg-volume-info files. 2009-03-02 Paolo Borelli * daemon/gvfsbackendarchive.c: Chain up finalize 2009-03-02 Alexander Larsson Bug 547161 – http string leak * client/httpuri.c (http_get_mount_info_for_path): Fix leak 2009-03-02 Christian Kellner * daemon/gvfsbackendsftp.c: Implement query_info on sftp streams 2009-03-02 Alexander Larsson Bug 550929 – nautilus sftp:// doesn't read User in ~/.ssh/config * daemon/gvfsbackendsftp.c: Don't specify user unless requested explicitly by the uri. Patch from Christian Neumair 2009-03-02 Alexander Larsson Bug 569712 – Write comments for translators! * common/gvfsdnssdresolver.c (service_resolver_timed_out): Fix position of translator comments. 2009-03-02 Alexander Larsson Bug 545025 – gvfs doesnt use hal storage.icon.drive/volume properties * monitor/hal/ghaldrive.c: * monitor/hal/ghalmount.c: Use storage.icon.drive and storage.icon.volume, not info.desktop.icon as per the spec. Patch from Karl Relton 2009-03-02 Alexander Larsson Bug 565041 – burn: Doesn't support move * daemon/gvfsbackendburn.c: Implement try_move based on patch from Fabio Bonelli. 2009-03-02 Alexander Larsson Bug 569066 – gvfs' configure.ac uses non posix 'test' constructions * configure.ac: Use '=', not '==' for comparison Patch from Alexis Ballier 2009-03-02 Alexander Larsson Bug 564003 – gvfs Cygwin patches * daemon/gvfsbackendsftp.c: Include for struct timeval on cygwin 2009-03-02 Alexander Larsson Bug 569203 – gvfsd-sftp crashed with SIGSEGV in strlen() * daemon/gvfsbackendsftp.c: Workaround crash, spew a warning to try to get information about this crash. 2009-03-02 Alexander Larsson Bug 569712 – Write comments for translators! * common/gvfsdnssdresolver.c: Add some translator comments. Patch from David Planella 2009-03-02 Alexander Larsson * daemon/gvfsbackendsmb.c: Implement query_info on smb streams 2009-03-02 Alexander Larsson Bug 573371 – Unsafe g_htonl() macro expansion * client/gdaemonfileoutputstream.c (append_request): * client/gdaemonfileinputstream.c (append_request): Don't use ++ inside macro that may evaluate twice. 2009-03-02 Alexander Larsson * common/gdbusutils.[ch]: Remove unused functions. Pointed out by Tommi Rantala. 2009-02-27 Ryan Lortie * daemon/trashlib/dirwatch.c: * daemon/trashlib/dirwatch.h: * daemon/trashlib/trashdir.c: * daemon/trashlib/trashitem.c: Use DirWatch only when watching (move broken manual-scan code out). Fix a bunch of leaks. 2009-02-27 Alexander Larsson * client/gdaemonfileoutputstream.c: Support query info on output streams * daemon/Makefile.am: * daemon/gvfsbackend.h: * daemon/gvfsjobqueryinfowrite.[ch]: * daemon/gvfswritechannel.c: Add query info write support. * daemon/gvfsbackendtest.c: Implement writing to files in test backend. Implement query info on write * test/test-query-info-stream.c: Test g_file_output_stream_query_info(). 2009-02-27 Alexander Larsson * client/gdaemonfileoutputstream.c: Add and use g_string_remove_in_front helper function. 2009-02-27 Alexander Larsson * client/gdaemonfileinputstream.c: Support async query info * test/test-query-info-stream.c: Test async query info 2009-02-27 Alexander Larsson * common/Makefile.am: * common/gvfsfileinfo.[ch]: Add (de)marshalling functions for GFileInfos. * common/gvfsdaemonprotocol.h: Add protocol extensions for query info over streams * client/gdaemonfileinputstream.c: Support sync query_info. * daemon/Makefile.am: * daemon/gvfsjobqueryinforead.[ch]: * daemon/gvfsbackend.h: Added query info job and backend call for input streams * daemon/gvfsbackendtest.c: Implement query_info_on_read * daemon/gvfschannel.[ch]: Add g_vfs_channel_send_info * daemon/gvfsreadchannel.c: (read_channel_handle_request): Handle query info * test/Makefile.am: * test/test-query-info-stream.c: Add test for stream query info. 2009-02-26 Alexander Larsson Bug 570977 – sftp backend sends trailing zeros to communication data * daemon/gvfsbackendsftp.c (get_data_from_command_stream): Use g_memory_output_stream_get_data_size instead of old workaround. Patch from Pekka Vuorela 2009-02-26 David Zeuthen Implement --device option for gvfs-mount. This allows things like this $ gvfs-mount -d /dev/sdb3 The device "Generic STORAGE DEVICE" contains encrypted data on partition 3. Password: Mounted /dev/dm-0 at /media/Encrypted Stuff Reviewed by: Alexander Larsson * programs/gvfs-mount.c: See above. 2009-02-26 David Zeuthen Lots of proxy monitor fixes. Reviewed by: Alexander Larsson o add support for proxying GMountOperation to the remote volume monitor process. o add support for proxying GCancellable to the remote volume monitor process. o make each volume monitor process track callers and cancels operations initiated by callers that disconnects from the bus o makes the client side proxy monitor track the remote monitor. If the monitor process disconnects, then all drives/volumes/mounts are removed. If the monitor process reconnects, we reseed the internal monitor and add drives/volumes/mounts. o Each monitor process now uses ALLOW_REPLACEMENT when claiming a name and also kills itself on NameLost (e.g. if it is replaced). Coupled with the above disconnection/reconnection logic it this makes it a lot more tolerable to hack on a remote volume monitor. Simply just compile it, start it and the existing (system-wide) copy will kill itself. And all the clients (Nautilus, panel, drive applet, gvfsd-computer, etc.) will reconnect and do the right thing. o make the get_mount_for_mount_path() method on the class GNativeVolumeMonitor actually work. It turns out that at least gvfs-mount -u needs that. o use /org/gtk/Private/RemoteVolumeMonitor instead of / as the object name. Cf. the version D-Bus debacle on Lennart Poettering's blog. o make the proxy monitor client module resident o For shadow mounts, redirect can_eject() and eject() to the volume for the shadow mount. Without this patch eject on e.g. cdda:// volumes won't work since cdda:// volumes are GDaedmonMount and these don't implement eject. * monitor/proxy/*.[ch]: See above. 2009-02-26 Hans Petter Jansson * client/gvfsfusedaemon.c (vfs_ftruncate): Immediately close the stream we get from g_file_replace(), so truncation becomes visible. Fixes BRC #479199. 2009-02-26 Alexander Larsson * daemon/gvfsbackendsftp.c (try_make_symlink): Fix order of SSH_FXP_SYMLINK arguments. It seems openssh is not following the docs here. 2009-02-24 Paolo Borelli * test/benchmark-posix-small-files.c: * test/benchmark-posix-big-files.c: * daemon/trashlib/dirwatch.c: * daemon/gvfsbackendsmbbrowse.c: * client/gvfsfusedaemon.c: Always use g_strerror 2009-02-24 Benjamin Otte * daemon/gvfsbackendftp.c: (ftp_connection_ensure_data_connection_pasv): remove unused variable 2009-02-24 Benjamin Otte Bug 525283 - handle short reads in ftp * daemon/gvfsbackendftp.c: (ftp_connection_receive): fix usage of n_bytes variable that changed meaning with the last ftp fixes. Spotted by Filippo Argiolas 2009-02-22 Benjamin Otte * daemon/gvfsbackendftp.c: fix typo in my name (thx Wouter) 2009-02-20 David Zeuthen Make the gphoto2 backend work with buggy devices (such as the iPhone) where the basedir of the store changes. * daemon/gvfsbackendgphoto2.c: Revert the patch from #520123 that removed the ignore_prefix handling. Change ensure_ignore_prefix() to only use an ignore prefix if there is exactly one storage head. * monitor/gphoto2/ggphoto2volumemonitor.c: Nuke orphan mount handling since that is superseeded by shadow mounts. Also avoid appending the store name if there is only one storage head. * monitor/gphoto2/ggphoto2volume.[ch]: Rename foreign_mount_root to activation_root since that is really what it is now. Also fix a silly logical bug whereby music players (as reported by HAL) weren't detected. 2009-02-19 Benjamin Otte * AUTHORS: * daemon/gvfsbackendftp.c: add Andreas as author of the ftp backend 2009-02-19 Benjamin Otte reviewed by: Andreas Henriksson Bug 525283 - handle short reads in ftp * daemon/gvfsbackendftp.c: (ftp_connection_receive): account for cases where soup_socket_read_until() would not read up to the boundary on the first read. 2009-02-18 Alexander Larsson Bug 563623 – build dies on platforms lacking poll() implimentation * client/gvfsdaemondbus.c: (setup_async_fd_receive): (_g_vfs_daemon_call_sync): Use g_poll instead of poll. Patch from ephraim_owns@hotmail.com 2009-02-17 Ryan Lortie * daemon/trashlib/trashwatcher.c: rescan NFS mounts when enumerating trash (since not all change events are reported). 2009-02-16 Alexander Larsson * configure.ac: Post release version bump === gvfs 1.1.6 ===