Commit graph

355 commits

Author SHA1 Message Date
Simon McVittie
9a97f82079 Import compiler.m4 and lcov.am from telepathy-glib, and use them to replace gcov
Reviewed-by: Colin Walters <walters@verbum.org>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=10887
2011-02-17 17:07:12 +00:00
Simon McVittie
d5e4fc13e8 Don't distribute dbus-daemon.1 in the tarball
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-17 16:31:44 +00:00
Lennart Poettering
509a2e899a build-sys: ignore -Waddress message so that build works on gcc/rawhide
Newer gccs warn if you compare an address of a variable that is allocated
on the stack or is static with NULL. Since we compile dbus with -Werror
this causes the build to fail since we do this check all the time due to
macros such as _DBUS_ASSERT_ERROR_IS_SET().
2011-02-15 13:29:31 +01:00
Colin Walters
66a09fa7c3 bus: Raise file descriptor limit to match configuration
The default configuration has hardcoded 2048 complete connections,
and 64 incomplete.  We need at least that number of file descriptors,
plus some for internal use.

In the bus, attempt to call setrlimit() before we drop privileges.
Practically speaking for this means the system bus gets it, the
session bus doesn't.

http://bugs.freedesktop.org/show_bug.cgi?id=33474

Reviewed-By: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-02-03 13:25:34 -05:00
Simon McVittie
ab058c4a31 Opt-in to thread safety on Solaris
Alternatively, get a better C library. :-)

See also:
<http://lists.freedesktop.org/archives/dbus/2010-November/013796.html>,
<http://lists.freedesktop.org/archives/dbus/2010-December/013902.html>.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33464
Reviewed-by: Colin Walters <walters@verbum.org>
2011-01-27 17:53:45 +00:00
Simon McVittie
d855baed00 fix check for 32-bit integers if short is 32 bits long
In practice, this won't happen for years, but we might as well be correct.

Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-01-25 13:17:44 +00:00
Wulf C. Krueger
4e411da35f Fix failure in configure test for abstract sockets
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=29895
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-01-17 19:49:06 +00:00
Simon McVittie
84d4ed242a Merge branch 'tmp'
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32854
2011-01-14 15:19:23 +00:00
Simon McVittie
5b6369d783 Remove vestigial support for $INTLLIBS
We no longer call AM_GLIB_GNU_GETTEXT or use gettext directly.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=25306
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-01-14 15:18:19 +00:00
Simon McVittie
c71f1e9657 Fix the check for -Wfloat-equal 2011-01-05 19:10:24 +00:00
Simon McVittie
d83d74dc68 configure.in: use AC_TRY_COMPILE to avoid a symlink attack in /tmp during compilation 2011-01-05 19:10:12 +00:00
Will Thompson
0d40697750 Bump development version to 1.4.3.
The last release should have been 1.4.2; sorry.
2010-12-21 15:45:03 +00:00
Ralf Habacker
e215d810d1 Fix configure doc: libxml may be named libxml2 on some systems. 2010-12-21 08:46:52 +01:00
Will Thompson
c3354cafe3 Post-release version bump to 1.4.2 2010-12-20 21:39:30 +00:00
Will Thompson
93f685255a Bump LT_REVISION for this new release. 2010-12-20 21:39:30 +00:00
Benjamin Reed
f1b9aac417 Enable launchd.
This patch enables support for Mac OS X's launch daemon
for startup as well as sharing of the DBus session bus
environment.  It includes a LaunchAgent plist for automatic
start of the session bus.
2010-12-06 21:33:14 +01:00
Mike McQuaid
197bef8277 Fix test failures on OSX. 2010-12-04 23:49:39 +01:00
Will Thompson
783baf9df2 Move uploading docs into build system.
This uploads a doc tarball, and its contents, to the appropriate
location on dbus.freedesktop.org. It also uploads the DTDs to the
appropriate location on specifications.freedesktop.org.

