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 very difficult to resolve.
>
>Let’s see what Alex thinks of my latest suggestion on resolving this
>problem.
>
>Harbs
>
>> On Sep 7, 2017, at 1:05 PM, lizhi  wrote:
>> 
>> 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 of
>> which contain this type of writing, such as the GUI library I'm
>>porting. If
>> you can't go to the old AS3 library, then flexjs will lose a lot of
>>users.
>> And now the compiler has this error, did not prompt where this error, so
>> once there is an error, it is difficult to troubleshoot. Then again, the
>> best way for us to be an flexjs compiler is to implement the AS3 syntax
>> rules of flashplayer and flashair as much as possible, not to say that a
>> particular writing is bad and that it does not support this writing.
>>And I
>> don't think there's any problem with the wording of static
>> 
>> 
>> 
>> -
>> spriteflexjs.com
>> --
>> Sent from: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fl
>>ex-development.247.n4.nabble.com%2F=02%7C01%7C%7C8f5ffbc6c2cb458
>>55ec008d4f5d970d9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6364037616
>>37199839=SEZvyVkGZ5qpRFqMzDJ4%2FNxYa4a9GETerkdoEvlb4Vs%3D=
>>0
>



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 1:05 PM, lizhi  wrote:
> 
> 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 of
> which contain this type of writing, such as the GUI library I'm porting. If
> you can't go to the old AS3 library, then flexjs will lose a lot of users.
> And now the compiler has this error, did not prompt where this error, so
> once there is an error, it is difficult to troubleshoot. Then again, the
> best way for us to be an flexjs compiler is to implement the AS3 syntax
> rules of flashplayer and flashair as much as possible, not to say that a
> particular writing is bad and that it does not support this writing. And I
> don't think there's any problem with the wording of static
> 
> 
> 
> -
> 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-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 of
which contain this type of writing, such as the GUI library I'm porting. If
you can't go to the old AS3 library, then flexjs will lose a lot of users.
And now the compiler has this error, did not prompt where this error, so
once there is an error, it is difficult to troubleshoot. Then again, the
best way for us to be an flexjs compiler is to implement the AS3 syntax
rules of flashplayer and flashair as much as possible, not to say that a
particular writing is bad and that it does not support this writing. And I
don't think there's any problem with the wording of static



-
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-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 loading all files. That will add more code and 
overhead.

The compiler used to spend more cycles putting the files into an order which 
resolves this circular behavior but it’s ultimately not completely solvable. I 
think avoiding that coding pattern is a better solution.

Maybe Alex who worked on these changes has further comments.

If it’s important to initialize static values, I’d probably recommend an 
initialization phase in your app which makes these assignments.

HTH,
Harbs

> On Sep 7, 2017, at 12:30 PM, lizhi  wrote:
> 
> 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: http://apache-flex-development.247.n4.nabble.com/



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: http://apache-flex-development.247.n4.nabble.com/


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)
+   _renderer = new BaseRenderer;
+   return _renderer;
+   }
+   public static function set renderer(value:IRenderer):void{
+   _renderer = value;
+   }

I don’t know well enough to know whether getters and setters are necessary. If 
leaving the var uninitialized and requiring it to be set by the client might be 
a more efficient solution.

> On Sep 5, 2017, at 8:27 PM, Harbs  wrote:
> 
> 0.8 was more capable of using constants of non-native types, but it had much 
> more difficulty with resolving circulars.
> 
> Static constants and non-lazy static vars should be used with only native 
> types. For non-native types you should use lazy initialization.
> 
> It’s a trade-off that I’ve found is very work-able.
> 
>> On Sep 5, 2017, at 1:03 PM, lizhi  wrote:
>> 
>> 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 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-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 spriteflexjs library has been wasted. Because a lot of test
>examples are wrong now.
>
>Uncaught TypeError: Cannot read property 'BaseRenderer' of undefined
>at SpriteFlexjs.js:91
>Language.js:238 power by SpriteFlexJS
>Graphics.js:442 Uncaught TypeError: Cannot read property 'createPath' of
>undefined
>at flash.display.Graphics.makePath (Graphics.js:442)
>at flash.display.Graphics.moveTo (Graphics.js:359)
>at flash.display.Graphics.drawRect (Graphics.js:249)
>at new TestMouseEvent (TestMouseEvent.js:92)
>at localhost/:135
>Stage.js:581 Uncaught TypeError: Cannot read property 'call' of undefined
>at flash.display.Stage.__update (Stage.js:581)
>TestMouseEvent.css Failed to load resource: the server responded with a
>status of 404 (Not Found)
>
>
>
>-
>spriteflexjs.com 
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2F=02%7C01%7C%7C41810d8107ec43320
>92708d4f447cfea%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6364020366431
>58863=dUpacBL0j29OlajHIUGYBbB3feWlvXcY3Y7i3gredTU%3D=0



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 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-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 PM, Harbs  wrote:
> 
> 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 requestAnimationFrame:Function =
>   window["requestAnimationFrame"]   ||
>   window["webkitRequestAnimationFrame"] ||
>   window["mozRequestAnimationFrame"]||
>   window["oRequestAnimationFrame"] ||
>   window["msRequestAnimationFrame"] ||
>   function(callback):void {
>   setTimeout(callback, 1000 / 60);
>   };
> 
> Changing it to the following fixes your error:
> 
>   public static var requestAnimationFrame:Function =
>   window["requestAnimationFrame"]   ||
>   window["webkitRequestAnimationFrame"] ||
>   window["mozRequestAnimationFrame"]||
>   window["oRequestAnimationFrame"] ||
>   window["msRequestAnimationFrame"] ||
>   function(callback):void {
>   window["setTimeout"](callback, 1000 / 60);
>   };
> 
> Harbs
> 
>> On Sep 5, 2017, at 11:27 AM, lizhi  wrote:
>> 
>> no error too.
>> 
>> package 
>> {
>>  import flash.utils.setTimeout;
>>  public class TestBug 
>>  {
>>  
>>  public function TestBug() 
>>  {
>>  new TestBug2();
>>  setTimeout(function():void{trace("se")}, 100);
>>  trace(1);
>>  }
>>  
>>  }
>> 
>> }
>> 
>> 
>> package 
>> {
>>  public class TestBug2 
>>  {
>>  
>>  public function TestBug2() 
>>  {
>>  
>>  setTimeout(function():void{trace("se")}, 100);
>>  }
>>  
>>  }
>> 
>> }
>> 
>> 
>> 
>> 
>> -
>> 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-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 requestAnimationFrame:Function =
window["requestAnimationFrame"]   ||
window["webkitRequestAnimationFrame"] ||
window["mozRequestAnimationFrame"]||
window["oRequestAnimationFrame"] ||
window["msRequestAnimationFrame"] ||
function(callback):void {
setTimeout(callback, 1000 / 60);
};

Changing it to the following fixes your error:

public static var requestAnimationFrame:Function =
window["requestAnimationFrame"]   ||
window["webkitRequestAnimationFrame"] ||
window["mozRequestAnimationFrame"]||
window["oRequestAnimationFrame"] ||
window["msRequestAnimationFrame"] ||
function(callback):void {
window["setTimeout"](callback, 1000 / 60);
};

Harbs

> On Sep 5, 2017, at 11:27 AM, lizhi  wrote:
> 
> no error too.
> 
> package 
> {
>   import flash.utils.setTimeout;
>   public class TestBug 
>   {
>   
>   public function TestBug() 
>   {
>   new TestBug2();
>   setTimeout(function():void{trace("se")}, 100);
>   trace(1);
>   }
>   
>   }
> 
> }
> 
> 
> package 
> {
>   public class TestBug2 
>   {
>   
>   public function TestBug2() 
>   {
>   
>   setTimeout(function():void{trace("se")}, 100);
>   }
>   
>   }
> 
> }
> 
> 
> 
> 
> -
> 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-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);
trace(1);
}

}

}


package 
{
public class TestBug2 
{

public function TestBug2() 
{

setTimeout(function():void{trace("se")}, 100);
}

}

}




-
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-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 class TestBug
>   {
>   
>   public function TestBug()
>   {
>   
>   setTimeout(function():void{trace("se")}, 100);
>   flash.utils.setTimeout(function():void{trace("se")}, 
> 100);
>   trace(1);
>   }
>   
>   }
>
>}
>
>
>
>-
>spriteflexjs.com 
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2F=02%7C01%7C%7Cf0b61cf1f9fe45415
>de308d4f4034721%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6364017423001
>32427=2VqbqFFTf%2FukaNGTblUk%2F%2FHXaE3C%2B8%2B2FV%2FV24HClV4%3D
>erved=0



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 the JS built-in setTimeout
>
>
>
>-
>spriteflexjs.com 
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2F=02%7C01%7C%7C2e638eda7d1549953
>45208d4f33ce17b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6364008903980
>27030=x9W5Mg1C%2BrGAPVE8Sy5eUTlPHK83kZxb2L9mHRiyhaM%3D=0



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



-
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-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 team.
We don't have a staff of folks writing tests so yes, there are going to be
plenty of bugs found by users for a while.  Even better than asking
questions, it would be great if you tried to learn the compiler code and
proposed patches.

I know your English skills are challenging for you, but I have found that
if you take the time to provide enough detail in the code we can usually
understand your question, and these days, if you post in Chinese, Google
Translate does a pretty good job of translating.

So, please use a text search tool to find out where setTimeout is used in
your code and see if you can make a small test case from just those files
and post how setTimeout is being used.

Thanks,
-Alex

On 9/2/17, 1:26 AM, "lizhi"  wrote:

>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,
>reduce bug, will be more and more people use flexjs. More people will use
>more and more. Now I feel uncomfortable with this SDK, because every
>update
>will always encounter a variety of bug, and then I will come to the forum
>to
>ask questions. And as a Chinese, I'm not very good at communicating in
>English
>
>
>
>-
>spriteflexjs.com 
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2F=02%7C01%7C%7Cf0b22205884b40060
>1cc08d4f1dc4d32%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6363993758960
>75354=1V87C8XQUYSRwbnuLC79tc5w0edQ4ioXYDJWsDeOfEY%3D=0



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,
reduce bug, will be more and more people use flexjs. More people will use
more and more. Now I feel uncomfortable with this SDK, because every update
will always encounter a variety of bug, and then I will come to the forum to
ask questions. And as a Chinese, I'm not very good at communicating in
English



-
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-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

On 9/1/17, 4:50 AM, "lizhi"  wrote:

