The Swatches panel's footer menu set a 200 pt minimum width on the rows
it showed, so it was 8 pt wider than a swatch library panel's menu with
the same rows. The framework menu now sizes it to its rows. A test
opens both menus and compares their widths.
A script's rollback cannot put back what proof.installPack, proof.removePack
and proof.packs {refresh: true} write to or delete from the font store the
Craft apps share, and in the desktop app an install keeps running after the
run ends. refused_to_scripts now refuses the proof. prefix, as plugin_call
does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The bar drew the "Fidelity:" label with a raw egui label. In a test
fixture with a 700-point canvas, that label took 688 points of height in
the bar's row, its text was drawn 332 points below the Fidelity field's
value, and the access tree had no node for it. It is now the framework's
Text, which draws it on one line on the field's baseline and gives it a
label node named "Fidelity:".
The Color row of a light in 3D and Materials and the custom Shading
Color row of 3D (Classic) drew a text button with the color's hex code.
Both now draw the framework Swatch with the color, as the other
dialogs' color rows do. A click opens the color picker as before.
Session::begin locked the lease and could then return an error while
checking or writing the record, before a Session existed. On those
paths the lease file was dropped without unlocking, so a child process
that was starting kept the lock held.
The lock now lives in a Lease guard that unlocks on drop, and it covers
the ended session and both error paths. New tests hold a copy of the
handle while the record path is a folder and while the record cannot be
written.
- Redefining a text style keeps text with its own value of an attribute the
old definition did not set. Only text that still had the value it had
under the old definition (Normal's, or the default when Normal itself is
redefined) takes the new one. Leadings that Block gave the text still
follow the style.
- Use Profile Defaults and Load Character Styles draw the graphs in the
symbols they add with the document's own graph design of that name, as
Paste does.
- file.newProfiles commands say their name is a built-in category of
file.newPresets, and Use Profile Defaults records no undo step when the
document does not change.
A stored plug-in that didn't install, for example because its load
panicked or its module is broken, was only written to the log. The
person could not see it or load it again without restarting.
- plugin.list gains failed: [{file, error, from}], the plug-in files
that didn't load in this process: those of the Plug-ins folder, and
those the folder report of the Additional Plug-ins Folder (or the
folder plugin.reload loaded last) lists as failed. Disabled plug-ins,
files turned off since they failed, and modules skipped because
another install or removal of their id came first are left out. A
file that both loads list is listed once, as a stored file. A
plugin.reload replaces only the folder's rows. Installing or removing
a plug-in whose module is in a stored file that failed, or a later
load that installs it, takes the file off the list.
- plugin.retry {file?} loads one of those files again, or all of them,
with the same checks as the load it failed in, and reports for each
whether this retry installed it. A folder file's row in the folder
report moves to loaded or keeps its new error. Under automation read
roots, a file outside them is not read again, its row stays listed,
and the reply names it and its folder by their names. Safe Mode
returns an error.
- plugin.setEnabled {file} also takes the name failed gives a file
outside the read roots.
- Object › Plug-ins › Plug-ins That Didn't Load… lists the files with
why; Retry All loads them again under the read roots the list opened
under, and the status bar says how many loaded. The item is disabled
while nothing failed.
- A command.batch that runs a filter and then retries a module with
its id turns Apply Last Filter off, as a reinstall does.
Docs: docs/plugins.md (Plug-ins that didn't load), docs/mcp.md.
scripts/ci-clear-rolling-cache.py deletes the old rolling entries when
the cache warm leg's Post Setup step starts. It used to exit 0 at that
point, so a save that was canceled or failed afterwards left no rolling
entry while the job passed. The script now keeps polling the leg until
Post Setup completes or the leg ends, within the same 160-minute limit,
and exits 1 unless the save succeeded. A failure in a later post step
does not count once the save has succeeded. The header and the ci.yml
comment describe this, and say that the next run then starts cold.
Three new tests run main() with recorded API answers: a save that
succeeds after the deletion exits 0, and a save that is canceled or
fails after it exits 1.
prototype_changes_cannot_forge_a_page_item stored both caught error
messages in one variable, so when the second write stopped throwing, the
variable still held the first message and the assertion still passed.
Each try block now logs its own outcome.
A round or projecting cap draws a dot for a closed subpath of one anchor.
The bounds the effects are measured by left that dot out: the visual and
cull bounds, the box Rasterize makes its image over, and the reach of an
effected path's raster effects. A path of only lone anchors was measured
at the origin.
- `vectorcraft_geom::path::drawn_curve_bounds` measures a kurbo path as
`PathData::drawn_bounds` measures the anchors it stands for.
- `crates/render/src/fx` measures effected paths with it, and a path that
draws nothing by its anchors, as `Node::visual_bounds` does.
- A stroke measured along its segments (miter and bevel joins, projecting
caps) gives the dot of a closed lone anchor its reach.
With text selected in a label of one window, Copy or Cut pressed in the OS
window of a floating panel, a floating toolbar or a floating document did
nothing. The key stage leaves Copy and Cut to the labels while any window
holds a label selection, and only the main window's pass ran the command
on the art when its labels copied nothing.
Each of those OS windows now hands its Copy or Cut to the labels in its own
pass the same way, so the command runs on the selected art in the next pass
when no label of that window copies text. A label selected in the same
window still copies its text.
The test shards' feature check (`cargo xtask ci shard`) stopped every
shard before any test ran: "vectorcraft-eps: features [] in shard 4,
[work-count] with the whole workspace". Only vectorcraft-engine's
dev-dependencies turned the feature on, and shard 4 tests
vectorcraft-eps without vectorcraft-engine. vectorcraft-eps now turns
it on in its own dev-dependencies, as vectorcraft-pdf does for
read-count, so it builds with the same features in its shard as in the
whole workspace.
Assigning a DocumentPreset setting stored any value until the run ended,
and the value was checked only when addDocument read it. A script could
keep gigabytes of strings in presets that no addDocument would accept.
The setter now checks the value before storing it: a value of the
setting's enumeration, a finite number, a title of at most 4096 bytes,
true or false for documentBleedLink, or four finite numbers for
documentBleedOffsetRect. undefined unsets any setting, and the three
settings addDocument does not apply yet also take null. A value of
another kind throws a TypeError, a longer title throws a RangeError, and
the setting keeps its old value. addDocument still checks the ranges.
Measuring the data of an image too large to hold charged one operation
per 256 decoded bytes. A program that measures the same 300 MiB of
compressed zeros in a loop decoded about 22.8 GB, about 72 passes,
before its budget ran out, and the reading took about 55 s.
measuring_data_too_large_to_hold_in_a_loop_runs_out_of_the_budget took
58 s alone and failed its 300 s guard in a loaded full test run.
Measuring now charges one operation per 16 decoded bytes, and stops at
what the budget still pays for at that rate. A program's budget grows by
64 operations per byte, so one image compressed up to 1024 to 1 is still
measured within what its own bytes add. The loop now runs out of the
budget in its fifth pass, and the test takes 3.6 s.
The test also checks how much was measured: more than one pass and at
most five. With the old rate it fails with 22781165568 bytes measured.