summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge branch 'integration-test-3' into 'master'Daniel Playfair Cal2019-01-041-1/+88
|\ \ | | | | | | | | | | | | tests: Key paths can be locked in system databases See merge request GNOME/dconf!35
| * | tests: Sanitize additional environment variables used by dconfTomasz Miąsko2018-12-101-1/+5
| | |
| * | tests: Key paths can be locked in system databasesTomasz Miąsko2018-12-101-0/+83
| | |
* | | Replace Bugzilla by Gitlab URL in DOAP fileAndre Klapper2018-12-121-1/+1
|/ /
* | Merge branch 'issue-42' into 'master'Philip Withnall2018-12-102-36/+35
|\ \ | | | | | | | | | | | | | | | | | | Indicate update failure with non-zero exit code Closes #42 See merge request GNOME/dconf!34
| * | bin: Indicate update failure with non-zero exit codeTomasz Miąsko2018-12-062-1/+7
| | | | | | | | | | | | Fixes issue #42.
| * | bin: Consistently handle invalid configuration in updateTomasz Miąsko2018-12-061-35/+28
|/ / | | | | | | | | | | | | | | | | | | | | Consistently handle invalid database configuration by reporting the error and continuing with remaining databases. Functional changes from previous version: * When loading key-file fails: no change. * When group name is invalid: used to be ignored. * When key name is invalid: used to fail on an assertion. * When value is invalid: no change.
* | Merge branch ↵Marek Kašík2018-11-281-7/+30
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | '011-dconf-update-is-not-correctly-checking-the-mtime-of-the-keyfiles' into 'master' Check mtimes of files when updating databases Closes #11 See merge request GNOME/dconf!27
| * | Check mtimes of files when updating databasesMarek Kasik2018-11-281-7/+30
|/ / | | | | | | | | | | | | | | | | Do not check just mtimes of directories in /etc/dconf/db/ but also mtimes of the files in those directories to catch all modifications in them. https://bugzilla.gnome.org/show_bug.cgi?id=708258 Closes: https://gitlab.gnome.org/GNOME/dconf/issues/11
* | Merge branch 'integration-test-2' into 'master'Daniel Playfair Cal2018-11-194-5/+273
|\ \ | | | | | | | | | | | | Add further integration tests See merge request GNOME/dconf!33
| * | tests: Update should indicate failure with non-zero exit codeTomasz Miąsko2018-11-171-0/+62
| | |
| * | tests: Update invalidates replaced databaseTomasz Miąsko2018-11-151-0/+31
| | |
| * | bin: Add optional directory argument for update commandTomasz Miąsko2018-11-152-2/+14
| | | | | | | | | | | | | | | This make it possible to create integration tests for dconf update without having access to SYSCONFDIR/dconf/db.
| * | tests: dconf ignores files starting with a dotTomasz Miąsko2018-11-151-3/+29
| | |
| * | bin: Consistently validate the number of argumentsTomasz Miąsko2018-11-153-0/+137
| | |
* | | Merge branch 'coalesce-writes' into 'master'Daniel Playfair Cal2018-11-162-163/+157
|\ \ \ | |/ / |/| | | | | | | | Coalesce pending writes into a single changeset See merge request GNOME/dconf!30
| * | engine: Update internal documentationTomasz Miąsko2018-11-161-78/+44
| | |
| * | engine: Limit the number of in-flight requests to oneTomasz Miąsko2018-11-162-64/+25
| | | | | | | | | | | | | | | | | | Reduce the number of in-flight requests to one, so as to increase chances of merging pending requests. Drop the in-flight queue since it is no longer useful, replacing it with optional changeset.
| * | engine: Coalesce pending writes into a single changesetTomasz Miąsko2018-11-162-31/+98
|/ / | | | | | | | | | | | | | | | | | | Instead of queuing changes and sending them to a writer one by one, coalesce them into a single changeset. Coalescing changes requires a little bit more work on the client side, see implementation of `dconf_changeset_change`, but it has chance to substantially reduce the total amount of work necessary and avoid costly disk writes.
* | Merge branch 'integration-test' into 'master'Daniel Playfair Cal2018-11-156-4/+504
|\ \ | | | | | | | | | | | | Add integration tests See merge request GNOME/dconf!31
| * | tests: Add test that redundant disk writes are avoidedTomasz Miąsko2018-11-131-0/+42
| | |
| * | tests: Add test for compile command processing orderTomasz Miąsko2018-11-131-0/+39
| | |
| * | tests: Add bash path completion testsTomasz Miąsko2018-11-131-0/+64
| | |
| * | bin: Sort output of list and dump commandsTomasz Miąsko2018-11-133-14/+21
| | |
| * | tests: Add tests for dconf utility toolTomasz Miąsko2018-11-134-2/+350
| | |
* | | Merge branch 'always-coverage' into 'master'Philip Withnall2018-11-121-1/+1
|\ \ \ | |/ / |/| | | | | | | | ci: Always store test artifacts so we always get code coverage results See merge request GNOME/dconf!32
| * | ci: Always store test artifacts so we always get code coverage resultsPhilip Withnall2018-11-121-1/+1
|/ / | | | | | | Signed-off-by: Philip Withnall <withnall@endlessm.com>
* | Merge branch 'leak-path' into 'master'Daniel Playfair Cal2018-09-241-0/+1
|\ \ | | | | | | | | | | | | Free OustandingWatch's path See merge request GNOME/dconf!25
| * | Free OustandingWatch's pathGuido Günther2018-09-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Otherwise we leak it as can be seen in https://source.puri.sm/guido.gunther/phosh/-/jobs/1868 This unbreaks phosh's CI build under valgrind.
* | | docs: Add Marek as a comaintainer tooPhilip Withnall2018-09-241-0/+8
|/ / | | | | | | Signed-off-by: Philip Withnall <withnall@endlessm.com>
* | Merge branch 'prepare-0-30' into 'master'Daniel Playfair Cal2018-09-022-1/+6
|\ \ | | | | | | | | | | | | Prepare 0.30 release See merge request GNOME/dconf!24
| * | Increment version number for 0.31.xDaniel Playfair Cal2018-09-031-1/+1
| | |
| * | Prepare 0.30.0 release0.30.0Daniel Playfair Cal2018-09-032-1/+6
|/ /
* | Merge branch 'prepare-0.29.2' into 'master'Daniel Playfair Cal2018-08-272-3/+16
|\ \ | | | | | | | | | | | | Prepare 0.29.2 See merge request GNOME/dconf!23
| * | Increment version to 0.29.3Daniel Playfair Cal2018-08-271-1/+1
| | |
| * | Add release notes for 0.29.20.29.2Daniel Playfair Cal2018-08-271-2/+15
|/ /
* | Merge branch 'declare-service-dep' into 'master'Emmanuele Bassi2018-08-272-2/+10
|\ \ | | | | | | | | | | | | Declare libdconf_service as a dependency See merge request GNOME/dconf!22
| * | Revert "Revert "Declare libdconf_service as a dependency""Daniel Playfair Cal2018-08-272-2/+10
|/ / | | | | | | This reverts commit b799b08ec4e5978ab8db233a9da1532bf7918324.
* | Revert "Declare libdconf_service as a dependency"Daniel Playfair Cal2018-08-272-10/+2
| | | | | | | | This reverts commit bf103302332603a637f1c33e603c93b82aa1dc0b.
* | Declare libdconf_service as a dependencyEmmanuele Bassi2018-08-212-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The dconf-service internal static library depends on generated files, and we need to make sure that those files are available by the time we build the tests that depend on them, as Meson builds everything in parallel. If we don't do that, in cases of massive parallelised builders, we will end up with errors like: ``` ccache cc -Itests/tests@@writer@exe -Itests -I../tests -I. -I../ -Itests/../service -I../tests/../service -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -g '-DSYSCONFDIR="/etc"' -fno-common -Wmissing-prototypes -Wwrite-strings -O2 -g -m64 -mtune=generic '-DSRCDIR="/ostbuild/source/dconf/tests"' -MD -MQ 'tests/tests@@writer@exe/writer.c.o' -MF 'tests/tests@@writer@exe/writer.c.o.d' -o 'tests/tests@@writer@exe/writer.c.o' -c ../tests/writer.c ../tests/writer.c:24:37: fatal error: service/dconf-generated.h: No such file or directory ``` Reviewed-by: nobody Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* | Merge branch '1454-gvdb-corruption' into 'master'Philip Withnall2018-08-2119-146/+566
|\ \ | | | | | | | | | | | | service: Allow opening corrupt GVDB files when writing See merge request GNOME/dconf!8
| * | service: Rename a method to make its behaviour more apparentPhilip Withnall2018-08-203-5/+5
| | | | | | | | | | | | | | | | | | | | | It’s a little counterintuitive that a function called ‘read’ could sometimes move a file (which could be considered a write). Signed-off-by: Philip Withnall <withnall@endlessm.com>
| * | tests: Port log message handling in tests to use structured loggingPhilip Withnall2018-08-162-60/+162
| | | | | | | | | | | | | | | | | | | | | Otherwise the tests fail now that we’re compiling with G_LOG_USE_STRUCTURED. Signed-off-by: Philip Withnall <withnall@endlessm.com>
| * | tests: Stop using deprecated g_test_trap_fork() APIPhilip Withnall2018-08-163-53/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use g_test_subprocess() and g_test_trap_subprocess() instead. This requires splitting up some of the unit tests, since subprocesses are handled at a per-test level, and you can’t trivially fork multiple different subprocesses from a single test (like you could with fork()). While fork was safe to use on POSIX (and dconf only targets POSIX), the fact that we had to redefine GLIB_VERSION_MIN_REQUIRED to hide the deprecation errors was not doing wonders for the maintainability of the tests. Signed-off-by: Philip Withnall <withnall@endlessm.com>
| * | build: Enable G_LOG_USE_STRUCTURED=1Philip Withnall2018-08-169-18/+22
| | | | | | | | | | | | | | | | | | | | | This enables structured logging for all parts of dconf, which will make it easier to check for certain log messages in the unit tests. Signed-off-by: Philip Withnall <withnall@endlessm.com>
| * | tests: Add unit tests for some of service/dconf-writer.cPhilip Withnall2018-08-162-0/+235
| | | | | | | | | | | | Signed-off-by: Philip Withnall <withnall@endlessm.com>
| * | service: Split most code into a static helper libraryPhilip Withnall2018-08-161-9/+17
| | | | | | | | | | | | | | | | | | This will make unit testing the code easier. Signed-off-by: Philip Withnall <withnall@endlessm.com>
| * | service: Add some initial g_autoptr() supportPhilip Withnall2018-08-161-0/+3
| | | | | | | | | | | | | | | | | | | | | This doesn’t bump our GLib dependency, since we already depend on GLib 2.44. Signed-off-by: Philip Withnall <withnall@endlessm.com>
| * | service: Allow opening corrupt GVDB files when writingPhilip Withnall2018-08-161-1/+33
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a GVDB file cannot be opened due to being corrupt, move it out of the way, warn, and open a new blank database instead. This prevents the situation where a corrupt database stops the entire desktop session from loading. Note that the dconf_gvdb_utils_read_file() code path is only taken inside DConfWriter. The DConf engine sources (such as dconf-engine-source-system.c) open the GVDB tables separately, and already all handle errors gracefully. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://gitlab.gnome.org/GNOME/glib/issues/1454
* | Merge branch 'wip/lantw/dont-hard-code-etc' into 'master'Philip Withnall2018-08-165-23/+27
|\ \ | | | | | | | | | | | | Replace all hard-coded /etc path with sysconfdir See merge request GNOME/dconf!21