nsf

Clone Tools
  • last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- 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
- changed resolve_method_path to __resolve_method_path and made it protected

- reanimated 5 tests in tests/destroytest.tcl

- reanimated 5 tests in xotcl/tests/testx.xotcl

- Changed handling of "child objects": now, they are shown by default. - At the same time, the subobject "slot" was made protected to avoid its listing per default in "info methods" - unified slot parent-object creation handling - changed XOTcl info to new interface

    • -189
    • +182
    /library/xotcl/library/xotcl2.tcl
- some simplifications

- fix capitalization

- fixed "info methods" and added "-methodtype all" for setting class-only