RE: [FlexJS] FlexJS vs. AngularJS 2.0

2015-06-17 Thread Kessler CTR Mark J
On a side note, I remember fiddling with angular a while back. I bumped into this free training for it [1] that gave a good start up understanding of how some of the things work in it. [1] http://campus.codeschool.com/courses/shaping-up-with-angular-js/intro -Mark -Original Message-

RE: [FlexJS] FlexJS vs. AngularJS 2.0

2015-06-17 Thread piotrz
Heh Mark - I have started my short adventure with AngularJS from exactly same tutorial. Really good. :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-FlexJS-vs-AngularJS-2-0-tp47827p47899.html

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-17 Thread Frédéric THOMAS
> IMO, if you are building MXML + AS apps that run in SWF and cross compile > to JS, do not include JS.swc in your library path. If you want to build > an AS app that only cross compiles to JS, try to make JS.swc the only > library in your external-library-path. Do not put JS.swc in the regular > l

RE: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Integration)

2015-06-17 Thread Frédéric THOMAS
> Fred; The point is, you would have to rename every package level class to > not get an ambiguous error in the IDE. Yes, but I guess it should be done for Object as there are no way to get it in IJ as it has a hardcoded definition, the JSObject option seems good to me, what about you ? Frédéri

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-17 Thread piotrz
As I said I have removed it and build pass, but I'm having this issue once I'm trying to launch swf version of app. - I don't know why. [1] :( This is for sure not the solution - getting buildable project after I remove JS.swc. :) [1] http://images.devs-on.net/Image/34OZOpM8gIUatE2p-Obszar.png P

Re: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Integration)

2015-06-17 Thread Alex Harui
On 6/17/15, 7:20 AM, "Frédéric THOMAS" wrote: >> Fred; The point is, you would have to rename every package level class >>to >> not get an ambiguous error in the IDE. > >Yes, but I guess it should be done for Object as there are no way to get >it in IJ as it has a hardcoded definition, the JSOb

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-17 Thread Frédéric THOMAS
I assume you removed it from the IJ module build configuration dependencies, there are no other references to it and you did build / rebuild project ? I have to admit, I can't see a reason, it works for me but now with the fix I did yesterday (thanks again btw) does the IJ message output pan af

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-17 Thread Alex Harui
Is there a way to get IJ to tell us which SWCs are in the library-path vs the external-library-path? I’m wondering if this can happen if playerglobal is in the library-path. -Alex On 6/17/15, 7:29 AM, "Frédéric THOMAS" wrote: > >I assume you removed it from the IJ module build configuration >d

Re: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Integration)

2015-06-17 Thread Michael Schmalle
On Wed, Jun 17, 2015 at 10:29 AM, Alex Harui wrote: > > > On 6/17/15, 7:20 AM, "Frédéric THOMAS" wrote: > > >> Fred; The point is, you would have to rename every package level class > >>to > >> not get an ambiguous error in the IDE. > > > >Yes, but I guess it should be done for Object as there a

RE: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Integration)

2015-06-17 Thread Frédéric THOMAS
> Wouldn’t that mess up inheritance from everything that extends Object? Well, I'm not sure, I propose but could it be messed up if the inheritance was on JSObject for the Object based classes in JS.swc but still emitted with Object in the produced JS file ? > Wouldn’t that mess up inheritance

RE: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Integration)

2015-06-17 Thread Frédéric THOMAS
> What Fred is saying, Have JSObject extend Object. Thus JSObject would have > all ES3 and ES5 Object properties and methods, thus IJ would code hint > correctly I could be wrong but wrong but I would think it would work even though JSObject doesn't extend Object. When you construct JS.swc parsin

Re: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Integration)

2015-06-17 Thread Michael Schmalle
On Wed, Jun 17, 2015 at 11:12 AM, Frédéric THOMAS wrote: > > What Fred is saying, Have JSObject extend Object. Thus JSObject would > have > > all ES3 and ES5 Object properties and methods, thus IJ would code hint > > correctly > > I could be wrong but wrong but I would think it would work even th

RE: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Integration)

2015-06-17 Thread Frédéric THOMAS
> Yes, BUT Falcon COMPC still needs an Object definition to compile! ;-) That > is the sticker point here, you see my point? Ah yes, I see your point, does it mean we should live without completion in IJ for this extended definition ? Btw, weird, it seems to be like that only for Object, For Arr

Re: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Integration)

2015-06-17 Thread Michael Schmalle
Oh yeah one other thing Fred, EVERYTING needs to extend JSObject that extends Object(in the externs def) for it to work correctly in IJ code completion. Or else IJ will think the HTML class extends it's ECMA2 Object and not JSObject. Mike On Wed, Jun 17, 2015 at 11:20 AM, Michael Schmalle < teoti

