file.print with maxPages flattened every raster effect in the document
before it counted the pages, so a job it then turned away still paid
for rendering each effect. The page count from the artboards now runs
first, on the artboards alone, and raster effects are flattened only
for a job that fits.
Follows up on #9087.
The dialog passes `digits` to the command only while Leading Zeros and
Fixed Number of Digits are both on, but the Digits field followed Fixed
Number of Digits alone. With Fixed Number of Digits on and Leading Zeros
then turned off, Digits still took input that the command never got.
Digits now also needs Leading Zeros. Follows #10448.
A script that set PrintColorManagementOptions.colorProfileMode to
CUSTOMPROFILE and assigned no name printed with the base settings'
profile, as though no custom profile had been asked for. The job now
throws before anything is written, as it does for an empty name.
Follows up on #9087.
Retracing or regenerating such a group replaced its parts and lost marks placed among them. Graph series, graph design copies, type outlines, clipping pieces and Live Paint gap groups are handled the same way.
A dimension's update replaces its parts, so marks inside it were lost. The help and docs also say a selected compound path member is marked as the whole compound path.
In a pixel document, or with Units set to Pixels, the root `width` and
`height` were rounded to the chosen decimals, so a size below half the
last decimal place was written as 0 while the `viewBox` kept a positive
value. Both now keep enough digits to stay positive, and sizes that need
more than 14 decimal places are written in scientific notation, so two
tiny sides keep their proportions.
Mark Bounds of Each placed the marks of a selected blend key, compound
shape operand or other part of a live object directly above that part,
inside the live object, so a blend gained a key and a compound shape an
operand. The marks now go above the outermost live object that holds the
part, as they already did for clip groups and clipping sublayers. In
isolation mode, an object whose marks would go outside the isolated art
is refused with no undo step.
Follows up #10148.
Placement Options checked the document and its reverts before OK, but not
Undo or Redo. After undoing the place of the image it opened on, a new
image can take the same id, and OK then changed that image's Placement
Options. OK now refuses after an Undo or Redo in the opening document, as
Create Object Mosaic does, and asks to reopen the dialog.
The guard was missing since the dialog started applying to the images it
opened on (62199b98b3).
- move, remove() and zOrder throw "Only Image Trace can make a tracing",
with nothing changed, when they would leave an image at the bottom of
an ordinary group named Image Trace: a path moved out of the group or
to its top, Send to Back or Send Backward on the image, and Bring to
Front or Bring Forward on the object below it.
- releaseTracing() throws "Cannot release a tracing containing added
artwork", with nothing changed, when the tracing holds an object its
trace did not make. imageTrace.release keeps only the source image, so
the added object would be deleted.
- The TracingOptions members with no setting and TracingObject.areaCount
are left out of hasOwnProperty and reflect. Reading them still throws.
Docs: docs/mcp.md.
Resolve the docs/ui-parity.md conflict by taking main's tables and adding the Headless column to every Summary and behaviour table again (365 rows, all unknown); counts in the Headless section updated.
- never-run: in changed mode, a file that a crate target loaded at the
base and no target loads now counts as compiled out, so removing the
last `mod` or `#[path]` declaration on the way to it, or deleting the
only target root that loads it, fails the check for its tests.
- reads-source: an `ends_with(".rs")` check counts only when it picks
entries from a file listing (an iterator filter or a `for` loop over
one), or when the function around it reads a file or calls a function
in the file that does. A suffix check on a generated name in a test
that reads nothing is not reported.
- census: a helper on the left of an `||` hides the whole-table check on
the right only when it always runs: not behind an `&&`, and not inside
one arm of an `if` or `match`.
- docs: unchanged-line `never-run` hits fail the command when the change
takes away a test's last CI route.
- A for-in loop now records, for each proxy whose ownKeys trap it called,
the positions of the names that proxy returned, and asks a proxy for a
name's descriptor only when that proxy listed the name. A proxy that did
not list a name no longer hides an inherited one, and the proxy that did
is still asked after a prototype change moves it on the chain. The
records keep their proxies reachable and count against the heap limit.
- The check before each name walks own properties object by object, so a
typed array without the element a name gives no longer hides that name
on its prototypes.
- Function.prototype.apply reads the list's length with ToLength in a run
with the ES2015 option, so a negative length gives no arguments; other
runs keep ToUint32.
- Docs: typeof on a revoked proxy does not throw, and a setPrototypeOf
trap that returns true may leave the prototype unchanged.