| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Philip Withnall <withnall@endlessm.com>
|
|
|
|
| |
Signed-off-by: Philip Withnall <withnall@endlessm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
This is non-optimal.
In fact, it’s quite painful.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
|
|
|
|
| |
Signed-off-by: Philip Withnall <withnall@endlessm.com>
|
|
|
|
|
|
| |
The former has been deprecated for a long time.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
|
|\
| |
| |
| |
| | |
dconf-update.vala: correct error message grammar
See merge request GNOME/dconf!6
|
|/ |
|
|\
| |
| |
| |
| | |
Engine: track in progress watch handles to avoid spurious changed signals for the root path
See merge request GNOME/dconf!1
|
|/
|
|
| |
for the root path
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=792677
|
|
|
|
| |
This reverts commit a9cc9f30b8cc340428cb781797dacd60b39f1de6.
|
| |
|
|
|
|
| |
Interestingly, it's a different failing test than last time. Yippee!
|
|
|
|
|
|
|
|
|
|
| |
meson does not allow to build source code inside the source code
tree, for this reason there is no need for .gitignore files to
ignore built files.
This patch removes .gitignore files which are no longer needed.
https://bugzilla.gnome.org/show_bug.cgi?id=784910
|
|
|
|
|
|
|
|
|
|
|
| |
The README file still shows information about the dconf editor,
which is no longer part of dconf, and also about the steps to
build dconf using autotools.
This patch removes any mention of dconf-editor and also replaces
the autotools' build steps for their meson's equivalents.
https://bugzilla.gnome.org/show_bug.cgi?id=784910
|
|
|
|
|
|
|
| |
This reverts commit ab2692a967c6a19e532014391d402fa428131ccc.
I figure whoever cares for dconf in the future will probably want to
know that this test is broken.
|
| |
|
|
|
|
|
| |
I've verified this test is broken in the 0.24 release as well, so it's
not a regression in dconf itself.
|
|
|
|
|
|
|
| |
To avoid the burden of maintaining multiple build systems, this
patch removes autotools support.
https://bugzilla.gnome.org/show_bug.cgi?id=784910
|
|
|
|
|
|
|
|
| |
meson is a build system focused on speed an ease of use, which
helps speeding up the software development. This patch adds meson
support along autotools.
https://bugzilla.gnome.org/show_bug.cgi?id=784910
|
|
|
|
|
|
|
|
|
|
| |
abicheck.sh script has been changed to check the libdconfsettings
library from GSETTINGS_LIB environment variable. This helps when
checking the library in different locations.
'shebang' has also been added.
https://bugzilla.gnome.org/show_bug.cgi?id=784910
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=786829
|
|
|
|
|
|
| |
See https://bugzilla.gnome.org/show_bug.cgi?id=674885
for more details. What dconf is doing right now provokes
this more easily by involving *another* thread in the mix.
|
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=759128
|
|
|
|
|
|
|
| |
This was always the intention, and is even documented that way in the
gtk-doc block above. I'm not sure why I used paths.
In any case, this API has never been released, so the change is safe.
|
| |
|
|
|
|
| |
...and other various cleanups.
|
|
|
|
|
|
|
|
|
| |
This API has never appeared in a released version of dconf (even
unstable). Replace it with a more generally-useful form.
Update the test cases, dconf commandline tool and vapi accordingly.
https://bugzilla.gnome.org/show_bug.cgi?id=759128
|
|
|
|
|
|
|
| |
There is no reason that the read_through queue should not be 'const', so
expose it as such.
https://bugzilla.gnome.org/show_bug.cgi?id=759128
|
|
|
|
|
|
|
|
| |
Add a flag that allows checking the default value without constructing a
read_through queue. Make use of this new flag to simplify code in a
couple of places.
https://bugzilla.gnome.org/show_bug.cgi?id=759128
|
|
|
|
|
|
|
| |
Delete the separate dconf_engine_read_user_value() and merge its
functionality into dconf_engine_read() by adding a flags field.
https://bugzilla.gnome.org/show_bug.cgi?id=759128
|
|
|
|
|
|
| |
This will soon contain an extra enum.
https://bugzilla.gnome.org/show_bug.cgi?id=759128
|
|
|
|
|
|
|
|
| |
Stop building the dconf-dbus-1 client library. Nobody is using it
anymore and we will soon be taking a non-conditional dependency on
libgio in any case.
It is now only possible to use dconf with GDBus.
|
|
|
|
|
|
|
| |
Add support for g_autoptr() on DConfClient and DConfChangeset. Switch
to using G_DECLARE_FINAL_TYPE in the declaration of DConfClient.
https://bugzilla.gnome.org/show_bug.cgi?id=758871
|
|
|
|
|
| |
We should have this included since we use the functions in it in our
precondition checks.
|
|
|
|
|
|
| |
Add a -d option to 'dconf read' to read the default value.
https://bugzilla.gnome.org/show_bug.cgi?id=758864
|
|
|
|
|
|
|
| |
Add a list-locks command to the dconf commandline tool to list the locks
that are present in the current configuration.
https://bugzilla.gnome.org/show_bug.cgi?id=758864
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=758864
|
|
|
|
|
|
|
| |
Add an API to dconf-engine (and exposed via DConfClient) for getting a
list of locks that are present in a given dconf profile.
https://bugzilla.gnome.org/show_bug.cgi?id=758864
|
|
|
|
|
|
|
|
| |
Add an API to read the default value of a key.
Add a testcase.
https://bugzilla.gnome.org/show_bug.cgi?id=758860
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a dir is reset against a DConfChangeset then the result ought to be
that all keys under that dir read as NULL (until such a time as they are
set to a new value).
This is consistent with the (existing) behaviour that a key will read as
NULL if it, itself, was reset.
In order to make that efficient, we create a separate GHashTable to
serve as a cache of all of the directories that have been reset and
iterate it whenever we do a key lookup that doesn't have a direct hit.
We update (and expand) the test case to reflect this new reality -- the
tests actually had a case that relied on the inconsistent behaviour.
https://bugzilla.gnome.org/show_bug.cgi?id=744678
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support to dconf-engine for opening "runtime" profiles.
These profiles are intended to be symbolic links or plain files that
will live either in XDG_RUNTIME_DIR/dconf/profile or
/run/dconf/user/$(uid).
This is intended to allow for a PAM module that makes complex decisions
about application of a specific policy to a user and sets up the profile
at login time, thus preventing the need for this complex decision to be
a part of every program that uses dconf. This PAM module would not be
part of dconf, but would rather be a part of a dconf-aware system
administrator framework.
In the case that the profile file is found in /run/dconf, then it will
not be possible for the user to override the profile selection,
including via the DCONF_PROFILE environment variable. This provides a
mechanism for lockdown that is slightly more difficult for a user to
circumvent. In theory, this is pointless since it can still be defeated
with LD_PRELOAD, but in practice this raises the bar quite a bit.
https://bugzilla.gnome.org/show_bug.cgi?id=751417
|
|
|
|
|
| |
This makes coverity happy. It noticed that we check source for
being non-NULL every other case but not here.
|
| |
|
| |
|
| |
|