RE: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Integration)

2015-06-17 Thread Frédéric THOMAS
> Oh yeah one other thing Fred, EVERYTING needs to extend JSObject that > extends Object(in the externs def) for it to work correctly in IJ code > completion. Or else IJ will think the HTML class extends it's ECMA2 Object > and not JSObject. Yes, it is what I meant but EVERYTHING in JS.swc only, r

Re: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Integration)

2015-06-17 Thread Michael Schmalle
On Wed, Jun 17, 2015 at 11:25 AM, Frédéric THOMAS wrote: > > Oh yeah one other thing Fred, EVERYTING needs to extend JSObject that > > extends Object(in the externs def) for it to work correctly in IJ code > > completion. Or else IJ will think the HTML class extends it's ECMA2 > Object > > and no

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-17 Thread Frédéric THOMAS
> Is there a way to get IJ to tell us which SWCs are in the library-path vs > the external-library-path? I’m wondering if this can happen if > playerglobal is in the library-path. No, there is not an easy way, the time to live of the IJ generated config.xml based on the build configuration is ver

Re: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Integration)

2015-06-17 Thread Josh Tynjala
Seems to me like we could get a bunch of developers who are interested in the compiler to pile on and vote on an issue to show that it's important. I'd rather not have the compiler jump through hoops just to get one buggy IDE to give proper code hinting. - Josh On Wed, Jun 17, 2015 at 8:34 AM, Mi

Re: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Integration)

2015-06-17 Thread Josh Tynjala
Seems like it would also make things weird for developers that don't use IntelliJ IDEA, not to mention every other IDE that might want to support this compiler. Will everyone be forced to deal with this weird JSObject hack? Or can it be hidden behind some compiler flag that only IntelliJ IDEA users

Re: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Integration)

2015-06-17 Thread Alex Harui
Along that line of thinking: What are some (or all) of the APIs on Object that are missing, and realistically, how often should someone want to use them? Do we think folks writing TS code use them? If not, and there is a different way to do the same thing in AS, and few folks are even going to h

Re: [FlexJS] FlexJS vs. AngularJS 2.0

2015-06-17 Thread roksmediainc
I think a comparison to polymer would be interesting as well. Richard Oren 714-916-2102 > On 15 Jun 2015, at 1:06 pm, OmPrakash Muppirala wrote: > > Here is a rundown of how to do things with AngularJS 2.0: > http://angular-tips.com/blog/2015/06/why-will-angular-2-rock/ > > As I walk through t

RE: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Integration)

2015-06-17 Thread Frédéric THOMAS
Well, looking at it better, we probably have everything we need with our OOP mechanism for not having to use it. Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ >

[FlexJS] WebAssembly is here

2015-06-17 Thread OmPrakash Muppirala
Looks like we can bypass compilation to JavaScript and go directly to bytecode that runs in browsers soon: https://brendaneich.com/2015/06/from-asm-js-to-webassembly/ Thanks, Om

Re: [FlexJS] WebAssembly is here

2015-06-17 Thread OmPrakash Muppirala
Just going through the design docs here: https://github.com/WebAssembly/design/blob/master/AstSemantics.md https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md Lots of stuff that go over my head, but might be of interest to the compiler gurus here. Thanks, Om On Wed, Jun 17, 2015

Re: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Integration)

2015-06-17 Thread Michael Schmalle
Just to add, I am coming at this as a compiler dev not a user right now. So Josh, I may seem short sighted trying to hack something with an IDE I use but I hope you don't get that impression from me. I annoyed that IJ doesn't use the Object definition of our Object. I have a feeling I know why and

Re: [FlexJS] WebAssembly is here

2015-06-17 Thread Michael Schmalle
Haha, this is paid work man, that is a lot of work to do this. :) this is like writing another SWF bytecode emitter. Mike On Wed, Jun 17, 2015 at 3:17 PM, OmPrakash Muppirala wrote: > Just going through the design docs here: > > https://github.com/WebAssembly/design/blob/master/AstSemantics.md

[FlexJS] Using JS.swc in Flash Builder - update

2015-06-17 Thread OmPrakash Muppirala
I just tried it out with Flash Builder. Some issues along the way: 1. I can add it as a .swc dependency in the Build Path settings. Code completion, etc. works great from within FB. But the FlexJS crosscompiler ExternalTool does not seem to be able to resolve the dependency. This is the error

[FlexJS] JS.swc does not seem to have any SVG* element defintions

2015-06-17 Thread OmPrakash Muppirala
Michael, I thought that you had added these definitions in JS.swc. At least I remember seeing a screenshot with all the SVG related classes. Any chance you can take a look and see what's happening? Now that I have everything working on Flash Builder, I want to build a couple of really cool demo

