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
Kevin Jahns
ef6c382e20
fix array iterator on merged content. fixes #152
2019-05-25 12:49:08 +02:00
Kevin Jahns
72e470c5f0
Fix ytext event.delta - items that are synced and deleted
...
When items are added and deleted in the same transaction, event.delta would recognize them as added (though they are actually deleted). Now it just ignores them.
2019-05-19 20:42:53 +02:00
Kevin Jahns
8c36f67f0b
rework and document api
2019-05-07 13:44:23 +02:00
Kevin Jahns
32c4c09072
update parent._map when splitting an item
2019-04-26 19:54:00 +02:00
Kevin Jahns
8c5a06bbf8
fix gc when item is deleted in observer call
2019-04-26 18:37:38 +02:00
Kevin Jahns
a336cc167c
order observer and transaction cleanups after one another
2019-04-26 13:31:00 +02:00
Kevin Jahns
21d86cd2be
Delete all children of ItemType when it is deleted
2019-04-26 12:29:28 +02:00
Kevin Jahns
729c1f16b8
fix test provider
2019-04-20 00:02:40 +02:00
Kevin Jahns
654510f3ff
read struct refs as array
2019-04-10 18:52:22 +02:00
Kevin Jahns
52ec698635
implement some of the commented todos
2019-04-09 04:01:37 +02:00
Kevin Jahns
12bcc4d080
fix remaining random tests
2019-04-09 00:31:28 +02:00
Kevin Jahns
e1a9f314a7
fixed part of split/merge logic
2019-04-08 13:41:28 +02:00
Kevin Jahns
7a111de186
refactor read/write of structs
2019-04-07 23:08:08 +02:00
Kevin Jahns
c635963747
Compare origin ids in item.integrate
2019-04-06 15:55:20 +02:00
Kevin Jahns
7d0c048708
Items accept origins as IDs
2019-04-05 19:46:18 +02:00
Kevin Jahns
8a7416ad50
Create Structs based on offset, if necessary
...
implement offset parameter in Ref.toStruct
2019-04-05 12:38:02 +02:00
Kevin Jahns
e56899a02c
after refactor - some tests are working again
2019-04-05 00:37:09 +02:00
Kevin Jahns
30bf3742c9
add internals file and use it to organize imports
2019-04-04 19:35:38 +02:00
Kevin Jahns
92ca001cdc
implement getMap, getArray, getXml, ..
2019-04-03 03:08:10 +02:00
Kevin Jahns
415de1cc4c
all YArray.tests type fixes
2019-04-03 02:30:44 +02:00
Kevin Jahns
e23582b1cd
more type fixes and rethinking writeStructs
2019-04-02 23:08:58 +02:00
Kevin Jahns
da9836fe59
added all y-map tests
2019-03-11 12:31:37 +01:00
Kevin Jahns
3a7411f9e8
reworked some ymap tests (a few are running again)
2019-03-11 00:00:41 +01:00
Kevin Jahns
39cee7c6e7
refix array tests and switch to lib0
2019-03-10 23:26:53 +01:00
Kevin Jahns
0a5753c191
decode items before they are decoded. fixes lots of y-array tests
2019-03-07 18:57:39 +01:00