Commit graph

943 commits

Author SHA1 Message Date
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
Jonathan Kelley
62df5f7097 docs: document the entire core crate 2022-02-20 17:37:46 -05:00
Jonathan Kelley
5954bba975 wip: disable reload in production 2022-02-19 22:36:55 -05:00
Jonathan Kelley
e7022dfccf docs: more use_ref docs 2022-02-19 21:51:26 -05:00
Jonathan Kelley
45473ece8c feat: add some helpers to use_ref 2022-02-19 18:00:03 -05:00
Jonathan Kelley
28716248c5 fix: ping window after virtualdom is ready 2022-02-19 17:34:44 -05:00
Jonathan Kelley
93b4f745af
Merge pull request #132 from DioxusLabs/jk/partialexpansion
feat: split out rsx into its own crate
2022-02-19 00:02:10 -05:00
Jonathan Kelley
5a6d1c2a31 fix: compile for rust 1.57 2022-02-18 23:30:09 -05:00
Jonathan Kelley
237f036a80 wip: add meta to rsx 2022-02-18 23:26:47 -05:00
Jonathan Kelley
7ce34ad97e fix: enable desktop devtol 2022-02-18 23:22:35 -05:00
Jonathan Kelley
5d56326f74 feat: collapse rsx 2022-02-18 23:18:52 -05:00
Jonathan Kelley
9438cc14bc fix: make listeners up to date 2022-02-18 23:17:33 -05:00
Jonathan Kelley
185902f935 fix: macro compiles 2022-02-18 23:14:17 -05:00
Jonathan Kelley
b93487282d feat: move files around 2022-02-18 20:54:30 -05:00
Jonathan Kelley
7c788e59f5 Merge branch 'master' into jk/partialexpansion 2022-02-18 15:34:52 -05:00
Jonathan Kelley
b2472e3cfe Merge branch 'master' into jk/partialexpansion 2022-02-18 15:31:49 -05:00
Jonathan Kelley
a4df07f338 fix: rustmft 2022-02-17 11:16:04 -05:00
Jonathan Kelley
d095d8c407 fix: clippy is happy 2022-02-17 10:43:34 -05:00
Jonathan Kelley
d461ffc011 feat: integrate fermi 2022-02-17 10:38:51 -05:00
Jonathan Kelley
3873cd1a60 fix: remove unused depds 2022-02-16 14:40:45 -05:00
Jonathan Kelley
babe862739 fix: login example to use proper methods 2022-02-16 14:11:31 -05:00
Jonathan Kelley
aa60971c5c fix: remove preventdefault on form 2022-02-16 14:03:53 -05:00