gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/loadMov...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/loadMov...
Date: Fri, 08 Feb 2008 23:43:55 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  08/02/08 23:43:55

Modified files:
        .              : ChangeLog 
        testsuite/misc-ming.all: loadMovieTest.c 

Log message:
        check that getBytesLoaded/Total for static sprites should not proxy
        to the root movie def.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5598&r2=1.5599
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/loadMovieTest.c?cvsroot=gnash&r1=1.6&r2=1.7

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5598
retrieving revision 1.5599
diff -u -b -r1.5598 -r1.5599
--- ChangeLog   8 Feb 2008 23:09:19 -0000       1.5598
+++ ChangeLog   8 Feb 2008 23:43:54 -0000       1.5599
@@ -1,5 +1,8 @@
 2008-02-09 Sandro Santilli <address@hidden>
 
+       * testsuite/misc-ming.all/loadMovieTest.c: check that
+         getBytesLoaded/Total for static sprites should not proxy
+         to the root movie def.
        * libmedia/gst/SoundHandlerGst.cpp (dtor): don't abort
          if destructed before the VM is initialized (gnash nonexistent
          will trigger that behaviour).

Index: testsuite/misc-ming.all/loadMovieTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/loadMovieTest.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/misc-ming.all/loadMovieTest.c     9 Jan 2008 17:09:16 -0000       
1.6
+++ testsuite/misc-ming.all/loadMovieTest.c     8 Feb 2008 23:43:55 -0000       
1.7
@@ -36,6 +36,7 @@
 
 #include <stdlib.h>
 #include <stdio.h>
+#include <string.h>
 #include <ming.h>
 
 // In version 7 loadMovie doesn't work !!
@@ -117,7 +118,12 @@
 
        mc_coverart = newSWFMovieClip();
        SWFMovieClip_add(mc_coverart, (SWFBlock)sh_coverart);
+       SWFMovieClip_add(mc_coverart, (SWFBlock)newSWFAction(
+               "_root.xcheck(getBytesLoaded() < _root.getBytesLoaded());"
+               "_root.xcheck(getBytesTotal() < _root.getBytesTotal());"
+       ));
        SWFMovieClip_nextFrame(mc_coverart); /* showFrame */
+
        it = SWFMovie_add(mo, (SWFBlock)mc_coverart);
        SWFDisplayItem_setName(it, "coverart"); 
        SWFDisplayItem_moveTo(it, x, y);
@@ -134,7 +140,7 @@
                "};"
                , __FILE__, __LINE__);
 
-       printf("%s", buf);
+       /*printf("%s", buf);*/
 
        SWFDisplayItem_addAction(it, compileSWFActionCode(buf),
                SWFACTION_ROLLOVER);




reply via email to

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