summaryrefslogtreecommitdiff
path: root/service/dconf-keyfile-writer.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't create the user config dir as world readableSebastien Bacher2018-04-171-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=792677
* Updated FSF's addressDaniel Mustieles2014-01-311-3/+1
|
* Add missing "config.h" include everywhereRyan Lortie2013-11-241-0/+2
| | | | We ought to be including this from each .c file.
* service: fix some harmless compile warningsRyan Lortie2013-07-121-1/+1
| | | | Mostly missing 'static'.
* keyfile: explicitly use local GVfsRyan Lortie2013-01-121-1/+2
| | | | | | | | Avoid initialising all of GVfs for dconf-service in order to monitor a local file for changes. See https://bugzilla.gnome.org/show_bug.cgi?id=691618 for the possibility of a better fix.
* keyfile: implement list()Ryan Lortie2013-01-111-0/+21
|
* keyfile: add advisory lockingRyan Lortie2013-01-111-2/+62
| | | | | | | | | | | Use fcntl() on a lockfile when accessing a keyfile. Now reading the keyfile, notifying local processes of changes in it, applying changes from local request and rewriting it is all done under a single acquire of the lock. This effectively means that concurrent changes made to the database across several machines sharing a home directory over NFS will be seen by all machines as having occurred in the same order (decided by who won the race to the lock).
* keyfile: many improvementsRyan Lortie2013-01-111-12/+82
| | | | | | | | | | | | | Store the keyfile in ~/.config/dconf/$(name).txt instead of ~/.config/dconf-keyfile/name. Adjust the base writer not to pick up filenames with dots in them (so we will skip the .txt files the keyfile writer puts into the same directory). Add file change monitoring and reload the file if anyone changes it. Fix a crasher on the first write of a file if it does not yet exist. Add proper finalize handling.
* keyfile: don't rewrite if there are no changesRyan Lortie2013-01-111-16/+32
|
* service: add a keyfile writerRyan Lortie2013-01-111-0/+361
It is now possible to have keyfile-based dconf databases.