Re: [FlexJS] Framework using externs (was: Setup Error)

2015-12-01 Thread Michael Schmalle
On Tue, Dec 1, 2015 at 6:38 PM, OmPrakash Muppirala wrote: > > > > Say I found a way to get my native calls working, I still would be ata > loss > > for the UI graphics framework I am currently using with Feathers. I know > Om > > had mentioned SVG, but I didn't hear anymore about that and I have

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-12-01 Thread OmPrakash Muppirala
> > Say I found a way to get my native calls working, I still would be ata loss > for the UI graphics framework I am currently using with Feathers. I know Om > had mentioned SVG, but I didn't hear anymore about that and I have really 0 > experience with it. > FlexJS + SVG would be perfect for that

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-12-01 Thread Michael Schmalle
On Tue, Dec 1, 2015 at 6:15 PM, Alex Harui wrote: > > On 12/1/15, 2:27 PM, "Michael Schmalle" wrote: > > >Anyway, I wish I had some projects for FlexJS/FlaconJX but my story is > >still the same. I am using Feathers and AIR for some audio apps and it > >requires native extensions calling C++ API

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-12-01 Thread Alex Harui
On 12/1/15, 2:27 PM, "Michael Schmalle" wrote: >On Tue, Dec 1, 2015 at 3:53 PM, Carlos Rovira >> wrote: > >> That sounds really amazing. So in the beginning was a mix of AS3 and >>JS. If >> JS didn't exit, then it was generated. >> So, the strategy now is to have all in AS3 and *all* (or the mo

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-12-01 Thread Michael Schmalle
On Tue, Dec 1, 2015 at 3:53 PM, Carlos Rovira wrote: > That sounds really amazing. So in the beginning was a mix of AS3 and JS. If > JS didn't exit, then it was generated. > So, the strategy now is to have all in AS3 and *all* (or the most possible) > JS generated? > > Yeah, your right. If you re

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-12-01 Thread Carlos Rovira
That sounds really amazing. So in the beginning was a mix of AS3 and JS. If JS didn't exit, then it was generated. So, the strategy now is to have all in AS3 and *all* (or the most possible) JS generated? 2015-12-01 20:37 GMT+01:00 Alex Harui : > > > On 12/1/15, 11:13 AM, "carlos.rov...@gmail.com

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-12-01 Thread Alex Harui
On 12/1/15, 11:13 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, that sounds amazing. > >One question for me is what you refer as "externs". Could you share what >this means? Externs are like header files for JS libraries. Michael Schmalle made it possible to create

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-12-01 Thread Carlos Rovira
Hi Alex, that sounds amazing. One question for me is what you refer as "externs". Could you share what this means? thanks! 2015-12-01 19:53 GMT+01:00 Alex Harui : > FYI, FlexJSStore is mostly up and running on AS cross-compiled to JS. To > me that proves that this workflow for writing JS in AS

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-12-01 Thread Alex Harui
FYI, FlexJSStore is mostly up and running on AS cross-compiled to JS. To me that proves that this workflow for writing JS in AS is truly viable. I'm going to fix the two bugs I know about and then start deleting the handwritten JS files. -Alex On 11/11/15, 11:45 AM, "Alex Harui" wrote: > > >O

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-11-11 Thread Alex Harui
On 11/11/15, 11:41 AM, "Harbs" wrote: >If you search the source code for COMPILE::JS and COMPILE:AS3, you’ll see >what they’ve done so far. This work is in the core_js_to_as branch. None of this has been merged to develop. The time table is to: -Roughly back port all of the SWCs (clean comp

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-11-11 Thread Harbs
If you search the source code for COMPILE::JS and COMPILE:AS3, you’ll see what they’ve done so far. On Nov 11, 2015, at 9:30 PM, OmPrakash Muppirala wrote: > Oh, wow. That is fantastic. I hope to get my hands on this action soon. > Sorry for not helping out for a while. > > On Wed, Nov 11, 2

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-11-11 Thread OmPrakash Muppirala
Oh, wow. That is fantastic. I hope to get my hands on this action soon. Sorry for not helping out for a while. On Wed, Nov 11, 2015 at 11:20 AM, Alex Harui wrote: > > > On 11/11/15, 11:04 AM, "omup...@gmail.com on behalf of OmPrakash > Muppirala" wrote: > > >I'm sorry if I missed it earlier,

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-11-11 Thread Alex Harui
On 11/11/15, 11:04 AM, "omup...@gmail.com on behalf of OmPrakash Muppirala" wrote: >I'm sorry if I missed it earlier, but what exactly does 'back port' mean? We are trying to write the entire FlexJS framework in ActionScript such that every line of JS used in the HTML/JS/CSS version was cross-

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-11-11 Thread OmPrakash Muppirala
I'm sorry if I missed it earlier, but what exactly does 'back port' mean? Thanks, Om On Wed, Nov 11, 2015 at 9:43 AM, Alex Harui wrote: > Update: > > The following SWCs have been back ported (but are in various states of > operability): > > Binding > Collections > Effects > Graphics > Charts >

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-11-11 Thread Alex Harui
Update: The following SWCs have been back ported (but are in various states of operability): Binding Collections Effects Graphics Charts Core DragDrop HTML Peter is almost done with: Mobile I’m starting in on Network These are remaining: Formatters Flat GoogleMaps HTML5 Jquery CreateJS Onc

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-10-30 Thread Alex Harui
Update: I got all of the classes in HTML to cross-compile, and DataBindingExample ran and seemed to work. Along the way, I found and fixed several bugs in Falcon. While this back-port from JS to AS isn’t going out in the 0.5.0 release, the fixes to Falcon are since folks writing AS for JS would

RE: [FlexJS] Framework using externs (was: Setup Error)

2015-10-19 Thread Kessler CTR Mark J
I'll take a look at it tonight. -Mark -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: Sunday, October 18, 2015 10:35 AM To: dev@flex.apache.org Subject: Re: [FlexJS] Framework using externs (was: Setup Error) On 10/18/15, 12:39 AM, "Harbs" wrote:

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-10-18 Thread Alex Harui
On 10/18/15, 12:39 AM, "Harbs" wrote: >What do I need to do to help with this? Well, my understanding of the release process is that folks who intend to vote on the release should examine the nightly build as if it were a release candidate. I’ve posted in the discuss threads a link to scripts

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-10-18 Thread Harbs
What do I need to do to help with this? On Oct 18, 2015, at 8:40 AM, Alex Harui wrote: > I’d appreciate folks trying to find time to help us get > 0.5.0 out the door

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-10-17 Thread Alex Harui
On 10/14/15, 1:53 PM, "Alex Harui" wrote: >Update: > >I got all of the classes in Core to cross-compile. No idea if it will run >yet, but before I go and start making it run, I think I discovered that I >can re-organize the sources and possibly make things a bit simpler. > >Right now, in the C

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-10-14 Thread Alex Harui
c and JS.swc and I would expect collisions between Event and >>> EventTarget in such a case, even with the stubbed GCL.swc we currently >>> have, so I’m exploring ways to deal with that. >> >>Fair enough, would be awesome ! >> >>Thanks, >>Frédéric T

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-10-08 Thread Alex Harui
t in such a case, even with the stubbed GCL.swc we currently >> have, so I’m exploring ways to deal with that. > >Fair enough, would be awesome ! > >Thanks, >Frédéric THOMAS > >> From: aha...@adobe.com >> To: dev@flex.apache.org >> Subject: Re: [FlexJS] Framework u

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-09-27 Thread Alex Harui
lisions between Event and >> EventTarget in such a case, even with the stubbed GCL.swc we currently >> have, so I’m exploring ways to deal with that. > >Fair enough, would be awesome ! > >Thanks, >Frédéric THOMAS > >> From: aha...@adobe.com >> To: dev@flex.a

Re: Ambiguous Definitions (was Re: [FlexJS] Framework using externs (was: Setup Error))

2015-09-22 Thread Alex Harui
OK, I think I got this working and pushed it to the JsToAs branch of Falcon. I’m going to take on allowing keywords to be used for function names and some other places as I noticed it is affecting the JS to AS port as well. -Alex On 9/19/15, 1:57 PM, "Josh Tynjala" wrote: >Yeah, changing Falco

Re: Ambiguous Definitions (was Re: [FlexJS] Framework using externs (was: Setup Error))

2015-09-19 Thread Josh Tynjala
Yeah, changing FalconJX to handle window as a special case would work too. It would make things easier on other tools, like externc and dts2as. As a bonus, while it's a simple string that we wanted to avoid, it's actually valid JS, so it wouldn't have as much potential for conflict. I think I like

Re: Ambiguous Definitions (was Re: [FlexJS] Framework using externs (was: Setup Error))

2015-09-19 Thread Alex Harui
Inline as well, gotta scroll way down for my latest proposal. On 9/19/15, 9:01 AM, "Josh Tynjala" wrote: >Responses inline. > >- Josh > >On Sat, Sep 19, 2015 at 8:03 AM, Alex Harui wrote: > >> >> Hmm. Maybe, but what does that sort of import really do? Why not just >> create a global subclass

Re: Ambiguous Definitions (was Re: [FlexJS] Framework using externs (was: Setup Error))

2015-09-19 Thread Josh Tynjala
Responses inline. - Josh On Sat, Sep 19, 2015 at 8:03 AM, Alex Harui wrote: > > Hmm. Maybe, but what does that sort of import really do? Why not just > create a global subclass of goog.events.Event? > A global subclass would work only if you were creating all instances. If you need to use th

Re: Ambiguous Definitions (was Re: [FlexJS] Framework using externs (was: Setup Error))

2015-09-19 Thread Alex Harui
On 9/19/15, 7:43 AM, "Josh Tynjala" wrote: >I think that making it possible to reference a class in the global >package, >even when another class with the same name is imported, is a good >improvement. Probably easiest to implement. > >Along the same lines as an unimport, what if we could do so

Re: Ambiguous Definitions (was Re: [FlexJS] Framework using externs (was: Setup Error))

2015-09-19 Thread Josh Tynjala
I think that making it possible to reference a class in the global package, even when another class with the same name is imported, is a good improvement. Probably easiest to implement. Along the same lines as an unimport, what if we could do something like this to remove ambiguity: import GoogEv

Ambiguous Definitions (was Re: [FlexJS] Framework using externs (was: Setup Error))

2015-09-18 Thread Alex Harui
I’m still digging into the compiler, but I had some new thoughts: What if you only got an ambiguous definition error if you had two classes neither of which is in the global package and didn’t qualify its usage? This might be easiest to implement. If we did that, then: Scenario 1: import flash.e

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-09-18 Thread Alex Harui
On 9/18/15, 11:54 AM, "Josh Tynjala" wrote: >Of the options that you presented, I think I like *.Event and .Event the >most. > >The options with :: don't feel quite right. While I know that packages are >namespaces (I remember making that discovery back in the day and excitedly >blogging about

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-09-18 Thread Josh Tynjala
I was just trying to understand the AS3 namespace a little bit yesterday while fixing some issues in dts2as. It appears that the AS3 namespace is used to allow certain functions on the Object class, like toString() and valueOf(), to be implemented in subclasses without requiring the override keywor

RE: [FlexJS] Framework using externs (was: Setup Error)

2015-09-18 Thread Frédéric THOMAS
with that. Fair enough, would be awesome ! Thanks, Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Fri, 18 Sep 2015 17:00:51 + > > > > On 9/18/15, 9:42 AM, "Frédéric

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-09-18 Thread Alex Harui
On 9/18/15, 9:42 AM, "Frédéric THOMAS" wrote: >> IMO, the externs swcs are also for developers wanting to build “native” >>JS >> applications without the FlexJS components, so any GCL.swc needs to >> support some developer using GCL and native JS. So the two swcs need to >> be compatible with

RE: [FlexJS] Framework using externs (was: Setup Error)

2015-09-18 Thread Frédéric THOMAS
Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Fri, 18 Sep 2015 16:20:21 + > > > > On 9/18/15, 9:05 AM, "Frédéric THOMAS" wrote: > > >> Well, some SWC has to

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-09-18 Thread Alex Harui
On 9/18/15, 9:02 AM, "Josh Tynjala" wrote: >I don't think that there's a currently a way to explicitly specify the >global namespace in a fully-qualified class name. I suspect it rarely came >up in the Flash runtime because it has so few global classes. This would >be >very useful with the very

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-09-18 Thread Alex Harui
On 9/18/15, 9:05 AM, "Frédéric THOMAS" wrote: >> Well, some SWC has to provide the builtins like Object, Array, etc. My >> guess is that your config is depending on a playerglobal or airglobal, >>and >> that does work for me, but I was thinking that long-term we want GCL to >> depend on js.swc

RE: [FlexJS] Framework using externs (was: Setup Error)

2015-09-18 Thread Frédéric THOMAS
hy it doesn't work for you ? Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Fri, 18 Sep 2015 15:04:50 + > > > > On 9/18/15, 6:56 AM, "Frédéric THOMAS" wrot

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-09-18 Thread Josh Tynjala
I don't think that there's a currently a way to explicitly specify the global namespace in a fully-qualified class name. I suspect it rarely came up in the Flash runtime because it has so few global classes. This would be very useful with the very large number of classes in the JavaScript global na

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-09-18 Thread Alex Harui
On 9/18/15, 6:56 AM, "Frédéric THOMAS" wrote: >> I’ve been trying to get your GCL.swc to build from Ant without requiring >> an application.home systemProperty. I ran into an issue with missing >> builtins like Object. It could be that IJ injects these builtins no >> matter what. From Ant I

RE: [FlexJS] Framework using externs (was: Setup Error)

2015-09-18 Thread Frédéric THOMAS
//pastebin.com/q7X3K38E HTH Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Fri, 18 Sep 2015 13:34:05 + > > > > On 9/18/15, 6:19 AM, "Frédéric THOMAS" wrote: >

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-09-18 Thread Alex Harui
On 9/18/15, 6:19 AM, "Frédéric THOMAS" wrote: >> By commenting out the use of ViewBase from Application.as, I was able to >> get Application.as to compile without errors and got what looked like a >> reasonable list of goog.requires without changing any compiler.clients >> classes. > >Have you

RE: [FlexJS] Framework using externs (was: Setup Error)

2015-09-18 Thread Frédéric THOMAS
y (a lot) and on Monday I'm starting on a new role, not sure how much it will suck my brain yet. Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Thu, 17 Sep 2015 18:37:30 +

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-09-17 Thread Alex Harui
On 9/17/15, 10:05 AM, "Frédéric THOMAS" wrote: > >> Do you still have the missing goog.require problem? > >Yes but I will fix that, the compiler.clients.* used directly does not >create the issue. By commenting out the use of ViewBase from Application.as, I was able to get Application.as to com

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-09-17 Thread Josh Tynjala
it > would be awesome for other libs because the number of them is impressive. > > Frédéric THOMAS > > > From: aha...@adobe.com > > To: dev@flex.apache.org > > Subject: Re: [FlexJS] Framework using externs (was: Setup Error) > > Date: Thu, 17 Sep 2015 16:43:52 + >

RE: [FlexJS] Framework using externs (was: Setup Error)

2015-09-17 Thread Frédéric THOMAS
bs because the number of them is impressive. Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Thu, 17 Sep 2015 16:43:52 + > > > On 9/17/15, 9:32 AM, "Frédéric THOMAS" wrot

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-09-17 Thread Alex Harui
On 9/17/15, 9:32 AM, "Frédéric THOMAS" wrote: >> I’m interested to see what you put in GCL.swc. I created a few stubs >>for >> the calls I needed and also changed the compiler so it will allow >> goog.events.fireListener to be a class called goog.events with a >> fireListener member and not fai

RE: [FlexJS] Framework using externs (was: Setup Error)

2015-09-17 Thread Frédéric THOMAS
ut Sprite here. Frédéric THOMAS > From: webdoubl...@hotmail.com > To: dev@flex.apache.org > Subject: RE: [FlexJS] Framework using externs (was: Setup Error) > Date: Thu, 17 Sep 2015 17:32:01 +0100 > > > I’m interested to see what you put in GCL.swc. I created a few stubs fo

RE: [FlexJS] Framework using externs (was: Setup Error)

2015-09-17 Thread Frédéric THOMAS
x27;t sure whenever a subclass inherit the export behaviour, so, I might have missed some. I committed GCL, read the commit comments and come back to me if you need more details. Thanks, Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FlexJS] Framew

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-09-16 Thread Alex Harui
> To: dev@flex.apache.org >> Subject: Re: [FlexJS] Framework using externs (was: Setup Error) >> Date: Wed, 16 Sep 2015 19:59:57 + >> >> >> >> On 9/16/15, 12:55 PM, "Frédéric THOMAS" wrote: >> >> >> I started out by trying to

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-09-16 Thread Alex Harui
On 9/16/15, 1:02 PM, "Frédéric THOMAS" wrote: > > > >> HTMLElementWrapper should be one of very few JS-only classes so I was >> going to keep it in another folder tree, but I’ll leave it where it is >>for >> now. > >I've been able to convert it using GCL.swc with no AS specific part, why >it sh

