nsf

Clone Tools
  • last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- nsf.c: * add flags "-closure" and "-source" to "/cls/ info methods" (the cases for "/obj/ info methods" are already covered by "/obj/ info lookup methods") * extend regression test

- doc: * extended method resolution section * documented invocation flags for colon

- nx.tcl: * do not namespace import my into ::nx * replace usages of "my" by colon invocations

- nsf.c: cleanup on DEBUG86B2

- library/lib/nxdoc-assets/body.html.yuidoc: Added a tiny piece of missing styling markup ...

- library/lib/nxdoc-core.tcl: Major refactoring accomplished: Managed to refactor the validation code into a separate module, obtain a better separation between the backend implementations, ... Relocate the validate() method implementations into the Validator mixin layer. Validation (the validate cascade) is now triggered from within the mixin layer ... further improves the separation of concerns in nxdoc ... Also, moved frontend code into two distinct Tcl packages: We now distinguish between the DC ("Documentation Comments") and the XODoc frontends. I also remastered the entire frontend handling and disentangled the various concerns: specifying documentation sources, 1st- and 2nd pass handling, etc. - Support for document multiple Tcl packages per NXDoc project. Multi-package support, plus validation mode for packages, adding missing files to the repo - tests/doc.test: General cleanup, deactivated some tests for the time being (till the DC interface settles) - library/lib/nxdoc-core.tcl: Removed dead comments and dead codex - YUIDoc template suite: Added Monikas recent adaptations/extensions. I still have to check the resource paths for the xowiki backend, which are most probably broken for now. - Adjusted TODO for accomplished tasks.

    • -0
    • +0
    /library/lib/nxdoc-assets/yuidoc/ac.js
    • -0
    • +0
    /library/lib/nxdoc-assets/yuidoc/api.css
    • -0
    • +0
    /library/lib/nxdoc-assets/yuidoc/api.js
    • -5
    • +5
    /library/lib/nxdoc-assets/yuidoc/base.css
  1. … 7 more files in changeset.
- 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