[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Movi... [relea
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Movi... [release_0_8_1] |
Date: |
Wed, 22 Aug 2007 14:29:34 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Branch: release_0_8_1
Changes by: Sandro Santilli <strk> 07/08/22 14:29:34
Modified files:
. : ChangeLog
testsuite/actionscript.all: MovieClip.as
Log message:
* testsuite/actionscript.all/MovieClip.as:
Modify syntax used to test for functions availability
to cope with a bug in Ming < 00040005.
Should fix bug #20867.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&only_with_tag=release_0_8_1&r1=1.3971.2.52&r2=1.3971.2.53
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClip.as?cvsroot=gnash&only_with_tag=release_0_8_1&r1=1.79&r2=1.79.2.1
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3971.2.52
retrieving revision 1.3971.2.53
diff -u -b -r1.3971.2.52 -r1.3971.2.53
--- ChangeLog 22 Aug 2007 12:15:29 -0000 1.3971.2.52
+++ ChangeLog 22 Aug 2007 14:29:33 -0000 1.3971.2.53
@@ -1,5 +1,12 @@
2007-08-22 Sandro Santilli <address@hidden>
+ * testsuite/actionscript.all/MovieClip.as:
+ Modify syntax used to test for functions availability
+ to cope with a bug in Ming < 00040005.
+ Should fix bug #20867.
+
+2007-08-22 Sandro Santilli <address@hidden>
+
* configure.ac: bail out if kde gui or kparts plugin are
requested but kde/qt deps are not met. Should fix bug
#20848; bail out if boost_thread is not set to yes.
Index: testsuite/actionscript.all/MovieClip.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClip.as,v
retrieving revision 1.79
retrieving revision 1.79.2.1
diff -u -b -r1.79 -r1.79.2.1
--- testsuite/actionscript.all/MovieClip.as 2 Aug 2007 18:57:00 -0000
1.79
+++ testsuite/actionscript.all/MovieClip.as 22 Aug 2007 14:29:34 -0000
1.79.2.1
@@ -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: MovieClip.as,v 1.79 2007/08/02 18:57:00 strk Exp $";
+rcsid="$Id: MovieClip.as,v 1.79.2.1 2007/08/22 14:29:34 strk Exp $";
#include "check.as"
@@ -98,13 +98,9 @@
check_equals(mc.enabled, 'a string'); // yes, we can set to arbitrary values
mc.__proto__.enabled = true; // better keep as it was initially, who knows
what it would do...
-// This seems unavailable
-// when targetting SWF > 6
-#if OUTPUT_VERSION > 6
-check_equals(mc.duplicateMovieClip, undefined);
-#else
-check(mc.duplicateMovieClip);
-#endif
+// NOTE: due to a bug in Ming < 00040005, mc.loadMovie would
+// be converted to lowercase, so we use the [] hack
+check_equals(typeof(mc['duplicateMovieClip']), 'function');
#if OUTPUT_VERSION >= 6
check_equals(typeof(mc.setMask), 'function');
@@ -133,15 +129,10 @@
check_equals(typeof(mc.stopDrag), 'function');
check_equals(typeof(mc.getTextSnapshot), 'function');
- // These two seem unavailable
- // when targetting SWF > 6
-#if OUTPUT_VERSION > 6
- check_equals(typeof(mc.loadMovie), 'undefined');
- check_equals(typeof(mc.removeMovieClip), 'undefined');
-#else
- check_equals(typeof(mc.loadMovie), 'function');
- check_equals(typeof(mc.removeMovieClip), 'function');
-#endif
+ // NOTE: due to a bug in Ming < 00040005, mc.loadMovie would
+ // be converted to lowercase, so we use the [] hack
+ check_equals(typeof(mc['loadMovie']), 'function');
+ check_equals(typeof(mc['removeMovieClip']), 'function');
#endif // OUTPUT_VERSION >= 6
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Movi... [release_0_8_1],
Sandro Santilli <=