RE: [FlexJS] Framework using externs (was: Setup Error)

2015-09-16 Thread Frédéric THOMAS
THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Wed, 16 Sep 2015 19:59:57 + > > > > On 9/16/15, 12:55 PM, "Frédéric THOMAS" wrote: > > >> I started out by tryin

RE: [FlexJS] Framework using externs (was: Setup Error)

2015-09-16 Thread Frédéric THOMAS
S > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Wed, 16 Sep 2015 19:54:32 + > > On 9/16/15, 12:48 PM, "Frédéric THOMAS" wrote: > > >> I’m about to start writing HTMLElementWrapper.a

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-09-16 Thread Alex Harui
On 9/16/15, 12:58 PM, "Frédéric THOMAS" wrote: >> Ah, glad I asked. Somehow I missed seeing HTMLElementWrapper.as. > >Weird, it was in my commit, I will have more time tomorrow to find out >what's happening. Yes, it is there and I found it, I just didn’t see it earlier. Thanks, -Alex

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-09-16 Thread Alex Harui
On 9/16/15, 12:55 PM, "Frédéric THOMAS" wrote: >> I started out by trying to compile every AS file in Core with > > >> COMPILE::AS3,false and got lots of errors. > >Are you talking about the ones not making use of the GCL.swc and having >no dependencies with the ones which use it ? Yeah, like

