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

History Of Ticket 522849ffffffffff

Artifacts Associated With Ticket 522849ffffffffff

  1. Ticket change [7d921a85f8] (rid 97263) by trier on 2002-02-26 07:21:21:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Reference implementation for TIP #87, "Allow Tcl
      Access to the Recursion Limit".  Includes tests and
      documentation.
      
      
      
    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: "trier"
    9. subsystem initialized to: "20. [interp]"
    10. title initialized to: "TIP #87 reference implementation"
    11. type initialized to: "Patch"
  2. Ticket change [379a1f7e60] (rid 112056) by trier on 2002-02-26 14:21:22:

    1. icomment:
      
      
      File Added - 18453: tmptmp
      
      
      
    2. login: "trier"
    3. mimetype: "text/plain"
    4. username: "trier"
  3. Ticket change [a3232061b8] (rid 110005) by dgp on 2002-02-27 00:21:00:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      I see that this implementation "falls back" if the
      new limit is less than the current run level in
      the interp that's having its limit changed.  It's
      not clear to me that's the right thing to do if that
      interp is not the interp evaluating the [interp
      recursionlimit].
      
      # Assume an evaluation in slave is in the call stack
      # somewhere
      interp recursionlimit slave 1
      
      Should I really see an error in the current interp?
      The limit in the current interp has not been exceeded.
      Why should the current interp go on to evaluate the next
      command?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [074c257dae] (rid 89371) by dgp on 2002-02-27 00:29:30:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Of course I meant to ask:
      
      Why shouldn't the current interp go on to evaluate the next
      command?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [a42464b102] (rid 110161) by trier on 2002-02-27 00:35:12:

    1. icomment:
      Logged In: YES 
      user_id=372112
      
      Whoops! My mistake. The fallback error should be issued only if the current interp is changing its
      own recursion limit. Otherwise, the code should let Tcl_Eval() et al error out naturally.
      
      I'll fix it right away.
      
      
      
    2. login: "trier"
    3. mimetype: "text/plain"
    4. username: "trier"
  6. Ticket change [2e3de7c806] (rid 119192) by dgp on 2002-02-27 00:37:16:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      Ah.  OK.  Let's spell out that situation in the TIP
      as well, so it's clear what spec folks will be voting on.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [dc3e8727a8] (rid 108105) by dgp on 2002-02-27 00:41:50:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      I didn't look with great care, but I didn't see anything
      to disable this subcommand in a safe interp.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [8d46f16770] (rid 127901) by trier on 2002-02-27 01:42:42:

    1. icomment:
      Logged In: YES 
      user_id=372112
      
      Very diplomatically put, Don. :-)
      
      Here is a new version of the patch that fixes both oversights.
      
      
      
    2. login: "trier"
    3. mimetype: "text/plain"
    4. username: "trier"
  9. Add attachment "tip87.patch" [a86e82b2b5] (rid 98992) by trier on 2002-02-27 01:42:43.

  10. Ticket change [25affc5129] (rid 88213) by trier on 2002-02-27 01:42:50:

    1. icomment:
      
      
      File Added - 18472: tip87.patch
      
      
      
    2. login: "trier"
    3. mimetype: "text/plain"
    4. username: "trier"
  11. Ticket change [6bcd57785c] (rid 128388) by trier on 2002-02-27 01:43:34:

    1. icomment:
      Logged In: YES 
      user_id=372112
      
      Old patch deleted.
      
      
    2. login: "trier"
    3. mimetype: "text/plain"
    4. username: "trier"
  12. Ticket change [fb84a0c8d6] (rid 92079) by trier on 2002-02-27 01:58:18:

    1. icomment:
      Logged In: YES 
      user_id=372112
      
      OK, I guess I can't delete it.
      
      
      
    2. login: "trier"
    3. mimetype: "text/plain"
    4. username: "trier"
  13. Ticket change [6fd27ea016] (rid 100377) by dgp on 2002-02-27 02:04:18:

    1. icomment:
      
      
      File Deleted - 18453: 
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  14. Ticket change [af6da9775a] (rid 97811) by dgp on 2002-02-27 02:04:53:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      that's strange.  oh well, I can.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  15. Ticket change [b8bde5cd01] (rid 129011) by dgp on 2002-02-27 11:31:19:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      Before we integrate this, I'd prefer making calls to
      Tcl_IsSafe() rather than directly probing the interp
      flags.  I guess that's up to the maintainer though.
      
      It's also Tcl coding convention to have separate
      variables for (Tcl_Interp *) and (Interp *) values.
      
      Those are implementation details though.  TIP 87 looks to
      be in good shape.  I'll make a last call for comments
      tomorrow.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  16. Add attachment "tip87.patch" [a0496b78e8] (rid 96775) by trier on 2002-02-28 00:40:24.

  17. Ticket change [df4f8b5e03] (rid 114992) by trier on 2002-02-28 00:40:24:

    1. icomment:
      
      
      File Added - 18531: tip87.patch
      
      Logged In: YES 
      user_id=372112
      
      OK, I switched to Tcl_IsSafe(). I wonder why I didn't do that in the first place.
      
      I added an iPtr variable for the (Interp *) type. I'm a bit confused by that, since
      in the rest of the generic/tclInterp.c code, the direct use of a typecast from (Tcl_Interp *)
      to (Interp *) is more common than an intermediate variable, but it's there now.
      
      Finally, I added tests for recursion limits <= 0 and modified other tests to check
      the return value when the newlimit parameter is present.
      
      
      
    2. login: "trier"
    3. mimetype: "text/plain"
    4. username: "trier"
  18. Ticket change [d7cd92807c] (rid 107328) by hobbs on 2002-03-03 05:53:43:

    1. assignee changed to: "dgp"
    2. icomment:
      Logged In: YES 
      user_id=72656
      
      this looks OK to me.  Passing it onto dgp as sponsor.
      
      
    3. login: "hobbs"
    4. mimetype: "text/plain"
    5. username: "hobbs"
  19. Add attachment "tip87dgp.patch" [0040cb25f4] (rid 119287) by dgp on 2002-03-07 08:17:58.

  20. Ticket change [17e2c64543] (rid 122573) by dgp on 2002-03-07 08:17:58:

    1. icomment:
      
      
      File Added - 18931: tip87dgp.patch
      
      Logged In: YES 
      user_id=80530
      
      Here is a revised patch implementing TIP 87, tip87dgp.patch.
      
      Changes include:
       * Factored out common code in the two OPT_RECLIMIT
         sections into a static function, SlaveRecursionLimit.
       * Added tests for values of newlimit that are too large
         to fit in the C int that Tcl_SetRecursionLimit accepts
         as an argument.
       * Documented that upper limit.
       * Rephrased and reorganized some of the documentation
         changes.
      
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  21. Ticket change [12cf7afcee] (rid 124115) by andreas_kupries on 2002-03-08 02:55:59:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      Patching:    Applies cleanly.
      Configuring: Ok.
      Compilation: Ok.
      Testsuite:   Ok. (Passed extended testsuite).
      
      Go.
      
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  22. Ticket change [8839966e01] (rid 131833) by dgp on 2002-03-08 03:17:10:

    1. closedate changed to: "2002-03-07T20:17:10"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      commited for 8.4a5/8.4b0
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Accepted"
    7. status changed to: "Closed"
    8. username: "dgp"