Skip to content
Tcl Source Code History Of Ticket 1577282fffffffffffffffffffffffffffffffff
Login

History Of Ticket 1577282fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 1577282fffffffffffffffffffffffffffffffff

  1. Ticket change [2ffe5e3e96] (rid 93167) by msofer on 2006-10-14 17:28:58:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      [namespace unknown] should be able to follow [namespace
      path] and [namespace unknown] lookup behaviour.
      
      After application of [Patch 1577278], adding a line
        iPtr->lookupNsPtr = ensemblePtr->nsPtr;
      just before the call to Tcl_EvalObjv in
      NamespaceImplementationCmd enables this behaviour.
      
      If the registered ensemble unknownProc returns a FQ
      command as first element of the list, the resolution is
      still global. If the name is not FQ, the resolution
      will follow whatever rules the ensemble's namespace has
      set in place.
      
      
    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: "msofer"
    10. subsystem initialized to: "21. [namespace]"
    11. title initialized to: "[ensemble unknown] should use ns path"
    12. type initialized to: "RFE"
  2. Ticket change [fc284096e4] (rid 108180) by msofer on 2006-10-15 01:16:15:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Patch for docs and tests attached
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  3. Ticket change [2fdf3359ae] (rid 93144) by msofer on 2006-10-15 01:16:16:

    1. icomment:
      
      
      File Added - 198173: eunknown.patch
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  4. Add attachment "eunknown.patch" [9baefd2c87] (rid 111170) by msofer on 2006-10-15 01:16:16.

  5. Ticket change [4d89c0db4f] (rid 127070) by msofer on 2006-10-16 19:49:40:

    1. title changed to: "TIP 283: [ensemble unknown] should use ns path"
  6. Ticket change [7791bb00a8] (rid 89798) by msofer on 2006-10-26 08:13:12:

    1. icomment:
      
      
      File Added - 200065: tip283.patch
      
      Logged In: YES 
      user_id=148712
      
      Updated patch: code, docs, (incomplete) tests
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. title changed to: "TIP 283: ensemble's command resolution"
    5. username: "msofer"
  7. Add attachment "tip283.patch" [6930bd699d] (rid 103203) by msofer on 2006-10-26 08:13:12.

  8. Ticket change [6fa09f1082] (rid 100345) by msofer on 2006-11-02 03:40:27:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Updated patch that works in HEAD. It breaks test cmdAH-24.12
      in a weird manner - by breaking autoloading of [clock scan].
      The reason is exposed below; the problem with clock can be
      fixed easily, but the wider problem may be more important.
      
      *** DANGER ***
      
      As the "fix" for [info level] in HEAD was reverted (Bug
      1577492, previously called "let [info level] know ensemble
      rewrites"), this new feature breaks nother usual idiom.
      
        'uplevel 1 [info level 0]' is NOT GUARANTEED to call the
      present proc again
      
      This is because:
      (a) 'namespace ensemble' does not push a new frame
      (b) 'namespace ensemble' calls by simple name (non qualified)
      (c) 'info level 0' reflects only the actual call, ie, a
      simple name
      
      As an illustration, with this patch we get:
      
      % namespace eval a {
          variable ct 0
          namespace ensemble create -map {x scan}
          proc scan args {
              variable ct
              if {$ct} {
                  puts YES
                  return
              }
              incr ct
              uplevel 1 [info level 0]
          }
      }
      % a x
      wrong # args: should be "scan string format ?varName varName
      ...?"
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  9. Ticket change [b0deb1e6cc] (rid 98054) by msofer on 2006-11-02 03:40:28:

    1. icomment:
      
      
      File Added - 201011: tip283-1.patch
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  10. Add attachment "tip283-1.patch" [93f207052a] (rid 105890) by msofer on 2006-11-02 03:40:28.

  11. Ticket change [c31f8fef1e] (rid 111605) by dkf on 2009-07-13 19:35:57:

    1. icomment:
      The NRE-enabled command dispatch function allows control over the command resolution context. Might be worth looking at whether this FRQ can be dealt with through that route.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. priority changed to: "7 High"
    5. username: "dkf"
  12. Ticket change [6608e05308] (rid 223700) by jan.nijtmans on 2024-03-22 15:55:31:

    1. closer changed to: "nobody"
    2. comment changed to:
      [namespace unknown] should be able to follow [namespace
      path] and [namespace unknown] lookup behaviour.
      
      After application of [Patch 1577278], adding a line
        iPtr->lookupNsPtr = ensemblePtr->nsPtr;
      just before the call to Tcl_EvalObjv in
      NamespaceImplementationCmd enables this behaviour.
      
      If the registered ensemble unknownProc returns a FQ
      command as first element of the list, the resolution is
      still global. If the name is not FQ, the resolution
      will follow whatever rules the ensemble's namespace has
      set in place.
      
    3. icomment:
      Ping. Found this ooooooold ticket. Related to [910d67a229]?
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
    6. severity changed to: "Minor"