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