Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Backport parsing of surrogate-pair change from 8.6 (only for TCL_UTF_MAX=4) | jan.nijtmans | 2020-04-28 | 2 | -84/+126 |
| | | | Adapt test-cases accordingly. Renumber and split testcases, making the numbering more equal to the numbering in 8.6/8.7/9.0 | ||||
* | Improve the reporting of a failing test. Start testing extended chars. | dgp | 2020-04-27 | 1 | -2/+14 |
| | |||||
* | Parameterize tests of Tcl_UniCharNcasecmp | dgp | 2020-04-27 | 1 | -55/+17 |
| | |||||
* | case | dgp | 2020-04-27 | 1 | -1/+1 |
| | |||||
* | case | dgp | 2020-04-27 | 1 | -2/+2 |
| | |||||
* | constraint fixes | dgp | 2020-04-27 | 1 | -9/+9 |
| | |||||
* | test reconciliation | dgp | 2020-04-27 | 1 | -5/+33 |
| | |||||
* | silence compiler warning | dgp | 2020-04-27 | 1 | -1/+1 |
| | |||||
* | Pull back another test from 8.7. | dgp | 2020-04-27 | 1 | -1/+3 |
| | |||||
* | bring back new tests | dgp | 2020-04-27 | 1 | -0/+22 |
| | |||||
* | More test reconciliation. | dgp | 2020-04-26 | 1 | -1/+11 |
| | |||||
* | test reconciliation | dgp | 2020-04-26 | 1 | -1/+4 |
| | |||||
* | Refine the constraint. The fact that Tcl stores extended characters | dgp | 2020-04-26 | 1 | -2/+4 |
| | | | | internally does not imply that [string length] counts UCS4 characters instead of UTF-16 code units. | ||||
* | Continuing test reconciliation. | dgp | 2020-04-26 | 1 | -0/+7 |
| | |||||
* | 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 | 2 | -3/+2 |
| | |||||
* | Two more tests developed during work on [27944a3661]. | dgp | 2020-04-24 | 1 | -0/+6 |
| | |||||
* | Revert the parts of [76213b3f72] that converted callers of Tcl_UtfToUniChar | dgp | 2020-04-24 | 2 | -6/+10 |
| | | | | | into callers of Tcl_UtfNext. With this reversion, any future divergence between those two will not harm these callers. Retain the tests, and retain the new implementation of Tcl_UtfNext itself and its new macro form. | ||||
* | Revise tests to reflect fixed bug in RE parsing of \uHHHH escapes. | dgp | 2020-04-24 | 1 | -1/+2 |
| | |||||
* | Make (unsupported) 'U' regex escaping work again. | jan.nijtmans | 2020-04-24 | 1 | -1/+1 |
| | |||||
* | 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 | 5 | -88/+115 |
| | | | | Also remove some out-of-date comments. | ||||
* | Fix GCC warning in MemDebug mode: format not a string literal and no format ↵ | jan.nijtmans | 2020-04-24 | 1 | -1/+1 |
| | | | | arguments [-Wformat-security] | ||||
* | Argument conditions for Invalid() call were not always satisfied. | dgp | 2020-04-23 | 1 | -1/+1 |
| | |||||
* | documentation: descibes the empty list creation (with reserved space) where ↵ | sebres | 2020-04-23 | 1 | -1/+3 |
| | | | | objv is NULL, like Tcl_NewListObj(n, NULL) | ||||
* | Fix [1004065]: UTF-8 encoding crashes in UCS-4 mode | jan.nijtmans | 2020-04-23 | 7 | -83/+77 |
|\ | |||||
| * | Merge-mark. Add Travis builds for TCL_UTF_MAX=5 and TCL_UTF_MAX=6: It looks ↵ | jan.nijtmans | 2020-04-22 | 2 | -4/+14 |
| |\ | | | | | | | | | | like all tests are passing now! | ||||
| * | | Another ucs2 testContraint no longer used | jan.nijtmans | 2020-04-22 | 1 | -2/+0 |
| | | | |||||
| * | | Oopsee (but not really crucial) | jan.nijtmans | 2020-04-22 | 1 | -1/+1 |
| | | | |||||
| * | | Attempt to fix [1004065] for TCL_UTF_MAX=4. Disallow building Tcl with ↵ | jan.nijtmans | 2020-04-22 | 7 | -29/+18 |
| | | | | | | | | | | | | 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 | 2 | -4/+121 |
| | | | |||||
* | | | Add optional second argument to [testutfnext] that can limit how many | dgp | 2020-04-22 | 1 | -4/+31 |
| | | | | | | | | | bytes are permitted to be read. Needed to test protection of buffer overruns. | ||||
* | | | Eliminate the -bytestring option of [testutfnext]. No caller needs anything ↵ | dgp | 2020-04-22 | 2 | -108/+104 |
| |/ |/| | | | | | 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 | 2 | -125/+131 |
| | | | | and it will test whether src[-1] is read without needing test-variations for it. | ||||
* | [c574e50a3b] Stop segfault in tests utf-2.[89]. Create clean test suite | dgp | 2020-04-21 | 11 | -148/+178 |
|\ | | | | | runs for the TCL_UTF_MAX = 4, 6 builds. | ||||
| * | 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). | ||||
| * | Move testing command [testsize] from Windows to generic. | dgp | 2020-04-21 | 2 | -28/+31 |
| | | | | | | Extend it to report sizeof(Tcl_UniChar). | ||||
| * | Revert the other encoding system backport. | dgp | 2020-04-21 | 1 | -15/+2 |
| | | | | | | | | | | | | | | The blocking and failing tests are illustrations of existing tickets [1004065] and [1122671], recording that the encoding machinery hardcodes assumptions in multiple places that sizeof(Tcl_UniChar) == 2. Closing the segfault bug fix should not be hostage to fixing those old bugs. | ||||
| * | We've settled on using (TCL_UTF_MAX > 3) to indicate 4-byte Tcl_UniChar. | dgp | 2020-04-21 | 1 | -2/+2 |
| | | |||||
| * | Revert the backport to tclEncoding.c that seems to redefine the "unicode" | dgp | 2020-04-21 | 1 | -128/+112 |
| | | | | | | encoding to mean UTF-16. Don't want that behavior change in 8.5. | ||||
| * | Pair every compat85 test with a fullutf test so that we cover all variants. | dgp | 2020-04-20 | 1 | -30/+107 |
| | | |||||
| * | Tie together the TCL_UTF_MAX=4 and TCL_UTF_MAX=6 builds to mean the same | dgp | 2020-04-20 | 2 | -2/+2 |
| | | | | | | thing on the 8.5 branch -- use internal UCS-4 storage. | ||||
| * | Add travis build for TCL_UTF_MAX=4 and TCL_UTF_MAX=6. This test whether the ↵ | jan.nijtmans | 2020-04-20 | 1 | -15/+30 |
| |\ | |/ |/| | | | | | "compat85" constraint (which is only true for TCL_UTF_MAX=3) is necessary for this test-case. Since TCL_UTF_MAX>3 is UNSUPPORTED, it doesn't matter what the actual test result is for test-cases tagged with "compat85". We just want to know which testcases are effected. | ||||
* | | Move the needed apt package in .travis.yml to the top, so they can be shared ↵ | jan.nijtmans | 2020-04-20 | 1 | -15/+10 |
| | | | | | | | | between the images. | ||||
| * | Backport the fix for encoding-16.1 in a TCL_UTF_MAX=6 build. | dgp | 2020-04-20 | 1 | -112/+128 |
| | | |||||
| * | Backport the encoding fix for source-7.2 in TCL_UTF_MAX=6 build. | dgp | 2020-04-20 | 1 | -2/+15 |
| | |