Commit graph

166 commits

Author SHA1 Message Date
Leonard
95d8843d9d
Fix clippy (#1532) 2023-10-08 18:24:38 -05:00
Leonard
c866ae602b
Add system for creating component attributes + new #[component] attribute (#1448)
* Add `#[component]` attribute + system for creating component attributes + other stuff

* Delete inlineprops.rs

* Update inline_props.rs

* Cargo fmt

* Fix clippy warnings and paths in props/mods.rs

* Include where clause in `#[inline_props]` output

* Allow Clippy type complexity in `LinkProps`

* Allow the type complexity lint for the entire link.rs file

* Remove snake_case -> PascalCase converter, but rather enforce PascalCase

Also:
- Put the second function inside the main one instead of besides it.
- Simplify

* Simplify type check lints so they don't return false positives

They will not always work, but they won't return any false positives, like for aliases. This is likely going to be replaced by a more polished Clippy-backed linting system.

* Fix #583

* Cargo fmt

* Add docs for `deserialize()` and remove useless comment

* Add `#[component]` to prelude

* Merge branch 'master' of https://github.com/tigerros/dioxus

* #[inline_props] is no more. Except in the docs folder, but that's going to be removed

* Remove docs folder

* Remove docs from workspace

* Resolve `DeserializerOutput` conversation
2023-09-15 09:13:36 -05:00
Jani Mustonen
31f8bab20d
Add ScopeId::ROOT (#1398)
* add ScopeId::ROOT

* replace ScopeId(0) with ScopeId::ROOT

---------

Co-authored-by: Jani Mustonen <jani.mustonen@taitounited.fi>
2023-08-25 08:31:23 -05:00
Evan Almloff
b8600d5144 fix tests 2023-08-15 13:11:03 -05:00
Evan Almloff
20296b5038 fix some examples that used the private API 2023-07-26 16:50:04 -07:00
Jonathan Kelley
4240f8428c
Fix: dont use bumpslab anymore, just box scopestates 2023-07-19 18:40:43 -07:00
Jonathan Kelley
163fe68f45
Remove a bit more unsafe 2023-07-19 12:26:32 -07:00
Jonathan Kelley
68253b49d7
cargo fmt 2023-07-14 17:46:14 -07:00
Jonathan Kelley
0f5605b3db
Apply clippy fixes 2023-07-14 17:13:49 -07:00
Jonathan Kelley
f0128a3150
implement suspense using simpler approach 2023-07-14 17:12:07 -07:00
Jonathan Kelley
81075748f6
add simple suspense methods 2023-07-14 16:56:17 -07:00
Jonathan Kelley
cbd88bbcc3
Rip out async components 2023-07-14 16:15:20 -07:00
Evan Almloff
fe162f4a79 expanded fuzzing 2023-06-02 14:20:03 -05:00
Evan Almloff
a01a65a0eb seperate text and other dynamic nodes 2023-01-12 16:34:46 -06:00
Evan Almloff
260589cd7f pass clippy 2023-01-12 15:53:33 -06:00
Evan Almloff
8a04a6ab0e clean up fuzzing test 2023-01-12 15:28:10 -06:00
Evan Almloff
75932a43e0 Merge branch 'upstream' into add-fuzzing-to-core 2023-01-12 15:17:20 -06:00
Jonathan Kelley
c4a18bc24d chore: clean up some clippy warnings and add clippy lints to CI 2023-01-11 16:13:41 -08:00
Jonathan Kelley
6d24fc3a6f ci: make CI pass for miri 2023-01-10 18:08:41 -08:00
Jonathan Kelley
13e58daa20 Merge branch 'master' into jk/add-miri-to-ci 2023-01-10 17:53:25 -08:00
Jonathan Kelley
faf94c7b4e fix: make miri pass on context api 2023-01-09 13:50:33 -08:00
Evan Almloff
112738c23d improve fuzzing test 2023-01-07 18:52:37 -06:00
Evan Almloff
990b0503e1 remove outdated comment 2023-01-05 10:36:30 -06:00
Evan Almloff
42baadf65d add fuzzing test to dioxus-core 2023-01-05 10:28:07 -06:00
Evan Almloff
51dba50c04 use BumpBox<Any> and FromAnyValue instead of sync bounds 2023-01-02 14:40:25 -06:00
Jonathan Kelley
0d95568972 chore: add miri and windows test 2022-12-30 14:34:44 -05:00
Evan Almloff
044462876d Merge branch 'upstream' into fix-non-str-attributes 2022-12-28 20:36:57 -06:00
Jonathan Kelley
d8aa9f032a feat: none return works 2022-12-23 19:33:15 -05:00
Evan Almloff
08c2440bca update core tests 2022-12-23 16:10:05 -06:00
Evan Almloff
afd024bcb6 Merge branch 'upstream' into fix-non-str-attributes 2022-12-23 15:53:39 -06:00
Jonathan Kelley
2fa3fe1fc0 fix: use arcwake instead of rcwake 2022-12-20 11:13:06 -08:00
Jonathan Kelley
18157eeed1 fix: dont panic in panic test 2022-12-19 20:10:34 -08:00
Jonathan Kelley
d3be971f4e chore: rollback to option instead of anyhow 2022-12-19 18:06:13 -08:00
Jonathan Kelley
7a4b0d7c2d fix: use stack optimization for replacer 2022-12-19 11:14:01 -08:00
Jonathan Kelley
cc7736302a Merge branch 'master' into fix-non-str-attributes 2022-12-17 01:51:13 -08:00
Jonathan Kelley
261d688b6e fix: get miri passing 2022-12-16 20:26:04 -08:00
Jonathan Kelley
cee63ae370 fix: spawn task 2022-12-13 16:04:41 -08:00
Jonathan Kelley
fc2aaa7df5 fix: cargo check 2022-12-13 15:54:59 -08:00
Jonathan Kelley
02b1a73890 fix: use tokio for test 2022-12-13 15:48:40 -08:00
Jonathan Kelley
74fba3b579 fix: remove scope from listener 2022-12-13 15:36:15 -08:00
Evan Almloff
8a1c96a68c fix custom attribute value support 2022-12-09 16:18:37 -06:00
Jonathan Kelley
34d9aafe0e feat: overhaul ssr 2022-12-06 17:41:47 -08:00
Jonathan Kelley
e22923eb2d feat: core tests passing 2022-12-05 14:16:54 -08:00
Jonathan Kelley
b0cccce60a feat: miri passing 2022-12-05 13:03:52 -08:00
Jonathan Kelley
a61daf220d feat: context api overhaul 2022-12-02 16:24:49 -08:00
Jonathan Kelley
85657d3906 feat: rip out mutations for templates 2022-12-01 00:46:15 -05:00
Jonathan Kelley
3b166c9edd wip: clean up some things 2022-11-30 23:54:30 -05:00
Jonathan Kelley
18d6b1ad6f feat: get web working properly 2022-11-30 17:21:10 -05:00
Jonathan Kelley
7c3d308ab5 chore: make warnings go away 2022-11-29 16:31:04 -05:00
Jonathan Kelley
0027cdd938 chore: get event test working 2022-11-27 09:38:40 -05:00