RELEASE NOTES:
This version of Itcl is a big overhaul of Itcl 3.4.
This version is based on TclOO as the base for handling classes and objects
and for dispatching methods.
The changes are mostly internally so you should not have problems on the
script level.
You will need Tcl 8.6a3 or greater for running this version!
WARNING: this version is not backward compatible to < Tcl 8.6!!
This is no problem, as for these version Itcl 3.4 is available.
This version is trying to be less dependent of Tcl core internals.
The original test suite is running mostly (393 out of 400 test cases).
There are 5 test cases, which fail because of a different usage message.
Feature Request 1773103 is adressing that.
There is 1 test case, which is failing because of a problem in TclOO
in creating a class (TclOO class in the background) within namespace eval.
There is one test case where the handling in Tcl core has changed,
it is related to evaluation of namespace inscope.
There are 2 yet undocumented features you can use already:
- writing "this" in front of a class method call will speed up method
execution
- using "[self]" instead of "$this" has a big performance advantage, this
is a method omported from TclOO
There are other undocumented and at the moment unsupported features like
options, delegated options and delegated methods, which will be documented
and announced, if the APIs are more settled. This is just to warn you, if
you
use some new keywords in the class declartion, that you don't wonder about
the reaction.
I hope a lot of people will try out this version, as there are plans to
eventually bundle this version of the Itcl implementation to Tcl core
releases in the future.
Ikt 4.0 is a modified version of Itk 3.4 which has been adapted to Itcl 4.0
implementation. The public interfaces have not changed.
This version only works with Tcl >= 8.6a3 and Itcl 4.0!!
And now have fun and report problems!
Forgot to mention: this version has only be tested on Linux, as
I have no other development environment!
Would be nice if somebody else could test on Windows and MacOS!
rene
here is the link for downloading:
http://sourceforge.net/project/showfiles.php?group_id=13244&package_id=295641&release_id=634148
not the HEAD. itcl-ng is on a branch for now. A merge to the HEAD will
happen in the future.
cvs -d:pserver:anon...@incrtcl.cvs.sourceforge.net:/cvsroot/incrtcl
co -r itcl-ng incrTcl