platform/upstream/glib.git
18 years agoUpdated Basque translation.
Inaki Larranaga [Wed, 5 Jul 2006 17:06:21 +0000 (17:06 +0000)]
Updated Basque translation.

2006-07-05  Inaki Larranaga  <dooteo@euskalgnu.org>

* eu.po: Updated Basque translation.

18 years agoFix typos in the docs. (#346660, Mark Drago)
Matthias Clasen [Wed, 5 Jul 2006 16:42:19 +0000 (16:42 +0000)]
Fix typos in the docs. (#346660, Mark Drago)

2006-07-05  Matthias Clasen  <mclasen@redhat.com>

* glib/gbase64.c: Fix typos in the docs.  (#346660, Mark
Drago)

18 years agoUpdated Bulgarian translation by Alexander Shopov <ash@contact.bg>
Alexander Shopov [Wed, 5 Jul 2006 13:20:18 +0000 (13:20 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>

2006-07-05  Alexander Shopov  <ash@contact.bg>

* bg.po: Updated Bulgarian translation by
Alexander Shopov <ash@contact.bg>

18 years ago2006-07-05 Jovan Naumovski <jovanna@cvs.gnome.org> * mk.po: Updated Macedonian Transl...
Jovan Naumovski [Wed, 5 Jul 2006 01:00:13 +0000 (01:00 +0000)]
2006-07-05 Jovan Naumovski <jovanna@cvs.gnome.org> * mk.po: Updated Macedonian Translation

18 years agoFixed 'kết thức'
Nguyen Thai Ngoc Duy [Mon, 3 Jul 2006 15:13:24 +0000 (15:13 +0000)]
Fixed 'kết thức'

18 years agoUpdated Japanese translation for v2.12.0 (HEAD).
Takeshi AIHANA [Mon, 3 Jul 2006 13:47:46 +0000 (13:47 +0000)]
Updated Japanese translation for v2.12.0 (HEAD).

2006-07-03  Takeshi AIHANA <takeshi.aihana@gmail.com>

* ja.po: Updated Japanese translation for v2.12.0 (HEAD).

18 years agoAdded Entry for Updated Oriya translation
Subhransu Behera [Mon, 3 Jul 2006 10:45:27 +0000 (10:45 +0000)]
Added Entry for Updated Oriya translation

18 years agoUpdated Oriya translation
Subhransu Behera [Mon, 3 Jul 2006 10:44:07 +0000 (10:44 +0000)]
Updated Oriya translation

18 years agoAdded Entry for Bengali India Translation
Runa Bhattacharjee [Mon, 3 Jul 2006 08:28:17 +0000 (08:28 +0000)]
Added Entry for Bengali India Translation

18 years agoAdded entry for Bengali India (bn_IN) addition to ALL_LINGUAS in configure.in
Runa Bhattacharjee [Mon, 3 Jul 2006 08:27:27 +0000 (08:27 +0000)]
Added entry for Bengali India (bn_IN) addition to ALL_LINGUAS in configure.in

18 years agoAdded Bengali India (bn_IN) to ALL_LINGUAS
Runa Bhattacharjee [Mon, 3 Jul 2006 08:26:55 +0000 (08:26 +0000)]
Added Bengali India (bn_IN) to ALL_LINGUAS

18 years agoAdded Bengali India (bn_IN) Translation
Runa Bhattacharjee [Mon, 3 Jul 2006 08:25:10 +0000 (08:25 +0000)]
Added Bengali India (bn_IN) Translation

18 years agoBump version
Matthias Clasen [Sun, 2 Jul 2006 20:17:00 +0000 (20:17 +0000)]
Bump version

18 years ago2.12.0 GLIB_2_12_0
Matthias Clasen [Sun, 2 Jul 2006 19:52:14 +0000 (19:52 +0000)]
2.12.0

18 years agoUpdates
Matthias Clasen [Sun, 2 Jul 2006 18:44:18 +0000 (18:44 +0000)]
Updates

18 years agoSet version to 2.12
Matthias Clasen [Sun, 2 Jul 2006 18:35:53 +0000 (18:35 +0000)]
Set version to 2.12

18 years agoUpdated Welsh translation.
Rhys Jones [Thu, 29 Jun 2006 18:37:50 +0000 (18:37 +0000)]
Updated Welsh translation.

2006-06-29  Rhys Jones  <rhys@sucs.org>

* cy.po: Updated Welsh translation.

18 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Mon, 26 Jun 2006 19:31:25 +0000 (19:31 +0000)]
Updated Norwegian bokmål translation.

2006-06-26  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Updated Norwegian bokmål translation.

18 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Sun, 25 Jun 2006 09:24:48 +0000 (09:24 +0000)]
Translation updated by Tino Meinen.

2006-06-25  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

18 years agoFix an off-by-2 error in the leap year calculation. (#344905, Dan Winship)
Matthias Clasen [Tue, 20 Jun 2006 16:37:43 +0000 (16:37 +0000)]
Fix an off-by-2 error in the leap year calculation. (#344905, Dan Winship)

2006-06-20  Matthias Clasen  <mclasen@redhat.com>

* glib/gtimer.c (mktime_utc): Fix an off-by-2 error
in the leap year calculation.  (#344905, Dan Winship)

* tests/testglib.c (main): Change the test data for
the g_time_val_from_iso8601 tests to expose an off-by-2
error in the leap year calculation.

18 years agoBump version
Matthias Clasen [Tue, 20 Jun 2006 15:10:41 +0000 (15:10 +0000)]
Bump version

18 years ago2.11.4 GLIB_2_11_4
Matthias Clasen [Tue, 20 Jun 2006 15:09:06 +0000 (15:09 +0000)]
2.11.4

18 years agoUpdated Translation
Rajesh Ranjan [Tue, 20 Jun 2006 08:46:37 +0000 (08:46 +0000)]
Updated Translation

18 years agoUpdated German translation.
Hendrik Richter [Mon, 19 Jun 2006 13:29:42 +0000 (13:29 +0000)]
Updated German translation.

2006-06-19  Hendrik Richter  <hendrikr@gnome.org>

* de.po: Updated German translation.

18 years agoUpdated French translation.
Benoît Dejean [Mon, 19 Jun 2006 10:04:13 +0000 (10:04 +0000)]
Updated French translation.

2006-06-19  Benoît Dejean  <benoit@placenet.org>

        * fr.po: Updated French translation.

18 years agoUpdated Translation
Ankitkumar Rameshchandra Patel [Mon, 19 Jun 2006 06:09:49 +0000 (06:09 +0000)]
Updated Translation

18 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Mon, 19 Jun 2006 04:53:16 +0000 (04:53 +0000)]
Updated Spanish translation.

2006-06-19  Francisco Javier F. Serrador  <serrador@openshine.com>

* es.po: Updated Spanish translation.

18 years agoUpdated Korean translation.
Changwoo Ryu [Sat, 17 Jun 2006 06:42:58 +0000 (06:42 +0000)]
Updated Korean translation.

2006-06-17  Changwoo Ryu  <cwryu@debian.org>

* ko.po: Updated Korean translation.

18 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Sat, 17 Jun 2006 04:00:57 +0000 (04:00 +0000)]
Updated Thai translation.

2006-06-17  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* th.po: Updated Thai translation.

18 years agoAdd tests.
Matthias Clasen [Fri, 16 Jun 2006 15:12:32 +0000 (15:12 +0000)]
Add tests.

2006-06-16  Matthias Clasen  <mclasen@redhat.com>

* tests/file-test.c (test_mkstemp): Add tests.

* glib/gfileutils.c (g_mkstemp): Allow the XXXXXX to occur
inside the template, not just at the end.

18 years agoSeparate groups by an empty line (#344868, Christian Persch)
Matthias Clasen [Thu, 15 Jun 2006 19:18:51 +0000 (19:18 +0000)]
Separate groups by an empty line (#344868, Christian Persch)

2006-06-14  Matthias Clasen  <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_to_data): Separate groups by
an empty line  (#344868, Christian Persch)

2006-06-14  Tor Lillqvist  <tml@novell.com>

18 years agoFix 344868
Matthias Clasen [Wed, 14 Jun 2006 13:48:27 +0000 (13:48 +0000)]
Fix 344868

18 years agoAdd Windows notes to doc comment.
Tor Lillqvist [Tue, 13 Jun 2006 22:46:52 +0000 (22:46 +0000)]
Add Windows notes to doc comment.

2006-06-14  Tor Lillqvist  <tml@novell.com>

* glib/gutils.c (g_listenv): Add Windows notes to doc comment.

18 years agoReturn a boolean instead of void.
Emmanuele Bassi [Mon, 12 Jun 2006 17:19:13 +0000 (17:19 +0000)]
Return a boolean instead of void.

2006-06-12  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* glib/gbookmarkfile.h:
* glib/gbookmarkfile.c (g_bookmark_file_remove_item): Return
a boolean instead of void.

* tests/bookmarkfile-test.c (test_modify): Add a test case
for g_bookmark_file_remove_item().

18 years agoBump version
Matthias Clasen [Mon, 12 Jun 2006 15:40:07 +0000 (15:40 +0000)]
Bump version

18 years ago2.11.3 GLIB_2_11_3
Matthias Clasen [Mon, 12 Jun 2006 15:37:27 +0000 (15:37 +0000)]
2.11.3

18 years agoUpdates
Matthias Clasen [Mon, 12 Jun 2006 14:38:50 +0000 (14:38 +0000)]
Updates

18 years agoUse an empty string to pass the test in set_app_info.
Emmanuele Bassi [Fri, 9 Jun 2006 18:09:22 +0000 (18:09 +0000)]
Use an empty string to pass the test in set_app_info.

2006-06-09  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* glib/gbookmarkfile.c (g_bookmark_file_remove_application): Use
an empty string to pass the test in set_app_info.

(g_bookmark_file_move_item): Remove the old item from the
look up table; return success in case of empty target.

18 years agotranslated by felix updated by Jayaradha
N Jayaradha [Fri, 9 Jun 2006 00:42:18 +0000 (00:42 +0000)]
translated by felix updated by Jayaradha

18 years agoWorkaround for bug in strxfrm() in Microsoft's newer C runtimes. (#343919,
Tor Lillqvist [Thu, 8 Jun 2006 15:24:10 +0000 (15:24 +0000)]
Workaround for bug in strxfrm() in Microsoft's newer C runtimes. (#343919,

2006-06-08  Tor Lillqvist  <tml@novell.com>

* glib/gunicollate.c (msc_strxfrm_wrapper): Workaround for bug in
strxfrm() in Microsoft's newer C runtimes. (#343919, Kazuki
Iwamoto)

18 years agoUpdated Finnish translation
Ilkka Tuohela [Tue, 6 Jun 2006 00:20:13 +0000 (00:20 +0000)]
Updated Finnish translation

18 years agoBump version
Matthias Clasen [Mon, 5 Jun 2006 17:35:54 +0000 (17:35 +0000)]
Bump version

18 years ago2.11.2 GLIB_2_11_2
Matthias Clasen [Mon, 5 Jun 2006 17:34:53 +0000 (17:34 +0000)]
2.11.2

18 years agoRevert accidental commit
Matthias Clasen [Mon, 5 Jun 2006 15:38:04 +0000 (15:38 +0000)]
Revert accidental commit

18 years agoUpdated Korean translation.
Changwoo Ryu [Mon, 5 Jun 2006 15:17:13 +0000 (15:17 +0000)]
Updated Korean translation.

2006-06-06  Changwoo Ryu  <cwryu@debian.org>

* ko.po: Updated Korean translation.

18 years agoDon't leak the dispatch struct. (#321886)
Matthias Clasen [Mon, 5 Jun 2006 15:02:51 +0000 (15:02 +0000)]
Don't leak the dispatch struct. (#321886)

2006-06-05  Matthias Clasen  <mclasen@redhat.com>

* glib/gmain.c (get_dispatch): Don't leak the
dispatch struct.  (#321886)

18 years agoAdd some tests involving leading whitespace.
Matthias Clasen [Mon, 5 Jun 2006 14:16:47 +0000 (14:16 +0000)]
Add some tests involving leading whitespace.

2006-06-05  Matthias Clasen  <mclasen@redhat.com>

* tests/strtod-test.c: Add some tests involving
leading whitespace.

* glib/gstrfuncs.c (g_ascii_formatd): Skip leading
whitespace.  (#343899, Øystein Johansen)

18 years agoMoving ChangeLog entry to gobject/.
Behdad Esfahbod [Fri, 2 Jun 2006 21:54:04 +0000 (21:54 +0000)]
Moving ChangeLog entry to gobject/.

18 years agoMake value_name and value_nick const in structs _GEnumValue and
Behdad Esfahbod [Fri, 2 Jun 2006 21:42:48 +0000 (21:42 +0000)]
Make value_name and value_nick const in structs _GEnumValue and

2006-06-02  Behdad Esfahbod  <behdad@gnome.org>

        * gobject/genum.h: Make value_name and value_nick const in structs
        _GEnumValue and _GFlagValue.  (#317793)

18 years agofixups
Matthias Clasen [Fri, 2 Jun 2006 02:55:50 +0000 (02:55 +0000)]
fixups

18 years agoMore additions
Matthias Clasen [Fri, 2 Jun 2006 02:50:38 +0000 (02:50 +0000)]
More additions

18 years agodocument new api
Matthias Clasen [Fri, 2 Jun 2006 02:42:24 +0000 (02:42 +0000)]
document new api

18 years agoAdd two new functions, g_source_set_funcs and g_source_is_destroyed, that
Matthias Clasen [Fri, 2 Jun 2006 02:36:30 +0000 (02:36 +0000)]
Add two new functions, g_source_set_funcs and g_source_is_destroyed, that

2006-06-01  Matthias Clasen  <mclasen@redhat.com>

* glib/glib.symbols:
* glib/gmain.h:
* glib/gmain.c: Add two new functions,
g_source_set_funcs and g_source_is_destroyed,
that will be necessary to solve thread-safety
issues with idles in GTK+.  (#321886, Chris Wilson)

18 years agoAvoid running in an assertion with small writes. (#343566, Chris Wilson)
Matthias Clasen [Thu, 1 Jun 2006 15:57:38 +0000 (15:57 +0000)]
Avoid running in an assertion with small writes. (#343566, Chris Wilson)

2006-06-01  Matthias Clasen  <mclasen@redhat.com>

* glib/giochannel.c (g_io_channel_write_chars): Avoid
running in an assertion with small writes.  (#343566, Chris
Wilson)

* tests/iochannel-test.c: Add a testcase for small writes.

18 years agoAdd g_hash_table_{remove,steal}_all to remove all nodes from a hash table.
Matthias Clasen [Thu, 1 Jun 2006 14:16:39 +0000 (14:16 +0000)]
Add g_hash_table_{remove,steal}_all to remove all nodes from a hash table.

2006-06-01  Matthias Clasen  <mclasen@redhat.com>

* glib/glib.symbols:
* glib/ghash.h:
* glib/ghash.c: Add g_hash_table_{remove,steal}_all to
remove all nodes from a hash table.  (#168538, Matt Barnes)

18 years agoCleanup. Use return value of g_string_free(...). (#343548, Chris Wilson)
Behdad Esfahbod [Thu, 1 Jun 2006 04:51:25 +0000 (04:51 +0000)]
Cleanup. Use return value of g_string_free(...). (#343548, Chris Wilson)

2006-06-01  Behdad Esfahbod  <behdad@gnome.org>

        * glib/gkeyfile.c (g_key_file_to_data),
        (g_key_file_parse_value_as_comment),
        (g_key_file_parse_comment_as_value):
        * glib/gscanner.c (g_scanner_get_token_ll): Cleanup. Use return
        value of g_string_free(...). (#343548, Chris Wilson)

18 years agoamend G_TYPE_CHAR according to #303622.
Tim Janik [Wed, 31 May 2006 09:41:30 +0000 (09:41 +0000)]
amend G_TYPE_CHAR according to #303622.

Wed May 31 11:35:48 2006  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/gtype.sgml (Note): amend G_TYPE_CHAR according to #303622.

18 years ago*** empty log message ***
Pema Geyleg [Mon, 29 May 2006 05:28:05 +0000 (05:28 +0000)]
*** empty log message ***

18 years agoSmall optimizations
Matthias Clasen [Mon, 29 May 2006 00:57:22 +0000 (00:57 +0000)]
Small optimizations

18 years agoAdd a GMarkupParseFlags flag for treating CDATA as text.
Matthias Clasen [Mon, 29 May 2006 00:08:30 +0000 (00:08 +0000)]
Add a GMarkupParseFlags flag for treating CDATA as text.

2006-05-28  Matthias Clasen  <mclasen@redhat.com>

* glib/gmarkup.h: Add a GMarkupParseFlags flag for
treating CDATA as text.

* glib/gmarkup.c (g_markup_parse_context_parse):
Implement it here.

18 years agoOutput that test-markup is expected to produce when run on the valid
Matthias Clasen [Sun, 28 May 2006 22:58:41 +0000 (22:58 +0000)]
Output that test-markup is expected to produce when run on the valid

2006-05-28  Matthias Clasen  <mclasen@redhat.com>

* tests/markups/expected-*: Output that test-markup
is expected to produce when run on the valid gmarkup
examples.

* tests/markup-test.c: Only dump the results of the
first, unchunked parse, to compare it against the expected
output.

* tests/run-markup-tests.sh: For valid examples, compare
the output of test-markup against the corresponding
expected-<n> file.

18 years agovi.po: Updated Vietnamese translation.
Clytie Siddall [Thu, 25 May 2006 12:23:22 +0000 (12:23 +0000)]
vi.po: Updated Vietnamese translation.

18 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Thu, 25 May 2006 09:42:32 +0000 (09:42 +0000)]
Translation updated by Tino Meinen.

2006-05-25  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

18 years agoUpdated Basque translation.
Inaki Larranaga [Wed, 24 May 2006 18:01:19 +0000 (18:01 +0000)]
Updated Basque translation.

2006-05-24  Inaki Larranaga  <doteo@euskalgnu.org>

* eu.po: Updated Basque translation.

18 years agoDon't compile timeloop on Minix
Matthias Clasen [Wed, 24 May 2006 12:58:26 +0000 (12:58 +0000)]
Don't compile timeloop on Minix

18 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Tue, 23 May 2006 08:44:22 +0000 (08:44 +0000)]
Updated Thai translation.

2006-05-23  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* th.po: Updated Thai translation.

18 years agoRun _g_atomic_thread_init as the first of the full fledged initializers to
Sebastian Wilhelmi [Tue, 23 May 2006 01:33:16 +0000 (01:33 +0000)]
Run _g_atomic_thread_init as the first of the full fledged initializers to

2006-05-22  Sebastian Wilhelmi  <wilhelmi@google.com>

* glib/gthread.c (g_thread_init_glib): Run _g_atomic_thread_init
as the first of the full fledged initializers to allow the later
to potentially use atomic ints (which they currently do
not). (#342563, Peter Kjellerstedt)

18 years agoUpdated Bulgarian translation by Alexander Shopov <ash@contact.bg>
Alexander Shopov [Sun, 21 May 2006 07:37:31 +0000 (07:37 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>

2006-05-21  Alexander Shopov  <ash@contact.bg>

* bg.po: Updated Bulgarian translation
by Alexander Shopov  <ash@contact.bg>

18 years agoForgotten file
Matthias Clasen [Sat, 20 May 2006 03:16:46 +0000 (03:16 +0000)]
Forgotten file

18 years agoUpdated Japanese translation for v2.11.1 (HEAD).
Takeshi AIHANA [Tue, 16 May 2006 15:18:32 +0000 (15:18 +0000)]
Updated Japanese translation for v2.11.1 (HEAD).

2006-05-17  Takeshi AIHANA <takeshi.aihana@gmail.com>

* ja.po: Updated Japanese translation for v2.11.1 (HEAD).

18 years agoturn off compiler warnings, #337129.
Tim Janik [Tue, 16 May 2006 12:02:29 +0000 (12:02 +0000)]
turn off compiler warnings, #337129.

Tue May 16 14:01:43 2006  Tim Janik  <timj@imendio.com>

        * gtype.h (G_IMPLEMENT_INTERFACE): turn off compiler warnings, #337129.

18 years ago*** empty log message ***
Ignacio Casal Quinteiro [Tue, 16 May 2006 11:07:31 +0000 (11:07 +0000)]
*** empty log message ***

18 years agog_ascii_strtoll
Matthias Clasen [Tue, 16 May 2006 05:49:46 +0000 (05:49 +0000)]
g_ascii_strtoll

18 years agobump version
Matthias Clasen [Mon, 15 May 2006 17:40:38 +0000 (17:40 +0000)]
bump version

18 years ago2.11.1 GLIB_2_11_1
Matthias Clasen [Mon, 15 May 2006 17:16:28 +0000 (17:16 +0000)]
2.11.1

18 years agoFix a ChangeLog misedit
Matthias Clasen [Mon, 15 May 2006 15:29:21 +0000 (15:29 +0000)]
Fix a ChangeLog misedit

18 years agoFix several cases of deref-before-NULL-check. (#341191, Pascal Terjan)
Matthias Clasen [Sat, 13 May 2006 04:36:45 +0000 (04:36 +0000)]
Fix several cases of deref-before-NULL-check. (#341191, Pascal Terjan)

2006-05-13  Matthias Clasen  <mclasen@redhat.com>

* glib/grel.c: Fix several cases of deref-before-NULL-check.
(#341191, Pascal Terjan)

18 years agoAllow optional summary and description texts before and after the option
Matthias Clasen [Sat, 13 May 2006 04:23:38 +0000 (04:23 +0000)]
Allow optional summary and description texts before and after the option

2006-05-13  Matthias Clasen  <mclasen@redhat.com>

* glib/glib.symbols:
* glib/goption.h:
* glib/goption.c: Allow optional summary and description
texts before and after the option descriptions, and add
a way to translate them.  (#336120, Behdad Esfahbod)

18 years agoImplement setting/clearing G_IO_FLAG_NONBLOCK for channels attached to
Tor Lillqvist [Fri, 12 May 2006 13:20:36 +0000 (13:20 +0000)]
Implement setting/clearing G_IO_FLAG_NONBLOCK for channels attached to

2006-05-12  Tor Lillqvist  <tml@novell.com>

* glib/giowin32.c (g_io_win32_sock_set_flags): Implement
setting/clearing G_IO_FLAG_NONBLOCK for channels attached to
sockets. (#341192)
(g_io_win32_unimpl_set_flags): set_flags method for the
unimplemented case.

18 years agoadd documentation for G_OPTION_ARG_INT64
Bastien Nocera [Thu, 11 May 2006 18:37:15 +0000 (18:37 +0000)]
add documentation for G_OPTION_ARG_INT64

2006-05-11  Bastien Nocera  <hadess@hadess.net>

* glib/tmpl/option.sgml: add documentation for G_OPTION_ARG_INT64

2006-05-11  Bastien Nocera  <hadess@hadess.net>

* glib/goption.c: (parse_int64), (parse_arg), (free_changes_list):
* glib/goption.h:
* tests/option-test.c: (arg_test6), (main): add an int64 type for
GOption (G_OPTION_ARG_INT64) (#341237)

18 years agoMake the magic and location arguments to the error-checking-mutex
Sebastian Wilhelmi [Thu, 11 May 2006 00:18:46 +0000 (00:18 +0000)]
Make the magic and location arguments to the error-checking-mutex

2006-05-10  Sebastian Wilhelmi  <wilhelmi@google.com>

* glib/gthread.h, gthread/gthread-impl.c: Make the magic and
location arguments to the error-checking-mutex functions const and
do not write to them, as we might not own them. Clean up the
error-checking-mutex code quite a bit. (#335198, Chris Wilson)

18 years agoUse g_atomic_pointer_set instead of old homegrown version now that we have
Sebastian Wilhelmi [Thu, 11 May 2006 00:10:29 +0000 (00:10 +0000)]
Use g_atomic_pointer_set instead of old homegrown version now that we have

2006-05-10  Sebastian Wilhelmi  <wilhelmi@google.com>

* glib/gthread.c: Use g_atomic_pointer_set instead of old
homegrown version now that we have it. (#335198, Chris Wilson)

18 years agoPrevent calling into g_cond_wait resp. g_mutex_lock/unlock directly to
Sebastian Wilhelmi [Thu, 11 May 2006 00:08:31 +0000 (00:08 +0000)]
Prevent calling into g_cond_wait resp. g_mutex_lock/unlock directly to

2006-05-10  Sebastian Wilhelmi  <wilhelmi@google.com>

* gthread/gthread-posix.c, gthread/gthread-win32.c: Prevent
calling into g_cond_wait resp. g_mutex_lock/unlock directly to
avoid recursions into the errorcheking mutex code (and out of
principle anyway). (#335198, Chris Wilson)

18 years agoAdapt to GLib coding standards.
Sebastian Wilhelmi [Wed, 10 May 2006 23:58:27 +0000 (23:58 +0000)]
Adapt to GLib coding standards.

2006-05-10  Sebastian Wilhelmi  <wilhelmi@google.com>

* tests/errorcheck-mutex-test.c: Adapt to GLib coding standards.

18 years agoUpdates
Matthias Clasen [Wed, 10 May 2006 18:26:45 +0000 (18:26 +0000)]
Updates

2006-05-10  Matthias Clasen  <mclasen@redhat.com>

* gobject/tmpl/gtype.sgml: Updates

18 years agoRenamed to glib/gthreadprivate.h and moved system thread identifier
Sebastian Wilhelmi [Wed, 10 May 2006 00:44:50 +0000 (00:44 +0000)]
Renamed to glib/gthreadprivate.h and moved system thread identifier

2006-05-09  Sebastian Wilhelmi  <wilhelmi@google.com>

* glib/gthreadinit.h: Renamed to glib/gthreadprivate.h and moved
system thread identifier comparision and assignment macros from
glib/gthread.c to glib/gthreadprivate.h.

* glib/Makefile.am, glib/gatomic.c, glib/gconvert.c, glib/gmain.c,
glib/gmem.c, glib/gmessages.c, glib/grand.c, glib/gslice.c,
glib/gthread.c, glib/gutils.c, gthread/gthread-impl.c: Use
glib/gthreadprivate.h instead of glib/gthreadinit.h.

* gthread/gthread-impl.c: Use GSystemThread instead of GThread for
owner determination. This fixes #311043 and is mostly modeled
after the patch from jylefort@FreeBSD.org.

18 years agoUse canonical include form for internal headers. config.h is always there.
Sebastian Wilhelmi [Tue, 9 May 2006 23:07:27 +0000 (23:07 +0000)]
Use canonical include form for internal headers. config.h is always there.

2006-05-09  Sebastian Wilhelmi  <wilhelmi@google.com>

* glib/gprintf.c, glib/gspawn-win32.c, glib/gutf8.c,
gthread/gthread-impl.c, gthread/gthread-posix.c,
gthread/gthread-win32.c: Use canonical include form for internal
headers. config.h is always there.

18 years agoRemove obsolete gthread/gthread-solaris.c.
Sebastian Wilhelmi [Tue, 9 May 2006 23:00:04 +0000 (23:00 +0000)]
Remove obsolete gthread/gthread-solaris.c.

2006-05-09  Sebastian Wilhelmi  <wilhelmi@google.com>

* Remove obsolete gthread/gthread-solaris.c.

18 years agoUse encoding names which may work better on Solaris. (#340434, Alessandro
Matthias Clasen [Mon, 8 May 2006 16:58:24 +0000 (16:58 +0000)]
Use encoding names which may work better on Solaris. (#340434, Alessandro

2006-05-08  Matthias Clasen  <mclasen@redhat.com>

* tests/convert-test.c (test_one_half): Use encoding names which
may work better on Solaris.  (#340434, Alessandro Vesely)

18 years agoAdd some tests for invalid floating point numbers.
Matthias Clasen [Mon, 8 May 2006 16:48:47 +0000 (16:48 +0000)]
Add some tests for invalid floating point numbers.

2006-05-08  Matthias Clasen  <mclasen@redhat.com>

* tests/keyfile-test.c (test_number): Add some tests for
invalid floating point numbers.

18 years agoMake const, noticed by Kjartan Maraas.
Matthias Clasen [Mon, 8 May 2006 13:38:55 +0000 (13:38 +0000)]
Make const, noticed by Kjartan Maraas.

2006-05-08  Matthias Clasen  <mclasen@redhat.com>

* glib/gscanner.c (g_scanner_config_template): Make const,
noticed by Kjartan Maraas.

18 years agoFix invalid memory reads. (#340816, Nick Treleaven)
Matthias Clasen [Sun, 7 May 2006 04:02:06 +0000 (04:02 +0000)]
Fix invalid memory reads. (#340816, Nick Treleaven)

2006-05-06  Matthias Clasen  <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_set_string_list)
(g_key_file_set_locale_string_list): Fix invalid memory
reads.  (#340816, Nick Treleaven)

18 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Fri, 5 May 2006 23:10:44 +0000 (23:10 +0000)]
Updated Spanish translation.

2006-05-06  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

18 years agoFix OOB write (#340538)
Alexander Larsson [Thu, 4 May 2006 15:53:36 +0000 (15:53 +0000)]
Fix OOB write (#340538)

2006-05-04  Alexander Larsson  <alexl@redhat.com>

* glib/gbase64.c: (g_base64_decode_step):
Fix OOB write (#340538)

18 years agoAdd some more tests.
Matthias Clasen [Wed, 3 May 2006 15:27:40 +0000 (15:27 +0000)]
Add some more tests.

2006-05-03  Matthias Clasen  <mclasen@redhat.com>

* tests/base64-test.c: Add some more tests.

18 years agoFree with free() and not g_free() what has been allocated with calloc().
Tor Lillqvist [Wed, 3 May 2006 14:53:06 +0000 (14:53 +0000)]
Free with free() and not g_free() what has been allocated with calloc().

2006-05-03  Tor Lillqvist  <tml@novell.com>

* gthread-win32.c (g_thread_exit_win32_impl): Free with free() and
not g_free() what has been allocated with calloc(). (#340530, Jake
Goulding)

18 years agoUse malloced memory instead of stack-allocated, so that MALLOC_CHECK_=2
Matthias Clasen [Wed, 3 May 2006 12:23:44 +0000 (12:23 +0000)]
Use malloced memory instead of stack-allocated, so that MALLOC_CHECK_=2

2006-05-03  Matthias Clasen  <mclasen@redhat.com>

* tests/base64-test.c (test_incremental): Use malloced memory
instead of stack-allocated, so that MALLOC_CHECK_=2 catches
the OOB write...

18 years agoBump version
Matthias Clasen [Wed, 3 May 2006 02:12:01 +0000 (02:12 +0000)]
Bump version

18 years ago2.11.0 GLIB_2_11_0
Matthias Clasen [Wed, 3 May 2006 02:05:01 +0000 (02:05 +0000)]
2.11.0

18 years agodocument a little pitfall
Matthias Clasen [Tue, 2 May 2006 15:42:18 +0000 (15:42 +0000)]
document a little pitfall