Instead of forcing -fnative-struct into CFLAGS when using gcc for Win32,
[platform/upstream/glib.git] / ChangeLog.pre-2-2
1 2002-09-29  Tor Lillqvist  <tml@iki.fi>
2
3         * configure.in: Instead of forcing -fnative-struct into CFLAGS
4         when using gcc for Win32, check for gcc version 3.x which uses
5         -mms-bitfields instead. Also check if either of these switches is
6         actually available at all, and warn if not. Thanks to Soren
7         Andersen for the inspiration.
8
9         * HACKING: Say we require autoconf 2.52 as that is what
10         configure.in does.
11
12 2002-09-23  Arvind Samptur <arvind.samptur@wipro.com>
13         * glib/gspawn.c (fork_exec_with_pipes) : when the child fails
14         we need to reap it to avoid a zombie. This would
15         happen in case of g_spawn_sync. Fixes #92658
16
17 2002-09-20  Matthias Clasen  <maclas@gmx.de>
18
19         * glib/gscanner.c (g_scanner_msg_handler): Don't print
20         scanner->input_name when it is NULL.  (#93752)
21
22 2002-09-06  Havoc Pennington  <hp@redhat.com>
23
24         * autogen.sh: automake 1.4
25
26 2002-09-01  Soeren Sandmann  <sandmann@daimi.au.dk>
27
28         * docs/reference/glib/tmpl/datalist.sgml, glib/gmain.c:
29
30         Documentation fixes: (#75255, Martin Schulze; #76104, Daryll Strauss)
31
32 2002-08-26  Tor Lillqvist  <tml@iki.fi>
33
34         * configure.in (G_LIBS_EXTRA): Don't link with -lwsock32 on
35         Cygwin (#91696, Masahiro Sakai).
36
37 Tue Aug 20 16:01:03 2002  HideToshi Tajima  <hidetoshi.tajima@sun.com>
38
39         * glib/gconvert.c (strdup_len): validate 'len' argument properly
40         for the case that input string is not null-terminated. (#91222)
41
42 2002-08-10  Gustavo Noronha Silva  <kov@debian.org>
43
44         * configure.in: added pt_BR to ALL_LINGUAS
45
46 2002-08-07  Matthias Clasen  <maclas@gmx.de>
47
48         * glib/gmarkup.c (g_markup_parse_context_get_element): 
49         Use g_return_val_if_fail, no g_return_if_fail.
50
51 2002-08-06  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
52
53         * glib/gthread.c: Set the normal PID surrogate priority according
54         to getpid() to avoid errors for niced processes. (#86116)
55
56         * gthread/gthread-impl.c, gthread/gthread-posix.c,
57         gthread/gthread-solaris.c: Do the same for the posix/dce
58         implementation. Solaris still needs to set priority of the main
59         thread, because all unbound threads will schedule according to
60         that value and it defaults to 0 (the minimal value). 
61
62         * glib/gmain.c: Factor out g_main_context_init_pipe from
63         g_main_context_new to initialize the wakeup pipe of a
64         context. Call that function from g_main_context_new if threads are
65         initialized and for all contexts when threads are initialized
66         in g_main_thread_init. (#86872) 
67
68         * gthread/gthread-impl.c: Call g_main_thread_init. (#86872) 
69
70 Thu Jul 25 14:23:15 2002  Owen Taylor  <otaylor@redhat.com>
71
72         * glib/gfileutils.c: Clarify the behavior of g_build_path()
73         for empty elements and for leading and trailing copies
74         of the separator in the docs.
75  
76         * glib/gfileutils.c: Fix problems with leading elements
77         consisting only of "/" characters. (#85928, Guillaume Chazarain)
78  
79         * tests/strfunc-test.c (main): Add more test cases
80         for g_build_filename().
81  
82 2002-07-26  Matthias Clasen  <maclas@gmx.de>
83
84         * glib/gunicode.h: 
85         * glib/gutf8.c (g_utf8_strreverse): New function to revert
86         a utf8 string.
87         * glib/gpattern.c (g_utf8_reverse): Gone, replaced by 
88         g_utf8_strreverse.  (#87725)
89
90 Thu Jul 25 20:57:20 2002  Owen Taylor  <otaylor@redhat.com>
91
92         * glib/giochannel.c (g_io_channel_read_line): Fix 
93         docs for @str_return to conform to the main docs
94         and the implementation as to whether the terminator
95         is included. (#87964, Jacob Berkman)
96
97 Thu Jul 25 19:52:41 2002  Owen Taylor  <otaylor@redhat.com>
98
99         * glib/guniprop.c (real_tolower): Handle the 
100         end of the string properly when max_len is set.
101         (#88545, Morten Welinder.) Rename the next_t
102         variable to next_type to make cc-mode happy.
103
104         * glib/gconvert.c (g_iconv_open): Fix missing
105         label from previous commit.
106
107 Thu Jul 25 19:41:03 2002  Owen Taylor  <otaylor@redhat.com>
108
109         * glib/giochannel.c (g_io_channel_get_flags): Fix 
110         incorrect return value in g_return_val_if_fail 
111         (#85545, David L. Cooper II)
112
113 Thu Jul 25 19:12:43 2002  Owen Taylor  <otaylor@redhat.com>
114
115         * glib/giochannel.c (g_io_channel_set_encoding): Clarify
116         that only one of the conditions listed in the docs
117         need to be true, not all of them. (#87176,
118         Sebastian Rittau)
119
120         * glib/giochannel.c (g_io_channel_read_line): Fix 
121         description of the return value. (#87754, Manuel Clos)
122
123 Thu Jul 25 19:02:53 2002  Owen Taylor  <otaylor@redhat.com>
124
125         * glib/gmain.c (g_timeout_add): Remove reference
126         in the docs to @notify parameter. (#87768,
127         Manuel Clos)
128
129 Thu Jul 25 17:57:07 2002  Owen Taylor  <otaylor@redhat.com>
130
131         * glib/gconvert.c (g_iconv_open): Document the
132         (GIConv)-1 return value on failure. (#87559, 
133         Jarek Dukat)
134
135         * glib/gconvert.c (g_iconv_open): Fix potential
136         problems with the assumption that (GIConv)(iconv_t)-1
137         is the same as (GIConv)-1.
138         
139 2002-07-15  Matthias Clasen  <maclas@gmx.de>
140
141         * glib/gmarkup.h: 
142         * glib/gmarkup.c (g_markup_parse_context_get_element): New
143         function to get the currently open element.  (#70448)
144
145 2002-07-04  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
146
147         * tests/*.c: Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN
148         throughout the files, which didn't already have them. (#87312)
149
150 2002-07-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
151
152         * configure.in: Made the thread flags determination tests first
153         check for the canonical form -pthread[s], then for other
154         possibilities. Also recognize some more platforms. Modeled after
155         patch from Miroslaw Dobrzanski-Neumann <mne@mosaic-ag.com>
156         (#77981).
157         
158         * configure.in: Fixed bugs in posix thread priority
159         resolution. Also added AIX priorities. Fix from
160         Laurent Vivier <Laurent.Vivier@bull.net>. (#82599)
161         
162         * gthread/gthread-solaris.c: Use thr_min_stack() instead of
163         sysconf (_SC_THREAD_STACK_MIN). if stack_size is 0 on entry to
164         g_thread_create_solaris_impl, also pass 0 to thr_create. Otherwise
165         the stack might be to small for any nontrivial thread. Discovered
166         on intel-solaris by Rajkumar Sivasamy <rajkumar.siva@wipro.com>.
167
168 2002-07-03  Anders Carlsson  <andersca@gnu.org>
169
170         * configure.in: Add a forgotten trailing ` in the 
171         GLIB_BINARY_AGE expression. Also fixup LT_CURRENT.
172
173 2002-07-02  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
174
175         * configure.in: Set binary age to 0 to make it compile.
176
177         * configure.in: Improve checks for dce/posix threads to also do
178         the right thing, if the thread functions are not declared in
179         pthread.h. Idea from Miroslaw Dobrzanski-Neumann
180         <mne@mosaic-ag.com> in #77981.
181
182 2002-07-01  Anders Carlsson  <andersca@gnu.org>
183
184         * configure.in: Up version to 2.1.0.
185
186 2002-07-01  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
187
188         * glib/garray.h: Add parenthesis to protect macro
189         argument. Spotted by Sam Couter <sam@topic.com.au>. (#86826)
190
191 2002-06-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
192
193         * glib/gmessages.h (g_assert, g_assert_not_reached,
194         g_return_if_fail, g_return_val_if_fail): In case of
195         G_DISABLE_ASSERT replace "G_STMT_START{ }G_STMT_END" with
196         "G_STMT_START{ (void)0; }G_STMT_END", because the former chokes
197         gcc prior to 3.0. (#86664)
198
199 2002-06-26  Yanko Kaneti <yaneti@declera.com>
200
201         * configure.in: (ALL_LINGUAS) Added Bulgarian (bg).
202
203 Thu Jun 13 16:12:04 2002  Owen Taylor  <otaylor@redhat.com>
204
205         * glib/gmain.c (struct _GTimeoutSource): Make 
206         interval unsigned to match g_timeout_source_new().
207         (#82624, Tim Janik.)
208
209         * glib/gmain.c (g_timeout_prepare): Add some
210         extra gymnastics to avoid signed/unisgned integer
211         overflows.
212
213 Thu Jun 13 15:57:46 2002  Owen Taylor  <otaylor@redhat.com>
214
215         * INSTALL.in: Add a note about the deficiency
216         of Tru64 iconv. (#81699, Manuel Op de Coul)
217
218 Tue Jun 11 17:03:39 2002  Owen Taylor  <otaylor@redhat.com>
219
220         * tests/patterntest.c (test_compilation)
221         * glib/gmem.c (profiler_try_realloc): A couple
222         of 64-bit printf format fix from George Lebl.
223         (#82817)
224
225         * glib/gconvert.c (open_converter): Fix gsize/gint
226         mixup for g_iconv() arguments. (#83270,
227         David L. Cooper II)
228
229 2002-06-03  Matthias Clasen  <maclas@gmx.de>
230
231         * glib/gwin32.c (g_win32_get_package_installation_directory):
232         Replace homegrown "hash" entity by standard ISO entity "num".
233
234 2002-05-26  Matthias Clasen  <maclas@gmx.de>
235
236         * glib/gmain.c: Remove references to nonexisting functions 
237         g_source_set_callback_closure(), g_source_poll(), g_source_add()
238         from docs.
239
240         * glib/gdir.c (g_dir_open): Typo fix in docs.
241
242         * glib/gasyncqueue.c (g_async_queue_lock):
243         (g_async_queue_unref_and_unlock): Fix markup to avoid erroneous 
244         <link>s in docs.
245
246         * glib/gwin32.c: Escape #'s leading to erroneous <link>s in docs.
247
248         * glib/gtree.c: Replace some occurances of Gtree by GTree in docs.
249
250         * glib/gstring.c (g_string_insert_unichar): Typo fix in docs.
251
252 2002-05-23  Havoc Pennington  <hp@redhat.com>
253
254         * glib/gspawn.c (fork_exec_with_pipes): on success, close the
255         pipes from the child. Fix from Tim.
256
257 2002-05-22  jacob berkman  <jacob@ximian.com>
258
259         * m4macros/glib-gettext.m4 (AM_GLIB_WITH_NLS): fix tyop
260
261 Wed May 22 15:40:47 2002  Owen Taylor  <otaylor@redhat.com>
262
263         * README.in: Remove notes about now-fixed-bugs.
264
265         * m4macros/glib-gettext.m4 acinclude.m4: Get rid
266         of AC_MSG_NOTICE() usage, since some broken systems
267         (Hi Debian!) might not be using autoconf-2.5x for
268         downstream packages even though we require it for
269         glib itself.
270
271         * INSTALL.in: Add a note about installing extra
272         converters for Solaris.
273
274         * glib/gutils.h (g_bit_nth_msf): Fix termination
275         condition. (#82582, Paolo Molaro)
276  
277 Tue May 21 15:51:17 2002  Owen Taylor  <otaylor@redhat.com>
278
279         * configure.in: $with_libiconv, not $with_iconv.
280
281 Mon May 20 18:02:46 2002  Owen Taylor  <otaylor@redhat.com>
282
283         * configure.in: Move iconv tests before gettext
284         checks. (#81999)
285
286         * m4macros/glib-gettext.m4 acinclude.m4: If we can't
287         link to gettext, try adding in -liconv. (#80076,
288         Boyd Lynn Gerber)
289
290         * m4macros/glib-gettext.m4 acinclude.m4: Suppress
291         warnings about xgettext not being GNU gettext when
292         libintl wasn't found at all. 
293         (#79016, Andrew P. Lentvorski, Jr.)
294          
295 2002-05-21  Matthias Clasen  <maclas@gmx.de>
296
297         * glib/gmarkup.c (g_markup_parse_context_parse): Added
298         proper support for CDATA sections.
299
300 2002-05-20  jacob berkman  <jacob@ximian.com>
301
302         * glib/gdir.c: include sys/types.h before dirent.h to build on
303         darwin (fixes #72859)
304
305 Mon May 20 15:35:59 2002  Owen Taylor  <otaylor@redhat.com>
306  
307         * glib/gfileutils.c (get_contents_regfile): Fix double
308         close of file descriptor on error. (#82139, Wayne Schuller)
309  
310         * glib/gspawn.c (close_and_invalidate): Don't close
311         fd's that have already been closed. (Fix from Michael
312         Meeks, #81959)
313  
314         * glib/giochannel.c (g_io_channel_close): If not flushing,
315         dump the contents of the write buffers, so we won't try
316         to write them to an invalid fd later. (Patch from Ron Steinke,
317         fixing #78290, Andreas Persenius.)
318  
319 2002-05-18  Matthias Clasen  <maclas@gmx.de>
320
321         * tests/markups/fail-36.gmarkup: 
322         * tests/markups/fail-35.gmarkup: 
323         * tests/markups/valid-8.gmarkup: 
324         * tests/markups/valid-7.gmarkup: 
325         * tests/markups/valid-6.gmarkup: 
326         * tests/markups/valid-5.gmarkup: New testcases.
327
328         * tests/markup-test.c (passthrough_handler): 
329         (text_handler): Don't ignore the text_len parameter.
330
331         * glib/gmarkup.c (find_current_text_end): Don't hang on embedded
332         nuls.  (#81977)
333         (g_markup_parse_context_parse): Fix passthrough handling to
334         correctly skip processing instructions, comments, doctype
335         declarations and CDATA marked sections.  (#81977)
336
337 Sat May 18 00:21:51 2002  Tim Janik  <timj@gtk.org>
338
339         [merged from stable]
340
341         * glib/gscanner.c (g_scanner_unexp_token): fix missing cases for
342         expected_token.
343
344 2002-05-17  Tor Lillqvist  <tml@iki.fi>
345
346         * config.h.win32.in: Match new additions in a configure-produced
347         config.h.
348
349         * glibconfig.h.win32.in: gssize and gsize as in a
350         configure-produced glibconfig.h.
351
352         * glib/glib.def: Add new functions.
353
354 Thu May 16 12:24:00 2002  Owen Taylor  <otaylor@redhat.com>
355  
356         * acinclude.m4 m4macros/glib-gettext.m4: Incorporate 
357         AM_LC_MESSAGES, AM_PATH_PROG_WITH_TEST as AM_GLIB_* to avoid 
358         dependencies on gettext m4 files. (#81885, Hidetoshi Tajima.)
359         
360 2002-05-14  Alex Larsson <alexl@redhat.com>
361         
362         * glib/gstrfuncs.c: 
363         * glib/gstrfuncs.h:
364         New functions g_str_has_suffix and g_str_has_prefix.
365         
366         * tests/string-test.c: (main):
367         Test the new functions.
368
369 Mon May 13 23:20:00 2002  Owen Taylor  <otaylor@redhat.com>
370
371         * autogen.sh (have_gettext): Add a check for GNU gettext.
372         (Pointed out by Dan Winship in #59386.)
373
374 Mon May 13 11:55:33 2002  Owen Taylor  <otaylor@redhat.com>
375
376         * configure.in acglib.m4: If sizeof(int) == sizeof(long)
377         run compilation tests to determine which way gsize should
378         be defined. (#74413, reported by Miroslaw Dobrzanski-Neumann)
379
380 Mon May 13 11:42:23 2002  Owen Taylor  <otaylor@redhat.com>
381  
382         * glib/libcharset/*: Update from libcharset CVS.
383         Includes additional encodings for Solaris (#80396,
384         Qingjiang Yuan)
385  
386         * configure.in: Add getc_unlocked to CHECK_FUNCS().
387  
388         * glib/gmessages.c (strdup_convert): If
389         g_convert_with_fallback() fails, print the error
390         message to stderr the first time, then return
391         the original string. (#78197)
392  
393 2002-05-10  Naba Kumar  <kh_naba@users.sourceforge.net>
394
395         * configure.in: Added "hi" to ALL_LINGUAS.
396
397 2002-05-08  Michael Natterer  <mitch@gimp.org>
398
399         * configure.in: fixed yesterdays fix for cross compiling: simply
400         check the variable "cross_compiling" which gets set by autoconf.
401
402 2002-05-07  Matthias Clasen  <maclas@gmx.de>
403
404         * glib/gmarkup.c (unescape_text): Report unfinished entity
405         references as errors rather than running into an assert.  (#80441)
406
407 2002-05-07  Michael Natterer  <mitch@gimp.org>
408
409         * configure.in: added a new conditional CROSS_COMPILING which
410         indicates ($build != $host). If it is set, look for
411         glib-genmarshal in PATH. Error out if it was not found.
412
413 Tue May  7 11:24:22 2002  Owen Taylor  <otaylor@redhat.com>
414
415         Fixes for #79347, Ron Arts.
416
417         * glib/gqsort.c (g_qsort_with_data): Handle 0 elements,
418         don't g_return_if_fail().
419
420         * tests/qsort-test.c (main): Add a 0 element test.
421
422         * glib/garray.c (g_[ptr_]array_sort_with[_data]): 
423         Remove invalid assertions that array->pdata != NULL ..
424         it's NULL for 0 elements which is a valid case.
425
426 Mon May  6 16:00:41 2002  Owen Taylor  <otaylor@redhat.com>
427
428         * glib/gbacktrace.h: Exclude OSF from alpha definition
429         of G_BREAKPOINT(), since the assembler apparently
430         doesn't support bpt. (#77852, Gareth Pierce) [from stable]
431
432 Mon May  6 11:48:08 2002  Owen Taylor  <otaylor@redhat.com>
433
434         [ merged from stable ]
435  
436         * Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641)
437  
438         * m4macros/glib-2.0.m4: save CFLAGS/LIBS properly when
439         compiling "what went wrong" test case. (#79330)
440  
441         * m4macros/glib-2.0.m4: Remove reference to editing
442         pkg-config script. (From Jim Gettys)
443  
444         * configure.in: (Look for dyld interfaces before dlopen()
445         since OS X can have both. Patch from Jacob Berkman, 
446         #80438)
447         
448 2002-05-01  jacob berkman  <jacob@ximian.com>
449
450         * configure.in: fix typo on 64-bit printf formatting string
451         configure message (fixes #80389)
452
453 2002-04-29  Pablo Saratxaga  <pablo@mandrakesoft.com>
454
455         * configure.in: Added Vietnamese (vi) to ALL_LINGUAS
456
457 2002-04-19  Tor Lillqvist  <tml@iki.fi>
458
459         * glib/gspawn.c (g_spawn_command_line_sync): Add Windows-specific
460         note to the gtk-doc comment.
461
462         * glib/gspawn-win32.c: Remove the copy-pasted gtk-doc comment
463         blocks. It's enough to have them in gspawn.c.
464
465 2002-04-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
466
467         * gthread/gthread-impl.c (g_thread_init): Fixed typo. (#78985)
468
469 2002-04-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
470
471         * glib/gthreadpool.c (g_thread_pool_thread_proxy): Unlock the pool
472         for all threads leaving it. (#78348)
473
474 2002-04-11  Matthias Clasen  <maclas@gmx.de>
475
476         * tests/patterntest.c: Remove manual UTF-8 -> Latin1 conversion for
477         stuff fed to g_print.
478
479 2002-04-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
480
481         * tests/gio-test.c, tests/markup-test.c: Use gsize instead of
482         gint. From Miroslaw Dobrzanski-Neumann
483         <mne@mosaic-ag.com>. (#77982)
484         
485 2002-04-08  Stanislav Brabec  <utx@penguin.cz> 
486
487         * cs.po: Added Czech (cs) to ALL_LINGUAS.
488
489 2002-03-31  Hasbullah Bin Pit <sebol@ikhlas.com>
490
491         * configure.in: Added Malay (ms)to ALL_LINGUAS.
492
493 2002-03-29  Tor Lillqvist  <tml@iki.fi>
494
495         * glib/glib.def: Add g_convert_init.
496
497 Thu Mar 28 18:25:14 2002  Owen Taylor  <otaylor@redhat.com>
498
499         * Released 2.0.1
500
501         * configure.in: Version 2.0.1, interface, binary age 1.
502
503 Thu Mar 28 18:22:53 2002  Owen Taylor  <otaylor@redhat.com>
504
505         * README: Remove warning about g_print, etc, encoding.
506
507         * NEWS: Updates.
508
509         * glib/gmessages.c (g_log_default_handler): Use %lu
510         (plus a cast) when printing out pid_t arguments.
511         (#76770, Morten Welinder)
512
513         * glib/gstrfuncs.c (g_strdup_vprintf): Check the
514         result of vasprintf(), return NULL on failure.
515         (#76802, Akira Tagoh)
516
517         * tests/testglib.c (TEST): Supress a warning with
518         some GCC versions. 
519
520 Thu Mar 28 20:31:51 2002  Tim Janik  <timj@gtk.org>
521
522         * glib/gmessages.c:
523         (g_print): 
524         (g_printerr): convert prtinf() strings to local charset
525         when writing them to stdout or stderr.
526
527 Wed Mar 27 18:42:22 2002  Tim Janik  <timj@gtk.org>
528
529         * gmessages.[hc]:
530         major cleanups. introduced _g_log_fallback_handler() to handle
531         recursive messages which really doesn't call any GLib functions.
532         this allowes the default handler to use normal GLib functions and
533         also fixes user supplied log level handlers.
534         fixed locking issues, based on a patch from Sebastian Willhelmi,
535         attached to #74356. translate log messages from UTF-8, based
536         on the same patch. save fatal and recursion flags across flag
537         loop. use new integer format code from above patch.
538         move GLib functions out of locked mutex state to avoid deadlocks.
539         move the level prefix and filedescriptor logic into mklevel_prefix().
540         move _g_debug_init() into a place where we can figure and handle
541         recursion.
542
543 Mon Mar 25 18:13:06 2002  Owen Taylor  <otaylor@redhat.com>
544
545         * glib/gtypes.h (GUINT*_SWAP_LE_BE_X86): Remove __const__
546         qualifier from __asm__ statements... GCC since at least
547         2.96 has assumed no side effects automaticaly, and gcc-3.1
548         will warn about this usage. (#73308, Cody Russell)
549
550 Fri Mar 22 17:59:27 2002  Owen Taylor  <otaylor@redhat.com>
551
552         * glib/gmem.c (g_mem_chunk_reset): Fix problem where
553         if g_mem_chunk_reset() is called on an alloc-only
554         memchunk, then a useles GTree was created.
555
556 Wed Mar 20 18:20:21 2002  Owen Taylor  <otaylor@redhat.com>
557
558         * glib/gconvert.c (open_converter): Try to work around segfaults
559         on Solaris if NULL is passed for outbuf... supposedly gchar
560         *outbuf = NULL... &outbuf works. (#74336, Lauri Alanko)
561
562 Wed Mar 20 11:17:32 2002  Owen Taylor  <otaylor@redhat.com>
563
564         * glib/gfileutils.c (get_contents_regfile): Close the
565         file descriptor. (#75507, Matthias Clasen)
566
567 Wed Mar 20 11:00:59 2002  Owen Taylor  <otaylor@redhat.com>
568
569         * configure.in: Use $PKG_CONFIG, not pkg-config.
570         (LEE Sau Dan, #75572)
571
572 2002-03-20  Sven Neumann  <sven@gimp.org>
573
574         * glib/ghash.c (g_hash_table_resize): avoid repeated call of 
575         g_spaced_primes_closest() by moving it out of the CLAMP macro 
576         (spotted by Salmaso Raffaele).
577
578 2002-03-17  Tor Lillqvist  <tml@iki.fi>
579
580         * README.win32: Add MSVC-specific text by Hans Breuer.
581
582 2002-03-16  Tor Lillqvist  <tml@iki.fi>
583
584         * glib/giowin32.c: Some debugging output formatting changes. The
585         following changes fix a problem with buffered GIOChannels, noticed
586         with the help of Owen's test program, thanks! (#59969)
587         (g_io_win32_prepare): Return value that takes the buffer condition
588         into account, like g_io_unix_prepare() does.
589         (g_io_win32_check): Ditto, like g_io_unix_check().
590         (g_io_win32_dispatch): Ditto, like g_io_unix_dispatch().
591
592 Thu Mar 14 17:37:45 2002  Owen Taylor  <otaylor@redhat.com>
593
594         * glib/giochannel.c (g_io_channel_write_chars): Fix some
595         gsize/gint mismatches. (#74422, Miroslaw Dobrzanski-Neumann)
596
597 2002-03-14  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
598
599         * glib/gmessages.c: Fixed threading issues brought up by
600         #74577. Make g_log_find_domain, g_log_domain_new,
601         g_log_domain_check_free and g_log_domain_get_handler require being
602         called with g_messages_lock held and remove all internal locking
603         in them. Then added proper locking to g_log_set_handler,
604         g_log_remove_handler and g_logv. Problem spotted by Miroslaw
605         Dobrzanski-Neumann <mne@mosaic-ag.com>. (#74577)
606
607 2002-03-13  Erwann Chenede  <erwann.chenede@sun.com>
608         * glib/gconvert.c 
609           glib/gen-unicode-tables.pl
610           glib/gunidecomp.h : fixed cast/type problems to 
611           avoid warnings (with forte compiler) (#73898)
612         
613 2002-03-12  Alexander Larsson  <alla@lysator.liu.se>
614
615         * glib/gconvert.c:
616         Cache getenv("G_BROKEN_FILENAMES") in have_broken_filenames() and
617         use instead. Add g_convert_init() that calls have_broken_filenames()
618
619         * gthread/gthread-impl.c:
620         Have g_thread_init call g_convert_init.
621
622 2002-03-11  Matthias Clasen  <maclas@gmx.de>
623
624         * glib/gstrfuncs.c (g_strtod): 
625         (g_ascii_strtod): 
626         (g_ascii_dtostr): 
627         (g_ascii_formatd): Doc formatting fixes.
628