Commit Graph
185 Commits
Author SHA1 Message Date
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
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 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
Evan Almloff 219c068283 Merge branch 'master' into events-2 2023-09-17 20:01:21 -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 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 8ba1c05a93 fix desktop events 2023-08-28 16:37:19 -05:00
Evan Almloff 299b123446 trait based event system 2023-08-25 17:02:48 -05:00
Miles MurgawandEvan 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 4abf996b86 fix clippy hinting around trait 2023-07-06 10:57:52 -07:00
Jonathan Kelley d56fabfe9a Merge branch 'master' into feat/window_close_behaviour 2023-07-06 10:50:27 -07:00
Jonathan Kelley b5ccb56038 Fix clippy 2023-07-05 15:33:25 -07:00
Jonathan Kelley ea3b199eb2 Android build working too 2023-07-05 14:35:08 -07:00
Jonathan Kelley 5506c568c0 move to newer wry 2023-07-05 13:44:24 -07:00
Jonathan Kelley 2ad85c9b28 Add a custom index.html for the viewport stuff 2023-07-05 12:06:24 -07:00
Benedikt Terhechte 6a705b6a0e add functionality 2023-07-04 14:47:45 +02:00
Jonathan Kelley 4f22fe3ca8 Stub out files and RFD on ios 2023-06-30 13:59:48 -07:00
Jonathan Kelley 6512c153dd Fix merge errors 2023-06-30 12:48:25 -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
Evan Almloff e1f02f8135 Merge branch 'upstream' into query-system 2023-04-26 18:00:39 -05:00
Evan Almloff d749fff11b fix double diologs on desktop renderer 2023-04-25 14:29:35 -05:00
Evan Almloff c1e2592299 implement file events on desktop 2023-04-25 09:26:56 -05:00
Evan Almloff 223c7efce2 Merge branch 'upstream' into query-system 2023-04-18 10:33:40 -05:00
ealmloff 894246a04a Merge branch 'master' into return-context 2023-04-18 08:53:01 -05:00
Andrew Collins d6b9d8f5b6 remove rc around webview and add type for desktopcontext 2023-04-11 16:45:00 -04:00
Evan Almloff 6653d48614 fix clippy lint in desktop 2023-04-11 11:34:33 -05:00