Commit Graph
488 Commits
Author SHA1 Message Date
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 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 60ee82942c restore the tray feature in the desktop crate (#1475) 2023-09-19 16:48:01 -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 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 9ae6b46e20 Forward Wry's devtools, and dox flags 2023-08-31 15:43:26 -05:00
Evan Almloff 7fb6dccc0c fix docs.rs build for desktop 2023-08-21 10:22:13 -05:00
Evan Almloff 24c626b306 fix clippy 2023-08-08 13:43:57 -07:00
Jonathan Kelley 39e89c1fac Bump crate versions, fix any publish errors 2023-07-31 18:49:54 -07:00
ealmloff d637ef187c fix all broken examples (#1248) 2023-07-25 14:30:08 -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 91d4207fa7 Merge branch 'master' into feature/use-shared-state-better-diagnostics 2023-07-20 10:51:10 -07:00
Andrea Frigido dccad58f1d Update license field following SPDX 2.1 license expression standard 2023-07-20 18:00:07 +01:00
Jonathan Kelley b1a4ac48d4 Move filedialog code into cfg-ed out folder 2023-07-19 13:52:27 -07:00
Jonathan Kelley 4e278fead5 rustfmt 2023-07-18 18:23:55 -07:00
niedzwiedzw f159779af4 make thiserror a workspace dependency everywhere else 2023-07-11 22:54:24 +02:00
Kaid e39d8708fa Changed directory to webkitdirectory in bool_attrs definitions. 2023-07-10 17:19:11 +08:00
Marc Espín 32d4472bfd fix: Remove duplicated doc links and improved some descriptions (#1167) 2023-07-08 11:04:27 -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 e5014cd754 Merge branch 'master' into jk/fix-mobile-touch-interaction 2023-07-05 15:33:50 -07:00
Jonathan Kelley b5ccb56038 Fix clippy 2023-07-05 15:33:25 -07:00
Jonathan Kelley 60a873a49c leave hotreload 2023-07-05 15:20:54 -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 2ce8ded74d FIx desktop for android 2023-07-05 12:49:41 -07:00
Jonathan Kelley 2ad85c9b28 Add a custom index.html for the viewport stuff 2023-07-05 12:06:24 -07:00
Miles Murgaw a5aa7db3da fix: trigger it now? 2023-07-05 12:52:54 -04:00