CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/10/15 23:02:55
Modified files: . : ChangeLog server : as_value.cpp Log message: * server/as_value.cpp (to_debug_string): tell apart dangling from rebound soft refs. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4615&r2=1.4616 http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_value.cpp?cvsroot=gnash&r1=1.86&r2=1.87 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.4615 retrieving revision 1.4616 diff -u -b -r1.4615 -r1.4616 --- ChangeLog 15 Oct 2007 22:27:11 -0000 1.4615 +++ ChangeLog 15 Oct 2007 23:02:54 -0000 1.4616 @@ -1,3 +1,8 @@ +2007-10-15 Sandro Santilli <[EMAIL PROTECTED]> + + * server/as_value.cpp (to_debug_string): tell apart dangling from + rebound soft refs. + 2007-10-15 Martin Stransky * plugin/plugin.cpp: don't call NSAPI code after the fork. Index: server/as_value.cpp =================================================================== RCS file: /sources/gnash/gnash/server/as_value.cpp,v retrieving revision 1.86 retrieving revision 1.87 diff -u -b -r1.86 -r1.87 --- server/as_value.cpp 8 Oct 2007 15:03:00 -0000 1.86 +++ server/as_value.cpp 15 Oct 2007 23:02:54 -0000 1.87 @@ -875,8 +875,16 @@ const SpriteProxy& sp = getSpriteProxy(); if ( sp.isDangling() ) { + sprite_instance* rebound = sp.get(); + if ( rebound ) + { + snprintf(buf, 511, "[rebound movieclip(%s):%p]", sp.getTarget().c_str(), rebound); + } + else + { snprintf(buf, 511, "[dangling movieclip:%s]", sp.getTarget().c_str()); } + } else { snprintf(buf, 511, "[movieclip(%s):%p]", sp.getTarget().c_str(), (void *)sp.get()); _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit