provide GLIB_SIZEOF_SIZE_T.
[platform/upstream/glib.git] / ChangeLog.pre-2-2
index adc4296..4b17714 100644 (file)
@@ -1,3 +1,565 @@
+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
+       return-statement. Unfortunately mainloop-test still does fail. Many
+       thanks to Andrea Fazekas <fazek@ludens.elte.hu> for spotting
+       this. (#63455)
+
+2001-10-31  Matthias Clasen  <matthiasc@poet.de>
+
+       * gobject/gsourceclosure.c (g_source_set_closure): Fix documentation.
+
+2001-10-30  Tor Lillqvist  <tml@iki.fi>
+
+       * glib-zip.in: New file, used to build distribution packages for
+       Windows.
+
+       * configure.in: Expand it.
+
+       * Makefile.am: Distribute it.
+
+       * config.h.win32.in: Update to match currently produced config.h
+
+2001-10-29  Daniel Egger  <degger@fhm.edu>
+
+       * glib/gbacktrace.h: Fix non-Intel/-Alpha version of the 
+       G_BREAKPOINT macro to include <signal.h> and use SIGTRAP.
+
+       * glib/gmessages.c: Conditionalise definition of args2
+       depending on the definition of HAVE_VSNPRINTF to avoid 
+       compiler warning.
+
+       * gobject/testgruntime.c
+       * tests/patterntest.c: Include <string.h> to avoid warnings.
+
+Mon Oct 29 11:29:37 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * m4macros/glib-2.0.m4: Don't try to use PKG_CONFIG
+       when we didn't find it. (#62944, Eric Lemings)
+
+       * m4macros/glib-2.0.m4: Fix problem with spaces around =
+       sign in assignment. (#63209, Arkadiusz Miskiewicz)
+
+Mon Oct 29 10:59:36 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Check for path to Perl, add gobject/glib-mkenums 
+       to AC_OUTPUT. (#63093, Dan Winship)
+
+Mon Oct 29 10:55:12 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/libcharset/Makefile.am (EXTRA_DIST): Dist
+       ref-add.sin, ref-del.sin. (#63092, Dan Winship)
+
+2001-10-29  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * glib/gmain.c (g_main_loop_quit): Conditionalize thread related
+       calls. (#63091)
+
+2001-10-28  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/glib.def: Add missing g_pattern_match_simple and
+       g_pattern_spec_equal.
+
+       * glib/gwin32.c (g_win32_get_package_installation_subdirectory):
+       Set separator correctly.
+
+       * glib/libcharset/config.charset (os): Match also mingw*.
+
+       * 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>
+
+       * configure.in: Version 1.3.10, interface age, binary age = 0.
+
+       * NEWS: Updates
+
+2001-10-26  Tor Lillqvist  <tml@iki.fi>
+
+       * configure.in: Don't default to win32 thread implementation on
+       Cygwin. The gthread-win32 implementation really is for Win32 with
+       MS runtime only. Let configure find pthreads when configuring for
+       Cygwin.
+
+       * README.win32: Updates.
+
+       * glib/glib.def: Update.
+
+       * tests/makefile.mingw.in
+       * tests/makefile.msc.in: Remove mainloop-test here, too.  Add ../*
+       to PATH before running tests to find DLLs. Separate the
+       interactive tests, don't run them in the check target.
+
+       * */makefile.msc.in: Include make.msc from GLib's build directory.
+
+Thu Oct 25 12:01:41 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/Makefile.am: Temporarily remove mainloop-test, since it
+       prevents distcheck.
+
+2001-10-24  Alex Larsson  <alexl@redhat.com>
+
+       * docs/reference/glib/glib-sections.txt:
+       Add g_strtod & co.
+
+       * docs/reference/glib/tmpl/string_utils.sgml:
+       Add docs for G_ASCII_DTOSTR_BUF_SIZE.
+
+       * glib/gstrfuncs.[ch]:
+       Added g_ascii_strtod, g_ascii_dtostr and g_ascii_formatd.
+
+       * tests/Makefile.am:
+       * tests/strtod-test.c:
+       Add tests for g_ascii_strtod & co.
+
+2001-10-23  Tor Lillqvist  <tml@iki.fi>
+
+       * config.h.win32.in: Typo: GLIB_MICRO_VERSION and
+       GLIB_MINOR_VERSION were swapped.
+
+       * glib/gutils.h: Remove G_HARDCODED_PATH_WRAPPER, Owen didn't like
+       it.
+       
+       * glib/gutils.c: Instead, expand it on Win32 as
+       _glib_get_locale_dir(), and #define GLIB_LOCALE_DIR as a call to
+       it.
+
+2001-10-23  Tor Lillqvist  <tml@iki.fi>
+
+       * config.h.win32.in: Typo.
+
+       * glibconfig.h.win32.in: Minor update to correspond to what
+       configure now generates.
+
+       * glib/Makefile.am: (Win32): If we have built the MSVC import
+       library, install it. Install the gcc import library. Also support
+       uninstall.
+
+       * glib/gutils.h: Add macros G_WIN32_DLLMAIN_FOR_DLL_NAME and
+       G_HARDCODED_PATH_WRAPPER. These are used to avoid hardcoding path
+       names into Windows DLLs.
+
+       * glib/gutils.c: Use them for GLIB_LOCALE_DIR.
+
+       * glib/gwin32.c (get_package_directory_from_module): Plug a small
+       memory leak. Minor code reordering.
+       (g_win32_get_package_installation_subdirectory):  Allow empty subdir.
+
+2001-10-19  Tor Lillqvist  <tml@iki.fi>
+
+       * configure.in: Fix test for lib.exe. Can't set ms_librarian
+       before calling AC_CHECK_PROG, as it doesn't actually check
+       anything if the result variable has been preset...
+
+2001-10-19  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * glib/gutils.c (g_set_prgname, g_get_prgname): Use another LOCK
+       for g_prgname to avoid deadlocking. (#62606)
+
+2001-10-19  Tor Lillqvist  <tml@iki.fi>
+
+       * configure.in: Check also ac_cv_sizeof___int64 when requiring a
+       64-bit type.
+
+2001-10-17  HideToshi Tajima  <hidetoshi.tajima@sun.com>
+
+       * glib/gconvert.c (g_iconv_open):
+       Fix a typo: to_codeset => from_codeset.
+       (#58195, #55152)
+
+Fri Oct 12 18:24:02 2001  Tim Janik  <timj@gtk.org>
+
+       * glib/gpattern.[hc]: make struct _GPatternSpec and GMatchType
+       private.
+       (g_pattern_equal): new function to return equality of two patterns
+       (required because GPatternSpec is private now).
+       (g_pattern_spec_new): fix bug wrg wildcard counting which produced
+       incorrect pattern specs (discovered by Matthias Clasen).
+       optimized code so we just keep one compiled pattern string now.
+       correctly canonicalize patterns. reduce string walks, optimize
+       decision about MATCH_ALL vs. MATCH_ALL_TAIL.
+       (g_pattern_match_string): call just g_pattern_match() with NULL
+       reversed string.
+       (g_pattern_match): allow NULL reversed strings now, reverse_dup
+       strings on demand.
+
+       * tests/patterntest.c (test_compilation): added an extended testcase
+       for pattern matching from Matthias Clasen <matthiasc@poet.de>.
+
+2001-10-11  Raja R Harinath  <harinath@cs.umn.edu>
+
+       * configure.in (ac_cv_sizeof_long_long): Avoid '==' and '-a' in
+       'test's.
+
+Wed Oct 10 20:07:36 2001  Joshua N Pritikin  <vishnu@pobox.com>
+
+       * glib/gmessages.c glib/gtypes.h: Remove G_HAVE_GINT64
+       conditionalization.
+
+Wed Oct 10 17:34:15 2001  Joshua N Pritikin  <vishnu@pobox.com>
+
+       * configure.in: Un-conditionalize and require a 64-bit integer
+       type.
+
+2001-10-04  Raja R Harinath  <harinath@cs.umn.edu>
+
+       * configure.in: Avoid 'test -a'.
+
+2001-10-05  Matthias Clasen  <matthiasc@poet.de>
+
+       * glib/gwin32.c: Documentation update.
+
+2001-10-04  Havoc Pennington  <hp@redhat.com>
+
+       * glib/libcharset/Makefile.am (EXTRA_DIST): add config.charset
+
+2001-10-03  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gutils.c (Win32) (DllMain): New function (DLL entry point)
+       to tuck away actual DLL name.
+       (GLIB_LOCALE_DIR) Use actual DLL name, instead of assuming one
+       naming convention for DLLs.
+
+       * glib/glib.def: g_string_append_printf.
+
+2001-10-02  Matthias Clasen  <matthiasc@poet.de>
+
+       * glib/gstrfuncs.c, glib/giochannel.c: documentation update.
+
+       * glib/gqueue.c: add documentation.
+
+2001-10-02  Sven Neumann  <sven@gimp.org>
+
+       * glib/gstring.h (g_string_sprintfa): let the compatibility definition
+       point to the new name g_string_append_printf().
+
+2001-10-01  Alex Larsson  <alexl@redhat.com>
+
+       * glib/gconvert.[ch]:
+       Convert G_CONVERT_ERROR_NOT_ABSOLUTE_FILE_URI and
+       G_CONVERT_ERROR_INVALID_URI to G_CONVERT_ERROR_BAD_URI.
+
+       * tests/uri-test.c:
+       Update tests
+
+Mon Oct  1 16:01:24 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gstring.[ch] glib/grel.c: Rename g_string_printfa()
+       to g_string_append_printf(). (#61041, Havoc Pennington.)
+
+2001-10-01  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gwin32.c: Documentation cleanups. (#61487)
+
+2001-10-01  Matthias Clasen  <matthiasc@poet.de>
+
+       * glib/gscanner.h (GScannerMsgFunc): make third argument
+       a gboolean.
+       (g_scanner_add_symbol, g_scanner_remove_symbol, 
+       g_scanner_foreach_symbol): mark these 
+       G_DISABLE_DEPRECATED. (#61469)
+
+       * glib/gscanner.c (g_scanner_msg_handler): make third 
+       argument gboolean. (#61468)
+
+2001-10-01  Sven Neumann  <sven@gimp.org>
+
+       * glib/gconvert.c
+       * glib/gspawn-win32.c
+       * glib/gspawn.c: some minor documentation fixes.
+
+2001-09-29  Alexander Larsson  <alla@lysator.liu.se>
+
+       * configure.in:
+       Add build/win32/dirent/Makefile to the list of makefiles
+
+2001-09-30  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gwin32.c
+       * glib/gwin32.h
+       * glib/glib.def: Remove own implementation of dirent
+       functions. Instead, gcc (mingw) users should go ahead and use the
+       <dirent.h> included with the mingw gcc, and the dirent functions
+       included in libmingw32, while MSVC users can use the same (public
+       domain) code, extracted from mingw-runtime sources and placed in
+       build/win32/dirent.[ch].
+
+       * glib/gwin32.c (get_package_directory_from_module,
+       g_win32_get_package_installation_directory): Use static lock to
+       protect static hash table.
+
 Sat Sep 29 02:33:14 2001  George Lebl <jirka@5z.com>
 
        * tests/testglib.c (main): cast the string size to gulong and use %lu
@@ -1973,12 +2535,12 @@ Mon Mar 26 13:34:50 2001  Owen Taylor  <otaylor@redhat.com>
 
        [ Patch from DindinX  <David.Odin@bigfoot.com>, added docs ]
  
-       * gstrfuncs.c, gstrfuncs.h: Add g_stpcpy () for platform that don't
-       have stpcpy ().
-       * gstrfuncs.c (g_strjoin, g_strjoinv and g_strconcat): use
-       g_stpcpy () so these functions run much faster.
-       * config.h.win32.in, glib.def: add reference to g_stpcpy ()
-       * configure.in: Add a test for the stpcpy () function.
+       * gstrfuncs.c, gstrfuncs.h: Add g_stpcpy () for platform that
+       don't have stpcpy ().
+       * gstrfuncs.c (g_strjoin, g_strjoinv, g_strconcat): 
+       use g_stpcpy () so these functions run much faster.
+       * config.h.win32.in, glib.def: add reference to g_stpcpy ()
+       * configure.in: Add a test for the stpcpy () function.
  
 2001-03-20  Havoc Pennington  <hp@redhat.com>