[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog server/sprite_instance.cpp test...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog server/sprite_instance.cpp test... |
Date: |
Fri, 13 Jul 2007 20:32:07 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/07/13 20:32:07
Modified files:
. : ChangeLog
server : sprite_instance.cpp
testsuite/actionscript.all: MovieClip.as TextField.as
Log message:
* server/sprite_instance.cpp (sprite_create_text_field): when
targetting SWF8, return the newly created TextField.
* testsuite/actionscript.all/MovieClip.as: more successes.
* testsuite/actionscript.all/TextField.as: more successes;
other fixes
to expected results.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3738&r2=1.3739
http://cvs.savannah.gnu.org/viewcvs/gnash/server/sprite_instance.cpp?cvsroot=gnash&r1=1.296&r2=1.297
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClip.as?cvsroot=gnash&r1=1.72&r2=1.73
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/TextField.as?cvsroot=gnash&r1=1.5&r2=1.6
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3738
retrieving revision 1.3739
diff -u -b -r1.3738 -r1.3739
--- ChangeLog 13 Jul 2007 20:23:27 -0000 1.3738
+++ ChangeLog 13 Jul 2007 20:32:06 -0000 1.3739
@@ -1,5 +1,13 @@
2007-07-13 Sandro Santilli <address@hidden>
+ * server/sprite_instance.cpp (sprite_create_text_field): when
+ targetting SWF8, return the newly created TextField.
+ * testsuite/actionscript.all/MovieClip.as: more successes.
+ * testsuite/actionscript.all/TextField.as: more successes; other fixes
+ to expected results.
+
+2007-07-13 Sandro Santilli <address@hidden>
+
* testsuite/actionscript.all/MovieClip.as: add notes about where we
have been reported differences between proprietary player versions;
fix check for return code of createTextField for SWF8.
Index: server/sprite_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/sprite_instance.cpp,v
retrieving revision 1.296
retrieving revision 1.297
diff -u -b -r1.296 -r1.297
--- server/sprite_instance.cpp 11 Jul 2007 16:52:47 -0000 1.296
+++ server/sprite_instance.cpp 13 Jul 2007 20:32:06 -0000 1.297
@@ -800,7 +800,8 @@
txt_depth, txt_x, txt_y, txt_width, txt_height);
// createTextField returns void, it seems
- return as_value();
+ if ( VM::get().getSWFVersion() > 7 ) return as_value(txt.get());
+ else return as_value();
}
//getNextHighestDepth() : Number
Index: testsuite/actionscript.all/MovieClip.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClip.as,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -b -r1.72 -r1.73
--- testsuite/actionscript.all/MovieClip.as 13 Jul 2007 20:23:28 -0000
1.72
+++ testsuite/actionscript.all/MovieClip.as 13 Jul 2007 20:32:07 -0000
1.73
@@ -22,7 +22,7 @@
// compile this test case with Ming makeswf, and then
// execute it like this gnash -1 -r 0 -v out.swf
-rcsid="$Id: MovieClip.as,v 1.72 2007/07/13 20:23:28 strk Exp $";
+rcsid="$Id: MovieClip.as,v 1.73 2007/07/13 20:32:07 strk Exp $";
#include "check.as"
@@ -551,8 +551,8 @@
#if OUTPUT_VERSION < 8
check_equals(typeof(t), 'undefined');
#else
-xcheck_equals(typeof(t), 'object');
-xcheck_equals(t, _root.textfieldTest);
+check_equals(typeof(t), 'object');
+check_equals(t, _root.textfieldTest);
#endif // OUTPUT_VERSION >= 8
#if OUTPUT_VERSION > 5
Index: testsuite/actionscript.all/TextField.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/TextField.as,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- testsuite/actionscript.all/TextField.as 13 Jul 2007 20:23:28 -0000
1.5
+++ testsuite/actionscript.all/TextField.as 13 Jul 2007 20:32:07 -0000
1.6
@@ -20,7 +20,7 @@
// compile this test case with Ming makeswf, and then
// execute it like this gnash -1 -r 0 -v out.swf
-rcsid="$Id: TextField.as,v 1.5 2007/07/13 20:23:28 strk Exp $";
+rcsid="$Id: TextField.as,v 1.6 2007/07/13 20:32:07 strk Exp $";
#include "check.as"
@@ -101,8 +101,8 @@
#if OUTPUT_VERSION < 8
check_equals(typeof(ret), 'undefined');
#else
-xcheck_equals(typeof(ret), 'object');
-xcheck_equals(ret, _root.tf);
+check_equals(typeof(ret), 'object');
+check_equals(ret, _root.tf);
#endif
check_equals(typeof(tf), 'object');
@@ -197,7 +197,7 @@
check_equals(typeof(tf._height), 'number');
check(!tf.hasOwnProperty('_height'));
check(!tf.__proto__.hasOwnProperty('_height'));
-xcheck_equals(tf._height, 500); // as we created it, see createTextField call
+check_equals(tf._height, 500); // as we created it, see createTextField call
tf._height = 99999;
xcheck_equals(tf._height, 99999);
tf._height = 500;
@@ -483,7 +483,7 @@
check_equals(typeof(tf._width), 'number');
check( ! tf.hasOwnProperty('_width') );
check( ! tf.__proto__.hasOwnProperty('_width') );
-xcheck_equals(tf._width, 500); // as it was set by createTextField, see above
+check_equals(tf._width, 500); // as it was set by createTextField, see above
tf._width = 99999;
xcheck_equals(tf._width, 99999);
tf._width = 500;
- [Gnash-commit] gnash ChangeLog server/sprite_instance.cpp test...,
Sandro Santilli <=