Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 8.6 | jan.nijtmans | 2020-05-06 | 1 | -8/+6 |
|\ | |||||
| * | Merge 8.5. | jan.nijtmans | 2020-05-06 | 1 | -11/+9 |
| |\ | | | | | | | Make testcases utf-7.20.[01] content the same as in core-8-5-branch, core-8-branch and trunk (0xF4 -> 0xF2) | ||||
| | * | 3 testcases don't need pairsTo4bytes, fullutf is enough, since the ↵ | jan.nijtmans | 2020-05-06 | 1 | -5/+3 |
| | | | | | | | | | | | | dubble-surrogate-backslash syntac has no relation to the internal byte format. | ||||
* | | | Fix Tcl_UtfPrev() such that it can never go back more than TCL_UTF_MAX ↵ | jan.nijtmans | 2020-05-05 | 1 | -13/+13 |
| | | | | | | | | | | | | bytes. Already done correctly on core-8-6-branch, but this was never forwarded to core-8-branch. | ||||
* | | | Merge 8.6 | jan.nijtmans | 2020-05-05 | 1 | -54/+51 |
|\ \ \ | |/ / | |||||
| * | | Merge 8.5 | jan.nijtmans | 2020-05-05 | 1 | -26/+35 |
| |\ \ | | |/ | |||||
| | * | Properly protect "Invalid" function against lead bytes 0x80-0xBF. This fixes ↵ | jan.nijtmans | 2020-05-05 | 1 | -25/+34 |
| | | | | | | | | | | | | | | | "knownBug" testcase utf-6.93.1. Rename tip389 selector to utf16, since that's what it actually is, in contrast to ucs2 and ucs4. | ||||
| | * | Test-case cleanup. Increase timeout a little bit in main.test, making Travis ↵ | jan.nijtmans | 2020-05-04 | 1 | -41/+50 |
| | | | | | | | | | | | | build errors because of this less likely. | ||||
| * | | New internal function TclGetUCS4() only available when TCL_UTF_MAX=4. This ↵ | jan.nijtmans | 2020-05-04 | 1 | -7/+7 |
| | | | | | | | | | | | | fixes all "knownBug" testcases related to tip389. | ||||
| * | | (partial) fix for [9d0cb35bb2]: Various issues with core-8-6-branch, ↵ | jan.nijtmans | 2020-05-04 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | TCL_UTF_MAX=4. (even though TCL_UTF_MAX=4 is unsupported, it would be nice to make it work) Marked various test-cases as "knownBug", those work correctly in core-8-branch (8.7). The fix there could be backported. Low prio. | ||||
| * | | Re-join utf-6.93.0 and utf-6.93.1 (please disregard comment in previous ↵ | jan.nijtmans | 2020-05-03 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | commit, it was not correct). Perfectionalize TclUtfToUCS4()/TclUCS4Complete() and new (internal) function TclUCS4ToUtf(). They can help preventing bugs regarding splitting/joining surrogates. Used them in a few more places. | ||||
* | | | Merge 8.6 | jan.nijtmans | 2020-05-02 | 1 | -27/+27 |
|\ \ \ | |/ / | |||||
| * | | Join test-cases utf-6.93.0 and utf-6.93.1, which MUST give the same answer ↵ | jan.nijtmans | 2020-05-02 | 1 | -31/+28 |
| | | | | | | | | | | | | | | | | | | always for whatever testConstraints. Fix one invalid use of TclUCS4Complete(), and let TclUtfToUCS4() handle (invalid) 4-byte sequences. Test-case cleanup (removal of unnecessary quoting) | ||||
* | | | Improve/simplify "testutfnext" and "testutfprev" commands. Now don't need to ↵ | jan.nijtmans | 2020-05-01 | 1 | -405/+405 |
|\ \ \ | | | | | | | | | | | | | do special things with byte arrays. You can use "testbytestring" for that. This makes it more clear which test-cases use invalid byte-sequences. Now "testutfnext" also checks whether Tcl_UtfNext() reads src[-1] and src[end], and will warn you when it does. | ||||
| * | | | Better structurize the UTF-8 (mainly around Tcl_UtfNext()/Tcl_UtfPrev(), but ↵ | jan.nijtmans | 2020-04-29 | 1 | -448/+448 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not only those) test-cases: Selector "ucs2" is meant for Tcl 8.5: No knowledge at all about 4-byte sequences. Selector "ucs4" is meant for Tcl 8.5 or 8.7 with TCL_UTF_MAX=4 or Tcl 8.6 with TCL_UTF_MAX=6 Selector "tip389" is meant for Tcl 8.6 with TCL_UTF_MAX=4 and Tcl 8.7 with TCL_UTF_MAX=3 (of course, this is too simple: there will be testcases needing more than those 3 | ||||
* | | | | merge 8.6 | dgp | 2020-04-30 | 1 | -0/+9 |
|\ \ \ \ | | |/ / | |/| | | |||||
| * | | | merge 8.5 | dgp | 2020-04-30 | 1 | -2/+2 |
| |\ \ \ | | | |/ | | |/| | |||||
| | * | | D'oh! | dgp | 2020-04-30 | 1 | -1/+1 |
| | | | | |||||
| * | | | merge 8.5 | dgp | 2020-04-30 | 1 | -0/+9 |
| |\ \ \ | | |/ / | |||||
| | * | | Test for [4c591fa487]. | dgp | 2020-04-30 | 1 | -0/+9 |
| | | | | |||||
* | | | | merge 8.6 | dgp | 2020-04-30 | 1 | -3/+5 |
|\ \ \ \ | |/ / / | |||||
| * | | | merge 8.5 | dgp | 2020-04-30 | 1 | -3/+5 |
| |\ \ \ | | |/ / | |||||
| | * | | Revise constraints to where expectations are met. | dgp | 2020-04-30 | 1 | -3/+5 |
| | | | | |||||
* | | | | Merge 8.6 | jan.nijtmans | 2020-04-30 | 1 | -3/+6 |
|\ \ \ \ | |/ / / | |||||
| * | | | merge 8.5 | dgp | 2020-04-30 | 1 | -1/+4 |
| |\ \ \ | | |/ / | |||||
| | * | | Split a test so other builds are covered. | dgp | 2020-04-30 | 1 | -1/+4 |
| | | | | |||||
| * | | | Merge 8.5 | jan.nijtmans | 2020-04-30 | 1 | -2/+2 |
| |\ \ \ | | |/ / | |||||
| | * | | New encoding-15.16 test-case. Fix title of utf 2 test-cases. | jan.nijtmans | 2020-04-30 | 1 | -2/+2 |
| | | | | |||||
* | | | | Merge 8.6 | jan.nijtmans | 2020-04-30 | 1 | -53/+53 |
|\ \ \ \ | |/ / / | |||||
| * | | | Merge 8.5 | jan.nijtmans | 2020-04-30 | 1 | -18/+6 |
| |\ \ \ | | |/ / | |||||
| | * | | Renumber test-cases | jan.nijtmans | 2020-04-30 | 1 | -18/+6 |
| | | | | |||||
| * | | | Merge 8.5 | jan.nijtmans | 2020-04-30 | 1 | -45/+57 |
| |\ \ \ | | |/ / | |||||
| | * | | Remove unnecessary quoting in test-cases. Add some more tests for ↵ | jan.nijtmans | 2020-04-30 | 1 | -45/+57 |
| | | | | | | | | | | | | | | | | toupper/tolower/totitle | ||||
* | | | | Merge 8.6. Still a knownBug here. | dgp | 2020-04-29 | 1 | -2/+3 |
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | | |||||
| * | | Merge 8.5. Mark test knownBug while it fails on builds of this branch. | dgp | 2020-04-29 | 1 | -2/+3 |
| |\ \ | | |/ | |||||
| | * | New test for Tcl_UniCharNcmp. | dgp | 2020-04-29 | 1 | -2/+3 |
| | | | |||||
* | | | merge 8.6 | dgp | 2020-04-28 | 1 | -0/+54 |
|\ \ \ | |/ / | |||||
| * | | merge 8.5 | dgp | 2020-04-28 | 1 | -0/+54 |
| |\ \ | | |/ | |||||
| | * | Correct the tests for variants with no UCS-4 support. | dgp | 2020-04-28 | 1 | -6/+6 |
| | | | |||||
| | * | Test the other notation too (as was already done in 8.7+) | dgp | 2020-04-28 | 1 | -0/+54 |
| | | | |||||
* | | | merge 8.6 | dgp | 2020-04-28 | 1 | -6/+41 |
|\ \ \ | |/ / | |||||
| * | | merge 8.5 | dgp | 2020-04-28 | 1 | -6/+41 |
| |\ \ | | |/ | |||||
| | * | Split tests utf-8.5. | dgp | 2020-04-28 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | | | This is a strange one. All 3 variants do the same thing. However, builds of Tcl 8.6 with TUM=4 and TUM=6 both do something different. Those builds also reject all three constraints. They are something else and are uncovered so far. | ||||
| | * | Expand coverage of indexing across all variants. | dgp | 2020-04-28 | 1 | -5/+34 |
| | | | |||||
* | | | Extend "testutfnext" test-command such that it can detect when it reads more ↵ | jan.nijtmans | 2020-04-28 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | bytes than the end of the string. If you want to null-terminate string explitely, use \x00 | ||||
* | | | Bring forward test-cases utf-6.94 and utf-6.95 from Tcl 8.6 (higher ones ↵ | jan.nijtmans | 2020-04-28 | 1 | -0/+6 |
| | | | | | | | | | | | | have no value IMHO, but those 2 have!) | ||||
* | | | merge 8.6 | dgp | 2020-04-28 | 1 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | merge 8.5 | dgp | 2020-04-28 | 1 | -2/+2 |
| |\ \ | | |/ | |||||
| | * | repair numbering botch. | dgp | 2020-04-28 | 1 | -2/+2 |
| | | | |||||
* | | | merge 8.6 | dgp | 2020-04-28 | 1 | -9/+21 |
|\ \ \ | |/ / |