Commit graph

3428 commits

Author SHA1 Message Date
Christian Dywan
b1f947da1a Free envvar and args in pass_info in the oom case 2010-10-05 13:47:07 +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
92ac7113d3 Update a load of .gitignores 2010-10-05 11:45:48 +01:00
Will Thompson
4d8c0c3074 Silence silent build a bit more. 2010-10-05 11:45:48 +01:00
Will Thompson
36133656ac Squash warnings and spurious output from autogen.sh 2010-10-05 11:45:48 +01:00
Will Thompson
340d114cd0 Use Automake 1.11, if available, for silent rules
Automake 1.11 adds support for silent rules, which are conditionally
enabled in configure.in if available.

Also, previously it was impossible to override the version chosen by
this script; this patch makes that possible.
2010-10-05 11:45:48 +01:00
Ralf Habacker
4510983f13 When launching dbus-daemon be more verbose in error case. 2010-09-28 08:20:10 +02:00
Ralf Habacker
5e5121129e Keep unix autolaunch functions in sync. 2010-09-27 22:23:31 +02:00
Ralf Habacker
2e61875728 Added documentation for autolaunch transport. 2010-09-27 21:56:40 +02:00
Ralf Habacker
72ce31c59f Fixed case when no scope attribute is used. 2010-09-27 21:53:39 +02:00
Ralf Habacker
f6a67597dc Extended autolaunch protocol with scope attribute. 2010-09-27 21:53:32 +02:00
Christian Dywan
63d3e3d9d4 Add return_if_fail watch != NULL in public DBusWatch API
Reviewed-by: Havoc Pennington <hp@pobox.com>
Signed-off-by: Will Thompson <will.thompson@collabora.co.uk>
2010-09-23 20:36:07 +01:00
Ralf Habacker
b6449b91cc Include cmake subdirectory in source distribution. 2010-09-10 09:14:06 +02:00
Marcus Brinkmann
af06a472d4 Fix typo in creating temp file. 2010-09-09 16:00:34 +02:00
Marcus Brinkmann
86db8cb7f4 Fix use of _dbus_make_file_world_readable. 2010-09-08 16:19:01 +02:00
Will Thompson
81839c9389 Explicitly require the daemon to respect destination='' 2010-09-08 12:11:50 +01:00
Ralf Habacker
80f851416f Unix compile fix. 2010-09-08 09:13:42 +02:00
Lennart Poettering
c40e1d0670 post release version bump 2010-09-07 02:57:54 +02:00
Havoc Pennington
ade5c7ad33 fix some "unused result" warnings in dbus-launch and dbus-spawn
Needed to avoid -Werror
2010-09-06 19:30:42 +02:00
Havoc Pennington
d365dd8141 Change failure of setsockopt SO_REUSEADDR to be a warning, not set an error
It was previously setting an error but then continuing, which is
not allowed since errors can't be "piled up"
2010-09-06 19:30:26 +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
Lennart Poettering
f093a1c129 NEWS: update for 1.4.0 2010-09-06 03:17:54 +02:00
Lennart Poettering
1b56dabaaa systemd: update sd-daemon.[ch] from upstream systemd 2010-09-06 03:17:54 +02:00
Colin Walters
87d324c343 Merge branch 'dbus-1.2'
Conflicts:
	dbus/dbus-sysdeps-unix.c
2010-09-03 14:46:53 -04:00
Colin Walters
45d53565bc Make dbus-uuidgen atomic
A Red Hat QA engineer hit in practice a race condition in dbus-uuidgen
where it could leave an empty file.

dbus-uuidgen (_dbus_create_uuid_file_exclusively) formerly created an
empty file in the path to the uuid, then filled it in.  At some point,
the internal libdbus _dbus_string_save_to_file became atomic on Unix
at least (doing the save to temp file, fsync(), rename() dance).

So _dbus_create_uuid_file_exclusively doesn't need to create the file
beforehand anymore.  However, it *does* need the file to be
world-readable, unlike all other consumers of
_dbus_string_save_to_file.  So add a "world_readable" argument.
2010-09-03 14:29:53 -04:00
Lennart Poettering
ff2325c92c sd-daemon: update from upstream
This updates the sd-daemon.[ch] copy from upstream, which makes sure
thet the code compiles even if SOCK_CLOEXEC is not supported.
2010-08-12 00:08:09 +02:00
Romain Pokrzywka
c9033c7ba6 Cleanup: removed unused code; fixed Winsock error handling; fixed code indentation. 2010-08-11 18:59:48 +02:00
Ralf Habacker
4015036813 Fixed wince build problem reported by aheinecke at intevation dot de. 2010-08-10 11:27:37 +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
Romain Pokrzywka
77ee59e06d fix socket descriptor leak in _dbus_connect_tcp_socket_with_nonce 2010-08-09 02:55:41 +02:00
Marcus Brinkmann
2313832d38 Wrap OutputDebugString for Windows CE builds, and add cast for MSVC. 2010-07-19 10:32:08 +02:00
Christian Dywan
821f99c318 Add unit tests for dbus_message_get_path_decomposed 2010-07-16 15:22:49 +01:00
Christian Dywan
d8afa0a10b Assert in _dbus_decompose_path if path is NULL or len is wrong 2010-07-16 15:22:47 +01:00
Lennart Poettering
265a3bb04a systemd: update systemd glue code 2010-07-13 02:50:02 +02:00
Lennart Poettering
f25041d46d systemd: remove dbus pid file before starting dbus 2010-07-13 01:35:03 +02:00
Lennart Poettering
1104d2237a man: add documentation for four new switches to dbus-daemon
This adds explanations for --address and --systemd-activation which have
recently been added to the daemon. Also adds coumentation for --nofork
and --introspect which has been previously forgotten.
2010-07-10 02:31:04 +02:00
Lennart Poettering
0514bf378a systemd: add a nice description string to the .socket file 2010-07-10 02:22:59 +02:00
Lennart Poettering
bffc52a385 systemd: install systemd socket and service file by default 2010-07-09 23:35:54 +02:00
Lennart Poettering
8e3060a2ad build-sys: update pkg-config.m4 2010-07-09 23:35:48 +02:00
Lennart Poettering
b3ed8675a4 activation: optionally, use systemd for system bus activation 2010-07-09 19:47:23 +02:00
Colin Walters
8f2eb502a3 Fix use of $servicename in status
See https://bugzilla.redhat.com/show_bug.cgi?id=521797

We have two init scripts, and commit 0528323563
patched the "wrong" (i.e. slackware) one.  Patch one that ships
with real operating systems too.
2010-07-09 11:52:59 -04:00