Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 599a587156ec1436cc2f1b4619228c8a5f0e43b667922ff34cae097e43cc47a5
Ticket: f443140a8547b6f6d70c51a6bbf742e72dca0ca8
connection between Tcl_UtfNext/Tcl_UtfPrev and Tcl_UtfCharComplete()
User & Date: jan.nijtmans on 2020-04-28 19:48:52
Changes

  1. icomment:
    B.T.W: I am not happy about your "readlimit" test-cases, utf-6.96 and up. You used it to explore the cases where Tcl_UtfNext() reads more bytes than Tcl_UtfCharComplete(). We already know that there is no relation between those to (I am exploring the possibility to create a relation, because I would like that too).  As soon as you merge those test-cases up to 8.7, it will only mean more meaningless work, keeping the test-cases passing.
    
    Also I'm not happy about removing the --bytestring option:  I want to see clearly in the test-case whether the testcase involves invalid byte-sequences or not. If no, then it would be better to use \xXX \uXXXX or \UXXXXXX syntax. The reason: We cannot forgive changes in handling of valid sequences, but there is some room in invalid sequences (remember the overflow/underflow changes in 4-byte sequences, the really change output, even in Tcl 8.5!)
    
    So, please don't merge testcases utf-6.96 and up to 8.7, better even remove them (and keep them in your own branch if you like).
    
    Apparently I don't understand completely how you name testConstraints, but I'm not very picky on this naming. If you like to rename them, I don't mind much.
    
    Anyway, thanks for your effort streamlining the test-cases in all branches: that's very welcome! I'm trying to the same.
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/plain"