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>
- Adding a control or an item, and removing items, builds both arrays
before the first write, so a run that ends at the heap limit leaves the
lists and the dialog's counts as they were.
- A listener registered after an event started does not hear it in a later
phase, a capturing container's re-registration included.
- show() reads the dialog again when a getter changes a list item's text
after the item was read.
- Enter and Escape skip an OK or Cancel button inside a hidden or disabled
container.
- A resource string of a name and a type without braces throws a
SyntaxError, and a \u escape pair of surrogates reads as one character.
- In the app, queued events wait while another dialog is open over the
script's dialog, and the run's own questions wait while a popup, such as
an open drop-down list, is over it. ui.dialog.confirm and
ui.dialog.cancel take only the dialog, ui.dialog.set needs a field or an
action and answers with the dialog it set, and OK is refused while a
dialog open over it waits. A cancel after typed text clicks the cancel
button the dialog has when its turn comes, and an immediate cancel the
run refuses is an error.
- A click on a list box row gives the list the keyboard focus.
- The vc hint test names BridgeTalk, since Window now exists; the params
text and docs/mcp.md say that a show() in a handler notify runs throws
only in the app, and define_script_ui says when end is not called.
main added a test named wrappers_go_stale_after_revert and passes the
command id to dom::before_command by reference.
- The revert test of this branch is renamed
objects_read_before_a_revert_are_stale_and_ones_read_after_are_the_loaded_ones.
- command_value takes `id` as a &str, so the call passes it as it is,
which clippy's needless_borrow check requires.
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>
A startup script refused before it begins, such as with an undo group
open, is named in the Script Console. Stopping the runs from the quit
prompt between two queued runs drops the runs not yet started, and the
status bar says so. While that prompt is open, or before its answer is
taken, the next run does not start.
- appearance.setNewArt is listed among the commands a plug-in may call, so
every_command_is_reviewed passes.
- appearance.setNewArt refuses `tint` on a pattern that has no swatch entry,
and its help and docs/mcp.md say an omitted `weight` keeps the stored weight.
- The dash checks of appearance.setNewArt, strokeDashes and
defaultStrokeDashes share one helper.
- defaultStrokeWidth, defaultStrokeMiterLimit and defaultStrokeDashOffset
compare exactly, so a slightly different value reaches new art.
- An RGB default in a CMYK document is compared in the document's color mode,
and a color read back from a path or a default (a Gray too small for its
value to name) assigns back without a command.
- addDocument starts from the profile's built-in first preset even when a
saved preset has the same name.
- A saved preset's rows are read as at most 1000.
- The page item and path lists are kept for each open document, the
selection list stops at its limit, the typename of a removed PathPoint and
of a stale PathPoints or PathItems throws, and an item edit whose
selection cannot be restored is undone with it.
- A path's subpath starts are counted once and kept while its points keep
their layout, so reading or setting each of its points in turn no longer
walks every subpath for each point.
- A run that ended while waiting for a growth answer is checked against its
allowance again before it is kept.
- docs/mcp.md says which file limits apply to reading a profile's file.
The script host ran its realm with E4X off, so XML literals were syntax
errors and XML, XMLList, Namespace, QName, isXMLName and
setDefaultXMLNamespace were missing from every script, although
vectorcraft-js has them. script.run and File › Scripts now turn E4X on
for .js and .jsx files, script text, #include files, $.evalFile, eval
and Function, and for a #targetengine engine.
script.check lists the e4x and xml features under the language need
instead of hostOnly, since VectorCraft runs them.