Timeline
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

106 check-ins using file tests/encoding.test version 871122adda

2020-04-27
11:08
small review Leaf check-in: b6d4029d2b user: sebres tags: bug-b6d0d8cc2c
10:45
fixes [b6d0d8cc2c]: on close firstly try graceful disconnect and don't linger if it succeeds (and pe... check-in: b960d1b71e user: sebres tags: bug-b6d0d8cc2c
2020-04-24
12:26
Fix GCC warning in MemDebug mode: format not a string literal and no format arguments [-Wformat-secu... check-in: e536b304da user: jan.nijtmans tags: core-8-5-branch
2020-04-23
19:25
merge 8.5 check-in: 92946e427a user: dgp tags: dgp-27944a3661
19:04
Argument conditions for Invalid() call were not always satisfied. check-in: 0200ddd3d4 user: dgp tags: core-8-5-branch
18:40
Since [27944a3661] calls for changing the behavior of Tcl_UtfNext(), change the expectations of the ... check-in: ce5bd4d5eb user: dgp tags: dgp-27944a3661
18:26
merge 8.5 check-in: d9f21300ed user: dgp tags: dgp-27944a3661
18:22
Revised Tcl_UtfCharComplete() to be a proper safety filter for the revised needs of callers of Tcl_U... check-in: fecfc37392 user: dgp tags: dgp-27944a3661
16:18
tests-perf/socket.perf.tcl: privides basic performance test construct Leaf check-in: eb479ac8f7 user: sebres tags: sock-perf-test
15:14
Since this branch is changing how Tcl_UtfNext reacts to a trail byte, we must allow the macro form t... check-in: 2f2c7de3ec user: dgp tags: dgp-27944a3661
14:52
documentation: descibes the empty list creation (with reserved space) where objv is NULL, like Tcl_N... check-in: ebdc28dd96 user: sebres tags: core-8-5-branch
14:51
Merge the two modes of Tcl_UtfNext into a single loop. check-in: c6dba8e537 user: dgp tags: dgp-27944a3661
14:02
Revise the totalBytes array so that it stores the number of bytes in a valid byte sequence beginnin... check-in: 4f1fbe0e8b user: dgp tags: dgp-27944a3661
13:31
merge 8.5 check-in: 91b6c7962c user: dgp tags: dgp-27944a3661
12:14
Fix [1004065]: UTF-8 encoding crashes in UCS-4 mode check-in: ed551cd16c user: jan.nijtmans tags: core-8-5-branch
2020-04-22
16:46
Merge-mark. Add Travis builds for TCL_UTF_MAX=5 and TCL_UTF_MAX=6: It looks like all tests are passi... Closed-Leaf check-in: 6b2beaf999 user: jan.nijtmans tags: bug-1004065
16:27
Another ucs2 testContraint no longer used check-in: 644187de27 user: jan.nijtmans tags: bug-1004065
16:06
Oopsee (but not really crucial) check-in: 262f07d738 user: jan.nijtmans tags: bug-1004065
16:00
Attempt to fix [1004065] for TCL_UTF_MAX=4. Disallow building Tcl with TCL_UTF_MAX>4 check-in: b85215dae6 user: jan.nijtmans tags: bug-1004065
2020-04-21
15:41
Move testing command [testsize] from Windows to generic. Extend it to report sizeof(Tcl_UniChar). check-in: 0c97886d3b user: dgp tags: bug-c574e50a3b
14:52
Revert the other encoding system backport. The blocking and failing tests are illustrations of exis... check-in: 5e5dcb2c29 user: dgp tags: bug-c574e50a3b
08:34
Merge 8.5 Closed-Leaf check-in: a59d7957f1 user: jan.nijtmans tags: core-8-5-orig
02:57
We've settled on using (TCL_UTF_MAX > 3) to indicate 4-byte Tcl_UniChar. check-in: ddf0a93f88 user: dgp tags: bug-c574e50a3b
02:50
Revert the backport to tclEncoding.c that seems to redefine the "unicode" encoding to mean UTF-16. D... check-in: 535c47dabd user: dgp tags: bug-c574e50a3b
2020-04-20
23:00
Pair every compat85 test with a fullutf test so that we cover all variants. check-in: 425eb392ec user: dgp tags: bug-c574e50a3b
22:35
Tie together the TCL_UTF_MAX=4 and TCL_UTF_MAX=6 builds to mean the same thing on the 8.5 branch -- ... check-in: 9c97d51fcf user: dgp tags: bug-c574e50a3b
08:32
Add travis build for TCL_UTF_MAX=4 and TCL_UTF_MAX=6. This test whether the "compat85" constraint (w... check-in: b785918fe0 user: jan.nijtmans tags: bug-c574e50a3b
07:50
Move the needed apt package in .travis.yml to the top, so they can be shared between the images. check-in: 3f5c8f265b user: jan.nijtmans tags: core-8-5-branch
07:34
Backport the fix for encoding-16.1 in a TCL_UTF_MAX=6 build. check-in: 47a2d97513 user: dgp tags: bug-c574e50a3b
06:45
Backport the encoding fix for source-7.2 in TCL_UTF_MAX=6 build. check-in: 024b7f7612 user: dgp tags: bug-c574e50a3b
05:35
Reconcile tests to the 8.5 branch history. check-in: dc75f5b2be user: dgp tags: bug-c574e50a3b
2020-04-19
22:04
merge 8.5 check-in: 255fe69c9e user: dgp tags: bug-c574e50a3b
22:02
typo check-in: 6588c1bd87 user: dgp tags: core-8-5-branch
20:49
Merge 8.5, and add the fix for [27944a3661] here too. Getting closer to what test-results we expect.... check-in: 7c70d7b16d user: jan.nijtmans tags: core-8-5-orig
19:37
More test-cases. Fix wrong quoting in testcase utf-10.5 check-in: 0529aa704a user: jan.nijtmans tags: core-8-5-branch
2020-04-18
19:54
Clean-up testcases: Constant use of uppercase in hex-values. Use "testbytestring" in stead of "bytes... check-in: 54904dfb9c user: jan.nijtmans tags: core-8-5-branch
15:11
regexp engine has to agree about the sizeof(Tcl_UniChar). check-in: 9313d08795 user: dgp tags: bug-c574e50a3b
15:02
Make TCL_UTF_MAX=4 build test clean again. check-in: d00690de08 user: dgp tags: bug-c574e50a3b
13:47
Fix [c574e50a3b30e76f]: CRASH: utf-2.[89] in 8.5 built with TCL_UTF_MAX=4 check-in: dda19888bd user: jan.nijtmans tags: bug-c574e50a3b
12:46
Update documentation of Tcl_UtfPrev/Tcl_UtfNext back to how it was. Will be updated later, when impl... check-in: 05486a901f user: jan.nijtmans tags: core-8-5-branch
2020-04-17
21:07
[493dccc2de] Revise sequence validity check to reject out of range decodes too. check-in: 2282b5ecbf user: dgp tags: core-8-5-branch
21:03
More tests explicitly for Tcl_UtfNext near validity boundary U+110000 check-in: 023c55ccfa user: dgp tags: core-8-5-branch
20:38
[493dccc2de] Coverage that Tcl_UtfPrev also checks the upper range validity. check-in: 610d63729c user: dgp tags: core-8-5-branch
20:23
Corrections for many tests, changing lead byte \xF4 to \xF2. The tested sequences were always intend... check-in: b32ef35eb2 user: dgp tags: core-8-5-branch
20:15
Backport a collection of tests for consistency between branches. check-in: 23a725c239 user: dgp tags: core-8-5-branch
16:56
Bring back the test utf-2.11; it fails in a TCL_UTF_MAX=4 build. check-in: bd2f0daf0f user: dgp tags: core-8-5-branch
13:31
Add mem-debug build to Travis. Update Xcode from 8 to 8.3, 9 to 9.2 and 11.3 to 11.4 check-in: b6ddecc9da user: jan.nijtmans tags: core-8-5-branch
13:01
Unbreak shared windows build. Remove some ARGSUSED usage. check-in: 8dd8b3e777 user: jan.nijtmans tags: core-8-5-branch
12:49
Clean-up some unnecessary spacing. check-in: 8abc31553c user: jan.nijtmans tags: core-8-5-branch
09:47
More test-cases check-in: 0ea7551b5e user: jan.nijtmans tags: core-8-5-branch
09:17
Original implementation of Tcl 8.5 before the Tcl_UtfPrev/Tcl_UtfNext reform. But: Add the (harmless... check-in: 11eb38dbe2 user: jan.nijtmans tags: core-8-5-orig
2020-04-16
20:28
merge litter check-in: 7e421dce7c user: dgp tags: core-8-5-branch
19:52
Convert Tcl_UtfNext into a routine that doesn't decode UTF-8 into UCS-2, but sticks only to its task... check-in: 76213b3f72 user: dgp tags: core-8-5-branch
19:39
Improve the docs for Tcl_UtfNext. Closed-Leaf check-in: cf6c570b2a user: dgp tags: dgp-utf-next
19:04
delete merge litter check-in: c9025631ee user: dgp tags: dgp-utf-next
19:02
More detailed comments. check-in: f6a8c5432f user: dgp tags: dgp-utf-next
18:42
compiler warning check-in: f4baf7e7af user: dgp tags: dgp-utf-next
18:40
More tests and fix for overlong handling in revised Tcl_UtfNext. check-in: 29041a6d75 user: dgp tags: dgp-utf-next
18:15
merge 8.5 check-in: 80f651b10f user: dgp tags: dgp-utf-next
18:14
Create and use macro TclUtfPrev for Tcl_UtfPrev. check-in: 3ba6c74d19 user: dgp tags: core-8-5-branch
17:55
merge 8.5 check-in: aadfd3448c user: dgp tags: dgp-utf-next
17:41
[5e6346a252] Adapt Tcl_UtfPrev to new Tcl rules that reject overlong sequences. check-in: a315a590f8 user: dgp tags: core-8-5-branch
17:30
Convert Overlong() to use a lookup table. Closed-Leaf check-in: 5550e9ac96 user: dgp tags: bug-5e6346a252
16:22
When we reject overlong sequences, \xC1 is as invalid a lead byte as \xFF. check-in: ce6e2901e2 user: dgp tags: bug-5e6346a252
15:48
merge 8.5 check-in: 877190c2e0 user: dgp tags: dgp-utf-next
15:38
merge 8.5 check-in: b59c18d809 user: dgp tags: bug-5e6346a252
10:07
Add (internal) stub entries for TclRegisterLiteral and TclStaticPackage. Not used in any test-cases ... check-in: 284a8015be user: jan.nijtmans tags: core-8-5-branch
2020-04-15
22:39
Refactor the Overlong test into a utility routine. check-in: 9cf8c75384 user: dgp tags: bug-5e6346a252
22:28
Use test existence to shorten comment. check-in: 32c044a1f8 user: dgp tags: bug-5e6346a252
22:14
More test coverage check-in: 6be510bdfd user: dgp tags: bug-5e6346a252
21:48
Rework Tcl_UtfPrev so it properly handles overlong sequences. check-in: bd5edfc3bc user: dgp tags: bug-5e6346a252
19:33
New test command "testutfnext", not used yet in actual test-cases. Being merged up to higher branche... check-in: 4eb84fae1d user: jan.nijtmans tags: core-8-5-branch
17:05
New tests checking Tcl_UtfPrev handling of overlong sequences. Bug demonstrated. check-in: d89096d805 user: dgp tags: bug-5e6346a252
16:42
Add test demonstrating that Tcl_UtfNext accepts overlong byte sequences, which is in conflict with w... check-in: eb8d77aba1 user: dgp tags: dgp-utf-next
14:42
Collection of coverage tests for Tcl_UtfNext. check-in: 1c991cdf8e user: dgp tags: dgp-utf-next
2020-04-14
21:39
New testing command [testutfnext]. check-in: d606001497 user: dgp tags: dgp-utf-next
21:32
typo check-in: 3e47eb4000 user: dgp tags: dgp-utf-next
21:25
Fix the bad logic in Tcl_UtfNext(). check-in: eb95fbb884 user: dgp tags: dgp-utf-next
21:16
Replace calls of TclUtfToUniChar() with TclUtfNext() when caller has no decoding need. Failing test ... check-in: d0cc6cdb7f user: dgp tags: dgp-utf-next
20:18
Create and use an optimized macro TclUtfNext() for Tcl_UtfNext(). check-in: 7a62f79951 user: dgp tags: dgp-utf-next
20:03
The function of Tcl_UtfNext() is to advance a pointer. There's nothing inherent in that task that re... check-in: 9e87b14c18 user: dgp tags: dgp-utf-next
17:52
Keep the tests consistent. check-in: 6baf1d7896 user: dgp tags: core-8-5-branch
09:38
Backport test-cases from 8.6 check-in: 31c2af9c3f user: jan.nijtmans tags: core-8-5-branch
2020-04-13
21:18
test numbering check-in: c73cd1f5b5 user: dgp tags: core-8-5-branch
19:45
[c61818e4c9] Fix regression in Tcl_UtfPrev from 2001. Many tests. check-in: 6f0a816449 user: dgp tags: core-8-5-branch
19:39
Improve the precision of the Tcl_UtfPrev documentation. Closed-Leaf check-in: 40dd03d6e7 user: dgp tags: dgp-utf-prev-alt
18:42
Make the comments describing Tcl_UtfPrev more complete and precise. check-in: 0db5bfbfeb user: dgp tags: dgp-utf-prev-alt
16:57
Repair tests to expect the right thing. check-in: 3bc3ce237a user: dgp tags: dgp-utf-prev-alt
16:52
merge 8.5 check-in: e13ac5b8da user: dgp tags: dgp-utf-prev-alt
16:51
[a7f685a181] Eliminate botched call of Tcl_UtfPrev. check-in: 72ce3b9c00 user: dgp tags: core-8-5-branch
16:44
New test demonstrating Tcl_StringCaseMatch is botched in its use of Tcl_UtfPrev. It doesn't conside... check-in: e4c7f0e08a user: dgp tags: core-8-5-branch
15:02
merge 8.5 check-in: 9ebb30f8c4 user: dgp tags: dgp-utf-prev-alt
15:01
Known bug test string-22.14 is not so hard to fix. check-in: 0cf00e7ba0 user: dgp tags: core-8-5-branch
14:30
A NUL byte cannot be mistaken for a trail byte. check-in: 2e9ce74f78 user: dgp tags: dgp-utf-prev-alt
14:29
merge 8.5 check-in: a1214ed279 user: dgp tags: dgp-utf-prev-alt
14:21
TclTrim() can also demand NUL-terminated arguments, and be simplified. check-in: 869537c21d user: dgp tags: core-8-5-branch
13:51
TclTrimLeft and TclTrimRight are internal routines. They demand NUL-terminated arguments. That's a r... check-in: 810eec64e8 user: dgp tags: core-8-5-branch
02:31
merge 8.5 check-in: d8eeb99198 user: dgp tags: dgp-utf-prev-alt
02:28
[c61818e4c9] [string trimright] robustly handle backing up over incomplete or malformed byte sequenc... check-in: d15a2b241e user: dgp tags: core-8-5-branch
02:10
Cherrypick partial fix. check-in: e1968e91c8 user: dgp tags: core-8-5-branch
01:41
merge 8.5 check-in: e8c478e9d0 user: dgp tags: dgp-utf-prev-alt
01:40
Another test for [string trimright] that demonstrates its own failures, not those of Tcl_UtfPrev. check-in: fd93a662d8 user: dgp tags: core-8-5-branch
00:12
Convert test to not directly use identity encoding. check-in: e2593ce8b7 user: dgp tags: core-8-5-branch
00:09
added test case covering [c61818e4c9] - string trim for not valid utf-8 sequence (mistakenly conside... check-in: aa03cde0d2 user: dgp tags: core-8-5-branch
2020-04-12
23:54
merge 8.5 check-in: a5d692baff user: dgp tags: dgp-utf-prev-alt
23:53
Stop direct use of the identity encoding in tests. check-in: 21f7f0b9d3 user: dgp tags: core-8-5-branch