Ryan Lortie
71c5e3f899
Bug 620496 - schema compiler: reject invalid paths
...
The GSettings schema compiler was accepting any string as a path. It is
probably quite a common mistake to suspect that '/apps/foo' is a valid
path name when this will cause all sorts of trouble later. Check for
this case and report the error.
2010-06-07 10:18:43 +02:00
Johan Dahlin
6b4647c088
[girepository] Kill girffi-private.h
2010-06-06 23:22:57 -03:00
Johan Dahlin
1edafae79e
[girepository] Don't include girffi.h everywhere
2010-06-06 23:17:46 -03:00
Johan Dahlin
91c621b9db
[giregisteredtypeinfo] Document and check parameters
2010-06-06 23:04:15 -03:00
Johan Dahlin
a23a697664
[gitypes] Remove a comment and move G_END_DECLS
2010-06-06 22:57:28 -03:00
Johan Dahlin
c47ecdee41
[build] Install gistructinfo.h
2010-06-06 22:57:14 -03:00
Johan Dahlin
a2df86f9f6
[giconstantinfo] Document and check parameters
2010-06-06 22:48:08 -03:00
Johan Dahlin
6e11316e28
[gifieldinfo] Document g_field_info_get_flags
2010-06-06 22:47:50 -03:00
Johan Dahlin
501238c318
Remove left-over comments
2010-06-06 22:47:21 -03:00
Johan Dahlin
dc4a7e9e32
[giregisteredtype] Flags have a GType
2010-06-06 22:47:02 -03:00
Johan Dahlin
e57e4f2868
[gifunction.h] Move GIFunctionInfoFlags to gitypes.h
2010-06-06 19:55:00 -03:00
Johan Dahlin
c223abfa36
[girepository] Move the rest out of ginfo.ch
2010-06-06 19:54:53 -03:00
Johan Dahlin
baf36f793e
[girepository] Move GIRegisteredTypeInfo out of ginfo.ch
2010-06-06 19:28:35 -03:00
Matthias Clasen
a0c044b5c6
Make g_assertion_message_error take a const GError*
...
This was requested in bug 620265.
2010-06-06 16:42:06 -04:00
Christian Persch
87ee5f3641
Don't do an extra strlen when g_variant_get_string() returns it already
2010-06-06 16:32:04 -04:00
Matthias Clasen
2aca3b506a
Add single-include guards to new headers
...
As pointed out by Christian Persch in bug 620173, all the new
gdbus and gsettings headers were missing these.
2010-06-06 16:20:21 -04:00
Matthias Clasen
9371ca0cc2
Sort gio.h includes alphabetically
2010-06-06 16:15:44 -04:00
Michael Natterer
3944a63fed
gio: fix the build
2010-06-06 21:15:42 +02:00
Matthias Clasen
92fab48387
Some cleanups
...
Always include config.h, make property strings for translation,
add since tags.
2010-06-06 14:24:14 -04:00
Will Thompson
40e10764b3
Add some symbols to glib-sections.txt
...
Most of these are private; the few that aren't were already documented
but not included in the gtkdoc output.
2010-06-06 17:49:56 +01:00
Will Thompson
f291d3bb3c
Document G_GNUC_DEPRECATED_FOR
2010-06-06 17:49:56 +01:00
Will Thompson
157116b8dd
Add examples for G_STRINGIFY and G_PASTE
2010-06-06 17:49:56 +01:00
Will Thompson
28f9f03a3b
Hide G_PASTE_ARGS in gtkdocs.
2010-06-06 17:49:56 +01:00
Johan Dahlin
94d52d910c
[gifieldinfo] Document, indent and check params
...
Document the remaining functions, indent to match coding style
and check so that all info params are set and of the right type.
2010-06-06 13:35:14 -03:00
Johan Dahlin
f05d309f57
[gifunctioninfo] Move over invoke function
...
Move over g_function_info_invoke to gifunctioninfo.c
2010-06-06 13:27:16 -03:00
Johan Dahlin
e6733fd92e
[gfield] Move over field set/get impl.
...
Move over the GIFieldInfo set/get value implementation
over to gifieldinfo.c
2010-06-06 13:27:12 -03:00
Johan Dahlin
8d2ae7fa90
[girepository] Move GIFieldInfo out of ginfo.ch
2010-06-06 13:11:23 -03:00
Johan Dahlin
bbc69cefaa
[girepository] Move GIEnumInfo out of ginfo.ch
2010-06-06 13:09:08 -03:00
Johan Dahlin
dab5e1ddaf
[girepository] Move GIErrorDomainInfo out of ginfo.ch
2010-06-06 13:01:26 -03:00
Johan Dahlin
edcce0af88
[girepository] Move GITypeInfo out of ginfo.ch
2010-06-06 12:58:28 -03:00
Javier Jardón
a131beda54
[docs] Improve the g_get_system_config_dirs() docs.
...
The retrieved list of directories is XDG_CONFIG_DIRS,
Also mention the retrieved directory on Windows: CSIDL_COMMON_APPDATA
2010-06-06 05:26:38 +02:00
Javier Jardón
e08c7b86c4
[docs] Improve the g_get_system_data_dirs() docs.
...
The retrieved list of directories is XDG_DATA_DIRS
2010-06-06 05:15:22 +02:00
Javier Jardón
07777db60d
[docs] Improve the g_get_user_cache_dir() docs
...
The retrieved directory is XDG_CACHE_HOME on UNIX platforms.
Also mention the retrieved directory on Windows: CSIDL_INTERNET_CACHE.
2010-06-06 05:05:15 +02:00
Javier Jardón
e40b5ae3ef
[docs] Improve the g_get_user_data_dir() docs
...
The retrieved directory is XDG_DATA_HOME on UNIX platforms.
Also mention the retrieved directory on Windows: CSIDL_PERSONAL.
2010-06-06 04:57:46 +02:00
Javier Jardón
b2718ee71a
[docs] Improve the g_get_user_config_dir() docs a bit
...
The retrieved directory is XDG_CONFIG_HOME on UNIX platforms.
Also mention the retrieved directory on Windows: CSIDL_APPDATA.
2010-06-05 18:40:07 +02:00
Johan Dahlin
4d3a528f5d
[girepository] Move the enums
...
Move the est of the enums over to gitypes.h
2010-06-05 12:59:33 -03:00
Johan Dahlin
2e91ba3b3e
[girepository] Move GIArgInfo out of ginfo.ch
2010-06-05 12:40:34 -03:00
Johan Dahlin
6d51857f01
[gitypes.h] Do not include gibaseinfo.h
...
To avoid cyclic dependencies
2010-06-05 12:40:34 -03:00
Johan Dahlin
968850eaf1
[girepository] Fix a couple of typos
2010-06-05 12:40:34 -03:00
Johan Dahlin
292033c7dc
[girepository] Move GICallableInfo out of ginfo.ch
2010-06-05 12:40:28 -03:00
Ryan Lortie
61f3f45cb9
add get_permission API to GSettingsBackend
...
implement it in the various in-tree backends
also, lots of whitespace changes to realign the vtable members
2010-06-05 00:10:05 +02:00
Ryan Lortie
95c564cabe
gsettingsbackend.h: pretend to be gio.h
...
Since #include <gsettingsbackend.h> is a perfectly valid thing for
applications to do, and since we want to include gio headers from
gsettingsbackend.h, we need to effectively disable the #error we would
get from those headers (because we're not coming via gio.h).
We don't want to #include <gio/gio.h> here because this would cause
needless rebuilding of GSettingsBackend, GSettings,
GDelayedSettingsBackend, etc... every time someone changed anything in
any public header.
2010-06-04 23:02:44 +02:00
Ryan Lortie
4733488178
Bug 620582 - a simple GPermission implementation
...
add GSimplePermission, a trivial const implementation of GPermission
can-request and can-release are always false for this implementation and
the value of 'allowed' is decided at construction.
2010-06-04 22:35:14 +02:00
Matej Urbančič
0957f76878
Updated Slovenian translation
2010-06-04 20:03:41 +02:00
Ryan Lortie
7a4860d69a
Bug 620519 - GPermission
...
Add an abstract interface representing the permission to perform an
action.
2010-06-04 19:03:38 +02:00
Murray Cumming
07b5cee2a8
Gio: gioenums.h: Remove trailing commas to avoid C++ warnings.
2010-06-04 17:07:05 +02:00
Javier Jardón
af3f4cbe77
gdbusaddress: Fix typo
2010-06-04 01:35:23 +02:00
Kristjan Schmidt
644584e7e6
Updated Esperanto translation
2010-06-03 18:19:31 +02:00
Matthias Clasen
e608b1f067
Don't spew a g_warning if inotify setup fails
...
We use is_supported when we are trying to find a local file monitor
implementation that works, and having the g_warning in there trips
the test suite.
2010-06-03 11:42:59 -04:00
Ryan Lortie
9562726f35
Bug 620350 - add g_variant_builder_add_parsed()
...
A delicious blend of g_variant_new_parsed() and
g_variant_builder_add_value(). Now available in a GLib near you.
2010-06-03 11:24:31 +02:00