Commit graph

964 commits

Author SHA1 Message Date
Jonathan Kelley
e0900ca256 wip: add warp liveview proof of concept 2022-03-12 09:41:10 -05:00
Jonathan Kelley
841ad91fe1 fix: dblclick instead of doubleclick 2022-03-11 10:49:38 -05:00
Evan Almloff
b228e1e4eb Merge remote-tracking branch 'refs/remotes/origin/master' 2022-03-09 21:08:37 -06:00
Evan Almloff
503b10d674 bugfixes text modifer elements 2022-03-09 21:06:45 -06:00
Jonathan Kelley
3f130d9bd0 fix: use updated version of stretch for layout 2022-03-09 21:42:37 -05:00
Jonathan Kelley
ed07e914d3 fix: compile router on web 2022-03-09 21:14:22 -05:00
Maccesch
1a2624952a fixed cargo fmt 2022-03-09 23:06:14 +00:00
Jonathan Kelley
1c2e5e2aea publish: update dioxus with router fix 2022-03-09 17:53:02 -05:00
Jonathan Kelley
cc4b073f0d fix: use ordering of routes for router 2022-03-09 17:50:39 -05:00
Jonathan Kelley
0ce326566e wip: fix router slashing 2022-03-09 16:26:13 -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
50d509688d feat: update examples for tui 2022-03-09 13:36:30 -05:00
Jonathan Kelley
58a20913b6 chore; make tui pass clippy 2022-03-09 13:30:44 -05:00
Jonathan Kelley
40c88eeb4b Feat: merge rink into dioxus mainline 2022-03-09 12:57:20 -05:00
Jonathan Kelley
37cf9bb9d2 feat: add tui 2022-03-09 12:55:30 -05:00
Jonathan Kelley
3e9023b131 docs: finish async 2022-03-09 10:22:12 -05:00
Maccesch
82fc9739bb updated to new way of checking path of route 2022-03-09 03:25:40 +00:00
Jonathan Kelley
9846e0947b
Merge pull request #297 from DioxusLabs/jk/use-ref-memo
feat: memoize useref by tracking mutations
2022-03-08 01:00:23 -05:00
Jonathan Kelley
124c5def45 feat: memoize useref by tracking mutations 2022-03-07 16:02:44 -05:00
Jonathan Kelley
0f87ebb277 docs: even more docs 2022-03-06 20:37:57 -05:00
Maccesch
ef82ffd217 added active class to router link 2022-03-06 23:17:24 +00:00
Jonathan Kelley
a4ab2d9de0 feat: enable addassign for usestate 2022-03-05 17:07:34 -05:00
Jonathan Kelley
f98c3f161f fix: interpreter code for disabled and dangerous innter html 2022-03-05 14:38:28 -05:00
Jonathan Kelley
bec2f4129b
Merge pull request #203 from DioxusLabs/jk/local-router
Feat: abstract the router on a per-platform basis and add docs
2022-03-05 14:16:18 -05:00
Jonathan Kelley
f47d2900fb feat: add a redirect 2022-03-05 14:06:54 -05:00
Jonathan Kelley
156e3c21ba feat: add split method to use_state 2022-03-04 14:31:04 -05:00
Jonathan Kelley
6c3f5195f4 feat: re-unify set_state 2022-03-04 14:29:45 -05:00
Jonathan Kelley
dbcd91e32f chore: switch to mutex 2022-03-04 14:28:21 -05:00
Jonathan Kelley
c466425b82 fix: remove logging 2022-03-04 13:17:03 -05:00
Jonathan Kelley
c19995fed9 fix: debug multistage edits in desktop 2022-03-04 13:17:01 -05:00
Jonathan Kelley
cdbc37711f fix: wasm test 2022-03-04 13:16:37 -05:00
Jonathan Kelley
57bd8b7ce2 fix: enable wasmtest feature 2022-03-04 13:16:37 -05:00
Jonathan Kelley
9edc3459d5 fix: remove latent test 2022-03-04 13:16:37 -05:00
Jonathan Kelley
82f69a9ca6 fix: feature flagging 2022-03-04 13:16:37 -05:00
Jonathan Kelley
c7627f0b93 fix: tests pass 2022-03-04 13:16:37 -05:00
Jonathan Kelley
06d4a5640b docs: fix doc comment 2022-03-04 13:16:37 -05:00
Jonathan Kelley
cc83900334 feat: router crate is polished up 2022-03-04 13:16:37 -05:00
Jonathan Kelley
60b11081f2 chore: remove idna feature from url 2022-03-04 13:16:37 -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
e5b034c6a4 fix: don't propogate empty edits 2022-03-04 13:13:50 -05:00
Jonathan Kelley
0e09dda1be chore: add additional debugging to VNode fields 2022-03-04 13:13:29 -05:00
Jonathan Kelley
e04a6d63a5 chore: move tests out of core and into the top level crate
This commit moves the tests out of core so rust analyzer
is happier with the workspace.
2022-03-02 22:48:22 -05:00
Jonathan Kelley
e932ed202a fix: macro export 2022-03-02 18:13:57 -05:00
Jonathan Kelley
62f3d1b38e fix: macro export 2022-03-02 18:02:14 -05:00
Jonathan Kelley
46a42c5ef9 Docs: update readme and usage doc for router 2022-03-02 17:57:00 -05:00
Jonathan Kelley
0883ff76e6 chore: convert debug to trace 2022-03-02 17:56:26 -05:00
Jonathan Kelley
e51b47d1fb chore: move macros around 2022-03-02 17:56:12 -05:00
Jonathan Kelley
0e12915dc8 fix: remove old vscode folder 2022-03-02 17:54:22 -05:00
Jonathan Kelley
b4c5b96980 chore: switch log to eprintln 2022-03-02 17:54:11 -05:00
Jonathan Kelley
06c88b6f35 fix: remove fermi callback api 2022-02-28 13:13:45 -05:00
Jonathan Kelley
42979d922b
Merge pull request #208 from DioxusLabs/jk/use-future-leak
feat: auto cancel tasks when scopes are dropped
2022-02-27 23:39:06 -05:00
Jonathan Kelley
e416e31bc7 feat: new spawn_forever for tasks that never die 2022-02-27 17:22:21 -05:00
Jonathan Kelley
70177ed49d feat: tasks are dropped when components are unmounted 2022-02-27 17:03:43 -05:00
Jonathan Kelley
a46bd8d6d7 Merge branch 'master' into jk/use-future-leak 2022-02-27 16:42:07 -05:00
Jonathan Kelley
c2c6d73916 fix: tests should reflect removes 2022-02-27 14:59:36 -05:00
Jonathan Kelley
35a3eaabdf fix: actually remove nodes in keyed_diff_middle 2022-02-27 14:49:47 -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
f69430a308 Merge branch 'master' into jk/all-the-css 2022-02-26 18:17:56 -05:00
Jonathan Kelley
dde4ed2946 fix: merge css together 2022-02-26 18:15:04 -05:00
Jonathan Kelley
d512a6758f Merge branch 'master' into jk/coroutine-coroutineoverhaul 2022-02-26 17:50:38 -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
25c82b7732
Merge pull request #278 from DioxusLabs/jk/canonicalize-assets
feat: canoncialize assets for macOS, Windows, and Linux
2022-02-26 17:42:05 -05:00
Jonathan Kelley
d07e145df6 clippy: update for recent update 2022-02-26 17:39:25 -05:00
Jonathan Kelley
f77f8c8500 fmt 2022-02-26 17:38:05 -05:00
Jonathan Kelley
74f40da997 clippy: remove unused module 2022-02-26 17:36:33 -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
2b17717323 Merge branch 'master' into jk/coroutine-coroutineoverhaul 2022-02-26 17:32:11 -05:00
Jonathan Kelley
4ad4b18e4b feat: useeffect 2022-02-26 17:31:35 -05:00
Jonathan Kelley
64edc6e1b1 feat: useeffect implemented 2022-02-26 03:12:22 -05:00
Jonathan Kelley
d8718efed6
Merge pull request #275 from BarryYan/master
fix: add ns param for removeAttribute
2022-02-25 11:50:21 -05:00
Jonathan Kelley
3e474382c6 fix: clippy new lint 2022-02-25 00:35:25 -05:00
Shuanghui Yan
aa2d6b8d11 fix: format styles 2022-02-24 18:13:00 +08:00
Shuanghui Yan
2a6e6371e7 Merge remote-tracking branch 'upstream/master' 2022-02-24 18:08:21 +08: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
Ilya Maximov
144e0bd91f
feat: add send + sync for safety 2022-02-23 20:01:09 +01:00
Ilya Maximov
916dc64402
style: format againkjdfakbjfbkasjd 2022-02-23 20:00:01 +01:00
Jonathan Kelley
24743e44e9 feat: canoncialize assets for macOS 2022-02-23 13:53:45 -05:00
Ilya Maximov
4ab54274ac
style: reformat... 2022-02-23 19:48:14 +01:00
Ilya Maximov
ff3d772756
feat: add a method to access the scheduler 2022-02-23 19:47:38 +01:00
Ilya Maximov
bda4a71a72
feat: change schedule_update's Rc to an Arc
BREAKING CHANGE
2022-02-23 19:47:17 +01:00
Jonathan Kelley
03feaa446a fix: make clippy happy 2022-02-23 11:37:28 -05:00
Jonathan Kelley
7a5c403e38 wip: add use_callback 2022-02-23 09:47:53 -05:00
Jonathan Kelley
92573d67a1 fix: keyed diffing accidentally pushing every node 2022-02-23 08:09:16 -05:00
Jonathan Kelley
45231651dd fix: quick patch 2022-02-22 16:34:06 -05:00
Shuanghui Yan
4eeb3da8c9 fix: add ns param for removeAttribute 2022-02-22 23:14:11 +08:00
Jonathan Kelley
d19ae3ff56 feat: tweak debug tools to be customizable 2022-02-21 23:45:01 -05:00
Jonathan Kelley
3837899a7e fix: remove clutter 2022-02-21 23:35:12 -05:00
Jonathan Kelley
fbaf25dc6b feat: pair down usecoroutine and make it much happier 2022-02-21 23:34:18 -05:00
Jonathan Kelley
9211e1fc78 feat: use future fully figured out 2022-02-21 15:39:47 -05:00
Jonathan Kelley
86729d929d wip: coroutine works basically 2022-02-21 00:37:46 -05:00
Jonathan Kelley
f1af18c60b Merge branch 'master' into jk/coroutine-coroutineoverhaul 2022-02-20 23:53:55 -05:00
Jonathan Kelley
fb661e5519 wip: disable hook documentation 2022-02-20 23:52:54 -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
e71069883d Merge branch 'master' into jk/documet-everything 2022-02-20 17:43:38 -05:00
Jonathan Kelley
af18838e6e
Merge pull request #270 from DioxusLabs/jk/use-ref-example
docs: actually document the use_ref hook
2022-02-20 17:43:25 -05:00