Re: [FalconJX jsc] Stop renaming of packages using underscore when compiling with jsc

2015-06-28 Thread Erik de Bruin
> > Actually, I just studied the code more and it's subclass hell(I didn't work > on this part of the framework). > Thanks, mate ;-) That should teach you to always do everything yourself! EdB P.S. In case you missed it, I'm just kidding. There are (many) parts of the code that deserve the atte

Re: [FalconJX] Code formatting

2015-06-28 Thread Erik de Bruin
Mike, I wholeheartedly agree with the need for a uniform formatting, and I think it doesn't really matter which rules are used, as long as they are used. A matter of procedure though: what you are doing with the '3 days till armageddon' is actually called a "lazy vote". Normally we do prefix the

[ANNOUNCE] Apache Flex SDK Installer 3.2

2015-06-28 Thread Alex Harui
The Apache Flex community is pleased to announce the release of Apache Flex SDK Installer 3.2 Apache Flex is a highly productive, open source application framework for building and maintaining expressive applications that deploy consistently on all major browsers, desktops and devices (including s

Re: [FalconJX] Scope when calling member function from a reference

2015-06-28 Thread Alex Harui
On 6/28/15, 2:21 PM, "Michael Schmalle" wrote: >On Sun, Jun 28, 2015 at 5:17 PM, Josh Tynjala >wrote: > >> Yes, that is correct. >> >> In case it wasn't obvious, event listeners are the typical use case >>where >> you'd pass a reference to a member function somewhere else where a >> reference

Re: [FalconJX jsc] Stop renaming of packages using underscore when compiling with jsc

2015-06-28 Thread Alex Harui
On 6/28/15, 1:19 PM, "Josh Tynjala" wrote: >Thanks again, Alex. I had some time to give it a try it today. The CSS >file >isn't created, and the classes aren't renamed. That looks good. It still >creates an HTML file, though. I'm looking for the only output to be >JavaScript. Ah, sorry, I miss

Re: [RESULT][VOTE] Release Apache Flex SDK Installer 3.2 RC2

2015-06-28 Thread Alex Harui
Will send in a minute or two. I updated the badge last night to and wanted to see if anybody complained. -Alex On 6/28/15, 7:39 PM, "Justin Mclean" wrote: >Hi, > >Has the announcement email gone out? > >Justin

Re: [RESULT][VOTE] Release Apache Flex SDK Installer 3.2 RC2

2015-06-28 Thread Justin Mclean
Hi, Has the announcement email gone out? Justin

Re: [FalconJX jsc] Stop renaming of packages using underscore when compiling with jsc

2015-06-28 Thread Michael Schmalle
On Sun, Jun 28, 2015 at 6:41 PM, Josh Tynjala wrote: > Cool. Sounds like a good foundation. > > I was able to get CreateJS up and running today. I only drew a circle and > animated it's position, but it's a start. I need to finish up the first > beta of the Feathers SDK this coming week, but I'll

Re: [FalconJX jsc] Stop renaming of packages using underscore when compiling with jsc

2015-06-28 Thread Josh Tynjala
Cool. Sounds like a good foundation. I was able to get CreateJS up and running today. I only drew a circle and animated it's position, but it's a start. I need to finish up the first beta of the Feathers SDK this coming week, but I'll have more time to play around after that's out. - Josh On Sun

Re: [FalconJX jsc] Stop renaming of packages using underscore when compiling with jsc

2015-06-28 Thread Michael Schmalle
Word, that is great. Now we have a lot of control with what we want to do with js-output-type jsc because we have a whole new backend and I am not going to step on FlexJS if we want to start doing things to a custom emitter, publisher etc. Mike On Sun, Jun 28, 2015 at 6:19 PM, Josh Tynjala wrot

Re: [FalconJX jsc] Stop renaming of packages using underscore when compiling with jsc

2015-06-28 Thread Josh Tynjala
Thanks, Mike! That did the trick. I thought maybe I was building something wrong for a minute there. - Josh On Sun, Jun 28, 2015 at 3:09 PM, Michael Schmalle wrote: > Actually, I just studied the code more and it's subclass hell(I didn't work > on this part of the framework). > > I rewrote the

[FalconJX] Code formatting

2015-06-28 Thread Michael Schmalle
Hi, I am going to let this thread sit for 3 days and if nobody objects, I am going to commit a code format xml(with Apache header) from Eclipse that was used for most of my development of FalconJX 2 years ago. Yeah it may not be what everybody likes but a lot of the framework I wrote was formatte

