| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
Recently, GVfs switched from abstract sockets to named sockets. The
socket dir is currently created by the individual daemons immediately
before starting DBus server. If gvfsd-admin is started at first, the
socket dir is owned by root user and thus it isn't accesible for other
daemons and clients. Let's create the socket dir early from the gvfsd
daemon to ensure correct ownership.
https://gitlab.gnome.org/GNOME/gvfs/-/issues/552
|
|
|
|
|
|
|
|
|
|
| |
Gvfsd-fuse required the old 2.x versions of fuse. Fuse developers
encourage developers to transition to the actively developed libfuse
3.x. This change adapt gvfsd-fuse to build with fuse 3.x. Note that
fuse is no longer compatible with fuse 2.x. It now requires fuse 3.0.0
or later to build.
Closes: https://gitlab.gnome.org/GNOME/gvfs/issues/323
|
|
|
|
|
|
| |
See https://developer.gnome.org/hig/stable/typography.html
https://bugzilla.gnome.org/show_bug.cgi?id=772219
|
|
|
|
|
|
|
|
| |
This is currently more-or-less just a cosmetic issue, because there aren't
any debug prints in the main daemon, and because other daemons are
spawned with the same enviroment. However this fixes debugging for the
proposed admin daemon, because GVFS_DEBUG environment variable is not
passed in pkexec environment.
|
|
|
|
|
|
| |
Fuse daemon is spawned with G_SPAWN_STDOUT_TO_DEV_NULL and
G_SPAWN_STDERR_TO_DEV_NULL, which suppress its output. Use
G_SPAWN_LEAVE_DESCRIPTORS_OPEN instead to simplify debugging.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allow controlling whether backends spawned from the main daemon start
with debug output enabled by adding a --debug command-line parameter and
responding to the SIGUSR2 signal. Note that sending SIGUSR2 to the main
daemon does not affect any already spawned backends.
E.g. to capture the login debugging from the sftp backend without having
to restart the main daemon:
$ pkill -x -USR2 gvfsd
$ gvfs-mount sftp://...
$ journalctl -n 40
If --debug is given on the command-line, debug output is enabled for
spawned daemons by default. Sending SIGUSR2 will then turn it off.
https://bugzilla.gnome.org/show_bug.cgi?id=740660
|
|
|
|
|
| |
Unused variable 'no_fuse' warning is shown if fuse support is disabled.
Declare the variable conditionally to avoid the warning.
|
|
|
|
|
|
|
|
| |
Mount tracker skeleton is registered by name_acquired_handler
currently, however it is too late. Therefore e.g. mount operation
could fail for the first time with the following error:
No such interface `org.gtk.vfs.MountTracker' on object at path
/org/gtk/vfs/mounttracker
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=727132
|
|
|
|
|
|
|
|
| |
Without the big_writes option, fuse uses a block size of 4096 bytes
which results in poor write performance. So use the big_writes option
to write blocks up to 64KiB in size.
https://bugzilla.gnome.org/show_bug.cgi?id=652540
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=511802
|
|
|
|
|
|
| |
See http://git.gnome.org/browse/glib/commit/?id=2002479c02fa6e468fc3f67ddc663657a52ebde8
https://bugzilla.gnome.org/show_bug.cgi?id=687236
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The crasher may have been possibly fixed in bug 669211.
It's hard to hit the code path as long as gvfsdaemon calls hard exit().
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Port of most of the gvfs core, few bits still missing. Lot of debug prints around,
will be removed in further commits. Same amount of TODOs and FIXMEs.
Notes:
* kill serials?
* get rid of mainloops where applicable (copy/move progress callback, enumerator)
* fix keyring integration
* use gdbus builtin fd passing within gvfsdaemon.c, kill the extra_fd stuff
|
|
|
|
|
|
| |
...to stay consistent with the rest of the daemons.
https://bugzilla.gnome.org/show_bug.cgi?id=680819
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updating the address of the FSF.
This has been done by:
while read file; do
sed -i 's:59 Temple Place:51 Franklin Street:' $file
sed -i 's:Suite 330:Fifth Floor:' $file
sed -i 's:02111-1307:02110-1301:' $file
done
https://bugzilla.gnome.org/show_bug.cgi?id=656598
Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
|
|
|
|
|
|
|
|
| |
If runtime dir is not specifically set we don't fall back to
~/.cache/gvfs, as that unnecessarily invalidates all existing
documentation and scripts using ~/.gvfs.
However, if it is set, we still use it.
|
|
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=646391
Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
|
|
|
|
|
|
| |
not required as g_spawn_async() already detach the process. Secondly, calling daemon() and then pthread_create() produce an undefined result accoring to Opengroup. On system with the uClibc library this will badly hang the process.
Signed-off-by: Jean-Christian de Rivaz <jc@eclis.ch>
|
|
|
|
|
|
|
| |
GStaticMutex and GStaticRWLock have been replaced by GMutex
and GRWLock, and g_thread_init() is no longer needed.
https://bugzilla.gnome.org/show_bug.cgi?id=661148
|
|
|
|
|
|
|
|
| |
That way we would be able to properly get EPIPE when trying to write to
a socket or pipe whose far end has been closed. This happens e.g. on
file copy cancellation. Glib does similar thing on GSocket initialization.
https://bugzilla.gnome.org/show_bug.cgi?id=649041
|
|
|
|
|
|
|
|
|
| |
* */*.[ch]: get rid of modelines
The modelines were inconsistent and caused issues when used in
different editors.
svn path=/trunk/; revision=1756
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-03-14 Alexander Larsson <alexl@redhat.com>
* daemon/main.c:
Don't autostart fuse backend if the GVFS_DISABLE_FUSE
env var is set
svn path=/trunk/; revision=1656
|
|
|
|
|
|
|
|
|
|
|
| |
2008-03-04 Carlos Garcia Campos <carlosgc@gnome.org>
* common/gmountspec.c: (g_mount_spec_copy):
* daemon/gvfsdaemon.c: (g_vfs_daemon_initiate_mount):
* daemon/main.c: (main):
Fix memory leaks.
svn path=/trunk/; revision=1519
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-19 Alexander Larsson <alexl@redhat.com>
* lots of *.c files:
Code cleanup from Kjartan:
Removes unused code/variables.
Uses right printf types
Uses non-deprecated dbus calls.
Removes spurious ; and ,
deleted extra checks for NULL for g_free
svn path=/trunk/; revision=1302
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-28 Alexander Larsson <alexl@redhat.com>
* daemon/daemon-main.c:
* daemon/main.c:
Include locate.h for setlocale
svn path=/trunk/; revision=1192
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-28 Alexander Larsson <alexl@redhat.com>
* daemon/Makefile.am:
* daemon/daemon-main.c:
* daemon/main.c:
Enable translations for daemons and some l10n
fixes. Patch from Luca Ferretti.
svn path=/trunk/; revision=1186
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-21 Alexander Larsson <alexl@redhat.com>
* NEWS:
Update for release
* daemon/Makefile.am:
* daemon/main.c:
Autospawn fuse on daemon start.
* daemon/mount.c:
(read_mountable_config):
Remove debug spew
svn path=/trunk/; revision=1158
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-12-20 Alexander Larsson <alexl@redhat.com>
* daemon/main.c:
Fix translated "".
* hal/ghaldrive.c:
Encode +/- as utf8 c escapes
svn path=/trunk/; revision=1060
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-11-01 Christian Kellner <gicmo@gnome.org>
* client/*.[ch]:
* common/*.[ch]:
* daemon/*.[ch]:
* test/*.[ch]:
Add copyright information to source files.
svn path=/trunk/; revision=1007
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* client/gdaemonfile.c: (g_daemon_file_append_to),
(g_daemon_file_create), (g_daemon_file_replace):
* test/benchmark-gvfs-big-files.c: (create_file):
* test/benchmark-gvfs-small-files.c: (create_file): Update to API
changes in gio.
* daemon/gvfschannel.c:
* daemon/gvfsreadchannel.c:
* daemon/gvfswritechannel.c:
* daemon/main.c:
Drop unecessary includes.
svn path=/trunk/; revision=966
|
|
|
|
|
|
|
|
| |
in one placs
Original git commit by Alexander Larsson <alexl@redhat.com> at 1178703402 +0200
svn path=/trunk/; revision=529
|
|
|
|
|
|
| |
Original git commit by Alexander Larsson <alexl@redhat.com> at 1178632314 +0200
svn path=/trunk/; revision=525
|
|
|
|
|
|
| |
Original git commit by Alexander Larsson <alex@greebo.(none)> at 1170944568 +0100
svn path=/trunk/; revision=306
|
|
|
|
|
|
| |
Original git commit by Alexander Larsson <alex@greebo.(none)> at 1170415025 +0100
svn path=/trunk/; revision=296
|
|
|
|
|
|
| |
Original git commit by Alexander Larsson <alex@greebo.(none)> at 1169741730 +0100
svn path=/trunk/; revision=266
|
|
|
|
|
|
|
|
| |
Daemon side only.
Original git commit by Alexander Larsson <alex@greebo.(none)> at 1165492556 +0100
svn path=/trunk/; revision=219
|
|
|
|
|
|
| |
Original git commit by Alexander Larsson <alex@greebo.(none)> at 1164972080 +0100
svn path=/trunk/; revision=207
|
|
|
|
|
|
| |
Original git commit by Alexander Larsson <alex@localhost.localdomain> at 1161855599 +0200
svn path=/trunk/; revision=129
|
|
|
|
|
|
| |
Original git commit by Alexander Larsson <alex@localhost.localdomain> at 1161615951 +0200
svn path=/trunk/; revision=119
|
|
|
|
|
|
| |
Original git commit by Alexander Larsson <alex@localhost.localdomain> at 1161345154 +0200
svn path=/trunk/; revision=117
|
|
Original git commit by Alexander Larsson <alex@localhost.localdomain> at 1160421719 +0200
svn path=/trunk/; revision=105
|