7600 Commits

Author SHA1 Message Date
Ryan Lortie
7eecee26f8 g_settings_get_child 2010-04-14 19:45:05 -04:00
Ryan Lortie
178225a04a add safety against corrupt gvdb files 2010-04-14 19:42:26 -04:00
Ryan Lortie
2ec083787a vuntz wants me to install some headers 2010-04-14 19:27:21 -04:00
Ryan Lortie
65caadffcb trap expected error in gsettings basic test 2010-04-14 18:32:40 -04:00
Matthias Clasen
c445b216aa Some more tests 2010-04-14 18:22:37 -04:00
Matthias Clasen
cd4b67eb94 Revert the test env thing
...not needed for now. Setting the env.vars from the testcase itself.
2010-04-14 18:22:37 -04:00
Matthias Clasen
0b1b1582b8 More tests 2010-04-14 18:22:37 -04:00
Matthias Clasen
d1f1b8c5b0 Generate the schemas cache automatically
This needs to be revisited for !srcdir builds later.
2010-04-14 18:22:37 -04:00
Matthias Clasen
c2f446c547 Start to set up test environment for gsettings tests 2010-04-14 18:22:36 -04:00
Matthias Clasen
b54ba5ae20 Add a todo 2010-04-14 18:22:36 -04:00
Vincent Untz
28839ce593 Fix various issues in memory backend
- path saved without trailing slash in keyfile
- pass "" prefix to g_settings_backend_keys_changed() instead of NULL
- ignore context that is an empty string
2010-04-14 18:14:50 -04:00
Vincent Untz
4542b00660 Add assertion in the memory backend 2010-04-14 18:11:05 -04:00
Ryan Lortie
b2e7035181 prepend path to sets 2010-04-14 18:10:38 -04:00
Ryan Lortie
ea111f51ae remove delayed-apply property 2010-04-14 18:05:03 -04:00
Vincent Untz
d1664c0e3c Add back memory backend that got removed, and update it
It should work with the latest GSettingsBackend.
2010-04-14 18:01:06 -04:00
Ryan Lortie
1908b1c61b :D :D :D :D 2010-04-14 17:59:52 -04:00
Ryan Lortie
2e491134a5 missing file 2010-04-14 17:15:44 -04:00
Vincent Untz
975cf8a3b3 Add gsettings-schema-convert script
It can be used to convert a gconf schema to either a simple gsettings
schema format or the full xml gsettings schema format.

It also converts from the simple format to the full xml format.
2010-04-14 17:11:30 -04:00
Ryan Lortie
66bc7ced39 trivial fixups 2010-04-14 13:25:47 -04:00
Ryan Lortie
c993002c2d really disruptive breaking of stuff 2010-04-14 13:23:01 -04:00
Ryan Lortie
171d293b6f signals changes 2010-04-14 13:21:33 -04:00
Ryan Lortie
7bb26044ee type checks 2010-04-14 13:21:33 -04:00
Matthias Clasen
7440c7e7e8 Change the name of the schema cache to 'gschemas.compiled' 2010-04-14 12:39:08 -04:00
Matthias Clasen
9c64ed313e Add a schema parameter to g_settings_new with_path 2010-04-14 12:27:09 -04:00
Matthias Clasen
214b3ec658 drop locked flag from GSettings
It is not really needed, and delayed-apply is a construct-only property
anyway
2010-04-14 12:09:57 -04:00
Matthias Clasen
964e21989a Update the DTD to reflect future plans and add a way to use local schema caches 2010-04-14 11:48:36 -04:00
Matthias Clasen
4bc82beae5 Add some more schema docs 2010-04-14 00:22:50 -04:00
Matthias Clasen
102c0dacab Add some GSettingsSchema documentation 2010-04-13 23:51:29 -04:00
Matthias Clasen
f7b5f5594c Add g_settings_schema_get_type 2010-04-13 23:23:00 -04:00
Matthias Clasen
47c8dc8878 Tweak include guards 2010-04-13 23:20:09 -04:00
Matthias Clasen
fe3e6f85be Add a stub long description 2010-04-13 23:17:31 -04:00
Matthias Clasen
e5e94c4890 Some docs for GSettings 2010-04-13 22:58:12 -04:00
Vincent Untz
6eb4e56b36 Add a simple GKeyFile-based store for the memory backend
It needs some testing, but the simple test application works fine.
2010-04-13 22:03:29 -04:00
Vincent Untz
5c6c22bc55 Update doc of g_settings_backend_changed
The items argument always has to be NULL-terminated, regardless of the
value of n_items, for consistency.
2010-04-13 22:02:30 -04:00
Vincent Untz
e8bc704bda Make GSettingsSchema work
A static variable has to be marked as static...
2010-04-13 22:01:37 -04:00
Ryan Lortie
14173184a7 GSettings seems to work now 2010-04-13 16:46:40 -04:00
Vincent Untz
23907aaae8 Fix get/set property of GSettingsBackend
The backend variable needs to be initialized.
2010-04-13 15:56:41 -04:00
Ryan Lortie
db784c253a import GSettingsSchema 2010-04-13 15:41:43 -04:00
Ryan Lortie
c4812accb4 schema compiler 2010-04-13 15:39:12 -04:00
Ryan Lortie
8c65bbf1a3 GIO: Add gvdb as private API 2010-04-13 15:39:12 -04:00
Ryan Lortie
09086935d3 Add g_return_if_fail()s to g_variant_new_from_data()
also, document that @type must be definite
2010-04-13 15:39:12 -04:00
Matthias Clasen
b986347549 Add context support to GSettingsBackend
This will be used to instantiate backends for writing user settings,
system settings, system defaults or settings for the login session.
2010-04-13 13:18:40 -04:00
Matthias Clasen
6c3823a5a1 start settings docs 2010-04-13 11:01:45 -04:00
Matthias Clasen
fd7d77ed09 Drop an obsolete declaration 2010-04-13 10:55:05 -04:00
Matthias Clasen
b333be6f5c Do a pass over the backend docs 2010-04-13 10:51:26 -04:00
Ryan Lortie
520ec5f1a9 makefile changes 2010-04-13 09:21:22 -04:00
Ryan Lortie
e06ca1fae6 some GSettings stuff 2010-04-13 09:16:09 -04:00
Theppitak Karoonboonyanan
a3dc7f8006 Updated Thai translation. 2010-04-06 14:53:20 +07:00
Jordi Serratosa
34b9e9bdd2 Fixes to Catalan translation 2010-04-02 14:03:16 +02:00
Behdad Esfahbod
93ea4ab610 Improve docs 2010-03-31 10:55:00 -04:00