[POLL] Maven and Apache Flex

2012-11-29 Thread christofer.d...@c-ware.de
Hi Greg, we are not talking about the entire plugin ... just one fragment (assumably not even 5% of the entire suite) that deals with downloading stuff from Adobe. All the other parts of the plugin would be developed in the open :-) Chris Von: Greg Redd

Re: FalconJS "Demo" checked in

2012-11-29 Thread Alex Harui
I branched my whiteboard into the root. I decided to call it "asjs" because we are developing parallel as and js frameworks. There is a develop branch in there where we should be making our commits. -Alex On 11/28/12 11:21 AM, "Erik de Bruin" wrote: >>> Are we ready to put the framework.js i

Re: [POLL] Maven and Apache Flex

2012-11-29 Thread Alex Harui
Hopefully legal will change their opinion. If not I will try to see if there is some alternative. I understand that software is supposed to be developed in the open at Apache. But if the goal of the code is to meet a legal requirement and it doesn't, it seems reasonable that traces of it shouldn

[jira] [Created] (FLEX-33283) Falcon Compiler - PropertyReference in CSS not implemented yet.

2012-11-29 Thread Cyrill Zadra (JIRA)
Cyrill Zadra created FLEX-33283: --- Summary: Falcon Compiler - PropertyReference in CSS not implemented yet. Key: FLEX-33283 URL: https://issues.apache.org/jira/browse/FLEX-33283 Project: Apache Flex

Re: [POLL] Maven and Apache Flex

2012-11-29 Thread Greg Reddin
Personally I don't see any way I can support being forced to develop this in private. Apache doesn't work that way. I suppose if that's the only choice they give us and Chris is willing to do it on his own he can submit it to us as a patch but there's no guarantee it will be accepted. For myself

[jira] [Updated] (FLEX-33281) Mustella

