Tcl/Tk 9.1.0 is a development release moving toward stable 9.1 in September 2026, delivering a substantial set of language, C API, and platform updates. Tcl gains a UNICODE command and new C routines for Unicode normalization, a monotonic TIMER command with microsecond resolution, LFILTER for list selection, INTERP SET for child-interpreter variable access, and finer SUBST and SWITCH options. Many C99 math functions appear as expr functions, and several new C APIs (TCL_ISEMPTY, TCL_GETENCODINGNAMEFORUSER, TCL_ATTEMPTCREATEHASHENTRY, list-object range/repeat/reverse) and a new time API using long long are introduced. Initialization behavior now requires applications to call TCL_FINDEXECUTABLE or TCLZIPFS_APPHOOK. Platform and runtime changes include case-insensitive macOS paths, Windows AUTO_EXECOK/EXEC search reforms, revised script-library and encoding searches, improved list internals for large lists, and broader 64-bit size support.
Tk 9.1 focuses on accessibility, internationalization, and widget enhancements. It adds screen-reader support and initial bidirectional/RTL text handling, a new TTK::TOGGLESWITCH widget, and a TK ATTRIBTABLE command. Visual and interaction improvements include revised SEND on Aqua, support for negative screen distances, extended widget states in TTK::TREEVIEW and TTK::NOTEBOOK, better TK_CANVASTEXTINFO, rotated label text, dialog width limited to physical screens, improved listbox selection colors, and removal of obsolete Windows XP appearance code. Source releases are available for download.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.