* Place chains and stacks by relative offsets instead of their own placements
* Lay out the editor's node graph with the graph-layout crate
* Store chains and stacks as relative positions and migrate documents to them
* Trim comments
* Convert read nodes to relative positions in the format step
* Re-save the demo artwork with relative positions
* Append the position conversion to history as one interaction
* Address review comments on the position migration
* Format let chains as CI's rustfmt does
* Keep the dragged node's owners in place when a drag starts
* Keep absolute positions in documents with pending edits
* Fix read-only subgraphs allowing edit gestures and preview changes
* Make graph layer eye and lock buttons toggle on release or by dragging across them
* Fix New Layer creating stray nodes in the root graph when used in a subgraph
* Make dragging across the Layers panel's eye and lock buttons one undo step
* Fix blocked undo and stuck dragging after Shift-clicking a selected graph node
* Make the render node finish SVG renders without caller post-processing
* Remove read_back from the wgpu executor
* Cancel the SVG readback when the render node is dropped
* Move the SVG readback slot into a render node submodule
---------
Co-authored-by: Timon <[email protected]>
* Allow adjustments on any graphic, carried out where they're read
* Speed up leading adjustments by folding them into textures and solid paints
* Keep effects stamped on paint wires and correct the GPU rendering guide
* Fix missing overlays in SVG Preview and over-bright translucent overlays
* Make the Eyedropper sample a Vello render in SVG Preview on web too
* Fix raster exports depending on the viewport's render mode
* Require WebGL2 on web with a clear error and drop no-GPU fallbacks
* Report partial and fallback renders as their own render status
* Outline the viewport in yellow while it shows a partial render and in red for fallbacks and errors
* Preview History panel steps and go back to one on double click
* Autosave the current state while previewing a History panel step, and key its banners on the previewed step
* Undo and redo History panel head moves and move the head onto branches
* Persist the publish frontier with History panel head moves, refuse copies off the line, and warn on going back to an unknown step
* Repair the graph when the History panel removes a step or brings one back
* Keep output indices and newer chain bottoms in the History panel's repair, and give an input naming a removed node its earlier value
* Resolve layer outlines and path overlays against the render they're drawn over, so they stay on the artwork
* Trigger CI
* Make the Select tool's cage, pivot, compass rose, origin markers, and Path node outlines follow the render they're drawn over
* Tidy overlay comments and remove the local transform log, the magic Path input index, and duplicate transform lookups
* Follow rendered rotation and anchors in overlays, evaluate observer once
* Fix a missing font or image stopping the whole document from rendering
* Fix a font or image that fails to load leaving the canvas stale with no error
* Make proto nodes take their input and output names from their definitions
* Stop storing each proto node's interface on the node itself
* Take built-in subgraphs' interfaces from the catalog rather than the document
* Remove the copy of each node's interface from its stored metadata
* Remove per-node interface attributes from the document storage format
* Keep built-in subgraphs' interfaces out of undo rebuilds, incremental saves, and recovery copies
* Fix lost subgraph references in documents saved with node storage IDs
* Reconvert demo artworks to drop obsolete metadata and duplicate subgraphs
* Fix node ID collisions after loading outdated built-in subgraphs
* Fix CI and review issues in the node interface refactor
* Render overlays with Vello on web too, compositing them over the viewport artwork in the graph runtime
* Draw desktop overlays in the graph runtime too, compositing them over the artwork with Vello
* Remove the editor's gpu feature, since every build that includes the editor enables it
* Only let overlay wakes start a desktop runtime run when no frame is in flight
* Let document migrations write attributes of the anchor and the nodes they add
* Fix mismatched timestamps when document migrations restart history
* Fix the Data panel showing internal attributes in single-item tables
* Place the nodes document migrations add beside the node they replace by default
* Address review findings on migration node placement
---------
Co-authored-by: Dennis Kobert <[email protected]>
* Move layer path stamping out of 'Merge' and 'Artboard' to cover any node shown as a layer
* Fix layer path stamping panicking on an 'Extend' node shown as a layer
* Rename layer path stamping to writing
* Let migrations add reflection inputs
* Make 'Path' a single node instead of a subgraph holding a 'Monitor'
* Restore regression coverage for subgraph input narrowing through 'Memoize'
* Observe the content input of 'Path' nodes instead of special-casing them in the runtime
---------
Co-authored-by: Dennis Kobert <[email protected]>
* Support migrating built-in network definitions like proto nodes
* Reject added network definitions and fix review findings
* Fix the migration check failing on steps that name a network definition
---------
Co-authored-by: Keavon Chambers <[email protected]>
* Derive catalog node IDs from the entry's network ID
* Show built-in node contents read-only
* Guard read-only networks and re-ID copied networks
* Use runtime node IDs as storage IDs
* Keep the open network shown when undo replaces it
* Address review findings on read-only networks and storage IDs
* 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]>
* Add a document-loader crate for opening documents with migrations outside the editor
* Convert the demo artwork to gdd archives
* Report malformed legacy documents as an open error instead of panicking
* Keep the demo artwork list in graph-craft and open the demos at each caller
* Remove the legacy undo/redo snapshot stacks and undo through the gdd storage alone
* Tidy comments and naming in the storage undo and abort paths
* Forget a discarded cursor step so neither redo nor the History panel brings it back
* Fix bugs caused by redoing past the end
* Save as gdd by default
* Always save documents as zipped gdd archives with the .graphite extension and remove the storage round-trip validation
* Tidy comments and grouping in the gdd save and CLI open paths
* Keep .gdd-named CLI inputs on the archive path so a damaged file reports the archive error
* 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`