summaryrefslogtreecommitdiffstats
path: root/tests/utf.test
Commit message (Collapse)AuthorAgeFilesLines
* Backport parsing of surrogate-pair change from 8.6 (only for TCL_UTF_MAX=4)jan.nijtmans2020-04-281-81/+111
| | | 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
|
* 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.
* Two more tests developed during work on [27944a3661].dgp2020-04-241-0/+6
|
* Fix [1004065]: UTF-8 encoding crashes in UCS-4 modejan.nijtmans2020-04-231-56/+56
|\
* | test number reusedgp2020-04-221-3/+3
| |
* | Collection of tests checking read limit protections calling Tcl_UtfNext.dgp2020-04-221-0/+117
| |
* | Eliminate the -bytestring option of [testutfnext]. No caller needs anything ↵dgp2020-04-221-100/+100
|/ | | | else.
* Determine "testConstraint ucs2" without the need for a testcommand. Rename ↵jan.nijtmans2020-04-221-26/+26
| | | | "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-211-104/+104
| | | | and it will test whether src[-1] is read without needing test-variations for it.
* Pair every compat85 test with a fullutf test so that we cover all variants.dgp2020-04-201-30/+107
|
* Reconcile tests to the 8.5 branch history.dgp2020-04-201-1/+1
|
* typodgp2020-04-191-1/+1
|
* More test-cases. Fix wrong quoting in testcase utf-10.5jan.nijtmans2020-04-191-8/+44
|
* Clean-up testcases: Constant use of uppercase in hex-values. Use ↵jan.nijtmans2020-04-181-141/+137
| | | | "testbytestring" in stead of "bytestring". Mark tests not working with TCL_UTF_MAX>3 with "compat85"
* More tests explicitly for Tcl_UtfNext near validity boundary U+110000dgp2020-04-171-0/+6
|
* [493dccc2de] Coverage that Tcl_UtfPrev also checks the upper range validity.dgp2020-04-171-0/+24
|
* Corrections for many tests, changing lead byte \xF4 to \xF2.dgp2020-04-171-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.dgp2020-04-171-5/+12
|
* Bring back the test utf-2.11; it fails in a TCL_UTF_MAX=4 build.dgp2020-04-171-0/+8
|
* More test-casesjan.nijtmans2020-04-171-0/+30
|
* More tests and fix for overlong handling in revised Tcl_UtfNext.dgp2020-04-161-1/+22
|
* merge 8.5dgp2020-04-161-0/+69
|\
| * More test coveragedgp2020-04-151-0/+42
| |
| * New tests checking Tcl_UtfPrev handling of overlong sequences. Bug demonstrated.dgp2020-04-151-0/+27
| |
* | Add test demonstrating that Tcl_UtfNext accepts overlong byte sequences,dgp2020-04-151-3/+3
| | | | | | which is in conflict with what Tcl_UtfToUniChar does.
* | Collection of coverage tests for Tcl_UtfNext.dgp2020-04-151-2/+244
|/
* Backport test-cases from 8.6jan.nijtmans2020-04-141-10/+30
|
* Repair tests to expect the right thing.dgp2020-04-131-2/+2
|
* more testsdgp2020-04-081-0/+45
|
* Convert the tests to use the testing command.dgp2020-04-071-92/+116
|
* More tests that should continue to demo faults in Tcl_UtfPrev afterdgp2020-04-071-0/+23
| | | [string trimright] implementation is improved.
* Set of tests demonstrating flaws in Tcl_UtfPrev (as viewed through a fragiledgp2020-04-071-0/+67
| | | implementation of [string trimright]). See ticket [c61818e4c9].
* Fix [8663689908d3304a74fee525cd04aa4162e86391|8663689908d3]: regexp \\w ↵jan.nijtmans2016-04-081-1/+1
| | | | missing characters
* Starting with Unicode 6.3, the mongolian vowel separator (U+180e) is no ↵jan.nijtmans2014-07-111-15/+15
| | | | | | longer a whitespace, but for Tcl it still is. "NEL/Next Line" (U+0085) should have been a Unicode whitespace, but never was in Tcl. This is corrected in Tcl 8.6, but for legacy reasons not in Tcl 8.5. Update documentation accordingly, and extend test-cases for Unicode 7 compliance.
* Fix uniClass tool which was the real cause for [a876646efe], and add ↵jan.nijtmans2013-06-181-2/+2
| | | | test-case for it.
* [Bug 3464428] string is graph \u0120 is wrongjan.nijtmans2012-01-091-0/+28
|\
| * [Bug 3464428] string is graph \u0120 is wrongjan.nijtmans2012-01-091-0/+28
| |
* | [Bug 3464428] string is graph \u0120 is wrongjan.nijtmans2011-12-241-3/+14
|\ \ | |/