Displaying 20 results from an estimated 137 matches for "fscommand".
2007 Nov 08
0
5 commits - libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c libswfdec/swfdec_resource.c libswfdec/swfdec_resource.h player/swfdec_slow_loader.c test/trace
...| 27 +++++++++++++++++---
libswfdec/swfdec_resource.c | 38 ++++++++++++++++++++++++-----
libswfdec/swfdec_resource.h | 1
player/swfdec_slow_loader.c | 6 ++--
test/trace/Makefile.am | 7 +++++
test/trace/netstream-fscommand-6.swf |binary
test/trace/netstream-fscommand-6.swf.trace | 1
test/trace/netstream-fscommand-7.swf |binary
test/trace/netstream-fscommand-7.swf.trace | 1
test/trace/netstream-fscommand-8.swf |binary
test/trace/netstream-fscommand-8.swf.trace | 1
test/trace/netstre...
2007 Jun 15
0
Branch 'as' - 4 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_sprite.c test/trace
...klass->finish_movie (movie);
player->movies = g_list_remove (player->movies, movie);
diff-tree d8b550fa5c0a47912941ab3e3bb0358fa3c481e9 (from 7126839b418cf8980ab2c67401e99010d11c496c)
Author: Benjamin Otte <otte at gnome.org>
Date: Thu Jun 14 16:06:25 2007 +0200
implement FSCommand:quit so tests can decide to quit whenever they like
diff --git a/test/trace/trace.c b/test/trace/trace.c
index 55f8e98..50bb5c6 100644
--- a/test/trace/trace.c
+++ b/test/trace/trace.c
@@ -11,16 +11,27 @@ trace_cb (SwfdecPlayer *player, const ch
g_string_append_printf (string, "%s\n",...
2007 Sep 12
1
help with swfdec-0.5.2
Hi!
I had to cross-compile swfdec-0.5.2 and for me is great! ^^ but...I have some questions:
1-does swfdec have any system to comunicate with other tasks? some example pls?
2- how swfdec can cominicate with host (xml, fscommand...)? some example if it's possibile
I hope that you will ask me soon Thanks Bye! Wolf
PS sorry for my bad english....^^'
---------------------------------
---------------------------------
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail
-------------- n...
2007 Nov 08
0
11 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_resource.c libswfdec/swfdec_resource_request.c
...er-error-illegalrequest.swf moviecliploader-error-illegalrequest.as
+
+x = createEmptyMovieClip ("a", 0);
+l = new MovieClipLoader ();
+l.onLoadError = function (m, error, status) {
+ trace ("onLoadError: " + error + " (" + status + ")");
+ loadMovie ("fscommand:quit", "");
+};
+l.loadClip ("http://example.com/404", "a");
+
+onEnterFrame = function () {
+ trace ("enterFrame: " + (x == a ? "old movie" : "new movie"));
+};
+
+setTimeout (function () { loadMovie ("fscommand:quit", &qu...
2007 Nov 09
0
10 commits - doc/swfdec-sections.txt libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_loader.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie_clip_loader.c libswfdec/swfdec_movie.h
...-simple.swf unloadmovie-simple.as
+
+x = createEmptyMovieClip ("a", 1);
+loadMovie ("", a);
+a.x = 42;
+a.createEmptyMovieClip ("a", 1);
+
+onEnterFrame = function () {
+ trace (a);
+ trace (a.x);
+ trace (a.a);
+ trace (a == x);
+ if (!a.a)
+ loadMovie ("fscommand:QUIT", "");
+};
+onEnterFrame ();
commit 6af94b966fbd37bb415f0e8a8c7223c92f6dbb5a
Author: Benjamin Otte <otte at gnome.org>
Date: Fri Nov 9 15:20:39 2007 +0100
don't call MovieClip.onFoo events in Flash <= 5
also add swfdec_movie_get_version () to get a p...
2007 Aug 23
0
10 commits - libswfdec/swfdec_as_function.c libswfdec/swfdec_as_object.c test/trace
...+1,11 @@
+// makeswf -v 7 -r 1 -o video-properties-7.swf video-properties.as
+
+#include "trace_properties.as"
+
+var a = new Video ();
+
+trace_properties (_global.Video, "_global", "Video");
+trace_properties (a, "local", "a");
+
+loadMovie ("FSCommand:quit", "");
+
diff-tree e27a852a549c19379769e54e36adff5050c18df7 (from 30ce63def44004f3b6a0e4ef86c5024cab1ad001)
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Thu Aug 23 16:59:49 2007 +0300
Add a testcase for _global's functions' properties
diff --git a/...
2008 Apr 11
3
[Bug 15462] New: Need some way to detect end of swf playback
http://bugs.freedesktop.org/show_bug.cgi?id=15462
Summary: Need some way to detect end of swf playback
Product: swfdec
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: library
AssignedTo: swfdec at lists.freedesktop.org
2007 Jun 15
0
Branch 'as' - 4 commits - libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_object.c libswfdec/swfdec_player.c
...t;trapallkeys": A boolean setting that tells the Flash
* player to pass all key events to the Flash application instead of using it
- * for keyboard shortcuts or similar.
+ * for keyboard shortcuts or similar.</para></listitem>
* </itemizedlist>
*/
signals[FSCOMMAND] = g_signal_new ("fscommand", G_TYPE_FROM_CLASS (klass),
diff-tree ce031c6d521c4364da0b6a35cbd3397ceb8f3917 (from 9bf0cec6e1dd2b1e9a3e6405029269cccd94c8aa)
Author: Benjamin Otte <otte at gnome.org>
Date: Fri Jun 15 19:28:46 2007 +0200
only mark the prototype if there is one...
2007 Nov 14
0
9 commits - libswfdec/swfdec_as_string.c libswfdec/swfdec_color_as.c libswfdec/swfdec_interval.c test/image test/trace
...s.swf \
names.swf.trace \
+ native-run.as \
+ native-run-5.swf \
+ native-run-5.swf.trace \
+ native-run-6.swf \
+ native-run-6.swf.trace \
+ native-run-7.swf \
+ native-run-7.swf.trace \
+ native-run-8.swf \
+ native-run-8.swf.trace \
netconnection.swf \
netconnection.swf.trace \
netstream-fscommand.as \
diff --git a/test/trace/native-run-5.swf b/test/trace/native-run-5.swf
new file mode 100644
index 0000000..f6a4d92
Binary files /dev/null and b/test/trace/native-run-5.swf differ
diff --git a/test/trace/native-run-5.swf.trace b/test/trace/native-run-5.swf.trace
new file mode 100644
index 00000...
2007 Sep 13
0
2 commits - libswfdec/swfdec_as_function.c test/trace
...rticles/scope_chain.htm
+
+getMethod = function() {
+ var setProto = function() {
+ this.__proto__ = o1;
+ };
+ setProto();
+
+ return function() {
+ trace(a);
+ };
+};
+
+_global.a = 4;
+o1 = {a:5};
+o2 = {a:6};
+a = 7;
+
+o2.theMethod = getMethod();
+o2.theMethod();
+
+loadMovie ("FSCommand:quit", "");
diff --git a/test/trace/scope-chain-function-and-5.swf b/test/trace/scope-chain-function-and-5.swf
new file mode 100644
index 0000000..fffebc2
Binary files /dev/null and b/test/trace/scope-chain-function-and-5.swf differ
diff --git a/test/trace/scope-chain-function-and-5....
2007 Jun 27
0
Branch 'as' - 4 commits - test/trace
...ables in the function's scope");
+
+createEmptyMovieClip ("movie", 0);
+
+function foo () {
+ setTarget ("movie");
+ var bla = 42;
+ setTarget ("");
+ trace (this.bla);
+ trace (movie.bla);
+}
+foo ();
+trace (bla);
+trace (movie.bla);
+
+loadMovie ("FSCommand:quit", "");
diff --git a/test/trace/definelocal-target-5.swf b/test/trace/definelocal-target-5.swf
new file mode 100644
index 0000000..1dcc79e
Binary files /dev/null and b/test/trace/definelocal-target-5.swf differ
diff --git a/test/trace/definelocal-target-5.swf.trace b/test/trace/d...
2007 Jun 05
0
Branch 'as' - 8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_number.c libswfdec/swfdec_as_scope.h
...tests.
+// The branch offsets have been adjusted.
+trace ("Check various things when jumping into with commands");
+x = 0;
+o = new Object ();
+o.x = -1;
+with (o) {
+ trace (x);
+}
+trace (x);
+x++;
+if (x < 10) {
+ asm {
+ branchalways "hi"
+ };
+}
+
+loadMovie ("FSCommand:quit", "");
diff --git a/test/trace/jump-into-with.swf b/test/trace/jump-into-with.swf
new file mode 100644
index 0000000..2baaeb5
Binary files /dev/null and b/test/trace/jump-into-with.swf differ
diff --git a/test/trace/jump-into-with.swf.trace b/test/trace/jump-into-with.swf.trace...
2007 Aug 22
0
5 commits - libswfdec/swfdec_as_object.c NEWS player/swfplay.c
...9;master' of ssh://company at git.freedesktop.org/git/swfdec/swfdec
diff-tree 36bd9448b3825d1db38969f18139a7c085be820f (from 6f3db89d5b461a706c484b2e9da091b357d1fff0)
Author: Benjamin Otte <otte at gnome.org>
Date: Wed Aug 22 13:38:05 2007 +0200
add support for player scripts (aka FSCommand)
also add a --no-scripts option to get rid of it
diff --git a/player/swfplay.c b/player/swfplay.c
index 23e3f8f..996deb2 100644
--- a/player/swfplay.c
+++ b/player/swfplay.c
@@ -59,6 +59,15 @@ view_swf (SwfdecPlayer *player, gboolean
}
static void
+do_fscommand (SwfdecPlayer *player,...
2007 Jul 30
0
10 commits - libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_super.c libswfdec/swfdec_video_movie_as.c test/trace
...>
+ <PushData>
+ <items>
+ <StackInteger value="0"/>
+ <StackString value="foo"/>
+ </items>
+ </PushData>
+ <CallFunction/>
+ <Pop/>
+ <GetURL url="fscommand:quit" target=""/>
+ </actions>
+ </DoAction>
+ <ShowFrame/>
+ <End/>
+ </tags>
+ </Header>
+</swf>
diff --git a/test/trace/definefunction2-overwrite.swf b/test/trace/definefunction2-overwrite.swf
new file mode 100644
ind...
2007 Jun 17
2
Branch 'as' - test/trace
test/trace/Makefile.am | 1
test/trace/values.as | 63 +++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 64 insertions(+)
New commits:
diff-tree aaca94203d8a0ccb8feb32c0d57df3401fca0350 (from 987074e275ac77f8799e5fdf41890e8ef126b291)
Author: Benjamin Otte <otte at gnome.org>
Date: Sun Jun 17 12:56:42 2007 +0200
add values.as which provides some default values
2007 Oct 28
1
2 commits - libswfdec/swfdec_as_interpret.c test/trace
...b/test/trace/crash-0.5.3-divide-by-zero.as
new file mode 100644
index 0000000..6a94e5a
--- /dev/null
+++ b/test/trace/crash-0.5.3-divide-by-zero.as
@@ -0,0 +1,5 @@
+// makeswf -v 7 -s 200x150 -r 1 -o crash-0.5.3-divide-by-zero.swf crash-0.5.3-divide-by-zero.as
+
+trace (1 / 0);
+
+loadMovie ("fscommand:QUIT", "");
diff --git a/test/trace/crash-0.5.3-divide-by-zero.swf b/test/trace/crash-0.5.3-divide-by-zero.swf
new file mode 100644
index 0000000..6d57b22
Binary files /dev/null and b/test/trace/crash-0.5.3-divide-by-zero.swf differ
diff --git a/test/trace/crash-0.5.3-divide-by-zero....
2007 Jul 27
0
11 commits - libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c libswfdec/swfdec_sprite_movie_as.c test/trace
...ew Object ();
+AsBroadcaster.initialize (emitter);
+o1 = new Object ();
+o1.foo = function () {
+ trace ("o1");
+};
+emitter._listeners = new Object ();
+emitter._listeners[10] = o1;
+trace (emitter._listeners[10]);
+trace (emitter.broadcastMessage ("foo"));
+
+loadMovie ("FSCommand:quit", "");
diff-tree 00f6b6ce1b01dd2f2eb2a0c1532c2b8f83741a36 (from e617568c097b604b54d0137431ee92ed0d427a0e)
Author: Benjamin Otte <otte at gnome.org>
Date: Fri Jul 27 13:06:24 2007 +0200
add a test for return values of AsBroadcaster
diff --git a/test/trace/Makefile.a...
2007 Dec 11
0
3 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_movie.c test/trace
...000000..16c0e3d
--- /dev/null
+++ b/test/trace/crash-0.5.4-13491-stack-overflow.as
@@ -0,0 +1,6 @@
+// makeswf -v 7 -s 200x150 -r 1 -o crash-0.5.4-13491-stack-overflow.swf crash-0.5.4-13491-stack-overflow.as
+
+x = { toString: function () { return String (this); } };
+
+trace (x);
+loadMovie ("fscommand:quit", "");
commit 6495efaab49bd9a19b57c11a4b23e1db00fdd868
Author: Benjamin Otte <otte at gnome.org>
Date: Tue Dec 11 11:40:12 2007 +0100
properly exit when hitting a stack overflow (fixes #13491)
diff --git a/libswfdec/swfdec_as_context.c b/libswfdec/swfdec_as_context...
2007 Oct 17
0
28 commits - configure.ac debian/changelog debian/control debian/copyright debian/.gitignore debian/libswfdec0.dirs debian/libswfdec0.files debian/libswfdec0.shlibs debian/libswfdec-dev.dirs debian/libswfdec-dev.files debian/rules debian/swf-player.dirs
...swfdec/swfdec_as_interpret.c b/libswfdec/swfdec_as_interpret.c
index d0814fd..1f7faaf 100644
--- a/libswfdec/swfdec_as_interpret.c
+++ b/libswfdec/swfdec_as_interpret.c
@@ -1149,7 +1149,7 @@ swfdec_action_get_url (SwfdecAsContext *cx, guint action, const guint8 *data, gu
} else if (swfdec_player_fscommand (SWFDEC_PLAYER (cx), url, target)) {
/* nothing to do here */
} else {
- SwfdecSpriteMovie *movie = swfdec_player_get_level (SWFDEC_PLAYER (cx), target, TRUE, TRUE);
+ SwfdecSpriteMovie *movie = swfdec_player_get_level (SWFDEC_PLAYER (cx), target, TRUE);
if (movie) {
if (S...
2007 Aug 15
3
2 commits - libswfdec/swfdec_as_object.c test/trace
...oto__.__proto__.__proto__.addProperty ("x", function () { trace (this.name); return 642; }, function () { trace (this.name + " set"); });
+trace (o.x);
+o.x = 15;
+trace (o.x);
+o.__proto__.__proto__ = o.__proto__.__proto__.__proto__;
+o.x = 15;
+trace (o.x);
+
+loadMovie ("FSCommand:quit", "");
diff-tree d43d504a01b534233965d5c7fd851ae65ac5ce09 (from 01dc987b2068a641f131abed7da476b2f7fd852a)
Author: Benjamin Otte <otte at gnome.org>
Date: Wed Aug 15 21:59:48 2007 +0200
fix property setting when addProperty had been called on parents
diff --git a/li...