Commit Graph
82 Commits
Author SHA1 Message Date
Jonathan Kelley e923c6462c Resume window position/size, watch cargo/dioxus tomls, fix css reverting during hotreloading, allow menubar events to be captured from within dioxus (#2116)
* Fix: css hotreloading being invalidated, watcher not watching cargo/dioxus tomls, add feature to restore window state

* Make clappy hippier

* remove console log

* use simpler css invalidator

* Less flash, remove log on web hotreload

* Fix floating window managed behavior on mac

* clippy...
2024-03-20 09:16:18 -07:00
Evan AlmloffandJonathan 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 f9f902732b Fix: update wry, tao, to fix android issues 2024-03-15 20:12:13 -07:00
Jonathan Kelley 7d11984a0e Chore: bump wry + tao 2024-03-14 23:11:25 -07:00
Jonathan Kelley bb8b4dc2fb FIx:
- asset hotreloading for desktop,
- asset dir for dxserve on desktop,
- extend features with platform
2024-03-13 17:15:49 -07:00
Jonathan Kelley 4b2e426958 clippy, and don't hash invisible files for ts generation 2024-03-05 22:38:38 -08:00
Jonathan Kelley 78d16536a7 wip: native file handles when dropping 🎉 2024-03-05 13:57:28 -08:00
Jonathan Kelley bdbae8ccb0 Update examples, add css 2024-02-14 12:33:07 -08:00
Jonathan Kelley 26378631e0 hide non-public type 2024-02-04 23:20:20 -08:00
Jonathan Kelley eff1dd6c90 Merge branch 'master' into breaking 2024-01-30 16:20:19 -08:00
Fredrik Söderström 47d15fc8a1 fix: initialize linux wry webview
In the wry 0.32 examples the linux webviews are initialized in a
different way to render properly using
tao::platform::unix::WindowExtUnix. Tested with Gnome 45.3 and Wayland.
2024-01-25 21:28:39 +01:00
Jonathan Kelley 0a612657e6 Provide context on desktop again 2024-01-17 19:53:34 -08:00
Jonathan Kelley 759274143c Merge branch 'master' into jk/breaking-merged 2024-01-11 17:38:31 -08:00
Jonathan Kelley 8c94f0bc4a get compiling 2024-01-11 16:51:18 -08:00
Jonathan Kelley 2ae3241cc0 Merge branch 'master' into jk/breaking-merged 2024-01-11 16:04:36 -08:00
Jonathan Kelley 08c522d5b3 Fix muda segfault 2024-01-11 14:50:21 -08:00
Evan Almloff 194c9d43e3 fix merge 2024-01-08 14:51:35 -06:00
Evan Almloff 56798b3d1c Merge branch 'master' into add-file-data-drag-event 2024-01-08 14:16:09 -06:00
Jonathan Kelley 729bfa3be1 Fix eval provider 2024-01-06 11:34:26 -08:00
Jonathan Kelley 9efeb51873 Fix windows build, again 2024-01-06 00:38:32 -08:00
Jonathan Kelley d7c6aa4577 fix builds for windows 2024-01-06 00:36:31 -08:00
Jonathan Kelley 0ac8955bab Fix android/ios muda cfg 2024-01-05 23:37:10 -08:00
Jonathan Kelley e9e7219b4b Add os-webview feature to wry to fix builds 2024-01-05 23:25:15 -08:00
Jonathan Kelley 2e0cded871 Make clippy happy 2024-01-05 23:16:30 -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 cbed09b95c Clean up shared context in desktop 2024-01-05 12:37:47 -08:00
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 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 2171263eda More cleanup work 2024-01-04 17:21:33 -08: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 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 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
Evan Almloff 7649ad84a1 allow asset handlers to read the whole request 2023-12-17 17:14:49 -06: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
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