Re: git commit: [flex-asjs] [refs/heads/develop] - CORS security. Allow auth credentials to be passed when using cross site calls. This is required as well as setting the Access-Control-Allow-Origin h

2017-04-09 Thread Alex Harui
Another way to think about it: It would be awesome if, as a customer used a code coverage tool to test their app, that the code coverage of the framework code in their app reached 100% as the customer's code coverage reached 100%. Such a thing is generally never going to happen for regular Flex a

Re: git commit: [flex-asjs] [refs/heads/develop] - CORS security. Allow auth credentials to be passed when using cross site calls. This is required as well as setting the Access-Control-Allow-Origin h

2017-04-09 Thread Alex Harui
At the highest level, the reason for beads and PAYG is not just for SWF code, it is for JS code as well. And the net result should be that code you didn't in your app, isn't in your app. Lots of people will need CORS support, but lots of people won't. Now we could go overboard putting every meth

Re: Flex Air Support

2017-04-09 Thread lgabrielmf
Oh, now that you’ve cleared up I could do some initial tests and it looks great. One can benefit a lot from using FlexJS to migrate the ActionScript application’s core to JS. I will definitely look at it later on. At this moment I don’t have the time to migrate the application. The first

Re: Flex Air Support

2017-04-09 Thread Nicholas Kwiatkowski
FlexJS is a framework that allows you to take your existing ActionScript and build HTML5 based application from that. There is no support for the FlexSDK UI components -- but there are many comparable components that exist and are being created. Essentially, you will be able to bring over your bu

Re: [FlexJS] feature/chart_work status

2017-04-09 Thread piotrz
Ahh I forgot to mention that you can see issue when you look into MDLExample. Main TabBar do not display Tabs. Basically in TabBarView itemsCreated method has not been called. If you lost in there I will put some basic example. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View th

Re: [FlexJS] feature/chart_work status

2017-04-09 Thread piotrz
Hi Peter, After couple of hours of investigation I have found the reason and fixed bug. You can check it. But still something is wrong in case when TabBar is using TabsItemRendererFactoryForArrayData. If you could take a look that would be great! Thanks, Piotr - Apache Flex PMC piotrzarzy

Re: [FlexJS] non-primitive static consts

2017-04-09 Thread Alex Harui
I just took a look at UIDUtil. If I dump Core.SWC, the UIDUtil.js in there has the following: goog.provide('org.apache.flex.utils.UIDUtil'); /* FlexJS Static Dependency List: org.apache.flex.utils.BinaryData*/ goog.require('org.apache.flex.utils.BinaryData'); goog.require('org.apache.flex.utils.

Re: [FlexJS] internal classes based on other classes

2017-04-09 Thread Alex Harui
For me, FactoryComposer.js in the TLF.swc has: goog.provide('org.apache.flex.textLayout.compose.FactoryComposer'); goog.require('org.apache.flex.textLayout.compose.StandardFlowComposer'); goog.require('org.apache.flex.textLayout.compose.utils.FactoryHelper'); goog.require('org.apache.flex.textLay

Re: git commit: [flex-asjs] [refs/heads/feature/chart-work] - Updates to MDL.

2017-04-09 Thread Peter Ent
I don't need to have DataProviderChangeNotifier do what I made it do. I was thinking that using the same event was causing the problem in the MDL tabs because that event causes all of the item renderers to be thrown away. ‹peter On 4/9/17, 9:47 AM, "piotrz" wrote: >Peter, > >I just tested your

Re: git commit: [flex-asjs] [refs/heads/develop] - CORS security. Allow auth credentials to be passed when using cross site calls. This is required as well as setting the Access-Control-Allow-Origin h

2017-04-09 Thread Harbs
I think Peter wrote the original implementation, and you are probably right on most of your points that a lot of the code should be pulled out into beads. I’ll let Peter or Alex comment on the original implementation, but it could be it’s time to re-write some of it. Harbs > On Apr 9, 2017, at

Re: git commit: [flex-asjs] [refs/heads/develop] - CORS security. Allow auth credentials to be passed when using cross site calls. This is required as well as setting the Access-Control-Allow-Origin h

2017-04-09 Thread Justin Mclean
Hi, > Therefore code to deal with authentication should not be in the base > component. So in that case should the code dealing with HTTPs headers should be removed? I can see the class is also dealing with timeouts should that also be removed and placed in a bead? The class is also missing J

Re: git commit: [flex-asjs] [refs/heads/feature/chart-work] - Updates to MDL.

2017-04-09 Thread piotrz
Peter, I just tested your changes. They are breaking the cases where I would like to change whole data provider once everything is renderer. I'm going to get back to the previous version and implement beads as I wrote above, late I will deeply look into the Tabs problems. Thanks, Piotr -

Re: git commit: [flex-asjs] [refs/heads/develop] - CORS security. Allow auth credentials to be passed when using cross site calls. This is required as well as setting the Access-Control-Allow-Origin h

2017-04-09 Thread Harbs
On Apr 9, 2017, at 5:54 AM, Justin Mclean wrote: > > Hi, > >> But still it would be great to have Bead which holds it. > > Can you elaborate why you think it should be in a bead? Most use cases of HTTPService does not require authentication. Therefore code to deal with authentication should

Re: Flex Air Support

2017-04-09 Thread lgabrielmf
Thanks a lot for the responses! Let me ask another question then. What about the FlexJS project? Is it a safe alternative to migrate code from Flex Air/Actionscript to HTML/Javascript? Cheers, Gabriel > On 3 Apr 2017, at 03:29, Alex Harui [via Apache Flex Development] > wrote: > >

Re: git commit: [flex-asjs] [refs/heads/develop] - CORS security. Allow auth credentials to be passed when using cross site calls. This is required as well as setting the Access-Control-Allow-Origin h

2017-04-09 Thread piotrz
Understand now. If it not optional than probably can be as you stated as part of API. Sorry for misunderstanding. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Re-git-commit-flex-asjs-refs-heads-deve

Re: git commit: [flex-asjs] [refs/heads/develop] - CORS security. Allow auth credentials to be passed when using cross site calls. This is required as well as setting the Access-Control-Allow-Origin h

2017-04-09 Thread Justin Mclean
Hi, > But still it would be great to have Bead which holds it. Can you elaborate why you think it should be in a bead? This fixes a security issue on the JS side in an existing component. There no PAYG cost AFAICS and it’s not adding a new feature or something that should be optional. If use

Re: git commit: [flex-asjs] [refs/heads/develop] - CORS security. Allow auth credentials to be passed when using cross site calls. This is required as well as setting the Access-Control-Allow-Origin h

2017-04-09 Thread piotrz
Hi Justin, But still it would be great to have Bead which holds it. Small separate extension. Let user used to use bead and think in a FlexJS way not Flex. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.c

Re: git commit: [flex-asjs] [refs/heads/develop] - CORS security. Allow auth credentials to be passed when using cross site calls. This is required as well as setting the Access-Control-Allow-Origin h

2017-04-09 Thread Justin Mclean
Hi, HTTPService on the AS side supports this security feature via cross domain policies built into the Flash Player. CORS is a little more complex and sometimes requires both client and server configuration rather than just mostly server side as AS security does. I think users of FlexJS would w