Evan Almloff and Jonathan Kelley
2523581cf4
Autocomplete rsx ( #2421 )
...
* autocomplete rsx
* hide the completions module
* fix autocomplete for identifiers that start with a raw identifier
* add field completion hints for props
* remove extra import
* Revert "add field completion hints for props"
This reverts commit 194899c73783e0f9b5d601d53365746d838f2048.
* fix autocomplete inside raw expressions
* fix autofmt
* feat: just use regular ifmt if it's compatible
reuses the tokens for ifmt so RA provides its HIR lowering on simple formatted strings
* fix merging ifmt strings
* add a better error message for components called like functions
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com >
2024-05-22 07:24:50 -05:00
Evan Almloff
af524d979b
Fix empty for loop, if statements and children ( #2275 )
...
* fix empty for loop, if statements and children
* fix clippy
2024-04-08 19:23:55 -07:00
Jonathan Kelley
eb79e61642
Add a ton of comments to rsx/hotreload, add snapshot testing, refactor a bit to simplify the crate ( #2130 )
...
Merge dynamic context and dynamic mapping, clean up the rsx hotreload logic, and add location data to the Rsx objects
2024-03-24 13:31:26 -07:00
Jonathan Kelley
834d490beb
Fix : #2095 , #1990
...
- Don't merge dynamic attributes together unnecessarily
- Walk the workspace until we find a target dir with the dioxusin handle
2024-03-17 21:14:26 -07:00
Jonathan Kelley
bca5335f31
fix: hotreloading files with multiple templates, asset hotreloading
2024-03-13 02:13:37 -07:00
Evan Almloff
b2607a5b35
Fix temporary reads within rsx
2024-03-12 15:15:36 -05:00
Jonathan Kelley
7461a14cb4
fix 2020: return None if the root nodes are empty in rsx ( #2026 )
2024-03-08 15:57:46 -06:00
Evan Almloff
a7a3513b3f
fix ifmt spans
2024-01-31 12:41:35 -06:00
Evan Almloff
af75fb855f
wrap the result of render_with_location in an option
2024-01-31 12:24:36 -06:00
Evan Almloff
913ed0cfe3
fix outputting rsx with a manual location
2024-01-31 12:22:56 -06:00
Jonathan Kelley
337c04557b
get cargo check --all --examples --tests working!
2024-01-19 15:01:01 -08:00
Evan Almloff
ad01a45f3b
restore core tests
2024-01-16 15:51:02 -06:00
Evan Almloff
918d09b516
fix merging attributes
2024-01-16 14:20:51 -06:00
Evan Almloff
8d14671520
fix spreading attributes
2024-01-16 11:04:37 -06:00
Evan Almloff
af1749d7be
re export renderers in dioxus
2024-01-15 19:14:11 -06:00
Evan Almloff
36e9eb1160
partially restore spreading attributes
2024-01-14 15:21:19 -06:00
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
593527d58b
fix final test
2024-01-10 23:18:47 -08:00
Jonathan Kelley
f1e8faffb5
fix tests
2024-01-10 23:17:01 -08:00
Evan Almloff
d1b9703ee7
fix release mode
2024-01-09 10:24:02 -06:00
Jonathan Kelley
b8fac44537
Clean up merge comments
2024-01-08 19:33:39 -08:00
Jonathan Kelley
23f7a37b06
Clean up merge conflicts
2024-01-08 19:31:57 -08:00
Jonathan Kelley
44a27bf8a3
Fix leak in render macro
2024-01-08 19:20:31 -08:00
Evan Almloff
0a35b5a670
fix render macro
2024-01-08 19:04:56 -08:00
Evan Almloff
c9bd5a4e6e
look out for a simple to optimize format case
2024-01-07 17:02:49 -06:00
Evan Almloff
aefa8a2431
use boxed slices instead of vecs where possible
2024-01-07 13:41:39 -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
Jonathan Kelley
8df7a7685e
Merge branch 'master' into many_optional_attributes
2024-01-04 10:18:57 -08:00
Jonathan Kelley
922d9c8c05
Merge branch 'master' into fix-event-bubbling
2024-01-04 10:06:27 -08:00
abhi and Evan Almloff
fd7c9e0359
fix empty render causing panic ( #1769 ) ( #1774 )
...
* fix empty render causing panic (#1769 )
* use an default root column instead of an empty root column
* fix formatting
* restore create.rs in core
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com >
2024-01-02 10:02:58 -06:00
ealmloff
56478d1856
Merge branch 'DioxusLabs:master' into fix-event-bubbling
2023-12-16 06:34:00 -06:00
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
Evan Almloff
a120af33ad
Merge branch 'master' into fix-event-bubbling
2023-11-11 17:53:47 -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
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
3e55bb8885
fix some clippy lints
2023-09-27 10:21:33 -05:00
Evan Almloff
5b65c4cfb4
implement spreading props in the rsx macro
2023-09-22 10:04:34 -05:00
Evan Almloff
ab2b9fb34e
fix autoformatting
2023-09-19 09:39:53 -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
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
e337aff0a4
WIP split element from element ref
2023-08-23 10:48:10 -05:00
Evan Almloff
943c76b1da
Fix memory leak in core
2023-08-15 12:19:05 -05:00
Evan Almloff
24c626b306
fix clippy
2023-08-08 13:43:57 -07:00
Evan Almloff
3d8d8a1b6f
half-build-times
2023-07-19 10:19:23 -07:00
Evan Almloff
8f67d0aafd
make creating rsx nodes from macros possible
2023-06-29 12:52:27 -07:00
Evan Almloff
03413a68ab
fix formatting
2023-03-19 20:47:16 -05:00