Displaying 12 results from an estimated 12 matches for "swfdec_as_constructor".
2007 Dec 03
0
libswfdec/Makefile.am
...clude \"swfdec_as_types.h\"" \
&& echo "#define SWFDEC_AS_NATIVE(x,y,func) void func (SwfdecAsContext *cx, \\" \
&& echo " SwfdecAsObject *object, guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret);" \
&& echo "#define SWFDEC_AS_CONSTRUCTOR(x,y,func,type) SWFDEC_AS_NATIVE(x,y,func) GType type (void);" \
- && grep -he "^SWFDEC_AS_CONSTRUCTOR" $(libswfdec_ at SWFDEC_MAJORMINOR@_la_SOURCES) \
- && grep -he "^SWFDEC_AS_NATIVE" $(libswfdec_ at SWFDEC_MAJORMINOR@_la_SOURCES) \
+ && grep...
2007 Sep 04
0
5 commits - doc/Makefile.am doc/swfdec-sections.txt libswfdec/swfdec_as_array.c libswfdec/swfdec_as_boolean.c libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_native_function.c libswfdec/swfdec_as_native_function.h
...wfdec_as_internal.h
index e64bc44..558696c 100644
--- a/libswfdec/swfdec_as_internal.h
+++ b/libswfdec/swfdec_as_internal.h
@@ -28,6 +28,10 @@ G_BEGIN_DECLS
/* This header contains all the non-exported symbols that can't go into
* exported headers
*/
+#define SWFDEC_AS_NATIVE(x, y, func) SWFDEC_AS_CONSTRUCTOR (x, y, func, NULL)
+#define SWFDEC_AS_CONSTRUCTOR(x, y, func, type) void func (SwfdecAsContext *cx, \
+ SwfdecAsObject *object, guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret);
+
/* swfdec_as_array.c */
void swfdec_as_array_init_context (SwfdecAsContext * context,
diff --git a/li...
2007 Oct 14
0
10 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c
...d_movie_add_variable (proto, SWFDEC_AS_STR_wordWrap,
swfdec_text_field_movie_get_wordWrap,
swfdec_text_field_movie_set_wordWrap);
+ swfdec_text_field_movie_add_variable (proto, SWFDEC_AS_STR_border,
+ swfdec_text_field_movie_get_border, swfdec_text_field_movie_set_border);
}
SWFDEC_AS_CONSTRUCTOR (104, 0, swfdec_text_field_movie_construct, swfdec_text_field_movie_get_type)
commit 7be9e44642a66fe9b4c6f14c4e96d61386c14ad4
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Sat Oct 13 19:27:43 2007 +0300
Fix setNewTextFormat to add the defined values to the existing style...
2008 Jun 15
1
14 commits - configure.ac swfdec/.gitignore swfdec-gtk/swfdec_gtk_loader.c swfdec-gtk/swfdec_playback_alsa.c swfdec/Makefile.am swfdec/swfdec_asnative.h swfdec/swfdec_as_string.c swfdec/swfdec_audio.c swfdec/swfdec_audio_load.c swfdec/swfdec_audio_load.h
...ot;" \
&& echo "#define SWFDEC_AS_NATIVE(x,y,func) void func (SwfdecAsContext *cx, \\" \
@@ -343,7 +344,7 @@ swfdec_asnative.h: $(libswfdec_source_files)
&& echo "#undef SWFDEC_AS_NATIVE" \
&& echo "#define SWFDEC_AS_NATIVE(x,y,func) SWFDEC_AS_CONSTRUCTOR(x,y,func,NULL)" \
&& echo "#define SWFDEC_AS_CONSTRUCTOR(x,y,func,type) { x, y, func, G_STRINGIFY (func), type }," \
- && echo "static const struct { guint x, y; SwfdecAsNative func; const char *name; GType (* get_type) (void); } native_funcs[] = {" \...
2007 Oct 14
0
3 commits - doc/Makefile.am libswfdec/swfdec_text_field_movie_as.c
...field_movie_get_styleSheet,
+ swfdec_text_field_movie_set_styleSheet);*/
+ swfdec_text_field_movie_add_variable (proto, SWFDEC_AS_STR_textColor,
+ swfdec_text_field_movie_get_textColor,
+ swfdec_text_field_movie_set_textColor);
+
+ // TODO: filters, menu, tabEnabled, tabIndex
}
SWFDEC_AS_CONSTRUCTOR (104, 0, swfdec_text_field_movie_construct, swfdec_text_field_movie_get_type)
2007 Sep 03
0
4 commits - libswfdec/swfdec_as_boolean.c libswfdec/swfdec_as_boolean.h libswfdec/swfdec_as_context.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_interpret.c test/trace
...#include "swfdec_as_strings.h"
#include "swfdec_debug.h"
+#include "swfdec_player_internal.h"
G_DEFINE_TYPE (SwfdecAsBoolean, swfdec_as_boolean, SWFDEC_TYPE_AS_OBJECT)
@@ -43,7 +44,8 @@ swfdec_as_boolean_init (SwfdecAsBoolean
/*** AS CODE ***/
-static void
+SWFDEC_AS_CONSTRUCTOR (107, 2, swfdec_as_boolean_construct, swfdec_as_boolean_get_type)
+void
swfdec_as_boolean_construct (SwfdecAsContext *cx, SwfdecAsObject *object,
guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
{
@@ -63,48 +65,31 @@ swfdec_as_boolean_construct (SwfdecAsCon
}
}
-static void
+SWFDEC...
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
...ate: Wed Nov 14 16:43:24 2007 +0100
export RECURSION_LIMIT definition
diff --git a/libswfdec/swfdec_as_internal.h b/libswfdec/swfdec_as_internal.h
index 68ff91b..13624c0 100644
--- a/libswfdec/swfdec_as_internal.h
+++ b/libswfdec/swfdec_as_internal.h
@@ -33,6 +33,7 @@ G_BEGIN_DECLS
#define SWFDEC_AS_CONSTRUCTOR(x, y, func, type) void func (SwfdecAsContext *cx, \
SwfdecAsObject *object, guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret);
+#define SWFDEC_AS_OBJECT_PROTOTYPE_RECURSION_LIMIT 256
void swfdec_as_function_set_constructor (SwfdecAsFunction * fun);
void swfdec_as_function_set_securi...
2007 Oct 25
0
18 commits - libswfdec/swfdec_player_internal.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_format.c libswfdec/swfdec_text_format.h libswfdec/swfdec_xml.c libswfdec/swfdec_xml_node.c libswfdec/swfdec_xml_node.h test/trace
...decXmlNode *
+swfdec_xml_node_new (SwfdecAsContext *context, SwfdecXmlNodeType type,
+ const char* value)
+{
+ g_return_val_if_fail (SWFDEC_IS_AS_CONTEXT (context), NULL);
+
+ swfdec_xml_node_init_properties (context);
+
+ return swfdec_xml_node_new_no_properties (context, type, value);
+}
+
SWFDEC_AS_CONSTRUCTOR (253, 0, swfdec_xml_node_construct, swfdec_xml_node_get_type)
void
swfdec_xml_node_construct (SwfdecAsContext *cx, SwfdecAsObject *object,
diff --git a/libswfdec/swfdec_xml_node.h b/libswfdec/swfdec_xml_node.h
index e40b7cd..07c721c 100644
--- a/libswfdec/swfdec_xml_node.h
+++ b/libswfdec/swfdec_...
2007 Oct 12
0
Changes to 'refs/tags/0.5.3'
...nd put them in a proper variable
handle blend modes when drawing
use the right operator for erase
alpha blend mode is supported by cairo, too
no need to throw errors for blend modes anymore
create a SwfdecFilter class
create a global window object
implement SWFDEC_AS_CONSTRUCTOR
actually return the new function
add startup script for AS code
Fix SEGV in GC when a NetStream object was constructed without connection
add test for just committed fix
replace recusrion limit by a macro
set recursion limit to correct value
getting seems t...
2007 Oct 23
0
11 commits - libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_object.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_style_sheet.c libswfdec/swfdec_style_sheet.h
...get, 0, NULL);
- if (get_func == NULL)
- return;
-
- if (set != NULL) {
- set_func =
- swfdec_as_native_function_new (object->context, variable, set, 0, NULL);
- } else {
- set_func = NULL;
- }
-
- swfdec_as_object_add_variable (object, variable, get_func, set_func, 0);
-}
-
SWFDEC_AS_CONSTRUCTOR (253, 9, swfdec_xml_construct, swfdec_xml_get_type)
void
swfdec_xml_construct (SwfdecAsContext *cx, SwfdecAsObject *object,
@@ -799,18 +774,18 @@ swfdec_xml_construct (SwfdecAsContext *cx, SwfdecAsObject *object,
g_return_if_fail (SWFDEC_AS_VALUE_IS_OBJECT (&val));
proto = SWFDEC_AS...
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
...esource.h"
+
+
+G_DEFINE_TYPE (SwfdecMovieClipLoader, swfdec_movie_clip_loader, SWFDEC_TYPE_AS_OBJECT)
+
+static void
+swfdec_movie_clip_loader_class_init (SwfdecMovieClipLoaderClass *klass)
+{
+}
+
+static void
+swfdec_movie_clip_loader_init (SwfdecMovieClipLoader *movie_clip_loader)
+{
+}
+
+SWFDEC_AS_CONSTRUCTOR (112, 0, swfdec_movie_clip_loader_construct, swfdec_movie_clip_loader_get_type)
+void
+swfdec_movie_clip_loader_construct (SwfdecAsContext *cx, SwfdecAsObject *object,
+ guint argc, SwfdecAsValue *argv, SwfdecAsValue *rval)
+{
+}
+
+SWFDEC_AS_NATIVE (112, 100, swfdec_movie_clip_loader_loadClip)...
2007 Oct 17
0
6 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h test/trace
...wfdec_as_object.h"
#include "swfdec_as_frame_internal.h"
#include "swfdec_internal.h"
#include "swfdec_player_internal.h"
@@ -1005,17 +1006,17 @@ swfdec_text_field_movie_init_properties (SwfdecAsContext *cx)
// TODO: filters, menu, tabEnabled, tabIndex
}
-SWFDEC_AS_CONSTRUCTOR (104, 0, swfdec_text_field_movie_construct, swfdec_text_field_movie_get_type)
+SWFDEC_AS_NATIVE (104, 0, swfdec_text_field_movie_construct)
void
swfdec_text_field_movie_construct (SwfdecAsContext *cx, SwfdecAsObject *object,
guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
{
if (!cx-...