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
Jonathan Kelley
468d2b6b3b
Merge pull request #2105 from DioxusLabs/jk/props-expand
...
Fix #1938 , allow explicit props
2024-03-18 16:02:23 -07:00
Jonathan Kelley
9c64fc4769
Fix #1938 , allow explicit props
2024-03-18 15:34:46 -07:00
Jonathan Kelley
f266213618
Bump to 0.5.0-alpha.2
2024-03-18 02:02:31 -07:00
Jonathan Kelley
2a803c829f
Merge pull request #2096 from DioxusLabs/jk/hotreloading-fixed-again
...
Fix : #2095 , #1990
2024-03-17 21:55:58 -07:00
Jonathan Kelley
6ab6e56de9
Make clippy happy
2024-03-17 21:39:29 -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
0c822d683c
Merge pull request #2069 from ealmloff/resource-dependancies
...
Manual non-reactive dependancies for use_memo, use_effect, and use_resource
2024-03-17 09:48:26 -07:00
Jonathan Kelley
cba3abccf4
Merge pull request #2087 from DioxusLabs/jk/mobile-fixes
...
Fix mobile issues
2024-03-15 20:13:44 -07:00
Jonathan Kelley
f9f902732b
Fix: update wry, tao, to fix android issues
2024-03-15 20:12:13 -07:00
Jonathan Kelley
ef288d02d7
Merge branch 'main' into jk/mobile-fixes
2024-03-15 12:20:57 -07:00
Jonathan Kelley
fe2c17f792
Make Clippy happy
2024-03-15 12:20:16 -07:00
Jonathan Kelley
0a5f267a9a
Merge pull request #2081 from ealmloff/unwind-into-error-boundary
...
unwind panics into error boundaries
2024-03-15 12:16:00 -07:00
Jonathan Kelley
1b8f7023f9
Merge branch 'main' into unwind-into-error-boundary
2024-03-15 12:15:55 -07:00
Evan Almloff
df41df75d0
switch to use_reactive
2024-03-15 11:54:09 -05:00
Evan Almloff
b8c41efb54
Merge branch 'DioxusLabs:main' into resource-dependancies
2024-03-15 08:46:17 -05:00
Jonathan Kelley
25844ae9d3
Fix: make clippy happy, don't set asset dir env
2024-03-15 00:07:33 -07:00