summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-03-26Update bug reporting URLHEADmasterSimon McVittie1-1/+1
Signed-off-by: Simon McVittie <smcv@collabora.com>
2021-03-26Start 0.114 developmentSimon McVittie2-1/+6
Signed-off-by: Simon McVittie <smcv@collabora.com>
2021-03-26Release v0.112dbus-glib-0.112Simon McVittie2-3/+8
Fixes: #15 Signed-off-by: Simon McVittie <smcv@collabora.com>
2021-03-26Merge branch 'wip/smcv/assert-control' into 'master'Simon McVittie26-3/+27
test: Explicitly enable assertion macros Closes #16 See merge request dbus/dbus-glib!4
2021-03-26test: Explicitly enable assertion macrosSimon McVittie26-3/+27
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>
2021-03-26Merge branch 'wip/smcv/better-assertions' into 'master'Simon McVittie18-249/+249
Use better assertions See merge request dbus/dbus-glib!3
2021-03-26test: Replace remaining assertions with g_assert_true()Simon McVittie9-66/+66
Signed-off-by: Simon McVittie <smcv@collabora.com>
2021-03-26test: Replace remaining g_assert (!x) with g_assert_false (x)Simon McVittie3-6/+6
Signed-off-by: Simon McVittie <smcv@collabora.com>
2021-03-26test: Use g_assert_true, g_assert_false for comparisons with TRUE, FALSESimon McVittie2-10/+10
Signed-off-by: Simon McVittie <smcv@collabora.com>
2021-03-26test: Compare integers using g_assert_cmpint(), g_assert_cmpuint()Simon McVittie5-48/+48
Signed-off-by: Simon McVittie <smcv@collabora.com>
2021-03-26test: Compare strings with g_assert_cmpstr()Simon McVittie4-44/+44
Signed-off-by: Simon McVittie <smcv@collabora.com>
2021-03-26test: Replace g_assert (x == NULL) with g_assert_null (x)Simon McVittie3-16/+16
Signed-off-by: Simon McVittie <smcv@collabora.com>
2021-03-26test: Replace all g_assert (x != NULL) with g_assert_nonnull (x)Simon McVittie15-59/+59
This avoids the assertions being removed by G_DISABLE_ASSERT, and gives somewhat better diagnostic messages if the assertion fails. Signed-off-by: Simon McVittie <smcv@collabora.com>
2021-03-26CONTRIBUTING: Mention that dbus-gmain has its own contributing guideSimon McVittie1-0/+7
Signed-off-by: Simon McVittie <smcv@collabora.com>
2019-07-23.gitignore: UpdateSimon McVittie1-0/+6
Signed-off-by: Simon McVittie <smcv@collabora.com>
2019-07-23NEWS: UpdateSimon McVittie1-0/+6
Signed-off-by: Simon McVittie <smcv@collabora.com>
2019-07-23test-service: Don't close a shared connectionSimon McVittie1-13/+2
This is considered incorrect and causes a libdbus check failure. Signed-off-by: Simon McVittie <smcv@collabora.com>
2019-07-15Stop running CI on Debian 8 'jessie'Simon McVittie2-8/+0
It is no longer receiving mainstream security support. Signed-off-by: Simon McVittie <smcv@collabora.com>
2019-07-15Run CI on Debian 10 'buster' now that it's stableSimon McVittie2-4/+12
Signed-off-by: Simon McVittie <smcv@collabora.com>
2019-07-15Merge branch 'dbus-gmain'Simon McVittie9-2/+21
2019-07-15Add clearer licensing information using SPDX-License-IdentifierSimon McVittie9-2/+21
Signed-off-by: Simon McVittie <smcv@collabora.com>
2019-07-15Add clearer licensing information using SPDX-License-IdentifierSimon McVittie83-3/+224
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-12-17CI: Update from dbusSimon McVittie2-5/+21
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-12-17Remove the last vestiges of support for dbus 1.6 and Ubuntu 14.04Simon McVittie4-51/+10
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-12-03build: Make quoting more explicitSimon McVittie1-1/+1
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-12-03Require pkg-config 0.28, for PKG_PROG_PKG_CONFIGSimon McVittie3-2/+7
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-12-03Update NEWSSimon McVittie1-2/+47
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-12-03invoke_object_method: when demarshalling fails, use the right errorSimon McVittie3-9/+2
This replaces the inappropriate org.freedesktop.DBus.GLib.ErrorError with the intended error codes, affecting two tests. Signed-off-by: Simon McVittie <smcv@collabora.com> Resolves: https://gitlab.freedesktop.org/dbus/dbus-glib/issues/1
2018-12-03gerror_to_dbus_error_message: add support for remaining members of DBusGErrorSimon McVittie1-0/+42
Nobody updated this when we added these 15 new error codes. Signed-off-by: Simon McVittie <smcv@collabora.com> Bug: https://gitlab.freedesktop.org/dbus/dbus-glib/issues/1
2018-12-03Add a regression test for fd.o#80557Simon McVittie5-0/+346
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-12-03Fix double free for data.channelx002921021-0/+2
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2018-12-03buildsys: use variable for glib-genmarshalYann E. MORIN3-6/+6
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>
2018-10-19Merge branch 'master' into 'master'Simon McVittie3-25/+20
man page updates See merge request dbus/dbus-glib!1
2018-10-18Update dbus-binding-tool.1 man page to suggest using GDBus insteadAlan Coopersmith1-3/+16
v2: fix "dbus-codegen" typo Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-10-18Make dbus-binding-tool.1 man page less Solaris specificAlan Coopersmith3-22/+4
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>
2018-10-03Merge commit '99d9758d90a88b92fc8fcdb447aa7ab4abe1c1cb' from dbus-gmainSimon McVittie4-35/+122
2018-10-03Use Markdown for documentationSimon McVittie3-10/+12
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-10-03CONTRIBUTING: RewriteSimon McVittie1-12/+97
This resembles a similar change in dbus-glib. Much of the text here was taken from Wayland's contributing guide (thanks to Ander Conselvan de Oliveira, Bryce Harrington, Eric Engestrom, Pekka Paalanen and Daniel Stone). Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-10-03CONTRIBUTING.md: RewriteSimon McVittie1-49/+116
This file hadn't kept up with reality, and needs updating for Gitlab. Take the opportunity to rewrite it. Much of the text here was taken from Wayland's contributing guide (thanks to Ander Conselvan de Oliveira, Bryce Harrington, Eric Engestrom, Pekka Paalanen and Daniel Stone). Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-10-03Rename HACKING to CONTRIBUTING.mdSimon McVittie2-1/+1
This arranges for it to be displayed prominently on Gitlab. Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-10-03Add more deprecation commentsSimon McVittie3-2/+21
Not every doc-comment marked the documented thing as deprecated, but they all should, because the entire library is deprecated. Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-10-03ci: Test dbus-glib in Gitlab-CISimon McVittie1-0/+79
Now that dbus-glib is officially hosted on freedesktop.org Gitlab, we might as well use its built-in CI facilities. This recycles the scripts used on Travis-CI, with different parameters. Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-10-03ci: Consistently use wgetSimon McVittie1-1/+1
This avoids also needing to install curl, which isn't in default Ubuntu trusty Docker images. Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-10-03ci: Avoid dpkg warnings by installing gnome-common before autoconf-archiveSimon McVittie1-2/+3
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-10-03ci: Don't set DBUS_TEST_MALLOC_FAILURESSimon McVittie1-3/+0
This is a libdbus internal feature, and isn't used in dbus-glib. Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-10-03build: Move Autotools droppings into ./build-aux/Simon McVittie2-8/+3
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-10-03build: Enable assertions for distcheckSimon McVittie1-1/+1
Enabling tests but not assertions is fairly nonsensical, and in particular, recent versions of GLib make g_test_init() fail in this configuration, on the assumption that tests that do not report their failures are not useful. Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-10-03build: Stop including ChangeLog in source tarballsSimon McVittie2-19/+1
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>
2018-05-04Merge commit '8270955fa969d86ec4cdc036801a7798a4983baf'Simon McVittie1-2/+5
2018-05-04dbus-gmain: Ignore more generated filesSimon McVittie1-2/+5
Signed-off-by: Simon McVittie <smcv@collabora.com> (cherry picked from commit f78b1afbc01efbe58eff8d3fe5040733124027d5)