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
Zixuan Chen
0c81543b6e
chore: bk impl for block encode & decode
2024-05-27 11:52:23 +08:00
Leon Zhao
4a0c8b6ddd
fix: tree transform when a
and b
is equal ( #371 )
...
* test: add test
2024-05-25 08:32:56 +08:00
github-actions[bot]
7fc85b1b04
chore: version packages ( #370 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-23 10:28:24 +08:00
Zixuan Chen
34f6064edc
chore: prerelease
2024-05-23 10:24:06 +08:00
Zixuan Chen
6700dad19b
feat: Add event listener and native support of cursor transformation for undo/redo ( #369 )
2024-05-23 10:19:08 +08:00
Zixuan Chen
6d5083cfc9
test: enable compatibility test ( #367 )
2024-05-21 15:18:02 +08:00
github-actions[bot]
c8bbb437ca
chore: version packages ( #366 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-21 13:12:38 +08:00
Zixuan Chen
5cd80b0920
chore: changeset release
2024-05-21 13:10:15 +08:00
Zixuan Chen
1a347cab72
feat: refine undo impl ( #365 )
...
* feat: refine undo impl
- Add "unfo" origin for undo and redo event
- Allow users to skip certain local operations
- Skip undo/redo ops that're not visible to users
* feat: add returned bool value to indicate whether undo/redo is executed
2024-05-21 13:08:43 +08:00
Zixuan Chen
c124efc531
chore: update .npmignore
2024-05-21 06:48:45 +08:00
github-actions[bot]
d01fd66e39
chore: version packages ( #364 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-21 06:40:05 +08:00
Zixuan Chen
4514594709
ci: make ci more stable for this test
2024-05-21 06:37:31 +08:00
Zixuan Chen
31ff43fde5
chore: prerelease
2024-05-21 06:32:29 +08:00
Zixuan Chen
c12c2b9efb
chore: prerelease
2024-05-21 06:27:54 +08:00
Zixuan Chen
321e0e72a4
Undo ( #361 )
...
https://github.com/loro-dev/loro/pull/361
---------
Co-authored-by: Leon Zhao <leeeon233@gmail.com>
2024-05-21 06:14:49 +08:00
Leon Zhao
26753f0d4d
fix: better jitter for fractional index ( #360 )
...
* fix: better jitter
2024-05-16 15:26:49 +08:00
Zixuan Chen
5bfdff012c
ci: fix
2024-05-14 11:15:05 +08:00
Leon Zhao
6e14e5b117
Feat: Make the encoding format forward and backward compatible ( #329 )
2024-05-13 21:37:10 +08:00
Siddhant Kameswar
8a75c7d505
fix: add MovableList to CONTAINER_TYPES ( #359 )
...
* fix: add MovableList to CONTAINER_TYPES
---------
Co-authored-by: Zixuan Chen <remch183@outlook.com>
2024-05-12 16:04:38 +08:00
Gábor Szabó
d958767b13
add repository to Cargo.toml ( #358 )
2024-05-10 21:14:17 +08:00
Zixuan Chen
c883257d26
test: add compatibility tests ( #357 )
2024-05-10 11:06:17 +08:00
Zixuan Chen
ea7d8b0669
fix: refine error message on corrupted data ( #356 )
...
* fix: refine error message on corrupted data
* fix: comment
2024-05-10 11:06:01 +08:00
github-actions[bot]
3f23a67bb4
chore: version packages ( #355 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-09 16:31:21 +08:00
Zixuan Chen
43506cc512
chore: pre release
2024-05-09 16:16:30 +08:00
Zixuan Chen
a9484b48a2
Fix potential movable list bug ( #354 )
...
* fix: upgrade wasm-bindgen to fix str free err
* chore: fix ci
* fix: potential bug in movable list op group
2024-05-09 15:46:19 +08:00
Zixuan Chen
0660b1a1be
fix: upgrade wasm-bindgen to fix str free err ( #353 )
...
* fix: upgrade wasm-bindgen to fix str free err
* chore: fix ci
2024-05-09 15:22:34 +08:00
Zixuan Chen
7e20c17f00
docs: simplify readme ( #352 )
...
* docs: simplify readme
* docs: add some emojis
* docs: simplify start
2024-05-09 10:00:36 +08:00
Zixuan Chen
ed1e9aff34
docs: update readme
2024-05-08 18:41:30 +08:00
Zixuan Chen
d5eeb3dde0
docs: update readme
2024-05-08 18:35:02 +08:00
Leon Zhao
51a673822e
fix: tree fuzz sort value ( #351 )
2024-05-07 19:39:38 +08:00
Leon Zhao
fffd49b5fa
Use fractional index to order the children of the tree ( #298 )
...
* feat: fractional index
---------
Co-authored-by: Zixuan Chen <remch183@outlook.com>
2024-05-07 14:01:13 +08:00
Zixuan Chen
910a553832
docs: update readme
2024-05-06 18:22:09 +08:00
Zixuan Chen
4021ad820c
chore: loro-rs v0.5.1
2024-05-06 13:37:55 +08:00