Re: flexjs foreach very slow

2016-05-08 Thread Harbs
Rats. Good point… On May 9, 2016, at 8:12 AM, Alex Harui wrote: > Isn't tan issue with Array.forEach() that you can't use 'break' to stop > the loop? > > -Alex > > On 5/8/16, 3:41 AM, "Harbs" wrote: > >> So would this be a workable solution? >> >> This: >> >> for each(item in object){ >>

Re: subscribe to dev@flex.apache.org

2016-05-08 Thread Harbs
Send an email to: dev-subscr...@flex.apache.org[1] Harbs [1]http://flex.apache.org/community-mailinglists.html On May 9, 2016, at 8:52 AM, saicharan.see...@ebix.com wrote: > > Hi , > > I would like to get notifications on FlexJs by subscribing to dev list of it . > > > Thanks, > Charan > >

Re: [FalconJX]Compilers and arguments

2016-05-08 Thread Harbs
This is good. What about acceptable arguments? Off the top of my head, there’s 1. remove circulars (which I never totally understood) 2. strict XML 3. debug options 4. keep-asdoc (how well does this work?) 5. flexlib etc. Without clear documentation of all this stuff, it feels very overwhelming.

Re: [FalconJX]Compilers and arguments

2016-05-08 Thread Harbs
This is good. What about acceptable arguments? Off the top of my head, there’s 1. remove circulars (which I never totally understood) 2. strict XML 3. debug options 4. keep-asdoc (how well does this work?) 5. flexlib etc. Without clear documentation of all this stuff, it feels very overwhelming.

Re: [FalconJX]Compilers and arguments

2016-05-08 Thread Alex Harui
On 5/8/16, 5:33 AM, "Harbs" wrote: >I’m trying to set up some development environments and I realized there’s >lots of pieces and I’m not sure how everything fits together. > >FalconJX currently generates the following scripts and executables: > >Scripts: >Asjsc - compiles AS app to JS with JS.

Re: git commit: [flex-asjs] [refs/heads/develop] - - Bumped the version from 0.6.0-SNAPSHOT to 0.7.0-SNAPSHOT - Fixed the node extern build - Resolved some of the blocker sonarqube findings

2016-05-08 Thread Alex Harui
Chris, Looks like there was more than pom.xml changes which are breaking the build. Can you revert changes to the .as files? Thanks, -Alex On 5/7/16, 8:14 AM, "cd...@apache.org" wrote: >Repository: flex-asjs >Updated Branches: > refs/heads/develop 1149ba78c -> d26cf8091 > > >- Bumped the ver

subscribe to dev@flex.apache.org

2016-05-08 Thread saicharan.see...@ebix.com
Hi , I would like to get notifications on FlexJs by subscribing to dev list of it . Thanks, Charan The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, dissemination of the information, or copying of this message is prohi

Re: [FlexJS]TimerEvent

2016-05-08 Thread Alex Harui
On 5/8/16, 2:36 PM, "Harbs" wrote: >I’m going through Flash code and converting it to FlexJS… > >Is there any reason there’s no flex.utils.TimerEvent for Timer event >constants? If not, I’ll add it… Well, one thing I wanted to do differently in FlexJS vs Flex was have fewer event classes. Eac

Re: flexjs foreach very slow

2016-05-08 Thread Alex Harui
Isn't tan issue with Array.forEach() that you can't use 'break' to stop the loop? -Alex On 5/8/16, 3:41 AM, "Harbs" wrote: >So would this be a workable solution? > >This: > >for each(item in object){ > item.doSomething(); >} > >Would become: > >if (!!object.forEach){ > object.forEac

Re: [FlexJS][XML]appending XMLLists

2016-05-08 Thread Alex Harui
On 5/8/16, 1:18 AM, "Harbs" wrote: >I’m still having trouble with the spec, though. The spec has the >following in [[Append]]: > >3. If Type(V) is XMLList, > a. Let x.[[TargetObject]] = V.[[TargetObject]] > b. Let x.[[TargetProperty]] = V.[[TargetProperty]] > c. Let n = V.[[Length]] > d. If

Re: AW: AW: AW: [FLEXJS] Probably found the reason for some of my problems ...

2016-05-08 Thread Alex Harui
On 5/8/16, 4:34 PM, "Christofer Dutz" wrote: > >Well I agree that it would be good to share instances of things, but not >configuration. Especially not sharing stuff between different instances >of different compilers. Just as an example: MXMLJSC sets a different >backend then COMPJSC does ...

Re: AW: FlexJS identity crisis. was: [Discuss]Accept donation of drawing APIs

2016-05-08 Thread Alex Harui
Good page, Harbs. We should move it under the FlexJS tree somewhere. I have no objections to changing "externs" to something else. One nit: it says externs are "linked at compile-time". Might be better to say, "used for type-checking at compile-time". Thanks, -Alex

AW: FlexJS identity crisis. was: [Discuss]Accept donation of drawing APIs

2016-05-08 Thread Christofer Dutz
+1 for the renaming to typedefs or anything but "externs" Chris Von: Harbs Gesendet: Sonntag, 8. Mai 2016 18:35:36 An: dev@flex.apache.org Betreff: Re: FlexJS identity crisis. was: [Discuss]Accept donation of drawing APIs FWIW, I was reflecting on the n

AW: AW: AW: [FLEXJS] Probably found the reason for some of my problems ...

2016-05-08 Thread Christofer Dutz
Well I agree that it would be good to share instances of things, but not configuration. Especially not sharing stuff between different instances of different compilers. Just as an example: MXMLJSC sets a different backend then COMPJSC does ... sharing breaks things here. In Ant you do fork="ye

Re: FlexJS identity crisis. was: [Discuss]Accept donation of drawing APIs

2016-05-08 Thread Josh Tynjala
I like the sound of "typedef SWCs" better than "extern SWCs". The meaning of the name is more obvious, I think. - Josh On May 8, 2016 9:35 AM, "Harbs" wrote: FWIW, I was reflecting on the naming a bit more today, and I’m thinking that “FlexJS Typedefs” or “FlexJS Type Definitions” might be bette

[FlexJS]TimerEvent

2016-05-08 Thread Harbs
I’m going through Flash code and converting it to FlexJS… Is there any reason there’s no flex.utils.TimerEvent for Timer event constants? If not, I’ll add it… Harbs

Re: FlexJS identity crisis. was: [Discuss]Accept donation of drawing APIs

2016-05-08 Thread Harbs
FWIW, I was reflecting on the naming a bit more today, and I’m thinking that “FlexJS Typedefs” or “FlexJS Type Definitions” might be better than “FlexJS Externs”. I think typedefs are more descriptive than “externs”. On the other hand, “externs” is a terminology already used by GCC. The diagram

Re: AW: AW: [FLEXJS] Probably found the reason for some of my problems ...

2016-05-08 Thread Alex Harui
On 5/8/16, 5:21 AM, "Christofer Dutz" wrote: > >Hi Alex, > >well actually the Ant build doesn't destroy the compiler, but the entire >VM. To me it seems that for every compilation and every Unit test a new >VM is forked. This is extremely expensive and time consuming. If you have >a look at the

AW: AW: [FLEXJS] Probably found the reason for some of my problems ...

2016-05-08 Thread Christofer Dutz
Forgot to respond to the "Just curious, what is the advantage of creating instances of every tool in the group?" In the FlexToolApi there is a mechanism that auto-detects Tool-Groups (in flexJS there is the "Falcon" tool group and the "FlexJS" tool group) In order to build an index of the tools a

[FalconJX]Compilers and arguments

2016-05-08 Thread Harbs
I’m trying to set up some development environments and I realized there’s lots of pieces and I’m not sure how everything fits together. FalconJX currently generates the following scripts and executables: Scripts: asjsc asjscompc asnodec compc externc jquery mxmlc Executables: args4j.jar commons

AW: FlexJS identity crisis. was: [Discuss]Accept donation of drawing APIs

2016-05-08 Thread Christofer Dutz
Hi Harbs, thanks for writing and drawing this up. It exactly matches my impression and it exactly matches the naming convention I used for the Mavenization as I used the following group Ids: org.apache.flex.flexjs.compiler org.apache.flex.flexjs.framewort org.apache.flex.flexjs.extern I too th

AW: AW: [FLEXJS] Probably found the reason for some of my problems ...

2016-05-08 Thread Christofer Dutz
Hi Alex, well actually the Ant build doesn't destroy the compiler, but the entire VM. To me it seems that for every compilation and every Unit test a new VM is forked. This is extremely expensive and time consuming. If you have a look at the Flex Jenkins and compare the build time of Falcon wi

Re: I made an iPad app with Apache Flex SDK, I'd like to give you guys free copies : )

2016-05-08 Thread Andrew Wetmore
Never mind: I just went ahead and bought it. On Sun, May 8, 2016 at 9:00 AM, Andrew Wetmore wrote: > I am very interested to see this Android app. Andrew Wetmore, > cottag...@gmail.com > > On Sun, May 8, 2016 at 8:08 AM, DarkStone wrote: > >> Hi. >> >> The Android app is now available on Google

Re: I made an iPad app with Apache Flex SDK, I'd like to give you guys free copies : )

2016-05-08 Thread Andrew Wetmore
I am very interested to see this Android app. Andrew Wetmore, cottag...@gmail.com On Sun, May 8, 2016 at 8:08 AM, DarkStone wrote: > Hi. > > The Android app is now available on Google Play: > > https://play.google.com/store/apps/details?id=air.com.verylab.app.tablet.android.NewsCenter > > If you

Re: I made an iPad app with Apache Flex SDK, I'd like to give you guys free copies : )

2016-05-08 Thread DarkStone
Hi. The Android app is now available on Google Play: https://play.google.com/store/apps/details?id=air.com.verylab.app.tablet.android.NewsCenter If you have an Android tablet and you are interested in it, just reply to this thread, leave your name and email, and I will give you promo code of this

Re: flexjs foreach very slow

2016-05-08 Thread Harbs
So would this be a workable solution? This: for each(item in object){ item.doSomething(); } Would become: if (!!object.forEach){ object.forEach(function(item){ item.doSomething(); }); } else { var foreachiter0_target = object; for (va

Re: FlexJS identity crisis. was: [Discuss]Accept donation of drawing APIs

2016-05-08 Thread Harbs
I don’t want to let this discussion die, because I think it’s important. I think this naming strategy is a good one. I put together a wiki page to help explain and help visualize the different pieces[1] I’m not sure that it’s all 100% accurate. Feel free to edit for accuracy and general improv

Re: [FlexJS][XML]appending XMLLists

2016-05-08 Thread Harbs
OK. You are right about this. When I do this: list1 += list4 + xml2.z;// leaving out xml2.z prevents the next line from adding to the original xml list1[list1.length()] = ; I get: http://ns.adobe.com/mxml/2009";> hi yeah! So, anything added to the XMLList after