summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-07-291.4.14dbus-1.4.14Simon McVittie2-2/+4
2011-07-29NEWSSimon McVittie1-2/+8
2011-07-29Implement _dbus_atomic_get directly, rather than via inc + decSimon McVittie3-24/+38
The Windows implementation is untested, but does at least (cross-)compile, and matches what GLib does. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38005 Reviewed-by: Lennart Poettering <lennart@poettering.net>
2011-07-28sysdeps-unix: remove some redundant assignmentsLennart Poettering1-4/+0
2011-07-28activation: add /lib/dbus-1/system-services to the search path for servicesLennart Poettering2-5/+15
In order to allow D-Bus usage during early boot (where /usr is not accessible) also search for bus activation files in /lib/dbus-1/system-services/. This is only a first step in the right direction, before we really can boot without /usr we'd need to move all current activation files (or possibly replace /usr/dbus-1/system-services to a symlink to /lib/dbus-1/system-services).
2011-07-28Add a note about bootstrapping new platforms to READMESimon McVittie1-0/+21
2011-07-28man pages: replace all unescaped hyphen/minus characters with \-Simon McVittie6-217/+217
In a man page, "-" officially means a typographical (Unicode) hyphen, which frequently breaks the ability to copy and paste code examples from a man page. "\-" means the ASCII hyphen/minus character. See <http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html> for more details. Rather than trying to distinguish between hyphens, em-dashes and hyphen/minus, I just replaced all ambiguous hyphens with \- by applying this vim command repeatedly until it didn't find anything: %s/\(^\|[^\\]\)-/\1\\-/g Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38284 Reviewed-by: Lennart Poettering <lennart@poettering.net>
2011-07-28Fix spelling/grammatical mistakes detected by Debian's lintian(1)Simon McVittie5-10/+10
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38284 Reviewed-by: Lennart Poettering <lennart@poettering.net>
2011-07-27list_allows_user: fix debug output for groupsSascha Silbe1-2/+2
Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-07-26NEWSSimon McVittie1-4/+3
2011-07-26DBusMessage: always access refcount atomically, even for assertions/initial refSimon McVittie1-12/+14
Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38005
2011-07-26dbus-memory: use atomic accesses to block count, even for assertionsSimon McVittie1-7/+17
Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38005
2011-07-26NEWSSimon McVittie1-3/+4
2011-07-25DBusConnection: use atomic accesses to refcount in assertions/initial refSimon McVittie1-5/+6
Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38005
2011-07-25dbus_message_ref: avoid unused variable if not assertingSimon McVittie1-1/+7
Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38005
2011-07-25_dbus_connection_close_if_only_one_ref: use _dbus_atomic_getSimon McVittie1-13/+5
Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38005
2011-07-25Add _dbus_atomic_get implemented in terms of inc, decSimon McVittie2-0/+25
Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38005
2011-07-25DBusObjectTree: always access refcount atomicallySimon McVittie1-5/+14
Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38005
2011-07-25dbus_message_unref: make an assertion more strictSimon McVittie1-1/+1
We've just decremented the refcount, so it should have been at least 1 before we did that. Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38005
2011-07-25DBusMessageFilter: exclusively use atomic accesses to refcountSimon McVittie1-5/+14
Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38005
2011-07-18NEWSSimon McVittie1-1/+29
2011-07-18Uninstall the installed docsSimon McVittie1-0/+4
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36156 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-07-18Install man2html output to $(htmldir)Simon McVittie1-1/+1
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36156 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-07-18Install diagram.*, system-activation.txt to the $(docdir)Simon McVittie1-3/+6
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36156 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-07-18Install xmlto output to $(htmldir) automaticallySimon McVittie1-9/+7
Also rename HTML_FILES to XMLTO_OUTPUT, as a more self-describing name: we have other HTML files which are not the output from xmlto. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36156 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-07-18Install dbus.devhelp to $(htmldir), not $(apidir), and remove it in cleanSimon McVittie1-1/+4
It needs to be in $(htmldir) so that its relative paths will work. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36156 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-07-18configure.ac: fix check for xsltprocSimon McVittie1-2/+1
Pre-setting XSLTPROC interferes with AC_CHECK_PROGS letting the user override choice of program via the environment. Reviewed-by: Will Thompson <will.thompson@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36156
2011-07-18Use EXEEXT when running tests from another directory, and skip ↵Simon McVittie1-4/+7
bus-test-launch-helper on non-Unix This is necessary when cross-compiling from Linux to mingw32 and running the resulting tests under Wine. (This partially works! Some tests fail, though.) Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-07-18Build docs after running tests, and remove redundant DIST_SUBDIRSSimon McVittie1-2/+1
If DIST_SUBDIRS isn't set, it defaults to SUBDIRS, so it's just noise. Running tests before building documentation is an easy way to speed up the hack/make check/fix cycle, by not wasting time rebuilding the documentation (which is often slow) until all the tests compile and pass. https://bugs.freedesktop.org/show_bug.cgi?id=34405 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-07-18Run bus tests from test/Simon McVittie2-10/+17
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34405 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-07-18Run dbus-test from test/, not dbus/Simon McVittie2-12/+14
This avoids failures caused by test/data not having been set up yet. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34405 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-07-18dbus tests: don't warn on skipped testsSimon McVittie2-3/+3
We should treat _dbus_warn as fatal when we run tests, like bus/ does. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34405 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-07-18test/Makefile.am: list tests one per lineSimon McVittie1-4/+18
This improves clarity, and makes conflicts less likely and merges more obviously correct. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34405 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-07-18Opt-in to modern OS features on Solaris, to get file descriptor passingSimon McVittie1-0/+3
Surely it's broken to define SCM_RIGHTS but not the necessary structs to do something useful with it, but whatever. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33465 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-07-18_dbus_connect_tcp_socket_with_nonce: don't create an extra fd (which is then ↵Simon McVittie1-8/+0
leaked) This block should have been deleted in 2007, when IPv6 support was added: previously, the fd allocated at the beginning of the function was used for connect(), but for IPv6 support, the socket() call has to be inside the loop over getaddrinfo() results so its address family can be changed. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37258 Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
2011-07-14DBusServer: exclusively use atomic operations on the refcountSimon McVittie1-43/+64
Same reasoning as for fd.o #38005, commit 50732523a7. Reviewed-by: Will Thompson <will.thompson@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38005 Bug-NB: NB#263436
2011-07-14DBusPendingCall: exclusively use atomic operations on the refcountSimon McVittie1-33/+10
Same reasoning as for fd.o #38005, commit 50732523a7. Reviewed-by: Will Thompson <will.thompson@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38005 Bug-NB: NB#263436
2011-07-08Cope with platforms whose vsnprintf violates both POSIX and C99 - part 1Simon McVittie1-0/+3
2011-07-08In Windows _dbus_printf_string_upper_bound, don't crash on malloc failureSimon McVittie1-0/+4
2011-07-08Added DBUS_ENABLE_STATS option to cmake buildsystem to keep in sync with ↵Ralf Habacker3-0/+10
autotools.
2011-07-08Visual Studio Professional uses a different ide starter - pointed out by ↵Ralf Habacker1-18/+33
Romain Pokrzywka
2011-07-08Collected cmake doc into README.cmake.Ralf Habacker3-61/+152
2011-07-05win32 fix: Keep server autolaunch mutex settings according to client ↵Ralf Habacker1-0/+12
detection algorithmus.
2011-07-01DBusConnection: use DBUS_ERROR_OBJECT_PATH_IN_USE instead of ↵Jiří Klimeš1-6/+8
DBUS_ERROR_ADDRESS_IN_USE While registering an object path the possible error is DBUS_ERROR_OBJECT_PATH_IN_USE, not DBUS_ERROR_ADDRESS_IN_USE (the error is set by _dbus_object_tree_register()). Signed-off-by: Jiří Klimeš <jklimes@redhat.com> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38874
2011-06-10version bumpSimon McVittie2-1/+4
2011-06-10prepare 1.4.12dbus-1.4.12Simon McVittie3-6/+9
2011-06-10fix installable tests to not install if unwantedSimon McVittie1-1/+1
2011-06-10NEWSSimon McVittie1-0/+21
2011-06-10Fix copyright datesSimon McVittie3-3/+3
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34570
2011-06-10Use DBUS_TIMEOUT_INFINITE in dbus-daemon.cSimon McVittie1-2/+3
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34570