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>
* adhox: Fix Clippy lints in const-serialize etc.
Fix the clippy lints that were preventing building:
* const-serialize/src/lib.rs
* core/src/nodes.rs
* fullstack/src/serve_config.rs
* adhoc: Change the way to satisfy the lint for 1.85
The lint for pointer comparison is only in 1.85. The solution
uses a mechanism that was only stabilized with 1.85. Instead
of using that solution, will just allow the lint on this
function for now. Once the MSRV of Dioxus is updated to 1.85
or above, this can be changed to use the recommeneded solution.
* adhoc: Fix the 'cargo make test' tests
There were a number of tests failing to compile and/or run.
Fixed those that could be meaningfully fixed. Those that were
incomplete examples that could not be fixed are marked as
'ignore'.
* adhoc: GitIgnore test results in playwright tests
* fix wry rollback
---------
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>