summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update bug reporting URLHEADmasterSimon McVittie2021-03-261-1/+1
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Start 0.114 developmentSimon McVittie2021-03-262-1/+6
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Release v0.112dbus-glib-0.112Simon McVittie2021-03-262-3/+8
| | | | | Fixes: #15 Signed-off-by: Simon McVittie <smcv@collabora.com>
* Merge branch 'wip/smcv/assert-control' into 'master'Simon McVittie2021-03-2626-3/+27
|\ | | | | | | | | | | | | test: Explicitly enable assertion macros Closes #16 See merge request dbus/dbus-glib!4
| * test: Explicitly enable assertion macrosSimon McVittie2021-03-2626-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>
* Merge branch 'wip/smcv/better-assertions' into 'master'Simon McVittie2021-03-2618-249/+249
|\ | | | | | | | | Use better assertions See merge request dbus/dbus-glib!3
| * test: Replace remaining assertions with g_assert_true()Simon McVittie2021-03-269-66/+66
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * test: Replace remaining g_assert (!x) with g_assert_false (x)Simon McVittie2021-03-263-6/+6
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * test: Use g_assert_true, g_assert_false for comparisons with TRUE, FALSESimon McVittie2021-03-262-10/+10
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * test: Compare integers using g_assert_cmpint(), g_assert_cmpuint()Simon McVittie2021-03-265-48/+48
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * test: Compare strings with g_assert_cmpstr()Simon McVittie2021-03-264-44/+44
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * test: Replace g_assert (x == NULL) with g_assert_null (x)Simon McVittie2021-03-263-16/+16
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * test: Replace all g_assert (x != NULL) with g_assert_nonnull (x)Simon McVittie2021-03-2615-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>
* CONTRIBUTING: Mention that dbus-gmain has its own contributing guideSimon McVittie2021-03-261-0/+7
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* .gitignore: UpdateSimon McVittie2019-07-231-0/+6
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* NEWS: UpdateSimon McVittie2019-07-231-0/+6
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* test-service: Don't close a shared connectionSimon McVittie2019-07-231-13/+2
| | | | | | This is considered incorrect and causes a libdbus check failure. Signed-off-by: Simon McVittie <smcv@collabora.com>
* Stop running CI on Debian 8 'jessie'Simon McVittie2019-07-152-8/+0
| | | | | | It is no longer receiving mainstream security support. Signed-off-by: Simon McVittie <smcv@collabora.com>
* Run CI on Debian 10 'buster' now that it's stableSimon McVittie2019-07-152-4/+12
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Merge branch 'dbus-gmain'Simon McVittie2019-07-159-2/+21
|\
| * Add clearer licensing information using SPDX-License-IdentifierSimon McVittie2019-07-159-2/+21
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Add clearer licensing information using SPDX-License-IdentifierSimon McVittie2019-07-1583-3/+224
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | CI: Update from dbusSimon McVittie2018-12-172-5/+21
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Remove the last vestiges of support for dbus 1.6 and Ubuntu 14.04Simon McVittie2018-12-174-51/+10
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | build: Make quoting more explicitSimon McVittie2018-12-031-1/+1
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Require pkg-config 0.28, for PKG_PROG_PKG_CONFIGSimon McVittie2018-12-033-2/+7
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Update NEWSSimon McVittie2018-12-031-2/+47
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | invoke_object_method: when demarshalling fails, use the right errorSimon McVittie2018-12-033-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
* | gerror_to_dbus_error_message: add support for remaining members of DBusGErrorSimon McVittie2018-12-031-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
* | Add a regression test for fd.o#80557Simon McVittie2018-12-035-0/+346
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Fix double free for data.channelx002921022018-12-031-0/+2
| | | | | | | | Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
* | buildsys: use variable for glib-genmarshalYann E. MORIN2018-12-033-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>
* | Merge branch 'master' into 'master'Simon McVittie2018-10-193-25/+20
|\ \ | | | | | | | | | | | | man page updates See merge request dbus/dbus-glib!1
| * | Update dbus-binding-tool.1 man page to suggest using GDBus insteadAlan Coopersmith2018-10-181-3/+16
| | | | | | | | | | | | | | | | | | v2: fix "dbus-codegen" typo Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
| * | Make dbus-binding-tool.1 man page less Solaris specificAlan Coopersmith2018-10-183-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>
* | Merge commit '99d9758d90a88b92fc8fcdb447aa7ab4abe1c1cb' from dbus-gmainSimon McVittie2018-10-034-35/+122
|\ \ | |/
| * Use Markdown for documentationSimon McVittie2018-10-033-10/+12
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * CONTRIBUTING: RewriteSimon McVittie2018-10-031-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>
* | CONTRIBUTING.md: RewriteSimon McVittie2018-10-031-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>
* | Rename HACKING to CONTRIBUTING.mdSimon McVittie2018-10-032-1/+1
| | | | | | | | | | | | This arranges for it to be displayed prominently on Gitlab. Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Add more deprecation commentsSimon McVittie2018-10-033-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>
* | ci: Test dbus-glib in Gitlab-CISimon McVittie2018-10-031-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>
* | ci: Consistently use wgetSimon McVittie2018-10-031-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>
* | ci: Avoid dpkg warnings by installing gnome-common before autoconf-archiveSimon McVittie2018-10-031-2/+3
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | ci: Don't set DBUS_TEST_MALLOC_FAILURESSimon McVittie2018-10-031-3/+0
| | | | | | | | | | | | This is a libdbus internal feature, and isn't used in dbus-glib. Signed-off-by: Simon McVittie <smcv@collabora.com>
* | build: Move Autotools droppings into ./build-aux/Simon McVittie2018-10-032-8/+3
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | build: Enable assertions for distcheckSimon McVittie2018-10-031-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>
* | build: Stop including ChangeLog in source tarballsSimon McVittie2018-10-032-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>
* | Merge commit '8270955fa969d86ec4cdc036801a7798a4983baf'Simon McVittie2018-05-041-2/+5
|\ \ | |/
| * dbus-gmain: Ignore more generated filesSimon McVittie2018-05-041-2/+5
| | | | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com> (cherry picked from commit f78b1afbc01efbe58eff8d3fe5040733124027d5)