Commit Graph
1153 Commits
Author SHA1 Message Date
Exotik850 fc31876a57 Wasm target check before build (#1689)
* Add `rustup show` check for wasm32 target

* better place for check

* fmt

* clippy fmt
2023-12-07 12:35:16 -06:00
Jonathan Kelley 07d84fedb7 Merge pull request #1580 from ealmloff/miri-leak
Remove the ignore leaks in flag MIRI
2023-12-06 21:29:32 -08:00
Jonathan Kelley f52233c095 Merge pull request #1634 from ealmloff/fix-string-memory-leak
Fix string memory leak
2023-12-06 21:16:43 -08:00
Jonathan Kelley 850f2da0c6 Merge pull request #1651 from ealmloff/string-into-attribute
Add into attribute value impl for String
2023-12-06 21:14:31 -08:00
JMS55 8530f53692 Fix typo (#1695)
* Fix typo

* Fix typo again
2023-12-06 06:55:07 -06:00
Evan Almloff b3c7ebfdba fix merged changes 2023-11-27 16:12:48 -06:00
Exotik850andEvan Almloff 8e4debb226 remove #[doc(hidden)] from EventHandler (#1665)
* remove #[doc(hidden)] from EventHandler

* Make UseFuture Clone, factor out dependencies field

* Revert "Make UseFuture Clone, factor out dependencies field"

This reverts commit 9ca09e595d1cda3f2047750a923a5bdc49a8fa76.

* fix formatting

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2023-11-27 15:45:29 -06:00
Evan Almloff 355cd9b19e Merge branch 'master' into pr/atty303/1349 2023-11-20 18:37:33 -06:00
Exotik850 f8ce72c605 Fix outdated lazynode documentation (#1648)
* Fix outdated lazynode documentation

* Use expanded rsx! instead of just rsx macro
2023-11-20 09:49:18 -06:00
Evan Almloff 3c115bbef7 add into attribute value impl for String 2023-11-19 10:03:18 -06:00
Evan Almloff 7f4e2af0c4 fix string memory leak 2023-11-13 08:17:08 -06:00
Evan Almloff a120af33ad Merge branch 'master' into fix-event-bubbling 2023-11-11 17:53:47 -06:00
Erithax c2749b3371 rename IntoDynNode and IntoTemplate traits 2023-11-09 02:00:36 +01:00
Evan Almloff 6141aeb037 polish the throw trait 2023-11-07 18:24:07 -06:00
Evan Almloff 46fec1ae48 fix clippy 2023-11-02 13:46:57 -05:00
Evan Almloff 77d53df532 Merge branch 'master' into pr/atty303/1349 2023-10-31 13:39:20 -05:00
Evan Almloff 57dd56c8a4 Merge branch 'miri-leak' into events-2 2023-10-30 16:18:12 -05:00
ealmloff 5bb06b9719 Merge branch 'master' into events-2 2023-10-30 15:37:29 -05:00
Evan Almloff eea4a02ef5 add comments about the cause of the leak 2023-10-26 13:23:12 -05:00
Evan Almloff fca9d95519 fix props memory leak 2023-10-26 13:06:42 -05:00
Evan Almloff 370c6cb9d2 fix clippy 2023-10-25 16:47:04 -05:00
Evan Almloff b99f081c08 drop any attribute after rendering 2023-10-25 16:37:04 -05:00
Evan Almloff 9abc390d04 bench 2023-10-20 13:21:27 -05:00
Evan Almloff 33f0f0c172 fix clippy 2023-10-20 09:38:10 -05:00
Jonathan Kelley e819702fc5 Add into_vnode temporary logic for more things
This commit adjusts how rsx! works, making it more forgiving with signals.

Notably, we add the temporaries to if chains too.
2023-10-17 15:42:21 -07:00
Evan Almloff 1a4741ce04 fix liveview events 2023-10-12 10:21:29 -05:00
Leonard 2d1234c3d1 Include README and Dioxus logo in package docs (#1536)
* Include README in docs.rs and add Dioxus logo

* Update README.md
2023-10-10 10:52:48 -05:00
Evan Almloff 248d78fbfe fix clippy 2023-10-05 15:45:34 -05:00
Evan Almloff ed95ac932d fix double triggering events 2023-10-04 08:58:28 -05:00
ealmloff 072ca3529b Merge branch 'DioxusLabs:master' into events-2 2023-10-02 19:48:52 -05:00
Evan Almloff c137357094 fix hydration 2023-09-27 10:22:49 -05:00
Evan Almloff ee25c03e74 fix some clippy lints 2023-09-27 10:13:45 -05:00
Evan Almloff b60671e0fe fix non extending attributes 2023-09-27 10:02:49 -05:00
Evan Almloff 7b51bb8060 WIP: add extends to the props macro 2023-09-26 19:23:00 -05:00
Evan Almloff 9e167dfdb7 Merge branch 'many_optional_attributes' into pr/atty303/1349 2023-09-22 09:32:05 -05:00
Evan Almloff e113562c7c Merge branch 'master' into fix-event-bubbling 2023-09-22 08:26:05 -05:00
Evan Almloff 7033276c34 Merge branch 'master' into pr/atty303/1349 2023-09-20 16:19:23 -05:00
Evan Almloff fa494349fe add a lifetime to the properties trait and make the manual spread example work 2023-09-20 16:15:11 -05:00
Evan Almloff fc8c25280a allow many attributes to be attached to one element 2023-09-20 16:02:04 -05:00
Evan Almloff dc446b5e5b fix extending an element 2023-09-19 16:38:27 -05:00
Evan Almloff d297e2baa2 Add optional attributes 2023-09-18 19:50:02 -05:00
Evan Almloff b9a92a1bd8 fix core exports 2023-09-17 20:03:58 -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 23c215da02 make RuntimeGuard public 2023-09-17 14:11:13 -05:00
Jonathan Kelley 13f10fea1b Merge pull request #1441 from ealmloff/fix-uplink
Expose public methods for manipulating the global runtime
2023-09-16 11:59:59 -07:00
Jonathan Kelley e59a05141e Merge pull request #1446 from ealmloff/deduplicate-hot-reload-cli
Deduplicate serve code with hot reloading in the CLI crate
2023-09-16 11:55:16 -07: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
ealmloff f449823d10 Merge branch 'master' into events-2 2023-09-12 09:33:54 -05:00
Evan Almloff 3eee13c7eb Merge branch 'master' into fix-event-bubbling 2023-09-11 16:40:23 -05:00