summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackendlocaltest.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix some potential NULL dereferencesTomas Bzatek2012-12-071-2/+2
|
* Add symbolics support to the backendsWilliam Jon McCann2012-08-301-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=681458
* Update the Address of the FSFFelix Möller2012-07-301-2/+2
| | | | | | | | | | | | | | | 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>
* Bug 587484 – Interaction when unmounting mounts and misc fixesDavid Zeuthen2009-07-081-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* Code cleanup from Kjartan: Removes unused code/variables. Uses rightAlexander Larsson2008-02-191-3/+3
| | | | | | | | | | | | | | | 2008-02-19 Alexander Larsson <alexl@redhat.com> * lots of *.c files: Code cleanup from Kjartan: Removes unused code/variables. Uses right printf types Uses non-deprecated dbus calls. Removes spurious ; and , deleted extra checks for NULL for g_free svn path=/trunk/; revision=1302
* Use read/write operations instead of do_copy ()Tomas Bzatek2008-01-301-2/+3
| | | | | | | | | | 2008-01-30 Tomas Bzatek <tbzatek@redhat.com> * daemon/gvfsbackendlocaltest.c: Use read/write operations instead of do_copy () svn path=/trunk/; revision=1210
* Fixed error handling in do_enumerate () More cleanupTomas Bzatek2008-01-291-73/+128
| | | | | | | | | | | 2008-01-29 Tomas Bzatek <tbzatek@redhat.com> * daemon/gvfsbackendlocaltest.c: Fixed error handling in do_enumerate () More cleanup svn path=/trunk/; revision=1207
* C89 fixes from Jens Granseuer (#511838)Alexander Larsson2008-01-281-60/+102
| | | | | | | | | | | | 2008-01-28 Alexander Larsson <alexl@redhat.com> * daemon/gvfsbackendlocaltest.c: * programs/gvfs-cat.c: C89 fixes from Jens Granseuer (#511838) svn path=/trunk/; revision=1187
* Fix warningsAlexander Larsson2008-01-211-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-21 Alexander Larsson <alexl@redhat.com> * client/gdaemonfile.c: * client/sftpuri.c: * common/gmounttracker.c: * daemon/gvfsmonitor.c: * daemon/gvfsbackend.c: Fix warnings * daemon/gvfsbackendburn.c: * daemon/gvfsbackendlocaltest.c: * daemon/gvfsbackendtrash.c: Update to latest gio API (removal of duplicate GSeekable calls). 2008-01-21 Alexander Larsson <alexl@redhat.com> * configure.ac: Post release version bump svn path=/trunk/; revision=1161
* Clean up strings and add translator commentsAlexander Larsson2008-01-151-2/+2
| | | | | | | | | | | | | | | | | | | | | 2008-01-15 Alexander Larsson <alexl@redhat.com> * client/gdaemonfile.c: * daemon/daemon-main.c: * daemon/gvfsbackendcdda.c: * daemon/gvfsbackendcomputer.c: * daemon/gvfsbackendftp.c: * daemon/gvfsbackendlocaltest.c: * daemon/gvfsbackendsftp.c: * daemon/gvfsbackendsmb.c: * daemon/gvfsbackendsmbbrowse.c: * daemon/gvfsbackendtrash.c: * daemon/gvfsjobsetattribute.c: * hal/ghaldrive.c: Clean up strings and add translator comments svn path=/trunk/; revision=1135
* Update to new gio APIAlexander Larsson2008-01-141-2/+2
| | | | | | | | | | | | | | 2008-01-14 Alexander Larsson <alexl@redhat.com> * client/gdaemonfile.c: * daemon/gvfsbackendlocaltest.c: * daemon/gvfsbackendtrash.c: * programs/gvfs-monitor-dir.c: * programs/gvfs-monitor-file.c: Update to new gio API svn path=/trunk/; revision=1125
* Implement unmount_mountable and eject_mountable on client side.Alexander Larsson2008-01-111-17/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-11 Alexander Larsson <alexl@redhat.com> * client/gdaemonfile.c: * common/gvfsdaemonprotocol.h: Implement unmount_mountable and eject_mountable on client side. * common/gmountoperationdbus.c: Fix warnings * daemon/gvfsbackend.[ch]: * daemon/gvfsjobunmountmountable.[ch]: Add unmount_mountable and eject_mountable in daemon. * daemon/gvfsbackendcomputer.c: Implement unmount_mountable and eject_mountable * daemon/gvfsbackendlocaltest.c: Update to latest API * daemon/gvfsbackendsftp.c: Fix indentation * daemon/gvfsjobunmount.c: Always allow unmount if unmount is not implemented. svn path=/trunk/; revision=1093
* Add initial localtest backend for testing purposes incorporating error injectionTomas Bzatek2008-01-101-0/+1161
svn path=/trunk/; revision=1088