summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* service: Add a systemd unit for D-Bus activationwip/smcv/systemd-unitSimon McVittie2020-12-045-0/+33
| | | | | | | | | | | | | | | | On systems using systemd --user and dbus-daemon --session --systemd-activation, this means that dconf is correctly placed in its own cgroup, instead of being part of dbus.service's cgroup. This allows it to be controlled by systemctl --user, have resource limits set and so on. On other systems (in particular those where systemd is not used at all), the SystemdService field is ignored and dbus-daemon will continue to start dconf-service as its own child process ("traditional activation"), making this change harmless to apply. Resolves: https://gitlab.gnome.org/GNOME/dconf/-/issues/24 Signed-off-by: Simon McVittie <smcv@collabora.com>
* Merge branch 'increment/0.39.1' into 'master'Daniel Playfair Cal2020-09-131-1/+1
|\ | | | | | | | | Increment version number for 0.39 unstable series See merge request GNOME/dconf!62
| * increment version number following 0.38.0 releaseDaniel Playfair Cal2020-09-131-1/+1
|/
* Merge branch 'release/0.38.0' into 'master'0.38.0Daniel Playfair Cal2020-09-132-1/+7
|\ | | | | | | | | Release 0.38.0 See merge request GNOME/dconf!61
| * update NEWS file for 0.38.0 releaseDaniel Playfair Cal2020-09-131-0/+6
| |
| * Increment version number for 0.38.0 releaseDaniel Playfair Cal2020-09-131-1/+1
|/
* bin/completion/dconf: Add compile to autocompleteAndreas Polnas2020-07-151-2/+2
| | | | | | | | | | | | | | | While working with Dconf I noticed in the bash CLI I was unable to autocomplete when typing "dconf compile" This fix will make it so the user is able to auto complete the compile option in bash. I have tested it on my Manjaro and PopOS! machines and it's working expected. As this is my first contribution please look twice so I have not missed anything. Signed-off-by: Andreas Polnas <andreas.polnas93@hotmail.com>
* Merge branch 'wip/jtojnar/bash-completion-prefix' into 'master'Daniel Playfair Cal2020-05-041-2/+6
|\ | | | | | | | | build: Install bash-completion relative to datadir See merge request GNOME/dconf!58
| * build: Install bash-completion relative to datadirJan Tojnar2020-04-161-2/+6
|/ | | | | | | | | | | | | | Since bash-completion 2.9, it was no longer possible to override the completionsdir through prefix. [1] In 2.10, the overridability was re-estabilished but this time through datadir variable. [2] This should not really matter except for developers installing the project into a custom prefix or distros using per-package prefixes like NixOS. [1]: https://github.com/scop/bash-completion/commit/81ba2c7e7dfbaefbafa1e8615727c9612e5fb314 [2]: https://github.com/scop/bash-completion/pull/344 Co-Authored-By: Iñigo Martínez <inigomartinez@gmail.com>
* Increment version number following 0.36 releaseMarek Kasik2020-03-101-1/+1
|
* Prepare 0.36 release0.36.0dconf-0.36Marek Kasik2020-03-102-1/+6
|
* Merge branch 'prepare/0.35.1' into 'master'Daniel Playfair Cal2020-01-062-1/+14
|\ | | | | | | | | Release 0.35.1 See merge request GNOME/dconf!57
| * Increment version number post 0.35.1 releaseDaniel Playfair Cal2020-01-061-1/+1
| |
| * Update NEWS for 0.35.1 release0.35.1Daniel Playfair Cal2020-01-061-0/+13
|/
* Merge branch 'patch/service-check' into 'master'Daniel Playfair Cal2019-12-306-26/+449
|\ | | | | | | | | Service: only emit changed signals when values change See merge request GNOME/dconf!3
| * Service: avoid redundant writes even after other non redundant writes have ↵Daniel Playfair Cal2019-12-293-2/+69
| | | | | | | | succeeded
| * Service: add tests exercising new functionality to avoid redundant writesDaniel Playfair Cal2019-12-291-0/+139
| |
| * Changeset: factor out some memory management from test_filter_changesDaniel Playfair Cal2019-12-291-56/+27
| |
| * Changeset: make dconf_changeset_filter_changes filter out key/path resets ↵Daniel Playfair Cal2019-12-292-17/+90
| | | | | | | | when appropriate
| * Service: Add unit tests for dconf_changeset_filter_changesDaniel Playfair Cal2019-12-291-0/+126
| |
| * Service: filter changesets when performing writes such that changed events ↵Daniel Playfair Cal2019-12-293-25/+72
|/ | | | are only emitted if new values differ from existing values
* Merge branch 'diegoe_fix-meson-0.52' into 'master'Daniel Playfair Cal2019-11-071-1/+1
|\ | | | | | | | | | | | | build: Update use of link_whole for meson-0.52 Closes #59 See merge request GNOME/dconf!54
| * build: Update use of link_whole for meson-0.52Diego Escalante Urrelo2019-11-061-1/+1
|/ | | | | | | | | | | | | A regression in meson-0.52 caused uses of link_whole to expose scenarios where duplicate symbols issues could appear. In particular libdconf_client_dep was being link_whole'd to itself, which recursively already included libdconf_common which was also a link_whole. This change does not modify the available symbols in libdconf.so, and is compatible with meson-0.52 and 0.51. See: https://github.com/mesonbuild/meson/pull/6030 Fixes: https://gitlab.gnome.org/GNOME/dconf/issues/59
* gsettings: Update abicheck.sh scriptDiego Escalante Urrelo2019-11-051-1/+23
| | | | | | | | | | | gcc-9 is including `mangle_path` in the symbols of gsettings/libdconfsettings.so when building with support for gcov (--coverage). This means that our ignored symbols had to be updated. Update abicheck.sh so the test suite passes again. Also include a comment to explain the above and how the test works. Fixes: https://gitlab.gnome.org/GNOME/dconf/issues/60
* build: Drop redundant `install` key from `configure_file()`Philip Withnall2019-11-051-1/+0
| | | | | | | | | When `install_dir` is set, `install` defaults to true, so there’s no need to set it manually. This fixes a Meson warning. Signed-off-by: Philip Withnall <withnall@endlessm.com> Closes: #57
* Increment version number following 0.34 releaseDaniel Playfair Cal2019-09-101-1/+1
|
* Prepare 0.34 release0.34.0dconf-0.34Daniel Playfair Cal2019-09-101-1/+1
|
* Increment version number following 0.33.2 releaseDaniel Playfair Cal2019-08-201-1/+1
|
* Update NEWS for 0.33.2 release0.33.2Daniel Playfair Cal2019-08-201-0/+6
|
* Merge branch 'fix-dbus-leaks' into 'master'Daniel Playfair Cal2019-08-157-74/+246
|\ | | | | | | | | Fix dbus leaks See merge request GNOME/dconf!51
| * gdbus: Unref cached GDBusConnection objects when the connection is closedAndre Moreira Magalhaes2019-08-075-57/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes the dbus-leak tests by dropping the cached GDBusConnection objects references when the bus connection is closed. The issue was introduced with recent changes made to GLib[1] where invoking g_test_dbus_down() will fail after a timeout if the GDBusConnection object for the session bus leaks. Given g_test_dbus_down() will first close the connection before checking for leaks unreffing the object when the connection is closed should fix the issue. [1] https://gitlab.gnome.org/GNOME/glib/merge_requests/963 Signed-off-by: Andre Moreira Magalhaes <andre@endlessm.com>
| * gdbus/thread: Always copy GError on gettersAndre Moreira Magalhaes2019-07-241-13/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | This change should guarantee that the object is valid while in use. The change is part of a series of changes to fix an issue introduced with recent changes made to GLib[1] where invoking g_test_dbus_down() will fail after a timeout if the GDBusConnection object for the session bus leaks. [1] https://gitlab.gnome.org/GNOME/glib/merge_requests/963 Signed-off-by: Andre Moreira Magalhaes <andre@endlessm.com>
| * gdbus/thread: Always ref GDBusConnection on gettersAndre Moreira Magalhaes2019-07-241-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | This change should guarantee that the object is valid while in use. The change is part of a series of changes to fix an issue introduced with recent changes made to GLib[1] where invoking g_test_dbus_down() will fail after a timeout if the GDBusConnection object for the session bus leaks. [1] https://gitlab.gnome.org/GNOME/glib/merge_requests/963 Signed-off-by: Andre Moreira Magalhaes <andre@endlessm.com>
| * tests: Add new test to check GDBusConnection leaksAndre Moreira Magalhaes2019-07-242-0/+47
|/ | | | | | | | | | | | | With recent changes made to GLib[1] invoking g_test_dbus_down() will fail after a timeout if the GDBusConnection object for the session bus leaks. Note that this new test will fail as the current code will leak a cached GDBusConnection. Fixes will be added in follow-up patches. [1] https://gitlab.gnome.org/GNOME/glib/merge_requests/963 Signed-off-by: Andre Moreira Magalhaes <andre@endlessm.com>
* Merge branch 'increment/0.33.1' into 'master'Daniel Playfair Cal2019-07-151-1/+1
|\ | | | | | | | | Increment version after 0.33.1 release See merge request GNOME/dconf!50
| * Increment version to 0.33.2 following 0.33.1 releaseDaniel Playfair Cal2019-07-151-1/+1
| |
* | Merge branch 'changelog/0.33.1' into 'master'0.33.1Daniel Playfair Cal2019-07-151-0/+8
|\ \ | |/ | | | | | | Update NEWS file for 0.33.1 release See merge request GNOME/dconf!49
| * Update NEWS file for 0.33.1 releaseDaniel Playfair Cal2019-07-151-0/+8
|/
* Merge branch 'wip/lantw/use-weak-symbols-in-gvdb' into 'master'Daniel Playfair Cal2019-07-086-25/+44
|\ | | | | | | | | | | | | build: Use weak bindings in gvdb to fix linking with LLD Closes #47 See merge request GNOME/dconf!28
| * build: Define GVDB_USE_WEAK_SYMBOLS to use weak bindings in gvdbTing-Wei Lan2019-07-064-9/+10
| | | | | | | | | | | | | | Fix linking with LLD by using weak symbols in gvdb, and update dconf code to make it compatible with gvdb upstream changes. Fixes https://gitlab.gnome.org/GNOME/dconf/issues/47
| * Merge remote-tracking branch 'gvdb/master'Ting-Wei Lan2019-07-062-16/+34
| |\ |/ /
| * Merge branch 'wip/lantw/use-weak-symbols-in-gvdb' into 'master'Michael Catanzaro2018-11-211-10/+25
| |\ | | | | | | | | | | | | | | | | | | build: Use weak bindings in gvdb to fix linking with LLD Closes dconf#47 See merge request GNOME/gvdb!2
| | * build: Use weak bindings in gvdb to fix linking with LLDTing-Wei Lan2018-11-221-10/+25
| |/ | | | | | | | | | | | | | | | | Since tests/dconf-mock-gvdb.c has functions conflicting with the real gvdb and it is intended for the former to override the latter in tests, we have to make functions in gvdb library have weak bindings instead of the default strong bindings to avoid duplicate symbol errors. Fixes https://gitlab.gnome.org/GNOME/dconf/issues/47
| * Merge branch '1454-follow-ups' into 'master'Georges Basile Stavracas Neto2018-08-162-6/+9
| |\ | | | | | | | | | | | | Minor API fixes See merge request GNOME/gvdb!1
| | * Preallocate a GPtrArray to avoid some reallocations later onPhilip Withnall2018-08-161-1/+1
| | | | | | | | | | | | | | | | | | Suggested by Georges Basile Stavracas Neto. Signed-off-by: Philip Withnall <withnall@endlessm.com>
| | * Fix type of length returned by gvdb_table_get_names()Philip Withnall2018-08-162-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It should not be unsigned. The type in the on-disk format is gint32, so we need to return something at least as wide as that. However, we should not expose the implementation detail that the on-disk format is specifically gint32. Use a gsize, since that’s the normal type for array lengths — but check that we’re not on a platform where (somehow) gsize is smaller than gint32. Signed-off-by: Philip Withnall <withnall@endlessm.com>
| | * Add missing introspection annotations to gvdb_table_get_names()Philip Withnall2018-08-161-2/+2
| |/ | | | | | | Signed-off-by: Philip Withnall <withnall@endlessm.com>
* | writer: factor out a common methodCosimo Cecchi2019-05-091-20/+21
| | | | | | | | | | | | Factor out a common method to route completion of DBus methods through. Helps: #29
* | Increment version to 0.33.1Marek Kasik2019-03-111-1/+1
| |
* | Merge branch 'prepare-0.32.0' into 'master'Marek Kašík2019-03-111-0/+5
|\ \ | | | | | | | | | | | | Prepare 0.32.0 release See merge request GNOME/dconf!48