search for: swfdecasdebugg

Displaying 19 results from an estimated 19 matches for "swfdecasdebugg".

Did you mean: swfdecasdebug
2007 Aug 09
0
Branch 'vivi' - 12 commits - libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h libswfdec/Makefile.am libswfdec/swfdec_as_array.h libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_debugger.c
...bswfdec-gtk/swfdec_gtk_player.c b/libswfdec-gtk/swfdec_gtk_player.c index 06a71c5..485f708 100644 --- a/libswfdec-gtk/swfdec_gtk_player.c +++ b/libswfdec-gtk/swfdec_gtk_player.c @@ -160,6 +160,7 @@ swfdec_gtk_player_init (SwfdecGtkPlayer /** * swfdec_gtk_player_new: + * @debugger: %NULL or a #SwfdecAsDebugger to debug this player * * Creates a new Swfdec Gtk player. * This function calls swfdec_init () for you if it wasn't called before. @@ -167,12 +168,12 @@ swfdec_gtk_player_init (SwfdecGtkPlayer * Returns: The new player **/ SwfdecPlayer * -swfdec_gtk_player_new (void) +swfdec_gtk_p...
2007 Aug 15
0
Branch 'vivi' - 13 commits - doc/swfdec-sections.txt libswfdec/swfdec_as_debugger.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_types.h vivified/core vivified/ui
...: vivi_initialize.s vivi_initialize.as $(LTCCASCOMPILE) -c -o $@ vivi_initialize.s diff --git a/vivified/core/vivi_debugger.c b/vivified/core/vivi_debugger.c index 4d81c45..44149cc 100644 --- a/vivified/core/vivi_debugger.c +++ b/vivified/core/vivi_debugger.c @@ -88,7 +88,7 @@ vivi_debugger_step (SwfdecAsDebugger *de g_signal_emit (debugger, signals[STEP], 0, &retval); if (!retval) { - ViviApplication *app = VIVI_APPLICATION (context); + ViviApplication *app = VIVI_DEBUGGER (debugger)->app; if (app->playback_state == VIVI_APPLICATION_STEPPING) { app->playback_count...
2007 Nov 08
0
8 commits - libswfdec-gtk/swfdec_gtk_player.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_date.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_player.c test/trace
...predictable diff --git a/libswfdec/swfdec_player.c b/libswfdec/swfdec_player.c index 019b962..7d68208 100644 --- a/libswfdec/swfdec_player.c +++ b/libswfdec/swfdec_player.c @@ -1995,6 +1995,7 @@ swfdec_player_unroot_object (SwfdecPlayer *player, GObject *object) SwfdecPlayer * swfdec_player_new (SwfdecAsDebugger *debugger) { + static const GTimeVal the_beginning = { 1035840244, 0 }; SwfdecPlayer *player; g_return_val_if_fail (debugger == NULL || SWFDEC_IS_AS_DEBUGGER (debugger), NULL); @@ -2003,6 +2004,8 @@ swfdec_player_new (SwfdecAsDebugger *debugger) player = g_object_new (SWFDEC_TYPE_PLA...
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
...;otte at gnome.org> Date: Thu Aug 23 16:16:54 2007 +0200 fix documentation diff --git a/libswfdec/swfdec_as_debugger.c b/libswfdec/swfdec_as_debugger.c index e0c89f8..d9f34f3 100644 --- a/libswfdec/swfdec_as_debugger.c +++ b/libswfdec/swfdec_as_debugger.c @@ -47,7 +47,7 @@ G_DEFINE_TYPE (SwfdecAsDebugger, swfdec_ */ /** - * SwfdecAsDebuggerClass + * SwfdecAsDebuggerClass: * @add: Called whenever an object is added to the garbage collection engine * using swfdec_as_object_add () * @remove: Called whenever an object is about to be collected by the garbage @@ -55,9 +55,9 @@ G_DEFI...
2007 Aug 17
0
Branch 'vivi' - 13 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_debugger.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_script_function.c test/trace vivified/core vivified/ui
...5ae2eb 100644 --- a/vivified/core/vivi_debugger.c +++ b/vivified/core/vivi_debugger.c @@ -31,6 +31,7 @@ enum { STEP, START_FRAME, FINISH_FRAME, + SET_VARIABLE, LAST_SIGNAL }; @@ -129,6 +130,18 @@ vivi_debugger_finish_frame (SwfdecAsDebu } static void +vivi_debugger_set_variable (SwfdecAsDebugger *debugger, SwfdecAsContext *context, + SwfdecAsObject *object, const char *variable, const SwfdecAsValue *value) +{ + gboolean retval = FALSE; + + g_signal_emit (debugger, signals[SET_VARIABLE], 0, object, variable, value, &retval); + + if (retval) + vivi_debugger_break (VIVI_DEBUGG...
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 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
...2007 +0200 implement max-runtime and make it really work diff --git a/libswfdec-gtk/swfdec_gtk_player.c b/libswfdec-gtk/swfdec_gtk_player.c index 55db10a..60e7ded 100644 --- a/libswfdec-gtk/swfdec_gtk_player.c +++ b/libswfdec-gtk/swfdec_gtk_player.c @@ -174,7 +174,7 @@ swfdec_gtk_player_new (SwfdecAsDebugger *debugger) swfdec_init (); player = g_object_new (SWFDEC_TYPE_GTK_PLAYER, "debugger", debugger, - "max-runtime", 10 * 1000, NULL); + "max-runtime", (gulong) 10 * 1000, NULL); return player; } diff --git a/libswfdec/swfdec_player.c b/libswfdec...
2007 Aug 24
0
2 commits - NEWS
...8bf8 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,17 @@ + 0.5.2 ("Kittencannon") + +- add initial support for Keyboard events. This makes quite some games work. +- add NetStream.close() functionality. This makes Youtube fullscreen work. +- export more API for debugging, like SwfdecScript and SwfdecAsDebugger. +- add new Vivified internal debugger that makes use of those. +- Swfdec can parse Flash 8 Buttons now. +- Swfdec should now set and handle all property flags correctly. +- implement LoadVars object +- make lots of native functions more correct for weird situations. +- various bugfixes, includin...
2007 Aug 24
0
NEWS
...eatures. But +even that made a lot of files work and work better. Here's some detail: - add initial support for Keyboard events. This makes quite some games work. - add NetStream.close() functionality. This makes Youtube fullscreen work. - export more API for debugging, like SwfdecScript and SwfdecAsDebugger.
2007 Aug 22
0
163 commits - autogen.sh configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h libswfdec-gtk/swfdec_gtk_widget.c libswfdec-gtk/swfdec_source.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c
...ore/vivi_debugger.c +++ b/vivified/core/vivi_debugger.c @@ -28,6 +28,8 @@ #include "libswfdec/swfdec_player_internal.h" enum { + ADD, + REMOVE, STEP, START_FRAME, FINISH_FRAME, @@ -87,6 +89,30 @@ vivi_debugger_break (ViviDebugger *debug } static void +vivi_debugger_add (SwfdecAsDebugger *debugger, SwfdecAsContext *context, + SwfdecAsObject *object) +{ + gboolean retval = FALSE; + + g_signal_emit (debugger, signals[ADD], 0, object, &retval); + + if (retval) + vivi_debugger_break (VIVI_DEBUGGER (debugger)); +} + +static void +vivi_debugger_remove (SwfdecAsDebugger *d...
2007 Aug 21
0
Branch 'vivi' - 15 commits - configure.ac libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_debugger.h libswfdec/swfdec_as_object.c libswfdec/swfdec_movie.c libswfdec/swfdec_script.c libswfdec/swfdec_types.h vivified/core vivified/ui
...ore/vivi_debugger.c +++ b/vivified/core/vivi_debugger.c @@ -28,6 +28,8 @@ #include "libswfdec/swfdec_player_internal.h" enum { + ADD, + REMOVE, STEP, START_FRAME, FINISH_FRAME, @@ -87,6 +89,30 @@ vivi_debugger_break (ViviDebugger *debug } static void +vivi_debugger_add (SwfdecAsDebugger *debugger, SwfdecAsContext *context, + SwfdecAsObject *object) +{ + gboolean retval = FALSE; + + g_signal_emit (debugger, signals[ADD], 0, object, &retval); + + if (retval) + vivi_debugger_break (VIVI_DEBUGGER (debugger)); +} + +static void +vivi_debugger_remove (SwfdecAsDebugger *d...
2008 Apr 12
2
[Bug 15471] New: segmentation fault while seeking in youtube.com
...nextpc = (const guint8 *) 0xb170edc "\027\226\r" exitpc = (const guint8 *) 0xb170f0d "O\226\004" check = (SwfdecAsValue *) 0x0 action = 82 len = 0 data = (const guint8 *) 0x0 original_version = 4294967295 step = (void (*)(SwfdecAsDebugger *, SwfdecAsContext *)) 0 check_block = 1 __PRETTY_FUNCTION__ = "swfdec_as_context_run" #4 0xb226cfaf in swfdec_as_object_call (object=0xb1faf38, name=0xb22e39fd "onEnterFrame", argc=0, argv=0x0, return_value=0xbfcc66f0) at swfdec_as_object.c:1254...
2007 Aug 14
0
Branch 'vivi' - 11 commits - libswfdec-gtk/swfdec_gtk_widget.c libswfdec/Makefile.am libswfdec/swfdec.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h vivified/core
...); + + app->playback_state = 0; + app->playback_count = 0; + app->loop = g_main_loop_new (NULL, FALSE); + + g_main_loop_run (app->loop); + + g_main_loop_unref (app->loop); + app->loop = NULL; + swfdec_player_lock_soft (app->player); +} + +static void +vivi_debugger_step (SwfdecAsDebugger *debugger, SwfdecAsContext *context) +{ + gboolean retval = FALSE; + + g_signal_emit (debugger, signals[STEP], 0, &retval); + + if (retval) + vivi_debugger_break (VIVI_DEBUGGER (debugger)); +} + +static void +vivi_debugger_class_init (ViviDebuggerClass *klass) +{ + GObjectClass *object...
2007 Dec 02
2
[Bug 13491] New: 5min.com player causes assertion
...aaab0378406 "\226\002" exitpc = (const guint8 *) 0x2aaab037864f "O\226\004" check = <value optimized out> action = 82 len = <value optimized out> data = (const guint8 *) 0x0 original_version = 8 step = (void (*)(SwfdecAsDebugger *, SwfdecAsContext *)) 0 check_block = 1 __PRETTY_FUNCTION__ = "swfdec_as_context_run" #6 0x00002aaaafbf523e in swfdec_as_object_run_with_security ( object=0x65dece0, script=<value optimized out>, sec=0x322c2c0) at swfdec_as_object.c:1170 context =...
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
...xt.c b/libswfdec/swfdec_as_context.c index 34dd33b..64fbd0a 100644 --- a/libswfdec/swfdec_as_context.c +++ b/libswfdec/swfdec_as_context.c @@ -711,6 +711,7 @@ swfdec_as_context_run (SwfdecAsContext * guint action, len; guint8 *data; int version; + guint original_version; void (* step) (SwfdecAsDebugger *debugger, SwfdecAsContext *context); gboolean check_scope; /* some opcodes avoid a scope check */ @@ -727,6 +728,7 @@ swfdec_as_context_run (SwfdecAsContext * last_frame = context->last_frame; context->last_frame = context->frame->next; + original_version = context->...
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
...diff --git a/libswfdec/swfdec_as_context.c b/libswfdec/swfdec_as_context.c index 89859d3..e332c5b 100644 --- a/libswfdec/swfdec_as_context.c +++ b/libswfdec/swfdec_as_context.c @@ -711,7 +711,7 @@ swfdec_as_context_run (SwfdecAsContext * int version; guint original_version; void (* step) (SwfdecAsDebugger *debugger, SwfdecAsContext *context); - gboolean check_scope; /* some opcodes avoid a scope check */ + gboolean check_block; /* some opcodes avoid a scope check */ g_return_if_fail (SWFDEC_IS_AS_CONTEXT (context)); if (context->frame == NULL || context->state == SWFDEC_AS_CONTEXT_...
2007 Nov 07
0
14 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_script.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_text_field_movie.c
...decScript *script; const SwfdecActionSpec *spec; - SwfdecActionExec exec; const guint8 *startpc, *pc, *endpc, *nextpc, *exitpc; #ifndef G_DISABLE_ASSERT SwfdecAsValue *check; #endif guint action, len; const guint8 *data; - int version; guint original_version; void (* step) (SwfdecAsDebugger *debugger, SwfdecAsContext *context); gboolean check_block; /* some opcodes avoid a scope check */ @@ -849,7 +847,6 @@ start: g_assert (frame->script); g_assert (frame->target); script = frame->script; - version = SWFDEC_AS_EXTRACT_SCRIPT_VERSION (script->version); con...
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
...t;failed to create script"); g_free (args); diff --cc libswfdec/swfdec_as_object.c index 111dbb3,83ad4cf..d041803 @@@ -562,14 -577,8 +577,14 @@@ g_return_if_fail (variable != NULL); g_return_if_fail (SWFDEC_IS_AS_VALUE (value)); + if (object->context->debugger) { + SwfdecAsDebugger *debugger = object->context->debugger; + SwfdecAsDebuggerClass *dklass = SWFDEC_AS_DEBUGGER_GET_CLASS (debugger); + if (dklass->set_variable) + dklass->set_variable (debugger, object->context, object, variable, value); + } klass = SWFDEC_AS_OBJECT_GET_CLASS (obj...
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
...swfdec-gtk/swfdec_gtk_loader.h" #include "libswfdec-gtk/swfdec_gtk_player.h" +#include "libswfdec-gtk/swfdec_gtk_socket.h" #include "libswfdec-gtk/swfdec_playback.h" #include "libswfdec-gtk/swfdec_source.h" @@ -172,7 +173,9 @@ swfdec_gtk_player_new (SwfdecAsDebugger *debugger) SwfdecPlayer *player; swfdec_init (); - player = g_object_new (SWFDEC_TYPE_GTK_PLAYER, "debugger", debugger, NULL); + player = g_object_new (SWFDEC_TYPE_GTK_PLAYER, + "socket-type", SWFDEC_TYPE_GTK_SOCKET, + "debugger", debugger, NULL)...