platform/upstream/glib.git
14 years agolet binding functions return a floating GVariant
Ryan Lortie [Sat, 17 Apr 2010 05:27:00 +0000 (01:27 -0400)]
let binding functions return a floating GVariant

14 years agoadd GMemorySettingsBackend
Ryan Lortie [Sat, 17 Apr 2010 05:02:57 +0000 (01:02 -0400)]
add GMemorySettingsBackend

14 years agoadd pltcheck.sh exception for GChecksum
Ryan Lortie [Sat, 17 Apr 2010 05:02:05 +0000 (01:02 -0400)]
add pltcheck.sh exception for GChecksum

14 years agoXML schemas are now *.gschema.xml
Ryan Lortie [Sat, 17 Apr 2010 04:03:48 +0000 (00:03 -0400)]
XML schemas are now *.gschema.xml

14 years agoRemove garbage
Matthias Clasen [Sat, 17 Apr 2010 04:36:14 +0000 (00:36 -0400)]
Remove garbage

14 years agoMerge the GSettings docs
Matthias Clasen [Sat, 17 Apr 2010 04:31:41 +0000 (00:31 -0400)]
Merge the GSettings docs

14 years agoDocument G_SETTINGS_BIND_GET_NO_CHANGES
Matthias Clasen [Sat, 17 Apr 2010 04:16:01 +0000 (00:16 -0400)]
Document G_SETTINGS_BIND_GET_NO_CHANGES

14 years agoMerge the keyfile settings backend.
Matthias Clasen [Sat, 17 Apr 2010 03:57:26 +0000 (23:57 -0400)]
Merge the keyfile settings backend.

14 years agomerge GSettings
Ryan Lortie [Sat, 17 Apr 2010 03:17:01 +0000 (23:17 -0400)]
merge GSettings

14 years agoGSettingsSchema: add call to get list of keys
Ryan Lortie [Sat, 17 Apr 2010 03:20:48 +0000 (23:20 -0400)]
GSettingsSchema: add call to get list of keys

14 years agoMan page tweaks
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.

14 years agoMan page tweaks
Matthias Clasen [Sat, 17 Apr 2010 00:40:02 +0000 (20:40 -0400)]
Man page tweaks

14 years agoSome doc tweaks
Matthias Clasen [Fri, 16 Apr 2010 23:30:58 +0000 (19:30 -0400)]
Some doc tweaks

14 years agoAdd indices for 2.26 api additions
Matthias Clasen [Fri, 16 Apr 2010 23:13:51 +0000 (19:13 -0400)]
Add indices for 2.26 api additions

14 years agoset version to 2.25.0
Ryan Lortie [Fri, 16 Apr 2010 18:30:12 +0000 (14:30 -0400)]
set version to 2.25.0

14 years agoGSettings: import delayed backend to master
Ryan Lortie [Fri, 16 Apr 2010 16:02:44 +0000 (12:02 -0400)]
GSettings: import delayed backend to master

14 years agoGSettings: more PLT/visibility fixups
Ryan Lortie [Fri, 16 Apr 2010 16:02:29 +0000 (12:02 -0400)]
GSettings: more PLT/visibility fixups

14 years agogio.symbols: remove pointless whitespace
Ryan Lortie [Fri, 16 Apr 2010 15:58:04 +0000 (11:58 -0400)]
gio.symbols: remove pointless whitespace

14 years agoGSettingsBackend: fix type in g_return_val_if_fail
Ryan Lortie [Fri, 16 Apr 2010 16:01:40 +0000 (12:01 -0400)]
GSettingsBackend: fix type in g_return_val_if_fail

14 years agoMerge remote branch 'gvdb/master'
Ryan Lortie [Fri, 16 Apr 2010 15:05:22 +0000 (11:05 -0400)]
Merge remote branch 'gvdb/master'

14 years agoFix uninitialised header in the builder.
Ryan Lortie [Fri, 16 Apr 2010 15:04:15 +0000 (11:04 -0400)]
Fix uninitialised header in the builder.

14 years agoGSettings: merge the schema compiler
Ryan Lortie [Fri, 16 Apr 2010 03:35:49 +0000 (23:35 -0400)]
GSettings: merge the schema compiler

14 years agomerge GSettingsSchema
Ryan Lortie [Fri, 16 Apr 2010 02:30:11 +0000 (22:30 -0400)]
merge GSettingsSchema

14 years agoMerge remote branch 'gvdb/master'
Ryan Lortie [Fri, 16 Apr 2010 02:14:18 +0000 (22:14 -0400)]
Merge remote branch 'gvdb/master'

14 years agoRecommend git-merge(1) over git-submodule(1).
Ryan Lortie [Fri, 16 Apr 2010 02:09:42 +0000 (22:09 -0400)]
Recommend git-merge(1) over git-submodule(1).

14 years agoAdd a brief description to the .doap
Ryan Lortie [Fri, 16 Apr 2010 01:32:54 +0000 (21:32 -0400)]
Add a brief description to the .doap

14 years agoInitial commit
Ryan Lortie [Fri, 16 Apr 2010 01:26:34 +0000 (21:26 -0400)]
Initial commit

14 years agoGSettingsBackend: fix NULL vs "" context issues
Ryan Lortie [Thu, 15 Apr 2010 22:30:06 +0000 (18:30 -0400)]
GSettingsBackend: fix NULL vs "" context issues

14 years agoadd 'null' GSettings backend
Ryan Lortie [Thu, 15 Apr 2010 22:22:14 +0000 (18:22 -0400)]
add 'null' GSettings backend

14 years agoGSettings: Modify backend API
Ryan Lortie [Thu, 15 Apr 2010 22:21:49 +0000 (18:21 -0400)]
GSettings: Modify backend API

14 years agomerge GSettingsBackend
Ryan Lortie [Thu, 15 Apr 2010 18:59:41 +0000 (14:59 -0400)]
merge GSettingsBackend

14 years agoRemove accidental checkins
Ryan Lortie [Thu, 15 Apr 2010 18:44:59 +0000 (14:44 -0400)]
Remove accidental checkins

14 years agoCast to volatile to avoid warnings from -Wcast-qual
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

14 years agog_string_append_len() accept NULL with length == 0
Ryan Lortie [Thu, 15 Apr 2010 14:11:30 +0000 (10:11 -0400)]
g_string_append_len() accept NULL with length == 0

14 years agoUpdated gujarati translations
Sweta Kothari [Thu, 15 Apr 2010 11:13:36 +0000 (16:43 +0530)]
Updated gujarati translations

14 years agoUpdated Marathi Translations
Sandeep Shedmake [Thu, 15 Apr 2010 10:17:39 +0000 (15:47 +0530)]
Updated Marathi Translations

14 years agoGVariant: fix for g_variant_iter_loop()
Ryan Lortie [Thu, 15 Apr 2010 03:35:56 +0000 (23:35 -0400)]
GVariant: fix for g_variant_iter_loop()

14 years agoAdd g_return_if_fail()s to g_variant_new_from_data()
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

14 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Tue, 6 Apr 2010 07:53:20 +0000 (14:53 +0700)]
Updated Thai translation.

14 years agoFixes to Catalan translation
Jordi Serratosa [Fri, 2 Apr 2010 12:03:16 +0000 (14:03 +0200)]
Fixes to Catalan translation

14 years agoImprove docs
Behdad Esfahbod [Wed, 31 Mar 2010 14:50:08 +0000 (10:50 -0400)]
Improve docs

14 years agoFix build breakage on Unix
Tor Lillqvist [Tue, 30 Mar 2010 17:46:46 +0000 (20:46 +0300)]
Fix build breakage on Unix

14 years agoDefine a public documented type for the struct stat used by g_stat()
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.)

14 years agoFix race in g_cancellable_cancel()
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.

14 years agoRemove unneccessary variable from g_cancellable_cancel()
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.

14 years agoRemove g_type_class_get_private() public documentation
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

14 years agoFix g_type_class_add_private() documentation
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

14 years agoUpdated Danish translation
Ask H. Larsen [Sat, 27 Mar 2010 23:13:28 +0000 (00:13 +0100)]
Updated Danish translation

14 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Sat, 27 Mar 2010 12:50:57 +0000 (20:50 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

14 years agoUpdated Bengali translation
Jamil Ahmed [Sat, 27 Mar 2010 11:44:03 +0000 (17:44 +0600)]
Updated Bengali translation

14 years agoBump version
Matthias Clasen [Fri, 26 Mar 2010 19:09:13 +0000 (15:09 -0400)]
Bump version

14 years ago2.24.0 2.20.0 2.24.0
Matthias Clasen [Fri, 26 Mar 2010 19:08:00 +0000 (15:08 -0400)]
2.24.0

14 years agoThird try to get this right...
Matthias Clasen [Fri, 26 Mar 2010 15:15:49 +0000 (11:15 -0400)]
Third try to get this right...

14 years agoAnd another one...
Matthias Clasen [Fri, 26 Mar 2010 15:05:28 +0000 (11:05 -0400)]
And another one...

14 years agoFix a typo
Matthias Clasen [Fri, 26 Mar 2010 15:05:02 +0000 (11:05 -0400)]
Fix a typo

14 years agoBump version to 2.24.0
Matthias Clasen [Fri, 26 Mar 2010 14:39:56 +0000 (10:39 -0400)]
Bump version to 2.24.0

14 years agoUpdates
Matthias Clasen [Fri, 26 Mar 2010 14:39:33 +0000 (10:39 -0400)]
Updates

14 years agoFix a typo
Matthias Clasen [Fri, 26 Mar 2010 14:24:06 +0000 (10:24 -0400)]
Fix a typo

14 years agoMore doc fixups
Matthias Clasen [Fri, 26 Mar 2010 14:19:57 +0000 (10:19 -0400)]
More doc fixups

14 years agoSome more doc cleanups
Matthias Clasen [Fri, 26 Mar 2010 14:11:46 +0000 (10:11 -0400)]
Some more doc cleanups

14 years agoSmall doc addition
Matthias Clasen [Fri, 26 Mar 2010 13:30:25 +0000 (09:30 -0400)]
Small doc addition

14 years agoAdd g_io_module_query to docs
Matthias Clasen [Fri, 26 Mar 2010 13:22:58 +0000 (09:22 -0400)]
Add g_io_module_query to docs

14 years agoCorrect the error handling in splice_stream_with_progress
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

14 years agoGVariant: Stop lexing format strings at :
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}.

