summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
| * | Prepare 0.32.0 release0.32.0Marek Kasik2019-03-111-0/+5
|/ /
* | Increment version to 0.32.0Marek Kasik2019-03-071-1/+1
| |
* | Merge branch 'prepare-0.31.92' into 'master'Marek Kašík2019-03-072-1/+17
|\ \ | | | | | | | | | | | | Prepare 0.31.92 release See merge request GNOME/dconf!47
| * | Prepare 0.31.92 release0.31.92Marek Kasik2019-03-072-1/+17
|/ /
* | Merge branch 'env' into 'master'Daniel Playfair Cal2019-02-261-2/+2
|\ \ | | | | | | | | | | | | tests: Avoid using real system bus during tests See merge request GNOME/dconf!45
| * | tests: Avoid using real system bus during testsTomasz Miąsko2019-02-251-2/+2
|/ / | | | | | | | | | | | | | | | | | | | | When a bus address is unset the default value will be used. While the session bus address is overwritten during tests, this not the case for system bus. Use empty invalid addresses as a safer default to avoid accidental connections to the external buses. Issue #51.
* | Merge branch 'fix-shm-test-modules' into 'master'Daniel Playfair Cal2019-02-1211-23/+196
|\ \ | | | | | | | | | | | | Tests: remove bug prone usage of dlsym and RTDL_NEXT See merge request GNOME/dconf!37
| * | Tests: replace usage of dlsym with separate modules containing functions ↵Daniel Playfair Cal2019-02-1211-29/+196
| | | | | | | | | | | | that need to be mocked out
| * | tests: shm: fix pwrite wrapper with -D_FILE_OFFSET_BITS=64Ben Wolsieffer2019-02-121-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | Due to the hacks used for large file support, wrapping pwrite is error prone and can end up calling the wrong function. Currently, "pwrite" is called instead of "pwrite64" on 32-bit ARM, causing the test to fail. This commit attempts to determine the correct symbol to call from the wrapper.
* | | Merge branch 'ignore-non-writable' into 'master'Daniel Playfair Cal2019-02-123-16/+70
|\ \ \ | |/ / |/| | | | | | | | | | | | | | bin: Add an option to ignore changes to locked keys during load Closes #1 See merge request GNOME/dconf!43
| * | bin: Add an option to ignore changes to locked keys during loadTomasz Miąsko2019-02-123-11/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | If load command attempts to change one of non-writable keys, the whole operation fails with an error and no changes are made. Add an `-f` option to the load command that skips non-writable keys and proceeds with remaining changes. Closes issue #1.
| * | tests: Use more concise key and valueTomasz Miąsko2019-02-121-5/+4
|/ /
* | Merge branch 'prepare-0.31.2' into 'master'Daniel Playfair Cal2019-02-042-1/+14
|\ \ | | | | | | | | | | | | Release 0.31.2 See merge request GNOME/dconf!42
| * | Increment version to 0.31.3Daniel Playfair Cal2019-02-051-1/+1
| | |
| * | Update NEWS file0.31.2Daniel Playfair Cal2019-02-051-0/+13
|/ /
* | Merge branch 'update-doc' into 'master'Daniel Playfair Cal2019-02-042-2/+16
|\ \ | | | | | | | | | | | | | | | | | | bin: Document update command directory argument Closes #39 See merge request GNOME/dconf!41
| * | bin: Document update command directory argumentTomasz Miąsko2019-02-042-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Document that update command takes optional directory argument, which allows to run update in an arbitrary directory instead of the default one. The functionality itself have been added earlier for testing purposes, but it is generally useful so lets document its existence. Closes #39. Based on a patch contributed by Takao Fujiwara.
* | | Merge branch 'optional-vapi' into 'master'Daniel Playfair Cal2019-02-044-9/+22
|\ \ \ | |/ / |/| | | | | | | | build: Make dconf client vapi installation optional See merge request GNOME/dconf!40