Commit Graph

141 Commits

Author SHA1 Message Date
Aiden McClelland
e4955b8eaa add revision cache and clean up todos 2022-09-02 13:03:12 -06:00
Aiden McClelland
3e0a0204bc add cli utility (#41)
* add util

* add cli util
2022-09-02 13:01:26 -06:00
Alex Inkin
f4732b18a2 Refactor sources (#40)
* major refactor to exclude multiple sources

Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
2022-08-21 14:36:07 -06:00
waterplea
2fef1e572c chore: add prettier and reformat lib 2022-07-24 09:01:01 -06:00
waterplea
c7006e0eb2 fix: patchdb should not bundle rxjs but instead rely on the version in the app 2022-07-24 09:01:01 -06:00
Matt Hill
ec35e5f14c refactor apply operation to account for arrays (#38)
* refactor apply operation to account for arrays

* fix buig
2022-06-29 17:43:12 -06:00
waterplea
d24bd1c513 fix: properly handle source errors without stopping the stream 2022-06-29 08:18:48 -06:00
Alex Inkin
9a28793f27 refactor: remove nested subscription (#36) 2022-06-22 15:23:35 -06:00
Alex Inkin
e138b88e75 feat: make watch$ strictNullCheck compatible (#34)
* feat: make `watch$` strictNullCheck compatible

* chore: send initial value to subscribers

* let values emit when undefined

* fix: properly check if data can be processed

Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
2022-06-19 13:19:00 -06:00
J M
8e7c893d48 fix: Remove an unwrap (#35)
* chore: Remove an unwrap

* chore: convert to a potential error instead, older api

* chore: format file
2022-06-06 09:49:11 -06:00
Alex Inkin
6f6c26acd4 feat(client): remove data mutation (#32)
* feat(client): remove data mutation

* chore: address comments and fix some other issues

* chore: send the most recent cache upon subscription
2022-05-26 16:23:56 -06:00
J M
35973d7aef Feat new locking (#31)
This converts the old singular locks into plural locks.
2022-05-09 14:19:08 -06:00
Aiden McClelland
f84637b89d improve data sync reliability to underlying storage medium 2022-02-25 13:20:39 -07:00
Aiden McClelland
690324e68d increase max revisions that can be rebased onto 2022-01-26 16:00:25 -07:00
Keagan McClelland
259d186263 fixes multiple calls to recv for closed channels 2022-01-24 12:14:19 -07:00
Keagan McClelland
21fed0c0be fixes issue where locker actions may be reordered if they fire at close enough times 2022-01-20 17:58:19 -07:00
Keagan McClelland
28966308bc fixes locker deadlock issue resulting from json pointer recursion being broken 2022-01-11 13:16:54 -07:00
Keagan McClelland
53cdd6e370 remove println 2022-01-10 12:42:39 -07:00
Keagan McClelland
36793f429d works to the best of my knowledge 2022-01-10 12:42:39 -07:00
Keagan McClelland
7ae3ef9497 remove default features 2022-01-10 12:42:39 -07:00
Keagan McClelland
217d8dbdef deadlock detection tested 2022-01-10 12:42:39 -07:00
Keagan McClelland
ebc666302b builds again, tests underway 2022-01-10 12:42:39 -07:00
Keagan McClelland
09697a3c5a reorganize the entire locker 2022-01-10 12:42:39 -07:00
Keagan McClelland
766e45dc5a first pass at deadlock detection 2022-01-10 12:42:39 -07:00
Aiden McClelland
89d2b31f41 fix tracing errors 2021-12-28 15:29:10 -07:00
Keagan McClelland
f45f3a5b33 put validation behind a feature flag 2021-12-28 15:29:10 -07:00
Keagan McClelland
70dc690437 fix implicit locktype escalation 2021-12-28 15:29:10 -07:00
Keagan McClelland
0860275869 enforce correct api use 2021-12-28 15:29:10 -07:00
J M
d293e9a1f9 Update json-ptr 2021-12-28 15:29:10 -07:00
Drew Ansbacher
2ca4b256b3 Update patch-db.ts 2021-12-28 15:29:10 -07:00
Drew Ansbacher
4fb0d3570b Update patch-db.ts 2021-12-28 15:29:10 -07:00
J M
8422315b33 Fix: Merge conflict
Co-authored-by: Drew Ansbacher <drew.ansbacher@gmail.com>
2021-12-28 15:29:10 -07:00
Drew Ansbacher
e2a51475a7 polling working without refresh 2021-12-28 15:29:10 -07:00
Aiden McClelland
84cbed52c2 use general error for lock fn on handle 2021-12-28 15:29:10 -07:00
Aiden McClelland
afea35995d switch error type on lock fn 2021-12-28 15:29:10 -07:00
Keagan McClelland
1fbe344dd5 lock api now returns errors 2021-12-28 15:29:10 -07:00
Keagan McClelland
e95e97e96d fixed bugs in locking exclusion logic 2021-12-28 15:29:10 -07:00
Keagan McClelland
69d9632cac update json-ptr 2021-12-28 15:29:10 -07:00
Keagan McClelland
3b1e4b3534 code review edits 2021-12-28 15:29:10 -07:00
Keagan McClelland
d952ee89f2 add proptest 2021-12-28 15:29:10 -07:00
Keagan McClelland
449fbf66d4 first attempt at fixing locking semantics to prevent livelocks 2021-12-28 15:29:10 -07:00
Matt Hill
678d7b3322 add mock source 2021-12-28 15:29:10 -07:00
Aiden McClelland
a724d6ec6b cancel safety 2021-12-28 15:29:10 -07:00
Aiden McClelland
2205eb34e6 fixes #13 2021-12-28 15:29:10 -07:00
Lucy Cifferello
99500ec68b readme for client build 2021-12-28 15:29:10 -07:00
Aiden McClelland
0c797ef09f fix read releases 2021-12-28 15:29:10 -07:00
Lucy Cifferello
295e4ba4ad make submodules https 2021-12-28 15:29:10 -07:00
Lucy Cifferello
99b191c8be make submodules relative 2021-12-28 15:29:10 -07:00
Matt Hill
8b0a39ae0b don't delete observables whose value is undefined 2021-12-28 15:29:10 -07:00
Aiden McClelland
b7af320c56 export LockType 2021-12-28 15:29:10 -07:00