14 years agoUpdated Ukrainian translation
Maxim V. Dziumanenko [Fri, 26 Mar 2010 09:42:19 +0000 (11:42 +0200)]
Updated Ukrainian translation

14 years agoAdd doc note about read_until() inconsistency.
Ryan Lortie [Tue, 23 Mar 2010 15:01:53 +0000 (10:01 -0500)]
Add doc note about read_until() inconsistency.

See bug 584284 for more information.

14 years agoSupport &s as key of dict entry in format string
Ryan Lortie [Tue, 23 Mar 2010 14:17:15 +0000 (09:17 -0500)]
Support &s as key of dict entry in format string

Partial fix for bug 613618.

14 years agoGVariant: Removing mentions of &a from docs
Ryan Lortie [Tue, 23 Mar 2010 14:06:52 +0000 (09:06 -0500)]
GVariant: Removing mentions of &a from docs

This isn't supported anymore (for the time being...)

Partial fix for bug 613618.

14 years agoCorrect typo of libray/ library in GObject tutorial
Christian Dywan [Tue, 23 Mar 2010 10:59:43 +0000 (11:59 +0100)]
Correct typo of libray/ library in GObject tutorial

Fixes bug #613667

14 years agoBug 613601 - buglet in dup_close_on_exec_fd()
Ryan Lortie [Mon, 22 Mar 2010 16:59:08 +0000 (11:59 -0500)]
Bug 613601 - buglet in dup_close_on_exec_fd()

Fix copy/paste error and 'or' FD_CLOEXEC into the existing flags instead
of just setting it outright.

14 years agoFilter out gatomic-gcc.c from the VS project sources
Tor Lillqvist [Mon, 22 Mar 2010 13:53:47 +0000 (15:53 +0200)]
Filter out gatomic-gcc.c from the VS project sources

Instead, explicitly include gatomic.c.

14 years agoMake config.h.win32 match what the configure script produces
Tor Lillqvist [Mon, 22 Mar 2010 13:33:38 +0000 (15:33 +0200)]
Make config.h.win32 match what the configure script produces

14 years agoUpdated Basque language
Inaki Larranaga Murgoitio [Mon, 22 Mar 2010 11:34:25 +0000 (12:34 +0100)]
Updated Basque language

14 years agoUpdated Vietnamese translation
Clytie [Mon, 22 Mar 2010 11:03:36 +0000 (21:33 +1030)]
Updated Vietnamese translation

14 years agoDrop { } for favour of { 0, }.
Ryan Lortie [Mon, 22 Mar 2010 01:12:18 +0000 (20:12 -0500)]
Drop {  } for favour of { 0, }.

14 years agoBump version 2.23.6
Ryan Lortie [Mon, 22 Mar 2010 01:07:45 +0000 (20:07 -0500)]
Bump version

14 years ago2.23.6
Ryan Lortie [Mon, 22 Mar 2010 01:06:39 +0000 (20:06 -0500)]
2.23.6

14 years agosilence some false-alarm uninitialised warnings
Ryan Lortie [Sun, 21 Mar 2010 19:17:21 +0000 (14:17 -0500)]
silence some false-alarm uninitialised warnings

14 years agogtk-doc fixups
Ryan Lortie [Sun, 21 Mar 2010 19:04:07 +0000 (14:04 -0500)]
gtk-doc fixups

14 years agoGVariant docs fixes
Ryan Lortie [Sun, 21 Mar 2010 18:46:09 +0000 (13:46 -0500)]
GVariant docs fixes

14 years agogitignore for win32 build stuff
Ryan Lortie [Sun, 21 Mar 2010 18:07:36 +0000 (13:07 -0500)]
gitignore for win32 build stuff

