[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: |
Fri, 16 Feb 2007 21:28:02 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/02/16 21:28:01
Modified files:
. : ChangeLog
server : sprite_instance.cpp
testsuite/misc-ming.all: action_execution_order_test.c
Log message:
* server/sprite_instance.cpp (advance_sprite):
always update oldDisplayList, not only when in PLAY state !
* testsuite/misc-ming.all/action_execution_order_test.c:
Check UNLOAD being called only *once* (proper management
of oldDisplayList).
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2383&r2=1.2384
http://cvs.savannah.gnu.org/viewcvs/gnash/server/sprite_instance.cpp?cvsroot=gnash&r1=1.170&r2=1.171
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/action_execution_order_test.c?cvsroot=gnash&r1=1.7&r2=1.8
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2383
retrieving revision 1.2384
diff -u -b -r1.2383 -r1.2384
--- ChangeLog 16 Feb 2007 18:00:14 -0000 1.2383
+++ ChangeLog 16 Feb 2007 21:28:01 -0000 1.2384
@@ -1,5 +1,13 @@
2007-02-16 Sandro Santilli <address@hidden>
+ * server/sprite_instance.cpp (advance_sprite):
+ always update oldDisplayList, not only when in PLAY state !
+ * testsuite/misc-ming.all/action_execution_order_test.c:
+ Check UNLOAD being called only *once* (proper management
+ of oldDisplayList).
+
+2007-02-16 Sandro Santilli <address@hidden>
+
* testsuite/misc-ming.all/consecutive_goto_frame_test.c:
reduce frame rate to 1 frame per second.
Shows that all actions (up to the final stop) are
Index: server/sprite_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/sprite_instance.cpp,v
retrieving revision 1.170
retrieving revision 1.171
diff -u -b -r1.170 -r1.171
--- server/sprite_instance.cpp 16 Feb 2007 15:55:44 -0000 1.170
+++ server/sprite_instance.cpp 16 Feb 2007 21:28:01 -0000 1.171
@@ -2508,8 +2508,6 @@
// First time execute_frame_tags(0) executed in
dlist.cpp(child) or movie_def_impl(root)
if (m_current_frame != (size_t)prev_frame)
{
- // Backup the DisplayList *before* manipulating it !
- oldDisplayList = m_display_list;
execute_frame_tags(m_current_frame,
TAG_DLIST|TAG_ACTION);
}
}
@@ -2586,7 +2584,8 @@
assert(m_goto_frame_action_list.empty());
}
-
+ // Remember current state of the DisplayList for next iteration
+ oldDisplayList = m_display_list;
}
// child movieclip advance
Index: testsuite/misc-ming.all/action_execution_order_test.c
===================================================================
RCS file:
/sources/gnash/gnash/testsuite/misc-ming.all/action_execution_order_test.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- testsuite/misc-ming.all/action_execution_order_test.c 16 Feb 2007
12:27:27 -0000 1.7
+++ testsuite/misc-ming.all/action_execution_order_test.c 16 Feb 2007
21:28:01 -0000 1.8
@@ -72,7 +72,7 @@
SWFMovieClip_add(mc_blu, (SWFBlock)sh_blu);
add_clip_actions(mc_blu, " onUnload = function () { "
"_root.note('onUnload of mc_blu'); "
- "_root.mc_unload_executed = 1; "
+ "_root.mc_unload_executed++; "
"_root.x3 = 'as_in_mc_blu_unload'; "
"};");
add_clip_actions(mc_blu, " _root.note('as in frame1 of mc_blu'); _root.x1 =
\"as_in_mc_blu\"; ");