update regex to use the emulated mb*/wc* functions
[gnulib.git] / ChangeLog
index 0fc5e4d..49ac738 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,165 @@
+2008-12-22  Paolo Bonzini  <bonzini@gnu.org>
+
+       * modules/regex: Request emulations for the mb*/wc* functions we need.
+       * m4/regex.m4: Don't look for those functions here.
+       * lib/regex_internal.h: Do not check HAVE_WCRTOMB and HAVE_MBRTOWC.
+
+2008-12-22  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fnmatch (Depends-on): Remove duplicated dependency.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       Make mbiter.h, mbuiter.h, mbfile.h usable unconditionally.
+       * modules/mbiter (Depends-on): Add mbrtowc, mbsinit.
+       (Include): Remove conditionalization.
+       * modules/mbuiter (Depends-on): Add mbrtowc, mbsinit.
+       (Include): Remove conditionalization.
+       * modules/mbfile (Depends-on): Add mbrtowc, mbsinit.
+       (Include): Remove conditionalization.
+       * m4/mbiter.m4 (gl_MBITER): Deprecate the use of AC_FUNC_MBRTOWC.
+       * m4/mbfile.m4 (gl_MBFILE): Likewise.
+       * NEWS: Mention the change.
+       Reported by Alan Hourihane <alanh@fairlite.co.uk>
+       via Sergey Poznyakoff <gray@gnu.org.ua>.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       * MODULES.html.sh (Extended multibyte and wide character utilities
+       <wchar.h>): Add btowc, wctob, mbsinit, mbrlen, mbrtowc, mbsrtowcs,
+       wcrtomb, wcsrtombs.
+       (Support for systems lacking POSIX:2008): Add accept, bind, close,
+       connect, fclose, getpeername, getsockname, getsockopt, hostent, listen,
+       mbsnrtowcs, posix_spawn*, recv, recvfrom, sched, select, send, sendto,
+       setsockopt, shutdown, socket, spawn, sys_wait, wcsnrtombs, write.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       * MODULES.html.sh: Change section titles to refer to POSIX:2008.
+
 2008-12-21  Bruno Haible  <bruno@clisp.org>
 
