summaryrefslogtreecommitdiff
path: root/client
AgeCommit message (Collapse)AuthorFilesLines
2013-06-13GDaemonFile: fix relative path handling to account for mount_prefixGiovanni Campagna1-16/+69
If two files have two different origins (say, one from g_mount_get_root() and one from g_file_new_for_uri()), the mount_spec they use could expose a different mount_prefix, even if the represent the same URI and network object. This in particular fixes the handling of shadow mounts for dav (which rewrites the mount_spec during mount to find the right prefix) https://bugzilla.gnome.org/show_bug.cgi?id=696279
2013-05-28smb: Add support for specifying custom portTomas Bzatek1-1/+19
Thanks to the work by Jeremy Allison we should be able to connect to a non-standard port through new enough Samba version. This patch adds a port argument to smburi parser and both smb and smb-browse backends. https://bugzilla.gnome.org/show_bug.cgi?id=698071
2013-04-29httpuri: Fix a typoTomas Bzatek1-2/+2
2013-04-21GVfsIcon: support icon serialisationRyan Lortie1-0/+8
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
2013-04-04GVfsChannels: Verify that replies are for the right serialAlexander Larsson2-7/+14
We might be getting replies for old cancelled operations which we need to ignore. https://bugzilla.gnome.org/show_bug.cgi?id=675181
2013-04-04channel: Unqueue cancelled requestsAlexander Larsson2-0/+35
We put a channel request on the output buffer and start writing, but if the write is cancelled on the first call (i.e. no partial writes) we abort immediately without ever writing the request. However, if we do this we also need to unqueue the request from the output buffer, as otherwise this will be sent with the next operation. This can be problematic for seeks as the seek generation is then not in sync. https://bugzilla.gnome.org/show_bug.cgi?id=675181
2013-04-02Fix compiler warningsBastien Nocera1-1/+0
https://bugzilla.gnome.org/show_bug.cgi?id=695834
2013-02-06fuse: Install systemd tmpfiles.d exclusion fileTomas Bzatek2-0/+29
We need to tell systemd to stay out of our fuse mounts before any data are destroyed. This patch reuses libsystemd-login detection as long as there is no general header or pkg-config file in systemd. https://bugzilla.redhat.com/show_bug.cgi?id=902743 https://bugs.archlinux.org/task/32715 https://bugzilla.gnome.org/show_bug.cgi?id=560658
2013-01-17Use g_list_free_full() where applicableTomas Bzatek4-8/+4
2012-12-07fuse: Make truncating more robustTomas Bzatek1-3/+4
Don't try to seek if there was an error during padding. Also report seek errors.
2012-12-03client: Set default timeout to infinite for all GDaemonFile methodsTomas Bzatek1-0/+7
Certain operations may take a lot of time to complete, don't timeout on that. Use cancellable if you need to control the flow. https://bugzilla.gnome.org/show_bug.cgi?id=687534
2012-10-30Remove calls to g_type_init(), bump GLib required versionColin Walters1-2/+0
See http://git.gnome.org/browse/glib/commit/?id=2002479c02fa6e468fc3f67ddc663657a52ebde8 https://bugzilla.gnome.org/show_bug.cgi?id=687236
2012-10-22gdaemonmount: Check for a NULL GMountOperation when unmountingDebarshi Ray1-1/+2
https://bugzilla.gnome.org/show_bug.cgi?id=686637
2012-10-11client: Don't disable exit_on_close on session busAlexander Larsson1-2/+0
We should *not* disable exit on close for the shared session bus connection, this means that apps won't properly exit with the session!
2012-10-01fuse: don't crash on unmountMichael Terry1-1/+1
https://bugzilla.gnome.org/show_bug.cgi?id=685248
2012-09-13Try to unsubscribe from the proxy used for subscriptionWilliam Jon McCann1-109/+50
This makes cancel much cleaner and solves a problem where we were trying to use a previously disposed proxy. https://bugzilla.gnome.org/show_bug.cgi?id=683985
2012-09-11Fix some memory leaksWilliam Jon McCann2-5/+14
https://bugzilla.gnome.org/show_bug.cgi?id=683770
2012-08-30Don't use the display name to make the unique mount pointWilliam Jon McCann1-9/+1
https://bugzilla.gnome.org/show_bug.cgi?id=682878
2012-08-30Add support for getting symbolic iconsWilliam Jon McCann1-0/+9
https://bugzilla.gnome.org/show_bug.cgi?id=681458
2012-08-28gdaemonvfs: Don't warn when running against an older gvfs-daemonColin Walters1-2/+6
This happens in jhbuild. https://bugzilla.gnome.org/show_bug.cgi?id=682885
2012-08-21Remove unused gsysutils filesAlexander Larsson1-1/+0
2012-08-21Remove final parts of libdbusAlexander Larsson1-8/+5
Don't link to libdbus and remove libdbus utility functions.
2012-07-31gdbus: Remove debug printsTomas Bzatek7-213/+1
2012-07-31gdbus: Gracefully handle monitoring unsubscribe on unmounted backendTomas Bzatek1-4/+26
The mount may be already gone or monitoring cleanup is done too late; in that case handle this case gracefully since the monitoring doesn't exist anymore.
2012-07-31gdbus: Silence the G_IO_ERROR_NOT_MOUNTED errorTomas Bzatek1-1/+1
This is a valid error used to indicate that we should (auto)mount first and should not be presented to the user.
2012-07-31gdbus: Don't use NULL values on error with fd passingTomas Bzatek2-22/+16
Found out that if the remote call fails, some variables are left uninitialized and causes assertion failures while we don't need them.
2012-07-31gdbus: Fix leaks of GSimpleAsyncResultTomas Bzatek1-0/+2
2012-07-31gdbus: Strip unknown GError quark stringsTomas Bzatek5-51/+83
This hopefully covers all public methods. Seems like this fixes several memleaks as well.
2012-07-31gdbus: Use casting macros where possibleTomas Bzatek3-6/+6
2012-07-31gdbus: Use g_clear_error() where appropriateTomas Bzatek3-9/+5
2012-07-31gdbus: Use g_clear_object() where appropriateTomas Bzatek8-96/+48
2012-07-31gdbus: Construct proxies without connecting signals and propertiesTomas Bzatek2-3/+3
Use G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS and G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES flags where applicable.
2012-07-31gdbus: Use G_VARIANT_TYPE_HANDLE for fd_id argumentsTomas Bzatek2-6/+30
2012-07-31gdbus: Fix srcdir != builddir and make the build more quietTomas Bzatek1-0/+2
2012-07-31gdbus: Remove unused extra_fd stuffTomas Bzatek1-58/+8
2012-07-31gdbus: Use private GMainContext for sync enumeratorTomas Bzatek3-22/+40
It's little messy due to shared code across sync calls with private main context and async calls that don't have it's mainloop and can't use private context.
2012-07-31gdbus: Make copy progress workTomas Bzatek1-49/+89
...by turning sync copy calls async and running mainloop for progress interface skeleton be able to process incoming calls. Also, new class GVfsJobProgress has been introduced mostly for code sharing.
2012-07-31gdbus: Make cancellation workTomas Bzatek5-22/+319
This mimics the old behaviour and works for sync and async. Requires new glib for g_dbus_connection_get_last_serial().
2012-07-31gdbus: Treat empty non-NULL strings for the "ay" type as NULLTomas Bzatek1-3/+3
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.
2012-07-31gdbus: Remove unused includeTomas Bzatek1-1/+0
So that nothing depends on gvfsdbusutils.h, which is full of old libdbus code.
2012-07-31gdbus: Port the fuse daemonTomas Bzatek1-69/+84
2012-07-31gdbus: Port the OpenIconForRead operationTomas Bzatek1-247/+187
2012-07-31gdbus: Monitoring portTomas Bzatek1-94/+212
2012-07-31gdbus: Handle NULL mount_info in create_proxy_for_file2()Tomas Bzatek1-1/+2
2012-07-31gdbus: Core daemon and client portTomas Bzatek8-2442/+2579
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
2012-07-30Rename gvfs-fuse-daemon to gvfsd-fuseTomas Bzatek1-4/+4
...to stay consistent with the rest of the daemons. https://bugzilla.gnome.org/show_bug.cgi?id=680819
2012-07-30Update the Address of the FSFFelix Möller28-58/+58
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>
2012-07-20gdbus: Construct proxies without connecting signals and propertiesTomas Bzatek1-1/+1
Use G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS and G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES flags where applicable.
2012-06-25fuse: Split padding size in blocks for ftruncate()Tomas Bzatek1-4/+23
Don't allocate whole padding block, write in smaller pieces instead. As an bonus, check for block write result and break if error occurred, passing it further up. Found by David Zeuthen.
2012-06-20fuse: Support ftruncate() where requested size > current sizeTomas Bzatek1-4/+17
When ftruncate is called with a size greater than the current size of the file, the expected behavior is that the file size increases to the requested size, and the new space is zero-filled. SQLite depends on this behavior when opening a database using 'write-ahead log' journaling. Based on original patch by Jeff Smith <whydoubt@yahoo.com>