c6e1ce3bb067c0edfeb37ea6a764d5d9c193af4e
[platform/upstream/glib.git] / ChangeLog.pre-2-4
1 2003-07-26  Matthias Clasen  <maclas@gmx.de>
2
3         * glib/gmessages.c (g_logv): Remove the 1024 char limit in the common (non-recursive)
4         case.
5
6 2003-07-25  Matthias Clasen  <maclas@gmx.de>
7
8         * glib/gwin32.c: 
9         * glib/gutf8.c: 
10         * glib/gunicollate.c: 
11         * glib/gtree.c: 
12         * glib/gspawn.c: 
13         * glib/gmain.c: 
14         * glib/giochannel.c: 
15         * glib/gfileutils.c: 
16         * glib/gerror.c: 
17         * glib/gconvert.c: 
18         * glib/gasyncqueue.c: 
19         * glib/gmem.c: Remove some explicit Docbook markup which is no longer necessary
20         since gtk-doc does the right thing.
21
22         * glib/gutf8.c (g_utf8_get_char_validated): Work around gtk-doc stupidity.
23
24 2003-07-20  Hans Breuer  <hans@breuer.org>
25
26         * glib/trio/makefile.msc : (new file) for msvc build
27
28         * glib/glib.def : removed some duplicated entries
29
30         * glib/gscanner.c : add same workaround for MSVC(5.0)
31         which does not allow to cast an uint64 to float.
32         Same as in gvaluetransform.c
33         Also move #include <io.h> behind inclusion of "glib.h"
34         which defines the needed G_OS_WIN32
35
36         * glib/makefile.msc.in : added gprintf.obj, trio\trio.lib
37         as well as shell32.lib
38
39         * tests/spawn-test.c : include <io.h> on win32
40
41 2003-07-12  Matthias Clasen  <maclas@gmx.de>
42
43         * glib/gprintf.c: Doc additions.
44
45 2003-07-10  Joel Brich <joel.brich@laposte.net>
46
47         * configure.in: Added "eo" to ALL_LINGUAS.
48
49 Wed Jul  9 16:27:26 2003  Manish Singh  <yosh@gimp.org>
50
51         * glib/gmain.c (g_main_context_unref_and_unlock): check if
52         context->poll_chunk is set before trying to destroy it. For example,
53         this can happen if no sources are added to a context before it is
54         freed.
55
56 2003-07-09  Morten Welinder  <terra@gnome.org>
57
58         * glib/gprintf.c (g_vasprintf): Avoid var declaration after
59         statement.
60
61 2003-07-09  Matthias Clasen  <maclas@gmx.de>
62
63         Support for one-time initialization functions.  (#69668, Sebastian Wilhelmi)
64
65         * configure.in: Check whether double checked locking is safe, define g_once() in
66         glibconfig.h accordingly.
67         * glib/gthread.h: Add GOnce, GOnceStatus, G_ONCE_INIT and g_once_impl.
68         * glib/gthread.c (g_once_impl): Fallback implementation using a mutex if double checked
69         locking is unsafe.
70         * tests/thread-test.c: Add tests for g_once().
71
72 2003-07-02  Matthias Clasen  <maclas@gmx.de>
73
74         * glib/gstrfuncs.c (g_strfreev): Move docs inline, document behavior 
75         for NULL. (#116439, Steve Chaplin)
76
77 2003-06-25  Abigail Brady  <morwen@evilmagic.org>
78  
79         * glib/gconvert.c (g_convert_with_fallback): Use C99 style \uxxxx
80         and \Uxxxxyyyy escapes instead for fallback instead of perl-style
81         \X{xxxx} ones, fixing bug #114284.
82
83 2003-06-25  Tor Lillqvist  <tml@iki.fi>
84
85         * glib/giowin32.c (g_io_channel_unix_new): Pass real &optval and
86         &optlen to getsockopt() instead of NULL. Don't remember why I
87         thought that NULL could be used (as we don't actually use the
88         returned value for anything), the Platform SDK documentation
89         doesn't imply so.
90
91 2003-06-19  Matthias Clasen  <maclas@gmx.de>
92
93         * glib/gutils.c (g_path_get_basename): Move the documentation
94         inline and add details.  (#108505)
95
96 2003-06-18  Matthias Clasen  <maclas@gmx.de>
97
98         * acinclude.m4 (JH_PATH_XML_CATALOG, JH_CHECK_XML_CATALOG): New
99         macros to check for XML catalog contents and path, borrowed from
100         gtk-doc. 
101
102         * configure.in: New option --enable-man to enable regeneration of
103         man pages from Docbook, if the necessary tools are found.
104
105 2003-06-17  Matthias Clasen  <maclas@gmx.de>
106
107         * acinclude.m4 (JH_PATH_XML_CATALOG, JH_CHECK_XML_CATALOG): New
108         macros to check for XML catalog contents and path, borrowed from
109         gtk-doc. 
110         
111         * configure.in: New option --enable-man to enable regeneration of
112         man pages from Docbook, if the necessary tools are found.
113
114 2003-06-15  Tor Lillqvist  <tml@iki.fi>
115
116         * glib-zip.in (DLLDIR): Test where the DLLs actually are.
117
118         * README.win32: Point to FSF's binary Win32 distributions of
119         libiconv and gettext-runtime.
120
121 2003-06-11  Tor Lillqvist  <tml@iki.fi>
122
123         * glib-zip.in (DEVZIP): libtool 1.5 installs DLLs in the bin
124         subdirectory, so get them from there.
125
126         * glib/gwin32.c (g_win32_getlocale): Use "sr@Latn" and "sr" in the
127         same way as the po files for Serbian in Latin and Cyrillic script.
128
129 2003-06-11  Sebastian Wilhelmi  <seppi@seppi.de>
130
131         * configure.in: Remove false &. Spotted by Albert Chin
132         <gtk-devel-list@thewrittenword.com>.
133
134 2003-06-08  Tor Lillqvist  <tml@iki.fi>
135
136         * glib/giowin32.c: Fix indentation and spacing. Use
137         INADDR_LOOPBACK instead of inet_addr("127.0.0.1") and
138         gethostbyaddr().
139
140 Sat Jun  6 16:18:10 2003  Andrew Lanoix  <alanoix@umich.edu>
141
142         * glib/giowin32.c: Resolved thread deadlocks in socket 
143         ichannel code to support Add-Cancel-Add watch functionality 
144         on windows. Also cleaned up socket error handling to not 
145         segfault and do the right thing.
146         
147 Fri Jun  6 10:24:23 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
148
149         * m4macros/glib-gettext.m4: Test for Solaris native gettext 
150         in libc, seeing if it supports GNU catalog format (#85217).
151         
152 Thu Jun  5 23:40:31 2003  Owen Taylor  <otaylor@redhat.com>
153
154         * glib/gmain.c: When dispatching a source that is
155         !CAN_RECURSE, temporarily remove any file descriptors
156         that that source has registered from the main loop, to keep
157         recursive main loops from busy-waiting if input
158         becomes available on one of those file descriptors.
159         (#112222, Christian Krause)
160
161         * glib/gmain.c (g_source_set_priority): Properly
162         remove the source from the context's source list
163         and reinsert it sorted, rather than simply setting
164         source->next/prev to NULL! (#114274)
165
166 2003-06-06  Matthias Clasen  <maclas@gmx.de>
167
168         * glib/gstring.c (g_string_append_printf_internal): Use
169         g_vasprintf() and g_string_append_len(), thus enabling embedded
170         nuls in the result of g_string_printf().  (#92492, Owen Taylor)
171
172         * tests/string-test.c: Add a test for embedded nuls in the
173         result of g_string_printf().
174
175         * glib/gprintf.[ch]: Synchronize argument names with headers and docs.
176         (g_vasprintf): An implementation of vasprintf(), code was lifted
177         from g_strdup_vprintf().  (#112365)
178
179         * glib/gstrfuncs.c (g_strdup_vprintf): Just use g_vasprintf().
180
181 2003-06-05  Tor Lillqvist  <tml@iki.fi>
182
183         * glib/giochannel.h
184         * glib/gmain.h: Remove bogus (Win32-only) declaration of
185         g_main_poll_win32_msg_add(). No such function exists.
186
187         * glib/gmain.c (g_poll) [Win32]: Use g_win32_error_message() for
188         better warning messages.
189
190 2003-06-04  Noah Levitt  <nlevitt@columbia.edu>
191
192         * glib/gunidecomp.h (combine): Fix typo (#114375). Also, make the
193         function static.
194
195 2003-06-03  Sebastian Wilhelmi  <seppi@seppi.de>
196
197         * configure.in: Test for pthread_setschedparam. If not existant,
198         disable priorities. (#104718)
199
200 Mon Jun  2 14:18:21 2003  Owen Taylor  <otaylor@redhat.com>
201
202         Patch from Jeffrey Stedfast <fejj@ximian.com> (#104825)
203  
204         * glib/gspawn.c (read_data): Don't read() into '&buf', while this
205         is technically okay - it is clearer as just 'buf'.
206         (write_all): New helper function that handles write() interrupts.
207         (write_err_and_exit): Use write_all() instead of write().
208         (fork_exec_with_pipes): Same here.
209         
210 Sun Jun  1 09:42:36 2003  Owen Taylor  <otaylor@redhat.com>
211
212         * glib/giochannel.c (g_io_error_get_from_g_error): Put 
213         the g_return_val_if_fail() in the right place.
214
215 Fri May 31 1:17:45 2003  Ray Strode  <halfline@hawaii.rr.com>
216
217         * glib/giochannel.c (g_io_channel_error_from_errno):
218         Fix typo: should be G_IO_ERROR_UNKNOWN not
219         G_ERROR_ERROR_UNKNOWN
220
221 Fri May 30 19:23:47 2003  Owen Taylor  <otaylor@redhat.com>
222
223         * glib/gstrfuncs.c (g_ascii_strncasecmp)
224         * glib/gstrfuncs.c (g_ascii_strcasecmp): Use TOLOWER()
225         macro instead of g_ascii_tolower() (#107138)
226
227 Fri May 30 19:09:25 2003  Owen Taylor  <otaylor@redhat.com>
228
229         * m4macros/glib-gettext.m4: Backport better handling
230         of ALL_LINGUAS from gettext.m4. (#103808, Andras Salamon)
231
232 Fri May 30 18:46:05 2003  Owen Taylor  <otaylor@redhat.com>
233
234         * m4macros/glib-gettext.m4: expand $exec_prefix as
235         well as $prefix. (#107290, reported by Morten Welinder,
236         patch from Raja Harinath)
237
238 Fri May 30 17:24:23 2003  Owen Taylor  <otaylor@redhat.com>
239
240         * glib-gettextize.in: Quote $srcdir to handle $srcdir
241         with spaces (#107850, Evan Martin)
242
243 Fri May 30 16:48:26 2003  Owen Taylor  <otaylor@redhat.com>
244  
245         * glib/giochannel.c (g_io_channel_error_from_errno):
246         Silently return G_IO_CHANNEL_ERROR_FAILED for EINTR,
247         since close() can return EINTR. (#11842, Balazs Scheidler)
248  
249 Fri May 30 15:51:43 2003  Owen Taylor  <otaylor@redhat.com>
250
251         * glib/giochannel.c (g_io_error_get_from_g_error): 
252         Do a g_return_val_if_fail() on err == NULL to be a
253         bit more robuts on buggy IO channel implementations.
254         (#113396, Dan Winship)
255
256 Tue May 27 19:56:35 2003  Owen Taylor  <otaylor@redhat.com>
257
258         * glib/gmacros.h: __PRETTY_FUNCTION__ was made a non-token
259         before gcc-3.0.0 for C++. (Fix from Martin Kretzschmar,
260         #113797)
261
262 2003-05-28  Matthias Clasen  <maclas@gmx.de>
263
264         * tests/patterntest.c: Remain silent when sucessful. 
265
266         * tests/Makefile.am: Add patterntest to make check.  (113143)
267
268 2003-05-27  Matthias Clasen  <maclas@gmx.de>
269
270         * glib/gstrfuncs.c (g_strdup): Use memcpy instead of
271         strcpy. (#106988, Christian Biere)
272
273 2003-05-27  Matthias Clasen  <maclas@gmx.de>
274
275         * glib/gstrfuncs.c (g_strdup): Use memcpy instead of
276         strcpy. (#106988, Christian Biere)
277
278 2003-05-23  Noah Levitt  <nlevitt@columbia.edu>
279
280         * glib/gutf8.c: Fix typo in UNICODE_VALID (related to #107427).
281
282 2003-05-23  Noah Levitt  <nlevitt@columbia.edu>
283
284         * glib/guniprop.c: Remove stale comment.
285
286 2003-05-22  Noah Levitt  <nlevitt@columbia.edu>
287
288         * glib/guniprop.c: Update g_unichar_iswide to Unicode 4.0 (#113404).
289
290 2003-05-21  Noah Levitt  <nlevitt@columbia.edu>
291
292         * glib/guniprop.c: Fix obscure typo in case conversion routine
293         (#113469).
294
295 Tue May 20 14:14:55 2003  Manish Singh  <yosh@gimp.org>
296
297         * configure.in: wrap 64-bit MIN/MAX limit constants in
298         G_GINT64_CONSTANT. Fixes bug #108699.
299
300 2003-05-19  Noah Levitt  <nlevitt@columbia.edu>
301
302         * glib/gunibreak.c: Fix cut-and-pasto: g_unichar_break_type should
303         return G_UNICODE_BREAK_UNKNOWN if the character is greater than
304         G_UNICODE_LAST_CHAR.
305
306 2003-05-19  Noah Levitt  <nlevitt@columbia.edu>
307
308         * glib/glist.c: Remove unused function g_list_sort2 (bug #113203).
309
310 2003-05-19  Noah Levitt  <nlevitt@columbia.edu>
311
312         * glib/gunidecomp.c: Fix off-by-one error in
313         g_unicode_canonical_ordering (bug #113260).
314
315 2003-05-19 Arafat Medini <lumina@silverpen.de>
316
317         * ar.po: Added ar to ALL_LINGUAS
318
319 2003-05-17  Telsa Gwynne  <hobbit@aloss.ukuu.org.uk>
320
321         * configure.in: Added cy to ALL_LINGUAS
322
323 2003-05-05  Matthias Clasen  <maclas@gmx.de>
324
325         * glib/gstrfuncs.c (g_ascii_dtostr): 
326         (g_ascii_formatd): 
327         (g_ascii_strtod): Some doc fixes.  (#111805)
328
329 2003-05-05  Christian Rose  <menthos@menthos.com>
330
331         * configure.in: Added sr and sr@Latn to ALL_LINGUAS.
332
333 Thu Apr 24 19:12:05 2003  Owen Taylor  <otaylor@redhat.com>
334
335         * autogen.sh (have_libtool): Accept libtool-1.5. (#111483)
336
337 2003-04-09  Matthias Clasen  <maclas@gmx.de>
338
339         * INSTALL: 
340         * INSTALL.in: Remove list of configuration flags, since these 
341         are already documented in docs/reference/glib/building.sgml.
342
343 2003-04-08  Matthias Clasen  <maclas@gmx.de>
344
345         * INSTALL: Move Cross-compliation information to reference manual.
346
347 Mon Apr  7 13:40:28 2003  Owen Taylor  <otaylor@redhat.com>
348
349         * glib/gmain.c (g_main_loop_run): When waiting for
350         the main loop to be freed up, wait on either
351         !loop->is_running or got_ownership, not both.
352         (Caused gtk_dialog_run() not to work in other
353         threads, reported by Jean-Yves Lefort)
354
355 2003-04-07  Matthias Clasen  <maclas@gmx.de>
356
357         * glib/gutf8.c (g_utf8_strlen): Warn if p == NULL && max != 0.
358         (#110087) 
359
360 2003-04-01  Tor Lillqvist  <tml@iki.fi>
361
362         * glib/glib.def: Add g_string_chunk_insert_len.
363
364 2003-04-01  Matthias Clasen  <maclas@gmx.de>
365
366         * glib/gstring.[hc] (g_string_chunk_insert_len): New function, to
367         insert possible non-nul-terminated byte sequences into a string
368         chunk.  (#96279)
369         (g_string_chunk_insert): Implement in terms of
370         g_string_chunk_insert_len() now.
371
372 2003-03-30  Matthias Clasen  <maclas@gmx.de>
373
374         * glib/gstring.c (g_string_new): Optimize the common cases 
375         (init == NULL or init == "") a bit.
376         * glib/gmarkup.c, glib/gmessages.c, glib/gscanner.c,
377         glib/gshell.c, glib/gspawn-win32-helper.c, glib/gspawn-win32.c,
378         glib/gspawn.c, gobject/gvaluetransform.c: replace uses of 
379         g_string_new ("") by g_string_new (NULL).  (#106973, Morten Welinder)
380
381         * glib/gutf8.c (UNICODE_VALID): Update to Unicode 3.1 and optimize
382         a bit.  (#107427, Noah Lewitt)
383
384         * glib/libcharset/config.charset: Add cp1251 support for Solaris.
385         (#104738, Hidetoshi Tajima)
386
387         * glib/gconvert.c (UnsafeCharacterSet): Get rid of
388         UNSAFE_DOS_PATH.
389         (acceptable): Align with RFC2396.  (#59653)
390
391         * tests/uri-test.c: Adjust to the changes above.
392
393 2003-03-26  Christian Rose  <menthos@menthos.com>
394
395         * configure.in: Added "yi" to ALL_LINGUAS.
396
397 2003-03-19  Matthias Clasen  <maclas@gmx.de>
398
399         * glib/giochannel.c (g_io_channel_read_to_end): Fix docs.
400
401 2003-03-19  Anders Carlsson  <andersca@codefactory.se>
402
403         * configure.in: Bump version to 2.3.0
404
405 2003-03-14  Sebastian Wilhelmi  <seppi@seppi.de>
406
407         * glib/gthread.c: Do not define function g_thread_init_glib, if
408         not G_THREADS_ENABLED. It's not called bu g_thread_init() then,
409         but calls other, in that case undefined functions.
410
411 2003-03-06  Matthias Clasen  <maclas@gmx.de>
412
413         * glib/gmain.c (g_main_context_find_source_by_id): 
414         (g_main_context_find_source_by_funcs_user_data): Fix FALSE/NULL
415         confusion.  (#107646, Morten Welinder)
416
417 2003-03-01  James Henstridge  <james@daa.com.au>
418
419         * autogen.sh: require automake 1.7.  Add calls to libtoolize and
420         gtkdocize.  Clean up some of the error messages.
421
422         * configure.in: move version declaration to the top of the file
423         (before AC_INIT), using M4 macros.
424         GLIB_AC_DIVERT_BEFORE_HELP() calls no longer necessary, due to use
425         of M4 macro expansion in help messages instead.
426         Convert AC_ARG_WITH/AC_ARG_ENABLE calls to use AC_HELP_STRING to
427         format help strings.  Use quadrigraphs to get square brackets to
428         show correctly.
429         Replace gtk-doc checks with a call to GTK_DOC_CHECK() macro.
430         Use AC_CONFIG_COMMANDS([glibconfig.h], ...) to output
431         glibconfig.h, so that "./config.status glibconfig.h" works.
432         Add an extra AC_CONFIG_FILES call listing other files we want
433         generated by config.status protected by an "if false" block.  This
434         way automake generates the rules needed to rebuild the files for
435         us.
436         Add quotes in various places.
437
438         * docs/reference/*/Makefile.am: convert to use the common
439         gtk-doc.make file.  This localises the complexity to a single
440         makefile fragment maintained with gtk-doc itself.
441
442         * */Makefile.am: remove unneeded rules to build win32 files with
443         config.status.  Automake now does this for us.
444         Replace instances of @FOO@ with $(FOO) where appropriate -- this
445         allows automake to do a better job checking the makefile.
446         Add some files to DISTCLEANFILES where appropriate
447
448         * Makefile.am: use the DISTCHECK_CONFIGURE_FLAGS variable to
449         ensure that --enable-gtk-doc is passed to configure during a
450         distcheck.  Remove the custom distcheck, since the standard one
451         will now do.
452
453         * gobject/Makefile.am: switch to BUILT_SOURCES, since that now
454         works.
455
456 2003-02-26  Matthias Clasen  <maclas@gmx.de>
457
458         * glib/gstrfuncs.c (g_strdup_vprintf): Use g_strndup, not
459         g_strdup, since we know the length in advance.
460
461         * glib/gunidecomp.c (g_unicode_canonical_decomposition): Use
462         g_malloc instead of directly using malloc.
463
464 2003-02-25  Tor Lillqvist  <tml@iki.fi>
465
466         * glib/glib.def: Add a couple of missing entries, thanks to Cedric
467         Gustin. Thread initialization function changes according to
468         Sebastian Wilhelmi's changes below (2003-02-14).
469
470 2003-02-24  Matthias Clasen  <maclas@gmx.de>
471
472         * glib/gdir.c (g_dir_read_name): Clarify documentation.
473
474 2003-02-18  Sebastian Wilhelmi  <seppi@seppi.de>
475
476         * configure.in: Make glib_thread_test not unnecessarily convert
477         between int and void*. (#106278). Let main return int.
478
479         * configure.in: Add an argument to specify the default thread
480         attribute to glib_thread_test. Disappeared somewhere between 2.0
481         and 2.2.
482
483 2003-02-14  Sebastian Wilhelmi  <seppi@seppi.de>
484
485         Fixes for #101264 and #99372:
486
487         * glib/gconvert.h, glib/gmain.c, glib/gmem.c, glib/gmessages.c,
488         glib/grand.c: Include gthreadinit.h and rename the thread
489         initialization functions a bit and let them start with _, so that
490         later we can stop exporting them.
491         
492         * glib/gmem.c, glib/gmessages.c: Move the g_private_new() calls to
493         new functions. They have to be called after setting
494         g_threads_got_initialized to TRUE (see #101264).
495
496         * glib/gthread.c: Include gthreadinit.h. Renamed g_mutex_init() to
497         g_thread_init_glib(). Call the thread initialization functions
498         (which are not allowed to call g_private_new), then set
499         g_threads_got_initialized to TRUE, then call the other thread
500         initialization functions (which must not call anything but
501         g_private_new()).
502         
503         * glib/gthreadinit.h: New private header to cleanly declare all
504         thread initialization functions.
505
506         * gthread/gthread-impl.c: Include gthreadinit.h. In
507         g_thread_init() just call g_thread_init_glib(), which in turn calls the
508         other functions (see #99372).
509         
510         * glib/Makefile.am: Added gthreadinit.h.
511
512 2003-02-12  Sebastian Wilhelmi  <seppi@seppi.de>
513
514         * configure.in: Make GLib recognize Tru64Unix thread system. (#103020)
515
516 2003-02-11  Tor Lillqvist  <tml@iki.fi>
517
518         * Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2.
519
520         * glib-zip.in: Include also the gtk-doc/html documentation in the
521         developer package.
522
523         * README.win32: Updates.
524
525 2003-02-11  Sebastian Wilhelmi  <seppi@seppi.de>
526
527         * AUTHORS: Changed my e-mail address.
528         * glib/grand.c: Removed my e-mail address.
529
530 2003-02-10  Mohammad DAMT  <mdamt@bisnisweb.com>
531
532         * po/id.po: Added Indonesian translation
533         * configure.in: Added "id" to ALL_LINGUAS
534
535 2003-02-06  Matthias Clasen  <maclas@gmx.de>
536
537         * glib/gmessages.h: 
538         * glib/gmem.h: 
539         * glib/ghash.h: 
540         * glib/gasyncqueue.h: 
541         * glib/garray.h: 
542         * glib/ghook.h: 
543         * glib/gtypes.h: Fix a bunch of typos in header comments.
544         (#102422, Morten Welinder)
545
546 2003-02-04  Tor Lillqvist  <tml@iki.fi>
547
548         * glib/giowin32.c (g_io_channel_unix_new): Fix typo: Should be
549         SOCKET_ERROR, not SO_ERROR. Noticed by Daniel Kaufmann.
550         
551         Merge from stable branch: 
552
553         Fix for bug #104014, reported by Alex Shaduri:
554         
555         * glib/gspawn-win32.c (protect_argv): New function. Add
556         double-quotes around argv elements that need it, and escape
557         embedded double-quotes with backslash.
558         (do_spawn_with_pipes) Call protect_argv().
559
560         * glib/gspawn-win32-helper.c (WinMain): Call protect_argv().
561
562         * glib/gspawn.c (g_spawn_async_with_pipes): Document argument
563         vector vs. command line details on Win32.
564         (g_spawn_command_line_sync): Improve documentation about
565         backslashes in the command line on Windows.
566
567 Thu Jan 30 16:45:13 2003  Owen Taylor  <otaylor@redhat.com>
568
569         * Makefile.am: Remove references to glib.spec.
570         (#102231)
571
572         * configure.in: Don't generate glib.spec.
573
574 Tue Jan 28 16:08:56 2003  Owen Taylor  <otaylor@redhat.com>
575
576         * m4macros/glib-gettext.m4: If msgfmt isn't found,
577         unset gt_cv_have_gettext. (#102552, Tim Mooney)
578
579 Tue Jan 28 15:18:24 2003  Owen Taylor  <otaylor@redhat.com>
580
581         * autogen.sh (have_automake): Fix version in complaint
582         message about automake. (#104366, Rich Burridge)
583
584 2003-01-22  Pablo Saratxaga  <pablo@mandrakesoft.com>
585
586         * configure.in: Added Bengali (bn) to ALL_LINGUAS
587
588 2003-01-21  Christian Rose  <menthos@menthos.com>
589
590         * configure.in: Added "mn" to ALL_LINGUAS.
591
592 2003-01-20  Pablo Saratxaga  <pablo@mandrakesoft.com>
593
594         * configure.in: Added Farsi (fa), Italian (it), Latvian (lv),
595         Macedonian (mk) to ALL_LINGUAS
596
597 2003-01-16  Daniel Yacob <locales@geez.org>
598
599         * configure.in: added am to ALL_LINGUAS
600         
601 2003-01-12  Tor Lillqvist  <tml@iki.fi>
602
603         * glib/glib.def: Add some missing entries. Thanks to Kenichi SUTO.
604
605 2003-01-05  Tor Lillqvist  <tml@iki.fi>
606
607         * README.win32: Updates.
608
609         * configure.in: Don't use -lm in TRIO_LIBS on Windows, with no
610         libm. (Mingw has a dummy libm.a, but the .pc file should be
611         useable by MSVC users, too.)
612
613 2003-01-25  Ron Steinke  <rsteinke@w-link.net>
614
615         (Ancient, binary compatible fixes found sitting in my tree)
616
617         * Added early checks for count == 0 and buf == NULL in g_io_channel_read()
618
619         * Better error message for EFAULT in  g_io_channel_error_from_errno()
620
621 2003-01-04  Tor Lillqvist  <tml@iki.fi>
622
623         * Makefile.am (BUILT_EXTRA_DIST): Don't distribute glib-zip.
624
625         * {glib,gmodule,gobject,gthread}/Makefile.am:
626         [Win32] Install also the .def files, to help users generate
627         import libraries for other compilers. Uninstall, too.
628
629         * glib-zip.in: Include .def files from above.
630
631         * glib/giowin32.c (g_io_win32_fd_get_flags_internal): Don't claim
632         broken pipes are unreadable. (Well, they are, but read() handles
633         it, and treats it like EOF.)
634
635 Thu Jan  2 16:19:15 2003  Manish Singh  <yosh@gimp.org>
636
637         * configure.in: use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for
638         tests for inline keywords. Fixes #101976.
639
640 2003-01-02  Tor Lillqvist  <tml@iki.fi>
641
642         * glib/gwin32.h: Correct the comment telling what headers have
643         the declarations of some POSIXish functions.
644
645         * glib/giowin32.c (g_io_win32_fd_get_flags_internal): Fix braino:
646         The checks for readability/writeability were backwards.
647
648 2003-01-01  Tor Lillqvist  <tml@iki.fi>
649
650         * glib/gmessages.c (ensure_stderr_valid): New function, parallel
651         to ensure_stdout_valid(). #defined as empty on Unix. Move the
652         alloc_console_called static flag inside these two functions.
653         (ensure_stdout_valid, ensure_stderr_valid): Check the C stdout and
654         stderr streams for validity, instead of what GetStdHandle() returns.
655         (mklevel_prefix): Do use either stderr or stdout on Windows,
656         too. Otherwise g_warning() messages (that are just warnings, by
657         definition) will get mixed with proper stdout output. Noticed in
658         GIMP's gimpconfig-dump.
659         (strdup_convert, mklevel_prefix, g_printerr): Call
660         ensure_stderr_valid() before trying to use stderr.
661         (g_logv): [Win32] Convert message to current codepage before
662         display with MessageBox().
663
664 2002-12-28  Tõivo Leedjärv  <toivo@linux.ee>
665
666         * configure.in: Added et to ALL_LINGUAS.
667