My special New Years present to the Tcl community (since I had some time over Christmas): A new release of Tloona… 1.2.
Quite some things have changed:
New parser functionality for XOTcl and Websh. This enables XOTcl developers and Websh developers to use the code browser for exploring their projects. Until now only tcl, html and Itcl/Itk were supported.
Currently no threads usage. The use of threads in previous releases has lead to crashes on multicore machines and was not quite stable. It needs to be designed a little better… currently it is disabled at all, until the redesign is done. I don’t know when/whether this will happen - depends on time. Help is appreciated!
Compatible to use standard Tcl and standard Itcl now. This does make sense - and decreases maintenance work ;-).
Tloona does not longer include external dependencies. Thus, this release is much smaller than previous ones. Extensions like comm, Tclx, Thread, vfs, starkit and others have been part of Tloona in previous releases but are not anymore, which also decreases maintenance work. It just means that users must take care of the extension installation by themselves now. The easiest way is to do this via teacup (part of the -very good- ActiveTcl distribution). But it can be done on other ways too… Eventually most of the dependencies are installed on your system already.
Release as starkit is dropped. This is related to the other dependency issue above. In previous releases, Tloona required a threaded Tclkit and since these are not available by default, I had to build and provide my own threaded Tclkits. This is evtl. continued, but it should not be a requirement for Tloona. Instead of running Tloona via tclkick, you can now use any Tcl installation (best: ActiveTcl) to run the IDE. Of course you are free to build your own starkits from Tloona and run them via Tclkick or other Threads enabled Tclkit. The standard release is now provided as a .zip file. Inside Tloona you can still distribute as starkit, but you need JCW’s SDX now - which you can get here.
How to install and run Tloona 1.2:
- download the release from here and unzip it.
- if you don’t have Tcl already, get and install ActiveTcl 8.5.
- in the unzipped release directory you find a file install_dependencies.tcl. Run it via tclsh - it utilizes teacup to fetch and install all necessary extensions. If you don’t have ActiveTcl/teacup, the file includes a list of dependencies that you must install manually.
- locate the directory of your Itk installation, if you installed Itk via teacup. It is usually $teapot/repository/package/$arch/lib/Itk-3.4, where $teapot is the base directory for teapot, e.g. “$home/.teapot” on Linux, and $arch is the architecture, e.g. “macosx-universal” on Mac OSX
- copy the files from tloona.vfs/itk_files/ into the Itk installation directory of teacup. It is a bug of Itk in teapot that these files are missin.
- Remove the preferences file .tloonarc from your home directory (C:\Documents and settings\user on windows). This has changed in this release.
- Run “tclsh tloona.vfs/main.tcl”. It will tell you at startup if something is wrong or still missing
Have fun and a Happy New Year :-)!