CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/12/12 14:24:16
Modified files: server : as_value.cpp sprite_instance.cpp Log message: Reduced debugging output CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_value.cpp?cvsroot=gnash&r1=1.103&r2=1.104 http://cvs.savannah.gnu.org/viewcvs/gnash/server/sprite_instance.cpp?cvsroot=gnash&r1=1.411&r2=1.412 Patches: Index: as_value.cpp =================================================================== RCS file: /sources/gnash/gnash/server/as_value.cpp,v retrieving revision 1.103 retrieving revision 1.104 diff -u -b -r1.103 -r1.104 --- as_value.cpp 12 Dec 2007 10:07:00 -0000 1.103 +++ as_value.cpp 12 Dec 2007 14:24:16 -0000 1.104 @@ -171,8 +171,10 @@ } catch (ActionTypeError& e) { +#if GNASH_DEBUG_CONVERSION_TO_PRIMITIVE log_debug(_("to_primitive(%s, STRING) threw an ActionTypeError %s"), to_debug_string().c_str(), e.what()); +#endif } if ( m_type == OBJECT ) return "[type Object]"; @@ -447,8 +449,10 @@ } catch (ActionTypeError& e) { +#if GNASH_DEBUG_CONVERSION_TO_PRIMITIVE log_debug(_("to_primitive(%s, NUMBER) threw an ActionTypeError %s"), to_debug_string().c_str(), e.what()); +#endif if ( m_type == AS_FUNCTION && swfversion < 6 ) { return 0; @@ -864,9 +868,9 @@ } catch (ActionTypeError& e) { -//#ifdef GNASH_DEBUG_EQUALITY +#ifdef GNASH_DEBUG_EQUALITY log_debug(" %s.to_primitive() threw an ActionTypeError %s", v.to_debug_string().c_str(), e.what()); -//#endif +#endif return false; // no valid conversion } @@ -891,9 +895,9 @@ catch (ActionTypeError& e) { -//#ifdef GNASH_DEBUG_EQUALITY +#ifdef GNASH_DEBUG_EQUALITY log_debug(" %s.to_primitive() threw an ActionTypeError %s", to_debug_string().c_str(), e.what()); -//#endif +#endif return false; // no valid conversion } Index: sprite_instance.cpp =================================================================== RCS file: /sources/gnash/gnash/server/sprite_instance.cpp,v retrieving revision 1.411 retrieving revision 1.412 diff -u -b -r1.411 -r1.412 --- sprite_instance.cpp 12 Dec 2007 10:07:01 -0000 1.411 +++ sprite_instance.cpp 12 Dec 2007 14:24:16 -0000 1.412 @@ -1156,7 +1156,7 @@ sprite->setMask(ch); } - log_debug("MovieClip.setMask() TESTING"); + //log_debug("MovieClip.setMask() TESTING"); return as_value(); } _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit