<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/glib.git/gio/tests/gdbus-example-proxy-subclass.c, branch require-python34</title>
<subtitle>gitlab.gnome.org: GNOME/glib.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/'/>
<entry>
<title>Drop trailing semi-colon from G_DEFINE_ macro</title>
<updated>2017-04-10T09:38:31+00:00</updated>
<author>
<name>Emmanuele Bassi</name>
<email>ebassi@gnome.org</email>
</author>
<published>2014-10-17T10:54:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=f952fdf3fcb00946317ecb2672e9d2c99c74c7a3'/>
<id>f952fdf3fcb00946317ecb2672e9d2c99c74c7a3</id>
<content type='text'>
It's unnecessary, and only adds visual noise; we have been fairly
inconsistent in the past, but the semi-colon-less version clearly
dominates in the code base.

https://bugzilla.gnome.org/show_bug.cgi?id=669355
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's unnecessary, and only adds visual noise; we have been fairly
inconsistent in the past, but the semi-colon-less version clearly
dominates in the code base.

https://bugzilla.gnome.org/show_bug.cgi?id=669355
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 621213 – GDBusProxy and well-known names</title>
<updated>2010-06-11T22:21:27+00:00</updated>
<author>
<name>David Zeuthen</name>
<email>davidz@redhat.com</email>
</author>
<published>2010-06-11T19:45:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=32f2e9a85beedeea36ac7623f68f6eb878465d44'/>
<id>32f2e9a85beedeea36ac7623f68f6eb878465d44</id>
<content type='text'>
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 &lt;davidz@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;davidz@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Plug mem leaks in gdbus tests &amp; examples</title>
<updated>2010-05-14T22:12:18+00:00</updated>
<author>
<name>Christian Persch</name>
<email>chpe@gnome.org</email>
</author>
<published>2010-05-14T18:07:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=661e5ea69f2d370af6e4e9c73242cf158414dd5d'/>
<id>661e5ea69f2d370af6e4e9c73242cf158414dd5d</id>
<content type='text'>
Use "&amp;s" instead of "s", and free the variant iters after use.

Bug #618663.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use "&amp;s" instead of "s", and free the variant iters after use.

Bug #618663.
</pre>
</div>
</content>
</entry>
<entry>
<title>GDBus: Catch up with new PropertiesChanged signal</title>
<updated>2010-05-13T15:56:15+00:00</updated>
<author>
<name>David Zeuthen</name>
<email>davidz@redhat.com</email>
</author>
<published>2010-05-13T15:56:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=82158afdadd10e6ffd1540f695931f64957b59f6'/>
<id>82158afdadd10e6ffd1540f695931f64957b59f6</id>
<content type='text'>
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 &lt;davidz@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;davidz@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>GDBusProxy: Remove error in get_cached_property() and add set_cached_property()</title>
<updated>2010-05-13T00:51:06+00:00</updated>
<author>
<name>David Zeuthen</name>
<email>davidz@redhat.com</email>
</author>
<published>2010-05-13T00:43:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=f909cb5b2713c8cd5f587c7a70e468d29bdcd429'/>
<id>f909cb5b2713c8cd5f587c7a70e468d29bdcd429</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>GDBus: Add an example of a GDBusProxy subclass</title>
<updated>2010-05-12T19:52:08+00:00</updated>
<author>
<name>David Zeuthen</name>
<email>davidz@redhat.com</email>
</author>
<published>2010-05-12T19:49:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=d40767fc62972f9cc85ebfb23e113068cc316f3a'/>
<id>d40767fc62972f9cc85ebfb23e113068cc316f3a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
