Commit Graph

44 Commits

Author SHA1 Message Date
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
301d3836ab simplifying type system 2025-12-30 20:22:52 +01:00
Kevin Jahns
2daa2ae18b expose getPathTo and support custom attributionManager/renderer in relativePosition transformer 2025-12-30 19:18:41 +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
658bd38371 getContent returns editable delta yjs/y-prosemirror#203 2025-11-18 16:06:07 +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
57bc4d3f42 lint 2025-10-23 13:53:49 +02:00
Kevin Jahns
1ce8154d64 fixed several v2 issues 2025-10-22 23:25:30 +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
5000fe58f9 export createDelta 2025-07-25 16:08:42 +02:00
Kevin Jahns
fc620617df lint & fix tests 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
2daad96c12 implement idset.delete & idmap.delete 2025-07-25 16:06:02 +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
Matt Krick
783a7c4c1b remove newValue from YEvent 2025-07-09 17:02:57 -07:00
Kevin Jahns
0678ed1eb5 fix event.path in observeDeep - closes #457 2024-06-10 12:18:16 +02:00
Kevin Jahns
1cb52dc863 fix Y.Text formatting issue - closes #606 2024-01-21 11:27:12 +01:00
Kevin Jahns
90f2a06b5e throw error when event changes are computed after a transaction 2023-06-27 13:20:53 +02:00
Kevin Jahns
885a740470 heavily improve performance when there are many events 2023-06-15 13:09:30 +02:00
Kevin Jahns
92bad63145 add docs: tr.changes should only be computed during the event 2023-03-09 18:44:43 +01:00
Ville Immonen
81a36a2762 add more accurate typing for YEvent.target 2022-01-15 14:22:17 +02:00
Kevin Jahns
0ec67170d3 allow types as Y.Text embeds 2021-09-25 11:51:08 +02:00
Kevin Jahns
7bd764fba7 use non-explicit resolution for lib0 2021-05-14 18:53:24 +02:00
Kevin Jahns
77958da657 unify Y.Array & Y.Text deltas so event.changes.delta is equal to event.delta 2021-03-21 21:31:28 +01:00
Kevin Jahns
7bcd4a828d Create new Pos API - #259 2020-11-16 12:40:18 +01:00
rideg
4d48224518 Add typing 2020-08-24 09:57:38 -07:00
Kevin Jahns
5293ab4df1 Improve memory usage by omitting the ItemRef step and directly applying the Item 2020-06-09 00:53:05 +02:00
Kevin Jahns
6cd9e2be32 lint 2020-01-22 16:42:16 +01:00
Kevin Jahns
66d500f08d YEvent: consider case that item was added & removed in the same transaction 2019-09-30 11:10:03 +02:00
Kevin Jahns
bb1c0b809f implement snapshot & event.changes 2019-09-03 16:33:29 +02:00
Kevin Jahns
31ff7ac78c improve jsdoc comments 2019-04-11 13:22:59 +02:00
Kevin Jahns
90b3fa9dd9 fixed merging and adapted writeStructs to write end of message 2019-04-07 12:47:04 +02:00
Kevin Jahns
1b17b5e400 fixed 10 tests 2019-04-06 13:00:32 +02:00
Kevin Jahns
e56899a02c after refactor - some tests are working again 2019-04-05 00:37:09 +02:00
Kevin Jahns
30bf3742c9 add internals file and use it to organize imports 2019-04-04 19:35:38 +02:00
Kevin Jahns
8dbd2c4696 restructure EventHandler 2019-04-04 13:50:00 +02:00
Kevin Jahns
6578727c9c fixed all type issues 2019-04-03 13:23:27 +02:00
Kevin Jahns
92ca001cdc implement getMap, getArray, getXml, .. 2019-04-03 03:08:10 +02:00
Kevin Jahns
415de1cc4c all YArray.tests type fixes 2019-04-03 02:30:44 +02:00
Kevin Jahns
d9ab593b07 prelim refactor commit 2019-03-26 01:14:15 +01:00
Kevin Jahns
75f4a0a5f0 restructuring the project 2019-03-01 23:28:11 +01:00