228 Commits

Author SHA1 Message Date
Bartosz Sypytkowski
535bcc3424 added tests for quoting multiple elements in arrays 2023-08-31 19:15:17 +02:00
Bartosz Sypytkowski
5415565cf0 renamed YArray.link -> YArray.quote 2023-08-31 19:15:17 +02:00
Bartosz Sypytkowski
cbdbf2ccc1 fixed remaining weak link tests 2023-08-31 19:15:17 +02:00
Bartosz Sypytkowski
88883a7402 moved linkedBy reference out of Item into StructStore 2023-08-31 19:15:17 +02:00
Bartosz Sypytkowski
75853433d9 fixed missing deps for linked content 2023-08-31 19:15:17 +02:00
Bartosz Sypytkowski
c7f069318e even more delayed visitedLink initialization in event bubbling 2023-08-31 19:15:17 +02:00
Bartosz Sypytkowski
6e95c19b3e prevent infinite loops when deepObserve is called over links with circular references 2023-08-31 19:15:17 +02:00
Bartosz Sypytkowski
cc3ca51d6a make WeakLink event propagation bubble up 2023-08-31 19:15:17 +02:00
Bartosz Sypytkowski
0e0d626220 deep event propagation over linked elements 2023-08-31 19:15:17 +02:00
Bartosz Sypytkowski
6bbb6aca74 working flat observers over arrays + test 2023-08-31 19:15:17 +02:00
Bartosz Sypytkowski
e50db9e123 reimplemented WeakLink as an AbstractType 2023-08-31 19:15:17 +02:00
Bartosz Sypytkowski
6f9db68f9a renamed WeakLink -> YWeakLink + YWeakLinkEvent 2023-08-31 19:15:17 +02:00
Bartosz Sypytkowski
c6640fae5b more thorough tests 2023-08-31 19:15:17 +02:00
Bartosz Sypytkowski
16556fd8a1 simplified model for weak links 2023-08-31 19:15:17 +02:00
Bartosz Sypytkowski
0d9de28609 WeakLink: generally working except events 2023-08-31 19:15:17 +02:00
Bartosz Sypytkowski
1b6b69f056 first tests passing 2023-08-31 19:15:16 +02:00
Bartosz Sypytkowski
608a309f2c more work 2023-08-31 19:15:16 +02:00
Bartosz Sypytkowski
740598cef2 draft for WeakLink API 2023-08-31 19:15:16 +02:00
Kevin Jahns
90f2a06b5e throw error when event changes are computed after a transaction 2023-06-27 13:20:53 +02:00
Noel Levy
5d862477cd invalidate cached path when changing currentTarget of event
fixes #544
2023-06-19 11:31:45 -07:00
Kevin Jahns
719858201a implement snapshotContainsUpdate 2023-06-08 11:14:49 +02:00
Kevin Jahns
83712cb1a6 update typings of getAttributes 2023-05-04 11:26:11 +02:00
Kevin Jahns
adaa95ebb8 add example to createDocFromSnapshot - #159 2023-04-27 18:08:28 +02:00
Kevin Jahns
39167e6e2a Implement function that obfuscates a ydoc and scrambles its content 2023-04-22 18:39:29 +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
99bab4a1d8 Fix lint errors 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
cb70d7bad3 fix typings and lib0 resolution 2023-03-21 11:14:37 +01:00
Kevin Jahns
2001bec8eb modernize tsconfig 2023-03-11 12:20:52 +01:00
Kevin Jahns
227018f5c7 toDelta doesnt create transaction - fixes #506 2023-03-11 09:13:27 +01:00
Kevin Jahns
da8bacfc78 add tests for complex Y.Text deltas 2023-03-10 12:53:48 +01:00
Kevin Jahns
fe48efe64f fix generating too many cleanup transactions. closes #506 2023-03-09 13:45:13 +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
Kevin Jahns
7445a9ce5f add whenSynced and isSynced property with refined logic 2023-01-31 12:56:07 +01:00
Kevin Jahns
7f6c12a541 bump typescript and fix type issues 2023-01-31 12:16:03 +01:00
Neftaly Hernandez
d29de75f85 Add test for Y.Array.from 2023-01-23 06:41:57 +00:00
Kevin Jahns
3ece681758 allow transactions within event handlers having different origins 2022-11-30 12:09:19 +01:00
Kevin Jahns
7395229086 Port test from @PatrickShaw #432. Allow infinite captureTimeout in UndoManager #431. Closes #432 2022-10-18 16:45:30 +02:00
Kevin Jahns
df2d59e2fb UndoManager: fix special deletion case. closes #447 closes #443 2022-07-28 14:12:21 +02:00
Kevin Jahns
6fa8778fc7 add doc parameter to UndoManager 2022-07-22 14:22:46 +02:00
Kevin Jahns
14c14de21e simplify testhelper 2022-04-20 18:01:33 +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
d0f9c4a27f lint 2022-03-02 13:25:56 +01:00
Kevin Jahns
a5ffdce342 bump dependencies 2022-03-02 13:23:18 +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