> This test is reported as an evidence of behaviour 2 in > ActionsExecutionOrder#Verified_behaviour wiki page, so we either > need another or that behaviour is not verified !!
Again, this has already been tested. I updated the wiki page. See misc-swfc.all/action_execution_order_test10.sc BTW, Ming does not support tags order control. swfc does not support depth control and onClipEvents. So, we need both of them. And even we have both of them, there are still something cann't be performed easily. But this shouldn't stop our deduction. --zou On 9/6/07, Sandro Santilli <[EMAIL PROTECTED]> wrote: > CVSROOT: /sources/gnash > Module name: gnash > Changes by: Sandro Santilli <strk> 07/09/05 19:06:21 > > Modified files: > . : ChangeLog > testsuite/misc-ming.all: action_execution_order_test3.c > > Log message: > * testsuite/misc-ming.all/action_execution_order_test3.c: > attempt > to test REMOVEOBJECT before DOACTION (failed though, as Ming > seems > to keep placing REMOVEOBJECT tags adjacent instead). > This test is reported as an evidence of behaviour 2 in > ActionsExecutionOrder#Verified_behaviour wiki page, so we > either > need another or that behaviour is not verified !! > > CVSWeb URLs: > http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4232&r2=1.4233 > http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/action_execution_order_test3.c?cvsroot=gnash&r1=1.2&r2=1.3 > > Patches: > Index: ChangeLog > =================================================================== > RCS file: /sources/gnash/gnash/ChangeLog,v > retrieving revision 1.4232 > retrieving revision 1.4233 > diff -u -b -r1.4232 -r1.4233 > --- ChangeLog 5 Sep 2007 16:47:54 -0000 1.4232 > +++ ChangeLog 5 Sep 2007 19:06:21 -0000 1.4233 > @@ -1,3 +1,12 @@ > +2007-09-05 Sandro Santilli <[EMAIL PROTECTED]> > + > + * testsuite/misc-ming.all/action_execution_order_test3.c: attempt > + to test REMOVEOBJECT before DOACTION (failed though, as Ming seems > + to keep placing REMOVEOBJECT tags adjacent instead). > + This test is reported as an evidence of behaviour 2 in > + ActionsExecutionOrder#Verified_behaviour wiki page, so we either > + need another or that behaviour is not verified !! > + > 2007-09-05 Ivor Blockley <[EMAIL PROTECTED]> > > * server/vm/action.{cpp,h}: add htmlText property to > > Index: testsuite/misc-ming.all/action_execution_order_test3.c > =================================================================== > RCS file: > /sources/gnash/gnash/testsuite/misc-ming.all/action_execution_order_test3.c,v > retrieving revision 1.2 > retrieving revision 1.3 > diff -u -b -r1.2 -r1.3 > --- testsuite/misc-ming.all/action_execution_order_test3.c 1 Jul 2007 > 10:54:48 -0000 1.2 > +++ testsuite/misc-ming.all/action_execution_order_test3.c 5 Sep 2007 > 19:06:21 -0000 1.3 > @@ -62,13 +62,15 @@ > SWFMovie_add(mo, (SWFBlock)dejagnuclip); > SWFMovie_nextFrame(mo); /* 1st frame */ > > - add_actions(mo, "_root.x1 += \"as_in_DoAction+\"; "); > + add_actions(mo, "_root.x1 += \"as_in_DoAction1+\"; "); > > mc_red1 = newSWFMovieClip(); > sh_red = make_fill_square (0, 300, 60, 60, 255, 0, 0, 255, 0, 0); > SWFMovieClip_add(mc_red1, (SWFBlock)sh_red); > SWFMovieClip_nextFrame(mc_red1); /* mc_red1, 1st frame */ > > + add_actions(mo, "_root.x1 += \"as_in_DoAction2+\"; "); > + > /* add mc_red1 to _root and name it as "mc_red1" */ > SWFDisplayItem it_red1, it_red2, it_red3; > it_red1 = SWFMovie_add(mo, (SWFBlock)mc_red1); > @@ -81,13 +83,26 @@ > SWFACTION_UNLOAD); > SWFDisplayItem_setName(it_red1, "mc_red1"); > > + /* add mc_red1 to _root and name it as "mc_red2" */ > + it_red2 = SWFMovie_add(mo, (SWFBlock)mc_red1); > + SWFDisplayItem_setDepth(it_red2, 11); > + SWFDisplayItem_addAction(it_red2, > + compileSWFActionCode("_root.x1 += \"onLoadRed2+\";"), > + SWFACTION_ONLOAD); > + SWFDisplayItem_addAction(it_red2, > + compileSWFActionCode("_root.x1 += \"onUnloadRed2+\";"), > + SWFACTION_UNLOAD); > + SWFDisplayItem_setName(it_red2, "mc_red2"); > + > SWFMovie_nextFrame(mo); /* 2nd frame */ > > - add_actions(mo, "_root.x1 += \"as_in_DoAction+\"; "); > + SWFDisplayItem_remove(it_red2); > + add_actions(mo, "_root.x1 += \"as_in_DoAction3+\"; "); > SWFDisplayItem_remove(it_red1); > SWFMovie_nextFrame(mo); /* 3th frame */ > > - check_equals(mo, "_root.x1", > "'as_in_DoAction+onLoad+as_in_DoAction+onUnload+'"); > + // could this be due to Ming reordering tags ? > + check_equals(mo, "_root.x1", > "'as_in_DoAction1+as_in_DoAction2+onLoad+onLoadRed2+as_in_DoAction3+onUnload+onUnloadRed2+'"); > add_actions(mo, " _root.totals(); stop(); "); > SWFMovie_nextFrame(mo); /* 4th frame */ > > > > _______________________________________________ > Gnash-commit mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/gnash-commit > _______________________________________________ Gnash-commit mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-commit
