[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog server/sprite_instance.cpp test...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog server/sprite_instance.cpp test... |
Date: |
Thu, 12 Apr 2007 09:46:07 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/04/12 09:46:07
Modified files:
. : ChangeLog
server : sprite_instance.cpp
testsuite/misc-ming.all: displaylist_depths_test.c
Log message:
* server/sprite_instance.cpp (duplicateMovieClip):
Duplicate also the drawable.
* testsuite/misc-ming.all/displaylist_depths_test.c:
More successes.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2862&r2=1.2863
http://cvs.savannah.gnu.org/viewcvs/gnash/server/sprite_instance.cpp?cvsroot=gnash&r1=1.236&r2=1.237
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/displaylist_depths_test.c?cvsroot=gnash&r1=1.6&r2=1.7
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2862
retrieving revision 1.2863
diff -u -b -r1.2862 -r1.2863
--- ChangeLog 12 Apr 2007 09:14:36 -0000 1.2862
+++ ChangeLog 12 Apr 2007 09:46:06 -0000 1.2863
@@ -1,5 +1,12 @@
2007-04-12 Sandro Santilli <address@hidden>
+ * server/sprite_instance.cpp (duplicateMovieClip):
+ Duplicate also the drawable.
+ * testsuite/misc-ming.all/displaylist_depths_test.c:
+ More successes.
+
+2007-04-12 Sandro Santilli <address@hidden>
+
* server/matrix.{cpp,h}: add transform and transform_by_inverse
for Range2d<float> type.
* server/character.h: add a getBounds() virutual method.
Index: server/sprite_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/sprite_instance.cpp,v
retrieving revision 1.236
retrieving revision 1.237
diff -u -b -r1.236 -r1.237
--- server/sprite_instance.cpp 12 Apr 2007 09:14:36 -0000 1.236
+++ server/sprite_instance.cpp 12 Apr 2007 09:46:06 -0000 1.237
@@ -1914,6 +1914,9 @@
// We should not copy 'm_action_buffer' since the 'm_method' already
contains it
newsprite->set_event_handlers(get_event_handlers());
+ // Copy drawable
+ newsprite->_drawable = new DynamicShape(*_drawable);
+
parent->m_display_list.place_character(
newsprite.get(),
depth,
Index: testsuite/misc-ming.all/displaylist_depths_test.c
===================================================================
RCS file:
/sources/gnash/gnash/testsuite/misc-ming.all/displaylist_depths_test.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/misc-ming.all/displaylist_depths_test.c 12 Apr 2007 05:37:33
-0000 1.6
+++ testsuite/misc-ming.all/displaylist_depths_test.c 12 Apr 2007 09:46:07
-0000 1.7
@@ -235,39 +235,39 @@
check_equals(mo, "typeof(staticmc_dup.child)", "'movieclip'");
// Note that dynamicmc_dup is at negative depth
- xcheck_equals(mo, "dynamicmc_dup._width", "dynamicmc._width");
- xcheck_equals(mo, "parseInt(dynamicmc_dup._width/10)", "6");
+ check_equals(mo, "dynamicmc_dup._width", "dynamicmc._width");
+ check_equals(mo, "parseInt(dynamicmc_dup._width/10)", "6");
check_equals(mo, "typeof(dynamicmc.child)", "'movieclip'");
check_equals(mo, "typeof(dynamicmc_dup.child)", "'undefined'");
- xcheck_equals(mo, "dynamicmc_2000_dup._width",
"dynamicmc_2000._width");
- xcheck_equals(mo, "parseInt(dynamicmc_2000_dup._width/10)", "6");
+ check_equals(mo, "dynamicmc_2000_dup._width", "dynamicmc_2000._width");
+ check_equals(mo, "parseInt(dynamicmc_2000_dup._width/10)", "6");
check_equals(mo, "typeof(dynamicmc_2000.child)", "'movieclip'");
check_equals(mo, "typeof(dynamicmc_2000_dup.child)", "'undefined'");
- xcheck_equals(mo, "dynamicmc_30000_dup._width",
"dynamicmc_30000._width");
- xcheck_equals(mo, "parseInt(dynamicmc_30000_dup._width/10)", "6");
+ check_equals(mo, "dynamicmc_30000_dup._width",
"dynamicmc_30000._width");
+ check_equals(mo, "parseInt(dynamicmc_30000_dup._width/10)", "6");
check_equals(mo, "typeof(dynamicmc_30000.child)", "'movieclip'");
check_equals(mo, "typeof(dynamicmc_30000_dup.child)", "'undefined'");
// Note that dynamicmc0_dup is at negative depth
- xcheck_equals(mo, "dynamicmc0_dup._width", "dynamicmc0._width");
- xcheck_equals(mo, "parseInt(dynamicmc0_dup._width/10)", "6");
+ check_equals(mo, "dynamicmc0_dup._width", "dynamicmc0._width");
+ check_equals(mo, "parseInt(dynamicmc0_dup._width/10)", "6");
check_equals(mo, "typeof(dynamicmc0.child)", "'movieclip'");
check_equals(mo, "typeof(dynamicmc0_dup.child)", "'undefined'");
// Note that dynamicmc1048575_dup is at negative depth
- xcheck_equals(mo, "dynamicmc1048575_dup._width",
"dynamicmc1048575._width");
- xcheck_equals(mo, "parseInt(dynamicmc1048575_dup._width/10)", "6");
+ check_equals(mo, "dynamicmc1048575_dup._width",
"dynamicmc1048575._width");
+ check_equals(mo, "parseInt(dynamicmc1048575_dup._width/10)", "6");
check_equals(mo, "typeof(dynamicmc1048575.child)", "'movieclip'");
check_equals(mo, "typeof(dynamicmc1048575_dup.child)", "'undefined'");
- xcheck_equals(mo, "dynamicmc1048576_dup._width",
"dynamicmc1048576._width");
+ check_equals(mo, "dynamicmc1048576_dup._width",
"dynamicmc1048576._width");
check_equals(mo, "parseInt(dynamicmc1048576._width/10)", "6");
check_equals(mo, "typeof(dynamicmc1048576.child)", "'movieclip'");
check_equals(mo, "typeof(dynamicmc1048576_dup.child)", "'undefined'");
- xcheck_equals(mo, "dynamicmc2130690045_dup._width",
"dynamicmc2130690045._width");
+ check_equals(mo, "dynamicmc2130690045_dup._width",
"dynamicmc2130690045._width");
check_equals(mo, "parseInt(dynamicmc2130690045._width/10)", "6");
check_equals(mo, "typeof(dynamicmc2130690045.child)", "'movieclip'");
check_equals(mo, "typeof(dynamicmc2130690045_dup.child)",
"'undefined'");
- [Gnash-commit] gnash ChangeLog server/sprite_instance.cpp test..., Sandro Santilli, 2007/04/06
- [Gnash-commit] gnash ChangeLog server/sprite_instance.cpp test...,
Sandro Santilli <=
- [Gnash-commit] gnash ChangeLog server/sprite_instance.cpp test..., Sandro Santilli, 2007/04/14
- [Gnash-commit] gnash ChangeLog server/sprite_instance.cpp test..., Sandro Santilli, 2007/04/24
- [Gnash-commit] gnash ChangeLog server/sprite_instance.cpp test..., Sandro Santilli, 2007/04/24
- [Gnash-commit] gnash ChangeLog server/sprite_instance.cpp test..., Sandro Santilli, 2007/04/24
- [Gnash-commit] gnash ChangeLog server/sprite_instance.cpp test..., Sandro Santilli, 2007/04/24