summaryrefslogtreecommitdiff
path: root/gio/gdbusproxy.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename all visibility macrosXavier Claessens2022-10-131-26/+26
|
* gio: Add SPDX license headers automaticallyPhilip Withnall2022-05-181-0/+2
| | | | | | | | | | | | | | Add SPDX license (but not copyright) headers to all files which follow a certain pattern in their existing non-machine-readable header comment. This commit was entirely generated using the command: ``` git ls-files gio/*.[ch] | xargs perl -0777 -pi -e 's/\n \*\n \* This library is free software; you can redistribute it and\/or\n \* modify it under the terms of the GNU Lesser General Public/\n \*\n \* SPDX-License-Identifier: LGPL-2.1-or-later\n \*\n \* This library is free software; you can redistribute it and\/or\n \* modify it under the terms of the GNU Lesser General Public/igs' ``` Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Helps: #1415
* GUnixFDList: Include only in unix buildbadcel2022-04-041-0/+4
|
* gio/: LGPLv2+ -> LGPLv2.1+Sébastien Wilmet2017-05-291-1/+1
| | | | | | | | | | | | | | | | | Sub-directories inside gio/ already processed in a previous commit: - fam/ - gdbus-2.0/ (which contains only codegen/) - gvdb/ - inotify/ - tests/ - win32/ - xdgmime/ Other sub-directories inside gio/: - completion/: no license headers - kqueue/: not LGPL, BSD-style license https://bugzilla.gnome.org/show_bug.cgi?id=776504
* Updated FSF's addressDaniel Mustieles2014-01-311-3/+1
|
* various: add GLIB_AVAILABLE_IN_ALL everywhere elseRyan Lortie2013-01-131-0/+26
| | | | | | | | | | | Add the GLIB_AVAILABLE_IN_ALL annotation to all old functions (that haven't already been annotated with the GLIB_AVAILABLE_IN_* macros or a deprecation macro). If we discover in the future that we cannot use only one macro on Windows, it will be an easy sed patch to fix that. https://bugzilla.gnome.org/show_bug.cgi?id=688681
* Move single-include guards inside include guardsMatthias Clasen2012-12-271-3/+3
| | | | | | gcc has optimizations for include guards that only work if they are outermost in the the header. https://bugzilla.gnome.org/show_bug.cgi?id=689810
* gdbus-codegen: Add support for new org.gtk.GDBus.C.UnixFD annotationDavid Zeuthen2011-07-211-0/+23
| | | | | | | Also add convenience _with_unix_fd_list variants to GDBusConnection, GDBusProxy and GDBusMethodInvocation types to easily support this. Signed-off-by: David Zeuthen <davidz@redhat.com>
* GDBus: update paddingDavid Zeuthen2010-06-221-8/+1
| | | | | | | | | | | | | | | | Add lots of padding for public class structures. Notably, we seemed to lack any padding whatsoever in the GDBusMessageClass struct (spotted by Dan Winship). Also switch to using gpointer padding[N]; instead of void (*_g_reserved1) (void); ... void (*_g_reservedN) (void); Signed-off-by: David Zeuthen <davidz@redhat.com>
* Bug 621213 – GDBusProxy and well-known namesDavid Zeuthen2010-06-111-5/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow constructing a GDBusProxy for well-known names as discussed here http://mail.gnome.org/archives/gtk-devel-list/2009-October/msg00075.html including test cases. Make it possible to create a GDBusProxy for a GBusType instead of a GDBusConnection. This requires G_BUS_TYPE_NONE so add that too. Nuke g_bus_watch_proxy() since one can now more or less use GDBusProxy for this. Port gdbus-example-watch-proxy to this new API and include this example in the GDBusProxy doc page. Also nuke the GType parameter from the GDBusProxy constructors as requested here: https://bugzilla.gnome.org/show_bug.cgi?id=621229 Also update the porting guide and other API docs for this change. Also fix a bug in the signal dispatching code so each subscriber only get notified once, not N times, for the same signal. Also add a test case for this. https://bugzilla.gnome.org/show_bug.cgi?id=621213 Signed-off-by: David Zeuthen <davidz@redhat.com>
* Add single-include guards to new headersMatthias Clasen2010-06-061-0/+4
| | | | | As pointed out by Christian Persch in bug 620173, all the new gdbus and gsettings headers were missing these.
* GDBus: Don't take a GError for g_dbus_proxy_get_cached_property_names()David Zeuthen2010-05-131-2/+1
| | | | | | | We stopped doing this for get_cached_property() so no reason to do it here. Signed-off-by: David Zeuthen <davidz@redhat.com>
* GDBus: Catch up with new PropertiesChanged signalDavid Zeuthen2010-05-131-6/+7
| | | | | | | | | | After a long discussion, this has finally been standardized in the D-Bus spec. See http://lists.freedesktop.org/archives/dbus/2010-May/012667.html http://lists.freedesktop.org/archives/dbus/2010-May/012712.html Signed-off-by: David Zeuthen <davidz@redhat.com>
* GDBusProxy: Remove error in get_cached_property() and add set_cached_property()David Zeuthen2010-05-121-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | This makes it possible to use the cached properties mechanism even if constructing the proxy with the DO_NOT_LOAD_PROPERTIES flag. This is useful for cases where you obtain the and track object properties out-of-band. For example, in udisks, the plan is to have something like this Manager.GetObjects (out ao paths, out aa{sa{sv}} all_properties); Manager.ObjectAdded (o path, a{sa{sv}} all_properties); Manager.ObjectChanged (o path, a{sa{sv}} all_properties); Manager.ObjectRemoved (o path, a{sa{sv}} all_properties); E.g. the first GetObjects() call will return *all* data about *all* exported objects. Further, this way a client will only need to listen these three signals (three AddMatch) on the Manager object and it will never need to do GetAll() etc (e.g. can use DO_NOT_LOAD_PROPERTIES). (Of course this only works if the client is interested in all objects... while this is true for udisks it is generally not true for other D-Bus services). Also use expected_interface to check for programming errors.
* GDBus: Use GVariant instead of GHashTable for GDBusProxy::g-properties-changedDavid Zeuthen2010-05-101-1/+1
|
* GDBus: Use call() instead of invoke_method()David Zeuthen2010-05-101-5/+5
| | | | | | | Lots of people been suggesting this. We still use MethodInvocation / method_invocation for handling incoming method calls so use call() instead of invoke_method() helps to separate the client and server facilities. Which is a good thing(tm).
* Update copyright years to include 2010Matthias Clasen2010-05-091-1/+1
|
* Add "Since: 2.26" to all new GDBus APIDavid Zeuthen2010-05-061-0/+4
|
* Initial GDBus code-drop from GDBus-standalone repoDavid Zeuthen2010-05-061-0/+146
Things compile and the test-suite passes. Still need to hook up gio.symbols and docs. There are still a bunch of TODOs left in the sources that needs to be addressed. Signed-off-by: David Zeuthen <davidz@redhat.com>