aboutsummaryrefslogtreecommitdiff
path: root/iconvdata
AgeCommit message (Collapse)AuthorFilesLines
2013-08-30Fix typos.Ondřej Bílka2-2/+2
2013-06-11Update BIG5-HKSCS charmap to HKSCS-2008Andreas Schwab5-11250/+12390
2013-06-05Remove trailing whitespace.Joseph Myers1-128/+128
2013-05-31Link extra-libs consistently with libc and ld.so.Joseph Myers1-8/+1
2013-05-16Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold59-0/+117
2013-01-11Add --enable-hardcoded-path-in-tests configure optionH.J. Lu3-6/+6
2013-01-10Revert "Update BIG5-HKSCS charmap to HKSCS-2008"Andreas Schwab5-12368/+11250
This reverts commit e79f00ebb776ad35ec6a9a4c89bc8046052674f0.
2013-01-10Update BIG5-HKSCS charmap to HKSCS-2008Andreas Schwab5-11250/+12368
[BZ #14991] * charmaps/BIG5-HKSCS: Update to HKSCS-2008. [BZ #14991] * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4) (from_ucs4_idx): Regenerate. (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros. (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM) (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO) (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM) (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP) (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT) (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros. (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define from FROM_LOOP and TO_LOOP specific macros. (BODY): Handle combining characters. * iconvdata/BIG5HKSCS.irreversible: Update. * iconvdata/BIG5HKSCS.precomposed: New file. * iconvdata/testdata/BIG5HKSCS: Add all characters from range 0x8740 - 0x87DF. * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers346-352/+346
2012-11-02Fix printf format mismatchesAndreas Schwab2-2/+2
2012-10-26Remove ${SHELL} from tst-table.sh/tst-tables.shH.J. Lu2-2/+2
2012-10-24Support cross-testing.Joseph Myers2-1/+3
2012-10-24Define and use $(run-built-tests).Joseph Myers1-1/+1
2012-10-22Don't pass shell loops' stdin to programs run on glibc's host.Jim Blandy2-7/+7
2012-10-19Use $(run-program-prefix) in more shell script tests.Joseph Myers3-8/+12
2012-09-25Set "fail on error" mode directly in testsuite shell scriptsDmitry V. Levin2-4/+5
2012-06-06Fix validation check when converting from ibm930 to utfSiddhesh Poyarekar1-2/+3
[BZ #14134] When converting IBM930 code with iconv(), if IBM930 code which includes invalid multibyte character "0xffff" is specified, then iconv() segfaults. This is easy to see using the following command: echo '0x0e 0x43 0x8c 0xff 0xff 0x43 0xbd 0x43 0xbd' | xxd -r | iconv -f IBM930 -t UTF-8
2012-05-21[BZ #13691], Revert breakage of iconv() converter for TCVN-5712.Andreas Jaeger1-3/+2
* iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider inptr and inend for must_buffer_ch. * wcsmbs/tst-mbsnrtowcs.c: Remove file. * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs. * stdio-common/Makefile (tests): Remove bug15. (bug15-ENV): Remove macro. * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1 anymore. localedata: * SUPPORTED: Remove vi_VN.TCVN/TCVN5712-1. * tst-strptime.c: Remove, we do not support vi_VN.TCVN5712-1 anymore. * Makefile (LOCALES): Remove vi_VN.TCVN5712-1 from list. (tests): Remove tst-strptime.
2012-05-11Complete GB18030 charmapAndreas Schwab1-2554/+8657
2012-04-02Fix bug in previous tcvn5712 commit e64d2de52.Tulio Magno Quites Machado Filho1-2/+3
[BZ #13691] * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using inptr and inend, rather than using last_ch.
2012-03-30Fix a bug when converting strings with 1 character using TCVN5712-1Tulio Magno Quites Machado Filho1-2/+2
It isn't necessary to buffer the last character of strings. This can cause a bug with strings that have 1 character between 0x0041 and 0x01b0. [BZ #13691] * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings with only 1 character between 0x0041 and 0x01b0. * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs. * wcsmbs/tst-mbsnrtowcs.c: New file.
2012-03-07Remove distribute variable from MakefilesUlrich Drepper1-78/+1
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert346-1041/+692
2011-12-23iconv mapping of 0xA8 0xEC in CP1258 is non-canonicalBruno Haible1-2/+1
2011-12-23iconv mapping of U+0385 in TCVN5712-1 is incorrectBruno Haible1-5/+4
2011-12-21Store invocation-specific data of conversion modules in __gconv_step_dataUlrich Drepper3-43/+43
2011-11-17Remove handling of VCs other then gitUlrich Drepper1-1/+1
2011-07-06iconvdata/johab.c: Don't inline unlikely called functionUlrich Drepper1-4/+4
2011-07-02Consolidate shlib.lds references in new variables.Roland McGrath1-1/+1
2011-06-28Fix crash in GB18030 encoderAndreas Schwab1-6/+6
2011-05-27Add test for last iconv bugUlrich Drepper2-1/+69
2011-05-27Fix conversion to ISO-2022-JP-2 with ISO-8859-7 designationAndreas Schwab1-6/+6
2011-05-21Fix CP1258 conversionUlrich Drepper2-10/+10
a5 ec was mishandled and the other direction appropriately so, too.
2011-05-17Update GB18030 to 2005 versionUlrich Drepper1-18052/+10464
2011-05-14Fix handling of conversion problem in CP932 moduleUlrich Drepper3-40/+81
2011-05-09Add support for CP770, CP771, CP772, CP773, and CP774Ulrich Drepper21-19/+331
2010-09-04Remove invalid iconv aliases.Ulrich Drepper1-5/+0
2009-09-20Fix typo in is646 gconv moduleAndreas Schwab1-1/+1
2009-04-24* iconvdata/sjis.c (BODY): Don't advance inptr beforeUlrich Drepper1-12/+16
STANDARD_FROM_LOOP_ERR_HANDLER (2) for 2 byte invalid input. Use STANDARD_FROM_LOOP_ERR_HANDLER with 2 instead of 1 for two byte chars.
2008-12-30* iconvdata/Makefile (iconv-rules): Use LC_ALL=C when running awkUlrich Drepper1-0/+1
script.
2008-10-312008-09-09 Aurelien Jarno <aurelien@aurel32.net>Ulrich Drepper1-0/+1
* iconvdata/gconv-modules: Add LATIN9 as an alias to ISO-8859-15. 2008-10-31 Ulrich Drepper <drepper@redhat.com>
2008-10-31* iconvdata/gconv-modules: Use LATIN9 as an alias to ISO-8859-15,Ulrich Drepper1-2/+2
not LATIN-9.
2008-05-21Add localedata.Ulrich Drepper1-0/+1
2008-05-15* iconvdata/run-iconv-test.sh: Use = instead of == in test.Ulrich Drepper1-2/+2
Patch by Reuben Thomas.
2008-05-15* iconvdata/Makefile (bug-iconv6-ENV, tst-iconv7-ENV): Define.Ulrich Drepper2-1/+4
* iconvdata/bug-iconv6.c (do_test): Use de_DE.UTF-8 locale.
2008-01-09008-01-08 Jakub Jelinek <jakub@redhat.com>Ulrich Drepper13-42/+141
* iconv/loop.c (UPDATE_PARAMS): Define to empty statement if not defined. (REINIT_PARAMS): Likewise. Undefine before end of file. (STANDARD_TO_LOOP_ERR_HANDLER): Use UPDATE_PARAMS before calling transliteration hooks and REINIT_PARAMS afterwards. * iconvdata/iso-2022-jp.c (BODY): Use a separate variable for status. (REINIT_PARAMS): Define. * iconvdata/ibm1364.c (REINIT_PARAMS): Likewise. * iconvdata/ibm930.c (REINIT_PARAMS): Likewise. * iconvdata/ibm933.c (REINIT_PARAMS): Likewise. * iconvdata/ibm935.c (REINIT_PARAMS): Likewise. * iconvdata/ibm937.c (REINIT_PARAMS): Likewise. * iconvdata/ibm939.c (REINIT_PARAMS): Likewise. * iconvdata/iso-2022-cn.c (REINIT_PARAMS): Likewise. * iconvdata/iso-2022-cn-ext.c (REINIT_PARAMS): Likewise. * iconvdata/iso-2022-jp-3.c (REINIT_PARAMS): Likewise. * iconvdata/iso-2022-kr.c (REINIT_PARAMS): Likewise. * iconvdata/Makefile: Add rules to build and run tst-iconv7.c. * iconvdata/tst-iconv7.c: New test.
2007-12-12[BZ #5465]Ulrich Drepper6-3/+114
2007-12-12 Ulrich Drepper <drepper@redhat.com> [BZ #5465] * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S [!SHARED] (__pthread_cond_timedwait): Don't use VDSO.
2007-12-10[BZ #5424, BZ #5428, BZ #5451]Ulrich Drepper9-35/+45
2007-12-08 Ulrich Drepper <drepper@redhat.com> [BZ #5424] * stdio-common/vfprintf.c: Do not overflow when adding to done. * stdio-common/Makefile (tests): Add bug22. * stdio-common/bug22.c: New file. [BZ #5451] * time/getdate.c: Fix filling in default values. * time/bug-getdate1.c: New file. * time/Makefile: Add rules to build and run bug-getdate1. * iconvdata/ebcdic-is-friss.c: Use 8bit-gap instead of 8bit-generic. * iconvdata/ebcdic-es.c: Likewise. * iconvdata/ebcdic-es-a.c: Likewise. * iconvdata/ebcdic-uk.c: Likewise. * iconvdata/iso8859-16.c: Likewise. * iconvdata/viscii.c: Likewise. * iconvdata/iso8859-9e.c: Likewise. * iconvdata/Makefile: Adjust appropriately. [BZ #5428] * wcsmbs/wchar.h: Unconditionally undefine __need_mbstate and __need_wint_t. * iconvdata/gconv-modules: Likewise.
2007-12-08[BZ #5427]Ulrich Drepper4-8/+38
* iconvdata/hp-roman9.c: New file. * iconvdata/Makefile: Add rules for hp-roman9.c. * iconvdata/tst-tables.sh: Add HP-ROMAN9. * iconvdata/hp-roman8.c: Use 8bit-gap instead of 8bit-generic. * iconvdata/Makefile: Adjust appropriately. keyword for gcc's braced-groups.
2007-11-08[BZ #5277]Ulrich Drepper2-1/+53
2007-11-07 Ulrich Drepper <drepper@redhat.com> [BZ #5277] * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): If conversion failed because output buffer is too small break, don't loop. * iconvdata/Makefile (tests): Add bug-iconv6. * iconvdata/bug-iconv6.c: New file.