Jani Mustonen
31f8bab20d
Add ScopeId::ROOT ( #1398 )
...
* add ScopeId::ROOT
* replace ScopeId(0) with ScopeId::ROOT
---------
Co-authored-by: Jani Mustonen <jani.mustonen@taitounited.fi>
2023-08-25 08:31:23 -05:00
Evan Almloff
dc4707ee2a
WIP fix event bubbling
2023-08-23 13:01:37 -05:00
Evan Almloff
b8600d5144
fix tests
2023-08-15 13:11:03 -05:00
Evan Almloff
20296b5038
fix some examples that used the private API
2023-07-26 16:50:04 -07:00
Jonathan Kelley
4240f8428c
Fix: dont use bumpslab anymore, just box scopestates
2023-07-19 18:40:43 -07:00
Jonathan Kelley
163fe68f45
Remove a bit more unsafe
2023-07-19 12:26:32 -07:00
Jonathan Kelley
68253b49d7
cargo fmt
2023-07-14 17:46:14 -07:00
Jonathan Kelley
0f5605b3db
Apply clippy fixes
2023-07-14 17:13:49 -07:00
Jonathan Kelley
f0128a3150
implement suspense using simpler approach
2023-07-14 17:12:07 -07:00
Jonathan Kelley
81075748f6
add simple suspense methods
2023-07-14 16:56:17 -07:00
Jonathan Kelley
cbd88bbcc3
Rip out async components
2023-07-14 16:15:20 -07:00
Evan Almloff
fe162f4a79
expanded fuzzing
2023-06-02 14:20:03 -05:00
Evan Almloff
a01a65a0eb
seperate text and other dynamic nodes
2023-01-12 16:34:46 -06:00
Evan Almloff
260589cd7f
pass clippy
2023-01-12 15:53:33 -06:00
Evan Almloff
8a04a6ab0e
clean up fuzzing test
2023-01-12 15:28:10 -06:00
Evan Almloff
75932a43e0
Merge branch 'upstream' into add-fuzzing-to-core
2023-01-12 15:17:20 -06:00
Jonathan Kelley
c4a18bc24d
chore: clean up some clippy warnings and add clippy lints to CI
2023-01-11 16:13:41 -08:00
Jonathan Kelley
6d24fc3a6f
ci: make CI pass for miri
2023-01-10 18:08:41 -08:00
Jonathan Kelley
13e58daa20
Merge branch 'master' into jk/add-miri-to-ci
2023-01-10 17:53:25 -08:00
Jonathan Kelley
faf94c7b4e
fix: make miri pass on context api
2023-01-09 13:50:33 -08:00
Evan Almloff
112738c23d
improve fuzzing test
2023-01-07 18:52:37 -06:00
Evan Almloff
990b0503e1
remove outdated comment
2023-01-05 10:36:30 -06:00
Evan Almloff
42baadf65d
add fuzzing test to dioxus-core
2023-01-05 10:28:07 -06:00
Evan Almloff
51dba50c04
use BumpBox<Any> and FromAnyValue instead of sync bounds
2023-01-02 14:40:25 -06:00
Jonathan Kelley
0d95568972
chore: add miri and windows test
2022-12-30 14:34:44 -05:00
Evan Almloff
044462876d
Merge branch 'upstream' into fix-non-str-attributes
2022-12-28 20:36:57 -06:00
Jonathan Kelley
d8aa9f032a
feat: none return works
2022-12-23 19:33:15 -05:00
Evan Almloff
08c2440bca
update core tests
2022-12-23 16:10:05 -06:00
Evan Almloff
afd024bcb6
Merge branch 'upstream' into fix-non-str-attributes
2022-12-23 15:53:39 -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
Jonathan Kelley
d3be971f4e
chore: rollback to option instead of anyhow
2022-12-19 18:06:13 -08:00
Jonathan Kelley
7a4b0d7c2d
fix: use stack optimization for replacer
2022-12-19 11:14:01 -08:00
Jonathan Kelley
cc7736302a
Merge branch 'master' into fix-non-str-attributes
2022-12-17 01:51:13 -08:00
Jonathan Kelley
261d688b6e
fix: get miri passing
2022-12-16 20:26:04 -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
Evan Almloff
8a1c96a68c
fix custom attribute value support
2022-12-09 16:18:37 -06:00
Jonathan Kelley
34d9aafe0e
feat: overhaul ssr
2022-12-06 17:41:47 -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
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
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
Jonathan Kelley
0e5a59f9ed
wip: error boundary
2022-11-22 18:38:27 -08:00
Jonathan Kelley
7e6cea3a13
wip: continue to tweak suspense
2022-11-22 10:05:13 -08:00
Jonathan Kelley
12808ec0aa
wip: think about dyn any for ScopeState
2022-11-19 15:24:28 -08:00
Jonathan Kelley
c44bd11fe5
chore: more refactoring, docs
2022-11-11 18:29:27 -08:00
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
4a31b29703
feat: simple tests passing
2022-11-01 18:42:29 -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
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
c2c6d73916
fix: tests should reflect removes
2022-02-27 14:59:36 -05:00
Jonathan Kelley
4a3680ee1b
chore: remove all warnings
2022-02-10 21:00:15 -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
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
e9792e9b95
tests: add miri stress test
2022-01-28 21:43:01 -05:00
Jonathan Kelley
cb2782b4bb
wip: memoize dom in the prescence of identical components
2022-01-05 00:27:22 -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
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
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
b997b8ebbb
feat: enable children properly
2021-12-21 00:46:10 -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
4de16c4779
docs: update local examples and docs to support new syntaxes
2021-12-15 15:56:53 -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
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
36d89beb34
wip: rename
2021-11-28 16:25:42 -05:00
Jonathan Kelley
19df1bda10
feat: bubbling
2021-11-15 09:49:01 -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
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
d2f0547692
wip: move testdom methods into virtualdom
2021-11-09 12:10:11 -05:00
Jonathan Kelley
fffc7ea061
wip: working on re-enabling components
2021-11-07 22:45:41 -05:00
Jonathan Kelley
2559740463
wip: clean up, use old approach to components
2021-11-07 20:59:09 -05:00
Jonathan Kelley
2933e4bc11
wip: major cleanups to scheduler
2021-11-06 23:11:17 -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
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
7b97e009ec
wip: remove cx.children. start to move towards a "children" field
2021-11-01 02:22:08 -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
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
601078f9cf
fix: desktop and mobile
2021-10-22 01:16:39 -04:00
Jonathan Kelley
9726a065b0
feat: massage lifetimes
2021-10-16 17:37:28 -04:00
Jonathan Kelley
4a4c7afca7
feat: shared state mechanisms
2021-10-11 15:35:20 -04:00
Jonathan Kelley
efd0e9b564
feat: support desktop more completely
2021-10-05 03:37:15 -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
7bdad1e2e6
publish: move macro crate out of core
2021-09-24 21:46:23 -04:00
Jonathan Kelley
1a2f91ed91
polish: examples
2021-09-24 00:05:56 -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
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
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
da8159190b
polish: tests and documentation
2021-09-09 20:58:48 -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
c321532a6c
feat: some docs, cleaning
2021-09-01 00:57:04 -04:00
Jonathan Kelley
8b0eb87c72
wip: refactor
2021-08-26 22:05:09 -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
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
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