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
468d2b6b3b
Merge pull request #2105 from DioxusLabs/jk/props-expand
...
Fix #1938 , allow explicit props
2024-03-18 16:02:23 -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
2a803c829f
Merge pull request #2096 from DioxusLabs/jk/hotreloading-fixed-again
...
Fix : #2095 , #1990
2024-03-17 21:55:58 -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
cba3abccf4
Merge pull request #2087 from DioxusLabs/jk/mobile-fixes
...
Fix mobile issues
2024-03-15 20:13:44 -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
fe2c17f792
Make Clippy happy
2024-03-15 12:20:16 -07:00
Jonathan Kelley
0a5f267a9a
Merge pull request #2081 from ealmloff/unwind-into-error-boundary
...
unwind panics into error boundaries
2024-03-15 12:16:00 -07:00
Jonathan Kelley
1b8f7023f9
Merge branch 'main' into unwind-into-error-boundary
2024-03-15 12:15:55 -07:00
Evan Almloff
df41df75d0
switch to use_reactive
2024-03-15 11:54:09 -05:00
Evan Almloff
b8c41efb54
Merge branch 'DioxusLabs:main' into resource-dependancies
2024-03-15 08:46:17 -05:00
Jonathan Kelley
25844ae9d3
Fix: make clippy happy, don't set asset dir env
2024-03-15 00:07:33 -07:00
Jonathan Kelley
e3e0bbeda5
Merge branch 'main' into jk/mobile-fixes
2024-03-14 23:13:54 -07:00
Jonathan Kelley
fe5fc1058e
Fix: cargo running desktop shouldn't panic
2024-03-14 23:13:04 -07:00
Jonathan Kelley
7d11984a0e
Chore: bump wry + tao
2024-03-14 23:11:25 -07:00
Jonathan Kelley
01a0917223
Merge pull request #2055 from DioxusLabs/jk/fix-hotreloading-issues
...
Fix hotreloading issues, clean up the CLI a bit
2024-03-14 23:06:12 -07:00
Jonathan Kelley
6cc950eb9d
Fix: on embedded hotreload don't watch target directory
2024-03-14 23:05:31 -07:00
Jonathan Kelley
9474ad54cc
Make clippy happy
2024-03-14 22:40:23 -07:00
Jonathan Kelley
58233c6a3b
Merge branch 'main' into jk/fix-hotreloading-issues
2024-03-14 22:31:22 -07:00
Jonathan Kelley
f79a8c06d4
Merge pull request #2085 from DioxusLabs/dependabot/npm_and_yarn/packages/extension/follow-redirects-1.15.6
...
Bump follow-redirects from 1.15.4 to 1.15.6 in /packages/extension
2024-03-14 22:28:48 -07:00
Jonathan Kelley
d400aeb401
Merge pull request #2086 from DogeDark/mobile-fix
...
Fix: Add dioxus-desktop To Mobile Feature
2024-03-14 22:28:34 -07:00
Miles Murgaw
cfe412a3d5
update: fix cargo lock
2024-03-14 23:05:50 -04:00
Miles Murgaw
ab2e2c63d5
feat: fix unknown imports
2024-03-14 23:01:14 -04:00
Jonathan Kelley
cee4795f17
Merge pull request #2082 from ealmloff/bump-sledgehammer
...
Bump sledgehammer bindgen to a stable release
2024-03-14 19:06:51 -07:00
dependabot[bot]
711f812b47
Bump follow-redirects from 1.15.4 to 1.15.6 in /packages/extension
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-15 02:00:43 +00:00
Jonathan Kelley
a9a8619489
Merge pull request #2084 from DioxusLabs/jk/split-out-tui
...
Move TUI renderer into blitz repo
2024-03-14 19:00:17 -07:00
Jonathan Kelley
7cc3264881
Move TUI renderer into blitz repo
2024-03-14 18:54:46 -07:00
Evan Almloff
92416253e0
fix typo in signal docs
2024-03-14 15:07:16 -05:00
Jonathan Kelley
efb21b24ca
Log watched dirs in status console
2024-03-14 09:20:51 -07:00