>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 -define=CONFIG::js_only,true
>Using Flex SDK: D:\sdk\flexjs9
>MXMLJSC
>-js-output-type=FLEXJS
>-sdk-js-lib=D:\sdk\flexjs9\frameworks\js\FlexJS\generated-sources
>-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
>-define=CONFIG::js_only,true
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\events\IEventDispatcher.j
>s
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\events\EventDispatcher.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\IBitmapDrawable.j
>s
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\DisplayObject.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\InteractiveObject
>.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\DisplayObjectCont
>ainer.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\Sprite.js
>Compiling file: 
>D:\proj\git\spriteflexjs\test\bin\js-debug\TestHungryHero.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\TestHungryHeroGPU.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\events\Event.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\events\MouseEvent.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\geom\Transform.js
>Compiling file: D:\proj\git\spriteflexjs\test\bin\js-debug\SpriteFlexjs.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\com\hsharma\hungryHero\HungryHe
>ro1.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\geom\Rectangle.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\spriteflexjs\Stats.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\Stage.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\utils\getTimer.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\Graphics.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\StageAlign.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\geom\Matrix.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\StageScaleMode.js
>Compiling file:
>D:\proj\git\priteflexjs\test\bin\js-debug\flash\display\LoaderInfo.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\binjs-debug\flash\geom\Vector3D.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\BlendMde.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\geom\Point.js
>Compiling file:
>D:\proj\it\spriteflexjs\test\bin\js-debug\flash\__native\IRenderer.js
>Compiling file:
>D:\proj\git\spriteflexjs\tet\bin\js-debug\flash\__native\BaseRenderer.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\__native\WebGLRenderer.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\net\URLVariables.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\events\TouchEvent.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\net\URLRequest.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\IGraphicsData.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\IGraphicsFill.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\GraphicsBitmapFil
>l.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\IGraphicsPath.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\GraphicsPath.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\__native\GLGraphicsPath.j
>s
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\accessibility\Accessibili
>tyProperties.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\GraphicsGradientF
>ill.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\StageQuality.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\accessibility\Accessibili
>tyImplementation.js
>Compiling file:
>D:\proj\git\spriteflexjs\test\bin\js-debug\flash\geom\ColorTransform.js
>Compiling file:

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 -define=CONFIG::js_only,true 
Using Flex SDK: D:\sdk\flexjs9
MXMLJSC
-js-output-type=FLEXJS
-sdk-js-lib=D:\sdk\flexjs9\frameworks\js\FlexJS\generated-sources
-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
-define=CONFIG::js_only,true
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\events\IEventDispatcher.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\events\EventDispatcher.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\IBitmapDrawable.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\DisplayObject.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\InteractiveObject.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\DisplayObjectContainer.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\Sprite.js
Compiling file: D:\proj\git\spriteflexjs\test\bin\js-debug\TestHungryHero.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\TestHungryHeroGPU.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\events\Event.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\events\MouseEvent.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\geom\Transform.js
Compiling file: D:\proj\git\spriteflexjs\test\bin\js-debug\SpriteFlexjs.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\com\hsharma\hungryHero\HungryHero1.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\geom\Rectangle.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\spriteflexjs\Stats.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\Stage.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\utils\getTimer.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\Graphics.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\StageAlign.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\geom\Matrix.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\StageScaleMode.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\LoaderInfo.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\geom\Vector3D.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\BlendMode.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\geom\Point.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\__native\IRenderer.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\__native\BaseRenderer.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\__native\WebGLRenderer.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\net\URLVariables.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\events\TouchEvent.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\net\URLRequest.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\IGraphicsData.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\IGraphicsFill.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\GraphicsBitmapFill.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\IGraphicsPath.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\GraphicsPath.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\__native\GLGraphicsPath.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\accessibility\AccessibilityProperties.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\GraphicsGradientFill.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\StageQuality.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\accessibility\AccessibilityImplementation.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\geom\ColorTransform.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\display\GraphicsEndFill.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\com\hsharma\hungryHero\Assets.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\geom\PerspectiveProjection.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\geom\Matrix3D.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\text\TextSnapshot.js
Compiling file:
D:\proj\git\spriteflexjs\test\bin\js-debug\flash\text\TextFieldAutoSize.js

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 don't
know how to show you this bug



-
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-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"  wrote:

