Orion Henry
ce9771b29c
Merge pull request #306 from blaine/marks
...
Additional Attribution Tests
2022-03-10 19:41:16 -05:00
Blaine Cook
e00797c512
test for attribution correctly not surfacing temporary text (inserted and deleted after baseline)
2022-03-10 15:42:57 -08:00
Andrew Jeffery
4fa1d056c6
Stop exposing apply_change
...
It doesn't do checks or raise errors so shouldn't really be exposed.
2022-03-10 18:22:06 +00:00
Orion Henry
57a0f62b75
v0.0.19 wasm
2022-03-10 09:23:23 -05:00
Orion Henry
ed232fae72
Merge pull request #305 from automerge/paths
...
add paths/materialize to api
2022-03-10 09:22:59 -05:00
Orion Henry
4ff6dca175
rename error message for foreign objid
2022-03-10 08:47:52 -05:00
Orion Henry
ee116bb5d7
object_type returns an option
2022-03-09 19:42:58 -05:00
Orion Henry
a0f78561c4
Merge branch 'paths' into marks
2022-03-09 19:28:10 -05:00
Orion Henry
c51073c150
add paths/materialize to api
2022-03-09 17:53:30 -05:00
Andrew Jeffery
ff1a20c626
Document some sync api
2022-03-09 15:15:37 -05:00
Andrew Jeffery
b14d874dfc
Move sync structs to module
2022-03-09 15:15:36 -05:00
Andrew Jeffery
aad4852e30
Misc API updates
...
- Commit now returns just a single hash rather than a vec. Since the
change we create from committing has all of the heads as deps there
can only be one hash/head after committing.
- Apply changes now takes a Vec rather than a slice. This avoids having
to clone them inside.
- transact_with now passes the result of the closure to the commit
options function
- Remove patch struct
- Change receive_sync_message to return a () instead of the
`Option<Patch>`
- Change `Transaction*` structs to just `*` and use the transaction
module
- Make CommitOptions fields public
2022-03-09 15:14:22 -05:00
Andrew Jeffery
63b4c96e71
Update save call
2022-03-09 15:14:22 -05:00
Andrew Jeffery
1b1d50dfaf
Update delete nothing tests
2022-03-09 15:14:22 -05:00
Andrew Jeffery
d02737ad12
Fix del missing key in map
2022-03-09 15:14:22 -05:00
Andrew Jeffery
8f4c1fc209
Add failing tests for deleting nothing
2022-03-09 15:14:22 -05:00
Andrew Jeffery
304195d720
Fix typo on QueryResult
2022-03-09 15:14:21 -05:00
Orion Henry
b81e0fd619
update wasm test for set_object
2022-03-09 15:14:20 -05:00
Andrew Jeffery
0fca6a48ee
Add loading to edit-trace rust benchmark
2022-03-09 18:12:05 +00:00
Orion Henry
5b2582bc04
Merge pull request #301 from jeffa5/experiment-value-api
...
Cleanup value API
2022-03-09 12:06:54 -05:00
Andrew Jeffery
42233414b3
Add some documentation
2022-03-09 16:53:26 +00:00
Andrew Jeffery
0d7f52d21f
Merge pull request #303 from jeffa5/experiment-wasm-tests-ci
...
Add wasm tests to CI
2022-03-09 16:11:56 +00:00
Andrew Jeffery
d3b97a3cbb
Add wasm tests to CI
2022-03-09 16:02:08 +00:00
Orion Henry
f230be8aec
change the wasm commit back to an array
2022-03-09 10:41:14 -05:00
Orion Henry
e4d85f47a3
Merge pull request #302 from jeffa5/experiment-misc-api
...
Misc API changes
2022-03-09 09:48:49 -05:00
Andrew Jeffery
266f112e91
Document some sync api
2022-03-09 13:04:10 +00:00
Andrew Jeffery
e26837b09d
Move sync structs to module
2022-03-09 12:43:52 +00:00
Andrew Jeffery
d00cee1637
Misc API updates
...
- Commit now returns just a single hash rather than a vec. Since the
change we create from committing has all of the heads as deps there
can only be one hash/head after committing.
- Apply changes now takes a Vec rather than a slice. This avoids having
to clone them inside.
- transact_with now passes the result of the closure to the commit
options function
- Remove patch struct
- Change receive_sync_message to return a () instead of the
`Option<Patch>`
- Change `Transaction*` structs to just `*` and use the transaction
module
- Make CommitOptions fields public
2022-03-09 12:33:20 +00:00
Andrew Jeffery
3cff67002a
Merge pull request #297 from jeffa5/experiment-del-nothing
...
Add failing tests for deleting nothing
2022-03-09 11:15:22 +00:00
Andrew Jeffery
ebe7bae992
Fix typo on QueryResult
2022-03-09 11:14:21 +00:00
Andrew Jeffery
875bfdd7f2
Update save call
2022-03-09 10:33:57 +00:00
Andrew Jeffery
5f200e3bf5
Update delete nothing tests
2022-03-09 10:31:25 +00:00
Andrew Jeffery
a9737a6815
Fix del missing key in map
2022-03-09 10:31:25 +00:00
Andrew Jeffery
73ac96b7a2
Add failing tests for deleting nothing
2022-03-09 10:31:25 +00:00
Andrew Jeffery
4b32ee882a
Cleanup value API
...
Adds conversions to contained types, is_* methods for checking the
variant and conversions from more types.
2022-03-09 10:28:25 +00:00
Orion Henry
22b62b14b5
forgot to add the new file
2022-03-08 12:03:31 -05:00
Orion Henry
cbf1ac03b2
added attribute2() - janky version
2022-03-08 12:00:02 -05:00
Orion Henry
4094e82f04
rename tests to attribute
2022-03-07 13:50:05 -05:00
Orion Henry
42446fa5c2
blame -> attribute
2022-03-07 13:45:56 -05:00
Orion Henry
beae33402a
update wasm test for set_object
2022-03-07 11:46:25 -05:00
Orion Henry
6d5f16c9cd
Merge branch 'experiment' into marks
2022-03-04 17:26:14 -05:00
Orion Henry
95f27f362c
Merge pull request #283 from jeffa5/experiment-make
...
Separate scalars and objects in transaction API
2022-03-04 16:53:17 -05:00
Orion Henry
dbbdd616fd
clippy/fmt
2022-03-04 14:16:06 -05:00
Orion Henry
523af57a26
Merge branch 'experiment' into marks
2022-03-04 14:09:00 -05:00
Orion Henry
6b505419b6
Merge pull request #292 from jeffa5/experiment-actorid-api
...
Cleanup actor id api
2022-03-04 12:44:27 -05:00
Orion Henry
b9acf611fa
Merge pull request #293 from jeffa5/experiment-sync-api
...
Clean up sync api
2022-03-04 12:39:03 -05:00
Orion Henry
390ae49be0
Merge pull request #294 from jeffa5/experiment-infallible-save
...
Make save infallible
2022-03-04 12:37:51 -05:00
Andrew Jeffery
b79da38dea
Merge pull request #295 from jeffa5/experiment-decode-change
...
Make decode_change an associated function
2022-03-04 16:50:19 +00:00
Andrew Jeffery
cd5e734735
Make decode_change an associated function
2022-03-04 13:09:29 +00:00
Andrew Jeffery
a4432bdc3d
Nothing really Into's ObjType so just take it directly
2022-03-04 13:03:19 +00:00