summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
...
* dconf update: don't warn on a key set twiceRyan Lortie2012-03-191-2/+4
| | | | | | | | | | | | It is expected that users may have the same key set multiple times if they use separate files in an 'override' type of situation. In this case the higher-numbered file wins and we should silently ignore the key set in the lower-numbered file. This silences the warning message that we previously issued in that case. https://bugzilla.gnome.org/show_bug.cgi?id=664288
* dconf update: Read keyfiles in a defined orderRyan Lortie2012-03-192-78/+95
| | | | | | | | | | | | | | This patch is a substantial cleanup of the 'dconf update' command. The biggest 'clean up' aspect is less dependence on catch-all 'throws' clauses and better error messages for specific failures. The cleanup also brings a new feature: keyfiles are now read in a pre-defined order so that keys defined in higher-numbered files have precedence over low-numbered files (ie: if the same key is in a file '10_a' and '20_b' then '20_b' will "win"). This portion of the patch is based on a patch from Josselin Mouette. https://bugzilla.gnome.org/show_bug.cgi?id=670494
* cli: add undocumented 'dconf blame' optionRyan Lortie2012-03-071-0/+8
|
* cli: Fix help message to include 'load' and 'dump'Roberto C. Morano2012-02-061-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=663547
* adjust to recent changes in vala compilerRyan Lortie2011-12-281-2/+2
| | | | | | It is now possible to have arrays of nullable types and some places where we had the equivalent non-null type are now considered to be errors.
* Silence some harmless warnings from vala codeRyan Lortie2011-11-211-1/+1
|
* dconf update: don't access before start of stringRyan Lortie2011-11-011-1/+3
| | | | | | | | | | | | Fix a crash caused by attempting to dereference index -1 of a string. This is very obviously a bug, but has only become a problem on OpenBSD where the allocator will apparently hand out addresses at the very start of a page with invalid memory immediately before. Problem caught by Antoine Jacoutot. https://bugzilla.gnome.org/show_bug.cgi?id=662271
* drop fixes.vapiRyan Lortie2011-10-193-6/+2
| | | | These changes are upstream by now.
* Fix error handling for missing *.d/locks/ dirRyan Lortie2011-10-191-2/+4
| | | | | | | | We were incorrectly checking for NULL as a return value from Dir.open() when that function as bound as throwing an exception on error -- so catch the exception instead. https://bugzilla.gnome.org/show_bug.cgi?id=662158
* Remove 'set lock' support from dconfRyan Lortie2011-09-111-32/+0
| | | | | | | | | | | | | | | | | | The dconf service can not presently be run at the system level and it doesn't make sense to support locks on user-level databases. It also became clear that most distributors and sysadmins would rather work directly with text files anyway, so we supported that directly instead. For this reason, 'set lock' support has never been properly implemented. All the plumbing was added for it though, which means we have it appearing on the API of the client library and documented in the help of the commandline tool. This is misleading, since these functions do nothing at all (and actually contain bugs anyway since their do-nothingness was never actually tested). For now, we rip out these functions. We can add them back later if we decide to support this properly.
* cli: add keyfile-based "dump" and "load" commandsRyan Lortie2011-07-214-4/+110
| | | | | These should be in the same format as the system database keyfiles and fairly similar to the GSettings keyfile backend format.
* Remember to dist the completion file.Ryan Lortie2011-07-051-1/+1
| | | | Fixup from last commit.
* Don't install bash completion file as executable scriptMichael Biebl2011-07-031-1/+1
| | | | | | | The bash completion file is meant to be sourced and not executed directly. https://bugzilla.gnome.org/show_bug.cgi?id=651936
* cli: make 'dconf watch' actually write outputRyan Lortie2011-05-101-1/+24
|
* Add 'dconf reset'.Ryan Lortie2011-05-092-3/+39
|
* Fix copyright lineRyan Lortie2011-05-091-2/+2
|
* dconf update: more lockdown fixesRyan Lortie2011-05-061-3/+9
| | | | | | | | | - regenerate the file when the lock dir timestamp changes - send the proper dbus message - write an actual value for the lock in the GVDB (otherwise the reader won't see it)
* dconf update: support lockdownRyan Lortie2011-05-051-0/+39
|
* dconf update: don't attempt to open non-filesRyan Lortie2011-05-051-0/+6
|
* dconf update: vala deprecation fixupsRyan Lortie2011-05-051-4/+4
|
* dconf cli: insert space after key completionRyan Lortie2011-05-051-1/+1
|
* dconf cli: filter non-dirs for completion on listRyan Lortie2011-05-052-3/+7
|
* dconf cli: commandline completionRyan Lortie2011-05-053-8/+75
|
* dconf cli: more cleanupsRyan Lortie2011-05-052-70/+92
|
* dconf cli: make it a bit more friendlyRyan Lortie2011-05-051-1/+122
| | | | | Make the dconf command-line tool slightly more friendly by adding a help command and invoking that on an unknown command instead of aborting.
* -Wno-error for dconf-updateJürg Billeter2011-01-281-0/+1
| | | | Fixes build with gcc 4.6.
* fix vi-damage in last commitRyan Lortie2010-12-181-1/+1
|
* dconf update: Fix error code EEXIST -> ENOENTRyan Lortie2010-12-181-2/+2
| | | | I meant to check for the file not existing, which is ENOENT.
* Revert "Fix a trivial compile error when using vala 0.9.4. Fixes bgo#626002"Ryan Lortie2010-08-231-1/+0
| | | | This reverts commit 66dcd38beb93f8c2051b5318508515e396b0e5dd.
* Fix a trivial compile error when using vala 0.9.4. Fixes bgo#626002Richard Hughes2010-08-041-0/+1
|
* Remove unreachable codeRyan Lortie2010-08-041-1/+0
|
* set_lock -> set_locked and cleanup gtk-docRyan Lortie2010-08-031-1/+1
| | | | | | | | Rename set_lock to set_locked again (and same SetLock -> SetLocked). Add missing gtk-doc bits, clean up some that are no longer there. Bump gtk-doc dependency.
* Get rid of libtoolRyan Lortie2010-07-241-1/+1
| | | | | | | | | | | You need to type 'make clean' before trying to rebuild dconf after this update (in fact, 'git clean' may be appropriate to clean out all the extra files that libtool leaves around). It's quite likely that this completely breaks dconf builds on non-ELF platforms (and maybe some ELF ones). Please report any problems to bugzilla. I'm very happy to accept patches to fix portability (via ./configure-time checks).
* port client library to ValaRyan Lortie2010-07-193-2/+26
| | | | | | | | | | | | - the API is now completely implemented - update 'engine' API to be vala-bindable without annotations - update GSettings backend to new engine API - drop the readtype non-sense - build/api fixups for editor and commandline tool
* header cleanupRyan Lortie2010-07-182-1/+41
|
* merge 'dconf-update' into 'dconf' utilityRyan Lortie2010-07-183-10/+8
|
* assorted client API cleanups, vala port of 'dconf'Ryan Lortie2010-07-184-243/+61
|
* dconf-update: don't leak fd on insuccessful writeRyan Lortie2010-07-181-4/+9
|
* add 'dconf-update' utilityRyan Lortie2010-07-185-2/+177
| | | | | | | | | | | | | | | | This utility scans /etc/dconf/db/ looking for directories named *.d. For each directory name.d that it finds, it reads each file contained within as a keyfile containing a list of keys to populate a dconf database with. That database is then written to 'name' (ie: the directory name with the '.d' removed), the old file is invalidated, and a signal is sent over the system DBus to indicate the change. This tool facilitates updating of dconf databases by sysadmins who prefer to follow the 'drop a text file here' approach to system management.
* Fix linking with pedantic linkersMatthias Clasen2010-06-121-1/+1
|
* Switch from sequence numbers to tag stringsRyan Lortie2010-06-101-1/+1
|
* FreeBSD: Don't use {a,b,c} expansion in MakefilesRyan Lortie2010-06-021-1/+1
|
* simplify API, add gobject-introspectionRyan Lortie2010-05-281-2/+2
|
* 'list' updatesRyan Lortie2010-05-241-1/+1
| | | | | - move to new GSettingsBackend API - add 'length' parameter, update callers
* test async commands with the cmdline toolRyan Lortie2010-05-241-1/+50
| | | | fix a silly bug that the testing found
* proper CFLAGS, distcheck fixesRyan Lortie2010-05-232-14/+15
|
* more client library API, exposed by cmdline toolRyan Lortie2010-05-231-22/+171
|
* flesh out the APIs a bitRyan Lortie2010-05-231-10/+28
| | | | | - add a sync set() call to client API - GCancellable/GErrorify some APIs
* refactor, add client library, add 'dconf' commandRyan Lortie2010-05-223-0/+32
Only very preliminary functionality for all of these.