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