You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C-assignedThere is someone working on resolving the issueE-less-complexStraightforward. Recommended for a new contributor.I-refactorNo impact; the issue is one of maintainability or tidiness. Proposed solution requires refactoring.
I've taken a quick look into it; it seems that PaintListener depends on msg::constellation_msg::PipelineId (which should stay in msg, I guess). msg::constellation_msg::ScriptMsg depends on canvas_traits::CanvasMsg, and canvas_traits in turn depends on gfx_traits, where we would have a circular dependency.
Do I see it right that the dependency from msg crate to canvas_traits is the problematic dependency (i.e. which pulls in graphics into messages)?
I'm still evaluating if I can work on this because it's my first contact to servo.
C-assignedThere is someone working on resolving the issueE-less-complexStraightforward. Recommended for a new contributor.I-refactorNo impact; the issue is one of maintainability or tidiness. Proposed solution requires refactoring.
Activity
cnaj commentedon Dec 8, 2015
I've taken a quick look into it; it seems that
PaintListenerdepends onmsg::constellation_msg::PipelineId(which should stay inmsg, I guess).msg::constellation_msg::ScriptMsgdepends oncanvas_traits::CanvasMsg, andcanvas_traitsin turn depends ongfx_traits, where we would have a circular dependency.Do I see it right that the dependency from
msgcrate tocanvas_traitsis the problematic dependency (i.e. which pulls in graphics into messages)?I'm still evaluating if I can work on this because it's my first contact to servo.
KiChjang commentedon Dec 8, 2015
Does
PaintListenerdepend uponmsg::constellation_msg::ScriptMsg? If not, there shouldn't be any issue in movingPaintListenertogfx_traits.jdm commentedon Dec 9, 2015
Oh, so
msgdepends ongfx_traitsviacanvas_traits? That's... unfortunate.jdm commentedon Dec 9, 2015
We might be able to fix that problem by fixing #8833 first.
KiChjang commentedon Dec 11, 2015
#8833 has been resolved.
cnaj commentedon Dec 11, 2015
Started to work on this.
Move PaintListener to gfx_traits, Fixes servo#8834
Auto merge of #8939 - cnaj:msg_refactoring, r=Ms2ger
Auto merge of #8939 - cnaj:msg_refactoring, r=Ms2ger