* Improve time complexity of identity node removal
* Code review
* Ensure all passthrough nodes are removed
* Fix double test with invalid passthrough node
* Update glam
* More work to avoid panics
* Clean up with new FallibleVec2Operations extension trait
* Fix compile error
* Fix typo
* Fix Nix compiling rust-gpu (#4621)
* Add a warning icon to Math node expressions with errors as tooltips
* Point at a parse error with carets under a repeat of the expression, as a compiler does
* Render fenced code blocks in tooltips and put the parse error snippet in one
* Quote tokens as code in chumsky's parse messages and in custom parser errors
* Report the parse error past an operator rather than the operator itself
* Add matrices to the math expression parser as a second sort beside values
* Add Transform input and output to the Math f(x) node
* Add ranges and boxes to the math expression parser with inside, clamp, and remap over them
* Add Transform lists to the Math f(…) node with reducers composing, averaging, and counting them
* Lex a number's trailing e as Euler's number unless an exponent's digits follow it
* Fix matrix inversion scaling, exact matrix powers, infinite shears, matrix means, kept axes, and the Transform default
* Make shared box parts flat, give composed regions their inner map's axes, and fix lone logic items, spaced ranges, and the Math f(…) tooltip
* Transpose across spaces, name fractional matrix powers, check matrix builtin arities when parsing, read range literals by their corners, and let host functions shadow matrix builtins
* Make inside and clamp hold a region's uncovered parts at zero, so a box contains only the points between its corners
* Require hosts to declare the functions they provide, name the region functions' syntax node after its builtin, and remap onto ranges with equal infinite corners
* Apply a matrix to the whole product after it, so M 2 v is M (2 v)
* Pin prefix NOT's precedence above products, comparisons, and AND with tests
* Rename inside to within, since a range's ends count and the geometry predicates with a point first use that name
* Keep a range's corners as written, so clamp orders an integer past the reals' limit exactly
* Give within a tolerance of a billionth of the region's scale, so a point a float error off an edge or a flat side counts
* Write a unit part as its basis alone, so the identity displays as [1;i;j;k]
* Add tests for product folds, mixed chains, remap, and rejected inputs
* Evaluate matrix operands, builder arguments, regions, and comparison chains on the stack instead of the heap
* Build the expression parsers once per thread, since building the combinator tree cost as much as parsing a short expression
* Compare a chain reducer's items by their order directly, and reject an item with no order rather than reading it as false
* Send a host-built list of builder arguments or regions past the stack buffers to the heap instead of rejecting it
* Extend the math expression parser's value ladder past complex numbers to quaternions
* Add a vector function family (dot, cross, rotate, slerp, and more) to the math expression parser
* Let hosts read a math expression result as a 1D to 3D vector or weighted particle
* Let the 'Math f(x)' and 'Math f(…)' nodes take and output Vec2 values
* Remove unfulfillable dead_code expectations from methods reached only through replay
* Route every network interface write through a single-writer store
* Keep the existing previewing behaviour and fix the review findings that remain
* Record what each store write changed and stage it into the working copy
* Fix the delta path's resource staging, batch liveness, and stale comparisons
* Keep batch resource liveness and load-time repairs consistent with what reaches storage
* Correct the delta documentation and stop persisting pinned nodes the network lost
* Swap a node's implementation in place instead of rebuilding the node
* Resolve network attributes through the same source as the IDs they name
* Resolve an implementation swap by timestamp and let an edit report whether it changed the value
* Add TODO notes that the raster filters' lengths should scale through the footprint instead of counting whole source pixels
* Standardize the node catalog's integer parameters on i64, replacing u32 and u64 with hard-bounded i64
* Retire the 'As u32' and 'As u64' nodes into 'As Integer' and upgrade stored unsigned values to I64
* Add an I64 tagged value as the node graph's integer storage type, with a whole-number widget for it
* Round half away from zero on every Number to Integer conversion instead of truncating
Lex the math expression parser's identifiers as Unicode identifiers
Names follow the `XID_Start XID_Continue*` rule of UAX #31, the same
one Rust spells, so letters from every script name a variable and
combining marks extend a name: a decomposed `é` is one name rather
than the constant `e` beside a stray mark. Digits of any script, lone
marks, invisible formatting characters like the right-to-left
override, and symbols including emoji can no longer begin a name,
which also leaves `#`, `$`, `~`, and `@` free to become namespace
prefixes once a host scope needs them. Rust's special case admitting a
leading underscore is deliberately not adopted.
Reads the character classes from unicode-ident, the table crate the
proc-macro stack already builds with, rather than hand-rolling the
ranges.
* Standardize on the 'nonzero' spelling in comments
* Fill small gaps in the math expression parser
Adds the unary plus operator, the `true` and `false` constants, the
`choose` and `pick` combinatorics functions, base-suffixed `logN`/
`rootN` function names with optional underscores and fractional bases
like `log3.25`, the typeset operator spellings (`−`, `×`, `⋅`, `÷`,
`∧`, `∨`, `¬`), and `Value` accessors reading results as `f32` and the
standard integer types. Constants match their lowercase spelling
exactly, since uppercase-initial names are reserved for matrices. The
`¬` spelling is the prefix logical not alone, never the postfix
factorial that `!` also spells, and punctuation never begins a name,
which leaves `#`, `$`, `~`, and `@` free to become namespace prefixes
once a host scope needs them.
Retires the `√` prefix operator, which is untypeable and duplicates
`sqrt()`, and removes the undocumented unitless `G` constant: its
9.80665 is the value of lowercase-g standard gravity under capital-G's
name, and gravity's proper home is the future unit system's `g`
acceleration unit.
Also covers the previously untested interaction between implicit
multiplication and unary minus with parenthesized operands (`2 (-3)`,
`-3(2)`) in the test suite.
* Fix the 'Mix' and 'Color Overlay' nodes to use spec-compliant math for the Hue/Saturation/Color/Luminosity blend modes
* Fix potential NaN
* Clip light brighter than white before the luminosity construction, and assert the clipped result
* New node: 'Color Lookup' for applying .cube, .3dl, .look, .csp, and .icc LUT files
* Add LUT ingest to the UI
* Add caching to the parsed LUT
* More code review fixes
* 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
* 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
* 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 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
* 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