1. 13 Feb, 2012 2 commits
  2. 04 Jan, 2012 1 commit
    • Simon McVittie's avatar
      Revert all changes since a36d4918 · 5df8c3db
      Simon McVittie authored
      Someone seems to have merged part of master into 1.4. Again. Let's go
      back to the "last known good" point (the branch-point of some 1.4
      branches I had locally), then we can cherry-pick the changes that
      should have gone in.
      5df8c3db
  3. 19 Sep, 2011 1 commit
  4. 28 Jul, 2011 1 commit
  5. 14 Jul, 2011 1 commit
  6. 10 Jun, 2011 1 commit
  7. 19 Mar, 2010 1 commit
  8. 14 Jul, 2009 3 commits
  9. 10 Jul, 2009 1 commit
  10. 28 May, 2009 2 commits
  11. 14 Jul, 2007 1 commit
  12. 21 Oct, 2006 2 commits
  13. 20 Oct, 2006 2 commits
  14. 11 Sep, 2006 1 commit
  15. 06 Sep, 2006 1 commit
  16. 05 Sep, 2006 1 commit
  17. 16 Aug, 2006 1 commit
    • John Palmieri's avatar
      * dbus/dbus-threads.c: Add static DBusList *uninitialized_mutex_list and · 14cc7d28
      John Palmieri authored
              static DBusList *uninitialized_condvar_list to support new late
              initialization threading model.  In this model threads can be initialized
              even after the D-Bus API has been used but still needs to be initialized
              before the second thread has been started.  Mutexes and condvar addresses
              are stored in the two static lists and are replaced with actuall locks
              when threads are initalized.
              (_dbus_mutex_new_at_location): New method for creating a mutex and placing
              the location into the static list
              (_dbus_mutex_free_at_location): New method for removing a mutex location
              from the static list and freeing the mutex
              (_dbus_condvar_new_at_location): New method for creating a conditional
              variable and placing the location into the static list
              (_dbus_condvar_free_at_location): New method for removing a conditional
              variable location from the static list and freeing the conditional variable
              (init_uninitialized_locks): Atomic method which goes through the static
              lists of mutex and condvar location and updates them with actuall locks
              (init_global_locks): changed to init_locks
      
              * dbus/dbus-connection.c:
              (_dbus_connection_test_get_locks): New method for tests to check connections
              (_dbus_connection_new_for_transport): Use the new at_location mutex and
              condvar API
              (dbus_connection_allocate_data_slot): Pass in the global lock address
              to _dbus_data_slot_allocator_alloc
      
              * dbus/dbus-dataslot.c:
              (_dbus_data_slot_allocator_alloc): Use the address of the mutex
              instead of the mutex itself
      
              * dbus/dbus-message.c:
              (dbus_message_allocate_data_slot): Pass in the global lock address
              to _dbus_data_slot_allocator_alloc
      
              * dbus/dbus-pending-call.c:
              (dbus_pending_call_allocate_data_slot): Pass in the global lock address
              to _dbus_data_slot_allocator_alloc
      
              * dbus/dbus-server.c:
              (_dbus_server_init_base): Use the new at_location mutex API
              (dbus_server_allocate_data_slot): Pass in the global lock address
              to _dbus_data_slot_allocator_alloc
      
              * test/name-test/test-threads-init.c: New test case for late thread
              initialization
      14cc7d28
  18. 04 Aug, 2006 1 commit
    • John Palmieri's avatar
      * configure.in: add -Wdeclaration-after-statement · 222bd07e
      John Palmieri authored
      * dbus/dbus-connection.c: change all the pending call stuff to
        reflect the fact that pending call operations use the connection
        lock
      
      * dbus/dbus-pending-call.c: add locking here
      
      * dbus/dbus-errors.c (struct DBusRealError): don't make the name
        field const consistent with how message field is done
      222bd07e
  19. 21 Jul, 2006 1 commit
  20. 16 Jul, 2006 1 commit
  21. 14 Jul, 2006 1 commit
    • John Palmieri's avatar
      * dbus-connection.c (dbus_connection_send_with_reply): return TRUE · 5efe8e7f
      John Palmieri authored
        and set pending_reply out arg to NULL is connection is disconnected
        (connection_timeout_and_complete_all_pending_calls_unlocked): New
        static method for cleaning up pending calls on disconnect
        (_dbus_connection_get_dispatch_status_unlocked): If we have pending
        calls queued timeouts on disconnect
      
      * dbus/dbus-pending-call.ci (_dbus_pending_call_set_connection):
        Remove
      5efe8e7f
  22. 12 Jul, 2006 1 commit
  23. 16 Feb, 2005 1 commit
    • Havoc Pennington's avatar
      2005-02-15 Havoc Pennington <hp@redhat.com> · 9e445087
      Havoc Pennington authored
      	* dbus/dbus-connection.c (dbus_connection_dispatch): always
      	complete a pending call, don't run filters first.
      
      	* glib/dbus-gproxy.c (dbus_g_proxy_end_call): change to use
      	dbus_pending_call_steal_reply
      
      	* dbus/dbus-pending-call.c (dbus_pending_call_block): just call
      	_dbus_connection_block_pending_call
      	(dbus_pending_call_get_reply): change to steal_reply and return a
      	ref
      
      	* dbus/dbus-connection.c
      	(dbus_connection_send_with_reply_and_block): port to work in terms
      	of DBusPendingCall
      	(_dbus_connection_block_pending_call): replace block_for_reply
      	with this
      9e445087
  24. 30 Jan, 2005 1 commit
    • Havoc Pennington's avatar
      2005-01-30 Havoc Pennington <hp@redhat.com> · 1dcacffc
      Havoc Pennington authored
      	* glib/dbus-glib.c (dbus_g_pending_call_set_notify): new function
      	(dbus_g_pending_call_cancel): new function
      
      	* dbus/dbus-glib.h: move GType decls for connection/message here;
      	* dbus/dbus-glib.c: move all the g_type and ref/unref stuff in
      	here, just kind of rationalizing how we handle all that
      
      	* tools/dbus-names-model.c: new file for a tree model listing the
      	services on a bus
      
      	* tools/dbus-tree-view.c (model_new): use proper typing on the
      	model rows
      1dcacffc
  25. 17 Jan, 2005 1 commit
    • Havoc Pennington's avatar
      2005-01-16 Havoc Pennington <hp@redhat.com> · aad6fa89
      Havoc Pennington authored
      	* dbus/dbus-internals.c (_dbus_real_assert): print the function
      	name the assertion failed in
      
      	* dbus/dbus-internals.h (_dbus_return_if_fail)
      	(_dbus_return_val_if_fail): assert that the name of the function
      	containing the check doesn't start with '_', since we only want to
      	use checks on public functions
      
      	* dbus/dbus-connection.c (_dbus_connection_ref_unlocked): change
      	checks to assertions
      
      	* dbus/dbus-marshal-header.c (_dbus_header_set_field_basic):
      	change checks to asserts for private function
      
      	* dbus/dbus-message.c (_dbus_message_set_serial): checks
      	to asserts for private function
      
      	* dbus/dbus-marshal-recursive.c (skip_one_complete_type): remove
      	broken assertion that was breaking make check
      	(_dbus_type_reader_array_is_empty): remove this rather than fix
      	it, was only used in assertions
      aad6fa89
  26. 10 Aug, 2004 1 commit
  27. 21 Mar, 2004 1 commit
    • Olivier Andrieu's avatar
      * dbus/dbus-marshal.c (_dbus_marshal_validate_arg): accept empty · eacb2afd
      Olivier Andrieu authored
      arrays
      
      * dbus/dbus-message.h, bus/dbus-message.c (dbus_message_iter_init)
      (dbus_message_iter_init_array_iterator)
      (dbus_message_iter_init_dict_iterator): return a dbus_bool_t to
      indicate whether the iterator is empty
      
      * dbus/dbus-pending-call.c, dbus/dbus-server.c: silence compiler
      warnings
      eacb2afd
  28. 02 Dec, 2003 1 commit
  29. 27 Nov, 2003 1 commit
  30. 16 Oct, 2003 1 commit
    • Havoc Pennington's avatar
      2003-10-16 Havoc Pennington <hp@redhat.com> · d6e1b2ad
      Havoc Pennington authored
      	* bus/connection.c (bus_pending_reply_expired): either cancel or
      	execute, not both
      	(bus_connections_check_reply): use unlink, not remove_link, as we
      	don't want to free the link; fixes double free mess
      
      	* dbus/dbus-pending-call.c (dbus_pending_call_block): fix in case
      	where no reply was received
      
      	* dbus/dbus-connection.c (_dbus_pending_call_complete_and_unlock):
      	fix a refcount leak
      
      	* bus/signals.c (match_rule_matches): add special cases for the
      	bus driver, so you can match on sender/destination for it.
      
      	* dbus/dbus-sysdeps.c (_dbus_abort): print backtrace if
      	DBUS_PRINT_BACKTRACE is set
      
      	* dbus/dbus-internals.c: add pid to assertion failure messages
      
      	* dbus/dbus-connection.c: add message type code to the debug spew
      
      	* glib/dbus-gproxy.c (gproxy_get_match_rule): match rules want
      	sender=foo not service=foo
      
      	* dbus/dbus-bus.c (dbus_bus_get): if the activation bus is the
      	session bus but DBUS_SESSION_BUS_ADDRESS isn't set, use
      	DBUS_ACTIVATION_ADDRESS instead
      
      	* bus/activation.c: set DBUS_SESSION_BUS_ADDRESS,
      	DBUS_SYSTEM_BUS_ADDRESS if appropriate
      
      	* bus/bus.c (bus_context_new): handle OOM copying bus type into
      	context struct
      
      	* dbus/dbus-message.c (dbus_message_iter_get_object_path): new function
      	(dbus_message_iter_get_object_path_array): new function (half
      	finished, disabled for the moment)
      
      	* glib/dbus-gproxy.c (dbus_gproxy_end_call): properly handle
      	DBUS_MESSAGE_TYPE_ERROR
      
      	* tools/dbus-launch.c (babysit): support DBUS_DEBUG_OUTPUT to
      	avoid redirecting stderr to /dev/null
      	(babysit): close stdin if not doing the "exit_with_session" thing
      
      	* dbus/dbus-sysdeps.c (_dbus_become_daemon): delete some leftover
      	debug code; change DBUS_DEBUG_OUTPUT to only enable stderr, not
      	stdout/stdin, so things don't get confused
      
      	* bus/system.conf.in: fix to allow replies, I modified .conf
      	instead of .conf.in again.
      d6e1b2ad
  31. 12 Oct, 2003 1 commit
    • Havoc Pennington's avatar
      2003-10-12 Havoc Pennington <hp@pobox.com> · 4097e94a
      Havoc Pennington authored
              Added test code that 1) starts an actual bus daemon and 2) uses
      	DBusGProxy; fixed bugs that were revealed by the test. Lots
      	more testing possible, but this is the basic framework.
      
      	* glib/dbus-gproxy.c (dbus_gproxy_manager_unregister): remove
      	empty proxy lists from the proxy list hash
      
      	* dbus/dbus-message.c (dbus_message_iter_get_args_valist): add a
      	couple of return_if_fail checks
      
      	* dbus/dbus-pending-call.c (_dbus_pending_call_new): use dbus_new0
      	to allocate, so everything is cleared to NULL as it should be.
      
      	* glib/dbus-gmain.c (dbus_connection_setup_with_g_main): pass
      	source as data to dbus_connection_set_timeout_functions() as the
      	timeout functions expected
      
      	* test/glib/run-test.sh: add a little script to start up a message
      	bus and run tests using it
      
      	* tools/dbus-launch.1: updates
      
      	* tools/dbus-launch.c (main): add --config-file option
      
      	* tools/dbus-launch.c (main): remove confusing else if (runprog)
      	that could never be reached.
      
      	* dbus/dbus-message.c (dbus_message_new_method_return)
      	(dbus_message_new_error, dbus_message_new_signal): set the
      	no-reply-expected flag on all these. Redundant, but may
      	as well be consistent.
      4097e94a
  32. 17 Sep, 2003 1 commit
    • Havoc Pennington's avatar
      2003-09-15 Havoc Pennington <hp@pobox.com> · 583994cb
      Havoc Pennington authored
      	* 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
      583994cb
  33. 15 Aug, 2003 2 commits