Re: [FalconJX] builtin.swc (was Re: [FalconJX] AS for Native HTML JS)

2015-05-28 Thread Alex Harui
On 5/28/15, 4:47 PM, "Justin Mclean" wrote: >Hi, > >> What indication do you have that the EULA applies to an MPL project at >> Mozilla? > >None and why would I? If the code involved decompiling playerglobal.swc >then that EULA would apply. Hmm, well there definitely has been a lot of email ab

Re: [FalconJX] builtin.swc (was Re: [FalconJX] AS for Native HTML JS)

2015-05-28 Thread Justin Mclean
Hi, > What indication do you have that the EULA applies to an MPL project at > Mozilla? None and why would I? If the code involved decompiling playerglobal.swc then that EULA would apply. Thanks, Justin

Re: [FalconJX] builtin.swc (was Re: [FalconJX] AS for Native HTML JS)

2015-05-28 Thread Alex Harui
On 5/28/15, 3:00 PM, "Justin Mclean" wrote: >Hi, > >> Yes, I think that is within the rules. I’d give folks 72 hours to offer >> opinions though. > >A bigger issue may be how this was created, as section 4.5 (no >modification or reverse engineering) may be an issue. [1] What indication do you

Re: [FalconJX] builtin.swc (was Re: [FalconJX] AS for Native HTML JS)

2015-05-28 Thread Alex Harui
On 5/28/15, 2:52 PM, "Justin Mclean" wrote: >Hi, > >> Yes, I think that is within the rules. I’d give folks 72 hours to offer >> opinions though. > >A better option would be to ask Roland to release it under another >license / dual license it. I’m pretty sure Roland also copied his files from

Re: [FalconJX] builtin.swc (was Re: [FalconJX] AS for Native HTML JS)

2015-05-28 Thread Justin Mclean
Hi, > Yes, I think that is within the rules. I’d give folks 72 hours to offer > opinions though. A bigger issue may be how this was created, as section 4.5 (no modification or reverse engineering) may be an issue. [1] Justin 1. http://wwwimages.adobe.com/content/dam/Adobe/en/legal/licenses-

Re: [FalconJX] builtin.swc (was Re: [FalconJX] AS for Native HTML JS)

2015-05-28 Thread Justin Mclean
Hi, > Yes, I think that is within the rules. I’d give folks 72 hours to offer > opinions though. A better option would be to ask Roland to release it under another license / dual license it. For the exact conditions of what we would need to do see section 3.1, 3.2 and 3.3 of the MPL. [1] Jus

Re: [GitHub] flex-sdk pull request: Fix FLEX-15159 by making ArrayList extend P...

2015-05-28 Thread Gareth Smith
Hi Erik, Thanks for your help. I have setup the tests according to the wiki page, but I have a few questions: 1. The logical project for my test (i.e. the project containing mx.collections.ArrayList) seems to be the "framework" project. I am confused by the name of this project being "frame

Re: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Alex Harui
Actually, FalconJX probably doesn’t know that the FlexJS widgets are using goog.events. So, like you said, folks should be writing against the event model in any JS framework they are using. I guess this thread encompasses both what the compiler’s dependencies on goog is as well as the framework w

Re: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Josh Tynjala
I'm not sure that it makes sense to include an EventDispatcher with the vanilla transpiler. So many JS libraries have their own implementations of events. I wonder if developers would be expecting one to be included, or if they'd prefer pull in an existing library. - Josh On Thu, May 28, 2015 at

Re: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Erik de Bruin
> Interesting. Lots of the advice I found suggested string literals. How > are @expose and @export different such that it helps GCC? In it's original intent, @expose was meant to be used only to prevent property collapsing. That's why using it disables a whole bunch of compiler passes, greatly r

Re: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Alex Harui
On 5/28/15, 11:46 AM, "Erik de Bruin" wrote: >> I think GCC does handle ES5. And there is still active development on >>it. >> I’m definitely not a fan of their replacement of @expose with string >> literals, but is there some other minifier we want to use instead? > >GCC handles ES5 just fin

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

2015-05-28 Thread Frédéric THOMAS
Ah yes, you make me think I didn't stub the things I could have probably avoid some classes from the swfutils, will do that in the week end Frédéric THOMAS > From: webdoubl...@hotmail.com > To: dev@flex.apache.org > Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration > Date: Thu, 28 May 2015

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

2015-05-28 Thread Frédéric THOMAS
> I’ll try integrating your stuff then. I looked at your changes a few days > ago and it looked reasonable. Thanks for that but I pushed force my branch changing some code (in better I hope) and the build too. > Just to be sure, does this still require some parts of a regular Flex SDK > or is a

Re: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Erik de Bruin
> I think GCC does handle ES5. And there is still active development on it. > I’m definitely not a fan of their replacement of @expose with string > literals, but is there some other minifier we want to use instead? GCC handles ES5 just fine. Their implementation of the ES6 -> ES5/3 transpilatio

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

2015-05-28 Thread Alex Harui
Awesome! I hope to finish up FDB this week and then work on packaging. I’ll try integrating your stuff then. I looked at your changes a few days ago and it looked reasonable. Just to be sure, does this still require some parts of a regular Flex SDK or is a FlexJS SDK now working on its own? -Al

Re: [FlexJS] Dimensions and Box Model

2015-05-28 Thread Harbs
Yup. We had this discussion a long time ago. The defaults of HTML are really kind of odd… ;-) On May 28, 2015, at 8:24 PM, Peter Ent wrote: > Ah, > > I completely forgot about box-sizing. It turns out that I had set > box-sizing to border-box in FlexJS defaults.css. > > So with border-box set

Re: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Michael Schmalle
Alex, I will state again, I am a compiler dev not a javascript dev but I did do POC of an AMD emitter and it's still in the repo. So if I did AMD in a couple weeks which I think it was, something else like RequireJS would be that hard. I still think since it seems the compiler is getting a rebirt

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

2015-05-28 Thread Frédéric THOMAS
Almost the end. So, to come back on this, at the moment with my current implementation, we can compile Applications and Libraries and link them together overriding the IntelliJ configuration as show here http://snag.gy/5SzuG.jpg the second build configuarion suffixed by _JS guess what, is to co

Re: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Alex Harui
On 5/28/15, 10:56 AM, "Frédéric THOMAS" wrote: >Not sure if there is better for UI Events but for the rest I came across >this article [1], that's a long time it has been written, I don't know if >it is still valid ? > >http://webreflection.blogspot.co.uk/2013/01/5-reasons-to-avoid-closure-com

Re: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Alex Harui
On 5/28/15, 10:43 AM, "Josh Tynjala" wrote: >ES5 is my preference too. I think ES6 would be interesting because the >code >would look a bit closer to AS3, but with the polyfills and the >implementations in browsers being pretty new still, I'm wary of adopting >it >at this point in time. OK, so

RE: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Frédéric THOMAS
Not sure if there is better for UI Events but for the rest I came across this article [1], that's a long time it has been written, I don't know if it is still valid ? http://webreflection.blogspot.co.uk/2013/01/5-reasons-to-avoid-closure-compiler-in.html Frédéric THOMAS > From: aha...@adobe.c

Re: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Josh Tynjala
ES5 is my preference too. I think ES6 would be interesting because the code would look a bit closer to AS3, but with the polyfills and the implementations in browsers being pretty new still, I'm wary of adopting it at this point in time. - Josh On Thu, May 28, 2015 at 10:13 AM, Alex Harui wrote:

Re: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Alex Harui
On 5/28/15, 10:30 AM, "Erik de Bruin" wrote: >>So maybe it's time for FlexJS to reconsider this dependency... But for >VFJS I'm planning on using the GC tools to the max, going back to dot >notation and discarding '@expose'. I’d do this in FlexJS as well, but we use the underscore to keep Goog

Re: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Erik de Bruin
> We are basically using Closure Library based on Erik’s recommendation, but > at the time I still wanted to support IE8. We are now making the minimum > IE9 because we want decent SVG support and Object.defineProperties. So, > now is a good time to revisit how much of Closure Library we need. I

Re: [FalconJX] builtin.swc (was Re: [FalconJX] AS for Native HTML JS)

2015-05-28 Thread Alex Harui
Yeah, I’m thinking somebody took a copy and modified it to generate AS? On 5/28/15, 10:30 AM, "Frédéric THOMAS" wrote: >Ok just seen: > >Copyright (C) 2012 Sebastian Loncar, Web: http://loncar.de > > > > > > > > > MIT License > >Frédéric T

RE: [FalconJX] builtin.swc (was Re: [FalconJX] AS for Native HTML JS)

