Re: [FalconJX] Vanilla compiler, all externs parsing and contained in SWC :)

2015-06-09 Thread Alex Harui
Another thing: I swapped out the requirement of the Closure Compiler repo for downloading the source, compiling it, and copying the externs files to a top-level folder in the falcon repo. We’ll see if that fixes the build. Hopefully it won’t break anything. If it does, revert the change and we’l

Re: [FalconJX] Vanilla compiler, all externs parsing and contained in SWC :)

2015-06-09 Thread Alex Harui
One thing I’ve hit: FB is apparently stuck using Java 1.6. That’s how old the version of Eclipse is that it uses. Some of the code you’ve written uses Java 1.7. Can we change back to Java 1.6 syntax? Really, only the code paths used by FB seem to need to be in Java 1.6, so the flex-oem-compile

AW: Regarding Apcahe FlexUnit Automation Testing Tool

2015-06-09 Thread Christofer Dutz
And to add to that. Flexmojos produces normal surefire reports that look exactly like the maven junit reports. Chris Gesendet mit meinem HTC - Reply message - Von: "Justin Mclean" An: "dev@flex.apache.org" Betreff: Regarding Apcahe FlexUnit Automation Testing Tool Datum: Di., Juni 9,

Re: [FalconJX] Vanilla compiler, all externs parsing and contained in SWC :)

2015-06-09 Thread Alex Harui
On 6/9/15, 4:13 PM, "Michael Schmalle" wrote: > >For this to work with FlexJS emitter, we have to figure out the >org_foo_bar_Class thing because a lot of bolt on extensions are going to >need dot notation. I wasn't around to know why you chose to do this, maybe >you can fill me in. We can prob

Re: [FlexJS] index.template.html is missing

2015-06-09 Thread Alex Harui
That is probably a bug in the build scripts from when we changed how we pick up SWFObject. If you don’t want to fiddle with the build scripts, file a bug and copy the files from a Flex SDK. -Alex On 6/9/15, 4:40 PM, "OmPrakash Muppirala" wrote: >When I try to build the ChartExample via ant, it

[FlexJS] index.template.html is missing

2015-06-09 Thread OmPrakash Muppirala
When I try to build the ChartExample via ant, it is failing with this error message: C:\p\flexroot\git\flex-asjs\examples\ChartExample>ant Buildfile: C:\p\flexroot\git\flex-asjs\examples\ChartExample\build.xml clean: [delete] Deleting directory C:\p\flexroot\git\flex-asjs\examples\ChartExample

Re: [FalconJX] Vanilla compiler, all externs parsing and contained in SWC :)

2015-06-09 Thread Michael Schmalle
On Tue, Jun 9, 2015 at 7:29 PM, Josh Tynjala wrote: > I've manually converted some of the TypeScript definitions for CreateJS > into AS3 classes using the native keyword. I'll finish them up and share > the results when I get a chance. I'm super busy with the Feathers SDK and > Feathers 2.2 right

Re: [FalconJX] Vanilla compiler, all externs parsing and contained in SWC :)

2015-06-09 Thread Josh Tynjala
I've manually converted some of the TypeScript definitions for CreateJS into AS3 classes using the native keyword. I'll finish them up and share the results when I get a chance. I'm super busy with the Feathers SDK and Feathers 2.2 right now, and that has priority for the moment. - Josh On Tue, J

Re: [FalconJX] Vanilla compiler, all externs parsing and contained in SWC :)

2015-06-09 Thread Michael Schmalle
I figured as much. This is really still considered prototype, qualified names are not resolved yet, only global classes/functions etc work. For this to work with FlexJS emitter, we have to figure out the org_foo_bar_Class thing because a lot of bolt on extensions are going to need dot notation. I

Re: [FalconJX] Vanilla compiler, all externs parsing and contained in SWC :)

2015-06-09 Thread Alex Harui
On 6/9/15, 2:19 PM, "Michael Schmalle" wrote: >One more thing, there are warnings that emit from the GCC during compiler, >they don't matter right now, it's not running in ES6 mode. They are not >errors that kill compile. > >I will be working on this the next couple days, so it's going to get >

