Evan Almloff
e5a5850354
merge master
2022-12-20 20:48:28 -06:00
Jonathan Kelley
2fa3fe1fc0
fix: use arcwake instead of rcwake
2022-12-20 11:13:06 -08:00
Jonathan Kelley
18157eeed1
fix: dont panic in panic test
2022-12-19 20:10:34 -08:00
Evan Almloff
67921cacc3
post merge fixes
2022-12-19 21:20:46 -06:00
Evan Almloff
493ee1cb3f
Merge branch 'upstream' into fix-hot-reloading
2022-12-19 21:17:22 -06:00
Jonathan Kelley
d3be971f4e
chore: rollback to option instead of anyhow
2022-12-19 18:06:13 -08:00
Evan Almloff
4364a4b511
handle updating templates better
2022-12-19 19:28:44 -06:00
Jonathan Kelley
7a4b0d7c2d
fix: use stack optimization for replacer
2022-12-19 11:14:01 -08:00
Evan Almloff
96ce704f8e
fix serialization
2022-12-19 11:48:28 -06:00
Jonathan Kelley
9241be6e06
Merge branch 'master' into fix-non-str-attributes
2022-12-17 02:51:25 -08:00
Jonathan Kelley
a42660a451
fix: dont handle wakeups from finished tasks
2022-12-17 02:51:13 -08:00
Jonathan Kelley
3faef30075
fix: dont clone callbacks
2022-12-17 01:55:18 -08:00
Jonathan Kelley
c409fecaaf
fix: sync with master
2022-12-17 01:52:17 -08:00
Jonathan Kelley
cc7736302a
Merge branch 'master' into fix-non-str-attributes
2022-12-17 01:51:13 -08:00
Jonathan Kelley
482ae5e395
fix: no comments
2022-12-16 22:44:07 -08:00
Jonathan Kelley
255a903d5a
chore: no dbg
2022-12-16 22:42:57 -08:00
Jonathan Kelley
e0390ff608
fix: advance dynamic root
2022-12-16 22:39:27 -08:00
Jonathan Kelley
81dc134323
fmt
2022-12-16 21:10:20 -08:00
Jonathan Kelley
1ad86890a4
chore: reorganize miri
2022-12-16 20:41:31 -08:00
Jonathan Kelley
ea9245b0f7
fix: make miri pass
2022-12-16 20:39:19 -08:00
Jonathan Kelley
261d688b6e
fix: get miri passing
2022-12-16 20:26:04 -08:00
Jonathan Kelley
4d73ffa361
fix: save listeners, borrowed props, and pull back props
2022-12-16 19:54:33 -08:00
Jonathan Kelley
b6a8391e07
chore: dont print logs in core
2022-12-16 14:21:10 -08:00
Jon Kelley
5ac9b595ea
Revert "fix: liveview interpreter using new templates"
2022-12-16 14:20:05 -08:00
=
14dd568987
Merge branch 'upstream-master' into fix-hot-reloading
2022-12-16 10:07:11 -06:00
Jon Kelley
7ec55aa563
Merge pull request #655 from DioxusLabs/jk/fix-liveview
...
fix: liveview interpreter using new templates
2022-12-15 21:11:21 -08:00
=
0d9c350d5e
implement for web and desktop
2022-12-15 21:16:37 -06:00
Jonathan Kelley
7790d2c065
chore: simplify liveview abstraction
2022-12-15 18:46:59 -08:00
Jonathan Kelley
4e75c707d1
fix: go in reverse for building paths
2022-12-15 15:49:52 -08:00
Jonathan Kelley
8530db69e1
fix: dont panic on cleanup
2022-12-15 14:26:05 -08:00
Jonathan Kelley
3845451128
Merge branch 'master' of github.com:DioxusLabs/dioxus
2022-12-14 08:51:59 -08:00
Jonathan Kelley
c90be6bdc5
fix: dont panc
2022-12-14 08:51:28 -08:00
Jonathan Kelley
cee63ae370
fix: spawn task
2022-12-13 16:04:41 -08:00
Jonathan Kelley
fc2aaa7df5
fix: cargo check
2022-12-13 15:54:59 -08:00
Jonathan Kelley
02b1a73890
fix: use tokio for test
2022-12-13 15:48:40 -08:00
Jonathan Kelley
74fba3b579
fix: remove scope from listener
2022-12-13 15:36:15 -08:00
Jonathan Kelley
b659f4d5d6
chore: add back template diffing
2022-12-13 15:18:20 -08:00
Jonathan Kelley
5c20e651da
fix: get rollover working
2022-12-13 14:44:47 -08:00
Jonathan Kelley
d4b6bb8a7b
feat: fix the scope rollover bug
2022-12-12 18:31:30 -08:00
Jonathan Kelley
d93eed4c29
feat: allow dynamic nodes to be into dynamic nodes
2022-12-12 11:20:25 -08:00
=
53b436c684
remove AnyValueBounds and add some docs
2022-12-11 21:40:40 -06:00
=
875d17ea25
Merge remote-tracking branch 'upstream/master' into fix-non-str-attributes
2022-12-11 21:30:00 -06:00
=
73ec4abfdf
Merge remote-tracking branch 'upstream/master' into fix-non-str-attributes
2022-12-11 21:26:38 -06:00
=
2dee361b60
clean up features flags and AnyValueContainer
2022-12-11 21:25:55 -06:00
=
74e9d5977a
add sync behind a feature flag
2022-12-11 17:31:15 -06:00
Jonathan Kelley
6fd5ac38bb
Merge branch 'master' of github.com:DioxusLabs/dioxus
2022-12-11 13:59:11 -08:00
Jonathan Kelley
0b3e8a4493
chore: add new import to prelude
2022-12-11 13:58:58 -08:00
Evan Almloff
0ac02cc893
move any bound to trait instead of implementation
2022-12-10 13:24:39 -06:00
Evan Almloff
e4a7e4582b
make downcast_ref_unchecked unsafe
2022-12-10 12:59:12 -06:00
Evan Almloff
0813d531f1
add some utilities around AnyValueRc
2022-12-10 12:50:15 -06:00
Evan Almloff
da64b0c2a8
WIP parising
2022-12-10 12:29:15 -06:00
Sam Schmeink
6166d4eb73
fix: replace fxhash with rustc-hash
2022-12-10 03:56:48 +01:00
Jonathan Kelley
f153cdf61a
fix: dont panic lazynodes
2022-12-09 16:40:09 -08:00
Evan Almloff
0c0158f62d
Merge branch 'upstream' into fix-non-str-attributes
2022-12-09 16:24:02 -06:00
Evan Almloff
8a1c96a68c
fix custom attribute value support
2022-12-09 16:18:37 -06:00
Evan Almloff
99a4a9d45b
Merge branch 'upstream' into optimize-templates-v3
2022-12-07 18:29:02 -06:00
Evan Almloff
56b027ef33
fix more lints
2022-12-07 17:24:50 -06:00
Evan Almloff
cbaf36251f
cargo fix
2022-12-07 17:24:11 -06:00
Evan Almloff
b79ad4f50e
Merge remote-tracking branch 'upstream/master' into optimize-templates-v3
2022-12-07 17:20:31 -06:00
Jonathan Kelley
db5b65b6cb
chore: make cargo check happy with new apis
2022-12-07 14:51:14 -08:00
Evan Almloff
5c6c235df0
cleanup code
2022-12-07 15:48:25 -06:00
Jonathan Kelley
a252774226
chore: clean up docs with changes to templates
2022-12-07 13:39:22 -08:00
Evan Almloff
84416cbe6a
check if templates are ptr eq before doing full equality check
2022-12-07 10:11:27 -06:00
Evan Almloff
08da53303d
optimizations aroud preallocating
2022-12-07 08:44:54 -06:00
Jonathan Kelley
5a0ae67ccb
chore: make clippy happy
2022-12-06 17:44:29 -08:00
Jonathan Kelley
34d9aafe0e
feat: overhaul ssr
2022-12-06 17:41:47 -08:00
Jonathan Kelley
1b14b309e9
chore: clean up desktop
2022-12-06 16:37:28 -08:00
Demonthos
67a6fa9eb8
Implement new mutations with native core ( #630 )
...
* work on seperating tree struture from realdom
* intial update to new mutations
* handle height
* update to taffy 0.2
* add as_varient functions to OwnedAttributeValue
* make get node parent mut optionally return a parent
* work on upward pass
* add more code for parrellel passes
* make resolve passes public
* more work on parallel passes
* fix deadlock and add more tests
* move height into the tree instead of the realdom
* make passes exicute in parallel instead of executing invidual passes in parellel
* fix some warnings
* add up dependant test
* clean up examples
* work on intigrating state with passes
* update to new mutations
* work on implementing macro
* make the macro compile
* more progress on macro
* mark cloned nodes as dirty
* update persistant_iterator utility
* fix mask generation
* update tui with new mutations
* more progress updating tui
* some basic tui examples working
* don't push template nodes onto the stack
* update hover example
* update benchmark
* update more examples
* fix root node layout
* ignore out of bounds renders
* update color picker example
* update all events example
* update remaining examples
* update tests
* tests passing
* move persistant iterator test
* update examples
* fix gaps in layout
* fix formatting
* fix memory leak
2022-12-06 15:38:04 -08:00
Jonathan Kelley
b9aad5e8f4
chore: help resolve conflicts
2022-12-06 15:37:06 -08:00
Evan Almloff
6102902387
work on optimizing web implementation
2022-12-06 14:24:35 -06:00
Jonathan Kelley
b182a6ee75
chore: clean up interpreter and bindings
2022-12-05 16:47:04 -08:00
Jonathan Kelley
7b1cdb7d85
feat: get desktop working with new template strategy
2022-12-05 16:08:41 -08:00
Jonathan Kelley
df4a1b6c7a
chore: finish tweaking context api
2022-12-05 15:30:49 -08:00
Jonathan Kelley
e22923eb2d
feat: core tests passing
2022-12-05 14:16:54 -08:00
Jonathan Kelley
b0cccce60a
feat: miri passing
2022-12-05 13:03:52 -08:00
Jonathan Kelley
a61daf220d
feat: context api overhaul
2022-12-02 16:24:49 -08:00
Jonathan Kelley
11a45c8ef0
chore: continue to clean things up
2022-12-01 01:08:49 -05:00
Jonathan Kelley
85657d3906
feat: rip out mutations for templates
2022-12-01 00:46:15 -05:00
Jonathan Kelley
3b166c9edd
wip: clean up some things
2022-11-30 23:54:30 -05:00
Jonathan Kelley
18d6b1ad6f
feat: get web working properly
2022-11-30 17:21:10 -05:00
Jonathan Kelley
3c19def550
chore: get create working and simplify dynamic nodes
2022-11-30 11:24:13 -05:00
Jonathan Kelley
16a521a601
chore: update docs
2022-11-30 10:31:44 -05:00
Jonathan Kelley
03aea885cf
chore: make clippy happy
2022-11-29 16:46:25 -05:00
Jonathan Kelley
7c3d308ab5
chore: make warnings go away
2022-11-29 16:31:04 -05:00
Jonathan Kelley
0027cdd938
chore: get event test working
2022-11-27 09:38:40 -05:00
Jonathan Kelley
565df11f7b
chore: more tests passing
2022-11-27 02:06:04 -05:00
Jonathan Kelley
f614cbb401
wip: migrate all tests to core
2022-11-27 00:56:49 -05:00
Jonathan Kelley
d0554b9ed6
chore: add tests for context api
2022-11-27 00:38:40 -05:00
Jonathan Kelley
04296bb88d
chore: fix tests
2022-11-27 00:25:35 -05:00
Jonathan Kelley
399169800d
chore: dynamic attributes cleanup
2022-11-27 00:22:39 -05:00
Jonathan Kelley
bffb2644a3
fix: node reclaimation
2022-11-25 02:12:29 -05:00
Jonathan Kelley
5713e13ff2
feat: implement ID cycling
2022-11-24 09:11:27 -05:00
Jonathan Kelley
0cfbfc88e2
feat: more tests working
2022-11-24 06:47:14 -05:00
Jonathan Kelley
4dd9a616a5
wip: fragment diffing working
2022-11-23 23:15:01 -08:00
Jonathan Kelley
0266dfdc05
wip: error bubbling
2022-11-23 13:50:48 -08:00
Jonathan Kelley
62d672fc90
wip: play with error code
2022-11-22 23:30:44 -08:00
Jonathan Kelley
09b2ff2736
feat: tests list
2022-11-22 21:44:20 -08:00
Jonathan Kelley
9c4abcbea0
wip: more tests!
2022-11-22 21:32:26 -08:00
Jonathan Kelley
662f58c8bc
wip: add diffing tests
2022-11-22 20:16:14 -08:00
Jonathan Kelley
4bfd936e12
chore: tweak fragments and tests
2022-11-22 19:59:56 -08:00