about summary refs log tree commit diff
path: root/localedata/charmaps
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2002-01-181-2/+4
| | | | | | | | | | | | | 2002-01-16 Roger Sayle <roger@eyesopen.com> * stdlib/msort.c (msort_with_tmp): Replace implementation with more efficient "Towers of Hanoi" mergesort. (hanoi_sort, hanoi_sort_int, hanoi_sort_long): New functions, for generic, sizeof(int) and sizeof(long) variants respectively. * manial/syslog.texi (openlog): Describe possible problems with first parameter. Patch by Christopher Allen Wing <wingc@engin.umich.edu>.
* Update.Ulrich Drepper2002-01-171-81424/+69753
| | | | | | | | 2002-01-17 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Use 64 bit instructions for pointer operations. * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
* Update.Ulrich Drepper2001-12-101-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-12-09 Ulrich Drepper <drepper@redhat.com> Implement transliteration of characters in strings of the locale definitions. * locale/programs/linereader.c: Adjust for additional parameter to lr_token. (get_string): If character <Uxxxx> is not found try to transliterate it. * locale/programs/ld-ctype.c: Adjust for additional parameter to lr_token. Add const to charmap parameter of all functions. (find_translit, find_translit2): New functions. * locale/programs/charmap.c: Adjust for additional parameter to lr_token. * locale/programs/repertoire.c: Likewise. * locale/programs/linereader.h: Likewise. * locale/programs/ld-address.c: Likewise. Add const to charmap parameter of all functions. * locale/programs/ld-collate.c: Likewise. * locale/programs/ld-identification.c: Likewise. * locale/programs/ld-measurement.c: Likewise. * locale/programs/ld-messages.c: Likewise. * locale/programs/ld-monetary.c: Likewise. * locale/programs/ld-name.c: Likewise. * locale/programs/ld-numeric.c: Likewise. * locale/programs/ld-paper.c: Likewise. * locale/programs/ld-paper.c: Likewise. * locale/programs/ld-telephone.c: Likewise. * locale/programs/ld-time.c: Likewise. * locale/programs/locfile.c: Likewise. * locale/programs/localedef.c: Likewise. * locale/programs/localedef.h: Likewise. * locale/programs/locfile.h: Likewise. Add declaration for find_translit. * locale/programs/simple-hash.c: Add const to first parameter of find_entry, iterate_table, and lookup. * locale/programs/simple-hash.h: Likewise. * locale/localeinfo.h: Don't define __LC_LAST here. Include <locale.h> instead. * include/locale.h: Define __LC_LAST. * iconv/Makefile (CFLAGS-linereader.c): Define to -DNO_TRANSLITERATION.
* Update.Ulrich Drepper2001-12-051-0/+265
| | | | | | | | | | | 2001-12-05 Ulrich Drepper <drepper@redhat.com> * iconvdata/Makefile (modules): Add TCVN5712-1. * iconvdata/TESTS: Add TCVN5712-1. * iconvdata/gconv-modules: Likewise. * iconvdata/tcvn5712-1.c: New file. * iconvdata/testdata/TCVN5712-1: New file. * iconvdata/testdata/TCVN5712-1..UTF8: New file.
* Update.Ulrich Drepper2001-11-271-2/+2
| | | | | | 2001-11-21 Bruno Haible <bruno@clisp.org> * charmaps/ISO-8859-16: Swap 0xa5 and 0xab entries.
* Update.Ulrich Drepper2001-10-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-29 Jes Sorensen <jes@trained-monkey.org> * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext): Add sc_loadrs and sc_rbs_bas to match current kernel. 2001-09-27 Jakub Jelinek <jakub@redhat.com> * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf). 2001-09-27 Jakub Jelinek <jakub@redhat.com> * elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded object has been bumped because of relocation dependency, avoid duplicates in l_scope. (show_scope): Fix typos. * elf/Makefile: Add rules to build and run reldep6. * elf/reldep6.c: New file. * elf/reldep6mod0.c: New file. * elf/reldep6mod1.c: New file. * elf/reldep6mod2.c: New file. * elf/reldep6mod3.c: New file. * elf/reldep6mod4.c: New file. 2001-09-26 Jakub Jelinek <jakub@redhat.com> * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call sparc64_fixup_plt. (sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety for non-lazy binding. Fix .plt[32768+] handling. (elf_machine_plt_value): Don't add addend. (elf_machine_rela): Call sparc64_fixup_plt instead of elf_machine_fixup_plt. (elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for dynamic linker at 0xfffff800XXXXXXXX. * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
* Update.Ulrich Drepper2001-08-132-0/+524
| | | | | | | | | | | | | | | | 2001-08-12 Ulrich Drepper <drepper@redhat.com> * iconvdata/Makefile: Add rules to build ISO-IR-209 and MAC-SAMI. * iconvdata/iso-ir-209.c: New file. * iconvdata/mac-sami.c: New file. * iconvdata/gconv-modules: Add entries for ISO-IR-209 and MAC-SAMI. * iconvdata/tst-tables.sh: Likewise. * posix/getopt.c: Remove store_args_and_env which is not needed since USE_NONOPTION_FLAGS is undefined anyhow. Use __libc_argc and __libc_argv variables. Now returns pointer to first character after "LD_".
* Update.Ulrich Drepper2001-08-042-0/+534
| | | | | | | | | | | | | | | | | 2001-08-04 Ulrich Drepper <drepper@redhat.com> * libio/genops.c (_IO_unbuffer_write): Force streams in narrow orientation so that conversion modules aren't used anymore. * malloc/set-freeres.c: Call _IO_cleanup before running subfreeres functions to avoid using wide streams afterwards. * iconvdata/Makefile: Add rules to build GEORGIAN-PS and GEORGIAN-ACADEMY. * iconvdata/georgian-ps.c: New file. * iconvdata/georgian-academy.c: New file. * iconvdata/gconv-modules: Add entries for GEORGIAN-PS and GEORGIAN-ACADEMY. * iconvdata/tst-tables.sh: Add GEORGIAN-PS and GEORGIAN-ACADEMY.
* Update.Ulrich Drepper2001-08-031-0/+246
| | | | | | * iconvdata/Makefile: Add rules to build KOI8-T module. * iconvdata/koi8-t.c: New file. * iconvdata/gconv-modules: Add entries for KOI8-T.
* Update.Ulrich Drepper2001-06-171-1/+4
| | | | | | | | | 2001-06-09 Bruno Haible <haible@clisp.cons.org> * charmaps/BIG5-HKSCS: Renamed from charmaps/BIG5HKSCS. Change code_set_name to BIG5-HKSCS. Add BIG5HKSCS alias. * charmaps/SHIFT_JIS: Renamed from charmaps/SJIS. Change code_set_name
* Update.Ulrich Drepper2001-06-171-0/+7092
| | | | | | | | | 2001-05-26 Bruno Haible <haible@clisp.cons.org> * charmaps/SHIFT_JIS: Renamed from charmaps/SJIS. Change code_set_name to SHIFT_JIS. Add SJIS as alias. * Makefile (CHARMAPS): For SJIS locale, use SHIFT_JIS charmap. * gen-locale.sh: Likewise.
* Renamed to Shift_JIS.Ulrich Drepper2001-06-171-7091/+0
|
* Update for Unicode 3.1: Add <U03F4>..<U03F5>. Use full Hangul syllable ↵Ulrich Drepper2001-06-091-11176/+30796
| | | | names. Add Unicode planes 1 (scripts, symbols), 2 (CJK), 14 (tags), 15 and 16 (private use). Update width table. Assign width 1 to <U3008>, <U3009>, <U3014>, <U3015>, <U3018>, <U3019>.
* Update.Ulrich Drepper2001-06-061-4198/+41354
| | | | | | | | | | | | | 2001-06-06 Ulrich Drepper <drepper@redhat.com> * timezone/zic.c: Update from tzcode2001c. * timezone/private.h: Likewise. * timezone/africa: Update from tzdata2001c. * timezone/asia: Likewise. * timezone/europe: Likewise. * timezone/northamerica: Likewise. * timezone/southamerica: Likewise. * timezone/zone.tab: Likewise.
* Update.Ulrich Drepper2001-06-061-33889/+5495
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-04 Bruno Haible <haible@clisp.cons.org> * iconv/loop.c (UNICODE_TAG_HANDLER): New macro. * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke UNICODE_TAG_HANDLER. (__gconv_transform_internal_ucs2): Likewise. (__gconv_transform_internal_ucs2reverse): Likewise. * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER. * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise. * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise. * iconvdata/big5.c (BODY for TO_LOOP): Likewise. * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise. * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise. * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise. * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise. * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise. * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise. * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise. * iconvdata/gbk.c (BODY for TO_LOOP): Likewise. * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise. * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise. * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise. * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise. * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise. * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise. * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise. * iconvdata/iso646.c (BODY for TO_LOOP): Likewise. * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise. * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise. * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise. * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise. * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise. * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise. * iconvdata/johab.c (BODY for TO_LOOP): Likewise. * iconvdata/sjis.c (BODY for TO_LOOP): Likewise. * iconvdata/t.61.c (BODY for TO_LOOP): Likewise. * iconvdata/uhc.c (BODY for TO_LOOP): Likewise. * iconvdata/unicode.c (BODY for TO_LOOP): Likewise. * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j, TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z, TAG_language_zh, CURRENT_TAG_MASK): New enum values. (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set is already selected but set2 or tag are set. (conversion): New enum type. (cvlist_t): New type. (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros. (conversion_lists): New array. (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja", prefer conversion to Japanese character sets. If "zh", prefer conversion to GB2312. If "ko", prefer conversion to KSC5601. Small optimizations. (INIT_PARAMS): Add tag. (UPDATE_PARAMS): Add tag. 2001-06-04 Bruno Haible <haible@clisp.cons.org> * locale/programs/locfile.c (write_locale_data): Before creat(), unlink the file, to avoid crashing the processes that mmap it. Change a double slash to a single slash. Free fname in case of error return. 2001-06-02 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03 changes, do the special handling for denormal numbers, not for normalized numbers (patch by <trevin@xmission.com>). * math/test-misc.c (main): Test frexpl with denormal arguments. 2001-06-04 Jakub Jelinek <jakub@redhat.com> * math/libm-test.inc (llround_test): Add two new llround tests. * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow overflow when rounding away from zero. 2001-06-04 Jakub Jelinek <jakub@redhat.com> * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2. * math/math_private.h (__ieee754_log2, __ieee754_log2f, __ieee754_log2l): New prototypes. * sysdeps/generic/w_log2.c: New file. * sysdeps/generic/w_log2f.c: New file. * sysdeps/generic/w_log2l.c: New file. * sysdeps/generic/s_log2l.c: Move... * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l. * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0) and log2(x < 0). * sysdeps/i386/fpu/s_log2.S: Move... * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2. * sysdeps/i386/fpu/s_log2f.S: Move... * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f. * sysdeps/i386/fpu/s_log2l.S: Move... * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l. * sysdeps/m68k/fpu/s_log2.S: Move... * sysdeps/m68k/fpu/e_log2.S: ...to here. Rename to __ieee754_log2. * sysdeps/m68k/fpu/s_log2f.S: Move... * sysdeps/m68k/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f. * sysdeps/m68k/fpu/s_log2l.S: Move... * sysdeps/m68k/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l. * sysdeps/ieee754/dbl-64/s_log2.c: Move... * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to __ieee754_log2. * sysdeps/ieee754/flt-32/s_log2f.c: Move... * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to __ieee754_log2f. 2001-06-04 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that even arguments which result in denormalized exp2 are accepted. (__exp2): Arguments equal to u_threshold already result into underflow. * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise. * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise. * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too low, with corrected lowmark use greaterequal, not greater. * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise. 2001-06-04 Jakub Jelinek <jakub@redhat.com> * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX. * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf. * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise. * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise. * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise. * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise. * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise. * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise. 2001-06-04 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument gave non-finite result instead of using constant in generic version. * sysdeps/generic/w_coshf.c (__coshf): Likewise. * sysdeps/generic/w_cosh.c (__cosh): Likewise. * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove. (__exp10): Test if finite argument gave non-finite result. * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f): Likewise. * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l): Likewise. 2001-06-04 Jakub Jelinek <jakub@redhat.com> * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix overflow threshold constant (log(LDBL_MAX)+M_LN2l). 2001-05-29 Bruno Haible <haible@clisp.cons.org> * locale/programs/ld-ctype.c (idx_table): New struct type. (idx_table_init, idx_table_get, idx_table_add): New functions. (MAX_CHARNAMES_IDX): Remove macro. (locale_ctype_t): Change type of charnames_idx field. (ctype_startup): Change initialization of charnames_idx field. (find_idx): Use idx_table_get and idx_table_add for speed. * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value computation of characters in a range. 2001-05-29 Bruno Haible <haible@clisp.cons.org> * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>, <U03F5>. (__ucs_to_gb18030_tab1): Likewise. (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>. (BODY for TO_LOOP): Likewise. * iconvdata/tst-table-charmap.sh: Update for charmaps containing <U00xxxxxx> syntax. * iconvdata/tst-table-from.c (bmp_only): New variable. (utf8_decode): If bmp_only, don't return characters outside Unicode plane 0. (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print a conversion line if utf8_decode returns NULL. * iconvdata/tst-table-to.c (main): When testing encodings other than UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8 instead of UCS-2 as input. * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000 of the charmap. 2001-05-29 Bruno Haible <haible@clisp.cons.org> * iconvdata/cns11643l1.c: Update to Unicode 3.1. (__cns11643l1_to_ucs4_tab): Regenerated. (__cns11643l1_from_ucs4_tab12): Regenerated. * iconvdata/cns11643.c: Update to Unicode 3.1. (__cns11643l14_to_ucs4_tab): Remove array. (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab, __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab, __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays. (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab. (__cns11643_from_ucs4p2_tab): New array. * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration. (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab, __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab, __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations. (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14. (__cns11643_from_ucs4_tab): Remove declaration. (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New declarations. (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and U+20000..U+2A6D6. * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove declaration. (__cns11643_from_ucs4p0_tab): New declaration. (ucs4_to_cns11643l2): Update for new arrays. * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes 3 to 7. (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14. * iconvdata/EUC-TW.irreversible: New file. * iconvdata/tst-table.sh: Use it. * iconvdata/Makefile (distribute): Add CP1255.irreversible, CP1258.irreversible, EUC-TW.irreversible. 2001-05-29 Bruno Haible <haible@clisp.cons.org> * locale/C-translit.h.in: Add transliterations for new Unicode 3.1 mathematical symbols.
* Update.Ulrich Drepper2001-05-242-0/+526
| | | | | | | | | 2001-05-24 Ulrich Drepper <drepper@redhat.com> * iconvdata/Makefile: Add rules for CP10007. * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic. * iconvdata/cp10007.c: New file. * iconvdata/tst-tables.sh: Add CP10007.
* Update.Ulrich Drepper2001-02-141-55658/+49273
| | | | | * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030. Patch by Yong Li <rigel863@yahoo.com>.
* Update.Ulrich Drepper2000-12-042-3/+3
| | | | | | | | | | * iconvdata/SJIS.irreversible: Remove unnecessary entries. * iconvdata/EUC-JP.irreversible: Remove unnecessary entries. * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde. * iconvdata/jis0208.c: Likewise. * iconvdata/jis0212.c: Likewise. Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
* Update.Ulrich Drepper2000-11-201-268/+0
| | | | | | | | | 2000-11-20 Ulrich Drepper <drepper@redhat.com> * configure.in: Add --enable-all-warnings. * config.make.in (all-warnings): New variable. * Makeconfig (+gccwarn): Define with many more warnings if all-warnings is yes.
* Update.Ulrich Drepper2000-11-081-1/+1
| | | | | | | | | | 2000-11-08 Ulrich Drepper <drepper@redhat.com> * iconvdata/euc-kr.c (euckr_from_ucs4): Map 0x20a9 to \xa3dc. (BODY from direction): Remove special handling of \x5c. * iconvdata/EUC-KR.irreversible: Adjust for this change. * iconvdata/testdata/EUC-KR..UTF8: Likewise. Reported by Jungshik Shin <jshin@pantheon.yale.edu>.
* * charmaps/BIG5: Add mapping for <U20AC> back.Ulrich Drepper2000-11-071-4/+2
| | | | Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
* Update.Ulrich Drepper2000-10-312-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * posix/runtests.c (main): Don't use exit() to avoid warning with broken compilers. * string/bug-strncat1.c: Undefine __USE_STRING_INLINES before defining it again to avoid warning. * string/bug-strpbrk1.c: Likewise. * string/bug-strspn1.c: Likewise. 2000-10-29 Bruno Haible <haible@clisp.cons.org> * locale/C-translit.h.in: Include more rules from translit_neutral. Remove a few German and Danish specific rules. * locale/gen-translit.pl: Avoid an error when printing a string containing a '%' character. * locale/C-translit.h: Regenerated. * intl/translit.po: Choose different translations. * intl/tst-translit.c: Update. 2000-10-29 Bruno Haible <haible@clisp.cons.org> * locale/programs/ld-ctype.c (translit_include_t): New type. (locale_ctype_t): Remove translit_copy_locale, translit_copy_repertoire fields, add translit_include field. (ctype_read): After seeing "translit_start" in ignore_content mode, skip the entire translit section, not only one line. Remove dead test for tok_translit_end. Enqueue include statements into a list. Signal error if tok_eof seen before tok_translit_end. (translit_flatten): New function. (allocate_arrays): Call translit_flatten. 2000-10-30 Ulrich Drepper <drepper@redhat.com>
* Update.Ulrich Drepper2000-10-301-14/+16
| | | | | | | | | | 2000-10-29 Ulrich Drepper <drepper@redhat.com> * iconvdata/big5.c: Update. Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>. * iconvdata/Makefile (distribute): Add BIG5.irreversible. * iconvdata/BIG5.irreversible: New file.
* Update.Ulrich Drepper2000-10-271-0/+262
| | | | | | | | | | 2000-10-27 Ulrich Drepper <drepper@redhat.com> * iconvdata/Makefile (modules): Add VISCII. (gen-8bit-modules): Add viscii. * iconvdata/viscii.c: New file. * iconvdata/gconv-modules: Add entries for VISCII. * iconvdata/tst-tables.sh: Add VISCII.
* Update.Ulrich Drepper2000-10-231-0/+9
| | | | | | | | | | | | | | | | | | 2000-10-22 Bruno Haible <haible@clisp.cons.org> * iconvdata/big5hkscs.c (big5hkscs_to_ucs): Add irreversible mappings for 0x8BF8, 0xA27E..0xA2A7. * iconvdata/BIG5HKSCS.irreversible: New file. 2000-10-23 Jakub Jelinek <jakub@redhat.com> * timezone/zdump.c (main): setlocale LC_CTYPE as well as LC_MESSAGES. * timezone/zic.c (main): Likewise. 2000-10-23 Thorsten Kukuk <kukuk@suse.de> * nscd/connections.c (invalidate_cache): Don't invalidate a cache if it is not enabled.
* Update.Ulrich Drepper2000-10-041-1/+1
| | | | | | | * iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9. (BODY from direction): Map \x5c to U20a9. * iconvdata/testdata/EUC-KR..UTF8: Adjust to this change. * iconvdata/EUC-KR.irreversible: New file.
* Update.Ulrich Drepper2000-10-015-0/+12552
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-30 Bruno Haible <haible@clisp.cons.org> * locale/programs/charmap-dir.h: New file. * locale/programs/charmap-dir.c: New file. * locale/programs/linereader.h (lr_create): New declaration. * locale/programs/linereader.c (lr_create): New function, split out from lr_open. (lr_open): Tailcall lr_create. * locale/programs/locale.c: Include "charmap-dir.h". Don't include <unistd.h>. (xstrdup): New declaration. (more_help): Use xstrdup instead of strdup. (write_locales): Likewise. When encountering a symbolic link, call stat. (write_charmaps): Simplify using the charmap-dir.h functions. Use xstrdup instead of strdup. * locale/programs/charmap.c: Include "charmap-dir.h". Don't include <dirent.h> and <unistd.h>. (cmlr_open): New function. (charmap_read): Use cmlr_open instead of lr_open. Simplify using the charmap-dir.h functions. * locale/Makefile (distribute): Add charmap-dir.h. (lib-modules): Add charmap-dir. (CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn wants a 'char **', not a 'const char **'. * include/spawn.h: New file. 2000-09-30 Bruno Haible <haible@clisp.cons.org> * posix/spawn_faction_init.c: Include "spawn_int.h". (__posix_spawn_file_actions_realloc): Fix second realloc argument. 2000-09-30 Bruno Haible <haible@clisp.cons.org> * locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968. 2000-09-30 Bruno Haible <haible@clisp.cons.org> * wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration. (internal_wcwidth): Remove the tests for L'\0' and iswprint. * locale/programs/ld-ctype.c (find_idx): If max == NULL, return a pointer to the table entry, without extending the table. (allocate_arrays): Set a width only for characters with 'print' property. Set the width of L'\0' to 0. * locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff for unprintable characters. Set entry of NUL to 0. 2000-09-30 Bruno Haible <haible@clisp.cons.org> * locale/programs/charmap.c (charmap_read): Avoid redundant tests. Don't forget to call closedir when the filename was found as a code_set_name. 2000-09-30 Bruno Haible <haible@clisp.cons.org> * iconv/gconv.h (__gconv_trans_context_fct): Change first argument's type to 'void *'. 2000-09-30 Bruno Haible <haible@clisp.cons.org> * locale/programs/ld-ctype.c (wctype_table_init): Initialize level1, level2, and level3 as well. (wctype_table_add): Remove a few unnecessary conditionals. 2000-09-30 Ralf Baechle <ralf@gnu.org> * wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc. 2000-09-30 H.J. Lu <hjl@gnu.org>
* Update.Ulrich Drepper2000-10-011-4/+2
| | | | | | * charmaps/ISO-IR-197: Remove alias "none". 2000-09-30 Bruno Haible <haible@clisp.cons.org>
* Update.Ulrich Drepper2000-10-011-11172/+11181
| | | | | | | * charmaps/UTF-8: Add the correct Hangul syllable names. Change the width of format control characters to 0. 2000-09-30 Bruno Haible <haible@clisp.cons.org>
* Update.Ulrich Drepper2000-09-271-850/+0
| | | | | | 2000-09-26 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
* Update.Ulrich Drepper2000-09-261-10/+17693
| | | | | | | | 2000-09-25 Ulrich Drepper <drepper@redhat.com> * locale/Makefile (routines): Add nl_langinfo_l. * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l. * locale/nl_langinfo_l.c: New file.
* Update.Ulrich Drepper2000-09-251-0/+95
| | | | | | | * charmaps/GBK: Add commented mappings for GBK characters not yet in Unicode. 2000-09-23 Bruno Haible <haible@clisp.cons.org>
* Update.Ulrich Drepper2000-09-251-1/+0
| | | | | | 2000-09-23 Bruno Haible <haible@clisp.cons.org> * charmaps/GBK: Remove /x80 entry.
* Update.Ulrich Drepper2000-09-251-0/+1
| | | | | | | | | | | 2000-09-25 Ulrich Drepper <drepper@redhat.com> * SUPPORTED: Remove ko_KR.JOHAB. We don't want to encourage people to use it. 2000-09-23 Bruno Haible <haible@clisp.cons.org> * charmaps/JOHAB: Add identity mapping for 0x7f.
* Update.Ulrich Drepper2000-09-143-25597/+25597
| | | | | | | 2000-09-14 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change to not use sysctl(). Too many architectures have problems with it.
* Update.Ulrich Drepper2000-09-121-6400/+6400
| | | | | | | | 2000-09-12 Ulrich Drepper <drepper@redhat.com> * iconvdata/gb18030.c: Many many changes. Make consistent with charmap and with itself. * iconvdata/tst-tables.sh: Test GB18030.
* Update.Ulrich Drepper2000-09-111-0/+60
| | | | | | | 2000-09-11 Ulrich Drepper <drepper@redhat.com> * iconv/skeleton.c: Fix last patch, add missing parameter to unaligned function call.
* Update.Ulrich Drepper2000-09-091-15156/+45343
| | | | * charmaps/GB18030: Update once more.
* Update.Ulrich Drepper2000-09-082-1/+17187
| | | | | | | 2000-09-08 Ulrich Drepper <drepper@redhat.com> * charmaps/JOHAB: New file. * SUPPORTED: Add ko_KR.JOHAB.
* Update.Ulrich Drepper2000-09-081-3304/+2
| | | | * iconvdata/tst-tables.sh: Enable EUC-KR test.
* Update.Ulrich Drepper2000-09-057-492/+23258
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-04 Andreas Schwab <schwab@suse.de> * elf/Makefile (all-dl-routines): New variable. (elide-routines.os): Use it instead of $(dl-routines). (all-rtld-routines): New variable. (extra-objs): Use it instead of $(rtld-routines). ($(objpfx)dl-allobjs.os): Likewise. * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify sysdep-dl-routines and sysdep_routines instead of rtld-routines and dl-routines. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * iconv/gconv_trans.c (__gconv_translit_find): Update open_count. Set fname to NULL if the module wasn't found. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to true if trans->name already ends in ".so". 2000-09-03 Bruno Haible <haible@clisp.cons.org> * iconv/gconv_int.h (__gconv_release_shlib): Change return type to void. * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound. (__gconv_release_shlib): Change return type to void. * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set step->__counter here. * iconv/gconv_db.c (free_derivation): Don't call a step's destructor if the reference is zero. (release_step): New function. (gen_steps): Always initialize the __counter to 1. Use release_step. Don't call the destructor on the step whose initializer failed. (increment_counter): Use release_step. Don't normally run destructors here. (__gconv_close_transform): Use release_step. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove. (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly. If the first byte is 0x8E, don't ask for 4 bytes until it has been verified that the second byte is valid. Leave it to cns11643_to_ucs4 to check for incomplete input. * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196. (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and 0x9f9d..0x9fa5. * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196. (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129. * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend upto index 0x0052. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * iconv/gconv_db.c (find_derivation): Always use the least-cost solution. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF are invalid. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C. * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to U+007E. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * iconvdata/tst-tables.sh: New file. * iconvdata/tst-table.sh: New file. * iconvdata/tst-table-from.c: New file. * iconvdata/tst-table-to.c: New file. * iconvdata/tst-table-charmap.sh: New file. * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to. (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh, tst-table-from.c, tst-table-to.c, EUC-JP.irreversible, ISIRI-3342.irreversible, SJIS.irreversible. (tests): Add dependency on tst-tables.out. (tst-tables.out, tst-tables-clean): New rules. (do-tests-clean, common-mostlyclean): Require tst-tables-clean. * iconvdata/ISIRI-3342.irreversible: New file. * iconvdata/EUC-JP.irreversible: New file. * iconvdata/SJIS.irreversible: New file. 2000-09-04 Ulrich Drepper <drepper@redhat.com> * manual/locale.texi (General Numeric): Update description of representation of the grouping information in the locale data. Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>. Reported by Rob Levin <lilo@transvirtual.com>.
* Update.Ulrich Drepper2000-09-021-9/+0
| | | | | | * iconvdata/big5hkscs.c: Regenerated from charmap. * iconvdata/testdata/BIG5HKSCS: Regenerated. * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
* Update.Ulrich Drepper2000-09-011-2/+13456
| | | | | | | 2000-09-01 Ulrich Drepper <drepper@redhat.com> * libio/fmemopen.c (fmemopen_seek): Add default case in switch statement. General cleanup.
* Update.Ulrich Drepper2000-08-301-20396/+3450
| | | | | | | | | | | * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the official file. * iconvdata/TESTS: Add BIG5HKSCS entry. * iconvdata/testdata/BIG5HKSCS: New file. * iconvdata/testdata/BIG5HKSCS..UTF8: New file. * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is always true.
* Update.Ulrich Drepper2000-08-301-5/+14845
| | | | | | | | | | 2000-08-29 Ulrich Drepper <drepper@redhat.com> * charmaps/GB18030: Add entries from GBK not present here. * SUPPORTED: Add zh_TW.EUC-JP and zh_CN.GB18030. * locales/iso14651_t1: Use hexadecimal ellipsis in <HAN> script.
* Update.Ulrich Drepper2000-08-292-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 2000-08-29 Akira Higuchi <a@kondara.org> * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct, and __end_fct fields of struct __gconv_step. * iconv/Makefile (tests): Add iconv-bug2. * iconv/iconv-bug2.c: New file. * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr' instead of 'inptr - inend' to ksc5601_to_ucs4. * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character. * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete character or shift sequence is found at the end of the input string, return__GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT. * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise. * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise. * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return __GCONV_ILLEGAL_INPUT for 8bit characters.
* Update.Ulrich Drepper2000-08-231-0/+21802
| | | | | | * locales/zh_HK: New file. * charmaps/BIG5HKSCS: New file.
* Update.Ulrich Drepper2000-08-031-302/+433
| | | | | | | 2000-08-03 Ulrich Drepper <drepper@redhat.com> * iconvdata/big5.c: Updated. Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
* Update.Ulrich Drepper2000-07-317-173/+550
| | | | | | | | | 2000-07-31 Andreas Jaeger <aj@suse.de> * inet/Versions: Remove getipnodebyaddr and friends from GLIBC_2.2. * resolv/netdb.h: Remove getipnodebyaddr and friends.
* Update.Ulrich Drepper2000-07-291-0/+17861
| | | | | | | 2000-07-26 Philip Blundell <philb@gnu.org> * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function. (elf_machine_rel): Use it for out-of-range PC24 relocs.