Commit graph

1472 commits

Author SHA1 Message Date
Evan Almloff
bf47f64852 Merge branch 'upstream' into return-from-js 2022-12-08 11:25:15 -06:00
Evan Almloff
35bebbf0cb wrap the web eval result in a compatability layer 2022-12-08 10:57:09 -06:00
Evan Almloff
e863ef29b8 allow returning values from use_eval 2022-12-08 10:44:56 -06:00
Jonathan Kelley
e6920e9b34 chore: fix web 2022-12-07 16:02:35 -08:00
Jonathan Kelley
1c3f4b2bc4 fix: use weak instead of sync 2022-12-07 15:42:39 -08:00
Jonathan Kelley
7ce07e3164 chore: fix tests passing 2022-12-07 15:29:32 -08:00
Jonathan Kelley
0bf4725639 fix: namespacing of dynamic attributes 2022-12-07 15:11:51 -08:00
Jonathan Kelley
db5b65b6cb chore: make cargo check happy with new apis 2022-12-07 14:51:14 -08:00
Jonathan Kelley
a252774226 chore: clean up docs with changes to templates 2022-12-07 13:39:22 -08:00
Jonathan Kelley
6184ea500b chore: also fix native core 2022-12-07 13:20:31 -08:00
Jonathan Kelley
4eefc3f854 chore: rename all &cx to cx, make clipppy happy 2022-12-07 13:11:40 -08:00
Jonathan Kelley
e8133e9449 fix: ios buillds 2022-12-07 12:50:43 -08:00
Jonathan Kelley
5673017def chore: clean up the repo some 2022-12-06 17:50:25 -08: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
e8ae1fb83e chore: comment out hot reloading stuff 2022-12-06 16:38:19 -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
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
99a818996e chore: make warnings go away 2022-12-05 14:18:28 -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
ba26b1001a chore: clean up web impl 2022-11-30 17:44:00 -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