Re: [FlexJS] Compiler options / VSCode config

2017-06-09 Thread Olaf Krueger
Josh Tynjala wrote > Did you delete your ./target/javascript directory before compiling with > the > new SDK? I'm pretty sure that I've done that all the time without any success. After I've changed the "output" option as you mentioned the first time including deleting the target folder it works

Re: [FlexJS] Compiler options / VSCode config

2017-06-09 Thread Josh Tynjala
Did you delete your ./target/javascript directory before compiling with the new SDK? I don't see why that would cause this problem, but it's worth a try. Good to get in the habit when switching SDKs anyway, since some old framework JS files might get stale. I've seen some issues with the format of

Re: [FlexJS] Compiler doesn't recognize reserved JS words like 'enum'

2017-05-24 Thread Josh Tynjala
In ES5, there were two changes. As you said, they removed some items from the list of reserved words. Also, all reserved words are now allowed to be used for certain names. As I recall, this includes names of members, but not names of local variables. If enum is still considered reserved in ES, the

Re: [FlexJS] Compiler doesn't recognize reserved JS words like 'enum'

2017-05-24 Thread Olaf Krueger
Josh Tynjala wrote > As I mentioned in my previous post, JavaScript started > allowing reserved words in places where they couldn't be used before with > ES5. Since AS3 is derived from ECMAScript, it's pretty safe for us to do Hi Josh, maybe I get something wrong once again or I miss something bu

Re: [FlexJS] Compiler doesn't recognize reserved JS words like 'enum'

2017-05-23 Thread Josh Tynjala
We've already modified the compiler to support several AS3 reserved words as identifier names. As I mentioned in my previous post, JavaScript started allowing reserved words in places where they couldn't be used before with ES5. Since AS3 is derived from ECMAScript, it's pretty safe for us to do th

Re: [FlexJS] Compiler doesn't recognize reserved JS words like 'enum'

2017-05-23 Thread Olaf Krueger
>I guess the stream will definitely direct towards more people migrating to JS so I think we shouldn’t >prohibit flash related reserver words in the js world. I'm confused. Do you mean that we should allow using AS3 reserved words if they are allowed in the JS world? Wouldn't that mean that AS3 do

Re: [FlexJS] Compiler doesn't recognize reserved JS words like 'enum'

2017-05-23 Thread Christofer Dutz
Really supporting “enums” would be super-cool anyway ;-) Chris Am 23.05.17, 09:08 schrieb "Olaf Krueger" : Hi, >It sounds like enum may be one of those that JavaScript allows that ActionScript currently doesn't. I've checked it out and it turns out that for both (AS3 a

Re: [FlexJS] Compiler doesn't recognize reserved JS words like 'enum'

2017-05-23 Thread Olaf Krueger
Hi, >It sounds like enum may be one of those that JavaScript allows that ActionScript currently doesn't. I've checked it out and it turns out that for both (AS3 and JS, ECMAScript5) 'enum' is flagged as future reserved keyword [1][2]. Does is makes sense to just add it to as3ReservedWords [3]?

Re: [FlexJS] Compiler doesn't recognize reserved JS words like 'enum'

2017-05-23 Thread Christofer Dutz
Hi, Would it be possible to have separate lists of these words and to activate these in the individual compilations? I guess the stream will definitely direct towards more people migrating to JS so I think we shouldn’t prohibit flash related reserver words in the js world. What do you think?

Re: [FlexJS] Compiler doesn't recognize reserved JS words like 'enum'

2017-05-22 Thread Josh Tynjala
There are a number of reserved words in ActionScript that can't be used as identifiers, but they are allowed in JavaScript. We've been trying to support each of them in the compiler whenever someone needs a new one. It sounds like enum may be one of those that JavaScript allows that ActionScript cu

Re: [FlexJS] Compiler doesn't recognize reserved JS words like 'enum'

2017-05-22 Thread piotrz
Olaf, In that case one thought which came to me is to try COMPILE::JS tag for method, but as I remember it wasn't working in the end application. I need to try myself and raise jira probably. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache

Re: [FlexJS] Compiler doesn't recognize reserved JS words like 'enum'

2017-05-22 Thread Olaf Krueger
Hey Piotr, the check-in procedure in Miami was done really quick, much faster than in Germany. So I've had some time to revive the work on my PureMVC EmployeeAdmin FlexJS port ;-) >How this failing fragment of code look like ? Could you post it on https://paste.apache.org/ ? In my case, it occurs

Re: [FlexJS] Compiler doesn't recognize reserved JS words like 'enum'

2017-05-22 Thread piotrz
Hi Olaf :), How this failing fragment of code look like ? Could you post it on https://paste.apache.org/ ? Thanks, Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Compiler-doesn-t-recognize-rese

