commit 3d96d35c5b5c1528f68770d0bbeba67bb81f5096 Author: Ross Lagerwall Date: 2014-08-23 Update NEWS for 1.20.3 M NEWS commit 1c396d8e6cdddfd08df73fd52029c851906c5e45 Author: Ross Lagerwall Date: 2014-08-20 archive: Retry operations that return ARCHIVE_RETRY Retry operations that return ARCHIVE_RETRY since it indicates that the operation has failed, the archive_entry is not valid, and the operation should be retried to see if it succeeds. This fixes a segfault on a truncated archive where archive_read_next_header would return ARCHIVE_RETRY and the backend would continue to try and use the invalid archive_entry that was returned. https://bugzilla.gnome.org/show_bug.cgi?id=735120 M daemon/gvfsbackendarchive.c commit 70b569dd406727d8bd1444db8050b8d5086d0a09 Author: Ross Lagerwall Date: 2014-06-02 afp: Fix some memory leaks https://bugzilla.gnome.org/show_bug.cgi?id=734695 M daemon/gvfsafpserver.c M daemon/gvfsbackendafp.c commit 94c2ec2d19e4069172e755e8171043a0d313f2b7 Author: Ross Lagerwall Date: 2014-08-12 daemon: Fix a memory leak https://bugzilla.gnome.org/show_bug.cgi?id=734695 M daemon/gvfsjobenumerate.c commit f9982fbfa6b6e6ae2ff5bd7c133c1ef3bc8a66c2 Author: Ross Lagerwall Date: 2014-08-12 computer: Fix a memory leak https://bugzilla.gnome.org/show_bug.cgi?id=734695 M daemon/gvfsbackendcomputer.c commit 7b1d51379bd1b28de9426aebc0832bc959760cf6 Author: Ross Lagerwall Date: 2014-07-31 ftp: Only free connection if non-NULL Only attempt to free the connection if it is non-NULL, to prevent warnings like the following: ** (process:30854): CRITICAL **: g_vfs_ftp_connection_free: assertion 'conn != NULL' failed The connection can be NULL if g_vfs_ftp_connection_new is cancelled. https://bugzilla.gnome.org/show_bug.cgi?id=591054 M daemon/gvfsftptask.c commit 8c58ceb7d5f07fd007e21dae1557f35be92a56b6 Author: Benjamin Otte Date: 2014-08-11 ftp: Also mark connection as unusable on G_IO_IN There is data waiting on an FTP connection and we didn't request it. It's not ours and we have no way to clear it. Just makr this connection as unusable. Most likely this is the server notifying us about a timeout or other connection abort, so it's a good idea to treat it as an error anyway. Also includes a new debug message for when we mark a connection as unusuable and why. https://bugzilla.gnome.org/show_bug.cgi?id=591054 M daemon/gvfsftpconnection.c commit 562906889bde44f4ef9e7a34343f7c9339941ecb Author: Benjamin Otte Date: 2014-08-11 ftp: Check connection is usable when acquiring Qhen acquiring a cached connection, it might have timeout'ed or otherwise not be available anymore. We don't want these connection errors to propagate into the job we're handling and instead just acquire the next connection. https://bugzilla.gnome.org/show_bug.cgi?id=591054 M daemon/gvfsftptask.c commit 9e3a0c2166d78477eb5032de4df4dda687142282 Author: Ross Lagerwall Date: 2014-08-03 afp: Remove old TODO https://bugzilla.gnome.org/show_bug.cgi?id=734194 M daemon/gvfsafpvolume.c commit 826d6c3a44a6603eacee95cefc60bf24045e2f65 Author: Ross Lagerwall Date: 2014-08-03 afp: Don't retry read if connection closes Don't retry the read if the remote host closes the connection. Instead, exit (semi-)gracefully with exit(0) and exit with an error if there was an actual error. https://bugzilla.gnome.org/show_bug.cgi?id=710490 M daemon/gvfsafpconnection.c commit cf5e9921e1f541ac776846c896f55a8e19418fc9 Author: Ross Lagerwall Date: 2014-08-03 afp: Try to prevent idle disconnects Some servers (e.g. OS X 10.8) disconnect clients who don't respond to server notifications. Prevent this by sending FPGetVolParms, as the spec suggests. https://bugzilla.gnome.org/show_bug.cgi?id=734194 M daemon/gvfsafpconnection.h M daemon/gvfsafpvolume.c commit ee7c6013110545d9f1bd5533e7c1090783de4425 Author: Ross Lagerwall Date: 2014-07-13 afp: Fix race between writing and reading The following sequence of events is possible in GVfsAfpConnection: send_request_unlocked write_dsi_header_cb ... return to main loop ... read_dsi_header_cb write_command_cb This happens if the server sends its response before the main loop gets a chance to run since write_command_cb is executed asynchronously as an idle function. It causes the job to hang because the request is only stored in the request hash table in write_command_cb and so the response is ignored when being processed because it cannot find the corresponding request. To fix this, store the request in the hash table before the request is written. https://bugzilla.gnome.org/show_bug.cgi?id=733133 M daemon/gvfsafpconnection.c commit 2597c5bfa91b52921550142db6c58636ebc4f627 Author: Ross Lagerwall Date: 2014-07-16 ftp: Only send permission bits for SITE CHMOD Some ftp servers give an error if more bits than just the permission bits are sent for SITE CHMOD so only send the permission bits. https://bugzilla.gnome.org/show_bug.cgi?id=733281 M daemon/gvfsbackendftp.c commit bd294bc166c9b22b46fa97ab564bed50e4ad3365 Author: Ross Lagerwall Date: 2014-07-26 gphoto: Set mtime when pulling Commit 86162bbe4b09 ("gphoto2: Implement pull support") failed to set the modification time of the destination file when implementing pull support. Fix this by setting the modification time on the destination file (only the mtime in seconds needs to be set since this is the only time info the gphoto supports). https://bugzilla.gnome.org/show_bug.cgi?id=733469 M daemon/gvfsbackendgphoto2.c commit cae6ad9ec57cd1eaa731549314bd633fa2241891 Author: Bastien Nocera Date: 2014-06-03 afc: Work-around mounts not disappearing when disconnecting device See https://bugzilla.gnome.org/show_bug.cgi?id=708288 M daemon/gvfsbackendafc.c commit 9e0ba36765ab9c0a5f12a56d40e3d015362a73ab Author: Bastien Nocera Date: 2013-09-18 afc: Add version detection for iOS 6, 7 and 8 M daemon/gvfsbackendafc.c commit a9361d34e54bbb8eb9ec703688ad427029c3a118 Author: Ross Lagerwall Date: 2014-05-27 recent: Plug a few memory leaks https://bugzilla.gnome.org/show_bug.cgi?id=730855 M daemon/gvfsbackendrecent.c commit 41ee38734dcc39ecbc3783a12b813ce7081229c0 Author: Ross Lagerwall Date: 2014-05-27 smb: Fail properly if set_attribute type is wrong If given an invalid type when setting time::modified in do_set_attribute, don't try and change the mtime after failing the job. https://bugzilla.gnome.org/show_bug.cgi?id=730844 M daemon/gvfsbackendsmb.c commit 8ceb4f451f7b92a31e89db029018b70b0b477574 Author: Ross Lagerwall Date: 2014-05-27 sftp: Fail properly if set_attribute type is wrong If given an invalid type when setting unix::mode in try_set_attribute, don't try and change the mode after failing the job. https://bugzilla.gnome.org/show_bug.cgi?id=730844 M daemon/gvfsbackendsftp.c commit 610f7a72c545d979143697352c8010b3e44cb4c1 Author: Ross Lagerwall Date: 2014-05-11 dav: Unref each GFileInfo after being added https://bugzilla.gnome.org/show_bug.cgi?id=729938 M daemon/gvfsbackenddav.c commit 58a78a454a9c0c2aa129a8d6c3bd45b3d54991ef Author: Ross Lagerwall Date: 2014-05-03 archive: Ignore filenames consisting of a single "." Don't abort if a path has a component consisting of a single ".", just ignore that component. E.g. OpenCV-2.3.1/./opencv.pc.cmake.in becomes OpenCV-2.3.1/opencv.pc.cmake.in https://bugzilla.gnome.org/show_bug.cgi?id=729463 M daemon/gvfsbackendarchive.c commit e9fb77371fe95f38e87645b4110024ecfa25acb5 Author: Ondrej Holy Date: 2014-05-09 Post release version bump M configure.ac