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