summaryrefslogtreecommitdiff
path: root/client/gdaemonvfs.h
Commit message (Collapse)AuthorAgeFilesLines
* gdbus: Use a static lock for metadata proxy instead of GPrivategdbusTomas Bzatek2012-06-041-0/+4
| | | | | Using GPrivate turned to be problematic wrt thread safety, better to use the standard way of locks.
* gdbus: Port metadataTomas Bzatek2012-05-211-1/+1
| | | | | | | | | Some TODOs: * print better error messages when we can't own the dbus name * remove dbus.h includes and CFLAGS once gvfsdaemonprotocol.h is ported * "Get" method call unused?
* Implement metadata setting for remote locationsAlexander Larsson2009-06-251-0/+10
|
* Reverse map fuse paths to gvfs uris in g_file_new_for_path().Alexander Larsson2008-09-261-0/+2
| | | | | | | | | | | | | | 2008-09-26 Alexander Larsson <alexl@redhat.com> * client/gdaemonvfs.[ch]: * common/gvfsdaemonprotocol.h: * daemon/mount.c: Reverse map fuse paths to gvfs uris in g_file_new_for_path(). svn path=/trunk/; revision=2031
* Implement uri navigation for http uris (#509341)Alexander Larsson2008-01-311-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-31 Alexander Larsson <alexl@redhat.com> Implement uri navigation for http uris (#509341) * client/gvfsurimapper.[ch]: Add get_mount_info_for_path method for mount types like ssh that change MountInfo as the path changes. * client/httpuri.c: Implement get_mount_info_for_path. For http, set the path from the uri. The will be removed on i/o by the corresponding path being in the mount_prefix. * daemon/gvfsbackendhttp.c: Set mount_prefix to path from uri. Remove unused code in message_new_from_filename * client/gdaemonfile.c: * client/gdaemonvfs.[ch]: Use the new uri mapper function to change GMountInfo as the path changes. svn path=/trunk/; revision=1214
* Remove spew Update for new APIs Don't use GDaemonVolumeMonitor if notAlexander Larsson2007-12-191-0/+7
| | | | | | | | | | | | | | | | | | 2007-12-19 Alexander Larsson <alexl@redhat.com> * client/gdaemonvfs.[ch]: * client/gdaemonvolumemonitor.c: * hal/ghalvolumemonitor.c: * hal/hal-module.c: Remove spew Update for new APIs Don't use GDaemonVolumeMonitor if not using GDaemonVfs. * hal/hal-pool.c: Close custom dbus connection before unrefing svn path=/trunk/; revision=1053
* Only use <gio/gio.h> includeAlexander Larsson2007-12-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-12-14 Alexander Larsson <alexl@redhat.com> * client/gdaemondirectorymonitor.c: * client/gdaemondirectorymonitor.h: * client/gdaemonfile.c: * client/gdaemonfile.h: * client/gdaemonfileenumerator.c: * client/gdaemonfileenumerator.h: * client/gdaemonfileinputstream.c: * client/gdaemonfileinputstream.h: * client/gdaemonfilemonitor.c: * client/gdaemonfilemonitor.h: * client/gdaemonfileoutputstream.c: * client/gdaemonfileoutputstream.h: * client/gdaemonmount.c: * client/gdaemonmount.h: * client/gdaemonvfs.c: * client/gdaemonvfs.h: * client/gdaemonvolumemonitor.h: * client/gvfsdaemondbus.c: * client/gvfsdaemondbus.h: * client/gvfsfusedaemon.c: * client/gvfsurimapper.h: * client/smburi.c: * common/gdbusutils.c: * common/gdbusutils.h: * common/gmountoperationdbus.c: * common/gmountoperationdbus.h: * common/gmountsource.c: * common/gmountsource.h: * common/gsysutils.c: * common/gvfsdaemonprotocol.c: * common/gvfsdaemonprotocol.h: * daemon/gvfsbackend.h: * daemon/gvfsbackendftp.c: * daemon/gvfsbackendsftp.c: * daemon/gvfsbackendsmb.c: * daemon/gvfsbackendsmbbrowse.c: * daemon/gvfsbackendtest.c: * daemon/gvfsbackendtrash.c: * daemon/gvfsdaemonutils.c: * daemon/gvfsjob.c: * daemon/gvfsjob.h: * daemon/gvfsjobcopy.h: * daemon/gvfsjobcreatemonitor.h: * daemon/gvfsjobdelete.h: * daemon/gvfsjobenumerate.h: * daemon/gvfsjobmakedirectory.h: * daemon/gvfsjobmakesymlink.h: * daemon/gvfsjobmount.h: * daemon/gvfsjobmountmountable.h: * daemon/gvfsjobmove.h: * daemon/gvfsjobqueryattributes.h: * daemon/gvfsjobqueryfsinfo.h: * daemon/gvfsjobqueryinfo.h: * daemon/gvfsjobsetattribute.h: * daemon/gvfsjobsetdisplayname.h: * daemon/gvfsjobtrash.h: * daemon/gvfsjobunmount.h: * daemon/gvfsmonitor.h: * daemon/mount.c: * daemon/mount.h: * programs/gvfs-cat.c: * programs/gvfs-copy.c: * programs/gvfs-info.c: * programs/gvfs-ls.c: * programs/gvfs-monitor-dir.c: * programs/gvfs-monitor-file.c: * programs/gvfs-mount.c: * programs/gvfs-move.c: * programs/gvfs-rm.c: * programs/gvfs-save.c: * programs/gvfs-trash.c: * test/benchmark-gvfs-big-files.c: * test/benchmark-gvfs-small-files.c: * test/benchmark-posix-big-files.c: * test/benchmark-posix-small-files.c: Only use <gio/gio.h> include svn path=/trunk/; revision=1039
* Make sure we somewhat cleanly handle the various dbus daemons going down.Alexander Larsson2007-11-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | 2007-11-14 Alexander Larsson <alexl@redhat.com> * client/gdaemonvfs.[ch]: * client/gvfsdaemondbus.c: Make sure we somewhat cleanly handle the various dbus daemons going down. By somewhat I mean that no problem should be persistant even if you might get some transient error messages. Unfortunately the only way to be able to cleanly handle this involves globally ignoring SIGPIPE. What can I say, unix sucks. * common/gsysutils.c: (_g_socket_receive_fd): Handle errors if e.g. the fd is closed svn path=/trunk/; revision=1023
* 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
* Implement get_uri_schemeAlexander Larsson2007-11-011-2/+1
| | | | | | | | | | | | | | 2007-11-01 Alexander Larsson <alexl@redhat.com> * client/gdaemonfile.c: * client/gdaemonvfs.[ch]: Implement get_uri_scheme * daemon/mount.c: Add needed includes svn path=/trunk/; revision=1006
* Add all mount info to GMountInfo Make it refcountedAlexander Larsson2007-10-311-19/+7
| | | | | | | | | | | | | | | | | 2007-10-31 Alexander Larsson <alexl@redhat.com> * common/gmounttracker.[ch]: Add all mount info to GMountInfo Make it refcounted * client/gdaemonvfs.[ch]: * client/gdaemonfile.c: * client/gdaemonvolumemonitor.c: Remove GMountRef, replacing its use with GMountInfo svn path=/trunk/; revision=1001
* Add registerFuse callAlexander Larsson2007-10-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-26 Alexander Larsson <alexl@redhat.com> * common/gvfsdaemonprotocol.h: Add registerFuse call * client/gvfsfusedaemon.c: Register with vfs daemon Exit (and unmount) if daemon dies * daemon/mount.c: Hand out fuse mountpaths when availible. * client/gdaemonvfs.[ch]: * common/gmounttracker.c: Handle sent fuse mountpath * client/gdaemonfile.c: Implement g_daemon_file_get_path using fuse if availible. svn path=/trunk/; revision=996
* Make to_uri_scheme return const string.Alexander Larsson2007-10-251-15/+18
| | | | | | | | | | | | | | | | 2007-10-25 Alexander Larsson <alexl@redhat.com> * client/smburi.c: * common/gvfsurimapper.[ch]: Make to_uri_scheme return const string. * client/gdaemonfile.[ch]: * client/gdaemonvfs.[ch]: Add _g_daemon_vfs_mountspec_has_uri_scheme and use it to implement g_file_has_uri_scheme svn path=/trunk/; revision=994
* Implement using DEFINE_DYNAMIC_TYPE Actually register GDaemonVolumeMonitorAlexander Larsson2007-10-191-1/+1
| | | | | | | | | | | | | | | | 2007-10-19 Alexander Larsson <alexl@redhat.com> * client/gdaemonvfs.[ch]: * client/gdaemonvolume.c: * client/gdaemonvolumemonitor.[ch]: Implement using DEFINE_DYNAMIC_TYPE Actually register GDaemonVolumeMonitor in giomodule * common/gmounttracker.c: Update to the on-dbus format for mounts svn path=/trunk/; revision=983
* Add defines for monitoringAlexander Larsson2007-10-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-08 Alexander Larsson <alexl@redhat.com> * common/gvfsdaemonprotocol.h: Add defines for monitoring * client/Makefile.am: * client/gdaemondirectorymonitor.[ch]: * client/gdaemonfilemonitor.[ch]: * client/gdaemonfile.c: Add daemon directory monitor and initial work on file monitor * client/gdaemonfileenumerator.c: Make path_counter private Return DBUS_HANDLER_RESULT_HANDLED when handling messages. * client/gdaemonvfs.[ch]: Make _g_mount_ref_ref "public" * client/gvfsdaemondbus.c: Handle NULL callbacks for async calls * daemon/Makefile.am: * daemon/gvfsbackend.[ch]: * daemon/gvfsjobcreatemonitor.[ch]: Add create_dir_monitor and create_file_monitor. Add g_vfs_backend_get_daemon * daemon/gvfsmonitor.[ch]: Helper code for monitors * daemon/gvfsbackendtrash.c: Implement directory monitor for trash dirs svn path=/trunk/; revision=971
* Pass in DBusConnection to use instead of using default oneAlexander Larsson2007-09-251-13/+14
| | | | | | | | | | | | | | | | | | | | | | | 2007-09-25 Alexander Larsson <alexl@redhat.com> * common/gmountoperationdbus.[ch]: * common/gmounttracker.[ch]: Pass in DBusConnection to use instead of using default one * client/gdaemonfile.c: * client/gdaemonvfs.[ch]: * client/gvfsdaemondbus.c: Use private dbus connection even for async calls, since the mainloop integration is conflicting with dbus-glib. This is a temporary measure until this is solved in a better way. * client/gdaemonvolumemonitor.c: * client/gvfsfusedaemon.c: * daemon/gvfsbackendsmbbrowse.c: Update to the API changes svn path=/trunk/; revision=959
* Pass uris as strings into GVfsUriMapperAlexander Larsson2007-09-131-2/+3
| | | | | | Original git commit by Alexander Larsson <alexl@redhat.com> at 1189000776 +0200 svn path=/trunk/; revision=893
* Use GIOModule to load vfs.Alexander Larsson2007-09-131-13/+1
| | | | | | | | This required GVfs to be a baseclass, not an interface Original git commit by Alexander Larsson <alexl@redhat.com> at 1188556712 +0200 svn path=/trunk/; revision=874
* Add prefered_filename_encoding to mountpointsAlexander Larsson2007-09-131-0/+1
| | | | | | Original git commit by Alexander Larsson <alexl@redhat.com> at 1185539591 +0200 svn path=/trunk/; revision=732
* Move the uri parsing to modulesAlexander Larsson2007-09-131-10/+14
| | | | | | Original git commit by Alexander Larsson <alexl@redhat.com> at 1179152686 +0200 svn path=/trunk/; revision=564
* Revert addition of g_mount_ref_ref(). It wasn't necessary after all.Alexander Larsson2007-09-131-1/+0
| | | | | | Original git commit by Hans Petter Jansson <hpj@kzerza.amok> at 1178860387 -0500 svn path=/trunk/; revision=555
* Make GMountRef reffable outside GDaemonVFS.Alexander Larsson2007-09-131-0/+1
| | | | | | Original git commit by Hans Petter Jansson <hpj@kzerza.amok> at 1178830281 -0500 svn path=/trunk/; revision=551
* Add GMountTracker to track gvfs mounts.Alexander Larsson2007-09-131-1/+0
| | | | | | | | Removed _g_daemon_vfs_get_mount_list_sync. Original git commit by Alexander Larsson <alexl@redhat.com> at 1178716509 +0200 svn path=/trunk/; revision=537
* Rename GMountInfo to GMountRefAlexander Larsson2007-09-131-16/+15
| | | | | | Original git commit by Alexander Larsson <alexl@redhat.com> at 1178708195 +0200 svn path=/trunk/; revision=536
* Add _g_daemon_vfs_get_mount_list_syncAlexander Larsson2007-09-131-0/+2
| | | | | | Original git commit by Hans Petter Jansson <hpj@novell.com> at 1178523680 +0200 svn path=/trunk/; revision=515
* G*Daemon -> GDaemon*Alexander Larsson2007-09-131-0/+53
Original git commit by Alexander Larsson <alex@greebo.(none)> at 1173787131 +0100 svn path=/trunk/; revision=388