nsf

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

- backported fix for xotcl 1.6.6 reported by kristoffer lawsow, which helps just partly here - extended regression test

* Fixed bug in filters reported by Kristoffer Lawson. When a filter chain reaches its end without finding the invoked method, the unknown state was not resetted correctly and affected method invocations in the filter after "next".

- fix syntax of last commit

- simplified "info is"

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 requiredness of last argument in parametercheck - return "object" for "info method type ...." when method is an object. - return valid creation command in "info method definition ...." when method is an object. - extend regression test

- fix requiredness of last argument of objectproperty

Removed some print statements and comments

Adding tests for multi-line param descriptions

- Fixed a relict of switching from ::nx::core::* to ::nsf::*. Removing the *::unsetUnknowArgs script fragment from proc bodies assumed 29 characters rather than 24 characters. This left proc bodies amputated when e.g. retrieved through [info method definition] in the presence of unknown (non-initialised) proc-local variables. - Corrected the submethod definition of Object->info()->is(): It did not check for the existence of the optional trailing parameter and so info()->is() barfed.

- Added an experimental gathering facility for part objects, relative to a given entity object. It returns a [dict] which allows to reuse the parts gathered throughout the templates rendering process. - Moved the process=@* methods to the doc object (this increases the cohesion). - Adjusted the current documentation artifacts for the changes (@object -> @class where applicable).

    • -14
    • +55
    /library/lib/doc-assets/class.html.tmpl
    • -15
    • +12
    /library/lib/doc-assets/entity.html.tmpl
    • -8
    • +25
    /library/lib/doc-assets/package.html.tmpl
    • -104
    • +146
    /library/lib/doc-tools.tcl
- Renamed the existing object.html.tmpl to class.html.tmpl and fix it to reflect class features. Providing an object-only template remains to be done. - Added an experimental gathering facility for part objects, relative to a given entity object. It returns a [dict] which allows to reuse the parts gathered throughout the templates rendering process. - Moved the process=@* methods to the doc object (this increases the cohesion). - Adjusted the current documentation artifacts for the changes (@object -> @class where applicable).

    • -0
    • +264
    /library/lib/doc-assets/class.html.tmpl
    • -264
    • +0
    /library/lib/doc-assets/object.html.tmpl
- eliminated "info classparent" and "info classchildren" - added tests to xotcl/tests/testx.xotcl to assure equivalence

    • -14
    • +32
    /library/xotcl/tests/testx.xotcl