search for: vividebugger

Displaying 12 results from an estimated 12 matches for "vividebugger".

Did you mean: vivi_debugger
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
...+ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "vivi_breakpoint.h" +#include "vivi_application.h" +#include "vivi_function.h" + +G_DEFINE_TYPE (ViviBreakpoint, vivi_breakpoint, SWFDEC_TYPE_AS_OBJECT) + +static gboolean +vivi_breakpoint_step (ViviDebugger *debugger, ViviBreakpoint *breakpoint) +{ + SwfdecAsObject *obj = SWFDEC_AS_OBJECT (breakpoint); + SwfdecAsValue val; + + swfdec_as_object_call (obj, swfdec_as_context_get_string (obj->context, "onStep"), 0, NULL, &val); + return swfdec_as_value_to_boolean (obj->context, &am...
2007 Aug 16
1
Branch 'vivi' - vivified/ui
vivified/ui/main.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) New commits: diff-tree be3bc1a6cd88c0f2294b4f6059898c3989f172eb (from da8a9e9b145d5cb1aebc04764e9ed66856a31c9b) Author: Benjamin Otte <otte at gnome.org> Date: Thu Aug 16 21:42:39 2007 +0200 Set the title correctly diff --git a/vivified/ui/main.c b/vivified/ui/main.c index df123a9..13d03ab 100644 ---
2007 Aug 16
0
Branch 'vivi' - 18 commits - configure.ac doc/swfdec-sections.txt libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_types.h libswfdec/swfdec_player.c vivified/core vivified/ui
...gnome.org> Date: Thu Aug 16 21:26:41 2007 +0200 debugging g_print() ... diff --git a/vivified/core/vivi_debugger.c b/vivified/core/vivi_debugger.c index 53ea0ea..670daff 100644 --- a/vivified/core/vivi_debugger.c +++ b/vivified/core/vivi_debugger.c @@ -76,9 +76,7 @@ vivi_debugger_break (ViviDebugger *debug g_object_notify (G_OBJECT (app), "interrupted"); vivi_application_check (app); - g_print (">>>\n"); g_main_loop_run (app->loop); - g_print ("<<<\n"); g_main_loop_unref (app->loop); app->loop = NULL; diff-tree 46e54...
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
...,6 +24,7 @@ #include "vivi_breakpoint.h" #include "vivi_application.h" #include "vivi_function.h" +#include "vivi_wrap.h" G_DEFINE_TYPE (ViviBreakpoint, vivi_breakpoint, SWFDEC_TYPE_AS_OBJECT) @@ -31,10 +32,35 @@ static gboolean vivi_breakpoint_step (ViviDebugger *debugger, ViviBreakpoint *breakpoint) { SwfdecAsObject *obj = SWFDEC_AS_OBJECT (breakpoint); + SwfdecAsValue retval; + + swfdec_as_object_call (obj, swfdec_as_context_get_string (obj->context, "onCommand"), 0, NULL, &retval); + return swfdec_as_value_to_boolean (obj->con...
2007 Aug 21
0
Branch 'vivi' - 10 commits - libswfdec/swfdec_button_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c vivified/core vivified/dock vivified/ui
...e Aug 21 22:54:41 2007 +0200 create the path before destroying the node diff --git a/vivified/ui/vivi_movie_list.c b/vivified/ui/vivi_movie_list.c index 7cca226..2ac4104 100644 --- a/vivified/ui/vivi_movie_list.c +++ b/vivified/ui/vivi_movie_list.c @@ -347,8 +347,8 @@ vivi_movie_list_removed (ViviDebugger *d if (node == NULL) return FALSE; vivi_movie_list_remove_node (movies, node); - g_node_destroy (node); path = vivi_movie_list_node_to_path (node); + g_node_destroy (node); gtk_tree_model_row_deleted (GTK_TREE_MODEL (movies), path); gtk_tree_path_free (path); return FALSE;...
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
...guint i; guint count = g_node_n_children (parent); int *positions = g_new (int, count); - g_print ("reordering %u => %u (%u total)\n", old, new, count); for (i = 0; i < min; i++) { positions[i] = i; } @@ -393,6 +392,16 @@ vivi_movie_list_removed (ViviDebugger *d } static void +vivi_movie_list_reset (ViviApplication *app, GParamSpec *pspec, ViviMovieList *movies) +{ + GNode *walk; + + for (walk = movies->root->children; walk; walk = walk->next) { + vivi_movie_list_removed (NULL, walk->data, movies); + } +} + +static void vivi_movie...
2007 Aug 22
0
Branch 'vivi' - 2 commits - libswfdec-gtk/swfdec_source.c vivified/ui
...guint i; guint count = g_node_n_children (parent); int *positions = g_new (int, count); - g_print ("reordering %u => %u (%u total)\n", old, new, count); for (i = 0; i < min; i++) { positions[i] = i; } @@ -393,6 +392,16 @@ vivi_movie_list_removed (ViviDebugger *d } static void +vivi_movie_list_reset (ViviApplication *app, GParamSpec *pspec, ViviMovieList *movies) +{ + GNode *walk; + + for (walk = movies->root->children; walk; walk = walk->next) { + vivi_movie_list_removed (NULL, walk->data, movies); + } +} + +static void vivi_movie...
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
...swfdec/swfdec_player_internal.h> #include "vivi_movie_list.h" @@ -273,14 +272,18 @@ vivi_movie_list_get_index (GNode *parent return i; } -static void -vivi_movie_list_added (SwfdecPlayer *player, SwfdecMovie *movie, ViviMovieList *movies) +static gboolean +vivi_movie_list_added (ViviDebugger *debugger, SwfdecAsObject *object, ViviMovieList *movies) { + SwfdecMovie *movie; GtkTreePath *path; GtkTreeIter iter; GNode *node, *new; int pos; + if (!SWFDEC_IS_MOVIE (object)) + return FALSE; + movie = SWFDEC_MOVIE (object); if (movie->parent) { node = g_hash_tab...
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
...SwfdecAsFrame * frame, const SwfdecAsValue * return_value); diff --git a/vivified/core/vivi_breakpoint.c b/vivified/core/vivi_breakpoint.c index 11ae4bf..423bf7f 100644 --- a/vivified/core/vivi_breakpoint.c +++ b/vivified/core/vivi_breakpoint.c @@ -39,19 +39,19 @@ vivi_breakpoint_step (ViviDebugger *debu } static gboolean -vivi_breakpoint_start_frame (ViviDebugger *debugger, SwfdecAsFrame *frame, ViviBreakpoint *breakpoint) +vivi_breakpoint_enter_frame (ViviDebugger *debugger, SwfdecAsFrame *frame, ViviBreakpoint *breakpoint) { SwfdecAsObject *obj = SWFDEC_AS_OBJECT (breakpoint); S...
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
...reakpoint.c index 506ee08..15cfc26 100644 --- a/vivified/core/vivi_breakpoint.c +++ b/vivified/core/vivi_breakpoint.c @@ -63,6 +63,21 @@ vivi_breakpoint_finish_frame (ViviDebugg return swfdec_as_value_to_boolean (obj->context, &retval); } +static gboolean +vivi_breakpoint_set_variable (ViviDebugger *debugger, SwfdecAsObject *object, + const char *variable, const SwfdecAsValue *value, ViviBreakpoint *breakpoint) +{ + SwfdecAsObject *obj = SWFDEC_AS_OBJECT (breakpoint); + SwfdecAsValue vals[3]; + SwfdecAsValue retval; + + SWFDEC_AS_VALUE_SET_OBJECT (&vals[0], vivi_wrap_object (VIVI_...
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
...g.h" +#endif + +#include "vivi_breakpoint.h" +#include "vivi_application.h" +#include "vivi_function.h" +#include "vivi_wrap.h" + +G_DEFINE_TYPE (ViviBreakpoint, vivi_breakpoint, SWFDEC_TYPE_AS_OBJECT) + +static gboolean +vivi_breakpoint_step (ViviDebugger *debugger, ViviBreakpoint *breakpoint) +{ + SwfdecAsObject *obj = SWFDEC_AS_OBJECT (breakpoint); + SwfdecAsValue retval; + + swfdec_as_object_call (obj, swfdec_as_context_get_string (obj->context, "onCommand"), 0, NULL, &retval); + return swfdec_as_value_to_boolean (obj-&...
2007 Aug 16
0
Branch 'vivi' - 23 commits - 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_net_stream.c libswfdec/swfdec_sprite_movie.c test/trace vivified/core
...Thu Aug 16 12:31:10 2007 +0200 notify when the application is interrupted diff --git a/vivified/core/vivi_debugger.c b/vivified/core/vivi_debugger.c index 44149cc..915dff0 100644 --- a/vivified/core/vivi_debugger.c +++ b/vivified/core/vivi_debugger.c @@ -72,11 +72,13 @@ vivi_debugger_break (ViviDebugger *debug app->playback_state = 0; app->playback_count = 0; app->loop = g_main_loop_new (NULL, FALSE); + g_object_notify (G_OBJECT (app), "interrupted"); g_main_loop_run (app->loop); g_main_loop_unref (app->loop); app->loop = NULL; + g_object_notify...