Skip to content
Tcl Source Code History Of Ticket 684982ffffffffff
Login

History Of Ticket 684982ffffffffff

Artifacts Associated With Ticket 684982ffffffffff

  1. Ticket change [4de1243333] (rid 127133) by dgp on 2003-02-11 23:09:26:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      One of the flag values that can be
      set in interp->evalFlags is
      TCL_BRACKET_TERM.
      
      Setting this causes both
      Tcl_EvalEx() and TclSetByteCodeFromAny()
      to parse only to the next unquoted close-bracket
      when do evaluation or compilation in
      the interp.
      
      The only user of this power appears to
      be the command substitution portion
      of the [subst] command.
      
      It seems to me that the same effect
      could be achieved by appropriate
      calls to Tcl_ParseCommand() with
      its documented "nested" argument,
      rather than hacking around the
      internals of the interp structure.
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "45. Parsing and Eval"
    10. title initialized to: "remove TCL_BRACKET_TERM"
    11. type initialized to: "RFE"
  2. Ticket change [22769c8cfc] (rid 130754) by dgp on 2003-02-12 06:19:32:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      Using the Tcl test suite as
      a poor man's coverage test
      for the Tcl source code, it
      appears that the code
      testing for TCL_BRACKET_TERM
      being set in 
      TclSetByteCodeFromAny()
      is never active.
      
      If that's true, then TCL_BRACKET_TERM
      appear to exist only to configure a
      particular mode of operation in Tcl_EvalEx().
      Would be better not to call Tcl_EvalEx()
      at all, but use Tcl_ParseCommand() and
      friends within Tcl_SubstObjCmd
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [819d7014c9] (rid 117069) by dgp on 2003-02-12 07:03:03:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      The TclPro program tclcompiler
      directly calls TclSetByteCodeFromAny,
      so it's possible it cares about this
      TCL_BRACKET_TERM matter.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [dcd8fe2355] (rid 114555) by dkf on 2003-02-12 16:30:26:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      If you can figure out how to change Tcl_SubstObj() to not
      use TCL_BRACKET_TERM, you have my blessing to do it that
      way.  Personally, I think it is getting very close to
      cargo-cult junk, and it is certainly making other parts of
      the core more complex.
      
      (FWIW, I looked into dumping the flag when I split [subst]
      into two parts, but got lost in the tangle below and gave
      up.)
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  5. Ticket change [ffddeed064] (rid 108837) by dgp on 2003-02-13 09:03:39:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      there's probably an opportunity
      to get rid of iPtr->termOffset
      as well.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [a54f6d7b0a] (rid 110351) by dgp on 2003-03-05 13:58:03:

    1. assignee changed to: "dgp"
  7. Ticket change [78338fd7d8] (rid 89915) by dgp on 2003-03-09 04:40:55:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      this patch includes the patch
      for FR 536831, but also
      includes the removal of
      lots of dead code, including
      TCL_BRACKET_TERM,
      iPtr->termOffset, and the
      "nested" argument to
      TclCompileScript.  None
      of this is needed after [subst]
      uses more standard means to
      do its work.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Add attachment "684982.patch" [22aff84b4f] (rid 130795) by dgp on 2003-03-09 04:40:55.

  9. Ticket change [c06cfd1574] (rid 102400) by dgp on 2003-03-09 04:40:56:

    1. icomment:
      
      
      File Added - 44459: 684982.patch
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  10. Ticket change [099e63aefe] (rid 113687) by dgp on 2003-03-13 09:39:58:

    1. icomment:
      
      
      File Added - 44904: 684982-alt.patch
      
      Logged In: YES 
      user_id=80530
      
      Alternative patch encloses
      the alternative patch for
      Tcl FR 536831
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  11. Add attachment "684982-alt.patch" [c999b7e1bd] (rid 122315) by dgp on 2003-03-13 09:39:58.

  12. Ticket change [a466946050] (rid 110199) by dgp on 2003-03-13 10:00:33:

    1. closedate changed to: "2003-03-13T03:00:33"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      alternative patch committed to HEAD.
      
      test away!
      
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Accepted"
    7. status changed to: "Closed"
    8. username: "dgp"