d8afa0a10bc421b3fd32fe9320bfd277649b3f63 |
|
15-Jul-2010 |
Christian Dywan <christian.dywan@lanedo.com> |
Assert in _dbus_decompose_path if path is NULL or len is wrong
/external/dbus/dbus/dbus-object-tree.c
|
d5217348517e6b00a04e500ca460daf6cc928cd9 |
|
26-Mar-2010 |
Ralf Habacker <ralf.habacker@freenet.de> |
Cleaned up _dbus_verbose calls: function names and code line numbers are printed by default.
/external/dbus/dbus/dbus-object-tree.c
|
dbecdeabb20e0ce11121819c63373f0afba57c58 |
|
19-Mar-2010 |
Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de> |
Consistently include <config.h> in all C source files and never in header files.
/external/dbus/dbus/dbus-object-tree.c
|
5baf2f856a9c6625993234855b07680da1c8916f |
|
11-Jul-2009 |
Tobias Mueller <fdo-bugs@cryptobitch.de> |
Bug 21161 - Update the FSF address No comment. Signed-off-by: Colin Walters <walters@verbum.org>
/external/dbus/dbus/dbus-object-tree.c
|
df47bd40818683a0567081e7bc71b870ee4ec642 |
|
10-Oct-2007 |
Simon McVittie <simon.mcvittie@collabora.co.uk> |
_dbus_object_tree_register: don't duplicate check for NULL and use new DBUS_ERROR_OBJECT_PATH_IN_USE error, both as per Havoc's review
/external/dbus/dbus/dbus-object-tree.c
|
557da1740631818f96e40d0016a4cabdf34ed0f1 |
|
09-Oct-2007 |
Simon McVittie <simon.mcvittie@collabora.co.uk> |
Add dbus_connection_try_register_object_path and dbus_connection_try_register_fallback, to make object path registration less painful for bindings
/external/dbus/dbus/dbus-object-tree.c
|
d012387afef0ba02185ebe27bc6bb15551912e92 |
|
14-Jul-2007 |
Havoc Pennington <hp@redhat.com> |
2007-07-13 Havoc Pennington <hp@redhat.com> * Add indent-tabs-mode: nil to all file headers.
/external/dbus/dbus/dbus-object-tree.c
|
15ef0ef6fbba7827453b7973e62b6c1853576601 |
|
20-Oct-2006 |
Havoc Pennington <hp@redhat.com> |
2006-10-19 Havoc Pennington <hp@redhat.com> * Fix a pile of Doxygen warnings and missing docs
/external/dbus/dbus/dbus-object-tree.c
|
1fa8e404a4fd9fc723b0a00be09c3c9fce0cfff3 |
|
09-Aug-2006 |
John (J5) Palmieri <johnp@redhat.com> |
* dbus/dbus-object-tree.c (_dbus_object_subtree_new): remove dead code
/external/dbus/dbus/dbus-object-tree.c
|
baf72e43951b1fefd23c7d246b76939e3c72fc14 |
|
03-Aug-2006 |
John (J5) Palmieri <johnp@redhat.com> |
* dbus/dbus-object-tree.c: Patch by Benjamin Otte <in7y118 at public.uni-hamburg dot de> - fix invalid read/write reported by valgrind
/external/dbus/dbus/dbus-object-tree.c
|
bbc0cee63702cc344fa399c4ca4e45756bb0b721 |
|
05-Sep-2005 |
Olivier Andrieu <oliv__a@users.sourceforge.net> |
2005-09-05 Olivier Andrieu <oliv__a@users.sourceforge.net> * dbus/dbus-object-tree.c (find_subtree_recurse): a couple of optimizations (bug #710): - do a binary search in the tree - insert a new child at the right place directly, no need for qsort anymore - do the "double alloc" thing when allocating children
/external/dbus/dbus/dbus-object-tree.c
|
64f3d8f67db09e0c84ed3ff009b86d0127fe82b4 |
|
24-Apr-2005 |
Havoc Pennington <hp@redhat.com> |
2005-04-23 Havoc Pennington <hp@redhat.com> * dbus/dbus-message.c (dbus_message_append_args): fix doc comment, reported by Tony Houghton * test/test-service.c (main): test dbus_connection_get_object_path_data() * dbus/dbus-object-tree.c (find_handler): be sure we always init the exact_match (_dbus_object_tree_get_user_data_unlocked): new function used by dbus_connection_get_object_path_data() (do_register): add assertion test for get_user_data_unlocked (object_tree_test_iteration): more tests * dbus/dbus-connection.c (dbus_connection_get_object_path_data): new function from Dan Reed to let you get the user data from dbus_connection_register_object_path()
/external/dbus/dbus/dbus-object-tree.c
|
59948748b24ca6f266b1eb957849e3d3127242bd |
|
09-Mar-2005 |
Joe Shaw <joeshaw@novell.com> |
2005-03-09 Joe Shaw <joeshaw@novell.com> * dbus/dbus-object-tree.c (_dbus_object_tree_unregister_and_unlock): If checks are enabled and we try to unregister a path that's not registered, still go through the process of unlocking and don't just return.
/external/dbus/dbus/dbus-object-tree.c
|
248895207dc15914ac7970a6d1431308075dca1d |
|
17-Feb-2005 |
Colin Walters <walters@verbum.org> |
2005-02-17 Colin Walters <walters@verbum.org> * dbus/dbus-protocol.h (DBUS_SERVICE_ORG_FREEDESKTOP_DBUS): Rename to DBUS_SERVICE_DBUS. (DBUS_PATH_ORG_FREEDESKTOP_DBUS): Rename to DBUS_PATH_DBUS. (DBUS_PATH_ORG_FREEDESKTOP_LOCAL): Rename to DBUS_PATH_LOCAL. (DBUS_INTERFACE_ORG_FREEDESKTOP_DBUS): Rename to DBUS_INTERFACE_DBUS. (DBUS_INTERFACE_ORG_FREEDESKTOP_INTROSPECTABLE): Rename to DBUS_INTERFACE_INTROSPECTABLE. (DBUS_INTERFACE_ORG_FREEDESKTOP_PROPERTIES): Rename to DBUS_INTERFACE_PROPERTIES. (DBUS_INTERFACE_ORG_FREEDESKTOP_PEER): Rename to DBUS_INTERFACE_PEER. (DBUS_INTERFACE_ORG_FREEDESKTOP_LOCAL): DBUS_INTERFACE_LOCAL. All other users of those constants have been changed. * bus/driver.c (bus_driver_handle_introspect): Use constants. * glib/dbus-gobject.c (handle_introspect): Use constants. * doc/dbus-faq.xml, doc/dbus-specification.xml: Update for rename.
/external/dbus/dbus/dbus-object-tree.c
|
f349e6b8c50ea6faa48c8261198cf1b07bf59a79 |
|
13-Feb-2005 |
Havoc Pennington <hp@redhat.com> |
2005-02-13 Havoc Pennington <hp@redhat.com> * dbus/dbus-object-tree.c (handle_default_introspect_and_unlock): fix a double-unlock * dbus/dbus-connection.c (_dbus_connection_detach_pending_call_unlocked): add this Initial semi-correct pass through to fix thread locking; there are still some issues with the condition variable paths I'm pretty sure * dbus/dbus-server.c: add a mutex on DBusServer and appropriate lock/unlock calls * dbus/dbus-connection.c (_dbus_connection_do_iteration_unlocked): rename to add _unlocked (struct DBusConnection): move "dispatch_acquired" and "io_path_acquired" to use only one bit each. (CONNECTION_LOCK, CONNECTION_UNLOCK): add checks with !DBUS_DISABLE_CHECKS (dbus_connection_set_watch_functions): hacky fix to reentrancy (_dbus_connection_add_watch, _dbus_connection_remove_watch) (_dbus_connection_toggle_watch, _dbus_connection_add_timeout) (_dbus_connection_remove_timeout) (_dbus_connection_toggle_timeout): drop lock when calling out to user functions; done in a hacky/bad way. (_dbus_connection_send_and_unlock): add a missing unlock (_dbus_connection_block_for_reply): add a missing unlock * dbus/dbus-transport.c (_dbus_transport_get_is_authenticated): drop lock in a hacky probably unsafe way to call out to user function
/external/dbus/dbus/dbus-object-tree.c
|
df0c6408805341f1ac673430ce6e92f352a473e6 |
|
11-Feb-2005 |
Havoc Pennington <hp@redhat.com> |
2005-02-10 Havoc Pennington <hp@redhat.com> * dbus/dbus-object-tree.c (handle_default_introspect_and_unlock): change to be _and_unlock instead of _unlocked * dbus/dbus-connection.c (_dbus_connection_send_preallocated_unlocked_no_update): rename to have no_update so we can find this bug quickly in future
/external/dbus/dbus/dbus-object-tree.c
|
98ad8a8ec6626f7f5c78915b6bdf2be688b4839f |
|
30-Jan-2005 |
Havoc Pennington <hp@redhat.com> |
2005-01-30 Havoc Pennington <hp@redhat.com> * glib/dbus-gobject.c (introspect_properties): fix the XML generated * dbus/dbus-message.c (dbus_message_unref): add an in_cache flag which effectively detects the use of freed messages * glib/dbus-gobject.c (handle_introspect): modify and return the reply message instead of the incoming message * dbus/dbus-object-tree.c (handle_default_introspect_unlocked): gee, maybe it should SEND THE XML instead of just making a string and freeing it again ;-) * tools/dbus-print-message.c (print_message): improve printing of messages * configure.in: add debug-glib.service to the output
/external/dbus/dbus/dbus-object-tree.c
|
41f52c96d651003b3d0a266a582d401228a8368e |
|
30-Jan-2005 |
Havoc Pennington <hp@redhat.com> |
2005-01-30 Havoc Pennington <hp@redhat.com> dbus-viewer introspected and displayed the bus driver * dbus/dbus-object-tree.c (object_tree_test_iteration): add tests for a handler registered on "/" * dbus/dbus-object-tree.c (_dbus_decompose_path): fix to handle path "/" properly (run_decompose_tests): add tests for path decomposition * glib/dbus-gutils.c (_dbus_gutils_split_path): fix to handle "/" properly * glib/dbus-gobject.c (handle_introspect): fix quotes * test/glib/run-test.sh: support launching the bus, then running dbus-viewer * test/glib/test-service-glib.c (main): put in a trivial gobject subclass and register it on the connection * bus/driver.c (bus_driver_handle_introspect): implement introspection of the bus driver service * dbus/dbus-protocol.h: add #defines for the XML namespace, identifiers, doctype decl * bus/driver.c (bus_driver_handle_get_service_owner): handle attempts to get owner of DBUS_SERVICE_ORG_FREEDESKTOP_DBUS by returning the service unchanged. (bus_driver_handle_message): remove old check for reply_serial in method calls, now the message type deals with that (bus_driver_handle_message): handle NULL interface * glib/dbus-gproxy.c (dbus_g_proxy_get_bus_name): new function * glib/dbus-gloader-expat.c (description_load_from_string): allow -1 for len * tools/dbus-viewer.c: add support for introspecting a service on a bus * glib/dbus-gproxy.c (dbus_g_pending_call_ref): add (dbus_g_pending_call_unref): add
/external/dbus/dbus/dbus-object-tree.c
|
9c3d566e95c9080f6040c64531b0ccae22bd5d74 |
|
15-Jan-2005 |
Havoc Pennington <hp@redhat.com> |
2005-01-15 Havoc Pennington <hp@redhat.com> * Land the new message args API and type system. This patch is huge, but the public API change is not really large. The set of D-BUS types has changed somewhat, and the arg "getters" are more geared toward language bindings; they don't make a copy, etc. There are also some known issues. See these emails for details on this huge patch: http://lists.freedesktop.org/archives/dbus/2004-December/001836.html http://lists.freedesktop.org/archives/dbus/2005-January/001922.html * dbus/dbus-marshal-*: all the new stuff * dbus/dbus-message.c: basically rewritten * dbus/dbus-memory.c (check_guards): with "guards" enabled, init freed blocks to be all non-nul bytes so using freed memory is less likely to work right * dbus/dbus-internals.c (_dbus_test_oom_handling): add DBUS_FAIL_MALLOC=N environment variable, so you can do DBUS_FAIL_MALLOC=0 to skip the out-of-memory checking, or DBUS_FAIL_MALLOC=10 to make it really, really, really slow and thorough. * qt/message.cpp: port to the new message args API (operator<<): use str.utf8() rather than str.unicode() (pretty sure this is right from the Qt docs?) * glib/dbus-gvalue.c: port to the new message args API * bus/dispatch.c, bus/driver.c: port to the new message args API * dbus/dbus-string.c (_dbus_string_init_const_len): initialize the "locked" flag to TRUE and align_offset to 0; I guess we never looked at these anyhow, but seems cleaner. * dbus/dbus-string.h (_DBUS_STRING_ALLOCATION_PADDING): move allocation padding macro to this header; use it to implement (_DBUS_STRING_STATIC): ability to declare a static string. * dbus/dbus-message.c (_dbus_message_has_type_interface_member): change to return TRUE if the interface is not set. * dbus/dbus-string.[hc]: move the D-BUS specific validation stuff to dbus-marshal-validate.[hc] * dbus/dbus-marshal-basic.c (_dbus_type_to_string): move here from dbus-internals.c * dbus/Makefile.am: cut over from dbus-marshal.[hc] to dbus-marshal-*.[hc] * dbus/dbus-object-tree.c (_dbus_decompose_path): move this function here from dbus-marshal.c
/external/dbus/dbus/dbus-object-tree.c
|
43605a6f4e78a8c28afb4b1e924dff0301e0e95c |
|
10-Aug-2004 |
Havoc Pennington <hp@redhat.com> |
2004-08-09 Havoc Pennington <hp@redhat.com> * COPYING: switch to Academic Free License version 2.1 instead of 2.0, to resolve complaints about patent termination clause.
/external/dbus/dbus/dbus-object-tree.c
|
7eb304c54ee8ea6dfa3775cf89d63c39295747a8 |
|
22-Jul-2004 |
Olivier Andrieu <oliv__a@users.sourceforge.net> |
2004-07-22 Olivier Andrieu <oliv__a@users.sourceforge.net> * dbus/dbus-sysdeps.c (fill_user_info): fix inexistent label name, breaking build on Solaris, reported by Farhad Saberi on the ML. * dbus/dbus-message.c (dbus_message_append_args_valist): fix the va_arg invocation to account for integer promotion in the case of DBUS_TYPE_BYTE (unsigned char is promoted to int). (bug #901) * bus/services.c (bus_service_remove_owner): fix bug #902, use _dbus_list_get_first_link, not _dbus_list_get_first. * dbus/dbus-bus.c (dbus_bus_service_exists): plug a memory leak. * dbus/dbus-object-tree.c (free_subtree_recurse): always null handler functions so that the asserts in _dbus_object_subtree_unref do not fail. * dbus/dbus-transport-unix.c (do_reading): _dbus_transport_queue_messages return value is of type dbus_bool_t, not DBusDispatchStatus.
/external/dbus/dbus/dbus-object-tree.c
|
54dcec2a8312634116c5a1acbbd0070953525c8a |
|
02-Jun-2004 |
Kristian Høgsberg <krh@redhat.com> |
2004-06-02 Kristian Høgsberg <krh@redhat.com> * glib/dbus-gproxy.c, glib/dbus-gmain.c, dbus/dbus-string.c, dbus/dbus-object-tree.c, dbus/dbus-message.c: add comments to quiet doxygen. * Doxyfile.in: remove deprecated options. * dbus/dbus-message-handler.c, dbus/dbus-message-handler.h, glib/test-thread.h, glib/test-thread-client.c, glib/test-thread-server.c, glib/test-profile.c, glib/test-dbus-glib.c: remove these unused files.
/external/dbus/dbus/dbus-object-tree.c
|
0ea8ec33e01dfaf2194e1263546b943f970c6444 |
|
01-Jun-2004 |
Olivier Andrieu <oliv__a@users.sourceforge.net> |
2004-06-01 Olivier Andrieu <oliv__a@users.sourceforge.net> * dbus/dbus-object-tree.c (_dbus_object_tree_dispatch_and_unlock): fix dispatch for non-fallback handlers (bug #684). (_dbus_object_subtree_new): initialize invoke_as_fallback field. (find_subtree_recurse): report wether the returned subtree is an exact match or a "fallback" match higher up in the tree. (object_tree_test_iteration): update test case.
/external/dbus/dbus/dbus-object-tree.c
|
e431887e8476b1897f3eef4a90bfb928abb2f07b |
|
21-May-2004 |
Olivier Andrieu <oliv__a@users.sourceforge.net> |
2004-05-21 Olivier Andrieu <oliv__a@users.sourceforge.net> * dbus/dbus-object-tree.c (_dbus_object_tree_list_registered_unlock, lookup_subtree): return children even if the requested path isn't registered. (object_tree_test_iteration): test object_tree_list_registered. * configure.in: undefine HAVE_ABSTRACT_SOCKETS instead of defining it to 0.
/external/dbus/dbus/dbus-object-tree.c
|
a1df3040f29223eddaa3ace0fe018fcb28cddcd9 |
|
02-Dec-2003 |
Richard Hult <richard@imendio.com> |
2003-12-02 Richard Hult <richard@imendio.com> * Update AFL version to 2.0 throughout the source files to reflect the update that was done a while ago.
/external/dbus/dbus/dbus-object-tree.c
|
9f1a60dbba69844c0a04b3dd86280352736187ce |
|
27-Nov-2003 |
Mikael Hallendal <micke@imendio.com> |
2003-11-26 Mikael Hallendal <micke@imendio.com> * bus/*.[ch]: * dbus/*.[ch]: * glib/*.[ch]: Made ref functions return the pointer
/external/dbus/dbus/dbus-object-tree.c
|
583994cb3b7f5562fb7b8c37b4cb0d5af78e4ce2 |
|
17-Sep-2003 |
Havoc Pennington <hp@redhat.com> |
2003-09-15 Havoc Pennington <hp@pobox.com> * dbus/dbus-pending-call.c: add the get/set object data boilerplate as for DBusConnection, etc. Use generic object data for the notify callback. * glib/dbus-gparser.c (parse_node): parse child nodes * tools/dbus-viewer.c: more hacking on the dbus-viewer * glib/dbus-gutils.c (_dbus_gutils_split_path): add a file to contain functions shared between the convenience lib and the installed lib * glib/Makefile.am (libdbus_glib_1_la_LDFLAGS): add -export-symbols-regex to the GLib library * dbus/dbus-object-tree.c (_dbus_object_tree_dispatch_and_unlock): fix the locking in here, and add a default handler for Introspect() that just returns sub-nodes. 2003-09-14 Havoc Pennington <hp@pobox.com> * glib/dbus-gthread.c (dbus_g_thread_init): rename to make g_foo rather than gfoo consistent * glib/dbus-gproxy.h: delete for now, move contents to dbus-glib.h, because the include files don't work right since we aren't in the dbus/ subdir. * glib/dbus-gproxy.c (dbus_gproxy_send): finish implementing (dbus_gproxy_end_call): finish (dbus_gproxy_begin_call): finish * glib/dbus-gmain.c (dbus_set_g_error): new * glib/dbus-gobject.c (handle_introspect): include information about child nodes in the introspection * dbus/dbus-connection.c (dbus_connection_list_registered): new function to help in implementation of introspection * dbus/dbus-object-tree.c (_dbus_object_tree_list_registered_and_unlock): new function 2003-09-12 Havoc Pennington <hp@pobox.com> * glib/dbus-gidl.h: add common base class for all the foo_info types * tools/dbus-viewer.c: add GTK-based introspection UI thingy similar to kdcop * test/Makefile.am: try test srcdir -ef . in addition to test srcdir = ., one of them should work (yeah lame) * glib/Makefile.am: build the "idl" parser stuff as a convenience library * glib/dbus-gparser.h: make description_load routines return NodeInfo* not Parser* * Makefile.am (SUBDIRS): build test dir after all library dirs * configure.in: add GTK+ detection
/external/dbus/dbus/dbus-object-tree.c
|
85ab0327d82e4945ad16630e583d8cc68df25a90 |
|
08-Sep-2003 |
Havoc Pennington <hp@redhat.com> |
2003-09-07 Havoc Pennington <hp@pobox.com> * Make Doxygen contented.
/external/dbus/dbus/dbus-object-tree.c
|
666fe95480c14d7cbf5143b1a4e1bf0558403d4d |
|
06-Sep-2003 |
Havoc Pennington <hp@redhat.com> |
2003-09-06 Havoc Pennington <hp@pobox.com> * dbus/dbus-connection.c (dbus_connection_register_fallback): add this (dbus_connection_register_object_path): make this not handle messages to paths below the given path
/external/dbus/dbus/dbus-object-tree.c
|
5fd1e389e1c1c12ad4a55c2af6abdc8e7a2f6d41 |
|
31-Aug-2003 |
Havoc Pennington <hp@redhat.com> |
2003-08-30 Havoc Pennington <hp@pobox.com> * test/data/valid-config-files/system.d/test.conf: change to root for the user so warnings don't get printed * dbus/dbus-message.c: add dbus_message_get_path, dbus_message_set_path * dbus/dbus-object-tree.c (do_test_dispatch): add test of dispatching to a path * dbus/dbus-string.c (_dbus_string_validate_path): add * dbus/dbus-marshal.c (_dbus_demarshal_object_path): implement (_dbus_marshal_object_path): implement * dbus/dbus-protocol.h (DBUS_HEADER_FIELD_PATH): new header field to contain the path to the target object (DBUS_HEADER_FIELD_SENDER_SERVICE): rename DBUS_HEADER_FIELD_SENDER to explicitly say it's the sender service
/external/dbus/dbus/dbus-object-tree.c
|
9a0e83f509bd927b555ff75319f8df66ca61087e |
|
30-Aug-2003 |
Havoc Pennington <hp@redhat.com> |
2003-08-30 Havoc Pennington <hp@pobox.com> * dbus/dbus-object-tree.c: write tests and fix the discovered bugs
/external/dbus/dbus/dbus-object-tree.c
|
ce969c6347b69180088c592e9184f05d0d3525c4 |
|
30-Aug-2003 |
Havoc Pennington <hp@redhat.com> |
2003-08-29 Havoc Pennington <hp@pobox.com> * dbus/dbus-object-tree.c: modify to allow overlapping paths to be registered (struct DBusObjectSubtree): shrink this a lot, since we may have a lot of them (_dbus_object_tree_free_all_unlocked): implement (_dbus_object_tree_dispatch_and_unlock): implement
/external/dbus/dbus/dbus-object-tree.c
|
8d38a2e2c5dc95de992c4d856ec1b0c0948bca3e |
|
29-Aug-2003 |
Havoc Pennington <hp@redhat.com> |
2003-08-28 Havoc Pennington <hp@pobox.com> purge DBusObjectID * dbus/dbus-connection.c: port to no ObjectID, create a DBusObjectTree, rename ObjectTree to ObjectPath in public API * dbus/dbus-connection.h (struct DBusObjectTreeVTable): delete everything except UnregisterFunction and MessageFunction * dbus/dbus-marshal.c: port away from DBusObjectID, add DBUS_TYPE_OBJECT_PATH * dbus/dbus-object-registry.[hc], dbus/dbus-object.[hc], dbus/dbus-objectid.[hc]: remove these, we are moving to path-based object IDs
/external/dbus/dbus/dbus-object-tree.c
|
24f411a6a10e4838f57595720642ce83ceae814c |
|
25-Aug-2003 |
Havoc Pennington <hp@redhat.com> |
2003-08-25 Havoc Pennington <hp@pobox.com> Just noticed that dbus_message_test is hosed, I wonder when I broke that. I thought make check was passing earlier... * dbus/dbus-object-tree.c: add new "object tree" to match DCOP container tree, will replace most of dbus-object-registry * dbus/dbus-string.c (_dbus_string_append_printf_valist): fix C99 screwup
/external/dbus/dbus/dbus-object-tree.c
|