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
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
9496853fbc
expose public methods for manipulating the global runtime
2023-09-08 10:05:58 -05:00
Evan Almloff
c55c17cb81
switch to tracing for logging
2023-09-06 17:47:33 -05:00
Jani Mustonen and 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
0c17bdb737
don't subscribe in tasks or event handlers
2023-08-07 17:55:29 -07:00
Evan Almloff
6ca170453b
handle virtual dom switching
2023-08-07 14:59:58 -07:00
Evan Almloff
ddbe913e79
make signals non-breaking
2023-08-07 14:50:36 -07:00
Evan Almloff
a6f611eccf
fix subscriptions in events
2023-08-04 17:23:57 -07:00
Evan Almloff
0032f7e2af
fix miri
2023-08-04 15:23:09 -07:00
Evan Almloff
b09e528aaa
fix recursive runtime drop impl
2023-08-04 14:14:56 -07:00
Evan Almloff
04cdb14e5b
improve signal copy runtime
2023-08-04 13:53:05 -07:00
Evan Almloff
c19420cb29
fix root component suspense
2023-07-25 12:51:12 -07:00
Jonathan Kelley
4240f8428c
Fix: dont use bumpslab anymore, just box scopestates
2023-07-19 18:40:43 -07:00
Jonathan Kelley
2871c8bb4d
Don't use boxed cell slice, use a refcell instead
2023-07-19 12:08:13 -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
Nick Mosher
b48cfe5730
fix: Remove dbg that was causing TUI rendering problems ( #1085 )
2023-06-19 08:29:29 -05:00
Evan Almloff
9d5f115e30
fix events triggering on placeholders causing panics
2023-06-02 14:21:49 -05:00
Evan Almloff
d005f3481f
fix non-bubbling event propagation
2023-04-10 09:45:16 -05:00
Evan Almloff
4847789a83
fix event bubbling within a single template
2023-03-12 14:47:30 -05:00
Evan Almloff
ae028d82f8
use bump slab
2023-01-22 17:16:34 -06:00
Evan Almloff
ba79d4babd
don't-box-scopestates
2023-01-22 15:05:32 -06:00
Evan Almloff
8548b324f1
fix dropping nested scopes
2023-01-15 21:23:49 -06:00
Jonathan Kelley
a45f16a773
chore: clean up comments
2023-01-14 11:57:36 -08:00
Jonathan Kelley
ecaa68605d
fix: trim start matches for events
2023-01-14 11:57:03 -08:00
Jonathan Kelley
40a36aa8e6
chore: use trim
2023-01-14 00:21:26 -08:00
Jonathan Kelley
8d59c626ea
fix: listeners should not use hard indexing
2023-01-14 00:19:37 -08:00
Evan Almloff
09da9c04a8
Use zero cost option instead of null pointers
2023-01-12 15:42:23 -06:00
Jonathan Kelley
cf79ca8113
chore: stop ignoring some doc tests
2023-01-11 17:12:09 -08:00
Jonathan Kelley
faf94c7b4e
fix: make miri pass on context api
2023-01-09 13:50:33 -08:00
Jon Kelley
07e71956d4
Merge pull request #648 from Demonthos/fix-non-str-attributes
...
fix custom attribute value support
2023-01-02 23:41:45 -05:00
Evan Almloff
c0f9355648
fix any value dropping
2023-01-02 21:26:12 -06:00
Evan Almloff
51dba50c04
use BumpBox<Any> and FromAnyValue instead of sync bounds
2023-01-02 14:40:25 -06:00
Maurice Kayser
c8f88b6428
Fix typo ( #702 )
2023-01-01 14:41:18 -06:00
Evan Almloff
cb17252a21
clean up warnings and update prelude
2022-12-28 20:42:47 -06:00
Evan Almloff
044462876d
Merge branch 'upstream' into fix-non-str-attributes
2022-12-28 20:36:57 -06:00
=
170a3669f7
reduce usage of unsafe
2022-12-26 08:37:50 -06:00
Jonathan Kelley
079d71fb2b
fix: use modern enum
2022-12-25 22:11:45 -05:00
Jonathan Kelley
8887d65e1b
Merge branch 'master' into jk/suspense-rollover
2022-12-25 22:10:22 -05:00
Jonathan Kelley
3d69d3ea92
chore: use pending instead of async
2022-12-25 01:43:22 -05:00
Jonathan Kelley
9b0244ee5c
fix: use ready nodes in more places
2022-12-25 01:37:00 -05:00
Evan Almloff
afd024bcb6
Merge branch 'upstream' into fix-non-str-attributes
2022-12-23 15:53:39 -06:00
Evan Almloff
432bfd395e
fix swaping templetes before any instances are created
2022-12-22 16:54:49 -06:00
Evan Almloff
1530445972
fix hot reloading rsx with nested rsx calls
2022-12-22 16:38:07 -06:00
Evan Almloff
e5a5850354
merge master
2022-12-20 20:48:28 -06:00
Jonathan Kelley
2fa3fe1fc0
fix: use arcwake instead of rcwake
2022-12-20 11:13:06 -08:00
Evan Almloff
493ee1cb3f
Merge branch 'upstream' into fix-hot-reloading
2022-12-19 21:17:22 -06:00
Jonathan Kelley
d3be971f4e
chore: rollback to option instead of anyhow
2022-12-19 18:06:13 -08:00