* lib/count-one-bits.h: Add comments. (From Bruno Haible.)
[gnulib.git] / ChangeLog
index 0fb640e..db8ece6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,71 @@
+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