Commit Graph
180 Commits
Author SHA1 Message Date
Jonathan Kelley 8df7a7685e Merge branch 'master' into many_optional_attributes 2024-01-04 10:18:57 -08: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 a120af33ad Merge branch 'master' into fix-event-bubbling 2023-11-11 17:53:47 -06:00
Leonard 95d8843d9d Fix clippy (#1532) 2023-10-08 18:24:38 -05:00
Evan Almloff c0f345e775 add if statements to test and rsx usage example 2023-09-19 09:48:56 -05:00
Evan Almloff ab2b9fb34e fix autoformatting 2023-09-19 09:39:53 -05:00
Evan Almloff 98335bd9a6 Merge branch 'master' into fix-event-bubbling 2023-09-17 20:00:22 -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
Evan Almloff c8fca7b321 fix clippy 2023-09-12 09:28:08 -05:00
Evan Almloff d81d3ebaef assign parents through fragments 2023-09-11 16:16:16 -05:00
Evan Almloff 35b643e23f switch to bubble ids on vnodes to fix nodes under fragments pointing to an invalid parent 2023-09-11 15:55:58 -05:00
Evan Almloff 02456c1068 fix double drop of bubble id 2023-09-05 21:21:54 -05:00
Evan Almloff 9552ab6c1c pass event propagation test 2023-09-04 19:10:11 -05:00
Evan Almloff b0733958f2 Merge branch 'master' into fix-event-bubbling 2023-08-29 13:00:01 -05:00
Jani MustonenandJani 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 dc4707ee2a WIP fix event bubbling 2023-08-23 13:01:37 -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