[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash] Patch to (partially) implement Actionscript Arrays
From: |
Michael Carlson |
Subject: |
Re: [Gnash] Patch to (partially) implement Actionscript Arrays |
Date: |
Sat, 21 Jan 2006 21:16:38 +0800 |
Oops - I forgot to attach the version 6 flash file I mentioned.
Hopefully this will suffice for now. Also, I haven't heard of Ming
before your e-mail, so I'll check it out. It should be useful in
conjunction with mtasc.
- Mike
On 1/21/06, strk <address@hidden> wrote:
> Michael, I'm adding your test cases to gnash.
> Can the test be simplified to version 6 ?
> I'd like tests to be buildable with Ming and I think
> we should test version 6 things first.
>
> --strk;
>
> On Tue, Jan 17, 2006 at 07:17:18PM +0800, Michael Carlson wrote:
> > In the past couple of days, I've been working on getting actionscript arrays
> > working in gnash as hopefully the first of many significant contributions to
> > the project. Attached is my initial patch "arraypatch1", an actionscript
> > file "test.as" to test with (which can be compiled through MTASC - see
> > www.mtasc.org), and a flash file "array.swf" (which is simply
> > test.ascompiled into swf form through MTASC, for convenience) which
> > tests the
> > implemented functions.
> >
> > Only the following actions are supported at this time: initialization
> > through constructors, initialization the "normal" way (var a = [4,1,2];),
> > accessing / setting array members, length(), push(), and pop().
> >
> > I've found the best way to test this is to run "gnash -va array.swf | grep
> > TRACE | grep -v \" | grep -v -- ---". This will extract and display all of
> > the relevant trace messages out of the output of gnash, excluding most of
> > the extraneous output. This can then be compared with the actionscript
> > source file, test.as.
> >
> > My last patch (very small) hasn't been replied to yet - I hope I'm sending
> > this to the right place. Looking forward to any comments people have about
> > it.
> >
> > I'd like to add, all of this was done without looking at any documents that
> > require a restrictive agreement (I didn't look at Macromedia's official
> > documents); I used an unofficial actionscript reference at
> > sephiroth.it/reference.php. All of my patches will be done in this way.
>
>
>
>
> > _______________________________________________
> > Gnash mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/gnash
>
>
> --
>
> /"\ ASCII Ribbon Campaign
> \ / Respect for low technology.
> X Keep e-mail messages readable by any computer system.
> / \ Keep it ASCII.
>
>
arraynew.swf
Description: application/shockwave-flash
- Re: [Gnash] Patch to (partially) implement Actionscript Arrays, (continued)
Re: [Gnash] Patch to (partially) implement Actionscript Arrays, strk, 2006/01/20
Re: [Gnash] Patch to (partially) implement Actionscript Arrays,
Michael Carlson <=