Re: Please welcome Josh Tynjala as Apache Flex Committer

2015-05-16 Thread Josh Tynjala
, Alex Harui aha...@adobe.com wrote: The Apache Flex Project Management Committee (PMC) is pleased to announce our newest committer, Josh Tynjala. Josh is currently well known for his work on Feathers [1], but recently has contributed enough patches to the AntOnAir library we use in the Apache

Re: [FlexJS] IntelliJ Integration

2015-05-16 Thread Josh Tynjala
Not lately. I'll check them out. - Josh On Fri, May 15, 2015 at 9:29 PM, Alex Harui aha...@adobe.com wrote: On 5/15/15, 5:13 PM, Josh Tynjala joshtynj...@gmail.com wrote: On Fri, May 15, 2015 at 3:04 PM, Michael Schmalle teotigraphix...@gmail.com wrote: If I knew people like you

Re: [FlexJS] IntelliJ Integration

2015-05-15 Thread Josh Tynjala
Why would someone pick ActionScript over TypeScript? I have ten years of experience with ActionScript. If I were to switch away from Flash/AIR today, I'd prefer to keep using the same language and focus on learning new libraries (whether with a framework like FlexJS or lower-level DOM). It's

Re: [FlexJS] IntelliJ Integration

2015-05-15 Thread Josh Tynjala
On Fri, May 15, 2015 at 3:04 PM, Michael Schmalle teotigraphix...@gmail.com wrote: If I knew people like you were getting interested in these projects, I know it's a catalyst for me because I met you back in 2005-2006(can't remember), right when AIR(Apollo) was released at the Adobe

Re: Please welcome Josh Tynjala as Apache Flex Committer

2015-05-17 Thread Josh Tynjala
, 2015 at 3:03 PM, Alex Harui aha...@adobe.com wrote: Hi Josh, I’m wondering if you’d find the Falcon and FalconJX code bases easier to work with for MXML and binding. I think we’ve finally removed any dependencies they have on the current Flex SDK. -Alex On 5/16/15, 11:27 AM, Josh Tynjala

Re: [FlexJS] IntelliJ Integration

2015-05-15 Thread Josh Tynjala
In my opinion, a separate product that is simply an ActionScript to JavaScript transpiler with direct access to browser APIs like the DOM would be a smart idea. It would help establish the idea that ActionScript isn't only for Flash and SWFs. Developers would see that ActionScript can be used

Re: [FlexJS] Event names

2015-05-19 Thread Josh Tynjala
Starling has its own EventDispatcher because the flash.events one doesn't have a robust enough API to support bubbling up a custom display list. We even tried implementing a custom IEventDispatcher in ActionScript, but there were serious roadblocks getting weak references to work properly. It was

Re: [FalconJX] Parse JavaScript extern files to create ActionScript API

2015-06-04 Thread Josh Tynjala
Agreed! Great stuff, Mike. - Josh On Thu, Jun 4, 2015 at 2:07 PM, Alex Harui aha...@adobe.com wrote: Amazing! On 6/4/15, 2:04 PM, Michael Schmalle teotigraphix...@gmail.com wrote: Well so far I have got the below compiling into .as classes and interfaces using the following externals

Re: [FalconJX] Parse JavaScript extern files to create ActionScript API

2015-06-04 Thread Josh Tynjala
As far as packages go, I think if a class is top-level in JavaScript, it should be the same in ActionScript. At least by default. - Josh On Thu, Jun 4, 2015 at 10:20 AM, Alex Harui aha...@adobe.com wrote: On 6/4/15, 9:53 AM, Michael Schmalle teotigraphix...@gmail.com wrote: Yeah to be

Re: [FalconJX] Round tripped vanillar compiler with JS.swc and FlexJS emitter.

2015-06-08 Thread Josh Tynjala
Nice! You're rockin' it. - Josh On Mon, Jun 8, 2015 at 2:10 PM, Michael Schmalle teotigraphix...@gmail.com wrote: Hi, Well for me, this is like walking on the moon. I knew that this little tangent I was going down was not going to be real until the following things happened; 1. I wrote a

Re: [FalconJX] Parse JavaScript extern files to create ActionScript API

2015-06-04 Thread Josh Tynjala
Alex, es3.js and es5.js from the same directory look pretty promising: https://github.com/google/closure-compiler/blob/master/externs/es3.js https://github.com/google/closure-compiler/blob/master/externs/es5.js - Josh On Thu, Jun 4, 2015 at 9:19 AM, Alex Harui aha...@adobe.com wrote:

Re: [FalconJX] Vanilla compiler, all externs parsing and contained in SWC :)

2015-06-09 Thread Josh Tynjala
I've manually converted some of the TypeScript definitions for CreateJS into AS3 classes using the native keyword. I'll finish them up and share the results when I get a chance. I'm super busy with the Feathers SDK and Feathers 2.2 right now, and that has priority for the moment. - Josh On Tue,

