* Add better error handling for wasm-opt and prevent file truncation on error
* clippy
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* Build ssg routes when both the client and server builds are finished
* Fix default server fn encoding
* fix tokio console
* fix ssg
* add prerendering message
* render under the same environment variables as normal
* fix check
* use should_bundle_to_asset
* enable ssg playwright test
* fix clippy
* Use different release profiles for desktop and server builds
* fix clippy
* change the global cargo config instead of the local one
* fix merge
* fix release profile logic
* use adhoc profile generation
* fix compilation of dioxus-lib in fullstack
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* Allows desktop apps to open mailto links
* Drop webbrowser, use `open` only
* switch to that_detached
* use workspace `open`
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* Pass args after -- to the executable during run and serve
* fix clippy
* switch to accepting a string argument for subcommand compatibility
* Handle merging with `@server` and `@client`
* fix clippy
* fix formatting
* always build into the client package
* fix clippy
* more clippy fixes
* white-list .rcgu.o files in the linking phase, otherwise dump them into the normal linking pile
* simplify a bit
* remove noisy trace
* remove wrong comment
* Fix deduping assets
* hash assets in the linker
* fix extracting assets
* Fix the hashed asset name
* deserialize the asset back from the link section
* prevent the read from being inlined
* remove some extra logs
* Fix liveview routing
* Only look for direct dependencies on dioxus features
* fix wasm split test
* On wasm, create a new object file with the asset information
* Fix multiple assets
* add a regression test for 3467
* fix image link
* fix linker out file
* fix linux linker args
* add windows linker command
* fix linux link args
* fix windows target triple
* Expose an option to build assets in the linker intercept
* Fix the standalone optimizer and document it in the dx help command
* include the cli opt version in the hash
* fix clippy
* fix ssg port
* add a safety note to the read_volatile call
* move found assets log
* fix some merge conflicts
* fix build
* make most env var for the linker optional
* guess the target triple when dx acts as the linker intercept
* automatically find the linker for normal builds
* use the right linker in wasm mode
* fix mac linker
* look inside archive files (rlibs)
* remove out.txt
* fix clippy
* fix typo
* fix clippy
* fix build
* fix dx link name in docs
* ignore libcompiler_builtins warnings
* fix playwright
* pass typocheck
* fix printing sysroot
* Modify final binary
* fix wasm assets
* remove old link section logic
* fix tests
* forward manganis export args
* fail to evaluate relocatable address
* retain all exports in the same pattern as other platforms
* Fix adding assets during a wasm hot patch
* less nesting and remove logs
* fix clippy
* log pdb files
* read from pdb
* print data section contents
* print with object
* normal windows builds working
* fix hot patch windows
* clean up logs
* fix clippy
* clean up assets
* use the most recent pdb
* fix doc test
* fix typo
* tiny nits
* make bundled a reference instead of a pointer
* add helpful comment to impl
* match on file format
* Fix asset hashing comment
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* subsecond/cli: fix passing through -fuse-ld for LinkerFlavour::Gnu
* if linker isn't a relative, local path, keep it unresolved since its a command on PATH
* disable precompress by default
* go back to nuking wasm dir in some cases
* enable more wasm-opt flags, use stable
* add better logging for wasm-opt failure
* add vscode debugger for apps
* todo: need to disconnect when rebuilding
* update debugger
* add uri handler to remote launch the debugger
* attach
* dont panic
* fixed it - hung processes are not errors
* wip: android debugger
* clean it up a bit
* revert ios stdout/stderr
* wire up pid from ios
* use target family instead of target_arch
* fix android
* bring back softkill
* typo
* feat: copy frameworks to Frameworks folder
* add dylib linking to patching
* remove logging
* rename __aslr_offset
* fix android/linux
* support linker flavor
* support custom target dirs
* custom cargo target dir support
* whoops ios
* dlsym doesn't exist on windows
* look for the right main symbol per platform
* distinction between mains
* export main on windows
* enbable rlib caching
* add dx hash
* adjust linking warnings
* update tui with hotreload state
* implement symbol flags
* add flags
* only run ranlib on darwin
* enable lld
* paths
* add harness test for tls
* wip: revert launch mobile
* wip
* fix fullstack mobile
* fix a few bugs
- long paths?
- reverting back to original
* pass-thru fuse-ld args
* fix nan in render, fix empty archives
* consider existing dep files if archive exists
* fmt
* drop msrv
When building for Android, the linker may incorrectly pick up Windows-specific
.lib files (e.g., from embed-resource) even with proper #[cfg] guards in build.rs.
This explicitly filters out .lib files from linker arguments when the target
environment is Android to prevent linkage failures.
* fix: subsecond on windows
an off-by-one error and improper escaping for response files was causing windows to fail
this fixes that
* add linker selection
This is because Rust generates accessors but marks them as TLS. This might not be a 100% portable fix across all code, but the dissasembly seems to hold.
* wip.... bun installer
* - warn on incompatible versions
- clean up some logs
- add coloring to log levels
* add toasts to desktop/mobile
* Auto open simulators
* auto boot android
* preserve url
* pull out some of the warnings
* add self-updater
* wip: mcp
* add install.sh and adjust binstall path
* add some cuter styling to logs!
* update "input.css"
* update other input.css
* style a bit more
* change getting started
* add windows installer
* move dioxus-mobile into dioxus-desktop
add sentry wip to cli
* shorten timeout of toast
* fix cli display
* wire up customization of android manifest
* udid is a real word
* add 429 to lychee cache
* accept all 200-204 and 429
* feat(cli): add `bundle.android` config to build and sign the apk file in release mode
Add this to `Dioxus.toml`
```toml
[bundle.android]
jks_file = "path/to/jks file relative to Dioxus.toml"
jks_password = "jks_password "
key_alias = "key_alias"
key_password = "key_password "
```
When release flag is enabled and this configuration exists at the same time, use `gradlew assembleRelease` build and sign apk file
* fix merge conflict
* only run assembleRelease when bundle exists
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* fix: dx bundle progress output off-by-one in log lines
* fix: Emit the name of the last compiled unit (feedback from @DogeDark)
* fix: Log "Compiled" instead of "Compiling", since the log refers to completed units, not in-progress ones
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* update dx serve output: remove wrap from "Platform", "App features" and "Serving at" paragraphs
ratatui's Wrap system causes text to disappear into an invisible 2nd line when paragraph content exceeds available space, which might confuse new users when terminal width is small.
This PR removes wrapping entirely, using ratatui default behavior (truncation) instead, which is not optimal either but possibly less confusing.
---------
Co-authored-by: sebdotv <sebdotv@gmail.com>