platform/upstream/dbus.git
14 years agoAdd an optional PropertiesChanged() signal
David Zeuthen [Fri, 7 May 2010 16:50:47 +0000 (12:50 -0400)]
Add an optional PropertiesChanged() signal

Some notes about this new signal

 - The PropertiesChanged() signal is optional. An application can
   convey support for this signal by either including or excluding it
   from the returned introspection data much like apps not supporting
   (or predating) the GetAll() method does not include GetAll() in the
   introspection data.

 - An object can use PropertiesChanged() but opt out of using it for
   one or more properties by using the

     org.freedesktop.DBus.Properties.EmitsChangedSignal

   annotation on the properties in question

 - Applications can start using this new signal without breaking
   compatibility with clients relying on existing D-Bus API.

The intent of the patch is simply to standardize existing behavior

 - EggDBus has a very similar signal called EggDBusPropertiesChanged()
   (also on the org.freedesktop.DBus.Properties interface)

 - NetworkManager has a PropertiesChanged() signal on each different
   interface (e.g. not org.fd.D.P) that it implements

 - GDBus, an implementation of the D-Bus protocol in GLib, already
   implements this signal

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoFix _IOLBF for Windows CE and also define _IONBF if needed.
Marcus Brinkmann [Wed, 12 May 2010 12:47:18 +0000 (14:47 +0200)]
Fix _IOLBF for Windows CE and also define _IONBF if needed.

14 years agoFixed assert raised with msvc 2008 on windows.
Ralf Habacker [Mon, 10 May 2010 20:56:11 +0000 (22:56 +0200)]
Fixed assert raised with msvc 2008 on windows.

14 years agoFix infinite recursion on Windows CE.
Marcus Brinkmann [Wed, 5 May 2010 15:05:24 +0000 (17:05 +0200)]
Fix infinite recursion on Windows CE.

14 years agoFix GetModuleFileNameA and RegQueryValueExA for Windows CE.
Marcus Brinkmann [Mon, 3 May 2010 17:16:35 +0000 (19:16 +0200)]
Fix GetModuleFileNameA and RegQueryValueExA for Windows CE.

14 years agoAdd clarification to spec about UpdateActivationEnvironment
Ray Strode [Mon, 10 May 2010 14:12:45 +0000 (10:12 -0400)]
Add clarification to spec about UpdateActivationEnvironment

UpdateActivationEnvironment takes a a{ss}.  This means only
valid UTF-8 can be used.  Environment variables are normally
ascii, but in theory have no specific encoding to them.  This
means that certain valid environment variables can't be sent
to the bus for updating its activation environment.

This commit just adds a note to the spec explaining this
restriction.

14 years agoMove definition of _WIN32_WCE to configure.in (cmake defines it already).
Marcus Brinkmann [Wed, 21 Apr 2010 12:25:29 +0000 (14:25 +0200)]
Move definition of _WIN32_WCE to configure.in (cmake defines it already).

14 years agofix {u}intptr_t usage on wince with msvc
Romain Pokrzywka [Tue, 4 May 2010 13:41:35 +0000 (15:41 +0200)]
fix {u}intptr_t usage on wince with msvc

14 years agoSend system log messages to debug port for now.
Ralf Habacker [Wed, 5 May 2010 05:56:50 +0000 (07:56 +0200)]
Send system log messages to debug port for now.

14 years agoAdded missing implementation for _dbus_system_logv().
Ralf Habacker [Mon, 3 May 2010 10:06:22 +0000 (12:06 +0200)]
Added missing implementation for _dbus_system_logv().

14 years agoCleanup debug messages.
Ralf Habacker [Mon, 3 May 2010 09:56:40 +0000 (11:56 +0200)]
Cleanup debug messages.

14 years agoDefensively protect against bogus argv argument on W32CE.
Marcus Brinkmann [Thu, 29 Apr 2010 23:44:28 +0000 (01:44 +0200)]
Defensively protect against bogus argv argument on W32CE.

14 years agoDisabled launch helper activation tests on windows.
Ralf Habacker [Thu, 29 Apr 2010 14:21:05 +0000 (16:21 +0200)]
Disabled launch helper activation tests on windows.

Launch helper application isn't supported on windows yet.

14 years agoBe more silent with porting problems.
Ralf Habacker [Thu, 29 Apr 2010 14:10:31 +0000 (16:10 +0200)]
Be more silent with porting problems.

14 years agoDon't truncate pointers on Windows x64 platform
Fridrich Štrba [Mon, 3 May 2010 08:12:05 +0000 (10:12 +0200)]
Don't truncate pointers on Windows x64 platform

14 years agoChange to assume executable extension when none is given (except on wince)
Fridrich Štrba [Wed, 28 Apr 2010 13:09:14 +0000 (15:09 +0200)]
Change to assume executable extension when none is given (except on wince)

14 years agoPass the environment to CreateProcessA correctly and be more defensive
Fridrich Štrba [Wed, 28 Apr 2010 12:19:00 +0000 (14:19 +0200)]
Pass the environment to CreateProcessA correctly and be more defensive

14 years agoMerge branch 'master' of ssh://git.freedesktop.org/git/dbus/dbus
Ralf Habacker [Tue, 27 Apr 2010 09:22:32 +0000 (11:22 +0200)]
Merge branch 'master' of ssh://git.freedesktop.org/git/dbus/dbus

14 years agoMinor name spelling fix.
Ralf Habacker [Tue, 27 Apr 2010 09:19:56 +0000 (11:19 +0200)]
Minor name spelling fix.

14 years agoFix spelling error
David Zeuthen [Mon, 26 Apr 2010 22:00:07 +0000 (18:00 -0400)]
Fix spelling error

This broke 'make install' since dbus-daemon-launch-helper didn't get
installed.

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoAdded cmake cross compile wrapper.
Ralf Habacker [Thu, 22 Apr 2010 09:51:23 +0000 (11:51 +0200)]
Added cmake cross compile wrapper.

14 years agoFixed wrong spelling of DBUS_DISABLE_ASSERTS usage on windows.
Ralf Habacker [Wed, 21 Apr 2010 14:08:58 +0000 (16:08 +0200)]
Fixed wrong spelling of DBUS_DISABLE_ASSERTS usage on windows.

14 years agoFixed autotools mingw cross compile bug reported by Fridrich Strba.
Ralf Habacker [Wed, 21 Apr 2010 13:50:16 +0000 (15:50 +0200)]
Fixed autotools mingw cross compile bug reported by Fridrich Strba.

14 years agoA little bit more efficient version of _dbus_replace_install_prefix
Fridrich Štrba [Wed, 21 Apr 2010 10:51:17 +0000 (12:51 +0200)]
A little bit more efficient version of _dbus_replace_install_prefix

14 years agoPatch relocating "exec" variable and position of service files
Fridrich Štrba [Wed, 21 Apr 2010 08:42:06 +0000 (10:42 +0200)]
Patch relocating "exec" variable and position of service files

14 years agoRemoved obsolate file.
Ralf Habacker [Fri, 16 Apr 2010 06:04:26 +0000 (08:04 +0200)]
Removed obsolate file.

14 years agoFix warnings on Windows CE target.
Marcus Brinkmann [Wed, 14 Apr 2010 01:20:44 +0000 (03:20 +0200)]
Fix warnings on Windows CE target.

14 years agoFix warnings on Windows builds.
Marcus Brinkmann [Wed, 14 Apr 2010 00:28:44 +0000 (02:28 +0200)]
Fix warnings on Windows builds.

14 years agoRemove obsolete files.
Marcus Brinkmann [Tue, 13 Apr 2010 23:44:02 +0000 (01:44 +0200)]
Remove obsolete files.

14 years agoInclude strtoll.c and strtoull.c in distribution.
Marcus Brinkmann [Tue, 13 Apr 2010 23:40:59 +0000 (01:40 +0200)]
Include strtoll.c and strtoull.c in distribution.

14 years agoAdded missing test libraries and tools to keep in sync with autotools.
Ralf Habacker [Sat, 10 Apr 2010 22:45:15 +0000 (00:45 +0200)]
Added missing test libraries and tools to keep in sync with autotools.

14 years agoKeep defines for dbus test in sync with autotools.
Ralf Habacker [Sat, 10 Apr 2010 23:30:20 +0000 (01:30 +0200)]
Keep defines for dbus test in sync with autotools.

14 years agoKeep test file directories in sync with autotools
Ralf Habacker [Sat, 10 Apr 2010 23:25:36 +0000 (01:25 +0200)]
Keep test file directories in sync with autotools

14 years agoPort test-privserver to windows by using the TEST_LISTEN bus address.
Ralf Habacker [Sat, 10 Apr 2010 23:34:37 +0000 (01:34 +0200)]
Port test-privserver to windows by using the TEST_LISTEN bus address.

14 years agoDefined DBUS_CMAKE in config.h to have a way for detecting the currently used buildsy...
Ralf Habacker [Sat, 10 Apr 2010 23:34:20 +0000 (01:34 +0200)]
Defined DBUS_CMAKE in config.h to have a way for detecting the currently used buildsystem.

14 years agoAdd README for Windows CE.
Marcus Brinkmann [Tue, 16 Mar 2010 14:55:55 +0000 (15:55 +0100)]
Add README for Windows CE.

14 years agoAdd replacement functions strtoll/strtoull for dbus-send, mainly for Windows CE.
Marcus Brinkmann [Fri, 9 Apr 2010 00:07:29 +0000 (02:07 +0200)]
Add replacement functions strtoll/strtoull for dbus-send, mainly for Windows CE.

14 years agoPort dbus tools to Windows CE.
Marcus Brinkmann [Tue, 16 Mar 2010 14:54:00 +0000 (15:54 +0100)]
Port dbus tools to Windows CE.

14 years agoAdd support for Windows CE to the code base.
Marcus Brinkmann [Tue, 16 Mar 2010 14:51:53 +0000 (15:51 +0100)]
Add support for Windows CE to the code base.

14 years agoadd missing HAVE_ macros to cmake
Romain Pokrzywka [Tue, 13 Apr 2010 14:16:27 +0000 (16:16 +0200)]
add missing HAVE_ macros to cmake

14 years agoWindows CE has a different understanding of "command line" from Windows.
Marcus Brinkmann [Tue, 16 Mar 2010 14:52:27 +0000 (15:52 +0100)]
Windows CE has a different understanding of "command line" from Windows.

14 years agoAdd WinCE detection to configure.in and choose right socket library.
Marcus Brinkmann [Tue, 16 Mar 2010 14:50:36 +0000 (15:50 +0100)]
Add WinCE detection to configure.in and choose right socket library.

14 years agoclean up def file change.
Marcus Brinkmann [Tue, 6 Apr 2010 15:49:42 +0000 (17:49 +0200)]
clean up def file change.

14 years agoMerge branch 'master' of ssh://rhabacker@git.freedesktop.org/git/dbus/dbus
Ralf Habacker [Tue, 13 Apr 2010 17:45:22 +0000 (19:45 +0200)]
Merge branch 'master' of ssh://rhabacker@git.freedesktop.org/git/dbus/dbus

14 years agoPrepare for WinCE port: Convert windows code to native API, avoid errno.
Marcus Brinkmann [Tue, 16 Mar 2010 02:27:42 +0000 (03:27 +0100)]
Prepare for WinCE port: Convert windows code to native API, avoid errno.

14 years agoupdate WinCE cmake support
Romain Pokrzywka [Mon, 29 Mar 2010 23:44:57 +0000 (16:44 -0700)]
update WinCE cmake support

14 years agoupdate WinCE cmake support
Romain Pokrzywka [Mon, 29 Mar 2010 23:44:57 +0000 (16:44 -0700)]
update WinCE cmake support

14 years agoMerge branch 'master' of ssh://git.freedesktop.org/git/dbus/dbus
Ralf Habacker [Tue, 13 Apr 2010 13:40:06 +0000 (15:40 +0200)]
Merge branch 'master' of ssh://git.freedesktop.org/git/dbus/dbus

14 years agoCmake build system cleanup.
Ralf Habacker [Sat, 10 Apr 2010 22:36:17 +0000 (00:36 +0200)]
Cmake build system cleanup.

Converted tabs to spaces and removed trailing spaces in test dir.

14 years agoCmake support for cross plattform usable test files.
Ralf Habacker [Fri, 9 Apr 2010 21:34:28 +0000 (23:34 +0200)]
Cmake support for cross plattform usable test files.

Recent test configuration files contains 'unix:...'
bus adresses which do not work on windows.
For cross plattform usable test files the whole
listen tag entry has to be set by the build system,
which is available with a new build system variable
named TEST_LISTEN.
To have the client client side definition in sync,
TEST_CONNECTION has been moved from c file into cmake
build system.

14 years agoFixed meinproc4 docbook generator detection for cmake buildsystem.
Ralf Habacker [Fri, 9 Apr 2010 23:20:45 +0000 (01:20 +0200)]
Fixed meinproc4 docbook generator detection for cmake buildsystem.

14 years agoSimplified cmake specific test file generating.
Ralf Habacker [Fri, 9 Apr 2010 21:07:11 +0000 (23:07 +0200)]
Simplified cmake specific test file generating.

If there is a *.cmake test file available for
a related *.in file, take the *.cmake test file
instead of the *.in file as test file source.
Also added some messages.

14 years agoFixed xmlto usage on unix for cmake build system.
Ralf Habacker [Tue, 30 Mar 2010 06:31:49 +0000 (08:31 +0200)]
Fixed xmlto usage on unix for cmake build system.

14 years agoDetermine docbook.xsl path on windows from meinproc4 executable.
Ralf Habacker [Mon, 29 Mar 2010 19:28:47 +0000 (21:28 +0200)]
Determine docbook.xsl path on windows from meinproc4 executable.

14 years agoAdded x64 and ia64 backtrace support for windows.
Patrick von Reth [Mon, 29 Mar 2010 08:15:34 +0000 (10:15 +0200)]
Added x64 and ia64 backtrace support for windows.

14 years agoCleaned up _dbus_verbose calls: function names and code line numbers are printed...
Ralf Habacker [Fri, 26 Mar 2010 20:12:43 +0000 (21:12 +0100)]
Cleaned up _dbus_verbose calls: function names and code line numbers are printed by default.

14 years agoAdded cmake build system notes to README and INSTALL.
Ralf Habacker [Wed, 24 Mar 2010 12:44:26 +0000 (13:44 +0100)]
Added cmake build system notes to README and INSTALL.

14 years agoRenamed libdbus-convenience to libdbus-internal for automake (to stay in sync with...
Ralf Habacker [Tue, 23 Mar 2010 08:21:48 +0000 (09:21 +0100)]
Renamed libdbus-convenience to libdbus-internal for automake (to stay in sync with cmake).

14 years agoUpdate dll export for autoconf (to stay in sync with cmake).
Marcus Brinkmann [Tue, 23 Mar 2010 01:09:26 +0000 (02:09 +0100)]
Update dll export for autoconf (to stay in sync with cmake).

14 years agoKeep cmake build system in sync with commit d47154c28b68b32177773bd489fdae62b440f38c.
Ralf Habacker [Mon, 22 Mar 2010 21:33:02 +0000 (22:33 +0100)]
Keep cmake build system in sync with commit d47154c28b68b32177773bd489fdae62b440f38c.

14 years agoMerge branch 'dbus-1.2'
Colin Walters [Mon, 22 Mar 2010 18:39:56 +0000 (14:39 -0400)]
Merge branch 'dbus-1.2'

Conflicts:
bus/dispatch.c
configure.in
test/name-test/test-names.c

14 years ago[64 bit printf] Update to use DBUS_PID_FORMAT, print (omitted)
Colin Walters [Mon, 22 Mar 2010 18:33:37 +0000 (14:33 -0400)]
[64 bit printf] Update to use DBUS_PID_FORMAT, print (omitted)

There were already defines for formatting pids and uids, so use those.

In the case where we don't have a format specifier for 64 bit, print
(omitted) in dbus-monitor.

14 years agoAdd DBUS_INT64_MODIFIER define, turn on -Wformat
Colin Walters [Mon, 22 Mar 2010 15:50:24 +0000 (11:50 -0400)]
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.

14 years agoAdd DBUS_GNUC_PRINTF checks to new formatting functions
Colin Walters [Mon, 22 Mar 2010 14:38:12 +0000 (10:38 -0400)]
Add DBUS_GNUC_PRINTF checks to new formatting functions

Otherwise we don't get GCC warnings.

14 years agoRemoved unused cmake packages.
Ralf Habacker [Mon, 22 Mar 2010 16:23:29 +0000 (17:23 +0100)]
Removed unused cmake packages.

14 years agoAdded signal.h and locale.h detection for cmake build system.
Ralf Habacker [Mon, 22 Mar 2010 14:49:30 +0000 (15:49 +0100)]
Added signal.h and locale.h detection for cmake build system.

14 years agoMake more signal and locale interface use conditional.
Marcus Brinkmann [Tue, 16 Mar 2010 02:33:04 +0000 (03:33 +0100)]
Make more signal and locale interface use conditional.

14 years agoAdditional fixes for 2154acb3492d5ba19da36562e8409016da9cb79b
Ralf Habacker [Mon, 22 Mar 2010 09:55:30 +0000 (10:55 +0100)]
Additional fixes for 2154acb3492d5ba19da36562e8409016da9cb79b

14 years agoMake the windows binaries and build match the linux one with cmake buildsystem.
unknown [Mon, 22 Mar 2010 09:38:38 +0000 (10:38 +0100)]
Make the windows binaries and build match the linux one with cmake buildsystem.

This is performed by including the files from the client lib in the internal one
and by removing the linking to dbus-1 for targets using the internal library.

14 years agoRemoved def file support for cmake build system.
Ralf Habacker [Fri, 19 Mar 2010 15:14:31 +0000 (16:14 +0100)]
Removed def file support for cmake build system.

14 years ago[bus] While creating a syslog, correctly get pointer data from DBusString
Colin Walters [Sun, 21 Mar 2010 11:01:15 +0000 (07:01 -0400)]
[bus] While creating a syslog, correctly get pointer data from DBusString

14 years agoCMake dbus libraries usage cleanup.
Ralf Habacker [Sat, 20 Mar 2010 21:30:16 +0000 (22:30 +0100)]
CMake dbus libraries usage cleanup.

Renamed DBUS_LIBRARIES to DBUS_INTERNAL_LIBRARIES and moved to top level CMakeLists.txt.
Removed obsolate references of dbus-internal library.
Added DBUS_LIBRARIES definition which contains only the dbus library.

14 years agoFixed gcc on windows limitation
Ralf Habacker [Sat, 20 Mar 2010 20:11:10 +0000 (21:11 +0100)]
Fixed gcc on windows limitation

A pointer to a function or variable marked as dllimport
cannot be used as a constant address.

14 years agowin32 fix: Only diplay memory allocation testing error note once.
Ralf Habacker [Fri, 19 Mar 2010 20:42:54 +0000 (21:42 +0100)]
win32 fix: Only diplay memory allocation testing error note once.

14 years agofixed def file usage for cmake mingw builds
Ralf Habacker [Fri, 19 Mar 2010 20:33:57 +0000 (21:33 +0100)]
fixed def file usage for cmake mingw builds

14 years agoDo not use DBUS_WIN in a public header file, use _WIN32.
Marcus Brinkmann [Fri, 19 Mar 2010 11:51:12 +0000 (12:51 +0100)]
Do not use DBUS_WIN in a public header file, use _WIN32.

14 years agoDefine dbus_1_EXPORTS when appropriate.
Marcus Brinkmann [Fri, 19 Mar 2010 11:37:21 +0000 (12:37 +0100)]
Define dbus_1_EXPORTS when appropriate.

14 years agoConsistently include <config.h> in all C source files and never in header files.
Marcus Brinkmann [Fri, 19 Mar 2010 11:36:49 +0000 (12:36 +0100)]
Consistently include <config.h> in all C source files and never in header files.

14 years agoDispatch post-activation messages to anyone interested
Will Thompson [Thu, 4 Feb 2010 20:24:54 +0000 (20:24 +0000)]
Dispatch post-activation messages to anyone interested

Previously, if a method call activated a service, it would only be
delivered to that service, and not to other services with match rules
which should match. This patch replaces the improperly-duplicated
dispatch code in activation.c with a call back into the normal dispatch
code, fixing this bug (fd.o#26427).

(Additionally, were one to service-activate a service that doesn't
understand file descriptors with a message containing a file descriptor,
the previous code would send it anyway, and the service's dbus library
would blow up. This is also fixed here, since the normal dispatch code
checks this correctly.)

14 years agoMove dispatching to destination to bus_dispatch_matches()
Will Thompson [Thu, 4 Feb 2010 20:12:28 +0000 (20:12 +0000)]
Move dispatching to destination to bus_dispatch_matches()

14 years agoDispatch post-activation messages to anyone interested
Will Thompson [Thu, 4 Feb 2010 20:24:54 +0000 (20:24 +0000)]
Dispatch post-activation messages to anyone interested

Previously, if a method call activated a service, it would only be
delivered to that service, and not to other services with match rules
which should match. This patch replaces the improperly-duplicated
dispatch code in activation.c with a call back into the normal dispatch
code, fixing this bug (fd.o#26427).

14 years agoMove dispatching to destination to bus_dispatch_matches()
Will Thompson [Thu, 4 Feb 2010 20:12:28 +0000 (20:12 +0000)]
Move dispatching to destination to bus_dispatch_matches()

14 years agoPost-release version bump
Colin Walters [Wed, 17 Mar 2010 16:43:40 +0000 (12:43 -0400)]
Post-release version bump

14 years agoRelease 1.2.22 dbus-1.2.22
Colin Walters [Wed, 17 Mar 2010 02:30:50 +0000 (22:30 -0400)]
Release 1.2.22

14 years agoDelete name-test/test-names
Colin Walters [Wed, 17 Mar 2010 02:25:40 +0000 (22:25 -0400)]
Delete name-test/test-names

This test, while extensive, has the serious flaw of effectively
spinning on _dbus_connection_do_iteration_unlocked.  Any tests
like this should be using the internal DBus mainloop, which
I don't have time to port it to before doing a release.

14 years agoexport _dbus_credentials_to_string_append for the tests
Romain Pokrzywka [Tue, 16 Mar 2010 23:14:55 +0000 (16:14 -0700)]
export _dbus_credentials_to_string_append for the tests

14 years agoUpdate the windows implementation of logging functions
Romain Pokrzywka [Tue, 16 Mar 2010 23:13:00 +0000 (16:13 -0700)]
Update the windows implementation of logging functions

Following commit: 04cf3166002a86b9a22851be4e243c87b5b3048d for Unix.

14 years agoFix the make dist target.
Marcus Brinkmann [Tue, 16 Mar 2010 10:15:58 +0000 (11:15 +0100)]
Fix the make dist target.

14 years agoPrepend HOMEDRIVE to HOMEPATH so cross-volume accesses work.
Marcus Brinkmann [Tue, 16 Mar 2010 02:15:15 +0000 (03:15 +0100)]
Prepend HOMEDRIVE to HOMEPATH so cross-volume accesses work.

14 years agoCheck return value of MoveFileEx correctly.
Marcus Brinkmann [Mon, 15 Mar 2010 14:52:49 +0000 (15:52 +0100)]
Check return value of MoveFileEx correctly.

14 years agoClose process handle leak.
Marcus Brinkmann [Mon, 15 Mar 2010 14:51:27 +0000 (15:51 +0100)]
Close process handle leak.

14 years agoUse INVALID_HANDLE_VALUE, not NULL.
Marcus Brinkmann [Mon, 15 Mar 2010 14:49:31 +0000 (15:49 +0100)]
Use INVALID_HANDLE_VALUE, not NULL.

14 years agoFix possible alignment issue.
Marcus Brinkmann [Mon, 15 Mar 2010 14:43:32 +0000 (15:43 +0100)]
Fix possible alignment issue.

14 years agoMerge branch 'dbus-1.2'
Colin Walters [Tue, 16 Mar 2010 20:44:48 +0000 (16:44 -0400)]
Merge branch 'dbus-1.2'

14 years agoDon't send an reply for driver messages if one isn't requested
Colin Walters [Tue, 16 Mar 2010 17:20:36 +0000 (13:20 -0400)]
Don't send an reply for driver messages if one isn't requested

Basically honor the no_reply flag; a binding is likely to want to
set this so it doesn't have to process extra traffic for match
rules.

14 years agoMerge branch 'dbus-1.2'
Colin Walters [Tue, 16 Mar 2010 20:04:15 +0000 (16:04 -0400)]
Merge branch 'dbus-1.2'

Conflicts:
bus/bus.c
configure.in

14 years agoMake SELinux initialization failure fatal
Colin Walters [Mon, 15 Mar 2010 22:31:30 +0000 (18:31 -0400)]
Make SELinux initialization failure fatal

https://bugzilla.redhat.com/show_bug.cgi?id=572769

Previously we'd just continue if AVC initialization failed, but
that didn't really work because then we'd later crash in
avc_has_perm.

Simply treat initialization failures as fatal, and hopefully we
can get data from the system log.

14 years agoAdd a prefix to our syslog messages
Colin Walters [Tue, 16 Mar 2010 11:19:04 +0000 (07:19 -0400)]
Add a prefix to our syslog messages

Previously we were simply logging as "dbus", and it was unclear
whether it was the system bus, or a session bus.  And if the latter,
which user?

This patch adds a prefix to the log message with the bus type
and the userid.

14 years agoAdd _dbus_credentials_to_string_append
Colin Walters [Tue, 16 Mar 2010 13:00:23 +0000 (09:00 -0400)]
Add _dbus_credentials_to_string_append

Convert the credentials to a string; useful for logging.

14 years agoAdd DBUS_SYSTEM_LOG_FATAL severity
Colin Walters [Fri, 12 Mar 2010 16:30:00 +0000 (11:30 -0500)]
Add DBUS_SYSTEM_LOG_FATAL severity

This severity is useful for when we encounter a fatal problem; we
get a log message out, then exit.