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