>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
>-define=CONFIG::js_only,true
>Using Flex SDK: D:\sdk\flexjs9_new
>MXMLJSC
>-js-output-type=FLEXJS
>-sdk-js-lib=D:\sdk\flexjs9_new\frameworks\js\FlexJS\generated-sources
>-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
>-define=CONFIG::js_only,true
>Compiling file: D:\proj\git\spriteflexjs\test\bin\js-debug\TestBug.js
>originalPath: goog/array/array.js
>originalPath: goog/asserts/asserts.js
>originalPath: goog/base.js
>originalPath: goog/bootstrap/nodejs.js
>originalPath: goog/debug/entrypointregistry.js
>originalPath: goog/debug/error.js
>originalPath: goog/deps.js
>originalPath: goog/disposable/disposable.js
>originalPath: goog/disposable/idisposable.js
>originalPath: goog/dom/nodetype.js
>originalPath: goog/events/browserevent.js
>originalPath: goog/events/browserfeature.js
>originalPath: goog/events/event.js
>originalPath: goog/events/eventid.js
>originalPath: goog/events/events.js
>originalPath: goog/events/eventtarget.js
>originalPath: goog/events/eventtype.js
>originalPath: goog/events/listenable.js
>originalPath: goog/events/listener.js
>originalPath: goog/events/listenermap.js
>originalPath: goog/labs/useragent/browser.js
>originalPath: goog/labs/useragent/engine.js
>originalPath: goog/labs/useragent/platform.js
>originalPath: goog/labs/useragent/util.js
>originalPath: goog/object/object.js
>originalPath: goog/reflect/reflect.js
>originalPath: goog/string/string.js
>originalPath: goog/useragent/useragent.js
>sorted filename: bootstrap/nodejs.js
>sorted filename: base.js
>sorted filename: deps.js
>sorted filename: object/object.js
>sorted filename: object/object.js
>sorted filename: events/eventid.js
>sorted filename: events/listenable.js
>sorted filename: events/listener.js
>sorted filename: string/string.js
>sorted filename: dom/nodetype.js
>sorted filename: debug/error.js
>sorted filename: asserts/asserts.js
>sorted filename: array/array.js
>sorted filename: events/listenermap.js
>sorted filename: events/eventid.js
>sorted filename: events/listenable.js
>sorted filename: events/eventid.js
>sorted filename: disposable/idisposable.js
>sorted filename: disposable/disposable.js
>sorted filename: events/event.js
>sorted filename: object/object.js
>sorted filename: events/eventid.js
>sorted filename: events/listenable.js
>sorted filename: events/listener.js
>sorted filename: string/string.js
>sorted filename: dom/nodetype.js
>sorted filename: debug/error.js
>sorted filename: asserts/asserts.js
>sorted filename: array/array.js
>sorted filename: events/listenermap.js
>sorted filename: events/eventid.js
>sorted filename: events/listenable.js
>sorted filename: string/string.js
>sorted filename: reflect/reflect.js
>sorted filename: string/string.js
>sorted filename: labs/useragent/util.js
>sorted filename: string/string.js
>sorted filename: string/string.js
>sorted filename: labs/useragent/util.js
>sorted filename: labs/useragent/platform.js
>sorted filename: string/string.js
>sorted filename: string/string.js
>sorted filename: labs/useragent/util.js
>sorted filename: string/string.js
>sorted filename: dom/nodetype.js
>sorted filename: debug/error.js
>sorted filename: asserts/asserts.js
>sorted filename: array/array.js
>sorted filename: labs/useragent/engine.js
>sorted filename: string/string.js
>sorted filename: object/object.js
>sorted filename: string/string.js
>sorted filename: labs/useragent/util.js
>sorted filename: string/string.js
>sorted filename: dom/nodetype.js
>sorted filename: debug/error.js
>sorted filename: asserts/asserts.js
>sorted filename: array/array.js
>sorted filename: labs/useragent/browser.js
>sorted filename: useragent/useragent.js
>sorted filename: events/browserfeature.js
>sorted filename: string/string.js
>sorted filename: reflect/reflect.js
>sorted filename: string/string.js
>sorted filename: labs/useragent/util.js
>sorted filename: string/string.js
>sorted filename: string/string.js
>sorted filename: labs/useragent/util.js
>sorted filename: labs/useragent/platform.js
>sorted filename: string/string.js
>sorted filename: string/string.js
>sorted filename: labs/useragent/util.js
>sorted filename: string/string.js
>sorted filename: dom/nodetype.js
>sorted filename: debug/error.js
>sorted filename: asserts/asserts.js
>sorted filename: 

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
-define=CONFIG::js_only,true 
Using Flex SDK: D:\sdk\flexjs9_new
MXMLJSC
-js-output-type=FLEXJS
-sdk-js-lib=D:\sdk\flexjs9_new\frameworks\js\FlexJS\generated-sources
-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
-define=CONFIG::js_only,true
Compiling file: D:\proj\git\spriteflexjs\test\bin\js-debug\TestBug.js
originalPath: goog/array/array.js
originalPath: goog/asserts/asserts.js
originalPath: goog/base.js
originalPath: goog/bootstrap/nodejs.js
originalPath: goog/debug/entrypointregistry.js
originalPath: goog/debug/error.js
originalPath: goog/deps.js
originalPath: goog/disposable/disposable.js
originalPath: goog/disposable/idisposable.js
originalPath: goog/dom/nodetype.js
originalPath: goog/events/browserevent.js
originalPath: goog/events/browserfeature.js
originalPath: goog/events/event.js
originalPath: goog/events/eventid.js
originalPath: goog/events/events.js
originalPath: goog/events/eventtarget.js
originalPath: goog/events/eventtype.js
originalPath: goog/events/listenable.js
originalPath: goog/events/listener.js
originalPath: goog/events/listenermap.js
originalPath: goog/labs/useragent/browser.js
originalPath: goog/labs/useragent/engine.js
originalPath: goog/labs/useragent/platform.js
originalPath: goog/labs/useragent/util.js
originalPath: goog/object/object.js
originalPath: goog/reflect/reflect.js
originalPath: goog/string/string.js
originalPath: goog/useragent/useragent.js
sorted filename: bootstrap/nodejs.js
sorted filename: base.js
sorted filename: deps.js
sorted filename: object/object.js
sorted filename: object/object.js
sorted filename: events/eventid.js
sorted filename: events/listenable.js
sorted filename: events/listener.js
sorted filename: string/string.js
sorted filename: dom/nodetype.js
sorted filename: debug/error.js
sorted filename: asserts/asserts.js
sorted filename: array/array.js
sorted filename: events/listenermap.js
sorted filename: events/eventid.js
sorted filename: events/listenable.js
sorted filename: events/eventid.js
sorted filename: disposable/idisposable.js
sorted filename: disposable/disposable.js
sorted filename: events/event.js
sorted filename: object/object.js
sorted filename: events/eventid.js
sorted filename: events/listenable.js
sorted filename: events/listener.js
sorted filename: string/string.js
sorted filename: dom/nodetype.js
sorted filename: debug/error.js
sorted filename: asserts/asserts.js
sorted filename: array/array.js
sorted filename: events/listenermap.js
sorted filename: events/eventid.js
sorted filename: events/listenable.js
sorted filename: string/string.js
sorted filename: reflect/reflect.js
sorted filename: string/string.js
sorted filename: labs/useragent/util.js
sorted filename: string/string.js
sorted filename: string/string.js
sorted filename: labs/useragent/util.js
sorted filename: labs/useragent/platform.js
sorted filename: string/string.js
sorted filename: string/string.js
sorted filename: labs/useragent/util.js
sorted filename: string/string.js
sorted filename: dom/nodetype.js
sorted filename: debug/error.js
sorted filename: asserts/asserts.js
sorted filename: array/array.js
sorted filename: labs/useragent/engine.js
sorted filename: string/string.js
sorted filename: object/object.js
sorted filename: string/string.js
sorted filename: labs/useragent/util.js
sorted filename: string/string.js
sorted filename: dom/nodetype.js
sorted filename: debug/error.js
sorted filename: asserts/asserts.js
sorted filename: array/array.js
sorted filename: labs/useragent/browser.js
sorted filename: useragent/useragent.js
sorted filename: events/browserfeature.js
sorted filename: string/string.js
sorted filename: reflect/reflect.js
sorted filename: string/string.js
sorted filename: labs/useragent/util.js
sorted filename: string/string.js
sorted filename: string/string.js
sorted filename: labs/useragent/util.js
sorted filename: labs/useragent/platform.js
sorted filename: string/string.js
sorted filename: string/string.js
sorted filename: labs/useragent/util.js
sorted filename: string/string.js
sorted filename: dom/nodetype.js
sorted filename: debug/error.js
sorted filename: asserts/asserts.js
sorted filename: array/array.js
sorted filename: labs/useragent/engine.js
sorted filename: string/string.js
sorted filename: object/object.js
sorted filename: string/string.js
sorted filename: labs/useragent/util.js
sorted filename: string/string.js
sorted filename: dom/nodetype.js
sorted filename: debug/error.js
sorted filename: asserts/asserts.js
sorted filename: array/array.js
sorted filename: labs/useragent/browser.js
sorted filename: 

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()
>   {
>   
>   }
>   
>   }
>
>}
>
>
>
>-
>spriteflexjs.com 
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2F=02%7C01%7C%7C486e8aee01fa4ec8a
>4d208d4f0f8c0ce%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6363983985554
>81653=EYuKxbEDZwCWu6%2F%2FGLCQzJO9Ifdp7pm1TklloGrxx3Q%3D=0



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 
--
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-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 TestBug()
>   {
>   
>   setTimeout(function():void{}, 100);
>   }
>   
>   }
>
>}
>
>
>//setTimeout.as
>package flash.utils
>{
>   public function setTimeout(closure:Function, delay:Number, ... 
> args):uint
>   {
>   return 0;
>   //return new SetIntervalTimer(closure, delay, false, args).id;
>   }
>}
>
>
>//mxmlc -targets=JSFlex -js-output-optimization=skipAsCoercions
>-remove-circulars -external-library-path="D:\sdk\flexjs9\js\libs\js.swc"
>-compiler.source-path=../src src\TestBug.as
>
>
>
>
>
>-
>spriteflexjs.com 
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2F=02%7C01%7C%7Ca7fb2ee409a94236f
>6ef08d4f0decb52%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6363982870747
>69819=hg6Eb59KX6FjwYLPFZ2AvIjNXcnFSVCBzjMTzYOdAm0%3D=0



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);
}

}

}


