[Swfdec] 4 commits - libswfdec/swfdec_shape_parser.c NEWS README test/trace
Benjamin Otte
company at kemper.freedesktop.org
Fri Oct 12 04:47:13 PDT 2007
NEWS | 19 ++++++++
README | 9 ++--
libswfdec/swfdec_shape_parser.c | 2
test/trace/Makefile.am | 3 +
test/trace/crash-0.5.2-cvs-too-many-changes.swf |binary
test/trace/crash-0.5.2-cvs-too-many-changes.xml | 54 ++++++++++++++++++++++++
6 files changed, 82 insertions(+), 5 deletions(-)
New commits:
diff-tree c45d983d1ffc9a1f29ae4050f53e9d33d4565ce3 (from 2f8860ce4f4399f949bc05b9fa93e2798aa954fa)
Author: Benjamin Otte <otte at gnome.org>
Date: Fri Oct 12 13:41:47 2007 +0200
fix crasher
diff --git a/libswfdec/swfdec_shape_parser.c b/libswfdec/swfdec_shape_parser.c
index 75f3f99..90e09ef 100644
--- a/libswfdec/swfdec_shape_parser.c
+++ b/libswfdec/swfdec_shape_parser.c
@@ -428,7 +428,6 @@ swfdec_shape_parser_parse_change (Swfdec
SWFDEC_LOG (" moveto %d,%d", *x, *y);
}
- path = swfdec_sub_path_create (parser->subpaths, *x, *y);
if (state_fill_styles0) {
parser->fill0style = swfdec_bits_getbits (bits, parser->n_fill_bits);
SWFDEC_LOG (" * fill0style = %d", parser->fill0style);
@@ -452,6 +451,7 @@ swfdec_shape_parser_parse_change (Swfdec
swfdec_shape_parser_finish (parser);
swfdec_shape_parser_new_styles (parser, bits);
}
+ path = swfdec_sub_path_create (parser->subpaths, *x, *y);
return path;
}
diff-tree 2f8860ce4f4399f949bc05b9fa93e2798aa954fa (from a2394ae7aed916fb280d6c23a411ee977c268012)
Author: Benjamin Otte <otte at gnome.org>
Date: Fri Oct 12 13:41:36 2007 +0200
add a crasher to the testsuite
diff --git a/test/trace/Makefile.am b/test/trace/Makefile.am
index 314315c..6995f66 100644
--- a/test/trace/Makefile.am
+++ b/test/trace/Makefile.am
@@ -346,6 +346,9 @@ EXTRA_DIST = \
constructor-prototype.swf.trace \
countdown.swf \
countdown.swf.trace \
+ crash-0.5.2-cvs-too-many-changes.swf \
+ crash-0.5.2-cvs-too-many-changes.swf.trace \
+ crash-0.5.2-cvs-too-many-changes.xml \
crash-0.5.2-new-netstream.as \
crash-0.5.2-new-netstream.swf \
crash-0.5.2-new-netstream.swf.trace \
diff --git a/test/trace/crash-0.5.2-cvs-too-many-changes.swf b/test/trace/crash-0.5.2-cvs-too-many-changes.swf
new file mode 100644
index 0000000..797d9f4
Binary files /dev/null and b/test/trace/crash-0.5.2-cvs-too-many-changes.swf differ
diff --git a/test/trace/crash-0.5.2-cvs-too-many-changes.swf.trace b/test/trace/crash-0.5.2-cvs-too-many-changes.swf.trace
new file mode 100644
index 0000000..e69de29
diff --git a/test/trace/crash-0.5.2-cvs-too-many-changes.xml b/test/trace/crash-0.5.2-cvs-too-many-changes.xml
new file mode 100644
index 0000000..5041d41
--- /dev/null
+++ b/test/trace/crash-0.5.2-cvs-too-many-changes.xml
@@ -0,0 +1,54 @@
+<?xml version="1.0"?>
+<swf version="6" compressed="1">
+ <Header framerate="1" frames="1">
+ <size>
+ <Rectangle left="0" right="6400" top="0" bottom="4800"/>
+ </size>
+ <tags>
+ <DefineShape3 objectID="1">
+ <bounds>
+ <Rectangle left="0" right="0" top="100" bottom="100"/>
+ </bounds>
+ <styles>
+ <StyleList>
+ <fillStyles>
+ <Solid>
+ <color>
+ <Color red="0" green="255" blue="255" alpha="255"/>
+ </color>
+ </Solid>
+ </fillStyles>
+ <lineStyles/>
+ </StyleList>
+ </styles>
+ <shapes>
+ <Shape>
+ <edges>
+ <ShapeSetup x="0" y="0" fillStyle0="1"/>
+ <ShapeSetup x="100" y="100" fillStyle0="1" fillStyle1="0" lineStyle="0">
+ <styles>
+ <StyleList>
+ <fillStyles>
+ <Solid>
+ <color>
+ <Color red="0" green="255" blue="255" alpha="255"/>
+ </color>
+ </Solid>
+ </fillStyles>
+ <lineStyles/>
+ </StyleList>
+ </styles>
+ </ShapeSetup>
+ <LineTo x="0" y="0"/>
+ <LineTo x="100" y="100"/>
+ <ShapeSetup/>
+ </edges>
+ </Shape>
+ </shapes>
+ </DefineShape3>
+ <PlaceObject2 objectID="1" depth="0" />
+ <ShowFrame/>
+ <End/>
+ </tags>
+ </Header>
+</swf>
diff-tree a2394ae7aed916fb280d6c23a411ee977c268012 (from 83da60d90ecce9a414cd7b5757d4ab7f6033fa99)
Author: Benjamin Otte <otte at gnome.org>
Date: Fri Oct 12 12:30:36 2007 +0200
update README
required dependencies + typo fixes
diff --git a/README b/README
index af90cf7..1649a30 100644
--- a/README
+++ b/README
@@ -14,7 +14,7 @@ it crashes. If you encounter such a cras
immediately.
Swfdec contains some applications for testing and debugging the library. These
-are availabole in the player/ and test/ directory. They are not installed. The
+are available in the player/ and test/ directory. They are not installed. The
applications in the player/ directory require GTK and ALSO to build, while the
library does not. So if you are packaging Swfdec, you probably do not want to
make it depend on GTK or ALSA.
@@ -24,7 +24,7 @@ provided SWF files in the directory. See
for details on how to run or add these tests.
If you want to playing Flash files in your web browser, you need a browser
-plugin additional to this library. The plugins are shipped in seperate
+plugin additional to this library. The plugins are shipped in separate
packages, like swfdec-mozilla. You can get them at the same location as swfdec.
@@ -62,15 +62,16 @@ Limitations:
Dependencies:
cairo (>= 1.2.0 - >= 1.4.0 recommended)
+ glib (>= 2.10.0)
liboil (>= 0.3.6)
Pangocairo (aka Pango with cairo support)
zlib (>= 1.1.4)
- FFMpeg (>= 0.4.8 - optional, required for various audio and video formats)
+ FFMpeg (current SVN - optional, required for various audio and video formats)
GStreamer (>= 0.10.11 - optional, required for various audio and video formats)
MAD (>= 0.15.1b - optional, required for MP3 audio format support)
- GTK+ (>= 2.0 - used by libswfdec-gtk)
+ GTK+ (>= 2.8.0 - used by libswfdec-gtk)
ALSA (>= 1.0 - used by libswfdec-gtk)
diff-tree 83da60d90ecce9a414cd7b5757d4ab7f6033fa99 (from 2adb53ebb5ba9d6dbe8993ab64f70f6fad919895)
Author: Benjamin Otte <otte at gnome.org>
Date: Fri Oct 12 12:13:14 2007 +0200
update NEWS for 0.5.3
diff --git a/NEWS b/NEWS
index 4df5e27..1006e58 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,23 @@
+ 0.5.3 ("Tennis")
+
+Lots of new built-in objects and code cleanup are the highlights of yet another
+Swfdec release. And a little less condensed:
+- rework of what APIs call into the script engine. This greatly simplifies using
+ libswfdec in applications.
+- reowkr invalidation handling. Less parts of the screen need to be redrawn on
+ changes, but the SwfdecPlayer::invalidate signal changed.
+- support the built-in Date, XML, Sound, System.capabilities and TextField
+ objects plus MovieClip drawing functions
+- add initial support for blend modes and filters (full support is expected with
+ Cairo 1.6)
+- clean up initialization, video engine, sound engine and shape parsing code.
+ All the code should now be more robust, easier to read and have less broken
+ corner cases. And Swfdec supports VP6 alpha video now.
+- lots of old Flash files that use Flash 4-style paths to lookup values should
+ work correctly now.
+- a huge list of bugfixes and little features, see the git log for details.
+
0.5.2 ("Kittencannon")
This release saw a lot of internal cleanups and only little new features. But
More information about the Swfdec
mailing list