Jonathan Kelley
e9e7219b4b
Add os-webview feature to wry to fix builds
2024-01-05 23:25:15 -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
38216fa272
Make the tokio runtime optional
2024-01-04 19:09:59 -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
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
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
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
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
c9612a085e
fix liveview mounted event
2023-10-19 16:40:08 -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
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
f20b740abe
switch liveview to sledgehammer
2023-10-09 14:28:12 -05: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
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
Miles Murgaw and Evan Almloff
6210c6fefe
Convert use_eval to use send/recv system ( #1080 )
...
* progress: reworked
don't run this, it'll kill your web browser
* feat: use_eval but with comms
* revision: async recv & recv_sync
* revision: use_eval
* revision: standard eval interface
* revision: use serde_json::Value instead of JsValue
* revision: docs
* revision: error message
* create: desktop eval (wip)
* fix: desktop eval
* revision: wrap use_eval in Rc<RefCell<_>>
* fix: fmt, clippy
* fix: desktop tests
* revision: change to channel system
- fixes clippy errors
- fixes playwright tests
* fix: tests
* fix: eval example
* fix: fmt
* fix: tests, desktop stuff
* fix: tests
* feat: drop handler
* fix: tests
* fix: rustfmt
* revision: web promise/callback system
* fix: recv error
* revision: IntoFuture, functionation
* fix: ci
* revision: playwright web
* remove: unescessary code
* remove dioxus-html from public examples
* prototype-patch
* fix web eval
* fix: rustfmt
* fix: CI
* make use_eval more efficient
* implement eval for liveview as well
* fix playwright tests
* fix clippy
* more clippy fixes
* fix clippy
* fix stack overflow
* fix desktop mock
* fix clippy
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com >
2023-07-21 17:36:25 -05:00
Jonathan Kelley
3658698064
put webview in rc
2023-06-30 14:39:38 -07:00
Jonathan Kelley
6512c153dd
Fix merge errors
2023-06-30 12:48:25 -07:00
Jon Kelley
a0b89de4ca
Merge pull request #1057 from ndarilek/master
...
Add richer API for describing global shortcut accelerators.
2023-06-30 12:27:00 -07:00
Jon Kelley
014bdef744
Merge pull request #945 from ProfXwing/return-context
...
make new_window return desktop context instead of webview
2023-06-30 12:10:03 -07:00
Nolan Darilek
c84e028bd6
Add richer API for describing global shortcut accelerators.
2023-06-30 08:10:48 -05:00
Andrew Collins
d6b9d8f5b6
remove rc around webview and add type for desktopcontext
2023-04-11 16:45:00 -04:00
Andrew Collins
0e1f015b78
turn desktop context into Rc<DesktopContext>
2023-04-11 11:03:46 -04:00
Andrew Collins
a5c46b0e5c
new window returns desktop context
2023-04-08 11:23:48 -04:00
Evan Almloff
fa9f0d0f6c
Generalize Query system for use in use_eval and node querys
2023-03-23 15:19:00 -05:00
Evan Almloff
7636c046fa
implement on mounted for desktop
2023-03-20 16:10:34 -05:00
Nolan Darilek
8657b47401
Add function to remove all global shortcuts.
2023-03-09 11:05:41 -06:00
Evan Almloff
cf2a79c173
create global shortcut handler for dioxus desktop
2023-03-01 13:23:15 -06:00
Evan Almloff
773a87d701
fix conditional compilation for hot reloading
2023-02-07 08:57:29 -06:00
Evan Almloff
b6c7d44a27
fix clippy
2023-01-27 20:35:46 -06:00
Jon Kelley
1b597f43d1
Merge pull request #754 from Demonthos/desktop-hot-reload
...
Implement hot reloading for Desktop, TUI, and Liveview
2023-01-23 09:48:54 -10:00