gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r11034: Don't disable writing AMF, o


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11034: Don't disable writing AMF, or a good proportion of the testsuite fails,
Date: Mon, 08 Jun 2009 09:15:49 +0200
User-agent: Bazaar (1.13.1)

------------------------------------------------------------
revno: 11034
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Mon 2009-06-08 09:15:49 +0200
message:
  Don't disable writing AMF, or a good proportion of the testsuite fails,
  not to mention SOL writing and potlatch.
modified:
  libcore/as_value.cpp
=== modified file 'libcore/as_value.cpp'
--- a/libcore/as_value.cpp      2009-06-07 21:14:22 +0000
+++ b/libcore/as_value.cpp      2009-06-08 07:15:49 +0000
@@ -17,16 +17,6 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-#include <boost/shared_ptr.hpp>
-#include <cmath> // std::fmod
-#include <boost/algorithm/string/case_conv.hpp>
-#include <boost/lexical_cast.hpp>
-#include <boost/format.hpp>
-#include <locale>
-#include <sstream>
-#include <iomanip>
-#include <string>
-
 #include "smart_ptr.h" // GNASH_USE_GC
 #include "as_value.h"
 #include "as_object.h"
@@ -52,6 +42,16 @@
 #include "SimpleBuffer.h"
 #include "StringPredicates.h"
 
+#include <boost/shared_ptr.hpp>
+#include <cmath> 
+#include <boost/algorithm/string/case_conv.hpp>
+#include <boost/lexical_cast.hpp>
+#include <boost/format.hpp>
+#include <locale>
+#include <sstream>
+#include <iomanip>
+#include <string>
+
 // Define the macro below to make abstract equality operator verbose
 //#define GNASH_DEBUG_EQUALITY 1
 
@@ -291,15 +291,11 @@
         boost::uint16_t namelen = name.size();
         _buf.appendNetworkShort(namelen);
         _buf.append(name.c_str(), namelen);
-#if 0
         if ( ! val.writeAMF0(_buf, _offsetTable, _vm, _allowStrict) )
         {
             log_error("Problems serializing an object's member");
             _error=true;
         }
-#else
-    log_error("writeAMF0 disabled for now");
-#endif
     }
 private:
 


reply via email to

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