Use faster, branchless algorithm for non-GCC case.
[gnulib.git] / ChangeLog
index f1b7a7b..2e06c93 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,295 @@
+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.