gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog server/as_environment.cpp tests...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog server/as_environment.cpp tests...
Date: Mon, 14 May 2007 12:23:39 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/05/14 12:23:39

Modified files:
        .              : ChangeLog 
        server         : as_environment.cpp 
        testsuite/misc-ming.all: displaylist_depths_test9.c 
                                 duplicate_movie_clip_test2.c 

Log message:
                * testsuite/misc-ming.all/: duplicate_movie_clip_test2.c,
                  displaylist_depths_test9.c: don't expect any failure.
                * server/as_environment.cpp (find_target): strip leading colon 
chars
                  in path components (fixes ActionDuplicateClip bug).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3192&r2=1.3193
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_environment.cpp?cvsroot=gnash&r1=1.76&r2=1.77
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/displaylist_depths_test9.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/duplicate_movie_clip_test2.c?cvsroot=gnash&r1=1.1&r2=1.2

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3192
retrieving revision 1.3193
diff -u -b -r1.3192 -r1.3193
--- ChangeLog   14 May 2007 12:14:37 -0000      1.3192
+++ ChangeLog   14 May 2007 12:23:38 -0000      1.3193
@@ -1,5 +1,9 @@
 2007-05-14 Sandro Santilli <address@hidden>
 
+       * testsuite/misc-ming.all/: duplicate_movie_clip_test2.c,
+         displaylist_depths_test9.c: don't expect any failure. 
+       * server/as_environment.cpp (find_target): strip leading colon chars
+         in path components (fixes ActionDuplicateClip bug).
        * testsuite/misc-ming.all/Makefile.am: fixed bad typo (missing
          backslash) which triggered NO warning from ./autogen.sh
          but still resulted in bogus Makefile.in produced (sic!).

Index: server/as_environment.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/as_environment.cpp,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -b -r1.76 -r1.77
--- server/as_environment.cpp   28 Apr 2007 07:22:43 -0000      1.76
+++ server/as_environment.cpp   14 May 2007 12:23:39 -0000      1.77
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: as_environment.cpp,v 1.76 2007/04/28 07:22:43 strk Exp $ */
+/* $Id: as_environment.cpp,v 1.77 2007/05/14 12:23:39 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -562,8 +562,11 @@
        } else if (next_slash) {
            // Cut off the slash and everything after it.
            subpart.resize(next_slash - p);
+           // Remove any column in the subpart
        }
        
+       while ( ! subpart.empty() && subpart[0] == ':' ) subpart = 
subpart.substr(1);
+
        // No more components to scan
        if ( subpart.empty() )
        {

Index: testsuite/misc-ming.all/displaylist_depths_test9.c
===================================================================
RCS file: 
/sources/gnash/gnash/testsuite/misc-ming.all/displaylist_depths_test9.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/displaylist_depths_test9.c  14 May 2007 10:12:25 
-0000      1.2
+++ testsuite/misc-ming.all/displaylist_depths_test9.c  14 May 2007 12:23:39 
-0000      1.3
@@ -123,7 +123,7 @@
   // Frame 4: create a script instance at depth -20.
   add_actions(mo, 
     "duplicateMovieClip('/:static3', 'dup2', -20);"
-    "xcheck_equals(dup2.getDepth(), -20);"); //gnash fails because of a bug in 
ActionDuplicateClip
+    "check_equals(dup2.getDepth(), -20);"); 
   SWFMovie_nextFrame(mo); 
 
   // Frame 5: nothing new

Index: testsuite/misc-ming.all/duplicate_movie_clip_test2.c
===================================================================
RCS file: 
/sources/gnash/gnash/testsuite/misc-ming.all/duplicate_movie_clip_test2.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/duplicate_movie_clip_test2.c        14 May 2007 
09:25:37 -0000      1.1
+++ testsuite/misc-ming.all/duplicate_movie_clip_test2.c        14 May 2007 
12:23:39 -0000      1.2
@@ -115,12 +115,12 @@
   check_equals(mo, "typeof(dup1)", "'undefined'");
   
   add_actions(mo, "duplicateMovieClip('/:mc1', 'dup2', 2);");
-  xcheck_equals(mo, "typeof(dup2)", "'movieclip'");
+  check_equals(mo, "typeof(dup2)", "'movieclip'");
   add_actions(mo, "removeMovieClip(dup2);");
   check_equals(mo, "typeof(dup2)", "'undefined'");
   
   add_actions(mo, "duplicateMovieClip('/:mc1/', 'dup3', 3);");
-  xcheck_equals(mo, "typeof(dup3)", "'movieclip'");
+  check_equals(mo, "typeof(dup3)", "'movieclip'");
   add_actions(mo, "removeMovieClip(dup3);");
   check_equals(mo, "typeof(dup3)", "'undefined'");
   




reply via email to

[Prev in Thread] Current Thread [Next in Thread]