+       * modules/wcsnrtombs-tests: New file.
+       * tests/test-wcsnrtombs1.sh: New file.
+       * tests/test-wcsnrtombs2.sh: New file.
+       * tests/test-wcsnrtombs3.sh: New file.
+       * tests/test-wcsnrtombs4.sh: New file.
+       * tests/test-wcsnrtombs.c: New file.
+
+       New module 'wcsnrtombs'.
+       * lib/wchar.in.h (wcsnrtombs): New declaration.
+       * lib/wcsnrtombs.c: New file.
+       * lib/wcsrtombs-state.c: New file.
+       * lib/wcsrtombs.c: Refer to _gl_wcsrtombs_state.
+       (internal_state): Remove variable.
+       * m4/wcsnrtombs.m4: New file.
+       * m4/wcsrtombs.m4 (gl_FUNC_WCSRTOMBS): Add wcsrtombs-state.c to the
+       compilation units.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSNRTOMBS,
+       HAVE_WCSNRTOMBS.
+       * modules/wchar (Makefile.am): Substitute GNULIB_WCSNRTOMBS,
+       HAVE_WCSNRTOMBS.
+       * modules/wcsnrtombs: New file.
+       * modules/wcsrtombs (Files): Add lib/wcsrtombs-state.c.
+       * doc/posix-functions/wcsnrtombs.texi: Mention the new module.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       * modules/wcsrtombs-tests: New file.
+       * tests/test-wcsrtombs1.sh: New file.
+       * tests/test-wcsrtombs2.sh: New file.
+       * tests/test-wcsrtombs3.sh: New file.
+       * tests/test-wcsrtombs4.sh: New file.
+       * tests/test-wcsrtombs.c: New file.
+
+       New module 'wcsrtombs'.
+       * lib/wchar.in.h (wcsrtombs): New declaration.
+       * lib/wcsrtombs.c: New file.
+       * m4/wcsrtombs.m4: New file.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSRTOMBS,
+       HAVE_WCSRTOMBS, REPLACE_WCSRTOMBS.
+       * modules/wchar (Makefile.am): Substitute GNULIB_WCSRTOMBS,
+       HAVE_WCSRTOMBS, REPLACE_WCSRTOMBS.
+       * modules/wcsrtombs: New file.
+       * doc/posix-functions/wcsrtombs.texi: Mention the new module and the
+       bugs.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       Work around a wcrtomb() bug on Solaris 10 and OSF/1 5.1.
+       * lib/wchar.in.h (wcrtomb): Override if REPLACE_WCRTOMB is set.
+       * m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Test the return value of wcrtomb
+       with NULL destination argument in various locales. Set REPLACE_WCRTOMB
+       if not correct.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize REPLACE_WCRTOMB.
+       * modules/wchar (Makefile.am): Substitute REPLACE_WCRTOMB.
+       * modules/wcrtomb (Files): Add m4/locale-fr.m4, m4/locale-ja.m4,
+       m4/locale-zh.m4, m4/codeset.m4.
+       * doc/posix-functions/wcrtomb.texi: Document the bug.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       Work around a btowc() bug on IRIX 6.5.
+       * lib/wchar.in.h (btowc): Override if REPLACE_BTOWC is set.
+       * m4/btowc.m4 (gl_FUNC_BTOWC): Test whether btowc(EOF) is correct. Set
+       REPLACE_WTOBC if not.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize REPLACE_BTOWC.
+       * modules/wchar (Makefile.am): Substitute REPLACE_BTOWC.
+       * doc/posix-functions/btowc.texi: Mention the IRIX bug.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       * modules/wcrtomb-tests: New file.
+       * tests/test-wcrtomb.sh: New file.
+       * tests/test-wcrtomb.c: New file.
+
+       New module 'wcrtomb'.
+       * lib/wchar.in.h (wcrtomb): New declaration.
+       * lib/wcrtomb.c: New file.
+       * m4/wcrtomb.m4: New file.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCRTOMB,
+       HAVE_WCRTOMB.
+       * modules/wchar (Makefile.am): Substitute GNULIB_WCRTOMB,
+       HAVE_WCRTOMB.
+       * modules/wcrtomb: New file.
+       * doc/posix-functions/wcrtomb.texi: Mention the new module.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       * modules/mbrtowc (Files): Add m4/codeset.m4, needed by m4/locale-fr.m4.
+       * modules/mbsrtowcs (Files): Likewise.
+       * modules/wctob (Files): Likewise.
+       * modules/c-strcase-tests (Files): Likewise.
+       * modules/unistdio/u8-vasnprintf-tests (Files): Likewise.
+       * modules/unistdio/u16-vasnprintf-tests (Files): Likewise.
+       * modules/unistdio/u32-vasnprintf-tests (Files): Likewise.
+       * modules/unistdio/ulc-vasnprintf-tests (Files): Likewise.
+       * modules/vasnprintf-posix-tests (Files): Likewise.
+
+2008-12-21  William Pursell  <bill.pursell@gmail.com>
+
+       gitlog-to-changelog: pass all command-line arguments to git-log
+       * build-aux/gitlog-to-changelog: When producing a ChangeLog,
+       it is sometimes convenient to filter the commits in various ways.
+       gitlog-to-changelog only allows --since to specify a start date,
+       but git-log itself supports many other filtering mechanisms.
+       At the moment, I want to filter by branch name.  Rather than
+       adding a --branch option to gitlog-to-changelog, it seems more
+       flexible to simply pass all options directly to git-log and let
+       git do the work.  Notice that this effectively makes --since a
+       redundant option for gitlog-to-changelog, but removing it would
+       require current usage to change since calls would then require
+       an additional '--'.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       * modules/mbsnrtowcs-tests: New file.
+       * tests/test-mbsnrtowcs1.sh: New file.
+       * tests/test-mbsnrtowcs2.sh: New file.
+       * tests/test-mbsnrtowcs3.sh: New file.
+       * tests/test-mbsnrtowcs4.sh: New file.
+       * tests/test-mbsnrtowcs.c: New file.
+
        New module 'mbsnrtowcs'.
        * lib/wchar.in.h (mbsnrtowcs): New declaration.
        * lib/mbsnrtowcs.c: New file.