Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Alex Harui
On 12/29/12 8:58 AM, "Michael Schmalle" wrote: > And one other thing; > > I thought this compiler was written for FlashBuilder, this means Adobe > has a huge API for saying files have changed, updating scopes ect. Probably true. > > In the IWorkspace API you can see evidence of this. Which m

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Alex Harui
On 12/29/12 8:52 AM, "Michael Schmalle" wrote: > I know when I wrote ASDoc, I was able to resolve everything but I used > the MXML compiler as a base. I just need to really understand what is > going on now. I takled the multithreading in FalconJx, but when I > debug, the multithreading is ove

Re: Prepping for Installer 2.0 RC1

2012-12-29 Thread Justin Mclean
HI, > I am ready to put out an RC1 for voting. I need a committer with a Mac to > build and sign a .dmg file for the Mac installer. I can do that if needed. Have you tagged RC1 in some way or should I just use trunk? Justin

Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Erik de Bruin
I did. Mea culpa. I know it's not supposed to be there. I have a lot of files not ready to be committed already in my working copy, guess I missed one checkbox. EdB On Saturday, December 29, 2012, Michael Schmalle wrote: > Erik, > > This is OT for the thread but maybe you will read this. > > D

[jira] [Created] (FLEX-33333) Create a plugin architecture for Falcon

2012-12-29 Thread Roland Zwaga (JIRA)
Roland Zwaga created FLEX-3: --- Summary: Create a plugin architecture for Falcon Key: FLEX-3 URL: https://issues.apache.org/jira/browse/FLEX-3 Project: Apache Flex Issue Type: New Fea

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Michael Schmalle
And one other thing; I thought this compiler was written for FlashBuilder, this means Adobe has a huge API for saying files have changed, updating scopes ect. In the IWorkspace API you can see evidence of this. Which means in a code editor, you are updating source files all the time and r

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Michael Schmalle
Quoting Alex Harui : On 12/29/12 8:26 AM, "Michael Schmalle" wrote: FWIW, my understanding of Falcon is that each class source file is a compilation unit and compilation units are parsed in separate threads. Therefore there is no actual point where all ASTs are sitting around. I can

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Alex Harui
On 12/29/12 8:26 AM, "Michael Schmalle" wrote: >> FWIW, my understanding of Falcon is that each class source file is a >> compilation unit and compilation units are parsed in separate threads. >> Therefore there is no actual point where all ASTs are sitting around. I can >> see a callback wh

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Michael Schmalle
Quoting Roland Zwaga : On 12/29/12 5:02 AM, "Roland Zwaga" wrote: > Well, I think the fastest communication protocol would actually be AMF. I > see no reason why an ANE couldn't send AMF back and forth. And all of the > serialization logic already exists for that, so implementing it should,

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Michael Schmalle
Quoting Alex Harui : On 12/29/12 5:19 AM, "Roland Zwaga" wrote: Hm, sounds pretty sweet. If its not too much work to create a small experiment to proof your theory than this could be a worthy approach :) Generating extra classes etc shouldn't be a problem I suppose? What the AOP bits wou

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Roland Zwaga
On 12/29/12 5:02 AM, "Roland Zwaga" wrote: > > Well, I think the fastest communication protocol would actually be AMF. I > > see no reason why an ANE couldn't send AMF back and forth. And all of the > > serialization logic already exists for that, so implementing it should, > > theoratically, be

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Roland Zwaga
> Questions: why isn't this more like injecting an include file into a > class's > source code? Why rename the base class and add more classes to the mix? > In the case of a Mixin that would be entirely valid. When implementing interceptors things get more complicated though. Its true that all of

[jira] [Commented] (FLEX-33332) Make metadata annotations first class AS3 citizens

