mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-06-15 23:35:50 +00:00
master
66 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
f1d55e9f84 |
Use countof, part 2.
Done through sed -e 's/SIZEOF \([(][^()]*[)]\)/countof \1/g' * lib/boot-time.c: Include <stdcountof.h>. * lib/readutmp.c: Include <stdcountof.h>. * lib/boot-time-aux.h (get_linux_boot_time_fallback, get_openbsd_boot_time, get_windows_boot_time): Use countof. * lib/duplocale.c: Include <stdcountof.h>. (SIZEOF): Remove macro. (duplocale): Use countof instead. * lib/fatal-signal.c: Include <stdcountof.h>. (SIZEOF): Remove macro. (num_fatal_signals, actions_allocated): Use countof instead. * lib/iconv_open.c: Include <stdcountof.h>. (SIZEOF): Remove macro. (rpl_iconv_open): Use countof instead. * lib/term-style-control.c: Include <stdcountof.h>. (SIZEOF): Remove macro. (num_job_control_signals): Use countof instead. * lib/uniconv/u16-conv-to-enc.c: Include <stdcountof.h>. (SIZEOF): Remove macro. * lib/uniconv/u32-conv-to-enc.c: Include <stdcountof.h>. (SIZEOF): Remove macro. * lib/uniconv/u-conv-to-enc.h (FUNC): Use countof instead. * lib/uniconv/u16-strconv-to-enc.c: Include <stdcountof.h>. (SIZEOF): Remove macro. * lib/uniconv/u32-strconv-to-enc.c: Include <stdcountof.h>. (SIZEOF): Remove macro. * lib/uniconv/u-strconv-to-enc.h (FUNC): Use countof instead. * lib/uniname/uniname.c: Include <stdcountof.h>. (SIZEOF): Remove macro. (unicode_name_word, unicode_name_word_lookup, unicode_code_to_index, unicode_index_to_code, unicode_character_name, unicode_name_character): Use countof instead. * lib/uniwidth/width.c: Include <stdcountof.h>. (SIZEOF): Remove macro. (uc_width): Use countof instead. * lib/wait-process.c: Include <stdcountof.h>. (SIZEOF): Remove macro. (slaves_allocated): Use countof instead. * lib/gen-uni-tables.c (countof): Renamed from SIZEOF. * modules/boot-time (Depends-on): Add stdcountof-h. * modules/readutmp (Depends-on): Likewise. * modules/duplocale (Depends-on): Likewise. * modules/fatal-signal (Depends-on): Likewise. * modules/iconv_open (Depends-on): Likewise. * modules/term-style-control (Depends-on): Likewise. * modules/uniconv/u16-conv-to-enc (Depends-on): Likewise. * modules/uniconv/u32-conv-to-enc (Depends-on): Likewise. * modules/uniconv/u16-strconv-to-enc (Depends-on): Likewise. * modules/uniconv/u32-strconv-to-enc (Depends-on): Likewise. * modules/uniname/uniname (Depends-on): Likewise. * modules/uniwidth/width (Depends-on): Likewise. * modules/wait-process (Depends-on): Likewise. * tests/macros.h (SIZEOF): Remove macro. * tests/**/*.[hc]: Use countof instead of SIZEOF. Include <stdcountof.h> as needed. * modules/**/*-tests (Depends-on): Add stdcountof-h if needed. |
||
|
|
ac19d2a1ff |
streq: Rename to streq-opt.
* lib/streq-opt.h: Renamed from lib/streq.h. * modules/streq-opt: Renamed from modules/streq. * NEWS: Mention the change. * lib/c32is-impl.h: Include streq-opt.h instead of streq.h. * lib/c32to-impl.h: Likewise. * lib/c32rtomb.c: Likewise. * lib/c32width.c: Likewise. * lib/lc-charset-dispatch.c: Likewise. * lib/lc-charset-unicode.c: Likewise. * lib/mbrtoc32.c: Likewise. * lib/uniwidth/cjk.h: Likewise. * lib/wcwidth.c: Likewise. * modules/c32is* (Depends-on): Add streq-opt. Remove streq. * modules/c32to* (Depends-on): Likewise. * modules/c32rtomb (Depends-on): Likewise. * modules/mbrtoc32 (Depends-on): Likewise. * modules/mbrtowc (Depends-on): Likewise. * modules/uchar-h-c23 (Depends-on): Likewise. * modules/unilbrk/u*-possible-linebreaks (Depends-on): Likewise. * modules/uniwidth/width (Depends-on): Likewise. * modules/wcwidth (Depends-on): Likewise. * MODULES.html.sh: Update. |
||
|
|
a8482ceecf | maint: run 'make update-copyright' | ||
|
|
6edf6dbacf |
lib: Reduce scope of local variables.
M = Move variable declaration to its initialization. R = Reduce scope. S = Split scope, create separate variables from one variable. B = Insert braces, creating a block scope. O = Change order of initializations. * lib/accept4.c (accept4): M. * lib/acl-internal.c (acl_ace_nontrivial): R. * lib/acosl.c (acosl): MS. * lib/af_alg.c (afalg_stream): B. * lib/alignalloc.h (alignalloc): R. * lib/alloca.c (find_stack_direction): M. (alloca): M. * lib/amemxfrm.c (amemxfrm): MR. * lib/arcfour.c (arcfour_stream): MB. (arcfour_setkey): MB. * lib/arctwo.c (arctwo_encrypt): M. (arctwo_decrypt): M. (arctwo_setkey_ekb): M. * lib/areadlink-with-size.c (areadlink_with_size): MR. * lib/areadlinkat-with-size.c (areadlinkat_with_size): MR. * lib/argmatch.c (argmatch): MO. (main): RBO. * lib/argp-fmtstream.c (__argp_make_fmtstream): M. (__argp_fmtstream_update): M. (__argp_fmtstream_ensure): R. (__argp_fmtstream_printf): R. * lib/argp-fmtstream.h (__argp_fmtstream_set_lmargin): M. (__argp_fmtstream_set_rmargin): M. (__argp_fmtstream_set_wmargin): M. * lib/argp-help.c (validate_uparams): M. (fill_in_uparams): MR. (make_hol): MRSO. (hol_entry_short_iterate): R. (hol_entry_long_iterate): R. (hol_entry_first_long): Rename 'num' to 'nopts'. (canon_doc_option): M. (hol_append): MR. (argp_hol): O. (hol_entry_help): RSBO. (hol_help): RB. (usage_argful_short_opt): R. (usage_long_opt): R. (hol_usage): SB. (argp_args_levels): R. (argp_args_usage): MRB. (argp_doc): RBO. (_help): MR. (__argp_error): R. * lib/argp-parse.c (group_parse): M. (parser_init): MRB. (parser_finalize): MS. (parser_parse_next): R. (__argp_parse): MR. (__argp_input): M. * lib/argz.c (argz_add_sep): M. (argz_create_sep): M. (argz_create): R. (argz_replace): RB. * lib/asinl.c (asinl): MRS. * lib/asnprintf.c (asnprintf): M. * lib/asnwprintf.c (asnwprintf): M. * lib/asprintf.c (asprintf): M. * lib/astrxfrm.c (astrxfrm): MR. * lib/aszprintf.c (aszprintf): M. * lib/at-func.c (AT_FUNC_NAME): MR. * lib/at-func2.c (at_func2): MRS. * lib/atanl.c (atanl): MRS. * lib/backupfile.c (numbered_backup): R. * lib/base32.c (decode_8): R. (base32_decode_ctx): R. * lib/base64.c (decode_4): R. (base64_decode_ctx): R. * lib/basename-lgpl.c (last_component): R. (base_len): RO. * lib/bitset.c (bitset_copy_): R. * lib/bitset/list.c (lbitset_prune): MR. (lbitset_weed): MR. (lbitset_list): SB. * lib/bitset/table.c (tbitset_list): SB. * lib/boot-time-aux.h (get_windows_boot_time_fallback): R. * lib/btoc32.c (btoc32): R. * lib/c-asprintf.c (c_asprintf): M. * lib/c-aszprintf.c (c_aszprintf): M. * lib/c-snprintf.c (c_snprintf): M. * lib/c-snzprintf.c (c_snzprintf): M. * lib/c-strcasecmp.c (c_strcasecmp): R. * lib/c-strcasestr.c (c_strcasestr): MRSB. * lib/c-strncasecmp.c (c_strncasecmp): R. * lib/c-strtod.c (C_STRTOD): R. * lib/c-vsnzprintf.c (c_vsnzprintf): M. * lib/c-xasprintf.c (c_xasprintf): M. * lib/c32tob.c (c32tob): R. * lib/canon-host.c (canon_host_r): MR. * lib/canonicalize.c (canonicalize_filename_mode_stk): R. * lib/canonicalize-lgpl.c (realpath_stk): R. * lib/cbrt.c (cbrt): M. * lib/cbrtf.c (cbrtf): M. * lib/cbrtl.c (cbrtl): MR. * lib/chdir-long.c (chdir_long): M. (main): MR. * lib/classpath.c (new_classpath): MB. * lib/clean-temp.c (create_temp_dir): M. (unregister_temp_file): M. (unregister_temp_subdir): M. (cleanup_temp_file): M. (cleanup_temp_subdir): M. (cleanup_temp_dir_contents): MSB. (open_temp): R. (fopen_temp): R. (close_temp): RB. (fclose_variant_temp): RB. * lib/clean-temp-simple.c (cleanup_action): MSB. (cleanup_temporary_file): M. * lib/copy-file.c (copy_file_internal): MRB. * lib/cosl.c (cosl): MR. * lib/crc-generate-table.c (make_crc_table): M. * lib/crc-x86_64-pclmul.c (crc32_update_no_xor_pclmul): MRSB. * lib/crc.c (crc32_update_no_xor_slice_by_8): S. (crc32_update_no_xor_slice_by_n): M. (crc32_update_no_xor): MR. * lib/csharpcomp.c (compile_csharp_using_mono): MRB. (compile_csharp_using_dotnet): MRSB. (compile_csharp_using_sscli): MRB. * lib/csharpexec.c (execute_csharp_using_mono): MO. (execute_csharp_using_dotnet): MO. (execute_csharp_using_sscli): MO. (execute_csharp_program): R. * lib/cygpath.c (execute_and_read_line): M. * lib/des.c (gl_des_is_weak_key): M. (gl_3des_ecb_crypt): MO. * lib/dfa.c (closure): B. (dfamust): MRB. * lib/di-set.c (map_device): M. (di_set_insert): M. (di_set_lookup): M. * lib/dirname-lgpl.c (dir_len): R. * lib/dprintf.c (dprintf): M. * lib/dup.c (dup_nothrow): R. * lib/dup2.c (ms_windows_dup2): M. (klibc_dup2dirfd): M. (klibc_dup2): MR. (rpl_dup2): M. * lib/dup3.c (dup3): M. * lib/duplocale.c (duplocale): MRSB. * lib/dzprintf.c (dzprintf): M. * lib/euidaccess.c (euidaccess): MR. (main): M. * lib/exclude.c (add_exclude): R. * lib/execl.c (execl): SB. * lib/execle.c (execle): SB. * lib/execlp.c (execlp): SB. * lib/execute.c (execute): R. * lib/fchdir.c (ensure_dirs_slot): M. (get_name): M. (_gl_register_fd): R. * lib/fclose.c (rpl_fclose): MR. * lib/fcntl.c (dupfd): RO. (fcntl): R. (klibc_dupdirfd): M. (klibc_fcntl): MRSB. * lib/fdopen.c (rpl_fdopen): M. * lib/file-has-acl.c (get_aclinfo): R. (fdfile_has_aclinfo): MR. * lib/file-remote.c (main): M. * lib/file-set.c (record_file): M. (seen_file): R. * lib/findprog.c (find_in_path): MR. * lib/findprog-in.c (find_in_given_path): MR. * lib/flock.c (do_lock): MR. (do_unlock): M. (flock): MR. * lib/fma.c (decode): M. * lib/fopen.c (rpl_fopen): MR. * lib/forkpty.c (forkpty): M. * lib/fprintf.c (fprintf): M. * lib/freadseek.c (freadseek): MR. * lib/freopen.c (rpl_freopen): M. * lib/freopen-safer.c (freopen_safer): M. * lib/frexp.c (FUNC): MR. * lib/fseterr.c (fseterr): M. * lib/fstatat.c (rpl_fstatat): M. * lib/fstrcmp.c (fstrcmp_free_resources): M. (fstrcmp_bounded): MR. * lib/fsusage.c (statvfs_works): R. * lib/fsync.c (fsync): M. * lib/ftello.c (ftello): M. * lib/ftruncate.c (SetFileSize): M. * lib/fts.c (fts_open): MR. (fts_load): M. (fts_close): MR. (filesystem_type): MRO. (fts_read): MB. (fts_children): M. (fts_build): MR. (fts_cross_check): RO. (fd_ring_print): RO. (fts_stat): RO. (fts_sort): R. (fts_alloc): M. (fts_lfree): R. (fts_palloc): M. (fts_padjust): MS. (fts_maxarglen): M. (fts_safe_changedir): MR. * lib/fts-cycle.c (enter_dir): MRO. (leave_dir): M. * lib/fzprintf.c (fzprintf): M. * lib/gc-gnulib.c (gc_cipher_open): MR. (gc_cipher_setkey): MSB. (gc_cipher_setiv): M. (gc_cipher_encrypt_inline): M. (gc_cipher_decrypt_inline): M. (gc_hash_open): MR. (gc_hash_clone): M. * lib/gc-libgcrypt.c (gc_init): Remove local variable 'err'. (gc_cipher_open): MR. (gc_cipher_setkey): M. (gc_cipher_setiv): M. (gc_hash_open): MR. (gc_hash_clone): M. (gc_md4): MR. (gc_md5): MR. (gc_sha1): MR. (gc_sha256): MR. (gc_sha512): MR. (gc_sm3): MR. (gc_hmac_md5): MR. Remove local variable 'err'. (gc_hmac_sha1): MR. Remove local variable 'err'. (gc_hmac_sha256): MR. Remove local variable 'err'. (gc_hmac_sha512): MR. Remove local variable 'err'. * lib/gc-pbkdf2.c (gc_pbkdf2_prf): MR. * lib/gen-uni-tables.c (fill_attributes): M. (debug_output_predicate): M. (output_predicate_test): M. (output_predicate): MR. (output_category): MR. (output_combclass): MR. (output_bidi_category): MR. (output_decimal_digit_test): M. (output_decimal_digit): MR. (output_digit_test): M. (output_digit): MR. (output_numeric_test): M. (output_numeric): MR. (fill_mirror): MR. (get_mirror_value): M. (output_mirror): MR. (fill_properties): MR. (fill_property30): MR. (output_indic_conjunct_break_test): M. (output_indic_conjunct_break): MR. (fill_arabicshaping): MR. (output_joining_type_test): M. (output_joining_type): MR. (output_joining_group_test): M. (output_joining_group): MR. (fill_scripts): MR. (output_scripts): MR. (output_scripts_byname): M. (fill_blocks): MR. (output_blocks): M. (output_ident_category): MR. (output_charclass): MR. (output_charmap): MR. (output_tables): M. (fill_width): MR. (output_nonspacing_property): MR. (output_width_property_test): M. (debug_output_lbrk_tables): M. (fill_org_lbp): MR. (debug_output_org_lbrk_tables): M. (output_lbpea): M. (output_lbrk_tables): R. (output_lbrk_rules_as_tables): M. (debug_output_wbrk_tables): M. (fill_org_wbp): MR. (debug_output_org_wbrk_tables): M. (output_wbp): M. (output_wbrk_tables): M. (output_gbp_test): MR. (output_gbp_table): MR. (fill_org_gbp): MR. (get_decomposition): MR. (output_decomposition): M. (output_decomposition_tables): R. (fill_composition_exclusions): MR. (debug_output_composition_tables): M. (output_composition_tables): MSB. (output_simple_mapping_test): M. (output_simple_mapping): MR. (fill_casing_rules): MR. (fill_casefolding_rules): MR. (output_casing_rules): M. (output_version): MR. * lib/get-rusage-as.c (get_rusage_as_via_setrlimit): R. (get_rusage_as): M. * lib/get-rusage-data.c (get_rusage_data_via_setrlimit): R. (get_rusage_data): M. * lib/get_ppid_of.c (get_ppid_of): M. * lib/get_progname_of.c (get_progname_of): MR. * lib/getaddrinfo.c (use_win32_p): M. (getaddrinfo): MR. (freeaddrinfo): M. * lib/getcwd.c (__getcwd_generic): MRSBO. * lib/getcwd-lgpl.c (rpl_getcwd): MS. * lib/getdelim.c (getdelim): MR. * lib/getdomainname.c (getdomainname): M. * lib/getentropy.c (getentropy): R. * lib/getgroups.c (rpl_getgroups): MR. * lib/gethostname.c (rpl_gethostname): M. * lib/getloadavg.c (getloadavg): MRB. * lib/getlocalename_l-unsafe.c (newlocale): MR. (duplocale): MR. (freelocale): M. * lib/getlogin_r.c (getlogin_r): M. * lib/getndelim2.c (getndelim2): MR. * lib/getopt.c (exchange): MS. (process_long_option): MRB. (_getopt_internal_r): MR. (_getopt_internal): M. (main): M. * lib/getopt1.c (main): M. * lib/getpass.c (getpass): MRB. * lib/getprogname.c (getprogname): M. * lib/getrusage.c (getrusage): M. * lib/getsockopt.c (rpl_getsockopt): M. * lib/getsubopt.c (getsubopt): M. * lib/gettext.h (dcpgettext_expr): M. (dcnpgettext_expr): M. * lib/gettimeofday.c (gettimeofday): R. * lib/getugroups.c (getugroups): MR. * lib/getumask.c (getumask): R. * lib/gl_anyavltree_list2.h (rebalance): MR. (gl_tree_remove_node_from_tree): MR. (gl_tree_nx_add_before): R. (gl_tree_nx_add_after): R. * lib/gl_anyhash2.h (hash_resize): M. * lib/gl_anylinked_list2.h (gl_linked_get_at): R. (gl_linked_nx_set_at): R. (gl_linked_search_from_to): R. (gl_linked_indexof_from_to): MR. (gl_linked_nx_add_at): M. (gl_linked_remove_node): M. (gl_linked_remove_at): MR. (gl_linked_iterator_from_to): M. (gl_linked_sortedlist_search_from_to): R. (gl_linked_sortedlist_indexof_from_to): R. * lib/gl_anyrbtree_list2.h (rebalance_after_add): MR. (gl_tree_remove_node_from_tree): M. * lib/gl_anytree_list2.h (gl_tree_iterator): MB. (gl_tree_sortedlist_indexof_from_to): R. * lib/gl_anytree_omap.h (gl_tree_nx_getput): M. (gl_tree_iterator): MB. * lib/gl_anytree_oset.h (gl_tree_nx_add): M. (gl_tree_update): M. (gl_tree_iterator): MB. * lib/gl_anytreehash_list1.h (add_to_bucket): M. * lib/gl_array_list.c (grow): M. (gl_array_nx_add_first): M. (gl_array_nx_add_before): M. (gl_array_nx_add_after): M. (gl_array_nx_add_at): M. (gl_array_remove_node): M. (gl_array_remove_at): M. * lib/gl_array_map.c (grow): M. (gl_array_nx_getput): M. (gl_array_remove_at): M. * lib/gl_array_omap.c (grow): M. (gl_array_nx_add_at): M. (gl_array_remove_at): M. * lib/gl_array_oset.c (grow): M. (gl_array_nx_add_at): M. (gl_array_remove_at): M. * lib/gl_array_set.c (grow): M. * lib/gl_avltree_ordered.h (rebalance): M. (gl_tree_add_node_before): R. (gl_tree_add_node_after): R. (gl_tree_remove_node_no_free): M. * lib/gl_carray_list.c (gl_carray_node_value): M. (gl_carray_node_nx_set_value): M. (gl_carray_get_at): M. (gl_carray_nx_set_at): M. (gl_carray_indexof_from_to): M. (grow): M. (gl_carray_nx_add_last): M. (gl_carray_nx_add_at): M. (gl_carray_remove_at): M. (gl_carray_iterator_from_to): R. (gl_carray_sortedlist_indexof_from_to): M. (gl_carray_sortedlist_nx_add): M. * lib/gl_rbtree_ordered.h (rebalance_after_add): M. (gl_tree_remove_node_no_free): M. * lib/gl_sublist.c (gl_sublist_sortedlist_search_from_to): M. (gl_sublist_sortedlist_indexof_from_to): M. * lib/glob.c (__glob): MR. * lib/globfree.c (globfree): M. * lib/glthread/lock.c (glthread_rwlock_init_for_glibc): M. (glthread_rwlock_init_multithreaded): M. (glthread_rwlock_rdlock_multithreaded): M. (glthread_rwlock_wrlock_multithreaded): M. (glthread_rwlock_destroy_multithreaded): M. (glthread_rwlock_init_multithreaded): M. (glthread_rwlock_rdlock_multithreaded): M. (glthread_rwlock_wrlock_multithreaded): M. (glthread_rwlock_unlock_multithreaded): M. (glthread_rwlock_destroy_multithreaded): M. (glthread_recursive_lock_init_multithreaded): M. (glthread_recursive_lock_lock_multithreaded): M. (glthread_recursive_lock_destroy_multithreaded): M. (glthread_recursive_lock_init_multithreaded): M. (glthread_recursive_lock_lock_multithreaded): M. * lib/glthread/thread.c (gl_thread_create): M. * lib/group-member.c (group_member): M. (main): M. * lib/hash.c (hash_get_next): MB. (check_tuning): M. (hash_initialize): M. (hash_clear): M. (hash_free): MS. (transfer_entries): M. (hash_rehash): MR. (hash_insert_if_absent): MR. (hash_remove): MR. (hash_print): M. * lib/hasmntopt.c (hasmntopt): M. * lib/hmac.c (hmac_hash): R. (GL_HMAC_FN): R. * lib/human.c (group_number): MRO. (human_readable): MR. (humblock): M. * lib/hypot.c (hypot): M. * lib/hypotl.c (hypotl): M. * lib/i-ring.c (i_ring_pop): M. * lib/iconv_open.c (rpl_iconv_open): R. * lib/idcache.c (getuidbyname): M. (getgidbyname): M. * lib/inet_ntop.c (inet_ntop4): M. (inet_ntop6): R. * lib/inet_pton.c (inet_pton4): MRBO. (inet_pton6): MRBO. * lib/ino-map.c (ino_map_insert): M. * lib/integer_length.c (integer_length): M. * lib/ioctl.c (rpl_ioctl): M. (ioctl): M. * lib/is_l-impl.h (FUNC): M. * lib/isatty.c (IsCygwinConsoleHandle): R. * lib/isnan.c (FUNC): MR. * lib/javacomp.c (compile_using_envjavac): MRB. (compile_using_javac): MB. (execute_and_read_line): M. (write_temp_file): M. (get_classfile_version): MR. (is_envjavac_usable): MR. (is_javac_present): M. (is_javac_usable): MR. (compile_java_class): MR. * lib/javaexec.c (execute_java_class): MRBO. * lib/javaversion.c (execute_and_read_line): M. (javaexec_version): R. * lib/kwset.c (treefails): M. (kwsprep): MRSB. (bmexec_trans): MRSO. (acexec_trans): MRS. * lib/lchown.c (rpl_lchown): R. * lib/linebuffer.c (readlinebuffer_delim): RO. * lib/link.c (link): MRBO. (rpl_link): M. * lib/linkat.c (link_immediate): R. (link_follow): M. (linkat_follow): M. * lib/localcharset.c (locale_charset): MR. * lib/localeinfo.c (is_using_utf8): R. Rename 'mbs' to 'state'. (init_localeinfo): Rename 's' to 'state'. * lib/localename.c (gl_locale_name): MSB. * lib/localename-environ.c (gl_locale_name_environ): MSB. * lib/localename-unsafe.c (gl_locale_name_canonicalize): MSB. (gl_locale_name_from_win32_LANGID): M. (gl_locale_name_from_win32_LCID): M. (enum_locales_fn): R. (gl_locale_name_unsafe): MSB. * lib/log2.c (log2): M. * lib/log2f.c (log2f): M. * lib/log2l.c (log2l): M. * lib/login_tty.c (login_tty): M. * lib/logl.c (logl): MR. * lib/long-options.c (parse_long_options): MR. (parse_gnu_standard_options_only): M. * lib/mbfile.h (mbfile_multi_getc): MR. * lib/mbmemcasecoll.c (apply_c32tolower): M. (mbmemcasecoll): MR. * lib/mbrtoc32.c (mbrtoc32): R. * lib/mbrtowc.c (rpl_mbrtowc): MRS. * lib/mbrtowc-impl.h: MRB. * lib/mbscasestr.c (knuth_morris_pratt_multibyte): MR. (mbscasestr): R. * lib/mbscspn.c (mbscspn): MR. * lib/mbsnrtowcs-impl.h (FUNC): M. * lib/mbspbrk.c (mbspbrk): MR. * lib/mbsrtowcs-impl.h (FUNC): M. * lib/mbsspn.c (mbsspn): MR. * lib/mbsstr.c (knuth_morris_pratt_multibyte): MR. (mbsstr): MR. * lib/mbswidth.c (mbsnwidth): M. * lib/mbtowc-impl.h (mbtowc): MR. * lib/mbtowc-lock.h (mbtowc_with_lock): M. * lib/mcel.h: MR in comments. * lib/md2.c (md2_finish_ctx): M. (md2_process_bytes): M. (md2_update_chksum): M. (md2_compress): M. * lib/md2-stream.c (md2_stream): MR. * lib/md4.c (md4_finish_ctx): M. (md4_process_block): MR. * lib/md4-stream.c (md4_stream): MR. * lib/md5-stream.c (md5_stream): MR. * lib/mem-hash-map.c (compute_hashval): M. (lookup): M. * lib/memchr.c (__memchr): MRB. * lib/memchr2.c (memchr2): MRB. * lib/memrchr.c (__memrchr): MRB. * lib/mgetgroups.c (mgetgroups): MRS. * lib/mkancesdirs.c (mkancesdirs): M. * lib/mkdir.c (rpl_mkdir): MR. * lib/mkdir-p.c (make_dir_parents): R. * lib/modechange.c (mode_compile): R. * lib/mountlist.c (fstype_to_string): M. (dev_from_mount_options): MR. (read_file_system_list): MR. * lib/mpsort.c (mpsort_into_tmp): M. (mpsort_with_tmp): M. * lib/msvc-inval.h (TRY_MSVC_INVAL): M. * lib/mtx.c (mtx_init): MSB. * lib/nanosleep.c (nanosleep): M. * lib/nl_langinfo.c (ctype_codeset): MR. (nl_langinfo_with_lock): M. * lib/nonblocking.c (get_nonblocking_flag): M. (set_nonblocking_flag): M. * lib/nproc.c (num_processors_via_affinity_mask): M. (cgroup2_mount): MR. (get_cgroup2_cpu_quota): M. (parse_omp_threads): Remove variable 'ret'. (num_processors): M. * lib/obstack.c (_obstack_newchunk): M. (_obstack_allocated_p): M. (__obstack_free): M. * lib/obstack_printf.c (OBSTACK_PRINTF): M. (OBSTACK_VPRINTF): M. * lib/omp-init.c (parse_omp_threads): Remove variable 'ret'. * lib/openat-proc.c (openat_proc_name): R. * lib/openat2.c (do_openat2): R. (openat2): MSB. * lib/opendir.c (opendir): MR. * lib/openpty.c (openpty): M. * lib/os2-spawn.c (prepare_spawn): M. (spawnpvech): R. * lib/pagealign_alloc.c (pagealign_alloc): MR. (pagealign_xalloc): M. (pagealign_free): M. * lib/parse-duration.c (parse_scaled_value): M. (parse_year_month_day): M. (parse_yearmonthday): MR. (parse_YMWD): SB. (parse_hour_minute_second): M. (parse_hourminutesecond): MR. (parse_HMS): SB. (parse_time): M. (parse_period): MR. (parse_non_iso8601): M. * lib/passfd.c (sendfd): MRO. (recvfd): MRO. * lib/perror.c (perror): M. * lib/physmem.c (physmem_total): M. (physmem_claimable): M. * lib/pipe-filter-gi.c (filter_loop): MRB. (pipe_filter_gi_create): M. (pipe_filter_gi_close): M. * lib/pipe-filter-ii.c (_beginthreadex): M. (WaitForMultipleObjects): MR. (pipe_filter_ii_execute): MRB. * lib/poll.c (IsSocketHandle): R. (windows_compute_revents): MRB. (windows_compute_revents_socket): M. (poll): MRB. Remove variable 'bRet'. * lib/popen.c (rpl_popen): MB. * lib/posix_openpt.c (posix_openpt): M. * lib/posixtm.c (posix_time_parse): R. (posixtime): R. * lib/pread.c (pread): M. * lib/printf.c (printf): M. * lib/printf-frexp.c (FUNC): R. * lib/printf-parse.c (PRINTF_PARSE): MR. * lib/progreloc.c (maybe_executable): R. (find_executable): MRSB. (prepare_relocate): M. * lib/propername.c (mbsstr_trimmed_wordbounded): RSB. (proper_name_utf8): M. * lib/pselect.c (pselect): MR. * lib/pt_chown.c (do_pt_chown): MR. * lib/pthread-cond.c (pthread_cond_timedwait): R. * lib/pthread-rwlock.c (pthread_rwlockattr_init): MSB. (pthread_rwlock_init): MSB. (pthread_rwlock_rdlock): MSB. (pthread_rwlock_wrlock): MSB. (pthread_rwlock_tryrdlock): MB. (pthread_rwlock_trywrlock): MB. (pthread_rwlock_timedrdlock): MSB. (pthread_rwlock_timedwrlock): MSB. (pthread_rwlock_unlock): MSB. (pthread_rwlock_destroy): MSB. (pthread_rwlock_init): MSB. (pthread_rwlock_timedrdlock): MRB. (pthread_rwlock_timedwrlock): MRB. * lib/pthread_mutex_timedlock.c (pthread_mutex_timedlock): MRB. * lib/pthread_sigmask.c (pthread_sigmask): MR. * lib/ptsname_r.c (ptsname_r): MR. * lib/putenv.c (putenv): M. * lib/pwrite.c (pwrite): M. * lib/qcopy-acl.c (qcopy_acl): Remove a use of variable 'ret'. * lib/qset-acl.c (qset_acl): M. * lib/qsort.c (_quicksort): MR. * lib/quotearg.c (set_quoting_flags): M. (quotearg_buffer_restyled): MRSB. * lib/random.c (__initstate): M. (__setstate): M. (__random): R. * lib/random_r.c (__srandom_r): M. (__setstate_r): MO. (__random_r): M. * lib/rawmemchr.c (rawmemchr): RB. * lib/read-file.c (fread_file): M. (read_file): M. * lib/readdir.c (readdir): MR. * lib/readline.c (readline): R. * lib/readtokens.c (readtoken): R. (readtokens): M. * lib/regex-quote.c (regex_quote_spec_gnu): MB. (regex_quote_spec_pcre): MB. (regex_quote_length): MR. (regex_quote): MB. * lib/relocatable.c (set_this_relocation_prefix): M. (compute_curr_prefix): MR. (find_shared_library_fullname): MRS. (relocate): M. * lib/relocwrapper.c (activate_libdirs): MB. (main): M. * lib/rename.c (rpl_rename): MRBO. * lib/renameatu.c (renameatu): MRB. * lib/rijndael-alg-fst.c (rijndaelKeySetupEnc): MSB. (rijndaelKeySetupDec): MRSB. (rijndaelEncrypt): MSB. (rijndaelDecrypt): MSB. * lib/rijndael-api-fst.c (rijndaelMakeKey): MRSB. (rijndaelCipherInit): MSB. (rijndaelBlockEncrypt): MRSB. (rijndaelPadEncrypt): MRSB. (rijndaelBlockDecrypt): MRSB. (rijndaelPadDecrypt): MRSB. * lib/rmdir.c (rpl_rmdir): M. * lib/rpmatch.c (localized_pattern): MS. (try): M. (rpmatch): MSB. * lib/same.c (same_nameat): R. Remove variable 'flags'. * lib/savedir.c (streamsavedir): MRB. * lib/scandir.c (SCANDIR): MR. * lib/select.c (IsSocketHandle): R. (windows_poll_handle): MRSB. Remove variable 'bRet'. (rpl_select): MR. Remove variable 'bRet'. * lib/set-permissions.c (set_acls_from_mode): R. (context_acl_from_mode): R. (context_aclv_from_mode): M. (set_acls_from_mode): MR. (context_acl_from_mode): M. (set_acls): R. (set_permissions): MS. * lib/setenv.c (__add_to_environ): M. (rpl_setenv): M. * lib/sethostname.c (sethostname): MR. * lib/setlocale.c (setlocale_unixlike): MR. (langcmp): R. (setlocale_improved): MR. * lib/setlocale_null.c (setlocale_null_r_with_lock): M. (setlocale_null): M. * lib/setsockopt.c (rpl_setsockopt): R. * lib/sh-quote.c (shell_quote_argv): MB. * lib/sha1.c (sha1_process_block): R. * lib/sha1-stream.c (sha1_stream): M. * lib/sha256.c (sha256_process_block): MR. * lib/sha256-stream.c (shaxxx_stream): M. * lib/sha3.c (sha3_read_ctx): R. (sha3_process_block): R. * lib/sha3-stream.c (sha3_xxx_stream): M. * lib/sha512-stream.c (shaxxx_stream): M. * lib/sig2str.c (str2signum): RS. (sig2str): MR. * lib/sigaction.c (sigaction_handler): MR. (sigaction): MRB. * lib/sigprocmask.c (sigprocmask): M. * lib/sigsegv.c (sigsegv_handler): MR. * lib/sincosl.c (kernel_sinl): MRS. (kernel_cosl): MRS. * lib/sinl.c (sinl): MR. * lib/sleep.c (rpl_sleep): M. * lib/sm3.c (sm3_process_block): MR. * lib/sm3-stream.c (sm3_stream): MR. * lib/snprintf.c (snprintf): M. * lib/snzprintf.c (snzprintf): M. * lib/socket.c (rpl_socket): M. * lib/sockets.c (close_fd_maybe_socket): MR. (ioctl_fd_maybe_socket): MR. (gl_sockets_startup): M. (gl_sockets_cleanup): M. * lib/spawn-pipe.c (create_pipe): MR. * lib/spawni.c (__spawni): Split variable declaration. * lib/sprintf.c (sprintf): M. * lib/sqrtl.c (sqrtl): MR. * lib/ssfmalloc.h (allocate_block_from_pool): MSB. * lib/stackvma.c (rof_open): M. (vma_iterate_proc): RSB. (vma_iterate_bsd): MB. (mapped_range_start): M. (mapped_range_end): M. (is_unmapped): MR. (mapped_range_start): M. (mapped_range_end): M. (vma_iterate): MR. * lib/stat-w32.c (_gl_convert_FILETIME_to_timespec): R. * lib/stdio-consolesafe.c (gl_consolesafe_fprintf): R. (gl_consolesafe_printf): R. * lib/stdio-read.c (CALL_WITH_ERRNO_FIX): M. (scanf): M. (fscanf): M. * lib/stdio-write.c (CALL_WITH_SIGPIPE_EMULATION): M. (printf): M. (fprintf): M. * lib/stpncpy.c (__stpncpy): MSB. * lib/str-kmp.h (knuth_morris_pratt): M. * lib/str-two-way.h (critical_factorization): MSB. (two_way_short_needle): MS. (two_way_long_needle): MRS. * lib/strcasecmp.c (strcasecmp): R. * lib/strcasecmp_l.c (strcasecmp_l): MR. * lib/strcasestr.c (strcasestr): MRSB. * lib/strchrnul.c (strchrnul): MRB. * lib/strerror.c (strerror): M. * lib/strerror_l.c (strerror_l_r): R. * lib/strerror_r.c (local_snprintf): M. (strerror_r): M. * lib/strfmon_l.c (rpl_strfmon_l): MR. * lib/strftime.c (__strftime_internal): MR. * lib/striconv.c (mem_cd_iconv): MR. (str_cd_iconv): MR. (str_iconv): M. * lib/striconveh.c (iconveh_open): MR. (utf8conv_carefully): M. (mem_cd_iconveh_internal): MR. (mem_iconveh): M. (str_iconveh): M. * lib/striconveha.c (uniconv_register_autodetect): MRSB. (mem_iconveha_notranslit): MS. (mem_iconveha): M. (str_iconveha_notranslit): MS. (str_iconveha): M. * lib/string-buffer-printf.c (sb_appendvf): R. (sb_appendf): R. * lib/string-buffer-reversed-printf.c (sbr_prependvf): R. (sbr_prependf): R. * lib/string-desc.c (sd_new): R. * lib/stripslash.c (strip_trailing_slashes): M. * lib/strncasecmp.c (strncasecmp): R. * lib/strncasecmp_l.c (strncasecmp_l): MR. * lib/strptime.c (__strptime_internal): RSB. * lib/strsep.c (strsep): R. * lib/strsignal.c (strsignal): R. * lib/strstr.c (strstr): MRSB. * lib/strtod.c (parse_number): MR. (STRTOD): MR. * lib/strtok_r.c (__strtok_r): M. * lib/strtol.c (strtol): MR. * lib/struniq.h (struniq): M. * lib/supersede.c (open_supersede): R. * lib/system-quote.c (system_quote_argv): MB. * lib/szprintf.c (szprintf): M. * lib/tanl.c (kernel_tanl): MRS. (tanl): MR. * lib/tempname.c (try_tempname_len): M. * lib/term-style-control.c (sprintf_integer): MR. * lib/textstyle.in.h (ostream_printf): MR. * lib/time.c (time): M. * lib/times.c (filetime2clock): M. * lib/timespec-add.c (timespec_add): R. * lib/timespec-sub.c (timespec_sub): R. * lib/tmpdir.c (path_search): MR. * lib/tmpfile.c (tmpfile): M. * lib/to_l-impl.h (FUNC): M. * lib/tparm.c (tparm): MRB. * lib/trigl.c (ieee754_rem_pio2l): MRS. (kernel_rem_pio2): MRS. * lib/trim.c (trim2): MR. * lib/tsearch.c (check_tree): R. (maybe_split_for_insert): M. (__tsearch): MR. (__tfind): M. (__tdelete): MRB. * lib/ttyname_r.c (ttyname_r): M. * lib/uname.c (uname): MR. * lib/unicase/locale-language.c (uc_locale_language): M. * lib/unicase/u-casecmp.h (FUNC): MR. * lib/unicase/u-casecoll.h (FUNC): MR. * lib/unicase/u-casemap.h (FUNC): MR. * lib/unicase/u-casexfrm.h (FUNC): MR. * lib/unicase/u-ct-casefold.h (FUNC): MR. * lib/unicase/u-ct-totitle.h (FUNC): MR. * lib/unicase/u-is-cased.h (FUNC): MR. * lib/unicase/u-is-invariant.h (FUNC): MR. * lib/unicase/u8-casefold.c (read_file): M. * lib/unicase/u8-tolower.c (read_file): M. * lib/unicase/u8-totitle.c (read_file): M. * lib/unicase/u8-toupper.c (read_file): M. * lib/unicase/ulc-casecmp.c (ulc_u8_casefold): MR. * lib/unicase/ulc-casexfrm.c (ulc_casexfrm): MR. * lib/unicodeio.c (unicode_to_mb): MR. * lib/uniconv/u-conv-from-enc.h (FUNC): M. * lib/uniconv/u-conv-to-enc.h (FUNC): MR. * lib/uniconv/u-strconv-from-enc.h (FUNC): M. * lib/uniconv/u-strconv-to-enc.h (FUNC): M. * lib/uniconv/u16-conv-to-enc.c (FUNC): MR. * lib/uniconv/u8-conv-from-enc.c (u8_conv_from_encoding): R. * lib/uniconv/u8-conv-to-enc.c (u8_conv_to_encoding): R. * lib/uniconv/u8-strconv-to-enc.c (u8_strconv_to_encoding): MS. * lib/unictype/3level.h (CONCAT(TABLE,_add)): M. (CONCAT(TABLE,_finalize)): MRB. * lib/unictype/3levelbit.h (CONCAT(TABLE,_add)): M. (CONCAT(TABLE,_finalize)): MRB. * lib/unictype/bidi_byname.c (uc_bidi_class_byname): M. * lib/unictype/categ_and.c (uc_general_category_and): MR. * lib/unictype/categ_and_not.c (uc_general_category_and_not): MR. * lib/unictype/categ_byname.c (uc_general_category_byname): M. * lib/unictype/categ_of.c (uc_general_category): R. * lib/unictype/categ_or.c (uc_general_category_or): MR. * lib/unictype/combiningclass_byname.c (uc_combining_class_byname): M. * lib/unictype/incb_byname.c (uc_indic_conjunct_break_byname): M. * lib/unictype/joininggroup_byname.c (uc_joining_group_byname): M. * lib/unictype/joiningtype_byname.c (uc_joining_type_byname): M. * lib/unictype/pr_byname.c (uc_property_byname): MRB. * lib/unictype/scripts.c (uc_script_byname): M. * lib/unigbrk/u-grapheme-prev.h (ends_with_incb_consonant_extended_linker_extended): M. (ends_with_emoji_modifier_sequence): M. (ends_with_ri_count): M. (FUNC): M. * lib/unigbrk/uc-is-grapheme-break.c (uc_is_grapheme_break): M. * lib/unigbrk/ulc-grapheme-breaks.c (ulc_grapheme_breaks): M. * lib/unilbrk/u16-width-linebreaks.c (u16_width_linebreaks_internal): M. * lib/unilbrk/u32-width-linebreaks.c (u32_width_linebreaks_internal): M. * lib/unilbrk/u8-possible-linebreaks.c (read_file): M. * lib/unilbrk/u8-width-linebreaks.c (u8_width_linebreaks_internal): M. (read_file): M. * lib/unilbrk/ulc-possible-linebreaks.c (ulc_possible_linebreaks_internal): M. (read_file): M. * lib/unilbrk/ulc-width-linebreaks.c (ulc_width_linebreaks_internal): M. (read_file): M. * lib/uniname/uniname.c (unicode_name_word): MR. (unicode_character_name): M. (unicode_name_character): MR. * lib/uninorm/canonical-decomposition.c (uc_canonical_decomposition): M. * lib/uninorm/composition.c (uc_composition): M. * lib/uninorm/decomposition.c (uc_decomposition): M. * lib/uninorm/u-normalize-internal.h (FUNC): MR. * lib/uninorm/u-normcmp.h (FUNC): MR. * lib/uninorm/u-normcoll.h (FUNC): MR. * lib/uninorm/u-normxfrm.h (FUNC): MR. * lib/uninorm/uninorm-filter.c (uninorm_filter_write): M. * lib/unistdio/u-asnprintf.h (ASNPRINTF): M. * lib/unistdio/u-asprintf.h (ASPRINTF): M. * lib/unistdio/u-snprintf.h (SNPRINTF): M. * lib/unistdio/u-sprintf.h (SPRINTF): M. * lib/unistdio/u-vsnprintf.h (VSNPRINTF): M. * lib/unistdio/u-vsprintf.h (VSPRINTF): M. * lib/unistdio/ulc-fprintf.c (ulc_fprintf): M. * lib/unistdio/ulc-vfprintf.c (ulc_vfprintf): M. * lib/unistr/u16-chr.c (u16_chr): R. * lib/unistr/u16-mbsnlen.c (u16_mbsnlen): M. * lib/unistr/u16-next.c (u16_next): M. * lib/unistr/u16-strchr.c (u16_strchr): R. * lib/unistr/u16-strrchr.c (u16_strrchr): R. * lib/unistr/u16-to-u32.c (FUNC): MR. * lib/unistr/u16-to-u8.c (FUNC): MR. * lib/unistr/u32-next.c (u32_next): M. * lib/unistr/u32-to-u16.c (FUNC): MR. * lib/unistr/u32-to-u8.c (FUNC): MR. * lib/unistr/u8-chr.c (u8_chr): M. * lib/unistr/u8-mbsnlen.c (u8_mbsnlen): M. * lib/unistr/u8-next.c (u8_next): M. * lib/unistr/u8-strchr.c (u8_strchr): R. * lib/unistr/u8-strrchr.c (u8_strrchr): R. * lib/unistr/u8-to-u16.c (FUNC): MR. * lib/unistr/u8-to-u32.c (FUNC): MR. * lib/uniwbrk/u8-wordbreaks.c (read_file): M. * lib/uniwbrk/ulc-wordbreaks.c (ulc_wordbreaks): M. (read_file): M. * lib/uniwidth/u16-width.c (u16_width): M. * lib/uniwidth/u32-width.c (u32_width): M. * lib/uniwidth/u8-width.c (u8_width): M. * lib/unlinkat.c (rpl_unlinkat): MR. * lib/unsetenv.c (unsetenv): M. (rpl_unsetenv): R. * lib/userspec.c (parse_with_separator): MRS. (main): MR. * lib/utime.c (_gl_utimens_windows): M. * lib/utimecmp.c (utimecmpat): R. * lib/utimens.c (validate_timespec): R. (fdutimens): MR. (lutimens): MR. * lib/utimensat.c (rpl_utimensat): M. * lib/vasnprintf.c (divide): M. (decode_long_double): MR. (decode_double): MR. (scale10_round_decimal_decoded): MR. (floorlog10l): MR. (floorlog10): MR. (VASNPRINTF): MR. * lib/vc-mtime.c (is_git_present): MR. (git_vc_controlled): MR. (git_unmodified): M. (git_mtime): MR. (abs_git_checkout): MR. (max_vc_mtime): MR. * lib/vdzprintf.c (vdzprintf): M. * lib/vfzprintf.c (vfzprintf): M. * lib/vma-iter.c (rof_open): M. (vma_iterate_proc): MRSB. (vma_iterate_bsd): MB. (vma_iterate): MR. * lib/vsnzprintf.c (vsnzprintf): M. * lib/vszprintf.c (vszprintf): M. * lib/wait-process.c (klibc_waitpid): M. (wait_subprocess): MR. * lib/wcs-two-way.h (critical_factorization): MSB. (two_way_short_needle): MS. * lib/wcsstr-impl.h (FUNC): MRSB. * lib/wcswidth-impl.h (FUNC): B. * lib/wcsxfrm-impl.h (wcsxfrm): MR. * lib/wctomb-impl.h (wctomb): M. * lib/wgetcwd-lgpl.c (wgetcwd): MRS. * lib/windows-cond.c (glwthread_waitqueue_add): M. (glwthread_waitqueue_notify_first): M. (glwthread_waitqueue_notify_all): M. (glwthread_cond_wait): M. (glwthread_cond_timedwait): MRS. * lib/windows-cygpath.c (execute_and_read_line): MR. * lib/windows-rwlock.c (glwthread_waitqueue_add): M. (glwthread_rwlock_rdlock): M. (glwthread_rwlock_wrlock): M. * lib/windows-spawn.c (quoted_arg_length): M. (quoted_arg_string): M. (prepare_spawn): MR. (compose_command): MRB. (compose_envblock): RSB. * lib/windows-thread.c (glwthread_thread_self): M. (glwthread_thread_create): M. * lib/windows-timedmutex.c (glwthread_timedmutex_timedlock): MR. * lib/windows-timedrecmutex.c (glwthread_timedrecmutex_timedlock): MR. * lib/windows-timedrwlock.c (glwthread_waitqueue_add): M. (glwthread_waitqueue_notify_first): M. (glwthread_waitqueue_notify_all): M. (glwthread_timedrwlock_rdlock): M. (glwthread_timedrwlock_wrlock): M. (glwthread_timedrwlock_timedrdlock): MR. (glwthread_timedrwlock_timedwrlock): MR. * lib/xasprintf.c (xasprintf): M. * lib/xconcat-filename.c (xconcatenated_filename): M. * lib/xmalloc.c (xpalloc): R. * lib/xmalloca.c (xmmalloca): M. * lib/xprintf.c (xprintf): M. (xfprintf): M. * lib/xstring-buffer-printf.c (sb_xappendf): M. * lib/xstring-buffer-reversed-printf.c (sbr_xprependf): M. * lib/xstrtod.c (XSTRTOD): MR. * lib/xstrtol.c (__xstrtol): R. * lib/xstrtol-error.c (xstrtol_error): R. * lib/xvasprintf.c (xstrcat): MB. (xvasprintf): R. * lib/zprintf.c (zprintf): M. |
||
|
|
c63a0c677c |
Update to Unicode 17.0.0.
* lib/gen-uni-tables.c (is_property_alphabetic): Add three YANGQIN SIGNs. (UC_JOINING_GROUP_THIN_NOON): New enum item. (fill_arabicshaping, joining_group_as_c_identifier): Handle UC_JOINING_GROUP_THIN_NOON. (LBP_*): Split LBP_SA into LBP_SA1 and LBP_SA2. (LBP_HH, LBP_SA): New enum items. (get_lbp): Use them. Update such that unilbrk/lbrkprop.txt comes out as expected. (debug_output_lbp): Handle LBP_HH. Print either LBP_SA1, LBP_SA2 as LBP_SA. (fill_org_lbp, debug_output_org_lbp): Handle LBP_HH. (lbp_value_to_string): Handle LBP_HH. Handle LBP_SA1, LBP_SA2 instead of LBP_SA. (output_lbrk_rules_as_tables): Update for LBP_HH change. Update rules LBP12a, LB21 as specified by https://www.unicode.org/reports/tr14/tr14-55.html. (get_wbp): Update such that uniwbrk/wbrkprop.txt comes out as expected. * lib/unictype.in.h (UC_JOINING_GROUP_THIN_NOON): New enum item. * lib/unictype/joininggroup_byname.gperf: Handle it. * lib/unictype/joininggroup_name.h: Likewise. * lib/unilbrk/lbrktables.h (LBP_*): Split LBP_SA into LBP_SA1 and LBP_SA2. (LBP_HH): New enum item. (unilbrk_table): Update bounds. * lib/unilbrk/u8-possible-linebreaks.c (u8_possible_linebreaks_loop): Use LBP_HL_HY instead of LBP_HL_BA. Use LBP_SA1 instead of LBP_SA. Treat LBP_SA2 like LBP_CM. Update rules LB20a and LB21a, as specified by https://www.unicode.org/reports/tr14/tr14-55.html. * lib/unilbrk/u16-possible-linebreaks.c (u16_possible_linebreaks_loop): Likewise. * lib/unilbrk/u32-possible-linebreaks.c (u32_possible_linebreaks_loop): Likewise. * tests/unigbrk/test-u8-grapheme-breaks.c (main): Use U+2B50 instead of U+2605, because U+2605 no longer is an Extended_Pictographic character. * tests/unigbrk/test-u16-grapheme-breaks.c (main): Likewise. * tests/unigbrk/test-u32-grapheme-breaks.c (main): Likewise. * tests/unigbrk/test-u8-grapheme-next.c (main): Likewise. * tests/unigbrk/test-u16-grapheme-next.c (main): Likewise. * tests/unigbrk/test-u32-grapheme-next.c (main): Likewise. * tests/unigbrk/test-u8-grapheme-prev.c (main): Likewise. * tests/unigbrk/test-u16-grapheme-prev.c (main): Likewise. * tests/unigbrk/test-u32-grapheme-prev.c (main): Likewise. * tests/uniwidth/test-uc_width2.sh: Update expected test result. * 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/unilbrk/LineBreakTest.txt: Update. * All the affected modules: Bump required libunistring version. |
||
|
|
9870493709 | Shorten glibc bug URLs | ||
|
|
7b08932179 | maint: run 'make update-copyright' | ||
|
|
02a0e123b2 |
Update to Unicode 16.0.0.
* lib/gen-uni-tables.c (PROP_MODIFIER_COMBINING_MARK): New enum item. (fill_properties): Recognize property Modifier_Combining_Mark. (UC_JOINING_GROUP_KASHMIRI_YEH): New enum item. (fill_arabicshaping, joining_group_as_c_identifier): Handle UC_JOINING_GROUP_KASHMIRI_YEH. (LBP_*): Split LBP_AL into LBP_AL1 and LBP_AL2. (LBP_AL): New enum item. (get_lbea): New function. (get_lbp): Use it. Update such that unilbrk/lbrkprop.txt comes out as expected. Map U+25CC to LBP_AL2. (PROP_EA, PROP, EA): New macros. (debug_output_lbp): Print either LBP_AL1, LBP_AL2 as LBP_AL. (lbp_value_to_string): Handle LBP_AL1, LBP_AL2 instead of LBP_AL. (struct lbpea_table): Renamed from struct lbp_table. (output_lbpea): Renamed from output_lbp. Store both the line break property and the line break EastAsian bit in the same table entry. (output_lbrk_tables): Update. (output_lbrk_rules_as_tables): Update for LBP_AL change. Implement rules LB28a, LB25, LB19, LB15d, LB13 as specified by https://www.unicode.org/reports/tr14/tr14-53.html. (get_wbp): Update such that uniwbrk/wbrkprop.txt comes out as expected. * lib/unictype.in.h (UC_JOINING_GROUP_KASHMIRI_YEH): New enum item. * lib/unictype/joininggroup_byname.gperf: Handle it. * lib/unictype/joininggroup_name.h: Likewise. * lib/unilbrk/lbrktables.h: Split LBP_AL into LBP_AL1 and LBP_AL2. (LBP_AKLS_VI): New enum item, for rule LB28a. (PROP, EA, PROP_EA): New macros. (unilbrk_table): Update bounds. * lib/unilbrk/u8-possible-linebreaks.c (u8_possible_linebreaks_loop): Use LBP_AL1 instead of LBP_AL. Use 2 characters of lookahead, for rules LB15c, LB19a, LB25, LB28a. New variables prev_ea, prev2_ea, for rule LB19a. New variable prev_initial_hyphen, for rule LB20a. New variable prev_nus, for rule LB25. Implement rules LB15c, LB19a, LB20a, LB21a, LB25, LB28a, as specified by https://www.unicode.org/reports/tr14/tr14-53.html. * lib/unilbrk/u16-possible-linebreaks.c (u16_possible_linebreaks_loop): Likewise. * lib/unilbrk/u32-possible-linebreaks.c (u32_possible_linebreaks_loop): Likewise. * modules/unilbrk/base (Depends-on): Add stdbool. * tests/uninorm/test-u32-normalize-big.h (struct normalization_test_file): Now 6 parts. * tests/uninorm/test-u32-normalize-big.c (read_normalization_test_file): Fill in 6 parts. (test_specific, free_normalization_test_file): Now handle 6 parts. * tests/uniwidth/test-uc_width2.sh: Update expected test result. * 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. |
||
|
|
30f4380450 |
uniwidth/width: Assign width 1 to prepended concatenation marks.
Suggested by Jules Bertholet <julesbertholet@quoi.xyz> in <https://lists.gnu.org/archive/html/bug-gnulib/2024-02/msg00093.html>. * lib/gen-uni-tables.c (is_nonspacing): For characters with property Prepended_Concatenation_Mark, return false instead of true. * lib/uniwidth/width0.h: Regenerated. This assigns width 1 to the characters U+0600..U+0605, U+06DD, U+070F, U+0890..U+0891, U+08E2, U+110BD, U+110CD. * modules/uniwidth/width (configure.ac): Bump required libunistring version. * modules/uniwidth/u8-width (configure.ac): Likewise. * modules/uniwidth/u8-strwidth (configure.ac): Likewise. * modules/uniwidth/u16-width (configure.ac): Likewise. * modules/uniwidth/u16-strwidth (configure.ac): Likewise. * modules/uniwidth/u32-width (configure.ac): Likewise. * modules/uniwidth/u32-strwidth (configure.ac): Likewise. |
||
|
|
a93e0da1d9 |
Update to Unicode 15.1.0.
* lib/gen-uni-tables.c (PROP_SENTENCE_TERMINAL): Renamed from PROP_STERM. (PROP_IDS_UNARY_OPERATOR, PROP_ID_COMPAT_MATH_CONTINUE, PROP_ID_COMPAT_MATH_START): New enum items. (UC_INDIC_CONJUNCT_BREAK_*): New enum items. (unicode_indic_conjunct_break): New variable. (fill_properties): Rename local variable propvalue to propcode. Handle the properties IDS_Unary_Operator, ID_Compat_Math_Continue, ID_Compat_Math_Start. Parse the InCB values from file DerivedCoreProperties.txt. (indic_conjunct_break_as_c_identifier, output_indic_conjunct_break_test): New functions. (indic_conjunct_break_table): New variable. (output_indic_conjunct_break): New function. (fill_width): Accept spaces at the end of field0 and at the start and end of field1. (LBP_QU1, LBP_QU2, LBP_QU3): New enum items, for Unicode TR #14 rules (LB15a) and (LB15b). (LBP_AP, LBP_AK, LBP_AS, LBP_VI, LBP_VF): New enum items, for Brahmic scripts. (get_lbp): Update such that unilbrk/lbrkprop.txt comes out as expected. (debug_output_lbp): Print either LBP_QU1 or LBP_QU2 or LBP_QU3 as LBP_QU. Handle LBP_AP, LBP_AK, LBP_AS, LBP_VI, LBP_VF. (fill_org_lbp): Accept spaces at the end of field0 and at the start and end of field1. Recognize LBP_AP, LBP_AK, LBP_AS, LBP_VI, LBP_VF. (debug_output_org_lbp): Handle LBP_AP, LBP_AK, LBP_AS, LBP_VI, LBP_VF. (lbp_value_to_string): Handle LBP_QU1, LBP_QU2, LBP_QU3 instead of LBP_QU. Handle LBP_AP, LBP_AK, LBP_AS, LBP_VI, LBP_VF. (output_lbrk_rules_as_tables): Treat LBP_QU as macro that maps to three table rows/columns. Replace rule (LB15) with rules (LB15b) and (LB15a). (get_wbp): Update such that uniwbrk/wbrkprop.txt comes out as expected. (main): Invoke output_indic_conjunct_break_test and output_indic_conjunct_break. * 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. * lib/unilbrk/lbrktables.h (LBP_QU1, LBP_QU2, LBP_QU3): New enum items, for Unicode TR #14 rules (LB15a) and (LB15b). (LBP_QU): Remove enum item. (LBP_AP, LBP_AK, LBP_AS, LBP_VI, LBP_VF): New enum items, for Brahmic scripts. (unilbrk_table): Update array bounds. * lib/unilbrk/u8-possible-linebreaks.c (u8_possible_linebreaks_loop): Conditionally replace LBP_QU2 with LBP_QU1, for rule (LB15a). Conditionally replace LBP_QU3 with LBP_QU1, for rule (LB15b). * lib/unilbrk/u16-possible-linebreaks.c (u16_possible_linebreaks_loop): Likewise. * lib/unilbrk/u32-possible-linebreaks.c (u32_possible_linebreaks_loop): Likewise. * lib/unictype.in.h (UC_INDIC_CONJUNCT_BREAK_*): New enum values. (uc_indic_conjunct_break_name, uc_indic_conjunct_break_byname, uc_indic_conjunct_break): New declarations. * lib/unictype/incb_byname.c: New file. * lib/unictype/incb_byname.gperf: New file. * lib/unictype/incb_name.c: New file. * lib/unictype/incb_name.h: New file. * lib/unictype/incb_of.c: New file. * lib/unictype/incb_of.h: New generated file. * modules/unictype/incb-all: New file. * modules/unictype/incb-byname: New file. * modules/unictype/incb-name: New file. * modules/unictype/incb-of: New file. * tests/unictype/test-incb_byname.c: New file. * tests/unictype/test-incb_name.c: New file. * tests/unictype/test-incb_of.c: New file. * tests/unictype/test-incb_of.h: New generated file. * modules/unictype/incb-byname-tests: New file. * modules/unictype/incb-name-tests: New file. * modules/unictype/incb-of-tests: New file. * lib/unigbrk.in.h (uc_is_grapheme_break, u*_grapheme_next, u*_grapheme_prev): Add comments. * lib/unigbrk/u-grapheme-breaks.h (FUNC): Add local variables incb_consonant_extended, incb_consonant_extended_linker, incb_consonant_extended_linker_extended. Implement rule (GB9c). * modules/unigbrk/u8-grapheme-breaks (Depends-on): Add unictype/incb-of. * 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-uc-is-grapheme-break.c (main): Add local variables incb_consonant_extended, incb_consonant_extended_linker, incb_consonant_extended_linker_extended. Skip test cases that match rule (GB9c). * modules/unigbrk/uc-is-grapheme-break-tests (Depends-on): Add unictype/incb-of. * All the affected modules: Bump required libunistring version. |
||
|
|
5b92dd0a45 | maint: run 'make update-copyright' | ||
|
|
82b840333d |
Fix a copyright header - module license mismatch.
Reported by Bjarni Ingi Gislason <bjarniig@simnet.is> in <https://lists.gnu.org/archive/html/bug-gnulib/2023-02/msg00057.html>. * lib/gen-uni-tables.c (output_predicate): For uniwidth/width2.h, use an LGPLv2+ license. (output_nonspacing_property): Use an LGPLv2+ license. * lib/uniwidth/width0.h: Regenerated. * lib/uniwidth/width2.h: Likewise. |
||
|
|
32a72f4537 | maint: run 'make update-copyright' | ||
|
|
2118e7cf12 |
Update to Unicode 15.0.0.
* 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. |
||
|
|
87e6634b28 |
license: fix GPLv3 texts to use a comma instead of semicolon.
See: https://www.gnu.org/licenses/gpl-3.0.html#howto Run: $ git grep -l 'Foundation; either version 3' \ | xargs sed -i '/Foundation; either version 3/ s/n; e/n, e/' * All files using GPLv3: Adjust via the above command. |
||
|
|
c5f910371e |
maint: Update copyright notices in code generating programs.
* lib/gen-uni-tables.c (output_predicate_test, output_predicate, output_category, output_combclass, output_bidi_category, output_decimal_digit_test, output_decimal_digit, output_digit_test, output_digit, output_numeric_test, output_numeric, output_mirror, output_joining_type_test, output_joining_type, output_joining_group_test, output_joining_group, output_scripts, output_scripts_byname, output_blocks, output_ident_category, output_nonspacing_property, output_lbrk_tables, output_lbrk_rules_as_tables, output_wbrk_tables, output_gbp_test, output_gbp_table, output_decomposition_tables, output_composition_tables, output_simple_mapping_test, output_simple_mapping, output_casing_rules): Extend copyright year of generated file to 2022. * lib/uniname/gen-uninames.lisp (main): Likewise. Produce license notice that is consistent with the gnulib/etc/license-notices/ files. * All files regenerated. |
||
|
|
eec12c00cf | maint: run 'make update-copyright' | ||
|
|
f698ea718e |
uniwidth: Optimize.
* lib/gen-uni-tables.c (output_nonspacing_property): Add version parameter. Emit the usual boilerplate header for generated files. (is_width2): New function, based on lib/uniwidth/width.c. (output_width2_property): New function. (main): Create uniwidth/width0.h instead of uniwidth/width.c.part. Create uniwidth/width2.h. * lib/uniwidth/width.c: Include width0.h, width2.h, bitmap.h. (nonspacing_table_data, nonspacing_table_ind): Remove here. (uc_width): Replace the double-width character with an u_width2 bitmap lookup. * modules/uniwidth/width (Files): Add lib/uniwidth/width0.h, lib/uniwidth/width2.h, lib/unictype/bitmap.h. |
||
|
|
14db2b71b5 |
Update to Unicode 14.0.0.
* lib/gen-uni-tables.c (UC_JOINING_GROUP_THIN_YEH, UC_JOINING_GROUP_VERTICAL_TAIL): New enum values. (fill_arabicshaping, joining_group_as_c_identifier): Recognize these joining groups. * lib/unictype.in.h (UC_JOINING_GROUP_THIN_YEH, UC_JOINING_GROUP_VERTICAL_TAIL): New enum values. * lib/unictype/joininggroup_name.h: Add the THIN_YEH, VERTICAL_TAIL joining groups. * lib/unictype/joininggroup_byname.gperf: Likewise. * lib/gen-uni-tables.c (LBP_ID1, LBP_ID2): New enum values. (LBP_ID): Assign artificial value. (get_lbp): Use the extended_pictographic property to assign LBP_ID1, LBP_ID2 instead of LBP_ID. Update such that unilbrk/lbrkprop.txt comes out as expected. (debug_output_lbp): Print either LBP_ID1 or LBP_ID2 as LBP_ID. (lbp_value_to_string): Handle LBP_ID1, LBP_ID2 instead of LBP_ID. (output_lbrk_rules_as_tables): Treat LBP_ID as macro that maps to two table rows/columns. In rule LB30b, use LBP_ID2 in addition to LBP_EB. Remove redundant part of rule LB27. * lib/unilbrk/lbrktables.h (LBP_ID1, LBP_ID2): New enum values. (LBP_ID): Remove enum value. (unilbrk_table): Update declaration. * lib/unilbrk/u8-possible-linebreaks.c (u8_possible_linebreaks_loop): Use LBP_ID1 instead of LBP_ID. * lib/unilbrk/u16-possible-linebreaks.c (u16_possible_linebreaks_loop): Likewise. * lib/unilbrk/u32-possible-linebreaks.c (u32_possible_linebreaks_loop): Likewise. * tests/unilbrk/test-u8-possible-linebreaks.c (test_function): Add a test of potential future emoji. * tests/unilbrk/test-u16-possible-linebreaks.c (test_function): Likewise. * tests/unilbrk/test-u32-possible-linebreaks.c (test_function): Likewise. * lib/uniwidth/width.c (nonspacing_table_data, nonspacing_table_ind): Update. (uc_width): Assign width 2 to the characters 0x1AFF0..0x1AFF3, 0x1AFF5..0x1AFFB, 0x1AFFD..0x1AFFE, 0x1B120..0x1B122, 0x1F6DD..0x1F6DF, 0x1F7F0, 0x1FA7B..0x1FA7C, 0x1FAA9..0x1FAAC, 0x1FAB7..0x1FABA, 0x1FAC3..0x1FAC5, 0x1FAD7..0x1FAD9, 0x1FAE0..0x1FAE7, 0x1FAF0..0x1FAF6. * tests/uniwidth/test-uc_width2.sh: Expect width 0 for the characters 0x0890..0x0891, 0x0898..0x089F, 0x08CA..0x0902, 0x0C3C, 0x180F, 0x1AC1..0x1ACE, 0x1DFA, 0x10F82..0x10F85, 0x11070, 0x11073..0x11074, 0x110C2, 0x1CF00..0x1CF2D, 0x1CF30..0x1CF46, 0x1E2AE. Expect ambiguous width for the character 0x1734. Expect width 2 for the characters 0x1AFF0..0x1AFF3, 0x1AFF5..0x1AFFB, 0x1AFFD..0x1AFFE, 0x1B120..0x1B122, 0x1F6DD..0x1F6DF, 0x1F7F0, 0x1FA7B..0x1FA7C, 0x1FAA9..0x1FAAC, 0x1FAB7..0x1FABA, 0x1FAC3..0x1FAC5, 0x1FAD7..0x1FAD9, 0x1FAE0..0x1FAE7, 0x1FAF0..0x1FAF6. * 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. |
||
|
|
f2e9cd38b9 |
Update to Unicode 13.0.0.
* lib/gen-uni-tables.c (is_WBP_MIDLETTER): Add character 0x055F. (get_wbp): Assign value WBP_ALETTER to the characters 0x02E5..0x02EB, 0x055A, 0x058A, 0xA708..0xA716. * lib/gen-uni-tables.c (LBP_CP1, LBP_CP2, LBP_OP1, LBP_OP2): New enum values. (LBP_OP, LBP_CP): Assign artificial values. (get_lbp): Use the unicode_width[] table to assign LBP_CP1, LBP_CP2 instead of LBP_CP, and LBP_OP1, LBP_OP2 instead of LBP_OP. Update such that unilbrk/lbrkprop.txt comes out as expected. (debug_output_lbp): Print either LBP_CP1 or LBP_CP2 as LBP_CP. Print either LBP_OP1 or LBP_OP2 as LBP_OP. (lbp_value_to_string): Handle LBP_CP1, LBP_CP2, LBP_OP1, LBP_OP2 instead of LBP_CP, LBP_OP. (output_lbrk_rules_as_tables): Treat LBP_CP and LBP_OP as macros that map to two table rows/columns. In rule LB30, use only LBP_OP1 instead of LBP_OP, and only LBP_CP1 instead of LBP_CP. Simplify rule LB22. * lib/unilbrk/lbrktables.h (LBP_CP1, LBP_CP2, LBP_OP1, LBP_OP2): New enum values. (LBP_OP, LBP_CP): Remove enum values. (unilbrk_table): Update declaration. * lib/unilbrk/u8-possible-linebreaks.c (u8_possible_linebreaks_loop): Add a test for East Asian opening parenthesis. * 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 0x16FF0..0x16FF1, 0x18AF3..0x18CD5, 0x18D00..0x18D08, 0x1F6D6..0x1F6D7, 0x1F6FB..0x1F6FC, 0x1F90C, 0x1FA74, 0x1FA83..0x1FA86, 0x1FA96..0x1FAA8, 0x1FAB0..0x1FAB6, 0x1FAC0..0x1FAC2, 0x1FAD0..0x1FAD6. Assign width 1 to the characters 0x1F93B, 0x1F946. * tests/uniwidth/test-uc_width2.sh: Expect width 0 for the characters 0x0B55, 0x0D81, 0x1ABF..0x1AC0, 0xA82C, 0x10EAB..0x10EAC, 0x111CF, 0x1193B..0x1193C, 0x1193E, 0x11943, 0x16FE4. Expect width 2 for the characters 0x16FF0..0x16FF1, 0x18AF3..0x18CD5, 0x18D00..0x18D08, 0x1F6D6..0x1F6D7, 0x1F6FB..0x1F6FC, 0x1F90C, 0x1FA74, 0x1FA83..0x1FA86, 0x1FA96..0x1FAA8, 0x1FAB0..0x1FAB6, 0x1FAC0..0x1FAC2, 0x1FAD0..0x1FAD6. Expect width 1 for the characters 0x1F93B, 0x1F946. * 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. |
||
|
|
a3a579e5c8 |
Update to Unicode 12.0.0.
* lib/gen-uni-tables.c (is_property_default_ignorable_code_point): Exclude 0x13430..0x13438. (get_lbp): Update such that unilbrk/lbrkprop.txt comes out as expected. (get_wbp): Map 0xFF10..0xFF19 to WBP_NUMERIC. * lib/uniwidth/width.c (nonspacing_table_data, nonspacing_table_ind): Update. (uc_width): Assign width 2 to the characters 0x16FE2..0x16FE3, 0x187F2..0x187F7, 0x1B150..0x1B152, 0x1B164..0x1B167, 0x1F6D5, 0x1F6FA, 0x1F7E0..0x1F7EB, 0x1F90D..0x1F90F, 0x1FA70..0x1FA73, 0x1FA78..0x1FA7A, 0x1FA80..0x1FA82, 0x1FA90..0x1FA95. * tests/uniwidth/test-uc_width2.sh: Expect width 0 for the characters 0x0EBA, 0xA9BD, 0x119D4..0x119D7, 0x119DA..0x119DB, 0x119E0, 0x13430..0x13438, 0x16F4F, 0x1E130..0x1E136, 0x1E2EC..0x1E2EF. Expect width 2 for the characters 0x16FE2..0x16FE3, 0x187F2..0x187F7, 0x1B150..0x1B152, 0x1B164..0x1B167, 0x1F6D5, 0x1F6FA, 0x1F7E0..0x1F7EB, 0x1F90D..0x1F90F, 0x1FA70..0x1FA73, 0x1FA78..0x1FA7A, 0x1FA80..0x1FA82, 0x1FA90..0x1FA95. * 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. |
||
|
|
ecbed643ff |
Update to Unicode 11.0.0.
* 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. |
||
|
|
8026587b94 |
uniwidth: Give width 0 to conjoining Hangul Jamo jungseong, jongseong.
Reported by Luis Javier Merino <ninjalj@gmail.com> in <https://lists.gnu.org/archive/html/bug-libunistring/2021-12/msg00006.html>. * lib/gen-uni-tables.c (is_nonspacing): Return true for the conjoining Hangul Jamo jungseong and jongseong characters. * lib/uniwidth/width.c (nonspacing_table_data, nonspacing_table_ind): Regenerated. * tests/uniwidth/test-uc_width2.sh: Expect width 0 for the characters 0x1160..0x11FF, 0xD7B0..0xD7C6, 0xD7CB..0xD7FB. |
||
|
|
f66fe31537 |
uniwidth: Update to Unicode 10.0.0.
* lib/uniwidth/width.c (uc_width): Assign width 2 to the characters 0x231A..0x231B, 0x23E9..0x23EC, 0x23F0, 0x23F3, 0x25FD..0x25FE, 0x2614..0x2615, 0x2648..0x2653, 0x267F, 0x2693, 0x26A1, 0x26AA..0x26AB, 0x26BD..0x26BE, 0x26C4..0x26C5, 0x26CE, 0x26D4, 0x26EA, 0x26F2..0x26F3, 0x26F5, 0x26FA, 0x26FD, 0x2705, 0x270A..0x270B, 0x2728, 0x274C, 0x274E, 0x2753..0x2755, 0x2757, 0x2795..0x2797, 0x27B0, 0x27BF, 0x2B1B..0x2B1C, 0x2B50, 0x2B55, 0xA960..0xA97C, 0x16FE0..0x16FE1, 0x17000..0x187EC, 0x18800..0x18AF2, 0x1B000..0x1B11F, 0x1B170..0x1B2FB, 0x1F004, 0x1F0CF, 0x1F18E, 0x1F191..0x1F19A, 0x1F200..0x1F320, 0x1F32D..0x1F335, 0x1F337..0x1F37C, 0x1F37E..0x1F393, 0x1F3A0..0x1F3CA, 0x1F3CF..0x1F3D3, 0x1F3E0..0x1F3F0, 0x1F3F4, 0x1F3F8..0x1F43E, 0x1F440, 0x1F442..0x1F4FC, 0x1F4FF..0x1F53D, 0x1F54B..0x1F54E, 0x1F550..0x1F567, 0x1F57A, 0x1F595..0x1F596, 0x1F5A4, 0x1F5FB..0x1F64F, 0x1F680..0x1F6C5, 0x1F6CC, 0x1F6D0..0x1F6D2, 0x1F6EB..0x1F6EC, 0x1F6F4..0x1F6F8, 0x1F910..0x1F9E6. Assign ambiguous width to the characters 0x3248..0x324F. * tests/uniwidth/test-uc_width2.sh: Expect these changes. |
||
|
|
499a4fa2a4 |
Update to Unicode 10.0.0.
* 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. |
||
|
|
29943d46b6 |
Put "LGPLv3+ or GPLv2+" notices in source files where appropriate.
* lib/**.{h,c,gperf}: Use "LGPLv3+ or GPLv2+" notice whenever the module
description says so.
|
||
|
|
5ffa144085 |
Put LGPLv2+ notices in source files where appropriate.
* lib/**.{h,c,gperf}: Use LGPLv2+ notice whenever the module description
says so.
|
||
|
|
4b94832196 | maint: run 'make update-copyright' | ||
|
|
2cdc1bafb2 | maint: Run 'make update-copyright' | ||
|
|
e6633650a2 | maint: Run 'make update-copyright' | ||
|
|
281b825eba | maint: Run 'make update-copyright' | ||
|
|
19f18ecffa |
libunistring: update to Unicode 9.0.0
* 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.
|
||
|
|
ca35d46812 | all: prefer https: URLs | ||
|
|
a3fd683de3 |
version-etc: new year
* build-aux/gendocs.sh (version): * doc/gendocs_template: * doc/gendocs_template_min: * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright dates by hand in templates and the like. * all files: Run 'make update-copyright'. |
||
|
|
71090a2a31 |
version-etc: new year
* build-aux/gendocs.sh (version): * doc/gendocs_template: * doc/gendocs_template_min: * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright dates by hand in templates and the like. * all files: Run 'make update-copyright'. |
||
|
|
705f4efc33 |
libunistring: update to Unicode 8.0.0
* lib/gen-uni-tables.c (SIZEOF): New macro. (output_numeric): Increase the maximum number of fractions from 128 to 160. Increase the level3 value width from 7 bits to 8 bits. Use SIZEOF instead of a hard-coded integer. (output_blocks): Decrease the cut-off threshold from 0x30000 to 0x28000. (fill_blocks): Increase the maximum number of blocks from 256 to 384. Use SIZEOF instead of a hard-coded integer. (get_lbp): Adjust to new characters added in Unicode 8.0.0. * lib/unictype/numeric.c (uc_numeric_value): Adjust the level3 value width. * lib/unilbrk/lbrktables.c (unilbrk_table): Implement LBP21b and a new case added to LBP22. * lib/uniwidth/width.c (nonspacing_table_data): Add U+08E3, U+A69E, U+FE2E..U+FE2F, U+111CA..U+111CC, U+11300, U+115DC..U+115DD, U+1171D..U+1171F, U+11722..U+11725, U+11727..U+1172B, U+1DA00..U+1DA36, U+1DA3B..U+1DA6C, U+1DA75, U+1DA84, U+1DA9B..U+1DA9F, and U+1DAA1..U+1DAAF. * tests/uniwidth/test-uc_width2.sh: Same updates as in lib/uniwidth/width.c. * all generated files under lib/uni* and tests/uni*: Regenerate. |
||
|
|
7585eb3f16 |
libunistring: update to Unicode 7.0.0
* lib/unictype/joininggroup_byname.gperf: Add Straight Waw and Manichaean names. * lib/unictype/joininggroup_name.h: Likewise. * lib/unictype.in.h (UC_JOINING_GROUP_STRAIGHT_WAW) (UC_JOINING_GROUP_MANICHAEAN_ALEPH): New enumeration values. * lib/gen-uni-tables.c (UC_JOINING_GROUP_STRAIGHT_WAW) (UC_JOINING_GROUP_MANICHAEAN_*): New enumeration values. (fill_arabicshaping, joining_group_as_c_identifier): Support those enum values. (is_property_alphabetic): Accept newly added characters to cuneiform numeric signs. (is_property_default_ignorable_code_point): Reject U+0605. (FIELDLEN): Increase from 120 to 160. * lib/uniwidth/width.c (nonspacing_table_data): Add U+0605, U+08FF, U+0C00, U+0C81, U+0D01, U+1AB0..U+1ABE, U+1BAC..U+1BAD, U+1CF8..U+1CF9, U+1DE7..U+1DF5, U+A9E5, U+AA7C, U+FE27..U+FE2D, U+102E0, U+10376..U+1037A, U+10AE5..U+10AE6, U+1107F, U+11173, U+1122F..U+11231, U+11234, U+11236..U+11237, U+112DF, U+112E3..U+112EA, U+11301, U+1133C, U+11340, U+11366..U+1136C, U+11370..U+11374, U+114B3..U+114B8, U+114BA, U+114BF..U+114C0, U+114C2..U+114C3, U+115B2..U+115B5, U+115BC..U+115C0, U+11633..U+1163A, U+1163D, U+1163F..U+11640, U+16AF0..U+16AF4, U+16B30..U+16B36, U+1BC9D..U+1BC9E, U+1BCA0..U+1BCA3, and U+1E8D0..U+1E8D6. (uc_width): Adjust nonspacing_table_ind boundary from 240 to 248. * tests/uniwidth/test-uc_width2.sh: Same updates as in lib/uniwidth/width.c. * all generated files under lib/uni* and tests/uni*: Regenerate. |
||
|
|
0d1916cba5 |
libunistring: update to Unicode 6.3.0
* lib/uniwbrk.in.h (WBP_DQ, WBP_SQ, WBP_HL): New enumeration values. * lib/uniwbrk/u-wordbreaks.h (FUNC): Support WB7a, WB7b, and WB7c. Update WB5, WB6, WB7, WB9, WB11, WB12, WB13a, and WB13b. * lib/uniwbrk/wbrktable.h (uniwbrk_table): Adjust table size. * lib/uniwbrk/wbrktable.c (uniwbrk_table): Support rule WB7a. Update WB5, WB9, WB10, WB13a, and WB13b. * tests/uniwbrk/test-uc-wordbreaks.c (wordbreakproperty_to_string): Support WBP_DQ, WBP_SQ, and WBP_HL. * lib/gen-uni-tables.c (UC_BIDI_LRI, UC_BIDI_RLI, UC_BIDI_FSI) (UC_BIDI_PDI): New enumeration values. (bidi_category_byname): Support those enum values. (is_WBP_MIDNUMLET): Exclude 0x0027 (SINGLE QUOTE), which is now a dedicated property assigned. (is_property_case_ignorable): Check 0x0027. (WBP_DQ, WBP_SQ, WBP_HL): New enumeration values. (get_wbp, debug_output_wbp, fill_org_wbp, debug_output_org_wbp) (output_wbp): Support those enum values. * lib/unictype.in.h (UC_BIDI_LRI, UC_BIDI_RLI, UC_BIDI_FSI) (UC_BIDI_PDI): New enumeration values. * lib/unictype/bidi_byname.gperf: Add those property names. * lib/uniwidth/width.c (nonspacing_table_data): Add U+061C, U+180E, U+1A1B, and U+2066..U+2069. * tests/uniwidth/test-uc_width2.sh: Same updates as in lib/uniwidth/width.c. * all generated files under lib/uni* and tests/uni*: Regenerate. |
||
|
|
4b6bc42e05 |
libunistring: update to Unicode 6.1.0
* 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. |
||
|
|
b9bfe78424 |
version-etc: new year
* doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright date. * all files: Run 'make update-copyright'. |
||
|
|
1276a2c5f2 |
maint: update copyright
I ran 'make update-copyright'. Signed-off-by: Eric Blake <eblake@redhat.com> |
||
|
|
9fc81090f6 |
maint: update all copyright year number ranges
Run "make update-copyright". Compare to commit
|
||
|
|
7b88472378 |
streq: Rename macro.
* lib/streq.h (STREQ_OPT): Renamed from STREQ. * NEWS: Mention the change. * lib/mbrtowc.c (mbrtowc): Update. * lib/uniwidth/cjk.h (is_cjk_encoding): Update. * lib/wcwidth.c (wcwidth): Update. Suggested by Akim Demaille and Jim Meyering. |
||
|
|
1602f0afed |
maint: update all copyright year number ranges
Run "make update-copyright". |
||
|
|
6829a6c0c4 |
Revert "use _GL_ATTRIBUTE_CONST and _GL_ATTRIBUTE_PURE"
This reverts commit
|
||
|
|
349d7fe0e3 | use _GL_ATTRIBUTE_CONST and _GL_ATTRIBUTE_PURE | ||
|
|
f3ed710c95 |
Update to Unicode 6.0.0.
* lib/gen-uni-tables.c (symbolic_width): Fix bounds of planes. (get_lbp): Update for Unicode 6.0.0. * lib/uniwidth/width.c (nonspacing_table_data): Add U+065F, U+0859..U+085B, U+093A, U+0956..U+0957, U+0F8D..U+0F8F, U+135D..U+135E, U+1BE6, U+1BE8..U+1BE9, U+1BED, U+1BEF..U+1BF1, U+1DFC, U+2D7F, U+11001, U+11038..U+11046. Remove U+06DE. (uc_width): Fix bounds of planes. * tests/uniwidth/test-uc_width2.sh: Same updates as in lib/uniwidth/width.c. * tests/unigbrk/GraphemeBreakTest.txt: Copied from Unicode 6.0.0, with trailing whitespace removed. * tests/uninorm/NormalizationTest.txt: Update from Unicode 6.0.0, without comments, but with the original copyright notice. * lib/unicase/cased.h: Regenerated for Unicode 6.0.0. * lib/unicase/ignorable.h: Likewise. * lib/unicase/tocasefold.h: Likewise. * lib/unicase/tolower.h: Likewise. * lib/unicase/totitle.h: Likewise. * lib/unicase/toupper.h: Likewise. * lib/unictype/bidi_of.h: Likewise. * lib/unictype/blocks.h: Likewise. * lib/unictype/categ_C.h: Likewise. * lib/unictype/categ_Cn.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_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_No.h: Likewise. * lib/unictype/categ_P.h: Likewise. * lib/unictype/categ_Po.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_of.h: Likewise. * lib/unictype/combining.h: Likewise. * lib/unictype/ctype_alnum.h: Likewise. * lib/unictype/ctype_alpha.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_upper.h: Likewise. * lib/unictype/decdigit.h: Likewise. * lib/unictype/digit.h: Likewise. * lib/unictype/numeric.h: Likewise. * lib/unictype/pr_alphabetic.h: Likewise. * lib/unictype/pr_bidi_arabic_digit.h: Likewise. * lib/unictype/pr_bidi_arabic_right_to_left.h: Likewise. * lib/unictype/pr_bidi_boundary_neutral.h: Likewise. * lib/unictype/pr_bidi_eur_num_terminator.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_case_ignorable.h: Likewise. * lib/unictype/pr_cased.h: Likewise. * lib/unictype/pr_changes_when_casefolded.h: Likewise. * lib/unictype/pr_changes_when_casemapped.h: Likewise. * lib/unictype/pr_changes_when_lowercased.h: Likewise. * lib/unictype/pr_changes_when_titlecased.h: Likewise. * lib/unictype/pr_changes_when_uppercased.h: Likewise. * lib/unictype/pr_combining.h: Likewise. * lib/unictype/pr_composite.h: Likewise. * lib/unictype/pr_currency_symbol.h: Likewise. * lib/unictype/pr_decimal_digit.h: Likewise. * lib/unictype/pr_deprecated.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_id_continue.h: Likewise. * lib/unictype/pr_id_start.h: Likewise. * lib/unictype/pr_ideographic.h: Likewise. * lib/unictype/pr_lowercase.h: Likewise. * lib/unictype/pr_math.h: Likewise. * lib/unictype/pr_numeric.h: Likewise. * lib/unictype/pr_other_alphabetic.h: Likewise. * lib/unictype/pr_other_id_continue.h: Likewise. * lib/unictype/pr_other_math.h: Likewise. * lib/unictype/pr_punctuation.h: Likewise. * lib/unictype/pr_sentence_terminal.h: Likewise. * lib/unictype/pr_terminal_punctuation.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_xid_continue.h: Likewise. * lib/unictype/pr_xid_start.h: Likewise. * lib/unictype/scripts.h: Likewise. * lib/unictype/scripts_byname.gperf: Likewise. * lib/unictype/sy_java_ident.h: Likewise. * lib/unigbrk/gbrkprop.h: Likewise. * lib/unilbrk/lbrkprop1.h: Likewise. * lib/unilbrk/lbrkprop2.h: Likewise. * lib/uninorm/decomposition-table2.h: Likewise. * lib/uniwbrk/wbrkprop.h: Likewise. * tests/unicase/test-cased.c: Likewise. * tests/unicase/test-ignorable.c: Likewise. * tests/unicase/test-uc_tolower.c: Likewise. * tests/unicase/test-uc_totitle.c: Likewise. * tests/unicase/test-uc_toupper.c: Likewise. * tests/unictype/test-categ_C.c: Likewise. * tests/unictype/test-categ_Cn.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_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_No.c: Likewise. * tests/unictype/test-categ_P.c: Likewise. * tests/unictype/test-categ_Po.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-ctype_alnum.c: Likewise. * tests/unictype/test-ctype_alpha.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_upper.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_bidi_arabic_digit.c: Likewise. * tests/unictype/test-pr_bidi_arabic_right_to_left.c: Likewise. * tests/unictype/test-pr_bidi_boundary_neutral.c: Likewise. * tests/unictype/test-pr_bidi_eur_num_terminator.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_case_ignorable.c: Likewise. * tests/unictype/test-pr_cased.c: Likewise. * tests/unictype/test-pr_changes_when_casefolded.c: Likewise. * tests/unictype/test-pr_changes_when_casemapped.c: Likewise. * tests/unictype/test-pr_changes_when_lowercased.c: Likewise. * tests/unictype/test-pr_changes_when_titlecased.c: Likewise. * tests/unictype/test-pr_changes_when_uppercased.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_decimal_digit.c: Likewise. * tests/unictype/test-pr_deprecated.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_id_continue.c: Likewise. * tests/unictype/test-pr_id_start.c: Likewise. * tests/unictype/test-pr_ideographic.c: Likewise. * tests/unictype/test-pr_lowercase.c: Likewise. * tests/unictype/test-pr_math.c: Likewise. * tests/unictype/test-pr_numeric.c: Likewise. * tests/unictype/test-pr_other_alphabetic.c: Likewise. * tests/unictype/test-pr_other_id_continue.c: Likewise. * tests/unictype/test-pr_other_math.c: Likewise. * tests/unictype/test-pr_punctuation.c: Likewise. * tests/unictype/test-pr_sentence_terminal.c: Likewise. * tests/unictype/test-pr_terminal_punctuation.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_xid_continue.c: Likewise. * tests/unictype/test-pr_xid_start.c: Likewise. * tests/unigbrk/test-uc-gbrk-prop.h: Likewise. * lib/unicase/special-casing-table.gperf: Regenerated; only comment changes. * lib/unictype/categ_Cc.h: Likewise. * lib/unictype/categ_Cf.h: Likewise. * lib/unictype/categ_Co.h: Likewise. * lib/unictype/categ_Cs.h: Likewise. * lib/unictype/categ_Lt.h: Likewise. * lib/unictype/categ_Nl.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_Ps.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/ctype_blank.h: Likewise. * lib/unictype/ctype_cntrl.h: Likewise. * lib/unictype/ctype_digit.h: Likewise. * lib/unictype/ctype_space.h: Likewise. * lib/unictype/ctype_xdigit.h: Likewise. * lib/unictype/mirror.h: Likewise. * lib/unictype/pr_ascii_hex_digit.h: Likewise. * lib/unictype/pr_bidi_block_separator.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_european_digit.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_dash.h: Likewise. * lib/unictype/pr_default_ignorable_code_point.h: Likewise. * lib/unictype/pr_diacritic.h: Likewise. * lib/unictype/pr_extender.h: Likewise. * lib/unictype/pr_hex_digit.h: Likewise. * lib/unictype/pr_hyphen.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_non_break.h: Likewise. * lib/unictype/pr_not_a_character.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_start.h: Likewise. * lib/unictype/pr_other_lowercase.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_quotation_mark.h: Likewise. * lib/unictype/pr_radical.h: Likewise. * lib/unictype/pr_soft_dotted.h: Likewise. * lib/unictype/pr_space.h: Likewise. * lib/unictype/pr_titlecase.h: Likewise. * lib/unictype/pr_variation_selector.h: Likewise. * lib/unictype/pr_white_space.h: Likewise. * lib/unictype/pr_zero_width.h: Likewise. * lib/unictype/sy_c_ident.h: Likewise. * lib/unictype/sy_c_whitespace.h: Likewise. * lib/unictype/sy_java_whitespace.h: Likewise. * lib/uninorm/composition-table.gperf: Likewise. * lib/uninorm/decomposition-table1.h: Likewise. * tests/unilbrk/test-u8-possible-linebreaks.c (main): Add test for rule LB8. * tests/unilbrk/test-u16-possible-linebreaks.c (main): Likewise. * tests/unilbrk/test-u32-possible-linebreaks.c (main): Likewise. * modules/unictype/*: Bump version number of expected libunistring version. |
||
|
|
fc492e9242 |
Update to Unicode 5.2.0.
* lib/gen-uni-tables.c (output_predicate, output_category,
output_combclass, output_bidi_category, output_decimal_digit_test,
output_decimal_digit, output_digit_test, output_digit,
output_numeric_test, output_numeric, output_mirror, output_scripts,
output_scripts_byname, output_blocks, output_ident_category): Fix
comment header.
(is_WBP_MIDNUMLET, is_WBP_MIDLETTER): New functions, extracted from
get_wbp.
(PROP_CASED, PROP_CASE_IGNORABLE, PROP_CHANGES_WHEN_*): New enumeration
items.
(fill_properties): Also fill the peoperties Cased, Case_Ignorable,
Changes_When_Lowercased, Changes_When_Uppercased,
Changes_When_Titlecased, Changes_When_Casefolded,
Changes_When_Casemapped.
(is_property_alphabetic, is_property_default_ignorable_code_point):
Update for Unicode 5.2.0.
(is_property_cased, is_property_case_ignorable,
is_property_changes_when_lowercased,
is_property_changes_when_uppercased,
is_property_changes_when_titlecased,
is_property_changes_when_casefolded,
is_property_changes_when_casemapped): New functions.
(output_properties): Output also the properties cased, case_ignorable,
changes_when_lowercased, changes_when_uppercased,
changes_when_titlecased, changes_when_casefolded,
changes_when_casemapped.
(symbolic_width): Update for Unicode 5.2.0, incorporating changes from
Unicode TR#11 revision 17 -> 19.
(LBP_CP): New enumeration value.
(LBP_*): Adjust values accordingly.
(get_lbp): Update for Unicode 5.2.0, incorporating changes from Unicode
TR#14 revision 22 -> 24.
(debug_output_lbp): Allow for LBP_* bits >= 32. Support LBP_CP.
(fill_org_lbp, debug_output_org_lbp, output_lbp): Support LBP_CP.
(get_wbp): Update for Unicode 5.2.0, incorporating changes from Unicode
TR#29 revision 13 -> 15. Use functions is_WBP_MIDNUMLET,
is_WBP_MIDLETTER.
(output_composition_tables): Allow for 24 bits instead of 16 bits in
the code1 and code2 of each composition rule.
* lib/unicase/cased.h: Regenerated for Unicode 5.2.0.
* lib/unicase/ignorable.h: Likewise.
* lib/unicase/tocasefold.h: Likewise.
* lib/unicase/tolower.h: Likewise.
* lib/unicase/totitle.h: Likewise.
* lib/unicase/toupper.h: Likewise.
* lib/unictype/bidi_of.h: Likewise.
* lib/unictype/blocks.h: Likewise.
* lib/unictype/categ_C.h: Likewise.
* lib/unictype/categ_Cf.h: Likewise.
* lib/unictype/categ_Cn.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_Lu.h: Likewise.
* lib/unictype/categ_M.h: Likewise.
* lib/unictype/categ_Mc.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_Pd.h: Likewise.
* lib/unictype/categ_Po.h: Likewise.
* lib/unictype/categ_S.h: Likewise.
* lib/unictype/categ_Sc.h: Likewise.
* lib/unictype/categ_So.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_graph.h: Likewise.
* lib/unictype/ctype_lower.h: Likewise.
* lib/unictype/ctype_print.h: Likewise.
* lib/unictype/ctype_punct.h: Likewise.
* lib/unictype/ctype_upper.h: Likewise.
* lib/unictype/decdigit.h: Likewise.
* lib/unictype/digit.h: Likewise.
* lib/unictype/numeric.h: Likewise.
* lib/unictype/pr_alphabetic.h: Likewise.
* lib/unictype/pr_bidi_arabic_digit.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_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_deprecated.h: Likewise.
* lib/unictype/pr_diacritic.h: Likewise.
* lib/unictype/pr_extender.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_id_continue.h: Likewise.
* lib/unictype/pr_id_start.h: Likewise.
* lib/unictype/pr_ideographic.h: Likewise.
* lib/unictype/pr_ignorable_control.h: Likewise.
* lib/unictype/pr_logical_order_exception.h: Likewise.
* lib/unictype/pr_lowercase.h: Likewise.
* lib/unictype/pr_numeric.h: Likewise.
* lib/unictype/pr_other_alphabetic.h: Likewise.
* lib/unictype/pr_punctuation.h: Likewise.
* lib/unictype/pr_sentence_terminal.h: Likewise.
* lib/unictype/pr_terminal_punctuation.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_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_java_ident.h: Likewise.
* lib/unigbrk/gbrkprop.h: Likewise.
* lib/unilbrk/lbrkprop1.h: Likewise.
* lib/unilbrk/lbrkprop2.h: Likewise.
* lib/unilbrk/lbrktables.h: Likewise.
* lib/unilbrk/lbrktables.c (unilbrk_table): Add a row and column for
LBP_CP. Implement rule LB30.
* lib/uniwidth/width.c (nonspacing_table_data): Add U+0816..U+0819,
U+081B..U+0823, U+0825..U+0827, U+0829..U+082D, U+0900, U+0955, U+109D,
U+1A56, U+1A58..U+1A5E, U+1A60, U+1A62, U+1A65..U+1A6C, U+1A73..U+1A7C,
U+1A7F, U+1CD0..U+1CD2, U+1CD4..U+1CE0, U+1CE2..U+1CE8, U+1CED, U+1DFD,
U+2CEF..U+2CF1, U+A6F0..U+A6F1, U+A8E0..U+A8F1, U+A980..U+A982, U+A9B3,
U+A9B6..U+A9B9, U+A9BC, U+AAB0, U+AAB2..U+AAB4, U+AAB7..U+AAB8,
U+AABE..U+AABF, U+AAC1, U+ABE5, U+ABE8, U+ABED, U+11080..U+11081,
U+110B3..U+110B6, U+110B9..U+110BA, U+110BD.
(uc_width): Return 2 also for unassigned code points of planes 2 and 3.
* lib/uninorm/composition-table.gperf: Regenerated for Unicode 5.2.0.
* lib/uninorm/composition.c (struct composition_rule): Allow for 24
bits instead of 16 bits in the code1 and code2 of each composition
rule.
(uc_composition): Update for Unicode 5.2.0.
* lib/uninorm/decomposition-table1.h: Regenerated for Unicode 5.2.0.
* lib/uninorm/decomposition-table2.h: Likewise.
* lib/uniwbrk/wbrkprop.h: Likewise.
* tests/unicase/test-cased.c: Likewise.
* tests/unicase/test-ignorable.c: Likewise.
* tests/unicase/test-uc_tolower.c: Likewise.
* tests/unicase/test-uc_totitle.c: Likewise.
* tests/unicase/test-uc_toupper.c: Likewise.
* tests/unictype/test-categ_C.c: Likewise.
* tests/unictype/test-categ_Cf.c: Likewise.
* tests/unictype/test-categ_Cn.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_Lu.c: Likewise.
* tests/unictype/test-categ_M.c: Likewise.
* tests/unictype/test-categ_Mc.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_Pd.c: Likewise.
* tests/unictype/test-categ_Po.c: Likewise.
* tests/unictype/test-categ_S.c: Likewise.
* tests/unictype/test-categ_Sc.c: Likewise.
* tests/unictype/test-categ_So.c: Likewise.
* tests/unictype/test-ctype_alnum.c: Likewise.
* tests/unictype/test-ctype_alpha.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_upper.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_bidi_arabic_digit.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_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_deprecated.c: Likewise.
* tests/unictype/test-pr_diacritic.c: Likewise.
* tests/unictype/test-pr_extender.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_id_continue.c: Likewise.
* tests/unictype/test-pr_id_start.c: Likewise.
* tests/unictype/test-pr_ideographic.c: Likewise.
* tests/unictype/test-pr_ignorable_control.c: Likewise.
* tests/unictype/test-pr_logical_order_exception.c: Likewise.
* tests/unictype/test-pr_lowercase.c: Likewise.
* tests/unictype/test-pr_numeric.c: Likewise.
* tests/unictype/test-pr_other_alphabetic.c: Likewise.
* tests/unictype/test-pr_punctuation.c: Likewise.
* tests/unictype/test-pr_sentence_terminal.c: Likewise.
* tests/unictype/test-pr_terminal_punctuation.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_xid_continue.c: Likewise.
* tests/unictype/test-pr_xid_start.c: Likewise.
* tests/unictype/test-pr_zero_width.c: Likewise.
* tests/unigbrk/test-uc-gbrk-prop.h: Likewise.
* tests/unilbrk/test-u8-possible-linebreaks.c (main): Update for
changed behaviour: line breaking is now disallowed between a letter
or '=' and '('.
* tests/unilbrk/test-u16-possible-linebreaks.c (main): Likewise.
* tests/unilbrk/test-u32-possible-linebreaks.c (main): Likewise.
* tests/unilbrk/test-ulc-possible-linebreaks.c (main): Likewise.
* tests/unilbrk/test-ulc-width-linebreaks.c (main): Likewise.
* tests/uniwidth/test-uc_width2.sh: Same updates as in
lib/uniwidth/width.c.
* tests/uninorm/NormalizationTest.txt: Update from Unicode 5.2.0,
without comments, but with the original copyright notice.
* lib/unicase/special-casing-table.gperf: Regenerated; only comment
changes.
* lib/unictype/categ_Cc.h: Likewise.
* lib/unictype/categ_Co.h: Likewise.
* lib/unictype/categ_Cs.h: Likewise.
* lib/unictype/categ_Lt.h: Likewise.
* lib/unictype/categ_Me.h: Likewise.
* lib/unictype/categ_Pc.h: Likewise.
* lib/unictype/categ_Pe.h: Likewise.
* lib/unictype/categ_Pf.h: Likewise.
* lib/unictype/categ_Pi.h: Likewise.
* lib/unictype/categ_Ps.h: Likewise.
* lib/unictype/categ_Sk.h: Likewise.
* lib/unictype/categ_Sm.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/ctype_blank.h: Likewise.
* lib/unictype/ctype_cntrl.h: Likewise.
* lib/unictype/ctype_digit.h: Likewise.
* lib/unictype/ctype_space.h: Likewise.
* lib/unictype/ctype_xdigit.h: Likewise.
* lib/unictype/mirror.h: Likewise.
* lib/unictype/pr_ascii_hex_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_pdf.h: Likewise.
* lib/unictype/pr_bidi_segment_separator.h: Likewise.
* lib/unictype/pr_bidi_whitespace.h: Likewise.
* lib/unictype/pr_default_ignorable_code_point.h: Likewise.
* lib/unictype/pr_format_control.h: Likewise.
* lib/unictype/pr_hex_digit.h: Likewise.
* lib/unictype/pr_hyphen.h: Likewise.
* lib/unictype/pr_ids_binary_operator.h: Likewise.
* lib/unictype/pr_ids_trinary_operator.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_math.h: Likewise.
* lib/unictype/pr_non_break.h: Likewise.
* lib/unictype/pr_not_a_character.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_quotation_mark.h: Likewise.
* lib/unictype/pr_radical.h: Likewise.
* lib/unictype/pr_soft_dotted.h: Likewise.
* lib/unictype/pr_space.h: Likewise.
* lib/unictype/pr_titlecase.h: Likewise.
* lib/unictype/pr_variation_selector.h: Likewise.
* lib/unictype/pr_white_space.h: Likewise.
* lib/unictype/sy_c_ident.h: Likewise.
* lib/unictype/sy_c_whitespace.h: Likewise.
* lib/unictype/sy_java_whitespace.h: Likewise.
* modules/uni*/*: Bump version number of expected libunistring version.
Reported by Simon Josefsson.
|
||
|
|
d666cb6faf |
uniwidth/width: Fix width of U+1D173..U+1D17A.
* lib/gen-uni-tables.c (is_nonspacing, output_nonspacing_property, symbolic_width, output_width_property_test): New functions. (main): Invoke output_nonspacing_property, output_width_property_test. * lib/uniwidth/width.c (nonspacing_table_data): Set bits for U+1D173..U+1D17A. * tests/uniwidth/test-uc_width2.sh: For U+1D173..U+1D17A, expect 0, not 1. * modules/uniwidth/*: Bump version number of expected libunistring version. * modules/unilbrk/*: Likewise. |
||
|
|
d60f3b0c6b |
maint: update almost all copyright ranges to include 2011
Run the new "make update-copyright" rule. |