Tcl/Tk 8.5.16 发布,更新内容如下: * Many fixes and improvements to Tk on OSX Cocoa and Retina displays. Build support for Xcode 5.1+. * Update to Unicode 7.0. *** POTENTIAL INCOMPATIBILITY *** * Enhancement: %E%G%X support in [scan]. * Enhancement: PPM [$image write] now permits max value of 65535. * Fix: bad components in [$image write] files with transparency. * Fix: [menu] event race that made popup vanish immediately. * Fix: Win: avoid stall in async socket connect. * Fix: Win: readable event on async connect failure. * Fix: combobox invalid state from interactive selection. * Fix: Maintain validity in use of bytearray optimizations. * Workaround: TCL_TEMPLOAD_NO_UNLINK for [load] from kit troubles. * Fixed crashes in... - [dict] bytecode compilers - trace-induced race deleting a command and its import - recursive reflected channel operations - suicidal [close] or [interp delete] in reflected channel ops - unstacking stacked channels in mid-operation. - multi-threaded reflected channel map teardown * Revised refcount usage for Tcl_SetVar*(..,TCL_APPEND_VALUE) *** POTENTIAL INCOMPATIBILITY *** * Stop eof & blocked state leakage through stacked channels *** POTENTIAL INCOMPATIBILITY for channel drivers *** * Tcl_Channel is no longer Tcl_Preserve()-able. *** POTENTIAL INCOMPATIBILITY *** * Fix: channel background flush workaround broken select() syscalls. * Fix: Tcl_CreateNamespace(..., "foo::", ...) deletion failures. * Fix: many [info frame] line number reports. * Fix: Win: avoid serial channel double open; Bluetooth woes. * Fix: Win: no \ in normalized extended paths. * Significant refactoring in I/O core functions. * Win: update sockets implementation to use Winsock 2.2 . * Platform support improvements: Win 8.1, FreeBSD 10.0, HP-UX. * Fix: X: handling of fontconfig dependency in Tk builds. * New package releases: http 2.7.13: Accept upper case schemes in URLs tcltest 2.3.7: cleanup runs before output comparisons platform 1.0.13: Update macosx-* variant compatibilities 同时还发布了 Tcl/Tk 8.6.2,更多内容请看这里,现已提供下载。Tcl/Tk 是一种简明,高效,可移植性好的编程语言。在信息产业领域具有广泛的应用。 Tcl/Tk 的发明人 John Ousterhout 教授在八十年代初,是伯克利大学的教授。在其教学过程中,他发现在集成电路 CAD 设计中,很多时间是花在编程建立测试环境上。并且,环境一旦发生了变化,就要重新修改代码以适应。这种费力而又低效的方法,迫使 Ousterhout 教授力图寻找一种新的编程语言,它即要有好的代码可重用性,又要简单易学,这样就促成了 Tcl (Tool Command Language) 语言的产生。 Tcl 最初的构想的是希望把编程按照基于组件的方法 (component approach),即与其为单个的应用程序编写成百上千行的程序代码,不如寻找一个种方法将程序分割成一个个小的, 具备一定“完整”功能的,可重复使用的组件。这些小的组件小到可以基本满足一些独立的应用程序的需求,其它部分可由这些小的组件功能基础上生成。不同的组件有不同的功能,用于不同的目的。并可为其它的应用程序所利用。当然, 这种语言还要有良好的扩展性, 以便用户为其增添新的功能模块。最后,需要用一种强的,灵活的“胶水”把这些组件“粘”合在一起, 使各个组件之间可互相“通信”,协同工作。程序设计有如拼图游戏一样,这种设计思想与后来的 Java 不谋而合。终于在 1988 年的春天, 这种强大灵活的胶水 - Tcl 语言被发明出来了。 |