| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
Otherwise clients won't realize the root file is gone.
Related to https://gitlab.gnome.org/GNOME/nautilus/-/issues/371
|
| |
|
|
|
|
| |
This reverts commit f99b812d16d29f9fa6dd090f4ccb6058c004e012.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We check to see if the desired file name already exists before doing
a renaming by stat'ing the file (to prevent smb from destroying an
existing file). Since smb is not case sensitive, the check for an
existing file mistakenly returns true if we are only changing the
filename's case.
Add a second check to see whether we are simply changing the
case of the filename.
Fixes: https://gitlab.gnome.org/GNOME/gvfs/-/issues/672
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the case of an application monitoring the trash can, delete a file
on the mounted device to the trash can, and then unmount the device.
At this time, if you check the status of the trash can, you will find
that the number of files queried is inconsistent with the number of
files obtained through the enumeration job. This is because the number
of files queried includes some files that do not exist when the device
is unmounted. The solution is to synchronize the status of the trash
can in time to ensure that the trash can does not record files that do
not exist.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The file_transfer function contains a statement ensuring that the operation
fails when files are on different mounts. But this statement is never reached.
This case is correctly handled inside the create_proxy_for_file2 functio. Let's
remove the dead code.
|
|
|
|
|
|
|
|
| |
When the push method in DAV baclend is called with a nonexistent source
file, the `GLib-GObject-CRITICAL **: 12:07:04.743: g_object_unref:
assertion 'G_IS_OBJECT (object)' failed` message is printed because
the `g_object_unref` function is called for a `NULL` pointer. Let's
use `g_clear_object` instead to avoid this.
|
|
|
|
|
|
|
|
|
| |
The push/pull methods rely on local paths. This is a problem for Flatpak
applications because the GVfs daemons run outside of it, so the same local
path might refer to a different file. Let's disable the push/pull methods
for Flatpak applications to fix errors when moving/copying.
Related: https://github.com/flathub/org.libreoffice.LibreOffice/issues/23
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, using `FileProgressCallback` is quite confusing as
`current_num_bytes` is in uncompressed bytes unlike `total_num_bytes`
which is in compressed bytes.
In order to solve this issue, we disable compression in `query_info` by
setting the "Accept-Encoding" flag to `identity` (none). Then whenever
`query_info_on_read` is called, we make sure that the request wasn't set
to accept compresssion and fallback to `query_info` if it is the case.
Fixes #195
|
|
|
|
|
|
|
|
| |
In several places, the code compares to strings by comparing
their pointers instead of using g_strcmp0(). Although this
seems to work, it is incorrect.
This MR fixes it.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
When the username is not part of an URI, then the following message is
printed: `GVFS-CRITICAL **: 12:31:47.663: g_mount_spec_set_with_len_internal:
assertion 'value != NULL' failed`. This is because `g_mount_spec_set` is
called with `NULL`. It possibly lead to crash when it is build with the
`G_DISABLE_CHECKS` option. This bug was introduced recently by the commit
6636d89f. Let's check the value before setting it to fix this.
Related: https://gitlab.gnome.org/GNOME/gvfs/-/issues/644
|
| |
|
|
|
|
|
|
|
|
|
|
| |
After gvfsd-ftp is connected to the ftp server, if the ftp server
stops, the gvfsd-ftp sending request will be stuck, even after the ftp
server is started, it still cannot be recovered. This is because
ftp->connections is not updated when the connection is released,Thus
let ftp->connections decrement by one when the connection is released.
https://gitlab.gnome.org/GNOME/gvfs/-/merge_requests/149
|
|
|
|
|
|
|
|
| |
When the file fails to open, vfs_release() will not be called, which
makes the file handle unable to be released, which will cause subsequent
creation of the same name file to fail.
Related: https://gitlab.gnome.org/GNOME/gvfs/-/issues/660
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Meson is currently configured to search the gvfs builder's PATH for an
ssh client, and hardcode its fullpath as the canonical ssh client for
the gvfs sftp backend.
This setup breaks in cases where the builder has a different ssh client
from the final runtime root, or where the client's pathes differ.
Builders using OpenEmbedded or buildroot workspaces are particularly
affected.
Instead, set SSH_PROGRAM to `ssh` so that it gets PATH-expanded at
runtime.
Closes: https://gitlab.gnome.org/GNOME/gvfs/-/issues/465
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
|
|
|
|
|
| |
The action is done asynchronous by the service and without the delay
the trash is sometime showing empty when it shouldn't.
|
|
|
|
|
| |
The option has been deprecated in udisks for years and is just displaying
a warning in the log
|
|
|
|
|
|
|
|
|
| |
GVfs doesn't support x-large and xx-large thumbnails currently. Consequently,
thumbnails are not shown for remote locations in Nautilus on HiDPI screens.
GLib added support for them over glib!2941 recently. Let's do the similar
change for GVfs.
Relates: glib#2767
|
|
|
|
| |
(cherry picked from commit da9b31e0310bd917773f30cdbf3626c5b9c04ea1)
|
| |
|
|
|
|
|
| |
GNOME mailing lists and IRC are retired. Let's refer people to GNOME Discourse
instead.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
To make it easier to add new ones without changing a whole line.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
When on WiFi, the NextCloud account is automatically mounted after
resuming from suspension. This is because the `Account.AttentionNeeded`
property changes its value and GOA volume monitor calls mount operation
in that case. It is not obvious to me why this code is here. Also this
is maybe bug on GOA side. But anyway, other backends simply just unmount
when something changes, but don't mount again automatically. I suppose we
should do the same here as well to avoid these unwanted automounts.
Fixes: https://gitlab.gnome.org/GNOME/gvfs/-/issues/634
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The `mount_try_again` variable is redundant since it is set to `TRUE` in
all cases. Let's remove it to sligtly improve readability of the code.
|
|
|
|
|
|
|
|
|
|
|
| |
After the recent samba change, the "Invalid Argument" error can be still
returned when anonymous login is requested even after the commit 747c7f6.
This is because `smbc_setOptionNoAutoAnonymousLogin` is called after returning
from the `auth_callback` function (i.e. there is one redundant iteration).
Let's rework the handling a bit and call that immediately, which bypasses
the issue.
Fixes: https://gitlab.gnome.org/GNOME/gvfs/-/issues/619
|