Displaying 20 results from an estimated 27 matches for "swfdec_as_stack".
2007 Apr 04
0
Branch 'as' - 9 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_stack.c libswfdec/swfdec_as_stack.h
libswfdec/swfdec_as_context.c | 5 -
libswfdec/swfdec_as_frame.c | 8 ++
libswfdec/swfdec_as_frame.h | 1
libswfdec/swfdec_as_function.c | 3
libswfdec/swfdec_as_interpret.c | 146 ++++++++++++++++++----------------------
libswfdec/swfdec_as_stack.c | 5 +
libswfdec/swfdec_as_stack.h | 2
libswfdec/swfdec_as_types.h | 20 +++--
libswfdec/swfdec_script.c | 27 -------
libswfdec/swfdec_script.h | 59 +++++++---------
10 files changed, 122 insertions(+), 154 deletions(-)
New commits:
diff-tree d646f6672f12f...
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
...doc/swfdec-sections.txt | 10 +++-
libswfdec/Makefile.am | 2
libswfdec/swfdec_as_context.c | 82 ++++++++++++++++++++++-----------
libswfdec/swfdec_as_context.h | 2
libswfdec/swfdec_as_frame.c | 10 ++++
libswfdec/swfdec_as_frame.h | 3 -
libswfdec/swfdec_as_stack.c | 98 +++++++++++++++++++++++++++++++++++++++
libswfdec/swfdec_as_stack.h | 53 +++++++++++++++++++++
libswfdec/swfdec_as_types.h | 99 ++++++++++++++++++++++++++++++++++++++++
libswfdec/swfdec_buffer.c | 95 ++++++++++++++++++++++++++++++++++----
libswfdec/swfdec_buffer...
2007 Jul 13
0
3 commits - doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_array.c libswfdec/swfdec_as_boolean.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c
...++++++
libswfdec/swfdec_as_function.c | 2
libswfdec/swfdec_as_interpret.c | 2
libswfdec/swfdec_as_native_function.c | 2
libswfdec/swfdec_as_number.c | 2
libswfdec/swfdec_as_object.c | 2
libswfdec/swfdec_as_script_function.c | 2
libswfdec/swfdec_as_stack.c | 2
libswfdec/swfdec_as_string.c | 3 -
libswfdec/swfdec_as_super.c | 2
libswfdec/swfdec_as_with.c | 2
libswfdec/swfdec_debugger.c | 2
libswfdec/swfdec_net_stream_as.c | 3 -
24 files changed, 261 insertions(+), 76 d...
2007 May 18
0
Branch 'as' - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_function.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_native_function.c libswfdec/swfdec_as_native_function.h
...m
+++ b/libswfdec/Makefile.am
@@ -37,9 +37,11 @@ libswfdec_ at SWFDEC_MAJORMINOR@_la_SOURCES
swfdec_as_frame.c \
swfdec_as_function.c \
swfdec_as_interpret.c \
+ swfdec_as_native_function.c \
swfdec_as_number.c \
swfdec_as_object.c \
swfdec_as_scope.c \
+ swfdec_as_script_function.c \
swfdec_as_stack.c \
swfdec_as_strings.c \
swfdec_as_super.c \
@@ -135,9 +137,11 @@ noinst_HEADERS = \
swfdec_as_frame.h \
swfdec_as_function.h \
swfdec_as_interpret.h \
+ swfdec_as_native_function.h \
swfdec_as_number.h \
swfdec_as_object.h \
swfdec_as_scope.h \
+ swfdec_as_script_function.h \
sw...
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
....c | 1
libswfdec/swfdec_as_native_function.c | 2
libswfdec/swfdec_as_number.c | 3
libswfdec/swfdec_as_object.c | 23 --
libswfdec/swfdec_as_object.h | 2
libswfdec/swfdec_as_script_function.c | 3
libswfdec/swfdec_as_stack.c | 2
libswfdec/swfdec_as_stack.h | 2
libswfdec/swfdec_as_string.c | 1
libswfdec/swfdec_as_super.c | 3
libswfdec/swfdec_as_types.c | 1
libswfdec/swfdec_as_types.h | 2
libswfdec/swf...
2007 Apr 05
0
Branch 'as' - 9 commits - configure.ac libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h
...bswfdec/swfdec_as_frame.c | 24 +++
libswfdec/swfdec_as_frame.h | 4
libswfdec/swfdec_as_function.h | 2
libswfdec/swfdec_as_interpret.c | 285 ++++++++++++++++------------------------
libswfdec/swfdec_as_object.c | 23 +++
libswfdec/swfdec_as_object.h | 3
libswfdec/swfdec_as_stack.h | 1
libswfdec/swfdec_as_types.c | 66 +++++++++
libswfdec/swfdec_as_types.h | 114 +++++++++-------
libswfdec/swfdec_flv_decoder.c | 3
libswfdec/swfdec_net_stream.c | 2
13 files changed, 338 insertions(+), 238 deletions(-)
New commits:
diff-tree d56c79c4f98469d9b...
2007 Jul 11
0
Branch 'as' - libswfdec/swfdec_as_object.c
....c b/libswfdec/swfdec_as_object.c
index af2e7e1..a18a4bc 100644
--- a/libswfdec/swfdec_as_object.c
+++ b/libswfdec/swfdec_as_object.c
@@ -27,6 +27,7 @@
#include "swfdec_as_context.h"
#include "swfdec_as_frame.h"
#include "swfdec_as_native_function.h"
+#include "swfdec_as_stack.h"
#include "swfdec_as_strings.h"
#include "swfdec_as_super.h"
#include "swfdec_debug.h"
@@ -557,18 +558,21 @@ swfdec_as_object_add_function (SwfdecAsO
void
swfdec_as_object_run (SwfdecAsObject *object, SwfdecScript *script)
{
+ SwfdecAsContext *context;...
2007 Mar 29
0
Branch 'as' - 9 commits - libswfdec-gtk/swfdec_playback_alsa.c libswfdec/js 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_function.c
...libswfdec/swfdec_as_frame.c | 7 -
libswfdec/swfdec_as_frame.h | 3
libswfdec/swfdec_as_function.c | 146 +++++++++++++++++++++++++++++++++++
libswfdec/swfdec_as_function.h | 73 +++++++++++++++++
libswfdec/swfdec_as_object.c | 24 +++++
libswfdec/swfdec_as_stack.h | 1
libswfdec/swfdec_audio_event.h | 2
libswfdec/swfdec_audio_flv.h | 4
libswfdec/swfdec_audio_stream.h | 4
libswfdec/swfdec_bits.c | 60 +++++++-------
libswfdec/swfdec_bits.h | 28 +++---
libswfdec/swfdec_buffer.c...
2007 Nov 14
0
7 commits - libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_super.c libswfdec/swfdec_as_super.h
...SwfdecAsValue *val;
SwfdecAsObject *obj;
+ SwfdecAsObject *pobj = NULL;
guint n_args;
const char *name;
@@ -892,7 +893,7 @@ swfdec_action_call_method (SwfdecAsContext *cx, guint action, const guint8 *data
name = "";
} else {
SWFDEC_AS_VALUE_SET_OBJECT (swfdec_as_stack_peek (cx, 3), obj);
- swfdec_as_object_get_variable (obj, name, swfdec_as_stack_peek (cx, 2));
+ swfdec_as_object_get_variable_and_flags (obj, name, swfdec_as_stack_peek (cx, 2), NULL, &pobj);
}
} else {
if (SWFDEC_AS_VALUE_IS_STRING (val))
@@ -908,8 +909,10 @@ swfdec_act...
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
...2007 +0200
add functions to the docs
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 1a3e287..03bc0da 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -61,6 +61,7 @@ IGNORE_HFILES= \
swfdec_as_math.h \
swfdec_as_number.h \
swfdec_as_scope.h \
+ swfdec_as_script_function.h \
swfdec_as_stack.h \
swfdec_as_string.h \
swfdec_as_strings.h \
diff --git a/doc/swfdec-docs.sgml b/doc/swfdec-docs.sgml
index 2c7787f..553dfb1 100644
--- a/doc/swfdec-docs.sgml
+++ b/doc/swfdec-docs.sgml
@@ -27,5 +27,6 @@
<xi:include href="xml/SwfdecAsContext.xml"/>
<xi:include hre...
2007 Jul 12
0
15 commits - doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt INSTALL libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_interpret.h libswfdec/swfdec_as_object.h
...:24:23 2007 +0200
exclude swfdec_as_scope.h
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 0b9b85d..540729e 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -59,6 +59,7 @@ IGNORE_HFILES= \
swfdec_as_interpret.h \
swfdec_as_math.h \
swfdec_as_number.h \
+ swfdec_as_scope.h \
swfdec_as_stack.h \
swfdec_as_string.h \
swfdec_as_strings.h \
diff-tree 5cc02fe654a0fbaab833d064437888313c8a6704 (from 9cb965f4bf684ba88de23914dab745bf135f30f5)
Author: Benjamin Otte <otte at gnome.org>
Date: Thu Jul 12 23:23:58 2007 +0200
add docs
diff --git a/libswfdec/swfdec_as_context.c b/li...
2007 Aug 15
0
4 commits - libswfdec/swfdec_as_object.c libswfdec/swfdec_movie.c test/trace
...te at gnome.org>
Date: Wed Aug 15 16:02:30 2007 +0200
movies cannot be prototypes
diff --git a/libswfdec/swfdec_as_object.c b/libswfdec/swfdec_as_object.c
index f7b0e98..64b8ff0 100644
--- a/libswfdec/swfdec_as_object.c
+++ b/libswfdec/swfdec_as_object.c
@@ -31,6 +31,7 @@
#include "swfdec_as_stack.h"
#include "swfdec_as_strings.h"
#include "swfdec_debug.h"
+#include "swfdec_movie.h"
/**
* SECTION:SwfdecAsObject
@@ -205,7 +206,8 @@ swfdec_as_object_do_set (SwfdecAsObject
return;
if (variable == SWFDEC_AS_STR___proto__) {
- if (SWFDEC_AS_...
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
...* frame,
const char * variable);
diff --git a/libswfdec/swfdec_as_interpret.c b/libswfdec/swfdec_as_interpret.c
index 70f3c09..b9204a6 100644
--- a/libswfdec/swfdec_as_interpret.c
+++ b/libswfdec/swfdec_as_interpret.c
@@ -578,16 +578,14 @@ swfdec_action_get_variable (SwfdecAsCont
val = swfdec_as_stack_peek (cx, 1);
s = swfdec_as_value_to_string (cx, val);
if (swfdec_action_get_movie_by_path (cx, s, &object, &s)) {
- if (object == NULL)
- object = swfdec_as_frame_find_variable (cx->frame, s);
- } else {
- object = NULL;
- }
- if (object != NULL) {
- if (s) {
-...
2007 Aug 17
0
Branch 'vivi' - 9 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_function.h libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_native_function.c
...libswfdec/swfdec_as_native_function.c
+++ b/libswfdec/swfdec_as_native_function.c
@@ -24,6 +24,7 @@
#include "swfdec_as_native_function.h"
#include "swfdec_as_context.h"
#include "swfdec_as_frame_internal.h"
+#include "swfdec_as_internal.h"
#include "swfdec_as_stack.h"
#include "swfdec_debug.h"
@@ -122,22 +123,23 @@ SwfdecAsFunction *
swfdec_as_native_function_new (SwfdecAsContext *context, const char *name,
SwfdecAsNative native, guint min_args)
{
- SwfdecAsNativeFunction *nfun;
- SwfdecAsFunction *fun;
+ SwfdecAsNativeFunction *fu...
2007 Aug 24
0
7 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_string.c test/trace
.../libswfdec/swfdec_as_interpret.c b/libswfdec/swfdec_as_interpret.c
index d08b00a..44e7c5a 100644
--- a/libswfdec/swfdec_as_interpret.c
+++ b/libswfdec/swfdec_as_interpret.c
@@ -27,6 +27,7 @@
#include "swfdec_as_function.h"
#include "swfdec_as_script_function.h"
#include "swfdec_as_stack.h"
+#include "swfdec_as_string.h"
#include "swfdec_as_strings.h"
#include "swfdec_as_super.h"
#include "swfdec_as_with.h"
@@ -552,10 +553,14 @@ swfdec_action_trace (SwfdecAsContext *cx
const char *s;
val = swfdec_as_stack_peek (cx, 1);
- if (...
2007 Jun 12
0
Branch 'as' - 3 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_math.c libswfdec/swfdec_as_native_function.c libswfdec/swfdec_as_number.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_string.c
...ne some math constants if glib doesn't have them */
diff --git a/libswfdec/swfdec_as_native_function.c b/libswfdec/swfdec_as_native_function.c
index 2960b0e..5d68ba4 100644
--- a/libswfdec/swfdec_as_native_function.c
+++ b/libswfdec/swfdec_as_native_function.c
@@ -27,6 +27,10 @@
#include "swfdec_as_stack.h"
#include "swfdec_debug.h"
+/*** GTK-DOC ***/
+
+/*** IMPLEMENTATION ***/
+
G_DEFINE_TYPE (SwfdecAsNativeFunction, swfdec_as_native_function, SWFDEC_TYPE_AS_FUNCTION)
static SwfdecAsFrame *
diff --git a/libswfdec/swfdec_as_number.c b/libswfdec/swfdec_as_number.c
index edeb3c...
2007 Jun 05
0
Branch 'as' - 8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_number.c libswfdec/swfdec_as_scope.h
.../libswfdec/swfdec_as_interpret.c b/libswfdec/swfdec_as_interpret.c
index 8cf7966..f1898a1 100644
--- a/libswfdec/swfdec_as_interpret.c
+++ b/libswfdec/swfdec_as_interpret.c
@@ -27,6 +27,7 @@
#include "swfdec_as_function.h"
#include "swfdec_as_script_function.h"
#include "swfdec_as_stack.h"
+#include "swfdec_as_with.h"
#include "swfdec_debug.h"
#include <errno.h>
@@ -55,8 +56,7 @@ swfdec_action_get_target (SwfdecAsContex
SwfdecAsObject *target = context->frame->target;
if (target == NULL) {
- SwfdecAsScope *scope = context->fra...
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
...YPE_NULL);
+ } else if (rtype == SWFDEC_AS_TYPE_UNDEFINED || rtype == SWFDEC_AS_TYPE_NULL) {
cond = FALSE;
} else {
SWFDEC_WARNING ("FIXME: test equality operations between non-equal types");
@@ -1719,22 +1719,22 @@ swfdec_action_type_of (SwfdecAsContext *
val = swfdec_as_stack_peek (cx->frame->stack, 1);
switch (val->type) {
- case SWFDEC_TYPE_AS_NUMBER:
+ case SWFDEC_AS_TYPE_NUMBER:
type = SWFDEC_AS_STR_NUMBER;
break;
- case SWFDEC_TYPE_AS_BOOLEAN:
+ case SWFDEC_AS_TYPE_BOOLEAN:
type = SWFDEC_AS_STR_BOOLEAN;
break;
-...
2007 Apr 04
0
Branch 'as' - 4 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_types.c libswfdec/swfdec_as_types.h
...efile.am b/libswfdec/Makefile.am
index b46bcc0..51ebd32 100644
--- a/libswfdec/Makefile.am
+++ b/libswfdec/Makefile.am
@@ -28,6 +28,7 @@ libswfdec_@SWFDEC_MAJORMINOR@_la_SOURCES
swfdec_as_context.c \
swfdec_as_frame.c \
swfdec_as_function.c \
+ swfdec_as_interpret.c \
swfdec_as_object.c \
swfdec_as_stack.c \
swfdec_as_types.c \
@@ -114,6 +115,7 @@ noinst_HEADERS = \
swfdec_as_context.h \
swfdec_as_frame.h \
swfdec_as_function.h \
+ swfdec_as_interpret.h \
swfdec_as_object.h \
swfdec_as_stack.h \
swfdec_as_types.h \
diff --git a/libswfdec/swfdec_as_context.c b/libswfdec/swfdec_as_conte...
2007 Jul 18
0
12 commits - configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_playback_alsa.c libswfdec/jpeg libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_array.c libswfdec/swfdec_as_boolean.h libswfdec/swfdec_as_context.c
...char *slash_str)
{
const char *cur = slash_str;
diff --git a/libswfdec/swfdec_as_frame.h b/libswfdec/swfdec_as_frame.h
index 44caf87..17fdccf 100644
--- a/libswfdec/swfdec_as_frame.h
+++ b/libswfdec/swfdec_as_frame.h
@@ -50,6 +50,9 @@ SwfdecAsFrame * swfdec_as_frame_get_next
SwfdecAsValue * swfdec_as_stack_iterator_init (SwfdecAsStackIterator * iter,
SwfdecAsFrame * frame);
+SwfdecAsValue * swfdec_as_stack_iterator_init_arguments
+ (SwfdecAsStackIterator * iter,
+ SwfdecAsFrame * frame);
SwfdecAsValue * swfdec_as_stack_iterator_next (SwfdecAsStackIterator * iter);
diff --gi...