Displaying 20 results from an estimated 47 matches for "swfdec_root_movi".
Did you mean:
swfdec_root_movie
2007 Mar 07
0
13 commits - libswfdec/Makefile.am libswfdec/swfdec_js_global.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_root_movie.c libswfdec/swfdec_root_movie.h libswfdec/swfdec_script.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c
libswfdec/Makefile.am | 2
libswfdec/swfdec_js_global.c | 11 +++-
libswfdec/swfdec_js_movie.c | 52 +++++++++++++++++++
libswfdec/swfdec_root_movie.c | 86 +++++++++++++++------------------
libswfdec/swfdec_root_movie.h | 10 +--
libswfdec/swfdec_script.c | 4 -
libswfdec/swfdec_sprite.h | 2
libswfdec/swfdec_sprite_movie.c | 41 ---------------
libswfdec/swfdec_swf_decoder.c...
2007 Mar 07
0
2 commits - libswfdec/swfdec_js_movie.c libswfdec/swfdec_root_movie.h
libswfdec/swfdec_js_movie.c | 3 +++
libswfdec/swfdec_root_movie.h | 4 ++++
2 files changed, 7 insertions(+)
New commits:
diff-tree bb4cc0da47ef8cc6978c1b51e55a0da1339ed5b9 (from 637a8dcb5663fc692c8b2e222e3555609759f7ff)
Author: Benjamin Otte <otte@gnome.org>
Date: Wed Mar 7 21:41:23 2007 +0100
warn about not handling initObject
diff --git a/...
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
...th.h | 56 ++++++++
libswfdec/swfdec_button_movie.c | 2
libswfdec/swfdec_mouse_as.c | 4
libswfdec/swfdec_movie.c | 30 ++--
libswfdec/swfdec_player.c | 1
libswfdec/swfdec_root_movie.c | 13 +-
libswfdec/swfdec_root_movie.h | 2
libswfdec/swfdec_sprite_movie.c | 8 -
libswfdec/swfdec_sprite_movie_as.c | 9 -
player/swfdec_debug_movies.c | 4
test/trace/Makefile.am...
2007 Mar 16
0
libswfdec/swfdec_loader.c libswfdec/swfdec_loader.h libswfdec/swfdec_loader_internal.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_root_movie.c libswfdec/swfdec_xml.c
libswfdec/swfdec_loader.c | 91 +++++++++++++++++++++++++++++++++++--
libswfdec/swfdec_loader.h | 13 +++++
libswfdec/swfdec_loader_internal.h | 2
libswfdec/swfdec_net_stream.c | 1
libswfdec/swfdec_root_movie.c | 4 +
libswfdec/swfdec_xml.c | 9 +--
6 files changed, 111 insertions(+), 9 deletions(-)
New commits:
diff-tree 0c7b304d2eb371c85616808e083f353e174bf263 (from 13a4101ff86efb11f43e4b28778f1d90a320b118)
Author: Benjamin Otte <otte@gnome.org>
Date: Fri Mar 16 16:35:...
2007 Mar 05
0
11 commits - configure.ac libswfdec/swfdec_js_movie.c libswfdec/swfdec_root_movie.c libswfdec/swfdec_root_movie.h libswfdec/swfdec_script.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_swf_decoder.c
configure.ac | 2
libswfdec/swfdec_js_movie.c | 3 -
libswfdec/swfdec_root_movie.c | 58 +++++++++++++++++++
libswfdec/swfdec_root_movie.h | 16 ++++-
libswfdec/swfdec_script.c | 119 ++++++++++++++++++++++++++++++++--------
libswfdec/swfdec_sprite.c | 6 +-
libswfdec/swfdec_sprite.h | 4 -
libswfdec/swfdec_sprite_movie.c | 41 +++++++++++++...
2007 Jun 06
0
Branch 'as' - libswfdec/Makefile.am libswfdec/swfdec_root_movie.c libswfdec/swfdec_root_sprite.c libswfdec/swfdec_root_sprite.h libswfdec/swfdec_swf_decoder.c libswfdec/swfdec_swf_decoder.h libswfdec/swfdec_tag.c
libswfdec/Makefile.am | 2
libswfdec/swfdec_root_movie.c | 10 +-
libswfdec/swfdec_root_sprite.c | 178 -----------------------------------------
libswfdec/swfdec_root_sprite.h | 65 --------------
libswfdec/swfdec_swf_decoder.c | 64 ++++++++++++++
libswfdec/swfdec_swf_decoder.h | 20 ++++
libswfdec/swfdec_tag.c | 65 +++++++++++++...
2007 Mar 02
0
12 commits - libswfdec/Makefile.am libswfdec/swfdec_audio_flv.c libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_js.c libswfdec/swfdec_js.h libswfdec/swfdec_js_video.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h
...++
libswfdec/swfdec_loader.c | 21 ++++++
libswfdec/swfdec_loader_internal.h | 1
libswfdec/swfdec_loadertarget.c | 18 ++++-
libswfdec/swfdec_net_stream.c | 36 +++++++----
libswfdec/swfdec_net_stream.h | 1
libswfdec/swfdec_player.c | 1
libswfdec/swfdec_root_movie.c | 30 +++------
libswfdec/swfdec_video.c | 63 ++++++++------------
libswfdec/swfdec_video_movie.c | 64 +++++++++++++++-----
libswfdec/swfdec_video_movie.h | 21 ++++--
16 files changed, 333 insertions(+), 104 deletions(-)
New commits:
diff-tree f3b5a7ee8d8516b94...
2007 Mar 09
0
17 commits - libswfdec/js libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c libswfdec/swfdec_js.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_root_movie.c
...| 8 +
libswfdec/swfdec_js_global.c | 30 +++++
libswfdec/swfdec_js_movie.c | 181 +++++++++++++++++++++++++----------
libswfdec/swfdec_movie.c | 22 ----
libswfdec/swfdec_player.c | 54 ++++++++++
libswfdec/swfdec_player_internal.h | 7 +
libswfdec/swfdec_root_movie.c | 24 ++++
libswfdec/swfdec_root_movie.h | 2
libswfdec/swfdec_script.c | 191 +++++++++++++++++++++----------------
player/swfdec_player_manager.c | 1
test/trace/Makefile.am | 2
test/trace/prototypes.swf |binary
test/trace/prototypes...
2007 Feb 17
0
8 commits - configure.ac doc/swfdec-sections.txt libswfdec/swfdec_loader.c libswfdec/swfdec_player.c libswfdec/swfdec_player.h libswfdec/swfdec_player_internal.h libswfdec/swfdec_root_movie.c libswfdec/swfdec_scriptable.c libswfdec/swfdec_scriptable.h
...igure.ac | 2 -
doc/swfdec-sections.txt | 1
libswfdec/swfdec_loader.c | 6 ++-
libswfdec/swfdec_player.c | 35 ++++++++++++++++++++---
libswfdec/swfdec_player.h | 4 ++
libswfdec/swfdec_player_internal.h | 3 +
libswfdec/swfdec_root_movie.c | 2 -
libswfdec/swfdec_script.c | 23 ++++++++++++++-
libswfdec/swfdec_scriptable.c | 56 +++++++++++++++++++++++++++++++++++++
libswfdec/swfdec_scriptable.h | 3 +
player/swfdebug.c | 4 +-
player/swfplay.c | 4 +-
test...
2007 Feb 22
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_js.c libswfdec/swfdec_js_mouse.c libswfdec/swfdec_listener.c libswfdec/swfdec_listener.h libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_root_movie.c
...30 +++++-
libswfdec/swfdec_listener.c | 184 +++++++++++++++++++++++++++++++++++++
libswfdec/swfdec_listener.h | 42 ++++++++
libswfdec/swfdec_movie.c | 3
libswfdec/swfdec_player.c | 55 +++++++++--
libswfdec/swfdec_player_internal.h | 12 +-
libswfdec/swfdec_root_movie.c | 2
libswfdec/swfdec_sprite_movie.c | 11 +-
libswfdec/swfdec_types.h | 1
player/swfdebug.c | 35 +++++--
player/swfdec_player_manager.c | 5 +
13 files changed, 357 insertions(+), 30 deletions(-)
New commits:
diff-tree f5d0f071e911b84ac0c...
2007 Mar 15
0
11 commits - libswfdec/swfdec_debugger.c libswfdec/swfdec_debugger.h libswfdec/swfdec_event.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c
...r,
+ * Boston, MA 02110-1301 USA
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <gtk/gtk.h>
+#include <libswfdec/swfdec_debugger.h>
+#include <libswfdec/swfdec_movie.h>
+#include <libswfdec/swfdec_player_internal.h>
+#include <libswfdec/swfdec_root_movie.h>
+#include "swfdec_debug_movies.h"
+
+/*** GTK_TREE_MODEL ***/
+
+#if 0
+# define REPORT g_print ("%s\n", G_STRFUNC)
+#else
+# define REPORT
+#endif
+static GtkTreeModelFlags
+swfdec_debug_movies_get_flags (GtkTreeModel *tree_model)
+{
+ REPORT;
+ return 0;
+}
+
+sta...
2007 Feb 01
0
Branch 'interpreter' - libswfdec/swfdec_script.c
...+ cx->fp->sp--;
+ movie = swfdec_action_get_target (cx);
+ if (movie) {
+ int frame = swfdec_value_to_frame (cx, movie, val);
+ guint jump = data[2];
+ guint loaded;
+ if (frame < 0)
+ return JS_TRUE;
+ if (SWFDEC_IS_ROOT_MOVIE (movie)) {
+ SwfdecDecoder *dec = SWFDEC_ROOT_MOVIE (movie)->decoder;
+ loaded = dec->frames_loaded;
+ g_assert (loaded <= movie->n_frames);
+ } else {
+ loaded = movie->n_frames;
+ }
+ if (loaded < (guint) frame)
+ swfdec_script_skip_actions (cx, jump);
+ } else {
+ SWFDEC_ERROR ("no movie to...
2007 Mar 01
0
11 commits - libswfdec/Makefile.am libswfdec/swfdec_connection.c libswfdec/swfdec_connection.h libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_js.c libswfdec/swfdec_js_connection.c libswfdec/swfdec_js.h libswfdec/swfdec_js_net_stream.c
...libswfdec/swfdec_loadertarget.c | 87 +++++++++++++++--
libswfdec/swfdec_loadertarget.h | 6 -
libswfdec/swfdec_net_stream.c | 25 ++++
libswfdec/swfdec_net_stream.h | 9 +
libswfdec/swfdec_player.c | 16 +++
libswfdec/swfdec_player_internal.h | 3
libswfdec/swfdec_root_movie.c | 2
libswfdec/swfdec_script.c | 7 +
libswfdec/swfdec_scriptable.c | 9 +
libswfdec/swfdec_xml.c | 187 +++++++++++++++++++++++++++++++++++++
libswfdec/swfdec_xml.h | 59 +++++++++++
test/trace/Makefile.am | 2
test/trace/n...
2007 Jan 16
0
9 commits - libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_audio_stream.c libswfdec/swfdec_audio_stream.h libswfdec/swfdec_cache.c libswfdec/swfdec_cached.c libswfdec/swfdec_cached.h libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_image.c
...om AS
Make SwfdecMovie a SwfdecScriptable
diff --git a/libswfdec/Makefile.am b/libswfdec/Makefile.am
index 08e39de..8ab165c 100644
--- a/libswfdec/Makefile.am
+++ b/libswfdec/Makefile.am
@@ -63,6 +63,7 @@ libswfdec_@SWFDEC_MAJORMINOR@_la_SOURCES
swfdec_rect.c \
swfdec_ringbuffer.c \
swfdec_root_movie.c \
+ swfdec_scriptable.c \
swfdec_shape.c \
swfdec_sound.c \
swfdec_sprite.c \
@@ -131,6 +132,7 @@ noinst_HEADERS = \
swfdec_rect.h \
swfdec_ringbuffer.h \
swfdec_root_movie.h \
+ swfdec_scriptable.h \
swfdec_shape.h \
swfdec_sound.h \
swfdec_sprite.h \
diff --git a/libswfdec/sw...
2007 Jan 18
0
Branch 'interpreter' - 2 commits - libswfdec/js libswfdec/swfdec_js_movie.c libswfdec/swfdec_script.c
...--git a/libswfdec/swfdec_script.c b/libswfdec/swfdec_script.c
index 3d39a72..5b01510 100644
--- a/libswfdec/swfdec_script.c
+++ b/libswfdec/swfdec_script.c
@@ -29,7 +29,9 @@
/*** SUPPORT FUNCTIONS ***/
+#include "swfdec_decoder.h"
#include "swfdec_movie.h"
+#include "swfdec_root_movie.h"
static SwfdecMovie *
swfdec_action_get_target (JSContext *cx)
@@ -45,9 +47,91 @@ swfdec_action_stop (JSContext *cx, guint
SwfdecMovie *movie = swfdec_action_get_target (cx);
if (movie)
movie->stopped = TRUE;
+ else
+ SWFDEC_ERROR ("no movie to stop");
ret...
2007 Mar 20
0
4 commits - libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_flv_decoder.h libswfdec/swfdec_movie.c test/trace
...a/libswfdec/swfdec_flv_decoder.c b/libswfdec/swfdec_flv_decoder.c
index 21e2ff8..7615225 100644
--- a/libswfdec/swfdec_flv_decoder.c
+++ b/libswfdec/swfdec_flv_decoder.c
@@ -656,8 +656,8 @@ swfdec_flv_decoder_add_movie (SwfdecFlvD
/* set up the playback stream */
conn = swfdec_connection_new (SWFDEC_ROOT_MOVIE (parent)->player->jscx);
stream = swfdec_net_stream_new (SWFDEC_ROOT_MOVIE (parent)->player, conn);
- stream->flvdecoder = flv;
swfdec_net_stream_set_loader (stream, SWFDEC_ROOT_MOVIE (parent)->loader);
+ stream->flvdecoder = flv;
swfdec_video_movie_set_input (SWFDEC_V...
2007 Mar 22
0
7 commits - configure.ac doc/swfdec-docs.sgml libswfdec/js libswfdec/swfdec_buffer.c libswfdec/swfdec_buffer.h libswfdec/swfdec_js_movie.c test/trace
...c_getBytesLoaded (JSContext *cx, JSObje
SwfdecMovie *movie;
SwfdecDecoder *dec;
- movie = JS_GetPrivate(cx, obj);
+ movie = swfdec_scriptable_from_object (cx, obj, SWFDEC_TYPE_MOVIE);
+ if (movie == NULL) {
+ SWFDEC_WARNING ("not a movie");
+ return JS_TRUE;
+ }
dec = SWFDEC_ROOT_MOVIE (movie->root)->decoder;
*rval = INT_TO_JSVAL(MIN (dec->bytes_loaded, dec->bytes_total));
@@ -155,7 +166,11 @@ mc_getBytesTotal (JSContext *cx, JSObjec
SwfdecMovie *movie;
SwfdecDecoder *dec;
- movie = JS_GetPrivate(cx, obj);
+ movie = swfdec_scriptable_from_object (cx, o...
2007 Jan 14
0
Changes to 'refs/tags/0.4.1'
...| 286 +++++++++++++++++++++
libswfdec/swfdec_net_stream.h | 81 ++++++
libswfdec/swfdec_pattern.c | 14 -
libswfdec/swfdec_player.c | 349 +++++++++++++++++++++++---
libswfdec/swfdec_player.h | 10
libswfdec/swfdec_player_internal.h | 32 +-
libswfdec/swfdec_root_movie.c | 154 +++++------
libswfdec/swfdec_root_movie.h | 1
libswfdec/swfdec_sound.c | 8
libswfdec/swfdec_sound.h | 2
libswfdec/swfdec_sprite_movie.c | 15 -
libswfdec/swfdec_swf_decoder.c | 35 +-
libswfdec/swfdec_swf_decoder.h | 17 -
lib...
2007 Apr 04
0
Branch 'as' - 17 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_loader.h
...ovie.h | 10 -
libswfdec/swfdec_net_stream.c | 90 ++++++------
libswfdec/swfdec_net_stream.h | 6
libswfdec/swfdec_player.c | 124 +++++++++--------
libswfdec/swfdec_player.h | 3
libswfdec/swfdec_player_internal.h | 19 +-
libswfdec/swfdec_root_movie.c | 12 -
libswfdec/swfdec_script.c | 10 -
libswfdec/swfdec_sprite.c | 3
libswfdec/swfdec_sprite_movie.c | 4
libswfdec/swfdec_swf_decoder.c | 1
libswfdec/swfdec_video.c | 12 +
libswfdec/swfdec_video_movie.c | 4
l...
2007 Nov 07
0
7 commits - doc/swfdec-sections.txt libswfdec-gtk/swfdec_gtk_widget.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_decoder.c libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c
...DEO, NULL);
- video->width = G_MAXUINT;
- video->height = G_MAXUINT;
- content->graphic = SWFDEC_GRAPHIC (video);
- content->free = TRUE;
- movie = swfdec_movie_new (parent, content);
- g_object_weak_ref (G_OBJECT (movie), (GWeakNotify) g_object_unref, video);
- g_signal_connect (SWFDEC_ROOT_MOVIE (parent)->player, "notify::initialized",
- G_CALLBACK (notify_initialized), movie);
- /* set up the playback stream */
- conn = swfdec_connection_new (SWFDEC_ROOT_MOVIE (parent)->player->jscx);
- stream = swfdec_net_stream_new (SWFDEC_ROOT_MOVIE (parent)->player, conn...