From: Simon McVittie Date: Tue, 27 Jun 2017 18:28:15 +0000 (+0100) Subject: Merge branch 'dbus-1.10' X-Git-Tag: dbus-1.11.14~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c72549f9aaa07d9298e9c66e63cceda7cda15f3c;p=thirdparty%2Fdbus.git Merge branch 'dbus-1.10' --- c72549f9aaa07d9298e9c66e63cceda7cda15f3c diff --cc NEWS index 59f8a7803,5e95a75d2..a8225b738 --- a/NEWS +++ b/NEWS @@@ -1,125 -1,26 +1,133 @@@ -D-Bus 1.10.20 (UNRELEASED) +D-Bus 1.11.14 (UNRELEASED) == +Dependencies: + +• SELinux support requires at least libselinux 2.0.86 as explicit + refcounting for SID (sidput/sidget) has been removed from the code. +• Full test coverage now requires GLib 2.40. + +Build-time configuration changes: + +• We now use pkg-config to find libexpat in Autotools builds. This requires + Expat 2.1.0 (March 2012) or later. In particular, this should remove the + need to configure with LDFLAGS=-L/usr/local/lib on OpenBSD, which can + itself cause compilation failures. + + As with all pkg-config-based configure checks, you can use + PKG_CONFIG_PATH=/whatever/lib/pkgconfig to find expat.pc in a + non-standard prefix, or EXPAT_CFLAGS="-I/whatever/include" and + EXPAT_LIBS="-L/whatever/lib -lexpat" to avoid needing a .pc file + at all. + + (fd.o #69801, Simon McVittie) + +• Similarly, we now use pkg-config to find libselinux. + +Behaviour changes: + +• Previously, /etc/machine-id could be copied to /var/lib/dbus/machine-id + as a side-effect of a sufficiently privileged process merely reading the + machine ID. It is no longer copied as a side-effect of reading. + Running dbus-uuidgen --ensure, which should be done after installing dbus, + continues to copy /etc/machine-id to /var/lib/dbus/machine-id if the + former exists and the latter does not. + (fd.o #101257, Simon McVittie) + +• The undocumented Verbose interface, and the GetAllMatchRules method on + the undocumented Stats interface, must now be used via the object path + /org/freedesktop/DBus. Previously, they existed on all object paths. + (fd.o #101257, Simon McVittie) + +Enhancements: + +• D-Bus Specification version 0.31 + · Don't require implementation-specific search paths to be lowest + priority + · Correct regex syntax for optionally-escaped bytes in addresses so it + includes hyphen-minus, forward slash and underscore as intended + · Describe all message bus methods in the same section + · Clarify the correct object path for method calls to the message bus + (/org/freedesktop/DBus, DBUS_PATH_DBUS in the reference implementation) + · Document that the message bus implements Introspectable, Peer and + Properties + · Add new Features and Interfaces properties for message bus + feature-discovery + (fd.o #99825, #100686, #100795, #101256, #101257; + Simon McVittie, Tom Gundersen) + +• Implement the Properties and Peer interfaces in dbus-daemon + (fd.o #101257, Simon McVittie) + +• New function dbus_try_get_local_machine_id() is like + dbus_get_local_machine_id(), but returning a DBusError. Other code + that needs the machine ID will now report a recoverable error (instead + of logging to stderr and aborting) if dbus has not been installed + correctly. (fd.o #13194, Simon McVittie) + +• Implement GetConnectionSELinuxSecurityContext("org.freedesktop.DBus") + (fd.o #101315, Laurent Bigonville) + +• Avoid deprecated API calls when using SELinux + (fd.o #100912, Laurent Bigonville) + +• Switch a test from the deprecated g_test_trap_fork() to + g_test_trap_subprocess(), for Windows support and better robustness + on Unix (fd.o #101362, Simon McVittie) + Fixes: + • Fix a reference leak when blocking on a pending call on a connection + that has been disconnected (fd.o #101481, Shin-ichi MORITA) + -• Don't put timestamps in the Doxygen-generated documentation, for - closer-to-reproducible builds (fd.o #100692, Simon McVittie) +• Don't put timestamps in the Doxygen-generated documentation, + or hard-code the build directory into builds with embedded tests, + for reproducible builds (fd.o #100692, Simon McVittie) + +• Fix some integration test issues (fd.o #100686, Simon McVittie) + +• Fix memory leaks in the tests (fd.o #101257, Simon McVittie) -• Avoid an assertion failure when connecting to a semicolon-separated - series of addresses, one of which fails (fd.o #101257, Simon McVittie) +• If we somehow get an autolaunch address with multiple semicolon-separated + components, and they don't work, don't invalidly "pile up" errors + (fd.o #101257, Simon McVittie) + Documentation: + + • Update git URIs in HACKING document to sync up with cgit.freedesktop.org + (fd.o #100715, Simon McVittie) + -D-Bus 1.10.18 (2017-04-05) +D-Bus 1.11.12 (2017-04-07) == -The “can't handle a self-referential paradox” release. +The “it's something humans do” release. + +Enhancements: + +• The session dbus-daemon now supports transient .service files + in $XDG_RUNTIME_DIR/dbus-1/services. Unlike the other standard + service directories, this directory is not monitored with inotify + or similar, and the service files must be named exactly + ${bus_name}.service. (fd.o #99825, Simon McVittie) + +• dbus can be configured with --enable-relocation when building with + Autotools, or with -DDBUS_RELOCATABLE=ON when building with cmake, + to make the pkg-config metadata relocatable. This is useful for + non-standard prefixes, and in particular for Windows installations. + However, it is not recommended for system-wide installations into + /usr, because it interferes with pkg-config's ability to filter out + compiler default linker directories. + + With Autotools, the default is --enable-relocation when building + for Windows or --disable-relocation otherwise. With CMake, the default + is -DDBUS_RELOCATABLE=ON. + + (fd.o #99721; Ralf Habacker, Simon McVittie) + +• Users of CMake ≥ 2.6 can now link to libdbus without providing their + own FindDBus.cmake macros, whether dbus was compiled with Autotools + or with CMake. See the end of README.cmake for more information. + (fd.o #99721; Ralf Habacker, Simon McVittie) Fixes: