platform/upstream/glib.git
17 years agoFix 344868
Matthias Clasen [Wed, 14 Jun 2006 13:48:27 +0000 (13:48 +0000)]
Fix 344868

17 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.

17 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().

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

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

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

17 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.

17 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

17 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)

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

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

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

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

17 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.

17 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)

17 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)

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

17 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)

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

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

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

17 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)

17 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.

17 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)

17 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)

17 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.

17 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

18 years agoadded test code from Behdad Esfahbod, see #337128.
Tim Janik [Tue, 2 May 2006 13:01:10 +0000 (13:01 +0000)]
added test code from Behdad Esfahbod, see #337128.

Tue May  2 15:00:00 2006  Tim Janik  <timj@gtk.org>

        * tests/gobject/deftype.c: added test code from Behdad Esfahbod,
        see #337128.

18 years agosplit up G_DEFINE_*TYPE macro definitions so C CODE arguments are not
Tim Janik [Tue, 2 May 2006 13:00:52 +0000 (13:00 +0000)]
split up G_DEFINE_*TYPE macro definitions so C CODE arguments are not

Tue May  2 14:51:03 2006  Tim Janik  <timj@gtk.org>

        * gtype.h: split up G_DEFINE_*TYPE macro definitions so C CODE arguments
        are not passed on to nested macro calls. patch mostly courtesy of Behdad
        Esfahbod, fixes #337128.

18 years agofixed leak in short option parsing. rewrote parts of the code to be more
Tim Janik [Tue, 2 May 2006 12:20:39 +0000 (12:20 +0000)]
fixed leak in short option parsing. rewrote parts of the code to be more

Tue May  2 14:18:25 2006  Tim Janik  <timj@gtk.org>

        * glib/goption.c (g_option_context_parse): fixed leak in short
        option parsing. rewrote parts of the code to be more concise to
        enhance readability. fixed exaggerated uses of strlen.

18 years agoUpdated glib zh_CN translation.
Funda Wang [Tue, 2 May 2006 05:03:38 +0000 (05:03 +0000)]
Updated glib zh_CN translation.

18 years agoUpdated Translation
Ankitkumar Rameshchandra Patel [Tue, 2 May 2006 03:09:00 +0000 (03:09 +0000)]
Updated Translation

18 years agoAdd gbookmarkfile.c Adjust accordingly.
Kjartan Maraas [Sun, 30 Apr 2006 12:01:42 +0000 (12:01 +0000)]
Add gbookmarkfile.c Adjust accordingly.

2006-04-30  Kjartan Maraas  <kmaraas@gnome.org>

* POTFILES.in: Add gbookmarkfile.c
* nb.po: Adjust accordingly.

18 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Sun, 30 Apr 2006 11:52:29 +0000 (11:52 +0000)]
Updated Norwegian bokmål translation.

2006-04-30  Kjartan Maraas  <kmaraas@gnome.org>

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

18 years agoAdd a period.
Behdad Esfahbod [Sat, 29 Apr 2006 10:02:54 +0000 (10:02 +0000)]
Add a period.

18 years ago#include <stdlib.h>
Behdad Esfahbod [Fri, 28 Apr 2006 20:38:45 +0000 (20:38 +0000)]
#include <stdlib.h>

2006-04-28  Behdad Esfahbod  <behdad@gnome.org>

        * glib/guniprop.c: #include <stdlib.h>

18 years agoSmall fixes
Matthias Clasen [Thu, 27 Apr 2006 23:31:36 +0000 (23:31 +0000)]
Small fixes

18 years agoUpdates
Matthias Clasen [Thu, 27 Apr 2006 23:28:43 +0000 (23:28 +0000)]
Updates

18 years agodocs/reference/glib/glib-sections.txt, Implement g_unichar_iswide_cjk().
Behdad Esfahbod [Thu, 27 Apr 2006 21:14:47 +0000 (21:14 +0000)]
docs/reference/glib/glib-sections.txt, Implement g_unichar_iswide_cjk().

