Squeak 6.1
Squeak 6.1
Squeak 6.1 Release Notes
Squeak 6.1 版本说明
These release notes are optimized for viewing inside Squeak, as they contain a lot of interactive examples. On this page, interactive links open in SqueakJS, which is a browser-based Smalltalk VM with some limitations. For the best experience, download Squeak and read the release notes there. 这份版本说明针对在 Squeak 内部查看进行了优化,因为它包含许多交互式示例。在此页面上,交互式链接会在 SqueakJS 中打开,这是一个基于浏览器的 Smalltalk 虚拟机,具有一定的局限性。为了获得最佳体验,请下载 Squeak 并在其中阅读版本说明。
Download Squeak | Try it in browser (SqueakJS) 下载 Squeak | 在浏览器中尝试 (SqueakJS)
*** Squeak 6.1 “Vanessa” Release Notes *** *** Squeak 6.1 “Vanessa” 版本说明 ***
As Squeak approaches its 30th anniversary, we are proud to announce the next version of the system, Squeak 6.1. Some highlights of this release are: 随着 Squeak 即将迎来 30 周年纪念,我们很自豪地宣布该系统的下一个版本:Squeak 6.1。此版本的一些亮点包括:
- A new tree browser, which enables navigation through classes and categories using refurbished hierarchical morphs,
- 一个新的树状浏览器,通过翻新的分层 Morph(图形对象)实现对类和类别的导航;
- The return of Objectland (also known as the “Worlds of Squeak”),
- Objectland(也称为“Squeak 世界”)的回归;
- Several changes and fixes for the kernel infrastructure for simulating, unwinding, and scheduling processes and reshaping classes,
- 对内核基础设施的多项更改和修复,用于模拟、展开、调度进程以及重塑类;
- Miscellaneous improvements and additions to the toolset and user interface for inspecting, debugging, profiling, and versioning code.
- 对用于检查、调试、性能分析和代码版本控制的工具集及用户界面的各种改进和补充。
Please find below a detailed listing of all the changes, which includes notes on Major Deprecations, Known Issues, and Compatibility Notes at the bottom. 请在下方查看所有更改的详细列表,其中包括底部的重大弃用说明、已知问题和兼容性说明。
About these release notes. Phew, what a release! Since the last release 4 years ago, we have merged 1700+ patches with 9000+ method changes. Beyond documenting technical changes in detail, these notes highlight the bigger picture and the overall impact of major developments. Along the way, you will find plenty of links to code pointers and interactive examples. Thus, these release notes serve not only as a changelog but also as a hands-on guide to exploring new features and mechanisms in Squeak. 关于这些版本说明。呼,真是个大版本!自 4 年前的上一个版本发布以来,我们合并了 1700 多个补丁,涉及 9000 多处方法更改。除了详细记录技术变更外,这些说明还强调了宏观背景和重大开发带来的整体影响。在此过程中,您会发现大量指向代码指针和交互式示例的链接。因此,这些版本说明不仅是变更日志,也是探索 Squeak 中新功能和机制的实践指南。
Click here to view an outline of this document. 点击此处查看本文档大纲。
In memory of Vanessa Freudenberg (1972-2025). 纪念 Vanessa Freudenberg (1972-2025)。
Detailed Improvements in Language, Tools, and the Environment
语言、工具和环境的详细改进
~~~ GUI Frameworks ~~~
~~~ GUI 框架 ~~~
Morphic (up to Morphic-ct.2218/MorphicTests-ct.97) Morphic (更新至 Morphic-ct.2218/MorphicTests-ct.97)
-
Major overhaul of tree morphs: Improves colors and mouse and keyboard shortcuts for navigating trees. Revises type-to-filter similar to lists, highlights search terms, and enables searching single columns via [TAB]. Adds a configurable filter mode to search within the current selection, all visible nodes, or the entire tree. Introduces a recursive “find”/“find again” feature available via [CMD] + [F]/[CMD] + [G]. Adds a flag for automatic expansion of trees. Improves support for drag’n’drop by automatically expanding nodes during dragging after one second of hovering. Miscellaneous improvements for layouting, rendering, and event handling in trees.
-
树状 Morph 的重大重构:改进了用于导航树的颜色以及鼠标和键盘快捷键。修改了类似于列表的“输入即过滤”功能,高亮显示搜索词,并支持通过 [TAB] 键搜索单列。增加了可配置的过滤模式,以在当前选择、所有可见节点或整个树中进行搜索。引入了可通过 [CMD] + [F]/[CMD] + [G] 使用的递归“查找”/“再次查找”功能。增加了树自动展开的标志。改进了拖放支持,在拖动过程中悬停一秒后自动展开节点。对树的布局、渲染和事件处理进行了各种改进。
-
In the world, supports dropping of class references, system and method categories, and inspector and explorer fields to display them in a new window/widget.
-
在工作区(World)中,支持拖放类引用、系统和方法类别,以及检查器和资源管理器字段,以便在新的窗口/小部件中显示它们。
-
For mouse interactions, adds new preferences to customize the double-click time and drag thresholds.
-
对于鼠标交互,增加了自定义双击时间和拖动阈值的新首选项。
-
In the docking bar window menu, adds an item to collapse windows. Makes “find workspace” easier to use by expanding the selected window if collapsed. Reorders and decorates items in the help menu.
-
在停靠栏窗口菜单中,添加了折叠窗口的选项。通过在折叠时展开选定窗口,使“查找工作区”更易于使用。重新排序并装饰了帮助菜单中的项目。
-
Text editors: Underlines links (like this one!) during hovering and makes clicking and text selection through them more convenient. When enclosing/unenclosing a selection in single/double quotes, nested quotes are now automatically escaped/unescaped.
-
文本编辑器:在悬停时为链接(比如这个!)添加下划线,并使点击和通过链接进行文本选择更加方便。在用单/双引号括起或取消括起选定内容时,嵌套引号现在会自动转义/反转义。
-
Morphic API: Allows morphs to opt out of individual halo events and to specify a balloon text via a block instead of a selector.
-
Morphic API:允许 Morph 选择退出个别光环(halo)事件,并允许通过代码块(block)而不是选择器(selector)来指定气泡提示文本。
-
Menu construction: Adds new utilities for adding item groups and temporarily switching action targets during construction. #addList: now interprets backslashes in help tuples as line breaks. Automatically trims trailing lines between menu items.
-
菜单构建:增加了用于添加项目组和在构建期间临时切换操作目标的新工具。#addList: 现在将帮助元组中的反斜杠解释为换行符。自动修剪菜单项之间的尾随空行。
-
Revises the debug menus of several morphs by adding a time-profiler shortcut for buttons, providing access to the list and tree contents, and making existing “browse action” and “debug action” commands faster and more reliable.
-
修改了多个 Morph 的调试菜单,为按钮添加了时间分析器快捷方式,提供了对列表和树内容的访问,并使现有的“浏览操作”和“调试操作”命令更快、更可靠。
-
Honors the preference “Open Tools Attached to Mouse Cursor” in Morph>>openAsTool.
-
在 Morph>>openAsTool 中遵循“打开工具时跟随鼠标光标”的首选项。
-
Lots of UI tweaks and stability improvements: Improves theme support for progress bars, text morph menus, and dialog windows. Improves high-DPI support for buttons, scroll panes, sliders, menus, multi-selection lists, trees, drop-shadows, the scratch pad, the keyboard exerciser, and others. Improves multilingual support in different places.
-
大量的 UI 调整和稳定性改进:改进了对进度条、文本 Morph 菜单和对话框窗口的主题支持。改进了对按钮、滚动窗格、滑块、菜单、多选列表、树、投影、便笺簿、键盘练习器等的高 DPI 支持。在不同位置改进了多语言支持。
-
Fixes slips regarding the world display depth menu, clock configuration changes, search-bar print-its, project view morph styling, and transcript counting. Fixes an issue when profiling code where user events were swallowed. Several layouting fixes regarding proportional layouts, text morphs, scroll panes, and transformation morphs. Fixes rendering issues with transform morphs, polygons, multi-selection lists, and trees. Fixes scrolling in nested scroll panes.
-
修复了关于工作区显示深度菜单、时钟配置更改、搜索栏打印输出、项目视图 Morph 样式和 Transcript 计数的疏漏。修复了代码分析时用户事件被吞掉的问题。修复了关于比例布局、文本 Morph、滚动窗格和变换 Morph 的多个布局问题。修复了变换 Morph、多边形、多选列表和树的渲染问题。修复了嵌套滚动窗格中的滚动问题。
-
In text morphs, improves stability of text selection and tweaks indentation regarding empty and blank lines. Fixes “browse senders” of true, false, and nil, adds missing access to workspace bindings during accept-its, and improves robustness of editor history. Fixes bugs in construction of text containers and conversion of paragraphs to texts.
-
在文本 Morph 中,提高了文本选择的稳定性,并调整了关于空行和空白行的缩进。修复了 true、false 和 nil 的“浏览发送者”功能,添加了在接受输入时对工作区绑定的缺失访问权限,并提高了编辑器历史记录的健壮性。修复了文本容器构建和段落转换为文本时的错误。
-
In lists, fixes automatic selection before dragging an item. Fixes incorrect yellow-button menu invocation on buttons and lists. Fixes a bug during menu construction, which depended on uninitialized state. Fixes scaling of color forms. Fixes introspection of event handlers in morph meta-menus. Improves compatibility between old and new balloon morphs.
-
在列表中,修复了拖动项目前的自动选择问题。修复了按钮和列表上错误的黄键菜单调用。修复了菜单构建期间依赖未初始化状态的错误。修复了颜色形状(Color Forms)的缩放。修复了 Morph 元菜单中事件处理程序的内省功能。改进了旧版和新版气泡 Morph 之间的兼容性。
-
Fixes a remarkable slip that (1) prevented collapsed windows from applying a new UI theme and (2) introduced a possibly significant memory leak of windows. Fixes an issue on macOS where calling the VM with additional command line arguments or plugging in external devices led to an incorrect “The VM is configured as a singleton application” warning. Improves stability and backward compatibility when loading morphs from files. Fixes cross-compatibility and concurrency issues with.
-
修复了一个显著的疏漏,该疏漏 (1) 阻止了折叠窗口应用新的 UI 主题,以及 (2) 引入了可能严重的窗口内存泄漏。修复了 macOS 上在调用虚拟机时使用额外命令行参数或插入外部设备导致错误的“虚拟机被配置为单例应用程序”警告的问题。提高了从文件加载 Morph 时的稳定性和向后兼容性。修复了交叉兼容性和并发性问题。