[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/action_...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/action_... |
Date: |
Mon, 30 Apr 2007 16:07:41 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/04/30 16:07:41
Modified files:
. : ChangeLog
testsuite/misc-ming.all: action_execution_order_test8.c
Log message:
* testsuite/misc-ming.all/action_execution_order_test8.c: add
more output trying to understand the problem better.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3039&r2=1.3040
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/action_execution_order_test8.c?cvsroot=gnash&r1=1.1&r2=1.2
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3039
retrieving revision 1.3040
diff -u -b -r1.3039 -r1.3040
--- ChangeLog 30 Apr 2007 13:03:30 -0000 1.3039
+++ ChangeLog 30 Apr 2007 16:07:40 -0000 1.3040
@@ -1,5 +1,7 @@
2007-04-30 Sandro Santilli <address@hidden>
+ * testsuite/misc-ming.all/action_execution_order_test8.c: add
+ more output trying to understand the problem better.
* server/parser/shape_character_def.cpp (compute_bounds): harline
strokes don't add anything to the bounds (no need to expand to
circle, same as for hidden strokes).
Index: testsuite/misc-ming.all/action_execution_order_test8.c
===================================================================
RCS file:
/sources/gnash/gnash/testsuite/misc-ming.all/action_execution_order_test8.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/action_execution_order_test8.c 30 Apr 2007
05:41:29 -0000 1.1
+++ testsuite/misc-ming.all/action_execution_order_test8.c 30 Apr 2007
16:07:41 -0000 1.2
@@ -52,15 +52,20 @@
SWFMovie_add(mo, (SWFBlock)dejagnuclip);
SWFMovie_nextFrame(mo); /* 1st frame */
+ add_actions(mo, " _root.note('root frame '+_root._currentframe);");
add_actions(mo, " if(check == 1) gotoAndPlay(4); ");
SWFMovie_nextFrame(mo); /* 2nd frame */
+ add_actions(mo, " _root.note('root frame '+_root._currentframe);");
add_actions(mo, " check = 1; gotoAndPlay(2); ");
SWFMovie_nextFrame(mo); /* 3rd frame */
- mc1 = newSWFMovieClip();
- add_clip_actions(mc1, " _root.gotoAndStop(6);"
+ mc1 = newSWFMovieClip(); // will only exist in frame4
+ add_clip_actions(mc2, " _root.note('mc1 frame '+this._currentframe);");
+ add_clip_actions(mc1, " _root.note('about to invoke _root.gotoAndStop(6)');"
+ " _root.gotoAndStop(6);"
+ " _root.note('mc1 actions still running after
_root.gotoAndStop(6), _root is '+_root);"
" _root.x = 100; " );
SWFMovieClip_nextFrame(mc1);
@@ -68,6 +73,7 @@
it1 = SWFMovie_add(mo, (SWFBlock)mc1);
SWFDisplayItem_setDepth(it1, 3);
SWFDisplayItem_setName(it1, "mc1");
+ add_actions(mo, " _root.note('root frame '+_root._currentframe);");
check_equals(mo, "typeof(_root.x)", "'undefined'");
add_actions(mo, " _root.x = 200; ");
SWFMovie_nextFrame(mo); /* 4th frame */
@@ -77,6 +83,7 @@
mc2 = newSWFMovieClip();
// these actions are expected to be skipped with SWF version higher then 4
+ add_clip_actions(mc2, " _root.note('mc2 frame '+this._currentframe);");
add_clip_actions(mc2, " _root.note(' your player version is lower than 5');"
" _root.note(' Or your player is bogus'); "
" fail = 0; "
@@ -86,13 +93,16 @@
SWFDisplayItem_setDepth(it2, 3);
SWFDisplayItem_setName(it2, "mc2");
SWFMovieClip_nextFrame(mc2);
+ add_actions(mo, " _root.note('root frame '+_root._currentframe);");
add_actions(mo, " stop(); ");
SWFMovie_nextFrame(mo); /* 5th frame */
SWFDisplayItem_remove(it2);
check_equals(mo, "_root.x", "200");
+ add_actions(mo, " _root.note('root frame '+_root._currentframe);");
add_actions(mo, " _root.totals(); stop(); ");
+
SWFMovie_nextFrame(mo); /* 6th frame */
//Output movie
puts("Saving " OUTPUT_FILENAME );