RE: [FlexJS] Framework using externs (was: Setup Error)

2015-09-16 Thread Frédéric THOMAS
> Ah, glad I asked. Somehow I missed seeing HTMLElementWrapper.as. Weird, it was in my commit, I will have more time tomorrow to find out what's happening. Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FlexJS] Framework using externs

RE: [FlexJS] Framework using externs (was: Setup Error)

2015-09-16 Thread Frédéric THOMAS
x.apache.org > Subject: Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Wed, 16 Sep 2015 19:31:45 + > > Hi Fred, > > I started out by trying to compile every AS file in Core with > COMPILE::AS3,false and got lots of errors. I think you may have done that

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-09-16 Thread Alex Harui
On 9/16/15, 12:48 PM, "Frédéric THOMAS" wrote: >> I’m about to start writing HTMLElementWrapper.as and try to figure out >> where to put it. I don’t really want to have it in as/src, maybe in a >>new >> folder like js/as/src? > >I probably have some changes not committed for this class but most

RE: [FlexJS] Framework using externs (was: Setup Error)

2015-09-16 Thread Frédéric THOMAS
x, > >> > > >> >Cool, Btw, I didn't fix the bug I had with the flex-oem-compiler yet > >> >given I will move those things to IJ, neither the one regarding the > >> >getter / setter functions at package level. > >> > > >> >I will shar

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-09-16 Thread Alex Harui
e I >haven't in mind at the moment but will describe tomorrow, proving more >details about the GCL.swc > >Frédéric THOMAS > >> From: aha...@adobe.com >> To: dev@flex.apache.org >> Subject: Re: [FlexJS] Framework using externs (was: Setup Error) >> Date: Wed, 16 S