Re: [FlexJS] Compiler log "INFORMATION: 0 error(s), 0 warning(s), 97.6% typed" isn't always there

2017-04-27 Thread OK
Josh Tynjala wrote > That's output from the Closure compiler. It only runs on a release build, > so maybe when it's not there, you're building the debug version only? Ahh... I thought that I always run the debug build. I'll take care of this and keep an eye on the compiler output. Thank you! Ol

Re: [FlexJS] Compiler log "INFORMATION: 0 error(s), 0 warning(s), 97.6% typed" isn't always there

2017-04-27 Thread Josh Tynjala
That's output from the Closure compiler. It only runs on a release build, so maybe when it's not there, you're building the debug version only? - Josh On Apr 27, 2017 12:40 AM, "OK" wrote: > Hi, > does somebody know why the last rows of the compiler log sometimes look > like > this: > > ---

Re: [FlexJS] Compiler stack trace in nightly related to Closure library

2016-11-11 Thread Josh Tynjala
Okay, I committed a fix that I think will work for all three cases. - Josh On Thu, Nov 10, 2016 at 5:20 PM, Alex Harui wrote: > > > On 11/10/16, 4:02 PM, "Josh Tynjala" wrote: > > >Used the installer to get the nightly. The compiler appears to be unable > >to > >find Closure library. I don't h

Re: [FlexJS] Compiler stack trace in nightly related to Closure library

2016-11-10 Thread Alex Harui
On 11/10/16, 4:02 PM, "Josh Tynjala" wrote: >Used the installer to get the nightly. The compiler appears to be unable >to >find Closure library. I don't have the closure-lib argument set because I >want to use the default, but the call to >getJarThatContainsClasspathResources() appears to retur

Re: FlexJS compiler

2015-03-23 Thread Alex Harui
Looking forward to whatever you can contribute. -Alex On 3/23/15, 1:56 AM, "TeotiGraphix" wrote: >Thanks Alex, you pretty much just reiterated what I thought in my head. > >As far as Randori, that was a kcikass IntelliJ plugin that I started and >Frederic Thomas put a huge amount of time it. We

Re: FlexJS compiler

2015-03-23 Thread TeotiGraphix
Thanks Alex, you pretty much just reiterated what I thought in my head. As far as Randori, that was a kcikass IntelliJ plugin that I started and Frederic Thomas put a huge amount of time it. We had the cross compiler hooked up, I created "bundles" and "library bundles" that were integrated into th

Re: FlexJS compiler

2015-03-22 Thread Alex Harui
On 3/22/15, 4:49 AM, "TeotiGraphix" wrote: >Well I voted for it. > >To be honest, I am still in the complete dark with FlexJS, what/how it >does >what it does and the new component model. I just thought i would drop this >line to see what the happenings are currently. There’s information on th

Re: FlexJS compiler

2015-03-22 Thread Stephane Beladaci (Flexengineer)
Hi Mike, So good to hear from you again! I remember your FSCollectionFX, ResizeManager, and other components pretty well! I think I used them all :) I wanted to comment on your tooling concern, this is from a leaked internal memo by Google engineers on the future of JavaScript in 2011: "Complex

Re: FlexJS compiler

2015-03-22 Thread piotrz
Mike, I have started lately from compiling on my own some examples which we have in our repository. Since there is only one for now IDE which started supports FlexJS [1] I decided to use it. Maybe this is a good starting point for you - To see how such basic application looks like. Some of the exa

Re: FlexJS compiler

2015-03-22 Thread TeotiGraphix
Well I voted for it. To be honest, I am still in the complete dark with FlexJS, what/how it does what it does and the new component model. I just thought i would drop this line to see what the happenings are currently. I helped write the Randori IntelliJ plugin with doublefx back in 2013. That pl

