Commit graph

574 commits

Author SHA1 Message Date
Jonathan Kelley
b5a125b963
Refactor IPC a bit 2024-01-04 20:27:04 -08:00
Jonathan Kelley
4adc912189
Collapse objects into single shared object 2024-01-04 20:17:38 -08:00
Jonathan Kelley
2e9737ef57
Clean up and document the protocol handler 2024-01-04 19:52:49 -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
060490892a
Clean up desktop even more 2024-01-04 18:19:28 -08:00
Jonathan Kelley
7444796a85
Simplify asset code a bit 2024-01-04 18:01:13 -08:00
Jonathan Kelley
fef7b83b79
Rename editqueue type 2024-01-04 17:35:58 -08:00
Jonathan Kelley
d47e494786
More cleaning up of the desktop crate 2024-01-04 17:28:54 -08:00
Jonathan Kelley
6e08703c6c
Fix compile issue 2024-01-04 17:21:38 -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
0b40878fce fix cargo check 2024-01-04 19:11:32 -06:00
Evan Almloff
4f654d61b7 fix cargo check 2024-01-04 19:05:36 -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
d38ce349b1
Tiny bit of cleanups 2024-01-04 16:36:19 -08:00
Jonathan Kelley
436635386d
Get compiling 2024-01-04 16:28:15 -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
1473473801
Merge branch 'master' into bump-wry 2024-01-04 10:05:34 -08:00
Jonathan Kelley
601627d46e
Merge branch 'master' into master 2024-01-04 09:57:26 -08:00
Jonathan Kelley
318cae7bf8
Merge pull request #1727 from ealmloff/video-streaming
Add a video streaming example
2024-01-04 09:56:23 -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
ealmloff
937be8b752
fix the on double click event and depreciate ondblclick (#1743) 2024-01-03 14:02:08 -06:00
ealmloff
1f58530b43
Merge branch 'DioxusLabs:master' into bump-wry 2023-12-31 17:13:42 -06:00
Evan Almloff
dfb118e06c make the video streaming async 2023-12-18 09:34:30 -06:00
Evan Almloff
7649ad84a1 allow asset handlers to read the whole request 2023-12-17 17:14:49 -06:00
Evan Almloff
a647ce2f36 remove headless tests for CI 2023-12-17 11:30:17 -06:00
Will Crichton
1002bc955b Replace AssetHandlerId with slab and usize 2023-12-16 21:44:39 -08:00
Will Crichton
7bede0be59 Remove unused imports 2023-12-15 11:30:19 -08:00
Will Crichton
d5ec22a26f Add custom asynchronous asset handlers 2023-12-15 11:16:25 -08:00
Evan Almloff
3afb313110 fix formatting 2023-12-11 14:00:45 -06:00
Evan Almloff
8984482b63 fix headless windows 2023-12-08 15:14:32 -06: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
cbfb80d5c6 fixup: improved documentation and refactored naming to be more self-explanatory
Note:
This is the actual correct commit. The previous one contained files touched by cargo fmt which are unrelated. Sorry for that.
2023-12-07 17:23:14 +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
Evan Almloff
7d2bbda53d move gnu warning to build script 2023-12-07 07:10:53 -06:00
Jonathan Kelley
ea15c6a2eb
Merge branch 'master' into cli-config-library 2023-12-06 21:30:14 -08:00
Pascal
e4d60c8dfc add default menu bar in dioxus-desktop to resolve #1691
fixup naming and expose disable_default_menu_bar with builder function
2023-12-06 23:00:01 +01:00
Evan Almloff
71f7481ded use requestAnimationFrame on desktop 2023-12-04 20:45:26 -06:00
Evan Almloff
a4600294c5 allow users to disable the warning in a feature 2023-12-01 22:17:51 -06:00
Evan Almloff
0a3b794a1c add a warning about wry gnu support to dioxus desktop 2023-12-01 15:56:14 -06:00
zhangzhonglai
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
Evan Almloff
15984b78db use the name in the dioxus.toml in desktop if no name was set in the desktop config 2023-11-14 15:53:11 -06:00
Evan Almloff
5fdff4b7ed bump wry to 0.34 2023-10-31 13:49:29 -05: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
1fe8e94063
Deprecate use_window 2023-10-23 16:30:39 -04: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
b14aaca7b2 fix desktop renderer on windows 2023-10-20 13:05:13 -05:00
Evan Almloff
33f0f0c172 fix clippy 2023-10-20 09:38:10 -05:00
Evan Almloff
1d664c616e restore desktop/liveview minification 2023-10-20 09:18:16 -05:00
Evan Almloff
2404bfeeb3 fix liveview element 2023-10-20 09:06:19 -05:00
Evan Almloff
378cbfabd9 fix desktop mounted event 2023-10-20 08:45:04 -05:00
Evan Almloff
c9612a085e fix liveview mounted event 2023-10-19 16:40:08 -05:00
Evan Almloff
06ca8c53d8 gitignore minified.js 2023-10-17 14:47:11 -05:00
Evan Almloff
a4fbeeb932 add stress test for desktop 2023-10-17 14:45:37 -05:00
Evan Almloff
c807808231 remove logging 2023-10-17 14:32:31 -05:00
Evan Almloff
db56962eea basic example working with binary protocol on desktop 2023-10-17 14:31:58 -05:00
Evan Almloff
ce86aabf26 fix clippy 2023-10-17 13:02:51 -05:00
Evan Almloff
9d19f4d204 fix clippy 2023-10-16 10:44:08 -05:00
Evan Almloff
2645b85533 WIP desktop binary protocol 2023-10-15 09:23:01 -05:00
Evan Almloff
cb148cc881 Merge branch 'bump-wry' into binary-protocal 2023-10-13 09:45:11 -05:00
Evan Almloff
3063d83406 start migrating desktop to sledgehammer 2023-10-13 09:21:57 -05:00
Evan Almloff
426a342700 add logs when the desktop or fullstack application is collecting assets 2023-10-10 10:26:16 -05:00
Evan Almloff
f20b740abe switch liveview to sledgehammer 2023-10-09 14:28:12 -05:00
ealmloff
072ca3529b
Merge branch 'DioxusLabs:master' into events-2 2023-10-02 19:48:52 -05:00
Evan Almloff
e5b15f7c31 fix tracing in desktop 2023-09-26 09:07:11 -05:00
Evan Almloff
6fab8963e6 use tracing in new logs 2023-09-22 08:25:38 -05:00
Evan Almloff
e2f50cc689 Merge branch 'master' into intigrate-collect-assets 2023-09-22 07:56:00 -05:00
ealmloff
60ee82942c
restore the tray feature in the desktop crate (#1475) 2023-09-19 16:48:01 -05:00
Evan Almloff
219c068283 Merge branch 'master' into events-2 2023-09-17 20:01:21 -05:00
Evan Almloff
f976e08f71 Merge branch 'master' into intigrate-collect-assets 2023-09-17 19:40:14 -05:00
Evan Almloff
847801908f Merge branch 'master' into add-file-data-drag-event 2023-09-17 18:56:59 -05:00
Deep Patel
8b411b8c6d
Update Cargo.toml (#1466)
Remove duplicate `dox` feature that resulted in build fail
2023-09-17 14:18:23 -05:00
Jonathan Kelley
e4620250bd
Merge branch 'master' into fix-docs-rs-desktop-build 2023-09-16 11:54:08 -07:00
marc2332
7f8c963cd9
fix: Update doc links from v3 to v4 2023-09-16 19:03:27 +02:00
ealmloff
ea69811e70
Merge branch 'master' into bump-wry 2023-09-14 12:55:54 -05:00
Evan Almloff
c55c17cb81 switch to tracing for logging 2023-09-06 17:47:33 -05:00
Evan Almloff
ffb5de91d1 Merge branch 'master' into intigrate-collect-assets 2023-09-05 13:45:37 -05:00
ealmloff
9e623d52cb
Merge branch 'master' into events-2 2023-09-04 18:52:48 -05:00
Evan Almloff
e86c1647d8 fix clippy 2023-09-04 08:33:56 -05:00
Evan Almloff
d1575b40d1 fix mobile build 2023-09-04 08:24:38 -05:00
Evan Almloff
885580f3af update to wry 0.31.0 2023-09-02 18:24:42 -05:00
Evan Almloff
df222c121a port examples to new events 2023-09-01 15:38:55 -05:00
Evan Almloff
9ae6b46e20 Forward Wry's devtools, and dox flags 2023-08-31 15:43:26 -05:00
Evan Almloff
8ba1c05a93 fix desktop events 2023-08-28 16:37:19 -05:00
Evan Almloff
62556b2c34 fix desktop and liveview compilation 2023-08-28 12:43:21 -05:00