Ryan Lortie
d5bd531d96
Cleanup the GSettingsBackend API
...
This is a substantial ABI break. Rebuild dconf.
2010-07-22 18:39:50 -04:00
Ryan Lortie
dc7348b305
Fix very small leak in the GSettings test
2010-07-22 11:49:30 -04:00
Ryan Lortie
23a904fc15
Bug 624991 - GSettings mapping for G_TYPE_STRV
...
Added default mapping for G_TYPE_STRV based on a patch from Garrett
Regier.
Add a test case.
2010-07-22 11:34:57 -04:00
Matthias Clasen
5adf506d5b
Use proper variables
...
And also make sure we don't read garbage.
2010-07-08 11:33:21 -04:00
Ryan Lortie
d9e90c3894
GVariant: improve bytestring support
...
- add G_VARIANT_TYPE_BYTESTRING, _BYTESTRING_ARRAY, _STRING_ARRAY
- remove g_variant_{new,get}_byte_array functions
- add g_variant_{new,get,dup}_bytestring{,_array} functions
- remove undocumented support for deserialising arrays of objectpaths
or signature strngs using g_variant_get_strv()
- add and document new format strings '^ay', '^&ay', '^aay' and '^a&ay'
- update GApplication to use the new API
- update GSettings binding code to use the new API
- add tests
2010-07-07 16:25:48 -04:00
Matthias Clasen
20dca5935c
Add several more settings tests
2010-07-05 23:13:17 -04:00
Matthias Clasen
81a0a26813
Test enum mapping
2010-07-05 23:13:17 -04:00
Matthias Clasen
dea042b855
Misc test additions
2010-07-05 03:09:36 -04:00
Ryan Lortie
5383c7110f
Bug 622124 - implement flags for GSettings
...
Add a <flags> tag to the schema file format and a flags='' attribute to
go along with. Add some extra test cases for those.
Add new g_settings_{get,set}_flags() calls and support binding to
GParamSpecFlags properties. Add test cases.
2010-07-01 19:06:02 -04:00
Ryan Lortie
65fc931fb9
Rework the GSettings keyfile backend
2010-06-24 01:39:12 -04:00
Ryan Lortie
519edcc2b3
fix leaks in the GSettings test case
2010-06-24 00:39:38 -04:00
Ryan Lortie
6c3ae976e6
Bug 621266 - GSettings "context" clarification
...
Remove the concept of "context" in favour of dealing with
GSettingsBackend directly.
2010-06-17 14:05:40 -04:00
Ryan Lortie
d352ec2bf3
GSettings-related distcheck fixups
2010-06-17 10:50:47 -04:00
Ryan Lortie
597290d5c8
GSettings: major refactor. Add enums, range.
2010-06-16 18:17:53 -04:00
Ryan Lortie
ceee4c21a3
GSettings test case fixes
...
- call g_settings_sync()
- fix bug #618715 by not forking if a backend is specified via
environment variable
2010-06-10 22:35:31 -04:00
Matthias Clasen
486c46b945
Include the right header
2010-06-07 06:24:28 -04:00
Ryan Lortie
e1fb92551f
check for working gettext() before running tests
2010-05-14 01:01:40 +02:00
Matthias Clasen
daa405c191
Rename in more places
2010-04-23 20:05:27 -04:00
Matthias Clasen
78ed401a51
Add a test for g_settings_get_child
2010-04-21 21:03:53 -04:00
Matthias Clasen
585a37f374
Handle NULL string properties in bindings
...
Admittely, we just handle them by failing the conversion...
2010-04-21 14:49:05 -04:00
Matthias Clasen
8a988e8e88
Test binding non-readable/writable properties
2010-04-21 12:31:10 -04:00
Christian Persch
9488d18a87
Fix gsettings mapping for uint64
...
Bug #616295 .
2010-04-20 19:40:26 -04:00
Matthias Clasen
cd9b8b563f
2.25.0
2010-04-19 17:30:42 -04:00
Matthias Clasen
a072c1fc29
Fix up some typos in the new tests
2010-04-19 10:34:22 -04:00
Christian Persch
230038f684
Add testcase for g_settings_bind with [u]int64 properties
...
And use different values for the doubles test.
All of these fail currently since g_settings_bind default mapping
truncate to glong (eek!).
Bug #616119
2010-04-19 10:00:03 -04:00
Matthias Clasen
69bd033e11
Call setlocale initially
...
That seems to be required to make bindtextdomain work in the
l10n tests. See bug 616152.
2010-04-19 09:31:31 -04:00
Tor Lillqvist
4523b2b9cd
Bypass l10n tests for now on Windows
2010-04-19 16:14:45 +03:00
Matthias Clasen
187883dc58
add a keyfile test
2010-04-17 21:20:33 -04:00
Matthias Clasen
137cee425f
Correct the sense of an assertion
2010-04-17 16:48:10 -04:00
Matthias Clasen
d2b837df5d
Document the tests
...
Add a short note for each test that explains what it tries to test.
2010-04-17 16:13:22 -04:00
Matthias Clasen
c8a7bb6ccd
Merge GSettings tests
2010-04-17 01:48:05 -04:00