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: Using reserved words as member variable/method names

2015-09-18 Thread Alex Harui
OK, thanks for the info. A couple of notes in-line.. On 9/18/15, 4:56 PM, "Josh Tynjala" wrote: > >However, the first one could be rewritten like this, where it's a >variable, >which must be an "identifier" instead of an "identifier name": > >var identifierName = function() {} //error because i

Re: Using reserved words as member variable/method names

2015-09-18 Thread Josh Tynjala
Here's the section on reserved words in the ES5.1 spec: http://www.ecma-international.org/ecma-262/5.1/#sec-7.6.1 And the same section in the ES6 / ES2015 spec: http://www.ecma-international.org/ecma-262/6.0/#sec-reserved-words The rule seems to hinge on whether something is an "identifier" or

Re: Using reserved words as member variable/method names

2015-09-18 Thread Alex Harui
Josh, The key question here is whether is it is not valid AS3 per the language spec, or whether the runtime and/or the compiler won’t let you compile it. AFAICT, what you want to do here is valid AS3 and I would expect the runtime to run the expected ABC code, so it should be possible to get the

Using reserved words as member variable/method names

2015-09-18 Thread Josh Tynjala
JavaScript allows the use of reserved words as members of classes/interfaces, but AS3 does not. In JS and AS3, this is not valid: var var = 5; However, in JS, this is valid: var obj = {}; obj.var = 5; Not in AS3, though. Similarly, these are not valid AS3, but some JS types have methods with

RE: Genymotion?

2015-09-18 Thread Jason Taylor
Thanks Om, Posted the bug here: as https://bugbase.adobe.com/index.cfm?event=bug&id=4059741, would appreciate votes on it. ~ JT -Original Message- From: omup...@gmail.com [mailto:omup...@gmail.com] On Behalf Of OmPrakash Muppirala Sent: Friday, September 18, 2015 11:11 AM To: dev@flex.

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: Genymotion?

2015-09-18 Thread OmPrakash Muppirala
The Android related stuff is actually part of the Adobe AIR runtime (The Installer merges the Flex SDK with the AIR SDK during installation) I think you should raise a bug with them here: https://bugbase.adobe.com/ Their developer forum is here: https://forums.adobe.com/community/air Thanks, Om

RE: Genymotion?

2015-09-18 Thread Jason Taylor
meant ADB, not ADT -Original Message- From: Jason Taylor [mailto:ja...@dedoose.com] Sent: Friday, September 18, 2015 11:05 AM To: dev@flex.apache.org Subject: RE: Genymotion? FlexSDK is fine, and yes FlexSDK ships with ADT and the dlls needed for it, check the lib/android folder. Howev

RE: Genymotion?

2015-09-18 Thread Jason Taylor
FlexSDK is fine, and yes FlexSDK ships with ADT and the dlls needed for it, check the lib/android folder. However, that version of ADT is a bit out of date at this point. Regardless that dosen't help get us any closer to being able to use Genymotion which would help tremendouly for our QA team

Re: AW: AW: Working FlexJS examples?

2015-09-18 Thread Alex Harui
Hi Chris, I haven’t run the Maven stuff so I don’t know how it gets its flex-config.xml. A flex-config.xml is generated by the Ant build and is shipped in the binary packages. If you have an account on builds.a.o, you can grab a very recent one from the ProductDashboard workspace [1] -Alex [1]

RE: AW: AW: Working FlexJS examples?

2015-09-18 Thread Frédéric THOMAS
> what changes does the flex-config.xml require for successfull FlexJS compilation? I didn't change anything in the way the flex-config is generated by flexmojos so if there are changes, I should get them done as soon as possible. That was actually the reason for me asking if FlexJS needed any

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

2015-09-18 Thread Frédéric THOMAS
> Yeah, I’m just looking ahead and am in the mood to play in the compiler > code. I figure some day we’ll have a true GCL swc, either by making > EXTERNC more tolerant, or because a d.ts file for GCL will be converted to > externs. > > I’m also expecting that some day as we go further into this p

AW: AW: Working FlexJS examples?

