Commit Graph

168 Commits

Author SHA1 Message Date
Marcel Holtmann 4c6497e317 Remove unneeded use of status variable 2010-01-27 09:50:24 +01:00
Forrest Zhao 57013cfa0d Introduce g_dbus_setup_private() to gdbus
g_dbus_setup_private() is used to setup private DBusConnection
2010-01-27 09:50:24 +01:00
Luiz Augusto Von Dentz a6fc21fd1f Fix regression when removing watches
filter_data_find return the first data registered in this case so there is
no guarantee that it return the same data as passed to
filter_data_remove_callback which is the one that should be removed.

The fix is to simple cache the connection removing the correct data before
checking if there is any filter left.
2010-01-08 04:24:09 -08:00
Marcel Holtmann 436c2a7c63 Cleanup of D-Bus mainloop integration 2010-01-02 21:43:22 -08:00
Marcel Holtmann 8e0de054cd Update copyright information of D-Bus helper library 2010-01-01 17:05:57 -08:00
Luiz Augusto Von Dentz 71ac4f60d9 Fix undefined symbols 2009-12-29 17:37:35 -08:00
Luiz Augusto Von Dentz d897b24085 Port gdbus to use g_dbus_add_signal_watch 2009-12-29 01:19:38 -08:00
Luiz Augusto Von Dentz e8111c8229 Add initial implementation of g_dbus_add_signal_watch
With g_dbus_add_signal_watch there is no need to register multiple filters
for dbus nor add matching rules manually.
2009-12-29 01:19:38 -08:00
Daniel Orstadius 9c688fff68 Fix D-Bus timeout handling
Timeouts should also be removed in the remove_timeout callback in
addition to the timeout_handler_free function. This is how dbus-glib
does it and it seems to prevent crashes in certain situations.
2009-12-16 22:34:33 -08:00
Claudio Takahasi dab8e45d2e Fix message handling for autostart.
Current implementation of libdbus Request name is blocking, consequently
the first incomming message that triggered the service autostart is not
being processed properly.
2009-10-29 22:49:50 +09:00
RISKÓ Gergely df7313d301 gdbus: handle introspection generally in generic_message.
Previously it was a specific case, now introspection is just another
interface, which is always implemented.  It is registered/unregistered
when an object path is referenced first/last.
2009-09-24 10:22:19 -07:00
RISKÓ Gergely e72d349483 Add introspection interface to the output of introspection calls
This provides better compatibility with some D-Bus clients, such as qdbus.
2009-09-14 14:08:07 -07:00
Marcel Holtmann 70aab2a826 Convert to fully non-recursive build system 2009-08-24 23:49:40 -07:00
Johan Hedberg b8addb4af3 Use NameHasOwner instead of ListNames for name checking 2009-08-08 10:34:08 -07:00
Marcel Holtmann 2520e26820 Fix blocking service watch initial connect handling 2009-08-06 22:13:09 -07:00
Denis Kenzior 50ff91e209 Make the parent path invalidateable 2009-05-11 11:50:45 -07:00
Luiz Augusto von Dentz 5106f7a8cf Fix crash when calling g_dbus_remove_watch from watch callback 2009-05-06 13:55:09 -07:00
Marcel Holtmann 7851155b80 Add D-Bus helper library for GLib integration 2009-04-26 20:51:36 +02:00