RE: [FlexJS] Framework using externs (was: Setup Error)

2015-09-16 Thread Frédéric THOMAS
déric THOMAS > From: webdoubl...@hotmail.com > To: dev@flex.apache.org > Subject: RE: [FlexJS] Framework using externs (was: Setup Error) > Date: Wed, 16 Sep 2015 20:20:53 +0100 > > Hi Alex, > > Actually, I removed all the js files from the compilation path in order to

RE: [FlexJS] Framework using externs (was: Setup Error)

2015-09-16 Thread Frédéric THOMAS
relative to the getter / setter at package level and another one I haven't in mind at the moment but will describe tomorrow, proving more details about the GCL.swc Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FlexJS] Framework using exter

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-09-16 Thread Alex Harui
its sources and details as soon as I can, >probably tomorrow along with the Ant targets using the compiler.clients.* > >Thanks, >Frédéric THOMAS > >> From: aha...@adobe.com >> To: dev@flex.apache.org >> Subject: Re: [FlexJS] Framework using externs (was: Setup Error) &g

RE: [FlexJS] Framework using externs (was: Setup Error)

2015-09-16 Thread Frédéric THOMAS
with the Ant targets using the compiler.clients.* Thanks, Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Wed, 16 Sep 2015 06:08:33 + > > FYI, I’m going to start finding ti

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-09-15 Thread Alex Harui
FYI, I’m going to start finding time to work on this port. -Alex On 9/9/15, 6:19 AM, "Alex Harui" wrote: > > >On 9/9/15, 3:12 AM, "Frédéric THOMAS" wrote: > >> >>One thing I discovered though is that with Falcon, the combination of >>getter / setter for a same function at package level is not

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-09-09 Thread Alex Harui
On 9/9/15, 3:12 AM, "Frédéric THOMAS" wrote: > >One thing I discovered though is that with Falcon, the combination of >getter / setter for a same function at package level is not supported >(the legacy compiler support it): > >package goog.events { >public function get fireListener():Function{r

RE: [FlexJS] Framework using externs (was: Setup Error)

2015-09-09 Thread Frédéric THOMAS
27;goog.events.fireListener' was unexpectedly found. Can you take care of it or drive me into fixing it ? Thanks, Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Mon, 24 Aug 2015 16:28:37 +

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-24 Thread Alex Harui
On 8/24/15, 8:07 AM, "Frédéric THOMAS" wrote: > > > >> I’d have to dig into it, but yes, I think addDependency gets called >>quite >> often before we start walking the tree. But once you asked the >>question, >> it did occur to me that we do call into the resolving code during the >> walk, but

RE: [FlexJS] Framework using externs (was: Setup Error)

2015-08-24 Thread Frédéric THOMAS
store the library definitions before the walk ? Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Mon, 24 Aug 2015 12:55:05 + > > > > On 8/24/15, 2:21 AM, "F

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-24 Thread Alex Harui
On 8/24/15, 2:21 AM, "Frédéric THOMAS" wrote: >Do you mean, the FlexJSProject.addDependency() should be called while the >AST is generated for the libraries dependencies or maybe be a pass for >collecting them as we do in the externc ? I’d have to dig into it, but yes, I think addDependency ge

RE: [FlexJS] Framework using externs (was: Setup Error)

2015-08-24 Thread Frédéric THOMAS
ork using externs (was: Setup Error) > Date: Sun, 23 Aug 2015 21:15:36 + > > > > On 8/23/15, 10:59 AM, "Frédéric THOMAS" wrote: > > >Hi Alex or Mike, > > > >Thanks for the advice, I've been checking that my lib was set in > >librar

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-23 Thread Alex Harui
On 8/23/15, 10:59 AM, "Frédéric THOMAS" wrote: >Hi Alex or Mike, > >Thanks for the advice, I've been checking that my lib was set in >library-path but still the same, actually there's something that make me >confused, maybe you can enlighten me: > >It seems to me the requires are collected duri

RE: [FlexJS] Framework using externs (was: Setup Error)

2015-08-23 Thread Frédéric THOMAS
THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Fri, 21 Aug 2015 12:58:34 + > > I suspect the issue is: > > -Classes found in SWCs on the external-library-path are not goog.required.

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-21 Thread Alex Harui
me up telling me where to break >and what to check ? > >Thanks, >Frédéric THOMAS > >> From: aha...@adobe.com >> To: dev@flex.apache.org >> Subject: Re: [FlexJS] Framework using externs (was: Setup Error) >> Date: Thu, 20 Aug 2015 23:06:33 + >> >

RE: [FlexJS] Framework using externs (was: Setup Error)

2015-08-21 Thread Frédéric THOMAS
rom: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Thu, 20 Aug 2015 23:06:33 + > > I think I have discovered that Sprite is intended to be more like > SimpleApplication and serve as the base class for other app

Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-20 Thread Alex Harui
ved to an interface >or removed too ? > >Frédéric THOMAS > > > >> From: aha...@adobe.com >> To: dev@flex.apache.org >> Subject: Re: [FlexJS] Framework using externs (was: Setup Error) >> Date: Sat, 8 Aug 2015 16:27:53 +

Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-19 Thread Alex Harui
On 8/19/15, 4:06 PM, "Frédéric THOMAS" wrote: >> >For the rest of the class, the type var is in the super class, I didn't >> >get why it has been added to the class, any idea ? >> >> Maybe to @export it? > >Maybe I don't get it, what is the interest to export it ? We currently export way more

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-19 Thread Frédéric THOMAS
I don't get it, what is the interest to export it ? In goog.events.Event it is declared like that: Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Wed, 19 Aug 2015 21:47:17 + >

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-19 Thread Frédéric THOMAS
Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Wed, 19 Aug 2015 21:47:17 + > > > > On 8/19/15, 2:17 PM, "Frédéric THOMAS" wrote: > > > >

Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-19 Thread Alex Harui
On 8/19/15, 3:57 PM, "Frédéric THOMAS" wrote: >Also, I don't know what to do with Language as() is(), there are reserved >words, should we change them ? I’m ok with changing it. -Alex

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-19 Thread Frédéric THOMAS
Also, I don't know what to do with Language as() is(), there are reserved words, should we change them ? Frédéric THOMAS From: webdoubl...@hotmail.com To: dev@flex.apache.org Subject: RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error) Date: Wed, 19 Aug 2015 22:17:29

Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-19 Thread Alex Harui
On 8/19/15, 2:17 PM, "Frédéric THOMAS" wrote: > > > >Hi, > >Actually, I was trying to translate event.js and seen: > >// EventHandler and ErrorHandler are not listed as deps for >// some of the event classes because they would cause >// circularities so we force them in here. > >goog.require('g

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-19 Thread Frédéric THOMAS
Frédéric THOMAS > From: webdoubl...@hotmail.com > To: dev@flex.apache.org > Subject: RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Tue, 11 Aug 2015 18:21:17 +0100 > > > That’s convenient, but my main point was to reduce the number of > > datab

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-11 Thread Frédéric THOMAS
: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Tue, 11 Aug 2015 16:57:42 + > > > > On 8/11/15, 8:15 AM, "Frédéric THOMAS" wrote: > >>>Also, another point I just remembered

Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-11 Thread Alex Harui
On 8/11/15, 8:15 AM, "Frédéric THOMAS" wrote: >>Also, another point I just remembered is MXML. I don’t know that >> MouseButton would actually show up in MXML attribute values but for >>other >> things it might be better to use simple String constants and do extra >> checking inside so your MXM

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-11 Thread Frédéric THOMAS
header, but we might want to add one > anyway so it looks more official. Ah yeah, correct ! Thanks, Frédéric THOMAS ---- > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-11 Thread Alex Harui
On 8/11/15, 6:37 AM, "Frédéric THOMAS" wrote: >> but no objection if that’s what folks want. > >My first reaction when it comes to a public, is to offer a consistent, >safe and clear API but I'm open to anything too. I think the definition of consistent and safe might have some trade-offs. The

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-11 Thread Frédéric THOMAS
e Apache header, is that an issue ? see: https://gist.github.com/doublefx/20b7949d3b9ff20daaa1 Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error) > Da

Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-11 Thread Alex Harui
On 8/11/15, 6:06 AM, "Frédéric THOMAS" wrote: >> Makes sense. I was just wondering why a MouseButton class is needed at >> all and not just a plain String constant. > >Maybe is not, but I added, maybe I shouldn't had, isButton(button) => >boolean which tests to see which button was pressed duri

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-11 Thread Frédéric THOMAS
g. Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Tue, 11 Aug 2015 12:49:35 + > > > > On 8/11/15, 5:22 AM, "Frédéric THOMAS" wrote: > &

Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-11 Thread Alex Harui
On 8/11/15, 5:31 AM, "Frédéric THOMAS" wrote: >Btw, I can now produce the Core.swc filled with the compiled AS3 classes >and the JS in a once and in IntelliJ, indeed, I only migrated 1 JS file >to AS but it is what I wanted first, validate I can do it, so, I will >continue on it. Awesome! -A

Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-11 Thread Alex Harui
On 8/11/15, 5:22 AM, "Frédéric THOMAS" wrote: >> What is the advantage of doing it this way? > >My point in migrating the framework is also to figure out how a framework >developer would feel comfortable working with, using and developing new >component seeing how the others are developed, for

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-11 Thread Frédéric THOMAS
x.apache.org > Subject: Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Tue, 11 Aug 2015 06:25:19 + > > > > On 8/10/15, 6:19 PM, "Frédéric THOMAS" wrote: > >>I'm trying now to compile the AS files in conditional compilatio

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-11 Thread Frédéric THOMAS
he google doc too and I guess, expect to have as close as possible the same API. Well, at least I did this assumption and was wondering if it wasn't to much. Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: Re

Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-10 Thread Alex Harui
On 8/10/15, 11:05 AM, "Frédéric THOMAS" wrote: >I even removed the entire section and I've have no >compilation errors and the core tests passes, is that enough to ensure it >can be safely removed ? Well, try running ‘ant main’, then in examples/DataBindingTest run Ant again and see if you ge

Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-10 Thread Alex Harui
On 8/10/15, 6:19 PM, "Frédéric THOMAS" wrote: >I'm trying now to compile the AS files in conditional compilation with >COMPILE::AS3, because the first phase of the compilation is COMPILE::JS, >I have JS.swc in my library-path. > >I was aware that some conflicts could occur for example the Event

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-10 Thread Frédéric THOMAS
s, configurationValue.getSource() + ".updated", configurationValue.getLine());     }     }     } Frédéric THOMAS ---- > From: webdoubl...@hotmail.com > To: dev@flex.apache.org > Subject: RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error) &

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-10 Thread Frédéric THOMAS
ty AS3 internal class otherwise the sources are not found for the COMPILE::JS only classes. Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Mon,

Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-10 Thread Alex Harui
vg manifest should be >>>in html project >> >> Ok, thanks, will start migrating JS to AS in my next session. >> >> Frédéric THOMAS >> >> >> -------- >>> From: aha...@adobe.com >>> To: webdoubl...@hotmail.com; dev@flex.apache.org

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-10 Thread Frédéric THOMAS
HOMAS > From: webdoubl...@hotmail.com > To: dev@flex.apache.org > Subject: RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Sun, 9 Aug 2015 16:42:19 +0100 > >> If that's the core swc then that's a mis

  1   2   >