New module 'fbufmode'.
[gnulib.git] / ChangeLog
index bb1e913..7a25315 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,345 @@
+2007-04-13  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fbufmode: New file.
+       * lib/fbufmode.h: New file.
+       * lib/fbufmode.c: New file.
+       * m4/fbufmode.m4: New file.
+
+2007-04-13  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fwritable-tests: New file.
+       * tests/test-fwritable.c: New file.
+
+       * modules/fwritable: New file.
+       * lib/fwritable.h: New file.
+       * lib/fwritable.c: New file.
+       * m4/fwritable.m4: New file.
+
+2007-04-13  Bruno Haible  <bruno@clisp.org>
+
+       * modules/freadable-tests: New file.
+       * tests/test-freadable.c: New file.
+
+       * modules/freadable: New file.
+       * lib/freadable.h: New file.
+       * lib/freadable.c: New file.
+       * m4/freadable.m4: New file.
+
+2007-04-13  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fflush-tests (Makefile.am): Remove EXTRA_DIST. Augment
+       MOSTLYCLEANFILES.
+
+2007-04-13  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * build-aux/bootstrap (gnulib_tool_option_extras): New var, used by
+       gzip bootstrap.conf to avoid dragging in i18n machinery.
+       (gnulib_tool_option): Use it.
+
+2007-04-13  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-vasnprintf-posix.c (test_function): Add tests for %f and
+       %F directives.
+       * 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): Likewise.
+       * tests/test-printf-posix.h (test_function): Likewise.
+       * tests/test-fprintf-posix.out: Likewise.
+
+2007-04-13  Bruno Haible  <bruno@clisp.org>
+
+       * modules/lock-tests (configure.ac): For LIBSCHED, try also -lposix4.
+       * modules/tls-tests (configure.ac): Likewise.
+       Reported by Arto C. Nirkko <anirkko@insel.ch>.
+
+2007-04-13  Bruno Haible  <bruno@clisp.org>
+
+       * lib/tls.c (glthread_tls_get): Fix return type.
+       Patch by Arto C. Nirkko <anirkko@insel.ch>.
+
+2007-04-12  Eric Blake  <ebb9@byu.net>
+
+       * modules/gettime (Depends-on): Remove gettime.
+       Reported by Dmitry V. Levin.
+
+2007-04-12  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fflush (Include): Mention <stdio.h>.
+       * modules/strtoimax (Include): Mention <inttypes.h>.
+       * modules/strtoumax (Include): Likewise.
+
+2007-04-12  Eric Blake  <ebb9@byu.net>
+
+       * .cvsignore: New file.
+       * .gitignore: Likewise.
+
+2007-04-12  Bruno Haible  <bruno@clisp.org>
+
+       * modules/iconv-tests (test_iconv_LDADD): Mention -liconv after LDADD,
+       not before, since $(LDADD) often contains libgnu.a.
+       * modules/striconv-tests (test_striconv_LDADD): Likewise.
+       * modules/striconveh-tests (test_striconveh_LDADD): Likewise.
+       * modules/striconveha-tests (test_striconveha_LDADD): Likewise.
+       Needed on Cygwin.
+
+2007-04-12  Eric Blake  <ebb9@byu.net>
+
+       Work around glibc's failure to flush stdin on fclose.
+       * lib/closein.c (close_stdin): Flush stdin before closing.
+
+       Work around glibc's failure to reset seekable stdin on exit.
+       * modules/closein: New module.
+       * lib/closein.c: New file.
+       * lib/closein.h: Likewise.
+       * m4/closein.m4: Likewise.
+       * MODULES.html.sh (File stream based Input/Output): Document it.
+
+2007-04-12  Simon Josefsson  <simon@josefsson.org>
+
+       * gnulib-tool: Rename generated 'autobuild' script to
+       'do-autobuild' in --create-megatestdir output.
+
+       * doc/gnulib.texi (Build robot for gnulib): Fix.
+
+2007-04-12  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/sysexits (Depends-on): Add absolute-header.
+
+2007-04-12  Eric Blake  <ebb9@byu.net>
+
+       No need to preserve errno on success.
+       * lib/fflush.c (rpl_fflush): Simplify errno tracking.
+       Reported by Bruno Haible.
+
+2007-04-12  Simon Josefsson  <simon@josefsson.org>
+
+       * MODULES.html.sh (Support for maintaining and releasing
+       projects): Add autobuild.  Suggested by Eric Blake <ebb9@byu.net>.
+
+2007-04-12  Simon Josefsson  <simon@josefsson.org>
+
+       * gnulib-tool (func_modules_add_dummy): Respect --avoid=dummy.
+
+2007-04-12  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/autobuild: New module.
+
+       * m4/autobuild.m4: New file.
+
+2007-04-11  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (VASNPRINTF): Implement the %F directive using the
+       %f directive, if NEED_PRINTF_DIRECTIVE_F is defined.
+       * m4/printf.m4 (gl_PRINTF_DIRECTIVE_F): New macro.
+       * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_DIRECTIVE_F): New macro.
+       * m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_POSIX): Invoke
+       gl_PRINTF_DIRECTIVE_F. Test gl_cv_func_printf_directive_f. Invoke
+       gl_PREREQ_VASNPRINTF_DIRECTIVE_F for the replacement.
+       * m4/snprintf-posix.m4 (gl_FUNC_SNPRINTF_POSIX): Invoke
+       gl_PRINTF_DIRECTIVE_F. Test gl_cv_func_printf_directive_f. Invoke
+       gl_PREREQ_VASNPRINTF_DIRECTIVE_F for the replacement.
+       * m4/sprintf-posix.m4 (gl_FUNC_SPRINTF_POSIX): Invoke
+       gl_PRINTF_DIRECTIVE_F. Test gl_cv_func_printf_directive_f. Invoke
+       gl_PREREQ_VASNPRINTF_DIRECTIVE_F for the replacement.
+       * m4/vasnprintf-posix.m4 (gl_FUNC_VASNPRINTF_POSIX): Invoke
+       gl_PRINTF_DIRECTIVE_F. Test gl_cv_func_printf_directive_f. Invoke
+       gl_PREREQ_VASNPRINTF_DIRECTIVE_F for the replacement.
+       * m4/vasprintf-posix.m4 (gl_FUNC_VASPRINTF_POSIX): Invoke
+       gl_PRINTF_DIRECTIVE_F. Test gl_cv_func_printf_directive_f. Invoke
+       gl_PREREQ_VASNPRINTF_DIRECTIVE_F for the replacement.
+       * m4/vfprintf-posix.m4 (gl_FUNC_VFPRINTF_POSIX): Invoke
+       gl_PRINTF_DIRECTIVE_F. Test gl_cv_func_printf_directive_f. Invoke
+       gl_PREREQ_VASNPRINTF_DIRECTIVE_F for the replacement.
+       * m4/vsnprintf-posix.m4 (gl_FUNC_VSNPRINTF_POSIX): Invoke
+       gl_PRINTF_DIRECTIVE_F. Test gl_cv_func_printf_directive_f. Invoke
+       gl_PREREQ_VASNPRINTF_DIRECTIVE_F for the replacement.
+       * m4/vsprintf-posix.m4 (gl_FUNC_VSPRINTF_POSIX): Invoke
+       gl_PRINTF_DIRECTIVE_F. Test gl_cv_func_printf_directive_f. Invoke
+       gl_PREREQ_VASNPRINTF_DIRECTIVE_F for the replacement.
+       Reported by Eric Blake.
+
+2007-04-11  Bruno Haible  <bruno@clisp.org>
+
+       * m4/printf.m4 (gl_PRINTF_DIRECTIVE_A): Fix test. It always failed.
+
+2007-04-10  Bruno Haible  <bruno@clisp.org>
+
+       * m4/printf.m4 (gl_PRINTF_DIRECTIVE_A): Add a test for correct result
+       for NaN and Infinity. Needed on FreeBSD 6.1.
+       * tests/test-vasnprintf-posix.c (test_function): Undo last change
+       regarding 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): Likewise.
+       * tests/test-printf-posix.h (test_function): Likewise.
+       * tests/test-fprintf-posix.out: Likewise.
+
+2007-04-10  Bruno Haible  <bruno@clisp.org>
+
+       * modules/locale-tests: New file.
+       * tests/test-locale.c: New file.
+
+       * modules/locale: New file.
+       * lib/locale_.h: New file.
+       * m4/locale_h.m4: New file.
+
+2007-04-10  Paul Eggert  <eggert@cs.ucla.edu>
+            Bruno Haible  <bruno@clisp.org>
+
+       * m4/signbit.m4 (gl_SIGNBIT): When the sign bit position could not
+       be determined, test for availability of the copysignf, copysign,
+       copysignl functions.
+       * lib/signbitf.c (gl_signbitf): Use copysignf if available in libc.
+       * lib/signbitd.c (gl_signbitd): Use copysign if available in libc.
+       * lib/signbitl.c (gl_signbitl): Use copysignl if available in libc.
+
+2007-04-09  Eric Blake  <ebb9@byu.net>
+
+       * lib/stdio_.h [REPLACE_FFLUSH]: Declare rpl_fflush.
+       * modules/stdio (Makefile.am): Support fflush.
+       * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Likewise.
+       * modules/fflush: New file.
+       * lib/fflush.c: Likewise.
+       * m4/fflush.m4: Likewise.
+       * modules/fflush-tests: New test.
+       * tests/test-fflush.c: Likewise.
+       * MODULES.html.sh (Input/output <stdio.h>): Document new module.
+
+2007-04-06  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c: Include <math.h>. Don't include float+.h.
+       (VASNPRINTF): Use signbit for faster determination whether to print a
+       minus sign.
+       * modules/vasnprintf (Files): Remove lib/float+.h.
+       * modules/fprintf-posix (Depends-on): Add signbit.
+       * 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.
+
+2007-04-06  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-frexp.c (main): Test also the sign bit of zero results.
+       * tests/test-frexpl.c (main): Likewise.
+       * tests/test-ldexpl.c (main): Likewise.
+       * modules/frexp-tests (Depends-on): Add signbit.
+       * modules/frexpl-tests (Depdends-on): Likewise.
+       * modules/ldexpl-tests (Depdends-on): Likewise.
+
+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
@@ -6,6 +348,7 @@
        * 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.
 
        * 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.