Commit Graph
4224 Commits
Author SHA1 Message Date
Evan AlmloffandJonathan Kelley 9f280a8d84 Fix child fields with the web history (#2172)
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-03-29 18:23:28 -07:00
Evan Almloff 6a781af693 Fix hydration for static text nodes at the root of the template (#2184)
* Fix hydration for static text nodes at the root of the template

* fix clippy
2024-03-29 18:22:55 -07:00
Evan Almloff 4a622348f2 Fix the mobile feature on the dioxus crate (#2185) 2024-03-29 18:22:41 -07:00
David McNeil d16ac4e736 Bump rfd to version 0.14 fixing 2149 (#2161) 2024-03-29 18:05:14 -07:00
Marko LazićandLazić cec6b92e42 Move dioxus_core::diff::node logs from info to trace #2165 (#2182)
Co-authored-by: Lazić <markolazic@protonmail.com>
2024-03-29 12:17:00 -05:00
Martijn Gribnau 862ec2680b fix: Reflect that create command was renamed to new (#2174) 2024-03-29 08:34:57 -05:00
Jonathan Kelley 2461790baf bump cli to 0.5.4 2024-03-28 21:11:54 -07:00
Marc Espin 44471f4918 fix: Hide launch mod when disabled (#2171) 2024-03-28 16:58:58 -05:00
Andrew Voynov fd21c97103 fix(generational-box): polished README.md (#2168) 2024-03-28 10:23:11 -05:00
simonsan d9f78abf10 fix: remove misplaced 'a' from cli help text (#2166) 2024-03-28 07:58:40 -05:00
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 AlmloffandJonathan Kelley 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 MurgawandJonathan Kelley 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 AlmloffandJonathan Kelley 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 BomanandEvan Almloff 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 AlmloffandJonathan Kelley 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