Displaying 5 results from an estimated 5 matches for "js_eval".
Did you mean:
bc_eval
2007 Jun 08
0
Changes to 'refs/tags/0.4.2'
...ugging g_print
handle tokens without children
add initial support for auto-extraction of contents
make the color functions return a SwfdecColor
implement StringAdd and GetURL, so Steve dances again
add support for colors and the SetBackground tag
implement swfdec_js_eval_set
use swfdec_js_eval_set for SetVariable
That line must've been accidentally removed somewhere
rework case sensitivity once again - this time making it global and set only on startup
use automatic hscrollbars, too
makee debugging work again
set property on...
2007 Jan 26
0
Branch 'interpreter' - 9 commits - libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_debugger.c libswfdec/swfdec_debugger.h libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_event.c libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c
.../swfdec_script.c
index a3bb563..7848e14 100644
--- a/libswfdec/swfdec_script.c
+++ b/libswfdec/swfdec_script.c
@@ -316,7 +316,7 @@ swfdec_action_get_variable (JSContext *c
s = swfdec_js_to_string (cx, cx->fp->sp[-1]);
if (s == NULL)
return JS_FALSE;
- cx->fp->sp[-1] = swfdec_js_eval (cx, cx->fp->scopeChain, s);
+ cx->fp->sp[-1] = swfdec_js_eval (cx, NULL, s);
return JS_TRUE;
}
@@ -329,7 +329,7 @@ swfdec_action_set_variable (JSContext *c
if (s == NULL)
return JS_FALSE;
- swfdec_js_eval_set (cx, cx->fp->scopeChain, s, cx->fp->sp[-1]);
+...
2007 Apr 27
0
Changes to 'refs/tags/0.4.3'
...ugging g_print
handle tokens without children
add initial support for auto-extraction of contents
make the color functions return a SwfdecColor
implement StringAdd and GetURL, so Steve dances again
add support for colors and the SetBackground tag
implement swfdec_js_eval_set
use swfdec_js_eval_set for SetVariable
That line must've been accidentally removed somewhere
rework case sensitivity once again - this time making it global and set only on startup
use automatic hscrollbars, too
makee debugging work again
set property on...
2007 Apr 27
0
Changes to 'refs/tags/0.4.4'
...ugging g_print
handle tokens without children
add initial support for auto-extraction of contents
make the color functions return a SwfdecColor
implement StringAdd and GetURL, so Steve dances again
add support for colors and the SetBackground tag
implement swfdec_js_eval_set
use swfdec_js_eval_set for SetVariable
That line must've been accidentally removed somewhere
rework case sensitivity once again - this time making it global and set only on startup
use automatic hscrollbars, too
makee debugging work again
set property on...
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
...rg>
Date: Wed Jan 31 16:26:51 2007 +0100
make eval (obj, "") return obj and not undefined
diff --git a/libswfdec/swfdec_js.c b/libswfdec/swfdec_js.c
index 829c1ad..4c14100 100644
--- a/libswfdec/swfdec_js.c
+++ b/libswfdec/swfdec_js.c
@@ -343,7 +343,7 @@ static gboolean
swfdec_js_eval_internal (JSContext *cx, JSObject *obj, const char *str,
jsval *val, gboolean set)
{
- jsval cur = JSVAL_NULL;
+ jsval cur;
char *work = NULL;
SWFDEC_LOG ("eval called with \"%s\" on %p", str, obj);
@@ -358,8 +358,8 @@ swfdec_js_eval_internal (JSContext *cx,...