summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update NEWS for 1.39.3 release1.39.3Ondrej Holy2018-12-102-1/+10
|
* ci: Update docker imageOndrej Holy2018-12-073-6/+7
| | | | | New image is necessary because of new functionality. Add --no-cache option to force rebuilding the image.
* build: Use g_unix_mount_get_root_path conditionallyOndrej Holy2018-12-072-3/+17
| | | | | GLib hasn't been released with g_unix_mount_get_root_path support yet, so let's add macros to use this functionality only if available.
* udisks2: Improve handling of mounts which doesn't point into fs rootOndrej Holy2018-12-071-3/+14
| | | | | | | | | | | | | UDisks2 handling of mounts which doesn't point into fs root (created over bind operation, or btrfs subvolumes) is not optimal, see: https://github.com/storaged-project/udisks/issues/478 Also GIO API doesn't expect that one GVolume can have multiple mountpoints. Thus don't try to match UDisksBlock with mount which doesn't point into fs root and create standalone GVfsUDisks2Mount for it (or use GVfsUDisks2Volume corresponding with fstab entry). https://gitlab.gnome.org/GNOME/gvfs/issues/330
* udisks2: Do not ignore mounts without volumesOndrej Holy2018-12-071-6/+0
| | | | | | | | | | | | | | | gvfs_udisks2_mount_new returns NULL if volume is not specified and mount is considered as internal by g_unix_mount_is_system_internal. This prevents mount creation in certain cases even if x-gvfs-show is manually specified. Mounts are already filtered out by should_include_mounts, so I don't see much reason for additional check. It is true that should_include_mount doesn't use g_unix_mount_is_system_internal, but just g_unix_is_mount_path_system_internal, however, we can change this in future if needed. https://gitlab.gnome.org/GNOME/gvfs/issues/330
* udisks2: Restore support of comment=x-gvfs-* optionOndrej Holy2018-12-032-9/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Beginning the commit 959db3e0, mtab-based mount options are prioritized prior to the fstab options. However, "comment" option is not propagated to mtab and thus mounts with "comment=x-gvfs-show" can be ignored, but volumes can be still shown for them and vice versa. Consequently, mount operation fails with the following: "Mount is denied because the NTFS volume is already exclusively opened. The volume may be already mounted, or another software may use it which could be identified for example by the help of the 'fuser' command." Just a note, that "comment=x-gvfs-*" is wrong as per the docs and it should be "comment=gvfs-*" instead. However, it seems that the people started using this after commit 37d4bf32 as workaround on distributions with old util-linux versions, where plain "x-gvfs-*" option caused the following error: "Unrecognized mount option "x-gvfs-show" or missing value" The workaround using "comment=x-gvfs-*" option worked so far just only thanks to the "bug" in gvfs_udisks2_utils_lookup_fstab_options_value() function, which doesn't care about the prefix of the mount option. Let's prioritize fstab options before mtab-based mount options to fix this regression. It is maybe less reliable because the assignment of the corresponding fstab entry is arguable, but the rest of the volume monitor code relies on it anyway. Closes: https://gitlab.gnome.org/GNOME/gvfs/issues/348
* daemon: Prevent spawning new daemons if outgoing operation existsOndrej Holy2018-11-191-0/+26
| | | | | | | | | | | | | | | | A new daemon is always spawned if MountLocation method (or LookupMount for automounted) is called and the respective mount isn't registered yet. This is not usually an issue, because the redundant daemons are consequently terminated. However, this is a problem if mount operations hang for some reason. This may happen e.g. with trash backend due to stale NFS mounts. Consequently, new and new daemons are spawned which may lead to system failures due to lack of system resources. See the following downstream bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1632960 Let's fix that behavior simply by preventing spawning of new daemons if respective outgoing mount operations exist. https://gitlab.gnome.org/GNOME/gvfs/merge_requests/19
* common: Prevent crashes on invalid autorun fileOndrej Holy2018-10-261-1/+1
| | | | | | | | GRegex expects valid UTF-8 input by default and libpcre may crash if it is not valid. GRegex is used to parse autorun file, which doesn't have to be always valid. Let's use G_REGEX_RAW to prevent the crashes. Closes: https://gitlab.gnome.org/GNOME/gvfs/issues/344
* Update Slovak translationDušan Kazik2018-10-241-531/+539
| | | | (cherry picked from commit b846e5389073fc8607ef41851bf525b29029d976)
* Post release version bumpOndrej Holy2018-10-081-1/+1
|
* Update NEWS for 1.39.1 release1.39.1Ondrej Holy2018-10-081-0/+11
|
* Update Serbian translationМарко Костић2018-09-291-527/+534
| | | | (cherry picked from commit fa11cb717155213847c9941ce8fbcc9f83f3a44e)
* gvfs-test: Don't specify the port if we are running in the sandboxIain Lane2018-09-251-2/+9
| | | | | In this case the smb config is set up using the default port by the sandbox itself - the config in the testsuite is not used.
* gphoto2: Fix mounting for devices with special chars in ID_SERIALOndrej Holy2018-09-241-4/+7
| | | | | | | ID_SERIAL string is not URI-escaped before use, but unfortunately, it may contain special characters (e.g. colons) and consequently it is not possible to mount affected devices over activation_root. Let's URI-escape the ID_SERIAL string before use as URI to fix that issue.
* mtp: Fix mounting for devices with special chars in ID_SERIALOndrej Holy2018-09-241-2/+4
| | | | | | | | | ID_SERIAL string is not URI-escaped before use, but unfortunately, it may contain special characters (e.g. colons) and consequently it is not possible to mount affected devices over activation_root. Let's URI-escape the ID_SERIAL string before use as URI to fix that issue. Closes: https://gitlab.gnome.org/GNOME/gvfs/issues/338
* google: Handle child of volatile also as volatileOndrej Holy2018-09-211-39/+19
| | | | | | Files in volatile folder should be also marked as volatile. Volatile handling is a bit simplified as a part of this patch also.
* google: Use cache for enumeration alsoOndrej Holy2018-09-211-16/+46
| | | | | | | The reworked cache hasn't been used for enumeration results and also for missing files checks, which always caused rebuilding cache. Let's save timestamps also for enumerations and use it to prevent redundant cache rebuilds.
* google: Rework cache for better performanceOndrej Holy2018-09-211-238/+166
| | | | | | | | | | | The backend is totally unusable if you have too many files on your Drive. This happens because the backend preloads the whole Drive's metadata. Let's build the cache incrementaly per folders. As a result, the backend works smoothly regardless of the total number of Drive files, because the total number of transmitted data is significantly reduced. On the other hand, more requests is done to Drive, but the Drive quotas seem big enough.
* google: Remove file just from concrete parentOndrej Holy2018-09-211-4/+33
| | | | | | Files with multiple parents are currently removed from all parents. This is unexpected and may cause data loss, because it is not obvious that it is one file. Let's remove the file just from requested folder.
* google: Add support for files with multiple parentsOndrej Holy2018-09-211-220/+168
| | | | | | | | | One entry can have multiple parents. You can create such entry on the web in a pretty simple way, e.g. Ctrl + Drag&Drop. Such entries are currently shown only on one place in the backend. Also the backend rely on get_parent_id() and get_entry_path() functions which are tottaly wrong. Let's introduce get_parent_ids() and resolve entry_path only from given filename.
* google: Ignore entries without parentsOndrej Holy2018-09-211-17/+1
| | | | | | Entries without parents are not shown on the web and there isn't any reason to list them here. Such entries belongs to some web services and we have no control over them.
* google: Remove also dir_collisions entriesOndrej Holy2018-09-211-0/+7
| | | | | dir_collisions are not properly invalidated if removed entry is on this list. Let's remove the entry also from this list.
* google: Move debug prints before releasing entryOndrej Holy2018-09-211-2/+2
| | | | | | Debug output contains mess because id and title are const gchar * and are released together with GDataEntry on previous line. Let's just swap the lines.
* smbbrowse: Force NT1 protocol version for workgroup supportOndrej Holy2018-09-212-0/+44
| | | | | | | | | | | | "Windows Network" doesn't work with recent samba versions, because "client max protocol" has been changed from NT1 to SMB3 recently. NT1 is mandatory for workgroup support. Let's force NT1 using the newly added smbc_setOptionProtocols API if available. But force this only when neither hostname, nor IP address is used. This among others prevents complete breakage if NT1 is disabled on server. Use GResolver to implement this heuristic. https://bugzilla.gnome.org/show_bug.cgi?id=780958
* Update Russian translationStas Solovey2018-09-061-525/+532
| | | | (cherry picked from commit 847058eb893cf8cf724ce3f61d4b4458bad40b9d)
* Update Belarusian translationYuras Shumovich2018-09-061-1628/+1577
| | | | (cherry picked from commit dcf47dbb1c4cfcdafb876b7bc5f79b7228d0a42e)
* Add a new volume class `loop`segfault2018-09-041-1/+33
| | | | ... to be able to list loop devices in the GTK+ places sidebar.
* Post branch version bumpOndrej Holy2018-09-041-1/+1
|
* test: Prevent failures caused by wrong monitor dirOndrej Holy2018-09-041-0/+4
| | | | | | | | | | | | | | | | | | Test suite uses custom servicedir with subset of monitor service files, however, list of available monitors is read from the system locations. Thus gvfs tries to spawn volume monitors, which are not available in the custom servicedir. Consequently, the following warnings are printed among others from "gio mount": invoking IsSupported() failed for remote volume monitor with dbus name... The warnings causes test suite failures, becasue it expects another output. This problem appeared recently due to the "gio mount" change, which now always call g_volume_monitor_get. Set GVFS_MONITOR_DIR to the same dir, where is the custom session.conf, which ensures that it uses .monitor files from that dir and not from the system locations.
* backend: Prevent usage of NULLOndrej Holy2018-09-041-2/+5
| | | | | | | | | | g_dbus_connection_get_peer_credentials may fail in some cases, see the documentation, and thus we have to check the return value before use in order to prevent warnings like the following: g_credentials_get_unix_pid: assertion 'G_IS_CREDENTIALS (credentials)' failed Print simply -1 if pid can't be obtained this way.
* Post release version bumpOndrej Holy2018-09-031-1/+1
|
* Update NEWS for 1.38.0 release1.38.0Ondrej Holy2018-09-031-0/+4
|
* Update Greek translationEfstathios Iosifidis2018-09-031-372/+380
|
* Update Croatian translationgogo2018-09-021-370/+379
|
* Update Finnish translationJiri Grönroos2018-09-021-544/+538
|
* Updated Danish translationAsk Hjorth Larsen2018-09-011-369/+378
|
* Updated Vietnamese translationTrần Ngọc Quân2018-09-011-603/+612
| | | | Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
* Update Latvian translationRūdolfs Mazurs2018-08-311-409/+424
|
* Update Hungarian translationBalázs Meskó2018-08-311-412/+422
|
* Update Galician translationFran Dieguez2018-08-291-262/+275
|
* Update Brazilian Portuguese translationRafael Fontenelle2018-08-281-412/+427
|
* Update Swedish translationAnders Jonsson2018-08-271-259/+267
|
* Update Korean translationChangwoo Ryu2018-08-271-408/+369
|
* Post release version bumpOndrej Holy2018-08-271-1/+1
|
* Update NEWS for 1.37.92 releaseOndrej Holy2018-08-271-0/+6
|
* Update Italian translationMilo Casagrande2018-08-271-418/+428
|
* Update Indonesian translationKukuh Syafaat2018-08-261-258/+266
|
* Update Kazakh translationBaurzhan Muftakhidinov2018-08-251-576/+560
|
* Update Chinese (Taiwan) translationCheng-Chia Tseng2018-08-211-6/+6
|
* Updated Czech translationMarek Cernocky2018-08-201-253/+268
|