RE: FlexJS and Dart?

2016-07-15 Thread Jason Taylor
I had considered Haxe at one point, but I feel Haxe suffers from some of the same issues I'm talking about, namely the haxe language has been stagnant for a long time as well, and while others have added features into via extensions the result isn't very elegant at all - https://github.com/stro

Re: FlexJS and Dart?

2016-07-15 Thread Greg Dove
Out of curiosity, Jason, did you also consider Haxe? I would have thought that was more appealing - it certainly also has many of the language features you mention and more, along with the flash api support (via openfl) for html5. That is my main alternative to FlexJS for the migration paths I am r

RE: FlexJS and Dart?

2016-07-15 Thread Jason Taylor
bleh, mean cross compiling the FlexJS framwork to Dart, and switching from actionscript to dart is trivial. -Original Message- From: Jason Taylor [mailto:ja...@dedoose.com] Sent: Friday, July 15, 2016 1:52 PM To: dev@flex.apache.org Subject: RE: FlexJS and Dart? again I'm refering to cr

RE: FlexJS and Dart?

2016-07-15 Thread Jason Taylor
again I'm refering to cross compiling the dart framework itself to dart, aka the source input will be dart and not actionscript, and will skip the FalconJX compiler completely and go straight to dart2js or dartVM. The dart VM provides all the compile time and runtime checking you could ask for.

Re: FlexJS and Dart?

2016-07-15 Thread Alex Harui
Not so much to convince you otherwise, but in case others are curious why certain decision where made: ActionScript is our source language. So is MXML. If it isn't, IMO, then it isn't Flex. We own the compilers and can make changes to the language, even changes that won't run in a SWF if we don

Re: git commit: [flex-asjs] [refs/heads/develop] - js-config-template (plus jquery and node): added missing reference to Core.swc, which is required for org.apache.flex.utils.Language

2016-07-15 Thread Josh Tynjala
Great! Yeah, it seemed simple enough to copy a pom.xml from the other projects and make a couple of tweaks. I figured I'd save you a minute. :) - Josh On Fri, Jul 15, 2016 at 12:31 PM, Christofer Dutz wrote: > Ok so I adjusted the Maven build and it now builds nicely again. > > By the way the p

RE: FlexJS and Dart?

2016-07-15 Thread Jason Taylor
I guess my main issue is actionscript itself. The language hasn't progressed much in quite some time, support for asynchronous operations in just not designed into the language, lamdas, expression trees, etc etc, it's on it's way to a dead langage. Our teams have put in an increadible ammo

AW: git commit: [flex-asjs] [refs/heads/develop] - js-config-template (plus jquery and node): added missing reference to Core.swc, which is required for org.apache.flex.utils.Language

2016-07-15 Thread Christofer Dutz
Ok so I adjusted the Maven build and it now builds nicely again. By the way the pom.xml you created was 100% correct. All that was missing was to tell maven to build that module in the pom.xml up one level and to add dependencies to the new module in a few modules that needed it to compile. Ch

Re: AW: AW: AW: [Falcon] What would be needed in order to release two tiny parts of Falcon?

2016-07-15 Thread Alex Harui
+1 On 7/15/16, 12:25 PM, "Christofer Dutz" wrote: >So I can take care of ordering the repo ... id call it "flex-typedefs" >... is that ok? We'll refrain from renaming the others for now and just >keep in mind that it would be cool to rename them some day. > > >Chris > >__

Re: AW: AW: AW: [Falcon] What would be needed in order to release two tiny parts of Falcon?

2016-07-15 Thread Alex Harui
On 7/15/16, 12:22 PM, "Christofer Dutz" wrote: >Hi Alex, > >the difference is that the externs will change, the "tiny parts" of >Falcon will probably never change. That's why I would simply like to fire >them out the door and only think about them if we really need to change >something. OK, so

AW: AW: AW: [Falcon] What would be needed in order to release two tiny parts of Falcon?

2016-07-15 Thread Christofer Dutz
So I can take care of ordering the repo ... id call it "flex-typedefs" ... is that ok? We'll refrain from renaming the others for now and just keep in mind that it would be cool to rename them some day. Chris Von: Christofer Dutz Gesendet: Freitag, 15. Juli 20

AW: AW: AW: [Falcon] What would be needed in order to release two tiny parts of Falcon?

2016-07-15 Thread Christofer Dutz
Hi Alex, the difference is that the externs will change, the "tiny parts" of Falcon will probably never change. That's why I would simply like to fire them out the door and only think about them if we really need to change something. Chris -Ursprüngliche Nachricht- Von: Alex Harui [mai

Re: AW: AW: [Falcon] What would be needed in order to release two tiny parts of Falcon?

2016-07-15 Thread Alex Harui
On 7/15/16, 11:38 AM, "Christofer Dutz" wrote: >Hi Alex, > > >In order to do a proper Maven release, there cannot be any SNAPSHOT >dependencies in it. Currently we have these two snapshot versions in >there. By releasing the artifacts in version 1.0.0 and leaving it this >way, the road is clear

AW: AW: AW: AW: git commit: [flex-asjs] [refs/heads/develop] - downloads.xml: goog/bootstrap/nodejs.js is required for node.js support

2016-07-15 Thread Christofer Dutz
Ok ... don't expect any different performance from the Maven build at least in this respect ;-) MXMLFlexJSPublisher (174-227) I seem to have added some code in there that looks for the resources in the classpath, if the closure-lib parameter isn't set and dumps the content of that to the tar

AW: AW: [Falcon] What would be needed in order to release two tiny parts of Falcon?

2016-07-15 Thread Christofer Dutz
Hi Alex, In order to do a proper Maven release, there cannot be any SNAPSHOT dependencies in it. Currently we have these two snapshot versions in there. By releasing the artifacts in version 1.0.0 and leaving it this way, the road is clear to do a release of falcon. The other thing I would lik

Re: AW: [Falcon] What would be needed in order to release two tiny parts of Falcon?

2016-07-15 Thread Alex Harui
On 7/15/16, 10:00 AM, "Christofer Dutz" wrote: >Well all I want is these two binary artifacts released so they can be >synced to maven-central. Then we could go down to one maven build per SDK >fragment (compiler, type-definitions, framework + distribution). I would >prefer a simple binary rele

Re: AW: AW: AW: git commit: [flex-asjs] [refs/heads/develop] - downloads.xml: goog/bootstrap/nodejs.js is required for node.js support

2016-07-15 Thread Alex Harui
On 7/15/16, 9:56 AM, "Christofer Dutz" wrote: > >Regarding the compile time, I have noticed several times that is is often >several times faster to read static resources from a jar using the >classloader than manually accessing a file on disk. So I wouldn't be sure >that using the jar is a perf

AW: git commit: [flex-asjs] [refs/heads/develop] - js-config-template (plus jquery and node): added missing reference to Core.swc, which is required for org.apache.flex.utils.Language

2016-07-15 Thread Christofer Dutz
Ok ... I'll monitor the commits in order to replicate the config for Maven. Chris Von: Josh Tynjala Gesendet: Freitag, 15. Juli 2016 19:08:32 An: dev@flex.apache.org Betreff: Re: git commit: [flex-asjs] [refs/heads/develop] - js-config-template (plus jquery and

Re: git commit: [flex-asjs] [refs/heads/develop] - js-config-template (plus jquery and node): added missing reference to Core.swc, which is required for org.apache.flex.utils.Language

2016-07-15 Thread Josh Tynjala
I'll be creating frameworks/projects/Language and frameworks/js/FlexJS/projects/LanguageJS. I'm pulling out the Namespace, QName, and org.apache.flex.utils.Language classes from Core/CoreJS. - Josh On Fri, Jul 15, 2016 at 10:03 AM, Christofer Dutz wrote: > Where are you pulling it to? Just so

