A block's symbol was looked up by its scale alone, so a placement whose
art the nesting limit cut short, or that left out a block placing one of
its ancestors, could hand that shortened art to a complete placement at
the same scale. The symbol key now also holds the depth where the
block's art reaches the nesting limit (counted under the ancestors it
places) and the ancestors it places within that limit.
The scale scan reuses a "yes" only while none of the blocks it went
into to reach the dashes is an ancestor, and keeps up to four of them;
it checks anonymous blocks with everything they inherit, as they are
drawn. Inserts on hidden layers are not followed. The new shape checks
have an import-wide work budget and a memory budget.
The lint leg's dependency cache keeps no compiled workspace crates, so on
a pull request `cargo test -p vectorcraft-ui-egui --no-default-features
--test install_fonts` rebuilt every workspace crate without the bundled
fonts: 35 of the lint leg's 60 minutes, and the longest leg of the run.
`cargo xtask ci` splits its no-bundled-fonts step in two. The
`no-bundled-fonts` step (the `cargo tree` checks and the clippy run
without default features) stays in `cargo xtask ci checks`. The new
`no-bundled-fonts-tests` step runs the two tests, and the new
`cargo xtask ci after-archive` runs it after the doctests in the gate's
build job, whose rolling cache entry keeps the workspace crates. The
tests' builds record their units in CRAFT_CACHE_UNITS, so the cache trim
keeps the crates built without the fonts.
The CMYK fields of a script's picker now convert through the CMYK profile
of the script's document whenever one is given, not only in a CMYK
document, matching the gamut warning. An RGB color opens through the
active RGB profile, which the picker's RGB fields read its channel values
in, so the opening swatch and the fields agree. docs/mcp.md names the
profiles the picker uses.
File > Open refuses an RTF file that ends inside a group as damaged
instead of opening the text read before the end; File > Place still
places that text. Binary data and bytes after the document's closing
brace are skipped, as the reader skips them.
Text Import Options for a file File > Open asks about now waits while
any dialog is open, as Missing Fonts does, so the two never show at
once.
The File > Open filter test uses the extensions and formats this build
reads, so it holds where no DWG decoder is built in.
docs/mcp.md's Width profiles section says which commands the footer's
Add to Profiles, Delete Profile and Reset Profiles run, and the
progress doc gets a line for the footer with its tests.
The Gujarati status notes now give the catalog's real counts: 4,946 `@msg`
rows and 10,890 rows in all, and the revision rows give 4,926 new message
rows. They also say that a web build offers Gujarati only when it is built
with `CRAFT_FONTS_DIR` pointing at a craft-fonts checkout that has Noto Sans
Gujarati; without it `offered_codes` leaves `gu` out on the web.
docs/development.md no longer says a missing translation never fails a test.
It names the four tests that need a row in every complete catalog or every
`COMPLETE_MESSAGES` language.
SonarCloud ran a full instrumented analysis for every merge commit on main
(about 90 a day, 97 to 191 minutes each). Stage 2 only reads the analysis
of the commit the nightly builds, so main is now analyzed once a day:
- sonarcloud.yml drops the push trigger and starts when the unsigned
nightly starts (workflow_run, requested). A first job fails the run when
main has moved past the nightly's commit, so the analysis is never of
another commit. Pull request analysis is unchanged.
- nightly-dispatch.yml waits, for up to 280 minutes, for the SonarCloud
check on the producer's commit to complete before it dispatches the
signer. A SonarCloud run that ended without a check stops the wait after
20 minutes. The job gains checks: read and a 300-minute timeout.
- packaging/nightly-release-tests.py runs the dispatch script against a
fake API: it dispatches only after the check completes, and refuses when
the SonarCloud run ended without one or when the deadline passes.
- docs/nightly-release-preparation.md describes both workflows.
A .txt, .rtf, .docx or .doc file that starts with a PDF header (%PDF-
and a version such as 1.7) or an Affinity signature opens as that
format again, as it did before File > Open read text documents, and
File > Open asks no Text Import Options for it. A plain text note that
only starts with "%PDF" or "<svg" still opens as text.
Docs: docs/mcp.md (open_file), open_file's description.
Window › Swatch Strip shows a None chip and then the document's color
swatches as a row of chips that wraps to the panel's room and scrolls
when the chips do not fit. Docked on the window's bottom edge the chips
run across in one line; in a dock column or a narrow floating window
they run down it. Gradient and pattern swatches are left out.
A click on a chip sets the fill (paint.setFill) and a right-click or an
Alt-click sets the stroke (paint.setStroke). Both pass focus: false, so
the active Fill or Stroke proxy stays as it was.
- window.panel {panel: "swatchStrip"} shows the panel, and
window.panel.dock with placement {"Edge": "Bottom"} beside the canvas
docks it along the bottom edge.
- The Swatches panel's shown() is shared so the strip draws a spot
color the way its art shows it.
Docs: docs/control-protocol.md, ROADMAP.
Fixes#10951
With an add-on dialog previewing (Arrange in Grid, for example),
File > Place ran inside the preview's interaction, because every
`file.*` command other than `file.documentColorMode` was treated as one
that reads the drawing on show. The placed art went into the preview
document with no undo step of its own, and Cancel removed it.
`file.place` now runs on the document without the preview, as other
edits do: it records its own undo step and stays after Cancel and OK.
Save, Export, Copy and the other `file.*` commands still act on the
drawing as the preview shows it.
Docs: docs/mcp.md (undo/redo row).
Takes main's craft-libs rev 4f3e34d0dd. Character Style Options and Paragraph Style Options canvas support and their two tests move to #10953, which waits on storytold/craft-libs#5510.
craft-i18n's digit table (ZEROS in crates/i18n/src/number.rs) lists the
decimal digit sets of Unicode 16.0, so a digit added in a later Unicode
version is not read. docs/mcp.md, the Number input section of
docs/localization-parity.md, its revision row and the doc comments in
crates/doc/src/units.rs now say Unicode 16 decimal digits.