Commit graph

4214 commits

Author SHA1 Message Date
Jonathan Kelley
ac1aea4783
Binstalls not working, need archive suffix 2024-03-27 19:35:38 -07:00
Jonathan Kelley
1f6c7cfbd0
fix binstall 2024-03-27 18:55:29 -07:00
Evan Almloff
36f67bd5e2 update 0.4 doc links to 0.5 2024-03-27 20:42:07 -05:00
Evan Almloff
e8491d5cf4
Require every field in router variants to be present in the route in the web history (#2159)
* require every field to be present in the URL in the web history

* remove desktop only extra field from the simple routes example
2024-03-27 18:12:35 -07:00
Jonathan Kelley
329c323b35
Doc fixes, running examples instructions, change menubar behavior for desktop 2024-03-27 17:57:05 -07:00
Jonathan Kelley
537f064001
Remove some old docs, cleanup some readmes 2024-03-27 17:28:30 -07:00
Jonathan Kelley
a1c03a461d
Basic docs cleanups 2024-03-27 17:06:10 -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
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
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
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
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
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
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
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
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
1b8f7023f9
Merge branch 'main' into unwind-into-error-boundary 2024-03-15 12:15:55 -07:00