* Toggle node graph with double-tap Space
* Require clean presses for double tap
A first tap that arrived with a modifier or mouse button held still armed the
detector, so pressing Shift and Space for live preview and then tapping Space
promptly toggled the node graph. A press that cannot take part in a double tap
no longer seeds one and breaks a tap already waiting, and a test pins that case.
* Apply double-tap review feedback
* Tighten double-tap test and comments
---------
Co-authored-by: Keavon Chambers <[email protected]>
* Copy, cut, and paste nodes within and between layers' chains
* Make Ctrl+D duplicate into the flow everywhere, including the node graph
* Remove the Ctrl+J shortcut for duplicating layers
* Double-click a Layers panel node icon to open the node graph centered on it
* Paste nodes into their flow over the copied selection, or loose in the graph
* Make copying behave the same in and out of the graph, and select only pasted layers
* Enable menu bar entries exactly when their actions apply
* Skip hidden layers in Align, Flip, and Turn like other canvas transforms
* Select every node with Select All in the graph, regardless of overlays
* Add a locked white background when converting to an infinite canvas
* Rearrange the Layers panel's visibility and lock controls
* Show layer chains as selectable, draggable node icons in the Layers panel
* Hold off an icon button's hover icon after a click until the pointer leaves
* Add icons to nodes in the node graph, set by a node macro attribute
* Rename the 'Eval Curve' node to 'Evaluate Curve'
* Fix node graph layer buttons being covered by the next layer's chain area
* Move the node graph's visibility and lock buttons to the start of its control bar
* Dash the export wire while previewing, and keep its restore target on shake
* Add expect assertions, console error checks, and scenario folders to the web editor driver
* Fail a scenario folder run on unreadable entries instead of skipping them
* Add the web editor driver, a Rust port of the editor driver run with `cargo run drive`, built on a new editor control protocol crate with Playwright kept only for browser input and screenshots
* Refuse oversized step counts and empty page sizes, stop Vite if its record can't be saved, center the crosshair on half-pixel pointers, skip Wasm Opt for drive, and re-save the demo artwork
* Lint the website with the frontend's ESLint config instead of a diverging copy, selecting elements by data attributes
* Give the crate graph's marker attribute a value, cache npm in the website workflow, and mention installing the website's packages
* Rename the 'Split/Combine Channels' and 'Split/Combine Vec2' nodes to 'Image to Channels', 'Channels to Image', 'Vec2 to Numbers', and 'Numbers to Vec2'
* Fix a Clippy warning in the preprocessor's resource and animation curve input replacement
* Fix the Pen tool misplacing anchors and losing a handle when joining another layer's path
* Keep the latest pointer move made while a join waits for the merged path, so a quick drag still shapes the handle
* Add tests for String Capitalization node and update convert_case dependency
* Add a sample_str variable to the test
* Keep 'String Capitalization' joiner output unchanged by dropping empty words after the convert_case 0.12 bump
---------
Co-authored-by: Keavon Chambers <[email protected]>
* Rewrite the 'Image Color Palette' node using Wu's color quantizer in OkLab
* Weight alpha at 16-bit precision in the 'Image Color Palette' node so faint pixels count
* Improve time complexity of identity node removal
* Code review
* Ensure all passthrough nodes are removed
* Fix double test with invalid passthrough node
* Fix#4601: Limit unsaved document list in Close All dialog to prevent overflow
* Truncate individual long document names in Close All dialog
* Address review comments: move dialog constants to consts.rs and use write! macro
* Use Cow and iterator chaining in Close All dialog layout
* Update glam
* More work to avoid panics
* Clean up with new FallibleVec2Operations extension trait
* Fix compile error
* Fix typo
* Fix Nix compiling rust-gpu (#4621)
* Add a warning icon to Math node expressions with errors as tooltips
* Point at a parse error with carets under a repeat of the expression, as a compiler does
* Render fenced code blocks in tooltips and put the parse error snippet in one
* Quote tokens as code in chumsky's parse messages and in custom parser errors
* Report the parse error past an operator rather than the operator itself
* Add matrices to the math expression parser as a second sort beside values
* Add Transform input and output to the Math f(x) node
* Add ranges and boxes to the math expression parser with inside, clamp, and remap over them
* Add Transform lists to the Math f(…) node with reducers composing, averaging, and counting them
* Lex a number's trailing e as Euler's number unless an exponent's digits follow it
* Fix matrix inversion scaling, exact matrix powers, infinite shears, matrix means, kept axes, and the Transform default
* Make shared box parts flat, give composed regions their inner map's axes, and fix lone logic items, spaced ranges, and the Math f(…) tooltip
* Transpose across spaces, name fractional matrix powers, check matrix builtin arities when parsing, read range literals by their corners, and let host functions shadow matrix builtins
* Make inside and clamp hold a region's uncovered parts at zero, so a box contains only the points between its corners
* Require hosts to declare the functions they provide, name the region functions' syntax node after its builtin, and remap onto ranges with equal infinite corners
* Apply a matrix to the whole product after it, so M 2 v is M (2 v)
* Pin prefix NOT's precedence above products, comparisons, and AND with tests
* Rename inside to within, since a range's ends count and the geometry predicates with a point first use that name
* Keep a range's corners as written, so clamp orders an integer past the reals' limit exactly
* Give within a tolerance of a billionth of the region's scale, so a point a float error off an edge or a flat side counts
* Write a unit part as its basis alone, so the identity displays as [1;i;j;k]
* Add tests for product folds, mixed chains, remap, and rejected inputs
* Evaluate matrix operands, builder arguments, regions, and comparison chains on the stack instead of the heap
* Build the expression parsers once per thread, since building the combinator tree cost as much as parsing a short expression
* Compare a chain reducer's items by their order directly, and reject an item with no order rather than reading it as false
* Send a host-built list of builder arguments or regions past the stack buffers to the heap instead of rejecting it
* Fix the math expression parser giving a valid direction between multiple infinite vector parts
* Replace the math expression parser's if() with piecewise cases like {a if x > 0, b otherwise}
* Fix the math expression parser's error spans starting before whitespace and infinities displaying as inf