Tests for module 'unilbrk/u32-width-linebreaks'.
[pspp] / ChangeLog
index 74522bf35d8cf1f59a68b02eaecdd6e2d7280a3b..96927a029b00d2171524e6e0274daa265a33ade6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,312 @@
+2008-05-10  Bruno Haible  <bruno@clisp.org>
+
+       * modules/unilbrk/u32-width-linebreaks-tests: New file.
+       * tests/unilbrk/test-u32-width-linebreaks.c: New file.
+
+       * modules/unilbrk/u16-width-linebreaks-tests: New file.
+       * tests/unilbrk/test-u16-width-linebreaks.c: New file.
+
+       * modules/unilbrk/u8-width-linebreaks-tests: New file.
+       * tests/unilbrk/test-u8-width-linebreaks.c: New file.
+
+       * modules/unilbrk/ulc-possible-linebreaks-tests: New file.
+       * tests/unilbrk/test-ulc-possible-linebreaks.c: New file.
+
+       * modules/unilbrk/u32-possible-linebreaks-tests: New file.
+       * tests/unilbrk/test-u32-possible-linebreaks.c: New file.
+
+       * modules/unilbrk/u16-possible-linebreaks-tests: New file.
+       * tests/unilbrk/test-u16-possible-linebreaks.c: New file.
+
+       * modules/unilbrk/u8-possible-linebreaks-tests: New file.
+       * tests/unilbrk/test-u8-possible-linebreaks.c: New file.
+
+2008-05-10  Bruno Haible  <bruno@clisp.org>
+
+       Split up 'linebreak' module.
+       * lib/unilbrk.h: New file, based on lib/linebreak.h.
+       * lib/unilbrk/lbrkprop1.h: New file, extracted from lib/lbrkprop.h.
+       * lib/unilbrk/lbrkprop2.h: New file, renamed from lib/lbrkprop.h with
+       modifications.
+       * lib/unilbrk/tables.h: New file, extracted from lib/linebreak.c.
+       * lib/unilbrk/tables.c: New file, extracted from lib/linebreak.c.
+       * lib/unilbrk/u8-possible-linebreaks.c: New file, extracted from
+       lib/linebreak.c.
+       * lib/unilbrk/u16-possible-linebreaks.c: New file, extracted from
+       lib/linebreak.c.
+       * lib/unilbrk/u32-possible-linebreaks.c: New file, extracted from
+       lib/linebreak.c.
+       * lib/unilbrk/ulc-common.h: New file, extracted from lib/linebreak.c.
+       * lib/unilbrk/ulc-common.c: New file, extracted from lib/linebreak.c.
+       * lib/unilbrk/ulc-possible-linebreaks.c: New file, extracted from
+       lib/linebreak.c.
+       * lib/unilbrk/u8-width-linebreaks.c: New file, extracted from
+       lib/linebreak.c.
+       * lib/unilbrk/u16-width-linebreaks.c: New file, extracted from
+       lib/linebreak.c.
+       * lib/unilbrk/u32-width-linebreaks.c: New file, extracted from
+       lib/linebreak.c.
+       * lib/unilbrk/ulc-width-linebreaks.c: New file, extracted from
+       lib/linebreak.c.
+       * modules/unilbrk/base: New file.
+       * modules/unilbrk/tables: New file.
+       * modules/unilbrk/u8-possible-linebreaks: New file.
+       * modules/unilbrk/u16-possible-linebreaks: New file.
+       * modules/unilbrk/u32-possible-linebreaks: New file.
+       * modules/unilbrk/ulc-common: New file.
+       * modules/unilbrk/ulc-possible-linebreaks: New file.
+       * modules/unilbrk/u8-width-linebreaks: New file.
+       * modules/unilbrk/u16-width-linebreaks: New file.
+       * modules/unilbrk/u32-width-linebreaks: New file.
+       * modules/unilbrk/ulc-width-linebreaks: New file.
+       * lib/linebreak.h: Remove file.
+       * lib/linebreak.c: Remove file.
+       * m4/linebreak.m4: Remove file.
+       * modules/linebreak: Remove file.
+       * NEWS: Mention the changes.
+
+2008-05-09  Eric Blake  <ebb9@byu.net>
+
+       Add xmemdup0.
+       * lib/xalloc.h (xmemdup0): New prototype and C++ typesafe
+       implementation.
+       * lib/xmalloc.c (xmemdup0): New C implementation.
+
+2008-05-08  Bruno Haible  <bruno@clisp.org>
+
+       * m4/wctype.m4 (gl_WCTYPE_H): Correct indentation.
+
+2008-05-07  Eric Blake  <ebb9@byu.net>
+
+       Support cross-compilation of <wctype.h>.
+       * m4/wctype.m4 (gl_WCTYPE_H): Fix improper nesting in
+       AC_CACHE_CHECK.
+
+2008-05-06  Soren Hansen  <soren@ubuntu.com>  (tiny change)
+
+       * build-aux/vc-list-files: Add support for bzr.
+
+2008-05-03  Jim Meyering  <meyering@redhat.com>
+
+       avoid failed assertion with tight malloc
+       * tests/test-getndelim2.c: Correct an off-by-one assertion.
+
+2008-05-03  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/inet_pton.m4: Set HAVE_DECL_INET_PTON to 0 when declarations
+       are needed from arpa/inet.h.
+       * m4/inet_ntop.m4: Likewise, for HAVE_DECL_INET_NTOP.
+       Reported by Bruno Haible.
+
+2008-05-02  Jim Meyering  <meyering@redhat.com>
+
+       avoid compilation error on FreeBSD 6
+       * tests/test-getaddrinfo.c [!defined EAI_NODATA] (EAI_NODATA): Define.
+
+2008-05-01  Jim Meyering  <meyering@redhat.com>
+
+       useless-if-before-free: correct --help's exit status description
+       * build-aux/useless-if-before-free (usage): Like grep, exit 0
+       for one or more matches, etc.  Reported by Bruno Haible.
+
+       vc-list-files: make the stand-alone gnulib test work
+       * modules/vc-list-files-tests (configure.ac):
+       Define and AC_SUBST abs_aux_dir.
+       (Makefile.am) [TESTS_ENVIRONMENT]: Rather than passing
+       $(abs_top_srcdir) to each script and having each of them
+       duplicate the work of setting PATH, set PATH here, using
+       the new variable, abs_aux_dir instead.
+       * tests/test-vc-list-files-cvs.sh: Don't set PATH here.
+       * tests/test-vc-list-files-git.sh: Likewise.
+       Reported by Bruno Haible.
+
+2008-05-01  Bruno Haible  <bruno@clisp.org>
+
+       * lib/getndelim2.c (getndelim2): Fix newsize computation during
+       reallocation. Rename 'done' to 'found_delimiter'.
+
+2008-05-01  Jim Meyering  <meyering@redhat.com>
+
+       vc-list-files: accommodate /bin/sh like the one from Solaris 10
+       * build-aux/vc-list-files: Use `...`, not $(...).
+
+2008-04-30  Jim Meyering  <meyering@redhat.com>
+
+       add tests for vc-list-files
+       * modules/vc-list-files-tests: New module.
+       * tests/test-vc-list-files-cvs.sh: New file.
+       * tests/test-vc-list-files-git.sh: New file.
+
+       avoid a warning from gcc
+       * lib/getndelim2.c (IF_LINT): Define.
+       (getndelim2): Use it to void a "may be used uninitialized" warning.
+
+       vc-list-files: work properly with build-aux/cvsu, too
+       * build-aux/vc-list-files: Hoist the "./"-removing code to apply
+       to all cvs-based clauses.
+
+       vc-list-files: work properly in the CVS+awk case, too
+       * build-aux/vc-list-files: In the CVS+awk case, remove "./" prefix.
+
+       vc-list-files: avoid use of ${*-*} that fails when /bin/sh is dash
+       * build-aux/vc-list-files: Simplify ${*-*} to $dir, since we no longer
+       take more than one file argument, so .  Add quotes, just in case $dir
+       ever contains a shell meta-character.  Prompted by Soren Hansen in
+       <http://thread.gmane.org/gmane.comp.emulators.libvirt/6221/focus=6240>.
+
+2008-04-29  Eric Blake  <ebb9@byu.net>
+
+       Optimize getndelim2 to use block operations when possible.
+       * modules/getndelim2 (Depends-on): Add stdbool, freadptr,
+       freadseek, and memchr2.
+       * lib/getndelim2.c (getndelim2): Use them for block reads.
+
+2008-04-29  Bruno Haible  <bruno@clisp.org>
+
+       * m4/inet_ntop.m4 (gl_INET_NTOP): Require gl_USE_SYSTEM_EXTENSIONS.
+       * m4/inet_pton.m4 (gl_INET_PTON): Likewise.
+       * modules/inet_ntop (Depends-on): Add extensions.
+       * modules/inet_pton (Depends-on): Likewise.
+       Reported by Simon Josefsson.
+
+2008-04-29  Jim Meyering  <meyering@redhat.com>
+
+       When the is more than one match in a block, match all of them.
+       * build-aux/useless-if-before-free: Iterate through each block
+       until there are no more matches.
+
+       Fix broken useless-if-before-free script.
+       * build-aux/useless-if-before-free: Fix typo: missing "?" after
+       the expression to match cast of argument to free-like function.
+
+2008-04-29  Eric Blake  <ebb9@byu.net>
+
+       Use new header.
+       * lib/getaddrinfo.c (includes): s/"inet_ntop.h"/<arpa/inet.h>/.
+
+2008-04-29  Jim Meyering  <meyering@redhat.com>
+
+       Avoid test segfault on x86_64 due to lack of inet_ntop declaration.
+       * tests/test-getaddrinfo.c: Include <arpa/inet.h>, now guaranteed
+       by gnulib to exist and to declare e.g., inet_ntop.
+       Don't include "inet_ntop.h", now removed.
+
+       * m4/arpa_inet_h.m4: Remove trailing blanks.
+
+2008-04-29  Eric Blake  <ebb9@byu.net>
+
+       Silence valgrind on safe reads beyond potential array bounds.
+       * lib/rawmemchr.valgrind: New file.
+       * lib/strchrnul.valgrind: Likewise.
+       * modules/rawmemchr (Files): Distribute new file.
+       * modules/strchrnul (Files): Likewise.
+       Suggested by Bruno Haible.
+
+2008-04-29  Bruno Haible  <bruno@clisp.org>
+
+       * lib/arpa_inet.in.h: Include system's <arpa/inet.h> if it exists.
+       (inet_ntop, inet_pton): Change portability warning's wording.
+       * m4/arpa_inet_h.m4 (gl_HEADER_ARPA_INET): Set HAVE_ARPA_INET_H.
+       Invoke gl_CHECK_NEXT_HEADERS.
+       (gl_ARPA_INET_H_DEFAULTS): Initialize ARPA_INET_H.
+       * m4/inet_ntop.m4 (gl_INET_NTOP): Require gl_ARPA_INET_H_DEFAULTS and
+       set ARPA_INET_H.
+       * m4/inet_pton.m4 (gl_INET_PTON): Likewise.
+       * modules/arpa_inet (Description): No longer only for systems that
+       lack it.
+       (Depends-on): Add include_next.
+       (Makeile.am): Substitute INCLUDE_NEXT, NEXT_ARPA_INET_H,
+       HAVE_ARPA_INET_H.
+
+2008-04-29  Jim Meyering  <meyering@redhat.com>
+
+       * modules/mkdir (License): Re-license as LGPLv2+.
+
+2008-04-29  Bruno Haible  <bruno@clisp.org>
+
+       * modules/rawmemchr (Maintainer): Set to Eric.
+       * modules/strchrnul (Maintainer): Likewise.
+
+2008-04-29  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/arpa_inet_h.m4 (gl_ARPA_INET_H_DEFAULTS): Set
+       HAVE_DECL_INET_NTOP and HAVE_DECL_INET_PTON.
+
+       * modules/arpa_inet (arpa/inet.h): Use them.
+
 2008-04-28  Eric Blake  <ebb9@byu.net>
 
