The reader also counts pattern brushes, a pen's included, whose bitmap
it could not read, so the warning now says "image or pattern brush".
The document.open and clipboard.importEmf params text, docs/mcp.md and
the crate doc list the new warnings. A WMF test covers an unreadable
pattern brush and a DSTINVERT bit block transfer.
craft-metafile now reports what it does not read or play as the file
asks. The importer uses it:
- A file, or a metafile image inside it, cut short by any of the
reader's limits (items, bytes kept, saved states, clip paths) warns
that what came after the limit was not read. The warning no longer
depends on the count of objects, so a file with exactly 200,000
objects opens without it.
- Images that are not read, clips that are not applied and raster
operations other than a plain copy each add a warning with a count.
A PDF, or a `.ai` read through its PDF part, was refused when one image
would decode to more than 1 GB, and the shared reader skipped images of
more than 2^28 pixels. On a 64-bit desktop build both limits are now 4 GB
and 2^30 pixels (`image_limits`), which `MAX_IMAGE_DECODED` and
`open_options()` share; 32-bit and web builds keep 1 GB and 2^28 pixels.
An image past the limit is refused with the same message.
An opaque image is encoded as an RGB PNG from its decoded samples instead
of building an alpha channel and an RGBA copy first.
Docs: docs/target-app-parity.md.
Part of #4366.
The helper that waits for an offered release's prompt now observes
every repaint request on its context, and ticks after each immediate
one until the prompt opens. An earlier immediate request on the same
context no longer hides the offer thread's request.
craft-update now reads the installed files for an offered release on
a thread of its own, and the prompt opens at a later tick. The tests
that open the prompt through an offer wait for that thread's repaint
request and tick once, and the startup prompt test uses an isolated
updater.
Every storytold/craft-libs git dependency, the hayro, krilla and
linesweeper patches and the web app's craft-web-api now use one
revision, 64b181977a, so Cargo.lock holds one copy of each craft-libs
crate. craft-ui's docking Monitor has a new work_area field; the
monitors VectorCraft lists set it to None, as winit reports no work
area.