Tcl Programming Language Version 8.6.14 Now Available

After 15 months of development published release Tcl/Tk 8.6.14, a dynamic programming language distributed along with a cross-platform library of basic graphical interface elements. Tcl is widely used as a platform for creating user interfaces and as an embedded language, but Tcl is also suitable for rapid prototyping, web development, network application creation, system administration and testing. Project code distributed by under BSD license.

Among changes:

  • The normalization of file paths and the processing of the “~” character in paths have been brought to a cross-platform form.
  • A path name starting with '//' is not replaced with '/', including in Cygwin and QNX.
  • Allow empty mode in (chan create) (“(chan create {} $cmd)”) to allow refchan version (socket -server).
  • Improved fork performance when using multithreading with vfork/spawn.
  • Ensure that getsockname(2) is called in Tcl_MakeFileChannel(3) only when necessary.
  • Tcl/tclsh security is enhanced using OpenBSD's pledge(2) function or similar mechanisms.
  • tcltest adapted to support Tcl 9 (>= tcltest 2.5.7).
  • Enabled the use of a replacement character when decoding incomplete Unicode sequences.
  • Added checking for mknod, tcdrain and uname in build scripts for VxWorks or other platforms.
  • 32-bit Cygwin has ended, so the “–enable-64bit” argument to Cygwin is no longer needed.
  • Tcl_VarEval is no longer deprecated.
  • In “(interp limit time -seconds)” the 2038 problem is solved.
  • The utf16 option has been removed from win/makefile.vc.
  • zlib has been updated to version 1.3.1.
  • libtommath updated to version 1.2.1.
  • install-sh has been updated to version 2020-11-14.01.
  • Added support for Unicode 15.1.
  • The time zone database has been updated to release tzdata2024a.
  • The Window binary license metadata mentions the University of California.
  • Fixed a bug with incorrect formatting of arguments in the man page.
  • Fixed bug with missing Windows 11 information in tcl_platforms.
  • Fixed a bug with incorrect string comparisons on systems with big endian byte order.
  • Fixed a crash with tcl_precision equal to 15..18.
  • Fixed rare crashes when clearing a memchan stream.
  • Fixed an issue with the zip command displaying an error when the file comment/filename is too long or is not in iso-latin-1 encoding.
  • Fixed issue with return of usec from Tcl_GetTime on Windows.
  • Fixed crash when applying channel transformation on a TCP client socket.
  • Prevented incorrect reading in Tcl_UtfToUniChar.
  • The macOS 13 SDK deprecated the sprintf() function.
  • Fixed position argument overflow in (scan %num$mode).
  • Fixed crash during tail call.
  • Fixed bugs with clock scan and clock add in erroneous cases or with shortened options.
  • Fixed a bug with ignoring incomplete double byte encodings, for example in (encoding convertfrom gb12345 x).
  • Fixed tclvfs tkt crash when exiting the interpreter with tclvfs loaded.
  • Fixed an issue where Tcl_GetUniChar would read characters beyond the string length for ASCII strings.
  • Fixed a bug in the MS Windows version: files with emoji are found via glob, but are not defined via file exists or open.
  • Fixed compilation error with VC6 version core-8-6-branch: “error C2065: 'int16_t' : undeclared identifier”.
  • Fixed bugs in ClockGetdatefieldsObjCmd(): signed integer overflow and platform-independent behavior.
  • Fixed bug with fakeObject.refCount initialization in tclOO.c.
  • Fixed a bug where use-after-return in AddressSanitizer would break NRE tests and coroutines.
  • Correction of false errors from (clock format).
  • Fix reallocation (exec %var%) in MS Windows. This was banned in 8.6.13.
  • Documentation correction for Tcl_PkgRequire: The version specification line refers to “package require”.
  • Fixed bug in (tcl_startOfPreviousWord string end-1).
  • Fixed a crash that occurred when Tcl_ReadChars was called on Unicode objects.
  • Fixed looping when overriding proc::history.
  • Fixed looping when ::unknown is moved into a namespace.

Thanks for reading: