**Tcl Changes** ***New Backslash Syntax*** * \U''hhhhhhhh'' [http://tip.tcl.tk/388%|%TIP #388] * \x''hh'' limited to at most two digits [http://tip.tcl.tk/388%|%TIP #388] ***Changes to Tcl Commands*** ****New Commands**** * [coroutine] [http://tip.tcl.tk/328%|%Tip #328] * [lmap] [http://tip.tcl.tk/405%|%Tip #405] * [oo::class] [http://tip.tcl.tk/257%|%Tip #257] [http://tip.tcl.tk/320%|%Tip #320] [http://tip.tcl.tk/380%|%Tip #380] [http://tip.tcl.tk/397%|%Tip #397] * [oo::copy] * [oo::define] * [oo::objdefine] * [oo::object] * [tailcall] [http://tip.tcl.tk/327%|%Tip #327] * tcl::[prefix] [http://tip.tcl.tk/195%|%Tip #195] * [throw] * [try] [http://tip.tcl.tk/329%|%Tip #329] * [yield] [http://tip.tcl.tk/328%|%Tip #328] * [yieldto] [http://tip.tcl.tk/396%|%Tip #396] * [zlib] [http://tip.tcl.tk/234%|%Tip #234] [http://tip.tcl.tk/400%|%Tip #400] ****New Subcommands**** * [binary decode] [http://tip.tcl.tk/317%|%Tip #317] * [binary encode] * [chan pipe] [http://tip.tcl.tk/304%|%Tip #304] * [chan pop] [http://tip.tcl.tk/230%|%Tip #230] * [chan push] * [dict map] [http://tip.tcl.tk/405%|%Tip #405] * [file tempfile] [http://tip.tcl.tk/210%|%Tip #210] * [info coroutine] [http://tip.tcl.tk/328%|%Tip #328] * [info object] [http://tip.tcl.tk/354%|%Tip #354] * [info class] [http://tip.tcl.tk/354%|%Tip #354] [http://tip.tcl.tk/381%|%Tip #381] * [info errorstack] [http://tip.tcl.tk/348%|%Tip #348] * [interp cancel] [http://tip.tcl.tk/285%|%Tip #285] * [string is] '''entier''' [http://tip.tcl.tk/395%|%Tip #395] ****Expanded Syntax / New Options**** * [close] ''chan'' '''read'''|'''write''' [http://tip.tcl.tk/332%|%Tip #332] * [dict filter] ''dict type'' ''pattern ...'' [http://tip.tcl.tk/341%|%Tip #341] * [file delete] (''zero pathnames'') [http://tip.tcl.tk/323%|%Tip #323] * [file mkdir] (''zero pathnames'') [http://tip.tcl.tk/323%|%Tip #323] * [format] '''%b''' [http://tip.tcl.tk/343%|%Tip #343] * [glob] (''zero patterns'') [http://tip.tcl.tk/323%|%Tip #323] * [global] (''zero variable names'') [http://tip.tcl.tk/323%|%Tip #323] * [lassign] (''zero variable names'') [http://tip.tcl.tk/323%|%Tip #323] * [linsert] (''zero elements'') [http://tip.tcl.tk/323%|%Tip #323] * [load] '''-global''' '''-lazy''' [http://tip.tcl.tk/416%|%Tip #416] * [lrepeat] (''zero elements; zero repetitions'') [http://tip.tcl.tk/323%|%Tip #323] * [lsearch] '''-bisect''' [http://tip.tcl.tk/313%|%Tip #313] * [lsort] '''-stride''' [http://tip.tcl.tk/326%|%Tip #326] * [namespace ensemble] '''create''' '''-parameters''' [http://tip.tcl.tk/314%|%Tip #314] ? see [ensemble with parameters]. * [namespace upvar] (''zero variable names'') [http://tip.tcl.tk/323%|%Tip #323] * [return] '''-errorstack''' [http://tip.tcl.tk/348%|%Tip #348] * [scan] ''string'' '''%b''' [http://tip.tcl.tk/343%|%Tip #343] * [tcl::tm::path add] (''zero pathnames'') [http://tip.tcl.tk/323%|%Tip #323] * [tcl::tm::path list] [http://tip.tcl.tk/323%|%Tip #323] * [tcl::tm::path remove] (''zero pathnames'') [http://tip.tcl.tk/323%|%Tip #323] * [variable] (''zero variable names'') [http://tip.tcl.tk/323%|%Tip #323] ****New unsupported commands**** * [tcl::unsupported]::[assemble] * [tcl::unsupported]::[inject] * [tcl::unsupported]::[representation] ***Changes to Tcl variables*** ****New global variables**** * [tcl_platform]('''pathSeparator''') [http://tip.tcl.tk/315%|%Tip #315] ***Changed Tcl behavior*** * The following commands are script-modifiable [ensemble]s: [array], [binary], [file], [namespace] * [lset] can now set the element at index '''end+1''', growing the list. [http://tip.tcl.tk/331%|%Tip #331] * [string trim]* now uses a different set of whitespace characters as a default.[http://tip.tcl.tk/318%|%Tip #318] [http://tip.tcl.tk/413%|%Tip #413] * [encoding system] during startup is now '''iso8859-1''', not '''identity'''. * [socket] support for IPv6 addresses [http://tip.tcl.tk/162%|%Tip #162] * [exit] no longer performs full finalization. * Nonblocking channels no longer forced to flush on exit. [http://tip.tcl.tk/398%|%Tip #398] ---- **Tk Changes** ***Changes to Tk Commands*** ****New Commands**** * [ttk::spinbox] * [ttk_vsapi] ****New Subcommands**** * ''[canvas]'' '''moveto''' [http://tip.tcl.tk/236%|%Tip #236] * ''[canvas]'' '''imove''' [http://tip.tcl.tk/97%|%Tip #97] * ''[canvas]'' '''rchars''' * [tk busy] [http://tip.tcl.tk/321%|%Tip #321] * [tk fontchooser] [http://tip.tcl.tk/324%|%Tip #324] ****Expanded Syntax / New Options**** * ''[canvas]'' '''create text''' ... '''-angle''' ''degrees'' [http://tip.tcl.tk/119%|%Tip #119] * ''[text]'' '''configure''' '''-insertunfocussed none'''|'''hollow'''|'''solid''' [http://tip.tcl.tk/197%|%Tip #197] * [image] '''create photo -format png''' [http://tip.tcl.tk/244%|%Tip #244] * ''[treeview]'' '''tag names|add|remove''' * ''[photo]'' '''data -format GIF''' * [wm attributes] '''-type''' [http://tip.tcl.tk/359%|%Tip #359] ***Changed Tk behavior*** * [tk] is a script-modifiable [ensemble]. * [GIF] [photo] [image]s written with [LZW] compression. * [event generate] can now generate '''''' events. * Tk for OS X/Aqua now built on Cocoa libraries. * ''[image]'' '''write -file''' uses file name extension as format hint. * Revised '''''' event handlers. [http://tip.tcl.tk/171%|%Tip #171]. * Color names redefined to match Web conventions [http://tip.tcl.tk/403%|%Tip #403] * X11 menu behavior modernized [http://tip.tcl.tk/360%|%Tip #360] ****New Events**** * <> * <> * <> * <> * <> * <> * <> * <> * <> * <> * <> * <> * <> * <> * <> * <> * <> * <> * <> * <> * <> * <> * <> * <> ---- **Changes to Bundled Packages** ***New packages*** * [Itcl] 4.0.0 [http://tip.tcl.tk/50%|%Tip #50] * [sqlite3] 3.7.14 [http://tip.tcl.tk/376%|%Tip #376] * [tdbc] 1.0.0 [http://tip.tcl.tk/308%|%Tip #308] * [tdbc::mysql] 1.0.0 [http://tip.tcl.tk/308%|%Tip #308] * [tdbc::odbc] 1.0.0 [http://tip.tcl.tk/308%|%Tip #308] * [tdbc::postgres] 1.0.0 [http://tip.tcl.tk/308%|%Tip #308] * [tdbc::sqlite3] 1.0.0 [http://tip.tcl.tk/308%|%Tip #308] * [Thread] 2.7.0 [http://tip.tcl.tk/364%|%Tip #364] ***Updated packages*** * [dde] 1.4.0 [http://tip.tcl.tk/106%|%Tip #106] * [registry] 1.3.0 [http://tip.tcl.tk/362%|%Tip #362] * [http] 2.8.5 * [tcltest] 2.3.5 * [msgcat] 1.5.0 [http://tip.tcl.tk/404%|%Tip #404] ---- See also: * [The major new features of Tcl/Tk 8.6] * [Changes to consider when moving to Tcl 8.6] <> Documentation | Changes in Tcl/Tk