Commit graph

281 commits

Author SHA1 Message Date
Evan Almloff
e464294c66
fix hot reload on windows (#2142) 2024-03-26 00:36:11 -07:00
Evan Almloff
9942c8bfd1
Fix asset bundling in the CLI (#2145)
* Fix asset bundling in the CLI

* fix clippy
2024-03-26 00:36:03 -07:00
Evan Almloff
2ac4bdb673
Switch to tracing for the cli (#2137)
* switch to tracing in the dioxus-cli

* bump manganis

* fix manganis features

* only print processing assets if skip assets is disabled

* switch all logs to tracing

* switch to published version of manganis

* undo all changes to cargo.toml

* remove reference to log
2024-03-25 15:21:51 -05:00
Evan Almloff
da3b066934 Revert "switch to tracing"
This reverts commit 6608f73a2e.
2024-03-25 10:09:53 -05:00
Evan Almloff
6608f73a2e switch to tracing 2024-03-25 10:07:31 -05: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
Miles Murgaw
acbf7dfc4f
fix: hot reload blocking (#2127) 2024-03-22 14:36:49 -07:00
Jonathan Kelley
6c9f991f0b
hotfix: finding hotreload path fails when not running under cargo 2024-03-20 09:54:57 -07:00
Jonathan Kelley
e923c6462c
Resume window position/size, watch cargo/dioxus tomls, fix css reverting during hotreloading, allow menubar events to be captured from within dioxus (#2116)
* Fix: css hotreloading being invalidated, watcher not watching cargo/dioxus tomls, add feature to restore window state

* Make clappy hippier

* remove console log

* use simpler css invalidator

* Less flash, remove log on web hotreload

* Fix floating window managed behavior on mac

* clippy...
2024-03-20 09:16:18 -07:00
Jonathan Kelley
10d361a44e
Fix proxy (#2108) 2024-03-18 22:21:07 -07:00
Jonathan Kelley
25844ae9d3
Fix: make clippy happy, don't set asset dir env 2024-03-15 00:07:33 -07:00
Jonathan Kelley
9474ad54cc
Make clippy happy 2024-03-14 22:40:23 -07:00
Jonathan Kelley
efb21b24ca
Log watched dirs in status console 2024-03-14 09:20:51 -07:00
Jonathan Kelley
bb8b4dc2fb
FIx:
- asset hotreloading for desktop,
- asset dir for dxserve on desktop,
- extend features with platform
2024-03-13 17:15:49 -07:00
Jonathan Kelley
3d699e7a75
Match on more places for asset reloading 2024-03-13 15:10:44 -07:00
Jonathan Kelley
8d8e7edb82
Clean up reloader 2024-03-13 14:36:56 -07:00
Jonathan Kelley
1bdc9d132e
Load tracked assets 2024-03-13 14:35:28 -07:00
Jonathan Kelley
982b96074a
Add basic hotreload test samples 2024-03-13 13:07:15 -07:00
Jonathan Kelley
bca5335f31
fix: hotreloading files with multiple templates, asset hotreloading 2024-03-13 02:13:37 -07:00
Jonathan Kelley
05476cad76
Merge branch 'main' into jk/fix-hotreloading-issues 2024-03-12 14:38:36 -07:00
Evan Almloff
82ab212414 don't quit serving early if builds fail 2024-03-12 16:37:20 -05:00
Jonathan Kelley
ad7a350d2e
fix hotreloading issues in the CLI 2024-03-12 13:39:42 -07:00
Evan Almloff
6b84f284c9 fix manganis assets overlapping between examples 2024-03-11 17:11:52 -05:00
JeremyChen
70f97ec787
enhance: avoid failed hot-reload if backup file like .rs~ generate (#2048)
(cherry picked from commit 8565bca11b)

Co-authored-by: Jeremy Chen <jeremychen@djeremychen.com>
2024-03-11 09:30:25 -05:00
Robin Tretter
8eda67ecb2
added hot-reload as config option with default to true (#2024) 2024-03-08 14:54:03 -06:00
rtretter
3ffb1facf3 search for first valid platform in features 2024-03-06 21:38:11 +01:00
rtretter
f62c81ea0d added automatic platform detection to cli if none is passed 2024-03-06 21:16:51 +01:00
Jonathan Kelley
be29c1fdaa
chore: move all packages onto workspace versions 2024-02-21 14:30:13 -08:00
Evan Almloff
c4a4a31eec Merge branch 'master' into pr/atty303/1948 2024-02-19 08:35:31 -06:00
Jonathan Kelley
ebdb98bff2
Make clippy happy, pass tests 2024-02-18 21:08:48 -08:00
Jonathan Kelley
d732269b8f
backend proxy tests almost work! 2024-02-18 09:45:27 -08:00
Evan Almloff
e7d8a25d17 get the dioxus CLI compiling 2024-02-16 14:55:44 -06:00
Koji AGAWA
1f0e03ca19 feat(fullstack): support wasm target 2024-02-17 05:12:33 +09:00
Evan Almloff
194d90e66f fix a few CLI errors 2024-02-16 12:39:36 -06:00
Jonathan Kelley
2763adb2d3
clean up workflow, fix some more axum stuff 2024-02-15 19:03:46 -08:00
Jonathan Kelley
64a321eacc
Get more axum stuff upgraded to 0.7 2024-02-15 18:59:57 -08:00
Jonathan Kelley
214a907adc
Upgrade to axum 0.7, drop 3rd party adapters 2024-02-15 18:05:30 -08:00
Evan Almloff
f4651cecb8
Merge pull request #1916 from DogeDark/master
Add Prerelease Doc Generation
2024-02-09 12:45:59 -06:00
Evan Almloff
b4d17abfc1 document all features 2024-02-09 12:15:59 -06:00
Evan Almloff
d1ed15c2ac fix autofmt tests 2024-02-08 10:13:57 -06:00
Evan Almloff
23e15ee9c8 change rustfmt flag to all_code now that we don't use rustfmt 2024-02-08 10:03:52 -06:00
Evan Almloff
b88c66d8df report syn parse errors to the user 2024-02-08 10:00:25 -06:00
Evan Almloff
65d4f922b4 Merge branch 'master' into pr/Dangerised/1902 2024-02-08 09:41:08 -06:00
Dangerise
c89a4b37dc remove the link in comment and unused error variant 2024-02-07 22:35:55 +08:00
Evan Almloff
3270f7341a fix manganis support for dioxus desktop 2024-02-06 11:39:30 -06:00
Evan Almloff
1909b05412 Merge branch 'master' into pr/Andrew15-5/1903 2024-02-06 10:28:49 -06:00
Evan Almloff
7f32809a96 use out_dir in a few more places 2024-02-06 10:27:26 -06:00
Dangerise
82fc7acaa5 remove debug print 2024-02-06 21:04:37 +08:00
Dangerise
71125c22e0 remove unused import 2024-02-06 21:03:04 +08:00
Dangerise
d170304a59 remove dead code 2024-02-06 21:01:33 +08:00