Skip to content
Tcl Source Code Check-in [76213b3f72]
Login

Check-in [76213b3f72]

Overview
Comment:Convert Tcl_UtfNext into a routine that doesn't decode UTF-8 into UCS-2, but sticks only to its task of computing the pointer increment. Update callers of Tcl(_)UtfToUniChar that do not need decoding to use Tcl_UtfNext instead. Changes here fix [2738427] putting in place full overflow protection for Tcl_NumUtfChars(). Many tests and doc improvements.
Timelines: family | ancestors | descendants | both | core-8-5-branch
Files: files | file ages | folders
SHA3-256: 76213b3f723444b814bc6f07219e1d8b9b56238eedca1008164020e127a0f5fb
User & Date: dgp on 2020-04-16 19:52:26.279
Other Links: branch diff | manifest | tags
References
2020-04-24
17:18
Revert the parts of [76213b3f72] that converted callers of Tcl_UtfToUniChar into callers of Tcl_UtfN... check-in: 870aba745a user: dgp tags: core-8-5-branch
Context
2020-04-24
17:18
Revert the parts of [76213b3f72] that converted callers of Tcl_UtfToUniChar into callers of Tcl_UtfN... check-in: 870aba745a user: dgp tags: core-8-5-branch
2020-04-16
20:38
Merge 8.5. Failing tests for now. To be remedied shortly. check-in: 6596c4af31 user: dgp tags: core-8-6-branch
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 check-in: cf6c570b2a 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
Changes