Re: How to inject html with a theme class

2018-03-06 Thread Alex Harui
SWCs contained compiled AS, not the .as file itself. And Royale SWCs also contain .js files. So the proof is really in SWFDump-ing the library.swf in the SWC. We need to verify that JewelThemeFontInject is in the library.swf. So: -unzip the SWC. -Run bin/swfdump -abc library.swf >MySWC.txt

Re: [CSS#26]

2018-03-06 Thread Alex Harui
Hi Carlos, I don't think there is a previous implementation. I believe that all other functions in CSS that we've run into so far have been converted in the output to a Number or String. I think you can design any structure you want, although primitive like an Array might have less overhead and

Re: [CSS#26]

2018-03-06 Thread Carlos Rovira
Hi Alex, ok, so you said I need to create a data structure for linear-gradient that should be handled in each SWF and JS codes. But don't know from where I can start, maybe some guidance on where are located the other data structures and if there's one similar to check (and maybe copy in part) I

Re: How to inject html with a theme class

2018-03-06 Thread Carlos Rovira
Hi Alex, 2018-03-06 22:04 GMT+01:00 Alex Harui : > Hi Carlos, > > I don't think there is per-platform CSS, so > org.apache.royale.jewel.JewelThemeFontInject needs to be in the SWC for > both the SWF and JS compile. right, I checked both SWF and JS SWC files and both

Re: How to inject html with a theme class

2018-03-06 Thread Alex Harui
Hi Carlos, I don't think there is per-platform CSS, so org.apache.royale.jewel.JewelThemeFontInject needs to be in the SWC for both the SWF and JS compile. I couldn't quite tell from the commit message, but it looked like JewelThemeFontInject might have been set up to be JSOnly. Also, it

Re: How to inject html with a theme class

2018-03-06 Thread Carlos Rovira
Hi Alex, more near, but still fails. I put the quotes failed, then I figured that I put in jewel package similar to lib, so I changed to : fonts: ClassReference("org.apache.royale.jewel.JewelThemeFontInject"); this failed in similar way: [INFO] Executing MXMLC in tool group Royale with args:

Re: [CSS#26]

2018-03-06 Thread Alex Harui
Hi Carlos, Comments inline. On 3/6/18, 10:45 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, > >for SWF I think we should have something like [1] [2] > >what I don't know right now is what does royale

Re: How to inject html with a theme class

2018-03-06 Thread Alex Harui
I missed that ClassReference puts the class in quotes. Try: fonts: ClassReference("JewelThemeFontInject") ; HTH, -Alex On 3/6/18, 10:31 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, > >the 4 method

Re: [CSS#26]

2018-03-06 Thread Carlos Rovira
Hi Alex, for SWF I think we should have something like [1] [2] what I don't know right now is what does royale compiler under the hood to bring the "linear-gradient" values to the flash part, maybe generate some AS3 code? from there we can get those values and use in the flash code similar to

Re: How to inject html with a theme class

2018-03-06 Thread Carlos Rovira
Hi Alex, the 4 method seems ok but I'm getting this error: [INFO] Executing MXMLC in tool group Royale with args: [-load-config=/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/royale/JewelExample/target/compile-app- config.xml,

Re: Page linked to from license page no longer exists

2018-03-06 Thread Alex Harui
So you want to ship with the controversial situation we have now? I'm not going to start a release unless we are going to get enough votes and not get mired down in further debating of this situation. Also, if there is a ruling that requires changes after I start the release then I will have

Re: How to inject html with a theme class

2018-03-06 Thread Alex Harui
Only from classes actually linked into the final application will be used. I think there are a few choices: 1) require everyone use a particular html-template 2) require some bead be used 3) require a different Application subclass 4) try to hack it in as follows: In the defaults.css for Jewel,

Re: two things: Clean components final HTML Output - Button basic styles still around

2018-03-06 Thread Alex Harui
Hi Piotr, Your advice is no longer true (was true until recently). Carlos can move the visual styling from the Button Type selectors in defaults.css to basic.css. I have seen some surprising defaults in the browsers, like border-width defaulting to 4px. So a simple test is to not use Royale at

Re: Page linked to from license page no longer exists

2018-03-06 Thread Harbs
I figured I’d wait a couple of weeks. Like I said: I don’t think it should hold up a release if we don’t get an answer immediately. > On Mar 6, 2018, at 6:11 PM, Alex Harui wrote: > > It is March 6. How many days should we wait? Especially given that the > current

