* Share copied networks and carry them through the clipboard
* Add Make Unique to give a node its own copy of a shared network
* Commit Make Unique and refuse pasted subgraphs that name each other in a cycle
* Retire the rust-gpu twins of the adjustment nodes, leaving rust-gpu dormant
* Remove the dormant rust-gpu shader crate and everything that supported it
* Defer re-evaluations triggered by finished tasks to the next frame once the frame budget is spent, and abort the tasks of removed sources
* Clean up the frame budget change: share the Instant clock, drop redundant scheduling calls and comments
* Treat a zero frame budget as unlimited, let render signals cut the deferred-frame wait short, and fix the RFC's Runtime::spawn signature
* 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]>
* 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]>
* Show names, wired types, and possible types in connector tooltips
* Show descriptions on outputs and exports, stored for subgraph nodes
* Describe built-in subgraph nodes and fill descriptions into older documents
* Reorder imports and exports by dragging their names, including the primary
* Manage imports and exports from a context menu and a description popover
* Rename imports and exports in place and show tooltips on their names
* Drag imports and exports into or out of a primary slot set apart by a gap
* Add imports and exports with dimmed connectors in place of the + buttons
* Center the Inspector's empty-state message in the panel on two lines
* List the type of a value given to a subgraph's export in its output's tooltip
* Test filling output descriptions on a node set up for it, not the demo's saved state
* Close the description popover from its text area's own Ctrl+Enter, not the window's
* Rename the Properties panel to the Inspector throughout the code
* Update demo art
* Remove the migration test that depended on an unmigrated demo file
* Fix lint
* Show renamed nodes as their type followed by their name in parentheses
* Expand a layer's chain into rows of nodes in the Layers panel
* Code review fixes: drag and outline node rows, name renamed custom nodes
* 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
* Split apart PortfolioMessage into several sub-messages
* Refresh the source group's active tab after a panel split, keep recovered document file names unique, and make the failed documents state private
* Make the dropdown widget's file drop a callback and keep stray file drops from navigating the browser away
* Look up the dropped file's widget before reading the file
* Add a dropdown for resource selection and adopt it in the Image node
* Route every image upload through a new ResourceUpload handler with desktop support and migrate wired 'Image' node inputs
* Show each resource's user count in the resource picker dropdown
* Send a picked resource file to the document that requested it, list every non-font resource in the picker, and link sibling message docs
* Desktop: Make input routing aware of floating menus
* Desktop: Route mouse input like pen input
* Desktop: Model pointer input routing as a state machine
* Rename the editor mouse state types to Pointer* and the input_ modules
* Add optional pen attributes to the editor pointer state types
* Desktop: Send tablet pointer clicks to CEF as mouse clicks
* Desktop: End pointer lock and pending window drags on any left-equivalent release
* Desktop: Route pointer input carrying pen attributes directly to the editor
* Desktop: Route wheel and pinch input inside the viewport directly to the editor
* Desktop: Track double clicks on the direct editor route
* Desktop: Move the pointer lock position into InputState
* Restore the input state pointer position when pointer lock ends (review)
* Fix pen input being swallowed by Windows resize helper
* Update winit to 0.31.0-beta.2 from crates.io
* Add event time to the editor pointer states
The brush trace's hot core is position plus per-sample time, and the
frame clock is too coarse for high-rate tablets: several samples share
one timestamp and speed dynamics see dt = 0. The desktop stamps
editor-routed pointer input with a monotonic arrival time since winit
does not surface hardware timestamps; the web path can thread the
PointerEvent timeStamp through later.
* Capture pen input via browser api
* Replay coalesced pointer samples for smoother pen strokes
* Handle missing or empty coalesced pen events
* Rename the editor mouse state types to Pointer* and the input_ modules
* Add optional pen attributes to the editor pointer state types
* Desktop: Send tablet pointer clicks to CEF as mouse clicks
* Desktop: End pointer lock and pending window drags on any left-equivalent release
* Desktop: Route pointer input carrying pen attributes directly to the editor
* Desktop: Route wheel and pinch input inside the viewport directly to the editor
* Desktop: Track double clicks on the direct editor route
* Desktop: Move the pointer lock position into InputState
* Restore the input state pointer position when pointer lock ends (review)
* Fix pen input being swallowed by Windows resize helper
* Update winit to 0.31.0-beta.2 from crates.io
* Introduce the GradientRamp exchange struct as the serialized TaggedValue::Gradient payload
* Unify FillChoice and FillChoiceUI into one enum generic over color format, carrying GradientRamp stops
* Rename the TaggedValue::Gradient variant to GradientRamp to match its payload
* Move the Color variant into the tagged_value macro list since its stored and wire forms match
* Make wasm wrapper not depend on editor on native
* Introduce pkg-native
* Fix tests
* Fix fmt
* Correct span and make cargo fmt work inside editor_commands block
* Review
* Fix lint
* Move clipboard code to its dedicated handler
* Adapt clipboard format to work with resources
* Restore visibility, lock, and collapse state when pasting layers
---------
Co-authored-by: Keavon Chambers <[email protected]>
* Impl NetworkMessageHandler
* Repalce Frontend fetch like messages with NetworkMessage
* Reimpl resource loading with NetworkMessage
* Fix wasm
* dedublicate resource requests
* Embedd font resources created by migration
* Fixup
* Fix tests
* Fix font catalog not loading
* Cleanup
* Fix layouts not updating when font catalog is loaded
* Review
* Review
* Cleanup