platform/upstream/glib.git
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

18 years agoAdd some missing Since: 2.8 tags
Matthias Clasen [Wed, 19 Apr 2006 14:51:49 +0000 (14:51 +0000)]
Add some missing Since: 2.8 tags

18 years agoAdapt to the changed prototype of InterlockedCompareExchange() in newer
Tor Lillqvist [Wed, 19 Apr 2006 12:32:43 +0000 (12:32 +0000)]
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)

18 years agoUpdated Translation
Ankitkumar Rameshchandra Patel [Wed, 19 Apr 2006 11:38:17 +0000 (11:38 +0000)]
Updated Translation

18 years agoAdd api to get and set doubles and lists of doubles. (#164719, Maurizio
Matthias Clasen [Wed, 19 Apr 2006 02:59:37 +0000 (02:59 +0000)]
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.

18 years agoAccept duplicate groups. (#157877, Sebastien Bacher)
Matthias Clasen [Wed, 19 Apr 2006 02:39:37 +0000 (02:39 +0000)]
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.

18 years agoSay that ref/unref are thread-safe now. (#322883, Christophe Fergeau)
Matthias Clasen [Tue, 18 Apr 2006 18:36:44 +0000 (18:36 +0000)]
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)

18 years agoUpdated Translation
Rajesh Ranjan [Tue, 18 Apr 2006 07:19:18 +0000 (07:19 +0000)]
Updated Translation

18 years agoUpdated Translation
Ankitkumar Rameshchandra Patel [Tue, 18 Apr 2006 05:32:16 +0000 (05:32 +0000)]
Updated Translation

18 years agoMake passing NULL for new_prefix work as documented. (#338845, Yevgen
Matthias Clasen [Tue, 18 Apr 2006 02:21:43 +0000 (02:21 +0000)]
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.

18 years agoRemove obsolete entry for no_NO. And the translation.
Kjartan Maraas [Mon, 17 Apr 2006 12:10:01 +0000 (12:10 +0000)]
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.

18 years agovi.po: Updated Vietnamese translation.
Clytie Siddall [Mon, 17 Apr 2006 04:21:09 +0000 (04:21 +0000)]
vi.po: Updated Vietnamese translation.

18 years agoAvoid an array overrun. (Coverity, fix by Pascal Terjan)
Matthias Clasen [Sun, 16 Apr 2006 05:19:26 +0000 (05:19 +0000)]
Avoid an array overrun. (Coverity, fix by Pascal Terjan)

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

        * glib/gdate.c (g_date_fill_parse_tokens): Avoid an array
        overrun.  (Coverity, fix by Pascal Terjan)

18 years agoreviewed by: Matthias Clasen <mclasen@redhat.com>
Bastien Nocera [Wed, 12 Apr 2006 22:50:33 +0000 (22:50 +0000)]
reviewed by: Matthias Clasen <mclasen@redhat.com>

2006-04-12  Bastien Nocera  <hadess@hadess.net>

reviewed by: Matthias Clasen <mclasen@redhat.com>

* glib/gconvert.c: add more details about which RFC is concerned
when using g_filename_to_uri (#337553)

18 years agoAdd an assert to make it clear when value can be NULL.
Matthias Clasen [Wed, 12 Apr 2006 15:38:27 +0000 (15:38 +0000)]
Add an assert to make it clear when value can be NULL.

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

* glib/goption.c (parse_arg): Add an assert to make it
clear when value can be NULL.

18 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Tue, 11 Apr 2006 09:02:50 +0000 (09:02 +0000)]
Translation updated by Tino Meinen.

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

* nl.po: Translation updated by Tino Meinen.

18 years agoUpdated Georgian translation
Vladimer Sichinava [Mon, 10 Apr 2006 02:15:30 +0000 (02:15 +0000)]
Updated Georgian translation

18 years ago(test_thread_stop_unused): Removed an
Martyn James Russell [Fri, 7 Apr 2006 18:47:33 +0000 (18:47 +0000)]
(test_thread_stop_unused): Removed an
assertion which can fail and is not a critical test.

18 years agoadded gbase64.obj and derive the static libs name from auto* variables
Hans Breuer [Fri, 7 Apr 2006 17:10:36 +0000 (17:10 +0000)]
added gbase64.obj and derive the static libs name from auto* variables

2006-04-07  Hans Breuer  <hans@breuer.org>

* glib/makefile.msc.in : added gbase64.obj and derive the static libs
name from auto* variables
* glib/makefile.msc.in : link user32.lib for MessageBox()

18 years ago*** empty log message ***
Ignacio Casal Quinteiro [Fri, 7 Apr 2006 10:57:22 +0000 (10:57 +0000)]
*** empty log message ***

18 years agoMake sure g_thread_pool_stop_unused_threads() actually stops unused
Martyn James Russell [Fri, 7 Apr 2006 09:23:42 +0000 (09:23 +0000)]
Make sure g_thread_pool_stop_unused_threads() actually stops unused

* glib/gthreadpool.c: Make sure
g_thread_pool_stop_unused_threads() actually stops unused threads
and global limits (like max idle time and max unused threads) can
be set without creating a thread pool first. Fixed #335215 (patch
from Chris Wilson).

* tests/threadpool-test.c: Added two new tests, tests setting
global limits before creating a thread pool. The second test
makes sure unused threads are actually stopped when using the
g_thread_pool_stop_unused_threads().

18 years agoTranslation updated by Ivar Smolin.
Priit Laes [Fri, 7 Apr 2006 08:01:27 +0000 (08:01 +0000)]
Translation updated by Ivar Smolin.

2006-04-07  Priit Laes  <amd@store20.com>

* et.po: Translation updated by Ivar Smolin.

18 years agoDocument class_offset 0. and that class_closure may be NULL.
Matthias Clasen [Wed, 5 Apr 2006 16:18:42 +0000 (16:18 +0000)]
Document class_offset 0. and that class_closure may be NULL.

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

* gobject/tmpl/signals.sgml: Document class_offset 0.
and that class_closure may be NULL.

18 years agoDocument class_offset 0.
Matthias Clasen [Wed, 5 Apr 2006 16:07:15 +0000 (16:07 +0000)]
Document class_offset 0.

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

* gobject/tmpl/signals.sgml: Document class_offset 0.

18 years agoMake long long printing work if snprintf is not available. (#332841,
Matthias Clasen [Wed, 5 Apr 2006 15:06:15 +0000 (15:06 +0000)]
Make long long printing work if snprintf is not available. (#332841,

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

* glib/gnulib/vasnprintf.c (vasnprintf): Make
long long printing work if snprintf is not
available.  (#332841, Michael McDonald)

18 years agoChange max-depth to max-lookups.
Behdad Esfahbod [Wed, 5 Apr 2006 14:43:33 +0000 (14:43 +0000)]
Change max-depth to max-lookups.

18 years agoCheck the return value of g_get_prgname for NULL before passing to strcmp.
Behdad Esfahbod [Wed, 5 Apr 2006 05:56:47 +0000 (05:56 +0000)]
Check the return value of g_get_prgname for NULL before passing to strcmp.

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

        * tests/option-test.c: Check the return value of g_get_prgname for
        NULL before passing to strcmp.

        * tests/slice-test.c: Report the correct name in Usage summary.

18 years agoFix up shell script
Matthias Clasen [Wed, 5 Apr 2006 05:31:11 +0000 (05:31 +0000)]
Fix up shell script

18 years agoMore test fixes
Matthias Clasen [Wed, 5 Apr 2006 05:18:57 +0000 (05:18 +0000)]
More test fixes

18 years agoRun run-bookmark-test.sh
Matthias Clasen [Wed, 5 Apr 2006 05:09:36 +0000 (05:09 +0000)]
Run run-bookmark-test.sh

18 years agoMore warning fixes
Matthias Clasen [Wed, 5 Apr 2006 05:05:01 +0000 (05:05 +0000)]
More warning fixes

18 years agoSilence a warning
Matthias Clasen [Wed, 5 Apr 2006 05:03:33 +0000 (05:03 +0000)]
Silence a warning

18 years ago.
Behdad Esfahbod [Wed, 5 Apr 2006 04:50:48 +0000 (04:50 +0000)]
.

18 years agoAdd base64 docs
Matthias Clasen [Wed, 5 Apr 2006 03:19:30 +0000 (03:19 +0000)]
Add base64 docs

18 years agoAdd base64 encode/decode functions
Alexander Larsson [Tue, 4 Apr 2006 13:03:23 +0000 (13:03 +0000)]
Add base64 encode/decode functions

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

* glib/Makefile.am:
* glib/gbase64.[ch]:
* glib/glib.symbols:
Add base64 encode/decode functions

* glib/glib.h:
Include gbase64.h

* tests/Makefile.am:
* tests/base64-test.c:
Tests for base64 functions

18 years agoMove short_month_names and long_month_names to bss.
Matthias Clasen [Tue, 4 Apr 2006 04:37:39 +0000 (04:37 +0000)]
Move short_month_names and long_month_names to bss.

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

        * glib/gdate.c: Move short_month_names and long_month_names
        to bss.

        * glib/gspawn-win32.c (g_spawn_error_quark):
        * glib/gspawn.c (g_spawn_error_quark):
        * glib/gshell.c (g_shell_error_quark):
        * glib/gmarkup.c (g_markup_error_quark):
        * glib/goption.c (g_option_error_quark):
        * glib/gkeyfile.c (g_key_file_error_quark):
        * glib/giochannel.c (g_io_channel_error_quark):
        * glib/gfileutils.c (g_file_error_quark):
        * glib/gconvert.c (g_convert_error_quark):
        * glib/gbookmarkfile.c (g_bookmark_file_error_quark):
        * glib/gthread.c (g_thread_error_quark): No point in making
        the error path fast by caching quarks.

        * glib/gbookmarkfile.c: Make the parser struct const.

18 years agoMake the parser struct const
Matthias Clasen [Tue, 4 Apr 2006 04:21:38 +0000 (04:21 +0000)]
Make the parser struct const

18 years agoFix accidentally broken build.
Behdad Esfahbod [Tue, 4 Apr 2006 04:17:59 +0000 (04:17 +0000)]
Fix accidentally broken build.

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

        * glib/gbookmarkfile.c: Fix accidentally broken build.

18 years agoFix docs
Matthias Clasen [Mon, 3 Apr 2006 18:32:29 +0000 (18:32 +0000)]
Fix docs

18 years agoAdd some verbiage to g_object_ref_sink_docs. (#336677)
Matthias Clasen [Mon, 3 Apr 2006 18:31:37 +0000 (18:31 +0000)]
Add some verbiage to g_object_ref_sink_docs. (#336677)

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

* gobject/tmpl/objects.sgml: Add some verbiage to
g_object_ref_sink_docs.  (#336677)

18 years agoDon't include sys/time.h (#337027, Kazuki IWAMOTO)
Matthias Clasen [Mon, 3 Apr 2006 18:00:39 +0000 (18:00 +0000)]
Don't include sys/time.h (#337027, Kazuki IWAMOTO)

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

* glib/gbookmarkfile.c: Don't include sys/time.h  (#337027,
 Kazuki IWAMOTO)

18 years agoUpdated Bulgarian translation by Alexander Shopov <ash@contact.bg>
Alexander Shopov [Sun, 2 Apr 2006 13:59:05 +0000 (13:59 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>

2006-04-02  Alexander Shopov  <ash@contact.bg>

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

18 years agoRevert change below. It wasn't a good idea after all, says the original
Tor Lillqvist [Fri, 31 Mar 2006 19:16:23 +0000 (19:16 +0000)]
Revert change below. It wasn't a good idea after all, says the original

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

* glib/gstdio.c (g_remove): Revert change below. It wasn't a good
idea after all, says the original bug reporter. See bug for
discussion.

18 years ago[Win32] call rmdir() only if remove() fails with errno set to ENOENT, to
Tor Lillqvist [Fri, 31 Mar 2006 00:26:44 +0000 (00:26 +0000)]
[Win32] call rmdir() only if remove() fails with errno set to ENOENT, to

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

* glib/gstdio.c (g_remove): [Win32] call rmdir() only if remove()
fails with errno set to ENOENT, to leave errno set to EACCESS if
that is the problem. (#334799, Yevgen Muntyan)

18 years agoMake it build
Matthias Clasen [Thu, 30 Mar 2006 21:22:01 +0000 (21:22 +0000)]
Make it build

18 years agoUpdate the floating docs wrt to GInitiallyUnowned.
Matthias Clasen [Thu, 30 Mar 2006 20:38:09 +0000 (20:38 +0000)]
Update the floating docs wrt to GInitiallyUnowned.

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

* gobject/tmpl/objects.sgml: Update the floating docs wrt
to GInitiallyUnowned.

18 years agoAdditions
Matthias Clasen [Thu, 30 Mar 2006 20:30:21 +0000 (20:30 +0000)]
Additions

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

* gobject/tmpl/param_value_types.sgml:
* gobject/tmpl/objects.sgml:
* gobject/tmpl/gtype.sgml: Additions

18 years agoCleanup
Matthias Clasen [Thu, 30 Mar 2006 19:58:01 +0000 (19:58 +0000)]
Cleanup

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

* glib/tmpl/messages.sgml: Cleanup

* glib/tmpl/memory_slices.sgml: Adapt to a parameter name change

* glib/tmpl/linked_lists_double.sgml: Document g_list_free1

18 years agoDocument g_list_free1
Matthias Clasen [Thu, 30 Mar 2006 19:43:58 +0000 (19:43 +0000)]
Document g_list_free1

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

* glib/tmpl/linked_lists_double.sgml: Document g_list_free1

18 years agoSync the parameter names with the .h files, otherwise gtk-doc misbehaves.
Matthias Clasen [Thu, 30 Mar 2006 19:36:31 +0000 (19:36 +0000)]
Sync the parameter names with the .h files, otherwise gtk-doc misbehaves.

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

* glib/gbookmarkfile.c (g_bookmark_file_get_app_info): Sync
the parameter names with the .h files, otherwise gtk-doc
misbehaves.

18 years agoAdded Dzongkha translation
Guntupalli Karunakar [Thu, 30 Mar 2006 15:33:04 +0000 (15:33 +0000)]
Added Dzongkha translation

18 years agoMake sure to not return TRUE if symbol is NULL. (#334440, ITOH Yasufumi)
Matthias Clasen [Wed, 29 Mar 2006 20:52:00 +0000 (20:52 +0000)]
Make sure to not return TRUE if symbol is NULL. (#334440, ITOH Yasufumi)

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

* gmodule.c (g_module_symbol): Make sure to
not return TRUE if symbol is NULL.  (#334440,
ITOH Yasufumi)

18 years agoAdd bookmarkfile-test to the ignored files.
Emmanuele Bassi [Mon, 27 Mar 2006 18:30:11 +0000 (18:30 +0000)]
Add bookmarkfile-test to the ignored files.

2006-03-27  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* tests/.cvsignore: Add bookmarkfile-test to the ignored files.

18 years agoAdd test suite for GBookmarkFile.
Emmanuele Bassi [Mon, 27 Mar 2006 18:28:07 +0000 (18:28 +0000)]
Add test suite for GBookmarkFile.

2006-03-27  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* tests/Makefile.am:
* tests/bookmarkfile-test.c:
* tests/run-bookmark-test.sh:
* tests/bookmarks/*.xbel: Add test suite for GBookmarkFile.

18 years agoAdd documentation for GBookmarkFile to GLib's reference guide.
Emmanuele Bassi [Mon, 27 Mar 2006 18:25:33 +0000 (18:25 +0000)]
Add documentation for GBookmarkFile to GLib's reference guide.

2006-03-27  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* docs/reference/glib/glib-docs.sgml:
* docs/reference/glib/glib-sections.txt:
* docs/reference/glib/tmpl/bookmarkfile.sgml: Add documentation for
GBookmarkFile to GLib's reference guide.

18 years agoglib/gbookmarkfile.h Add GBookmarkFile, a parser for files containing
Emmanuele Bassi [Mon, 27 Mar 2006 18:22:47 +0000 (18:22 +0000)]
glib/gbookmarkfile.h Add GBookmarkFile, a parser for files containing

2006-03-27  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* glib/glib.h:
* glib/gbookmarkfile.h
* glib/gbookmarkfile.c: Add GBookmarkFile, a parser for files
containing bookmarks stored using the Desktop Bookmark
specification. Fixes bug #327662.

* glib/glib.symbols:
* glib/Makefile.am:
* glib/makefile.msc.in:
* glib/makefile.mingw.in: Build glue for GBookmarkFile.

18 years agobump version number to 2.11.0
Dom Lachowicz [Mon, 27 Mar 2006 17:06:50 +0000 (17:06 +0000)]
bump version number to 2.11.0