Re: [FlexJS] Container work status

2017-03-14 Thread piotrz
Hi Peter, Thanks for reporting progress! I'm looking forward to your changes! :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Container-work-status-tp60417p60452.html Sent from the Apache Fle

Re: git commit: [flex-asjs] [refs/heads/develop] - FLEX-34414 - Add missing Apache headers

2017-03-14 Thread Piotr Zarzycki
Hi Alex, Thanks! I just deleted them. Piotr 2017-03-14 23:29 GMT+01:00 Alex Harui : > Hi Piotr, > > Do JSON files accept comments? I thought not. > > Anyway, this file can actually be deleted now. We no longer use jshint. > > Thanks, > -Alex > > On 3/14/17, 1:51 PM, "pio...@apache.org" wrote

Re: git commit: [flex-asjs] [refs/heads/develop] - Add JS support for non pixel numeric properties ie fontWeight

2017-03-14 Thread Justin Mclean
Hi, Looking through this thread I can’t see that consensus has been reached to revert this change, in fact it seems to be towards keeping the change and renaming the file. IMO Alex you need to convince some others or me that this change should be reverted. Fixing broken broken support on the J

Re: [FlexJS} CreateJS Externs (was Re: Current FlexJS license/notice issues)

2017-03-14 Thread Justin Mclean
Hi, > In order to determine which steps I had to go through to try to donate the > CreateJS Externs to the CreateJS community, it turns out I had to get a > ruling from the Adobe legal team about who owned the "externs" files we > generate from CreateJS source. The Adobe legal team determined tha

Re: [FlexJS} CreateJS Externs (was Re: Current FlexJS license/notice issues)

2017-03-14 Thread Justin Mclean
Hi, > In order to determine which steps I had to go through to try to donate the > CreateJS Externs to the CreateJS community, it turns out I had to get a > ruling from the Adobe legal team about who owned the "externs" files we > generate from CreateJS source. The Adobe legal team determined tha

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Greg Dove
to clarify : I got the typedefs building eventually and compiling the single arg signature for partseInt is fine, but the compiler makes a fixed assumption for 10 radix for any string and adds that second param instead of allowing the native implementation to do its thing. If there are string for

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Alex Harui
On 3/14/17, 10:42 PM, "Greg Dove" wrote: >On Wed, Mar 15, 2017 at 6:33 PM, Alex Harui wrote: > >> Here's a better link to the old thread. Looks like I did mess around >>with >> parseInt earlier. >> >> https://s.apache.org/rHq2 >> >> >> The goal is to match what AS does and get the performance

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Greg Dove
On Wed, Mar 15, 2017 at 6:33 PM, Alex Harui wrote: > Here's a better link to the old thread. Looks like I did mess around with > parseInt earlier. > > https://s.apache.org/rHq2 > > > The goal is to match what AS does and get the performance benefit you > measured and maybe prevent browsers from

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Alex Harui
Here's a better link to the old thread. Looks like I did mess around with parseInt earlier. https://s.apache.org/rHq2 The goal is to match what AS does and get the performance benefit you measured and maybe prevent browsers from doing something strange. Hopefully it won't require sniffing the

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Greg Dove
> > I'm not sure what you are referring to. I don't think the compiler > currently supplies the second argument. I didn't think it was needed, but > your tests indicate otherwise, so if that's what you are referring to, > please file a JIRA so we don't forget to do it. > > > It seems it does - it

Re: FlexJS / Jenkins on Unix

2017-03-14 Thread Alex Harui
Bummer. Can you post the compile-app-javascript-config.xml. Also, compare your pom.xml against the flex-asjs examples. There may be parent-pom issues to sort out to point to the right SWCs. Thanks, -Alex On 3/14/17, 9:46 PM, "Justin Mclean" wrote: >Hi, > >> Can you post the entire console ou

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Alex Harui
On 3/14/17, 10:05 PM, "Greg Dove" wrote: > var test :String = "0x99" >trace(parseInt(test)); > >gives : > var /** @type {string} */ test = "0x99"; > org.apache.flex.utils.Language.trace(parseInt(test, 10)); > >which is wrong > >I can take a look at it this weekend if no-one else

Re: FlexJS / Jenkins on Unix

