Commit graph

997 commits

Author SHA1 Message Date
Evan Almloff
aed29b1dec separate mount information from VNodes 2024-01-09 10:09:08 -06:00
Evan Almloff
aefa8a2431 use boxed slices instead of vecs where possible 2024-01-07 13:41:39 -06:00
Evan Almloff
ebacc7b709 make EventHandler partialeq 2024-01-07 09:17:54 -06:00
Evan Almloff
58c01253e5 make EventHandler clone 2024-01-07 09:17:26 -06:00
Evan Almloff
6630a81b0b fix VComponent::new 2024-01-07 09:14:44 -06:00
Evan Almloff
88e2da6c11 update the web renderer to the new dioxus core 2024-01-06 16:44:07 -06:00
Evan Almloff
f4af297777 merge upstream 2024-01-06 16:14:22 -06:00
Evan Almloff
4013341b6c hello world example working 2024-01-05 18:01:05 -06:00
Evan Almloff
3865f44081 make desktop compile 2024-01-05 14:39:45 -06:00
Jonathan Kelley
785b61a05e
Merge branch 'master' into intigrate-collect-assets 2024-01-05 12:13:31 -08:00
Evan Almloff
d90c71c508 move creation functions into the structs they are creating and unify user and system events 2024-01-05 13:18:48 -06:00
Evan Almloff
a4a9aa5224 create a global once function 2024-01-05 12:31:20 -06:00
Evan Almloff
a1676537ad restore drop scope 2024-01-05 12:28:45 -06:00
Evan Almloff
efd301a878 clippy fix 2024-01-05 12:26:12 -06:00
Evan Almloff
32b15fc851 make core compile 2024-01-05 12:25:18 -06:00
Evan Almloff
113b2c1529 port over more diffing + creation logic 2024-01-05 12:07:29 -06:00
Evan Almloff
717f38a5ec remove some unused unsafe blocks 2024-01-05 11:45:01 -06:00
Evan Almloff
35b461cd09 switch to a mutations trait to fix some lifetime issues 2024-01-05 11:44:07 -06:00
Evan Almloff
0c76770da0 remove a lot of unsafe 2024-01-05 10:57:05 -06:00
Evan Almloff
c70e2bfcb6 move diffing into the global runtime 2024-01-05 09:32:50 -06:00
Evan Almloff
f42ef3ef9d remove more lifetimes 2024-01-05 08:39:22 -06:00
Evan Almloff
7ffb204eac fix event tests in core 2024-01-04 19:36:10 -06:00
Evan Almloff
0388a5c1f4 fix formatting 2024-01-04 19:21:06 -06:00
Evan Almloff
0b40878fce fix cargo check 2024-01-04 19:11:32 -06:00
Evan Almloff
4f654d61b7 fix cargo check 2024-01-04 19:05:36 -06:00
Evan Almloff
dccfba12d8 Merge branch 'master' into events-2 2024-01-04 19:02:00 -06:00
Evan Almloff
b1de7d850c Merge branch 'master' into intigrate-collect-assets 2024-01-04 18:44:29 -06:00
Evan Almloff
3ad16ddd37 rip out more lifetimes 2024-01-04 18:33:01 -06:00
Evan Almloff
c9ff449e45 remove the bump allocator 2024-01-04 17:33:22 -06:00
Evan Almloff
f6acaba061 fix compilation 2024-01-04 17:04:56 -06:00
Jonathan Kelley
1a8bf13ff5
Merge branch 'master' into resilient-hydration 2024-01-04 10:28:41 -08:00
Jonathan Kelley
ea1325f6e8
Merge branch 'master' into polish-throw 2024-01-04 10:27:51 -08:00
Jonathan Kelley
c1d9553e49
Merge pull request #1624 from Erithax/rename_into_node_traits
rename IntoDynNode and IntoTemplate traits
2024-01-04 10:25:49 -08:00
Jonathan Kelley
8df7a7685e
Merge branch 'master' into many_optional_attributes 2024-01-04 10:18:57 -08:00
Jonathan Kelley
a2f44be2a2
Merge branch 'master' into binary-protocal 2024-01-04 10:17:10 -08:00
Jonathan Kelley
1d289ff282
Merge pull request #1710 from Exotik850/cx-spawn-poll
Make cx.spawn poll the task before returning `TaskId`
2024-01-04 10:07:22 -08:00
Jonathan Kelley
922d9c8c05
Merge branch 'master' into fix-event-bubbling 2024-01-04 10:06:27 -08:00
ealmloff
2e424436b3
don't remove futures spawned by spawn_forever when the component is removed (#1708) 2024-01-03 14:02:36 -06:00
abhi
fd7c9e0359
fix empty render causing panic (#1769) (#1774)
* fix empty render causing panic (#1769)

* use an default root column instead of an empty root column

* fix formatting

* restore create.rs in core

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-01-02 10:02:58 -06:00
Evan Almloff
0a7873fcd0 merge upstream 2023-12-30 14:12:21 -06:00
tigerros
451d935aa2
fix typo (#1759) 2023-12-29 18:18:50 -06:00
Evan Almloff
9e9b7a2459 fix clippy 2023-12-27 10:23:56 -06:00
Evan Almloff
c48788270e fix lints in miri 2023-12-17 16:46:32 -06:00
Evan Almloff
7b45a3a98b run fuzzing more when miri is deactivated 2023-12-16 21:27:31 -06:00
Evan Almloff
22f2c0ad9b reduce how many times the create and diff fuzzing runs 2023-12-16 21:24:47 -06:00
Evan Almloff
b91e97ca43 document events are only triggerable on elements 2023-12-16 19:54:26 -06:00
ealmloff
56478d1856
Merge branch 'DioxusLabs:master' into fix-event-bubbling 2023-12-16 06:34:00 -06:00
kidkool850@gmail.com
ed2ce6e039 Don't notify task if ready 2023-12-15 22:23:59 -06:00
Exotik850
fdce7bbe5a Return to just TaskId, still polling 2023-12-12 13:02:35 -06:00
kidkool850@gmail.com
69ca1fd8a7 Make cx.spawn() return an Option<TaskId>, returns None if finished immediately 2023-12-11 16:01:40 -06:00