Ryan Lortie
f754c4e85b
GDBusConnection: allow async property handling
...
The existing advice in the documentation to "simply" register the
"org.freedesktop.DBus.Properties" interface if you want to handle
properties asynchronously is pretty unreasonable. If you want to handle
this interface you have to deal with all properties for all interfaces
on the path, and you have to do all of the checking for yourself. You
also have to provide your own introspection data.
Introduce a new convention for dealing with properties asynchronously.
If the user provides NULL for their get_property() or set_property()
functions in the vtable and has properties registered then the
properties are sent to the method_call() handler. We get lucky here
that this function takes an "interface_name" parameter that we can set
to "org.freedesktop.DBus.Properties".
We also do the user the favour of setting the GDBusPropertyInfo on the
GDBusMethodInvocation for their convenience (for much the same reasons
as they might want the already-available GDBusMethodInfo).
Add a testcase as well as a bunch of documentation about this new
feature.
https://bugzilla.gnome.org/show_bug.cgi?id=698375
2013-06-22 13:38:31 -04:00
..
2013-05-20 06:38:41 -04:00
2013-05-31 23:12:15 -04:00
2011-11-07 00:14:28 -05:00
2012-12-28 21:28:28 -05:00
2013-04-23 14:36:07 -04:00
2013-04-01 16:53:54 -04:00
2010-07-05 00:56:12 -04:00
2010-07-04 20:51:06 -04:00
2010-07-04 20:51:06 -04:00
2013-05-31 23:03:19 -04:00
2012-08-19 02:23:32 -04:00
2013-05-31 23:12:15 -04:00
2012-10-16 09:39:24 -04:00
2012-06-04 06:04:28 -04:00
2013-01-16 10:17:15 -05:00
2013-06-02 01:41:09 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2013-05-29 09:03:32 -04:00
2013-06-02 01:41:50 -04:00
2012-12-29 00:03:09 -05:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2010-04-17 01:48:05 -04:00
2013-05-31 23:03:19 -04:00
2012-10-16 09:39:24 -04:00
2010-06-16 18:17:53 -04:00
2013-06-02 09:53:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2013-01-16 10:17:15 -05:00
2013-06-02 01:43:13 -04:00
2012-10-16 09:39:24 -04:00
2013-06-02 01:42:28 -04:00
2011-12-08 18:05:15 -05:00
2012-10-16 09:39:24 -04:00
2012-01-25 16:15:18 -05:00
2010-11-02 23:02:05 -04:00
2012-10-16 09:39:24 -04:00
2010-11-02 23:02:05 -04:00
2013-05-29 09:03:31 -04:00
2013-02-13 20:42:58 +00:00
2013-01-04 21:36:37 +01:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2013-05-29 09:03:31 -04:00
2013-05-29 09:03:32 -04:00
2013-05-29 09:03:32 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2013-05-31 23:12:15 -04:00
2013-05-31 23:12:15 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2010-06-11 18:21:27 -04:00
2012-10-16 09:39:24 -04:00
2013-05-21 11:23:22 -03:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2013-05-13 12:10:52 -04:00
2013-06-22 13:38:31 -04:00
2013-05-29 09:03:32 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2013-05-21 11:23:22 -03:00
2013-05-31 21:24:21 -04:00
2012-11-01 20:12:02 -04:00
2013-05-31 23:12:15 -04:00
2012-10-16 09:39:24 -04:00
2013-05-29 09:03:32 -04:00
2013-05-29 09:03:32 -04:00
2013-05-21 11:23:22 -03:00
2012-04-19 10:07:39 +02:00
2012-04-19 10:07:39 +02:00
2013-05-21 11:23:22 -03:00
2013-05-31 23:12:15 -04:00
2013-02-03 10:21:20 -05:00
2013-05-21 11:23:22 -03:00
2013-01-03 13:14:26 -05:00
2013-05-29 09:03:31 -04:00
2013-06-02 01:44:15 -04:00
2013-05-31 23:16:00 -04:00
2013-06-02 20:02:06 -04:00
2012-08-21 13:30:02 +02:00
2011-07-27 16:23:33 -04:00
2013-04-16 13:24:26 +02:00
2011-08-04 08:54:55 +02:00
2012-10-16 09:39:24 -04:00
2013-06-05 23:49:56 -03:00
2012-10-16 09:39:24 -04:00
2013-03-13 09:41:09 -04:00
2009-07-05 22:49:24 -04:00
2013-06-08 17:01:56 -04:00
2013-06-02 01:44:49 -04:00
2013-06-01 18:51:25 -04:00
2013-06-02 01:46:21 -04:00
2013-06-02 20:02:06 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2011-11-17 14:03:39 +00:00
2012-08-19 02:24:04 -04:00
2012-10-16 09:39:24 -04:00
2012-11-09 09:23:01 -08:00
2013-05-05 16:50:43 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2013-01-14 23:31:59 -05:00
2013-05-29 09:03:32 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2013-02-14 10:24:14 -05:00
2012-10-16 09:39:24 -04:00
2013-04-23 14:36:07 -04:00
2012-10-16 09:39:24 -04:00
2012-02-03 12:58:53 -05:00
2012-10-16 09:39:24 -04:00
2013-01-30 16:46:02 -05:00
2012-10-16 09:39:24 -04:00
2012-12-18 13:19:08 -05:00
2012-01-13 17:12:53 +01:00
2012-01-13 17:12:53 +01:00
2012-01-13 17:12:53 +01:00
2012-01-13 17:12:53 +01:00
2012-01-13 17:12:53 +01:00
2012-01-13 17:12:53 +01:00
2012-10-03 11:23:04 -04:00
2011-11-21 18:15:26 +00:00
2011-11-21 18:15:26 +00:00
2012-11-02 09:03:52 -04:00
2011-11-21 18:15:26 +00:00
2012-01-25 14:47:37 +01:00
2010-07-01 19:06:02 -04:00
2013-05-29 09:03:32 -04:00
2012-10-16 09:39:24 -04:00
2012-12-12 15:20:22 +01:00
2013-06-02 01:47:19 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00