2006-04-27  Behdad Esfahbod  <behdad@gnome.org>

        * docs/reference/glib/glib-sections.txt,
        * glib/gunicode.h glib/guniprop.c: Implement g_unichar_iswide_cjk().
        (#105626)

18 years ago (bookmark_app_info_dump): Escape strings before dumping
Matthias Clasen [Thu, 27 Apr 2006 20:44:42 +0000 (20:44 +0000)]
(bookmark_app_info_dump): Escape strings before dumping
them in xml.  (#339340, Morten Welinder)

18 years agoRemove some special-casing of empty string which led to dangling pointers.
Matthias Clasen [Thu, 27 Apr 2006 20:25:26 +0000 (20:25 +0000)]
Remove some special-casing of empty string which led to dangling pointers.

2006-04-27  Matthias Clasen  <mclasen@redhat.com>

* glib/gbookmarkfile.c (g_bookmark_file_set_description)
(g_bookmark_file_set_title, g_bookmark_file_set_icon):
Remove some special-casing of empty string which led to
dangling pointers.  (#339337, Morten Welinder)
(expand_exec_line): Don't use printf() needlessly, handle
trailing '%' gracefully.  (#339338, Morten Welinder)
(is_element_full): Silence the compiler.

18 years agoRemove some special-casing of empty string which led to dangling pointers.
Matthias Clasen [Thu, 27 Apr 2006 20:04:30 +0000 (20:04 +0000)]
Remove some special-casing of empty string which led to dangling pointers.

2006-04-27  Matthias Clasen  <mclasen@redhat.com>

* glib/gbookmarkfile.c (g_bookmark_file_set_description)
(g_bookmark_file_set_title, g_bookmark_file_set_icon):
Remove some special-casing of empty string which led to
dangling pointers.  (#339337, Morten Welinder)

18 years agoadditions
Matthias Clasen [Thu, 27 Apr 2006 19:20:10 +0000 (19:20 +0000)]
additions

18 years agoRegenerated using Unicode Character Database 5.0 beta.
Behdad Esfahbod [Thu, 27 Apr 2006 06:39:42 +0000 (06:39 +0000)]
Regenerated using Unicode Character Database 5.0 beta.

2006-04-27  Behdad Esfahbod  <behdad@gnome.org>

        * glib/gunibreak.h, glib/gunichartables.h: Regenerated using
        Unicode Character Database 5.0 beta.

18 years agoDon't repeat a failed fclose() call, since that invokes undefined
Matthias Clasen [Wed, 26 Apr 2006 04:19:48 +0000 (04:19 +0000)]
Don't repeat a failed fclose() call, since that invokes undefined

2006-04-26  Matthias Clasen  <mclasen@redhat.com>

* glib/grand.c (g_rand_new): Don't repeat a failed fclose()
call, since that invokes undefined behaviour.  (Coverity)

18 years agoAvoid a possible NULL dereference (found by Coverity), also avoid some
Matthias Clasen [Wed, 26 Apr 2006 03:55:43 +0000 (03:55 +0000)]
Avoid a possible NULL dereference (found by Coverity), also avoid some

2006-04-25  Matthias Clasen  <mclasen@redhat.com>

* glib/gbookmarkfile.c (is_element_full): Avoid a possible
NULL dereference (found by Coverity), also avoid some
pointless strdups.

18 years agoAdd a test for the previous change.
Matthias Clasen [Wed, 26 Apr 2006 03:12:03 +0000 (03:12 +0000)]
Add a test for the previous change.

2006-04-25  Matthias Clasen  <mclasen@redhat.com>

* tests/keyfile-test.c (test_comments): Add a test for
the previous change.

18 years agoRemove redundant code. (g_key_file_get_group_comment): Don't dereference
Matthias Clasen [Tue, 25 Apr 2006 20:30:59 +0000 (20:30 +0000)]
Remove redundant code. (g_key_file_get_group_comment): Don't dereference

2006-04-25  Matthias Clasen  <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_lookup_group_node): Remove
redundant code.
(g_key_file_get_group_comment): Don't dereference before
checking for NULL.  (#338572, Coverity, Pascal Terjan)

18 years agoUpdates
Matthias Clasen [Mon, 24 Apr 2006 21:12:52 +0000 (21:12 +0000)]
Updates

18 years agoforgotten file
Matthias Clasen [Mon, 24 Apr 2006 20:50:12 +0000 (20:50 +0000)]
forgotten file

18 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Sun, 23 Apr 2006 17:53:03 +0000 (17:53 +0000)]
Translation updated by Tino Meinen.

2006-04-23  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

18 years agoUpdated Norwegian Nynorsk translation.
Åsmund Skjæveland [Sun, 23 Apr 2006 14:21:55 +0000 (14:21 +0000)]
Updated Norwegian Nynorsk translation.

2006-04-23  Åsmund Skjæveland  <aasmunds@fys.uio.no>

* nn.po: Updated Norwegian Nynorsk translation.

18 years agoFix some problems with my last commit
Matthias Clasen [Sun, 23 Apr 2006 04:21:08 +0000 (04:21 +0000)]
Fix some problems with my last commit

18 years agoTranslation updated by David Lodge.
David Lodge [Fri, 21 Apr 2006 21:26:31 +0000 (21:26 +0000)]
Translation updated by David Lodge.

2006-04-21  David Lodge  <dave@cirt.net>

* en_GB.po: Translation updated by David Lodge.

18 years agodocumentation additions
Matthias Clasen [Fri, 21 Apr 2006 16:54:15 +0000 (16:54 +0000)]
documentation additions

18 years agoAdd g_type_register_static_simple
Matthias Clasen [Fri, 21 Apr 2006 16:53:02 +0000 (16:53 +0000)]
Add g_type_register_static_simple

18 years ago*** empty log message ***
Ignacio Casal Quinteiro [Fri, 21 Apr 2006 12:24:31 +0000 (12:24 +0000)]
*** empty log message ***

18 years agoUpdated Translation
Rajesh Ranjan [Fri, 21 Apr 2006 06:12:19 +0000 (06:12 +0000)]
Updated Translation