//setTimeout.as
package flash.utils
{
public function setTimeout(closure:Function, delay:Number, ... 
args):uint
{
return 0;
//return new SetIntervalTimer(closure, delay, false, args).id;
}
}


//mxmlc -targets=JSFlex -js-output-optimization=skipAsCoercions
-remove-circulars -external-library-path="D:\sdk\flexjs9\js\libs\js.swc"
-compiler.source-path=../src src\TestBug.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-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:
> 
>> if the code not have class,just function will get this error?
>> 
>> 
>> 
>> 
>> -
>> spriteflexjs.com 
>> --
>> Sent from: 
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>> x-development.247.n4.nabble.com%2F=02%7C01%7C%7C38e527f9379248e5b
>> d5d08d4f0340b25%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6363975536908
>> 21022=gcc76Sht2BxuNXROjd0UJN5iewaoB4K1MGzDCizmrFo%3D=0
> 



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: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2F=02%7C01%7C%7C38e527f9379248e5b
>d5d08d4f0340b25%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6363975536908
>21022=gcc76Sht2BxuNXROjd0UJN5iewaoB4K1MGzDCizmrFo%3D=0



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 you
>
>
>
>-
>spriteflexjs.com 
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2F=02%7C01%7C%7C4a0325b8812c4d2c5
>baf08d4f02da7bd%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6363975262628
>00776=0rzlRzUgY2cuVgxuiiUGmQGtHSAAeGj2nofqNTpcWk8%3D=0



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 
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2F=02%7C01%7C%7C3d7c67506a9b40064
>03c08d4f02159ec%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6363974734187
>93769=zjzkj26dLOY91BkwrYa6Bxdv2OKAFEp5T4tt9MEDvJc%3D=0



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 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
>> 
>> 
>> 
>> -
>> spriteflexjs.com 
>> --
>> Sent from: 
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>> x-development.247.n4.nabble.com%2F=02%7C01%7C%7C2004502e47bb4c4df
>> f2f08d4ef8d2273%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6363968368411
>> 31784=P1hhutgwpOr10ZWx%2Fxa%2FPvdcmqIkgZsBMyTTLlLvfQs%3D=0
> 



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
>
>
>
>-
>spriteflexjs.com 
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2F=02%7C01%7C%7C2004502e47bb4c4df
>f2f08d4ef8d2273%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6363968368411
>31784=P1hhutgwpOr10ZWx%2Fxa%2FPvdcmqIkgZsBMyTTLlLvfQs%3D=0



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: 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
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@

