* 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`
* Store large node input values as delta-compressed blobs and send blob deltas to peers
* Restore runtime base staging, shorten blob comments, and tidy blob code
* Address review comments on blob conversion, storage, export and simulation coverage
* Reject blob deltas that decode past the packet size limit
* Ungate local retired-step undo and remote changes from the network feature
* Publish a restored interaction only when a replica is connected
* Fix#4618: Prevent colinear handles when extending from points connected to multiple segments
* Add test for extending from points connected to multiple segments
* Assert new segment handle remains at the anchor
* Extract get_anchor_near and get_segment_between helpers; add single-segment colinear handle test
Address review nits from 0HyperCube:
- Extract repeated point-lookup into a reusable get_anchor_near helper
- Extract repeated segment-lookup into a reusable get_segment_between helper
- Add test verifying single-segment anchors preserve colinear handles
* Verify colinearity with is_almost_colinear and add get_handle_at helper
---------
Co-authored-by: Dennis Kobert <[email protected]>
* Fix grouping layers leaving the layers below the group overlapping its contents in the graph
* Guard the content parent walk against cycles and fanned-out layer outputs
* 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
* fix: Very long text does not forcibly wrap at its max width
* Test that a word longer than the max width breaks to stay within it
---------
Co-authored-by: Dennis Kobert <[email protected]>
* Add graphene-cli host, join and watch
* Trim the live CLI to the migrating opener, the graph output it renders and fewer comments
* Log a failed session transport, exit the watcher cleanly, recover a lost surface and clear answered resource requests
* 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