summaryrefslogtreecommitdiff
path: root/gdbus
Commit message (Collapse)AuthorAgeFilesLines
* gdbus: fix not handling bus disconnectsLuiz Augusto von Dentz2010-10-131-0/+4
| | | | | | | | | | | We where not dispatching data when a bus disconnects which cause Disconnected signal to not be processed and thus causing the process to either not exit or to not trigger callbacks registered with g_dbus_set_disconnect_function. To fix this now we always schedule a dispatch which will make sure data still not processed will make its way to the proper handlers even if disconnected.
* Add support for builtin GDBus security using PolicyKitMarcel Holtmann2010-09-092-1/+247
|
* Add support for GDBus security action and flagsMarcel Holtmann2010-09-092-3/+21
|
* Use simpler error callbacks for GDBus security hooksMarcel Holtmann2010-09-092-8/+30
|
* Add support for GDBus security handlersMarcel Holtmann2010-09-092-22/+156
|
* Fix calling watch callbacks after it has been removedLuiz Augusto von Dentz2010-09-081-30/+49
| | | | | | Pending call should be removed if the watch is removed since the application no longer expect that to be reached and may already freed the data associated with it.
* Fix signal watch when a service name is givenLuiz Augusto Von Dentz2010-09-081-33/+128
| | | | | | | The bus name should be resolved when adding a watch by service name since messages do always come with sender set to owner's bus name, also it should listen to owner updates since it can change without invalidating the watch.
* Do not automatically remove watches for service namesLuiz Augusto Von Dentz2010-09-081-6/+7
| | | | Services can be owned again so it is perfectly fine to keep the watch.
* Add printf format attribute for error creation helperMarcel Holtmann2010-08-191-1/+2
|
* Free service data in service_replyZhenhua Zhang2010-07-261-1/+1
| | | | Avoid the memory leak of server_data.
* Fix parent path introspection data invalidation for multiple levelsJohan Hedberg2010-04-301-1/+3
| | | | | | | In the case that parent path data needs to be invalidated we shouldn't stop at the immediate parent if it doesn't have our own handler registered but should continue upwards in the tree until we reach root or our own handler.
* Fix memory leak in g_dbus_register_interfaceJohan Hedberg2010-04-291-1/+3
|
* Make interface callback tables constMarcel Holtmann2010-03-072-16/+16
|
* Fix the case when the requested name is already in useVinicius Costa Gomes2010-03-071-1/+5
| | | | We weren't setting the dbus error in this situation.
* Fix: a pending call was leaking in check_serviceVinicius Costa Gomes2010-02-171-0/+2
| | | | | | This was triggering an assert inside libdbus when the timeout inside the leaking pending call expired. The assert said that we were trying to remove an nonexistent timeout.
* Remove unneeded use of status variableMarcel Holtmann2010-01-271-8/+2
|
* Introduce g_dbus_setup_private() to gdbusForrest Zhao2010-01-272-13/+55
| | | | g_dbus_setup_private() is used to setup private DBusConnection
* Fix regression when removing watchesLuiz Augusto Von Dentz2010-01-081-5/+9
| | | | | | | | | 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.
* Cleanup of D-Bus mainloop integrationMarcel Holtmann2010-01-021-84/+107
|
* Update copyright information of D-Bus helper libraryMarcel Holtmann2010-01-014-4/+4
|
* Fix undefined symbolsLuiz Augusto Von Dentz2009-12-291-2/+2
|
* Port gdbus to use g_dbus_add_signal_watchLuiz Augusto Von Dentz2009-12-291-11/+10
|
* Add initial implementation of g_dbus_add_signal_watchLuiz Augusto Von Dentz2009-12-292-202/+321
| | | | | With g_dbus_add_signal_watch there is no need to register multiple filters for dbus nor add matching rules manually.
* Fix D-Bus timeout handlingDaniel Orstadius2009-12-161-1/+16
| | | | | | 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.
* Fix message handling for autostart.Claudio Takahasi2009-10-291-0/+3
| | | | | | Current implementation of libdbus Request name is blocking, consequently the first incomming message that triggered the service autostart is not being processed properly.
* gdbus: handle introspection generally in generic_message.RISKÓ Gergely2009-09-241-43/+59
| | | | | | 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.
* Add introspection interface to the output of introspection callsRISKÓ Gergely2009-09-141-1/+7
| | | | This provides better compatibility with some D-Bus clients, such as qdbus.
* Convert to fully non-recursive build systemMarcel Holtmann2009-08-241-8/+0
|
* Use NameHasOwner instead of ListNames for name checkingJohan Hedberg2009-08-081-15/+9
|
* Fix blocking service watch initial connect handlingMarcel Holtmann2009-08-063-46/+96
|
* Make the parent path invalidateableDenis Kenzior2009-05-111-1/+5
|
* Fix crash when calling g_dbus_remove_watch from watch callbackLuiz Augusto von Dentz2009-05-061-10/+41
|
* Add D-Bus helper library for GLib integrationMarcel Holtmann2009-04-265-0/+1540