New module 'search'.
[gnulib.git] / ChangeLog
index 31bf564..af8c74b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,231 @@
+2007-03-24  Bruno Haible  <bruno@clisp.org>
+
+       * modules/search: New file.
+       * lib/search_.h: New file, incorporating lib/tsearch.h.
+       * m4/search_h.m4: New file.
+       * lib/tsearch.h: Remove file.
+       * lib/tsearch.c: Include search.h instead of tsearch.h.
+       * m4/tsearch.m4 (gl_FUNC_TSEARCH): Require gl_SEARCH_H_DEFAULTS. Set
+       HAVE_TSEARCH.
+       * modules/tsearch (Files): Remove lib/tsearch.h.
+       (Depends-on): Add search.
+       (configure.ac): Invoke gl_SEARCH_MODULE_INDICATOR.
+       (Include): Change tsearch.h into search.h.
+
+2007-03-24  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fpucw: New file.
+       * lib/fpucw.h: New file.
+       * lib/frexp.c: Include fpucw.h.
+       (DECL_ROUNDING, BEGIN_ROUNDING, END_ROUNDING): New macros.
+       (FUNC): Use them.
+       * lib/printf-frexp.c: Include fpucw.h.
+       (DECL_ROUNDING, BEGIN_ROUNDING, END_ROUNDING): New macros.
+       (FUNC): Use them.
+       * lib/vasnprintf.c: Include fpucw.h.
+       (VASNPRINTF): Invoke BEGIN/END_LONG_DOUBLE_ROUNDING around the
+       'long double' calculations.
+       * tests/test-frexpl.c: Include fpucw.h.
+       (main): Invoke BEGIN_LONG_DOUBLE_ROUNDING.
+       * tests/test-printf-frexpl.c: Include fpucw.h.
+       (main): Invoke BEGIN_LONG_DOUBLE_ROUNDING.
+       * modules/frexpl (Depends-on): Add fpucw.
+       * modules/printf-frexpl (Depends-on): Likewise.
+       * modules/fprintf-posix (Depends-on): Likewise.
+       * modules/snprintf-posix (Depends-on): Likewise.
+       * modules/sprintf-posix (Depends-on): Likewise.
+       * modules/vasnprintf-posix (Depends-on): Likewise.
+       * modules/vasprintf-posix (Depends-on): Likewise.
+       * modules/vfprintf-posix (Depends-on): Likewise.
+       * modules/vsnprintf-posix (Depends-on): Likewise.
+       * modules/vsprintf-posix (Depends-on): Likewise.
+       * modules/frexpl-tests (Depends-on): Likewise.
+       * modules/printf-frexpl-tests (Depends-on): Likewise.
+
+2007-03-24  Bruno Haible  <bruno@clisp.org>
+
+       * lib/float+.h: New file.
+       * lib/isnan.c: Include float+.h.
+       (SIZE): New macro.
+       (FUNC): Compare only SIZE bytes of the value.
+       * lib/vasnprintf.c: Include float+.h.
+       (VASNPRINTF): When comparing agains +0.0L or +0.0, compare only
+       SIZEOF_LDBL or SIZEOF_DBL bytes.
+       * modules/isnan-nolibm (Files): Add lib/float+.h.
+       * modules/isnanl-nolibm (Files): Add lib/float+.h.
+       * modules/isnanl (Files): Add lib/float+.h.
+       * modules/vasnprintf (Files): Add lib/float+.h.
+       
+2007-03-24  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c [!HAVE_LONG_DOUBLE]: Include printf-frexp.h. Don't
+       include isnanl-nolibm.h.
+
+2007-03-24  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-read-file.c (main): Don't produce spurious output for
+       expected situations. Make the test fail if it encountered unexpected
+       results.
+
+2007-03-24  Bruno Haible  <bruno@clisp.org>
+
+       * m4/locale-fr.m4 (gt_LOCALE_FR): Remove the special-casing of NetBSD,
+       since its fr_FR.ISO8859-1 locale wouldn't pass the tests.
+
+2007-03-24  Bruno Haible  <bruno@clisp.org>
+
+       * m4/locale-fr.m4 (gt_LOCALE_FR, gt_LOCALE_FR_UTF8): Fix last change.
+
+2007-03-24  Bruno Haible  <bruno@clisp.org>
+
+       * modules/unistr/base (Depends-on): Remove utf8-ucs4-unsafe,
+       utf16-ucs4-unsafe, utf8-ucs4, utf16-ucs4, ucs4-utf8, ucs4-utf16.
+
+       * modules/unistr/u8-mbtouc: Add source files from module utf8-ucs4.
+       * modules/utf8-ucs4: Turn into a symbolic link to module
+       unistr/u8-mbtouc.
+
+       * modules/unistr/u8-mbtouc-unsafe: Add source files from module
+       utf8-ucs4-unsafe.
+       * modules/utf8-ucs4-unsafe: Turn into a symbolic link to module
+       unistr/u8-mbtouc-unsafe.
+
+       * modules/unistr/u16-mbtouc: Add source files from module utf16-ucs4.
+       * modules/utf16-ucs4: Turn into a symbolic link to module
+       unistr/u16-mbtouc.
+
+       * modules/unistr/u16-mbtouc-unsafe: Add source files from module
+       utf16-ucs4-unsafe.
+       * modules/utf16-ucs4-unsafe: Turn into a symbolic link to module
+       unistr/u16-mbtouc-unsafe.
+
+       * modules/unistr/u8-uctomb: Add source files from module utf4-utf8.
+       * modules/ucs4-utf8: Turn into a symbolic link to module
+       unistr/u8-ubtomb.
+
+       * modules/unistr/u16-uctomb: Add source files from module utf4-utf16.
+       * modules/ucs4-utf16: Turn into a symbolic link to module
+       unistr/u16-ubtomb.
+
+2007-03-24  Bruno Haible  <bruno@clisp.org>
+
+       * lib/unistr/u8-mbtouc-aux.c: Renamed from lib/unistr/utf8-ucs4.c.
+       Enable the function only if HAVE_INLINE.
+       * lib/unistr/u8-mbtouc-unsafe-aux.c: Renamed from
+       lib/unistr/utf8-ucs4-unsafe.c. Enable the function only if HAVE_INLINE.
+       * lib/unistr/u16-mbtouc-aux.c: Renamed from lib/unistr/utf16-ucs4.c.
+       Enable the function only if HAVE_INLINE.
+       * lib/unistr/u16-mbtouc-unsafe-aux.c: Renamed from
+       lib/unistr/utf16-ucs4-unsafe.c. Enable the function only if HAVE_INLINE.
+       * lib/unistr/u8-uctomb-aux.c: Renamed from lib/unistr/ucs4-utf8.c.
+       Enable the function only if HAVE_INLINE.
+       * lib/unistr/u16-uctomb-aux.c: Renamed from lib/unistr/ucs4-utf16.c.
+       Enable the function only if HAVE_INLINE.
+       * modules/utf8-ucs4: Update.
+       * modules/utf8-ucs4-unsafe: Update.
+       * modules/utf16-ucs4: Update.
+       * modules/utf16-ucs4-unsafe: Update.
+       * modules/ucs4-utf8: Update.
+       * modules/ucs4-utf16: Update.
+
+2007-03-24  Bruno Haible  <bruno@clisp.org>
+
+       * lib/utf8-ucs4.h: Remove file.
+       * lib/utf8-ucs4-unsafe.h: Remove file.
+       * lib/utf16-ucs4.h: Remove file.
+       * lib/utf16-ucs4-unsafe.h: Remove file.
+       * lib/ucs4-utf8.h: Remove file.
+       * lib/ucs4-utf16.h: Remove file.
+       * lib/unistr.h: Include their previous contents.
+       * m4/utf-ucs4.m4: Remove file.
+       * m4/ucs4-utf.m4: Remove file.
+       * modules/utf8-ucs4 (Files): Remove lib/utf8-ucs4.h.
+       (Depends-on): Add unistr/base.
+       (configure.ac): Remove gl_UTF_UCS4.
+       (Makefile.am): Update.
+       (Include): Change to unistr.h.
+       * modules/utf8-ucs4-unsafe (Files): Remove lib/utf8-ucs4-unsafe.h.
+       (Depends-on): Add unistr/base.
+       (configure.ac): Remove gl_UTF_UCS4.
+       (Makefile.am): Update.
+       (Include): Change to unistr.h.
+       * modules/utf16-ucs4 (Files): Remove lib/utf16-ucs4.h.
+       (Depends-on): Add unistr/base.
+       (configure.ac): Remove gl_UTF_UCS4.
+       (Makefile.am): Update.
+       (Include): Change to unistr.h.
+       * modules/utf16-ucs4-unsafe (Files): Remove lib/utf16-ucs4-unsafe.h.
+       (Depends-on): Add unistr/base.
+       (configure.ac): Remove gl_UTF_UCS4.
+       (Makefile.am): Update.
+       (Include): Change to unistr.h.
+       * modules/ucs4-utf8 (Files): Remove lib/ucs4-utf8.h.
+       (Depends-on): Add unistr/base.
+       (configure.ac): Remove gl_UCS4_UTF.
+       (Makefile.am): Update.
+       (Include): Change to unistr.h.
+       * modules/ucs4-utf16 (Files): Remove lib/ucs4-utf16.h.
+       (Depends-on): Add unistr/base.
+       (configure.ac): Remove gl_UCS4_UTF.
+       (Makefile.am): Update.
+       (Include): Change to unistr.h.
+       * lib/unistr/utf8-ucs4.c: Include unistr.h instead of utf8-ucs4.h.
+       * lib/unistr/utf8-ucs4-unsafe.c: Include unistr.h instead of
+       utf8-ucs4-unsafe.h.
+       * lib/unistr/utf16-ucs4.c: Include unistr.h instead of utf16-ucs4.h.
+       * lib/unistr/utf16-ucs4-unsafe.c: Include unistr.h instead of
+       utf16-ucs4-unsafe.h.
+       * lib/unistr/ucs4-utf8.c: Include unistr.h instead of ucs4-utf8.h.
+       * lib/unistr/ucs4-utf16.c: Include unistr.h instead of ucs4-utf16.h.
+       * lib/unistr/u8-chr.c: Don't include ucs4-utf8.h.
+       * lib/unistr/u8-strchr.c: Likewise.
+       * lib/unistr/u8-strrchr.c: Likewise.
+       * lib/unistr/u16-chr.c: Don't include ucs4-utf16.h.
+       * lib/unistr/u16-strchr.c: Likewise.
+       * lib/unistr/u16-strrchr.c: Likewise.
+       * lib/striconveh.c: Update.
+
+2007-03-24  Bruno Haible  <bruno@clisp.org>
+
+       * lib/argp-help.c (fill_in_uparams, canon_doc_option): Cast the
+       arguments of isspace, isalpha, isalnum, isdigit to 'unsigned char'.
+
+2007-03-22  Bruno Haible  <bruno@clisp.org>
+
+       * lib/strptime.c (__strptime_internal): Use ANSI C syntax.
+
+2007-03-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * MODULES.html.sh (File system functions): New module write-any-file.
+       * modules/write-any-file, lib/write-any-file.c, lib/write-any-file.h:
+       * m4/write-any-file.m4: New files.
+
+2007-03-23  Eric Blake  <ebb9@byu.net>
+
+       * gnulib-tool: Rearrange space-tab sequences, since some editors
+       like to eat them.
+
+2007-03-23  Eric Blake  <ebb9@byu.net>
+
+       * lib/version-etc.c (version_etc_va): Update license wording to
+       be more concise.  Recommended by Richard Stallman.
+
 2007-03-22  Bruno Haible  <bruno@clisp.org>
 
+       * lib/poll.c (MSG_PEEK): New fallback definition.
+
+2007-03-22  Bruno Haible  <bruno@clisp.org>
+
+       * modules/sys_socket-tests (configure.ac): Check for shutdown function.
+       * tests/test-sys_socket.c (a): Test only if shutdown() exists.
+       (main): Update.
+       Fixes a compilation error on BeOS.
+
+2007-03-22  Bruno Haible  <bruno@clisp.org>
+
+       * modules/frexpl-tests: New file.
+       * tests/test-frexpl.c: New file.
+
        * modules/frexpl: New file.
        * m4/frexpl.m4: New file.
        * modules/math (Makefile.am): Also substitute GNULIB_FREXPL into math.h.