summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Replace encoding -strict etc. with -profileapnadkarni2023-02-021-66/+66
|/ / /
* | | (cherry-pick) Make Tcl_UniCharToUtf more readable and add test to exercise ↵jan.nijtmans2023-02-011-0/+24
| | | | | | | | | | | | surrogate handling. (test-case was still missing, which cannot be used in Tcl 8.6)
* | | SetFlag -> GotFlag (since SetFlag always returns 1, this is nonsence in an ↵jan.nijtmans2023-01-311-0/+10
| | | | | | | | | | | | if() statement). Also add test-case, showing that it was actually wrong, in behavior too.
* | | Fix off-by-one error in tclCmdAH.c, with testcases showing that it works now.jan.nijtmans2023-01-271-7/+20
|\ \ \ | | |/ | |/|
| * | new testcase encoding-18.1. Testcase cleanupjan.nijtmans2023-01-271-75/+76
| | |
* | | Test TableFromUtfProc() with strict handling of encoding errors.pooryorick2023-01-251-2/+6
|\ \ \
| * | | Test TableFromUtfProc() with strict handling of encoding errors.pooryorick2023-01-251-2/+6
| | | |
* | | | First part of fix for [4a7397e0b3]. Not complete yet.jan.nijtmans2023-01-243-13/+13
|\ \ \ \
| * \ \ \ Merge 9.0jan.nijtmans2023-01-247-31/+106
| |\ \ \ \
| | * \ \ \ Merge-mark. Fix testConstraint utf32 (in tests/string.test)jan.nijtmans2023-01-231-1/+1
| | |\ \ \ \ | |_|/ / / / |/| | | | |
| | * | | | Merge 8.7jan.nijtmans2023-01-223-20/+54
| | |\ \ \ \ | |_|/ / / / |/| | | | |
* | | | | | Allow "-strict" and "-failindex" to be used together in "encoding ↵jan.nijtmans2023-01-223-20/+54
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | convertfrom|convertto". As requested in ticket [a31caff057]
| * | | | | | Better error-messagejan.nijtmans2023-01-203-18/+18
| | | | | | |
| * | | | | | New proposal: Allow "-strict" immediately before or after "-failindex var".jan.nijtmans2023-01-193-18/+52
| | | | | | |
| * | | | | | Merge 8.7jan.nijtmans2023-01-193-10/+10
| |\ \ \ \ \ \
| * | | | | | | Proposed fix for [a31caff057]: encoding command does not allow -strict to be ↵jan.nijtmans2023-01-143-20/+20
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | used with -failindex
| | | | * | | Merge 8.7 (Bug [e3dcab1d14])Kevin B Kenny2023-01-221-0/+41
| | | | |\ \ \ | |_|_|_|/ / / |/| | | | | |
| | | | | | |
| \ \ \ \ \ \
*-. \ \ \ \ \ \ Bug [e3dcab1d14] - merge fix from 8.6Kevin B Kenny2023-01-221-0/+39
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | / | | | |_|_|_|/ | | |/| | | |
| | * | | | | Missed one more off-by-one error, also, tests misnumbered for merge forward.Kevin B Kenny2023-01-221-7/+7
| |/ / / / /
| * | | | | Bug [e3dcab1d14] fixKevin B Kenny2023-01-221-0/+37
| | | | | |
| | | | * | Merge 8.7jan.nijtmans2023-01-192-6/+6
| | | | |\ \ | |_|_|_|/ / |/| | | | |
* | | | | | Fix [https://core.tcl-lang.org/tk/tktview?name=370b1ff03e|370b1ff03e]: Wrong ↵jan.nijtmans2023-01-192-6/+6
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | Tk_MeasureChars result when linking with Tcl 9 (--disable-xft only) This turned out to be an error in Tcl 8.7, after all. Since some test-cases depend on the replacement behavior on Tcl 8.6, we need to add "-nocomplainencoding" to make it work in Tcl 9.0.
| * | | | | Some test-cases need -nocomplainencoding 1, because they use the fallback ↵jan.nijtmans2023-01-182-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | behavior.
| | | | | * Merge 8.7jan.nijtmans2023-01-181-4/+4
| | | | | |\ | |_|_|_|_|/ |/| | | | |
* | | | | | Merge 8.6jan.nijtmans2023-01-181-4/+4
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / /
| * | | | Fix issue [8f7fdea2d], string-2.20.1 fails on big endian, and also fix ↵pooryorick2023-01-151-3/+3
| | | | | | | | | | | | | | | | | | | | issues in TclStringCmp when checkEq is 1.
| | | * | Merge trunk. Make test-cases pass (again). This might indicate a bug in ↵jan.nijtmans2023-01-176-31/+31
| | | |\ \ | | | | |/ | | | | | | | | | | utf-8 decoder, but that will be handled separately.
| | | | * Merge 8.7jan.nijtmans2023-01-153-18/+18
| | | | |\ | | | |/ / | |_|_| / |/| | |
* | | | Update documentation, matching current implementationjan.nijtmans2023-01-153-18/+18
| |/ / |/| |
| | * Merge 8.7jan.nijtmans2022-12-202-82/+4
| | |\ | |_|/ |/| |
* | | Fix [17a1cb8d6e2a51bd]. From now on, noncharacters are no longer rejected in ↵jan.nijtmans2022-12-202-82/+4
|\ \ \ | | | | | | | | | | | | -strict mode
| * | | Remove all checks for noncharactersjan.nijtmans2022-12-191-4/+4
|/ / /
| | * Merge 8.7jan.nijtmans2022-12-191-0/+78
| | |\ | |_|/ |/| |
* | | Add two testcases, showing how we can distinguish Invalid Byte sequences, ↵jan.nijtmans2022-12-191-0/+78
| | | | | | | | | | | | Surrogates, and Noncharacters when an exception occurred.
| | * Merge 8.7jan.nijtmans2022-12-161-0/+6
| | |\ | |_|/ |/| |
* | | Addendum to [https://core.tcl-lang.org/tips/doc/trunk/tip/601.md|TIP #601]. ↵jan.nijtmans2022-12-161-0/+6
| | | | | | | | | | | | Add check for characters > U+10FFFF in utf-32. Since utf-8 cannot handle that, either replace it with the replacement character (-nocomplain) or throw an exception (-strict).
| | * Merge 8.7jan.nijtmans2022-12-161-2/+8
| | |\ | |_|/ |/| |
* | | Merge 8.7jan.nijtmans2022-12-161-1/+1
|\ \ \
* | | | Add testcasejan.nijtmans2022-12-161-2/+8
| | | |
| | | * Merge 8.7jan.nijtmans2022-12-161-1/+1
| | | |\ | | |_|/ | |/| |
| * | | Adapt iocmd-8.* testcases to change in previous commitjan.nijtmans2022-12-161-1/+1
|/ / /
| | * Merge 8.7jan.nijtmans2022-12-151-5/+5
| | |\ | |_|/ |/| |
* | | Fix Tcl_BadChannelOption(), new -nocomplainencoding and -strictencoding ↵jan.nijtmans2022-12-151-5/+5
| | | | | | | | | | | | options were still missing (reported by Rolf Ade, thanks!)
| | * Merge 8.7jan.nijtmans2022-12-111-33/+31
| | |\ | |_|/ |/| |
* | | More io test-cases. Mostly backported (and modified) from 9.0jan.nijtmans2022-12-111-31/+124
| | |
| | * Merge 8.7jan.nijtmans2022-12-091-16/+57
| | |\ | |_|/ |/| |
* | | Merge 8.7. Adapt testcase, showing that after an encoding error we can ↵jan.nijtmans2022-12-091-4/+7
|\ \ \ | | | | | | | | | | | | change encoding and continue reading
* | | | Add 2 unit-tests, for the 2 cornercases mentioned in the TIP. This shows ↵jan.nijtmans2022-12-091-0/+40
|/ / / | | | | | | | | | that the fix works as expected
| | * Fix utf32 lables in testcases (some not necessary any more, one missing), ↵jan.nijtmans2022-12-021-11/+11
| | | | | | | | | | | | indicating differences between Tcl 8.x and 9.0
| | * Handle "deprecated" condition correctly in test-casesjan.nijtmans2022-12-013-7/+8
| | |