Commit graph

265 commits

Author SHA1 Message Date
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
Jonathan Kelley
0987760958 wip: moving over instructions 2021-08-20 11:39:13 -04:00
Jonathan Kelley
9652ccdcf1 wip: move from recursive to iterative 2021-08-19 02:50:35 -04:00
Jonathan Kelley
882d69571d wip: more work on scheduler 2021-08-15 10:13:03 -04:00
Jonathan Kelley
c1afeba1ef wip: groundwork for noderefs 2021-08-09 17:09:33 -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
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
d618092e9d feat: a new vnode type for anchors 2021-07-29 18:04:09 -04:00
Jonathan Kelley
49856ccd68 wip: making progress on diffing and hydration 2021-07-28 21:46:53 -04:00
Jonathan Kelley
beceda511c wip: cargo fix 2021-07-13 16:52:25 -04:00
Jonathan Kelley
305ff919ef Feat: ensure mutabality is okay when not double-using the components 2021-03-12 16:58:30 -05:00
Jonathan Kelley
83451372aa Feat: clean up code 2021-02-24 01:32:50 -05:00
Jonathan Kelley
07341d2c65 Feat: include the helper 2021-02-03 02:26:04 -05:00
Jonathan Kelley
9c616ea5c0 Feat: more docs, dissolve vnode crate into dioxus-core 2021-01-16 01:30:48 -05:00