Commit graph

779 commits

Author SHA1 Message Date
Dave Rolsky
06ea624eec Make all packages which require futures-channel ask for the same version
If they aren't the same then Cargo cannot resolve a working version for some
reason.
2022-02-15 10:27:11 -06:00
Jonathan Kelley
345dfd4214
Merge pull request #243 from asaaki/update/wry-0-13
Update to wry 0.13; support IPC, devtool, and feature flags
2022-02-15 11:23:16 -05:00
Jonathan Kelley
e43a8a9b6a feat: remove old async channel for new channel in ric raf web code 2022-02-15 11:03:13 -05:00
Jonathan Kelley
5a908d1e8b fix: remove console log 2022-02-14 12:23:30 -05:00
Jonathan Kelley
8ca505b65b feat: better link 2022-02-14 09:30:08 -05:00
mrxiaozhuox
e3e5f22bc7 feat: move default_icon to assets 2022-02-14 16:53:35 +08:00
mrxiaozhuox
dd9f0f362e fix: statement problem 2022-02-14 16:52:16 +08:00
Christoph Grabo
932ad01644
Make clippy happy 2022-02-13 20:57:30 +01:00
Christoph Grabo
934d5998db
Support maximize toggle and devtool 2022-02-13 20:34:27 +01:00
Christoph Grabo
2828f45e12
Clean up desktop's lib.rs 2022-02-13 20:34:27 +01:00
Christoph Grabo
e7a0e5f1d9
Extract user window events into module 2022-02-13 20:34:27 +01:00
Christoph Grabo
cf543ab1df
Extract controller into module 2022-02-13 20:34:27 +01:00
Christoph Grabo
73ce79bd2a
Extract protocol hander into module 2022-02-13 20:34:26 +01:00
Christoph Grabo
594a794f05
Switch from RPC to IPC 2022-02-13 20:34:26 +01:00
Christoph Grabo
afa5a301c7
Fix typo 2022-02-13 20:34:26 +01:00
Christoph Grabo
a5bf25ce18
Adjust visibility 2022-02-13 20:34:21 +01:00
Christoph Grabo
c40d225d7d
Fix typo 2022-02-13 20:32:04 +01:00
Christoph Grabo
ee2b869e99
Add optional feature flags of wry
Check wry's documentation for each.
Some of them are platform dependent or
have platform dependent effects.
(mostly MacOS and Linux)
2022-02-13 20:30:10 +01:00
Christoph Grabo
c502535724
Update dependencies
Specifically set wry to 0.13;
this has breaking changes (notably: RPC -> IPC).
2022-02-13 20:30:10 +01:00
Jonathan Kelley
ab99bc6c8d chore: comment out image generator when not in use 2022-02-13 12:35:07 -05:00
Jonathan Kelley
64f8e58c04
Merge pull request #242 from oovm/desktop-icon
Add default desktop icon
2022-02-13 12:27:38 -05:00
Aster
21b436b7bf Remove image at runtime 2022-02-13 01:36:51 +08:00
Aster
f6b30d26b9 Add default desktop icon 2022-02-13 00:35:02 +08:00
Aster
78ac592c0a Custom for icon 2022-02-13 00:34:45 +08:00
Jonathan Kelley
f130e662be
Merge pull request #241 from oovm/interpreter 2022-02-12 09:51:36 -05:00
Jonathan Kelley
2591ef2a54
Merge pull request #236 from asaaki/cleanup-index-html 2022-02-12 09:44:23 -05:00
Aster
aad055cd84 Fix typo WryProtocol 2022-02-12 21:46:12 +08:00
Aster
2d1371167f Use === when rhs is string 2022-02-12 21:22:05 +08:00
Christoph Grabo
b64574810d
Clean up desktop's index.html
Initially I wanted to delete only the duplicated `<html>` opening tag,
but then decided to make it a fully valid HTML document.

Passes https://validator.w3.org/nu/#textarea check.
2022-02-12 01:43:36 +01:00
Benjamin Lemelin
f8c78f8ca9 Transparent window means transparent WebView 2022-02-11 14:47:29 -05:00
t1m0t
eb39f360e3 fix some uncaught error during runtime test 2022-02-11 17:59:59 +01:00
Jonathan Kelley
f9a50163c0
Merge pull request #227 from mrxiaozhuox/master
Add more Desktop Window Api
2022-02-10 22:48:31 -05:00
mrxiaozhuox
da0f596cde feat: commit code 2022-02-11 10:36:29 +08:00
Jonathan Kelley
4a3680ee1b chore: remove all warnings 2022-02-10 21:00:15 -05:00
mrxiaozhuox
30bb92f09a fix: change method name 2022-02-11 09:46:23 +08:00
mrxiaozhuox
c9fa19d009 fix: ci problem 2022-02-11 09:10:27 +08:00
mrxiaozhuox
62f8e71f7f fix: borderless example 2022-02-11 09:05:32 +08:00
mrxiaozhuox
332ec30954 fix: change method name 2022-02-10 23:38:57 +08:00
mrxiaozhuox
81ea7a1428 feat: add window api 2022-02-10 23:33:02 +08:00
mrxiaozhuox
01435d6aff feat: add window api 2022-02-10 16:59:28 +08:00
mrxiaozhuox
f28fb7165a feat: add window api 2022-02-10 13:47:45 +08:00
mrxiaozhuox
6eaad850ee feat: add window title api 2022-02-10 12:35:17 +08:00
Jonathan Kelley
82b0e6c8d6
Merge pull request #220 from DioxusLabs/jk/outerlinking
fix: always prevent default on `A` tags in desktop
2022-02-08 15:10:36 -05:00
Jonathan Kelley
4818c44c7c fix: also prevent default on buttons 2022-02-08 00:43:05 -05:00
Jonathan Kelley
fc5dd8f562 fix: always prevent default on a tags 2022-02-08 00:40:48 -05:00
Jonathan Kelley
95a6abbfc5 fix: class attributes don't adhere to es6 spec 2022-02-08 00:35:06 -05:00
Jonathan Kelley
4f46089fce feat: use serde-wasm-bindgen crate for speedup 2022-02-07 10:17:16 -05:00
Jonathan Kelley
15b074f60b fix: type 2022-02-05 20:41:15 -05:00
Jonathan Kelley
4cc3369241 fix: add a check for dangerousinnerhtml in interpreter 2022-02-05 20:16:52 -05:00
Jonathan Kelley
28e9e4373e fix: tweak js code 2022-02-04 18:11:58 -05:00