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