search for: swfdecasdeletereturn

Displaying 8 results from an estimated 8 matches for "swfdecasdeletereturn".

2007 Aug 20
0
15 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_super.c libswfdec/swfdec_as_with.c
...a/libswfdec/swfdec_as_frame.c b/libswfdec/swfdec_as_frame.c index 4608b0a..d47f589 100644 --- a/libswfdec/swfdec_as_frame.c +++ b/libswfdec/swfdec_as_frame.c @@ -503,20 +503,21 @@ swfdec_as_frame_find_variable (SwfdecAsF return NULL; } -/* FIXME: merge with find_variable somehow */ -gboolean +SwfdecAsDeleteReturn swfdec_as_frame_delete_variable (SwfdecAsFrame *frame, const char *variable) { SwfdecAsScope *cur; guint i; + SwfdecAsDeleteReturn ret; g_return_val_if_fail (SWFDEC_IS_AS_FRAME (frame), FALSE); g_return_val_if_fail (variable != NULL, FALSE); cur = frame->scope; for (i =...
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
...ble_and_flags (walk->data, variable, NULL, NULL, &pobject) && + pobject == walk->data) { + set = walk->data; + break; + } + } + if (set == NULL) + set = frame->target; + + swfdec_as_object_set_variable_and_flags (set, variable, value, default_flags); +} + SwfdecAsDeleteReturn swfdec_as_frame_delete_variable (SwfdecAsFrame *frame, const char *variable) { @@ -721,25 +748,14 @@ swfdec_as_frame_preload (SwfdecAsFrame * } } if (script->flags & SWFDEC_SCRIPT_PRELOAD_ROOT && current_reg < script->n_registers) { - SwfdecAsObject *obj; -...
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
...nt->handlers[i]) + vivi_breakpoint_remove (breakpoint, i); + } + } - SWFDEC_AS_OBJECT_CLASS (vivi_breakpoint_parent_class)->set (object, variable, val); ++ SWFDEC_AS_OBJECT_CLASS (vivi_breakpoint_parent_class)->set (object, variable, val, flags); +} + - static gboolean ++static SwfdecAsDeleteReturn +vivi_breakpoint_delete (SwfdecAsObject *object, const char *variable) +{ + ViviBreakpoint *breakpoint = VIVI_BREAKPOINT (object); + guint i; ++ SwfdecAsDeleteReturn ret; + - i = vivi_breakpoint_find_event (variable); - if (i && breakpoint->handlers[i]) - vivi_breakpoint_...
2007 Nov 09
0
10 commits - doc/swfdec-sections.txt libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_loader.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie_clip_loader.c libswfdec/swfdec_movie.h
...{ g_return_if_fail (SWFDEC_IS_AS_OBJECT (object)); diff --git a/libswfdec/swfdec_as_object.h b/libswfdec/swfdec_as_object.h index 8952b72..5c76b3a 100644 --- a/libswfdec/swfdec_as_object.h +++ b/libswfdec/swfdec_as_object.h @@ -146,7 +146,8 @@ gboolean swfdec_as_object_get_variable_and_flags SwfdecAsDeleteReturn swfdec_as_object_delete_variable(SwfdecAsObject * object, const char * variable); -void swfdec_as_object_clear_variables(SwfdecAsObject * object); +void swfdec_as_object_delete_all_variables + (SwfdecAsObject * object); void swfdec_as_object_set_variable_flags (SwfdecAsO...
2007 Nov 28
0
59 commits - libswfdec-gtk/swfdec_gtk_widget.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_button.c libswfdec/swfdec_button.h libswfdec/swfdec_button_movie.c libswfdec/swfdec_button_movie.h libswfdec/swfdec_event.c
...ct.h +++ b/libswfdec/swfdec_as_object.h @@ -143,6 +143,8 @@ gboolean swfdec_as_object_get_variable_and_flags SwfdecAsValue * value, guint * flags, SwfdecAsObject ** pobject); +gboolean swfdec_as_object_has_variable (SwfdecAsObject * object, + const char * variable); SwfdecAsDeleteReturn swfdec_as_object_delete_variable(SwfdecAsObject * object, const char * variable); commit 17ec867f969ad58e64cd5c7aec6b18ba04e112d5 Author: Benjamin Otte <otte at gnome.org> Date: Thu Nov 22 15:17:58 2007 +0100 check event receiving by calling a Movie vfunc also add...
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
...--git a/doc/swfdec-sections.txt b/doc/swfdec-sections.txt index 019380c..b6270bd 100644 --- a/doc/swfdec-sections.txt +++ b/doc/swfdec-sections.txt @@ -140,6 +140,7 @@ swfdec_buffer_queue_get_type <FILE>Enumerations</FILE> <TITLE>Enumerations</TITLE> SwfdecAsContextState +SwfdecAsDeleteReturn SwfdecLoaderDataType SwfdecLoaderRequest swfdec_loader_data_type_get_extension @@ -186,6 +187,7 @@ swfdec_gtk_widget_get_renderer swfdec_gtk_widget_uses_renderer swfdec_gtk_widget_set_renderer swfdec_gtk_widget_unset_renderer +swfdec_gtk_keycode_from_hardware_keycode <SUBSECTION Standard&...
2007 Nov 07
0
36 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_buffer.c libswfdec/swfdec_buffer.h
...a #SwfdecAsObject * @variable: the variable to modify diff --git a/libswfdec/swfdec_as_object.h b/libswfdec/swfdec_as_object.h index 8fec190..8952b72 100644 --- a/libswfdec/swfdec_as_object.h +++ b/libswfdec/swfdec_as_object.h @@ -146,6 +146,7 @@ gboolean swfdec_as_object_get_variable_and_flags SwfdecAsDeleteReturn swfdec_as_object_delete_variable(SwfdecAsObject * object, const char * variable); +void swfdec_as_object_clear_variables(SwfdecAsObject * object); void swfdec_as_object_set_variable_flags (SwfdecAsObject * object, const char * variable,
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
...nt->handlers[i]) + vivi_breakpoint_remove (breakpoint, i); + } + } - SWFDEC_AS_OBJECT_CLASS (vivi_breakpoint_parent_class)->set (object, variable, val); ++ SWFDEC_AS_OBJECT_CLASS (vivi_breakpoint_parent_class)->set (object, variable, val, flags); +} + - static gboolean ++static SwfdecAsDeleteReturn +vivi_breakpoint_delete (SwfdecAsObject *object, const char *variable) +{ + ViviBreakpoint *breakpoint = VIVI_BREAKPOINT (object); + guint i; ++ SwfdecAsDeleteReturn ret; + - i = vivi_breakpoint_find_event (variable); - if (i && breakpoint->handlers[i]) - vivi_breakpoint_...