commit 80c024f5fb3b322f7420e4f6b923d096aca95e22 Author: Ondrej Holy Date: 2013-12-13 Update NEWS for 1.19.3 release M NEWS commit e6353d86379e7b274f4c8f4cb17e73bf60780adc Author: Ondrej Holy Date: 2013-12-13 Do not dist removed old libsmb-compat.h. M daemon/Makefile.am commit 9ec8f2e84e97831d1ce97d8daa7b590349e08415 Author: Ross Lagerwall Date: 2013-12-05 Convert libgvfscommon to a private shared library Convert libgvfscommon to a private shared library since it is not used by anything outside of the libdir. Also, don't version it. https://bugzilla.gnome.org/show_bug.cgi?id=561187 M common/Makefile.am commit db599e514ff179f7ec4f653f1d3941b50b720ea8 Author: Ross Lagerwall Date: 2013-10-28 Convert libdaemon to a private shared library Convert libdaemon to be a private shared library called libgvfsdaemon, much like libgvfscommon. It has the benefit of reducing the binary size of each daemon by between 100 and 200KB and reduces the memory footprint if using several backends at the same time. https://bugzilla.gnome.org/show_bug.cgi?id=561187 M daemon/Makefile.am commit 20f1c7197173816490a6196c776793d77791e1f1 Author: Ross Lagerwall Date: 2013-12-11 dav: Set the is_hidden property for files starting with a '.' https://bugzilla.gnome.org/show_bug.cgi?id=720275 M daemon/gvfsbackenddav.c commit 597637b4a2ac9fe797881c43db986e46aad44c6c Author: Milo Casagrande Date: 2013-12-11 [l10n] Updated Italian translation. M po/it.po commit b747b08f765e28c7e3b910d49c98d3440f3de12e Author: Daniel Mustieles Date: 2013-12-09 Updated Spanish translation M po/es.po commit dd03740d26da5d730d91c2c9bec3257b009380a4 Author: Ross Lagerwall Date: 2013-12-09 afp: Remove unused variable Remove a set but not used variable caused by 91cf41328a2d (afp: Don't free the handle if truncate fails). M daemon/gvfsbackendafp.c commit fbcd75035e89c9431c9e1512e02e54ac8b5200d0 Author: Ross Lagerwall Date: 2013-12-08 http: Allow seek past end of file Handle a read after a seek past the end of the file by ignoring the requested range not satisfiable http error (416) and simply returning 0. https://bugzilla.gnome.org/show_bug.cgi?id=710534 M daemon/gvfshttpinputstream.c commit 7e0f96133ca897640be51c3f4039dd90188357da Author: Ross Lagerwall Date: 2013-12-08 http: Fix the SEEK_END offset calculation Fix the SEEK_END offset calculation by reversing the sign of offset and taking into account the offset of the previous seek. https://bugzilla.gnome.org/show_bug.cgi?id=710534 M daemon/gvfshttpinputstream.c commit 06b5820152e6b4647ef63cc2498511fbed6d4806 Author: Ross Lagerwall Date: 2013-12-08 http: Ensure the range header is updated Ensure that the range header is updated every time ensure_request() is called in case it has been updated. https://bugzilla.gnome.org/show_bug.cgi?id=710534 M daemon/gvfshttpinputstream.c commit 0ea226568dec4ff8738c835e68dce3c98501cefb Author: Ross Lagerwall Date: 2013-12-08 http: Fix segfault when seeking on read Previously, the dav backend would segfault when reading after a seek (or also if you did a read_async() without an explicit send()/send_async() first) because the stream from soup_request_send_finish() was not being stored, so store it. https://bugzilla.gnome.org/show_bug.cgi?id=710534 M daemon/gvfshttpinputstream.c commit 02144460d8af7de84e5b1be071a84adc866f283f Author: Piotr Drąg Date: 2013-12-06 Updated POTFILES.in M po/POTFILES.in commit 91cf41328a2df886ec59c533ffa4991f92059e59 Author: Ross Lagerwall Date: 2013-12-06 afp: Don't free the handle if truncate fails https://bugzilla.gnome.org/show_bug.cgi?id=573837 M daemon/gvfsbackendafp.c commit 249711ae216e03ee88ac8e74904ff55a29674a31 Author: Ross Lagerwall Date: 2013-12-01 gphoto2: Don't release the device multiple times If an error occurs during mounting, don't explicitly release the device because it is released anyway during finalize(). https://bugzilla.gnome.org/show_bug.cgi?id=706224 M daemon/gvfsbackendgphoto2.c commit d274d614677ad987d795925d7f15cab582b9e17d Author: Ross Lagerwall Date: 2013-11-13 gphoto2: Implement truncate support for output streams https://bugzilla.gnome.org/show_bug.cgi?id=573837 M daemon/gvfsbackendgphoto2.c commit 07d802db0b73fc345a53db3c6d65d9912f9cbb5a Author: Ross Lagerwall Date: 2013-10-18 mtp: Implement truncate support for output streams https://bugzilla.gnome.org/show_bug.cgi?id=573837 M daemon/gvfsbackendmtp.c commit 8a717606329e1a4edfee67f2d01cba5a1a81e405 Author: Ross Lagerwall Date: 2013-10-17 afc: Implement truncate support for output streams https://bugzilla.gnome.org/show_bug.cgi?id=573837 M daemon/gvfsbackendafc.c commit d8b214af8a28896bcbba2530bebcbbd7d59084f3 Author: Ross Lagerwall Date: 2013-10-17 afp: Implement truncate support for output streams https://bugzilla.gnome.org/show_bug.cgi?id=573837 M daemon/gvfsbackendafp.c commit 41602b74d507a7945454431e55ad9a0b56c2c903 Author: Ross Lagerwall Date: 2013-10-17 sftp: Implement truncate support for output streams https://bugzilla.gnome.org/show_bug.cgi?id=573837 M daemon/gvfsbackendsftp.c commit 6e5786f4368e7124ce316dafd607d3306c05ea11 Author: Ross Lagerwall Date: 2013-10-17 smb: Implement truncate support for output streams https://bugzilla.gnome.org/show_bug.cgi?id=573837 M daemon/gvfsbackendsmb.c commit ad521f604df7aad2dacf993942b257e93fda203b Author: Ross Lagerwall Date: 2013-10-17 Require libsmbclient from Samba 3.4.0 or higher Also remove the old libsmb-compat.h header file. https://bugzilla.gnome.org/show_bug.cgi?id=573837 M configure.ac M daemon/gvfsbackendsmb.c M daemon/gvfsbackendsmbbrowse.c D daemon/libsmb-compat.h commit c1dc110ff36297caa61747e1e59a8d9ca85a07b3 Author: Ross Lagerwall Date: 2013-10-17 localtest: Implement truncate support for output streams https://bugzilla.gnome.org/show_bug.cgi?id=573837 M daemon/gvfsbackendlocaltest.c M daemon/gvfsbackendlocaltest.h commit c3b6615e95bd213beab32d90a8bf38f1b221a8b4 Author: Ross Lagerwall Date: 2013-10-17 Implement truncate support for output streams Backends receive a TRUNCATE message which contains a size parameter. Truncation is signaled with a TRUNCATED message (which contains no other useful information). In more detail: Add a new dbus method, OpenForWriteFlags, which has a flags parameter to implement can_seek and can_truncate. These flags are used in GDaemonFileOutputStream. Compatability with old clients is maintained. Implement the can_truncate and truncate_fn GDaemonFileOutputStream methods. Add two new message types to the daemon socket protocol: G_VFS_DAEMON_SOCKET_PROTOCOL_REQUEST_TRUNCATE G_VFS_DAEMON_SOCKET_PROTOCOL_REPLY_TRUNCATED Add a new job type, GVfsJobTruncate. Add two new methods to GVfsBackend which backend classes can implement: truncate and try_truncate https://bugzilla.gnome.org/show_bug.cgi?id=573837 M client/gdaemonfile.c M client/gdaemonfileoutputstream.c M client/gdaemonfileoutputstream.h M common/gvfsdaemonprotocol.h M common/org.gtk.vfs.xml M daemon/Makefile.am M daemon/gvfsbackend.c M daemon/gvfsbackend.h M daemon/gvfsjobopenforwrite.c M daemon/gvfsjobopenforwrite.h A daemon/gvfsjobtruncate.c A daemon/gvfsjobtruncate.h M daemon/gvfswritechannel.c M daemon/gvfswritechannel.h commit 444a63d09fdaf4db8124801ec6f4ff26ca3c7c0e Author: Christophe Fergeau Date: 2013-09-18 http: Remove trailing whitespace https://bugzilla.gnome.org/show_bug.cgi?id=708306 M daemon/gvfsbackendhttp.c commit 1371818a79746fe1a40644f7d1b93d9c4c80187f Author: Philip Langdale Date: 2013-11-30 MTP: Fix compilation warning. https://bugzilla.gnome.org/show_bug.cgi?id=715119 M daemon/gvfsbackendmtp.c commit 2a775f07fc75df89d4452cf4fcbf20034573316d Author: Ross Lagerwall Date: 2013-11-18 client: Use the correct enumeration constant https://bugzilla.gnome.org/show_bug.cgi?id=712382 M client/gvfsdaemondbus.c commit 592cfc134ae83e18c5806617a18810cbecb95a20 Author: Ross Lagerwall Date: 2013-11-18 udisks2: Initialize variables to prevent them being used uninitialized https://bugzilla.gnome.org/show_bug.cgi?id=712382 M monitor/udisks2/gvfsudisks2volume.c commit 4be2b2ed73422e2a8ae2a84bc9df7115e01cc78b Author: Ross Lagerwall Date: 2013-11-18 Make file-local functions static This silences some warnings. https://bugzilla.gnome.org/show_bug.cgi?id=712382 M daemon/gvfsbackendmtp.c M daemon/gvfskeyring.c commit 0790a32bb8868cf3b471d76c7a23f2fcf433e85d Author: Ross Lagerwall Date: 2013-11-18 udisks2: Compile function only if we have udisks >= 2.0.90 https://bugzilla.gnome.org/show_bug.cgi?id=712382 M monitor/udisks2/gvfsudisks2drive.c M monitor/udisks2/gvfsudisks2volume.c commit 17fc415acc2a6b69cd03951f636692763b23ce41 Author: Ross Lagerwall Date: 2013-11-18 udisks2: Define SECRET_API_SUBJECT_TO_CHANGE to silence warning https://bugzilla.gnome.org/show_bug.cgi?id=712382 M monitor/udisks2/gvfsudisks2volume.c commit 8227b7cc872a067d6149c1f4eb8053382f73b3b2 Author: Ross Lagerwall Date: 2013-11-18 fuse: Remove duplicate assignment https://bugzilla.gnome.org/show_bug.cgi?id=712382 M client/gvfsfusedaemon.c commit da8daebe5cf91c2a02a6adf0b8ccd4c56af5029d Author: Ross Lagerwall Date: 2013-10-23 sftp: Implement try_query_fs_info using the OpenSSH statvfs extension Use the statvfs command from OpenSSH to fill in the filesystem size, free and used attributes as well as whether the filesystem is readonly or not. The extension is defined at http://api.libssh.org/rfc/PROTOCOL. The extension is signified by the name "statvfs@openssh.com" with a version of "2". Based on a patch Alban Browaeys. https://bugzilla.gnome.org/show_bug.cgi?id=549207 M daemon/gvfsbackendsftp.c M daemon/sftp.h commit 304ea0b47d80018ec49712677f5090feeb7a8c24 Author: Ross Lagerwall Date: 2013-11-19 dav: Report number of bytes used on the filesystem Report the number of bytes used by exposing the "quota-used-bytes" property. https://bugzilla.gnome.org/show_bug.cgi?id=712654 M daemon/gvfsbackenddav.c commit 159ef25cbe37176a9b2e1861fbf66a826097d19c Author: Ross Lagerwall Date: 2013-11-18 gphoto2: Return the correct offset when seeking https://bugzilla.gnome.org/show_bug.cgi?id=712601 M daemon/gvfsbackendgphoto2.c commit 460e8ae14eb0eb44cd06dd176f56737307d96408 Author: Daniel Mustieles Date: 2013-11-29 Updated Spanish translation M po/es.po commit 6b54d05ea00a363e570101e355917cc12d650ae9 Author: Ondrej Holy Date: 2013-11-28 mtp: fix segfault when device not found https://bugzilla.gnome.org/show_bug.cgi?id=719495 M daemon/gvfsbackendmtp.c commit 807be442d3063247a9d05f16284475d2d9624d25 Author: Philip Langdale Date: 2013-11-24 MTP: Fail fast if in the middle of an unmount I've seen a ton of bug reports where the backend crashes due to operations executing after an unmount begins. I think it's a sufficient solution to check the unmount flag that we already have and then immediately abort the operation. Generally, this is only seen with operations that are initiated implicitly like do_query_info or do_enumerate, but I've added the protection to all operations for consistency. M daemon/gvfsbackendmtp.c commit 4b2a5a6883de0b5285b803be0a31ab1491bb2de5 Author: Dimitris Spingos Date: 2013-11-22 Updated Greek translation M po/el.po commit 65216faae97bfce29006fbd479feed6fc37cf342 Author: Ondrej Holy Date: 2013-11-15 afp: missing enumeration value warning fix M daemon/gvfsbackendafp.c commit 53933e21316db15d70b540501af716860c0ff055 Author: Ondrej Holy Date: 2013-11-15 sftp: missing enumeration value warning fix M daemon/gvfsbackendsftp.c commit 5110e2744b90b9ea62e99fc2405e77ed81efecea Author: Ondrej Holy Date: 2013-11-15 gdeamonfileenumerator: unused variable cleanup M client/gdaemonfileenumerator.c commit ed826fdf386cd0891cbda5c9fc3904d2a5aba03f Author: Ross Lagerwall Date: 2013-11-01 sftp: Implement pull support Implement pull support with a sliding window to improve the speed of sftp downloads. The implementation is based on the one from the OpenSSH sftp client. It uses up to 64 outstanding read requests. The limit of 64 is incremented gradually to prevent overwhelming the server. The file is fstat()ed to determine the size. When the expected size is reached, the maximum number of outstanding requests is reduced to 1. The implementation is complicated by the fact that reads can return short and they can also be serviced out of order. This patch results in substantial performance improvments, especially for high-latency links. Compared to the fallback copy implementation, other performance improvements are achieved by performing the initial lstat()/stat() and open() in parallel, as well as performing the fstat() and initial read requests in parallel. Some benchmark figures: Old behavior: Copying from local server = 6.1MB/s Copying from local server with 250ms of RTT latency = 0.251MB/s Copying many small files with 250ms of RTT latency = 0.64 files per second New behavior: Copying from local server = 13MB/s Copying from local server with 250ms of RTT latency = 6.6MB/s Copying many small files with 250ms of RTT latency = 1.24 files per second OpenSSH sftp client: Copying from local server = 14.2MB/s Copying from local server with 250ms of RTT latency = 6.4MB/s Copying many small files with 250ms of RTT latency = 1.34 files per second https://bugzilla.gnome.org/show_bug.cgi?id=532951 M daemon/gvfsbackendsftp.c commit 020d4e0176c82d2d19502b93757235f16b94a451 Author: Ondrej Holy Date: 2013-11-15 Post release version bump M configure.ac