nsf

Clone Tools
  • last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- documentation updates

nonleadingdash handling: - doc: added "nonleadingdash" to UML class diagramm - nsf.c: added error message, when "noleadingdash" is used on non-positional parameters - nsf.c: use same logic for "nonleadingdash" to "value in argument" - nsf.c: deactivated rudimentary unknown handler for the time being - nx.tcl: added handling of parameter option "noleadingdash" in objectParameterSlots

- added "nonleadingdash" to UML class diagramm

- add traits package and example scripts

    • -0
    • +899
    /doc/example-scripts/traits-composite.html
    • -0
    • +99
    /doc/example-scripts/traits-composite.tcl
    • -0
    • +846
    /doc/example-scripts/traits-simple.html
    • -0
    • +64
    /doc/example-scripts/traits-simple.tcl
    • -0
    • +78
    /library/lib/nx-traits.tcl
- fix typo

nsf.c: - don't convert obj types tclCmdName and parsedVarNameType to instanceMethodObjType

- documentation updates: use term "instance method", some clarifications

- remove duplicate calculation of pcPtr->objc

- cleanup on nsfObj.c

- perform more eager invalidation on objectMethodEpochs

- minor cleanup

- added MixinregDupInternalRep() and FilterregDupInternalRep

tests: - added "package prefer latest" to avoid confusions of alpha and beta releases with install versions

nsf.c: - new cmd for debugging: nsf::__db_show_obj - added MethodDupInternalRep() and FlagDupInternalRep() since they appear to be required in Tcl 8.6b2.

nsf.c: - moved methodEpochCounters from global vars to the interp state to improve resue in multi threaded apps - separated objectMethodEpoch and instanceMethodEpoch - bump version number to 2.0a2

- minor cleanup

Merge branch '2.0.0-develop' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/xotcl into 2.0.0-develop

- experimentation version of unknown handler for non-pos args - extending regression test

nsf.c: - reform of method lookup. new code uses NsfInstanceMethodObjType and NsfObjectMethodObjType to reuse earlier lookup results. Improved speed for for methods with primitive bodies (over version before argument parse reform: 10%-43%. - additional compile-time option: METHOD_OBJECT_TRACE

Merge branch '2.0.0-develop' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/xotcl into 2.0.0-develop

- fix old typos (many thanks to Victor Guerra for noticing it)

- nsf.c - added experimental parameter option noleadingdash - additionalal regression test file method-parameter.test - provide selective error messages for unknown nonpos args

    • -0
    • +76
    /tests/method-parameter.test
- remove "namespace import ::nx::*"

- add example scripts

    • -0
    • +966
    /doc/example-scripts/per-object-mixins.html
    • -0
    • +131
    /doc/example-scripts/per-object-mixins.tcl
- provide more hints for gcc

Merge branch '2.0.0-develop' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/xotcl into 2.0.0-develop

- reform of argument parse. new parser uses NsfFlagObjType to reuse earlier parse resuslts. Improved speed for for methods with primitive bodies: 5%-25%.

- added minimal regression tests for argument parsing to object-system test

- library/lib/nxdoc-core.tcl: Slightly improved the error robustness of nxdoc

- nsf.c: make ":" a full equivalent vor nsf::my (i.e. support -local, -system and -intrinsic) - extend regression test