[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog server/swf/PlaceObject2Tag.cpp
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog server/swf/PlaceObject2Tag.cpp |
Date: |
Fri, 14 Mar 2008 20:57:01 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 08/03/14 20:57:01
Modified files:
. : ChangeLog
server/swf : PlaceObject2Tag.cpp
Log message:
log more about PlaceObject3
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5917&r2=1.5918
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf/PlaceObject2Tag.cpp?cvsroot=gnash&r1=1.36&r2=1.37
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5917
retrieving revision 1.5918
diff -u -b -r1.5917 -r1.5918
--- ChangeLog 14 Mar 2008 20:21:48 -0000 1.5917
+++ ChangeLog 14 Mar 2008 20:57:00 -0000 1.5918
@@ -1,5 +1,6 @@
2008-03-14 Sandro Santilli <address@hidden>
+ * server/swf/PlaceObject2Tag.cpp: log more about PlaceObject3
* server/fill_style.cpp: use an int for the temporary num_gradients.
* server/textformat.cpp: warn once about unimplemented TextFormat.
* server/asobj/LoadVars.cpp: don't trace onData and onLoad methods
Index: server/swf/PlaceObject2Tag.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/swf/PlaceObject2Tag.cpp,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- server/swf/PlaceObject2Tag.cpp 5 Mar 2008 03:56:03 -0000 1.36
+++ server/swf/PlaceObject2Tag.cpp 14 Mar 2008 20:57:01 -0000 1.37
@@ -44,8 +44,9 @@
IF_VERBOSE_PARSE
(
- log_parse(_(" char_id = %d"), m_character_id);
- log_parse(_(" depth = %d (%d)"), m_depth,
m_depth-character::staticDepthOffset);
+ log_parse(_(" PLACEOBJECT: depth=%d(%d) char=%d"),
+ m_depth, m_depth-character::staticDepthOffset,
+ m_character_id);
m_matrix.print();
);
@@ -326,22 +327,34 @@
m_depth = in.read_u16() + character::staticDepthOffset;
+ IF_VERBOSE_PARSE (
+ log_parse(_(" PLACEOBJECT3: depth = %d (%d)"), m_depth,
m_depth-character::staticDepthOffset);
+ // TODO: add more info here
+ );
+
if (has_char)
{
in.ensureBytes(2);
m_character_id = in.read_u16();
+ IF_VERBOSE_PARSE (
+ log_parse(" char:%d", m_character_id);
+ );
}
if (hasClassName || (hasImage && has_char) )
{
log_unimpl("PLACEOBJECT3 with associated class name");
in.read_string(className);
+ IF_VERBOSE_PARSE (
+ log_parse(" className:%s", className.c_str());
+ );
}
if (has_matrix)
{
m_has_matrix = true;
m_matrix.read(in);
+
}
if (has_cxform)
@@ -372,6 +385,23 @@
m_clip_depth = character::noClipDepthValue;
}
+ IF_VERBOSE_PARSE
+ (
+ if (has_matrix) {
+ log_parse(" matrix:");
+ m_matrix.print();
+ }
+ if (has_cxform) {
+ log_parse(" cxform:");
+ m_color_transform.print();
+ }
+ if (has_ratio) log_parse(" ratio:%d", m_ratio);
+ if (m_has_name) log_parse(" name:%s", m_name.c_str());
+
+ if (has_clip_depth)
+ log_parse(" clip_depth:%d(%d)", m_clip_depth,
m_clip_depth-character::staticDepthOffset);
+ );
+
if (has_filters)
{
Filters v; // TODO: Attach the filters to the display object.
@@ -523,11 +553,6 @@
{
assert(tag == SWF::PLACEOBJECT || tag == SWF::PLACEOBJECT2 || tag ==
SWF::PLACEOBJECT3);
- IF_VERBOSE_PARSE
- (
- log_parse(_(" place_object_2"));
- );
-
// TODO: who owns and is going to remove this tag ?
PlaceObject2Tag* ch = new PlaceObject2Tag(*m);
ch->read(*in, tag);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog server/swf/PlaceObject2Tag.cpp,
Sandro Santilli <=