Commit graph

3588 commits

Author SHA1 Message Date
Evan Almloff
01726d6656 remove once, restore use_hook 2024-01-15 09:05:46 -06:00
Evan Almloff
36e9eb1160 partially restore spreading attributes 2024-01-14 15:21:19 -06:00
Jonathan Kelley
2470a46511
remove dbg 2024-01-13 21:23:52 -08:00
Jonathan Kelley
9881a94e67
Remove cx in more places 2024-01-13 21:18:36 -08:00
Jonathan Kelley
1dde044697
remove cx.render 2024-01-13 21:12:21 -08:00
Jonathan Kelley
fae0b08e61
Fix the router and stub out a number of crates to get compiling 2024-01-13 20:51:37 -08:00
Jonathan Kelley
759274143c
Merge branch 'master' into jk/breaking-merged 2024-01-11 17:38:31 -08:00
Jonathan Kelley
e801007698
Clean up some bits 2024-01-11 17:36:00 -08:00
Jonathan Kelley
3f15612c8e
Fix remaining issues to get desktop running 2024-01-11 17:30:50 -08:00
Jonathan Kelley
8beec2f41f
fix rendering issue 2024-01-11 17:15:01 -08:00
Jonathan Kelley
8c94f0bc4a
get compiling 2024-01-11 16:51:18 -08:00
Jonathan Kelley
2ae3241cc0
Merge branch 'master' into jk/breaking-merged 2024-01-11 16:04:36 -08:00
Evan Almloff
69da70fd32 make diffing a bit more resilient 2024-01-11 17:21:38 -06:00
Evan Almloff
6c29e2b825 clean up some core context APIs 2024-01-11 17:21:13 -06:00
Evan Almloff
d51b6268eb restore error boundaries in core 2024-01-11 17:20:53 -06:00
Jonathan Kelley
075caedf75
Different approach to make clippy happy across platforms 2024-01-11 15:15:45 -08:00
Jonathan Kelley
ac64f40842
Different approach to cfg 2024-01-11 15:14:45 -08:00
Jonathan Kelley
b90c7ffcac
Fix linux compile 2024-01-11 15:09:38 -08:00
Jonathan Kelley
11b51f6173
Merge branch 'master' into jk/fix-segfault-boot 2024-01-11 14:56:09 -08:00
Jonathan Kelley
08c522d5b3
Fix muda segfault 2024-01-11 14:50:21 -08:00
Evan Almloff
1034377a6f document ComponentFunction 2024-01-11 16:37:42 -06:00
Jonathan Kelley
4f077ec664
Merge pull request #1812 from ealmloff/duplicate-event-listener-rsx
check for duplicate event listeners in the rsx macro
2024-01-11 14:34:01 -08:00
Evan Almloff
4ef6f78657 fix duplicate listeners in the autoformat tests 2024-01-11 16:22:28 -06:00
Evan Almloff
598b557aee rename HasProps to ComponentFunction 2024-01-11 15:53:14 -06:00
Evan Almloff
b6ea395338 enable serde dependency in the html crate even if eval is disabled 2024-01-11 15:40:44 -06:00
Evan Almloff
3267ddec10 more consistent naming of the root component in core 2024-01-11 15:23:37 -06:00
Evan Almloff
7fe6e05da3 remove trybuild now that core is more safe 2024-01-11 15:21:13 -06:00
Evan Almloff
fd0a53ab63 make all core tests compile 2024-01-11 15:18:11 -06:00
Jonathan Kelley
f7bf156422
Merge pull request #1810 from DioxusLabs/jk/disambiguate-exprs-in-rsx
Disambiguate if expressions in rsx by requiring curlies, allow shorthand component/element initialization
2024-01-11 12:25:59 -08:00
Jonathan Kelley
3ef15577eb
Merge pull request #1807 from ealmloff/assets-optional
Only support manganis in the CLI
2024-01-11 12:18:24 -08:00
Jonathan Kelley
8ff13c3c1b
Fix some basic clippy stuff 2024-01-11 12:13:38 -08:00
Jonathan Kelley
1527b81e02
Components participate in event handlers 2024-01-11 12:11:27 -08:00
hem1t
8be9a7192b
using cargo.toml version (#1813)
- Replaced `CFG_RELEASE` with `CARGO_PKG_VERSION`
- No rerun on `CFG_RELEASE`
2024-01-11 13:50:23 -06:00
Jonathan Kelley
8881b8a473
Use error instead of panic for span location in rsx macro shorthand 2024-01-11 11:37:12 -08:00
Evan Almloff
a9d09d858b fix more errors in core tests 2024-01-11 12:40:36 -06:00
Evan Almloff
8d783490a0 fix the component macro when the function takes a single argument 2024-01-11 12:01:40 -06:00
Evan Almloff
bcbb647d02 fix constructing no argument components 2024-01-11 11:44:18 -06:00
Evan Almloff
1794debf79 fix components that take no arguments 2024-01-11 11:11:44 -06:00
Evan Almloff
404c864246 make the root component take no arguments 2024-01-11 10:48:04 -06:00
Evan Almloff
9b5a797008 check for duplicate event listeners in the rsx macro 2024-01-11 10:34:08 -06:00
Jonathan Kelley
aff5259654
Allow children shorthand in components 2024-01-10 23:52:38 -08:00
Jonathan Kelley
8a77d2560e
fix tests around children elements 2024-01-10 23:42:36 -08:00
Jonathan Kelley
b8061d6d14
Make clippy happy 2024-01-10 23:26:26 -08:00
Jonathan Kelley
593527d58b
fix final test 2024-01-10 23:18:47 -08:00
Jonathan Kelley
f1e8faffb5
fix tests 2024-01-10 23:17:01 -08:00
Jonathan Kelley
c5dfbd7913
fix test 2024-01-10 22:52:41 -08:00
Jonathan Kelley
fa9d92f956
Fix tests for autofmt 2024-01-10 22:41:40 -08:00
Jonathan Kelley
d9b84f9f8f
Disambiguate expressions in rsx by requiring curlies 2024-01-10 19:33:34 -08:00
Evan Almloff
8fe2515413 Merge branch 'breaking' of https://github.com/Demonthos/dioxus into breaking 2024-01-10 19:21:17 -06:00
Evan Almloff
55f76fede6 work on fixing some core tests 2024-01-10 19:21:15 -06:00