[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog libbase/log.cpp testsuite/actio...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog libbase/log.cpp testsuite/actio... |
Date: |
Tue, 10 Apr 2007 14:17:15 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/04/10 14:17:15
Modified files:
. : ChangeLog
libbase : log.cpp
testsuite/actionscript.all: getvariable.as
Log message:
* testsuite/actionscript.all/getvariable.as: add test for
literal 'invalid:Number' variable name.
* libbase/log.cpp: stop adding CR to debugging output !!
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2823&r2=1.2824
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/log.cpp?cvsroot=gnash&r1=1.44&r2=1.45
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/getvariable.as?cvsroot=gnash&r1=1.7&r2=1.8
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2823
retrieving revision 1.2824
diff -u -b -r1.2823 -r1.2824
--- ChangeLog 10 Apr 2007 12:16:49 -0000 1.2823
+++ ChangeLog 10 Apr 2007 14:17:14 -0000 1.2824
@@ -1,5 +1,8 @@
2007-04-10 Sandro Santilli <address@hidden>
+ * testsuite/actionscript.all/getvariable.as: add test for
+ literal 'invalid:Number' variable name.
+ * libbase/log.cpp: stop adding CR to debugging output !!
* server/stream.cpp (open_tag): print tag offsets as start
of the tag (including header). This is to match offsets
as printed by Ming's listswf for comparision purposes.
Index: libbase/log.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/log.cpp,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -b -r1.44 -r1.45
--- libbase/log.cpp 21 Feb 2007 20:22:58 -0000 1.44
+++ libbase/log.cpp 10 Apr 2007 14:17:15 -0000 1.45
@@ -14,7 +14,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-/* $Id: log.cpp,v 1.44 2007/02/21 20:22:58 strk Exp $ */
+/* $Id: log.cpp,v 1.45 2007/04/10 14:17:15 strk Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -740,11 +740,11 @@
scoped_lock lock(io_mutex);
if (_trace) {
if (_verbose) {
- cout << "\r" << endl;
+ cout << endl;
}
} else {
if (_verbose) {
- cout << "\r" << endl;
+ cout << endl;
}
}
Index: testsuite/actionscript.all/getvariable.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/getvariable.as,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- testsuite/actionscript.all/getvariable.as 28 Feb 2007 23:05:58 -0000
1.7
+++ testsuite/actionscript.all/getvariable.as 10 Apr 2007 14:17:15 -0000
1.8
@@ -19,7 +19,7 @@
// compile this test case with Ming makeswf, and then
// execute it like this gnash -1 -r 0 -v out.swf
-rcsid="$Id: getvariable.as,v 1.7 2007/02/28 23:05:58 strk Exp $";
+rcsid="$Id: getvariable.as,v 1.8 2007/04/10 14:17:15 strk Exp $";
#include "check.as"
@@ -297,6 +297,22 @@
check_equals(checkpoint, 7);
//-----------------------------------------------------------------------
+// Check 'invalid:Number'
+//-----------------------------------------------------------------------
+
+asm {
+ push 'invalid:Number'
+ push '8'
+ setvariable
+ push 'checkpoint'
+ push 'invalid:Number'
+ getvariable
+ setvariable
+};
+check_equals(typeof(checkpoint), 'undefined');
+check_equals(typeof(invalid), 'undefined');
+
+//-----------------------------------------------------------------------
// TODO: try use of 'with' stack
//-----------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog libbase/log.cpp testsuite/actio...,
Sandro Santilli <=