Skip to content
Tcl Source Code History Of Ticket 1165062
Login

History Of Ticket 1165062

Artifacts Associated With Ticket 1165062

  1. Ticket change [38b4f8545a] (rid 112256) by mistachkin on 2005-03-17 08:10:07:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      Please refer to TIP #182.
      
      
    4. foundin initialized to: "TIP Implementation"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "mistachkin"
    9. subsystem initialized to: "16. Commands A-H"
    10. title initialized to: "TIP #182: [expr bool()] implementation"
    11. type initialized to: "Patch"
  2. Ticket change [cae4d5574f] (rid 95436) by mistachkin on 2005-03-17 15:10:08:

    1. icomment:
      
      
      File Added - 126038: TIP-182v1.diff
      
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  3. Ticket change [81293589ce] (rid 116991) by dgp on 2005-05-12 22:45:15:

    1. icomment:
      
      
      File Added - 134206: tip182.patch
      
      Logged In: YES 
      user_id=80530
      
      
      Here's an implementation
      updated to deal with the
      revisions of TIP 232.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [1ee592b4e2] (rid 91054) by dkf on 2005-05-13 05:27:40:

    1. subsystem changed to: "45. Parsing and Eval"
  5. Ticket change [152b299fd5] (rid 124524) by dkf on 2005-05-13 05:27:41:

    1. assignee changed to: "dgp"
  6. Ticket change [27f7af20d8] (rid 88618) by dgp on 2005-05-14 03:16:28:

    1. icomment:
      
      
      File Added - 134392: 1165062.patch
      
      Logged In: YES 
      user_id=80530
      
      
      Here's a new patch that merges
      in the docs/tests from the first
      patch.
      
      Note the new bug 1201589
      discovered writing these tests.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [3e647d89df] (rid 121261) by mistachkin on 2005-05-17 13:20:59:

    1. icomment:
      Logged In: YES 
      user_id=113501
      
      
      The new patch looks good.  However, I still think we need to
      add the changes to tclExecute.c back into it.
      
      @@ -4506,7 +4509,14 @@
            * from the string rep.
            */
           if ((tPtr == &tclBooleanType) && (valuePtr->bytes ==
      NULL)) {
      -valuePtr->typePtr = &tclIntType;
      +/*
      + * JJM: For TIP #182, changed this from tclIntType to
      tclBooleanType
      + * so that [expr bool()] returns a "real" boolean.  This
      change causes
      + * no test failures and should be totally innocuous
      because at this point
      + * we are guaranteed to have a numeric boolean result
      with no string rep
      + * per the enclosing if statement.
      + */
      +valuePtr->typePtr = &tclBooleanType;
       converted = 1;
           } else {
       s = Tcl_GetStringFromObj(valuePtr, &length);
      
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  8. Ticket change [206a8a42a5] (rid 91304) by dgp on 2005-05-17 21:08:25:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Thanks for the additional review.
      
      We can put that additional stanza of
      code into the patch if you really want
      it, but I don't think we should bother
      since it's a "dead" branch of code.
      
      Note that the patched area only runs
      for a "pure boolean" Tcl_Obj, something
      with no string rep, and a "boolean"
      Tcl_ObjType.  In the development on
      the HEAD, that's no longer a valid
      state for a "boolean";  that is, there are
      no longer any pure booleans, since
      the "boolean" Tcl_ObjType is now used
      exclusively to cache the boolean 
      equivalant of strings like "yes".
      
      Hmmm.... now I notice that task
      isn't yet complete.  That's probably
      contributing to confusion.  Let me take
      care of that...
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  9. Ticket change [9469c3d12a] (rid 105977) by mistachkin on 2005-05-18 12:18:51:

    1. icomment:
      Logged In: YES 
      user_id=113501
      
      
      Here is an updated "boolean type fix" patch that logically
      goes with this TIP.
      
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  10. Ticket change [bb3d431173] (rid 129454) by mistachkin on 2005-05-18 12:21:32:

    1. icomment:
      
      
      File Added - 134939: boolTypeFix.diff
      
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  11. Ticket change [c3d0d4f97b] (rid 111730) by dgp on 2005-05-18 22:16:27:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Thanks.  That updated patch modifies
      only stanzas dealing with "pure booleans".
      If that code still survives when we
      integrate a TIP 182 implementation, we'll
      include those changes in it.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  12. Ticket change [fdd76f3ed7] (rid 108488) by dgp on 2005-05-19 04:11:35:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Those stanzas are now out of the HEAD.
      
      Attaching another patch updated to
      the HEAD; I think TIP 182 is ready
      for voting.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  13. Ticket change [3252a11eff] (rid 93595) by dgp on 2005-05-19 04:11:36:

    1. icomment:
      
      
      File Deleted - 134392: 
      
      
      
      File Added - 135061: 1165062-final.patch
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  14. Add attachment "1165062.patch" [ab18e5dcb3] (rid 101035) by dgp on 2005-05-21 00:05:35.

  15. Ticket change [2a5f90d0d2] (rid 118556) by dgp on 2005-05-21 00:05:35:

    1. icomment:
      
      
      File Deleted - 135061: 
      
      
      
      File Added - 135303: 1165062.patch
      
      Logged In: YES 
      user_id=80530
      
      
      updated patch to reflect
      the fixing of Bug 1201589.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  16. Ticket change [0a6583bd72] (rid 113811) by dgp on 2005-05-25 23:13:17:

    1. closedate changed to: "2005-05-25T16:13:17"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Committed for 8.5a3.
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Accepted"
    7. status changed to: "Closed"
    8. username: "dgp"