* build-aux/gitlog-to-changelog: Use committer date, not author date.
[gnulib.git] / ChangeLog
index 9f7c35d..911eaaa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,259 @@
+2008-02-10  Jim Meyering  <meyering@redhat.com>
+
+       * build-aux/gitlog-to-changelog: Use committer date, not author date.
+
+       xstrtol_error: Fix typo.
+       * lib/xstrtol-error.c (xstrtol_error): The parameter was unused:
+       s/exit_failure/exit_status/.
+
+2008-02-08  Jim Meyering  <meyering@redhat.com>
+
+       Avoid two "parameter unused" warnings.
+       * lib/stat-time.h (get_stat_birthtime_ns, get_stat_birthtime):
+       Mark "st" as used.
+
+       Use "git COMMAND", not "git-COMMAND".
+       * build-aux/bootstrap (version_controlled_file): s/git-rm/git-rm/.
+       * build-aux/announce-gen (get_tool_versions): Correct a diagnostic.
+       * build-aux/git-version-gen: Use "git status", not "git-status".
+
+2008-02-07  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (VASNPRINTF): Don't use %n on native Woe32 systems.
+       Avoids a crash on Windows Vista.
+       Reported by Simon Josefsson <simon@josefsson.org>.
+
+2008-02-06  Bruno Haible  <bruno@clisp.org>
+
+       Fix *printf behaviour regarding the left-adjust flag on HP-UX 10.20.
+       * m4/printf.m4 (gl_PRINTF_FLAG_LEFTADJUST): New macro.
+       * lib/vasnprintf.c (VASNPRINTF): Handle NEED_PRINTF_FLAG_LEFTADJUST.
+       * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST): New macro.
+       (gl_PREREQ_VASNPRINTF_WITH_EXTRAS): Invoke it.
+       * m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_POSIX): Invoke
+       gl_PRINTF_FLAG_LEFTADJUST and test its result. Invoke
+       gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST.
+       * m4/snprintf-posix.m4 (gl_FUNC_SNPRINTF_POSIX): Likewise.
+       * m4/sprintf-posix.m4 (gl_FUNC_SPRINTF_POSIX): Likewise.
+       * m4/vasnprintf-posix.m4 (gl_FUNC_VASNPRINTF_POSIX): Likewise.
+       * m4/vasprintf-posix.m4 (gl_FUNC_VASPRINTF_POSIX): Likewise.
+       * m4/vfprintf-posix.m4 (gl_FUNC_VFPRINTF_POSIX): Likewise.
+       * m4/vsnprintf-posix.m4 (gl_FUNC_VSNPRINTF_POSIX): Likewise.
+       * m4/vsprintf-posix.m4 (gl_FUNC_VSPRINTF_POSIX): Likewise.
+       * tests/test-vasnprintf-posix.c (test_function): Add testcases for the
+       left-adjust flag.
+       * tests/test-snprintf-posix.h (test_function): Likewise.
+       * tests/test-sprintf-posix.h (test_function): Likewise.
+       * tests/test-vasprintf-posix.c (test_function): Likewise.
+       * doc/posix-functions/fprintf.texi: Update.
+       * doc/posix-functions/printf.texi: Update.
+       * doc/posix-functions/snprintf.texi: Update.
+       * doc/posix-functions/sprintf.texi: Update.
+       * doc/posix-functions/vfprintf.texi: Update.
+       * doc/posix-functions/vprintf.texi: Update.
+       * doc/posix-functions/vsnprintf.texi: Update.
+       * doc/posix-functions/vsprintf.texi: Update.
+       Reported by Peter Fales <psfales@alcatel-lucent.com>.
+
+2008-02-06  Bruno Haible  <bruno@clisp.org>
+
+       Fix bug introduced on 2008-01-26.
+       * lib/isnan.c (FUNC): Set to rpl_isnand, not rpl_isnan.
+
+2008-02-06  Bruno Haible  <bruno@clisp.org>
+
+       Fix bug introduced on 2007-06-10.
+       * lib/vasnprintf.c (VASNPRINTF): Perform zero-padding also if
+       !NEED_PRINTF_FLAG_ZERO.
+
+2008-02-05  Peter O'Gorman <pogma@thewrittenword.com>
+
+       getloadavg: use libperfstat on AIX5
+       * lib/getloadavg.c, m4/getloadavg.m4 [aix]: Use libperfstat
+
+2008-02-03  Bruno Haible  <bruno@clisp.org>
+
+       * lib/diffseq.h: Add comments about required #includes.
+       Reported by Michael Biggs <gnulib@doubleplum.net>.
+
+2008-02-01  Bruno Haible  <bruno@clisp.org>
+
+       * users.txt: Add gnuit.
+
+2008-01-31  Bruno Haible  <bruno@clisp.org>
+
+       * lib/md4.c (set_uint32): Mark as inline.
+       * lib/md5.c (set_uint32): Likewise.
+       * lib/sha1.c (set_uint32): Likewise.
+       * m4/md4.m4 (gl_MD4): Require AC_C_INLINE.
+       * m4/md5.m4 (gl_MD5): Likewise.
+       * m4/sha1.m4 (gl_SHA1): Likewise.
+
+2008-01-31  Jim Meyering  <meyering@redhat.com>
+
+       Use "sizeof VAR", rather than a literal "4".
+       * lib/md5.c (md5_read_ctx): Use sizeof ctx->A, not 4.
+       * lib/md4.c (md4_read_ctx): Likewise.
+       * lib/sha1.c (sha1_read_ctx): Likewise.
+
+2008-01-31  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-sha1.c: New file, based on test-md5.c.
+
+       * modules/crypto/sha1-tests: New file.
+
+2008-01-31  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/sha1.h (SHA1_DIGEST_SIZE): Define.
+
+2008-01-31  Jim Meyering  <meyering@redhat.com>
+
+       Prefer "sizeof v" over the equivalent "4".
+       * lib/md4.c (set_uint32): Use "sizeof v" as memcpy length, not 4.
+       * lib/md5.c (set_uint32): Likewise.
+       * lib/sha1.c (set_uint32): Likewise.
+
+2008-01-31  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/sha1.c (set_uint32): Mark function as static.
+
+2008-01-31  Simon Josefsson  <simon@josefsson.org>
+
+       md2: clarify comments to say that alignment is not required.
+       * lib/md2.h: Remove warning about alignment in comment.
+       * lib/md2.c (md2_read_ctx, md2_finish_ctx): Doc fix, alignment has
+       never been required.
+
+2008-01-31  Simon Josefsson  <simon@josefsson.org>
+
+       md4: adapt alignment constraint fix from sha1.
+       * lib/md4.c (set_uint32): New function, from sha1.c
+       (md4_read_ctx): Use it.
+       (md4_finish_ctx): Doc fix.
+       * lib/md4.h: Doc fix.
+
+2008-01-31  Simon Josefsson  <simon@josefsson.org>
+
+       md5: adapt alignment constraint fix from sha1.
+       * lib/md5.c (set_uint32): New function, from sha1.c
+       (md5_read_ctx): Use it.
+       (md5_finish_ctx): Doc fix.
+       * lib/md5.h: Doc fix.
+
+2008-01-30  Peter Palfrader  <weasel@debian.org>
+
+       sha1: remove the result buffer alignment constraint
+       * lib/sha1.c (set_uint32): New function.
+       (sha1_read_ctx): Rewrite to remove the result buffer alignment
+       constraint.
+       (sha1_finish_ctx): Remove comment warning about alignment constraint.
+       * lib/sha1.h: Likewise.
+
+2008-01-30  Andreas Schwab  <schwab@suse.de>
+            Bruno Haible  <bruno@clisp.org>
+
+       * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Include <float.h> and ensure a
+       correct definition of LDBL_MIN_EXP.
+
+2008-01-30  Karl Berry  <karl@gnu.org>
+
+       * config/srclist-update: try to preserve x bit on updates.
+       * config/srclistvars.sh: update for karl.
+
+2008-01-29  Jim Meyering  <meyering@redhat.com>
+
+       vasnprintf.c: Avoid warning about unused label
+       * lib/vasnprintf.c (VASNPRINTF) [!USE_SNPRINTF]: Guard the
+       "overflow" label definition and associated code with the
+       same cpp condition that guards the sole use of that label.
+
+2008-01-26  Bruno Haible  <bruno@clisp.org>
+
+       * m4/isnanl.m4 (gl_HAVE_ISNANL_NO_LIBM, gl_HAVE_ISNANL_IN_LIBM,
+       gl_FUNC_ISNANL_WORKS): Test the GCC >= 4.0 built-in.
+       * lib/isnanl.h (isnanl): Use the GCC >= 4.0 built-in.
+       * lib/isnanl-nolibm.h (isnanl): Likewise.
+       Reported by Paul Eggert <eggert@cs.ucla.edu>.
+
+2008-01-26  Bruno Haible  <bruno@clisp.org>
+
+       * m4/isnand.m4 (gl_FUNC_ISNAND_NO_LIBM): Test the GCC >= 4.0 built-in.
+       * lib/isnand.h (isnand): Use the GCC >= 4.0 built-in.
+
+2008-01-26  Bruno Haible  <bruno@clisp.org>
+
+       * m4/isnanf.m4 (gl_HAVE_ISNANF_NO_LIBM, gl_ISNANF_WORKS): Test the
+       GCC >= 4.0 built-in.
+       * lib/isnanf.h (isnanf): Use the GCC >= 4.0 built-in.
+
+2008-01-26  Bruno Haible  <bruno@clisp.org>
+
+       Rename isnan, applicable to 'double' only, to isnand.
+       * modules/isnand-nolibm: Renamed from modules/isnan-nolibm.
+       (Files): Add lib/isnand.h, lib/isnand.c. Remove lib/isnan.h.
+       (configure.ac): Update.
+       (Include): Replace "isnan.h" with "isnand.h".
+       * m4/isnand.m4: Renamed from m4/isnan.m4.
+       (gl_FUNC_ISNAND_NO_LIBM): Renamed from gl_FUNC_ISNAN_NO_LIBM. Set
+       HAVE_ISNAND_IN_LIBC instead of HAVE_ISNAN_IN_LIBC. Build isnand.c
+       instead of isnan.c.
+       * lib/isnand.h: Renamed from lib/isnan.h. Test HAVE_ISNAND_IN_LIBC
+       instead of HAVE_ISNAN_IN_LIBC.
+       (isnand): Renamed from isnan.
+       * lib/isnand.c: New file.
+       * modules/isnand-nolibm-tests: Renamed from modules/isnan-nolibm-tests.
+       (Files): Add tests/test-isnand.c. Remove tests/test-isnan.c.
+       (Makefile.am): Update.
+       * tests/test-isnand.c: Renamed from tests/test-isnan.c.
+       Include isnand.h instead of isnan.h.
+       (main): Test isnand instead of isnan.
+       * modules/fprintf-posix (Depends-on): Add isnand-nolibm, remove
+       isnan-nolibm.
+       * modules/frexp (Depends-on): Likewise.
+       * modules/frexp-tests (Depends-on): Likewise.
+       * modules/frexp-nolibm (Depends-on): Likewise.
+       * modules/frexp-nolibm-tests (Depends-on): Likewise.
+       * modules/isfinite (Depends-on): Likewise.
+       * modules/round-tests (Depends-on): Likewise.
+       * modules/signbit (Depends-on): Likewise.
+       * modules/signbit-tests (Depends-on): Likewise.
+       * modules/snprintf-posix (Depends-on): Likewise.
+       * modules/sprintf-posix (Depends-on): Likewise.
+       * modules/trunc-tests (Depends-on): Likewise.
+       * modules/unistdio/u8-vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/u8-u8-vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/u16-vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/u16-u16-vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/u32-vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/u32-u32-vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/ulc-vasnprintf (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.
+       * lib/frexp.c: Include isnand.h instead of isnan.h.
+       (ISNAN): Set to isnand instead of isnan.
+       * lib/isfinite.c: Include isnand.h instead of isnan.h.
+       (gl_isfinited): Use isnand instead of isnan.
+       * lib/signbitd.c: Include isnand.h instead of isnan.h.
+       (gl_signbitd): Use isnand instead of isnan.
+       * lib/vasnprintf.c: Include isnand.h instead of isnan.h.
+       (is_infinite_or_zero, VASNPRINTF): Use isnand instead of isnan.
+       * tests/test-frexp.c: Include isnand.h instead of isnan.h.
+       (main): Use isnand instead of isnan.
+       * tests/test-round1.c: Include isnand.h.
+       (main): Use isnand instead of isnan.
+       * tests/test-round2.c: Include isnand.h instead of isnan.h.
+       (ISNAN): Set to isnand instead of isnan.
+       * tests/test-trunc1.c: Include isnand.h.
+       (main): Use isnand instead of isnan.
+       * tests/test-trunc2.c: Include isnand.h instead of isnan.h.
+       (equal): Use isnand instead of isnan.
+       * MODULES.html.sh (Mathematics <math.h>): Replace isnan-nolibm with
+       isnand-nolibm.
+       * NEWS: Mention the change.
+
 2008-01-25  Paul Eggert  <eggert@cs.ucla.edu>
             Bruno Haible  <bruno@clisp.org>