summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* tests: fix a small lieRyan Lortie2013-11-251-2/+2
| | | | | | | | N_MAX_SOURCES is 3 but we only check up to < N_MAX_SOURCES, so we only ever checked 2. The tests work with 3, but it takes very very long to run them, so fix the comparison but at the same time, decrease the count.
* tests: add test for engine change_syncRyan Lortie2013-11-251-0/+97
|
* engine: issue warnings once per sourceRyan Lortie2013-11-254-15/+43
| | | | | | | | | | | | | | | | | On failure to open a gvdb file in /etc/dconf/db we would issue a warning once per process -- even if multiple files were missing. This was enforced using a static variable. An unfortunate side effect of this global state is that the testcases couldn't reliably know if to expect the error or not. This issue was side-stepped by running any cases that may emit the warning under a fork, but that made it difficult to debug some of the cases. Rework the backends not to use global state for the flag and instead store it per-source. Remove a use of g_test_trap_fork().
* engine: fix locking bugRyan Lortie2013-11-251-0/+2
| | | | | | | Make sure we actually acquire the sources lock on entry to dconf_engine_read_user_value(). Uncovered during testing.
* tests: test read-through functionalityRyan Lortie2013-11-251-4/+163
| | | | | Make sure the read_through parameter to _read() and _read_user_value() is behaving as we expect it to.
* dbus mock: add some better APIRyan Lortie2013-11-253-12/+37
| | | | | | | Add API for replying to async calls in the mock dbus backend and for checking that there are no calls outstanding. Use it from the engine test.
* gdbus backend: handle reply_type properlyRyan Lortie2013-11-251-1/+3
| | | | | | | | The test coverage report turned up some dead code in the engine as a result of the gdbus backend not properly checking the return type of D-Bus messages. Fix that up.
* tests: more engine coverage improvementsRyan Lortie2013-11-251-0/+3
|
* tests: test dconf_engine_read_user_value()Ryan Lortie2013-11-251-1/+27
| | | | Make sure it's returning the value only in the cases we expect.
* Add DCONF_ERROR error domainRyan Lortie2013-11-259-11/+106
| | | | | | | | | 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
* Suppress GLib deprecation warningsRyan Lortie2013-11-253-0/+7
| | | | | | | | The testsuite is happily using g_test_trap_fork() and dconf only builds on POSIX anyway, so this isn't a problem. Add version macros to the top of the testcases that use this API to suppress the deprecation warnings.
* tests: add test for service dbRyan Lortie2013-11-251-0/+121
| | | | Add a test to cover the service source backend in the engine.
* tests: fix a trivial error in the engine testRyan Lortie2013-11-251-1/+1
| | | | | Instead of checking the D-Bus interface name we were checking the bus name twice.
* mock dbus: allow for NULL replies in case of errorRyan Lortie2013-11-251-1/+3
| | | | | But make sure an error is set if NULL is returned and the caller passed in an error pointer.
* engine: restructure a bit to improve testabilityRyan Lortie2013-11-252-12/+17
| | | | | | | | | Don't use the access() system call from the service source because this bypasses the mocking layer in the testsuite. Use gvdb_table_new() instead. This also avoids an extra syscall. Also: change a couple of criticals to warnings because they are not programmer errors.
* tests: improve coverage of D-Bus backendsRyan Lortie2013-11-252-0/+51
| | | | Add a weird test to hit two additional obscure cases
* tests: improve changeset test coverageRyan Lortie2013-11-251-0/+115
|
* Add missing "config.h" include everywhereRyan Lortie2013-11-2421-0/+42
| | | | We ought to be including this from each .c file.
* dconf 0.19.20.19.2Ryan Lortie2013-11-112-1/+14
|
* GSettings: implement _read_user_value()Ryan Lortie2013-10-284-1/+62
| | | | | | | | | | | | Implement g_settings_backend_read_user_value() in DConfSettingsBackend. This will help us support g_settings_get_user_value() properly. We add a new engine API to support this as well. It takes a read_through queue, even though we don't bother using that from DConfSettingsBackend. https://bugzilla.gnome.org/show_bug.cgi?id=668233
* Updated Greek translationEfstathios Iosifidis2013-10-221-23/+25
|
* [l10n] Updated Catalan (Valencian) translationCarles Ferrando2013-10-131-15/+15
|
* update Simplified Chinese (zh_CN) translation甘露(Lu Gan)2013-10-131-17/+26
|
* L10N: Updated Persian translationsArash Mousavi2013-10-111-40/+25
|
* dconf 0.18.00.18.0Ryan Lortie2013-09-232-1/+12
|
* Updated Basque languageInaki Larranaga Murgoitio2013-09-221-18/+20
|
* Updated Portuguese translationDuarte Loreto2013-09-221-16/+16
|
* l10n: Update Japanese translationJiro Matsuzawa2013-09-221-46/+43
|
* Punjabi Translation updated by AmanA S Alam2013-09-181-16/+16
|
* Updated Danish translationAsk H. Larsen2013-09-171-15/+15
|
* Updated Korean translationChangwoo Ryu2013-09-171-7/+7
|
* dconf 0.17.10.17.1Ryan Lortie2013-09-162-1/+27
|
* Updated German translationBenjamin Steinwender2013-09-161-20/+20
|
* Initial Dutch translation by Tico (imported from Launchpad)Reinout van Schouwen2013-09-152-0/+180
|
* Updated Korean translationChangwoo Ryu2013-09-141-15/+15
|
* [l10n] Update Catalan translationGil Forcada2013-09-141-15/+15
|
* Assamese Translation UpdatedNilamdyuti Goswami2013-09-121-16/+16
|
* [l10n] Updated Estonian translationMattias Põldaru2013-09-121-4/+5
|
* Updated Indonesian translationAndika Triwidada2013-09-121-16/+16
|
* Updated Latvian translationRūdolfs Mazurs2013-09-111-17/+17
|
* Updated Belarusian translation.Ihar Hrachyshka2013-09-101-15/+15
|
* Clarify statements about not using schemasRyan Lortie2013-09-101-4/+4
| | | | | | | | Reword the note in the documentation about not using GSettings schemas so that it cannot be taken to mean that the commandline tool doesn't use D-Bus. https://bugzilla.gnome.org/show_bug.cgi?id=707783
* Updated Russian translationYuri Myasoedov2013-09-091-45/+29
|
* Finnish translation update by Jiri GrönroosVille-Pekka Vainio2013-09-071-20/+20
|
* Updated Serbian translationМирослав Николић2013-09-052-36/+38
|
* Updated Polish translationPiotr Drąg2013-08-241-20/+20
|
* Update French translationAlexandre Franke2013-08-221-15/+15
|
* Updated Hungarian translationBalázs Úr2013-08-211-17/+17
|
* Updated Thai translation.Theppitak Karoonboonyanan2013-08-141-15/+15
|
* Updated Traditional Chinese translation(Hong Kong and Taiwan)Chao-Hsiung Liao2013-08-072-32/+32
|