Commit graph

1623 commits

Author SHA1 Message Date
Zixuan Chen
ec905635fd
chore: update fuzz config 2024-07-04 20:06:18 +08:00
Zixuan Chen
9047065843
Fix undo with checkout (#375)
* fix: should transform checkout event

* chore: update fuzz dep

* chore: add pos to error info

* fix: clear undo/redo stack when checkingout

* test: update fuzz dep

* test: a new failed test case

* fix: tree transform

* chore: fuzz

* chore: add log

* chore: add more logs

* fix: compose err

* chore: fuzz test dep

* test: a failed tree case

* fix: undo tree event

* fix: do not compare tree position in fuzz

* fix: fuzz rev

* test: a failed tree case

* fix: add tree compose

* chore: add comment

* chore: fuzz

* fix: test

* fix: tree transform

* fix: tree transform index

* fix: sort tree index

* chore: fuzz

* fix: undo/redo remote change effect compose

* bk

* fix: tree undo redo (#385)

* fix: event hint none

* chore: fuzz version

* ci: fuzz

* bk: weird err

* fix: type err

* fix: fractional index between

* fix: wasm counter feature

* test: a new failed case

* fix: recursively create child nodes

* fix: filter empty event

* bk

* bk

* fix: tree undo redo remap

* chore: clean

* bk

* fix: tree need remap first

* fix: tree undo effect

* fix: tree diff calc

* fix: tree fuzz check eq func

* fix: remove EventHint None

* chore: cargo fix

* fix: tree uncreate

* fix: fuzz tree assert only structure

* refactor: rename methods

* fix: movable tree apply delta

* fix: another movable list issue

* chore: fuzz only check 1 actor's history

---------

Co-authored-by: Leon Zhao <leeeon233@gmail.com>
2024-07-04 18:15:44 +08:00
Zixuan Chen
fc46f429f1 docs: update wasm docs 2024-06-29 13:45:47 +08:00
github-actions[bot]
c3a763e07d chore: version packages 2024-06-28 00:04:09 +08:00
Zixuan Chen
1e94248128
Feat fork (#393)
* feat: fork

* chore: add changeset
2024-06-26 21:05:04 +08:00
github-actions[bot]
b30bb18f77 chore: version packages 2024-06-21 12:11:28 +08:00
Zixuan Chen
439e4e9829
Add packages' repo and basic doc (#390)
* docs: update the pkg desc

* chore: changeset
2024-06-21 12:08:13 +08:00
Leon Zhao
fb028f861d
fix: export CommitOptions & JsonSchema (#389) 2024-06-20 16:52:36 +08:00
Zixuan Chen
3848db5a9e
fix: warnings 2024-06-20 16:30:03 +08:00
Zixuan Chen
6cb5aad4c7
chore: fuzz 2024-06-20 16:21:57 +08:00
Zixuan Chen
a276010128
feat: replace states with container store 2024-06-20 13:17:32 +08:00
Zixuan Chen
fcdbaed172
fix: warnings 2024-06-18 19:38:10 +08:00
Zixuan Chen
9c050b8b0b
refactor: fix name err & add counter state fast snapshot 2024-06-18 18:17:46 +08:00
Zixuan Chen
d6c8a632ad
Merge branch 'main' into zxch3n/container-store 2024-06-18 18:09:14 +08:00
Zixuan Chen
572635dad2
feat: tree state 2024-06-18 14:36:14 +08:00
Zixuan Chen
a290f29bb5
bk: tree impl (untested) 2024-06-14 18:37:51 +08:00
Zixuan Chen
3729deb12d
feat: richtext snapshot 2024-06-14 12:32:08 +08:00
Zixuan Chen
e857227330
feat: movable list snapshot 2024-06-13 22:49:43 +08:00
Zixuan Chen
0d3709b79e
feat: map snapshot 2024-06-13 17:50:29 +08:00
Zixuan Chen
01427947f7
feat: list fast snapshot 2024-06-13 16:16:52 +08:00
github-actions[bot]
2940029b63
chore: version packages (#386)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-13 15:31:53 +08:00
Leon Zhao
0b3c6ba1d0
fix: merge 2024-06-13 15:11:29 +08:00
Zixuan Chen
4dd609ca51
fix: cids encode/decode 2024-06-13 14:48:10 +08:00
Leon Zhao
afac34755f
feat: implementing Counter and expose to js side (#384) 2024-06-13 14:43:19 +08:00
Zixuan Chen
e54da5d838
bk: container store encode/decode 2024-06-13 12:13:30 +08:00
Zixuan Chen
d71fee144d
bk: container store impl 2024-06-12 11:43:02 +08:00
Leon Zhao
a941cddfb7
feat: export any range version with json schema (#383) 2024-06-11 20:08:03 +08:00
Leon Zhao
881167b18e
fix: tree state get FI by index error (#382) 2024-06-11 15:19:12 +08:00
Zixuan Chen
9be969dd38
chore: release 2024-06-07 14:14:26 +08:00
Leon Zhao
2df2a52b05
feat: Stable JSON representation for history (#368)
---------

Co-authored-by: Zixuan Chen <remch183@outlook.com>
2024-06-07 13:18:30 +08:00
Zixuan Chen
d2973df859
refactor: rm unused code (#380) 2024-06-07 10:17:23 +08:00
github-actions[bot]
f86421ee75
chore: version packages (#379)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-06 16:59:07 +08:00
Zixuan Chen
dc55055b6f
Perf cache WASM text toDelta result (#378)
* refactor: make cursor transformation in undo/redo better

* chore: add release info

* perf: cache to_delta value in wasm

* chore: release msg
2024-06-06 16:54:52 +08:00
Zixuan Chen
6d47015f6e
Refactor undo cursor (#377)
* refactor: make cursor transformation in undo/redo better

* chore: add release info
2024-06-06 16:49:36 +08:00
Zixuan Chen
2fc20e94aa
refactor: rm oplog.changes 2024-06-04 23:44:29 +08:00
Zixuan Chen
3a842a90ee
refactor: rm more usage of changes 2024-06-04 23:08:38 +08:00
Zixuan Chen
2ff4a88a49
refactor: replace merge change iter with change_store 2024-06-04 21:53:30 +08:00
Zixuan Chen
ad9c3a79bd
Merge branch 'main' into zxch3n/loro-649 2024-06-04 20:59:36 +08:00
Zixuan Chen
7e09e858fe
refactor: use change store to iter ops and find by idlp 2024-06-04 19:11:44 +08:00
Zixuan Chen
6dcf801dd3
feat: add necessary query entry for change_store 2024-06-04 15:45:24 +08:00
Zixuan Chen
1f3290ef80
refactor: rm has_dependents field in change
It's not longer required
2024-06-04 15:24:26 +08:00
Zixuan Chen
54637a7b42
Publish v0.16.2 to crates.io (#374)
* chore: mark dev-utils not published

* chore: release rust crates

* chore: publish fi

* chore: pre publish fi

* chore: update lockfile

* test: change fuzz rev
2024-05-29 22:55:55 +08:00
Leon Zhao
cd04b27d65
fix: fuzz cache and counter feature (#373)
* fix: fuzz cache and counter feature

* fix: rev
2024-05-29 22:44:21 +08:00
Zixuan Chen
338601308e
feat: add iter changes and get change to change_store 2024-05-29 19:01:45 +08:00
Zixuan Chen
8e0a4c6cc8
refactor: wrap block in Arc 2024-05-29 18:09:02 +08:00
Zixuan Chen
fd6e945d4b
fix: import change merge err 2024-05-28 22:09:15 +08:00
Zixuan Chen
c84ef7df99
test: setup baseline bench 2024-05-28 20:27:41 +08:00
Zixuan Chen
d5de22008e
feat: estimate change size 2024-05-28 16:46:42 +08:00
Zixuan Chen
3caacee82f
feat: decode ops in block 2024-05-28 14:44:37 +08:00
Zixuan Chen
b13b4bcf94
refactor: reuse more serde_columnar code 2024-05-27 19:02:01 +08:00