2012-11-29 Thread JIRA
[ https://issues.apache.org/jira/browse/FLEX-33281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] João Fernandes updated FLEX-33281: -- Attachment: FLEX-33281.txt > Mustella > - > > Key: FLEX-33281 >

[jira] [Commented] (FLEX-33281) Mustella

2012-11-29 Thread JIRA
[ https://issues.apache.org/jira/browse/FLEX-33281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506937#comment-13506937 ] João Fernandes commented on FLEX-33281: --- Sure, I can't test under a mac but I've jus

Re: [POLL] Maven and Apache Flex

2012-11-29 Thread Alex Harui
Our legal team requested a few days to consider whether they really need this developed in private. So if they come back that they want it to be private I will present this option. If you want to wait to get their answer that is fine, or you can start now but please do it in private. On 11/29/1

[POLL] Maven and Apache Flex

2012-11-29 Thread christofer.d...@c-ware.de
Another option would be to place dummy files on the Adobe download servers (but allready with the real names) and to develop the mojo publically ... as soon as Adobe is sattisfied with the license accepting and downloading part, they could replace the dummy files with real ones and we could conc

Re: AW: AW: AW: AW: AW: AW: AW: AW: AW: AW: [POLL] Maven and Apache Flex

2012-11-29 Thread Alex Harui
On 11/29/12 2:43 PM, "christofer.d...@c-ware.de" wrote: > Well this part should actually be a "mojo" ... that's sort of part of a > complete plugin. What I could do, would be to sort of start off with creating > this mojo (Without placing the code in the public Apache SVN). As soon as > Adobe

Re: [POLL] Maven and Apache Flex

2012-11-29 Thread Alex Harui
On 11/29/12 2:43 PM, "Justin Mclean" wrote: > HI, > >> One important thing, legal may want you to develop this plug-in without >> checking it into any public source code repository until they have a chance >> to see it work. > Can you give their reasons behind this? If legal decides the plug-

Re: [POLL] Maven and Apache Flex

2012-11-29 Thread Justin Mclean
HI, > One important thing, legal may want you to develop this plug-in without > checking it into any public source code repository until they have a chance > to see it work. Can you give their reasons behind this? Wouldn't it be better to have it worked on collaboratively in the open by the comm

AW: AW: AW: AW: AW: AW: AW: AW: AW: AW: [POLL] Maven and Apache Flex

2012-11-29 Thread christofer.d...@c-ware.de
Well this part should actually be a "mojo" ... that's sort of part of a complete plugin. What I could do, would be to sort of start off with creating this mojo (Without placing the code in the public Apache SVN). As soon as Adobe gives the ok, we would add it there. As it is possible to fragme

Re: AW: AW: AW: AW: AW: AW: AW: AW: AW: [POLL] Maven and Apache Flex

2012-11-29 Thread Alex Harui
Yes, if we don't have to touch the Adobe packages we will be much better off. I just got tentative approval from legal, but still need approval from runtime product management. One important thing, legal may want you to develop this plug-in without checking it into any public source code reposito

AW: AW: AW: AW: AW: AW: AW: AW: AW: [POLL] Maven and Apache Flex

2012-11-29 Thread christofer.d...@c-ware.de
In maven if you want to use a library or a ressource, you define a dependency to a groupId, artifactId and version (Optionally even a classifier). These 4 attributes define the identity of the ressource. Think of the pom.xml as being something similar to the tags soldiers wear around their necks

Re: AW: AW: AW: AW: AW: AW: AW: AW: [POLL] Maven and Apache Flex

2012-11-29 Thread Alex Harui
On 11/29/12 11:48 AM, "christofer.d...@c-ware.de" wrote: > Hi Alex, > > a local maven repo is on the machine the build is running ... that's one repo > per machine. Think of it as a Maven-Cache. So if I run the build on my > machine, the artifacts are available on that machine, but not on any

[jira] [Commented] (FLEX-33281) Mustella

2012-11-29 Thread Carol Frampton (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-33281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506816#comment-13506816 ] Carol Frampton commented on FLEX-33281: --- You could submit a patch with a fix if you

AW: AW: AW: AW: AW: AW: AW: AW: [POLL] Maven and Apache Flex

2012-11-29 Thread christofer.d...@c-ware.de
Hi Alex, a local maven repo is on the machine the build is running ... that's one repo per machine. Think of it as a Maven-Cache. So if I run the build on my machine, the artifacts are available on that machine, but not on any other one. My idea was that if the build is set to "non-interactive

Re: AW: AW: AW: AW: AW: AW: AW: [POLL] Maven and Apache Flex

2012-11-29 Thread Alex Harui
On 11/29/12 11:11 AM, "christofer.d...@c-ware.de" wrote: > No you would not leave the key under the doormat ... the token would be > generated for every request and would be different every time you use it. If > the token wouldn't change, there would be no point in implementing this that > way.

AW: AW: AW: AW: AW: AW: AW: [POLL] Maven and Apache Flex

2012-11-29 Thread christofer.d...@c-ware.de
No you would not leave the key under the doormat ... the token would be generated for every request and would be different every time you use it. If the token wouldn't change, there would be no point in implementing this that way. I was more thinking of headless CI servers. Such as the Apache F

RE: [FALCON] parser question - MXMLApplicationNode

2012-11-29 Thread Gordon Smith
Just go ahead and commit. - Gordon -Original Message- From: Cyrill Zadra [mailto:cyrill.za...@gmail.com] Sent: Wednesday, November 28, 2012 8:13 PM To: flex-dev@incubator.apache.org Subject: Re: [FALCON] parser question - MXMLApplicationNode okay .. I started writing more tests for pac

Re: AW: AW: AW: AW: AW: AW: [POLL] Maven and Apache Flex

2012-11-29 Thread Alex Harui
Hi Chris, I can ask, but the non-interactive mode sounds like leaving the key under the doormat and telling everyone where it is. It would seem to me that you would never need a non-interactive mode. Once anyone from your company runs the mojo, wouldn't the artifacts be in the local repo after t

Re: [FlaconJS] pseudo emitter algorithm

2012-11-29 Thread Alex Harui
OK, I think I get it now. Sounds like it is worth exploring. On 11/29/12 10:02 AM, "Michael Schmalle" wrote: > Quoting Alex Harui : > >> So if I understand you, the notion of traits is a SWF thing? The AST has >> different representations maybe like member, variable, function? > > Well yes

AW: AW: AW: AW: AW: AW: [POLL] Maven and Apache Flex

2012-11-29 Thread christofer.d...@c-ware.de
Hi Alex, Oh ... I already had completely abandoned all hope of being able to download without a custom downloader ... so that's no big deal :-) There is no need for the browser plugin. The projector seems to be enough (Think it doesn't even have to be the debugger. So let us focus on a plugin

Re: [FlaconJS] pseudo emitter algorithm

2012-11-29 Thread Michael Schmalle
Quoting Alex Harui : So if I understand you, the notion of traits is a SWF thing? The AST has different representations maybe like member, variable, function? Well yes and no. Traits IS an SWF thing. The AST is represented by like IClassNode, IPackageNode etc. Than we have an even more f

Re: [FlaconJS] pseudo emitter algorithm

2012-11-29 Thread Alex Harui
So if I understand you, the notion of traits is a SWF thing? The AST has different representations maybe like member, variable, function? On 11/29/12 9:42 AM, "Michael Schmalle" wrote: > Quoting Alex Harui : > >> Very nice. Have you figured out the role of the generated CMCEmitter in >> this

Re: [FlaconJS] pseudo emitter algorithm

2012-11-29 Thread Michael Schmalle
I'm typing to much (correction). The CmcJSEmitter is used to "Generate an ABC file equivalent to the input syntax tree." NOT traverse. The CmcJSEmitter traverses the AST and creates the SWF that is then used to create the JS output. Mike Quoting Michael Schmalle : Quoting Alex Harui

Re: [FlaconJS] pseudo emitter algorithm

2012-11-29 Thread Michael Schmalle
Quoting Alex Harui : Very nice. Have you figured out the role of the generated CMCEmitter in this process? Yes, The CmcJSEmitter (autogenerated by cmc-js.jbg) is used to traverse the ISWF that is created. The CmcJSEmitter and JSGeneratingReducer are created in the JSGenerator construct

Re: [FalconJS] concepts

2012-11-29 Thread Alex Harui
On 11/29/12 3:31 AM, "Frank Wienberg" wrote: > Dan, are you aware of FlashJS ? > Btw, JooFlash also uses canvas optionally, namely for Graphics and if you > set DisplayObject#cacheAsBitmap to true. > Primarily, I also map DOs to DOM elements! > > Greetings > -Frank- Just cu

Re: [FlaconJS] pseudo emitter algorithm

2012-11-29 Thread Alex Harui
Very nice. Have you figured out the role of the generated CMCEmitter in this process? On 11/29/12 7:30 AM, "Michael Schmalle" wrote: > Hi, > > For those asking question about "where to alter" code, it's not pretty > but I think I know exactly what is going on now. > > If you can understand b

Re: AW: AW: AW: AW: AW: [POLL] Maven and Apache Flex

2012-11-29 Thread Alex Harui
On 11/28/12 11:22 PM, "christofer.d...@c-ware.de" wrote: > Hi Alex, > > well regarding the Flashplayer ... is is actually needed during the build. Not > for actually building the SWF, but more for running the unit-tests. Rats, I hadn't noticed that you needed the Flash runtimes in Maven. It

Re: [FlaconJS] pseudo emitter algorithm

2012-11-29 Thread Daniel Wasilewski
Thanks for detailed explanation Mike! Everything below that, is actually clear without getting into details of recursive methods itself. On 11/29/2012 3:30 PM, Michael Schmalle wrote: Hi, For those asking question about "where to alter" code, it's not pretty but I think I know exactly what

Re: [FalconJS] concepts

2012-11-29 Thread Kevin Newman
Oh, I thought Jangaroo switched to a single Canvas a while back. I may have introduced that incorrect information. Sorry about that. Kevin N. On 11/29/12 6:31 AM, Frank Wienberg wrote: Primarily, I also map DOs to DOM elements!

Re: [FlaconJS] pseudo emitter algorithm

2012-11-29 Thread Erik de Bruin
Thanks, Mike! EdB On Thu, Nov 29, 2012 at 4:30 PM, Michael Schmalle wrote: > Hi, > > For those asking question about "where to alter" code, it's not pretty but I > think I know exactly what is going on now. > > If you can understand below, you will now have some insight to where and how > the

[jira] [Commented] (FLEX-33281) Mustella

2012-11-29 Thread JIRA
[ https://issues.apache.org/jira/browse/FLEX-33281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506537#comment-13506537 ] João Fernandes commented on FLEX-33281: --- It's the utility checked in under /mustella

[FlaconJS] pseudo emitter algorithm

2012-11-29 Thread Michael Schmalle
Hi, For those asking question about "where to alter" code, it's not pretty but I think I know exactly what is going on now. If you can understand below, you will now have some insight to where and how the JS code actually gets created. ! Call the compiler load config compile(). JSGener

[jira] [Commented] (FLEX-33281) Mustella

2012-11-29 Thread Carol Frampton (JIRA)
[ https://issues.apache.org/jira/browse/FLEX-33281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506515#comment-13506515 ] Carol Frampton commented on FLEX-33281: --- Will you please be more specific? What is

Re: [POLL] Maven and Apache Flex

2012-11-29 Thread Simon Morvan
Le 28/11/2012 18:35, Alex Harui a écrit : > > > On 11/28/12 2:22 AM, "Bertrand Delacretaz" wrote: > >> On Tue, Nov 27, 2012 at 7:46 PM, Alex Harui wrote: >>> ...6. Rate the following proposed implementations (-1 = not acceptable, 0 = >>> neutral, 1 = acceptable, 2 = preferred) >>> a) You must

Re: [FalconJS] concepts

2012-11-29 Thread Erik de Bruin
Actually, the third argument of 'adobe.extend()' is what can probably considered "the rest" of the output of the JSEmitter (yes, Mike, it did make a little more sense). And that "the rest: is a "simple" object literal, which can easily be parse (as the 'extend' method does). If you want to change

[jira] [Created] (FLEX-33282) Performance issue with multiple item renderers

2012-11-29 Thread Petteri Tuovila (JIRA)
Petteri Tuovila created FLEX-33282: -- Summary: Performance issue with multiple item renderers Key: FLEX-33282 URL: https://issues.apache.org/jira/browse/FLEX-33282 Project: Apache Flex Issue

Re: [FalconJS] concepts

2012-11-29 Thread Daniel Wasilewski
On 11/29/2012 1:36 PM, Michael Schmalle wrote: Laymans; A SWF is created for all classes just like in MXMLC, there is a visitor pattern that is used that traverses the internals of the ISWF. As each of the elements in the SWF are traversed (classes, methods, members etc) calls to the JSEmitt

Re: [FalconJS] concepts

2012-11-29 Thread Michael Schmalle
Quoting Erik de Bruin : "The SWF file is then used to write out the js using a JBurg bottom up reducer/emitter." ;-) Laymans; A SWF is created for all classes just like in MXMLC, there is a visitor pattern that is used that traverses the internals of the ISWF. As each of the elements in t

Re: [FalconJS] concepts

2012-11-29 Thread Erik de Bruin
"The SWF file is then used to write out the js using a JBurg bottom up reducer/emitter." ;-) That means so little to me, while it probably explains everything to someone with the proper background. I'll try to get some more background, so I may be of some use when the time comes to start hacking t

Re: [FalconJS] concepts

2012-11-29 Thread Michael Schmalle
Well you may have missed it since this thread is going forever but I did write something [0] There was one concept I screwed up and that is in the end the loop and write doesn't happen on the monolithic SWF, I think it's for external files that were not linked into the main SWF. Basically

Re: [FalconJS] concepts

2012-11-29 Thread Daniel Wasilewski
On 11/29/2012 12:59 PM, Frank Wienberg wrote: On Thu, Nov 29, 2012 at 1:47 PM, Michael Schmalle wrote: It's not that you can't use a framework and "vanilla" js... Yeah, we use this framework: http://vanilla-js.com/ ;-) Hehe, me too without even knowing ;)

Re: [FalconJS] concepts

2012-11-29 Thread Frank Wienberg
On Thu, Nov 29, 2012 at 1:47 PM, Michael Schmalle wrote: > It's not that you can't use a framework and "vanilla" js... Yeah, we use this framework: http://vanilla-js.com/ ;-)

Re: [FalconJS] concepts

2012-11-29 Thread Erik de Bruin
Mike, Can you explain a little bit (maybe in pseudo-code or whatever) about how the AS3 -> Falcon -> FalsonJS -> JS 'compilation' process works? What I'm looking for is an idea of how the JS output is put together, if you will. Example: how easy (or difficult) is it to exchange one JS "class" crea

RE: [FalconJS] concepts

2012-11-29 Thread Michael Schmalle
It's not that you can't use a framework and "vanilla" js, it's that it has been shown that these candy frameworks that hide vanilla method calls to the DOM severely kill performance. ... For the sake of just entering a $() dollar sign? That's a crazy tradeoff but thousands do it everyday.

RE: [FalconJS] concepts

2012-11-29 Thread Kessler CTR Mark J
Funniest site I've been to today. It's a good point, but it's prob pretty difficult to not use a framework at all. -Original Message- From: Justin Mclean [mailto:justinmcl...@gmail.com] On Behalf Of Justin Mclean Sent: Wednesday, November 28, 2012 18:21 To: flex-dev@incubator.apache.org

Re: [FalconJS] concepts

2012-11-29 Thread Daniel Wasilewski
Yes I do, I was doing research on this subject. In fact my project is about something else, high performance application framework on top of native platforms. AS a bare bones to make a common ground for development. And trying to add few new concepts into it. http://www.bixbite.org/BixBitePres

Re: [POLL] Maven and Apache Flex

2012-11-29 Thread Miguel Serrano
Company: Plumbee Ltd. 1. Number of people who will use Maven to develop Flex apps at your company > (0 if you have no interest in using Maven). > 8 > 2. Maven would be used to develop apps for FlashPlayer in the browser (yes > or no) > Yes 3. Maven would be used to develop apps for AIR on des

Re: [FalconJS] concepts

2012-11-29 Thread Frank Wienberg
Dan, are you aware of FlashJS ? Btw, JooFlash also uses canvas optionally, namely for Graphics and if you set DisplayObject#cacheAsBitmap to true. Primarily, I also map DOs to DOM elements! Greetings -Frank-

[jira] [Created] (FLEX-33281) Mustella

2012-11-29 Thread JIRA
João Fernandes created FLEX-33281: - Summary: Mustella Key: FLEX-33281 URL: https://issues.apache.org/jira/browse/FLEX-33281 Project: Apache Flex Issue Type: Bug Components: Mustell

Re: [FalconJS] concepts

2012-11-29 Thread Daniel Wasilewski
One more idea/concept in regards of mimic flash display list. This is copy paste from my code I am working on. Early prototype stage but... http://www.bixbite.org/html/dsp.html var s,sc; var max = 1000; var stage = new Stage(); var time = getTimer(); for (var i = 0; i trace("TIME:

Re: [FalconJS] concepts

2012-11-29 Thread Michael Schmalle
Right, Yeah, comparing the old MXMLC compiler to Falcon MXMLC code base is like going from a stone cave to a highrise building in terms of engineering. It uses JFlex to create the tokenizer so there is not lexer from antlr. Anyway, others... I am not saying ditch work that has been done on

Re: [FalconJS] concepts

2012-11-29 Thread Daniel Wasilewski
What I am trying to understand in regards to this. Is it, that AS3 -> AST needs to deal with those but AST->JS simply ignore it? AS3 -> AST -> JS Type safe we don't care as long output represents input? Abstract syntax tree is abstract by definition right? On 11/29/2012 8:26 A

Re: [FalconJS] concepts

2012-11-29 Thread Daniel Wasilewski
Yeah, sorry guys, it was quite late yesterday :) On 11/29/2012 5:47 AM, Kevin Newman wrote: I believe that's Frank's blog. :) Kevin N. On 11/28/2012 7:28 PM, Daniel Wasilewski wrote: But I know what the community is capable of, and seeing stuff like jangaroo (I went trough Kevin's blog alrea

Migration to GIT (How the Maven Guys did it)

2012-11-29 Thread christofer.d...@c-ware.de
Hi, I was following the Issue for migrating the maven project to GIT and this is now resolved. I think it should demonstrate how this is done ... Unfortunately I replied to one of the JIRA mails in the maven dev-list so my stupid mail got added as a comment which I couldn't remove :-( ... http

Re: [FalconJS] concepts

2012-11-29 Thread Frank Wienberg
On Thu, Nov 29, 2012 at 8:45 AM, Erik de Bruin wrote: > Well, there is the JavaScript operator "instanceof", what's wrong with > that? > Nothing, but it only works when you actually use the prototype chain, not when you copy all members from the superclass to the subclass. Also, when using Actio

Re: [FalconJS] concepts

2012-11-29 Thread Frank Wienberg
Thanks for the pointer, Alex! I'll hand it on to Andreas Gawecki who is the Jangaroo compiler guy.