Revert mistaken change: it is UNIX, not Unix.
[platform/upstream/glib.git] / ChangeLog.pre-2-0
index 962fc99..2c5b889 100644 (file)
@@ -1,5 +1,414 @@
+2001-12-13  Matthias Clasen  <matthiasc@poet.de>
+
+       * glib/gconvert.c, glib/giochannel.c, glib/gmain.c,
+       glib/gwin32.c: Revert mistaken change: it is UNIX, not Unix.
+
+Thu Dec 13 05:37:51 2001  Tim Janik  <timj@gtk.org>
+
+       * glib/gbsearcharray.[hc]: API revamp to shorten GValueArray
+       structure.
+
+2001-12-12  Matthias Clasen  <matthiasc@poet.de>
+
+       This fixes #60543:
+
+       * glib/gutils.c (g_snprintf, g_vsnprintf): Switch to C99-[v]snprintf().
+
+       * tests/strfunc-test.c: Add some tests for g_snprintf().
+
+2001-12-12  Matthias Clasen  <matthiasc@poet.de>
+
+       * glib/gconvert.c, glib/grand.c, glib/ghash.c,
+       glib/gthreadpool.c, glib/gtree.c: Documentation fixes.
+
+Mon Dec 10 14:08:39 2001  HideToshi Tajima  <hidetoshi.tajima@sun.com>
+
+       * glib/libcharset/config.charset (os):
+       add ISO8859-3 for Solaris. (#66174)
+       
+2001-12-10  Sven Neumann  <sven@gimp.org>
+
+       * gobject/gvalue.c (g_value_register_transform_func): perform an exact
+       match on the two types instead of using transform_func_lookup().
+
+2001-12-09  Christopher Blizzard  <blizzard@redhat.com>
+
+       * glib/gmessages.h: Add pragma that will prevent warnings when you
+       are not using -std=99 and newer gcc compilers.  Patch from Red
+       Hat's gtk+ 1.2 rpm.
+
+2001-12-06  Darin Adler  <darin@bentspoon.com>
+
+       * glib/gmacros.h: Do the same for "pure".
+
+2001-12-06  Matthias Clasen  <matthiasc@poet.de>
+
+       The following patch corrects some function attributes. (#61780)
+
+       * glib/ghash.h (g_int_equal, g_int_hash): These are not const.
+
+       * glib/glibintl.h (_glib_gettext): Add G_GNUC_FORMAT(1).
+
+       * glib/gmacros.h: Use reserved symbols in function attribute macros.
+
+2001-12-06  Matthias Clasen  <matthiasc@poet.de>
+
+       The following patch avoids manual printf()-format parsing 
+       if a C99-conforming vsnprintf() is available. (#55106)
+
+       * acinclude.m4 (AC_FUNC_VSNPRINTF_C99): New macro to test for a
+       C99 conforming vsnprintf.
+
+       * configure.in: Use AC_FUNC_VSNPRINTF_C99. 
+
+       * glib/gmessages.c (g_printf_string_upper_bound): Use C99 vsnprintf().
+       
+2001-12-05  Sven Neumann  <sven@gimp.org>
+
+       * glib/gtree.c (g_tree_foreach): mention the fact that the tree is
+       traversed in sorted order.
+
+2001-12-03  Manish Singh  <yosh@gimp.org>
+
+       * tests/module-test.c: g_module_symbol takes a gpointer *, not just
+       a gpointer
+
+       * tests/libmoduletestplugin_a.c: here too
+
+2001-11-29  Havoc Pennington  <hp@redhat.com>
+
+       * glib/gtree.c (g_tree_foreach):
+       * glib/ghash.c (g_hash_table_foreach): 
+
+       Add notes about how you shouldn't modify these data structures as
+       you iterate over them.
+       
+Thu Nov 29 11:16:03 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * HACKING: Update (#65721, Dave Neary)
+
+2001-11-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * glib/gdate.c: Fixed wrong order in conversion.
+
+Wed Nov 28 18:34:22 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmain.[ch]: Rename (private) GSource.id and 
+       id parameter to g_main_context_find_source_by_id()
+       to avoid problems with Objective C where 'id' is 
+       a keyword. (#65616)
+
+2001-11-28  Daniel Elstner  <daniel.elstner@gmx.net>
+
+       * glib/gutf8.c (utf8_skip_data): In order to avoid infinite loops
+       on invalid UTF-8 strings, change the skip count for 0xfe and 0xff
+       from 0 to 1.
+
+2001-11-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in: Always call GLIB_SIZEOF(..., system_thread). Fixes
+       #65624.
+
+2001-11-28  Tor Lillqvist  <tml@iki.fi>
+
+       * glibconfig.h.win32.in: Add GLIB_SIZEOF_SIZE_T here, too.
+
+2001-11-27  Dan Winship  <danw@ximian.com>
+
+       * configure.in (G_MODULE_LDFLAGS): Set this from libtool rather
+       than hardcoding values for certain platforms.
+
+       * glib/libcharset/config.charset: Add a rule for NetBSD.
+
+       * glib/libcharset/localcharset.c (_g_locale_get_charset_aliases):
+       If LIBCHARSET_ALIAS_DIR is set, look for charset.aliases there.
+
+       * tests/Makefile.am (TESTS_ENVIRONMENT): set LIBCHARSET_ALIAS_DIR
+       so we don't depend on charset.aliases having been installed
+
+2001-11-26  Matthias Clasen  <matthiasc@poet.de>
+       
+       * glib/gnode.c (g_node_traverse): Implement G_LEVEL_ORDER correctly.
+
+       * tests/node-test.c: Add a testcase for G_LEVEL_ORDER implementation.
+
+       * glib/gtree.h: Mark g_tree_traverse() as deprecated. (#65343)
+       
+       * glib/gtree.c (g_tree_traverse): Explain the deprecation in 
+       some detail.
+
+Mon Nov 26 09:42:24 2001  Tim Janik  <timj@gtk.org>
+
+       * configure.in: provide GLIB_SIZEOF_SIZE_T.
+
+2001-11-26  Jesus Bravo Alvarez  <jba@pobox.com>
+
+       * configure.in: Added gl (Galician) to ALL_LINGUAS
+
+2001-11-23  Hans Breuer  <hans@breuer.org>
+
+       * glib/makefile.msc.in : added -Zm400 to DEPCFLAGS to avoid :
+       gunidecomp.h(5846) : fatal error C1076: compiler limit : 
+       internal heap limit reached; use /Zm to specify a higher limit
+
+       * glibconfig.h.win32.in : added recommended pragma list for
+       msvc again. They are an invaluable help of letting the
+       compiler catch bugs.
+
+Thu Nov 22 13:56:55 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * Version 1.3.11
+
+Thu Nov 22 13:14:18 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in (GLIB_MICRO_VERSION): Version 11, 
+       interface, binary age 0.
+
+       * NEWS: Updated.
+
+       * tests/Makefile.am (libmoduletestplugin_[ab]_la_LDFLAGS): 
+       Add dummy -rpath argument. On some (but not all) platforms,
+       libtool will only build a convenience library without this.
+       (#63486, Dan Winship)
+       * Makefile.am (EXTRA_DIST): Add README.in, INSTALL.in - 
+       autoconf-2.5x checks for 'make dist' in the tarball
+       when you make distcheck.
+
+       * glib/Makefile.am (EXTRA_DIST): Distribute 
+       makefile.msc/mingw.in, glib.rc.in.
+
+       * tests/patterntest.c: Include string.h.
+
+       * glib/gpattern.c (g_utf8_reverse): doc parsing fix.
+
+Thu Nov 22 02:50:18 2001  Tim Janik  <timj@gtk.org>
+
+       * NEWS: merged with gobject/NEWS.
+
+2001-11-21  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/makefile.mingw.in (DEFINES): Set G_LOG_DOMAIN as in
+       Makefile.am.
+
+Tue Nov 20 20:54:25 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gunidecomp.[ch] glib/gen-unicode-tables.pl: Patch
+       from Andrew Taylor to optimize the decomposition table
+       to eliminate relocations and save space. (#64982)
+
+2001-11-18  Hans Breuer  <hans@breuer.org>
+
+       * glib/glib.def : 
+       * glib/makefile.msc.in : remove g_log_domain_glib usage/export
+
+       * tests/makefile.msc.in : add iochannel-test
+
+Sat Nov 17 17:21:57 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/Makefile.am glib/*.c glib/gmessages.h: Get
+       rid of g_log_domain_glib variable in favor of just
+       using a string constant.
+
+Sat Nov 17 14:10:35 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gbsearcharray.h: Include gtypes.h not gobject/gtype.h
+
+       * glib/glib-object.h gobject/*.h: Prevent headers from
+       being included directly except when compiling GObject.
+
+       * gobject/gvaluecollector.h: Include glib-object.h so that
+       this file can be included directly, since we don't
+       include it _from_ glib-object.h.
+
+       * gobject/gtype.c: Remove struct _GValue hack since we 
+       now include glib/gvaluecollector.h which simply pulls in
+       glib-object.h.
+
+2001-11-15  Matthias Clasen  <matthiasc@poet.de>
+
+       * glib/giochannel.c: Documentation fixes.
+2001-11-15  Takayuki KUSANO  <AE5T-KSN@asahi-net.or.jp>
+
+       * configure.in: Added "ja" to ALL_LINGUAS.
+
+2001-11-15  Michael Meeks  <michael@ximian.com>
+
+       * glib/giounix.c (g_io_channel_unix_new): set the fd
+       before using it.
+
+2001-11-15  Tor Lillqvist  <tml@iki.fi>
+
+       * tests/makefile.{mingw,msc}.in (TESTS): Add back mainloop-test
+       here, too.
+
+       * tests/Makefile.am: Remove leftover comment that claimed
+       mainloop-test is removed.
+
+2001-11-14  Matthias Clasen  <matthiasc@poet.de>
+
+       * glib/gpattern.c: add UTF-8 support.
+
+       * tests/patterntest.c: add UTF-8 and equality tests.
+
+Wed Nov 14 07:34:24 2001  Tim Janik  <timj@gtk.org>
+
+       * glib/galloca.h (g_newa): provide g_newa(ctype, count) on top of
+       g_alloca() like we provide g_new() on top of g_malloc().
+
+Tue Nov 13 21:25:35 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/{gen-unicode-tables.pl,gunibreak.c,gunibreak.h,
+       gunichartables.h, gunicomp.h, gunidecomp.[ch], 
+       guniprop.c}: Patch from Andrew Taylor to improve
+       tables and reduce relocations by using indices 
+       rather than pointers. (#64433)
+       
+       * tests/unicode-normalize.c (main): Fix for changes
+       to g_strsplit().
+
+2001-11-12  Darin Adler  <darin@bentspoon.com>
+
+       * glib/gstrfuncs.c: (g_strsplit): Fix max_tokens == 1 case to
+       match documentation.
+       * tests/strfunc-test.c: (main): Add tests.
+
+       * tests/.cvsignore: Recently-added test.
+
+Mon Nov 12 03:01:28 2001  Tim Janik  <timj@gtk.org>
+
+       * glib/gscanner.c (g_scanner_eof): G_TOKEN_ERROR is also an end
+       of stream condition.
+
+2001-11-10  Tor Lillqvist  <tml@iki.fi>
+
+       * glib-zip.in (DEVZIP): Also share/glib-2.0.
+
+2001-11-09  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gwin32.c (g_win32_getlocale): Add a couple of languages
+       that have LANG_* codes in newest headers, just for completeness.
+
+2001-11-08  Wang Jian  <lark@linux.net.cn>
+
+       * configure.in(ALL_LINGUAS): Added zh_CN for Simplified Chinese.
+
+2001-11-08  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gwin32.c: Don't define LANG_AZERI etc in case those aren't
+       defined in the headers (MSVC 5.0).
+       (g_win32_getlocale): Instead, surround uses of those with
+       #ifdef. Those MSVC 5.0 users that want to build a GLib that
+       recognizes those languages should download the Platform SDK and
+       use the headers from it.
+
+2001-11-07  Peter Williams  <peterw@ximian.com>
+
+       * glib/gdir.c (g_dir_read_name): Return NULL when done reading.
+
+2001-11-06  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/Makefile.am (gspawn_win32_helper_LDFLAGS): Use -mwindows.
+
+2001-11-05  Tor Lillqvist  <tml@iki.fi>
+
+       * README.win32: Minor edits.
+
+       * glib-zip.in: Build separate runtime and developer packages.
+
+       * glib/libcharset/config.charset (os): Don't need to match mingw
+       after all, the charset.alias file isn't even used on Win32... (see
+       localcharset.c).
+
+       * glib/makefile.mingw.in: Add gdir.
+
+       * glib/glib.def: Add g_dir_* entry points.
+
+Sun Nov  4 20:45:21 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in (CFLAGS): Add check for dirent.h
+
+       * glib/glib.h glib/Makefile.am: Add gdir.
+
+       * glib/gdir.c (g_dir_close): Couple of small tweaks
+       now that it is actually compiling...
+
+Sun Nov  4 20:29:31 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gdir.[ch]: Indentation fixes, some rewriting of docs to
+       conform to gtk-doc standard.
+
+       * glib/gdir.[ch] (g_dir_close): Remove the boolean 
+       return value. What would you do if closing failed?
+       What would the user do if you printed a warning
+       message "closing directory %s failed"?
+
+2001-11-04  Hans Breuer  <hans@breuer.org>
+
+       * glib/gdir.[hc] : (new files) simplified wrapper around dirent 
+       functions to improve portability of downstream libs/apps
+       * glib/makefile.msc.in : use them
+       * glib/glib.def : export them
+       * config.h.win32.in : needing HAVE_DIRENT_H defined
+
+2001-11-04  Tor Lillqvist  <tml@iki.fi>
+
+       * tests/Makefile.am: On Win32, create separate .exp file for
+       module-test.o and link with that. Otherwise the GNU linker doesn't
+       export the g_clash_func.
+
+2001-11-03  Hans Breuer  <hans@breuer.org>
+
+       * glib/giowin32.c : static correctness
+
+       * glib/gwin32.c : some more #if defined (SUBLANG_* ...
+       (g_win32_get_package_installation_subdirectory) use g_build_filename
+       instead of duplicating its logic
+
+       * glib/glib.def : removed duplicates, added mising, removed
+       compat cruft
+
+Fri Nov  2 19:54:16 2001  Tim Janik  <timj@gtk.org>
+
+       * glib/gbacktrace.h (G_BREAKPOINT): remove public signal.h include.
+
+Thu Nov  1 21:48:43 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/mainloop-test.c (recurser_idle): Recurse
+       with may_block = FALSE, so we don't get into
+       the pathology where the recurser_idle recurses
+       for 10 iterations, and the only thing that is
+       running is the recurser idle, which adds
+       another recursion for each of those 10 iterations
+       and....
+
+       * tests/mainloop-test.c (create_crawler): Fix race
+       condition where a crawler source could be destroyed
+       before it was added to the crawler array.
+
+       * test/Makefile.am: Add mainloop-test back.
+       
+2001-11-01  Marius Andreiana  <mandreiana@yahoo.com>
+
+       * configure.in: Added ro (Romanian) to ALL_LINGUAS
+
+2001-10-31  Havoc Pennington  <hp@redhat.com>
+
+       * glib/gmain.c (g_main_loop_run): fix to the locking so we don't
+       hang
+
 2001-10-31  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
+       * configure.in: Make --with-threads=none mean, that we want thread
+       support, but no default thread implementation. This also was the
+       original intention, but disapeared around 1998... So it doesn't
+       seem to be the most requested feature, but we went far to make it
+       possible in the code, so I resurrected this feature.
+
+       * INSTALL.in: Describe the --enable-gc-friendly, --disable-threads
+       and --with-threads options of configure.
+
        * glib/gmain.c (g_main_context_acquire, g_main_context_release,
        g_main_context_wait): Use the right conditional (G_THREADS_ENABLED
        instead of G_THREAD_ENABLED). Also remove wrong
@@ -67,7 +476,7 @@ Mon Oct 29 10:55:12 2001  Owen Taylor  <otaylor@redhat.com>
 
        * glib/libcharset/config.charset (os): Match also mingw*.
 
-       * tests/testglib.c (main): (Win32): Print the lib/locale
+       * tests/testglib.c (main): (Wibn32): Print the lib/locale
        subdirectory, as that is what actually gets used.
 
 Wed Oct 24 11:10:54 2001  Owen Taylor  <otaylor@redhat.com>