2011ecd6ac
GPermission: Drop @returns syntax from doc comments
2011-11-21 11:01:16 -05:00
ef4ae742ce
Improve test coverage
2011-11-21 01:53:29 -05:00
89ad8bda23
Improve mainloop test coverage slightly
2011-11-21 01:40:51 -05:00
b0fa096870
Improve test coverage
2011-11-21 01:02:50 -05:00
0fd14b1a56
Fix a case conversion bug
...
For titlecase chars without uppercase variant, we were returning
0, contrary to the docs.
2011-11-21 00:28:41 -05:00
5197870665
Improve test coverage
2011-11-21 00:28:41 -05:00
4cbacb91de
Add a test for g_unichar_isdefined
2011-11-21 00:28:41 -05:00
3aeddaa2d4
gio/Makefile.am
...
Filter out yet another *nix only source file from the Visual C++ project
file completion rules.
2011-11-21 11:53:02 +08:00
fee6293bc9
Update GLib Visual C++ projects
...
Also link to WinMM.lib since timeGetTime is used (commit 8d023c27
).
2011-11-21 10:45:27 +08:00
928e356cdb
Updated Galician translations
2011-11-21 01:59:07 +01:00
0878f5ba43
GFile: Add some introspection annotations
...
progress_callback in g_file_copy and g_file_copy_async may be NULL.
Annotations should reflect that. Pointed out by Carlo Teubner.
https://bugzilla.gnome.org/show_bug.cgi?id=664415
2011-11-20 15:12:05 -05:00
ff2f4a12ee
Document that g_list_sort is a stable sort.
...
This is a guarantee for the future so that applications can rely on it.
https://bugzilla.gnome.org/show_bug.cgi?id=531973
2011-11-20 16:53:36 +01:00
b6732da5e7
Updated Spanish translation
2011-11-20 10:10:13 +01:00
d920cb6bdb
GApplication: unregister bus name
...
https://bugzilla.gnome.org/show_bug.cgi?id=647987
2011-11-19 16:24:08 -05:00
6c7387f6d1
Trivial doc typo fix
2011-11-19 16:23:33 -05:00
b55daa7f59
Updated Norwegian bokmål translation
2011-11-19 12:02:08 +01:00
1dc8d1f932
GTlsCertificate: support unencrypted PKCS#8 private keys
...
PKCS#8 is the "right" way to encode private keys. Although the APIs do
not currently support encrypted keys, we should at least support
unencrypted PKCS#8 keys.
https://bugzilla.gnome.org/show_bug.cgi?id=664321
2011-11-18 20:26:58 -05:00
cb74c36678
[gio] Terminate connect call when application proxy is used
...
The connect_async() calls would never terminated when an application side
proxy was being used. Note we also skip over TLS handshake in this case,
as the application may have to do some proxy handshake before.
2011-11-18 12:32:42 -05:00
d2fd6dac4a
GMain: allow NULL context to g_source_attach
...
Documentation says it's fine and means default context, but the annotations
are missing (and thus bindings would complain).
https://bugzilla.gnome.org/show_bug.cgi?id=664302
2011-11-18 15:21:17 +01:00
71d3dad3ff
GPollable*Stream: expose source methods to introspection
...
GSource has been introspectable for a while, so can stop skipping
methods of GPollableInputStream/OutputStream that return it.
https://bugzilla.gnome.org/show_bug.cgi?id=664302
2011-11-18 15:20:41 +01:00
951827379f
gsignal.h: Remove trailing comma
2011-11-18 10:46:35 +01:00
f9cc078671
We need <locale.h> in gsettingsschema.c now
...
for LC_TIME (since we moved a bunch of code over from gsettings.c).
2011-11-18 09:41:52 +00:00
4ae42ceb3c
Clear proxy address upon retry
...
The proxy address was not cleared between each attempt. That would lead
to leak or worse, trying to do the proxy handshake on the final
destination address. To make all this safer, I have regroup all the cleanup
where the iterations starts.
https://bugzilla.gnome.org/show_bug.cgi?id=664141
2011-11-17 23:13:35 -05:00
216fd8a82c
Silence compiler warnings
...
Fix several warnings for format strings (-Werror=format-security) and
set but unused variables (-Wunused-but-set-variable)
https://bugzilla.gnome.org/show_bug.cgi?id=664144
2011-11-17 23:12:27 -05:00
fcffe6abbb
GKeyFile: Accept empty files
...
It already accepts files consisting solely of whitespace.
https://bugzilla.gnome.org/show_bug.cgi?id=663432
2011-11-17 23:11:41 -05:00
a0c755710c
Document exactly what g_time_val_to_iso8601() produces
...
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=537637
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk >
2011-11-17 23:11:01 -05:00
dc89b51c2d
_g_dbus_get_machine_id(): check /etc/machine-id too
...
machine-id can be in /etc or in /var/lib/dbus.
[amended with slightly revised error handling -smcv]
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=663928
2011-11-17 23:09:50 -05:00
8d9f600aea
Remove redefinition of typedef 'GSettingsSchemaSource'
2011-11-17 19:46:54 +01:00
99718b9e22
start on the NEWS
2011-11-17 17:40:36 +00:00
7f28529190
g_settings_new_full(): more docs
2011-11-17 17:33:19 +00:00
ee31c7f4ed
add plugin example for GSettingsSchemaSource
2011-11-17 14:03:39 +00:00
a4421529b8
Add gtk-doc for gsettingsschema{,source}
2011-11-17 14:03:39 +00:00
011a71cf71
'make dist' fixes
2011-11-17 14:03:39 +00:00
97cf2d78c5
settings-source test: Check returned error as well
2011-11-17 14:03:39 +00:00
a7ce1953fa
Trivial typo fix
2011-11-17 14:03:39 +00:00
f47264ef5c
gsettings: add annotations for _new_full()
...
The path and backend arguments to g_settings_new_full are optional.
2011-11-17 14:03:39 +00:00
6339b5fe2d
schema source: avoid introspection confusion
...
Any method that has its prefix'd argument as its first parameter will be
interpreted by introspection as a method. We don't want this, so we need
to swap the first two parameters.
2011-11-17 14:03:39 +00:00
bef773408c
gsettingsschema: Use the trusted parameter
2011-11-17 14:03:39 +00:00
148f731748
Add test case and fix some bugs
...
Add the first test case for the schema source functionality and fix a
couple of bugs that got uncovered by that.
2011-11-17 14:03:39 +00:00
fee2c87ba1
Add g_settings_schema_source_new_from_directory()
...
It is now possible for plugin loading systems to do the right thing.
2011-11-17 14:03:39 +00:00
446eda8c2b
Clarify docs/params for 'schema' vs 'schema id'
...
Clean up our parameter naming and documentation to draw a clearer line
between a schema and its identifier.
2011-11-17 14:03:39 +00:00
1e70072065
Add g_settings_new_full() taking GSettingsSchema
2011-11-17 14:03:39 +00:00
1c8ae819ed
GSettings: add 'settings-schema' property
...
Ideally we'd have called this 'schema', but it is already used.
2011-11-17 14:03:39 +00:00
269c999463
add boxed types for GSettingSchema{,Source}
2011-11-17 14:03:39 +00:00
c25a36c920
Drop the 'schema_name' field of GSettings
...
This is strictly redundant now that we can get the ID from the schema
itself. Its only other purpose was to get the schema name from the
set_property() call to the constructed() call and we can avoid that by
doing the schema lookup at the time of the property being set.
2011-11-17 14:03:39 +00:00
48b99017de
speak of 'schema id' rather than 'schema name'
...
Schemas are identified by id='' in the xml file, so we should use the
same language on the C and GObject property APIs.
2011-11-17 14:03:39 +00:00
736a286dce
GSettings: deprecate 'schema' property
...
This should have been called 'schema-name'.
2011-11-17 14:03:39 +00:00
3bcf1137f4
drop the now-trivial g_settings_schema_new
...
Combine it into g_settings_constructed()
2011-11-17 14:03:39 +00:00
d5fb032f72
new public header: gsettingsschema.h
...
Expose some GSettingsSchemaSource and GSettingsSchema APIs.
These are mostly useless so far...
2011-11-17 14:03:39 +00:00
2633f2903e
Add non-aborting g_settings_schema_source_lookup()
...
And rewrite g_settings_schema_new() in terms of it
2011-11-17 14:03:39 +00:00