Re: Refactoring Layouts

2018-02-25 Thread Carlos Rovira
Hi Alex, two things here: 1) while reading about css layouts seems Grid system is the most sophisticated one and is better than flexbox, so I think we should change to that since flex box does not support some layouts and Grid seems the future and more like what we had in flex 2) yesterday

Refactoring Layouts

2018-02-25 Thread Alex Harui
Hi, Time for another refactoring of layout. My goal for this round is to move the border/padding/margin calculations into the ValuesManager, and get the JS version to use getComputedStyle. I think it will be cleaner to abstract the differences between SWF and JS in the ValuesManager and allow

Re: maven royale distribution no longer works, but current release seems not to be a valid SDK

2018-02-25 Thread Piotr Zarzycki
Ahh..Ok I remember you were working with such flow, by using later distribution in the IDE. Got it! 2018-02-25 20:23 GMT+01:00 Piotr Zarzycki : > Hi Carlos, > > flex-sdk-description as far as I know is for compatibility with older > IDEs. As for the format of the

Re: maven royale distribution no longer works, but current release seems not to be a valid SDK

2018-02-25 Thread Piotr Zarzycki
Hi Carlos, flex-sdk-description as far as I know is for compatibility with older IDEs. As for the format of the royale-sdk-description there were discussion on the dev list about that some time ago. Josh is parsing exactly this file and use output-targets as far as a I know. I'm doing the same in

maven royale distribution no longer works, but current release seems not to be a valid SDK

2018-02-25 Thread Carlos Rovira
Hi, something broke maven royale distribution. When I run: macbookpro:royale-asjs carlosrovira$ mvn -s settings-template.xml -DdistributionTargetFolder=/Users/carlosrovira/Dev/Royale/sdks/apache-royale-0.9.2-SNAPSHOT -P build-distribution clean install This executes ok, but the SDK created is

Re: Support for SVG in older browsers and Operating Systems.

2018-02-25 Thread Harbs
FWIW: I’ve had browser-specific problems with every browser: Chrome, Firefox, Safari, Edge and IE. Also: MDL is pretty bad on IE and Edge. We’re probably getting rid of the use of MDL Sliders to support Edge and IE. Fixing it is too difficult. Harbs > On Feb 25, 2018, at 7:09 PM, Carlos

Re: [royale-asjs] 01/01: Added Map

2018-02-25 Thread Alex Harui
Hmm. Probably the compiler thinks Map.as is a monkey-patch over the SWC definition. Source-path definitions always win. What error do you get? HTH, -Alex On 2/25/18, 3:32 AM, "Harbs" wrote: >I need help here: > >By adding the Map class for SWF, that seems to mess up

Re: Support for SVG in older browsers and Operating Systems.

2018-02-25 Thread Carlos Rovira
So Chrome and IE11 should be our target, although for me test in IE11 is almost impossible since I'm on a Mac. but seems the right to do, and we can forget IE8,9&10 I only hope IE11 could be as much as possible to standards nowadays... 2018-02-25 11:26 GMT+01:00 Harbs : >

Re: TypeNames vs ClassName

2018-02-25 Thread Piotr Zarzycki
I just pushed changes to MDL. With couple of exceptions all typeNames landed to constructor. Thanks to that changes some components started to work better. I'm wondering whether I do not break anything. Harbs, If you are using something more than MDL Dialog in your application it would be great

Re: How to get assets (svg, png,...) inside *-js.swc and *-swf.swc libraries

2018-02-25 Thread Carlos Rovira
Hi Justin, we're using resources when using maven. In fact I use it to bundle resources in theme SWC. The problem we're discussing now is about for Apps to retrieve "assets" from inside the theme SWC. 2018-02-25 11:04 GMT+01:00 Justin Mclean : > Hi, > > > OK, just be

RE: GitHub Problems

2018-02-25 Thread Yishay Weiss
Upgrading git for windows [1] fixed it for me. [1] https://github.com/Microsoft/Git-Credential-Manager-for-Windows/issues/57 From: Yishay Weiss Sent: Sunday, February 25, 2018 4:12 PM To: dev@royale.apache.org Subject: GitHub Problems

