Commit Graph

64 Commits

Author SHA1 Message Date
Well e1f6802567 More docs review. 2024-02-12 19:00:28 -03:00
Samuel Guerra 380dc04b52 More docs review. 2024-02-12 15:46:22 -03:00
Samuel Guerra f6e563be49 Fixed weird future trait bound issues. 2024-02-09 14:59:41 -03:00
Samuel Guerra e625920d38 Fixed gradient nodes not updates when some properties change. 2024-02-03 01:39:40 -03:00
Samuel Guerra 8561d2d1c8 Started integrating INSTANT with APP. 2024-02-02 22:20:24 -03:00
Samuel Guerra b707b40bec Implemented INSTANT and replaced all usages. 2024-02-02 15:36:44 -03:00
Samuel Guerra 4d5830287f Removed fake examples. 2024-01-31 20:46:52 -03:00
Samuel Guerra 146833cdef Fixed tests. 2024-01-30 14:32:32 -03:00
Samuel Guerra bfdb1a242e More var docs and changes. 2024-01-30 11:47:24 -03:00
Samuel Guerra 9c15d12bff Refactored EasingFn. 2024-01-30 00:54:19 -03:00
Samuel Guerra 874bf7fa60 Fixed release build. 2024-01-25 00:56:04 -03:00
Samuel Guerra 5dfe6cdc6e Documented how to localize commands. 2024-01-19 11:28:42 -03:00
Well 805a4c2dc7 Used `include_str!` to add the README.md to the main page documentation of each component crate. 2024-01-17 19:10:56 -03:00
Well 7a93c3156d Added `README.md` for each crate. 2024-01-17 18:42:33 -03:00
Samuel Guerra 4808b3ecf7 Fix tests. 2024-01-17 15:35:11 -03:00
Samuel Guerra e092792ff6 Fixed race condition in `ResponseVar::wait_done`.
The recent change of `Var::wait_update` to an async method caused it to not instantiate the future at the moment the method is called, so the code that double checks if the response is done in `wait_done` no longer covered all conditions.
2024-01-14 20:20:39 -03:00
Well 140a9d1918 Added TODO. 2024-01-12 19:02:12 -03:00
Samuel Guerra 2ec2db72b3 Implemented `tile_origin` for gradients.
Fixed checkerboard.
2024-01-12 01:40:30 -03:00
Samuel Guerra 6cabab4d5a Renamed `map_to_text` to `map_to_txt`.
Finished button docs.

Implemented `Command::on_event` that subscribes to the command too, not just the command event.
2024-01-11 21:50:21 -03:00
Samuel Guerra f6e9d4533e Remove temp comment. 2024-01-08 17:02:05 -03:00
Samuel Guerra ed0bc657cb Renamed `to_text` to `to_txt`.
Alert app-process of handled panics creating gl context.
2024-01-06 15:52:23 -03:00
Samuel Guerra 9e9191ca5e Use async fn in Var trait instead of exposing future types. 2024-01-04 19:53:55 -03:00
Samuel Guerra cfa41664b7 Some more optimization. 2024-01-04 15:38:46 -03:00
Well 1714ae7b7a Refactored WhenVar to only contextualize when needed. 2024-01-03 18:20:35 -03:00
Samuel Guerra e36fcaea6b Changed `merge_var!` to only contextualize when needed. 2024-01-03 17:25:27 -03:00
Samuel Guerra 362f8b1e73 Fixed non-contextualized mapping vars not holding the source var alive. 2024-01-03 16:25:45 -03:00
Samuel Guerra 17efed135f Removed ContextLocal helper methods that where hiding optimization opportunities. 2024-01-03 12:50:20 -03:00
Samuel Guerra b4ae28362e Avoid contextualization in MapRef. 2024-01-03 12:25:14 -03:00
Samuel Guerra e91006bc41 Fixed contextual BoxedVar. 2024-01-03 11:55:59 -03:00
Samuel Guerra da93aa6749 Simplified ContextualizedVar and removed dependency on it from some non-contextualized vars. 2024-01-03 01:07:53 -03:00
Samuel Guerra 7517568214 Refactored `ContextualizedVar` to erase type when compiled with `dyn_closure`. 2024-01-02 23:11:37 -03:00
Samuel Guerra 9591b4bd08 Refactored toggle::value to avoid entire implementation being generic. 2024-01-02 16:59:53 -03:00
Samuel Guerra 5fd8dc84f2 Avoid monomorphization of retain in apply_modify. 2024-01-02 13:18:17 -03:00
Samuel Guerra 1b667ec61f Implement dyn_closure for ArcVar::modify. 2024-01-02 12:06:43 -03:00
Samuel Guerra 9ec3a1d94b Implemented strong typed var hook. 2023-12-27 11:38:30 -03:00
Samuel Guerra edb7912fc8 Renamed units to unit. 2023-12-16 11:52:46 -03:00
Samuel Guerra 9ac348cd6d Moved ObservableVec to -var crate. 2023-12-15 12:05:46 -03:00
Samuel Guerra 86ffc60687 More VARS APP integration API cleanup. 2023-12-14 23:13:19 -03:00
Samuel Guerra d5e3a8d19b Refactored VARS APP integration. 2023-12-14 18:40:15 -03:00
Samuel Guerra 4b5b81a8eb Debugging stuck loop. 2023-12-14 13:51:23 -03:00
Samuel Guerra 41115d6c7f More test fixes. 2023-12-12 23:48:37 -03:00
Samuel Guerra 872dea5376 Implementing main re-exports. 2023-12-11 11:40:28 -03:00
Samuel Guerra 181e70946d Added missing lints. 2023-12-10 23:26:30 -03:00
Samuel Guerra feedc9aabd Continued implementing main re-exports. 2023-12-10 22:32:21 -03:00
Samuel Guerra a2c96671e0 App crate refactor. 2023-12-04 15:10:19 -03:00
Samuel Guerra 8faceea6cf Refactored task module into own crate. 2023-12-02 12:59:06 -03:00
Well acf2e3eafe Made `selection_toolbar_fn` into a context-var. 2023-12-01 17:26:06 -03:00
Samuel Guerra 7016cfd3ff Fixed #[easing] in when. 2023-12-01 13:04:11 -03:00
Samuel Guerra 95d8f8cd2b Fixed BoxedVar::read_only 2023-12-01 12:46:02 -03:00
Samuel Guerra 4eb58acf66 Debug 2023-12-01 10:59:28 -03:00