Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | tests: fix a small lie | Ryan Lortie | 2013-11-25 | 1 | -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_sync | Ryan Lortie | 2013-11-25 | 1 | -0/+97 | |
| | ||||||
* | engine: issue warnings once per source | Ryan Lortie | 2013-11-25 | 4 | -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 bug | Ryan Lortie | 2013-11-25 | 1 | -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 functionality | Ryan Lortie | 2013-11-25 | 1 | -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 API | Ryan Lortie | 2013-11-25 | 3 | -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 properly | Ryan Lortie | 2013-11-25 | 1 | -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 improvements | Ryan Lortie | 2013-11-25 | 1 | -0/+3 | |
| | ||||||
* | tests: test dconf_engine_read_user_value() | Ryan Lortie | 2013-11-25 | 1 | -1/+27 | |
| | | | | Make sure it's returning the value only in the cases we expect. | |||||
* | Add DCONF_ERROR error domain | Ryan Lortie | 2013-11-25 | 9 | -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 warnings | Ryan Lortie | 2013-11-25 | 3 | -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 db | Ryan Lortie | 2013-11-25 | 1 | -0/+121 | |
| | | | | Add a test to cover the service source backend in the engine. | |||||
* | tests: fix a trivial error in the engine test | Ryan Lortie | 2013-11-25 | 1 | -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 error | Ryan Lortie | 2013-11-25 | 1 | -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 testability | Ryan Lortie | 2013-11-25 | 2 | -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 backends | Ryan Lortie | 2013-11-25 | 2 | -0/+51 | |
| | | | | Add a weird test to hit two additional obscure cases | |||||
* | tests: improve changeset test coverage | Ryan Lortie | 2013-11-25 | 1 | -0/+115 | |
| | ||||||
* | Add missing "config.h" include everywhere | Ryan Lortie | 2013-11-24 | 21 | -0/+42 | |
| | | | | We ought to be including this from each .c file. | |||||
* | dconf 0.19.20.19.2 | Ryan Lortie | 2013-11-11 | 2 | -1/+14 | |
| | ||||||
* | GSettings: implement _read_user_value() | Ryan Lortie | 2013-10-28 | 4 | -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 translation | Efstathios Iosifidis | 2013-10-22 | 1 | -23/+25 | |
| | ||||||
* | [l10n] Updated Catalan (Valencian) translation | Carles Ferrando | 2013-10-13 | 1 | -15/+15 | |
| | ||||||
* | update Simplified Chinese (zh_CN) translation | 甘露(Lu Gan) | 2013-10-13 | 1 | -17/+26 | |
| | ||||||
* | L10N: Updated Persian translations | Arash Mousavi | 2013-10-11 | 1 | -40/+25 | |
| | ||||||
* | dconf 0.18.00.18.0 | Ryan Lortie | 2013-09-23 | 2 | -1/+12 | |
| | ||||||
* | Updated Basque language | Inaki Larranaga Murgoitio | 2013-09-22 | 1 | -18/+20 | |
| | ||||||
* | Updated Portuguese translation | Duarte Loreto | 2013-09-22 | 1 | -16/+16 | |
| | ||||||
* | l10n: Update Japanese translation | Jiro Matsuzawa | 2013-09-22 | 1 | -46/+43 | |
| | ||||||
* | Punjabi Translation updated by Aman | A S Alam | 2013-09-18 | 1 | -16/+16 | |
| | ||||||
* | Updated Danish translation | Ask H. Larsen | 2013-09-17 | 1 | -15/+15 | |
| | ||||||
* | Updated Korean translation | Changwoo Ryu | 2013-09-17 | 1 | -7/+7 | |
| | ||||||
* | dconf 0.17.10.17.1 | Ryan Lortie | 2013-09-16 | 2 | -1/+27 | |
| | ||||||
* | Updated German translation | Benjamin Steinwender | 2013-09-16 | 1 | -20/+20 | |
| | ||||||
* | Initial Dutch translation by Tico (imported from Launchpad) | Reinout van Schouwen | 2013-09-15 | 2 | -0/+180 | |
| | ||||||
* | Updated Korean translation | Changwoo Ryu | 2013-09-14 | 1 | -15/+15 | |
| | ||||||
* | [l10n] Update Catalan translation | Gil Forcada | 2013-09-14 | 1 | -15/+15 | |
| | ||||||
* | Assamese Translation Updated | Nilamdyuti Goswami | 2013-09-12 | 1 | -16/+16 | |
| | ||||||
* | [l10n] Updated Estonian translation | Mattias Põldaru | 2013-09-12 | 1 | -4/+5 | |
| | ||||||
* | Updated Indonesian translation | Andika Triwidada | 2013-09-12 | 1 | -16/+16 | |
| | ||||||
* | Updated Latvian translation | Rūdolfs Mazurs | 2013-09-11 | 1 | -17/+17 | |
| | ||||||
* | Updated Belarusian translation. | Ihar Hrachyshka | 2013-09-10 | 1 | -15/+15 | |
| | ||||||
* | Clarify statements about not using schemas | Ryan Lortie | 2013-09-10 | 1 | -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 translation | Yuri Myasoedov | 2013-09-09 | 1 | -45/+29 | |
| | ||||||
* | Finnish translation update by Jiri Grönroos | Ville-Pekka Vainio | 2013-09-07 | 1 | -20/+20 | |
| | ||||||
* | Updated Serbian translation | Мирослав Николић | 2013-09-05 | 2 | -36/+38 | |
| | ||||||
* | Updated Polish translation | Piotr Drąg | 2013-08-24 | 1 | -20/+20 | |
| | ||||||
* | Update French translation | Alexandre Franke | 2013-08-22 | 1 | -15/+15 | |
| | ||||||
* | Updated Hungarian translation | Balázs Úr | 2013-08-21 | 1 | -17/+17 | |
| | ||||||
* | Updated Thai translation. | Theppitak Karoonboonyanan | 2013-08-14 | 1 | -15/+15 | |
| | ||||||
* | Updated Traditional Chinese translation(Hong Kong and Taiwan) | Chao-Hsiung Liao | 2013-08-07 | 2 | -32/+32 | |
| |