gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/server/swf ASHandlers.cpp tag_loaders.cpp


From: Vitaly Alexeev
Subject: [Gnash-commit] gnash/server/swf ASHandlers.cpp tag_loaders.cpp
Date: Thu, 29 Jun 2006 19:19:14 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Vitaly Alexeev <alexeev>        06/06/29 19:19:14

Modified files:
        server/swf     : ASHandlers.cpp tag_loaders.cpp 

Log message:
        added "onClipEvent(construct, unload)" handlers

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf/ASHandlers.cpp?cvsroot=gnash&r1=1.18&r2=1.19
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf/tag_loaders.cpp?cvsroot=gnash&r1=1.13&r2=1.14

Patches:
Index: ASHandlers.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/swf/ASHandlers.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- ASHandlers.cpp      29 Jun 2006 00:02:31 -0000      1.18
+++ ASHandlers.cpp      29 Jun 2006 19:19:13 -0000      1.19
@@ -64,8 +64,10 @@
 namespace gnash {
 namespace SWF { // gnash::SWF
 
-SWFHandlers::container_type SWFHandlers::_handlers(255);
-std::vector<std::string> SWFHandlers::_property_names;
+#if ! (defined(_WIN32) || defined(WIN32))
+       SWFHandlers::container_type SWFHandlers::_handlers(255);
+       std::vector<std::string> SWFHandlers::_property_names;
+#endif
 
 
 // Utility.  Try to convert str to a number.  If successful,

Index: tag_loaders.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/swf/tag_loaders.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- tag_loaders.cpp     24 Jun 2006 17:56:36 -0000      1.13
+++ tag_loaders.cpp     29 Jun 2006 19:19:13 -0000      1.14
@@ -923,12 +923,6 @@
                                                        {
                                                                
ev->m_event.m_key_code = ch;
                                                        }
-                                                       if (i == 18)
-                                                       {
-                                                               
log_error("swf_event::read -- CLIP_EVENT_CONSTRUCT found, not handled yet, 
flags = 0x%x\n", flags);
-                                                               delete ev;
-                                                               continue;
-                                                       }
 
                                                        // Create a function to 
execute the actions.
                                                        
std::vector<with_stack_entry>   empty_with_stack;




reply via email to

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