Commit graph

504 commits

Author SHA1 Message Date
Jonathan Kelley
f2979cb12a feat: apply local router changes 2022-03-04 13:16:37 -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
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
b4c5b96980 chore: switch log to eprintln 2022-03-02 17:54:11 -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
f77f8c8500 fmt 2022-02-26 17:38:05 -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
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
Ilya Maximov
144e0bd91f
feat: add send + sync for safety 2022-02-23 20:01:09 +01: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
92573d67a1 fix: keyed diffing accidentally pushing every node 2022-02-23 08:09:16 -05:00
Shuanghui Yan
4eeb3da8c9 fix: add ns param for removeAttribute 2022-02-22 23:14:11 +08:00
Jonathan Kelley
62df5f7097 docs: document the entire core crate 2022-02-20 17:37:46 -05:00
Dave Rolsky
06ea624eec Make all packages which require futures-channel ask for the same version
If they aren't the same then Cargo cannot resolve a working version for some
reason.
2022-02-15 10:27:11 -06:00
Jonathan Kelley
4a3680ee1b chore: remove all warnings 2022-02-10 21:00:15 -05:00
Jonathan Kelley
ce17574aa0 wip: add tracking for tasks 2022-02-04 18:05:55 -05:00
Jonathan Kelley
1913ccd61f chore: current_scope always panics 2022-02-03 00:35:10 -05:00
Jonathan Kelley
f7b3228ab2 fix: enable resume node for text and placeholder 2022-02-02 20:04:55 -05:00
Jonathan Kelley
bc43069884 fix: allow scopes and nodes to be missing 2022-02-02 19:04:37 -05:00
Jonathan Kelley
b2b2dae7e6 fix: diffing allows component reuse 2022-02-02 11:33:02 -05:00
Jonathan Kelley
94c1da8264 chore: clean up documentation in diffing algorithm 2022-02-01 15:00:36 -05:00
Jonathan Kelley
c4e6496d9d chore: enable a pedantic clippy on the diffing algorithm 2022-01-31 12:49:21 -05:00
Jonathan Kelley
06418f73db fix: element stack not being updated properly 2022-01-31 12:29:11 -05:00
Jonathan Kelley
923fb0701d fix: clippy 2022-01-31 03:34:52 -05:00
Jonathan Kelley
b4697fc9f9 chore: clean up some more of the scopes file 2022-01-31 03:27:43 -05:00
Jonathan Kelley
268b1b0c66 Merge branch 'master' into jk/debugging-diff 2022-01-31 03:23:35 -05:00
Jonathan Kelley
120ee18368 chore: improve debugability of fcptrs and vcomponents
this commit changes the fc slot type from a thin pointer to a c pointer.
this lets us provide frame inspection of components using backtrace.
2022-01-31 03:22:34 -05:00
Jonathan Kelley
9dda7b168b chore: clean up scopes 2022-01-31 03:04:47 -05:00
Jonathan Kelley
a4ea0ba4fe chore: undo dirty_scopes rename 2022-01-31 02:52:40 -05:00
Jonathan Kelley
0820e18d3d feat: make component name accessible 2022-01-31 02:49:37 -05:00
Jonathan Kelley
4ae11b5756 fmt: make tests easier to visually parse with fmt rules 2022-01-31 02:46:26 -05:00
Jonathan Kelley
00aa0e5e86 fmt: apply formatting just to tests 2022-01-31 02:44:16 -05:00
Jonathan Kelley
5bffbba682 fmt: apply cargofmt with new rules for lit structs 2022-01-31 02:40:12 -05:00
Jonathan Kelley
11f6b93889 fix: remove nodes is in a happier state 2022-01-31 02:33:16 -05:00
Jonathan Kelley
cbd471fa46 debugging: add some more debug tooling 2022-01-31 01:24:11 -05:00
Jonathan Kelley
1ea42799c0 wip: clean up the core crate after switching to recursive diff engine 2022-01-30 18:34:24 -05:00