Commit Graph
6461 Commits
Author SHA1 Message Date
Evan Almloff bd30516490 Fix web eval return (#3656)
* Fix web eval return

* add regression test to playwright
2025-01-27 12:57:20 -08:00
Evan Almloff fb7b1a30bf Use the launch builder instead of web launch in the fullstack auth example (#3640) 2025-01-24 16:24:08 -08:00
Jonathan Kelley 041c570efe publish: v0.6.2 2025-01-21 19:29:30 -08:00
Jonathan Kelley 5d4893493b revert ring pr 2025-01-21 18:55:15 -08:00
Jonathan Kelley 03c2d6711d fix: pass off env vars to android apps (#3621)
* fix: pass off env vars to android apps

* move to jni_onload

* fix clippy
2025-01-21 18:52:56 -08:00
Vinicius Gobbo Antunes de Oliveira ce2b223af9 CryptoProvider error. (#3619) 2025-01-21 18:46:59 -08:00
Jonathan Kelley 08f2180bbd fix: use a different temp path to not confuse image opt (#3620) 2025-01-21 18:33:43 -08:00
Evan Almloff 13dcd80fbf Optimize wasm bindgen asset with manganis (#3531) 2025-01-21 15:14:45 -08:00
Jonathan Kelley d8850c7666 fix: don't have Rc cycles in DioxusElement or Queries (#3618) 2025-01-21 14:57:31 -08:00
Jonathan Kelley d42b1d5146 fix: too much padding for small frames (#3616) 2025-01-21 11:33:00 -08:00
Ikko Eltociear Ashimine 23d9178154 docs: update translations/ja-jp/README.md (#3615)
* docs: update translations/ja-jp/README.md

* docs: update translations/ja-jp/README.md
2025-01-21 10:52:07 -08:00
Evan Almloff 640a3e00af Remove the todo list from the examples readme (#3613) 2025-01-21 09:17:23 -08:00
Evan Almloff f99e50b0aa Fix hot reload diffing to empty rsx (#3567)
* Fix hot reloading to empty rsx

* Only normalize the template when hot reloading and rendering

* add a test for emptying out an rsx block in hot reloading
2025-01-21 00:33:29 -08:00
Jonathan Kelley 2c6a5212fc fix: loop panic on process exit in serve 2025-01-21 00:32:39 -08:00
Jonathan Kelley 439e3e7723 fix: dont unwrap as much in desktop (#3609) 2025-01-21 00:13:05 -08:00
Miles Murgaw 4342ca92a3 Fix: always-on-top setting (#3347)
* fix: always-on-top

* revision: remove setting override
2025-01-20 23:34:30 -08:00
Jonathan Kelley d342630a0a feat: android bundling, red/blue exe names, session cache (#3608)
* feat: android bundling

* fix: add hashing to exe names for red/blue exes

* feat: implement session cache for window restoration
2025-01-20 21:16:55 -08:00
Jonathan Kelley 024285c548 fix: don't send hot-reload if app is building (#3607) 2025-01-20 18:58:50 -08:00
Jonathan Kelley 6c907b1c20 fix: restore file in release mode 2025-01-20 18:36:17 -08:00
Jonathan Kelley b6475bdc0a fix: don't ignore manganis assets (#3606) 2025-01-20 18:35:41 -08:00
Jonathan Kelley c2ad99406d Fix: don't overwrite pos/size when dx-rebuilding 2025-01-20 18:02:59 -08:00
Jonathan Kelley 8334f7fbaa feat: device hot-reload, tools-relative adb, auto port bind (#3586)
* wip: bind to 0.0.0.0 instead of 127.0.0.1

* dont hang in background - ignore suspend commands when tty is disabled

* use system adb

* pass configs through to android mobile launch

* fix: line sizes + clear pushes frame

* dont resume window state on mobile

* fix screen sizing for ipad

* attempt and fail to implement codesigning

* Clippy and note about safety in android bindings
2025-01-20 17:42:13 -08:00
Evan Almloff e199e86dad Fix fullstack hackernews example instructions (#3597) 2025-01-20 16:35:32 -08:00
Evan Almloff aba2e73025 Simplify fullstack auth example (#3598) 2025-01-20 16:35:19 -08:00
Christopher Serr eaf9f80abd Fix: Only Resize WebView Associated With Window (#3584)
When resizing a window, Dioxus previously accidentally resized every
single webview to the dimensions of the window that just got resized.
This fixes it so only the webview that is associated with the window is
resized.
2025-01-17 12:00:38 -08:00
Jonathan Kelley a729968ee4 fix: window state preservation by soft-killing the process (#3579) 2025-01-16 17:53:09 -08:00
Evan AlmloffandJonathan Kelley e22ea0c2ff Fix repeated subscription to dropped scope leak (#3569)
* Fix repeated subscription to dropped scope leak

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2025-01-16 17:35:14 -08:00
CathalandJonathan Kelley c7951b7dd5 feat(cli): add feature to disable downloads (#3465)
* feat(cli): add feature to disable downloads

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2025-01-16 16:49:30 -08:00
Jonathan Kelley cd121f2828 fix: messy ui for package types in bundle 2025-01-16 15:34:18 -08:00
19d5fae12d Fix outdir not work when run dx bundle --platform web --outdir mydir (#3572)
* Make legacy asset dir optional
* properly implement outdir

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
Co-authored-by:  Nathy-bajo <bajon7680@gmail.com>
2025-01-16 15:17:33 -08:00
Jonathan Kelley db16de15c5 fix: don't accidentally generate .d.ts files with wasm-bindgen (#3577)
* no typescript flag

* move field
2025-01-16 13:27:07 -08:00
Evan Almloff 857c3e232e Fix rsx expression autocomplete (#3568)
* Fix autocomplete in node and attribute expressions

* Fix release expansion

* revert changes to expr_node

* fix rsx expansion in release mode
2025-01-14 10:51:39 -08:00
James BenzeandJonathan Kelley d5a04c69ba Add server context to suspense resolution (#3552)
* Add server context to suspense resolution

While this was done correctly in the streaming case, non-streaming
suspense resolution didn't recieve the server context.  This meant that
anything that required the context after the point of suspension would
find it missing.

* fmt

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2025-01-13 12:30:00 -08:00
sertschgiandJonathan Kelley 25a64d97c0 Fixed the multiple window closing issue, where the two multiwindow examples weren't working. (#3499)
* fixed window when multiple windows not closing

* fixed window when multiple windows not closing

* fixed accidental includes

* polished

* fix last window closing hiding app and rc hardcount

* find the suspect strong count holders and fix them

* Use the proper type alias

* fmt

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2025-01-13 12:10:22 -08:00
Anakael 36522cf3ea fix: cli pakage name search (#3561) 2025-01-13 11:18:50 -08:00
Plebshotandfabian a621cb8044 docs: demonstrate extending both global and element attributes (#3555)
Co-authored-by: fabian <fabian@staff.identeco.de>
2025-01-13 10:34:51 -08:00
Miles Murgaw 1419d9c71b Fix: Enable keep_fn_names In SWC Mangling (#3539)
* fix: swc, keep fn name

* fix: don't update swc
2025-01-13 10:31:40 -08:00
Evan Almloff 2924ec4678 Fix pointer provenance in const rust with zero sized type enum variants (#3532) 2025-01-10 13:01:15 -08:00
Evan Almloff c4b5e7dbf1 Remove doctor command which doesn't do anything (#3536) 2025-01-10 12:55:11 -08:00
Evan Almloff 76cf2f0bfe Fix server crash logging and opening fullstack apps (#3488) 2025-01-08 19:54:11 -08:00
Evan Almloff 5b5e3d3960 Fix ssg race condition (#3521)
* Fix server crash logging and opening fullstack apps

* Fix the event handler memory leak

* Add a regression test for memory leaks

* add a component to the memory leak test

* Fix race condition during SSG

* move route prerendering into a separate stage

* Fix static site generation with dx serve

* only proxy the fullstack server if ssg is disabled

* test nested-suspense with ssg in playwright
2025-01-08 19:53:51 -08:00
Evan Almloff ecc419df0a Fix ssg race condition (#3521)
* Fix server crash logging and opening fullstack apps

* Fix race condition during SSG

* move route prerendering into a separate stage

* Fix static site generation with dx serve

* only proxy the fullstack server if ssg is disabled

* test nested-suspense with ssg in playwright
2025-01-08 19:52:10 -08:00
Jonathan Kelley 343c48f5ad fix: viewBox translation by not accidentally stringifying literals (#3527)
* fix: don't double stringify lits

* also split off namespaces in translation
2025-01-08 16:12:48 -08:00
Miles Murgaw a3812d66da Fix: Asset Cache On Windows & Asset Status (#3525)
* fix: asset caching on windows
* fix: asset status
2025-01-08 15:08:18 -08:00
Evan Almloff 5ea0867a34 Fix the test_stream function running after the stream is closed (#3396) 2025-01-08 15:00:05 -08:00
Jonathan Kelley 5815e05014 fix: add additional lock when calling wait_for_work on android (#3524)
* fix: add additional lock when calling wait_for_work

* simplify
2025-01-08 14:45:23 -08:00
Tobias DomhanandJonathan Kelley 6755accbdc fix: Handle unicode in webview events. (#3386)
* Handle unicode in webview events.

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2025-01-08 14:32:57 -08:00
BleemIs42 20cdafbf16 Fix dx bundle fails when no assets are copied (#3519) 2025-01-08 08:56:51 -08:00
Evan Almloff c8d6444e88 Improve error message when dx is called on a virtual or library package (#3505)
* Improve error message when dx is called on a virtual or library package
2025-01-07 23:30:52 -08:00
Evan Almloff d890cc72ac Fix mounted event after initial hydration (#3480)
* trigger queued mounted events immediately after hydrating

* add a playwright test to prevent regressions
2025-01-07 19:52:27 -08:00