Remove the wcwidth.h file. Move wcwidth's declaration to wchar_.h.
[gnulib.git] / ChangeLog
index 93e5564..35b4e12 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,111 @@
+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.