Jonathan Kelley
0cbcef735f
Pre-release 0.6.0-alpha.0 ( #2755 )
...
* CI: add docsrs to ci
* add env vars
* no need for tokio things
* whoops, wrong rust nightly
* add swc
* bump crate versions to 0.6.0-alpha.0
* hoist up warnings and shuffle cargo.toml
* update cargos and disable warnings from ci
* attempt fix of aws
* attempt disabling aws_lc_sys globally
* pull in lc-sys
* add fips feature to fix docs
* turn on features for aws-lc-sys on cargo-doc-all
* pass along more args
* fix cfg docs
* fix: flakey gen box test
* fix: doc_cfg in static gen
* dont include readme
* fix error on static gen
* remove random line
* temporarily disable warnings
* simplify axum desktop so it doesnt count as a lib
* fix binstall link
* bump locks
* lock fixes
* revert axum desktop
* dont publish some crates
2024-07-31 22:37:39 -05:00
Evan Almloff
176e67e5b7
switch to a Document trait and introduce Script/Head/Style/Meta components ( #2635 )
...
* switch to a Document trait and introduce Script/Head/Style/Meta components
* Fix desktop title
* Insert special elements into the head during the inital SSR render
* Make all head component attributes optional
* hydrate head elements
* improve the server streaming head warning
* Document fullstack head hydration approach
* deduplicate head elements by href
* move Link into head::Link
* document head components
* add meta and title examples
* Fix a few doc examples
* fix formatting
* Add title to playwright tests
* serde is optional on web, but it is enabled by hydrate
* remove leftover console log
2024-07-17 20:54:03 -05:00
Evan Almloff
72ef58b95e
Create use_muda_event_handler hook ( #2367 )
...
* create use_muda_event_handler hook
* fix use_muda_event_handler re-export
2024-04-25 13:32:34 -04:00
Jonathan Kelley
4bb807a3ce
Reduce churn in window behavior
2024-03-18 22:38:33 -07:00
Evan Almloff and Jonathan Kelley
d442dac168
Add a menu bar option to the desktop config ( #2107 )
...
* add an option to set a custom menu in the desktop config
* Fix rename issue
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com >
2024-03-18 22:36:47 -07:00
Jonathan Kelley
94b17cc8ca
Fix non tokio builds for desktop
2024-01-18 04:07:28 -08:00
Jonathan Kelley
0a612657e6
Provide context on desktop again
2024-01-17 19:53:34 -08:00
Evan Almloff
25ad3da659
remove some generics from LaunchBuilder
2024-01-17 20:15:16 -06:00
Jonathan Kelley
bb6aa9e792
Add back ondestroy hook
2024-01-15 14:27:20 -08:00
Jonathan Kelley
6134a2ce24
Clean up a number of examples
2024-01-15 13:06:05 -08:00
Jonathan Kelley
8c94f0bc4a
get compiling
2024-01-11 16:51:18 -08:00
Evan Almloff
e004c1722f
set the required environment variable for manganis support
2024-01-10 11:19:51 -06:00
Jonathan Kelley
94949932df
Tweak menubar export
2024-01-05 23:52:37 -08:00
Jonathan Kelley
0ac8955bab
Fix android/ios muda cfg
2024-01-05 23:37:10 -08:00
Jonathan Kelley
20135368b8
Put asset collection behind a feature flag
2024-01-05 23:14:03 -08:00
Jonathan Kelley
8323e45970
Call handlers from context of a runtime and scope
2024-01-05 17:35:37 -08:00
Jonathan Kelley
bc857bf339
Make clippy happy
2024-01-05 12:54:39 -08:00
Jonathan Kelley
8e9984b4b5
Fix merge conflicts with new event system
2024-01-05 12:28:33 -08:00
Jonathan Kelley
47306bf89b
Merge branch 'master' into jk/rework-desktop-crate
2024-01-05 12:22:59 -08:00
Jonathan Kelley
785b61a05e
Merge branch 'master' into intigrate-collect-assets
2024-01-05 12:13:31 -08:00
Jonathan Kelley
38216fa272
Make the tokio runtime optional
2024-01-04 19:09:59 -08:00
Jonathan Kelley
73d5069a20
Move launch functions into their own file
2024-01-04 18:31:22 -08:00
Jonathan Kelley
7444796a85
Simplify asset code a bit
2024-01-04 18:01:13 -08:00
Jonathan Kelley
2171263eda
More cleanup work
2024-01-04 17:21:33 -08:00
Evan Almloff
0388a5c1f4
fix formatting
2024-01-04 19:21:06 -06:00
Evan Almloff
dccfba12d8
Merge branch 'master' into events-2
2024-01-04 19:02:00 -06:00
Jonathan Kelley
ec3eaa6b26
Add ID to filedrop handler
2024-01-04 16:48:53 -08:00
Evan Almloff
b1de7d850c
Merge branch 'master' into intigrate-collect-assets
2024-01-04 18:44:29 -06:00
Jonathan Kelley
62a9583fff
Fix merge conflict
2024-01-04 16:44:16 -08:00
Jonathan Kelley
1518c223f6
Don't drop tokio runtime immediately
2024-01-04 16:38:49 -08:00
Jonathan Kelley
9a6d745339
Refactor desktop into App type
2024-01-04 16:12:37 -08:00
Evan Almloff
f6acaba061
fix compilation
2024-01-04 17:04:56 -06:00
Jonathan Kelley
799be5e4e3
Merge branch 'master' into jk/global-window-fun
2024-01-04 10:22:10 -08:00
Jonathan Kelley
a2f44be2a2
Merge branch 'master' into binary-protocal
2024-01-04 10:17:10 -08:00
Jonathan Kelley
601627d46e
Merge branch 'master' into master
2024-01-04 09:57:26 -08:00
Jonathan Kelley
73637987f3
Merge pull request #1719 from willcrichton/dev
...
Add custom asset handler to desktop config
2024-01-04 09:56:12 -08:00
Evan Almloff
7649ad84a1
allow asset handlers to read the whole request
2023-12-17 17:14:49 -06:00
Will Crichton
1002bc955b
Replace AssetHandlerId with slab and usize
2023-12-16 21:44:39 -08:00
Will Crichton
d5ec22a26f
Add custom asynchronous asset handlers
2023-12-15 11:16:25 -08:00
Evan Almloff
66e2c02bf7
Merge branch 'master' into intigrate-collect-assets
2023-12-08 08:49:17 -06:00
Evan Almloff
0e3fd225a8
Merge branch 'master' into binary-protocal
2023-12-08 08:44:04 -06:00
Pascal
29f9d002e2
expose dioxus_desktop::build_default_menu_bar()
2023-12-07 19:03:37 +01:00
Pascal
906c466e78
Revert "improved documentation and refactored naming to be more self-explanatory"
...
This reverts commit adfbb6c380 .
2023-12-07 17:11:56 +01:00
Pascal
adfbb6c380
improved documentation and refactored naming to be more self-explanatory
2023-12-07 16:36:20 +01:00
zhangzhonglai and ealmloff
c8a9a7b1d5
docs(desktop): fix wrong example code ( #1678 )
...
* docs(desktop): fix wrong example code
* stop ignoring doctests in dioxus desktop
---------
Co-authored-by: ealmloff <evanalmloff@gmail.com >
2023-12-01 07:52:20 -06:00
ealmloff
856fb1874e
Merge branch 'master' into binary-protocal
2023-10-31 13:40:31 -05:00
ealmloff
c84a13f164
Merge branch 'master' into bump-wry
2023-10-31 13:40:03 -05:00
ealmloff
5bb06b9719
Merge branch 'master' into events-2
2023-10-30 15:37:29 -05:00
HKalbasi
720bfdf231
Make window invisible until the first render ( #1588 )
2023-10-29 13:09:07 -05:00
Evan Almloff
9de56c00f3
fix multiple types of desktop/liveview listeners in the same app
2023-10-24 13:09:10 -05:00