+       Test getndelim2.
+       * modules/getndelim2-tests: New file.
+       * tests/test-getndelim2.c: Likewise.
+       * lib/getndelim2.c (getndelim2): Never return 0.  Lock the
+       stream.
+       * m4/getndelim2.m4 (gl_GETNDELIM2): Check for lock functions.
+
+       * MODULES.html.sh: Document new module.
+
+2008-04-20  Bruno Haible  <bruno@clisp.org>
+
+       * lib/c-stack.c (die): Use raise.
+       * modules/c-stack (Depends-on): Add raise.
+
+2008-04-28  Bruno Haible  <bruno@clisp.org>
+
+       Expect rpmatch to be declared.
+       * lib/yesno.c (rpmatch): Remove declaration.
+
+       Declare rpmatch.
+       * lib/stdlib.in.h (rpmatch): New declaration.
+       * lib/rpmatch.c: Include <stdlib.h> first.
+       * m4/rpmatch.m4 (gl_FUNC_RPMATCH): Require AC_USE_SYSTEM_EXTENSIONS and
+       gl_STDLIB_H_DEFAULTS. Set HAVE_RPMATCH.
+       * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_RPMATCH,
+       HAVE_RPMATCH.
+       * modules/rpmatch (Depends-on): Add stdlib, extensions.
+       (configure.ac): Invoke gl_STDLIB_MODULE_INDICATOR.
+       (Include): Set to <stdlib.h>.
+       * modules/stdlib (Makefile.am): Substitute GNULIB_RPMATCH and
+       HAVE_RPMATCH.
+       * NEWS: Document the change.
+
+2008-04-28  Bruno Haible  <bruno@clisp.org>
+
+       Change rpmatch to use nl_langinfo when appropriate.
+       * lib/rpmatch.c: Include stdbool.h, string.h, langinfo.h.
+       (N_): New macro.
+       (localized_pattern): New function/macro.
+       (try): Remove match, nomatch arguments. Copy the pattern into safe
+       memory before caching it.
+       (rpmatch): Use localized_pattern. Add translator comments.
+       * m4/rpmatch.m4 (gl_PREREQ_RPMATCH): Test for nl_langinfo and YESEXPR.
+       Suggested by Eric Blake.
+       * modules/rpmatch (Depends-on): Add stdbool.
+
+2008-04-28  Eric Blake  <ebb9@byu.net>
+
+       Add rawmemchr module, matching glibc.
+       * modules/string (Makefile.am): New indicator.
+       * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Set it.
+       * lib/string.in.h (rawmemchr): Declare when appropriate.
+       * modules/rawmemchr: New file.
+       * m4/rawmemchr.m4: Likewise.
+       * lib/rawmemchr.c: Likewise.
+       * modules/rawmemchr-tests: Likewise.
+       * tests/test-rawmemchr.c: Likewise.
+       * doc/glibc-functions/rawmemchr.texi (rawmemchr): Document
+       module.
+       * modules/strchrnul (Depends-on): Add rawmemchr.
+       * lib/strchrnul.c (strchrnul): Optimize a corner case.
+
+       Whitespace cleanup.
+       * tests/test-strchrnul.c: Reindent.
+       * lib/strchrnul.c: Likewise.
+
+       Optimize and test strchrnul.
+       * lib/strchrnul.c (strchrnul): Rewrite to do parallel search.
+       * modules/strchrnul-tests: New file.
+       * tests/test-strchrnul.c: Likewise.
+
        Remove intprops dependency.
        * modules/memchr (Depends-on): Remove intprops.
        * modules/memrchr (Depends-on): Likewise.
 
        -----
 
+       Local Variables:
+       coding: utf-8
+       End:
+
        Copyright (C) 1997-2008 Free Software Foundation, Inc.
 
        Copying and distribution of this file, with or without