Displaying 20 results from an estimated 62 matches for "swfdec_as_context_running".
2008 Jun 02
4
[Bug 16206] New: Charts in Yahoo Finance crash swfdec
http://bugs.freedesktop.org/show_bug.cgi?id=16206
Summary: Charts in Yahoo Finance crash swfdec
Product: swfdec
Version: git
Platform: Other
URL: http://finance.yahoo.com/echarts?s=%5EDJI#symbol=%5EDJI;
range=1d
OS/Version: All
Status: NEW
Severity: critical
Priority: medium
2007 Sep 08
0
9 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_video_movie_as.c
...t script */
- swfdec_as_context_run_init_script (context, swfdec_as_initialize, sizeof (swfdec_as_initialize));
+ swfdec_as_context_run_init_script (context, swfdec_as_initialize, sizeof (swfdec_as_initialize), 8);
if (context->state == SWFDEC_AS_CONTEXT_NEW)
context->state = SWFDEC_AS_CONTEXT_RUNNING;
diff --cc libswfdec/swfdec_as_interpret.c
index 2660c97,a94d3ca..71a5663
@@@ -409,25 -409,6 +409,25 @@@
}
}
- static SwfdecAsObject *
- super_special_movie_lookup_magic (SwfdecAsObject *movie, const char *name)
++static SwfdecMovie *
++super_special_movie_lookup_magic (SwfdecMovie *movie,...
2007 Sep 14
0
4 commits - libswfdec/swfdec_as_function.c libswfdec/swfdec_as_object.c test/trace
libswfdec/swfdec_as_function.c | 35 ++++++++++++++++++----------------
libswfdec/swfdec_as_object.c | 2 -
test/trace/Makefile.am | 9 ++++++++
test/trace/function-apply-crash-5.swf |binary
test/trace/function-apply-crash-6.swf |binary
test/trace/function-apply-crash-7.swf |binary
test/trace/function-apply-crash-8.swf |binary
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
...stack, spec->add - spec->remove);
+ swfdec_as_stack_ensure_free (stack, spec->add - spec->remove);
} else {
if (spec->add > 0)
- swfdec_as_stack_ensure_left (stack, spec->add);
+ swfdec_as_stack_ensure_free (stack, spec->add);
}
if (context->state != SWFDEC_AS_CONTEXT_RUNNING)
goto error;
diff --git a/libswfdec/swfdec_as_interpret.c b/libswfdec/swfdec_as_interpret.c
index 3195a8c..649ec36 100644
--- a/libswfdec/swfdec_as_interpret.c
+++ b/libswfdec/swfdec_as_interpret.c
@@ -321,7 +321,7 @@ swfdec_action_push (SwfdecAsContext *cx,
while (swfdec_bits_left (&...
2007 Jul 11
0
Branch 'as' - libswfdec/swfdec_as_object.c
libswfdec/swfdec_as_object.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
New commits:
diff-tree 882b9ce2a53d333556ae7855b92f8bb5060c438d (from c066d38e799dcb3f96bf029a675f2166941c82c7)
Author: Benjamin Otte <otte at gnome.org>
Date: Wed Jul 11 13:28:20 2007 +0200
pop the return value that gets pushed to the stack here
diff --git a/libswfdec/swfdec_as_object.c
2007 May 24
0
Branch 'as' - 11 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_native_function.c libswfdec/swfdec_as_number.c libswfdec/swfdec_as_object.c
...er.c
index 74a8e7c..965f021 100644
--- a/libswfdec/swfdec_player.c
+++ b/libswfdec/swfdec_player.c
@@ -1056,7 +1056,7 @@ swfdec_player_initialize (SwfdecPlayer *
swfdec_movie_color_init_context (player, version);
if (context->state == SWFDEC_AS_CONTEXT_NEW) {
context->state = SWFDEC_AS_CONTEXT_RUNNING;
- swfdec_as_object_set_constructor (player->roots->data, player->MovieClip);
+ swfdec_as_object_set_constructor (player->roots->data, player->MovieClip, FALSE);
}
}
SWFDEC_INFO ("initializing player to size %ux%u", width, height);
diff --git a/libsw...
2007 Nov 08
0
libswfdec/swfdec_load_object.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_resource.c libswfdec/swfdec_resource.h
...il (SWFDEC_IS_PLAYER (player));
-
- if (swfdec_player_is_initialized (player))
- return;
-
- context = SWFDEC_AS_CONTEXT (player);
- swfdec_as_context_startup (context, version);
- /* reset state for initialization */
- /* FIXME: have a better way to do this */
- if (context->state == SWFDEC_AS_CONTEXT_RUNNING) {
- context->state = SWFDEC_AS_CONTEXT_NEW;
- swfdec_sprite_movie_init_context (player, version);
- swfdec_video_movie_init_context (player, version);
- swfdec_net_connection_init_context (player, version);
- swfdec_net_stream_init_context (player, version);
-
- swfdec_as_cont...
2008 Apr 12
2
[Bug 15471] New: segmentation fault while seeking in youtube.com
http://bugs.freedesktop.org/show_bug.cgi?id=15471
Summary: segmentation fault while seeking in youtube.com
Product: swfdec
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: plugin
AssignedTo: swfdec at lists.freedesktop.org
2007 Jul 31
0
10 commits - doc/swfdec-docs.sgml doc/swfdec-sections.txt libswfdec-gtk/swfdec_gtk_loader.c libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_buffer.c libswfdec/swfdec_debugger.c libswfdec/swfdec.h
...ec/swfdec_debugger.c b/libswfdec/swfdec_debugger.c
index d9c2798..9b0fd2a 100644
--- a/libswfdec/swfdec_debugger.c
+++ b/libswfdec/swfdec_debugger.c
@@ -416,6 +416,8 @@ swfdec_debugger_step (SwfdecAsContext *c
{
SwfdecDebugger *debugger = SWFDEC_DEBUGGER (context);
+ if (context->state != SWFDEC_AS_CONTEXT_RUNNING)
+ return;
if (!debugger->has_breakpoints)
return;
diff-tree d218c74a559903b86ae6e28945d9bbfe894a52cb (from 11470f3db6cd2beaf173f0ed10ab51ea3325b001)
Author: Benjamin Otte <otte at gnome.org>
Date: Tue Jul 31 11:19:20 2007 +0200
run initialization scripts in NEW state...
2007 Sep 10
0
3 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h
libswfdec/swfdec_as_interpret.c | 4
libswfdec/swfdec_as_object.c | 185 +++++++++++++++++++++++++++-------------
libswfdec/swfdec_as_object.h | 1
3 files changed, 128 insertions(+), 62 deletions(-)
New commits:
diff-tree 890b14c29384f9610b68eaf44e4fedfcc6580618 (from b971a7a434b0b1535eff0ced3eba031fdafdb09f)
Author: Benjamin Otte <otte at gnome.org>
Date: Mon Sep 10
2007 Apr 12
0
Branch 'as' - 14 commits - libswfdec-gtk/swfdec_playback_alsa.c 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 libswfdec/swfdec_as_function.h
...c
index 9ed00ec..efcf513 100644
--- a/libswfdec/swfdec_as_context.c
+++ b/libswfdec/swfdec_as_context.c
@@ -36,6 +36,8 @@
/**
* SwfdecAsContextState
+ * @SWFDEC_AS_CONTEXT_NEW: the context is not yet initialized,
+ * swfdec_as_context_startup() needs to be called.
* @SWFDEC_AS_CONTEXT_RUNNING: the context is running normally
* @SWFDEC_AS_CONTEXT_INTERRUPTED: the context has been interrupted by a
* debugger
@@ -384,7 +386,7 @@ start:
goto out;
if (frame->function && frame->function->native) {
if (frame->argc >= frame-&g...
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
AUTHORS | 4
MAINTAINERS | 1
doc/Makefile.am | 2
doc/swfdec-docs.sgml | 2
doc/swfdec-sections.txt | 78 +++++++++--
libswfdec/Makefile.am | 3
libswfdec/swfdec.h | 1
libswfdec/swfdec_as_array.c | 33 ++++
2008 Jun 05
4
[Bug 16241] New: assertion failed: (movie->cache_state <= SWFDEC_MOVIE_INVALID_CHILDREN)
http://bugs.freedesktop.org/show_bug.cgi?id=16241
Summary: assertion failed: (movie->cache_state <=
SWFDEC_MOVIE_INVALID_CHILDREN)
Product: swfdec
Version: git
Platform: x86-64 (AMD64)
URL: http://www.cnn.com/ELECTION/2008/primaries/results/score
card/#R
OS/Version: Linux (All)
2007 Mar 29
0
Branch 'as' - 9 commits - configure.ac doc/swfdec-sections.txt 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_stack.c
...nown", script->version);
- goto internal_error;
+ goto error;
}
if (spec->remove > 0) {
swfdec_as_stack_ensure_size (stack, spec->remove);
@@ -368,7 +372,7 @@ start:
swfdec_as_stack_ensure_left (stack, spec->add);
}
if (context->state != SWFDEC_AS_CONTEXT_RUNNING)
- break;
+ goto error;
#ifndef G_DISABLE_ASSERT
check = (spec->add >= 0 && spec->remove >= 0) ? stack->cur + spec->add - spec->remove : NULL;
#endif
@@ -393,7 +397,23 @@ start:
}
}
-internal_error:
+error:
return;
}
+void
+swfdec_as_con...
2007 Jun 29
0
Branch 'as' - 3 commits - doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h
doc/Makefile.am | 1
doc/swfdec-docs.sgml | 2
doc/swfdec-sections.txt | 39 +++++++++++
libswfdec/swfdec_as_context.c | 139 +++++++++++++++++++++++++++++++++++-------
libswfdec/swfdec_as_context.h | 5 -
5 files changed, 160 insertions(+), 26 deletions(-)
New commits:
diff-tree 2203783339a0ece4ce8d264d0ec28c77034c3288 (from
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
...lse {
+ if (frame->pc < pc &&
+ !swfdec_as_context_check_continue (context)) {
+ goto error;
+ }
pc = frame->pc;
check_block = FALSE;
}
@@ -1339,3 +1345,28 @@ swfdec_as_context_startup (SwfdecAsContext *context, guint version)
context->state = SWFDEC_AS_CONTEXT_RUNNING;
}
+/**
+ * swfdec_as_context_check_continue:
+ * @context: the context that might be running too long
+ *
+ * Checks if the context has been running too long. If it has, it gets aborted.
+ *
+ * Returns: %TRUE if this player aborted.
+ **/
+gboolean
+swfdec_as_context_check_continue (SwfdecAsCo...
2007 Oct 23
0
6 commits - libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_script_function.c libswfdec/swfdec_flash_security.c
libswfdec/swfdec_as_frame.c | 17 ++++---------
libswfdec/swfdec_as_internal.h | 7 +++++
libswfdec/swfdec_as_interpret.c | 2 +
libswfdec/swfdec_as_interpret.h | 2 +
libswfdec/swfdec_as_object.c | 42 ++++++++++++++++++++++++----------
libswfdec/swfdec_as_script_function.c | 2 +
libswfdec/swfdec_flash_security.c | 12 ++++-----
2007 Aug 20
2
libswfdec/swfdec_player.c
libswfdec/swfdec_player.c | 1 -
1 file changed, 1 deletion(-)
New commits:
diff-tree fd36de2f156ce685d5095aaf323e0766ea017bd7 (from c3b035ca1583a420402b965506129bd73ff3f5fe)
Author: Benjamin Otte <otte at gnome.org>
Date: Mon Aug 20 16:02:09 2007 +0200
no need for that header
diff --git a/libswfdec/swfdec_player.c b/libswfdec/swfdec_player.c
index b303408..cd58cf5 100644
---
2007 Dec 02
2
[Bug 13491] New: 5min.com player causes assertion
http://bugs.freedesktop.org/show_bug.cgi?id=13491
Summary: 5min.com player causes assertion
Product: swfdec
Version: unspecified
Platform: x86-64 (AMD64)
URL: http://www.5min.com/
OS/Version: All
Status: NEW
Severity: blocker
Priority: medium
Component: library
AssignedTo: swfdec at
2007 Jul 26
0
17 commits - doc/swfdec-sections.txt libswfdec/compiler.c libswfdec/.gitignore libswfdec/Makefile.am libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_strings.c
...tener_new (SWFDEC_AS_CONTEXT (player));
player->registered_classes = g_hash_table_new (g_direct_hash, g_direct_equal);
player->actions = swfdec_ring_buffer_new_for_type (SwfdecPlayerAction, 16);
@@ -1303,7 +1310,6 @@ swfdec_player_initialize (SwfdecPlayer *
if (context->state == SWFDEC_AS_CONTEXT_RUNNING) {
context->state = SWFDEC_AS_CONTEXT_NEW;
swfdec_player_init_global (player, version);
- swfdec_mouse_init_context (player, version);
swfdec_sprite_movie_init_context (player, version);
swfdec_video_movie_init_context (player, version);
swfdec_movie_color_init_contex...