Jonathan Kelley
fc9fe6e560
feat: split apart template mutations
2022-11-08 19:39:37 -08:00
Jonathan Kelley
203935834d
feat: suspense!
2022-11-07 22:55:22 -08:00
Jonathan Kelley
e6c53803a6
feat: abstract to rc wake
2022-11-06 14:28:41 -08:00
Jonathan Kelley
a38fc9e4ab
feat: suspense!
2022-11-06 01:48:34 -07:00
Jonathan Kelley
aec1b326ba
wip: so much suspense code
2022-11-03 22:30:26 -07:00
Jonathan Kelley
d2ce57ba6e
feat: poll async once
2022-11-03 20:56:31 -07:00
Jonathan Kelley
94601ccd1f
feat: async components!
2022-11-03 17:34:42 -07:00
Jonathan Kelley
51aeb29d1a
wip: figure out async syntax
2022-11-03 02:37:41 -07:00
Jonathan Kelley
591674f701
wip: allow async into component
2022-11-03 02:11:04 -07:00
Jonathan Kelley
5d91f51e17
chore: clean things up
2022-11-03 01:38:18 -07:00
Jonathan Kelley
584504feb7
feat: keys
2022-11-03 01:24:20 -07:00
Jonathan Kelley
dddbcfd5e2
feat: works with components
2022-11-02 17:36:36 -07:00
Jonathan Kelley
c6a6c3d0f8
feat: components pass thru children
2022-11-02 17:29:18 -07:00
Jonathan Kelley
b6c0bce89c
feat: support cached ssr
2022-11-02 01:00:37 -07:00
Jonathan Kelley
4a31b29703
feat: simple tests passing
2022-11-01 18:42:29 -07:00
Jonathan Kelley
23603aaaf5
wip: rewrite core to be template focused
2022-10-27 21:58:47 -07:00
Jonathan Kelley
67012c38df
feat: more diffing iteration
2022-10-26 18:40:38 -07:00
Jonathan Kelley
22d4bf7346
feat: use walking pattern
2022-10-26 18:04:47 -07:00
Jonathan Kelley
7cbb4d52dd
wip: more modifications to templates
2022-10-21 18:54:14 -07:00
Jonathan Kelley
90982e0ccb
wip: start to refactor out hot reloading from packages
...
Also implement alternative simpler template system
2022-10-20 09:56:09 -07:00
Demonthos
3b7b503333
Refactor Mutations and simplify Templates ( #578 )
...
* update mutations to be path based rather than renderer integrated
2022-10-18 14:42:45 -07:00
Demonthos
ab10d327ac
Fix attribute value in macro ( #577 )
...
* create into AttributeValue trait to allow arbitraty attribute values
* allow attributevalue in non-template macro
2022-10-12 20:43:37 -07:00
saicu
e8c48d46cf
replace fxhash crate with rustc-hash ( #588 )
2022-10-12 18:27:26 -07:00
Jon Kelley
fb2f3e68ff
fix: random commit ( #586 )
2022-10-08 23:07:20 -07:00
saicu
6476335750
to_owned!: allow optional comma at the end ( #584 )
2022-10-08 16:23:26 -07:00
Demonthos
928b5358b2
allow arbitrary attribute value in owned attribute value ( #574 )
2022-10-02 14:13:06 -07:00
Demonthos
daeffd4149
pass clippy ( #575 )
2022-10-02 14:12:24 -07:00
Demonthos
047ed1e553
Subtree memorization / reactive templates ( #488 )
...
This commit adds subtree memoization to Dioxus.
Subtree memoization is basically a compile-time step that drastically
reduces the amount of work the diffing engine needs to do at runtime by
extracting non-changing nodes out into a static "template." Templates
are then understood by the various renderers in the ecosystem as a
faster way of rendering the same items.
For example, in the web, templates are simply a set of DOM Nodes created
once and then cloned later. This is the same pattern frameworks like Lithtml
and SolidJS use to achieve near-perfect performance.
Subtree memoization adds an additional level of complexity to Dioxus. The RSX
macro needs to be much smarter to identify changing/nonchanging nodes and
generate a mapping between the Template and its runtime counterparts.
This commit represents a working starter point for this work, adding support
for templates for the web, desktop, liveview, ssr, and native-core renderers.
In the future we will try to shrink code generation, generally improve
performance, and simplify our implementation.
2022-09-30 12:03:06 -07:00
Marc Espín
964a942243
Feat: Make AttributeValue::Any usable ( #565 )
...
* Implemented Display for AttributeValue::Any
* Make ArbitraryAttributeValue public
* allow(missing_docs) for ArbitraryAttributeValue
* Formatted lib.rs
2022-09-30 10:48:25 -07:00
Jon Kelley
28fba42e7e
feat: add an unhygenic render macro ( #556 )
...
* feat: add an unhygenic render macro
* chore: use render instead of rsx!(cx,
2022-09-25 01:05:16 -07:00
Jon Kelley
67dc6e6017
feat: implement type magic to allow strings, format args, and other types directly in rsx ( #550 )
...
* feat: implement type magic
* chore: undo example
* fix: let tests pass
* chore: add generic to allow any nesting of iterators
* Chore: remove comments
* chore: update rsx usage
* chore: use cleaner version of generic IntoVnode
* chore: don't derive default for lfietimed thing
* chore: remove latent comment
* fix: accept a third parameter
2022-09-12 22:49:04 -07:00
Marc Espín
8427a3f657
Support Bytes in AttributeValue ( #543 )
2022-09-07 09:20:35 -05:00
Reinis Mazeiks
d734dc5b46
Remove argument from use_hook
closure ( #496 )
...
Also; update docs for said function
2022-07-11 15:50:56 -04:00
Jon Kelley
d9546d9504
Renderers are now packages, not features. ( #387 )
...
* feat: use synchronous router design
* feat: function to get router out of dom
* chore: restructure workspace to use renderers as packages, not features
2022-07-09 15:15:20 -04:00
Jonathan Kelley
7e454e770a
chore: remove some hotpath logging
2022-07-03 00:14:15 -04:00
Jonathan Kelley
94004cfe19
chore: clean up some clippy stuff
2022-07-03 00:11:28 -04:00
Jonathan Kelley
a6e8852ced
polish: make clippy happy on use_hook
2022-06-30 15:41:45 -04:00
Evan Almloff
bf548d4a0e
set id before creating listener
2022-06-29 09:48:16 -05:00
Evan Almloff
11d9a7d013
Merge remote-tracking branch 'upstream/master' into fix_nonbubbling_web_events
2022-06-22 13:59:10 -05:00
Evan Almloff
61b4bb2f19
handle bubbling events
2022-06-22 13:57:05 -05:00
Evan Almloff
9e7e5b0859
Merge remote-tracking branch 'upstream/master' into jk/rsx-refactor
2022-06-16 09:17:36 -05:00
Yin Jifeng
3cbf8ed6fa
fix: remove task id from scope when success
2022-06-13 18:43:36 +08:00
Yin Jifeng
814235f145
docs: update func names
2022-06-13 18:43:36 +08:00
Yin Jifeng
7576426c93
core: cleanup tasks polling fn
2022-06-13 18:43:36 +08:00
Evan Almloff
71d31556e5
Merge https://github.com/DioxusLabs/dioxus into jk/rsx-refactor
2022-06-10 18:16:05 -05:00
Evan Almloff
fe5c698c09
add DirtyAll to SchedulerMsg
2022-06-09 10:01:09 -05:00
王一旋
2433b9d305
docs: examples of mistakes
...
docs: add hard_diff example missing parameter
2022-06-02 10:29:41 +08:00
Evan Almloff
4b1ea5879d
Merge https://github.com/DioxusLabs/dioxus into jk/rsx-refactor
2022-05-27 18:26:31 -05:00
Evan Almloff
f9713b2fe9
Merge remote-tracking branch 'origin/master' into jk/rsx-refactor
2022-05-27 17:56:50 -05:00
Evan Almloff
871f51f91b
It compiles
2022-05-25 14:08:59 -05:00
Evan Almloff
ca10d89670
add RsxTextIndex
2022-05-25 11:20:07 -05:00
Evan Almloff
c7c84da8ab
WIP hot reload
2022-05-25 08:58:59 -05:00
Evan Almloff
43d750c329
fix clippy
2022-05-22 21:21:28 -05:00
Evan Almloff
db1866090a
fix broken doc links
2022-05-22 20:44:32 -05:00
Reinis Mazeiks
85aa4584ff
Fix: expose AttributeValue; update tests to pass
2022-05-07 13:43:40 +03:00
Reinis Mazeiks
2eca71e644
Fix: serialize AttributeValue as a simple value
2022-05-07 12:17:47 +03:00
Jonathan Kelley
03110b85cd
fix: cargo fmt
2022-05-06 20:46:33 -04:00
Jonathan Kelley
bded314251
wip: remove color
2022-05-05 16:50:36 -04:00
Jonathan Kelley
356f37e9ee
feat: arbitrary attributes
2022-05-05 16:50:33 -04:00
Jonathan Kelley
3febd42588
Release dioxus-core v0.2.1, dioxus-core-macro v0.2.1, dioxus-html v0.2.1, dioxus-interpreter-js v0.2.1, dioxus-desktop v0.2.3, dioxus-hooks v0.2.1, dioxus-liveview v0.1.0, dioxus-native-core v0.2.0, dioxus-native-core-macro v0.2.0, dioxus-router v0.2.3, dioxus-ssr v0.2.1, dioxus-tui v0.2.2, dioxus-web v0.2.1, fermi v0.2.1, dioxus v0.2.4
2022-05-02 23:57:20 -04:00
Demonthos
f4689a4e27
Merge branch 'DioxusLabs:master' into lazy_tui
2022-04-17 08:48:39 -05:00
Dave Rolsky
69752313eb
Fix typo in docs for NodeFactory.bump
2022-04-11 10:33:06 -05:00
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
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
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
Jonathan Kelley
21e00c114e
chore: continue to consolidate
2021-12-21 01:11:27 -05:00
Jonathan Kelley
fa106be1f5
wip: clean it up a bit
2021-12-21 00:58:14 -05:00
Jonathan Kelley
b997b8ebbb
feat: enable children properly
2021-12-21 00:46:10 -05:00
Jonathan Kelley
78d9056e35
feat: it works with a new bump each time!!
2021-12-20 23:31:33 -05:00
Jonathan Kelley
e2e4d431e1
wip: adjust memoization
2021-12-20 22:33:13 -05:00
Jonathan Kelley
934de21dd6
wip: miri stress tets
2021-12-18 23:03:59 -05:00
Jonathan Kelley
1c516aba6a
chore: adjust semantics of placeholders and fragments
2021-12-18 15:49:30 -05:00
Jonathan Kelley
2c3a046426
wip: prepare to change our fragment pattern. Add some more docs
2021-12-18 15:17:32 -05:00
Jonathan Kelley
2b928372fb
Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.1
2021-12-15 16:07:09 -05:00
Jonathan Kelley
0d480a4c43
Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.0
2021-12-15 16:06:15 -05:00
Jonathan Kelley
868f6739d2
fix: keyword length
2021-12-15 16:06:13 -05:00
Jonathan Kelley
b32665d721
Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.0
2021-12-15 16:05:20 -05:00
Jonathan Kelley
a33f7701fc
fix: tags
2021-12-15 16:05:18 -05:00
Jonathan Kelley
3a706ac416
Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.0
2021-12-15 16:04:30 -05:00
Jonathan Kelley
e4c06ce8e8
docs: update cargo tomls
2021-12-15 16:04:27 -05:00
Jonathan Kelley
270dfc9590
Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.0
2021-12-15 15:59:11 -05:00
Jonathan Kelley
4de16c4779
docs: update local examples and docs to support new syntaxes
2021-12-15 15:56:53 -05:00
Jonathan Kelley
e495b09bf1
docs: fix table
2021-12-14 23:01:40 -05:00
Jonathan Kelley
ded9696930
wip: fix ssr
2021-12-14 22:48:20 -05:00
Jonathan Kelley
2fd56e7619
wip: remove portals completely
2021-12-14 21:46:19 -05:00
Jonathan Kelley
8daf7a6ed8
wip: go back to noisy lifetime solution
2021-12-14 02:27:59 -05:00
Jonathan Kelley
597a0456f5
wip: update hooks
2021-12-13 00:14:47 -05:00
Jonathan Kelley
96b3d56e09
feat: move back to combined cx/props
2021-12-13 00:06:17 -05:00
Jonathan Kelley
e6c6bbdc1e
polish: clean up the core crate
2021-12-12 19:47:13 -05:00
Jonathan Kelley
1e4a599d14
wip: rename fc to component
2021-12-09 21:19:31 -05:00
Jonathan Kelley
8814977eee
wip: docs
2021-11-30 22:48:05 -05:00
Jonathan Kelley
52c7154897
fix: really big bug around hooks
2021-11-29 11:10:40 -05:00
Jonathan Kelley
36d89beb34
wip: rename
2021-11-28 16:25:42 -05:00
Jonathan Kelley
93d4b8ca7c
wip: some docs and suspense
2021-11-23 15:53:57 -05:00
Jonathan Kelley
bab21a0aa1
wip: updates to router
2021-11-22 15:22:42 -05:00
Jonathan Kelley
a5f05d73ac
wip: docs and router
2021-11-19 00:49:04 -05:00
Jonathan Kelley
8bf57dc21d
chore: polish
2021-11-16 13:09:41 -05:00
Jonathan Kelley
25a8411485
wip: better desktop support
2021-11-16 01:25:38 -05:00
Jonathan Kelley
19df1bda10
feat: bubbling
2021-11-15 09:49:01 -05:00
Jonathan Kelley
9bd56ee499
wip: update readme
2021-11-12 16:06:33 -05:00
Jonathan Kelley
55e6dd9701
feat: wire tasks up
2021-11-12 01:36:33 -05:00
Jonathan Kelley
9d8c5ca5ab
feat: it properly bubbles
2021-11-11 23:55:57 -05:00
Jonathan Kelley
11757ddf61
feat: fake bubbling
2021-11-11 22:18:16 -05:00
Jonathan Kelley
f2234068ba
feat: events bubble now
2021-11-11 22:07:38 -05:00
Jonathan Kelley
b6262edd53
wip: bubbling reserves nodes
2021-11-11 21:50:08 -05:00
Jonathan Kelley
a21020ea57
wip: bubbling in progress
2021-11-11 21:34:20 -05:00
Jonathan Kelley
8acdd2ea83
feat: it compiles once more
2021-11-11 16:36:51 -05:00
Jonathan Kelley
74c6211408
feat: should be functional across the boar
2021-11-11 12:06:15 -05:00
Jonathan Kelley
c10c1f418b
feat: wire up linked nodes
2021-11-11 11:49:07 -05:00
Jonathan Kelley
fd93ee89c1
feat: upgrade syntax
2021-11-10 17:09:52 -05:00
Jonathan Kelley
574d7fdb9e
wip: remove scopechildren in favor of elements directly
2021-11-09 14:36:26 -05:00
Jonathan Kelley
b9fc5fc251
wip: move hooklist into scope
2021-11-09 12:18:45 -05:00
Jonathan Kelley
d2f0547692
wip: move testdom methods into virtualdom
2021-11-09 12:10:11 -05:00
Jonathan Kelley
f2e343c154
chore: cleanup src
2021-11-09 02:16:25 -05:00
Jonathan Kelley
77686ba329
fix: it compiles again
2021-11-09 02:11:44 -05:00
Jonathan Kelley
fffc7ea061
wip: working on re-enabling components
2021-11-07 22:45:41 -05:00
Jonathan Kelley
15c31d545a
wip: fix rebuild
2021-11-07 22:36:57 -05:00
Jonathan Kelley
2559740463
wip: clean up, use old approach to components
2021-11-07 20:59:09 -05:00
Jonathan Kelley
289d2f2518
wip: a few things left, slme cleanup
2021-11-07 09:58:19 -05:00
Jonathan Kelley
f33510b13f
wip: dst drops properly
2021-11-07 01:57:13 -05:00
Jonathan Kelley
62ed9208a4
wip: dst nodes leak but work
2021-11-07 01:49:53 -05:00
Jonathan Kelley
464b457b80
wip: move more stuff out
2021-11-07 01:07:42 -05:00
Jonathan Kelley
e4cda7c2cb
wip: remove bumpframe
2021-11-07 01:01:22 -05:00
Jonathan Kelley
fd0c384dac
wip: it compiles cleanly
2021-11-07 00:06:00 -04:00
Jonathan Kelley
059294ab55
wip: more changes to scheduler
2021-11-06 23:23:56 -04:00
Jonathan Kelley
2933e4bc11
wip: major cleanups to scheduler
2021-11-06 23:11:17 -04:00
Jonathan Kelley
d96276a715
wip: no more lifetimes
2021-11-06 21:07:01 -04:00
Jonathan Kelley
857c92f7f0
wip: compiling again with runtime safety
2021-11-06 20:59:46 -04:00
Jonathan Kelley
95bd17e38f
wip: more raw ptrs
2021-11-05 18:02:44 -04:00
Jonathan Kelley
b8d98698c6
wip: remove resource pool in favor of raw ptrs
2021-11-05 17:15:59 -04:00
Jonathan Kelley
70b983d090
wip: consolidation, simplification
2021-11-05 16:28:08 -04:00
Jonathan Kelley
b56ea6c9a9
wip: work on scheduler, async, coroutines, and merge scope into context
2021-11-03 19:55:02 -04:00
Jonathan Kelley
1e6e5e611b
wip: move examples around
2021-11-03 15:13:50 -04:00
Jonathan Kelley
d298b626d3
wip: add router
2021-11-03 00:35:56 -04:00
Jonathan Kelley
9874f342e2
docs: more docs
2021-11-01 18:38:09 -04:00
Jonathan Kelley
5a21493fb7
wip: remove send requirement on root props
2021-11-01 14:03:14 -04:00
Jonathan Kelley
2cf90b6903
feat: pull children out of component definition
2021-11-01 13:32:01 -04:00
Jonathan Kelley
f438bbcfd2
wip: move children onto scope
2021-11-01 03:49:32 -04:00
Jonathan Kelley
d1b294fff0
polish: move debugging virtualdom into its own feature
2021-11-01 03:35:26 -04:00
Jonathan Kelley
9c1343610b
wip: clean up using new children syntax
2021-11-01 03:29:50 -04:00
Jonathan Kelley
d4192d0de2
wip: implement dst magic
2021-11-01 03:13:31 -04:00
Jonathan Kelley
3e07214272
wip: implement lazy nodes properly
2021-11-01 02:41:23 -04:00
Jonathan Kelley
7b97e009ec
wip: remove cx.children. start to move towards a "children" field
2021-11-01 02:22:08 -04:00
Jonathan Kelley
6b2645fd80
feat: improve FC handling to allow lifetimes of parent
2021-10-30 21:07:47 -04:00
Jonathan Kelley
f70b5b4e4a
wip: try to get lifetimes passed in properly
2021-10-30 20:28:58 -04:00
Jonathan Kelley
27d891934a
fix: use annotation method from rust/58052 to fix closure lifetimes
2021-10-30 18:23:28 -04:00
Jonathan Kelley
9ee2bfb010
wip: worked backwards a bit and got it slightly figured out
2021-10-30 17:11:15 -04:00
Jonathan Kelley
ba9e1dbb8f
fix: messed up how lifetimes worked, need to render once per component
2021-10-29 21:43:21 -04:00
Jonathan Kelley
0e9d5fc530
wip: move everything over to a stack dst
2021-10-29 17:12:30 -04:00
Jonathan Kelley
54d050cf89
docs: strong improvmenets, first major section done
2021-10-29 00:28:23 -04:00
Jonathan Kelley
db0004758c
Merge branch 'master' into jk/remove_node_safety
2021-10-28 17:09:51 -04:00
Jonathan Kelley
60d6eb204a
Merge branch 'master' of https://github.com/jkelleyrtp/dioxus
2021-10-28 17:08:10 -04:00
Jonathan Kelley
9b5f82af7d
docs: start on components
2021-10-27 22:32:12 -04:00
Jonathan Kelley
339e450027
wip: fix some bugs around the rsx macro
2021-10-27 16:58:20 -04:00
Jonathan Kelley
fda2ebc2a2
feat: improve safety
2021-10-25 15:05:17 -04:00
Alexandre Kirszenberg
5747e00b27
Various typos/grammar/rewording
2021-10-24 19:30:36 +02:00
Jonathan Kelley
601078f9cf
fix: desktop and mobile
2021-10-22 01:16:39 -04:00
Jonathan Kelley
84fd0c6162
feat: cleanuup
2021-10-20 01:26:52 -04:00
Jonathan Kelley
79503f15c5
feat: full html support
2021-10-19 22:39:27 -04:00
Jonathan Kelley
83dd49d890
chores: slim deps and upgrade docs
2021-10-19 12:09:23 -04:00
Jonathan Kelley
f49244344c
polish: listen to clippy
2021-10-17 20:18:30 -04:00
Jonathan Kelley
9726a065b0
feat: massage lifetimes
2021-10-16 17:37:28 -04:00
Jonathan Kelley
16dbf4a6f8
wip: book documentation
2021-10-16 17:04:28 -04:00
Jonathan Kelley
460783ad54
docs: lnks to projects
2021-10-14 12:46:50 -04:00
Jonathan Kelley
478255f40d
fix: all the bugs!
2021-10-11 18:40:00 -04:00
Jonathan Kelley
4a4c7afca7
feat: shared state mechanisms
2021-10-11 15:35:20 -04:00
Jonathan Kelley
da4423c141
bugs: fix web list issue
2021-10-10 22:27:08 -04:00
Jonathan Kelley
4a0bb8cf84
wip: portals
2021-10-08 16:01:13 -04:00
Jonathan Kelley
1f22a06a36
wip: event system
2021-10-07 16:18:54 -04:00
Jonathan Kelley
efd0e9b564
feat: support desktop more completely
2021-10-05 03:37:15 -04:00
Jonathan Kelley
a2b0c50a34
feat: add update functionality to useref
2021-10-04 10:22:20 -04:00
Jonathan Kelley
5502429626
feat: desktop functioning well
2021-10-04 02:54:20 -04:00
Jonathan Kelley
7a03c1d2b4
wip: overhaul event system
2021-10-04 01:28:04 -04:00
Jonathan Kelley
82953f2ac3
wip: threadsafe
2021-10-01 02:07:12 -04:00
Jonathan Kelley
71f0df6374
publish: ssr
2021-09-24 22:15:50 -04:00
Jonathan Kelley
4a5041c590
publish: fix typo
2021-09-24 21:49:03 -04:00
Jonathan Kelley
7bdad1e2e6
publish: move macro crate out of core
2021-09-24 21:46:23 -04:00
Jonathan Kelley
a5f82be433
polish
2021-09-24 20:55:41 -04:00
Jonathan Kelley
04d16b41dc
polish: exampels
2021-09-24 02:37:51 -04:00
Jonathan Kelley
1a2f91ed91
polish: examples
2021-09-24 00:05:56 -04:00
Jonathan Kelley
4b6ca05f2c
wip: performance looks good, needs more testing
2021-09-22 04:11:27 -04:00
Jonathan Kelley
d7940aa2ac
feat: proper handling of events
2021-09-22 02:44:01 -04:00
Jonathan Kelley
c7d2d9d050
wip: fix invalid is_empty bug
2021-09-22 01:37:45 -04:00
Jonathan Kelley
098d3821ed
wip: changes to scheduler
2021-09-22 01:25:28 -04:00
Jonathan Kelley
b32e2611e3
polish: clean up warnings
2021-09-21 18:13:09 -04:00
Jonathan Kelley
a2c7d17b05
feat: mvoe away from compound context
2021-09-21 13:42:52 -04:00
Jonathan Kelley
bfdcb20437
feat: transition to cx, props
2021-09-21 13:13:15 -04:00
Jonathan Kelley
f1cff845ce
wip: examples
2021-09-21 12:11:04 -04:00
Jonathan Kelley
adf202eab9
wip: more doc
2021-09-20 17:36:39 -04:00
Jonathan Kelley
34c3107418
wip: more docs
2021-09-20 16:49:36 -04:00
Jonathan Kelley
7978a17419
wip: bubbling
2021-09-20 12:32:21 -04:00
Jonathan Kelley
c16b92ee7e
wip: before scheduler simplify
2021-09-19 22:10:00 -04:00
Jonathan Kelley
9971ff215d
polish: change in cx to cx
2021-09-16 13:20:04 -04:00
Jonathan Kelley
0ded32e184
wip: reduce warnings
2021-09-14 00:58:33 -04:00
Jonathan Kelley
12afd2b0f2
wip: more polish on display
2021-09-13 19:07:15 -04:00
Jonathan Kelley
238677208e
wip: more polish on scopes
2021-09-13 18:59:07 -04:00
Jonathan Kelley
ff1398b943
wip: polish up some safety stuff and add suspense support in
2021-09-13 18:55:43 -04:00
Jonathan Kelley
79e8df26f5
wip: fix props update
2021-09-13 12:42:38 -04:00
Jonathan Kelley
5a09ec1610
wip: more clean up
2021-09-13 01:14:09 -04:00
Jonathan Kelley
8b3ac0b57c
perf: remove global allocation for props
2021-09-13 00:59:08 -04:00
Jonathan Kelley
369b36b2c6
wip: change around how deadline works
2021-09-09 21:01:38 -04:00
Jonathan Kelley
da8159190b
polish: tests and documentation
2021-09-09 20:58:48 -04:00
Jonathan Kelley
3f68be79ae
wip: documentation and badges
2021-09-07 18:25:57 -04:00
Jonathan Kelley
1a6b238829
wip: naming
2021-09-03 11:28:09 -04:00
Jonathan Kelley
725b4a1d7f
wip: fix some event stuff for web and core
2021-09-02 00:37:57 -04:00
Jonathan Kelley
dfe9f86bff
wip: garbage collection
2021-09-02 00:16:49 -04:00
Jonathan Kelley
958c02a26e
wip: working down warnings
2021-09-02 00:10:09 -04:00
Jonathan Kelley
a652090dc5
wip: add test_dom
2021-09-01 23:57:34 -04:00
Jonathan Kelley
44b4384961
wip: more scheduler work
2021-09-01 23:33:25 -04:00
Jonathan Kelley
1cd5e69712
wip: more work on scheduler
2021-09-01 23:22:34 -04:00
Jonathan Kelley
5c3dc0a874
wip: more work on rebuild
2021-09-01 15:52:38 -04:00
Jonathan Kelley
fac2e56ed6
feat: update root props
2021-09-01 15:45:53 -04:00
Jonathan Kelley
c321532a6c
feat: some docs, cleaning
2021-09-01 00:57:04 -04:00
Jonathan Kelley
5cbdc571e3
more cleanup
2021-08-31 12:28:44 -04:00
Jonathan Kelley
9f99f46cfd
wip: more cleanup in scheduler
2021-08-27 09:56:49 -04:00
Jonathan Kelley
31702dbf87
feat: wire up resource pool
2021-08-27 09:53:26 -04:00
Jonathan Kelley
927b05f358
wip: cleanup public apis
2021-08-27 09:40:04 -04:00
Jonathan Kelley
8b0eb87c72
wip: refactor
2021-08-26 22:05:09 -04:00
Jonathan Kelley
9ad5e49654
wip: algo for scheduler finished
2021-08-26 17:05:28 -04:00
Jonathan Kelley
5f63eda294
wip: feeling goodish about scheduler
2021-08-26 03:33:38 -04:00
Jonathan Kelley
bcaa76a37f
wip: some structure
2021-08-26 02:41:30 -04:00
Jonathan Kelley
ac3a7b1fbc
wip: considering making vdom passed verywehre
2021-08-26 01:52:50 -04:00
Jonathan Kelley
d4d7114beb
wip: more work on scheduler
2021-08-25 17:17:44 -04:00
Jonathan Kelley
07efb6a1b6
wip: it compiles again
2021-08-25 17:09:16 -04:00
Jonathan Kelley
41cc42919d
wip: more overhaul on virtualevents
2021-08-25 16:40:18 -04:00
Jonathan Kelley
cef116aa3a
wip: more work on priority
2021-08-25 15:54:33 -04:00
Jonathan Kelley
05e960b6b0
wip: refactor to fix some ownership quirks
2021-08-25 12:42:50 -04:00
Jonathan Kelley
3bf19d8106
wip: more work on web
...
this commit adds complete event support for web-sys but with a few hole
2021-08-25 10:49:18 -04:00
Jonathan Kelley
59219b9ef2
wip: ricraf polyfill
2021-08-24 16:36:00 -04:00
Jonathan Kelley
8b0d04ce58
wip: ric_raf wired up
2021-08-24 16:29:10 -04:00
Jonathan Kelley
f457b71131
feat: rebuild doesn't return errors
2021-08-24 15:12:20 -04:00
Jonathan Kelley
cdcd8611e8
wip: it works but the page is backwards
2021-08-24 12:43:46 -04:00
Jonathan Kelley
a0a977a12d
wip: more test
2021-08-24 11:03:19 -04:00
Jonathan Kelley
0479252a5f
feat: keyed diffing
2021-08-24 10:01:01 -04:00
Jonathan Kelley
778baffb10
wip: it works?
2021-08-23 15:35:26 -04:00
Jonathan Kelley
082765f687
wip: refactor non_keyed diff
2021-08-23 13:41:47 -04:00
Jonathan Kelley
e6f56563bc
feat: tests and benchmarks
2021-08-23 13:15:57 -04:00
Jonathan Kelley
2d541eca64
wip: structure coming together and tests
2021-08-23 12:11:45 -04:00
Jonathan Kelley
16bfc6d248
wip: compiles again
2021-08-23 10:43:49 -04:00
Jonathan Kelley
db6d0184aa
feat: dedicated mutations module
2021-08-22 17:08:25 -04:00
Jonathan Kelley
1622f484b3
wip: basic creates working properly
2021-08-21 23:04:34 -04:00
Jonathan Kelley
24572b63de
wip: tests added for new iterative
2021-08-21 13:24:47 -04:00
Jonathan Kelley
2ce0752a9c
feat: fix compiling
2021-08-21 11:29:29 -04:00
Jonathan Kelley
0987760958
wip: moving over instructions
2021-08-20 11:39:13 -04:00
Jonathan Kelley
7b068202ce
wip: remove old create
2021-08-20 10:44:58 -04:00
Jonathan Kelley
64f289a61c
wip: back to vnode enum
2021-08-20 10:34:41 -04:00
Jonathan Kelley
9652ccdcf1
wip: move from recursive to iterative
2021-08-19 02:50:35 -04:00
Jonathan Kelley
f41cff571f
wip: working on async diff
2021-08-17 22:25:09 -04:00
Jonathan Kelley
882d69571d
wip: more work on scheduler
2021-08-15 10:13:03 -04:00
Jonathan Kelley
9d14faf62c
wip: scheduler skeleton
2021-08-10 12:16:49 -04:00
Jonathan Kelley
5965bee1d1
wip: more work on deadline, support immediates
2021-08-10 01:38:58 -04:00
Jonathan Kelley
97745c6a7f
wip: got the structure figured out!
2021-08-10 01:21:13 -04:00
Jonathan Kelley
85e2dc259a
wip: close on putting it all together
...
just gotta tie a bow
2021-08-10 00:29:53 -04:00
Jonathan Kelley
c1afeba1ef
wip: groundwork for noderefs
2021-08-09 17:09:33 -04:00
Jonathan Kelley
a44e9fcffa
wip: more work on jank free
2021-08-09 13:17:19 -04:00
Jonathan Kelley
1a323835c8
wip: on collaborative scheduling
2021-08-09 02:37:11 -04:00
Jonathan Kelley
fac42339c2
feat: mutations
2021-08-08 15:15:16 -04:00
Jonathan Kelley
f2334c17be
wip: bottom up dropping
2021-08-05 22:23:41 -04:00
Jonathan Kelley
687cda1b6d
feat: re-enable suspense
2021-07-30 22:14:06 -04:00
Jonathan Kelley
cfa0247cbb
wip: websys dom working properly
2021-07-30 17:04:04 -04:00
Jonathan Kelley
d717c22d9c
feat: keyed diffing!!
2021-07-30 16:07:42 -04:00
Jonathan Kelley
0a0be95c3e
wip: get keyed diffing compiling
2021-07-30 10:35:47 -04:00
Jonathan Kelley
1749eba8eb
feat: more and more sophisticated diff
2021-07-29 18:56:09 -04:00
Jonathan Kelley
d618092e9d
feat: a new vnode type for anchors
2021-07-29 18:04:09 -04:00
Jonathan Kelley
63a85e4865
wip: more work on bumpframe
2021-07-29 00:04:59 -04:00
Jonathan Kelley
49856ccd68
wip: making progress on diffing and hydration
2021-07-28 21:46:53 -04:00
Jonathan Kelley
e5c88fe3a4
feat: make hooks free-functions
2021-07-27 11:28:05 -04:00
Jonathan Kelley
f782e14211
feat: omg what a dumb mistake
2021-07-27 00:27:07 -04:00
Jonathan Kelley
4a0068f099
feat: bless up, no more segfaults
2021-07-26 12:14:48 -04:00
Jonathan Kelley
7dfe89c958
feat: wire up event delegator for webview
2021-07-24 02:52:05 -04:00
Jonathan Kelley
0a907b35c6
feat: fix some lifetime issues
2021-07-24 00:40:34 -04:00
Jonathan Kelley
dfaf5adee1
Feat: solve some issues regarding listeners
2021-07-24 00:29:23 -04:00
Jonathan Kelley
6084fbcd11
wip: move to slab
2021-07-23 17:03:51 -04:00
Jonathan Kelley
f644d7c441
wip: move things into a "shared" object
2021-07-23 10:27:43 -04:00
Jonathan Kelley
1745a44d94
wip: cleanup
2021-07-21 17:05:48 -04:00
Jonathan Kelley
6051b0ec86
wip: fill out the snippets
2021-07-20 19:03:49 -04:00
Jonathan Kelley
4a72b3140b
feat: amazingly awesome error handling
2021-07-18 12:39:32 -04:00
Jonathan Kelley
05c909f320
wip: some ideas
2021-07-18 03:54:42 -04:00
Jonathan Kelley
583fdfa561
docs: big updates to the reference
2021-07-16 16:11:25 -04:00
Jonathan Kelley
caf772cf24
wip: docs, html! macro, more
2021-07-16 00:27:06 -04:00
Jonathan Kelley
6aaad1c9ef
wip: heuristics engine
2021-07-15 04:17:45 -04:00
Jonathan Kelley
00231adfa2
feat: code quality improvements for core
2021-07-15 04:09:28 -04:00
Jonathan Kelley
37ed4bed8c
wip: more work on suspense and documentation
2021-07-15 03:38:09 -04:00
Jonathan Kelley
4837d8e741
feat: suspense!
2021-07-15 00:40:37 -04:00
Jonathan Kelley
de9f61bcf4
feat: more suspended nodes!
2021-07-14 23:18:02 -04:00
Jonathan Kelley
c52af221f7
wip: basic support for scheduled rendering
2021-07-14 18:19:51 -04:00
Jonathan Kelley
80e6c25698
feat: move over to push based mechanism
2021-07-14 17:39:26 -04:00
Jonathan Kelley
e7238762ae
feat: architecture document and edit list
2021-07-14 17:04:58 -04:00
Jonathan Kelley
3a57b94262
feat: task system works
...
but I broke the other things :(
2021-07-14 02:04:19 -04:00
Jonathan Kelley
84c3e9fcb1
wip: cargo fix
2021-07-13 16:54:07 -04:00
Jonathan Kelley
beceda511c
wip: cargo fix
2021-07-13 16:52:25 -04:00
Jonathan Kelley
fd03b9d252
wip: cargo fix
2021-07-13 16:49:22 -04:00
Jonathan Kelley
c7ca7c2273
wip: cargo fix
2021-07-13 16:48:47 -04:00
Jonathan Kelley
775e9e29b8
wip: cut down on errors
2021-07-13 16:48:11 -04:00
Jonathan Kelley
996247a164
wip
2021-07-13 15:34:12 -04:00
Jonathan Kelley
4091846934
feat: add aria
2021-07-13 00:56:39 -04:00
Jonathan Kelley
c79d9ae674
feat: buff up html allowed attributes
2021-07-12 23:44:20 -04:00
Jonathan Kelley
a05047d01e
wip: use the new structure
2021-07-12 18:19:27 -04:00
Jonathan Kelley
fb0c6d2ea4
chore: remove unnecessary import
2021-07-12 11:03:35 -04:00
Jonathan Kelley
68ed1c04e7
wip: ....sigh..... so the diffing algorithm is robust
...
but it's still not finished.
We need to re-enable the fancier keyed diffing versions some point (soon!).
2021-07-12 03:58:46 -04:00
Jonathan Kelley
ff0a3d1c83
wip: lots of changes to diffing
2021-07-12 02:23:46 -04:00
Jonathan Kelley
56e7eb83a9
wip: more examples
2021-07-11 19:31:07 -04:00
Jonathan Kelley
304259d818
wip: move examples around
2021-07-11 18:39:45 -04:00
Jonathan Kelley
269e81b0fd
example: ssr + tide
2021-07-11 17:24:47 -04:00
Jonathan Kelley
bbcb5a0234
feat: enable components in ssr
2021-07-11 15:17:55 -04:00
Jonathan Kelley
9abb0470b7
feat: static node infrastructure and ssr changes
2021-07-11 14:49:52 -04:00
Jonathan Kelley
975fa566f9
wip: more refactor for async
2021-07-09 12:47:41 -04:00
Jonathan Kelley
8cfc437bfe
wip: some project refactor
2021-07-09 11:54:07 -04:00
Jonathan Kelley
feab50f24a
wip: some work
2021-07-09 03:39:45 -04:00
Jonathan Kelley
58ab51a4e4
wip: more refactor
2021-07-09 01:42:26 -04:00
Jonathan Kelley
c811a8982c
wip: more refactor
2021-07-09 01:37:34 -04:00
Jonathan Kelley
9276fd7db7
wip: refactor
2021-07-09 01:36:18 -04:00
Jonathan Kelley
1cc1679a6b
feat: refactor out the hooks implementation
2021-07-09 01:26:15 -04:00
Jonathan Kelley
eb82051000
examples: webview and async
2021-07-08 23:25:27 -04:00
Jonathan Kelley
99d94b69ab
feat: move webview to wry
2021-07-08 12:01:31 -04:00
Jonathan Kelley
2547da36a0
wip: more examples
2021-07-08 10:17:51 -04:00
Jonathan Kelley
e4cdb645aa
feat: beaf up the use_state hook
2021-07-08 09:29:12 -04:00
Jonathan Kelley
fd7933561f
chore: move CLI into its own "studio" app
2021-07-07 16:58:23 -04:00
Jonathan Kelley
98a09339fd
wip: move some examples around
2021-07-07 16:19:10 -04:00
Jonathan Kelley
cca7c5fc3a
wip: remove the scoped trait
2021-07-07 15:07:46 -04:00
Jonathan Kelley
36542b482f
wip: move the functions around a bit
2021-07-07 14:37:31 -04:00
Jonathan Kelley
a38a81e129
wip: fix issues with lifetimes
...
this commit fixes some lifetime issues regarding having to "move" data into the IntoVNode closure.
2021-07-07 13:51:55 -04:00
Jonathan Kelley
22e659c2bd
feat: namespaced attributes
...
this commit adds namespaced attributes. This lets us support attribute groups, and thus, inline styles.
This namespaced attribute stuff is only available for styles at the moment, though it theoretically could be enabled for any other attributes.
2021-07-06 23:04:33 -04:00
Jonathan Kelley
11f89e5d33
wip: more examples
2021-07-06 12:13:00 -04:00
Jonathan Kelley
904b26f711
feat: add edits back! and more webview support!
...
This commit adds a new type - the DomEdit - for serializing the changes made by the diffing machine. The architecture of how DomEdits fit into the cooperative scheduling is still TBD but it will allow us to build change lists without applying them immediately. This is more performant and allows us to only render parts of the page at a time.
This commit also adds more infrastructure around webview. Dioxus can now run on the web, generate static pages, run in the desktop, and run on mobile, with a large part of thanks to webview.
2021-07-05 18:37:15 -04:00
Jonathan Kelley
e8f29a8f8a
wip: enable more diffing
2021-07-05 01:11:49 -04:00
Jonathan Kelley
b5e5ef171a
feat: two calculator examples
2021-07-02 15:48:19 -04:00
Jonathan Kelley
d9e6d0925b
docs: examples
2021-07-02 01:30:52 -04:00
Jonathan Kelley
952a91d540
wip
2021-07-01 14:14:59 -04:00
Jonathan Kelley
93900aac44
concept: integrate signals
2021-06-30 14:08:12 -04:00
Jonathan Kelley
7665f2c6cf
feat: move to slotmap
2021-06-29 22:44:21 -04:00
Jonathan Kelley
21685fbb16
wip: more work on diffing
2021-06-28 22:22:11 -04:00
Jonathan Kelley
f4fb5bb454
feat: integrate serialization and string borrowing
...
This commit adds lifetimes to the diff and realdom methods so consumers may borrow the contents of the DOM for serialization or asynchronous modifications.
2021-06-28 12:05:17 -04:00
Jonathan Kelley
9813f23cdf
wip: more work on diffing machine
2021-06-26 22:13:57 -04:00
Jonathan Kelley
ca3b80f069
wip: more work on diffing.
...
This commit is working on the diffing algorithm. We're *mostly* there but need to get fragments wired in and then keyed elements need to be re-implemented. For Dioxus core, this is the last major technical hurdle barring "fibers" (suspense) and attribute groups (inline styles).
2021-06-26 03:15:20 -04:00
Jonathan Kelley
895cc0142b
wip: stack-based "real child iterator"
2021-06-26 03:06:29 -04:00
Jonathan Kelley
0826fdfee1
docs: more docs
2021-06-26 02:05:20 -04:00
Jonathan Kelley
ea91fc984d
perf: refcell to cell for hookidx
2021-06-26 01:29:51 -04:00
Jonathan Kelley
81382e7044
chore: rename ctx to cx
2021-06-25 21:15:33 -04:00
Jonathan Kelley
7fbaf69cab
Docs: more examples and docs
2021-06-24 11:09:38 -04:00
Jonathan Kelley
f5683a2346
wip: docs
...
Worked a bit on adding more examples. Trying out a new "antipattern" example to show how *not* to use Dioxus.
2021-06-23 22:32:54 -04:00
Jonathan Kelley
9d7ee79826
feat: events work again!
2021-06-23 01:44:48 -04:00
Jonathan Kelley
73047fe956
feat: props memoization is more powerful
...
This commit solves the memoization , properly memoizing properties that don't have any generic parameters. This is a rough heuristic to prevent non-static lifetimes from creeping into props and breaking our minual lifetime management.
Props that have a generic parameter are opted-out of the `partialeq` requirement and props *without* lifetimes must implement partialeq. We're going to leave manual disabling of memoization for future work.
2021-06-22 17:20:54 -04:00
Jonathan Kelley
7102fe5f98
docs: add some more sources in the core implementation
2021-06-21 01:35:12 -04:00
Jonathan Kelley
cff0547f1a
wip: get diff compiling
...
Currently working through the normalization process. Occasionally, we want to iterate through all the nodes that we know have a real image in the dom. However, fragments and components don't directly have a mirror in the dom. This commit is exploring the concept of a custom iterator that explores every node in an array of nodes, returning only valid nodes which may be mounted to the dom. A big issue we're working through is heavily nested rootless nodes - something not terribly common but important nonetheless.
Inferno, React, and Preact all perform a mutative-form of normalization which alter the children list before comparing to the previous. Mostly, we're concerned about fragments in lists and heavily nested components that do not render real elements.
2021-06-21 00:52:37 -04:00
Jonathan Kelley
79127ea6cd
wip: moving to IDs
2021-06-20 02:16:42 -04:00