2017-03-14 Thread Justin Mclean
Hi, > Can you post the entire console output leading up to the error. There > might be a clue in there. That’s basically all there is: [INFO] [INFO] Building XXX 0.1-SNAPSHOT [INFO]

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Greg Dove
If the compiler outputs 10 for everything then it is different to actionscript which checks for "0x" and decides on 16 or 10 We can change the behaviour, but it won't be identical to : "Strings beginning with 0x are interpreted as hexadecimal numbers" Maybe it is better to not support '0x' strings

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Alex Harui
On 3/14/17, 10:02 PM, "Greg Dove" wrote: >Actually I just checked and it looks like there is a bug in the compiler >for this I'm not sure what you are referring to. I don't think the compiler currently supplies the second argument. I didn't think it was needed, but your tests indicate otherw

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Greg Dove
var test :String = "0x99" trace(parseInt(test)); gives : var /** @type {string} */ test = "0x99"; org.apache.flex.utils.Language.trace(parseInt(test, 10)); which is wrong I can take a look at it this weekend if no-one else gets to it On Wed, Mar 15, 2017 at 6:02 PM, Greg Dove

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Alex Harui
On 3/14/17, 9:54 PM, "Greg Dove" wrote: >Alex, I agree, it seems whatever prompted this was elsewhere, but the >outcome is IMO (a small amount of) better framework code in CSSUtils. >I would take this as a small win - nothing is broken, and a utility method >is theoretically slightly faster. I

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Alex Harui
On 3/14/17, 9:41 PM, "Justin Mclean" wrote: > >The current SDK code uses parseInt(number, “10”) in 29 different places. > >This line which I fixed, was the only instance of parseInt(number). > >Can you give a valid reason why I should revert it? So far I’m not seeing >one. Again, we should no

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Greg Dove
Actually I just checked and it looks like there is a bug in the compiler for this Greg Dove Dove Software Development Ltd http://greg-dove.com On Wed, Mar 15, 2017 at 5:54 PM, Greg Dove wrote: > Alex, I agree, it seems whatever prompted this was elsewhere, but the > outcome is IMO (a small am

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Greg Dove
Alex, I agree, it seems whatever prompted this was elsewhere, but the outcome is IMO (a small amount of) better framework code in CSSUtils. I would take this as a small win - nothing is broken, and a utility method is theoretically slightly faster. On Wed, Mar 15, 2017 at 5:19 PM, Alex Harui wro

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Justin Mclean
Hi, > It would not be my recommendation to have us add default parameters to all > of the places we could for "code clarity" or performance. Folks who write > code in ActionScript should know or can find from the documentation that, > for example, the second parameter to parseInt is optional and t

Re: git commit: [flex-asjs] [refs/heads/develop] - Add JS support for non pixel numeric properties ie fontWeight

2017-03-14 Thread Alex Harui
Circling back to this. For now, the default naming scheme is to "add more words". There is no current specification of "where". So, Button adds a text property and becomes TextButton. But elsewhere there is SimpleStatesImpl and StatesWithTransitionsImpl. I don't mind the inconsistency, but may

[FlexJS} CreateJS Externs (was Re: Current FlexJS license/notice issues)

2017-03-14 Thread Alex Harui
Justin's fix for CreateJS typedefs on Unix reminded me... In order to determine which steps I had to go through to try to donate the CreateJS Externs to the CreateJS community, it turns out I had to get a ruling from the Adobe legal team about who owned the "externs" files we generate from CreateJ

Re: FlexJS / Jenkins on Unix

2017-03-14 Thread Alex Harui
Awesome! Thanks for trying this out. Can you post the entire console output leading up to the error. There might be a clue in there. Thanks, -Alex On 3/14/17, 7:51 PM, "Justin Mclean" wrote: >Hi, > >Just checked in a couple of very minor changes to do with paths re >compiling FlexJS as I’m t

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Alex Harui
Thanks for running the test. Maybe I'm not understanding the issue, but here's my summary. Justin was getting a compile error where code that was known to work wouldn't compile because there was only one argument passed to parseInt in ActionScript source. ActionScript defines parseInt as having

[ANNOUNCE] Apache Flex 4.16.0 released

