Commit Graph
39 Commits
Author SHA1 Message Date
Evan Almloff 0c17bdb737 don't subscribe in tasks or event handlers 2023-08-07 17:55:29 -07:00
Evan Almloff 6ca170453b handle virtual dom switching 2023-08-07 14:59:58 -07:00
Evan Almloff b3fbbba711 fix signals in futures 2023-08-04 17:25:40 -07:00
Evan Almloff 04cdb14e5b improve signal copy runtime 2023-08-04 13:53:05 -07:00
Jonathan Kelley 4240f8428c Fix: dont use bumpslab anymore, just box scopestates 2023-07-19 18:40:43 -07:00
Jonathan Kelley 81075748f6 add simple suspense methods 2023-07-14 16:56:17 -07:00
Jonathan Kelley cbd88bbcc3 Rip out async components 2023-07-14 16:15:20 -07:00
Evan Almloff 226bd3a6e1 fix panic when waking future on shutdown 2023-03-13 15:50:05 -05:00
Evan Almloff ae028d82f8 use bump slab 2023-01-22 17:16:34 -06:00
Jonathan Kelley faf94c7b4e fix: make miri pass on context api 2023-01-09 13:50:33 -08:00
Evan Almloff e3dd55533f handle removing a future that does not exist 2023-01-04 11:38:34 -06:00
Jonathan Kelley ba20bc08b8 chore: clean up clock 2022-12-30 02:41:09 -05:00
Jonathan Kelley daa5449b6b chore: use existing scheduler 2022-12-30 02:39:47 -05:00
Jonathan Kelley bd720e2268 fix: use futuresunordered instead of bespoke waker system 2022-12-29 19:53:43 -05:00
Jonathan Kelley 9b0244ee5c fix: use ready nodes in more places 2022-12-25 01:37:00 -05:00
Jonathan Kelley 2fa3fe1fc0 fix: use arcwake instead of rcwake 2022-12-20 11:13:06 -08:00
Jonathan Kelley d3be971f4e chore: rollback to option instead of anyhow 2022-12-19 18:06:13 -08:00
Jonathan Kelley a42660a451 fix: dont handle wakeups from finished tasks 2022-12-17 02:51:13 -08:00
Jonathan Kelley 5a0ae67ccb chore: make clippy happy 2022-12-06 17:44:29 -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 df4a1b6c7a chore: finish tweaking context api 2022-12-05 15:30:49 -08:00
Jonathan Kelley e22923eb2d feat: core tests passing 2022-12-05 14:16:54 -08:00
Jonathan Kelley a61daf220d feat: context api overhaul 2022-12-02 16:24:49 -08:00
Jonathan Kelley 3b166c9edd wip: clean up some things 2022-11-30 23:54:30 -05:00
Jonathan Kelley 03aea885cf chore: make clippy happy 2022-11-29 16:46:25 -05:00
Jonathan Kelley 5713e13ff2 feat: implement ID cycling 2022-11-24 09:11:27 -05:00
Jonathan Kelley 4dd9a616a5 wip: fragment diffing working 2022-11-23 23:15:01 -08:00
Jonathan Kelley 4bfd936e12 chore: tweak fragments and tests 2022-11-22 19:59:56 -08:00
Jonathan Kelley 0e5a59f9ed wip: error boundary 2022-11-22 18:38:27 -08:00
Jonathan Kelley 7e6cea3a13 wip: continue to tweak suspense 2022-11-22 10:05:13 -08:00
Jonathan Kelley 20f9957fbe feat: diffing works on desktop! 2022-11-17 22:31:14 -08:00
Jonathan Kelley 642b21f125 suspense works in desktop 2022-11-16 11:48:47 -08:00
Jonathan Kelley c44bd11fe5 chore: more refactoring, docs 2022-11-11 18:29:27 -08:00
Jonathan Kelley f7df6a9893 chore: use std::future::Future instead 2022-11-09 11:02:52 -08:00
Jonathan Kelley f5bc137f01 chore: clean up scheduler code 2022-11-09 10:58:11 -08:00
Jonathan Kelley fc9fe6e560 feat: split apart template mutations 2022-11-08 19:39:37 -08:00
Jonathan Kelley 203935834d feat: suspense! 2022-11-07 22:55:22 -08:00
Jonathan Kelley e6c53803a6 feat: abstract to rc wake 2022-11-06 14:28:41 -08:00
Jonathan Kelley a38fc9e4ab feat: suspense! 2022-11-06 01:48:34 -07:00