summaryrefslogtreecommitdiff
path: root/common/gvfsdaemonprotocol.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix stringv transfer over dbusTomas Bzatek2010-09-271-1/+2
| | | | | | | The wrong iterator passed in caused some items to be silently dropped plus it led to string dup of wrong pointer. See bug 614544 for reference.
* Rename gdbusutils.h to avoid conflict with GIO1.6.2Matthias Clasen2010-05-271-1/+1
| | | | This makes gvfs build with recent glib again, see bug #619537
* Skip malformed data from the backend sideTomas Bzatek2010-04-261-0/+1
| | | | | | | Sometimes we may get unexpected data from dbus which was leading to an endless loop. See bug 614544 for reference.
* Fix up GFileInfo marshallingAlexander Larsson2009-06-251-3/+6
|
* (de)marshal the attribute status in GFileInfoAlexander Larsson2009-06-251-4/+21
|
* Support (de)marshalling of new GFileInfo keys (invalid & stringv)Alexander Larsson2009-06-251-8/+55
|
* Require glib 2.19.1 for GIcon serialization supportAlexander Larsson2008-10-211-88/+27
| | | | | | | | | | | | | | | | | | | | | 2008-10-21 Alexander Larsson <alexl@redhat.com> * configure.ac: Require glib 2.19.1 for GIcon serialization support * common/gvfsdaemonprotocol.c: Use g_icon_to_string & co instead of home-brewed serialization * monitor/proxy/gproxydrive.c: * monitor/proxy/gproxymount.c: * monitor/proxy/gproxyvolume.c: * monitor/proxy/gproxyvolumemonitor.c: * monitor/proxy/gproxyvolumemonitor.h: * monitor/proxy/gvfsproxyvolumemonitordaemon.c: Use g_icon_to_string & co instead of home-brewed serialization svn path=/trunk/; revision=2069
* Free returned strv with g_strfreev, not dbus_free_string_array. (#529596)Alexander Larsson2008-09-251-1/+1
| | | | | | | | | | | | 2008-09-25 Alexander Larsson <alexl@redhat.com> * common/gvfsdaemonprotocol.c: (_g_dbus_get_file_attribute): Free returned strv with g_strfreev, not dbus_free_string_array. (#529596) svn path=/trunk/; revision=2030
* Use g_set_error_literal where appropriate. Bug #539167.Christian Persch2008-08-021-4/+4
| | | | svn path=/trunk/; revision=1847
* Code cleanup from Kjartan: Removes unused code/variables. Uses rightAlexander Larsson2008-02-191-1/+1
| | | | | | | | | | | | | | | 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
* Save errno befor making other calls. Be safe when calling g_set_error()Alexander Larsson2008-02-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-02-11 Alexander Larsson <alexl@redhat.com> * client/gdaemonfile.c: * client/gdaemonfileinputstream.c: * client/gdaemonfileoutputstream.c: * common/gsysutils.c: * common/gvfsdaemonprotocol.c: * daemon/gvfsbackendburn.c: * daemon/gvfsbackendcdda.c: * daemon/gvfsbackenddav.c: * daemon/gvfsbackendsftp.c: * daemon/gvfsbackendsmb.c: * daemon/gvfsbackendsmbbrowse.c: * daemon/gvfsbackendtest.c: * daemon/gvfsdaemonutils.c: * daemon/gvfsjob.c: * daemon/mount.c: * daemon/pty_open.c: Save errno befor making other calls. Be safe when calling g_set_error() Patch from Christian Persch (#514822) svn path=/trunk/; revision=1254
* Fix up indentation Don't unref file from g_file_icon_get_file().Alexander Larsson2008-02-081-25/+24
| | | | | | | | | | | | 2008-02-08 Alexander Larsson <alexl@redhat.com> * common/gvfsdaemonprotocol.c: Fix up indentation Don't unref file from g_file_icon_get_file(). svn path=/trunk/; revision=1238
* Update for gio API changes (removal of GFileAttributeValue).Alexander Larsson2007-12-141-39/+81
| | | | | | | | | | | | | | | | | | | 2007-12-14 Alexander Larsson <alexl@redhat.com> * client/gdaemonfile.c: * client/gdaemonfileinputstream.c: * client/gvfsfusedaemon.c: * common/gvfsdaemonprotocol.c: * common/gvfsdaemonprotocol.h: * daemon/gvfsbackend.h: * daemon/gvfsjobsetattribute.c: * daemon/gvfsjobsetattribute.h: * programs/gvfs-info.c: * programs/gvfs-ls.c: Update for gio API changes (removal of GFileAttributeValue). svn path=/trunk/; revision=1041
* Only use <gio/gio.h> includeAlexander Larsson2007-12-141-2/+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
* 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
* Make sending icons actually workAlexander Larsson2007-10-161-99/+146
| | | | | | | | | | | | | | | | 2007-10-16 Alexander Larsson <alexl@redhat.com> * common/gvfsdaemonprotocol.[ch]: Make sending icons actually work * daemon/gvfsbackendtrash.c: Set icon for toplevel * daemon/gvfsmonitor.c: Initialize error before call svn path=/trunk/; revision=980
* Don't pass the contained signature when creating a DBus struct. Since DBusSebastian Dröge2007-09-251-14/+7
| | | | | | | | | | | | * common/gmountspec.c: (g_mount_spec_to_dbus_with_path): * common/gvfsdaemonprotocol.c: (_g_dbus_append_file_attribute), (_g_dbus_append_file_info), (_g_dbus_append_attribute_info_list): * daemon/mount.c: (vfs_mount_to_dbus): Don't pass the contained signature when creating a DBus struct. Since DBus 1.1.0 this will lead to an assertion. The signature will filled automatically while adding values to the struct. svn path=/trunk/; revision=956
* Split out gio into its own moduleAlexander Larsson2007-09-131-2/+2
| | | | | | Original git commit by Alexander Larsson <alexl@redhat.com> at 1188826453 +0200 svn path=/trunk/; revision=888
* Rename g_file_get_for_XXX to g_file_new_for_XXXAlexander Larsson2007-09-131-1/+1
| | | | | | Original git commit by Alexander Larsson <alexl@redhat.com> at 1188214830 +0200 svn path=/trunk/; revision=812
* Add flags for FileAttributeInfoAlexander Larsson2007-09-131-3/+17
| | | | | | Original git commit by Alexander Larsson <alexl@redhat.com> at 1185533313 +0200 svn path=/trunk/; revision=721
* Add daemon side query attribute supportAlexander Larsson2007-09-131-1/+43
| | | | | | Original git commit by Alexander Larsson <alexl@redhat.com> at 1183735279 +0200 svn path=/trunk/; revision=678
* Marshal attribute query requests on client sideAlexander Larsson2007-09-131-0/+43
| | | | | | Original git commit by Alexander Larsson <alexl@redhat.com> at 1183728389 +0200 svn path=/trunk/; revision=674
* Fix illegal freeAlexander Larsson2007-09-131-0/+1
| | | | | | Original git commit by Alexander Larsson <alexl@redhat.com> at 1183726533 +0200 svn path=/trunk/; revision=673
* Add boolean file attribute typeAlexander Larsson2007-09-131-1/+19
| | | | | | Original git commit by Alexander Larsson <alexl@redhat.com> at 1183715390 +0200 svn path=/trunk/; revision=659
* Remove g_file_attribute_value_destroy (replace with clear)Alexander Larsson2007-09-131-1/+1
| | | | | | | | Add const attributes in GFileAttributeValue methods Original git commit by Alexander Larsson <alexl@redhat.com> at 1183712949 +0200 svn path=/trunk/; revision=655
* Break out GFileAttributeValue from GFileInfo and use in other places.Alexander Larsson2007-09-131-127/+37
| | | | | | Original git commit by Alexander Larsson <alexl@redhat.com> at 1183712345 +0200 svn path=/trunk/; revision=653
* Move FileInfo marshalling to common/.Alexander Larsson2007-09-131-14/+198
| | | | | | | | | | | Split up FileInfo marshalling so attributes can be marshalled independently. Rename some protocol utilities to private namespace. Implement SetAttribute operation marshaling. Correct some trivial typos. Original git commit by Hans Petter Jansson <hpj@cl.no> at 1183630369 +0200 svn path=/trunk/; revision=640
* Move gvfsdaemonprotocol.c to common/, and split out some code so we can appendAlexander Larsson2007-09-131-0/+300
single file attributes to a DBus iterator. This will be used in GDaemonFile's set_attribute method, for which an unfinished stub has been added. Original git commit by Hans Petter Jansson <hpj@cl.no> at 1183552482 +0200 svn path=/trunk/; revision=626