* Frame CLI exports to the artwork bounds
* Include strokes in the bounds CLI exports frame to
* Count every item of a layer in the bounds CLI exports frame to
* Count every item of a layer in the bounds the editor exports
* Visit each definition once in recursive walks and validation
* Rename DefinitionId to NetworkId to mirror the storage model
* Review fixes
* Make test more precise
* Fix the Data panel showing another node's output for some layers
* Give every layer a thumbnail and remove the 'Merge' and 'Artboard' Monitor nodes
* Resolve inspected paths through the last graph that compiled
* Add a definitions table to NodeNetwork with path resolution and inlining before preprocessing
* Resolve network metadata, views, and network node checks through the definitions table
* Prevent infinite recursion
* Split renders too dense for Vello GPU and make infinite coordinates finite
* Remove the Render Tile Resolution preference, sizing render regions by GPU limits
* Show errors on the deepest document node along their trace
* Show the error from inside a custom node on the node itself
* Add Placeholder, Fallback, Catch, Suppress Error and Throw Error nodes
* Remove most debug nodes
* Inspect nodes without recompiling the graph (#4803)
* Edit the inspected node's context in the Data panel (#4804)
* Render thumbnails with Vello (#4805)
* Require attribute names to be compile time constants (#4822)
* Desktop: Recover from UI crashes and apply preferences without restarting (#4827)
* Desktop: Recover from UI crashes and apply preferences without restarting
* Show open dialog again after a UI restart
* Improve node graph navigation performance (#4824)
* Re-render only the node graph wires whose paths changed
* Keep nodes already in view rendered when the node graph's visible nodes change
* Cleanup const checking in the compiler (#4825)
* Cleanup const checking in the compiler
* Reject constant data fields and update README node snippet
* Group all boolean node attributes into NodeFlags
* Fix numerous bugs with the Path and Pen tools (#4830)
* Fix the Path tool ignoring the first click on a segment after any drag
* Make Enter and Esc during a Pen drag finish or cancel only that segment
* Stop Ctrl+Delete and Shift+Delete acting on a lone selected handle's anchor
* Keep the opposite handle's length when nudging a handle with the Path tool
* Fix Undo doing nothing after a plain click on a point with the Path tool
* Make the Path tool snap and lock a handle's angle on any of several selected paths
* Fix a Path tool drag just beside a segment moving the selected points
* Extend a path inside a selected group with the Pen, keeping it there
* Make Enter and Esc both take back the Pen tool's lone first anchor
* Fix the Pen tool drawing into another selected path after starting on a segment
* Make Space move the Pen tool's anchor as soon as it's pressed mid-drag
* Fix Shift-clicking a selected segment leaving its anchors selected
* Fix smoothing an anchor on top of its neighbor aiming its handle the wrong way
* Hide the Path tool's Swap Dragged Handle hint for a handle without a partner
* Fix Tab during a Path or Pen handle drag also switching to the Select tool
* Stop the Path tool editing the points of locked layers
* Scale the handles of exactly two selected anchors along with them
* Pull out a symmetric pair of handles when Alt-dragging a sharp anchor
* Make a Path tool lasso that closes on its start select what it encloses
* Delete the selected layers with the Path tool when no points are selected
* Stack: Path and Pen tools (bugfix-stack-path-and-pen)
* Keep the Fill and Gradient tools from editing locked layers
* Make the Eyedropper tool sample the canvas color around artboards in Normal mode
* Center the Eyedropper tool's sample on the pointer on HiDPI displays
* Finish an Eyedropper sample on any release, and skip it outside the viewport
* Fix the Eyedropper tool picking no color in SVG Preview mode on the web
* Stop the Fill tool previewing a fill over images it can't fill
* Stop the Fill tool's color picker offering None, which it can't fill with
* Fix the Gradient tool's hover missing evenly spaced stops on cyclic gradients
* Deselect the Gradient tool's stop on Esc and on presses that land on nothing
* Start new gradients from the Gradient tool's customized stops
* Keep the Pen, Spline, and Freehand tools' Fill and Stroke ticks when nothing is selected
* Fill new shapes with the gradient shown in the drawing tools' Fill swatch
* Fix new shapes losing their stroke or keeping a deselected layer's dashes
* Make the Fill and Gradient tools paint a Boolean Operation's result
* Keep stroke weights when resizing Pen, Freehand, and Spline layers
* Correct the Gradient tool's comment on its empty-canvas fallback
* Stack: Fill, Gradient, tool colors, and Eyedropper (bugfix-stack-paint-and-color)
---------
Co-authored-by: Dennis Kobert <[email protected]>
Co-authored-by: Timon <[email protected]>
* Fix the Path tool ignoring the first click on a segment after any drag
* Make Enter and Esc during a Pen drag finish or cancel only that segment
* Stop Ctrl+Delete and Shift+Delete acting on a lone selected handle's anchor
* Keep the opposite handle's length when nudging a handle with the Path tool
* Fix Undo doing nothing after a plain click on a point with the Path tool
* Make the Path tool snap and lock a handle's angle on any of several selected paths
* Fix a Path tool drag just beside a segment moving the selected points
* Extend a path inside a selected group with the Pen, keeping it there
* Make Enter and Esc both take back the Pen tool's lone first anchor
* Fix the Pen tool drawing into another selected path after starting on a segment
* Make Space move the Pen tool's anchor as soon as it's pressed mid-drag
* Fix Shift-clicking a selected segment leaving its anchors selected
* Fix smoothing an anchor on top of its neighbor aiming its handle the wrong way
* Hide the Path tool's Swap Dragged Handle hint for a handle without a partner
* Fix Tab during a Path or Pen handle drag also switching to the Select tool
* Stop the Path tool editing the points of locked layers
* Scale the handles of exactly two selected anchors along with them
* Pull out a symmetric pair of handles when Alt-dragging a sharp anchor
* Make a Path tool lasso that closes on its start select what it encloses
* Delete the selected layers with the Path tool when no points are selected
* Stack: Path and Pen tools (bugfix-stack-path-and-pen)
* Cleanup const checking in the compiler
* Reject constant data fields and update README node snippet
* Group all boolean node attributes into NodeFlags
* Switch rendering from Vello's classic compute renderer to Vello GPU
* Render the web build with WebGL2 rather than WebGPU
* Expand each shared geometry's strokes once and skip vector items outside the rendered area
* Create the WebGL2 viewport canvas in the canvas utilities instead of storing it on the wgpu context
* Restrict the raw wgpu surface accessor to wasm
---------
Co-authored-by: Dennis Kobert <[email protected]>
* Bound the document from its outermost layers and skip targets that cannot extend the bounds
* Cache the document bounds until the layers change
* Skip non-finite bounds left by clipping to an artboard
* Add overlays showing each path's start, direction, index, and flows
* Fix selection outlines closing the open paths of filled layers
* Fix ghost outlines drawing free points as regular blue anchors
* Add a Point Index overlay and color path overlays apart from points
* Fix click targets of filled meshes hitting areas their faces don't fill
* Keep taken IDs across Combine Paths concatenations so merging stays linear
* Use loose control-box bounds for transformed click targets and reset their shared rotation cache
* Compose group click targets from child layers instead of baking descendant copies
* Share outline and click target geometry, build combined target paths once, and find free points with a bitmap
* Share List element storage behind an Arc with copy-on-write
* Cache vector contours as an item attribute shared by rendering and click targets
* Cache mesh faces in the geometry cache alongside contours
* Share click target geometry through the geometry cache and place it by transform
* Address review feedback on click targets, bounds, naming, and the internal geometry cache attribute
* Rename 'Separate Subpaths' to 'Separate Paths' and 'Close Path' to 'Close Paths'
* Add a 'Reverse Paths' node that reverses the direction every path runs in
* Merge a path's end into its start when 'Close Paths' finds them coincident
* Rename Merge by Distance to Weld and add a Flow Ends method that joins only path flow ends
* Add an Unweld node that splits shared points apart, separating path flows or segments
* Skip welding all points when the transform collapses the geometry
* Match wire types only through conversions the compiler places at each input
* Match wire types through the rank promotions type resolution inserts, too
* Look through Monitor-like nodes to find what a subgraph's input accepts
* Follow subgraph exports out to what their output feeds when matching wire types
* Add hover and press feedback to node graph connectors
* Enlarge node graph connector click targets and match their hover areas
* Open the node menu when a wire from the add-import connector is dropped
* Show the click target overlay only in debug builds and fix small nits
Derive the IDs of the resource and curve nodes the preprocessor inserts from the resource and the consuming input, so recompiles keep their proto nodes
* Add editor task module, drop NodeGraphUpdateSender
* Remove Node::reset and unused value nodes
* Remove unneeded async from vector nodes
* Remove unneeded async from graphic nodes
* Remove unneeded async from raster nodes
* Remove unneeded async from the remaining nodes
* Make most node fns private
* Make node construction sync
* Remove block_on around node construction
* Move GPU readback into ConvertAsync
* Make Convert sync
* Make wgpu pipelines and vello rendering sync
* Make convert, brush and render nodes sync
* Pass editor API as owned Arc
* Take scope inputs by value
* Move Spawn and Task into core-types
* Add Poll type and status tracking
* Add source generations to context
* Stop storing context features in the document
* Track source ids in context modification
* Add async runtime and memo table
* Pass runtime through scope, expose source ids
* Set up async runtime in editor, CLI and benches
* Give async nodes runtime and source id inputs
* Classify node return types in the macro
* Make Node eval sync and return Poll
* Make lazy input nodes, tests and benches sync
* Rerender when a spawned task finishes
* Rerender in CLI until all tasks are done
* Abort pending tasks when node is dropped
* Trace errors through Poll node inputs
* Let node errors carry upstream errors
* Resolve error traces to the origin node
* Show evaluation errors in the node graph
* Default unmapped item primaries to a value
* Add debug nodes
* Memoize fallback results too
* Show multiple node graph errors
* Report node errors in CLI
* Attach input fallback error as upstream
* Keep input fallback error when node fails
* Keep Poll status in render cache
* Keep last frame while graph is pending
* Treat partial export output as pending
* Move environment from global to dispatcher
* Add editor builder, drop global node runtime
* Add Wake message, rerun graph when tasks finish
* Add source generation tests
* Add test for node error origin
* Add render status overlay
* Replace error artwork with render status
* Poll node graph through portfolio message
* Minor review fixups
* Remove future type and macro
---------
Co-authored-by: Dennis Kobert <[email protected]>