1 Wed Dec 11 14:28:50 2002 Owen Taylor <otaylor@redhat.com>
3 * configure.in: Version 2.1.4, interface age 1.
5 * m4macros/glib-gettext.m4: Major rewrite; remove leftovers
6 from building intl/, prefer libintl if both libc and libintl
7 have dgettext and libintl also has bind_textdomain_codeset().
10 * configure.in acinclude.m4: Use an include to avoid having
11 to duplicate the gettext macros between glib-gettext.m4
14 * m4macros/glib-gettext.m4: Do some tricks so that configure.in
15 can use macros under hidden names, but aclocal will still
16 find them when installed.
18 * m4macros/glib-gettext.m4: Add AM_GLIB_DEFINE_LOCALEDIR
19 to encapsulate install location of catalog files.
21 * m4macros/glib-gettext.m4 (AM_GLIB_DEFINE_LOCALEDIR):
22 Fix bug where if --prefix wasn't set on the configure line,
23 GLib would look for translations in NONE/share/locale.
25 Wed Dec 11 11:11:44 2002 Owen Taylor <otaylor@redhat.com>
27 * glib/grand.c: Include string.h, supress a warning.
29 2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
31 * glib/grand.c (g_rand_int_range): Improve generation of
32 pseudo-random integers. (#99720, Morten Welinder <terra@diku.dk>)
34 * README.in, docs/reference/glib/running.sgml,
35 docs/reference/glib/tmpl/random_numbers.sgml,
36 docs/reference/glib/changes.sgml: Added notes about the new
39 2002-12-09 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
41 * configure.in: use 0 instead of $defattr, as it isn't defined
42 anymore on platforms using -pthread and linux, where this is used,
43 only uses 0 anyway and not "pthread_attr_default".
45 Sun Dec 8 23:36:12 2002 Owen Taylor <otaylor@redhat.com>
47 * glib/gfileutils.c (g_file_test): Guard against
48 the POSIX allowed behavior where access (file, X_OK)
49 succeeds for uid==0 when no executable bits are set.
51 * glib/gfileutils.c (g_file_test): Add doc notes
52 about the possibility of race conditions, and the
53 fact that EXISTS and IS_EXECUTABLE give results
54 for the real uid not the effective user ID.
55 (#81854, Morten Welinder.)
57 Fri Dec 6 14:34:42 2002 Owen Taylor <otaylor@redhat.com>
59 Avoid literal UTF-8. (Allow it to build with
60 IRIX cc, #72757, Tomas Ogren)
62 * tests/patterntest.c (main): Convert literal
63 iso-8859-1 high bit characters in tests to
66 * glib/gunichartable.h glib/gen-unicode-tables.pl:
67 Use hex \xMN escapes rather than literal UTF-8
70 * configure.in: AC_PREREQ(2.53). needed for recent
71 GLIB_SIZEOF() changes.
73 Fri Dec 6 12:40:00 2002 Owen Taylor <otaylor@redhat.com>
75 * glib/libcharset/Makefile.am (EXTRA_DIST): Don't
76 distribute ref-add/del.sed., fixing problem with
77 srcdir != destdir. (#99813, Phuc LeHong)
79 Fri Dec 6 12:31:30 2002 Owen Taylor <otaylor@redhat.com>
81 * configure.in: chmod 0755 scripts in AC_OUTPUT(), since
82 install -c won't necessarily do that. (#74376, Martin
83 Gansser, Joshua Weage)
85 Thu Dec 5 16:05:55 2002 Owen Taylor <otaylor@redhat.com>
87 * configure.in: Use AC_LINK_IFELSE(), not AC_TRY_RUN()
88 for va_copy(), __va_copy() checks.
90 * configure.in: When there is a reasonable default,
91 provide that in the 3rd argument of AC_TRY_RUN(),
92 instead of just leaving the 3rd argument empty.
94 2002-12-05 Matthias Clasen <maclas@gmx.de>
96 * glib/gstrfuncs.c (g_strncasecmp): Break long deprecation
97 info into two paragraphs.
99 Thu Dec 5 15:43:46 2002 Owen Taylor <otaylor@redhat.com>
101 * configure.in: Fix multiple problems with the programs
102 in the argument of AC_TRY_RUN() having preprocessor
103 defines not in the first column.
105 Thu Dec 5 15:24:14 2002 Owen Taylor <otaylor@redhat.com>
107 Start of fixes for cross-compilation. Based on
108 patches from Dimi Shahbaz, Dan Kegel, Johannes Stenzenbach,
111 * configure.in: Don't run the Digital-Unix 4 -std1 check
112 when cross_compiling.
114 * configure.in: Use AC_TRY_COMPILE() rather than
115 AC_TRY_RUN() for inline checks. (Daniel Egger)
117 * configure.in: use AC_CHECK_SIZEOF rather than
118 GLIB_SIZEOF for size_t. Remove unused checks for
119 size of ptrdiff_t/intmax_t.
121 * acglib.m4: Resync GLIB_SIZEOF of to the current
122 AC_CHECK_SIZEOF, which handles cross-compilation.
124 * acglib.m4: Remove no longer needed GLIB_SYSDEFS(),
125 add GLIB_CHECK_VALUE() as a wrapper around the
126 amazing _AC_COMPUTE_INT() autoconf 2.5x internal.
128 * configure.in: Redo the POLL* value checks in a
129 cross-compilation friendly way.
131 Thu Dec 5 15:28:37 2002 Owen Taylor <otaylor@redhat.com>
133 * glib/gtimer.c: Include glibconfig.h early so
134 that we include <windows.h> when needed.
136 * glib/gstrfuncs.c: Fix typo.
138 Tue Dec 3 21:10:28 2002 Owen Taylor <otaylor@redhat.com>
140 * configure.in: Add 3rd argument to remaining AC_DEFINES(),
141 so we can get rid of acconfig.h. (#76334, Daniel Egger)
143 * acconfig.h: Removed.
145 Tue Dec 3 20:22:27 2002 Owen Taylor <otaylor@redhat.com>
147 * glib/*.c: Patch from Sven Neumann to make the
148 include order consistent. (#71704)
150 2002-12-03 Matthias Clasen <maclas@gmx.de>
152 * configure.in: Check that strlcpy behaves as per the OpenBSD
153 man page before wrapping it. (#53933)
155 2002-12-03 Frederic Crozat <fcrozat@mandrakesoft.com>
157 * glib/gunicollate.c: (g_utf8_collate_key):
158 Fix typo from previous commit
160 Tue Dec 3 01:05:00 2002 James M. Cape <jcape@ignore-your.tv>
162 * glib/gunicollate.c (g_utf8_collate, g_utf8_collate_key):
163 Check for NULL before doing anything.
165 Mon Dec 2 16:34:13 2002 Owen Taylor <otaylor@redhat.com>
167 * === Released 2.1.3 ===
171 [ Unmerged change from stable from May 16 ]
173 * autogen.sh: Remove check for GNU gettext, since it
174 was causing problems for Solaris CVS builds.
175 (#81885, Hidetoshi Tajima.)
177 Tue Nov 26 09:51:43 2002 Owen Taylor <otaylor@redhat.com>
179 * glib/gstrfuncs.c (g_strchomp): Avoid non-ANSI pointer
180 comparison. (#54344, Morten Welinder)
182 * tests/strfunc-test.c (main): Add tests for strchomp().
184 2002-11-30 Ole Laursen <olau@hardworking.dk>
186 * configure.in: Added "da" to ALL_LINGUAS.
188 2002-11-29 Matthias Clasen <maclas@gmx.de>
190 * glib/gstrfuncs.c (g_ascii_strtoull): It is a 2.2 addition.
192 * glib/gtimer.c (g_time_val_add): Adjust to changed parameter names.
194 * glib/gutils.c (g_get_application_name): Mark as 2.2. addition.
196 * glib/gstrfuncs.c (g_ascii_strtoull): Mark as 2.0.7 addition.
198 2002-11-28 Matthias Clasen <maclas@gmx.de>
204 * glib/giochannel.c: Move some docs inline, and add deprecation
205 information. To see the list of affected functions, grep for
208 * configure.in: Fix the definitions around printf: either we use
209 system printf in which case HAVE_VASPRINTF, HAVE_C99_VSNPRINTF and
210 HAVE_UNIX98_PRINTF have already been determined by earlier tests,
211 or we use the included printf, in which case we know that these
212 three can be defined as 1. (#99826)
214 * glib/gutf8.c (g_utf8_strreverse):
215 * glib/gstrfuncs.c (g_str_has_suffix):
217 * glib/gprintf.c (g_printf):
223 * glib/gmarkup.c (g_markup_parse_context_get_element):
224 Mark as 2.2 API additions.
226 * configure.in: Fix the gtk-doc version check.
228 2002-11-27 Matthias Clasen <maclas@gmx.de>
230 * glib/gmessages.h: Use G_LIKELY without surrounding parentheses
231 in g_assert() and g_return_[val]_if_fail() so that we always trigger
232 the gcc warning about "assignment used as truth value".
234 * glib/gmacros.h: Always put parentheses in G_LIKELY and G_UNLIKELY.
236 2002-11-26 Matthias Clasen <maclas@gmx.de>
238 * glib/gmessages.h: Only use G_LIKELY in g_assert() and
239 g_return_[val]_if_fail() if it is actually doing something.
241 2002-11-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
243 * glib/grand.c, gthread/gthread-impl.c, tests/rand-test.c:
244 Changed the seeding algorithm. Old behaviour can be achived by
245 setting envvar G_RANDOM_VERSION to "2.0". (#99262)
247 * docs/reference/glib/glib-docs.sgml,
248 docs/reference/glib/Makefile.am: Renamed
249 docs/reference/glib/changes-2.0.sgml to
250 docs/reference/glib/changes.sgml and added section for changes
251 from 2.0 to 2.2 (Also corrected 1.0 to 1.2).
253 * README.in, docs/reference/glib/running.sgml,
254 docs/reference/glib/tmpl/random_numbers.sgml,
255 docs/reference/glib/changes.sgml: Added notes about the new
258 * configure.in: Make CPPFLAGS, not CFLAGS, include
259 G_THREAD_CFLAGS. CFLAGS is used while linking too and thus GLib
260 programs would link to the threads library on some platforms. Also
261 fixed a bug manifesting through this change. (#77981)
263 2002-11-26 Matthias Clasen <maclas@gmx.de>
265 * glib/gmacros.h: Fix the non-gcc-3.x definitions of G_LIKELY
266 and G_UNLIKELY. (Reported by Dan Mills)
268 2002-11-25 Matthias Clasen <maclas@gmx.de>
270 * glib/gfileutils.c (g_build_path):
271 (g_build_filename): Document that the varargs must be
272 NULL-terminated. (#99510)
274 * glib/gmessages.h (g_assert):
276 (g_return_val_if_fail): Remove the (no longer effective) empty
279 * glib/gmacros.h: Change the definition of G_LIKELY, so that
280 g_return_if_fail() and friends still trigger a gcc warning if
281 the expr is an assignment.
283 2002-11-23 Matthias Clasen <maclas@gmx.de>
285 * configure.in: Generate docs/reference/*/version.xml.
287 * glib/gdir.h: Add Copyright notice.
289 2002-11-22 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
291 * configure.in: Fixed typo: PTHREAD_PRIO_MIN ->
292 PTHREAD_PRIO_MAX. (Laurent Vivier, #99293)
294 Fri Nov 22 09:39:09 2002 Owen Taylor <otaylor@redhat.com>
296 * glib/gmacros.h: Remove broken G_HIDDEN_SYMBOL
297 definition which wasn't supposed to be committed
300 Thu Nov 21 16:19:21 2002 Owen Taylor <otaylor@redhat.com>
302 * glib/ghash.c: Patch from Morten Welinder to
303 make ghash.c properly obey DISABLE_MEM_POOLS. (#96600)
305 Thu Nov 21 14:09:44 2002 Owen Taylor <otaylor@redhat.com>
307 * glib/gmacros.h: Add G_GNUC_DEPRECATED. (Tom Tromey,
310 2002-11-21 Tor Lillqvist <tml@iki.fi>
312 * config.h.win32.in: Update to match what is currently produced by
315 * configure.in: Remove superfluous spaces on two shell variable
316 assignment lines. Don't define HAVE_GOOD_PRINTF as 0 if we don't
317 have a good printf, it is tested with #ifdef.
319 * glib/glib.def: Add new functions.
321 * glib/Makefile.am: If !HAVE_GOOD_PRINTF, add libtrio.la to LIBADD
325 * gmodule/gmodule.rc.in
326 * gobject/gobject.rc.in
327 * gthread/gthread.rc.in
328 * {glib,gmodule,gobject,gthread}/makefile.{mingw,msc}.in:
329 Hardcode 2.0 in the names, as that is what Makefile.am does.
331 2002-11-21 Matthias Clasen <maclas@gmx.de>
333 Include a printf implementation supporting C99 snprintf and SUS
334 positional parameters: (#79488)
337 * glib/gspawn-win32.c:
340 * glib/gbacktrace.c: Use _g_printf wrappers.
342 * glib/gutils.c (g_vsnprintf): Simplify, since we can assume C99
343 snprintf semantics now.
345 * glib/gmessages.c (printf_string_upper_bound): No longer needed,
346 since we can assume C99 snprintf semantics now.
349 * acinclude.m4 (AC_FUNC_PRINTF_UNIX98): New macro to check wether
350 printf supports SUS positional parameters.
352 * configure.in: New option --enable-included-printf to force
353 compilation of trio; otherwise trio is compiled if the system
354 printf misses either C99 snprintf semantics of SUS positional
357 * glib/Makefile.am (SUBDIRS): Conditionally compile trio.
358 (libglib_2_0_la_SOURCES): Add gprintf.c and gprintfint.h.
359 (glibsubinclude_HEADERS): Add gprintf.h.
361 * glib/gprintfint.h: New private wrapping either system printf
362 or trio printf variants in _g_printf wrappers for use inside glib.
364 * glib/gprintf.h: New public header declaring g_printf variants.
365 * glib/gprintf.c: Corresponding implementations.
367 * glib/trio/*: New directory, containing the trio-1.9 sources.
369 2002-11-20 Matthias Clasen <maclas@gmx.de>
371 * glib/gmessages.h (g_return_if_fail):
372 (g_return_val_if_fail): Use G_LIKELY. (#69022)
374 * glib/gmacros.h (G_LIKELY):
375 (G_UNLIKELY): New macros for hinting the compiler about the
376 expected result of expressions. For gcc 3.x, define these
377 using __builtin_expect. (#69022)
379 Tue Nov 19 14:38:18 2002 Owen Taylor <otaylor@redhat.com>
381 * glib/gstrfuncs.c (g_ascii_strtoull): Fix
382 strtull/strtoull type in docs (#99012, Morten
383 Welinder.) Add copyright information for code
386 2002-11-18 Tor Lillqvist <tml@iki.fi>
388 * glib/gspawn-win32.c (do_spawn_with_pipes): Do handle
389 G_SPAWN_DO_NOT_REAP_CHILD after all, similarily as on Unix. If the
390 flag is not set, don't call DuplicateHandle() on the handle
391 returned by the helper process, and set the "child pid" returned
392 to the called to zero. Close the handle to the helper process in
395 * glib/gspawn.c (g_spawn_async_with_pipes): Document Windows
396 behaviour of G_SPAWN_DO_NOT_REAP_CHILD.
398 2002-11-18 Tor Lillqvist <tml@iki.fi>
400 [Win32] Fix the asynchronous g_spawn* to return the process handle
401 of the started program properly. (Note: not the process id. The
402 spawn*() functions in the C runtime return the created process's
403 handle. There doesn't seem to be any way to get the process id of
404 a child process if you have the handle. But then, the process
405 handle usually is more useful anyway.)
407 * glib/gspawn-win32-helper.c (WinMain): If the spawning of the
408 child process succeeded, and if asynchronous spawn (P_NOWAIT),
409 write the result handle up to the parent process, waiting to read
410 it in do_spawn_with_pipes().
412 * glib/gspawn-win32.c (do_spawn): Use return value from spawning
413 the helper. If it is -1 the helper wasn't found or couldn't be run
414 for some reason. Otherwise it is the helper's process handle.
416 (g_spawn_async_with_pipes): Pass the child_pid parameter on to
417 do_spawn_with_pipes().
419 (do_spawn_with_pipes): Take also a child_pid parameter. If
420 do_spawn() returned -1, fail immediately. Otherwise make the
421 handle passed to us by the helper process into a handle valid in
422 this process by calling DuplicateHandle().
424 2002-11-17 Tor Lillqvist <tml@iki.fi>
426 * glib/gspawn-win32.c (g_spawn_async_with_pipes): Ignore the
427 G_SPAWN_DO_NOT_REAP_CHILD flag, can't be meaninfully implemented
428 on Windows, at least not now. Always pass dont_wait as TRUE to
429 do_spawn_with_pipes(). The semantics of the dont_wait parameter is
430 very different from the semantics of the intermediate_child
431 parameter to fork_exec_with_pipes() in the Unix version. This
432 fixes a serious bug, g_spawn_async() in fact behaved
435 (do_spawn_with_pipes, do_spawn): Rename from
436 fork_exec_with_pipes() and do_exec(), those names were from the
437 Unix bersion, and misleading.
439 (close_and_invalidate): Don't try to close invalid fds.
441 * glib/gspawn.c (g_spawn_async_with_pipes): Add warning about
442 Windows behaviour. There is no fork(), so the child_setup()
443 function is in fact called in the parent.
445 * glib/gspawn-win32-helper.c (WinMain): Insert spaces in argv
448 * tests/spawn-test-win32-gui.c: New file. Test program to be
449 linked as a GUI application. Behaves differently depending on how
450 invoked (by spawn-test).
452 * tests/spawn-test.c (run_tests): On Win32, run the
453 spawn-test-win32-gui program, too, in several ways, synchronously
456 * tests/Makefile.am: Corresponding change.
458 Fri Nov 8 19:44:20 2002 Soeren Sandmann <sandmann@daimi.au.dk>
460 * docs/reference/glib/tmpl/arrays.sgml:
461 * docs/reference/glib/tmpl/arrays_byte.sgml:
462 * docs/reference/glib/tmpl/arrays_pointer.sgml:
463 * docs/reference/glib/tmpl/date.sgml:
464 * docs/reference/glib/tmpl/linked_lists_double.sgml:
465 * docs/reference/glib/tmpl/linked_lists_single.sgml:
466 * docs/reference/glib/tmpl/main.sgml:
467 * docs/reference/glib/tmpl/queue.sgml:
468 * docs/reference/glib/tmpl/random_numbers.sgml:
469 * docs/reference/glib/tmpl/relations.sgml:
470 * docs/reference/glib/tmpl/scanner.sgml:
471 * docs/reference/gobject/tmpl/gtype.sgml:
472 * docs/reference/gobject/tmpl/value_arrays.sgml glib/garray.h:
473 * glib/gdate.h glib/giochannel.h glib/glist.h glib/gmain.c:
474 * glib/gmain.h glib/gqueue.c glib/gqueue.h glib/grand.c glib/grand.h:
475 * glib/grel.h glib/gslist.h glib/gtimer.h gobject/gvaluearray.h:
477 Trivial s/foo/foo_/ fixes to make <glib.h> includable with
478 -Wshadow without warnings (#91680)
480 Thu Nov 7 19:32:26 2002 Owen Taylor <otaylor@redhat.com>
482 * glib/gutils.[ch] (g_set/get_application_name):
483 Patch from Havoc Pennington to add functions for
484 setting and getting a human readable application
487 * configure.in: Up to version 2.1.3, since we'll
488 need to depend on last addition for GTK+.
490 2002-11-06 Tor Lillqvist <tml@iki.fi>
492 * glib/glib.def: Add g_main_thread_init.
494 2002-11-06 Matthias Clasen <maclas@gmx.de>
496 * glib/gstrfuncs.c (g_str_has_suffix):
497 (g_str_has_prefix): Minor doc markup fix.
499 Mon Nov 4 10:45:48 2002 Owen Taylor <otaylor@redhat.com>
501 * configure.in: Add -DG_DISABLE_CAST_CHECKS for
502 everything but --enable-debug.
504 * configure.in: Require pkg-config 0.14. (#97553)
506 Mon Nov 4 14:41:48 2002 Owen Taylor <otaylor@redhat.com>
508 * glib/gbsearcharray.c: Include config.h
509 so DISABLE_MEMPOOLS actually has an effect.
510 (#96437, Morten Welinder)
512 * tests/uri-test.c: Include <config.h>
514 2002-11-03 Dmitry G. Mastrukov <dmitry@taurussoft.org>
516 * configure.in: Added Belarusian to ALL_LINGUAS
518 2002-11-02 Daniel Elstner <daniel.elstner@gmx.net>
520 * glib/giochannel.c (g_io_channel_write_chars): Fix left_len
521 calculation in the from UTF-8 to UTF-8 case: left_len should
522 be the number of bytes left in the input buffer rather than
523 channel->write_buf. (#96373)
525 2002-10-27 Tor Lillqvist <tml@iki.fi>
527 * configure.in (G_MODULE_LDFLAGS): Don't set on Win32, only causes
530 * glib/gmain.c (g_poll): Fix for bug reported by Herman Bloggs
531 (http://mail.gnome.org/archives/gtk-devel-list/2002-October/msg00101.html)
532 and others. We waited for events only for GPollFDs whose events
533 field had G_IO_IN set. We need to wait also for events for
534 GPollFDs that have just G_IO_OUT set. Non-blocking sockets in the
535 process of being connect()ed are one such case. Also silence a
536 couple of gcc warnings.
538 Fri Oct 18 13:41:30 2002 Manish Singh <yosh@gimp.org>
540 * glib/giochannel.c (g_io_channel_read_line_backend): avoid
541 creating negative values out of unsigned values using MAX,
542 check to see if the result would be positive before doing
545 Tue Oct 15 15:28:47 2002 Manish Singh <yosh@gimp.org>
547 * tests/iochannel-test.c: use gsize instead of int where appropriate
548 (64-bit cleanliness fix). Removed leftover line_term cruft.
550 Tue Oct 15 15:07:45 2002 Manish Singh <yosh@gimp.org>
552 * gmodule/Makefile.am gobject/Makefile.am gthread/Makefile.am:
553 add -DG_DISABLED_DEPRECATED
555 * tests/gio-test.c tests/mainloop-test.c tests/string-test.c
556 tests/testglib.c test/tree-test.c tests/unicode-collate.c
557 tests/unicode-normalize.c: Deprecation cleanup
559 Mon Oct 14 15:51:05 2002 Owen Taylor <otaylor@redhat.com>
561 * glib/gdate.c (g_date_fill_parse_tokens): Fix a memory
562 leak. (#94550, Sebastian Rittau)
564 Mon Oct 14 15:36:11 2002 Owen Taylor <otaylor@redhat.com>
566 * glib/gcompletion.[ch] (g_completion_complete): Make
567 prefix argument const. (#91662, Gustavo Carneiro)
569 Mon Oct 14 15:32:14 2002 Owen Taylor <otaylor@redhat.com>
571 * tests/mainloop-test.c (adder_response): Fix a minor memory
574 Sat Oct 12 21:30:41 2002 Tim Janik <timj@gtk.org>
576 * merged up from glib-2-0:
578 * glib/gstrfuncs.c (g_ascii_strtod): fix comment.
579 (g_ascii_strtoull): new function, acting like strtoull(3) in the C
582 * glib/gscanner.[hc]: fix 32bit issues with integer parsing and
583 support storing 64bit values in GTokenValue by
584 using g_ascii_strtoull().
586 Sat Oct 12 12:34:22 2002 Soeren Sandmann <sandmann@daimi.au.dk>
588 * glib/gtree.c (g_tree_search), glib/gspawn.c
589 (g_spawn_async_with_pipes):
591 Documentation fixes: #71778, Owen Taylor; #85095, Bill Janssen,
594 Thu Oct 10 23:27:02 2002 Tim Janik <timj@gtk.org>
596 * glib/gscanner.c (g_scanner_msg_handler): if input_name is NULL,
597 print out "<memory>" instead of completely skipping input specification
598 and thusly loosing error line information.
600 Sun Sep 29 12:15:44 2002 Manish Singh <yosh@gimp.org>
602 * tests/mainloop-test.c: use gsize instead of int where appropriate
603 (64-bit cleanliness fix)
605 2002-09-29 Tor Lillqvist <tml@iki.fi>
607 * configure.in: Instead of forcing -fnative-struct into CFLAGS
608 when using gcc for Win32, check for gcc version 3.x which uses
609 -mms-bitfields instead. Also check if either of these switches is
610 actually available at all, and warn if not. Thanks to Soren
611 Andersen for the inspiration.
613 * HACKING: Say we require autoconf 2.52 as that is what
616 2002-09-23 Arvind Samptur <arvind.samptur@wipro.com>
617 * glib/gspawn.c (fork_exec_with_pipes) : when the child fails
618 we need to reap it to avoid a zombie. This would
619 happen in case of g_spawn_sync. Fixes #92658
621 2002-09-20 Matthias Clasen <maclas@gmx.de>
623 * glib/gscanner.c (g_scanner_msg_handler): Don't print
624 scanner->input_name when it is NULL. (#93752)
626 2002-09-06 Havoc Pennington <hp@redhat.com>
628 * autogen.sh: automake 1.4
630 2002-09-01 Soeren Sandmann <sandmann@daimi.au.dk>
632 * docs/reference/glib/tmpl/datalist.sgml, glib/gmain.c:
634 Documentation fixes: (#75255, Martin Schulze; #76104, Daryll Strauss)
636 2002-08-26 Tor Lillqvist <tml@iki.fi>
638 * configure.in (G_LIBS_EXTRA): Don't link with -lwsock32 on
639 Cygwin (#91696, Masahiro Sakai).
641 Tue Aug 20 16:01:03 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
643 * glib/gconvert.c (strdup_len): validate 'len' argument properly
644 for the case that input string is not null-terminated. (#91222)
646 2002-08-10 Gustavo Noronha Silva <kov@debian.org>
648 * configure.in: added pt_BR to ALL_LINGUAS
650 2002-08-07 Matthias Clasen <maclas@gmx.de>
652 * glib/gmarkup.c (g_markup_parse_context_get_element):
653 Use g_return_val_if_fail, no g_return_if_fail.
655 2002-08-06 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
657 * glib/gthread.c: Set the normal PID surrogate priority according
658 to getpid() to avoid errors for niced processes. (#86116)
660 * gthread/gthread-impl.c, gthread/gthread-posix.c,
661 gthread/gthread-solaris.c: Do the same for the posix/dce
662 implementation. Solaris still needs to set priority of the main
663 thread, because all unbound threads will schedule according to
664 that value and it defaults to 0 (the minimal value).
666 * glib/gmain.c: Factor out g_main_context_init_pipe from
667 g_main_context_new to initialize the wakeup pipe of a
668 context. Call that function from g_main_context_new if threads are
669 initialized and for all contexts when threads are initialized
670 in g_main_thread_init. (#86872)
672 * gthread/gthread-impl.c: Call g_main_thread_init. (#86872)
674 Thu Jul 25 14:23:15 2002 Owen Taylor <otaylor@redhat.com>
676 * glib/gfileutils.c: Clarify the behavior of g_build_path()
677 for empty elements and for leading and trailing copies
678 of the separator in the docs.
680 * glib/gfileutils.c: Fix problems with leading elements
681 consisting only of "/" characters. (#85928, Guillaume Chazarain)
683 * tests/strfunc-test.c (main): Add more test cases
684 for g_build_filename().
686 2002-07-26 Matthias Clasen <maclas@gmx.de>
689 * glib/gutf8.c (g_utf8_strreverse): New function to revert
691 * glib/gpattern.c (g_utf8_reverse): Gone, replaced by
692 g_utf8_strreverse. (#87725)
694 Thu Jul 25 20:57:20 2002 Owen Taylor <otaylor@redhat.com>
696 * glib/giochannel.c (g_io_channel_read_line): Fix
697 docs for @str_return to conform to the main docs
698 and the implementation as to whether the terminator
699 is included. (#87964, Jacob Berkman)
701 Thu Jul 25 19:52:41 2002 Owen Taylor <otaylor@redhat.com>
703 * glib/guniprop.c (real_tolower): Handle the
704 end of the string properly when max_len is set.
705 (#88545, Morten Welinder.) Rename the next_t
706 variable to next_type to make cc-mode happy.
708 * glib/gconvert.c (g_iconv_open): Fix missing
709 label from previous commit.
711 Thu Jul 25 19:41:03 2002 Owen Taylor <otaylor@redhat.com>
713 * glib/giochannel.c (g_io_channel_get_flags): Fix
714 incorrect return value in g_return_val_if_fail
715 (#85545, David L. Cooper II)
717 Thu Jul 25 19:12:43 2002 Owen Taylor <otaylor@redhat.com>
719 * glib/giochannel.c (g_io_channel_set_encoding): Clarify
720 that only one of the conditions listed in the docs
721 need to be true, not all of them. (#87176,
724 * glib/giochannel.c (g_io_channel_read_line): Fix
725 description of the return value. (#87754, Manuel Clos)
727 Thu Jul 25 19:02:53 2002 Owen Taylor <otaylor@redhat.com>
729 * glib/gmain.c (g_timeout_add): Remove reference
730 in the docs to @notify parameter. (#87768,
733 Thu Jul 25 17:57:07 2002 Owen Taylor <otaylor@redhat.com>
735 * glib/gconvert.c (g_iconv_open): Document the
736 (GIConv)-1 return value on failure. (#87559,
739 * glib/gconvert.c (g_iconv_open): Fix potential
740 problems with the assumption that (GIConv)(iconv_t)-1
741 is the same as (GIConv)-1.
743 2002-07-15 Matthias Clasen <maclas@gmx.de>
746 * glib/gmarkup.c (g_markup_parse_context_get_element): New
747 function to get the currently open element. (#70448)
749 2002-07-04 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
751 * tests/*.c: Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN
752 throughout the files, which didn't already have them. (#87312)
754 2002-07-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
756 * configure.in: Made the thread flags determination tests first
757 check for the canonical form -pthread[s], then for other
758 possibilities. Also recognize some more platforms. Modeled after
759 patch from Miroslaw Dobrzanski-Neumann <mne@mosaic-ag.com>
762 * configure.in: Fixed bugs in posix thread priority
763 resolution. Also added AIX priorities. Fix from
764 Laurent Vivier <Laurent.Vivier@bull.net>. (#82599)
766 * gthread/gthread-solaris.c: Use thr_min_stack() instead of
767 sysconf (_SC_THREAD_STACK_MIN). if stack_size is 0 on entry to
768 g_thread_create_solaris_impl, also pass 0 to thr_create. Otherwise
769 the stack might be to small for any nontrivial thread. Discovered
770 on intel-solaris by Rajkumar Sivasamy <rajkumar.siva@wipro.com>.
772 2002-07-03 Anders Carlsson <andersca@gnu.org>
774 * configure.in: Add a forgotten trailing ` in the
775 GLIB_BINARY_AGE expression. Also fixup LT_CURRENT.
777 2002-07-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
779 * configure.in: Set binary age to 0 to make it compile.
781 * configure.in: Improve checks for dce/posix threads to also do
782 the right thing, if the thread functions are not declared in
783 pthread.h. Idea from Miroslaw Dobrzanski-Neumann
784 <mne@mosaic-ag.com> in #77981.
786 2002-07-01 Anders Carlsson <andersca@gnu.org>
788 * configure.in: Up version to 2.1.0.
790 2002-07-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
792 * glib/garray.h: Add parenthesis to protect macro
793 argument. Spotted by Sam Couter <sam@topic.com.au>. (#86826)
795 2002-06-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
797 * glib/gmessages.h (g_assert, g_assert_not_reached,
798 g_return_if_fail, g_return_val_if_fail): In case of
799 G_DISABLE_ASSERT replace "G_STMT_START{ }G_STMT_END" with
800 "G_STMT_START{ (void)0; }G_STMT_END", because the former chokes
801 gcc prior to 3.0. (#86664)
803 2002-06-26 Yanko Kaneti <yaneti@declera.com>
805 * configure.in: (ALL_LINGUAS) Added Bulgarian (bg).
807 Thu Jun 13 16:12:04 2002 Owen Taylor <otaylor@redhat.com>
809 * glib/gmain.c (struct _GTimeoutSource): Make
810 interval unsigned to match g_timeout_source_new().
813 * glib/gmain.c (g_timeout_prepare): Add some
814 extra gymnastics to avoid signed/unisgned integer
817 Thu Jun 13 15:57:46 2002 Owen Taylor <otaylor@redhat.com>
819 * INSTALL.in: Add a note about the deficiency
820 of Tru64 iconv. (#81699, Manuel Op de Coul)
822 Tue Jun 11 17:03:39 2002 Owen Taylor <otaylor@redhat.com>
824 * tests/patterntest.c (test_compilation)
825 * glib/gmem.c (profiler_try_realloc): A couple
826 of 64-bit printf format fix from George Lebl.
829 * glib/gconvert.c (open_converter): Fix gsize/gint
830 mixup for g_iconv() arguments. (#83270,
833 2002-06-03 Matthias Clasen <maclas@gmx.de>
835 * glib/gwin32.c (g_win32_get_package_installation_directory):
836 Replace homegrown "hash" entity by standard ISO entity "num".
838 2002-05-26 Matthias Clasen <maclas@gmx.de>
840 * glib/gmain.c: Remove references to nonexisting functions
841 g_source_set_callback_closure(), g_source_poll(), g_source_add()
844 * glib/gdir.c (g_dir_open): Typo fix in docs.
846 * glib/gasyncqueue.c (g_async_queue_lock):
847 (g_async_queue_unref_and_unlock): Fix markup to avoid erroneous
850 * glib/gwin32.c: Escape #'s leading to erroneous <link>s in docs.
852 * glib/gtree.c: Replace some occurances of Gtree by GTree in docs.
854 * glib/gstring.c (g_string_insert_unichar): Typo fix in docs.
856 2002-05-23 Havoc Pennington <hp@redhat.com>
858 * glib/gspawn.c (fork_exec_with_pipes): on success, close the
859 pipes from the child. Fix from Tim.
861 2002-05-22 jacob berkman <jacob@ximian.com>
863 * m4macros/glib-gettext.m4 (AM_GLIB_WITH_NLS): fix tyop
865 Wed May 22 15:40:47 2002 Owen Taylor <otaylor@redhat.com>
867 * README.in: Remove notes about now-fixed-bugs.
869 * m4macros/glib-gettext.m4 acinclude.m4: Get rid
870 of AC_MSG_NOTICE() usage, since some broken systems
871 (Hi Debian!) might not be using autoconf-2.5x for
872 downstream packages even though we require it for
875 * INSTALL.in: Add a note about installing extra
876 converters for Solaris.
878 * glib/gutils.h (g_bit_nth_msf): Fix termination
879 condition. (#82582, Paolo Molaro)
881 Tue May 21 15:51:17 2002 Owen Taylor <otaylor@redhat.com>
883 * configure.in: $with_libiconv, not $with_iconv.
885 Mon May 20 18:02:46 2002 Owen Taylor <otaylor@redhat.com>
887 * configure.in: Move iconv tests before gettext
890 * m4macros/glib-gettext.m4 acinclude.m4: If we can't
891 link to gettext, try adding in -liconv. (#80076,
894 * m4macros/glib-gettext.m4 acinclude.m4: Suppress
895 warnings about xgettext not being GNU gettext when
896 libintl wasn't found at all.
897 (#79016, Andrew P. Lentvorski, Jr.)
899 2002-05-21 Matthias Clasen <maclas@gmx.de>
901 * glib/gmarkup.c (g_markup_parse_context_parse): Added
902 proper support for CDATA sections.
904 2002-05-20 jacob berkman <jacob@ximian.com>
906 * glib/gdir.c: include sys/types.h before dirent.h to build on
907 darwin (fixes #72859)
909 Mon May 20 15:35:59 2002 Owen Taylor <otaylor@redhat.com>
911 * glib/gfileutils.c (get_contents_regfile): Fix double
912 close of file descriptor on error. (#82139, Wayne Schuller)
914 * glib/gspawn.c (close_and_invalidate): Don't close
915 fd's that have already been closed. (Fix from Michael
918 * glib/giochannel.c (g_io_channel_close): If not flushing,
919 dump the contents of the write buffers, so we won't try
920 to write them to an invalid fd later. (Patch from Ron Steinke,
921 fixing #78290, Andreas Persenius.)
923 2002-05-18 Matthias Clasen <maclas@gmx.de>
925 * tests/markups/fail-36.gmarkup:
926 * tests/markups/fail-35.gmarkup:
927 * tests/markups/valid-8.gmarkup:
928 * tests/markups/valid-7.gmarkup:
929 * tests/markups/valid-6.gmarkup:
930 * tests/markups/valid-5.gmarkup: New testcases.
932 * tests/markup-test.c (passthrough_handler):
933 (text_handler): Don't ignore the text_len parameter.
935 * glib/gmarkup.c (find_current_text_end): Don't hang on embedded
937 (g_markup_parse_context_parse): Fix passthrough handling to
938 correctly skip processing instructions, comments, doctype
939 declarations and CDATA marked sections. (#81977)
941 Sat May 18 00:21:51 2002 Tim Janik <timj@gtk.org>
945 * glib/gscanner.c (g_scanner_unexp_token): fix missing cases for
948 2002-05-17 Tor Lillqvist <tml@iki.fi>
950 * config.h.win32.in: Match new additions in a configure-produced
953 * glibconfig.h.win32.in: gssize and gsize as in a
954 configure-produced glibconfig.h.
956 * glib/glib.def: Add new functions.
958 Thu May 16 12:24:00 2002 Owen Taylor <otaylor@redhat.com>
960 * acinclude.m4 m4macros/glib-gettext.m4: Incorporate
961 AM_LC_MESSAGES, AM_PATH_PROG_WITH_TEST as AM_GLIB_* to avoid
962 dependencies on gettext m4 files. (#81885, Hidetoshi Tajima.)
964 2002-05-14 Alex Larsson <alexl@redhat.com>
968 New functions g_str_has_suffix and g_str_has_prefix.
970 * tests/string-test.c: (main):
971 Test the new functions.
973 Mon May 13 23:20:00 2002 Owen Taylor <otaylor@redhat.com>
975 * autogen.sh (have_gettext): Add a check for GNU gettext.
976 (Pointed out by Dan Winship in #59386.)
978 Mon May 13 11:55:33 2002 Owen Taylor <otaylor@redhat.com>
980 * configure.in acglib.m4: If sizeof(int) == sizeof(long)
981 run compilation tests to determine which way gsize should
982 be defined. (#74413, reported by Miroslaw Dobrzanski-Neumann)
984 Mon May 13 11:42:23 2002 Owen Taylor <otaylor@redhat.com>
986 * glib/libcharset/*: Update from libcharset CVS.
987 Includes additional encodings for Solaris (#80396,
990 * configure.in: Add getc_unlocked to CHECK_FUNCS().
992 * glib/gmessages.c (strdup_convert): If
993 g_convert_with_fallback() fails, print the error
994 message to stderr the first time, then return
995 the original string. (#78197)
997 2002-05-10 Naba Kumar <kh_naba@users.sourceforge.net>
999 * configure.in: Added "hi" to ALL_LINGUAS.
1001 2002-05-08 Michael Natterer <mitch@gimp.org>
1003 * configure.in: fixed yesterdays fix for cross compiling: simply
1004 check the variable "cross_compiling" which gets set by autoconf.
1006 2002-05-07 Matthias Clasen <maclas@gmx.de>
1008 * glib/gmarkup.c (unescape_text): Report unfinished entity
1009 references as errors rather than running into an assert. (#80441)
1011 2002-05-07 Michael Natterer <mitch@gimp.org>
1013 * configure.in: added a new conditional CROSS_COMPILING which
1014 indicates ($build != $host). If it is set, look for
1015 glib-genmarshal in PATH. Error out if it was not found.
1017 Tue May 7 11:24:22 2002 Owen Taylor <otaylor@redhat.com>
1019 Fixes for #79347, Ron Arts.
1021 * glib/gqsort.c (g_qsort_with_data): Handle 0 elements,
1022 don't g_return_if_fail().
1024 * tests/qsort-test.c (main): Add a 0 element test.
1026 * glib/garray.c (g_[ptr_]array_sort_with[_data]):
1027 Remove invalid assertions that array->pdata != NULL ..
1028 it's NULL for 0 elements which is a valid case.
1030 Mon May 6 16:00:41 2002 Owen Taylor <otaylor@redhat.com>
1032 * glib/gbacktrace.h: Exclude OSF from alpha definition
1033 of G_BREAKPOINT(), since the assembler apparently
1034 doesn't support bpt. (#77852, Gareth Pierce) [from stable]
1036 Mon May 6 11:48:08 2002 Owen Taylor <otaylor@redhat.com>
1038 [ merged from stable ]
1040 * Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641)
1042 * m4macros/glib-2.0.m4: save CFLAGS/LIBS properly when
1043 compiling "what went wrong" test case. (#79330)
1045 * m4macros/glib-2.0.m4: Remove reference to editing
1046 pkg-config script. (From Jim Gettys)
1048 * configure.in: (Look for dyld interfaces before dlopen()
1049 since OS X can have both. Patch from Jacob Berkman,
1052 2002-05-01 jacob berkman <jacob@ximian.com>
1054 * configure.in: fix typo on 64-bit printf formatting string
1055 configure message (fixes #80389)
1057 2002-04-29 Pablo Saratxaga <pablo@mandrakesoft.com>
1059 * configure.in: Added Vietnamese (vi) to ALL_LINGUAS
1061 2002-04-19 Tor Lillqvist <tml@iki.fi>
1063 * glib/gspawn.c (g_spawn_command_line_sync): Add Windows-specific
1064 note to the gtk-doc comment.
1066 * glib/gspawn-win32.c: Remove the copy-pasted gtk-doc comment
1067 blocks. It's enough to have them in gspawn.c.
1069 2002-04-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
1071 * gthread/gthread-impl.c (g_thread_init): Fixed typo. (#78985)
1073 2002-04-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
1075 * glib/gthreadpool.c (g_thread_pool_thread_proxy): Unlock the pool
1076 for all threads leaving it. (#78348)
1078 2002-04-11 Matthias Clasen <maclas@gmx.de>
1080 * tests/patterntest.c: Remove manual UTF-8 -> Latin1 conversion for
1081 stuff fed to g_print.
1083 2002-04-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
1085 * tests/gio-test.c, tests/markup-test.c: Use gsize instead of
1086 gint. From Miroslaw Dobrzanski-Neumann
1087 <mne@mosaic-ag.com>. (#77982)
1089 2002-04-08 Stanislav Brabec <utx@penguin.cz>
1091 * cs.po: Added Czech (cs) to ALL_LINGUAS.
1093 2002-03-31 Hasbullah Bin Pit <sebol@ikhlas.com>
1095 * configure.in: Added Malay (ms)to ALL_LINGUAS.
1097 2002-03-29 Tor Lillqvist <tml@iki.fi>
1099 * glib/glib.def: Add g_convert_init.
1101 Thu Mar 28 18:25:14 2002 Owen Taylor <otaylor@redhat.com>
1105 * configure.in: Version 2.0.1, interface, binary age 1.
1107 Thu Mar 28 18:22:53 2002 Owen Taylor <otaylor@redhat.com>
1109 * README: Remove warning about g_print, etc, encoding.
1113 * glib/gmessages.c (g_log_default_handler): Use %lu
1114 (plus a cast) when printing out pid_t arguments.
1115 (#76770, Morten Welinder)
1117 * glib/gstrfuncs.c (g_strdup_vprintf): Check the
1118 result of vasprintf(), return NULL on failure.
1119 (#76802, Akira Tagoh)
1121 * tests/testglib.c (TEST): Supress a warning with
1124 Thu Mar 28 20:31:51 2002 Tim Janik <timj@gtk.org>
1128 (g_printerr): convert prtinf() strings to local charset
1129 when writing them to stdout or stderr.
1131 Wed Mar 27 18:42:22 2002 Tim Janik <timj@gtk.org>
1134 major cleanups. introduced _g_log_fallback_handler() to handle
1135 recursive messages which really doesn't call any GLib functions.
1136 this allowes the default handler to use normal GLib functions and
1137 also fixes user supplied log level handlers.
1138 fixed locking issues, based on a patch from Sebastian Willhelmi,
1139 attached to #74356. translate log messages from UTF-8, based
1140 on the same patch. save fatal and recursion flags across flag
1141 loop. use new integer format code from above patch.
1142 move GLib functions out of locked mutex state to avoid deadlocks.
1143 move the level prefix and filedescriptor logic into mklevel_prefix().
1144 move _g_debug_init() into a place where we can figure and handle
1147 Mon Mar 25 18:13:06 2002 Owen Taylor <otaylor@redhat.com>
1149 * glib/gtypes.h (GUINT*_SWAP_LE_BE_X86): Remove __const__
1150 qualifier from __asm__ statements... GCC since at least
1151 2.96 has assumed no side effects automaticaly, and gcc-3.1
1152 will warn about this usage. (#73308, Cody Russell)
1154 Fri Mar 22 17:59:27 2002 Owen Taylor <otaylor@redhat.com>
1156 * glib/gmem.c (g_mem_chunk_reset): Fix problem where
1157 if g_mem_chunk_reset() is called on an alloc-only
1158 memchunk, then a useles GTree was created.
1160 Wed Mar 20 18:20:21 2002 Owen Taylor <otaylor@redhat.com>
1162 * glib/gconvert.c (open_converter): Try to work around segfaults
1163 on Solaris if NULL is passed for outbuf... supposedly gchar
1164 *outbuf = NULL... &outbuf works. (#74336, Lauri Alanko)
1166 Wed Mar 20 11:17:32 2002 Owen Taylor <otaylor@redhat.com>
1168 * glib/gfileutils.c (get_contents_regfile): Close the
1169 file descriptor. (#75507, Matthias Clasen)
1171 Wed Mar 20 11:00:59 2002 Owen Taylor <otaylor@redhat.com>
1173 * configure.in: Use $PKG_CONFIG, not pkg-config.
1174 (LEE Sau Dan, #75572)
1176 2002-03-20 Sven Neumann <sven@gimp.org>
1178 * glib/ghash.c (g_hash_table_resize): avoid repeated call of
1179 g_spaced_primes_closest() by moving it out of the CLAMP macro
1180 (spotted by Salmaso Raffaele).
1182 2002-03-17 Tor Lillqvist <tml@iki.fi>
1184 * README.win32: Add MSVC-specific text by Hans Breuer.
1186 2002-03-16 Tor Lillqvist <tml@iki.fi>
1188 * glib/giowin32.c: Some debugging output formatting changes. The
1189 following changes fix a problem with buffered GIOChannels, noticed
1190 with the help of Owen's test program, thanks! (#59969)
1191 (g_io_win32_prepare): Return value that takes the buffer condition
1192 into account, like g_io_unix_prepare() does.
1193 (g_io_win32_check): Ditto, like g_io_unix_check().
1194 (g_io_win32_dispatch): Ditto, like g_io_unix_dispatch().
1196 Thu Mar 14 17:37:45 2002 Owen Taylor <otaylor@redhat.com>
1198 * glib/giochannel.c (g_io_channel_write_chars): Fix some
1199 gsize/gint mismatches. (#74422, Miroslaw Dobrzanski-Neumann)
1201 2002-03-14 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
1203 * glib/gmessages.c: Fixed threading issues brought up by
1204 #74577. Make g_log_find_domain, g_log_domain_new,
1205 g_log_domain_check_free and g_log_domain_get_handler require being
1206 called with g_messages_lock held and remove all internal locking
1207 in them. Then added proper locking to g_log_set_handler,
1208 g_log_remove_handler and g_logv. Problem spotted by Miroslaw
1209 Dobrzanski-Neumann <mne@mosaic-ag.com>. (#74577)
1211 2002-03-13 Erwann Chenede <erwann.chenede@sun.com>
1213 glib/gen-unicode-tables.pl
1214 glib/gunidecomp.h : fixed cast/type problems to
1215 avoid warnings (with forte compiler) (#73898)
1217 2002-03-12 Alexander Larsson <alla@lysator.liu.se>
1220 Cache getenv("G_BROKEN_FILENAMES") in have_broken_filenames() and
1221 use instead. Add g_convert_init() that calls have_broken_filenames()
1223 * gthread/gthread-impl.c:
1224 Have g_thread_init call g_convert_init.
1226 2002-03-11 Matthias Clasen <maclas@gmx.de>
1228 * glib/gstrfuncs.c (g_strtod):
1231 (g_ascii_formatd): Doc formatting fixes.