Commit Graph
5927 Commits
Author SHA1 Message Date
Miles Murgaw 4e0c7940cc revision: cli help docs (#2349) 2024-04-22 09:57:56 -05:00
dependabot[bot] 8702296281 Bump JamesIves/github-pages-deploy-action from 4.5.0 to 4.6.0 (#2355)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases)
- [Commits](https://github.com/jamesives/github-pages-deploy-action/compare/v4.5.0...v4.6.0)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 09:56:41 -05:00
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
dependabot[bot] 7beacdf9c7 Bump h2 from 0.3.25 to 0.3.26 (#2253)
Bumps [h2](https://github.com/hyperium/h2) from 0.3.25 to 0.3.26.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.26/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.25...v0.3.26)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-05 12:37:53 -07: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
koti d45a71ba54 Fix for Counters sample code in Readme (#2213)
* Fix for Counters sample code in Readme

For leptos code, there is no need for Memorization here. As memorization of the values of the text nodes in the renderer already happens.

* Reverted to Memo
2024-04-01 11:31:01 -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
kotiandEvan Almloff 57e05dcf3a Fix for Counters sample code in README (#2209)
* Fix for Counters sample code in README.md

Fix for Counters sample code in README. It was throwing syntax errors.

* Update README.md

Fix

* slightly simplify counter example with the writable vec extension trait

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-04-01 08:20:32 -05:00
Christos KK Loverdos ffe02b43c5 fix: typo (#2202) 2024-03-31 10:24:24 -05:00
Ahmet Kaan GÜMÜŞ 0850dcba5e docs: 📝 new readme translated into Turkish (#2196) 2024-03-30 20:24:51 -07:00
Greg Johnston d77e1eb3ed make Leptos iteration example equivalent of Dioxus iteration example (#2191) 2024-03-30 03:52:32 -07: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