Build failed in Jenkins: royale-asjs #557

2018-03-30 Thread apacheroyaleci
See -- [...truncated 1.37 MB...] [java] Compiling file: org.apache.royale.flat.CheckBox [java] Writing file: js\out\org\apache\royale\flat\CheckBox.js

Build failed in Jenkins: royale-asjs_jsonly #554

2018-03-30 Thread apacheroyaleci
See -- [...truncated 1.50 MB...] [mxmlc] sorted filename: reflect/reflect.js [mxmlc] sorted filename: string/string.js [mxmlc] sorted filename:

Build failed in Jenkins: royale-asjs_jsonly #553

2018-03-30 Thread apacheroyaleci
See -- [...truncated 1.52 MB...] [mxmlc] sorted filename: reflect/reflect.js [mxmlc] sorted filename: string/string.js [mxmlc] sorted filename:

Build failed in Jenkins: royale-asjs_jsonly #552

2018-03-30 Thread apacheroyaleci
See -- [...truncated 1016.65 KB...] fake-airglobal: [mkdir] Created dir:

Re: Layouts and its properties to be set via CSS

2018-03-30 Thread Carlos Rovira
Hi Peter, right, in Jewel I have a version of some of your layouts that uses css rules instead of setting inline styles in html. In Jewel I want a clean html with no inline styles at all. For example in Jewel HorizontalLayout I have no inline styles but in HorizontalLayoutWithPaddingAndGap I have

Re: Layouts and its properties to be set via CSS

2018-03-30 Thread Carlos Rovira
Hi Alex, this seems a bit heavy, but maybe is the way to do for now. Maybe this is a feature for a future version of royale. I'll see how your suggestion works thanks! 2018-03-30 19:31 GMT+02:00 Alex Harui : > In other parts of the framework, to avoid using advanced

Re: Layouts and its properties to be set via CSS

2018-03-30 Thread Peter Ent
Gap manages the space between elements while margin will apply to the space around every element. So margin:10px will add a 10 pixel space to the left of the first element and after it, but also before and after the second element, giving you a gap of 20 between the elements and an edge of 10.

Re: Layouts and its properties to be set via CSS

2018-03-30 Thread Alex Harui
In other parts of the framework, to avoid using advanced selectors, we create subclasses. So for your case, you could create PanelTitleBar extends TitleBar AlertTitleBar extends TitleBar Each can then have its own CSS TypeSelector with an IBeadLayout that references some other layout bead.

Re: Layouts and its properties to be set via CSS

2018-03-30 Thread Carlos Rovira
Hi Alex, this last is not about the gap. In this thread I covered various things and maybe I should make one thread each, but I though it could be many threads as well: 1.- Problem to set properties through CSS for beads (layouts or even views). I think this can be covered with Peter's emails

Re: Layouts and its properties to be set via CSS

2018-03-30 Thread Alex Harui
Carlos, are you looking for a general solution or is this specifically about gap? Gap is not a CSS style. Flex introduced it. I believe the CSS equivalent is to set margins on all children of a container. Why not just use margins? Thoughts? -Alex On 3/30/18, 9:51 AM, "carlos.rov...@gmail.com

Re: [royale-compiler] 02/02: try caching some other things to speed up the compiler

2018-03-30 Thread Carlos Rovira
All is working now thanks! :) 2018-03-30 17:58 GMT+02:00 Alex Harui : > Hi Piotr, > > The compiler build passed, but then it can't build the framework. I'm > looking into it. > > -Alex > > On 3/30/18, 2:22 AM, "Piotr Zarzycki" wrote: > > >Hi

Re: Layouts and its properties to be set via CSS

2018-03-30 Thread Carlos Rovira
If I use a ViewBead to solve this, and make this: titleBar = new TitleBar(); titleBar.addBead(new HorizontalLayoutSpaceBetween()); although this works ok, maybe it's not the best since there's another ILayoutBead left with no use. Should I make a removeBead of the one already was

Re: Layouts and its properties to be set via CSS

2018-03-30 Thread Alex Harui
Couple of things: 1) The compiler will prune styles with non-compliant values like ClassReference from the final CSS output. The values with ClassReference still end up in the encoded CSS used by ValuesManager 2) The SimpleCSSValuesImpl does not handle advanced selectors. That's why it is

Jenkins build is back to normal : royale-asjs_jsonly #551

