Commit Graph
3124 Commits
Author SHA1 Message Date
Dennis Kobert 3902163e03 Resolve a batch of node positions in one downstream walk instead of one per node 2026-09-23 13:07:14 +00:00
Dennis Kobert 99824a70a9 Preview a node by redirecting the graph that is evaluated, not the document 2026-09-23 12:15:44 +00:00
Dennis Kobert c25410185c Answer the cycle question without writing the network 2026-09-23 11:31:05 +00:00
Dennis Kobert 93665c5e9d Give cache invalidation and per-peer view state their own accessors 2026-09-23 10:46:12 +00:00
Dennis Kobert ccb02ddf8d Make writing either parallel tree outside the store a compile error 2026-09-23 10:21:28 +00:00
Dennis Kobert 305cd02332 Stage what the store recorded instead of converting and diffing the whole document 2026-09-23 09:59:11 +00:00
Dennis Kobert 3394695fb9 Replay a recorded delta back into the interface without recording it again 2026-09-23 08:51:29 +00:00
Dennis Kobert 47f56b481c Store previewing and pinned order in the registry and stop rebuilding nodes to change their inputs 2026-09-23 08:13:16 +00:00
Dennis Kobert bdab64eb29 Record input arity and node entry writes, and route node type changes through the store 2026-09-23 07:29:09 +00:00
Dennis Kobert 0fe91cc0fd Record what each store write changed at the point of the write 2026-09-23 06:49:32 +00:00
Dennis Kobert 06672ddb39 Give each metadata field its own delta instead of diffing a wholesale copy 2026-09-23 06:27:06 +00:00
Dennis Kobert e060233d7c Record the interface restructure state and the open emission fork alongside the delta design 2026-09-22 21:00:23 +00:00
Dennis Kobert 70e0c51fae Index nodes by network and resource references once instead of rescanning the registry per removal 2026-09-22 20:52:57 +00:00
Dennis Kobert 3e46541ea0 Split shifting nodes into its selection, ordering, direction and settling phases 2026-09-22 20:48:21 +00:00
Dennis Kobert 526e760792 Name the phases of moving a layer into a stack and drop a measurement nothing read 2026-09-22 20:18:37 +00:00
Dennis Kobert 4749e2518f Name the policies set_input and the slot reorders were carrying inline 2026-09-22 19:39:54 +00:00
Dennis Kobert 07acbfad9f Carry a node's storage identity through the rebuild so it survives a document round trip 2026-09-22 18:58:09 +00:00
Dennis Kobert aca1805fcf Resolve node identities through one place, preferring a stored identity over a location hash
No node stores an identity yet, so every path still hashes and nothing changes. Minting needs
to land in one step across from_runtime, to_runtime, PathResolver and the rebuild, since a
node whose identity survives one path but not another silently changes id.
2026-09-22 15:50:21 +00:00
Dennis Kobert 35b9153f27 Name the invalidation rules and lift the frontend projections out of the query layer 2026-09-22 15:13:25 +00:00
Dennis Kobert 93ca25ebe5 Separate node graph geometry from the caches that store it 2026-09-22 14:58:54 +00:00
Dennis Kobert 6ef640c288 Turn each cache loader into a pure computation the slot stores itself 2026-09-22 14:49:01 +00:00
Dennis Kobert 0f21bbc337 Load transient caches through one load-on-miss helper instead of a per-slot ceremony 2026-09-22 14:24:03 +00:00
Dennis Kobert fee15b9048 Clear the workspace clippy warnings and shrink the message enum by boxing the mounted working copy 2026-09-22 14:12:17 +00:00
Dennis Kobert 6c52714194 Declare what a position change invalidates once instead of at each layout writer 2026-09-22 12:40:49 +00:00
Dennis Kobert f5f1b09eec Write node fields through a resolved cursor and close the raw tree accessors 2026-09-22 12:40:49 +00:00
Dennis Kobert 5528af9617 Write inputs and node entries through the store instead of the two trees directly 2026-09-22 12:40:49 +00:00
Dennis Kobert 1863e9ea67 Route import and export signature edits through paired store primitives 2026-09-22 12:40:48 +00:00
Dennis Kobert ea17f690a2 Derive node positions from layout metadata instead of click target geometry 2026-09-22 12:40:48 +00:00
Keavon Chambers 6d3951b26f Record the runtime delta design context and the storage-driven undo follow-up plan 2026-09-22 11:56:12 +00:00
Keavon Chambers 225c2cde98 Document the runtime delta modules where understanding needs it 2026-09-22 11:56:12 +00:00
Keavon Chambers 3799e55491 Adopt batch-scoped delta construction with shared removal and resource context, and carry visibility as a structural delta 2026-09-22 11:56:12 +00:00
Keavon Chambers 74a80b61bd Rework the runtime delta experiment to the agreed shape: graph-craft structural deltas, an editor metadata wrapper, and diff-derived metadata ops 2026-09-22 11:56:12 +00:00
Keavon Chambers 951005e5cf Expose scoped conversion, path ID derivation, and computed-op staging from the storage layer 2026-09-22 11:19:19 +00:00
Keavon Chambers d7ae6029e0 Extend the math expression parser's factorial past the whole numbers through the gamma function (#4570) 2026-09-22 00:05:35 -07:00
Keavon Chambers 343710b623 New node: 'Points to Vector' 2026-09-21 22:30:07 -07:00
Keavon Chambers f872c5cd57 New nodes: 'Math f(x)' and 'Math f(…)' (#4569)
Add the Math f(x) and Math f(…) nodes
2026-09-21 20:19:29 -07:00
Keavon Chambers 626956c950 Replace the math expression parser's % operator with a floored mod() function (#4568) 2026-09-21 17:10:08 -07:00
Keavon Chambers b22bbf6d95 Add bool-to-number auto conversion, rename 'As f64' to 'As Number', and add 'Is Nonzero' and 'As Bool' nodes (#4567)
Embed booleans as numbers across wire conversions, add the As Bool and Is Nonzero nodes, and rename As f64 to As Number
2026-09-21 15:41:59 -07:00
Keavon Chambers 75117e8d6b Polish the UX of docking to the center of a panel so it forces edges when center is invalid 2026-09-21 14:31:25 -07:00
Keavon Chambers 95672018b0 Require exactly 0/1 for bools and only-ascending-or-descending comparison chains in the math expression parser (#4566)
Require exact truth values in math expression logic and read comparison chains as one predicate
2026-09-21 14:22:42 -07:00
Keavon Chambers d0fb9a1efc Add magnitude bars to the math expression parser (#4565)
Add magnitude bars to the math expression parser, with abs() acting on each part

Magnitude bars `|x|` give the magnitude on every rung, with `|`
opening where an operand is expected and closing where an operator is,
and `||` reading as Or unless two magnitudes are open, while `abs()`
stays the absolute value of each part. The `real()`, `imag()`, and
`arg()` functions are removed in favor of the matrix literals and
`angle()` the specification defines for those readings.
2026-09-21 12:46:37 -07:00
Keavon Chambers f0622d62b6 Allow the math parser's expression results to become complex instead of NaN (#4564)
Make math expression results climb into the complex plane instead of ever producing NaN

Every value is a quaternion in principle, so narrower storage is never
observable: a result whose imaginary part is zero is the real number,
`-0` is `0`, and a real input whose answer leaves the real line climbs
into the complex plane (`sqrt(-4)` is `2i`, `ln(-1)` is `iπ`, `asin(2)`
its complex value) instead of producing NaN. No operation returns NaN
at all: an indeterminate form like `0/0` or `∞ - ∞` is an evaluation
error, as is a NaN arriving through a host binding at its point of use.
2026-09-21 11:58:25 -07:00
Keavon Chambers 2da22f2458 Add variadic statistics functions to the math expression parser (#4563)
Add variadic statistics to the math expression parser
2026-09-21 03:33:37 -07:00
Keavon Chambers 849e08829d Add math parser support for shadowing builtin identifiers and introduce \ as a prefix to reach the builtins (#4562)
Shadow the constants behind case-sensitive bindings, with the `\` prefix reaching the builtin

Constants resolve at evaluation time, after the environment, so a
binding of any spelling, word or typeset symbol, shadows the builtin of
exactly that spelling, and a host-supplied function likewise shadows a
builtin function. The `\` prefix, in LaTeX's habit, names the language's
own constant or function regardless of bindings (`\pi`, `\e`, `\sin`),
and is an error when no builtin has that name.
2026-09-21 00:46:26 -07:00
Keavon Chambers 679421ec80 Make the math parser allow a number's implicit multiplication after a non-number operand (#4561) 2026-09-20 23:31:39 -07:00
Keavon Chambers 9a925d16e5 Fix Unicode handling in the math expression for identifiers and infinity (#4560)
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.
2026-09-20 23:04:57 -07:00
Keavon Chambers e49c707524 Add combinatorics functions and base-suffixed logs to the math expression parser, and rework its constants (#4559)
* 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.
2026-09-20 21:32:23 -07:00
Keavon Chambers 506690d109 Fix the 'Mix' and 'Color Overlay' nodes to use spec-compliant math for the Hue/Saturation/Color/Luminosity blend modes (#4558)
* 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
2026-09-20 18:55:30 -07:00
Keavon Chambers 4813fe39b0 New node: 'Lorem Ipsum' and generator library (#4046) 2026-09-20 02:18:49 -07:00
Keavon Chambers 6e44a74254 Split apart PortfolioMessage into several sub-messages (#4555)
* Split apart PortfolioMessage into several sub-messages

* Refresh the source group's active tab after a panel split, keep recovered document file names unique, and make the failed documents state private
2026-09-19 20:29:31 -07:00