Re: [DISCUSS] Release Apache FlexJS 0.5.0

2015-10-22 Thread Josh Tynjala
Thanks, Alex. I'll give that a try instead. - Josh On Oct 22, 2015 9:01 PM, "Alex Harui" wrote: > I looked into this. It might be a bug in GCC. The export symbol code > overwrites the Example.run when it create Example. IMO, it should check > for existence, or export in a different order. > >

Re: [DISCUSS] Release Apache FlexJS 0.5.0

2015-10-22 Thread Alex Harui
I looked into this. It might be a bug in GCC. The export symbol code overwrites the Example.run when it create Example. IMO, it should check for existence, or export in a different order. FlexJS works because it doesn’t rely on a static entry point. The following works for me: package { pub

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" 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 work with asjsc at all, though. Not > even the simplest exampl

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

2015-10-22 Thread Josh Tynjala
Yeah, it could run more than once, but at least the result will always be the same. It would be nice to avoid the unnecessary duplication, but it seems fast enough that it can wait. - Josh On Oct 22, 2015 7:52 PM, "Alex Harui" wrote: > Good job figuring that out! I think it still means that mul

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

2015-10-22 Thread Alex Harui
Good job figuring 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" wrote: >Problem solved. I discovered that is

Re: Building FlexJS from source

2015-10-22 Thread Alex Harui
We use AIR and AS3 for the Installer that installs binary packages for IDEs. For a source package, which can’t have any binaries, we need to start from somewhere, and require AIR can be a hassle especially for Linux folks which we still want to support. So Ant works on all 3 platforms (Win, Mac,

Re: [DISCUSS] Release Apache FlexJS 0.5.0

2015-10-22 Thread Josh Tynjala
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 work with asjsc at all, though. Not even the simplest example that I can think of. No externs required. source/Example.as: package { public class Example {

Re: Building FlexJS from source

2015-10-22 Thread jude
Off topic but related question: Why aren't we using AS3 and AIR extended profile to check for env variables and download and setup of FlexJS, etc? I've issues with ant and it doesn't always seem like a faster approach after using it for so long. Then again, AIR didn't have extendedDesktop until re

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

2015-10-22 Thread Josh Tynjala
Problem solved. I discovered that isExternal() could be called before initExterns() returned. The externs member variable would be non-null, but not all of the values had been added yet. I changed initExterns() so that it would add the values a local variable instead, and I waited to set the extern

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

2015-10-22 Thread Josh Tynjala
I tried overriding setTargetSettings(), and that kept the LinkageChecker from being created more than once. However, that did not fix the issue. The isExternal() method on the LinkageChecker is still sometimes incorrectly returning false. I guess that was just a coincidence. I'll keep investigatin

Re: Jenkins build is still unstable: flex-sdk_test #369

2015-10-22 Thread Peter Ent
I got the MobileTrader app working on my iPhone! Doesn¹t look too bad. I deployed it via Xcode which was in the Cordova instructions, although you can also deploy it from the command line. The Cordova-generated code gives some warnings in Xcode. They are easy enough to fix, but will get wiped if th

[GitHub] flex-sdk pull request: Remove unnecessary String.toString()

2015-10-22 Thread SlavaRa
GitHub user SlavaRa opened a pull request: https://github.com/apache/flex-sdk/pull/35 Remove unnecessary String.toString() You can merge this pull request into a Git repository by running: $ git pull https://github.com/SlavaRa/flex-sdk feature/remove_unnecessary_String.toStri

Re: Building FlexJS from source

2015-10-22 Thread Harbs
Thanks for finding that! It now appears to build fine. The build works even without that extra arg value. OK. Next task is to try and target the developer build of FlexJS and see if I can put together an app using that. On Oct 22, 2015, at 4:27 AM, Alex Harui wrote: > Well, I think I was able