Ralf Habacker [Tue, 14 Dec 2010 07:12:59 +0000 (08:12 +0100)]
Handle case when autolaunched daemon address is already pulished on windows.
Ralf Habacker [Mon, 13 Dec 2010 21:17:12 +0000 (22:17 +0100)]
Windows fix: In install path scope case add hashed install path to mutex/shm name.
Will Thompson [Mon, 13 Dec 2010 15:35:16 +0000 (15:35 +0000)]
Fix malformed specification XML.
bf532d6 and 28a2d08 each introduced errors in the specification XML that
left it malformed and unbuildable.
Ralf Habacker [Tue, 7 Dec 2010 01:32:36 +0000 (02:32 +0100)]
Be more verbose when publishing or requesting session bus address on Windows.
Ralf Habacker [Tue, 7 Dec 2010 01:23:39 +0000 (02:23 +0100)]
Add documentation for autolaunch meta transport on Windows.
Reviewed-by: Romain Pokrzywka
Mike McQuaid [Wed, 8 Dec 2010 22:49:30 +0000 (22:49 +0000)]
Add launchd section to specification.
Ralf Habacker [Tue, 7 Dec 2010 01:16:14 +0000 (02:16 +0100)]
Implements user limited session bus on Windows.
This feature is enabled by using the session bus address
"autolaunch:scope=*user" for the client and the server.
Reviewed-by: Romain Pokrzywka
Ralf Habacker [Tue, 7 Dec 2010 00:34:38 +0000 (01:34 +0100)]
Fixed bug not freeing mutex handle on Windows.
Reviewed-by: Romain Pokrzywka
Ralf Habacker [Tue, 7 Dec 2010 00:07:05 +0000 (01:07 +0100)]
Variables and functions name cleanup on Windows.
Reviewed-by: Romain Pokrzywka
Mike McQuaid [Wed, 8 Dec 2010 22:58:32 +0000 (22:58 +0000)]
10.4 is old so set more sensible launchd defaults.
Ralf Habacker [Sun, 11 Apr 2010 09:46:04 +0000 (11:46 +0200)]
Fix bus-test failure with cmake on unix.
SHA1 connection tests needs an non debug-pipe transport for the activation bus.
Benjamin Reed [Sun, 19 Jul 2009 15:45:34 +0000 (11:45 -0400)]
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.
Benjamin Reed [Tue, 21 Jul 2009 14:33:32 +0000 (10:33 -0400)]
Look up DISPLAY from launchd if not initialized.
Benjamin Reed [Sun, 19 Jul 2009 15:44:50 +0000 (11:44 -0400)]
Add launchd implementation.
Ralf Habacker [Mon, 6 Dec 2010 20:31:14 +0000 (21:31 +0100)]
Fixed wrong libtoolize presence check.
Mike McQuaid [Tue, 5 Oct 2010 19:52:54 +0000 (20:52 +0100)]
libtoolize is called glibtoolize on OSX so check for it too.
Mike McQuaid [Tue, 5 Oct 2010 21:31:40 +0000 (22:31 +0100)]
Fix test failures on OSX.
Mike McQuaid [Sat, 4 Dec 2010 22:47:35 +0000 (23:47 +0100)]
test-autolaunch is only known to work in launchd environments.
Ralf Habacker [Sat, 4 Dec 2010 00:07:07 +0000 (01:07 +0100)]
Keep in sync with automake.
Colin Walters [Wed, 11 Jun 2008 22:01:16 +0000 (18:01 -0400)]
Added a test-autolaunch.
* test/name-test/test-autolaunch.c: New file,
unsets DBUS_SESSION_BUS_ADDRESS so we should
fall back to autolaunch:.
* test/name-test/run-test.sh: Run it.
* test/name-test/Makefile.am: Build it.
Mike McQuaid [Mon, 19 Apr 2010 18:04:28 +0000 (20:04 +0200)]
Fix PROFILE_TIMED_FORMAT printf warning on OSX.
Ralf Habacker [Wed, 3 Nov 2010 14:15:24 +0000 (15:15 +0100)]
Added revision history.
Thiago Macieira [Wed, 3 Nov 2010 13:59:26 +0000 (14:59 +0100)]
Documentated autolaunch implementation for X Windowing system.
Ralf Habacker [Fri, 29 Oct 2010 09:46:33 +0000 (11:46 +0200)]
Service dir related bug fix on windows.
The code for accessing services requires absolute pathes, which are based
on DBUS_DATADIR. DBUS_DATADIR on windows is defined relative. This patch
makes sure that those pathes are absolute.
Romain Pokrzywka [Mon, 4 Oct 2010 10:33:36 +0000 (12:33 +0200)]
Restore the close_on_exec flag on windows.
Will Thompson [Tue, 26 Oct 2010 16:11:10 +0000 (17:11 +0100)]
Merge branch 'documentation-build-system'
Andre Heinecke [Tue, 12 Oct 2010 13:36:56 +0000 (15:36 +0200)]
Dist Readme.win instead of Readme.windbus
Ralf Habacker [Tue, 12 Oct 2010 12:45:12 +0000 (14:45 +0200)]
Cleaned up windows related README's.
Ralf Habacker [Tue, 12 Oct 2010 11:50:10 +0000 (13:50 +0200)]
Fixed reference to cmake configure options.
Ralf Habacker [Mon, 11 Oct 2010 22:20:21 +0000 (00:20 +0200)]
keep version in sync with automake
Ralf Habacker [Fri, 8 Oct 2010 19:09:01 +0000 (21:09 +0200)]
Merge branch 'master' of ssh://git.freedesktop.org/git/dbus/dbus
Ralf Habacker [Fri, 8 Oct 2010 12:56:57 +0000 (14:56 +0200)]
Revert "Added documentation for autolaunch transport."
This reverts commit
2e61875728deca49a96e2db52275f3a5e24bb59b.
Romain Pokrzywka [Sun, 3 Oct 2010 23:46:42 +0000 (01:46 +0200)]
Tentative workaround for the random hangs on windows.
The problem seems to be a race condition with winsock's
internal threads for the non-blocking mode of the sockets,
but I haven't had time to try a standalone test case yet
to confirm it. Anyway, I found a workaround that fixes it
in all cases, so it's good enough for now.
Romain Pokrzywka [Sun, 3 Oct 2010 23:46:42 +0000 (01:46 +0200)]
tentative workaround for the random hangs on windows
Christian Dywan [Tue, 20 Jul 2010 13:23:31 +0000 (15:23 +0200)]
Only use signature directly inside _dbus_verbose
Christian Dywan [Tue, 20 Jul 2010 13:01:03 +0000 (15:01 +0200)]
Don't pretend to free lock if it was never allocated
Christian Dywan [Tue, 21 Sep 2010 12:43:39 +0000 (14:43 +0200)]
Always get current time in _dbus_connection_block_pending_call
Christian Dywan [Tue, 20 Jul 2010 09:53:15 +0000 (11:53 +0200)]
Take care to free windows_sid in cache_peer_loginfo_string
Christian Dywan [Tue, 20 Jul 2010 10:50:23 +0000 (12:50 +0200)]
Free envvar and args in pass_info in the oom case
Will Thompson [Thu, 9 Sep 2010 12:15:57 +0000 (13:15 +0100)]
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.
Will Thompson [Wed, 8 Sep 2010 21:38:22 +0000 (22:38 +0100)]
Integrate building HTML-ified manpages with the build system
Will Thompson [Wed, 8 Sep 2010 21:12:00 +0000 (22:12 +0100)]
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.
Will Thompson [Wed, 8 Sep 2010 21:10:47 +0000 (22:10 +0100)]
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.
Will Thompson [Wed, 8 Sep 2010 19:58:05 +0000 (20:58 +0100)]
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.
Will Thompson [Wed, 8 Sep 2010 21:19:28 +0000 (22:19 +0100)]
Update a load of .gitignores
Will Thompson [Wed, 8 Sep 2010 18:42:19 +0000 (19:42 +0100)]
Silence silent build a bit more.
Will Thompson [Wed, 8 Sep 2010 18:25:40 +0000 (19:25 +0100)]
Squash warnings and spurious output from autogen.sh
Will Thompson [Wed, 8 Sep 2010 18:20:18 +0000 (19:20 +0100)]
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.
Ralf Habacker [Tue, 28 Sep 2010 06:17:38 +0000 (08:17 +0200)]
When launching dbus-daemon be more verbose in error case.
Ralf Habacker [Mon, 27 Sep 2010 20:21:29 +0000 (22:21 +0200)]
Keep unix autolaunch functions in sync.
Ralf Habacker [Sun, 26 Sep 2010 18:05:11 +0000 (20:05 +0200)]
Added documentation for autolaunch transport.
Ralf Habacker [Fri, 27 Aug 2010 15:03:16 +0000 (17:03 +0200)]
Fixed case when no scope attribute is used.
Ralf Habacker [Fri, 27 Aug 2010 14:51:44 +0000 (16:51 +0200)]
Extended autolaunch protocol with scope attribute.
Christian Dywan [Thu, 23 Sep 2010 12:38:15 +0000 (14:38 +0200)]
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>
Ralf Habacker [Fri, 10 Sep 2010 07:14:06 +0000 (09:14 +0200)]
Include cmake subdirectory in source distribution.
Marcus Brinkmann [Thu, 9 Sep 2010 12:15:45 +0000 (14:15 +0200)]
Fix typo in creating temp file.
Marcus Brinkmann [Mon, 6 Sep 2010 13:50:16 +0000 (15:50 +0200)]
Fix use of _dbus_make_file_world_readable.
Will Thompson [Wed, 8 Sep 2010 11:11:50 +0000 (12:11 +0100)]
Explicitly require the daemon to respect destination=''
Ralf Habacker [Wed, 8 Sep 2010 07:13:42 +0000 (09:13 +0200)]
Unix compile fix.
Lennart Poettering [Tue, 7 Sep 2010 00:57:54 +0000 (02:57 +0200)]
post release version bump
Havoc Pennington [Tue, 31 Aug 2010 16:00:26 +0000 (12:00 -0400)]
fix some "unused result" warnings in dbus-launch and dbus-spawn
Needed to avoid -Werror
Havoc Pennington [Tue, 31 Aug 2010 15:59:09 +0000 (11:59 -0400)]
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"
Lennart Poettering [Mon, 6 Sep 2010 12:52:05 +0000 (14:52 +0200)]
build-sys: bump version number for the 1.4.0 release
Kay Sievers [Fri, 3 Sep 2010 13:12:19 +0000 (15:12 +0200)]
systemd: enable the dbus service unconditionally
Since D-Bus is a core part of the OS don't make this service optional.
Lennart Poettering [Sun, 5 Sep 2010 21:43:24 +0000 (23:43 +0200)]
autoconf: update lt version info in preparation for 0.4.2
Lennart Poettering [Sun, 5 Sep 2010 21:37:25 +0000 (23:37 +0200)]
NEWS: update for 1.4.0
Lennart Poettering [Sun, 5 Sep 2010 21:30:47 +0000 (23:30 +0200)]
systemd: update sd-daemon.[ch] from upstream systemd
Colin Walters [Fri, 3 Sep 2010 18:46:53 +0000 (14:46 -0400)]
Merge branch 'dbus-1.2'
Conflicts:
dbus/dbus-sysdeps-unix.c
Colin Walters [Fri, 3 Sep 2010 14:18:25 +0000 (10:18 -0400)]
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.
Lennart Poettering [Sat, 7 Aug 2010 19:04:59 +0000 (21:04 +0200)]
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.
Romain Pokrzywka [Wed, 11 Aug 2010 12:05:31 +0000 (14:05 +0200)]
Cleanup: removed unused code; fixed Winsock error handling; fixed code indentation.
Ralf Habacker [Tue, 10 Aug 2010 09:26:42 +0000 (11:26 +0200)]
Fixed wince build problem reported by aheinecke at intevation dot de.
Ralf Habacker [Tue, 10 Aug 2010 07:17:33 +0000 (09:17 +0200)]
Fixed bug not creating bus/messagebus-config.
Yaakov Selkowitz [Mon, 9 Aug 2010 07:01:52 +0000 (09:01 +0200)]
Delete stale pid file on cygwin.
Yaakov Selkowitz [Mon, 9 Aug 2010 06:50:33 +0000 (08:50 +0200)]
Avoid -Werror problems on cygwin.
Yaakov Selkowitz [Mon, 9 Aug 2010 06:32:04 +0000 (08:32 +0200)]
Applied patches from cygwin port.
Romain Pokrzywka [Sun, 8 Aug 2010 21:54:35 +0000 (23:54 +0200)]
fix socket descriptor leak in _dbus_connect_tcp_socket_with_nonce
Marcus Brinkmann [Fri, 11 Jun 2010 00:04:36 +0000 (02:04 +0200)]
Wrap OutputDebugString for Windows CE builds, and add cast for MSVC.
Christian Dywan [Thu, 15 Jul 2010 11:20:04 +0000 (13:20 +0200)]
Add unit tests for dbus_message_get_path_decomposed
Christian Dywan [Thu, 15 Jul 2010 11:18:33 +0000 (13:18 +0200)]
Assert in _dbus_decompose_path if path is NULL or len is wrong
Lennart Poettering [Tue, 13 Jul 2010 00:50:02 +0000 (02:50 +0200)]
systemd: update systemd glue code
Lennart Poettering [Mon, 12 Jul 2010 23:35:03 +0000 (01:35 +0200)]
systemd: remove dbus pid file before starting dbus
Lennart Poettering [Sat, 10 Jul 2010 00:31:04 +0000 (02:31 +0200)]
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.
Lennart Poettering [Sat, 10 Jul 2010 00:22:59 +0000 (02:22 +0200)]
systemd: add a nice description string to the .socket file
Lennart Poettering [Fri, 9 Jul 2010 18:37:24 +0000 (20:37 +0200)]
systemd: install systemd socket and service file by default
Lennart Poettering [Fri, 9 Jul 2010 19:47:13 +0000 (21:47 +0200)]
build-sys: update pkg-config.m4
Lennart Poettering [Wed, 2 Jun 2010 02:08:39 +0000 (04:08 +0200)]
activation: optionally, use systemd for system bus activation
Colin Walters [Fri, 9 Jul 2010 15:48:53 +0000 (11:48 -0400)]
Fix use of $servicename in status
See https://bugzilla.redhat.com/show_bug.cgi?id=521797
We have two init scripts, and commit
05283235632bc8891aaa3047563cb4
patched the "wrong" (i.e. slackware) one. Patch one that ships
with real operating systems too.
Lennart Poettering [Tue, 25 May 2010 00:27:44 +0000 (02:27 +0200)]
bus: add --address switch
This is allows overriding of the listening address on the command line,
which is particularly useful for systemd socket-based activation.
Lennart Poettering [Tue, 25 May 2010 00:25:04 +0000 (02:25 +0200)]
systemd: add systemd-style socket-activation
This is a pretty straightforward implementation of systemd-style socket
activation using the reference implementation of the
$LISTEN_FDS/$LISTEN_PID env var parsing as supplied by systemd upstream.
Sledz [Tue, 29 Jun 2010 21:04:15 +0000 (23:04 +0200)]
sysdeps-unix: enable address reuse on TCP sockets
This helps to avoid 'Address already in use' problems if server has been shut
down, and then restarted while sockets are still active on its port.
Signed-off-by: Steffen Sledz <sledz@dresearch.de>
Thiago Macieira [Tue, 22 Jun 2010 13:13:23 +0000 (15:13 +0200)]
Fix the reentrancy issue reported on bug 17754.
Patch based on patch by Havoc Pennington, with the references that
this is temporary removed.
Patch based on one from Olivier Hochreutiner <olivier.hochreutiner
gmail.com>
* dbus/dbus-connection.c (protected_change_timeout): remove the
elaborate nonworking hack to try to drop locks and just keep the
locks; this isn't right either, but at least is correct, though
it puts restrictions on apps.
* dbus/dbus-connection.c (protected_change_watch): make the same
change as for timeouts
* dbus/dbus-connection.c (dbus_connection_set_timeout_functions):
don't drop the lock here; add documentation of the problem to API
docs
(dbus_connection_set_watch_functions): same
* dbus/dbus-connection.c (dbus_connection_get_data)
(dbus_connection_set_data): introduce a separate slot_mutex
protecting connection->slot_list so these two functions can be
called inside watch and timeout functions. Not sure this
is going to be a good idea.
* dbus/dbus-connection.c (dbus_connection_unref)
(dbus_connection_ref): avoid using connection lock in ref/unref
so these can also be used in watch and timeout functions
Lennart Poettering [Wed, 23 Jun 2010 14:37:58 +0000 (16:37 +0200)]
build-sys: open 1.3.2 development cycle
Lennart Poettering [Wed, 23 Jun 2010 14:13:43 +0000 (16:13 +0200)]
build-sys: add make target for updating AUTHORS file
Lennart Poettering [Wed, 23 Jun 2010 02:00:28 +0000 (04:00 +0200)]
build-sys: prepare release 1.3.1
Lennart Poettering [Wed, 23 Jun 2010 01:14:27 +0000 (03:14 +0200)]
pkg-config: add a couple of additional variables to .pc
We already export the session services dir in the .pc file, add the
system services dir too, as well as the interfaces dir, so that packages
can drop their files into the right place.
Eventually we need to move the system-services dir to a place that is
relocatable to /lib/dbus, and this change makes the location queriable
for other projects, as a first step towards that goal.
Will Thompson [Tue, 22 Jun 2010 16:25:20 +0000 (17:25 +0100)]
Merge branch 'dbus-1.2'
Christian Dywan [Mon, 21 Jun 2010 05:13:47 +0000 (07:13 +0200)]
Implement doctype check in the trivial parser
This is needed for the libxml parser backend.
Thiago Macieira [Tue, 22 Jun 2010 12:54:38 +0000 (14:54 +0200)]
Revert "Bug 17754 - Fixed race condition in protected_change_timeout."
This reverts commit
b82ff17d7dd9689ab664e4a6c2a86c6f3dbfba69 and
9280395330c833dd98d0811d31349c26a84b2f6a.
Conflicts:
dbus/dbus-connection.c
Will Thompson [Thu, 17 Jun 2010 14:05:46 +0000 (15:05 +0100)]
Clarify GetConnectionUnixUser documentation.
(This makes it match the freshly-documented GetConnectionUnixProcessID.)