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