nsf

Clone Tools
  • last updated 22 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- 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

- added flag "-type" to NsfObjInfoChildrenMethod - added flag "-type" to NsfObjInfoSlotObjectsMethod - removed dummy argument "pattern" from NsfObjInfoSlotObjectsMethod - removed NsfClassInfoSlotsMethod (implemented via "children ... -type ...") - moved "info slots" from nx::Class to nx::Object (to report e.g. per-object attributes) - extended regression test

- Added support for companion documentation files (based on the file extension *.nxd) - Moved the nsf and nx documentation blocks in generic/predefined.nxd and library/nx/nx.nxd, respectively - Un-exported @param, provide two aliases @attribute and @parameter (in the respective contexts). - Changed the test suite and the two documentations to reflect the naming changes.

    • -0
    • +295
    /generic/predefined.nxd
    • -7
    • +7
    /library/lib/doc-assets/class.html.tmpl
    • -2
    • +2
    /library/lib/doc-assets/method.html.tmpl
    • -0
    • +690
    /library/nx/nx.nxd