* lib/count-one-bits.h: Add comments. (From Bruno Haible.)
[gnulib.git] / ChangeLog
index cd0c69e..db8ece6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,142 @@
+2007-08-14  Ben Pfaff  <blp@gnu.org>
+
+       * lib/count-one-bits.h: Add comments.  From Bruno Haible.
+
+2007-08-14  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/count-one-bits.h: Don't include <limits.h>; no longer needed
+       given the changes below.
+       (COUNT_ONE_BITS): Use 'verify' rather than 'verify_true'.  Work
+       even on hosts that have padding bits beyond the supported 64.
+
+2007-08-10  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * NEWS: In xstrtol, remove STRTOL_FATAL_ERROR and add xstrtol_fatal.
+       * lib/xstrtol.h: Don't include exitfail.h; that's now internal to
+       xstrtol.c.  Include getopt.h, since xstrtol_fatal's signature
+       depends on it.
+       (xstrtol_error): Remove.
+       (xstrtol_fatal): New decl, replacing the functionality of xstrtol_error
+       but with a different signature.
+       (ATTRIBUTE_NORETURN, __attribute__): New macros.
+       * lib/xstrtol-error.c: Include exitfail.h.
+       (xstrtol_fatal): New function, with a different signature from the
+       old xstrtol_error, so that the caller need not worry about passing
+       in an exit status, or about storage management of the option argument.
+       (xstrtol_error): Now a static function.  Redo signature to
+       implement xstrtol_fatal.  Output the correct number of hyphens in
+       front of the option so that the caller need not worry about
+       storage management.
+       (N_): New macro.
+       (_): Remove; not used now.
+       * modules/xstrtol: Depend on getopt.
+       * tests/test-xstrtol.c (main): Use new xstrtol_error function instead
+       of old STRTOL_FATAL_ERROR macro.
+       * tests/test-xstrtol.sh (t-xstrtol.xo): Adjust to match new behavior
+       of test program.
+       * tests/test-xstrtoimax.sh (t-xstrtoimax.xo): Likewise.
+       * tests/test-xstrtoumax.sh (t-xstrtoumax.xo): Likewise.
+
+2007-08-08  Eric Blake  <ebb9@byu.net>
+
+       * lib/xstrtol-error.c: Add missing include.
+
+       Move xstrtol messages into gnulib domain, when --pobase is used.
+       * lib/xstrtol.h (_STRTOL_ERROR): Move messages out of macro...
+       * lib/xstrtol-error.c (xstrtol_error): ...into new file.
+       * modules/xstrtol (Files): Distribute new file.
+       * m4/xstrtol.m4 (gl_XSTRTOL): Build new file.
+       * lib/xstrtol.c (TESTING_XSTRTO): Move tests...
+       * tests/test-xstrtol.c: ...into new file.
+       * tests/test-xstrtoul.c: Also test xstrtoul.
+       * tests/test-xstrtoimax.c: Also test xstrtoimax.
+       * tests/test-xstrtoumax.c: Also test xstrtoumax.
+       * tests/test-xstrtol.sh: Drive the tests.
+       * tests/test-xstrtoimax.sh: Likewise.
+       * tests/test-xstrtoumax.sh: Likewise.
+       * modules/xstrtol-tests: New module.
+       * modules/xstrtoimax-tests: Likewise.
+       * modules/xstrtoumax-tests: Likewise.
+
+2007-08-08  Jim Meyering  <jim@meyering.net>
+
+       New function: mfile_name_concat.
+       * lib/filenamecat.c (mfile_name_concat): New function, just like
+       file_name_concat, but return NULL upon failure rather than exiting
+       with a diagnostic.
+       * lib/filenamecat.h: Declare it.
+
+2007-08-07  Bruno Haible  <bruno@clisp.org>
+
+       * m4/inttypes.m4 (gl_INTTYPES_H): Use GL_TRIGGER_STDC_LIMIT_MACROS
+       instead of __STDC_LIMIT_MACROS_TRIGGER. This avoids a redefinition
+       warning from gcc.
+       Reported by Eric Blake.
+
+2007-08-07  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/crypto/arctwo (License): Use the synonymous term "LGPLv2+".
+       * modules/crypto/arcfour (License): Likewise.
+       * modules/crypto/des-tests (License): Likewise.
+       * modules/crypto/gc-arctwo-tests (License): Likewise.
+       * modules/crypto/gc-des-tests (License): Likewise.
+       * modules/crypto/gc-hmac-md5-tests (License): Likewise.
+       * modules/crypto/gc-hmac-sha1-tests (License): Likewise.
+       * modules/crypto/gc-md2-tests (License): Likewise.
+       * modules/crypto/gc-md4-tests (License): Likewise.
+       * modules/crypto/gc-md5-tests (License): Likewise.
+       * modules/crypto/gc-pbkdf2-sha1-tests (License): Likewise.
+       * modules/crypto/gc-rijndael-tests (License): Likewise.
+       * modules/crypto/gc-sha1-tests (License): Likewise.
+       * modules/crypto/gc-tests (License): Likewise.
+       * modules/crypto/hmac-md5 (License): Likewise.
+       * modules/crypto/hmac-sha1 (License): Likewise.
+       * modules/crypto/md2-tests (License): Likewise.
+       * modules/crypto/md4-tests (License): Likewise.
+       * modules/crypto/md5 (License): Likewise.
+       * modules/crypto/rijndael (License): Likewise.
+       * modules/crypto/sha1 (License): Likewise.
+       * modules/memxor (License): Likewise.
+
+2007-08-06  Paul Eggert  <eggert@cs.ucla.edu>
+       and Bruno Haible  <bruno@clisp.org>
+
+       * NEWS: Describe interface changes to human, xstrtol.
+       * lib/human.h: Include <xstrtol.h>.
+       (human_options): Return enum strtol_error, not int.  Remove
+       bool arg; take int * instead.
+       * lib/human.c: Don't include "gettext.h".
+       (_): Remove; no longer used.
+       Don't include <xstrtol.h>, since human.h does it.
+       (human_options): Adjust to abovementioned interface changes.
+       Do not report error to stderr; that's now the caller's
+       responsibility.
+       * lib/xstrtol.c (main) [defined TESTING_XSTRTO]: Adjust to
+       interface change.
+       * lib/xstrtol.h (_STRTOL_ERROR): Take Option, Arg rather than
+       Str, Argument_type_string.  All uses changed.  Put " argument"
+       in diagnostics to make them clearer.  Change wording of suffix
+       message for clarity.
+       (STRTOL_FATAL_ERROR): Take Option, Arg rather than Str,
+       Argument_type_string.
+       (STRTOL_FATAL_WARN): Remove; no longer used.
+       * modules/human (Depends-on): Remove gettext-h.
+
+2007-08-06  Simon Josefsson  <simon@josefsson.org>
+
+       * build-aux/maint.mk, build-aux/GNUmakefile: Relicense to GPLv3+.
+
+2007-07-31  Bruno Haible  <bruno@clisp.org>
+
+       * m4/stdint.m4 (gl_STDINT_H): Test whether WCHAR_MIN and WCHAR_MAX
+       are defined by <stdint.h> (as opposed to <wchar.h>, as on Dragonfly).
+       Reported by Joerg Sonnenberger <joerg@britannica.bec.de>.
+
+2007-07-31  Bruno Haible  <bruno@clisp.org>
+
+       * lib/fflush.c (rpl_fflush): On BSD systems, use the __SNPT flag.
+       Suggested by Joerg Sonnenberger <joerg@britannica.bec.de>.
+
 2007-07-30  Bruno Haible  <bruno@clisp.org>
 
        * modules/base64 (License): Use the synonymous term "LGPLv2+".