Re: Can we unify spark and mx Sort and SortField?

2015-06-09 Thread Alex Harui
On 6/9/15, 3:29 PM, "Peter Ginneberge" wrote: > >I don't know which classes end up in which swc, but the same rule may >apply >for Spark only projects in which case Spark classes extending mx ones may >be a >no no as well. Good point. In this case the mx Sort and Sort field are already in t

Re: Can we unify spark and mx Sort and SortField?

2015-06-09 Thread Peter Ginneberge
I don't know which classes end up in which swc, but the same rule may apply for Spark only projects in which case Spark classes extending mx ones may be a no no as well. regards, Peter On 9 June 2015 at 15:35, Alex Harui wrote: Peter is correct that you want to be careful about having

Re: Can we unify spark and mx Sort and SortField?

2015-06-09 Thread Justin Mclean
HI, Off the top of my head (and it’s been a while since I’ve looked at the code so could be wrong) the spark class used the new i18n support in the FP so sorting in non en_US locales may give you different results in MX than spark. You may want to be be careful there as it may introduce subtle

Re: Can we unify spark and mx Sort and SortField?

2015-06-09 Thread Mihai Chira
Yep, good point, Peter. I'll try that, Alex (making spark extend mx), I'll see how it goes. On 9 June 2015 at 15:35, Alex Harui wrote: > Peter is correct that you want to be careful about having mx-only classes > depend on Spark classes. > > And in the strictest sense, I suppose there is a chanc

Re: git commit: [flex-sdk] [refs/heads/develop] - FLEX-34854 FLEX-34885 While trying to figure out whether ComplexFieldChangeWatcher should handle CollectionEventKind.UPDATE events, I stumbled on this

2015-06-09 Thread Mihai Chira
Thanks, it's fixed (at least on the mx side). On 9 June 2015 at 21:08, Alex Harui wrote: > Good luck. > -Alex > > On 6/9/15, 1:25 AM, "Mihai Chira" wrote: > >>Just want to make sure that everyone thinks this is a bug? I think it >>is because in mx.collections.ListCollectionView.handlePropertyCha

Re: [FalconJX] Vanilla compiler, all externs parsing and contained in SWC :)

2015-06-09 Thread Michael Schmalle
One more thing, there are warnings that emit from the GCC during compiler, they don't matter right now, it's not running in ES6 mode. They are not errors that kill compile. I will be working on this the next couple days, so it's going to get majorly refactored and tested, so please let me know if

Re: Regarding Apcahe FlexUnit Automation Testing Tool

2015-06-09 Thread Justin Mclean
Hi, Just adding to Om’s answer. > (1)Does this tool provide support for all kind of testing? Or just unit > testing? Why it designed for unit tests it can be used for functional, integration or any other type of testing. There are however probably better tools for that. > (3)What is

Re: [FalconJX] Vanilla compiler, all externs parsing and contained in SWC :)

2015-06-09 Thread Michael Schmalle
Ok, I went out of my way to get that stuff up, anybody that has the compiler built can run this. Follow the simple directions until the build is correct; Added basic full compile implementation test for external compiler - For now, closure-compiler repo needs to be checked out in the directory tha

Re: [FalconJX] Vanilla compiler, all externs parsing and contained in SWC :)

2015-06-09 Thread Michael Schmalle
Ok, I just confirmed, the closure.jar doesn't have what we need. Screw it, I am just going to migrate what I have done into falconjx project and use the built jar from the repo I made. I guess you will have to checkout the repo and build the jar to get this to wrok right now until you fix it. I h

Re: [FalconJX] Vanilla compiler, all externs parsing and contained in SWC :)

2015-06-09 Thread Alex Harui
On 6/9/15, 12:26 PM, "Michael Schmalle" wrote: >Hey, > >I'm using the head of GCC code base and I think I might be using some API >that is not in the closure.jar that is downloaded in FalconJX right now. I can get that fixed up. IMO, it is ok if the build is broken for while until we fix it u

Re: Re : Re: [FalconJX] Vanilla compiler, all externs parsing and contained in SWC :)

