gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog server/asobj/LoadVars.cpp serve...


From: Bastiaan Jacques
Subject: [Gnash-commit] gnash ChangeLog server/asobj/LoadVars.cpp serve...
Date: Sat, 14 Apr 2007 15:53:19 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Bastiaan Jacques <bjacques>     07/04/14 15:53:18

Modified files:
        .              : ChangeLog 
        server/asobj   : LoadVars.cpp NetStream.cpp Sound.cpp 
                         xmlnode.cpp 
        server/parser  : movie_def_impl.cpp movie_def_impl.h 
        testsuite/actionscript.all: check.as 
        testsuite/libamf.all: test_number.cpp test_string.cpp 
        testsuite/misc-ming.all: intervalTestRunner.cpp 
                                 loadMovieTestRunner.cpp 

Log message:
                * server/asobj/{Loadvars,NetStream,Sound,xmlnode}.cpp: Use
                init_readonly_property for read-only properties.
                * server/parser/movie_def_impl.{cpp,h}: Since we're not using
                pthreads, there is no need to have our thread function 
                match a specfic pattern; use one that fits our design.
                * testsuite/actionscript.all/check.as: Don't prepend # where
                it is not needed to avoid choking gcc3's C preprocessor.
                * testsuite/libamf.all/{test_number,test_string}.cpp,
                * testsuite/misc.ming.all/{intervalTestRunner,
                loadMovieTestRunner}: Add needed includes for OpenBSD.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2871&r2=1.2872
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/LoadVars.cpp?cvsroot=gnash&r1=1.19&r2=1.20
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/NetStream.cpp?cvsroot=gnash&r1=1.34&r2=1.35
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Sound.cpp?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/xmlnode.cpp?cvsroot=gnash&r1=1.28&r2=1.29
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/movie_def_impl.cpp?cvsroot=gnash&r1=1.65&r2=1.66
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/movie_def_impl.h?cvsroot=gnash&r1=1.38&r2=1.39
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/check.as?cvsroot=gnash&r1=1.25&r2=1.26
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libamf.all/test_number.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libamf.all/test_string.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/intervalTestRunner.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/loadMovieTestRunner.cpp?cvsroot=gnash&r1=1.4&r2=1.5

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2871
retrieving revision 1.2872
diff -u -b -r1.2871 -r1.2872
--- ChangeLog   14 Apr 2007 14:38:28 -0000      1.2871
+++ ChangeLog   14 Apr 2007 15:53:17 -0000      1.2872
@@ -1,3 +1,16 @@
+2007-04-14 Bastiaan Jacques <address@hidden>
+
+       * server/asobj/{Loadvars,NetStream,Sound,xmlnode}.cpp: Use
+       init_readonly_property for read-only properties.
+       * server/parser/movie_def_impl.{cpp,h}: Since we're not using
+       pthreads, there is no need to have our thread function
+       match a specfic pattern; use one that fits our design.
+       * testsuite/actionscript.all/check.as: Don't prepend # where
+       it is not needed to avoid choking gcc3's C preprocessor.
+       * testsuite/libamf.all/{test_number,test_string}.cpp,
+       * testsuite/misc.ming.all/{intervalTestRunner,
+       loadMovieTestRunner}: Add needed includes for OpenBSD.
+
 2007-04-12 Sandro Santilli <address@hidden>
 
        * server/matrix.{h,cpp}: fix conceptual bug in Range2d transform

Index: server/asobj/LoadVars.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/LoadVars.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- server/asobj/LoadVars.cpp   5 Apr 2007 07:31:28 -0000       1.19
+++ server/asobj/LoadVars.cpp   14 Apr 2007 15:53:17 -0000      1.20
@@ -177,7 +177,7 @@
 
        static as_value checkLoads_wrapper(const fn_call& fn);
 
-       static as_value loaded_getset(const fn_call& fn);
+       static as_value loaded_get(const fn_call& fn);
 
        static as_value onData_getset(const fn_call& fn);
 
@@ -286,8 +286,8 @@
        gettersetter = new builtin_function(&LoadVars::onData_getset, NULL);
        o.init_property("onData", *gettersetter, *gettersetter);
 
-       gettersetter = new builtin_function(&LoadVars::loaded_getset, NULL);
-       o.init_property("loaded", *gettersetter, *gettersetter);
+       gettersetter = new builtin_function(&LoadVars::loaded_get, NULL);
+       o.init_readonly_property("loaded", *gettersetter);
 }
 
 as_object*
@@ -476,25 +476,14 @@
 
 /* private static */
 as_value
-LoadVars::loaded_getset(const fn_call& fn)
+LoadVars::loaded_get(const fn_call& fn)
 {
 
        boost::intrusive_ptr<LoadVars> ptr = ensureType<LoadVars>(fn.this_ptr);
 
-       if ( fn.nargs == 0 ) // getter
-       {
                return as_value(ptr->loaded() > 0);
-       }
-       else // setter
-       {
-               IF_VERBOSE_ASCODING_ERRORS(
-                       log_msg("Tried to set LoadVars.loaded, which is a 
read-only property");
-               );
-               return as_value();
-       }
 }
 
-
 static as_value
 loadvars_addrequestheader(const fn_call& fn)
 {

Index: server/asobj/NetStream.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/NetStream.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- server/asobj/NetStream.cpp  30 Mar 2007 13:57:27 -0000      1.34
+++ server/asobj/NetStream.cpp  14 Apr 2007 15:53:17 -0000      1.35
@@ -15,7 +15,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: NetStream.cpp,v 1.34 2007/03/30 13:57:27 tgc Exp $ */
+/* $Id: NetStream.cpp,v 1.35 2007/04/14 15:53:17 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -163,17 +163,7 @@
 
        boost::intrusive_ptr<NetStream> ns = ensureType<NetStream>(fn.this_ptr);
 
-       if ( fn.nargs == 0 )
-       {
                return as_value(static_cast<double>(ns->time()));
-       }
-       else
-       {
-               IF_VERBOSE_ASCODING_ERRORS(
-                       log_aserror("Tried to set read-only property 
NetStream.time");
-               );
-       }
-       return as_value();
 }
 
 // Both a getter and a (do-nothing) setter for bytesLoaded
@@ -183,17 +173,7 @@
 
        boost::intrusive_ptr<NetStream> ns = ensureType<NetStream>(fn.this_ptr);
 
-       if ( fn.nargs == 0 )
-       {
                return as_value(int(ns->bytesLoaded()));
-       }
-       else
-       {
-               IF_VERBOSE_ASCODING_ERRORS(
-                       log_aserror("Tried to set read-only property 
NetStream.bytesLoaded");
-               );
-       }
-       return as_value();
 }
 
 // Both a getter and a (do-nothing) setter for bytesTotal
@@ -203,17 +183,7 @@
 
        boost::intrusive_ptr<NetStream> ns = ensureType<NetStream>(fn.this_ptr);
 
-       if ( fn.nargs == 0 )
-       {
                return as_value(int(ns->bytesTotal()));
-       }
-       else
-       {
-               IF_VERBOSE_ASCODING_ERRORS(
-                       log_aserror("Tried to set read-only property 
NetStream.bytesTotal");
-               );
-       }
-       return as_value();
 }
 
 void
@@ -232,13 +202,13 @@
     boost::intrusive_ptr<builtin_function> gettersetter;
 
     gettersetter = new builtin_function(&netstream_time, NULL);
-    o.init_property("time", *gettersetter, *gettersetter);
+    o.init_readonly_property("time", *gettersetter);
 
     gettersetter = new builtin_function(&netstream_bytesloaded, NULL);
-    o.init_property("bytesLoaded", *gettersetter, *gettersetter);
+    o.init_readonly_property("bytesLoaded", *gettersetter);
 
     gettersetter = new builtin_function(&netstream_bytestotal, NULL);
-    o.init_property("bytesTotal", *gettersetter, *gettersetter);
+    o.init_readonly_property("bytesTotal", *gettersetter);
 
 }
 

Index: server/asobj/Sound.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Sound.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- server/asobj/Sound.cpp      22 Mar 2007 22:37:46 -0000      1.11
+++ server/asobj/Sound.cpp      14 Apr 2007 15:53:17 -0000      1.12
@@ -488,14 +488,7 @@
 sound_duration(const fn_call& fn)
 {
        boost::intrusive_ptr<Sound> so = ensureType<Sound>(fn.this_ptr);
-       if ( fn.nargs == 0 ) {
                return as_value(so->getDuration());
-    } else {
-               IF_VERBOSE_ASCODING_ERRORS(
-                       log_aserror("Tried to set read-only property 
Sound.duration");
-               );
-    }
-       return as_value();
 }
 
 as_value
@@ -514,14 +507,8 @@
 sound_position(const fn_call& fn)
 {
        boost::intrusive_ptr<Sound> so = ensureType<Sound>(fn.this_ptr);
-       if ( fn.nargs == 0 ) {
+
                return as_value(so->getPosition());
-    } else {
-               IF_VERBOSE_ASCODING_ERRORS(
-                       log_aserror("Tried to set read-only property 
Sound.position");
-               );
-    }
-       return as_value();
 }
 
 void
@@ -546,13 +533,13 @@
        boost::intrusive_ptr<builtin_function> gettersetter;
 
        gettersetter = new builtin_function(&sound_duration, NULL);
-       o.init_property("duration", *gettersetter, *gettersetter);
+       o.init_readonly_property("duration", *gettersetter);
 
        gettersetter = new builtin_function(&sound_ID3, NULL);
        o.init_property("ID3", *gettersetter, *gettersetter);
 
        gettersetter = new builtin_function(&sound_position, NULL);
-       o.init_property("position", *gettersetter, *gettersetter);
+       o.init_readonly_property("position", *gettersetter);
 
 }
 

Index: server/asobj/xmlnode.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/xmlnode.cpp,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- server/asobj/xmlnode.cpp    10 Apr 2007 10:46:19 -0000      1.28
+++ server/asobj/xmlnode.cpp    14 Apr 2007 15:53:17 -0000      1.29
@@ -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: xmlnode.cpp,v 1.28 2007/04/10 10:46:19 strk Exp $ */
+/* $Id: xmlnode.cpp,v 1.29 2007/04/14 15:53:17 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -359,14 +359,14 @@
     o.init_property("nodeName", *gettersetter, *gettersetter);
 
     gettersetter = new builtin_function(&xmlnode_nodetype, NULL);
-    o.init_property("nodeType", *gettersetter, *gettersetter);
+    o.init_readonly_property("nodeType", *gettersetter);
 
     gettersetter = new builtin_function(&xmlnode_attributes, NULL);
-    o.init_property("attributes", *gettersetter, *gettersetter);
+    o.init_readonly_property("attributes", *gettersetter);
 
     // These two return an array of objects
     gettersetter = new builtin_function(xmlnode_childNodes, NULL);
-    o.init_property("childNodes", *gettersetter, *gettersetter);
+    o.init_readonly_property("childNodes", *gettersetter);
 
     /// \fn MLNode::firstChild
     /// \brief XMLNode::firstChild property
@@ -379,7 +379,7 @@
     /// manipulate child nodes; use the appendChild(), insertBefore(),
     /// and removeNode() methods to manipulate child nodes. 
     gettersetter = new builtin_function(&xmlnode_firstchild, NULL);
-    o.init_property("firstChild", *gettersetter, *gettersetter);
+    o.init_readonly_property("firstChild", *gettersetter);
 
     /// \fn MLNode::lastChild
     /// \brief XMLNode::lastChild property 
@@ -391,16 +391,16 @@
     /// insertBefore(), and removeNode() methods to manipulate child
     /// nodes.
     gettersetter = new builtin_function(&xmlnode_lastchild, NULL);
-    o.init_property("lastChild", *gettersetter, *gettersetter);
+    o.init_readonly_property("lastChild", *gettersetter);
 
     gettersetter = new builtin_function(&xmlnode_nextsibling, NULL);
-    o.init_property("nextSibling", *gettersetter, *gettersetter);
+    o.init_readonly_property("nextSibling", *gettersetter);
 
     gettersetter = new builtin_function(&xmlnode_previoussibling, NULL);
-    o.init_property("previousSibling", *gettersetter, *gettersetter);
+    o.init_readonly_property("previousSibling", *gettersetter);
 
     gettersetter = new builtin_function(&xmlnode_parentNode, NULL);
-    o.init_property("parentNode",  *gettersetter, *gettersetter);
+    o.init_readonly_property("parentNode", *gettersetter);
 
 }
 
@@ -609,14 +609,7 @@
     
     boost::intrusive_ptr<XMLNode> ptr = ensureType<XMLNode>(fn.this_ptr);
 
-    if ( fn.nargs == 0 ) {
        return as_value(ptr->nodeType());
-    } else {
-       IF_VERBOSE_ASCODING_ERRORS(
-           log_aserror("Tried to set read-only property XMLNode.nodeType");
-           );
-    }
-    return as_value();
 }
 
 // Both a getter and a (do-nothing) setter for attributes
@@ -627,29 +620,18 @@
     
     boost::intrusive_ptr<XMLNode> ptr = ensureType<XMLNode>(fn.this_ptr);
 
-    if ( fn.nargs == 0 )
-       {
         XMLNode::AttribList& attrs = ptr->attributes();
                boost::intrusive_ptr<as_object> ret = new as_object();
                for (XMLNode::AttribList::const_iterator it=attrs.begin(),
-                        itEnd=attrs.end();
-                it != itEnd; ++it)
-               {
+         itEnd=attrs.end(); it != itEnd; ++it) {
+
                 const XMLAttr& at = *it;
                 const std::string& name = at.name();
                 const std::string& val = at.value();
                 ret->init_member(name, val);
                }
-               //log_error("FIXME: XMLNode.attributes not implemented yet");
+
                return as_value(ret); 
-    }
-       else
-       {
-               IF_VERBOSE_ASCODING_ERRORS(
-           log_aserror("Tried to set read-only property XMLNode.attributes");
-           );
-    }
-    return as_value();
 }
 
 // Both a getter and a (do-nothing) setter for firstChild
@@ -661,19 +643,10 @@
     as_value rv;
     rv.set_null();
 
-    if ( fn.nargs == 0 )
-    {
         boost::intrusive_ptr<XMLNode> node = ptr->firstChild();
         if (node) {
                    rv = node.get();
            }
-    }
-    else
-    {
-        IF_VERBOSE_ASCODING_ERRORS(
-           log_aserror("Tried to set read-only property XMLNode.firstChild");
-           );
-    }
 
     return rv;
 }
@@ -687,14 +660,6 @@
     as_value rv;
     rv.set_null();
 
-    if ( fn.nargs != 0 )
-    {
-        IF_VERBOSE_ASCODING_ERRORS(
-           log_aserror("Tried to set read-only property XMLNode.lastChild");
-           );
-        return rv;
-    } 
-
     boost::intrusive_ptr<XMLNode> node = ptr->lastChild();
     if (node) rv = node.get();
 
@@ -709,14 +674,6 @@
     as_value rv;
     rv.set_null();
 
-    if ( fn.nargs != 0 )
-    {
-        IF_VERBOSE_ASCODING_ERRORS(
-        log_aserror("Tried to set read-only property XMLNode.nextSibling");
-        );
-        return rv;
-    }
-    
     boost::intrusive_ptr<XMLNode> ptr = ensureType<XMLNode>(fn.this_ptr);
     XMLNode *node = ptr->nextSibling();
     if (node) {
@@ -733,14 +690,6 @@
     as_value rv;
     rv.set_null();
 
-    if ( fn.nargs != 0 )
-    {
-        IF_VERBOSE_ASCODING_ERRORS(
-        log_aserror("Tried to set read-only property XMLNode.previousSibling");
-        );
-        return rv;
-    }
-
     boost::intrusive_ptr<XMLNode> ptr = ensureType<XMLNode>(fn.this_ptr);
     XMLNode *node = ptr->previousSibling();
     if (node) {
@@ -757,14 +706,6 @@
     as_value rv;
     rv.set_null();
 
-    if ( fn.nargs != 0 )
-    {
-        IF_VERBOSE_ASCODING_ERRORS(
-        log_aserror("Tried to set read-only property XMLNode.parentNode");
-        );
-        return rv;
-    }
-
     boost::intrusive_ptr<XMLNode> ptr = ensureType<XMLNode>(fn.this_ptr);
     XMLNode *node = ptr->getParent();
     if (node) {
@@ -781,14 +722,6 @@
     boost::intrusive_ptr<XMLNode> ptr = ensureType<XMLNode>(fn.this_ptr);
     boost::intrusive_ptr<as_array_object> ary = new as_array_object();
 
-    if ( fn.nargs )  // setter
-    {
-        IF_VERBOSE_ASCODING_ERRORS(
-           log_aserror("Tried to set read-only property XMLNode.childNodes");
-           );
-        return as_value();
-    }
-
     typedef XMLNode::ChildList ChildList;
 
     ChildList& child = ptr->childNodes();

Index: server/parser/movie_def_impl.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/movie_def_impl.cpp,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -b -r1.65 -r1.66
--- server/parser/movie_def_impl.cpp    12 Apr 2007 21:53:12 -0000      1.65
+++ server/parser/movie_def_impl.cpp    14 Apr 2007 15:53:17 -0000      1.66
@@ -100,13 +100,10 @@
        return this_thread == *_thread;
 }
 
-void*
-MovieLoader::execute(void* arg)
+void
+MovieLoader::execute(movie_def_impl* md)
 {
-       movie_def_impl* md = static_cast<movie_def_impl*>(arg);
        md->read_all_swf();
-
-       return NULL;
 }
 
 bool

Index: server/parser/movie_def_impl.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/movie_def_impl.h,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- server/parser/movie_def_impl.h      12 Apr 2007 21:53:12 -0000      1.38
+++ server/parser/movie_def_impl.h      14 Apr 2007 15:53:18 -0000      1.39
@@ -116,7 +116,7 @@
        boost::thread* _thread;
 
        /// Entry point for the actual thread
-       static void *execute(void* arg);
+       static void execute(movie_def_impl* md);
 };
 
 /// The Characters dictionary associated with each SWF file.

Index: testsuite/actionscript.all/check.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/check.as,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- testsuite/actionscript.all/check.as 30 Mar 2007 07:32:28 -0000      1.25
+++ testsuite/actionscript.all/check.as 14 Apr 2007 15:53:18 -0000      1.26
@@ -67,21 +67,21 @@
 //
 //   getUrl( MEDIA(green.swf) );
 //
-#define MEDIA(x) MEDIADIR + "/" + #x
+#define MEDIA(x) MEDIADIR + "/" + x
 
 //
 // Use check(<expression>)
 //
 #define check(expr)  \
-       if ( expr ) pass_check(#expr + \
+       if ( expr ) pass_check(expr + \
                " [" + __FILE__ + ":" + __LINE__ + "]" ); \
-       else fail_check(#expr + \
+       else fail_check(expr + \
                " [" + __FILE__ + ":" + __LINE__ + "]" ); \
 
 #define xcheck(expr)  \
-        if ( expr ) xpass_check(#expr + \
+        if ( expr ) xpass_check(expr + \
                " [" + __FILE__ + ":" + __LINE__ + "]" ); \
-        else xfail_check(#expr + \
+        else xfail_check(expr + \
                " [" + __FILE__ + ":" + __LINE__ + "]" ); \
 
 //
@@ -89,17 +89,17 @@
 //
 #define check_equals(obt, exp)  \
        if ( obt == exp ) pass_check( \
-               #obt + " == " + #exp + \
+               obt + " == " + exp + \
                " [" + __FILE__ + ":" + __LINE__ + "]" ); \
-       else fail_check("expected: " + #exp + \
+       else fail_check("expected: " + exp + \
                " obtained: " + obt + \
                " [" + __FILE__ + ":" + __LINE__ + "]" ); \
 
 #define xcheck_equals(obt, exp)  \
         if ( obt == exp ) xpass_check( \
-                #obt + " == " + #exp + \
+                obt + " == " + exp + \
                " [" + __FILE__ + ":" + __LINE__ + "]" ); \
-        else xfail_check("expected: " + #exp + \
+        else xfail_check("expected: " + exp + \
                 " obtained: " + obt + \
                " [" + __FILE__ + ":" + __LINE__ + "]" ); \
 

Index: testsuite/libamf.all/test_number.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libamf.all/test_number.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/libamf.all/test_number.cpp        19 Mar 2007 01:13:23 -0000      
1.3
+++ testsuite/libamf.all/test_number.cpp        14 Apr 2007 15:53:18 -0000      
1.4
@@ -20,7 +20,7 @@
 
 #ifdef HAVE_DEJAGNU_H
 
-#include <netinet/in.h>
+//#include <netinet/in.h>
 #include <string>
 #include <sys/types.h>
 #include <unistd.h>

Index: testsuite/libamf.all/test_string.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libamf.all/test_string.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/libamf.all/test_string.cpp        17 Mar 2007 05:21:34 -0000      
1.2
+++ testsuite/libamf.all/test_string.cpp        14 Apr 2007 15:53:18 -0000      
1.3
@@ -21,6 +21,7 @@
 #ifdef HAVE_DEJAGNU_H
 
 #include <sys/types.h>
+#include <unistd.h>
 #include <sys/stat.h>
 #include <fcntl.h>
 

Index: testsuite/misc-ming.all/intervalTestRunner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/intervalTestRunner.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/intervalTestRunner.cpp      30 Mar 2007 10:18:29 
-0000      1.3
+++ testsuite/misc-ming.all/intervalTestRunner.cpp      14 Apr 2007 15:53:18 
-0000      1.4
@@ -29,6 +29,7 @@
 #include "check.h"
 #include <string>
 #include <cassert>
+#include <unistd.h>
 
 using namespace gnash;
 using namespace std;

Index: testsuite/misc-ming.all/loadMovieTestRunner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/loadMovieTestRunner.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/misc-ming.all/loadMovieTestRunner.cpp     28 Feb 2007 17:25:26 
-0000      1.4
+++ testsuite/misc-ming.all/loadMovieTestRunner.cpp     14 Apr 2007 15:53:18 
-0000      1.5
@@ -30,6 +30,7 @@
 #include "check.h"
 #include <string>
 #include <cassert>
+#include <unistd.h>
 
 using namespace gnash;
 using namespace std;




reply via email to

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