summaryrefslogtreecommitdiff
path: root/daemon/gvfsdaemon.h
Commit message (Collapse)AuthorAgeFilesLines
* Bug 587484 – Interaction when unmounting mounts and misc fixesDavid Zeuthen2009-07-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Port everything to use _with_operation() variants of unmount/eject methods - Add support for g_file_poll_mountable() - new job class: GVfsJobPollMountable - Pass mount operation for unmount/eject ops on GDaemonFile and GDaemonMount - receive in the appropriate GVfsJob classes - also pass unmount flags where it was missing - port all backends to use this - Teach GMountSource and GMountOperationDBus about the new GMountOperation::show-processes signal - also provide new API - g_mount_source_is_dummy() - e.g. when the client didn't passed NULL for the GMountOperation - g_mount_source_abort() - to send the ::abort signal to the client-side GMountOperation - make the client-side of GMountSource return ::reply with NOT_HANDLED when we do an abort - Refactor the mount operation handling in GProxyVolumeMonitor - Pass mount operation for unmount/ejects in GProxyVolumeMonitor - Pass the process id of the actual reader/writer in OpenForRead and OpenForWrite daemon methods - add some private API for making the FUSE client set the pid of the POSIX client (otherwise it looks like the FUSE client is blocking) and pass the right pid. This is because the FUSE client is basically impersonating the POSIX processes. - Make the process id mentioned above available in appropriate GVfsJob classes - GVfsJobOpenForRead - GVfsJobOpenForWrite - GVfsChannel - Provide API to get a list of all blocking clients, e.g. an array of GPid - g_vfs_daemon_get_blocking_processes() - Provide convenience API to easily doing the right thing on unmount; e.g. interact with the user about blocking processes - see the gphoto2 backend for example usage - g_vfs_backend_has_blocking_processes() - g_vfs_backend_unmount_with_operation() and g_vfs_backend_unmount_with_operation_finish() - Only the gphoto2 backend supports ::show-processes right now. Support for other backends will be added shortly. - Implement support for ::show-processes in the GDU volume monitor - right now we don't support "Unmount Anyway" since it requires ABI changes in libgdu.so - this will be changed as soon as there's a new gnome-disk-utility release
* Add copyright information to source files.Christian Kellner2007-11-011-0/+22
| | | | | | | | | | | | 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
* Update gvfs mounting to the new APIsAlexander Larsson2007-09-131-1/+4
| | | | | | Original git commit by Alexander Larsson <alexl@redhat.com> at 1178632314 +0200 svn path=/trunk/; revision=525
* s/G_IS_VFS/G_VFS_IS/gAlexander Larsson2007-09-131-2/+2
| | | | | | Original git commit by Alexander Larsson <alex@greebo.(none)> at 1172074189 +0100 svn path=/trunk/; revision=378
* G_TYPE_VFS_xxx -> G_VFS_TYPE_xxxAlexander Larsson2007-09-131-6/+6
| | | | | | Original git commit by Alexander Larsson <alex@greebo.(none)> at 1171636716 +0100 svn path=/trunk/; revision=356
* Add job thread limitAlexander Larsson2007-09-131-0/+2
| | | | | | Original git commit by Alexander Larsson <alex@greebo.(none)> at 1171549797 +0100 svn path=/trunk/; revision=348
* Move GVfsDaemon from header into c file.Alexander Larsson2007-09-131-7/+0
| | | | | | Original git commit by Alexander Larsson <alex@greebo.(none)> at 1171273762 +0100 svn path=/trunk/; revision=319
* Move mounting into a GVfsJobAlexander Larsson2007-09-131-9/+15
| | | | | | Original git commit by Alexander Larsson <alex@greebo.(none)> at 1171041742 +0100 svn path=/trunk/; revision=315
* Starting to work on actually registering the backends as mountedAlexander Larsson2007-09-131-2/+1
| | | | | | Original git commit by Alexander Larsson <alex@greebo.(none)> at 1169828586 +0100 svn path=/trunk/; revision=270
* Initial work on the new way to track mountpoints.Alexander Larsson2007-09-131-6/+12
| | | | | | | | Daemon side only. Original git commit by Alexander Larsson <alex@greebo.(none)> at 1165492556 +0100 svn path=/trunk/; revision=219
* Allow multiple backend in one daemonAlexander Larsson2007-09-131-4/+3
| | | | | | Original git commit by Alexander Larsson <alex@greebo.(none)> at 1164972080 +0100 svn path=/trunk/; revision=207
* Rename GVfsDaemonBackend to GVfsBackendAlexander Larsson2007-09-131-3/+3
| | | | | | Original git commit by Alexander Larsson <alex@localhost.localdomain> at 1161855599 +0200 svn path=/trunk/; revision=129
* Initial work on readAlexander Larsson2007-09-131-5/+0
| | | | | | Original git commit by Alexander Larsson <alex@localhost.localdomain> at 1161685777 +0200 svn path=/trunk/; revision=121
* More work on daemon scheduling etcAlexander Larsson2007-09-131-1/+8
| | | | | | Original git commit by Alexander Larsson <alex@localhost.localdomain> at 1161615951 +0200 svn path=/trunk/; revision=119
* More daemon & backend workAlexander Larsson2007-09-131-4/+4
| | | | | | Original git commit by Alexander Larsson <alex@localhost.localdomain> at 1161345154 +0200 svn path=/trunk/; revision=117
* Pass GErrors sanely over dbusAlexander Larsson2007-09-131-5/+5
| | | | | | | | Use GVfsReadRequest for read op Original git commit by Alexander Larsson <alex@localhost.localdomain> at 1161263233 +0200 svn path=/trunk/; revision=114
* Move read_file into GVfsDaemon subclassAlexander Larsson2007-09-131-0/+5
| | | | | | Original git commit by Alexander Larsson <alex@localhost.localdomain> at 1160423762 +0200 svn path=/trunk/; revision=106
* Turn gvfsdaemon into a base classAlexander Larsson2007-09-131-0/+39
Original git commit by Alexander Larsson <alex@localhost.localdomain> at 1160421719 +0200 svn path=/trunk/; revision=105