Tristan F.
9167cd9dec
fix most typos, add crate-ci/typos to CI ( #2653 )
...
* fix most typos, add crate-ci/typos to CI
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-07-23 17:49:33 -07:00
Jonathan Kelley
88af3e7eff
Hotreloading of for/if/body
, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI ( #2258 )
...
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
2024-07-17 19:11:18 -07:00
Jonathan Kelley
1404d26455
Switch to using refs instead of owned for autofmt write block out ( #2573 )
2024-07-02 12:27:11 -07:00
Evan Almloff
b3cd4fac10
set up example scaping for docs.rs ( #2450 )
2024-05-28 13:05:55 -07:00
Evan Almloff
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 194899c737
.
* 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
Jonathan Kelley
be99e29e5f
Fixes to autofmt, make it more aggressive ( #2230 )
...
* fix: fmt unterminated if, be more aggressive with line splits
* Fix: Handle long exprs in for/if statements
2024-04-03 15:27:36 -07:00
Miles Murgaw
3cbe6ff96e
Fix Outdated README.md ( #2147 )
...
* fix: outdated readme
* Fix missing readme
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-03-26 19:17:02 -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
ad7a350d2e
fix hotreloading issues in the CLI
2024-03-12 13:39:42 -07:00
Jonathan Kelley
ae352f8958
Feat: reject invalid keys
2024-03-07 16:03:00 -08:00
Jonathan Kelley
d8af9b7ed1
Fix compile checks on numerous packages using --all --all-features
2024-01-18 16:27:43 -08:00
Evan Almloff
e5df83ceec
Merge branch 'master' into pr/atty303/1349
2024-01-06 08:52:37 -06:00
Evan Almloff
f6acaba061
fix compilation
2024-01-04 17:04:56 -06:00
Jonathan Kelley
8df7a7685e
Merge branch 'master' into many_optional_attributes
2024-01-04 10:18:57 -08:00
Evan Almloff
bc557906fe
fix formatting
2024-01-03 15:18:37 -06:00
Evan Almloff
afb258b658
Fix elements and attributes mapping for dx translate
2024-01-03 15:18:27 -06: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
5b65c4cfb4
implement spreading props in the rsx macro
2023-09-22 10:04:34 -05:00
Evan Almloff
9e167dfdb7
Merge branch 'many_optional_attributes' into pr/atty303/1349
2023-09-22 09:32:05 -05:00
Evan Almloff
7033276c34
Merge branch 'master' into pr/atty303/1349
2023-09-20 16:19:23 -05:00
Evan Almloff
ab2b9fb34e
fix autoformatting
2023-09-19 09:39:53 -05:00
marc2332
7f8c963cd9
fix: Update doc links from v3 to v4
2023-09-16 19:03:27 +02:00
Evan Almloff
8c47dfaf78
clean up attribute parsing
2023-09-14 14:08:39 -05:00
Koji AGAWA
d573f5dfd5
feat: props spread
2023-08-13 16:45:17 +09:00
Jonathan Kelley
39e89c1fac
Bump crate versions, fix any publish errors
2023-07-31 18:49:54 -07:00
Jonathan Kelley
f0289068a2
Merge pull request #1219 from Demonthos/improve-build-times
...
Halve Build Times
2023-07-20 10:50:15 -07:00
Andrea Frigido
dccad58f1d
Update license field following SPDX 2.1 license expression standard
2023-07-20 18:00:07 +01:00
Evan Almloff
3d8d8a1b6f
half-build-times
2023-07-19 10:19:23 -07:00
ealmloff
39ec5f498c
Merge branch 'master' into router-typesafe
2023-07-10 19:16:39 -05:00
Jonathan Kelley
f59cacb2a0
Get wasm bundling working
2023-07-08 14:24:01 -07:00
Evan Almloff
8f67d0aafd
make creating rsx nodes from macros possible
2023-06-29 12:52:27 -07:00
Evan Almloff
7b1f0c9412
Merge branch 'master' into router-typesafe
2023-06-28 08:56:07 -07:00
Evan Almloff
5f873511c5
use workspace dependancies
2023-06-19 14:29:11 -05:00
Jon Kelley
7e96475951
Merge pull request #895 from Demonthos/inline-custom-elements
...
Allow raw elements if they include a dash
2023-05-29 15:05:19 +02:00
Evan Almloff
7be8ec3467
Fix html to rsx conversions
2023-04-24 16:07:50 -05:00
Jonathan Kelley
b06228be70
publish rosetta
2023-03-24 09:39:52 -07:00
Evan Almloff
209a55da69
allow raw elements if they include a dash
2023-03-19 20:37:40 -05:00
Jonathan Kelley
f664ce8fe0
Merge branch 'master' of github.com:DioxusLabs/dioxus
2023-02-22 13:06:41 -08:00
Jonathan Kelley
ab0023129d
bump rsx
2023-02-22 12:22:45 -08:00
Evan Almloff
a51f67c2ec
add version to docs links in readmes
2023-02-18 18:38:30 -06:00
Jon Kelley
4f0f2484fd
Merge pull request #774 from Demonthos/update-doc-links
...
Update guide doc links
2023-02-17 11:53:15 -08:00
Evan Almloff
b6c7d44a27
fix clippy
2023-01-27 20:35:46 -06:00
Evan Almloff
3f3db39c28
update doc links
2023-01-15 15:18:12 -06:00
Jonathan Kelley
2a9eb90154
fix: generate brace in rosetta
2023-01-10 18:14:16 -08:00
Jonathan Kelley
4fdbce9a70
chore: clean up readmes
2022-12-29 16:17:03 -05:00
Jonathan Kelley
6a4979b574
fix example
2022-12-29 02:37:46 -05:00
Jonathan Kelley
04ca284704
chore: add svg collection
2022-12-29 02:21:32 -05:00
Jonathan Kelley
ecb154db6f
chore: rename method
2022-12-29 00:56:23 -05:00
Jonathan Kelley
1389766596
chore: take domtree by reference
2022-12-29 00:55:04 -05:00