Commit graph

3173 commits

Author SHA1 Message Date
Ralf Habacker
46df8b52d9 linux compile fix 2010-02-26 08:37:53 +01:00
Marcus Brinkmann
0906954d0a Generate Windows def files from def.in files. 2010-02-26 08:12:11 +01:00
Romain Pokrzywka
fdcd044555 fix potential crashes on windows with MSVC, due to badly exported variables 2010-02-25 18:20:02 +01:00
Romain Pokrzywka
0feebc3e12 --warning 2010-02-25 18:19:58 +01:00
Romain Pokrzywka
127bd1f0c3 small fixes for DBUS_USE_OUTPUT_DEBUG_STRING code 2010-02-25 18:19:54 +01:00
Ralf Habacker
1bbb46421b fixed compile break introduced in commit e1c31c7307 2010-02-25 18:12:47 +01:00
Colin Walters
e1c31c7307 Merge branch 'dbus-1.2'
Conflicts:
	bus/bus.c
	bus/selinux.c
	configure.in
2010-02-22 09:48:45 -05:00
Colin Walters
fbeb13517e [dbus-string] Sync up UNICODE_VALID with glib, add documentation
See https://bugzilla.gnome.org/show_bug.cgi?id=107427 for rationale
behind the first change.

The documentation was derived from an IRC conversation with
Behdad Esfahbod.
2010-02-19 16:34:47 -05:00
Colin Walters
235eebdb16 Finish moving file-related functions from dbus-sysdeps-unix to dbus-file-unix 2010-02-19 12:48:44 -05:00
Colin Walters
9c90fcd2dc Monitor service directories for changes
It's not expected to have to manually SIGHUP the bus after installing
a new .service file.  Since our directory monitoring is already set
up to queue a full reload which includes service activation, simply
monitor the servicedirs too.

https://bugs.freedesktop.org/show_bug.cgi?id=23846
2010-02-18 15:33:28 -05:00
Brian Cameron
8ca10fd4de Fix dummy file monitoring backend compilation
https://bugs.freedesktop.org/show_bug.cgi?id=26421
2010-02-18 10:38:42 -05:00
Colin Walters
f81e8702a6 Revert "_dbus_string_to_lower(): new function"
This reverts commit 39aa809024.
2010-02-18 10:09:20 -05:00
Ralf Habacker
39aa809024 _dbus_string_to_lower(): new function 2010-02-12 08:47:33 +01:00
Ralf Habacker
984b372fd2 Merge branch 'master' of ssh://git.freedesktop.org/git/dbus/dbus 2010-02-12 08:46:10 +01:00
Marcus Brinkmann
f31bb2a749 Enable dbus-launch for Windows target. 2010-02-11 22:38:55 +01:00
Ralf Habacker
0793857c92 added some docs for windows and updated the documentation index 2010-02-10 13:03:19 +01:00
Ralf Habacker
a931e61763 fixed xml doc generating for cmake build system - supported docbook generator is currently kde's meinproc4, xmlto may also work but need still some checks 2010-02-10 09:26:52 +01:00
Ralf Habacker
31d9f4d655 Merge branch 'master' of ssh://git.freedesktop.org/git/dbus/dbus 2010-02-09 19:44:12 +01:00
Ralf Habacker
523e01827e fixed bug on win32 not been able to use session bus with --config-file option
Internal setup of session bus type was bound to the presence of the --session
command line parameter which prevents to use the --config-file parameter for
session bus setup.
2010-02-09 08:37:50 +01:00
Cyril Brulebois
b429488739 Fix compilation of kqueue file monitoring on FreeBSD 2010-02-08 12:21:35 -05:00
Romain Pokrzywka
27a46ea9cb variable name fix (DBUS_DAEMON_NAME instead of DAEMON_NAME) 2010-02-07 00:32:51 +01:00
Romain Pokrzywka
deb7e5a9aa apply remaining unapplied parts of eeedba5b2f5b008819619764943caddd52441adf in dbus4win 2010-02-07 00:32:50 +01:00
Romain Pokrzywka
3f05abb3ad not needed anymore. Builds fine without for both msvc and mingw 2010-02-07 00:32:49 +01:00
Romain Pokrzywka
e6c10e9304 add new symbols from 1.3 to the exports 2010-02-07 00:32:48 +01:00
Romain Pokrzywka
e750a52a4d move dbus-1.def.cmake to the cmake subdir, as it's cmake specific 2010-02-07 00:32:48 +01:00
Romain Pokrzywka
18d6f550d4 add the LIBRARY header in the .def file, but for mingw only, msvc doesn't support it anymore. It's still needed when creating a .lib from a mingw-built dll 2010-02-07 00:32:47 +01: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
Romain Pokrzywka
196b310dd1 remove the debug postfix for the executables, it only makes sense for the lib 2010-02-07 00:32:45 +01:00
Romain Pokrzywka
83c70d45a8 and another .def.in for the verbose mode handling 2010-02-07 00:32:44 +01:00
Romain Pokrzywka
b0e0cd03e8 commented bits cleanup 2010-02-07 00:32:44 +01:00
Romain Pokrzywka
3de7453714 disable cmake options that don't apply (for cmake-gui) 2010-02-07 00:32:43 +01:00
Romain Pokrzywka
7cda0ff030 fixed the TODO, the if block didn't make sense indeed. Also make it clearer which dirs in the summary are installation dirs 2010-02-07 00:32:42 +01:00
Romain Pokrzywka
5bf0e86495 fixed and simplified install prefix handling with cmake 2010-02-07 00:32:41 +01:00
Romain Pokrzywka
f554db982f dbus-spawn.h is internal, it shouldn't be installed 2010-02-07 00:32:40 +01:00
Romain Pokrzywka
bbd1c9fe82 now fix the build for the tests; turns out we need another set of exports, since some tests are compiled in the client lib and some are in the internal lib... 2010-02-07 00:32:39 +01:00
Romain Pokrzywka
ce69516585 refactor the cmake build to match with autotools: only export client symbols in dbus-1 and use and internal library for the rest. Currently this library is statically linked to the apps but it can be made dynamic if wanted 2010-02-07 00:32:39 +01:00
Romain Pokrzywka
cffb66be40 oops, this symbol belongs to the client exports 2010-02-07 00:32:38 +01:00
Romain Pokrzywka
5746ba8811 split the symbols into separate files matching the client/shared/util sections of the code, and generate the final .def file dynamically 2010-02-07 00:32:37 +01:00
Romain Pokrzywka
7487915ff4 make the def handling simpler with cmake, we don't need to specify the library name anyway 2010-02-07 00:32:36 +01:00
Ralf Habacker
8ba739fb1a win32 fix: _dbus_get_install_root(): there are more places to fix case insensitive pattern search 2010-02-07 00:32:13 +01:00
Ralf Habacker
9e918c8f74 win32 fix: _dbus_get_install_root(): to catch all cases perform case insensitive pattern search 2010-02-07 00:29:10 +01:00
Colin Walters
65be3cd5d9 Release 1.2.20 2010-02-03 12:13:38 -05:00
Colin Walters
7bc27d1e84 Fix inotify shutdown
We were incorrectly passing NULL for a DBusList when the usage expected
is a pointer to a NULL DBusList pointer.  Also during dbus_shutdown
we need to actually close the inotify fd, and remove our watch.

