Add context arguments to u*_casemap functions.
[gnulib.git] / ChangeLog
index 5faaa7f..e5624fd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,159 @@
+2009-06-29  Bruno Haible  <bruno@clisp.org>
+
+       Add context arguments to u*_casemap functions.
+       * lib/unicase/unicasemap.h: Include unicase.h.
+       (u8_casemap, u16_casemap, u32_casemap): Add prefix_context and
+       suffix_context arguments.
+       * lib/unicase/u-casemap.h (is_cased, is_case_ignorable): Remove
+       functions.
+       (FUNC): Add prefix_context and suffix_context arguments. Use
+       uc_is_cased and uc_is_case_ignorable.
+       * lib/unicase/u8-casemap.c: Include caseprop.h and context.h.
+       * lib/unicase/u16-casemap.c: Likewise.
+       * lib/unicase/u32-casemap.c: Likewise.
+       * modules/unicase/u8-casemap (Files): Add lib/unicase/context.h.
+       (Depends-on): Add unicase/cased, unicase/ignorable. Clean up.
+       * modules/unicase/u16-casemap (Files): Add lib/unicase/context.h.
+       (Depends-on): Add unicase/cased, unicase/ignorable. Clean up.
+       * modules/unicase/u32-casemap (Files): Add lib/unicase/context.h.
+       (Depends-on): Add unicase/cased, unicase/ignorable. Clean up.
+
+       New module 'unicase/u32-suffix-context'.
+       * lib/unicase/u32-suffix-context.c: New file.
+       * modules/unicase/u32-suffix-context: New file.
+
+       New module 'unicase/u16-suffix-context'.
+       * lib/unicase/u16-suffix-context.c: New file.
+       * modules/unicase/u16-suffix-context: New file.
+
+       New module 'unicase/u8-suffix-context'.
+       * lib/unicase/u8-suffix-context.c: New file.
+       * lib/unicase/u-suffix-context.h: New file.
+       * modules/unicase/u8-suffix-context: New file.
+
+       New module 'unicase/empty-suffix-context'.
+       * lib/unicase/empty-suffix-context.c: New file.
+       * modules/unicase/empty-suffix-context: New file.
+
+       New module 'unicase/u32-prefix-context'.
+       * lib/unicase/u32-prefix-context.c: New file.
+       * modules/unicase/u32-prefix-context: New file.
+
+       New module 'unicase/u16-prefix-context'.
+       * lib/unicase/u16-prefix-context.c: New file.
+       * modules/unicase/u16-prefix-context: New file.
+
+       New module 'unicase/u8-prefix-context'.
+       * lib/unicase/u8-prefix-context.c: New file.
+       * lib/unicase/u-prefix-context.h: New file.
+       * lib/unicase/context.h: New file.
+       * modules/unicase/u8-prefix-context: New file.
+
+       New module 'unicase/empty-prefix-context'.
+       * lib/unicase/empty-prefix-context.c: New file.
+       * modules/unicase/empty-prefix-context: New file.
+
+       New module 'unicase/ignorable'.
+       * lib/unicase/ignorable.c: New file.
+       * modules/unicase/ignorable: New file.
+
+       New module 'unicase/cased'.
+       * lib/unicase/caseprop.h: New file.
+       * lib/unicase/cased.c: New file.
+       * modules/unicase/cased: New file.
+
+       New functions for case mapping of substrings.
+       * lib/unicase.h (casing_prefix_context_t): New type.
+       (unicase_empty_prefix_context): New variable.
+       (u8_casing_prefix_context, u16_casing_prefix_context,
+       u32_casing_prefix_context, u8_casing_prefixes_context,
+       u16_casing_prefixes_context, u32_casing_prefixes_context): New
+       declarations.
+       (casing_suffix_context_t): New type.
+       (unicase_empty_suffix_context): New variable.
+       (u8_casing_suffix_context, u16_casing_suffix_context,
+       u32_casing_suffix_context, u8_casing_suffixes_context,
+       u16_casing_suffixes_context, u32_casing_suffixes_context,
+       u8_ct_toupper, u16_ct_toupper, u32_ct_toupper, u8_ct_tolower,
+       u16_ct_tolower, u32_ct_tolower, u8_ct_totitle, u16_ct_totitle,
+       u32_ct_totitle, u8_ct_casefold, u16_ct_casefold, u32_ct_casefold): New
+       declarations.
+
+2009-06-28  Jim Meyering  <meyering@redhat.com>
+
+       boostrap: indent only with spaces
+       * build-aux/bootstrap: Indent only with spaces, never TABs.
+
+       bootstrap: split long lines
+       * build-aux/bootstrap: Keep line length < 80.
+
+       bootstrap: sync from coreutils
+       * build-aux/bootstrap: Honor variables like $ACLOCAL, etc.,
+       just as autoreconf does.  Verify a list of prerequisite
+       package-name,version-number pairs if defined in bootstrap.conf.
+       Refer to README-prereq, if prerequisites are not satisfied.
+
+2009-06-27  Eric Blake  <ebb9@byu.net>
+
+       tests: add test for bogus NULL definition
+       * tests/test-stdio.c: Ensure POSIX 2008 requirement on NULL.
+       * tests/test-stdlib.c: Likewise.
+       * tests/test-string.c: Likewise.
+       * tests/test-locale.c: Likewise.
+       * tests/test-unistd.c: Likewise.
+       * modules/stdio-tests (Depends-on): Add verify.
+       * modules/stdlib-tests (Depends-on): Likewise.
+       * modules/string-tests (Depends-on): Likewise.
+       * modules/locale-tests (Depends-on): Likewise.
+       * modules/unistd-tests (Depends-on): Likewise.
+
+2009-06-27  Paolo Bonzini  <bonzini@gnu.org>
+
+       * m4/selinux-context-h (gl_HEADERS_SELINUX_CONTEXT_H): Remove
+       self-explaining comment.
+       * m4/selinux-selinux-h: Update serial.
+       (gl_LIBSELINUX): New macro, adding a warning for missing development
+       packages to code extracted from...
+       (gl_HEADERS_SELINUX_SELINUX_H): ... this one.  Require gl_LIBSELINUX.
+       Add warning for missing development packages here, too.
+
+2009-06-26  Paolo Bonzini  <bonzini@gnu.org>
+
+       * build-aux/bootstrap: Do not use GIT_CONFIG_LOCAL.
+
+2009-06-25  Eric Blake  <ebb9@byu.net>
+
+       version-etc: fix regression
+       * lib/version-etc.h (ATTRIBUTE_SENTINEL): Define for new enough
+       gcc.
+       (version_etc): Use it, to catch bugs with trailing NULL.
+       * lib/version-etc.c (version_etc_arn): Delete unused argument.
+       (version_etc_va): Fix logic bug.
+       * modules/version-etc-tests: Add test.
+       * tests/test-version-etc.c: New file.
+       * tests/test-version-etc.sh: Likewise.
+
+2009-06-25  Sam Steingold  <sds@gnu.org>
+
+       * mbrtowc.m4 (gl_MBRTOWC_SANITYCHECK): Include <stdlib.h>, for the
+       mbtowc declaration.
+
+2009-06-25  Eric Blake  <ebb9@byu.net>
+
+       fpurge: migrate into <stdio.h>
+       * lib/fpurge.h: Delete...
+       * lib/stdio.in.h (fpurge): ...and declare here, instead.
+       * lib/fpurge.c (fpurge): Change declaring header.
+       * modules/fpurge (Files): Drop deleted file.
+       (Depends-on): Add stdio.
+       (configure.ac): Set witness.
+       * modules/stdio (Makefile.am): Support fpurge macros.
+       * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Likewise.
+       * m4/fpurge.m4 (gl_FUNC_FPURGE): Set appropriate variables.
+       * lib/fflush.c: Update client.
+       * tests/test-fpurge.c: Likewise.
+       * NEWS: Mention the change.
+
 2009-06-25  Sergey Poznyakoff  <gray@gnu.org.ua>
 
        * lib/argp-version-etc.c (program_authors): Add const