search for: swfdec_xml_set_status

Displaying 4 results from an estimated 4 matches for "swfdec_xml_set_status".

2007 Oct 11
0
2 commits - libswfdec/swfdec_text_format.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml.h
...xml.c b/libswfdec/swfdec_xml.c index 06a4101..253d07f 100644 --- a/libswfdec/swfdec_xml.c +++ b/libswfdec/swfdec_xml.c @@ -21,6 +21,7 @@ #include "config.h" #endif +#include <math.h> #include <string.h> #include "swfdec_xml.h" @@ -320,6 +321,8 @@ static void swfdec_xml_set_status (SwfdecAsContext *cx, SwfdecAsObject *object, guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret) { + double d; + if (!SWFDEC_IS_XML (object)) return; @@ -334,7 +337,11 @@ swfdec_xml_set_status (SwfdecAsContext * if (SWFDEC_AS_VALUE_IS_OBJECT (&argv[0])) swfdec_as_valu...
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
...return; + proto = SWFDEC_AS_VALUE_GET_OBJECT (&val); + + swfdec_as_object_add_native_variable (proto, SWFDEC_AS_STR_ignoreWhite, + swfdec_xml_get_ignoreWhite, swfdec_xml_set_ignoreWhite); + swfdec_as_object_add_native_variable (proto, SWFDEC_AS_STR_status, + swfdec_xml_get_status, swfdec_xml_set_status); + swfdec_as_object_add_native_variable (proto, SWFDEC_AS_STR_xmlDecl, + swfdec_xml_get_xmlDecl, swfdec_xml_set_xmlDecl); + swfdec_as_object_add_native_variable (proto, SWFDEC_AS_STR_docTypeDecl, + swfdec_xml_get_docTypeDecl, swfdec_xml_set_docTypeDecl); + + swfdec_as_object_add_nativ...
2007 Dec 20
0
13 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml_node.c test/trace
...hor: Pekka Lampila <pekka.lampila at iki.fi> Date: Thu Dec 20 16:49:08 2007 +0200 Fix XML.status' set function diff --git a/libswfdec/swfdec_xml.c b/libswfdec/swfdec_xml.c index 3acf0f3..cbecf86 100644 --- a/libswfdec/swfdec_xml.c +++ b/libswfdec/swfdec_xml.c @@ -348,19 +348,12 @@ swfdec_xml_set_status (SwfdecAsContext *cx, SwfdecAsObject *object, if (argc < 1) return; - // special case - if (SWFDEC_AS_VALUE_IS_UNDEFINED (&argv[0])) - return; - - // special case, call toString of objects - if (SWFDEC_AS_VALUE_IS_OBJECT (&argv[0])) - swfdec_as_value_to_string (cx, &a...
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
...eWhite, + swfdec_as_object_add_native_variable (proto, SWFDEC_AS_STR_ignoreWhite, swfdec_xml_get_ignoreWhite, swfdec_xml_set_ignoreWhite); - swfdec_xml_add_variable (proto, SWFDEC_AS_STR_status, + swfdec_as_object_add_native_variable (proto, SWFDEC_AS_STR_status, swfdec_xml_get_status, swfdec_xml_set_status); - swfdec_xml_add_variable (proto, SWFDEC_AS_STR_xmlDecl, + swfdec_as_object_add_native_variable (proto, SWFDEC_AS_STR_xmlDecl, swfdec_xml_get_xmlDecl, swfdec_xml_set_xmlDecl); - swfdec_xml_add_variable (proto, SWFDEC_AS_STR_docTypeDecl, + swfdec_as_object_add_native_variable (proto,...