1. 21 Mar, 2004 1 commit
    • Olivier Andrieu's avatar
      * dbus/dbus-marshal.c (_dbus_marshal_validate_arg): accept empty · eacb2afd
      Olivier Andrieu authored
      arrays
      
      * dbus/dbus-message.h, bus/dbus-message.c (dbus_message_iter_init)
      (dbus_message_iter_init_array_iterator)
      (dbus_message_iter_init_dict_iterator): return a dbus_bool_t to
      indicate whether the iterator is empty
      
      * dbus/dbus-pending-call.c, dbus/dbus-server.c: silence compiler
      warnings
      eacb2afd
  2. 19 Mar, 2004 1 commit
    • Havoc Pennington's avatar
      2004-03-19 Havoc Pennington <hp@redhat.com> · 4fd4d52d
      Havoc Pennington authored
      	* NEWS: 0.21 updates
      
      	* configure.in: 0.21
      
      	* doc/Makefile.am: add all XMLTO usage to DBUS_XML_DOCS_ENABLED
      
      	* python/Makefile.am: change to avoid dist of dbus_bindings.c so
      	you don't need pyrex to make dist
      
      	* qt/Makefile.am (libdbus_qt_1_la_SOURCES): add integrator.h to
      	sources; run moc
      4fd4d52d
  3. 18 Mar, 2004 1 commit
  4. 16 Mar, 2004 1 commit
    • Richard Hult's avatar
      2004-03-16 Richard Hult <richard@imendio.com> · 93f433a1
      Richard Hult authored
      	* bus/activation.c: (bus_activation_service_created),
      	(bus_activation_send_pending_auto_activation_messages),
      	(bus_activation_activate_service):
      	* bus/activation.h:
      	* bus/dispatch.c: (bus_dispatch),
      	(check_nonexistent_service_auto_activation),
      	(check_service_auto_activated),
      	(check_segfault_service_auto_activation),
      	(check_existent_service_auto_activation), (bus_dispatch_test):
      	* bus/driver.c: (bus_driver_handle_activate_service):
      	* bus/services.c: (bus_registry_acquire_service):
      	* dbus/dbus-message.c: (dbus_message_set_auto_activation),
      	(dbus_message_get_auto_activation):
      	* dbus/dbus-message.h:
      	* dbus/dbus-protocol.h: Implement auto-activation.
      93f433a1
  5. 12 Mar, 2004 3 commits
    • Olivier Andrieu's avatar
      2004-03-12 Olivier Andrieu <oliv__a@users.sourceforge.net> · 24ffe79c
      Olivier Andrieu authored
      	* dbus/dbus-marshal.c (_dbus_marshal_get_arg_end_pos):
      	fix a bug with CUSTOM types.
      
      	* dbus/dbus-message.c (message_iter_test, _dbus_message_test): add
      	a unit test for this bug (used to fail).
      24ffe79c
    • Mikael Hallendal's avatar
      2004-03-12 Mikael Hallendal <micke@imendio.com> · 520bdf70
      Mikael Hallendal authored
      	* bus/activation.c:
      	(babysitter_watch_callback): notify all pending activations waiting for
      	  the same exec that the activation failed.
      	(bus_activation_activate_service): shortcut the activation if we
      	  already waiting for the same executable to start up.
      520bdf70
    • Mikael Hallendal's avatar
      2004-03-12 Mikael Hallendal <micke@imendio.com> · dd79fc73
      Mikael Hallendal authored
      	* bus/activation.c:
      	- Added service file reloading.
      	  Each service files directory is kept in an hash table in
      	  BusActivation and each BusActivationEntry knows what .service-file it
      	  was read from. So when you try to activate a service the bus will
      	  check if it's been updated, removed or if new .service-files has
      	  been installed.
      	- Test code at the bottom for the service file reloading.
      	* bus/test-main.c: (main):
      	* bus/test.h:
      	- added service reloading test.
      	* dbus/dbus-sysdeps.c:
      	* dbus/dbus-sysdeps.h: (_dbus_delete_directory): Added.
      dd79fc73
  6. 08 Mar, 2004 2 commits
  7. 05 Mar, 2004 1 commit
    • David Zeuthen's avatar
      2004-03-01 David Zeuthen <david@fubar.dk> · 868dd4b4
      David Zeuthen authored
      	* dbus/dbus-string.c (_dbus_string_append_printf_valist): Fix a
      	bug where args were used twice. This bug resulted in a segfault
      	on a Debian/PPC system when starting the messagebus daemon. Include
      	dbus-sysdeps.h for DBUS_VA_COPY
      
      	* dbus/dbus-sysdeps.h: Define DBUS_VA_COPY if neccessary. From GLib
      
      	* configure.in: Check for va_copy; define DBUS_VA_COPY to the
      	appropriate va_copy implementation. From GLib
      868dd4b4
  8. 24 Feb, 2004 1 commit
  9. 28 Jan, 2004 1 commit
  10. 26 Jan, 2004 1 commit
  11. 26 Dec, 2003 1 commit
  12. 17 Dec, 2003 1 commit
  13. 13 Dec, 2003 1 commit
  14. 02 Dec, 2003 2 commits
    • Richard Hult's avatar
      2003-12-02 Richard Hult <richard@imendio.com> · a1df3040
      Richard Hult authored
      	* Update AFL version to 2.0 throughout the source files to reflect
      	the update that was done a while ago.
      a1df3040
    • Richard Hult's avatar
      2003-12-02 Richard Hult <richard@imendio.com> · 8e1fc1d7
      Richard Hult authored
      	* dbus/dbus-message.c (dbus_message_iter_append_dict): Set
      	wrote_dict_key to FALSE on the iter that the dict is appended to,
      	just like when appending other types. Fixes a bug where a dict
      	couldn't be put inside a dict.
      	(dbus_message_iter_append_dict_key): Fix typo in warning message.
      	(message_iter_test, _dbus_message_test): Add test case for dict
      	inside dict.
      8e1fc1d7
  15. 01 Dec, 2003 1 commit
  16. 27 Nov, 2003 1 commit
  17. 25 Nov, 2003 1 commit
  18. 24 Nov, 2003 3 commits
  19. 23 Nov, 2003 6 commits
  20. 19 Nov, 2003 1 commit
  21. 01 Nov, 2003 1 commit
  22. 29 Oct, 2003 2 commits
  23. 28 Oct, 2003 2 commits
    • Havoc Pennington's avatar
      2003-10-28 Havoc Pennington <hp@redhat.com> · bebc830f
      Havoc Pennington authored
      	* bus/expirelist.c (do_expiration_with_current_time): detect
      	failure of the expire_func due to OOM
      
      	* bus/connection.c (bus_pending_reply_expired): return FALSE on OOM
      
      	* bus/dispatch.c (check_send_exit_to_service): fix to handle the
      	NoReply error that's now created by the bus when the service exits
      bebc830f
    • Havoc Pennington's avatar
      2003-10-28 Havoc Pennington <hp@redhat.com> · e11ae724
      Havoc Pennington authored
      	* dbus/dbus-message.c (_dbus_message_test): enable and fix the
      	tests for set_path, set_interface, set_member, etc.
      
      	* dbus/dbus-string.c (_dbus_string_insert_bytes): allow 0 bytes
      
      	* dbus/dbus-message.c (set_string_field): always just delete and
      	re-append the field; accept NULL for deletion
      	(re_align_fields_recurse): reimplement
      e11ae724
  24. 26 Oct, 2003 1 commit
    • Havoc Pennington's avatar
      2003-10-26 Havoc Pennington <hp@redhat.com> · a63411cb
      Havoc Pennington authored
      	* dbus/dbus-connection.c: fix docs to properly describe the
      	disconnected message
      	(_dbus_connection_notify_disconnected): remove this function;
      	we can't synchronously add the disconnected message, we have to
      	do it after we've queued any remaining real messages
      	(_dbus_connection_get_dispatch_status_unlocked): queue the
      	disconnect message only if the transport has finished queueing all
      	its real messages and is disconnected.
      	(dbus_connection_disconnect): update the dispatch status here
      a63411cb
  25. 22 Oct, 2003 1 commit
  26. 21 Oct, 2003 2 commits
    • Havoc Pennington's avatar
      add missing file · 10faede1
      Havoc Pennington authored
      10faede1
    • Havoc Pennington's avatar
      2003-10-20 Havoc Pennington <hp@redhat.com> · 75742242
      Havoc Pennington authored
              hmm, make check is currently not passing.
      
      	* doc/dbus-specification.xml: add requirement that custom type
      	names follow the same rules as interface names.
      
      	* dbus/dbus-protocol.h: change some of the byte codes, to avoid
      	duplication and allow 'c' to be 'custom'; dict is now 'm' for
      	'map'
      
      	* doc/dbus-specification.xml: update type codes to match
      	dbus-protocol.h, using the ASCII byte values. Rename type NAMED to
      	CUSTOM. Add type OBJECT_PATH to the spec.
      
      2003-10-17  Havoc Pennington  <hp@redhat.com>
      
      	* bus/driver.c (create_unique_client_name): use "." as separator
      	in base service names instead of '-'
      
      	* dbus/dbus-string.c (_dbus_string_get_byte): allow getting nul
      	byte at the end of the string
      
      	* dbus/dbus-internals.h (_DBUS_LIKELY, _DBUS_UNLIKELY): add
      	optimization macros since string validation seems to be a slow
      	point.
      
      	* doc/dbus-specification.xml: restrict valid
      	service/interface/member/error names. Add test suite code for the
      	name validation.
      
      	* dbus/dbus-string.c: limit service/interface/member/error names
      	to [0-9][A-Z][a-z]_
      
      	* dbus/dbus-connection.c (dbus_connection_dispatch): add missing
      	format arg to verbose spew
      
      	* glib/dbus-gproxy.c (dbus_gproxy_call_no_reply): if not out of
      	memory, return instead of g_error
      
      	* test/test-service.c (path_message_func): support emitting a
      	signal on request
      
      	* dbus/dbus-bus.c (init_connections_unlocked): only fill in
      	activation bus type if DBUS_BUS_ACTIVATION was set; default to
      	assuming the activation bus was the session bus so that services
      	started manually will still register.
      	(init_connections_unlocked): fix so that in OOM situation we get
      	the same semantics when retrying the function
      
      	* test/test-service.c (main): change to use path registration, to
      	test those codepaths; register with DBUS_BUS_ACTIVATION rather
      	than DBUS_BUS_SESSION
      75742242