CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/11/27 08:04:33
Modified files: . : ChangeLog server : as_value.h Log message: rename allowUnloaded parameter of sprite accessor methods to skipRebinding, for clarity. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4974&r2=1.4975 http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_value.h?cvsroot=gnash&r1=1.75&r2=1.76 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.4974 retrieving revision 1.4975 diff -u -b -r1.4974 -r1.4975 --- ChangeLog 27 Nov 2007 05:34:23 -0000 1.4974 +++ ChangeLog 27 Nov 2007 08:04:32 -0000 1.4975 @@ -1,3 +1,8 @@ +2007-11-27 Sandro Santilli <[EMAIL PROTECTED]> + + * server/as_value.h: rename allowUnloaded parameter of sprite accessor + methods to skipRebinding, for clarity. + 2007-11-27 Zou Lunkai <[EMAIL PROTECTED]> * server/swf/DoInitActionTag.h: make sure DoInitAction tag executed only Index: server/as_value.h =================================================================== RCS file: /sources/gnash/gnash/server/as_value.h,v retrieving revision 1.75 retrieving revision 1.76 diff -u -b -r1.75 -r1.76 --- server/as_value.h 26 Nov 2007 20:43:47 -0000 1.75 +++ server/as_value.h 27 Nov 2007 08:04:33 -0000 1.76 @@ -15,7 +15,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: as_value.h,v 1.75 2007/11/26 20:43:47 strk Exp $ */ +/* $Id: as_value.h,v 1.76 2007/11/27 08:04:33 strk Exp $ */ #ifndef GNASH_AS_VALUE_H #define GNASH_AS_VALUE_H @@ -379,13 +379,13 @@ /// Note that if the value is NOT a MOVIECLIP, NULL is always /// returned. /// - /// @param allowUnloaded + /// @param skipRebinding /// If true an unloaded sprite is still returned as such, /// rather then attempted to be resolved as a soft-reference. /// Main use for this is during paths resolution, to avoid /// infinite loops. See bug #21647. /// - sprite_instance* to_sprite(bool allowUnloaded=false) const; + sprite_instance* to_sprite(bool skipRebinding=false) const; /// \brief /// Return value as an ActionScript function ptr @@ -627,9 +627,9 @@ // /// @return the currently bound sprite, NULL if none /// - sprite_instance* get(bool allowUnloaded=false) const + sprite_instance* get(bool skipRebinding=false) const { - if ( allowUnloaded ) return _ptr; + if ( skipRebinding ) return _ptr; checkDangling(); // set _ptr to NULL and _tgt to original target if destroyed if ( _ptr ) return _ptr; @@ -709,7 +709,7 @@ // /// NOTE: this is possibly NULL ! /// - SpritePtr getSprite(bool allowUnloaded=false) const; + SpritePtr getSprite(bool skipRebinding=false) const; /// Get the sprite proxy variant member (we assume m_type == MOVIECLIP) // _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit