service: rewrite
commit324df561617b777848b149416f0f6c0c3801b2d8
authorRyan Lortie <desrt@desrt.ca>
Tue, 23 Oct 2012 08:11:08 +0000 (23 10:11 +0200)
committerRyan Lortie <desrt@desrt.ca>
Tue, 23 Oct 2012 08:19:32 +0000 (23 10:19 +0200)
treecf03127a19de5ace0f6d0976975bbe055455a36f
parent004f135e50164dc409bd6de74bc9ee3fe61da3e9
service: rewrite

Rewrite the dconf-service using gdbus-codegen and generally cleaning
things up a lot.  The DConfWriter class can now be reasonably subclassed
to create more complex types of dconf databases (such as ones that
are stored in the local runtime dir and synced up with an NFS home
directory).

Keep a cache of the keys in the database (instead of re-reading it every
time we try to make a change).

Drop support for the old D-Bus interface (now that we are two stable
releases since it was used).

Modify the commandline tool for 'dconf blame' to call the new interface.
18 files changed:
bin/dconf.vala
configure.ac
service/.gitignore
service/Makefile.am
service/ca.desrt.dconf.xml [new file with mode: 0644]
service/dconf-blame.c [new file with mode: 0644]
service/dconf-blame.h [new file with mode: 0644]
service/dconf-interfaces.c [deleted file]
service/dconf-rebuilder.c [deleted file]
service/dconf-rebuilder.h [deleted file]
service/dconf-service.c [new file with mode: 0644]
service/dconf-service.h [copied from service/dconf-interfaces.h with 50% similarity]
service/dconf-state.c [deleted file]
service/dconf-state.h [deleted file]
service/dconf-writer.c
service/dconf-writer.h
service/main.c [moved from service/dconf-interfaces.h with 78% similarity]
service/service.c [deleted file]