GitHub Problems

2018-02-25 Thread Yishay Weiss
Did anyone else have these problems? I’m using my GitHub account credentials. C:\dev\flexjs\royale-asjs\frameworks\projects\Graphics>git push fatal: AggregateException encountered. One or more errors occurred. Username for 'https://github.com': yishayw Password for 'https://y...@github.com':

Re: How to get assets (svg, png,...) inside *-js.swc and *-swf.swc libraries

2018-02-25 Thread Carlos Rovira
Hi Alex I think this is perfect Go with it Thanks! El El dom, 25 feb 2018 a las 9:37, Alex Harui escribió: > OK, just be certain, the compiler will only do this for a folder > specifically named "assets". Not every file in the SWC or other folder > names. And the

Re: [royale-asjs] 01/01: Added Map

2018-02-25 Thread Harbs
I need help here: By adding the Map class for SWF, that seems to mess up the Map reference in JS blocks in ObjectMap. For some reason, the SWF class makes the compiler not find the extern definition of Map on the JS side. I’m not sure why. Any thoughts? Harbs > On Feb 25, 2018, at 1:30 PM,

Re: Support for SVG in older browsers and Operating Systems.

2018-02-25 Thread Harbs
Some data points: One of my client’s recently reported browser usage from a sampling of close to 70,000 users. (IE 11 is the only version of IE that’s supported.) Chrome was the #1 browser at 53.5%. IE 11 was #2 at 24% 3, 4, and 5 were Safari, Firefox and Edge respectively. With those kinds of

Re: How to get assets (svg, png,...) inside *-js.swc and *-swf.swc libraries

2018-02-25 Thread Justin Mclean
Hi, > OK, just be certain, the compiler will only do this for a folder > specifically named "assets". Not every file in the SWC or other folder > names. And the destination folder will be "assets" as well. By default maven looks for “resources” why not support that as well? Thanks, Justin

Re: Support for SVG in older browsers and Operating Systems.

2018-02-25 Thread Harbs
It’s not. Dictionary supports indexed access. ObjectMap requires set and get. Harbs > On Feb 25, 2018, at 10:02 AM, Carlos Rovira wrote: > > Hi Harbs, > > if ObjectMap is a Dictionary, why don't you rename it to that? I think it > will make more easy for new comers to

Re: Support for SVG in older browsers and Operating Systems.

2018-02-25 Thread Piotr Zarzycki
I've been working as a web developer many many years ago. You can't even imagine what kind of hacks we had to do in order to dispay something sophisticated in IE. My colleague who took from time to time some freelance job when Client wanted to be compatible with IE8 or whatever next version -

Re: How to get assets (svg, png,...) inside *-js.swc and *-swf.swc libraries

2018-02-25 Thread Alex Harui
OK, just be certain, the compiler will only do this for a folder specifically named "assets". Not every file in the SWC or other folder names. And the destination folder will be "assets" as well. Everybody ok with that for now? -Alex On 2/24/18, 11:44 PM, "carlos.rov...@gmail.com on behalf of

Re: Support for SVG in older browsers and Operating Systems.

2018-02-25 Thread Carlos Rovira
Hi, my opinion about fallback compatibility is that I expect people creating Royale Apps in 2018 and beyond with actual browsers and systems, not with old ones. If a client has IE8 support, then normaly will have Edge, Chrome and Firefox as well, or if target Android devices, they will be in at

Re: Support for SVG in older browsers and Operating Systems.

2018-02-25 Thread Carlos Rovira
Hi Harbs, if ObjectMap is a Dictionary, why don't you rename it to that? I think it will make more easy for new comers to get it Thanks 2018-02-24 21:59 GMT+01:00 Gabe Harbs : > There is a ObjectMap class which uses WeakMap or Map and falls back to > regular objects on

Re: How to get assets (svg, png,...) inside *-js.swc and *-swf.swc libraries

2018-02-25 Thread Carlos Rovira
Hi Justin, I think could be ok to have js and swf folders, ...although maybe the most important thing in structure is the where to copy resources so final outputs could grab only one copy of them and JS, SWF, WEBASM, and others techs to come can grab it. Maybe we should discuss this to find the