search for: definefunction2

Displaying 20 results from an estimated 22 matches for "definefunction2".

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
...| 144 +++++++-------- libswfdec/swfdec_as_interpret.c | 7 libswfdec/swfdec_as_super.c | 1 libswfdec/swfdec_video_movie_as.c | 2 test/trace/Makefile.am | 15 + test/trace/definefunction2-arguments-registers.swf |binary test/trace/definefunction2-arguments-registers.swf.trace | 3 test/trace/definefunction2-arguments-registers.xml | 49 +++++ test/trace/definefunction2-arguments.swf |binary test/trace/definefunction2-arguments.swf.trace...
2007 Aug 17
0
Branch 'vivi' - 13 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_debugger.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_script_function.c test/trace vivified/core vivified/ui
...ibswfdec/swfdec_as_debugger.h | 8 libswfdec/swfdec_as_interpret.c | 2 libswfdec/swfdec_as_object.c | 6 libswfdec/swfdec_as_script_function.c | 4 test/trace/Makefile.am | 9 test/trace/definefunction2-registers-5.swf |binary test/trace/definefunction2-registers-5.swf.trace | 67 ++++ test/trace/definefunction2-registers-6.swf |binary test/trace/definefunction2-registers-6.swf.trace | 67 ++++ test/trace/definefunction2-registers-7.swf |binary test/trace/definefunction2-r...
2007 Aug 03
0
Changes to 'refs/tags/0.5.1'
...|binary test/trace/clonesprite-depths-7.swf.trace | 4 test/trace/clonesprite-depths-8.swf |binary test/trace/clonesprite-depths-8.swf.trace | 4 test/trace/clonesprite-depths.as | 12 test/trace/definefunction2-arguments-registers.swf |binary test/trace/definefunction2-arguments-registers.swf.trace | 3 test/trace/definefunction2-arguments-registers.xml | 49 test/trace/definefunction2-arguments.swf |binary test/trace/definefunction2-arguments.swf.trace...
2007 Feb 16
0
11 commits - libswfdec/swfdec_font.c libswfdec/swfdec_font.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_script.c libswfdec/swfdec_script.h test/.gitignore test/trace
...(cx, NULL, n_args, 0, cx->fp->thisp, function_name); } if (fun == NULL) return JS_FALSE; diff-tree aabc4fdacdad8392d185467be20a858d2bff1cad (from debdc90a5da93480aa82e2d78331720c4f53c103) Author: Benjamin Otte <otte@gnome.org> Date: Fri Feb 16 19:23:42 2007 +0100 make DefineFunction2 work various changes, including: - make DefineFunction2 really work (it used to not work before) - allocate 4 local variables in swfdec_script_interpret diff --git a/libswfdec/swfdec_script.c b/libswfdec/swfdec_script.c index dc8b2a5..95a5561 100644 --- a/libswfdec/swfdec_script.c...
2007 Aug 26
0
Changes to 'refs/tags/0.5.2'
...truct-properties-7.swf |binary test/trace/construct-properties-7.swf.trace | 93 ++++ test/trace/construct-properties-8.swf |binary test/trace/construct-properties-8.swf.trace | 93 ++++ test/trace/construct-properties.as | 36 + test/trace/definefunction2-registers-5.swf |binary test/trace/definefunction2-registers-5.swf.trace | 67 +++ test/trace/definefunction2-registers-6.swf |binary test/trace/definefunction2-registers-6.swf.trace | 67 +++ test/trace/definefunction2-registers-7.swf |binary test/trace/definefunction...
2007 Aug 22
0
163 commits - autogen.sh configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h libswfdec-gtk/swfdec_gtk_widget.c libswfdec-gtk/swfdec_source.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c
...est/sound/sound.c | 2 test/swfedit_tag.c | 4 test/swfedit_token.c | 7 test/swfscript.c | 7 test/trace/Makefile.am | 18 test/trace/definefunction2-registers-5.swf |binary test/trace/definefunction2-registers-5.swf.trace | 67 +++ test/trace/definefunction2-registers-6.swf |binary test/trace/definefunction2-registers-6.swf.trace | 67 +++ test/trace/definefunction2-registers-7.swf |binary test/trace/definefunction2-reg...
2008 Jan 15
0
4 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_types.c test/trace
...inebutton-5.swf.trace \ - definebutton-6.swf \ - definebutton-6.swf.act \ - definebutton-6.swf.trace \ - definebutton-7.swf \ - definebutton-7.swf.act \ - definebutton-7.swf.trace \ - definebutton-8.swf \ - definebutton-8.swf.act \ - definebutton-8.swf.trace \ - definebutton.xml \ + default.sts \ definefunction2-arguments.swf \ definefunction2-arguments.swf.trace \ definefunction2-arguments.xml \ @@ -1468,45 +1430,6 @@ EXTRA_DIST = \ microphone-properties-7.swf.trace \ microphone-properties-8.swf \ microphone-properties-8.swf.trace \ - mouse-addProperty-relevant.as \ - mouse-addProperty-relevant-...
2007 Nov 22
0
5 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_debugger.c libswfdec/swfdec_movie.c libswfdec/swfdec_script.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_text_field.c
...s_get_string_with_version (&bits, cx->version); + swfdec_bits_get_string (&bits, cx->version); } if (swfdec_bits_left (&bits)) { @@ -2855,7 +2855,7 @@ swfdec_action_print_define_function (guint action, const guint8 *data, guint len string = g_string_new (v2 ? "DefineFunction2 " : "DefineFunction "); swfdec_bits_init_data (&bits, data, len); /* FIXME: version! */ - function_name = swfdec_bits_get_string_with_version (&bits, 7); + function_name = swfdec_bits_get_string (&bits, 7); if (function_name == NULL) { SWFDEC_ERROR ("...
2007 Feb 01
0
Branch 'interpreter' - libswfdec/swfdec_script.c
...] = { "WaitForFrame2", NULL }, + [0x8d] = { "WaitForFrame2", swfdec_action_print_wait_for_frame2, 1, 0, { NULL, swfdec_action_wait_for_frame2, swfdec_action_wait_for_frame2, swfdec_action_wait_for_frame2, swfdec_action_wait_for_frame2 } }, /* version 7 */ [0x8e] = { "DefineFunction2", NULL }, [0x8f] = { "Try", NULL },
2007 Oct 10
0
4 commits - libswfdec/Makefile.am libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h m4/gtk-doc.m4 Makefile.am test/trace
...tte <otte at gnome.org> Date: Wed Oct 10 16:58:02 2007 +0200 add a test for DefineFunction targets diff --git a/test/trace/Makefile.am b/test/trace/Makefile.am index 2788ac0..314315c 100644 --- a/test/trace/Makefile.am +++ b/test/trace/Makefile.am @@ -389,6 +389,15 @@ EXTRA_DIST = \ definefunction2-this.swf \ definefunction2-this.swf.trace \ definefunction2-this.xml \ + definefunction-target.as \ + definefunction-target-5.swf \ + definefunction-target-5.swf.trace \ + definefunction-target-6.swf \ + definefunction-target-6.swf.trace \ + definefunction-target-7.swf \ + definefunction-target...
2007 Oct 26
0
3 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_interpret.c
...}, [SWFDEC_AS_ACTION_IMPLEMENTS] = { "Implements", NULL, -1, 0, { NULL, NULL, NULL, NULL, swfdec_action_implements } }, /* version 4 */ @@ -3032,7 +3087,7 @@ const SwfdecActionSpec swfdec_as_actions[256] = { #endif /* version 7 */ [SWFDEC_AS_ACTION_DEFINE_FUNCTION2] = { "DefineFunction2", swfdec_action_print_define_function, 0, -1, { NULL, NULL, NULL, swfdec_action_define_function, swfdec_action_define_function } }, - [SWFDEC_AS_ACTION_TRY] = { "Try", NULL }, + [SWFDEC_AS_ACTION_TRY] = { "Try", NULL, 0, 0, { NULL, NULL, NULL, NULL, swfdec_action_try } },...
2007 Nov 07
0
14 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_script.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_text_field_movie.c
...0, swfdec_action_goto_frame, 3 }, [SWFDEC_AS_ACTION_GET_URL] = { "GetURL", swfdec_action_print_get_url, 0, 0, swfdec_action_get_url, 3 }, @@ -3223,7 +3213,7 @@ const SwfdecActionSpec swfdec_as_actions[256] = { #endif /* version 7 */ [SWFDEC_AS_ACTION_DEFINE_FUNCTION2] = { "DefineFunction2", swfdec_action_print_define_function, 0, -1, swfdec_action_define_function, 7 }, - [SWFDEC_AS_ACTION_TRY] = { "Try", NULL, 0, 0, { NULL, NULL, NULL, NULL, swfdec_action_try } }, + [SWFDEC_AS_ACTION_TRY] = { "Try", NULL, 0, 0, swfdec_action_try, 7 }, /* version 5 */...
2007 Apr 27
0
Changes to 'refs/tags/0.4.3'
...plication/x-www-form-urlencoded mime type Add testing for urlencode functions add swfscript round the width and height instead of just casting add another test for the width/height changes fix invalid code that caused crashes when parsing kerning tables implement DefineFunction2 partially implement ActionDelete implement StoreRegister and pushing registers in ActionPush implement ActionModulo make DefineFunction2 work use this as parent in DefineFunction add 2 tests for function scopes Add swfdec_player_set_loader_with_variables st...
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
...ActionSpec actions[25 /* version 4 */ [0x8d] = { "WaitForFrame2", swfdec_action_print_wait_for_frame2, 1, 0, { NULL, swfdec_action_wait_for_frame2, swfdec_action_wait_for_frame2, swfdec_action_wait_for_frame2, swfdec_action_wait_for_frame2 } }, /* version 7 */ - [0x8e] = { "DefineFunction2", swfdec_action_print_define_function, 0, -1, { NULL, NULL, NULL, NULL, swfdec_action_define_function2 } }, + [0x8e] = { "DefineFunction2", swfdec_action_print_define_function, 0, -1, { NULL, NULL, NULL, swfdec_action_define_function, swfdec_action_define_function } }, [0x8f] = {...
2007 Aug 02
0
10 commits - libswfdec/compiler.c libswfdec-gtk/swfdec_source.c libswfdec/Makefile.am libswfdec/swfdec_player.c NEWS test/trace
...structure in the process. +- implement AsBroadcaster actionscript object. +- implement Stage actionscript object. Movies can now do the scaling themselves. +- change the HTTP in swfdec-gtk from gnome-vfs to libsoup +- add an OSS backend for non-ALSA operating systems. +- various fixes to super and DefineFunction2 flags. + 0.5.0 ("Meet Plan Party!") Here's the long overdue update. Lots of backend stuff was rewritten. The only diff-tree 441a5c28298c3f2539f26192c0766833f976c4ae (from b4727b210bc1f135412c730c2e037944a133afe0) Author: Benjamin Otte <otte at gnome.org> Date: Thu Aug 2 1...
2007 Apr 27
0
Changes to 'refs/tags/0.4.4'
...plication/x-www-form-urlencoded mime type Add testing for urlencode functions add swfscript round the width and height instead of just casting add another test for the width/height changes fix invalid code that caused crashes when parsing kerning tables implement DefineFunction2 partially implement ActionDelete implement StoreRegister and pushing registers in ActionPush implement ActionModulo make DefineFunction2 work use this as parent in DefineFunction add 2 tests for function scopes Add swfdec_player_set_loader_with_variables st...
2007 Apr 04
0
Branch 'as' - 4 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_types.c libswfdec/swfdec_as_types.h
...et ", data, NULL); +} + +static char * +swfdec_action_print_define_function (guint action, const guint8 *data, guint len) +{ + SwfdecBits bits; + GString *string; + const char *function_name; + guint i, n_args, size; + gboolean v2 = (action == 0x8e); + + string = g_string_new (v2 ? "DefineFunction2 " : "DefineFunction "); + swfdec_bits_init_data (&bits, data, len); + function_name = swfdec_bits_get_string (&bits); + if (function_name == NULL) { + SWFDEC_ERROR ("could not parse function name"); + g_string_free (string, TRUE); + return NULL; + } +...
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
...ntf ("With %u", GUINT16_FROM_LE (*(guint16 *) data)); +} + +static char * swfdec_action_print_store_register (guint action, const guint8 *data, guint len) { if (len != 1) { @@ -2344,7 +2371,7 @@ const SwfdecActionSpec swfdec_as_actions [SWFDEC_AS_ACTION_DEFINE_FUNCTION2] = { "DefineFunction2", swfdec_action_print_define_function, 0, -1, { NULL, NULL, NULL, swfdec_action_define_function, swfdec_action_define_function } }, [SWFDEC_AS_ACTION_TRY] = { "Try", NULL }, /* version 5 */ - [SWFDEC_AS_ACTION_WITH] = { "With", NULL }, + [SWFDEC_AS_ACTION_WITH] = {...
2007 Apr 12
0
Branch 'as' - 14 commits - libswfdec-gtk/swfdec_playback_alsa.c 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
...const SwfdecActionSpec swfdec_as_actions [0x8d] = { "WaitForFrame2", swfdec_action_print_wait_for_frame2, 1, 0, { NULL, swfdec_action_wait_for_frame2, swfdec_action_wait_for_frame2, swfdec_action_wait_for_frame2, swfdec_action_wait_for_frame2 } }, /* version 7 */ [0x8e] = { "DefineFunction2", swfdec_action_print_define_function, 0, -1, { NULL, NULL, NULL, swfdec_action_define_function, swfdec_action_define_function } }, - [0x8f] = { "Try", NULL }, - /* version 5 */ - [0x94] = { "With", NULL }, #endif + [SWFDEC_AS_ACTION_TRY] = { "Try", NULL }, +...
2007 Nov 28
0
59 commits - libswfdec-gtk/swfdec_gtk_widget.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_button.c libswfdec/swfdec_button.h libswfdec/swfdec_button_movie.c libswfdec/swfdec_button_movie.h libswfdec/swfdec_event.c
....swf.act \ + definebutton-5.swf.trace \ + definebutton-6.swf \ + definebutton-6.swf.act \ + definebutton-6.swf.trace \ + definebutton-7.swf \ + definebutton-7.swf.act \ + definebutton-7.swf.trace \ + definebutton-8.swf \ + definebutton-8.swf.act \ + definebutton-8.swf.trace \ + definebutton.xml \ definefunction2-arguments.swf \ definefunction2-arguments.swf.trace \ definefunction2-arguments.xml \ diff --git a/test/trace/definebutton-5.swf b/test/trace/definebutton-5.swf new file mode 100644 index 0000000..6ab33d2 Binary files /dev/null and b/test/trace/definebutton-5.swf differ diff --git a/test/trace/...