Tests for module 'signbit'.
[gnulib.git] / ChangeLog
index 48372b6..8973068 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,425 @@
+2007-04-06  Bruno Haible  <bruno@clisp.org>
+
+       * modules/signbit-tests: New file.
+       * tests/test-signbit.c: New file.
+
+       * modules/signbit: New file.
+       * lib/signbitf.c: New file.
+       * lib/signbitd.c: New file.
+       * lib/signbitl.c: New file.
+       * m4/signbit.m4: New file.
+       * lib/math_.h (gl_signbitf, gl_signbitd, gl_signbitl): New declarations.
+       (signbit): New macro.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_SIGNBIT and
+       REPLACE_SIGNBIT.
+       * modules/math (Makefile.am) Substibute also GNULIB_SIGNBIT and
+       REPLACE_FREXPL into math.h.
+
+2007-04-06  Bruno Haible  <bruno@clisp.org>
+
+       * modules/isnanf-nolibm-tests: New file.
+       * tests/test-isnanf.c: New file.
+
+       * modules/isnanf-nolibm: New file.
+       * lib/isnanf.h: New file.
+       * lib/isnanf.c: New file.
+       * lib/isnan.c: Consider the USE_FLOAT macro.
+       * m4/isnanf.m4: New file.
+
+2007-04-06  Bruno Haible  <bruno@clisp.org>
+
+       * modules/gettext-h (configure.ac): AC_SUBST LIBINTL and LTLIBINTL.
+       (Link): New section.
+
+       * modules/canonicalize-lgpl-tests (Makefile.am): Undo last change.
+
+2007-04-06  Bruno Haible  <bruno@clisp.org>
+
+       Assume the 'long double' type.
+       * m4/longdouble.m4: Remove file.
+       * config/srclist.txt: Don't mention longdouble.m4.
+       * lib/allocsa.h: Assume HAVE_LONG_DOUBLE to be true.
+       * lib/float+.h: Likewise.
+       * lib/frexp.c: Likewise.
+       * lib/printf-args.h: Likewise.
+       * lib/printf-args.c: Likewise.
+       * lib/printf-frexp.c: Likewise.
+       * lib/printf-parse.c: Likewise.
+       * lib/vasnprintf.c: Likewise.
+       * m4/allocsa.m4: Remove gt_TYPE_LONGDOUBLE invocation.
+       * m4/intl.m4: Likewise.
+       * m4/isnanl.m4: Likewise.
+       * m4/printf.m4: Likewise.
+       * m4/printf-frexpl.m4: Likewise.
+       * m4/vasnprintf.m4: Likewise.
+       * modules/allocsa (Files): Remove m4/longdouble.m4.
+       * modules/gettext (Files): Likewise.
+       * modules/relocatable-prog-wrapper (Files): Likewise.
+       * modules/vasnprintf (Files): Likewise.
+       * modules/isnanl (Files): Likewise.
+       (Include): Simplify.
+       * modules/isnanl-nolibm (Files): Remove m4/longdouble.m4.
+       (Include): Simplify.
+       * modules/printf-frexpl (Files): Remove m4/longdouble.m4.
+       (Include): Simplify.
+       * modules/snprintf-posix-tests (Files): Remove m4/longdouble.m4.
+       (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation.
+       * modules/sprintf-posix-tests (Files): Remove m4/longdouble.m4.
+       (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation.
+       * modules/vasnprintf-posix-tests (Files): Remove m4/longdouble.m4.
+       (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation.
+       * modules/vasprintf-posix-tests (Files): Remove m4/longdouble.m4.
+       (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation.
+       * modules/vsnprintf-posix-tests (Files): Remove m4/longdouble.m4.
+       (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation.
+       * modules/vsprintf-posix-tests (Files): Remove m4/longdouble.m4.
+       (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation.
+       * tests/test-isnanl-nolibm.c: Assume HAVE_LONG_DOUBLE to be true.
+       * tests/test-isnanl.c: Likewise.
+       * tests/test-snprintf-posix.h: Likewise.
+       * tests/test-sprintf-posix.h: Likewise.
+       * tests/test-vasnprintf-posix.c: Likewise.
+       * tests/test-vasnprintf-posix2.c: Likewise.
+       * tests/test-vasprintf-posix.c: Likewise.
+
+2007-04-06  Bruno Haible  <bruno@clisp.org>
+
+       Fix problem with Compaq (ex-DEC) Desktop C compiler on Tru64.
+       * lib/math_.h [__DECC]: Include the overridden include file through
+       #include_next, outside the double-inclusion guard.
+       * lib/stdio_.h [__DECC]: Likewise.
+       * lib/stdlib_.h [__DECC]: Likewise.
+       * lib/string_.h [__DECC]: Likewise.
+       * lib/time_.h [__DECC]: Likewise.
+       * lib/wchar_.h [__DECC]: Likewise.
+       * lib/wctype_.h [__DECC]: Likewise.
+       * lib/inttypes_.h [__DECC]: Likewise.
+       Reported by Albert Chin <china@thewrittenword.com> in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2007-04/msg00088.html>.
+
+2007-04-04  Eric Blake  <ebb9@byu.net>
+
+       * m4/stdint.m4 (gl_STDINT_H): Detect WINT_MAX bug in cygwin
+       1.5.x.
+
+2007-04-04  Bruno Haible  <bruno@clisp.org>
+
+       * m4/printf.m4 (gl_PRINTF_DIRECTIVE_A): Add a test for correct
+       rounding. Don't assume that FreeBSD 6 and NetBSD 4 pass this test.
+
+2007-04-04  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-vasnprintf-posix.c (test_function): Allow two possible
+       results for "%010a" of Infinity and NaN.
+       * tests/test-vasprintf-posix.c (test_function): Likewise.
+       * tests/test-snprintf-posix.h (test_function): Likewise.
+       * tests/test-sprintf-posix.h (test_function): Likewise.
+       * tests/test-fprintf-posix.h (test_function): Remove these tests.
+       * tests/test-printf-posix.h (test_function): Likewise.
+       * tests/test-fprintf-posix.out: Update.
+       Needed for FreeBSD 6.1.
+
+2007-04-04  Bruno Haible  <bruno@clisp.org>
+
+       * DEPENDENCIES: Remove mentions of tar and gzip, since they are not
+       directly used by the gnulib modules nor by gnulib-tool.
+
+2007-04-04  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * DEPENDENCIES: Give overall description of version dependency
+       desirability.  Use more-typical names for apps.
+       Add shell, coreutils, diffutils, grep, tar, gzip.
+
+2007-04-04  Simon Josefsson  <simon@josefsson.org>
+
+       * MODULES.html.sh: Rename crypto modules.  Remove iconvme.
+
+2007-04-04  Karl Berry  <karl@gnu.org>
+
+       * MODULES.html.sh (func_module): missing '.
+
+2007-04-03  Bruno Haible  <bruno@clisp.org>
+
+       * modules/argmatch-tests (Makefile.am): New variable
+       test_argmatch_LDADD.
+       * modules/argp-tests (Makefile.am): New variable test_argp_LDADD.
+       * modules/array-list-tests (Makefile.am): New variable
+       test_array_list_LDADD.
+       * modules/array-oset-tests (Makefile.am): New variable
+       test_array_oset_LDADD.
+       * modules/avltree-list-tests (Makefile.am): New variable
+       test_avltree_list_LDADD.
+       * modules/avltree-oset-tests (Makefile.am): New variable
+       test_avltree_oset_LDADD.
+       * modules/avltreehash-list-tests (Makefile.am): New variable
+       test_avltreehash_list_LDADD.
+       * modules/canonicalize-lgpl-tests (Makefile.am): New variable
+       test_canonicalize_lgpl_LDADD.
+       * modules/carray-list-tests (Makefile.am): New variable
+       test_carray_list_LDADD.
+       * modules/dirname-tests (Makefile.am): New variable
+       test_dirname_LDADD.
+       * modules/linked-list-tests (Makefile.am): New variable
+       test_linked_list_LDADD.
+       * modules/linkedhash-list-tests (Makefile.am): New variable
+       test_linkedhash_list_LDADD.
+       * modules/rbtree-list-tests (Makefile.am): New variable
+       test_rbtree_list_LDADD.
+       * modules/rbtree-oset-tests (Makefile.am): New variable
+       test_rbtree_oset_LDADD.
+       * modules/rbtreehash-list-tests (Makefile.am): New variable
+       test_rbtreehash_list_LDADD.
+       * modules/xvasprintf-tests (Makefile.am): New variable
+       test_xvasprintf_LDADD.
+       Reported by Eric Blake.
+
+2007-04-03  Eric Blake  <ebb9@byu.net>
+
+       * DEPENDENCIES: Weaken m4 requirements.
+
+2007-04-03  Bruno Haible  <bruno@clisp.org>
+
+       * modules/frexp-tests (configure.ac): Remove AC_SUBST.
+       * modules/isnanl-tests (configure.ac): Likewise.
+
+2007-04-03  Ben Pfaff  <blp@gnu.org>
+
+       * modules/iconv_open: Add $(srcdir)/ to source directory
+       references in Makefile fragments that call gperf, to fix VPATH
+       builds.
+
+2007-04-03  Bruno Haible  <bruno@clisp.org>
+
+       * modules/ldexpl (Depends-on): Add isnanl, remove isnanl-nolibm.
+       * lib/ldexpl.c: Undo last change.
+
+2007-04-03  Bruno Haible  <bruno@clisp.org>
+
+       * modules/printf-frexpl (Depends-on): Undo last change.
+       (Files): Add m4/ldexpl.m4.
+
+2007-04-03  Bruno Haible  <bruno@clisp.org>
+
+       * m4/isnanl.m4 (gl_FUNC_ISNANL): Substitute ISNANL_LIBM.
+       * modules/isnanl (Link): New section.
+
+       * m4/frexp.m4 (gl_FUNC_FREXP): Substitute FREXP_LIBM.
+       * modules/frexp (Link): New section.
+
+       * m4/frexpl.m4 (gl_FUNC_FREXPL): Substitute FREXPL_LIBM.
+       * modules/frexpl (Link): New section.
+
+       * m4/ldexpl.m4 (gl_FUNC_LDEXPL): Substitute LDEXPL_LIBM.
+       * modules/ldexpl (Link): New section.
+
+2007-04-03  Bruno Haible  <bruno@clisp.org>
+
+       * modules/TEMPLATE-EXTENDED: New file.
+       * gnulib-tool (func_all_modules, func_verify_module): Exclude it.
+
+2007-04-03  Bruno Haible  <bruno@clisp.org>
+
+       * DEPENDENCIES: New file.
+       Suggested by Simon Josefsson.
+
+2007-04-03  Bruno Haible  <bruno@clisp.org>
+
+       * doc/gnulib.texi: Escape @.
+
+2007-04-03  James Youngman  <jay@gnu.org>
+       and Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/stat-time.h (get_stat_birthtime): Check for zero-valued
+       birthtime on all systems that have birthtime, not just those which
+       use st_birthtimensec rather than st_birthtim.  Putting zero in
+       st_birthtim.tv_sec is how (for example) FreeBSD/x86 6.1 indicates
+       that the birth time is not available for files on an NFS mount.
+
+2007-04-03  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/memxor: Move back from crypto/, suggested by Bruno.
+       * modules/crypto/hmac-sha1: Fix memxor dependency.
+
+       * modules/crypto/gc: Moved from ../.
+
+2007-04-02  Eric Blake  <ebb9@byu.net>
+
+       * lib/ldexpl.c (includes): Avoid libm.
+
+       * modules/printf-frexpl (Depends-on): Depend on ldexpl.
+
+2007-04-02  Bruno Haible  <bruno@clisp.org>
+
+       * lib/sysexit_.h (EX_OK): Disable the EX_OK definition from <unistd.h>
+       on IRIX.
+
+2007-04-02  Bruno Haible  <bruno@clisp.org>
+
+       * m4/intdiv0.m4 (gt_INTDIV0): Avoid performing the test for real on
+       x86 or x86_64 platforms running MacOS X.
+       Reported by Ryan Schmidt <@ryandesign.com>.
+
+2007-04-02  Bruno Haible  <bruno@clisp.org>
+
+       * m4/intdiv0.m4 (gt_INTDIV0): When cross-compiling, treat x86_64 like
+       i386.
+
+2007-04-01  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/crypto/arcfour: Moved from ../.
+       * modules/crypto/arcfour-tests: Moved from ../.
+       * modules/crypto/arctwo: Moved from ../.
+       * modules/crypto/arctwo-tests: Moved from ../.
+       * modules/crypto/des: Moved from ../.
+       * modules/crypto/des-tests: Moved from ../.
+       * modules/crypto/gc-arcfour: Moved from ../.
+       * modules/crypto/gc-arcfour-tests: Moved from ../.
+       * modules/crypto/gc-arctwo: Moved from ../.
+       * modules/crypto/gc-arctwo-tests: Moved from ../.
+       * modules/crypto/gc-des: Moved from ../.
+       * modules/crypto/gc-des-tests: Moved from ../.
+       * modules/crypto/gc-hmac-md5: Moved from ../.
+       * modules/crypto/gc-hmac-md5-tests: Moved from ../.
+       * modules/crypto/gc-hmac-sha1: Moved from ../.
+       * modules/crypto/gc-hmac-sha1-tests: Moved from ../.
+       * modules/crypto/gc-md2: Moved from ../.
+       * modules/crypto/gc-md2-tests: Moved from ../.
+       * modules/crypto/gc-md4: Moved from ../.
+       * modules/crypto/gc-md4-tests: Moved from ../.
+       * modules/crypto/gc-md5: Moved from ../.
+       * modules/crypto/gc-md5-tests: Moved from ../.
+       * modules/crypto/gc-pbkdf2-sha1: Moved from ../.
+       * modules/crypto/gc-pbkdf2-sha1-tests: Moved from ../.
+       * modules/crypto/gc-random: Moved from ../.
+       * modules/crypto/gc-rijndael: Moved from ../.
+       * modules/crypto/gc-rijndael-tests: Moved from ../.
+       * modules/crypto/gc-sha1: Moved from ../.
+       * modules/crypto/gc-sha1-tests: Moved from ../.
+       * modules/crypto/gc-tests: Moved from ../.
+       * modules/crypto/hmac-md5: Moved from ../.
+       * modules/crypto/hmac-md5-tests: Moved from ../.
+       * modules/crypto/hmac-sha1: Moved from ../.
+       * modules/crypto/hmac-sha1-tests: Moved from ../.
+       * modules/crypto/md2: Moved from ../.
+       * modules/crypto/md2-tests: Moved from ../.
+       * modules/crypto/md4: Moved from ../.
+       * modules/crypto/md4-tests: Moved from ../.
+       * modules/crypto/md5: Moved from ../.
+       * modules/crypto/md5-tests: Moved from ../.
+       * modules/crypto/memxor: Moved from ../.
+       * modules/crypto/rijndael: Moved from ../.
+       * modules/crypto/rijndael-tests: Moved from ../.
+       * modules/crypto/sha1: Moved from ../.
+
+2007-03-30  James Youngman  <jay@gnu.org>
+
+       * tests/test-stat-time.c (prepare_test): use chmod() rather than
+       rename() to change the ctime of a file (because ctime is unaffected
+       by rename on jfs2 on AIX 5.1).
+       (main): Start by doing cleanup, in case a previous run failed leaving
+       test files behind.
+
+2007-03-31  Bruno Haible  <bruno@clisp.org>
+
+       Support old proprietary implementations of iconv.
+       * modules/iconv_open: New file.
+       * lib/iconv_.h: New file.
+       * m4/iconv_h.m4: New file.
+       * lib/iconv_open.c: New file.
+       * lib/iconv_open-aix.gperf: New file.
+       * lib/iconv_open-hpux.gperf: New file.
+       * lib/iconv_open-irix.gperf: New file.
+       * lib/iconv_open-osf.gperf: New file.
+       * m4/iconv_open.m4: New file.
+       * modules/linebreak (Depends-on): Add iconv_open.
+       * modules/striconv (Depends-on): Likewise.
+       * modules/striconveh (Depends-on): Likewise.
+       * modules/unicodeio (Depends-on): Likewise.
+       * lib/striconveh.h (mem_cd_iconveh, str_cd_iconveh): Allow cd to be
+       (iconv_t)(-1).
+       * lib/striconveh.c (mem_cd_iconveh_internal): Use an indirect
+       conversion if cd is (iconv_t)(-1).
+       (mem_iconveh, str_iconveh): Don't fail just because a direct conversion
+       is not possible.
+
+2007-03-31  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-striconveha.c (main): Don't expect "autodetect_jp" to
+       work on Solaris either. Protect also second use of "autodetect_jp".
+
+2007-03-31  Bruno Haible  <bruno@clisp.org>
+
+       * m4/frexpl.m4 (gl_FUNC_FREXPL): Set HAVE_DECL_FREXPL to 0 when
+       the function is not present.
+
+2007-03-31  Bruno Haible  <bruno@clisp.org>
+
+       * m4/ldexpl.m4 (gl_FUNC_LDEXPL): Set HAVE_DECL_LDEXPL to 0 when
+       the function is not present.
+
+2007-03-31  Bruno Haible  <bruno@clisp.org>
+
+       * m4/iconv.m4 (AM_ICONV_LINK): Fix 2007-03-29 patch. Test also against
+       a bug in HP-UX iconv_open().
+
+2007-03-31  Bruno Haible  <bruno@clisp.org>
+
+       * MODULES.html.sh (func_module): Don't show gnulib-common.m4.
+       (Mathematics <math.h>): New section, add fpieee.
+       (Input/output <stdio.h>): Add fseterr.
+       (Mathematics <math.h>): New section, add printf-frexp.
+       (Container data structures): Add sublist.
+       (Core language properties): Add fpucw, inline.
+       (Functions for greatest-width integer types <inttypes.h>): Add
+       imaxabs, imaxdiv, inttypes.
+       (Mathematics <math.h>): Add frexp, frexpl, isnan-nolibm, isnanl,
+       isnanl-nolibm, ldexp.
+       (Mathematics <math.h>): New section, add printf-frexpl.
+       (Support for systems lacking POSIX:2001): Add fprintf-posix,
+       printf-posix, snprintf-posix, sprintf-posix, string, search, socklen,
+       sys_select, sys_socket, vasnprintf-posix, vasprintf-posix,
+       vfprintf-posix, vprintf-posix, vsnprintf-posix, vsprintf-posix.
+       (Unicode string functions): Add unistr/u*-mbtoucr.
+       (Java): Add javacomp-script, javaexec-script.
+       (C#): Add csharpcomp-script, csharpexec-script.
+       (Support for building libraries and executables): Add havelib,
+       relocatable-*.
+       (Support for maintaining and releasing projects): Renamed from
+       'Support for maintaining and release projects'. Add announce-gen.
+
+2007-03-31  Bruno Haible  <bruno@clisp.org>
+
+       * README: Talk primarily about git.
+       (git and CVS): Renamed from CVS.
+       * doc/gnulib.texi (Introduction, Build robot for gnulib): Mention that
+       gnulib is available through git.
+       * doc/gnulib-tool.texi (CVS Issues): Mention git and svn as well.
+
+2007-03-30  Bruno Haible  <bruno@clisp.org>
+
+       * lib/alloca_.h: Change prefix of double-inclusion guard macro to _GL_.
+       * lib/poll_.h: Likewise.
+       * lib/stat_.h: Likewise.
+       * lib/sys_time_.h: Likewise.
+       * lib/sysexit_.h: Likewise.
+       * lib/glob_.h: Prefix double-inclusion guard macro with _GL_.
+       * lib/stdbool_.h: Likewise.
+       * lib/byteswap_.h: Add double-inclusion guard.
+
+2007-03-30  Sergey Poznyakoff  <gray@mirddin.farlep.net>
+
+       * lib/sysexit_.h: Prefix double-inclusion guard macro with _GNULIB.
+
+2007-03-30  Karl Berry  <karl@gnu.org>
+
+       * config/srclist-update: double space after USA in the license
+       substitution, since that's how it's usually (?) written.
+
+2007-03-30  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/write-any-file.c (can_write_any_file): Fix else-else bug
+       reported by Bruno Haible.
+
 2007-03-29  Bruno Haible  <bruno@clisp.org>
 
        * m4/iconv.m4 (AM_ICONV_LINK): Require AC_CANONICAL_HOST. Test against
        * m4/isc-posix.m4: New file.
 
 1998-05-10  Jim Meyering  <meyering@ascend.com>
-
-       * m4/jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
-
-1998-05-09  Jim Meyering  <meyering@ascend.com>
-
-       * m4/Makefile.am (EXTRA_DIST): Add ssize_t.m4.
-       (EXTRA_DIST): Remove mktime.m4, now that the new version is included
-       with automake.
-
-       * m4/ssize_t.m4: New file.
-       * m4/mktime.m4: Remove file -- the new automake has this now.
-
-1998-04-26  Jim Meyering  <meyering@ascend.com>
-
-       * m4/assert.m4: New file.
-       * m4/Makefile.am (EXTRA_DIST): Add assert.m4.
-
-1998-04-05  Jim Meyering  <meyering@ascend.com>
-
-       * m4/prereq.m4 (jm_PREREQ_REGEX): New macro.
-       (jm_PREREQ): Use it here.
-
-1998-03-23  Jim Meyering  <meyering@eng.ascend.com>
-
-       * m4/inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
-       in acconfig.h.
-
-1998-03-15  Jim Meyering  <meyering@eng.ascend.com>
-
-       * m4/prereq.m4: New file.
-       * m4/error.m4: New file.
-       * m4/Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
-
-1998-02-07  Jim Meyering  <meyering@eng.ascend.com>
-
-       * m4/getline.m4: Don't set am_cv_func_working_getline before the
-       cache-check for the same variable -- that defeated the purpose of
-       the test; the test program was never run.  This was a problem only
-       on systems with losing getline functions -- HP-UX 10.20 is one.
-       Reported by Bjorn Helgaas.
-
-1998-02-06  Jim Meyering  <meyering@eng.ascend.com>
-
-       * m4/Makefile.am (EXTRA_DIST): Add perl.m4.
-
-1998-01-10  Jim Meyering  <meyering@na-net.ornl.gov>
-
-       * m4/Makefile.am (EXTRA_DIST): Add const.m4.
-
-       * m4/const.m4: New file.  Use an initializer in this declaration
-       typedef int charset[2]; const charset x;
-       Reported by Bob Glickstein.
-
-1997-12-21  Jim Meyering  <meyering@na-net.ornl.gov>
-
-       * m4/chown.m4: Fix reversed types on -1 args to chown.
-       From Kaveh Ghazi.
-
-1997-12-14  Jim Meyering  <meyering@na-net.ornl.gov>
-
-       * m4/check-decl.m4: s/DECLARATION_/DECL_/g.
-       Add lseek and memchr.
-
-       * m4/decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
-       T.E.Dickey <dickey@clark.net> said that some older preprocessors
-       have a 20-character limit on names.
-
-1997-11-30  Jim Meyering  <meyering@na-net.ornl.gov>
-
-       * m4/inttypes_h.m4: New file.
-       * m4/uintmax_t.m4: New file.
-       * m4/Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
-
-Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
-  Free Software Foundation, Inc.
-Copying and distribution of this file, with or without modification,
-are permitted provided the copyright notice and this notice are preserved.