-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Completely Refactoer #120
Completely Refactoer #120
Commits on Jun 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 56c165b - Browse repository at this point
Copy the full SHA 56c165bView commit details
Commits on Jun 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 97a111c - Browse repository at this point
Copy the full SHA 97a111cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b3d8ac1 - Browse repository at this point
Copy the full SHA b3d8ac1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58d7842 - Browse repository at this point
Copy the full SHA 58d7842View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c0ba86 - Browse repository at this point
Copy the full SHA 5c0ba86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1417b35 - Browse repository at this point
Copy the full SHA 1417b35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bfed06 - Browse repository at this point
Copy the full SHA 0bfed06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27ce9cc - Browse repository at this point
Copy the full SHA 27ce9ccView commit details
Commits on Jun 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 21062f0 - Browse repository at this point
Copy the full SHA 21062f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1eb645f - Browse repository at this point
Copy the full SHA 1eb645fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd98927 - Browse repository at this point
Copy the full SHA fd98927View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3526c8 - Browse repository at this point
Copy the full SHA d3526c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 882004c - Browse repository at this point
Copy the full SHA 882004cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fafaa7 - Browse repository at this point
Copy the full SHA 7fafaa7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52a3abf - Browse repository at this point
Copy the full SHA 52a3abfView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3e421a - Browse repository at this point
Copy the full SHA e3e421aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f04c8f9 - Browse repository at this point
Copy the full SHA f04c8f9View commit details
Commits on Jun 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 59ef3cf - Browse repository at this point
Copy the full SHA 59ef3cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for b172a26 - Browse repository at this point
Copy the full SHA b172a26View commit details -
1. Use type aliases to define state field types (for use outside the state module). 2. std::sync::Mutex -> parking_lot::RwLock (parking lot and rw lock are more efficient)
Configuration menu - View commit details
-
Copy full SHA for 0ea3fbd - Browse repository at this point
Copy the full SHA 0ea3fbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f829ca - Browse repository at this point
Copy the full SHA 0f829caView commit details -
Add traits system to define how events, state and state modification …
…interact with eachother.
Configuration menu - View commit details
-
Copy full SHA for 2469be6 - Browse repository at this point
Copy the full SHA 2469be6View commit details -
Remove old code; implement a get_key function for the cache, which re…
…turns a cache reference
Configuration menu - View commit details
-
Copy full SHA for 98fe41b - Browse repository at this point
Copy the full SHA 98fe41bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f1dfe2 - Browse repository at this point
Copy the full SHA 9f1dfe2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7a3e2e - Browse repository at this point
Copy the full SHA b7a3e2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2761506 - Browse repository at this point
Copy the full SHA 2761506View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd1780b - Browse repository at this point
Copy the full SHA bd1780bView commit details -
Add command errors; remove poisoning error since parking_lot RwLocks …
…can not be poisoned; impl Debug on the Operation type
Configuration menu - View commit details
-
Copy full SHA for fc325b4 - Browse repository at this point
Copy the full SHA fc325b4View commit details
Commits on Jun 20, 2023
-
Refactor most events into "commands".
These are conceptually separated by being direct *internal* events that modify Odilia's state. As opposed to events, which are generally recieved from the outside. Also adds a few more Defualt implementations.
Configuration menu - View commit details
-
Copy full SHA for 9a1ded3 - Browse repository at this point
Copy the full SHA 9a1ded3View commit details
Commits on Jun 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1be3106 - Browse repository at this point
Copy the full SHA 1be3106View commit details -
Configuration menu - View commit details
-
Copy full SHA for d022036 - Browse repository at this point
Copy the full SHA d022036View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67f3184 - Browse repository at this point
Copy the full SHA 67f3184View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1166f6b - Browse repository at this point
Copy the full SHA 1166f6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95615a0 - Browse repository at this point
Copy the full SHA 95615a0View commit details
Commits on Jun 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c9fe077 - Browse repository at this point
Copy the full SHA c9fe077View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a6cc50 - Browse repository at this point
Copy the full SHA 9a6cc50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f94c2f - Browse repository at this point
Copy the full SHA 9f94c2fView commit details -
Add common traits; in this case define an associated type for a non-m…
…odifiable state view
Configuration menu - View commit details
-
Copy full SHA for 9883c00 - Browse repository at this point
Copy the full SHA 9883c00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b6dc18 - Browse repository at this point
Copy the full SHA 0b6dc18View commit details -
Configuration menu - View commit details
-
Copy full SHA for b843551 - Browse repository at this point
Copy the full SHA b843551View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73fdcca - Browse repository at this point
Copy the full SHA 73fdccaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a84ddf - Browse repository at this point
Copy the full SHA 8a84ddfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 795b44c - Browse repository at this point
Copy the full SHA 795b44cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4af049 - Browse repository at this point
Copy the full SHA e4af049View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82923d5 - Browse repository at this point
Copy the full SHA 82923d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f683937 - Browse repository at this point
Copy the full SHA f683937View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fa7e2d - Browse repository at this point
Copy the full SHA 9fa7e2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 13dce2f - Browse repository at this point
Copy the full SHA 13dce2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38b6eb7 - Browse repository at this point
Copy the full SHA 38b6eb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c2108e - Browse repository at this point
Copy the full SHA 0c2108eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31314f0 - Browse repository at this point
Copy the full SHA 31314f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29cfe84 - Browse repository at this point
Copy the full SHA 29cfe84View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2caddb1 - Browse repository at this point
Copy the full SHA 2caddb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea2fff3 - Browse repository at this point
Copy the full SHA ea2fff3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f270bad - Browse repository at this point
Copy the full SHA f270badView commit details -
Configuration menu - View commit details
-
Copy full SHA for e193213 - Browse repository at this point
Copy the full SHA e193213View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd95596 - Browse repository at this point
Copy the full SHA bd95596View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49038fe - Browse repository at this point
Copy the full SHA 49038feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60d8360 - Browse repository at this point
Copy the full SHA 60d8360View commit details -
Remove async_trait, since these these traits necessarily need to be u…
…sed in a synchronous context
Configuration menu - View commit details
-
Copy full SHA for f05e54b - Browse repository at this point
Copy the full SHA f05e54bView commit details -
Remove legacy docs (from async), add a new trait, add a new bound to …
…the Command structure.
Configuration menu - View commit details
-
Copy full SHA for 94c33cb - Browse repository at this point
Copy the full SHA 94c33cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca69d1a - Browse repository at this point
Copy the full SHA ca69d1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b32a666 - Browse repository at this point
Copy the full SHA b32a666View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8681b0 - Browse repository at this point
Copy the full SHA f8681b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac35b40 - Browse repository at this point
Copy the full SHA ac35b40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74520be - Browse repository at this point
Copy the full SHA 74520beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 691565a - Browse repository at this point
Copy the full SHA 691565aView commit details
Commits on Jun 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e2d18d7 - Browse repository at this point
Copy the full SHA e2d18d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c92902a - Browse repository at this point
Copy the full SHA c92902aView commit details -
Add StateChangedCommand, add macro to implement simple conversions be…
…tween enum command variants
Configuration menu - View commit details
-
Copy full SHA for 4d753f9 - Browse repository at this point
Copy the full SHA 4d753f9View commit details -
Add cache get function for anything that implements TryInto<Accessibl…
…ePrimitive> (the cache key)
Configuration menu - View commit details
-
Copy full SHA for 048940a - Browse repository at this point
Copy the full SHA 048940aView commit details
Commits on Jun 25, 2023
-
Move complex cache types into odilia_cache
It turns out we need async locking primitives, which at this time can not be compiled for any WASM architechture. This restriction *should* be able to be lifted in the future, especially with the rise of two features: 1. An asyncronous WASM standard. 2. Reference types in WASM. With both these features implemented, it is reasonably likely that no (de)serialization would have to be performed at all, and plugins could simply use the types as if they were a native Rust function. This functionality, or event standardization is likely to take over a year, so I'm not holding my breath out for it, but when it comes, we should move the more advanced caching types back into odilia_common, and allow plugins free access to the cache, and maybe event the entire state, completely by reference.
Configuration menu - View commit details
-
Copy full SHA for 9e34d67 - Browse repository at this point
Copy the full SHA 9e34d67View commit details -
Most operation in Odilia need to be done as an "atomic grouping" if you will. For example, suppose two events come in: the first sets some new text, the second moves the cursor over the newly inserted word. Although in reality it will be *incredibly* rare that these two events happen fast enough for Odilia to have this problem, in theory the section of text to speak could be processed before the write is complete from the first event. Overall, I'm just trying to make sure that if Odilia is going to have synchronization errors, at least they will be contained to receiving the events in the wrong order, and not ones self-imposed.
Configuration menu - View commit details
-
Copy full SHA for 37bc4d8 - Browse repository at this point
Copy the full SHA 37bc4d8View commit details -
* This was originally syncified because DashMap did not require any locks. * Then, we even started to use a `parking_lot::Mutex`, which did not error when a lock attempt was made. * But here, we need to asyncify the internal `tokio::sync::Mutex` on each individual cache item. * This is because we want to use async in the rest of the codebase, and specifically we want to asyncronize separate event processing *by the locks made on these cache items*.
Configuration menu - View commit details
-
Copy full SHA for 1e964b2 - Browse repository at this point
Copy the full SHA 1e964b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 514f276 - Browse repository at this point
Copy the full SHA 514f276View commit details -
All traits that implement any functioanltiy (as opposed to traits that only specify types), should always be async. An MVP was created without async available, but now it's time to bring it into the light :)
Configuration menu - View commit details
-
Copy full SHA for 579f3a3 - Browse repository at this point
Copy the full SHA 579f3a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a497cde - Browse repository at this point
Copy the full SHA a497cdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for e399f53 - Browse repository at this point
Copy the full SHA e399f53View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2a089d - Browse repository at this point
Copy the full SHA a2a089dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 368160e - Browse repository at this point
Copy the full SHA 368160eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dc7646 - Browse repository at this point
Copy the full SHA 7dc7646View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed5d347 - Browse repository at this point
Copy the full SHA ed5d347View commit details
Commits on Jun 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b5f8136 - Browse repository at this point
Copy the full SHA b5f8136View commit details -
Configuration menu - View commit details
-
Copy full SHA for c34d2d2 - Browse repository at this point
Copy the full SHA c34d2d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for cac3a3f - Browse repository at this point
Copy the full SHA cac3a3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61f6e24 - Browse repository at this point
Copy the full SHA 61f6e24View commit details
Commits on Jul 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0d9c950 - Browse repository at this point
Copy the full SHA 0d9c950View commit details -
Configuration menu - View commit details
-
Copy full SHA for d555b11 - Browse repository at this point
Copy the full SHA d555b11View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbb1919 - Browse repository at this point
Copy the full SHA bbb1919View commit details -
Configuration menu - View commit details
-
Copy full SHA for e55686a - Browse repository at this point
Copy the full SHA e55686aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 149f91c - Browse repository at this point
Copy the full SHA 149f91cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54a1e9d - Browse repository at this point
Copy the full SHA 54a1e9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ccdaa7 - Browse repository at this point
Copy the full SHA 8ccdaa7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68b71b2 - Browse repository at this point
Copy the full SHA 68b71b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4e2127 - Browse repository at this point
Copy the full SHA a4e2127View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a9aa13 - Browse repository at this point
Copy the full SHA 3a9aa13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51d03ae - Browse repository at this point
Copy the full SHA 51d03aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 55c0477 - Browse repository at this point
Copy the full SHA 55c0477View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbff978 - Browse repository at this point
Copy the full SHA bbff978View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4eb1264 - Browse repository at this point
Copy the full SHA 4eb1264View commit details -
Configuration menu - View commit details
-
Copy full SHA for f62eaee - Browse repository at this point
Copy the full SHA f62eaeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b385f8 - Browse repository at this point
Copy the full SHA 6b385f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f6e15b - Browse repository at this point
Copy the full SHA 9f6e15bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b97991d - Browse repository at this point
Copy the full SHA b97991dView commit details
Commits on Feb 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cf8a0a2 - Browse repository at this point
Copy the full SHA cf8a0a2View commit details