Commit Graph
7393 Commits
Author SHA1 Message Date
dotCooCoo cef8a6d897 Plug-ins: background loads check stored files and ids again before they install
- A stored module's file is read again on its worker thread once the module
  has loaded, whatever the file's modified time, and the install still skips
  a file whose stamp changed since. The UI thread no longer reads the file.
- Stored and folder modules install through registry::install_for_load,
  which checks for an install or removal of the id elsewhere while the
  plug-ins' write lock is held, and records the module's grant in the same
  step. A grant is forgotten only while the plug-in that took that revision
  is still installed (registry::revoke_if_installed).
- A grant that a stored load removed and must put back for a later file is
  written to grants.json first; when that write fails, the module is not
  installed, and a grant put back for a module that then did not install is
  removed again.
- A folder load in which a file found no loader thread is loaded again the
  next time the preferences are applied. A plugin.reload keeps its report as
  the folder last loaded only when no load started after it.
- Loads: a job's time is read while it is marked finished, the deadline check
  reads the clock under the same lock, and only the jobs taken from the queue
  fail when no worker is left. wait() counts outcomes taken with ready() as
  released, so the jobs after them start.
- File › Open checks the path again after waiting for the plug-in loads.
- Tests wait for workers with bounded receives.
2026-11-24 09:27:50 -08:00
dotCooCoo f8bbfae755 Plug-ins: a stored file whose read fails gives back its share of the store's bytes
- crates/engine/src/store.rs: each stored plug-in's load reports how
  much of its file it read. What a failed read did not read goes back to
  the 512 MiB the stored plug-ins may read together, on every platform;
  the permission check before the loads is removed. A file that what is
  left does not cover, but would if earlier reads failed, waits until
  those reads are done, so the files still install in file-name order.
  Disabled files and file stamps are taken once, when the store is
  listed. A file's content is compared with its loaded module at install
  only when the file was modified less than 2 s before the store was
  listed; the clock is read only when a file was listed. A grant the load
  removed goes back for a later file with the same id only when the
  grants file has no entry for the id, and each install turn reads the
  grants file once. At quit, a stored load takes no locks and a folder
  load does not wait for the store's turn or for another window that is
  changing the plug-ins.
- crates/engine/src/cmd/plugin.rs and crates/plugins/src/registry.rs:
  when a folder load turns off the file of a plug-in disabled by its id,
  the disabled list is saved in the same install turn, not only when the
  load ends. A change made in another window while the folder is being
  listed is one the load does not undo.
- crates/ui-egui: an export and File > Open install the plug-ins still
  loading before they look up the formats, and a control request waiting
  for the loads no longer asks for a frame of its own.
- crates/engine/src/file_access.rs: `ScopeHandle::capture` is as on
  `main` again. The new `ScopeHandle::capture_now` keeps the process's
  automation roots in force at capture time, and only the Additional
  Plug-ins Folder's per-file check uses it.
- New tests: a stored file replaced with one of the same length and
  modified time while it loaded is skipped; another window's
  `plugin.list` reports a folder still loading as loading; a grant given
  elsewhere after the load removed one is kept.
- docs/plugins.md: a module whose read and load take 10 s or longer is
  skipped also when it would have finished later, and at quit the app
  waits for the modules already loading, for at most 10 s. File > Open
  waits for the loads. The Loading
  paragraph and the docs/mcp.md lines are rewrapped.
2026-11-22 03:25:30 -08:00
dotCooCoo 1b29256601 Plug-ins: stored and folder plug-ins load on worker threads while the window shows
At launch the desktop app loaded every stored plug-in and every module in
the Additional Plug-ins Folder on the UI thread before the window
appeared, one after the other. A slow or panicking module held up or
ended startup.

- crates/plugins/src/loader.rs (new): `Loads` runs load jobs on up to
  four threads. Each job runs inside `catch_unwind`; a panic or a load
  that takes 10 s or longer fails that job alone, and the others go on.
  Outcomes come back in job order.
