Skip to content
Tcl Source Code History Of Ticket 2549807fff
Login

History Of Ticket 2549807fff

Artifacts Associated With Ticket 2549807fff

  1. Ticket change [937b0effa3] (rid 105824) by dgp on 2009-01-30 17:58:22:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      The [interp] command and the [$slave]
      command created by [interp create] have
      many, but not all subcommands in common.
      
      Unless there's some reason not to that
      I don't see, it makes sense to me to add
      these subcommands to the [$slave] command:
      
        [$slave cancel]
        [$slave delete]
        [$slave slaves]
        [$slave target]
      
      I would not add [$slave exists].  Instead
      I would remove support of the no-argument
      form of [interp exists] (2544760).
      
      I would not add [$slave create].
      
      I do not know whether adding [$slave share]
      or [$slave transfer] makes sense.
      
    4. foundin initialized to: "None"
    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: "dgp"
    10. subsystem initialized to: "20. [interp]"
    11. title initialized to: "more slave subcommands"
    12. type initialized to: "RFE"
  2. Ticket change [afe3c3f0c1] (rid 97894) by coldstore on 2010-04-26 09:01:01:

    1. icomment:
      I would suggest that instead of adding more functionality to [$slave], functionality should be reduced, and in fact removed to the point where [$slave ...] was equivalent to [$slave eval ...]
      
      I think that, since the [interp {verb} $slave] commands exists to expose the functionality currently duplicated in [$interp], it makes more sense to distinguish between operating-on a $slave, and interacting-with a $slave.  I think that the obvious, common and natural meaning of 'interact-with' is 'invoke', and would therefore prefer to see that as the default behaviour of [$slave].  Since this interpretation is inconsistent with the current rendering of [$slave] as an object-like command, I would argue for the removal of the (imposed) object-like [$slave] dispatcher, and by extension the addition of more functionality to this form.
      
      I realise this is an incompatible change, and would expect it to occur in 9.0 or similar.
      
      
      
      
    2. login: "coldstore"
    3. mimetype: "text/plain"
    4. username: "coldstore"