summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-02-25Restructure libtool convenience libraries to make a bit more sensewip-libdbus-utilSimon McVittie4-27/+41
Previously, libdbus-internal was falsely claimed to be the same as libdbus-1, but with static linkage. It was actually a superset of libdbus-1 which included "util" and test functionality The direct equivalent of the old libdbus-internal is libdbus-test, which contains test-only functionality and pulls in libdbus-util as a dependency. libdbus-util contains the "util" source files, and pulls in libdbus-internal as a dependency. libdbus-internal now *actually* has the same contents as libdbus-1, but compiled with different flags. This is all done with libtool convenience libraries, so there's no proliferation of shared libraries; everything will still be statically linked at the end, unless libdbus-1 is used. The CMake build system hasn't been touched; in that build system, libdbus-1 contains the util and test sources ("for debugging"), so libdbus-internal does in fact have the same contents as libdbus-1.
2011-02-25internal_bus_get: centralize error handlingSimon McVittie1-17/+13
2011-02-25Add a macro to centralize checking for string-like typesSimon McVittie1-6/+6
2011-02-25Merge branch 'dbus-1.4'Simon McVittie11-85/+200
Conflicts: NEWS
2011-02-25Merge branch 'doxygenate' into dbus-1.4Simon McVittie5-8/+67
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk> Conflicts: configure.ac doc/Makefile.am
2011-02-25NEWS so farSimon McVittie1-0/+13
2011-02-25Merge branch 'changequote' into dbus-1.4Simon McVittie1-11/+5
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-02-25Merge branch 'require-display-for-autolaunch-19997' into dbus-1.4Simon McVittie4-21/+58
Reviewed-by: Colin Walters <walters@verbum.org>
2011-02-25Merge branch 'modern-autofoo-32245' into dbus-1.4Simon McVittie3-45/+59
2011-02-24Allow X11 autolaunch to be disabled even if the headers/libraries are thereSimon McVittie4-22/+47
In an embedded system where the D-Bus session is a core part of the environment, like Maemo, accidentally auto-launching a second session bus (for instance for a concurrent ssh session) is a bad idea - it can lead to a "split brain" situation where half the applications in the GUI are using a different bus. In these controlled environments, it'd be useful to prevent autolaunch from ever happening. (As a side benefit, the changes to configure.in also mean that packagers can explicitly --enable-x11-autolaunch, to make sure that failure to find X will make compilation fail cleanly.) Bug: https://bugs.freedesktop.org/show_bug.cgi?id=19997 Bug-NB: NB#219964
2011-02-24Don't attempt Unix X11 autolaunching if DISPLAY isn't setSimon McVittie1-0/+12
The known use cases for autolaunching (ssh -Y firefox, run konqueror in legacy DE) all need $DISPLAY too. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=19997
2011-02-24Merge branch 'dbus-1.4'Simon McVittie1-1/+1
2011-02-24config-parser regression test: don't require that fd.o #34496 existsSimon McVittie1-1/+1
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-02-24Merge branch 'dbus-1.4'Simon McVittie1-23/+26
2011-02-24Give XDG_DATA_HOME priority over XDG_DATA_DIRS for servicedirsSimon McVittie1-23/+26
According to the XDG Base Directory Specification, “the base directory defined by $XDG_DATA_HOME is considered more important than any of the base directories defined by $XDG_DATA_DIRS.” This makes it easier to override a system service file as a normal user. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34496 Signed-off-by: Anders Kaseorg <andersk@mit.edu> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Honour aclocal flags in Makefile.am, rather than gluing them onto ACLOCALSimon McVittie2-4/+1
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Modernize setup of libtool for WindowsSimon McVittie1-2/+4
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Use AC_CONFIG_HEADERS, not AM_CONFIG_HEADERSimon McVittie1-1/+1
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Modernize AC_INIT usage, with a bug report URLSimon McVittie1-1/+1
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Require a somewhat modern version of autoconf and automakeSimon McVittie1-2/+2
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Modernize AC_OUTPUT usageSimon McVittie1-1/+2
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Modernize checks in ld_supports_flagSimon McVittie1-2/+4
Part of a patch by Javier Jardón. (This will conflict with changes from my gc-sections branch -smcv) Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Modernize checks for DBUS__ACQUIRE_SVCSimon McVittie1-6/+7
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Modernize checks for monotonic clockSimon McVittie1-3/+5
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Modernize checks for cmsgcredSimon McVittie1-3/+5
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Modernize checks for ISO/GNU varargsSimon McVittie1-4/+8
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Modernize checks for socklen_tSimon McVittie1-3/+5
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Modernize checks for non-POSIX getpwnam_rSimon McVittie1-3/+2
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Modernize checks for dirfd/dd_fdSimon McVittie1-8/+10
Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-24Rename configure.in to configure.acSimon McVittie2-2/+2
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245
2011-02-24Don't compress spaces in CFLAGS and friendsSimon McVittie1-5/+0
Not all sed implementations understand "+" with its POSIX extended regular expression semantics, and compressing spaces is purely cosmetic anyway. Let's just drop this.
2011-02-24Remove unnecessary changequote callSimon McVittie1-2/+0
Nothing in the changequote'd environment uses square brackets anyway.
2011-02-24Use square brackets (m4 quoting) instead of changequoteSimon McVittie1-4/+5
For more details, see: http://www.gnu.org/software/autoconf/manual/html_node/Changequote-is-Evil.html
2011-02-24NEWS so farSimon McVittie1-0/+10
2011-02-18Improved dbus_string_replace_len()Roberto Guido2-15/+116
Reviewed-by: Havoc Pennington <hp@pobox.com> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=21261
2011-02-18bus driver: allow implementing more than one interfaceSimon McVittie1-98/+81
Previously, Introspect was just special-cased. This could allow us to have a conditionally-compiled debugging interface, for instance. Reviewed-by: Colin Walters <walters@verbum.org> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33757
2011-02-18Post-release version bumpSimon McVittie1-1/+1
2011-02-18sysdeps-win needs _dbus_path_is_absoluteMark Brand2-17/+17
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-17Let's try that again.dbus-1.4.6Simon McVittie2-2/+8
2011-02-17Remove unreviewed changes intended to support GTest-based testsSimon McVittie1-14/+0
These were committed by mistake. :-(
2011-02-17Post-release version bumpSimon McVittie1-1/+1
2011-02-17Prepare version 1.4.4dbus-1.4.4Simon McVittie4-27/+29
2011-02-17Split acinclude.m4 into separate files in m4/Simon McVittie2-78/+49
Drop AM_CHECK_PYTHON_HEADERS (no longer used) and split the others according to their upstreams. Otherwise, compiler.m4 won't get included in tarballs.
2011-02-17Merge branch 'leak-fixes-33126'Simon McVittie2-35/+42
Reviewed-by: Colin Walters <walters@verbum.org> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33126
2011-02-17Import compiler.m4 and lcov.am from telepathy-glib, and use them to replace gcovSimon McVittie10-2748/+129
Reviewed-by: Colin Walters <walters@verbum.org> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=10887
2011-02-17Don't ignore all files in m4, just the libtool onesSimon McVittie1-1/+2
Reviewed-by: Colin Walters <walters@verbum.org> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=10887
2011-02-17Don't distribute dbus-daemon.1 in the tarballSimon McVittie2-4/+24
It's generated by configure. Also use a more normal way to distribute man pages that are actually source, and use man1_MANS rather than auto-detecting the section from the man page, which is best-practice and slightly faster. Reviewed-by: Colin Walters <walters@verbum.org> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34292
2011-02-17Don't distribute dbus-arch-deps.h in the tarballSimon McVittie1-3/+2
It's generated by configure and specific to a system, so there's no point. Reviewed-by: Colin Walters <walters@verbum.org> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34292
2011-02-17Remove references to dbus-md5, which hasn't been used for at least 8 yearsSimon McVittie4-648/+0
Reviewed-by: Colin Walters <walters@verbum.org> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34292
2011-02-16DBusTransport: don't copy DBusAuth's GUID to expected_guidSimon McVittie1-11/+3
There was previously a leak in _dbus_transport_get_is_authenticated, if we hit OOM when copying the server's actual GUID. This would fail the "SHA1 connection test" if _dbus_iterate was modified to allocate and free one extra pointer per iteration. Rather than adding OOM handling everywhere, if we avoid strdup'ing the GUID, and just re-fetch the const string from the DBusAuth object on demand instead, we go back to a situation where _dbus_transport_get_is_authenticated can't fail. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33126