7583 Commits

Author SHA1 Message Date
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
Tor Lillqvist
f8470ed55a Fix build breakage on Unix 2010-03-30 20:46:46 +03:00
Tor Lillqvist
1229281d95 Define a public documented type for the struct stat used by g_stat()
Define GStatBuf as the type used by g_stat() and g_lstat(). Replaces
the non-public struct tag _g_stat_struct. Mostly relevant for Windows
where there are several variants of stat-style structs. On POSIX, is
just another name for struct stat.

Actually, also on many POSIX systems there are in fact several
variants of struct stat and corresponding stat() and lstat()
functions, but as g_stat and g_lstat are normally on POSIX just macros
that expand to stat and lstat, this should not cause a problem. It's
only when it's the actual g_stat() or g_lstat() implementation inside
GLib that gets called that one needs to be sure the passed struct is
the same as what GLib expects.)
2010-03-30 19:22:39 +03:00
Benjamin Otte
e7763678b5 Fix race in g_cancellable_cancel()
We need to check priv->cancelled after taking the lock. Previously we
only checked it just before taking the lock, which left a small chance
for a race.
2010-03-29 12:57:35 -05:00
Benjamin Otte
5527a2ac2c Remove unneccessary variable from g_cancellable_cancel()
The variable makes a complicated function even more complicated.
2010-03-29 12:57:35 -05:00
Javier Jardón
c3f1025c33 Remove g_type_class_get_private() public documentation
This is a internal function needed for the documented
G_TYPE_CLASS_GET_PRIVATE() macro

This was introduced by error in
commit 81e2aa941bbfd02bf1b6235da12834d282ceda0c
2010-03-29 18:23:48 +02:00
Javier Jardón
0f51e99565 Fix g_type_class_add_private() documentation
This fixes commit 81e2aa941bbfd02bf1b6235da12834d282ceda0c

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=614185
2010-03-29 18:17:40 +02:00
Ask H. Larsen
461a4097d1 Updated Danish translation 2010-03-28 00:13:28 +01:00
Chao-Hsiung Liao
2e27703a81 Updated Traditional Chinese translation(Hong Kong and Taiwan) 2010-03-27 20:50:57 +08:00
Jamil Ahmed
0e3c6ef848 Updated Bengali translation 2010-03-27 17:44:03 +06:00
Matthias Clasen
22dc3dd648 Bump version 2010-03-26 15:09:13 -04:00
Matthias Clasen
ca631653ac 2.24.0 2.24.0 2.20.0 2010-03-26 15:08:00 -04:00
Matthias Clasen
5ba8043f12 Third try to get this right... 2010-03-26 11:15:49 -04:00
Matthias Clasen
f6532620bc And another one... 2010-03-26 11:05:28 -04:00
Matthias Clasen
7c8a108165 Fix a typo 2010-03-26 11:05:02 -04:00
Matthias Clasen
55e44a67e6 Bump version to 2.24.0 2010-03-26 10:39:56 -04:00
Matthias Clasen
8ee5ded1e9 Updates 2010-03-26 10:39:33 -04:00
Matthias Clasen
6cce575a25 Fix a typo 2010-03-26 10:24:06 -04:00