cleanup
[platform/upstream/glib.git] / ChangeLog.pre-2-2
index 245f7a2..f91ac7e 100644 (file)
@@ -1,5 +1,185 @@
+Fri Dec 20 10:45:29 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * === Released 2.2.0 ===
+
+       * INSTALL.in: --enable-included-printf, not --enable-trio.
+       (Matthias Clasen)
+
+Fri Dec 20 09:52:15 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * INSTALL.in: Document --enable-trio, --disable-mempools,
+       --enable-debug. Include docs on cross compilation.
+
+       * NEWS: Update.
+
+       * configure.in: Version 2.2.0, interface age 0.
+
+Fri Dec 20 09:37:27 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gthread/gthread-impl.c (g_thread_init): Call g_main_thread_init()
+       after setting g_threads_got_initialized. (#101624, 
+       Alceste Scalas, Sebastian Wilhelmi)
+
+Wed Dec 18 16:19:08 2002  Manish Singh  <yosh@gimp.org>
+
+       * glib/gtypes.h: new endian asm for ia64 and x86_64, general
+       reorg and clean up. New implementation of GUINT16_SWAP_LE_BE_CONSTANT()
+       that should optimize better. (#101318)
+
+2002-12-17  Tor Lillqvist  <tml@iki.fi>
+
+       Improvement based on suggestion by Thorsten Maerz:
+
+       * glib/giowin32.c (struct _GIOWin32Channel): Don't need thread_handle.
+
+       (create_thread): We can close thread handle right away, it isn't
+       used for anything.
+
+       (read_thread, select_thread): Thus, don't close it here.
+
+       Fix #57690, partial fix for #57689:
+       
+       * glib/giowin32.c (g_io_win32_set_flags): Don't set the GError,
+       instead call g_warning().
+
+       (g_io_win32_fd_get_flags_internal): New function, sets the
+       is_readable, is_writeable and is_seekable flags based on the
+       actual access modes of the underlying Win32 HANDLE, by trying
+       Win32 ReadFile() and WriteFile() of zero bytes, and
+       PeekNamedPipe(). Should work for disk files and pipes. For devices
+       (consoles) unfortunately not.
+
+       (g_io_win32_fd_get_flags): Don't set the
+       G_IO_FLAG_IS_{READ,WRITE}ABLE flags, g_io_channel_get_flags()
+       already does. Call g_io_win32_fd_get_flags_internal() to set the
+       is_* flags.
+
+       (g_io_win32_msg_get_flags, g_io_win32_sock_get_flags): Splice the
+       generic g_io_win32_get_flags() into these specific functions, as
+       they need to do different things. Not implemented yet, though.
+
+       (g_io_channel_win32_new_fd_internal): New function, to avoid
+       duplicate fstat() calls. Most code from g_io_channel_win32_new_fd() 
+       moved here. Call g_io_win32_fd_get_flags_internal() to set the
+       is_* flags.
+
+       (g_io_channel_win32_new_fd, g_io_channel_unix_new): Call
+       g_io_channel_win32_new_fd_internal().
+
+       (g_io_win32_no_seek): Remove. Don't set is_seekable for those
+       channel types.
+
+Mon Dec 16 17:31:50 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * === Released 2.1.5 ===
+
+       * configure.in: Version 2.1.5, interface age 2.
+
+       * NEWS: Updated.
+
+Mon Dec 16 14:58:33 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Add a hack to mostly deal with
+       problems in support of -pthread and -lpthread;
+       pass -lpthread (for linux) or -Wc,-pthread (for
+       other platforms) to libtool when linking libgthread. 
+       (#100697)
+
+2002-12-16  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gspawn-win32.c (do_spawn): Fix potential heap
+       corruption. Sometimes called g_free() on string literal.
+
+Sun Dec 15 19:51:58 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * m4macros/glib-gettext.m4: AC_SUBST() DATADIRNAME, not 
+       DATADIR.
+
+Sun Dec 15 19:22:58 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * m4macros/glib-gettext.m4: Restore a missing AC_SUBST()
+       for DATADIRNAME. (Found by Kjartan Maraas)
+
+Sun Dec 15 11:24:29 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * m4macros/glib-gettext.m4: Actually set INTLLIBS
+       when needed. (Reported by Tor Lillqvist)
+
+2002-12-15  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/glib.def: Add g_rand_init.
+
+       * config.h.win32.in: Slight update to match what is currently
+       produced by configure.
+
+Sat Dec 14 21:24:04 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gutils.c (g_get_any_init): HP-UX 10 xshares the
+       same non-posix getpwuid_r signature as AIX. 
+       (#100756, Kai Poitschke)
+
+Sat Dec 14 21:10:57 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gthread.h: Mark the contents of the strucures
+       in this file /*< private >*/
+
+       * glib/gthread.[ch]: Rename the 'write' field of the
+       structure to 'have_writer' to avoid any possible
+       conflict with system headers. (#90549, Morten Welinder)
+
+Sat Dec 14 20:11:41 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/libcharset/{localcharset.[ch] libcharset-glib.patch}
+       glib/gutf8.c: Break _g_locale_charset() into two pieces 
+       - a fast "raw" piece, and a slow "unalias pieces". 
+       Always call the "raw" piece, and call the unalias bit
+       if it changes. Use a per-thread cache. (#79529)
+
+2002-12-15  Matthias Clasen  <maclas@gmx.de>
+
+       * configure.in: Set TRIO_LIBS when building with trio.
+
+       * glib-2.0.pc.in (Libs): Add @TRIO_LIBS@.
+
+       * glib/trio/Makefile.am (libtrio_la_LIBADD): Use @TRIO_LIBS@.
+
+       * glib/trio/glibtrio.h: New file, redefining all trio symbols to
+       fall into the _G/_g_ private glib namespace.
+
+       * glib/trio/Makefile.am (libtrio_la_SOURCES): Add glibtrio.h
+
+       * glib/trio/trionan.c: 
+       * glib/trio/triostr.c: 
+       * glib/trio/trio.c: Include glibtrio.h
+
+       * glib/gprintfint.h: 
+       * glib/trio/trionan.c: 
+       * glib/trio/triostr.c: 
+       * glib/trio/trio.c: Include glibtrio.h
+
+Fri Dec 13 17:10:21 2002  Manish Singh  <yosh@gimp.org>
+
+       * glib/gscanner.c (g_scanner_unexp_token): Fix typo. Missing '%'
+       in my last commit.
+
+Thu Dec 12 23:08:29 2002  Owen Taylor  <otaylor@redhat.com>
+
+       Fixes from Johannes Stezenbach
+
+       * configure.in: When adding extra libraries to $LIBS for
+       tests, always put them at the front, since that's how
+       they'll be used in the actual Makefiles.
+
+       * configure.in: Add a couple of missing ','s in AC_LINK_IFELSE()
+
+       * m4macros/glib-gettext.m4: Remove a stray setting of $LIBS.
+
 Thu Dec 12 20:46:26 2002  Owen Taylor  <otaylor@redhat.com>
 
+       * configure.in: Allow not setting glib_cv_long_long_format
+       when cross-compiling since we assume other things that
+       will cause us to pull in Trio anyways.
+
        * configure.in: long_long_format is always ll for trio.
        
        * configure.in: Error out if --disable-trio is specified
@@ -45,7 +225,7 @@ Thu Dec 12 13:52:58 2002  Owen Taylor  <otaylor@redhat.com>
 
 Wed Dec 11 17:53:34 2002  Owen Taylor  <otaylor@redhat.com>
 
-       * === Release 2.1.4 ===
+       * === Released 2.1.4 ===
 
        * NEWS: Updates.