Commit Graph
212 Commits
Author SHA1 Message Date
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
zhangzhonglaiandealmloff 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
Jonathan Kelley dd4547d753 Feat: add global context functions
Add functions like window() and router() to
allow dynamically grabbing global contexts
without have to use the hook variants.

Deprecates the existing hook variants to
discourage folks from adding more noise
to their codebases.
2023-10-23 16:26:10 -04:00
Evan Almloff 33f0f0c172 fix clippy 2023-10-20 09:38:10 -05:00
Evan Almloff 378cbfabd9 fix desktop mounted event 2023-10-20 08:45:04 -05:00
Evan Almloff db56962eea basic example working with binary protocol on desktop 2023-10-17 14:31:58 -05:00
Evan Almloff 2645b85533 WIP desktop binary protocol 2023-10-15 09:23:01 -05:00