Commit Graph
6728 Commits
Author SHA1 Message Date
Jonathan Kelley c397d2dfd1 Merge pull request #1382 from ealmloff/fix-docs-rs-desktop-build
Fix docs.rs build for desktop
2023-09-16 11:54:15 -07:00
Jonathan Kelley e4620250bd Merge branch 'master' into fix-docs-rs-desktop-build 2023-09-16 11:54:08 -07:00
Jonathan Kelley 1a093b895e Merge pull request #1464 from marc2332/fix/update-doc-links-v3-to-v4
fix: Update doc links from v0.3 to v0.4
2023-09-16 11:53:17 -07:00
Jonathan Kelley f2b05bcfb4 Merge pull request #1440 from ealmloff/fix-use-future-docs
Fix use_future docs
2023-09-16 11:52:54 -07:00
marc2332 7f8c963cd9 fix: Update doc links from v3 to v4 2023-09-16 19:03:27 +02:00
Evan Almloff a8dfe1a0b3 disable docs CI 2023-09-15 11:47:37 -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 9f1c735cf1 combine style and class attributes when there are multiple 2023-09-14 16:40:49 -05:00
Evan Almloff 1a17ca988c fix double quotes in autoformatting 2023-09-14 16:19:21 -05:00
Evan Almloff be4b0c801a fix raw attributes with dynamic values 2023-09-14 16:10:48 -05:00
Evan Almloff 30b124189c fix raw attribute names 2023-09-14 15:56:17 -05:00
Evan Almloff 8c47dfaf78 clean up attribute parsing 2023-09-14 14:08:39 -05:00
ealmloff ea69811e70 Merge branch 'master' into bump-wry 2023-09-14 12:55:54 -05:00
Jonathan Kelley b68a1f57e0 Merge pull request #1436 from ealmloff/tracing 2023-09-13 10:41:23 -07:00
Daniel AlblandEvan Almloff 18dca07e4b Use a gen in PartialEq for UseSharedState (#1389)
* Special case UseFutureDep for UseSharedState

* Add 'gen' to UseSharedState for use in 'PartialEq'

* Update 'gen' in 'UseSharedState::new'

* Don't require PartialEq for T in UseSharedState

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2023-09-13 12:10:03 -05:00
Leonard ae5dca8f43 Routable improvements (#1461)
* Fix `SegmentType::CatchAll` `Display`

* Rename `display_route_segements` to `display_route_segments` and add dots to docs

* Fix `Routeable::static_routes` and add more route retrieval methods

* Fix Clippy and extract duplication to function

* Return route strings instead of instances

* Remove some methods

* Clippy
2023-09-13 11:55:26 -05:00
Evan Almloff fc5c53810b fix rink imports 2023-09-13 10:08:06 -05:00
Evan Almloff 27f4b3f345 add touches_changed and target_touches 2023-09-12 17:45:07 -05:00
Evan Almloff c10700c962 add touch data to touch events 2023-09-12 17:28:55 -05:00
Evan Almloff b47064165e Merge branch 'events-2' of https://github.com/Demonthos/dioxus into events-2 2023-09-12 10:01:55 -05:00
Evan Almloff a9bb04722f split the point interaction trait into smaller traits for touch compatibility 2023-09-12 10:01:53 -05:00
ealmloff f449823d10 Merge branch 'master' into events-2 2023-09-12 09:33:54 -05:00
Evan Almloff c8fca7b321 fix clippy 2023-09-12 09:28:08 -05:00
Evan Almloff bdaa284c14 fix formatting 2023-09-12 09:12:32 -05:00
Evan Almloff cb8027cf43 fix native core fuzzing test 2023-09-12 09:11:57 -05:00
Evan Almloff de0c34ec60 fix hydrate example 2023-09-12 09:07:57 -05:00
ealmloff 9ff5d24d42 Merge branch 'master' into tracing 2023-09-11 19:43:57 -05:00
Evan Almloff 6e74d08bf5 remove log from a few examples 2023-09-11 19:42:08 -05:00
Evan Almloff 3eee13c7eb Merge branch 'master' into fix-event-bubbling 2023-09-11 16:40:23 -05:00
Evan Almloff cbf8a1e158 fix readme expanded example 2023-09-11 16:40:11 -05:00
Evan Almloff 9d044ee589 make clippy happy 2023-09-11 16:30:16 -05:00
Evan Almloff 73e0be9e65 recycle vnode ids 2023-09-11 16:25:32 -05:00
Evan Almloff 589483d892 remove logs 2023-09-11 16:18:55 -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 ed9573094c fix ComponentProps partialeq 2023-09-11 15:13:29 -05:00
Gijs de Jong 300cbf4fc6 Remove stray log (#1453) 2023-09-11 08:36:04 -05:00
dependabot[bot] b7638f31a6 Bump actions/checkout from 3 to 4 (#1452)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 08:32:40 -05:00
Evan Almloff bc3b781136 fix runtime import 2023-09-10 13:25:19 -05:00
Evan Almloff 083ccd765c fix formatting 2023-09-10 13:23:29 -05:00
ealmloff d16a706a86 Merge branch 'DioxusLabs:master' into fix-text-node-target-events 2023-09-10 08:13:38 -05:00
Evan Almloff 49a127b31e deduplicate serve code with hot reloading in the CLI crate 2023-09-09 16:18:52 -05:00
ealmloff 28d71624ef Restore context changes 2023-09-09 16:00:29 -05:00
Evan Almloff 3a02520ffa fix web onmount event 2023-09-08 10:32:48 -05:00
Evan Almloff 9496853fbc expose public methods for manipulating the global runtime 2023-09-08 10:05:58 -05:00
Evan Almloff 66333e9767 improve context tracing 2023-09-08 10:00:05 -05:00
Evan Almloff da627cdf3a fix use_future docs 2023-09-08 09:44:09 -05:00
Evan Almloff c55c17cb81 switch to tracing for logging 2023-09-06 17:47:33 -05:00
Evan Almloff 992ac4a3fb clear borrowed props after ensure_drop_safety 2023-09-06 16:12:01 -05:00
ealmloff c8127e164b Url decode routes (#1407)
* fix a few new clippy lints

* url decode routes

* fix catch all segments

* fix clippy
2023-09-06 12:56:43 -05:00