Re: AW: git commit: [flex-falcon] [refs/heads/featue/flexjs-ant-tasks] - fix FB integration when stringifying certain errors

2016-07-15 Thread Alex Harui
Aw crap, I forgot to switch branches. I'll take care of it. -Alex From: Christofer Dutz mailto:christofer.d...@c-ware.de>> Reply-To: "dev@flex.apache.org" mailto:dev@flex.apache.org>> Date: Friday, July 15, 2016 at 10:04 AM To: "comm...@flex.apache.org

AW: git commit: [flex-falcon] [refs/heads/featue/flexjs-ant-tasks] - fix FB integration when stringifying certain errors

2016-07-15 Thread Christofer Dutz
I thought I should merge that back to develop, which I did ... Should I merge that back to develop? Chris Von: aha...@apache.org Gesendet: Freitag, 15. Juli 2016 18:13:43 An: comm...@flex.apache.org Betreff: git commit: [flex-falcon] [refs/heads/featue/flexjs-a

AW: git commit: [flex-asjs] [refs/heads/develop] - js-config-template (plus jquery and node): added missing reference to Core.swc, which is required for org.apache.flex.utils.Language

2016-07-15 Thread Christofer Dutz
Where are you pulling it to? Just so I know what I need to adjust on the Maven side. Chris Von: Josh Tynjala Gesendet: Freitag, 15. Juli 2016 17:39:56 An: dev@flex.apache.org Betreff: Re: git commit: [flex-asjs] [refs/heads/develop] - js-config-template (plus

AW: [Falcon] What would be needed in order to release two tiny parts of Falcon?

2016-07-15 Thread Christofer Dutz
Well all I want is these two binary artifacts released so they can be synced to maven-central. Then we could go down to one maven build per SDK fragment (compiler, type-definitions, framework + distribution). I would prefer a simple binary release build without the fuss of posting release Notifi

AW: AW: AW: git commit: [flex-asjs] [refs/heads/develop] - downloads.xml: goog/bootstrap/nodejs.js is required for node.js support

2016-07-15 Thread Christofer Dutz
Hi, thanks for that pointer ... I was looking for the place where I had this stuff, but couldn't find it. Indeed the Falcon-JX module has two dependencies: org.clojure google-closure-library 0.0-20150902-b129bb9e And: org.clojure google-closure-library-third-party 0.0-20

Re: Flash Builder borked

2016-07-15 Thread Alex Harui
OK, I think this will be fixed in the next nightly build. Thanks for helping find it, -Alex On 7/14/16, 12:49 PM, "Harbs" wrote: >Here’s another compile problem which causes an error in FB: > > public var getSelectionState():SelectionState{return null} >instead of: > public function

Re: git commit: [flex-asjs] [refs/heads/develop] - js-config-template (plus jquery and node): added missing reference to Core.swc, which is required for org.apache.flex.utils.Language

2016-07-15 Thread Josh Tynjala
Yeah, I'll try to get this cleared up today. I'll also try to pull the Language class out of Core, as we discussed previously. - Josh On Fri, Jul 15, 2016 at 7:33 AM, Alex Harui wrote: > That seems like a reasonable solution, at least for now. > > Thanks for putting it together. Josh, do you w

Re: FlexJS and TLF

2016-07-15 Thread Alex Harui
IMO, I would go with externs. The externs SWC defines the API for a replaceable module, and then if we do want to leverage this code in other FlexJS targets, we simply implement that SWC on a different target. You could go the extra mile and make sure everything on the API surface is an Interface

Re: AW: AW: git commit: [flex-asjs] [refs/heads/develop] - downloads.xml: goog/bootstrap/nodejs.js is required for node.js support

2016-07-15 Thread Alex Harui
IMO, if the Maven build pulls GCL from a public repo (no GCL code is bundled in any of our artifacts) there is no need for Chris to do anything here. We are subsetting for licensing reasons mostly although we do get some advantage at cross-compile time as well. Maven users may want all of GCL pul

Re: AW: [FlexJS] MouseEvent extends flash event

2016-07-15 Thread Alex Harui
A common Event interface makes sense. I don't think it will fully solve the problem. Folks will still expect a common base class and make mistakes. It is a rough point in FlexJS right now, but I think there are bigger fish to fry. Folks writing handlers in MXML will not have this problem as oft

Re: git commit: [flex-asjs] [refs/heads/develop] - js-config-template (plus jquery and node): added missing reference to Core.swc, which is required for org.apache.flex.utils.Language

2016-07-15 Thread Alex Harui
That seems like a reasonable solution, at least for now. Thanks for putting it together. Josh, do you want to try it? -Alex On 7/14/16, 11:30 PM, "Greg Dove" wrote: >I encountered this today when I tried to build flexjs for the first time >with the latest develop code. > >It's probably bad st

Re: [Falcon] What would be needed in order to release two tiny parts of Falcon?

2016-07-15 Thread Alex Harui
IMO, it depends on the source packaging. If you release source packages for these two parts, then yes, they need LICENSE, NOTICE and should have README. If you only release binary Maven artifacts when we release the other Falcon artifacts and the only source package is pretty much what we have ri

AW: AW: git commit: [flex-asjs] [refs/heads/develop] - downloads.xml: goog/bootstrap/nodejs.js is required for node.js support

2016-07-15 Thread Christofer Dutz
Oh gee ... It excludes something from deletion and hereby adds something ;-) I'll re-check my build Chris Von meinem Samsung Galaxy Smartphone gesendet. Ursprüngliche Nachricht Von: Josh Tynjala Datum: 15.07.16 15:58 (GMT+01:00) An: dev@flex.apache.org Betreff: Re: AW: git

Re: AW: [FlexJS] MouseEvent extends flash event

2016-07-15 Thread Peter Ent
I looked back through the commit log because I knew there were reasons for having org.apache.flex.events.MouseEvent extend org.apache.flex.Events.Event rather than flash.mouseEvent. There were cases where was code that was expecting a generic org.apache.flex.events.Event and having org.apache.flex.

Re: AW: git commit: [flex-asjs] [refs/heads/develop] - downloads.xml: goog/bootstrap/nodejs.js is required for node.js support

2016-07-15 Thread Josh Tynjala
That's exactly what I was referring to. The downloads script downloads "Google Closure Library". It deletes most of the library, but it didn't in the past. That file should be excluded from deletion. - Josh On Jul 15, 2016 12:37 AM, "Christofer Dutz" wrote: I just had a look at the recent commit

Re: AW: git commit: [flex-asjs] [refs/heads/develop] - js-config-template (plus jquery and node): added missing reference to Core.swc, which is required for org.apache.flex.utils.Language

2016-07-15 Thread Josh Tynjala
js-config, node-config, and jquery-config probably shouldn't contain any namespaces. They're not meant to use framework components. - Josh On Jul 15, 2016 12:04 AM, "Christofer Dutz" wrote: > I did notice that all configs except the flex and air contained no > namespaces at all ... is this inten

AW: [FlexJS] MouseEvent extends flash event

2016-07-15 Thread Christofer Dutz
But if flex.MouseEvent extended flash.MouseEvent and implemented the flex.Event interface, it would be both flash.MouseEvent as well as flex.Event ... Chris Von: Harbs Gesendet: Freitag, 15. Juli 2016 13:58:03 An: dev@flex.apache.org Betreff: Re: [FlexJS] Mouse

Re: [FlexJS] MouseEvent extends flash event

2016-07-15 Thread Harbs
The problem is related to inheriting Flash MouseEvents. On Jul 15, 2016, at 2:46 PM, Christofer Dutz wrote: > Well how about having an Interface "Event" and every form of event > implementing that? I think a MouseEvent should be an Event. > > > Chris > > > Vo

AW: [GitHub] flex-asjs pull request #9: Fix ticket

2016-07-15 Thread Christofer Dutz
I still think a MouseEvent should be an Event. So I would suggest to resolve this problem otherwise. Chris Von: asfgit Gesendet: Freitag, 15. Juli 2016 13:04:52 An: dev@flex.apache.org Betreff: [GitHub] flex-asjs pull request #9: Fix ticket Github user asfgit

AW: [FlexJS] MouseEvent extends flash event

2016-07-15 Thread Christofer Dutz
Well how about having an Interface "Event" and every form of event implementing that? I think a MouseEvent should be an Event. Chris Von: yishayw Gesendet: Freitag, 15. Juli 2016 11:52:17 An: dev@flex.apache.org Betreff: Re: [FlexJS] MouseEvent extends flash ev

[GitHub] flex-asjs pull request #9: Fix ticket

2016-07-15 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/flex-asjs/pull/9 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is ena

Re: [FlexJS] MouseEvent extends flash event

2016-07-15 Thread Harbs
Ultimately, I’m not sure that it makes sense to make the type MouseEvent. What if the user dismissed the alert using a keyboard event? Fixing the bigger issue is probably the way to go long term, but I think the fix is OK for now. On Jul 15, 2016, at 12:52 PM, yishayw wrote: > It turned out h

Re: [FlexJS] MouseEvent extends flash event

2016-07-15 Thread yishayw
It turned out handleOK on SimpleAlertView was expecting an Event and complained about receiving a MouseEvent. I changed it (pull request pending) so it expects MouseEvent instead and that seems to have fixed it. I'm not sure however that the bigger issue isn't that MouseEvent does not extend Even

[GitHub] flex-asjs pull request #9: Fix ticket

2016-07-15 Thread yishayw
GitHub user yishayw opened a pull request: https://github.com/apache/flex-asjs/pull/9 Fix ticket FLEX-35103 This fixes the issue, but we might have a bigger issue in that org.apache.flex.events.MouseEvent does not extend org.apache.flex.events.Event

FlexJS and TLF

2016-07-15 Thread Harbs
Oh boy. What a title… ;-) I’ve been spending a lot of time thinking how to handle text with FlexJS and I think I have a plan. I found a javascript library called OpenType.js[1] The library can load regular font files and parse GPOS and GSUB tables. It can output to canvas and/or SVG. The licen