- registry::FolderLoad and store::StoredLoad list in one step, load on
  the workers and install in file-name order. A module whose id was
  installed or removed in another window while it loaded is skipped.
- The desktop app loads in the background only during launch; frames
  install the finished loads. Plug-in commands, commands that edit,
  exports, control requests and files opened at launch wait for the
  loads first; view commands and queries do not.
- The launch marker names every plug-in still loading, not only the
  oldest. After a launch that stopped during the loads, the Safe Mode
  choice lists all of them, and Disable Listed Plug-ins and Continue
  turns them all off. `plugin.safeMode` adds `pendingItems`. A module
  whose load panicked is no longer named.

Docs: docs/plugins.md, docs/mcp.md.
2026-11-21 19:09:18 -08:00
bflatastic baa6e46658 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-21 00:18:52 +07:00
bflatastic 8a4f750d4e Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/target-app-parity.md
2026-11-21 00:00:27 +07:00
BFlat 8ae8169846 Merge pull request #8842 from storytold/train/carry8644
Fix #8639: target circles ignore Ctrl/Cmd-click and Shift-click ranges that layer names honor (#8644)
2026-11-20 23:59:46 +07:00
bflatastic cc0f98ed6a Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 23:46:03 +07:00
ruchirguitar ae21438d48 G12: add Asset Export tile context menus 2026-11-20 22:15:57 +05:30
ruchirguitar edf4e97959 Text styles panel: add item right-click context menu (Options, Duplicate, Delete, Redefine) (#8745)
* Text styles panel: add item right-click context menu (Options, Duplicate, Delete, Redefine)

* fix(text-styles): require text target for clear overrides and update parity docs
2026-11-20 23:43:35 +07:00
ruchirguitar 0b57d2233b Properties panel: add contextual Quick Actions for text (Create Outlines, Retype, Find and Replace) (#8778)
* Properties panel: add contextual Quick Actions for text (Create Outlines, Retype, Find and Replace)

* Properties panel: address review comments on Retype reveal idempotency, test assertions and parity docs
2026-11-20 23:43:09 +07:00
bflatastic e1aa78590a Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/target-app-parity.md
2026-11-20 23:41:24 +07:00
ruchirguitar bffbb1493d Appearance panel: address CodeRabbit review feedback
- Forward secondary clicks on name label links for stroke/fill and effect rows
- Enable Reduce to Basic Appearance when any selected subject needs reduction (including compound path children)
- Add headless regression tests for label context clicks and multi-selection reduction
- Update M14 roadmap entry and UI parity evidence, and clean conflict markers in ui-parity.md
2026-11-20 21:53:59 +05:30
ruchirguitar 05709aa624 Appearance panel: add row context menu (Duplicate, Delete, Hide/Show, Edit Effect, Clear Appearance) 2026-11-20 21:53:58 +05:30
ruchirguitar eca3bb5d0e Actions panel: add context menu for action sets and actions (Play, Duplicate, Delete, Options, Batch) (#8815) 2026-11-20 23:07:41 +07:00
BFlat 3f7620e00b test: compare the cut tests' documents without their creation stamps (#8836) 2026-11-20 21:11:52 +07:00
aa78136bbf test: name the menu-access fixture fonts in 13 bytes (#8833)
#8813 tops up the font list with fonts renamed `Menu Test Font NN` on runners
with 20 or fewer families, but vectorcraft_testkit::fonts::renamed only takes
a 13-byte family (the length of "Source Sans 3"). Every run that reaches the
loop panics, as the coverage shard on main does. `Menu Test FNN` is 13 bytes.

Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: BFlat <bombayapirat@gmail.com>
2026-11-20 20:54:22 +07:00
Dylan M. Taylor 2848526796 fix: resolve two coverage test failures on main (#8813)
- 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.
2026-11-20 02:32:03 -05:00
BFlat e34c9198dd Merge pull request #8757 from Hassan1305/fix-8711-layers-target-ring
Layers: keep the targeted ring visible around the appearance dot (#8711)
2026-11-20 07:16:03 +07:00
BFlat b9227b0b7c Merge pull request #8756 from storytold/train/carry8336
Symbols: Add original Nature Icons library (#8336)
2026-11-20 07:10:55 +07:00
BFlat 5efe19e7c5 Merge pull request #8782 from storytold/train/carry8001
Fill Area: a click adds a path of the enclosed area and keeps the paths around it (#8001)
2026-11-20 07:00:48 +07:00
bflatastic b95ff44c06 Merge main into #8336
# Conflicts:
#	crates/ui-egui/src/i18n/bg.tsv
#	crates/ui-egui/src/i18n/bs.tsv
#	crates/ui-egui/src/i18n/ca.tsv
#	crates/ui-egui/src/i18n/cs.tsv
#	crates/ui-egui/src/i18n/da.tsv
#	crates/ui-egui/src/i18n/de.tsv
#	crates/ui-egui/src/i18n/el.tsv
#	crates/ui-egui/src/i18n/es.tsv
#	crates/ui-egui/src/i18n/fi.tsv
#	crates/ui-egui/src/i18n/fr.tsv
#	crates/ui-egui/src/i18n/gu.tsv
#	crates/ui-egui/src/i18n/hi.tsv
#	crates/ui-egui/src/i18n/hu.tsv
#	crates/ui-egui/src/i18n/id.tsv
#	crates/ui-egui/src/i18n/it.tsv
#	crates/ui-egui/src/i18n/ja.tsv
#	crates/ui-egui/src/i18n/ka.tsv
#	crates/ui-egui/src/i18n/ko.tsv
#	crates/ui-egui/src/i18n/nl.tsv
#	crates/ui-egui/src/i18n/pl.tsv
#	crates/ui-egui/src/i18n/pt-br.tsv
#	crates/ui-egui/src/i18n/ru.tsv
#	crates/ui-egui/src/i18n/sv.tsv
#	crates/ui-egui/src/i18n/tr.tsv
#	crates/ui-egui/src/i18n/uk.tsv
#	crates/ui-egui/src/i18n/vi.tsv
#	crates/ui-egui/src/i18n/zh-hans.tsv
#	crates/ui-egui/src/i18n/zh-hant.tsv
2026-11-20 06:59:22 +07:00
BFlat 9d0ae305d6 Merge pull request #8730 from storytold/train/carry8383
Brushes: Add original Ornamental library (#8383)
2026-11-20 06:22:11 +07:00
bflatastic aa853ad275 Merge main into #8741
# Conflicts:
#	docs/effects-parity.md
#	docs/three-d.md
2026-11-20 06:07:45 +07:00
HassanKhan c5a6971dfb Merge storytold/main (d38e414b77) into fix-8711-layers-target-ring
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 03:56:17 +05:00
bflatastic 0810ac5b87 Merge remote-tracking branch 'origin/main' into fix/8001
# Conflicts:
#	crates/mcp/src/ui_catalog.rs
#	crates/ui-egui/src/menus/ui_commands.rs
#	docs/roadmap.md
2026-11-20 05:47:07 +07:00
bflatastic 864ef2f200 Merge main into #8763
# Conflicts:
#	docs/target-app-parity.md
2026-11-20 05:45:14 +07:00
BFlat 190375c76c Merge pull request #7760 from dotCooCoo/feat/graph-designs-from-other-document
Graphs: graph designs come in from another document
2026-11-20 05:44:33 +07:00
BFlat 4df756cc9a Merge pull request #8719 from Hassan1305/feat-8363-trim-view-guides
View: Trim View hides the guides and the grid while it is on (#8363)
2026-11-20 05:38:32 +07:00
BFlat fe8bcec1e4 Merge pull request #8716 from storytold/train/carry7112
Image Trace: Edit › Tracing Presets… manages, imports and exports tracing presets (#7112)
2026-11-20 05:38:06 +07:00
BFlat 684b1bf48d Merge pull request #7641 from dotCooCoo/feat/color-wheel-document-colors
Color Wheel: Show Document Colors lists the colors the art uses
2026-11-20 05:32:27 +07:00
BFlat 9a63cf2d1d Merge pull request #8769 from dotCooCoo/fix/quick-pen-followups
Pen: Quick Pen drags end where let go and keep outside edits
2026-11-20 05:26:53 +07:00
BFlat d2cecc63df Merge pull request #8754 from storytold/train/carry8729
HP-GL Options: OK writes nothing after another document became active (#8729)
2026-11-20 05:25:21 +07:00
BFlat f11c8da760 Merge pull request #8746 from storytold/train/carry8494
Shapes: Circle Tool Options set what the Circle tool shows and where its anchors go (#8494)
2026-11-20 05:15:55 +07:00
BFlat 924028964a Merge pull request #8210 from dotCooCoo/feat/palette-dimmed-rows
Command Palette: commands that cannot run now are dimmed
2026-11-20 05:10:21 +07:00
BFlat faed5639db Merge pull request #8777 from dotCooCoo/fix/info-status-colon
i18n: panel and status bar labels use the language's colon
2026-11-20 05:04:36 +07:00
bflatastic 03e704d0b3 Merge main into #8383
# Conflicts:
#	crates/ui-egui/src/i18n/bg.tsv
#	crates/ui-egui/src/i18n/bs.tsv
#	crates/ui-egui/src/i18n/ca.tsv
#	crates/ui-egui/src/i18n/cs.tsv
#	crates/ui-egui/src/i18n/da.tsv
#	crates/ui-egui/src/i18n/de.tsv
#	crates/ui-egui/src/i18n/el.tsv
#	crates/ui-egui/src/i18n/es.tsv
#	crates/ui-egui/src/i18n/fi.tsv
#	crates/ui-egui/src/i18n/fr.tsv
#	crates/ui-egui/src/i18n/gu.tsv
#	crates/ui-egui/src/i18n/hi.tsv
#	crates/ui-egui/src/i18n/hu.tsv
#	crates/ui-egui/src/i18n/id.tsv
#	crates/ui-egui/src/i18n/it.tsv
#	crates/ui-egui/src/i18n/ja.tsv
#	crates/ui-egui/src/i18n/ka.tsv
#	crates/ui-egui/src/i18n/ko.tsv
#	crates/ui-egui/src/i18n/nl.tsv
#	crates/ui-egui/src/i18n/pl.tsv
#	crates/ui-egui/src/i18n/pt-br.tsv
#	crates/ui-egui/src/i18n/ru.tsv
#	crates/ui-egui/src/i18n/sv.tsv
#	crates/ui-egui/src/i18n/tr.tsv
#	crates/ui-egui/src/i18n/uk.tsv
#	crates/ui-egui/src/i18n/vi.tsv
#	crates/ui-egui/src/i18n/zh-hans.tsv
#	crates/ui-egui/src/i18n/zh-hant.tsv
#	crates/ui-egui/src/panels/tests_brush_libraries.rs
2026-11-20 05:02:49 +07:00
bflatastic f0b8980dbe Merge main into #8336
# Conflicts:
#	crates/ui-egui/src/i18n/bg.tsv
#	crates/ui-egui/src/i18n/bs.tsv
#	crates/ui-egui/src/i18n/ca.tsv
#	crates/ui-egui/src/i18n/cs.tsv
#	crates/ui-egui/src/i18n/da.tsv
#	crates/ui-egui/src/i18n/de.tsv
#	crates/ui-egui/src/i18n/el.tsv
#	crates/ui-egui/src/i18n/es.tsv
#	crates/ui-egui/src/i18n/fi.tsv
#	crates/ui-egui/src/i18n/fr.tsv
#	crates/ui-egui/src/i18n/gu.tsv
#	crates/ui-egui/src/i18n/hi.tsv
#	crates/ui-egui/src/i18n/hu.tsv
#	crates/ui-egui/src/i18n/id.tsv
#	crates/ui-egui/src/i18n/it.tsv
#	crates/ui-egui/src/i18n/ja.tsv
#	crates/ui-egui/src/i18n/ka.tsv
#	crates/ui-egui/src/i18n/ko.tsv
#	crates/ui-egui/src/i18n/nl.tsv
#	crates/ui-egui/src/i18n/pl.tsv
#	crates/ui-egui/src/i18n/pt-br.tsv
#	crates/ui-egui/src/i18n/ru.tsv
#	crates/ui-egui/src/i18n/sv.tsv
#	crates/ui-egui/src/i18n/tests.rs
#	crates/ui-egui/src/i18n/tr.tsv
#	crates/ui-egui/src/i18n/uk.tsv
#	crates/ui-egui/src/i18n/vi.tsv
#	crates/ui-egui/src/i18n/zh-hans.tsv
#	crates/ui-egui/src/i18n/zh-hant.tsv
2026-11-20 04:56:34 +07:00
BFlat a8087ef0bd Merge pull request #8728 from storytold/train/carry8458
Brushes: Add original Vector Packs library (#8458)
2026-11-20 04:51:02 +07:00
HassanKhan 7f1648a03b Merge storytold/main (759cb5f3b4) into fix-8711-layers-target-ring
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 02:43:24 +05:00
HassanKhan 60bcf0b274 Merge storytold/main (759cb5f3b4) into feat-8363-trim-view-guides
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 02:43:08 +05:00
dotCooCoo f1b498a103 Quick Pen: the toolbar hides for any canvas drag, and Flip Arc returns an error from finishing the pending edit 2026-11-19 13:23:33 -08:00
dotCooCoo ab7fb310b1 Merge main into feat/palette-dimmed-rows 2026-11-19 13:08:47 -08:00
BFlat 134e3defa6 Merge pull request #7021 from dotCooCoo/feat/3d-custom-bevels
3D: Extrude & Bevel takes custom bevel shapes drawn as open paths
2026-11-20 04:08:29 +07:00
dotCooCoo e690eecb81 Merge main into feat/color-wheel-document-colors 2026-11-19 13:06:47 -08:00
BFlat b91f287554 Merge pull request #8498 from dotCooCoo/feat/prefs-descriptions-appearance-of-black
Preferences: the line under the fields describes each Appearance of Black setting
2026-11-20 04:02:50 +07:00
BFlat 5f655e47e9 Merge pull request #8187 from dotCooCoo/feat/palette-empty-search-recent
Command Palette: an empty search shows recent picks
2026-11-20 03:57:17 +07:00
BFlat e133d546e2 Merge pull request #8527 from dotCooCoo/feat/transform-rectangle-corner-type
Transform: Rectangle Properties has a Corner menu, one per corner when Corner Radius is unlinked
2026-11-20 03:46:22 +07:00
dotCooCoo 6eaca1532c Merge main into feat/palette-dimmed-rows 2026-11-19 12:41:52 -08:00
dotCooCoo beb2fab945 Pen: state which Quick Pen edits end the path, and redraw tests
docs/mcp.md now says that an edit made by another command during a
drag ends the path whether it changes the path or other art, and that
with the realTimeDrawing preference off such a press adds no piece
while the edit stays. A flip or size change made during a drag is part
of that piece's undo step; one made between presses is its own step.
The paragraph is wrapped at the file's width again.

The progress line lists a dragged piece ending at the release point and
C, [ and ] changing the arc being dragged with VectorCraft's own rules.

The bracket test checks that the arc being dragged is drawn again, the
drag test checks that the next click starts a new path, and new tests
cover an edit to other art during a click and an edit during a drag
with realTimeDrawing off. The tool no longer keeps the path as it was
before a press once the press ends.
2026-11-19 12:40:04 -08:00
bflatastic 4758023887 Merge main into #8283
# Conflicts:
#	docs/target-app-parity.md
2026-11-20 03:39:57 +07:00