Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | Merge 8.6 | jan.nijtmans | 2020-09-04 | 1 | -3/+5 | |
|\ | ||||||
| * | 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.6 | jan.nijtmans | 2020-05-02 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
* | | Never mind remark about TIP #573 in previous commit: Test failure was due to ↵ | jan.nijtmans | 2020-05-01 | 1 | -2/+1 | |
| | | | | | | | | typo. Fixed now. | |||||
* | | Fix first part of [ed29806baf]: Tcl_UtfToUniChar reads more than TCL_UTF_MAX ↵ | jan.nijtmans | 2020-05-01 | 1 | -1/+2 | |
|\ \ | |/ | | | | | | | | | | | | | bytes. Tcl_UtfToUniChar() now never reads more than TCL_UTF_MAX bytes any more. Since the UtfToUtf encoder/decoder now uses TclUtfToUCS4() it doesn't join 2 surrogates as 2 x 3-byte sequences any more. Actually, it shouldn't, because such sequences are invalid UTF-8. Therefore, added the ucs2 constraint to testcase encoding-15.4. Let's see how TIP #573 goes, this TIP should make this change official. Other callers of Tcl_UtfToUniChar() needs to be revised for the same problem. Most callers will need to change Tcl_UtfToUniChar() -> TclUtfToUCS4() and Tcl_UtfCharComplete() -> TclUCS4Complete(), but that's not done yet. | |||||
* | | Merge 8.6 | jan.nijtmans | 2020-04-30 | 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 8.6 (Except encoding-12.6 test-case still to be handled) | jan.nijtmans | 2020-04-24 | 1 | -5/+5 | |
|\ \ \ | |/ / | ||||||
| | | | ||||||
| | \ | ||||||
| *-. \ | 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). | |||||
* | | | Merge 8.6 | jan.nijtmans | 2020-04-14 | 1 | -12/+2 | |
|\ \ \ | |/ / | ||||||
| * | | 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 | |||||
* | | | merge 8.6 | dgp | 2020-04-14 | 1 | -2/+12 | |
|\ \ \ | |/ / | ||||||
| * | | 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 | |
| | | | ||||||
* | | | Some eol whitespace eliminations | jan.nijtmans | 2020-01-07 | 1 | -1/+1 | |
| | | | ||||||
* | | | Fix test encoding-28.0, adapting for the correct number of available encodings | jan.nijtmans | 2020-01-07 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge 8.6 | jan.nijtmans | 2020-01-06 | 1 | -0/+15 | |
|\ \ \ | |/ / | ||||||
| * | | Add a test for issue [9128866ec8], encoding fails to load | pooryorick | 2020-01-04 | 1 | -0/+15 | |
| | | | ||||||
* | | | Fix bug in tclEncoding.c, only manifesting in testcase encoding-15.4 for ↵ | jan.nijtmans | 2019-12-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | TCL_UTF_MAX=6. (knownBug, fixed now) | |||||
* | | | Merge 8.6 | jan.nijtmans | 2019-12-10 | 1 | -3/+39 | |
|\ \ \ | |/ / | ||||||
| * | | Attempt to fix [5f236bc67a]: valgrind report for Tcl_UniCharToUtf | jan.nijtmans | 2019-12-09 | 1 | -0/+36 | |
| | | | ||||||
* | | | Merge 8.6 | jan.nijtmans | 2019-12-09 | 1 | -12/+22 | |
|\ \ \ | |/ / | ||||||
| * | | 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) | |||||
* | | | Merge 8.6 | jan.nijtmans | 2019-12-03 | 1 | -2/+2 | |
|\ \ \ | |/ / | ||||||
| * | | 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. | |||||
* | | | Merge 8.6. | jan.nijtmans | 2019-11-15 | 1 | -3/+21 | |
|\ \ \ | |/ / | | | | Also fix the use of WUR (warn unused result) in libtommath function signatures: this cannot be used in combination with "deprecated" or "nostub" | |||||
| * | | 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) | |||||
* | | | Merge 8.6 | jan.nijtmans | 2019-11-14 | 1 | -0/+22 | |
|\ \ \ | |/ / | ||||||
| * | | 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. | |||||
* | | | TIP #547 implementation: New encodings: UTF-16, UCS-2 | jan.nijtmans | 2019-05-31 | 1 | -6/+17 | |
| | | | ||||||
* | | | Fixes for TCL_UTF_MAX=6, (gcc compiler warnings). Also make everything work ↵ | jan.nijtmans | 2019-03-07 | 1 | -4/+3 | |
| | | | | | | | | | | | | on win32/win64. Patch adapted from Androwish (thanks, Werner!) | |||||
* | | | Update test-cases, so they are selected or not for -DTCL_UTF_MAX=6. Now all ↵ | jan.nijtmans | 2018-04-26 | 1 | -5/+5 | |
| | | | | | | | | | | | | relevant test-cases pass for TCL_UTF_MAX=6 builds on UNIX (but not yet on Windows)! |