Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
Fixes: #15
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
To allow dbus-glib to be built with G_DISABLE_ASSERT defined but tests
enabled (--disable-asserts --enable-tests), we need to explicitly
undefine it when building the tests, otherwise g_test_init() turns
into an abort since GLib 2.58.
We no longer actually use g_assert() for test-only code, so we can
remove the warning about tests' failing results not being reported.
test-profile.c still leaves assertions disabled: it does not use
g_test_init(), and it is intended to be used for profiling, where the
overhead of assertions is potentially significant.
Resolves: #16
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
When doing cross-compilation, the path returned by pkg-config for
glib-genmarshal can be incorrect (because it is the runtime path,
not the build-time path).
Change configure.ac to use pkg-config to get the variable.
This allows overridig the path at configure time, by using the configure
option GLIB_GENMARSHAL=/path/toglib-genmarshal
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[smcv: Fix typo in commit message]
Reviewed-by: Simon McVittie <smcv@collabora.com>
|
|
Remove some old bits like Solaris 10 package name that's not even
relevant on current Solaris releases.
v2: Remove reference to non-existent libdbus-glib-1(3) man page
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
It accounts for a significant proportion of the size of the whole
source tree, and the git history is more useful.
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|
Use dbus-run-session to run the only one that can be used as an
automated test right now.
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|
|
|
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|
|
|
|
|
The strange use of source from a sibling directory seems to be breaking
distcheck:
Making distclean in manual
make[3]: Entering directory '/.../dbus-glib-0.105/_build/sub/test/manual'
Makefile:409: ../core/.deps/my-object.Po: No such file or directory
make[3]: *** No rule to make target '../core/.deps/my-object.Po'. Stop.
|
|
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. [etc.]
|
|
|
|
|
|
|
|
Since GLib 2.32, which we now depend on, this is unnecessary.
|
|
This means we can assume that GLib and libdbus are thread-safe by
default.
Also explicitly document that the object-mapping layer of dbus-glib
is not thread-safe.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=64214
Reviewed-by: Colin Walters <walters@verbum.org>
[with review comments to be fixed in subsequent commit -smcv]
|
|
Part of a patch from Rafał Mużyło.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=58698
|
|
Part of a patch from Rafał Mużyło.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=58698
|
|
|
|
Part of a patch from Rafał Mużyło.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=58698
|
|
Part of a patch from Rafał Mużyło.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=58698
|
|
|
|
|
|
Automake-1.13 removed long obsolete AM_CONFIG_HEADER completely
<http://lists.gnu.org/archive/html/automake/2012-12/msg00038.html> and
errors out upon seeing it.
[commit message added -smcv]
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=59003
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
|
|
test-profile.c was its only use, and all it was used for was to listen
on an abstract or path-based socket, matching what D-Bus would do,
when obtaining comparative performance figures for D-Bus vs.
plain Unix sockets.
test-profile.c isn't normally run, only works on Unix, and
the check for abstract sockets was broken on current glibc (fd.o #29895),
leading to us using the non-abstract code path anyway, so this clearly
wasn't very important. I'm tempted to delete test-profile.c entirely,
but until then, let's just make it use path-based sockets.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40711
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Dan Williams <dcbw@redhat.com>
|
|
test-profile.c is not run by default anyway, and it hard-codes the use of Unix
sockets which isn't portable off Unix. If you have Unix sockets but not
/tmp, then your platform has worse problems than inability to run
all dbus-glib tests.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40711
Reviewed-by: Dan Williams <dcbw@redhat.com>
|
|
The command line is parsed early on anyway.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40711
Reviewed-by: Dan Williams <dcbw@redhat.com>
|
|
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40711
Reviewed-by: Dan Williams <dcbw@redhat.com>
|
|
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40711
Reviewed-by: Dan Williams <dcbw@redhat.com>
|
|
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40711
Reviewed-by: Dan Williams <dcbw@redhat.com>
|
|
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40711
Reviewed-by: Dan Williams <dcbw@redhat.com>
|
|
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40711
Reviewed-by: Dan Williams <dcbw@redhat.com>
|
|
|
|
|
|
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=41126
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
|
|
Most of this has been sitting in a branch since fd.o #30171; fixing
fd.o #40151, another case of library-user error leading to undefined
behaviour and a hard-to-diagnose crash, seems a good time to get this
merged.
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40151
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
|