search for: onstatus

Displaying 13 results from an estimated 13 matches for "onstatus".

Did you mean: nstatus
2007 Mar 14
0
10 commits - libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_flv_decoder.h libswfdec/swfdec_js_global.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader.h libswfdec/swfdec_loadertarget.c
...| 8 - libswfdec/swfdec_net_stream.c | 184 +++++++++++++++++------ libswfdec/swfdec_net_stream.h | 7 test/trace/Makefile.am | 10 + test/trace/README | 40 +++-- test/trace/netstream-onstatus-notfound.as | 14 + test/trace/netstream-onstatus-notfound.swf |binary test/trace/netstream-onstatus-notfound.swf.trace | 6 test/trace/netstream-onstatus.c | 44 +++++ test/trace/netstream-onstatus.swf |binary test/trace/netstream-onstatus.swf...
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
...te: Thu Mar 22 17:41:08 2007 +0100 use the right name for this file diff --git a/test/trace/Makefile.am b/test/trace/Makefile.am index 9f66866..f11d827 100644 --- a/test/trace/Makefile.am +++ b/test/trace/Makefile.am @@ -130,7 +130,7 @@ EXTRA_DIST = \ netconnection.swf.trace \ netstream-onstatus.c \ netstream-onstatus.swf \ - netstream-onstatus.trace \ + netstream-onstatus.swf.trace \ netstream-onstatus-notfound.as \ netstream-onstatus-notfound.swf \ netstream-onstatus-notfound.swf.trace \ diff-tree 05fd750c320d0da611f2268a94b24a2314300012 (from e6438754381f1486ebe5413dacdd85cfc9ff...
2007 Apr 27
0
Changes to 'refs/tags/0.4.3'
...fdec_loader_load works. Don't return immediately in swfdec_loader_target_parse if the loader is in error change sematics of trace test slightly use the movie's JSClass add currently crashing test Fix crash when setInterval is used with arguments implement onStatus events implement NetStream.setBufferTime add 2 tests for onStatus messages update the README to include information about source files parse KeyPress events correctly put debug message in front Merge branch 'master' of ssh://company@git.freedesktop.org/gi...
2007 Aug 02
0
10 commits - libswfdec/compiler.c libswfdec-gtk/swfdec_source.c libswfdec/Makefile.am libswfdec/swfdec_player.c NEWS test/trace
....swf.trace \ netconnection.swf \ netconnection.swf.trace \ + netstream-load-loop.as \ + netstream-load-loop-6.swf \ + netstream-load-loop-6.swf.trace \ + netstream-load-loop-7.swf \ + netstream-load-loop-7.swf.trace \ + netstream-load-loop-8.swf \ + netstream-load-loop-8.swf.trace \ netstream-onstatus.c \ netstream-onstatus.swf \ netstream-onstatus.swf.trace \ diff --git a/test/trace/netstream-load-loop-6.swf b/test/trace/netstream-load-loop-6.swf new file mode 100644 index 0000000..41bee8d Binary files /dev/null and b/test/trace/netstream-load-loop-6.swf differ diff --git a/test/trace/netst...
2007 Apr 27
0
Changes to 'refs/tags/0.4.4'
...fdec_loader_load works. Don't return immediately in swfdec_loader_target_parse if the loader is in error change sematics of trace test slightly use the movie's JSClass add currently crashing test Fix crash when setInterval is used with arguments implement onStatus events implement NetStream.setBufferTime add 2 tests for onStatus messages update the README to include information about source files parse KeyPress events correctly put debug message in front Merge branch 'master' of ssh://company@git.freedesktop.org/gi...
2007 Oct 15
0
8 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_sound.c libswfdec/swfdec_sound.h test/trace
...e <otte at gnome.org> Date: Mon Oct 15 18:34:15 2007 +0200 test for NewObject action fix diff --git a/test/trace/Makefile.am b/test/trace/Makefile.am index 1657703..cd5b3ba 100644 --- a/test/trace/Makefile.am +++ b/test/trace/Makefile.am @@ -921,6 +921,15 @@ EXTRA_DIST = \ netstream-onstatus-notfound.as \ netstream-onstatus-notfound.swf \ netstream-onstatus-notfound.swf.trace \ + newobject-paths.as \ + newobject-paths-5.swf \ + newobject-paths-5.swf.trace \ + newobject-paths-6.swf \ + newobject-paths-6.swf.trace \ + newobject-paths-7.swf \ + newobject-paths-7.swf.trace \ + newobjec...
2007 Jun 10
1
variable scope
caveat: I haven't either read actionscript language spec nor really got through swfdec context, frame and such. This is fully based on blocky.swf code inspection. thanks to flare, i can extract the below beautiful code. You don't need to understand the whole thing but there is one thing to notice: border[XY]start are initialized in on(press) and get used in on(release). Currently swfdec
2008 Dec 14
1
Changes to ''rtmp''
...Benjamin Otte <otte at gnome.org> Date: Wed Dec 10 12:44:29 2008 +0100 handle Buffer.Full and Buffer.Empty messages commit d41eca3df869806eb10bd604756ca1a4504f01f7 Author: Benjamin Otte <otte at gnome.org> Date: Wed Dec 10 11:58:45 2008 +0100 emit NetStream.Buffer.Fluash onStatus message when told to flush commit c07614d5f0d95e120d4e145a49145294910fb367 Author: Benjamin Otte <otte at gnome.org> Date: Wed Dec 10 11:51:03 2008 +0100 implement proper queueing for the RPC channel commit aaca181f760da6718eb4ba263d13d196db1b19a9 Author: Benjamin Otte <otte at gn...
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
...AS_CONSTANT_STRING ("onRollOver"), + SWFDEC_AS_CONSTANT_STRING ("onRollOut"), + SWFDEC_AS_CONSTANT_STRING ("onDragOver"), + SWFDEC_AS_CONSTANT_STRING ("onDragOut"), + SWFDEC_AS_CONSTANT_STRING ("onConstruct"), + SWFDEC_AS_CONSTANT_STRING ("onStatus"), + SWFDEC_AS_CONSTANT_STRING ("error"), + SWFDEC_AS_CONSTANT_STRING ("NetStream.Buffer.Empty"), + SWFDEC_AS_CONSTANT_STRING ("NetStream.Buffer.Full"), + SWFDEC_AS_CONSTANT_STRING ("NetStream.Buffer.Flush"), + SWFDEC_AS_CONSTANT_STRING ("NetSt...
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
...;otte@gnome.org> Date: Thu Mar 15 19:53:01 2007 +0100 add debugging message diff --git a/libswfdec/swfdec_net_stream.c b/libswfdec/swfdec_net_stream.c index 48dd120..8840d78 100644 --- a/libswfdec/swfdec_net_stream.c +++ b/libswfdec/swfdec_net_stream.c @@ -36,6 +36,7 @@ swfdec_net_stream_onstatus (SwfdecNetStr JSObject *object; JSContext *cx; + SWFDEC_INFO ("emitting onStatus for %s %s", level, code); cx = stream->player->jscx; object = JS_NewObject (cx, NULL, NULL, NULL); if (!object) diff-tree 78a3f9774427296b4382492369dec48c6a427c20 (from 165ab93606a6387...
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
...a connection on creation now. - connections are now created without a JSObject. diff --git a/libswfdec/swfdec_connection.c b/libswfdec/swfdec_connection.c index 2360804..8e423df 100644 --- a/libswfdec/swfdec_connection.c +++ b/libswfdec/swfdec_connection.c @@ -89,18 +89,16 @@ swfdec_connection_onstatus (SwfdecConnec } SwfdecConnection * -swfdec_connection_new (JSContext *cx, JSObject *obj) +swfdec_connection_new (JSContext *cx) { SwfdecConnection *conn; SwfdecScriptable *script; g_return_val_if_fail (cx != NULL, NULL); - g_return_val_if_fail (obj != NULL, NULL); conn = g_obj...
2007 Sep 03
0
20 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_number.c
...swfdec_as_initialize.as script works. A test for version 5 will follow after the XML stuff lands. diff --git a/test/trace/Makefile.am b/test/trace/Makefile.am index b2c362e..70c60e3 100644 --- a/test/trace/Makefile.am +++ b/test/trace/Makefile.am @@ -665,6 +665,13 @@ EXTRA_DIST = \ netstream-onstatus-notfound.swf.trace \ number.swf \ number.swf.trace \ + number-properties.as \ + number-properties-6.swf \ + number-properties-6.swf.trace \ + number-properties-7.swf \ + number-properties-7.swf.trace \ + number-properties-8.swf \ + number-properties-8.swf.trace \ object-math-5.swf \ object-...
2008 Jan 21
0
70 commits - configure.ac libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_socket.c libswfdec-gtk/swfdec_gtk_socket.h libswfdec-gtk/swfdec_playback_alsa.c
...t; Date: Mon Jan 21 14:39:49 2008 +0100 fix NEtStream to remember its sandbox diff --git a/libswfdec/swfdec_net_stream.c b/libswfdec/swfdec_net_stream.c index 01566ad..1502a28 100644 --- a/libswfdec/swfdec_net_stream.c +++ b/libswfdec/swfdec_net_stream.c @@ -41,9 +41,12 @@ swfdec_net_stream_onstatus (SwfdecNetStream *stream, const char *code, const cha SwfdecAsValue val; SwfdecAsObject *object; + swfdec_sandbox_use (stream->sandbox); object = swfdec_as_object_new (SWFDEC_AS_OBJECT (stream)->context); - if (!object) + if (!object) { + swfdec_sandbox_unuse (stream->sand...