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.
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.
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.
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>
Matthias Clasen [Wed, 14 Jun 2006 13:48:27 +0000 (13:48 +0000)]
Fix 344868
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.
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().
Matthias Clasen [Mon, 12 Jun 2006 15:40:07 +0000 (15:40 +0000)]
Bump version
Matthias Clasen [Mon, 12 Jun 2006 15:37:27 +0000 (15:37 +0000)]
2.11.3
Matthias Clasen [Mon, 12 Jun 2006 14:38:50 +0000 (14:38 +0000)]
Updates
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.
N Jayaradha [Fri, 9 Jun 2006 00:42:18 +0000 (00:42 +0000)]
translated by felix updated by Jayaradha
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)
Ilkka Tuohela [Tue, 6 Jun 2006 00:20:13 +0000 (00:20 +0000)]
Updated Finnish translation
Matthias Clasen [Mon, 5 Jun 2006 17:35:54 +0000 (17:35 +0000)]
Bump version
Matthias Clasen [Mon, 5 Jun 2006 17:34:53 +0000 (17:34 +0000)]
2.11.2
Matthias Clasen [Mon, 5 Jun 2006 15:38:04 +0000 (15:38 +0000)]
Revert accidental commit
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.
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)
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)
Behdad Esfahbod [Fri, 2 Jun 2006 21:54:04 +0000 (21:54 +0000)]
Moving ChangeLog entry to gobject/.
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)
Matthias Clasen [Fri, 2 Jun 2006 02:55:50 +0000 (02:55 +0000)]
fixups
Matthias Clasen [Fri, 2 Jun 2006 02:50:38 +0000 (02:50 +0000)]
More additions
Matthias Clasen [Fri, 2 Jun 2006 02:42:24 +0000 (02:42 +0000)]
document new api
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)
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.
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)
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)
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.
Pema Geyleg [Mon, 29 May 2006 05:28:05 +0000 (05:28 +0000)]
*** empty log message ***
Matthias Clasen [Mon, 29 May 2006 00:57:22 +0000 (00:57 +0000)]
Small optimizations
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.
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.
Clytie Siddall [Thu, 25 May 2006 12:23:22 +0000 (12:23 +0000)]
vi.po: Updated Vietnamese translation.
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.
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.
Matthias Clasen [Wed, 24 May 2006 12:58:26 +0000 (12:58 +0000)]
Don't compile timeloop on Minix
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.
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)
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>
Matthias Clasen [Sat, 20 May 2006 03:16:46 +0000 (03:16 +0000)]
Forgotten file
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).
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.
Ignacio Casal Quinteiro [Tue, 16 May 2006 11:07:31 +0000 (11:07 +0000)]
*** empty log message ***
Matthias Clasen [Tue, 16 May 2006 05:49:46 +0000 (05:49 +0000)]
g_ascii_strtoll
Matthias Clasen [Mon, 15 May 2006 17:40:38 +0000 (17:40 +0000)]
bump version
Matthias Clasen [Mon, 15 May 2006 17:16:28 +0000 (17:16 +0000)]
2.11.1
Matthias Clasen [Mon, 15 May 2006 15:29:21 +0000 (15:29 +0000)]
Fix a ChangeLog misedit
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)
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)
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.
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)
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)
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)
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)
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.
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
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.
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.
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.
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)
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.
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.
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)
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.
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)
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.
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)
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...
Matthias Clasen [Wed, 3 May 2006 02:12:01 +0000 (02:12 +0000)]
Bump version
Matthias Clasen [Wed, 3 May 2006 02:05:01 +0000 (02:05 +0000)]
2.11.0
Matthias Clasen [Tue, 2 May 2006 15:42:18 +0000 (15:42 +0000)]
document a little pitfall
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.
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.
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.
Funda Wang [Tue, 2 May 2006 05:03:38 +0000 (05:03 +0000)]
Updated glib zh_CN translation.
Ankitkumar Rameshchandra Patel [Tue, 2 May 2006 03:09:00 +0000 (03:09 +0000)]
Updated Translation
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.
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.
Behdad Esfahbod [Sat, 29 Apr 2006 10:02:54 +0000 (10:02 +0000)]
Add a period.
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>
Matthias Clasen [Thu, 27 Apr 2006 23:31:36 +0000 (23:31 +0000)]
Small fixes
Matthias Clasen [Thu, 27 Apr 2006 23:28:43 +0000 (23:28 +0000)]
Updates
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)
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)
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.
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)
Matthias Clasen [Thu, 27 Apr 2006 19:20:10 +0000 (19:20 +0000)]
additions
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.
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)
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.
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.
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)
Matthias Clasen [Mon, 24 Apr 2006 21:12:52 +0000 (21:12 +0000)]
Updates
Matthias Clasen [Mon, 24 Apr 2006 20:50:12 +0000 (20:50 +0000)]
forgotten file
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.
Å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.
Matthias Clasen [Sun, 23 Apr 2006 04:21:08 +0000 (04:21 +0000)]
Fix some problems with my last commit
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.