New function to install an alternate default log handler. (#66387, Darin
[platform/upstream/glib.git] / ChangeLog.pre-2-6
1 Sun Sep  5 01:46:11 2004  Matthias Clasen  <maclas@gmx.de>
2
3         * glib/glib.def: 
4         * glib/gmessages.h: 
5         * glib/gmessages.c (g_log_set_default_handler): New
6         function to install an alternate default log 
7         handler.  (#66387, Darin Adler)
8
9 2004-09-03  Tor Lillqvist  <tml@iki.fi>
10
11         * glib/glib.def: Update.
12
13 Wed Sep  1 20:22:39 2004  Matthias Clasen  <maclas@gmx.de>
14
15         * glib/gdate.h:
16         * glib/gdate.c (g_date_get_iso8601_week_of_year): Add
17         a function to calculate the ISO 8601 week number of 
18         a date.  (#92579, Niklas Lundell)
19
20 2004-09-01  Anders Carlsson  <andersca@gnome.org>
21
22         * glib/goption.c: (g_option_context_parse):
23         Set program name before calling the pre-parse hooks.
24         
25 2004-09-01  Anders Carlsson  <andersca@gnome.org>
26
27         * glib/goption.c: (g_option_context_free), (print_help),
28         (g_option_context_parse):
29         Handle option contexts without a main group.
30         
31         * tests/option-test.c: (empty_test2), (main):
32         Add test case for that.
33         
34 2004-08-30  Anders Carlsson  <andersca@gnome.org>
35
36         * glib/goption.c: (g_option_context_parse):
37         Set prgname to <unknown> if argc and argv are NULL.
38         
39         * tests/option-test.c: (empty_test1), (main):
40         Add test case for that.
41         
42 Sun Aug 29 23:58:38 2004  Matthias Clasen  <maclas@gmx.de>
43
44         * glib/ghash.c (g_hash_table_lookup): Point to 
45         g_hash_table_lookup_extended() for differentiation between
46         not-found and value-is-NULL.  (#150960, Morten Welinder)
47
48 2004-08-27  Matthias Clasen  <mclasen@redhat.com>
49
50         Fix #151193, Stepan Kasal:
51         
52         * glib/gfileutils.c (g_file_error_from_errno): 
53         * glib/gfileutils.h (enum GFileError): Add G_FILE_ERROR_NOSYS.
54
55 Fri Aug 27 00:45:41 2004  Matthias Clasen  <maclas@gmx.de>
56
57         * glib/goption.c (g_option_context_parse): Set the program name
58         from argv[0], noticed by Masatake YAMATO.
59
60 2004-08-26  Tor Lillqvist  <tml@iki.fi>
61
62         * tests/testglib.c (main): Test the new XDG basedir functions.
63
64 2004-08-25  Tor Lillqvist  <tml@iki.fi>
65
66         * glib/gwin32.c (g_win32_get_windows_version): New
67         function. Returns the Windows version code like GetVersion(),
68         except that one can pretend to be running on Win9x by setting the
69         G_WIN32_PRETEND_WIN9X environment variable. This is mainly for
70         debugging purposed.
71
72         * glib/gwin32.h: Declare it. Define macros G_WIN32_WINDOWS_IS_NT_BASED 
73         and G_WIN32_HAVE_WIDECHAR_API to test Windows features at run-time.
74
75 2004-08-25  Matthias Clasen  <mclasen@redhat.com>
76
77         * configure.in: Post-release version bump.
78
79         * === Released 2.5.2 ===
80
81 Wed Aug 25 00:25:08 2004  Matthias Clasen  <maclas@gmx.de>
82
83         * NEWS: Update for 2.5.2
84
85 2004-08-25  Tor Lillqvist  <tml@iki.fi>
86
87         Win32 equivalences of the XDG folders
88         
89         * glib/gutils.c (get_special_folder): New function, calls
90         SHGetSpecialFolderLocation() to get path to places like the My
91         Documents folder.
92         (g_get_any_init): Use CSIDL_PROFILE as HOME if not
93         overridden by env vars.
94         (g_get_user_data_dir): Use CSIDL_PERSONAL.
95         (g_get_user_config_dir): Use CSIDL_APPDATA.
96         (g_get_user_cache_dir): Use CSIDL_INTERNET_CACHE. Debatable...
97         (g_get_system_data_dirs): Use CSIDL_COMMON_APPDATA and
98         CSIDL_COMMON_DOCUMENTS.
99         (g_get_system_config_dirs): Use CSIDL_COMMON_APPDATA.
100
101         * configure.in: Add -lole32 to G_LIBS_EXTRA for mingw.
102
103         * glib/glib.def: Add the new functions.
104
105 Mon Aug 23 16:16:35 2004  Manish Singh  <yosh@gimp.org>
106
107         * glib/goption.c (g_option_group_add_entries): remove unused
108         variable.
109
110 Mon Aug 23 01:35:18 2004  Matthias Clasen  <maclas@gmx.de>
111
112         * glib/gutils.c (g_get_user_cache_dir): 
113         * glib/gutils.c (g_get_user_config_dir): 
114         * glib/gutils.c (g_get_user_data_dir): Don't call g_get_home_dir()
115         while holding the g_utils_global lock, simply use g_home_dir. 
116         (#150695, Jody Goldberg)
117
118 2004-08-21  Tor Lillqvist  <tml@iki.fi>
119
120         * glib/giowin32.c (g_io_win32_finalize): Tell select_thread to
121         break out of its loop. Prevents a thread leak. (#147392, Peter
122         Zelezny)
123
124         * glib/gunicollate.c (g_utf8_collate_key): Guard against bogus
125         return value from strxfrm(). For instance Microsoft's strxfrm()
126         returns INT_MAX on errors. (#141124)
127
128 2004-08-19  Tor Lillqvist  <tml@iki.fi>
129
130         * glib/gunicollate.c (g_utf8_collate, g_utf8_collate_key): Correct
131         source and destination charset parameter order in g_convert()
132         call. (#150394, possibly also #141124)
133
134 2004-08-20  Jon K Hellan  <hellan@acm.org>
135
136         * glib/goption.h: Remove trailing commas.
137
138 2004-08-17  Matthias Clasen  <mclasen@redhat.com>
139
140         * configure.in: Check for all four values of the
141         visibility attribute; gcc 2.96 seems to miss 
142         "default".  (#150379, Vincent Noel)
143
144 2004-08-16  Christian Rose  <menthos@menthos.com>
145
146         * configure.in: Added "bs" to ALL_LINGUAS.
147
148 2004-08-11  Ray Strode  <rstrode@redhat.com>
149
150         * docs/reference/glib/glib-sections.txt: 
151         * glib/gutils.[ch] (g_get_user_data_dir),
152         (g_get_user_config_dir), (g_get_user_cache_dir),
153         (g_get_system_data_dirs), (g_get_system_config_dirs): 
154         Add new XDG basedir API (bug 139973).
155
156 2004-08-10  Matthias Clasen  <mclasen@redhat.com>
157
158         * glib/gmacros.h: Remove G_GNUC_INTERNAL from here.
159         * configure.in: Check whether the visibility attribute
160         works and define G_HAVE_GNUC_VISIBILITY and 
161         G_GNUC_INTERNAL in glibconfig.h correspondingly.
162
163 Mon Aug  9 17:37:56 2004  Matthias Clasen  <maclas@gmx.de>
164
165         * glib/gmacros.h (G_GNUC_INTERNAL): Define empty if gcc is too old.
166
167 2004-08-06  Hans Breuer  <hans@breuer.org>
168
169         * glib/makefile.msc.in glib/glib.def : updated
170
171         * glib/gutils.c : avoid 'inconsitent dll linkage' by not
172         defining extern char** environ with msvc
173
174 2004-08-06  Matthias Clasen  <mclasen@redhat.com>
175
176         * m4macros/glib-gettext.m4: Require ngettext.  (#123847,
177         Danilo Segan)
178
179 Thu Aug  5 20:53:00 2004  Ray Strode  <rstrode@redhat.com>
180
181         * glib/gutils.h (g_get_codeset): strdup result so caller
182         doesn't free internally managed memory.
183
184 2004-08-04  Tor Lillqvist  <tml@iki.fi>
185
186         * glib/glib.def: Add glib_check_version.
187
188         * config.h.win32.in: Update to match what configure produces. Add
189         the G_ATOMIC_*. Define G_ATOMIC_I486 when compiling with gcc. Move
190         HAVE_INT64_AND_I64 to where the configure script puts it. Add
191         HAVE_INTTYPES_H_WITH_UINTMAX. Define intmax_t as __int64 for MSVC.
192
193 Tue Aug  3 16:19:44 2004  Matthias Clasen  <maclas@gmx.de>
194
195         * glib/goption.c: Mark user visible strings for translation.
196
197 Tue Aug  3 15:50:55 2004  Matthias Clasen  <maclas@gmx.de>
198
199         * glib/goption.[hc]: Pedantically use g types throughout.
200
201 Tue Aug  3 14:58:20 2004  Matthias Clasen  <maclas@gmx.de>
202
203         * glib/gutils.h: 
204         * glib/gutils.c (glib_check_version): New function to
205         check the version of GLib at runtime.  (#149175, Michael Natterer)
206
207 2004-08-03  Anders Carlsson  <andersca@gnome.org>
208
209         * glib/goption.h:
210         * glib/gtypes.h:
211         Move GTranslateFunc to gtypes.h
212         
213 2004-08-02  Anders Carlsson  <andersca@gnome.org>
214
215         * glib/Makefile.am:
216         * glib/glib.h:
217         * glib/goption.c:
218         * glib/goption.h:
219         * tests/.cvsignore:
220         * tests/Makefile.am:
221         * tests/option-test.c: 
222         Add GOption.
223
224 2004-08-02  Matthias Clasen  <mclasen@redhat.com>
225
226         * glib/gmacros.h: Add a G_GNUC_INTERNAL macro to mark function
227         declarations as internal and avoid PLT indirections for 
228         them.  (#145465, Arjan van de Ven)
229
230         * glib/gunicodeprivate.h: 
231         * glib/gthreadinit.h: 
232         * glib/gmessages.h: 
233         * glib/gdebug.h: 
234         * glib/gconvert.c: Use G_GNUC_INTERNAL for _g_charset_get_aliases(),
235         _g_debug_init(), _g_log_fallback_handler(), _g_mem_thread_init(),
236         _g_messages_thread_init(), _g_convert_thread_init(), 
237         _g_rand_thread_init(), _g_main_thread_init(), _g_atomic_thread_init(),
238         _g_mem_thread_private_init(), _g_messages_thread_private_init(),
239         _g_utf8_normalize_wc() and _g_unichar_combining_class().
240
241         * glib/gatomic.c: Include gthreadinit.h here to see the declaration
242         for _g_atomic_thread_init().
243
244 Sun Aug  1 13:19:18 2004  Manish Singh  <yosh@gimp.org>
245
246         * tests/uri-test.c: move newline printing from run_from_uri_tests()
247         to run_roundtrip_tests().
248
249 2004-08-01 Matthias Clasen  <mclasen@redhat.com>
250
251         * Post-release version bump
252
253         * === Released 2.5.1 ===
254
255 Sat Jul 31 23:17:05 2004  Matthias Clasen  <maclas@gmx.de>
256
257         * NEWS: Updates.
258
259 Sat Jul 31 20:33:07 2004  Matthias Clasen  <maclas@gmx.de>
260
261         * tests/shell-test.c: Include a test involving consecutive
262         backslashes followed by a non-escaped doublequote.
263         
264         * glib/gshell.c (tokenize_command_line): Count consecutive
265         backslashes mod 2 to detect escaped doubleqotes.  (#127306)
266
267 2004-07-30  Matthias Clasen  <mclasen@redhat.com>
268
269         * glib/gconvert.c (g_unescape_uri_string): Don't validate
270         for UTF-8 here.  (#148420, Robert Ć–gren)
271
272         * tests/uri-test.c (run_roundtrip_tests): Add tests for 
273         roundtrip compatibility. Going from filename to uri and 
274         back should always give you the same filename back. 
275
276 2004-07-28  Matthias Clasen  <mclasen@redhat.com>
277
278         * tests/markups/valid-{9,10,11}.gmarkup: 
279         * tests/markups/fail-{37,38,39}.gmarkup: Tests for handling
280         of whitespace inside tags.
281
282         * glib/gmarkup.c (enum GMarkupParseState): Add 
283         STATE_AFTER_ATTRIBUTE_NAME and STATE_AFTER_CLOSE_TAG_NAME.
284         (g_markup_parse_context_parse): Accept whitespace between
285         attribute names, '=' and attribute values and between
286         close tag name and '>'. (#148646, Hiroyuki Ikezoe)
287
288 Tue Jul 27 02:01:31 2004  Matthias Clasen  <maclas@gmx.de>
289
290         * glib/gstrfuncs.c (g_strsplit_set): s/g_strsplit/g_strsplit_set/
291         as well.
292
293 Sat Jul 24 17:50:07 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
294
295         * glib/gstrfuncs.c (g_strsplit_set):
296         s/g_strtokenize/g_strsplit_set/ in docs.
297
298 Fri Jul 23 10:37:50 2004  Matthias Clasen  <maclas@gmx.de>
299
300         * tests/type-test.c (main): Actually test G_MAXSIZE with
301         a gsize variable.
302
303 2004-07-21  Matthias Clasen  <mclasen@redhat.com>
304
305         Fix #132858, Sven Neumann, patch by James Henstridge:
306         
307         * glib-gettextize.in: modify so that mkinstalldirs will 
308         get installed into auxdir.
309
310         * Makefile.am (gettext_SCRIPTS): install mkinstalldirs.
311
312 2004-07-21  Matthias Clasen  <mclasen@redhat.com>
313
314         Fix #147651, reported by Oliver Guntermann:
315
316         * glib/gprintfint.h (_g_vasprintf): Don't wrap vasprintf(),
317         _g_gnulib_vasprintf() in a macro, since they behave 
318         differently wrt. to memory allocation.
319
320         * glib/gprintf.c (g_vasprintf): Instead, differentiate 
321         here between the three cases: system vasprintf(), 
322         _g_gnulib_vasprintf(), no vasprintf().  
323
324 2004-07-20  Crispin Flowerday  <gnome@flowerday.cx>
325
326         * NEWS: Fix a typo in my name
327
328 Tue Jul 20 04:31:40 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
329
330         * configure.in: Bump version number
331
332 Sun Jul 18 19:40:30 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
333
334         * === Released 2.5.0 ===
335
336         * Makefile.am (BUILT_EXTRA_DIST): move gtk-doc.make here.
337
338 Sun Jul 18 01:40:28 2004  Matthias Clasen  <maclas@gmx.de>
339
340         * NEWS: Updates for 2.5.0
341
342 Mon Jul 12 00:02:40 2004  Matthias Clasen  <maclas@gmx.de>
343
344         * glib/gi18n-lib.h: Remove the ENABLE_NLS check here as well.
345
346 2004-07-09  Matthias Clasen  <mclasen@redhat.com>
347
348         * glib/gdir.c (g_dir_open): Convert filename to UTF-8 
349         before using it in the error message.  (#146054, Federico
350         Mena Quintero)
351
352 Thu Jul  8 00:54:32 2004  Matthias Clasen  <maclas@gmx.de>
353
354         * glib/gi18n.h: Remove the ENABLE_NLS check, since GLib can't
355         be built without anyway.  (#135899, Murray Cumming)
356
357 Mon Jul  5 18:50:27 2004  Matthias Clasen  <maclas@gmx.de>
358
359         * glib/gmessages.h (g_debug): Complete the g_log() 
360         family.  (#135730, Sven Herzberg)
361
362 Mon Jul  5 18:42:30 2004  Matthias Clasen  <maclas@gmx.de>
363
364         * glib/gnulib/Makefile.am (INCLUDES): Add top_srcdir to 
365         make srcdir != . work.  (#145166, Kaz Sasayama)
366
367 Sun Jul  4 01:52:18 2004  Matthias Clasen  <maclas@gmx.de>
368
369         * configure.in: Use a small test library instead of
370         libpthread.so for testing RTLD_GLOBAL brokenness.  (#139567,
371         Julio M. Merino Vidal)
372         
373 2004-07-02  Sebastian Wilhelmi  <seppi@seppi.de>
374
375         * glib/gatomic.c: Rename __asm to __asm__ and __volatile to
376         __volatile__ to make the file consistent. Spotted by Benoit
377         Carpentier <gtkool_2kx@yahoo.fr>.
378
379 2004-07-01  John Ehresman  <jpe@wingide.com>
380
381         * glib/giowin32.c (g_io_channel_win32_init, g_io_win32_free)
382         Initialize reset_send & reset_recv fields and don't close
383         sockets unless they were created.  (#145153)
384
385 Fri Jun 11 22:56:46 2004  Matthias Clasen  <maclas@gmx.de>
386
387         * glib/gscanner.c (g_scanner_get_token_ll): Ignore a 
388         missing newline at EOF for single line comments.  
389         (#83674, Sven Neumann)
390
391 Thu Jun 10 23:38:02 2004  Matthias Clasen  <maclas@gmx.de>
392
393         * tests/printf-test.c (TEST): Actually set any_failed on 
394         failure.  (#143552, Philippe Blain)
395
396 2004-06-09  Federico Mena Quintero  <federico@ximian.com>
397
398         * tests/uri-test.c (to_uri_tests): Fix expected results (ha ha)
399         for URIs that *should* have been invalid, or viceversa.
400         (from_uri_tests): Likewise.
401
402 2004-06-07  Federico Mena Quintero  <federico@ximian.com>
403
404         Fixes #140532.
405
406         * glib/gconvert.c (is_asciialphanum): Renamed from
407         is_escalphanum(); ensures that this is an ASCII character.
408         (is_asciiescalpha): Renamed from is_escalpha().
409         (hostname_validate): Use the two functions above.
410         (g_filename_to_uri): Don't convert the filename to UTF-8.
411         (g_filename_from_uri): Don't convert the filename from UTF-8.
412
413 Mon Jun  7 22:25:24 2004  Matthias Clasen  <maclas@gmx.de>
414
415         * tests/run-markup-tests.sh: Default to silence, but support
416         a -v argument to get the old output back. 
417
418 2004-06-06  Tor Lillqvist  <tml@iki.fi>
419
420         * glib/gutils.c (g_get_any_init): Check home for being
421         NULL. (#143812, Ivan Wong)
422
423 Sun Jun  6 15:23:00 2004  Pawan Chitrakr  <pawan@nplinu.org>
424
425         * configure.in: Added "ne" (Nepali) in ALL_LINGUAS
426
427 Fri Jun  4 19:26:47 2004  Manish Singh  <yosh@gimp.org>
428
429         * glib/galloca.h: cpp #directives should always have the "#" in the
430         first column of the the line. Do that for "#pragma alloca". Fixes
431         bug #143744.
432
433 Wed Jun  2 00:57:16 2004  Matthias Clasen  <maclas@gmx.de>
434
435         * glib/gtypes.h: Use higher precision for the mathematical
436         constants.  (#141941, Morten Welinder)
437
438 Tue Jun  1 22:01:40 2004  Matthias Clasen  <maclas@gmx.de>
439
440         * glib/gmarkup.c (advance_char): Fix an off-by-one error 
441         in g_markup_parse_context_parse().  (#142794, Morten Welinder)
442
443 Sun May 16 23:23:29 2004  Matthias Clasen  <maclas@gmx.de>
444
445         Merged from 2.4:
446         
447         * glib/gcompletion.c (g_completion_add_items):
448         (g_completion_remove_items): Remove unnecessary 
449         checks.  (#142559, Morten Welinder)
450
451 2004-05-15  Tor Lillqvist  <tml@iki.fi>
452
453         * glib/gutils.c (g_get_any_init): [Win32] Only believe HOME if it
454         is an absolute path and exists. (#138618)
455
456 2004-05-14  Tor Lillqvist  <tml@iki.fi>
457
458         * glib/gnulib/vasnprintf.c (vasnprintf): Handle empty digit string
459         for precision correctly. (#142400)
460
461         For backward compatibility with the Trio implementation, make "ll"
462         format modifer work on Win32, too. Change into "I64" before
463         passing to the system printf. (#142433)
464
465         * tests/printf-test.c (main): Add tests for the above.
466
467 2004-05-10  Matthias Clasen  <mclasen@redhat.com>
468
469         Merge from 2.4:
470         
471         * glib/gmain.c (block_source, unblock_source): Make these 
472         static.  (#142230, Morten Welinder)
473
474 2004-05-10  Tor Lillqvist  <tml@iki.fi>
475
476         * glib/giowin32.c (g_win32_print_gioflags): Remove two duplicated
477         lines. Thanks to BenoĆ®t Carpentier.
478
479 Sun May  9 02:04:14 2004  Matthias Clasen  <maclas@gmx.de>
480
481         Merge from 2.4:
482         
483         * glib/guniprop.c (g_utf8_casefold): Avoid an unnecessary
484         memleak.  (#141998, Nikolai Weibull)
485
486 Sat May  8 23:02:26 2004  Matthias Clasen  <maclas@gmx.de>
487
488         Merge from 2.4:
489         
490         * glib/gutils.h: Remove vestigial g_get_codeset().
491         * glib/gutils.c (g_get_codeset): Call g_get_charset().
492         (#137703, Owen Taylor)
493
494 2004-05-06  Matthias Clasen  <mclasen@redhat.com>
495
496         * configure.in: Bump version number to 2.5.0.
497
498 Wed May  5 23:35:44 2004  Matthias Clasen  <maclas@gmx.de>
499
500         * glib/gconvert.c (g_filename_from_uri): Quote the file
501         scheme to mark it as untranslatable. String change.  
502         (#133144, Danilo Segan)
503
504 2004-05-03  Pablo Saratxaga  <pablo@mandrakesoft.com>
505
506         * configure.in: Added Walloon (wa) to ALL_LINGUAS
507
508 Sun May  2 03:51:59 2004  Manish Singh  <yosh@gimp.org>
509
510         * glib/gtypes.h: check for __pentium4__ when deciding whether to
511         use bswap for GUINT32_SWAP_LE_BE_IA32(). Fixes bug #141620.
512
513 2004-05-01  Hans Breuer  <hans@breuer.org>
514
515         * glib/gnulib/Makefile.am : added makefile.msc to EXTRA_DIST
516         fixes #141563, Steve Lhomme
517
518 2004-04-30  Matthias Clasen  <mclasen@redhat.com>
519
520         * === Released 2.4.1 ===
521
522         * configure.in: Version 2.4.1, interface age 1. 
523
524         * NEWS: Updates
525         
526 2004-04-25  Tor Lillqvist  <tml@iki.fi>
527
528         * glib/gwin32.c (g_win32_get_package_installation_subdirectory):
529         Plug memory leak. (#140770, John Ehresman)
530
531 2004-04-23  Matthias Clasen  <mclasen@redhat.com>
532
533         * glib/libcharset/localcharset.c (_g_locale_get_charset_aliases): 
534         Reinstate LIBCHARSET_ALIAS_DIR support which got lost at some
535         point.  (#139134, Piotr Klaban)
536
537         * glib/gconvert.c (open_converter): Don't call g_strerror() here, 
538         since it can lead to infinite recursion.  (#139133, Piotr Klaban)
539
540 2004-04-22  Matthias Clasen  <mclasen@redhat.com>
541
542         * tests/testglib.c (main): Trivial warning fix.  (#140345)
543
544         * tests/queue-test.c (main): Add some tests for off-by-one errors.
545
546         * glib/gqueue.c (g_queue_pop_nth_link): Fix an off-by-one 
547         error.  (#139703, Philippe Blain)
548
549         * tests/testglib.c (main): Add testcases for g_message() involving
550         non-printable and unsafe characters.
551
552         * glib/gmessages.c (escape_string): Don't assume that
553         string->str remains unchanged over g_string_insert() 
554         calls.  (#139030, Christophe Saout)
555
556         * glib/gstrfuncs.c (g_ascii_strtod): Fix problems when a 
557         locale-specific decimal separator directly follows a 
558         number.  (#138424, Nickolay V. Shmyrev)
559
560         * tests/strtod-test.c (main): Add some more testcases.
561
562         * glib/gmain.c (g_main_context_query): Only set time_is_current to 
563         FALSE if context->timeout is not zero.  (#137795, Christian Krause)
564
565 2004-04-21  Matthias Clasen  <mclasen@redhat.com>
566
567         * tests/printf-test.c (main): Comment out a nonessential testcase
568         which fails on HP-UX.  (#136283, Jonas Jonsson)
569
570 2004-04-15  Matthias Clasen  <mclasen@redhat.com>
571
572         * tests/patterntest.c (main): Add tests for the empty pattern.
573
574         * glib/gpattern.c (g_pattern_spec_new): Don't read and write out 
575         of bounds when the pattern is empty.  (#140032, Stanislav Brabec,
576         Stefan Fent)
577
578 2004-04-10  Tor Lillqvist  <tml@iki.fi>
579
580         * glib/gwin32.c (g_win32_getlocale): Add new language and
581         sublanguage codes, from GNU gettext. (#137958)
582         
583         * glib/giowin32.c
584         * glib/gmain.c
585         * glib/gstrfuncs.c
586         * glib/gthread.c: Decorating variable definitions with
587         __declspec(dllexport) causes problems on Cygwin build, and isn't
588         really needed for a native Win32 build with mingw or MSVC, so
589         remove. (#138402, Roger Leigh)
590
591         * glib/libcharset/localcharset.c: Use Win32-specific code also on
592         Cygwin.
593         * tests/uri-test.c: Don't assume that local filenames are in UTF-8
594         on Cygwin, either. (#138412, Roger Leigh)
595
596 2004-04-08  Guntupalli Karunakar  <karunakar@freedomink.org>
597
598         * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
599
600 2004-04-03  Tor Lillqvist  <tml@iki.fi>
601
602         * configure.in: Remove AC_CYGWIN, obsolete. Don't let pthreads be
603         found on Cygwin, they don't work. (#138401, Roger Leigh)
604
605 2004-03-31  Tor Lillqvist  <tml@iki.fi>
606
607         * tests/spawn-test-win32-gui.c: Minor Cygwin fix. (#138405, Roger
608         Leigh)
609
610         * tests/unicode-encoding.c (process): Use UTF-16LE explicitly also
611         on Cygwin. (#138423, Roger Leigh)
612
613 2004-03-30  Adam Weinberger  <adamw@gnome.org>
614
615         * configure.in: Added en_CA to ALL_LINGUAS.
616
617 2004-03-21  Tor Lillqvist  <tml@iki.fi>
618
619         * glib/gutils.c (g_path_get_dirname): Fix Win32 behaviour in some
620         cases where a drive letter is present. For 'a:' or 'a:foo', return
621         'a:.'. This is mostly just for consistency with the behaviour
622         without a drive letter. But very important is to for 'a:\foo' or
623         'a:\', return 'a:\', and not 'a:'. (Ditto for forward slashes
624         instead of backslashes.) (#137316)
625
626         * tests/dirname-test.c (main): More complete testing on Win32. If
627         a test fails, include expected and actual result in error message.
628
629 Fri Mar 19 15:21:09 2004  Owen Taylor  <otaylor@redhat.com>
630
631         * glib/gmain.c: Fix the accidental revert of the
632         fixes from #112222 that happened when the GChildWatch
633         code was added. (Caught by Christian Persch)
634
635 Fri Mar 19 11:07:06 2004  Owen Taylor  <otaylor@redhat.com>
636
637         * tests/atomic-test.c (main): Make computation
638         of "biggest_pointer" vaguely more portable.
639         (#137498, Jonas Jonsson)
640
641 2004-03-16  Tor Lillqvist  <tml@iki.fi>
642
643         * configure.in: Define HAVE_INT64_AND_I64 also in the mingw (gcc
644         on Win32) case, where the 64-bit type is called long long, but the
645         system printf/scanf format modifier for 64-bit integers is still I64.
646
647 2004-03-16  Gareth Owen  <gowen72@yahoo.com>
648
649         * configure.in: Added en_GB to ALL_LINGUAS
650