1. 13 Apr, 2004 3 commits
    • Michael Meeks's avatar
      2004-04-13 Michael Meeks <michael@ximian.com> · fefa7ed4
      Michael Meeks authored
      	* glib/dbus-gobject.c (handle_introspect): split out
      	(introspect_properties): this.
      	(handle_introspect): implement this.
      fefa7ed4
    • Michael Meeks's avatar
      2004-04-13 Michael Meeks <michael@ximian.com> · 83d38195
      Michael Meeks authored
      	* test/glib/Makefile.am: use the absolute path so the bus
      	daemon's chdir ("/") doesn't kill us dead.
      
      	* configure.in: subst ABSOLUTE_TOP_BUILDDIR
      83d38195
    • Jon Trowbridge's avatar
      2004-04-12 Jon Trowbridge <trow@ximian.com> · 0da46fa5
      Jon Trowbridge authored
      	    * bus/config-parser.c (struct BusConfigParser): Added
      	    included_files field.
      	    (seen_include): Added.  Checks whether or not a file has already
      	    been included by any parent BusConfigParser.
      	    (bus_config_parser_new): Copy the parent's included_files.
      	    (include_file): Track which files have been included, and fail on
      	    circular inclusions.
      	    (process_test_valid_subdir): Changed printf to report if we are
      	    testing valid or invalid conf files.
      	    (all_are_equiv): Changed printf to be a bit clearer about
      	    what we are actually doing.
      	    (bus_config_parser_test): Test invalid configuration files.
      0da46fa5
  2. 09 Apr, 2004 1 commit
    • Jon Trowbridge's avatar
      2004-04-09 Jon Trowbridge <trow@ximian.com> · e039be58
      Jon Trowbridge authored
      	    * bus/config-parser.c (bus_config_parser_new): Added a 'parent'
      	    argument.  If non-null, the newly-constructed BusConfigParser will
      	    be initialized with the parent's BusLimits instead of the default
      	    values.
      	    (include_file): When including a config file, pass in
      	    the current parser as the parent and then copy the BusLimits
      	    from the included BusConfigParser pack to the current parser.
      	    (process_test_valid_subdir): Renamed from process_test_subdir.
      	    (process_test_equiv_subdir): Added.  Walks through a directory,
      	    descending into each subdirectory and loading the config files
      	    it finds there.  If any subdirectory contains two config files
      	    that don't produce identical BusConfigParser structs, fail.
      	    For now, the BusConfigParser's BusPolicies are not compared.
      	    (bus_config_parser_test): Call both process_test_valid_subdir and
      	    process_test_equiv_subdir.
      
      	    * bus/config-loader-libxml.c (bus_config_load): Take a parent
      	    argument and pass it along to the call to bus_config_parser_new.
      	    Also made a few small changes to allow this code to compile.
      
      	    * bus/config-loader-expat.c (bus_config_load): Take a parent
      	    argument and pass it along to the call to bus_config_parser_new.
      
      	    * bus/bus.c (bus_context_new): Load the config file
      	    with a NULL parent argument.
      e039be58
  3. 03 Apr, 2004 1 commit
  4. 29 Mar, 2004 4 commits
    • Michael Meeks's avatar
      hush · 25f384ca
      Michael Meeks authored
      25f384ca
    • Michael Meeks's avatar
      2004-03-29 Michael Meeks <michael@ximian.com> · b498dbcc
      Michael Meeks authored
      	* glib/dbus-gobject.c (set_object_property): split out /
      	re-work, use the property type, and not the message type(!)
      	(get_object_property): ditto.
      
              * glib/dbus-gvalue.c (dbus_gvalue_demarshal),
      	(dbus_gvalue_marshal): make this code re-usable, needed
      	for signals too, also on both proxy and server side.
      	Re-write for more efficiency / readability.
      b498dbcc
    • Michael Meeks's avatar
      2004-03-29 Michael Meeks <michael@ximian.com> · 004b37ec
      Michael Meeks authored
      	* dbus/dbus-message.c
      	(dbus_message_new_error_printf): impl.
      
      	* dbus/dbus-connection.c
      	(dbus_connection_unregister_object_path): fix warning.
      
      	* configure.in: fix no-mono-installed situation.
      004b37ec
    • Michael Meeks's avatar
      hush. · d7a044a1
      Michael Meeks authored
      d7a044a1
  5. 27 Mar, 2004 1 commit
    • Havoc Pennington's avatar
      2004-03-27 Havoc Pennington <hp@redhat.com> · a221eefa
      Havoc Pennington authored
      	Patch from Timo Teräs:
      
      	* tools/dbus-send.c (main): if --print-reply, assume type is
      	method call; support boolean type args
      
      	* dbus/dbus-connection.c (dbus_connection_send_with_reply): fix a
      	bunch of memleak and logic bugs
      a221eefa
  6. 26 Mar, 2004 1 commit
  7. 25 Mar, 2004 1 commit
  8. 24 Mar, 2004 4 commits
  9. 23 Mar, 2004 3 commits
  10. 21 Mar, 2004 2 commits
  11. 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
  12. 18 Mar, 2004 1 commit
  13. 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
  14. 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
  15. 08 Mar, 2004 2 commits
  16. 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
  17. 24 Feb, 2004 1 commit
  18. 28 Jan, 2004 1 commit
  19. 26 Jan, 2004 1 commit
  20. 26 Dec, 2003 1 commit
  21. 17 Dec, 2003 1 commit
  22. 13 Dec, 2003 1 commit
  23. 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
  24. 01 Dec, 2003 1 commit
  25. 27 Nov, 2003 1 commit