Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem

2017-03-19 Thread sankar
piotrz wrote > I just introduce another bead which may be helpful for custom component, > but in most cases will be used inside MDL components UpgradeChildren. > > I've just make as default possible to create dynamically following > components: > Button, > RadioButton, > CheckBox, > TextArea, > T

Re: [FlexJS] HTTP status text

2017-03-19 Thread Alex Harui
Sounds useful. What is the SWF equivalent? Would the same text show up in IOError or SecurityError? -Alex On 3/19/17, 2:32 AM, "Justin Mclean" wrote: >Hi, > >Perhaps an example will help showing this better. The server I’m talking >to gives: >Status Code:500 The current user is not authorized

Re: [FlexJS] typeof X === 'undefined'

2017-03-19 Thread Alex Harui
I'm definitely open to changing the compiler. Not sure what the right answer is. Since we are theoretically writing AS, I'd lean away from using "void 0". _responseHeaders is an Array, so in Flash, it cannot be undefined, only null. So, I think in code that is used in both SWF and JS, the devel

Re: [ANNOUNCE] Apache Flex 4.16.0 released

2017-03-19 Thread Alex Harui
An update: I was able to generate a 64-bit bundle, but not an installer EXE that installs a 64-bit app. It seems to generate a 32-bit app. Has anyone seen any info on creating an installer EXE for a 64-bit app? I'll ask internally at Adobe as well. Thanks, -Alex On 3/18/17, 9:33 PM, "Alex Haru

Re: [ANNOUNCE] Apache Flex 4.16.0 released

2017-03-19 Thread Justin Mclean
Hi, > Downloading Apache Flex SDK from: > http://mirror.rise.ph/apache/flex/4.16.0/binaries/apache-flex-sdk-4.16.0-bin.zip > Verifying Apache Flex SDK MD5 Signature > The Apache Flex SDK MD5 Signature of the downloaded files does not match > the reference value. The file is invalid, installation i

Re: [ANNOUNCE] Apache Flex 4.16.0 released

2017-03-19 Thread Vincent Sotto
could not install, says file does not match Installer version 3.2.0 (windows) Using Locale: en_US Fetched the SDK download mirror URL from the CGI. SDK version Apache Flex SDK 4.16.0 AIR version 2.6 Flash Player version 10.2 Creating Apache Flex home Creating temporary directory Downloading Apache

Re: [FlexJS,PureMVC] Building new project PureMVC demo by maven and code donation from Prashant

2017-03-19 Thread Justin Mclean
Hi, >> I think we won't have problem with his code, but what about with his >> PureMVC.swc - it has been created from source of original PureMVC which >> under Apache License. > > It’s not under Apache license but BSD AFAICS [1] That’s allowed but you'll > need to add info to LICENSE as per [3]

Re: [FlexJS,PureMVC] Building new project PureMVC demo by maven and code donation from Prashant

2017-03-19 Thread Justin Mclean
Hi, > I was able to build it in VSCode and wanted to create Maven build. > Unfortunately build is failing [1] and I'm not sure why. - If someone could > take a look whether my "pom" [2] is ok. Looks to be the same issue as I was having with with Jenkins setup the other week. It fixed itself the

AW: [FlexJS,PureMVC] Building new project PureMVC demo by maven and code donation from Prashant

2017-03-19 Thread Christofer Dutz
I'll have a look at the Maven stuff as soon as I'm back on my home continent ;-) Chris Von meinem Samsung Galaxy Smartphone gesendet. Ursprüngliche Nachricht Von: piotrz Datum: 19.03.17 14:11 (GMT-05:00) An: dev@flex.apache.org Betreff: [FlexJS,PureMVC] Building new project

[FlexJS,PureMVC] Building new project PureMVC demo by maven and code donation from Prashant

2017-03-19 Thread piotrz
Hi Guys, On users list Prashant just posted link to mini example where he is showing that PureMVC is working with FlexJS. I was able to build it in VSCode and wanted to create Maven build. Unfortunately build is failing [1] and I'm not sure why. - If someone could take a look whether my "pom" [2]

AW: [OT] Interesting

2017-03-19 Thread Christofer Dutz
Hi, Doesn't sonar qube provide similar views in its Dashboard? Chris Von meinem Samsung Galaxy Smartphone gesendet. Ursprüngliche Nachricht Von: Justin Mclean Datum: 19.03.17 06:30 (GMT-05:00) An: dev@flex.apache.org Betreff: Re: [OT] Interesting Hi, > Will the tools you

Re: [FlexJS] HTTP status text

