Commit Graph
152 Commits
Author SHA1 Message Date
Evan Almloff 2f6b8393f8 make parallelism optional 2023-02-02 08:57:23 -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 d53bfb6c56 Merge branch 'upstream' into simplify-native-core 2023-01-28 18:49:19 -06:00
Evan Almloff a74a3b1925 add remaining passes 2023-01-28 15:54:02 -06:00
Evan Almloff ec31014966 fix clippy in TUI 2023-01-28 15:06:03 -06:00
Evan Almloff 9efff74c0c update TUI renderer to new approach 2023-01-28 14:51:05 -06:00
Evan Almloff b6c7d44a27 fix clippy 2023-01-27 20:35:46 -06:00
Jon Kelley 1b597f43d1 Merge pull request #754 from Demonthos/desktop-hot-reload
Implement hot reloading for Desktop, TUI, and Liveview
2023-01-23 09:48:54 -10:00
Evan Almloff fb0c6c1b62 Merge branch 'upstream' into simplify-native-core 2023-01-21 18:33:52 -06:00
Jon Kelley e686e42cfe Merge pull request #790 from Demonthos/make-cursor-agnostic-over-storage
Make text editing utilities in native core agnostic over the text storage
2023-01-21 00:40:16 -08:00
Evan Almloff 20751327f3 apply medium width when the border style is not none to comply with browser behavior 2023-01-20 17:36:41 -06:00
Evan Almloff 8030ae5581 make text editing utilites agnostic over the text storage 2023-01-20 17:09:19 -06:00
Evan Almloff 0c6750d177 fix dependancies 2023-01-13 17:50:32 -06:00
Evan Almloff b3d119b815 Provide option to do full rebuilds when nessisary 2023-01-13 16:13:07 -06:00
Evan Almloff 4e180bd19e remmove comment 2023-01-12 11:00:16 -06:00
= 042b67b61b factor out a hot reloading connect function 2023-01-11 16:43:41 -06:00
Evan Almloff 6eff4438cf implement hot reloading for TUI 2023-01-11 14:20:38 -06:00
Evan Almloff 85fdc77880 fix tui 2023-01-08 15:26:30 -06:00
Evan Almloff ecf4ee275a Merge branch 'upstream' into simplify-native-core 2023-01-08 14:03:44 -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 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 044462876d Merge branch 'upstream' into fix-non-str-attributes 2022-12-28 20:36:57 -06:00
Demonthos 2444c5333f add launch_cfg_with_props to tui (#682) 2022-12-27 08:30:08 -06:00
Jonathan Kelley 8887d65e1b Merge branch 'master' into jk/suspense-rollover 2022-12-25 22:10:22 -05:00
Jonathan Kelley 9b0244ee5c fix: use ready nodes in more places 2022-12-25 01:37:00 -05:00
Evan Almloff afd024bcb6 Merge branch 'upstream' into fix-non-str-attributes 2022-12-23 15:53:39 -06:00
Evan Almloff 6c28de7d05 fix tui 2022-12-22 17:09:00 -06:00
Evan Almloff e5a5850354 merge master 2022-12-20 20:48:28 -06:00
Jonathan Kelley d3be971f4e chore: rollback to option instead of anyhow 2022-12-19 18:06:13 -08:00
Jonathan Kelley 8d7d07db56 chore: make clippy happy in workspace crate 2022-12-19 11:56:44 -08:00
Jonathan Kelley cc7736302a Merge branch 'master' into fix-non-str-attributes 2022-12-17 01:51:13 -08:00
Jon Kelley 5ac9b595ea Revert "fix: liveview interpreter using new templates" 2022-12-16 14:20:05 -08:00
Jonathan Kelley eee191b630 fmt 2022-12-15 20:28:04 -08:00
Jonathan Kelley a81bbb83d6 fix: removed files 2022-12-15 20:24:30 -08:00
Jonathan Kelley 7beb7f0ee4 fix: use and_then 2022-12-13 15:30:40 -08:00
= 73ec4abfdf Merge remote-tracking branch 'upstream/master' into fix-non-str-attributes 2022-12-11 21:26:38 -06:00
Evan Almloff 0813d531f1 add some utilities around AnyValueRc 2022-12-10 12:50:15 -06:00
Evan Almloff 8a1c96a68c fix custom attribute value support 2022-12-09 16:18:37 -06:00
Evan Almloff 129a67cdc6 fix mouse interaction with widgets 2022-12-08 06:40:00 -06:00
Evan Almloff 15701d1c87 make clippy happy 2022-12-07 23:05:00 -06:00
Evan Almloff bbd49bb37c cleanup code and examples 2022-12-07 23:01:13 -06:00
Evan Almloff 029255c7ac widgets 2022-12-07 20:28:01 -06:00
Jonathan Kelley 4eefc3f854 chore: rename all &cx to cx, make clipppy happy 2022-12-07 13:11:40 -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