[FalconJX] Building CreateJS externs

2015-06-25 Thread Josh Tynjala
Hey Mike, I finally got a chance to start playing around with some of your work today. I've been starting out with externc. I've run into a couple of issues. One you already know about. Let's start with the other one, though... 1) It looks like the Array class constructor has the wrong

Re: [FalconJX] Building CreateJS externs

2015-06-26 Thread Josh Tynjala
. PS I wish we could add on to the language, but from my perspective with IDE support that isn't even an option... Mike On Thu, Jun 25, 2015 at 8:06 PM, Josh Tynjala joshtynj...@gmail.com wrote: Hey Mike, I finally got a chance to start playing around with some of your work today. I've

Re: [FalconJX] Building CreateJS externs

2015-06-26 Thread Josh Tynjala
but in reality, it is just a plain {} object and not a javascript type/class. I wasn't going to get into this typedef stuff until people started using it because it isn't trivial. But now that you are, I can see what I can to to normalize it. Mike On Fri, Jun 26, 2015 at 12:24 PM, Josh Tynjala

Re: [FalconJS jsc] Turn off HTML/CSS generation in JSC?

2015-06-26 Thread Josh Tynjala
Yeah, that's what I was planning. Not ideal, but I can live with it for now. - Josh On Fri, Jun 26, 2015 at 11:19 AM, Frédéric THOMAS webdoubl...@hotmail.com wrote: I don't know but as a workaround you can write your html in a non build folder and link to the built .js Frédéric THOMAS

[FalconJS jsc] Turn off HTML/CSS generation in JSC?

2015-06-26 Thread Josh Tynjala
Is it possible to turn off the generation the HTML and CSS when running JSC? In other words, is it possible to have the only output be the JavaScript and the source map? I'd like to write my HTML/CSS manually. - Josh

Re: [FalconJX] Building CreateJS externs

2015-06-26 Thread Josh Tynjala
). So, what needs to be added is an -external-externs compiler arg that will be used to load and be parsed for the AST but NOT be emitted during the emit() phase. Does this make sense to you? Mike On Fri, Jun 26, 2015 at 4:08 PM, Josh Tynjala joshtynj...@gmail.com wrote: 1. Yes

Re: [FalconJX] Building CreateJS externs

