Commit Graph
577 Commits
Author SHA1 Message Date
ruchirguitar a4659724f6 Merge main into feat/spell-check
Cargo.toml: #10049 moved craft-libs to 186a229c; the font store crates this
branch adds move with it, so every craft-libs crate stays at one rev.
2026-11-29 22:41:45 +05:30
dotCooCoo 5a8f56dc4e Merge main into feat/hairline-slivers 2026-11-28 20:07:16 -08:00
ruchirguitar 8d3895d491 Merge main into feat/spell-check
Cargo.toml: main moved craft-libs to 610c8679; the font store crates this
branch adds move with it, so every craft-libs crate stays at one rev.
2026-11-29 08:29:24 +05:30
dotCooCoo 6e117821db Merge main into feat/hairline-slivers 2026-11-28 17:03:05 -08:00
dotCooCoo 31844b57dd Merge feat/scripts-api-d4-text into feat/scripts-api-d4b-text-styles 2026-11-28 16:13:51 -08:00
ruchirguitarandClaude Opus 5.5 38da965223 Merge main into feat/spell-check
As asked in review. Cargo.toml: main moved craft-libs to 51fcc3b0; the font
store crates this branch adds move with it, so every craft-libs crate stays
at one rev.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 21:54:53 +05:30
dotCooCoo 88fb7a8128 Merge main into feat/scripts-document-views 2026-11-28 07:25:53 -08:00
dotCooCoo 875f49fc8d Merge main into feat/plugins-web-worker
The plug-in runtime keeps main's JavaScript plug-ins beside the web worker's module bytes and checked loads: a JavaScript plug-in's bundle is kept for the worker like a module, and load_checked loads it from its bundle.
2026-11-27 23:05:07 -08:00
dotCooCoo f7ccc194fc Merge main into feat/scripts-document-views 2026-11-27 22:14:06 -08:00
dotCooCoo 13c44353cf Merge main into feat/scripts-api-d4b-text-styles 2026-11-27 22:13:49 -08:00
.CooCoo 5fe987ee2d Merge pull request #9860 from dotCooCoo/feat/ctrl-click-select-behind
Selection: Cmd/Ctrl-clicks step through grouped objects under the pointer
2026-11-27 21:44:40 -08:00
dotCooCoo 1d66710671 Selection: Cmd/Ctrl-clicks step through grouped objects under the pointer
With the Selection tool, the first Cmd-click (Ctrl on Windows and Linux)
now always goes to Direct Selection or Group Selection, also over a
selected object: it picks the object under the pointer, a member of a
group included, and arms Select Behind. While Cmd stays held, each
further Cmd-click over the selection selects the next object under the
pointer, counting the members of groups one by one, and comes back to
the topmost after the last. Letting go of Cmd (a pointer, hover or key
event without it), choosing another tool or switching documents ends it.

Before, the first Cmd-click over a selected object selected the object
behind it at once, and Select Behind stepped through whole groups, so a
member lying under another member of the same group could not be
reached that way.

- doc::hit::leaves_at lists the objects a Direct Selection click picks
  under a point, topmost first, in one traversal of the document; a
  clipping mask or a group drawn with its own geometry effects falls back
  to repeated hit tests. The list stops at 256 objects.
- The session keeps the arming (Session::behind_armed) and passes it to
  the tools as ToolContext::behind_armed.
- Docs: docs/control-protocol.md (ui.pointer), docs/mcp.md,
  docs/target-app-parity.md and docs/ui-parity.md.
2026-11-27 18:47:39 -08:00
dotCooCoo a354d09af4 Scripts: folder listings take their time limit from the session's clock
script::folder::list and script::startup::list measured the 250 ms
listing limit (MAX_SCAN) with a real Instant. script.listInstalled,
script.startup.run and the File > Scripts menu read the folders through
them, so a test that went through any of these got a truncated listing
and missing scripts whenever the disk stalled for 250 ms.

