Commit graph

882 commits

Author SHA1 Message Date
Alex Good
26dfc7ea40 Implement cursor logic in backend 2021-02-12 12:03:10 -05:00
Alex Good
2d31952d77 Implement encoding and decoding of cursor operations 2021-02-12 12:03:10 -05:00
Alex Good
8f9d66d4f2 Add CursorDiff and serde impls 2021-02-12 12:03:10 -05:00
Alex Good
0b99082c67 Add Cursor data type and serde impls for it 2021-02-12 12:03:10 -05:00
Matt Ho
3e72cf6df0 added cdylib to produce dynamic library 2021-02-12 11:56:24 -05:00
Orion Henry
6350a8726d trying new ways to package the wasm 2021-02-12 11:49:49 -05:00
Orion Henry
ef38e6d7da getting some WASM errors trying to access crypto in the browser - switching to SmallRng with a 0 seed for now - deterministic distribution of nodes in the skip list should be fine 2021-02-12 11:49:06 -05:00
Orion Henry
f8b6228488 remove js wrapper code and move all module wrapper logic into rust 2021-02-04 16:23:15 -05:00
Alex Good
b0fc259892 Run clippy and cargo fmt 2021-02-03 16:39:38 +00:00
Orion Henry
740315cdc4 added get_last_local_change() 2021-02-02 15:17:48 -05:00
Orion Henry
78024fd000 add automerge_get_heads() and automerge_error() 2021-02-02 14:33:00 -05:00
Alex Good
98015f5a9c Better formatting for cli docs 2021-02-01 18:24:21 +00:00
Orion Henry
f79f632d35 remove raw string literal from c test program 2021-02-01 12:22:11 -05:00
Matt Ho
0c44edd919
fixed typos (#43) 2021-02-01 10:57:11 +00:00
Alex Good
a28ae6edb6 Fix dependency encoding in document format 2021-01-31 15:59:51 +00:00
Alex Good
c34f771693 Add color to CLI 2021-01-30 17:56:54 +00:00
Alex Good
6affcae4d1 Document change command 2021-01-30 12:47:11 +00:00
Orion Henry
db2d540cae zero length error 2021-01-29 17:59:57 -05:00
Orion Henry
d4a60dafc1 Merge branch 'main' of github.com:automerge/automerge-rs into main 2021-01-29 17:56:14 -05:00
Orion Henry
c135b02a48 full document compression 2021-01-29 17:55:59 -05:00
Alex Good
24dcd9c1e6 Add automerge change CLI op 2021-01-29 14:27:51 +00:00
Alex Good
ae4b9f8f94 Add some benchmarks and make some performance related tweaks 2021-01-25 13:49:38 +00:00
Orion Henry
82deb8a517 fix succ/pred bugs on doc uncompress 2021-01-22 15:32:36 -05:00
Orion Henry
ddb7090f2c Merge branch 'main' of github.com:automerge/automerge-rs into main 2021-01-22 13:52:45 -05:00
Orion Henry
9a90a8f84c add full document decompression 2021-01-22 13:32:50 -05:00
Alex Good
20bbe7c8b0 Run cargo fmt 2021-01-20 15:48:04 +00:00
Alex Good
8142d42796 Add first crdt benchmark and some frontend optimisations 2021-01-20 15:18:47 +00:00
Alex Good
8516476db2 Fix handling of Unchanged diffs in StateTreeValue::new_from_diff 2021-01-19 14:55:54 +00:00
Alex Good
56750f68d1 Fix inserts at beginning of a text object 2021-01-19 14:20:09 +00:00
Alex Good
c45d055ce3 Fix clippy 2021-01-16 17:55:30 +00:00
Alex Good
497372db99 Immutable frontend rewrite 2021-01-16 17:40:47 +00:00
Orion Henry
4f61f7da08 simplified encoding code - 1 less copy 2021-01-14 15:23:42 -05:00
Orion Henry
cd6d83ef6d removed an unnecessarry round trip from the change encoder 2021-01-14 14:51:54 -05:00
Orion Henry
d11a0f6b73 fix extra_bytes serialization w field missing 2021-01-14 12:30:25 -05:00
Alex Good
7cd1a059f5 Add proptest for serialization 2021-01-14 12:30:25 -05:00
Alex Good
3c4d64c8a0 Add extra_bytes 2021-01-14 12:30:25 -05:00
Alex Good
3187afcc51 Use more expressive Operation structure 2021-01-14 12:30:25 -05:00
Orion Henry
b6d6b66c06 UncompressedChange moved packages 2021-01-14 12:30:25 -05:00
Alex Good
ce38f5360b Move automerge_backend::UnencodedChange -> automerge_protocol::UncompressedChange 2021-01-14 12:30:25 -05:00
Orion Henry
c859b24a12 fix c api 2021-01-12 15:33:10 -05:00
Orion Henry
0b469640d4 update format-tweaks to serialize properly 2021-01-12 14:45:32 -05:00
Martin Kleppmann
4f9e07a29d Allow extra bytes at the end of a change
Corresponding to automerge/automerge@7f2e9f4897
2021-01-12 14:45:32 -05:00
Martin Kleppmann
1350b3e4be Move index of columns ahead of the column data
Corresponding to automerge/automerge@d7f97c5387
2021-01-12 14:45:32 -05:00
Martin Kleppmann
fae835343f Require strictly monotonically increasing column IDs 2021-01-12 14:45:32 -05:00
Martin Kleppmann
13b3faf921 Move deps closer to the start of an encoded change
Corresponding to automerge/automerge@7d9adb4807
2021-01-12 14:45:32 -05:00
Martin Kleppmann
5ec8408398 Replace all-zeros UUID with '_root'
Corresponding to automerge/automerge@10ec271cbd
2021-01-12 14:45:32 -05:00
Martin Kleppmann
ec327c0125 Delete unused code 2021-01-12 14:45:32 -05:00
Orion Henry
83145b82c4 add getHeads() and new deps functionality 2021-01-01 17:39:44 -05:00
Orion Henry
f3049202a7 update api to localChange 2020-12-30 15:27:07 -05:00
Orion Henry
2019a2bd1a update c api to undo api changes 2020-12-17 20:53:15 -05:00