Commit Graph
23613 Commits
Author SHA1 Message Date
dotCooCoo 45b0cb12f0 Docs: three-d.md matches what main ships
Graphics map onto Inflate's puffed front and back (#7767), so the
unbuilt list no longer names graphics on Inflate and the Graphics
sentence names Inflate's faces. The 3D (Classic) effects export as
meshes through Asset Export (#6168, #7852), so only Turntable stays
named as unbuilt there.
2026-11-29 18:39:59 -08:00
.CooCoo 4f95a30c98 Images: a selected image's color mode is read from its file header (#10167) 2026-11-30 09:22:52 +07:00
.CooCoo c767960328 Merge pull request #10136 from dotCooCoo/fix/plugin-test-held-load-handshake
Tests: a held stored load waits for the test instead of a yield count
2026-11-29 18:21:32 -08:00
.CooCoo ff60b8078d Merge pull request #10132 from dotCooCoo/fix/speed-object-move-large-doc
Performance: an edit skips unchanged objects without reading them
2026-11-29 18:21:16 -08:00
.CooCoo b4f0a7f838 Merge pull request #10122 from dotCooCoo/fix/3d-depth-rows-document-unit
3D: depth, bevel and offset fields show the document's unit
2026-11-29 18:20:59 -08:00
.CooCoo 8fe7aff22e Merge pull request #10120 from dotCooCoo/fix/missing-fonts-check-once
Missing Fonts: the frame after an open lists a document's missing fonts once
2026-11-29 18:20:43 -08:00
.CooCoo b59b1e2190 Merge pull request #10115 from dotCooCoo/fix/hit-cull-reach-plain-paths
Performance: a hover reads each plain path's effects once
2026-11-29 18:20:26 -08:00
.CooCoo cdc14eb007 Merge pull request #10072 from dotCooCoo/feat/match-objects-to-key
Arrange Tools: Match Objects gives the others the key object's size, angle and stacking place
2026-11-29 16:30:42 -08:00
dotCooCoo d82a022446 Merge main into feat/match-objects-to-key 2026-11-29 15:41:29 -08:00
dotCooCoo 2960e55b6c Match Objects: a stacking match keeps clipping paths and settles Intertwine groups
Merging main made DIALOGS one entry short: Offset Objects and Match Objects
both joined it, so vectorcraft-ui-egui did not compile. The table now
declares seven entries.

A stacking match moved a clipping path out of its clip position and could
move a member out of an Intertwine group with its old overlap tiers. It now
refuses to move a clipping path, refuses a destination that would nest
Intertwine art, and clears the tiers of members that leave their group.

A stacking or rotate-only match no longer needs bounds on the source. A
size match measures each target after it is sized and turned, in its final
frame, and is refused when a target can't take the requested size, instead
of reporting success with the size unchanged. A target with no bounds that
needs to turn is refused.
2026-11-29 15:40:43 -08:00
dotCooCoo f11aac5aaa Merge main into feat/match-objects-to-key 2026-11-29 15:00:53 -08:00
.CooCoo f4d422e470 Merge pull request #10093 from dotCooCoo/ci/workspace-manifest-warnings
Build: the workspace manifest prints no unused-dependency or unused-patch warnings
v0.24.1-nightly.20261129.46324597378.1.gf4d422e4709b
2026-11-29 14:32:24 -08:00
FredApps 76948614e2 Merge pull request #10125 from storytold/fix/web-binaryen-133
Pin Binaryen 133 for the web release optimizer
2026-11-29 23:26:12 +01:00
dotCooCoo 867a6788e4 Tests: a held stored load waits for the test instead of a yield count
HeldLoad in the plug-in tests held a stored module's load for at most
1,000,000 yield_now calls and then let it go on its own. On a busy test
host that limit passed before the test released it, so the held file
loaded early: a_grant_given_elsewhere_since_the_load_removed_one_is_kept
and a_stored_module_without_permissions_ends_its_grant_when_it_installs
failed in a full engine run and passed alone.

- The hook now waits on a condition variable that release() and the
  drop set. A load that runs on the test's own thread is not held and
  sets gave_up, so a load that is no longer in the background still
  fails the test instead of hanging it.
- stored_plugins_load_without_holding_the_plugin_changes_lock waited at
  most 100,000 yields for the plug-in changes lock to be free; it now
  waits until it is free.
- canceled_loads_forget_the_grants_of_what_they_installed releases the
  held load before canceling, since cancel waits for a running load up
  to its 10 second deadline.
- a_query_runs_while_the_plugins_load checks which commands wait for
  the loads before it runs document.info.
2026-11-29 14:04:17 -08:00
dotCooCoo d2210d1508 Merge main into ci/workspace-manifest-warnings 2026-11-29 14:01:35 -08:00
dotCooCoo 97566860ec Merge main into feat/match-objects-to-key
# Conflicts:
#	ROADMAP.md
#	crates/engine/src/cmd/plugin_call/reviewed.rs
#	crates/ui-egui/src/addons/arrange.rs
#	docs/mcp.md
2026-11-29 13:57:34 -08:00
dotCooCoo 42bd1ffdfc Merge main into fix/speed-object-move-large-doc 2026-11-29 13:03:13 -08:00
dotCooCoo aaa54f1307 Performance: an edit skips unchanged objects without reading them
After every edit, the pixel grid, color mask, Objects on Path, Shaper and
symbol instance passes, and the inline graphics refresh, pair each object
with its counterpart from before the edit. Each pass read both objects to
compare their ids before it found that they were the same node, so moving
one object in a layer of 20,000 objects read all of them in four passes.
The color mask pass is new since v0.24.1, and object.move became slower
than in that release.

The new vectorcraft_doc::changed_nodes does the pairing for all six. An
object that is the same node at the same position is skipped by a pointer
comparison; only changed and new objects are looked up by id.

object.move of one rectangle in a document of 20,000 objects, release
build, median CPU time of 2,000 moves: main 1.25 ms, this change 1.08 ms,
v0.24.1 1.06 ms. The passes' share of the move went from about 30% to 5%
in a profile.
2026-11-29 13:03:07 -08:00
Dylan M. Taylor a3b93d585b ci(sonarcloud): give each main commit its own concurrency group (#10126) 2026-11-29 15:57:37 -05:00
dotCooCoo 2bfa6fc9cf Merge main into fix/3d-depth-rows-document-unit 2026-11-29 12:57:09 -08:00
dotCooCoo b893f05f61 3D: Map Art X and Y keep the points a document unit converts to
Typing 10 into X in a millimeters document stored 28.35 pt instead of
28.3464567 pt, because the X and Y setters rounded to two point
decimals. They now only clamp. The flat view also wrote the map back
through the box on every frame, rounding the offsets again; it now
writes the map only when the box was edited.
2026-11-29 12:57:08 -08:00
.CooCoo 4e6d3d0f8e Merge pull request #10119 from dotCooCoo/fix/global-edit-preview-cache
Global Edit: the canvas shares the kept outlines instead of copying them each frame
2026-11-29 12:53:25 -08:00
.CooCoo 429d60a341 Merge pull request #10117 from dotCooCoo/fix/status-bar-wheel-rebuild
Status bar: scrolling the view no longer lays out the zoom and artboard controls again
2026-11-29 12:53:07 -08:00
.CooCoo 7d717b6318 Merge pull request #10103 from dotCooCoo/fix/tools-footer-scrolls
Tools: the controls under the tools scroll with them in a short window
2026-11-29 12:52:49 -08:00
Codex c3c8a0a17a Pin Binaryen 133 for the web release optimizer 2026-11-29 21:28:17 +01:00
FredApps f1335a5f19 Merge pull request #10098 from storytold/chore/free-macos-release-runner
CI: use the standard macOS runner for releases
2026-11-29 21:23:53 +01:00
FredApps 3ef21dcb09 Merge pull request #10100 from storytold/chore/release-0.25.0
Release: VectorCraft v0.25.0
2026-11-29 21:23:48 +01:00
.CooCoo d7a83d8b12 Merge pull request #10114 from dotCooCoo/fix/craft-libs-radio-rows
Tests: Save options radios start in the control column
2026-11-29 12:10:40 -08:00
.CooCoo a59ef7479a Merge pull request #10108 from dotCooCoo/fix/type-editor-single-pass
Type: an edit runs each idle and typing frame once
2026-11-29 12:10:23 -08:00
dotCooCoo fb199e5d96 Merge main into fix/3d-depth-rows-document-unit 2026-11-29 11:53:58 -08:00
dotCooCoo 4f6eb4b36d 3D: depth, bevel and offset fields show the document's unit
Extrude & Bevel's Depth and bevel Width and Height, Revolve's Offset,
the classic Extrude & Bevel and Revolve rows, and the Map Art X and Y
rows showed points in a document set to millimeters, inches or another
unit. Each row now goes through Param::length, so its field shows and
reads the document's unit while the effect keeps points. The rows set
no decimals, so a typed 10 mm is kept unrounded and Up steps by the
shown unit's own step.
2026-11-29 11:53:39 -08:00
dotCooCoo 214c88d985 Tools: the controls under the tools scroll with them, as bottom_controls says
The doc comment on bottom_controls still said the tools scroll above the controls in a short rail. The Tools panel's rail now uses footer_scrolls, so the controls scroll with the tools and the rail draws the rule above them.
2026-11-29 11:45:44 -08:00
dotCooCoo 340edf90b2 Merge main into fix/missing-fonts-check-once 2026-11-29 11:42:08 -08:00
dotCooCoo c7487a4657 Missing Fonts: the frame after an open lists a document's missing fonts once
The frame after a document opens checked whether its Missing Fonts dialog
waits by building the whole dialog (opening::may_switch), and the dialog
pump then built it again to open it. Each build walked the document's type
and resolved every font it names: 6.5 ms over the two calls at 20,000
objects.

The rows are now kept in CanvasCache::missing_fonts for the document's
content version and the font database's generation, the same key Type ›
Find Font's cache uses, and both calls read them. An edit or a font that
loads while the dialog waits makes the next call list the fonts again. The
Fonts folder next to the document is still looked up when the dialog opens.
Rows are dropped once their document no longer waits.

text.missingFonts's answer is unchanged; its rows and its folder are now
two engine functions, missing_font_rows and fonts_next_to_document.

Tests count the row lists (one for the check and the open together) and
check that a document edited while its dialog waits lists its new font.
2026-11-29 11:42:07 -08:00
dotCooCoo dd8c06017b Merge main into fix/hit-cull-reach-plain-paths 2026-11-29 11:41:18 -08:00
dotCooCoo 7e5d8d368c Merge main into fix/global-edit-preview-cache 2026-11-29 11:36:55 -08:00
dotCooCoo 3617039ef5 Global Edit: the canvas shares the kept outlines instead of copying them each frame
With one object selected and the Selection tool active, or while Global
Edit is on, every frame copied each highlighted outline out of the kept
list and made one overlay per object, which the canvas flattened and
stroked again. With 10,000 matching objects that was most of a 27 ms
frame.

highlights and similar now return the kept outlines as a shared
Highlights, grouped by layer color with a revision that changes only when
the outlines are found again. The session sends one Overlay::Outlines per
color, and the canvas shows it as a SelectionOutline keyed by that
revision, so the lines are stroked again only when the outlines or the
view change.
2026-11-29 11:36:48 -08:00
.CooCoo da9c3947e2 Dialogs: style options dialogs keep their tab through the framework (#10109)
craft-libs 186a229c8d holds storytold/craft-libs#4261, so a properties
dialog keeps its bound tab when a measuring frame ends before its body
runs. The style_dialog! wrapper no longer saves and restores the tab
around that frame for Character Style Options, Paragraph Style Options
and New Character Style or New Paragraph Style.

New tests open Character Style Options on Advanced Character Formats,
New Character Style on Character Color, and Document Setup on
Transparency, Type and Color, and check that each tab is still shown
after the first frames. With craft-libs before that change they fail
with the dialog back on General.
2026-11-29 14:34:41 -05:00
dotCooCoo 0a5d81ed00 Merge main into fix/tools-footer-scrolls 2026-11-29 11:28:45 -08:00
.CooCoo 1772dfcce3 Merge pull request #10107 from dotCooCoo/fix/control-bounds-flat-walk
Performance: paths keep their control-point box, so a hover reads no anchors
2026-11-29 11:26:32 -08:00
.CooCoo 02dd9f3fd0 Merge pull request #10106 from dotCooCoo/fix/stroke-host-labels
Stroke: Cap, Corner, Align Stroke and Miter Limit line up with the panel rows
2026-11-29 11:26:16 -08:00
.CooCoo ed097438f0 Merge pull request #10102 from dotCooCoo/fix/new-document-card-tiles
New Document: preset cards rest on a tile
2026-11-29 11:25:59 -08:00
.CooCoo 0a572454c9 Merge pull request #10101 from dotCooCoo/fix/doc-info-image-trace-shared-layout
Panels: Document Info rows and Image Trace Create use the shared row and check box layouts
2026-11-29 11:25:43 -08:00
.CooCoo 3b90e54a61 Merge pull request #10099 from dotCooCoo/fix/rail-footer-divider
Tools: the rail shows one rule above the controls under the tools
2026-11-29 11:25:27 -08:00
.CooCoo 0e8ae4d52b Merge pull request #10097 from dotCooCoo/fix/hit-test-one-walk
Selection: a click or hover that hits nothing walks the document once
2026-11-29 11:25:11 -08:00
.CooCoo 73d7bd813a Merge pull request #10096 from dotCooCoo/fix/drop-floated-from-icons
Docking: drop the icon-column float workaround now that craft-libs expands it
2026-11-29 11:24:53 -08:00
dotCooCoo 4b908d9416 Merge main into fix/status-bar-wheel-rebuild 2026-11-29 11:24:49 -08:00
dotCooCoo 9f7501a8f6 Status bar: scrolling the view no longer lays out the zoom and artboard controls again
The status bar's Zoom field, Zoom Presets menu, Rotation menu and artboard
navigator were one memoized view keyed on the whole canvas view, so every
frame of a wheel pan changed the key and ran all four again. The Zoom field
reads only the view's zoom, and the status bar reads only the zoom of the
view the field commits.

- The Zoom field and Zoom Presets menu are their own memoized view, keyed on
  the zoom instead of the canvas view, so a pan replays them.
- The Rotation menu and the artboard navigator are a second memoized view, so
  a zoom change runs only the zoom controls.

The new test counts the runs of each view over ten pan frames and four zoom
changes; before the change the pan ran the navigation controls ten times.
2026-11-29 11:24:48 -08:00
dotCooCoo 65ebc72ec4 Performance: a hover reads each plain path's effects once
The culling box of every path a click or hover passes asked whether the
path draws geometry effects by reading its effects twice: once on the
path itself, and again in the walk of the path and what it holds, which
starts at the path. The walk alone now answers, so a hover over many
plain paths reads half as much.

The walk also stops at the first object with an effect, for drawn art
and for a clipping path's region, instead of visiting every member of a
large compound path or group after the answer is known.
2026-11-29 11:22:27 -08:00
.CooCoo 52de8120d3 Merge pull request #10105 from dotCooCoo/fix/script-dom-path-edits
Scripts: point removals keep the selection, new-art defaults and batching right
2026-11-29 10:58:53 -08:00