I believe this uploads the same files as the old update-dbus-docs.sh
script did.
2010-10-05 11:46:00 +01:00
Will Thompson
ee17175118 Integrate building HTML-ified manpages with the build system 2010-10-05 11:46:00 +01:00
Will Thompson
e8c5d7525c Report correct result of doxygen/xml doc checks
Previously the configure output always said these were enabled during
the 'Checking for...' stage, even if they weren't. The summary at the
end of configure was correct, though.
2010-10-05 11:45:59 +01:00
Will Thompson
46b9961be7 Move manpages to doc/
This will make integrating the building of HTML versions of these
manpages into the build system way easier, at the cost of keeping
manpages in a different directory to the source for the program they
describe. I think this is an acceptable trade-off.
2010-10-05 11:45:59 +01:00
Will Thompson
d0dda86f33 Build Doxygen documentation for make all.
This depends on GNU Make for the wildcard dependency on all the source
files in dbus/. If anyone objects very strongly to this, I'd welcome
suggestions of a more portable way to do this.
2010-10-05 11:45:59 +01:00
Will Thompson
36133656ac Squash warnings and spurious output from autogen.sh 2010-10-05 11:45:48 +01:00
Lennart Poettering
c40e1d0670 post release version bump 2010-09-07 02:57:54 +02:00
Lennart Poettering
5cbfba737f build-sys: bump version number for the 1.4.0 release 2010-09-06 14:52:05 +02:00
Kay Sievers
8a440f7441 systemd: enable the dbus service unconditionally
Since D-Bus is a core part of the OS don't make this service optional.
2010-09-06 03:21:17 +02:00
Lennart Poettering
929d9567d9 autoconf: update lt version info in preparation for 0.4.2 2010-09-06 03:17:55 +02:00
Ralf Habacker
a064cf9578 Fixed bug not creating bus/messagebus-config. 2010-08-10 09:17:33 +02:00
Yaakov Selkowitz
0e31935343 Delete stale pid file on cygwin. 2010-08-10 08:25:47 +02:00
Yaakov Selkowitz
e5d0069c8f Avoid -Werror problems on cygwin. 2010-08-10 08:25:29 +02:00
Yaakov Selkowitz
aec82e2edd Applied patches from cygwin port. 2010-08-10 08:25:24 +02:00
Lennart Poettering
bffc52a385 systemd: install systemd socket and service file by default 2010-07-09 23:35:54 +02:00
Lennart Poettering
591236a669 build-sys: open 1.3.2 development cycle 2010-06-23 16:37:58 +02:00
Marcus Brinkmann
7490c60b77 Move definition of _WIN32_WCE to configure.in (cmake defines it already). 2010-05-07 11:31:40 +02:00
Fridrich Štrba
ed79e030ca Patch relocating "exec" variable and position of service files 2010-04-21 12:30:52 +02:00
Marcus Brinkmann
abb81eb446 Fix warnings on Windows CE target. 2010-04-14 08:26:47 +02:00
Marcus Brinkmann
5e4ef80e09 Add replacement functions strtoll/strtoull for dbus-send, mainly for Windows CE. 2010-04-13 21:08:10 +02:00
Marcus Brinkmann
3404bb7238 Add support for Windows CE to the code base. 2010-04-13 20:38:59 +02:00
Marcus Brinkmann
f004b63705 Add WinCE detection to configure.in and choose right socket library. 2010-04-13 20:11:07 +02:00
Colin Walters
df89cfeb38 Merge branch 'dbus-1.2'
Conflicts:
	bus/dispatch.c
	configure.in
	test/name-test/test-names.c
2010-03-22 14:39:56 -04:00
Colin Walters
c93d3ec2ff Add DBUS_INT64_MODIFIER define, turn on -Wformat
https://bugs.freedesktop.org/show_bug.cgi?id=19195

We were previously using -Wno-format because we didn't have
a #define for DBUS_INT64_MODIFIER, which was really lame because
it easily hid problems.

For now, just define it if we're on glibc; this is obviously
not strictly correct but it's safe, because the formatting
is only used in DBUS_VERBOSE mode, and in tools/dbus-monitor.
Ideally we get the the glib code relicensed.
2010-03-22 13:58:56 -04:00
Marcus Brinkmann
01d9d169f3 Make more signal and locale interface use conditional. 2010-03-22 17:28:55 +01:00
Colin Walters
bda156f52e Post-release version bump 2010-03-17 12:43:40 -04:00
Colin Walters
b6001f8c30 Release 1.2.22 2010-03-16 22:30:50 -04:00
Colin Walters
ebfa7c02fd Merge branch 'dbus-1.2'
Conflicts:
	bus/bus.c
	configure.in
2010-03-16 16:11:14 -04:00
Colin Walters
f4da942cb4 [configure.in] Use AM_SILENT_RULES if available
By rough consensus, and to keep up with the cool kids.

Note to builders: you need to use V=1 to enable verbose mode.
2010-03-12 17:23:10 -05:00
Romain Pokrzywka
1cd84d8258 remove DBUS_DAEMON_EXECUTABLE_NAME, we already have DBUS_DAEMON_NAME, and use the specified name for the executable when building with cmake 2010-02-07 00:32:46 +01:00
Colin Walters
65be3cd5d9 Release 1.2.20 2010-02-03 12:13:38 -05:00
Colin Walters
a7169e694c Release 1.2.18 2010-02-02 10:31:28 -05:00
Colin Walters
7a4cd46284 Merge branch 'my-dbus-1.2'
Conflicts:
	bus/Makefile.am
	dbus/dbus-sysdeps-util-unix.c
	dbus/dbus-transport.c
	test/test-service.c
2010-01-28 17:09:15 -05:00