Commit Graph

285 Commits

Author SHA1 Message Date
jan.nijtmans
aad4b6527f Eliminate "-encoding binary" as much as possible in testcases 2024-06-24 11:35:42 +00:00
jan.nijtmans
ef86c6216a Revise use of "-translation binary" in testcases: Use it where usefull, don't use it any more where misleading 2024-06-21 17:08:53 +00:00
jan.nijtmans
f82e67e7bf Revise use of "-translation binary" in testcases: Use it where usefull, don't use it any more where misleading 2024-06-21 14:44:17 +00:00
jan.nijtmans
c807854b0c Add koi8-ru and koi8-t encodings 2024-03-27 09:49:21 +00:00
jan.nijtmans
c3d2c3bacb Add koi8-ru and koi8-t encodings, completing the 4 "koi8" encodings available in iconv. 2024-03-26 13:06:33 +00:00
jan.nijtmans
24a5bc97d5 Remove testgetencpath/testsetencpath test commands: Testcase can use "encoding dirs" as well. (borrowed from bug-2a0966cdc9 branch, testcase only) 2023-11-23 13:48:05 +00:00
jan.nijtmans
41883cbddf test-case cleanup 2023-09-28 09:53:55 +00:00
jan.nijtmans
b5fb869a2d Merge "revert-dup-pure" branch: get rid of TclDuplicatePureObj() 2023-08-25 15:14:18 +00:00
apnadkarni
8f08010332 Fix UtfToUtf16Proc and UtfToUCS2Proc to not assume sizeof(Tcl_UniChar) is size of UTF16 / UCS2 code unit" 2023-08-18 06:57:08 +00:00
jan.nijtmans
6bf04853ec Use more uppercase hex in documentation and test-cases (for consistancy) 2023-07-04 14:52:30 +00:00
apnadkarni
5dab0fa5de Backport fix [66ffafd309]. DBCS infinite loop on invalid encoding 2023-07-02 04:55:47 +00:00
apnadkarni
6ae93efff0 Bug [6a3e2cb0f0] - invalid bytes in escape encodings 2023-06-29 11:09:29 +00:00
jan.nijtmans
3c8ac03074 Specify implicit "-profile tcl8" in encoding-24.4 testcase 2023-06-13 06:05:02 +00:00
apnadkarni
5655318f50 Merge 8.7 2023-03-16 17:29:12 +00:00
apnadkarni
a3c59e320d Change -encodingprofile to -profile 2023-03-16 03:08:12 +00:00
dgp
6d3b66ad23 Merge in constraint spelling fix. Keep it in case the knownBug constraint is ever removed. 2023-03-15 13:28:55 +00:00
dgp
6bd8763c2d Misspelled constraint created testing noise. 2023-03-15 12:53:03 +00:00
apnadkarni
87b3bcc550 Merge 8.7 2023-03-14 15:34:42 +00:00
jan.nijtmans
b05b4cf948 Since "unicode" is deprecated, use "utf-16" in testcases. Otherwise -DTCL_NO_DEPRECATED build fails. 2023-03-14 10:30:59 +00:00
jan.nijtmans
18a99f2522 Add "ucs-2" constraint to encoding-bug-183a1adcc0-5 testcase, otherwise it fails with TCL_UTF_MAX>3.
Broken by [47857515422b8519|this] commit
2023-03-14 10:05:24 +00:00
apnadkarni
d53dfb14c7 Merge 8.6: Bug [183a1adcc0]. Buffer overflow in Tcl_UtfToExternal 2023-03-13 15:34:22 +00:00
apnadkarni
6d74232282 Bug [183a1adcc0]. Buffer overflow in Tcl_UtfToExternal 2023-03-13 13:44:35 +00:00
jan.nijtmans
131176ce2f Backport [6fb14ee3e876978c]. Add testcases 2023-03-12 16:37:12 +00:00
jan.nijtmans
77e951f2b8 Fix [db7a085bd9]: encoding convertfrom -strict utf-16 accepts partial surrogates 2023-03-12 12:37:29 +00:00
apnadkarni
44fdf09f7b Bug [e778e3f804]. Fix error message for invalid profile name. 2023-03-02 06:41:39 +00:00
apnadkarni
e2d89615d5 Tests for encoding strings > 4GB (under perf constraint) 2023-02-27 04:15:07 +00:00
apnadkarni
76adf3151b Merge 8.7 2023-02-24 09:57:07 +00:00
apnadkarni
e469cdf190 Merge 8.7 2023-02-23 11:22:22 +00:00
jan.nijtmans
7c6f71019a Merge 8.7 2023-02-22 20:27:34 +00:00
jan.nijtmans
8f37d5c24e Merge 8.6 2023-02-22 17:56:42 +00:00
apnadkarni
320eaab501 Merge 8.7 2023-02-22 15:28:00 +00:00
jan.nijtmans
e106525498 Merge 8.7 2023-02-22 07:48:10 +00:00
jan.nijtmans
c606ae1574 Proposed fix for [d19fe0a5b]: Handling incomplete byte sequences for utf-16/utf-32 2023-02-21 17:50:36 +00:00
jan.nijtmans
23d9ca0ec4 Proposed fix for [5607d6482c]: strict ucs-2 never implemented (TIP #346/#656) 2023-02-19 11:41:44 +00:00
apnadkarni
41c5d1cd91 Minor refactoring/fixes after merge 2023-02-18 17:41:44 +00:00
apnadkarni
933e1c8e0c Merge 8.7 to pick up UTF-8 encoding fix 2023-02-18 17:34:25 +00:00
jan.nijtmans
0892c6f37c Merge 8.7 2023-02-17 19:15:28 +00:00
apnadkarni
359092510b Merge 8.7 2023-02-17 11:08:17 +00:00
jan.nijtmans
45796af99d complete fix 2023-02-16 21:50:53 +00:00
jan.nijtmans
6bcdbfbf84 Merge 8.7 2023-02-16 21:41:49 +00:00
jan.nijtmans
6d674a96a1 Final part of [10c2c17c32]: UTF-LE32 encoder mapping of surrogates. Problem was in testcase, not in actual code 2023-02-16 21:29:07 +00:00
jan.nijtmans
a3f58db271 Merge 8.7 2023-02-16 21:14:24 +00:00
jan.nijtmans
2c3252bc5c Fix [5e6ae6e05e]: Implement -strict correctly for cesu-8 2023-02-16 21:03:48 +00:00
jan.nijtmans
0563a78902 Fix [5e6ae6e05e]: Implement -strict correctly for cesu-8 2023-02-16 16:59:10 +00:00
jan.nijtmans
5053891183 Try to fix [885c86a9a0]. Doesn't work completely yet. 2023-02-16 07:59:09 +00:00
jan.nijtmans
f06c5e7af1 Fix for [33ab6d08eb]: Inconsistent behavior with encoding convertfrom -failindex 2023-02-15 20:26:10 +00:00
jan.nijtmans
7fb1760f42 Merge 8.7. Test-case only 2023-02-15 07:30:03 +00:00
jan.nijtmans
4c2d834fca Ticket [10c2c17c32] follow-up. One output char too much with -failindex. 2023-02-15 07:21:55 +00:00
apnadkarni
6aed3e7d30 Merge 8.7 2023-02-15 05:24:48 +00:00
jan.nijtmans
fb260e8382 Merge 8.7 2023-02-14 22:06:32 +00:00