Commit graph

29 commits

Author SHA1 Message Date
Evan Almloff
4738352955 remove native-core-macro 2023-01-22 16:41:15 -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
Jon Kelley
e5b39bb61f
Merge pull request #744 from Demonthos/update-readmes
Update READMEs and tags for the 0.3 release
2023-01-10 18:21:55 -08:00
Jonathan Kelley
13e58daa20 Merge branch 'master' into jk/add-miri-to-ci 2023-01-10 17:53:25 -08:00
Evan Almloff
52d5c8d4e7 update READMEs and tags for the 0.3 release 2023-01-10 10:16:11 -06:00
Jonathan Kelley
a0961583d1 fix: versions and readme 2023-01-04 14:58:06 -05:00
Evan Almloff
93a95b82a4 bump lightningcss version 2023-01-04 11:18:32 -06:00
Jon Kelley
cb2d672105
Merge pull request #690 from Demonthos/lightning-css-taffy-attributes
use lightning css to parse Taffy layout attributes
2023-01-03 00:53:19 -05:00
Evan Almloff
51dba50c04 use BumpBox<Any> and FromAnyValue instead of sync bounds 2023-01-02 14:40:25 -06:00
Evan Almloff
6d60c483f8 make it pass miri 2023-01-02 11:01:17 -06:00
Jonathan Kelley
b351345db9 chore: use miri on native-core too 2022-12-30 14:45:45 -05:00
Evan Almloff
579d6ce1f9 use lightning css to parse layout attributes for taffy 2022-12-29 13:31:33 -06:00
=
53b436c684 remove AnyValueBounds and add some docs 2022-12-11 21:40:40 -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
Demonthos
3b7b503333
Refactor Mutations and simplify Templates (#578)
* update mutations to be path based rather than renderer integrated
2022-10-18 14:42:45 -07:00
saicu
e8c48d46cf
replace fxhash crate with rustc-hash (#588) 2022-10-12 18:27:26 -07:00
Evan Almloff
dcfe60c164 use taffy instead of stretch2 2022-06-10 17:23:30 -05:00
Evan Almloff
a5b9200e47 calculate absolute position 2022-05-10 18:13:05 -05:00
Jonathan Kelley
85a09314a6 chore: fill out cargo meta 2022-05-03 00:02:09 -04:00
Jonathan Kelley
3febd42588 Release dioxus-core v0.2.1, dioxus-core-macro v0.2.1, dioxus-html v0.2.1, dioxus-interpreter-js v0.2.1, dioxus-desktop v0.2.3, dioxus-hooks v0.2.1, dioxus-liveview v0.1.0, dioxus-native-core v0.2.0, dioxus-native-core-macro v0.2.0, dioxus-router v0.2.3, dioxus-ssr v0.2.1, dioxus-tui v0.2.2, dioxus-web v0.2.1, fermi v0.2.1, dioxus v0.2.4 2022-05-02 23:57:20 -04:00
Jonathan Kelley
22a423e2f6 chore: use fixed stretch version 2022-05-02 22:17:01 -04:00
Evan Almloff
436c6a02f7 add node dependancy 2022-04-16 12:27:52 -05:00
Evan Almloff
92f48169e9 WIP new api 2022-04-08 21:17:37 -05:00
Evan Almloff
351722d136 update dependancy to stretch2 master and remove refrences to tree 2022-04-04 13:37:04 -05:00
Evan Almloff
7f4e257757 bugfixes, testing and refactoring 2022-03-26 20:32:49 -05:00
Evan Almloff
499971e9b3 wip lazy layout 2022-03-26 20:24:44 -05:00