CVSROOT: /sources/gnash Module name: gnash Changes by: Zou Lunkai <zoulunkai> 07/07/31 01:18:04
Modified files: . : ChangeLog testsuite/misc-ming.all: duplicate_movie_clip_test.c place_object_test.c place_object_test2.c Log message: CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3876&r2=1.3877 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/duplicate_movie_clip_test.c?cvsroot=gnash&r1=1.4&r2=1.5 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/place_object_test.c?cvsroot=gnash&r1=1.4&r2=1.5 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/place_object_test2.c?cvsroot=gnash&r1=1.3&r2=1.4 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.3876 retrieving revision 1.3877 diff -u -b -r1.3876 -r1.3877 --- ChangeLog 30 Jul 2007 22:48:18 -0000 1.3876 +++ ChangeLog 31 Jul 2007 01:18:03 -0000 1.3877 @@ -1,3 +1,8 @@ +2007-07-31 Zou Lunkai <[EMAIL PROTECTED]> + + * testsuite/misc-ming.all/duplicate_movie_clip_test.c, place_object_test.c, + place_object_test2.c: trivial comments cleanups. + 2007-07-29 Sandro Santilli <[EMAIL PROTECTED]> * libamf/Makefile.am: add BOOST libs Index: testsuite/misc-ming.all/duplicate_movie_clip_test.c =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/duplicate_movie_clip_test.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -b -r1.4 -r1.5 --- testsuite/misc-ming.all/duplicate_movie_clip_test.c 1 Jul 2007 10:54:52 -0000 1.4 +++ testsuite/misc-ming.all/duplicate_movie_clip_test.c 31 Jul 2007 01:18:04 -0000 1.5 @@ -100,14 +100,14 @@ check_equals(mo, "mc1.getDepth()", "-16374"); /* user defined property will not be duplicated */ check_equals(mo, "dup1.prop1", "undefined"); - /* user defined event will not be duplicated */ + /* user defined event handler will not be duplicated */ check_equals(mo, "typeof(dup1.onLoad)", "'undefined'"); check_equals(mo, "dup1.getDepth()", "1"); /* check user defined onLoad */ check_equals(mo, "typeof(mc2.onLoad)", "'function'"); /* onClipEvent does not define a function */ check_equals(mo, "typeof(mc2.onEnterFrame)", "'undefined'"); - /* user defined event will not be duplicated */ + /* user defined event handler will not be duplicated */ check_equals(mo, "typeof(dup2.onLoad)", "'undefined'"); check_equals(mo, "_root.x1", "2"); check_equals(mo, "_root.x2", "2"); Index: testsuite/misc-ming.all/place_object_test.c =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/place_object_test.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -b -r1.4 -r1.5 --- testsuite/misc-ming.all/place_object_test.c 1 Jul 2007 10:55:00 -0000 1.4 +++ testsuite/misc-ming.all/place_object_test.c 31 Jul 2007 01:18:04 -0000 1.5 @@ -21,9 +21,10 @@ * * Test for tag PlaceObject2 * - * To see what happen if places a character at the same depth twice. + * To see what happens if placing two shapes at the same depths. * - * Normally, you will see the red square. + * Obeserved behaviour: + * *both* shapes get rendered! * * run as ./place_object_test */ Index: testsuite/misc-ming.all/place_object_test2.c =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/place_object_test2.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -b -r1.3 -r1.4 --- testsuite/misc-ming.all/place_object_test2.c 1 Jul 2007 10:55:00 -0000 1.3 +++ testsuite/misc-ming.all/place_object_test2.c 31 Jul 2007 01:18:04 -0000 1.4 @@ -19,7 +19,8 @@ /* * * observed behaviour(SWF6,7,8): - * if the given depth is occupied, PlaceObjec2(PLACE) tag won't replace the orginal one. + * if the given depth is occupied by a sprite, PlaceObjec2(PLACE) tag will not + * place another sprite into the same depth or replace the original one. * * observed behaviour(SWF5): * too odd to understand :( @@ -85,7 +86,7 @@ SWFDisplayItem_setDepth(it1, 3); SWFDisplayItem_setName(it1, "static_mc1"); - it2 = SWFMovie_add(mo, (SWFBlock)mc2); + it2 = SWFMovie_add(mo, (SWFBlock)mc1); SWFDisplayItem_setDepth(it2, 3); SWFDisplayItem_setName(it2, "static_mc2"); _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit