=== Released 2.2.2 ===
[glib.git] / ChangeLog
blob950518937e2895c2ab44cf2979e0617c4c5970eb
1 Sun Jun  8 12:42:39 2003  Owen Taylor  <otaylor@redhat.com>
3         * === Released 2.2.2 ===
5 Sun Jun  8 11:57:16 2003  Owen Taylor  <otaylor@redhat.com>
7         * NEWS: Updated.
9         * configure.in: Update version to 2.2.2, interface age 2.
11 Fri Jun  6 10:24:23 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
13         * m4macros/glib-gettext.m4: Test for Solaris native gettext 
14         in libc, seeing if it supports GNU catalog format (#85217).
15         
16 Thu Jun  5 23:40:31 2003  Owen Taylor  <otaylor@redhat.com>
18         * glib/gmain.c: When dispatching a source that is
19         !CAN_RECURSE, temporarily remove any file descriptors
20         that that source has registered from the main loop, to keep
21         recursive main loops from busy-waiting if input
22         becomes available on one of those file descriptors.
23         (#112222, Christian Krause)
25         * glib/gmain.c (g_source_set_priority): Properly
26         remove the source from the context's source list
27         and reinsert it sorted, rather than simply setting
28         source->next/prev to NULL! (#114274)
30 2003-06-05  Tor Lillqvist  <tml@iki.fi>
32         * glib/giochannel.h
33         * glib/gmain.h: Remove bogus (Win32-only) declaration of
34         g_main_poll_win32_msg_add(). No such function exists.
36         * glib/gmain.c (g_poll) [Win32]: Use g_win32_error_message() for
37         better warning messages.
39 2003-06-04  Noah Levitt  <nlevitt@columbia.edu>
41         * glib/gunidecomp.c (combine): Fix typo (#114375). Also, make the
42         function static.
44 2003-06-04  Kenneth Rohde Christiansen  <kenneth@gnu.org>
46         * configure.in: Added "li" (Limburgish) to ALL_LINGUAS.
48 2003-06-03  Sebastian Wilhelmi  <seppi@seppi.de>
50         * configure.in: Test for pthread_setschedparam. If not existant,
51         disable priorities. (#104718)
53 Mon Jun  2 14:18:21 2003  Owen Taylor  <otaylor@redhat.com>
55         Patch from Jeffrey Stedfast <fejj@ximian.com> (#104825)
57         * glib/gspawn.c (read_data): Don't read() into '&buf', while this
58         is technically okay - it is clearer as just 'buf'.
59         (write_all): New helper function that handles write() interrupts.
60         (write_err_and_exit): Use write_all() instead of write().
61         (fork_exec_with_pipes): Same here.
62         
63 Sun Jun  1 09:42:36 2003  Owen Taylor  <otaylor@redhat.com>
65         * glib/giochannel.c (g_io_error_get_from_g_error): Put 
66         the g_return_val_if_fail() in the right place.
68 Fri May 31 1:17:45 2003  Ray Strode  <halfline@hawaii.rr.com>
70         * glib/giochannel.c (g_io_channel_error_from_errno):
71         Fix typo: should be G_IO_ERROR_UNKNOWN not
72         G_ERROR_ERROR_UNKNOWN
74 Fri May 30 19:23:47 2003  Owen Taylor  <otaylor@redhat.com>
76         * glib/gstrfuncs.c (g_ascii_strncasecmp)
77         * glib/gstrfuncs.c (g_ascii_strcasecmp): Use TOLOWER()
78         macro instead of g_ascii_tolower() (#107138)
80 Fri May 30 19:09:25 2003  Owen Taylor  <otaylor@redhat.com>
82         * m4macros/glib-gettext.m4: Backport better handling
83         of ALL_LINGUAS from gettext.m4. (#103808, Andras Salamon)
85 Fri May 30 18:46:05 2003  Owen Taylor  <otaylor@redhat.com>
87         * m4macros/glib-gettext.m4: expand $exec_prefix as
88         well as $prefix. (#107290, reported by Morten Welinder,
89         patch from Raja Harinath)
91 Fri May 30 17:24:23 2003  Owen Taylor  <otaylor@redhat.com>
93         * glib-gettextize.in: Quote $srcdir to handle $srcdir
94         with spaces (#107850, Evan Martin)
96 Fri May 30 16:48:26 2003  Owen Taylor  <otaylor@redhat.com>
98         * glib/giochannel.c (g_io_channel_error_from_errno):
99         Silently return G_IO_CHANNEL_ERROR_FAILED for EINTR,
100         since close() can return EINTR. (#11842, Balazs Scheidler)
102 Fri May 30 15:58:33 2003  Owen Taylor  <otaylor@redhat.com>
104         * configure.in: Rework debug_default handling to work
105         with autoconf-2.5x. (#106348)
107 Fri May 30 15:51:43 2003  Owen Taylor  <otaylor@redhat.com>
109         * glib/giochannel.c (g_io_error_get_from_g_error): 
110         Do a g_return_val_if_fail() on err == NULL to be a
111         bit more robuts on buggy IO channel implementations.
112         (#113396, Dan Winship)
114 2003-05-30  Telsa Gwynne  <hobbit@aloss.ukuu.org.uk>
116         * configure.in: Added "cy" (Welsh) to configure.in
118 Tue May 27 19:56:35 2003  Owen Taylor  <otaylor@redhat.com>
120         * glib/gmacros.h: __PRETTY_FUNCTION__ was made a non-token
121         before gcc-3.0.0 for C++. (Fix from Martin Kretzschmar,
122         #113797)
124 2003-05-28  Matthias Clasen  <maclas@gmx.de>
126         * tests/patterntest.c: Remain silent when sucessful. 
128         * tests/Makefile.am: Add patterntest to make check.  (#113143,
129         Zach Frey)
131 2003-05-27  Matthias Clasen  <maclas@gmx.de>
133         * glib/gstrfuncs.c (g_strdup): Use memcpy instead of
134         strcpy. (#106988, Christian Biere)
136 2003-05-23  Noah Levitt  <nlevitt@columbia.edu>
138         * glib/gutf8.c: Fix typo in UNICODE_VALID (related to #107427).
140 2003-05-22  Noah Levitt  <nlevitt@columbia.edu>
142         * glib/guniprop.c: Update g_unichar_iswide to Unicode 4.0 (#113404).
144 2003-05-21  Noah Levitt  <nlevitt@columbia.edu>
146         * glib/guniprop.c: Fix obscure typo in case conversion routine
147         (#113469).
149 Tue May 20 14:17:20 2003  Manish Singh  <yosh@gimp.org>
151         * configure.in: wrap 64-bit MIN/MAX limit constants in
152         G_GINT64_CONSTANT. Fixes bug #108699.
154 2003-05-19  Noah Levitt  <nlevitt@columbia.edu>
156         * glib/gunibreak.c: Fix cut-and-pasto: g_unichar_break_type should
157         return G_UNICODE_BREAK_UNKNOWN if the character is greater than
158         G_UNICODE_LAST_CHAR.
160 2003-05-19  Noah Levitt  <nlevitt@columbia.edu>
162         * glib/glist.c: Remove unused function g_list_sort2 (bug #113203).
164 2003-05-19  Noah Levitt  <nlevitt@columbia.edu>
166         * glib/gunidecomp.c: Fix off-by-one error in
167         g_unicode_canonical_ordering (bug #113260).
169 2003-05-05  Matthias Clasen  <maclas@gmx.de>
171         * glib/gstrfuncs.c (g_ascii_dtostr): 
172         (g_ascii_formatd): 
173         (g_ascii_strtod): Some doc fixes.  (#111805)
175 2003-05-05  Christian Rose  <menthos@menthos.com>
177         * configure.in: Added sr and sr@Latn to ALL_LINGUAS.
179 2003-05-01  Havoc Pennington  <hp@pobox.com>
181         * glib/gmarkup.c (advance_char): for non-nul-terminated strings,
182         this would read one past the end of the string. valgrind never 
183         showed this up because most people use g_file_get_contents()
184         which leaves a nul termination which is initialized.
186 Thu Apr 24 19:12:05 2003  Owen Taylor  <otaylor@redhat.com>
188         * autogen.sh (have_libtool): Accept libtool-1.5. (#111483)
190 Mon Apr  7 13:40:28 2003  Owen Taylor  <otaylor@redhat.com>
192         * glib/gmain.c (g_main_loop_run): When waiting for
193         the main loop to be freed up, wait on either
194         !loop->is_running or got_ownership, not both.
195         (Caused gtk_dialog_run() not to work in other
196         threads, reported by Jean-Yves Lefort)
198 2003-04-07  Matthias Clasen  <maclas@gmx.de>
200         * glib/gutf8.c (g_utf8_strlen): Warn if p == NULL && max != 0.
201         (#110087) 
203 2003-03-30  Matthias Clasen  <maclas@gmx.de>
205         * glib/gstring.c (g_string_new): Optimize the common cases 
206         (init == NULL or init == "") a bit.
207         * glib/gmarkup.c, glib/gmessages.c, glib/gscanner.c,
208         glib/gshell.c, glib/gspawn-win32-helper.c, glib/gspawn-win32.c,
209         glib/gspawn.c, gobject/gvaluetransform.c: replace uses of 
210         g_string_new ("") by g_string_new (NULL).  (#106973, Morten Welinder)
212         * glib/gutf8.c (UNICODE_VALID): Update to Unicode 3.1 and optimize
213         a bit.  (#107427, Noah Levitt)
215         * glib/libcharset/config.charset: Add cp1251 support for Solaris.
216         (#104738, Hidetoshi Tajima)
218         * glib/gconvert.c (UnsafeCharacterSet): Get rid of
219         UNSAFE_DOS_PATH.
220         (acceptable): Align with RFC2396.  (#59653)
222         * tests/uri-test.c: Adjust to the changes above.
224 2003-03-26  Christian Rose  <menthos@menthos.com>
226         * configure.in: Added "yi" to ALL_LINGUAS.
228 2003-03-20  Guntupalli Karunakar  <karunakar@freedomink.org>
230         * configure.in: Added "ml" for Malayalam in ALL_LINGUAS
232 2003-03-19  Matthias Clasen  <maclas@gmx.de>
234         * glib/giochannel.c (g_io_channel_read_to_end): Fix docs.
236 2003-03-06  Matthias Clasen  <maclas@gmx.de>
238         * glib/gmain.c (g_main_context_find_source_by_id): 
239         (g_main_context_find_source_by_funcs_user_data): Fix FALSE/NULL
240         confusion.  (#107646, Morten Welinder)
242 2003-02-06  Matthias Clasen  <maclas@gmx.de>
244         * glib/gmessages.h: 
245         * glib/gmem.h: 
246         * glib/ghash.h: 
247         * glib/gasyncqueue.h: 
248         * glib/garray.h: 
249         * glib/ghook.h: 
250         * glib/gtypes.h: Fix a bunch of typos in header comments.
251         (#102422, Morten Welinder)
253 2003-03-05  James Henstridge  <james@daa.com.au>
255         * po/Makefile.in.in: merge changes from trunk, to allow "make
256         distcheck" to pass with newer automakes.  This helps packages
257         using glib-gettextize that want to upgrade to automake > 1.4.
259 2003-02-25  Tor Lillqvist  <tml@iki.fi>
261         * glib/glib.def: Add a couple of missing entries, thanks to Cedric
262         Gustin.
264 2003-02-18  Sebastian Wilhelmi  <seppi@seppi.de>
266         * configure.in: Make glib_thread_test not unnecessarily convert
267         between int and void*. (#106278). Let main return int.
269         * configure.in: Add an argument to specify the default thread
270         attribute to glib_thread_test. Disappeared somewhere between 2.0
271         and 2.2.
273 2003-02-12  Sebastian Wilhelmi  <seppi@seppi.de>
275         * configure.in: Make GLib recognize Tru64Unix thread system. (#103020)
277 2003-02-11  Tor Lillqvist  <tml@iki.fi>
279         * Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2.
281         * glib-zip.in: Include also the gtk-doc/html documentation in the
282         developer package.
284         * README.win32: Updates.
286 2003-02-11  Sebastian Wilhelmi  <seppi@seppi.de>
288         * AUTHORS: Changed my e-mail address.
289         * glib/grand.c: Removed my e-mail address.
291 2003-02-10  Mohammad DAMT  <mdamt@bisnisweb.com>
293         * po/id.po: Added Indonesian translation
294         * configure.in: Added "id" to ALL_LINGUAS
296 2003-02-04  Tor Lillqvist  <tml@iki.fi>
298         * glib/giowin32.c (g_io_channel_unix_new): Fix typo: Should be
299         SOCKET_ERROR, not SO_ERROR. Noticed by Daniel Kaufmann.
301 Thu Jan 30 16:45:13 2003  Owen Taylor  <otaylor@redhat.com>
303         * Makefile.am: Remove references to glib.spec.
304         (#102231)
306         * configure.in: Don't generate glib.spec.
308 2003-01-29  Abel Cheung  <maddog@linux.org.hk>
310         * configure.in: Added fa, he, it, lv, mk to ALL_LINGUAS
312 Tue Jan 28 17:00:03 2003  Owen Taylor  <otaylor@redhat.com>
314         * === Released 2.2.1 ===
316         * configure.in: Version 2.2.1, interface age 1.
318         * NEWS: Updated.
320 Tue Jan 28 16:08:56 2003  Owen Taylor  <otaylor@redhat.com>
322         * m4macros/glib-gettext.m4: If msgfmt isn't found,
323         unset gt_cv_have_gettext. (#102552, Tim Mooney)
325 Tue Jan 28 15:18:24 2003  Owen Taylor  <otaylor@redhat.com>
327         * autogen.sh (have_automake): Fix version in complaint
328         message about automake. (#104366, Rich Burridge)
330 2003-01-26  Tor Lillqvist  <tml@iki.fi>
332         * glib/gspawn.c (g_spawn_async_with_pipes): Fix my typo in doc
333         comment. (#104467)
335 2003-01-24  Daniel Yacob <locales@geez.org>
337         * configure.in: Added am to ALL_LINGUAS.
339 2003-01-23  Pablo Saratxaga  <pablo@mandrakesoft.com>
341         * configure.in: Added Bengali (bn) to ALL_LINGUAS
343 2003-01-22  Tor Lillqvist  <tml@iki.fi>
345         Fix for bug #104014, reported by Alex Shaduri:
346         
347         * glib/gspawn-win32.c (protect_argv): New function. Add
348         double-quotes around argv elements that need it, and escape
349         embedded double-quotes with backslash.
350         (do_spawn_with_pipes) Call protect_argv().
352         * glib/gspawn-win32-helper.c (WinMain): Call protect_argv().
354         * glib/gspawn.c (g_spawn_async_with_pipes): Document argument
355         vector vs. command line details on Win32.
356         (g_spawn_command_line_sync): Improve documentation about
357         backslashes in the command line on Windows.
359 2003-01-21  Christian Rose  <menthos@menthos.com>
361         * configure.in: Added "mn" to ALL_LINGUAS.
363 2003-01-12  Tor Lillqvist  <tml@iki.fi>
365         * glib/glib.def: Add some missing entries. Thanks to Kenichi SUTO.
367 2003-01-05  Tor Lillqvist  <tml@iki.fi>
369         * README.win32: Updates.
371         * configure.in: Don't use -lm in TRIO_LIBS on Windows, with no
372         libm. (Mingw has a dummy libm.a, but the .pc file should be
373         useable by MSVC users, too.)
375 2003-01-04  Tor Lillqvist  <tml@iki.fi>
377         * Makefile.am (BUILT_EXTRA_DIST): Don't distribute glib-zip.
379         * {glib,gmodule,gobject,gthread}/Makefile.am:
380         [Win32] Install also the .def files, to help users generate
381         import libraries for other compilers. Uninstall, too.
383         * glib-zip.in: Include .def files from above.
385         * glib/giowin32.c (g_io_win32_fd_get_flags_internal): Don't claim
386         broken pipes are unreadable. (Well, they are, but read() handles
387         it, and treats it like EOF.)
389 Thu Jan  2 16:19:15 2003  Manish Singh  <yosh@gimp.org>
391         * configure.in: use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for
392         tests for inline keywords. Fixes #101976.
394 2003-01-02  Tor Lillqvist  <tml@iki.fi>
396         * glib/gwin32.h: Correct the comment telling what headers have
397         the declarations of some POSIXish functions.
399         * glib/giowin32.c (g_io_win32_fd_get_flags_internal): Fix braino:
400         The checks for readability/writeability were backwards.
402         * glib/gmessages.c (ensure_stderr_valid): New function, parallel
403         to ensure_stdout_valid(). #defined as empty on Unix. Move the
404         alloc_console_called static flag inside these two functions.
405         (ensure_stdout_valid, ensure_stderr_valid): Check the C stdout and
406         stderr streams for validity, instead of what GetStdHandle() returns.
407         (mklevel_prefix): Do use either stderr or stdout on Windows,
408         too. Otherwise g_warning() messages (that are just warnings, by
409         definition) will get mixed with proper stdout output. Noticed in
410         GIMP's gimpconfig-dump.
411         (strdup_convert, mklevel_prefix, g_printerr): Call
412         ensure_stderr_valid() before trying to use stderr.
413         (g_logv): [Win32] Convert message to current codepage before
414         display with MessageBox().
416 2002-12-28  Tõivo Leedjärv  <toivo@linux.ee>
418         * configure.in: Added et to ALL_LINGUAS.