dbus/bus
Havoc Pennington 50c25505f6 2003-01-26 Havoc Pennington <hp@pobox.com>
The unit tests pass, but otherwise untested.  If it breaks, the
	tests should have been better. ;-)

	* bus/driver.c (bus_driver_handle_hello): return if we disconnect
	the connection.

	* dbus/dbus-message.c: redo everything so we maintain
	message->header as the only copy of the various fields.
	This avoids the possibility of out-of-memory in some cases,
	for example dbus_message_lock() can't run out of memory anymore,
	and avoids extra copying. Figured I may as well go ahead and do
	this since it was busted for dbus_message_lock to not return
	failure on OOM, and dbus_message_write_header was totally
	unchecked for OOM. Also fixed some random other bugs.

	* dbus/dbus-marshal.c (_dbus_marshal_get_field_end_pos): verify
	that strings are nul-terminated. Also, end_pos can be equal
	to string length just not greater than, I think.
	(_dbus_marshal_set_int32): new function
	(_dbus_marshal_set_uint32): new function
	(_dbus_marshal_set_string): new function

	* dbus/dbus-connection.c (_dbus_connection_new_for_transport): fix
	a warning, init timeout_list to NULL
	(dbus_connection_send_message): don't use uninitialized variable
	"serial"

	* dbus/dbus-string.c (_dbus_string_replace_len): new function
2003-01-26 07:48:16 +00:00
..
.cvsignore 2002-11-24 Havoc Pennington <hp@pobox.com> 2002-11-25 05:13:09 +00:00
connection.c 2003-01-25 Anders Carlsson <andersca@codefactory.se> 2003-01-25 20:53:53 +00:00
connection.h 2003-01-25 Anders Carlsson <andersca@codefactory.se> 2003-01-24 23:51:59 +00:00
dispatch.c 2003-01-25 Anders Carlsson <andersca@codefactory.se> 2003-01-25 20:53:53 +00:00
dispatch.h 2003-01-25 Anders Carlsson <andersca@codefactory.se> 2003-01-25 20:53:53 +00:00
driver.c 2003-01-26 Havoc Pennington <hp@pobox.com> 2003-01-26 07:48:16 +00:00
driver.h 2003-01-25 Anders Carlsson <andersca@codefactory.se> 2003-01-25 20:53:53 +00:00
loop.c 2003-01-05 Havoc Pennington <hp@pobox.com> 2003-01-06 01:08:14 +00:00
loop.h 2003-01-04 Havoc Pennington <hp@pobox.com> 2003-01-04 20:29:46 +00:00
main.c 2003-01-21 Anders Carlsson <andersca@codefactory.se> 2003-01-21 12:42:33 +00:00
Makefile.am 2003-01-25 Anders Carlsson <andersca@codefactory.se> 2003-01-25 20:53:53 +00:00
services.c 2003-01-25 Anders Carlsson <andersca@codefactory.se> 2003-01-24 23:51:59 +00:00
services.h 2003-01-25 Anders Carlsson <andersca@codefactory.se> 2003-01-24 23:51:59 +00:00