Commit Graph
71 Commits
Author SHA1 Message Date
Evan Almloff c4845d5c8d update TUI to new native-core 2023-03-12 16:20:01 -05:00
Evan Almloff 865c5aa957 all native-core tests passing 2023-03-12 15:35:48 -05:00
Evan Almloff a8566b4e71 finish shipyard migration in native-core 2023-03-07 16:00:43 -06:00
Evan Almloff b91e010ac7 WIP: use shipyard ecs 2023-02-28 13:26:49 -06:00
Evan Almloff da62e85731 move clone method to nodemut 2023-02-09 13:55:45 -06:00
Evan Almloff 5b822201f7 clean up node mut api 2023-02-09 13:24:45 -06:00
Evan Almloff 0f6eb4fca2 clean up node api 2023-02-08 14:59:47 -06:00
Evan Almloff 9702ee3e19 remove some unused items and inline common methods 2023-02-07 14:58:38 -06:00
Evan Almloff 71e34452da create driven example for tui renderer 2023-02-07 14:14:04 -06:00
Evan Almloff bd07d7754c create node watcher API 2023-02-06 13:40:22 -06:00
Evan Almloff e4c7218fe8 make dioxus an optional dependancy 2023-02-04 20:45:29 -06:00
Evan Almloff 6fe00c4f78 make dioxus dependancy optional 2023-02-04 17:56:30 -06:00
Evan Almloff 6cf0274a5b expose listener methods 2023-02-02 14:26:47 -06:00
Evan Almloff 2f6b8393f8 make parallelism optional 2023-02-02 08:57:23 -06:00
Evan Almloff d67b21c0e9 improve performance 2023-02-01 20:45:11 -06:00
Evan Almloff 71a0bdf71d TUI rendering mostly working 2023-02-01 14:36:56 -06:00
Evan Almloff 0058c7ed32 create a way to create states 2023-01-29 20:28:29 -06:00
Evan Almloff 2c205f8ca5 fix some type bounds 2023-01-29 09:17:06 -06:00
Evan Almloff 9efff74c0c update TUI renderer to new approach 2023-01-28 14:51:05 -06:00
Evan Almloff 4738352955 remove native-core-macro 2023-01-22 16:41:15 -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 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 ecf4ee275a Merge branch 'upstream' into simplify-native-core 2023-01-08 14:03:44 -06:00
Evan Almloff 3a6d06e205 remove nodes from listener list when the node is removed 2023-01-05 08:21:36 -06:00
Evan Almloff 52a74214da don't remove realdom nodes when the element id changes 2023-01-04 09:14:58 -06:00
Jon Kelley 3733ce7332 Merge pull request #711 from Demonthos/realdom-generic-over-custom-types
make the real dom generic over custom types
2023-01-03 15:30:13 -05:00
Evan Almloff bf20b66b38 make the real dom generic over custom types 2023-01-03 12:35:48 -06:00
Evan Almloff ea43b864db remove attributes with the None value 2023-01-03 08:51:48 -06:00
Evan Almloff 56154d90be clean up unused code 2023-01-01 19:00:52 -06:00
Evan Almloff 4db3d8ff40 fix state 2023-01-01 17:21:34 -06:00
Evan Almloff 2d67dabfe5 require Send for S for resolve_passes multithreaded 2023-01-01 15:48:26 -06:00
Evan Almloff 3c507479cb update the update_state method 2023-01-01 12:10:19 -06:00
Evan Almloff bc2925240e implement macro and update tui 2023-01-01 08:52:59 -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 738f1b3ce0 Merge branch 'upstream' into fix-non-str-attributes 2022-12-24 12:52:44 -06:00
Evan Almloff 7eac90065a fix mutations related to keyed lists 2022-12-24 10:58:56 -06:00
Jonathan Kelley cc7736302a Merge branch 'master' into fix-non-str-attributes 2022-12-17 01:51:13 -08:00
Jonathan Kelley 7beb7f0ee4 fix: use and_then 2022-12-13 15:30:40 -08:00
= 74e9d5977a add sync behind a feature flag 2022-12-11 17:31:15 -06:00
Evan Almloff 8a1c96a68c fix custom attribute value support 2022-12-09 16:18:37 -06:00
Evan Almloff 029255c7ac widgets 2022-12-07 20:28:01 -06:00
Jonathan Kelley 6184ea500b chore: also fix native core 2022-12-07 13:20:31 -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 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
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