* Add lavapipe gungraun benchmarks for adding a brush stroke to a rendered layer
* Give each benchmarked brush stroke its own group, with colors once around the color wheel and slightly varied settings
* Group the benchmarked brush strokes eight to a style, with the added stroke continuing the top group
* Build the brush document benchmark's runtime without a clock, which master's AsyncRuntime doesn't take
* Clone the benchmarked brush layer before measuring, explain the document's node ids and keep the sample counts private
* Leave the brush benchmarks out of a PR's profiling until its baseline commit has them
* Fold the node-level brush benchmark into the document one, measuring a cold render alongside adding a stroke
* 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
* 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: 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
* 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'
* Compile the definitions table directly instead of inlining it before preprocessing
* Resolve scope inputs against each instance's enclosing scopes, specializing entries whose contexts differ in type
* 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
* Collapse network locations to a table entry and drop inline networks from document state
* Lift legacy inline networks before the migrations and reject missing entries in locate
* Record the network location of each delta at write time
* Lift inserted networks into the definitions table and stage table entries incrementally
* Stage the resources held by table entry exports
* Track resources written into exports earlier in the batch
* Store the definitions table one to one and lift nested networks into it
* Address review feedback on the definitions table storage
* Fix the CLI build and log expected staging fallbacks at debug level
* Shorten and simplify comments
* Reject definition cycles when converting to storage
* Let a synchronous node take its SourceId with #[source_id]
* Add the vectorize node, tracing with ollev in time slices that show partial scenes until the trace is done
* Take ollev from its git repository
* Take ollev at 7ca3452 and hold the vectorize node's trace in the node, showing its first look at once and a newer scene each second
* Take ollev at 803e9b6 and default the vectorize node to its quick stages
* Trace each vectorize slice for 10 ms on the runtime clock, show the newest scene in every evaluation, and drop the request for the next slice with its trace
* Switch ollev to crates.io release
* Clean up the vectorize node: collect lists and paths with iterators, simplify the test helpers, and trim comments
* Drop the trace of an emptied image and reject #[source_id] on data fields
* Improve panic safety and turn max pixel count into memory limit
* Hand ollev the raster without copying it, keep a failed trace's error, and name the no-limit case in the browser error
* 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