1 2002-12-11 Tor Lillqvist <tml@iki.fi>
3 * glib/gtimer.c (g_timer_elapsed): Fix off-by-one error. (#100853)
5 * glib/gfileutils.c (g_file_test): Bypass extra test for root on
8 * glib/glib.def: Add g_{get,set}_application_name.
10 Wed Dec 11 17:53:34 2002 Owen Taylor <otaylor@redhat.com>
12 * === Release 2.1.4 ===
16 Wed Dec 11 17:49:15 2002 Owen Taylor <otaylor@redhat.com>
18 * m4macros/glib-gettext.m4: Unset
19 ac_cv_func_bind_textdomain_codeset before calling
20 AC_CHECK_FUNCS(bind_textdomain_codeset) again.
22 * configure.in: Remove duplicate call to
23 AC_CHECK_FUNCS(bind_textdomain_codeset)
25 2002-12-11 Pauli Virtanen <pauli.virtanen@hut.fi>
27 * configure.in: Added "fi" to ALL_LINGUAS.
29 Wed Dec 11 17:00:20 2002 Owen Taylor <otaylor@redhat.com>
31 * acglib.m4 (ac_compile): Add GLIB_ASSERT_SET() as
32 a helper for adding "must be set when cross-compiling"
35 * configure.in: For all cached variables without defaults,
36 error out if they aren't set.
38 Wed Dec 11 15:52:01 2002 Owen Taylor <otaylor@redhat.com>
40 * configure.in: Also assume AC_LINK_IFELSE() is
41 OK when cross-compiling for the libs checks, and for
42 the sched_get_priority_min() check.
44 * configure.in: Add cached value glib_cv_use_pid_surrogate.
46 Wed Dec 11 15:10:25 2002 Owen Taylor <otaylor@redhat.com>
48 * configure.in: Factor out repeated thread test into
49 a m4_define(); when cross-compiling, assume that
50 AC_LINK_IFELSE() is good enough for thinking that
51 -pthread[s] is OK. (More of #58786)
53 * m4macros/glib-gettext.m4: Fix typo. (Manish Singh)
55 Wed Dec 11 14:28:50 2002 Owen Taylor <otaylor@redhat.com>
57 * configure.in: Version 2.1.4, interface age 1.
59 * m4macros/glib-gettext.m4: Major rewrite; remove leftovers
60 from building intl/, prefer libintl if both libc and libintl
61 have dgettext and libintl also has bind_textdomain_codeset().
64 * configure.in acinclude.m4: Use an include to avoid having
65 to duplicate the gettext macros between glib-gettext.m4
68 * m4macros/glib-gettext.m4: Do some tricks so that configure.in
69 can use macros under hidden names, but aclocal will still
70 find them when installed.
72 * m4macros/glib-gettext.m4: Add AM_GLIB_DEFINE_LOCALEDIR
73 to encapsulate install location of catalog files.
75 * m4macros/glib-gettext.m4 (AM_GLIB_DEFINE_LOCALEDIR):
76 Fix bug where if --prefix wasn't set on the configure line,
77 GLib would look for translations in NONE/share/locale.
79 Wed Dec 11 11:11:44 2002 Owen Taylor <otaylor@redhat.com>
81 * glib/grand.c: Include string.h, supress a warning.
83 2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
85 * glib/grand.c (g_rand_int_range): Improve generation of
86 pseudo-random integers. (#99720, Morten Welinder <terra@diku.dk>)
88 * README.in, docs/reference/glib/running.sgml,
89 docs/reference/glib/tmpl/random_numbers.sgml,
90 docs/reference/glib/changes.sgml: Added notes about the new
93 2002-12-09 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
95 * configure.in: use 0 instead of $defattr, as it isn't defined
96 anymore on platforms using -pthread and linux, where this is used,
97 only uses 0 anyway and not "pthread_attr_default".
99 Sun Dec 8 23:36:12 2002 Owen Taylor <otaylor@redhat.com>
101 * glib/gfileutils.c (g_file_test): Guard against
102 the POSIX allowed behavior where access (file, X_OK)
103 succeeds for uid==0 when no executable bits are set.
105 * glib/gfileutils.c (g_file_test): Add doc notes
106 about the possibility of race conditions, and the
107 fact that EXISTS and IS_EXECUTABLE give results
108 for the real uid not the effective user ID.
109 (#81854, Morten Welinder.)
111 Fri Dec 6 14:34:42 2002 Owen Taylor <otaylor@redhat.com>
113 Avoid literal UTF-8. (Allow it to build with
114 IRIX cc, #72757, Tomas Ogren)
116 * tests/patterntest.c (main): Convert literal
117 iso-8859-1 high bit characters in tests to
120 * glib/gunichartable.h glib/gen-unicode-tables.pl:
121 Use hex \xMN escapes rather than literal UTF-8
124 * configure.in: AC_PREREQ(2.53). needed for recent
125 GLIB_SIZEOF() changes.
127 Fri Dec 6 12:40:00 2002 Owen Taylor <otaylor@redhat.com>
129 * glib/libcharset/Makefile.am (EXTRA_DIST): Don't
130 distribute ref-add/del.sed., fixing problem with
131 srcdir != destdir. (#99813, Phuc LeHong)
133 Fri Dec 6 12:31:30 2002 Owen Taylor <otaylor@redhat.com>
135 * configure.in: chmod 0755 scripts in AC_OUTPUT(), since
136 install -c won't necessarily do that. (#74376, Martin
137 Gansser, Joshua Weage)
139 Thu Dec 5 16:05:55 2002 Owen Taylor <otaylor@redhat.com>
141 * configure.in: Use AC_LINK_IFELSE(), not AC_TRY_RUN()
142 for va_copy(), __va_copy() checks.
144 * configure.in: When there is a reasonable default,
145 provide that in the 3rd argument of AC_TRY_RUN(),
146 instead of just leaving the 3rd argument empty.
148 2002-12-05 Matthias Clasen <maclas@gmx.de>
150 * glib/gstrfuncs.c (g_strncasecmp): Break long deprecation
151 info into two paragraphs.
153 Thu Dec 5 15:43:46 2002 Owen Taylor <otaylor@redhat.com>
155 * configure.in: Fix multiple problems with the programs
156 in the argument of AC_TRY_RUN() having preprocessor
157 defines not in the first column.
159 Thu Dec 5 15:24:14 2002 Owen Taylor <otaylor@redhat.com>
161 Start of fixes for cross-compilation. Based on
162 patches from Dimi Shahbaz, Dan Kegel, Johannes Stezenbach,
165 * configure.in: Don't run the Digital-Unix 4 -std1 check
166 when cross_compiling.
168 * configure.in: Use AC_TRY_COMPILE() rather than
169 AC_TRY_RUN() for inline checks. (Daniel Egger)
171 * configure.in: use AC_CHECK_SIZEOF rather than
172 GLIB_SIZEOF for size_t. Remove unused checks for
173 size of ptrdiff_t/intmax_t.
175 * acglib.m4: Resync GLIB_SIZEOF of to the current
176 AC_CHECK_SIZEOF, which handles cross-compilation.
178 * acglib.m4: Remove no longer needed GLIB_SYSDEFS(),
179 add GLIB_CHECK_VALUE() as a wrapper around the
180 amazing _AC_COMPUTE_INT() autoconf 2.5x internal.
182 * configure.in: Redo the POLL* value checks in a
183 cross-compilation friendly way.
185 Thu Dec 5 15:28:37 2002 Owen Taylor <otaylor@redhat.com>
187 * glib/gtimer.c: Include glibconfig.h early so
188 that we include <windows.h> when needed.
190 * glib/gstrfuncs.c: Fix typo.
192 Tue Dec 3 21:10:28 2002 Owen Taylor <otaylor@redhat.com>
194 * configure.in: Add 3rd argument to remaining AC_DEFINES(),
195 so we can get rid of acconfig.h. (#76334, Daniel Egger)
197 * acconfig.h: Removed.
199 Tue Dec 3 20:22:27 2002 Owen Taylor <otaylor@redhat.com>
201 * glib/*.c: Patch from Sven Neumann to make the
202 include order consistent. (#71704)
204 2002-12-03 Matthias Clasen <maclas@gmx.de>
206 * configure.in: Check that strlcpy behaves as per the OpenBSD
207 man page before wrapping it. (#53933)
209 2002-12-03 Frederic Crozat <fcrozat@mandrakesoft.com>
211 * glib/gunicollate.c: (g_utf8_collate_key):
212 Fix typo from previous commit
214 Tue Dec 3 01:05:00 2002 James M. Cape <jcape@ignore-your.tv>
216 * glib/gunicollate.c (g_utf8_collate, g_utf8_collate_key):
217 Check for NULL before doing anything.
219 Mon Dec 2 16:34:13 2002 Owen Taylor <otaylor@redhat.com>
221 * === Released 2.1.3 ===
225 [ Unmerged change from stable from May 16 ]
227 * autogen.sh: Remove check for GNU gettext, since it
228 was causing problems for Solaris CVS builds.
229 (#81885, Hidetoshi Tajima.)
231 Tue Nov 26 09:51:43 2002 Owen Taylor <otaylor@redhat.com>
233 * glib/gstrfuncs.c (g_strchomp): Avoid non-ANSI pointer
234 comparison. (#54344, Morten Welinder)
236 * tests/strfunc-test.c (main): Add tests for strchomp().
238 2002-11-30 Ole Laursen <olau@hardworking.dk>
240 * configure.in: Added "da" to ALL_LINGUAS.
242 2002-11-29 Matthias Clasen <maclas@gmx.de>
244 * glib/gstrfuncs.c (g_ascii_strtoull): It is a 2.2 addition.
246 * glib/gtimer.c (g_time_val_add): Adjust to changed parameter names.
248 * glib/gutils.c (g_get_application_name): Mark as 2.2. addition.
250 * glib/gstrfuncs.c (g_ascii_strtoull): Mark as 2.0.7 addition.
252 2002-11-28 Matthias Clasen <maclas@gmx.de>
258 * glib/giochannel.c: Move some docs inline, and add deprecation
259 information. To see the list of affected functions, grep for
262 * configure.in: Fix the definitions around printf: either we use
263 system printf in which case HAVE_VASPRINTF, HAVE_C99_VSNPRINTF and
264 HAVE_UNIX98_PRINTF have already been determined by earlier tests,
265 or we use the included printf, in which case we know that these
266 three can be defined as 1. (#99826)
268 * glib/gutf8.c (g_utf8_strreverse):
269 * glib/gstrfuncs.c (g_str_has_suffix):
271 * glib/gprintf.c (g_printf):
277 * glib/gmarkup.c (g_markup_parse_context_get_element):
278 Mark as 2.2 API additions.
280 * configure.in: Fix the gtk-doc version check.
282 2002-11-27 Matthias Clasen <maclas@gmx.de>
284 * glib/gmessages.h: Use G_LIKELY without surrounding parentheses
285 in g_assert() and g_return_[val]_if_fail() so that we always trigger
286 the gcc warning about "assignment used as truth value".
288 * glib/gmacros.h: Always put parentheses in G_LIKELY and G_UNLIKELY.
290 2002-11-26 Matthias Clasen <maclas@gmx.de>
292 * glib/gmessages.h: Only use G_LIKELY in g_assert() and
293 g_return_[val]_if_fail() if it is actually doing something.
295 2002-11-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
297 * glib/grand.c, gthread/gthread-impl.c, tests/rand-test.c:
298 Changed the seeding algorithm. Old behaviour can be achived by
299 setting envvar G_RANDOM_VERSION to "2.0". (#99262)
301 * docs/reference/glib/glib-docs.sgml,
302 docs/reference/glib/Makefile.am: Renamed
303 docs/reference/glib/changes-2.0.sgml to
304 docs/reference/glib/changes.sgml and added section for changes
305 from 2.0 to 2.2 (Also corrected 1.0 to 1.2).
307 * README.in, docs/reference/glib/running.sgml,
308 docs/reference/glib/tmpl/random_numbers.sgml,
309 docs/reference/glib/changes.sgml: Added notes about the new
312 * configure.in: Make CPPFLAGS, not CFLAGS, include
313 G_THREAD_CFLAGS. CFLAGS is used while linking too and thus GLib
314 programs would link to the threads library on some platforms. Also
315 fixed a bug manifesting through this change. (#77981)
317 2002-11-26 Matthias Clasen <maclas@gmx.de>
319 * glib/gmacros.h: Fix the non-gcc-3.x definitions of G_LIKELY
320 and G_UNLIKELY. (Reported by Dan Mills)
322 2002-11-25 Matthias Clasen <maclas@gmx.de>
324 * glib/gfileutils.c (g_build_path):
325 (g_build_filename): Document that the varargs must be
326 NULL-terminated. (#99510)
328 * glib/gmessages.h (g_assert):
330 (g_return_val_if_fail): Remove the (no longer effective) empty
333 * glib/gmacros.h: Change the definition of G_LIKELY, so that
334 g_return_if_fail() and friends still trigger a gcc warning if
335 the expr is an assignment.
337 2002-11-23 Matthias Clasen <maclas@gmx.de>
339 * configure.in: Generate docs/reference/*/version.xml.
341 * glib/gdir.h: Add Copyright notice.
343 2002-11-22 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
345 * configure.in: Fixed typo: PTHREAD_PRIO_MIN ->
346 PTHREAD_PRIO_MAX. (Laurent Vivier, #99293)
348 Fri Nov 22 09:39:09 2002 Owen Taylor <otaylor@redhat.com>
350 * glib/gmacros.h: Remove broken G_HIDDEN_SYMBOL
351 definition which wasn't supposed to be committed
354 Thu Nov 21 16:19:21 2002 Owen Taylor <otaylor@redhat.com>
356 * glib/ghash.c: Patch from Morten Welinder to
357 make ghash.c properly obey DISABLE_MEM_POOLS. (#96600)
359 Thu Nov 21 14:09:44 2002 Owen Taylor <otaylor@redhat.com>
361 * glib/gmacros.h: Add G_GNUC_DEPRECATED. (Tom Tromey,
364 2002-11-21 Tor Lillqvist <tml@iki.fi>
366 * config.h.win32.in: Update to match what is currently produced by
369 * configure.in: Remove superfluous spaces on two shell variable
370 assignment lines. Don't define HAVE_GOOD_PRINTF as 0 if we don't
371 have a good printf, it is tested with #ifdef.
373 * glib/glib.def: Add new functions.
375 * glib/Makefile.am: If !HAVE_GOOD_PRINTF, add libtrio.la to LIBADD
379 * gmodule/gmodule.rc.in
380 * gobject/gobject.rc.in
381 * gthread/gthread.rc.in
382 * {glib,gmodule,gobject,gthread}/makefile.{mingw,msc}.in:
383 Hardcode 2.0 in the names, as that is what Makefile.am does.
385 2002-11-21 Matthias Clasen <maclas@gmx.de>
387 Include a printf implementation supporting C99 snprintf and SUS
388 positional parameters: (#79488)
391 * glib/gspawn-win32.c:
394 * glib/gbacktrace.c: Use _g_printf wrappers.
396 * glib/gutils.c (g_vsnprintf): Simplify, since we can assume C99
397 snprintf semantics now.
399 * glib/gmessages.c (printf_string_upper_bound): No longer needed,
400 since we can assume C99 snprintf semantics now.
403 * acinclude.m4 (AC_FUNC_PRINTF_UNIX98): New macro to check wether
404 printf supports SUS positional parameters.
406 * configure.in: New option --enable-included-printf to force
407 compilation of trio; otherwise trio is compiled if the system
408 printf misses either C99 snprintf semantics of SUS positional
411 * glib/Makefile.am (SUBDIRS): Conditionally compile trio.
412 (libglib_2_0_la_SOURCES): Add gprintf.c and gprintfint.h.
413 (glibsubinclude_HEADERS): Add gprintf.h.
415 * glib/gprintfint.h: New private wrapping either system printf
416 or trio printf variants in _g_printf wrappers for use inside glib.
418 * glib/gprintf.h: New public header declaring g_printf variants.
419 * glib/gprintf.c: Corresponding implementations.
421 * glib/trio/*: New directory, containing the trio-1.9 sources.
423 2002-11-20 Matthias Clasen <maclas@gmx.de>
425 * glib/gmessages.h (g_return_if_fail):
426 (g_return_val_if_fail): Use G_LIKELY. (#69022)
428 * glib/gmacros.h (G_LIKELY):
429 (G_UNLIKELY): New macros for hinting the compiler about the
430 expected result of expressions. For gcc 3.x, define these
431 using __builtin_expect. (#69022)
433 Tue Nov 19 14:38:18 2002 Owen Taylor <otaylor@redhat.com>
435 * glib/gstrfuncs.c (g_ascii_strtoull): Fix
436 strtull/strtoull type in docs (#99012, Morten
437 Welinder.) Add copyright information for code
440 2002-11-18 Tor Lillqvist <tml@iki.fi>
442 * glib/gspawn-win32.c (do_spawn_with_pipes): Do handle
443 G_SPAWN_DO_NOT_REAP_CHILD after all, similarily as on Unix. If the
444 flag is not set, don't call DuplicateHandle() on the handle
445 returned by the helper process, and set the "child pid" returned
446 to the called to zero. Close the handle to the helper process in
449 * glib/gspawn.c (g_spawn_async_with_pipes): Document Windows
450 behaviour of G_SPAWN_DO_NOT_REAP_CHILD.
452 2002-11-18 Tor Lillqvist <tml@iki.fi>
454 [Win32] Fix the asynchronous g_spawn* to return the process handle
455 of the started program properly. (Note: not the process id. The
456 spawn*() functions in the C runtime return the created process's
457 handle. There doesn't seem to be any way to get the process id of
458 a child process if you have the handle. But then, the process
459 handle usually is more useful anyway.)
461 * glib/gspawn-win32-helper.c (WinMain): If the spawning of the
462 child process succeeded, and if asynchronous spawn (P_NOWAIT),
463 write the result handle up to the parent process, waiting to read
464 it in do_spawn_with_pipes().
466 * glib/gspawn-win32.c (do_spawn): Use return value from spawning
467 the helper. If it is -1 the helper wasn't found or couldn't be run
468 for some reason. Otherwise it is the helper's process handle.
470 (g_spawn_async_with_pipes): Pass the child_pid parameter on to
471 do_spawn_with_pipes().
473 (do_spawn_with_pipes): Take also a child_pid parameter. If
474 do_spawn() returned -1, fail immediately. Otherwise make the
475 handle passed to us by the helper process into a handle valid in
476 this process by calling DuplicateHandle().
478 2002-11-17 Tor Lillqvist <tml@iki.fi>
480 * glib/gspawn-win32.c (g_spawn_async_with_pipes): Ignore the
481 G_SPAWN_DO_NOT_REAP_CHILD flag, can't be meaninfully implemented
482 on Windows, at least not now. Always pass dont_wait as TRUE to
483 do_spawn_with_pipes(). The semantics of the dont_wait parameter is
484 very different from the semantics of the intermediate_child
485 parameter to fork_exec_with_pipes() in the Unix version. This
486 fixes a serious bug, g_spawn_async() in fact behaved
489 (do_spawn_with_pipes, do_spawn): Rename from
490 fork_exec_with_pipes() and do_exec(), those names were from the
491 Unix bersion, and misleading.
493 (close_and_invalidate): Don't try to close invalid fds.
495 * glib/gspawn.c (g_spawn_async_with_pipes): Add warning about
496 Windows behaviour. There is no fork(), so the child_setup()
497 function is in fact called in the parent.
499 * glib/gspawn-win32-helper.c (WinMain): Insert spaces in argv
502 * tests/spawn-test-win32-gui.c: New file. Test program to be
503 linked as a GUI application. Behaves differently depending on how
504 invoked (by spawn-test).
506 * tests/spawn-test.c (run_tests): On Win32, run the
507 spawn-test-win32-gui program, too, in several ways, synchronously
510 * tests/Makefile.am: Corresponding change.
512 Fri Nov 8 19:44:20 2002 Soeren Sandmann <sandmann@daimi.au.dk>
514 * docs/reference/glib/tmpl/arrays.sgml:
515 * docs/reference/glib/tmpl/arrays_byte.sgml:
516 * docs/reference/glib/tmpl/arrays_pointer.sgml:
517 * docs/reference/glib/tmpl/date.sgml:
518 * docs/reference/glib/tmpl/linked_lists_double.sgml:
519 * docs/reference/glib/tmpl/linked_lists_single.sgml:
520 * docs/reference/glib/tmpl/main.sgml:
521 * docs/reference/glib/tmpl/queue.sgml:
522 * docs/reference/glib/tmpl/random_numbers.sgml:
523 * docs/reference/glib/tmpl/relations.sgml:
524 * docs/reference/glib/tmpl/scanner.sgml:
525 * docs/reference/gobject/tmpl/gtype.sgml:
526 * docs/reference/gobject/tmpl/value_arrays.sgml glib/garray.h:
527 * glib/gdate.h glib/giochannel.h glib/glist.h glib/gmain.c:
528 * glib/gmain.h glib/gqueue.c glib/gqueue.h glib/grand.c glib/grand.h:
529 * glib/grel.h glib/gslist.h glib/gtimer.h gobject/gvaluearray.h:
531 Trivial s/foo/foo_/ fixes to make <glib.h> includable with
532 -Wshadow without warnings (#91680)
534 Thu Nov 7 19:32:26 2002 Owen Taylor <otaylor@redhat.com>
536 * glib/gutils.[ch] (g_set/get_application_name):
537 Patch from Havoc Pennington to add functions for
538 setting and getting a human readable application
541 * configure.in: Up to version 2.1.3, since we'll
542 need to depend on last addition for GTK+.
544 2002-11-06 Tor Lillqvist <tml@iki.fi>
546 * glib/glib.def: Add g_main_thread_init.
548 2002-11-06 Matthias Clasen <maclas@gmx.de>
550 * glib/gstrfuncs.c (g_str_has_suffix):
551 (g_str_has_prefix): Minor doc markup fix.
553 Mon Nov 4 10:45:48 2002 Owen Taylor <otaylor@redhat.com>
555 * configure.in: Add -DG_DISABLE_CAST_CHECKS for
556 everything but --enable-debug.
558 * configure.in: Require pkg-config 0.14. (#97553)
560 Mon Nov 4 14:41:48 2002 Owen Taylor <otaylor@redhat.com>
562 * glib/gbsearcharray.c: Include config.h
563 so DISABLE_MEMPOOLS actually has an effect.
564 (#96437, Morten Welinder)
566 * tests/uri-test.c: Include <config.h>
568 2002-11-03 Dmitry G. Mastrukov <dmitry@taurussoft.org>
570 * configure.in: Added Belarusian to ALL_LINGUAS
572 2002-11-02 Daniel Elstner <daniel.elstner@gmx.net>
574 * glib/giochannel.c (g_io_channel_write_chars): Fix left_len
575 calculation in the from UTF-8 to UTF-8 case: left_len should
576 be the number of bytes left in the input buffer rather than
577 channel->write_buf. (#96373)
579 2002-10-27 Tor Lillqvist <tml@iki.fi>
581 * configure.in (G_MODULE_LDFLAGS): Don't set on Win32, only causes
584 * glib/gmain.c (g_poll): Fix for bug reported by Herman Bloggs
585 (http://mail.gnome.org/archives/gtk-devel-list/2002-October/msg00101.html)
586 and others. We waited for events only for GPollFDs whose events
587 field had G_IO_IN set. We need to wait also for events for
588 GPollFDs that have just G_IO_OUT set. Non-blocking sockets in the
589 process of being connect()ed are one such case. Also silence a
590 couple of gcc warnings.
592 Fri Oct 18 13:41:30 2002 Manish Singh <yosh@gimp.org>
594 * glib/giochannel.c (g_io_channel_read_line_backend): avoid
595 creating negative values out of unsigned values using MAX,
596 check to see if the result would be positive before doing
599 Tue Oct 15 15:28:47 2002 Manish Singh <yosh@gimp.org>
601 * tests/iochannel-test.c: use gsize instead of int where appropriate
602 (64-bit cleanliness fix). Removed leftover line_term cruft.
604 Tue Oct 15 15:07:45 2002 Manish Singh <yosh@gimp.org>
606 * gmodule/Makefile.am gobject/Makefile.am gthread/Makefile.am:
607 add -DG_DISABLED_DEPRECATED
609 * tests/gio-test.c tests/mainloop-test.c tests/string-test.c
610 tests/testglib.c test/tree-test.c tests/unicode-collate.c
611 tests/unicode-normalize.c: Deprecation cleanup
613 Mon Oct 14 15:51:05 2002 Owen Taylor <otaylor@redhat.com>
615 * glib/gdate.c (g_date_fill_parse_tokens): Fix a memory
616 leak. (#94550, Sebastian Rittau)
618 Mon Oct 14 15:36:11 2002 Owen Taylor <otaylor@redhat.com>
620 * glib/gcompletion.[ch] (g_completion_complete): Make
621 prefix argument const. (#91662, Gustavo Carneiro)
623 Mon Oct 14 15:32:14 2002 Owen Taylor <otaylor@redhat.com>
625 * tests/mainloop-test.c (adder_response): Fix a minor memory
628 Sat Oct 12 21:30:41 2002 Tim Janik <timj@gtk.org>
630 * merged up from glib-2-0:
632 * glib/gstrfuncs.c (g_ascii_strtod): fix comment.
633 (g_ascii_strtoull): new function, acting like strtoull(3) in the C
636 * glib/gscanner.[hc]: fix 32bit issues with integer parsing and
637 support storing 64bit values in GTokenValue by
638 using g_ascii_strtoull().
640 Sat Oct 12 12:34:22 2002 Soeren Sandmann <sandmann@daimi.au.dk>
642 * glib/gtree.c (g_tree_search), glib/gspawn.c
643 (g_spawn_async_with_pipes):
645 Documentation fixes: #71778, Owen Taylor; #85095, Bill Janssen,
648 Thu Oct 10 23:27:02 2002 Tim Janik <timj@gtk.org>
650 * glib/gscanner.c (g_scanner_msg_handler): if input_name is NULL,
651 print out "<memory>" instead of completely skipping input specification
652 and thusly loosing error line information.
654 Sun Sep 29 12:15:44 2002 Manish Singh <yosh@gimp.org>
656 * tests/mainloop-test.c: use gsize instead of int where appropriate
657 (64-bit cleanliness fix)
659 2002-09-29 Tor Lillqvist <tml@iki.fi>
661 * configure.in: Instead of forcing -fnative-struct into CFLAGS
662 when using gcc for Win32, check for gcc version 3.x which uses
663 -mms-bitfields instead. Also check if either of these switches is
664 actually available at all, and warn if not. Thanks to Soren
665 Andersen for the inspiration.
667 * HACKING: Say we require autoconf 2.52 as that is what
670 2002-09-23 Arvind Samptur <arvind.samptur@wipro.com>
671 * glib/gspawn.c (fork_exec_with_pipes) : when the child fails
672 we need to reap it to avoid a zombie. This would
673 happen in case of g_spawn_sync. Fixes #92658
675 2002-09-20 Matthias Clasen <maclas@gmx.de>
677 * glib/gscanner.c (g_scanner_msg_handler): Don't print
678 scanner->input_name when it is NULL. (#93752)
680 2002-09-06 Havoc Pennington <hp@redhat.com>
682 * autogen.sh: automake 1.4
684 2002-09-01 Soeren Sandmann <sandmann@daimi.au.dk>
686 * docs/reference/glib/tmpl/datalist.sgml, glib/gmain.c:
688 Documentation fixes: (#75255, Martin Schulze; #76104, Daryll Strauss)
690 2002-08-26 Tor Lillqvist <tml@iki.fi>
692 * configure.in (G_LIBS_EXTRA): Don't link with -lwsock32 on
693 Cygwin (#91696, Masahiro Sakai).
695 Tue Aug 20 16:01:03 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
697 * glib/gconvert.c (strdup_len): validate 'len' argument properly
698 for the case that input string is not null-terminated. (#91222)
700 2002-08-10 Gustavo Noronha Silva <kov@debian.org>
702 * configure.in: added pt_BR to ALL_LINGUAS
704 2002-08-07 Matthias Clasen <maclas@gmx.de>
706 * glib/gmarkup.c (g_markup_parse_context_get_element):
707 Use g_return_val_if_fail, no g_return_if_fail.
709 2002-08-06 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
711 * glib/gthread.c: Set the normal PID surrogate priority according
712 to getpid() to avoid errors for niced processes. (#86116)
714 * gthread/gthread-impl.c, gthread/gthread-posix.c,
715 gthread/gthread-solaris.c: Do the same for the posix/dce
716 implementation. Solaris still needs to set priority of the main
717 thread, because all unbound threads will schedule according to
718 that value and it defaults to 0 (the minimal value).
720 * glib/gmain.c: Factor out g_main_context_init_pipe from
721 g_main_context_new to initialize the wakeup pipe of a
722 context. Call that function from g_main_context_new if threads are
723 initialized and for all contexts when threads are initialized
724 in g_main_thread_init. (#86872)
726 * gthread/gthread-impl.c: Call g_main_thread_init. (#86872)
728 Thu Jul 25 14:23:15 2002 Owen Taylor <otaylor@redhat.com>
730 * glib/gfileutils.c: Clarify the behavior of g_build_path()
731 for empty elements and for leading and trailing copies
732 of the separator in the docs.
734 * glib/gfileutils.c: Fix problems with leading elements
735 consisting only of "/" characters. (#85928, Guillaume Chazarain)
737 * tests/strfunc-test.c (main): Add more test cases
738 for g_build_filename().
740 2002-07-26 Matthias Clasen <maclas@gmx.de>
743 * glib/gutf8.c (g_utf8_strreverse): New function to revert
745 * glib/gpattern.c (g_utf8_reverse): Gone, replaced by
746 g_utf8_strreverse. (#87725)
748 Thu Jul 25 20:57:20 2002 Owen Taylor <otaylor@redhat.com>
750 * glib/giochannel.c (g_io_channel_read_line): Fix
751 docs for @str_return to conform to the main docs
752 and the implementation as to whether the terminator
753 is included. (#87964, Jacob Berkman)
755 Thu Jul 25 19:52:41 2002 Owen Taylor <otaylor@redhat.com>
757 * glib/guniprop.c (real_tolower): Handle the
758 end of the string properly when max_len is set.
759 (#88545, Morten Welinder.) Rename the next_t
760 variable to next_type to make cc-mode happy.
762 * glib/gconvert.c (g_iconv_open): Fix missing
763 label from previous commit.
765 Thu Jul 25 19:41:03 2002 Owen Taylor <otaylor@redhat.com>
767 * glib/giochannel.c (g_io_channel_get_flags): Fix
768 incorrect return value in g_return_val_if_fail
769 (#85545, David L. Cooper II)
771 Thu Jul 25 19:12:43 2002 Owen Taylor <otaylor@redhat.com>
773 * glib/giochannel.c (g_io_channel_set_encoding): Clarify
774 that only one of the conditions listed in the docs
775 need to be true, not all of them. (#87176,
778 * glib/giochannel.c (g_io_channel_read_line): Fix
779 description of the return value. (#87754, Manuel Clos)
781 Thu Jul 25 19:02:53 2002 Owen Taylor <otaylor@redhat.com>
783 * glib/gmain.c (g_timeout_add): Remove reference
784 in the docs to @notify parameter. (#87768,
787 Thu Jul 25 17:57:07 2002 Owen Taylor <otaylor@redhat.com>
789 * glib/gconvert.c (g_iconv_open): Document the
790 (GIConv)-1 return value on failure. (#87559,
793 * glib/gconvert.c (g_iconv_open): Fix potential
794 problems with the assumption that (GIConv)(iconv_t)-1
795 is the same as (GIConv)-1.
797 2002-07-15 Matthias Clasen <maclas@gmx.de>
800 * glib/gmarkup.c (g_markup_parse_context_get_element): New
801 function to get the currently open element. (#70448)
803 2002-07-04 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
805 * tests/*.c: Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN
806 throughout the files, which didn't already have them. (#87312)
808 2002-07-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
810 * configure.in: Made the thread flags determination tests first
811 check for the canonical form -pthread[s], then for other
812 possibilities. Also recognize some more platforms. Modeled after
813 patch from Miroslaw Dobrzanski-Neumann <mne@mosaic-ag.com>
816 * configure.in: Fixed bugs in posix thread priority
817 resolution. Also added AIX priorities. Fix from
818 Laurent Vivier <Laurent.Vivier@bull.net>. (#82599)
820 * gthread/gthread-solaris.c: Use thr_min_stack() instead of
821 sysconf (_SC_THREAD_STACK_MIN). if stack_size is 0 on entry to
822 g_thread_create_solaris_impl, also pass 0 to thr_create. Otherwise
823 the stack might be to small for any nontrivial thread. Discovered
824 on intel-solaris by Rajkumar Sivasamy <rajkumar.siva@wipro.com>.
826 2002-07-03 Anders Carlsson <andersca@gnu.org>
828 * configure.in: Add a forgotten trailing ` in the
829 GLIB_BINARY_AGE expression. Also fixup LT_CURRENT.
831 2002-07-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
833 * configure.in: Set binary age to 0 to make it compile.
835 * configure.in: Improve checks for dce/posix threads to also do
836 the right thing, if the thread functions are not declared in
837 pthread.h. Idea from Miroslaw Dobrzanski-Neumann
838 <mne@mosaic-ag.com> in #77981.
840 2002-07-01 Anders Carlsson <andersca@gnu.org>
842 * configure.in: Up version to 2.1.0.
844 2002-07-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
846 * glib/garray.h: Add parenthesis to protect macro
847 argument. Spotted by Sam Couter <sam@topic.com.au>. (#86826)
849 2002-06-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
851 * glib/gmessages.h (g_assert, g_assert_not_reached,
852 g_return_if_fail, g_return_val_if_fail): In case of
853 G_DISABLE_ASSERT replace "G_STMT_START{ }G_STMT_END" with
854 "G_STMT_START{ (void)0; }G_STMT_END", because the former chokes
855 gcc prior to 3.0. (#86664)
857 2002-06-26 Yanko Kaneti <yaneti@declera.com>
859 * configure.in: (ALL_LINGUAS) Added Bulgarian (bg).
861 Thu Jun 13 16:12:04 2002 Owen Taylor <otaylor@redhat.com>
863 * glib/gmain.c (struct _GTimeoutSource): Make
864 interval unsigned to match g_timeout_source_new().
867 * glib/gmain.c (g_timeout_prepare): Add some
868 extra gymnastics to avoid signed/unisgned integer
871 Thu Jun 13 15:57:46 2002 Owen Taylor <otaylor@redhat.com>
873 * INSTALL.in: Add a note about the deficiency
874 of Tru64 iconv. (#81699, Manuel Op de Coul)
876 Tue Jun 11 17:03:39 2002 Owen Taylor <otaylor@redhat.com>
878 * tests/patterntest.c (test_compilation)
879 * glib/gmem.c (profiler_try_realloc): A couple
880 of 64-bit printf format fix from George Lebl.
883 * glib/gconvert.c (open_converter): Fix gsize/gint
884 mixup for g_iconv() arguments. (#83270,
887 2002-06-03 Matthias Clasen <maclas@gmx.de>
889 * glib/gwin32.c (g_win32_get_package_installation_directory):
890 Replace homegrown "hash" entity by standard ISO entity "num".
892 2002-05-26 Matthias Clasen <maclas@gmx.de>
894 * glib/gmain.c: Remove references to nonexisting functions
895 g_source_set_callback_closure(), g_source_poll(), g_source_add()
898 * glib/gdir.c (g_dir_open): Typo fix in docs.
900 * glib/gasyncqueue.c (g_async_queue_lock):
901 (g_async_queue_unref_and_unlock): Fix markup to avoid erroneous
904 * glib/gwin32.c: Escape #'s leading to erroneous <link>s in docs.
906 * glib/gtree.c: Replace some occurances of Gtree by GTree in docs.
908 * glib/gstring.c (g_string_insert_unichar): Typo fix in docs.
910 2002-05-23 Havoc Pennington <hp@redhat.com>
912 * glib/gspawn.c (fork_exec_with_pipes): on success, close the
913 pipes from the child. Fix from Tim.
915 2002-05-22 jacob berkman <jacob@ximian.com>
917 * m4macros/glib-gettext.m4 (AM_GLIB_WITH_NLS): fix tyop
919 Wed May 22 15:40:47 2002 Owen Taylor <otaylor@redhat.com>
921 * README.in: Remove notes about now-fixed-bugs.
923 * m4macros/glib-gettext.m4 acinclude.m4: Get rid
924 of AC_MSG_NOTICE() usage, since some broken systems
925 (Hi Debian!) might not be using autoconf-2.5x for
926 downstream packages even though we require it for
929 * INSTALL.in: Add a note about installing extra
930 converters for Solaris.
932 * glib/gutils.h (g_bit_nth_msf): Fix termination
933 condition. (#82582, Paolo Molaro)
935 Tue May 21 15:51:17 2002 Owen Taylor <otaylor@redhat.com>
937 * configure.in: $with_libiconv, not $with_iconv.
939 Mon May 20 18:02:46 2002 Owen Taylor <otaylor@redhat.com>
941 * configure.in: Move iconv tests before gettext
944 * m4macros/glib-gettext.m4 acinclude.m4: If we can't
945 link to gettext, try adding in -liconv. (#80076,
948 * m4macros/glib-gettext.m4 acinclude.m4: Suppress
949 warnings about xgettext not being GNU gettext when
950 libintl wasn't found at all.
951 (#79016, Andrew P. Lentvorski, Jr.)
953 2002-05-21 Matthias Clasen <maclas@gmx.de>
955 * glib/gmarkup.c (g_markup_parse_context_parse): Added
956 proper support for CDATA sections.
958 2002-05-20 jacob berkman <jacob@ximian.com>
960 * glib/gdir.c: include sys/types.h before dirent.h to build on
961 darwin (fixes #72859)
963 Mon May 20 15:35:59 2002 Owen Taylor <otaylor@redhat.com>
965 * glib/gfileutils.c (get_contents_regfile): Fix double
966 close of file descriptor on error. (#82139, Wayne Schuller)
968 * glib/gspawn.c (close_and_invalidate): Don't close
969 fd's that have already been closed. (Fix from Michael
972 * glib/giochannel.c (g_io_channel_close): If not flushing,
973 dump the contents of the write buffers, so we won't try
974 to write them to an invalid fd later. (Patch from Ron Steinke,
975 fixing #78290, Andreas Persenius.)
977 2002-05-18 Matthias Clasen <maclas@gmx.de>
979 * tests/markups/fail-36.gmarkup:
980 * tests/markups/fail-35.gmarkup:
981 * tests/markups/valid-8.gmarkup:
982 * tests/markups/valid-7.gmarkup:
983 * tests/markups/valid-6.gmarkup:
984 * tests/markups/valid-5.gmarkup: New testcases.
986 * tests/markup-test.c (passthrough_handler):
987 (text_handler): Don't ignore the text_len parameter.
989 * glib/gmarkup.c (find_current_text_end): Don't hang on embedded
991 (g_markup_parse_context_parse): Fix passthrough handling to
992 correctly skip processing instructions, comments, doctype
993 declarations and CDATA marked sections. (#81977)
995 Sat May 18 00:21:51 2002 Tim Janik <timj@gtk.org>
999 * glib/gscanner.c (g_scanner_unexp_token): fix missing cases for
1002 2002-05-17 Tor Lillqvist <tml@iki.fi>
1004 * config.h.win32.in: Match new additions in a configure-produced
1007 * glibconfig.h.win32.in: gssize and gsize as in a
1008 configure-produced glibconfig.h.
1010 * glib/glib.def: Add new functions.
1012 Thu May 16 12:24:00 2002 Owen Taylor <otaylor@redhat.com>
1014 * acinclude.m4 m4macros/glib-gettext.m4: Incorporate
1015 AM_LC_MESSAGES, AM_PATH_PROG_WITH_TEST as AM_GLIB_* to avoid
1016 dependencies on gettext m4 files. (#81885, Hidetoshi Tajima.)
1018 2002-05-14 Alex Larsson <alexl@redhat.com>
1022 New functions g_str_has_suffix and g_str_has_prefix.
1024 * tests/string-test.c: (main):
1025 Test the new functions.
1027 Mon May 13 23:20:00 2002 Owen Taylor <otaylor@redhat.com>
1029 * autogen.sh (have_gettext): Add a check for GNU gettext.
1030 (Pointed out by Dan Winship in #59386.)
1032 Mon May 13 11:55:33 2002 Owen Taylor <otaylor@redhat.com>
1034 * configure.in acglib.m4: If sizeof(int) == sizeof(long)
1035 run compilation tests to determine which way gsize should
1036 be defined. (#74413, reported by Miroslaw Dobrzanski-Neumann)
1038 Mon May 13 11:42:23 2002 Owen Taylor <otaylor@redhat.com>
1040 * glib/libcharset/*: Update from libcharset CVS.
1041 Includes additional encodings for Solaris (#80396,
1044 * configure.in: Add getc_unlocked to CHECK_FUNCS().
1046 * glib/gmessages.c (strdup_convert): If
1047 g_convert_with_fallback() fails, print the error
1048 message to stderr the first time, then return
1049 the original string. (#78197)
1051 2002-05-10 Naba Kumar <kh_naba@users.sourceforge.net>
1053 * configure.in: Added "hi" to ALL_LINGUAS.
1055 2002-05-08 Michael Natterer <mitch@gimp.org>
1057 * configure.in: fixed yesterdays fix for cross compiling: simply
1058 check the variable "cross_compiling" which gets set by autoconf.
1060 2002-05-07 Matthias Clasen <maclas@gmx.de>
1062 * glib/gmarkup.c (unescape_text): Report unfinished entity
1063 references as errors rather than running into an assert. (#80441)
1065 2002-05-07 Michael Natterer <mitch@gimp.org>
1067 * configure.in: added a new conditional CROSS_COMPILING which
1068 indicates ($build != $host). If it is set, look for
1069 glib-genmarshal in PATH. Error out if it was not found.
1071 Tue May 7 11:24:22 2002 Owen Taylor <otaylor@redhat.com>
1073 Fixes for #79347, Ron Arts.
1075 * glib/gqsort.c (g_qsort_with_data): Handle 0 elements,
1076 don't g_return_if_fail().
1078 * tests/qsort-test.c (main): Add a 0 element test.
1080 * glib/garray.c (g_[ptr_]array_sort_with[_data]):
1081 Remove invalid assertions that array->pdata != NULL ..
1082 it's NULL for 0 elements which is a valid case.
1084 Mon May 6 16:00:41 2002 Owen Taylor <otaylor@redhat.com>
1086 * glib/gbacktrace.h: Exclude OSF from alpha definition
1087 of G_BREAKPOINT(), since the assembler apparently
1088 doesn't support bpt. (#77852, Gareth Pierce) [from stable]
1090 Mon May 6 11:48:08 2002 Owen Taylor <otaylor@redhat.com>
1092 [ merged from stable ]
1094 * Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641)
1096 * m4macros/glib-2.0.m4: save CFLAGS/LIBS properly when
1097 compiling "what went wrong" test case. (#79330)
1099 * m4macros/glib-2.0.m4: Remove reference to editing
1100 pkg-config script. (From Jim Gettys)
1102 * configure.in: (Look for dyld interfaces before dlopen()
1103 since OS X can have both. Patch from Jacob Berkman,
1106 2002-05-01 jacob berkman <jacob@ximian.com>
1108 * configure.in: fix typo on 64-bit printf formatting string
1109 configure message (fixes #80389)
1111 2002-04-29 Pablo Saratxaga <pablo@mandrakesoft.com>
1113 * configure.in: Added Vietnamese (vi) to ALL_LINGUAS
1115 2002-04-19 Tor Lillqvist <tml@iki.fi>
1117 * glib/gspawn.c (g_spawn_command_line_sync): Add Windows-specific
1118 note to the gtk-doc comment.
1120 * glib/gspawn-win32.c: Remove the copy-pasted gtk-doc comment
1121 blocks. It's enough to have them in gspawn.c.
1123 2002-04-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
1125 * gthread/gthread-impl.c (g_thread_init): Fixed typo. (#78985)
1127 2002-04-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
1129 * glib/gthreadpool.c (g_thread_pool_thread_proxy): Unlock the pool
1130 for all threads leaving it. (#78348)
1132 2002-04-11 Matthias Clasen <maclas@gmx.de>
1134 * tests/patterntest.c: Remove manual UTF-8 -> Latin1 conversion for
1135 stuff fed to g_print.
1137 2002-04-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
1139 * tests/gio-test.c, tests/markup-test.c: Use gsize instead of
1140 gint. From Miroslaw Dobrzanski-Neumann
1141 <mne@mosaic-ag.com>. (#77982)
1143 2002-04-08 Stanislav Brabec <utx@penguin.cz>
1145 * cs.po: Added Czech (cs) to ALL_LINGUAS.
1147 2002-03-31 Hasbullah Bin Pit <sebol@ikhlas.com>
1149 * configure.in: Added Malay (ms)to ALL_LINGUAS.
1151 2002-03-29 Tor Lillqvist <tml@iki.fi>
1153 * glib/glib.def: Add g_convert_init.
1155 Thu Mar 28 18:25:14 2002 Owen Taylor <otaylor@redhat.com>
1159 * configure.in: Version 2.0.1, interface, binary age 1.
1161 Thu Mar 28 18:22:53 2002 Owen Taylor <otaylor@redhat.com>
1163 * README: Remove warning about g_print, etc, encoding.
1167 * glib/gmessages.c (g_log_default_handler): Use %lu
1168 (plus a cast) when printing out pid_t arguments.
1169 (#76770, Morten Welinder)
1171 * glib/gstrfuncs.c (g_strdup_vprintf): Check the
1172 result of vasprintf(), return NULL on failure.
1173 (#76802, Akira Tagoh)
1175 * tests/testglib.c (TEST): Supress a warning with
1178 Thu Mar 28 20:31:51 2002 Tim Janik <timj@gtk.org>
1182 (g_printerr): convert prtinf() strings to local charset
1183 when writing them to stdout or stderr.
1185 Wed Mar 27 18:42:22 2002 Tim Janik <timj@gtk.org>
1188 major cleanups. introduced _g_log_fallback_handler() to handle
1189 recursive messages which really doesn't call any GLib functions.
1190 this allowes the default handler to use normal GLib functions and
1191 also fixes user supplied log level handlers.
1192 fixed locking issues, based on a patch from Sebastian Willhelmi,
1193 attached to #74356. translate log messages from UTF-8, based
1194 on the same patch. save fatal and recursion flags across flag
1195 loop. use new integer format code from above patch.
1196 move GLib functions out of locked mutex state to avoid deadlocks.
1197 move the level prefix and filedescriptor logic into mklevel_prefix().
1198 move _g_debug_init() into a place where we can figure and handle
1201 Mon Mar 25 18:13:06 2002 Owen Taylor <otaylor@redhat.com>
1203 * glib/gtypes.h (GUINT*_SWAP_LE_BE_X86): Remove __const__
1204 qualifier from __asm__ statements... GCC since at least
1205 2.96 has assumed no side effects automaticaly, and gcc-3.1
1206 will warn about this usage. (#73308, Cody Russell)
1208 Fri Mar 22 17:59:27 2002 Owen Taylor <otaylor@redhat.com>
1210 * glib/gmem.c (g_mem_chunk_reset): Fix problem where
1211 if g_mem_chunk_reset() is called on an alloc-only
1212 memchunk, then a useles GTree was created.
1214 Wed Mar 20 18:20:21 2002 Owen Taylor <otaylor@redhat.com>
1216 * glib/gconvert.c (open_converter): Try to work around segfaults
1217 on Solaris if NULL is passed for outbuf... supposedly gchar
1218 *outbuf = NULL... &outbuf works. (#74336, Lauri Alanko)
1220 Wed Mar 20 11:17:32 2002 Owen Taylor <otaylor@redhat.com>
1222 * glib/gfileutils.c (get_contents_regfile): Close the
1223 file descriptor. (#75507, Matthias Clasen)
1225 Wed Mar 20 11:00:59 2002 Owen Taylor <otaylor@redhat.com>
1227 * configure.in: Use $PKG_CONFIG, not pkg-config.
1228 (LEE Sau Dan, #75572)
1230 2002-03-20 Sven Neumann <sven@gimp.org>
1232 * glib/ghash.c (g_hash_table_resize): avoid repeated call of
1233 g_spaced_primes_closest() by moving it out of the CLAMP macro
1234 (spotted by Salmaso Raffaele).
1236 2002-03-17 Tor Lillqvist <tml@iki.fi>
1238 * README.win32: Add MSVC-specific text by Hans Breuer.
1240 2002-03-16 Tor Lillqvist <tml@iki.fi>
1242 * glib/giowin32.c: Some debugging output formatting changes. The
1243 following changes fix a problem with buffered GIOChannels, noticed
1244 with the help of Owen's test program, thanks! (#59969)
1245 (g_io_win32_prepare): Return value that takes the buffer condition
1246 into account, like g_io_unix_prepare() does.
1247 (g_io_win32_check): Ditto, like g_io_unix_check().
1248 (g_io_win32_dispatch): Ditto, like g_io_unix_dispatch().
1250 Thu Mar 14 17:37:45 2002 Owen Taylor <otaylor@redhat.com>
1252 * glib/giochannel.c (g_io_channel_write_chars): Fix some
1253 gsize/gint mismatches. (#74422, Miroslaw Dobrzanski-Neumann)
1255 2002-03-14 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
1257 * glib/gmessages.c: Fixed threading issues brought up by
1258 #74577. Make g_log_find_domain, g_log_domain_new,
1259 g_log_domain_check_free and g_log_domain_get_handler require being
1260 called with g_messages_lock held and remove all internal locking
1261 in them. Then added proper locking to g_log_set_handler,
1262 g_log_remove_handler and g_logv. Problem spotted by Miroslaw
1263 Dobrzanski-Neumann <mne@mosaic-ag.com>. (#74577)
1265 2002-03-13 Erwann Chenede <erwann.chenede@sun.com>
1267 glib/gen-unicode-tables.pl
1268 glib/gunidecomp.h : fixed cast/type problems to
1269 avoid warnings (with forte compiler) (#73898)
1271 2002-03-12 Alexander Larsson <alla@lysator.liu.se>
1274 Cache getenv("G_BROKEN_FILENAMES") in have_broken_filenames() and
1275 use instead. Add g_convert_init() that calls have_broken_filenames()
1277 * gthread/gthread-impl.c:
1278 Have g_thread_init call g_convert_init.
1280 2002-03-11 Matthias Clasen <maclas@gmx.de>
1282 * glib/gstrfuncs.c (g_strtod):
1285 (g_ascii_formatd): Doc formatting fixes.