summaryrefslogtreecommitdiff
path: root/modules/unigbrk
Commit message (Collapse)AuthorAgeFilesLines
* setlocale: Rename LIB_SETLOCALE to SETLOCALE_LIB.Bruno Haible2023-01-071-1/+1
| | | | | | * m4/setlocale.m4: Rename LIB_SETLOCALE to SETLOCALE_LIB. All uses changed. * NEWS: Mention the change.
* Update to Unicode 15.0.0.Bruno Haible2022-10-1613-13/+13
| | | | | | | | | | | | | | | | | | | | * lib/gen-uni-tables.c (is_property_default_ignorable_code_point): Exclude 0x13439..0x1343F. (get_lbp): Update such that unilbrk/lbrkprop.txt comes out as expected. * All generated files under lib/uni* and tests/uni*: Regenerate. * tests/uniname/NameAliases.txt: Update. * tests/uniname/UnicodeData.txt: Update. * tests/uninorm/NormalizationTest.txt: Update. * tests/unigbrk/GraphemeBreakTest.txt: Update. * tests/uniwbrk/WordBreakTest.txt: Update. * tests/uniwidth/test-uc_width2.sh: Expect width 0 for the characters 0x0ECE, 0x10EFD..0x10EFF, 0x11241, 0x11F00..0x11F01, 0x11F36..0x11F3A, 0x11F40, 0x11F42, 0x13439..0x13440, 0x13447..0x13455, 0x1E08F, 0x1E4EC..0x1E4EF. * All the affected modules: Bump required libunistring version.
* Update to Unicode 11.0.0.Bruno Haible2021-12-305-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/gen-uni-tables.c (is_property_default_ignorable_code_point): Simplify by use of PROP_PREPENDED_CONCATENATION_MARK. (UC_JOINING_GROUP_HANIFI_ROHINGYA_PA, UC_JOINING_GROUP_HANIFI_ROHINGYA_KINNA_YA): New enum values. (fill_arabicshaping, joining_group_as_c_identifier): Recognize these joining groups. (get_lbp): Update such that unilbrk/lbrkprop.txt comes out as expected. (WBP_EB, WBP_EM, WBP_GAZ, WBP_EBG): Remove enum values. (WBP_WSS): New enum value. (get_wbp): Update such that uniwbrk/wbrkprop.txt comes out as expected. (debug_output_wbp, fill_org_wbp, debug_output_org_wbp, output_wbp): Update for changed enum values. * lib/unictype.in.h (UC_JOINING_GROUP_HANIFI_ROHINGYA_*): New enum values. * lib/unictype/joininggroup_name.h: Add the HANIFI_ROHINGYA_* joining groups. * lib/unictype/joininggroup_byname.gperf: Likewise. * lib/unigbrk.in.h: Mark 4 enum values as obsolete. * lib/unigbrk/u-grapheme-breaks.h (FUNC): Handle emoji modifier sequence according to Unicode 11.0.0. * lib/unigbrk/u8-grapheme-breaks.c: Include <stdbool.h>, unictype.h. * lib/unigbrk/u16-grapheme-breaks.c: Likewise. * lib/unigbrk/u32-grapheme-breaks.c: Likewise. * lib/unigbrk/uc-grapheme-breaks.c: Likewise. * modules/unigbrk/u8-grapheme-breaks (Depends-on): Add unictype/property-extended-pictographic, stdbool. * modules/unigbrk/u16-grapheme-breaks (Depends-on): Likewise. * modules/unigbrk/u32-grapheme-breaks (Depends-on): Likewise. * modules/unigbrk/uc-grapheme-breaks (Depends-on): Likewise. * tests/unigbrk/test-u8-grapheme-breaks.c (main): Add test for emoji modifier / ZWJ sequence. * tests/unigbrk/test-u16-grapheme-breaks.c (main): Likewise. * tests/unigbrk/test-u32-grapheme-breaks.c (main): Likewise. * tests/unigbrk/test-uc-is-grapheme-break.c: Include <stdbool.h>, unictype.h. (main): Update workaround logic to match the one in lib/unigbrk/u-grapheme-breaks.h. * modules/unigbrk/uc-is-grapheme-break-tests (Depends-on): Add unictype/property-extended-pictographic, stdbool. * lib/uniwbrk.in.h: Mark 4 enum values as obsolete. (WBP_WSS): New enum value. * lib/uniwbrk/u-wordbreaks.h (FUNC): Handle emoji ZWJ sequences and horizontal whitespace according to Unicode 11.0.0. * lib/uniwbrk/u8-wordbreaks.c: Include unictype.h. * lib/uniwbrk/u16-wordbreaks.c: Likewise. * lib/uniwbrk/u32-wordbreaks.c: Likewise. * lib/uniwbrk/wbrktable.c (uniwbrk_prop_index, uniwbrk_table): Add a row and column for WBP_WSS. * lib/uniwbrk/wbrktable.h (uniwbrk_prop_index, uniwbrk_table): Update declarations. * modules/uniwbrk/u8-wordbreaks (Depends-on): Add unictype/property-extended-pictographic. * modules/uniwbrk/u16-wordbreaks (Depends-on): Likewise. * modules/uniwbrk/u32-wordbreaks (Depends-on): Likewise. * tests/uniwbrk/test-u8-wordbreaks.c (main): Update expected results. * tests/uniwbrk/test-u16-wordbreaks.c (main): Likewise. * tests/uniwbrk/test-u32-wordbreaks.c (main): Likewise. * tests/uniwbrk/test-uc-wordbreaks.c (wordbreakproperty_to_string): Update. * lib/unilbrk/u8-possible-linebreaks.c (u8_possible_linebreaks_loop): Handle ZWJ according to Unicode 11.0.0. * lib/unilbrk/u16-possible-linebreaks.c (u16_possible_linebreaks_loop): Likewise. * lib/unilbrk/u32-possible-linebreaks.c (u32_possible_linebreaks_loop): Likewise. * lib/uniwidth/width.c (nonspacing_table_data, nonspacing_table_ind): Update. (uc_width): Assign width 2 to the characters 0x187ED..0x187F1, 0x1F6F9, 0x1F9E7..0x1F9FF. * tests/uniwidth/test-uc_width2.sh: Expect width 0 for the characters 0x07FD, 0x08D3, 0x09FE, 0x0C04, 0xA8FF, 0x10D24..0x10D27, 0x10F46..0x10F50, 0x110CD, 0x111C9, 0x1133B, 0x1145E, 0x1182F..0x11837, 0x11839..0x1183A, 0x11D90..0x11D91, 0x11D95, 0x11D97, 0x11EF3..0x11EF4. Expect width 2 for the characters 0x187ED..0x187F1, 0x1F6F9, 0x1F9E7..0x1F9FF. * All generated files under lib/uni* and tests/uni*: Regenerate. * tests/uniname/NameAliases.txt: Update. * tests/uniname/UnicodeData.txt: Update. * tests/uninorm/NormalizationTest.txt: Update. * tests/unigbrk/GraphemeBreakTest.txt: Update. * tests/uniwbrk/WordBreakTest.txt: Update. * All the affected modules: Bump required libunistring version.
* Update to Unicode 10.0.0.Bruno Haible2021-12-2614-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/gen-uni-tables.c (PROP_REGIONAL_INDICATOR): New enum value. (fill_properties): Recognize property "Regional_Indicator". (is_property_regional_indicator): New function. (output_properties): Also output the data for regional_indicator. (UC_JOINING_GROUP_MALAYALAM_*): New enum values. (fill_arabicshaping, joining_group_as_c_identifier): Recognize these joining groups. * lib/unictype/pr_regional_indicator.c: New file. * modules/unictype/property-regional-indicator: New file. * modules/unictype/property-regional-indicator-tests: New file. * modules/unictype/property-all (Depends-on): Add unictype/property-regional-indicator. * lib/unictype.in.h (UC_JOINING_GROUP_MALAYALAM_*): New enum values. * lib/unictype/joininggroup_name.h: Add the MALAYALAM_* joining groups. * lib/unictype/joininggroup_byname.gperf: Likewise. * lib/uniwidth/width.c (nonspacing_table_data, nonspacing_table_ind): Update. * tests/uniwidth/test-uc_width2.sh: Update. * All generated files under lib/uni* and tests/uni*: Regenerate. * tests/uniname/NameAliases.txt: Update. * tests/uniname/UnicodeData.txt: Update. * tests/uninorm/NormalizationTest.txt: Update. * tests/unigbrk/GraphemeBreakTest.txt: Update. * tests/uniwbrk/WordBreakTest.txt: Update. * All the affected modules: Bump required libunistring version.
* maint: avoid empty lines in recipesPaul Eggert2021-12-241-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AIX 7.2 ‘make’ complains about recipe lines that are empty after macro expansion, and I suppose there’s a good chance some non-POSIX ‘make’ would prohibit them. Rework macros so that we can avoid them. * gnulib-tool (func_emit_lib_Makefile_am) (func_emit_lib_Makefile_am): Support @!NMD@ too. * modules/gen-header (@gl_V_at): New macro. * modules/alloca-opt, modules/argz, modules/assert-h: * modules/byteswap, modules/configmake, modules/ctype: * modules/dirent, modules/errno, modules/execinfo, modules/fcntl-h: * modules/float, modules/fnmatch-h, modules/getopt-posix: * modules/glob-h, modules/iconv-h, modules/ieee754-h: * modules/inttypes-incomplete, modules/langinfo: * modules/libtextstyle-optional, modules/limits-h, modules/locale: * modules/malloc-h, modules/math, modules/monetary, modules/netdb: * modules/openmp-init, modules/poll-h, modules/posix-shell: * modules/pthread-h, modules/pty, modules/sched, modules/search: * modules/signal-h, modules/sigsegv, modules/snippet/link-warning: * modules/spawn, modules/stdalign, modules/stdarg, modules/stdbool: * modules/stddef, modules/stdint, modules/stdio, modules/stdlib: * modules/stdnoreturn, modules/string, modules/strings: * modules/sysexits, modules/termios, modules/threads-h: * modules/time, modules/uchar, modules/unicase/base: * modules/uniconv/base, modules/unictype/base, modules/unigbrk/base: * modules/unilbrk/base, modules/uniname/base, modules/uninorm/base: * modules/unistd, modules/unistdio/base, modules/unistr/base: * modules/unitypes, modules/uniwbrk/base, modules/uniwidth/base: * modules/utime-h, modules/wchar, modules/wctype-h: Use it.
* gen-header: new modulePaul Eggert2021-12-241-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplify header generation by using Makefile variables defined by a new gen-header module. * modules/gen-header: New module. * modules/alloca-opt, modules/argz, modules/arpa_inet: * modules/assert-h, modules/byteswap: * modules/ctype, modules/dirent, modules/dynarray, modules/errno: * modules/execinfo, modules/fcntl-h, modules/float: * modules/fnmatch-h, modules/getopt-posix, modules/glob-h: * modules/iconv-h, modules/ieee754-h, modules/inttypes-incomplete: * modules/langinfo, modules/libtextstyle-optional, modules/limits-h: * modules/locale, modules/malloc-h, modules/math, modules/monetary: * modules/net_if, modules/netdb, modules/netinet_in: * modules/openmp-init, modules/poll-h: * modules/pthread-h, modules/pty, modules/sched: * modules/scratch_buffer, modules/search, modules/selinux-h: * modules/signal-h, modules/sigsegv: * modules/spawn, modules/stdalign, modules/stdarg, modules/stdbool: * modules/stddef, modules/stdint, modules/stdio, modules/stdlib: * modules/stdnoreturn, modules/string, modules/strings: * modules/sys_file, modules/sys_ioctl, modules/sys_random: * modules/sys_resource, modules/sys_select, modules/sys_socket: * modules/sys_stat, modules/sys_time, modules/sys_times: * modules/sys_types, modules/sys_uio, modules/sys_utsname: * modules/sys_wait, modules/sysexits, modules/termios: * modules/threads-h, modules/time, modules/uchar: * modules/unicase/base, modules/unicase/special-casing: * modules/uniconv/base, modules/unictype/base, modules/unigbrk/base: * modules/unilbrk/base, modules/uniname/base, modules/uninorm/base: * modules/unistd, modules/unistdio/base, modules/unistr/base: * modules/unitypes, modules/uniwbrk/base, modules/uniwidth/base: * modules/utime-h, modules/wchar, modules/wctype-h: Depend on gen-header, and use its macros to simplify header generation.
* maint: omit unnecessary ‘rm -f $@-t $@’Paul Eggert2021-12-221-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * modules/alloca-opt, modules/argz, modules/arpa_inet: * modules/assert-h, modules/byteswap, modules/configmake: * modules/ctype, modules/dirent, modules/dynarray, modules/errno: * modules/execinfo, modules/fcntl-h, modules/float: * modules/fnmatch-h, modules/getopt-posix, modules/glob-h: * modules/iconv-h, modules/ieee754-h, modules/inttypes-incomplete: * modules/langinfo, modules/libtextstyle-optional: * modules/limits-h, modules/langinfo, modules/libgmp, modules/limits-h: * modules/locale, modules/malloc-h, modules/math, modules/monetary: * modules/net_if, modules/netdb, modules/netinet_in: * modules/openmp-init, modules/poll-h, modules/posix-shell: * modules/posix_spawnp-tests, modules/pthread-h, modules/pty: * modules/sched, modules/scratch_buffer, modules/search: * modules/selinux-h, modules/signal-h, modules/sigsegv: * modules/snippet/link-warning, modules/spawn, modules/stdalign: * modules/stdarg, modules/stdbool, modules/stddef, modules/stdint: * modules/stdio, modules/stdlib, modules/stdnoreturn: * modules/string, modules/strings, modules/sys_file: * modules/sys_ioctl, modules/sys_random, modules/sys_resource: * modules/sys_select, modules/sys_socket, modules/sys_stat: * modules/sys_time, modules/sys_times, modules/sys_types: * modules/sys_uio, modules/sys_utsname, modules/sys_wait: * modules/sysexits, modules/termios, modules/threads-h: * modules/time, modules/uchar, modules/unicase/base: * modules/unicase/special-casing, modules/uniconv/base: * modules/unictype/base, modules/unigbrk/base, modules/unilbrk/base: * modules/uniname/base, modules/uninorm/base, modules/unistd: * modules/unistdio/base, modules/unistr/base, modules/unitypes: * modules/uniwbrk/base, modules/uniwidth/base, modules/utime-h: * modules/wchar, modules/wctype-h: Don’t bother to do a ‘rm -f $@-t $@’ at the start of recipes that create .h and similar files. This is a revenant of a style in which the files were created read-only. Also, consistently use use plain ‘mv $@-t $@’ afterwards, instead of usually using ‘mv -f’ but sometimes plain ‘mv’.
* Optimize redundant 'mkdir -p .' invocations.Bruno Haible2021-12-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by Paul Eggert. * gnulib-tool (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am): Eliminate @NMD@ tokens. * modules/alloca-opt (Makefile.am): Prefix the "$(MKDIR_P) '%reldir%'" line with @NMD@. * modules/argz (Makefile.am): Likewise. * modules/assert-h (Makefile.am): Likewise. * modules/byteswap (Makefile.am): Likewise. * modules/configmake (Makefile.am): Likewise. * modules/ctype (Makefile.am): Likewise. * modules/dirent (Makefile.am): Likewise. * modules/errno (Makefile.am): Likewise. * modules/execinfo (Makefile.am): Likewise. * modules/fcntl-h (Makefile.am): Likewise. * modules/float (Makefile.am): Likewise. * modules/fnmatch-h (Makefile.am): Likewise. * modules/getopt-posix (Makefile.am): Likewise. * modules/glob-h (Makefile.am): Likewise. * modules/iconv-h (Makefile.am): Likewise. * modules/ieee754-h (Makefile.am): Likewise. * modules/inttypes-incomplete (Makefile.am): Likewise. * modules/langinfo (Makefile.am): Likewise. * modules/libtextstyle-optional (Makefile.am): Likewise. * modules/limits-h (Makefile.am): Likewise. * modules/locale (Makefile.am): Likewise. * modules/malloc-h (Makefile.am): Likewise. * modules/math (Makefile.am): Likewise. * modules/monetary (Makefile.am): Likewise. * modules/netdb (Makefile.am): Likewise. * modules/openmp-init (Makefile.am): Likewise. * modules/poll-h (Makefile.am): Likewise. * modules/posix-shell (Makefile.am): Likewise. * modules/pthread-h (Makefile.am): Likewise. * modules/pty (Makefile.am): Likewise. * modules/sched (Makefile.am): Likewise. * modules/search (Makefile.am): Likewise. * modules/signal-h (Makefile.am): Likewise. * modules/sigsegv (Makefile.am): Likewise. * modules/snippet/link-warning (Makefile.am): Likewise. * modules/spawn (Makefile.am): Likewise. * modules/stdalign (Makefile.am): Likewise. * modules/stdarg (Makefile.am): Likewise. * modules/stdbool (Makefile.am): Likewise. * modules/stddef (Makefile.am): Likewise. * modules/stdint (Makefile.am): Likewise. * modules/stdio (Makefile.am): Likewise. * modules/stdlib (Makefile.am): Likewise. * modules/stdnoreturn (Makefile.am): Likewise. * modules/string (Makefile.am): Likewise. * modules/strings (Makefile.am): Likewise. * modules/sysexits (Makefile.am): Likewise. * modules/termios (Makefile.am): Likewise. * modules/threads-h (Makefile.am): Likewise. * modules/time (Makefile.am): Likewise. * modules/uchar (Makefile.am): Likewise. * modules/unicase/base (Makefile.am): Likewise. * modules/uniconv/base (Makefile.am): Likewise. * modules/unictype/base (Makefile.am): Likewise. * modules/unigbrk/base (Makefile.am): Likewise. * modules/unilbrk/base (Makefile.am): Likewise. * modules/uniname/base (Makefile.am): Likewise. * modules/uninorm/base (Makefile.am): Likewise. * modules/unistd (Makefile.am): Likewise. * modules/unistdio/base (Makefile.am): Likewise. * modules/unistr/base (Makefile.am): Likewise. * modules/unitypes (Makefile.am): Likewise. * modules/uniwbrk/base (Makefile.am): Likewise. * modules/uniwidth/base (Makefile.am): Likewise. * modules/utime-h (Makefile.am): Likewise. * modules/wchar (Makefile.am): Likewise. * modules/wctype-h (Makefile.am): Likewise.
* Fix creation of build directories with non-recursive-gnulib-prefix-hack.Bruno Haible2021-12-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is necessary for executing "make" in a VPATH build of a package that uses prefix-gnulib-mk and a module such as alloca-opt. * modules/alloca-opt (Makefile.am): Before generating the .h-t file, ensure that the directory in which we want to create it exists. (configure.ac): Invoke AC_PROG_MKDIR_P. * modules/argz: Likewise. * modules/arpa_inet: Likewise. * modules/assert-h: Likewise. * modules/byteswap: Likewise. * modules/configmake: Likewise. * modules/ctype: Likewise. * modules/dirent: Likewise. * modules/dynarray: Likewise. * modules/errno: Likewise. * modules/execinfo: Likewise. * modules/fcntl-h: Likewise. * modules/float: Likewise. * modules/fnmatch-h: Likewise. * modules/getopt-posix: Likewise. * modules/glob-h: Likewise. * modules/iconv-h: Likewise. * modules/ieee754-h: Likewise. * modules/inttypes-incomplete: Likewise. * modules/langinfo: Likewise. * modules/libgmp: Likewise. * modules/libtextstyle-optional: Likewise. * modules/limits-h: Likewise. * modules/locale: Likewise. * modules/malloc-h: Likewise. * modules/math: Likewise. * modules/monetary: Likewise. * modules/net_if: Likewise. * modules/netdb: Likewise. * modules/netinet_in: Likewise. * modules/openmp-init: Likewise. * modules/poll-h: Likewise. * modules/posix-shell: Likewise. * modules/pthread-h: Likewise. * modules/pty: Likewise. * modules/sched: Likewise. * modules/scratch_buffer: Likewise. * modules/search: Likewise. * modules/selinux-h: Likewise. * modules/signal-h: Likewise. * modules/sigsegv: Likewise. * modules/snippet/link-warning: Likewise. * modules/spawn: Likewise. * modules/stdalign: Likewise. * modules/stdarg: Likewise. * modules/stdbool: Likewise. * modules/stddef: Likewise. * modules/stdint: Likewise. * modules/stdio: Likewise. * modules/stdlib: Likewise. * modules/stdnoreturn: Likewise. * modules/string: Likewise. * modules/strings: Likewise. * modules/sys_file: Likewise. * modules/sys_ioctl: Likewise. * modules/sys_random: Likewise. * modules/sys_resource: Likewise. * modules/sys_select: Likewise. * modules/sys_socket: Likewise. * modules/sys_stat: Likewise. * modules/sys_time: Likewise. * modules/sys_times: Likewise. * modules/sys_types: Likewise. * modules/sys_uio: Likewise. * modules/sys_utsname: Likewise. * modules/sys_wait: Likewise. * modules/sysexits: Likewise. * modules/termios: Likewise. * modules/threads-h: Likewise. * modules/time: Likewise. * modules/uchar: Likewise. * modules/unicase/base: Likewise. * modules/unicase/special-casing: Likewise. * modules/uniconv/base: Likewise. * modules/unictype/base: Likewise. * modules/unigbrk/base: Likewise. * modules/unilbrk/base: Likewise. * modules/uniname/base: Likewise. * modules/uninorm/base: Likewise. * modules/unistd: Likewise. * modules/unistdio/base: Likewise. * modules/unistr/base: Likewise. * modules/unitypes: Likewise. * modules/uniwbrk/base: Likewise. * modules/uniwidth/base: Likewise. * modules/utime-h: Likewise. * modules/wchar: Likewise. * modules/wctype-h: Likewise. * gnulib-tool (func_emit_lib_Makefile_am): When producing output for GNU make, eliminate %reldir% tokens.
* Write 'LGPLv3+ or GPLv2+' instead of 'LGPLv3+ or GPLv2'.Bruno Haible2021-05-3014-14/+14
| | | | | * modules/* (License): Change. * gnulib-tool (func_import, func_create_testdir): Likewise.
* Fix build when an older libunistring is installed (regr. 2020-02-23).Bruno Haible2021-05-071-1/+1
| | | | | | | | | | | | | | | | * modules/unitypes (configure.ac): Arrange to generate the .h file if the installed one is from a version < 0.9.11. * modules/unicase/base (configure.ac): Likewise. * modules/uniconv/base (configure.ac): Likewise. * modules/unilbrk/base (configure.ac): Likewise. * modules/uninorm/base (configure.ac): Likewise. * modules/unistdio/base (configure.ac): Likewise. * modules/unistr/base (configure.ac): Likewise. * modules/uniwbrk/base (configure.ac): Likewise. * modules/uniwidth/base (configure.ac): Likewise. * modules/unictype/base (configure.ac): Arrange to generate the .h file if the installed one is from a version < 0.9.8. * modules/unigbrk/base (configure.ac): Likewise.
* setlocale: Make calls with NULL argument multithread-safe.Bruno Haible2019-12-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/setlocale.c: Include <errno.h>. (setlocale_mtsafe): New function. (setlocale_unixlike): Invoke setlocale_mtsafe instead of setlocale. (setlocale_improved): Renamed from rpl_setlocale. * m4/setlocale.m4 (gl_FUNC_SETLOCALE): Require gl_FUNC_SETLOCALE_NULL. Set and define NEED_SETLOCALE_IMPROVED and NEED_SETLOCALE_MTSAFE. Set LIB_SETLOCALE. * modules/setlocale (Depends-on): Add setlocale-null. Update conditions. (Link): New section. * tests/locale.c: Undefine setlocale. * tests/test-setlocale_null-one.c: Likewise. * tests/test-setlocale_null-all.c: Likewise. * modules/setlocale-tests (Makefile.am): Link the test programs with $(LIB_SETLOCALE). * modules/astrxfrm-tests (Makefile.am): Likewise. * modules/btowc-tests (Makefile.am): Likewise. * modules/c-ctype-tests (Makefile.am): Likewise. * modules/c-snprintf-tests (Makefile.am): Likewise. * modules/c-strcase-tests (Makefile.am): Likewise. * modules/c-vasprintf-tests (Makefile.am): Likewise. * modules/c-vsnprintf-tests (Makefile.am): Likewise. * modules/c-xvasprintf-tests (Makefile.am): Likewise. * modules/dfa-tests (Makefile.am): Likewise. * modules/duplocale-tests (Makefile.am): Likewise. * modules/hard-locale-tests (Makefile.am): Likewise. * modules/localcharset-tests (Makefile.am): Likewise. * modules/localename-tests (Makefile.am): Likewise. * modules/mbmemcasecmp-tests (Makefile.am): Likewise. * modules/mbmemcasecoll-tests (Makefile.am): Likewise. * modules/mbrtowc-tests (Makefile.am): Likewise. * modules/mbscasecmp-tests (Makefile.am): Likewise. * modules/mbscasestr-tests (Makefile.am): Likewise. * modules/mbschr-tests (Makefile.am): Likewise. * modules/mbscspn-tests (Makefile.am): Likewise. * modules/mbsinit-tests (Makefile.am): Likewise. * modules/mbsncasecmp-tests (Makefile.am): Likewise. * modules/mbsnrtowcs-tests (Makefile.am): Likewise. * modules/mbspbrk-tests (Makefile.am): Likewise. * modules/mbspcasecmp-tests (Makefile.am): Likewise. * modules/mbsrchr-tests (Makefile.am): Likewise. * modules/mbsrtowcs-tests (Makefile.am): Likewise. * modules/mbsspn-tests (Makefile.am): Likewise. * modules/mbsstr-tests (Makefile.am): Likewise. * modules/nl_langinfo-tests (Makefile.am): Likewise. * modules/quotearg-tests (Makefile.am): Likewise. * modules/regex-tests (Makefile.am): Likewise. * modules/strfmon_l-tests (Makefile.am): Likewise. * modules/strtod-tests (Makefile.am): Likewise. * modules/strtold-tests (Makefile.am): Likewise. * modules/unicase/locale-language-tests (Makefile.am): Likewise. * modules/unicase/ulc-casecmp-tests (Makefile.am): Likewise. * modules/unicase/ulc-casecoll-tests (Makefile.am): Likewise. * modules/unigbrk/ulc-grapheme-breaks-tests (Makefile.am): Likewise. * modules/unistdio/u8-vasnprintf-tests (Makefile.am): Likewise. * modules/unistdio/u16-vasnprintf-tests (Makefile.am): Likewise. * modules/unistdio/u32-vasnprintf-tests (Makefile.am): Likewise. * modules/unistdio/ulc-vasnprintf-tests (Makefile.am): Likewise. * modules/uniwbrk/ulc-wordbreaks-tests (Makefile.am): Likewise. * modules/vasnprintf-posix-tests (Makefile.am): Likewise. * modules/wcrtomb-tests (Makefile.am): Likewise. * modules/wcsnrtombs-tests (Makefile.am): Likewise. * modules/wcsrtombs-tests (Makefile.am): Likewise. * modules/wcwidth-tests (Makefile.am): Likewise. * doc/posix-functions/setlocale.texi: Mention that the multithread- safety fix is also available in module 'setlocale'.
* unigbrk/uc-grapheme-breaks: Fix build failure.Bruno Haible2019-01-271-1/+1
| | | | | * lib/unigbrk/uc-grapheme-breaks.c: Don't include unistr.h. * modules/unigbrk/uc-grapheme-breaks (Makefile.am): Fix typo.
* libunistring: update to Unicode 9.0.0Daiki Ueno2017-11-2714-18/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/gen-uni-tables.c (fill_properties): Recognize Sentence_Terminal and Prepended_Concatenation_Mark. (is_property_default_ignorable_code_point): Exclude U+08E2. (fill_arabicshaping): Allow missing whitespace when parsing; recognize "AFRICAN FEH", "AFRICAN QAF", and "AFRICAN MOON". (output_blocks): Increase the element size of the level1 table to accommodate more blocks. (get_lbp): Recognize ZWJ, E_Base, and E_Modifier characters; Update each class according to the standard. (get_wbp): Recognize ZWJ, E_Base, E_Modifier, Glue_After_Zwj, and E_Base_GAZ characters. (output_gbp_table): Recognize ZWJ, E_Base, E_Modifier, Glue_After_Zwj, and E_Base_GAZ characters. * lib/unictype.in.h (UC_JOINING_GROUP_AFRICAN_FEH) (UC_JOINING_GROUP_AFRICAN_QAF, UC_JOINING_GROUP_AFRICAN_MOON): New enum value. * lib/unilbrk/lbrktables.h (LBP_ZWJ, LBP_EB, LBP_EM): New enum value. * lib/unilbrk/lbrktables.c (unilbrk_table): Extend the table with LBP_ZWJ, LBP_EB, and LBP_EM. * lib/uniwbrk.in.h (WBP_ZWJ, WBP_EB, WBP_EM, WBP_GAZ, WBP_EBG): New enum value. * lib/uniwbrk/u-wordbreaks.h: Implement WB3c, WB15, and WB16. * lib/uniwbrk/wbrktable.h (uniwbrk_prop_index): New variable declaration. * lib/uniwbrk/wbrktable.c (uniwbrk_prop_index): New variable. (uniwbrk_table): Implement WB14. * tests/uniwbrk/test-uc-wordbreaks.c (wordbreakproperty_to_string): Check WBP_ZWJ, WBP_EB, WBP_EM, WBP_GAZ, and WBP_EBG. * modules/unigbrk/u{32,16,8}-grapheme-breaks: No longer depend on uc-is-grapheme-break. * modules/unigbrk/uc-grapheme-breaks: New module. * modules/unigbrk/uc-grapheme-breaks-tests: New module. * lib/unigbrk.in.h (GBP_ZWJ, GBP_EB, GBP_EM, GBP_GAZ, GBP_EBG): New enum value. (uc_grapheme_breaks): New function, replacing uc_is_grapheme_break. * lib/unigbrk/u-grapheme-breaks.h: New file. * lib/unigbrk/u{32,16,8}-grapheme-breaks.c: Rewrite using u-grapheme-breaks.h instead of uc_is_grapheme_break. * lib/unigbrk/uc-grapheme-breaks.c: New file. * lib/unigbrk/uc-is-grapheme-break.c: Partially update to TR29 rev 29. * tests/unigbrk/test-uc-gbrk-prop.c (graphemebreakproperty_to_string): Check GBP_ZWJ, GBP_EB, GBP_EM, GBP_GAZ, and GBP_EBG. * tests/unigbrk/test-uc-grapheme-breaks.c: New test. * tests/unigbrk/test-uc-is-grapheme-break.c (graphemebreakproperty_to_string): Check GBP_ZWJ, GBP_EB, GBP_EM, GBP_GAZ, and GBP_EBG. (main): Skip unsupported rules involving 3 or more characters, namely GB10, GB12, and GB13. * lib/uniwidth/width.c (nonspacing_table_data): Update. * all generated files under lib/uni* and tests/uni*: Regenerate. * all the dependant modules: Bump version.
* libunistring: Relicense under dual "LGPLv3+ or GPLv2" license.Bruno Haible2016-11-2013-13/+13
| | | | | | | | | | | | | | | | | * modules/libunistring: (License): Change from LGPL to "LGPLv3+ or GPLv2". * modules/libunistring-optional: Likewise. * modules/unicase/*: Likewise. * modules/uniconv/*: Likewise. * modules/unictype/*: Likewise. * modules/unigbrk/*: Likewise. * modules/unilbrk/*: Likewise. * modules/uniname/*: Likewise. * modules/uninorm/*: Likewise. * modules/unistdio/*: Likewise. * modules/unistr/*: Likewise. * modules/uniwbrk/*: Likewise. * modules/uniwidth/*: Likewise.
* libunistring: bump minimum version to 0.9.6Daiki Ueno2015-06-1912-12/+12
| | | | | | | | | | The modules are listed by a script that does: * all modules depending on updated Unicode data: Regenerate. The modules are listed by a script that does: - for each file listed by: git show --oneline --name-only 705f4efc - deduce the containing modules, based on "Files:" - deduce the modules which depend on the containing modules, based on "Depends-on:"
* libunistring: update to Unicode 6.1.0Daiki Ueno2015-01-1512-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/gen-uni-tables.c (output_joining_group): Switch to 3-level table to accommodate joining groups defined with higher codepoint value. Since there are only 88 groups defined in Unicode 7.0.0, use 7-bit packed format for level3 entries. (get_lbp): Update for Unicode 6.1.0. * lib/unictype/joininggroup_of.c (uc_joining_group): Adjust to use 3-level table. * lib/unictype/joininggroup_byname.gperf: Add Rohingya Yeh joining group name. * lib/unictype/joininggroup_name.h: Likewise. * lib/unilbrk/lbrktables.h (LBP_HL): New enumeration value. (unilbrk_table): Adjust table size. * lib/unilbrk/lbrktables.c (unilbrk_table): Add a row and column for LBP_HL. * lib/uniwidth/width.c (nonspacing_table_data): Add U+0604, U+08E4..U+08FE, U+1BAB, U+1CF4, U+A674..U+A67B, U+A69F, U+AAEC..U+AAED, U+AAF6, U+11100..U+11102, U+11127..U+1112B, U+1112D..U+11134, U+11180..U+11181, U+111B6..U+111BE, U+116AB, U+116AD, U+116B0..U+116B5, U+116B7, U+16F8F..U+16F92. Remove U+302E..U+302F. * tests/uniwidth/test-uc_width2.sh: Same updates as in lib/uniwidth/width.c. * all generated files under lib/uni* and tests/uni*: Regenerate. * modules/uni*/* (configure.ac): Bump minimum version to 0.9.5.
* Bruno Haible has stepped down as maintainer.Paul Eggert2014-07-0513-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See Karl Berry in: http://lists.gnu.org/archive/html/bug-gnulib/2014-07/msg00004.html Daiki Ueno has volunteered to maintain libunistring; see: http://lists.gnu.org/archive/html/bug-gnulib/2014-07/msg00005.html * modules/gen-uni-tables, modules/libunistring: * modules/libunistring-optional, modules/ucs4-utf16, modules/ucs4-utf8: * modules/unicase/base, modules/unicase/cased: * modules/unicase/empty-prefix-context: * modules/unicase/empty-suffix-context, modules/unicase/ignorable: * modules/unicase/locale-language, modules/unicase/special-casing: * modules/unicase/tocasefold, modules/unicase/tolower: * modules/unicase/totitle, modules/unicase/toupper: * modules/unicase/u16-casecmp, modules/unicase/u16-casecoll: * modules/unicase/u16-casefold, modules/unicase/u16-casemap: * modules/unicase/u16-casexfrm, modules/unicase/u16-ct-casefold: * modules/unicase/u16-ct-tolower, modules/unicase/u16-ct-totitle: * modules/unicase/u16-ct-toupper, modules/unicase/u16-is-cased: * modules/unicase/u16-is-casefolded, modules/unicase/u16-is-invariant: * modules/unicase/u16-is-lowercase, modules/unicase/u16-is-titlecase: * modules/unicase/u16-is-uppercase, modules/unicase/u16-prefix-context: * modules/unicase/u16-suffix-context, modules/unicase/u16-tolower: * modules/unicase/u16-totitle, modules/unicase/u16-toupper: * modules/unicase/u32-casecmp, modules/unicase/u32-casecoll: * modules/unicase/u32-casefold, modules/unicase/u32-casemap: * modules/unicase/u32-casexfrm, modules/unicase/u32-ct-casefold: * modules/unicase/u32-ct-tolower, modules/unicase/u32-ct-totitle: * modules/unicase/u32-ct-toupper, modules/unicase/u32-is-cased: * modules/unicase/u32-is-casefolded, modules/unicase/u32-is-invariant: * modules/unicase/u32-is-lowercase, modules/unicase/u32-is-titlecase: * modules/unicase/u32-is-uppercase, modules/unicase/u32-prefix-context: * modules/unicase/u32-suffix-context, modules/unicase/u32-tolower: * modules/unicase/u32-totitle, modules/unicase/u32-toupper: * modules/unicase/u8-casecmp, modules/unicase/u8-casecoll: * modules/unicase/u8-casefold, modules/unicase/u8-casemap: * modules/unicase/u8-casexfrm, modules/unicase/u8-ct-casefold: * modules/unicase/u8-ct-tolower, modules/unicase/u8-ct-totitle: * modules/unicase/u8-ct-toupper, modules/unicase/u8-is-cased: * modules/unicase/u8-is-casefolded, modules/unicase/u8-is-invariant: * modules/unicase/u8-is-lowercase, modules/unicase/u8-is-titlecase: * modules/unicase/u8-is-uppercase, modules/unicase/u8-prefix-context: * modules/unicase/u8-suffix-context, modules/unicase/u8-tolower: * modules/unicase/u8-totitle, modules/unicase/u8-toupper: * modules/unicase/ulc-casecmp, modules/unicase/ulc-casecoll: * modules/unicase/ulc-casexfrm, modules/unicodeio: * modules/uniconv/base, modules/uniconv/u16-conv-from-enc: * modules/uniconv/u16-conv-to-enc: * modules/uniconv/u16-strconv-from-enc: * modules/uniconv/u16-strconv-from-locale: * modules/uniconv/u16-strconv-to-enc: * modules/uniconv/u16-strconv-to-locale: * modules/uniconv/u32-conv-from-enc, modules/uniconv/u32-conv-to-enc: * modules/uniconv/u32-strconv-from-enc: * modules/uniconv/u32-strconv-from-locale: * modules/uniconv/u32-strconv-to-enc: * modules/uniconv/u32-strconv-to-locale: * modules/uniconv/u8-conv-from-enc, modules/uniconv/u8-conv-to-enc: * modules/uniconv/u8-strconv-from-enc: * modules/uniconv/u8-strconv-from-locale: * modules/uniconv/u8-strconv-to-enc: * modules/uniconv/u8-strconv-to-locale, modules/unictype/base: * modules/unictype/bidicategory-all: * modules/unictype/bidicategory-byname: * modules/unictype/bidicategory-name, modules/unictype/bidicategory-of: * modules/unictype/bidicategory-test, modules/unictype/bidiclass-all: * modules/unictype/bidiclass-byname: * modules/unictype/bidiclass-longname, modules/unictype/bidiclass-name: * modules/unictype/bidiclass-of, modules/unictype/bidiclass-test: * modules/unictype/block-all, modules/unictype/block-list: * modules/unictype/block-of, modules/unictype/block-test: * modules/unictype/category-C, modules/unictype/category-Cc: * modules/unictype/category-Cf, modules/unictype/category-Cn: * modules/unictype/category-Co, modules/unictype/category-Cs: * modules/unictype/category-L, modules/unictype/category-LC: * modules/unictype/category-Ll, modules/unictype/category-Lm: * modules/unictype/category-Lo, modules/unictype/category-Lt: * modules/unictype/category-Lu, modules/unictype/category-M: * modules/unictype/category-Mc, modules/unictype/category-Me: * modules/unictype/category-Mn, modules/unictype/category-N: * modules/unictype/category-Nd, modules/unictype/category-Nl: * modules/unictype/category-No, modules/unictype/category-P: * modules/unictype/category-Pc, modules/unictype/category-Pd: * modules/unictype/category-Pe, modules/unictype/category-Pf: * modules/unictype/category-Pi, modules/unictype/category-Po: * modules/unictype/category-Ps, modules/unictype/category-S: * modules/unictype/category-Sc, modules/unictype/category-Sk: * modules/unictype/category-Sm, modules/unictype/category-So: * modules/unictype/category-Z, modules/unictype/category-Zl: * modules/unictype/category-Zp, modules/unictype/category-Zs: * modules/unictype/category-all, modules/unictype/category-and: * modules/unictype/category-and-not, modules/unictype/category-byname: * modules/unictype/category-longname, modules/unictype/category-name: * modules/unictype/category-none, modules/unictype/category-of: * modules/unictype/category-or, modules/unictype/category-test: * modules/unictype/category-test-withtable: * modules/unictype/combining-class: * modules/unictype/combining-class-all: * modules/unictype/combining-class-byname: * modules/unictype/combining-class-longname: * modules/unictype/combining-class-name, modules/unictype/ctype-alnum: * modules/unictype/ctype-alpha, modules/unictype/ctype-blank: * modules/unictype/ctype-cntrl, modules/unictype/ctype-digit: * modules/unictype/ctype-graph, modules/unictype/ctype-lower: * modules/unictype/ctype-print, modules/unictype/ctype-punct: * modules/unictype/ctype-space, modules/unictype/ctype-upper: * modules/unictype/ctype-xdigit, modules/unictype/decimal-digit: * modules/unictype/digit, modules/unictype/joininggroup-all: * modules/unictype/joininggroup-byname: * modules/unictype/joininggroup-name, modules/unictype/joininggroup-of: * modules/unictype/joiningtype-all: * modules/unictype/joiningtype-byname: * modules/unictype/joiningtype-longname: * modules/unictype/joiningtype-name, modules/unictype/joiningtype-of: * modules/unictype/mirror, modules/unictype/numeric: * modules/unictype/property-all, modules/unictype/property-alphabetic: * modules/unictype/property-ascii-hex-digit: * modules/unictype/property-bidi-arabic-digit: * modules/unictype/property-bidi-arabic-right-to-left: * modules/unictype/property-bidi-block-separator: * modules/unictype/property-bidi-boundary-neutral: * modules/unictype/property-bidi-common-separator: * modules/unictype/property-bidi-control: * modules/unictype/property-bidi-embedding-or-override: * modules/unictype/property-bidi-eur-num-separator: * modules/unictype/property-bidi-eur-num-terminator: * modules/unictype/property-bidi-european-digit: * modules/unictype/property-bidi-hebrew-right-to-left: * modules/unictype/property-bidi-left-to-right: * modules/unictype/property-bidi-non-spacing-mark: * modules/unictype/property-bidi-other-neutral: * modules/unictype/property-bidi-pdf: * modules/unictype/property-bidi-segment-separator: * modules/unictype/property-bidi-whitespace: * modules/unictype/property-byname: * modules/unictype/property-case-ignorable: * modules/unictype/property-cased: * modules/unictype/property-changes-when-casefolded: * modules/unictype/property-changes-when-casemapped: * modules/unictype/property-changes-when-lowercased: * modules/unictype/property-changes-when-titlecased: * modules/unictype/property-changes-when-uppercased: * modules/unictype/property-combining: * modules/unictype/property-composite: * modules/unictype/property-currency-symbol: * modules/unictype/property-dash: * modules/unictype/property-decimal-digit: * modules/unictype/property-default-ignorable-code-point: * modules/unictype/property-deprecated: * modules/unictype/property-diacritic: * modules/unictype/property-extender: * modules/unictype/property-format-control: * modules/unictype/property-grapheme-base: * modules/unictype/property-grapheme-extend: * modules/unictype/property-grapheme-link: * modules/unictype/property-hex-digit: * modules/unictype/property-hyphen: * modules/unictype/property-id-continue: * modules/unictype/property-id-start: * modules/unictype/property-ideographic: * modules/unictype/property-ids-binary-operator: * modules/unictype/property-ids-trinary-operator: * modules/unictype/property-ignorable-control: * modules/unictype/property-iso-control: * modules/unictype/property-join-control: * modules/unictype/property-left-of-pair: * modules/unictype/property-line-separator: * modules/unictype/property-logical-order-exception: * modules/unictype/property-lowercase, modules/unictype/property-math: * modules/unictype/property-non-break: * modules/unictype/property-not-a-character: * modules/unictype/property-numeric: * modules/unictype/property-other-alphabetic: * modules/unictype/property-other-default-ignorable-code-point: * modules/unictype/property-other-grapheme-extend: * modules/unictype/property-other-id-continue: * modules/unictype/property-other-id-start: * modules/unictype/property-other-lowercase: * modules/unictype/property-other-math: * modules/unictype/property-other-uppercase: * modules/unictype/property-paired-punctuation: * modules/unictype/property-paragraph-separator: * modules/unictype/property-pattern-syntax: * modules/unictype/property-pattern-white-space: * modules/unictype/property-private-use: * modules/unictype/property-punctuation: * modules/unictype/property-quotation-mark: * modules/unictype/property-radical: * modules/unictype/property-sentence-terminal: * modules/unictype/property-soft-dotted: * modules/unictype/property-space: * modules/unictype/property-terminal-punctuation: * modules/unictype/property-test, modules/unictype/property-titlecase: * modules/unictype/property-unassigned-code-value: * modules/unictype/property-unified-ideograph: * modules/unictype/property-uppercase: * modules/unictype/property-variation-selector: * modules/unictype/property-white-space: * modules/unictype/property-xid-continue: * modules/unictype/property-xid-start: * modules/unictype/property-zero-width, modules/unictype/scripts: * modules/unictype/scripts-all, modules/unictype/syntax-c-ident: * modules/unictype/syntax-c-whitespace: * modules/unictype/syntax-java-ident: * modules/unictype/syntax-java-whitespace, modules/unigbrk/base: * modules/unigbrk/u16-grapheme-breaks: * modules/unigbrk/u16-grapheme-next, modules/unigbrk/u16-grapheme-prev: * modules/unigbrk/u32-grapheme-breaks: * modules/unigbrk/u32-grapheme-next, modules/unigbrk/u32-grapheme-prev: * modules/unigbrk/u8-grapheme-breaks, modules/unigbrk/u8-grapheme-next: * modules/unigbrk/u8-grapheme-prev, modules/unigbrk/uc-gbrk-prop: * modules/unigbrk/uc-is-grapheme-break: * modules/unigbrk/ulc-grapheme-breaks, modules/unilbrk/base: * modules/unilbrk/tables, modules/unilbrk/u16-possible-linebreaks: * modules/unilbrk/u16-width-linebreaks: * modules/unilbrk/u32-possible-linebreaks: * modules/unilbrk/u32-width-linebreaks: * modules/unilbrk/u8-possible-linebreaks: * modules/unilbrk/u8-width-linebreaks, modules/unilbrk/ulc-common: * modules/unilbrk/ulc-possible-linebreaks: * modules/unilbrk/ulc-width-linebreaks, modules/uniname/base: * modules/uniname/uniname, modules/uninorm/base: * modules/uninorm/canonical-decomposition: * modules/uninorm/compat-decomposition, modules/uninorm/composition: * modules/uninorm/decompose-internal, modules/uninorm/decomposing-form: * modules/uninorm/decomposition, modules/uninorm/decomposition-table: * modules/uninorm/filter, modules/uninorm/nfc, modules/uninorm/nfd: * modules/uninorm/nfkc, modules/uninorm/nfkd: * modules/uninorm/u16-normalize, modules/uninorm/u16-normcmp: * modules/uninorm/u16-normcoll, modules/uninorm/u16-normxfrm: * modules/uninorm/u32-normalize, modules/uninorm/u32-normcmp: * modules/uninorm/u32-normcoll, modules/uninorm/u32-normxfrm: * modules/uninorm/u8-normalize, modules/uninorm/u8-normcmp: * modules/uninorm/u8-normcoll, modules/uninorm/u8-normxfrm: * modules/unistdio/base, modules/unistdio/u-printf-args: * modules/unistdio/u16-asnprintf, modules/unistdio/u16-asprintf: * modules/unistdio/u16-printf-parse, modules/unistdio/u16-snprintf: * modules/unistdio/u16-sprintf, modules/unistdio/u16-u16-asnprintf: * modules/unistdio/u16-u16-asprintf, modules/unistdio/u16-u16-snprintf: * modules/unistdio/u16-u16-sprintf: * modules/unistdio/u16-u16-vasnprintf: * modules/unistdio/u16-u16-vasprintf: * modules/unistdio/u16-u16-vsnprintf: * modules/unistdio/u16-u16-vsprintf, modules/unistdio/u16-vasnprintf: * modules/unistdio/u16-vasprintf, modules/unistdio/u16-vsnprintf: * modules/unistdio/u16-vsprintf, modules/unistdio/u32-asnprintf: * modules/unistdio/u32-asprintf, modules/unistdio/u32-printf-parse: * modules/unistdio/u32-snprintf, modules/unistdio/u32-sprintf: * modules/unistdio/u32-u32-asnprintf: * modules/unistdio/u32-u32-asprintf, modules/unistdio/u32-u32-snprintf: * modules/unistdio/u32-u32-sprintf: * modules/unistdio/u32-u32-vasnprintf: * modules/unistdio/u32-u32-vasprintf: * modules/unistdio/u32-u32-vsnprintf: * modules/unistdio/u32-u32-vsprintf, modules/unistdio/u32-vasnprintf: * modules/unistdio/u32-vasprintf, modules/unistdio/u32-vsnprintf: * modules/unistdio/u32-vsprintf, modules/unistdio/u8-asnprintf: * modules/unistdio/u8-asprintf, modules/unistdio/u8-printf-parse: * modules/unistdio/u8-snprintf, modules/unistdio/u8-sprintf: * modules/unistdio/u8-u8-asnprintf, modules/unistdio/u8-u8-asprintf: * modules/unistdio/u8-u8-snprintf, modules/unistdio/u8-u8-sprintf: * modules/unistdio/u8-u8-vasnprintf, modules/unistdio/u8-u8-vasprintf: * modules/unistdio/u8-u8-vsnprintf, modules/unistdio/u8-u8-vsprintf: * modules/unistdio/u8-vasnprintf, modules/unistdio/u8-vasprintf: * modules/unistdio/u8-vsnprintf, modules/unistdio/u8-vsprintf: * modules/unistdio/ulc-asnprintf, modules/unistdio/ulc-asprintf: * modules/unistdio/ulc-fprintf, modules/unistdio/ulc-printf-parse: * modules/unistdio/ulc-snprintf, modules/unistdio/ulc-sprintf: * modules/unistdio/ulc-vasnprintf, modules/unistdio/ulc-vasprintf: * modules/unistdio/ulc-vfprintf, modules/unistdio/ulc-vsnprintf: * modules/unistdio/ulc-vsprintf, modules/unistr/base: * modules/unistr/u16-check, modules/unistr/u16-chr: * modules/unistr/u16-cmp, modules/unistr/u16-cmp2: * modules/unistr/u16-cpy, modules/unistr/u16-cpy-alloc: * modules/unistr/u16-endswith, modules/unistr/u16-mblen: * modules/unistr/u16-mbsnlen, modules/unistr/u16-mbtouc: * modules/unistr/u16-mbtouc-unsafe, modules/unistr/u16-mbtoucr: * modules/unistr/u16-move, modules/unistr/u16-next: * modules/unistr/u16-prev, modules/unistr/u16-set: * modules/unistr/u16-startswith, modules/unistr/u16-stpcpy: * modules/unistr/u16-stpncpy, modules/unistr/u16-strcat: * modules/unistr/u16-strchr, modules/unistr/u16-strcmp: * modules/unistr/u16-strcoll, modules/unistr/u16-strcpy: * modules/unistr/u16-strcspn, modules/unistr/u16-strdup: * modules/unistr/u16-strlen, modules/unistr/u16-strmblen: * modules/unistr/u16-strmbtouc, modules/unistr/u16-strncat: * modules/unistr/u16-strncmp, modules/unistr/u16-strncpy: * modules/unistr/u16-strnlen, modules/unistr/u16-strpbrk: * modules/unistr/u16-strrchr, modules/unistr/u16-strspn: * modules/unistr/u16-strstr, modules/unistr/u16-strtok: * modules/unistr/u16-to-u32, modules/unistr/u16-to-u8: * modules/unistr/u16-uctomb, modules/unistr/u32-check: * modules/unistr/u32-chr, modules/unistr/u32-cmp: * modules/unistr/u32-cmp2, modules/unistr/u32-cpy: * modules/unistr/u32-cpy-alloc, modules/unistr/u32-endswith: * modules/unistr/u32-mblen, modules/unistr/u32-mbsnlen: * modules/unistr/u32-mbtouc, modules/unistr/u32-mbtouc-unsafe: * modules/unistr/u32-mbtoucr, modules/unistr/u32-move: * modules/unistr/u32-next, modules/unistr/u32-prev: * modules/unistr/u32-set, modules/unistr/u32-startswith: * modules/unistr/u32-stpcpy, modules/unistr/u32-stpncpy: * modules/unistr/u32-strcat, modules/unistr/u32-strchr: * modules/unistr/u32-strcmp, modules/unistr/u32-strcoll: * modules/unistr/u32-strcpy, modules/unistr/u32-strcspn: * modules/unistr/u32-strdup, modules/unistr/u32-strlen: * modules/unistr/u32-strmblen, modules/unistr/u32-strmbtouc: * modules/unistr/u32-strncat, modules/unistr/u32-strncmp: * modules/unistr/u32-strncpy, modules/unistr/u32-strnlen: * modules/unistr/u32-strpbrk, modules/unistr/u32-strrchr: * modules/unistr/u32-strspn, modules/unistr/u32-strstr: * modules/unistr/u32-strtok, modules/unistr/u32-to-u16: * modules/unistr/u32-to-u8, modules/unistr/u32-uctomb: * modules/unistr/u8-check, modules/unistr/u8-chr: * modules/unistr/u8-cmp, modules/unistr/u8-cmp2, modules/unistr/u8-cpy: * modules/unistr/u8-cpy-alloc, modules/unistr/u8-endswith: * modules/unistr/u8-mblen, modules/unistr/u8-mbsnlen: * modules/unistr/u8-mbtouc, modules/unistr/u8-mbtouc-unsafe: * modules/unistr/u8-mbtoucr, modules/unistr/u8-move: * modules/unistr/u8-next, modules/unistr/u8-prev: * modules/unistr/u8-set, modules/unistr/u8-startswith: * modules/unistr/u8-stpcpy, modules/unistr/u8-stpncpy: * modules/unistr/u8-strcat, modules/unistr/u8-strchr: * modules/unistr/u8-strcmp, modules/unistr/u8-strcoll: * modules/unistr/u8-strcpy, modules/unistr/u8-strcspn: * modules/unistr/u8-strdup, modules/unistr/u8-strlen: * modules/unistr/u8-strmblen, modules/unistr/u8-strmbtouc: * modules/unistr/u8-strncat, modules/unistr/u8-strncmp: * modules/unistr/u8-strncpy, modules/unistr/u8-strnlen: * modules/unistr/u8-strpbrk, modules/unistr/u8-strrchr: * modules/unistr/u8-strspn, modules/unistr/u8-strstr: * modules/unistr/u8-strtok, modules/unistr/u8-to-u16: * modules/unistr/u8-to-u32, modules/unistr/u8-uctomb, modules/unitypes: * modules/uniwbrk/base, modules/uniwbrk/table: * modules/uniwbrk/u16-wordbreaks, modules/uniwbrk/u32-wordbreaks: * modules/uniwbrk/u8-wordbreaks, modules/uniwbrk/ulc-wordbreaks: * modules/uniwbrk/wordbreak-property, modules/uniwidth/base: * modules/uniwidth/u16-strwidth, modules/uniwidth/u16-width: * modules/uniwidth/u32-strwidth, modules/uniwidth/u32-width: * modules/uniwidth/u8-strwidth, modules/uniwidth/u8-width: * modules/uniwidth/width, modules/utf16-ucs4: * modules/utf16-ucs4-unsafe, modules/utf8-ucs4: * modules/utf8-ucs4-unsafe: Change maintainer from Bruno Haible to Daiki Ueno. This is my guess at the libunistring modules; please feel free to fix if I guessed incorrectly. * modules/accept4, modules/acl, modules/acos, modules/acosf: * modules/alignof, modules/amemxfrm, modules/ansi-c++-opt: * modules/areadlink, modules/array-list, modules/array-mergesort: * modules/array-oset, modules/asin, modules/asinf, modules/astrxfrm: * modules/atan, modules/atan2, modules/atan2f, modules/atanf: * modules/avltree-list, modules/avltree-oset, modules/avltreehash-list: * modules/binary-io, modules/bison-i18n, modules/btowc: * modules/c-ctype, modules/c-strcase, modules/c-strcaseeq: * modules/c-strcasestr, modules/c-strstr, modules/calloc-posix: * modules/canonicalize-lgpl, modules/careadlinkat, modules/carray-list: * modules/cbrt, modules/cbrt-ieee, modules/cbrtf, modules/cbrtf-ieee: * modules/cbrtl, modules/cbrtl-ieee, modules/ceil, modules/ceil-ieee: * modules/ceilf, modules/ceilf-ieee, modules/ceill, modules/ceill-ieee: * modules/chdir, modules/classpath, modules/clean-temp, modules/close: * modules/closedir, modules/concat-filename, modules/copy-file: * modules/copysign, modules/copysignf, modules/copysignl, modules/cos: * modules/cosf, modules/cosh, modules/coshf, modules/csharpcomp: * modules/csharpcomp-script, modules/csharpexec: * modules/csharpexec-script, modules/ctype, modules/diffseq: * modules/dprintf, modules/dprintf-posix, modules/dup: * modules/dup2-obsolete, modules/dup3, modules/duplocale: * modules/eealloc, modules/environ, modules/erf, modules/erfc: * modules/errno, modules/execute, modules/exp, modules/exp-ieee: * modules/exp2, modules/exp2-ieee, modules/exp2f, modules/exp2f-ieee: * modules/exp2l, modules/exp2l-ieee, modules/expf, modules/expf-ieee: * modules/expl, modules/expl-ieee, modules/expm1, modules/expm1-ieee: * modules/expm1f, modules/expm1f-ieee, modules/expm1l: * modules/expm1l-ieee, modules/fabs, modules/fabs-ieee, modules/fabsf: * modules/fabsf-ieee, modules/fabsl, modules/fabsl-ieee: * modules/fatal-signal, modules/fbufmode, modules/fchdir: * modules/fclose, modules/fd-hook, modules/fdopen, modules/filename: * modules/findprog, modules/findprog-lgpl, modules/floor: * modules/floor-ieee, modules/floorf, modules/floorf-ieee: * modules/floorl, modules/floorl-ieee, modules/fma, modules/fma-ieee: * modules/fmaf, modules/fmaf-ieee, modules/fmal, modules/fmal-ieee: * modules/fmod, modules/fmod-ieee, modules/fmodf, modules/fmodf-ieee: * modules/fmodl, modules/fmodl-ieee, modules/fopen, modules/fpieee: * modules/fprintf-posix, modules/fpucw, modules/fpurge: * modules/freadable, modules/freadahead, modules/freadptr: * modules/freadseek, modules/freopen, modules/frexp: * modules/frexp-ieee, modules/frexp-nolibm, modules/frexpf: * modules/frexpf-ieee, modules/frexpl, modules/frexpl-ieee: * modules/frexpl-nolibm, modules/fseek, modules/fseeko: * modules/fseterr, modules/fstat, modules/fstrcmp, modules/ftell: * modules/ftello, modules/full-read, modules/full-write: * modules/fwritable, modules/fwriteerror, modules/gcd: * modules/get-rusage-as, modules/get-rusage-data: * modules/getdtablesize, modules/getrusage, modules/gettext: * modules/gettext-h, modules/git-merge-changelog, modules/gperf: * modules/grantpt, modules/havelib, modules/host-cpu-c-abi: * modules/hostent, modules/hypot, modules/hypot-ieee, modules/hypotf: * modules/hypotf-ieee, modules/hypotl, modules/hypotl-ieee: * modules/iconv, modules/iconv-h, modules/iconv_open: * modules/iconv_open-utf, modules/idpriv-drop, modules/idpriv-droptemp: * modules/ilogb, modules/ilogbf, modules/ilogbl, modules/imaxabs: * modules/imaxdiv, modules/integer_length, modules/integer_length_l: * modules/integer_length_ll, modules/ioctl, modules/isatty: * modules/isblank, modules/isnand, modules/isnand-nolibm: * modules/isnanf, modules/isnanf-nolibm, modules/isnanl: * modules/isnanl-nolibm, modules/iswblank, modules/iswctype: * modules/j0, modules/j1, modules/javacomp, modules/javacomp-script: * modules/javaexec, modules/javaexec-script, modules/javaversion: * modules/jn, modules/langinfo, modules/ldd, modules/ldexp: * modules/ldexp-ieee, modules/ldexpf, modules/ldexpf-ieee: * modules/ldexpl, modules/ldexpl-ieee, modules/lgamma: * modules/lib-symbol-visibility, modules/libsigsegv: * modules/linked-list, modules/linkedhash-list, modules/list: * modules/localcharset, modules/locale, modules/localeconv: * modules/localename, modules/lock, modules/log, modules/log-ieee: * modules/log10, modules/log10-ieee, modules/log10f: * modules/log10f-ieee, modules/log10l, modules/log10l-ieee: * modules/log1p, modules/log1p-ieee, modules/log1pf: * modules/log1pf-ieee, modules/log1pl, modules/log1pl-ieee: * modules/log2, modules/log2-ieee, modules/log2f, modules/log2f-ieee: * modules/log2l, modules/log2l-ieee, modules/logb, modules/logb-ieee: * modules/logbf, modules/logbf-ieee, modules/logbl, modules/logbl-ieee: * modules/logf, modules/logf-ieee, modules/login_tty: * modules/logl-ieee, modules/malloc-posix, modules/malloca: * modules/mbchar, modules/mbfile, modules/mbiter, modules/mbmemcasecmp: * modules/mbmemcasecoll, modules/mbrlen, modules/mbrtowc: * modules/mbscasecmp, modules/mbscasestr, modules/mbschr: * modules/mbscspn, modules/mbsinit, modules/mbslen: * modules/mbsncasecmp, modules/mbsnlen, modules/mbsnrtowcs: * modules/mbspbrk, modules/mbspcasecmp, modules/mbsrchr: * modules/mbsrtowcs, modules/mbssep, modules/mbsspn, modules/mbsstr: * modules/mbstok_r, modules/mbswidth, modules/mbtowc, modules/mbuiter: * modules/memchr-obsolete, modules/memcmp2, modules/minmax: * modules/mkdtemp, modules/mkostemp, modules/mktime-internal: * modules/modf, modules/modf-ieee, modules/modff, modules/modff-ieee: * modules/modfl, modules/modfl-ieee, modules/msvc-inval: * modules/msvc-nothrow, modules/multiarch, modules/nextafter: * modules/nl_langinfo, modules/no-c++, modules/nocrash: * modules/nonblocking, modules/open, modules/opendir, modules/openmp: * modules/oset, modules/pclose, modules/pipe, modules/pipe-filter-gi: * modules/pipe-filter-ii, modules/pipe2, modules/poll-h: * modules/posix_spawn, modules/posix_spawn-internal: * modules/posix_spawn_file_actions_addclose: * modules/posix_spawn_file_actions_adddup2: * modules/posix_spawn_file_actions_addopen: * modules/posix_spawn_file_actions_destroy: * modules/posix_spawn_file_actions_init: * modules/posix_spawnattr_destroy, modules/posix_spawnattr_getflags: * modules/posix_spawnattr_getpgroup: * modules/posix_spawnattr_getschedparam: * modules/posix_spawnattr_getschedpolicy: * modules/posix_spawnattr_getsigdefault: * modules/posix_spawnattr_getsigmask, modules/posix_spawnattr_init: * modules/posix_spawnattr_setflags, modules/posix_spawnattr_setpgroup: * modules/posix_spawnattr_setschedparam: * modules/posix_spawnattr_setschedpolicy: * modules/posix_spawnattr_setsigdefault: * modules/posix_spawnattr_setsigmask, modules/posix_spawnp: * modules/pow, modules/powf, modules/printf-frexp: * modules/printf-frexpl, modules/printf-posix, modules/printf-safe: * modules/progname, modules/propername, modules/pselect: * modules/pthread_sigmask, modules/ptsname, modules/ptsname_r: * modules/qacl, modules/quotearg-simple, modules/raise, modules/random: * modules/rbtree-list, modules/rbtree-oset, modules/rbtreehash-list: * modules/read, modules/readdir, modules/readlink: * modules/realloc-posix, modules/regex-quote, modules/relocatable-lib: * modules/relocatable-lib-lgpl, modules/relocatable-perl: * modules/relocatable-prog, modules/relocatable-prog-wrapper: * modules/relocatable-script, modules/remainder: * modules/remainder-ieee, modules/remainderf, modules/remainderf-ieee: * modules/remainderl, modules/remainderl-ieee, modules/rewinddir: * modules/rint, modules/rint-ieee, modules/rintf, modules/rintf-ieee: * modules/rintl, modules/rintl-ieee, modules/round-ieee: * modules/roundf-ieee, modules/roundl-ieee, modules/safe-read: * modules/safe-write, modules/sched, modules/servent, modules/setenv: * modules/setlocale, modules/sh-quote, modules/shutdown: * modules/signal, modules/signbit, modules/sigpipe: * modules/sigpipe-die, modules/sigprocmask, modules/sin, modules/sinf: * modules/sinh, modules/sinhf, modules/size_max, modules/sleep: * modules/snippet/arg-nonnull, modules/snippet/c++defs: * modules/snippet/link-warning, modules/snippet/unused-parameter: * modules/snprintf, modules/snprintf-posix, modules/spawn: * modules/spawn-pipe, modules/sprintf-posix, modules/sqrt: * modules/sqrt-ieee, modules/sqrtf, modules/sqrtf-ieee: * modules/sqrtl-ieee, modules/stdalign, modules/stdarg: * modules/stdbool, modules/stpcpy, modules/stpncpy, modules/strcase: * modules/strcasestr, modules/strcasestr-simple, modules/strcspn: * modules/streq, modules/strerror_r-posix, modules/striconv: * modules/striconveh, modules/striconveha, modules/strncat: * modules/strnlen1, modules/strpbrk, modules/strtod-obsolete: * modules/sublist, modules/sys_resource, modules/sys_utsname: * modules/sys_wait, modules/system-posix, modules/system-quote: * modules/tan, modules/tanf, modules/tanh, modules/tanhf: * modules/tcgetsid, modules/termios, modules/threadlib, modules/tls: * modules/tmpdir, modules/towctrans, modules/trunc, modules/trunc-ieee: * modules/truncf, modules/truncf-ieee, modules/truncl: * modules/truncl-ieee, modules/ttyname_r, modules/uname: * modules/unlockpt, modules/unsetenv, modules/vasnprintf: * modules/vasnprintf-posix, modules/vasprintf, modules/vasprintf-posix: * modules/vdprintf, modules/vdprintf-posix, modules/vfprintf-posix: * modules/vfscanf, modules/vma-iter, modules/vprintf-posix: * modules/vscanf, modules/vsnprintf-posix, modules/vsprintf-posix: * modules/wait-process, modules/waitpid, modules/wcpcpy: * modules/wcpncpy, modules/wcrtomb, modules/wcscasecmp, modules/wcscat: * modules/wcschr, modules/wcscmp, modules/wcscoll, modules/wcscpy: * modules/wcscspn, modules/wcsdup, modules/wcslen, modules/wcsncasecmp: * modules/wcsncat, modules/wcsncmp, modules/wcsncpy, modules/wcsnlen: * modules/wcsnrtombs, modules/wcspbrk, modules/wcsrchr: * modules/wcsrtombs, modules/wcsspn, modules/wcsstr, modules/wcstok: * modules/wcswidth, modules/wcsxfrm, modules/wctob, modules/wctomb: * modules/wctrans, modules/wctype, modules/wcwidth, modules/wmemchr: * modules/wmemcmp, modules/wmemcpy, modules/wmemmove, modules/wmemset: * modules/write, modules/xconcat-filename, modules/xlist: * modules/xmalloca, modules/xoset, modules/xprintf-posix: * modules/xreadlink, modules/xsetenv, modules/xsize, modules/xstriconv: * modules/xstriconveh, modules/xsublist, modules/xvasprintf-posix: * modules/y0, modules/y1, modules/yn: Remove Bruno Haible as maintainer; if he's the sole maintainer, change the maintainer to 'all'. Let's hope someone volunteers.
* Avoid setlocale bugs in tests.Bruno Haible2011-02-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * modules/btowc (Dependencies): Add setlocale. * modules/c-strcase (Dependencies): Likewise. * modules/mbmemcasecmp (Dependencies): Likewise. * modules/mbmemcasecoll (Dependencies): Likewise. * modules/mbrtowc (Dependencies): Likewise. * modules/mbscasecmp (Dependencies): Likewise. * modules/mbscasestr (Dependencies): Likewise. * modules/mbschr (Dependencies): Likewise. * modules/mbscspn (Dependencies): Likewise. * modules/mbsinit (Dependencies): Likewise. * modules/mbsncasecmp (Dependencies): Likewise. * modules/mbsnrtowcs (Dependencies): Likewise. * modules/mbspbrk (Dependencies): Likewise. * modules/mbspcasecmp (Dependencies): Likewise. * modules/mbsrchr (Dependencies): Likewise. * modules/mbsrtowcs (Dependencies): Likewise. * modules/mbsspn (Dependencies): Likewise. * modules/mbsstr (Dependencies): Likewise. * modules/nl_langinfo (Dependencies): Likewise. * modules/quotearg (Dependencies): Likewise. * modules/unicase/locale-language (Dependencies): Likewise. * modules/unicase/ulc-casecmp (Dependencies): Likewise. * modules/unicase/ulc-casecoll (Dependencies): Likewise. * modules/unigbrk/ulc-grapheme-breaks (Dependencies): Likewise. * modules/unistdio/u8-vasnprintf (Dependencies): Likewise. * modules/unistdio/u16-vasnprintf (Dependencies): Likewise. * modules/unistdio/u32-vasnprintf (Dependencies): Likewise. * modules/unistdio/ulc-vasnprintf (Dependencies): Likewise. * modules/uniwbrk/ulc-wordbreaks (Dependencies): Likewise. * modules/vasnprintf-posix (Dependencies): Likewise. * modules/wcrtomb (Dependencies): Likewise. * modules/wcsnrtombs (Dependencies): Likewise. * modules/wcsrtombs (Dependencies): Likewise.
* Remove u#-grapheme-len modules as too redundant with u#-grapheme-next.Ben Pfaff2011-01-016-120/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove module 'u8-grapheme-len' as too redundant with 'u8-grapheme-next'. * modules/unigbrk/u8-grapheme-len: Delete file. * modules/unigbrk/u8-grapheme-len-tests: Delete file. * lib/unigbrk.in.h: Remove prototype for deleted function. * lib/unigbrk/u8-grapheme-len.c: Delete file. * tests/unigbrk/test-u8-grapheme-len.c: Delete file. Remove module 'u16-grapheme-len' as too redundant with 'u16-grapheme-next'. * modules/unigbrk/u16-grapheme-len: Delete file. * modules/unigbrk/u16-grapheme-len-tests: Delete file. * lib/unigbrk.in.h: Remove prototype for deleted function. * lib/unigbrk/u16-grapheme-len.c: Delete file. * tests/unigbrk/test-u16-grapheme-len.c: Delete file. Remove module 'u32-grapheme-len' as too redundant with 'u32-grapheme-next'. * modules/unigbrk/u32-grapheme-len: Delete file. * modules/unigbrk/u32-grapheme-len-tests: Delete file. * lib/unigbrk.in.h: Remove prototype for deleted function. * lib/unigbrk/u32-grapheme-len.c: Delete file. * tests/unigbrk/test-u32-grapheme-len.c: Delete file. Suggested by Bruno Haible.
* unigbrk: New modules for grapheme clusters.Ben Pfaff2011-01-0126-0/+528
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New module 'u8-grapheme-len'. * modules/unigbrk/u8-grapheme-len: New file. * modules/unigbrk/u8-grapheme-len-tests: New file. * lib/unigbrk.in.h: Add prototype for new function. * lib/unigbrk/u8-grapheme-len.c: New file. * tests/unigbrk/test-u8-grapheme-len.c: New file. New module 'u16-grapheme-len'. * modules/unigbrk/u16-grapheme-len: New file. * modules/unigbrk/u16-grapheme-len-tests: New file. * lib/unigbrk.in.h: Add prototype for new function. * lib/unigbrk/u16-grapheme-len.c: New file. * tests/unigbrk/test-u16-grapheme-len.c: New file. New module 'u32-grapheme-len'. * modules/unigbrk/u32-grapheme-len: New file. * modules/unigbrk/u32-grapheme-len-tests: New file. * lib/unigbrk.in.h: Add prototype for new function. * lib/unigbrk/u32-grapheme-len.c: New file. * tests/unigbrk/test-u32-grapheme-len.c: New file. New module 'u8-grapheme-next'. * modules/unigbrk/u8-grapheme-next: New file. * modules/unigbrk/u8-grapheme-next-tests: New file. * lib/unigbrk.in.h: Add prototype for new function. * lib/unigbrk/u8-grapheme-next.c: New file. * tests/unigbrk/test-u8-grapheme-next.c: New file. New module 'u16-grapheme-next'. * modules/unigbrk/u16-grapheme-next: New file. * modules/unigbrk/u16-grapheme-next-tests: New file. * lib/unigbrk.in.h: Add prototype for new function. * lib/unigbrk/u16-grapheme-next.c: New file. * tests/unigbrk/test-u16-grapheme-next.c: New file. New module 'u32-grapheme-next'. * modules/unigbrk/u32-grapheme-next: New file. * modules/unigbrk/u32-grapheme-next-tests: New file. * lib/unigbrk.in.h: Add prototype for new function. * lib/unigbrk/u32-grapheme-next.c: New file. * tests/unigbrk/test-u32-grapheme-next.c: New file. New module 'u8-grapheme-prev'. * modules/unigbrk/u8-grapheme-prev: New file. * modules/unigbrk/u8-grapheme-prev-tests: New file. * lib/unigbrk.in.h: Add prototype for new function. * lib/unigbrk/u8-grapheme-prev.c: New file. * tests/unigbrk/test-u8-grapheme-prev.c: New file. New module 'u16-grapheme-prev'. * modules/unigbrk/u16-grapheme-prev: New file. * modules/unigbrk/u16-grapheme-prev-tests: New file. * lib/unigbrk.in.h: Add prototype for new function. * lib/unigbrk/u16-grapheme-prev.c: New file. * tests/unigbrk/test-u16-grapheme-prev.c: New file. New module 'u32-grapheme-prev'. * modules/unigbrk/u32-grapheme-prev: New file. * modules/unigbrk/u32-grapheme-prev-tests: New file. * lib/unigbrk.in.h: Add prototype for new function. * lib/unigbrk/u32-grapheme-prev.c: New file. * tests/unigbrk/test-u32-grapheme-prev.c: New file. New module 'u8-grapheme-breaks'. * modules/unigbrk/u8-grapheme-breaks: New file. * modules/unigbrk/u8-grapheme-breaks-tests: New file. * lib/unigbrk.in.h: Add prototype for new function. * lib/unigbrk/u8-grapheme-breaks.c: New file. * tests/unigbrk/test-u8-grapheme-breaks.c: New file. New module 'u16-grapheme-breaks'. * modules/unigbrk/u16-grapheme-breaks: New file. * modules/unigbrk/u16-grapheme-breaks-tests: New file. * lib/unigbrk.in.h: Add prototype for new function. * lib/unigbrk/u16-grapheme-breaks.c: New file. * tests/unigbrk/test-u16-grapheme-breaks.c: New file. New module 'u32-grapheme-breaks'. * modules/unigbrk/u32-grapheme-breaks: New file. * modules/unigbrk/u32-grapheme-breaks-tests: New file. * lib/unigbrk.in.h: Add prototype for new function. * lib/unigbrk/u32-grapheme-breaks.c: New file. * tests/unigbrk/test-u32-grapheme-breaks.c: New file. New module 'ulc-grapheme-breaks'. * modules/unigbrk/ulc-grapheme-breaks: New file. * modules/unigbrk/ulc-grapheme-breaks-tests: New file. * m4/locale-ar.m4: New file. * lib/unigbrk/ulc-grapheme-breaks.c: New file. * tests/unigbrk/test-ulc-grapheme-breaks.c: New file. * tests/unigbrk/test-ulc-grapheme-breaks.sh: New file.
* unigbrk: Fix uc_graphemeclusterbreak_property(), add comprehensive test.Ben Pfaff2011-01-011-0/+14
| | | | | | | | | | | | | | | | | | gbrkprop: Fix implementation of uc_graphemeclusterbreak_property. * lib/unigbrk/gbrkprop.h: Regenerate with gen-uni-tables.c. I had modified how this file was generated before I initially submitted the module, but failed to regenerate it. This meant that several of the level2 entries were wrong. * lib/unigbrk/uc-gbrk-prop.h (uc_graphemeclusterbreak_property): Remove the division-by-2 that is folded into the table now that gbrkprop.h has been regenerated properly. Now -1 entries are handled correctly. New module 'unigbrk/uc-gbrk-prop-tests'. * modules/unigbrk/uc-gbrk-prop-tests: New file. * lib/gen-uni-tables.c: Generate tests/test-uc-gbrk-prop.h. * tests/unigbrk/test-uc-gbrk-prop.c: New file. * tests/unigbrk/test-uc-gbrk-prop.h: New file.
* New modules for grapheme cluster breaking.Ben Pfaff2010-12-274-0/+99
New module 'unigbrk/base'. * modules/unigbrk/base: New file. * lib/unigbrk.in.h: New file. New module 'unigbrk/uc-gbrk-prop'. * lib/gen-uni-tables.c: Generate lib/unigbrk/gbrkprop.h. * modules/unigbrk/uc-gbrk-prop: New file. * lib/unigbrk/gbrkprop.h: New file. * lib/unigbrk/uc-gbrk-prop.c: New file. New module 'unigbrk/uc-is-grapheme-break'. * modules/unigbrk/uc-is-grapheme-break: New file. * modules/unigbrk/uc-is-grapheme-break-tests: New file. * lib/unigbrk/uc-is-grapheme-break.c: New file. * tests/unigbrk/test-uc-is-grapheme-break.c: New file. * tests/unigbrk/test-uc-is-grapheme-break.sh: New file. * tests/unigbrk/GraphemeBreakTest.txt: New file. With corrections and tweaks by Bruno Haible <bruno@clisp.org>.