2017-03-14 Thread Justin Mclean
Hi, The Apache Flex community is pleased to announce the release of Apache Flex SDK 4.16.0 The Apache Flex SDK is a highly productive, open source application framework for building and maintaining expressive applications that deploy consistently on all major browsers, desktops and devices (inclu

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Greg Dove
I think code clarity is one thing, but performance is another - that should be faster, so I ran a quick check. I know it can vary across browsers, but var timeOne = function(){var d=new Date();var b=0; for (var i=0;i<1000;i++) {b= parseInt(""+(127/255)*1000, 10) / 1000;} console.log(new Date(

FlexJS / Jenkins on Unix

2017-03-14 Thread Justin Mclean
Hi, Just checked in a couple of very minor changes to do with paths re compiling FlexJS as I’m trying to get it working with Jenkins CI. With those you can currently compile flex-falcon, flex-typedefs and flex-asjs on linux. I’ve tested the maximiser also works. However it looks like there sti

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Justin Mclean
Hi, > Please revert CSSUtils and investigate why parseInt is requiring the second > argument. Even if it is a typedef bug IMO passing the base there makes the code intent clearer as the code is dealing with both base 16 and base 10 numbers. This is the code in question: public static f

Re: Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Alex Harui
Hmm. That would be a bug in the typedefs build. The Ant build attempts to fix up parseInt to make the second parameter optional. AS developers shouldn't have to add the second argument. Please revert CSSUtils and investigate why parseInt is requiring the second argument. It is strange that all

Typedef issue causing flex-asjs to fail to compile

2017-03-14 Thread Justin Mclean
Hi, There also looks to be a typedef issue. Current CCSUtils is failing to compile: /Users/justinmclean/flex-asjs/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/CSSUtils.as(52): col: 27 Incorrect number of arguments. Expected 2 rgba[3] = parseInt(""+(rgba[3]/255)*

Re: Just need to vent...

2017-03-14 Thread Alex Harui
Hmm. I wonder what that is. I just pushed an attempt to report on why that is. -Alex On 3/14/17, 2:16 PM, "Harbs" wrote: >Got an error: >https://paste.apache.org/KgxC > >> On Mar 14, 2017, at 10:34 PM, Harbs wrote: >> >> Pulling now. I’ll let you know how it

Re: git commit: [flex-asjs] [refs/heads/develop] - FLEX-34414 - Add missing Apache headers

2017-03-14 Thread Alex Harui
Hi Piotr, Do JSON files accept comments? I thought not. Anyway, this file can actually be deleted now. We no longer use jshint. Thanks, -Alex On 3/14/17, 1:51 PM, "pio...@apache.org" wrote: >Repository: flex-asjs >Updated Branches: > refs/heads/develop cb67c4173 -> b4ef3e4ad > > >FLEX-3441

Re: [FlexJS] Subflash, a clone of the Flash API for Flex JS, progress and questions

2017-03-14 Thread Carlos Rovira
Hi Tim, as Alex and Josh, said there's a similar project :SpriteFlexJS the problem with that project is that is difficult to mix with other FlexJS stuff, at least in my experience. Another problem is that is not "maven-ready" and that is, for many of us, imperative in order to be able to use in s

Re: flex-typedefs build failing

2017-03-14 Thread Carlos Rovira
Hi, just tried with success: Reactor Summary: [INFO] [INFO] Apache Flex - FlexJS: TypeDefs: Parent . SUCCESS [ 1.292 s] [INFO] Apache Flex - FlexJS: TypeDefs: JS . SUCCESS [ 5.142 s] [INFO] Apache Flex - FlexJS: TypeDefs: Cordova SUCCESS [ 0.232 s] [IN

[FlexJS] Container work status

2017-03-14 Thread Peter Ent
Hi, Several days ago I wrote about making changes to FlexJS to produce cleaner and more useful HTML. I'm in the middle of doing that and it will take several more days, at least. When I'm done there will be some fundamental changes. These center around Container and by extension, List. And man

Re: Just need to vent...

2017-03-14 Thread Harbs
Got an error: https://paste.apache.org/KgxC > On Mar 14, 2017, at 10:34 PM, Harbs wrote: > > Pulling now. I’ll let you know how it goes. > >> On Mar 14, 2017, at 9:44 PM, Alex Harui wrote: >> >> >> >> On 3/14/17, 12:20 AM, "Harbs" wrote: >> >>> That’s great

Re: flex-typedefs build failing

2017-03-14 Thread Harbs
I just had a problem with svg.js as well. Deleting the file and running ant again on typedefs solved it for me. Harbs > On Mar 14, 2017, at 10:56 PM, Greg Dove wrote: > > I am seeing this also. It almost feels like it is applying the patch on > download and then trying again (but I have really

Re: flex-typedefs build failing

2017-03-14 Thread Justin Mclean
Hi, > Are you running "mvn clean install" or something else? Yep I’m running "mvn clean install” and I tried this on two different machines. Thanks, Justin

Re: flex-typedefs build failing

2017-03-14 Thread Greg Dove
I am seeing this also. It almost feels like it is applying the patch on download and then trying again (but I have really no idea) ant build works fine with some warnings about LoggerErrorManager println but I could not get regular maven build to work One way I could get the mvn build to work w

Re: Just need to vent...

2017-03-14 Thread Harbs
Pulling now. I’ll let you know how it goes. > On Mar 14, 2017, at 9:44 PM, Alex Harui wrote: > > > > On 3/14/17, 12:20 AM, "Harbs" wrote: > >> That’s great! I’m anxiously waiting to see what you can do! ;-) > > OK, I put in a fix for my simple case. See if it helps on your case and > if co

Re: [FlexJS] Datagrid?

2017-03-14 Thread piotrz
Hi Harbs, Great that you are touching it! There are couple of jiras related to DataGrid. If you won't see some of those issues let us know. https://issues.apache.org/jira/browse/FLEX-34241 https://issues.apache.org/jira/browse/FLEX-34240 https://issues.apache.org/jira/browse/FLEX-34998 https://i

Re: Just need to vent...

2017-03-14 Thread Alex Harui
On 3/14/17, 12:20 AM, "Harbs" wrote: >That’s great! I’m anxiously waiting to see what you can do! ;-) OK, I put in a fix for my simple case. See if it helps on your case and if compile times really bog down. Basically, we are trying to list the contents of a DAG, but when you run into a node

Re: flex-typedefs build failing

2017-03-14 Thread Alex Harui
Are you running "mvn clean install" or something else? I don't remember what part of the build brings down svg.js and patches it, but if you don't bring down svg.js each time, the patch will not apply the second time. HTH, -Alex On 3/14/17, 5:58 AM, "Justin Mclean" wrote: >Hi, > >Is it just me

Re: I am curious, what do you guys think about Flash Player and Flash Platform's situation today? is it better or worse than expected 5/6 years ago? Re: WebAsm?

2017-03-14 Thread Dev LFM
I'm desapointed with adobe.. I think the player should be ported to webgl/canvas, instead of dropping the towel and forcing to adopt createjs and html divs/spans/debug on console.. (even if that requires a complete redesign/drop of mx/spark) Like FlexJS (with adobe help) is doing great efforts to

Adobe AIR 25 Release

2017-03-14 Thread bschleicher
Hi! Thanks for the release of the Flex SDK 4.16.0 Just today Adobe has released AIR SDK 25.0. It would be nice if you update the installer to support the release version of AIR SDK 25. https://helpx.adobe.com/flash-player/release-note/fp_25_air_25_release_notes.html -- View this message in co

Re: I am curious, what do you guys think about Flash Player and Flash Platform's situation today? is it better or worse than expected 5/6 years ago? Re: WebAsm?

2017-03-14 Thread Harbs
It’s about where I expected it to be. I really wish Chrome and Firefox were not trying to push it out as quickly as they are. I was actually expecting HTML to catch up faster than it is. It’s pathetic how slowly browsers are catching up to Flash. > On Mar 14, 2017, at 2:23 AM, Gary Yang wrote

[FlexJS] Datagrid?

2017-03-14 Thread Harbs
Has anyone done work towards creating a datagrid for FlexJS? Harbs

Re: [FlexJS] Datagrid?

2017-03-14 Thread Harbs
Never mind. I see there is one already. I guess I’ll put it through the paces and see how it behaves… ;-) Harbs > On Mar 14, 2017, at 7:56 PM, Harbs wrote: > > Has anyone done work towards creating a datagrid for FlexJS? > > Harbs

Re: [FlexJS] Subflash, a clone of the Flash API for Flex JS, progress and questions

2017-03-14 Thread Josh Tynjala
Here's a link to spriteflexjs: https://github.com/matrix3d/spriteflexjs - Josh On Mar 13, 2017 9:33 PM, "Alex Harui" wrote: > Hi Tim, > > That sounds really interesting. So I assume by "Flash API" and CreateJS > that you are mostly replicating the Sprite/DisplayObject APIs? There is a > sepa

flex-typedefs build failing

2017-03-14 Thread Justin Mclean
Hi, Is it just me or is flex-typedefs currently broken? Looks like the patch file may need updating? When trying to compile (on develop) I get this: [INFO] --- exec-maven-plugin:1.5.0:exec (patch-js) @ flexjs-typedefs-js --- error: patch failed: js/target/downloads/svg.js:401 error: js/target/do

Re: I am curious, what do you guys think about Flash Player and Flash Platform's situation today? is it better or worse than expected 5/6 years ago? Re: WebAsm?

2017-03-14 Thread Fréderic Cox
It's pretty much the same from my perspective. It could be a lot better, there is a lot of potential that Adobe does not see. On the other hand there still is a strong community with some very smart and creative people. I still use AS3 (mainly AIR) every day and we are even using it for brand new

Re: Just need to vent...

2017-03-14 Thread Harbs
That’s great! I’m anxiously waiting to see what you can do! ;-) > On Mar 14, 2017, at 8:17 AM, Alex Harui wrote: > > OK, I reproduced it in a simple case. > > StandardFlowComposer extends FlowComposerBase which references > FactoryComposer which extends StandardFlowComposer > > This is totally