- folder::Clock is either Wall (the real time since the listing started,
  the default) or Fixed (the same time at every check). Both list
  functions take one.
- Session::set_script_listing_clock sets the clock the two commands and
  the menu's listing job use; the app keeps the real clock.
- The script folder, startup script, scripts menu, script run and Safe
  Mode tests list with a fixed zero time, so a slow disk cannot cut a
  listing short. Direct listing calls use the test file's list helper.
- New tests check that script.listInstalled, script.startup.run and the
  menu stop at the session's clock once it is past the limit and list
  everything at the limit.
2026-11-27 16:10:28 -08:00
FredApps 24e5b56373 Merge pull request #5439 from Taha-Mahmoodi/fix/outline-stroke-context-menu
Fix #5267: Outline Stroke is in the canvas context menu
2026-11-27 23:28:10 +01:00
ruchirguitarandClaude Opus 5.5 44afcbfb2a Spell-check other languages from the Craft apps' Language packs
Part of #4936. Spelling and hyphenation now read the Language packs
installed in the font store the Craft apps share, and proof.packs,
proof.installPack and proof.removePack list, install and remove them.
Installs need downloading on, which only the person turns on; in the
desktop app they run in the background and the documents are laid out
again when one ends.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:19:24 +05:30
dotCooCoo c0da24c63a Name the gradient edit paint snapshot 2026-11-26 17:38:27 -08:00
BFlat 023843e3a6 Merge pull request #9114 from dotCooCoo/feat/scripts-startup-scripts
Scripts: run startup scripts at launch and before a chosen script
2026-11-27 05:13:16 +07:00
BFlat 9cc605bd7f Merge pull request #8975 from dotCooCoo/fix/gradient-midpoint-owner
Gradient panel: a picked midpoint stays with the gradient it was picked on
2026-11-27 05:11:38 +07:00
BFlat a431537d95 Merge pull request #8823 from dotCooCoo/feat/retype-installed-fonts
Retype: installed fonts that are not loaded yet are matched too
2026-11-27 05:09:16 +07:00
dotCooCoo dc333ada97 Merge main into feat/plugins-web-worker
Worker completion preserves unapplied typing and discards stale output.
2026-11-26 10:21:21 -08:00
dotCooCoo 7da21d015c Validate and retain chosen scripts before startup runs 2026-11-26 08:56:39 -08:00
dotCooCoo b64cbe2174 Merge main into feat/scripts-document-views 2026-11-26 08:05:40 -08:00
dotCooCoo e015b20396 Merge main into feat/scripts-startup-scripts 2026-11-26 07:31:10 -08:00
Taha-Mahmoodi 295f458f7b Merge canonical shortcut grouping fix into Outline Stroke review 2026-11-26 16:41:17 +04:30
dotCooCoo 3055ea5757 Merge main into feat/scripts-startup-scripts 2026-11-25 23:39:37 -08:00
dotCooCoo 220c60b4a7 Merge main into feat/scripts-document-views 2026-11-25 20:37:28 -08:00
dotCooCoo cb1361c889 Merge main into feat/plugins-web-worker 2026-11-25 18:45:04 -08:00
dotCooCoo 478ed51ace Merge main into feat/retype-installed-fonts 2026-11-25 18:40:00 -08:00
dotCooCoo b6b702f080 Merge main into fix/reset-preferences-interface-settings 2026-11-25 18:36:58 -08:00
dotCooCoo 1795c050c3 Merge main into fix/gradient-midpoint-owner 2026-11-25 18:25:26 -08:00
dotCooCoo bf782369fc Merge main into feat/retype-installed-fonts 2026-11-25 15:23:05 -08:00
dotCooCoo 0e701ffc1a Merge main into feat/plugins-web-worker 2026-11-25 14:21:03 -08:00
dotCooCoo 76e6b8b919 Merge main into feat/scripts-api-d4b-text-styles 2026-11-25 13:50:39 -08:00
dotCooCoo 39fd14f24d Merge feat/scripts-api-d1a-app-documents into feat/scripts-document-views
# Conflicts:
#	crates/engine/src/lib.rs
2026-11-25 10:25:14 -08:00
dotCooCoo 916ea13906 Merge main into fix/reset-preferences-interface-settings 2026-11-25 10:07:37 -08:00
dotCooCoo 9e3b3efed0 Merge main into fix/shape-builder-color-pick 2026-11-25 09:45:57 -08:00
dotCooCoo bf48bb8f97 Merge main into fix/gradient-midpoint-owner 2026-11-25 09:39:19 -08:00
Taha-Mahmoodi bd24c61a5a Merge canonical main into Outline Stroke eligibility
Integrate the verified immutable canonical baseline while retaining the existing consumer fix and all contributor history. Preserve upstream dependency inputs and documentation; runtime verification remains separate.
2026-11-25 22:03:37 +04:30
dotCooCoo f906a0f814 Merge main into feat/scripts-startup-scripts 2026-11-25 09:16:13 -08:00
dotCooCoo 771383bed8 Merge feat/scripts-api-d1a-app-documents into feat/scripts-api-d4b-text-styles 2026-11-25 04:53:10 -08:00
BFlat 62eff34cc6 Merge pull request #9069 from dotCooCoo/feat/plugins-load-on-workers
Plug-ins: stored and folder plug-ins load on worker threads while the window shows
2026-11-25 19:32:48 +07:00
dotCooCoo c0d3260eb3 Merge main into fix/gradient-midpoint-owner 2026-11-25 04:11:43 -08:00
BFlat 3dd6257d16 Merge pull request #9143 from dotCooCoo/fix/command-during-interaction
Undo: a command run during a tool drag is its own undo step
2026-11-25 15:57:51 +07:00
Taha-Mahmoodi f9e4a77aa0 Merge pinned main into outline stroke eligibility 2026-11-25 13:19:27 +04:30
dotCooCoo 656aafffd7 Merge #9019's branch into feat/scripts-document-views
# Conflicts:
#	crates/engine/src/lib.rs
#	crates/engine/src/script/dom.rs
#	crates/ui-egui/src/script_runs.rs
#	crates/ui-egui/src/tests/script_run.rs
#	docs/target-app-parity.md
2026-11-25 00:26:34 -08:00
dotCooCoo 5986c0d94b Scripts: Document.views gives the document's view with its bounds, center and zoom
Document.views holds one view while the desktop app shows the document
on its canvas: every document's while documents are under the tabs, and
only the current document's while they are tiled or one floats in a
window. Without a window (headless) it holds none. The view has
typename, parent, bounds (the part of the document the canvas shows),
centerPoint, zoom (1 is 100%, from 0.0313 to 640) and screenMode.

Setting zoom, centerPoint or screenMode changes the window when the
slice ends, runs no command and adds no undo step, and a run that fails
keeps the change. The screen mode is the app's, so setting it on one
view sets it on every view. A bad value throws and leaves the view as
it was.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-25 00:24:55 -08:00
dotCooCoo 9d225ba091 Merge main into feat/plugins-load-on-workers
The Safe Mode choice after a stopped launch moves to main's dialog host and keeps listing every
plug-in that was loading: one name in the sentence, or the list with "Disable Listed Plug-ins and
Continue". Automation requests wait in the queue while plug-ins load, and one past its deadline is
answered as expired. File > Open and opening a file still wait for the plug-ins still loading.
2026-11-24 23:31:07 -08:00
dotCooCoo 0a36ef97e1 Merge main into fix/ctrl-lends-selection-tool 2026-11-24 18:02:30 -08:00
dotCooCoo 7a85e09b26 Merge main into feat/retype-installed-fonts 2026-11-24 15:21:47 -08:00
dotCooCoo 06b483320e Merge main into fix/command-during-interaction 2026-11-24 10:12:16 -08:00