Re: FlashBuilder stopped working

2015-06-17 Thread Peter Ent
Just and FYI if this happens to you: Had this happen now twice today. First time I deleted the entire .metadata directory (rather than a full install). While that worked, it meant I had to reset my preferences. The second time I deleted .metadata/.plugins/org.eclipse.core.resources/.safetable (I d

Re: [FlexJS] JS.swc does not seem to have any SVG* element defintions

2015-06-17 Thread Michael Schmalle
Nope, they had a lot of interfaces and when I initially showed you that I had totally hacked a bunch of stuff. All the while, I went back and refactored everything and wrote unit tests from the ground up using the closure compiler's parser and AST. The funny thing is I knew you were going to ask

Re: [FlexJS] JS.swc does not seem to have any SVG* element defintions

2015-06-17 Thread Alex Harui
On 6/17/15, 1:41 PM, "Michael Schmalle" wrote: >I needed to ask about what we are going to do about that because the file >svg. is not part of the closure-compiler project, it's external. I think you can use this one. https://closureidl.googlecode.com/files/svg.js -Alex

Re: [FlexJS] JS.swc does not seem to have any SVG* element defintions

2015-06-17 Thread Michael Schmalle
Yeah I am using it but it has to be available for compiler just like the other ones are. Mike On Wed, Jun 17, 2015 at 5:24 PM, Alex Harui wrote: > > > On 6/17/15, 1:41 PM, "Michael Schmalle" wrote: > > >I needed to ask about what we are going to do about that because the file > >svg. is not pa

Re: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Integration)

2015-06-17 Thread Josh Tynjala
IntelliJ IDEA is an prominent IDE for ActionScript developers these days. I totally understand why you want this compiler to work well there. I use IntelliJ IDEA every day, so I would love it if everything worked there, out of the box. I'm just throwing in my two cents about what I see as potentia

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-17 Thread piotrz
Initially I was removing JS.swc from the folder, but now I did as you said remove it from configuration dependencies. With your fix I was able to use Mxmlc/Compc options and this is what I got in the console [1]. Attempt to launch swf [2]. Once I click Continue (in Polsish Kontynuuj) I got [3]. JS

Re: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Integration)

2015-06-17 Thread Michael Schmalle
On Wed, Jun 17, 2015 at 5:34 PM, Josh Tynjala wrote: > IntelliJ IDEA is an prominent IDE for ActionScript developers these days. I > totally understand why you want this compiler to work well there. I use > IntelliJ IDEA every day, so I would love it if everything worked there, out > of the box.

Re: [FlexJS] JS.swc does not seem to have any SVG* element defintions

2015-06-17 Thread Michael Schmalle
Ah this is a nasty file to deal with, it's generated from IDL and has 10,000 lines with massive interfaces that have to have their prototypes transformed to get/set. Who thinks I can do this? haha Mike On Wed, Jun 17, 2015 at 5:30 PM, Michael Schmalle wrote: > Yeah I am using it but it has to

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-17 Thread piotrz
I build DataGridExample and got exactly same error during the launch of swf and following errors in the javascripts: [1] [2] [1] http://images.devs-on.net/Image/EW1mNkuX76gxcUMH-Obszar.png [2] http://images.devs-on.net/Image/8T08aAVeUftNosFb-Cayekran.png Piotr - Apache Flex PMC piotrzarzyc

Re: [FlexJS] JS.swc does not seem to have any SVG* element defintions

2015-06-17 Thread OmPrakash Muppirala
On Wed, Jun 17, 2015 at 2:47 PM, Michael Schmalle wrote: > Ah this is a nasty file to deal with, it's generated from IDL and has > 10,000 lines with massive interfaces that have to have their prototypes > transformed to get/set. > > Who thinks I can do this? haha > > Mike > Dude, I have been ref

Re: [FlexJS] JS.swc does not seem to have any SVG* element defintions

2015-06-17 Thread Alex Harui
On 6/17/15, 2:47 PM, "Michael Schmalle" wrote: >Ah this is a nasty file to deal with, it's generated from IDL and has >10,000 lines with massive interfaces that have to have their prototypes >transformed to get/set. I’m not sure I understand the part about prototype transformation. I only saw

Re: [FlexJS] JS.swc does not seem to have any SVG* element defintions

2015-06-17 Thread Michael Schmalle
Well I got it to compile on one condition. I had to turn on the emit props and methods for the interfaces. The actual classes themselves have all the definitions. There are major conflicts with the SVG* interfaces and some base stuff. Example; Element.style is CSSStyleDeclaration, in SVG it redec

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-17 Thread Alex Harui
Piotr, Please file a JIRA issue and attach one of these broken SWFs. Thanks, -Alex On 6/17/15, 2:29 PM, "piotrz" wrote: >I build DataGridExample and got exactly same error during the launch of >swf >and following errors in the javascripts: [1] [2] > >[1] http://images.devs-on.net/Image/EW1mNku

