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