2015-09-18 Thread Christofer Dutz
Hi Alex, what changes does the flex-config.xml require for successfull FlexJS compilation? I didn't change anything in the way the flex-config is generated by flexmojos so if there are changes, I should get them done as soon as possible. That was actually the reason for me asking if FlexJS need

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
> 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 each other. We could just hack up a GCL just to get >

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
> 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 and use its Object and Event definitions in there becau

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

FW: OpenSource.com and promoting Apache

2015-09-18 Thread Alex Harui
Forwarded from dev@community.a.o. Rich Bowen is looking for interested folks to write articles. Anybody on this list interested in doing an article on Flex? On 9/17/15, 11:22 AM, "Rich Bowen" wrote: >At the risk of repeating myself ... > >I recently posted this to the committers list: > >===

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: AW: Working FlexJS examples?

2015-09-18 Thread Alex Harui
On 9/18/15, 7:26 AM, "Christofer Dutz" wrote: > >Most of the applications produce runnable JavaScript versions. The >DataGrid examples results in an empty screen. However not a single SWF is >runnable. > >The module DataBindingExample_Flat produces this error in JavaScript mode: >Thi

AW: Working FlexJS examples?

2015-09-18 Thread Christofer Dutz
Ok ... so as I said, I added some poms to the examples. Additionally I published a new SNAPSHOT version of Falcon + ASJS to the apache snapshot repo. With the poms I added I am able to build Both the JavaScript versions as well as the Flash versions of these modules: - ChartExample - CordovaCame

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

2015-09-18 Thread Frédéric THOMAS
> OK, sounds good. Happy Birthday, and good luck with your new role. Thank you. > 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 n

AW: Genymotion?

2015-09-18 Thread Christofer Dutz
Well that's actually not 100% correct ;) You usually install Flex with Air and Air has parts of the Android SDK inside ... it's something I stumbled over wile working on mobile packaging of Air applications on Linux ;-) Chris Von: Tom Chiverton Gesendet

AW: Working FlexJS examples?

2015-09-18 Thread Christofer Dutz
Ok ... so currently I'm adding a pom.xml to each of the examples. So it shouldn't change the way the projects are built with Ant, but should make it possible to build the same examples with Maven (Flexmojos) ... hope that's ok with you guys :-) Chris Vo

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
> 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 try to run the compile-as-to-js-core-application-using-f

Re: Working FlexJS examples?

2015-09-18 Thread Peter Ent
Hi, In addition to what Alex wrote, I¹ve tested DataGridExample, MapSearch, MobileTrader, and TodoListSampleApp. I still need to go into the native/ folder and test those. I¹m in the middle of make an API change for the Container classes and will do a full test once that¹s complete. I will post t

Re: Working FlexJS examples?

2015-09-18 Thread Alex Harui
Good question. For sure, DataBindingExample, DataBindingExample_Flat, FlexJSStore, ChartExample. Peter tests the others so he can tell you which other ones he’s seen work recently. -Alex On 9/18/15, 3:19 AM, "Christofer Dutz" wrote: >Hi, > > >before I start and try to get some of the examples

Re: Genymotion?

2015-09-18 Thread Tom Chiverton
On 17/09/15 20:24, Jason Taylor wrote: Hi All, hoping someone else might be able to point me in the right direction. I'm using IntelliJ Idea, Genymotion 2.5, installed the arm translation 1.1, GApps Package running custom tablet with Android 4.4, but have tried many different configurations.

Working FlexJS examples?

2015-09-18 Thread Christofer Dutz
Hi, before I start and try to get some of the examples working with flexmojos I would like to ask here which of the examples are actually maintained and should work in general? I remember last time I invested a lot of time building examples that didn't work even if built with Ant :-) Chris

Re: IntelliJ IDEA Player session terminated

2015-09-18 Thread Alexander Doroshko
"Player session terminated" is a known long-lived problem of the Linux version of the Flash Player that Adobe will unlikely ever fix. I've heard that people try to start Flash Player under Windows emulator to workaround it, but didn't try myself. On 18.09.2015 2:31, Igor Costa wrote: Hi there