Skip to content
Tcl Source Code History Of Ticket 55e467df3275015a
Login

History Of Ticket 55e467df3275015a

Artifacts Associated With Ticket 55e467df3275015a

  1. Ticket change [036ef4646b] (rid 193799) by fvogel on 2021-04-18 12:44:24:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      With Tcl 9 ('main' branch), but not with Tcl 8.7, the test suite for branch 'revised_text' in Tk outputs three errors that do not happen in other environments:
      
      <verbatim>
      ==== text-22.126 TextSearchCmd, wrapping and limits FAILED
      ==== Contents of test case:
      
          pack [text .t]
          .t insert end "if (stringPtr->uallocated > 0) \{x"
          .t search -backwards -regexp -- "\[\]\")\}\[(\{\]" "1.32" 1.0
      
      ---- Result was:
      1.3
      ---- Result should have been (exact matching):
      1.31
      ==== text-22.126 FAILED
      
      ==== text-22.128 TextSearchCmd, wrapping and limits FAILED
      ==== Contents of test case:
      
          pack [text .t]
          .t insert end "if (stringPtr->uallocated > 0) \{x"
          .t search -backwards -all -regexp -- "\[\]\")\}\[(\{\]" "1.32" 1.0
      
      ---- Result was:
      1.3
      ---- Result should have been (exact matching):
      1.31 1.29 1.3
      ==== text-22.128 FAILED
      
      ==== text-22.129 TextSearchCmd, wrapping and limits FAILED
      ==== Contents of test case:
      
          pack [text .t]
          .t insert end "if (stringPtr->uallocated > 0) \{x"
          .t search -all -regexp -- "\[\]\")\}\[(\{\]" 1.0 "1.0 lineend"
      
      ---- Result was:
      1.3
      ---- Result should have been (exact matching):
      1.3 1.29 1.31
      ==== text-22.129 FAILED
      </verbatim>
      
      This does not happen when Tk 'revised_text' branch is linked to Tcl 8.7 ('core-8-branch' branch).
      
      I can see this on Window 10 and this is also demonstrated on Linux on [https://github.com/tcltk/tk/runs/2373021268?check_suite_focus=true|GitHub Actions].
      
    5. foundin initialized to: "trunk"
    6. is_private initialized to: "0"
    7. login: "fvogel"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "a013af67114eccc19ad12b04f14923acea9e96b7"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "fvogel"
    14. subsystem initialized to: "None"
    15. title initialized to: "New Tk test suite errors with Tcl9"
    16. type initialized to: "Bug"
  2. Ticket change [97603b1fcc] (rid 193851) by fvogel on 2021-04-21 18:52:08:

    1. assignee changed to: "fvogel"
    2. closedate changed to: "2459326.28620674"
    3. closer changed to: "fvogel"
    4. icomment:
      This issue is revealed when the Tk revised_text branch is compiled against Tcl 9, but it is an issue in Tk. See [https://core.tcl-lang.org/tk/tktview/977c61ea081c9b4e80ad014adf873ce13b9778d9].
      
    5. login: "fvogel"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Rejected"
    8. status changed to: "Closed"