Commit graph

2564 commits

Author SHA1 Message Date
Will Thompson
ff393c562d Fix malformed specification XML.
bf532d6 and 28a2d08 each introduced errors in the specification XML that
left it malformed and unbuildable.
2010-12-13 15:35:34 +00:00
Ralf Habacker
72515ae754 Be more verbose when publishing or requesting session bus address on Windows. 2010-12-13 15:06:43 +01:00
Ralf Habacker
bf532d6556 Add documentation for autolaunch meta transport on Windows.
Reviewed-by: Romain Pokrzywka
2010-12-13 15:06:33 +01:00
Mike McQuaid
28a2d08815 Add launchd section to specification. 2010-12-13 12:35:55 +01:00
Ralf Habacker
c29637ac6b 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
2010-12-10 08:43:43 +01:00
Ralf Habacker
9b79817148 Fixed bug not freeing mutex handle on Windows.
Reviewed-by: Romain Pokrzywka
2010-12-10 08:43:02 +01:00
Ralf Habacker
d808e529bd Variables and functions name cleanup on Windows.
Reviewed-by: Romain Pokrzywka
2010-12-10 08:42:57 +01:00
Mike McQuaid
5232faad40 10.4 is old so set more sensible launchd defaults. 2010-12-09 08:20:07 +01:00
Ralf Habacker
1d2f5607b4 Fix bus-test failure with cmake on unix.
SHA1 connection tests needs an non debug-pipe transport for the activation bus.
2010-12-07 22:51:00 +01: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
Benjamin Reed
eb66c0a9c0 Look up DISPLAY from launchd if not initialized. 2010-12-06 21:33:10 +01:00
Benjamin Reed
5125fc1654 Add launchd implementation. 2010-12-06 21:33:06 +01:00
Ralf Habacker
875891e823 Fixed wrong libtoolize presence check. 2010-12-06 21:32:21 +01:00
Mike McQuaid
a19c3d2e8b libtoolize is called glibtoolize on OSX so check for it too. 2010-12-04 23:57:15 +01:00
Mike McQuaid
197bef8277 Fix test failures on OSX. 2010-12-04 23:49:39 +01:00
Mike McQuaid
4626b40560 test-autolaunch is only known to work in launchd environments. 2010-12-04 23:47:35 +01:00
Ralf Habacker
37619035de Keep in sync with automake. 2010-12-04 23:05:56 +01:00
Colin Walters
aff6263561 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.
2010-12-04 23:03:13 +01:00
Mike McQuaid
2366423e97 Fix PROFILE_TIMED_FORMAT printf warning on OSX. 2010-12-04 01:42:41 +01:00
Ralf Habacker
b3fa6eff0d Added revision history. 2010-11-03 15:15:24 +01:00
Thiago Macieira
b17a5f852c Documentated autolaunch implementation for X Windowing system. 2010-11-03 15:10:44 +01:00
Ralf Habacker
a8810a7940 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.
2010-10-29 11:55:27 +02:00
Romain Pokrzywka
fc276c340e Restore the close_on_exec flag on windows. 2010-10-29 11:24:38 +02:00
Will Thompson
75ef1d2ed4 Merge branch 'documentation-build-system' 2010-10-26 17:11:10 +01:00
Andre Heinecke
c8293868a3 Dist Readme.win instead of Readme.windbus 2010-10-13 08:01:25 +02:00
Ralf Habacker
30213f4b7d Cleaned up windows related README's. 2010-10-12 14:45:12 +02:00
Ralf Habacker
d0da9218de Fixed reference to cmake configure options. 2010-10-12 13:50:10 +02:00
Ralf Habacker
1332dba1a2 keep version in sync with automake 2010-10-12 00:20:21 +02:00
Ralf Habacker
0830273306 Merge branch 'master' of ssh://git.freedesktop.org/git/dbus/dbus 2010-10-08 21:09:01 +02:00
Ralf Habacker
a96fcb19d1 Revert "Added documentation for autolaunch transport."
This reverts commit 2e61875728.
2010-10-08 14:56:57 +02:00
Romain Pokrzywka
6611816694 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.
2010-10-08 14:37:53 +02:00
Romain Pokrzywka
d6824bc618 tentative workaround for the random hangs on windows 2010-10-07 20:03:03 +02:00
Christian Dywan
2e134dd74c Only use signature directly inside _dbus_verbose 2010-10-05 14:50:22 +01:00
Christian Dywan
c2b9e74d4d Don't pretend to free lock if it was never allocated 2010-10-05 14:50:22 +01:00
Christian Dywan
06b0e8a8cb Always get current time in _dbus_connection_block_pending_call 2010-10-05 14:50:22 +01:00
Christian Dywan
aea8da08d1 Take care to free windows_sid in cache_peer_loginfo_string 2010-10-05 13:47:12 +01:00
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