search for: varobj

Displaying 18 results from an estimated 18 matches for "varobj".

2007 Feb 22
0
3 commits - libswfdec/swfdec_js.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_script.c
...diff-tree 3c4a91276dbf607849f02fc9f637f8caf1c339c6 (from 27f57143cbff3082c9b565e5256023baaf079140) Author: Benjamin Otte <otte@gnome.org> Date: Thu Feb 22 18:53:05 2007 +0100 rework SetVariable, SetProperty and GetProperty - try setting an existing property first - use the varobj and not the scopeChain if the property doesn't exist - make GetProperty ("bla", x) work like GetVariable ("bla.$property[x]") - same for SetVariable diff --git a/libswfdec/swfdec_js.c b/libswfdec/swfdec_js.c index ee5c7b7..b9313c1 100644 --- a/libswfdec/swfdec_js.c...
2007 Jan 18
0
Branch 'interpreter' - 2 commits - libswfdec/js libswfdec/swfdec_js_movie.c libswfdec/swfdec_script.c
...to the stack frame also, some more functions are implemented (like WaitForFrame, it needs this) diff --git a/libswfdec/js/jsinterp.c b/libswfdec/js/jsinterp.c index 1a45a77..1d15966 100644 --- a/libswfdec/js/jsinterp.c +++ b/libswfdec/js/jsinterp.c @@ -832,6 +832,7 @@ have_fun: frame.varobj = NULL; frame.callobj = frame.argsobj = NULL; frame.script = script; + frame.swf = swf; frame.fun = fun; frame.argc = argc; frame.argv = sp - argc; diff --git a/libswfdec/js/jsinterp.h b/libswfdec/js/jsinterp.h index d68957d..b22166d 100644 --- a/libswfdec/js/jsinterp.h...
2003 Aug 29
0
vardiag package help
.... So now I am loading the ?vardiag? package. First thing is to transform my data (frame.data) into a matrix ? which I did with ?as.matrix?. I verify my new object as being amatrix ? and it is, and I list it to be sure that in is a matrix of n rows with 3 colums. Now I want to use the command ?varobj? to transform my matrix into a variogram object. The param are: varobj(m, iter = 50, tolerance = 2e-04, trace = 1, loo = F) where, m is a n by 3 matrix with spatial data. My matrix has a column for x value, for y value and for pah16 concentrations. I always get the following error: Error in ma...
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
...peChain, 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,7 +2606,6 @@ swfdec_script_execute (SwfdecScript *scr frame.sharpArray = NULL; frame.rval = JSVAL_VOID; frame.do...
2004 Jun 08
0
vardiag Package and nlregb
Hi everyone, I'm interested in the analysis of spatial data, and I'm trying out several R-packages. Today I was attempting to use the package vardiag (version 0.1): >> library(vardiag) >> rs4.vo <- varobj(rs4[,2:4],trace=2) >[1] 1 >Error: couldn't find function "nlregb" so far I know "nlregb" is a S-plus function for optimization, so this can not work in R, other? How could one create or import an appropiate "variogram object" to use the other functions in t...
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
...return JS_FALSE; - if (id > (((SwfdecScript *) cx->fp->swf)->version > 4 ? 21 : 18)) { - SWFDEC_WARNING ("trying to SetProperty %u, not allowed", id); - goto out; - } - if (*bytes == '\0' || *bytes == '.') - val = OBJECT_TO_JSVAL (cx->fp->varobj); - movie = swfdec_scriptable_from_jsval (cx, val, SWFDEC_TYPE_MOVIE); - if (movie == NULL) { - SWFDEC_WARNING ("specified target does not reference a movie clip"); - goto out; - } - jsobj = JSVAL_TO_OBJECT (val); - - if (!JS_SetProperty (cx, jsobj, properties[id], &cx->...
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
...(spec->remove, 0) > endsp) { + SWFDEC_ERROR ("FIXME: implement stack expansion, we got an overflow"); + goto internal_error; + } } ok = spec->exec[version] (cx, action, data, len); if (!ok) @@ -574,6 +841,7 @@ swfdec_script_execute (SwfdecScript *scr frame.varobj = obj; frame.fun = NULL; frame.swf = script; + frame.constant_pool = NULL; frame.thisp = obj; frame.argc = frame.nvars = 0; frame.argv = frame.vars = NULL; @@ -604,6 +872,10 @@ swfdec_script_execute (SwfdecScript *scr */ ok = swfdec_script_interpret (script, cx, &frame.rv...
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
...ty (JSContext *cx, JSObject *obj, - const char *name, guint name_len, jsval *ret) -{ - JSAtom *atom; - - atom = js_Atomize (cx, name, name_len, 0); - if (!atom) - return JS_FALSE; - if (obj == NULL) { - JSObject *pobj; - JSProperty *prop; - if (cx->fp == NULL || cx->fp->varobj == NULL) - return JS_FALSE; - if (!js_FindProperty (cx, (jsid) atom, &obj, &pobj, &prop)) - return JS_FALSE; - if (pobj) - obj = pobj; - else - obj = cx->fp->varobj; - } - return OBJ_SET_PROPERTY (cx, obj, (jsid) atom, ret); -} - -static gboolean -sw...
2007 Mar 28
0
Branch 'as' - 3 commits - 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_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_types.c
...->n_registers = 5; /* These flags are the default arguments used by scripts read from a file. * DefineFunction and friends override this */ script->flags = SWFDEC_SCRIPT_SUPPRESS_ARGS; @@ -3102,7 +3114,7 @@ swfdec_script_execute (SwfdecScript *scr frame.scopeChain = obj; frame.varobj = obj; /* allocate stack for variables */ - frame.nvars = 4; + frame.nvars = script->n_registers; frame.vars = js_AllocRawStack (cx, frame.nvars, &mark); if (frame.vars == NULL) { return JS_FALSE; diff --git a/libswfdec/swfdec_script.h b/libswfdec/swfdec_script.h index d55cdb...
2007 Aug 20
0
15 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_super.c libswfdec/swfdec_as_with.c
...== NULL) { SWFDEC_ERROR ("failed to create script"); g_free (args); + g_free (function_name); return; } if (frame->constant_pool_buffer) @@ -1574,13 +1577,14 @@ swfdec_action_define_function (SwfdecAsC } else { SwfdecAsValue funval; /* FIXME: really varobj? Not eval or sth like that? */ - function_name = swfdec_as_context_get_string (cx, function_name); + name = swfdec_as_context_get_string (cx, function_name); SWFDEC_AS_VALUE_SET_OBJECT (&funval, SWFDEC_AS_OBJECT (fun)); - swfdec_as_object_set_variable (frame->target, function_n...
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
...return JS_FALSE; + if (id > (((SwfdecScript *) cx->fp->swf)->version > 4 ? 21 : 18)) { + SWFDEC_WARNING ("trying to SetProperty %u, not allowed", id); + goto out; + } + if (*bytes == '\0' || *bytes == '.') + val = OBJECT_TO_JSVAL (cx->fp->varobj); + movie = swfdec_scriptable_from_jsval (cx, val, SWFDEC_TYPE_MOVIE); + if (movie == NULL) { + SWFDEC_WARNING ("specified target does not reference a movie clip"); + goto out; + } + jsobj = JSVAL_TO_OBJECT (val); + + if (!JS_SetProperty (cx, jsobj, properties[id], &cx->...
2007 Apr 27
0
Changes to 'refs/tags/0.4.3'
...rty emit a Buffer.Full when we're full and in eof add swfdec_loader_[gs]et_size API was broken by adding new members to SwfdecLoader struct, so update libversion implement swfdec_loader_get_loaded to query the already loaded amount of bytes make named functions set varobj, not scopeChain implement NetStream::bytesLoaded and NetStream::bytesTotal add a test to confirm that registerClass does not effect previous instances add some fixes for number conversion compute new width/height relative to original width/height, not current one updat...
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
...(spec->remove, 0) > endsp) { + SWFDEC_ERROR ("FIXME: implement stack expansion, we got an overflow"); + goto internal_error; + } } ok = spec->exec[version] (cx, action, data, len); if (!ok) @@ -574,6 +841,7 @@ swfdec_script_execute (SwfdecScript *scr frame.varobj = obj; frame.fun = NULL; frame.swf = script; + frame.constant_pool = NULL; frame.thisp = obj; frame.argc = frame.nvars = 0; frame.argv = frame.vars = NULL; @@ -604,6 +872,10 @@ swfdec_script_execute (SwfdecScript *scr */ ok = swfdec_script_interpret (script, cx, &frame.rv...
2007 Apr 27
0
Changes to 'refs/tags/0.4.4'
...rty emit a Buffer.Full when we're full and in eof add swfdec_loader_[gs]et_size API was broken by adding new members to SwfdecLoader struct, so update libversion implement swfdec_loader_get_loaded to query the already loaded amount of bytes make named functions set varobj, not scopeChain implement NetStream::bytesLoaded and NetStream::bytesTotal add a test to confirm that registerClass does not effect previous instances add some fixes for number conversion compute new width/height relative to original width/height, not current one updat...
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
...} +} + +static void +swfdec_as_context_eval_set_property (SwfdecAsContext *cx, + SwfdecAsObject *obj, const char *name, const SwfdecAsValue *ret) +{ + if (obj == NULL) { + g_assert_not_reached (); +#if 0 + JSObject *pobj; + JSProperty *prop; + if (cx->fp == NULL || cx->fp->varobj == NULL) + return JS_FALSE; + if (!js_FindProperty (cx, (jsid) atom, &obj, &pobj, &prop)) + return JS_FALSE; + if (pobj) + obj = pobj; + else + obj = cx->fp->varobj; +#endif + } + return swfdec_as_object_set (obj, name, ret); +} + +static void +swfde...
2007 Jul 02
0
Branch 'as' - 24 commits - configure.ac doc/Makefile.am doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c
.../swfdec_as_interpret.c @@ -1556,12 +1556,10 @@ swfdec_action_define_function (SwfdecAsC SWFDEC_AS_VALUE_SET_OBJECT (swfdec_as_stack_push (frame->stack), SWFDEC_AS_OBJECT (fun)); } else { SwfdecAsValue funval; - swfdec_as_object_root (SWFDEC_AS_OBJECT (fun)); /* FIXME: really varobj? Not eval or sth like that? */ function_name = swfdec_as_context_get_string (cx, function_name); SWFDEC_AS_VALUE_SET_OBJECT (&funval, SWFDEC_AS_OBJECT (fun)); swfdec_as_object_set_variable (frame->target, function_name, &funval); - swfdec_as_object_unroot (SWFDEC_AS_OBJ...
2014 Jun 26
2
[LLVMdev] -gcolumn-info and PR 14106
On Thu, Jun 26, 2014 at 3:39 PM, Robinson, Paul <Paul_Robinson at playstation.sony.com> wrote: > The main motivation for turning it off is that no known consumer (debugger) > took advantage of it. > > Turning it on does more than slightly increase the object file size, it can > cause the same source line to be listed multiple times in the .debug_line > table (with different
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
...== NULL) { SWFDEC_ERROR ("failed to create script"); g_free (args); + g_free (function_name); return; } if (frame->constant_pool_buffer) @@ -1574,13 +1577,14 @@ swfdec_action_define_function (SwfdecAsC } else { SwfdecAsValue funval; /* FIXME: really varobj? Not eval or sth like that? */ - function_name = swfdec_as_context_get_string (cx, function_name); + name = swfdec_as_context_get_string (cx, function_name); SWFDEC_AS_VALUE_SET_OBJECT (&funval, SWFDEC_AS_OBJECT (fun)); - swfdec_as_object_set_variable (frame->target, function_n...