CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/08/02 21:23:42
Modified files: . : ChangeLog server : edit_text_character.cpp sprite_instance.cpp video_stream_instance.cpp Log message: * server/edit_text_character.cpp: register statics. * server/sprite_instance.cpp: register statics. * server/video_stream_instance.cpp: register statics. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3923&r2=1.3924 http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.95&r2=1.96 http://cvs.savannah.gnu.org/viewcvs/gnash/server/sprite_instance.cpp?cvsroot=gnash&r1=1.302&r2=1.303 http://cvs.savannah.gnu.org/viewcvs/gnash/server/video_stream_instance.cpp?cvsroot=gnash&r1=1.32&r2=1.33 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.3923 retrieving revision 1.3924 diff -u -b -r1.3923 -r1.3924 --- ChangeLog 2 Aug 2007 21:14:35 -0000 1.3923 +++ ChangeLog 2 Aug 2007 21:23:42 -0000 1.3924 @@ -1,5 +1,8 @@ 2007-08-02 Sandro Santilli <[EMAIL PROTECTED]> + * server/edit_text_character.cpp: register statics. + * server/sprite_instance.cpp: register statics. + * server/video_stream_instance.cpp: register statics. * server/array.cpp: register static constructor and prototype, since arrays are used by the core independentely of their availability as global classes (function arguments are arrays). Index: server/edit_text_character.cpp =================================================================== RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v retrieving revision 1.95 retrieving revision 1.96 diff -u -b -r1.95 -r1.96 --- server/edit_text_character.cpp 25 Jul 2007 14:20:14 -0000 1.95 +++ server/edit_text_character.cpp 2 Aug 2007 21:23:42 -0000 1.96 @@ -17,7 +17,7 @@ // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA // -/* $Id: edit_text_character.cpp,v 1.95 2007/07/25 14:20:14 strk Exp $ */ +/* $Id: edit_text_character.cpp,v 1.96 2007/08/02 21:23:42 strk Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -360,6 +360,8 @@ if ( proto == NULL ) { proto = new as_object(); + VM::get().addStatic(proto.get()); + attachTextFieldInterface(*proto); //proto->init_member("constructor", new builtin_function(textfield_ctor)); } @@ -1342,6 +1344,8 @@ if ( cl == NULL ) { cl=new builtin_function(&textfield_ctor, getTextFieldInterface()); + VM::get().addStatic(cl.get()); + // replicate all interface to class, to be able to access // all methods as static functions attachTextFieldStaticMembers(*cl); Index: server/sprite_instance.cpp =================================================================== RCS file: /sources/gnash/gnash/server/sprite_instance.cpp,v retrieving revision 1.302 retrieving revision 1.303 diff -u -b -r1.302 -r1.303 --- server/sprite_instance.cpp 27 Jul 2007 03:35:58 -0000 1.302 +++ server/sprite_instance.cpp 2 Aug 2007 21:23:42 -0000 1.303 @@ -1589,6 +1589,8 @@ if ( proto == NULL ) { proto = new as_object(); + VM::get().addStatic(proto.get()); + attachMovieClipInterface(*proto); //proto->init_member("constructor", new builtin_function(movieclip_ctor)); } @@ -1604,6 +1606,8 @@ if ( cl == NULL ) { cl=new builtin_function(&movieclip_ctor, getMovieClipInterface()); + VM::get().addStatic(cl.get()); + // replicate all interface to class, to be able to access // all methods as static functions attachMovieClipInterface(*cl); Index: server/video_stream_instance.cpp =================================================================== RCS file: /sources/gnash/gnash/server/video_stream_instance.cpp,v retrieving revision 1.32 retrieving revision 1.33 diff -u -b -r1.32 -r1.33 --- server/video_stream_instance.cpp 9 Jul 2007 13:33:30 -0000 1.32 +++ server/video_stream_instance.cpp 2 Aug 2007 21:23:42 -0000 1.33 @@ -17,7 +17,7 @@ // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA // -// $Id: video_stream_instance.cpp,v 1.32 2007/07/09 13:33:30 strk Exp $ +// $Id: video_stream_instance.cpp,v 1.33 2007/08/02 21:23:42 strk Exp $ #include "sprite_instance.h" #include "video_stream_instance.h" @@ -45,6 +45,8 @@ if ( proto == NULL ) { proto = new as_object(); + VM::get().addStatic(proto.get()); + attachVideoInterface(*proto); //proto->init_member("constructor", new builtin_function(video_ctor)); } @@ -265,6 +267,8 @@ if ( cl == NULL ) { cl=new builtin_function(&video_ctor, getVideoInterface()); + VM::get().addStatic(cl.get()); + // replicate all interface to class, to be able to access // all methods as static functions //attachVideoInterface(*cl); _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit