297 Commits

Author SHA1 Message Date
Kevin Jahns
933111f75d fixed nested delta edge case 2025-12-07 02:13:04 +01:00
Kevin Jahns
b2df311fce fixed all tests & proper diff /w attribution in nested deltas 2025-12-07 01:21:19 +01:00
Kevin Jahns
804011160a implement diffDocsToDelta 2025-11-27 19:59:26 +01:00
Kevin Jahns
d7b072e095 add teleportal to the list of providers 2025-11-25 11:19:50 +01:00
Kevin Jahns
03b05423b2 bump deps & make publishable 2025-11-19 13:01:54 +01:00
Kevin Jahns
a4aa2f87bf type rework, updates are now Uint8Array<ArrayBuffer> 2025-11-18 00:26:25 +01:00
Kevin Jahns
5f347730f9 [readUpdateIdRanges] and refactors 2025-11-17 23:59:01 +01:00
Kevin Jahns
b1b9552855 add idmap encoding benchmark 2025-11-17 14:55:35 +01:00
Kevin Jahns
19b5134604 fix all tests 2025-11-03 18:13:34 +01:00
Kevin Jahns
2f7895e5ce fixes and more tests for delta representation on abstract types 2025-10-30 03:26:24 +01:00
Kevin Jahns
61e3459745 lint 2025-10-29 02:43:08 +01:00
Kevin Jahns
584ad5fc9a bump deps and use new delta format 2025-10-28 17:51:10 +01:00
Kevin Jahns
57bc4d3f42 lint 2025-10-23 13:53:49 +02:00
Kevin Jahns
c9829b0993 fixed most tests for delta v2 migration 2025-10-21 16:31:59 +02:00
Kevin Jahns
91384b54bf [wip] refactor for lib0/delta v2 2025-10-20 02:14:02 +02:00
Kevin Jahns
e6ab2bbc12 major update on the (nested) event system. created dedicated delta classes to represent changes and content representations on all types. 2025-07-25 16:09:13 +02:00
Kevin Jahns
72393e6ce8 work on new deltas with modifiers 2025-07-25 16:08:42 +02:00
Kevin Jahns
92bab00678 be able to encode partial state with holes correctly 2025-07-25 16:08:42 +02:00
Kevin Jahns
a76d6e1c0e [skip allowed struct in yjs] fixed all tests 2025-07-25 16:08:42 +02:00
Kevin Jahns
78fb8d0b0a fixed another splicing issue with skips 2025-07-25 16:08:42 +02:00
Kevin Jahns
f41e633041 work on allowing skips in struct store 2025-07-25 16:08:42 +02:00
Kevin Jahns
e62e1d7c53 implement StructSet abstraction 2025-07-25 16:08:42 +02:00
Kevin Jahns
f1ae2a78a1 suggestion fixes 2025-07-25 16:08:40 +02:00
Kevin Jahns
90514dd51b more attribution fixes for y-quill 2025-07-25 16:08:13 +02:00
Kevin Jahns
34b90fcdd6 [attribution] fixes for suggestion support in y-quill 2025-07-25 16:08:12 +02:00
Kevin Jahns
5b29e54a59 be able to insert into attributed content 2025-07-25 16:07:31 +02:00
Kevin Jahns
3fd60a2017 first tests on attributed events 2025-07-25 16:07:31 +02:00
Kevin Jahns
e1ef2210d9 only have a single getDelta implementation for events and retrieving content 2025-07-25 16:07:31 +02:00
Kevin Jahns
4d582748c1 more generic gedDelta implementation (could be used for events) 2025-07-25 16:07:31 +02:00
Kevin Jahns
b646654df1 be able to intersect idmaps and idsets 2025-07-25 16:07:31 +02:00
Kevin Jahns
fc620617df lint & fix tests 2025-07-25 16:07:31 +02:00
Kevin Jahns
cb191e744e [y.text] event returns delta - fix a bunch of bugs 2025-07-25 16:07:31 +02:00
Kevin Jahns
0efa4dd2a7 [diffing] event returns delta class object, migrate away from legacy deltas, work on snapshots using attribution manager. WIP 2025-07-25 16:07:28 +02:00
Kevin Jahns
7528541713 bump y-protocols 2025-07-25 16:06:39 +02:00
Kevin Jahns
d8143efb12 fix nicks test 2025-07-25 16:06:02 +02:00
Kevin Jahns
a43f1983c5 [AttributionManager] auto-updates on doc changes and can destroy itself 2025-07-25 16:06:02 +02:00
Kevin Jahns
2daad96c12 implement idset.delete & idmap.delete 2025-07-25 16:06:02 +02:00
Kevin Jahns
df4a424793 lint 2025-07-25 16:03:30 +02:00
Kevin Jahns
af2ccc741f add an simple attributions example 2025-07-25 16:03:30 +02:00
Kevin Jahns
527e382f8a implement createAttributionsManagerFromDiff that automatically handles gc 2025-07-25 16:03:30 +02:00
Kevin Jahns
1722c8a36f Implement & test getContentDeep for all types. Improve ability to compare things using lib0/traits. 2025-07-25 16:03:30 +02:00
Kevin Jahns
4f840247a3 implement and test getContent on all types 2025-07-25 16:03:30 +02:00
Kevin Jahns
b3171c535f getContent on Y.Map 2025-07-25 16:03:30 +02:00
Kevin Jahns
d399756eec more work on optimizing. Improve the test case. 2025-07-25 16:03:30 +02:00
Kevin Jahns
f5e2a4d4f4 add test case for finding a type in another ydoc 2025-07-25 16:03:30 +02:00
Kevin Jahns
fbfe0e0eeb working on performance 2025-07-25 16:03:30 +02:00
Kevin Jahns
69786f7ee5 add another example and create a writeup for attributing content. 2025-07-25 16:03:30 +02:00
Kevin Jahns
768d6b1cb2 perf tests toDelta vs getContent 2025-07-25 16:03:30 +02:00
Kevin Jahns
7de9476e27 attribution tests for adding and removing attributes 2025-07-25 16:03:30 +02:00
Kevin Jahns
3c37699392 basic attribution test working 2025-07-25 16:03:30 +02:00