| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Never call bd_open() with an empty path.
https://bugzilla.gnome.org/show_bug.cgi?id=749093
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Commit 6cbe00d removed gvfsmountinfo.c from common shared library,
however libbluray dependency wasn't removed. Remove the dependency
by this patch.
|
|
|
|
|
|
| |
gvfsdbusutils.[ch] are renamed to gvfshalutils.[ch] to prevent confusion.
https://bugzilla.gnome.org/show_bug.cgi?id=722411
|
|
|
|
|
|
|
|
|
|
|
|
| |
g_simple_async_result_complete should only be used from the thread on
which the callback should be invoked. Also, the gvfs job threads do not
have their own GMainContexts which causes an assertion failure [1] when
invoking g_simple_async_result_complete. Instead, use
g_simple_async_result_complete_in_idle().
[1] (process:11772): GLib-CRITICAL **: g_main_context_push_thread_default: assertion 'acquired_context' failed
https://bugzilla.gnome.org/show_bug.cgi?id=629345
|
|
|
|
|
|
|
| |
Don't run a recursive main loop on a separate thread with a shared
GMainContext.
https://bugzilla.gnome.org/show_bug.cgi?id=629345
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
AvahiClient appears to require that avahi_service_resolver_new is
invoked from the same thread to which its poll function is bound
otherwise it can crash with a callback running while
avahi_service_resolver_new is still busy.
To fix this, always run avahi_service_resolver_new from the main loop.
To simplify the code, any errors from the function are ignored for now.
This crash could be reproduced 100% of the time by trying to mount
dav+sd (via gnome-user-share) in a single-CPU VM.
https://bugzilla.gnome.org/show_bug.cgi?id=629345
|
|
|
|
|
|
|
|
|
| |
Although it is probably unnecessary, wait up to 30 minutes for a mount
to complete. This allows plenty of time to wait for a password dialog.
It also makes it more consistent with many of the other operations which
use a timeout of 30 minutes.
https://bugzilla.gnome.org/show_bug.cgi?id=594500
|
|
|
|
|
|
|
| |
Random string generation is used in a few different places, so share the
implementation.
https://bugzilla.gnome.org/show_bug.cgi?id=738967
|
| |
|
|
|
|
|
|
| |
We used to just load the files from this, but that does not work in
a sandboxed environment. For backwards compat we keep loading
the old files if the dbus api is not implemented yet.
|
|
|
|
|
|
|
|
| |
Also add some to/from_dbus helpers.
This is in preparation for moving the reading of the monitor
files to the gvfs daemon, which is needed for the sandboxed
case where the monitor files are not necessarily the same as
the host installed ones.
|
|
|
|
|
|
|
|
| |
Deduplicate code between gphoto2 and mtp by creating a convenience
library call libgvfscommon-gphoto2 which is only built if either libmtp
is used or gphoto2 with gudev is used.
https://bugzilla.gnome.org/show_bug.cgi?id=736285
|
|
|
|
|
|
| |
The _NL_ADDRESS_LANG_TERM and _NL_ADDRESS_COUNTRY_AB3 aren't portable.
https://bugzilla.gnome.org/show_bug.cgi?id=726707
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=721510
|
|
|
|
|
|
|
|
|
| |
This structure is too similar to GMountSpec to deserve a presence
(it's essentially a GMountSpec with a path). By removing it we
can remove some code and avoid wasteful allocations in sensitive
paths such as creating and traversing GFiles.
https://bugzilla.gnome.org/show_bug.cgi?id=721461
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=722354
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
Make the parsing of autorun.inf less strict by ignoring whitespace
around "=".
Tweaked by Ross Lagerwall to prevent a match occurring if the part after
the "=" contains only whitespace.
https://bugzilla.gnome.org/show_bug.cgi?id=595027
|
|
|
|
|
|
|
| |
Add support for the new icon serialisation interface to GVfsIcon as well
as implementing the new interface on GVfsClass for deserialising.
https://bugzilla.gnome.org/show_bug.cgi?id=688820
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=695834
|
| |
|
| |
|
|
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=683763
Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GDBus calls require NULL-terminated string arrays, let's use them
internally instead of array + n_elements couple.
Also fix all users of g_mount_source_ask_question() and
g_mount_source_show_processes().
This is a regression after gdbus port actually, the old code used
to deal with string arrays differently.
Related commit: 99d06e499f999459f1fc973c870415a004722d54
https://bugzilla.gnome.org/show_bug.cgi?id=683118
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=681458
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=682646
|
|
|
|
|
|
| |
We return the not-quite-right ALREADY_MOUNTED. Its not strictly right
because just because the name is owned does not mean the mount
has been registred yet.
|
|
|
|
|
|
| |
This code is tiny, and only used by two backends.
Having this code in a separate .so is likely a negative
gain in both size and speed.
|
|
|
|
|
|
|
|
| |
The gvfsmountinfo.c (and its libbluray dependency) is unused by
the client code, so we remove it from the common shared lib.
We use a non-shared lib for this, as in practice only one of the
monitors that use this code will be build/installed/used.
|
| |
|
|
|
|
| |
Don't link to libdbus and remove libdbus utility functions.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=682284
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
...so that they are recognizable on a first sight.
|
|
|
|
| |
and kill the iters.
|
|
|
|
|
| |
Reorganize saved references for used objects, getting rid of
some FIXMEs.
|
|
|
|
|
| |
Use G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS and G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES
flags where applicable.
|
| |
|
| |
|
| |
|
|
|
|
| |
And conform to usual GNOME naming conventions.
|
|
|
|
|
|
|
|
|
|
| |
A fallout of port away from convenient G_DBUS_TYPE_CSTRING type and
_g_dbus_message_append_args() + _g_dbus_message_iter_get_args() functions
that masked NULL strings as non-NULL empty strings ("") for transferring
over d-bus and on the other side reconstructed the original value.
Portions of other code treat non-NULL strings differently even if they
were empty. This fixes e.g. opening http URLs via gvfs-open.
|