Added Malay (ms)to ALL_LINGUAS.
[platform/upstream/glib.git] / ChangeLog
1 2002-03-31  Hasbullah Bin Pit <sebol@ikhlas.com>
2
3         * configure.in: Added Malay (ms)to ALL_LINGUAS.
4
5 2002-03-29  Tor Lillqvist  <tml@iki.fi>
6
7         * glib/glib.def: Add g_convert_init.
8
9 Thu Mar 28 18:25:14 2002  Owen Taylor  <otaylor@redhat.com>
10
11         * Released 2.0.1
12
13         * configure.in: Version 2.0.1, interface, binary age 1.
14
15 Thu Mar 28 18:22:53 2002  Owen Taylor  <otaylor@redhat.com>
16
17         * README: Remove warning about g_print, etc, encoding.
18
19         * NEWS: Updates.
20
21         * glib/gmessages.c (g_log_default_handler): Use %lu
22         (plus a cast) when printing out pid_t arguments.
23         (#76770, Morten Welinder)
24
25         * glib/gstrfuncs.c (g_strdup_vprintf): Check the
26         result of vasprintf(), return NULL on failure.
27         (#76802, Akira Tagoh)
28
29         * tests/testglib.c (TEST): Supress a warning with
30         some GCC versions. 
31
32 Thu Mar 28 20:31:51 2002  Tim Janik  <timj@gtk.org>
33
34         * glib/gmessages.c:
35         (g_print): 
36         (g_printerr): convert prtinf() strings to local charset
37         when writing them to stdout or stderr.
38
39 Wed Mar 27 18:42:22 2002  Tim Janik  <timj@gtk.org>
40
41         * gmessages.[hc]:
42         major cleanups. introduced _g_log_fallback_handler() to handle
43         recursive messages which really doesn't call any GLib functions.
44         this allowes the default handler to use normal GLib functions and
45         also fixes user supplied log level handlers.
46         fixed locking issues, based on a patch from Sebastian Willhelmi,
47         attached to #74356. translate log messages from UTF-8, based
48         on the same patch. save fatal and recursion flags across flag
49         loop. use new integer format code from above patch.
50         move GLib functions out of locked mutex state to avoid deadlocks.
51         move the level prefix and filedescriptor logic into mklevel_prefix().
52         move _g_debug_init() into a place where we can figure and handle
53         recursion.
54
55 Mon Mar 25 18:13:06 2002  Owen Taylor  <otaylor@redhat.com>
56
57         * glib/gtypes.h (GUINT*_SWAP_LE_BE_X86): Remove __const__
58         qualifier from __asm__ statements... GCC since at least
59         2.96 has assumed no side effects automaticaly, and gcc-3.1
60         will warn about this usage. (#73308, Cody Russell)
61
62 Fri Mar 22 17:59:27 2002  Owen Taylor  <otaylor@redhat.com>
63
64         * glib/gmem.c (g_mem_chunk_reset): Fix problem where
65         if g_mem_chunk_reset() is called on an alloc-only
66         memchunk, then a useles GTree was created.
67
68 Wed Mar 20 18:20:21 2002  Owen Taylor  <otaylor@redhat.com>
69
70         * glib/gconvert.c (open_converter): Try to work around segfaults
71         on Solaris if NULL is passed for outbuf... supposedly gchar
72         *outbuf = NULL... &outbuf works. (#74336, Lauri Alanko)
73
74 Wed Mar 20 11:17:32 2002  Owen Taylor  <otaylor@redhat.com>
75
76         * glib/gfileutils.c (get_contents_regfile): Close the
77         file descriptor. (#75507, Matthias Clasen)
78
79 Wed Mar 20 11:00:59 2002  Owen Taylor  <otaylor@redhat.com>
80
81         * configure.in: Use $PKG_CONFIG, not pkg-config.
82         (LEE Sau Dan, #75572)
83
84 2002-03-20  Sven Neumann  <sven@gimp.org>
85
86         * glib/ghash.c (g_hash_table_resize): avoid repeated call of 
87         g_spaced_primes_closest() by moving it out of the CLAMP macro 
88         (spotted by Salmaso Raffaele).
89
90 2002-03-17  Tor Lillqvist  <tml@iki.fi>
91
92         * README.win32: Add MSVC-specific text by Hans Breuer.
93
94 2002-03-16  Tor Lillqvist  <tml@iki.fi>
95
96         * glib/giowin32.c: Some debugging output formatting changes. The
97         following changes fix a problem with buffered GIOChannels, noticed
98         with the help of Owen's test program, thanks! (#59969)
99         (g_io_win32_prepare): Return value that takes the buffer condition
100         into account, like g_io_unix_prepare() does.
101         (g_io_win32_check): Ditto, like g_io_unix_check().
102         (g_io_win32_dispatch): Ditto, like g_io_unix_dispatch().
103
104 Thu Mar 14 17:37:45 2002  Owen Taylor  <otaylor@redhat.com>
105
106         * glib/giochannel.c (g_io_channel_write_chars): Fix some
107         gsize/gint mismatches. (#74422, Miroslaw Dobrzanski-Neumann)
108
109 2002-03-14  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
110
111         * glib/gmessages.c: Fixed threading issues brought up by
112         #74577. Make g_log_find_domain, g_log_domain_new,
113         g_log_domain_check_free and g_log_domain_get_handler require being
114         called with g_messages_lock held and remove all internal locking
115         in them. Then added proper locking to g_log_set_handler,
116         g_log_remove_handler and g_logv. Problem spotted by Miroslaw
117         Dobrzanski-Neumann <mne@mosaic-ag.com>. (#74577)
118
119 2002-03-13  Erwann Chenede  <erwann.chenede@sun.com>
120         * glib/gconvert.c 
121           glib/gen-unicode-tables.pl
122           glib/gunidecomp.h : fixed cast/type problems to 
123           avoid warnings (with forte compiler) (#73898)
124         
125 2002-03-12  Alexander Larsson  <alla@lysator.liu.se>
126
127         * glib/gconvert.c:
128         Cache getenv("G_BROKEN_FILENAMES") in have_broken_filenames() and
129         use instead. Add g_convert_init() that calls have_broken_filenames()
130
131         * gthread/gthread-impl.c:
132         Have g_thread_init call g_convert_init.
133
134 2002-03-11  Matthias Clasen  <maclas@gmx.de>
135
136         * glib/gstrfuncs.c (g_strtod): 
137         (g_ascii_strtod): 
138         (g_ascii_dtostr): 
139         (g_ascii_formatd): Doc formatting fixes.
140