nsf

Clone Tools
  • last updated 22 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- new nsf::next cmd. receives 0 or 1 argument, which might be a list of arguments. This avoids ambiguity of ::xotcl::next with "--noArgs". - renamed namespace_copycmds and namespace_copyvars to nscopycmds and nscopyvars (we don't use "_" in nsf::*-names as delimiters elsewhere) - renamed __qualify to qualify (it is a non-exported cmd)

- call internal NextSearchAndInvoke (without NextGetArguments) from the implicit next in ensemble methods - made NsfNextMethod() obsolete to ease different noarg handling policies

- renamed functions in nsfStack.c to follow Tcl naming guidelines

- rennamed tests/subcmd.tcl info tests/submethods.tcl - moved relevant tests from tests/parameters into tests/submethods.tcl

    • -0
    • +216
    /tests/submethods.tcl
- renamed "... info ... subcommands ..." into "... submethods ..."

- refactored next and argument passing (new methods NextGetArguments(), NextSearchAndInvoke() and CallStackFindEnsembleCsc()) - doing an internal next in cases where a method ensemble does not contain the called submethod - added regression tests for partial ensembles

- implemented next within ensemble methods - added regression tests for next within ensembles - added regression tests for upvar with ensembles

- added test case for next in ensemble

- working on next from ensemble

- first steps towards next-handling in ensemble methods

- provide cscPtr in debug output

- updated todo list

- remove useless line

- documented behavior of upvar/uplevel with aliases on scripted procs through regression test

- renamed "parameter" into "attributes" in nx - renamed "info parameter" into "info attributes" in nx - updated migration guide - fixed several common typos

- checked equivalence of the following two commands in respect to fully-qualified names ::nsf::dispatch $obj ::nsf::cmd::ObjectInfo2::hastype $class ::nsf::parametercheck object,type=$class $obj extended regression test (paramters.tcl)

- removed overhead on ::nsf::dispatch when called with absolute paths - absolute paths have to start with ":".

- improve comments in nsf.c - follow closer naming of Tcl style guide

- added "info method subcommands ..." to return list of subcommands (of the ensemble) - extended regression test - use always NULL instead of 0 when assigning to a pointer variable

- changed "cls object method ..." and friends into "cls class-object method ..."

    • -12
    • +12
    /library/serialize/serializer.tcl
  1. … 4 more files in changeset.
- fixed handles with subcommands for class methods when called on classes or objects - extended regression test

- fixed handles with subcommands used on objects without namespaces - new functions: GetRegObject()

- polish comments

- second part of ensemble name resolver, distinguish between registration object and definition object - new functions: GetRegObject() - extended regression test

- pass tclobj instead of string to NsfObjInfoMethodMethod and NsfObjInfoMethodsMethod - first part of ensemble name resolver. We can resolve now e.g. [nx::Object info method parameter "info lookup methods"]

- changed "info available" into "info lookup" (and accordingly c definitions, migration guide)

- new function AliasDeleteObjectReference() to delete aliases to objects - removed some obsolete functions

- handle aliases to (sub)ensemble objects during final cleanup to improve sharing of logic. - share definition of "info callable" and "info has" ensemble between object info and class info

- splitted "info callable" into an ensemble (submethods have quite different signatures) - added "info callable slots" with functionality of "info slotobjects" - removed "info slotobjects"

- [::nx::Object info method parameter info] returns now empty instead of error. - extended regression test