summaryrefslogtreecommitdiff
path: root/gdbus/object.c
AgeCommit message (Collapse)AuthorFilesLines
2011-05-27gdbus: Remove unused result variable from g_dbus_pending_successSzymon Janc1-2/+1
2011-01-19gdbus: Remove root node 'name' attribute in introspectionDaniel Wagner1-1/+1
generate_introspection_xml generates the root <node> tags with a 'name' attribute. This seems to be a valid attribute but it is not consistent with the way the D-Bus daemon generates empty nodes. For example if we register "/foo/bar", D-Bus daemon will generate for "/foo" a introspection which looks like this: <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> <node> <node name="bar"/> </node> and generate_introspection_xml generates for "/foo/bar": <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> <node name="/foo/bar"> </node> Just don't add the 'name' attribute to the root node. The GLib binding for D-Bus does it the same way.
2011-01-19gdbus: invaldate_parent_data: walk the whole path downDaniel Wagner1-3/+4
Assume there is only one object registerd at "/". If we add a new object at "/foo/bar" the introspection of "/" has to be updated. A new node has to be added at "/". invalidate_parent_data stops invaldating the whole path because the boolean return value of dbus_connection_get_object_path_data is used wrong. If we get a TRUE just go on down in the path, if FALSE is return dbus_connection_get_object_path_data has run out of memory.
2011-01-01gdbus: Update copyright informationMarcel Holtmann1-1/+1
2010-12-08gdbus: explicitly compare pointers to NULLLucas De Marchi1-12/+12
This patch was generated by the following semantic patch (http://coccinelle.lip6.fr/) // <smpl> @fix disable is_null,isnt_null1@ expression *E; @@ - !E + E == NULL // </smpl>
2010-09-09Add support for builtin GDBus security using PolicyKitMarcel Holtmann1-1/+45
2010-09-09Add support for GDBus security action and flagsMarcel Holtmann1-3/+11
2010-09-09Use simpler error callbacks for GDBus security hooksMarcel Holtmann1-6/+23
2010-09-09Add support for GDBus security handlersMarcel Holtmann1-22/+137
2010-04-30Fix parent path introspection data invalidation for multiple levelsJohan Hedberg1-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.
2010-04-29Fix memory leak in g_dbus_register_interfaceJohan Hedberg1-1/+3
2010-03-07Make interface callback tables constMarcel Holtmann1-13/+13
2010-01-01Update copyright information of D-Bus helper libraryMarcel Holtmann1-1/+1
2009-09-24gdbus: handle introspection generally in generic_message.RISKÓ Gergely1-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.
2009-09-14Add introspection interface to the output of introspection callsRISKÓ Gergely1-1/+7
This provides better compatibility with some D-Bus clients, such as qdbus.
2009-05-11Make the parent path invalidateableDenis Kenzior1-1/+5
2009-02-28Check that interface name is providedMarcel Holtmann1-1/+3
2009-01-01Update copyright informationMarcel Holtmann1-1/+1
2008-12-24Check if path is valid before unregistering itMarcel Holtmann1-0/+3
2008-12-23Fix issue with signed/unsigned comparisonMarcel Holtmann1-1/+2
2008-12-20Use tabs for indentationMarcel Holtmann1-4/+4
2008-12-06Fix error message creationMarcel Holtmann1-1/+5
2008-11-26Don't expect reply when sending D-Bus messagesMarcel Holtmann1-0/+3
2008-08-13Add copy of libgdbus helper for easier adoptionMarcel Holtmann1-0/+641