Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | Replace encoding -strict etc. with -profile | apnadkarni | 2023-02-02 | 1 | -66/+66 | |
|/ / / | ||||||
* | | | (cherry-pick) Make Tcl_UniCharToUtf more readable and add test to exercise ↵ | jan.nijtmans | 2023-02-01 | 1 | -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.nijtmans | 2023-01-31 | 1 | -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.nijtmans | 2023-01-27 | 1 | -7/+20 | |
|\ \ \ | | |/ | |/| | ||||||
| * | | new testcase encoding-18.1. Testcase cleanup | jan.nijtmans | 2023-01-27 | 1 | -75/+76 | |
| | | | ||||||
* | | | Test TableFromUtfProc() with strict handling of encoding errors. | pooryorick | 2023-01-25 | 1 | -2/+6 | |
|\ \ \ | ||||||
| * | | | Test TableFromUtfProc() with strict handling of encoding errors. | pooryorick | 2023-01-25 | 1 | -2/+6 | |
| | | | | ||||||
* | | | | First part of fix for [4a7397e0b3]. Not complete yet. | jan.nijtmans | 2023-01-24 | 3 | -13/+13 | |
|\ \ \ \ | ||||||
| * \ \ \ | Merge 9.0 | jan.nijtmans | 2023-01-24 | 7 | -31/+106 | |
| |\ \ \ \ | ||||||
| | * \ \ \ | Merge-mark. Fix testConstraint utf32 (in tests/string.test) | jan.nijtmans | 2023-01-23 | 1 | -1/+1 | |
| | |\ \ \ \ | |_|/ / / / |/| | | | | | ||||||
| | * | | | | Merge 8.7 | jan.nijtmans | 2023-01-22 | 3 | -20/+54 | |
| | |\ \ \ \ | |_|/ / / / |/| | | | | | ||||||
* | | | | | | Allow "-strict" and "-failindex" to be used together in "encoding ↵ | jan.nijtmans | 2023-01-22 | 3 | -20/+54 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | convertfrom|convertto". As requested in ticket [a31caff057] | |||||
| * | | | | | | Better error-message | jan.nijtmans | 2023-01-20 | 3 | -18/+18 | |
| | | | | | | | ||||||
| * | | | | | | New proposal: Allow "-strict" immediately before or after "-failindex var". | jan.nijtmans | 2023-01-19 | 3 | -18/+52 | |
| | | | | | | | ||||||
| * | | | | | | Merge 8.7 | jan.nijtmans | 2023-01-19 | 3 | -10/+10 | |
| |\ \ \ \ \ \ | ||||||
| * | | | | | | | Proposed fix for [a31caff057]: encoding command does not allow -strict to be ↵ | jan.nijtmans | 2023-01-14 | 3 | -20/+20 | |
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | used with -failindex | |||||
| | | | * | | | Merge 8.7 (Bug [e3dcab1d14]) | Kevin B Kenny | 2023-01-22 | 1 | -0/+41 | |
| | | | |\ \ \ | |_|_|_|/ / / |/| | | | | | | ||||||
| | | | | | | | ||||||
| \ \ \ \ \ \ | ||||||
*-. \ \ \ \ \ \ | Bug [e3dcab1d14] - merge fix from 8.6 | Kevin B Kenny | 2023-01-22 | 1 | -0/+39 | |
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | / | | | |_|_|_|/ | | |/| | | | | ||||||
| | * | | | | | Missed one more off-by-one error, also, tests misnumbered for merge forward. | Kevin B Kenny | 2023-01-22 | 1 | -7/+7 | |
| |/ / / / / | ||||||
| * | | | | | Bug [e3dcab1d14] fix | Kevin B Kenny | 2023-01-22 | 1 | -0/+37 | |
| | | | | | | ||||||
| | | | * | | Merge 8.7 | jan.nijtmans | 2023-01-19 | 2 | -6/+6 | |
| | | | |\ \ | |_|_|_|/ / |/| | | | | | ||||||
* | | | | | | Fix [https://core.tcl-lang.org/tk/tktview?name=370b1ff03e|370b1ff03e]: Wrong ↵ | jan.nijtmans | 2023-01-19 | 2 | -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.nijtmans | 2023-01-18 | 2 | -6/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | behavior. | |||||
| | | | | * | Merge 8.7 | jan.nijtmans | 2023-01-18 | 1 | -4/+4 | |
| | | | | |\ | |_|_|_|_|/ |/| | | | | | ||||||
* | | | | | | Merge 8.6 | jan.nijtmans | 2023-01-18 | 1 | -4/+4 | |
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / / | ||||||
| * | | | | Fix issue [8f7fdea2d], string-2.20.1 fails on big endian, and also fix ↵ | pooryorick | 2023-01-15 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | issues in TclStringCmp when checkEq is 1. | |||||
| | | * | | Merge trunk. Make test-cases pass (again). This might indicate a bug in ↵ | jan.nijtmans | 2023-01-17 | 6 | -31/+31 | |
| | | |\ \ | | | | |/ | | | | | | | | | | | utf-8 decoder, but that will be handled separately. | |||||
| | | | * | Merge 8.7 | jan.nijtmans | 2023-01-15 | 3 | -18/+18 | |
| | | | |\ | | | |/ / | |_|_| / |/| | | | ||||||
* | | | | Update documentation, matching current implementation | jan.nijtmans | 2023-01-15 | 3 | -18/+18 | |
| |/ / |/| | | ||||||
| | * | Merge 8.7 | jan.nijtmans | 2022-12-20 | 2 | -82/+4 | |
| | |\ | |_|/ |/| | | ||||||
* | | | Fix [17a1cb8d6e2a51bd]. From now on, noncharacters are no longer rejected in ↵ | jan.nijtmans | 2022-12-20 | 2 | -82/+4 | |
|\ \ \ | | | | | | | | | | | | | -strict mode | |||||
| * | | | Remove all checks for noncharacters | jan.nijtmans | 2022-12-19 | 1 | -4/+4 | |
|/ / / | ||||||
| | * | Merge 8.7 | jan.nijtmans | 2022-12-19 | 1 | -0/+78 | |
| | |\ | |_|/ |/| | | ||||||
* | | | Add two testcases, showing how we can distinguish Invalid Byte sequences, ↵ | jan.nijtmans | 2022-12-19 | 1 | -0/+78 | |
| | | | | | | | | | | | | Surrogates, and Noncharacters when an exception occurred. | |||||
| | * | Merge 8.7 | jan.nijtmans | 2022-12-16 | 1 | -0/+6 | |
| | |\ | |_|/ |/| | | ||||||
* | | | Addendum to [https://core.tcl-lang.org/tips/doc/trunk/tip/601.md|TIP #601]. ↵ | jan.nijtmans | 2022-12-16 | 1 | -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.7 | jan.nijtmans | 2022-12-16 | 1 | -2/+8 | |
| | |\ | |_|/ |/| | | ||||||
* | | | Merge 8.7 | jan.nijtmans | 2022-12-16 | 1 | -1/+1 | |
|\ \ \ | ||||||
* | | | | Add testcase | jan.nijtmans | 2022-12-16 | 1 | -2/+8 | |
| | | | | ||||||
| | | * | Merge 8.7 | jan.nijtmans | 2022-12-16 | 1 | -1/+1 | |
| | | |\ | | |_|/ | |/| | | ||||||
| * | | | Adapt iocmd-8.* testcases to change in previous commit | jan.nijtmans | 2022-12-16 | 1 | -1/+1 | |
|/ / / | ||||||
| | * | Merge 8.7 | jan.nijtmans | 2022-12-15 | 1 | -5/+5 | |
| | |\ | |_|/ |/| | | ||||||
* | | | Fix Tcl_BadChannelOption(), new -nocomplainencoding and -strictencoding ↵ | jan.nijtmans | 2022-12-15 | 1 | -5/+5 | |
| | | | | | | | | | | | | options were still missing (reported by Rolf Ade, thanks!) | |||||
| | * | Merge 8.7 | jan.nijtmans | 2022-12-11 | 1 | -33/+31 | |
| | |\ | |_|/ |/| | | ||||||
* | | | More io test-cases. Mostly backported (and modified) from 9.0 | jan.nijtmans | 2022-12-11 | 1 | -31/+124 | |
| | | | ||||||
| | * | Merge 8.7 | jan.nijtmans | 2022-12-09 | 1 | -16/+57 | |
| | |\ | |_|/ |/| | | ||||||
* | | | Merge 8.7. Adapt testcase, showing that after an encoding error we can ↵ | jan.nijtmans | 2022-12-09 | 1 | -4/+7 | |
|\ \ \ | | | | | | | | | | | | | change encoding and continue reading | |||||
* | | | | Add 2 unit-tests, for the 2 cornercases mentioned in the TIP. This shows ↵ | jan.nijtmans | 2022-12-09 | 1 | -0/+40 | |
|/ / / | | | | | | | | | | that the fix works as expected | |||||
| | * | Fix utf32 lables in testcases (some not necessary any more, one missing), ↵ | jan.nijtmans | 2022-12-02 | 1 | -11/+11 | |
| | | | | | | | | | | | | indicating differences between Tcl 8.x and 9.0 | |||||
| | * | Handle "deprecated" condition correctly in test-cases | jan.nijtmans | 2022-12-01 | 3 | -7/+8 | |
| | | |