Tcl/Tk 8.1.1 Release Announcement May 26, 1999 We are pleased to announce the 8.1.1 releases of the Tcl scripting language and the Tk toolkit. This is primarily a bugfix release but a few new features have also been added. More details can be found below. Where to get the new releases: ------------------------------ Tcl 8.1.1 and Tk 8.1.1 are freely available in open source from the Scriptics Web site at http://www.scriptics.com/software/8.1.html This Web page also contains additional information about the releases, including new features and notes about installing and compiling the releases. Tcl/Tk 8.1.1 is also included in the TclPro 1.3 Sneak Preview release available at: http://www.scriptics.com/tclpro/1.3SP.html For additional information: --------------------------- Please visit the Scriptics Web site. http://www.scriptics.com This site contains a variety of information about Tcl/Tk in general, the core Tcl and Tk distributions, the TclPro tool suite, and much more. Thank you for your contributions: --------------------------------- As usual, this release includes contributions from the Tcl community. We have a page honoring these contributions at: http://www.scriptics.com/software/contributors.html Summary of Changes since Tcl 8.1: --------------------------------- The following were the main changes in Tcl/Tk 8.1.1. A complete list can be found in the changes file at the root of the source tree. 1. Applied Jeff Hobbs' string patch which includes the following changes: new subcommands: equal, repeat, map, is, replace -length option to "string compare|equal" -nocase option to "string compare|equal|match" string and list indices can be an integer or end?-integer?. added optional first and last index args to string toupper, et al. See the string.n manual entry for more details about the new string features. 2. Applied Jeff Hobb's patch to add Tcl_StringCaseMatch to support case insensitive glob style matching and Tcl_UniCharIs* character classification functions. 3. Added Tcl_UtfNcmp and Tcl_UtfNcasecmp to make Utf string comparision easier. 4. Replaced the per-interpreter regexp cache with a per-thread cache. Changed the Regexp object to take advantage of this extra cache. Added a reference count to the TclRegexp type so regexps can be shared by multiple objects. Removed the per-interp regexp cache from the interpreter. Now regexps can be used with no need for an interpreter. This set of changes should provide significant speed improvements for many Tcl scripts. 5. Applied the patch to fix 100-year and 400-year boundaries in leap year code, from Isaac Hollander. 6. Fixed a crash caused by a failure to reset the result before evaluating the test expression in an uncompiled for statement. 7. Added call to TclWinInit from TclpInitPlatform when building a static library since DllMain will not be invoked. This could break old code that explicitly called TclWinInit, but should be simpler in the long run. Be aware that it is a potential incompatibility. 8. Fixed a bug where the Tcl_ObjType was not being set in a duplicated Tcl_Obj. 9. Changed Tcl_ParseCommand to avoid modifying eval'ed strings that are already null terminated. In addition the following changes were made to Tk for 8.1.1. 1. Fixed clipboard code so it handles Unicode data properly on Windows NT and 95. 2. Add extern "C" block around entire header file for C++ compilers to fix linkage issues. Submitted by Don Porter and Paul Duffin.