Re: [CSS#26]

2018-03-06 Thread Alex Harui
Hi Carlos, If you can find a way to handle linear-gradient for SWF that would be great. I don't know this area of the code that well, but I think you have at least 3 choices: 1) Alter the AST 2) Output a String 3) Reduce it to a function call. FWIW, #3 requires changing the reducer which seems

Re: How to inject html with a theme class

2018-03-06 Thread Carlos Rovira
Hi Piotr, no, that's that I want to get in the resultant html file. I don't think I understand your question, that's exactly what I'm asking, why that line is not in the final HTML file, I suppose that is because is a theme file and maybe the JewelThemeClasses.as is not used, but don't know how

Re: Page linked to from license page no longer exists

2018-03-06 Thread Alex Harui
It is March 6. How many days should we wait? Especially given that the current VP Legal as resigned and no replacement has been announced yet? Thoughts? -Alex On 3/6/18, 1:03 AM, "Harbs" wrote: >The path data appears to be from the CC-BY derivative and not the public

Re: How to inject html with a theme class

2018-03-06 Thread Piotr Zarzycki
Link once again: https://fonts.googleapis.com/css?family=Lato; rel="stylesheet"> 2018-03-06 17:06 GMT+01:00 Piotr Zarzycki : > I meant here something else. Do you have in your head something like that > after compilation in the html files ? > >

Re: How to inject html with a theme class

2018-03-06 Thread Piotr Zarzycki
I meant here something else. Do you have in your head something like that after compilation in the html files ? https://fonts.googleapis.com/css?family=Lato; rel="stylesheet"> 2018-03-06 17:01 GMT+01:00 Carlos Rovira : > Hi Piotr, > > I introduced a new line in

Re: How to inject html with a theme class

2018-03-06 Thread Carlos Rovira
Hi Piotr, I introduced a new line in Application.as in Jewel UI set to start implementing responsiveness in mobile: this line is ok at that level since all jewel apps could be responsive that line appears ok in final html but the one in the theme, is not appearing in the html the rest seems

Re: two things: Clean components final HTML Output - Button basic styles still around

2018-03-06 Thread Carlos Rovira
HI Piotr, 2018-03-06 15:31 GMT+01:00 Piotr Zarzycki : > If you are extending Basic components, you got styles from there. If you > don't need those styles you will have to do one of the two things in my > opinion: > > 1) Exclude basic styles as we did it in MDL >

Re: two things: Clean components final HTML Output - Button basic styles still around

2018-03-06 Thread Piotr Zarzycki
If you are extending Basic components, you got styles from there. If you don't need those styles you will have to do one of the two things in my opinion: 1) Exclude basic styles as we did it in MDL 2) Override some of them using theme/your css file style 2018-03-06 15:26 GMT+01:00 Carlos

Re: two things: Clean components final HTML Output - Button basic styles still around

2018-03-06 Thread Carlos Rovira
In fact, If I remove the styles in basic, I end with some visual changes in JewelExample, like SVG strokes more thick in the buttons. Don't know exactly why this is happening, but it's clear that styles from basic component should be exactly 0, and then if people wants basic styles they should use

Re: "Vivid" to become "Jewel"

2018-03-06 Thread Piotr Zarzycki
Carlos, Thanks for clarification :) That's sounds good! :) 2018-03-06 12:31 GMT+01:00 Carlos Rovira : > Hi Piotr, > > for compiler I expect to solve (if I can, since is not my conformt zone and > I need to see what can I do) bugs in CSS. > Don't see anything that not

Re: "Vivid" to become "Jewel"

2018-03-06 Thread Carlos Rovira
Hi Piotr, for compiler I expect to solve (if I can, since is not my conformt zone and I need to see what can I do) bugs in CSS. Don't see anything that not should go directly to develop since should be commits solving concrete issues (like #25, and #26) In the other hand, my work will be in 3

Re: "Vivid" to become "Jewel"

2018-03-06 Thread Carlos Rovira
Hi, just let you know that I made this refactor and remove old branches. I merged compiler changes in develop, since I think are not specific of Jewel. So, for the moment I'll use only one branch in asjs until I need more branches. If for example, I fix a compiler problem in CSS I'll commit to

Re: Page linked to from license page no longer exists

2018-03-06 Thread Harbs
The path data appears to be from the CC-BY derivative and not the public domain original. I do think we need to either get clarification of replace the path data (and possibly SVG file). I’m happy doing it myself. I have opened a JIRA for an official ruling on the topic. It feels like it’s

Re: My first experience with SVG

2018-03-06 Thread Carlos Rovira
Thanks Om! I was checking your examples and If I understand ok, you where trying to make some skin translation to XSLT, but don't understand the final focus. Hope you can tell me about your target with this experiments. btw, what tool you use to create the SVGs in that folder? For what I see,