Commit Graph
23685 Commits
Author SHA1 Message Date
.CooCoo b4fbaf9826 Merge pull request #9819 from dotCooCoo/fix/single-instance-test-handshakes
Single instance: hand-off tests no longer depend on how fast the machine is
2026-11-27 21:38:30 -08:00
.CooCoo 54432ad724 Merge pull request #9818 from dotCooCoo/fix/fold-preview-print-handshake
Fold Preview: time the print's settle wait on the app clock
2026-11-27 21:38:19 -08:00
.CooCoo 94fa38479f Merge pull request #9861 from dotCooCoo/fix/pdf-import-work-counters
PDF import: complexity tests count the work done instead of timing it
2026-11-27 21:38:07 -08:00
.CooCoo a7fb3792db Merge pull request #9858 from dotCooCoo/fix/cad-import-work-counts
DXF import: the symbol-name and layout tests count the work instead of timing it
2026-11-27 21:37:51 -08:00
.CooCoo a628629f7d Merge pull request #9857 from dotCooCoo/fix/file-locks-unlock-on-drop
Locks: dropping a lock holder unlocks its file
2026-11-27 21:37:36 -08:00
.CooCoo 2cabf8ddd6 Merge pull request #9854 from dotCooCoo/fix/cms-scoped-working-settings
Color: with_active keeps the working settings on its thread too
2026-11-27 21:37:24 -08:00
.CooCoo 61f41edbc3 Merge pull request #9851 from dotCooCoo/fix/complexity-tests-count-work
Tests: complexity tests in effects, brush, tools and trace count work instead of timing it
2026-11-27 21:37:11 -08:00
dotCooCoo 3b69123a52 Swatches: the Swatch Libraries menu fits its rows like the other library menus
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.
2026-11-27 21:36:58 -08:00
.CooCoo 4947e21b65 Merge pull request #9843 from dotCooCoo/fix/text-tests-no-wall-clock
Tests: text tests count work and wait on handshakes instead of the clock
2026-11-27 21:36:58 -08:00
.CooCoo 990637f30d Merge pull request #9839 from dotCooCoo/fix/plugins-tests-without-timing
Plug-ins: loader, registry and dialog tests wait on handshakes instead of spin counts
2026-11-27 21:36:45 -08:00
ruchirguitarandClaude Opus 5.5 1b18ab3a37 Language packs: a script cannot run the proof commands
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>
2026-11-28 11:06:36 +05:30
.CooCoo 0b07f8b0bd Merge pull request #9842 from dotCooCoo/fix/screenshot-test-app-clock
Tests: the screenshot trial steps the app's clock instead of the wall clock
2026-11-27 21:36:16 -08:00
.CooCoo 8529caaba7 Merge pull request #9855 from dotCooCoo/fix/dimension-preview-bounds-group-edges
Dimension: Linear points snap onto preview bounds edges, groups and stroked type
2026-11-27 21:36:07 -08:00
.CooCoo 77a609eed6 Merge pull request #9820 from dotCooCoo/chore/craft-libs-pin-51fcc3b0
Dependencies: take every craft-libs crate from craft-libs main at 51fcc3b041
2026-11-27 21:35:36 -08:00
dotCooCoo f5afa74f1f Contextual Task Bar: the Smooth tool's Fidelity label is framework Text on its field's row
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:".
2026-11-27 21:32:50 -08:00
dotCooCoo 37bce8954e 3D: the light color and the custom shading color show color swatches
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.
2026-11-27 21:27:19 -08:00
dotCooCoo 74f5b8c1bd Nightly: a session that fails to start unlocks its lease
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.
2026-11-27 21:25:32 -08:00
.CooCoo 2fcaec65e8 Merge pull request #9817 from dotCooCoo/chore/ci-cache-workspace-crates
CI: the gate keeps the compiled workspace crates between runs
2026-11-27 21:24:28 -08:00
.CooCoo 35e192f177 Merge pull request #9836 from dotCooCoo/chore/wasmi-2-0-3
Plug-ins: a multi-value br_table gives every target its values (wasmi 2.0.3)
2026-11-27 21:15:11 -08:00
.CooCoo 3737ccdc9a Merge pull request #9838 from dotCooCoo/fix/script-folder-scan-clock
Scripts: folder listings take their time limit from the session's clock
2026-11-27 21:14:30 -08:00
.CooCoo 7c67dfb344 Merge pull request #9815 from dotCooCoo/fix/clipboard-test-handshakes
Clipboard: tests wait for each read's answer instead of a time limit
2026-11-27 21:13:49 -08:00
.CooCoo dd6a8b6123 Merge pull request #9834 from dotCooCoo/fix/plugins-abi-tests-no-wall-clock
Plug-ins: hostile, time budget and cancel tests check errors, not elapsed time
2026-11-27 21:13:04 -08:00
dotCooCoo f8550c578b New Document profiles: keep overrides and kept graph designs when loading defaults
- 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.
2026-11-27 21:09:13 -08:00
dotCooCoo 41706a3867 Plug-ins: a plug-in that fails to load is listed and can be retried
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.
2026-11-27 21:06:29 -08:00
dotCooCoo 5df004faff CI: the cold cache clear fails when the warm leg's save does not finish
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.
2026-11-27 20:58:32 -08:00
dotCooCoo 931c67c49c Preserve exact-size Place drag boxes 2026-11-27 20:48:07 -08:00
dotCooCoo 0fa7225b24 Keep Recolor cancellation across preview updates 2026-11-27 20:27:05 -08:00
dotCooCoo 5134c83a1c Scripts: the prototype-write test fails when a write to PathItem.prototype succeeds
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.
2026-11-27 20:23:26 -08:00
dotCooCoo b73f28dc71 Effects: bounds hold the dot a closed lone anchor draws
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.
2026-11-27 20:21:07 -08:00
BFlat edc4fe00fa Merge pull request #9716 from dotCooCoo/fix/graph-design-manager-draft-drawing
Keep Graph Design manager edits with their drawing
2026-11-28 11:20:47 +07:00
BFlat 783f541183 Merge pull request #9715 from dotCooCoo/fix/placement-preserve-translations
Translate Preserve choices in Placement Options
2026-11-28 11:20:33 +07:00
dotCooCoo 90b632da06 Edit: Copy in a floating window copies the art while a label elsewhere has text selected
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.
2026-11-27 20:20:18 -08:00
BFlat adc4ec0e66 Merge pull request #9714 from dotCooCoo/fix/color-themes-commit-choices
Color Themes: apply dropdown changes only on commit
2026-11-28 11:20:18 +07:00
BFlat 7ee99a0ef0 Merge pull request #9713 from dotCooCoo/fix/text-import-options-after-accepted-place-mac2
Remember Text Import settings after Place accepts
2026-11-28 11:20:04 +07:00
BFlat ba613b1167 Merge pull request #9711 from dotCooCoo/fix/arrange-tools-hosted-form-edits
Apply edited settings in the Arrange add-on dialogs
2026-11-28 11:19:50 +07:00
BFlat 54a3e18cf9 Merge pull request #9710 from dotCooCoo/fix/xmp-property-read-fuel
Charge fuel before reading XMP property values
2026-11-28 11:19:37 +07:00
BFlat e5f02d3220 Merge pull request #9709 from dotCooCoo/fix/variable-drafts-after-file-revert
Require fresh Variable and Data Set edits after File Revert
2026-11-28 11:19:25 +07:00
BFlat b6ae850283 Merge pull request #9706 from dotCooCoo/fix/swatch-legend-live-form-fields
Apply live Create Swatch Legend settings
2026-11-28 11:19:11 +07:00
BFlat 29860cebec Merge pull request #9702 from dotCooCoo/fix/new-toolbar-typed-name
Show and apply names in New Toolbar
2026-11-28 11:18:57 +07:00
BFlat cd4dfe2d63 Merge pull request #9657 from dotCooCoo/fix/blend-options-opening-drawing
Keep Blend Options previews and approval on their opening drawing
2026-11-28 11:18:44 +07:00
BFlat e548209fca Merge pull request #9626 from dotCooCoo/fix/standalone-effect-opening-drawing
Keep standalone effect edits in their opening drawing
2026-11-28 11:18:28 +07:00
BFlat 2257e51824 Merge pull request #9625 from dotCooCoo/fix/graphic-style-options-refusal-locale
Localize Graphic Style Options duplicate-name feedback
2026-11-28 11:18:13 +07:00
BFlat f59a5a1892 Merge pull request #9621 from dotCooCoo/fix/panel-artwork-drop-file-revert
Reject panel artwork drags started before File Revert
2026-11-28 11:18:00 +07:00
dotCooCoo 7b0a60be9b Tests: vectorcraft-eps turns on its work-count feature in its own tests
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.
2026-11-27 20:17:41 -08:00
BFlat 46e9359bea Merge pull request #9509 from dotCooCoo/fix/transform-each-opening-document
Keep Transform Each in its opening document
2026-11-28 11:17:31 +07:00
BFlat fca7b7811d Merge pull request #9489 from dotCooCoo/fix/ui-slice-dialog-selection
Keep Slice Options and Divide Slices on the original selection
2026-11-28 11:17:12 +07:00
dotCooCoo 8ff8dbefc6 Scripts: DocumentPreset settings refuse a value of the wrong kind or size
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.
2026-11-27 20:16:03 -08:00
dotCooCoo 130bb35fce EPS import: measuring an image's data left out charges one operation per 16 bytes
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.
2026-11-27 20:15:49 -08:00
BFlat 3db1b3c96a Merge pull request #9660 from makesomethingshit/fix/7872-convex-inside-bevel
3D: Keep inside bevels within collapsing convex outlines
2026-11-28 11:13:55 +07:00
BFlat 1bc87afc7b Merge pull request #9796 from jmverges/fix/ai-save-type-spot-ink
.ai save: type in a spot ink keeps its swatch link
2026-11-28 11:12:55 +07:00