source: trunk/third/glib2/ChangeLog @ 21369

Revision 21369, 16.1 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21368, which included commits to RCS files with non-trunk default branches.
Line 
12004-12-02  Matthias Clasen  <mclasen@redhat.com>
2
3        * === Released 2.4.8 ===
4       
52004-12-01  Matthias Clasen  <mclasen@redhat.com>
6
7        * NEWS: Updates
8
92004-11-30  Matthias Clasen  <mclasen@redhat.com>
10
11        * NEWS: Updates
12
132004-11-30  Tor Lillqvist  <tml@iki.fi>
14
15        * glib/gspawn-win32-helper.c (WinMain): Also check errno to detect
16        true errors from spawn*(). (#157258, reported by Bruce Hochstetler)
17
182004-11-08  Matthias Clasen  <mclasen@redhat.com>
19       
20        * glib/gmain.c: Initialize child_watch_count to 1, so
21        that we don't miss the very first child if it exits
22        before we set up the child watch. In that case we had
23        previously source->count == child_watch_count == 0,
24        causing g_child_watch_check() to skip the waitpid()
25        call.  (#154827, Gustavo Carneiro)
26
27        * glib/gmain.c (g_child_watch_source_init_single)
28        (g_child_watch_source_init_multi_threaded): Use sigaction()
29        instead of signal().  (#136867, Jonas Jonsson, patch by
30        Archana Shah)
31
322004-11-07  Matthias Clasen  <mclasen@redhat.com>
33
34        * glib/gutils.c (g_get_any_init): Work around an bug
35        in Mac OS < 10.3.  (#156446, Dave MacLachlan)
36
372004-10-23  Matthias Clasen  <mclasen@redhat.com>
38
39        * glib/gnulib/g-gnulib.h: Undef libc functions before defining
40        them, since they may also be macros.  (#155177, Andrea Campi)
41
422004-10-08  Matthias Clasen  <mclasen@redhat.com>
43
44        * configure.in: Bump version.
45
46        * === Released 2.4.7 ===
47
482004-10-08  Matthias Clasen  <mclasen@redhat.com>
49
50        * NEWS: Updates.
51
52        * glib/gmain.c (g_child_watch_add_full):
53        * glib/gmain.c (g_child_watch_add): Document that GLib supports only
54        a single callback per pid. (#154828, Gustavo Carneiro)
55
562004-10-06  Matthias Clasen  <mclasen@redhat.com>
57
58        * glib/gfileutils.c: Fix some C99isms.  (#154676, Kjartan Maraas)
59
602004-10-05  Matthias Clasen  <mclasen@redhat.com>
61
62        * NEWS: Updates.
63
642004-09-30  Matthias Clasen  <mclasen@redhat.com>
65
66        * glib/gfileutils.c: Convert filenames to UTF-8 before
67        putting them in GErrors.  (#154078, Morten Welinder)
68
692004-09-22  Tor Lillqvist  <tml@iki.fi>
70
71        * glib/gmessages.c: [Win32] Don't ever open a console
72        window. (Which we used to do if standard output or standard error
73        are invalid, as they are for GUI applications.) These console
74        windows that open up unexpectedly have caused endless amounts of
75        confusion among end-users. (#141102, #151175)
76
77        Don't output the process id on Windows. Only output the program
78        name. If not set with g_set_prgname(), fetch the application
79        executable's name and use that.
80
81Thu Sep 16 18:15:32 2004  Manish Singh  <yosh@gimp.org>
82
83        * glib/gstrfuncs.c (g_strncasecmp): Make it take a guint for number
84        of characters, instead of a gsize. Technically this is incorrect,
85        but this makes it match the prototype, and this is a deprecated
86        function anyway.
87
882004-09-15  Tor Lillqvist  <tml@iki.fi>
89
90        * glib/gwin32.c (g_win32_error_message): Convert message to
91        UTF-8. Technically this breaks API, but the actual use cases in
92        gdk/win32 have assumed it is UTF-8 anyway. Fix
93        documentation. (#152618, Kazuki Iwamoto)
94
952004-09-14  Tor Lillqvist  <tml@iki.fi>
96
97        * glib/gwin32.h: Don't define ftruncate as a macro. Was never a
98        good idea, and it clashes with newest mingw headers, which have a
99        ftruncate implementation as an inline function. Thanks to Dominik R.
100
101        * glib/gwin32.c (g_win32_ftruncate): Simplify implementation, just
102        call _chsize() in the C library.
103
1042004-09-08  Gora Mohanty  <gmohanty@cvs.gnome.org>
105
106        * configure.in: Added 'or' to ALL_LINGUAS.
107 
108Mon Aug 30 00:01:01 2004  Matthias Clasen  <maclas@gmx.de>
109
110        * glib/ghash.c (g_hash_table_lookup): Point to
111        g_hash_table_lookup_extended() for differentiation between
112        not-found and value-is-NULL.  (#150960, Morten Welinder)
113
1142004-08-21  Tor Lillqvist  <tml@iki.fi>
115
116        * glib/giowin32.c (g_io_win32_finalize): Tell select_thread to
117        break out of its loop. Prevents a thread leak. (#147392, Peter
118        Zelezny)
119
120        * glib/gunicollate.c (g_utf8_collate_key): Guard against bogus
121        return value from strxfrm(). For instance Microsoft's strxfrm()
122        returns INT_MAX on errors. (#141124)
123
1242004-08-19  Tor Lillqvist  <tml@iki.fi>
125
126        * glib/gunicollate.c (g_utf8_collate, g_utf8_collate_key): Correct
127        source and destination charset parameter order in g_convert()
128        call. (#150394, possibly also #141124)
129
1302004-08-16  Christian Rose  <menthos@menthos.com>
131
132        * configure.in: Added "bs" to ALL_LINGUAS.
133
1342004-08-13  Matthias Clasen  <clasen@redhat.com>
135
136        * configure.in: Post-release version bump.
137
138        * === Released 2.4.6 ===
139
140Fri Aug 13 01:25:06 2004  Matthias Clasen  <maclas@gmx.de>
141
142        * NEWS: Updates.
143
1442004-08-11  Kjartan Maraas  <kmaraas@gnome.org>
145
146        * configure.in: Added nb to ALL_LINGUAS
147
148Thu Aug 5 20:53:00 2004 Ray Strode <rstrode@redhat.com>
149       
150        * glib/gutils.h (g_get_codeset): strdup result so caller
151        doesn't free internally managed memory.
152
153Sat Jul 31 20:33:07 2004  Matthias Clasen  <maclas@gmx.de>
154
155        * tests/shell-test.c: Include a test involving consecutive
156        backslashes followed by a non-escaped doublequote.
157       
158        * glib/gshell.c (tokenize_command_line): Count consecutive
159        backslashes mod 2 to detect escaped doubleqotes.  (#127306)
160
1612004-07-30  Matthias Clasen  <mclasen@redhat.com>
162
163        * configure.in: Bump version.
164
165        * === Released 2.4.5 ===
166
167        * NEWS: Updates
168
1692004-07-30  Matthias Clasen  <mclasen@redhat.com>
170
171        * glib/gconvert.c (g_unescape_uri_string): Don't validate
172        for UTF-8 here.  (#148420, Robert Ögren)
173
174        * tests/uri-test.c (run_roundtrip_tests): Add tests for
175        roundtrip compatibility. Going from filename to uri and
176        back should always give you the same filename back.
177
1782004-07-28  Matthias Clasen  <mclasen@redhat.com>
179
180        * tests/markups/valid-{9,10,11}.gmarkup:
181        * tests/markups/fail-{37,38,39}.gmarkup: Tests for handling
182        of whitespace inside tags.
183
184        * glib/gmarkup.c (enum GMarkupParseState): Add
185        STATE_AFTER_ATTRIBUTE_NAME and STATE_AFTER_CLOSE_TAG_NAME.
186        (g_markup_parse_context_parse): Accept whitespace between
187        attribute names, '=' and attribute values and between
188        close tag name and '>'. (#148646, Hiroyuki Ikezoe)
189
190Sat Jul 24 17:50:07 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
191
192        * glib/gstrfuncs.c (g_strsplit_set):
193        s/g_strtokenize/g_strsplit_set/ in docs.
194
195Fri Jul 23 10:40:43 2004  Matthias Clasen  <maclas@gmx.de>
196
197        * tests/type-test.c (main): Actually test G_MAXSIZE with a
198        gsize variable.
199
200Thu Jul  8 00:51:30 2004  Matthias Clasen  <maclas@gmx.de>
201
202        * glib/gi18n.h: Remove the ENABLE_NLS check, since GLib can't
203        be built without anyway.  (#135899, Murray Cumming)
204
2052004-07-21  Matthias Clasen  <mclasen@redhat.com>
206
207        Fix #132858, Sven Neumann, patch by James Henstridge:
208       
209        * glib-gettextize.in: modify so that mkinstalldirs will
210        get installed into auxdir.
211
212        * Makefile.am (gettext_SCRIPTS): install mkinstalldirs.
213
2142004-07-21  Matthias Clasen  <mclasen@redhat.com>
215
216        Fix #147651, reported by Oliver Guntermann:
217
218        * glib/gprintfint.h (_g_vasprintf): Don't wrap vasprintf(),
219        _g_gnulib_vasprintf() in a macro, since they behave
220        differently wrt. to memory allocation.
221
222        * glib/gprintf.c (g_vasprintf): Instead, differentiate
223        here between the three cases: system vasprintf(),
224        _g_gnulib_vasprintf(), no vasprintf(). 
225
2262004-07-09  Matthias Clasen  <mclasen@redhat.com>
227
228        * configure.in: Bump version.
229
2302004-07-09  Matthias Clasen  <mclasen@redhat.com>
231
232        * === Released 2.4.4 ===
233
234        * configure.in: Sync version with GTK+ again.
235
236        * NEWS: Updates
237
2382004-07-09  Matthias Clasen  <mclasen@redhat.com>
239
240        * glib/gdir.c (g_dir_open): Convert filename to UTF-8
241        before using it in the error message.  (#146054, Federico
242        Mena Quintero)
243
244Mon Jul  5 18:42:30 2004  Matthias Clasen  <maclas@gmx.de>
245
246        * glib/gnulib/Makefile.am (INCLUDES): Add top_srcdir to
247        make srcdir != . work.  (#145166, Kaz Sasayama)
248
249Sun Jul  4 01:52:18 2004  Matthias Clasen  <maclas@gmx.de>
250
251        * configure.in: Use a small test library instead of
252        libpthread.so for testing RTLD_GLOBAL brokenness.  (#139567,
253        Julio M. Merino Vidal)
254
2552004-07-01  John Ehresman  <jpe@wingide.com>
256
257        * glib/giowin32.c (g_io_channel_win32_init, g_io_win32_free)
258        Initialize reset_send & reset_recv fields and don't close
259        sockets unless they were created.  (#145153)
260
261Fri Jun 11 22:56:46 2004  Matthias Clasen  <maclas@gmx.de>
262
263        * glib/gscanner.c (g_scanner_get_token_ll): Ignore a
264        missing newline at EOF for single line comments. 
265        (#83674, Sven Neumann)
266
267Thu Jun 10 23:38:02 2004  Matthias Clasen  <maclas@gmx.de>
268
269        * tests/printf-test.c (TEST): Actually set any_failed on
270        failure.  (#143552, Philippe Blain)
271
2722004-06-09  Federico Mena Quintero  <federico@ximian.com>
273
274        Merge from HEAD:
275
276        * tests/uri-test.c (to_uri_tests): Fix expected results (ha ha)
277        for URIs that *should* have been invalid, or viceversa.
278        (from_uri_tests): Likewise.
279
2802004-06-08  Pawan Chitrakar  <pawan@nplinux.org>
281
282        * configure.in:Added "ne" (Nepali) in ALL_LINGUAS
283
2842004-06-07  Federico Mena Quintero  <federico@ximian.com>
285
286        * README.in: Added a note about the changes below.
287
288        Merge from HEAD:
289
290        Fixes #140532.
291
292        * glib/gconvert.c (is_asciialphanum): Renamed from
293        is_escalphanum(); ensures that this is an ASCII character.
294        (is_asciiescalpha): Renamed from is_escalpha().
295        (hostname_validate): Use the two functions above.
296        (g_filename_to_uri): Don't convert the filename to UTF-8.
297        (g_filename_from_uri): Don't convert the filename from UTF-8.
298
299Mon Jun  7 22:25:24 2004  Matthias Clasen  <maclas@gmx.de>
300
301        * tests/run-markup-tests.sh: Default to silence, but support
302        a -v argument to get the old output back.
303
3042004-06-06  Tor Lillqvist  <tml@iki.fi>
305
306        * glib/gutils.c (g_get_any_init): Check home for being
307        NULL. (#143812, Ivan Wong)
308
3092004-06-04  Manish Singh  <yosh@gimp.org>
310
311        * glib/galloca.h: cpp #directives should always have the "#" in the
312        first column of the the line. Do that for "#pragma alloca". Fixes
313        bug #143744.
314 
3152004-06-04  Matthias Clasen  <mclasen@redhat.com>
316
317        * configure.in: Bump version to 2.4.3
318
319        * === Released 2.4.2 ===
320
321        * NEWS: Updates
322
323Tue Jun  1 21:56:31 2004  Matthias Clasen  <maclas@gmx.de>
324
325        * glib/gmarkup.c (advance_char): Fix an off-by-one error
326        in g_markup_parse_context_parse().  (#142794, Morten Welinder)
327
328Sun May 16 23:20:33 2004  Matthias Clasen  <maclas@gmx.de>
329
330        * glib/gcompletion.c (g_completion_add_items):
331        (g_completion_remove_items): Remove unnecessary
332        checks.  (#142559, Morten Welinder)
333
3342004-05-15  Tor Lillqvist  <tml@iki.fi>
335
336        * glib/gutils.c (g_get_any_init): [Win32] Only believe HOME if it
337        is an absolute path and exists. (#138618)
338
3392004-05-14  Tor Lillqvist  <tml@iki.fi>
340
341        * glib/gnulib/vasnprintf.c (vasnprintf): Handle empty digit string
342        for precision correctly. (#142400)
343
344        For backward compatibility with the Trio implementation, make "ll"
345        format modifer work on Win32, too. Change into "I64" before
346        passing to the system printf. (#142433)
347
348        * tests/printf-test.c (main): Add tests for the above.
349
3502004-05-10  Matthias Clasen  <mclasen@redhat.com>
351
352        * glib/gmain.c (block_source, unblock_source): Make these
353        static.  (#142230, Morten Welinder)
354
3552004-05-10  Tor Lillqvist  <tml@iki.fi>
356
357        * glib/giowin32.c (g_win32_print_gioflags): Remove two duplicated
358        lines. Thanks to Benoît Carpentier.
359
360Sun May  9 02:04:14 2004  Matthias Clasen  <maclas@gmx.de>
361
362        * glib/guniprop.c (g_utf8_casefold): Avoid an unnecessary
363        memleak.  (#141998, Nikolai Weibull)
364
365Sat May  8 23:02:26 2004  Matthias Clasen  <maclas@gmx.de>
366
367        * glib/gutils.h: Remove vestigial g_get_codeset().
368        * glib/gutils.c (g_get_codeset): Call g_get_charset().
369        (#137703, Owen Taylor)
370
3712004-05-06  Matthias Clasen  <mclasen@redhat.com>
372
373        * configure.in: Bump version number to 2.4.2.
374
3752004-05-03  Pablo Saratxaga  <pablo@mandrakesoft.com>
376
377        * configure.in: Added Walloon (wa) to ALL_LINGUAS
378
379Sun May  2 03:51:59 2004  Manish Singh  <yosh@gimp.org>
380
381        * glib/gtypes.h: check for __pentium4__ when deciding whether to
382        use bswap for GUINT32_SWAP_LE_BE_IA32(). Fixes bug #141620.
383
3842004-05-01  Hans Breuer  <hans@breuer.org>
385
386        * glib/gnulib/Makefile.am : added makefile.msc to EXTRA_DIST
387        fixes #141563, Steve Lhomme
388
3892004-04-30  Matthias Clasen  <mclasen@redhat.com>
390
391        * === Released 2.4.1 ===
392
393        * configure.in: Version 2.4.1, interface age 1.
394
395        * NEWS: Updates
396       
3972004-04-25  Tor Lillqvist  <tml@iki.fi>
398
399        * glib/gwin32.c (g_win32_get_package_installation_subdirectory):
400        Plug memory leak. (#140770, John Ehresman)
401
4022004-04-23  Matthias Clasen  <mclasen@redhat.com>
403
404        * glib/libcharset/localcharset.c (_g_locale_get_charset_aliases):
405        Reinstate LIBCHARSET_ALIAS_DIR support which got lost at some
406        point.  (#139134, Piotr Klaban)
407
408        * glib/gconvert.c (open_converter): Don't call g_strerror() here,
409        since it can lead to infinite recursion.  (#139133, Piotr Klaban)
410
4112004-04-22  Matthias Clasen  <mclasen@redhat.com>
412
413        * tests/testglib.c (main): Trivial warning fix.  (#140345)
414
415        * tests/queue-test.c (main): Add some tests for off-by-one errors.
416
417        * glib/gqueue.c (g_queue_pop_nth_link): Fix an off-by-one
418        error.  (#139703, Philippe Blain)
419
420        * tests/testglib.c (main): Add testcases for g_message() involving
421        non-printable and unsafe characters.
422
423        * glib/gmessages.c (escape_string): Don't assume that
424        string->str remains unchanged over g_string_insert()
425        calls.  (#139030, Christophe Saout)
426
427        * glib/gstrfuncs.c (g_ascii_strtod): Fix problems when a
428        locale-specific decimal separator directly follows a
429        number.  (#138424, Nickolay V. Shmyrev)
430
431        * tests/strtod-test.c (main): Add some more testcases.
432
433        * glib/gmain.c (g_main_context_query): Only set time_is_current to
434        FALSE if context->timeout is not zero.  (#137795, Christian Krause)
435
4362004-04-21  Matthias Clasen  <mclasen@redhat.com>
437
438        * tests/printf-test.c (main): Comment out a nonessential testcase
439        which fails on HP-UX.  (#136283, Jonas Jonsson)
440
4412004-04-15  Matthias Clasen  <mclasen@redhat.com>
442
443        * tests/patterntest.c (main): Add tests for the empty pattern.
444
445        * glib/gpattern.c (g_pattern_spec_new): Don't read and write out
446        of bounds when the pattern is empty.  (#140032, Stanislav Brabec,
447        Stefan Fent)
448
4492004-04-10  Tor Lillqvist  <tml@iki.fi>
450
451        * glib/gwin32.c (g_win32_getlocale): Add new language and
452        sublanguage codes, from GNU gettext. (#137958)
453       
454        * glib/giowin32.c
455        * glib/gmain.c
456        * glib/gstrfuncs.c
457        * glib/gthread.c: Decorating variable definitions with
458        __declspec(dllexport) causes problems on Cygwin build, and isn't
459        really needed for a native Win32 build with mingw or MSVC, so
460        remove. (#138402, Roger Leigh)
461
462        * glib/libcharset/localcharset.c: Use Win32-specific code also on
463        Cygwin.
464        * tests/uri-test.c: Don't assume that local filenames are in UTF-8
465        on Cygwin, either. (#138412, Roger Leigh)
466
4672004-04-08  Guntupalli Karunakar  <karunakar@freedomink.org>
468
469        * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
470
4712004-04-03  Tor Lillqvist  <tml@iki.fi>
472
473        * configure.in: Remove AC_CYGWIN, obsolete. Don't let pthreads be
474        found on Cygwin, they don't work. (#138401, Roger Leigh)
475
4762004-03-31  Tor Lillqvist  <tml@iki.fi>
477
478        * tests/spawn-test-win32-gui.c: Minor Cygwin fix. (#138405, Roger
479        Leigh)
480
481        * tests/unicode-encoding.c (process): Use UTF-16LE explicitly also
482        on Cygwin. (#138423, Roger Leigh)
483
4842004-03-30  Adam Weinberger  <adamw@gnome.org>
485
486        * configure.in: Added en_CA to ALL_LINGUAS.
487
4882004-03-21  Tor Lillqvist  <tml@iki.fi>
489
490        * glib/gutils.c (g_path_get_dirname): Fix Win32 behaviour in some
491        cases where a drive letter is present. For 'a:' or 'a:foo', return
492        'a:.'. This is mostly just for consistency with the behaviour
493        without a drive letter. But very important is to for 'a:\foo' or
494        'a:\', return 'a:\', and not 'a:'. (Ditto for forward slashes
495        instead of backslashes.) (#137316)
496
497        * tests/dirname-test.c (main): More complete testing on Win32. If
498        a test fails, include expected and actual result in error message.
499
500Fri Mar 19 15:21:09 2004  Owen Taylor  <otaylor@redhat.com>
501
502        * glib/gmain.c: Fix the accidental revert of the
503        fixes from #112222 that happened when the GChildWatch
504        code was added. (Caught by Christian Persch)
505
506Fri Mar 19 11:07:06 2004  Owen Taylor  <otaylor@redhat.com>
507
508        * tests/atomic-test.c (main): Make computation
509        of "biggest_pointer" vaguely more portable.
510        (#137498, Jonas Jonsson)
511
5122004-03-16  Tor Lillqvist  <tml@iki.fi>
513
514        * configure.in: Define HAVE_INT64_AND_I64 also in the mingw (gcc
515        on Win32) case, where the 64-bit type is called long long, but the
516        system printf/scanf format modifier for 64-bit integers is still I64.
517
5182004-03-16  Gareth Owen  <gowen72@yahoo.com>
519
520        * configure.in: Added en_GB to ALL_LINGUAS
521
Note: See TracBrowser for help on using the repository browser.