1. 28 Jun, 2013 1 commit
  2. 14 Jul, 2009 1 commit
  3. 10 Jul, 2009 1 commit
  4. 14 Jul, 2007 1 commit
  5. 05 Feb, 2005 1 commit
    • Havoc Pennington's avatar
      2005-02-05 Havoc Pennington <hp@redhat.com> · 0e53d4ee
      Havoc Pennington authored
      	* dbus/dbus-marshal-validate.c (validate_body_helper): fix crash
      	if the signature of a variant was empty
      	(_dbus_validate_signature_with_reason): catch "(a)" (array inside
      	struct with no element type)
      
      	* dbus/dbus-message-factory.c (generate_uint32_changed): add more
      	mangled messages to break things
      0e53d4ee
  6. 24 Jan, 2005 1 commit
  7. 23 Jan, 2005 2 commits
  8. 16 Jan, 2005 1 commit
    • Havoc Pennington's avatar
      2005-01-16 Havoc Pennington <hp@redhat.com> · 31988af4
      Havoc Pennington authored
              * Add and fix docs according to Doxygen warnings throughout
      	source.
      
      	* dbus/dbus-marshal-recursive.c
      	(_dbus_type_reader_array_is_empty): change this to just call
      	array_reader_get_array_len() and make it static
      
      	* dbus/dbus-message.c (dbus_message_iter_get_element_type): rename
      	from get_array_type
      	(dbus_message_iter_init_append): rename from append_iter_init
      
      	* dbus/dbus-marshal-recursive.c
      	(_dbus_type_reader_get_element_type): rename from
      	_dbus_type_reader_get_array_type
      31988af4
  9. 10 Aug, 2004 1 commit
  10. 20 Jun, 2004 1 commit
    • Havoc Pennington's avatar
      2004-06-20 Havoc Pennington <hp@redhat.com> · 961e6ca4
      Havoc Pennington authored
              * dbus/dbus-glib-error-enum.h: autogenerate the GError enum
      	codes from the dbus error names
      
              * glib/dbus-glib.h: move to subdir dbus/ since it's included
      	as dbus/dbus-glib.h and that breakage is now visible due to
      	including dbus/dbus-glib.h in dbus-glib-lowlevel.h
      
      	* glib/dbus-glib.h: s/gproxy/g_proxy/
      
      	* dbus/dbus-shared.h: new header to hold stuff shared with
      	binding APIs
      
      	* dbus/dbus-protocol.h (DBUS_ERROR_*): move errors here rather
      	than dbus-errors.h
      
      	* glib/dbus-glib.h (dbus_set_g_error): move to
      	dbus-glib-lowlevel.h
      
      	* glib/dbus-glib.h: remove dbus/dbus.h from here; change a bunch
      	of stuff to enable this
      
      	* dbus/dbus-glib-lowlevel.h: put dbus/dbus.h here
      
      	* a bunch of other changes with the same basic "separate glib
      	bindings from dbus.h" theme
      961e6ca4
  11. 02 Dec, 2003 1 commit
  12. 17 Oct, 2003 1 commit
    • Havoc Pennington's avatar
      2003-10-16 Havoc Pennington <hp@redhat.com> · 8a4d94fe
      Havoc Pennington authored
      	* glib/dbus-gtest-main.c: bracket with #ifdef DBUS_BUILD_TESTS
      
      	* Makefile.am (GCOV_DIRS): remove "test", we don't care about test
      	coverage of the tests
      	(coverage-report.txt): don't move the .da and .bbg files around
      8a4d94fe
  13. 05 Sep, 2003 1 commit
  14. 08 Apr, 2003 1 commit
    • Alexander Larsson's avatar
      2003-04-08 Alexander Larsson <alexl@redhat.com> · c5020ac8
      Alexander Larsson authored
      	Implemented recursive types, named types and new-style iters
      
      	* bus/driver.c:
      	* glib/test-thread-client.c: (thread_func):
      	* glib/test-thread-server.c: (handle_test_message):
      	* test/test-service.c: (handle_echo):
      	Update to new api
      
      	* dbus/Makefile.am:
      	* dbus/dbus-dict.c:
      	* dbus/dbus-dict.h:
      	* dbus/dbus.h
      	Remove DBusDict
      
      	* dbus/dbus-internals.c: (_dbus_type_to_string):
      	Update for new types.
      
      	* dbus/dbus-marshal.[ch]:
      	Implement recursive types and the new marshalling format.
      	Remove hardcoded dict marshalling.
      	Marshal named types.
      
      	* dbus/dbus-message-builder.c:
      	Add BYTE_ARRAY.
      	Remove references to old types
      
      	* dbus/dbus-message.[ch]:
      	New non-refcounted iter API that supports recursive iters.
      	Use iters for appending, including support for recursive
      	iters.
      	Add byte and named type support.
      	Update everything to new marshalling formats.
      	Add tests for new API.
      
      	* dbus/dbus-protocol.h:
      	Remove old array types.
      	Add types: BYTE, ARRAY, DICT, NAMED
      
      	* dbus/dbus-string.c:
      	* dbus/dbus-sysdeps.c:
      	Make parse_double locale safe.
      
      	* dbus/dbus-test-main.c:
      	Call setlocale.
      
      	* dbus/dbus-test.c:
      	Kill dict test
      
      	* doc/dbus-specification.sgml:
      	Update spec
      
      	* test/data/incomplete-messages/missing-body.message:
      	* test/data/invalid-messages/bad-boolean.message:
      	* test/data/invalid-messages/bad-boolean-array.message:
      	* test/data/invalid-messages/boolean-array-length-too-long.message-raw:
      	* test/data/invalid-messages/boolean-has-no-value.message-raw:
      	* test/data/invalid-messages/too-short-dict.message:
      	* test/data/valid-messages/dict-simple.message:
      	* test/data/valid-messages/dict.message:
      	* test/data/valid-messages/emptiness.message:
      	* test/data/valid-messages/lots-of-arguments.message:
      	* test/data/valid-messages/no-padding.message:
      	* test/data/valid-messages/recursive-types.message:
      	Add missing NAME fields
      	Fix up dicts & arrays
      
      	* test/data/invalid-messages/dict-with-nil-value.message:
      	Removed, this is not invalid anymore.
      
      	* test/data/valid-messages/recursive-types.message:
      	Add new test for deeply recursive types.
      c5020ac8
  15. 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
  16. 01 Feb, 2003 1 commit
  17. 28 Jan, 2003 1 commit
    • Havoc Pennington's avatar
      2003-01-27 Havoc Pennington <hp@pobox.com> · 05a4ad69
      Havoc Pennington authored
      	* dbus/dbus-mempool.c (time_for_size): replace printf with
      	_dbus_verbose
      
      	* dbus/dbus-message-builder.c (_dbus_message_data_load): allow
      	empty lines; fix the SAVE_LENGTH stuff to be
      	START_LENGTH/END_LENGTH so it actually works; couple other
      	bugfixes
      
      	* test/Makefile.am (dist-hook): add dist-hook for .message files
      
      	* dbus/dbus-string.c (DBUS_STRING_COPY_PREAMBLE): source of a copy
      	can be constant or locked.
      	(_dbus_string_free): allow freeing a const string as
      	documented/intended
      
      	* dbus/dbus-sysdeps.c (_dbus_concat_dir_and_file): utility
      
      	* dbus/dbus-test-main.c (main): take an argument which is the
      	directory containing test data
      
      	* dbus/dbus-message.c (_dbus_message_test): pass a test_data_dir
      	argument to this and load all the messages in test/data/
      	checking that they can be loaded or not loaded as appropriate.
      05a4ad69
  18. 09 Jan, 2003 1 commit
    • Havoc Pennington's avatar
      2003-01-08 Havoc Pennington <hp@pobox.com> · 993be105
      Havoc Pennington authored
      	* dbus/dbus-string.c (_dbus_string_align_length): new function
      
      	* dbus/dbus-test-main.c: move main() for test app here
      	* dbus/dbus-test.c
      	(dbus_internal_symbol_do_not_use_run_tests): we have to export a
      	symbol to run tests, because dbus-test isn't in the main
      	library
      
              Code review nitpicks.
      
      	* dbus/dbus-message.c (dbus_message_write_header): add newlines
      	for people with narrow emacs ;-). Assert client_serial was filled
      	in. Assert message->name != NULL.
      	(dbus_message_append_fields): have "first_field_type" arg separate
      	from va list, needed for C++ binding that also uses varargs IIRC
      	and helps with type safety
      	(dbus_message_new): add @todo about using DBusString to store
      	service/name internally
      	(dbus_message_new): don't leak ->service and ->name on OOM later
      	in the function
      	(dbus_message_unref): free the service name
      	(dbus_message_get_fields): same change to varargs
      	i.e. first_field_type
      	(_dbus_message_loader_return_buffer): assert that the message data
      	is aligned (if not it's a bug in our code). Put in verbose griping
      	about why we set corrupted = TRUE.
      	(decode_header_data): add FIXME that char* is evil.  Was going to
      	add FIXME about evil locale-specific string.h strncmp, but just
      	switched to wacky string-as-uint32 optimization. Move check for
      	"no room for field name" above get_const_data_len() to avoid
      	assertion failure in get_const_data_len if we have trailing 2
      	bytes or the like. Check for service and name fields being
      	provided twice. Don't leak service/name on error. Require field
      	names to be aligned to 4 bytes.
      
      	* dbus/dbus-marshal.c: move byte swap stuff to header
      	(_dbus_pack_int32): uscore-prefix
      	(_dbus_unpack_int32): uscore-prefix
      	(_dbus_unpack_uint32): export
      	(_dbus_demarshal_string): add @todo complaining about use of
      	memcpy()
      	(_dbus_marshal_get_field_end_pos): add @todo about bad error
      	handling allowing corrupt data to go unchecked
      993be105
  19. 21 Nov, 2002 3 commits
    • Havoc Pennington's avatar
      2002-11-21 Havoc Pennington <hp@redhat.com> · 5a6adeee
      Havoc Pennington authored
      	* dbus/Makefile.am (INCLUDES): define DBUS_COMPILATION
      	so we can allow ourselves to include files directly,
      	instead of having to use dbus.h
      
      	* dbus/dbus.h: fill in
      
      	* dbus/dbus-message.h: sketch out a sample header file.
      	Include griping if you include it directly instead of
      	via dbus.h
      
      	* dbus/dbus-macros.h: new file with macros for extern "C",
      	TRUE/FALSE, NULL, etc.
      
      	* doc/file-boilerplate.c: put include guards in here
      5a6adeee
    • Havoc Pennington's avatar
      2002-11-21 Havoc Pennington <hp@redhat.com> · 89161753
      Havoc Pennington authored
      	* doc/file-boilerplate.c: include both AFL and GPL boilerplate.
      
      	* COPYING: include the GPL as well, and license code
      	under both AFL and GPL.
      89161753
    • Havoc Pennington's avatar
      add file-boilerplate.c · f6343e58
      Havoc Pennington authored
      f6343e58