search for: swfdeclisten

Displaying 12 results from an estimated 12 matches for "swfdeclisten".

Did you mean: swfdeclistener
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
...mouse_cursor (player); g_object_thaw_notify (G_OBJECT (player)); swfdec_player_emit_signals (player); diff-tree 4ce0d0abb3f64d0b93d9718051344275be5bdedb (from e5d04657bbb051abe723a80ecd28df4bdc0f4ba4) Author: Benjamin Otte <otte@gnome.org> Date: Tue Feb 20 13:00:28 2007 +0100 add SwfdecListener SwfdecListener is supposed to be used for implementing addListener/removeListener functionality for Mouse and Key objects. diff --git a/libswfdec/Makefile.am b/libswfdec/Makefile.am index 0216266..1fd20c9 100644 --- a/libswfdec/Makefile.am +++ b/libswfdec/Makefile.am @@ -51,6 +51,7...
2007 Jul 26
0
17 commits - doc/swfdec-sections.txt libswfdec/compiler.c libswfdec/.gitignore libswfdec/Makefile.am libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_strings.c
..._as_object.h" -#include "swfdec_debug.h" - -typedef struct { - SwfdecAsObject * object; /* the object we care about or NULL if empty */ - const char * blocked_by; /* string of event we're about to execute */ - gboolean removed; /* TRUE if was removed but is blocked */ -} SwfdecListenerEntry; - -struct _SwfdecListener { - SwfdecAsContext * context; - /* we can't use GArray here because it reallocated below us, which JS_AddRoot doesn't like */ - SwfdecListenerEntry * entries; /* all allocated entries */ - guint n_entries; /* number of allocated entries */ -}; - -Swf...
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
...emoved */ - gboolean removed :1; /* TRUE if was removed but is blocked */ + SwfdecAsObject * object; /* the object we care about or NULL if empty */ + const char * blocked_by; /* string of event we're about to execute */ + gboolean removed; /* TRUE if was removed but is blocked */ } SwfdecListenerEntry; struct _SwfdecListener { - SwfdecPlayer * player; + SwfdecAsContext * context; /* we can't use GArray here because it reallocated below us, which JS_AddRoot doesn't like */ SwfdecListenerEntry * entries; /* all allocated entries */ guint n_entries; /* number of alloc...
2007 Jun 27
0
Branch 'as' - 3 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_js_video.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_video_movie_as.c libswfdec/swfdec_video_movie.c
...g_signal_emit (player, signals[ADVANCE], 0, msecs, frames); diff --git a/libswfdec/swfdec_player_internal.h b/libswfdec/swfdec_player_internal.h index 6ef00b3..473871a 100644 --- a/libswfdec/swfdec_player_internal.h +++ b/libswfdec/swfdec_player_internal.h @@ -59,6 +59,7 @@ struct _SwfdecPlayer SwfdecListener * mouse_listener; /* emitting mouse events */ SwfdecListener * key_listener; /* emitting keyboard events */ SwfdecAsObject * MovieClip; /* MovieClip object */ + SwfdecAsObject * Video; /* Video object */ /* rendering */ SwfdecRect invalid; /* area that needs a rredraw...
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
...@@ -56,6 +56,7 @@ struct _SwfdecPlayer JSObject * jsobj; /* the global object */ unsigned int interval_id; /* id returned from setInterval call */ GList * intervals; /* all currently running intervals */ + GHashTable * registered_classes; /* name => jsval* to constructor */ SwfdecListener * mouse_listener; /* emitting mouse events */ SwfdecListener * key_listener; /* emitting keyboard events */ @@ -114,6 +115,12 @@ void swfdec_player_lock (SwfdecPlayer void swfdec_player_unlock (SwfdecPlayer * player); void swfdec_player_perform_actions (SwfdecPlayer * player);...
2007 Apr 27
0
Changes to 'refs/tags/0.4.3'
...add test for local scope using DefineLocal Add missing \n to print statements Add a warning in CallMethod if a function doesn't exist andle quitting in breakpoint while feeding data make the actions take any gpointer instead of just SwfdecMovies for actions add SwfdecListener call _perform_actions after scheduling timeouts implement Mouse.addListener() and Mouse.removeListener() handle NULL input when converting args fix getting the current target, so that it works with scope chains rework SetVariable, SetProperty and GetProperty im...
2007 Apr 12
0
Branch 'as' - 15 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c libswfdec/swfdec_as_function.h libswfdec/swfdec_as_interpret.c
...S_OBJECT (conn), SWFDEC_AS_STR_STATUS, 1, &value, NULL); } SwfdecConnection * diff --git a/libswfdec/swfdec_listener.c b/libswfdec/swfdec_listener.c index b4495e7..b2021f0 100644 --- a/libswfdec/swfdec_listener.c +++ b/libswfdec/swfdec_listener.c @@ -135,7 +135,7 @@ swfdec_listener_execute (SwfdecListener listener->entries[i].removed = FALSE; } listener->entries[i].blocked_by = NULL; - swfdec_as_object_call (obj, event, 0, NULL); + swfdec_as_object_call (obj, event, 0, NULL, NULL); } } } diff --git a/libswfdec/swfdec_movie.c b/libswfdec/swfdec_movie.c inde...
2007 Apr 27
0
Changes to 'refs/tags/0.4.4'
...add test for local scope using DefineLocal Add missing \n to print statements Add a warning in CallMethod if a function doesn't exist andle quitting in breakpoint while feeding data make the actions take any gpointer instead of just SwfdecMovies for actions add SwfdecListener call _perform_actions after scheduling timeouts implement Mouse.addListener() and Mouse.removeListener() handle NULL input when converting args fix getting the current target, so that it works with scope chains rework SetVariable, SetProperty and GetProperty im...
2007 Jul 18
0
12 commits - configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_playback_alsa.c libswfdec/jpeg libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_array.c libswfdec/swfdec_as_boolean.h libswfdec/swfdec_as_context.c
...SwfdecAsObject *object, const char *fun_name, guint n_args, const SwfdecAsValue *args) diff --git a/libswfdec/swfdec_listener.c b/libswfdec/swfdec_listener.c index da7a365..73c1bf9 100644 --- a/libswfdec/swfdec_listener.c +++ b/libswfdec/swfdec_listener.c @@ -79,7 +79,7 @@ swfdec_listener_add (SwfdecListener *lis return TRUE; } if (found >= listener->n_entries) { - gpointer mem; + SwfdecListenerEntry *mem; guint new_len = listener->n_entries + 16; mem = g_try_realloc (listener->entries, sizeof (SwfdecListenerEntry) * new_len); diff --git a/libswfdec/swfdec_l...
2007 Mar 29
0
libswfdec-gtk/swfdec_playback_alsa.c libswfdec/swfdec_audio_event.h libswfdec/swfdec_audio_flv.h libswfdec/swfdec_audio_stream.h libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_buffer.h libswfdec/swfdec_cache.c
.../* the global object */ - unsigned int interval_id; /* id returned from setInterval call */ + guint interval_id; /* id returned from setInterval call */ GList * intervals; /* all currently running intervals */ GHashTable * registered_classes; /* name => jsval* to constructor */ SwfdecListener * mouse_listener; /* emitting mouse events */ diff --git a/libswfdec/swfdec_root_movie.c b/libswfdec/swfdec_root_movie.c index d644b44..36282d7 100644 --- a/libswfdec/swfdec_root_movie.c +++ b/libswfdec/swfdec_root_movie.c @@ -189,7 +189,7 @@ swfdec_root_movie_load (SwfdecRootMovie if (g_str...
2007 Mar 29
0
Branch 'as' - 9 commits - libswfdec-gtk/swfdec_playback_alsa.c libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c
.../* the global object */ - unsigned int interval_id; /* id returned from setInterval call */ + guint interval_id; /* id returned from setInterval call */ GList * intervals; /* all currently running intervals */ GHashTable * registered_classes; /* name => jsval* to constructor */ SwfdecListener * mouse_listener; /* emitting mouse events */ diff --git a/libswfdec/swfdec_root_movie.c b/libswfdec/swfdec_root_movie.c index d644b44..36282d7 100644 --- a/libswfdec/swfdec_root_movie.c +++ b/libswfdec/swfdec_root_movie.c @@ -189,7 +189,7 @@ swfdec_root_movie_load (SwfdecRootMovie if (g_str...
2007 Nov 07
0
36 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_buffer.c libswfdec/swfdec_buffer.h
...G_END_DECLS #endif diff --git a/libswfdec/swfdec_types.h b/libswfdec/swfdec_types.h index 60193a0..2a9149a 100644 --- a/libswfdec/swfdec_types.h +++ b/libswfdec/swfdec_types.h @@ -46,6 +46,7 @@ typedef struct _SwfdecGraphic SwfdecGraphic; typedef struct _SwfdecImage SwfdecImage; typedef struct _SwfdecListener SwfdecListener; typedef struct _SwfdecMovie SwfdecMovie; +typedef struct _SwfdecMovieClipLoader SwfdecMovieClipLoader; typedef struct _SwfdecShape SwfdecShape; typedef struct _SwfdecShapeVec SwfdecShapeVec; typedef struct _SwfdecRect SwfdecRect; commit 92a2422dec91d300599cbe2d6372f95f140f80b3...