238 Commits

Author SHA1 Message Date
73e57a15a1
Added dynatos_html::{html, html_file} macros. 2024-12-03 06:37:23 +00:00
f9376bd7c8
Added dynatos_html::{text, comment}. 2024-12-03 05:40:34 +00:00
df9d973af3
Added dynatos_html::ElementWithInnerHtml. 2024-12-03 04:24:55 +00:00
352467ba41
Updated to rustc 1.83.0-nightly (18b1161ec 2024-10-02). 2024-11-30 23:15:01 +00:00
f2fd544f6f
Updated to rustc 1.81.0-nightly (9c3bc805d 2024-06-27). 2024-07-03 20:24:36 +01:00
f6de2142fe
Added cloned proc macro to dynatos-util. 2024-03-21 19:47:43 +00:00
10e2d228a0
Fixed Trigger triggering multiple times in debug mode.
This was due to `Subscriber` taking it's defined location into it's hash, which made it possible for the same effect to be registered twice, so long as it had a different defined location.
2024-03-18 21:00:46 +00:00
1727e0bb9b
Triggers and Effectss now store their definition location in debug mode. 2024-03-18 21:00:41 +00:00
7ccef1671a
Fixed Memo triggering effects twice. 2024-03-17 08:14:55 +00:00
905ec803e9
Added Subscriber type for Trigger implementation. 2024-03-17 07:54:39 +00:00
ad7c7c0629
Added Element[With]DynChildren. 2024-03-17 07:47:40 +00:00
26b50b4eb3
Query[Array]Signal now memo the query value to avoid unnecessary triggers. 2024-03-17 07:45:54 +00:00
c6b33db6e5
Simplified Memo update checking. 2024-03-16 09:15:29 +00:00
bbbd6f8ac9
Derived and Memo now inline the inner Signal used. 2024-03-16 09:03:34 +00:00
7a07fbc0de
Added NodeAddChildren. 2024-03-14 08:38:30 +00:00
9a9cf2b9ed
Added dynatos_reactive::Memo. 2024-03-14 08:13:44 +00:00
b908a17237
Fixed panic when updating Query[Array]Signal. 2024-03-12 05:57:08 +00:00
d62e45e587
Added #[track_caller] attribute to several signal functions. 2024-03-12 05:45:56 +00:00
5aef275f55
Replaced usages of Rc<OnceCell<_>> with a static OnceCell in effect tests. 2024-03-11 01:57:34 +00:00
873b5f9325
Replaced remaining miscellaneous usages of thread_local! with #[thread_local]. 2024-03-11 01:51:29 +00:00
4d7b3cd7ec
dynatos_title now uses #[thread_local] for the title stack. 2024-03-11 01:50:00 +00:00
d31148bb4d
Fixed initial page title being lost due to mistake in dynatos_title. 2024-03-11 01:45:15 +00:00
805e5fd445
Added warning for lint clippy::std_instead_of_core. 2024-03-11 01:41:56 +00:00
81bd0c9239
Added warning for many more clippy lints. 2024-03-11 01:32:17 +00:00
9d1b7529c4
Added warning for lint clippy::use_self. 2024-03-11 01:30:09 +00:00
8a6b1aae28
Added warning for lint clippy::type_repetition_in_bounds. 2024-03-11 01:23:10 +00:00
a6e2e87423
Added warning for lint clippy::redundant_type_annotations. 2024-03-11 01:11:45 +00:00
ed7556aed4
Added warning for lint clippy::or_fun_call. 2024-03-11 01:06:50 +00:00
9f9d4f7613
Added warning for lint clippy::non_send_fields_in_send_ty. 2024-03-11 01:05:11 +00:00
2e3c49a0dd
Added warning for lint clippy::missing_const_for_fn. 2024-03-11 00:59:45 +00:00
eab2349305
Added warning for lint clippy::let_underscore_untyped. 2024-03-11 00:54:20 +00:00
65145a5510
Added warning for lint clippy::needless_pass_by_value. 2024-03-11 00:32:55 +00:00
5537e5576a
Added warning for lint clippy::explicit_into_iter_loop. 2024-03-11 00:32:06 +00:00
4d8d8f434b
Added warning for lint clippy::manual_assert. 2024-03-11 00:31:26 +00:00
1d0d9898a3
Added warning for lint clippy::semicolon_if_nothing_returned. 2024-03-11 00:30:02 +00:00
37e4995d63
Added warning for lint clippy::must_use_candidate. 2024-03-11 00:27:33 +00:00
527a37527d
Added warning for lint clippy::flat_map_option. 2024-03-11 00:22:10 +00:00
e3a741ce2f
Added warning for lint clippy::map_unwrap_or. 2024-03-11 00:21:08 +00:00
7a245e0668
Every crate now uses workspace lints. 2024-03-11 00:18:11 +00:00
102b2acb1b
Added LoadableSignal.
A thin wrapper over `AsyncSignal` of `Result<T>, E` that uses `Loadable<T, E>` instead.
2024-03-11 00:15:36 +00:00
1757a8baf8
Added Loadable::as_deref[_mut]. 2024-03-11 00:15:26 +00:00
db0a1d3106
AsyncSignal no longer allows de-initializing the inner value.
This allowed polling the completed future again, which shouldn't be allowed.
2024-03-11 00:14:13 +00:00
c72337760a
Added SignalBorrowMut.
Fixed `AsyncSignal::update` not triggering subscribers.
2024-03-10 01:17:16 +00:00
8da49828a4
Added SignalBorrow. 2024-03-10 00:34:02 +00:00
ef153e8cad
Added Loadable From impls for Option and Result.
Removed `Loadable::from_res` in favor of these impls.
2024-03-10 00:30:49 +00:00
434f920dc9
Separated all signal operations into their own modules. 2024-03-09 19:09:42 +00:00
c529a150b9
Updated tests' Cargo.lock. 2024-03-09 19:05:52 +00:00
1d79430763
Improved dynatos_context::{expect, with_expect} to not ever copy/clone the Option<_>. 2024-03-07 17:05:22 +00:00
0485d41229
Added benchmark for multiple types in dynatos_context. 2024-03-07 17:05:16 +00:00
4b9f70e00e
Improved dynatos_context benchmarks. 2024-03-07 16:41:10 +00:00