2004-04-12 Jon Trowbridge <trow@ximian.com>
[platform/upstream/dbus.git] / ChangeLog
index 440f8de..6296f81 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,313 @@
+2004-04-12  Jon Trowbridge  <trow@ximian.com>
+
+       * 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.
+
+2004-04-09  Jon Trowbridge  <trow@ximian.com>
+
+       * 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.
+
+2004-03-29  Michael Meeks  <michael@ximian.com>
+
+       * 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.
+
+2004-03-29  Michael Meeks  <michael@ximian.com>
+
+       * 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.
+
+2004-03-27  Havoc Pennington  <hp@redhat.com>
+
+       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
+       
+2004-03-23  Owen Fraser-Green  <owen@discobabe.net>
+
+        * mono/Arguments.cs:
+       * mono/Introspector.cs:
+       * mono/Handler.cs:
+       * mono/InterfaceProxy.cs:
+       * mono/Message.cs
+       * mono/ProxyBuilder.cs:
+       * mono/Service.cs:
+       Added InterfaceProxy class to avoid building proxies for every
+       object.
+
+       * dbus-message.h:
+       * dbus-message.c (dbus_message_append_args_valist)
+       (dbus_message_iter_get_object_path)
+       (dbus_message_iter_get_object_path_array)
+       (dbus_message_iter_append_object_path)
+       (dbus_message_iter_append_object_path_array):
+       Added object_path iter functions to handle OBJECT_PATH arguments
+       
+2004-03-23  Owen Fraser-Green  <owen@discobabe.net>
+
+       First checkin of mono bindings.
+       * configure.in:
+       * Makefile.am:
+       Build stuff for the bindings
+       * dbus-sharp.pc.in: Added for pkgconfig
+       
+2004-03-21  Havoc Pennington  <hp@redhat.com>
+
+       * test/test-service.c (main): remove debug spew
+
+2004-03-21  Olivier Andrieu  <oliv__a@users.sourceforge.net>
+
+       * dbus/dbus-marshal.c (_dbus_marshal_validate_arg): accept empty
+       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
+
+2004-03-19  Havoc Pennington  <hp@redhat.com>
+
+       * 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
+       
+2004-03-18  Richard Hult  <richard@imendio.com>
+
+       * dbus/dbus-message.c (dbus_message_get_auto_activation) 
+       (dbus_message_set_auto_activation): Add doxygen docs.
+
+2004-03-16  Richard Hult  <richard@imendio.com>
+
+       * 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.
+       
+       * doc/dbus-specification.xml: Add auto-activation to the spec.
+
+2004-03-12  Olivier Andrieu  <oliv__a@users.sourceforge.net>
+
+       * 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).
+
+2004-03-12  Mikael Hallendal  <micke@imendio.com>
+
+       * 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.
+
+2004-03-12  Mikael Hallendal  <micke@imendio.com>
+
+       * 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.
+
+2004-03-08  Michael Meeks  <michael@ximian.com>
+
+       * dbus/dbus-connection.c (_dbus_connection_block_for_reply): 
+       bail immediately if disconnected, to avoid busy loop.
+
+       * dbus/dbus-message.c (dbus_message_iter_get_args_valist):
+       cleanup cut/paste/inefficiency.
+
+2004-03-01  David Zeuthen  <david@fubar.dk>
+
+       * 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
+       
+2004-02-24  Joe Shaw  <joe@ximian.com>
+
+       * bus/services.c (bus_registry_acquire_service): We need to pass
+       in the service name to dbus_set_error() to prevent a crash.
+
+2003-12-26  Anders Carlsson  <andersca@gnome.org>
+
+       * AUTHORS: Reveal my True identity.
+
+2003-12-17  Mikael Hallendal  <micke@imendio.com>
+
+       * dbus/dbus-message.c: (dbus_message_append_args_valist): 
+       - Added case for DBUS_TYPE_BYTE, patch from Johan Hedberg.
+
+2003-12-13  Mikael Hallendal  <micke@imendio.com>
+
+       * doc/TODO: Added not about better error check of configuration files.
+
+2003-12-02  Richard Hult  <richard@imendio.com>
+
+       * Update AFL version to 2.0 throughout the source files to reflect
+       the update that was done a while ago.
+
+2003-12-02  Richard Hult  <richard@imendio.com>
+
+       * 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.
+
+2003-12-01  David Zeuthen  <david@fubar.dk>
+
+       * python/dbus.py: Add the actual message when calling the reciever
+       of a signal such that parameters can be inspected. Add the method
+       remove_signal_receiver
+       
+2003-11-26  Mikael Hallendal  <micke@imendio.com>
+
+       * bus/*.[ch]:
+       * dbus/*.[ch]:
+       * glib/*.[ch]: Made ref functions return the pointer
+
+2003-11-25  Zack Rusin  <zack@kde.org>
+
+       * qt/integrator.h, qt/integrator.cpp: Adding handling of DBusServer,
+
+       * qt/server.h, qt/server.cpp, qt/Makefile.am: Adding DBusServer 
+       wrappers,
+
+       * qt/connection.h, qt/connection.cpp: Adjusting to changes in 
+       the Integrator and to better fit with the server,
+
+2003-11-24  Zack Rusin  <zack@kde.org>
+
+       * qt/connection.h, qt/connection.cpp: removing initDbus method since
+       the integrator handles it now
+
+       * qt/integrator.h, qt/integrator.cpp: reworking handling of timeouts,
+       since QTimer wasn't really meant to be used the way DBusTimeout is
+
+2003-11-24  Zack Rusin  <zack@kde.org>
+
+       * qt/integrator.h, qt/integrator.cpp, Makefile.am: Adding 
+       Integrator class which integrates D-BUS with the Qt event loop,
+
+       * qt/connection.h, qt/connection.cpp: Move all the code which
+       was dealing with D-BUS integration to the Integrator class,
+       and start using Integrator,
+
+2003-11-23  Zack Rusin  <zack@kde.org>
+
+       * qt/connection.h, qt/connection.cpp: Adding the DBusConnection 
+       wrapper
+
+       * qt/message.h, qt/message.cpp: updating to the current D-BUS api,
+       switching namespaces to DBusQt, reworking the class,
+
+       * Makefile.cvs: switching dependencies so that it matches KDE 
+       schematics,
+       
+       * qt/Makefile.am: adding connection.{h,cpp} and message.{h,cpp} to 
+       the library
+
+2003-11-19  Havoc Pennington  <hp@redhat.com>
+
+       * NEWS: update
+
+        * configure.in: bump version to 0.20
+
+       * configure.in (have_qt): add yet another place to look for qt
+       (someone hand trolltech a .pc file...)
+
+2003-11-01  Havoc Pennington  <hp@redhat.com>
+
+       * doc/dbus-specification.xml: add state machine docs on the auth
+       protocol; just a first draft, I'm sure it's wrong.      
+
 2003-10-28  David Zeuthen  <david@fubar.dk>
 
        * python/dbus_bindings.pyx.in: add get_dict to handle dictionaries
        
 2003-10-28  Havoc Pennington  <hp@redhat.com>
 
+       * dbus/dbus-message.c (get_next_field): delete unused function
+
+2003-10-28  Havoc Pennington  <hp@redhat.com>
+
        * bus/expirelist.c (do_expiration_with_current_time): detect
        failure of the expire_func due to OOM