Ryan Lortie [Mon, 19 Apr 2010 14:28:44 +0000 (10:28 -0400)]
Don't write out zero-byte sections in builder
This and the previous issue caught by Christian Persch in bug #616156
Ryan Lortie [Mon, 19 Apr 2010 14:18:44 +0000 (10:18 -0400)]
Whitespace fixups
Ryan Lortie [Mon, 19 Apr 2010 14:17:31 +0000 (10:17 -0400)]
Fix logic error for missing options in reader
Matthias Clasen [Mon, 19 Apr 2010 14:34:42 +0000 (10:34 -0400)]
Handle int64 and double types correctly
Matthias Clasen [Mon, 19 Apr 2010 14:34:22 +0000 (10:34 -0400)]
Fix up some typos in the new tests
Christian Persch [Mon, 19 Apr 2010 14:00:03 +0000 (10:00 -0400)]
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
Matthias Clasen [Mon, 19 Apr 2010 13:49:22 +0000 (09:49 -0400)]
Add gsettings-related variables
Christian Persch [Mon, 19 Apr 2010 13:46:32 +0000 (09:46 -0400)]
Rename shadowed variables
Bug #616154.
Matthias Clasen [Mon, 19 Apr 2010 13:30:22 +0000 (09:30 -0400)]
Call setlocale initially
That seems to be required to make bindtextdomain work in the
l10n tests. See bug 616152.
Tor Lillqvist [Mon, 19 Apr 2010 13:13:13 +0000 (16:13 +0300)]
Bypass l10n tests for now on Windows
Matthias Clasen [Mon, 19 Apr 2010 12:54:01 +0000 (08:54 -0400)]
Add a bit about autofoo for schemas
Always a good idea to have copiable snipplets in a porting guide...
Tor Lillqvist [Mon, 19 Apr 2010 12:48:30 +0000 (15:48 +0300)]
Avoid non-portable <glob.h> API
And thus we can build gschema-compile on all platforms, and run it in
tests.
Matthias Clasen [Mon, 19 Apr 2010 12:04:57 +0000 (08:04 -0400)]
Add a schema convertion script
Tor Lillqvist [Mon, 19 Apr 2010 09:25:22 +0000 (12:25 +0300)]
Portability improvements
Gschema-compile uses glob which is available on Unix only. Thus can't
run the gschema-compile test except on Unix either.
To avoid an Automake error, comment out the SOURCES and LDADD of
unix-streams which for some reason has been commented out from
TEST_PROGS.
Can't use a Makefile.am target called foo_PROGRAMS for random files
that aren't actually programs, as Automake assumes EXEEXT should be
appended to the file names.
Tor Lillqvist [Mon, 19 Apr 2010 08:32:05 +0000 (11:32 +0300)]
Add GWin32InputStream and GWin32OutputStream classes
Correspond to GUnixInputStream and GUnixOutputStream. No true async
support though. But that is how the Win32 API is, for files not
explicitly opened for so-called overlapped IO.
The API to create these streams takes Win32 HANDLEs. Not file
descriptors, because file descriptors are specific to the C library
used. The user code and GLib might be using different C libraries.
Also add a test program for the new classes, and a gio-windows-2.0.pc
file.
Matthias Clasen [Mon, 19 Apr 2010 03:53:31 +0000 (23:53 -0400)]
Silence a warning
g_string_insert_len (s, pos, NULL, 0) is a harmless nop, don't
spew warnings in this case.
Matthias Clasen [Sun, 18 Apr 2010 19:57:11 +0000 (15:57 -0400)]
Fix up docs for backend setup functions
Matthias Clasen [Sun, 18 Apr 2010 19:55:14 +0000 (15:55 -0400)]
Refer to gio-querymodules in the extension point docs
Matthias Clasen [Sun, 18 Apr 2010 19:54:54 +0000 (15:54 -0400)]
Add a man page for gio-querymodules
Matthias Clasen [Sun, 18 Apr 2010 19:37:55 +0000 (15:37 -0400)]
Correct filename extension in help output.
Matthias Clasen [Sun, 18 Apr 2010 19:35:22 +0000 (15:35 -0400)]
Whitespace fix
Matthias Clasen [Sun, 18 Apr 2010 18:58:50 +0000 (14:58 -0400)]
Update the gschema-compile docs
Correct the schema file extension, mention the usual locations
for schemas and add a reference to gsettings-schema-convert.
David King [Fri, 17 Jul 2009 21:06:03 +0000 (23:06 +0200)]
[docs] Remove unused sgml template from GObject documentation
https://bugzilla.gnome.org/show_bug.cgi?id=589351
Signed-off-by: Javier Jardón <jjardon@gnome.org>
Matthias Clasen [Sun, 18 Apr 2010 01:31:30 +0000 (21:31 -0400)]
More distcheck fixes
Matthias Clasen [Sun, 18 Apr 2010 01:19:45 +0000 (21:19 -0400)]
add a keyfile test
Matthias Clasen [Sun, 18 Apr 2010 00:54:53 +0000 (20:54 -0400)]
More distcheck fix attempts
Matthias Clasen [Sun, 18 Apr 2010 00:13:59 +0000 (20:13 -0400)]
Distcheck fixes
Matthias Clasen [Sat, 17 Apr 2010 20:57:28 +0000 (16:57 -0400)]
Some build fixes
Matthias Clasen [Sat, 17 Apr 2010 20:48:10 +0000 (16:48 -0400)]
Correct the sense of an assertion
Matthias Clasen [Sat, 17 Apr 2010 20:13:22 +0000 (16:13 -0400)]
Document the tests
Add a short note for each test that explains what it tries to test.
Ryan Lortie [Sat, 17 Apr 2010 15:58:52 +0000 (11:58 -0400)]
GDelayedSettingsBackend: another mandatory fixup
- emit the "has-unapplied" property notify if dropping the last key
from the changeset due to a mandatory key
Ryan Lortie [Sat, 17 Apr 2010 15:39:04 +0000 (11:39 -0400)]
GSettings delayed: fix handling of mandatory keys
- if a key becomes mandatory, drop it from the changeset
- if we still get failing writes (ie: because of a race) then drop the
entire changeset and signal that it happened
Ryan Lortie [Sat, 17 Apr 2010 14:26:10 +0000 (10:26 -0400)]
add backend setup APIs
Matthias Clasen [Sat, 17 Apr 2010 05:55:55 +0000 (01:55 -0400)]
Updates
Matthias Clasen [Sat, 17 Apr 2010 05:43:58 +0000 (01:43 -0400)]
Merge GSettings tests
Ryan Lortie [Sat, 17 Apr 2010 05:27:00 +0000 (01:27 -0400)]
let binding functions return a floating GVariant
Ryan Lortie [Sat, 17 Apr 2010 05:02:57 +0000 (01:02 -0400)]
add GMemorySettingsBackend
Ryan Lortie [Sat, 17 Apr 2010 05:02:05 +0000 (01:02 -0400)]
add pltcheck.sh exception for GChecksum
Ryan Lortie [Sat, 17 Apr 2010 04:03:48 +0000 (00:03 -0400)]
XML schemas are now *.gschema.xml
Matthias Clasen [Sat, 17 Apr 2010 04:36:14 +0000 (00:36 -0400)]
Remove garbage
Matthias Clasen [Sat, 17 Apr 2010 04:31:41 +0000 (00:31 -0400)]
Merge the GSettings docs
Matthias Clasen [Sat, 17 Apr 2010 04:16:01 +0000 (00:16 -0400)]
Document G_SETTINGS_BIND_GET_NO_CHANGES
Matthias Clasen [Sat, 17 Apr 2010 03:57:26 +0000 (23:57 -0400)]
Merge the keyfile settings backend.
Ryan Lortie [Sat, 17 Apr 2010 03:17:01 +0000 (23:17 -0400)]
merge GSettings
Ryan Lortie [Sat, 17 Apr 2010 03:20:48 +0000 (23:20 -0400)]
GSettingsSchema: add call to get list of keys
Matthias Clasen [Sat, 17 Apr 2010 00:43:53 +0000 (20:43 -0400)]
Man page tweaks
Add enough info to keep the docbook stylesheets from embedding
FIXMEs in the formatted output.
Matthias Clasen [Sat, 17 Apr 2010 00:40:02 +0000 (20:40 -0400)]
Man page tweaks
Matthias Clasen [Fri, 16 Apr 2010 23:30:58 +0000 (19:30 -0400)]
Some doc tweaks
Matthias Clasen [Fri, 16 Apr 2010 23:13:51 +0000 (19:13 -0400)]
Add indices for 2.26 api additions
Ryan Lortie [Fri, 16 Apr 2010 18:30:12 +0000 (14:30 -0400)]
set version to 2.25.0
Ryan Lortie [Fri, 16 Apr 2010 16:02:44 +0000 (12:02 -0400)]
GSettings: import delayed backend to master
Ryan Lortie [Fri, 16 Apr 2010 16:02:29 +0000 (12:02 -0400)]
GSettings: more PLT/visibility fixups
Ryan Lortie [Fri, 16 Apr 2010 15:58:04 +0000 (11:58 -0400)]
gio.symbols: remove pointless whitespace
Ryan Lortie [Fri, 16 Apr 2010 16:01:40 +0000 (12:01 -0400)]
GSettingsBackend: fix type in g_return_val_if_fail
Ryan Lortie [Fri, 16 Apr 2010 15:05:22 +0000 (11:05 -0400)]
Merge remote branch 'gvdb/master'
Ryan Lortie [Fri, 16 Apr 2010 15:04:15 +0000 (11:04 -0400)]
Fix uninitialised header in the builder.
Ryan Lortie [Fri, 16 Apr 2010 03:35:49 +0000 (23:35 -0400)]
GSettings: merge the schema compiler
Ryan Lortie [Fri, 16 Apr 2010 02:30:11 +0000 (22:30 -0400)]
merge GSettingsSchema
Ryan Lortie [Fri, 16 Apr 2010 02:14:18 +0000 (22:14 -0400)]
Merge remote branch 'gvdb/master'
Ryan Lortie [Fri, 16 Apr 2010 02:09:42 +0000 (22:09 -0400)]
Recommend git-merge(1) over git-submodule(1).
Ryan Lortie [Fri, 16 Apr 2010 01:32:54 +0000 (21:32 -0400)]
Add a brief description to the .doap
Ryan Lortie [Fri, 16 Apr 2010 01:26:34 +0000 (21:26 -0400)]
Initial commit
Ryan Lortie [Thu, 15 Apr 2010 22:30:06 +0000 (18:30 -0400)]
GSettingsBackend: fix NULL vs "" context issues
Ryan Lortie [Thu, 15 Apr 2010 22:22:14 +0000 (18:22 -0400)]
add 'null' GSettings backend
Ryan Lortie [Thu, 15 Apr 2010 22:21:49 +0000 (18:21 -0400)]
GSettings: Modify backend API
Ryan Lortie [Thu, 15 Apr 2010 18:59:41 +0000 (14:59 -0400)]
merge GSettingsBackend
Ryan Lortie [Thu, 15 Apr 2010 18:44:59 +0000 (14:44 -0400)]
Remove accidental checkins
Lars Ellenberg [Thu, 15 Apr 2010 17:03:05 +0000 (19:03 +0200)]
Cast to volatile to avoid warnings from -Wcast-qual
https://bugzilla.gnome.org/show_bug.cgi?id=457641
Ryan Lortie [Thu, 15 Apr 2010 14:11:30 +0000 (10:11 -0400)]
g_string_append_len() accept NULL with length == 0
Sweta Kothari [Thu, 15 Apr 2010 11:13:36 +0000 (16:43 +0530)]
Updated gujarati translations
Sandeep Shedmake [Thu, 15 Apr 2010 10:17:39 +0000 (15:47 +0530)]
Updated Marathi Translations
Ryan Lortie [Thu, 15 Apr 2010 03:35:56 +0000 (23:35 -0400)]
GVariant: fix for g_variant_iter_loop()
Ryan Lortie [Sun, 11 Apr 2010 02:01:02 +0000 (22:01 -0400)]
Add g_return_if_fail()s to g_variant_new_from_data()
also, document that @type must be definite
Theppitak Karoonboonyanan [Tue, 6 Apr 2010 07:53:20 +0000 (14:53 +0700)]
Updated Thai translation.
Jordi Serratosa [Fri, 2 Apr 2010 12:03:16 +0000 (14:03 +0200)]
Fixes to Catalan translation
Behdad Esfahbod [Wed, 31 Mar 2010 14:50:08 +0000 (10:50 -0400)]
Improve docs
Tor Lillqvist [Tue, 30 Mar 2010 17:46:46 +0000 (20:46 +0300)]
Fix build breakage on Unix
Tor Lillqvist [Sun, 21 Mar 2010 18:04:18 +0000 (20:04 +0200)]
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.)
Benjamin Otte [Fri, 26 Mar 2010 19:37:09 +0000 (20:37 +0100)]
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.
Benjamin Otte [Fri, 26 Mar 2010 19:36:10 +0000 (20:36 +0100)]
Remove unneccessary variable from g_cancellable_cancel()
The variable makes a complicated function even more complicated.
Javier Jardón [Mon, 29 Mar 2010 16:20:03 +0000 (18:20 +0200)]
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
Javier Jardón [Sun, 28 Mar 2010 15:43:33 +0000 (17:43 +0200)]
Fix g_type_class_add_private() documentation
This fixes commit
81e2aa941bbfd02bf1b6235da12834d282ceda0c
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=614185
Ask H. Larsen [Sat, 27 Mar 2010 23:13:28 +0000 (00:13 +0100)]
Updated Danish translation
Chao-Hsiung Liao [Sat, 27 Mar 2010 12:50:57 +0000 (20:50 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
Jamil Ahmed [Sat, 27 Mar 2010 11:44:03 +0000 (17:44 +0600)]
Updated Bengali translation
Matthias Clasen [Fri, 26 Mar 2010 19:09:13 +0000 (15:09 -0400)]
Bump version
Matthias Clasen [Fri, 26 Mar 2010 19:08:00 +0000 (15:08 -0400)]
2.24.0
Matthias Clasen [Fri, 26 Mar 2010 15:15:49 +0000 (11:15 -0400)]
Third try to get this right...
Matthias Clasen [Fri, 26 Mar 2010 15:05:28 +0000 (11:05 -0400)]
And another one...
Matthias Clasen [Fri, 26 Mar 2010 15:05:02 +0000 (11:05 -0400)]
Fix a typo
Matthias Clasen [Fri, 26 Mar 2010 14:39:56 +0000 (10:39 -0400)]
Bump version to 2.24.0
Matthias Clasen [Fri, 26 Mar 2010 14:39:33 +0000 (10:39 -0400)]
Updates
Matthias Clasen [Fri, 26 Mar 2010 14:24:06 +0000 (10:24 -0400)]
Fix a typo
Matthias Clasen [Fri, 26 Mar 2010 14:19:57 +0000 (10:19 -0400)]
More doc fixups
Matthias Clasen [Fri, 26 Mar 2010 14:11:46 +0000 (10:11 -0400)]
Some more doc cleanups
Matthias Clasen [Fri, 26 Mar 2010 13:30:25 +0000 (09:30 -0400)]
Small doc addition
Matthias Clasen [Fri, 26 Mar 2010 13:22:58 +0000 (09:22 -0400)]
Add g_io_module_query to docs
Matthias Clasen [Fri, 26 Mar 2010 13:01:48 +0000 (09:01 -0400)]
Correct the error handling in splice_stream_with_progress
We need to get out of both loops, so a simple 'break' doesn't cut it.
Bugs 613748 and 613923
Ryan Lortie [Fri, 26 Mar 2010 13:01:51 +0000 (08:01 -0500)]
GVariant: Stop lexing format strings at :
Lets us parse this successfully: {%s: %s}.
Maxim V. Dziumanenko [Fri, 26 Mar 2010 09:42:19 +0000 (11:42 +0200)]
Updated Ukrainian translation