Evan Almloff
51b87dafcc
derive serde for Errors and Location, and add error handler
2022-05-31 12:03:04 -05:00
YuKun Liu
77a92a1cf6
feat: use_window add print
& devtool
2022-05-11 14:56:37 +08:00
YuKun Liu
4f55fcb84a
feat: use_window add set_zoom_level
2022-05-11 14:49:46 +08:00
YuKun Liu
8aadeff9d2
fix: add eval script failed log
2022-05-11 14:29:31 +08:00
YuKun Liu
b7e9dca87c
fix: add eval script failed log
2022-05-11 14:09:31 +08:00
Jonathan Kelley
8ab1c4d0de
feat: upgrade wry
2022-05-05 16:29:24 -04:00
Jonathan Kelley
3febd42588
Release dioxus-core v0.2.1, dioxus-core-macro v0.2.1, dioxus-html v0.2.1, dioxus-interpreter-js v0.2.1, dioxus-desktop v0.2.3, dioxus-hooks v0.2.1, dioxus-liveview v0.1.0, dioxus-native-core v0.2.0, dioxus-native-core-macro v0.2.0, dioxus-router v0.2.3, dioxus-ssr v0.2.1, dioxus-tui v0.2.2, dioxus-web v0.2.1, fermi v0.2.1, dioxus v0.2.4
2022-05-02 23:57:20 -04:00
Benjamin Lemelin
0105218db9
Removed alerts when right click on release.
2022-04-21 15:44:43 -04:00
Jonathan Kelley
fd2a5f5a6b
fmt
2022-04-16 17:02:57 -04:00
Jonathan Kelley
049976d23a
feat: allow customizing the index and head
2022-04-16 16:53:47 -04:00
Jon Kelley
56ea9e42fa
Merge pull request #318 from overlisted/eval-stuff
...
Eval stuff
2022-04-04 13:01:35 -04:00
Jonathan Kelley
d50e86492e
fix: instantly resolving futures should not use popping
2022-03-24 11:15:07 -04:00
Ilya Maximov
d31edfa7d7
rustfmt when the
2022-03-21 22:02:04 +01:00
Ilya Maximov
6e8fdc1e4d
make the closure dyn
2022-03-21 21:57:29 +01:00
Ilya Maximov
c194fa8372
remove panics from desktop docs
...
`WebView::evaluate_script()` always returns `Ok()`
2022-03-19 03:13:34 +01:00
Ilya Maximov
b4a5fe9845
use ToString
2022-03-19 02:57:39 +01:00
Ilya Maximov
5cbf2698fd
add use_eval()
to desktop and web
2022-03-17 23:47:11 +01:00
Ilya Maximov
08fa2382b0
add eval to DesktopContext
2022-03-17 22:55:26 +01:00
Jonathan Kelley
841ad91fe1
fix: dblclick instead of doubleclick
2022-03-11 10:49:38 -05:00
Jonathan Kelley
e7505188d6
release: make a new 0.2.0 release of Dioxus
2022-03-09 14:24:05 -05:00
Jonathan Kelley
0f87ebb277
docs: even more docs
2022-03-06 20:37:57 -05:00
Jonathan Kelley
dbcd91e32f
chore: switch to mutex
2022-03-04 14:28:21 -05:00
Jonathan Kelley
f2979cb12a
feat: apply local router changes
2022-03-04 13:16:37 -05:00
Jonathan Kelley
3928856a9b
fix: desktop edits should not be applied in reverse
2022-03-04 13:14:49 -05:00
Jonathan Kelley
4954079212
fix: forbidden filtering
2022-02-27 14:29:07 -05:00
Jonathan Kelley
bfc55b0646
fix: forbidden filtering
2022-02-27 14:26:37 -05:00
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
Jonathan Kelley
fa020c53e4
tweak: use 2018 rust syntax instead of 2022 for formatting
2022-02-01 01:57:21 -05:00
Jonathan Kelley
0c0f638c47
Merge pull request #180 from mrxiaozhuox/borderless-frame
...
Add support for desktop context, borderless frames, minimize, maximize, and other window-related goodies through the imperative `use_window` hook.
2022-01-31 19:53:27 -05:00
mrxiaozhuox
bead035969
feat: export use_window
2022-02-01 08:43:54 +08:00
Jonathan Kelley
6905bf98d7
chore: clean up examples and fix link opening code
2022-01-31 19:40:48 -05:00
mrxiaozhuox
f1fe8f1d2a
fix: change hooks name
2022-02-01 08:39:31 +08:00
mrxiaozhuox
7ca92be015
feat: add focus
api
2022-01-31 19:44:40 +08:00
mrxiaozhuox
366cf75887
feat: add use_desktop_context
hook
2022-01-31 19:39:44 +08:00
mrxiaozhuox
e4eb982a36
fix: format code
2022-01-31 10:11:58 +08:00
mrxiaozhuox
a0ffe66a37
feat: add borderless
example
2022-01-31 09:47:09 +08:00
mrxiaozhuox
31a2f8f63a
feat: add DesktopContext
2022-01-31 01:06:43 +08:00
mrxiaozhuox
169028705d
feat: add DesktopContext
2022-01-31 00:33:14 +08:00
Jonathan Kelley
9b3192323e
Release dioxus-desktop v0.1.6
2022-01-29 10:43:43 -05:00
Jonathan Kelley
6339fa8188
Release dioxus-html v0.1.6, dioxus-router v0.1.1
2022-01-29 10:42:52 -05:00
Jonathan Kelley
f6c6134d67
Release dioxus-core v0.1.9
2022-01-29 10:42:38 -05:00
Jonathan Kelley
11ba189eab
Release dioxus-html v0.1.5
2022-01-29 10:36:24 -05:00
Jonathan Kelley
f965030b80
Release dioxus-core v0.1.8
2022-01-29 10:36:10 -05:00
Jonathan Kelley
1b2a0053ef
Release dioxus-core-macro v0.1.7
2022-01-29 10:35:54 -05:00
Jonathan Kelley
06723ad63f
fix: add interpreter to desktop package so it publishes
2022-01-29 10:23:41 -05:00
Jonathan Kelley
56f3002aed
feat: add changelogs
2022-01-29 10:17:14 -05:00
Jonathan Kelley
22308eb26a
fix: custom protocol receiver type
2022-01-27 17:00:40 -05:00
Jonathan Kelley
430cde7068
feat: default asset server
2022-01-27 16:36:17 -05:00
Jonathan Kelley
a239d2ba6a
docs: fix web doc example and use &mut for builders everywhere
2022-01-24 20:24:50 -05:00
Jonathan Kelley
95e93ed0bc
feat: remove dioxus id on non-event elements
2022-01-21 15:06:57 -05:00
Jonathan Kelley
824defa2db
Merge branch 'master' into jk/unify
2022-01-21 00:16:45 -05:00