1. 12 Dec, 2006 6 commits
  2. 19 Nov, 2006 1 commit
  3. 18 Nov, 2006 2 commits
  4. 15 Nov, 2006 2 commits
    • Havoc Pennington's avatar
      2006-11-14 Havoc Pennington <hp@redhat.com> · d3204dc4
      Havoc Pennington authored
      	* dbus/dbus-misc.c, dbus/dbus-misc.h: Move
      	dbus_get_local_machine_id() to its own file, no substantive
      	changes. There are a couple other things we might want to add that
      	are "misc" so moving out of dbus-connection.[hc] which is big
      	enough already.
      d3204dc4
    • Havoc Pennington's avatar
      2006-11-14 Havoc Pennington <hp@redhat.com> · dbc061b8
      Havoc Pennington authored
      	* dbus/dbus-internals.c (_dbus_generate_uuid): The spec said the
      	UUID had the timestamp last, but the implementation had it first;
      	move it to last since I think it's a tiny bit nicer (easier to
      	compare at a glance, faster to sort, less code), and will not
      	cause any practical compatibility problems. Also, always convert
      	the timestamp to big endian.
      
      	* doc/dbus-specification.xml: Clean up the docs on the UUID.
      
      	* tools/dbus-uuidgen.1: more prominently say it is not suitable
      	as a replacement for regular uuidgen/RFC4122.
      dbc061b8
  5. 14 Nov, 2006 1 commit
  6. 10 Nov, 2006 2 commits
  7. 09 Nov, 2006 1 commit
  8. 08 Nov, 2006 6 commits
  9. 07 Nov, 2006 3 commits
  10. 06 Nov, 2006 1 commit
  11. 03 Nov, 2006 3 commits
  12. 02 Nov, 2006 5 commits
  13. 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
      5640f7a5
  14. 30 Oct, 2006 1 commit
  15. 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
      abfdfb2d
    • 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_DISABLE_ASSERT case.
      
      	* 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
      eaefe03a
  16. 27 Oct, 2006 3 commits
    • John Palmieri's avatar
      * bus/config-parser.c (service_dirs_find_dir, · feb7d3a0
      John Palmieri authored
        service_dirs_append_unique_or_free,
        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
      feb7d3a0
    • 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.
      fd27857e
    • 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
      fbfec98d