Commit Graph

114 Commits

Author SHA1 Message Date
Kevin Jahns
c20aa0387d small comment fix. closes #780 2026-05-28 18:41:36 +02:00
Kevin Jahns
ebae7a3ee2 properly attribute deleted content in events 2026-04-11 18:27:01 +02:00
Kevin Jahns
f983fb767b flatten, no more circular dependencies 2026-03-27 01:30:12 +01:00
Kevin Jahns
ee0b63b356 [Y.mergeUpdates] optimized for merging many updates 2026-02-27 01:08:22 +01:00
Kevin Jahns
65bc32f1ae attributions filtering, undo of contentIds 2026-01-10 23:53:38 +01:00
Kevin Jahns
ec11ef6f08 more refactoring 2025-12-30 20:24:59 +01:00
Kevin Jahns
69131b76c8 started refactor expose a single Yjs type only using lib0@v1 delta 2025-12-30 20:23:57 +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
91384b54bf [wip] refactor for lib0/delta v2 2025-10-20 02:14:02 +02:00
Kevin Jahns
92bab00678 be able to encode partial state with holes correctly 2025-07-25 16:08:42 +02:00
Kevin Jahns
8ef8ffc250 fix gc splice issues happening in y-quill 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
fc620617df lint & fix tests 2025-07-25 16:07:31 +02:00
Kevin Jahns
2daad96c12 implement idset.delete & idmap.delete 2025-07-25 16:06:02 +02:00
Kevin Jahns
6360297e33 doc maintains ds 2025-07-25 16:03:30 +02:00
Kevin Jahns
46347ee6ec rename DeleteSet=>IdSet and add utilities and perf improvements 2025-07-25 16:03:16 +02:00
Kevin Jahns
da3cb22147 use "insertSet" instead of computing state vectors in transactions 2025-07-25 15:58:25 +02:00
Kevin Jahns
cc9a857441 slightly optimize TreeWalker and integration process 2025-02-24 20:30:48 +01:00
Viktor Szépe
f18eab2dfe Fix typos 2025-01-03 18:11:43 +00:00
Kevin Jahns
8152cf81cb [#667] sanity checks for Yjs caveats. In dev_mode, objects inserted into Yjs can't be manipulated. 2024-10-04 21:23:59 +02:00
Kevin Jahns
1cb52dc863 fix Y.Text formatting issue - closes #606 2024-01-21 11:27:12 +01:00
Kevin Jahns
29270b5f3e fix "can't read origin of undefined" - fixes #417 2023-09-18 09:55:50 +02:00
Kevin Jahns
c77dedb68d bulk-merging structs - replaces #542, fixes #541 2023-07-17 14:29:54 +02:00
Kevin Jahns
981340139f skip iterating when there are no formatting items - replaces #547 2023-06-25 12:46:02 +02:00
Kevin Jahns
49f435284f lint 2023-04-03 14:10:26 +02:00
Kevin Jahns
ba96f2fe74 implement fix for #500. extends #515 2023-04-03 14:02:37 +02:00
Dominik Henneke
1674d3986d Restore deleted entries in a map 2023-04-03 14:02:37 +02:00
Kevin Jahns
df2d59e2fb UndoManager: fix special deletion case. closes #447 closes #443 2022-07-28 14:12:21 +02:00
Kevin Jahns
a22b3cdbc1 add option to UndoManager to ignore remote map changes. implements #390 2022-03-26 10:29:19 +01:00
Kevin Jahns
6b8cef29e2 address #398 2022-03-20 23:58:14 +01:00
Kevin Jahns
9f1548204a Merge pull request #376 from fson/yevent-target-type
Add more accurate typing for YEvent.target
2022-03-02 13:18:00 +01:00
Kevin Jahns
f08682ddfd Merge branch 'main' of github.com:yjs/yjs 2022-02-03 21:15:18 +01:00
Kevin Jahns
4cfa49d601 reproduce and fix issues #355 #343 #304 and closes #367 2022-02-03 21:10:24 +01:00
Ville Immonen
81a36a2762 add more accurate typing for YEvent.target 2022-01-15 14:22:17 +02:00
Yifeng Wang
51bb732606 fix minor typos 2022-01-05 01:20:57 +08:00
Kevin Jahns
9a7250f192 fix undoing of content containing subdocs 2021-11-19 13:47:10 +01:00
Kevin Jahns
4154b12f14 handle local/remote autoload edge cases 2021-11-19 13:27:14 +01:00
Kevin Jahns
995fbfa4cc Proper follow redones in nested redos - fixes #317 2021-10-14 14:59:26 +02:00
Kevin Jahns
da21fca334 add countable check to search_marker update 2021-05-25 21:23:12 +02:00
Kevin Jahns
6886881b76 fix #297 (length not updated) by updating search markers properly 2021-05-25 21:17:01 +02:00
Kevin Jahns
7bd764fba7 use non-explicit resolution for lib0 2021-05-14 18:53:24 +02:00
Kevin Jahns
275d52b19d implement diffUpdates with tests - #263 2021-01-29 18:18:29 +01:00
Kevin Jahns
0a40b541e8 test with all encoders 2020-12-29 16:59:27 +01:00
Kevin Jahns
fbbf085278 add mergeUpdates tests to comparison framework 2020-12-17 21:50:39 +01:00
Kevin Jahns
22aef63d8a add Skip struct 2020-12-16 21:08:18 +01:00
Kevin Jahns
f8341220c3 first working version that also considers holes in document updates - #263 2020-12-15 15:39:08 +01:00
Kevin Jahns
004a781a56 basic merge works. fixes first test #263 2020-12-13 16:24:43 +01:00
Kevin Jahns
3bb107504f fix superflous event happening in nested event system 2020-11-04 00:35:08 +01:00
Kevin Jahns
e9cb07da55 Failsafe when splitting surrogate pairs - fixes #248 2020-10-31 02:05:33 +01:00