Nico Burns
c68a47b2d3
CLI: only push a dioxus/* fallback feature if the crate being compiled ( #5143 )
...
depends on the `dioxus` crate.
2025-12-28 12:24:03 -05:00
Nico Burns
31bee1417c
Add a prelude module to Dioxus Native ( #5104 )
...
* Add prelude to dioxus-native crate
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Fix unreachable_patterns lint
---------
Signed-off-by: Nico Burns <nico@nicoburns.com >
2025-12-25 16:51:51 -05:00
Nico Burns
9484cda546
Fix clippy lints (Rust 1.92) ( #5102 )
...
* Fix clippy lints (Rust 1.92)
* cargo fmt
Signed-off-by: Nico Burns <nico@nicoburns.com >
---------
Signed-off-by: Nico Burns <nico@nicoburns.com >
2025-12-15 15:32:09 +00:00
Nico Burns
552b553a44
Fix call to rustc-objcopy to strip binary on Linux ( #5066 )
...
* Fix call to rustc-objcopy to strip binary on Linux
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Print stdout and stderr if strip fails
Signed-off-by: Nico Burns <nico@nicoburns.com >
---------
Signed-off-by: Nico Burns <nico@nicoburns.com >
2025-12-11 02:36:56 +00:00
Nico Burns
c01770fcfb
Fix resolving windows icon path ( #5072 )
...
Signed-off-by: Nico Burns <nico@nicoburns.com >
2025-12-08 14:37:55 +00:00
Nico Burns
f7e102a0b4
Add SyncStore and use_store_sync ( #5014 )
2025-11-22 12:43:52 -08:00
Nico Burns and Jonathan Kelley
d61848609f
Make dioxus-native work on iOS simulator ( #4876 )
...
* Make dioxus-native work on iOS simulator
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Bump dioxus-native to v0.7.1
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Update package version to use workspace versioning
---------
Signed-off-by: Nico Burns <nico@nicoburns.com >
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com >
2025-11-05 15:22:02 -03:00
Nico Burns
2bbfccfd04
Native: implement hot-reloading of stylesheets ( #4830 )
...
* Make `tracing` feature of dioxus-native enable `tracing` feature of dioxus-native-dom
* Native: implement hotreloading of stylesheet assets
* Add asset support for native-headless-in-bevy example
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Remove println statements
Signed-off-by: Nico Burns <nico@nicoburns.com >
---------
Signed-off-by: Nico Burns <nico@nicoburns.com >
2025-10-24 15:56:55 -07:00
Nico Burns
0ca8c86cbd
native: disable debug logs by default ( #4740 )
...
Signed-off-by: Nico Burns <nico@nicoburns.com >
2025-10-10 18:04:49 -07:00
Nico Burns
9359446017
Upgrade to Blitz v0.2.0 ( #4731 )
...
* Bump Rust CI version to 1.88
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Upgrade to Blitz v0.2.0
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Native: enable clipboard and file_dialog support by default
* Fix clippy errors
Signed-off-by: Nico Burns <nico@nicoburns.com >
* See if cargo update magically fixes build
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Fix compile err
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Remove unused wasm-opt dep
* Fix wgpu_child_window example
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Update blitz-shell
Signed-off-by: Nico Burns <nico@nicoburns.com >
* cargo fmt
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Allow clippy lint
Signed-off-by: Nico Burns <nico@nicoburns.com >
* CI: Bump pinned nightly version
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Allow clippy lint in whole module
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Fix more clippy lints
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Use Rust 1.90 for clippy
Signed-off-by: Nico Burns <nico@nicoburns.com >
* cargo update --ignore-rust-version
* revert cargo updates
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Revert another silly clippy lint
---------
Signed-off-by: Nico Burns <nico@nicoburns.com >
2025-10-07 11:18:59 -07:00
Nico Burns
ab19ad4624
native: open links in default webbrowser ( #4623 )
2025-10-03 13:43:47 -07:00
Nico Burns
80731da25a
Remove transitions from todomvc stylesheet ( #4620 )
...
Signed-off-by: Nico Burns <nico@nicoburns.com >
2025-08-29 23:28:04 +01:00
Nico Burns
ba64110adc
Upgrade Blitz to v0.1.0 ( #4619 )
...
* Upgrade Blitz to v0.1.0
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Fix clicking on anonymous blocks
Signed-off-by: Nico Burns <nico@nicoburns.com >
---------
Signed-off-by: Nico Burns <nico@nicoburns.com >
2025-08-29 22:59:47 +01:00
Nico Burns
593945ecce
Bump Blitz to 0.1.0-rc.3 (+dangerous_inner_html + style ns attrs) ( #4538 )
...
* Bump Blitz to 0.1.0-rc.3
Signed-off-by: Nico Burns <nico@nicoburns.com >
* native: implement dangerous_inner_html
* native: implement style namespace attributes
* Fix clippy lints
---------
Signed-off-by: Nico Burns <nico@nicoburns.com >
2025-08-12 13:28:41 -07:00
Nico Burns
f9f30263d3
Fix title example on native ( #4463 )
...
Signed-off-by: Nico Burns <nico@nicoburns.com >
2025-07-24 01:35:42 +01:00
Nico Burns
e687a2548c
Use Blitz 0.1.0-rc2 ( #4462 )
...
Signed-off-by: Nico Burns <nico@nicoburns.com >
2025-07-23 16:26:19 -07:00
b257e7e8ce
CLI: add --renderer argument ( #4320 )
...
* Add --renderer argument to the CLI
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Make `--platform native` work
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Emit `krates` error when cargo metadata fails
* Reinstate default "desktop" feature for examples
* Remove commented 'no platform specified' error
Signed-off-by: Nico Burns <nico@nicoburns.com >
* use the target tripple and bundle format as the source of truth for the build
* resolve renderer and bundle format
* add shorthand flags
* add headings to the help for shorthands
* resolve the renderer from the target triple if it isn't passed
* make value after --fullstack optional
* convert desktop -> mobile when targeting mobile webview
* use the new shorthand flags in the playwright tests
* fix clippy
* merge fix
* cleanup merge conflicts
* fix clippy
* remove nit
* restore platform as a legacy argument
* improve help message
* vendor openssl on native, pin server_fn
* print build errors as warnings
* add --desktop arg compat
* adjust cli headings
* prefer self.is_wasm_or_wasi()
---------
Signed-off-by: Nico Burns <nico@nicoburns.com >
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com >
Co-authored-by: Evan Almloff <evanalmloff@gmail.com >
2025-07-22 14:32:54 -07:00
Nico Burns
6524f55462
Upgrade Blitz to 0.1.0-rc.1 ( #4452 )
...
* Update to newer version of blitz_dom::Document trait
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Native: use DocumentConfig parameter
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Native: set event converter less often
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Native: count event handlers and skip events if none
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Upgrade to Blitz 0.1.0-rc.1
* Fix typo
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Fix native-headless example
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Use workspace deps for native-headless-in-bevy example
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Fix native-headless-in-bevy example (for blitz 0.1.0-rc.1)
* Fix native-dom-document doc tests
---------
Signed-off-by: Nico Burns <nico@nicoburns.com >
2025-07-22 13:08:36 -07:00
Nico Burns and Jonathan Kelley
9db593e303
Example of rendering a dioxus-native app to a texture ( #4365 )
...
* Create example of rendering a dioxus-native app to a texture
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Use dioxus-native-dom crate
Signed-off-by: Nico Burns <nico@nicoburns.com >
* bump lock
* cleanup cargo tomls
* rustc hash
---------
Signed-off-by: Nico Burns <nico@nicoburns.com >
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com >
2025-07-14 17:48:51 -07:00
Nico Burns
a4ebdcb69e
Native: Split dioxus-native-dom crate out of dioxus-native ( #4366 )
...
Signed-off-by: Nico Burns <nico@nicoburns.com >
2025-07-07 22:14:59 +01:00
Nico Burns
ddc94cf44c
Native: Accept winit::WindowAttributes as a config value ( #4364 )
2025-07-06 12:44:00 -04:00
Nico Burns
6eba7e8641
Upgrade to Blitz 0.1.0-alpha.4 ( #4335 )
...
* Use new replace_node_with name for replace_placeholder_with_nodes
* Setup tracing for wgpu-texture support
* Use asset macro in wgpu-texture example
* Use src attribute rather than data for canvas source
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Upgrade to blitz 0.1.0-alpha.4
Signed-off-by: Nico Burns <nico@nicoburns.com >
---------
Signed-off-by: Nico Burns <nico@nicoburns.com >
2025-06-30 16:26:01 -07:00
Nico Burns
f54e771247
Fix docs.rs build of dioxus-lib ( #4321 )
2025-06-25 06:39:59 -07:00
Nico Burns
6fcb496fd5
Upgrade Blitz to 0.1.0-alpha.3 and add wgpu-texture example ( #4286 )
...
* Use Blitz 0.1.0-alpha.3
* Add wgpu-texture example
* Native: Support configuring wgpu Features and Limits
2025-06-17 18:06:32 -07:00
Nico Burns
f865e3f559
Unify todomvc and todomvc-native examples ( #4228 )
...
Signed-off-by: Nico Burns <nico@nicoburns.com >
2025-05-31 14:21:46 +02:00
Nico Burns
51d7affc54
Upgrade to Blitz 0.1.0-alpha.2 ( #4227 )
...
* Update to use latest Blitz net traits
* Pass url to flush_style_attribute
* Add system-fonts feature to dioxus-native
* Native: cleanup log output
* Make dioxus-native work with Blitz simplified Document and Renderer traits
* Native: upgrade to event refactor
* Upgrade to blitz 0.1.0-alpha.2
* Add typo exception
Signed-off-by: Nico Burns <nico@nicoburns.com >
* Ensure root_id is set to <main> element
---------
Signed-off-by: Nico Burns <nico@nicoburns.com >
2025-05-31 13:52:19 +02:00
Nico Burns
f002cef2e1
Add "native" flag to examples ( #4050 )
2025-05-07 13:16:04 -07:00
Nico Burns
d82ae5cb16
dummy commit
2023-05-17 13:19:18 +01:00
Nico Burns
287227bf48
Fix clippy lints
2023-05-17 13:13:57 +01:00
Nico Burns
f4b828b949
Bump Taffy version in dioxus-tui
2023-05-17 13:12:00 +01:00
Nico Burns
2d40e0a261
Fix rink compilation with Taffy 0.3
2023-05-17 10:47:31 +01:00
Nico Burns
67d99b3a16
Add support for parsing grid value of Display property
2023-05-16 20:24:44 +01:00
Nico Burns
8010d9b4e3
Fix unused import
2023-05-16 19:15:29 +01:00
Nico Burns
c1f7600085
native-core: add support for CSS Grid properties
2023-05-16 19:10:11 +01:00
Nico Burns
2b0a86701e
Upgrade Taffy to v0.3.12]
2023-05-16 10:46:13 +01:00