The params text of tool.options (in both command catalogs) and
docs/control-protocol.md named the dialogs' keys without saying that
they are the `key` ui.inspect reports. The `dialog` field tool.options
returns holds `rotate`, `scale`, `reflect` or `shear` for the transform
tools, `move` for the selection tools and `command` for the Type on a
Path tools.
- The text names both: the `key` in ui.inspect and the returned
`dialog` field.
- The tool.options test checks the returned `dialog` field against the
params text as well as the key.
- The ui.menuDialog test checks that the Simplify and Smooth popovers
are showing when the params text says those commands show a slider.
The params text of ui.simplifyAuto and ui.smoothAuto (in both command
catalogs) and docs/mcp.md described the Simplify and Smooth sliders as
dialogs `simplifySlider` and `smoothSlider` that ui.dialog.confirm
keeps. The sliders are canvas popovers: ui.inspect does not list them,
and the ui.dialog commands do not control them.
- The text says Enter or a click outside the popover keeps the result,
with one undo step when the paths changed and none otherwise, and
Escape restores the paths.
- The tool.options test compares each tool's dialog key with the key
the params text gives for that tool.
Since the move to the craft UI framework, the dialogs ui.menuDialog
opens report their command id as their `key` in ui.inspect and
ui.dialog, except Transform Each and the envelope dialogs. The params
text, docs/mcp.md and docs/control-protocol.md still named the earlier
kinds (`move`, `scale`, `vectorHalftone`, `rearrangeArtboards`,
`renameArtboards`, `arrangeGrid`, `divideDashes`, `smoothBridge`,
`tangentCircle`, `textTweaker`, `command` and others), which no dialog
reports.
- The params text of ui.menuDialog (and its copy in the MCP catalog)
says the key is the command id and names the four exceptions, and
says Smooth, and Simplify until its dialog keeps its settings, show a
slider rather than a dialog. ui.simplifyAuto and
ui.simplifyMoreOptions name the Simplify dialog's key
`object.path.simplify`.
- The params text of tool.options names the keys of the dialogs the
Rotate, Scale, Reflect, Shear, selection and Type on a Path tools
open: `object.rotate`, `object.scale`, `object.reflect`,
`object.shear`, `object.move` and `type.pathOptions`.
- docs/mcp.md and docs/control-protocol.md name the keys the dialogs
report, Type on a Path Options and Rasterize included.
- Tests open every command the ui.menuDialog params text lists, each of
those tools' options and Simplify's More Options, and check the key
against the params text, and that every key the ui.menuDialog text
names is one a listed command opens.
The Libraries panel accepted a swatch row dragged before File › Revert and added the restored swatch of that name. Membership::grabbed now refuses stale rows, for the hover marker and on release.
A sliver at 0% opacity, or inside a group or layer at 0% opacity, paints
nothing, so Clean Up and Select > Object > Hairline Slivers now skip it.
The params text and docs/mcp.md say so, and docs/mcp.md also names what a
group or compound path used as a clipping path holds among the objects
both commands leave.
#9931 refused an appearance carried across File › Revert. Graphic styles,
brushes, symbols, swatch rows and appearance stack rows had the same fault:
a held drag still resolved a name or id against the restored contents.
- Graphic style, brush, symbol and swatch drags carry the document's revert
count, and the canvas, the panels, the Fill/Stroke wells and the Gradient
slider refuse a drag from before the revert.
- The Brushes panel shows no reorder marker for a stale brush drag.
- docs/mcp.md says which drops File › Revert cancels.
Follows #9931 by @dotCooCoo.
app.redraw() changes nothing, so docs/mcp.md now describes it on its own. The undo step a run
leaves is stated for documents that were open before the run and are still open after it.
main's own indexer tests already check the receiver's and the key's limits.
The progress lines for the ES5 language runs, the ECMAScript 2015
collections and binary data runs, and the generator runs gave counts from
before later changes. On main at 0ac2b74614, cargo xtask test262 reports
4,676 of 4,682 ES5 language runs, 1,514 of 1,514 collection and binary
data runs, and 1,285 of 1,289 generator runs (669 tests) passing. The
generator tests that use classes now parse, so the 4 remaining generator
failures are the caller and arguments restrictions.
In a .js script, `class B extends A { m() { return eval("super.x"); } }`
and `class B extends A { constructor() { eval("super()"); } }` threw a
SyntaxError: eval code was parsed with only `new.target` allowed, never
`super` (ECMA-262 2015 section 18.2.1.1).
Each compiled code now records what `super` and `new.target` may do in
eval code it runs: the rules of its function's body, the rules of the
code around an arrow function, or the rules the eval code itself was read
with. A direct eval parses its code with the caller's rules, so
`super.name` and `super[key]` work inside a method, accessor or class
constructor, and `super(...)` works inside a derived class's
constructor, also from an arrow function or a nested eval there. A plain
function inside a method, the top of a script, an indirect eval and a
`Function` body still give a SyntaxError. `super(...)` in eval code binds
`this` once; a second call is a ReferenceError.
Two tests in es2015_tests.rs cover the allowed and SyntaxError cases and
fail without the change; a third checks that a `Function` body reads its
own `new.target`. docs/mcp.md describes the rule. Follows #9094.