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