Jonathan Kelley
8c94f0bc4a
get compiling
2024-01-11 16:51:18 -08:00
Jonathan Kelley
2ae3241cc0
Merge branch 'master' into jk/breaking-merged
2024-01-11 16:04:36 -08:00
Jonathan Kelley
4f077ec664
Merge pull request #1812 from ealmloff/duplicate-event-listener-rsx
...
check for duplicate event listeners in the rsx macro
2024-01-11 14:34:01 -08:00
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
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
9b5a797008
check for duplicate event listeners in the rsx macro
2024-01-11 10:34:08 -06:00
Jonathan Kelley
8a77d2560e
fix tests around children elements
2024-01-10 23:42:36 -08: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
d8e79b656b
remove an extra clone
2024-01-09 14:27:25 -06:00
Evan Almloff
b43dfb1f67
fix mounted information
2024-01-09 11:35:55 -06:00
Evan Almloff
967c082085
clippy fix
2024-01-09 11:02:07 -06:00
Evan Almloff
8eb2b74832
move mounted info to the VDOM
2024-01-09 11:01:11 -06:00
Evan Almloff
d1b9703ee7
fix release mode
2024-01-09 10:24:02 -06:00
Evan Almloff
8af39e0f1e
fix some more clippy lints
2024-01-09 10:11:31 -06:00
Evan Almloff
aed29b1dec
separate mount information from VNodes
2024-01-09 10:09:08 -06:00
Evan Almloff
aefa8a2431
use boxed slices instead of vecs where possible
2024-01-07 13:41:39 -06:00
Evan Almloff
5b6f9d6b80
fix merge
2024-01-06 08:58:49 -06:00
Evan Almloff
e5df83ceec
Merge branch 'master' into pr/atty303/1349
2024-01-06 08:52:37 -06:00
Evan Almloff
4013341b6c
hello world example working
2024-01-05 18:01:05 -06:00
Evan Almloff
3865f44081
make desktop compile
2024-01-05 14:39:45 -06:00
Evan Almloff
d90c71c508
move creation functions into the structs they are creating and unify user and system events
2024-01-05 13:18:48 -06:00
Evan Almloff
a1676537ad
restore drop scope
2024-01-05 12:28:45 -06:00
Evan Almloff
efd301a878
clippy fix
2024-01-05 12:26:12 -06:00
Evan Almloff
113b2c1529
port over more diffing + creation logic
2024-01-05 12:07:29 -06:00
Evan Almloff
717f38a5ec
remove some unused unsafe blocks
2024-01-05 11:45:01 -06:00
Evan Almloff
35b461cd09
switch to a mutations trait to fix some lifetime issues
2024-01-05 11:44:07 -06:00
Evan Almloff
0c76770da0
remove a lot of unsafe
2024-01-05 10:57:05 -06:00
Evan Almloff
c70e2bfcb6
move diffing into the global runtime
2024-01-05 09:32:50 -06:00
Evan Almloff
f42ef3ef9d
remove more lifetimes
2024-01-05 08:39:22 -06:00
Evan Almloff
0388a5c1f4
fix formatting
2024-01-04 19:21:06 -06:00
Evan Almloff
3ad16ddd37
rip out more lifetimes
2024-01-04 18:33:01 -06:00
Jonathan Kelley
ea1325f6e8
Merge branch 'master' into polish-throw
2024-01-04 10:27:51 -08:00
Evan Almloff
b91e97ca43
document events are only triggerable on elements
2023-12-16 19:54:26 -06:00
Evan Almloff
6141aeb037
polish the throw trait
2023-11-07 18:24:07 -06:00
Evan Almloff
ed95ac932d
fix double triggering events
2023-10-04 08:58:28 -05:00
Evan Almloff
7033276c34
Merge branch 'master' into pr/atty303/1349
2023-09-20 16:19:23 -05:00
Evan Almloff
fc8c25280a
allow many attributes to be attached to one element
2023-09-20 16:02:04 -05:00
Evan Almloff
98335bd9a6
Merge branch 'master' into fix-event-bubbling
2023-09-17 20:00:22 -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
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
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
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
Evan Almloff
992ac4a3fb
clear borrowed props after ensure_drop_safety
2023-09-06 16:12:01 -05:00
Evan Almloff
02456c1068
fix double drop of bubble id
2023-09-05 21:21:54 -05:00