Commit Graph

78 Commits

Author SHA1 Message Date
Kevin Jahns
1d78034ae9 contentIds/contentMap API 2026-01-10 22:04:30 +01:00
Kevin Jahns
6ec341f564 getContent => toDelta 2026-01-10 17:32:29 +01:00
Kevin Jahns
8bd9946a95 [delta integration] fix many tests 2026-01-10 00:57:43 +01:00
Kevin Jahns
2053f7987a fix all type issues 2026-01-06 20:35:18 +01:00
Kevin Jahns
ec11ef6f08 more refactoring 2025-12-30 20:24:59 +01:00
Kevin Jahns
03b05423b2 bump deps & make publishable 2025-11-19 13:01:54 +01:00
Kevin Jahns
a4aa2f87bf type rework, updates are now Uint8Array<ArrayBuffer> 2025-11-18 00:26:25 +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
f41e633041 work on allowing skips in struct store 2025-07-25 16:08:42 +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
527e382f8a implement createAttributionsManagerFromDiff that automatically handles gc 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
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
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
541306b254 migrate to ObservableV2 2024-02-29 17:08:57 +01:00
Kevin Jahns
1cb52dc863 fix Y.Text formatting issue - closes #606 2024-01-21 11:27:12 +01:00
Kevin Jahns
719858201a implement snapshotContainsUpdate 2023-06-08 11:14:49 +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
14c14de21e simplify testhelper 2022-04-20 18:01:33 +02:00
Kevin Jahns
2ec19defcb export testHelper esm properly 2021-11-06 15:55:59 +01:00
Kevin Jahns
e33c67fc72 bump standard linter 2021-10-14 16:18:50 +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
275d52b19d implement diffUpdates with tests - #263 2021-01-29 18:18:29 +01:00
Kevin Jahns
7edbb2485f complete refactor of update mechanism to allow encoding of pending updates - #263 2021-01-28 20:28:30 +01:00
Kevin Jahns
8013b4ef5c lint 2020-12-29 17:07:25 +01:00
Kevin Jahns
fbbf085278 add mergeUpdates tests to comparison framework 2020-12-17 21:50:39 +01:00
Kevin Jahns
6e3b708599 implement search-marker prototype (limited usage for now) 2020-07-15 22:03:02 +02:00
Kevin Jahns
3406247a3e choose rencoding version at random 2020-07-12 21:11:12 +02:00
Kevin Jahns
bb45816f05 remove bare for .. of iterations - fixes #220 2020-07-12 20:04:56 +02:00
Kevin Jahns
6c2cf0f769 Implement experimental new encoder 🚀 2020-07-12 18:25:54 +02:00
Kevin Jahns
60fab42b3f improve memory allocation ⇒ less "minor gc" cleanups 2020-06-02 23:20:45 +02:00
Kevin Jahns
6cd9e2be32 lint 2020-01-22 16:42:16 +01:00
Kevin Jahns
7d5db917da fix type error >= tsc@3.6 2019-09-04 13:19:25 +02:00
Kevin Jahns
03458dc641 Port Undo/Redo approach with a clean API 2019-06-23 13:04:14 +02:00
Kevin Jahns
b4e5c5cc1f Correctly insert embed when using YText.applyDelta 2019-06-13 10:30:39 +02:00
Kevin Jahns
2192aa5821 Use generic Item with typed content to reduce cache misses 2019-05-28 14:18:20 +02:00
Kevin Jahns
66c35d8499 testing: do not stringify array values before comparing 2019-05-25 12:54:30 +02:00