Re: [FalconJX jsc] Stop renaming of packages using underscore when compiling with jsc

2015-06-28 Thread Michael Schmalle
Actually, I just studied the code more and it's subclass hell(I didn't work on this part of the framework). I rewrote the backend and created a JSCBackend that just stubs off the writeHTML(), can you let me know if this commit works. Mike On Sun, Jun 28, 2015 at 5:00 PM, Michael Schmalle wrote:

Re: [FalconJX] Scope when calling member function from a reference

2015-06-28 Thread Josh Tynjala
Here's the JIRA ticket: https://issues.apache.org/jira/browse/FLEX-34897 - Josh On Sun, Jun 28, 2015 at 2:21 PM, Michael Schmalle wrote: > On Sun, Jun 28, 2015 at 5:17 PM, Josh Tynjala > wrote: > > > Yes, that is correct. > > > > In case it wasn't obvious, event listeners are the typical use

Re: [FalconJX] Scope when calling member function from a reference

2015-06-28 Thread Michael Schmalle
On Sun, Jun 28, 2015 at 5:17 PM, Josh Tynjala wrote: > Yes, that is correct. > > In case it wasn't obvious, event listeners are the typical use case where > you'd pass a reference to a member function somewhere else where a > reference needs to be saved in a variable. AS3 made this easy by > auto

Re: [FalconJX] Scope when calling member function from a reference

2015-06-28 Thread Josh Tynjala
Yes, that is correct. In case it wasn't obvious, event listeners are the typical use case where you'd pass a reference to a member function somewhere else where a reference needs to be saved in a variable. AS3 made this easy by automatically binding member functions. JavaScript usually requires so

Re: [FalconJX] Scope when calling member function from a reference

2015-06-28 Thread Michael Schmalle
So this only happens in javascript when you pass an object function to a variable? SO what I am saying is that not using this.func() is what looses the connection to the instance scope and then this becaomes window, correct? Mike On Sun, Jun 28, 2015 at 4:48 PM, Josh Tynjala wrote: > In Flash P

Re: [FalconJX jsc] Stop renaming of packages using underscore when compiling with jsc

2015-06-28 Thread Michael Schmalle
I just committed this change, can you test it Josh? Mike On Sun, Jun 28, 2015 at 4:47 PM, Michael Schmalle wrote: > I can take a look real quick, I have a feeling I know where it is, Alex I > think is on vacation. > > Mike > > On Sun, Jun 28, 2015 at 4:19 PM, Josh Tynjala > wrote: > >> Thanks

[FalconJX] Scope when calling member function from a reference

