+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
+ just set_is_error/get_is_error as this is a commonly-used
+ function, and write docs.
+
+2003-01-31 Anders Carlsson <andersca@codefactory.se>
+
+ * dbus/dbus-address.c: (dbus_address_entry_free):
+ Free key and value lists.
+
+ * dbus/dbus-internals.c: (_dbus_type_to_string):
+ Add the types we didn't have.
+
+ * dbus/dbus-marshal.c: (_dbus_marshal_get_arg_end_pos),
+ (_dbus_marshal_validate_arg):
+ Add NIL types.
+
+ * dbus/dbus-message.c: (dbus_message_set_sender):
+ Remove todo about being able to set sender to NULL.
+
+ (dbus_message_set_is_error_reply),
+ (dbus_message_get_is_error_reply):
+ * dbus/dbus-message.h:
+ New functions.
+
+ * dbus/dbus-protocol.h:
+ Add error reply flag.
+
+ * test/data/valid-messages/opposite-endian.message:
+ Add NIL type to test.
+
+2003-01-31 Havoc Pennington <hp@pobox.com>
+
+ * doc/dbus-specification.sgml: fully specify the header. Add
+ flags and major protocol version, and change header/body len to
+ unsigned.
+
+ * dbus/dbus-message-builder.c (append_saved_length): append length
+ as uint32
+
+ * dbus/dbus-message.c (dbus_message_create_header): change header
+ length and body length to unsigned. Add the new fields from the
+ spec
+ (_dbus_message_loader_return_buffer): unsigned header/body len
+
+2003-01-30 Havoc Pennington <hp@pobox.com>
+
+ * dbus/dbus-auth.c: rework to use only REJECTED, no
+ MECHANISMS
+
+ * doc/dbus-sasl-profile.txt: drop MECHANISMS and just
+ use REJECTED, suggested by Mark McLoughlin
+
+2003-01-30 Havoc Pennington <hp@pobox.com>
+
+ * dbus/dbus-server.c (dbus_server_listen): @todo about how we need
+ a better way to report errors here. e.g. "unix address lacks
+ path" or something. also "no such file" when the path doesn't
+ exist, etc.
+
+ * dbus/dbus-address.c (dbus_address_entries_free): add @todo about
+ leaking list nodes
+ (dbus_parse_address): add @todo about documenting address format,
+ and allowing , and ; to be escaped
+
+2003-01-30 Anders Carlsson <andersca@codefactory.se>
+
+ * dbus/Makefile.am:
+ Add dbus-address.[ch]
+
+ * dbus/dbus-address.c: (dbus_address_entry_free),
+ (dbus_address_entries_free), (create_entry),
+ (dbus_address_entry_get_method), (dbus_address_entry_get_value),
+ (dbus_parse_address), (_dbus_address_test):
+ * dbus/dbus-address.h:
+ New files for dealing with address parsing.
+
+ * dbus/dbus-connection.c:
+ Document timeout functions.
+
+ * dbus/dbus-message.c:
+ Document dbus_message_new_from_message.
+
+ * dbus/dbus-server-debug.c:
+ Document.
+
+ * dbus/dbus-server.c: (dbus_server_listen):
+ Parse address and use correct server implementation.
+
+ * dbus/dbus-string.c: (_dbus_string_find_to), (_dbus_string_test):
+ * dbus/dbus-string.h:
+ New function with test.
+
+ * dbus/dbus-test.c: (dbus_internal_symbol_do_not_use_run_tests):
+ * dbus/dbus-test.h:
+ Add address tests.
+
+ * dbus/dbus-transport-debug.c:
+ Document.
+
+ * dbus/dbus-transport.c: (_dbus_transport_open):
+ Parse address and use correct transport implementation.
+
+2003-01-30 Havoc Pennington <hp@pobox.com>
+
+ * dbus/dbus-message.c: use message->byte_order instead of
+ DBUS_COMPILER_BYTE_ORDER throughout.
+ (dbus_message_create_header): pad header to align the
+ start of the body of the message to 8-byte boundary
+
+ * dbus/dbus-marshal.h: make all the demarshalers take const
+ DBusString arguments.
+
+ * dbus/dbus-message.c (_dbus_message_loader_return_buffer):
+ validate message args here, so we don't have to do slow validation
+ later, and so we catch bad messages as they are incoming. Also add
+ better checks on header_len and body_len. Also fill in
+ message->byte_order
+
+ * dbus/dbus-string.c (_dbus_string_validate_utf8): new (not
+ implemented properly)
+ (_dbus_string_validate_nul): new function to check all-nul
+
+ * dbus/dbus-marshal.c (_dbus_marshal_get_field_end_pos): rename
+ get_arg_end_pos and remove all validation
+ (_dbus_marshal_validate_arg): actually do validation here.
+
+2003-01-29 Havoc Pennington <hp@pobox.com>
+
+ * dbus/dbus-message.c (check_message_handling): fix assertion
+ failure on set_client_serial
+
2003-01-28 Havoc Pennington <hp@pobox.com>
* dbus/dbus-server-debug.c: Add doc section comments