The render crate's placed-document tests decided results by wall-clock
time:
- The gate that holds the background worker opened by itself after 10 s,
so a test that forgot to open it still passed. It is now a mutex and a
condition variable with no time limit, opened when the guard that
shut_gate returns is dropped (also when the test fails).
- settle polled busy() every 5 ms for up to 10 s. It now waits on
placed_document::wait_idle, which a condition variable signals when
the last pending bitmap is finished.
- The self-placing document test asserted that drawing took under 10 s.
It now asserts how deep the drawing went (at least 2 levels, at most
MAX_DEPTH), read from a test-only counter kept by the depth guard.
The integration binary from #8826 draws the Links panel's Location case in
French and German, and in an integration binary the UI language is one
value for the whole process. Under `cargo test`, which runs the cases on
threads of one process, the other five cases drew frames in French or
German, or reset the language to English under the Location case. Taps
then missed the moved readouts, and two cases failed on each run (on the
Location case and on the first-click copy cases). nextest runs each case
in its own process, so CI passed them.
Each App now holds the same language guard as control_bar_corners.rs and
selection_tools_toggle.rs: the cases run one at a time and the previous
language comes back when the app drops.
A 1-bit image mask opens as a grayscale image of black and white pixels
colorized by its fill color. The PDF export wrote it as its ink with the
pixels as an 8-bit soft mask and /Interpolate true on both. A RIP that
honors /Interpolate smooths the mask and grays its edges, so where the
same mask is drawn over itself in another ink, as separated garment art
stacks its plates, the ink below shows along every edge. The file's own
PDF part and the EPS export keep the mask hard.
A colorized image whose coverage is only 0 or 255 (the test the
Monochrome compression settings already use, now
`images::bilevel_coverage`) is written without /Interpolate. Grayscale
images keep it. krilla has no 1-bit soft mask or /ImageMask, so the
mask stays 8-bit and just isn't smoothed.
The pixelated colorized image test now uses gray pixels, since a
black-and-white image no longer asks for smoothing whether or not it is
pixelated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Three tests in crates/engine/src/tests/fontlist.rs read the process-wide
font database twice while other tests in the same binary add fonts and
composite fonts to it. A font added between the two reads made the
lists differ, and the installed-family filter did not hide it, because
fonts added with `add_font` count as installed. A stress run of the
engine's font tests failed 4 times in 60.
The font list, Show Similar Fonts and Refresh Font List tests now hold
`test_fonts::steady_fonts` across their reads, as the font menu's tests
do, and compare whole lists. The installed-family filter and the 20-try
generation loop are removed.
The styles that link type's colors to their swatches were made before
the writer knew whether the type's story would be written. Type written
as its outlines after all (a thread the text document can't hold) left
its style behind, named by nothing. Such a style is now written only
when a story names it.
Since the previous commit they are written on a large canvas too,
where no other art style is: they hold no lengths to scale. The large
canvas warning now says "no art styles of objects", the comment beside
it says why, and the large canvas test (renamed) checks that spot type
there reads back linked with no warning.
A note on the previous commit's message: "the saved file opened with
the type in a plain process color" is only true when the saved file is
read from its editing data (another app, or VectorCraft once the
VectorCraft document it carries no longer matches its pages). A plain
reopen in VectorCraft restores that document and already kept the ink.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The canvas's frame key holds the loaded profiles' generation
(cms::profiles_generation), which every profile load or removal in the
process raises. Four ui-egui tests loaded and removed a profile in the
shared test process, so a canvas test running beside them saw its color
key change between two frames:
a_worker_frame_of_other_color_settings_is_not_shown saw the generation go
from 0 to 2, and a_pan_after_the_settling_frame_copies did not copy the
pan because its key no longer matched the kept frame. Both fail in the
same way when a profile is loaded and removed on another thread in the
middle of the test.
- testing::in_own_process runs one test alone in a child test process,
as the crate's other tests that change process-wide color state
already do.
- The color wheel gamut reload test, the two Proof Setup tests with a
removed profile and the Save PDF summary test with a removed profile
call it first.
Type in a spot ink or a global process color was saved to the text
document as its process values alone (a /SimplePaint with key 0), so
the saved file opened with the type in a plain process color: off its
ink's plate on separations, and white type in a white ink on none.
Saving warned about it ("swatch links of its colors").
A run's fill or stroke now names (key 5 of a /CAITextPaint) an art
style of one paint, its fill alone on (`0 1 Xd`), whose paint is the
color as a path's fill writes it (`x`, `Xx`, `Xk`, or `Xs` for
Registration). That is the form the .ai reader takes the ink and the
tint from since the previous change; key 0 keeps the process values.
Each style is read back with the reader's own parser before it is
used, and a link is kept only when it gives the same swatch and tint.
Those runs no longer count among the attributes of type left out;
a link to a process swatch that isn't global still does, and the
warning's text now says so.
Test in crates/eps/src/ai_editing/tests.rs. The parity doc has the row.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The color a one-paint style holds for type was kept whenever its last
paint was a fill color with a swatch. A stroke color set before the
fill's still linked the type, and the style's `Xd` wasn't looked at, so
a style with its fill off gave its color too.
The style now holds the color only when its `Xd` turns on the fill
alone (`0 1 Xd`) and nothing sets a stroke's color or pattern, before
or after the fill's. No file I have writes a style any other way, so
this changes no real file; the pattern a style holds for type is read
as before.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* ci: notify artcraft-services on release state changes
* notify-services: pass only the dispatch token to the shared workflow
secrets: inherit handed every repository and organization secret
(including signing credentials) to an unpinned @main workflow. The
reusable workflow only needs ARTCRAFT_SERVICES_DISPATCH_TOKEN, so
forward just that.
---------
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
Resolve the docs history-table conflicts after #9002: keep both sides'
rows, newest first (the G13 2026-11-21 row now sits below main's
2026-11-23 row), and take main's Last reviewed banner in gaps.md,
roadmap.md, target-app-parity.md and ui-parity.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
FredApps's merge of main changed the Last reviewed banners; the reviewer
asked for main's banners, so the docs keep upstream/main's banner lines
and both sides' history rows.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Type set in a spot ink or a global process color opened as a plain
process color: right on screen, but on separations it printed on the
process plates, and white type in a white ink on none.
In the text document a character's fill or stroke is a color (key 0)
and the name of an art style (key 5). For a color with a swatch, key 0
keeps only its process values at its tint; the name and the tint are in
the style, a style of one paint (`c m y k (name) tint x`, `Xx`, `Xk`),
always its fill's, for a stroke too. The reader took key 0 alone.
The style reader now keeps that paint (`ArtStyle::simple_color`), the
way it already keeps a one-paint style's pattern, and the type takes it
in place of key 0's color: the color at its tint, linked to its swatch.
The styles' named colors make their swatches with the art's (after the
art's colors, before the header's custom colors), so type and art in
one ink share a swatch, and a color that takes a free name is linked by
that name. Registration is linked to the built-in swatch.
`Texts::with_patterns` and the fields beside it are renamed to
`with_paints`, since they now hold both.
Tests in crates/eps/src/import/tests_native.rs, ate.rs and
ai/style/tests.rs. The parity doc has the row.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Random drew a separate share for the horizontal and the vertical scale,
so the same scale on both sides still came out uneven. Equal scales now
take one share; the five draws stay, so a seed keeps its moves and angle.
The area pass normalizes every closed path's geometry, and the Document
Info panel fetches `document.info` again after each edit. A request now
skips the pass (`pathArea` null) when its category is not `objects` or
it passes `pathArea: false`, and the panel asks for the area only while
it shows Objects or All Categories (the cache key records which).
Tests: the engine gives no area for another category or with
`pathArea: false`, and the panel's result has no area while another
category is shown, edits included. Docs: gaps, parity and mcp rows.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The popover stays open when its gradient returns to a paint it owned
before, so that Undo and Redo of its own edits keep it open. A gradient
set from elsewhere with the same value as one of those paints also kept
it open, and its pending edit then applied to the replacement. The
popover now accepts an earlier paint only when the document's Undo and
Redo count changed since its last pass.
The popover kept the paints it owned before each change, at most 32.
Every changed frame of a live color drag added one, so after 32 frames
the paint before the drag was dropped, and Undo of the drag closed the
popover. Each kept paint now carries the history step it was current
at. Undo and Redo return only to the first or the last paints of one
step, so the frames of a drag between them replace each other.
After Undo back to an earlier stop, the paints the popover left were
kept under the restored stop instead of the stop they belonged to. When
a stop had crossed its neighbor, Redo with the neighbor selected then
kept the popover open on the neighbor. They are now kept under the stop
the popover edited before the Undo.
The stop popover closes when its gradient changes from outside, so that
its edits never reach a replacement gradient. Its Color mode menu runs
the mode command outside the popover's per-frame update, so the
converted stop looked like an outside change and the popover closed.
Undo and Redo of the popover's own edits closed it the same way. Two
gradient_stop_color_mode_menu tests failed on main for this reason.
- A mode command from the popover's menu counts as the popover's edit
when the next history step lands. When the Color panel shows the
picked mode and no step follows, the pick changed nothing and the
exemption ends.
- The popover keeps the paints it owned before its later edits, each
with the stop or point it edited then. Undo or Redo back to one of
them keeps it open only on that same stop or point.
- A gradient from anywhere else still closes the popover.
Docs conflicts: main's "Last updated" banner; both sides' evidence and
history rows, newest first.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>