summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2010-12-21CVE 2010-4352: Reject deeply nested variantsColin Walters1-6/+8
Add DBUS_INVALID_NESTED_TOO_DEEPLY validity problem and a test that should generate it. Previously, we rejected deep nesting in the signature, but variants allow dynamic message nesting, conditional only on the depth of the message body. The nesting limit is 64, which was also the limit in static signatures. Empirically, dynamic nesting depth observed on my Fedora 14 system doesn't exceed 2; 64 is really a huge limit. https://bugs.freedesktop.org/show_bug.cgi?id=32321 Signed-Off-By: Colin Walters <walters@verbum.org> Signed-off-by: Will Thompson <will.thompson@collabora.co.uk> Conflicts: dbus/dbus-marshal-validate.h
2010-03-16[doc/dbus-specification.xml] Explicitly specify lower-case hex must be usedSimon McVittie1-0/+5
https://bugs.freedesktop.org/show_bug.cgi?id=9486 When describing DBUS_COOKIE_SHA1, specify that lower-case hex encoding must be used.
2010-02-01Move system-activation.txt into non-conditional EXTRA_DISTColin Walters1-2/+3
It doesn't depend on the XML doc generation.
2010-01-28[doc] diagram.[svg,png] to EXTRA_DISTColin Walters1-0/+2
These files are part of the docs and should appear in tarballs.
2010-01-28Forbid zero serial numbersWill Thompson1-1/+1
2009-07-14Bug 21161 - Update the FSF addressTobias Mueller2-2/+2
No comment. Signed-off-by: Colin Walters <walters@verbum.org> (cherry picked from commit 5baf2f856a9c6625993234855b07680da1c8916f)
2009-01-06Bug 18446: Keep umask for session busMatt McCutchen1-0/+2
Signed-off-by: Colin Walters <walters@verbum.org>
2008-07-12Add new UpdateActivationEnvironment bus messageRay Strode1-0/+34
It adjusts the environment of activated bus clients. This is important for session managers that get started after the session bus daemon and want to influence the environment of desktop services that are started by the bus.
2007-10-09Improve description of allowed variant signatures (#10185)Simon McVittie1-1/+1
Patch based on one from Kristoffer Lundén, amended as per Havoc's comment.
2007-10-09doc/dbus-specification.xml: Clarify description of DBUS_COOKIE_SHA1 (#10184).Simon McVittie1-10/+10
Patch from Kristoffer Lundén.
2007-10-09doc/dbus-specification.xml: Specifically forbid empty structs (#7969)Simon McVittie1-1/+6
2007-09-20Add argument path matching support. Bug #11066.Ryan Lortie1-0/+14
2007-09-20 Ryan Lortie <desrt@desrt.ca> * dbus/signals.c (struct DBusMatchRule, bus_match_rule_new, bus_match_rule_set_arg, bus_match_rule_parse_arg_match, match_rule_matches): Add support for parsing and matching on arg0path='/some/path' type rules. * dbus/signals.h (bus_match_rule_set_arg): change to take const DBusString instead of const char * for the string to match against. * dbus/dbus-bus.c: add a quick note to dbus_bus_add_match documentation about the path matching. * doc/dbus-specification.xml: add a more detailed description of the changes here.
2007-09-13migrate from cvs to git (cvs2svn -> git-svnimport).Ryan Lortie1-0/+0
2007-09-13 Ryan Lortie <desrt@desrt.ca> migrate from cvs to git (cvs2svn -> git-svnimport). * HACKING: update release/branch/tag instructions * */.cvsignore: rename to .gitignore also, clean up tags and branch names to conform to HACKING
2007-07-272007-07-27 Havoc Pennington <hp@redhat.com>dbus-1.1.2Havoc Pennington1-1/+1
* release 1.1.2
2007-07-242007-07-24 Richard Hughes <richard@hughsie.com>Richard Hughes1-0/+2
* doc/busconfig.dtd: Add servicehelper into the dtd, it will soon be a valid part of the config file.
2007-07-242007-07-24 Richard Hughes <richard@hughsie.com>Richard Hughes1-0/+80
* doc/system-activation.txt: Add design document for the system activation parts. I'll shortly be committing many patches that add system activation using a setuid launcher into CVS, so expect things to be broken for a few hours.
2007-07-142007-07-13 Havoc Pennington <hp@redhat.com>Havoc Pennington1-1/+1
* Add indent-tabs-mode: nil to all file headers.
2007-06-182007-06-18 Havoc Pennington <hp@redhat.com>Havoc Pennington1-0/+36
* doc/dbus-specification.xml: document org.freedesktop.DBus.GetId() * bus/driver.c (bus_driver_handle_get_id): implement org.freedesktop.DBus.GetId() * bus/bus.c (bus_context_new): generate a unique ID for each bus context * dbus/dbus-connection.c (dbus_connection_get_server_id): new function * dbus/dbus-bus.c (dbus_bus_get_id): new function * dbus/dbus-server.c (dbus_server_get_id): new function
2007-06-14doc/dbus-specification.xml: say the protocol version is 1 instead of 0Simon McVittie1-3/+1
(patch from Kristoffer Lundén, fd.o#10033) Also remove the FIXME about removing protocol version from messages (as per Havoc's comment on that bug)
2007-05-21doc/dbus-specification.xml: explicitly specify that STRING cannot contain ↵Simon McVittie1-2/+2
embedded NULs.
2007-05-18be consistent about notationsHavoc Pennington1-2/+2
2007-05-182007-05-18 Havoc Pennington <hp@redhat.com>Havoc Pennington1-0/+2
* doc/dbus-specification.xml: add a GetAll to the Properties interface.
2007-05-04doc/dbus-specification.xml: mention the reserved o.fd.DBus.Local interfaceSimon McVittie1-1/+12
and the corresponding /o/fd/DBus/Local object path; describe them as reserved and forbid using them in a sent message, mentioning that in the reference implementation this will cause the connection to be dropped. Patch approved by Havoc.
2007-01-25* doc/dbus-tutorial.xml: Replace Python section of tutorial withSimon McVittie1-543/+5
a pointer to the tutorial maintained as part of dbus-python
2006-11-182006-11-17 Havoc Pennington <hp@redhat.com>Havoc Pennington1-5/+14
* doc/dbus-faq.xml: minor FAQ tweaks
2006-11-152006-11-14 Havoc Pennington <hp@redhat.com>Havoc Pennington1-20/+58
* dbus/dbus-internals.c (_dbus_generate_uuid): The spec said the UUID had the timestamp last, but the implementation had it first; move it to last since I think it's a tiny bit nicer (easier to compare at a glance, faster to sort, less code), and will not cause any practical compatibility problems. Also, always convert the timestamp to big endian. * doc/dbus-specification.xml: Clean up the docs on the UUID. * tools/dbus-uuidgen.1: more prominently say it is not suitable as a replacement for regular uuidgen/RFC4122.
2006-11-092006-11-08 Havoc Pennington <hp@redhat.com>Havoc Pennington2-2/+28
* doc/dbus-specification.xml: add a note about protocol stability * doc/TODO: Remove "important for 1.0" section, replace with "important for 1.2" section
2006-11-08* README: remove some of the out of date flagsJohn (J5) Palmieri1-7/+0
* doc/TODO: Remove todo items which are done
2006-11-072006-11-07 Havoc Pennington <hp@redhat.com>Havoc Pennington3-14/+39
* doc/dbus-specification.xml, doc/dbus-faq.xml, README: various documentation updates. Bump faq/spec versions (not to 1.0; I don't think the spec will be "finished"/1.0 when we ship the 1.0 library).
2006-10-302006-10-30 Havoc Pennington <hp@redhat.com>Havoc Pennington1-0/+5
* tools/dbus-launch.1, doc/TODO: capture intent to change the command line options of dbus-launch a bit post 1.0
2006-10-272006-10-26 Havoc Pennington <hp@redhat.com>Havoc Pennington1-2/+2
* dbus/dbus-sysdeps-pthread.c (_dbus_pthread_mutex_lock): change to be recursive (_dbus_pthread_mutex_unlock): make it recursive (_dbus_pthread_condvar_wait): save/restore the recursion count (_dbus_pthread_condvar_wait_timeout): save/restore the recursion count
2006-10-272006-10-26 Havoc Pennington <hp@redhat.com>Havoc Pennington1-8/+14
* doc/dbus-specification.xml: clarify the UUID text slightly * dbus/dbus-sysdeps-pthread.c: check for and mostly abort on pthread errors. Add DBusMutexPThread and DBusCondVarPThread in preparation for being able to extend them for e.g. recursive mutexes.
2006-10-26* dbus-sysdeps-unix.c (_dbus_set_local_creds): Clean up theJohn (J5) Palmieri1-0/+4
LOCAL_CREDS vs CMSGCRED stuff a bit. Prefer CMSGCRED. This needs to be cleaned up more. * doc/TODO: Add a todo that *BSD hackers should look at cleaning up the CREDS issue.
2006-10-212006-10-21 Havoc Pennington <hp@redhat.com>Havoc Pennington1-4/+8
* dbus/dbus-message.h: put #ifndef DBUS_DISABLE_DEPRECATED around dbus_message_iter_get_array_len(). * throughout: documentation improvements.
2006-10-20more todo itemsHavoc Pennington1-0/+7
2006-10-202006-10-20 Havoc Pennington <hp@redhat.com>Havoc Pennington1-8/+10
* doc/TODO: remove the int64 thing from 1.0 since it doesn't matter, and the message-loader-breaker thing since nobody is going to do it. Add an item to 1.0 about supporting recursive locks in dbus_threads_init_default() though, since it should be easy. * dbus/dbus-connection.c (_dbus_connection_read_write_dispatch): Fix this in the !dispatch case to avoid busy-looping after disconnection * More misc docs improvements
2006-10-14* doc/TODO: Remove the check TODO itemJohn (J5) Palmieri1-4/+0
2006-10-012006-10-01 Havoc Pennington <hp@redhat.com>Havoc Pennington1-0/+9
* dbus/dbus-connection.c (_dbus_connection_close_if_only_one_ref): Add a hack to make DBusNewConnectionFunction work right. * dbus/dbus-server-socket.c (handle_new_client_fd_and_unlock): use the hack here. Also, fix the todo about refcount leak. * dbus/dbus-server-debug-pipe.c (_dbus_transport_debug_pipe_new): and use the hack here * dbus/dbus-connection.c: Kill the "shared" flag vs. the "shareable" flag; this was completely broken, since it meant dbus_connection_open() returned a connection of unknown shared-ness. Now, we always hold a ref on anything opened as shareable. Move the call to notify dbus-bus.c into connection_forget_shared_unlocked, so libdbus consistently forgets all its knowledge of a connection at once. This exposed numerous places where things were totally broken if we dropped a ref inside get_dispatch_status_unlocked where connection_forget_shared_unlocked was previously, so move connection_forget_shared_unlocked into _dbus_connection_update_dispatch_status_and_unlock. Also move the exit_on_disconnect here. (shared_connections_shutdown): this assumed weak refs to the shared connections; since we have strong refs now, the assertion was failing and stuff was left in the hash. Fix it to close still-open shared connections. * bus/dispatch.c: fixup to use dbus_connection_open_private on the debug pipe connections * dbus/dbus-connection.c (dbus_connection_dispatch): only notify dbus-bus.c if the closed connection is in fact shared (_dbus_connection_close_possibly_shared): rename from _dbus_connection_close_internal (dbus_connection_close, dbus_connection_open, dbus_connection_open_private): Improve docs to explain the deal with when you should close or unref or both * dbus/dbus-bus.c (_dbus_bus_notify_shared_connection_disconnected_unlocked): rename from _dbus_bus_check_connection_and_unref_unlocked and modify to loop over all connections * test/test-utils.c (test_connection_shutdown): don't try to close shared connections. * test/name-test/test-threads-init.c (main): fix warnings in here * dbus/dbus-sysdeps.c (_dbus_abort): support DBUS_BLOCK_ON_ABORT env variable to cause blocking waiting for gdb; drop DBUS_PRINT_BACKTRACE and just call _dbus_print_backtrace() unconditionally. * configure.in: add -export-dynamic to libtool flags if assertions enabled so _dbus_print_backtrace works. * dbus/dbus-sysdeps-unix.c (_dbus_print_backtrace): use fprintf instead of _dbus_verbose to print the backtrace, and diagnose lack of -rdynamic/-export-dynamic
2006-10-012006-09-30 Havoc Pennington <hp@redhat.com>Havoc Pennington1-4/+29
* configure.in (LT_CURRENT, LT_AGE): increment current and age to reflect addition of interfaces. * doc/dbus-specification.xml: describe a new org.freedesktop.DBus.Peer.GetMachineId method * dbus/dbus-string.c (_dbus_string_skip_white_reverse): new function (_dbus_string_skip_white, _dbus_string_skip_blank): use new DBUS_IS_ASCII_BLANK, DBUS_IS_ASCII_WHITE macros and fix assertion at end of skip_white (_dbus_string_chop_white): new function * bus/connection.c (bus_connections_setup_connection): call dbus_connection_set_route_peer_messages. * dbus/dbus-connection.c (_dbus_connection_peer_filter_unlocked_no_update): modify to support a GetMachineId method. Also, support a new flag to let the bus pass peer methods through to apps on the bus, which can be set with dbus_connection_set_route_peer_messages. Finally, handle and return an error for anything unknown on the Peer interface, which will allow us to extend the Peer interface in the future without fear that we're now intercepting something apps were wanting to see. * tools/dbus-uuidgen.c: a thin wrapper around the functions in dbus/dbus-uuidgen.c * dbus/dbus-uuidgen.c: implement the bulk of the dbus-uuidgen binary here, since most of the code is already in libdbus * dbus/dbus-sysdeps.c (_dbus_read_local_machine_uuid): read the uuid from the system config file * dbus/dbus-internals.c (_dbus_generate_uuid, _dbus_uuid_encode) (_dbus_read_uuid_file_without_creating) (_dbus_create_uuid_file_exclusively, _dbus_read_uuid_file): new uuid-related functions, partly factored out from dbus-server.c * dbus/dbus-sysdeps.c (_dbus_error_from_errno): convert EEXIST to DBUS_ERROR_FILE_EXISTS instead of EEXIST * dbus/dbus-protocol.h (DBUS_ERROR_FILE_EXISTS): add file exists error * tools/dbus-cleanup-sockets.1: explain what the point of this thing is a bit more * autogen.sh (run_configure): add --config-cache to default configure args * dbus/dbus-internals.h (_DBUS_ASSERT_ERROR_IS_SET): disable the error set/clear assertions when DBUS_DISABLE_CHECKS is defined * tools/dbus-launch.c (main): if xdisplay hasn't been opened, don't try to save address, fixes crash in make check
2006-09-14* dbus/dbus-threads.c: Allow recursive mutex's to be passed intoJohn (J5) Palmieri1-7/+0
dbus_threads_init and be used by the dbus mutex functions to avoid deadlocks. * doc/TODO: Remove recursive mutex dbus_connection_dispatch TODO item
2006-09-06* doc/TODO:John (J5) Palmieri1-15/+0
- Remove pending call locking todo item - dbus_connection_open now holds hard ref. Remove todo item - do proper locking on _dbus_bus_check_connection_and_unref and handle DBUS_BUS_STARTER. Remove todo item - Warn on closing of a shared connection. Remove todo item * bus/bus.c, bus/connection.c, bus/dispatch.c, dbus/dbus-bus.c, dbus/dbus-connection.c: Use the dbus_connection_close_internal so we don't get the warning when closing shared connections * test/test-service.c, test/test-shell-service.c: Applications don't close shared connections themselves so we unref instead of close * test/test-utils.c (test_connection_shutdown): Close the connection * dbus/dbus-bus.c (_dbus_bus_check_connection_and_unref): Changed to _dbus_bus_check_connection_and_unref_unlocked since we only call this method on a locked connection. Make sure we call _dbus_connection_unref_unlocked instead of dbus_connection_unref also. Handle DBUS_BUS_STARTER correctly * dbus/dbus-connection.c (connection_record_shared_unlocked): Mark as shared and hard ref the connection (connection_forget_shared_unlocked): Remove the hard ref from the connection (_dbus_connection_close_internal_and_unlock): New internal function which takes a locked connection and unlocks it after closing it (_dbus_connection_close_internal): New internal function which acts like the origonal dbus_connection_close method by grabbing a connection lock and calling _dbus_connection_close_internal_and_unlock (dbus_connection_close): Public close method, warns when the app trys to close a shared connection
2006-09-06* doc/TODO: Removed dtd publishing item.John (J5) Palmieri1-2/+0
It seems the dtd has already been added at http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd
2006-09-06* doc/TODO, various source files: Audited todo's and FIXME's andJohn (J5) Palmieri1-1/+3
prepended the ones we should be looking at with 1.0. Those prepended with 1.0? need clerification or might not be needed for 1.0
2006-08-24add some items related to shared connectionsHavoc Pennington1-0/+13
2006-08-202006-08-20 Havoc Pennington <hp@redhat.com>Havoc Pennington2-105/+352
* doc/dbus-faq.xml, doc/dbus-tutorial.xml: some improvements to the docs
2006-08-172006-08-17 Alp Toker <alp@atoker.com>Robert McQueen1-5/+5
* doc/dbus-specification.xml: Fix some minor typos.
2006-08-03* s/D-BUS/D-Bus/gJohn (J5) Palmieri5-199/+199
2006-07-21add note about fixing locking on pending callHavoc Pennington1-1/+3
2006-07-17* doc/TODO:John (J5) Palmieri1-12/+0
* dbus/dbus-bus.c: * dbus-errors.c: * dbus/dbus-marshal-validate.c: Removed TODO items which were fixed or are no longer relevent
2006-07-14* bus/activation.[ch] (bus_activation_list_services): new function toJohn (J5) Palmieri1-0/+31
get the list of services that can be activated * bus/dispatch.c: test coverage for the new bus method ListActivatableNames * bus/driver.c: new bus method ListActivatableNames to get the list of services that can be activated * doc/dbus-specification.xml: ListActivatableNames method documentation