Patch from Jeffrey Stedfast <fejj@ximian.com> (#104825)
[glib.git] / ChangeLog.pre-2-12
blob8d823e87c76c8e0ede111a48fd99dfc3dc005510
1 Mon Jun  2 14:18:21 2003  Owen Taylor  <otaylor@redhat.com>
3         Patch from Jeffrey Stedfast <fejj@ximian.com> (#104825)
4  
5         * glib/gspawn.c (read_data): Don't read() into '&buf', while this
6         is technically okay - it is clearer as just 'buf'.
7         (write_all): New helper function that handles write() interrupts.
8         (write_err_and_exit): Use write_all() instead of write().
9         (fork_exec_with_pipes): Same here.
10         
11 Sun Jun  1 09:42:36 2003  Owen Taylor  <otaylor@redhat.com>
13         * glib/giochannel.c (g_io_error_get_from_g_error): Put 
14         the g_return_val_if_fail() in the right place.
16 Fri May 31 1:17:45 2003  Ray Strode  <halfline@hawaii.rr.com>
18         * glib/giochannel.c (g_io_channel_error_from_errno):
19         Fix typo: should be G_IO_ERROR_UNKNOWN not
20         G_ERROR_ERROR_UNKNOWN
22 Fri May 30 19:23:47 2003  Owen Taylor  <otaylor@redhat.com>
24         * glib/gstrfuncs.c (g_ascii_strncasecmp)
25         * glib/gstrfuncs.c (g_ascii_strcasecmp): Use TOLOWER()
26         macro instead of g_ascii_tolower() (#107138)
28 Fri May 30 19:09:25 2003  Owen Taylor  <otaylor@redhat.com>
30         * m4macros/glib-gettext.m4: Backport better handling
31         of ALL_LINGUAS from gettext.m4. (#103808, Andras Salamon)
33 Fri May 30 18:46:05 2003  Owen Taylor  <otaylor@redhat.com>
35         * m4macros/glib-gettext.m4: expand $exec_prefix as
36         well as $prefix. (#107290, reported by Morten Welinder,
37         patch from Raja Harinath)
39 Fri May 30 17:24:23 2003  Owen Taylor  <otaylor@redhat.com>
41         * glib-gettextize.in: Quote $srcdir to handle $srcdir
42         with spaces (#107850, Evan Martin)
44 Fri May 30 16:48:26 2003  Owen Taylor  <otaylor@redhat.com>
46         * glib/giochannel.c (g_io_channel_error_from_errno):
47         Silently return G_IO_CHANNEL_ERROR_FAILED for EINTR,
48         since close() can return EINTR. (#11842, Balazs Scheidler)
50 Fri May 30 15:58:33 2003  Owen Taylor  <otaylor@redhat.com>
52         * configure.in: Rework debug_default handling to work
53         with autoconf-2.5x. (#106348)
55 Fri May 30 15:51:43 2003  Owen Taylor  <otaylor@redhat.com>
57         * glib/giochannel.c (g_io_error_get_from_g_error): 
58         Do a g_return_val_if_fail() on err == NULL to be a
59         bit more robuts on buggy IO channel implementations.
60         (#113396, Dan Winship)
62 2003-05-30  Telsa Gwynne  <hobbit@aloss.ukuu.org.uk>
64         * configure.in: Added "cy" (Welsh) to configure.in
66 Tue May 27 19:56:35 2003  Owen Taylor  <otaylor@redhat.com>
68         * glib/gmacros.h: __PRETTY_FUNCTION__ was made a non-token
69         before gcc-3.0.0 for C++. (Fix from Martin Kretzschmar,
70         #113797)
72 2003-05-28  Matthias Clasen  <maclas@gmx.de>
74         * tests/patterntest.c: Remain silent when sucessful. 
76         * tests/Makefile.am: Add patterntest to make check.  (#113143,
77         Zach Frey)
79 2003-05-27  Matthias Clasen  <maclas@gmx.de>
81         * glib/gstrfuncs.c (g_strdup): Use memcpy instead of
82         strcpy. (#106988, Christian Biere)
84 2003-05-27  Matthias Clasen  <maclas@gmx.de>
86         * glib/gstrfuncs.c (g_strdup): Use memcpy instead of
87         strcpy. (#106988, Christian Biere)
89 2003-05-23  Noah Levitt  <nlevitt@columbia.edu>
91         * glib/gutf8.c: Fix typo in UNICODE_VALID (related to #107427).
93 2003-05-22  Noah Levitt  <nlevitt@columbia.edu>
95         * glib/guniprop.c: Update g_unichar_iswide to Unicode 4.0 (#113404).
97 2003-05-21  Noah Levitt  <nlevitt@columbia.edu>
99         * glib/guniprop.c: Fix obscure typo in case conversion routine
100         (#113469).
102 Tue May 20 14:17:20 2003  Manish Singh  <yosh@gimp.org>
104         * configure.in: wrap 64-bit MIN/MAX limit constants in
105         G_GINT64_CONSTANT. Fixes bug #108699.
107 2003-05-19  Noah Levitt  <nlevitt@columbia.edu>
109         * glib/gunibreak.c: Fix cut-and-pasto: g_unichar_break_type should
110         return G_UNICODE_BREAK_UNKNOWN if the character is greater than
111         G_UNICODE_LAST_CHAR.
113 2003-05-19  Noah Levitt  <nlevitt@columbia.edu>
115         * glib/glist.c: Remove unused function g_list_sort2 (bug #113203).
117 2003-05-19  Noah Levitt  <nlevitt@columbia.edu>
119         * glib/gunidecomp.c: Fix off-by-one error in
120         g_unicode_canonical_ordering (bug #113260).
122 2003-05-05  Matthias Clasen  <maclas@gmx.de>
124         * glib/gstrfuncs.c (g_ascii_dtostr): 
125         (g_ascii_formatd): 
126         (g_ascii_strtod): Some doc fixes.  (#111805)
128 2003-05-05  Christian Rose  <menthos@menthos.com>
130         * configure.in: Added sr and sr@Latn to ALL_LINGUAS.
132 2003-05-01  Havoc Pennington  <hp@pobox.com>
134         * glib/gmarkup.c (advance_char): for non-nul-terminated strings,
135         this would read one past the end of the string. valgrind never 
136         showed this up because most people use g_file_get_contents()
137         which leaves a nul termination which is initialized.
139 Thu Apr 24 19:12:05 2003  Owen Taylor  <otaylor@redhat.com>
141         * autogen.sh (have_libtool): Accept libtool-1.5. (#111483)
143 Mon Apr  7 13:40:28 2003  Owen Taylor  <otaylor@redhat.com>
145         * glib/gmain.c (g_main_loop_run): When waiting for
146         the main loop to be freed up, wait on either
147         !loop->is_running or got_ownership, not both.
148         (Caused gtk_dialog_run() not to work in other
149         threads, reported by Jean-Yves Lefort)
151 2003-04-07  Matthias Clasen  <maclas@gmx.de>
153         * glib/gutf8.c (g_utf8_strlen): Warn if p == NULL && max != 0.
154         (#110087) 
156 2003-03-30  Matthias Clasen  <maclas@gmx.de>
158         * glib/gstring.c (g_string_new): Optimize the common cases 
159         (init == NULL or init == "") a bit.
160         * glib/gmarkup.c, glib/gmessages.c, glib/gscanner.c,
161         glib/gshell.c, glib/gspawn-win32-helper.c, glib/gspawn-win32.c,
162         glib/gspawn.c, gobject/gvaluetransform.c: replace uses of 
163         g_string_new ("") by g_string_new (NULL).  (#106973, Morten Welinder)
165         * glib/gutf8.c (UNICODE_VALID): Update to Unicode 3.1 and optimize
166         a bit.  (#107427, Noah Lewitt)
168         * glib/libcharset/config.charset: Add cp1251 support for Solaris.
169         (#104738, Hidetoshi Tajima)
171         * glib/gconvert.c (UnsafeCharacterSet): Get rid of
172         UNSAFE_DOS_PATH.
173         (acceptable): Align with RFC2396.  (#59653)
175         * tests/uri-test.c: Adjust to the changes above.
177 2003-03-26  Christian Rose  <menthos@menthos.com>
179         * configure.in: Added "yi" to ALL_LINGUAS.
181 2003-03-20  Guntupalli Karunakar  <karunakar@freedomink.org>
183         * configure.in: Added "ml" for Malayalam in ALL_LINGUAS
185 2003-03-19  Matthias Clasen  <maclas@gmx.de>
187         * glib/giochannel.c (g_io_channel_read_to_end): Fix docs.
189 2003-03-06  Matthias Clasen  <maclas@gmx.de>
191         * glib/gmain.c (g_main_context_find_source_by_id): 
192         (g_main_context_find_source_by_funcs_user_data): Fix FALSE/NULL
193         confusion.  (#107646, Morten Welinder)
195 2003-02-06  Matthias Clasen  <maclas@gmx.de>
197         * glib/gmessages.h: 
198         * glib/gmem.h: 
199         * glib/ghash.h: 
200         * glib/gasyncqueue.h: 
201         * glib/garray.h: 
202         * glib/ghook.h: 
203         * glib/gtypes.h: Fix a bunch of typos in header comments.
204         (#102422, Morten Welinder)
206 2003-03-05  James Henstridge  <james@daa.com.au>
208         * po/Makefile.in.in: merge changes from trunk, to allow "make
209         distcheck" to pass with newer automakes.  This helps packages
210         using glib-gettextize that want to upgrade to automake > 1.4.
212 2003-02-25  Tor Lillqvist  <tml@iki.fi>
214         * glib/glib.def: Add a couple of missing entries, thanks to Cedric
215         Gustin.
217 2003-02-18  Sebastian Wilhelmi  <seppi@seppi.de>
219         * configure.in: Make glib_thread_test not unnecessarily convert
220         between int and void*. (#106278). Let main return int.
222         * configure.in: Add an argument to specify the default thread
223         attribute to glib_thread_test. Disappeared somewhere between 2.0
224         and 2.2.
226 2003-02-12  Sebastian Wilhelmi  <seppi@seppi.de>
228         * configure.in: Make GLib recognize Tru64Unix thread system. (#103020)
230 2003-02-11  Tor Lillqvist  <tml@iki.fi>
232         * Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2.
234         * glib-zip.in: Include also the gtk-doc/html documentation in the
235         developer package.
237         * README.win32: Updates.
239 2003-02-11  Sebastian Wilhelmi  <seppi@seppi.de>
241         * AUTHORS: Changed my e-mail address.
242         * glib/grand.c: Removed my e-mail address.
244 2003-02-10  Mohammad DAMT  <mdamt@bisnisweb.com>
246         * po/id.po: Added Indonesian translation
247         * configure.in: Added "id" to ALL_LINGUAS
249 2003-02-04  Tor Lillqvist  <tml@iki.fi>
251         * glib/giowin32.c (g_io_channel_unix_new): Fix typo: Should be
252         SOCKET_ERROR, not SO_ERROR. Noticed by Daniel Kaufmann.
254 Thu Jan 30 16:45:13 2003  Owen Taylor  <otaylor@redhat.com>
256         * Makefile.am: Remove references to glib.spec.
257         (#102231)
259         * configure.in: Don't generate glib.spec.
261 2003-01-29  Abel Cheung  <maddog@linux.org.hk>
263         * configure.in: Added fa, he, it, lv, mk to ALL_LINGUAS
265 Tue Jan 28 17:00:03 2003  Owen Taylor  <otaylor@redhat.com>
267         * === Released 2.2.1 ===
269         * configure.in: Version 2.2.1, interface age 1.
271         * NEWS: Updated.
273 Tue Jan 28 16:08:56 2003  Owen Taylor  <otaylor@redhat.com>
275         * m4macros/glib-gettext.m4: If msgfmt isn't found,
276         unset gt_cv_have_gettext. (#102552, Tim Mooney)
278 Tue Jan 28 15:18:24 2003  Owen Taylor  <otaylor@redhat.com>
280         * autogen.sh (have_automake): Fix version in complaint
281         message about automake. (#104366, Rich Burridge)
283 2003-01-26  Tor Lillqvist  <tml@iki.fi>
285         * glib/gspawn.c (g_spawn_async_with_pipes): Fix my typo in doc
286         comment. (#104467)
288 2003-01-24  Daniel Yacob <locales@geez.org>
290         * configure.in: Added am to ALL_LINGUAS.
292 2003-01-23  Pablo Saratxaga  <pablo@mandrakesoft.com>
294         * configure.in: Added Bengali (bn) to ALL_LINGUAS
296 2003-01-22  Tor Lillqvist  <tml@iki.fi>
298         Fix for bug #104014, reported by Alex Shaduri:
299         
300         * glib/gspawn-win32.c (protect_argv): New function. Add
301         double-quotes around argv elements that need it, and escape
302         embedded double-quotes with backslash.
303         (do_spawn_with_pipes) Call protect_argv().
305         * glib/gspawn-win32-helper.c (WinMain): Call protect_argv().
307         * glib/gspawn.c (g_spawn_async_with_pipes): Document argument
308         vector vs. command line details on Win32.
309         (g_spawn_command_line_sync): Improve documentation about
310         backslashes in the command line on Windows.
312 2003-01-21  Christian Rose  <menthos@menthos.com>
314         * configure.in: Added "mn" to ALL_LINGUAS.
316 2003-01-12  Tor Lillqvist  <tml@iki.fi>
318         * glib/glib.def: Add some missing entries. Thanks to Kenichi SUTO.
320 2003-01-05  Tor Lillqvist  <tml@iki.fi>
322         * README.win32: Updates.
324         * configure.in: Don't use -lm in TRIO_LIBS on Windows, with no
325         libm. (Mingw has a dummy libm.a, but the .pc file should be
326         useable by MSVC users, too.)
328 2003-01-04  Tor Lillqvist  <tml@iki.fi>
330         * Makefile.am (BUILT_EXTRA_DIST): Don't distribute glib-zip.
332         * {glib,gmodule,gobject,gthread}/Makefile.am:
333         [Win32] Install also the .def files, to help users generate
334         import libraries for other compilers. Uninstall, too.
336         * glib-zip.in: Include .def files from above.
338         * glib/giowin32.c (g_io_win32_fd_get_flags_internal): Don't claim
339         broken pipes are unreadable. (Well, they are, but read() handles
340         it, and treats it like EOF.)
342 Thu Jan  2 16:19:15 2003  Manish Singh  <yosh@gimp.org>
344         * configure.in: use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for
345         tests for inline keywords. Fixes #101976.
347 2003-01-02  Tor Lillqvist  <tml@iki.fi>
349         * glib/gwin32.h: Correct the comment telling what headers have
350         the declarations of some POSIXish functions.
352         * glib/giowin32.c (g_io_win32_fd_get_flags_internal): Fix braino:
353         The checks for readability/writeability were backwards.
355         * glib/gmessages.c (ensure_stderr_valid): New function, parallel
356         to ensure_stdout_valid(). #defined as empty on Unix. Move the
357         alloc_console_called static flag inside these two functions.
358         (ensure_stdout_valid, ensure_stderr_valid): Check the C stdout and
359         stderr streams for validity, instead of what GetStdHandle() returns.
360         (mklevel_prefix): Do use either stderr or stdout on Windows,
361         too. Otherwise g_warning() messages (that are just warnings, by
362         definition) will get mixed with proper stdout output. Noticed in
363         GIMP's gimpconfig-dump.
364         (strdup_convert, mklevel_prefix, g_printerr): Call
365         ensure_stderr_valid() before trying to use stderr.
366         (g_logv): [Win32] Convert message to current codepage before
367         display with MessageBox().
369 2002-12-28  Tõivo Leedjärv  <toivo@linux.ee>
371         * configure.in: Added et to ALL_LINGUAS.