2015-06-26 Thread Josh Tynjala
, 2015 at 4:08 PM, Josh Tynjala joshtynj...@gmail.com wrote: 1. Yes, but let's take CreateJS out of the equation. It's not necessary to reproduce the error. I created the following nativemouseevent-extern.js: /** * @constructor * @extends {MouseEvent

Re: [FalconJX jsc] Stop renaming of packages using underscore when compiling with jsc

2015-06-27 Thread Josh Tynjala
then we can update the jsc.bat and jsc shell script in flex-asjs. -Alex On 6/26/15, 5:40 PM, Alex Harui aha...@adobe.com wrote: No but I'm thinking of not renaming anymore Sent from my LG G3, an ATT 4G LTE smartphone -- Original message-- From: Josh Tynjala Date: Fri

Re: [FalconJX] Building CreateJS externs

2015-06-26 Thread Josh Tynjala
that is giving you that error correct? Not an IDE. Mike On Fri, Jun 26, 2015 at 2:11 PM, Josh Tynjala joshtynj...@gmail.com wrote: I actually don't need the typedef stuff right now. I was trying to use the same workaround that the CreateJS TypeScript definitions use to avoid naming conflicts

[FalconJX jsc] Stop renaming of packages using underscore when compiling with jsc

2015-06-26 Thread Josh Tynjala
Is there a command line argument to tell jsc to stop turning references to createjs.Stage into createjs_Stage? - Josh

Re: [FalconJX] Building CreateJS externs

2015-06-26 Thread Josh Tynjala
, Jun 26, 2015 at 5:14 PM, Josh Tynjala joshtynj...@gmail.com wrote: Okay, I looked over the source code. I think I understand how to implement it. I'll give it a shot. Hopefully, I'll have something good to report later today. - Josh On Fri, Jun 26, 2015 at 1:56 PM, Michael

Re: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Integration)

2015-06-17 Thread Josh Tynjala
thing in AS, and few folks are even going to hit this, maybe we just put it in the RELEASE_NOTES and see if we can attract users and they will put the pressure on JetBrains. -Alex On 6/17/15, 9:28 AM, Josh Tynjala joshtynj...@gmail.com wrote: Seems to me like we could get

Re: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Integration)

2015-06-17 Thread Josh Tynjala
Seems to me like we could get a bunch of developers who are interested in the compiler to pile on and vote on an issue to show that it's important. I'd rather not have the compiler jump through hoops just to get one buggy IDE to give proper code hinting. - Josh On Wed, Jun 17, 2015 at 8:34 AM,

Re: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Integration)

2015-06-17 Thread Josh Tynjala
users will need to use? - Josh On Wed, Jun 17, 2015 at 9:28 AM, Josh Tynjala joshtynj...@gmail.com wrote: Seems to me like we could get a bunch of developers who are interested in the compiler to pile on and vote on an issue to show that it's important. I'd rather not have the compiler jump

Re: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Integration)

2015-06-15 Thread Josh Tynjala
AS3 has the same issue as JS when root package and custom packages have classes with the same name. It's just that JS has more things in the root package. I don't think any special solution is needed. - Josh On Mon, Jun 15, 2015 at 11:42 AM, Michael Schmalle teotigraphix...@gmail.com wrote:

Re: FlashBuilder stopped working

2015-06-15 Thread Josh Tynjala
Did you try deleting the .metadata directory in your workspace? That fixes a lot of strange issues. - Josh On Mon, Jun 15, 2015 at 12:39 PM, Peter Ent p...@adobe.com wrote: Hi, Up until an hour or so ago, Flash Builder 4.7 was running fine. I rebuilt a library, stopped FB, and restarted it

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

2015-05-28 Thread Josh Tynjala
at 11:14 AM, Alex Harui aha...@adobe.com wrote: On 5/28/15, 10:43 AM, Josh Tynjala joshtynj...@gmail.com wrote: ES5 is my preference too. I think ES6 would be interesting because the code would look a bit closer to AS3, but with the polyfills and the implementations in browsers being pretty

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

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

Re: [FalconJX JXEmitter] Hello Greeter! working :: AS cross compiling to vanilla Javascript

2015-05-31 Thread Josh Tynjala
On May 29, 2015 1:36 PM, Michael Schmalle teotigraphix...@gmail.com wrote: The fact Josh is still highly interested in ActionScript leads me to believe if we offer up real solutions to former AS devs, they might actually be overjoyed to see and use it because they know we are not trying to

Re: [FalconJX JXEmitter] Hello Greeter! working :: AS cross compiling to vanilla Javascript

2015-05-31 Thread Josh Tynjala
? Perhaps we can start with hand coding a simple example? I can help with that. Thanks, Om Mike On Sun, May 31, 2015 at 12:36 PM, Josh Tynjala joshtynj...@gmail.com wrote: On May 29, 2015 1:36 PM, Michael Schmalle teotigraphix...@gmail.com wrote: The fact Josh

Re: [FalconJX] d.as definition file (was: [FalconJX JXEmitter] Hello Greeter! working ... )

2015-06-01 Thread Josh Tynjala
Yeah, I think optional parameters can default to null pretty safely. I have some other ideas to make the conversion easier. I think we can use some simplified rules for overloads, at least to start out. If we want to do it like Randori, and create function signatures that map to a different name,

Re: [FalconJX] d.as definition file (was: [FalconJX JXEmitter] Hello Greeter! working ... )

2015-06-01 Thread Josh Tynjala
Builder, which is pretty sweet. - Josh On Mon, Jun 1, 2015 at 1:10 PM, Josh Tynjala joshtynj...@gmail.com wrote: Yeah, I think optional parameters can default to null pretty safely. I have some other ideas to make the conversion easier. I think we can use some simplified rules for overloads

Re: Apache Flex Website thought

2015-05-27 Thread Josh Tynjala
Yeah, the Apache Flex website needs a little love for developers who are new to Flex. A couple of thoughts: * The big hero image carousel might be a little too big. I've seen multiple studies that say that carousels aren't very effective. They tend to hide important things because people don't

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

2015-05-27 Thread Josh Tynjala
When I played with TypeScript, I loved that I could subclass CreateJS prototypes very easily. As long as something like that is possible from ActionScript (assuming I could provide a SWC or something for CreateJS or whichever library I want to use), I don't have too strong of an opinion on how the

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Josh Tynjala
If there are any concerns about copyright that cannot be overcome, I think it makes perfect sense to simply create at tool to parse and convert d.ts files and so there on the Apache side. Let the individual developers figure copyright status on their own when using the tool. I'm sure something

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Josh Tynjala
/Microsoft/TypeScript/blob/master/bin/lib.d.ts That ought to be useful. :) - Josh On Fri, May 29, 2015 at 5:52 PM, Josh Tynjala joshtynj...@gmail.com wrote: If there are any concerns about copyright that cannot be overcome, I think it makes perfect sense to simply create at tool to parse and convert

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-30 Thread Josh Tynjala
I think you completely misunderstood me. The developers I was referring to aren't Apache contributors. I'm referring to a hypothetical Apache tool that would have a clear license. It might not even contain any third-party code at all. This hypothetical tool would allow someone to convert d.ts

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

2015-05-28 Thread Josh Tynjala
Schmalle teotigraphix...@gmail.com wrote: So basically your saying the output of ES5 from Babel? Mike On Wed, May 27, 2015 at 6:47 PM, Josh Tynjala joshtynj...@gmail.com wrote: You might also consider looking at the output of Babel. Babel transpiles ECMAScript 6 back to older versions

Re: [FalconJX] JXEmitter accessors

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

Re: [FalconJX] JXEmitter accessors

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

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

2015-05-28 Thread Josh Tynjala
at 10:34 AM, Josh Tynjala joshtynj...@gmail.com wrote: Yeah, the ES5 output. While I think the output looks good from TypeScript, I figured it wouldn't hurt to point out an alternative. I'm sure it's pretty similar, but when it comes to the little details, you might see something

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

2015-05-27 Thread Josh Tynjala
, that is another pro for me, no commit conflicts, nothing of that nature. Thoughts Josh, Alex? Mike On Wed, May 27, 2015 at 4:40 PM, Josh Tynjala joshtynj...@gmail.com wrote: When I played with TypeScript, I loved that I could subclass CreateJS prototypes very easily. As long

Re: [FalconJX JXEmitter] Hello Greeter! working :: AS cross compiling to vanilla Javascript

2015-05-29 Thread Josh Tynjala
That's great! - Josh On Fri, May 29, 2015 at 9:25 AM, Michael Schmalle teotigraphix...@gmail.com wrote: Hi, Well using some of the 100's of hours I had into development of a different compiler, out of the shear joy of reusing time I lived I have the following compiling with FalconJX and

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Josh Tynjala
This would be really helpful! I'm all for piggy-backing off the work the TypeScript community did (with proper credit where it's due, of course), so that we don't need to start from scratch. - Josh On Fri, May 29, 2015 at 7:30 AM, Michael Schmalle teotigraphix...@gmail.com wrote: Hi, Is

Re: [FalconJX] d.ts files and parse/cross compile to AS

2015-05-29 Thread Josh Tynjala
no idea about licenses. I was actually thinking about writing it in TypeScript because I think it has it's own parser. I am investigating this, if not I will write a tokenizer in Java or something. Mike On Fri, May 29, 2015 at 3:45 PM, Josh Tynjala joshtynj...@gmail.com wrote

Re: [FalconJX jsc] Stop renaming of packages using underscore when compiling with jsc

2015-06-29 Thread Josh Tynjala
, the trend has been to choose focused tools that each do one thing very well. That means that JSC is specifically about producing JS from AS3. - Josh On Jun 28, 2015 10:03 PM, Alex Harui aha...@adobe.com wrote: On 6/28/15, 1:19 PM, Josh Tynjala joshtynj...@gmail.com wrote: Thanks again, Alex. I had

[FalconJX] Scope when calling member function from a reference

2015-06-28 Thread Josh Tynjala
In Flash Player, when you save a reference to a member function, you can call the function reference, and this will still be bound to the instance where it came from. public class Test { public function Test() { this.func(); var func:Function = this.func; func();

Re: [FalconJX] Scope when calling member function from a reference

2015-06-28 Thread Josh Tynjala
this.func() is what looses the connection to the instance scope and then this becaomes window, correct? Mike On Sun, Jun 28, 2015 at 4:48 PM, Josh Tynjala joshtynj...@gmail.com wrote: In Flash Player, when you save a reference to a member function, you can call the function reference

Re: [FalconJX jsc] Stop renaming of packages using underscore when compiling with jsc

2015-06-28 Thread Josh Tynjala
Thanks again, Alex. I had some time to give it a try it today. The CSS file isn't created, and the classes aren't renamed. That looks good. It still creates an HTML file, though. I'm looking for the only output to be JavaScript. - Josh On Sat, Jun 27, 2015 at 9:05 AM, Josh Tynjala joshtynj

Re: [FalconJX] Scope when calling member function from a reference

2015-06-28 Thread Josh Tynjala
Here's the JIRA ticket: https://issues.apache.org/jira/browse/FLEX-34897 - Josh On Sun, Jun 28, 2015 at 2:21 PM, Michael Schmalle teotigraphix...@gmail.com wrote: On Sun, Jun 28, 2015 at 5:17 PM, Josh Tynjala joshtynj...@gmail.com wrote: Yes, that is correct. In case it wasn't

Re: [FalconJX jsc] Stop renaming of packages using underscore when compiling with jsc

2015-06-28 Thread Josh Tynjala
emitter, publisher etc. Mike On Sun, Jun 28, 2015 at 6:19 PM, Josh Tynjala joshtynj...@gmail.com wrote: Thanks, Mike! That did the trick. I thought maybe I was building something wrong for a minute there. - Josh On Sun, Jun 28, 2015 at 3:09 PM, Michael Schmalle teotigraphix

Re: [FalconJX jsc] Stop renaming of packages using underscore when compiling with jsc

2015-06-28 Thread Josh Tynjala
On Sun, Jun 28, 2015 at 4:47 PM, Michael Schmalle teotigraphix...@gmail.com wrote: I can take a look real quick, I have a feeling I know where it is, Alex I think is on vacation. Mike On Sun, Jun 28, 2015 at 4:19 PM, Josh Tynjala joshtynj...@gmail.com wrote: Thanks again

Re: FlexJS /bin/mxmlc executable permissions on mac

2015-05-22 Thread Josh Tynjala
If you've created a pull request on Github, and then you make additional commits on the same branch, the commits will automatically be added to your existing pull request. If you want to be able to make more than one pull request, you can do it by creating a separate branch for each one. Don't

Re: [2/3] git commit: [flex-sdk] [refs/heads/develop] - Compiler: fixed issue where adding an id to a fx:Vector when using -keep compiler argument would result in a compiler error because the wrong cl

2015-05-26 Thread Josh Tynjala
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/ab273645 Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/ab273645 Branch: refs/heads/develop Commit: ab27364581abb4476132ef2b1cdbcb90d2514331 Parents: ffdb071 Author: Josh Tynjala joshtynj...@apache.org Authored: Tue

Re: [LAST CALL] Release FlexJS/FalconJX 0.0.3 (or maybe 0.3)

2015-07-31 Thread Josh Tynjala
I am able to download the latest nightly successfully using the Apache Flex Installer 3.2. I ran into some issues with the SDK, though: 1) jsc and jsc.bat in js/bin don't yet set -js-output-type=jsc. 2) Should js/bin also have a compcjsc and compcjsc.bat files that invoke js/lib/compc.jar, but

[FlexJS] jsc doesn't follow typical compiler naming convention...

2015-08-19 Thread Josh Tynjala
Typically, the name of a compiler comes from the language it compiles into something else. asc = ActionScript compiler mxmlc = MXML Compiler tsc = TypeScript Compiler csc = C Sharp Compiler jsc doesn't follow that convention. Instead, it's named after its output format, with no mention of its

Re: [FlexJS] jsc doesn't follow typical compiler naming convention...

2015-08-20 Thread Josh Tynjala
On Thu, Aug 20, 2015 at 11:00 AM, Alex Harui aha...@adobe.com wrote: Interesting, I thought you didn’t want it to start with “js and that it should start with “as” instead given the input is “as”. So the pattern there is inputoutputc The most important point for me is including as or mxml in

Re: [FlexJS] jsc doesn't follow typical compiler naming convention...

2015-08-20 Thread Josh Tynjala
. Does MXML work with this output type? If not, then maybe using asc in the name would be better: js-asc jsasc - Josh On Wed, Aug 19, 2015 at 10:20 PM, Alex Harui aha...@adobe.com wrote: On 8/19/15, 4:27 PM, Josh Tynjala joshtynj...@gmail.com wrote: Typically, the name of a compiler comes

Re: [LAST CALL] Release FlexJS/FalconJX 0.0.3 (or maybe 0.3)

2015-08-01 Thread Josh Tynjala
I'll see what I can fit in on Monday. - Josh On Jul 31, 2015 11:26 PM, Alex Harui aha...@adobe.com wrote: OK. If you can help out on these that would be great, otherwise I will try to get to it. -Alex On 7/31/15, 5:14 PM, Josh Tynjala joshtynj...@gmail.com wrote: I am able to download

Feathers prototype with CreateJS built with JSC from FlexJS

2015-07-28 Thread Josh Tynjala
Hey folks, Last week, I created a prototype of some Feathers-like components running on top of CreateJS, but written in AS3 and transpiled with FlexJS. Here's a little demo: http://joshblog.net/projects/feathers-createjs/demo/ It's 50 buttons that can be scrolled vertically. Click/touch and

Re: [LAST CALL] Release FlexJS/FalconJX 0.0.3 (or maybe 0.3)

2015-08-03 Thread Josh Tynjala
to change to include the JS extern files in the final build, so I'll leave that to you or someone else. - Josh On Sat, Aug 1, 2015 at 5:01 PM, Josh Tynjala joshtynj...@gmail.com wrote: I'll see what I can fit in on Monday. - Josh On Jul 31, 2015 11:26 PM, Alex Harui aha...@adobe.com wrote: OK

Re: Feathers prototype with CreateJS built with JSC from FlexJS

2015-07-28 Thread Josh Tynjala
...@adobe.com: This is awesome! Thanks to you and the others who have brought the code base to this point. -Alex On 7/28/15, 11:15 AM, Josh Tynjala joshtynj...@gmail.com wrote: Hey folks, Last week, I created a prototype of some Feathers-like components running on top

Re: [FalconJX] Compiler bugs (was

2015-08-07 Thread Josh Tynjala
And I just moved to Seattle a few months ago! If you ever get a chance to visit, Mike, you have two folks to hack on Flex with. :) - Josh On Fri, Aug 7, 2015 at 1:04 PM, Alex Harui aha...@adobe.com wrote: On 8/7/15, 12:09 PM, Michael Schmalle teotigraphix...@gmail.com wrote: It seems

Re: [FlexJS] Setup Error

2015-08-07 Thread Josh Tynjala
this automatically or if we must set up manually. The other thing was remove the js/lib folder and invalidate and restart IDEA. I think this folder was introduced a few days ago by Josh Tynjala, but again don't know more about the need. I simply remove from IDEA configuration and left in the SDK as I

Re: [FalconJX] A couple of bugs: JS Object class isn't dynamic. Prototype unexpectedly shares variables.

2015-07-22 Thread Josh Tynjala
://issues.apache.org/jira/browse/FLEX-34866 Coming back to this I am a bit rusty. I think I could get it done this week some time, I can't commit to that since my free time has been non existent the last 3 weeks. Mike On Tue, Jul 21, 2015 at 8:48 PM, Josh Tynjala joshtynj...@gmail.com wrote

Re: [FalconJX] A couple of bugs: JS Object class isn't dynamic. Prototype unexpectedly shares variables.

2015-07-22 Thread Josh Tynjala
, 2015 at 9:57 AM, Michael Schmalle teotigraphix...@gmail.com wrote: On Wed, Jul 22, 2015 at 12:50 PM, Josh Tynjala joshtynj...@gmail.com wrote: #1 appears to fixed. Thanks! I confirmed in the issue comments that FLEX-34866 appears to be the same issue. - Josh Josh, when you

Transpiler bugs (was: Re: [FalconJX] A couple of bugs: JS Object class isn't dynamic. Prototype unexpectedly shares variables.)

2015-07-23 Thread Josh Tynjala
Shorthand for Vector (new String[]) doesn't transpile to [] https://issues.apache.org/jira/browse/FLEX-34915 This one has a workaround too, so I am not blocked. - Josh On Tue, Jul 21, 2015 at 4:44 PM, Josh Tynjala joshtynj...@gmail.com wrote: The first one affects externc and JS.swc: Object

Re: [FalconJX] A couple of bugs: JS Object class isn't dynamic. Prototype unexpectedly shares variables.

2015-07-21 Thread Josh Tynjala
I found workarounds for both issues, so I'm not blocked. They can wait a bit. - Josh On Jul 21, 2015 4:57 PM, Alex Harui aha...@adobe.com wrote: Hi Josh, What’s your level of urgency on these? -Alex On 7/21/15, 4:44 PM, Josh Tynjala joshtynj...@gmail.com wrote: The first one affects

Re: Transpiler bugs (was: Re: [FalconJX] A couple of bugs: JS Object class isn't dynamic. Prototype unexpectedly shares variables.)

2015-07-24 Thread Josh Tynjala
[indexOf](item); for now, so no rush. - Josh On Thu, Jul 23, 2015 at 3:21 PM, Michael Schmalle teotigraphix...@gmail.com wrote: On Thu, Jul 23, 2015 at 5:04 PM, Josh Tynjala joshtynj...@gmail.com wrote: Shorthand for Vector (new String[]) doesn't transpile to [] https://issues.apache.org

Re: [FalconJX jsc] Compiler error when using classes in packages.

2015-07-21 Thread Josh Tynjala
Alex, I just wanted to let you know that I tried these changes today, and everything seems to be working nicely. - Josh On Wed, Jul 15, 2015 at 2:07 PM, Alex Harui aha...@adobe.com wrote: On 7/15/15, 3:50 AM, Erik de Bruin e...@ixsoftware.nl wrote: Hmm. I think I’ll stop what I’m

[FalconJX] A couple of bugs: JS Object class isn't dynamic. Prototype unexpectedly shares variables.

2015-07-21 Thread Josh Tynjala
The first one affects externc and JS.swc: Object class in JS.swc is not dynamic, resulting in error when setting properties https://issues.apache.org/jira/browse/FLEX-34912 With the second one, the emitter is storing default values for member variables incorrectly: Types passed by reference

Re: [FalconJX jsc] Compiler error when using classes in packages.

2015-07-14 Thread Josh Tynjala
currently reference class names with underscores. protected String formatQualifiedName(String name) { if (name.contains(goog.) || name.startsWith(Vector.)) return name; name = name.replaceAll(\\., .); return name; } - Josh On Sat, Jul 11, 2015 at 10:22 AM, Josh Tynjala joshtynj

Re: [FalconJX] Scope when calling member function from a reference

2015-07-14 Thread Josh Tynjala
to pass context so we don’t have to one-off these patterns. -Alex On 7/14/15, 3:50 PM, Josh Tynjala joshtynj...@gmail.com wrote: Alex, The change you made worked for the case where the function is assigned to a variable, but it doesn't account for the function being passed as an argument

Re: [FalconJX] Scope when calling member function from a reference

2015-07-14 Thread Josh Tynjala
...@gmail.com wrote: On Sun, Jun 28, 2015 at 5:17 PM, Josh Tynjala joshtynj...@gmail.com wrote: Yes, that is correct. In case it wasn't obvious, event listeners are the typical use case where you'd pass a reference to a member function somewhere else where a reference needs to be saved

Re: [FalconJX] Scope when calling member function from a reference

2015-07-14 Thread Josh Tynjala
the emitter do that automatically for all functions on an instance of a class. - Josh On Tue, Jul 14, 2015 at 4:33 PM, Josh Tynjala joshtynj...@gmail.com wrote: That worked! I thought I had tried that. I don't usually use this. when adding event listeners in ActionScript. I guess I

Re: [FalconJX jsc] Compiler error when using classes in packages.

2015-07-14 Thread Josh Tynjala
now until Alex is ready to change things. Mike On Tue, Jul 14, 2015 at 4:38 PM, Josh Tynjala joshtynj...@gmail.com wrote: If anyone else is interested in using JSC, here are the changes that I made. In the getFilePath() function of GoogDepsWriter, on line 377: String classPath

Re: [FalconJX] Scope when calling member function from a reference

2015-07-16 Thread Josh Tynjala
$1); // this will happen on the right side of the = sign to bind a method/function // to a variable Does this sound right? Mike On Thu, Jul 16, 2015 at 3:23 PM, Josh Tynjala joshtynj...@gmail.com wrote: This little snippet from that wiki page looks like it should

Re: [FalconJX] Scope when calling member function from a reference

2015-07-16 Thread Josh Tynjala
with the other compiler and event listeners, I would have to look. Mike -Alex On 7/14/15, 3:50 PM, Josh Tynjala joshtynj...@gmail.com wrote: Alex, The change you made worked for the case where the function is assigned to a variable, but it doesn't account

FYI: SourceForge is currently down

2015-07-17 Thread Josh Tynjala
https://twitter.com/sfnet_ops/status/621859945487581184 I noticed because the JBurg checksum was failing when I tried to build the compiler. It downloads an HTML file that says We're sorry -- the Sourceforge site is currently in Disaster Recovery mode instead. Yikes! - Josh

Re: [DISCUSS] Release Apache FlexJS 0.5.0

2015-10-21 Thread Josh Tynjala
be.com> wrote: > > > On 10/20/15, 5:08 PM, "Josh Tynjala" <joshtynj...@gmail.com> wrote: > > >As long as FlexJS apps don't use external libraries, it should be safe to > >do more drastic optimization like automatically renaming variables and > >things

Re: [DISCUSS] Release Apache FlexJS 0.5.0

2015-10-21 Thread Josh Tynjala
environment variable a developer might add for FlexJS? Is it FLEXJS_HOME? - Josh On Wed, Oct 21, 2015 at 9:21 AM, Alex Harui <aha...@adobe.com> wrote: > > > On 10/21/15, 8:29 AM, "Josh Tynjala" <joshtynj...@gmail.com> wrote: > > >The problem wit

Re: [DISCUSS] Release Apache FlexJS 0.5.0

2015-10-21 Thread Josh Tynjala
/d077966ff1ac18262f4615ff1a533db24d4432a7/lib/grunt/utils.js#L188 - Josh On Wed, Oct 21, 2015 at 10:45 AM, Alex Harui <aha...@adobe.com> wrote: > > > On 10/21/15, 10:16 AM, "Josh Tynjala" <joshtynj...@gmail.com> wrote: > > >The cross-compiler that generates ActionScript from TypeScript >

Re: [FalconJX] Intermittently adds incorrect goog.require() for class in external library

2015-10-22 Thread Josh Tynjala
the externs member variable until the end, when all values were guaranteed to be added. - Josh On Thu, Oct 22, 2015 at 2:39 PM, Josh Tynjala <joshtynj...@gmail.com> wrote: > I tried overriding setTargetSettings(), and that kept the LinkageChecker > from being created more than once. Howev

Re: [FalconJX] Intermittently adds incorrect goog.require() for class in external library

2015-10-22 Thread Josh Tynjala
10/21/15, 5:35 PM, "Alex Harui" <aha...@adobe.com> wrote: > > > > > > >On 10/21/15, 4:20 PM, "Josh Tynjala" <joshtynj...@gmail.com> wrote: > > > >>Is the compiler using more than one thread? Could different threads be > >>

Re: [DISCUSS] Release Apache FlexJS 0.5.0

2015-10-22 Thread Josh Tynjala
; > On 10/21/15, 11:27 AM, "Josh Tynjala" <joshtynj...@gmail.com> wrote: > > > >By the way, the SIMPLE_OPTIMIZATIONS argument for the closure compiler > >might be an acceptable middle ground for minification. When I tried it, I > >was able to load up my

Re: Building FlexJS from source

2015-10-21 Thread Josh Tynjala
I'm guessing that there will be conflicts if you use the AIR SDK that comes with a compiler. - Josh On Wed, Oct 21, 2015 at 12:27 PM, Harbs wrote: > env.AIR_HOME=/Users/harbs/Documents/ApacheFlex/frameworks/AIRSDK_Compiler > >

Re: [FalconJX] Intermittently adds incorrect goog.require() for class in external library

2015-10-22 Thread Josh Tynjala
that out! I think it still means that multiple calls to > initExterns could be launched, so maybe someday we need to put in official > thread management, but I think it is good enough for now. > > -Alex > > On 10/22/15, 3:12 PM, "Josh Tynjala" <joshtynj...@g

Re: [DISCUSS] Release Apache FlexJS 0.5.0

2015-10-22 Thread Josh Tynjala
Sorry, that should be: asjsc source/Example.as On Oct 22, 2015 5:41 PM, "Josh Tynjala" <joshtynj...@gmail.com> wrote: > I'm able to get -js-compiler-option to work. It's not ideal, but I can add > it to my examples. > > I can't get ADVANCED_OPTIMIZATIONS to wo

Re: [DISCUSS] Release Apache FlexJS 0.5.0

2015-10-22 Thread Josh Tynjala
;); > } > } > } > > > > > > > > > > new Example().run(); > > > > > > -Alex > > On 10/22/15, 8:54 PM, "Josh Tynjala" <joshtynj...@gmail.com> wrote: > > >Sorry, that should be: > > > >asjsc

[FalconJX] Intermittently adds incorrect goog.require() for class in external library

2015-10-21 Thread Josh Tynjala
Recently, I've noticed that the output of asjsc is not always identical. Sometimes, it will incorrectly add a goog.require() for a class that is in the external library path. Not always, though. Here's some simplified example output (comment added for emphasis):

Re: Events/Conferences on Apache Flex

2015-11-11 Thread Josh Tynjala
>> > > > >> > >> +1 for online event. I am in Townsville Australia. > >> > >> > >> > >> Regards > >> > >> > >> > >> Rudolf Schnetler > >> > >> > >> > >> On Tue, No

Re: Events/Conferences on Apache Flex

2015-11-09 Thread Josh Tynjala
Some kind of in-person Apache Flex event would be really cool. We should also consider an online-only event on Adobe Connect, similar to the Flash Online Conference that Sergey Gonchar hosts a couple of times a year. No travel required, so more people can attend. A day with several presentations

Re: [VOTE] Release Apache Flex FalconJX 0.5.0 RC3

2015-11-13 Thread Josh Tynjala
I get permission denied errors trying to run the ApproveFalcon.xml script. It appears that it can't write to /opt/local/bin/lib. lib doesn't exist in /opt/local/bin actually. However, I can manually create that folder (OSX asks me for my password), and then I can manually download each of the

Re: [VOTE] Release Apache Flex FalconJX 0.5.0 RC3

2015-11-13 Thread Josh Tynjala
Sorry, I just realized that my last message should have gone in the discuss thread. My mistake. - Josh On Fri, Nov 13, 2015 at 11:13 AM, Josh Tynjala <joshtynj...@gmail.com> wrote: > I get permission denied errors trying to run the ApproveFalcon.xml script. > It appears that it

Re: [DISCUSS] Discuss Release Apache Flex FalconJX 0.5.0 RC3

2015-11-13 Thread Josh Tynjala
gt; On 11/13/15, 11:13 AM, "Josh Tynjala" <joshtynj...@gmail.com> wrote: > > >I get permission denied errors trying to run the ApproveFalcon.xml script. > >It appears that it can't write to /opt/local/bin/lib. lib doesn't exist in > >/opt/local/bin actually

Re: [DISCUSS] Discuss Release Apache Flex FalconJX 0.5.0 RC3

2015-11-13 Thread Josh Tynjala
-falconjx-0.5.0-src/apache-flex-falconjx-0.5.0-src/compiler.tests/build.xml:175: Tests failed On Fri, Nov 13, 2015 at 1:11 PM, Alex Harui <aha...@adobe.com> wrote: > > > On 11/13/15, 12:25 PM, "Josh Tynjala" <joshtynj...@gmail.com> wrote: > > >I try to avoid

Re: [DISCUSS] Discuss Release Apache Flex FalconJX 0.5.0 RC3

2015-11-13 Thread Josh Tynjala
inherited by other Ant scripts started by ApproveFalcon.xml, so I guess I need to set real environment variables this time. - Josh On Fri, Nov 13, 2015 at 12:11 PM, Alex Harui <aha...@adobe.com> wrote: > > > On 11/13/15, 12:06 PM, "Josh Tynjala" <joshtynj...@gmail.c

Re: [VOTE] Release Apache Flex FalconJX 0.5.0 RC3

2015-11-13 Thread Josh Tynjala
+1 Binding - Josh On Tue, Nov 10, 2015 at 11:40 PM, Alex Harui wrote: > Hi, > > This is vote for the 0.5.0 release of the FalconJX (and Falcon) > compilers. There is no separate Falcon-only release package at > this time. The only purpose of the FalconJX packages are to

  1   2   3   4   5   6   7   8   >