about summary refs log tree commit diff
path: root/iconvdata
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix fallout from Joseph's untested Makeconfig change.Roland McGrath2014-02-281-4/+4
|
* Consistently include Makeconfig after defining subdir.Joseph Myers2014-02-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In <https://sourceware.org/ml/libc-alpha/2014-01/msg00196.html> I noted it was necessary to add includes of Makeconfig early in various subdirectory makefiles for the tests-special variable settings added by that patch to be conditional on configuration information. No-one commented on the general question there of whether Makeconfig should always be included immediately after the definition of subdir. This patch implements that early inclusion of Makeconfig in each directory (which is a lot easier than consistent placement of includes of Rules). Includes are added if needed, or moved up if already present. Subdirectory "all:" targets are removed, since Makeconfig provides one. There is potential for further cleanups I haven't done. Rules and Makerules have code such as ifneq "$(findstring env,$(origin headers))" "" headers := endif to override to empty any value of various variables that came from the environment. I think there is a case for Makeconfig setting all the subdirectory variables (other than subdir) to empty to ensure no outside value is going to take effect if a subdirectory fails to define a variable. (A list of such variables, possibly out of date and incomplete, is in manual/maint.texi.) Rules and Makerules would give errors if Makeconfig hadn't already been included, instead of including it themselves. The special code to override values coming from the environment would then be obsolete and could be removed. Tested x86_64, including that installed binaries are identical before and after the patch. * argp/Makefile: Include Makeconfig immediately after defining subdir. * assert/Makefile: Likewise. * benchtests/Makefile: Likewise. * catgets/Makefile: Likewise. * conform/Makefile: Likewise. * crypt/Makefile: Likewise. * csu/Makefile: Likewise. (all): Remove target. * ctype/Makefile: Include Makeconfig immediately after defining subdir. * debug/Makefile: Likewise. * dirent/Makefile: Likewise. * dlfcn/Makefile: Likewise. * gmon/Makefile: Likewise. * gnulib/Makefile: Likewise. * grp/Makefile: Likewise. * gshadow/Makefile: Likewise. * hesiod/Makefile: Likewise. * hurd/Makefile: Likewise. (all): Remove target. * iconvdata/Makefile: Include Makeconfig immediately after defining subdir. * inet/Makefile: Likewise. * intl/Makefile: Likewise. * io/Makefile: Likewise. * libio/Makefile: Likewise. (all): Remove target. * locale/Makefile: Include Makeconfig immediately after defining subdir. * login/Makefile: Likewise. * mach/Makefile: Likewise. (all): Remove target. * malloc/Makefile: Include Makeconfig immediately after defining subdir. (all): Remove target. * manual/Makefile: Include Makeconfig immediately after defining subdir. * math/Makefile: Likewise. * misc/Makefile: Likewise. * nis/Makefile: Likewise. * nss/Makefile: Likewise. * po/Makefile: Likewise. (all): Remove target. * posix/Makefile: Include Makeconfig immediately after defining subdir. * pwd/Makefile: Likewise. * resolv/Makefile: Likewise. * resource/Makefile: Likewise. * rt/Makefile: Likewise. * setjmp/Makefile: Likewise. * shadow/Makefile: Likewise. * signal/Makefile: Likewise. * socket/Makefile: Likewise. * soft-fp/Makefile: Likewise. * stdio-common/Makefile: Likewise. * stdlib/Makefile: Likewise. * streams/Makefile: Likewise. * string/Makefile: Likewise. * sunrpc/Makefile: Likewise. (all): Remove target. * sysvipc/Makefile: Include Makeconfig immediately after defining subdir. * termios/Makefile: Likewise. * time/Makefile: Likewise. * timezone/Makefile: Likewise. (all): Remove target. * wcsmbs/Makefile: Include Makeconfig immediately after defining subdir. * wctype/Makefile: Likewise. libidn/ChangeLog: * Makefile: Include Makeconfig immediately after defining subdir. localedata/ChangeLog: * Makefile: Include Makeconfig immediately after defining subdir. (all): Remove target. nptl/ChangeLog: * Makefile: Include Makeconfig immediately after defining subdir. nptl_db/ChangeLog: * Makefile: Include Makeconfig immediately after defining subdir.
* Generate .test-result files for tests with special rules.Joseph Myers2014-02-211-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch, an updated version of <https://sourceware.org/ml/libc-alpha/2014-01/msg00194.html> now proposed for inclusion in glibc, extends the generation of PASS and FAIL status in .test-result files for individual tests to cover tests with their own custom makefile rules. This is just adding $(evaluate-test) calls to all such rules, since tests with multiple commands were previously split into separate tests. Note that the tests the makefiles expect to fail (posix/annexc and conformtest) currently get FAIL listed in the .test-result file, rather than XFAIL; a subsequent patch will introduce a better XFAIL mechanism. Tested x86_64. * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test). ($(objpfx)check-local-headers.out): Likewise. ($(objpfx)begin-end-check.out): Likewise. * Makerules (check-abi-%.out): Likewise. * catgets/Makefile ($(objpfx)test1.cat): Likewise. ($(objpfx)test2.cat): Likewise. ($(objpfx)de/libc.cat): Likewise. ($(objpfx)test-gencat.out): Likewise. * conform/Makefile ($(objpfx)run-conformtest.out): Likewise. * elf/Makefile ($(objpfx)order-cmp.out): Likewise. ($(objpfx)noload-mem): Likewise. ($(objpfx)tst-pathopt.out): Likewise. ($(objpfx)tst-rtld-load-self.out): Likewise. ($(objpfx)tst-array1-cmp.out): Likewise. ($(objpfx)tst-array1-static-cmp.out): Likewise. ($(objpfx)tst-array2-cmp.out): Likewise. ($(objpfx)tst-array3-cmp.out): Likewise. ($(objpfx)tst-array4-cmp.out): Likewise. ($(objpfx)tst-array5-cmp.out): Likewise. ($(objpfx)tst-array5-static-cmp.out): Likewise. ($(objpfx)check-textrel.out): Likewise. ($(objpfx)check-execstack.out): Likewise. ($(objpfx)check-localplt.out): Likewise. ($(objpfx)order2-cmp.out): Likewise. ($(objpfx)tst-leaks1-mem): Likewise. ($(objpfx)tst-leaks1-static-mem): Likewise. ($(objpfx)tst-initorder-cmp.out): Likewise. ($(objpfx)tst-initorder2-cmp.out): Likewise. ($(objpfx)tst-unused-dep.out): Likewise. ($(objpfx)tst-unused-dep-cmp.out): Likewise. * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise. * iconv/Makefile (test-iconvconfig): Likewise. * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise. ($(objpfx)iconv-test.out): Likewise. ($(objpfx)tst-tables.out): Likewise. * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise. ($(objpfx)tst-gettext.out): Likewise. ($(objpfx)tst-translit.out): Likewise. ($(objpfx)tst-gettext2.out): Likewise. ($(objpfx)tst-gettext4.out): Likewise. ($(objpfx)tst-gettext6.out): Likewise. * io/Makefile ($(objpfx)ftwtest.out): Likewise. * libio/Makefile ($(objpfx)test-freopen.out): Likewise. ($(objpfx)tst-fopenloc-cmp.out): Likewise. ($(objpfx)tst-fopenloc-mem.out): Likewise. * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise. * misc/Makefile ($(objpfx)tst-error1-mem): Likewise. * posix/Makefile ($(objpfx)globtest.out): Likewise. ($(objpfx)wordexp-tst.out): Likewise. ($(objpfx)annexc.out): Likewise. ($(objpfx)tst-fnmatch-mem): Likewise. ($(objpfx)bug-regex2-mem): Likewise. ($(objpfx)bug-regex14-mem): Likewise. ($(objpfx)bug-regex21-mem): Likewise. ($(objpfx)bug-regex31-mem): Likewise. ($(objpfx)tst-vfork3-mem): Likewise. ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise. ($(objpfx)tst-pcre-mem): Likewise. ($(objpfx)tst-boost-mem): Likewise. ($(objpfx)tst-getconf.out): Likewise. ($(objpfx)bug-ga2-mem): Likewise. ($(objpfx)bug-glob2-mem): Likewise. * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise. ($(objpfx)mtrace-tst-leaks2): Likewise. * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise. ($(objpfx)tst-printf.out): Likewise. ($(objpfx)tst-setvbuf1.out): Likewise. ($(objpfx)tst-setvbuf1-cmp.out): Likewise. * stdlib/Makefile ($(objpfx)isomac.out): Likewise. ($(objpfx)tst-fmtmsg.out): Likewise. * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise. * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise. localedata: * Makefile ($(objpfx)sort-test.out): Use $(evaluate-test). ($(objpfx)tst-fmon.out): Likewise. ($(objpfx)tst-numeric.out): Likewise. ($(objpfx)tst-locale.out): Likewise. ($(objpfx)tst-rpmatch.out): Likewise. ($(objpfx)tst-trans.out): Likewise. ($(objpfx)tst-mbswcs.out): Likewise. ($(objpfx)tst-ctype.out): Likewise. ($(objpfx)tst-wctype.out): Likewise. ($(objpfx)tst-langinfo.out): Likewise. ($(objpfx)mtrace-tst-leaks): Likewise. nptl: * Makefile ($(objpfx)tst-stack3-mem): Use $(evaluate-test). ($(objpfx)tst-tls6.out): Likewise. ($(objpfx)tst-cleanup0.out): Likewise. ($(objpfx)tst-cleanup0-cmp.out): Likewise. ($(objpfx)tst-cancel-wrappers.out): Likewise. ($(objpfx)tst-oddstacklimit.out): Likewise. nptl_db: * Makefile ($(objpfx)db-symbols.out): Use $(evaluate-test).
* Use glibc_likely instead __builtin_expect.Ondřej Bílka2014-02-1045-266/+266
|
* Update copyright notices with scripts/update-copyrightsAllan McRae2014-01-01346-346/+346
|
* Fix typos.Ondřej Bílka2013-08-302-2/+2
|
* Update BIG5-HKSCS charmap to HKSCS-2008Andreas Schwab2013-06-115-11250/+12390
|
* Remove trailing whitespace.Joseph Myers2013-06-051-128/+128
|
* Link extra-libs consistently with libc and ld.so.Joseph Myers2013-05-311-8/+1
|
* Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold2013-05-1659-0/+117
|
* Add --enable-hardcoded-path-in-tests configure optionH.J. Lu2013-01-113-6/+6
|
* Revert "Update BIG5-HKSCS charmap to HKSCS-2008"Andreas Schwab2013-01-105-12368/+11250
| | | | This reverts commit e79f00ebb776ad35ec6a9a4c89bc8046052674f0.
* Update BIG5-HKSCS charmap to HKSCS-2008Andreas Schwab2013-01-105-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.
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-02346-352/+346
|
* Fix printf format mismatchesAndreas Schwab2012-11-022-2/+2
|
* Remove ${SHELL} from tst-table.sh/tst-tables.shH.J. Lu2012-10-262-2/+2
|
* Support cross-testing.Joseph Myers2012-10-242-1/+3
|
* Define and use $(run-built-tests).Joseph Myers2012-10-241-1/+1
|
* Don't pass shell loops' stdin to programs run on glibc's host.Jim Blandy2012-10-222-7/+7
|
* Use $(run-program-prefix) in more shell script tests.Joseph Myers2012-10-193-8/+12
|
* Set "fail on error" mode directly in testsuite shell scriptsDmitry V. Levin2012-09-252-4/+5
|
* Fix validation check when converting from ibm930 to utfSiddhesh Poyarekar2012-06-061-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
* [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.Andreas Jaeger2012-05-211-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.
* Complete GB18030 charmapAndreas Schwab2012-05-111-2554/+8657
|
* Fix bug in previous tcvn5712 commit e64d2de52.Tulio Magno Quites Machado Filho2012-04-021-2/+3
| | | | | | [BZ #13691] * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using inptr and inend, rather than using last_ch.
* Fix a bug when converting strings with 1 character using TCVN5712-1Tulio Magno Quites Machado Filho2012-03-301-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.
* Remove distribute variable from MakefilesUlrich Drepper2012-03-071-78/+1
|
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-09346-1041/+692
|
* iconv mapping of 0xA8 0xEC in CP1258 is non-canonicalBruno Haible2011-12-231-2/+1
|
* iconv mapping of U+0385 in TCVN5712-1 is incorrectBruno Haible2011-12-231-5/+4
|
* Store invocation-specific data of conversion modules in __gconv_step_dataUlrich Drepper2011-12-213-43/+43
|
* Remove handling of VCs other then gitUlrich Drepper2011-11-171-1/+1
|
* iconvdata/johab.c: Don't inline unlikely called functionUlrich Drepper2011-07-061-4/+4
|
* Consolidate shlib.lds references in new variables.Roland McGrath2011-07-021-1/+1
|
* Fix crash in GB18030 encoderAndreas Schwab2011-06-281-6/+6
|
* Add test for last iconv bugUlrich Drepper2011-05-272-1/+69
|
* Fix conversion to ISO-2022-JP-2 with ISO-8859-7 designationAndreas Schwab2011-05-271-6/+6
|
* Fix CP1258 conversionUlrich Drepper2011-05-212-10/+10
| | | | a5 ec was mishandled and the other direction appropriately so, too.
* Update GB18030 to 2005 versionUlrich Drepper2011-05-171-18052/+10464
|
* Fix handling of conversion problem in CP932 moduleUlrich Drepper2011-05-143-40/+81
|
* Add support for CP770, CP771, CP772, CP773, and CP774Ulrich Drepper2011-05-0921-19/+331
|
* Remove invalid iconv aliases.Ulrich Drepper2010-09-041-5/+0
|
* Fix typo in is646 gconv moduleAndreas Schwab2009-09-201-1/+1
|
* * iconvdata/sjis.c (BODY): Don't advance inptr beforeUlrich Drepper2009-04-241-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.
* * iconvdata/Makefile (iconv-rules): Use LC_ALL=C when running awkUlrich Drepper2008-12-301-0/+1
| | | | script.
* 2008-09-09 Aurelien Jarno <aurelien@aurel32.net>Ulrich Drepper2008-10-311-0/+1
| | | | | | * iconvdata/gconv-modules: Add LATIN9 as an alias to ISO-8859-15. 2008-10-31 Ulrich Drepper <drepper@redhat.com>
* * iconvdata/gconv-modules: Use LATIN9 as an alias to ISO-8859-15,Ulrich Drepper2008-10-311-2/+2
| | | | not LATIN-9.
* Add localedata.Ulrich Drepper2008-05-211-0/+1
|
* * iconvdata/run-iconv-test.sh: Use = instead of == in test.Ulrich Drepper2008-05-151-2/+2
| | | | Patch by Reuben Thomas.
* * iconvdata/Makefile (bug-iconv6-ENV, tst-iconv7-ENV): Define.Ulrich Drepper2008-05-152-1/+4
| | | | * iconvdata/bug-iconv6.c (do_test): Use de_DE.UTF-8 locale.