Zixuan Chen
02ebfbc0fc
fix: remove a few unsafe blocks about create cursor
2022-10-26 23:31:34 +08:00
Zixuan Chen
e7daca728b
refactor: cursor should not impl copy
2022-10-26 23:31:34 +08:00
Zixuan Chen
b280c21860
refactor: add RleVecWithLen to impl HasLength
2022-10-26 23:31:34 +08:00
Zixuan Chen
22f9ba3f3c
refactor: rename len method in old rlevec
2022-10-26 23:31:34 +08:00
Zixuan Chen
5220ca70f1
refactor: move rle vec impl
2022-10-26 23:31:34 +08:00
Zixuan Chen
0d89349731
refactor: use rle vec for ops
2022-10-26 23:31:34 +08:00
Zixuan Chen
1c5cd948ed
feat: new rle vec
2022-10-26 23:31:34 +08:00
Zixuan Chen
79aec7544a
refactor: rename HasLength functions
2022-10-26 23:31:34 +08:00
Zixuan Chen
e521229da2
refactor: move trait logic to one file
2022-10-26 23:31:34 +08:00
Zixuan Chen
7e5c9b0b0f
fix: rename has global index
2022-10-26 23:31:34 +08:00
Zixuan Chen
d69eca5dc5
refactor: rename rle vec to rle vec with index
2022-10-26 23:31:34 +08:00
Zixuan Chen
bfd5e090d9
refactor: use list slice
2022-10-26 23:31:34 +08:00
Zixuan Chen
5a95a3c04d
chore: cargo fix
2022-10-26 23:31:34 +08:00
Zixuan Chen
7284301ce8
doc: add sliceable doc
2022-10-26 23:31:34 +08:00
Zixuan Chen
478491831d
fix: rle iter logic
2022-10-26 23:31:34 +08:00
Zixuan Chen
b0572016a0
fix: effect iter, get_cursor_at_id_span bug
2022-10-26 23:31:34 +08:00
Zixuan Chen
9157e75ed7
fix: iter bug & lamport bug & set init len for tracker
2022-10-26 23:31:34 +08:00
Zixuan Chen
cf3e3ee361
fix: vec slice bug
2022-10-26 23:31:34 +08:00
Zixuan Chen
a2fcd73b44
fix: should filter out non-active spans on delete
2022-10-26 23:31:34 +08:00
Zixuan Chen
ec07825c4f
fix: slice issue
2022-10-26 23:31:34 +08:00
Zixuan Chen
b099b4507c
fix: add 2 site tests & fix update cursor bug
2022-10-26 23:31:34 +08:00
Zixuan Chen
0cd640340a
chore: cargo style fix
2022-10-26 23:31:34 +08:00
Zixuan Chen
788808b055
fix: basic import export test
2022-10-26 23:31:34 +08:00
Zixuan Chen
61c27ca58b
fix: fix a few bugs
2022-10-26 23:31:34 +08:00
Zixuan Chen
796317097d
test: start integration testing
2022-10-26 23:31:34 +08:00
Zixuan Chen
5c47f2e04e
feat: simple export and import
2022-10-26 23:31:34 +08:00
Zixuan Chen
d1e1143c58
chore: impl basic framework of text applying
2022-10-26 23:31:34 +08:00
Zixuan Chen
9cd360e511
refactor: list slice
2022-10-26 23:31:34 +08:00
Zixuan Chen
8f6dd65522
feat: dag partial iter
2022-10-26 23:31:34 +08:00
Zixuan Chen
d47fe2df8c
test: use proptest factor to switch proptest mode
2022-10-26 23:31:34 +08:00
Zixuan Chen
9d66aeb511
test: simplify proptest
2022-10-26 23:31:34 +08:00
Zixuan Chen
0bcf19038d
chore: init apply logic
2022-10-26 23:31:34 +08:00
Zixuan Chen
aae1b2a322
refactor: simplify cursor code
2022-10-26 23:31:34 +08:00
Zixuan Chen
76269a8ca7
chore: cargo fix
2022-10-26 23:31:34 +08:00
Zixuan Chen
7c032b6321
fix: origin left should points to non-deleted
2022-10-26 23:31:34 +08:00
Zixuan Chen
81b8f2c591
fix: simplify create level when apply update
2022-10-26 23:31:34 +08:00
Zixuan Chen
f760aad046
test: add bench facilities
2022-10-26 23:31:34 +08:00
Zixuan Chen
7f728db495
fix: yata fuzzing works now
2022-10-26 23:31:34 +08:00
Zixuan Chen
d36c41b7cd
fix: tree balance issue
2022-10-26 23:31:34 +08:00
Zixuan Chen
a7ce6ddfd6
fix: adapt crdt-list change
2022-10-26 23:31:34 +08:00
Zixuan Chen
a93d9f762d
fix: cursor should not use Deref
...
`crdt-list` expected derefed cursor to be a sliced operation, but it was not.
so I updated crdt-list to use a GetOp trait instead of Deref, where
users may slice the op if they want to.
2022-10-26 23:31:34 +08:00
Zixuan Chen
d34abeef92
fix: insert map logic bug
2022-10-26 23:31:34 +08:00
Zixuan Chen
4213d4c488
fix: crdt-list yata integrate err
2022-10-26 23:31:34 +08:00
Zixuan Chen
3fb88bde6e
fix: build links between leaf nodes
2022-10-26 23:31:34 +08:00
Zixuan Chen
5104e94cd0
fix: fix several iter & delete bug
...
most of the bugs are related to len / content_len
2022-10-26 23:31:34 +08:00
Zixuan Chen
280382c39c
fix: yata id spans generate bug
2022-10-26 23:31:34 +08:00
Zixuan Chen
bc980c5b02
feat: iter update in rle tree
2022-10-26 23:31:34 +08:00
Zixuan Chen
ee5c9bb990
chore: add todo doc
2022-10-26 23:31:34 +08:00
Zixuan Chen
374e32384e
feat: update at cursor pos
2022-10-26 23:31:34 +08:00
Zixuan Chen
af63cd6a9c
chore: delete init
2022-10-26 23:31:34 +08:00