2015-06-09 Thread Michael Schmalle
Fred, All that is going on is, I have a ReferenceModel that encapsulates the Closure Compiler's Compiler.compile() method. So this code I wrote is going to be a "COMPCExtern" compiler tool. Basically we need to just feed it the source locations of the .js extern files we want to transform into .a

Re: [DISCUSS] The Future of MD5Checker

2015-06-09 Thread Alex Harui
In fact, the SDK build broke downloading Saxon from some other server just the other day. Every once in a while, you aren’t going to get the bits you expected. And knowing that with an error message in the UI is better than a crash. I would prefer not to have us responsible for hosting the lates

Re: [FalconJX] Vanilla compiler, all externs parsing and contained in SWC :)

2015-06-09 Thread Michael Schmalle
Hey, I'm using the head of GCC code base and I think I might be using some API that is not in the closure.jar that is downloaded in FalconJX right now. Plus I need to do some refactoring. I have some hacks on some classes like the missing.js but we said, hey good enough is good enough right now a

Re : Re: [FalconJX] Vanilla compiler, all externs parsing and contained in SWC :)

2015-06-09 Thread Frédéric THOMAS
Yep man you did something great, I would like do understand it more now, so if you can check in an give some pointers to follow what you did would be greater even :-) Cheers, -Fred --- Message initial --- De : "Alex Harui" Envoyé : 9 juin 2015 20:15 A : dev@flex.apache.org Objet : Re: [Falcon

Re: [FalconJX] Vanilla compiler, all externs parsing and contained in SWC :)

2015-06-09 Thread Alex Harui
Freakin’ awesome! Can you check it in so I can try to integrate it into the builds? -Alex On 6/9/15, 11:20 AM, "Michael Schmalle" wrote: >Oh yeah, here is the class list; > >AlphaFilter.as >AlphaImageLoaderFilter.as >ANGLE_instanced_arrays.as >Arguments.as >Array.as >ArrayBuffer.as >ArrayBuffe

Re: git commit: [flex-sdk] [refs/heads/develop] - FLEX-34854 FLEX-34885 While trying to figure out whether ComplexFieldChangeWatcher should handle CollectionEventKind.UPDATE events, I stumbled on this

2015-06-09 Thread Alex Harui
Good luck. -Alex On 6/9/15, 1:25 AM, "Mihai Chira" wrote: >Just want to make sure that everyone thinks this is a bug? I think it >is because in mx.collections.ListCollectionView.handlePropertyChangeEvents >it explicitly decides to call moveItemInView() if, among others, >updateInfo.property is n

Re: [FalconJX] Vanilla compiler, all externs parsing and contained in SWC :)

2015-06-09 Thread Michael Schmalle
Oh yeah, here is the class list; AlphaFilter.as AlphaImageLoaderFilter.as ANGLE_instanced_arrays.as Arguments.as Array.as ArrayBuffer.as ArrayBufferView.as Attr.as Audio.as AudioBuffer.as AudioBufferSourceNode.as AudioChannelMerger.as AudioChannelSplitter.as AudioContext.as AudioDestinationNode.as

Re: how get the window.document?

2015-06-09 Thread Alex Harui
Hi lizhi, In fact, just recently someone else (Josh Tynjala) suggested adjusting FlexJS so it can also produce JS code that talks directly to Window and other browser APIs. This caused a flurry of activity and I am hopeful you’ll see it start to show up in nightly builds soon. -Alex On 6/8/15,

[FalconJX] Vanilla compiler, all externs parsing and contained in SWC :)

2015-06-09 Thread Michael Schmalle
Hey, Well I spent the whole day getting this working and did a Web Audio experiment as well! Wow, code completion in class form for Audio apps, I think I am hooked. :) 1. AS 2 .JS (around a 2M SWC for everything) 3. List of classes currently compiled This thing is pretty stable compiling this me

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-09 Thread Alex Harui
In my changes I added a long comment about how to debug burm issues. Can you try to follow the instructions and tell me what the object trees look like? Sent from my LG G3, an AT&T 4G LTE smartphone -- Original message-- From: Frédéric THOMAS Date: Tue, Jun 9, 2015 6:53 AM To: dev@

RE: Regarding Apcahe FlexUnit Automation Testing Tool

