X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=9cdaef1b657d884d4de0a48b0deeb78ac64d24c8;hb=e5573b1bad88bfabcda181b9e0125fb0c52b7d3b;hp=b0b6a46f2c6a8839e4b1fe908f59f1faa0f4db75;hpb=cf3719f4dcf54ebc3ef884a74c7ed9f80fc2912c;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index b0b6a46f2..7aacc8e41 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,2018 @@ +2007-12-20 Eric Blake + + Work around circular library issue when cross-compiling. + * lib/progname.c (set_program_name): Use strncmp, not memcmp, so + that progname.o does not need to pull in rpl_memcmp. + +2007-12-19 Eric Blake + + Fix memmem to avoid O(n^2) worst-case complexity. + * lib/memmem.c (knuth_morris_pratt): New function. + (memmem): Use it if first few naive iterations fail. + * m4/memmem.m4 (gl_FUNC_MEMMEM): Detect cygwin bug. + * modules/memcmp (License): Set to LGPLv2+, not LGPL. + * modules/memchr (License): Likewise. + * modules/memmem (Depends-on): Add memcmp, memchr, stdbool, and + malloca. + * tests/test-memmem.c: Rewrite, borrowing ideas from + test-mbsstr1.c; the old version wouldn't even compile! + * modules/memmem-tests: New file. + * lib/string.in.h (rpl_memmem): Add declaration. + * modules/string (Makefile.am): Substitute REPLACE_MEMMEM. + * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Default for + REPLACE_MEMMEM. + +2007-12-18 Paul Eggert + + Fix problem with _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H on VMS. + * lib/stdint.in.h (_GL_JUST_INCLUDE_SYSTEM_INTTYPES_H): Define + before any system include files, and undef after them all. This + should fix a problem on VMS reported by John E. Malmberg in + . + +2007-12-17 Eric Blake + + Revert addition of verify, for BSD/OS. + * lib/fseeko.c [!HAVE_FSEEKO]: Allow off_t > long, even though it + can't handle large files, for the sake of obsolete platforms. + * modules/fseeko (Depends-on): Remove verify. + * doc/functions/fseeko.texi (fseeko): Document BSD/OS limitation. + * doc/functions/ftello.texi (ftello): Likewise. + * doc/functions/fgetpos.texi (fgetpos): Likewise. + Reported by Larry Jones. + +2007-12-17 Petr Salinger + + getcwd.c: Use a more readable witness: HAVE_OPENAT_SUPPORT + * lib/getcwd.c: Define and use HAVE_OPENAT_SUPPORT, in place of AT_FDCWD. + +2007-12-17 Jim Meyering + + Port to GNU/kFreeBSD - FreeBSD kernel + GNU libc, + which has no openat syscall, yet does define AT_FDCWD. + * lib/getcwd.c: Undef AT_FDCWD if there is no openat function. + * modules/getcwd (Depends-on): Add openat. + Reported by Petr Salinger. + +2007-12-17 Bruno Haible + + * m4/printf.m4 (gl_PRINTF_INFINITE_LONG_DOUBLE): Use GL_NOCRASH to + avoid a segmentation fault of the configure test on x86_64 systems. + +2007-12-15 Jim Meyering + + * build-aux/gnupload (GPG): Don't hard-code absolute name of gpg binary. + +2007-12-13 Eric Blake + + Another fseek test. + * tests/test-fseek.c (main): Also test ungetc handling. + * tests/test-fseeko.c (main): Likewise. + * modules/fseeko (Depends-on): Add verify. + * lib/fseeko.c [!HAVE_FSEEKO]: Verify that off_t is not too + large. + Reported by Larry Jones. + + Fix fseeko on mingw. + * lib/fseeko.c (rpl_fseeko) [_IOERR]: Reset EOF flag on successful + seek. + + Beef up fseek tests. + * tests/test-fseek.c (main): Also test eof handling. + * tests/test-fseeko.c (main): Likewise. + Reported by Larry Jones. + +2007-12-13 Larry Jones (tiny change) + + Fix fseeko on BSD-based platforms. + * lib/fseeko.c (rpl_fseeko) [__sferror]: Reset EOF flag on + successful seek. + +2007-12-12 Eric Blake + + Allow circular dependency of separate libtests.a + * gnulib-tool (func_emit_tests_Makefile_am): Add AM_LIBTOOLFLAGS + when use_libtests. + +2007-12-11 Eric Blake + + Fix bug with -0.0L in previous patch. + * lib/isnan.c (rpl_isnanl): Make robust to -0.0L and pad bits. + * tests/test-isnan.c (main): Also test on zeroes. + * tests/test-isnanf.c (main): Likewise. + * tests/test-isnanl.h (main): Likewise. + + Detect pseudo-denormals on x86 even when cross-compiling. + * lib/isnan.c (rpl_isnanl) [!KNOWN_EXPBIT0_LOCATION + && USE_LONG_DOUBLE && x86]: Add one more check to filter out + invalid bit patterns that happen to satisfy ==. + + Avoid link failures with separate libtests.a. + * gnulib-tool (func_emit_tests_Makefile_am): Also list local_ldadd + last, to satisfy circular dependencies. + +2007-12-11 Eric Blake + and Bruno Haible + + Fix OpenBSD 4.0 handling of long double. + * m4/float_h.m4 (gl_FLOAT_H): Also claim OpenBSD is broken. + * lib/float.in.h [__OpenBSD__]: Add fixes for OpenBSD. + * doc/headers/float.texi (float.h): Document OpenBSD bug. + +2007-12-11 Jim Meyering + + * users.txt: Add libvirt. + + Support versions of autoconf prior to 2.59c. + * gnulib-tool (func_emit_initmacro_done): Define m4_foreach_w + if it is not already defined. + +2007-12-09 Bruno Haible + + Let 'gnulib-tool --import' collect sources needed for the tests in + tests/ rather than in lib/. + * gnulib-tool (func_emit_tests_Makefile_am): Accept use_libtests + argument. If true, add rules to generate libtests.a, and put libtests.a + into $(LDADD). Consider source files in subdirectories and set + uses_subdirs. + (func_emit_initmacro_start, func_emit_initmacro_end, + func_emit_initmacro_done): Pass all arguments explicitly. + (func_import): Determine two module lists main_modules, + testsrelated_modules. Determine use_libtests. Determine two variables + sed_transform_main_lib_file, sed_transform_testsrelated_lib_file + instead of just sed_transform_lib_file. Determine two variables + main_files and testsrelated_files. Compute 'files' as the union of + both. Adjust sed_rewrite_old_files, sed_rewrite_new_files, + func_add_or_update. In the generated gnulib-comp.m4, collect the + object files for tests/ in different variables than those for lib/. + Substitute LIBTESTS_LIBDEPS. + (func_create_testdir): Combine the uses_subdirs results from + func_emit_lib_Makefile_am and from func_emit_tests_Makefile_am. + +2007-12-09 Bruno Haible + + * gnulib-tool (func_emit_tests_Makefile_am): Expand references to + the build-aux directory. + +2007-12-09 Bruno Haible + + * gnulib-tool (func_emit_tests_Makefile_am): Remove redundant code + introduced on 2006-09-09. + +2007-12-07 Jim Meyering + + Let these macros work also with autoconf-2.59. + * m4/getline.m4 (gl_FUNC_GETLINE): Require only autoconf-2.59. 2.60 + is not needed, since gnulib now permits use of AC_CHECK_DECLS_ONCE. + * m4/getdelim.m4 (gl_FUNC_GETDELIM): Likewise. + +2007-12-06 Jim Meyering + + Avoid a configure-time syntax error in gl_FUNC_ACL. + * m4/acl.m4 (gl_FUNC_ACL): Be careful to check for the acl_trivial + function in each branch, before testing the cache variable. + +2007-12-04 Eric Blake + + Make scripts executable. + * build-aux/config.guess: Add execute permissions. + * build-aux/config.sub: Likewise. + * build-aux/gendocs.sh: Likewise. + + Fix frexp on mingw. + * m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Detect mingw bug when + cross-compiling. + * doc/functions/frexp.texi (frexp): Document the bug. + + Make cygwin fseeko check more reliable. + * m4/stdio_h.m4 (gl_STDIN_LARGE_OFFSET) [__CYGWIN__]: Use cygwin + version numbers, rather than unrelated feature check. + * doc/functions/fseeko.texi (fseeko): Tweak failure report. + * doc/functions/ftello.texi (ftello): Likewise. + Reported by Bruno Haible. + + * m4/strerror.m4: Bump version number. + +2007-12-03 Bruno Haible + + * doc/functions/mprotect.texi: Mention the mingw problem. + +2007-12-03 Eric Blake + + * m4/strerror.m4 (gl_FUNC_STRERROR_SEPARATE): Ensure + REPLACE_STRERROR is initialized before this macro. + +2007-12-03 Paul Eggert + + Add support for Solaris 10 ACLs. Also, ACLs are Gnulib, not Autoconf. + * modules/acl (configure.ac): Rename AC_FUNC_ACL to gl_FUNC_ACL. + * m4/acl.m4 (gl_FUNC_ACL): Renamed from AC_FUNC_ACL. On Solaris, + put -lsec in even for programs other than 'ls'. This fixes a problem + for gettext reported by Bruno Haible in + . + * lib/acl.c (copy_acl, qset_acl) [USE_ACL && defined ACL_NO_TRIVIAL]: + Add support for Solaris 10. This isn't efficient, but should get the + job done for now. + +2007-12-03 James Youngman + + * doc/regexprops-generic.texi: change "an close-group" to "a + close-group" and "illegal" to "not allowed". + +2007-11-23 Ralf Wildenhues + + * lib/unictype/pr_byname.c: Include unictype/pr_byname.h instead of + pr_byname.h. Needed for the rare case when the maintainer has done + "make maintainer-clean" in the source directory and then attempts a + build outside the source directory. + * lib/unictype/scripts.c: Include unictype/scripts_byname.h instead of + scripts_byname.h. + +2007-12-02 Martin Lambers + Bruno Haible + + * lib/getpagesize.h: Remove file. + * lib/unistd.in.h: Include declaration of getpagesize here. + * m4/getpagesize.m4 (gl_FUNC_GETPAGESIZE): Renamed from gl_GETPAGESIZE. + Invoke gl_UNISTD_H_DEFAULTS. Set HAVE_GETPAGESIZE, HAVE_OS_H, + HAVE_SYS_PARAM_H. + * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_GETPAGESIZE, + HAVE_GETPAGESIZE, HAVE_OS_H, HAVE_SYS_PARAM_H. + * modules/getpagesize (Files): Remove lib/getpagesize.h. + (Depends-on): Add unistd. + (configure.ac): Invoke gl_UNISTD_MODULE_INDICATOR. + (Include): Use instead of getpagesize.h. + * modules/unistd (Makefile.am): Substitute also GNULIB_GETPAGESIZE, + HAVE_GETPAGESIZE, HAVE_OS_H, HAVE_SYS_PARAM_H. + * m4/pagealign_alloc.m4 (gl_PREREQ_PAGEALIGN_ALLOC): Remove + gl_GETPAGESIZE invocation, already handled by module dependency. + * lib/pagealign_alloc.c: Don't include getpagesize.h. + +2007-12-02 Bruno Haible + + * modules/strings-tests: New file. + * tests/test-strings.c: New file. + + Move declarations of str{,n}casecmp from to . + * lib/strings.in.h: New file. + * lib/string.in.h (strcasecmp, strncasecmp): Remove declarations. + * m4/strings_h.m4: New file. + * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Remove initialization + of HAVE_STRCASECMP, HAVE_DECL_STRNCASECMP. + * modules/strings: New file. + * modules/string (Makefile.am): Update. + * modules/strcase (Include): Mention , not . + Reported by Karl Berry. + +2007-12-01 Eric Blake + + * m4/stdio_h.m4 (gl_STDIN_LARGE_OFFSET) [__CYGWIN__]: Rewrite to + accomodate fix in cygwin 1.5.25. + +2007-12-01 Jim Meyering + + Fix a bug that inhibited much of the utf8-optimization in regcomp.c. + * lib/regcomp.c (optimize_utf8): Fix a typo, s/idx/ctx_type/, + that would inhibit utf8-optimization of a regexp containing line- + or buffer-anchors, e.g., `^', `$'. + +2007-11-30 Bruno Haible + + * lib/lock.h (gl_recursive_lock_init) [PTHREAD && + PTHREAD_RECURSIVE_MUTEX_INITIALIZER]: Call + glthread_recursive_lock_init. + * lib/lock.c (glthread_recursive_lock_init) + [PTHREAD_RECURSIVE_MUTEX_INITIALIZER]: New function. + Reported by Yoann Vandoorselaere . + +2007-11-28 Paul Eggert + + New function qset_acl, like set_acl but with syscall semantics. + * lib/acl.h (qset_acl): New decl. + * lib/acl.c (qset_acl): New function. + (set_acl): Use new function. Use more-consistent diagnostics. + +2007-11-28 Jim Meyering + + * modules/physmem (License): Change from GPL to LGPLv2+. + +2007-11-26 Bruno Haible + + * lib/vasnprintf.c (decode_long_double): Don't abort if the + 'long double' type has excess precision. + Reported by Jim Meyering in + . + +2007-11-25 Ralf Wildenhues + + * doc/fdl.texi, doc/gpl-3.0.texi, doc/lgpl-3.0.texi: + Sync from . + * modules/agpl-3.0, doc/agpl-3.0.texi: New module, + with license text from same location. + * doc/maintain.texi, doc/standards.texi: Sync from + . + +2007-11-22 Ondřej Vašík + and Jim Meyering + + Adjust getdate' grammar to accept a slightly more regular language. + E.g., accept "YYYYMMDD +N days" as well as "YYYYMMDD N days". + Before, the former was rejected. + * lib/getdate.y (digits_to_date_time): New function, factored + out of ... + (number): ...here. Just call digits_to_date_time. + (hybrid): New non-terminal to handle an sequence consistently. + +2007-11-18 Jim Meyering + + Pull my changes from coreutils: + bootstrap: fix typo to enable use of $gnulib_tool_option_extras. + * build-aux/bootstrap (gnulib_tool_options): Add a space before the + use of $gnulib_tool_option_extras, so that it's separated from the + preceding argument. + + Fix bootstrap failure to handle files like lib/uniwidth/cjk.h. + * build-aux/bootstrap (cp_mark_as_generated): Create any required + parent destination directories before copying a file into place. + +2007-11-18 Sergey Poznyakoff + + bootstrap: work also with 4-argument variant of AC_INIT + * build-aux/bootstrap (gnulib_extra_files): Adjust sed command. + +2007-11-16 Paul Eggert + + Port test-getaddrinfo to Solaris. + Problem reported by Bruno Haible in + . + * tests/test-getaddrinfo.c (simple): Add a comment asking for an + explanation of setting 'hints'. + Don't reject an implementation merely because it returns EAI_SERVICE. + (EAI_SERVICE): Define to 0 if not defined. + +2007-11-15 Paul Eggert + + The license of gnu-make and posix-shell is now "GPLed build tool". + * modules/gnu-make (License): Likewise. + * modules/posix-shell (License): Likewise. + + New module posix-shell, for determining a POSIX shell + or perhaps something that is close enough to a POSIX shell. + * m4/posix-shell.m4: New file. + * modules/posix-shell: New file. + + * MODULES.html.sh: Mention new module. + + New module gnu-make, for determining whether we're using GNU Make. + * m4/gnu-make.m4: New file. + * modules/gnu-make: New file. + * MODULES.html.sh: Mention new module. + +2007-11-14 Jim Meyering + + Define a sometimes-link-required function using ARGMATCH_DIE_DECL. + * tests/test-argmatch.c (ARGMATCH_DIE_DECL): When defined, + use this macro to create a function _definition_. + Remove useless "#undef ARGMATCH_DIE". + +2007-11-14 Bruno Haible + + * lib/config.charset: Update for OpenBSD 4.1. + Reported and helped by Ben Pfaff . + +2007-11-12 Paul Eggert + + Document 64-bit #if problems in stdint.texi. + * doc/headers/stdint.texi (stdint.h): Mention problems with + 64-bit-#if, and how to work around them. + + Don't insist on 'long long int' support in the preprocessor. It + breaks too many things. For example, PRIdMAX still uses a 'long + long int' format with the latest Sun compiler, even though + HAVE_LONG_LONG_INT isn't defined due to that compiler's + preprocessor problem. This causes the latest coreutils to dump + core on Solaris 10 sparc with the Sun C compiler. + Instead, fix the 2007-10-16 problem in a different way, by evaluating + the troublesome expressions at configure-time, not at #if-time. + * m4/longlong.m4 (_AC_TYPE_LONG_LONG_SNIPPET): Don't test the + preprocessor. + * m4/inttypes.m4 (gl_INTTYPES_H): Move the #if checks into + compile-time C checks, done at 'configure'-time. + (gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION): New macro. + * modules/inttypes (Makefile): Substitute the new symbols that + gl_INTTYPES_H now generates. + * lib/inttypes.in.h: Don't use constants wider than 'long' in #if. + +2007-11-12 Bruno Haible + + Tests for Unicode character classification functions. + + * modules/unictype/bidicategory-byname-tests: New file. + * modules/unictype/bidicategory-name-tests: New file. + * modules/unictype/bidicategory-of-tests: New file. + * modules/unictype/bidicategory-test-tests: New file. + * modules/unictype/block-list-tests: New file. + * modules/unictype/block-of-tests: New file. + * modules/unictype/block-test-tests: New file. + * modules/unictype/category-C-tests: New file. + * modules/unictype/category-Cc-tests: New file. + * modules/unictype/category-Cf-tests: New file. + * modules/unictype/category-Cn-tests: New file. + * modules/unictype/category-Co-tests: New file. + * modules/unictype/category-Cs-tests: New file. + * modules/unictype/category-L-tests: New file. + * modules/unictype/category-Ll-tests: New file. + * modules/unictype/category-Lm-tests: New file. + * modules/unictype/category-Lo-tests: New file. + * modules/unictype/category-Lt-tests: New file. + * modules/unictype/category-Lu-tests: New file. + * modules/unictype/category-M-tests: New file. + * modules/unictype/category-Mc-tests: New file. + * modules/unictype/category-Me-tests: New file. + * modules/unictype/category-Mn-tests: New file. + * modules/unictype/category-N-tests: New file. + * modules/unictype/category-Nd-tests: New file. + * modules/unictype/category-Nl-tests: New file. + * modules/unictype/category-No-tests: New file. + * modules/unictype/category-P-tests: New file. + * modules/unictype/category-Pc-tests: New file. + * modules/unictype/category-Pd-tests: New file. + * modules/unictype/category-Pe-tests: New file. + * modules/unictype/category-Pf-tests: New file. + * modules/unictype/category-Pi-tests: New file. + * modules/unictype/category-Po-tests: New file. + * modules/unictype/category-Ps-tests: New file. + * modules/unictype/category-S-tests: New file. + * modules/unictype/category-Sc-tests: New file. + * modules/unictype/category-Sk-tests: New file. + * modules/unictype/category-Sm-tests: New file. + * modules/unictype/category-So-tests: New file. + * modules/unictype/category-Z-tests: New file. + * modules/unictype/category-Zl-tests: New file. + * modules/unictype/category-Zp-tests: New file. + * modules/unictype/category-Zs-tests: New file. + * modules/unictype/category-and-not-tests: New file. + * modules/unictype/category-and-tests: New file. + * modules/unictype/category-byname-tests: New file. + * modules/unictype/category-name-tests: New file. + * modules/unictype/category-none-tests: New file. + * modules/unictype/category-of-tests: New file. + * modules/unictype/category-or-tests: New file. + * modules/unictype/category-test-withtable-tests: New file. + * modules/unictype/combining-class-tests: New file. + * modules/unictype/ctype-alnum-tests: New file. + * modules/unictype/ctype-alpha-tests: New file. + * modules/unictype/ctype-blank-tests: New file. + * modules/unictype/ctype-cntrl-tests: New file. + * modules/unictype/ctype-digit-tests: New file. + * modules/unictype/ctype-graph-tests: New file. + * modules/unictype/ctype-lower-tests: New file. + * modules/unictype/ctype-print-tests: New file. + * modules/unictype/ctype-punct-tests: New file. + * modules/unictype/ctype-space-tests: New file. + * modules/unictype/ctype-upper-tests: New file. + * modules/unictype/ctype-xdigit-tests: New file. + * modules/unictype/decimal-digit-tests: New file. + * modules/unictype/digit-tests: New file. + * modules/unictype/mirror-tests: New file. + * modules/unictype/numeric-tests: New file. + * modules/unictype/property-alphabetic-tests: New file. + * modules/unictype/property-ascii-hex-digit-tests: New file. + * modules/unictype/property-bidi-arabic-digit-tests: New file. + * modules/unictype/property-bidi-arabic-right-to-left-tests: New file. + * modules/unictype/property-bidi-block-separator-tests: New file. + * modules/unictype/property-bidi-boundary-neutral-tests: New file. + * modules/unictype/property-bidi-common-separator-tests: New file. + * modules/unictype/property-bidi-control-tests: New file. + * modules/unictype/property-bidi-embedding-or-override-tests: New file. + * modules/unictype/property-bidi-eur-num-separator-tests: New file. + * modules/unictype/property-bidi-eur-num-terminator-tests: New file. + * modules/unictype/property-bidi-european-digit-tests: New file. + * modules/unictype/property-bidi-hebrew-right-to-left-tests: New file. + * modules/unictype/property-bidi-left-to-right-tests: New file. + * modules/unictype/property-bidi-non-spacing-mark-tests: New file. + * modules/unictype/property-bidi-other-neutral-tests: New file. + * modules/unictype/property-bidi-pdf-tests: New file. + * modules/unictype/property-bidi-segment-separator-tests: New file. + * modules/unictype/property-bidi-whitespace-tests: New file. + * modules/unictype/property-byname-tests: New file. + * modules/unictype/property-combining-tests: New file. + * modules/unictype/property-composite-tests: New file. + * modules/unictype/property-currency-symbol-tests: New file. + * modules/unictype/property-dash-tests: New file. + * modules/unictype/property-decimal-digit-tests: New file. + * modules/unictype/property-default-ignorable-code-point-tests: New file. + * modules/unictype/property-deprecated-tests: New file. + * modules/unictype/property-diacritic-tests: New file. + * modules/unictype/property-extender-tests: New file. + * modules/unictype/property-format-control-tests: New file. + * modules/unictype/property-grapheme-base-tests: New file. + * modules/unictype/property-grapheme-extend-tests: New file. + * modules/unictype/property-grapheme-link-tests: New file. + * modules/unictype/property-hex-digit-tests: New file. + * modules/unictype/property-hyphen-tests: New file. + * modules/unictype/property-id-continue-tests: New file. + * modules/unictype/property-id-start-tests: New file. + * modules/unictype/property-ideographic-tests: New file. + * modules/unictype/property-ids-binary-operator-tests: New file. + * modules/unictype/property-ids-trinary-operator-tests: New file. + * modules/unictype/property-ignorable-control-tests: New file. + * modules/unictype/property-iso-control-tests: New file. + * modules/unictype/property-join-control-tests: New file. + * modules/unictype/property-left-of-pair-tests: New file. + * modules/unictype/property-line-separator-tests: New file. + * modules/unictype/property-logical-order-exception-tests: New file. + * modules/unictype/property-lowercase-tests: New file. + * modules/unictype/property-math-tests: New file. + * modules/unictype/property-non-break-tests: New file. + * modules/unictype/property-not-a-character-tests: New file. + * modules/unictype/property-numeric-tests: New file. + * modules/unictype/property-other-alphabetic-tests: New file. + * modules/unictype/property-other-default-ignorable-code-point-tests: New file. + * modules/unictype/property-other-grapheme-extend-tests: New file. + * modules/unictype/property-other-id-continue-tests: New file. + * modules/unictype/property-other-id-start-tests: New file. + * modules/unictype/property-other-lowercase-tests: New file. + * modules/unictype/property-other-math-tests: New file. + * modules/unictype/property-other-uppercase-tests: New file. + * modules/unictype/property-paired-punctuation-tests: New file. + * modules/unictype/property-paragraph-separator-tests: New file. + * modules/unictype/property-pattern-syntax-tests: New file. + * modules/unictype/property-pattern-white-space-tests: New file. + * modules/unictype/property-private-use-tests: New file. + * modules/unictype/property-punctuation-tests: New file. + * modules/unictype/property-quotation-mark-tests: New file. + * modules/unictype/property-radical-tests: New file. + * modules/unictype/property-sentence-terminal-tests: New file. + * modules/unictype/property-soft-dotted-tests: New file. + * modules/unictype/property-space-tests: New file. + * modules/unictype/property-terminal-punctuation-tests: New file. + * modules/unictype/property-test-tests: New file. + * modules/unictype/property-titlecase-tests: New file. + * modules/unictype/property-unassigned-code-value-tests: New file. + * modules/unictype/property-unified-ideograph-tests: New file. + * modules/unictype/property-uppercase-tests: New file. + * modules/unictype/property-variation-selector-tests: New file. + * modules/unictype/property-white-space-tests: New file. + * modules/unictype/property-xid-continue-tests: New file. + * modules/unictype/property-xid-start-tests: New file. + * modules/unictype/property-zero-width-tests: New file. + * modules/unictype/scripts-tests: New file. + * modules/unictype/syntax-c-ident-tests: New file. + * modules/unictype/syntax-c-whitespace-tests: New file. + * modules/unictype/syntax-java-ident-tests: New file. + * modules/unictype/syntax-java-whitespace-tests: New file. + * tests/unictype/test-bidi_byname.c: New file. + * tests/unictype/test-bidi_name.c: New file. + * tests/unictype/test-bidi_of.c: New file. + * tests/unictype/test-bidi_test.c: New file. + * tests/unictype/test-block_list.c: New file. + * tests/unictype/test-block_of.c: New file. + * tests/unictype/test-block_test.c: New file. + * tests/unictype/test-categ_and.c: New file. + * tests/unictype/test-categ_and_not.c: New file. + * tests/unictype/test-categ_byname.c: New file. + * tests/unictype/test-categ_name.c: New file. + * tests/unictype/test-categ_none.c: New file. + * tests/unictype/test-categ_of.c: New file. + * tests/unictype/test-categ_or.c: New file. + * tests/unictype/test-categ_test_withtable.c: New file. + * tests/unictype/test-combining.c: New file. + * tests/unictype/test-decdigit.c: New file. + * tests/unictype/test-digit.c: New file. + * tests/unictype/test-mirror.c: New file. + * tests/unictype/test-numeric.c: New file. + * tests/unictype/test-pr_byname.c: New file. + * tests/unictype/test-pr_test.c: New file. + * tests/unictype/test-predicate-part1.h: New file. + * tests/unictype/test-predicate-part2.h: New file. + * tests/unictype/test-scripts.c: New file. + * tests/unictype/test-sy_c_ident.c: New file. + * tests/unictype/test-sy_java_ident.c: New file. + + * tests/unictype/test-categ_C.c: New file, generated by gen-ctype.c + for Unicode 5.0.0. + * tests/unictype/test-categ_Cc.c: Likewise. + * tests/unictype/test-categ_Cf.c: Likewise. + * tests/unictype/test-categ_Cn.c: Likewise. + * tests/unictype/test-categ_Co.c: Likewise. + * tests/unictype/test-categ_Cs.c: Likewise. + * tests/unictype/test-categ_L.c: Likewise. + * tests/unictype/test-categ_Ll.c: Likewise. + * tests/unictype/test-categ_Lm.c: Likewise. + * tests/unictype/test-categ_Lo.c: Likewise. + * tests/unictype/test-categ_Lt.c: Likewise. + * tests/unictype/test-categ_Lu.c: Likewise. + * tests/unictype/test-categ_M.c: Likewise. + * tests/unictype/test-categ_Mc.c: Likewise. + * tests/unictype/test-categ_Me.c: Likewise. + * tests/unictype/test-categ_Mn.c: Likewise. + * tests/unictype/test-categ_N.c: Likewise. + * tests/unictype/test-categ_Nd.c: Likewise. + * tests/unictype/test-categ_Nl.c: Likewise. + * tests/unictype/test-categ_No.c: Likewise. + * tests/unictype/test-categ_P.c: Likewise. + * tests/unictype/test-categ_Pc.c: Likewise. + * tests/unictype/test-categ_Pd.c: Likewise. + * tests/unictype/test-categ_Pe.c: Likewise. + * tests/unictype/test-categ_Pf.c: Likewise. + * tests/unictype/test-categ_Pi.c: Likewise. + * tests/unictype/test-categ_Po.c: Likewise. + * tests/unictype/test-categ_Ps.c: Likewise. + * tests/unictype/test-categ_S.c: Likewise. + * tests/unictype/test-categ_Sc.c: Likewise. + * tests/unictype/test-categ_Sk.c: Likewise. + * tests/unictype/test-categ_Sm.c: Likewise. + * tests/unictype/test-categ_So.c: Likewise. + * tests/unictype/test-categ_Z.c: Likewise. + * tests/unictype/test-categ_Zl.c: Likewise. + * tests/unictype/test-categ_Zp.c: Likewise. + * tests/unictype/test-categ_Zs.c: Likewise. + * tests/unictype/test-ctype_alnum.c: Likewise. + * tests/unictype/test-ctype_alpha.c: Likewise. + * tests/unictype/test-ctype_blank.c: Likewise. + * tests/unictype/test-ctype_cntrl.c: Likewise. + * tests/unictype/test-ctype_digit.c: Likewise. + * tests/unictype/test-ctype_graph.c: Likewise. + * tests/unictype/test-ctype_lower.c: Likewise. + * tests/unictype/test-ctype_print.c: Likewise. + * tests/unictype/test-ctype_punct.c: Likewise. + * tests/unictype/test-ctype_space.c: Likewise. + * tests/unictype/test-ctype_upper.c: Likewise. + * tests/unictype/test-ctype_xdigit.c: Likewise. + * tests/unictype/test-decdigit.h: Likewise. + * tests/unictype/test-digit.h: Likewise. + * tests/unictype/test-numeric.h: Likewise. + * tests/unictype/test-pr_alphabetic.c: Likewise. + * tests/unictype/test-pr_ascii_hex_digit.c: Likewise. + * tests/unictype/test-pr_bidi_arabic_digit.c: Likewise. + * tests/unictype/test-pr_bidi_arabic_right_to_left.c: Likewise. + * tests/unictype/test-pr_bidi_block_separator.c: Likewise. + * tests/unictype/test-pr_bidi_boundary_neutral.c: Likewise. + * tests/unictype/test-pr_bidi_common_separator.c: Likewise. + * tests/unictype/test-pr_bidi_control.c: Likewise. + * tests/unictype/test-pr_bidi_embedding_or_override.c: Likewise. + * tests/unictype/test-pr_bidi_eur_num_separator.c: Likewise. + * tests/unictype/test-pr_bidi_eur_num_terminator.c: Likewise. + * tests/unictype/test-pr_bidi_european_digit.c: Likewise. + * tests/unictype/test-pr_bidi_hebrew_right_to_left.c: Likewise. + * tests/unictype/test-pr_bidi_left_to_right.c: Likewise. + * tests/unictype/test-pr_bidi_non_spacing_mark.c: Likewise. + * tests/unictype/test-pr_bidi_other_neutral.c: Likewise. + * tests/unictype/test-pr_bidi_pdf.c: Likewise. + * tests/unictype/test-pr_bidi_segment_separator.c: Likewise. + * tests/unictype/test-pr_bidi_whitespace.c: Likewise. + * tests/unictype/test-pr_combining.c: Likewise. + * tests/unictype/test-pr_composite.c: Likewise. + * tests/unictype/test-pr_currency_symbol.c: Likewise. + * tests/unictype/test-pr_dash.c: Likewise. + * tests/unictype/test-pr_decimal_digit.c: Likewise. + * tests/unictype/test-pr_default_ignorable_code_point.c: Likewise. + * tests/unictype/test-pr_deprecated.c: Likewise. + * tests/unictype/test-pr_diacritic.c: Likewise. + * tests/unictype/test-pr_extender.c: Likewise. + * tests/unictype/test-pr_format_control.c: Likewise. + * tests/unictype/test-pr_grapheme_base.c: Likewise. + * tests/unictype/test-pr_grapheme_extend.c: Likewise. + * tests/unictype/test-pr_grapheme_link.c: Likewise. + * tests/unictype/test-pr_hex_digit.c: Likewise. + * tests/unictype/test-pr_hyphen.c: Likewise. + * tests/unictype/test-pr_id_continue.c: Likewise. + * tests/unictype/test-pr_id_start.c: Likewise. + * tests/unictype/test-pr_ideographic.c: Likewise. + * tests/unictype/test-pr_ids_binary_operator.c: Likewise. + * tests/unictype/test-pr_ids_trinary_operator.c: Likewise. + * tests/unictype/test-pr_ignorable_control.c: Likewise. + * tests/unictype/test-pr_iso_control.c: Likewise. + * tests/unictype/test-pr_join_control.c: Likewise. + * tests/unictype/test-pr_left_of_pair.c: Likewise. + * tests/unictype/test-pr_line_separator.c: Likewise. + * tests/unictype/test-pr_logical_order_exception.c: Likewise. + * tests/unictype/test-pr_lowercase.c: Likewise. + * tests/unictype/test-pr_math.c: Likewise. + * tests/unictype/test-pr_non_break.c: Likewise. + * tests/unictype/test-pr_not_a_character.c: Likewise. + * tests/unictype/test-pr_numeric.c: Likewise. + * tests/unictype/test-pr_other_alphabetic.c: Likewise. + * tests/unictype/test-pr_other_default_ignorable_code_point.c: Likewise. + * tests/unictype/test-pr_other_grapheme_extend.c: Likewise. + * tests/unictype/test-pr_other_id_continue.c: Likewise. + * tests/unictype/test-pr_other_id_start.c: Likewise. + * tests/unictype/test-pr_other_lowercase.c: Likewise. + * tests/unictype/test-pr_other_math.c: Likewise. + * tests/unictype/test-pr_other_uppercase.c: Likewise. + * tests/unictype/test-pr_paired_punctuation.c: Likewise. + * tests/unictype/test-pr_paragraph_separator.c: Likewise. + * tests/unictype/test-pr_pattern_syntax.c: Likewise. + * tests/unictype/test-pr_pattern_white_space.c: Likewise. + * tests/unictype/test-pr_private_use.c: Likewise. + * tests/unictype/test-pr_punctuation.c: Likewise. + * tests/unictype/test-pr_quotation_mark.c: Likewise. + * tests/unictype/test-pr_radical.c: Likewise. + * tests/unictype/test-pr_sentence_terminal.c: Likewise. + * tests/unictype/test-pr_soft_dotted.c: Likewise. + * tests/unictype/test-pr_space.c: Likewise. + * tests/unictype/test-pr_terminal_punctuation.c: Likewise. + * tests/unictype/test-pr_titlecase.c: Likewise. + * tests/unictype/test-pr_unassigned_code_value.c: Likewise. + * tests/unictype/test-pr_unified_ideograph.c: Likewise. + * tests/unictype/test-pr_uppercase.c: Likewise. + * tests/unictype/test-pr_variation_selector.c: Likewise. + * tests/unictype/test-pr_white_space.c: Likewise. + * tests/unictype/test-pr_xid_continue.c: Likewise. + * tests/unictype/test-pr_xid_start.c: Likewise. + * tests/unictype/test-pr_zero_width.c: Likewise. + * tests/unictype/test-sy_c_whitespace.c: Likewise. + * tests/unictype/test-sy_java_whitespace.c: Likewise. + +2007-11-12 Bruno Haible + + Unicode character classification functions. + * lib/unictype.h: New file. + * modules/unictype/base: New file. + * modules/unictype/category-L: New file. + * modules/unictype/category-Lu: New file. + * modules/unictype/category-Ll: New file. + * modules/unictype/category-Lt: New file. + * modules/unictype/category-Lm: New file. + * modules/unictype/category-Lo: New file. + * modules/unictype/category-M: New file. + * modules/unictype/category-Mn: New file. + * modules/unictype/category-Mc: New file. + * modules/unictype/category-Me: New file. + * modules/unictype/category-N: New file. + * modules/unictype/category-Nd: New file. + * modules/unictype/category-Nl: New file. + * modules/unictype/category-No: New file. + * modules/unictype/category-P: New file. + * modules/unictype/category-Pc: New file. + * modules/unictype/category-Pd: New file. + * modules/unictype/category-Ps: New file. + * modules/unictype/category-Pe: New file. + * modules/unictype/category-Pi: New file. + * modules/unictype/category-Pf: New file. + * modules/unictype/category-Po: New file. + * modules/unictype/category-S: New file. + * modules/unictype/category-Sm: New file. + * modules/unictype/category-Sc: New file. + * modules/unictype/category-Sk: New file. + * modules/unictype/category-So: New file. + * modules/unictype/category-Z: New file. + * modules/unictype/category-Zs: New file. + * modules/unictype/category-Zl: New file. + * modules/unictype/category-Zp: New file. + * modules/unictype/category-C: New file. + * modules/unictype/category-Cc: New file. + * modules/unictype/category-Cf: New file. + * modules/unictype/category-Cs: New file. + * modules/unictype/category-Co: New file. + * modules/unictype/category-Cn: New file. + * modules/unictype/category-or: New file. + * modules/unictype/category-of: New file. + * modules/unictype/category-test: New file. + * modules/unictype/category-test-withtable: New file. + * modules/unictype/category-byname: New file. + * modules/unictype/category-none: New file. + * modules/unictype/category-and: New file. + * modules/unictype/category-and-not: New file. + * modules/unictype/category-name: New file. + * modules/unictype/combining-class: New file. + * modules/unictype/category-all: New file. + * modules/unictype/bidicategory-all: New file. + * modules/unictype/bidicategory-byname: New file. + * modules/unictype/bidicategory-name: New file. + * modules/unictype/bidicategory-of: New file. + * modules/unictype/bidicategory-test: New file. + * modules/unictype/decimal-digit: New file. + * modules/unictype/digit: New file. + * modules/unictype/numeric: New file. + * modules/unictype/mirror: New file. + * modules/unictype/property-white-space: New file. + * modules/unictype/property-alphabetic: New file. + * modules/unictype/property-other-alphabetic: New file. + * modules/unictype/property-not-a-character: New file. + * modules/unictype/property-default-ignorable-code-point: New file. + * modules/unictype/property-other-default-ignorable-code-point: New + file. + * modules/unictype/property-deprecated: New file. + * modules/unictype/property-logical-order-exception: New file. + * modules/unictype/property-variation-selector: New file. + * modules/unictype/property-private-use: New file. + * modules/unictype/property-unassigned-code-value: New file. + * modules/unictype/property-uppercase: New file. + * modules/unictype/property-other-uppercase: New file. + * modules/unictype/property-lowercase: New file. + * modules/unictype/property-other-lowercase: New file. + * modules/unictype/property-titlecase: New file. + * modules/unictype/property-soft-dotted: New file. + * modules/unictype/property-id-start: New file. + * modules/unictype/property-other-id-start: New file. + * modules/unictype/property-id-continue: New file. + * modules/unictype/property-other-id-continue: New file. + * modules/unictype/property-xid-start: New file. + * modules/unictype/property-xid-continue: New file. + * modules/unictype/property-pattern-white-space: New file. + * modules/unictype/property-pattern-syntax: New file. + * modules/unictype/property-join-control: New file. + * modules/unictype/property-grapheme-base: New file. + * modules/unictype/property-grapheme-extend: New file. + * modules/unictype/property-other-grapheme-extend: New file. + * modules/unictype/property-grapheme-link: New file. + * modules/unictype/property-bidi-control: New file. + * modules/unictype/property-bidi-left-to-right: New file. + * modules/unictype/property-bidi-hebrew-right-to-left: New file. + * modules/unictype/property-bidi-arabic-right-to-left: New file. + * modules/unictype/property-bidi-european-digit: New file. + * modules/unictype/property-bidi-eur-num-separator: New file. + * modules/unictype/property-bidi-eur-num-terminator: New file. + * modules/unictype/property-bidi-arabic-digit: New file. + * modules/unictype/property-bidi-common-separator: New file. + * modules/unictype/property-bidi-block-separator: New file. + * modules/unictype/property-bidi-segment-separator: New file. + * modules/unictype/property-bidi-whitespace: New file. + * modules/unictype/property-bidi-non-spacing-mark: New file. + * modules/unictype/property-bidi-boundary-neutral: New file. + * modules/unictype/property-bidi-pdf: New file. + * modules/unictype/property-bidi-embedding-or-override: New file. + * modules/unictype/property-bidi-other-neutral: New file. + * modules/unictype/property-hex-digit: New file. + * modules/unictype/property-ascii-hex-digit: New file. + * modules/unictype/property-ideographic: New file. + * modules/unictype/property-unified-ideograph: New file. + * modules/unictype/property-radical: New file. + * modules/unictype/property-ids-binary-operator: New file. + * modules/unictype/property-ids-trinary-operator: New file. + * modules/unictype/property-zero-width: New file. + * modules/unictype/property-space: New file. + * modules/unictype/property-non-break: New file. + * modules/unictype/property-iso-control: New file. + * modules/unictype/property-format-control: New file. + * modules/unictype/property-dash: New file. + * modules/unictype/property-hyphen: New file. + * modules/unictype/property-punctuation: New file. + * modules/unictype/property-line-separator: New file. + * modules/unictype/property-paragraph-separator: New file. + * modules/unictype/property-quotation-mark: New file. + * modules/unictype/property-sentence-terminal: New file. + * modules/unictype/property-terminal-punctuation: New file. + * modules/unictype/property-currency-symbol: New file. + * modules/unictype/property-math: New file. + * modules/unictype/property-other-math: New file. + * modules/unictype/property-paired-punctuation: New file. + * modules/unictype/property-left-of-pair: New file. + * modules/unictype/property-combining: New file. + * modules/unictype/property-composite: New file. + * modules/unictype/property-decimal-digit: New file. + * modules/unictype/property-numeric: New file. + * modules/unictype/property-diacritic: New file. + * modules/unictype/property-extender: New file. + * modules/unictype/property-ignorable-control: New file. + * modules/unictype/property-test: New file. + * modules/unictype/property-byname: New file. + * modules/unictype/property-all: New file. + * modules/unictype/scripts: New file. + * modules/unictype/scripts-all: New file. + * modules/unictype/block-of: New file. + * modules/unictype/block-test: New file. + * modules/unictype/block-list: New file. + * modules/unictype/block-all: New file. + * modules/unictype/syntax-c-whitespace: New file. + * modules/unictype/syntax-java-whitespace: New file. + * modules/unictype/syntax-c-ident: New file. + * modules/unictype/syntax-java-ident: New file. + * modules/unictype/ctype-alnum: New file. + * modules/unictype/ctype-alpha: New file. + * modules/unictype/ctype-cntrl: New file. + * modules/unictype/ctype-digit: New file. + * modules/unictype/ctype-graph: New file. + * modules/unictype/ctype-lower: New file. + * modules/unictype/ctype-print: New file. + * modules/unictype/ctype-punct: New file. + * modules/unictype/ctype-space: New file. + * modules/unictype/ctype-upper: New file. + * modules/unictype/ctype-xdigit: New file. + * modules/unictype/ctype-blank: New file. + * lib/unictype/bidi_byname.c: New file. + * lib/unictype/bidi_name.c: New file. + * lib/unictype/bidi_of.c: New file. + * lib/unictype/bidi_test.c: New file. + * lib/unictype/bitmap.h: New file. + * lib/unictype/block_test.c: New file. + * lib/unictype/blocks.c: New file. + * lib/unictype/categ_C.c: New file. + * lib/unictype/categ_Cc.c: New file. + * lib/unictype/categ_Cf.c: New file. + * lib/unictype/categ_Cn.c: New file. + * lib/unictype/categ_Co.c: New file. + * lib/unictype/categ_Cs.c: New file. + * lib/unictype/categ_L.c: New file. + * lib/unictype/categ_Ll.c: New file. + * lib/unictype/categ_Lm.c: New file. + * lib/unictype/categ_Lo.c: New file. + * lib/unictype/categ_Lt.c: New file. + * lib/unictype/categ_Lu.c: New file. + * lib/unictype/categ_M.c: New file. + * lib/unictype/categ_Mc.c: New file. + * lib/unictype/categ_Me.c: New file. + * lib/unictype/categ_Mn.c: New file. + * lib/unictype/categ_N.c: New file. + * lib/unictype/categ_Nd.c: New file. + * lib/unictype/categ_Nl.c: New file. + * lib/unictype/categ_No.c: New file. + * lib/unictype/categ_P.c: New file. + * lib/unictype/categ_Pc.c: New file. + * lib/unictype/categ_Pd.c: New file. + * lib/unictype/categ_Pe.c: New file. + * lib/unictype/categ_Pf.c: New file. + * lib/unictype/categ_Pi.c: New file. + * lib/unictype/categ_Po.c: New file. + * lib/unictype/categ_Ps.c: New file. + * lib/unictype/categ_S.c: New file. + * lib/unictype/categ_Sc.c: New file. + * lib/unictype/categ_Sk.c: New file. + * lib/unictype/categ_Sm.c: New file. + * lib/unictype/categ_So.c: New file. + * lib/unictype/categ_Z.c: New file. + * lib/unictype/categ_Zl.c: New file. + * lib/unictype/categ_Zp.c: New file. + * lib/unictype/categ_Zs.c: New file. + * lib/unictype/categ_and.c: New file. + * lib/unictype/categ_and_not.c: New file. + * lib/unictype/categ_byname.c: New file. + * lib/unictype/categ_name.c: New file. + * lib/unictype/categ_none.c: New file. + * lib/unictype/categ_of.c: New file. + * lib/unictype/categ_or.c: New file. + * lib/unictype/categ_test.c: New file. + * lib/unictype/combining.c: New file. + * lib/unictype/ctype_alnum.c: New file. + * lib/unictype/ctype_alpha.c: New file. + * lib/unictype/ctype_blank.c: New file. + * lib/unictype/ctype_cntrl.c: New file. + * lib/unictype/ctype_digit.c: New file. + * lib/unictype/ctype_graph.c: New file. + * lib/unictype/ctype_lower.c: New file. + * lib/unictype/ctype_print.c: New file. + * lib/unictype/ctype_punct.c: New file. + * lib/unictype/ctype_space.c: New file. + * lib/unictype/ctype_upper.c: New file. + * lib/unictype/ctype_xdigit.c: New file. + * lib/unictype/decdigit.c: New file. + * lib/unictype/digit.c: New file. + * lib/unictype/identsyntaxmap.h: New file. + * lib/unictype/mirror.c: New file. + * lib/unictype/numeric.c: New file. + * lib/unictype/pr_alphabetic.c: New file. + * lib/unictype/pr_ascii_hex_digit.c: New file. + * lib/unictype/pr_bidi_arabic_digit.c: New file. + * lib/unictype/pr_bidi_arabic_right_to_left.c: New file. + * lib/unictype/pr_bidi_block_separator.c: New file. + * lib/unictype/pr_bidi_boundary_neutral.c: New file. + * lib/unictype/pr_bidi_common_separator.c: New file. + * lib/unictype/pr_bidi_control.c: New file. + * lib/unictype/pr_bidi_embedding_or_override.c: New file. + * lib/unictype/pr_bidi_eur_num_separator.c: New file. + * lib/unictype/pr_bidi_eur_num_terminator.c: New file. + * lib/unictype/pr_bidi_european_digit.c: New file. + * lib/unictype/pr_bidi_hebrew_right_to_left.c: New file. + * lib/unictype/pr_bidi_left_to_right.c: New file. + * lib/unictype/pr_bidi_non_spacing_mark.c: New file. + * lib/unictype/pr_bidi_other_neutral.c: New file. + * lib/unictype/pr_bidi_pdf.c: New file. + * lib/unictype/pr_bidi_segment_separator.c: New file. + * lib/unictype/pr_bidi_whitespace.c: New file. + * lib/unictype/pr_byname.c: New file. + * lib/unictype/pr_byname.gperf: New file. + * lib/unictype/pr_combining.c: New file. + * lib/unictype/pr_composite.c: New file. + * lib/unictype/pr_currency_symbol.c: New file. + * lib/unictype/pr_dash.c: New file. + * lib/unictype/pr_decimal_digit.c: New file. + * lib/unictype/pr_default_ignorable_code_point.c: New file. + * lib/unictype/pr_deprecated.c: New file. + * lib/unictype/pr_diacritic.c: New file. + * lib/unictype/pr_extender.c: New file. + * lib/unictype/pr_format_control.c: New file. + * lib/unictype/pr_grapheme_base.c: New file. + * lib/unictype/pr_grapheme_extend.c: New file. + * lib/unictype/pr_grapheme_link.c: New file. + * lib/unictype/pr_hex_digit.c: New file. + * lib/unictype/pr_hyphen.c: New file. + * lib/unictype/pr_id_continue.c: New file. + * lib/unictype/pr_id_start.c: New file. + * lib/unictype/pr_ideographic.c: New file. + * lib/unictype/pr_ids_binary_operator.c: New file. + * lib/unictype/pr_ids_trinary_operator.c: New file. + * lib/unictype/pr_ignorable_control.c: New file. + * lib/unictype/pr_iso_control.c: New file. + * lib/unictype/pr_join_control.c: New file. + * lib/unictype/pr_left_of_pair.c: New file. + * lib/unictype/pr_line_separator.c: New file. + * lib/unictype/pr_logical_order_exception.c: New file. + * lib/unictype/pr_lowercase.c: New file. + * lib/unictype/pr_math.c: New file. + * lib/unictype/pr_non_break.c: New file. + * lib/unictype/pr_not_a_character.c: New file. + * lib/unictype/pr_numeric.c: New file. + * lib/unictype/pr_other_alphabetic.c: New file. + * lib/unictype/pr_other_default_ignorable_code_point.c: New file. + * lib/unictype/pr_other_grapheme_extend.c: New file. + * lib/unictype/pr_other_id_continue.c: New file. + * lib/unictype/pr_other_id_start.c: New file. + * lib/unictype/pr_other_lowercase.c: New file. + * lib/unictype/pr_other_math.c: New file. + * lib/unictype/pr_other_uppercase.c: New file. + * lib/unictype/pr_paired_punctuation.c: New file. + * lib/unictype/pr_paragraph_separator.c: New file. + * lib/unictype/pr_pattern_syntax.c: New file. + * lib/unictype/pr_pattern_white_space.c: New file. + * lib/unictype/pr_private_use.c: New file. + * lib/unictype/pr_punctuation.c: New file. + * lib/unictype/pr_quotation_mark.c: New file. + * lib/unictype/pr_radical.c: New file. + * lib/unictype/pr_sentence_terminal.c: New file. + * lib/unictype/pr_soft_dotted.c: New file. + * lib/unictype/pr_space.c: New file. + * lib/unictype/pr_terminal_punctuation.c: New file. + * lib/unictype/pr_test.c: New file. + * lib/unictype/pr_titlecase.c: New file. + * lib/unictype/pr_unassigned_code_value.c: New file. + * lib/unictype/pr_unified_ideograph.c: New file. + * lib/unictype/pr_uppercase.c: New file. + * lib/unictype/pr_variation_selector.c: New file. + * lib/unictype/pr_white_space.c: New file. + * lib/unictype/pr_xid_continue.c: New file. + * lib/unictype/pr_xid_start.c: New file. + * lib/unictype/pr_zero_width.c: New file. + * lib/unictype/scripts.c: New file. + * lib/unictype/sy_c_ident.c: New file. + * lib/unictype/sy_c_whitespace.c: New file. + * lib/unictype/sy_java_ident.c: New file. + * lib/unictype/sy_java_whitespace.c: New file. + + * lib/unictype/bidi_of.h: New file, generated by gen-ctype.c for + Unicode 5.0.0. + * lib/unictype/blocks.h: Likewise. + * lib/unictype/categ_C.h: Likewise. + * lib/unictype/categ_Cc.h: Likewise. + * lib/unictype/categ_Cf.h: Likewise. + * lib/unictype/categ_Cn.h: Likewise. + * lib/unictype/categ_Co.h: Likewise. + * lib/unictype/categ_Cs.h: Likewise. + * lib/unictype/categ_L.h: Likewise. + * lib/unictype/categ_Ll.h: Likewise. + * lib/unictype/categ_Lm.h: Likewise. + * lib/unictype/categ_Lo.h: Likewise. + * lib/unictype/categ_Lt.h: Likewise. + * lib/unictype/categ_Lu.h: Likewise. + * lib/unictype/categ_M.h: Likewise. + * lib/unictype/categ_Mc.h: Likewise. + * lib/unictype/categ_Me.h: Likewise. + * lib/unictype/categ_Mn.h: Likewise. + * lib/unictype/categ_N.h: Likewise. + * lib/unictype/categ_Nd.h: Likewise. + * lib/unictype/categ_Nl.h: Likewise. + * lib/unictype/categ_No.h: Likewise. + * lib/unictype/categ_P.h: Likewise. + * lib/unictype/categ_Pc.h: Likewise. + * lib/unictype/categ_Pd.h: Likewise. + * lib/unictype/categ_Pe.h: Likewise. + * lib/unictype/categ_Pf.h: Likewise. + * lib/unictype/categ_Pi.h: Likewise. + * lib/unictype/categ_Po.h: Likewise. + * lib/unictype/categ_Ps.h: Likewise. + * lib/unictype/categ_S.h: Likewise. + * lib/unictype/categ_Sc.h: Likewise. + * lib/unictype/categ_Sk.h: Likewise. + * lib/unictype/categ_Sm.h: Likewise. + * lib/unictype/categ_So.h: Likewise. + * lib/unictype/categ_Z.h: Likewise. + * lib/unictype/categ_Zl.h: Likewise. + * lib/unictype/categ_Zp.h: Likewise. + * lib/unictype/categ_Zs.h: Likewise. + * lib/unictype/categ_of.h: Likewise. + * lib/unictype/combining.h: Likewise. + * lib/unictype/ctype_alnum.h: Likewise. + * lib/unictype/ctype_alpha.h: Likewise. + * lib/unictype/ctype_blank.h: Likewise. + * lib/unictype/ctype_cntrl.h: Likewise. + * lib/unictype/ctype_digit.h: Likewise. + * lib/unictype/ctype_graph.h: Likewise. + * lib/unictype/ctype_lower.h: Likewise. + * lib/unictype/ctype_print.h: Likewise. + * lib/unictype/ctype_punct.h: Likewise. + * lib/unictype/ctype_space.h: Likewise. + * lib/unictype/ctype_upper.h: Likewise. + * lib/unictype/ctype_xdigit.h: Likewise. + * lib/unictype/decdigit.h: Likewise. + * lib/unictype/digit.h: Likewise. + * lib/unictype/mirror.h: Likewise. + * lib/unictype/numeric.h: Likewise. + * lib/unictype/pr_alphabetic.h: Likewise. + * lib/unictype/pr_ascii_hex_digit.h: Likewise. + * lib/unictype/pr_bidi_arabic_digit.h: Likewise. + * lib/unictype/pr_bidi_arabic_right_to_left.h: Likewise. + * lib/unictype/pr_bidi_block_separator.h: Likewise. + * lib/unictype/pr_bidi_boundary_neutral.h: Likewise. + * lib/unictype/pr_bidi_common_separator.h: Likewise. + * lib/unictype/pr_bidi_control.h: Likewise. + * lib/unictype/pr_bidi_embedding_or_override.h: Likewise. + * lib/unictype/pr_bidi_eur_num_separator.h: Likewise. + * lib/unictype/pr_bidi_eur_num_terminator.h: Likewise. + * lib/unictype/pr_bidi_european_digit.h: Likewise. + * lib/unictype/pr_bidi_hebrew_right_to_left.h: Likewise. + * lib/unictype/pr_bidi_left_to_right.h: Likewise. + * lib/unictype/pr_bidi_non_spacing_mark.h: Likewise. + * lib/unictype/pr_bidi_other_neutral.h: Likewise. + * lib/unictype/pr_bidi_pdf.h: Likewise. + * lib/unictype/pr_bidi_segment_separator.h: Likewise. + * lib/unictype/pr_bidi_whitespace.h: Likewise. + * lib/unictype/pr_combining.h: Likewise. + * lib/unictype/pr_composite.h: Likewise. + * lib/unictype/pr_currency_symbol.h: Likewise. + * lib/unictype/pr_dash.h: Likewise. + * lib/unictype/pr_decimal_digit.h: Likewise. + * lib/unictype/pr_default_ignorable_code_point.h: Likewise. + * lib/unictype/pr_deprecated.h: Likewise. + * lib/unictype/pr_diacritic.h: Likewise. + * lib/unictype/pr_extender.h: Likewise. + * lib/unictype/pr_format_control.h: Likewise. + * lib/unictype/pr_grapheme_base.h: Likewise. + * lib/unictype/pr_grapheme_extend.h: Likewise. + * lib/unictype/pr_grapheme_link.h: Likewise. + * lib/unictype/pr_hex_digit.h: Likewise. + * lib/unictype/pr_hyphen.h: Likewise. + * lib/unictype/pr_id_continue.h: Likewise. + * lib/unictype/pr_id_start.h: Likewise. + * lib/unictype/pr_ideographic.h: Likewise. + * lib/unictype/pr_ids_binary_operator.h: Likewise. + * lib/unictype/pr_ids_trinary_operator.h: Likewise. + * lib/unictype/pr_ignorable_control.h: Likewise. + * lib/unictype/pr_iso_control.h: Likewise. + * lib/unictype/pr_join_control.h: Likewise. + * lib/unictype/pr_left_of_pair.h: Likewise. + * lib/unictype/pr_line_separator.h: Likewise. + * lib/unictype/pr_logical_order_exception.h: Likewise. + * lib/unictype/pr_lowercase.h: Likewise. + * lib/unictype/pr_math.h: Likewise. + * lib/unictype/pr_non_break.h: Likewise. + * lib/unictype/pr_not_a_character.h: Likewise. + * lib/unictype/pr_numeric.h: Likewise. + * lib/unictype/pr_other_alphabetic.h: Likewise. + * lib/unictype/pr_other_default_ignorable_code_point.h: Likewise. + * lib/unictype/pr_other_grapheme_extend.h: Likewise. + * lib/unictype/pr_other_id_continue.h: Likewise. + * lib/unictype/pr_other_id_start.h: Likewise. + * lib/unictype/pr_other_lowercase.h: Likewise. + * lib/unictype/pr_other_math.h: Likewise. + * lib/unictype/pr_other_uppercase.h: Likewise. + * lib/unictype/pr_paired_punctuation.h: Likewise. + * lib/unictype/pr_paragraph_separator.h: Likewise. + * lib/unictype/pr_pattern_syntax.h: Likewise. + * lib/unictype/pr_pattern_white_space.h: Likewise. + * lib/unictype/pr_private_use.h: Likewise. + * lib/unictype/pr_punctuation.h: Likewise. + * lib/unictype/pr_quotation_mark.h: Likewise. + * lib/unictype/pr_radical.h: Likewise. + * lib/unictype/pr_sentence_terminal.h: Likewise. + * lib/unictype/pr_soft_dotted.h: Likewise. + * lib/unictype/pr_space.h: Likewise. + * lib/unictype/pr_terminal_punctuation.h: Likewise. + * lib/unictype/pr_titlecase.h: Likewise. + * lib/unictype/pr_unassigned_code_value.h: Likewise. + * lib/unictype/pr_unified_ideograph.h: Likewise. + * lib/unictype/pr_uppercase.h: Likewise. + * lib/unictype/pr_variation_selector.h: Likewise. + * lib/unictype/pr_white_space.h: Likewise. + * lib/unictype/pr_xid_continue.h: Likewise. + * lib/unictype/pr_xid_start.h: Likewise. + * lib/unictype/pr_zero_width.h: Likewise. + * lib/unictype/scripts.h: Likewise. + * lib/unictype/scripts_byname.gperf: Likewise. + * lib/unictype/sy_c_ident.h: Likewise. + * lib/unictype/sy_c_whitespace.h: Likewise. + * lib/unictype/sy_java_ident.h: Likewise. + * lib/unictype/sy_java_whitespace.h: Likewise. + + * lib/unictype/Makefile: New file. + * lib/unictype/gen-ctype.c: New file, based on gen-unicode-ctype.c in + glibc. + * lib/unictype/3level.h: New file, copied from glibc. + * lib/unictype/3levelbit.h: New file. + +2007-11-11 Bruno Haible + + * modules/gperf: New file. + * modules/iconv_open (Depends-on): Add it. + (Makefile.am): Remove the GPERF definition. + +2007-11-11 Bruno Haible + + * m4/round.m4 (gl_FUNC_ROUND): Test against NetBSD 3.0 bug. + * doc/functions/round.texi: Mention the NetBSD 3.0 bug. + +2007-11-11 Bruno Haible + + * tests/test-argmatch.c (ARGMATCH_DIE): Undefine. + (usage): Remove function. + +2007-11-11 Bruno Haible + + * m4/roundf.m4 (gl_FUNC_ROUNDF): Use gl_FUNC_FLOORF_LIBS and + gl_FUNC_CEILF_LIBS. + * m4/round.m4 (gl_FUNC_ROUND): Use gl_FUNC_FLOOR_LIBS and + gl_FUNC_CEIL_LIBS. + * m4/roundl.m4 (gl_FUNC_ROUNDL): Use gl_FUNC_FLOORL_LIBS and + gl_FUNC_CEILL_LIBS. + * modules/roundf (Files): Add m4/floorf.m4, m4/ceilf.m4. + * modules/round (Files): Add m4/floor.m4, m4/ceil.m4. + * modules/roundl (Files): Add m4/floorl.m4, m4/ceill.m4. + +2007-11-11 Bruno Haible + + * m4/roundf.m4 (gl_FUNC_ROUNDF): Handle the case that floorf and + roundf were declared but do not exist on functions. + * m4/roundl.m4 (gl_FUNC_ROUNDL): Handle the case that floorl and + roundl were declared but do not exist on functions. + * lib/round.c (HAVE_FLOOR_AND_CEIL): Use HAVE_FLOORF_AND_CEILF and + HAVE_FLOORL_AND_CEILL, respectively. + Needed for Sun C on Solaris 10. + +2007-11-11 Bruno Haible + + * m4/roundf.m4 (gl_FUNC_ROUNDF): Set REPLACE_ROUNDF instead of + HAVE_DECL_ROUNDF. Remove redundant AC_SUBST. + * m4/round.m4 (gl_FUNC_ROUND): Set REPLACE_ROUND instead of + HAVE_DECL_ROUND. Remove redundant AC_SUBST. + * m4/roundl.m4 (gl_FUNC_ROUNDL): Set REPLACE_ROUNDL instead of + HAVE_DECL_ROUNDL. Remove redundant AC_SUBST. + * lib/math.in.h (roundf): Use REPLACE_ROUNDF instead of + HAVE_DECL_ROUNDF. + (round): Use REPLACE_ROUND instead of HAVE_DECL_ROUND. + (roundl): Use REPLACE_ROUNDL instead of HAVE_DECL_ROUNDL. + * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_ROUND* instead + of HAVE_DECL_ROUND*. + * modules/math (Makefile.am): Update. + +2007-11-10 Bruno Haible + + * m4/vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Use same check for + ptrdiff_t as m4/intl.m4. + +2007-11-10 Jim Meyering + + Avoid link failure for the argmatch test. + * tests/test-argmatch.c (usage): Define function to avoid a link + failure: argmatch_die requires a usage function. + +2007-11-09 Bruno Haible + + * doc/functions/snprintf.texi: Mention BeOS deficiency. + * doc/functions/vsnprintf.texi: Likewise. + * lib/vasnprintf.c (VASNPRINTF): Ensure that we never call snprintf + with a size argument < 2. + +2007-11-09 Bruno Haible + + * lib/vasnprintf.c (VASNPRINTF): Increase reallocation of snprintf + buffer. Fixes an inefficiency introduced on 2007-11-03. + +2007-11-09 Bruno Haible + + * m4/locale-tr.m4 (gt_LOCALE_TR_UTF8) [BeOS]: Make this test return + none instead of tr_TR. Fixes a failure of test-c-strcasecmp.c. + +2007-11-08 Jim Meyering + + Change cache variable name prefix "jm_" to "gl_" everywhere. + * m4/d-type.m4, m4/jm-winsz1.m4, m4/jm-winsz2.m4, m4/link-follow.m4: + * m4/putenv.m4, m4/strtoimax.m4, m4/strtoumax.m4, m4/unlink-busy.m4: + * m4/uptime.m4: s/gl_/jm_/ + +2007-11-07 Bruno Haible + + Update to GNU gettext 0.17. + * m4/intl.m4: Update to GNU gettext 0.17. + * m4/po.m4: Likewise. + * modules/gettext (Files): Remove m4/ulonglong.m4. + (configure.ac): Require gettext infrastructure from version 0.17. + +2007-11-06 Bruno Haible + + * lib/fbufmode.c (fbufmode) [QNX]: Use numerical values for flags; the + symbolic values are not defined in a public header. + * lib/freadable.c (freadable) [QNX]: Likewise. + * lib/freadahead.c (freadahead) [QNX]: Likewise. + * lib/freading.c (freading) [QNX]: Likewise. + * lib/fseterr.c (fseterr) [QNX]: Likewise. + * lib/fwritable.c (fwritable) [QNX]: Likewise. + * lib/fwriting.c (fwriting) [QNX]: Likewise. + * lib/fpurge.c (fpurge) [QNX]: Likewise. Add a return statement. + Reported by Alain Magloire. + + * m4/fpending.m4 (gl_FUNC_FPENDING): Add a variant for QNX. + +2007-11-05 Bruno Haible + + * lib/vasnprintf.c (VASNPRINTF): Expand the NEED_PRINTF_DIRECTIVE_A + code when NEED_PRINTF_LONG_DOUBLE or NEED_PRINTF_DOUBLE is set. + Needed on Cygwin, where !NEED_PRINTF_DIRECTIVE_A && NEED_PRINTF_DOUBLE. + Reported by Eric Blake. + +2007-10-27 Ralf Wildenhues + Bruno Haible + + * modules/malloc (configure.ac): Define GNULIB_MALLOC_GNU always. + * modules/realloc (configure.ac): Define GNULIB_REALLOC_GNU always. + * lib/realloc.c (SYSTEM_MALLOC_GLIBC_COMPATIBLE): New macro. + (malloc): Undefine also before including . + (rpl_realloc): Turn malloc(0) into malloc(1) if necessary. + Needed on OSF/1 4.0. + +2007-11-05 Jim Meyering + + git-version-gen: sync from coreutils. + * build-aux/git-version-gen: Add comments. + Change the first '-' to '.' in the snapshot version string, + e.g., 6.9-377-08144 -> 6.9.377-08144 + Remove first parameter. + Don't declare a version "-dirty" merely because a time + stamp has changed. + +2007-11-04 Bruno Haible + + * lib/lock.h: Protect all macro definitions containing an 'if' + statement through a "do { ... } while (0)". + * lib/tls.h: Likewise. + +2007-11-04 Bruno Haible + + * lib/vasnprintf.c (DCHAR_IS_TCHAR, DCHAR_CPY): Undefine at the end. + +2007-11-04 Bruno Haible + + * m4/printf.m4 (gl_PRINTF_ENOMEM): Use GL_NOCRASH. + * modules/fprintf-posix (Depends-on): Add nocrash. + * modules/snprintf-posix (Depends-on): Likewise. + * modules/sprintf-posix (Depends-on): Likewise. + * modules/vasnprintf-posix (Depends-on): Likewise. + * modules/vasprintf-posix (Depends-on): Likewise. + * modules/vfprintf-posix (Depends-on): Likewise. + * modules/vsnprintf-posix (Depends-on): Likewise. + * modules/vsprintf-posix (Depends-on): Likewise. + * modules/unistdio/u8-vasnprintf (Depends-on): Likewise. + * modules/unistdio/u8-u8-vasnprintf (Depends-on): Likewise. + * modules/unistdio/u16-vasnprintf (Depends-on): Likewise. + * modules/unistdio/u16-u16-vasnprintf (Depends-on): Likewise. + * modules/unistdio/u32-vasnprintf (Depends-on): Likewise. + * modules/unistdio/u32-u32-vasnprintf (Depends-on): Likewise. + * modules/unistdio/ulc-vasnprintf (Depends-on): Likewise. + +2007-11-04 Bruno Haible + + * modules/nocrash: New file. + * m4/nocrash.m4: New file, taken from GNU clisp. Code taken from + GNU libsigsegv, with permission of GNU libsigsegv's copyright holders. + +2007-11-04 Bruno Haible + + * tests/test-vasnprintf-posix.c (test_function): Add some tests of + precision handling. + * tests/test-vasprintf-posix.c (test_function): Likewise. + * tests/test-snprintf-posix.h (test_function): Likewise. + * tests/test-sprintf-posix.h (test_function): Likewise. + + Fix *printf behaviour for large precisions on mingw and BeOS. + * m4/printf.m4 (gl_PRINTF_PRECISION): New macro. + * lib/vasnprintf.c (VASNPRINTF): Handle NEED_PRINTF_UNBOUNDED_PRECISION. + * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_PRECISION): New macro. + (gl_PREREQ_VASNPRINTF_WITH_EXTRAS): Invoke it. + * m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_POSIX): Invoke + gl_PRINTF_PRECISION and test its result. Invoke + gl_PREREQ_VASNPRINTF_PRECISION. + * m4/snprintf-posix.m4 (gl_FUNC_SNPRINTF_POSIX): Likewise. + * m4/sprintf-posix.m4 (gl_FUNC_SPRINTF_POSIX): Likewise. + * m4/vasnprintf-posix.m4 (gl_FUNC_VASNPRINTF_POSIX): Likewise. + * m4/vasprintf-posix.m4 (gl_FUNC_VASPRINTF_POSIX): Likewise. + * m4/vfprintf-posix.m4 (gl_FUNC_VFPRINTF_POSIX): Likewise. + * m4/vsnprintf-posix.m4 (gl_FUNC_VSNPRINTF_POSIX): Likewise. + * m4/vsprintf-posix.m4 (gl_FUNC_VSPRINTF_POSIX): Likewise. + * doc/functions/fprintf.texi: Update. + * doc/functions/printf.texi: Update. + * doc/functions/snprintf.texi: Update. + * doc/functions/sprintf.texi: Update. + * doc/functions/vfprintf.texi: Update. + * doc/functions/vprintf.texi: Update. + * doc/functions/vsnprintf.texi: Update. + * doc/functions/vsprintf.texi: Update. + +2007-11-04 Bruno Haible + + * lib/vasnprintf.c (scale10_round_decimal_decoded): Fix shift loop. + +2007-11-04 Bruno Haible + + * modules/relocatable-prog (Files): Add m4/lib-ld.m4. + Reported by Sylvain Beucler . + +2007-11-03 Bruno Haible + + * tests/test-fprintf-posix2.sh: New file. + * tests/test-fprintf-posix2.c: New file. + * modules/fprintf-posix-tests (Files): Add them. + (TESTS): Add test-fprintf-posix2.sh. + (configure.ac): Check for getrlimit and setrlimit. + (check_PROGRAMS): Add test-fprintf-posix2. + + * tests/test-printf-posix2.sh: New file. + * tests/test-printf-posix2.c: New file. + * modules/printf-posix-tests (Files): Add them. + (TESTS): Add test-printf-posix2.sh. + (configure.ac): Check for getrlimit and setrlimit. + (check_PROGRAMS): Add test-printf-posix2. + + Fix *printf behaviour in out-of-memory situations on MacOS X and *BSD. + * m4/printf.m4 (gl_PRINTF_ENOMEM): New macro. + * lib/vasnprintf.c: Implement NEED_PRINTF_DOUBLE. + (decode_double): New function, copied from decode_long_double. + (scale10_round_decimal_decoded): New function, extracted from + scale10_round_decimal_long_double. + (scale10_round_decimal_long_double): Use it. + (scale10_round_decimal_double): New function. + (floorlog10): New function. + (VASNPRINTF): Handle NEED_PRINTF_DOUBLE case. + * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_ENOMEM): New macro. + (gl_PREREQ_VASNPRINTF_WITH_EXTRAS): Invoke it. + * m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_POSIX): Invoke + gl_PRINTF_ENOMEM and test its result. Invoke + gl_PREREQ_VASNPRINTF_ENOMEM. + * m4/snprintf-posix.m4 (gl_FUNC_SNPRINTF_POSIX): Likewise. + * m4/sprintf-posix.m4 (gl_FUNC_SPRINTF_POSIX): Likewise. + * m4/vasnprintf-posix.m4 (gl_FUNC_VASNPRINTF_POSIX): Likewise. + * m4/vasprintf-posix.m4 (gl_FUNC_VASPRINTF_POSIX): Likewise. + * m4/vfprintf-posix.m4 (gl_FUNC_VFPRINTF_POSIX): Likewise. + * m4/vsnprintf-posix.m4 (gl_FUNC_VSNPRINTF_POSIX): Likewise. + * m4/vsprintf-posix.m4 (gl_FUNC_VSPRINTF_POSIX): Likewise. + * modules/fprintf-posix (Depends-on): Add frexp-nolibm. + * modules/snprintf-posix (Depends-on): Likewise. + * modules/sprintf-posix (Depends-on): Likewise. + * modules/vasnprintf-posix (Depends-on): Likewise. + * modules/vasprintf-posix (Depends-on): Likewise. + * modules/vfprintf-posix (Depends-on): Likewise. + * modules/vsnprintf-posix (Depends-on): Likewise. + * modules/vsprintf-posix (Depends-on): Likewise. + * doc/functions/fprintf.texi: Update. + * doc/functions/printf.texi: Update. + * doc/functions/snprintf.texi: Update. + * doc/functions/sprintf.texi: Update. + * doc/functions/vfprintf.texi: Update. + * doc/functions/vprintf.texi: Update. + * doc/functions/vsnprintf.texi: Update. + * doc/functions/vsprintf.texi: Update. + +2007-11-03 Bruno Haible + + * modules/frexp-nolibm-tests: New file. + + * modules/frexp-nolibm: New file. + * m4/frexp.m4 (gl_FUNC_FREXP_NO_LIBM): New macro. + +2007-11-03 Bruno Haible + + * lib/vasnprintf.c (VASNPRINTF): Don't assume that snprintf's return + value is C99 compliant. + Needed for OSF/1 5.1. + +2007-11-03 Bruno Haible + + Fix out-of-memory handling of vasnprintf. + * lib/printf-parse.c: Include . + (PRINTF_PARSE): When failing, set errno to EINVAL or ENOMEM. + * lib/vasnprintf.c (VASNPRINTF): When PRINTF_PARSE fails, assume errno + is already set. + +2007-11-02 Eric Blake + + Fix tests on cygwin. + * modules/xprintf-posix-tests (Makefile.am): Link against -lintl. + +2007-11-01 Bruno Haible + + * lib/stdlib.in.h (putenv): Remove the "not POSIX compliant everywhere" + warning. + * doc/functions/putenv.texi: Clarify that the 'putenv' module is not + needed for POSIX compatibility. + +2007-11-01 Paul Eggert + + * m4/putenv.m4 (gl_FUNC_PUTENV): Also mention that we're checking + for compatibility with GNU. + +2007-11-01 Bruno Haible + + * lib/putenv.c: Include . Remove rpl_putenv declaration. + (putenv): Renamed from rpl_putenv. Change argument type from + 'const char *' to 'char *'. + * m4/putenv.m4 (gl_FUNC_PUTENV): Require gl_STDLIB_H_DEFAULTS. Instead + of defining putenv in config.h, just set REPLACE_PUTENV. + * modules/putenv (Depends-on): Add stdlib. + (configure.ac): Invoke gl_STDLIB_MODULE_INDICATOR. + (Include): Use . + * lib/stdlib.in.h (putenv): New declaration. + * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_PUTENV and + REPLACE_PUTENV. + * modules/stdlib (Makefile.am): Substitute GNULIB_PUTENV and + REPLACE_PUTENV. + Needed for MacOS X 10.5.0. + Reported by Peter O'Gorman . + +2007-11-01 Jim Meyering + + Treat an empty date string exactly like "0". + * lib/getdate.y (get_date): Once any isspace or TZ= prefix is consumed, + if the remaining date string (to be parsed) is empty, use "0". + Reported by Mischa Molhoek and discussed in this thread: + . + +2007-10-31 Bruno Haible + + * m4/intmax_t.m4 (gl_AC_TYPE_INTMAX_T, gt_AC_TYPE_INTMAX_T): Use + AC_TYPE_LONG_LONG_INT instead of gl_AC_TYPE_LONG_LONG. + * m4/uintmax_t.m4 (gl_AC_TYPE_UINTMAX_T): Use + AC_TYPE_UNSIGNED_LONG_LONG_INT instead of gl_AC_TYPE_UNSIGNED_LONG_LONG. + * m4/longlong.m4 (gl_AC_TYPE_LONG_LONG): Remove macro. + * m4/ulonglong.m4 (gl_AC_TYPE_UNSIGNED_LONG_LONG): Remove macro. + +2007-10-31 Bruno Haible + + * m4/longlong.m4 (_AC_TYPE_LONG_LONG_SNIPPET): New macro, extracted + from AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT. + (AC_TYPE_LONG_LONG_INT): Use it. + (AC_TYPE_UNSIGNED_LONG_LONG_INT): Moved here from m4/ulonglong.m4. Use + it as well. + * m4/ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Remove macro; moved + to m4/longlong.m4. + * modules/stdint (Files): Remove m4/ulonglong.m4. + * modules/strtoull (Files): Use m4/longlong.m4 instead of + m4/ulonglong.m4. + * modules/strtoumax (Files): Likewise. + +2007-10-30 Bruno Haible + + * modules/xvasprintf-posix: New file. + Suggested by Eric Blake. + +2007-10-30 Bruno Haible + + * modules/xprintf-posix-tests: New file. + * tests/test-xprintf-posix.sh: New file. + * tests/test-xprintf-posix.c: New file. + * tests/test-xfprintf-posix.c: New file. + + * modules/xprintf-posix: New file. + +2007-10-30 Ralf Wildenhues + + * modules/fbufmode-tests (MOSTLYCLEANFILES): Remove temp files. + * modules/freadable-tests (MOSTLYCLEANFILES): Likewise. + * modules/fwritable-tests (MOSTLYCLEANFILES): Likewise. + +2007-10-29 Bruno Haible + + * m4/floorf.m4 (gl_FUNC_FLOORF_LIBS): Rename the cache variable to + contain the special marker '_cv_'. + * m4/floor.m4 (gl_FUNC_FLOOR_LIBS): Likewise. + * m4/floorl.m4 (gl_FUNC_FLOORL_LIBS): Likewise. + * m4/ceilf.m4 (gl_FUNC_CEILF_LIBS): Likewise. + * m4/ceil.m4 (gl_FUNC_CEIL_LIBS): Likewise. + * m4/ceill.m4 (gl_FUNC_CEILL_LIBS): Likewise. + Reported by Ralf Wildenhues. + +2007-10-29 Bruno Haible + + * gnulib-tool (func_import): When --lgpl is not specified, set + sed_transform_lib_file to convert LGPL and GPLv2+ copyright headers to + GPLv3. + Reported by Simon Josefsson. + +2007-10-28 Bruno Haible + + * lib/math.in.h: Test REPLACE_ISFINITE instead of HAVE_DECL_ISFINITE. + * m4/isfinite.m4 (gl_ISFINITE): Initialize REPLACE_ISFINITE instead of + HAVE_DECL_ISFINITE. + * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Update. + * modules/math (Makefile.am): Substitute REPLACE_ISFINITE instead of + HAVE_DECL_ISFINITE. + +2007-10-28 Bruno Haible + + * lib/stdint.in.h (_STDINT_MAX): Subtract 1 from an unused signed + integer shift in the signed case. Fixes warnings with OSF/1 5.1 cc. + +2007-10-28 Bruno Haible + + Fix link errors with Sun C 5.0 on Solaris 10. + * m4/floorf.m4 (gl_FUNC_FLOORF): Consider also the case that the + function is declared but not present in the compiler's libm. + * m4/floorl.m4 (gl_FUNC_FLOORL): Likewise. + * m4/ceilf.m4 (gl_FUNC_CEILF): Likewise. + * m4/ceill.m4 (gl_FUNC_CEILL: Likewise. + * lib/math.in.h: Test REPLACE_CEILF instead of HAVE_DECL_CEILF. + Test REPLACE_CEILL instead of HAVE_DECL_CEILL. + Test REPLACE_FLOORF instead of HAVE_DECL_FLOORF. + Test REPLACE_FLOORL instead of HAVE_DECL_FLOORL. + * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Update. + * modules/math (Makefile.am): Substitute REPLACE_CEILF instead of + HAVE_DECL_CEILF, REPLACE_CEILL instead of HAVE_DECL_CEILL, + REPLACE_FLOORF instead of HAVE_DECL_FLOORF, REPLACE_FLOORL instead of + HAVE_DECL_FLOORL. + +2007-10-28 Bruno Haible + + * m4/floorl.m4 (gl_FUNC_FLOORL_LIBS): New macro, extracted from + gl_FUNC_FLOORL. Cache the result. + (gl_FUNC_FLOORL): Use it. + * m4/ceill.m4 (gl_FUNC_CEILL_LIBS): New macro, extracted from + gl_FUNC_CEILL. Cache the result. + (gl_FUNC_CEILL): Use it. + + * m4/floor.m4 (gl_FUNC_FLOOR_LIBS): New macro, extracted from + gl_FUNC_FLOOR. Cache the result. + (gl_FUNC_FLOOR): Use it. + * m4/ceil.m4 (gl_FUNC_CEIL_LIBS): New macro, extracted from + gl_FUNC_CEIL. Cache the result. + (gl_FUNC_CEIL): Use it. + + * m4/floorf.m4 (gl_FUNC_FLOORF_LIBS): New macro, extracted from + gl_FUNC_FLOORF. Cache the result. + (gl_FUNC_FLOORF): Use it. + * m4/ceilf.m4 (gl_FUNC_CEILF_LIBS): New macro, extracted from + gl_FUNC_CEILF. Cache the result. + (gl_FUNC_CEILF): Use it. + +2007-10-28 Bruno Haible + + * gnulib-tool: Allow specifying the LGPL version number through + --lgpl=2 or --lgpl=3. + (func_usage): Document --lgpl with argument. + Handle --lgpl=... arguments. + (func_import): Recognize also gl_LGPL calls with an argument. When + --lgpl=2 is used and the module's license is just LGPL, report an + error. Set sed_transform_lib_file according to the lgpl variable. In + the generated files, use --lgpl or gl_LGPL invocations with argument, + if necessary. + * doc/gnulib-intro.texi (Copyright): Explain how to get modules under + an LGPv2+ license. + * doc/gnulib-tool.texi (Modified imports): Update explanation of + gl_LGPL macro. + +2007-10-28 Ralf Wildenhues + Bruno Haible + + * lib/unistr.h (u8_uctomb_aux): Declare also if !HAVE_INLINE. + (u16_uctomb_aux): Likewise. + * lib/unistr/u8-uctomb-aux.c (u8_uctomb_aux): Define also if + !HAVE_INLINE. + * lib/unistr/u16-uctomb-aux.c (u16_uctomb_aux): Likewise + +2007-10-28 Bruno Haible + + * modules/error: Add a notice recommending to change XGETTEXT_OPTIONS. + Invoke AM_GETTEXT_OPTION if it exists. + * modules/vasprintf: Likewise. + * modules/verror: Likewise. + * modules/xprintf: Likewise. + * modules/xvasprintf: Likewise. + +2007-10-27 Ben Pfaff + + * lib/math.in.h: Define isfinite macro and prototypes for + gl_isfinitef, gl_isfinited, gl_isfinitel if we are providing + implementations. + * m4/math_h.m4: New substitutions for isfinite module. + * lib/isfinite.c: New file. + * m4/isfinite.m4: New file. + * modules/math: Replace isfinite-related @VARS@ in math.in.h. + * modules/isfinite: New file. + * modules/isfinite-tests: New file. + * tests/tests-isfinite.c: New file. + * doc/functions/isfinite.texi: Mention isfinite module. + * MODULES.html.sh: Mention new module. + +2007-10-27 Ben Pfaff + + Ralf Wildenhues reported that Tru64 4.0D declares the round + functions but does not have definitions. + * m4/check-math-lib.m4 (gl_CHECK_MATH_LIB): If the target function + cannot be found in any library, set the output variable to + "missing" instead of "". + * m4/round.m4: Also use our substitute if we cannot find round in + any library, even if it is declared. + * m4/roundf.m4: Likewise for roundf. + * m4/roundl.m4: Likewise for roundl. + * lib/math.in.h: Undefine roundf, round, roundl before defining + their replacements, to allow for hypothetical systems where these + may be defined as macros but not available in libraries. + +2007-10-27 Bruno Haible + + * doc/gnulib.texi: Invoke @firstparagraphindent. + * doc/gnulib-tool.texi (Simple update): Mention possible incompatible + changes in gnulib. + (Source changes): New section. + +2007-10-26 Bruno Haible + + * m4/gnulib-common.m4 (AC_C_RESTRICT): New overriding definition, + borrowed from autoconf. + +2007-10-26 Bruno Haible + + * lib/strerror.c (rpl_strerror): Return "Unknown error ..." also if + strerror returned the empty string. Needed on HP-UX 11.00. + +2007-10-24 Micah Cowan + + Remove vestiges of cvs-gnulib-checkout process. Now we use git. + * build-aux/bootstrap: Remove support for now-unnecessary option, + --cvs-user, and envvars CVS_USER, CVS_RSH. + +2007-10-24 Jim Meyering + + Avoid diagnostics from sha1sum when there is no cached checksum. + * build-aux/bootstrap (update_po_files): Skip the sha1sum check + if the po.s1 file hasn't been created yet. + + * build-aux/bootstrap: Sync from coreutils: + 2007-10-24 Jim Meyering + Get gnulib from the git repository, not from an obsolete cvs one. + * build-aux/bootstrap: Suggestion from Micah Cowan. + 2007-10-04 Jim Meyering + * build-aux/bootstrap (slurp): Adapt to _.h -> .in.h name change. + (update_po_files): Work also when there are no .po files in po/. + +2007-10-24 Paul Eggert + + * README: Append ".git" to git and cg examples. + Problem reported by Benoit Sigoure. + +2007-10-23 Micah Cowan + + * users.txt: Add wget. + +2007-10-23 Ralf Wildenhues + + Fix linking of some unistdio tests on FreeBSD. + * modules/unistdio/u16-vsnprintf-tests + (test_u16_vsprintf1_LDADD): Add @LIBINTL@. + * modules/unistdio/u16-vsprintf-tests + (test_u16_vsnprintf1_LDADD): Likewise. + * modules/unistdio/u32-vsnprintf-tests + (test_u32_vsnprintf1_LDADD): Likewise. + * modules/unistdio/u32-vsprintf-tests + (test_u32_vsprintf1_LDADD): Likewise. + * modules/unistdio/u8-vsnprintf-tests + (test_u8_vsnprintf1_LDADD): Likewise. + * modules/unistdio/u8-vsprintf-tests + (test_u8_vsprintf1_LDADD): Likewise. + * modules/unistdio/ulc-vsnprintf-tests + (test_ulc_vsnprintf1_LDADD): Likewise. + * modules/unistdio/ulc-vsprintf-tests + (test_ulc_vsprintf1_LDADD): Likewise. + + Fix linking of some uniconv tests on FreeBSD. + * modules/uniconv/u16-conv-from-enc-tests + (test_u16_conv_from_enc_LDADD): Link $(LDADD) before @LIBICONV@. + * modules/uniconv/u16-conv-to-enc-tests + (test_u16_conv_to_enc_LDADD): Likewise. + * modules/uniconv/u16-strconv-from-enc-tests + (test_u16_strconv_from_enc_LDADD): Likewise. + * modules/uniconv/u16-strconv-to-enc-tests + (test_u16_strconv_to_enc_LDADD): Likewise. + * modules/uniconv/u32-conv-from-enc-tests + (test_u32_conv_from_enc_LDADD): Likewise. + * modules/uniconv/u32-conv-to-enc-tests + (test_u32_conv_to_enc_LDADD): Likewise. + * modules/uniconv/u32-strconv-from-enc-tests + (test_u32_strconv_from_enc_LDADD): Likewise. + * modules/uniconv/u32-strconv-to-enc-tests + (test_u32_strconv_to_enc_LDADD): Likewise. + * modules/uniconv/u8-conv-from-enc-tests + (test_u8_conv_from_enc_LDADD): Likewise. + * modules/uniconv/u8-conv-to-enc-tests + (test_u8_conv_to_enc_LDADD): Likewise. + * modules/uniconv/u8-strconv-from-enc-tests + (test_u8_strconv_from_enc_LDADD): Likewise. + * modules/uniconv/u8-strconv-to-enc-tests + (test_u8_strconv_to_enc_LDADD): Likewise. + +2007-10-22 Bruno Haible + + * lib/stdint.in.h: Add check that intmax_t and uintmax_t have the same + size. + +2007-10-22 Eric Blake + + Tweak x*printf documentation. + * lib/xprintf.c (xprintf, xvprintf, xfprintf, xvfprintf): Adjust + variable name and comments. + Suggested by Bruno Haible. + +2007-10-22 Bruno Haible + + * lib/acl.c (copy_acl): Fix file name in comment. + +2007-10-22 Paul Eggert + + Fix Tru64 problem with stdbool.h. + * lib/stdbool.in.h (false, true): + [! (defined __cplusplus || defined __BEOS__) && !defined __GNUC__]: + Don't declare as an enum in this situation; it runs afoul of Tru64. + Problem reported by Steven M. Schweda in + . + +2007-10-22 Eric Blake + + Also wrap vf?printf. + * lib/xprintf.h (xvprintf, xvfprintf): New declarations. + * lib/xprintf.c (xprintf, xfprintf): Work for C89. + (xvprintf, xvfprintf): New functions. + +2007-10-22 Ralf Wildenhues + + * modules/fstrcmp-tests (test_fstrcmp_LDADD): New, add + @LIBINTL@ for FreeBSD 6.2, $(LIBTHREAD) for AIX 4.3.3. + + * lib/uniconv/u16-conv-to-enc.c (U_MBLEN): Define. + * lib/uniconv/u32-conv-to-enc.c (U_MBLEN): Likewise. + +2007-10-22 Paul Eggert + + * lib/acl.c (copy_acl): Adjust to IRIX 6.5. Problem reported + by Bruno Haible. + +2007-10-22 Ralf Wildenhues + + * lib/getloadavg.c + [defined (__osf__) && (defined (__alpha) || defined (__alpha__)]: + Undef `sys' after including sys/table.h, for Tru64 4.0D. + + * tests/test-i-ring.c: Work for C89. + +2007-10-22 Bruno Haible + + * m4/ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Use -1ull, not + -1u, in preprocessor expression, so that we don't test for the bug + in HP-UX 11.00 cpp. Testing for this bug caused problems; see + . + +2007-10-22 Eric Blake + + * tests/test-yesno.sh: Silence stderr during test. + +2007-10-22 Simon Josefsson + + * modules/crypto/gc-camellia: New file. + + * m4/gc-camellia.m4: New file. + + * lib/gc-libgcrypt.c (gc_cipher_open): Support Camellia. + + * lib/gc.h (enum Gc_cipher): Add GC_CAMELLIA128, GC_CAMELLIA256. + +2007-10-22 Simon Josefsson + + * build-aux/maint.mk (gzip_rsyncable): Don't fail if gzip sends + --help to stdout. Reported by sms@antinode.org (Steven + M. Schweda). + +2007-10-22 Simon Josefsson + + * users.txt: Fix link to libksba. + +2007-10-21 Ben Pfaff + + * modules/roundf-tests: Add dependency on floorf, ceilf to allow + round.c roundf implementation that depends on floorf and ceilf to + be tested unconditionally. + +2007-10-21 Ben Pfaff + + * m4/check-libm-func.m4: Removed. + * m4/check-math-lib.m4: New file. + * m4/round.m4: Rewrite to use gl_CHECK_MATH_LIB. + * m4/roundf.m4: Ditto, and fix lack of HAVE_DECL_ROUNDF + definition and lack of AC_LIBOBJ([roundf]). + * m4/roundl.m4: Ditto, and similarly for roundl. + * modules/round: Reference new m4 file. + * modules/roundf: Ditto. + * modules/roundl: Ditto. + * tests/test-round2.c (main): Use ROUND instead of round. + Bug report from Bruno Haible. + +2007-10-21 Bruno Haible + + * lib/printf-parse.c: Don't assume exists in IN_LIBASPRINTF + context. + +2007-10-21 Bruno Haible + + * tests/test-wcwidth.c (main): Allow negative result for some control + characters. + + * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Check also the width of U+200B. + Needed on OSF/1 5.1. + +2007-10-21 Bruno Haible + + * tests/test-floorf1.c: Include isnanf.h. + (main): Use isnanf() instead of isnan(). + * tests/test-ceilf1.c: Include isnanf.h. + (main): Use isnanf() instead of isnan(). + * tests/test-truncf1.c: Include isnanf.h. + (main): Use isnanf() instead of isnan(). + * tests/test-roundf1.c: Include isnanf.h. + (main): Use isnanf() instead of isnan(). + +2007-10-21 Eric Blake + + * users.txt: Update URL for m4. + +2007-10-21 Bruno Haible + + * users.txt: Add clisp. Update URLs to Simon Josefsson's projects. + +2007-10-21 Bruno Haible + + * gnulib-tool (func_create_megatestdir): Determine the cvsdate from + Git's management files if the CVS files are not present. + +2007-10-20 Bruno Haible + + * lib/count-one-bits.h (COUNT_ONE_BITS): Use the builtin also for + gcc-3.4.x. + +2007-10-20 Ben Pfaff + + * lib/math.in.h: Declare round, roundf, roundl if we are providing + implementations. + * m4/math_h.m4: New substitutions for round, roundf, roundl modules. + * lib/round.c: New file. + * lib/roundf.c: New file. + * lib/roundl.c: New file. + * m4/round.m4: New file. + * m4/roundf.m4: New file. + * m4/roundl.m4: New file. + * m4/check-libm-func-m4: New file. + * modules/math: Replace round, roundf, roundl related @VARS@ in + math.in.h. + * modules/round: New file. + * modules/round-tests: New file. + * modules/roundf: New file. + * modules/roundf-tests: New file. + * modules/roundl: New file. + * modules/roundl-tests: New file. + * tests/test-round1.c: New file. + * tests/test-round2.c: New file. + * tests/test-roundf1.c: New file. + * tests/test-roundf2.c: New file. + * tests/test-roundl.c: New file. + * doc/functions/round.texi: Mention round module. + * doc/functions/roundf.texi: Mention roundf module. + * doc/functions/roundl.texi: Mention roundl module. + * MODULES.html.sh: Mention new modules. + Thanks to Bruno Haible for suggestions. + +2007-10-20 Jim Meyering + + * lib/xprintf.c: Include unconditionally. + + Change xprintf's license to GPL. + * modules/xprintf (License): s/LGPL/GPL/, since this module + depends on modules (exit and exitfail) which are GPL. + Suggestion from Bruno Haible. + + xprintf fixes. + * lib/xprintf.c (xprintf, xfprintf): Use va_end. + Use a clearer diagnostic. + Patch from Bruno Haible. + +2007-10-20 Bruno Haible + + * lib/vasnprintf.c (VASNPRINTF): Don't report overflow if the available + length is INT_MAX and sizeof (DCHAR_T) > sizeof (TCHAR_T). + Reported by Ralf Wildenhues . + +2007-10-20 Bruno Haible + + * tests/test-floorf2.c (correct_result_p): Don't rely on excess + precision in the comparison result > x - 1 or similar. + * tests/test-ceilf2.c (correct_result_p): Likewise. + * tests/test-truncf2.c (correct_result_p): Likewise. + * tests/test-trunc2.c (correct_result_p): Likewise. + Reported by Ralf Wildenhues . + 2007-10-20 Bruno Haible * modules/ceil: New file.