Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2020-05-12
19:20
Revert implementation of Tcl_UniCharAtIndex() change done in this commit: [6596c4af31e29b5d]. Just l... check-in: 0418b67de2 user: jan.nijtmans tags: core-8-6-branch
2020-04-26
15:40 • Ticket [f45d0dc1a7] Tcl_UniCharAtIndex is not used in the Tcl core, and has no t... artifact: 5de3ada7c2 user: jan.nijtmans
15:39 • Ticket [f45d0dc1a7]: 4 changes artifact: fe2e231e86 user: jan.nijtmans
13:25
Remove the function Tcl_UniCharAtIndex() completely from the core. Meant as a demonstration for tick... leaf check-in: 90be2283d0 user: jan.nijtmans tags: bug-f45d0dc1a7
13:14 • New ticket [f45d0dc1a7] Tcl_UniCharAtIndex is not used in the Tcl core, and has ... artifact: c8f3860ecd user: jan.nijtmans

Tcl_UniCharAtIndex is not used in the Tcl core, and has no test-cases

Openf45d0dc1a752936ea42af1a02d54cbadba1a5f21Created 7 years agoUpdated 7 years ago
Descriptionplain2020-04-26 13:14:38
So, Don, I wonder how you tested your modified version of Tcl_UniCharAtIndex() ....   :-)
Referenced by3
  • 0418b67de2Revert implementation of Tcl_UniCharAtIndex() change done in this commit: [6596c4af31e29b5d]. Just look at the Tcl_UtfAtIndex() implementation for TCL_UTF_MAX=4: It's not the same. There are no test-cases for Tcl_UniCharAtIndex(), see [f45d0dc1a7], not really worth to write one, since the implementation of this function didn't change in 20 years. check-in2020-05-12 19:20:20
  • fe2e231e86Ticket [f45d0dc1a7] Tcl_UniCharAtIndex is not used in the Tcl core, and has no test-cases status still Open with 4 other changes ticket2020-04-26 15:39:47
  • 90be2283d0Remove the function Tcl_UniCharAtIndex() completely from the core. Meant as a demonstration for ticket [f45d0dc1a7]. check-in2020-04-26 13:25:06
jan.nijtmanswiki2020-04-26 15:39:47

Commit [f45d0dc1a7] proves this.

Not sure what to do with it. Write test-cases? Deprecate this function? (Since it's not really useful, and can be implemented easily as Tcl_UtfToUniChar(Tcl_UtfAtIndex(....)).

jan.nijtmanswiki2020-04-26 15:40:56

I meant: Commit [90be2283d0265e05] proves thiss.

Log in (anonymous is fine) to add a comment.