dbus/bus
Havoc Pennington d4e80132af 2003-05-11 Havoc Pennington <hp@pobox.com>
* dbus/dbus-marshal.c (_dbus_marshal_validate_arg): fix to avoid
	calling _dbus_marshal_validate_arg() for every byte in a byte
	array, etc.

	* dbus/dbus-message-handler.c: use atomic reference counting to
	reduce number of locks slightly; the global lock in here sucks

	* dbus/dbus-connection.c
	(_dbus_connection_update_dispatch_status_and_unlock): variant of
	update_dispatch_status that can be called with lock held; then use
	in a couple places to reduce locking/unlocking
	(dbus_connection_send): hold the lock over the whole function
	instead of acquiring it twice.

	* dbus/dbus-timeout.c (_dbus_timeout_new): handle OOM

	* bus/connection.c (bus_connections_setup_connection): fix access
	to already-freed memory.

	* dbus/dbus-connection.c: keep a little cache of linked list
	nodes, to avoid using the global linked list alloc lock in the
	normal send-message case. Instead we just use the connection lock
	that we already have to take.

	* dbus/dbus-list.c (_dbus_list_find_last): new function

	* dbus/dbus-sysdeps.c (_dbus_atomic_inc, _dbus_atomic_dec):
	change to use a struct for the atomic type; fix docs,
	they return value before increment, not after increment.

	* dbus/dbus-string.c (_dbus_string_append_4_aligned)
	(_dbus_string_append_8_aligned): new functions to try to
	microoptimize this operation.
	(reallocate_for_length): break this out of set_length(), to
	improve profile info, and also so we can consider inlining the
	set_length() part.

	* dbus/dbus-message.c (dbus_message_new_empty_header): init data
	strings with some preallocation, cuts down on our calls to realloc
	a fair bit. Though if we can get the "move entire string to empty
	string" optimization below to kick in here, it would be better.

	* dbus/dbus-string.c (_dbus_string_move): just call
	_dbus_string_move_len
	(_dbus_string_move_len): add a special case for moving
	an entire string into an empty string; we can just
	swap the string data instead of doing any reallocs.
	(_dbus_string_init_preallocated): new function
2003-05-12 02:44:45 +00:00
..
.cvsignore 2003-04-10 Alexander Larsson <alexl@redhat.com> 2003-04-10 12:09:00 +00:00
activation.c 2003-04-27 Havoc Pennington <hp@pobox.com> 2003-04-27 06:25:42 +00:00
activation.h 2003-04-02 Havoc Pennington <hp@redhat.com> 2003-04-02 20:14:52 +00:00
bus.c 2003-05-04 Havoc Pennington <hp@pobox.com> 2003-05-04 08:54:24 +00:00
bus.h 2003-05-04 Havoc Pennington <hp@pobox.com> 2003-05-04 08:54:24 +00:00
config-loader-expat.c 2003-04-28 Havoc Pennington <hp@redhat.com> 2003-04-28 19:29:42 +00:00
config-loader-libxml.c 2003-03-27 Havoc Pennington <hp@redhat.com> 2003-03-28 00:01:53 +00:00
config-parser.c 2003-04-28 Havoc Pennington <hp@redhat.com> 2003-04-28 19:29:42 +00:00
config-parser.h 2003-04-28 Havoc Pennington <hp@redhat.com> 2003-04-28 19:29:42 +00:00
connection.c 2003-05-11 Havoc Pennington <hp@pobox.com> 2003-05-12 02:44:45 +00:00
connection.h 2003-04-27 Havoc Pennington <hp@pobox.com> 2003-04-27 06:25:42 +00:00
dbus-daemon-1.1.in 2003-05-04 Havoc Pennington <hp@pobox.com> 2003-05-04 08:54:24 +00:00
desktop-file.c 2003-03-31 Havoc Pennington <hp@redhat.com> 2003-03-31 20:56:29 +00:00
desktop-file.h 2003-02-13 Anders Carlsson <andersca@codefactory.se> 2003-02-13 19:06:42 +00:00
dispatch.c 2003-04-27 Havoc Pennington <hp@pobox.com> 2003-04-27 06:25:42 +00:00
dispatch.h 2003-04-13 Havoc Pennington <hp@pobox.com> 2003-04-14 02:29:21 +00:00
driver.c 2003-04-27 Havoc Pennington <hp@pobox.com> 2003-04-27 06:25:42 +00:00
driver.h 2003-03-12 Havoc Pennington <hp@redhat.com> 2003-03-13 00:56:43 +00:00
main.c 2003-05-04 Havoc Pennington <hp@pobox.com> 2003-05-04 08:54:24 +00:00
Makefile.am 2003-05-03 Havoc Pennington <hp@pobox.com> 2003-05-03 23:07:19 +00:00
messagebus.in 2003-04-11 Havoc Pennington <hp@redhat.com> 2003-04-11 20:20:05 +00:00
policy.c 2003-04-27 Havoc Pennington <hp@pobox.com> 2003-04-27 06:25:42 +00:00
policy.h 2003-04-27 Havoc Pennington <hp@pobox.com> 2003-04-27 06:25:42 +00:00
services.c 2003-04-27 Havoc Pennington <hp@pobox.com> 2003-04-27 06:25:42 +00:00
services.h 2003-04-10 Havoc Pennington <hp@redhat.com> 2003-04-11 00:03:06 +00:00
session.conf.in 2003-04-13 Havoc Pennington <hp@pobox.com> 2003-04-14 02:29:21 +00:00
system.conf.in 2003-05-02 Havoc Pennington <hp@redhat.com> 2003-05-02 22:24:32 +00:00
test-main.c 2003-04-14 Havoc Pennington <hp@redhat.com> 2003-04-14 23:52:40 +00:00
test.c 2003-05-04 Havoc Pennington <hp@pobox.com> 2003-05-04 08:54:24 +00:00
test.h 2003-04-14 Havoc Pennington <hp@redhat.com> 2003-04-14 23:52:40 +00:00
utils.c 2003-04-06 Havoc Pennington <hp@pobox.com> 2003-04-06 23:53:27 +00:00
utils.h 2003-04-06 Havoc Pennington <hp@pobox.com> 2003-04-06 23:53:27 +00:00