When dispatching a source that is !CAN_RECURSE, temporarily remove any
[platform/upstream/glib.git] / ChangeLog.pre-2-12
index 93e1397..7fb9790 100644 (file)
@@ -1,5 +1,232 @@
+Thu Jun  5 23:40:31 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmain.c: When dispatching a source that is
+       !CAN_RECURSE, temporarily remove any file descriptors
+       that that source has registered from the main loop, to keep
+       recursive main loops from busy-waiting if input
+       becomes available on one of those file descriptors.
+       (#112222, Christian Krause)
+
+       * glib/gmain.c (g_source_set_priority): Properly
+       remove the source from the context's source list
+       and reinsert it sorted, rather than simply setting
+       source->next/prev to NULL! (#114274)
+
+2003-06-06  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gstring.c (g_string_append_printf_internal): Use
+       g_vasprintf() and g_string_append_len(), thus enabling embedded
+       nuls in the result of g_string_printf().  (#92492, Owen Taylor)
+
+       * tests/string-test.c: Add a test for embedded nuls in the
+       result of g_string_printf().
+
+       * glib/gprintf.[ch]: Synchronize argument names with headers and docs.
+       (g_vasprintf): An implementation of vasprintf(), code was lifted
+       from g_strdup_vprintf().  (#112365)
+
+       * glib/gstrfuncs.c (g_strdup_vprintf): Just use g_vasprintf().
+
+2003-06-05  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/giochannel.h
+       * glib/gmain.h: Remove bogus (Win32-only) declaration of
+       g_main_poll_win32_msg_add(). No such function exists.
+
+       * glib/gmain.c (g_poll) [Win32]: Use g_win32_error_message() for
+       better warning messages.
+
+2003-06-04  Noah Levitt  <nlevitt@columbia.edu>
+
+       * glib/gunidecomp.h (combine): Fix typo (#114375). Also, make the
+       function static.
+
+2003-06-03  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * configure.in: Test for pthread_setschedparam. If not existant,
+       disable priorities. (#104718)
+
+Mon Jun  2 14:18:21 2003  Owen Taylor  <otaylor@redhat.com>
+
+       Patch from Jeffrey Stedfast <fejj@ximian.com> (#104825)
+       * glib/gspawn.c (read_data): Don't read() into '&buf', while this
+       is technically okay - it is clearer as just 'buf'.
+       (write_all): New helper function that handles write() interrupts.
+       (write_err_and_exit): Use write_all() instead of write().
+       (fork_exec_with_pipes): Same here.
+       
+Sun Jun  1 09:42:36 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/giochannel.c (g_io_error_get_from_g_error): Put 
+       the g_return_val_if_fail() in the right place.
+
+Fri May 31 1:17:45 2003  Ray Strode  <halfline@hawaii.rr.com>
+
+       * glib/giochannel.c (g_io_channel_error_from_errno):
+       Fix typo: should be G_IO_ERROR_UNKNOWN not
+       G_ERROR_ERROR_UNKNOWN
+
+Fri May 30 19:23:47 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gstrfuncs.c (g_ascii_strncasecmp)
+       * glib/gstrfuncs.c (g_ascii_strcasecmp): Use TOLOWER()
+       macro instead of g_ascii_tolower() (#107138)
+
+Fri May 30 19:09:25 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * m4macros/glib-gettext.m4: Backport better handling
+       of ALL_LINGUAS from gettext.m4. (#103808, Andras Salamon)
+
+Fri May 30 18:46:05 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * m4macros/glib-gettext.m4: expand $exec_prefix as
+       well as $prefix. (#107290, reported by Morten Welinder,
+       patch from Raja Harinath)
+
+Fri May 30 17:24:23 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * glib-gettextize.in: Quote $srcdir to handle $srcdir
+       with spaces (#107850, Evan Martin)
+
+Fri May 30 16:48:26 2003  Owen Taylor  <otaylor@redhat.com>
+       * glib/giochannel.c (g_io_channel_error_from_errno):
+       Silently return G_IO_CHANNEL_ERROR_FAILED for EINTR,
+       since close() can return EINTR. (#11842, Balazs Scheidler)
+Fri May 30 15:51:43 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/giochannel.c (g_io_error_get_from_g_error): 
+       Do a g_return_val_if_fail() on err == NULL to be a
+       bit more robuts on buggy IO channel implementations.
+       (#113396, Dan Winship)
+
+Tue May 27 19:56:35 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmacros.h: __PRETTY_FUNCTION__ was made a non-token
+       before gcc-3.0.0 for C++. (Fix from Martin Kretzschmar,
+       #113797)
+
+2003-05-28  Matthias Clasen  <maclas@gmx.de>
+
+       * tests/patterntest.c: Remain silent when sucessful. 
+
+       * tests/Makefile.am: Add patterntest to make check.  (113143)
+
+2003-05-27  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gstrfuncs.c (g_strdup): Use memcpy instead of
+       strcpy. (#106988, Christian Biere)
+
+2003-05-27  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gstrfuncs.c (g_strdup): Use memcpy instead of
+       strcpy. (#106988, Christian Biere)
+
+2003-05-23  Noah Levitt  <nlevitt@columbia.edu>
+
+       * glib/gutf8.c: Fix typo in UNICODE_VALID (related to #107427).
+
+2003-05-23  Noah Levitt  <nlevitt@columbia.edu>
+
+       * glib/guniprop.c: Remove stale comment.
+
+2003-05-22  Noah Levitt  <nlevitt@columbia.edu>
+
+       * glib/guniprop.c: Update g_unichar_iswide to Unicode 4.0 (#113404).
+
+2003-05-21  Noah Levitt  <nlevitt@columbia.edu>
+
+       * glib/guniprop.c: Fix obscure typo in case conversion routine
+       (#113469).
+
+Tue May 20 14:14:55 2003  Manish Singh  <yosh@gimp.org>
+
+       * configure.in: wrap 64-bit MIN/MAX limit constants in
+       G_GINT64_CONSTANT. Fixes bug #108699.
+
+2003-05-19  Noah Levitt  <nlevitt@columbia.edu>
+
+       * glib/gunibreak.c: Fix cut-and-pasto: g_unichar_break_type should
+       return G_UNICODE_BREAK_UNKNOWN if the character is greater than
+       G_UNICODE_LAST_CHAR.
+
+2003-05-19  Noah Levitt  <nlevitt@columbia.edu>
+
+       * glib/glist.c: Remove unused function g_list_sort2 (bug #113203).
+
+2003-05-19  Noah Levitt  <nlevitt@columbia.edu>
+
+       * glib/gunidecomp.c: Fix off-by-one error in
+       g_unicode_canonical_ordering (bug #113260).
+
+2003-05-19 Arafat Medini <lumina@silverpen.de>
+
+       * ar.po: Added ar to ALL_LINGUAS
+
+2003-05-17  Telsa Gwynne  <hobbit@aloss.ukuu.org.uk>
+
+       * configure.in: Added cy to ALL_LINGUAS
+
+2003-05-05  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gstrfuncs.c (g_ascii_dtostr): 
+       (g_ascii_formatd): 
+       (g_ascii_strtod): Some doc fixes.  (#111805)
+
+2003-05-05  Christian Rose  <menthos@menthos.com>
+
+       * configure.in: Added sr and sr@Latn to ALL_LINGUAS.
+
+Thu Apr 24 19:12:05 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * autogen.sh (have_libtool): Accept libtool-1.5. (#111483)
+
+2003-04-09  Matthias Clasen  <maclas@gmx.de>
+
+       * INSTALL: 
+       * INSTALL.in: Remove list of configuration flags, since these 
+       are already documented in docs/reference/glib/building.sgml.
+
+2003-04-08  Matthias Clasen  <maclas@gmx.de>
+
+       * INSTALL: Move Cross-compliation information to reference manual.
+
+Mon Apr  7 13:40:28 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmain.c (g_main_loop_run): When waiting for
+       the main loop to be freed up, wait on either
+       !loop->is_running or got_ownership, not both.
+       (Caused gtk_dialog_run() not to work in other
+       threads, reported by Jean-Yves Lefort)
+
+2003-04-07  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gutf8.c (g_utf8_strlen): Warn if p == NULL && max != 0.
+       (#110087) 
+
+2003-04-01  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/glib.def: Add g_string_chunk_insert_len.
+
+2003-04-01  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gstring.[hc] (g_string_chunk_insert_len): New function, to
+       insert possible non-nul-terminated byte sequences into a string
+       chunk.  (#96279)
+       (g_string_chunk_insert): Implement in terms of
+       g_string_chunk_insert_len() now.
+
 2003-03-30  Matthias Clasen  <maclas@gmx.de>
 
+       * glib/gstring.c (g_string_new): Optimize the common cases 
+       (init == NULL or init == "") a bit.
+       * glib/gmarkup.c, glib/gmessages.c, glib/gscanner.c,
+       glib/gshell.c, glib/gspawn-win32-helper.c, glib/gspawn-win32.c,
+       glib/gspawn.c, gobject/gvaluetransform.c: replace uses of 
+       g_string_new ("") by g_string_new (NULL).  (#106973, Morten Welinder)
+
        * glib/gutf8.c (UNICODE_VALID): Update to Unicode 3.1 and optimize
        a bit.  (#107427, Noah Lewitt)