summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * CMake: Set IMPORTED_IMPLIB propertyJulien Schueller2021-11-181-0/+1
|/ | | | | Setting this property allows to fix linking to the imported target with MinGW. This only happens when dbus is built using autotools, when cmake is used the DBus1Config.variant.in is configured and the automatically exported target by cmake is fine.
* Merge branch 'cmake-build-fixes' into 'master'Simon McVittie2021-11-183-11/+41
|\ | | | | | | | | cmake: various variable corrections defined in the generated config.h See merge request dbus/dbus!217
| * cmake: Separate setting compiler warnings between C and CXXRalf Habacker2021-11-181-8/+12
| | | | | | | | | | This is necessary because different warnings are restricted to one compiler variant.
| * Add HAVE_DECL_xxx checks to cmake build systemRalf Habacker2021-11-182-0/+6
| | | | | | | | | | | | | | The first two definitions are required to fix cmake build error when compiling with -Werror=undef on Windows. The last one completes having HAVE_DECL_xxx definitions.
| * Move _GNU_SOURCE to config.h.cmakeRalf Habacker2021-11-182-1/+6
| |
| * Move DBUS_BUILT_R_DYNAMIC to config.h.cmakeRalf Habacker2021-11-182-1/+4
| |
| * Fix definition of HAVE_SOCKLEN_TRalf Habacker2021-11-181-1/+1
| |
| * Add configure checks for vsnprintf and vasprintf to cmake build systemRalf Habacker2021-11-182-0/+6
| |
| * cmake: take over some fatal warnings from autotoolsRalf Habacker2021-11-181-1/+7
|/ | | | | Adopt various fatal warnings from the autotools build system to see corresponding build errors also in cmake.
* Merge branch 'davidre-master-patch-89698' into 'master'Simon McVittie2021-11-181-0/+1
|\ | | | | | | | | Put dbus-daemon into session slice See merge request dbus/dbus!219
| * Put dbus-daemon into session sliceDavid Redondo2021-11-181-0/+1
|/ | | | | | | | | | | | The session slice and the app and background slices are special slices defined by https://systemd.io/DESKTOP_ENVIRONMENTS/, where: session.slice: Contains only processes essential to run the user’s graphical session app.slice: Contains all normal applications that the user is running This allows users or sysadmins to control resource allocation depending on the type of the service. Since v249 (https://github.com/systemd/systemd/commit/23dce98e89616092007005692a4574ab908db5a6) systemd puts user services into the app slice by default so dbus needs to manually state that it belongs in the session slice.
* Merge branch 'fix-319' into 'master'Ralf Habacker2021-11-182-1/+1
|\ | | | | | | | | | | | | cmake: fix find_package related naming mismatch for GLIB2 Closes #319 See merge request dbus/dbus!216
| * cmake: fix find_package related naming mismatch for GLIB2Ralf Habacker2021-11-102-1/+1
|/ | | | | | | | The package name passed to `find_package_handle_standard_args` (GLIB2) did not match the name of the calling package (GLib2). This could lead to problems when calling code that expects `find_package`. result variables (e.g. `_FOUND`) expect to follow a certain pattern. fixes #319
* Merge branch 'fix-spec' into 'master'Simon McVittie2021-11-091-10/+20
|\ | | | | | | | | | | | | spec: Clean up use of the term for an array of dict entries Closes #347 See merge request dbus/dbus!215
| * Clean up use of the term for an array of dict entriesRalf Habacker2021-11-091-8/+18
| | | | | | | | | | | | fixes #347 Signed-off-by: Ralf Habacker <ralf.habacker@freenet.de>
| * Start spec 0.37 developmentRalf Habacker2021-11-081-2/+2
|/
* Merge branch 'get-machine-id' into 'master'Simon McVittie2021-10-291-0/+18
|\ | | | | | | | | Specify what ID GetMachineId actually returns See merge request dbus/dbus!198
| * Describe where machine ID comes fromThomas Kluyver2021-10-291-0/+18
|/
* Merge branch 'test-memleak' into 'master'Simon McVittie2021-10-291-0/+2
|\ | | | | | | | | test/thread-blocking.c: Fix a memory leak See merge request dbus/dbus!208
| * test/thread-blocking.c: Fix a memory leakDavid King2021-10-291-0/+2
|/ | | | | | Free name inside the for loop. Found by Coverity. Bug-RedHat: https://bugzilla.redhat.com/show_bug.cgi?id=1938701
* Merge branch 'cmake-format-fixes' into 'master'Simon McVittie2021-10-292-11/+32
|\ | | | | | | | | CMake-format fixes See merge request dbus/dbus!213
| * Apply cmake formatting rulesRalf Habacker2021-10-251-1/+1
| |
| * tools/cmake-format: fix sed warning `Expression #1, char 25: unknown option ↵Ralf Habacker2021-10-251-1/+1
| | | | | | | | for »s«` in --all mode
| * tools/cmake-format: add support to use custom source root directoryRalf Habacker2021-10-251-9/+30
|/
* Merge branch 'dbus-send-validate' into 'master'Simon McVittie2021-07-191-2/+39
|\ | | | | | | | | | | | | dbus-send: Do more syntax validation Closes #338 See merge request dbus/dbus!211
| * dbus-send: Validate interface, member names before useSimon McVittie2021-06-211-2/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of a failed check or assertion failure and a core dump, let's produce an error message on stderr and a graceful nonzero exit status. It's still not going to *work*, but at least we can avoid crashing. $ dbus-send / com.example.Nope..Nope Interface name was not valid: 'com.example.Nope.' $ dbus-send / com.example.Nope.0 Invalid signal name: Member name was not valid: '0' Resolves: dbus#338 Signed-off-by: Simon McVittie <smcv@collabora.com>
| * dbus-send: Print an error message if object path is syntactically invalidSimon McVittie2021-06-211-0/+7
|/ | | | | | | | | $ dbus-send // nope Object path was not valid: '//' Related to dbus#338. Signed-off-by: Simon McVittie <smcv@collabora.com>
* Merge branch 'spec-correction' into 'master'Zeeshan Ali2021-03-161-1/+21
|\ | | | | | | | | Add a few clarifications to the spec See merge request dbus/dbus!203
| * spec: Clarify Array element needs to be padded even if inexistentZeeshan Ali2021-03-101-1/+3
| |
| * spec: Clarify that Variant's value needs paddingZeeshan Ali2021-03-101-0/+18
|/
* Merge branch 'ci' into 'master'Simon McVittie2021-01-131-13/+14
|\ | | | | | | | | ci: bump msys2 deps, fix broken links See merge request dbus/dbus!201
| * ci: bump msys2 deps, fix broken linksMarc-André Lureau2021-01-131-13/+14
|/ | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
* Reference CVE-2020-35512 in NEWSSimon McVittie2021-01-071-1/+1
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Merge branch 'cmake-add-unit-test-macro' into 'master'Ralf Habacker2020-12-111-47/+57
|\ | | | | | | | | cmake: add macro add_unit_test to reduce code duplication See merge request dbus/dbus!196
| * cmake: add macro add_unit_test to reduce code duplicationRalf Habacker2020-11-261-47/+57
|/ | | | | This macro is now used by add_test_executable and add_session_test_executable.
* Merge branch 'ci-dependency-fixes' into 'master'Ralf Habacker2020-11-243-95/+152
|\ | | | | | | | | Cleanup package installation on CI See merge request dbus/dbus!187
| * tools/ci-install.sh: Use package=() style for local package list to avoid ↵Ralf Habacker2020-11-241-13/+14
| | | | | | | | '\' notation
| * On CI use common install prefix named 'dep_prefix' for installing local packagesRalf Habacker2020-11-243-44/+64
| | | | | | | | | | | | With this commit a new variable 'ci_local_packages' has been introduced to have a choice for using development packages from a local installation or from the distribution.
| * tools/ci-build.sh: Clean up directories from possible previous buildsRalf Habacker2020-11-241-2/+6
| | | | | | | | | | Otherwise, ci-build.sh cannot be executed on a local system if there are previous runs.
| * tools/ci-install.sh: merge multiple calls to apt-getRalf Habacker2020-11-241-78/+98
| | | | | | | | | | | | | | | | | | This required a reorganization of the steps that had been carried out. The new order is: 1. install packages with apt-get 2. create user for build if required 3. fetch and unpack tar balls 4. create messagebus user
| * Move installing packages into tools/ci-install.shRalf Habacker2020-11-242-24/+36
|/ | | | | In tools/ci-build.sh the cross compile setup has to be moved further up to match the correct subdirectory.
* Merge branch 'misc-windows-fixes' into 'master'Simon McVittie2020-11-231-1/+12
|\ | | | | | | | | sysdeps-win: Expand/fix verbose logging See merge request dbus/dbus!193
| * _dbus_poll_select (): fix concating multiple verbose linesRalf Habacker2020-11-231-1/+1
| |
| * Add verbose info to publishing session bus related functionsRalf Habacker2020-11-231-0/+11
|/ | | | This is useful for tracking auto launch support in dbus-daemon.
* Merge branch 'update-selinux-auditing' into 'master'Simon McVittie2020-11-231-3/+27
|\ | | | | | | | | bus/selinux: Fix audit message types. See merge request dbus/dbus!173
| * bus/selinux: Fix audit message types.Chris PeBenito2020-11-231-3/+27
|/ | | | | | | | | | | | | The SELinux log callback includes a message type. Not all messages are auditable and those that are have varying audit types. An audit message is a security-relevant event: security state changes, MAC permission denied, etc. A message that is auditable is not necessarily sensitive. Messages that are not auditable are not security-relevant, like messages about socket polling errors. Update the auditing accordingly. If the message is not auditable, fall through and write it to syslog. Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
* Merge branch 'travis-ci-cleanup' into 'master'Simon McVittie2020-11-232-53/+0
|\ | | | | | | | | Drop unused travis CI configuration files See merge request dbus/dbus!197
| * Drop unused travis CI configuration filesRalf Habacker2020-11-162-53/+0
|/
* Merge branch 'bug/NEWS-machine-id-paths' into 'master'Simon McVittie2020-11-091-3/+3
|\ | | | | | | | | NEWS: Add missing directory 'lib' to three paths See merge request dbus/dbus!182
| * NEWS: Add missing directory 'lib' to three pathsSamy Mahmoudi2020-11-061-3/+3
|/ | | | | Since ${localstatedir}/dbus should be ${localstatedir}/lib/dbus, insert the missing directory 'lib' into the three erroneous paths.