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