search for: js_interpret

Displaying 8 results from an estimated 8 matches for "js_interpret".

2006 May 02
9
Visual Migration Design Tool
For a really long time, I''ve been using DBDesigner from FabForce.net. For those of your who''ve never used it, its a freeware visual entity-relationship diagram tool, which allows you to make database designs visually instead of in SQL DDL. You can then use it to generate the SQL to make your databse design into reality, or even run a "synchronize" to make any
2007 Jan 31
0
Branch 'interpreter' - 3 commits - libswfdec/js libswfdec/swfdec_script.c
...frame as frame.thisp. */ ok = ComputeThis(cx, thisp, &frame); @@ -1140,6 +1141,7 @@ js_Execute(JSContext *cx, JSObject *chai frame.flags = special; frame.dormantNext = NULL; frame.objAtomMap = NULL; + frame.constant_pool = NULL; /* * Here we wrap the call to js_Interpret with code to (conditionally) diff-tree fa4f57c436b5f6232efacfa2b4ac94d14af1f409 (from 9335e136a9a1f2f3dbbbda7a7b156b55d94e7c4c) Author: Benjamin Otte <otte@gnome.org> Date: Wed Jan 31 17:28:14 2007 +0100 implement Equals This is the last action that the compiler had implemente...
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
...xt = NULL; @@ -1138,6 +1139,7 @@ js_Execute(JSContext *cx, JSObject *chai frame.pc = NULL; frame.sp = oldfp ? oldfp->sp : NULL; frame.spbase = NULL; + frame.spend = NULL; frame.sharpDepth = 0; frame.flags = special; frame.dormantNext = NULL; @@ -1502,6 +1504,7 @@ js_Interpret(JSContext *cx, jsval *resul } sp = newsp + depth; fp->spbase = sp; + fp->spend = sp + depth; SAVE_SP(fp); while (pc < endpc) { diff --git a/libswfdec/js/jsinterp.h b/libswfdec/js/jsinterp.h index 88bab68..32bb3a1 100644 --- a/libswfdec/js/jsinterp.h +++ b/libs...
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
...t; Date: Wed Jan 31 10:29:46 2007 +0100 create a call object for calls to SWF code diff --git a/libswfdec/js/jsinterp.c b/libswfdec/js/jsinterp.c index 1d15966..ce8d014 100644 --- a/libswfdec/js/jsinterp.c +++ b/libswfdec/js/jsinterp.c @@ -963,7 +963,10 @@ have_fun: } ok = js_Interpret(cx, &v); } else if (swf) { - frame.scopeChain = funobj; /* FIXME */ + if (!js_GetCallObject(cx, &frame, parent)) { + ok = JS_FALSE; + goto out; + } ok = swfdec_script_interpret(swf, cx, &v); } else { /* fun might be onerror trying to report a s...
2007 Jan 16
0
9 commits - libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_audio_stream.c libswfdec/swfdec_audio_stream.h libswfdec/swfdec_cache.c libswfdec/swfdec_cached.c libswfdec/swfdec_cached.h libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_image.c
...ctor for this class */ + const JSClass *clasp; /* if non-null, constructor for this class */ void *priv; }; diff --git a/libswfdec/js/jsinterp.c b/libswfdec/js/jsinterp.c index a9b4982..ff45d22 100644 --- a/libswfdec/js/jsinterp.c +++ b/libswfdec/js/jsinterp.c @@ -1393,7 +1393,7 @@ js_Interpret(JSContext *cx, jsval *resul JSString *str, *str2; jsint i, j; jsdouble d, d2; - JSClass *clasp, *funclasp; + const JSClass *clasp, *funclasp; JSFunction *fun; JSType type; #ifdef DEBUG diff-tree 80aba02f5745e1aaa6cbf16370dfcda5f8bb5d9d (from e6fa9c03b3333781cfaa260d0...
2007 Mar 29
0
Branch 'as' - 9 commits - libswfdec-gtk/swfdec_playback_alsa.c libswfdec/js libswfdec/Makefile.am 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
...ool -swfdec_script_interpret(void *script, JSContext *cx, jsval *rval); - /* * Find a function reference and its 'this' object implicit first parameter * under argc arguments on cx's stack, and call the function. Push missing @@ -966,11 +963,8 @@ have_fun: } ok = js_Interpret(cx, &v); } else if (swf) { - if (!js_GetCallObject(cx, &frame, parent)) { - ok = JS_FALSE; - goto out; - } - ok = swfdec_script_interpret(swf, cx, &v); + ok = JS_FALSE; + goto out; } else { /* fun might be onerror trying to report a syntax error in itse...
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
...frame as frame.thisp. */ ok = ComputeThis(cx, thisp, &frame); @@ -1140,6 +1141,7 @@ js_Execute(JSContext *cx, JSObject *chai frame.flags = special; frame.dormantNext = NULL; frame.objAtomMap = NULL; + frame.constant_pool = NULL; /* * Here we wrap the call to js_Interpret with code to (conditionally) diff-tree fa4f57c436b5f6232efacfa2b4ac94d14af1f409 (from 9335e136a9a1f2f3dbbbda7a7b156b55d94e7c4c) Author: Benjamin Otte <otte@gnome.org> Date: Wed Jan 31 17:28:14 2007 +0100 implement Equals This is the last action that the compiler had implemente...
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
...oldfp) { - g_assert (!oldfp->dormantNext); - oldfp->dormantNext = cx->dormantFrameChain; - cx->dormantFrameChain = oldfp; - } - cx->fp = &frame; - - /* - * Use frame.rval, not result, so the last result stays rooted across any - * GC activations nested within this js_Interpret. - */ - ok = swfdec_script_interpret (script, cx, &frame.rval); - - js_FreeRawStack (cx, mark); - - cx->fp = oldfp; - if (oldfp) { - g_assert (cx->dormantFrameChain == oldfp); - cx->dormantFrameChain = oldfp->dormantNext; - oldfp->dormantNext = NULL; - } - - retu...