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
Jonathan Kelley
427b126bc1
feat: add prevent default attribute and upgrade router
2022-01-05 16:34:24 -05:00
Jonathan Kelley
cb2782b4bb
wip: memoize dom in the prescence of identical components
2022-01-05 00:27:22 -05:00
Jonathan Kelley
4f92ba4160
wip: bump all versions
2022-01-03 19:32:27 -05:00
Jonathan Kelley
2481cd05c2
fix: attempt to fix ice
2022-01-03 17:20:22 -05:00
Jonathan Kelley
f9b9bb9c0c
publish: update core, core-macro, and html
2022-01-03 02:13:14 -05:00
Jonathan Kelley
06276edd0d
feat: eanble bubbling
2022-01-03 02:11:26 -05:00
Jonathan Kelley
d84fc05386
feat: plug in bubbling
2022-01-03 02:06:42 -05:00
Jonathan Kelley
a95dead76d
formatting: run cargo fmt
2022-01-03 01:20:05 -05:00
Jonathan Kelley
75fa7b4aa6
fix: make tests pass
2022-01-03 01:12:39 -05:00
Jonathan Kelley
d1560450ba
wip: remove runner on hook and then update docs
2022-01-02 02:15:04 -05:00
Jonathan Kelley
4c85bcfdc8
awesome: arbitrary expressions excepted without braces
2021-12-30 03:14:47 -05:00
Jonathan Kelley
14961023f9
wip: polish some more things
2021-12-29 21:28:28 -05:00
Jonathan Kelley
ddfa2bac3f
publish: bump core version
2021-12-29 13:28:53 -05:00
Jonathan Kelley
944b3a8bc5
wip: clean up examples and demo list
2021-12-29 00:10:36 -05:00
Jonathan Kelley
3dc0e59876
fix: readme and examples syntax
2021-12-28 23:48:25 -05:00
Jonathan Kelley
a4f280d163
feat: more API updates
2021-12-28 23:20:01 -05:00
Jonathan Kelley
b3ac2ee3f7
wip: upgrade hooks
2021-12-27 15:03:43 -05:00
Jonathan Kelley
c7d001cbb4
wip: rip out unsafe task engine
2021-12-26 14:22:30 -05:00
Jonathan Kelley
cda759c659
examples: upgrade to new version of dioxus core.
...
also add the inline_props macro
2021-12-25 17:18:05 -05:00