[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog server/impl.cpp server/swf/tag_...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog server/impl.cpp server/swf/tag_... |
Date: |
Wed, 08 Aug 2007 18:26:38 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/08/08 18:26:38
Modified files:
. : ChangeLog
server : impl.cpp
server/swf : tag_loaders.cpp tag_loaders.h
Log message:
* server/impl.cpp, server/swf/tag_loaders.{cpp,h}: stub parsing
of REFLEX tag.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3965&r2=1.3966
http://cvs.savannah.gnu.org/viewcvs/gnash/server/impl.cpp?cvsroot=gnash&r1=1.113&r2=1.114
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf/tag_loaders.cpp?cvsroot=gnash&r1=1.121&r2=1.122
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf/tag_loaders.h?cvsroot=gnash&r1=1.19&r2=1.20
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3965
retrieving revision 1.3966
diff -u -b -r1.3965 -r1.3966
--- ChangeLog 8 Aug 2007 16:26:44 -0000 1.3965
+++ ChangeLog 8 Aug 2007 18:26:37 -0000 1.3966
@@ -1,5 +1,8 @@
2007-08-08 Sandro Santilli <address@hidden>
+
+ * server/impl.cpp, server/swf/tag_loaders.{cpp,h}: stub parsing
+ of REFLEX tag.
* server/asobj/Mouse.cpp: make the global Mouse symbol point
to an object, not a constructor.
* testsuite/actionscript.all/Mouse.as: xcheck -> check.
Index: server/impl.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/impl.cpp,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -b -r1.113 -r1.114
--- server/impl.cpp 18 Jul 2007 22:17:16 -0000 1.113
+++ server/impl.cpp 8 Aug 2007 18:26:38 -0000 1.114
@@ -17,7 +17,7 @@
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
//
-/* $Id: impl.cpp,v 1.113 2007/07/18 22:17:16 strk Exp $ */
+/* $Id: impl.cpp,v 1.114 2007/08/08 18:26:38 strk Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -237,6 +237,8 @@
register_tag_loader(SWF::DEFINESCALINGGRID, fixme_loader); // 78
register_tag_loader(SWF::DEFINESHAPE4, fixme_loader); // 83
register_tag_loader(SWF::DEFINEMORPHSHAPE2, fixme_loader); // 84
+
+ register_tag_loader(SWF::REFLEX, reflex_loader); // 777
}
Index: server/swf/tag_loaders.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/swf/tag_loaders.cpp,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -b -r1.121 -r1.122
--- server/swf/tag_loaders.cpp 1 Aug 2007 21:36:58 -0000 1.121
+++ server/swf/tag_loaders.cpp 8 Aug 2007 18:26:38 -0000 1.122
@@ -17,7 +17,7 @@
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
//
-/* $Id: tag_loaders.cpp,v 1.121 2007/08/01 21:36:58 strk Exp $ */
+/* $Id: tag_loaders.cpp,v 1.122 2007/08/08 18:26:38 strk Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -1519,6 +1519,24 @@
// attach to movie_definition ?
}
+void
+reflex_loader(stream* in, tag_type tag, movie_definition* /*m*/)
+{
+ assert(tag == SWF::REFLEX); // 777
+
+ in->ensureBytes(3);
+ uint8_t first = in->read_u8();
+ uint8_t second = in->read_u8();
+ uint8_t third = in->read_u8();
+
+ IF_VERBOSE_PARSE (
+ log_parse(_(" reflex = \"%c%c%c\""), first, second, third);
+ );
+
+ log_unimpl(_("REFLEX tag parsed (\"%c%c%c\") but unused"), first, second,
third);
+
+}
+
} // namespace gnash::SWF::tag_loaders
} // namespace gnash::SWF
@@ -1732,7 +1750,7 @@
// 4 is the fixed header for each sample ( 16bit sample id, 6bit
stepsize_index )
// nbits is the number of bits for each sample
- in->ensureBytes( sample_count * ( 3 + ceil(n_bits/8) ) );
+ in->ensureBytes( sample_count * ( 3 + (int)ceil(n_bits/8) ) );
while (sample_count)
{
Index: server/swf/tag_loaders.h
===================================================================
RCS file: /sources/gnash/gnash/server/swf/tag_loaders.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- server/swf/tag_loaders.h 1 Jul 2007 10:54:36 -0000 1.19
+++ server/swf/tag_loaders.h 8 Aug 2007 18:26:38 -0000 1.20
@@ -19,7 +19,7 @@
//
//
-/* $Id: tag_loaders.h,v 1.19 2007/07/01 10:54:36 bjacques Exp $ */
+/* $Id: tag_loaders.h,v 1.20 2007/08/08 18:26:38 strk Exp $ */
#ifndef GNASH_SWF_TAG_LOADERS_H
#define GNASH_SWF_TAG_LOADERS_H
@@ -78,6 +78,10 @@
///
void define_font_loader(stream*, tag_type, movie_definition*);
+/// SWF Tags Reflex (777)
+//
+void reflex_loader(stream*, tag_type, movie_definition*);
+
/// SWF Tag DefineFontInfo (13 or 62)
//
/// Load a DefineFontInfo or DefineFontInfo2 tag.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog server/impl.cpp server/swf/tag_...,
Sandro Santilli <=