349 Commits

Author SHA1 Message Date
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
Kevin Jahns
2e2968e71b attributions and fixes to idmap 2025-07-25 16:03:30 +02:00
Kevin Jahns
5f5cf343a8 implement base AttributionManager class and use in Y.Text 2025-07-25 16:03:30 +02:00
Kevin Jahns
f78a7d009e more renames (ds=>idset) 2025-07-25 16:03:30 +02:00
Kevin Jahns
065f268b00 more renames (am=>idmap) 2025-07-25 16:03:30 +02:00
Kevin Jahns
99bcafe193 efficient encoding & decoding of IdMaps 2025-07-25 16:03:30 +02:00
Kevin Jahns
2d87301af2 implement attribution class that is de-duplicated in IdMap 2025-07-25 16:03:30 +02:00
Kevin Jahns
1d025ae73f rename AttributionManager=>IdMap
The "AttributionManager" will be an abstract class that maps data
(probably using IdMap(s))
2025-07-25 16:03:30 +02:00
Kevin Jahns
a36075161a diffing of attribution manager state 2025-07-25 16:03:30 +02:00
Kevin Jahns
8908bd21dc [am] fixed tests 2025-07-25 16:03:30 +02:00
Kevin Jahns
a6ae65d32c Work on AttributionManager 2025-07-25 16:03:30 +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
c554bd754d add test case for insertSet 2025-07-25 15:58:25 +02:00
Kevin Jahns
0d3a149738 add randomized tests for ds 2025-07-25 15:58:25 +02:00
Kevin Jahns
e13fc602a8 implement support for diffing deletesets 2025-07-25 15:58:25 +02:00
Kevin Jahns
cfe67c1f8c basic delta implementation 2025-07-25 15:58:24 +02:00
Kevin Jahns
4738944446 Run tests without compilation. optimize testHelper output. 2025-07-25 15:58:24 +02:00
hyonun321
f4fa053272 fix typos
- Fix 'randon' to 'random' in tests/testHelper.js
- Fix 'successfull' to 'successful' in funding.json
2025-06-25 21:06:12 +09: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
Kevin Jahns
cb70d7bad3 fix typings and lib0 resolution 2023-03-21 11:14:37 +01:00