Re: [FlexJS] JS.swc does not seem to have any SVG* element defintions

2015-06-17 Thread Michael Schmalle
On Wed, Jun 17, 2015 at 6:16 PM, Alex Harui wrote: > > > On 6/17/15, 2:47 PM, "Michael Schmalle" wrote: > > >Ah this is a nasty file to deal with, it's generated from IDL and has > >10,000 lines with massive interfaces that have to have their prototypes > >transformed to get/set. > > I’m not sur

Re: [FlexJS] JS.swc does not seem to have any SVG* element defintions

2015-06-17 Thread Alex Harui
On 6/17/15, 3:22 PM, "Michael Schmalle" wrote: >On Wed, Jun 17, 2015 at 6:16 PM, Alex Harui wrote: > >> >> >> On 6/17/15, 2:47 PM, "Michael Schmalle" >>wrote: >> >> >Ah this is a nasty file to deal with, it's generated from IDL and has >> >10,000 lines with massive interfaces that have to hav

Re: [FlexJS] JS.swc does not seem to have any SVG* element defintions

2015-06-17 Thread OmPrakash Muppirala
On Wed, Jun 17, 2015 at 3:20 PM, Michael Schmalle wrote: > Well I got it to compile on one condition. I had to turn on the emit props > and methods for the interfaces. > > The actual classes themselves have all the definitions. There are major > conflicts with the SVG* interfaces and some base st

Re: [FlexJS] JS.swc does not seem to have any SVG* element defintions

2015-06-17 Thread OmPrakash Muppirala
It works for the most part! At some point, the code completion stopped working. I am not able to get it back now. But, the good news, here is an interactive US built completely in ActionScript3! Working demo: http://bigosmallm.github.io/flexjs/mapexample/ AS3 code: https://gist.github.com/bigos

Re: [FlexJS] JS.swc does not seem to have any SVG* element defintions

2015-06-17 Thread Alex Harui
Sweet! On 6/17/15, 5:31 PM, "OmPrakash Muppirala" wrote: >It works for the most part! At some point, the code completion stopped >working. I am not able to get it back now. > >But, the good news, here is an interactive US built completely in >ActionScript3! > >Working demo: http://bigosmallm.g

RE: [FlexJS] JS.swc does not seem to have any SVG* element defintions

2015-06-17 Thread Frédéric THOMAS
That's funny, I was playing with JS.swc and wanted to start doing things with svg too but didn't find any of its classes, so, I was about to use CanvasRenderingContext2D but seen our components are done using svg, I returned on my email to ask about svg in JS.swc and realized it wasn't updated,

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-17 Thread piotrz
Alex, Jira filled -> https://issues.apache.org/jira/browse/FLEX-34892 Thanks, Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Re-Re-Re-Re-Re-AW-AW-AW-FlexJS-IntelliJ-Integration-tp47695p47945.html Sent

[VOTE] Release Apache Flex SDK Installer 3.2 RC1

2015-06-17 Thread Alex Harui
Hi, Please vote to approve Apache Flex SDK Installer version 3.2 to be released. The source distributions for Windows and Mac are available here: https://dist.apache.org/repos/dist/dev/flex/installer/3.2/rc1/ The binary distributions as a convenience for the respective platforms, are available h

[DISCUSS] Discuss Release Apache Flex SDK Installer 3.2 RC1

2015-06-17 Thread Alex Harui
This is the discussion thread. Thanks, Alex Harui

Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.2 RC1

2015-06-17 Thread Justin Mclean
Hi, The source release (.tar.gz) has a unexpected binary file inside it, so looks like there will need to be another RC. But I’ll do a full review before voting and see if there is anything else we need to fix as well. Here’s the file: ant_on_air/tests/OSMF2_0.swc Thanks, Justin

Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.2 RC1

2015-06-17 Thread Erik de Bruin
Hi, Just trying to run the approve script. I get a failure while building. The 'packageair' step is looking for NOTICE in the 'installer' subdirectory, where it isn't. It seems to be in the root. Also I noticed that running the approve script that it doesn't check the PLAYERGLOBAL_HOME variable b

Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.2 RC1

2015-06-17 Thread Justin Mclean
Hi, Are the contents of build.number correct? #Copyright 2014 The Apache Software Foundation. #Sat, 28 Sep 2013 18:23:00 +1000 build.number=0 Ignoring the incorrect dates, should the build.number be 0? Thanks, Justin