Skip to content
Tcl Source Code History Of Ticket 1565751
Login

History Of Ticket 1565751

Artifacts Associated With Ticket 1565751

  1. Ticket change [ab386fda47] (rid 101064) by patthoyts on 2006-09-26 13:54:33:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      This patch adds a format field flag to mark fields to
      be read as unsigned. The flag must come between the
      type identifier and the count (if any). For instance
       % binary scan \xff\xff cuc a b; list $a $b
       255 1-
      
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "patthoyts"
    10. subsystem initialized to: "16. Commands A-H"
    11. title initialized to: "unsigned field flag for binary scan"
    12. type initialized to: "Patch"
  2. Ticket change [f4ca86e883] (rid 129986) by patthoyts on 2006-09-26 20:54:33:

    1. icomment:
      
      
      File Added - 195333: binary_flag.patch
      
      
      
    2. login: "patthoyts"
    3. mimetype: "text/plain"
    4. username: "patthoyts"
  3. Ticket change [9aae825945] (rid 110991) by dkf on 2006-09-26 21:12:47:

    1. subsystem changed to: "12. ByteArray Object"
  4. Ticket change [cfd2d17769] (rid 113054) by patthoyts on 2006-09-29 04:29:23:

    1. assignee changed to: "patthoyts"
  5. Add attachment "binary_flag.patch" [0d923fa608] (rid 114387) by patthoyts on 2006-09-29 04:31:32.

  6. Ticket change [240c02d13d] (rid 131043) by patthoyts on 2006-09-29 04:31:32:

    1. icomment:
      
      
      File Added - 195702: binary_flag.patch
      
      Logged In: YES 
      user_id=202636
      
      Ensure unsigned results from 32bit longs and wide values.
      Avoid caching unsigned longs to avoid confusion with signed
      values from the cached Tcl_Objs. Added tests.
      
      
    2. login: "patthoyts"
    3. mimetype: "text/plain"
    4. username: "patthoyts"
  7. Ticket change [ef8a19cf32] (rid 109010) by patthoyts on 2006-09-29 04:32:06:

    1. icomment:
      
      
      File Deleted - 195333: 
      
      
      
    2. login: "patthoyts"
    3. mimetype: "text/plain"
    4. username: "patthoyts"
  8. Ticket change [78712c4c97] (rid 89964) by andreas_kupries on 2006-09-29 04:40:33:

    1. title changed to: "[TIP#275] unsigned field flag for binary scan"
  9. Ticket change [1cd9343153] (rid 90684) by dkf on 2006-09-29 15:58:50:

    1. foundin changed to: "TIP Implementation"
  10. Ticket change [8b1d886865] (rid 127502) by dgp on 2006-10-02 22:49:58:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Failures on LP64 system:
      
      ==== binary-29.10 Tcl_BinaryObjCmd: scan FAILED
      ==== Contents of test case:
      
          catch {unset arg1 arg2}
          list [binary scan \xff\xff\xff\xff\xff\xff\xff\xff iui
      arg1 arg2] $arg1 $arg2
      
      ---- Result was:
      2 -1 -1
      ---- Result should have been (exact matching):
      2 4294967295 -1
      ==== binary-29.10 FAILED
      
      
      
      ==== binary-29.11 Tcl_BinaryObjCmd: scan FAILED
      ==== Contents of test case:
      
          catch {unset arg1 arg2}
          list [binary scan \xff\xff\xff\xff\xff\xff\xff\xff iiu
      arg1 arg2] $arg1 $arg2
      
      ---- Result was:
      2 -1 -1
      ---- Result should have been (exact matching):
      2 -1 4294967295
      ==== binary-29.11 FAILED
      
      
      
      ==== binary-29.12 Tcl_BinaryObjCmd: scan FAILED
      ==== Contents of test case:
      
          catch {unset arg1 arg2}
          list [binary scan \x80\x00\x00\x00\x00\x00\x00\x80 iuiu
      arg1 arg2] $arg1 $arg2
      
      ---- Result was:
      2 128 -2147483648
      ---- Result should have been (exact matching):
      2 128 2147483648
      ==== binary-29.12 FAILED
      
      ==== binary-30.10 Tcl_BinaryObjCmd: scan FAILED
      ==== Contents of test case:
      
          catch {unset arg1 arg2}
          list [binary scan \xff\xff\xff\xff\xff\xff\xff\xff IuI
      arg1 arg2] $arg1 $arg2
      
      ---- Result was:
      2 -1 -1
      ---- Result should have been (exact matching):
      2 4294967295 -1
      ==== binary-30.10 FAILED
      
      
      
      ==== binary-30.11 Tcl_BinaryObjCmd: scan FAILED
      ==== Contents of test case:
      
          catch {unset arg1 arg2}
          list [binary scan \xff\xff\xff\xff\xff\xff\xff\xff IIu
      arg1 arg2] $arg1 $arg2
      
      ---- Result was:
      2 -1 -1
      ---- Result should have been (exact matching):
      2 -1 4294967295
      ==== binary-30.11 FAILED
      
      
      
      ==== binary-30.12 Tcl_BinaryObjCmd: scan FAILED
      ==== Contents of test case:
      
          catch {unset arg1 arg2}
          list [binary scan \x80\x00\x00\x00\x00\x00\x00\x80 IuIu
      arg1 arg2] $arg1 $arg2
      
      ---- Result was:
      2 -2147483648 128
      ---- Result should have been (exact matching):
      2 2147483648 128
      ==== binary-30.12 FAILED
      
      ==== binary-39.9 ScanNumber: no sign extension FAILED
      ==== Contents of test case:
      
          catch {unset arg1}
          list [binary scan
      \x01\x01\x01\x02\x81\x01\x01\x01\x01\x82\x01\x01\x01\x01\x82\x01\x01\x01\x01\x81
      iu5 arg1] $arg1
      
      ---- Result was:
      1 {33620225 16843137 16876033 25297153 -2130640639}
      ---- Result should have been (exact matching):
      1 {33620225 16843137 16876033 25297153 2164326657}
      ==== binary-39.9 FAILED
      
      
      
      ==== binary-39.10 ScanNumber: no sign extension FAILED
      ==== Contents of test case:
      
          catch {unset arg1}
          list [binary scan
      \x01\x01\x01\x02\x81\x01\x01\x01\x01\x82\x01\x01\x01\x01\x82\x01\x01\x01\x01\x81
      Iu5 arg1] $arg1
      
      ---- Result was:
      1 {16843010 -2130640639 25297153 16876033 16843137}
      ---- Result should have been (exact matching):
      1 {16843010 2164326657 25297153 16876033 16843137}
      ==== binary-39.10 FAILED
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  11. Ticket change [a9750d04ee] (rid 99152) by dgp on 2006-10-02 23:34:40:

    1. icomment:
      
      
      File Added - 196205: 1565751.patch
      
      Logged In: YES 
      user_id=80530
      
      
      Revised patch corrects those failures.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  12. Add attachment "1565751.patch" [b607a8dc35] (rid 125355) by dgp on 2006-10-02 23:34:40.

  13. Ticket change [8db5ec69b7] (rid 127984) by patthoyts on 2006-10-06 21:18:40:

    1. closedate changed to: "2006-10-06T14:18:40"
    2. closer changed to: "patthoyts"
    3. icomment:
      Logged In: YES 
      user_id=202636
      
      Added dgp's fix and some more tests. Updated the manual page
      and committed.
      
      
    4. login: "patthoyts"
    5. mimetype: "text/plain"
    6. resolution changed to: "Accepted"
    7. status changed to: "Closed"
    8. username: "patthoyts"