Leon zhao
e51d6f8760
Fix: use Transaction to decode/import ( #92 )
2023-04-04 21:44:41 +08:00
Zixuan Chen
bbcb6f3957
fix: utf16 len fallback to utf8 when unknown ( #93 )
2023-04-04 17:28:35 +08:00
Zixuan Chen
3e64116621
fix: make text event in wasm use utf16 as index and len ( #88 )
...
* feat: utf16 event for wasm (draft, buggy)
* fix: work around the issue of unknown text content
* fix: utf16 err
* fix: compose utf16 meta
* docs: add comments
2023-04-03 20:03:07 +08:00
Zixuan Chen
82b5f8dc90
Perf: speed up utf16 and wasm ( #90 )
...
* perf: remove unused transact field
* perf: micro optimization
* bench: fix bench
* bench: add utf16 bench
* chore: refine diagnose
* perf: speedup utf16 lookup
* perf: use better utf16 len counter
* refactor: use js to cast Loro/Transaction
* refactor: map and list use __loro and __txn
* test: configure ci vitest
* chore: ci
2023-04-03 09:29:25 +08:00
Zixuan Chen
b8056614f5
fix: avoid zero len del in text
2023-03-31 10:58:07 +08:00
Zixuan Chen
63cd719393
chore: bump loro-crdt version
2023-03-28 23:23:19 +08:00
Zixuan Chen
7f62142db3
chore: bump loro-wasm version
2023-03-28 23:09:05 +08:00
Zixuan Chen
357fd8499a
Merge pull request #89 from loro-dev/fix-change-counter
...
fix: import change slice
2023-03-28 23:06:44 +08:00
leeeon233
e6a4be5dcf
fix: import change slice
2023-03-28 20:09:33 +08:00
Zixuan Chen
abafec9e18
chore: bump versions
2023-03-28 01:05:17 +08:00
leeeon233
0cbf5e2548
fix: lamport order
2023-03-27 09:35:57 +08:00
Zixuan Chen
03a6656413
chore: fix ci test
2023-03-27 09:35:57 +08:00
leeeon233
e6c5cefe54
doc: import pending
2023-03-27 09:35:57 +08:00
leeeon233
d4f786e64a
fix: dep is in merged pending change
2023-03-27 09:35:57 +08:00
Zixuan Chen
87ae95ef02
test: add a missing case
2023-03-27 09:35:57 +08:00
leeeon233
ac80775b17
fix: snapshot pending import
2023-03-27 09:35:57 +08:00
leeeon233
9db061ed36
fix: other client pending import (with debug
2023-03-27 09:35:57 +08:00
leeeon233
c34df16dcb
feat: pending snapshot
2023-03-27 09:35:57 +08:00
leeeon233
c1a72c3d7e
feat: pending import
2023-03-27 09:35:57 +08:00
Zixuan Chen
6df69bd2be
feat: add subscribe to containers in wasm
2023-03-25 20:11:45 +08:00
Zixuan Chen
39ece045a8
feat: add return type for map and list
2023-03-25 20:11:45 +08:00
Zixuan Chen
0a421d3931
fix: add event diff test & fix related bugs
2023-03-25 20:11:45 +08:00
Zixuan Chen
49f664dd8f
feat: convert event to js & add vitest
2023-03-25 20:11:45 +08:00
Zixuan Chen
f27786fa25
fix: container id should be converted to js string
2023-03-25 20:11:45 +08:00
Zixuan Chen
8f42a0b9d9
Merge pull request #85 from loro-dev/refactor-wasm
...
Refactor-wasm
2023-03-24 11:59:44 +08:00
Zixuan Chen
831ab0f04d
Merge branch 'main' into refactor-wasm
2023-03-24 11:59:28 +08:00
Zixuan Chen
be9fe842d7
Merge pull request #84 from loro-dev/refactor-interface
...
feat: expose methods from loro crate
2023-03-24 11:58:15 +08:00
Zixuan Chen
e01b6954db
fix: deno tests
2023-03-24 11:57:28 +08:00
Zixuan Chen
606685d42b
chore: bump version
2023-03-24 11:50:10 +08:00
Zixuan Chen
aadde5af9e
fix: loro-crdt type
...
Co-authored-by: Leonzhao <leeeon233@gmail.com>
2023-03-24 11:44:32 +08:00
Zixuan Chen
74a7aa6c1a
fix: transaction
2023-03-24 11:20:59 +08:00
Zixuan Chen
2f74b13e70
feat: extra pkg loro-crdt to wrap loro-wasm
2023-03-24 10:08:11 +08:00
Zixuan Chen
85d91e10b4
chore: speedup wasm build
2023-03-23 22:19:26 +08:00
Zixuan Chen
b0d7ad88b9
fix: not leaking closure
2023-03-23 21:44:27 +08:00
Zixuan Chen
63ebbe2ddb
chore: remove tracing
2023-03-23 21:17:16 +08:00
Zixuan Chen
32378a7188
fix: use promise.then instead of timeout
2023-03-23 21:16:29 +08:00
Zixuan Chen
16e76eaf8e
fix: use container id when converting unresolved to jsvalue
2023-03-23 19:19:53 +08:00
Zixuan Chen
94f481e65e
fix: settimeout by default in subscription
2023-03-23 19:09:13 +08:00
Zixuan Chen
4c372359e6
fix: use utf16 by default for text in wasm
2023-03-22 23:23:57 +08:00
Zixuan Chen
490a54d559
feat: expose from loro crate
2023-03-21 11:09:12 +08:00
Zixuan Chen
647ad2275d
Merge pull request #83 from loro-dev/feat-transaction
...
Feat transaction
2023-03-21 10:17:07 +08:00
leeeon233
d8f0dfa673
chore: clean the code
2023-03-21 09:47:24 +08:00
leeeon233
99e48b65ae
feat: add simple origin
2023-03-20 21:26:36 +08:00
leeeon233
117155cc54
perf: remove compress
2023-03-20 13:55:20 +08:00
leeeon233
25c1f449be
fix: DeltaValue trait add length
2023-03-17 16:33:50 +08:00
leeeon233
625e3332da
chore: some todo
2023-03-17 11:11:14 +08:00
leeeon233
39a7e49b2e
Merge branch 'main' into feat-transaction
2023-03-17 10:20:04 +08:00
leeeon233
ce007295e1
feat: wasm transaction
2023-03-16 17:27:00 +08:00
leeeon233
e6002d7076
bench: observe txn
2023-03-15 20:43:26 +08:00
leeeon233
dd4e7d5ee8
fix: build event when commit
2023-03-15 18:06:20 +08:00