Remove the wcwidth.h file. Move wcwidth's declaration to wchar_.h.
[pspp] / ChangeLog
index 0e234dc699d5d7a9410e66d0bc0e0c3ea3448484..35b4e12cfed0993f58168f105cb0d887961afe51 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,157 @@
+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.
+
+2007-07-07  Bruno Haible  <bruno@clisp.org>
+
+       * lib/uniname.h: New file, from GNU gettext.
+       * lib/uniname/gen-uninames.lisp: New file, from GNU gettext.
+       * lib/uniname/uninames.h: New file, from GNU gettext.
+       * lib/uniname/uniname.c: New file, from GNU gettext.
+       * tests/uniname/test-uninames.sh: New file.
+       * tests/uniname/test-uninames.c: New file, from GNU gettext.
+       * tests/uniname/UnicodeDataNames.txt: New file, from GNU gettext.
+       * modules/uniname/base: New file.
+       * modules/uniname/uniname: New file.
+       * modules/uniname/uniname-tests: New file.
+       * MODULES.html.sh (Unicode string functions): Add the new modules.
+
+2007-07-06  Bruno Haible  <bruno@clisp.org>
+
+       * doc/Makefile (TEXI2HTML): Specify a --reference-limit.
+
+2007-07-06  Bruno Haible  <bruno@clisp.org>
+
+       * lib/sys_time_.h: Use a recursion-safe inclusion guard rather than
+       a split double-inclusion guard. Needed for cygwin, where <sys/time.h>
+       includes <cygwin/sys_time.h> which includes <sys/select.h> which
+       include <sys/time.h>.
+       Reported by Eric Blake.
+
+2007-07-06  Eric Blake  <ebb9@byu.net>
+
+       Fix testing canonicalize on cygwin.
+       * modules/canonicalize-lgpl-tests (test_canonicalize_lgpl_LDADD):
+       Revert patch from 2007-06-19.
+       * tests/test-canonicalize-lgpl.c (main): Instead, skip test when
+       canonicalize module is also in use.
+       * tests/test-canonicalize.c: New file.
+       * tests/test-canonicalize.sh: Likewise.
+       * modules/canonicalize-tests: Likewise.
+
+2007-07-06  Jim Meyering  <jim@meyering.net>
+
+       * lib/getugroups.c (getugroups): Detect getgrent failure.
+       Adjust comment to reflect reality: this function may return -1.
+
+2007-07-05  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       * build-aux/bootstrap (TP_URL,get_translations): Update to use
+       the new TP address.
+       (usage): Fix typo
+       (gnulib_mk): New variable.
+
+2007-07-05  Jim Meyering  <jim@meyering.net>
+
+       Don't let endgrent clobber errno, no matter how improbable.
+       * lib/getugroups.c (getugroups): Save and restore errno around
+       endgrent call.
+
+       Close the group DB even when failing with 2^31 or more members.
+       * lib/getugroups.c (getugroups): Don't return without calling endgrent.
+
+2007-07-04  Jim Meyering  <jim@meyering.net>
+
+       * lib/getugroups.h: New file.
+       * lib/getugroups.c: Include "getugroups.h".
+       Remove uses of "register" keyword.
+       Move local variable, "cp", down into scope where used.
+       Give "username" parameter the "const" attribute.
+       * modules/getugroups (Files): Add lib/getugroups.h
+
+2007-07-04  Karl Berry  <karl@gnu.org>
+
+       * MODULES.html.sh (func_all_modules): Complete rename of
+       gpl/lgpl to gpl-2.0 and lgpl-2.1, and add gpl-3.0.
+
 2007-07-02  Bruno Haible  <bruno@clisp.org>
 
        * m4/inttypes.m4 (gl_INTTYPES_H): Define __STDC_LIMIT_MACROS in C++