Commit graph

60 commits

Author SHA1 Message Date
Evan Almloff
9f283f571f
fix signal error message and add tests (#2118) 2024-03-20 08:45:27 -07:00
Evan Almloff
58f7efafea
Make EventHandler copy (#2112)
* implement Copy for EventHandler
* implement from closure for event handler and remove special on prefix
* fix props implementation of EventHandler
2024-03-19 19:48:53 -07:00
Evan Almloff
f51b5617e1 add a test for the memo hook 2024-03-11 15:33:46 -05:00
Evan Almloff
4bc2f4a713 add more docs around lifetime downcasting 2024-03-08 10:46:34 -06:00
Evan Almloff
5f9e5f607b rename take to manually drop 2024-03-08 10:35:27 -06:00
Evan Almloff
60a84956d1 restore lifetime checking for signals 2024-03-08 10:32:57 -06:00
Jonathan Kelley
be29c1fdaa
chore: move all packages onto workspace versions 2024-02-21 14:30:13 -08:00
Evan Almloff
1af8f56e89 make target an associated type 2024-02-07 08:53:21 -06:00
Evan Almloff
356497df4e fix some clippy lints 2024-02-05 08:17:25 -06:00
Evan Almloff
50e3216d8b convert T into signals automatically 2024-01-29 13:36:39 -06:00
Evan Almloff
b3f018f805 fix generational box fuzzing 2024-01-26 15:35:01 -06:00
Jonathan Kelley
9633cfadde
fix gen box compile release no features 2024-01-23 15:41:37 -08:00
Evan Almloff
51d7133ca5 add readable and writable traits for signal-like structs 2024-01-23 10:05:59 -06:00
Evan Almloff
93adb35cfa fix removing debug borrow information when the ref is dropped 2024-01-23 07:41:46 -06:00
Evan Almloff
6ed5df644e fix generational box release builds 2024-01-23 07:38:29 -06:00
Evan Almloff
a51744c439 fix generational box fuzzing 2024-01-23 07:33:53 -06:00
Evan Almloff
89b7784d31 make validate private again 2024-01-23 07:32:53 -06:00
Jonathan Kelley
079fec3be6
simplify generational box by compressing debug info 2024-01-22 21:17:02 -08:00
Evan Almloff
e01f10e25d remove mappable and mappablemut traits 2024-01-22 16:51:25 -06:00
Evan Almloff
a10f9496c7 don't panic in try variants even in release mode 2024-01-22 08:32:13 -06:00
Jonathan Kelley
028f499bf6
Fix generational box in release mode 2024-01-21 12:46:19 -08:00
Jonathan Kelley
6ed3aafb2f
Get cargo check --all working 2024-01-18 19:27:55 -08:00
Evan Almloff
611f0d3b5f Merge branch 'maybe-sync-signal' into breaking 2024-01-16 13:49:53 -06:00
Jonathan Kelley
8559984e9d
and mut bound to mut methods on signals 2024-01-15 23:24:59 -08:00
Evan Almloff
cfebb6c900 remove async-channel now that context and eval is global 2024-01-15 11:46:00 -06:00
Evan Almloff
b34418fd28 fix generational box 2024-01-08 13:54:54 -06:00
Evan Almloff
65c0d213e3 remove bump in generational box 2024-01-06 16:55:52 -06:00
ealmloff
f54ee1c361
Merge branch 'master' into map-signal 2024-01-05 18:30:31 -06:00
ealmloff
cde5ac5f58
fix invalid locations never being dropped (#1747) 2024-01-03 14:01:50 -06:00
Evan Almloff
b7c9817cf3 fix tests 2024-01-02 15:19:01 -06:00
Evan Almloff
e0ff6ce4da fix some merge changes in generational box 2023-12-17 17:42:34 -06:00
Evan Almloff
f646f68b60 Merge branch 'master' into maybe-sync-signal 2023-12-15 18:38:06 -06:00
Evan Almloff
6b17d3db1e fix signals crate 2023-12-15 18:35:48 -06:00
Evan Almloff
9e388c3c51 refactor generational box into multiple files 2023-12-15 08:50:54 -06:00
Evan Almloff
70c3abb8df Merge branch 'master' into maybe-sync-signal 2023-12-14 12:29:32 -06:00
Jonathan Kelley
ccd850edf6
Merge pull request #1383 from ealmloff/debug-signals
Add debug information to borrows and ownership in signals
2023-12-06 21:19:38 -08:00
Jonathan Kelley
d3f6ff703c
Release 0.4.3
dioxus@0.4.3
dioxus-autofmt@0.4.3
dioxus-check@0.4.3
dioxus-cli@0.4.3
dioxus-core@0.4.3
dioxus-core-macro@0.4.3
dioxus-desktop@0.4.3
dioxus-fullstack@0.4.3
dioxus-hooks@0.4.3
dioxus-hot-reload@0.4.3
dioxus-html@0.4.3
dioxus-interpreter-js@0.4.3
dioxus-liveview@0.4.3
dioxus-mobile@0.4.3
dioxus-native-core@0.4.3
dioxus-native-core-macro@0.4.3
dioxus-router@0.4.3
dioxus-router-macro@0.4.3
dioxus-rsx@0.4.3
dioxus-signals@0.4.3
dioxus-ssr@0.4.3
dioxus-tui@0.4.3
dioxus-web@0.4.3
dioxus_server_macro@0.4.3
fermi@0.4.3
generational-box@0.4.3
plasmo@0.4.3
rsx-rosetta@0.4.3

Generated by cargo-workspaces
2023-12-06 16:56:35 -08:00
Jonathan Kelley
0c92486883
publish generational box 2023-12-05 22:57:20 -08:00
Evan Almloff
c1bfe9514f document remaining items in generational box 2023-11-07 13:19:26 -06:00
Evan Almloff
2731ca0b30 fix ref try map 2023-11-07 09:26:12 -06:00
Evan Almloff
4e19f8f2be make GenerationalBoxId send and sync 2023-11-06 18:57:55 -06:00
Evan Almloff
466005890d make effect system async to make signals send + sync 2023-11-06 18:47:51 -06:00
Evan Almloff
ebbaacf073 fix read and write impls 2023-11-03 10:27:21 -05:00
Evan Almloff
0a8de1d40f clean up ref mapping with GATs 2023-11-02 19:35:53 -05:00
Evan Almloff
fdec47b90b fix clippy 2023-11-01 08:19:35 -05:00
Evan Almloff
8a62e4a987 Merge branch 'master' into debug-signals 2023-10-31 13:55:20 -05:00
Evan Almloff
90e04edcdf make the signal runtime global 2023-10-30 14:25:31 -05:00
Evan Almloff
4ac6aed482 try specialization 2023-10-26 16:36:41 -05:00
Evan Almloff
1126c1d329 make signal sync 2023-10-26 12:47:53 -05:00
ealmloff
1cf8f71368
Fix typo in generational box readme 2023-10-19 13:03:26 -05:00