2012-12-29 Thread Michael Schmalle (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-2?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13540930#comment-13540930 ] Michael Schmalle commented on FLEX-2: - I think this is a good idea and worthy

[jira] [Assigned] (FLEX-33332) Make metadata annotations first class AS3 citizens

2012-12-29 Thread Michael Schmalle (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Schmalle reassigned FLEX-2: --- Assignee: Michael Schmalle > Make metadata annotations first class AS3 citizens >

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Alex Harui
On 12/29/12 5:02 AM, "Roland Zwaga" wrote: > Well, I think the fastest communication protocol would actually be AMF. I > see no reason why an ANE couldn't send AMF back and forth. And all of the > serialization logic already exists for that, so implementing it should, > theoratically, be quite

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Alex Harui
On 12/29/12 5:19 AM, "Roland Zwaga" wrote: > Hm, sounds pretty sweet. If its not too much work to create a small > experiment to proof your theory than this could be a worthy approach :) > Generating extra classes etc shouldn't be a problem I suppose? > What the AOP bits would do, in a nutshe

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Michael Schmalle
Erik, This is OT for the thread but maybe you will read this. Did you accidentally commit unittest.properties in your last commit? It looks like you did? Mike Quoting Erik de Bruin : > Yeah, yeah I know man, I wasn't saying add AOP into the framework, what do > you think I am a JavaScript

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Erik de Bruin
> > Yeah, yeah I know man, I wasn't saying add AOP into the framework, what > do > > you think I am a JavaScript dev! > > > Well, if you spend enough time in close promixity of Javascript, who knows > what happens to your brain :) > > Us JavaScripters don't need no brains, we got Google. Wait, what

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Roland Zwaga
> Yeah, yeah I know man, I wasn't saying add AOP into the framework, what do > you think I am a JavaScript dev! Well, if you spend enough time in close promixity of Javascript, who knows what happens to your brain :) > > This is what I meant when I said easy. :) THEN BE MORE CLEAR, I'M A DAFT

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Michael Schmalle
Quoting Roland Zwaga : If some one could give me a simple AOP project example with source code and expected out come, I could get that rolling as well. As I stated before, if you just provide the low-level API changes, I believe the AOP stuff ought to be handled through a plugin. Yeah, yea

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Roland Zwaga
> If some one could give me a simple AOP project example with source code > and expected out come, I could get that rolling as well. > As I stated before, if you just provide the low-level API changes, I believe the AOP stuff ought to be handled through a plugin. Once the low-level API is availabl

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Roland Zwaga
> AOP is as well something many of us would want to have available in Flex. > AOP and metadata allows you to decouple code, add/remove functionality > easily across all your application, and create behaviours that can be > configured to modify the existing code at runtime...this and much more can >

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Michael Schmalle
Hi Carlos, From all discussions between Roland and I this morning (yes we are friends), everything we have talked about I can do. It's really just a matter of time and priorities. I'm looking at the Falcon code right now and I think I could get metadata a full class citizen sooner than la

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Carlos Rovira
Hi Roland and Michael, I'm out in vacation mode, but I see the ticket Roland created and it's something about I want to comment since I would want to see in Flex. It's without doubt one of the points that makes the difference between Flex and other platforms. We have basic metadata annotations and

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Roland Zwaga
Well, if right now all that is needed is the writeChanges() method, than that's pretty much all. Is there some kind of plugin SDK/API for Falcon? An AOP plugin would typically be something that runs after the AST has been created to modify that AST further. It would be the cleanest to have this fun

Re: Prepping for Installer 2.0 RC1

2012-12-29 Thread Nicholas Kwiatkowski
I'm around for most of today, and should be able to build it for you. -Nick On Sat, Dec 29, 2012 at 4:45 AM, OmPrakash Muppirala wrote: > I am ready to put out an RC1 for voting. I need a committer with a Mac to > build and sign a .dmg file for the Mac installer. In case, you have not > built

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Michael Schmalle
Ok, just realized I'm not acting as an application developer right now so I hit the back button. :) I get what you need to do it, I'm a tool developer so I will stick to devs like you to tell me what you need. Mike Quoting Roland Zwaga : Roland, excuse my COMPLETE ignorance on the subje

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Roland Zwaga
> > Roland, excuse my COMPLETE ignorance on the subject of AOP but what is the > goal of it, how would it help and how is it implemented in code? > > Mike Hehe, ok, explaining AOP in a few paragraphs is kinda hard... Please let me be lazy here and point you to a Wikipedia article: https://en.wik

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Michael Schmalle
Quoting Roland Zwaga : Right, API to IClassNode.setName("**MyClassBase") There is a step here that doesn't exist which would be like writeChanges(whatChanges), which is about the only aspect of this that needs more than 10 minutes of thought, everything else is covered. Side note; The Falc

[jira] [Created] (FLEX-33332) Make metadata annotations first class AS3 citizens

2012-12-29 Thread Roland Zwaga (JIRA)
Roland Zwaga created FLEX-2: --- Summary: Make metadata annotations first class AS3 citizens Key: FLEX-2 URL: https://issues.apache.org/jira/browse/FLEX-2 Project: Apache Flex Issue Ty

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Roland Zwaga
> Heh, you know me, I will probably have something working sooner than > later. If I don't waste to much time making trance music... Yea, same problem here, I just bought one of these, so I'm slightly distracted :) http://1010.co.uk/org/blackdeath.html > Generating extra classes etc shouldn't

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Michael Schmalle
Quoting Roland Zwaga : I was thinking, maybe I'm not thinking in enough 5th dimensional thought here. I'm not married to linked tokens, because other than Gordon helping out I highly doubt I would even have time to implement that with the current parser. The code when parsed has insane AST so

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Roland Zwaga
> I was thinking, maybe I'm not thinking in enough 5th dimensional thought > here. > > I'm not married to linked tokens, because other than Gordon helping out I > highly doubt I would even have time to implement that with the current > parser. > > The code when parsed has insane AST source offsets

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Michael Schmalle
I was thinking, maybe I'm not thinking in enough 5th dimensional thought here. I'm not married to linked tokens, because other than Gordon helping out I highly doubt I would even have time to implement that with the current parser. The code when parsed has insane AST source offsets to every

