Commit graph

80 commits

Author SHA1 Message Date
Evan Almloff
a09548d80e
Remove implicit optional dependency features (#2512)
* remove implicit optional dependency features

* switch to new features in desktop, router and signals crates
2024-06-18 18:39:15 -05:00
Evan Almloff
b3cd4fac10
set up example scaping for docs.rs (#2450) 2024-05-28 13:05:55 -07:00
luveti
d3f96ec323
Improved fullstack reload_upon_connect timeout (#2436)
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-05-22 07:35:07 -05:00
Evan Almloff
245003a5d4
Create a Static Site Generation platform; Deduplicate hot reloading code (#2226)
* create static site generation helpers in the router crate

* work on integrating static site generation into fullstack

* move ssg into a separate crate

* integrate ssg with the launch builder

* simplify ssg example

* fix static_routes for child routes

* move CLI hot reloading websocket code into dioxus-hot-reload

* fix some unused imports

* use the same hot reloading websocket code for fullstack

* fix fullstack hot reloading

* move cli hot reloading logic into the hot reload crate

* ssg example working with dx serve

* add more examples

* fix clippy

* fix formatting

* fix hot reload doctest imports

* fix axum imports

* don't run server doc tests

* Fix hot reload websocket doc examples
2024-05-22 07:24:15 -05: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
Evan Almloff
e464294c66
fix hot reload on windows (#2142) 2024-03-26 00:36:11 -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
be00847199
Don't squawk when running under cargo 2024-03-17 21:15:57 -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
25844ae9d3
Fix: make clippy happy, don't set asset dir env 2024-03-15 00:07:33 -07:00
Jonathan Kelley
fe5fc1058e
Fix: cargo running desktop shouldn't panic 2024-03-14 23:13:04 -07:00
Jonathan Kelley
6cc950eb9d
Fix: on embedded hotreload don't watch target directory 2024-03-14 23:05:31 -07:00
Jonathan Kelley
3d699e7a75
Match on more places for asset reloading 2024-03-13 15:10:44 -07:00
Jonathan Kelley
bca5335f31
fix: hotreloading files with multiple templates, asset hotreloading 2024-03-13 02:13:37 -07:00
Jonathan Kelley
ad7a350d2e
fix hotreloading issues in the CLI 2024-03-12 13:39:42 -07:00
Jonathan Kelley
64a321eacc
Get more axum stuff upgraded to 0.7 2024-02-15 18:59:57 -08:00
Evan Almloff
53380c9956 fix hot reload macro on unix 2024-01-25 09:24:03 -06:00
Evan Almloff
f4af297777 merge upstream 2024-01-06 16:14:22 -06:00
Evan Almloff
3865f44081 make desktop compile 2024-01-05 14:39:45 -06:00
Jonathan Kelley
785b61a05e
Merge branch 'master' into intigrate-collect-assets 2024-01-05 12:13:31 -08:00
Teague Lasser
334e7e6f22
Updated packages and comments referencing old CLI location (#1786) 2024-01-04 18:41:05 -06:00
Evan Almloff
15dff7ad55 delete a leftover dioxusin file on all unix operating systems, not just mac 2023-12-30 11:58:09 -06:00
Jonathan Kelley
fe7df0c6a5
Merge pull request #1697 from ealmloff/hot-reload-temp-dir 2023-12-07 09:18:10 -08:00
Evan Almloff
9a13df2c73 move hot reload socket into the target directory 2023-12-07 07:00:59 -06:00
Evan Almloff
b965fc23e9 use a temp directory for the hot reloading pipe on desktop, fullstack and liveview 2023-12-06 17:01:51 -06:00
Evan Almloff
1c0b33cef4 fix hot reloading svg elements 2023-11-26 09:21:27 -06:00
Marc Espín
129d0a68ff
feat: Optional web support for hot-reload crate (#1527)
* feat: Optional web support for hot-reload crate

* rename feature

* tweak

* tweak
2023-10-20 12:59:49 -05:00
marc2332
7f8c963cd9
fix: Update doc links from v3 to v4 2023-09-16 19:03:27 +02:00
Dylan Blokhuis
24df4e15d9
spelling (#1308) 2023-08-06 11:42:36 -05:00
Jonathan Kelley
39e89c1fac
Bump crate versions, fix any publish errors 2023-07-31 18:49:54 -07:00
Evan Almloff
3eab363e51 Add authors to all crates 2023-07-31 17:30:18 -07:00
Marc Espín
915e79e3be
fix: Use correct cfg for file_watcher feature in dioxus-hot-reload (#1238)
* fix: Use correct cfg for file_watcher feature in dioxus-hot-reload

* Update file_watcher.rs

* Update lib.rs

* fmt
2023-07-23 09:29:59 -05: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
Marc Espín
32d4472bfd
fix: Remove duplicated doc links and improved some descriptions (#1167) 2023-07-08 11:04:27 -05:00
Jonathan Kelley
5506c568c0 move to newer wry 2023-07-05 13:44:24 -07:00
Jon Kelley
90f80e4dc2
Fix cargo doc by using a fixed variant of interprocess (#1129)
* fix docs compilation

* dont change random codeblock
2023-06-27 19:40:41 -05:00
Jon Kelley
07dd9c275f
Merge pull request #1060 from Demonthos/fix-macos-hot-reloading
Fix restarting MacOs hot reloading after a forced exit
2023-06-27 15:32:46 -07:00
Evan Almloff
5f873511c5 use workspace dependancies 2023-06-19 14:29:11 -05:00
Evan Almloff
60abafb381 fix macos hot reloading on forced exit 2023-06-02 10:30:40 -05:00
Azriel Hoh
c7321a0389 Don't depend on "oldtime" feature in chrono which produces security advisory. 2023-05-29 13:14:05 +12:00
Evan Almloff
383e7e6a58 Use more precice timestamp in hot reloading 2023-05-19 12:33:07 -05:00
Evan Almloff
2c629f6d13 use namespaced path instead of local path 2023-02-23 12:05:17 -06:00
Jonathan Kelley
f664ce8fe0 Merge branch 'master' of github.com:DioxusLabs/dioxus 2023-02-22 13:06:41 -08:00
Jonathan Kelley
018a6e7578 bump dioxus, html, and hot-reload 2023-02-22 13:06:33 -08:00
Jonathan Kelley
b27db17f76 bump hot-reload 2023-02-22 12:55:54 -08:00
Jonathan Kelley
ab0023129d bump rsx 2023-02-22 12:22:45 -08:00