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>
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.
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.
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.
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>
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.
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.
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.