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

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

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,

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

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"

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

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

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

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 >

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"

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.

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

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

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" <harbs.li

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-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

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. >

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

2015-10-14 Thread Alex Harui
me code where we need >>>both >>> GCL.swc 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

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

2015-10-08 Thread Alex Harui
en 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.apache.org >> S

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

2015-09-28 Thread Alex Harui
wc 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 THOMAS > >> From: aha...@

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"

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?

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
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

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

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

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

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

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

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

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

2015-09-18 Thread Frédéric THOMAS
n 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 + > > > > On 9

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

2015-09-18 Thread Frédéric THOMAS
.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" <webdoubl..

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

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

2015-09-18 Thread Frédéric THOMAS
HOMAS > 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" <webdoubl...@hotmail.com> wrote: > > >> W

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

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

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

2015-09-18 Thread Frédéric THOMAS
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" <webdoubl..

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

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

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

2015-09-17 Thread Alex Harui
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" <webdoubl...@hotmail.com> 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 >>

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

2015-09-17 Thread Frédéric THOMAS
rite 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 for >

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

2015-09-17 Thread Frédéric THOMAS
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] Framework using

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

2015-09-17 Thread Josh Tynjala
ugh but 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 2

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

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

2015-09-16 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

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 time to

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

2015-09-16 Thread Alex Harui
ll share the CGL.swc with 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 usi

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

2015-09-16 Thread Frédéric THOMAS
s.* > > > >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 + > >> > >&g

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

2015-09-16 Thread Frédéric THOMAS
t; 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" <webdoubl...@hotmail.com> wrote: > > >> I’m about to st

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

2015-09-16 Thread Frédéric THOMAS
wrote: > >> > >> >Hi Alex, > >> > > >> >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

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

2015-09-16 Thread Frédéric THOMAS
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
> 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 (was:

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

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

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

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

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:59:57 + > > > > On 9/16/15, 12:55 PM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote: > > >

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

2015-09-09 Thread Frédéric THOMAS
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 + > > > > O

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

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 webdoubl...@hotmail.com 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

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

2015-08-24 Thread Frédéric THOMAS
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, Frédéric THOMAS webdoubl...@hotmail.com wrote: Do you mean

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 webdoubl...@hotmail.com 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

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

2015-08-24 Thread Frédéric THOMAS
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 ? Frédéric THOMAS From: aha...@adobe.com To: dev@flex.apache.org Subject: Re: [FlexJS] Framework using

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

2015-08-23 Thread Frédéric THOMAS
: 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. -Classes found in SWCs on the library-path

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 webdoubl...@hotmail.com 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

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

2015-08-21 Thread Alex Harui
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 + I think I have discovered that Sprite is intended to be more like SimpleApplication and serve

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

2015-08-21 Thread Frédéric THOMAS
...@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 applications. I may end up creating

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

2015-08-20 Thread Alex Harui
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 + On 8/8/15, 8:46 AM, Frédéric THOMAS webdoubl...@hotmail.com wrote: I thought I could have

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 +0100

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 webdoubl...@hotmail.com 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
...@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 webdoubl...@hotmail.com wrote: Hi, Actually, I was trying to translate event.js and seen

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

2015-08-19 Thread Frédéric THOMAS
: 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 databinding expressions in MXML that have to be written by the developer, and set up and run at startup. Oh yeah, you

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 webdoubl...@hotmail.com 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.

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 webdoubl...@hotmail.com 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

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

2015-08-11 Thread Alex Harui
On 8/10/15, 6:19 PM, Frédéric THOMAS webdoubl...@hotmail.com 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

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

2015-08-11 Thread Alex Harui
On 8/10/15, 11:05 AM, Frédéric THOMAS webdoubl...@hotmail.com wrote: I even removed the entire library-path 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

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

2015-08-11 Thread Frédéric THOMAS
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: [FlexJS] Framework using externs (was: Setup

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

2015-08-11 Thread Frédéric THOMAS
: 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 webdoubl...@hotmail.com wrote: I'm trying now to compile the AS files in conditional compilation with COMPILE::AS3, because the first phase of the compilation

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 webdoubl...@hotmail.com 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

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 webdoubl...@hotmail.com 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

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

2015-08-11 Thread 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 webdoubl...@hotmail.com wrote: What is the advantage of doing it this way? My

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 webdoubl...@hotmail.com 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

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

2015-08-11 Thread Frédéric THOMAS
: [FlexJS] Framework using externs (was: Setup Error) Date: Tue, 11 Aug 2015 14:40:56 + On 8/11/15, 6:37 AM, Frédéric THOMAS webdoubl...@hotmail.com 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

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 webdoubl...@hotmail.com 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

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

2015-08-11 Thread Frédéric THOMAS
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) Date: Tue, 11 Aug 2015 13

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

2015-08-11 Thread Frédéric THOMAS
@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 webdoubl...@hotmail.com wrote: Also, another point I just remembered is MXML. I don’t know that MouseButton would actually show up

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 webdoubl...@hotmail.com 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

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

2015-08-10 Thread Frédéric THOMAS
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, 10 Aug 2015 13:07:35 + Hmm, might

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

2015-08-10 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: Mon, 10 Aug 2015 19:05:54 +0100 I even removed the entire library-path section

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

2015-08-10 Thread 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: Sun, 9 Aug 2015 16:42:19 +0100 If that's the core swc then that's a mistake. Svg manifest should be in html project Ok, thanks

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

2015-08-10 Thread Alex Harui
...@adobe.com To: webdoubl...@hotmail.com; dev@flex.apache.org Subject: Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error) Date: Sun, 9 Aug 2015 15:32:41 + If that's the core swc then that's a mistake. Svg manifest should be in html project Sent from my LG G3, an ATT 4G LTE

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

