Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: afce9cc3b0d46505b296dc7c85782c57a48e4d6b
Ticket: 39f6304c2e90549c209cd11a7920dc9921b9f48e
Tcl_LinkVar is not tolerant to minus, plus, dot
User & Date: fvogel on 2016-12-22 20:40:24
Changes

  1. icomment:
    The fix proposal looks good to me, does not break any new test for me (neither on Linux Debian 8 nor on Windows Vista), and there are new tests exercising the fix.
    
    IMO the only remaining thing is that I have tried the OP's "./tiny" demo and have found the following:
    
      - It is still not possible to input "1e5" for instance in neither the entry nor the ttk::entry, in both the int- and double-linked cases. This was not dealt with by the fix. I believe it should work for the double-linked case.
    
      - Starting from a state where the field displays a valid value, say "10", select everything and type a bare minus sign. This work OK with an entry, i.e. the "-" gets displayed, but for a ttk::entry one still gets the same error as reported.
    
    Try the OP's test case / bug reproduction package, it's nice for testing.
    
  2. login: "fvogel"
  3. mimetype: "text/plain"