Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | Update many tools/encoding/*.txt files to the latest version, but leave out ↵ | jan.nijtmans | 2021-06-28 | 1 | -1/+1 | |
|\ | | | | | | | character changes. Only add the new "cns11643" encoding, which belongs to the same group as big5 | |||||
* \ | Update all "cp" and "iso8859-?" encodings to the latest version. This adds 3 ↵ | jan.nijtmans | 2021-06-18 | 1 | -1/+1 | |
|\ \ | |/ | | | | | new codepoints to iso8859-7, and adds a full new encoding iso8859-11 | |||||
| * | Test-case cleanup. Increase timeout a little bit in main.test, making Travis ↵ | jan.nijtmans | 2020-05-04 | 1 | -16/+16 | |
| | | | | | | | | build errors because of this less likely. | |||||
* | | Let all test-cases load the "tcltest" package the same way. Depend on ↵ | jan.nijtmans | 2020-09-04 | 1 | -3/+4 | |
| | | | | | | | | tcltest 2.5, since we never test with earlier tcltest versions | |||||
* | | Merge 8.6. Mark testcase utf-4.11 as "knownBug": this one still doesn't give ↵ | jan.nijtmans | 2020-05-11 | 1 | -1/+1 | |
|\ \ | | | | | | | | | | the right answer. Add testcase 4.14 with similar corner-case, this one is OK. | |||||
| * | | occurance -> occurrence. | jan.nijtmans | 2020-05-11 | 1 | -1/+1 | |
| | | | ||||||
| * | | Merge bug-31aa44375d branch. Mark encoding-15.5 testcase as "knownBug". ↵ | jan.nijtmans | 2020-05-10 | 1 | -1/+1 | |
| |\ \ |/ / / | | | | | | | Discussion is not over yet, but we need a base for comparision in order to come up with alternatives. | |||||
| * | | split and constrain the failing test. | dgp | 2020-05-07 | 1 | -1/+6 | |
|/ / | ||||||
* | | Merge 8.5 | jan.nijtmans | 2020-04-30 | 1 | -0/+5 | |
|\ \ | |/ | ||||||
| * | New encoding-15.16 test-case. Fix title of utf 2 test-cases. | jan.nijtmans | 2020-04-30 | 1 | -0/+5 | |
| | | ||||||
* | | encoding-12.6 only works for "ucs2" for now. Don't use (deprecated) INLINE ↵ | jan.nijtmans | 2020-04-25 | 1 | -2/+3 | |
| | | | | | | | | and CONST | |||||
| | | ||||||
| \ | ||||||
*-. \ | Merge from 8.5. Failing tests encoding-12.6, reg-13.3[34] appear to be real | dgp | 2020-04-24 | 1 | -6/+9 | |
|\ \ \ | | |/ | | | | failures reporting first contact with tests and code. | |||||
| | * | Missing '0' | jan.nijtmans | 2020-04-24 | 1 | -1/+1 | |
| |/ | ||||||
| * | Add protections against overflow in Unicode values. Backported from 8.6. ↵ | jan.nijtmans | 2020-04-24 | 1 | -5/+9 | |
| | | | | | | | | Also remove some out-of-date comments. | |||||
| * | Attempt to fix [1004065] for TCL_UTF_MAX=4. Disallow building Tcl with ↵ | jan.nijtmans | 2020-04-22 | 1 | -4/+1 | |
| | | | | | | | | TCL_UTF_MAX>4 | |||||
| * | Determine "testConstraint ucs2" without the need for a testcommand. Rename ↵ | jan.nijtmans | 2020-04-22 | 1 | -2/+1 | |
| | | | | | | | | "compat85" testConstraint to "ucs2", because that's what it actually is. | |||||
| * | Use new testing command to constrain tests to (sizeof(Tcl_UniChar) == 2) | dgp | 2020-04-21 | 1 | -1/+5 | |
| | | | | | | until bugs are fixed when (sizeof(Tcl_UniChar == 4). | |||||
* | | Backport encoding-15.3 test-case from 8.7, together with missing ↵ | jan.nijtmans | 2020-04-14 | 1 | -13/+5 | |
| | | | | | | | | "teststringbytes" command: Usefull for testing byte strings without the need for the "identity" encoding | |||||
* | | partially revert [e9f5ff2f6a] - encoding-15.3 used not existing command ↵ | sebres | 2020-04-14 | 1 | -2/+11 | |
| | | | | | | | | "teststringbytes" (should be "testbytesstring"? but it is not an opposite to get same result as convert to identity, so splitted to 3 new cases illustrating the results) | |||||
* | | amend to [e9f5ff2f6a]: added missing constraint (testbytestring) | sebres | 2020-04-14 | 1 | -0/+1 | |
| | | ||||||
* | | Don't use 'identiy' encoding in test-cases any more! | jan.nijtmans | 2020-04-14 | 1 | -15/+11 | |
| | | ||||||
* | | Merge 8.5. Failing tests highlight ticket [1b1f5f0b53]. | dgp | 2020-04-13 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Stop direct use of the identity encoding in tests. | dgp | 2020-04-12 | 1 | -2/+2 | |
| | | ||||||
* | | Add a test for issue [9128866ec8], encoding fails to load | pooryorick | 2020-01-04 | 1 | -0/+15 | |
| | | ||||||
* | | Attempt to fix [5f236bc67a]: valgrind report for Tcl_UniCharToUtf | jan.nijtmans | 2019-12-09 | 1 | -0/+36 | |
| | | ||||||
* | | Add special handling of lower surrogate to UtfToUtfProc(), so valgrind ↵ | jan.nijtmans | 2019-12-09 | 1 | -4/+14 | |
| | | | | | | | | should't complain in that situation. With new test-cases covering that. | |||||
* | | Fix 2 test-cases, which were failing when TCL_UTF_MAX=6. Add UTF_MAX=6 UNIX ↵ | jan.nijtmans | 2019-12-07 | 1 | -4/+4 | |
| | | | | | | | | build to Travis as proof that now all test-cases pass for UTF_MAX=6 (still not officially supported) | |||||
* | | Fix encoding-15.6 testacase for TCL_UTF_MAX=6, due to changes escape ↵ | jan.nijtmans | 2019-12-03 | 1 | -2/+2 | |
| | | | | | | | | sequences for upper/lower surrogate combination. | |||||
* | | Protect additional Tcl_UtfToUniChar() call, for the case when not enough ↵ | jan.nijtmans | 2019-11-15 | 1 | -3/+21 | |
| | | | | | | | | | | bytes are available in the buffer any more. Add additional test-cases for those situations (upper surrogate followed by somthing other than lower surrogate) | |||||
* | | Better - more complete - fix for [d433c0e0ad]: TCL_UTF_MAX == 4 problems. It ↵ | jan.nijtmans | 2019-11-14 | 1 | -0/+16 | |
| | | | | | | | | | | allows emoji to be produced by the system encoding, even for other values of TCL_UTF_MAX. Also added test-cases for this. | |||||
* | | oops | dgp | 2017-10-27 | 1 | -1/+0 | |
| | | ||||||
* | | Update tests that were still written on the outdated premise that Tcl's ↵ | dgp | 2017-10-27 | 1 | -3/+4 | |
|\ \ | |/ | | | | | encoding subsystem had to initialize starting in the identity encoding. | |||||
| * | Update tests that were still written on the outdated premise that Tcl's | dgp | 2017-10-27 | 1 | -4/+4 | |
| | | | | | | encoding subsystem had to initialize starting in the identity encoding. | |||||
* | | Add more test-cases for UTF-8 parser, including test-cases for TCL_UTF_MAX=4 ↵ | jan.nijtmans | 2017-06-06 | 1 | -7/+13 | |
| | | | | | | | | or TCL_UTF_MAX=6 | |||||
* | | Follow-up to [67aa9a2070]: Use uppercase consistantly, slight optimization ↵ | jan.nijtmans | 2017-06-06 | 1 | -1/+1 | |
|\ \ | |/ | | | | | in character tests, comment fixes. No change in functionality. | |||||
| * | [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 input as ↵ | jan.nijtmans | 2017-06-06 | 1 | -0/+25 | |
| | | | | | | | | documented. | |||||
* | | Fix [67aa9a207037ae67f9014b544c3db34fa732f2dc|67aa9a2070]: Security: Invalid ↵ | jan.nijtmans | 2017-06-02 | 1 | -0/+25 | |
| | | | | | | | | UTF-8 can inject unexpected characters | |||||
* | | unneeded variable | jan.nijtmans | 2012-07-30 | 1 | -1/+0 | |
| | | ||||||
* | | eliminate the "testfinexit" command. We have the TCL_FINALIZE_ON_EXIT ↵ | jan.nijtmans | 2012-07-30 | 1 | -4/+3 | |
| | | | | | | | | environment variable now, which makes "exit" do the same thing. | |||||
* | | Fix various test when run outside of the build environment [3549770] | jan.nijtmans | 2012-07-30 | 1 | -2/+6 | |
| | | ||||||
* | | No longer build tcltest.exe to run the tests,but use tclsh86.exe in ↵ | jan.nijtmans | 2012-07-29 | 1 | -0/+3 | |
| | | | | | | | | combination with tcltest86.dll to do that (Windows only) | |||||
* | | [Bug 3537605]: Make [encoding dirs ? ?] report the right error message. | dkf | 2012-06-25 | 1 | -0/+8 | |
|\ \ | |/ | ||||||
| * | [Bug 3537605]: Make [encoding dirs ? ?] report the right error message. | dkf | 2012-06-25 | 1 | -0/+8 | |
| | | ||||||
* | | missing constraint and too brittle result | dgp | 2011-11-08 | 1 | -1/+2 | |
| | | ||||||
* | | General cleanup of tests to promote intelligibility and to try to ensure that | dkf | 2011-08-01 | 1 | -94/+93 | |
| | | | | | | what is tested is just that which was the subject of the test. | |||||
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword lines | dgp | 2011-03-02 | 1 | -2/+0 | |
|\ \ | |/ | | | cause more harm than good. Purged them (except in zlib files). | |||||
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause | dgp | 2011-03-02 | 1 | -2/+0 | |
| |\ | | | | | | | more harm than good. Purged them. | |||||
| | * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause | dgp | 2011-03-01 | 1 | -2/+0 | |
| | | | | | | | | | more harm than good. Purged them. | |||||
| | * | (Backport) Fix [Bug 2891556] and improve test to detect similar ↵ | ferrieux | 2009-11-16 | 1 | -1/+2 | |
| | | | | | | | | | | | | manifestations in the future. | |||||
| | * | * generic/tcl.h: note limitation on changing Tcl_UniChar size | hobbs | 2006-10-05 | 1 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | * generic/tclEncoding.c (UtfToUnicodeProc, UnicodeToUtfProc): * tests/encoding.test (encoding-16.1): fix alignment issues in unicode <> utf conversion procs. [Bug 1122671] |