Move the shutdown handler out of bus.c and into inotify where we
can do all of this cleanly.
(cherry picked from commit 90fe96b187)
2010-02-03 12:05:28 -05:00
Ralf Habacker
b43d342846 linux cmake build system related compile fix 2010-02-03 14:14:03 +01:00
Colin Walters
15109202a9 Fix compilation in --disable-selinux case
_dbus_change_to_daemon_user moved into selinux.c for the --with-selinux
(and audit) case because that's where all of the relevant libcap headers
were being used.  However in the --disable-selinux case this didn't
compile and wasn't very clean.

If we don't have libaudit, use the legacy direct setgid/setuid bits
we had before in dbus-sysdeps-util-unix.c.
2010-02-03 08:36:38 +01:00
Colin Walters
3dac125d61 Fix compilation in --disable-selinux case
_dbus_change_to_daemon_user moved into selinux.c for the --with-selinux
(and audit) case because that's where all of the relevant libcap headers
were being used.  However in the --disable-selinux case this didn't
compile and wasn't very clean.

If we don't have libaudit, use the legacy direct setgid/setuid bits
we had before in dbus-sysdeps-util-unix.c.
2010-02-02 15:04:58 -05:00
Colin Walters
90fe96b187 Fix inotify shutdown
We were incorrectly passing NULL for a DBusList when the usage expected
is a pointer to a NULL DBusList pointer.  Also during dbus_shutdown
we need to actually close the inotify fd, and remove our watch.

Move the shutdown handler out of bus.c and into inotify where we
can do all of this cleanly.
2010-02-02 15:04:45 -05:00
Colin Walters
19d48c3344 Merge branch 'my-dbus-1.2'
Conflicts:
	configure.in
2010-02-02 11:00:09 -05:00
Colin Walters
a7169e694c Release 1.2.18 2010-02-02 10:31:28 -05:00
Tom Hughes
1c6596eb52 Use monotonic clock for _dbus_get_current_time() if it's available.
_dbus_get_current_time() is used for timeouts, but uses gettimeofday(), which
relies on the wall clock time, which can change. If the time is changed forwards
or backwards, the timeouts are no longer valid, so the monotonic clock must be used.

https://bugs.freedesktop.org/show_bug.cgi?id=25624

Signed-off-by: Colin Walters <walters@verbum.org>
2010-02-02 10:29:03 -05:00