dbus/test
John (J5) Palmieri 1eae184450 * doc/TODO:
- Remove pending call locking todo item
- dbus_connection_open now holds hard ref.  Remove todo item
- do proper locking on _dbus_bus_check_connection_and_unref
  and handle DBUS_BUS_STARTER. Remove todo item
- Warn on closing of a shared connection.  Remove todo item

* bus/bus.c, bus/connection.c, bus/dispatch.c, dbus/dbus-bus.c,
  dbus/dbus-connection.c: Use the dbus_connection_close_internal
  so we don't get the warning when closing shared connections

* test/test-service.c, test/test-shell-service.c: Applications
  don't close shared connections themselves so we unref instead of
  close

* test/test-utils.c (test_connection_shutdown): Close the connection

* dbus/dbus-bus.c (_dbus_bus_check_connection_and_unref): Changed to
  _dbus_bus_check_connection_and_unref_unlocked since we only call this
  method on a locked connection.
  Make sure we call _dbus_connection_unref_unlocked instead of
  dbus_connection_unref also.
  Handle DBUS_BUS_STARTER correctly

* dbus/dbus-connection.c (connection_record_shared_unlocked):
  Mark as shared and hard ref the connection
  (connection_forget_shared_unlocked): Remove the hard ref from the
  connection
  (_dbus_connection_close_internal_and_unlock):  New internal function
  which takes a locked connection and unlocks it after closing it
  (_dbus_connection_close_internal): New internal function which acts
  like the origonal dbus_connection_close method by grabbing a connection
  lock and calling _dbus_connection_close_internal_and_unlock
  (dbus_connection_close): Public close method, warns when the app
  trys to close a shared connection
2006-09-06 22:00:07 +00:00
..
data * Remove all bindings 2006-07-14 16:20:12 +00:00
glib * Remove all bindings 2006-07-14 16:20:12 +00:00
name-test * configure.in, dbus/Makefile.am, test/name-test/run-test.sh, 2006-08-25 19:50:16 +00:00
.cvsignore * dbus/dbus-marshal-validate.c, doc/dbus-specification.xml, 2005-09-12 08:19:33 +00:00
break-loader.c 2005-01-15 Havoc Pennington <hp@redhat.com> 2005-01-15 07:15:38 +00:00
decode-gcov.c 2004-12-24 Havoc Pennington <hp@redhat.com> 2004-12-24 17:54:01 +00:00
Makefile.am * test/Makefile.am: change find to use syntax that works with non 2006-08-25 19:59:49 +00:00
shell-test.c Patches by Kjartan Maraas <kmaraas at gnome dot org> 2006-08-14 19:11:35 +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-names.c Patches by Kjartan Maraas <kmaraas at gnome dot org> 2006-08-14 19:11:35 +00:00
test-segfault.c * dbus/dbus-auth.c, dbus/dbus-connection.c, dbus/dbus-keyring.c, 2005-11-30 19:32:27 +00:00
test-service.c * doc/TODO: 2006-09-06 22:00:07 +00:00
test-shell-service.c * doc/TODO: 2006-09-06 22:00:07 +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 * doc/TODO: 2006-09-06 22:00:07 +00:00
test-utils.h 2003-04-07 Havoc Pennington <hp@redhat.com> 2003-04-07 23:28:16 +00:00
unused-code-gc.py 2005-01-16 Havoc Pennington <hp@redhat.com> 2005-01-17 03:53:40 +00:00