Commit Graph
109 Commits
Author SHA1 Message Date
Jonathan Kelley 44a27bf8a3 Fix leak in render macro 2024-01-08 19:20:31 -08:00
Evan Almloff 0a35b5a670 fix render macro 2024-01-08 19:04:56 -08:00
Evan Almloff a120af33ad Merge branch 'master' into fix-event-bubbling 2023-11-11 17:53:47 -06:00
Evan Almloff 370c6cb9d2 fix clippy 2023-10-25 16:47:04 -05:00
Evan Almloff b99f081c08 drop any attribute after rendering 2023-10-25 16:37:04 -05:00
Evan Almloff 73e0be9e65 recycle vnode ids 2023-09-11 16:25:32 -05:00
Evan Almloff 589483d892 remove logs 2023-09-11 16:18:55 -05:00
Evan Almloff 35b643e23f switch to bubble ids on vnodes to fix nodes under fragments pointing to an invalid parent 2023-09-11 15:55:58 -05:00
Evan Almloff 992ac4a3fb clear borrowed props after ensure_drop_safety 2023-09-06 16:12:01 -05:00
Evan Almloff 02456c1068 fix double drop of bubble id 2023-09-05 21:21:54 -05:00
Evan Almloff 9552ab6c1c pass event propagation test 2023-09-04 19:10:11 -05:00
Evan Almloff d26aa95bcd update vnode ptr when parent of component reruns 2023-09-04 09:57:26 -05:00
Evan Almloff cfc6887e34 use raw pointers instead of transmute to make miri happy 2023-09-04 09:28:16 -05:00
Evan Almloff cf04256395 try to keep template indexes valid 2023-08-31 16:14:14 -05:00
Evan Almloff 036e1ff0f5 remove node refs before dropping nodes 2023-08-31 15:38:31 -05:00
Jani MustonenandJani Mustonen 31f8bab20d Add ScopeId::ROOT (#1398)
* add ScopeId::ROOT

* replace ScopeId(0) with ScopeId::ROOT

---------

Co-authored-by: Jani Mustonen <jani.mustonen@taitounited.fi>
2023-08-25 08:31:23 -05:00
Evan Almloff dc4707ee2a WIP fix event bubbling 2023-08-23 13:01:37 -05:00
Evan Almloff e337aff0a4 WIP split element from element ref 2023-08-23 10:48:10 -05:00
Evan Almloff ddbe913e79 make signals non-breaking 2023-08-07 14:50:36 -07:00
Evan Almloff a6f611eccf fix subscriptions in events 2023-08-04 17:23:57 -07:00
Evan Almloff cb4c46154d fix scope context 2023-08-04 14:12:59 -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 47513e8b9e Use boxes instead of bumpslab for hooks 2023-07-06 12:43:04 -07:00
Jonathan Kelley 10a3b228f6 Add some logging and debug 2023-07-05 15:19:26 -07:00
Evan Almloff 4847789a83 fix event bubbling within a single template 2023-03-12 14:47:30 -05:00
Evan Almloff ae028d82f8 use bump slab 2023-01-22 17:16:34 -06:00
Evan Almloff ba79d4babd don't-box-scopestates 2023-01-22 15:05:32 -06:00
Evan Almloff 8548b324f1 fix dropping nested scopes 2023-01-15 21:23:49 -06:00
Evan Almloff d13d1fb1c9 Merge branch 'upstream' into fix-future-on-dropped-scope 2023-01-15 14:01:11 -06:00
Evan Almloff d7f9a07f4e fix 2023-01-15 13:52:06 -06:00
Jonathan Kelley 69a347a551 fix: scopes not dropping their hooks 2023-01-15 10:02:24 -08:00
Evan Almloff 09da9c04a8 Use zero cost option instead of null pointers 2023-01-12 15:42:23 -06:00
Evan Almloff 927db9723a handle abort diffing 2023-01-07 19:01:29 -06:00
Evan Almloff c0f9355648 fix any value dropping 2023-01-02 21:26:12 -06:00
Evan Almloff 51dba50c04 use BumpBox<Any> and FromAnyValue instead of sync bounds 2023-01-02 14:40:25 -06:00
Evan Almloff 044462876d Merge branch 'upstream' into fix-non-str-attributes 2022-12-28 20:36:57 -06:00
= 1555500fbd drop any values correctly 2022-12-26 10:53:25 -06:00
Jonathan Kelley 8887d65e1b Merge branch 'master' into jk/suspense-rollover 2022-12-25 22:10:22 -05:00
Jonathan Kelley 244ade048e Merge branch 'master' into jk/suspense-rollover 2022-12-23 19:13:22 -05:00
Evan Almloff afd024bcb6 Merge branch 'upstream' into fix-non-str-attributes 2022-12-23 15:53:39 -06:00
Evan Almloff 608c37428d Merge branch 'upstream' into fix-hot-reloading 2022-12-22 16:58:30 -06:00
Jonathan Kelley 5a70c6ecf9 chore: swap over router none 2022-12-22 14:45:48 -05:00
Jonathan Kelley 870d857a93 fix: prevent double borrow 2022-12-22 11:32:42 -05:00
Jonathan Kelley 56d193d196 fix: try to guard against double drop 2022-12-22 11:30:30 -05:00
Evan Almloff 4c1fe1d9bb allow changing the number of root nodes 2022-12-21 12:50:48 -06:00
Evan Almloff e5a5850354 merge master 2022-12-20 20:48:28 -06: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 7a4b0d7c2d fix: use stack optimization for replacer 2022-12-19 11:14:01 -08:00