RFC: تفرّع الأحداث وإيقاف الانتشار من معالِج ص (متابعة ② rfcs#46، خ-11)#51
Open
SalehKadah wants to merge 1 commit into
Open
RFC: تفرّع الأحداث وإيقاف الانتشار من معالِج ص (متابعة ② rfcs#46، خ-11)#51SalehKadah wants to merge 1 commit into
SalehKadah wants to merge 1 commit into
Conversation
تفعيل bubbling (معطّل اليوم) + معدّل تفرّع + أوقف_الانتشار عبر سياق إرسال حيّ. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
متابعةٌ لـ② EventData (rfcs#46): بعد أن صار المعالِج يتلقّى بنية «حدث»، هذا المقترح يمنحه التحكّم في انتشارها عبر شجرة العناصر.
اكتشاف حاسم: بنية التفرّع (
fireEventWithBubbling+EventData::propagationStopped) موجودة في النافذة المشتركة لكنّها معطّلة تمامًا —IREvent::propagationافتراضيّهNoneولا صيغة ص تضبطه إلىBubble، والوضع الحرّ (fb0/evdev) صفر تفرّع. فإضافةأوقف_الانتشاروحدها اليوم = كود ميّت (لا شيء يتفرّع ليُوقَف).يقترح ميزةً كاملة: معدّل
تفرّع(SoT) + سياق إرسال thread-local موحَّد للمحرّكين + مدمَجأوقف_الانتشار+ بناء تفرّعٍ فعليّ في الوضع الحرّ. بحجم ② نفسها — لذا فُصلت عن rfcs#46 (كانت الدَّين المؤجَّل خ-11).🤖 Generated with Claude Code