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