summaryrefslogtreecommitdiff
path: root/client
Commit message (Collapse)AuthorAgeFilesLines
* gdaemonmount: Check for a NULL GMountOperation when unmountingDebarshi Ray2012-10-241-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=686637
* client: Don't disable exit_on_close on session busAlexander Larsson2012-10-121-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! (cherry picked from commit baa03b1333cf83cbb9618e0bebd8038df8cc50b2)
* fuse: don't crash on unmountMichael Terry2012-10-021-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=685248
* Try to unsubscribe from the proxy used for subscriptionWilliam Jon McCann2012-09-131-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
* Fix some memory leaksWilliam Jon McCann2012-09-112-5/+14
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=683770
* Don't use the display name to make the unique mount pointWilliam Jon McCann2012-08-301-9/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=682878
* Add support for getting symbolic iconsWilliam Jon McCann2012-08-301-0/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=681458
* gdaemonvfs: Don't warn when running against an older gvfs-daemonColin Walters2012-08-281-2/+6
| | | | | | This happens in jhbuild. https://bugzilla.gnome.org/show_bug.cgi?id=682885
* Remove unused gsysutils filesAlexander Larsson2012-08-211-1/+0
|
* Remove final parts of libdbusAlexander Larsson2012-08-211-8/+5
| | | | Don't link to libdbus and remove libdbus utility functions.
* gdbus: Remove debug printsTomas Bzatek2012-07-317-213/+1
|
* gdbus: Gracefully handle monitoring unsubscribe on unmounted backendTomas Bzatek2012-07-311-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.
* gdbus: Silence the G_IO_ERROR_NOT_MOUNTED errorTomas Bzatek2012-07-311-1/+1
| | | | | This is a valid error used to indicate that we should (auto)mount first and should not be presented to the user.
* gdbus: Don't use NULL values on error with fd passingTomas Bzatek2012-07-312-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.
* gdbus: Fix leaks of GSimpleAsyncResultTomas Bzatek2012-07-311-0/+2
|
* gdbus: Strip unknown GError quark stringsTomas Bzatek2012-07-315-51/+83
| | | | | | This hopefully covers all public methods. Seems like this fixes several memleaks as well.
* gdbus: Use casting macros where possibleTomas Bzatek2012-07-313-6/+6
|
* gdbus: Use g_clear_error() where appropriateTomas Bzatek2012-07-313-9/+5
|
* gdbus: Use g_clear_object() where appropriateTomas Bzatek2012-07-318-96/+48
|
* gdbus: Construct proxies without connecting signals and propertiesTomas Bzatek2012-07-312-3/+3
| | | | | Use G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS and G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES flags where applicable.
* gdbus: Use G_VARIANT_TYPE_HANDLE for fd_id argumentsTomas Bzatek2012-07-312-6/+30
|
* gdbus: Fix srcdir != builddir and make the build more quietTomas Bzatek2012-07-311-0/+2
|
* gdbus: Remove unused extra_fd stuffTomas Bzatek2012-07-311-58/+8
|
* gdbus: Use private GMainContext for sync enumeratorTomas Bzatek2012-07-313-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.
* gdbus: Make copy progress workTomas Bzatek2012-07-311-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.
* gdbus: Make cancellation workTomas Bzatek2012-07-315-22/+319
| | | | | | This mimics the old behaviour and works for sync and async. Requires new glib for g_dbus_connection_get_last_serial().
* gdbus: Treat empty non-NULL strings for the "ay" type as NULLTomas Bzatek2012-07-311-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.
* gdbus: Remove unused includeTomas Bzatek2012-07-311-1/+0
| | | | So that nothing depends on gvfsdbusutils.h, which is full of old libdbus code.
* gdbus: Port the fuse daemonTomas Bzatek2012-07-311-69/+84
|
* gdbus: Port the OpenIconForRead operationTomas Bzatek2012-07-311-247/+187
|
* gdbus: Monitoring portTomas Bzatek2012-07-311-94/+212
|
* gdbus: Handle NULL mount_info in create_proxy_for_file2()Tomas Bzatek2012-07-311-1/+2
|
* gdbus: Core daemon and client portTomas Bzatek2012-07-318-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
* Rename gvfs-fuse-daemon to gvfsd-fuseTomas Bzatek2012-07-301-4/+4
| | | | | | ...to stay consistent with the rest of the daemons. https://bugzilla.gnome.org/show_bug.cgi?id=680819
* Update the Address of the FSFFelix Möller2012-07-3028-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>
* gdbus: Construct proxies without connecting signals and propertiesTomas Bzatek2012-07-201-1/+1
| | | | | Use G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS and G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES flags where applicable.
* fuse: Split padding size in blocks for ftruncate()Tomas Bzatek2012-06-251-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.
* fuse: Support ftruncate() where requested size > current sizeTomas Bzatek2012-06-201-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>
* gdbus: Use stable metadata proxyTomas Bzatek2012-06-182-36/+1
| | | | | | | | | When GDBusProxy is constructed for a well-known name, it tracks the name owner itself and no recreation when it changes is necessary. When name owner is lost, an autostart attempt is made on a next call. This patch removes name watching completely but retains metadata proxy creation on a first use.
* build: More srcdir != builddir fixesColin Walters2012-06-061-0/+1
|
* Port volume monitoring and metadata to GDBusTomas Bzatek2012-06-043-145/+206
| | | | | | | | This is a complete port of volume monitors and metadata to GDBus. The (private) d-bus API has been mostly preserved except of MountOp methods. No difference in functionality should be observed.
* Keep using ~/.gvfs as fallbackAlexander Larsson2012-03-151-1/+5
| | | | | | | | 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.
* Use user runtime dir for gvfs mountsWilliam Jon McCann2012-02-071-1/+1
| | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=646391 Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
* fuse: Remove the unused sys/vfs.h includeTomas Bzatek2012-01-181-1/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=583927
* Explicitly intialize mutexes on stackTomas Bzatek2011-11-141-1/+1
| | | | | | 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.
* Adapt to glib thread API changesTomas Bzatek2011-10-261-1/+1
| | | | Last piece in order to fix https://bugzilla.gnome.org/show_bug.cgi?id=661148
* Adapt to glib mutex API changesTomas Bzatek2011-10-251-41/+39
| | | | A continuation to https://bugzilla.gnome.org/show_bug.cgi?id=661148
* Adapt to GLib 2.31 deprecations and thread API changesMatthias Clasen2011-10-213-10/+11
| | | | | | | 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
* Use g_atomic_int_add instead of deprecated g_atomic_int_exchange_and_add.Kjartan Maraas2011-10-212-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=659815
* Drop an unneeded includeMatthias Clasen2011-10-131-2/+0
| | | | | GLib recently became less forgiving about single includes like this.