Commit Graph

250 Commits

Author SHA1 Message Date
Kevin Jahns
1e8ea641ea add another example and create a writeup for attributing content. 2025-04-24 00:03:00 +02:00
Kevin Jahns
f03a2426c5 perf tests toDelta vs getContent 2025-04-22 23:13:57 +02:00
Kevin Jahns
7b4256857d attribution tests for adding and removing attributes 2025-04-21 18:27:18 +02:00
Kevin Jahns
800f0304da basic attribution test working 2025-04-21 15:59:03 +02:00
Kevin Jahns
0171ef97ff first test case for attributions 2025-04-21 02:00:14 +02:00
Kevin Jahns
782fde5065 attributions and fixes to idmap 2025-04-21 01:13:41 +02:00
Kevin Jahns
c7ab7a4ee5 implement base AttributionManager class and use in Y.Text 2025-04-20 19:28:36 +02:00
Kevin Jahns
71524a0222 more renames (ds=>idset) 2025-04-19 15:33:09 +02:00
Kevin Jahns
82f081b515 more renames (am=>idmap) 2025-04-19 15:21:14 +02:00
Kevin Jahns
063b9b7629 efficient encoding & decoding of IdMaps 2025-04-19 15:15:34 +02:00
Kevin Jahns
1f041913c8 implement attribution class that is de-duplicated in IdMap 2025-04-19 00:21:40 +02:00
Kevin Jahns
c9a6d113bb rename AttributionManager=>IdMap
The "AttributionManager" will be an abstract class that maps data
(probably using IdMap(s))
2025-04-18 20:26:05 +02:00
Kevin Jahns
b38c6b7d76 diffing of attribution manager state 2025-04-12 17:20:21 +02:00
Kevin Jahns
12c466f0b5 [am] fixed tests 2025-04-12 16:12:00 +02:00
Kevin Jahns
7c0c409c81 Work on AttributionManager 2025-04-12 14:44:37 +02:00
Kevin Jahns
a6aedf00c5 doc maintains ds 2025-04-10 21:07:59 +02:00
Kevin Jahns
8686113ea2 rename DeleteSet=>IdSet and add utilities and perf improvements 2025-04-08 20:50:20 +02:00
Kevin Jahns
632ec45020 add test case for insertSet 2025-04-08 14:53:36 +02:00
Kevin Jahns
72ee66a739 add randomized tests for ds 2025-03-28 19:12:47 +01:00
Kevin Jahns
da8aad3615 implement support for diffing deletesets 2025-03-27 16:24:11 +01:00
Kevin Jahns
05e9ba4145 basic delta implementation 2025-03-25 11:15:17 +01:00
Kevin Jahns
b2b1863624 Run tests without compilation. optimize testHelper output. 2025-03-25 11:14:55 +01:00
Kevin Jahns
35c030d834 improve reject update example 2025-03-06 10:36:18 +01:00
Kevin Jahns
e3739bce8e test example for rejecting updates 2025-03-05 14:15:26 +01:00
Kevin Jahns
69d4a5c821 [UndoManager] support global undo 2025-03-04 14:42:19 +01:00
Viktor Szépe
f18eab2dfe Fix typos 2025-01-03 18:11:43 +00:00
Kevin Jahns
f583d2a211 fix #657 - relative positions issue when using followUndoneDeletions=false 2024-12-21 00:52:48 +01:00
Kevin Jahns
4404d090e4 add nodejs specific tests 2024-12-18 14:34:33 +01: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
0678ed1eb5 fix event.path in observeDeep - closes #457 2024-06-10 12:18:16 +02:00
Kevin Jahns
ce43124ad0 [relative-positions] add option to configure whether to follow redon insertions - #638 2024-04-27 00:24:49 +02:00
Kevin Jahns
6beab79eb4 add tests for falsy formatting attributes - #619 2024-03-01 11:39:31 +01:00
Kevin Jahns
541306b254 migrate to ObservableV2 2024-02-29 17:08:57 +01:00
Kevin Jahns
29fa60ccf9 [Undo] add UndoManager.currStackItem 2024-02-29 14:46:43 +01:00
Myles J
917261a1ce Facilitate referencing UndoManager StackItem inside Type observers 2024-02-29 00:50:36 +00:00
Kevin Jahns
e1bce03ed8 better typings for ydoc.get 2024-02-09 23:27:24 +01:00
Raine Revere
16d9638bc8 Add ydoc.getXmlElement 2024-02-05 13:35:32 +00:00
Kevin Jahns
1cb52dc863 fix Y.Text formatting issue - closes #606 2024-01-21 11:27:12 +01:00
Kevin Jahns
2c0daeb071 implement snapshot API for yxml.getAttributes. implements #543 2023-11-21 12:24:21 +01:00
Kevin Jahns
c2e7076400 add iterator type checks 2023-11-20 12:53:58 +01: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