Skip to content

{ Category Archives } Uncategorized

Loom is Dead

Unfortunately, I ran out of motivation for Loom. I solicited some people to take over the project on the mailing lists, but without any takers, I think it’s time we called it.
There’s been some very nice work done in the AS3 bytecode generation space by Richard Szalay (FLemit and FLoxy), and mocking implementations (my original [...]

Loom Source Posted

Loom is still a work in progress, but it was time to get the source out there so the project can get some momentum from contributors. You can now find it on the Google Code site for the Loom project.

Looking for Loom Contributors

Check out the details on the Loom discussion group (which is no longer private so come on in!)

greaterequals Opcode in Tamarin/AVM2 Spec

While working on Loom today, I ran across the opcode 0xaf, which matches two opcodes in the AVM2 spec: greaterthan and greaterequals. Checking the AVM2 spec errata on the Tamarin project page produced the following:
“On page 66, instruction name is greaterequals but format, forms, and description are those of greaterthan’.”
Awesome. Thanks guys, that really helps [...]

Loom Private Alpha 4 Released

Got the issue with getters/setters fixed, so they are now fully advisable. I think I have also figured out why custom namespaced functions are not advisable, but since I don’t think custom namespace functions get used terribly regularly by most developers, I am planning on putting this item behind the SWFLoader, which is the bit [...]

Loom Private Alpha 3 Released

Last night I fixed the issues with advising methods with …rest and optional arguments, and came up with a potentially nifty strategy for dealing with getter/setter advice.
Getters/setters are a little harder to advise since their functions are seen by the AVM as properties, and as a result you can’t pass their function references around. I [...]

Loom Private Alpha 2 Released

Last night, I released the second private alpha to the Loom discussion group. Loom can now subclass any base class. There are a few known issues with certain method signatures and another small issue with getters and setters.
I’ll be remedying these issues this week with a view to a third private alpha by the close [...]

Tagged

VerifyError: Error #1032: Cpool index X is out of range X

Whenever you are working with an ABC file and loading it in to the AVM, the AVM will validate the ABC on the way in. I ran in to an issue tonight where I was dynamically weaving the opcodes for a method in Loom, and I forgot to add a NamespaceSet to the ConstantPool. If [...]

Tagged

Private Loom Alpha Released

I just sent the Loom library out for a private alpha with a limited group of people. If you are interested in joining in, just ping me on the contact form on this blog or hit me up directly from the Loom discussion group.

Tagged

Loom Lives!

About fifteen minutes ago, I successfully weaved the final opcodes required to create an AOP dynamic proxy with Loom. I am totally stoked.
It’s been almost three months of work, admittedly on and off. I think if I strung together all the hours I have put in to the project, it would be about 120-160 hours [...]

Tagged