Displaying 17 results from an estimated 17 matches for "placeobject".
2007 Jun 28
0
Branch 'as' - 4 commits - libswfdec/swfdec_debugger.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite_movie.c test/image
libswfdec/swfdec_debugger.c | 4 -
libswfdec/swfdec_movie.c | 8 +-
libswfdec/swfdec_movie.h | 2
libswfdec/swfdec_sprite_movie.c | 2
test/image/Makefile.am | 3
test/image/placeobject-ratio.swf |binary
test/image/placeobject-ratio.swf.png |binary
test/image/placeobject-ratio.xml | 137 +++++++++++++++++++++++++++++++++++
8 files changed, 148 insertions(+), 8 deletions(-)
New commits:
diff-tree c7622a13456a723bef13fd0a1b80a4060758af70 (from 0fcbb5ec49536a791f197016ebd...
2007 Mar 22
0
11 commits - libswfdec/swfdec_color.c libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_movie.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_net_stream.h libswfdec/swfdec_pattern.c libswfdec/swfdec_script.c NEWS test/trace
...| 29 ++-
test/trace/Makefile.am | 8 +
test/trace/divide-7.swf |binary
test/trace/divide-7.swf.trace | 169 +++++++++++++++++++++++
test/trace/divide.as | 9 +
test/trace/doaction-after-placeobject.swf |binary
test/trace/doaction-after-placeobject.swf.trace | 3
test/trace/doaction-before-placeobject.c | 38 +++++
test/trace/doaction-before-placeobject.swf |binary
test/trace/doaction-before-placeobject.swf.trace | 3
test/trace/object-math-7.swf.trace...
2007 Nov 14
0
5 commits - libswfdec/.gitignore libswfdec/swfdec_initialize.as test/image test/sound test/trace
....fi>
Date: Tue Nov 13 11:53:33 2007 +0200
Add missing files to test/trace/Makefile.am
diff --git a/test/trace/Makefile.am b/test/trace/Makefile.am
index 3eb9bc8..584e7be 100644
--- a/test/trace/Makefile.am
+++ b/test/trace/Makefile.am
@@ -492,6 +492,10 @@ EXTRA_DIST = \
doaction-before-placeobject.c \
doaction-before-placeobject.swf \
doaction-before-placeobject.swf.trace \
+ DoInitAction-once.swf \
+ DoInitAction-once.swf.trace \
+ DoInitAction-this.swf \
+ DoInitAction-this.swf.trace \
double.swf \
double.swf.trace \
double.swf.trace.org \
@@ -584,6 +588,8 @@ EXTRA_DIST = \
exp...
2007 Apr 27
0
Changes to 'refs/tags/0.4.3'
...g is supposed to output [type Object] for numbers
various fixes for tests
add another test that resulted from trying various stuff
implement WaitForFrame2
Set clip depth correctly
when checking available bits fails, consume all bits
Clean up parsing of actions in PlaceObject2
Finish compiling at end of bitstream, too, not just with 0 action
Merge branch 'master' into interpreter
missing \n
s/SWF_COLOR/SWFDEC_COLOR/
update SwfdecColor format from RGBA to ARGB
rework images to be correctly color transformed
add swfdec_col...
2007 Apr 27
0
Changes to 'refs/tags/0.4.4'
...g is supposed to output [type Object] for numbers
various fixes for tests
add another test that resulted from trying various stuff
implement WaitForFrame2
Set clip depth correctly
when checking available bits fails, consume all bits
Clean up parsing of actions in PlaceObject2
Finish compiling at end of bitstream, too, not just with 0 action
Merge branch 'master' into interpreter
missing \n
s/SWF_COLOR/SWFDEC_COLOR/
update SwfdecColor format from RGBA to ARGB
rework images to be correctly color transformed
add swfdec_col...
2007 Jun 18
0
Branch 'as' - 8 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_sprite_movie.h libswfdec/swfdec_swf_decoder.c libswfdec/swfdec_swf_decoder.h
...t gnome.org>
Date: Mon Jun 18 17:18:52 2007 +0200
move palce/remove tag handling from startup to on-demand.
See http://lists.freedesktop.org/archives/swfdec/2007-June/000315.html for a rationale.
Most of the lines in this diff is moving the parsers (in particular the
PlaceObject parser) from swfdec_sprite.c to swfdec_sprite_movie.c.
This patch achieves the following:
- DisplayList tags are no longer parsed and put into a SwfdecContent structure,
and then added to a sprites SwfdecFrame structure, but instead queued in
sprite->actions, which is a list...
2007 Jun 19
0
Branch 'as' - 4 commits - libswfdec/swfdec_codec_video.c libswfdec/swfdec_movie.c test/trace
...4 +1,4 @@
-check_PROGRAMS = trace \
+check_PROGRAMS = trace
TESTS = $(check_PROGRAMS)
diff-tree 916ebe262b4a5547375306da01ab803b38854df1 (from 56c57b5b317120e3699c0c673942815691c9fa2e)
Author: Benjamin Otte <otte at gnome.org>
Date: Tue Jun 19 10:28:28 2007 +0200
add main test for PlaceObject rewrite and the most interesting outputs of that test
Note: Even though that is 96 tests and looks a lot, it isn't.
./trace ran all 1536 tests in ~10 seconds on my machine, so this should take <1 second.
diff --git a/test/trace/Makefile.am b/test/trace/Makefile.am
index f3e4729...
2007 Nov 07
0
14 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_script.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_text_field_movie.c
...int version; /* the version this action was introduced in */
} SwfdecActionSpec;
extern const SwfdecActionSpec swfdec_as_actions[256];
commit 710fe22f1590177fdd63942b54a36018578b32f9
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Mon Nov 5 11:28:32 2007 +0200
Implement the PlaceObject tag (used in version 1 and 2)
diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c
index dcd01c6..0a7ebb3 100644
--- a/libswfdec/swfdec_sprite_movie.c
+++ b/libswfdec/swfdec_sprite_movie.c
@@ -63,6 +63,74 @@ swfdec_get_clipeventflags (SwfdecMovie *movie, SwfdecBits * bits...
2007 Jun 13
0
Branch 'as' - 6 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_sprite.c
...(depth) == SWFDEC_DEPTH_CLASS_EMPTY)
return;
if (!movie->parent) {
diff-tree 8680a64a0a4398d1095f1ff0de40d19eced9934d (from 82959bab78752fb764d70c2d60d005a0e9f5ba95)
Author: Benjamin Otte <otte at gnome.org>
Date: Wed Jun 13 15:38:36 2007 +0200
huge patch that reorganizes PlaceObject handling
Previously, the code was building up a range of frames for every piece of
content that showed when it was active. On backward gotos only those items were
kept where the frame was included in their range.
The new code just performs all actions again and copies old objec...
2007 Jun 18
2
as branch progress report
...RootMovie.
This was pretty uneventful. It had the side effect of allowing
implementation of the Flash functions createEmptyMovieClip() (in since
a5f1d561b1a24c77ba879af7d004729f6b0e7224) and loadMovie() (not
implemented yet).
The seond step is a rework of placing "static" objects, or the
PlaceObject and RemoveObject tags. This is still ongoing (I intend to
have it done today or tomorrow). It also caused some interesting
regressions already. I'll chase those next. So if some objects in the
Flash files suddenly go missing, have a different color, are at the
wrong place or if some objects sho...
2007 Oct 25
0
6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_movie.c test/trace
...ot;fscommand:quit\", \"\");"
+ ));
+ SWFMovie_nextFrame (movie);
+
+ real_name = g_strdup_printf ("initaction-queue-%d.swf", version);
+ /* remove this after having understood that the generated code was modified to have
+ * the DoInitAction tag placed _after_ the PlaceObject tag */
+ g_assert (FALSE);
+ SWFMovie_save (movie, real_name);
+ g_free (real_name);
+}
+
+int
+main (int argc, char **argv)
+{
+ int i;
+
+ if (Ming_init ())
+ return 1;
+
+ for (i = 8; i > 4; i--)
+ do_movie (i);
+
+ return 0;
+}
commit 9641151c8cfcf885c5809eb46da74ef8cc66e782
Me...
2007 Apr 13
0
5 commits - libswfdec/Makefile.am libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_font.c libswfdec/swfdec_loadertarget.c libswfdec/swfdec_movie.h libswfdec/swfdec_pattern.c libswfdec/swfdec_pattern.h libswfdec/swfdec_player.c
...* Boston, MA 02110-1301 USA
+ */
#ifndef _SWFDEC_PATTERN_H_
#define _SWFDEC_PATTERN_H_
diff-tree 10622f56c90f64ad45f3c239bf0a0750590ad5e5 (from d2d5d5c377fd595bd8fef79d9773c9ed78410fc1)
Author: Benjamin Otte <otte@gnome.org>
Date: Sun Apr 8 20:57:46 2007 +0200
Add initial support PlaceObject3
the code only reads the tag and aborts when parsing filters.
diff --git a/libswfdec/swfdec_movie.h b/libswfdec/swfdec_movie.h
index f1db624..5b56656 100644
--- a/libswfdec/swfdec_movie.h
+++ b/libswfdec/swfdec_movie.h
@@ -45,11 +45,12 @@ struct _SwfdecContent {
SwfdecGraphic * graphic...
2007 Oct 17
0
6 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c
...explicitly set) */
SwfdecMovieCacheState cache_state; /* whether we are up to date */
SwfdecMovieState state; /* state the movie is in */
+ GSList *variable_listeners; /* textfield's listening to changes in variables - SwfdecMovieVariableListener */
/* static properties (set by PlaceObject tags) */
const char * original_name; /* the original name - GC'd and static */
@@ -260,5 +270,14 @@ gboolean swfdec_movie_get_asprop (SwfdecMovie * movie,
const char * name,
SwfdecAsValue * val);
+void swfdec_movie_add_variable_listener (SwfdecMovie * movie,
+ S...
2007 Oct 18
0
18 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_flash_security.c
...nc_end, SWFDEC_TAG_DEFINE_SPRITE },
+ [SWFDEC_TAG_SHOWFRAME] = {"ShowFrame", tag_func_show_frame, SWFDEC_TAG_DEFINE_SPRITE },
[SWFDEC_TAG_DEFINESHAPE] = {"DefineShape", tag_define_shape, 0},
[SWFDEC_TAG_FREECHARACTER] = {"FreeCharacter", NULL, 0},
- [SWFDEC_TAG_PLACEOBJECT] = {"PlaceObject", NULL, SPRITE},
- [SWFDEC_TAG_REMOVEOBJECT] = {"RemoveObject", tag_func_enqueue, SPRITE},
+ [SWFDEC_TAG_PLACEOBJECT] = {"PlaceObject", NULL, SWFDEC_TAG_DEFINE_SPRITE },
+ [SWFDEC_TAG_REMOVEOBJECT] = {"RemoveObject", tag_func_enqueue, SWFD...
2007 Dec 18
2
Changes to 'refs/tags/0.5.5'
...et_movie_at return a non-event movie if it's below the mouse
update tests to use act files that trigger more events
first step at rewriting the button code - nothing works, but it compiles
prepare event handling for buttons
translate event types to the same types used by PlaceObject, so we can use the
copy the event list when initializing the movie
implement state setting on mouse movements
include SWFDEC_GTK stuff, too
buttons don't get all events
first try at placing children clips
remove unused variables
boolean order confused...
2007 Nov 15
2
Changes to 'refs/tags/0.5.4'
Tag '0.5.4' created by Benjamin Otte <otte at gnome.org> at 2007-11-15 10:12 -0800
release 0.5.4 ("Turkish Cycling Federation")
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQBHPBurvMv5VCdLq8QRAj1KAJ40NHRRS3gKyJjSjyyoH7gDaGi/tQCeOha/
R5PF4bZQqmSdJ64t8EbD4cA=
=8qBy
-----END PGP SIGNATURE-----
Changes since the dawn of time:
Benjamin Otte (40):
2007 Nov 28
0
59 commits - libswfdec-gtk/swfdec_gtk_widget.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_button.c libswfdec/swfdec_button.h libswfdec/swfdec_button_movie.c libswfdec/swfdec_button_movie.h libswfdec/swfdec_event.c
...<LineTo x="-1200" y="0"/>
+ <ShapeSetup/>
+ </edges>
+ </Shape>
+ </shapes>
+ </DefineShape>
+ <DefineSprite objectID="2" frames="1">
+ <tags>
+ <PlaceObject2 replace="0" depth="1" objectID="1" />
+ <ShowFrame/>
+ </tags>
+ </DefineSprite>
+ <DefineSprite objectID="3" frames="1">
+ <tags>
+ <PlaceObject2 replace="0" depth="1" ob...