1. 09 Nov, 2012 1 commit
  2. 21 Feb, 2012 1 commit
  3. 13 Feb, 2012 1 commit
  4. 14 Jul, 2009 1 commit
  5. 10 Jul, 2009 1 commit
  6. 15 Jan, 2008 1 commit
    • John Palmieri's avatar
      remove dead code · f72bb380
      John Palmieri authored
      2008-01-15  John (J5) Palmieri  <johnp@redhat.com>
      	* patch by Kimmo Hämäläinen <kimmo dot hamalainen at nokia dot com>
      	* bus/config-parser.c (locate_attributes): remove dead code which
      	always evaluated to TRUE
      	* dbus/dbus-shell.c (_dbus_shell_quote): remove unused code
  7. 14 Jul, 2007 1 commit
  8. 14 Jul, 2005 1 commit
    • John Palmieri's avatar
      Checking in Rodrigo's patch along with my fixes to the patch · 075945f6
      John Palmieri authored
      2005-07-14  John (J5) Palmieri  <johnp@redhat.com>
      	* bus/activation.c: clean up all tabs to be 8 spaces
      	(bus_activation_activate_service): make sure we clean up
      	if activation fails
      	* bus/dispatch.c: clean up all tabs to be 8 spaces
      	(check_shell_fail_service_auto_start): New function
      	tests to make sure we get fail properly when trying to auto start a service
      	with a faulty command line
      	(check_shell_service_success_auto_start): New function tests to make sure
      	auto started services get the arguments on the command line
      	* test/test-shell-service.c: Added service for testing auto-starting with
      	command line arguments
      	* test/data/valid-service-files/debug-shell-echo-fail.service.in,
      	Added service files for testing auto-starting with command line arguments
      	* */.cvsignore: added a bunch of generated files to various .cvsignore files
      2005-07-14  Rodrigo Moya  <rodrigo@novell.com>
      	* dbus/dbus-shell.[ch]: copy/pasted code from GLib.
      	* dbus/Makefile.am: added new files to build.
      	* bus/activation.c (bus_activation_activate_service): support
      	activation commands with parameters.
      	* test/shell-test.c: added test program for the shell parsing
  9. 09 Sep, 2004 1 commit
  10. 10 Aug, 2004 1 commit
  11. 02 Dec, 2003 1 commit
  12. 13 Feb, 2003 1 commit
    • Havoc Pennington's avatar
      2003-02-10 Havoc Pennington <hp@pobox.com> · 3791dcca
      Havoc Pennington authored
              * dbus/dbus-auth-script.c, dbus/dbus-auth-script.h: sync
      	initial cut at test framework for DBusAuth from laptop.
      	Doesn't quite work yet but it compiles and I need to get
      	it off the 266mhz laptop. ;-)
      	* dbus/dbus-server-debug.c (_dbus_server_debug_accept_transport):
      	fix a memleak in error case
  13. 26 Jan, 2003 2 commits
    • Havoc Pennington's avatar
      2003-01-26 Havoc Pennington <hp@pobox.com> · 2f440457
      Havoc Pennington authored
      	* dbus/dbus-message-builder.c: implement, completely untested.
      	* test/data/*: add data to be used in testing.
      	".message" files are our simple loadable text format.
      	".message-raw" will be binary dumps of messages.
      	* dbus/dbus-string.c (_dbus_string_starts_with_c_str): new
    • Havoc Pennington's avatar
      2003-01-26 Havoc Pennington <hp@pobox.com> · 9a0b07f2
      Havoc Pennington authored
      	* dbus/dbus-sysdeps.c (_dbus_file_get_contents): new function
      	* dbus/dbus-errors.c (dbus_result_to_string): add
      	file errors
      	* dbus/dbus-message-builder.c: new file, will contain code to load
      	up messages from files. Not implemented yet.
  14. 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
              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
      	(_dbus_marshal_get_field_end_pos): add @todo about bad error
      	handling allowing corrupt data to go unchecked
  15. 07 Jan, 2003 1 commit
    • Anders Carlsson's avatar
      2003-01-07 Anders Carlsson <andersca@codefactory.se> · 1b53cbcc
      Anders Carlsson authored
      	* dbus/dbus-connection-internal.h:
      	* dbus/dbus-connection.c: (_dbus_connection_new_for_transport),
      	* dbus/dbus-internals.h:
      	* dbus/dbus-marshal.c: (unpack_uint32), (dbus_unpack_int32),
      	(dbus_pack_int32), (_dbus_marshal_double), (_dbus_marshal_int32),
      	(_dbus_marshal_uint32), (_dbus_demarshal_double),
      	(_dbus_demarshal_int32), (_dbus_demarshal_uint32),
      	(_dbus_demarshal_string), (_dbus_marshal_get_field_end_pos),
      	(_dbus_verbose_bytes), (_dbus_marshal_test):
      	* dbus/dbus-marshal.h:
      	* dbus/dbus-message-internal.h:
      	* dbus/dbus-message.c: (_dbus_message_set_client_serial),
      	(dbus_message_write_header), (_dbus_message_lock),
      	(dbus_message_new), (dbus_message_ref), (dbus_message_unref),
      	(dbus_message_get_name), (dbus_message_append_int32),
      	(dbus_message_append_uint32), (dbus_message_append_double),
      	(dbus_message_append_string), (dbus_message_append_byte_array),
      	(dbus_message_get_fields_iter), (dbus_message_iter_ref),
      	(dbus_message_iter_unref), (dbus_message_iter_has_next),
      	(dbus_message_iter_next), (dbus_message_iter_get_field_type),
      	(dbus_message_iter_get_string), (dbus_message_iter_get_int32),
      	(dbus_message_iter_get_uint32), (dbus_message_iter_get_double),
      	(decode_header_data), (_dbus_message_loader_return_buffer),
      	(message_iter_test), (_dbus_message_test):
      	* dbus/dbus-message.h:
      	* dbus/dbus-protocol.h:
      	* dbus/dbus-test.c: (main):
      	* dbus/dbus-test.h:
      	* glib/test-dbus-glib.c: (message_handler), (main):
      	* test/echo-client.c: (main):
      	* test/watch.c: (check_messages):
      	Make messages sendable and receivable for real.
  16. 25 Dec, 2002 1 commit
    • Anders Carlsson's avatar
      2002-12-25 Anders Carlsson <andersca@codefactory.se> · f25559f5
      Anders Carlsson authored
      	* dbus/Makefile.am:
      	* dbus/dbus-marshal.c: (swap_bytes), (_dbus_marshal_double),
      	(_dbus_marshal_int32), (_dbus_marshal_uint32),
      	(_dbus_demarshal_double), (_dbus_demarshal_int32),
      	(_dbus_demarshal_uint32), (_dbus_marshal_test):
      	* dbus/dbus-marshal.h:
      	* dbus/dbus-protocol.h:
      	* dbus/dbus-test.c: (main):
      	* dbus/dbus-test.h:
      	Add un-optimized marshalling/demarshalling routines.
  17. 24 Dec, 2002 1 commit
    • Havoc Pennington's avatar
      2002-12-24 Havoc Pennington <hp@pobox.com> · 17fbe2b7
      Havoc Pennington authored
      	* glib/dbus-gthread.c: fix include
      	* glib/dbus-glib.h: rename DBusMessageHandler for now.
      	I think glib API needs to change, though, as you don't
      	want to use DBusMessageFunction, you want to use the
      	DBusMessageHandler object. Probably
      	and dbus_connection_setup_g_main_loop() or something like that
      	(but think of better names...) that just create a connection
      	that has watch/timeout functions etc. already set up.
      	* dbus/dbus-connection.c
      	(dbus_connection_send_message_with_reply): new function just to
      	show how the message handler helps us deal with replies.
      	* dbus/dbus-list.c (_dbus_list_remove_last): new function
      	* dbus/dbus-string.c (_dbus_string_test): free a string that
      	* dbus/dbus-hash.c: use memory pools for the hash entries
      	(rebuild_table): be more paranoid about overflow, and
      	shrink table when we can
      	(_dbus_hash_test): reduce number of sprintfs and write
      	valid C89. Add tests for case where we grow and then
      	shrink the hash table.
      	* dbus/dbus-mempool.h, dbus/dbus-mempool.c: memory pools
      	* dbus/dbus-connection.c (dbus_connection_register_handler)
      	(dbus_connection_unregister_handler): new functions
      	* dbus/dbus-message.c (dbus_message_get_name): new
      	* dbus/dbus-list.c: fix docs typo
      	* dbus/dbus-message-handler.h, dbus/dbus-message-handler.c:
      	an object representing a handler for messages.
  18. 12 Dec, 2002 1 commit
    • Havoc Pennington's avatar
      2002-12-11 Havoc Pennington <hp@pobox.com> · d4b870e7
      Havoc Pennington authored
      	* dbus/dbus-types.h: add dbus_unichar
      	* dbus/dbus-internals.c (_dbus_verbose): use _dbus_getenv
      	* dbus/dbus-connection.c (dbus_connection_send_message): return
      	TRUE on success
      	* dbus/dbus-transport.c: include dbus-watch.h
      	* dbus/dbus-connection.c: include dbus-message-internal.h
      	* HACKING: add file with coding guidelines stuff.
      	* dbus/dbus-string.h, dbus/dbus-string.c: Encapsulate all string
      	handling here, for security purposes (as in vsftpd). Not actually
      	using this class yet.
      	* dbus/dbus-sysdeps.h, dbus/dbus-sysdeps.c: Encapsulate all
      	system/libc usage here, as in vsftpd, for ease of auditing (and
      	should also simplify portability). Haven't actually moved all the
      	system/libc usage into here yet.
  19. 23 Nov, 2002 2 commits
    • Havoc Pennington's avatar
      2002-11-23 Havoc Pennington <hp@pobox.com> · 576cdb6e
      Havoc Pennington authored
      	* dbus/dbus-internals.h (_DBUS_INT_MAX): add _DBUS_INT_MIN
      	* dbus/dbus-test.c (main): add list test, and include
      	dbus-test.h as intended
      	* dbus/dbus-hash.c (_dbus_hash_table_remove_string)
      	(_dbus_hash_table_remove_int): return value indicates
      	whether the entry existed to remove
      	* dbus/dbus-list.c: add linked list utility class,
      	with docs and tests
      	* dbus/dbus-hash.c: add TODO item about shrinking the hash bucket
      	array sometimes.
    • Havoc Pennington's avatar
      2002-11-23 Havoc Pennington <hp@pobox.com> · 1428c65e
      Havoc Pennington authored
      	* configure.in: pile on more warning flags if using gcc
      	* Doxyfile.in (EXTRACT_STATIC): set to NO, so we don't have
      	to document static functions
      	* configure.in: add summary to end of configure so it
      	looks nice and attractive
      	* dbus/dbus-hash.c: finish implementation and write unit
      	tests and docs
      	* configure.in: add --enable-tests to enable unit tests
      	* dbus/dbus-test.c: test program to run unit tests
      	for all files in dbus/*, initially runs a test for
      	* dbus/dbus-internals.h: file to hold some internal utility stuff
  20. 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
    • 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.
    • Havoc Pennington's avatar
      add file-boilerplate.c · f6343e58
      Havoc Pennington authored