summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Backport parsing of surrogate-pair change from 8.6 (only for TCL_UTF_MAX=4)jan.nijtmans2020-04-282-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.dgp2020-04-271-2/+14
|
* Parameterize tests of Tcl_UniCharNcasecmpdgp2020-04-271-55/+17
|
* casedgp2020-04-271-1/+1
|
* casedgp2020-04-271-2/+2
|
* constraint fixesdgp2020-04-271-9/+9
|
* test reconciliationdgp2020-04-271-5/+33
|
* silence compiler warningdgp2020-04-271-1/+1
|
* Pull back another test from 8.7.dgp2020-04-271-1/+3
|
* bring back new testsdgp2020-04-271-0/+22
|
* More test reconciliation.dgp2020-04-261-1/+11
|
* test reconciliationdgp2020-04-261-1/+4
|
* Refine the constraint. The fact that Tcl stores extended charactersdgp2020-04-261-2/+4
| | | | internally does not imply that [string length] counts UCS4 characters instead of UTF-16 code units.
* Continuing test reconciliation.dgp2020-04-261-0/+7
|
* Bring back a set of tests from 8.6. Invented new constraints to constrain todgp2020-04-261-0/+30
| | | the right conditions, not implied ones.
* Fix [cc4d805771]: reg-13.17.error fails in 8.5 tipjan.nijtmans2020-04-242-3/+2
|
* Two more tests developed during work on [27944a3661].dgp2020-04-241-0/+6
|
* Revert the parts of [76213b3f72] that converted callers of Tcl_UtfToUniChardgp2020-04-242-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.dgp2020-04-241-1/+2
|
* Make (unsupported) 'U' regex escaping work again.jan.nijtmans2020-04-241-1/+1
|
* Missing '0'jan.nijtmans2020-04-241-1/+1
|
* Add protections against overflow in Unicode values. Backported from 8.6. ↵jan.nijtmans2020-04-245-88/+115
| | | | Also remove some out-of-date comments.
* Fix GCC warning in MemDebug mode: format not a string literal and no format ↵jan.nijtmans2020-04-241-1/+1
| | | | arguments [-Wformat-security]
* Argument conditions for Invalid() call were not always satisfied.dgp2020-04-231-1/+1
|
* documentation: descibes the empty list creation (with reserved space) where ↵sebres2020-04-231-1/+3
| | | | objv is NULL, like Tcl_NewListObj(n, NULL)
* Fix [1004065]: UTF-8 encoding crashes in UCS-4 modejan.nijtmans2020-04-237-83/+77
|\
| * Merge-mark. Add Travis builds for TCL_UTF_MAX=5 and TCL_UTF_MAX=6: It looks ↵jan.nijtmans2020-04-222-4/+14
| |\ | | | | | | | | | like all tests are passing now!
| * | Another ucs2 testContraint no longer usedjan.nijtmans2020-04-221-2/+0
| | |
| * | Oopsee (but not really crucial)jan.nijtmans2020-04-221-1/+1
| | |
| * | Attempt to fix [1004065] for TCL_UTF_MAX=4. Disallow building Tcl with ↵jan.nijtmans2020-04-227-29/+18
| | | | | | | | | | | | TCL_UTF_MAX>4
* | | test number reusedgp2020-04-221-3/+3
| | |
* | | Collection of tests checking read limit protections calling Tcl_UtfNext.dgp2020-04-222-4/+121
| | |
* | | Add optional second argument to [testutfnext] that can limit how manydgp2020-04-221-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 ↵dgp2020-04-222-108/+104
| |/ |/| | | | | else.
* | Restored a test constraint to tolerate [1004065] (maybe just in time to not ↵dgp2020-04-224-9/+12
|/ | | | need it anymore).
* Determine "testConstraint ucs2" without the need for a testcommand. Rename ↵jan.nijtmans2020-04-225-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.nijtmans2020-04-212-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 suitedgp2020-04-2111-148/+178
|\ | | | | runs for the TCL_UTF_MAX = 4, 6 builds.
| * remove merge litterdgp2020-04-211-1/+0
| |
| * Use new testing command to constrain tests to (sizeof(Tcl_UniChar) == 2)dgp2020-04-214-4/+16
| | | | | | until bugs are fixed when (sizeof(Tcl_UniChar == 4).
| * Move testing command [testsize] from Windows to generic.dgp2020-04-212-28/+31
| | | | | | Extend it to report sizeof(Tcl_UniChar).
| * Revert the other encoding system backport.dgp2020-04-211-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.dgp2020-04-211-2/+2
| |
| * Revert the backport to tclEncoding.c that seems to redefine the "unicode"dgp2020-04-211-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.dgp2020-04-201-30/+107
| |
| * Tie together the TCL_UTF_MAX=4 and TCL_UTF_MAX=6 builds to mean the samedgp2020-04-202-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.nijtmans2020-04-201-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.nijtmans2020-04-201-15/+10
| | | | | | | | between the images.
| * Backport the fix for encoding-16.1 in a TCL_UTF_MAX=6 build.dgp2020-04-201-112/+128
| |
| * Backport the encoding fix for source-7.2 in TCL_UTF_MAX=6 build.dgp2020-04-201-2/+15
| |