Dennis Kobert
d4bddbd067
Rewind both registry zones on undo and stop silent undo at the published frontier
2026-09-23 15:11:14 +02:00
Dennis Kobert
e061fbc9f0
Test the room framing directly and add targeted delivery to the mock network
2026-09-23 14:44:18 +02:00
Dennis Kobert
bbe33f34fc
Generate resource-lifecycle ops and re-examine resource references after retirement
2026-09-23 14:38:37 +02:00
Dennis Kobert
53c54333fe
Assert history never drops a retired delta and generate export and input-attribute ops
2026-09-23 14:27:15 +02:00
Dennis Kobert
089efc9d27
Retire a prefix of the hot log in the simulation, not always all of it
2026-09-23 13:43:52 +02:00
Dennis Kobert
701d68d067
Retire hot ops by per-author sequence instead of Lamport counter
2026-09-23 13:39:40 +02:00
Dennis Kobert
4f9657a4a1
Resurrect a removed entity from the same delta on every peer
2026-09-23 12:59:59 +02:00
Dennis Kobert
815f9e9dba
Refold the registries when a merge lands deltas out of canonical order
2026-09-23 12:59:50 +02:00
Dennis Kobert
b7c77560d2
Resurrect into the retired snapshot from history only
2026-09-23 11:16:01 +02:00
Dennis Kobert
af9c5dd65d
Defer hot ops whose referent has not arrived instead of dropping them
2026-09-23 11:09:06 +02:00
Dennis Kobert
a835005d3c
Ignore a replayed hot op already held instead of keeping a second copy
2026-09-23 10:54:03 +02:00
Dennis Kobert
3a2ecdc501
Apply remote hot ops one at a time so a failure cannot lose the batch
2026-09-23 10:37:20 +02:00
Dennis Kobert
72fe9269a3
Greet new peers before handling their batch and keep the hot log free of retired ops
2026-09-23 10:30:34 +02:00
Dennis Kobert
db70c1981d
Generate node ops in the sync simulation
2026-09-23 09:48:19 +02:00
Dennis Kobert
04f8aa0237
Recognize retired hot ops and re-announce lost ones on membership changes
2026-09-23 09:37:17 +02:00
Dennis Kobert
8ebc85746e
Cover resources and reconnects in the sync simulation and fix the bugs it found
2026-09-22 23:05:19 +02:00
Dennis Kobert
9526a4e726
Keep asking peers for missing resources and resolve them through the byte store
2026-09-22 17:19:58 +02:00
Dennis Kobert
857eb26cbd
Rebuild the interface synchronously after remote changes
2026-09-22 17:19:43 +02:00
Dennis Kobert
1d4d0544cc
Stage local diffs against the runtime base and keep declarations in the working copy
2026-09-22 13:37:52 +02:00
Dennis Kobert
6ed938f62b
Add document-live crate for hosting or following a session in memory
2026-09-22 13:37:21 +02:00
Dennis Kobert
6d23f7c2f4
Add causal broadcast, mock transport, and convergence simulation to peer-transport
2026-09-22 13:37:03 +02:00
Dennis Kobert
53a0c1548d
Resurrect from hot-log removals and make merge batches self-consistent
2026-09-22 13:37:03 +02:00
Dennis Kobert
e2fec54ced
Wire Gdd into peer-transport as host or guest
2026-09-22 13:37:02 +02:00
Dennis Kobert
e92ca26fd2
Add peer-transport crate for p2p sync of hot ops and retired history
2026-09-22 13:37:01 +02:00
Dennis Kobert
5d70619c4c
Add history negotiation helpers and fast-forward merge to graph-storage
2026-09-22 13:37:01 +02:00
Dennis Kobert
69398a6703
Make GDD based undo syncronous by caching protonode declarations ( #4571 )
...
* Make gdd based undo syncronous by caching protonode declarations
* Address review comments
2026-09-22 11:32:12 +00:00
Timon
c6d6f9f8be
Use cargo workspace to remove duplicated version, license, and author fields ( #4226 )
...
Use cargo workspace to remove dublicated version, license and author fields
2026-09-15 10:36:17 +00:00
Timon
f88896a887
Desktop: Stop compiling the editor into the wasm wrapper ( #4348 )
...
* Make wasm wrapper not depend on editor on native
* Introduce pkg-native
* Fix tests
* Fix fmt
* Correct span and make cargo fmt work inside editor_commands block
* Review
* Fix lint
2026-07-18 10:04:07 +00:00
Timon
dc813e35fc
More consistent document crate names ( #4323 )
...
* More consistent document crate names
* Fix fmt
* Fix ASCII art diagrams
* rename document-graph to document-graph-storage
2026-07-15 12:25:12 +00:00
Dennis Kobert
de11d29d8e
Add document-format crate ( #4234 )
...
* Add document-format crate
* Adapt document-format to merged graph-storage and consolidate errors
* Fix resource write ordering, codec error masking, and export docs
* Remove document-format RFC; tracked in a dedicated PR
* Restructure document-format into gdd/persist/export/resource modules
Split the 963-line lib.rs by responsibility: persist path into persist.rs, resource I/O into resource.rs, export engine into export.rs. Rename the GddV1 layout struct to GddV1Layout and add a GddV1 = Gdd<GddV1Layout> alias.
* Feature-split document-format and graph-storage for minimal builds
* Address PR review: O(1) history-delta lookup and no-default-features test build
* Address PR review: propagate apply_hot_op persist error and assert resource hash
* Make decompression from archive streaming
* Share archive export body between export and export_to_bytes
* Review cleanup
* Export documents with un-retired hot ops losslessly
* Persist last_broadcast_rev in session.json, drop unused last_retired_at
* Move peer_id from manifest to session.json
* Rename gesture to interaction in document-format storage layer
2026-06-21 12:35:47 +00:00
Dennis Kobert
b1d8ac0e64
Add History type and merge-commit model to graph-storage ( #4238 )
...
* Add History type and merge-commit model to graph-storage
* Add History::merge with canonical-sort convergence to graph-storage
* Append merge delta without re-sorting the whole history
* Resurrect across merges by searching all ancestors, not the primary chain
2026-06-16 15:02:48 +02:00
Dennis Kobert and Timon
b56af15e5e
Add graph-storage crate ( #4198 )
...
* Add graph-storage crate
* Split graph-storage lib.rs into smaller modules
* Make graph_craft/core_types dependency optional
* Fix CRDT correctness issues flagged in graph-storage PR review
* Treat trailing empty export slots as value-equal in Network::value_equal
* Address graph-storage review: parameterize CrdtError, reject hot-log corruption, drop LamportClock Default
* Address graph-storage review: fix root-delta history walk, validate cross-network refs, make compute_deltas deterministic, harden Priority, index nodes by network
* Address graph-storage review: sort sources on deserialize, treat inputs_attributes length as structural, dedupe demo-artwork loader
* Add opt-in Delta rev validation, dedup resource sources on deserialize, fix doc grammar
* Persist scope injections through storage; harden gesture-end and embedded-source checks
* Review
* Review
* Review
* Use new types for NodeId and NetworkId
* Adress minor review comments
---------
Co-authored-by: Timon <[email protected] >
2026-06-13 16:47:04 +00:00
Dennis Kobert and Timon
6fe1af3afe
Add document-container crate ( #4191 )
...
* Add document-container crate: container backends and archive codecs
* Address PR review: path/prefix split, safe size casts, OPFS stream aborts
* Address PR review round 2: mmap read check, UTF8 entry names, prefix normalization
* Make MmappedBytes::new fallible so mmap reads can't silently degrade
* Address PR review round 3: backend contract uniformity (symlinks, remove, list)
* Apply symlink-component check to FolderBackend listing paths
* Address PR review: idempotent OPFS delete logging, tar default-features, shared entry-size cap
* Fix validate_path doc: dotfiles pass, CurDir/ParentDir rejected
* Omit symlink entries from FolderBackend listings for consistency with resolve
* Preserve zip I/O errors and reject non-canonical paths in validate_path
* Extend archive apis to return the archive writer
* Rename document/document-container directory to document/container
* Add archive format sniffing and deserialize_auto
* Drop temporal hedge from checked_entry_size comment
* Tighten verbose doc comments in document-container
* Coalesce consecutive same-path OPFS appends to avoid O(n^2) file copies
* Review
* Update document-container for the deserialize/store_non_blocking renames
---------
Co-authored-by: Timon <[email protected] >
2026-06-05 13:28:02 -04:00