>  wrote:
> 
>>
>>
>>
>>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 error?


Alex Harui-2 wrote
> 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" 

> sliz@

>  wrote:
> 
>>get  this error with the option. -remove-circulars
>>
>>
>>java.lang.NullPointerException
>>org.apache.flex.compiler.internal.graph.GoogDepsWriter.getListOfFiles(
>>Go
>>og
>>DepsWriter.java:100)org.apache.flex.compiler.internal.codegen.mxml.fle
>>xj
>>s.
>>MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:311)org.apache.fl
>>ex
>>.c
>>ompiler.clients.MXMLJSCFlex.compile(MXMLJSCFlex.java:381)org.apache.fl
>>ex
>>.c
>>ompiler.clients.MXMLJSCFlex._mainNoExit(MXMLJSCFlex.java:239)org.apach
>>e.
>>fl
>>ex.compiler.clients.MXMLJSCFlex.mainNoExit(MXMLJSCFlex.java:196)org.ap
>>ac
>>he
>>.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:341)org.apache
>>.f
>>le
>>x.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:276)org.apache.flex
>>.c
>>om
>>piler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:236)org.apache.fle
>>x.
>>co
>>mpiler.clients.MXMLJSC.main(MXMLJSC.java:218)
>>
>>
>>
>>
>>-
>>spriteflexjs.com
>>--
>>View this message in context:
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache
>>-f
>>le
>>x-development.247.n4.nabble.com%2FKotlinjs-has-solved-the-circular
>>-d
>>ep
>>endency-problem-Flexjs-do-you-have-any-plans-tp63965p63988.html=0
>>2%
>>7C
>>01%7C%7C65c9af8331fe4ab91abb08d4ee029b54%7Cfa7b1b5a7b34438794aed2c178d
>>ec
>>ee
>>1%7C0%7C0%7C636395142342198166=G56iFB7kKU4DScOrPchf39bDt3gpVovhX
>>TR
>>Ur
>>UtFHXQ%3D=0
>>Sent from the Apache Flex Development mailing list archive at
>>Nabble.com.





-
spriteflexjs.com
--
Sent from: 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-f
le
x-development.247.n4.nabble.com%2F=02%7C01%7C%7Cdece15b94b1c439
15
65e08d4ef656935%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6363921
39
90240=ptGmNuZhbCY052fKJVKuKpD%2FfpLFNkW6Fep%2BvFK7OXM%3D=
> 
> i have look at this file,and can not find some bug.
> https://github.com/matrix3d/spriteflexjs/blob/master/src/flash/utils/setTimeout.as
0
>>
>>
>>
>>
>>
>>-
>>spriteflexjs.com 
>>--
>>Sent from: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>>x-development.247.n4.nabble.com%2F=02%7C01%7C%7Ca42c3494bcbb4317c
>>33608d4ef6a8b9c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6363966882896
>>40071=%2FfxUN5T9UvKfWgr7PgaqCBrDEXMs48t8%2B2SweI6is5k%3D=0





-
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
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
>> 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 error?
>>>
>>>
>>>Alex Harui-2 wrote
 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" 
>>>
 sliz@
>>>
  wrote:
 
>get  this error with the option. -remove-circulars
>
>
>java.lang.NullPointerException
>org.apache.flex.compiler.internal.graph.GoogDepsWriter.getListOfFiles(
>Go
>og
>DepsWriter.java:100)org.apache.flex.compiler.internal.codegen.mxml.fle
>xj
>s.
>MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:311)org.apache.fl
>ex
>.c
>ompiler.clients.MXMLJSCFlex.compile(MXMLJSCFlex.java:381)org.apache.fl
>ex
>.c
>ompiler.clients.MXMLJSCFlex._mainNoExit(MXMLJSCFlex.java:239)org.apach
>e.
>fl
>ex.compiler.clients.MXMLJSCFlex.mainNoExit(MXMLJSCFlex.java:196)org.ap
>ac
>he
>.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:341)org.apache
>.f
>le
>x.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:276)org.apache.flex
>.c
>om
>piler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:236)org.apache.fle
>x.
>co
>mpiler.clients.MXMLJSC.main(MXMLJSC.java:218)
>
>
>
>
>-
>spriteflexjs.com
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache
>-f
>le
>x-development.247.n4.nabble.com%2FKotlinjs-has-solved-the-circular
>-d
>ep
>endency-problem-Flexjs-do-you-have-any-plans-tp63965p63988.html=0
>2%
>7C
>01%7C%7C65c9af8331fe4ab91abb08d4ee029b54%7Cfa7b1b5a7b34438794aed2c178d
>ec
>ee
>1%7C0%7C0%7C636395142342198166=G56iFB7kKU4DScOrPchf39bDt3gpVovhX
>TR
>Ur
>UtFHXQ%3D=0
>Sent from the Apache Flex Development mailing list archive at
>Nabble.com.
>>>
>>>
>>>
>>>
>>>
>>>-
>>>spriteflexjs.com
>>>--
>>>Sent from: 
>>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-f
>>>le
>>>x-development.247.n4.nabble.com%2F=02%7C01%7C%7Cdece15b94b1c439
>>>15
>>>65e08d4ef656935%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6363921
>>>39
>>>90240=ptGmNuZhbCY052fKJVKuKpD%2FfpLFNkW6Fep%2BvFK7OXM%3D=
>>>0
>
>
>
>
>
>-
>spriteflexjs.com 
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2F=02%7C01%7C%7Ca42c3494bcbb4317c
>33608d4ef6a8b9c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6363966882896
>40071=%2FfxUN5T9UvKfWgr7PgaqCBrDEXMs48t8%2B2SweI6is5k%3D=0



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 error?
>>
>>
>>Alex Harui-2 wrote
>>> 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" 
>>
>>> sliz@
>>
>>>  wrote:
>>> 
get  this error with the option. -remove-circulars


