[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Drawing...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Drawing... |
Date: |
Tue, 24 Apr 2007 21:02:21 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/04/24 21:02:20
Modified files:
. : ChangeLog
testsuite/misc-ming.all: DrawingApiTest.as
DrawingApiTestRunner.cpp Makefile.am
Log message:
* testsuite/misc-ming.all/: Makefile.am, DrawingApiTest.as,
DrawingApiTestRunner.cpp: Prepared a test for invalidated
bounds checking. Gnash clearly fails, but no actual automated
tests added to the test runner yet.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2986&r2=1.2987
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DrawingApiTest.as?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DrawingApiTestRunner.cpp?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/Makefile.am?cvsroot=gnash&r1=1.98&r2=1.99
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2986
retrieving revision 1.2987
diff -u -b -r1.2986 -r1.2987
--- ChangeLog 24 Apr 2007 20:38:26 -0000 1.2986
+++ ChangeLog 24 Apr 2007 21:02:20 -0000 1.2987
@@ -1,5 +1,12 @@
2007-04-24 Sandro Santilli <address@hidden>
+ * testsuite/misc-ming.all/: Makefile.am, DrawingApiTest.as,
+ DrawingApiTestRunner.cpp: Prepared a test for invalidated
+ bounds checking. Gnash clearly fails, but no actual automated
+ tests added to the test runner yet.
+
+2007-04-24 Sandro Santilli <address@hidden>
+
* server/vm/ActionExec.{cpp,h}: add delObjectMember() method.
* server/vm/ASHandlers.cpp (ActionDelete): hopefully fixed -
at least as far as we can tell...
Index: testsuite/misc-ming.all/DrawingApiTest.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DrawingApiTest.as,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- testsuite/misc-ming.all/DrawingApiTest.as 24 Apr 2007 11:55:33 -0000
1.9
+++ testsuite/misc-ming.all/DrawingApiTest.as 24 Apr 2007 21:02:20 -0000
1.10
@@ -125,9 +125,35 @@
lineStyle(8, 0x000000);
beginFill(0x00FF00, 100);
drawCircle(a, 330, 160, 35);
+ endFill();
}
// Make the MovieClip "active" (grabbing mouse events)
// This allows testing of fill styles and "thick" lines
a.onRollOver = function() {};
+frameno = 0;
+a.createEmptyMovieClip("b", 2);
+a.onEnterFrame = function()
+{
+ if ( ++frameno > 8 )
+ {
+ //this.clear();
+ frameno = 0;
+ ret = delete this.onEnterFrame;
+ if ( ret ) {
+ trace("PASSED: delete this.onEnterFrame returned "+ret);
+ } else {
+ trace("FAILED: delete this.onEnterFrame returned "+ret);
+ }
+ }
+ else
+ {
+ this.b.clear();
+ this.b.lineStyle(2, 0xFF0000);
+ this.b.beginFill(0xFFFF00, 100);
+ drawCircle(this.b, (50*frameno), 280, 10);
+ this.b.endFill();
+ }
+};
+
Index: testsuite/misc-ming.all/DrawingApiTestRunner.cpp
===================================================================
RCS file:
/sources/gnash/gnash/testsuite/misc-ming.all/DrawingApiTestRunner.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- testsuite/misc-ming.all/DrawingApiTestRunner.cpp 24 Apr 2007 11:55:33
-0000 1.11
+++ testsuite/misc-ming.all/DrawingApiTestRunner.cpp 24 Apr 2007 21:02:20
-0000 1.12
@@ -142,5 +142,10 @@
tester.movePointerTo(363, 174);
xcheck(tester.isMouseOverMouseEntity()); // fails due to
edge::withinSquareDistance bug
check_pixel(363, 174, 2, black, 2);
+
+ // TODO: check invalidated bounds and drawing on advance !
+ // there should be a yellow-fill, red-stroke circle moving from
bottom-left to bottom-right
+ // for 8 advancements.
+ for (int i=0; i<10; ++i) tester.advance();
}
Index: testsuite/misc-ming.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/Makefile.am,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -b -r1.98 -r1.99
--- testsuite/misc-ming.all/Makefile.am 24 Apr 2007 06:54:06 -0000 1.98
+++ testsuite/misc-ming.all/Makefile.am 24 Apr 2007 21:02:20 -0000 1.99
@@ -966,7 +966,7 @@
DrawingApiTest.swf: $(srcdir)/DrawingApiTest.as
- $(MAKESWF) -o $@ $(srcdir)/DrawingApiTest.as
+ $(MAKESWF) -r2 -o $@ $(srcdir)/DrawingApiTest.as
DrawingApiTestRunner_SOURCES = \
DrawingApiTestRunner.cpp \