Commit Graph
209 Commits
Author SHA1 Message Date
Evan Almloff 3267ddec10 more consistent naming of the root component in core 2024-01-11 15:23:37 -06:00
Evan Almloff fd0a53ab63 make all core tests compile 2024-01-11 15:18:11 -06:00
Evan Almloff a9d09d858b fix more errors in core tests 2024-01-11 12:40:36 -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 55f76fede6 work on fixing some core tests 2024-01-10 19:21:15 -06:00
Evan Almloff 4a1a00b0f0 fix dioxus ssr 2024-01-10 17:57:15 -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
Jonathan Kelley 785b61a05e Merge branch 'master' into intigrate-collect-assets 2024-01-05 12:13:31 -08:00
Evan Almloff 113b2c1529 port over more diffing + creation logic 2024-01-05 12:07:29 -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 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
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 8df7a7685e Merge branch 'master' into many_optional_attributes 2024-01-04 10:18:57 -08: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 a120af33ad Merge branch 'master' into fix-event-bubbling 2023-11-11 17:53:47 -06:00
Evan Almloff 4b4dcbed6a fix error boundary test 2023-11-09 08:43:38 -06:00
Evan Almloff b76f129083 Merge branch 'master' into intigrate-collect-assets 2023-10-10 09:57:16 -05: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 219c068283 Merge branch 'master' into events-2 2023-09-17 20:01:21 -05:00
Evan Almloff 98335bd9a6 Merge branch 'master' into fix-event-bubbling 2023-09-17 20:00:22 -05:00
Evan Almloff f976e08f71 Merge branch 'master' into intigrate-collect-assets 2023-09-17 19:40:14 -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 d06e64e5ad fix dioxus-tui events 2023-09-06 12:51:02 -05:00
Evan Almloff 0ab7a02777 fix clippy 2023-09-05 21:30:20 -05:00
Evan Almloff 02456c1068 fix double drop of bubble id 2023-09-05 21:21:54 -05:00
Evan Almloff bd38cddc9f fix dioxus core event tests 2023-09-04 19:17:43 -05:00
Evan Almloff 9552ab6c1c pass event propagation test 2023-09-04 19:10:11 -05:00
Evan Almloff baf36ab9ec Merge branch 'master' into events-2 2023-09-02 18:14:36 -05:00
Evan Almloff df222c121a port examples to new events 2023-09-01 15:38:55 -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