Actually set any_failed on failure. (#143552, Philippe Blain)
[platform/upstream/glib.git] / ChangeLog
1 Thu Jun 10 23:38:02 2004  Matthias Clasen  <maclas@gmx.de>
2
3         * tests/printf-test.c (TEST): Actually set any_failed on 
4         failure.  (#143552, Philippe Blain)
5
6 2004-06-09  Federico Mena Quintero  <federico@ximian.com>
7
8         * tests/uri-test.c (to_uri_tests): Fix expected results (ha ha)
9         for URIs that *should* have been invalid, or viceversa.
10         (from_uri_tests): Likewise.
11
12 2004-06-07  Federico Mena Quintero  <federico@ximian.com>
13
14         Fixes #140532.
15
16         * glib/gconvert.c (is_asciialphanum): Renamed from
17         is_escalphanum(); ensures that this is an ASCII character.
18         (is_asciiescalpha): Renamed from is_escalpha().
19         (hostname_validate): Use the two functions above.
20         (g_filename_to_uri): Don't convert the filename to UTF-8.
21         (g_filename_from_uri): Don't convert the filename from UTF-8.
22
23 Mon Jun  7 22:25:24 2004  Matthias Clasen  <maclas@gmx.de>
24
25         * tests/run-markup-tests.sh: Default to silence, but support
26         a -v argument to get the old output back. 
27
28 2004-06-06  Tor Lillqvist  <tml@iki.fi>
29
30         * glib/gutils.c (g_get_any_init): Check home for being
31         NULL. (#143812, Ivan Wong)
32
33 Sun Jun  6 15:23:00 2004  Pawan Chitrakr  <pawan@nplinu.org>
34
35         * configure.in: Added "ne" (Nepali) in ALL_LINGUAS
36
37 Fri Jun  4 19:26:47 2004  Manish Singh  <yosh@gimp.org>
38
39         * glib/galloca.h: cpp #directives should always have the "#" in the
40         first column of the the line. Do that for "#pragma alloca". Fixes
41         bug #143744.
42
43 Wed Jun  2 00:57:16 2004  Matthias Clasen  <maclas@gmx.de>
44
45         * glib/gtypes.h: Use higher precision for the mathematical
46         constants.  (#141941, Morten Welinder)
47
48 Tue Jun  1 22:01:40 2004  Matthias Clasen  <maclas@gmx.de>
49
50         * glib/gmarkup.c (advance_char): Fix an off-by-one error 
51         in g_markup_parse_context_parse().  (#142794, Morten Welinder)
52
53 Sun May 16 23:23:29 2004  Matthias Clasen  <maclas@gmx.de>
54
55         Merged from 2.4:
56         
57         * glib/gcompletion.c (g_completion_add_items):
58         (g_completion_remove_items): Remove unnecessary 
59         checks.  (#142559, Morten Welinder)
60
61 2004-05-15  Tor Lillqvist  <tml@iki.fi>
62
63         * glib/gutils.c (g_get_any_init): [Win32] Only believe HOME if it
64         is an absolute path and exists. (#138618)
65
66 2004-05-14  Tor Lillqvist  <tml@iki.fi>
67
68         * glib/gnulib/vasnprintf.c (vasnprintf): Handle empty digit string
69         for precision correctly. (#142400)
70
71         For backward compatibility with the Trio implementation, make "ll"
72         format modifer work on Win32, too. Change into "I64" before
73         passing to the system printf. (#142433)
74
75         * tests/printf-test.c (main): Add tests for the above.
76
77 2004-05-10  Matthias Clasen  <mclasen@redhat.com>
78
79         Merge from 2.4:
80         
81         * glib/gmain.c (block_source, unblock_source): Make these 
82         static.  (#142230, Morten Welinder)
83
84 2004-05-10  Tor Lillqvist  <tml@iki.fi>
85
86         * glib/giowin32.c (g_win32_print_gioflags): Remove two duplicated
87         lines. Thanks to BenoĆ®t Carpentier.
88
89 Sun May  9 02:04:14 2004  Matthias Clasen  <maclas@gmx.de>
90
91         Merge from 2.4:
92         
93         * glib/guniprop.c (g_utf8_casefold): Avoid an unnecessary
94         memleak.  (#141998, Nikolai Weibull)
95
96 Sat May  8 23:02:26 2004  Matthias Clasen  <maclas@gmx.de>
97
98         Merge from 2.4:
99         
100         * glib/gutils.h: Remove vestigial g_get_codeset().
101         * glib/gutils.c (g_get_codeset): Call g_get_charset().
102         (#137703, Owen Taylor)
103
104 2004-05-06  Matthias Clasen  <mclasen@redhat.com>
105
106         * configure.in: Bump version number to 2.5.0.
107
108 Wed May  5 23:35:44 2004  Matthias Clasen  <maclas@gmx.de>
109
110         * glib/gconvert.c (g_filename_from_uri): Quote the file
111         scheme to mark it as untranslatable. String change.  
112         (#133144, Danilo Segan)
113
114 2004-05-03  Pablo Saratxaga  <pablo@mandrakesoft.com>
115
116         * configure.in: Added Walloon (wa) to ALL_LINGUAS
117
118 Sun May  2 03:51:59 2004  Manish Singh  <yosh@gimp.org>
119
120         * glib/gtypes.h: check for __pentium4__ when deciding whether to
121         use bswap for GUINT32_SWAP_LE_BE_IA32(). Fixes bug #141620.
122
123 2004-05-01  Hans Breuer  <hans@breuer.org>
124
125         * glib/gnulib/Makefile.am : added makefile.msc to EXTRA_DIST
126         fixes #141563, Steve Lhomme
127
128 2004-04-30  Matthias Clasen  <mclasen@redhat.com>
129
130         * === Released 2.4.1 ===
131
132         * configure.in: Version 2.4.1, interface age 1. 
133
134         * NEWS: Updates
135         
136 2004-04-25  Tor Lillqvist  <tml@iki.fi>
137
138         * glib/gwin32.c (g_win32_get_package_installation_subdirectory):
139         Plug memory leak. (#140770, John Ehresman)
140
141 2004-04-23  Matthias Clasen  <mclasen@redhat.com>
142
143         * glib/libcharset/localcharset.c (_g_locale_get_charset_aliases): 
144         Reinstate LIBCHARSET_ALIAS_DIR support which got lost at some
145         point.  (#139134, Piotr Klaban)
146
147         * glib/gconvert.c (open_converter): Don't call g_strerror() here, 
148         since it can lead to infinite recursion.  (#139133, Piotr Klaban)
149
150 2004-04-22  Matthias Clasen  <mclasen@redhat.com>
151
152         * tests/testglib.c (main): Trivial warning fix.  (#140345)
153
154         * tests/queue-test.c (main): Add some tests for off-by-one errors.
155
156         * glib/gqueue.c (g_queue_pop_nth_link): Fix an off-by-one 
157         error.  (#139703, Philippe Blain)
158
159         * tests/testglib.c (main): Add testcases for g_message() involving
160         non-printable and unsafe characters.
161
162         * glib/gmessages.c (escape_string): Don't assume that
163         string->str remains unchanged over g_string_insert() 
164         calls.  (#139030, Christophe Saout)
165
166         * glib/gstrfuncs.c (g_ascii_strtod): Fix problems when a 
167         locale-specific decimal separator directly follows a 
168         number.  (#138424, Nickolay V. Shmyrev)
169
170         * tests/strtod-test.c (main): Add some more testcases.
171
172         * glib/gmain.c (g_main_context_query): Only set time_is_current to 
173         FALSE if context->timeout is not zero.  (#137795, Christian Krause)
174
175 2004-04-21  Matthias Clasen  <mclasen@redhat.com>
176
177         * tests/printf-test.c (main): Comment out a nonessential testcase
178         which fails on HP-UX.  (#136283, Jonas Jonsson)
179
180 2004-04-15  Matthias Clasen  <mclasen@redhat.com>
181
182         * tests/patterntest.c (main): Add tests for the empty pattern.
183
184         * glib/gpattern.c (g_pattern_spec_new): Don't read and write out 
185         of bounds when the pattern is empty.  (#140032, Stanislav Brabec,
186         Stefan Fent)
187
188 2004-04-10  Tor Lillqvist  <tml@iki.fi>
189
190         * glib/gwin32.c (g_win32_getlocale): Add new language and
191         sublanguage codes, from GNU gettext. (#137958)
192         
193         * glib/giowin32.c
194         * glib/gmain.c
195         * glib/gstrfuncs.c
196         * glib/gthread.c: Decorating variable definitions with
197         __declspec(dllexport) causes problems on Cygwin build, and isn't
198         really needed for a native Win32 build with mingw or MSVC, so
199         remove. (#138402, Roger Leigh)
200
201         * glib/libcharset/localcharset.c: Use Win32-specific code also on
202         Cygwin.
203         * tests/uri-test.c: Don't assume that local filenames are in UTF-8
204         on Cygwin, either. (#138412, Roger Leigh)
205
206 2004-04-08  Guntupalli Karunakar  <karunakar@freedomink.org>
207
208         * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
209
210 2004-04-03  Tor Lillqvist  <tml@iki.fi>
211
212         * configure.in: Remove AC_CYGWIN, obsolete. Don't let pthreads be
213         found on Cygwin, they don't work. (#138401, Roger Leigh)
214
215 2004-03-31  Tor Lillqvist  <tml@iki.fi>
216
217         * tests/spawn-test-win32-gui.c: Minor Cygwin fix. (#138405, Roger
218         Leigh)
219
220         * tests/unicode-encoding.c (process): Use UTF-16LE explicitly also
221         on Cygwin. (#138423, Roger Leigh)
222
223 2004-03-30  Adam Weinberger  <adamw@gnome.org>
224
225         * configure.in: Added en_CA to ALL_LINGUAS.
226
227 2004-03-21  Tor Lillqvist  <tml@iki.fi>
228
229         * glib/gutils.c (g_path_get_dirname): Fix Win32 behaviour in some
230         cases where a drive letter is present. For 'a:' or 'a:foo', return
231         'a:.'. This is mostly just for consistency with the behaviour
232         without a drive letter. But very important is to for 'a:\foo' or
233         'a:\', return 'a:\', and not 'a:'. (Ditto for forward slashes
234         instead of backslashes.) (#137316)
235
236         * tests/dirname-test.c (main): More complete testing on Win32. If
237         a test fails, include expected and actual result in error message.
238
239 Fri Mar 19 15:21:09 2004  Owen Taylor  <otaylor@redhat.com>
240
241         * glib/gmain.c: Fix the accidental revert of the
242         fixes from #112222 that happened when the GChildWatch
243         code was added. (Caught by Christian Persch)
244
245 Fri Mar 19 11:07:06 2004  Owen Taylor  <otaylor@redhat.com>
246
247         * tests/atomic-test.c (main): Make computation
248         of "biggest_pointer" vaguely more portable.
249         (#137498, Jonas Jonsson)
250
251 2004-03-16  Tor Lillqvist  <tml@iki.fi>
252
253         * configure.in: Define HAVE_INT64_AND_I64 also in the mingw (gcc
254         on Win32) case, where the 64-bit type is called long long, but the
255         system printf/scanf format modifier for 64-bit integers is still I64.
256
257 2004-03-16  Gareth Owen  <gowen72@yahoo.com>
258
259         * configure.in: Added en_GB to ALL_LINGUAS
260