Skip to content
Tcl Source Code History Of Ticket 3399564
Login

History Of Ticket 3399564

Artifacts Associated With Ticket 3399564

  1. Ticket change [961dfd8e4d] (rid 106269) by mistachkin on 2011-08-28 07:01:31:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      It seems that attempting to use Tcl_GetCommandInfo and then calling the cmdInfo.objProc for NRE-enabled commands does not really work.  No error is generated; however, it appears that the command is not executed.  The code in question is here (on the Fossil tcl-integration branch):
      
      http://www.fossil-scm.org/index.html/artifact?ci=tip&filename=src/th_tcl.c&ln=148-160
      
      
    4. foundin initialized to: "obsolete: 8.6b2"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "mistachkin"
    10. subsystem initialized to: "45. Parsing and Eval"
    11. title initialized to:
      Cannot invoke cmdInfo.objProc for NRE-enabled commands
      
    12. type initialized to: "Bug"
  2. Ticket change [e922dc34f2] (rid 104760) by msofer on 2011-08-28 21:31:44:

    1. icomment:
      That link doesn't work, found instead
      https://www.fossil-scm.org/index.html/artifact/9077c7d0f2347a47b5fe30242532fbaf1d63ab77
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  3. Ticket change [e2e80ab509] (rid 87700) by msofer on 2011-08-28 22:19:55:

    1. icomment:
      Can you please provide some evidence/hints as to "appears that the command is not executed", and how NRE-enabled commands enter into the picture?
      Note that PURE nre-commands (those that only have an nreProc but no objProc) will bomb (objProc==NULL). These are coroutine, tailcall, yield and also any command created by [coroutine]. For all others commands, things should work properly irrespective of their being NRE-enabled or not.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  4. Ticket change [24f3ab8d9a] (rid 131199) by mistachkin on 2011-08-29 06:43:39:

    1. icomment:
      In order for the link to work, I believe you have to at least login as anonymous.
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  5. Ticket change [3738407a17] (rid 107238) by mistachkin on 2011-08-29 15:32:06:

    1. icomment:
      I think I have figured out the problem.  The Tcl_EvalObjCmd function calls TclNREvalObjEx; however, TclNRRunCallbacks is never called when Tcl_EvalObjCmd is invoked via the objProc.
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  6. Ticket change [bf7df323a3] (rid 102259) by msofer on 2011-08-29 17:46:01:

    1. closedate changed to: "2011-08-29T10:46:01"
    2. closer changed to: "msofer"
    3. icomment:
      
      
      allow_comments - 1
      
      Good catch: [eval]'s objProc was actually an nreProc. Fixed in trunk.
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "msofer"
  7. Ticket change [47e026c63f] (rid 133950) by jan.nijtmans on 2013-09-17 11:01:06:

    1. assignee changed to: "aku"
    2. closedate changed to: "2456552.95910179"
    3. closer changed to: "jan.nijtmans"
    4. comment changed to:
      It seems that attempting to use Tcl_GetCommandInfo and then calling the cmdInfo.objProc for NRE-enabled commands does not really work.  No error is generated; however, it appears that the command is not executed.  The code in question is here (on the Fossil tcl-integration branch):
      
      http://www.fossil-scm.org/index.html/artifact?ci=tip&filename=src/th_tcl.c&ln=148-160
      
    5. icomment: "Fixed in [6fde6aa738]"
    6. login: "jan.nijtmans"
    7. mimetype: "text/x-fossil-wiki"
    8. severity changed to: "Minor"