- 05 Jan, 2023 2 commits
-
-
Ralf Habacker authored
Signed-off-by:
Ralf Habacker <ralf.habacker@freenet.de>
-
Ralf Habacker authored
Signed-off-by:
Ralf Habacker <ralf.habacker@freenet.de>
-
- 04 Jan, 2023 8 commits
-
-
Simon McVittie authored
meson: Declare dependency for use as a subproject See merge request dbus/dbus!368
-
Daniel Wagner authored
To make the consume libdbus via Meson's subproject use case more useful, introduce message_bus and tools command line options which control if the D-Bus daemon and/or the tools are build. The idea here is that depending projects are interested only in the library. The strong recommendation is only to build libdbus as static library: libdbus_dep = dependency( 'dbus-1', required: get_option('libdbus'), fallback: ['dbus', 'libdbus_dep'], default_options: [ 'default_library=static', 'embedded_tests=false', 'message_bus=false', 'modular_tests=disabled', 'tools=false', ], ) This ensures that any installed D-Bus infrastructure on the target system is not overwritten. Signed-off-by:
Daniel Wagner <dwagner@suse.de>
-
Daniel Wagner authored
Allow other Meson project to consume libdbus as subproject. For this we need to instantiate a dependency object. Signed-off-by:
Daniel Wagner <dwagner@suse.de>
-
Ralf Habacker authored
Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license See merge request dbus/dbus!375
-
Ralf Habacker authored
Thus it is identical with the other places.
-
Ralf Habacker authored
The full license texts are not added because they were already added in a previous commit. Signed-off-by:
Ralf Habacker <ralf.habacker@freenet.de> see #394
-
Ralf Habacker authored
_dbus_loop_iterate: `timeout` can be defined as int See merge request dbus/dbus!381
-
Xin Shi authored
all places where `timeout` is used can be represented as int. This MR is a response to issue #430. Signed-off-by:
Xin Shi <shixin21@huawei.com>
-
- 03 Jan, 2023 6 commits
-
-
Simon McVittie authored
Add SPDX license marker for the FSFULLR license See merge request dbus/dbus!376
-
The associated full license text was retrieved from https://spdx.org . Signed-off-by:
Ralf Habacker <ralf.habacker@freenet.de>
-
Simon McVittie authored
Permit access to /tmp dbus socket See merge request dbus/dbus!380
-
Dave Jones authored
After 6e48c317 the test-apparmor-activation test fails as it can no longer access the dbus socket in /tmp. This commit updates the apparmor profile used within the test
-
Ralf Habacker authored
socket_handle_watch: break when `found` is TRUE in server See merge request dbus/dbus!374
-
skip useless loop when `found` is TRUE. This MR is a response to issue #431. Signed-off-by:
Aiknow <shixin21@huawei.com>
-
- 30 Nov, 2022 2 commits
-
-
Simon McVittie authored
cleanup: Use gitlab URI for bug reporting See merge request dbus/dbus!372
-
Marco Trevisan authored
Bugzilla is dead for long time now.
-
- 29 Nov, 2022 20 commits
-
-
Simon McVittie authored
Statically assert some things we assume about pointers See merge request dbus/dbus!345
-
Simon McVittie authored
Like many relatively-low-level codebases, dbus has historically assumed that data pointers are interchangeable with function pointers (which is implied by POSIX and also true on Windows, but not guaranteed by ISO C). Before dbus!335 was merged, we also assumed that size_t is the same size as a pointer (which is frequently assumed, but not guaranteed by ISO C, and notably not true on CHERI). dbus!335 is believed to have removed all uses of that assumption. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This means we get the alignment comparisons even on non-gcc compilers. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Fix SPDX license reference in FindGLIB2 See merge request dbus/dbus!371
-
Simon McVittie authored
The `.txt` here was unnecessary. Fixes: d6abc1da "cmake: Add BSD-style licenses" Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Add missing license text for LGPL-2.1-or-later See merge request dbus/dbus!369
-
Simon McVittie authored
Fixes: 8c1d0f13 "dbus/dbus-backtrace-win.c: New file with backtrace generator for Windows" Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Fix some stray filename references for GPL-2.0-or-later See merge request dbus/dbus!370
-
Simon McVittie authored
The SPDX name for this license includes the `.0`. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ralf Habacker authored
Use 'continue' keyword in preference to 'goto' where possible See merge request dbus/dbus!356
-
In some more complicated loops, we do need to use 'goto' to exit from an inner loop, or to jump to cleanup or an increment of an iterator immediately before the next loop iteration. However, in these simple cases, jumping to a label immediately before the 'while' keyword is unnecessary: we can use an equivalent 'continue' statement for flow control. This makes it easier for maintainers to notice the loops where we are doing something more complicated, which still use 'goto', and know that they need to pay more attention in those cases. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ralf Habacker authored
Add SPDX licensing information for the uncommon licenses (not AFL-2.1|GPL-2.0+ and not MIT) See merge request dbus/dbus!311
-
Ralf Habacker authored
Signed-off-by:
Ralf Habacker <ralf.habacker@freenet.de>
-
I've erred on the side of caution and treated the COPYING-CMAKE-SCRIPTS license (a BSD-3-Clause variation) as its own distinct license. Co-authored-by:
Ralf Habacker <ralf.habacker@freenet.de> Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ralf Habacker authored
This file was added to simplify the license documentation, because the code moved from dbus-sysdeps-win.c is subject to a different license. Signed-off-by:
Ralf Habacker <ralf.habacker@freenet.de> [smcv: keep license grant; add to Meson build system] Co-authored-by:
Simon McVittie <smcv@collabora.com>
-
These files are licensed under the GPL only, without the AFL dual-license of most of the dbus codebase. Signed-off-by:
Simon McVittie <smcv@collabora.com> Co-authored-by:
Ralf Habacker <ralf.habacker@freenet.de>
-
This was probably meant to be relicensed from AFL-2.0 to AFL-2.1 at the same time as the rest of the codebase, but it wasn't. For now, just convert its documented license status into machine-readable form. The history of this file seems to be completely Red Hat and Collabora, so we should be able to relicense it to (AFL-2.1 OR GPL-2.0-or-later) or even to MIT, but let's start by making the stated license more obvious. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
The TCL-derived code is under its own license, so the overall license of the file is (AFL-2.1 OR GPL-2.0-or-later) AND TCL. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ralf Habacker authored
This permissive license does not appear to be a match for anything on the SPDX license list, so we need to use the LicenseRef- prefix for a custom license. Co-authored-by:
Simon McVittie <smcv@collabora.com>
-
Ralf Habacker authored
This permissive license does not appear to be a match for anything on the SPDX license list, so we need to use the LicenseRef- prefix for a custom license. It's referred to as GAP (presumably short for "GNU all-permissive") in https://sources.debian.org/src/libassuan/2.5.5-1/debian/copyright/ so use the same abbreviation here. Co-authored-by:
Simon McVittie <smcv@collabora.com>
-
- 14 Oct, 2022 1 commit
-
-
Simon McVittie authored
ci: build dbus with clang as well See merge request dbus/dbus!358
-
- 13 Oct, 2022 1 commit
-
-
Evgeny Vereshchagin authored
Unlike ASan, by default UBSan prints one-line warnings and keeps going and it makes it impossible for the CI to catch issues automatically when it runs the unit tests. With this patch applied the CI should be able to prevent issues like https://gitlab.freedesktop.org/smcv/dbus-issue413/-/merge_requests/1#note_1549306 from making it into the repository going forward. Signed-off-by:
Evgeny Vereshchagin <evvers@ya.ru>
-