2015-05-28 Thread Frédéric THOMAS
Ok just seen: Copyright (C) 2012 Sebastian Loncar, Web: http://loncar.de MIT License Frédéric THOMAS > From: webdoubl...@hotmail.com > To: dev@flex.apache.org > Subject: RE: [FalconJX] builtin.swc (was Re: [FalconJX] AS for Native

Re: [FlexJS] Dimensions and Box Model

2015-05-28 Thread Peter Ent
Ah, I completely forgot about box-sizing. It turns out that I had set box-sizing to border-box in FlexJS defaults.css. So with border-box set for box-sizing, it means on the JavaScript/HTML side, the width and height sizing properties do include padding and border. This means we can say that the

RE: [FalconJX] builtin.swc (was Re: [FalconJX] AS for Native HTML JS)

2015-05-28 Thread Frédéric THOMAS
Wasn't it that it has been implemented by Mike L. ? Frédéric THOMAS > Date: Thu, 28 May 2015 13:20:43 -0400 > Subject: Re: [FalconJX] builtin.swc (was Re: [FalconJX] AS for Native HTML JS) > From: teotigraphix...@gmail.com > To: dev@flex.apache.org > > On Thu, May 28, 2015 at 1:10 PM, Alex Harui

Re: [FalconJX] builtin.swc (was Re: [FalconJX] AS for Native HTML JS)

2015-05-28 Thread Michael Schmalle
On Thu, May 28, 2015 at 1:10 PM, Alex Harui wrote: > > > On 5/28/15, 9:57 AM, "Michael Schmalle" wrote: > > > >BTW did you come to any conclusions about that, creating the swc for the > >DOM? I haven't heard back from Roland. > > > > I was hoping you had powers over Roland to get him to answer ;

Re: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Alex Harui
On 5/28/15, 10:08 AM, "Frédéric THOMAS" wrote: >Btw, I would like to come back on this: > >> 1) figure out when to load the polyfill > >For ES6: All the time at the moment > >> 2) worry about bugs in the polyfill > >I guess like any other thirdparty we are using and those polyfills we are >talk

Re: [FalconJX] builtin.swc (was Re: [FalconJX] AS for Native HTML JS)

2015-05-28 Thread Alex Harui
On 5/28/15, 9:57 AM, "Michael Schmalle" wrote: > >BTW did you come to any conclusions about that, creating the swc for the >DOM? I haven't heard back from Roland. > I was hoping you had powers over Roland to get him to answer ;-) I don’t know much about IDL. Did Roland write is own “translato

RE: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Frédéric THOMAS
Btw, I would like to come back on this: > 1) figure out when to load the polyfill For ES6: All the time at the moment > 2) worry about bugs in the polyfill I guess like any other thirdparty we are using and those polyfills we are talking about are open source, it means as well there are people

Re: [FalconJX] builtin.swc (was Re: [FalconJX] AS for Native HTML JS)

2015-05-28 Thread Michael Schmalle
On Thu, May 28, 2015 at 12:54 PM, Alex Harui wrote: > > > On 5/28/15, 9:38 AM, "Michael Schmalle" wrote: > > >I'm not in any hurry. :) The project won't work without a builtin.swc so > >it > >has to be created a compiled somehow. > > Well, you can use Roland’s just to get started. > Yes, this w

Re: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Michael Schmalle
I remember I started on an AMD emitter for Frank, it worked with his test classes. So I guess it will just be as I am writing it to keep everything separate that I can. This is like dejava for the 3rd time, I love repeating things or something. Mike On Thu, May 28, 2015 at 12:37 PM, Frédéric THO

Re: [FalconJX] builtin.swc (was Re: [FalconJX] AS for Native HTML JS)

2015-05-28 Thread Alex Harui
On 5/28/15, 9:38 AM, "Michael Schmalle" wrote: >I'm not in any hurry. :) The project won't work without a builtin.swc so >it >has to be created a compiled somehow. Well, you can use Roland’s just to get started. > >As far as Sprite, it's COMPC that sticks it in. So we need to figure out >wher

Re: [FlexJS] Dimensions and Box Model

2015-05-28 Thread Josh Tynjala
I don't see any mention of the box-sizing CSS property. Are you aware of it? - Josh On Thu, May 28, 2015 at 8:53 AM, Peter Ent wrote: > Hi, > > FlexJS is having a little bit of an identity crisis when it comes to > layout and dimensions; specially, when it comes to determining the size of > a c

