search for: callmethod

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

2007 Nov 14
0
4 commits - libswfdec/swfdec_as_interpret.c test/trace
libswfdec/swfdec_as_interpret.c | 3 test/trace/Makefile.am | 18 ++++ test/trace/callmethod-this-5.swf |binary test/trace/callmethod-this-5.swf.trace | 136 +++++++++++++++++++++++++++++++++ test/trace/callmethod-this-6.swf |binary test/trace/callmethod-this-6.swf.trace | 134 ++++++++++++++++++++++++++++++++ test/trace/callmethod-this-7.swf...
2007 May 22
0
Branch 'as' - 9 commits - libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_function.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_native_function.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_script_function.c
...+++++++++++++-- libswfdec/swfdec_as_super.h | 11 +++-- libswfdec/swfdec_debug.c | 5 +- libswfdec/swfdec_debug.h | 5 ++ test/trace/Makefile.am | 7 +++ test/trace/callmethod-undefined-this-5.swf |binary test/trace/callmethod-undefined-this-5.swf.trace | 5 ++ test/trace/callmethod-undefined-this-6.swf |binary test/trace/callmethod-undefined-this-6.swf.trace | 5 ++ test/trace/callmethod-undefined-this-7.swf |bin...
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
...trace/arguments-5.swf.trace index 02fbeb4..7e8718f 100644 --- a/test/trace/arguments-5.swf.trace +++ b/test/trace/arguments-5.swf.trace @@ -2,23 +2,49 @@ Global: arguments: caller: callee: -Child CallFunction: +Child: arguments: caller: null -callee: func -Child CallMethod: +callee: child +Run: arguments: caller: null -callee: func +callee: run +Child CallFunction: +arguments: +caller: run +callee: child +Child CallMethod: +arguments: +caller: run +callee: child + +toString: +arguments: +caller: run +callee: func_and_child +Child: +arguments: +caller: func_and...
2007 Jul 04
0
Branch 'as' - 25 commits - libswfdec/Makefile.am libswfdec/swfdec_as_boolean.c libswfdec/swfdec_as_boolean.h 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
...nts-7.swf.trace | 232 +++++++++++++++++++++++ test/trace/call-arguments-8.swf |binary test/trace/call-arguments-8.swf.trace | 232 +++++++++++++++++++++++ test/trace/call-arguments.as | 19 + test/trace/callmethod-undefined-this-5.swf |binary test/trace/callmethod-undefined-this-5.swf.trace | 2 test/trace/callmethod-undefined-this-6.swf |binary test/trace/callmethod-undefined-this-6.swf.trace | 2 test/trace/callmethod-undefined-this-7.swf |binary...
2007 Nov 15
2
Changes to 'refs/tags/0.5.4'
Tag '0.5.4' created by Benjamin Otte <otte at gnome.org> at 2007-11-15 10:12 -0800 release 0.5.4 ("Turkish Cycling Federation") -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHPBurvMv5VCdLq8QRAj1KAJ40NHRRS3gKyJjSjyyoH7gDaGi/tQCeOha/ R5PF4bZQqmSdJ64t8EbD4cA= =8qBy -----END PGP SIGNATURE----- Changes since the dawn of time: Benjamin Otte
2007 Feb 19
0
2 commits - libswfdec/swfdec_script.c test/swfdec-extract.c
...-extract.c | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) New commits: diff-tree ba5327ffe305de547d40a282a1d866a2cf9e992e (from 842b4b558af7b8ad68f47fd7473989fc46fd23d6) Author: Benjamin Otte <otte@gnome.org> Date: Mon Feb 19 23:06:14 2007 +0100 Add a warning in CallMethod if a function doesn't exist diff --git a/libswfdec/swfdec_script.c b/libswfdec/swfdec_script.c index 824861b..f8a9623 100644 --- a/libswfdec/swfdec_script.c +++ b/libswfdec/swfdec_script.c @@ -675,6 +675,9 @@ swfdec_action_call_method (JSContext *cx } else {...
2007 Mar 07
1
2 commits - libswfdec/swfdec_script.c test/trace
libswfdec/swfdec_script.c | 14 ++++++++++++-- test/trace/Makefile.am | 2 ++ test/trace/gotoframe.swf |binary test/trace/gotoframe.swf.trace | 13 +++++++++++++ 4 files changed, 27 insertions(+), 2 deletions(-) New commits: diff-tree 12348410a3509928a6e8e4c8ca00292a58ff542c (from 46e62d4410c20c19774a45758d8ebf11cd0bdf96) Author: Benjamin
2007 May 29
0
Branch 'as' - 6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_js_xml.c libswfdec/swfdec_tag.c player/swfplay.c
...NULL, NULL, swfdec_action_increment, swfdec_action_increment, swfdec_action_increment } }, [SWFDEC_AS_ACTION_DECREMENT] = { "Decrement", NULL, 1, 1, { NULL, NULL, swfdec_action_decrement, swfdec_action_decrement, swfdec_action_decrement } }, [SWFDEC_AS_ACTION_CALL_METHOD] = { "CallMethod", NULL, -1, 1, { NULL, NULL, swfdec_action_call_method, swfdec_action_call_method, swfdec_action_call_method } }, -#if 0 - [0x53] = { "NewMethod", NULL, -1, 1, { NULL, NULL, swfdec_action_new_method, swfdec_action_new_method, swfdec_action_new_method } }, + [SWFDEC_AS_ACTION_NEW_ME...
2007 Jan 25
0
Branch 'interpreter' - 28 commits - configure.ac libswfdec/js libswfdec/swfdec_buffer.c libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c libswfdec/swfdec_js.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_player.c
...0x50] = { "Increment", NULL, 1, 1, { NULL, NULL, swfdec_action_increment, swfdec_action_increment, swfdec_action_increment } }, + [0x51] = { "Decrement", NULL, 1, 1, { NULL, NULL, swfdec_action_decrement, swfdec_action_decrement, swfdec_action_decrement } }, [0x52] = { "CallMethod", NULL, -1, 1, { NULL, NULL, swfdec_action_call_method, swfdec_action_call_method, swfdec_action_call_method } }, [0x53] = { "NewMethod", NULL }, /* version 6 */ diff-tree f2e4bc2ff2bfa289f325e525619b79dcf4815f9c (from 568f6fdf0b44ea7cfcc87b33ed4ac09e88bbd47e) Author: B...
2007 Mar 05
0
5 commits - libswfdec/swfdec_js.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_script.c test/trace
...0x50] = { "Increment", NULL, 1, 1, { NULL, NULL, swfdec_action_increment, swfdec_action_increment, swfdec_action_increment } }, [0x51] = { "Decrement", NULL, 1, 1, { NULL, NULL, swfdec_action_decrement, swfdec_action_decrement, swfdec_action_decrement } }, [0x52] = { "CallMethod", NULL, -1, 1, { NULL, NULL, swfdec_action_call_method, swfdec_action_call_method, swfdec_action_call_method } }, - [0x53] = { "NewMethod", NULL }, + [0x53] = { "NewMethod", NULL, -1, 1, { NULL, NULL, swfdec_action_new_method, swfdec_action_new_method, swfdec_action_new_m...
2007 Jun 08
0
Changes to 'refs/tags/0.4.2'
...ame implement swfdec_bits_init_from_data to use SwfdecBits without a buffer add the constant pool to the stack frame implement ConstantPool and Push implement GetVariable, fix a missing break in print_push and add better debugging implement Trace action implement CallMethod and Pop + lots of bugfixing add stub for _quality property add GetProperty and SetProperty actions implement GetMember and Add2 for Flash7 implement SetMember fix string Add2 push a double, not a float fix SetMember Fix case handling (don't make i...
2007 May 29
0
Branch 'as' - 8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_math.c libswfdec/swfdec_as_math.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_as_types.c
...RING ("ceil") /* add more here */ ; diff-tree 0bd5c28a8bb10533dc2962d2957c44cf6e1bafb4 (from b5cddf5ee7be4ec7c966a61692b4f3fe37e35b75) Author: Benjamin Otte <otte at gnome.org> Date: Sun May 27 18:41:05 2007 +0200 try harder to get the name for debug messages in CallMethod diff --git a/libswfdec/swfdec_as_interpret.c b/libswfdec/swfdec_as_interpret.c index 59dcf68..bcea772 100644 --- a/libswfdec/swfdec_as_interpret.c +++ b/libswfdec/swfdec_as_interpret.c @@ -669,6 +669,8 @@ swfdec_action_call_method (SwfdecAsConte swfdec_as_obj...
2007 Apr 27
0
Changes to 'refs/tags/0.4.3'
...ame implement swfdec_bits_init_from_data to use SwfdecBits without a buffer add the constant pool to the stack frame implement ConstantPool and Push implement GetVariable, fix a missing break in print_push and add better debugging implement Trace action implement CallMethod and Pop + lots of bugfixing add stub for _quality property add GetProperty and SetProperty actions implement GetMember and Add2 for Flash7 implement SetMember fix string Add2 push a double, not a float fix SetMember Fix case handling (don't make i...
2007 Feb 01
0
Branch 'interpreter' - 9 commits - libswfdec/js libswfdec/swfdec_script.c libswfdec/swfdec_script.h player/swfdec_debug_stack.c test/trace
...72f2837e088c2fba410ea9b0df082 (from b6dcac3542c5de3b38b7505ea44be99c95b50de9) Author: Benjamin Otte <otte@gnome.org> Date: Thu Feb 1 14:37:13 2007 +0100 various fixes for tests - apparently all objects evaluate to NaN in Flash 7 - handle error case ValueToObject == NULL in CallMethod - walk the whole scope chain in CallFunction when trying to find the function diff --git a/libswfdec/swfdec_script.c b/libswfdec/swfdec_script.c index ad08eef..39b3b8b 100644 --- a/libswfdec/swfdec_script.c +++ b/libswfdec/swfdec_script.c @@ -161,7 +161,7 @@ swf...
2007 Apr 27
0
Changes to 'refs/tags/0.4.4'
...ame implement swfdec_bits_init_from_data to use SwfdecBits without a buffer add the constant pool to the stack frame implement ConstantPool and Push implement GetVariable, fix a missing break in print_push and add better debugging implement Trace action implement CallMethod and Pop + lots of bugfixing add stub for _quality property add GetProperty and SetProperty actions implement GetMember and Add2 for Flash7 implement SetMember fix string Add2 push a double, not a float fix SetMember Fix case handling (don't make i...
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
...NULL, NULL, swfdec_action_increment, swfdec_action_increment, swfdec_action_increment } }, - [SWFDEC_AS_ACTION_DECREMENT] = { "Decrement", NULL, 1, 1, { NULL, NULL, swfdec_action_decrement, swfdec_action_decrement, swfdec_action_decrement } }, - [SWFDEC_AS_ACTION_CALL_METHOD] = { "CallMethod", NULL, -1, 1, { NULL, NULL, swfdec_action_call_method, swfdec_action_call_method, swfdec_action_call_method } }, - [SWFDEC_AS_ACTION_NEW_METHOD] = { "NewMethod", NULL, -1, 1, { NULL, NULL, swfdec_action_new_method, swfdec_action_new_method, swfdec_action_new_method } }, + [SWFDEC_...
2007 Apr 05
0
Branch 'as' - 9 commits - configure.ac libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h
...0x50] = { "Increment", NULL, 1, 1, { NULL, NULL, swfdec_action_increment, swfdec_action_increment, swfdec_action_increment } }, [0x51] = { "Decrement", NULL, 1, 1, { NULL, NULL, swfdec_action_decrement, swfdec_action_decrement, swfdec_action_decrement } }, [0x52] = { "CallMethod", NULL, -1, 1, { NULL, NULL, swfdec_action_call_method, swfdec_action_call_method, swfdec_action_call_method } }, diff-tree bcf8141b997f93bcc6581c5effa8abfdc2131d2e (from 7f368a0aa96f48fd8e99c40c42b0f22cadef75a5) Author: Benjamin Otte <otte@gnome.org> Date: Thu Apr 5 15:33:49 2007 +020...
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
...NULL, NULL, swfdec_action_increment, swfdec_action_increment, swfdec_action_increment } }, + [SWFDEC_AS_ACTION_DECREMENT] = { "Decrement", NULL, 1, 1, { NULL, NULL, swfdec_action_decrement, swfdec_action_decrement, swfdec_action_decrement } }, [SWFDEC_AS_ACTION_CALL_METHOD] = { "CallMethod", NULL, -1, 1, { NULL, NULL, swfdec_action_call_method, swfdec_action_call_method, swfdec_action_call_method } }, #if 0 [0x53] = { "NewMethod", NULL, -1, 1, { NULL, NULL, swfdec_action_new_method, swfdec_action_new_method, swfdec_action_new_method } }, diff-tree 75d5878407131d548...
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...t;, NULL }, - { 0x4e, "GetMember", compile_get_member }, - { 0x4f, "SetMember", compile_oneliner_pop }, /* apparently the result is ignored */ - { 0x50, "Increment", compile_increment }, - { 0x51, "Decrement", compile_decrement }, - { 0x52, "CallMethod", compile_call_method }, - { 0x53, "NewMethod", NULL }, - /* version 6 */ - { 0x54, "InstanceOf", NULL }, - { 0x55, "Enumerate2", NULL }, - /* version 5 */ - { 0x60, "BitAnd", NULL }, - { 0x61, "BitOr", NULL }, - { 0x62,...
2007 Oct 25
0
12 commits - libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c test/trace
...proto__, &val); + } +} + +static void swfdec_action_extends (SwfdecAsContext *cx, guint action, const guint8 *data, guint len) { SwfdecAsValue *superclass, *subclass, proto; @@ -2856,7 +2900,7 @@ const SwfdecActionSpec swfdec_as_actions[256] = { [SWFDEC_AS_ACTION_CALL_METHOD] = { "CallMethod", NULL, -1, 1, { NULL, NULL, swfdec_action_call_method, swfdec_action_call_method, swfdec_action_call_method } }, [SWFDEC_AS_ACTION_NEW_METHOD] = { "NewMethod", NULL, -1, 1, { NULL, NULL, swfdec_action_new_method, swfdec_action_new_method, swfdec_action_new_method } }, /* v...