Artifacts Associated With Ticket 1165062
Ticket change [38b4f8545a] (rid 112256) by mistachkin on 2005-03-17 08:10:07:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Please refer to TIP #182.
- foundin initialized to: "TIP Implementation"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "mistachkin"
- subsystem initialized to: "16. Commands A-H"
- title initialized to: "TIP #182: [expr bool()] implementation"
- type initialized to: "Patch"
Ticket change [cae4d5574f] (rid 95436) by mistachkin on 2005-03-17 15:10:08:
- icomment:
File Added - 126038: TIP-182v1.diff
- login: "mistachkin"
- mimetype: "text/plain"
- username: "mistachkin"
- icomment:
Ticket change [81293589ce] (rid 116991) by dgp on 2005-05-12 22:45:15:
- 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.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [1ee592b4e2] (rid 91054) by dkf on 2005-05-13 05:27:40:
- subsystem changed to: "45. Parsing and Eval"
Ticket change [152b299fd5] (rid 124524) by dkf on 2005-05-13 05:27:41:
- assignee changed to: "dgp"
Ticket change [27f7af20d8] (rid 88618) by dgp on 2005-05-14 03:16:28:
- 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.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [3e647d89df] (rid 121261) by mistachkin on 2005-05-17 13:20:59:
- 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); - login: "mistachkin"
- mimetype: "text/plain"
- username: "mistachkin"
- icomment:
Ticket change [206a8a42a5] (rid 91304) by dgp on 2005-05-17 21:08:25:
- 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...
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [9469c3d12a] (rid 105977) by mistachkin on 2005-05-18 12:18:51:
- icomment:
Logged In: YES user_id=113501 Here is an updated "boolean type fix" patch that logically goes with this TIP.
- login: "mistachkin"
- mimetype: "text/plain"
- username: "mistachkin"
- icomment:
Ticket change [bb3d431173] (rid 129454) by mistachkin on 2005-05-18 12:21:32:
- icomment:
File Added - 134939: boolTypeFix.diff
- login: "mistachkin"
- mimetype: "text/plain"
- username: "mistachkin"
- icomment:
Ticket change [c3d0d4f97b] (rid 111730) by dgp on 2005-05-18 22:16:27:
- 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.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [fdd76f3ed7] (rid 108488) by dgp on 2005-05-19 04:11:35:
- 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.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [3252a11eff] (rid 93595) by dgp on 2005-05-19 04:11:36:
- icomment:
File Deleted - 134392: File Added - 135061: 1165062-final.patch
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Add attachment "1165062.patch" [ab18e5dcb3] (rid 101035) by dgp on 2005-05-21 00:05:35.
Ticket change [2a5f90d0d2] (rid 118556) by dgp on 2005-05-21 00:05:35:
- icomment:
File Deleted - 135061: File Added - 135303: 1165062.patch Logged In: YES user_id=80530 updated patch to reflect the fixing of Bug 1201589.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [0a6583bd72] (rid 113811) by dgp on 2005-05-25 23:13:17:
- closedate changed to: "2005-05-25T16:13:17"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 Committed for 8.5a3.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Accepted"
- status changed to: "Closed"
- username: "dgp"