1 Thu Dec 12 13:52:58 2002 Owen Taylor <otaylor@redhat.com>
3 * m4macros/glib-gettext.m4: AC_PREREQ(2.53) here; convinces
4 Debian's wrappers to use the right autoconf for atk, etc.
5 (Reported by Jody Goldberg)
7 2002-12-11 Tor Lillqvist <tml@iki.fi>
9 * glib/gtimer.c (g_timer_elapsed): Fix off-by-one error. (#100853)
11 * glib/gfileutils.c (g_file_test): Bypass extra test for root on
14 * glib/glib.def: Add g_{get,set}_application_name.
16 Wed Dec 11 17:53:34 2002 Owen Taylor <otaylor@redhat.com>
18 * === Release 2.1.4 ===
22 Wed Dec 11 17:49:15 2002 Owen Taylor <otaylor@redhat.com>
24 * m4macros/glib-gettext.m4: Unset
25 ac_cv_func_bind_textdomain_codeset before calling
26 AC_CHECK_FUNCS(bind_textdomain_codeset) again.
28 * configure.in: Remove duplicate call to
29 AC_CHECK_FUNCS(bind_textdomain_codeset)
31 2002-12-11 Pauli Virtanen <pauli.virtanen@hut.fi>
33 * configure.in: Added "fi" to ALL_LINGUAS.
35 Wed Dec 11 17:00:20 2002 Owen Taylor <otaylor@redhat.com>
37 * acglib.m4 (ac_compile): Add GLIB_ASSERT_SET() as
38 a helper for adding "must be set when cross-compiling"
41 * configure.in: For all cached variables without defaults,
42 error out if they aren't set.
44 Wed Dec 11 15:52:01 2002 Owen Taylor <otaylor@redhat.com>
46 * configure.in: Also assume AC_LINK_IFELSE() is
47 OK when cross-compiling for the libs checks, and for
48 the sched_get_priority_min() check.
50 * configure.in: Add cached value glib_cv_use_pid_surrogate.
52 Wed Dec 11 15:10:25 2002 Owen Taylor <otaylor@redhat.com>
54 * configure.in: Factor out repeated thread test into
55 a m4_define(); when cross-compiling, assume that
56 AC_LINK_IFELSE() is good enough for thinking that
57 -pthread[s] is OK. (More of #58786)
59 * m4macros/glib-gettext.m4: Fix typo. (Manish Singh)
61 Wed Dec 11 14:28:50 2002 Owen Taylor <otaylor@redhat.com>
63 * configure.in: Version 2.1.4, interface age 1.
65 * m4macros/glib-gettext.m4: Major rewrite; remove leftovers
66 from building intl/, prefer libintl if both libc and libintl
67 have dgettext and libintl also has bind_textdomain_codeset().
70 * configure.in acinclude.m4: Use an include to avoid having
71 to duplicate the gettext macros between glib-gettext.m4
74 * m4macros/glib-gettext.m4: Do some tricks so that configure.in
75 can use macros under hidden names, but aclocal will still
76 find them when installed.
78 * m4macros/glib-gettext.m4: Add AM_GLIB_DEFINE_LOCALEDIR
79 to encapsulate install location of catalog files.
81 * m4macros/glib-gettext.m4 (AM_GLIB_DEFINE_LOCALEDIR):
82 Fix bug where if --prefix wasn't set on the configure line,
83 GLib would look for translations in NONE/share/locale.
85 Wed Dec 11 11:11:44 2002 Owen Taylor <otaylor@redhat.com>
87 * glib/grand.c: Include string.h, supress a warning.
89 2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
91 * glib/grand.c (g_rand_int_range): Improve generation of
92 pseudo-random integers. (#99720, Morten Welinder <terra@diku.dk>)
94 * README.in, docs/reference/glib/running.sgml,
95 docs/reference/glib/tmpl/random_numbers.sgml,
96 docs/reference/glib/changes.sgml: Added notes about the new
99 2002-12-09 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
101 * configure.in: use 0 instead of $defattr, as it isn't defined
102 anymore on platforms using -pthread and linux, where this is used,
103 only uses 0 anyway and not "pthread_attr_default".
105 Sun Dec 8 23:36:12 2002 Owen Taylor <otaylor@redhat.com>
107 * glib/gfileutils.c (g_file_test): Guard against
108 the POSIX allowed behavior where access (file, X_OK)
109 succeeds for uid==0 when no executable bits are set.
111 * glib/gfileutils.c (g_file_test): Add doc notes
112 about the possibility of race conditions, and the
113 fact that EXISTS and IS_EXECUTABLE give results
114 for the real uid not the effective user ID.
115 (#81854, Morten Welinder.)
117 Fri Dec 6 14:34:42 2002 Owen Taylor <otaylor@redhat.com>
119 Avoid literal UTF-8. (Allow it to build with
120 IRIX cc, #72757, Tomas Ogren)
122 * tests/patterntest.c (main): Convert literal
123 iso-8859-1 high bit characters in tests to
126 * glib/gunichartable.h glib/gen-unicode-tables.pl:
127 Use hex \xMN escapes rather than literal UTF-8
130 * configure.in: AC_PREREQ(2.53). needed for recent
131 GLIB_SIZEOF() changes.
133 Fri Dec 6 12:40:00 2002 Owen Taylor <otaylor@redhat.com>
135 * glib/libcharset/Makefile.am (EXTRA_DIST): Don't
136 distribute ref-add/del.sed., fixing problem with
137 srcdir != destdir. (#99813, Phuc LeHong)
139 Fri Dec 6 12:31:30 2002 Owen Taylor <otaylor@redhat.com>
141 * configure.in: chmod 0755 scripts in AC_OUTPUT(), since
142 install -c won't necessarily do that. (#74376, Martin
143 Gansser, Joshua Weage)
145 Thu Dec 5 16:05:55 2002 Owen Taylor <otaylor@redhat.com>
147 * configure.in: Use AC_LINK_IFELSE(), not AC_TRY_RUN()
148 for va_copy(), __va_copy() checks.
150 * configure.in: When there is a reasonable default,
151 provide that in the 3rd argument of AC_TRY_RUN(),
152 instead of just leaving the 3rd argument empty.
154 2002-12-05 Matthias Clasen <maclas@gmx.de>
156 * glib/gstrfuncs.c (g_strncasecmp): Break long deprecation
157 info into two paragraphs.
159 Thu Dec 5 15:43:46 2002 Owen Taylor <otaylor@redhat.com>
161 * configure.in: Fix multiple problems with the programs
162 in the argument of AC_TRY_RUN() having preprocessor
163 defines not in the first column.
165 Thu Dec 5 15:24:14 2002 Owen Taylor <otaylor@redhat.com>
167 Start of fixes for cross-compilation. Based on
168 patches from Dimi Shahbaz, Dan Kegel, Johannes Stezenbach,
171 * configure.in: Don't run the Digital-Unix 4 -std1 check
172 when cross_compiling.
174 * configure.in: Use AC_TRY_COMPILE() rather than
175 AC_TRY_RUN() for inline checks. (Daniel Egger)
177 * configure.in: use AC_CHECK_SIZEOF rather than
178 GLIB_SIZEOF for size_t. Remove unused checks for
179 size of ptrdiff_t/intmax_t.
181 * acglib.m4: Resync GLIB_SIZEOF of to the current
182 AC_CHECK_SIZEOF, which handles cross-compilation.
184 * acglib.m4: Remove no longer needed GLIB_SYSDEFS(),
185 add GLIB_CHECK_VALUE() as a wrapper around the
186 amazing _AC_COMPUTE_INT() autoconf 2.5x internal.
188 * configure.in: Redo the POLL* value checks in a
189 cross-compilation friendly way.
191 Thu Dec 5 15:28:37 2002 Owen Taylor <otaylor@redhat.com>
193 * glib/gtimer.c: Include glibconfig.h early so
194 that we include <windows.h> when needed.
196 * glib/gstrfuncs.c: Fix typo.
198 Tue Dec 3 21:10:28 2002 Owen Taylor <otaylor@redhat.com>
200 * configure.in: Add 3rd argument to remaining AC_DEFINES(),
201 so we can get rid of acconfig.h. (#76334, Daniel Egger)
203 * acconfig.h: Removed.
205 Tue Dec 3 20:22:27 2002 Owen Taylor <otaylor@redhat.com>
207 * glib/*.c: Patch from Sven Neumann to make the
208 include order consistent. (#71704)
210 2002-12-03 Matthias Clasen <maclas@gmx.de>
212 * configure.in: Check that strlcpy behaves as per the OpenBSD
213 man page before wrapping it. (#53933)
215 2002-12-03 Frederic Crozat <fcrozat@mandrakesoft.com>
217 * glib/gunicollate.c: (g_utf8_collate_key):
218 Fix typo from previous commit
220 Tue Dec 3 01:05:00 2002 James M. Cape <jcape@ignore-your.tv>
222 * glib/gunicollate.c (g_utf8_collate, g_utf8_collate_key):
223 Check for NULL before doing anything.
225 Mon Dec 2 16:34:13 2002 Owen Taylor <otaylor@redhat.com>
227 * === Released 2.1.3 ===
231 [ Unmerged change from stable from May 16 ]
233 * autogen.sh: Remove check for GNU gettext, since it
234 was causing problems for Solaris CVS builds.
235 (#81885, Hidetoshi Tajima.)
237 Tue Nov 26 09:51:43 2002 Owen Taylor <otaylor@redhat.com>
239 * glib/gstrfuncs.c (g_strchomp): Avoid non-ANSI pointer
240 comparison. (#54344, Morten Welinder)
242 * tests/strfunc-test.c (main): Add tests for strchomp().
244 2002-11-30 Ole Laursen <olau@hardworking.dk>
246 * configure.in: Added "da" to ALL_LINGUAS.
248 2002-11-29 Matthias Clasen <maclas@gmx.de>
250 * glib/gstrfuncs.c (g_ascii_strtoull): It is a 2.2 addition.
252 * glib/gtimer.c (g_time_val_add): Adjust to changed parameter names.
254 * glib/gutils.c (g_get_application_name): Mark as 2.2. addition.
256 * glib/gstrfuncs.c (g_ascii_strtoull): Mark as 2.0.7 addition.
258 2002-11-28 Matthias Clasen <maclas@gmx.de>
264 * glib/giochannel.c: Move some docs inline, and add deprecation
265 information. To see the list of affected functions, grep for
268 * configure.in: Fix the definitions around printf: either we use
269 system printf in which case HAVE_VASPRINTF, HAVE_C99_VSNPRINTF and
270 HAVE_UNIX98_PRINTF have already been determined by earlier tests,
271 or we use the included printf, in which case we know that these
272 three can be defined as 1. (#99826)
274 * glib/gutf8.c (g_utf8_strreverse):
275 * glib/gstrfuncs.c (g_str_has_suffix):
277 * glib/gprintf.c (g_printf):
283 * glib/gmarkup.c (g_markup_parse_context_get_element):
284 Mark as 2.2 API additions.
286 * configure.in: Fix the gtk-doc version check.
288 2002-11-27 Matthias Clasen <maclas@gmx.de>
290 * glib/gmessages.h: Use G_LIKELY without surrounding parentheses
291 in g_assert() and g_return_[val]_if_fail() so that we always trigger
292 the gcc warning about "assignment used as truth value".
294 * glib/gmacros.h: Always put parentheses in G_LIKELY and G_UNLIKELY.
296 2002-11-26 Matthias Clasen <maclas@gmx.de>
298 * glib/gmessages.h: Only use G_LIKELY in g_assert() and
299 g_return_[val]_if_fail() if it is actually doing something.
301 2002-11-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
303 * glib/grand.c, gthread/gthread-impl.c, tests/rand-test.c:
304 Changed the seeding algorithm. Old behaviour can be achived by
305 setting envvar G_RANDOM_VERSION to "2.0". (#99262)
307 * docs/reference/glib/glib-docs.sgml,
308 docs/reference/glib/Makefile.am: Renamed
309 docs/reference/glib/changes-2.0.sgml to
310 docs/reference/glib/changes.sgml and added section for changes
311 from 2.0 to 2.2 (Also corrected 1.0 to 1.2).
313 * README.in, docs/reference/glib/running.sgml,
314 docs/reference/glib/tmpl/random_numbers.sgml,
315 docs/reference/glib/changes.sgml: Added notes about the new
318 * configure.in: Make CPPFLAGS, not CFLAGS, include
319 G_THREAD_CFLAGS. CFLAGS is used while linking too and thus GLib
320 programs would link to the threads library on some platforms. Also
321 fixed a bug manifesting through this change. (#77981)
323 2002-11-26 Matthias Clasen <maclas@gmx.de>
325 * glib/gmacros.h: Fix the non-gcc-3.x definitions of G_LIKELY
326 and G_UNLIKELY. (Reported by Dan Mills)
328 2002-11-25 Matthias Clasen <maclas@gmx.de>
330 * glib/gfileutils.c (g_build_path):
331 (g_build_filename): Document that the varargs must be
332 NULL-terminated. (#99510)
334 * glib/gmessages.h (g_assert):
336 (g_return_val_if_fail): Remove the (no longer effective) empty
339 * glib/gmacros.h: Change the definition of G_LIKELY, so that
340 g_return_if_fail() and friends still trigger a gcc warning if
341 the expr is an assignment.
343 2002-11-23 Matthias Clasen <maclas@gmx.de>
345 * configure.in: Generate docs/reference/*/version.xml.
347 * glib/gdir.h: Add Copyright notice.
349 2002-11-22 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
351 * configure.in: Fixed typo: PTHREAD_PRIO_MIN ->
352 PTHREAD_PRIO_MAX. (Laurent Vivier, #99293)
354 Fri Nov 22 09:39:09 2002 Owen Taylor <otaylor@redhat.com>
356 * glib/gmacros.h: Remove broken G_HIDDEN_SYMBOL
357 definition which wasn't supposed to be committed
360 Thu Nov 21 16:19:21 2002 Owen Taylor <otaylor@redhat.com>
362 * glib/ghash.c: Patch from Morten Welinder to
363 make ghash.c properly obey DISABLE_MEM_POOLS. (#96600)
365 Thu Nov 21 14:09:44 2002 Owen Taylor <otaylor@redhat.com>
367 * glib/gmacros.h: Add G_GNUC_DEPRECATED. (Tom Tromey,
370 2002-11-21 Tor Lillqvist <tml@iki.fi>
372 * config.h.win32.in: Update to match what is currently produced by
375 * configure.in: Remove superfluous spaces on two shell variable
376 assignment lines. Don't define HAVE_GOOD_PRINTF as 0 if we don't
377 have a good printf, it is tested with #ifdef.
379 * glib/glib.def: Add new functions.
381 * glib/Makefile.am: If !HAVE_GOOD_PRINTF, add libtrio.la to LIBADD
385 * gmodule/gmodule.rc.in
386 * gobject/gobject.rc.in
387 * gthread/gthread.rc.in
388 * {glib,gmodule,gobject,gthread}/makefile.{mingw,msc}.in:
389 Hardcode 2.0 in the names, as that is what Makefile.am does.
391 2002-11-21 Matthias Clasen <maclas@gmx.de>
393 Include a printf implementation supporting C99 snprintf and SUS
394 positional parameters: (#79488)
397 * glib/gspawn-win32.c:
400 * glib/gbacktrace.c: Use _g_printf wrappers.
402 * glib/gutils.c (g_vsnprintf): Simplify, since we can assume C99
403 snprintf semantics now.
405 * glib/gmessages.c (printf_string_upper_bound): No longer needed,
406 since we can assume C99 snprintf semantics now.
409 * acinclude.m4 (AC_FUNC_PRINTF_UNIX98): New macro to check wether
410 printf supports SUS positional parameters.
412 * configure.in: New option --enable-included-printf to force
413 compilation of trio; otherwise trio is compiled if the system
414 printf misses either C99 snprintf semantics of SUS positional
417 * glib/Makefile.am (SUBDIRS): Conditionally compile trio.
418 (libglib_2_0_la_SOURCES): Add gprintf.c and gprintfint.h.
419 (glibsubinclude_HEADERS): Add gprintf.h.
421 * glib/gprintfint.h: New private wrapping either system printf
422 or trio printf variants in _g_printf wrappers for use inside glib.
424 * glib/gprintf.h: New public header declaring g_printf variants.
425 * glib/gprintf.c: Corresponding implementations.
427 * glib/trio/*: New directory, containing the trio-1.9 sources.
429 2002-11-20 Matthias Clasen <maclas@gmx.de>
431 * glib/gmessages.h (g_return_if_fail):
432 (g_return_val_if_fail): Use G_LIKELY. (#69022)
434 * glib/gmacros.h (G_LIKELY):
435 (G_UNLIKELY): New macros for hinting the compiler about the
436 expected result of expressions. For gcc 3.x, define these
437 using __builtin_expect. (#69022)
439 Tue Nov 19 14:38:18 2002 Owen Taylor <otaylor@redhat.com>
441 * glib/gstrfuncs.c (g_ascii_strtoull): Fix
442 strtull/strtoull type in docs (#99012, Morten
443 Welinder.) Add copyright information for code
446 2002-11-18 Tor Lillqvist <tml@iki.fi>
448 * glib/gspawn-win32.c (do_spawn_with_pipes): Do handle
449 G_SPAWN_DO_NOT_REAP_CHILD after all, similarily as on Unix. If the
450 flag is not set, don't call DuplicateHandle() on the handle
451 returned by the helper process, and set the "child pid" returned
452 to the called to zero. Close the handle to the helper process in
455 * glib/gspawn.c (g_spawn_async_with_pipes): Document Windows
456 behaviour of G_SPAWN_DO_NOT_REAP_CHILD.
458 2002-11-18 Tor Lillqvist <tml@iki.fi>
460 [Win32] Fix the asynchronous g_spawn* to return the process handle
461 of the started program properly. (Note: not the process id. The
462 spawn*() functions in the C runtime return the created process's
463 handle. There doesn't seem to be any way to get the process id of
464 a child process if you have the handle. But then, the process
465 handle usually is more useful anyway.)
467 * glib/gspawn-win32-helper.c (WinMain): If the spawning of the
468 child process succeeded, and if asynchronous spawn (P_NOWAIT),
469 write the result handle up to the parent process, waiting to read
470 it in do_spawn_with_pipes().
472 * glib/gspawn-win32.c (do_spawn): Use return value from spawning
473 the helper. If it is -1 the helper wasn't found or couldn't be run
474 for some reason. Otherwise it is the helper's process handle.
476 (g_spawn_async_with_pipes): Pass the child_pid parameter on to
477 do_spawn_with_pipes().
479 (do_spawn_with_pipes): Take also a child_pid parameter. If
480 do_spawn() returned -1, fail immediately. Otherwise make the
481 handle passed to us by the helper process into a handle valid in
482 this process by calling DuplicateHandle().
484 2002-11-17 Tor Lillqvist <tml@iki.fi>
486 * glib/gspawn-win32.c (g_spawn_async_with_pipes): Ignore the
487 G_SPAWN_DO_NOT_REAP_CHILD flag, can't be meaninfully implemented
488 on Windows, at least not now. Always pass dont_wait as TRUE to
489 do_spawn_with_pipes(). The semantics of the dont_wait parameter is
490 very different from the semantics of the intermediate_child
491 parameter to fork_exec_with_pipes() in the Unix version. This
492 fixes a serious bug, g_spawn_async() in fact behaved
495 (do_spawn_with_pipes, do_spawn): Rename from
496 fork_exec_with_pipes() and do_exec(), those names were from the
497 Unix bersion, and misleading.
499 (close_and_invalidate): Don't try to close invalid fds.
501 * glib/gspawn.c (g_spawn_async_with_pipes): Add warning about
502 Windows behaviour. There is no fork(), so the child_setup()
503 function is in fact called in the parent.
505 * glib/gspawn-win32-helper.c (WinMain): Insert spaces in argv
508 * tests/spawn-test-win32-gui.c: New file. Test program to be
509 linked as a GUI application. Behaves differently depending on how
510 invoked (by spawn-test).
512 * tests/spawn-test.c (run_tests): On Win32, run the
513 spawn-test-win32-gui program, too, in several ways, synchronously
516 * tests/Makefile.am: Corresponding change.
518 Fri Nov 8 19:44:20 2002 Soeren Sandmann <sandmann@daimi.au.dk>
520 * docs/reference/glib/tmpl/arrays.sgml:
521 * docs/reference/glib/tmpl/arrays_byte.sgml:
522 * docs/reference/glib/tmpl/arrays_pointer.sgml:
523 * docs/reference/glib/tmpl/date.sgml:
524 * docs/reference/glib/tmpl/linked_lists_double.sgml:
525 * docs/reference/glib/tmpl/linked_lists_single.sgml:
526 * docs/reference/glib/tmpl/main.sgml:
527 * docs/reference/glib/tmpl/queue.sgml:
528 * docs/reference/glib/tmpl/random_numbers.sgml:
529 * docs/reference/glib/tmpl/relations.sgml:
530 * docs/reference/glib/tmpl/scanner.sgml:
531 * docs/reference/gobject/tmpl/gtype.sgml:
532 * docs/reference/gobject/tmpl/value_arrays.sgml glib/garray.h:
533 * glib/gdate.h glib/giochannel.h glib/glist.h glib/gmain.c:
534 * glib/gmain.h glib/gqueue.c glib/gqueue.h glib/grand.c glib/grand.h:
535 * glib/grel.h glib/gslist.h glib/gtimer.h gobject/gvaluearray.h:
537 Trivial s/foo/foo_/ fixes to make <glib.h> includable with
538 -Wshadow without warnings (#91680)
540 Thu Nov 7 19:32:26 2002 Owen Taylor <otaylor@redhat.com>
542 * glib/gutils.[ch] (g_set/get_application_name):
543 Patch from Havoc Pennington to add functions for
544 setting and getting a human readable application
547 * configure.in: Up to version 2.1.3, since we'll
548 need to depend on last addition for GTK+.
550 2002-11-06 Tor Lillqvist <tml@iki.fi>
552 * glib/glib.def: Add g_main_thread_init.
554 2002-11-06 Matthias Clasen <maclas@gmx.de>
556 * glib/gstrfuncs.c (g_str_has_suffix):
557 (g_str_has_prefix): Minor doc markup fix.
559 Mon Nov 4 10:45:48 2002 Owen Taylor <otaylor@redhat.com>
561 * configure.in: Add -DG_DISABLE_CAST_CHECKS for
562 everything but --enable-debug.
564 * configure.in: Require pkg-config 0.14. (#97553)
566 Mon Nov 4 14:41:48 2002 Owen Taylor <otaylor@redhat.com>
568 * glib/gbsearcharray.c: Include config.h
569 so DISABLE_MEMPOOLS actually has an effect.
570 (#96437, Morten Welinder)
572 * tests/uri-test.c: Include <config.h>
574 2002-11-03 Dmitry G. Mastrukov <dmitry@taurussoft.org>
576 * configure.in: Added Belarusian to ALL_LINGUAS
578 2002-11-02 Daniel Elstner <daniel.elstner@gmx.net>
580 * glib/giochannel.c (g_io_channel_write_chars): Fix left_len
581 calculation in the from UTF-8 to UTF-8 case: left_len should
582 be the number of bytes left in the input buffer rather than
583 channel->write_buf. (#96373)
585 2002-10-27 Tor Lillqvist <tml@iki.fi>
587 * configure.in (G_MODULE_LDFLAGS): Don't set on Win32, only causes
590 * glib/gmain.c (g_poll): Fix for bug reported by Herman Bloggs
591 (http://mail.gnome.org/archives/gtk-devel-list/2002-October/msg00101.html)
592 and others. We waited for events only for GPollFDs whose events
593 field had G_IO_IN set. We need to wait also for events for
594 GPollFDs that have just G_IO_OUT set. Non-blocking sockets in the
595 process of being connect()ed are one such case. Also silence a
596 couple of gcc warnings.
598 Fri Oct 18 13:41:30 2002 Manish Singh <yosh@gimp.org>
600 * glib/giochannel.c (g_io_channel_read_line_backend): avoid
601 creating negative values out of unsigned values using MAX,
602 check to see if the result would be positive before doing
605 Tue Oct 15 15:28:47 2002 Manish Singh <yosh@gimp.org>
607 * tests/iochannel-test.c: use gsize instead of int where appropriate
608 (64-bit cleanliness fix). Removed leftover line_term cruft.
610 Tue Oct 15 15:07:45 2002 Manish Singh <yosh@gimp.org>
612 * gmodule/Makefile.am gobject/Makefile.am gthread/Makefile.am:
613 add -DG_DISABLED_DEPRECATED
615 * tests/gio-test.c tests/mainloop-test.c tests/string-test.c
616 tests/testglib.c test/tree-test.c tests/unicode-collate.c
617 tests/unicode-normalize.c: Deprecation cleanup
619 Mon Oct 14 15:51:05 2002 Owen Taylor <otaylor@redhat.com>
621 * glib/gdate.c (g_date_fill_parse_tokens): Fix a memory
622 leak. (#94550, Sebastian Rittau)
624 Mon Oct 14 15:36:11 2002 Owen Taylor <otaylor@redhat.com>
626 * glib/gcompletion.[ch] (g_completion_complete): Make
627 prefix argument const. (#91662, Gustavo Carneiro)
629 Mon Oct 14 15:32:14 2002 Owen Taylor <otaylor@redhat.com>
631 * tests/mainloop-test.c (adder_response): Fix a minor memory
634 Sat Oct 12 21:30:41 2002 Tim Janik <timj@gtk.org>
636 * merged up from glib-2-0:
638 * glib/gstrfuncs.c (g_ascii_strtod): fix comment.
639 (g_ascii_strtoull): new function, acting like strtoull(3) in the C
642 * glib/gscanner.[hc]: fix 32bit issues with integer parsing and
643 support storing 64bit values in GTokenValue by
644 using g_ascii_strtoull().
646 Sat Oct 12 12:34:22 2002 Soeren Sandmann <sandmann@daimi.au.dk>
648 * glib/gtree.c (g_tree_search), glib/gspawn.c
649 (g_spawn_async_with_pipes):
651 Documentation fixes: #71778, Owen Taylor; #85095, Bill Janssen,
654 Thu Oct 10 23:27:02 2002 Tim Janik <timj@gtk.org>
656 * glib/gscanner.c (g_scanner_msg_handler): if input_name is NULL,
657 print out "<memory>" instead of completely skipping input specification
658 and thusly loosing error line information.
660 Sun Sep 29 12:15:44 2002 Manish Singh <yosh@gimp.org>
662 * tests/mainloop-test.c: use gsize instead of int where appropriate
663 (64-bit cleanliness fix)
665 2002-09-29 Tor Lillqvist <tml@iki.fi>
667 * configure.in: Instead of forcing -fnative-struct into CFLAGS
668 when using gcc for Win32, check for gcc version 3.x which uses
669 -mms-bitfields instead. Also check if either of these switches is
670 actually available at all, and warn if not. Thanks to Soren
671 Andersen for the inspiration.
673 * HACKING: Say we require autoconf 2.52 as that is what
676 2002-09-23 Arvind Samptur <arvind.samptur@wipro.com>
677 * glib/gspawn.c (fork_exec_with_pipes) : when the child fails
678 we need to reap it to avoid a zombie. This would
679 happen in case of g_spawn_sync. Fixes #92658
681 2002-09-20 Matthias Clasen <maclas@gmx.de>
683 * glib/gscanner.c (g_scanner_msg_handler): Don't print
684 scanner->input_name when it is NULL. (#93752)
686 2002-09-06 Havoc Pennington <hp@redhat.com>
688 * autogen.sh: automake 1.4
690 2002-09-01 Soeren Sandmann <sandmann@daimi.au.dk>
692 * docs/reference/glib/tmpl/datalist.sgml, glib/gmain.c:
694 Documentation fixes: (#75255, Martin Schulze; #76104, Daryll Strauss)
696 2002-08-26 Tor Lillqvist <tml@iki.fi>
698 * configure.in (G_LIBS_EXTRA): Don't link with -lwsock32 on
699 Cygwin (#91696, Masahiro Sakai).
701 Tue Aug 20 16:01:03 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
703 * glib/gconvert.c (strdup_len): validate 'len' argument properly
704 for the case that input string is not null-terminated. (#91222)
706 2002-08-10 Gustavo Noronha Silva <kov@debian.org>
708 * configure.in: added pt_BR to ALL_LINGUAS
710 2002-08-07 Matthias Clasen <maclas@gmx.de>
712 * glib/gmarkup.c (g_markup_parse_context_get_element):
713 Use g_return_val_if_fail, no g_return_if_fail.
715 2002-08-06 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
717 * glib/gthread.c: Set the normal PID surrogate priority according
718 to getpid() to avoid errors for niced processes. (#86116)
720 * gthread/gthread-impl.c, gthread/gthread-posix.c,
721 gthread/gthread-solaris.c: Do the same for the posix/dce
722 implementation. Solaris still needs to set priority of the main
723 thread, because all unbound threads will schedule according to
724 that value and it defaults to 0 (the minimal value).
726 * glib/gmain.c: Factor out g_main_context_init_pipe from
727 g_main_context_new to initialize the wakeup pipe of a
728 context. Call that function from g_main_context_new if threads are
729 initialized and for all contexts when threads are initialized
730 in g_main_thread_init. (#86872)
732 * gthread/gthread-impl.c: Call g_main_thread_init. (#86872)
734 Thu Jul 25 14:23:15 2002 Owen Taylor <otaylor@redhat.com>
736 * glib/gfileutils.c: Clarify the behavior of g_build_path()
737 for empty elements and for leading and trailing copies
738 of the separator in the docs.
740 * glib/gfileutils.c: Fix problems with leading elements
741 consisting only of "/" characters. (#85928, Guillaume Chazarain)
743 * tests/strfunc-test.c (main): Add more test cases
744 for g_build_filename().
746 2002-07-26 Matthias Clasen <maclas@gmx.de>
749 * glib/gutf8.c (g_utf8_strreverse): New function to revert
751 * glib/gpattern.c (g_utf8_reverse): Gone, replaced by
752 g_utf8_strreverse. (#87725)
754 Thu Jul 25 20:57:20 2002 Owen Taylor <otaylor@redhat.com>
756 * glib/giochannel.c (g_io_channel_read_line): Fix
757 docs for @str_return to conform to the main docs
758 and the implementation as to whether the terminator
759 is included. (#87964, Jacob Berkman)
761 Thu Jul 25 19:52:41 2002 Owen Taylor <otaylor@redhat.com>
763 * glib/guniprop.c (real_tolower): Handle the
764 end of the string properly when max_len is set.
765 (#88545, Morten Welinder.) Rename the next_t
766 variable to next_type to make cc-mode happy.
768 * glib/gconvert.c (g_iconv_open): Fix missing
769 label from previous commit.
771 Thu Jul 25 19:41:03 2002 Owen Taylor <otaylor@redhat.com>
773 * glib/giochannel.c (g_io_channel_get_flags): Fix
774 incorrect return value in g_return_val_if_fail
775 (#85545, David L. Cooper II)
777 Thu Jul 25 19:12:43 2002 Owen Taylor <otaylor@redhat.com>
779 * glib/giochannel.c (g_io_channel_set_encoding): Clarify
780 that only one of the conditions listed in the docs
781 need to be true, not all of them. (#87176,
784 * glib/giochannel.c (g_io_channel_read_line): Fix
785 description of the return value. (#87754, Manuel Clos)
787 Thu Jul 25 19:02:53 2002 Owen Taylor <otaylor@redhat.com>
789 * glib/gmain.c (g_timeout_add): Remove reference
790 in the docs to @notify parameter. (#87768,
793 Thu Jul 25 17:57:07 2002 Owen Taylor <otaylor@redhat.com>
795 * glib/gconvert.c (g_iconv_open): Document the
796 (GIConv)-1 return value on failure. (#87559,
799 * glib/gconvert.c (g_iconv_open): Fix potential
800 problems with the assumption that (GIConv)(iconv_t)-1
801 is the same as (GIConv)-1.
803 2002-07-15 Matthias Clasen <maclas@gmx.de>
806 * glib/gmarkup.c (g_markup_parse_context_get_element): New
807 function to get the currently open element. (#70448)
809 2002-07-04 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
811 * tests/*.c: Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN
812 throughout the files, which didn't already have them. (#87312)
814 2002-07-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
816 * configure.in: Made the thread flags determination tests first
817 check for the canonical form -pthread[s], then for other
818 possibilities. Also recognize some more platforms. Modeled after
819 patch from Miroslaw Dobrzanski-Neumann <mne@mosaic-ag.com>
822 * configure.in: Fixed bugs in posix thread priority
823 resolution. Also added AIX priorities. Fix from
824 Laurent Vivier <Laurent.Vivier@bull.net>. (#82599)
826 * gthread/gthread-solaris.c: Use thr_min_stack() instead of
827 sysconf (_SC_THREAD_STACK_MIN). if stack_size is 0 on entry to
828 g_thread_create_solaris_impl, also pass 0 to thr_create. Otherwise
829 the stack might be to small for any nontrivial thread. Discovered
830 on intel-solaris by Rajkumar Sivasamy <rajkumar.siva@wipro.com>.
832 2002-07-03 Anders Carlsson <andersca@gnu.org>
834 * configure.in: Add a forgotten trailing ` in the
835 GLIB_BINARY_AGE expression. Also fixup LT_CURRENT.
837 2002-07-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
839 * configure.in: Set binary age to 0 to make it compile.
841 * configure.in: Improve checks for dce/posix threads to also do
842 the right thing, if the thread functions are not declared in
843 pthread.h. Idea from Miroslaw Dobrzanski-Neumann
844 <mne@mosaic-ag.com> in #77981.
846 2002-07-01 Anders Carlsson <andersca@gnu.org>
848 * configure.in: Up version to 2.1.0.
850 2002-07-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
852 * glib/garray.h: Add parenthesis to protect macro
853 argument. Spotted by Sam Couter <sam@topic.com.au>. (#86826)
855 2002-06-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
857 * glib/gmessages.h (g_assert, g_assert_not_reached,
858 g_return_if_fail, g_return_val_if_fail): In case of
859 G_DISABLE_ASSERT replace "G_STMT_START{ }G_STMT_END" with
860 "G_STMT_START{ (void)0; }G_STMT_END", because the former chokes
861 gcc prior to 3.0. (#86664)
863 2002-06-26 Yanko Kaneti <yaneti@declera.com>
865 * configure.in: (ALL_LINGUAS) Added Bulgarian (bg).
867 Thu Jun 13 16:12:04 2002 Owen Taylor <otaylor@redhat.com>
869 * glib/gmain.c (struct _GTimeoutSource): Make
870 interval unsigned to match g_timeout_source_new().
873 * glib/gmain.c (g_timeout_prepare): Add some
874 extra gymnastics to avoid signed/unisgned integer
877 Thu Jun 13 15:57:46 2002 Owen Taylor <otaylor@redhat.com>
879 * INSTALL.in: Add a note about the deficiency
880 of Tru64 iconv. (#81699, Manuel Op de Coul)
882 Tue Jun 11 17:03:39 2002 Owen Taylor <otaylor@redhat.com>
884 * tests/patterntest.c (test_compilation)
885 * glib/gmem.c (profiler_try_realloc): A couple
886 of 64-bit printf format fix from George Lebl.
889 * glib/gconvert.c (open_converter): Fix gsize/gint
890 mixup for g_iconv() arguments. (#83270,
893 2002-06-03 Matthias Clasen <maclas@gmx.de>
895 * glib/gwin32.c (g_win32_get_package_installation_directory):
896 Replace homegrown "hash" entity by standard ISO entity "num".
898 2002-05-26 Matthias Clasen <maclas@gmx.de>
900 * glib/gmain.c: Remove references to nonexisting functions
901 g_source_set_callback_closure(), g_source_poll(), g_source_add()
904 * glib/gdir.c (g_dir_open): Typo fix in docs.
906 * glib/gasyncqueue.c (g_async_queue_lock):
907 (g_async_queue_unref_and_unlock): Fix markup to avoid erroneous
910 * glib/gwin32.c: Escape #'s leading to erroneous <link>s in docs.
912 * glib/gtree.c: Replace some occurances of Gtree by GTree in docs.
914 * glib/gstring.c (g_string_insert_unichar): Typo fix in docs.
916 2002-05-23 Havoc Pennington <hp@redhat.com>
918 * glib/gspawn.c (fork_exec_with_pipes): on success, close the
919 pipes from the child. Fix from Tim.
921 2002-05-22 jacob berkman <jacob@ximian.com>
923 * m4macros/glib-gettext.m4 (AM_GLIB_WITH_NLS): fix tyop
925 Wed May 22 15:40:47 2002 Owen Taylor <otaylor@redhat.com>
927 * README.in: Remove notes about now-fixed-bugs.
929 * m4macros/glib-gettext.m4 acinclude.m4: Get rid
930 of AC_MSG_NOTICE() usage, since some broken systems
931 (Hi Debian!) might not be using autoconf-2.5x for
932 downstream packages even though we require it for
935 * INSTALL.in: Add a note about installing extra
936 converters for Solaris.
938 * glib/gutils.h (g_bit_nth_msf): Fix termination
939 condition. (#82582, Paolo Molaro)
941 Tue May 21 15:51:17 2002 Owen Taylor <otaylor@redhat.com>
943 * configure.in: $with_libiconv, not $with_iconv.
945 Mon May 20 18:02:46 2002 Owen Taylor <otaylor@redhat.com>
947 * configure.in: Move iconv tests before gettext
950 * m4macros/glib-gettext.m4 acinclude.m4: If we can't
951 link to gettext, try adding in -liconv. (#80076,
954 * m4macros/glib-gettext.m4 acinclude.m4: Suppress
955 warnings about xgettext not being GNU gettext when
956 libintl wasn't found at all.
957 (#79016, Andrew P. Lentvorski, Jr.)
959 2002-05-21 Matthias Clasen <maclas@gmx.de>
961 * glib/gmarkup.c (g_markup_parse_context_parse): Added
962 proper support for CDATA sections.
964 2002-05-20 jacob berkman <jacob@ximian.com>
966 * glib/gdir.c: include sys/types.h before dirent.h to build on
967 darwin (fixes #72859)
969 Mon May 20 15:35:59 2002 Owen Taylor <otaylor@redhat.com>
971 * glib/gfileutils.c (get_contents_regfile): Fix double
972 close of file descriptor on error. (#82139, Wayne Schuller)
974 * glib/gspawn.c (close_and_invalidate): Don't close
975 fd's that have already been closed. (Fix from Michael
978 * glib/giochannel.c (g_io_channel_close): If not flushing,
979 dump the contents of the write buffers, so we won't try
980 to write them to an invalid fd later. (Patch from Ron Steinke,
981 fixing #78290, Andreas Persenius.)
983 2002-05-18 Matthias Clasen <maclas@gmx.de>
985 * tests/markups/fail-36.gmarkup:
986 * tests/markups/fail-35.gmarkup:
987 * tests/markups/valid-8.gmarkup:
988 * tests/markups/valid-7.gmarkup:
989 * tests/markups/valid-6.gmarkup:
990 * tests/markups/valid-5.gmarkup: New testcases.
992 * tests/markup-test.c (passthrough_handler):
993 (text_handler): Don't ignore the text_len parameter.
995 * glib/gmarkup.c (find_current_text_end): Don't hang on embedded
997 (g_markup_parse_context_parse): Fix passthrough handling to
998 correctly skip processing instructions, comments, doctype
999 declarations and CDATA marked sections. (#81977)
1001 Sat May 18 00:21:51 2002 Tim Janik <timj@gtk.org>
1003 [merged from stable]
1005 * glib/gscanner.c (g_scanner_unexp_token): fix missing cases for
1008 2002-05-17 Tor Lillqvist <tml@iki.fi>
1010 * config.h.win32.in: Match new additions in a configure-produced
1013 * glibconfig.h.win32.in: gssize and gsize as in a
1014 configure-produced glibconfig.h.
1016 * glib/glib.def: Add new functions.
1018 Thu May 16 12:24:00 2002 Owen Taylor <otaylor@redhat.com>
1020 * acinclude.m4 m4macros/glib-gettext.m4: Incorporate
1021 AM_LC_MESSAGES, AM_PATH_PROG_WITH_TEST as AM_GLIB_* to avoid
1022 dependencies on gettext m4 files. (#81885, Hidetoshi Tajima.)
1024 2002-05-14 Alex Larsson <alexl@redhat.com>
1028 New functions g_str_has_suffix and g_str_has_prefix.
1030 * tests/string-test.c: (main):
1031 Test the new functions.
1033 Mon May 13 23:20:00 2002 Owen Taylor <otaylor@redhat.com>
1035 * autogen.sh (have_gettext): Add a check for GNU gettext.
1036 (Pointed out by Dan Winship in #59386.)
1038 Mon May 13 11:55:33 2002 Owen Taylor <otaylor@redhat.com>
1040 * configure.in acglib.m4: If sizeof(int) == sizeof(long)
1041 run compilation tests to determine which way gsize should
1042 be defined. (#74413, reported by Miroslaw Dobrzanski-Neumann)
1044 Mon May 13 11:42:23 2002 Owen Taylor <otaylor@redhat.com>
1046 * glib/libcharset/*: Update from libcharset CVS.
1047 Includes additional encodings for Solaris (#80396,
1050 * configure.in: Add getc_unlocked to CHECK_FUNCS().
1052 * glib/gmessages.c (strdup_convert): If
1053 g_convert_with_fallback() fails, print the error
1054 message to stderr the first time, then return
1055 the original string. (#78197)
1057 2002-05-10 Naba Kumar <kh_naba@users.sourceforge.net>
1059 * configure.in: Added "hi" to ALL_LINGUAS.
1061 2002-05-08 Michael Natterer <mitch@gimp.org>
1063 * configure.in: fixed yesterdays fix for cross compiling: simply
1064 check the variable "cross_compiling" which gets set by autoconf.
1066 2002-05-07 Matthias Clasen <maclas@gmx.de>
1068 * glib/gmarkup.c (unescape_text): Report unfinished entity
1069 references as errors rather than running into an assert. (#80441)
1071 2002-05-07 Michael Natterer <mitch@gimp.org>
1073 * configure.in: added a new conditional CROSS_COMPILING which
1074 indicates ($build != $host). If it is set, look for
1075 glib-genmarshal in PATH. Error out if it was not found.
1077 Tue May 7 11:24:22 2002 Owen Taylor <otaylor@redhat.com>
1079 Fixes for #79347, Ron Arts.
1081 * glib/gqsort.c (g_qsort_with_data): Handle 0 elements,
1082 don't g_return_if_fail().
1084 * tests/qsort-test.c (main): Add a 0 element test.
1086 * glib/garray.c (g_[ptr_]array_sort_with[_data]):
1087 Remove invalid assertions that array->pdata != NULL ..
1088 it's NULL for 0 elements which is a valid case.
1090 Mon May 6 16:00:41 2002 Owen Taylor <otaylor@redhat.com>
1092 * glib/gbacktrace.h: Exclude OSF from alpha definition
1093 of G_BREAKPOINT(), since the assembler apparently
1094 doesn't support bpt. (#77852, Gareth Pierce) [from stable]
1096 Mon May 6 11:48:08 2002 Owen Taylor <otaylor@redhat.com>
1098 [ merged from stable ]
1100 * Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641)
1102 * m4macros/glib-2.0.m4: save CFLAGS/LIBS properly when
1103 compiling "what went wrong" test case. (#79330)
1105 * m4macros/glib-2.0.m4: Remove reference to editing
1106 pkg-config script. (From Jim Gettys)
1108 * configure.in: (Look for dyld interfaces before dlopen()
1109 since OS X can have both. Patch from Jacob Berkman,
1112 2002-05-01 jacob berkman <jacob@ximian.com>
1114 * configure.in: fix typo on 64-bit printf formatting string
1115 configure message (fixes #80389)
1117 2002-04-29 Pablo Saratxaga <pablo@mandrakesoft.com>
1119 * configure.in: Added Vietnamese (vi) to ALL_LINGUAS
1121 2002-04-19 Tor Lillqvist <tml@iki.fi>
1123 * glib/gspawn.c (g_spawn_command_line_sync): Add Windows-specific
1124 note to the gtk-doc comment.
1126 * glib/gspawn-win32.c: Remove the copy-pasted gtk-doc comment
1127 blocks. It's enough to have them in gspawn.c.
1129 2002-04-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
1131 * gthread/gthread-impl.c (g_thread_init): Fixed typo. (#78985)
1133 2002-04-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
1135 * glib/gthreadpool.c (g_thread_pool_thread_proxy): Unlock the pool
1136 for all threads leaving it. (#78348)
1138 2002-04-11 Matthias Clasen <maclas@gmx.de>
1140 * tests/patterntest.c: Remove manual UTF-8 -> Latin1 conversion for
1141 stuff fed to g_print.
1143 2002-04-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
1145 * tests/gio-test.c, tests/markup-test.c: Use gsize instead of
1146 gint. From Miroslaw Dobrzanski-Neumann
1147 <mne@mosaic-ag.com>. (#77982)
1149 2002-04-08 Stanislav Brabec <utx@penguin.cz>
1151 * cs.po: Added Czech (cs) to ALL_LINGUAS.
1153 2002-03-31 Hasbullah Bin Pit <sebol@ikhlas.com>
1155 * configure.in: Added Malay (ms)to ALL_LINGUAS.
1157 2002-03-29 Tor Lillqvist <tml@iki.fi>
1159 * glib/glib.def: Add g_convert_init.
1161 Thu Mar 28 18:25:14 2002 Owen Taylor <otaylor@redhat.com>
1165 * configure.in: Version 2.0.1, interface, binary age 1.
1167 Thu Mar 28 18:22:53 2002 Owen Taylor <otaylor@redhat.com>
1169 * README: Remove warning about g_print, etc, encoding.
1173 * glib/gmessages.c (g_log_default_handler): Use %lu
1174 (plus a cast) when printing out pid_t arguments.
1175 (#76770, Morten Welinder)
1177 * glib/gstrfuncs.c (g_strdup_vprintf): Check the
1178 result of vasprintf(), return NULL on failure.
1179 (#76802, Akira Tagoh)
1181 * tests/testglib.c (TEST): Supress a warning with
1184 Thu Mar 28 20:31:51 2002 Tim Janik <timj@gtk.org>
1188 (g_printerr): convert prtinf() strings to local charset
1189 when writing them to stdout or stderr.
1191 Wed Mar 27 18:42:22 2002 Tim Janik <timj@gtk.org>
1194 major cleanups. introduced _g_log_fallback_handler() to handle
1195 recursive messages which really doesn't call any GLib functions.
1196 this allowes the default handler to use normal GLib functions and
1197 also fixes user supplied log level handlers.
1198 fixed locking issues, based on a patch from Sebastian Willhelmi,
1199 attached to #74356. translate log messages from UTF-8, based
1200 on the same patch. save fatal and recursion flags across flag
1201 loop. use new integer format code from above patch.
1202 move GLib functions out of locked mutex state to avoid deadlocks.
1203 move the level prefix and filedescriptor logic into mklevel_prefix().
1204 move _g_debug_init() into a place where we can figure and handle
1207 Mon Mar 25 18:13:06 2002 Owen Taylor <otaylor@redhat.com>
1209 * glib/gtypes.h (GUINT*_SWAP_LE_BE_X86): Remove __const__
1210 qualifier from __asm__ statements... GCC since at least
1211 2.96 has assumed no side effects automaticaly, and gcc-3.1
1212 will warn about this usage. (#73308, Cody Russell)
1214 Fri Mar 22 17:59:27 2002 Owen Taylor <otaylor@redhat.com>
1216 * glib/gmem.c (g_mem_chunk_reset): Fix problem where
1217 if g_mem_chunk_reset() is called on an alloc-only
1218 memchunk, then a useles GTree was created.
1220 Wed Mar 20 18:20:21 2002 Owen Taylor <otaylor@redhat.com>
1222 * glib/gconvert.c (open_converter): Try to work around segfaults
1223 on Solaris if NULL is passed for outbuf... supposedly gchar
1224 *outbuf = NULL... &outbuf works. (#74336, Lauri Alanko)
1226 Wed Mar 20 11:17:32 2002 Owen Taylor <otaylor@redhat.com>
1228 * glib/gfileutils.c (get_contents_regfile): Close the
1229 file descriptor. (#75507, Matthias Clasen)
1231 Wed Mar 20 11:00:59 2002 Owen Taylor <otaylor@redhat.com>
1233 * configure.in: Use $PKG_CONFIG, not pkg-config.
1234 (LEE Sau Dan, #75572)
1236 2002-03-20 Sven Neumann <sven@gimp.org>
1238 * glib/ghash.c (g_hash_table_resize): avoid repeated call of
1239 g_spaced_primes_closest() by moving it out of the CLAMP macro
1240 (spotted by Salmaso Raffaele).
1242 2002-03-17 Tor Lillqvist <tml@iki.fi>
1244 * README.win32: Add MSVC-specific text by Hans Breuer.
1246 2002-03-16 Tor Lillqvist <tml@iki.fi>
1248 * glib/giowin32.c: Some debugging output formatting changes. The
1249 following changes fix a problem with buffered GIOChannels, noticed
1250 with the help of Owen's test program, thanks! (#59969)
1251 (g_io_win32_prepare): Return value that takes the buffer condition
1252 into account, like g_io_unix_prepare() does.
1253 (g_io_win32_check): Ditto, like g_io_unix_check().
1254 (g_io_win32_dispatch): Ditto, like g_io_unix_dispatch().
1256 Thu Mar 14 17:37:45 2002 Owen Taylor <otaylor@redhat.com>
1258 * glib/giochannel.c (g_io_channel_write_chars): Fix some
1259 gsize/gint mismatches. (#74422, Miroslaw Dobrzanski-Neumann)
1261 2002-03-14 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
1263 * glib/gmessages.c: Fixed threading issues brought up by
1264 #74577. Make g_log_find_domain, g_log_domain_new,
1265 g_log_domain_check_free and g_log_domain_get_handler require being
1266 called with g_messages_lock held and remove all internal locking
1267 in them. Then added proper locking to g_log_set_handler,
1268 g_log_remove_handler and g_logv. Problem spotted by Miroslaw
1269 Dobrzanski-Neumann <mne@mosaic-ag.com>. (#74577)
1271 2002-03-13 Erwann Chenede <erwann.chenede@sun.com>
1273 glib/gen-unicode-tables.pl
1274 glib/gunidecomp.h : fixed cast/type problems to
1275 avoid warnings (with forte compiler) (#73898)
1277 2002-03-12 Alexander Larsson <alla@lysator.liu.se>
1280 Cache getenv("G_BROKEN_FILENAMES") in have_broken_filenames() and
1281 use instead. Add g_convert_init() that calls have_broken_filenames()
1283 * gthread/gthread-impl.c:
1284 Have g_thread_init call g_convert_init.
1286 2002-03-11 Matthias Clasen <maclas@gmx.de>
1288 * glib/gstrfuncs.c (g_strtod):
1291 (g_ascii_formatd): Doc formatting fixes.