Matthias Clasen
6fbcec14dc
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)
2006-05-07 04:02:06 +00:00
Francisco Javier F. Serrador
adf3537d60
Updated Spanish translation.
...
2006-05-06 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.
2006-05-05 23:10:44 +00:00
Alexander Larsson
ac059df75b
Fix OOB write ( #340538 )
...
2006-05-04 Alexander Larsson <alexl@redhat.com>
* glib/gbase64.c: (g_base64_decode_step):
Fix OOB write (#340538 )
2006-05-04 15:53:36 +00:00
Matthias Clasen
92dc9fe794
Add some more tests.
...
2006-05-03 Matthias Clasen <mclasen@redhat.com>
* tests/base64-test.c: Add some more tests.
2006-05-03 15:27:40 +00:00
Tor Lillqvist
e1d80e9f7c
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)
2006-05-03 14:53:06 +00:00
Matthias Clasen
9208517188
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...
2006-05-03 12:23:44 +00:00
Matthias Clasen
a71284ce30
Bump version
2006-05-03 02:12:01 +00:00
Matthias Clasen
4b17ee97a5
2.11.0
2006-05-03 02:05:01 +00:00
Matthias Clasen
4d0f3cf076
document a little pitfall
2006-05-02 15:42:18 +00:00
Tim Janik
a7e1f29f03
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 .
2006-05-02 13:01:10 +00:00
Tim Janik
f2649abe84
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 .
2006-05-02 13:00:52 +00:00
Tim Janik
34ee852317
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.
2006-05-02 12:20:39 +00:00
Funda Wang
fdb17e7e96
Updated glib zh_CN translation.
2006-05-02 05:03:38 +00:00
Ankitkumar Rameshchandra Patel
feb7dd785e
Updated Translation
2006-05-02 03:09:00 +00:00
Kjartan Maraas
d35b470d7d
Add gbookmarkfile.c Adjust accordingly.
...
2006-04-30 Kjartan Maraas <kmaraas@gnome.org>
* POTFILES.in: Add gbookmarkfile.c
* nb.po: Adjust accordingly.
2006-04-30 12:01:42 +00:00
Kjartan Maraas
1b50fa0521
Updated Norwegian bokmål translation.
...
2006-04-30 Kjartan Maraas <kmaraas@gnome.org>
* nb.po: Updated Norwegian bokmål translation.
2006-04-30 11:52:29 +00:00
Behdad Esfahbod
0ec029edd5
Add a period.
2006-04-29 10:02:54 +00:00
Behdad Esfahbod
d8ff28de76
#include <stdlib.h>
...
2006-04-28 Behdad Esfahbod <behdad@gnome.org>
* glib/guniprop.c: #include <stdlib.h>
2006-04-28 20:38:45 +00:00
Matthias Clasen
1e50095189
Small fixes
2006-04-27 23:31:36 +00:00
Matthias Clasen
c3f04f6af9
Updates
2006-04-27 23:28:43 +00:00
Behdad Esfahbod
8f75a97285
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 )
2006-04-27 21:14:47 +00:00
Matthias Clasen
6305847e29
(bookmark_app_info_dump): Escape strings before dumping
...
them in xml. (#339340 , Morten Welinder)
2006-04-27 20:44:42 +00:00
Matthias Clasen
86eb750432
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.
2006-04-27 20:25:26 +00:00
Matthias Clasen
6ea2f9a2c6
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)
2006-04-27 20:04:30 +00:00
Matthias Clasen
11f335d468
additions
2006-04-27 19:20:10 +00:00
Behdad Esfahbod
91ae274ad6
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.
2006-04-27 06:39:42 +00:00
Matthias Clasen
b8b28a7206
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)
2006-04-26 04:19:48 +00:00
Matthias Clasen
d4ac791e02
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.
2006-04-26 03:55:43 +00:00
Matthias Clasen
2ce08609db
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.
2006-04-26 03:12:03 +00:00
Matthias Clasen
3916fe18d6
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)
2006-04-25 20:30:59 +00:00
Matthias Clasen
5dd378d2bd
Updates
2006-04-24 21:12:52 +00:00
Matthias Clasen
8506d70257
forgotten file
2006-04-24 20:50:12 +00:00
Vincent van Adrighem
67af74aebf
Translation updated by Tino Meinen.
...
2006-04-23 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Tino Meinen.
2006-04-23 17:53:03 +00:00
Åsmund Skjæveland
7d40211c5f
Updated Norwegian Nynorsk translation.
...
2006-04-23 Åsmund Skjæveland <aasmunds@fys.uio.no>
* nn.po: Updated Norwegian Nynorsk translation.
2006-04-23 14:21:55 +00:00
Matthias Clasen
68eaeb69cb
Fix some problems with my last commit
2006-04-23 04:21:08 +00:00
David Lodge
6a79964f18
Translation updated by David Lodge.
...
2006-04-21 David Lodge <dave@cirt.net>
* en_GB.po: Translation updated by David Lodge.
2006-04-21 21:26:31 +00:00
Matthias Clasen
f37cf04194
documentation additions
2006-04-21 16:54:15 +00:00
Matthias Clasen
2e57b11a94
Add g_type_register_static_simple
2006-04-21 16:53:02 +00:00
Ignacio Casal Quinteiro
5aa4c5ef6d
*** empty log message ***
2006-04-21 12:24:31 +00:00
Rajesh Ranjan
f64585ff7a
Updated Translation
2006-04-21 06:12:19 +00:00
Matthias Clasen
8926039dde
Add some missing Since: 2.8 tags
2006-04-19 14:51:49 +00:00
Tor Lillqvist
6f22c44259
Adapt to the changed prototype of InterlockedCompareExchange() in newer
...
2006-04-19 Tor Lillqvist <tml@novell.com>
* glib/gatomic.c: Adapt to the changed prototype of
InterlockedCompareExchange() in newer SDKs. Use
InterlockedCompareExchangePointer() when applicable. (#155884 ,
John Ehresman)
2006-04-19 12:32:43 +00:00
Ankitkumar Rameshchandra Patel
3ed15b72a9
Updated Translation
2006-04-19 11:38:17 +00:00
Matthias Clasen
22ec64756c
Add api to get and set doubles and lists of doubles. ( #164719 , Maurizio
...
2006-04-18 Matthias Clasen <mclasen@redhat.com>
* glib/gkeyfile.h:
* glib/glib.symbols:
* glib/gkeyfile.c: Add api to get and set doubles and
lists of doubles. (#164719 , Maurizio Monge, Dom Lachowicz)
* tests/keyfile-test.c: Add tests for new api.
2006-04-19 02:59:37 +00:00
Matthias Clasen
64434acfe1
Accept duplicate groups. ( #157877 , Sebastien Bacher)
...
2006-04-18 Matthias Clasen <mclasen@redhat.com>
* glib/gkeyfile.c (g_key_file_add_group): Accept duplicate
groups. (#157877 , Sebastien Bacher)
* tests/keyfile-test.c: Add tests for duplicate key and
duplicate group handling.
2006-04-19 02:39:37 +00:00
Matthias Clasen
442ef9d902
Say that ref/unref are thread-safe now. ( #322883 , Christophe Fergeau)
...
2006-04-18 Matthias Clasen <mclasen@redhat.com>
* gobject/tut_gobject.xml: Say that ref/unref are thread-safe now.
(#322883 , Christophe Fergeau)
2006-04-18 18:36:44 +00:00
Rajesh Ranjan
ab3dd5e413
Updated Translation
2006-04-18 07:19:18 +00:00
Ankitkumar Rameshchandra Patel
b8d03469cc
Updated Translation
2006-04-18 05:32:16 +00:00
Matthias Clasen
f16f2764f4
Make passing NULL for new_prefix work as documented. ( #338845 , Yevgen
...
2006-04-17 Matthias Clasen <mclasen@redhat.com>
* glib/gcompletion.c (g_completion_complete_utf8): Make passing
NULL for new_prefix work as documented. (#338845 , Yevgen Muntyan)
* tests/completion-test.c: Test that passing NULL for
new_prefix in g_completion_complete_utf8 works.
2006-04-18 02:21:43 +00:00
Kjartan Maraas
31db06fc99
Remove obsolete entry for no_NO. And the translation.
...
2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Remove obsolete entry for no_NO.
* po/no.po: And the translation.
2006-04-17 12:10:01 +00:00