1. 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
  2. 02 Dec, 2003 1 commit
  3. 27 Nov, 2003 1 commit
  4. 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
  5. 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
  6. 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
  7. 15 Aug, 2003 2 commits
  8. 14 Aug, 2003 1 commit
    • Havoc Pennington's avatar
      2003-08-14 Havoc Pennington <hp@redhat.com> · a6c8a71b
      Havoc Pennington authored
      	* dbus/dbus-pending-call.c: start on new object that will replace
      	DBusMessageHandler and ReplyHandlerData for tracking outstanding
      	replies
      
      	* dbus/dbus-gproxy.c: start on proxy object used to communicate
      	with remote interfaces
      
      	* dbus/dbus-gidl.c: do the boring boilerplate in here
      a6c8a71b