Luiz Augusto von Dentz
50686653da
Fix g_dbus_remove_all_watches to remove all watches for the given connection.
2009-04-03 12:23:08 +03:00
Luiz Augusto von Dentz
9cf730b626
Fix gdbus watch function not handling multiple dbus connections.
...
gdbus was only adding a message filter for the very first connection given
by the user, this caused a bug in agent registration since it has a diffent
connection than previous watches it won't detect agent disappearing from the
bus.
2009-04-03 12:23:08 +03:00
Johan Hedberg
167546e0a2
Revert "Fix null dereference in gdbus/watch.c"
...
This reverts commit 2a96da99c7
so that gdbus
updates from obexd can be merged.
2009-04-03 12:22:44 +03:00
Gustavo F. Padovan
2a96da99c7
Fix null dereference in gdbus/watch.c
...
If name or data->name is null we have a null dereference. Not name and
data->name.
2009-04-01 08:50:38 +03:00
Marcel Holtmann
b8481a1eb4
Check that interface name is provided
2009-02-28 22:42:10 +01:00
Marcel Holtmann
fb333f1c88
Update copyright information
2009-01-01 19:33:20 +01:00
Raymond Liu
21f3750cf5
Check if path is valid before unregistering it
2008-12-24 07:15:50 +01:00
Marcel Holtmann
b75f83543a
Fix issue with signed/unsigned comparison
2008-12-23 03:32:15 +01:00
Marcel Holtmann
1467329278
Use tabs for indentation
2008-12-20 21:51:39 +01:00
Marcel Holtmann
9fb751d212
Add missing gdbus function declarations
2008-12-06 15:45:28 +01:00
Marcel Holtmann
be0ba88ce4
Change file headers for D-Bus helper library
2008-12-06 15:40:08 +01:00
Marcel Holtmann
b892677f0b
Don't expect reply when sending D-Bus messages
2008-11-26 14:33:21 +01:00
Marcel Holtmann
dfd3e56a3c
Add function for checking if a service is present
2008-11-26 14:27:19 +01:00
Marcel Holtmann
132cd4ce64
Add g_dbus_add_service_watch() implementation
2008-10-17 19:18:51 +02:00
Marcel Holtmann
606e4a9280
Fix connection disconnect function
2008-10-17 18:33:11 +02:00
Marcel Holtmann
924541ea61
Change declaration of GDBusWatchFunction
2008-10-17 18:32:39 +02:00
Johan Hedberg
0b3d10c5ef
Implement support g_dbus_create_error_valist
2008-09-11 14:33:31 +03:00
Marcel Holtmann
9db2625447
Remove g_dbus_unregister_all_interfaces function
2008-07-31 02:18:48 +02:00
Marcel Holtmann
24d6b3d375
Revert wrong listner id counter offset
2008-06-08 14:01:39 +00:00
Marcel Holtmann
1008177538
Avoid a watch id of 0
2008-06-08 13:42:27 +00:00
Marcel Holtmann
22ec945f10
Move some D-Bus helpers around
2008-06-07 20:09:25 +00:00
Marcel Holtmann
a1a65a6821
Don't abstract functions that are only used once
2008-06-07 19:53:51 +00:00
Marcel Holtmann
012cac6d32
Remove another unused function
2008-06-07 19:48:45 +00:00
Marcel Holtmann
7abfb49cae
Make helper function static and local
2008-06-07 19:44:44 +00:00
Marcel Holtmann
a80ddb03c8
Remove unused defines
2008-06-07 19:42:42 +00:00
Marcel Holtmann
957b231578
Don't consider mainloop integration of dbus-glib
2008-06-07 19:35:09 +00:00
Marcel Holtmann
e26cc82994
Remove another obsolete function
2008-06-07 19:32:20 +00:00
Marcel Holtmann
f06919f229
Add proper signal sending helpers
2008-06-07 16:22:47 +00:00
Marcel Holtmann
c910fb98d0
Remove obsolete dbus_connection_get_object_user_data function
2008-06-07 16:14:31 +00:00
Marcel Holtmann
dd368f1988
Remove object path creation and destroy helpers
2008-06-06 13:52:43 +00:00
Marcel Holtmann
30877999b6
Remove obsolete D-Bus interface helpers
2008-06-06 10:45:39 +00:00
Marcel Holtmann
38b422bbfe
Remove obsolete D-Bus sending helpers
2008-06-06 10:42:15 +00:00
Marcel Holtmann
c4d01c3cd1
Add simple g_dbus_unregister_all_interfaces implementation
2008-06-03 14:56:37 +00:00
Marcel Holtmann
21e5707fba
Add skeleton for g_dbus_unregister_all_interfaces
2008-06-03 14:51:51 +00:00
Marcel Holtmann
7d1a9d5671
Remove GDBusDisconnectFunction type
2008-05-29 21:12:03 +00:00
Johan Hedberg
cc0f97ec2c
Change name_listener API to libgdbus watch API
2008-05-29 14:43:27 +00:00
Marcel Holtmann
80d6914d16
Add helpers for sending async replies
2008-05-27 18:02:23 +00:00
Marcel Holtmann
671e8bc734
Add helpers for creating replies
2008-05-27 17:48:01 +00:00
Marcel Holtmann
1ed48482e5
Fix broken signal checking for new style API
2008-05-27 12:17:15 +00:00
Marcel Holtmann
d0b06ea8fd
Add helpers for error creation
2008-05-27 11:42:46 +00:00
Marcel Holtmann
cc2d696524
More fixes for the message dispatch handling
2008-05-27 09:07:28 +00:00
Marcel Holtmann
aff0ec6707
Add new message dispatching
2008-05-27 08:50:36 +00:00
Marcel Holtmann
af6885a49f
Fix object path reference count handling
2008-05-27 08:33:45 +00:00
Marcel Holtmann
e7bf43c753
Add introspection support for new interface handlers
2008-05-27 07:57:04 +00:00
Marcel Holtmann
ac79141ef5
Use reference counting for the object paths
2008-05-27 07:47:26 +00:00
Marcel Holtmann
97e97deb25
Add first implementation of libgdbus interface helpers
2008-05-27 07:20:56 +00:00
Marcel Holtmann
5567809ce0
Add prototypes for interface registration
2008-05-27 07:06:07 +00:00
Marcel Holtmann
9e9f9adde3
Add real libgdbus types for interface definitions
2008-05-27 06:59:19 +00:00
Marcel Holtmann
15ea15b3a7
Move D-Bus object and interface helpers into libgdbus
2008-05-08 22:19:14 +00:00
Marcel Holtmann
e7d668ac9e
Move D-Bus watch functions into libgdbus
2008-05-08 20:23:45 +00:00