2015-06-09 Thread Amritpal Singh
Please respond it's urgent From: Amritpal Singh Sent: Saturday, June 06, 2015 8:05 PM To: dev@flex.apache.org Subject: RE: Regarding Apcahe FlexUnit Automation Testing Tool can some please look in to my concern and revert me?please help Thanks & Regards Amrit Fro

Adding JS graph to Flex project

2015-06-09 Thread Oleg Konovalov
Hi, We have Flex + Java Web App. Needed to add Graphs to it, kind of a network of nodes, built from data coming from DB. Tried Birdeye Ravis, were not happy with it. So now we want to try using one of JS visual libs like VisJS or D3, possibly try to add AngularJS if it becomes necessary, which I d

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-09 Thread Frédéric THOMAS
> Try deleting the folder called “generated” in the debugger project before > compiling. It could be that the build script doesn’t handle that > correctly. Also, I assume you re-started IJ after changing jars? Yes, was done. Usually I set hookallreducercalls = false because IJ reads the console.

Re: Can we unify spark and mx Sort and SortField?

2015-06-09 Thread Alex Harui
Peter is correct that you want to be careful about having mx-only classes depend on Spark classes. And in the strictest sense, I suppose there is a chance that someone’s app depends on a difference in behavior between ObjectUtil and String.localeCompare, although I personally don’t think there is

Re: Can we unify spark and mx Sort and SortField?

2015-06-09 Thread Peter Ginneberge
This may affect mx only projects (in FB at least) where spark related swc's are removed when selecting "mx only" as the project's component set. On 9/06/2015 13:33, Mihai Chira wrote: I'm making lots of changes to SortField and Sort, and I'm realising that having two versions of these files

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-09 Thread Alex Harui
On 6/9/15, 1:50 AM, "Frédéric THOMAS" wrote: >Is there any special things to do at compilation time ? Try deleting the folder called “generated” in the debugger project before compiling. It could be that the build script doesn’t handle that correctly. Also, I assume you re-started IJ after cha

Can we unify spark and mx Sort and SortField?

2015-06-09 Thread Mihai Chira
I'm making lots of changes to SortField and Sort, and I'm realising that having two versions of these files is error prone and duplicates effort. From what I can see, the differences are: Between mx.collections.SortField and spark.collections.SortField: 1. lots of asdocs changes 2. spark version i

Re: Why are there two ArrayList classes? [PING Justin Mclean)

2015-06-09 Thread Mihai Chira
> http://apache-flex-development.247.n4.nabble.com/ArrayList-itemUpdateHandler-Change-td7774.html Mike, you mention here "If you look at the unit tests I wrote for ArrayList" - do you mean the Mustella tests, or are there unit tests too?

Re: Why are there two ArrayList classes? [PING Justin Mclean)

2015-06-09 Thread Mihai Chira
> (Carol Frampton committed it against an Adobe ticket SDK-30008) this is in our FLEX-27127[1] ticket [1] https://issues.apache.org/jira/browse/FLEX-27127

Re: Why are there two ArrayList classes? [PING Justin Mclean)

2015-06-09 Thread Mihai Chira
> I just looked quickly at the differences. It appears that the second > ArrayList has different update event logic so it may be that it was safer > to create a different ArrayList so we wouldn’t have to worry about > backward compatibility issues. If we're talking about the same classes (mx/colle

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-09 Thread Frédéric THOMAS
Is there any special things to do at compilation time ? I mean I pulled the code, ant all, copied all the jars in the FlexJS SDK folder and have the same result for the same command (print #ObjectReferenceNumber) -> BURMAbortException sent from IJ and the same command from the comand line FDB s

Re: git commit: [flex-sdk] [refs/heads/develop] - FLEX-34854 FLEX-34885 While trying to figure out whether ComplexFieldChangeWatcher should handle CollectionEventKind.UPDATE events, I stumbled on this

2015-06-09 Thread Mihai Chira
Just want to make sure that everyone thinks this is a bug? I think it is because in mx.collections.ListCollectionView.handlePropertyChangeEvents it explicitly decides to call moveItemInView() if, among others, updateInfo.property is null or empty. But then it fails to remove the old item from the l