2015-06-28 Thread Josh Tynjala
In Flash Player, when you save a reference to a member function, you can call the function reference, and "this" will still be bound to the instance where it came from. public class Test { public function Test() { this.func(); var func:Function = this.func; func();

Re: [FalconJX jsc] Stop renaming of packages using underscore when compiling with jsc

2015-06-28 Thread Michael Schmalle
I can take a look real quick, I have a feeling I know where it is, Alex I think is on vacation. Mike On Sun, Jun 28, 2015 at 4:19 PM, Josh Tynjala wrote: > Thanks again, Alex. I had some time to give it a try it today. The CSS file > isn't created, and the classes aren't renamed. That looks goo

Re: [FalconJX jsc] Stop renaming of packages using underscore when compiling with jsc

2015-06-28 Thread Josh Tynjala
Thanks again, Alex. I had some time to give it a try it today. The CSS file isn't created, and the classes aren't renamed. That looks good. It still creates an HTML file, though. I'm looking for the only output to be JavaScript. - Josh On Sat, Jun 27, 2015 at 9:05 AM, Josh Tynjala wrote: > Than

Re: [Externs] jasmine-2.0.js

2015-06-28 Thread Michael Schmalle
On Sun, Jun 28, 2015 at 3:57 PM, Frédéric THOMAS wrote: > I just found that > http://stackoverflow.com/questions/881515/how-do-i-declare-a-namespace-in-javascript > > There are I guess all the ways to create them. > haha I looked at that very same thread a couple weeks ago. There is a way that

RE: [Externs] jasmine-2.0.js

2015-06-28 Thread Frédéric THOMAS
I just found that http://stackoverflow.com/questions/881515/how-do-i-declare-a-namespace-in-javascript There are I guess all the ways to create them. Frédéric THOMAS > Date: Sun, 28 Jun 2015 15:51:45 -0400 > Subject: Re: [Externs] jasmine-2.0.js > From:

Re: [Externs] jasmine-2.0.js

2015-06-28 Thread Michael Schmalle
On Sun, Jun 28, 2015 at 3:49 PM, Frédéric THOMAS wrote: > > My intuition is telling me I am not handling them correctly for most > cases, > > things work right now but it would be better if we had some test .js > files > > that had all types of package/namespace creation structures. > > Like what

RE: [Externs] jasmine-2.0.js

2015-06-28 Thread Frédéric THOMAS
> My intuition is telling me I am not handling them correctly for most cases, > things work right now but it would be better if we had some test .js files > that had all types of package/namespace creation structures. Like what ? Frédéric THOMAS > Date:

RE: [Externs] jasmine-2.0.js

2015-06-28 Thread Frédéric THOMAS
Alright ! Frédéric THOMAS > Date: Sun, 28 Jun 2015 15:28:54 -0400 > Subject: Re: [Externs] jasmine-2.0.js > From: teotigraphix...@gmail.com > To: dev@flex.apache.org > > Fred, what I plan on doing since you are going to be working with the code > is start

Re: [Externs] jasmine-2.0.js

2015-06-28 Thread Michael Schmalle
And... haha packages are really sketchy. We need more package type test from the externs that use them. My intuition is telling me I am not handling them correctly for most cases, things work right now but it would be better if we had some test .js files that had all types of package/namespace cre

Re: [Externs] jasmine-2.0.js

2015-06-28 Thread Michael Schmalle
Fred, what I plan on doing since you are going to be working with the code is start to test all the base externs we have and find bugs or non implemented things. I will probably just add the things I find in JIRA throughout the week during my little free time. I'm not going to change any code, jus

RE: [Externs] jasmine-2.0.js

2015-06-28 Thread Frédéric THOMAS
Thanks ! Frédéric THOMAS > Date: Sun, 28 Jun 2015 15:11:20 -0400 > Subject: Re: [Externs] jasmine-2.0.js > From: teotigraphix...@gmail.com > To: dev@flex.apache.org > > Yeah I know, sent to your hotmail. > > Mike > > On Sun, Jun 28, 2015 at 3:10 PM, Frédé

Re: [Externs] jasmine-2.0.js

2015-06-28 Thread Michael Schmalle
Yeah I know, sent to your hotmail. Mike On Sun, Jun 28, 2015 at 3:10 PM, Frédéric THOMAS wrote: > > What you can do is to send me your eclipse formatter property file. > > I will use it in IJ. > > I meant export your formatter profiles in xml > > Thanks, > Frédéric THOMAS > > >

RE: [Externs] jasmine-2.0.js

2015-06-28 Thread Frédéric THOMAS
> What you can do is to send me your eclipse formatter property file. > I will use it in IJ. I meant export your formatter profiles in xml Thanks, Frédéric THOMAS > From: webdoubl...@hotmail.com > To: dev@flex.apache.org > Subject: RE: [Externs] jasmine-

RE: [Externs] jasmine-2.0.js

2015-06-28 Thread Frédéric THOMAS
> BTW, what should we do about code formatting, it seems my formatting is > different then yours. I am using Eclipse right now since I don't have IJ > setup for Falcon dev. I was wrong when I thought I had setup IJ correctly for Falcon, they are still things it doesn't know how to do, for instanc

Re: [Externs] jasmine-2.0.js

2015-06-28 Thread Michael Schmalle
BTW, what should we do about code formatting, it seems my formatting is different then yours. I am using Eclipse right now since I don't have IJ setup for Falcon dev. Mike On Sun, Jun 28, 2015 at 2:55 PM, Michael Schmalle wrote: > Yeah, I didn't want to go crazy with subclasses. Ideally class,

Re: [Externs] jasmine-2.0.js

2015-06-28 Thread Michael Schmalle
Yeah, I didn't want to go crazy with subclasses. Ideally class, function and constant could share a "TopLevelReference" subclass of BaseReference and you could put import logic there if you wanted to. Mike On Sun, Jun 28, 2015 at 2:51 PM, Frédéric THOMAS wrote: > > Once you find instances of im

RE: [Externs] jasmine-2.0.js

2015-06-28 Thread Frédéric THOMAS
> Once you find instances of imports that need to be saves, your current > context is already the ClassReference, so call classRef.addImport(). :) Btw, I will probably need to have a addImport() FunctionReference too, right ? Frédéric THOMAS > Date: Sun,

RE: [Externs] jasmine-2.0.js

2015-06-28 Thread Frédéric THOMAS
> If it's top level why would we need an import, I am confused? lol, sorry, not enough coffee !! Frédéric THOMAS > Date: Sun, 28 Jun 2015 14:41:52 -0400 > Subject: Re: [Externs] jasmine-2.0.js > From: teotigraphix...@gmail.com > To: dev@flex.apache.org >

Re: [Externs] jasmine-2.0.js

2015-06-28 Thread Michael Schmalle
If it's top level why would we need an import, I am confused? Mike On Sun, Jun 28, 2015 at 2:38 PM, Frédéric THOMAS wrote: > > I am going to be busy most of the week remodeling my mother in laws > > bathroom starting tomorrow. So if you want to try a new custom pass like > > ResolveImportPass,

RE: [Externs] jasmine-2.0.js

2015-06-28 Thread Frédéric THOMAS
> I am going to be busy most of the week remodeling my mother in laws > bathroom starting tomorrow. So if you want to try a new custom pass like > ResolveImportPass, go for it, I will just stay out of the way. I think it > would be good for you. :) If not, no worries, you gave me the idea. haha > >

