search for: swfdec_as_object_resolve

Displaying 13 results from an estimated 13 matches for "swfdec_as_object_resolve".

2007 Jul 12
0
Branch 'as' - 7 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_with.c libswfdec/swfdec_sprite_movie.c test/trace
...h (o) { + bla (); + } +}; +x = 1; +test (); + +loadMovie ("FSCommand:quit", ""); diff-tree f8b5b8a5f845885ed761592f5599ed331fbc9af0 (from 786973ef96469eef042e077378889e1303453930) Author: Benjamin Otte <otte at gnome.org> Date: Thu Jul 12 11:02:05 2007 +0200 add swfdec_as_object_resolve() This is only used with the With object for now. I get the suspicion that With is handled differently in Flash. A lot of code could be removed by handling it different. I'd just find a nice way of getting the with stack into functions defined inside it. diff --git a/libsw...
2007 Nov 14
0
7 commits - libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_super.c libswfdec/swfdec_as_super.h
...n NULL; if (function->priv) swfdec_as_frame_set_security (frame, function->priv); /* second check especially for super object */ - if (thisp != NULL && frame->thisp == NULL) + if (thisp != NULL && frame->thisp == NULL) { swfdec_as_frame_set_this (frame, swfdec_as_object_resolve (thisp)); + } frame->is_local = TRUE; frame->argc = n_args; frame->argv = args; @@ -160,7 +163,12 @@ swfdec_as_function_call (SwfdecAsFunction *function, SwfdecAsObject *thisp, guin frame = swfdec_as_function_call_no_preload (function, thisp, n_args, args, return_value); if...
2007 Aug 24
0
7 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_string.c test/trace
...g 24 14:26:11 2007 +0300 Remove the swfdec_as_object_to_string and just use local helper function diff --git a/libswfdec/swfdec_as_object.c b/libswfdec/swfdec_as_object.c index f166b37..28a1dd7 100644 --- a/libswfdec/swfdec_as_object.c +++ b/libswfdec/swfdec_as_object.c @@ -1237,27 +1237,3 @@ swfdec_as_object_resolve (SwfdecAsObject return klass->resolve (object); } - -/** - * swfdec_as_object_to_string: - * @context: a #SwfdecAsContext - * @object: a #SwfdecAsObject - * - * Converts @object to a string according to the rules of Flash. This might - * cause calling back into the script engine. - * <w...
2007 Aug 19
0
2 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_super.c libswfdec/swfdec_as_with.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_sprite_movie.c
...99,8 +99,7 @@ void swfdec_as_object_create (SwfdecAs guint n_args, const SwfdecAsValue * args); void swfdec_as_object_set_constructor(SwfdecAsObject * object, - SwfdecAsObject * construct, - gboolean scripted); + SwfdecAsObject * construct); SwfdecAsObject *swfdec_as_object_resolve (SwfdecAsObject * object); char * swfdec_as_object_get_debug (SwfdecAsObject * object); diff --git a/libswfdec/swfdec_player.c b/libswfdec/swfdec_player.c index 39a1cb1..942dadf 100644 --- a/libswfdec/swfdec_player.c +++ b/libswfdec/swfdec_player.c @@ -1444,7 +1444,7 @@ swfdec_player_initialize...
2007 Jul 13
0
12 commits - AUTHORS doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_array.c libswfdec/swfdec_as_array.h libswfdec/swfdec_as_context.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_function.h
...t -swfdec_as_object_create -swfdec_as_object_delete_variable -swfdec_as_object_foreach -swfdec_as_object_get_debug -swfdec_as_object_get_variable -swfdec_as_object_get_variable_and_flags -swfdec_as_object_has_function -swfdec_as_object_init_context swfdec_as_object_new swfdec_as_object_new_empty -swfdec_as_object_resolve -swfdec_as_object_run +swfdec_as_object_create +swfdec_as_object_add swfdec_as_object_set_constructor +SwfdecAsVariableFlag +swfdec_as_object_get_variable +swfdec_as_object_get_variable_and_flags swfdec_as_object_set_variable swfdec_as_object_set_variable_flags swfdec_as_object_unset_variable_f...
2007 Jul 12
0
15 commits - doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt INSTALL libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_interpret.h libswfdec/swfdec_as_object.h
...ec_as_object_foreach +swfdec_as_object_foreach_remove +swfdec_as_object_foreach_rename +swfdec_as_object_get_debug +swfdec_as_object_get_variable +swfdec_as_object_get_variable_and_flags +swfdec_as_object_has_function +swfdec_as_object_init_context +swfdec_as_object_new +swfdec_as_object_new_empty +swfdec_as_object_resolve +swfdec_as_object_run +swfdec_as_object_set_constructor +swfdec_as_object_set_variable +swfdec_as_object_set_variable_flags +swfdec_as_object_unset_variable_flags +<SUBSECTION Standard> +swfdec_as_object_get_type +SwfdecAsObjectClass +SWFDEC_AS_OBJECT +SWFDEC_AS_OBJECT_CLASS +SWFDEC_AS_OBJECT...
2007 Sep 13
0
5 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_scope.c libswfdec/swfdec_as_scope.h libswfdec/swfdec_as_script_function.c
...that contains the variable, - * you have to call swfdec_as_object_get_variable_and_flags() on the result. - * If no such variable exist in the scope chain, %NULL is returned. - * <note>The returned object might be an internal object. You probably do not - * want to expose it to scripts. Call swfdec_as_object_resolve () on the - * returned value to be sure of not having an internal object.</note> - * - * Returns: the object that contains @variable or %NULL if none. + * Returns: Object in scope chain that contained the variable. **/ SwfdecAsObject * -swfdec_as_frame_find_variable (SwfdecAsFrame *frame,...
2007 Nov 15
0
4 commits - libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_function.c libswfdec/swfdec_as_interpret.c test/trace
...frame->caller); - } else { - caller = NULL; - } - klass = SWFDEC_AS_FUNCTION_GET_CLASS (function); g_assert (klass->call); frame = klass->call (function); @@ -138,8 +128,6 @@ swfdec_as_function_call_no_preload (SwfdecAsFunction *function, swfdec_as_frame_set_this (frame, swfdec_as_object_resolve (thisp)); } frame->is_local = TRUE; - frame->caller = caller; - frame->callee = function; frame->argc = n_args; frame->argv = args; frame->return_value = return_value; @@ -203,6 +191,7 @@ swfdec_as_function_do_call (SwfdecAsContext *cx, SwfdecAsObject *object,...
2007 Jul 18
0
12 commits - configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_playback_alsa.c libswfdec/jpeg libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_array.c libswfdec/swfdec_as_boolean.h libswfdec/swfdec_as_context.c
...gtk_widget_get_interactive swfdec_gtk_widget_set_interactive swfdec_gtk_widget_get_renderer @@ -270,7 +267,6 @@ SwfdecAsVariableForeach swfdec_as_object_foreach swfdec_as_object_has_function swfdec_as_object_call -swfdec_as_object_run swfdec_as_object_add_function swfdec_as_object_get_debug swfdec_as_object_resolve diff-tree be6ee2e99eaa4a2a58cdf8f217048641fd1e9511 (from c45ceb30a4a9c438c89423e277d8684b2e66c65c) Author: Benjamin Otte <otte at gnome.org> Date: Sun Jul 15 18:37:42 2007 +0100 fix debugging message diff --git a/libswfdec/swfdec_movie_asprops.c b/libswfdec/swfdec_movie_asprops.c inde...
2007 Oct 17
0
28 commits - configure.ac debian/changelog debian/control debian/copyright debian/.gitignore debian/libswfdec0.dirs debian/libswfdec0.files debian/libswfdec0.shlibs debian/libswfdec-dev.dirs debian/libswfdec-dev.files debian/rules debian/swf-player.dirs
...at to do in these situations */ if (frame == NULL) return; + if (function->priv) + swfdec_as_frame_set_security (frame, function->priv); /* second check especially for super object */ if (thisp != NULL && frame->thisp == NULL) swfdec_as_frame_set_this (frame, swfdec_as_object_resolve (thisp)); @@ -254,3 +256,21 @@ swfdec_as_function_init_context (SwfdecAsContext *context, guint version) &val, SWFDEC_AS_VARIABLE_HIDDEN | SWFDEC_AS_VARIABLE_PERMANENT); } +/** + * swfdec_as_function_set_security: + * @fun: a #SwfdecFunction + * @sec: the security guarding calls to th...
2007 Aug 23
0
23 commits - doc/.gitignore doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_keys.c libswfdec-gtk/swfdec_gtk_keys.h libswfdec-gtk/swfdec_gtk_widget.c libswfdec/Makefile.am
...ect_unset_variable_flags @@ -305,8 +308,10 @@ swfdec_as_object_delete_variable SwfdecAsVariableForeach swfdec_as_object_foreach swfdec_as_object_has_function +swfdec_as_object_run swfdec_as_object_call swfdec_as_object_add_function +swfdec_as_object_add_constructor swfdec_as_object_get_debug swfdec_as_object_resolve <SUBSECTION Standard> @@ -392,3 +397,19 @@ SWFDEC_IS_AS_FRAME SWFDEC_IS_AS_FRAME_CLASS SWFDEC_TYPE_AS_FRAME </SECTION> + +<SECTION> +<FILE>SwfdecAsFrame</FILE> +<TITLE>SwfdecAsFrame</TITLE> +SwfdecAsDebugger +SwfdecAsDebuggerClass +SwfdecScript +<SUB...
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
...99,8 +99,7 @@ void swfdec_as_object_create (SwfdecAs guint n_args, const SwfdecAsValue * args); void swfdec_as_object_set_constructor(SwfdecAsObject * object, - SwfdecAsObject * construct, - gboolean scripted); + SwfdecAsObject * construct); SwfdecAsObject *swfdec_as_object_resolve (SwfdecAsObject * object); char * swfdec_as_object_get_debug (SwfdecAsObject * object); diff --git a/libswfdec/swfdec_player.c b/libswfdec/swfdec_player.c index 39a1cb1..942dadf 100644 --- a/libswfdec/swfdec_player.c +++ b/libswfdec/swfdec_player.c @@ -1444,7 +1444,7 @@ swfdec_player_initialize...
2008 Jan 21
0
70 commits - configure.ac libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_socket.c libswfdec-gtk/swfdec_gtk_socket.h libswfdec-gtk/swfdec_playback_alsa.c
...t super may fail here */ if (frame == NULL) return NULL; - if (function->priv) - swfdec_as_frame_set_security (frame, function->priv); /* second check especially for super object */ if (thisp != NULL && frame->thisp == NULL) { swfdec_as_frame_set_this (frame, swfdec_as_object_resolve (thisp)); @@ -248,7 +246,7 @@ swfdec_as_function_apply (SwfdecAsContext *cx, SwfdecAsObject *object, } void -swfdec_as_function_init_context (SwfdecAsContext *context, guint version) +swfdec_as_function_init_context (SwfdecAsContext *context) { SwfdecAsObject *function, *proto; SwfdecAsV...