java.lang.NullPointerException
org.apache.flex.compiler.internal.graph.GoogDepsWriter.getListOfFiles(Go
og
DepsWriter.java:100)org.apache.flex.compiler.internal.codegen.mxml.flexj
s.
MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:311)org.apache.flex
.c
ompiler.clients.MXMLJSCFlex.compile(MXMLJSCFlex.java:381)org.apache.flex
.c
ompiler.clients.MXMLJSCFlex._mainNoExit(MXMLJSCFlex.java:239)org.apache.
fl
ex.compiler.clients.MXMLJSCFlex.mainNoExit(MXMLJSCFlex.java:196)org.apac
he
.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:341)org.apache.f
le
x.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:276)org.apache.flex.c
om
piler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:236)org.apache.flex.
co
mpiler.clients.MXMLJSC.main(MXMLJSC.java:218)




-
spriteflexjs.com
--
View this message in context:
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-f
le
x-development.247.n4.nabble.com%2FKotlinjs-has-solved-the-circular-d
ep
endency-problem-Flexjs-do-you-have-any-plans-tp63965p63988.html=02%
7C
01%7C%7C65c9af8331fe4ab91abb08d4ee029b54%7Cfa7b1b5a7b34438794aed2c178dec
ee
1%7C0%7C0%7C636395142342198166=G56iFB7kKU4DScOrPchf39bDt3gpVovhXTR
Ur
UtFHXQ%3D=0
Sent from the Apache Flex Development mailing list archive at
Nabble.com.
>>
>>
>>
>>
>>
>>-
>>spriteflexjs.com 
>>--
>>Sent from: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>>x-development.247.n4.nabble.com%2F=02%7C01%7C%7Cdece15b94b1c43915
>>65e08d4ef656935%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636392139
>>90240=ptGmNuZhbCY052fKJVKuKpD%2FfpLFNkW6Fep%2BvFK7OXM%3D=0





-
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-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 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" 
>
>> sliz@
>
>>  wrote:
>> 
>>>get  this error with the option. -remove-circulars
>>>
>>>
>>>java.lang.NullPointerException
>>>org.apache.flex.compiler.internal.graph.GoogDepsWriter.getListOfFiles(Go
>>>og
>>>DepsWriter.java:100)org.apache.flex.compiler.internal.codegen.mxml.flexj
>>>s.
>>>MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:311)org.apache.flex
>>>.c
>>>ompiler.clients.MXMLJSCFlex.compile(MXMLJSCFlex.java:381)org.apache.flex
>>>.c
>>>ompiler.clients.MXMLJSCFlex._mainNoExit(MXMLJSCFlex.java:239)org.apache.
>>>fl
>>>ex.compiler.clients.MXMLJSCFlex.mainNoExit(MXMLJSCFlex.java:196)org.apac
>>>he
>>>.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:341)org.apache.f
>>>le
>>>x.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:276)org.apache.flex.c
>>>om
>>>piler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:236)org.apache.flex.
>>>co
>>>mpiler.clients.MXMLJSC.main(MXMLJSC.java:218)
>>>
>>>
>>>
>>>
>>>-
>>>spriteflexjs.com
>>>--
>>>View this message in context:
>>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-f
>>>le
>>>x-development.247.n4.nabble.com%2FKotlinjs-has-solved-the-circular-d
>>>ep
>>>endency-problem-Flexjs-do-you-have-any-plans-tp63965p63988.html=02%
>>>7C
>>>01%7C%7C65c9af8331fe4ab91abb08d4ee029b54%7Cfa7b1b5a7b34438794aed2c178dec
>>>ee
>>>1%7C0%7C0%7C636395142342198166=G56iFB7kKU4DScOrPchf39bDt3gpVovhXTR
>>>Ur
>>>UtFHXQ%3D=0
>>>Sent from the Apache Flex Development mailing list archive at
>>>Nabble.com.
>
>
>
>
>
>-
>spriteflexjs.com 
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2F=02%7C01%7C%7Cdece15b94b1c43915
>65e08d4ef656935%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636392139
>90240=ptGmNuZhbCY052fKJVKuKpD%2FfpLFNkW6Fep%2BvFK7OXM%3D=0



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
>
>
>java.lang.NullPointerException
>org.apache.flex.compiler.internal.graph.GoogDepsWriter.getListOfFiles(Goog
>DepsWriter.java:100)org.apache.flex.compiler.internal.codegen.mxml.flexjs.
>MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:311)org.apache.flex.c
>ompiler.clients.MXMLJSCFlex.compile(MXMLJSCFlex.java:381)org.apache.flex.c
>ompiler.clients.MXMLJSCFlex._mainNoExit(MXMLJSCFlex.java:239)org.apache.fl
>ex.compiler.clients.MXMLJSCFlex.mainNoExit(MXMLJSCFlex.java:196)org.apache
>.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:341)org.apache.fle
>x.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:276)org.apache.flex.com
>piler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:236)org.apache.flex.co
>mpiler.clients.MXMLJSC.main(MXMLJSC.java:218)
>
>
>
>
>-
>spriteflexjs.com 
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FKotlinjs-has-solved-the-circular-dep
>endency-problem-Flexjs-do-you-have-any-plans-tp63965p63988.html=02%7C
>01%7C%7C65c9af8331fe4ab91abb08d4ee029b54%7Cfa7b1b5a7b34438794aed2c178decee
>1%7C0%7C0%7C636395142342198166=G56iFB7kKU4DScOrPchf39bDt3gpVovhXTRUr
>UtFHXQ%3D=0
>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 Harbs
What version are you using?

