From: Zoran V. <zv...@ar...> - 2006-03-09 11:37:00
|
Hi! I have included new version of nstrace module. I also moved (and rewritten) the ugly introspective script in nsd/init.tcl to the nstrace.tcl. This way, the nstrace is now sole source of scripts for new Tcl interpreter initialization. I hope nothing is broken with the change. If yes, please tell me so I can fix it. Normally there are no visible changes from the outside. For the courious, there are now plenty of comments in the nstrace.tcl. If there is still something unclear about how the interp init scripts are generated, please ask and I will be happy to answer. I took the time to review, re-comment and partially re-write most of the Tcl code living in the tcl/ directory. Please try to maintain coding convention we all agreed upon when writing Tcl code. Some of the files were very difficult to read/understand so I had to reformat and in some cases rewrite them to understand what is going on. I took the time to extensively document such places for the sake of future viewers. I noticed quite a few junk ns_* procedures polluting the Tcl API which are mostly found in util.tcl. Plese do not use this file as a genral-purpose-sink and think twice before naming a Tcl procedure ns_* as this will put it (per definition) into the public Tcl API which we will have to a. document and b. maintain for longer time. Cheers, Zoran |