14 years agomerge GVariant parser
Ryan Lortie [Sun, 21 Mar 2010 17:31:46 +0000 (12:31 -0500)]
merge GVariant parser

14 years agomake check / makedistcheck fixes
Ryan Lortie [Sun, 21 Mar 2010 17:54:36 +0000 (12:54 -0500)]
make check / makedistcheck fixes

14 years agoAdd new headers to be installed the VS "install" project
Tor Lillqvist [Sun, 21 Mar 2010 14:54:11 +0000 (16:54 +0200)]
Add new headers to be installed the VS "install" project

Yeah, we should generate the list of headers to install from the
corresponding Makefile.am files, like the lists of source files to
compile.

14 years agoAvoid much of duplication in lists of source files
Tor Lillqvist [Sun, 21 Mar 2010 14:11:49 +0000 (16:11 +0200)]
Avoid much of duplication in lists of source files

Don't keep the lists of source files for libglib, libgobject and
libgio in the VS project files in addition to the canonical location,
the corresponding Makefile.am files.

Instead, generate the corresponding .vcproj files at make dist time
using the C preprocessor, from template files called .vcprojin. We
still list explicitly in the .vcprojin files some of the
Windows-specific source files, and the sources files of gnulib and
pcre.

14 years agoAvoid struct stat issues with MSVC
Tor Lillqvist [Sun, 21 Mar 2010 12:50:45 +0000 (14:50 +0200)]
Avoid struct stat issues with MSVC

14 years agoDrop empty Tool elements from the project files for clarity
Tor Lillqvist [Sun, 21 Mar 2010 11:33:44 +0000 (13:33 +0200)]
Drop empty Tool elements from the project files for clarity

Makes the files appear a bit simpler when edited manually.

14 years agoMake the GVariant code compile with a non-gcc compiler
Tor Lillqvist [Sun, 21 Mar 2010 09:22:06 +0000 (11:22 +0200)]
Make the GVariant code compile with a non-gcc compiler

In particular, tested with Microsoft Visual C 2008.

14 years agoUpdate with new source files and dependencies
Tor Lillqvist [Sat, 20 Mar 2010 11:32:37 +0000 (13:32 +0200)]
Update with new source files and dependencies

14 years agoDrop the unmaintained vs8 project files from dist
Tor Lillqvist [Sat, 20 Mar 2010 11:31:55 +0000 (13:31 +0200)]
Drop the unmaintained vs8 project files from dist

14 years agoUpdated Finnish translation
Tommi Vainikainen [Fri, 19 Mar 2010 22:01:00 +0000 (00:01 +0200)]
Updated Finnish translation

14 years agoupdate Punjabi Translation
A S Alam [Fri, 19 Mar 2010 02:48:41 +0000 (08:18 +0530)]
update Punjabi Translation

14 years agoUpdated Greek translation for glib
Nikos Bakaoukas [Thu, 18 Mar 2010 22:10:07 +0000 (00:10 +0200)]
Updated Greek translation for glib

14 years agoUpdated Romanian translation
Dumitru Mișu Moldovan [Thu, 18 Mar 2010 20:47:55 +0000 (22:47 +0200)]
Updated Romanian translation

14 years agoUpdated LowGerman translation
Nils-Christoph Fiedler [Thu, 18 Mar 2010 12:54:17 +0000 (13:54 +0100)]
Updated LowGerman translation

14 years agoBug 612502 - Add support for class private data
Sebastian Dröge [Wed, 17 Mar 2010 14:11:00 +0000 (15:11 +0100)]
Bug 612502 - Add support for class private data

This adds the two new functions g_type_add_class_private()
and g_type_class_get_private() and a convenience macro
for the getter G_TYPE_CLASS_GET_PRIVATE().

14 years agoThe fallback parameter to g_convert_with_fallback() should be const
Benjamin Otte [Tue, 16 Mar 2010 15:34:50 +0000 (16:34 +0100)]
The fallback parameter to g_convert_with_fallback() should be const

This patch makes it so.

14 years agoBug 612502 - build fails on glib/tests/gvariant.c
Ryan Lortie [Mon, 15 Mar 2010 21:45:02 +0000 (17:45 -0400)]
Bug 612502 - build fails on glib/tests/gvariant.c

Fix two problems caught by Tim Rice.

  - non-constant expression used as array size
  - arithmetic on void *

14 years agoUse static assert over runtime assert if possible
Christian Persch [Sun, 7 Feb 2010 12:39:10 +0000 (13:39 +0100)]
Use static assert over runtime assert if possible

We can test the these at compile time. Bug #609231.

14 years agoAdded LowGerman translation
Nils-Christoph Fiedler [Mon, 15 Mar 2010 13:18:48 +0000 (14:18 +0100)]
Added LowGerman translation