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: |
aa6cbf0a7fb3187a65b4034077050282 |
| 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
Modified generic/tclCompCmds.c
from [e6cb86e75a]
to [648e0f5ade].
[diff]
Modified generic/tclCompCmdsGR.c
from [0d537ccfa4]
to [1cbdee0d02].
[diff]
Modified generic/tclCompCmdsSZ.c
from [9b5a7cdb08]
to [6af35ca490].
[diff]
Modified generic/tclCompile.c
from [705ef6a55a]
to [fc477b1e1c].
[diff]
Modified generic/tclEnsemble.c
from [c612f81aed]
to [f9f1c661bb].
[diff]
Modified generic/tclInt.h
from [6177727c30]
to [c13dd149bc].
[diff]
Modified generic/tclProc.c
from [f1b8692941]
to [91ac141899].
[diff]
Modified generic/tclTest.c
from [9f886b693b]
to [ac8b71b089].
[diff]
Modified generic/tclUtil.c
from [ddcbb3a654]
to [e0071c1f70].
[diff]