1. 19 Feb, 2003 1 commit
    • Havoc Pennington's avatar
      2003-02-18 Havoc Pennington <hp@pobox.com> · 78e16e99
      Havoc Pennington authored
      	* dbus/dbus-string.c (_dbus_string_zero): new function
      
      	* dbus/dbus-md5.c: include MD5 implementation by L. Peter Deutsch,
      	wrap it in some dbus-friendly API
      
      	* dbus/dbus-types.h: add 16-bit types
      78e16e99
  2. 18 Feb, 2003 6 commits
  3. 17 Feb, 2003 4 commits
  4. 16 Feb, 2003 15 commits
  5. 15 Feb, 2003 8 commits
    • Anders Carlsson's avatar
      2003-02-15 Anders Carlsson <andersca@codefactory.se> · 30265b80
      Anders Carlsson authored
      	* dbus/dbus-list.c: (_dbus_list_append_link),
      	(_dbus_list_prepend_link):
      	* dbus/dbus-memory.c: (dbus_malloc), (dbus_malloc0),
      	(dbus_realloc):
      	Warning fixes.
      30265b80
    • Anders Carlsson's avatar
      2003-02-15 Anders Carlsson <andersca@codefactory.se> · efd53eca
      Anders Carlsson authored
      	* bus/Makefile.am:
      	* bus/activation.c: (bus_activation_entry_free),
      	(add_desktop_file_entry), (load_directory), (bus_activation_init):
      	* bus/activation.h:
      	* bus/main.c: (main):
      	Add simple activation support, doesn't work yet though.
      efd53eca
    • Zack Rusin's avatar
      Bad Alex. · bc6cd6fa
      Zack Rusin authored
      bc6cd6fa
    • Anders Carlsson's avatar
      2003-02-15 Anders Carlsson <andersca@codefactory.se> · 2aa38be2
      Anders Carlsson authored
      	* dbus/dbus-errors.c: (dbus_set_error):
      	* dbus/dbus-errors.h:
      	Add a few errors and make dbus_set_error void.
      
      	* dbus/dbus-sysdeps.c:
      	(_dbus_errno_to_string), (close_and_invalidate), (make_pipe),
      	(write_err_and_exit), (read_ints), (do_exec), (_dbus_spawn_async):
      	* dbus/dbus-sysdeps.h:
      	Add _dbus_spawn_async.
      
      	* test/spawn-test.c: (main):
      	Test for _dbus_spawn_async.
      2aa38be2
    • Anders Carlsson's avatar
      2003-02-15 Anders Carlsson <andersca@codefactory.se> · 0c502d5b
      Anders Carlsson authored
      	* dbus/dbus-internals.h:
      	Fix build without tests.
      
      	* dbus/dbus-list.c: (alloc_link):
      	Fix a segfault when a malloc fails.
      
      	* dbus/dbus-memory.c: (initialize_malloc_debug), (dbus_malloc),
      	(dbus_malloc0), (dbus_realloc):
      	Add support for malloc debugging.
      0c502d5b
    • Alexander Larsson's avatar
      2003-02-15 Alexander Larsson <alexl@redhat.com> · fe401894
      Alexander Larsson authored
      	* dbus/dbus-threads.c:
      	* dbus/dbus-threads.h:
      	Add condvars. Remove static mutext from API.
      	Implement static mutexes by initializing them from threads_init.
      
      	* glib/dbus-gthread.c:
      	* qt/dbus-qthread.cpp:
      	Update with the thread api changes.
      
      
      	* dbus/dbus-list.c:
      	* dbus/dbus-list.h:
      	Turn StaticMutex into normal mutex + init function.
      	Export new functions _dbus_list_alloc_link, _dbus_list_free_link,
      	_dbus_list_append_link, _dbus_list_prepend_link
      
      
      	* dbus/dbus-sysdeps.c:
      	* dbus/dbus-sysdeps.h:
      	New type dbus_atomic_t, and new functions _dbus_atomic_inc,
      	_dbus_atomic_dec. Only slow fallback implementation at the moment.
      
      	* dbus/dbus-protocol.h:
      	Add DBUS_MESSAGE_LOCAL_DISCONNECT define
      
      	* dbus/dbus-message.c:
      	Make ref/unref atomic.
      	Fix some docs.
      
      	* dbus/dbus-connection-internal.h:
      	* dbus/dbus-connection.c:
      	* dbus/dbus-connection.h:
      	Make threadsafe.
      	Change _peek to _borrow,_return & _steal_borrowed.
      	Change disconnect callback to event.
      	Make dbus_connection_dispatch_messages reentrant.
      
      	* dbus/dbus-transport.c:
      	Don't ref the connection on calls to the transport
      	implementation.
      
      	* dbus/dbus-message-handler.c:
      	Make threadsafe.
      
      	* glib/dbus-gmain.c:
      	Don't use peek_message anymore
      
      	* test/Makefile.am:
      	* test/debug-thread.c:
      	* test/debug-thread.h:
      	Simple thread implementation that asserts() on deadlocks in
      	single-threaded code.
      
      	* test/bus-test.c:
      	(main) Call debug_threads_init.
      
      	* test/watch.c:
      	Use disconnect message instead of disconnect callback.
      
      	* bus/connection.c:
      	* bus/connection.h:
      	Don't call dbus_connection_set_disconnect_function. Instead export
      	bus_connection_disconnect.
      
      	* bus/dispatch.c:
      	Call bus_connection_disconnect when we get a disconnected message.
      fe401894
    • Havoc Pennington's avatar
    • Havoc Pennington's avatar
      2003-02-15 Havoc Pennington <hp@pobox.com> · 9af7f45b
      Havoc Pennington authored
      	* dbus/dbus-message.c (dbus_message_new): fool around with the
      	docs
      9af7f45b
  6. 14 Feb, 2003 3 commits
  7. 13 Feb, 2003 3 commits
    • Anders Carlsson's avatar
      2003-02-13 Anders Carlsson <andersca@codefactory.se> · 97ee8d18
      Anders Carlsson authored
      	* bus/driver.c: (bus_driver_handle_hello):
      	* bus/driver.h:
      	* bus/services.c: (bus_service_lookup):
      	Reorder message sending so we get a more sane order.
      
      	* test/bus-test.c: (message_handler):
      	Fix tyop.
      97ee8d18
    • Anders Carlsson's avatar
      2003-02-13 Anders Carlsson <andersca@codefactory.se> · aa4b4ef5
      Anders Carlsson authored
      	* bus/driver.c: (bus_driver_send_service_deleted),
      	(bus_driver_send_service_created), (bus_driver_send_service_lost),
      	(bus_driver_send_service_acquired), (bus_driver_handle_hello),
      	(bus_driver_send_welcome_message),
      	(bus_driver_handle_list_services),
      	(bus_driver_handle_acquire_service),
      	(bus_driver_handle_service_exists):
      	* dbus/dbus-bus.c: (dbus_bus_register_client),
      	(dbus_bus_acquire_service), (dbus_bus_service_exists):
      	* dbus/dbus-errors.c: (dbus_result_to_string):
      	* dbus/dbus-errors.h:
      	* dbus/dbus-message.c: (dbus_message_append_args),
      	(dbus_message_append_args_valist), (dbus_message_get_args),
      	(dbus_message_get_args_valist), (dbus_message_get_args_iter),
      	(dbus_message_iter_get_arg_type), (dbus_message_iter_get_string),
      	(dbus_message_iter_get_byte_array),
      	(dbus_message_iter_get_string_array), (message_iter_test),
      	(check_message_handling), (_dbus_message_test):
      	* dbus/dbus-message.h:
      	* test/bus-test.c: (main):
      	Change fields to arguments in messages, so that they won't be
      	confused with header fields.
      
      	* glib/test-dbus-glib.c: (main):
      	Remove append_fields from hello message.
      aa4b4ef5
    • Anders Carlsson's avatar
      2003-02-13 Anders Carlsson <andersca@codefactory.se> · a7c05492
      Anders Carlsson authored
      	* dbus/dbus-errors.c:
      	* dbus/dbus-message.c:
      	* dbus/dbus-string.c:
      	Documentation fixes.
      a7c05492