Commit graph

515 commits

Author SHA1 Message Date
Demonthos
479c12725f
Merge branch 'DioxusLabs:master' into lazy_tui 2022-04-04 12:10:18 -05:00
Jonathan Kelley
93405c2a40 Fix: diffing should poproots too 2022-04-04 12:18:51 -04:00
Jon Kelley
09d193d999
Merge pull request #331 from Demonthos/diff-fix
fix: diff_lazynodes bug adding children
2022-04-04 12:15:31 -04:00
Evan Almloff
7f4e257757 bugfixes, testing and refactoring 2022-03-26 20:32:49 -05:00
Evan Almloff
26d92b6e51 rebase master 2022-03-26 20:27:10 -05:00
Evan Almloff
43b5a230f0 PushRoot before adding children 2022-03-26 13:35:23 -05:00
Evan Almloff
aec5cd9dfa fix lazynode diff bug adding children 2022-03-26 12:53:24 -05:00
Joshua Kifer
1b736f1001 Remove release_max_level features from several Cargo.toml log dependencies 2022-03-15 17:59:30 -06:00
Jonathan Kelley
e7505188d6 release: make a new 0.2.0 release of Dioxus 2022-03-09 14:24:05 -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
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