1. 07 Oct, 2004 1 commit
  2. 10 Aug, 2004 1 commit
  3. 20 Jun, 2004 1 commit
    • Havoc Pennington's avatar
      2004-06-20 Havoc Pennington <hp@redhat.com> · 961e6ca4
      Havoc Pennington authored
              * dbus/dbus-glib-error-enum.h: autogenerate the GError enum
      	codes from the dbus error names
      
              * glib/dbus-glib.h: move to subdir dbus/ since it's included
      	as dbus/dbus-glib.h and that breakage is now visible due to
      	including dbus/dbus-glib.h in dbus-glib-lowlevel.h
      
      	* glib/dbus-glib.h: s/gproxy/g_proxy/
      
      	* dbus/dbus-shared.h: new header to hold stuff shared with
      	binding APIs
      
      	* dbus/dbus-protocol.h (DBUS_ERROR_*): move errors here rather
      	than dbus-errors.h
      
      	* glib/dbus-glib.h (dbus_set_g_error): move to
      	dbus-glib-lowlevel.h
      
      	* glib/dbus-glib.h: remove dbus/dbus.h from here; change a bunch
      	of stuff to enable this
      
      	* dbus/dbus-glib-lowlevel.h: put dbus/dbus.h here
      
      	* a bunch of other changes with the same basic "separate glib
      	bindings from dbus.h" theme
      961e6ca4
  4. 02 Jun, 2004 1 commit
    • Kristian Høgsberg's avatar
      2004-06-02 Kristian Høgsberg <krh@redhat.com> · 54dcec2a
      Kristian Høgsberg authored
      	* 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.
      54dcec2a
  5. 02 Dec, 2003 1 commit
  6. 27 Nov, 2003 1 commit
  7. 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
  8. 03 Oct, 2003 1 commit
    • Havoc Pennington's avatar
      2003-10-02 Havoc Pennington <hp@pobox.com> · 79d03f94
      Havoc Pennington authored
      	* glib/dbus-gproxy.c (dbus_gproxy_call_no_reply): rename from
      	dbus_gproxy_oneway_call
      
      	* glib/dbus-gmain.c (dbus_connection_setup_with_g_main)
      	(dbus_server_setup_with_g_main): fix to allow calling them more
      	than once on the same args
      	(dbus_bus_get_with_g_main): new function
      79d03f94
  9. 23 Sep, 2003 1 commit
    • Havoc Pennington's avatar
      2003-09-23 Havoc Pennington <hp@redhat.com> · 52f275a7
      Havoc Pennington authored
      	* glib/dbus-gproxy.c (dbus_gproxy_connect_signal): implement
      	(dbus_gproxy_disconnect_signal): implement
      	(dbus_gproxy_manager_remove_signal_match): implement
      	(dbus_gproxy_manager_add_signal_match): implement
      	(dbus_gproxy_oneway_call): implement
      52f275a7
  10. 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
  11. 07 Sep, 2003 1 commit
  12. 01 Sep, 2003 1 commit
  13. 05 Aug, 2003 1 commit
  14. 22 Jun, 2003 1 commit
    • Havoc Pennington's avatar
      2003-06-22 Havoc Pennington <hp@pobox.com> · 6843ad31
      Havoc Pennington authored
      	* dbus/dbus-dataslot.c (_dbus_data_slot_allocator_unref)
      	(_dbus_data_slot_allocator_alloc): rework these to keep a
      	reference count on each slot and automatically manage a global
      	slot ID variable passed in by address
      
      	* bus/bus.c: convert to new dataslot API
      
      	* dbus/dbus-bus.c: convert to new dataslot API
      
      	* dbus/dbus-connection.c: convert to new dataslot API
      
      	* dbus/dbus-server.c: convert to new dataslot API
      
      	* glib/dbus-gmain.c: ditto
      
      	* bus/test.c: ditto
      
      	* bus/connection.c: ditto
      6843ad31
  15. 29 Apr, 2003 1 commit
  16. 25 Apr, 2003 1 commit
  17. 24 Apr, 2003 1 commit
    • James Willcox's avatar
      · c2a28557
      James Willcox authored
      2003-04-23  James Willcox  <jwillcox@gnome.org>
      
      	* glib/dbus-glib.h:
      	* glib/dbus-gmain.c: (add_timeout), (wakeup_main), (create_source),
      	(dbus_connection_setup_with_g_main),
      	(dbus_server_setup_with_g_main):
      	* glib/test-dbus-glib.c: (main):
      	* glib/test-thread-client.c: (main):
      	* glib/test-thread-server.c: (new_connection_callback), (main):
      	* tools/dbus-monitor.c: (main):
      
      	Added a GMainContext argument to dbus_connection_setup_with_g_main()
      	and dbus_server_setup_with_g_main().
      c2a28557
  18. 18 Apr, 2003 1 commit
    • Havoc Pennington's avatar
      2003-04-18 Havoc Pennington <hp@pobox.com> · 3df260c0
      Havoc Pennington authored
      	* glib/dbus-gmain.c: adapt to watch changes
      
      	* bus/bus.c, bus/activation.c, etc.: adjust to watch changes
      
      	* dbus/dbus-server.h: remove dbus_server_handle_watch
      
      	* dbus/dbus-connection.h: remove dbus_connection_handle_watch
      
      	* dbus/dbus-watch.c (dbus_watch_handle): change DBusWatch to work
      	like DBusTimeout, so we don't need dbus_connection_handle_watch
      	etc.
      3df260c0
  19. 16 Mar, 2003 1 commit
    • Havoc Pennington's avatar
      2003-03-16 Havoc Pennington <hp@pobox.com> · ebb57e71
      Havoc Pennington authored
      	* dbus/dbus-string.c (_dbus_string_validate_utf8): oops, unbreak
      	this. always run the test suite before commit...
      
      	* bus/*: adapt to DBusConnection API changes
      
      	* glib/dbus-gmain.c: adapt to DBusConnection API changes,
      	requires renaming stuff to avoid dbus_connection_dispatch name
      	conflict.
      
      	* dbus/dbus-transport.c (_dbus_transport_queue_messages): new
      	function
      
      	* dbus/dbus-message.c (_dbus_message_loader_queue_messages):
      	separate from _dbus_message_loader_return_buffer()
      
      	* dbus/dbus-connection.c (dbus_connection_get_n_messages): remove
      	this, because it's now always broken to use; the number of
      	messages in queue vs. the number still buffered by the message
      	loader is undefined/meaningless. Should use
      	dbus_connection_get_dispatch_state().
      	(dbus_connection_dispatch): rename from
      	dbus_connection_dispatch_message
      ebb57e71
  20. 15 Mar, 2003 2 commits
    • Havoc Pennington's avatar
      2003-03-15 Havoc Pennington <hp@pobox.com> · f587ce78
      Havoc Pennington authored
      	Make it pass the Hello handling test including all OOM codepaths.
      	Now to do other messages...
      
      	* bus/services.c (bus_service_remove_owner): fix crash when
      	removing owner from an empty list of owners
      	(bus_registry_ensure): don't leave service in the list of
      	a connection's owned services if we fail to put the service
      	in the hash table.
      
      	* bus/connection.c (bus_connection_preallocate_oom_error): set
      	error flag on the OOM error.
      
      	* dbus/dbus-connection.c (_dbus_connection_new_for_transport):
      	handle _dbus_transport_set_connection failure
      
      	* dbus/dbus-transport-unix.c (_dbus_transport_new_for_fd): modify
      	to create watches up front and simply enable/disable them as
      	needed.
      	(unix_connection_set): this can now fail on OOM
      
      	* dbus/dbus-timeout.c, dbus/dbus-watch.c: add concept
      	of enabling/disabling a watch or timeout.
      
      	* bus/loop.c (bus_loop_iterate): don't touch disabled
      	watches/timeouts
      
      	* glib/dbus-gmain.c: adapt to enable/disable watches and timeouts
      f587ce78
    • Havoc Pennington's avatar
      2003-03-14 Havoc Pennington <hp@redhat.com> · 4c95a978
      Havoc Pennington authored
      	* dbus/dbus-memory.c: add a "detect buffer overwrites on free"
      	cheesy hack
      
      	* dbus/dbus-transport-debug.c: rework this a good bit to be
      	less complicated. hopefully still works.
      
      	* dbus/dbus-server-debug.c (handle_new_client): remove timeout
      	manually
      
      	* glib/dbus-gmain.c (timeout_handler): don't remove timeout
      	after running it
      
      	* dbus/dbus-message.c (dbus_message_copy): rename from
      	dbus_message_new_from_message, fix it up to copy
      	all the message fields, add test case
      
      	* bus/dispatch.c (bus_dispatch_test): add some more test code,
      	not quite passing yet
      4c95a978
  21. 14 Mar, 2003 1 commit
    • Havoc Pennington's avatar
      2003-03-13 Havoc Pennington <hp@redhat.com> · 3bea9353
      Havoc Pennington authored
      	* dbus/dbus-timeout.c (_dbus_timeout_list_set_functions): handle
      	out of memory
      
      	* dbus/dbus-watch.c (_dbus_watch_list_set_functions): handle out
      	of memory
      
      	* dbus/dbus-connection.h: Make AddWatchFunction and
      	AddTimeoutFunction return a bool so they can fail on out-of-memory
      
      	* bus/bus.c (bus_context_new): set up timeout handlers
      
      	* bus/connection.c (bus_connections_setup_connection): set up
      	timeout handlers
      
      	* glib/dbus-gmain.c: adapt to the fact that set_functions stuff
      	can fail
      
      	* bus/bus.c (bus_context_new): adapt to changes
      
      	* bus/connection.c: adapt to changes
      
      	* test/watch.c: adapt to DBusWatch changes
      
      	* bus/dispatch.c (bus_dispatch_test): started adding this but
      	didn't finish
      3bea9353
  22. 26 Feb, 2003 2 commits
    • Alexander Larsson's avatar
      2003-02-26 Alexander Larsson <alexl@redhat.com> · 89e6dfd2
      Alexander Larsson authored
      	* configure.in:
      	Set DBUS_GLIB_THREADS_LIBS for apps using gthread-2.0
      
      	* dbus/dbus-connection.c:
      	* dbus/dbus-connection.h:
      	Fix _dbus_connection_acquire_io_path and _dbus_connection_acquire_dispatch.
      	Add dbus_connection_set_wakeup_main_function and use it when queueing
      	incoming and outgoing messages.
      
      
      	* dbus/dbus-dataslot.c:
      	Threadsafe usage of DBusDataSlotAllocator
      
      	* dbus/dbus-message.c: (dbus_message_get_args_iter):
      	dbus_new can fail.
      
      	* dbus/dbus-server-unix.c:
      	Add todo comment
      
      	* glib/dbus-gmain.c:
      	Implement the new wakeup functions for glib.
      
      	* glib/Makefile.am:
      	* glib/test-thread-client.c:
      	* glib/test-thread-server.c:
      	* glib/test-thread.h:
      	Initial cut at some thread test code. Not really done yet.
      89e6dfd2
    • Havoc Pennington's avatar
      2003-02-26 Havoc Pennington <hp@pobox.com> · 72654234
      Havoc Pennington authored
      	* dbus/dbus-connection.c
      	(dbus_connection_send_message_with_reply_and_block): fix crash
      	where we ref'd the outgoing message instead of the returned reply
      
      	* dbus/dbus-transport-unix.c (do_authentication): check read watch
      	at the end of this function, so if we didn't need to read for
      	authentication, we reinstall it for receiving messages
      
      	* dbus/dbus-message.c (dbus_message_new_reply): allow replies to
      	a NULL sender for peer-to-peer case
      
      	* dbus/dbus-transport-unix.c (check_read_watch): handle
      	!authenticated case correctly
      
      	* glib/dbus-gmain.c: add support for DBusServer
      
      	* dbus/dbus-server.c: add data slot support
      
      	* glib/dbus-gmain.c (dbus_connection_setup_with_g_main): check
      	return values and handle errors
      
      	* dbus/dbus-dataslot.c: factor out the data slot stuff from
      	DBusConnection
      
      	* Doxyfile.in (INPUT): add glib subdir
      
      	* glib/dbus-gmain.c (dbus_connection_setup_with_g_main): rename
      	setup_with_g_main instead of hookup_with_g_main; write docs
      72654234
  23. 16 Feb, 2003 1 commit
    • Anders Carlsson's avatar
      2003-02-16 Anders Carlsson <andersca@codefactory.se> · bf07fc88
      Anders Carlsson authored
      	* dbus/dbus-auth.c: (client_try_next_mechanism):
      	Plug a leak.
      
      	* dbus/dbus-threads.c: (dbus_condvar_wait_timeout):
      	Return TRUE if there's no thread implementation around.
      
      	* glib/dbus-gmain.c: (free_source),
      	(dbus_connection_hookup_with_g_main):
      	Make sure to remove the GSource when the connection is finalized.
      bf07fc88
  24. 15 Feb, 2003 1 commit
    • Alexander Larsson's avatar
      2003-02-15 Alexander Larsson <alexl@redhat.com> · fe401894
      Alexander Larsson authored
      	* dbus/dbus-threads.c:
      	* dbus/dbus-threads.h:
      	Add condvars. Remove static mutext from API.
      	Implement static mutexes by initializing them from threads_init.
      
      	* glib/dbus-gthread.c:
      	* qt/dbus-qthread.cpp:
      	Update with the thread api changes.
      
      
      	* dbus/dbus-list.c:
      	* dbus/dbus-list.h:
      	Turn StaticMutex into normal mutex + init function.
      	Export new functions _dbus_list_alloc_link, _dbus_list_free_link,
      	_dbus_list_append_link, _dbus_list_prepend_link
      
      
      	* dbus/dbus-sysdeps.c:
      	* dbus/dbus-sysdeps.h:
      	New type dbus_atomic_t, and new functions _dbus_atomic_inc,
      	_dbus_atomic_dec. Only slow fallback implementation at the moment.
      
      	* dbus/dbus-protocol.h:
      	Add DBUS_MESSAGE_LOCAL_DISCONNECT define
      
      	* dbus/dbus-message.c:
      	Make ref/unref atomic.
      	Fix some docs.
      
      	* dbus/dbus-connection-internal.h:
      	* dbus/dbus-connection.c:
      	* dbus/dbus-connection.h:
      	Make threadsafe.
      	Change _peek to _borrow,_return & _steal_borrowed.
      	Change disconnect callback to event.
      	Make dbus_connection_dispatch_messages reentrant.
      
      	* dbus/dbus-transport.c:
      	Don't ref the connection on calls to the transport
      	implementation.
      
      	* dbus/dbus-message-handler.c:
      	Make threadsafe.
      
      	* glib/dbus-gmain.c:
      	Don't use peek_message anymore
      
      	* test/Makefile.am:
      	* test/debug-thread.c:
      	* test/debug-thread.h:
      	Simple thread implementation that asserts() on deadlocks in
      	single-threaded code.
      
      	* test/bus-test.c:
      	(main) Call debug_threads_init.
      
      	* test/watch.c:
      	Use disconnect message instead of disconnect callback.
      
      	* bus/connection.c:
      	* bus/connection.h:
      	Don't call dbus_connection_set_disconnect_function. Instead export
      	bus_connection_disconnect.
      
      	* bus/dispatch.c:
      	Call bus_connection_disconnect when we get a disconnected message.
      fe401894
  25. 13 Feb, 2003 1 commit
  26. 01 Feb, 2003 1 commit
    • Alexander Larsson's avatar
      2003-02-02 Alexander Larsson <alexl@redhat.com> · f0238955
      Alexander Larsson authored
      	* dbus/dbus-watch.c (dbus_watch_get_flags):
      	Add note in the docs that ERROR or HANGUP won't be returned
      	and are assumed always on.
      
      	* glib/dbus-gmain.c (add_watch):
      	Always add IO_ERR | IO_HUP
      
      	* dbus/dbus-message.h:
      	Add semicolon after dbus_message_iter_get_string_array().
      	Makes qt code build again
      f0238955
  27. 26 Jan, 2003 1 commit
  28. 25 Jan, 2003 1 commit
    • Anders Carlsson's avatar
      2003-01-25 Anders Carlsson <andersca@codefactory.se> · f7867d88
      Anders Carlsson authored
      	* glib/dbus-gmain.c: (dbus_connection_prepare),
      	(dbus_connection_check), (dbus_connection_dispatch), (add_watch),
      	(remove_watch), (dbus_connection_hookup_with_g_main):
      	Rewrite the glib handling to use its own GSource instead of a
      	GIOChannel so we can catch messages put in the queue while waiting
      	for a reply.
      f7867d88
  29. 24 Jan, 2003 1 commit
    • Anders Carlsson's avatar
      2003-01-25 Anders Carlsson <andersca@codefactory.se> · a16e83f4
      Anders Carlsson authored
      	* bus/connection.c: (bus_connection_foreach):
      	* bus/connection.h:
      	Add new bus_connection_foreach function.
      
      	* bus/driver.c: (send_one_message), (bus_driver_broadcast_message):
      	Add function that broadcasts a message to all clients.
      
      	(bus_driver_send_service_created), (bus_driver_handle_hello),
      	(bus_driver_send_welcome_message),
      	(bus_driver_handle_list_services), (bus_driver_message_handler):
      	Implement functions that take care of listing services, and notifying
      	clients when new services are created.
      
      	* bus/services.c: (bus_services_list):
      	* bus/services.h:
      	Add new function that returns an array of strings with the currently
      	registered services.
      
      	* glib/dbus-glib.h:
      	* glib/dbus-gmain.c:
      	Update copyright year.
      a16e83f4
  30. 21 Jan, 2003 1 commit
    • Anders Carlsson's avatar
      2003-01-21 Anders Carlsson <andersca@codefactory.se> · 4a85d321
      Anders Carlsson authored
      	* dbus/dbus-connection.c: (dbus_connection_send_message):
      	Add a new client_serial parameter.
      
      	(dbus_connection_send_message_with_reply):
      	Remove a @todo since we've implemented the blocking function.
      
      	(dbus_connection_send_message_with_reply_and_block):
      	New function that sends a message and waits for a reply and
      	then returns the reply.
      
      	* dbus/dbus-connection.h:
      	Add new functions.
      
      	* dbus/dbus-errors.c: (dbus_result_to_string):
      	* dbus/dbus-errors.h:
      	Add new DBUS_RESULT.
      
      	* dbus/dbus-message-internal.h:
      	* dbus/dbus-message.c: (_dbus_message_get_reply_serial),
      	(_dbus_message_set_sender), (dbus_message_write_header),
      	(dbus_message_new_reply), (decode_header_data),
      	(_dbus_message_loader_return_buffer), (_dbus_message_test):
      	* dbus/dbus-message.h:
      	Add new functions that set the reply serial and sender.
      	Also marshal and demarshal them correctly and add test.
      
      	* dbus/dbus-protocol.h:
      	Add new DBUS_MESSAGE_TYPE_SENDER.
      
      	* glib/dbus-glib.h:
      	* glib/dbus-gmain.c: (watch_callback), (free_callback_data),
      	(add_watch), (remove_watch), (add_timeout), (remove_timeout),
      	(dbus_connection_hookup_with_g_main):
      	* glib/test-dbus-glib.c: (main):
      	Rewrite to use GIOChannel and remove the GSource crack.
      
      	* test/echo-client.c: (main):
      	* test/watch.c: (check_messages):
      	Update for changed APIs
      4a85d321
  31. 24 Dec, 2002 1 commit
    • Havoc Pennington's avatar
      2002-12-24 Havoc Pennington <hp@pobox.com> · 17fbe2b7
      Havoc Pennington authored
      	* glib/dbus-gthread.c: fix include
      
      	* glib/dbus-glib.h: rename DBusMessageHandler for now.
      	I think glib API needs to change, though, as you don't
      	want to use DBusMessageFunction, you want to use the
      	DBusMessageHandler object. Probably
      	dbus_connection_open_with_g_main_loop()
      	and dbus_connection_setup_g_main_loop() or something like that
      	(but think of better names...) that just create a connection
      	that has watch/timeout functions etc. already set up.
      
      	* dbus/dbus-connection.c
      	(dbus_connection_send_message_with_reply): new function just to
      	show how the message handler helps us deal with replies.
      
      	* dbus/dbus-list.c (_dbus_list_remove_last): new function
      
      	* dbus/dbus-string.c (_dbus_string_test): free a string that
      	wasn't
      
      	* dbus/dbus-hash.c: use memory pools for the hash entries
      	(rebuild_table): be more paranoid about overflow, and
      	shrink table when we can
      	(_dbus_hash_test): reduce number of sprintfs and write
      	valid C89. Add tests for case where we grow and then
      	shrink the hash table.
      
      	* dbus/dbus-mempool.h, dbus/dbus-mempool.c: memory pools
      
      	* dbus/dbus-connection.c (dbus_connection_register_handler)
      	(dbus_connection_unregister_handler): new functions
      
      	* dbus/dbus-message.c (dbus_message_get_name): new
      
      	* dbus/dbus-list.c: fix docs typo
      
      	* dbus/dbus-message-handler.h, dbus/dbus-message-handler.c:
      	an object representing a handler for messages.
      17fbe2b7
  32. 16 Dec, 2002 1 commit
    • Anders Carlsson's avatar
      2002-12-16 Anders Carlsson <andersca@codefactory.se> · c531a709
      Anders Carlsson authored
      	* Makefile.am:
      	* configure.in:
      	Add GLib checks and fixup .pc files
      
      	* glib/Makefile.am:
      	* glib/dbus-glib.h:
      	* glib/dbus-gmain.c: (gdbus_connection_prepare),
      	(gdbus_connection_check), (gdbus_connection_dispatch),
      	(gdbus_add_connection_watch), (gdbus_remove_connection_watch),
      	(dbus_connection_gsource_new):
      	* glib/dbus-gthread.c: (dbus_gmutex_new), (dbus_gmutex_free),
      	(dbus_gmutex_lock), (dbus_gmutex_unlock), (dbus_gthread_init):
      	* glib/test-dbus-glib.c: (message_handler), (main):
      	Add GLib support.
      c531a709