Skip to content
Tcl Source Code History Of Ticket 1773103
Login

History Of Ticket 1773103

Artifacts Associated With Ticket 1773103

  1. Ticket change [ea52ea7c23] (rid 103350) by wiede on 2007-08-13 14:04:17:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      If an namespace ensemble command is invoked without a subcommand the normal Tcl_WrongNumArgs message is called.  For Itcl I would need to do a different reporting. It would work if at the beginning if aan unknown handler exists that would be called instead:
      
          if (objc < 2) {
      
      +        if (ensemblePtr->unknownHandler != NULL) {
      +            goto unknownOrAmbiguousSubcommand;
      +        }
      
              Tcl_WrongNumArgs(interp, 1, objv, "subcommand ?argument ...?");
              return TCL_ERROR;
          }
      
      
      
      
    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: "wiede"
    10. subsystem initialized to: "21. [namespace]"
    11. title initialized to:
      enhancement for namespace ensemble usage reporting 
      
    12. type initialized to: "RFE"
  2. Ticket change [132f038e58] (rid 124167) by msofer on 2007-08-13 21:13:02:

    1. assignee changed to: "dkf"
  3. Ticket change [a334b38684] (rid 110013) by dkf on 2007-12-30 22:40:08:

    1. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      I'm more likely to do this as an extra flag bit
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  4. Ticket change [92fbf97bf6] (rid 105741) by wiede on 2008-01-19 00:40:34:

    1. icomment:
      Logged In: YES 
      user_id=558925
      Originator: YES
      
      An extra flag would be fine with me. Are there any plans already if/when to add such a flag?
      
      
    2. login: "wiede"
    3. mimetype: "text/plain"
    4. username: "wiede"
  5. Ticket change [0cf93d3588] (rid 114277) by dkf on 2008-01-21 22:02:00:

    1. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      I've no plans on this one way or the other at the moment.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  6. Ticket change [551d0f173d] (rid 94073) by wiede on 2008-02-11 01:49:57:

    1. icomment:
      Logged In: YES 
      user_id=558925
      Originator: YES
      
      Having spent some thoughts again on the problem, I think a good solution would be if I could get something like an ensemble "wrongNumArgs" handler similar to the ensemble unknown handler which should be settable via an option.
      
      
    2. login: "wiede"
    3. mimetype: "text/plain"
    4. username: "wiede"
  7. Ticket change [fbe7e8d066] (rid 108140) by dkf on 2009-07-14 17:54:44:

    1. priority changed to: "7 High"
    2. resolution changed to: "Remind"
  8. Ticket change [869c68c5ea] (rid 131544) by dkf on 2009-07-27 01:28:29:

    1. icomment:
      Update: it would have been nice to have had this when reworking [history] as an ensemble. I found a (horrific) workaround, but this would have been far more elegant.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  9. Ticket change [e0bfe6f2e2] (rid 87334) by dkf on 2009-07-27 01:28:57:

    1. icomment:
      Update: it would have been nice to have had this when reworking [history] as an ensemble. I found a (horrific) workaround, but this would have been far more elegant.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. priority changed to: "8"
    5. username: "dkf"
  10. Ticket change [44f00da8d3] (rid 116794) by dkf on 2012-05-26 20:16:49:

    1. icomment:
      
      
      IP - Comment Removed: 82.42.214.208
      
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  11. Ticket change [6229f318d6] (rid 92367) by nijtmans on 2012-09-14 15:39:37:

    1. icomment:
      Ping!
      Is this still being considered?
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  12. Ticket change [385c2f9862] (rid 112194) by dkf on 2012-09-14 15:56:51:

    1. icomment:
      It might actually be done as part of TIP #380.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  13. Ticket change [12518386e8] (rid 95285) by dkf on 2012-09-14 15:59:39:

    1. icomment:
      Oops, that was just for TclOO, not [namespace ensemble].
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  14. Ticket change [4d9dc6291e] (rid 142560) by dgp on 2015-07-20 15:53:44:

    1. closer changed to: "nobody"
    2. comment changed to:
      If an namespace ensemble command is invoked without a subcommand the normal Tcl_WrongNumArgs message is called.  For Itcl I would need to do a different reporting. It would work if at the beginning if aan unknown handler exists that would be called instead:
      
          if (objc < 2) {
      
      +        if (ensemblePtr->unknownHandler != NULL) {
      +            goto unknownOrAmbiguousSubcommand;
      +        }
      
              Tcl_WrongNumArgs(interp, 1, objv, "subcommand ?argument ...?");
              return TCL_ERROR;
          }
      
    3. icomment:
      
      I'm coding an Itcl workaround for this, but sending
      missing subcommand errors to the unknown dispatcher
      would be a much better idea.  It appears to be specced
      to handle that case.
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. severity changed to: "Minor"
    7. title changed to: "enhancement for namespace ensemble usage reporting"