Re: [FalconJX] builtin.swc (was Re: [FalconJX] AS for Native HTML JS)

2015-05-28 Thread Michael Schmalle
I'm not in any hurry. :) The project won't work without a builtin.swc so it has to be created a compiled somehow. As far as Sprite, it's COMPC that sticks it in. So we need to figure out where it's doing it. Mike On Thu, May 28, 2015 at 12:35 PM, Alex Harui wrote: > > > On 5/28/15, 9:29 AM, "M

RE: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Frédéric THOMAS
IIUC, there's no ES5 spec to load modules, the reason why there are RequireJS, AMD, UMD, CommonJS, maybe be I forget some and SystemJS used by Babel because it uses the ES6 Syntax and handles the way others treat circular references if there are packed into this ES6 specific format except for Re

Re: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Michael Schmalle
On Thu, May 28, 2015 at 12:29 PM, Alex Harui wrote: > In one post on another thread today, Josh indicated it would be acceptable > to have a dependency on goog at least for now just to have something to > play with. And having a limited amount of goog in the output meets my > needs so there are

Re: [FalconJX] builtin.swc (was Re: [FalconJX] AS for Native HTML JS)

2015-05-28 Thread Alex Harui
On 5/28/15, 9:29 AM, "Michael Schmalle" wrote: >Ok, but what about Roland's comment about removing the Sprite reference in >the SWC, that doesn't seem kosher to me...? The builtin.as in github doesn’t list Sprite so I don’t know how it gets in there. And we could always add a special flag to

Re: [FalconJX] builtin.swc (was Re: [FalconJX] AS for Native HTML JS)

2015-05-28 Thread Michael Schmalle
Ok, but what about Roland's comment about removing the Sprite reference in the SWC, that doesn't seem kosher to me...? So the build would download the text files, save them to disk, create a swc from that and package it correct? Mike On Thu, May 28, 2015 at 12:20 PM, Alex Harui wrote: > > > On

Re: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Alex Harui
In one post on another thread today, Josh indicated it would be acceptable to have a dependency on goog at least for now just to have something to play with. And having a limited amount of goog in the output meets my needs so there are two customers who at least want to try the same thing. IMO, y

[FalconJX] builtin.swc (was Re: [FalconJX] AS for Native HTML JS)

2015-05-28 Thread Alex Harui
On 5/27/15, 3:00 PM, "Michael Schmalle" wrote: >On Wed, May 27, 2015 at 5:46 PM, Alex Harui wrote: > >> >> I would want to get a ruling on that from higher up in Apache. First >> there is the risk that your site goes away some day. Then there is the >> question as to whether PMC folks can se

Re: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Michael Schmalle
So staying on ES5 means still using goog correct? Josh did mention he would prefer not to have that dependency, so that means there has to be alternatives to all your list items. So really in the JXEmitter's(Josh's use case) case I see an inheritance and accessor "solution"(Babble outputs) but I d

RE: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Frédéric THOMAS
You probably right, actually I was a bit dreaming I think :) In more it would mean that all the JS libraries we would use under the wood would have to be packed in ES6 modules, not sure we could do that. Now yes, I 'm curious too on what others think about emiting in ES5. Frédéric THOMAS > From

Re: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Alex Harui
On 5/28/15, 8:40 AM, "Frédéric THOMAS" wrote: >Oops, > >Hmm, so at this point, why not emiting ES6 syntax and use ES6 polyfills >from babel ? Possible. I’m willing to go in this direction if that’s what folks want to do, but I always get nervous when I hear about polyfills. I’d rather avoid

[FlexJS] Dimensions and Box Model

2015-05-28 Thread Peter Ent
Hi, FlexJS is having a little bit of an identity crisis when it comes to layout and dimensions; specially, when it comes to determining the size of a component. Flex makes it pretty clear what the .width property returns, for example. We have been going back and forth on this with FlexJS since

[FlexJS] Responsive UI (was Re: Apache Flex Website thought)

2015-05-28 Thread Alex Harui
Forgot to respond to this. This deserves its own thread. I’m open to ideas as to what Responsive UI means in Flex. It isn’t clear how much we are going to rely on CSS and the browser for layout (I definitely hope to rely on CSS and the browser for lots of visuals). I would like FlexJS to suppor

