Commit Graph
185 Commits
Author SHA1 Message Date
Jonathan Kelley 2181ccd80f Merge pull request #272 from DioxusLabs/jk/documet-everything
docs: add `deny(missing_docs)` is many more places
2022-02-26 17:46:30 -05:00
Jonathan Kelley 56517ef5de fix: merge conflicts 2022-02-26 17:35:23 -05:00
Jonathan Kelley 77631bff1f Merge branch 'master' into jk/documet-everything 2022-02-26 17:33:06 -05:00
Jonathan Kelley ccb3aa7977 feat: allow custom root directories 2022-02-23 15:11:57 -05:00
Jonathan Kelley c12bcd8150 fix: protocol works on in both cargo and bundle
This commit enables assets to be served locally through cargo run
or through a bundle strategy. We use cargo-bundle's bundle strategy.
This PR checks only for macOS targets.
2022-02-23 14:19:00 -05:00
Jonathan Kelley 24743e44e9 feat: canoncialize assets for macOS 2022-02-23 13:53:45 -05:00
Jonathan Kelley d19ae3ff56 feat: tweak debug tools to be customizable 2022-02-21 23:45:01 -05:00
Jonathan Kelley b2a4d387c7 docs: document all of desktop crate 2022-02-20 23:52:36 -05:00
Jonathan Kelley c5a022112b Merge pull request #267 from DioxusLabs/jk/heavy-compute
fix: ping window after virtualdom is ready
2022-02-20 17:44:05 -05:00
Jonathan Kelley 5954bba975 wip: disable reload in production 2022-02-19 22:36:55 -05:00
Jonathan Kelley 28716248c5 fix: ping window after virtualdom is ready 2022-02-19 17:34:44 -05:00
Jonathan Kelley 5a6d1c2a31 fix: compile for rust 1.57 2022-02-18 23:30:09 -05:00
Jonathan Kelley 7ce34ad97e fix: enable desktop devtol 2022-02-18 23:22:35 -05:00
Jonathan Kelley 3873cd1a60 fix: remove unused depds 2022-02-16 14:40:45 -05:00
Jonathan Kelley a6cbe233b7 fix: empty values on desktop 2022-02-15 13:38:06 -05: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
mrxiaozhuox e3e5f22bc7 feat: move default_icon to assets 2022-02-14 16:53:35 +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 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 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
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
mrxiaozhuox da0f596cde feat: commit code 2022-02-11 10:36:29 +08: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 ac4faec570 fix: remove broken example 2022-02-03 13:30:24 -05:00
Timothée 9e804036d4 Merge branch 'DioxusLabs:master' into tb/makefile_test_setup 2022-02-02 20:35:36 +01:00
t1m0t 12cfd79d51 commented out failing example 2022-02-01 22:04:21 +01:00
Jonathan Kelley 527434b9f9 feat: make the interpreter as its own crate 2022-02-01 15:44:08 -05:00