Displaying 6 results from an estimated 6 matches for "swfdec_as_frame_get_thi".
Did you mean:
swfdec_as_frame_get_this
2007 Aug 21
0
Branch 'vivi' - 4 commits - doc/swfdec-sections.txt libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_string.c vivified/core
...t *cx, SwfdecAsObject *this,
+ guint argc, SwfdecAsValue *argv, SwfdecAsValue *retval)
+{
+ ViviWrap *wrap;
+ SwfdecAsObject *obj;
+
+ if (!VIVI_IS_WRAP (this))
+ return;
+
+ wrap = VIVI_WRAP (this);
+ if (!SWFDEC_IS_AS_FRAME (wrap->wrap))
+ return;
+
+ obj = SWFDEC_AS_OBJECT (swfdec_as_frame_get_this (SWFDEC_AS_FRAME (wrap->wrap)));
+ if (obj)
+ SWFDEC_AS_VALUE_SET_OBJECT (retval, vivi_wrap_object (VIVI_APPLICATION (cx), obj));
+}
+
diff-tree ef85440d2e8a21ddaa688035b6071ce5eef6cc3b (from 7f9eebf1183d28ceaaaf06d5910c9144eb5cc435)
Author: Benjamin Otte <otte at gnome.org>
Date:...
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
...+0200
remove the concept of "merging" securities. It didn't make a lot of sense anyway.
diff --git a/libswfdec/swfdec_as_frame.c b/libswfdec/swfdec_as_frame.c
index 5582f2b..841f438 100644
--- a/libswfdec/swfdec_as_frame.c
+++ b/libswfdec/swfdec_as_frame.c
@@ -860,26 +860,19 @@ swfdec_as_frame_get_this (SwfdecAsFrame *frame)
/**
* swfdec_as_frame_set_security:
* @frame: the frame to be executed
- * @guard: the security guarding this frame
+ * @guard: the security to be used in this frame
*
- * Checks that @guard allows executing the frame. The frame's security will
- * be set to what...
2007 Aug 26
0
Changes to 'refs/tags/0.5.2'
...kBuilder for its docklets
use the application as default data when connecting signals
add find_widget function to ViviViviDocklet
xml-ify the command line widget
missed the title
consistent naming please
implement debug-printing for SwfdecAsString
implement swfdec_as_frame_get_this ()
implement Frame.this
add a Wrap.get() function to get variables
make adding a third item work
various bug fixes
more fixes for disposing
print log message before executing action
mark the original name, too
improve the assertion message
save...
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
...t *cx, SwfdecAsObject *this,
+ guint argc, SwfdecAsValue *argv, SwfdecAsValue *retval)
+{
+ ViviWrap *wrap;
+ SwfdecAsObject *obj;
+
+ if (!VIVI_IS_WRAP (this))
+ return;
+
+ wrap = VIVI_WRAP (this);
+ if (!SWFDEC_IS_AS_FRAME (wrap->wrap))
+ return;
+
+ obj = SWFDEC_AS_OBJECT (swfdec_as_frame_get_this (SWFDEC_AS_FRAME (wrap->wrap)));
+ if (obj)
+ SWFDEC_AS_VALUE_SET_OBJECT (retval, vivi_wrap_object (VIVI_APPLICATION (cx), obj));
+}
+
diff-tree ef85440d2e8a21ddaa688035b6071ce5eef6cc3b (from 7f9eebf1183d28ceaaaf06d5910c9144eb5cc435)
Author: Benjamin Otte <otte at gnome.org>
Date:...
2007 Oct 17
0
28 commits - configure.ac debian/changelog debian/control debian/copyright debian/.gitignore debian/libswfdec0.dirs debian/libswfdec0.files debian/libswfdec0.shlibs debian/libswfdec-dev.dirs debian/libswfdec-dev.files debian/rules debian/swf-player.dirs
...>
Date: Wed Oct 17 19:21:10 2007 +0200
make functions have a security context associated with them
diff --git a/libswfdec/swfdec_as_frame.c b/libswfdec/swfdec_as_frame.c
index 1596041..5582f2b 100644
--- a/libswfdec/swfdec_as_frame.c
+++ b/libswfdec/swfdec_as_frame.c
@@ -856,3 +856,30 @@ swfdec_as_frame_get_this (SwfdecAsFrame *frame)
return frame->thisp;
}
+
+/**
+ * swfdec_as_frame_set_security:
+ * @frame: the frame to be executed
+ * @guard: the security guarding this frame
+ *
+ * Checks that @guard allows executing the frame. The frame's security will
+ * be set to what @guard returns....
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
...e) {
- frame->security = g_object_ref (context->frame->security);
- } else {
- frame->security = swfdec_security_allow_new ();
- }
frame->stack_begin = context->cur;
context->base = frame->stack_begin;
frame->next = context->frame;
@@ -903,22 +893,3 @@ swfdec_as_frame_get_this (SwfdecAsFrame *frame)
return frame->thisp;
}
-/**
- * swfdec_as_frame_set_security:
- * @frame: the frame to be executed
- * @guard: the security to be used in this frame
- *
- * Sets the security to be used in this frame to @guard.
- **/
-void
-swfdec_as_frame_set_security (SwfdecAsFram...