search for: defineloc

Displaying 20 results from an estimated 20 matches for "defineloc".

Did you mean: definely
2007 Jun 27
0
Branch 'as' - 4 commits - test/trace
test/trace/Makefile.am | 28 +++++++++++++++++++++ test/trace/definelocal-function-target-5.swf |binary test/trace/definelocal-function-target-5.swf.trace | 5 +++ test/trace/definelocal-function-target-6.swf |binary test/trace/definelocal-function-target-6.swf.trace | 5 +++ test/trace/definelocal-function-target-7.swf |binary test/trace/def...
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
...\ definefunction2-arguments-registers.swf.trace \ definefunction2-arguments-registers.xml \ + definefunction2-overwrite.swf \ + definefunction2-overwrite.swf.trace \ + definefunction2-overwrite.xml \ + definefunction2-this.swf \ + definefunction2-this.swf.trace \ + definefunction2-this.xml \ definelocal-function-target.as \ definelocal-function-target-5.swf \ definelocal-function-target-5.swf.trace \ diff --git a/test/trace/definefunction2-arguments.swf b/test/trace/definefunction2-arguments.swf new file mode 100644 index 0000000..0ad9b4e Binary files /dev/null and b/test/trace/definefunctio...
2007 Jan 31
0
Branch 'interpreter' - 3 commits - libswfdec/js libswfdec/swfdec_script.c
...++++++----- 2 files changed, 104 insertions(+), 12 deletions(-) New commits: diff-tree ae64862c94f18618313c90c28b4071d84693b7b5 (from 71b090ccdeedb1e96b2f8590844844139b00bd85) Author: Benjamin Otte <otte@gnome.org> Date: Wed Jan 31 21:35:50 2007 +0100 implement BitAnd, BitOr, BitXor, DefineLocal, DefineLocal2 and Return diff --git a/libswfdec/swfdec_script.c b/libswfdec/swfdec_script.c index 9b3a328..46ba618 100644 --- a/libswfdec/swfdec_script.c +++ b/libswfdec/swfdec_script.c @@ -1359,6 +1359,35 @@ swfdec_action_define_function (JSContext } static JSBool +swfdec_action_bitwise (JS...
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
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
...>fp->sp[-1] = DOUBLE_TO_JSVAL (cx->runtime->jsNaN); + return JS_TRUE; + } else { + return JS_NewNumberValue (cx, x, &cx->fp->sp[-1]); + } +} + /*** PRINT FUNCTIONS ***/ static char * @@ -2020,7 +2058,7 @@ static const SwfdecActionSpec actions[25 [0x3c] = { "DefineLocal", NULL, 2, 0, { NULL, NULL, swfdec_action_define_local, swfdec_action_define_local, swfdec_action_define_local } }, [0x3d] = { "CallFunction", NULL, -1, 1, { NULL, NULL, swfdec_action_call_function, swfdec_action_call_function, swfdec_action_call_function } }, [0x3e] = { &quo...
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
...ction-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-7.swf.trace \ + definefunction-target-8.swf \ + definefunction-target-8.swf.trace \ definelocal-function-target.as \ definelocal-function-target-5.swf \ definelocal-function-target-5.swf.trace \ diff --git a/test/trace/definefunction-target-5.swf b/test/trace/definefunction-target-5.swf new file mode 100644 index 0000000..25a8b9a Binary files /dev/null and b/test/trace/definefunction-ta...
2007 Feb 19
0
22 commits - libswfdec/js libswfdec/swfdec_debugger.c libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_script.c
...| 5 28 files changed, 356 insertions(+), 64 deletions(-) New commits: diff-tree 185d07d2ed05ec0bf1970484d27642703177702e (from a3a877f6e2f219f403100c3d994bccd3a2cc72bc) Author: Benjamin Otte <otte@gnome.org> Date: Mon Feb 19 20:35:26 2007 +0100 add test for local scope using DefineLocal diff --git a/test/trace/Makefile.am b/test/trace/Makefile.am index 4d11f13..ea517f7 100644 --- a/test/trace/Makefile.am +++ b/test/trace/Makefile.am @@ -74,6 +74,8 @@ EXTRA_DIST = \ load-4.swf.trace \ load-5.swf \ load-5.swf.trace \ + local.swf \ + local.swf.trace \ name.swf \ name.swf...
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
...ot;, NULL, 2, 0, { NULL, NULL, swfdec_action_delete, swfdec_action_delete, swfdec_action_delete } }, + [SWFDEC_AS_ACTION_DELETE2] = { "Delete2", NULL, 1, 0, { NULL, NULL, swfdec_action_delete2, swfdec_action_delete2, swfdec_action_delete2 } }, [SWFDEC_AS_ACTION_DEFINE_LOCAL] = { "DefineLocal", NULL, 2, 0, { NULL, NULL, swfdec_action_define_local, swfdec_action_define_local, swfdec_action_define_local } }, [SWFDEC_AS_ACTION_CALL_FUNCTION] = { "CallFunction", NULL, -1, 1, { NULL, NULL, swfdec_action_call_function, swfdec_action_call_function, swfdec_action_call_functi...
2007 Jun 08
0
Changes to 'refs/tags/0.4.2'
...toFrame2 add test for Color constructor make eval (obj, "") return obj and not undefined add print function for SetTarget handle colors not referring to movies implement Equals initialize the constant pool as empty implement BitAnd, BitOr, BitXor, DefineLocal, DefineLocal2 and Return implement ConstantPool inheritance for DefineFunction add a column for the type of the object on the stack allow calling functions on numbers and strings by converting them to proper objects fix to_number conversions for null in Flash 7 fix o...
2007 Apr 27
0
Changes to 'refs/tags/0.4.3'
...toFrame2 add test for Color constructor make eval (obj, "") return obj and not undefined add print function for SetTarget handle colors not referring to movies implement Equals initialize the constant pool as empty implement BitAnd, BitOr, BitXor, DefineLocal, DefineLocal2 and Return implement ConstantPool inheritance for DefineFunction add a column for the type of the object on the stack allow calling functions on numbers and strings by converting them to proper objects fix to_number conversions for null in Flash 7 fix o...
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 (40):
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
...->return_value = swfdec_as_stack_pop (cx->frame->stack); + swfdec_as_context_return (cx); } +#if 0 static void swfdec_action_delete (SwfdecAsContext *cx, guint action, const guint8 *data, guint len) { @@ -2195,8 +2193,8 @@ const SwfdecActionSpec swfdec_as_actions [0x3c] = { "DefineLocal", NULL, 2, 0, { NULL, NULL, swfdec_action_define_local, swfdec_action_define_local, swfdec_action_define_local } }, #endif [SWFDEC_AS_ACTION_CALL_FUNCTION] = { "CallFunction", NULL, -1, 1, { NULL, NULL, swfdec_action_call_function, swfdec_action_call_function, swfdec_action_cal...
2007 Apr 27
0
Changes to 'refs/tags/0.4.4'
...toFrame2 add test for Color constructor make eval (obj, "") return obj and not undefined add print function for SetTarget handle colors not referring to movies implement Equals initialize the constant pool as empty implement BitAnd, BitOr, BitXor, DefineLocal, DefineLocal2 and Return implement ConstantPool inheritance for DefineFunction add a column for the type of the object on the stack allow calling functions on numbers and strings by converting them to proper objects fix to_number conversions for null in Flash 7 fix o...
2007 Mar 05
0
11 commits - configure.ac libswfdec/swfdec_js_movie.c libswfdec/swfdec_root_movie.c libswfdec/swfdec_root_movie.h libswfdec/swfdec_script.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_swf_decoder.c
...quot;, NULL, 2, 0, { NULL, NULL, swfdec_action_delete, swfdec_action_delete, swfdec_action_delete } }, - [0x3b] = { "Delete2", NULL }, + [0x3b] = { "Delete2", NULL, 1, 0, { NULL, NULL, swfdec_action_delete2, swfdec_action_delete2, swfdec_action_delete2 } }, [0x3c] = { "DefineLocal", NULL, 2, 0, { NULL, NULL, swfdec_action_define_local, swfdec_action_define_local, swfdec_action_define_local } }, [0x3d] = { "CallFunction", NULL, -1, 1, { NULL, NULL, swfdec_action_call_function, swfdec_action_call_function, swfdec_action_call_function } }, [0x3e] = { &quo...
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
...ot;, NULL, 2, 1, { NULL, NULL, swfdec_action_delete, swfdec_action_delete, swfdec_action_delete } }, - [SWFDEC_AS_ACTION_DELETE2] = { "Delete2", NULL, 1, 1, { NULL, NULL, swfdec_action_delete2, swfdec_action_delete2, swfdec_action_delete2 } }, - [SWFDEC_AS_ACTION_DEFINE_LOCAL] = { "DefineLocal", NULL, 2, 0, { NULL, NULL, swfdec_action_define_local, swfdec_action_define_local, swfdec_action_define_local } }, - [SWFDEC_AS_ACTION_CALL_FUNCTION] = { "CallFunction", NULL, -1, 1, { NULL, NULL, swfdec_action_call_function, swfdec_action_call_function, swfdec_action_call_functi...
2007 Jan 31
0
Branch 'interpreter' - 20 commits - autogen.sh configure.ac libswfdec/js libswfdec/swfdec_debug.h libswfdec/swfdec_js.c libswfdec/swfdec_js_color.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_script.c
...+ return JS_NewNumberValue (cx, d, &cx->fp->sp[-1]); +} + /*** PRINT FUNCTIONS ***/ static char * @@ -1464,8 +1523,8 @@ static const SwfdecActionSpec actions[25 /* version 5 */ [0x3a] = { "Delete", NULL }, [0x3b] = { "Delete2", NULL }, - [0x3c] = { "DefineLocal", NULL }, - [0x3d] = { "CallFunction", NULL }, + [0x3c] = { "DefineLocal", NULL }, //, 2, 0, { NULL, NULL, swfdec_action_define_local, swfdec_action_define_local, swfdec_action_define_local } }, + [0x3d] = { "CallFunction", NULL, -1, 1, { NULL, NULL, swfdec_a...
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
...L }, - { 0x34, "GetTime", NULL }, - { 0x35, "MBStringExtract", NULL }, - { 0x36, "MBCharToAscii", NULL }, - { 0x37, "MVAsciiToChar", NULL }, - /* version 5 */ - { 0x3a, "Delete", NULL }, - { 0x3b, "Delete2", NULL }, - { 0x3c, "DefineLocal", NULL }, - { 0x3d, "CallFunction", compile_call_function }, - { 0x3e, "Return", NULL }, - { 0x3f, "Modulo", NULL }, - { 0x40, "NewObject", compile_new_object }, - { 0x41, "DefineLocal2", NULL }, - { 0x42, "InitArray", NULL },...
2007 Jun 27
0
Branch 'as' - 16 commits - configure.ac libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_script_function.c
...to the current target. It also has an ->original_target member that remembers the original target, so a SetTarget call can correctly reset it. The previous notion of ->var_object has been removed. An ->is_local property has been added. This porperty is used during DefineLocal actions to decide wether to set proeprties on the current frame or on the target. (FIXME: needs checking that those variables really are set on the target) diff --git a/libswfdec/swfdec_as_context.c b/libswfdec/swfdec_as_context.c index 4394198..8e06f31 100644 --- a/libswfdec/swfdec_as_c...
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
.../* version 5 */ + [0x3a] = { "Delete", NULL, 2, 0, { NULL, NULL, swfdec_action_delete, swfdec_action_delete, swfdec_action_delete } }, + [0x3b] = { "Delete2", NULL, 1, 0, { NULL, NULL, swfdec_action_delete2, swfdec_action_delete2, swfdec_action_delete2 } }, + [0x3c] = { "DefineLocal", NULL, 2, 0, { NULL, NULL, swfdec_action_define_local, swfdec_action_define_local, swfdec_action_define_local } }, + [0x3d] = { "CallFunction", NULL, -1, 1, { NULL, NULL, swfdec_action_call_function, swfdec_action_call_function, swfdec_action_call_function } }, + [0x3e] = { &quo...
2007 Aug 20
0
Branch 'vivi' - 60 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_interpret.c
...ot;, NULL, 2, 1, { NULL, NULL, swfdec_action_delete, swfdec_action_delete, swfdec_action_delete } }, + [SWFDEC_AS_ACTION_DELETE2] = { "Delete2", NULL, 1, 1, { NULL, NULL, swfdec_action_delete2, swfdec_action_delete2, swfdec_action_delete2 } }, [SWFDEC_AS_ACTION_DEFINE_LOCAL] = { "DefineLocal", NULL, 2, 0, { NULL, NULL, swfdec_action_define_local, swfdec_action_define_local, swfdec_action_define_local } }, [SWFDEC_AS_ACTION_CALL_FUNCTION] = { "CallFunction", NULL, -1, 1, { NULL, NULL, swfdec_action_call_function, swfdec_action_call_function, swfdec_action_call_functi...