Commit Graph
404 Commits
Author SHA1 Message Date
oletf f594a65b7e use main exe name without extension for bundler (#3696) 2025-02-07 16:08:23 -08:00
Andrew Voynov 67515ce812 Allow to connect to the dev server from a physical Android device (#3634)
* fix(android): now dev server just works on devices

* fix: allow custom port for Android app development

* refactor: simplified URL creation in LaunchBuilder
2025-01-31 14:29:54 -08:00
Jonathan Kelley 202f2e81d7 use apt-caching, don't cargo install during test 2025-01-30 15:55:35 -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
Evan Almloff 13dcd80fbf Optimize wasm bindgen asset with manganis (#3531) 2025-01-21 15:14:45 -08:00
Jonathan Kelley d42b1d5146 fix: too much padding for small frames (#3616) 2025-01-21 11:33:00 -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 b6475bdc0a fix: don't ignore manganis assets (#3606) 2025-01-20 18:35:41 -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
Jonathan Kelley a729968ee4 fix: window state preservation by soft-killing the process (#3579) 2025-01-16 17:53:09 -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
Anakael 36522cf3ea fix: cli pakage name search (#3561) 2025-01-13 11:18:50 -08:00
Evan Almloff c4b5e7dbf1 Remove doctor command which doesn't do anything (#3536) 2025-01-10 12:55:11 -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
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
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
Mahmoud 4d484df1a0 fix(cli): get ip addr & port number from config (#3369) 2025-01-07 13:39:45 -08:00
Plebshotandfabian ea8fd16153 Log errors with adb (#3493)
Co-authored-by: fabian <fabian@staff.identeco.de>
2025-01-07 12:40:35 -08:00
Evan Almloff 807cfd29b7 Use a better default browser list and fail gracefully when css parsing fails (#3509) 2025-01-07 10:38:05 -08:00
Liigo Zhuang 6071fde2c4 the main exe to be bundled should have '.exe' extension on windows (#3482)
`hotdog.exe` instead of `hotdog` in directory `target\dx\hotdog\bundle\windows\`
2025-01-02 15:01:33 -05:00
Jonathan Kelley 9e2f1b4e1d Fix: some typos 2025-01-02 14:00:56 -05:00
Rhaskia d20f85b318 Return None in autodetect on cargo feature on other platforms (#3445) 2024-12-24 16:10:18 -05:00
Liigo Zhuang cf1940cdac fix copy assets progress by moving fetch_add out of trace!(). (#3385) 2024-12-20 12:03:50 -08:00
Miles Murgaw 01c5716128 revision: template creation message (#3320) 2024-12-17 15:19:15 -08:00
Jonathan Kelley 040dc54200 add helpful message for obscure cargo failures (#3380) 2024-12-17 15:14:28 -08:00
Jonathan Kelley fa48016d0c Fix space remaining (again) (#3377)
This commit was tested in a separate project
2024-12-17 13:42:09 -08:00
Jonathan Kelley 95cde59606 fix space remaining mis calc in cli frame causing tears (#3371) 2024-12-17 10:56:16 -08:00
Jonathan Kelley eb76d48eae Fix: unwraps while ignoring log lines (#3370) 2024-12-16 17:13:52 -08:00
Miles MurgawandJonathan Kelley ccf500c77b Feat: CLI wasm-bindgen-cli Installer (#3335)
* feat: wasm-bindgen-cli installer

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-12-11 11:27:11 -08:00
Jonathan Kelley 94a499c900 fix: print error: messages and their contents from cargo (#3336) 2024-12-10 21:50:24 -08:00
Jonathan Kelley 49caa2b113 fix: toasts (#3333) 2024-12-10 21:11:05 -08:00
Jonathan Kelley e598cfe31c Fix merge conflict causing CLI lifetime to be wrong 2024-12-10 17:08:45 -08:00
Jonathan Kelley ca70e8660d feat: android asset hotreloading (#3332) 2024-12-10 16:46:30 -08:00
Miles Murgaw b20c8ac277 Fix: Windows Manganis Asset Hot Reload (#3330)
* fix: windows asset hot reload

* revision: canonicalize err handling
2024-12-10 16:24:39 -08:00
Jonathan Kelley d7d2c2fd53 Fix: move the hotreload msg into debug-only so it's so long 2024-12-06 18:18:34 -08:00
Jonathan Kelley 1fd5680937 fix: asset copy counter 2024-12-06 18:00:16 -08:00
Jonathan Kelley 995a529b2f feat: some simple UI tweaks to CLI (#3301) 2024-12-06 15:15:42 -08:00
Jonathan Kelley 02b2a12011 make wasm compile a bit faster 2024-12-06 13:43:55 -08:00
Jonathan Kelley fb85726084 longer ssg timeout 2024-12-06 12:12:00 -08:00
Jonathan Kelley 2c9d8aea56 fix: allow post_create on dx new to fail silently 2024-12-06 12:04:02 -08:00
Miles Murgaw f3b6ec5a2c fix: flush cargo logs (#3282) 2024-12-05 10:50:30 -08:00
Jonathan Kelley e6f76c7e75 fix wasm-bindgen verify logic 2024-12-04 18:34:43 -08:00