76 Commits

Author SHA1 Message Date
Kevin Jahns
a4aa2f87bf type rework, updates are now Uint8Array<ArrayBuffer> 2025-11-18 00:26:25 +01:00
Kevin Jahns
19b5134604 fix all tests 2025-11-03 18:13:34 +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
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
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
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
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
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
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
Kevin Jahns
6671071213 first test case for attributions 2025-07-25 16:03:30 +02:00
Viktor Szépe
f18eab2dfe Fix typos 2025-01-03 18:11:43 +00:00
Kevin Jahns
6beab79eb4 add tests for falsy formatting attributes - #619 2024-03-01 11:39:31 +01:00
Kevin Jahns
da8bacfc78 add tests for complex Y.Text deltas 2023-03-10 12:53:48 +01:00
Kevin Jahns
bf338d8040 fix attribute update issue - fixes #503 2023-03-02 19:08:01 +01:00
Kevin Jahns
1c999b250e fix #474 - formatting bug 2023-02-14 16:19:22 +01:00
Kevin Jahns
e9189365ee add debugging case for #474 - unfininished 2023-02-13 14:27:57 +01:00
dkuhnert
abf3fab1b6 cleanup redundant text attributes when delete attributes
fixes #392
2022-02-23 14:53:31 +01:00
Kevin Jahns
24eddb2d75 fix concurrent formatting / cleanup bug 2022-02-04 12:41:13 +01:00
Jeremy Nicholl
84e95f11cb Fix formatting 2022-02-03 15:19:57 -05:00
Jeremy Nicholl
164b38f0cd Avoid copying attribute map when deleting
Calling cleanupFormattingGap should not make a copy of the
attributes because it needs to be able to update them.
2022-01-31 14:49:16 -05:00
Kevin Jahns
2ec19defcb export testHelper esm properly 2021-11-06 15:55:59 +01:00
Kevin Jahns
8abf5b85ff fix #344 - formatting attribute assign bug 2021-11-06 14:35:04 +01:00
Kevin Jahns
085dda4cbd fix formatting test case #326 2021-10-14 16:09:23 +02:00
Kevin Jahns
b2761b50f2 more complex embed test 2021-09-25 11:58:39 +02:00
Kevin Jahns
0ec67170d3 allow types as Y.Text embeds 2021-09-25 11:51:08 +02:00
Kevin Jahns
71d8da6513 force that transactions that apply document updates are set as non-local transatctions. Fixes #307 2021-05-31 17:54:24 +02:00
Kevin Jahns
7bd764fba7 use non-explicit resolution for lib0 2021-05-14 18:53:24 +02:00
Kevin Jahns
3a7a324a24 fix #291 2021-04-13 22:05:30 +02:00
Kevin Jahns
04cff60931 add performance test for updates 2021-02-08 13:46:22 +01:00
Николай Митин
263cc0856e Implemented bug test 2021-01-31 18:17:10 +03:00
Kevin Jahns
edc1f9418f reproduce #271 2021-01-09 14:45:51 +01:00
Kevin Jahns
e9cb07da55 Failsafe when splitting surrogate pairs - fixes #248 2020-10-31 02:05:33 +01:00
Kevin Jahns
6f9a2c9df7 implement before/afterAllTransactions 2020-08-07 17:47:20 +02:00
Kevin Jahns
68109b033f lint - fixes #223 2020-07-22 12:32:34 +02:00
Kevin Jahns
38eb2e502c stricter searchMarker filter 2020-07-16 20:44:54 +02:00
Kevin Jahns
6e3b708599 implement search-marker prototype (limited usage for now) 2020-07-15 22:03:02 +02:00