Commit graph

499 commits

Author SHA1 Message Date
Orion Henry
9f3ae61b91 use doc.text() in js toString() 2022-04-07 14:24:12 -04:00
Orion Henry
f5d858df82 Merge remote-tracking branch 'origin/experiment' into wasm_readme 2022-04-07 14:23:52 -04:00
Orion Henry
6d9ed5cde4 start at 0.0.1 2022-04-07 14:17:16 -04:00
Orion Henry
88bd14c07e
Merge pull request #309 from jeffa5/experiment-parent-obj
Add `parent_object` and `path_to_object` functions
2022-04-07 14:03:35 -04:00
Andrew Jeffery
06d2306d54 Add path_to_object 2022-04-07 15:04:00 +01:00
Andrew Jeffery
cc8134047a Document parent_object 2022-04-07 14:52:25 +01:00
Andrew Jeffery
e9adc32486 Fixup OpIdSearch's key extraction 2022-04-07 14:51:31 +01:00
Andrew Jeffery
a88d49cf45 Fixup builds 2022-04-07 14:32:17 +01:00
Andrew Jeffery
ebb73738da Remove B 2022-04-07 14:21:52 +01:00
Andrew Jeffery
bd2f252e0b Try and fix parent object query 2022-04-07 14:21:17 +01:00
Andrew Jeffery
9e71736b88 Fixup after rebase 2022-04-07 14:21:16 +01:00
Andrew Jeffery
12a4987ce7 Use prop rather than exposing legacy::Key 2022-04-07 14:20:57 +01:00
Andrew Jeffery
aeadedd584 Add watch example 2022-04-07 14:20:57 +01:00
Andrew Jeffery
dcc6c68485 Add parent's id to the op tree 2022-04-07 14:20:56 +01:00
Andrew Jeffery
0f2bd3fb27 Make edit-trace vals be a string and use splice_text 2022-04-07 12:22:28 +01:00
Orion Henry
9fe8447d21 loadDoc -> load() and forkAt() 2022-04-07 01:19:27 -04:00
Andrew Jeffery
d65280518d
Merge pull request #329 from jeffa5/experiment-treequery-ref
Have queries be able to return references to scalars
2022-04-06 03:06:39 -05:00
Andrew Jeffery
53f6904ae5 Add to_owned method to get a static value 2022-04-04 21:13:09 +01:00
Andrew Jeffery
330aebb44a Make wasm ScalarValue take a cow 2022-04-04 21:04:23 +01:00
Orion Henry
17acab25b5 fix _obj notation 2022-04-04 12:51:54 -04:00
Orion Henry
0d83f5f595 decorate 2022-04-04 12:50:13 -04:00
Orion Henry
777a516051 spelling/grammar 2022-04-04 12:50:13 -04:00
Orion Henry
4edb034a64 adding readme tests 2022-04-04 12:50:08 -04:00
Orion Henry
3737ad316b spelling 2022-04-04 12:37:59 -04:00
Orion Henry
051a0bbb54 early draft of the readme 2022-04-04 12:37:59 -04:00
Orion Henry
83c08344e7 wip2 2022-04-04 12:37:57 -04:00
Orion Henry
d8c126d1bc wip 2022-04-04 12:35:28 -04:00
Andrew Jeffery
545807cf74 Have historic versions clone the value again
This is to currently avoid the issue with counters.
2022-04-04 13:06:36 +01:00
Andrew Jeffery
fa2971a29a Have value be a reference for scalars 2022-04-04 12:47:08 +01:00
Andrew Jeffery
a2d4b2a778 Use ref on seek_op 2022-04-04 11:58:37 +01:00
Andrew Jeffery
48ce85dbfb Add ref to treequery to allow borrowing ops 2022-04-04 11:55:22 +01:00
Andrew Jeffery
8f4562b2cb Have apply_changes take an iterator 2022-04-01 23:02:56 +01:00
Andrew Jeffery
b54075fe4d Add makefile to run edit-traces 2022-04-01 13:56:15 +01:00
Andrew Jeffery
6494945a42
Merge pull request #327 from jeffa5/experiment-del-inc-names
Rename `del` and `inc` to `delete` and `increment`
2022-04-01 07:47:13 -05:00
Andrew Jeffery
d331ceb6d4 Rename set to put and set_object to put_object 2022-04-01 13:40:58 +01:00
Andrew Jeffery
5cbc977076 More internal renames of del and inc 2022-04-01 13:36:27 +01:00
Andrew Jeffery
632857a4e6 Rename del and inc in wasm and js 2022-04-01 13:36:26 +01:00
Andrew Jeffery
1a66dc7ab1 Use full names for delete and increment 2022-04-01 13:36:00 +01:00
Andrew Jeffery
790423c7ae
Merge pull request #328 from jeffa5/experiment-js-names
Make Js names consistently camelCase
2022-04-01 07:34:20 -05:00
Andrew Jeffery
3631ddfd55 Fix js side 2022-04-01 11:48:04 +01:00
Andrew Jeffery
0c16dfe2aa Change js function names to camelCase 2022-04-01 11:46:43 +01:00
Andrew Jeffery
35ddda5e0f
Merge pull request #324 from jeffa5/experiment-remove-const-b
Remove const B: usize requirement everywhere
2022-03-31 08:14:25 -05:00
Andrew Jeffery
0e457d5891 Remove const B: usize requirement everywhere
This doesn't need to be generic on everything, just defined once as a
const and referenced.
2022-03-31 13:53:26 +01:00
Andrew Jeffery
12f070ce45
Merge pull request #323 from jeffa5/experiment-update-tree
Change set to update to avoid cloning and make it more efficient
2022-03-31 07:05:37 -05:00
Andrew Jeffery
a69643c9cc Change set to update to avoid cloning and make it more efficient 2022-03-31 12:04:42 +01:00
Orion Henry
1c4dc88de3
Merge pull request #312 from automerge/generate-patches
Generate patches
2022-03-30 16:59:48 -04:00
Orion Henry
ab580df947 Merge remote-tracking branch 'origin/experiment' into getnerate-patches 2022-03-30 13:04:51 -06:00
Orion Henry
2dcbfbf27d clippy 2022-03-30 13:28:52 -04:00
Martin Kleppmann
f83fb5ec61 More tests 2022-03-30 13:12:07 -04:00
Martin Kleppmann
ab4dc331ac cargo fmt 2022-03-30 13:12:07 -04:00