1. 15 Nov, 2017 1 commit
  2. 17 Jan, 2017 1 commit
  3. 30 Sep, 2016 1 commit
  4. 13 Oct, 2014 1 commit
  5. 27 Nov, 2013 1 commit
  6. 28 Jun, 2013 1 commit
  7. 17 Jun, 2013 2 commits
  8. 10 May, 2013 1 commit
  9. 21 Feb, 2012 2 commits
  10. 04 Jan, 2012 1 commit
    • Simon McVittie's avatar
      Revert all changes since a36d4918 · 5df8c3db
      Simon McVittie authored
      Someone seems to have merged part of master into 1.4. Again. Let's go
      back to the "last known good" point (the branch-point of some 1.4
      branches I had locally), then we can cherry-pick the changes that
      should have gone in.
      5df8c3db
  11. 05 Aug, 2011 1 commit
  12. 26 Jul, 2011 1 commit
  13. 17 Jun, 2010 1 commit
  14. 14 Jun, 2010 1 commit
    • Ralf Habacker's avatar
      Bug 28460 - Refactored dbus configuration access. · 6f9077ee
      Ralf Habacker authored
      Libdbus uses several config variables. On unix these settings are read from
      environment variables by using _dbus_getenv.
      
      On other platforms like wince there are no environment variables available and
      _dbus_getenv needs an emulation for those plattforms (see
      dbus/dbus-sysdeps-wince-glue.c)
      
      To cleanup this emulation the appended patch adds a config api by adding
      _dbus_config_... functions.
      
      Also having all client config related functions listed in one header file
      provides a good overview about which config attributes  are available.
      
      The default implementation retrieves the config values from environment
      variables. For other os this could be easily extended or replaced by.
      6f9077ee
  15. 03 May, 2010 1 commit
  16. 19 Mar, 2010 2 commits
  17. 20 Dec, 2009 1 commit
  18. 14 Jul, 2009 1 commit
  19. 10 Jul, 2009 1 commit
  20. 14 Jul, 2007 1 commit
  21. 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
      cb905b58
  22. 21 Oct, 2006 1 commit
  23. 03 Aug, 2006 1 commit
  24. 16 Jan, 2005 1 commit
    • Havoc Pennington's avatar
      2005-01-16 Havoc Pennington <hp@redhat.com> · 7f9721a6
      Havoc Pennington authored
      	* test/unused-code-gc.py: hacky script to find code that's used
      	only by the bus (not libdbus) or used only by tests or not used at
      	all. It has some false alarms, but looks like we can clean up a
      	lot of size from libdbus.
      
      	* dbus/dbus-sysdeps.c, dbus/dbus-sysdeps-utils.c,
      	dbus/Makefile.am: initially move 10K of binary size out of libdbus
      7f9721a6
  25. 15 Jan, 2005 1 commit
    • Havoc Pennington's avatar
      2005-01-15 Havoc Pennington <hp@redhat.com> · 9c3d566e
      Havoc Pennington authored
      	* Land the new message args API and type system.
      
      	This patch is huge, but the public API change is not
      	really large. The set of D-BUS types has changed somewhat,
      	and the arg "getters" are more geared toward language bindings;
      	they don't make a copy, etc.
      
      	There are also some known issues. See these emails for details
      	on this huge patch:
      	http://lists.freedesktop.org/archives/dbus/2004-December/001836.html
              http://lists.freedesktop.org/archives/dbus/2005-January/001922.html
      
      	* dbus/dbus-marshal-*: all the new stuff
      
      	* dbus/dbus-message.c: basically rewritten
      
      	* dbus/dbus-memory.c (check_guards): with "guards" enabled, init
      	freed blocks to be all non-nul bytes so using freed memory is less
      	likely to work right
      
      	* dbus/dbus-internals.c (_dbus_test_oom_handling): add
      	DBUS_FAIL_MALLOC=N environment variable, so you can do
      	DBUS_FAIL_MALLOC=0 to skip the out-of-memory checking, or
      	DBUS_FAIL_MALLOC=10 to make it really, really, really slow and
      	thorough.
      
      	* qt/message.cpp: port to the new message args API
      	(operator<<): use str.utf8() rather than str.unicode()
      	(pretty sure this is right from the Qt docs?)
      
      	* glib/dbus-gvalue.c: port to the new message args API
      
      	* bus/dispatch.c, bus/driver.c: port to the new message args API
      
      	* dbus/dbus-string.c (_dbus_string_init_const_len): initialize the
      	"locked" flag to TRUE and align_offset to 0; I guess we never
      	looked at these anyhow, but seems cleaner.
      
      	* dbus/dbus-string.h (_DBUS_STRING_ALLOCATION_PADDING):
      	move allocation padding macro to this header; use it to implement
      	(_DBUS_STRING_STATIC): ability to declare a static string.
      
      	* dbus/dbus-message.c (_dbus_message_has_type_interface_member):
      	change to return TRUE if the interface is not set.
      
      	* dbus/dbus-string.[hc]: move the D-BUS specific validation stuff
      	to dbus-marshal-validate.[hc]
      
      	* dbus/dbus-marshal-basic.c (_dbus_type_to_string): move here from
      	dbus-internals.c
      
      	* dbus/Makefile.am: cut over from dbus-marshal.[hc]
      	to dbus-marshal-*.[hc]
      
      	* dbus/dbus-object-tree.c (_dbus_decompose_path): move this
      	function here from dbus-marshal.c
      9c3d566e
  26. 18 Oct, 2004 1 commit
  27. 10 Aug, 2004 1 commit
  28. 02 Dec, 2003 1 commit
  29. 28 Jun, 2003 1 commit
    • Miloslav Trmac's avatar
      2003-06-29 Miloslav Trmac <mitr@volny.cz> · 928d7f3c
      Miloslav Trmac authored
      	* dbus/dbus-memory.c (dbus_realloc): Don't check guards after shrinking
      	the allocated block.
      	(_dbus_memory_test): New function.
      	* dbus/dbus-test.h: Add _dbus_memory_test ().
      	* dbus/dbus-test.c (dbus_internal_do_not_use_run_tests): Call it.
      928d7f3c
  30. 09 May, 2003 1 commit
    • Havoc Pennington's avatar
      2003-05-08 Havoc Pennington <hp@pobox.com> · 27b694f6
      Havoc Pennington authored
      	* dbus/dbus-spawn.c: s/_exit/exit/ because it was keeping gcov
      	data from getting written, and there wasn't a good reason to
      	use _exit really.
      
      	* test/decode-gcov.c (mark_inside_dbus_build_tests): don't count
      	dbus_verbose lines in test coverage
      	(main): add list of functions sorted by # of untested blocks
      	to the coverage report
      
      	* dbus/dbus-mempool.c: put some test-only code in DBUS_BUILD_TESTS
      
      	* dbus/dbus-marshal.c (_dbus_marshal_test): extend test coverage
      
      	* dbus/dbus-message-handler.c (_dbus_message_handler_test):
      	extend test coverage
      
      	* test/data/auth/cancel.auth-script: test canceling an
      	authentication
      
      	* dbus/Makefile.am: remove dbus-server-debug.[hc] for now, as they
      	aren't used. in CVS history if we end up needing them.
      27b694f6
  31. 29 Apr, 2003 1 commit
  32. 05 Apr, 2003 1 commit
  33. 31 Mar, 2003 1 commit
    • Havoc Pennington's avatar
      2003-03-30 Havoc Pennington <hp@pobox.com> · bc86794f
      Havoc Pennington authored
      	* bus/config-parser.c: hacking
      
      	* dbus/dbus-memory.c: don't use DBusList for the list of stuff
      	to shut down, since it could cause weirdness with the DBusList
      	lock
      
      	* dbus/dbus-list.c (_dbus_list_test): add tests for the
      	link-oriented stack routines
      	(alloc_link): free the mempool if the first alloc from it fails
      
      	* dbus/dbus-mempool.c (struct DBusMemBlock): fix alignment issue
      
      	* dbus/dbus-string.c (UNICODE_VALID): sync new version of this
      	from GLib
      	(_dbus_string_skip_white): new
      
      	* doc/config-file.txt (Elements): add <includedir>
      bc86794f
  34. 28 Mar, 2003 2 commits
    • Anders Carlsson's avatar
      2003-03-28 Anders Carlsson <andersca@codefactory.se> · d361874e
      Anders Carlsson authored
      	* dbus/dbus-bus.c: (bus_data_free), (dbus_bus_get):
      	* dbus/dbus-bus.h:
      	Add dbus_bus_get.
      
      	* dbus/dbus-memory.c:
      	Fix a doc comment.
      d361874e
    • Havoc Pennington's avatar
      2003-03-28 Havoc Pennington <hp@pobox.com> · bf993813
      Havoc Pennington authored
      	* bus/test.c (bus_test_flush_bus): remove the sleep from here,
      	I think it may have just been superstition. Not sure.
      
      	* dbus/dbus-string.c (_dbus_string_base64_decode): catch some OOM
      	failures that were not being handled.
      
      	* dbus/dbus-auth.c (process_auth): fix a memleak in OOM handling
      
      	* dbus/dbus-memory.c: add ability to set number of mallocs in a
      	row that will fail on out-of-memory.
      
      	* dbus/dbus-internals.c (_dbus_test_oom_handling): convenience
      	function for testing out-of-memory handling.
      
      	* bus/config-loader-expat.c (memsuite): don't wrap the dbus
      	allocation functions, they do map exactly to the expat ones.
      bf993813
  35. 24 Mar, 2003 1 commit
    • Havoc Pennington's avatar
      2003-03-23 Havoc Pennington <hp@pobox.com> · c3af5ccd
      Havoc Pennington authored
      	* dbus/dbus-threads.c (dbus_mutex_new, dbus_condvar_new): with
      	DBUS_BUILD_TESTS, actually alloc/free a block of memory for
      	the mutex, so we can check for proper memory management
      	and OOM handling.
      
      	* dbus/dbus-dataslot.c: remove the mutex from
      	DBusDataSlotAllocator and lock it manually when using it,
      	to simplify fitting it into the global slots framework.
      
      	* dbus/dbus-threads.c (init_static_locks): rework how we're
      	handling global locks so they are easily shut down.
      
      	* bus/policy.c (bus_policy_append_rule): fix
      
      	* bus/test-main.c (main): check for memleaks
      
      	* dbus/dbus-test.c (dbus_internal_do_not_use_run_tests): make
      	test suite check for memleaks
      
      	* dbus/dbus-memory.c: add support in test mode for tracking
      	number of outstanding blocks
      c3af5ccd
  36. 16 Mar, 2003 1 commit
    • Havoc Pennington's avatar
      2003-03-16 Havoc Pennington <hp@pobox.com> · d1f65c6c
      Havoc Pennington authored
      	* dbus/dbus-bus.c (ensure_bus_data): handle failure to set
      	connection data
      
      	* dbus/dbus-memory.c (_dbus_initialize_malloc_debug): support
      	DBUS_MALLOC_BACKTRACES to print trace when failing an alloc
      d1f65c6c