Commit graph

5899 commits

Author SHA1 Message Date
Jonathan Kelley
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
koti
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 Almloff
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ć
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
Evan Almloff
a07e9aade4
Use simpler string formatting in the Leptos comparison 2024-03-29 09:57:29 -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
e3ce9e235a
Fix binstal extra v 2024-03-27 19:39:16 -07: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
Jonathan Kelley
f6c3b2745e
Release v0.5.0 2024-03-27 18:25:52 -07:00
Jonathan Kelley
c483abe091
dont version extension 2024-03-27 18:14:33 -07: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
Jonathan Kelley
41c3967052
use docfix interprocess 2024-03-27 16:57:24 -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
b499ebe5bd
Fix release url on cli 2024-03-27 09:52:35 -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
0826367e4f
Ssl error? 2024-03-26 22:22:25 -07:00
Jonathan Kelley
420a9290ff
fix tag 2024-03-26 22:10:51 -07:00
Jonathan Kelley
877be9092f
fix typo 2024-03-26 22:03:30 -07:00
Jonathan Kelley
b27a90841c
Fix strategy! 2024-03-26 21:55:33 -07:00