- Flood Fill Artboards is disabled, and refused, while a symbol or a
pattern is edited, so the rectangles never land in a definition.
- Params that are not an object or null are refused, also when an
action.batch step is checked before it runs.
- The dialog keeps OK off, with a reason, when Current Fill is chosen
and there is no current fill.
- With New Art Has Basic Appearance off and nothing selected, a paint
preview that is replaced or canceled puts back the starting paints,
so two paint.swap previews commit one swap, while a preview that
takes its paints from new art it selected is tracked on its own.
- The dialog's OK button stays off, with a reason, when the layer name
matches a top-level layer that holds a clipping mask, which the
command refuses.
- A batch step takes the live fill, so paint.setFill followed by Flood
Fill Artboards in one command.batch uses the new fill.
- The OK check counts at most 255 characters after trimming, the same
limit the command applies.
- A color component too large for f32 (c: 1e308, [1e39, 0, 0], gray or
Lab out of range) read as infinite and reached the rectangles; the
command now refuses it with "bad color".
- The dialog's Color option opened on the current fill in display sRGB
and sent it as working RGB, so a document whose working RGB space is
not sRGB got a shifted color. The dialog now opens on the fill's
display color and converts the picked color back to working RGB.
- With New Art Has Basic Appearance off and nothing selected, a
previewed color gave the new rectangles' fill to the new-art paints,
and Cancel or a replaced preview kept it. Both now put back the paints
the interaction began with.
Docs: docs/mcp.md.
Object > Plug-ins > Document Tools > Flood Fill Artboards... opens a dialog
that previews on the canvas and, on OK, runs the new command
addon.document.floodFillArtboards as one undo step. The command adds an
editable rectangle exactly the size of the active artboard, of listed
artboards or of every artboard, painted with the current fill or a given
color and no stroke. The rectangles go on top of a top-level layer named
"Flood Fill" (or the name given), which is made at the bottom of the
layers when the document has none. A layer that already exists keeps its
lock and visibility, and the current layer stays as it was.
Every given value is checked: null, wrong types, an empty or too long
layer name, a color with alpha, unknown artboards, and artboards together
with all are errors. A current fill of None without a color is an error.
In a preview, the current fill is the one the preview began with.
Docs: docs/mcp.md, ROADMAP.
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.