Re: [Externs] jasmine-2.0.js

2015-06-28 Thread Michael Schmalle
BTW, this goes for Constant, Function and Class/Interface top level refs. You visit each one of these references from the model and go into the class members or function/constant signatures. Mike On Sun, Jun 28, 2015 at 2:23 PM, Michael Schmalle wrote: > Kewl. > > I am going to be busy most of

Re: [Externs] jasmine-2.0.js

2015-06-28 Thread Michael Schmalle
Kewl. I am going to be busy most of the week remodeling my mother in laws bathroom starting tomorrow. So if you want to try a new custom pass like ResolveImportPass, go for it, I will just stay out of the way. I think it would be good for you. :) If not, no worries, you gave me the idea. haha If

RE: [Externs] jasmine-2.0.js

2015-06-28 Thread Frédéric THOMAS
> All I meant is that 75% of the time we would just want to save things in > the model or a reference, such that you use addImport() during the > resolution. Then it keeps the emit() phase straight burn rubber and loop > through all existing model structures, where imports would be just a list > th

Re: [Externs] jasmine-2.0.js

2015-06-28 Thread Michael Schmalle
By the way, I know you see visit a lot but this implementation is not recursive in the way FalconJX is. The main loop iterates over a SCRIPT node's children 1 level deep. When certain node structures are found in the child, a visit*() method is called to visit that child node. There isn't anywhere

Re: [Externs] jasmine-2.0.js

2015-06-28 Thread Michael Schmalle
Fred you did an awesome job. :) All I meant is that 75% of the time we would just want to save things in the model or a reference, such that you use addImport() during the resolution. Then it keeps the emit() phase straight burn rubber and loop through all existing model structures, where imports

RE: [Externs] jasmine-2.0.js

2015-06-28 Thread Frédéric THOMAS
> Fred pretty much iterated things correctly. > > The ResolvePackageNamePass I haven't to get back to. I was in the middle of > implementing something when I got it to work in another place. > > There is a pattern to how things are parsed so most of the time it's better > to set state as nodes/refe

Re: [Externs] jasmine-2.0.js

2015-06-28 Thread Michael Schmalle
+ Manage the case where a custom class belongs + to the top level package and needs to be imported + in a sub-package as I don't know how to deal with + builtin classes. Can you explain this a bit more? I am not understanding the problem, if a class

Re: [Externs] jasmine-2.0.js

2015-06-28 Thread Michael Schmalle
Fred pretty much iterated things correctly. The ResolvePackageNamePass I haven't to get back to. I was in the middle of implementing something when I got it to work in another place. There is a pattern to how things are parsed so most of the time it's better to set state as nodes/references are b

RE: [2/2] git commit: [flex-falcon] [refs/heads/develop] - Renamed ExcludedMemeber to ExcludedMember

2015-06-28 Thread Frédéric THOMAS
> I was going to change this last night, you beat me to it. :-) Yes, it was a bit perturbing. Frédéric THOMAS > Date: Sun, 28 Jun 2015 12:51:38 -0400 > Subject: Re: [2/2] git commit: [flex-falcon] [refs/heads/develop] - Renamed > ExcludedMemeber to Excl

Re: [2/2] git commit: [flex-falcon] [refs/heads/develop] - Renamed ExcludedMemeber to ExcludedMember

2015-06-28 Thread Michael Schmalle
I was going to change this last night, you beat me to it. Mike On Sun, Jun 28, 2015 at 12:25 PM, wrote: > Renamed ExcludedMemeber to ExcludedMember > > > Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo > Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/108dc013