Displaying 9 results from an estimated 9 matches for "oldfp".
Did you mean:
oldfs
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
...FALSE;
- if (!JS_SetProperty (cx, cx->fp->callobj, name, &val))
+ if (!JS_SetProperty (cx, cx->fp->scopeChain, name, &val))
return JS_FALSE;
cx->fp->sp--;
return JS_TRUE;
@@ -2593,9 +2593,9 @@ swfdec_script_execute (SwfdecScript *scr
return JSVAL_VOID;
oldfp = cx->fp;
- frame.callobj = frame.argsobj = NULL;
+ frame.callobj = NULL;
frame.script = NULL;
- frame.varobj = NULL;
+ frame.varobj = frame.argsobj = NULL;
frame.fun = swfdec_script_ensure_function (script, scriptable);
frame.swf = script;
frame.constant_pool = NULL;
@@ -2606,...
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
...unction2", swfdec_action_print_define_function, 0, -1, { NULL, NULL, NULL, NULL, swfdec_action_define_function2 } },
[0x8f] = { "Try", NULL },
/* version 5 */
[0x94] = { "With", NULL },
@@ -2517,6 +2535,7 @@ swfdec_script_execute (SwfdecScript *scr
JSStackFrame *oldfp, frame;
JSObject *obj;
JSBool ok;
+ void *mark;
g_return_val_if_fail (script != NULL, JSVAL_VOID);
g_return_val_if_fail (SWFDEC_IS_SCRIPTABLE (scriptable), JSVAL_VOID);
@@ -2534,8 +2553,8 @@ swfdec_script_execute (SwfdecScript *scr
frame.swf = script;
frame.constant_pool = NULL...
2007 Apr 03
0
11 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_playback_alsa.c libswfdec-gtk/swfdec_source.c libswfdec/swfdec_cached.c libswfdec/swfdec_font.c libswfdec/swfdec_morphshape.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_script.c
...Level--;
swfdec_script_unref (script);
@@ -3123,8 +3127,6 @@ swfdec_script_execute (SwfdecScript *scr
ok = swfdec_script_interpret (script, cx, &frame.rval);
js_FreeRawStack (cx, mark);
- if (frame.constant_pool)
- swfdec_constant_pool_free (frame.constant_pool);
cx->fp = oldfp;
if (oldfp) {
diff-tree 35b8ff9083919b168d2090d4ccf72aa5cec99538 (from 23af06e2fcd39f80bd13b10ee02d57eb7b0e9aee)
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Thu Mar 22 19:58:07 2007 +0000
Free the glyph array along with the font.
==24359== 580 (260 direct, 320 ind...
2007 Jan 18
0
Branch 'interpreter' - 4 commits - libswfdec/js libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_codec_screen.c libswfdec/swfdec_image.c libswfdec/swfdec_script.c libswfdec/swfdec_swf_decoder.c libswfdec/swfdec_tag.c
....argv = frame.vars = NULL;
@@ -604,6 +872,10 @@ swfdec_script_execute (SwfdecScript *scr
*/
ok = swfdec_script_interpret (script, cx, &frame.rval);
+ /* FIXME: where to clean this up? */
+ if (frame.constant_pool)
+ swfdec_constant_pool_free (frame.constant_pool);
+
cx->fp = oldfp;
if (oldfp) {
g_assert (cx->dormantFrameChain == oldfp);
diff-tree c41b8582293535b64bf83c19843bd4eae8662e6f (from 539f1f3151a6deb4f231f3289d3c8c232eb21bc7)
Author: Benjamin Otte <otte@gnome.org>
Date: Thu Jan 18 12:51:56 2007 +0100
add the constant pool to the stack frame
d...
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
...ope will be
- * added, so no local variables can exist. As per Actionscript, 4 registers
- * will be created.
- *
- * Returns: the return value of @script
- **/
-#endif
-void
-swfdec_script_execute (SwfdecScript *script, SwfdecScriptable *scriptable)
-{
-}
-#if 0
- JSContext *cx;
- JSStackFrame *oldfp, frame;
- JSObject *obj;
- JSBool ok;
- void *mark;
-
- g_return_val_if_fail (script != NULL, JSVAL_VOID);
- g_return_val_if_fail (SWFDEC_IS_SCRIPTABLE (scriptable), JSVAL_VOID);
-
- cx = scriptable->jscx;
- obj = swfdec_scriptable_get_object (scriptable);
- if (obj == NULL)
- return...
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
...w for real, after cx->fp is set */
frame.pc = NULL;
frame.spbase = NULL;
+ frame.spend = NULL;
frame.sharpDepth = 0;
frame.sharpArray = NULL;
frame.dormantNext = 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 =...
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
....argv = frame.vars = NULL;
@@ -604,6 +872,10 @@ swfdec_script_execute (SwfdecScript *scr
*/
ok = swfdec_script_interpret (script, cx, &frame.rval);
+ /* FIXME: where to clean this up? */
+ if (frame.constant_pool)
+ swfdec_constant_pool_free (frame.constant_pool);
+
cx->fp = oldfp;
if (oldfp) {
g_assert (cx->dormantFrameChain == oldfp);
diff-tree c41b8582293535b64bf83c19843bd4eae8662e6f (from 539f1f3151a6deb4f231f3289d3c8c232eb21bc7)
Author: Benjamin Otte <otte@gnome.org>
Date: Thu Jan 18 12:51:56 2007 +0100
add the constant pool to the stack frame
d...
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
...Level--;
swfdec_script_unref (script);
@@ -3123,8 +3127,6 @@ swfdec_script_execute (SwfdecScript *scr
ok = swfdec_script_interpret (script, cx, &frame.rval);
js_FreeRawStack (cx, mark);
- if (frame.constant_pool)
- swfdec_constant_pool_free (frame.constant_pool);
cx->fp = oldfp;
if (oldfp) {
diff-tree 35b8ff9083919b168d2090d4ccf72aa5cec99538 (from 23af06e2fcd39f80bd13b10ee02d57eb7b0e9aee)
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Thu Mar 22 19:58:07 2007 +0000
Free the glyph array along with the font.
==24359== 580 (260 direct, 320 ind...
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
...--- a/libswfdec/swfdec_script.c
+++ b/libswfdec/swfdec_script.c
@@ -3008,9 +3008,12 @@ internal_error:
*
* Returns: the return value of @script
**/
-jsval
+#endif
+void
swfdec_script_execute (SwfdecScript *script, SwfdecScriptable *scriptable)
{
+}
+#if 0
JSContext *cx;
JSStackFrame *oldfp, frame;
JSObject *obj;
diff-tree 7fbbe64db09817aaed4d28fa5bb1ac4869c835f5 (from parents)
Merge: 97a34e2bdc46d12e66fa103489e8f630fbf0d495 f516f0186bef8f00810f200034d63776bfab9271
Author: Benjamin Otte <otte@gnome.org>
Date: Thu Mar 29 21:31:14 2007 +0200
Merge branch 'master'...