* ChangeLog: clean up my last entry a bit
[platform/upstream/dbus.git] / ChangeLog
index 9f693a2..a131af2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,193 @@
+2005-08-17  John (J5) Palmieri  <johnp@redhat.com>
+       * ChangeLog: clean up my last entry a bit
+
+       * doc/introspect.xsl: New stylesheet for converting introspection data
+       into browser renderable xhtml. Contributed by Lennart Poettering.
+
+       * doc/introspect.dtd: Fixups in the introspect format from Lennart
+       Poettering.
+
+       * doc/dbus-tutorial.xml: 
+       - Add Colin Walter to the Authors section for authoring the GLib
+       section
+       - Add descriptions of the new signature and type functionality
+       in the Python complex type mapping section
+       - Add a sidenote on the new args matching functionality in 
+       the Python bindings
+       - Fixed up some of the examples to use the gobject.MainLoop
+       instead of gtk.main
+       
+       * python/_dbus.py:
+       (Bus::_create_args_dict): New. Converts a hash of arg matches
+       to a more useable format
+       (Bus::add_signal_receiver): add a **keywords parameter for catching
+       arg match parameters
+       (Bus::remove_signal_receiver): add a **keywords parameter for catching
+       arg match parameters
+       
+       * python/matchrules.py:
+       (MatchTree::exec_matches): Check for arg matches
+       (SignalMatchRule::add_args_match): New method
+       (SignalMatchRule::execute): Added args_list parameter as an optimization
+       so we don't have to marshal the args more than once
+       (SignalMatchRule::match_args_from_list): New method that checks to see
+       if the rule's arg matches match an argument list.  Only arguments
+       set in the rule are checked.
+       (SignalMatchRule::match_args_from_rule): New method that checks to see
+       if the rule's arg matches match another rule's.  All args have to match
+       in order for this method to return true.  If either rule has more args
+       then it is not a match.
+       (SignalMatchRule::is_match): Add args match
+       (SignalMatchRule::repr): Add args to the final output if they exist
+
+2005-08-17  Ross Burton  <ross@burtonini.com>
+
+       * glib/dbus-gproxy.c:
+       (dbus_g_proxy_call_no_reply): unref the message once sent.
+       (dbus_g_proxy_call): protect against NULL proxy.
+
+2005-08-16  John (J5) Palmieri  <johnp@redhat.com>
+
+       * python/__init__.py: Version updated (0, 43, 0)
+       
+       * python/dbus_bindings.pyx: 
+       - Fixed type objects to have self passed into __init__
+       - Added the Variant type
+       - Add the ability to specify types or signatures for Array, Variant 
+       and Dictionary
+       (Connection::send_with_reply_handlers): return a PendingCall object
+       (_pending_call_notification): handle the case when an error is returned 
+       without an error message in the body
+       (MessageIter::get_boolean): return True or False instead of an integer
+       (MessageIter::python_value_to_dbus_sig): add direct checking of types 
+       and add checks for objects with embeded signatures or types (Array, 
+       Variant and Dictionary)
+       (MessageIter::append_byte): handle case when the value is a dbus.Byte
+       (MessageIter::append_dict): handle embeded types or signatures
+       (MessageIter::append_array): handle embeded types or signatures
+       (MessageIter::append_variant): new method
+       
+       * python/proxies.py:
+       (DeferedMethod): New. Dummy executable object used when queuing calls 
+       blocking on introspection data
+       (ProxyMethod::__call__): add the timeout keyword for specifying longer 
+       or shorter timeouts for method calls
+       (ProxyObject): Add first pass at an introspection state machine
+       (ProxyObject::__init__): Add introspect keyword for turing off an on 
+       introspection. 
+       (ProxyObject::_Introspect): Internal Introspect call that bypasses 
+       the usual mechanisms for sending messages.  This is to avoid a deadlock
+       where the Intospect call would be queued waiting for the Introspect 
+       call to finish ;-)
+       (ProxyObject::_introspect_reply_handler): New.  This method is called 
+       when introspection returns with no error
+       (ProxyObject::_introspect_error_handler): New.  This method is called 
+       when introspection encounters an error
+       (ProxyObject::__getattr__): Code to handle different introspection 
+       states.  Queue async calls or block blocking calls if we are 
+       introspecting.  Pass through as normal if we are not or are done with 
+       introspecting.
+       
+       * python/service.py: Import signal and method from decorators.py
+
+       * python/types.py: Add Variant type
+
+2005-08-16  Colin Walters  <walters@verbum.org>
+
+       * glib/dbus-gobject.c (dbus_set_g_error): Don't lose if the
+       DBusError message is NULL.
+
+2005-08-09  Havoc Pennington  <hp@redhat.com>
+
+       * dbus/dbus-errors.c: apply patch from Timo Teras to make a
+       malloc'd copy of the name parameter
+
+2005-08-09  Havoc Pennington  <hp@redhat.com>
+
+       * dbus/dbus-message.c (dbus_message_set_reply_serial): print
+       warning if the reply serial is set to 0
+
+2005-08-04  Colin Walters  <walters@verbum.org>
+
+       * glib/dbus-gvalue-utils.h (_dbus_g_type_specialized_builtins_init)
+       (dbus_g_type_is_fixed, dbus_g_type_fixed_get_size)
+       (dbus_gvalue_set_from_pointer, dbus_g_hash_table_value_foreach)
+       (dbus_g_hash_table_insert_values, dbus_g_hash_table_insert_steal_values)
+       (dbus_gtype_is_valid_hash_key, dbus_gtype_is_valid_hash_value)
+       (dbus_g_hash_func_from_gtype, dbus_g_hash_free_from_gtype)
+       (dbus_g_hash_equal_from_gtype, dbus_gvalue_stor, dbus_gvalue_take):
+       * glib/dbus-gvalue.h (dbus_g_value_types_init)
+       (dbus_gvalue_demarshal, dbus_gvalue_demarshal_variant)
+       (dbus_gvalue_demarshal_message, dbus_gvalue_marshal):
+       
+       Prefix name with _ to ensure they're not exported.  All callers
+       updated.
+
+       * glib/dbus-gvalue.c (typecode_to_gtype)
+       (dbus_typecode_maps_to_basic, basic_typecode_to_gtype)
+       (signature_iter_to_g_type_dict)
+       (signature_iter_to_g_type_array)
+       (dbus_gtype_from_signature_iter, dbus_gtype_from_signature)
+       (dbus_gtypes_from_arg_signature):
+       Move to dbus-gsignature.c.
+
+       * glib/dbus-binding-tool-glib.c (dbus_binding_tool_output_glib_server): Call
+       dbus_g_type_specialized_builtins_init instead of dbus_g_value_types_init.
+       (dbus_binding_tool_output_glib_client): Ditto.
+
+       * glib/Makefile.am (DBUS_GLIB_INTERNALS): Add dbus-gsignature.c
+       and dbus-gsignature.h
+
+       * test/glib/test-service-glib.c (my_object_rec_arrays): Delete
+       unused variable.
+
+2005-08-03  Colin Walters  <walters@verbum.org>
+
+       * glib/dbus-gobject.c: Add tests on hardcoded object info; this should
+       catch any incompatible changes accidentally made.
+
+2005-08-03  Havoc Pennington  <hp@redhat.com>
+
+       * dbus/dbus-sysdeps.c (_dbus_read_credentials_unix_socket): fix
+       typo, from Julien Puydt
+
+       * bus/connection.c (bus_connection_disconnected): we were always
+       doing a wait_for_memory due to a buggy loop, found by Timo Hoenig
+
+2005-08-01  Colin Walters  <walters@verbum.org>
+
+       Patch from Joe Markus Clarke:   
+       
+       * glib/dbus-gidl.c (property_info_unref, arg_info_unref): Fix
+       use-after-free.
+
+2005-08-01  Colin Walters  <walters@verbum.org>
+       
+       Patch from Joe Markus Clarke:   
+       
+       * tools/dbus-send.c (main): 
+       
+       Don't use C99 style initializers (bug #3933).
+       
+2005-08-01  Colin Walters  <walters@verbum.org>
+
+       Patch from Joe Markus Clarke:   
+
+       * glib/dbus-gvalue.c (dbus_g_value_types_init): 
+       * glib/dbus-gvalue-utils.c (dbus_g_type_specialized_builtins_init) 
+       * glib/dbus-gobject.c (write_interface):
+
+       Don't use C99 style initializers (bug #3933).
+
+2005-07-31  Havoc Pennington  <hp@redhat.com>
+
+       * tools/dbus-viewer.c (load_child_nodes): fix invocation of
+       dbus_g_proxy_call, fix from Piotr Zielinski bug #3920
+
+2005-07-30  Havoc Pennington  <hp@redhat.com>
+
+       * fix a bunch of Doxygen warnings and mistakes
+
 2005-07-30  Havoc Pennington  <hp@redhat.com>
 
        * dbus/dbus-sysdeps.c (_dbus_string_parse_uint): remove #ifdef