Skip to content
Tcl Source Code History Of Ticket 1577492
Login

History Of Ticket 1577492

Artifacts Associated With Ticket 1577492

  1. Ticket change [df13bb63ef] (rid 114959) by msofer on 2006-10-15 03:02:05:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Attached a patch that, while not touching [info level]
      itself, makes it aware of rewrites: the (objc,objv)
      fields in each CallFrame are not rewritten during
      ensemble calls. 
      
      If the patch in [Bug 1574835] is accepted, it should be
      modified accordingly so that [interp alias] benefits
      from this too.
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "8"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "msofer"
    10. subsystem initialized to: "17. Commands I-L"
    11. title initialized to: "let [info level] know ensemble rewrites"
    12. type initialized to: "RFE"
  2. Add attachment "infolevel.patch" [7f6fa2e75a] (rid 97560) by msofer on 2006-10-15 10:02:05.

  3. Ticket change [51f56df94d] (rid 126223) by msofer on 2006-10-15 10:02:05:

    1. icomment:
      
      
      File Added - 198222: infolevel.patch
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  4. Ticket change [bebb46b77a] (rid 102127) by dgp on 2006-10-15 10:24:31:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Be careful here.  As the
      attempt to fix 1400572
      demonstrated, Itcl is 
      sensitive in mysterious
      ways to what gets stored
      in those objc, objv fields.
      May even be storing things
      there itself?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [5f40350b9c] (rid 115779) by msofer on 2006-10-15 19:26:41:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Remark that this patch does not really touch (objc, objv)
      any more than HEAD. Quite the contrary: it avoids touching
      it for ensemble calls. The fix for itcl or any other weirdo
      wanting to store things in there itself is to store them
      *after* pushing the stack frame. Note also: as the core uses
      TclPushStackFrame and itcl Tcl_PushCallFrame on frames it
      allocates itself (bwerk!), it is easy to make this patch
      only touch (objc, objv) on frames pushed on the stack: itcl
      should never see it. I think ... except if itcl wants to
      determine what non-itcl call frames do too? 
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  6. Ticket change [f52a77a9f9] (rid 130060) by msofer on 2006-10-15 21:21:21:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Just checked: this patch has no effect on the itcl
      testsuite. It causes the same 4 testsuite errors and a
      seggie as HEAD.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  7. Ticket change [f0d98658fa] (rid 109265) by dgp on 2006-10-16 01:23:01:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      I'm pretty sure the
      1400572 fix caused no
      Itcl test suite failures
      either.  Still caused
      enough trouble with existing
      Itcl code that it had to go.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [6abfc35f8a] (rid 128206) by msofer on 2006-10-16 01:54:23:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      This has essentially the same behaviour as 1400572, which is
      already in HEAD. If we choose to go back to 8.4 behaviour,
      with [namespace inscope] having an empty [info level], that
      can be done easily here too: the caller of Tcl_PushCallFrame
      can rewrite those fields afterwards anyway - they are just
      being initialised differently than they were before.
      
      IOW, 1400572 breakage would be fixed in this patch by just
      adding 'iPtr->objc=0;' in [namespace inscope]'s code, should
      we choose to allow it to have an empty [info level].
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  9. Ticket change [f1fd1a4c71] (rid 109450) by msofer on 2006-10-17 08:08:50:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Interesting side effect of this on toy oo systems based on
      ensembles (neo, eos): there is now no need to
      rewrite/reorder the cmd line. The name of the "object" (the
      calling ensemble) can be retrieved with
         set self [lindex [info level 0] 0]
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  10. Ticket change [074fd83d13] (rid 89375) by msofer on 2006-10-24 05:50:43:

    1. assignee changed to: "msofer"
    2. closedate changed to: "2006-10-23T22:50:43"
    3. closer changed to: "msofer"
    4. icomment:
      Logged In: YES 
      user_id=148712
      
      The commit also fixed clock::format and clock::scan wrong #
      args messages, and their tests.
      
      
    5. login: "msofer"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "msofer"
  11. Ticket change [0b8244cc6a] (rid 113998) by msofer on 2006-10-24 07:36:40:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Add tests! Also specific for ensembles and aliases.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. status changed to: "Open"
    5. username: "msofer"
  12. Ticket change [fa6ec6cba2] (rid 91877) by msofer on 2006-10-25 06:13:14:

    1. closedate changed to: "2006-10-24T23:13:14"
    2. closer changed to: "msofer"
    3. icomment:
      Logged In: YES 
      user_id=148712
      
      Added info-9.11-12
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "msofer"
  13. Ticket change [0fad3fa25b] (rid 94831) by msofer on 2006-10-31 17:29:20:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      This has led to breaking a relatively common idiom, used a
      lot in tcclib's struct an in Tkcon ([Bug 1587618 ]
      "important use of [info level 0] broken").
      
      ISTM that breaking a common idiom that has no simple
      workaround is a relatively severe bug, and nicer error
      messages more like a WIBNI.
      
      Reverting the commit and reopening this FR with a new title.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. resolution changed to: "None"
    5. status changed to: "Open"
    6. title changed to: "reflect ensemble rewrites on error messages"
    7. username: "msofer"
  14. Ticket change [e55bc7a3db] (rid 88116) by msofer on 2007-09-09 06:08:40:

    1. icomment:
      
      
      data_type - 360894
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. subsystem changed to: "17. Commands I-L"
    5. username: "msofer"
  15. Ticket change [266e3fedb5] (rid 261513) by serhiy.storchaka on 2026-11-13 11:18:43:

    1. closedate changed to: "2461357.9713335303"
    2. closer changed to: "serhiy.storchaka"
    3. icomment:
      Since Tcl 8.5.0 the wrong # args message of a procedure called through an ensemble or an alias shows the command as it was called (should be "e sub a"), while info level 0 still gives the rewritten command as restored for [1587618].
      
    4. login: "serhiy.storchaka"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"