Re: Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Roland Zwaga
> A writeable AST would be absolutely a must if we would ever want to >> implement any kind of compile-time AOP functionality. So if that could be >> done eventually, I think this would GREATLY improve the possibilities of >> the compiler. (Not just from an AOP perspective, all sorts of compile-tim

[jira] [Updated] (FLEX-33324) RuntimeLocale.as for the Apache Flex Installer needs to be updated for the Dutch language

2012-12-29 Thread Roland Zwaga (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-33324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roland Zwaga updated FLEX-33324: Attachment: RuntimeLocale.as.patch I noticed in the RuntimeLocale.as in SVN that there were still a

Writable AST and Code generation for Falcon was: [Re: [jira] [Commented] (FLEX-33330) ... )

2012-12-29 Thread Michael Schmalle
Quoting Roland Zwaga : On 29 December 2012 01:31, Michael Schmalle wrote: Wow, Roland you didn't even tell me you were up to no good with asblocks! Well, it was Christmas time, so I didn't want to bother you :) I'm glad that freakin year of messing around produced something worth while

Re: [jira] [Commented] (FLEX-33330) An easier way of managing the locales for the InstallApache application

2012-12-29 Thread Roland Zwaga
On 29 December 2012 01:31, Michael Schmalle wrote: > Wow, Roland you didn't even tell me you were up to no good with asblocks! > Well, it was Christmas time, so I didn't want to bother you :) > I'm glad that freakin year of messing around produced something worth > while! > True, at least ONE

[jira] [Updated] (FLEX-33330) An easier way of managing the locales for the InstallApache application

2012-12-29 Thread Roland Zwaga (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-0?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roland Zwaga updated FLEX-0: Attachment: ApacheFlexInstallerLocaleEditor-v1.0.1.zip Version 1.0.1. Minor updates.

[jira] [Commented] (FLEX-33330) An easier way of managing the locales for the InstallApache application

2012-12-29 Thread Roland Zwaga (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-0?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13540885#comment-13540885 ] Roland Zwaga commented on FLEX-0: - Hey Om, glad you like it. I just made some sli

[jira] [Updated] (FLEX-33330) An easier way of managing the locales for the InstallApache application

2012-12-29 Thread Roland Zwaga (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-0?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roland Zwaga updated FLEX-0: Attachment: (was: ApacheFlexInstallerLocaleEditor.zip) > An easier way of managing the loca

Re: Prepping for Installer 2.0 RC1

2012-12-29 Thread Chema Balsas
Hi Om, If no one else is around I can give it a try. I see that the default target generates a release/apache-flex-sdk-installer-1.0.9-bin.dmg. I assume that's what we want signed? I guess the name should be changed, though. I'm following [1] to generate and upload my pgp keys. After that, is ju

Re: [wiki] created flex-contributors group

2012-12-29 Thread Frank Wienberg
Hi Alex, hi Bertrand, just to let you know, I already triggered that my employer issues a CCLA so that I can contribute (I suppose our legal department is on holiday, so it will probably take until January). Greetings -Frank- On Fri, Dec 28, 2012 at 7:37 PM, Bertrand Delacretaz wrote: > On Fri

Re: [MENTOR] Wiki write access

2012-12-29 Thread Frank Wienberg
Yes, I can edit now. Thank you! On Fri, Dec 28, 2012 at 4:05 PM, Bertrand Delacretaz wrote: > Hi, > > On Fri, Dec 28, 2012 at 3:36 PM, Frank Wienberg > wrote: > > ...to capture the results of our FalconJx mailing list discussion, I > would > > kindly like to request write access to the Apache

Prepping for Installer 2.0 RC1

2012-12-29 Thread OmPrakash Muppirala
I am ready to put out an RC1 for voting. I need a committer with a Mac to build and sign a .dmg file for the Mac installer. In case, you have not built the installer before, creating an RC for the installer is very straightforward. Any volunteers? Erik/Justin, do you want to take it up? Thanks