1. 15 Jul, 2008 3 commits
  2. 12 Jul, 2008 1 commit
  3. 07 Jun, 2008 2 commits
  4. 05 Jun, 2008 1 commit
    • Colin Walters's avatar
      Bug 15740: Solaris/ADT auditing support (simon zheng) · ab1eb1fd
      Colin Walters authored
      	* bus/driver.c: Add GetAdtAuditSessionData method
      	which returns audit data for a connection.
      	* configure.in: Detect ADT auditing support
      	* dbus/dbus-auth.c: Read ADT auditing creds.
      	* dbus/dbus-connection.c: Implement
      	dbus_connection_get_adt_audit_session_data.
      	* dbus/dbus-connection.h: Export it.
      	* dbus/dbus-credentials.c: Add support for
      	gathering adt_audit_data and retrieving it
      	via _dbus_credentials_get_adt_audit_data.
      	* dbus/dbus-credentials.h: Add
      	DBUS_CREDENTIAL_ADT_AUDIT_DATA_ID.
      	* dbus/dbus-protocol.h: New error
      	DBUS_ERROR_ADT_AUDIT_DATA_UNKNOWN.
      	* dbus/dbus-sysdeps.c: Support for reading
      	audit credentials via ADT API.
      	* dbus/dbus-transport.c: New function
      	_dbus_transport_get_adt_audit_session_data
      	to retrieve credentials.
      	* dbus/dbus-transport.h: Export it.
      ab1eb1fd
  5. 31 May, 2008 3 commits
  6. 30 May, 2008 5 commits
    • Colin Walters's avatar
      Bug 15570: Reset initialized state on dbus_shutdown (Scott James Remnant) · fd32a72b
      Colin Walters authored
      	* dbus/dbus-bus.c (addresses_shutdown_func): Reset initialized back
       	to FALSE after cleaning up the address list so that it will be
       	reinitialized again if D-Bus is used after dbus_shutdown()
      	* test/name-test/test-privserver-client.c: Uncomment part of
      	test which should now pass.
      fd32a72b
    • Colin Walters's avatar
      Add "PrivServer" test which exercises DBusServer and dbus_shutdown · 5e359834
      Colin Walters authored
      	* test/data/valid-service-files/org.freedesktop.DBus.TestSuite.PrivServer.service.in:
      	New service file for PrivServer.
      	* configure.in: Generate it.
      	* test/name-test/Makefile.am: Build test-privserver and
      	test-privserver-client.
      	* test/name-test/test-privserver.c: Use DBusServer to
      	serve a private connection.
      	* test/name-test/test-privserver-client.c: Connect
      	via session bus and get address of private server,
      	exercise dbus_shutdown().
      	* test/name-test/run-test.sh: Run it.
      5e359834
    • Colin Walters's avatar
      Add noinst convenience test library, add a test-shutdown · a73a79a1
      Colin Walters authored
      	* test/Makefile.am: New convenience library
      	libdbus_testutils_la.  Reorder build so that
      	test/ gets built before test/name-test so
      	name-test files can depend on it.
      	* test/name-test/test-shutdown.c: New file,
      	exercises dbus_shutdown () a bit.
      	* test/name-test/run-test.sh Run test-shutdown.
      	* test/test-utils.h: In some cases we already have
      	DBUS_COMPILATION defined, avoid double definition
      	warning.
      a73a79a1
    • Colin Walters's avatar
      Add test library functions for using DBusServer · 9d8989cf
      Colin Walters authored
      	* test/test-utils.h, test/test-utils.c: Add functions
      	which hook up a DBusServer to a DBusLoop, useful
      	for test cases.
      9d8989cf
    • Colin Walters's avatar
      Bug 15588: Fix typo in #ifdef for userdb cache (Scott James Remnant) · 80306140
      Colin Walters authored
      	* dbus/dbus-userdb-util.c, dbus/dbus-userdb.c: Correct name of
       	macro used in #ifdef block to match that defined by configure,
       	otherwise the userdb cache will never be enabled.
      80306140
  7. 28 May, 2008 1 commit
  8. 17 May, 2008 2 commits
  9. 16 Apr, 2008 2 commits
  10. 04 Apr, 2008 6 commits
  11. 03 Apr, 2008 5 commits
  12. 01 Apr, 2008 1 commit
    • Frederic Crozat's avatar
      Fixes for the inotify configuration file monitor backend. · 68f69d38
      Frederic Crozat authored
      2008-04-01  Timo Hoenig  <thoenig@suse.de>
      
      Patch from Frederic Crozat <fcrozat@mandriva.com>
      
      * bus/dir-watch-inotify.c (bus_watch_directory): Only monitor
        IN_CLOSE_WRITE, IN_DELETE, IN_MOVE_TO and IN_MOVE_FROM events. This
        way, only atomic changes to configuration file are monitored.
      * bus/dir-watch-inotify.c (_handle_inotify_watch): Fix typo in
        _dbus_verbose function call
      * bus/dir-watch-inotify.c (bus_drop_all_directory_watches): Use
        _dbus_strerror instead of perror
      68f69d38
  13. 31 Mar, 2008 2 commits
  14. 27 Mar, 2008 1 commit
  15. 26 Mar, 2008 1 commit
    • Colin Walters's avatar
      Set default exit_on_disconnect after registration · 52ea0f2c
      Colin Walters authored
      2008-03-26  Colin Walters  <walters@verbum.org>
      	Patch from Scott James Remnant <scott@netsplit.com>
      
      	* dbus/dbus-bus.c: Set default exit_on_disconnect after registration with
      	the bus, not before.  This ensures that programs which wish to set
      	exit_on_disconnect to FALSE will not be terminated if the bus exits
      	during registration.  (FDO Bug #15112)
      52ea0f2c
  16. 04 Mar, 2008 4 commits
    • Havoc Pennington's avatar
      Make BusExpireList an opaque data type · a3740411
      Havoc Pennington authored
      2007-11-08  Havoc Pennington  <hp@redhat.com>
      
      	* bus/connection.c, bus/expirelist.c: Make the BusExpireList
      	struct opaque, adding accessors for manipulating the list. In this
      	commit there should be no change in functionality or behavior. The
      	purpose of this change is to improve encapsulation prior to fixing
      	some bugs Kimmo Hämäläinen found where the timeout is not properly
      	updated, since we need to e.g. take some action whenever adding
      	and removing stuff from the expire list.
      a3740411
    • John Palmieri's avatar
      fix broken poll on Mac OSX - build patch by Benjamin Reed · d2515148
      John Palmieri authored
      * configure.in: check for OSX's deadlocking poll
      * dbus/dbus-sysdeps-unix.c (_dbus_poll): if we have a broken poll
        don't use poll
      d2515148
    • John Palmieri's avatar
      check if the linker supports a flag instead of just checking for GNU ld · bd561f9a
      John Palmieri authored
      * configure.in: move AM_PROG_LIBTOOL to the top
        (ld_supports_flag): new function for checking if the linker supports
        a given flag
      bd561f9a
    • John Palmieri's avatar
      add a changelog for Benjamin Reed's git patch (OS X build fixes) · d511324f
      John Palmieri authored
      * configure.in: Platform build fixes for Mac OS X
        the Darwin linker does not understand the -z option; wrap it in
        a check for $with_gnu_ld.
        environ is only available at runtime, so you need to make a
        reference to _NSGetEnviron instead for symbols to resolve properly.
      d511324f