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