search for: broadcastmessage

Displaying 14 results from an estimated 14 matches for "broadcastmessage".

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
...| 10 + libswfdec/swfdec_player.c | 77 +++++------ libswfdec/swfdec_sprite_movie_as.c | 35 +++++ test/trace/Makefile.am | 45 ++++++ test/trace/asbroadcaster-broadcastMessage-retval-5.swf |binary test/trace/asbroadcaster-broadcastMessage-retval-5.swf.trace | 7 + test/trace/asbroadcaster-broadcastMessage-retval-6.swf |binary test/trace/asbroadcaster-broadcastMessage-retval-6.swf.trace | 7 + test/trace/asbroadcaster-br...
2007 Aug 03
0
Changes to 'refs/tags/0.5.1'
....height Stage is a broadcaster implement emitting the onResize signal add test for onResize event emission perform actions before unlocking implement MovieClip.getBounds() add a test for ASnative add a test for overriding AsBroadcaster methods rewrite broadcastMessage so it produces the correct return value add a test for return values of AsBroadcaster add test for when broadcaster._listeners is not an array only goto on the video if there is a video so the _listeners don't have to be an array - we just need a length property us...
2008 May 03
1
[Bug 15814] New: unable to view new york times feature
...no function named "removeMovieClip" on object unknown SWFDEC: FIXME: swfdec_system_security.c(38): swfdec_system_security_allowDomain: System.security.allowDomain (static) is not implemented yet SWFDEC: WARN : swfdec_as_interpret.c(895): swfdec_action_call_method: no function named "broadcastMessage" on object SwfdecAsNativeFunction pathsloc:undefined SWFDEC: WARN : swfdec_sprite_movie_as.c(722): swfdec_sprite_movie_attachMovie: no symbol with name undefined exported SWFDEC: WARN : swfdec_as_interpret.c(895): swfdec_action_call_method: no function named "removeMovieClip" on obje...
2007 Nov 27
0
12 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h
...swf.trace @@ -0,0 +1,18 @@ +_global.Mouse = object + __proto__ (hpc) = _global.Object.prototype + _listeners (hpc) = object + __proto__ (hp) = _global.Array.prototype + constructor (hp) = _global.Array + length (hp) = number : 0 + addListener (hpc) = _global.AsBroadcaster.addListener + broadcastMessage (hpc) = function + __proto__ (hp) = _global.Function.prototype + constructor (hp) = _global.Function + constructor (hpc) = _global.Object + hide (hpc) = function + __proto__ (hp) = _global.Function.prototype + constructor (hp) = _global.Function + removeListener (hpc) = _global.AsBro...
2007 Nov 15
0
4 commits - libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_function.c libswfdec/swfdec_as_interpret.c test/trace
...n () { return "broadcast"; }; -emitter._listeners[0].broadcast.toString = function () { return "broadcast"; }; + child (); + + loadMovie ("FSCommand:quit", ""); +} +timeout.valueOf = timeout.toString = function () { return "timeout"; }; -emitter.broadcastMessage ("broadcast"); +function run () { + var o = {}; + var tmp = {}; -function timeout () { - trace (""); - trace ("Timeout:"); + trace ("Run:"); trace ("arguments: " + arguments); trace ("caller: " + arguments.caller); trace...
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
...wfdec_initialize.as b/libswfdec/swfdec_initialize.as index 0741314..b153c7a 100644 --- a/libswfdec/swfdec_initialize.as +++ b/libswfdec/swfdec_initialize.as @@ -49,9 +49,10 @@ AsBroadcaster.initialize = function (o) o._listeners = new Array (); ASSetPropFlags(o, "broadcastMessage,addListener,removeListener,_listeners", 131); }; -ASSetPropFlags(o, null, 131); +ASSetPropFlags(AsBroadcaster, null, 131); /*** MOUSE ***/ + Mouse = new Object (); Mouse.show = ASnative (5, 0); Mouse.hide = ASnative (5, 1); diff --git a/libswfdec/swfdec_initialize.h b...
2007 Jul 27
0
libswfdec/swfdec_asbroadcaster.c
...broadcaster.c +++ b/libswfdec/swfdec_asbroadcaster.c @@ -21,7 +21,6 @@ #include "config.h" #endif -#include "swfdec_as_array.h" #include "swfdec_as_object.h" #include "swfdec_as_strings.h" #include "swfdec_debug.h" @@ -47,10 +46,10 @@ broadcastMessage (SwfdecAsContext *cx, S argc--; swfdec_as_object_get_variable (object, SWFDEC_AS_STR__listeners, &val); - if (!SWFDEC_AS_VALUE_IS_OBJECT (&val) || - !SWFDEC_IS_AS_ARRAY (listeners = SWFDEC_AS_VALUE_GET_OBJECT (&val))) + if (!SWFDEC_AS_VALUE_IS_OBJECT (&val)) retu...
2008 Jan 21
1
70 commits
Hey, In case someone filters commit mails or doesn't read 1MB blobs, I've just merged the result of me getting annoyed at various stuff. Unfortunately, this grew a bit out of hand and ended up being very huge. I expect this merge to have broken lots of things, so if you find stuff that used to work and now doesn't work (or even crashes), please poke me about it. What does this patch
2007 Nov 14
0
2 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_string.c libswfdec/swfdec_color_as.c libswfdec/swfdec_initialize.as
...; + } SWFDEC_AS_VALUE_SET_OBJECT (&val, object); diff --git a/libswfdec/swfdec_asbroadcaster.c b/libswfdec/swfdec_asbroadcaster.c index 05897e8..7d26d64 100644 --- a/libswfdec/swfdec_asbroadcaster.c +++ b/libswfdec/swfdec_asbroadcaster.c @@ -39,6 +39,9 @@ broadcastMessage (SwfdecAsContext *cx, SwfdecAsObject *object, const char *name; GSList *list = NULL, *walk; + if (object == NULL) + return; + if (argc < 1) return; name = swfdec_as_value_to_string (cx, &argv[0]); diff --git a/libswfdec/swfdec_color_as.c b/libswfdec/swf...
2008 Jan 07
0
3 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/swfdec_as_array.c libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_types.c libswfdec/swfdec_xml.c
...wfdecAsContext * @i: an integer that fits into 32 bits * diff --git a/libswfdec/swfdec_asbroadcaster.c b/libswfdec/swfdec_asbroadcaster.c index 5ea7d58..f15b828 100644 --- a/libswfdec/swfdec_asbroadcaster.c +++ b/libswfdec/swfdec_asbroadcaster.c @@ -64,7 +64,7 @@ broadcastMessage (SwfdecAsContext *cx, SwfdecAsObject *object, /* FIXME: solve this wth foreach, so it gets faster for weird cases */ for (i = 0; i < length; i++) { - swfdec_as_object_get_variable (listeners, swfdec_as_double_to_string (cx, i), &val); + swfdec_as_object_get_variable (li...
2007 Aug 23
0
10 commits - libswfdec/swfdec_as_function.c libswfdec/swfdec_as_object.c test/trace
...p) = _global.Object.__proto__ + addListener (hp) = function + __proto__ (hp) = _global.Object.__proto__ + constructor (hp) = _global.Object.constructor + prototype (hp) = object + __proto__ (hp) = _global.Object.prototype + constructor (hp) = _global.AsBroadcaster.addListener + broadcastMessage (hp) = function + __proto__ (hp) = _global.Object.__proto__ + constructor (hp) = _global.Object.constructor + constructor (hp) = _global.Object.constructor + initialize (hp) = function + __proto__ (hp) = _global.Object.__proto__ + constructor (hp) = _global.Object.constructor + pro...
2008 Jun 17
2
[Bug 16395] New: glib abort for "double free or corruption" in jpeg code
..._decoder_parse_one: tag function not implemented for 73 DefineFontAlignZones SWFDEC: WARN : swfdec_swf_decoder.c(342): swfdec_swf_decoder_parse_one: tag function not implemented for 73 DefineFontAlignZones SWFDEC: WARN : swfdec_as_interpret.c(879): swfdec_action_call_method: no function named "broadcastMessage" on object SwfdecAsNativeFunction *** glibc detected *** /usr/lib/iceweasel/firefox-bin: double free or corruption (out): 0x0a8d6500 *** ======= Backtrace: ========= /lib/libc.so.6[0xb71f88a5] /lib/libc.so.6(cfree+0x9c)[0xb71fa74c] /usr/lib/libglib-2...
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
...quot;); + return; + } + + SWFDEC_AS_VALUE_SET_STRING (&vals[0], name); + SWFDEC_AS_VALUE_SET_OBJECT (&vals[1], movie); + if (n_args) + memcpy (&vals[2], args, sizeof (SwfdecAsValue) * n_args); + swfdec_as_object_call (SWFDEC_AS_OBJECT (resource->clip_loader), SWFDEC_AS_STR_broadcastMessage, + n_args + 2, vals, NULL); +} + static void swfdec_resource_loader_target_open (SwfdecLoaderTarget *target, SwfdecLoader *loader) { @@ -119,6 +147,7 @@ swfdec_resource_loader_target_open (SwfdecLoaderTarget *target, SwfdecLoader *lo SWFDEC_INFO ("set manual movie variables: %s&q...
2007 Nov 30
0
36 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_date.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_flash_security.c
...bal.Function + prototype (hp) = object + __proto__ (hp) = _global.Object.prototype + _listeners (hp) = object + __proto__ (hp) = _global.Array.prototype + constructor (hp) = _global.Array + length (hp) = number : 0 + addListener (hp) = _global.AsBroadcaster.addListener + broadcastMessage (hp) = function + __proto__ (hp) = _global.Function.prototype + constructor (hp) = _global.Function + browse (hpn) = function + __proto__ (hp) = _global.Function.prototype + constructor (hp) = _global.Function + constructor (hp) = _global.flash.net.FileReferenceList + r...