Re: FlexJS compiler

2015-03-22 Thread piotrz
Hi Mike, I am glad that another person is intrested to helping out with FlexJS! :) We are growing! :) Voting on this ticket would be for sure help to get closer support for FlexJS in Intellij. https://youtrack.jetbrains.com/issue/IDEA-116986 They need to know how much we wanted to this feature.

Re: FlexJS compiler

2015-03-22 Thread TeotiGraphix
What's funny is I love antiques, really its more about recycling things and creating new uses for existing stuff. I think the thing that for some odd reason has driven me back to AS3 is the compiler and MXML. Although I use Feathers right now and not using MXML it really did make sense for some th

Re: FlexJS compiler

2015-03-21 Thread Alex Harui
On 3/21/15, 10:45 AM, "TeotiGraphix" wrote: >Hi Erik and Alex, > >Yeah, life is funny sometimes. I have spent the last couple years doing >music dev I guess you could say. Yeah, I remember you saying you were going to do something like that. Anyway, glad to have to back, even it is just for a

Re: FlexJS compiler

2015-03-21 Thread TeotiGraphix
Hi Erik and Alex, Yeah, life is funny sometimes. I have spent the last couple years doing music dev I guess you could say. I guess I am in a tinker mood since I have some real things I am working on now for release and was drawn back to AS3 and AIR mobile for it's simplicity, fast iterations and

Re: FlexJS compiler

2015-03-21 Thread Erik de Bruin
Hey Mike! For my part, I followed your original paradigms as close as I knew how. I had to do pretty extensive hacking to get MXML to actually work, but so far, so good. What I'm less sure about, or rather pretty unsure about, is the handling of AS in MXML tags... I'm pretty sure that is only work

Re: FlexJS compiler

2015-03-21 Thread Alex Harui
Hi Michael, Good to hear from you again. FalconJX is still being worked on. I’m in the middle of a major change to use Object.defineProperty. Fundamentally, the AST walking you set up hasn’t changed. Get the Git repo and develop branch and join in! -Alex On 3/21/15, 8:04 AM, "TeotiGraphix"

Re: FlexJS compiler support for FDT

2014-03-05 Thread Carlos Rovira
Hi Erik, that's good. I forgot to mention that Alexander from IntelliJ's IDEA respond some days ago about the FlexJS support in the corresponding thread: IDEA-116986 It seems there's plan to support FlexJS as some other already p

Re: FlexJS compiler support for FDT

2014-03-05 Thread Erik de Bruin
Hi, I've updated the PowerFlasher JIRA ticket about the FlexJS integration: http://bugs.powerflasher.com/jira/browse/FDT-3281 Thanks, EdB On Sun, Dec 15, 2013 at 9:48 AM, Erik de Bruin wrote: > Sorry about the delay, but the nightlies appear to be working again. > > Please let us know if

Re: FlexJS compiler support for FDT

2013-12-15 Thread Erik de Bruin
Sorry about the delay, but the nightlies appear to be working again. Please let us know if there is anything else we can do to make the integration process easier/smoother/better. Thanks for you patience, EdB On Wed, Dec 4, 2013 at 12:28 AM, Alex Harui wrote: > OK, I think things are fixed a

Re: FlexJS compiler support for FDT

2013-12-03 Thread Alex Harui
OK, I think things are fixed again. The next nightly build should work better. -Alex On 12/3/13 10:34 AM, "Alex Harui" wrote: >Actually, I just synced up to the repo and am getting the same error. I >think something has gotten broken on our side. > >On 12/3/13 3:58 AM, "Erik de Bruin" wrote:

Re: FlexJS compiler support for FDT

2013-12-03 Thread Alex Harui
Actually, I just synced up to the repo and am getting the same error. I think something has gotten broken on our side. On 12/3/13 3:58 AM, "Erik de Bruin" wrote: >Hi, > >Good to hear you're working on this! > >Last week I greatly simplified the command line you need to >successfully build a Fle

Re: FlexJS compiler support for FDT

2013-12-03 Thread Erik de Bruin
Hi, Good to hear you're working on this! Last week I greatly simplified the command line you need to successfully build a FlexJS project. We're working on getting the installer to create a 'one click FlexJS SDK' that will contain all dependencies except Java, but until that time it looks like yo