search for: asnative

Displaying 20 results from an estimated 53 matches for "asnative".

2007 Jul 27
0
11 commits - libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c libswfdec/swfdec_sprite_movie_as.c test/trace
...y test/trace/asbroadcaster-override-7.swf.trace | 9 + test/trace/asbroadcaster-override-8.swf |binary test/trace/asbroadcaster-override-8.swf.trace | 9 + test/trace/asbroadcaster-override.as | 31 ++++ test/trace/asnative-create-5.swf |binary test/trace/asnative-create-5.swf.trace | 7 + test/trace/asnative-create-6.swf |binary test/trace/asnative-create-6.swf.trace | 7 + test/trace/asnative-create-7.swf...
2007 Aug 31
0
4 commits - libswfdec/swfdec_as_number.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_player_as.c test/trace
...nged, 110 insertions(+), 9 deletions(-) New commits: diff-tree 4305a7503846739da9ce1db2a9c9e83ff45e10ba (from 9f17806b6f4230e268163b78931fe7a0be53dfe9) Author: Pekka Lampila <pekka.lampila at iki.fi> Date: Fri Aug 31 23:45:19 2007 +0300 Delete __proto__ and constructor properties from ASnative and ASconstructor Enable testing 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_registe...
2007 Aug 03
0
Changes to 'refs/tags/0.5.1'
...anch 'master' of ssh://company at git.freedesktop.org/git/swfdec/swfdec Merge branch 'master' of ssh://company at git.freedesktop.org/git/swfdec/swfdec issue a warning when aborting warn if data is left after a Flash file allow declaring a function as part of ASnative simplify code add scripted setup code implement ASnative add native function for AsBroadcaster rewrite Mouse object using scripts remove now unused files call AsSetPropFlags on AsBroadcaster rework variable flag handling to be more in line with ASSetP...
2002 Feb 28
1
Operating Windows files from Oracle
I am an absolute beginner with Samba, considering if it's worth installing. The problem I have is : I want to include windows directories into Oracle utl_file_dir. Will installing Samba allow me to do this? Any help would be appreciated. Thanks in advance. Asnate ________________________________________________________________________ This e-mail has been scanned for all viruses by
2007 Sep 02
0
3 commits - libswfdec/swfdec_as_number.c libswfdec/swfdec_internal.h libswfdec/swfdec_player_as.c libswfdec/swfdec_player.c test/trace
...7.swf.trace \ + loadvars.txt \ local.swf \ local.swf.trace \ lots-of-arguments.as \ diff-tree cc6e32e8cbbd672fb0393ef428f65fc7f4b49f43 (from 613fd1b7aee8c0b58dd4a9061caa8cd2bb899ce2) Author: Pekka Lampila <pekka.lampila at iki.fi> Date: Sat Sep 1 00:36:53 2007 +0300 Handle making ASnative and ASconstructor childless in nicer way Create them before swfdec_as_context_startup is ran, so they never get any properties. diff --git a/libswfdec/swfdec_internal.h b/libswfdec/swfdec_internal.h index 563bd35..f98cd08 100644 --- a/libswfdec/swfdec_internal.h +++ b/libswfdec/swfdec...
2007 Jul 26
0
5 commits - doc/Makefile.am doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_player_as.c
...erty in Flash 5 diff --git a/libswfdec/swfdec_initialize.as b/libswfdec/swfdec_initialize.as index c922016..6012fbb 100644 --- a/libswfdec/swfdec_initialize.as +++ b/libswfdec/swfdec_initialize.as @@ -17,6 +17,10 @@ * Boston, MA 02110-1301 USA */ +/*** GENERAL ***/ + +ASSetNativeAccessor = ASnative (4, 1); + /*** ASBROADCASTER ***/ function AsBroadcaster () { }; @@ -61,4 +65,5 @@ AsBroadcaster.initialize (Mouse); /*** STAGE ***/ Stage = new Object (); -Stage.addProperty ("scaleMode", ASnative (666, 1), ASnative (666, 2)); +ASSetNativeAccessor (Stage, 666, "scaleMode&quo...
2007 Jul 26
0
17 commits - doc/swfdec-sections.txt libswfdec/compiler.c libswfdec/.gitignore libswfdec/Makefile.am libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_strings.c
...adcaster.initialize = function (o) o._listeners = new Array (); ASSetPropFlags(o, "broadcastMessage,addListener,removeListener,_listeners", 131); }; -ASSetPropFlags(o, null, 131); +ASSetPropFlags(AsBroadcaster, null, 131); /*** MOUSE ***/ + Mouse = new Object (); Mouse.show = ASnative (5, 0); Mouse.hide = ASnative (5, 1); diff --git a/libswfdec/swfdec_initialize.h b/libswfdec/swfdec_initialize.h index 6cc7420..2b6c78c 100644 --- a/libswfdec/swfdec_initialize.h +++ b/libswfdec/swfdec_initialize.h @@ -44,7 +44,7 @@ const unsigned char swfdec_initialize[] 0x00, 0x08, 0x07, 0x0...
2007 Nov 14
0
2 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_string.c libswfdec/swfdec_color_as.c libswfdec/swfdec_initialize.as
...t;pekka.lampila at iki.fi> Date: Wed Nov 14 12:27:24 2007 +0200 lal diff --git a/libswfdec/swfdec_initialize.as b/libswfdec/swfdec_initialize.as index dee0157..d02ff9a 100644 --- a/libswfdec/swfdec_initialize.as +++ b/libswfdec/swfdec_initialize.as @@ -28,7 +28,6 @@ ASSetNativeAccessor = ASnative (4, 1); Object.registerClass = ASnative(101, 8); ASSetPropFlags (Object, null, 7); -lal /*** Error ***/
2007 Nov 14
0
5 commits - libswfdec/.gitignore libswfdec/swfdec_initialize.as test/image test/sound test/trace
...01:11 2007 +0200 Add couple of missing \ chars to test/trace/Makefile.am diff --git a/libswfdec/swfdec_initialize.as b/libswfdec/swfdec_initialize.as index d02ff9a..dee0157 100644 --- a/libswfdec/swfdec_initialize.as +++ b/libswfdec/swfdec_initialize.as @@ -28,6 +28,7 @@ ASSetNativeAccessor = ASnative (4, 1); Object.registerClass = ASnative(101, 8); ASSetPropFlags (Object, null, 7); +lal /*** Error ***/ diff --git a/test/trace/Makefile.am b/test/trace/Makefile.am index aa84521..3eb9bc8 100644 --- a/test/trace/Makefile.am +++ b/test/trace/Makefile.am @@ -495,7 +495,7 @@ EXTRA_DIST = \...
2007 Aug 22
0
3 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_function.c test/trace
...== 5 +// create a _global object, since it doesn't have one, these are ver 6 values +_global = new_empty_object (); +_global.ASSetNative = ASSetNative; +_global.ASSetNativeAccessor = ASSetNativeAccessor; +_global.ASSetPropFlags = ASSetPropFlags; +_global.ASconstructor = ASconstructor; +_global.ASnative = ASnative; +_global.Accessibility = Accessibility; +_global.Array = Array; +_global.AsBroadcaster = AsBroadcaster; +_global.AsSetupError = AsSetupError; +_global.Boolean = Boolean; +_global.Button = Button; +_global.Camera = Camera; +_global.Color = Color; +_global.ContextMenu = ContextMenu; +_glo...
2007 Aug 23
0
10 commits - libswfdec/swfdec_as_function.c libswfdec/swfdec_as_object.c test/trace
...@@ EXTRA_DIST = \ asbroadcaster-override-7.swf.trace \ asbroadcaster-override-8.swf \ asbroadcaster-override-8.swf.trace \ + asfunction-properties.as \ + asfunction-properties-6.swf \ + asfunction-properties-6.swf.trace \ + asfunction-properties-7.swf \ + asfunction-properties-7.swf.trace \ asnative-create.as \ asnative-create-5.swf \ asnative-create-5.swf.trace \ diff --git a/test/trace/asfunction-properties-6.swf b/test/trace/asfunction-properties-6.swf new file mode 100644 index 0000000..1741f67 Binary files /dev/null and b/test/trace/asfunction-properties-6.swf differ diff --git a/test...
2007 Oct 12
0
Changes to 'refs/tags/0.5.3'
...lace swfdec_movie_get_by_path with swfdec_player_get_movie_from_value remove audio_skip usage simplify SWFDEC_AS_CHECK macro by auto-casting the result parameter allow optional arguments after a '|' separator in SWFDEC_AS_CHECK wrong comparison, oops warn if an ASNative doesn't exist set the stop sample to end of sample by default implement Sound(), Sound.attachSound() and Sound.start() also warn about missing CAIRO_EXTEND_PAD when parsing morph patterns add swfdec_player_stop_sounds() to stop selected sounds whoops, forgot these...
2007 Nov 12
0
20 commits - libswfdec/swfdec_as_function.c libswfdec/swfdec_as_string.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_movie_as_drawing.c libswfdec/swfdec_player_as.c
...a/libswfdec/swfdec_initialize.as b/libswfdec/swfdec_initialize.as index b3e8821..d02ff9a 100644 --- a/libswfdec/swfdec_initialize.as +++ b/libswfdec/swfdec_initialize.as @@ -103,7 +103,7 @@ LoadVars.prototype.contentType = "application/x-www-form-urlencoded"; LoadVars.prototype.load = ASnative (301, 0); //LoadVars.prototype.send = ASnative (301, 1); -//LoadVars.prototype.sendAndLoad = ASnative (301, 2); +LoadVars.prototype.sendAndLoad = ASnative (301, 2); LoadVars.prototype.decode = ASnative (301, 3); LoadVars.prototype.onLoad = function () { @@ -168,7 +168,7 @@ ASSetPropFlags (XML,...
2007 Aug 24
0
9 commits - configure.ac doc/Makefile.am libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_keys.h libswfdec/swfdec_pattern.c libswfdec/swfdec_player.c test/trace
...+trace (o.a); +trace (o.b); +trace (o.c); +trace (o.d); + +loadMovie ("FSCommand:quit", ""); diff --git a/test/trace/Makefile.am b/test/trace/Makefile.am index 8bc9273..231d8df 100644 --- a/test/trace/Makefile.am +++ b/test/trace/Makefile.am @@ -153,6 +153,15 @@ EXTRA_DIST = \ asnative-create-7.swf.trace \ asnative-create-8.swf \ asnative-create-8.swf.trace \ + ASSetPropFlags-ignore.as \ + ASSetPropFlags-ignore-5.swf \ + ASSetPropFlags-ignore-5.swf.trace \ + ASSetPropFlags-ignore-6.swf \ + ASSetPropFlags-ignore-6.swf.trace \ + ASSetPropFlags-ignore-7.swf \ + ASSetPropFlags-ig...
2007 Aug 18
0
8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_strings.c libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object_as.h libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h
...0000000..ba49d21 --- /dev/null +++ b/test/trace/loadobject-5.swf.trace @@ -0,0 +1,46 @@ +Loaded: +Total: +false +Loaded: +Total: +true +Loaded: 0 +Total: +true +Loaded: 0 +Total: +Got: string '// makeswf -v 7 -r 1 -o loadobject-7.swf loadobject.as + +var obj = new Object (); + +obj.load = ASnative (301, 0); + +obj.onData = function (str) { + trace ("Got: " + typeof (str) + " '" + str + "'"); + trace ("Loaded: " + this._bytesLoaded); + trace ("Total: " + this._bytesTotal); +}; + +trace ("Loaded: " + obj._bytesLoaded); +tra...
2007 Aug 20
0
8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_string.c libswfdec/swfdec_as_string.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_load_object.c libswfdec/swfdec_loadvars_as.c test/trace
...r (Stage, 666, "scaleM function LoadVars () { }; -LoadVars.prototype.loaded = undefined; -LoadVars.prototype._bytesLoaded = undefined; -LoadVars.prototype._bytesTotal = undefined; LoadVars.prototype.contentType = "application/x-www-form-urlencoded"; LoadVars.prototype.load = ASnative (301, 0); @@ -94,9 +91,9 @@ LoadVars.prototype.onLoad = function () }; LoadVars.prototype.onData = function (src) { + this.loaded = true; if (src != null) { this.decode (src); - this.loaded = true; this.onLoad (true); } else { this.onLoad (false); @@ -123,4 +120,4 @@ L...
2007 Oct 18
0
14 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 libswfdec/swfdec_text_format.c
...50 2007 +0300 Add TextField's replaceText function diff --git a/libswfdec/swfdec_initialize.as b/libswfdec/swfdec_initialize.as index 7bee078..92bc87a 100644 --- a/libswfdec/swfdec_initialize.as +++ b/libswfdec/swfdec_initialize.as @@ -290,6 +290,8 @@ TextField.prototype.removeTextField = ASnative (104, 103); TextField.prototype.getNewTextFormat = ASnative (104, 104); TextField.prototype.setNewTextFormat = ASnative (104, 105); TextField.prototype.getDepth = ASnative (104, 106); +TextField.prototype.replaceText = ASnative (104, 107); +ASSetPropFlags (TextField.prototype, "replaceText&...
2007 Nov 12
0
2 commits - libswfdec/swfdec_loadvars_as.c test/trace
...o run + trace (">>> " + encoded); + + // create a new Object. + o = {}; + + // get a special function that we know is used to decode urlencoded data. + // This is actually the function used as LoadVars.prototype.decode, but it + // works on any type of object. + o.decode = ASnative (301, 3); + + // decode the string we got + o.decode (encoded); + + // now print the properties that got set. Note that we can't just use a for-in + // loop, because they have an undefined order. Instead we collect all + // variables that were set into an array, sort that array, and then...
2007 Oct 28
1
test/trace
...+ 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\", \"\");" + "")); + SWFMovie_nextFrame (movie); + + sprintf (name,...
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
..._VARIABLE_PERMANENT | + SWFDEC_AS_VARIABLE_CONSTANT); } diff --git a/libswfdec/swfdec_initialize.as b/libswfdec/swfdec_initialize.as index 009bbcc..502942e 100644 --- a/libswfdec/swfdec_initialize.as +++ b/libswfdec/swfdec_initialize.as @@ -69,6 +69,7 @@ Mouse = new Object (); Mouse.show = ASnative (5, 0); Mouse.hide = ASnative (5, 1); AsBroadcaster.initialize (Mouse); +ASSetPropFlags(Mouse, null, 7); /*** STAGE ***/ @@ -120,4 +121,8 @@ LoadVars.prototype.getBytesTotal = funct return this._bytesTotal; }; -ASSetPropFlags(LoadVars.prototype, null, 129); +ASSetPropFlags(LoadVars.pro...