Commit Graph
490 Commits
Author SHA1 Message Date
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 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
Jonathan Kelley 3bb5c8142c fix: switch to future based diffing
this commit removes the old manual fiber implementation in favor of a
traditional recursion based approach. This should make the diffing
algorithm easier to work on and eliminate various stack-based bugs in.
2022-01-30 17:47:58 -05:00
Jonathan Kelley 3edf3e367f wip: debugging 2022-01-30 14:08:03 -05:00
Jonathan Kelley f6c6134d67 Release dioxus-core v0.1.9 2022-01-29 10:42:38 -05:00
Jonathan Kelley 578c1dc069 fix: enable default for any eventhandler 2022-01-29 10:42:06 -05:00
Jonathan Kelley f965030b80 Release dioxus-core v0.1.8 2022-01-29 10:36:10 -05:00
Jonathan Kelley 8056138f86 fix: explicit default for event handler
rust derives default of T: Default, even when that's not a necessary requirement

This fixes that
2022-01-29 10:27:40 -05:00
Jonathan Kelley 56f3002aed feat: add changelogs 2022-01-29 10:17:14 -05:00
Jonathan Kelley e9792e9b95 tests: add miri stress test 2022-01-28 21:43:01 -05:00
Jonathan Kelley bad4b773b7 feat: add "spawn" method 2022-01-24 15:21:56 -05:00
Jonathan Kelley 2e4f765932 tweak: drop hooks before resetting bump arena 2022-01-24 12:21:24 -05:00
Jonathan Kelley d9a07ddddb fix: provide_root_context on root scopes 2022-01-24 02:34:16 -05:00
Dave Rolsky 9e4ec43b1e Fix various typos and grammar nits
I also removed all trailing whitespace from lines since I have Emacs
configured to highlight this.
2022-01-21 21:43:43 -06:00
Jonathan Kelley c8d528b3b1 fix: proprogation of root context 2022-01-21 09:29:41 -05:00
Jonathan Kelley d2bd175143 feat: allow providing context to the root component 2022-01-21 00:37:52 -05:00