summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update NEWS for 1.25.4 release1.25.4Ross Lagerwall2015-07-201-0/+8
|
* Updated Hebrew translationYosef Or Boczko2015-07-191-285/+350
|
* udisks2: Prevent race between unmount reply and retry timerRoss Lagerwall2015-07-051-16/+50
| | | | | | | | | | | | | | | | | Currently it is possible for the unmount op reply and the retry unmount timer to race. A udisks2 unmount operation (or umount spawned command) is started via the timer. In the meantime, a "cancel" or "force unmount" reply is received which completes the gvfs unmount operation and frees the private data. When the udisks2 unmount operation started by the timer completes, it tries to use the freed data and segfaults. To fix this, prevent starting an unmount operation when another is already in progress. If a timer callback is received while an unmount operation is in progress, simply ignore it. If an unmount op reply is received while an unmount operation is in progress, store the result of the reply and handle it once the unmount operation has completed. https://bugzilla.gnome.org/show_bug.cgi?id=678555
* afc: Cleanup force-unmount idle on finalizeChristophe Fergeau2015-07-031-2/+30
| | | | | | | | | | When GvfsBackendAfc is finalized, if we have a pending idle for a force unmount, we need to remove it as by the time it runs, the GvfsBackendAfc it's acting on will no longer be valid. This fixes https://bugzilla.gnome.org/show_bug.cgi?id=751537 which can be reproduced by plugging an iDevice, unmounting it in Nautilus, and quickly unplugging it right after clicking on the eject icon.
* Updated Portuguese translationPedro Albuquerque2015-07-011-931/+1137
|
* udisks2: Handle libsecret error properlyRoss Lagerwall2015-06-241-1/+2
| | | | | | | | secret_password_clear_finish() returns whether any passwords are removed, so it may return FALSE without setting error. Handle this properly (in this case all we care about is that there wasn't an error). https://bugzilla.gnome.org/show_bug.cgi?id=751038
* cdda: Fix CD-TEXT charset when building with libcdio >= 0.84Jonas Kümmerlin2015-06-231-5/+7
| | | | | | | | libcdio 0.84 already returns UTF-8 data. Trying to interpret it as ISO-8859-1 won't lead to pretty results, so we better stop doing that. https://bugzilla.gnome.org/show_bug.cgi?id=751389
* Updated Hungarian translationBalázs Úr2015-06-231-220/+294
|
* Updated Polish translationPiotr Drąg2015-06-231-47/+45
|
* Post release version bumpOndrej Holy2015-06-221-1/+1
|
* Update NEWS for 1.25.3 release1.25.3Ondrej Holy2015-06-221-0/+9
|
* Updated Greek translationDimitris Spingos2015-06-221-239/+312
|
* build: Make GCR optionalRoss Lagerwall2015-06-173-3/+26
| | | | | | | | Make using GCR optional by compiling with --disable-gcr. This makes gvfs strict when checking SSL certificates, so don't silently disable it if the library is not found, only disable it if --disable-gcr is given. https://bugzilla.gnome.org/show_bug.cgi?id=750706
* common: Fix possible crash with blank disksBastien Nocera2015-06-161-0/+8
| | | | | | Never call bd_open() with an empty path. https://bugzilla.gnome.org/show_bug.cgi?id=749093
* gvfs-open: add hack to close up dbus-daemon raceRay Strode2015-06-101-1/+92
| | | | | | | | | | If gvfs-open exits before the program it starts fully activates, then the dbus-daemon may avoid doing the activating method call. This commit works around the problem by pinging the activated application, and waiting for a reply. https://bugzilla.gnome.org/show_bug.cgi?id=746534
* metatree: Don't g_warning if the running gvfs daemon is olderAlexander Larsson2015-06-081-1/+2
| | | | This was breaking the build for me due to warnings-as-errors
* client: Suppress errors if daemon part is missingOndrej Holy2015-06-082-8/+4
| | | | | | | | | | | | We want to split gvfs package on client and daemon part due to app sandboxing. Return FALSE from vfs_is_active if there aren't any supported uri schemes (i.e. deamon part is missing). It will cause things to work just like if the gvfs client part was never installed. Replace some warnings/errors by g_debug to suppress errors when registering gio modules and daemon part is missing. https://bugzilla.gnome.org/show_bug.cgi?id=750401
* monitor: Show notification always when device is unmountedOndrej Holy2015-06-081-2/+0
| | | | | | | | Unmount progress is shown only when unmount takes more then 1.5 seconds. However the progress should be shown everytime when unmount is finished for users to be sure it is safe to remove device. https://bugzilla.gnome.org/show_bug.cgi?id=750267
* gvfs-test: Call root shell with "privileged" optionMartin Pitt2015-06-081-4/+4
| | | | bash, dash etc. drop suid root privileges without -p.
* sftp: Use the data connection when pulling dataRoss Lagerwall2015-06-071-4/+12
| | | | | | | | | | | Use the newly-introduced data connection when pulling data from a sftp mount. This prevents blocking other operations behind a few MBs of in-flight data and improves interactivity. If the data connection is not usable, fall back to the default copy implementation. https://bugzilla.gnome.org/show_bug.cgi?id=747128
* sftp: Allow queuing and waiting for commands on different connectionsRoss Lagerwall2015-06-071-25/+34
| | | | | | | Update the infrastructure to allow submitting multiple commands to be sent on different connections and then waiting for the all to complete. https://bugzilla.gnome.org/show_bug.cgi?id=747128
* sftp: Use the data connection when pushing dataRoss Lagerwall2015-06-071-6/+14
| | | | | | | | | | | Use the newly-introduced data connection when pushing data from a sftp mount. This prevents blocking other operations behind a few MBs of in-flight data and improves interactivity. If the data connection is not usable, fall back to the default copy implementation. https://bugzilla.gnome.org/show_bug.cgi?id=747128
* sftp: Login to both connections when mountingRoss Lagerwall2015-06-071-53/+122
| | | | | | | | | | | | Login to the command connection and the data connection when mounting. Any password entered during the first connection is reused for the second connection. Because the data connection is not essential, do not fail if the connection attempt fails, and introduce a function to determine if a connection is usable. https://bugzilla.gnome.org/show_bug.cgi?id=747128
* sftp: Add a data connectionRoss Lagerwall2015-06-071-0/+10
| | | | | | | Add a data connection in addition to the command connection currently used. https://bugzilla.gnome.org/show_bug.cgi?id=747128
* sftp: Add support for multiple connectionsRoss Lagerwall2015-06-071-186/+327
| | | | | | | | | | | | | Multiple connections are needed since 7890d2801a7f ("sftp: Implement push support") and ed826fdf386c ("sftp: Implement pull support"). This is because up to 2 MiB of data may be in flight, so any "command" sent (e.g. refreshing the view in Nautilus) gets queued up which makes the mount unusable on a slow connection when copying at the same time. This changes the code to support multiple connections but still uses a single connection. https://bugzilla.gnome.org/show_bug.cgi?id=747128
* Updated Spanish translationDaniel Mustieles2015-06-051-30/+30
|
* metadata: Get tree from udev via dbusOndrej Holy2015-06-019-96/+130
| | | | | | | | | | | | We don't want to have dependency on udev in client part of gvfs due to app sandboxing. Thus move the code into the metadata daemon and get tree name via dbus. Common code to get metadata proxy has to be moved in metatree code. Mentioned changes caused that unistd.h is also included in meta-get-tree.c and cause symbol redeclaration error. Variable "pause" has to be renamed to avoid this conflict.
* build: Remove libbluray dependencyOndrej Holy2015-05-291-2/+1
| | | | | | Commit 6cbe00d removed gvfsmountinfo.c from common shared library, however libbluray dependency wasn't removed. Remove the dependency by this patch.
* Updated Spanish translationDaniel Mustieles2015-05-281-3416/+3482
|
* mtp: Copy mtime when pullingRoss Lagerwall2015-05-251-0/+14
| | | | | | | | Copy the modification timestamp after copying a file from the device. Normally, this would be done in the copy fallback path, but if pull() is implemented, it must also copy metadata. https://bugzilla.gnome.org/show_bug.cgi?id=749788
* Post release version bumpOndrej Holy2015-05-251-1/+1
|
* Update NEWS for 1.25.2 release1.25.2Ondrej Holy2015-05-251-0/+8
|
* gvfs-open: Do not alter uris before useOndrej Holy2015-05-251-7/+19
| | | | | | | | | | | | | | | | | | Uri is altered before g_app_info_launch_default_for_uri, because of the following code (from the commit 95aac17): file = g_file_new_for_commandline_arg (location[i]) uri = g_file_get_uri (file); Examples of uri changes: mailto:email -> mailto:///email ssh://user@host -> sftp://user@host/ This patch cause that uri isn't preprocessed for locations with scheme (however absolute and relative paths are still preprocessed). https://bugzilla.gnome.org/show_bug.cgi?id=738690
* Updated Slovak translationDušan Kazik2015-05-231-156/+222
|
* Add support for libsystemdMichael Biebl2015-05-231-4/+6
| | | | | | | | | In systemd v209 the various libsystemd-* libraries were merged into a single libsystemd library. So first check for this library and fall back to libsystemd-login if not found. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=749603 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779766
* gvfs-test: Update gphoto umockdev ioctl for libgphoto 2.5.7.Martin Pitt2015-05-221-0/+67
|
* Added Occitan translationCédric Valmary2015-05-212-0/+3146
|
* client: Always set path[12]_out in create_proxy_for_file2Ross Lagerwall2015-05-201-7/+7
| | | | | | | | | | | | | d59e6873086f ("Fix 'path[12]_out' leak in file_transfer()") assumed that path[12]_out were always set by create_proxy_for_file2 but this is not always the case. Fix it so that create_proxy_for_file2 always sets path[12]_out. To reproduce the bug: $ gvfs-copy --progress smb://host/unmounted/a smb://host/unmounted/b Segmentation fault (core dumped) https://bugzilla.gnome.org/show_bug.cgi?id=749462
* mtp: Refresh storage information in query_infoRoss Lagerwall2015-05-171-0/+12
| | | | | | | | | Get the storage information from the device in query_info() and query_fs_info() so that the disk space numbers are correct. Previously, if you deleted an item and checked the free space, it would not have changed. https://bugzilla.gnome.org/show_bug.cgi?id=749491
* dav: Emit progress callbacks when copying and movingRoss Lagerwall2015-05-141-53/+32
| | | | | | | | | | For progress in applications like Nautilus to be shown correctly, they need at least one progress callback to be emitted at the end. This is supposed to be guaranteed according to the GIO documentation. With server-side copy and move using webdav, emit a single progress callback at the end with the source file size. https://bugzilla.gnome.org/show_bug.cgi?id=749354
* Updated Norwegian bokmål translation.Kjartan Maraas2015-05-141-174/+234
|
* tests: confirm unknown certificates for webdavOndrej Holy2015-05-041-1/+36
| | | | | | | | Commit f5ee590 introduces TLS certificate verifying for webdav. Uknown certificates has to be confirmed by user during mount currenlty, thus test cases for webdav over https have to also confirm the certificates. https://bugzilla.gnome.org/show_bug.cgi?id=708306
* Post release version bumpOndrej Holy2015-04-291-1/+1
|
* Update NEWS for 1.25.1 release1.25.1Ondrej Holy2015-04-291-0/+13
|
* monitor: Rename deprecated g_unix_mount_monitor_newOndrej Holy2015-04-204-4/+4
| | | | | | | g_unix_mount_monitor_new is deprecated now. It was renamed to g_unix_mount_monitor_get, because it is singleton. See Bug 742599. https://bugzilla.gnome.org/show_bug.cgi?id=712382
* metadata: remove unused dbus unset apiOndrej Holy2015-04-104-49/+17
| | | | | | | Metadata are unset from client side using dbus set api, therefore dbus unset api and corresponding code isn't necessary. There is only one usage of unset api in private meta-set utility, which is replaced by this patch.
* metadata: remove unused dbus get apiOndrej Holy2015-04-102-99/+0
| | | | | Metadata are read from client side directly using meta_tree_enumerate_keys, therefore dbus api and corresponding code isn't necessary.
* ftp: Update license of ParseFTPList.hOndrej Holy2015-04-101-36/+4
| | | | | | | | | | | This is follow-up of commit 6a260ff, which updated license for ParseFTPList.c, but ParseFTPList.h should be updated also. Synced from upstream commit: http://hg.mozilla.org/mozilla-central/rev/f4157e8c4107 https://bugzilla.mozilla.org/show_bug.cgi?id=716478 https://bugzilla.gnome.org/show_bug.cgi?id=601583
* Don't return NULL from g_daemon_file_query_writable_namespaces()Christophe Fergeau2015-04-101-1/+4
| | | | | | | | | Since commit b358ca "Make sure metadata is always returned by query_writable_namespaces()", query_writable_namespaces() is expected to return non-NULL values. There is one error case where it's not currently doing that. https://bugzilla.gnome.org/show_bug.cgi?id=747362
* Rework code flow in g_daemon_file_query_writable_namespaces()Christophe Fergeau2015-04-101-15/+11
| | | | | | | This makes the common (non-error) case more linear, and thus a bit more readable. This is in preparation for the next commits. https://bugzilla.gnome.org/show_bug.cgi?id=747362