> On Aug 28, 2017, at 1:50 PM, lizhi  wrote:
> 
> get  this error with the option. -remove-circulars
> 
> 
> java.lang.NullPointerException
> org.apache.flex.compiler.internal.graph.GoogDepsWriter.getListOfFiles(GoogDepsWriter.java:100)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:311)org.apache.flex.compiler.clients.MXMLJSCFlex.compile(MXMLJSCFlex.java:381)org.apache.flex.compiler.clients.MXMLJSCFlex._mainNoExit(MXMLJSCFlex.java:239)org.apache.flex.compiler.clients.MXMLJSCFlex.mainNoExit(MXMLJSCFlex.java:196)org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:341)org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:276)org.apache.flex.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:236)org.apache.flex.compiler.clients.MXMLJSC.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
> 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 Harbs
static variables which are native types should work fine.

If they are custom types, you need to use getters (or better functions) instead 
of variables or consts.

> On Aug 28, 2017, at 9:03 AM, lizhi  wrote:
> 
> 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 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 Harbs
-remove-circulars should fix this.

> On Aug 28, 2017, at 9:01 AM, lizhi  wrote:
> 
> I'm not sure now. I'm porting a AS3 UI library. But a lot of serious mistakes
> were reported. I'm checking out why this error happened
> 
> 八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
> println
> 严重: D:/proj/git/spriteflexjs/test/bin/js-debug/XML.js:14: ERROR - required
> "XMLList" namespace not provided yet
> goog.require('XMLList');
> ^^^
> 
> 八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
> println
> 严重: D:/proj/git/spriteflexjs/test/bin/js-debug/fairygui/GButton.js:13: ERROR
> - required "fairygui.GComponent" namespace not provided yet
> goog.require('fairygui.GComponent');
> ^^^
> 
> 八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
> println
> 严重: D:/proj/git/spriteflexjs/test/bin/js-debug/fairygui/GComboBox.js:12:
> ERROR - required "fairygui.GButton" namespace not provided yet
> goog.require('fairygui.GButton');
> 
> 
> 八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
> println
> 严重: D:/proj/git/spriteflexjs/test/bin/js-debug/fairygui/GComboBox.js:13:
> ERROR - required "fairygui.GComponent" namespace not provided yet
> goog.require('fairygui.GComponent');
> ^^^
> 
> 八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
> println
> 严重: D:/proj/git/spriteflexjs/test/bin/js-debug/fairygui/GComboBox.js:14:
> ERROR - required "fairygui.GLabel" namespace not provided yet
> 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 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
I'm not sure now. I'm porting a AS3 UI library. But a lot of serious mistakes
were reported. I'm checking out why this error happened

八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
println
严重: D:/proj/git/spriteflexjs/test/bin/js-debug/XML.js:14: ERROR - required
"XMLList" namespace not provided yet
goog.require('XMLList');
^^^

八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
println
严重: D:/proj/git/spriteflexjs/test/bin/js-debug/fairygui/GButton.js:13: ERROR
- required "fairygui.GComponent" namespace not provided yet
goog.require('fairygui.GComponent');
^^^

八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
println
严重: D:/proj/git/spriteflexjs/test/bin/js-debug/fairygui/GComboBox.js:12:
ERROR - required "fairygui.GButton" namespace not provided yet
goog.require('fairygui.GButton');


八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
println
严重: D:/proj/git/spriteflexjs/test/bin/js-debug/fairygui/GComboBox.js:13:
ERROR - required "fairygui.GComponent" namespace not provided yet
goog.require('fairygui.GComponent');
^^^

八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
println
严重: D:/proj/git/spriteflexjs/test/bin/js-debug/fairygui/GComboBox.js:14:
ERROR - required "fairygui.GLabel" namespace not provided yet
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-27 Thread Harbs
What bug are you talking about?

What do you need that -remove-circulars does not fix?

> On Aug 28, 2017, at 6:00 AM, lizhi  wrote:
> 
> Please compile a simple kotlin project. I think this bug is very important
> and should be repaired as soon as possible. Then kotlin is also open source.
> 
> 
> 
> -
> 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-tp63965p63979.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-27 Thread lizhi
Please compile a simple kotlin project. I think this bug is very important
and should be repaired as soon as possible. Then kotlin is also open source.



-
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-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
Hi Lizhi,

Do you have any links that explain what they did?

> On Aug 26, 2017, at 11:52 PM, lizhi  wrote:
> 
> 
> 
> 
> 
> -
> 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.