Displaying 20 results from an estimated 47 matches for "_global".
Did you mean:
global
2007 Nov 27
0
12 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h
...ndex 40a73f5..69bacd5 100644
--- a/test/trace/bevel-filter-properties.as
+++ b/test/trace/bevel-filter-properties.as
@@ -1,10 +1,10 @@
// makeswf -v 7 -r 1 -o bevel-filter-properties-7.swf bevel-filter-properties.as
-// enable flash structure for version < 8 too for this test
-ASSetPropFlags (_global, "flash", 0, 4096);
-
#include "trace_properties.as"
+// enable flash structure for version < 8 too for this test
+ASSetPropFlags (_global, "flash", 0, 5248);
+
var a = new flash.filters.BevelFilter ();
trace_properties (_global.flash.filters.BevelFilter, &qu...
2007 Aug 23
0
10 commits - libswfdec/swfdec_as_function.c libswfdec/swfdec_as_object.c test/trace
...000..7e8a69f
Binary files /dev/null and b/test/trace/video-properties-6.swf differ
diff --git a/test/trace/video-properties-6.swf.trace b/test/trace/video-properties-6.swf.trace
new file mode 100644
index 0000000..97a273a
--- /dev/null
+++ b/test/trace/video-properties-6.swf.trace
@@ -0,0 +1,16 @@
+_global.Video = function
+ __proto__ (hp) = _global.Object.__proto__
+ constructor (hp) = _global.Object.constructor
+ prototype (hp) = object
+ __proto__ (hp) = _global.Object.prototype
+ attachVideo (hp) = function
+ __proto__ (hp) = _global.Object.__proto__
+ constructor (hp) = _globa...
2007 Aug 31
0
4 commits - libswfdec/swfdec_as_number.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_player_as.c test/trace
...ting for these in asfunction-properties
diff --git a/libswfdec/swfdec_player_as.c b/libswfdec/swfdec_player_as.c
index d9c49bf..ee21aa0 100644
--- a/libswfdec/swfdec_player_as.c
+++ b/libswfdec/swfdec_player_as.c
@@ -260,6 +260,8 @@ swfdec_player_object_registerClass (Swfd
void
swfdec_player_init_global (SwfdecPlayer *player, guint version)
{
+ SwfdecAsValue val;
+ SwfdecAsObject *object;
SwfdecAsContext *context = SWFDEC_AS_CONTEXT (player);
swfdec_as_object_add_function (context->Object, SWFDEC_AS_STR_registerClass,
@@ -272,5 +274,28 @@ swfdec_player_init_global (SwfdecPlayer...
2007 Aug 22
0
3 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_function.c test/trace
...xt->Function_prototype);
diff-tree 91ff6faecc598f3122830193a476bf866b917a42 (from c5efffeed0afc0e64f4d01a4323c9137189bf41f)
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Wed Aug 22 14:05:39 2007 +0300
Flash 5 fixes and output cleanup to trace_properties.as
Construct _global variable by hand when in flash 5, base it on values from
flash 6. Make the script output less useless information.
diff --git a/test/trace/trace_properties.as b/test/trace/trace_properties.as
index e547478..bfa256c 100644
--- a/test/trace/trace_properties.as
+++ b/test/trace/trace_properties.a...
2007 Sep 04
0
4 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_video_movie_as.c test/trace
...000..21161e4
Binary files /dev/null and b/test/trace/array-properties-5.swf differ
diff --git a/test/trace/array-properties-5.swf.trace b/test/trace/array-properties-5.swf.trace
new file mode 100644
index 0000000..40928f9
--- /dev/null
+++ b/test/trace/array-properties-5.swf.trace
@@ -0,0 +1,42 @@
+_global.Array = function
+ CASEINSENSITIVE = number : 1
+ DESCENDING = number : 2
+ NUMERIC = number : 16
+ RETURNINDEXEDARRAY = number : 8
+ UNIQUESORT = number : 4
+ constructor (hp) = _global.Object.constructor
+ prototype (hp) = object
+ __proto__ (hp) = _global.Object.prototype
+ concat (...
2007 Sep 11
0
8 commits - libswfdec/swfdec_as_function.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_strings.c test/trace
...f and b/test/trace/function-properties-6.swf differ
diff --git a/test/trace/function-properties-6.swf.trace b/test/trace/function-properties-6.swf.trace
index 9a8937f..c68f0ca 100644
--- a/test/trace/function-properties-6.swf.trace
+++ b/test/trace/function-properties-6.swf.trace
@@ -1,11 +1,19 @@
-_global.Function = _global.Object.constructor
- __proto__ (hp) = _global.Object.__proto__
- constructor (hp) = _global.Object.constructor
- prototype (hp) = _global.Object.__proto__
+_global.Function = function
+ __proto__ (hp) = _global.Function.prototype
+ constructor (hp) = _global.Function
+ prot...
2007 Sep 12
0
9 commits - libswfdec/swfdec_as_function.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_player_as.c test/trace
...d b/test/trace/assetnative-5.swf differ
diff --git a/test/trace/assetnative-5.swf.trace b/test/trace/assetnative-5.swf.trace
new file mode 100644
index 0000000..1a6fe5e
--- /dev/null
+++ b/test/trace/assetnative-5.swf.trace
@@ -0,0 +1,28 @@
+local.o = object
+ 0a = function
+ constructor (hp) = _global.Object.constructor
+ 10k = function
+ constructor (hp) = _global.Object.constructor
+ 11l = function
+ constructor (hp) = _global.Object.constructor
+ 1b = function
+ constructor (hp) = _global.Object.constructor
+ 2c = function
+ constructor (hp) = _global.Object.constructor
+ 3d...
2008 Jan 19
0
11 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_sprite_movie_as.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml.h libswfdec/swfdec_xml_node.c libswfdec/swfdec_xml_node.h test/image test/swfdec_test.c test/swfdec_test_image.c test/trace
...y1 = 0x7FFFFFF;
} else {
SwfdecRect rect = movie->extents;
+ SwfdecMovie *other;
+
if (argc > 0) {
- SwfdecMovie *other = swfdec_player_get_movie_from_value (
- SWFDEC_PLAYER (cx), &argv[0]);
- if (other) {
- if (movie->parent)
- swfdec_movie_rect_local_to_global (movie->parent, &rect);
- swfdec_movie_rect_global_to_local (other, &rect);
- } else {
- SWFDEC_FIXME ("what's getBounds relative to invalid?");
- }
+ other =
+ swfdec_player_get_movie_from_value (SWFDEC_PLAYER (cx), &argv[0]);
+ if (!other)
+ return...
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
...b/test/trace/moviecliploader-properties-5.swf differ
diff --git a/test/trace/moviecliploader-properties-5.swf.trace b/test/trace/moviecliploader-properties-5.swf.trace
new file mode 100644
index 0000000..fb21320
--- /dev/null
+++ b/test/trace/moviecliploader-properties-5.swf.trace
@@ -0,0 +1,33 @@
+_global.MovieClipLoader = function
+ __proto__ (hpn) = _global.Object.__proto__
+ constructor (hp) = _global.Object.constructor
+ prototype (hp) = object
+ __proto__ (hpn) = _global.Object.prototype
+ _listeners (hpn) = object
+ __proto__ (hp) = _global.Array.prototype
+ constructor (hp)...
2007 Sep 03
0
20 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_number.c
....5248908
Binary files /dev/null and b/test/trace/number-properties-6.swf differ
diff --git a/test/trace/number-properties-6.swf.trace b/test/trace/number-properties-6.swf.trace
new file mode 100644
index 0000000..3688d93
--- /dev/null
+++ b/test/trace/number-properties-6.swf.trace
@@ -0,0 +1,22 @@
+_global.Number = function
+ MAX_VALUE (hpc) = number : 1.79769313486231e+308
+ MIN_VALUE (hpc) = number : 0
+ NEGATIVE_INFINITY (hpc) = number : -Infinity
+ NaN (hpc) = number : NaN
+ POSITIVE_INFINITY (hpc) = number : Infinity
+ __proto__ (hpc) = _global.Object.__proto__
+ constructor (hpc) = _glob...
2007 Aug 22
0
5 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_boolean.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_math.c libswfdec/swfdec_as_number.c libswfdec/swfdec_as_script_function.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h
...swf differ
diff --git a/test/trace/function-properties-6.swf.trace b/test/trace/function-properties-6.swf.trace
new file mode 100644
index 0000000..e5e0e67
--- /dev/null
+++ b/test/trace/function-properties-6.swf.trace
@@ -0,0 +1,7 @@
+local.o = object
+ myFunction = function
+ __proto__ (hp) = _global.Object.__proto__
+ constructor (hp) = _global.Object.constructor
+ prototype (hp) = object
+ __proto__ (hp) = _global.Object.prototype
+ constructor (hp) = local.o.myFunction
diff --git a/test/trace/function-properties-7.swf b/test/trace/function-properties-7.swf
new file mode 10064...
2007 Nov 30
0
36 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_date.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_flash_security.c
...files /dev/null and b/test/trace/stylesheet-properties-5.swf differ
diff --git a/test/trace/stylesheet-properties-5.swf.trace b/test/trace/stylesheet-properties-5.swf.trace
new file mode 100644
index 0000000..15ed8b2
--- /dev/null
+++ b/test/trace/stylesheet-properties-5.swf.trace
@@ -0,0 +1,2 @@
+_global.TextField.StyleSheet = undefined
+local.a = undefined
diff --git a/test/trace/stylesheet-properties-6.swf b/test/trace/stylesheet-properties-6.swf
new file mode 100644
index 0000000..b8c50ab
Binary files /dev/null and b/test/trace/stylesheet-properties-6.swf differ
diff --git a/test/trace/styleshee...
2007 Aug 15
3
2 commits - libswfdec/swfdec_as_object.c test/trace
libswfdec/swfdec_as_object.c | 62 +++++++++++++++-------
test/trace/Makefile.am | 9 +++
test/trace/addProperty-set-prototypes-5.swf |binary
test/trace/addProperty-set-prototypes-5.swf.trace | 4 +
test/trace/addProperty-set-prototypes-6.swf |binary
test/trace/addProperty-set-prototypes-6.swf.trace | 5 +
2007 Oct 29
0
20 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h
...000..18da742
Binary files /dev/null and b/test/trace/error-properties-5.swf differ
diff --git a/test/trace/error-properties-5.swf.trace b/test/trace/error-properties-5.swf.trace
new file mode 100644
index 0000000..55981f3
--- /dev/null
+++ b/test/trace/error-properties-5.swf.trace
@@ -0,0 +1,23 @@
+_global.Error = function
+ __proto__ (hpn) = _global.Object.__proto__
+ constructor (hp) = _global.Object.constructor
+ prototype (hp) = object
+ __proto__ (hp) = _global.Object.prototype
+ constructor (hp) = _global.Error
+ message = string : "Error"
+ name = string : "Error&...
2007 Oct 28
1
test/trace
..., 200, 150);
+
+ text = newSWFTextField ();
+ display = SWFMovie_add (movie, (SWFBlock) text);
+
+ SWFMovie_add (movie, (SWFBlock) newSWFAction (""
+ "trace ('Test whether native properties of TextField are initialized if the movie contains an EditText tag');"
+ "_global.TextField.prototype.hasOwnProperty = ASnative (101, 5);"
+ "trace (_global.TextField.prototype.hasOwnProperty ('text'));"
+ "_global.TextField.prototype = new Object ();"
+ "loadMovie (\"FSCommand:quit\", \"\");"
+ ""));
+ SW...
2007 Aug 21
0
2 commits - test/trace
...ot;]");
+ return result;
+ }
+}
+#endif
function new_info () {
return new_empty_object ();
@@ -95,11 +122,13 @@ function is_blaclisted (o, prop)
if (prop == "mySecretId" || prop == "globalSecretId")
return true;
+#if __SWF_VERSION__ >= 6
if (o == _global.Camera && prop == "names")
return true;
if (o == _global.Microphone && prop == "names")
return true;
+#endif
return false;
}
@@ -231,19 +260,21 @@ function trace_properties_recurse (o, le
flags = " (" + flags + ")";...
2007 Aug 29
0
15 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_system_as.c
...wf differ
diff --git a/test/trace/system-capabilities-query-5.swf.trace b/test/trace/system-capabilities-query-5.swf.trace
new file mode 100644
index 0000000..557e098
--- /dev/null
+++ b/test/trace/system-capabilities-query-5.swf.trace
@@ -0,0 +1,33 @@
+test System.capabilites.Query
+undefined
+. = _global.Object.prototype
+ __proto__ (hp) = _global.Object.prototype
+ avHardwareDisable = boolean : false
+ constructor (hp) = _global.Object
+ hasAccessibility = boolean : false
+ hasAudio = boolean : true
+ hasAudioEncoder = boolean : false
+ hasEmbeddedVideo = boolean : true
+ hasIME = boolean...
2007 May 31
0
Branch 'as' - 8 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_string.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_as_types.c test/trace
...ALUE_SET_BOOLEAN (retval, isnan (d) ? TRUE : FALSE);
+}
+
+static void
swfdec_as_context_parseInt (SwfdecAsObject *object, guint argc, SwfdecAsValue *argv, SwfdecAsValue *retval)
{
int i = swfdec_as_value_to_integer (object->context, &argv[0]);
@@ -780,6 +794,10 @@ swfdec_as_context_init_global (SwfdecAsC
swfdec_as_object_set_variable (context->global, SWFDEC_AS_STR_NaN, &val);
SWFDEC_AS_VALUE_SET_NUMBER (&val, HUGE_VAL);
swfdec_as_object_set_variable (context->global, SWFDEC_AS_STR_Infinity, &val);
+ swfdec_as_object_add_function (context->global, SWFDEC_AS...
2011 Jun 07
0
Split Manifest Across Multiple Lines?
...clude_postfix_module = extlookup("IncludePostfixModule", \
extlookup("IncludePostfixModule", \
extlookup("IncludePostfixModule", \
"",
"settings/nodes/_global"), \
"settings/nodes/${domain}"), \
"settings/nodes/${fqdn}")
Oh wait... maybe I can just do that without the "\"''s....
Doug
--
You received this message because you are subscribed to the Google Grou...
2007 Oct 28
0
2 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_format.c
...s:
commit 7f1ffc36007dd423124e030feb5961d75098279b
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Sun Oct 28 15:32:08 2007 +0200
Don't crash in TextField code when TextFormat's creation fails (Fixes: 12974)
Also create an object in swfdec_text_format_new even if _global.TextFormat is
missing
diff --git a/libswfdec/swfdec_text_field_movie.c b/libswfdec/swfdec_text_field_movie.c
index e09a7f1..e9c3fed 100644
--- a/libswfdec/swfdec_text_field_movie.c
+++ b/libswfdec/swfdec_text_field_movie.c
@@ -934,6 +934,9 @@ swfdec_text_field_movie_init_movie (SwfdecMovie *mo...