Merge branch 'dbus-1.10'
authorSimon McVittie <smcv@collabora.com>
Tue, 27 Jun 2017 18:28:15 +0000 (19:28 +0100)
committerSimon McVittie <smcv@collabora.com>
Tue, 27 Jun 2017 18:28:15 +0000 (19:28 +0100)
1  2 
NEWS

diff --cc NEWS
--- 1/NEWS
--- 2/NEWS
+++ b/NEWS
 -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:
  
 -• Don't put timestamps in the Doxygen-generated documentation, for
 -  closer-to-reproducible builds (fd.o #100692, Simon McVittie)
+ • 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,
 +  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)
  
 -D-Bus 1.10.18 (2017-04-05)
+ Documentation:
+ • Update git URIs in HACKING document to sync up with cgit.freedesktop.org
+   (fd.o #100715, Simon McVittie)
 +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: