Ralf Habacker
c1989c1a4f
Merge branch 'dbus-1.4'
2011-09-20 19:37:39 +02:00
Ralf Habacker
70b0ffd501
cmake fix: install version string
...
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40905
2011-09-20 19:34:38 +02:00
Simon McVittie
9c9d66c1a0
_dbus_pending_call_test: remove stub
2011-09-19 15:05:40 +01:00
Simon McVittie
f5d0b12866
_dbus_marshal_header_test: remove stub
2011-09-19 15:05:39 +01:00
Simon McVittie
c0aff8f86a
bus_policy_test: remove stub
2011-09-19 15:05:39 +01:00
Simon McVittie
2829a59951
dbus-internals: make sure function-like macros expand to something non-empty
...
This avoids sometimes-surprising semantics, and also compiler warnings
when they're the only statement in an "if" or "else" clause, without {}.
2011-09-19 13:50:38 +01:00
Simon McVittie
86b0ba0278
Use {}, not semicolon, when the statement of an "if" does nothing
...
The uses in bus/activation.c are also probably wrong because they ignore
the result of the test, but that's orthogonal.
(<https://bugs.freedesktop.org/show_bug.cgi?id=39858 >)
2011-09-19 13:50:38 +01:00
Simon McVittie
d1756a7e4c
Fix an assortment of variables that aren't used when not checking/asserting
2011-09-19 13:50:38 +01:00
Simon McVittie
2c1ad79c0c
BusConnections: don't assert about BusConnectionData in functions that don't need it
2011-09-19 13:50:38 +01:00
Simon McVittie
420c6840a3
bus_driver_handle_message: remove unused label
2011-09-19 13:50:38 +01:00
Simon McVittie
0d9a7a0f97
activation helper: remove unused variable when not being verbose
2011-09-19 13:50:38 +01:00
Simon McVittie
eaa1f25746
bus_registry_acquire_service: remove unnecessary variable
2011-09-19 13:50:38 +01:00
Simon McVittie
0f309ae984
Don't refcount TimeoutCallback
...
It turns out that timeout_callback_ref() is no longer called anywhere.
2011-09-19 13:50:38 +01:00
Simon McVittie
e91bbcbcb4
Remove a never-used callback
2011-09-19 13:50:37 +01:00
Simon McVittie
bf2a1b169f
Remove more never-used variables
2011-09-19 13:50:37 +01:00
Simon McVittie
775f77c719
Merge branch 'dbus-1.4'
2011-08-26 15:07:41 +01:00
Simon McVittie
2f183ac576
Don't build any of the reload-pipe code on non-Unix
...
In commit ab7b3f9 , Ralf notes that handle_reload_watch() is (in principle)
cross-platform. However, there's no way to trigger it on Windows, because
nothing ever writes to the pipe. Make the entire pipe-to-self trick
Unix-specific instead.
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40002
2011-08-26 15:02:30 +01:00
Simon McVittie
2eddc3265c
Merge branch 'dbus-1.4'
2011-08-24 11:26:13 +01:00
Simon McVittie
8c2ab410fb
NEWS
2011-08-24 11:26:01 +01:00
Simon McVittie
584d4f60b9
Add missing inclusion of inttypes.h
...
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40313
Reviewed-by: Thiago Macieira <thiago@kde.org>
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-08-24 11:01:45 +01:00
Ralf Habacker
3d170cc4ff
Merge branch 'dbus-1.4'
2011-08-15 17:33:42 +02:00
Simon McVittie
8c83422b5f
Fix compilation of (no-op) alignment assertions on non-gcc
...
do {} while (0) isn't valid at file scope, so the non-gcc code path
was broken; in particular, this affected MSVC.
Reviewed-by:Ralf Habacker <ralf.habacker@freenet.de>
2011-08-15 17:31:50 +02:00
Simon McVittie
6d4fe188e5
Merge branch 'dbus-1.4'
2011-08-15 10:26:48 +01:00
Simon McVittie
9929df06bf
NEWS
2011-08-15 10:26:42 +01:00
Chris Mayo
c82a83fb1b
Install diagrams in htmldir
...
diagram.png and diagram.svg are linked from dbus-tutorial.html but recent
changes to doc/Makefile.am mean that if htmldir is set with configure they are
installed such that the relative link from dbus-tutorial.html does not work.
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-08-15 10:23:04 +01:00
Simon McVittie
0f72713e5a
Merge branch 'dbus-1.4'
2011-08-15 09:56:03 +01:00
Ralf Habacker
4a3e5b0af4
Fix compilation on MSVC, which doesn't understand "inline" with its C99 meaning.
...
This fix is limited to msvc compilers only.
Reviewed-by:Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-08-13 22:08:26 +02:00
Simon McVittie
21947eb371
NEWS
2011-08-12 10:45:24 +01:00
Simon McVittie
74868224e4
dbus-daemon-eavesdrop test: apply the same Windows fixes as dbus-daemon test
...
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40003
2011-08-12 10:45:15 +01:00
Simon McVittie
39e3866c0a
Fix linking of libdbus-testutils.la with Automake targeting Windows
...
This regressed in commit 9875480ed - libdbus-testutils.la needs static
linking too.
2011-08-12 10:26:26 +01:00
Simon McVittie
c99a3df254
Merge branch 'dbus-1.4'
2011-08-12 10:26:13 +01:00
Simon McVittie
486c0373f1
NEWS
2011-08-12 10:26:04 +01:00
Simon McVittie
bc643f81a5
Fix compiler warnings when cross-compiling dbus-daemon test for mingw32
...
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40003
Reviewed-by: Colin Walters <walters@verbum.org>
2011-08-12 10:21:50 +01:00
Simon McVittie
0611a71c67
Merge branch 'dbus-1.4'
...
Conflicts:
NEWS
2011-08-11 11:54:52 +01:00
Simon McVittie
0b9e2b8b49
NEWS for 1.4.x
2011-08-11 11:53:45 +01:00
Simon McVittie
6327adafe2
dbus-marshal-basic: assert that the size and (on gcc) alignment of all types is as expected
...
The __alignof__() checks here will fail if compiling for an architecture
where more-than-natural alignment is needed.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39636
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-08-11 11:51:55 +01:00
Simon McVittie
213acdb71c
Add _DBUS_STATIC_ASSERT (based on GLib's G_STATIC_ASSERT) and use it
...
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39636
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2011-08-11 11:51:43 +01:00
Simon McVittie
513f137912
Merge branch 'dbus-1.4', omitting the DBUS_INLINE stuff
...
fd.o #40000 had effectively already been fixed (slightly differently)
on master.
Conflicts:
cmake/config.h.cmake
2011-08-11 11:26:58 +01:00
Steve Grubb
70fb675a10
capng: Drop supplemental groups when switching to daemon user
...
This patch ensures the daemon process doesn't inherit any supplemental
groups for the root user from an administrator login via an init
script.
This is only an issue for pre-systemd systems.
https://bugzilla.redhat.com/show_bug.cgi?id=726953
2011-08-11 10:54:45 +01:00
Colin Walters
93731e6c9c
autogen.sh: Don't run configure if NOCONFIGURE is set
...
See http://people.gnome.org/~walters/docs/build-api.txt
2011-08-11 10:54:45 +01:00
Ralf Habacker
995bfef416
Clean up cygwin readme
2011-08-06 00:37:39 +02:00
Ralf Habacker
0631b30cea
Clean up cygwin readme
2011-08-06 00:36:42 +02:00
Ralf Habacker
8d55ab4224
Clean author list
2011-08-06 00:15:01 +02:00
Ralf Habacker
7c19592a9b
Reduce duplicates from authors list
...
Some duplicates are there by accident mostly because of the git
learning curve (as in my case). Other duplicates could be outdated
and may be candidates for additional mappings.
2011-08-06 00:11:11 +02:00
Ralf Habacker
75014fc2f7
Reduce duplicates from authors list
...
Some duplicates are there by accident mostly because of the git
learning curve (as in my case). Other duplicates could be outdated
and may be candidates for additional mappings.
2011-08-06 00:08:22 +02:00
Ralf Habacker
f3ac2c2b3e
Clean author list
2011-08-05 23:26:41 +02:00
Ralf Habacker
b0b5f9b134
Win32 compile fix.
...
msvc compilers define 'inline' only for c++ code, so wrap it
with a platform independent DBUS_INLINE define in cmake
generated config.h.
2011-08-05 23:01:10 +02:00
Ralf Habacker
ab7b3f92bf
Win32 compile fix.
...
Do not limit ACTION_RELOAD to unix only because it is used in the
crossplattform function handle_reload_watch().
2011-08-05 22:37:06 +02:00
Simon McVittie
82495f4b40
Merge branch 'dbus-1.4' and update NEWS further
2011-08-05 15:07:24 +01:00
Simon McVittie
2a6c14cd2e
NEWS
2011-08-05 15:03:39 +01:00