dbus/test
Havoc Pennington 7caf646fdf 2003-04-09 Havoc Pennington <hp@redhat.com>
* test/test-utils.c: use dispatch status function to fix this up

	* bus/connection.c (connection_watch_callback): don't dispatch
	from here
	(connection_timeout_callback): don't dispatch from here
	(bus_connections_setup_connection): set the dispatch status function
	(bus_connection_disconnected): unset it

	* dbus/dbus-mainloop.c (_dbus_loop_queue_dispatch): new function
	used to add a connection to be dispatched
	(_dbus_loop_iterate): do the dispatching at the end of each
	iteration

	* dbus/dbus-connection.c
	(dbus_connection_set_dispatch_status_function): new function
	allowing us to fix up main loop usage
	(_dbus_connection_last_unref): free all the various function
	user data
	(dbus_connection_dispatch): call the DispatchStatusFunction
	whenever this function returns
	(dbus_connection_handle_watch): call DispatchStatusFunction
	(dbus_connection_send_with_reply_and_block): call DispatchStatusFunction
	(reply_handler_timeout): call DispatchStatusFunction
	(dbus_connection_flush): call DispatchStatusFunction
2003-04-09 22:15:05 +00:00
..
data 2003-04-08 Havoc Pennington <hp@redhat.com> 2003-04-08 22:07:09 +00:00
.cvsignore 2003-02-16 Havoc Pennington <hp@pobox.com> 2003-02-16 07:20:54 +00:00
break-loader.c 2003-03-31 Havoc Pennington <hp@redhat.com> 2003-03-31 20:56:29 +00:00
decode-gcov.c 2003-04-05 Havoc Pennington <hp@pobox.com> 2003-04-05 17:04:23 +00:00
Makefile.am 2003-04-06 Havoc Pennington <hp@pobox.com> 2003-04-07 01:07:13 +00:00
spawn-test.c 2003-04-04 Havoc Pennington <hp@redhat.com> 2003-04-05 00:37:17 +00:00
test-exit.c 2003-04-04 Havoc Pennington <hp@redhat.com> 2003-04-05 00:37:17 +00:00
test-segfault.c 2003-04-04 Havoc Pennington <hp@redhat.com> 2003-04-05 00:37:17 +00:00
test-service.c 2003-04-09 Havoc Pennington <hp@redhat.com> 2003-04-09 20:31:21 +00:00
test-sleep-forever.c 2003-04-04 Havoc Pennington <hp@redhat.com> 2003-04-05 00:37:17 +00:00
test-utils.c 2003-04-09 Havoc Pennington <hp@redhat.com> 2003-04-09 22:15:05 +00:00
test-utils.h 2003-04-07 Havoc Pennington <hp@redhat.com> 2003-04-07 23:28:16 +00:00
unbase64.c 2003-03-31 Havoc Pennington <hp@redhat.com> 2003-03-31 20:56:29 +00:00