Re: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Michael Schmalle
> ES6 polyfills from babel ? Can you explain exactly what this means? BTW your link didn't show up. Mike On Thu, May 28, 2015 at 11:37 AM, Frédéric THOMAS wrote: > Hmm, so at this point, why not emiting ES6 syntax and use ES6 polyfills > from babel ? > > For example, for module, from [1] : >

RE: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Frédéric THOMAS
Oops, Hmm, so at this point, why not emiting ES6 syntax and use ES6 polyfills from babel ? For example, for module, from [1] : --- Module loaders support: Dynamic loading State isolation Global namespace isolation Compilation hooks

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-28 Thread Josh Tynjala
I would prefer not to have that dependency, but if it helps us avoid some sticky issues that will slow you down, then let's keep using it for now. Focusing on the big picture seems more important right now, and we can clean things up later. - Josh On May 28, 2015 8:09 AM, "Michael Schmalle" wrote

RE: [FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Frédéric THOMAS
Hmm, so at this point, why not emiting ES6 syntax and use ES6 polyfills from babel ? For example, for module, from [1] : Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: [FalconJX][FlexJS] Do we still want to use Google Closure Library? > (was Re: [FalconJX] JXEmi

Re: FB to IJ migration

2015-05-28 Thread Michael Schmalle
Well seems to me it could only be one thing and that is a swc is not setup correctly that contains the RichTextEditor and it's namespace. I am guessing the error in laymans is actually say, RichTextEditor is not a DisplayObject and a FormItem can only have display object children. But the above i

[FalconJX][FlexJS] Do we still want to use Google Closure Library? (was Re: [FalconJX] JXEmitter accessors)

2015-05-28 Thread Alex Harui
Starting a new thread: We are basically using Closure Library based on Erik’s recommendation, but at the time I still wanted to support IE8. We are now making the minimum IE9 because we want decent SVG support and Object.defineProperties. So, now is a good time to revisit how much of Closure Lib

Re: FB to IJ migration

2015-05-28 Thread Dany Dhondt
Thanks Mike, that brought me a step further! I'm facing another problem now: I used the spark RichTextEditor. When I imported this into FB, the namespace created was xmlns:ns="http://flex.apache.org/experimental/ns"; In my mxml: IJ says that 'Element ns:RichTextEditor is not all

RE: [FalconJX] JXEmitter accessors

2015-05-28 Thread Frédéric THOMAS
> I suspect Closure is trying to be more backwards compatible. I think > Object. create() was added in ES5, and maybe they're aiming for ES3 there. Correct, using Closure we guaranty compatibility < ES5 but I wonder if we are good to do so, the reason was that companies were very stricks and allo

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-28 Thread Michael Schmalle
On Thu, May 28, 2015 at 11:00 AM, Josh Tynjala wrote: > Well, the original plan of matching TypeScript's output is fine with me. I > didn't mean to confuse you by throwing something extra in there. I haven't > looked as closely at Babel, but I heard good things. I figured knowledge of > Babel wou

Re: [FalconJX] JXEmitter accessors

2015-05-28 Thread Josh Tynjala
I think it's okay to start with an extra dependency in order to get something working faster. - Josh On May 28, 2015 7:55 AM, "Alex Harui" wrote: > > > On 5/28/15, 6:36 AM, "Michael Schmalle" wrote: > > >So Alex, you are saying try what Bable produces for get/set and make sure > >I > >make it s

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-28 Thread Josh Tynjala
Well, the original plan of matching TypeScript's output is fine with me. I didn't mean to confuse you by throwing something extra in there. I haven't looked as closely at Babel, but I heard good things. I figured knowledge of Babel would be good to have around to sanity check things in case TypeScr

Re: FB to IJ migration

2015-05-28 Thread Michael Schmalle
Make sure you have the dependencies correct in your build configs and not just your library setup. There are two parts of IJ, the module setup and run/debug target setup. Mike On Thu, May 28, 2015 at 10:51 AM, Dany Dhondt wrote: > Hi all, > > Due to the IntelliJ traffic recently, I finally deci

Re: [FalconJX] JXEmitter accessors

2015-05-28 Thread Alex Harui
On 5/28/15, 6:36 AM, "Michael Schmalle" wrote: >So Alex, you are saying try what Bable produces for get/set and make sure >I >make it swappable and not coupled in the emitter right? I don’t really have a recommendation, just trying to find things in common. The code in org.apache.flex.utils.L

Re: [FalconJX] JXEmitter accessors

2015-05-28 Thread Josh Tynjala
I recall that I ran into the super getters and setters issue in TypeScript pretty quickly. I would like to see them working in ActionScript. - Josh On May 28, 2015 3:54 AM, "Michael Schmalle" wrote: > > I’m still surprised that in 2015, TS hasn’t been forced to handle super. > Are people not usi

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-28 Thread Michael Schmalle
Well see Josh, I am good at writing cross compilers but have spent hardly any time understanding all the nuances of javascript. Each time I have written this thing, I have had a spec given to me by others that I made work. So I am kind of looking for that spec here so I have something concrete to

FB to IJ migration

2015-05-28 Thread Dany Dhondt
Hi all, Due to the IntelliJ traffic recently, I finally decided to migrate my FB projects to IJ. I migrated a large project and several libraries. All were converted to modules in IJ. Setup went really well but my first run didn't succeed yet due to several errors: Error:(184, 0) [TelraamAdm

Re: [FalconJX] JXEmitter accessors

2015-05-28 Thread Josh Tynjala
I suspect Closure is trying to be more backwards compatible. I think Object. create() was added in ES5, and maybe they're aiming for ES3 there. - Josh On May 28, 2015 7:11 AM, "Michael Schmalle" wrote: > See this is where I am clueless, is this a difference between backward > compatibility or so

RE: [FalconJX] JXEmitter accessors

2015-05-28 Thread Frédéric THOMAS
You are right: Chrome Firefox (Gecko) Internet Explorer Opera Safari 5 4.0 (2) 9 11.60 5 For oldest, there are polyfills Frédéric THOMAS > Date: Thu, 28 May 2015 10:09:59 -0400 > Subject: Re: [FalconJX] JXE

Re: [FalconJX] AS for Native HTML JS (was Re: [FalconJX FlexJS] JIRA issues and helping with the compiler)

2015-05-28 Thread Josh Tynjala
Yeah, the ES5 output. While I think the output looks good from TypeScript, I figured it wouldn't hurt to point out an alternative. I'm sure it's pretty similar, but when it comes to the little details, you might see something there that you like better. - Josh On May 27, 2015 4:01 PM, "Michael Sch

Re: [FalconJX] JXEmitter accessors

2015-05-28 Thread Michael Schmalle
See this is where I am clueless, is this a difference between backward compatibility or something? Like Object.create() not all older browsers support? Mike On Thu, May 28, 2015 at 10:06 AM, Frédéric THOMAS wrote: > Btw, this is the diff between Closure and Babel: > > goog.inherits = function

RE: [FalconJX] JXEmitter accessors

2015-05-28 Thread Frédéric THOMAS
Btw, this is the diff between Closure and Babel: goog.inherits = function (childCtor, parentCtor) { /** @constructor */ function tempCtor() { }; tempCtor.prototype = parentCtor.prototype; childCtor.superClass_ = parentCtor.prototype; childCtor.prototype = new tempCtor();

Re: [FlexJS] SVG UI components (was FlexJS event names)

2015-05-28 Thread Michael Schmalle
@Om Here is another app that is an easy candiate for FlexJS that is a .caustic file player. Not to heavy on animated graphics. http://www.singlecellsoftware.com/node/8897 Mike On Tue, May 19, 2015 at 4:33 PM, OmPrakash Muppirala wrote: > On May 19, 2015 1:23 PM, "Michael Schmalle" > wrote: >

Re: Geo-fence in Flex/Action Script

2015-05-28 Thread Tom Chiverton
What exactly are you struggling with ? I've never had to access the GPS from Flex, but it should be straight forward to follow something like : http://www.adobe.com/devnet/air/quick_start_as/quickstarts/qs_as_geolocation_api.html Many databases then offer native co-ordinate operations, failing

Re: [FalconJX] JXEmitter accessors

2015-05-28 Thread Michael Schmalle
So Alex, you are saying try what Bable produces for get/set and make sure I make it swappable and not coupled in the emitter right? What are you doing for nested function scopes? Just creating local variables outside the function and referencing the current scope? Mike On Thu, May 28, 2015 at 9:

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

2015-05-28 Thread Frédéric THOMAS
The result of the empty spark.css [1] :-) If I let only the NS, it creates the swf but crashes because it can't find IStateClient2 Frédéric THOMAS [1] Error:[DataBindingTest]: : java.lang.NullPointerException at org.antlr.runtime.tree.BaseTreeAdaptor.isNil(BaseTreeAdaptor.java:73) at

Re: 【外贸】“人工搜索”PK“智能搜索”,外贸客户开发专家百倍千倍提高您客户开发效率

2015-05-28 Thread Alex Harui
I don’t think commits@ is moderated because it doesn’t get spammed very much. -Alex On 5/28/15, 2:19 AM, "Frédéric THOMAS" wrote: >Someone knows how that came in our commit mailing list ? > >Frédéric THOMAS > >Date: Thu, 28 May 2015 02:02:34 + >Subject: 【外贸】“人工搜索”PK“智能搜索”,外贸客户开发专家百倍千倍提高您客户

Geo-fence in Flex/Action Script

2015-05-28 Thread ramu.bandarupalli
Hi, We have the requirement to develop "Geo-fence" on mobile devices based on lang, lat positions. Could you please, any one help me on how to develop the Geo-fence in Apache Flex/Action Script. Thanks in advance. -- View this message in context: http://apache-flex-development.247.n4.na

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

2015-05-28 Thread Alex Harui
The mxml-manifest in a FlexJS SDK is empty because FB/Falcon didn’t seem to care. If IJ is counting on it containing certain things we can certainly provide one. But it might also scan the frameworks folder looking for -manifest.xml files. Thanks, -Alex On 5/28/15, 6:09 AM, "Frédéric THOMAS" w

Re: [FalconJX] JXEmitter accessors

2015-05-28 Thread Alex Harui
FWIW, I did not test goog.inherit against Object.getPrototypeOf. It might not work as some libraries may not use vanilla prototype inheritance. So abstracting that piece will provide more flexibility. -Alex On 5/28/15, 6:25 AM, "Michael Schmalle" wrote: >Fred, > >I said TS only because Josh s

Re: [FalconJX] JXEmitter accessors

2015-05-28 Thread Michael Schmalle
Fred, I said TS only because Josh said it looked nice, the came Josh with Bable and Joa said Babel. Right now it's the whole class structure that needs a template. > Yes but given I'm more than busy, would be nice if you write it first in AS :) I meant copy and paste, I didn't mean write it. Do

RE: [FalconJX] JXEmitter accessors

2015-05-28 Thread Frédéric THOMAS
> You mean if AS3 and ES6 inherit the same way correct? I wouldn't know the > answer to this I guess all we can do is try it right? :) Nope, I meant Babel and TS because you said you will base your tests on the TS ones, so, if you emit a such utility function, be sure first we extend classes in

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

2015-05-28 Thread Frédéric THOMAS
> Just quickly, I noticed the gist contains a different set of namespaces, > therefore excluding all of our new components, and still had a theme > pointing at spark.css. The flex-config.xml in a FlexJS SDK has a > different set of manifest.xml files and nothing in the theme tag. Not sure at all

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

2015-05-28 Thread Frédéric THOMAS
So, coming back on this, it seems, the only solution at the moment, it is to pass the arguments directly or maybe a better write a specific plugin, once again Frédéric THOMAS > From: webdoubl...@hotmail.com > To: dev@flex.apache.org > Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration > Dat

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

2015-05-28 Thread Alex Harui
Hi Fred, Just quickly, I noticed the gist contains a different set of namespaces, therefore excluding all of our new components, and still had a theme pointing at spark.css. The flex-config.xml in a FlexJS SDK has a different set of manifest.xml files and nothing in the theme tag. I wonder if le

Re: [FalconJX] JXEmitter accessors

2015-05-28 Thread Michael Schmalle
On Thu, May 28, 2015 at 8:41 AM, Frédéric THOMAS wrote: > > So what is different about this? > > > > The only thing I can think of is that we introduce utility functions to > do > > the work > > Yes, that, I guess both of the language inherit in the same way, if yes, > this function is re-usable

RE: [FalconJX] JXEmitter accessors

2015-05-28 Thread Frédéric THOMAS
> So what is different about this? > > The only thing I can think of is that we introduce utility functions to do > the work Yes, that, I guess both of the language inherit in the same way, if yes, this function is re-usable IMO Frédéric THOMAS > Date: Thu, 28 May 2015 08:38:16 -0400 > Subject

Re: apacheflex.com domain name

2015-05-28 Thread Bertrand Delacretaz
On Thu, May 28, 2015 at 2:32 PM, Justin Mclean wrote: > ...Is it worth trying writing a polite email to the current owners before > involving trademarks@?.. That might work. If you do so make sure to copy the Flex private list and mention that in your next board report. It is important to docume

Re: [FalconJX] JXEmitter accessors

2015-05-28 Thread Michael Schmalle
Well yes, I follow the logic. I don't understand if this is a solution, why TypeScript doesn't use the same algorithm. I read what the developers said and they said they had talked about it in length when the project first started and came to the conclusion there really is no solution. So what is

RE: [FalconJX] JXEmitter accessors

2015-05-28 Thread Frédéric THOMAS
I've got it: else if ("value" in desc && desc.writable) If the property is define and writable, set it, otherwise, will use the setter Frédéric THOMAS > From: webdoubl...@hotmail.com > To: dev@flex.apache.org > Subject: RE: [FalconJX] JXEmitter accessors > Date: Thu, 28 May 2015 13:27:47 +0100

Re: apacheflex.com domain name

2015-05-28 Thread Justin Mclean
Hi, > The best way to handle this is for this PMC to inform trademarks@a.o > and ask them for advice on how to proceed. My guess is that the domain may of changed hands and/or expired and bought by someone else. Is it worth trying writing a polite email to the current owners before involving tr

RE: [FalconJX] JXEmitter accessors

2015-05-28 Thread Frédéric THOMAS
I'm not a javascript guru either, but it was easy to create ES6 classes (left pane) and see the output (right pane), so, for the setter, it creates: For class A (simple): get: function () { return this._property; }, set: function (value) { this._pr

Re: [FalconJX] JXEmitter accessors

2015-05-28 Thread Michael Schmalle
Interesting Fred, I am no javascript guru so I need people to "tell" me what I should have output. So let me get this straight, the left pane is ES6 and it converted it to ES5 in the right pane? Mike On Thu, May 28, 2015 at 7:19 AM, Frédéric THOMAS wrote: > I just tried in babel, see what it g

RE: [FalconJX] JXEmitter accessors

2015-05-28 Thread Frédéric THOMAS
I just tried in babel, see what it generates: http://babeljs.io/repl/#?experimental=true&evaluate=true&loose=false&spec=false&code=class%20A%20{%0A%09constructor%28%29%20{%0A%09%20%20this._property%20%3D%20%22init%22%3B%0A%09}%0A%09get%20property%28%29%3Astring%20{%0A%09%09return%20this._property%

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

2015-05-28 Thread Frédéric THOMAS
Actually, it is more complicated. This is what it is generated by IJ: https://gist.github.com/doublefx/ae135f1886cc2800c08d And I added the flex-config.xml from the framework, this one overrides the one of IJ apparently it results: Information:28/05/2015 11:16 - Compilation completed with 7 e

Re: [FalconJX] JXEmitter accessors

2015-05-28 Thread Michael Schmalle
> I’m still surprised that in 2015, TS hasn’t been forced to handle super. Are people not using inheritance much in TS? They tell them to use standard getValue(), setValue() in the property if they need inheritance overrides. I'm kind of bummed about this whole thing, I stuck my foot in mouth her

FW: 【外贸】“人工搜索”PK“智能搜索”,外贸客户开发专家百倍千倍提高您客户开发效率

2015-05-28 Thread Frédéric THOMAS
Someone knows how that came in our commit mailing list ? Frédéric THOMAS Date: Thu, 28 May 2015 02:02:34 + Subject: 【外贸】“人工搜索”PK“智能搜索”,外贸客户开发专家百倍千倍提高您客户开发效率 From: nichols.statement.33542...@gmail.com To: comm...@flex.apache.org 当阿里巴巴平台、展会上的询盘越来越少,甚至长时间没有询盘时,您是否有考虑其他客户开发方法和途径呢? 我们通过您的产品关键

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

2015-05-28 Thread Frédéric THOMAS
Hi, Adding support for Comp C / JSC, I've been able to compile swc and js files from IntelliJ. In IntelliJ, I still have to add the FlexJS as a Lib to have things green though, also, despite, it passes a correct config.xml, the MXMLC compiler can't find the classe in the lib (the class is in t

Re: apacheflex.com domain name

2015-05-28 Thread Bertrand Delacretaz
Hi, On Thu, May 28, 2015 at 5:23 AM, Justin Mclean wrote: > ...BTW this is not the first time a issue has come up re that domain name. It > was mentioned > in the December 2013 board report. [1]... The best way to handle this is for this PMC to inform trademarks@a.o and ask them for advice on h