nsf

Clone Tools
  • last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- changed argument order on nsf::is to make it conformant with Tcl conventions - removed objectproperty, replaced it by ::nsf::is - move functionalizy of objectproperty to make "obj info is ..." more efficient

- minimal changes

- fix onbsolete objectproperty inside catch

- fix editing

- replaced argument order on objectproperty to make it conformant with Tcl conventions - updated migration guide

- Replaced the former "exception" handling mechanism by a simplified one. This speeds up e.g. the generation of the current nx.tcl documentation by 15-20%. - Adjusted the tests for the modified CommentBlockParser interface. - Implemented a first version of the revised tagline notation. Changed the documentation in nx.tcl and predefined.tcl accordingly. - Discriminate between parsing simple and complex part entities. In the simple case, multi-line part sections are not allowed anymore. - Adopted the recent changes in the object introspection interfaces

    • -10
    • +10
    /library/lib/doc-assets/entity.html.tmpl
    • -161
    • +164
    /library/lib/doc-tools.tcl
- removed "infoObjectMethod" and "infoClassMethod" - replaced ::nsf::cmd::ClassInfo2 by ::nsf::cmd::ClassInfo - replaced ::nsf::cmd::ObjectInfo2 by ::nsf::cmd::ObjectInfo

    • -11
    • +11
    /library/serialize/serializer.tcl
    • -51
    • +51
    /library/xotcl/library/xotcl2.tcl
- introduced ::nsf::isobject - replaced in all scripts "::nsf::objectproperty ... object" by isobject

- removed "nsf::is ... -type ...." - adoped emulation layer in xotcl2 accordingly - extended regression test

- removed "objectproperty .... type" - renamed isSubType() to IsSubType() - adoped emulation layer in xotcl2 accordingly - added two tests for "info has type" in regression test

- removed "objectproperty .... hasmixin" - removed "nsd::is ... -hasmixin ...." - removed type-converter "type=hasmixin" - adoped emulation layer in xotcl2 accordingly - added two tests for "info has mixin" in regression test

- updated interface definitions for info methods, sort these alphabetically

- implemented XOTclObjInfoHasMixinMethod() and XOTclObjInfoHasTypeMethod() - renamed "$obj info hasnamespace" to "$obj info has namespace" - added "$obj info has mixin $class" - added "$obj info has type $class" - extended regression test for parametercheck/objectproperty/is

- documented incompatiblity of object-invocation via method interface (due to ensemble objects) in migration guide

- make sure to test next to non-existing shadowed method in connections with filters and unknwon handlers

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

- fixed silent (scripted) unknown handler. - reavtivated corresponding regression test - extended regression tests (call unknown method with filter with and without unknown handlers)

- Refactoring templating code: Separated generic and backend-specific templating behaviour into distinct classes: BaseTemplateData and NxDocTemplateData. Rewrote the getter logic for the @doc strings to retrieve different representations (as_text() and as_list()). - Multi-line block markers: To achieve this, I moved the handling of block markers into the template data classes. - Adjusted the tests for the changes ...

    • -9
    • +9
    /library/lib/doc-assets/class.html.tmpl
    • -6
    • +6
    /library/lib/doc-assets/command.html.tmpl
    • -1
    • +1
    /library/lib/doc-assets/package.html.tmpl
    • -161
    • +182
    /library/lib/doc-tools.tcl
- fixed test with UnknownClass in xotcl/tests/testx.xotcl

- update generated file (containing new names)

- added untracked file

- scripted "info slotobjects" to return only objects of class ::nx::Slot

- added test/subcmd.tcl

- updated TODO

- added tests/subcmd.tcl

- factored out DispatchUnknownMethod() - added flag XOTCL_CM_NO_OBJECT_METHOD to ObjectDispatch() and friends - added tests/subcmd.tcl - added methods "defaultmethod" and "unknown" to ::nx::EnsembleObject (together with a set of helper methods to provide user-friendly information)

- removed some deubug output

Temporarily fixed an issue with cleaning up comment section states set on an entity object. This needs to be improved and to be made more robust!

- added class ::nx::EnsembleObject

- updated todo