Shuanghui Yan
4eeb3da8c9
fix: add ns param for removeAttribute
2022-02-22 23:14:11 +08: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
Jonathan Kelley
8d3ac3ff14
Merge pull request #107 from autarch/autarch/half-assed-router
...
A partial implementation of the router and associated bits
2022-01-18 00:01:34 -05:00
Jonathan Kelley
036a0ff49a
docs: add comments for the Handler
2022-01-16 15:13:31 -05:00
Jonathan Kelley
e47ead5347
fix: allow eventhandler to derive default
2022-01-15 20:17:48 -05:00
Dave Rolsky
9b282d877b
Don't expect all components to have a scope in ScopeArena.ensure_drop_safety
...
Not all components will be mounted when using a Router, so we cannot assume
all components have a scope.
2022-01-14 15:40:01 -06:00
Alexandre Kirszenberg
b6903bf558
Enable clippy
2022-01-08 16:35:26 +01:00
Jonathan Kelley
16d73b240f
Release dioxus-core v0.1.7
2022-01-08 02:27:48 -05:00
Jonathan Kelley
40d1f85d0c
Release dioxus-core v0.1.7, dioxus-core-macro v0.1.6, dioxus-html v0.1.4, dioxus-desktop v0.1.5, dioxus-hooks v0.1.6, dioxus-mobile v0.0.3, dioxus-router v0.1.0, dioxus-ssr v0.1.2, dioxus-web v0.0.4, dioxus v0.1.7
2022-01-08 02:25:03 -05:00
Jonathan Kelley
d11f322f55
docs: add title to doc comment
2022-01-07 12:12:33 -05:00
Jonathan Kelley
be9f1a52ad
docs: better document the EventHandler
type
2022-01-07 12:12:13 -05:00
Jonathan Kelley
c439b0ac7e
fix: component pass thru events
2022-01-07 11:51:25 -05:00
Jonathan Kelley
bbb6ee10de
feat: make hydration more robust
2022-01-07 00:33:09 -05:00
Jonathan Kelley
4aadec1e30
fix: ci and bug in setter
2022-01-05 22:15:19 -05:00
Jonathan Kelley
bd341f5571
fix: tests
2022-01-05 17:30:12 -05:00