Commit Graph
385 Commits
Author SHA1 Message Date
Evan Almloff b91e97ca43 document events are only triggerable on elements 2023-12-16 19:54:26 -06:00
Evan Almloff 98335bd9a6 Merge branch 'master' into fix-event-bubbling 2023-09-17 20:00:22 -05:00
Evan Almloff 589483d892 remove logs 2023-09-11 16:18:55 -05:00
Evan Almloff d81d3ebaef assign parents through fragments 2023-09-11 16:16:16 -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 cfc6887e34 use raw pointers instead of transmute to make miri happy 2023-09-04 09:28:16 -05:00
Evan Almloff b0733958f2 Merge branch 'master' into fix-event-bubbling 2023-08-29 13:00:01 -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 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 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 0032f7e2af fix miri 2023-08-04 15:23:09 -07:00
Evan Almloff b09e528aaa fix recursive runtime drop impl 2023-08-04 14:14:56 -07:00
Evan Almloff 04cdb14e5b improve signal copy runtime 2023-08-04 13:53:05 -07:00
Evan Almloff c19420cb29 fix root component suspense 2023-07-25 12:51:12 -07:00
Jonathan Kelley 4240f8428c Fix: dont use bumpslab anymore, just box scopestates 2023-07-19 18:40:43 -07:00
Jonathan Kelley 2871c8bb4d Don't use boxed cell slice, use a refcell instead 2023-07-19 12:08:13 -07:00
Jonathan Kelley f0128a3150 implement suspense using simpler approach 2023-07-14 17:12:07 -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
Nick Mosher b48cfe5730 fix: Remove dbg that was causing TUI rendering problems (#1085) 2023-06-19 08:29:29 -05:00
Evan Almloff 9d5f115e30 fix events triggering on placeholders causing panics 2023-06-02 14:21:49 -05:00
Evan Almloff d005f3481f fix non-bubbling event propagation 2023-04-10 09:45:16 -05: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
Jonathan Kelley a45f16a773 chore: clean up comments 2023-01-14 11:57:36 -08:00
Jonathan Kelley ecaa68605d fix: trim start matches for events 2023-01-14 11:57:03 -08:00
Jonathan Kelley 40a36aa8e6 chore: use trim 2023-01-14 00:21:26 -08:00
Jonathan Kelley 8d59c626ea fix: listeners should not use hard indexing 2023-01-14 00:19:37 -08:00
Evan Almloff 09da9c04a8 Use zero cost option instead of null pointers 2023-01-12 15:42:23 -06:00
Jonathan Kelley cf79ca8113 chore: stop ignoring some doc tests 2023-01-11 17:12:09 -08:00
Jonathan Kelley faf94c7b4e fix: make miri pass on context api 2023-01-09 13:50:33 -08:00
Jon Kelley 07e71956d4 Merge pull request #648 from Demonthos/fix-non-str-attributes
fix custom attribute value support
2023-01-02 23:41:45 -05: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
Maurice Kayser c8f88b6428 Fix typo (#702) 2023-01-01 14:41:18 -06:00
Evan Almloff cb17252a21 clean up warnings and update prelude 2022-12-28 20:42:47 -06:00
Evan Almloff 044462876d Merge branch 'upstream' into fix-non-str-attributes 2022-12-28 20:36:57 -06:00
= 170a3669f7 reduce usage of unsafe 2022-12-26 08:37:50 -06:00
Jonathan Kelley 079d71fb2b fix: use modern enum 2022-12-25 22:11:45 -05:00
Jonathan Kelley 8887d65e1b Merge branch 'master' into jk/suspense-rollover 2022-12-25 22:10:22 -05:00
Jonathan Kelley 3d69d3ea92 chore: use pending instead of async 2022-12-25 01:43:22 -05:00