[Falcon] What would be needed in order to release two tiny parts of Falcon?

2016-07-15 Thread Christofer Dutz
Hi, I'm hoping on Justin to give me a heads-up on this ;-) As I mentioned a few times now we will need to release some parts of Falcon prior to being able to actually release Falcon itself. Namely this will be the compiler-build-tools and the compiler-jburg-types module. Later module only co

Re: FlexJS Framework Tasks

2016-07-15 Thread Harbs
In theory that’s not a bad idea. I don’t know that any of the tasks are broken down to a level where a JIRA ticket would be useful. On Jul 14, 2016, at 4:15 PM, piotrz wrote: > Hi Harbs, > > Maybe it should be also posted as an tasks or story into the jira. > > Piotr > > > > - > Apache

AW: git commit: [flex-asjs] [refs/heads/develop] - downloads.xml: goog/bootstrap/nodejs.js is required for node.js support

2016-07-15 Thread Christofer Dutz
I just had a look at the recent commits and all I could find was that you excluded the nodejs.js in the ASJS downloads script. Couldn't find anything in the GCL module though. Chris Von: Josh Tynjala Gesendet: Donnerstag, 14. Juli 2016 23:35:26 An: dev@flex.ap

AW: git commit: [flex-asjs] [refs/heads/develop] - js-config-template (plus jquery and node): added missing reference to Core.swc, which is required for org.apache.flex.utils.Language

2016-07-15 Thread Christofer Dutz
I did notice that all configs except the flex and air contained no namespaces at all ... is this intentional? Chris Von: Josh Tynjala Gesendet: Donnerstag, 14. Juli 2016 23:22:56 An: dev@flex.apache.org Betreff: Re: git commit: [flex-asjs] [refs/heads/develop]