Commit Graph
4262 Commits
Author SHA1 Message Date
alongdate a5b4ceed39 chore: fix some typos in comments (#2340)
Signed-off-by: alongdate <alongyear@outlook.com>
2024-04-19 08:29:22 -05:00
Evan Almloff 5ce91e1bfc Fix flakey windows tests (#2332) 2024-04-17 15:08:38 -07:00
Chungand=Chung Wong c9ab09b348 fix path of set_server_url (#2314)
Co-authored-by: =Chung Wong <=wch705@gmail.com>
2024-04-16 09:18:50 -05:00
Marc EspinandEvan Almloff b6d3da2b31 fix: Update use_resource docs (#2303)
* fix: Update `use_resource` docs

* Fix use_recourse docs; match ref instead of deref because WeatherLocation isn't copy

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-04-15 08:28:12 -05:00
Miles Murgaw 05b662ee2d fix: cli spam when build (#2300) 2024-04-13 18:16:13 -05:00
Marc Espin 29f69fa145 fix: Update use_hook docs (#2296)
* fix: Update `use_hook` docs

* rust

* fixes
2024-04-11 15:43:58 -05:00
Matt HunzingerandEvan Almloff 96b9baafff Fix event handler drops (#2288)
* Try to fix event handler drops

* fix Option<EventHandler> parsing logic

* only move over props if both event handlers are some

* fix owner forwarding with props(extends)

* fix clippy

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-04-10 11:23:45 -05:00
Jonathan Kelley 994056e16d Don't eat keys (#2280) 2024-04-08 22:31:58 -07:00
Jonathan Kelley 67af2d89dd Autofmt nested rsx using syn::Visitor (#2279)
* Nested macros using visitor pattern
2024-04-08 22:15:52 -07:00
Jonathan Kelley 0b7c7701a3 fmt 2024-04-08 19:24:49 -07:00
Evan Almloff af524d979b Fix empty for loop, if statements and children (#2275)
* fix empty for loop, if statements and children

* fix clippy
2024-04-08 19:23:55 -07:00
Evan Almloff 40b576894f fix the assets head path (#2267) 2024-04-08 19:23:11 -07:00
Evan Almloff a012fb57ab poll tasks in the same order they are queued (#2273) 2024-04-08 18:44:43 -07:00
Evan Almloff 26c109f661 fix volatile attributes (#2278) 2024-04-08 18:42:48 -07:00
Aron Puddy c799168666 pass features thru to cargo on dx bundle (#2271) 2024-04-08 08:52:04 -05:00
Ahmet Kaan GÜMÜŞ e03593cff7 docs: ✏️ unnecessary need to in global_context.rs (#2268) 2024-04-08 08:51:14 -05:00
Miles Murgaw f4164c78c2 Fix: CLI Logging (#2254)
* fix: cli logging

* remove: debug print
2024-04-05 12:37:40 -07:00
Zan Pan bd852c68fd Use tracing::warn when the dioxus CLI is not used (#2250) 2024-04-05 12:36:05 -07:00
Zan PanandEvan Almloff fcbebbbf14 Use tracing::warn! instead of error! when assets not being preloaded (#2251)
* Use `tracing::warn!` instead of `error!` when assets not being preloaded

Currently, it emits a `tracing::error` when assets not being preloaded if the dioxus CLI was not used to build the application. It should be a warning since `cargo` can also build the application successfully.

* add more details to desktop preload warning

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-04-05 08:33:02 -05:00
Jonathan Kelley 7eccc7a104 Release 0.5.2
dioxus-cli@0.5.2
dioxus-fullstack@0.5.2

Generated by cargo-workspaces
2024-04-04 18:32:14 -07:00
Evan Almloff c43bbe6aa5 fix the relative paths issue in the fullstack crates.io build (#2248) 2024-04-04 18:30:14 -07:00
Jonathan Kelley 9c5e5f969f Release 0.5.1
dioxus@0.5.1
dioxus-autofmt@0.5.1
dioxus-check@0.5.1
dioxus-cli@0.5.1
dioxus-core@0.5.1
dioxus-core-macro@0.5.1
dioxus-desktop@0.5.1
dioxus-fullstack@0.5.1
dioxus-hooks@0.5.1
dioxus-html@0.5.1
dioxus-interpreter-js@0.5.1
dioxus-lib@0.5.1
dioxus-liveview@0.5.1
dioxus-mobile@0.5.1
dioxus-router-macro@0.5.1
dioxus-rsx@0.5.1
dioxus-signals@0.5.1
dioxus-ssr@0.5.1
dioxus-web@0.5.1
dioxus_server_macro@0.5.1
generational-box@0.5.1
rsx-rosetta@0.5.1

Generated by cargo-workspaces
2024-04-04 17:05:21 -07:00
Jonathan Kelley 702509cb7e Fix recycling on component callbacks (#2247) 2024-04-04 16:48:06 -07:00
Jonathan Kelley 0a3291084f Use a VecDequeue instead of a vec for bytes (#2246)
* Fix: add both the rAF queue and vecdequeue

* Fix: Take before recycle
2024-04-04 16:29:28 -07:00
Jonathan KelleyandEvan Almloff 633e2a70a4 Fix memory leak in owner (#2245)
* Fix: memory leak on listeners for elements

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-04-04 15:32:23 -07:00
Jonathan KelleyandEvan Almloff 44fe2defc2 Fix: memory leak on listeners for elements (#2244)
* Fix: memory leak on listeners for elements
* Recycle in manuallydrop

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-04-04 14:25:17 -07:00
Jonathan Kelley 6f3c5518ca Feat: provide root context as method on virtualdom (#2243) 2024-04-04 12:00:06 -07:00
Jonathan Kelley 821a650f77 Fix: requeue events, process events (#2236)
* Fix: requeue events, process events

* Fix test: wait_for_work shouldn't wait 3 times when one update happens while rendering
2024-04-04 11:46:31 -07:00
Evan Almloff 4d25e3f6a2 fix hydration for non-bubbling events (#2234) 2024-04-04 11:46:22 -07:00
Jonathan Kelley be99e29e5f Fixes to autofmt, make it more aggressive (#2230)
* fix: fmt unterminated if, be more aggressive with line splits

* Fix: Handle long exprs in for/if statements
2024-04-03 15:27:36 -07:00
Russell Mull 46b0eeb12c Implement the "Toggle Developer Tools" menu item in desktop (#2198) 2024-04-02 10:53:26 -07:00
Evan Almloff 11bf5ae34f fix firefox refreshing loop in debug mode (#2214) 2024-04-02 10:52:40 -07:00
Evan Almloff 4c209e39fe re-export generational box error types from the signals crate (#2212) 2024-04-02 10:52:27 -07:00
Evan Almloff c8140c78b3 reuse placeholder and empty nodes on each thread to reduce allocation (#2217) 2024-04-02 10:52:16 -07:00
Evan Almloff 5df333fca2 fix and test spawn_forever (#2216) 2024-04-02 10:52:00 -07:00
Evan Almloff 947b23bda5 fix rendering aborted nodes in SSR (#2218) 2024-04-02 10:51:48 -07:00
Jonathan Kelley aca38e6a34 Fix typo is style tag removal (#2220) 2024-04-01 16:01:44 -05:00
Marc Espin 7949fcda9a chore: Clean up use_on_destroy docs (#2199)
* chore: Clean up `use_on_destroy` docs

* fmt
2024-04-01 09:20:04 -05:00
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