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

Check-in [aa6cbf0a7f]

Overview
Comment:In some places, Tcl_UtfPrev()/Tcl_UtfNext() is used traversing the individual bytes of a string searching for '(', ')', '::' or other single bytes. It is overkill to use Tcl_UtfPrev/Tcl_UtfNext for that, since those characters can only appear as their ASCII byte, not as any other sequence. This effectively removes the last Tcl_UtfNext() call from the core, the only ones left are in tclTest.c for test commands. So the TclUtfNext() macro doesn't make sense any more. Remove "register" keyword from many files.
Timelines: family | ancestors | descendants | both | core-8-6-branch
Files: files | file ages | folders
SHA3-256: aa6cbf0a7fb3187a65b4034077050282ab1af5f7754678690f4000a481ba4a8d
User & Date: jan.nijtmans on 2020-05-14 09:46:54.223
Other Links: branch diff | manifest | tags
Context
2020-05-18
20:23
Tiny fix for TCL_UTF_MAX=4 build only: Since Tcl_UtfNext() verifies 4 bytes for lead bytes F0-F5, Tc... check-in: f299c3c546 user: jan.nijtmans tags: core-8-6-branch
2020-05-14
10:16
Merge 8.6 check-in: 10e951f190 user: jan.nijtmans tags: core-8-branch
09:46
In some places, Tcl_UtfPrev()/Tcl_UtfNext() is used traversing the individual bytes of a string sear... check-in: aa6cbf0a7f user: jan.nijtmans tags: core-8-6-branch
2020-05-13
17:24
Merge-mark check-in: a558dbacdf user: jan.nijtmans tags: core-8-6-branch
15:23
In some places, Tcl_UtfPrev()/Tcl_UtfNext() is used traversing the individual bytes of a string sear... closed check-in: 6b8770b300 user: jan.nijtmans tags: prev-next-cleanup
Changes