| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=676111
|
|
|
|
|
|
| |
Turned out zeroing memory is not enough in some cases so let's be
on the safe side and properly initialize all non-static mutexes.
Also, don't initialize/clear the static ones.
|
|
|
|
| |
A continuation to https://bugzilla.gnome.org/show_bug.cgi?id=661148
|