Every gate since 20 Nov 00:38 UTC except one has been stopped mid-link
with "The runner has received a shutdown signal" (exit 143), on main and
on pull requests. Turn on the shared gate's dev-strip input, as photocraft
does, so the ~100 test binaries link without line tables or symbols.
Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The gate's one job builds all 106 test binaries on a 4-CPU, 16 GB runner,
and it is often stopped with exit code 143 ("The runner has received a
shutdown signal") during that build. ci.yml now runs the gate as five
legs:
- Shards 1 to 4 run `cargo xtask ci shard`, which builds and runs the
tests and doctests of its own crates: ui-egui, engine, the apps with
mcp and xtask, and every other crate.
- Shard 5 runs the other `cargo xtask ci` steps.
- On pushes to main, a `cache warm` leg runs `cargo xtask ci warm`,
which builds what every shard builds and saves the dependency cache.
`gate (ubuntu-24.04)` passes only when all five legs passed.
`cargo xtask ci` with no argument runs every step, as before.
`cargo xtask shards` lists each shard's crates. It fails when a crate
named in xtask/src/shards.rs is not a workspace member or is named
twice, and when a crate builds with other features in its shard than in
`cargo test --workspace`. Every shard runs it first. vectorcraft-affinity
and vectorcraft-pdf now turn on `synth` and `read-count` in their own
dev-dependencies, which vectorcraft-engine's dev-dependencies turned on
before. Without that, 39 tests of affinity's `it` binary do not build in
a shard without the engine.
The gate also sets dev-debug "0" and dev-strip: true, so the workspace
crates build without line tables and the test binaries without debug
info or symbols.
The check for every corner being picked now counts every selected path
with corners, including one whose widgets are hidden because its sides
are too short on screen. A click or Shift-click on another path's
widget then keeps or toggles as usual instead of picking that corner
alone and dropping the hidden path's picks.
The docs now state the all-picked exception for a plain click and the
multi-path case for a Shift-click.
Part of #1232. With Direct Selection and some corners picked, the widgets
of the other corners used to hide, so a Shift-click could remove a picked
corner but not add another one. Now every eligible widget shows: a
picked corner's widget has a dot at its center and the others are
hollow.
- A click on a widget that is not picked picks its corner alone. A click
on a picked widget keeps the picks, so Shift-clicking several corners
and then double-clicking one of them opens Corners for all of them. A
Shift-click adds or removes a corner on any selected path and keeps
the other picks; on a path selected whole beside a path with picked
corners it removes that corner (select.anchorsMany, mode toggle).
While every corner of every path is picked, a click or Shift-click
still picks that corner alone, as #6106 made it.
- A drag or Alt-click on a widget that is not picked edits its corner
together with the picked ones, as one undo step, and does not pick it.
A drag on a picked widget edits the picked corners alone.
- Over a widget that is not picked, the end of a selected anchor's
direction handle, or an anchor at least as near to the pointer as
the widget's center, takes the press, the cursor and the
double-click.
Hollow widgets are drawn below the anchors and handles.
- A Shift-click on a rounded corner picked by one of its two anchors
removes the corner instead of swapping that anchor for the other.
- The Selection tool and the shape tools still show and edit the picked
corners' widgets alone, drawn as before. The angle, side length and
Hide Corner Widget rules are unchanged.
Docs: docs/mcp.md, docs/control-protocol.md, docs/target-app-parity.md,
docs/ui-parity.md.
* eps: delegate scene-writer shading, image stream, and line style syntax to craft-ps
* chore(eps): repin craft-ps to merged craft-libs main (cfcc86242)
- eps: restore linear-time memchr::memmem::find in lex::find so
search_in_a_loop_runs_out_of_the_budget does not hit O(N*M) under
craft_ps::read::lex::find.
- ui-egui: wait for FontDb background scan and ensure >20 font families
in menu_access_stationary_pointer_repeat_and_rerun_do_not_retarget_or_double_invoke
so coverage/minimal runners do not race or fall short of 20 families.
A negative tracking candidate for glyphs that do not paint as one object returned the untracked line and discarded the best tracked reading found from an earlier seed. It now skips that candidate and tries the next.
The monitor list for floating panels now carries each monitor's work
area: rcWork from GetMonitorInfo on Windows, and visibleFrame on macOS,
turned into the top-left origin and physical pixels of the monitor's
rect. The work area is converted to points with the same scale and zoom
as the rect, and craft-ui uses it to decide whether a reopened panel's
title bar can be grabbed and where to move it. A work area with no width
or height is left out.
Restoring the main window now keeps it inside its monitor's work area
too, so a window saved at the top edge of a monitor with a taskbar along
its top opens below the taskbar, and a window taller or wider than the
work area is made to fit it, with room for a system title bar and
border when the window has them.
On Windows the panel list stays empty when the monitors have different
scale factors, as before, and a build without the wgpu feature reads no
work areas. Linux and the BSDs keep the whole monitor rect.