Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-07 Thread Alex Harui
Small test cases would be helpful in determining solutions. Thanks, -Alex On 9/7/17, 3:15 AM, "Harbs" wrote: >It only worked up to a point. I ran into many cases where the old >compiler blew up on these issues. I spent about a month with Alex on >these issues. They were

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-07 Thread Harbs
It only worked up to a point. I ran into many cases where the old compiler blew up on these issues. I spent about a month with Alex on these issues. They were very difficult to resolve. Let’s see what Alex thinks of my latest suggestion on resolving this problem. Harbs > On Sep 7, 2017, at

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-07 Thread lizhi
hi, Whether it's bug or not. But the flashplayer based AS3 language supports this writing. And the old version of flexjs also supports this writing, proving that it can be successfully compiled into JS code. Besides, we use flexjs for a great reason because there are many old AS3 libraries, some

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-07 Thread Harbs
Hi Lizhi, I don’t think this is a “bug” that will be fixed. It’s more of a limitation which is probably not going away. Resolving circulars so static consts (or initialized vars) can be used for custom types is not really a solvable problem unless there is a class initialization stage after

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-07 Thread lizhi
Thank you for finding the improvement. But I'm not going to change this part of the code. I'm sure this is SDK bug, not code bug. I will wait for SDK to fix the bug, such as SDK to version 1, to engage in flexjs, first do other things recently. - spriteflexjs.com -- Sent from:

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-05 Thread Harbs
Changing this made MouseTest run: - public static var renderer:IRenderer = new BaseRenderer; + private static var _renderer:IRenderer; + public static function get renderer():IRenderer + { + if(!_renderer) +

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-05 Thread Alex Harui
Again, please try to find small test cases that reproduce these bugs. As Harbs showed, details matter. The fact that you were trying to initialize a static variable with a function might matter in these cases. Thanks, -Alex On 9/5/17, 3:20 AM, "lizhi" wrote: >But I feel the

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-05 Thread lizhi
Thank you very much! Well, I also know there's a setTimeout, but this setTimeout is only JS built, so I don't care. However, it seems that the new version of the flexjs compiler has problems dealing with static classes. And flexjs0.8 doesn't have that problem. - spriteflexjs.com -- Sent

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-05 Thread Harbs
BTW, The problem is probably related to the fact that you have a static var referencing the top level function. I found the problem by searching the JS files to “setTimeout”. SpriteFlexjs.js was the only file which had it listed in the dependency list. HTH, Harbs > On Sep 5, 2017, at 12:33

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-05 Thread Harbs
Lizhi, Your problem is in SpriteFlexjs where you have the following output: /* FlexJS Static Dependency List: flash.__native.BaseRenderer,setTimeout*/ The compiler thinks there’s a dependency on a setTimeout class. That’s caused by this code: public static var

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-05 Thread lizhi
no error too. package { import flash.utils.setTimeout; public class TestBug { public function TestBug() { new TestBug2(); setTimeout(function():void{trace("se")}, 100);

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-04 Thread Alex Harui
Are your actual code are you using both in the same file and fully qualifying the call to flash.utils.SetTimeout? Maybe you need more than one file in the test. -Alex On 9/4/17, 7:10 PM, "lizhi" wrote: >no error > >package >{ > import flash.utils.setTimeout; > public

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-04 Thread Alex Harui
Try mixing in the regular JS built-in setTimeout into your simple test case and see if you can reproduce the same error. -Alex On 9/3/17, 7:30 PM, "lizhi" wrote: > >And I searched for flash.utils.settimeout in full text, and nowhere else >to >use this class. Just some places use

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-03 Thread lizhi
And I searched for flash.utils.settimeout in full text, and nowhere else to use this class. Just some places use the JS built-in setTimeout - spriteflexjs.com -- Sent from: http://apache-flex-development.247.n4.nabble.com/

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-03 Thread lizhi
Your SDK developers must be much easier than we're looking for. No matter how many papers. Even if 100 files. Because you can debug, this bug is obviously where the wrong report, as long as you use eclipse debug the code, observe variables, how many documents does not matter -

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-02 Thread Alex Harui
Hi Lizhi, I still would like to see a small reproducible test case. If we set a pattern where anyone can hand us 100's of files to debug then we will simply not make much progress on FlexJS. We need you to help us by making a small test case. FlexJS is being developed by a relatively small

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-02 Thread lizhi
So how do you solve this bug? Now change this bug, and people who use flexjs later will be popular. If you know it is bug, but do not think of ways to change this bug. Flexjs will only become less and less popular. Because flash is dead, I don't want to see flexjs die too. Only SDK stability,

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-01 Thread Alex Harui
Lizhi, I'm sorry, but I just don't want to take the time to wade through dozens of files. If you grep your source code, where is setTimeout mentioned? In the small test case, flash.utils.setTimeout gets compiled into setTimeout.js, but it doesn't appear to be doing so in this output. -Alex

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-01 Thread lizhi
D:\proj\git\spriteflexjs\test>D:\sdk\flexjs9/js/bin/mxmlc -targets=JSFlex -js-output-optimization=skipAsCoercions -remove-circulars -external-library-path="D:\sdk\flexjs9\js\libs\js.swc" -compiler.source-path=../src src\TestHungryHeroGPU.as -define=CONFIG::as_only,false

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-01 Thread lizhi
I just downloaded the latest version of flexjs, setTimeout's bug, but my spriteflexjs project was still wrong. I really don't know how to test this bug, so can you go to GitHub and download my project?. Then compile it It's easy for you to compile a flexjs project as a SDK developer. I really

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-01 Thread Alex Harui
Are you sure you have the latest code? Maybe you grabbed an old build before the new build finished. However, I noticed this error (GoogDepsWriter line 158) is different from the other error you reported (line 100) so there might be more than one bug. -Alex On 8/31/17, 11:22 PM, "lizhi"

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-09-01 Thread lizhi
the same. D:\proj\git\spriteflexjs\test>D:\sdk\flexjs9_new/js/bin/mxmlc -targets=JSFlex -js-output-optimization=skipAsCoercions -remove-circulars -external-library-path="D:\sdk\flexjs9_new\js\libs\js.swc" -compiler.source-path=../src src\TestBug.as -define=CONFIG::as_only,false

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-31 Thread Alex Harui
What error did you get? On 8/31/17, 10:17 PM, "lizhi" wrote: >nice.bug the only class ,do not have setTimeout,also get error. >package >{ > public class TestBug > { > > public function TestBug() > { > >

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-31 Thread lizhi
nice.bug the only class ,do not have setTimeout,also get error. package { public class TestBug { public function TestBug() { } } } - spriteflexjs.com --

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-31 Thread Alex Harui
I pushed a fix for this NPE. The nightly build should be done in about 40 minutes. -Alex On 8/31/17, 7:11 PM, "lizhi" wrote: >//testBug.as >package >{ > import flash.utils.setTimeout; > public class TestBug > { > > public function

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-31 Thread lizhi
//testBug.as package { import flash.utils.setTimeout; public class TestBug { public function TestBug() { setTimeout(function():void{}, 100); }

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-31 Thread Harbs
> Maybe. I thought we'd fixed that. Yes. We have. > On Aug 31, 2017, at 5:38 PM, Alex Harui wrote: > > Maybe. I thought we'd fixed that. Again, prepare a small test case so we > can take a look. > > -Alex > > On 8/30/17, 10:49 PM, "lizhi" wrote: >

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-31 Thread Alex Harui
Maybe. I thought we'd fixed that. Again, prepare a small test case so we can take a look. -Alex On 8/30/17, 10:49 PM, "lizhi" wrote: >if the code not have class,just function will get this error? > > > > >- >spriteflexjs.com >-- >Sent from:

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi
if the code not have class,just function will get this error? - spriteflexjs.com -- Sent from: http://apache-flex-development.247.n4.nabble.com/

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread Alex Harui
Lizhi, Maybe some part of your email got cut off. What source file and commands are you referring to? -Alex On 8/30/17, 10:03 PM, "lizhi" wrote: >Please download the source file from github and compile it with the >commands >I have provided. It should be very easy for you. Thank

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi
Please download the source file from github and compile it with the commands I have provided. It should be very easy for you. Thank you - spriteflexjs.com -- Sent from: http://apache-flex-development.247.n4.nabble.com/

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi
- spriteflexjs.com -- Sent from: http://apache-flex-development.247.n4.nabble.com/

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread Alex Harui
It would be helpful to have a smaller test case that shows that setTimeout continues to be a problem. -Alex On 8/30/17, 8:35 PM, "lizhi" wrote: >Please help me with the solution. What information do I need to provide? >The >company is in a hurry > > > >- >spriteflexjs.com >--

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi
Please help me with the solution. What information do I need to provide? The company is in a hurry - spriteflexjs.com -- Sent from: http://apache-flex-development.247.n4.nabble.com/

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi
pls download the code from the github.thanks - spriteflexjs.com -- Sent from: http://apache-flex-development.247.n4.nabble.com/

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread Harbs
Yeah. I’d guess it’s missing an import and is not using the js externs file. > On Aug 30, 2017, at 7:07 PM, Alex Harui wrote: > > Lizhi, > > Are you sure your flash.utils.setTimeout is being referenced by the code? > The console output didn't mention a

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread Alex Harui
Lizhi, Are you sure your flash.utils.setTimeout is being referenced by the code? The console output didn't mention a flash.utils.setTimeout. Maybe some other setTimeout is being referenced instead. -Alex On 8/30/17, 2:54 AM, "lizhi" wrote: >0.9 the newest > > > >-

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi
0.9 the newest - spriteflexjs.com -- Sent from: http://apache-flex-development.247.n4.nabble.com/

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread Harbs
What version of the compiler are you using? > On Aug 30, 2017, at 10:04 AM, lizhi wrote: > > https://github.com/matrix3d/spriteflexjs/blob/master/src/flash/utils/setTimeout.as > > > > - > spriteflexjs.com > -- > Sent from:

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi
https://github.com/matrix3d/spriteflexjs/blob/master/src/flash/utils/setTimeout.as - spriteflexjs.com -- Sent from: http://apache-flex-development.247.n4.nabble.com/

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread lizhi
Alex Harui-2 wrote > Hmm. Somehow the output thinks that setTimeout is not a native function > and is looking for a file to match it. How is setTimeout being used in > your code? > > I am done working for today. Will check tomorrow. > > -Alex > > On 8/29/17, 10:47 PM, "lizhi" > sliz@ >

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-30 Thread Alex Harui
Hmm. Somehow the output thinks that setTimeout is not a native function and is looking for a file to match it. How is setTimeout being used in your code? I am done working for today. Will check tomorrow. -Alex On 8/29/17, 10:47 PM, "lizhi" wrote: > > > >Alex Harui-2 wrote >>

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-29 Thread lizhi
Alex Harui-2 wrote > Hi Lizhi, > > Please post a link to the entire console output from the compile. You can > try to use paste.apache.org. Or pastebin.com or other similar service. > > Thanks, > -Alex > > On 8/29/17, 10:10 PM, "lizhi" > sliz@ > wrote: > >>hi alex harui.which file

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-29 Thread Alex Harui
Hi Lizhi, Please post a link to the entire console output from the compile. You can try to use paste.apache.org. Or pastebin.com or other similar service. Thanks, -Alex On 8/29/17, 10:10 PM, "lizhi" wrote: >hi alex harui.which file error? > > >Alex Harui-2 wrote >> Post a link

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-28 Thread lizhi
- spriteflexjs.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Kotlinjs-has-solved-the-circular-dependency-problem-Flexjs-do-you-have-any-plans-tp63965p64009.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-28 Thread Alex Harui
Post a link to your console output. That exception often happens when there is no JS file for a class. There should be mention of which file in the console output. -Alex On 8/28/17, 3:50 AM, "lizhi" wrote: >get this error with the option. -remove-circulars > >

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-28 Thread Harbs
MLJSC.main(MXMLJSC.java:218) > > > > > - > spriteflexjs.com > -- > View this message in context: > http://apache-flex-development.247.n4.nabble.com/Kotlinjs-has-solved-the-circular-dependency-problem-Flexjs-do-you-have-any-plans-tp63965p63988.html > S

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-28 Thread Harbs
variables needs to be optimized. > > > > > > > > - > spriteflexjs.com > -- > View this message in context: > http://apache-flex-development.2333347.n4.nabble.com/Kotlinjs-has-solved-the-circular-dependency-problem-Flexjs-do-you-have-any-plans-tp63965p63983.html &

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-28 Thread Harbs
> goog.require('fairygui.GLabel'); > ^^^^^^^^^^^ > > > > > ----- > spriteflexjs.com > -- > View this message in context: > http://apache-flex-development.247.n4.nabble.com/Kotlinjs-has-solved-the-circular-dependency-problem-Flexjs-do-you-have-any-plans-tp63965p63982.html > Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-28 Thread lizhi
Moreover, initialization of flexjs static variables needs to be optimized. - spriteflexjs.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Kotlinjs-has-solved-the-circular-dependency-problem-Flexjs-do-you-have-any-plans-tp63965p63983.html Sent

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-28 Thread lizhi
ace not provided yet goog.require('fairygui.GLabel'); ^^^ - spriteflexjs.com -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/Kotlinjs-has-solved-the-circular-dependency-problem-Flexjs-do-you-have-any-plans-tp63965p63982.html Sent fro

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-27 Thread Harbs
otlin is also open source. > > > > - > spriteflexjs.com > -- > View this message in context: > http://apache-flex-development.2333347.n4.nabble.com/Kotlinjs-has-solved-the-circular-dependency-problem-Flexjs-do-you-have-any-plans-tp63965p63979.html > Sent from the

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-27 Thread lizhi
-dependency-problem-Flexjs-do-you-have-any-plans-tp63965p63979.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-27 Thread vincent
Bonjour, En congés jusqu'au 4 septembre, je prendrais connaissance de votre message à mon retour. Cordialement, Vincent/AFTER24

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-26 Thread Harbs
le.com/Kotlinjs-has-solved-the-circular-dependency-problem-Flexjs-do-you-have-any-plans-tp63965.html > Sent from the Apache Flex Development mailing list archive at Nabble.com.

Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-26 Thread lizhi
- spriteflexjs.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Kotlinjs-has-solved-the-circular-dependency-problem-Flexjs-do-you-have-any-plans-tp63965.html Sent from the Apache Flex Development mailing list archive at Nabble.com.