1. 09 Nov, 2006 1 commit
  2. 08 Nov, 2006 6 commits
  3. 07 Nov, 2006 3 commits
  4. 06 Nov, 2006 1 commit
  5. 03 Nov, 2006 3 commits
  6. 02 Nov, 2006 5 commits
  7. 01 Nov, 2006 1 commit
    • John Palmieri's avatar
      * configure.in: expose DBUS_DATADIR · 5640f7a5
      John Palmieri authored
      * bus/config-parser.c: add the standard_session_servicedirs element
        to the parser
        (bus_config_parser_content): process the standard_session_servicedirs
        element by getting the standard directories from sysdeps and merging
        them into the service directory list
        (test_default_session_servicedirs): make sure we get what we expect
      * bus/session.conf.in: replace the servicedir tag with the
        standard_session_servicedirs tag
      * dbus/dbus-list.h: remove the typedef of DBusList and place it in
        dbus-sysdeps.h to avoid circular header dependencies
      * dbus/dbus-sysdeps.h: add the typedef of DBusList
      * dbus/dbus-sysdeps-unix.c (split_paths_and_append): utility function
        which takes a string of directories delimited by colons, parses them
        out, appends a suffix and puts them in a list ignoring empty elements
        (_dbus_get_standard_session_servicedirs): returns the standard
        directories for a session bus to look for service activation files
        on Unix which includes the XDG_DATA_HOME, XDG_DATA_DIRS and
        DBUS_DATADIR directories
      * test/data/valid-config-files/many-rules.conf: add the
        standard_session_servicedirs tag to the valid config file tests
  8. 30 Oct, 2006 1 commit
  9. 28 Oct, 2006 2 commits
    • Havoc Pennington's avatar
      2006-10-27 Havoc Pennington <hp@redhat.com> · abfdfb2d
      Havoc Pennington authored
      	* dbus/dbus-connection.c (dbus_connection_open_private): document
      	how to choose shared vs. private connections
    • Havoc Pennington's avatar
      2006-10-27 Havoc Pennington <hp@redhat.com> · eaefe03a
      Havoc Pennington authored
      	* dbus/dbus-test.c: enclose more of the file in the
      	DBUS_BUILD_TESTS check.
      	* dbus/dbus-sysdeps-pthread.c (PTHREAD_CHECK): fix for
      	* dbus/dbus-connection.c (dbus_connection_get_unix_user): document
      	that it only works on the server side
      	* dbus/dbus-bus.c: add a global lock covering the BusData we
      	attach to each connection
      	(internal_bus_get): lock our access to the BusData
      	(dbus_bus_register): lock the entire registration process
      	with _DBUS_LOCK(bus_datas). If we get the lock and
      	registration is already complete, silently return (vs. previous
      	behavior of aborting).
      	(dbus_bus_set_unique_name): lock the BusData
      	(dbus_bus_get_unique_name): lock the BusData
  10. 27 Oct, 2006 5 commits
    • John Palmieri's avatar
      * bus/config-parser.c (service_dirs_find_dir, · feb7d3a0
      John Palmieri authored
        service_dirs_append_link_unique_or_free): New static methods
        for only appending unique service directory names into
        the service directory list
        (merge_included, bus_config_parser_content): Only add unique
        service directory names into the list
    • Havoc Pennington's avatar
      2006-10-27 Havoc Pennington <hp@redhat.com> · fd27857e
      Havoc Pennington authored
      	* dbus/dbus-sysdeps-pthread.c: make the "count" and "holder"
      	variables volatile, suggested by Thiago. Document struct fields.
      	(PTHREAD_CHECK): remove pthread error checking if assertions are
      	disabled, should reduce the no-assertions case to the bare
      	minimum code.
    • Havoc Pennington's avatar
      2006-10-26 Havoc Pennington <hp@redhat.com> · fbfec98d
      Havoc Pennington authored
      	* dbus/dbus-sysdeps-pthread.c (_dbus_pthread_mutex_lock): change
      	to be recursive
      	(_dbus_pthread_mutex_unlock): make it recursive
      	(_dbus_pthread_condvar_wait): save/restore the recursion count
      	(_dbus_pthread_condvar_wait_timeout): save/restore the recursion count
    • Havoc Pennington's avatar
      2006-10-26 Havoc Pennington <hp@redhat.com> · bdbbf46c
      Havoc Pennington authored
      	* doc/dbus-specification.xml: clarify the UUID text slightly
      	* dbus/dbus-sysdeps-pthread.c: check for and mostly abort on
      	pthread errors. Add DBusMutexPThread and DBusCondVarPThread
      	in preparation for being able to extend them for e.g. recursive
    • Havoc Pennington's avatar
      2006-10-26 Havoc Pennington <hp@redhat.com> · 5886f532
      Havoc Pennington authored
              * dbus/dbus-threads.[hc]: Documentation improvements. Clarify how
      	condition variables relate to recursive mutexes.
              * dbus/dbus-sysdeps-pthread.c, dbus/dbus-sysdeps-win-thread.c,
      	dbus/dbus-threads.c: Split the platforms-specific thread
      	implementations into their own files.
      	* dbus/dbus-sysdeps-pthread.c
      	(_dbus_pthread_condvar_wait_timeout): invert the return value, it
      	was backward. Not that anything uses it.
  11. 26 Oct, 2006 5 commits
  12. 25 Oct, 2006 1 commit
  13. 24 Oct, 2006 2 commits
    • David Zeuthen's avatar
      2006-10-24 David Zeuthen <davidz@redhat.com> · 2a78603b
      David Zeuthen authored
              * dbus/dbus-threads.c (init_uninitialized_locks): Fix typo so it's
              _dbus_assert (thread_init_generation != _dbus_current_generation)
              not _dbus_assert (thread_init_generation == _dbus_current_generation)
    • Thiago Macieira's avatar
      * dbus/dbus-sysdeps.h: · 9bb44a47
      Thiago Macieira authored
      	* dbus/dbus-sysdeps-unix.c: Add function
      	_dbus_make_file_world_readable that chmods a file to 0644.
      	* dbus/dbus-sysdeps-unix.c (_dbus_get_autolaunch_address):
              Avoid writing to the static "argv" array, thereby avoiding a
              COW on the child process.
      	* dbus/dbus-internals.c (_dbus_create_uuid_file_exclusively):
              call _dbus_make_file_world_readable on the created file.
  14. 23 Oct, 2006 1 commit
    • David Zeuthen's avatar
      2006-10-23 David Zeuthen <davidz@redhat.com> · cb905b58
      David Zeuthen authored
              * dbus/dbus-memory.c: Use atomic variable to protect
              n_blocks_outstanding otherwise OOM will be reported using SMP on
              some arches
              * bus/dispatch.c: Add missing end of line characters
              * bus/desktop-file.c (parse_section_start, parse_key_value)
              (bus_desktop_file_load): Propertly handle OOM
              * dbus/dbus-threads.c (init_uninitialized_locks): Check that
              thread_init_generation equals _dbus_current_generation, not 0
  15. 22 Oct, 2006 2 commits
    • Havoc Pennington's avatar
      2006-10-22 Havoc Pennington <hp@redhat.com> · 8ea5a533
      Havoc Pennington authored
      	* dbus/dbus-connection-internal.h: move prototype of
      	_dbus_bus_notify_shared_connection_disconnected_unlocked() here so
      	it isn't in a public header and doesn't end up in the DBusBus
      	group in Doxygen
    • Havoc Pennington's avatar
      2006-10-21 Havoc Pennington <hp@redhat.com> · 8de13aed
      Havoc Pennington authored
      	* Makefile.am (EXTRA_DIST): dist cleanup-man-pages.sh so it's in
      	the tarball if packagers want to run it
      	* cleanup-man-pages.sh: Add a script which munges all the internal
      	API man pages out of the Doxygen output. This reduces the size of
      	the installed man pages from 7 to 2 megs, and avoids
      	namespace-polluting pages. Right now (like Doxygen) this script
      	isn't in the build, it's something packagers can do manually.
  16. 21 Oct, 2006 1 commit