2017-03-19 Thread Harbs
Welcome to the joys of JS development… ;-) > On Mar 19, 2017, at 11:37 AM, Justin Mclean wrote: > > HI, > >> If there’s something in the body of the response, you should be able to get >> it from the hxr. > > Sadly there’s no content in the body that's useful - it just contains generic > “An

Re: [OT] Interesting

2017-03-19 Thread Justin Mclean
Hi, > Will the tools you used work on the js debug files? Yep as long as the directory structure is kept intact. It’s basically independent of the the language used and having the packages nested is useful as it show the total size of groups of related files and/or projects. Thanks, Justin

Re: [2/5] git commit: [flex-asjs] [refs/heads/develop] - used simplier undefined check as it is known property exists

2017-03-19 Thread Piotr Zarzycki
Hi Justin, What happened if it will be null? Piotr On Sun, Mar 19, 2017, 06:59 wrote: > used simplier undefined check as it is known property exists > > > Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo > Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/30849715 >

Re: [OT] Interesting

2017-03-19 Thread Harbs
Maybe. It probably depends on the amount of dead code removal done by the google compiler. Will the tools you used work on the js debug files? > On Mar 19, 2017, at 11:45 AM, Justin Mclean wrote: > > Hi, > >> Was that in source code or compiled code? > > My analysis was over the source code

Re: [OT] Interesting

2017-03-19 Thread Justin Mclean
Hi, > Was that in source code or compiled code? My analysis was over the source code and gave a lot more information than just size including where bugs are likely to be, who made the most changes to that file, etc etc > What was interesting to me, is that you can get a report of the compiled

Re: [FlexJS] HTTP status text

2017-03-19 Thread Justin Mclean
HI, > If there’s something in the body of the response, you should be able to get > it from the hxr. Sadly there’s no content in the body that's useful - it just contains generic “An error has occurred” information. Thanks, Justin

Re: [OT] Interesting

2017-03-19 Thread Harbs
Was that in source code or compiled code? What was interesting to me, is that you can get a report of the compiled app to see where the size is coming from. Harbs > On Mar 19, 2017, at 10:57 AM, Justin Mclean wrote: > > Hi, > >> https://twitter.com/TheLarkInn/status/842817690951733248 >> >>

Re: [FlexJS] HTTP status text

2017-03-19 Thread Harbs
If there’s something in the body of the response, you should be able to get it from the hxr. > On Mar 19, 2017, at 11:32 AM, Justin Mclean wrote: > > Hi, > > Perhaps an example will help showing this better. The server I’m talking to > gives: > Status Code:500 The current user is not authoriz

Re: [FlexJS] HTTP status text

2017-03-19 Thread Justin Mclean
Hi, Perhaps an example will help showing this better. The server I’m talking to gives: Status Code:500 The current user is not authorized to invoke this method. But you can also get errors like this: Status Code:500 The PROFILEID parameter to the logout function is required but was not passed i

Re: [OT] Interesting

2017-03-19 Thread Justin Mclean
Hi, > https://twitter.com/TheLarkInn/status/842817690951733248 > > I wonder if it’s feasible to do something similar with FalconJX… The analysis I did in my forensic analysis talk I’ve given at Apache Con a few times does a very similar thing. Thanks, Justin

Re: [FlexJS] HTTP status text

2017-03-19 Thread Justin Mclean
Hi, > I don’t know what you mean. It has error events with the status code on the > JS side. I use it all the time. The status code come through fine just not the status text. The AS side has additional events ie IOErrorEvent.IO_ERROR and SecurityErrorEvent.SECURITY_ERROR for instance that may

[FlexJS] SVG getBBox

2017-03-19 Thread Harbs
The SVG components that subclass GraphicShape use getBBox to feed the size into the resize method. This is a problem due to a Firefox bug which prevents the use of getBBox() before an SVG element is added to the document hierarchy.[1] I’m not sure I understand why getBBox() is being called at al

[OT] Interesting

2017-03-19 Thread Harbs
https://twitter.com/TheLarkInn/status/842817690951733248 I wonder if it’s feasible to do something similar with FalconJX… Harbs

Re: [FlexJS] HTTP status text

2017-03-19 Thread Harbs
I don’t know what you mean. It has error events with the status code on the JS side. I use it all the time. > On Mar 19, 2017, at 9:31 AM, Justin Mclean wrote: > > Hi, > >> Take a look at URLBinaryLoader (which is the network class I’m using pretty >> much exclusively). The main logic is in U

Re: [FlexJS] HTTP status text

2017-03-19 Thread Justin Mclean
Hi, > Take a look at URLBinaryLoader (which is the network class I’m using pretty > much exclusively). The main logic is in URLStream which handles all kinds of > responses. HTTPService can probably be improved using similar logic. I looked ta that it seem it can only do on the AS side not on t