2003-02-13 Anders Carlsson <andersca@codefactory.se>
[platform/upstream/dbus.git] / ChangeLog
index 8fd570e..aa82d19 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,235 @@
+2003-02-13  Anders Carlsson  <andersca@codefactory.se>
+
+       * bus/desktop-file.c: (parse_section_start), (parse_key_value),
+       (report_error), (bus_desktop_file_load), (lookup_section),
+       (lookup_line), (bus_desktop_file_get_raw),
+       (bus_desktop_file_get_string):
+       * bus/desktop-file.h:
+       Some fixes, and new functions for getting a key value from a section.
+       
+2003-02-13  Havoc Pennington  <hp@pobox.com>
+
+       * test/data/auth/fail-after-n-attempts.auth-script: new test
+
+       * dbus/dbus-auth.c (send_rejected): shutdown_mech() when we
+       reject the client.
+
+2003-02-13  Havoc Pennington  <hp@pobox.com>
+
+       * dbus/dbus-auth.c (handle_server_data_external_mech): args to
+       dbus_credentials_match were backward
+
+       * dbus/dbus-auth-script.c (_dbus_auth_script_run): support
+       NO_CREDENTIALS and ROOT_CREDENTIALS
+
+       * dbus/dbus-auth.c (_dbus_auth_do_work): move get_state() routine 
+       into here. Never process more commands after we've reached an 
+       end state; store further data as unused bytes.
+
+       * test/data/auth/*: add more auth tests
+       
+       * dbus/dbus-auth-script.c (_dbus_auth_script_run): support EXPECT
+       command to match exact string and EXPECT_UNUSED to match unused
+       bytes
+
+       * test/Makefile.am (dist-hook): fix to dist all the test stuff
+
+2003-02-12  Havoc Pennington  <hp@pobox.com>
+
+       * dbus/dbus-string.c (_dbus_string_pop_line): fix to also strip
+       \r off of popped lines
+
+       * dbus/dbus-auth.c (_dbus_auth_test): write code to run auth
+       scripts
+
+       * dbus/dbus-auth-script.c (_dbus_auth_script_run): when doing a
+       SEND, append \r\n
+
+2003-02-12  Havoc Pennington  <hp@pobox.com>
+
+       * dbus/Makefile.am: remove break-loader from the build, since it
+       moved.
+
+       * configure.in: add --enable-gcov to turn on coverage profiling
+       flags and disable optimization
+
+2003-02-10  Havoc Pennington  <hp@pobox.com>
+
+        * dbus/dbus-auth-script.c, dbus/dbus-auth-script.h: sync 
+       initial cut at test framework for DBusAuth from laptop.
+       Doesn't quite work yet but it compiles and I need to get 
+       it off the 266mhz laptop. ;-)
+       
+       * dbus/dbus-server-debug.c (_dbus_server_debug_accept_transport):
+       fix a memleak in error case
+
+2003-02-12  Anders Carlsson  <andersca@codefactory.se>
+
+       * bus/Makefile.am:
+       * bus/desktop-file.c:
+       * bus/desktop-file.h:
+       Add a desktop file parser.
+
+2003-02-11  Zack Rusin  <zack@kde.org>
+
+       * qt/message.[h|cpp]: sample implementation
+       of the KDE wrapper for DBusMessage
+
+2003-02-09  Zack Rusin  <zack@kde.org>
+
+       * test/bus-test.c: make_it_compile
+       * doc/dbus-specification.sgml: minimal semantic fix
+
+2003-02-06  Anders Carlsson  <andersca@codefactory.se>
+
+       Release 0.3
+       
+       * NEWS: Update
+
+2003-02-06  Anders Carlsson  <andersca@codefactory.se>
+
+       * dbus/Makefile.am:
+       * dbus/dbus-break-loader.c:
+       * test/Makefile.am:
+       * test/break-loader.c:
+       Move dbus-break-loader to test/ and rename it to break-loader.
+
+2003-02-02  Havoc Pennington  <hp@pobox.com>
+
+       * dbus/dbus-keyring.c, dbus/dbus-keyring.h: template files 
+       for code to manage cookies in your home directory
+
+       * dbus/dbus-sysdeps.c (_dbus_generate_random_bytes): new function
+
+       * dbus/dbus-auth.c (get_state): impose a maximum number of tries
+       to authenticate, then disconnect the client.
+
+2003-02-03  Alexander Larsson  <alexl@redhat.com>
+
+       * dbus/dbus-message.c (dbus_message_append_fields):
+       Correct docs.
+
+2003-02-02  Anders Carlsson  <andersca@codefactory.se>
+
+       * doc/dbus-specification.sgml:
+       Update address format section.
+       
+2003-02-02  Anders Carlsson  <andersca@codefactory.se>
+
+       * test/Makefile.am:
+       * test/bus-test.c: (get_time), (add_timeout), (remove_timeout),
+       (message_handler), (new_connection_callback), (loop_quit),
+       (loop_run), (main):
+       Add bus test.
+       
+2003-02-02  Anders Carlsson  <andersca@codefactory.se>
+
+       * bus/driver.c: (bus_driver_handle_service_exists):
+       Simplify the code a bit.
+       
+       * dbus/dbus-bus.c: (dbus_bus_service_exists):
+       Fix a silly. 
+       
+2003-02-02  Anders Carlsson  <andersca@codefactory.se>
+
+       * bus/Makefile.am:
+       Add libdbus-daemon.la and link to it.
+
+2003-02-01  James Willcox  <jwillcox@gnome.org>
+
+       * bus/driver.c: (bus_driver_handle_own_service):
+       Actually include the service reply code in the message.
+
+2003-02-02  Anders Carlsson  <andersca@codefactory.se>
+
+       * bus/driver.c: (bus_driver_handle_service_exists):
+       Don't unref the incoming message.
+       
+2003-02-02  Anders Carlsson  <andersca@codefactory.se>
+
+       * dbus/dbus.h: Add dbus-address.h and dbus-bus.h
+
+2003-02-02  Anders Carlsson  <andersca@codefactory.se>
+
+       * dbus/dbus-server.c: (dbus_server_listen):
+       * dbus/dbus-transport.c: (_dbus_transport_open):
+       ifdef out the calls to the debug transport and server.
+       
+2003-02-02  Alexander Larsson  <alexl@redhat.com>
+
+       * dbus/dbus-watch.c (dbus_watch_get_flags):
+       Add note in the docs that ERROR or HANGUP won't be returned
+       and are assumed always on.
+
+       * glib/dbus-gmain.c (add_watch):
+       Always add IO_ERR | IO_HUP
+
+       * dbus/dbus-message.h:
+       Add semicolon after dbus_message_iter_get_string_array().
+       Makes qt code build again
+
+2003-02-01  Anders Carlsson  <andersca@codefactory.se>
+
+       * bus/driver.c: (create_unique_client_name),
+       (bus_driver_handle_hello):
+       Don't take a name, just use a numeric id to identify
+       each client.
+       
+       * dbus/Makefile.am:
+       * dbus/dbus-bus.c: (dbus_bus_register_client),
+       (dbus_bus_acquire_service), (dbus_bus_service_exists):
+       * dbus/dbus-bus.h:
+       Add new convenience functions for communicating with the bus.
+       
+       * dbus/dbus-message.h:
+       
+       * dbus/dbus-protocol.h:
+       Fix a typo.
+       
+2003-02-01  Alexander Larsson  <alexl@redhat.com>
+
+       * dbus/dbus-message.c (dbus_message_append_fields):
+       Add some more doc comments.
+
+2003-02-01  Havoc Pennington  <hp@pobox.com>
+
+       * dbus/dbus-break-loader.c (randomly_modify_length): change 
+       a 4-byte value in the message as if it were a length
+
+       * dbus/dbus-sysdeps.c (_dbus_string_save_to_file): don't set
+       execute bit on saved files
+
+2003-02-01  Havoc Pennington  <hp@pobox.com>
+
+       * dbus/dbus-break-loader.c (main): new program to find messages
+       that break the loader.
+
+       * dbus/dbus-sysdeps.c (_dbus_string_append_uint): new function
+       * dbus/dbus-sysdeps.c (_dbus_string_save_to_file): new function
+
+       * dbus/dbus-string.c (_dbus_string_set_byte): new
+       
+2003-01-31  Havoc Pennington  <hp@pobox.com>
+
+       * dbus/dbus-message.c: refactor the test code to be more general, 
+       in preparation for writing a "randomly permute test cases to 
+       try to break the loader" program.
+
+2003-01-31  Havoc Pennington  <hp@pobox.com>
+       
+       * doc/dbus-specification.sgml: work on the specification
+
+       * dbus/dbus-message.c (_dbus_message_loader_return_buffer): check 
+       the protocol version of the message.
+
+       * dbus/dbus-protocol.h: drop special _REPLY names, the spec 
+       no longer specifies that.
+       (DBUS_SERVICE_REPLY_SERVICE_EXISTS): fix flags (1/2/4/8 not 
+       1/2/3/4)
+
+       * dbus/dbus-marshal.c (_dbus_marshal_get_arg_end_pos): add missing
+       "break" for DBUS_TYPE_NIL, remove @todo
+
 2003-01-31  Havoc Pennington  <hp@pobox.com>
 
        * dbus/dbus-message.c (dbus_message_set_is_error_reply): rename