* Generalize data transfer systems
* Move clipboard items to ingest as application data
* Carry application data as parsed items
* Accept image drags on desktop
* Fix tests
* Broken: Basic Skeleton of DataFlow in a request
* Broken: Added selected nodes data flow across runtime
* Fix: Extraction of nodes into svg and sending message
* Fix: Removed comments and unused fn
* Add: First support of svg compatible copy pasting
* Fix: Desktop copy intercept fix and unnecessary edits removal
* Fix: removed package-lock.json
* Fix: added todo and removed Svg branch from clipboard data type
* Fix: applied fix.patch to avoid message discarding
* Fix: renamed TriggerClipboardSvgWrite to TriggerClipboardSvgAndJsonWrite
* Fix: converted SvgTextCopyClipboard from typle to struct variant
* Fix: Fix trigger name in clipboard.ts
* Add: Fix network_interface to include TriggerClipboardSvgAndJsonWrite
for fixing test
* Fix: merge text clipboard message and svgtext clipboard trigger into one
* Fix: function abstractions in runtime.rs
* Apply suggestion from @0HyperCube
Co-authored-by: James Lindsay <[email protected]>
* Switch the Color struct back to storing unassociated alpha (#4518)
* Switch Color struct back to storing unassociated alpha
* Address review feedback
* Update the Invert node and legacy image migration for straight alpha and add round-trip tests
---------
Co-authored-by: Keavon Chambers <[email protected]>
* Add the Curves adjustment node with a Transfer Curve type and editor widget (#4520)
* Add the Curves adjustment node with a Transfer Curve type and editor widget
* Address review feedback on the Transfer Curve widget's edge cases
* Ease the Smooth gradient interpolation into the ends of an open ramp (#4521)
* New node: String to Vec2 (#4522)
Add the String to Vec2 node
* Rename the 'Hex to Color' node to 'String to Color' (#4523)
* Make 'Gradient Map' use gamma-space luma and move it into adjustments.rs (#4524)
Move Gradient Map into adjustments.rs and position it by the classic 0.3/0.59/0.11 luma
* Fix defaulted Item parameters dropping their type alias and rejecting hex string color defaults (#4525)
* New node: Color Balance (#4527)
* Remove the 'Threshold' node's "Luminance Calculation" parameter (#4528)
Remove the 'Threshold' node's luminance calculation dropdown so it always compares the Rec. 601 luma
* Fix cargo-about install command (#4512)
Fix cargo about install
* Replace the 'Luminance' node with a 'Desaturate' node with a better selection of desaturation methods (#4529)
* Remove the 'Threshold' node's luminance calculation dropdown so it always compares the Rec. 601 luma
* Find the HSL lightness extremes before encoding and drop a stale luminance TODO
* Improve accuracy of the 'Channel Mixer', 'Selective Color', 'Posterize', and 'Exposure' nodes (#4530)
* Add a range slider mode to the spectrum widget and slider rows to node properties (#4531)
* Add a range slider mode to the spectrum widget and slider rows to node properties
* Reset the weighted strength slider to the node's default of zero and skip markers off the track when picking up the nearest one
* Show a range slider beside bounded range-mode numbers in the Properties panel (#4532)
* Show a range slider beside bounded numbers in range mode
* Fall back to a plain number widget when a range's bounds are reversed or equal
* Add a selection mode to the spectrum widget so only the gradient editor supports having a highlighted stop (#4533)
* Add a selection mode to the spectrum widget so only the gradient editor keeps a highlighted stop
* Record the drag mode for every drag and require selection for reordering so a non-selecting widget cannot drag the wrong stop
* Add dashed links between spectrum markers and typed marker scales to the shared spectrum sections (#4534)
* Add per-channel parameters to the 'Levels' node and make its midtones a gamma value (#4535)
* Add per-channel records and a gamma midtones value to the 'Levels' node, with a channel selector in its Properties panel
* Migrate the old 'Levels' midtones through its output range and bound a lone midtone marker by the track edges
* Use cargo workspace to remove duplicated version, license, and author fields (#4226)
Use cargo workspace to remove dublicated version, license and author fields
* Desktop: Switch to winit clipboard API (#4519)
* Desktop: Upgrade winit and port DnD to the new data transfer API
* Desktop: Read and write the clipboard via the winit data transfer API
* Add colorize and six hue ranges to the 'Hue/Saturation' node (#4536)
* Add colorize and six hue ranges to the 'Hue/Saturation' node
* Hide the 'Hue/Saturation' range rows while colorize is on, note the +100 saturation rule, and tidy two lints and a tooltip
* Add a saturation input to the 'Vibrance' node and rework both axes to work in linear light (#4537)
* Add a saturation input to the 'Vibrance' node and rework both axes to work in linear light
* Refine the sliders
* Clarify some comments
* Retire the 'Brightness/Contrast Classic' node with the 'Brightness/Contrast' classic toggle now shader compatible (#4538)
* New node: 'Photo Filter' to warm or cool an image by multiplying it with a filter color in XYZ (#4539)
* Add a "Use Tint" toggle to the 'Black & White' node and give its tint the Luminosity blend's clipping (#4540)
* Add a 'Use Tint' toggle to the 'Black & White' node and give its tint the Luminosity blend's clipping
* Fix the Black & White migration for a wired tint and gray out the tint when unused
* Rename the SpectrumInput widget to SliderInput (#4541)
Rename the 'SpectrumInput' widget to 'SliderInput'
* Make the ColorInput's gradient rendering strategy to use that of SliderInput (#4546)
Make the ColorInput's gradient rendering strategy to use that of SliderInput, fixing a flicker in Firefox when editing gradients
* Fix several bugs causing warning spam in the console (#4547)
* Refac: Extracted run match statements into functions && remove duplicate transform
* Fix: Added svg support as image in winit desktp calls
* Fix: Passed None instead of empty string if combined graphics is empty
* Add: Test to verify presence and sanity of svg in clipboard
* Port the clipboard SVG copy to the reworked runtime and keep TriggerClipboardWrite for plain text
* Paint copied layers in document order, place gradients once, and skip empty SVGs
---------
Co-authored-by: James Lindsay <[email protected]>
Co-authored-by: Dennis Kobert <[email protected]>
Co-authored-by: Keavon Chambers <[email protected]>
Co-authored-by: Timon <[email protected]>
* New node: 'L-System'
* New node: 'Turtle Path'
* Give 'L-System' arrow rules, computed chances, cuts, and a Max Symbols input
* Add half steps, scaling, tropism, randomness, polygons, and UV counters to 'Turtle Path'
* Make 'L-System' chances probabilities out of 1
* Give 'Turtle Path' fixed command letters and make `!` and `?` scale the width
* Extend `.` in 'Turtle Path' to place free points with a `kind`
* Add the History panel
* Send the History panel only through its per-frame check, borrow its history line and fold its line changes into one message
* Move the head for a History panel jump when alone too, and focus the name and tag inputs and close them when focus leaves
* Settle a node glide before a History panel line change and show a row's actions while it has focus
* Fix frontend lint errors
* Add live sessions and the Session panel
* Move comment
* Address the review findings on joining, guest undo, failed history steps and the panel layout
* Keep the undo note of a failed redo and let a promoted guest undo its unanswered step
* Drop the workspace layout version
* Rename 'Math f(x)' and 'Math f(…)' to 'Math Function' and 'Math Formula'
* Move the lone operator mode of 'Math Formula' into a new 'Math Aggregate' node
* New node: 'Math Running'
* Replace 'Copy to Points' and 'Assign Colors' with a family of 'Vary' nodes
* Resolve the type of Copy to Points content wired from a secondary output
* 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
* Draw Inspector header and layer button outlines as borders
* Draw single Inspector wires as one line
* Draw each Inspector section's outline as one border
* 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]>
* 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]>
* Patch widget layouts in place through reactive proxies so a diff only re-renders the widgets it changes
* Parse theme colors once and reuse one canvas for CSS color parsing
* Apply layout, ruler, scrollbar and cursor updates without waiting a tick so they share the frame's flush
* Skip layer structure updates that match the current structure instead of rebuilding the Layers panel
* 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
* 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
* 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