Skip to content
Tcl Source Code History Of Ticket 1353531fffffffffffffffffffffffffffffffff
Login

History Of Ticket 1353531fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 1353531fffffffffffffffffffffffffffffffff

  1. Ticket change [c4a95beba9] (rid 111879) by billposer on 2005-11-10 23:00:42:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      In MS Windows NT 5.1 using Tcl/Tk 8.4.11 an error
      results when a hexadecimal value is assigned to a scale
      variable. The error message is: "can't assign
      non-numeric value to scale variable".
      To reproduce:
      
           scale .s -variable foo
           set foo 0xff
      
      If the second line is replaced by:
      
          set foo 255
      
      no error results. I think that this is a bug in the MS
      Windows code since it is not only correct on my
      understanding of Tcl but works under Linux. Although I
      have thus far encountered the bug only using Tk, it
      appears to be a Tcl bug since whether a value is
      treated as numeric or not is a Tcl issue.
      
      
    4. foundin initialized to: "obsolete: 8.4.11"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "billposer"
    9. subsystem initialized to: "11. Conversions from String"
    10. title initialized to:
      Error results from assignment of hex value to scale variable
      
    11. type initialized to: "Bug"
  2. Ticket change [2b67344d45] (rid 118736) by hobbs on 2005-11-15 03:08:47:

    1. priority changed to: "6"
  3. Ticket change [a2711a351f] (rid 109894) by hobbs on 2005-11-15 03:08:48:

    1. assignee changed to: "kennykb"
    2. icomment:
      Logged In: YES 
      user_id=72656
      
      This is indeed actually a Tcl "bug", though only in 8.4, not
      in 8.5 (which changed various numeric handling). 
      ScaleVarProc is calling Tcl_GetDoubleFromObj on that var,
      and it fails for 0xff.  I would think that should work,
      being a valid strtod value, but it fails.  Passing to Kevin.
      
      
    3. login: "hobbs"
    4. mimetype: "text/plain"
    5. username: "hobbs"
  4. Ticket change [087e0bf7ca] (rid 89568) by kennykb on 2006-09-02 00:26:49:

    1. closedate changed to: "2006-09-01T17:26:49"
    2. closer changed to: "kennykb"
    3. icomment:
      Logged In: YES 
      user_id=99768
      
      What we're dealing with here is C89-C9x differences
      in 'strtod' - prior to C9x, there was no standard
      hexadecimal notation for floating point, and Microsoft's
      'strtod' does not accept hex.
      
      Tcl's Tcl_GetDoubleFromObj in 8.5 doesn't depend on
      the C library 'strtod' - we have our own scanner that
      also avoids a number of other issues in 'strtod' (for
      instance, the fact that Microsoft's does not do
      gradual underflow and is often off by several units
      in the least significant place).  The changes for this
      are tied up in the changes for arbitrary-precision
      integers, and are not going to backport gracefully,
      so I'm going to close this as "Won't Fix" in 8.4 and
      fixed in 8.5.
      
      
    4. login: "kennykb"
    5. mimetype: "text/plain"
    6. resolution changed to: "Wont Fix"
    7. status changed to: "Pending"
    8. username: "kennykb"
  5. Ticket change [83314fce90] (rid 117350) by sf-robot on 2006-09-16 09:20:11:

    1. closedate changed to: "2006-09-16T02:20:11"
    2. closer changed to: "sf-robot"
    3. icomment:
      Logged In: YES 
      user_id=1312539
      
      This Tracker item was closed automatically by the system. It was
      previously set to a Pending status, and the original submitter
      did not respond within 14 days (the time period specified by
      the administrator of this Tracker).
      
      
    4. login: "sf-robot"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "sf-robot"