2015-08-09 Thread Frédéric THOMAS
That's that Mike. I don't use the externc. --- Message initial --- De : Michael Schmalle teotigraphix...@gmail.com Envoyé : 9 août 2015 11:59 A : dev@flex.apache.org Objet : Re: [FlexJS] Framework using externs (was: Setup Error) On Sun, Aug 9, 2015 at 1:06 AM, Alex Harui aha...@adobe.com wrote

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

2015-08-09 Thread Michael Schmalle
On Sun, Aug 9, 2015 at 1:06 AM, Alex Harui aha...@adobe.com wrote: On 8/8/15, 12:38 PM, Michael Schmalle teotigraphix...@gmail.com wrote: On Sat, Aug 8, 2015 at 1:39 PM, Frédéric THOMAS webdoubl...@hotmail.com wrote: Also, What to do to keep as doc, I've been trying -keep-asdoc but

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

2015-08-09 Thread Frédéric THOMAS
Subject: Re : Re: [FlexJS] Framework using externs (was: Setup Error) From: webdoubl...@hotmail.com To: dev@flex.apache.org That's that Mike. I don't use the externc. --- Message initial --- De : Michael Schmalle teotigraphix...@gmail.com Envoyé : 9 août 2015 11:59 A : dev@flex.apache.org

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

2015-08-09 Thread Alex Harui
2015 12:28:51 +0100 Subject: Re : Re: [FlexJS] Framework using externs (was: Setup Error) From: webdoubl...@hotmail.com To: dev@flex.apache.org That's that Mike. I don't use the externc. --- Message initial --- De : Michael Schmalle teotigraphix...@gmail.com Envoyé : 9 août 2015 11:59

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

2015-08-09 Thread Frédéric THOMAS
: Re : Re: [FlexJS] Framework using externs (was: Setup Error) Date: Sun, 9 Aug 2015 15:32:41 + If that's the core swc then that's a mistake. Svg manifest should be in html project Sent from my LG G3, an ATT 4G LTE smartphone -- Original message-- From: Frédéric THOMAS Date

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

2015-08-08 Thread Frédéric THOMAS
I thought I could have used the framework as a test for what I'm about to implement in the compiler to make IJ compiling externs/as3 based projects with 1 build conf. Apparently I was wrong but I will try to implement it first anyway. For the framework migration, I just had a look and indeed I

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

2015-08-08 Thread Alex Harui
On 8/8/15, 8:46 AM, Frédéric THOMAS webdoubl...@hotmail.com wrote: I thought I could have used the framework as a test for what I'm about to implement in the compiler to make IJ compiling externs/as3 based projects with 1 build conf. Apparently I was wrong but I will try to implement it first

  1   2   >