search for: swfdec_as_context_check_continu

Displaying 4 results from an estimated 4 matches for "swfdec_as_context_check_continu".

2007 Oct 22
0
6 commits - doc/Makefile.am doc/swfdec-sections.txt libswfdec-gtk/swfdec_gtk_player.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_internal.h libswfdec/swfdec_player.c libswfdec/swfdec_player.h
..._as_context.c index dd276fc..07eb2fd 100644 --- a/libswfdec/swfdec_as_context.c +++ b/libswfdec/swfdec_as_context.c @@ -732,6 +732,8 @@ swfdec_as_context_run (SwfdecAsContext *context) context->last_frame = context->frame->next; original_version = context->version; start: + if (!swfdec_as_context_check_continue (context)) + goto error; /* setup data */ frame = context->frame; if (frame == context->last_frame) @@ -892,6 +894,10 @@ start: frame->pc = pc = nextpc; check_block = TRUE; } else { + if (frame->pc < pc && + !swfdec_as_context_check_cont...
2007 Oct 22
0
2 commits - doc/swfdec-sections.txt libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h
...;, + FALSE, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_UNTIL_GC, g_param_spec_ulong ("memory-until-gc", "memory until gc", "amount of bytes that need to be allocated before garbage collection triggers", @@ -1370,3 +1378,22 @@ swfdec_as_context_check_continue (SwfdecAsContext *context) return TRUE; } +/** + * swfdec_as_context_is_aborted: + * @context: a #SwfdecAsContext + * + * Determines if the given context is aborted. An aborted context is not able + * to execute any scripts. Aborting can happen if the script engine detects bad + * scripts t...
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
...ext * context, + guint version); +SwfdecAsFrame * swfdec_as_function_call_no_preload (SwfdecAsFunction * function, + SwfdecAsObject * thisp, + guint n_args, + const SwfdecAsValue * args, + SwfdecAsValue * return_value); /* swfdec_as_context.c */ gboolean swfdec_as_context_check_continue (SwfdecAsContext * context); commit 0fcd2465a6e039c65d749a761d31f699811b4692 Author: Benjamin Otte <otte at gnome.org> Date: Tue Nov 13 23:48:03 2007 +0100 movies _do_ get a super object diff --git a/libswfdec/swfdec_as_super.c b/libswfdec/swfdec_as_super.c index 8a94749..3a52c16 100...
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
...RTED) return; @@ -793,6 +793,7 @@ swfdec_as_context_run (SwfdecAsContext *context) context->last_frame = context->frame->next; original_version = context->version; start: + g_return_if_fail (context->global); /* check here because of swfdec_sandbox_(un)use() */ if (!swfdec_as_context_check_continue (context)) goto error; /* setup data */ @@ -804,12 +805,6 @@ start: swfdec_as_context_abort (context, "Stack overflow"); goto error; } - /* if security is NULL, the function may not be called */ - if (frame->security == NULL) { - SWFDEC_WARNING ("insuffi...