2018-03-30 Thread apacheroyaleci
See

Re: [royale-compiler] 02/02: try caching some other things to speed up the compiler

2018-03-30 Thread Alex Harui
Hi Piotr, The compiler build passed, but then it can't build the framework. I'm looking into it. -Alex On 3/30/18, 2:22 AM, "Piotr Zarzycki" wrote: >Hi Carlos, > >On builds.a.o build pass without the problem on develop [1] > >[1]

Build failed in Jenkins: royale-asjs_jsonly #550

2018-03-30 Thread apacheroyaleci
See -- [...truncated 1.07 MB...] check-transpiler-home: check-compiler: compile: compile-js: [delete] Deleting:

Re: Layouts and its properties to be set via CSS

2018-03-30 Thread Peter Ent
"IBeadLayout" and friends are not real CSS style properties which means we can have our own properties. The HorizontalLayoutWithPaddingAndGap should try to use ValuesManager and get its gap and padding values from the style(s) associated with the strand component. SomeComponent { IBeadLayout:

Re: Layouts and its properties to be set via CSS

2018-03-30 Thread Carlos Rovira
Hi Piotr, is not the real class ;), just want to write a quick example, change that for a real layout class (whatever) 2018-03-30 13:36 GMT+02:00 Piotr Zarzycki : > Hi Carlos, > > But " verticallayout" - This is AS class ? > > > > 2018-03-30 13:19 GMT+02:00 Carlos

Build failed in Jenkins: royale-asjs_jsonly #549

2018-03-30 Thread apacheroyaleci
See -- [...truncated 1.02 MB...] check-transpiler-home: check-compiler: compile: compile-js: [delete] Deleting:

Re: Layouts and its properties to be set via CSS

2018-03-30 Thread Piotr Zarzycki
Hi Carlos, But " verticallayout" - This is AS class ? 2018-03-30 13:19 GMT+02:00 Carlos Rovira : > Another problem I found with layouts usability: > > If I have a component that uses by default an horizontal layout: > > ControlBar > { > IBeadLayout:

Re: Layouts and its properties to be set via CSS

2018-03-30 Thread Carlos Rovira
Another problem I found with layouts usability: If I have a component that uses by default an horizontal layout: ControlBar { IBeadLayout: Classreference ("horizontallayout"); } But this component is used in other component that wants to use another layout (i.e vertical) I tried this:

Build failed in Jenkins: royale-asjs_jsonly #548

2018-03-30 Thread apacheroyaleci
See Changes: [harbs] Language.is needs a bit of work -- [...truncated 1.02 MB...] check-transpiler-home: check-compiler: compile:

Layouts and its properties to be set via CSS

2018-03-30 Thread Carlos Rovira
Hi I'm finding a usability problem with layouts. Since Layouts use to be configured via CSS (IBeadLayout), this works ok for basic layouts without properties, but if you have for example a "gap" property like in HorizontalLayoutWithPaddingAndGap, this layout is not usable vía CSS since you can't

Re: [royale-compiler] 02/02: try caching some other things to speed up the compiler

2018-03-30 Thread Carlos Rovira
Hi Alex, the problem is only with the latest (caching) . The other one works ok. thanks 2018-03-30 10:06 GMT+02:00 Carlos Rovira : > Hi Alex, > > the two latest commits in compiler is making projects not compile (at > least in Jewel branch). I'll reset my index below

Re: [royale-compiler] 02/02: try caching some other things to speed up the compiler

2018-03-30 Thread Carlos Rovira
Hi Alex, the two latest commits in compiler is making projects not compile (at least in Jewel branch). I'll reset my index below this two commits until you get that solved thanks 2018-03-30 9:08 GMT+02:00 : > This is an automated email from the ASF dual-hosted git

Re: @royaleignorecoercion and @royaleemitcoercion

2018-03-30 Thread Carlos Rovira
Harbs, I'm getting various lines of the following kind after layout branch merge. Nothing is failing, is just a warning, but want to know the reason that now this shows up and how to solve it. Again, if you can give some words about ignore and emit cohercions it should be of help to me while

Build failed in Jenkins: royale-asjs_jsonly #547

2018-03-30 Thread apacheroyaleci
See -- [...truncated 1.02 MB...] check-transpiler-home: check-compiler: compile: compile-js: [delete] Deleting: