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