summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add NEWS entry for !250.30.1dconf-0.30Daniel Playfair Cal2018-10-221-0/+3
|
* Free OustandingWatch's pathGuido Günther2018-10-221-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.
* Increment version number to 0.30.1Daniel Playfair Cal2018-10-222-1/+4
|
* 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
| * Replace all hard-coded /etc path with sysconfdirwip/lantw/dont-hard-code-etcTing-Wei Lan2018-08-165-23/+27
|/ | | | | | | This is useful for JHBuild environments and systems that don't want to use /etc/dconf. https://bugzilla.gnome.org/show_bug.cgi?id=739299
* Merge branch 'style/overflow-int' into 'master'Philip Withnall2018-08-151-2/+2
|\ | | | | | | | | Engine: Change overflow thresholds in subscription counts from GMAXUINT32 to GMAXUINT See merge request GNOME/dconf!20
| * Engine: Change overflow thresholds in subscription counts from GMAXUINT32 to ↵Daniel Playfair Cal2018-08-151-2/+2
|/ | | | GMAXUINT
* Merge branch 'revert-060b9a17' into 'master'Daniel Playfair Cal2018-08-143-5/+5
|\ | | | | | | | | Revert "Merge branch 'fix/build-gtk-doc' into 'master'" See merge request GNOME/dconf!19
| * Revert "Merge branch 'fix/build-gtk-doc' into 'master'"Daniel Playfair Cal2018-08-143-5/+5
|/ | | This reverts merge request !18
* Increment version to 0.29.2Daniel Playfair Cal2018-08-142-1/+4
|
* Merge branch 'prepare-0-29' into 'master'0.29.1Daniel Playfair Cal2018-08-132-3/+38
|\ | | | | | | | | Prepare 0.29.1 See merge request GNOME/dconf!4
| * Prepare 0.29.1Daniel Playfair Cal2018-08-142-3/+38
| |
* | Merge branch 'bug/multi-sub' into 'master'Daniel Playfair Cal2018-08-134-125/+400
|\ \ | | | | | | | | | | | | | | | | | | Engine: account for multiple simultaneous subscriptions to the same path Closes #2 See merge request GNOME/dconf!5
| * | Engine: Add comprehensive unit tests for subscription counting behaviourDaniel Playfair Cal2018-08-141-0/+206
| | | | | | | | | | | | Use g_assert_false instead of g_assert in unit tests
| * | Engine: Add locks around access to subscription counts to ensure that each ↵Daniel Playfair Cal2018-08-141-3/+44
| | | | | | | | | | | | | | | | | | | | | | | | state transition is atomic Update comment about threading, documenting the new lock Add documentation comments for new utility functions
| * | Engine: add g_debug statements in state changing interface functionsDaniel Playfair Cal2018-08-142-1/+10
| | |
| * | Engine: extend subscriptions state to account for multiple client ↵Daniel Playfair Cal2018-08-143-123/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | subscriptions to the same path Remove accidental whitespace change Simplify branching in watch_fast and unwatch_fast Indentation fixes Store the subscription counts directly in the hash table pointer instead of mallocing ints Add documentation comments for new utility functions
| * | Engine: add some missing objects to dconf_engine_unrefDaniel Playfair Cal2018-08-141-0/+9
| | |
* | | Merge branch 'fix/build-gtk-doc' into 'master'Daniel Playfair Cal2018-08-133-5/+5
|\ \ \ | |/ / |/| | | | | | | | Build: revert to the old "enable-gtk-doc" flag since there is no reason to change it See merge request GNOME/dconf!18
| * | Build: revert to the old "enable-gtk-doc" flag since there is no reason to ↵Daniel Playfair Cal2018-08-143-5/+5
|/ / | | | | | | change it
* | Merge branch 'gvdb-update' into 'master'Philip Withnall2018-08-137-21/+67
|\ \ | |/ |/| | | | | Update GVDB from gvdb/master See merge request GNOME/dconf!17
| * docs: Update gvdb merge documentationPhilip Withnall2018-08-131-3/+8
| | | | | | | | | | Signed-off-by: Philip Withnall <withnall@endlessm.com> Reviewed-by: nobody
| * Merge remote-tracking branch 'gvdb/master'Philip Withnall2018-08-136-18/+59
| |\ |/ /
| * docs: Clarify error values for empty files when loadingPhilip Withnall2018-08-131-1/+8
| | | | | | | | Signed-off-by: Philip Withnall <withnall@endlessm.com>
| * docs: Use ‘Returns:’ instead of the invalid ‘@returns’Philip Withnall2018-08-131-8/+16
| | | | | | | | | | | | This is based on the commit 59a24ab5a3 in GLib. Signed-off-by: Philip Withnall <withnall@endlessm.com>
| * Update FSF’s addressPhilip Withnall2018-08-135-15/+5
| | | | | | | | | | | | (This is based on commit 892fc2e4 from dconf.) Signed-off-by: Philip Withnall <withnall@endlessm.com>
| * gio/gvdb/: LGPLv2+ -> LGPLv2.1+Sébastien Wilmet2018-08-135-5/+5
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=776504
| * Avoid calling Standard C string/array functions with NULL argumentsPhilip Withnall2018-08-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | glibc string.h declares memcpy() with attribute(nonnull(1,2)), causing calls with NULL arguments to be treated as undefined behaviour. This is consistent with ISO C99 and C11, which state that passing 0 to string functions as an array length does not remove the requirement that the pointer to the array is a valid pointer. gcc -fsanitize=undefined catches this while running OSTree's test suite. Similarly, running the GLib test suite reports similar issues for qsort(), memmove(), memcmp(). (This is a partial cherry-pick of commit e5ed410c8c0fe823883 from GLib.) Signed-off-by: Simon McVittie <smcv@debian.org> Bug: https://bugzilla.gnome.org/show_bug.cgi?id=775510 Reviewed-by: Colin Walters
| * doap: Update maintainers list to synchronise with GLibPhilip Withnall2018-08-131-3/+28
| | | | | | | | | | | | | | | | | | GVDB is essentially part of GLib, so should have the same maintainer list. At least this way, it’s not just maintained by one absentee maintainer. Signed-off-by: Philip Withnall <withnall@endlessm.com>
* | Merge branch 'gdbus-deadlocks' into 'master'Daniel Playfair Cal2018-08-131-1/+20
|\ \ | | | | | | | | | | | | dconf_gdbus_get_worker_context(): improve GObject deadlock workaround See merge request GNOME/dconf!15
| * | dconf_gdbus_get_worker_context(): improve GObject deadlock workaroundOwen W. Taylor2018-08-131-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | The existing workaround for https://bugzilla.gnome.org/show_bug.cgi?id=674885 doesn't go far enough, and deadlocks can occur, for example, with the GSocket type. Extend the workaround logic to all the types from glib/gio/gdbusprivate.c:ensure_required_types().
* | | Also build, test, and generate coverage reports in the deploy stage such ↵Daniel Playfair Cal2018-08-131-2/+6
| | | | | | | | | | | | that the coverage can be reported
* | | Merge branch 'bug/ci-gtk-doc' into 'master'Daniel Playfair Cal2018-08-131-5/+5
|\ \ \ | |/ / |/| | | | | | | | Correct the meson option to build gtk docs, also enable man pages and gtk docs… See merge request GNOME/dconf!16