dbus-glib merge requestshttps://gitlab.freedesktop.org/dbus/dbus-glib/-/merge_requests2022-09-05T09:37:02Zhttps://gitlab.freedesktop.org/dbus/dbus-glib/-/merge_requests/6Add Meson build system, etc.2022-09-05T09:37:02ZSimon McVittieAdd Meson build system, etc.Simon McVittieSimon McVittiehttps://gitlab.freedesktop.org/dbus/dbus-glib/-/merge_requests/5Fix bash completion and its helper2022-03-04T16:00:04ZKoki FukudaFix bash completion and its helperCurrent completion for `dbus-send` fails to complete word, and says `error`.
This merge request fixes error in completion script causing this error.
Furthermore, the helper program SEGVs if completing bus is inaccessible.
This MR also f...Current completion for `dbus-send` fails to complete word, and says `error`.
This merge request fixes error in completion script causing this error.
Furthermore, the helper program SEGVs if completing bus is inaccessible.
This MR also fixes this issue.
(You would be able to reproduce this issue by completing `org.bluez.mesh` service in
system bus on a system with offline Bluetooth.)https://gitlab.freedesktop.org/dbus/dbus-glib/-/merge_requests/4test: Explicitly enable assertion macros2021-03-26T14:03:08ZSimon McVittietest: Explicitly enable assertion macrosTo 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.
W...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: #16https://gitlab.freedesktop.org/dbus/dbus-glib/-/merge_requests/3Use better assertions2021-03-26T13:47:24ZSimon McVittieUse better assertionsThis avoids the assertions being removed by G_DISABLE_ASSERT, and gives
somewhat better diagnostic messages if the assertion fails.
Note that in the files in `dbus/`, ordinary runtime assertions are deliberately not replaced. The only a...This avoids the assertions being removed by G_DISABLE_ASSERT, and gives
somewhat better diagnostic messages if the assertion fails.
Note that in the files in `dbus/`, ordinary runtime assertions are deliberately not replaced. The only assertions replaced here are in the extra code that gets built into the library by `--enable-tests`.
* test: Replace all g_assert (x != NULL) with g_assert_nonnull (x)
* test: Replace g_assert (x == NULL) with g_assert_null (x)
* test: Compare strings with g_assert_cmpstr()
* test: Compare integers using g_assert_cmpint(), g_assert_cmpuint()
* test: Use g_assert_true, g_assert_false for comparisons with TRUE, FALSE
* test: Replace remaining g_assert (!x) with g_assert_false (x)
* test: Replace remaining assertions with g_assert_true()
Related to #16.Simon McVittieSimon McVittiehttps://gitlab.freedesktop.org/dbus/dbus-glib/-/merge_requests/2buildsys: use variable for glib-genmarshal2018-12-03T15:26:40ZYann E. MORINbuildsys: use variable for glib-genmarshalWhen 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).
Rather than hard-code calls to @GLIB_GENMARSHAL@, let's use the variable
$(GLI...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).
Rather than hard-code calls to @GLIB_GENMARSHAL@, let's use the variable
$(GLIB_GENMARSHAL) instead, as it is substituted with autoconf's
AC_SUBST(GLIB_GENMARSHAL).
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>https://gitlab.freedesktop.org/dbus/dbus-glib/-/merge_requests/1man page updates2018-10-19T11:10:48ZAlan Coopersmithman page updatesThe first patch upstreams the generic portions of https://github.com/oracle/solaris-userland/blob/60ead572067e5fe89f8f3a8226ae712cfaf5b2c8/components/desktop/dbus-glib/patches/dbus-glib-02-manpage.patch with some tweaks to make it more g...The first patch upstreams the generic portions of https://github.com/oracle/solaris-userland/blob/60ead572067e5fe89f8f3a8226ae712cfaf5b2c8/components/desktop/dbus-glib/patches/dbus-glib-02-manpage.patch with some tweaks to make it more generic (@PACKAGE_STRING@ instead of Solaris 11.4, @bindir@ instead of our bindir, etc.)
The second patch takes the notice from the README file and adds it to the the man page with some added text to point people in the right direction for that particular tool.