[daemon-fix] fixed querying about name information
[platform/upstream/dbus.git] / NEWS
diff --git a/NEWS b/NEWS
index 8b4fe0d..f65ddf7 100644 (file)
--- a/NEWS
+++ b/NEWS
-D-Bus 1.7.2 (UNRELEASED)
+D-Bus 1.7.6 (UNRELEASED)
 ==
 
+Build-time configuration changes:
+
+• Directory change notification via dnotify on Linux is no longer
+  supported; it hadn't compiled successfully since 2010 in any case.
+  If you don't have inotify (Linux) or kqueue (*BSD), you will need
+  to send SIGHUP to the dbus-daemon when its configuration changes.
+  (fd.o #33001, Chengwei Yang)
+
+• The DBUS_DISABLE_ASSERTS CMake option didn't actually disable most
+  assertions. It has been renamed to DBUS_DISABLE_ASSERT to be consistent
+  with the Autotools build system. (fd.o #66142, Chengwei Yang)
+
+Enhancements:
+
+• D-Bus Specification 0.22
+  · Document GetAdtAuditSessionData() and
+    GetConnectionSELinuxSecurityContext() (fd.o #54445, Simon)
+  · Fix example .service file (fd.o #66481, Chengwei Yang)
+
+• Be thread-safe by default on all platforms, even if
+  dbus_threads_init_default() has not been called. For compatibility with
+  older libdbus, library users should continue to call
+  dbus_threads_init_default(): it is harmless to do so.
+  (fd.o #54972, Simon McVittie)
+
+• Add GetConnectionCredentials() method (fd.o #54445, Simon)
+
+• New API: dbus_setenv(), a simple wrapper around setenv().
+  Note that this is not thread-safe. (fd.o #39196, Simon)
+
+Fixes:
+
+• Escape addresses containing non-ASCII characters correctly
+  (fd.o #53499, Chengwei Yang)
+
+• Don't crash on "dbus-send --session / x.y.z" which regressed in 1.7.4.
+  (fd.o #65923, Chengwei Yang)
+
+• If malloc() returns NULL in _dbus_string_init() or similar, don't free
+  an invalid pointer if the string is later freed (fd.o #65959, Chengwei Yang)
+
+• If malloc() returns NULL in dbus_set_error(), don't va_end() a va_list
+  that was never va_start()ed (fd.o #66300, Chengwei Yang)
+
+• fix build failure with --enable-stats (fd.o #66004, Chengwei Yang)
+
+• fix a regression test on platforms with strict alignment (fd.o #67279,
+  Colin Walters)
+
+• Avoid calling function parameters "interface" since certain Windows headers
+  have a namespace-polluting macro of that name (fd.o #66493, Ivan Romanov)
+
+• Assorted Doxygen fixes (fd.o #65755, Chengwei Yang)
+
+• Unix-specific:
+  · dbus-run-session: clear some unwanted environment variables
+    (fd.o #39196, Simon)
+  · dbus-run-session: compile on FreeBSD (fd.o #66197, Chengwei Yang)
+
+• Windows-specific:
+  · Remove unavailable command-line options from 'dbus-daemon --help'
+    (fd.o #42441, Ralf Habacker)
+  · Add support for looking up local TCPv4 clients' credentials on
+    Windows XP via the undocumented AllocateAndGetTcpExTableFromStack
+    function (fd.o #66060, Ralf Habacker)
+
+• Internal changes:
+  · add DBUS_ENABLE_ASSERT, DBUS_ENABLE_CHECKS for less confusing
+    conditionals (fd.o #66142, Chengwei Yang)
+  · improve verbose-mode output (fd.o #63047, Colin Walters)
+  · consolidate Autotools and CMake build (fd.o #64875, Ralf Habacker)
+  · fix various unused variables, unusual build configurations
+    etc. (fd.o #65712, #65990, #66005, #66257; Chengwei Yang)
+
+D-Bus 1.7.4 (2013-06-13)
+==
+
+The “but is your thread-safety thread-safe?” release.
+
+Security fixes:
+
+• CVE-2013-2168: Fix misuse of va_list that could be used as a denial
+  of service for system services. Vulnerability reported by Alexandru Cornea.
+  (Simon)
+
+Dependencies:
+
+• The Windows version of libdbus now contains a C++ source file, used
+  to provide global initialization when the library is loaded.
+  gcc (mingw*) users should ensure that g++ is also installed.
+
+• The libxml2-based configuration reader (which hasn't worked for 2.5 years,
+  and was never the recommended option) has been removed. Expat is now a
+  hard dependency.
+
+Enhancements:
+
+• It should now be safe to call dbus_threads_init_default() from any thread,
+  at any time. Authors of loadable modules and plugins that use libdbus
+  should consider doing so during initialization.
+  (fd.o #54972, Simon McVittie)
+
+• Improve dbus-send documentation and command-line parsing (fd.o #65424,
+  Chengwei Yang)
+
+Unix-specific:
+  · dbus-run-session: experimental new tool to start a temporary D-Bus
+    session, e.g. for regression tests or a text console, replacing
+    certain uses of dbus-launch which weren't really correct
+    (fd.o #39196, Simon)
+
+Other fixes:
+
+• In dbus-daemon, don't crash if a .service file starts with key=value
+  (fd.o #60853, Chengwei Yang)
+
+• Unix-specific:
+  · Fix a crash similar to CVE-2013-2168 the first time we try to use syslog
+    on a platform not defining LOG_PERROR, such as Solaris or QNX.
+    This regressed in 1.7.0. (Simon)
+  · Fix an assertion failure if we try to activate systemd services before
+    systemd connects to the bus (fd.o #50199, Chengwei Yang)
+  · Avoid compiler warnings for ignoring the return from write()
+    (Chengwei Yang)
+
+• Windows-specific:
+  · Under cmake, install runtime libraries (DLLs) into bin/ instead of lib/
+    so that Windows finds them (fd.o #59733, Ralf Habacker)
+
+D-Bus 1.7.2 (2013-04-25)
+==
+
+The “only partially opaque” release.
+
+Configuration changes:
+
+• On non-QNX Unix platforms, the default limit on fds per message in the
+  session bus configuration has reduced from 4096 to 1024. The default
+  limit used on the system bus was already 1024. On QNX, both limits are
+  reduced further, to 128.
+
+Enhancements:
+
+• D-Bus Specification 0.21
+  · Following Unicode Corrigendum #9, the noncharacters U+nFFFE, U+nFFFF,
+    U+FDD0..U+FDEF are allowed in UTF-8 strings again. (fd.o #63072,
+    Simon McVittie)
+
+Fixes:
+
+• Diagnose incorrect use of dbus_connection_get_data() with negative slot
+  (i.e. before allocating the slot) rather than returning junk
+  (fd.o #63127, Dan Williams)
+
+• Fix a cmake build regression since 1.7.0 (fd.o #63682; Ralf Habacker,
+  Simon McVittie)
+
 • Unix-specific:
+  · On Linux, link successfully with glibc 2.17 (fd.o #63166, Simon McVittie)
   · Under systemd, log to syslog only, not stderr, avoiding duplication
     (fd.o #61399, #39987; Colin Walters, Dagobert Michelsen)
+  · Under systemd, remove unnecessary dependency on syslog.socket
+    (fd.o #63531, Cristian Rodríguez)
   · Include alloca.h for alloca() if available, fixing compilation on
     Solaris 10 (fd.o #63071, Dagobert Michelsen)
   · Allow use of systemd-logind without the rest of systemd
     (fd.o #62585, Martin Pitt)
   · When built with CMake, link to librt and use the right path for
     meinproc's XSLT stylesheets (fd.o #61637, Ralf Habacker)
+  · Reduce the default limit on number of fds per message to 128 under
+    QNX, working around an arbitrary OS limit (fd.o #61176, Matt Fischer)
 
 • Windows-specific:
-  · Do not claim that all bus clients have the dbus-daemon's credentials
-    (fd.o #61787, Ralf Habacker)
-  · Pick up local TCPv4 clients' credentials (process ID and session ID)
-    using GetExtendedTcpTable() (fd.o #61787, Ralf Habacker)
+  · Do not claim that all bus clients have the dbus-daemon's credentials;
+    pick up local TCPv4 clients' credentials (process ID and security
+    identifier, i.e. user) using GetExtendedTcpTable() (fd.o #61787,
+    Ralf Habacker)
 
 D-Bus 1.7.0 (2013-02-22)
 ==