Commit graph

5961 commits

Author SHA1 Message Date
Jonathan Kelley
a1c03a461d
Basic docs cleanups 2024-03-27 17:06:10 -07:00
Jonathan Kelley
41c3967052
use docfix interprocess 2024-03-27 16:57:24 -07:00
Evan Almloff
86d1dba699
Check type of launch config (#2125)
* Check type of launch config

* fix cargo check

* compile when using an explicit platform with other platforms enabled

* fix formatting

* fix overlapping TryIntoConfig implementations

* fix desktop headless tests

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-03-27 12:08:05 -07:00
Miles Murgaw
44f3047780
Revision: Change Default Logging In CLI (#2157)
* revision: filter to warn logs

* revision: change to use DIOXUS_LOG
2024-03-27 12:07:44 -07:00
Jonathan Kelley
b499ebe5bd
Fix release url on cli 2024-03-27 09:52:35 -07:00
Jonathan Kelley
08944223be
fix binstall 2024-03-27 00:37:58 -07:00
Jonathan Kelley
3f127f5fcb
fix vendored flag 2024-03-26 22:40:24 -07:00
Jonathan Kelley
fd64d1a419
use vendored ssl on mac 2024-03-26 22:26:54 -07:00
Jonathan Kelley
0826367e4f
Ssl error? 2024-03-26 22:22:25 -07:00
Jonathan Kelley
420a9290ff
fix tag 2024-03-26 22:10:51 -07:00
Jonathan Kelley
877be9092f
fix typo 2024-03-26 22:03:30 -07:00
Jonathan Kelley
b27a90841c
Fix strategy! 2024-03-26 21:55:33 -07:00
Jonathan Kelley
a2377e7bf6
Fix strategy? 2024-03-26 21:54:19 -07:00
Jonathan Kelley
7290344a8e
Fix publish 2024-03-26 21:51:50 -07:00
Jonathan Kelley
49f6b97dd9
Fix cli yml 2024-03-26 21:49:34 -07:00
Jonathan Kelley
98774709b8
Fix release CLI 2024-03-26 21:43:14 -07:00
Jonathan Kelley
30bc7ae63f
Bump extension and relase it 2024-03-26 21:01:46 -07:00
Jonathan Kelley
85c3cf1f9b
Make my editor happier with the cargo 2024-03-26 20:26:45 -07:00
Jonathan Kelley
d988ccc369
Cargo.lock 2024-03-26 19:22:57 -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
Evan Almloff
dadbab5d72
make some enums non-exhaustive (#2140) 2024-03-26 19:14:48 -07:00
Evan Almloff
460a685fa3
Warn if cli-config is not available at compile time (#2135)
* warn if a package relies on the CLI config, but it is not built with the CLI

* fix default features

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-03-26 19:10:26 -07:00
Evan Almloff
1b03bed20a
Provide a better error message for wasm bindgen version mismatches (#2136)
* provide a better error message for wasm bindgen version mismatches

* fix clippy

* only rerun wasm bindgen if the first run fails

* remove old logs
2024-03-26 19:08:12 -07:00
Jonathan Kelley
b9d60276b7
Readme header link 2024-03-26 19:01:24 -07:00
Jonathan Kelley
75b1893f72
Fix some readme links, add freya to readme (#2148)
* Add links, update table

* Fix link, add freya
2024-03-26 18:59:36 -07:00
Jonathan Kelley
9888d365dd
New readme for 0.5! (#2141)
* feature: add new top-level readme.md, highlighting features and a new vs section
2024-03-26 17:32:42 -07:00
Emil Boman
fb396b0448
Fix fullstack render server context (#2139)
* Fix fullstack render server context

* only set the server context while polling futures

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-03-26 09:59:25 -05:00
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
Mattia Schiano
266551e7c9
Allow <input type="file"> without event handlers to open web view file dialog on Desktop (#2134)
* Allowing webview file picker

* cargo fmt
2024-03-24 14:23:29 -07:00
Sridhar Ratnakumar
6dbedd4e39
nix: Update rust version (#2133)
Do this by updating all flake inputs. Also comment out the unused crane input.
2024-03-24 13:31:38 -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
Evan Almloff
b19a546c0a
Don't move over event handler fields when diffing props (#2129)
* don't move over event handler fields when diffing props

* Expand values_memoize_in_place test to cover the new bug case
2024-03-22 15:18:38 -07:00
Evan Almloff
0662033c84
Fix early drop of eventhandlers (#2126)
* fix early drop of eventhandlers

* add a test for stale props that are memorized in place

* fix clippy
2024-03-22 14:37:02 -07:00
Miles Murgaw
acbf7dfc4f
fix: hot reload blocking (#2127) 2024-03-22 14:36:49 -07:00
Evan Almloff
e012d816eb
fix streaming server functions, and precompress assets in release mode (#2121) 2024-03-20 23:05:50 -07:00
Evan Almloff
a5714e342c
fix bounds on owner props (#2122) 2024-03-20 16:37:08 -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
44e997f7df
Fix eventhandler optional (#2119) 2024-03-20 09:04:37 -07:00
Evan Almloff
9f283f571f
fix signal error message and add tests (#2118) 2024-03-20 08:45:27 -07:00
Evan Almloff
58f7efafea
Make EventHandler copy (#2112)
* implement Copy for EventHandler
* implement from closure for event handler and remove special on prefix
* fix props implementation of EventHandler
2024-03-19 19:48:53 -07:00
Jonathan Kelley
4bb807a3ce
Reduce churn in window behavior 2024-03-18 22:38:33 -07:00
Evan Almloff
d442dac168
Add a menu bar option to the desktop config (#2107)
* add an option to set a custom menu in the desktop config

* Fix rename issue

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-03-18 22:36:47 -07:00
Jonathan Kelley
10d361a44e
Fix proxy (#2108) 2024-03-18 22:21:07 -07:00
Jonathan Kelley
d8942a255b
Fix #2104: fmt incorrectly using 1-indexing for columns (#2106)
* Fix #2104: fmt incorrectly using 1-indexing for columns

* Clippy...
2024-03-18 18:23:45 -07:00
Jonathan Kelley
2dc6cecf2e
Fix #2043: use formvalue instead of String for forms (#2103)
Fix #2043: use formvalue instead of String for forms
2024-03-18 18:21:08 -07:00