* lib/count-one-bits.h: Add comments. (From Bruno Haible.)
[gnulib.git] / ChangeLog
index 8607aa5..db8ece6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,551 @@
+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+".
+       * modules/c-ctype (License): Likewise.
+       * modules/c-strcase (License): Likewise.
+       * modules/check-version (License): Likewise.
+       * modules/iconv (License): Likewise.
+       * modules/iconv_open (License): Likewise.
+       * modules/read-file (License): Likewise.
+       * modules/striconv (License): Likewise.
+       * modules/strverscmp (License): Likewise.
+       * modules/vasprintf (License): Likewise.
+       * modules/crypto/des (License): Likewise.
+       * modules/crypto/gc (License): Likewise.
+       * modules/crypto/gc-arcfour (License): Likewise.
+       * modules/crypto/gc-arctwo (License): Likewise.
+       * modules/crypto/gc-des (License): Likewise.
+       * modules/crypto/gc-hmac-md5 (License): Likewise.
+       * modules/crypto/gc-hmac-sha1 (License): Likewise.
+       * modules/crypto/gc-md2 (License): Likewise.
+       * modules/crypto/gc-md4 (License): Likewise.
+       * modules/crypto/gc-md5 (License): Likewise.
+       * modules/crypto/gc-pbkdf2-sha1 (License): Likewise.
+       * modules/crypto/gc-random (License): Likewise.
+       * modules/crypto/gc-rijndael (License): Likewise.
+       * modules/crypto/gc-sha1 (License): Likewise.
+       * modules/crypto/md2 (License): Likewise.
+       * modules/crypto/md4 (License): Likewise.
+
+2007-07-30  Jim Meyering  <jim@meyering.net>
+
+       * lib/fts.c (fts_read): Upon failure to chdir into a subdirectory,
+       set fts_info to FTS_DNR, not to FTS_ERR, so that the caller knows
+       it has valid stat data.  This bug would cause du not to count the
+       sizes of inaccessible directories.
+       Patch by Bryan Mason <bmason@redhat.com>, via Jose Maria Plans
+       in <http://bugzilla.redhat.com/250077>.
+
+2007-07-25  Peter O'Gorman  <peter@pogma.com>
+           Bruno Haible  <bruno@clisp.org>
+
+       * m4/include_next.m4 (gl_INCLUDE_NEXT): Test whether #include_next
+       really works. Needed because AIX 4.3 "xlc -E" doesn't understand
+       #include_next, gives a diagnostic about it, but reports no error in
+       the exit code.
+       Reported by Gary V. Vaughan <gary@thewrittenword.com>.
+
+2007-07-24  Ben Pfaff  <blp@gnu.org>
+
+       Improve name: "count-one-bits" is better than "popcount".
+       * MODULES.html.sh: Update name.
+       * lib/popcount.h: Renamed lib/count-one-bits.h.
+       (popcount): Renamed count_one_bits.
+       (popcountl): Renamed count_one_bits_l.
+       (popcountll): Renamed count_one_bits_ll.
+       * m4/popcount.m4: Renamed m4/count-one-bits.m4.
+       * modules/popcount: Renamed module/count-one-bits.
+       * modules/popcount-tests: Renamed module/count-one-bits-tests.
+       * tests/test-popcount.c: Renamed tests/test-count-one-bits.c.
+
+2007-07-23  Ben Pfaff  <blp@gnu.org>
+
+       * lib/popcount.h (popcount32): Reduce size of constants, to allow
+       better code generation, and add U to large constants to avoid
+       warnings, in non-GCC case.
+       Suggested by Bruno Haible.
+
+2007-07-23  Ben Pfaff  <blp@gnu.org>
+
+       * lib/popcount.h: Use verify_true instead of if...abort.
+       * modules/popcount: Depend on verify module.
+       Suggested by Jim Meyering.
+
+2007-07-23  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Create a .cvsignore file also when the
+       directory is not yet in CVS but the toplevel directory is. When
+       creating a .cvsignore file, add ".deps" and ".dirstamp" to it.
+       Reported by Karl Berry.
+
+2007-07-22  Ben Pfaff  <blp@gnu.org>
+
+       * lib/popcount.h: Use faster, branchless algorithm for non-GCC
+       case.
+       Suggested by Eric Blake.
+
+2007-07-22  Ben Pfaff  <blp@gnu.org>
+
+       New module: popcount.
+       * MODULES.html.sh: Add popcount.
+       * modules/popcount: New file.
+       * modules/popcount-tests: New file.
+       * tests/test-popcount.c: New file.
+       * lib/popcount.h: New file.
+       * m4/popcount.m4: New file.
+
+2007-07-22  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * build-aux/announce-gen: Update to GPLv3.
+
+       * build-aux/config.guess: Update from config.
+
+2007-07-21  Bruno Haible  <bruno@clisp.org>
+
+       * lib/error.c (_) [ENABLE_NLS]: Define to gettext.
+       * lib/verror.c (_) [ENABLE_NLS]: Likewise.
+
+2007-07-20  Jim Meyering  <jim@meyering.net>
+
+       * check-module: Diagnose a self-dependency.
+
+2007-07-19  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Don't abort if pobase or po_domain is
+       empty.
+       Reported by Eric Blake.
+
+2007-07-18  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool: New options --po-base, --po-domain.
+       (func_usage): Document them.
+       (pobase, po_domain): New variables.
+       (func_emit_lib_Makefile_am): Augment AM_CPPFLAGS, defining
+       DEFAULT_TEXT_DOMAIN.
+       (func_emit_po_Makevars, func_emit_po_POTFILES_in): New functions.
+       (func_import): Consider pobase and po_domain. Create a po/ directory.
+       (func_create_testdir): Set pobase and po_domain to empty.
+       * build-aux/po/Makefile.in.in: New file, from GNU gettext 0.16.1.
+       * build-aux/po/remove-potcdate.sin: New file, from GNU gettext 0.16.1.
+
+2007-07-18  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_get_automake_snippet): Synthesize also an
+       EXTRA_DIST augmentation for files in build-aux/.
+
+2007-07-16  Bruno Haible  <bruno@clisp.org>
+
+       * modules/lseek (License): Use the synonymous term "LGPLv2+".
+       * modules/getdelim (License): Likewise.
+
+2007-07-16  Yoann Vandoorselaere  <yoann.v@prelude-ids.com>
+
+       * modules/arpa_inet (License): Use the synonymous term LGPLv2+.
+       * modules/d-type (License): Likewise.
+       * modules/extensions (License): Likewise.
+       * modules/fnmatch (License): Likewise.
+       * modules/fseeko (License): Likewise.
+       * modules/getaddrinfo (License): Likewise.
+       * modules/getline (License): Likewise.
+       * modules/getlogin_r (License): Likewise.
+       * modules/getpass (License): Likewise.
+       * modules/gettimeofday (License): Likewise.
+       * modules/glob (License): Likewise.
+       * modules/inet_ntop (License): Likewise.
+       * modules/malloc (License): Likewise.
+       * modules/malloca (License): Likewise.
+       * modules/memmem (License): Likewise.
+       * modules/mempcpy (License): Likewise.
+       * modules/memset (License): Likewise.
+       * modules/minmax (License): Likewise.
+       * modules/mktime (License): Likewise.
+       * modules/netinet_in (License): Likewise.
+       * modules/pathmax (License): Likewise.
+       * modules/poll (License): Likewise.
+       * modules/regex (License): Likewise.
+       * modules/snprintf (License): Likewise.
+       * modules/stdbool (License): Likewise.
+       * modules/stdint (License): Likewise.
+       * modules/stdio (License): Likewise.
+       * modules/strcase (License): Likewise.
+       * modules/strcasestr (License): Likewise.
+       * modules/strdup (License): Likewise.
+       * modules/string (License): Likewise.
+       * modules/strndup (License): Likewise.
+       * modules/strnlen (License): Likewise.
+       * modules/strpbrk (License): Likewise.
+       * modules/strptime (License): Likewise.
+       * modules/strsep (License): Likewise.
+       * modules/sys_select (License): Likewise.
+       * modules/sys_socket (License): Likewise.
+       * modules/sys_stat (License): Likewise.
+       * modules/sys_time (License): Likewise.
+       * modules/time (License): Likewise.
+       * modules/time_r (License): Likewise.
+       * modules/timegm (License): Likewise.
+       * modules/unistd (License): Likewise.
+       * modules/vsnprintf (License): Likewise.
+       * modules/wctype (License): Likewise.
+
+2007-07-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * modules/argz (License): LGPLv2+.
+
+2007-07-15  Karl Berry  <karl@gnu.org>
+
+       * doc/gnulib.texi: revise node structure per new fdl.texi.
+
+2007-07-14  Bruno Haible  <bruno@clisp.org>
+
+       * lib/uniname/gen-uninames.lisp (main): Emit a "do not edit" line to
+       the output file.
+       * lib/uniname/uninames.h: Regenerated.
+
+2007-07-14  Karl Berry  <karl@gnu.org>
+
+       * doc/*gpl*.texi, doc/fdl.texi: new versions, consistently
+       omitting sectioning and index commands.
+
+2007-07-13  Bruno Haible  <bruno@clisp.org>
+
+       New gnulib-tool option --more-symlinks.
+       * gnulib-tool (func_usage): Document --more-symlinks.
+       (do_copyrights): New variable.
+       Recognize option --more-symlinks.
+       (func_import): Don't add a copyright notice transform to
+       sed_transform_lib_file if do_copyrights is empty.
+
+2007-07-13  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (decimal_point_char): Define also if
+       (NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE)
+       && !NEED_PRINTF_DIRECTIVE_A.
+       Reported by Clemens Koller <clemens.koller@anagramm.de> via
+       Gary V. Vaughan <gary@gnu.org>.
+
+2007-07-13  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/inttypes_.h: Undo previous change, since it was fixed
+       in a different way in the 2007-07-02 fix to m4/inttypes.m4.
+
+2007-07-13  Bruno Haible  <bruno@clisp.org>
+
+       * lib/stdint_.h: Fix typo: _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H was
+       misspelled as _GL_JUST_INCLUDE_ABSOLUTE_INTTYPES_H.
+
+2007-07-13  Jim Meyering  <jim@meyering.net>
+
+       df: Don't fail for Tru64's "file-on-file mount".
+       * m4/fsusage.m4 (gl_FSUSAGE): Reject Tru64's buggy statvfs,
+       so we fall through and use statfs instead.  Details here:
+       <http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/10878>
+       Reported by Albert Chin.
+
+2007-07-13  Bruno Haible  <bruno@clisp.org>
+
+       * modules/alloca-opt (License): Use the synonymous term "LGPLv2+".
+       * modules/configmake (License): Likewise.
+       * modules/gettext (License): Likewise.
+       * modules/gettext-h (License): Likewise.
+       * modules/include_next (License): Likewise.
+       * modules/link-warning (License): Likewise.
+       * modules/localcharset (License): Likewise.
+       * modules/localename (License): Likewise.
+       * modules/lock (License): Likewise.
+       * modules/relocatable-lib-lgpl (License): Likewise.
+       * modules/size_max (License): Likewise.
+       * modules/vasnprintf (License): Likewise.
+       * modules/wchar (License): Likewise.
+       * modules/xsize (License): Likewise.
+
+2007-07-13  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Treat LGPLv2 as synonymous to LGPL.
+       (func_create_testdir): Handle copying terms "GPLv2+" and "LGPLv2+".
+
+2007-07-12  Bruno Haible  <bruno@clisp.org>
+
+       * doc/gnulib-intro.texi (Copyright): Clarify the license abbreviations
+       in the modules files.
+
+2007-07-11  Karl Berry  <karl@gnu.org>
+
+       * MODULES.html.sh (func_module): use
+        sed -e '\|^'"${includefile}"'$|d'
+        instead of /.../d, to avoid errors on $includefile's containing /.
+
+2007-07-10  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       * gnulib-tool (func_import): Avoid duplication of --avoid
+       statements
+       (func_dest_tmpfilename,func_create_testdir): Translate `-' in file
+       names to `_' in variable names.
+
+2007-07-10  Eric Blake  <ebb9@byu.net>
+
+       * lib/version-etc.c (version_etc_va): Default to GPLv3+.
+       * NEWS: Document this change.
+
+2007-07-08  Bruno Haible  <bruno@clisp.org>
+
+       Update to Unicode 5.0.
+       * lib/uniwidth/width.c (nonspacing_table_data): Add U+00AD,
+       U+0350..U+035F, U+05A2, U+05BA, U+05C5, U+05C7, U+0600..U+0603,
+       U+0610..U+0615, U+0656..U+065E, U+07EB..U+07F3, U+0A01, U+0AE2..U+0AE3,
+       U+0CBC. Remove U+0CBF, U+0CC6. Add U+0CE2..U+0CE3, U+135F,
+       U+17B4..U+17B5, U+17DD. Remove U+180E. Add U+1920..U+1922,
+       U+1927..U+192B, U+1932, U+1939..U+193B, U+1A17..U+1A18, U+1B00..U+1B03,
+       U+1B34, U+1B36..U+1B3A, U+1B3C, U+1B42, U+1B6B..U+1B73, U+1DC0..U+1DCA,
+       U+1DFE..U+1DFF, U+20EB..U+20EF, U+A802, U+A806, U+A80B, U+A825..U+A826,
+       U+10A01..U+10A03, U+10A05..U+10A06, U+10A0C..U+10A0F, U+10A38..U+10A3A,
+       U+10A3F, U+1D242..U+1D244.
+       (nonspacing_table_ind): Update.
+       (uc_width): Assign width 0 to U+E0100..U+E01EF. Assign width 1 to
+       U+4DC0..U+4DFF. Assign width 2 to U+2329..U+232A, U+FE10..U+FE1F.
+
+2007-07-08  Bruno Haible  <bruno@clisp.org>
+
+       Update to Unicode 5.0.
+       * lib/uniname/gen-uninames.lisp (main): Add the range 0x12xxx to the
+       code transform. Extend the name index field of unicode_name_to_code and
+       unicode_code_to_name from 16 to 24 bits.
+       * lib/uniname/uniname.c (unicode_character_name,
+       unicode_name_character): Add the range 0x12xxx to the code transform.
+       * lib/uniname/uninames.h: Regenerated.
+       * tests/uniname/UnicodeDataNames.txt: Update to Unicode 5.0.
+
+2007-07-07  Bruno Haible  <bruno@clisp.org>
+
+       * modules/wcwidth-tests: New file.
+       * tests/test-wcwidth.c: New file.
+
+       Work around MacOS X wcwidth() bug.
+       * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Test against MacOS X 10.3 bug.
+       * lib/wcwidth.c: Include localcharset.h, streq.h, uniwidth.h.
+       (rpl_wcwidth): Special-case the UTF-8 locales. Fall back to the
+       original wcwidth in non-UTF-8 locales.
+       * modules/wcwidth (Depends-on): Add localcharset, streq,
+       uniwidth/width.
+       * doc/functions/wcwidth.texi: Update.
+
+2007-07-07  Bruno Haible  <bruno@clisp.org>
+
+       * lib/wchar_.h: Include the GL_LINK_WARNING macro.
+       (wcwidth): New declaration.
+       * m4/wchar.m4 (gl_WCHAR_MODULE_INDICATOR, gl_WCHAR_H_DEFAULTS): New
+       macros.
+       (gl_WCHAR_H): Require gl_WCHAR_H_DEFAULTS. Don't set WCHAR_H to empty
+       here. Prepare for creating <wchar.h> unconditionally.
+       * modules/wchar (Depends-on): Add link-warning.
+       (Makefile.am): Substitute also GNULIB_WCWIDTH, HAVE_DECL_WCWIDTH,
+       REPLACE_WCWIDTH, and GL_LINK_WARNING.
+       * lib/wcwidth.h: Remove file.
+       * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Require gl_WCHAR_H_DEFAULTS. Set
+       HAVE_DECL_WCWIDTH, REPLACE_WCWIDTH, WCHAR_H.
+       * modules/wcwidth (Files): Remove lib/wcwidth.h.
+       (configure.ac): Invoke gl_WCHAR_MODULE_INDICATOR.
+       (Include): Replace wcwidth.h with <wchar.h>.
+       * lib/wcwidth.c: Include <wchar.h> instead of wcwidth.h.
+       * lib/mbchar.h: Don't include wcwidth.h.
+       * lib/mbswidth.c: Likewise.
+       * NEWS: Mention the change.
+
+2007-07-07  Bruno Haible  <bruno@clisp.org>
+
+       * lib/wcwidth.c: New file, extracted from lib/wcwidth.h.
+       * lib/wcwidth.h: Don't include wctype.h. Replace inline function
+       definition with an external declaration.
+       * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Use wcwidth.c when wcwidth is not
+       defined as a function. Remove AC_C_INLINE requirement.
+       * modules/wcwidth (Files): Add lib/wcwidth.c.
+       (Makefile.am): Remove redundant statement.
+
 2007-07-07  Bruno Haible  <bruno@clisp.org>
 
+       * MODULES.html.sh (Unicode string functions): Add the new modules.
+
+       * tests/uniwidth/test-u32-strwidth.c: New file.
+       * modules/uniwidth/u32-strwidth-tests: New file.
+
+       * lib/uniwidth/u32-strwidth.c: New file.
+       * modules/uniwidth/u32-strwidth: New file.
+
+       * tests/uniwidth/test-u16-strwidth.c: New file.
+       * modules/uniwidth/u16-strwidth-tests: New file.
+
+       * lib/uniwidth/u16-strwidth.c: New file.
+       * modules/uniwidth/u16-strwidth: New file.
+
+       * tests/uniwidth/test-u8-strwidth.c: New file.
+       * modules/uniwidth/u8-strwidth-tests: New file.
+
+       * lib/uniwidth/u8-strwidth.c: New file.
+       * modules/uniwidth/u8-strwidth: New file.
+
+       * tests/uniwidth/test-u32-width.c: New file.
+       * modules/uniwidth/u32-width-tests: New file.
+
+       * lib/uniwidth/u32-width.c: New file.
+       * modules/uniwidth/u32-width: New file.
+
+       * tests/uniwidth/test-u16-width.c: New file.
+       * modules/uniwidth/u16-width-tests: New file.
+
+       * lib/uniwidth/u16-width.c: New file.
+       * modules/uniwidth/u16-width: New file.
+
+       * tests/uniwidth/test-u8-width.c: New file.
+       * modules/uniwidth/u8-width-tests: New file.
+
+       * lib/uniwidth/u8-width.c: New file.
+       * modules/uniwidth/u8-width: New file.
+
+       * tests/uniwidth/test-uc_width.c: New file.
+       * modules/uniwidth/width-tests: New file.
+
+       * lib/uniwidth/width.c: New file, from GNU libiconv.
+       * lib/uniwidth/cjk.h: New file, from GNU libiconv.
+       * modules/uniwidth/width: New file.
+
        * lib/uniwidth.h: New file, from GNU libiconv.
        * modules/uniwidth/base: New file.
 
        * modules/sprintf-posix (Dependencies): Add stdint.
        * modules/vsprintf-posix (Dependencies): Likewise.
 
-2007-07-01  Bruno Haible <bruno@clisp.org>
+2007-07-01  Bruno Haible  <bruno@clisp.org>
 
        * gnulib-tool (self_abspathname): Determine PATH_SEPARATOR and handle
        Windows PATH as well. Conservative double-quoting. Comments.
 
-2007-07-01  Bruno Haible <bruno@clisp.org>
+2007-07-01  Bruno Haible  <bruno@clisp.org>
            Eric Blake  <ebb9@byu.net>
            Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>