summaryrefslogtreecommitdiff
path: root/common/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Add DCONF_ERROR error domainRyan Lortie2013-11-251-0/+2
| | | | | | | | | Add a DCONF_ERROR error domain with associated DConfError enum type. Use this instead of the adhoc approach that we've been taking up to this point. https://bugzilla.gnome.org/show_bug.cgi?id=704638
* Use G_LOG_DOMAIN in all library componentsRyan Lortie2013-02-211-1/+1
|
* tweak public header installationRyan Lortie2012-07-151-2/+3
| | | | | Colin noticed that this was totally broken (from an ostree build). Fix it up.
* common/: make 'hidden' variant of libdconf-commonRyan Lortie2012-07-081-1/+4
| | | | | | Compile a version of libdconf-common.a with -fvisibility=hidden. This is included in the GSettings backend to prevent leaking the dconf client library symbols into the global namespace.
* massive Makefile reorganisationRyan Lortie2012-07-081-3/+2
| | | | | | | | | | Clean up the Makefiles and make them as similar as possible. Move CFLAGS to a common point of definition and stop using -I so much. Replace the 'dbus stub' with libdconf-mock.a in tests/. Fill in some stubs for future mock code for shm and gvdb (just to get things compiling for now).
* clean up and factor out the 'shm' codeRyan Lortie2012-07-081-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the shm code from the engine and the service and put it in a separate convenience library in shm/. Remove the vestigial shmdir weirdness from the service (since shmdir is now always relative to XDG_RUNTIME_DIR and has been for some time). The purpose of this is so that dconf-engine can be properly unit-tested. dconf-engine now has five points of contact with the world (excluding the users of the engine themselves): - the DCONF_PROFILE environment variable - fopen() of profile files - shm - gvdb - dbus The environment variable is quite easily controlled. fopen() is intercepted in the engine testcase with a interpose of the libc symbol. With this commit now each of dbus, gvdb and shm are implemented in separate utility modules that can be mocked from the testcases.
* add gtester supportRyan Lortie2012-07-061-0/+2
|
* Add DConfChangeset utility class to common/Ryan Lortie2012-07-011-0/+2
|
* common/: create two convenience librariesRyan Lortie2012-07-011-4/+11
| | | | | | | One -fPIC and one without. This is done instead of pulling the various source files from other Makefiles.
* Move shmdir guessing code to common/Ryan Lortie2010-07-171-0/+2
| | | | | | | Increase the intelligence of the algorithm: use ~/.cache/dconf as a reasonable default if not on NFS. The dconf engine now has a non-blocking startup when not on NFS.
* proper CFLAGS, distcheck fixesRyan Lortie2010-05-231-0/+5