Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Bring back a set of tests from 8.6. Invented new constraints to constrain to | dgp | 2020-04-26 | 1 | -0/+30 | |
| | | | the right conditions, not implied ones. | |||||
* | Fix [cc4d805771]: reg-13.17.error fails in 8.5 tip | jan.nijtmans | 2020-04-24 | 1 | -2/+1 | |
| | ||||||
* | Two more tests developed during work on [27944a3661]. | dgp | 2020-04-24 | 1 | -0/+6 | |
| | ||||||
* | Revise tests to reflect fixed bug in RE parsing of \uHHHH escapes. | dgp | 2020-04-24 | 1 | -1/+2 | |
| | ||||||
* | 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. | |||||
* | Fix [1004065]: UTF-8 encoding crashes in UCS-4 mode | jan.nijtmans | 2020-04-23 | 5 | -71/+60 | |
|\ | ||||||
| * | Another ucs2 testContraint no longer used | jan.nijtmans | 2020-04-22 | 1 | -2/+0 | |
| | | ||||||
| * | Attempt to fix [1004065] for TCL_UTF_MAX=4. Disallow building Tcl with ↵ | jan.nijtmans | 2020-04-22 | 4 | -10/+4 | |
| | | | | | | | | TCL_UTF_MAX>4 | |||||
* | | test number reuse | dgp | 2020-04-22 | 1 | -3/+3 | |
| | | ||||||
* | | Collection of tests checking read limit protections calling Tcl_UtfNext. | dgp | 2020-04-22 | 1 | -0/+117 | |
| | | ||||||
* | | Eliminate the -bytestring option of [testutfnext]. No caller needs anything ↵ | dgp | 2020-04-22 | 1 | -100/+100 | |
| | | | | | | | | else. | |||||
* | | Restored a test constraint to tolerate [1004065] (maybe just in time to not ↵ | dgp | 2020-04-22 | 4 | -9/+12 | |
|/ | | | | need it anymore). | |||||
* | Determine "testConstraint ucs2" without the need for a testcommand. Rename ↵ | jan.nijtmans | 2020-04-22 | 5 | -34/+30 | |
| | | | | "compat85" testConstraint to "ucs2", because that's what it actually is. | |||||
* | Improve the "testutfnext" command. It can now accept both bytes and strings, ↵ | jan.nijtmans | 2020-04-21 | 1 | -104/+104 | |
| | | | | and it will test whether src[-1] is read without needing test-variations for it. | |||||
* | remove merge litter | dgp | 2020-04-21 | 1 | -1/+0 | |
| | ||||||
* | Use new testing command to constrain tests to (sizeof(Tcl_UniChar) == 2) | dgp | 2020-04-21 | 4 | -4/+16 | |
| | | | until bugs are fixed when (sizeof(Tcl_UniChar == 4). | |||||
* | Pair every compat85 test with a fullutf test so that we cover all variants. | dgp | 2020-04-20 | 1 | -30/+107 | |
| | ||||||
* | Reconcile tests to the 8.5 branch history. | dgp | 2020-04-20 | 1 | -1/+1 | |
| | ||||||
*-. | merge 8.5 | dgp | 2020-04-19 | 1 | -44/+79 | |
|\ \ | ||||||
| | * | typo | dgp | 2020-04-19 | 1 | -1/+1 | |
| |/ | ||||||
| * | More test-cases. Fix wrong quoting in testcase utf-10.5 | jan.nijtmans | 2020-04-19 | 1 | -8/+44 | |
| | | ||||||
| * | Clean-up testcases: Constant use of uppercase in hex-values. Use ↵ | jan.nijtmans | 2020-04-18 | 1 | -141/+137 | |
| | | | | | | | | "testbytestring" in stead of "bytestring". Mark tests not working with TCL_UTF_MAX>3 with "compat85" | |||||
* | | Fix [c574e50a3b30e76f]: CRASH: utf-2.[89] in 8.5 built with TCL_UTF_MAX=4 | jan.nijtmans | 2020-04-18 | 2 | -131/+129 | |
|/ | ||||||
* | More tests explicitly for Tcl_UtfNext near validity boundary U+110000 | dgp | 2020-04-17 | 1 | -0/+6 | |
| | ||||||
* | [493dccc2de] Coverage that Tcl_UtfPrev also checks the upper range validity. | dgp | 2020-04-17 | 1 | -0/+24 | |
| | ||||||
* | Corrections for many tests, changing lead byte \xF4 to \xF2. | dgp | 2020-04-17 | 1 | -46/+46 | |
| | | | | The tested sequences were always intended to be valid 4-byte sequences. Also a few errors with greedy \xHHHH . | |||||
* | Backport a collection of tests for consistency between branches. | dgp | 2020-04-17 | 1 | -5/+12 | |
| | ||||||
* | Bring back the test utf-2.11; it fails in a TCL_UTF_MAX=4 build. | dgp | 2020-04-17 | 1 | -0/+8 | |
| | ||||||
* | More test-cases | jan.nijtmans | 2020-04-17 | 1 | -0/+30 | |
| | ||||||
* | More tests and fix for overlong handling in revised Tcl_UtfNext. | dgp | 2020-04-16 | 1 | -1/+22 | |
| | ||||||
* | merge 8.5 | dgp | 2020-04-16 | 1 | -0/+69 | |
|\ | ||||||
| * | More test coverage | dgp | 2020-04-15 | 1 | -0/+42 | |
| | | ||||||
| * | New tests checking Tcl_UtfPrev handling of overlong sequences. Bug demonstrated. | dgp | 2020-04-15 | 1 | -0/+27 | |
| | | ||||||
* | | Add test demonstrating that Tcl_UtfNext accepts overlong byte sequences, | dgp | 2020-04-15 | 1 | -3/+3 | |
| | | | | | | which is in conflict with what Tcl_UtfToUniChar does. | |||||
* | | Collection of coverage tests for Tcl_UtfNext. | dgp | 2020-04-15 | 1 | -2/+244 | |
|/ | ||||||
* | Keep the tests consistent. | dgp | 2020-04-14 | 1 | -8/+8 | |
| | ||||||
* | Backport test-cases from 8.6 | jan.nijtmans | 2020-04-14 | 1 | -10/+30 | |
| | ||||||
* | test numbering | dgp | 2020-04-13 | 1 | -2/+5 | |
| | ||||||
* | Repair tests to expect the right thing. | dgp | 2020-04-13 | 1 | -2/+2 | |
| | ||||||
* | merge 8.5 | dgp | 2020-04-13 | 1 | -0/+4 | |
|\ | ||||||
| * | New test demonstrating Tcl_StringCaseMatch is botched in its use of | dgp | 2020-04-13 | 1 | -0/+4 | |
| | | | | | | | | Tcl_UtfPrev. It doesn't consider multi-byte characters at all, let alone anything malformed. Good thing the call isn't needed at all. | |||||
* | | merge 8.5 | dgp | 2020-04-13 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Known bug test string-22.14 is not so hard to fix. | dgp | 2020-04-13 | 1 | -1/+1 | |
| | | ||||||
* | | merge 8.5 | dgp | 2020-04-13 | 1 | -8/+19 | |
|\ \ | |/ | ||||||
| * | Another test for [string trimright] that demonstrates its own failures, | dgp | 2020-04-13 | 1 | -0/+15 | |
| | | | | | | not those of Tcl_UtfPrev. | |||||
| * | Convert test to not directly use identity encoding. | dgp | 2020-04-13 | 1 | -8/+4 | |
| | | ||||||
| * | added test case covering [c61818e4c9] - string trim for not valid utf-8 ↵ | dgp | 2020-04-13 | 1 | -0/+17 | |
| | | | | | | | | sequence (mistakenly considers NTS-zero char as a continuation of utf-8 pair) | |||||
* | | merge 8.5 | dgp | 2020-04-12 | 5 | -44/+48 | |
|\ \ | |/ | ||||||
| * | Stop direct use of the identity encoding in tests. | dgp | 2020-04-12 | 3 | -5/+5 | |
| | |