Commit graph

408 commits

Author SHA1 Message Date
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 Murgaw
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
Benedikt Terhechte
6a705b6a0e add functionality 2023-07-04 14:47:45 +02:00
Benedikt Terhechte
0ec30345d4 add required dependency 2023-07-04 14:47:36 +02:00
Jonathan Kelley
3658698064 put webview in rc 2023-06-30 14:39:38 -07: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
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
Jon Kelley
dfa4d8d989
Merge pull request #1105 from Demonthos/workspace-dependancies
Workspace Dependancies
2023-06-27 10:17:12 -07:00
Evan Almloff
1e5c220736 expose wry background color option 2023-06-24 10:25:24 -07:00
Evan Almloff
c39f55920c fix CI tests 2023-06-19 14:57:58 -05:00
Evan Almloff
5f873511c5 use workspace dependancies 2023-06-19 14:29:11 -05:00
James Fletcher
6e5fbcff63
Increase the number of tokio channels for the query engine from 8 to 1000. (#1095) 2023-06-19 09:26:02 -05:00
Kaid
277436f673 Changed underlying directory attribute to webkitdirectory, fixed attribute parsing to properly toggle it. 2023-06-06 08:06:27 +08:00
Kaid
37a8fb5391 Add directory support for file input. 2023-06-05 16:47:04 +08:00
Miles Murgaw
d09c92beda
Add initial_value attribute & fix static special attribute handling (#1063)
* feat & fix: initial_value attribute, special attribute handling

* revision: rename js file

* fix: rustfmt

* fix: clippy

* fix: desktop not finding common.js

* fix: desktop failing to render

Missed a single ``this.SetAttributeInner`` as it was now ``setAttributeInner``
Javascript didn't even throw any errors about this smh

* revision: no need for match statement
2023-06-04 11:29:34 -05:00
Jon Kelley
b963452e4a
Merge pull request #1050 from DioxusLabs/remove-ctrl-r-shortcut
Revert Control R Shortcut
2023-05-29 15:00:20 +02:00
Jon Kelley
9e4d32a9c2
Merge pull request #1039 from Demonthos/fix-url-encoded-assets
Fix URL encoded desktop assets
2023-05-29 14:56:35 +02:00
Evan Almloff
0684f738b4 revert control r shortcut 2023-05-28 20:54:00 -05:00
Evan Almloff
553205dc74 Merge branch 'master' into fix-links-liveview 2023-05-24 07:38:04 -05:00
Evan Almloff
77275d40c1 Merge branch 'master' into fix-links-liveview 2023-05-24 07:36:16 -05:00
Evan Almloff
e03e0647ee fix url encoded desktop assets 2023-05-23 09:09:05 -05:00
Jon Kelley
379ea09b12
Merge pull request #894 from Demonthos/query-system
Create onmounted Event
2023-05-18 13:17:15 +02:00
Evan Almloff
ec5999b3b4 fix clippy 2023-05-05 15:45:38 -05:00
Evan Almloff
ae71e4ce33 don't render headless tests 2023-05-05 11:11:50 -05:00
Evan Almloff
19436e210f Merge branch 'upstream' into query-system 2023-05-05 11:09:25 -05:00
Evan Almloff
ea5e664364 fix formatting 2023-05-04 11:39:46 -05:00
Evan Almloff
1b199977d1 add rendering tests 2023-05-04 11:04:06 -05:00
Evan Almloff
70687748d3 fix events test 2023-04-27 18:36:28 -05:00
Evan Almloff
b090f662f4 Merge branch 'upstream' into mock-event-tests 2023-04-27 18:00:52 -05:00