Tests of module 'wchar' in C++ mode.
[pspp] / ChangeLog
index bd18bfebd08e247253a299c7d329b839955b08ae..ce697d16dee1c615d852b487043d3edcbc0c1c72 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,193 @@
 2010-03-07  Bruno Haible  <bruno@clisp.org>
 
+       Tests of module 'wchar' in C++ mode.
+       * tests/test-wchar-c++.cc: New file.
+       * modules/wchar-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-wchar-c++.
+       * m4/wchar_h.m4 (gl_WCHAR_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'unistd' in C++ mode.
+       * tests/test-unistd-c++.cc: New file.
+       * modules/unistd-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-unistd-c++.
+       * m4/unistd_h.m4 (gl_UNISTD_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'time' in C++ mode.
+       * tests/test-time-c++.cc: New file.
+       * modules/time-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-time-c++.
+       * m4/time_h.m4 (gl_TIME_MODULE_INDICATOR): Invoke gl_MODULE_INDICATOR.
+
+       Tests of module 'sys_time' in C++ mode.
+       * tests/test-sys_time-c++.cc: New file.
+       * modules/sys_time-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-sys_time-c++.
+       * m4/sys_time_h.m4 (gl_SYS_TIME_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'sys_stat' in C++ mode.
+       * tests/test-sys_stat-c++.cc: New file.
+       * modules/sys_stat-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-sys_stat-c++.
+       * m4/sys_stat_h.m4 (gl_SYS_STAT_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'sys_socket' in C++ mode.
+       * tests/test-sys_socket-c++.cc: New file.
+       * modules/sys_socket-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-sys_socket-c++.
+       * m4/sys_socket_h.m4 (gl_SYS_SOCKET_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'sys_select' in C++ mode.
+       * tests/test-sys_select-c++.cc: New file.
+       * modules/sys_select-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-sys_select-c++.
+       * m4/sys_select_h.m4 (gl_SYS_SELECT_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'sys_ioctl' in C++ mode.
+       * tests/test-sys_ioctl-c++.cc: New file.
+       * modules/sys_ioctl-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-sys_ioctl-c++.
+       * m4/sys_ioctl_h.m4 (gl_SYS_IOCTL_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'string' in C++ mode.
+       * tests/test-string-c++.cc: New file.
+       * modules/string-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-string-c++.
+       * m4/string_h.m4 (gl_STRING_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'stdlib' in C++ mode.
+       * tests/test-stdlib-c++.cc: New file.
+       * modules/stdlib-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-stdlib-c++.
+       * m4/stdlib_h.m4 (gl_STDLIB_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'stdio' in C++ mode.
+       * tests/test-stdio-c++.cc: New file.
+       * modules/stdio-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-stdio-c++.
+       * m4/stdio_h.m4 (gl_STDIO_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'spawn' in C++ mode.
+       * tests/test-spawn-c++.cc: New file.
+       * modules/spawn-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-spawn-c++.
+       * m4/spawn_h.m4 (gl_SPAWN_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'signal' in C++ mode.
+       * tests/test-signal-c++.cc: New file.
+       * modules/signal-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-signal-c++.
+       * m4/signal_h.m4 (gl_SIGNAL_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'search' in C++ mode.
+       * tests/test-search-c++.cc: New file.
+       * modules/search-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-search-c++.
+       * m4/search_h.m4 (gl_SEARCH_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'math' in C++ mode.
+       * tests/test-math-c++.cc: New file.
+       * modules/math-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-math-c++.
+       * m4/math_h.m4 (gl_MATH_MODULE_INDICATOR): Invoke gl_MODULE_INDICATOR.
+
+       Tests of module 'locale' in C++ mode.
+       * tests/test-locale-c++.cc: New file.
+       * modules/locale-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-locale-c++.
+       * m4/locale_h.m4 (gl_LOCALE_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'langinfo' in C++ mode.
+       * tests/test-langinfo-c++.cc: New file.
+       * modules/langinfo-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-langinfo-c++.
+       * m4/langinfo_h.m4 (gl_LANGINFO_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'iconv-h' in C++ mode.
+       * tests/test-iconv-h-c++.cc: New file.
+       * modules/iconv-h-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-iconv-h-c++.
+
+       Tests of module 'glob' in C++ mode.
+       * tests/test-glob-c++.cc: New file.
+       * modules/glob-tests (Files): Add it.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-glob-c++.
+
+       Tests of module 'fcntl-h' in C++ mode.
+       * tests/test-fcntl-h-c++.cc: New file.
+       * modules/fcntl-h-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-fcntl-h-c++.
+       * m4/fcntl_h.m4 (gl_FCNTL_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'dirent' in C++ mode.
+       * tests/test-dirent-c++.cc: New file.
+       * modules/dirent-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-dirent-c++.
+       * m4/dirent_h.m4 (gl_DIRENT_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       New module 'ansi-c++-opt'.
+       * modules/ansi-c++-opt: New file.
+       * m4/ansi-c++.m4: New file, from GNU gettext with modifications.
+
+       Document C++ namespace mode.
+       * doc/gnulib.texi (A C++ namespace for gnulib): New section.
+
+       wctype: Avoid #define replacements in C++ mode.
+       * lib/wctype.in.h: Include c++defs.h, warn-on-use.h.
+       (iswalnum, iswalpha, iswblank, iswcntrl, iswdigit, iswgraph, iswlower,
+       iswprint, iswpunct, iswspace, iswupper, iswxdigit, towlower, towupper):
+       In C++, define a namespaced alias symbol.
+       * m4/wctype_h.m4 (gl_WCTYPE_H): Don't set WCTYPE_H.
+       * modules/wctype (Depends-on): Add c++defs, warn-on-use.
+       (Makefile.am): Provide a wctype.h replacement always. Update wctype.h
+       rule.
+
+       wchar: Avoid #define replacements in C++ mode.
+       * lib/wchar.in.h: Include c++defs.h.
+       (btowc, wctob, mbsinit, mbrtowc, mbrlen, mbsrtowcs, mbsnrtowcs,
+       wcrtomb, wcsrtombs, wcsnrtombs): In C++, define a namespaced alias
+       symbol.
+       (wcwidth): Likewise. Fix prototype to be POSIX compliant.
+       * modules/wchar (Depends-on): Add c++defs.
+       (Makefile.am): Update wchar.h rule.
+
        unistd: Avoid #define replacements in C++ mode.
        * lib/unistd.in.h: Include c++defs.h.
        (chown, close, dup, dup2, dup3, euidaccess, faccessat, fchdir,