Commit Graph
21 Commits
Author SHA1 Message Date
Evan Almloff 3279068569 clean up view code 2023-01-22 21:06:59 -06:00
Evan Almloff 0a5499508a simplify api and pass clippy 2023-01-21 18:30:42 -06:00
Evan Almloff adff97036d clean up some unused code + clippy 2023-01-21 07:44:38 -06:00
Evan Almloff e81f05fe9d make native core compile 2023-01-20 20:24:44 -06:00
Evan Almloff ebb6300fc7 clean up the API 2023-01-20 13:23:26 -06:00
Evan Almloff 1587b41829 WIP make ECS work with reactive system 2023-01-19 14:40:56 -06:00
Evan Almloff e36874d86e use node id 2023-01-18 12:14:59 -06:00
Evan Almloff 91fc594708 ECS based tree data struture 2023-01-16 14:33:11 -06:00
Evan Almloff ecf4ee275a Merge branch 'upstream' into simplify-native-core 2023-01-08 14:03:44 -06:00
Evan Almloff 51dba50c04 use BumpBox<Any> and FromAnyValue instead of sync bounds 2023-01-02 14:40:25 -06:00
Evan Almloff 64db1def9f make clippy happy 2023-01-02 12:37:16 -06:00
Evan Almloff 6d60c483f8 make it pass miri 2023-01-02 11:01:17 -06:00
Evan Almloff 6f6f6c258f add allow 2023-01-01 18:56:39 -06:00
Evan Almloff 359b4e514b remove some more unnessisary usages of unsafe 2023-01-01 18:44:54 -06:00
Evan Almloff 3c507479cb update the update_state method 2023-01-01 12:10:19 -06:00
Evan Almloff 9e971fbe11 work on integrating new pass system 2022-12-31 22:34:16 -06:00
Evan Almloff e76cd63ee3 create new state system 2022-12-30 20:29:28 -06:00
Evan Almloff c1fc00ed53 remove unsafe sync impl 2022-12-30 15:23:04 -06:00
Evan Almloff 845f2fb7a9 use get2_mut instead of unsafe 2022-12-30 14:19:56 -06:00
= 74e9d5977a add sync behind a feature flag 2022-12-11 17:31:15 -06: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