TODO

Clone Tools
  • last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- made methods (for now just scripted methods) by default protected. - provide methode __default_method_protection to obtain the default method protection when neither protected or public is used. - per default methods are now protected - provide ::nx::configure defaultMethodProtection true|false as conveniant interface - update regression test and serializer to handle default protection

  1. … 16 more files in changeset.
- updated todo

- removed obsolete code

  1. … 2 more files in changeset.
- handle next in ensemble with arguments - extended regression test

  1. … 2 more files in changeset.
- 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)

  1. … 6 more files in changeset.
- call internal NextSearchAndInvoke (without NextGetArguments) from the implicit next in ensemble methods - made NsfNextMethod() obsolete to ease different noarg handling policies

  1. … 2 more files in changeset.
- renamed functions in nsfStack.c to follow Tcl naming guidelines

  1. … 3 more files in changeset.
- rennamed tests/subcmd.tcl info tests/submethods.tcl - moved relevant tests from tests/parameters into tests/submethods.tcl

  1. … 4 more files in changeset.
- renamed "... info ... subcommands ..." into "... submethods ..."

  1. … 4 more files in changeset.
- 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

  1. … 4 more files in changeset.
- implemented next within ensemble methods - added regression tests for next within ensembles - added regression tests for upvar with ensembles

  1. … 3 more files in changeset.
- updated todo list

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

  1. … 2 more files in changeset.
- renamed "parameter" into "attributes" in nx - renamed "info parameter" into "info attributes" in nx - updated migration guide - fixed several common typos

  1. … 13 more files in changeset.
- 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)

  1. … 1 more file in changeset.
- removed overhead on ::nsf::dispatch when called with absolute paths - absolute paths have to start with ":".

  1. … 2 more files in changeset.
- improve comments in nsf.c - follow closer naming of Tcl style guide

  1. … 1 more file in changeset.
- 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

  1. … 5 more files in changeset.
- changed "cls object method ..." and friends into "cls class-object method ..."

  1. … 18 more files in changeset.
- fixed handles with subcommands for class methods when called on classes or objects - extended regression test

  1. … 2 more files in changeset.
- fixed handles with subcommands used on objects without namespaces - new functions: GetRegObject()

  1. … 2 more files in changeset.
- second part of ensemble name resolver, distinguish between registration object and definition object - new functions: GetRegObject() - extended regression test

  1. … 3 more files in changeset.
- 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"]

  1. … 3 more files in changeset.
- changed "info available" into "info lookup" (and accordingly c definitions, migration guide)

  1. … 14 more files in changeset.
- new function AliasDeleteObjectReference() to delete aliases to objects - removed some obsolete functions

  1. … 1 more file in changeset.
- 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

  1. … 2 more files in changeset.
- splitted "info callable" into an ensemble (submethods have quite different signatures) - added "info callable slots" with functionality of "info slotobjects" - removed "info slotobjects"

  1. … 6 more files in changeset.
- [::nx::Object info method parameter info] returns now empty instead of error. - extended regression test

  1. … 2 more files in changeset.
- 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

  1. … 7 more files in changeset.
- BRO continues: - overworked function prototype definitions in nsf.c - renamed some static definitions on the way to follow Tcl conventions (start with a capital character)

  1. … 7 more files in changeset.