Commit graph

613 commits

Author SHA1 Message Date
Evan Almloff
cd17f515d4 change to hook api 2023-01-12 18:48:23 -06:00
Evan Almloff
dc8fcf254b Merge branch 'upstream' into desktop-hot-reload 2023-01-12 10:59:01 -06:00
=
042b67b61b factor out a hot reloading connect function 2023-01-11 16:43:41 -06:00
Evan Almloff
1073574896 implement hot reloading for desktop 2023-01-11 13:40:02 -06:00
Evan Almloff
2772b86629 create with event handler 2023-01-10 21:35:11 -06:00
Evan Almloff
52d5c8d4e7 update READMEs and tags for the 0.3 release 2023-01-10 10:16:11 -06:00
Jonathan Kelley
7f01f61138 feat: publish 0.3 versions of many crates 2023-01-04 14:31:07 -05:00
Jonathan Kelley
22e71a71bd feat: return window 2022-12-31 12:19:21 -05:00
Jonathan Kelley
ed899a580e make clippy happy 2022-12-31 02:30:15 -05:00
Jonathan Kelley
341ccf6de6 fix: properly canonicalize assets 2022-12-31 02:24:18 -05:00
Jonathan Kelley
d3ab397ad3 chore: add transparency and overlay 2022-12-30 22:30:04 -05:00
Jonathan Kelley
4955cfc940 fix: no type 2022-12-30 22:14:28 -05:00
Jonathan Kelley
e3a8e44a69 feat: use dom to allow context injection 2022-12-30 22:10:06 -05:00
Jonathan Kelley
880aa737a6 feat: multiwindow support 2022-12-30 22:05:15 -05:00
Jon Kelley
3cfaaea7ea
Merge pull request #692 from DioxusLabs/jk/main-thread
Move desktop context to main thread to allow file dialogs and expose tao/wry directly
2022-12-30 03:26:04 -05:00
Jonathan Kelley
819bd3fc24 chore: use broadcast instead of receiver 2022-12-30 02:56:10 -05:00
Jonathan Kelley
1518f07d7e chore: remove sledgehammer 2022-12-30 02:44:37 -05:00
Jonathan Kelley
7f418bbfee fix: window zoom 2022-12-30 02:09:02 -05:00
Jonathan Kelley
d160a5c8ff chore: remove unnecessary parse method 2022-12-30 01:54:12 -05:00
Jonathan Kelley
531f7c6d3f chore: clean up msg in desktop even more 2022-12-30 01:52:54 -05:00
Jonathan Kelley
633bf1f834 aggressively clean up desktop with new inline poll 2022-12-30 01:08:25 -05:00
Jonathan Kelley
7bc8150da7 fix desktop to poll without budget 2022-12-29 20:39:22 -05:00
Jonathan Kelley
bd720e2268 fix: use futuresunordered instead of bespoke waker system 2022-12-29 19:53:43 -05:00
Jonathan Kelley
ff697d41e3 wip: move desktop to main thread and use tokio main 2022-12-29 17:11:29 -05:00
Jonathan Kelley
4fdbce9a70 chore: clean up readmes 2022-12-29 16:17:03 -05:00
Lixou
bfdd7945aa
Fix copy paste error in docs (#685) 2022-12-27 13:04:23 -06:00
Evan Almloff
555b192436 Merge branch 'upstream' into fix-hot-reloading 2022-12-23 18:06:47 -06:00
Stuart Woodbury
fe9c482afb fix(clippy) 2022-12-23 11:40:51 -05:00
Jon Kelley
8802747214
Merge branch 'master' into feat/resize-window 2022-12-23 11:11:11 -05:00
Stuart Woodbury
f99991b23b feat(DesktopContext): expose set_inner_size 2022-12-23 09:52:12 -05:00
Evan Almloff
db7a1ec0b0 fix lints 2022-12-21 13:04:57 -06:00
Evan Almloff
e5a5850354 merge master 2022-12-20 20:48:28 -06:00
Evan Almloff
67921cacc3 post merge fixes 2022-12-19 21:20:46 -06:00
Evan Almloff
493ee1cb3f Merge branch 'upstream' into fix-hot-reloading 2022-12-19 21:17:22 -06:00
Jonathan Kelley
58b0519c2f feat: get interpreter working on desktop 2022-12-19 15:02:36 -08:00
Jonathan Kelley
c86cbd69da feat: move interpreter code into desktop 2022-12-19 14:53:23 -08:00
Jonathan Kelley
50faa7dd08 feat: add proper event type 2022-12-19 14:14:01 -08:00
Evan Almloff
f84166fb11 allow configering the root name in the desktop renderer 2022-12-18 22:28:40 -06:00
Jon Kelley
5ac9b595ea
Revert "fix: liveview interpreter using new templates" 2022-12-16 14:20:05 -08:00
=
b6ade84ea6 fix some lints 2022-12-16 10:19:26 -06:00
=
894e3bf6b5 make it compile after merge 2022-12-16 10:18:23 -06:00
=
14dd568987 Merge branch 'upstream-master' into fix-hot-reloading 2022-12-16 10:07:11 -06:00
=
0d9c350d5e implement for web and desktop 2022-12-15 21:16:37 -06:00
Jonathan Kelley
06e8e096bb feat: more fixes to liveview 2022-12-15 14:25:23 -08:00
Jonathan Kelley
e256fe1079 wip: add html event type 2022-12-14 19:07:33 -08:00
Jonathan Kelley
fa3d1ef574 chore: bump wry to 23 2022-12-14 12:49:07 -08:00
Jonathan Kelley
afeb308a1f chore: remove dbgs 2022-12-09 16:38:05 -08:00
Evan Almloff
bf47f64852 Merge branch 'upstream' into return-from-js 2022-12-08 11:25:15 -06:00
Evan Almloff
e863ef29b8 allow returning values from use_eval 2022-12-08 10:44:56 -06:00
Jonathan Kelley
4eefc3f854 chore: rename all &cx to cx, make clipppy happy 2022-12-07 13:11:40 -08:00
Jonathan Kelley
e8133e9449 fix: ios buillds 2022-12-07 12:50:43 -08:00
Jonathan Kelley
e8ae1fb83e chore: comment out hot reloading stuff 2022-12-06 16:38:19 -08:00
Jonathan Kelley
1b14b309e9 chore: clean up desktop 2022-12-06 16:37:28 -08:00
Jonathan Kelley
b182a6ee75 chore: clean up interpreter and bindings 2022-12-05 16:47:04 -08:00
Jonathan Kelley
7b1cdb7d85 feat: get desktop working with new template strategy 2022-12-05 16:08:41 -08:00
Jonathan Kelley
85657d3906 feat: rip out mutations for templates 2022-12-01 00:46:15 -05:00
Jonathan Kelley
3b166c9edd wip: clean up some things 2022-11-30 23:54:30 -05:00
Jonathan Kelley
18d6b1ad6f feat: get web working properly 2022-11-30 17:21:10 -05:00
Jonathan Kelley
3c19def550 chore: get create working and simplify dynamic nodes 2022-11-30 11:24:13 -05:00
Jonathan Kelley
0cfbfc88e2 feat: more tests working 2022-11-24 06:47:14 -05:00
Jonathan Kelley
112c954e00 Merge branch 'master' into jk/templates-v3 2022-11-22 16:11:12 -08:00
David Craven
1e99e35572
Implement push view for ios. (#612) 2022-11-22 12:35:40 -08:00
Jonathan Kelley
6c677e64da chore: make for loops not the same 2022-11-17 22:55:46 -08:00
Jonathan Kelley
20f9957fbe feat: diffing works on desktop! 2022-11-17 22:31:14 -08:00
Jonathan Kelley
30ef225812 feat: event handling on desktop 2022-11-17 20:00:39 -08:00
Jonathan Kelley
c1c5821dcf Merge branch 'master' into jk/templates-v3 2022-11-16 22:12:16 -08:00
Jonathan Kelley
642b21f125 suspense works in desktop 2022-11-16 11:48:47 -08:00
Jonathan Kelley
04bc635ac5 wip: prep to fix bug in create 2022-11-15 23:22:41 -08:00
Jonathan Kelley
e8ae830cf2 feat: get desktop working with just creation 2022-11-15 18:32:48 -08:00
Jonathan Kelley
47d0f51e00 wip: overhaul event system 2022-11-15 16:05:22 -08:00
Adrian Wannenmacher
79ea1994db
fix desktop dependency wry (#618) 2022-11-10 12:03:26 -06:00
David Craven
5c996f21fb
Update wry to 0.22.0 (#604) 2022-11-06 01:49:25 -07:00
David Craven
7e3a6fb4a4
Some fixes for wayland and ios. (#602) 2022-10-23 19:40:41 -07:00
Jonathan Kelley
90982e0ccb wip: start to refactor out hot reloading from packages
Also implement alternative simpler template system
2022-10-20 09:56:09 -07:00
Demonthos
3b7b503333
Refactor Mutations and simplify Templates (#578)
* update mutations to be path based rather than renderer integrated
2022-10-18 14:42:45 -07:00
Demonthos
daeffd4149
pass clippy (#575) 2022-10-02 14:12:24 -07:00
Demonthos
047ed1e553
Subtree memorization / reactive templates (#488)
This commit adds subtree memoization to Dioxus.

Subtree memoization is basically a compile-time step that drastically 
reduces the amount of work the diffing engine needs to do at runtime by
extracting non-changing nodes out into a static "template." Templates 
are then understood by the various renderers in the ecosystem as a 
faster way of rendering the same items. 

For example, in the web, templates are simply a set of DOM Nodes created 
once and then cloned later. This is the same pattern frameworks like Lithtml
and SolidJS use to achieve near-perfect performance. 

Subtree memoization adds an additional level of complexity to Dioxus. The RSX
macro needs to be much smarter to identify changing/nonchanging nodes and
generate a mapping between the Template and its runtime counterparts.

This commit represents a working starter point for this work, adding support 
for templates for the web, desktop, liveview, ssr, and native-core renderers.
In the future we will try to shrink code generation, generally improve 
performance, and simplify our implementation.
2022-09-30 12:03:06 -07:00
Demonthos
b32fd2d2cd
fix scroll data (#569) 2022-09-30 10:48:52 -07:00
Jon Kelley
0c48cb3601
feat: use infer instead of outdated mime-guess, bump wry (#548)
* feat: use infer instead of outdated mime

* chore: remove unused file

* fix: remove unused file
2022-09-24 23:48:05 -07:00
Jon Kelley
540e785d8b
Less clumsy configuration for desktop and mobile (#553)
* chore: dont use prebuilt builder pattern for configuring desktop

* chore: use regular config pattern for web

* Chore: update docs too

* chore: clean up some warnings
2022-09-13 16:22:27 -07:00
Demonthos
a9e71cb001
expose desktopconfig in public interface (#529) 2022-08-17 11:16:05 -07:00
Reinis Mazeiks
d734dc5b46
Remove argument from use_hook closure (#496)
Also; update docs for said function
2022-07-11 15:50:56 -04:00
Jon Kelley
d9546d9504
Renderers are now packages, not features. (#387)
* feat: use synchronous router design

* feat: function to get router out of dom

* chore: restructure workspace to use renderers as packages, not features
2022-07-09 15:15:20 -04:00
Jonathan Kelley
2b9888627b Merge branch 'master' of github.com:DioxusLabs/dioxus 2022-07-07 01:46:48 -04:00
Jonathan Kelley
7ff4d616d3 chore: remove outdated docs 2022-07-07 01:42:03 -04:00
Adia Robbie
c271fc132e
dioxus-desktop(Update-dep): tauri 0.19.x (#489)
* Update(dep): tauri 0.19.x
2022-07-06 12:05:31 -04:00
Demonthos
3a5d1a2ff8
fix web imports and extract hot reload handlers into seperate files (#484) 2022-07-04 13:18:11 -05:00
Evan Almloff
f0655a11ad panic on errors in hot-reload if no error handler socket is connected 2022-07-01 09:01:15 -05:00
YuKun Liu
0af69f83f2 Rename hot_reload to hot-reload 2022-06-26 14:23:19 +08:00
Evan Almloff
11d9a7d013 Merge remote-tracking branch 'upstream/master' into fix_nonbubbling_web_events 2022-06-22 13:59:10 -05:00
Evan Almloff
61b4bb2f19 handle bubbling events 2022-06-22 13:57:05 -05:00
Evan Almloff
75e13749ea set multiple rsx calls at once to prevent duplicated errors 2022-06-16 09:11:56 -05:00
Demonthos
df4ea20bb8 create serde compatible parse error 2022-06-15 12:58:08 -05:00
Evan Almloff
586983291a log parse errors 2022-06-13 17:02:43 -05:00
Evan Almloff
71d31556e5 Merge https://github.com/DioxusLabs/dioxus into jk/rsx-refactor 2022-06-10 18:16:05 -05:00
CGQAQ
030f6d58fb conditional devtools 2022-06-10 06:04:54 +08:00
Jason
09b1d379d7
fix(desktop): makes release build working 2022-06-09 16:55:53 +08:00
Evan Almloff
07199c8a64 clean up imports 2022-06-06 13:29:56 -05:00
Evan Almloff
586e29d815 force rerender after rsx is updated 2022-06-04 15:31:40 -05:00
Evan Almloff
8c6fceb0c7 finish desktop implementation 2022-06-04 14:26:37 -05:00
Evan Almloff
2bcaa2e43e refactor interperting macro into function and don't rely on cx being in scope 2022-06-04 12:20:56 -05:00
Evan Almloff
0079f7d18b WIP: expose pipe for desktop 2022-06-02 13:33:08 -05:00
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
YuKun Liu
2073b400df fix: check href null 2022-01-18 23:25:45 +08:00
YuKun Liu
327f901548 fix: check href null 2022-01-18 23:15:39 +08:00
YuKun Liu
8089023a6c fix: prevent submit default 2022-01-18 15:00:49 +08:00
YuKun Liu
46fd6ac345 feat: link open in browser 2022-01-18 14:57:41 +08:00
YuKun Liu
62b637f8b0 fix: error pattern 2022-01-18 14:54:48 +08:00
YuKun Liu
f006f50317 feat: move rpc to handler 2022-01-18 14:52:14 +08:00
YuKun Liu
9e04ce5342 feat: open_browser bool attribute 2022-01-18 09:32:27 +08:00
YuKun Liu
5233ee97d9 fix: format code 2022-01-18 09:20:36 +08:00
YuKun Liu
c737c424b0 feat: link open in browser 2022-01-18 09:19:58 +08:00
YuKun Liu
a0f60152bc feat: link open in browser 2022-01-18 09:19:12 +08:00
Jonathan Kelley
05331ddd80 feat: wire up both desktop and web 2022-01-13 22:51:01 -05:00
Jonathan Kelley
5bf6c96f9f feat: setup a typescript build 2022-01-12 07:34:37 -05:00
Jonathan Kelley
6bc45b1c50 fix: clippy 2022-01-10 13:00:23 -05:00
Jonathan Kelley
bad36162af fix: wry pathing 2022-01-10 12:57:43 -05:00
Jonathan Kelley
9ae981a1af wip: drag and drop support 2022-01-10 12:57:39 -05:00
Jonathan Kelley
20a29409b2
Merge pull request #113 from DioxusLabs/jk/desktop-cursor-jump
fix: cursor jumping in desktop inputs
2022-01-10 12:20:13 -05:00
Sven Assmann
007d06d602 feat(events:focus): add missing onfocusin event 2022-01-10 18:08:29 +01:00
Jonathan Kelley
eb138848ec feat: also hide placeholder node 2022-01-10 12:06:55 -05:00
Jonathan Kelley
be614e6535 fix: cursor jumping and use set instead of lsit 2022-01-10 12:04:54 -05:00
Sven Assmann
9849f68f25 feat(example:todomvc): add editing support
- implement "onfocusout" handler
- set autofocus
- handle enter, escape and tab on a todo item
- make the `<pre>` element between todo list items of margin 0 to be unnoticable
2022-01-10 14:46:23 +01:00
Jonathan Kelley
29bf424b09
Merge pull request #101 from alexkirsz/ci
CI: Enable clippy
2022-01-08 20:28:10 -05:00
YuKun Liu
92561612c7 fix: format code 2022-01-09 02:25:11 +08:00
YuKun Liu
8f4aa84f1a feat: bool attr white list 2022-01-09 02:02:23 +08:00
Alexandre Kirszenberg
b6903bf558 Enable clippy 2022-01-08 16:35:26 +01:00
Jonathan Kelley
cd0dcacaf2 Release dioxus-desktop v0.1.5 2022-01-08 02:30:03 -05:00
Jonathan Kelley
a36dab7f45 Release dioxus-html v0.1.4, dioxus-desktop v0.1.5, dioxus-hooks v0.1.6, dioxus-mobile v0.0.3, dioxus-router v0.1.0, dioxus-ssr v0.1.2, dioxus-web v0.0.4, dioxus v0.1.7 2022-01-08 02:28:25 -05:00
Jonathan Kelley
40d1f85d0c Release dioxus-core v0.1.7, dioxus-core-macro v0.1.6, dioxus-html v0.1.4, dioxus-desktop v0.1.5, dioxus-hooks v0.1.6, dioxus-mobile v0.0.3, dioxus-router v0.1.0, dioxus-ssr v0.1.2, dioxus-web v0.0.4, dioxus v0.1.7 2022-01-08 02:25:03 -05:00
Jonathan Kelley
21232285d9 fix: add exclusion list 2022-01-08 02:14:05 -05:00
Jonathan Kelley
8d685f40b7 feat: handle bool attrs properly 2022-01-08 02:09:02 -05:00
Jonathan Kelley
175a6a199c wip: clear warnigns 2022-01-07 02:07:10 -05:00
Jonathan Kelley
fd911584dc wip: remove lag by forcing update 2022-01-07 02:05:14 -05:00
Jonathan Kelley
bbb6ee10de feat: make hydration more robust 2022-01-07 00:33:09 -05:00
Jonathan Kelley
bd341f5571 fix: tests 2022-01-05 17:30:12 -05:00
Jonathan Kelley
e2a6454527 chore: switch to log tracing 2022-01-05 16:36:42 -05:00
Jonathan Kelley
427b126bc1 feat: add prevent default attribute and upgrade router 2022-01-05 16:34:24 -05:00
Jonathan Kelley
7cf15ee4e8 publish: include desktop fixes 2022-01-03 21:36:43 -05:00
Jonathan Kelley
be2d6876ab Merge branch 'master' into jk/windows-desktop 2022-01-03 20:00:23 -05:00
Jonathan Kelley
ada24e7c4e wip: try to fix pathing 2022-01-03 19:59:13 -05:00
Jonathan Kelley
4f92ba4160 wip: bump all versions 2022-01-03 19:32:27 -05:00
Jonathan Kelley
54103da019 publish: bump desktop version 2022-01-03 14:03:17 -05:00
Jonathan Kelley
c1f8424693 publish: desktop 2022-01-03 02:18:11 -05:00
Jonathan Kelley
be6fac9f3d publish: desktop 2022-01-03 02:16:31 -05:00
Jonathan Kelley
d84fc05386 feat: plug in bubbling 2022-01-03 02:06:42 -05:00
Jonathan Kelley
420a30e5d4 feat: overhaul examples and clean things up 2022-01-03 00:42:17 -05:00
Jonathan Kelley
d1560450ba wip: remove runner on hook and then update docs 2022-01-02 02:15:04 -05:00
Jonathan Kelley
14961023f9 wip: polish some more things 2021-12-29 21:28:28 -05:00
Jonathan Kelley
3dc0e59876 fix: readme and examples syntax 2021-12-28 23:48:25 -05:00
Jonathan Kelley
a4f280d163 feat: more API updates 2021-12-28 23:20:01 -05:00
Jonathan Kelley
c7d001cbb4 wip: rip out unsafe task engine 2021-12-26 14:22:30 -05:00
Jonathan Kelley
cda759c659 examples: upgrade to new version of dioxus core.
also add the inline_props macro
2021-12-25 17:18:05 -05:00
Jonathan Kelley
fa106be1f5 wip: clean it up a bit 2021-12-21 00:58:14 -05:00
Jonathan Kelley
b997b8ebbb feat: enable children properly 2021-12-21 00:46:10 -05:00
Jonathan Kelley
934de21dd6 wip: miri stress tets 2021-12-18 23:03:59 -05:00
Jonathan Kelley
2c3a046426 wip: prepare to change our fragment pattern. Add some more docs 2021-12-18 15:17:32 -05:00
Jonathan Kelley
2b928372fb Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.1 2021-12-15 16:07:09 -05:00
Jonathan Kelley
0d480a4c43 Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.0 2021-12-15 16:06:15 -05:00
Jonathan Kelley
868f6739d2 fix: keyword length 2021-12-15 16:06:13 -05:00
Jonathan Kelley
b32665d721 Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.0 2021-12-15 16:05:20 -05:00
Jonathan Kelley
a33f7701fc fix: tags 2021-12-15 16:05:18 -05:00
Jonathan Kelley
3a706ac416 Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.0 2021-12-15 16:04:30 -05:00
Jonathan Kelley
e4c06ce8e8 docs: update cargo tomls 2021-12-15 16:04:27 -05:00
Jonathan Kelley
270dfc9590 Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.0 2021-12-15 15:59:11 -05:00
Jonathan Kelley
4de16c4779 docs: update local examples and docs to support new syntaxes 2021-12-15 15:56:53 -05:00
Jonathan Kelley
1e4a599d14 wip: rename fc to component 2021-12-09 21:19:31 -05:00
Jonathan Kelley
52c7154897 fix: really big bug around hooks 2021-11-29 11:10:40 -05:00
Jonathan Kelley
bab21a0aa1 wip: updates to router 2021-11-22 15:22:42 -05:00
Jonathan Kelley
a5f05d73ac wip: docs and router 2021-11-19 00:49:04 -05:00
Jonathan Kelley
8bf57dc21d chore: polish 2021-11-16 13:09:41 -05:00
Jonathan Kelley
25a8411485 wip: better desktop support 2021-11-16 01:25:38 -05:00
Jonathan Kelley
19df1bda10 feat: bubbling 2021-11-15 09:49:01 -05:00
Jonathan Kelley
9d8c5ca5ab feat: it properly bubbles 2021-11-11 23:55:57 -05:00
Jonathan Kelley
11757ddf61 feat: fake bubbling 2021-11-11 22:18:16 -05:00
Jonathan Kelley
fd93ee89c1 feat: upgrade syntax 2021-11-10 17:09:52 -05:00
Jonathan Kelley
059294ab55 wip: more changes to scheduler 2021-11-06 23:23:56 -04:00
Jonathan Kelley
2933e4bc11 wip: major cleanups to scheduler 2021-11-06 23:11:17 -04:00
Jonathan Kelley
1e6e5e611b wip: move examples around 2021-11-03 15:13:50 -04:00
Jonathan Kelley
ba9e1dbb8f fix: messed up how lifetimes worked, need to render once per component 2021-10-29 21:43:21 -04:00
Jonathan Kelley
0e9d5fc530 wip: move everything over to a stack dst 2021-10-29 17:12:30 -04:00
Jonathan Kelley
a42711a324 wip: docs 2021-10-27 14:54:49 -04:00
Jonathan Kelley
fda2ebc2a2 feat: improve safety 2021-10-25 15:05:17 -04:00
Jonathan Kelley
601078f9cf fix: desktop and mobile 2021-10-22 01:16:39 -04:00
Jonathan Kelley
e86c1d8972 chores: slim down tokio 2021-10-19 12:09:35 -04:00
Jonathan Kelley
9726a065b0 feat: massage lifetimes 2021-10-16 17:37:28 -04:00
Jonathan Kelley
16dbf4a6f8 wip: book documentation 2021-10-16 17:04:28 -04:00
Jonathan Kelley
460783ad54 docs: lnks to projects 2021-10-14 12:46:50 -04:00
Jonathan Kelley
2403990ea3 docsd: more example images 2021-10-12 02:26:06 -04:00
Jonathan Kelley
4a4c7afca7 feat: shared state mechanisms 2021-10-11 15:35:20 -04:00
Jonathan Kelley
efd0e9b564 feat: support desktop more completely 2021-10-05 03:37:15 -04:00
Jonathan Kelley
a2b0c50a34 feat: add update functionality to useref 2021-10-04 10:22:20 -04:00
Jonathan Kelley
5502429626 feat: desktop functioning well 2021-10-04 02:54:20 -04:00
Jonathan Kelley
7a03c1d2b4 wip: overhaul event system 2021-10-04 01:28:04 -04:00
Jonathan Kelley
82953f2ac3 wip: threadsafe 2021-10-01 02:07:12 -04:00
Jonathan Kelley
823adc0834 polish: clean up the web module 2021-09-24 20:11:30 -04:00
Jonathan Kelley
b32e2611e3 polish: clean up warnings 2021-09-21 18:13:09 -04:00
Jonathan Kelley
a2c7d17b05 feat: mvoe away from compound context 2021-09-21 13:42:52 -04:00
Jonathan Kelley
725b4a1d7f wip: fix some event stuff for web and core 2021-09-02 00:37:57 -04:00
Jonathan Kelley
a652090dc5 wip: add test_dom 2021-09-01 23:57:34 -04:00
Jonathan Kelley
acad9ca622 wip: web stuff 2021-08-31 12:28:57 -04:00
Jonathan Kelley
8b0eb87c72 wip: refactor 2021-08-26 22:05:09 -04:00
Jonathan Kelley
41cc42919d wip: more overhaul on virtualevents 2021-08-25 16:40:18 -04:00
Jonathan Kelley
c1afeba1ef wip: groundwork for noderefs 2021-08-09 17:09:33 -04:00
Jonathan Kelley
fac42339c2 feat: mutations 2021-08-08 15:15:16 -04:00
Jonathan Kelley
f2334c17be wip: bottom up dropping 2021-08-05 22:23:41 -04:00
Jonathan Kelley
49856ccd68 wip: making progress on diffing and hydration 2021-07-28 21:46:53 -04:00
Jonathan Kelley
f782e14211 feat: omg what a dumb mistake 2021-07-27 00:27:07 -04:00
Jonathan Kelley
4a0068f099 feat: bless up, no more segfaults 2021-07-26 12:14:48 -04:00
Jonathan Kelley
7dfe89c958 feat: wire up event delegator for webview 2021-07-24 02:52:05 -04:00
Jonathan Kelley
dfaf5adee1 Feat: solve some issues regarding listeners 2021-07-24 00:29:23 -04:00
Jonathan Kelley
1745a44d94 wip: cleanup 2021-07-21 17:05:48 -04:00
Jonathan Kelley
caf772cf24 wip: docs, html! macro, more 2021-07-16 00:27:06 -04:00
Jonathan Kelley
8f0bb5dc5b chore: cleanup workspace 2021-07-15 18:40:12 -04:00