Ryan Lortie
2f9292fb84
l10n for gsettings
2010-04-14 23:18:07 -04:00
Ryan Lortie
193c926d8a
write l10n to compiled schema
2010-04-14 23:18:06 -04:00
Matthias Clasen
92f9fb650f
Trivial coding style fixes
2010-04-14 23:13:29 -04:00
Matthias Clasen
f223facd79
Tweak backend docs
2010-04-14 22:38:37 -04:00
Matthias Clasen
fe0500e71e
Fix include guard style
2010-04-14 22:23:06 -04:00
Matthias Clasen
ac118e00be
Document the backend api as unstable
...
And protect it by G_SETTINGS_ENABLE_BACKEND to make this explicit.
2010-04-14 22:17:35 -04:00
Matthias Clasen
4cdb02f1aa
Remove doc comments that irritate gtk-doc
2010-04-14 22:17:35 -04:00
Matthias Clasen
dfd077e354
Document the extension point
2010-04-14 22:17:35 -04:00
Vincent Untz
4de239deb2
Add child nodes when converting schemas to XML format
...
Also fix a bug introduced in 7889b612 that was causing the creation of
too many schema nodes.
2010-04-14 22:02:11 -04:00
Vincent Untz
5e82386785
Add gsettings-related variables in gio-2.0.pc
...
Also install gsettings-schema-convert.
2010-04-14 21:44:46 -04:00
Ryan Lortie
f23ef4c472
oops.
2010-04-14 21:36:24 -04:00
Ryan Lortie
7b41a660dd
require explicit <child> in schemas
2010-04-14 21:36:24 -04:00
Vincent Untz
9d22ef333b
Monitor the memory backend keyfile with G_FILE_MONITOR_SEND_MOVED
2010-04-14 21:26:01 -04:00
Vincent Untz
d6d1b2db9f
Do not fail in g_settings_backend_keys_changed() if path is ""
2010-04-14 20:59:26 -04:00
Vincent Untz
7889b6125b
Fix gconf schema convert script to keep leading slash in paths
2010-04-14 20:55:26 -04:00
Vincent Untz
dd4dfd53c5
Do not generate nested schemas for the XML format
2010-04-14 20:35:18 -04:00
Ryan Lortie
c837c2940a
backend: changed callbacks
2010-04-14 20:30:49 -04:00
Ryan Lortie
bbb38cf9af
return reference on GSettingsBackend
2010-04-14 20:30:49 -04:00
Matthias Clasen
d084a0940f
Some more tests surrounding delay-apply
2010-04-14 20:27:50 -04:00
Matthias Clasen
d0a715cfe2
Add a test for revert
2010-04-14 20:27:50 -04:00
Matthias Clasen
4e21b3b0ec
Some doc trivia
2010-04-14 20:27:50 -04:00
Matthias Clasen
1a4e7701b4
Some notification tests
2010-04-14 20:27:50 -04:00
Vincent Untz
7d069d36f4
Save the type of the setting in the keyfile
...
Without the type, there's no way to decide if a value is an int32 or
int16, for example.
2010-04-14 20:14:19 -04:00
Ryan Lortie
74caa8592d
gvdb file format tweak
2010-04-14 19:50:05 -04:00
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