You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Alex Harui <ah...@adobe.com.INVALID> on 2018/02/22 01:43:22 UTC

Removing the * selector

Hi,

Royale has been using the universal selector for a while now to set
defaults for Royale apps.  However, that caused problems with other
third-party CSS.

I just pushed changes to the compiler and framework so that we don't use
the * selector.  Instead we will be using the * selector properly if
provided by the users CSS and we are using a special selector called
"global" as the "browser defaults" and the final selector in the lookup we
manage.

This should eliminate the need for other component sets to try to exclude
the defaults.css from Basic.

You may find that text that once looked nice now is 16px Serif.  That's
because we are no longer using inheritance to set the font-family on all
components.  The browsers do not seem to deploy a default font-family so
the SWF side shouldn't either.  IOW, if you just put some plain text in an
HTML file it shows up as 16px Serif.  If you see 16px Serif, let us know
which component is showing that by default.

However, we don't really want to make 16px Serif the default font in our
examples, so I created a CSS-based theme in themes/Basic/basic.css and put
12px Sans-Serif as the default for a bunch of type selectors since that
was what our examples were using.  I did not create a default font for
Application as that would become the default for other component sets
mixed into a Royale app unless otherwise specified.  Component sets with
different looks can use a different theme and get different defaults.

So, in sum, without any theme, we want the SWF side to look like the
browser and have 16px Serif.  But the royale-config.xml will specify
themes/Basic/basic.css as the default theme giving the examples and most
people's unstyled apps a more Flex-like look by using sans-serif.  More
type selectors may need to be added to themes/Basic/basic.css in order to
get sans serif everywhere by default without putting font-family on
Application.  That way, when you switch to another theme, like the Vivid
that Carlos is working on, there should be fewer, if any, default values
that screw up the other theme.

Thanks,
-Alex


Re: Removing the * selector

Posted by Alex Harui <ah...@adobe.com.INVALID>.
I think all you have to do in this case is remove [Bindable].  You can
still initialize statics as long as there aren't certain kinds of
dependencies in there.  An alternative is to force a simple static
initialization that depends on ValueChangeEvent that the remove circulars
code can detect.  But IMO, there is no need to make the whole class
[Bindable].

If you are binding to instances of DeptEnum and get binding warnings, then
manually implement value and ordinal as getter/setter and use
[Bindable("__NoChangeEvent__")] on the getter.  Search for "NoChangeEvent"
in the code for examples.

-Alex

On 2/23/18, 12:32 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:

>I think value and ordinal are not changing later. I will try refactor that
>class to do not use static instantiation, but it will probably use some
>constant, because it have to emulate Enums.
>
>2018-02-23 9:26 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>
>> Well, in theory yes the compiler needs more work, but I don't think it
>>is
>> practical to solve it in the compiler in any reasonable amount of time.
>> I
>> think you'd have to write a code-flow analyzer.  We don't have a
>> definitive way of knowing what goog.requires are needed at static
>> initialization without a code-flow analysis.  Currently we look for a
>>few
>> simple cases.
>>
>> IMO, we will have to make remove-circulars=false work for more apps, or
>> tell people they can't use complex static initialization patterns.
>>
>> If you want to get past this problem quickly, I would refactor that
>> DeptEnum.  I don't get why it is [Bindable].  Do the ordinal and value
>> properties change after instantiation?  I didn't look at the other
>>class.
>>
>> There are a few words about Eclipse and the compiler in the Flex wiki.
>>I
>> didn't read it because I'm short on time so it might be a bit out of
>>date.
>>  Once you get Eclipse set up, you can set up run/debug configurations
>>sort
>> of like Flash Builder.
>>
>> HTH,
>> -Alex
>>
>>
>>
>> On 2/23/18, 12:08 AM, "Piotr Zarzycki" <pi...@gmail.com>
>>wrote:
>>
>> >This is in the compiler right ?
>> >
>> >2018-02-23 9:06 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>> >
>> >> Feel free to dig in and fix it.
>> >>
>> >> On 2/22/18, 11:59 PM, "Piotr Zarzycki" <pi...@gmail.com>
>> >>wrote:
>> >>
>> >> >Your changes related to circulars helped with static Binding, but
>> >>there is
>> >> >still some problems with that class [1]. I've updated example with
>>you
>> >> >newest changes [2]. Take a look into the console. [2]
>> >> >
>> >> >[1]
>> >> >https://na01.safelinks.protection.outlook.com/?url=
>> >> https%3A%2F%2Fgoo.gl%2F
>> >> >Y9YuuJ&data=02%7C01%7Caharui%40adobe.com%
>> 7C62158b602dd54040909f08d57a93
>> >> 65d
>> >> >8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>> >> 7C636549695843478010&sdata=Kh
>> >> >eqXXmbDrdqvRi7v8cIkTEfg4BY0kJE%2BXrZSsImevs%3D&reserved=0
>> >> >[2]
>> >> >https://na01.safelinks.protection.outlook.com/?url=
>> >> https%3A%2F%2Ftranspile
>> >> >dactionscript.com%2Fdev%2Fexamples%2FPureMVCEmployeeAdminBasic%
>> >> 2F&data=02%
>> >> >7C01%7Caharui%40adobe.com%7C62158b602dd54040909f08d57a93
>> >> 65d8%7Cfa7b1b5a7b3
>> >> >4438794aed2c178decee1%7C0%7C0%7C636549695843478010&
>> >> sdata=mTCYRquSqf9panaDU
>> >> >q4bg0PVOXvuqwqBqmLVPM6ryk8%3D&reserved=0
>> >> >
>> >> >Thanks, Piotr
>> >> >
>> >> >2018-02-23 8:50 GMT+01:00 Piotr Zarzycki
>><pi...@gmail.com>:
>> >> >
>> >> >> By turning off you mean something like this ? ->
>> >> >>
>> >> >>https://na01.safelinks.protection.outlook.com/?url=
>> >> https%3A%2F%2Fgithub.c
>> >>
>> >>>>om%2Fapache%2Froyale-asjs%2Fcommit%2F&data=02%7C01%7Caharui%
>> 40adobe.com
>> >> %7
>> >> >>C62158b602dd54040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
>> >> cee1%7C0%
>> >> >>7C0%7C636549695843478010&sdata=vMaiIEtYKh7AluLq3dpGg4nJ4VxyHH
>> >> 5u9ukVETe4wj
>> >> >>w%3D&reserved=0
>> >> >> 4d298a160aa388eb6306c6f0f80a3269ca240b40
>> >> >>
>> >> >> 2018-02-23 8:48 GMT+01:00 Piotr Zarzycki
>><piotrzarzycki21@gmail.com
>> >:
>> >> >>
>> >> >>> I pickup latest build and  MDLTabsExample doesn't look like it
>> >>should
>> >> >>> be. I would like to understand what I need to do in order to get
>>the
>> >> >>>look
>> >> >>> back.
>> >> >>>
>> >> >>> What do you mean by that: " MDL also needed to turn off default
>> >>layout
>> >> >>> in the Grid."
>> >> >>>
>> >> >>> I see that you have created that file [1] which simply force
>>usage
>> >>of
>> >> >>> some fonts for the components, but that's probably not the
>>problem.
>> >> >>> Question is do I need to still use that command after your
>>changes?
>> >> >>>
>> >> >>> -compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css
>> >> >>>
>> >> >>> [1]
>> >>
>> >>>>>https://na01.safelinks.protection.outlook.com/?url=
>> https%3A%2F%2Fgithu
>> >>>>>b
>> >> .
>> >> >>>com%2Fapache%2Froyale-asjs%2Fblob%2Fdevelop%2Fframe&data=
>> >> 02%7C01%7Caharu
>> >> >>>i%40adobe.com%7C62158b602dd54040909f08d57a93
>> >> 65d8%7Cfa7b1b5a7b34438794aed
>> >> >>>2c178decee1%7C0%7C0%7C636549695843478010&sdata=
>> >> mXDFaRhrIaouTe2iBG4OMG6T5
>> >> >>>BHsZ3TrRX7wdOZdjHU%3D&reserved=0
>> >> >>> works/themes/Basic/basic.css
>> >> >>>
>> >> >>> Thanks, Piotr
>> >> >>>
>> >> >>>
>> >> >>> 2018-02-23 3:19 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>> >> >>>
>> >> >>>> I moved more styles from the framework to the theme to deal with
>> >>the
>> >> >>>> wrong
>> >> >>>> layout in MDLTabsExample.
>> >> >>>>
>> >> >>>> MDL also needed to turn off default layout in the Grid.
>> >> >>>>
>> >> >>>> The data binding static variable issue turned out to be the
>> >> >>>> remove-circulars code which is now on by default.  I fixed that
>>as
>> >> >>>>well.
>> >> >>>>
>> >> >>>> Thanks for reporting these issues.
>> >> >>>> -Alex
>> >> >>>>
>> >> >>>> On 2/22/18, 3:40 PM, "Alex Harui" <ah...@adobe.com.INVALID>
>> wrote:
>> >> >>>>
>> >> >>>> >Isn't that a different problem?  I thought you were having
>> >>problems
>> >> >>>> >getting a dataProvider assigned?
>> >> >>>> >
>> >> >>>> >-Alex
>> >> >>>> >
>> >> >>>> >On 2/22/18, 3:34 PM, "piotrz" <pi...@apache.org> wrote:
>> >> >>>> >
>> >> >>>> >>I'm building them using JSonly Royale and Moonshine. Tomorrow
>>my
>> >> >>>>time I
>> >> >>>> >>will
>> >> >>>> >>try Maven build.
>> >> >>>> >>
>> >> >>>> >>If I have this:
>> >> >>>> >>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css
>> >> >>>>Example
>> >> >>>> >>looks
>> >> >>>> >>like that:
>> >> >>>> >>
>> >> >>>> >><https://na01.safelinks.protection.outlook.com/?url=http%3
>> >> >>>> A%2F%2Fapache-r
>> >> >>>> >>o
>> >> >>>> >>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fmdl_tab
>> >> >>>> s_1.png&data=02
>> >> >>>> >>%
>> >> >>>> >>7C01%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4ccc
>> >> >>>> d2%7Cfa7b1b5a7b
>> >> >>>> >>3
>> >> >>>> >>4438794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=M
>> >> >>>> c8qtEBLO1%2FhT4
>> >> >>>> >>U
>> >> >>>> >>P%2FBhKlpgH9r8HwU52TNDCY6Kjw2I%3D&reserved=0>
>> >> >>>> >>
>> >> >>>> >>If remove this:
>> >> >>>> >>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css
>> >>looks
>> >> >>>> like
>> >> >>>> >>that:
>> >> >>>> >>
>> >> >>>> >><https://na01.safelinks.protection.outlook.com/?url=http%3
>> >> >>>> A%2F%2Fapache-r
>> >> >>>> >>o
>> >> >>>> >>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Ftabs_2.
>> >> >>>> png&data=02%7C0
>> >> >>>> >>1
>> >> >>>> >>%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4cccd2%7
>> >> >>>> Cfa7b1b5a7b3443
>> >> >>>> >>8
>> >> >>>> >>794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=b03fF
>> >> >>>> YkV9eo903c08FEm
>> >> >>>> >>o
>> >> >>>> >>Y9h5QpDL3oTsfE5Kb14l%2Bs%3D&reserved=0>
>> >> >>>> >>
>> >> >>>> >>Thanks, Piotr
>> >> >>>> >>
>> >> >>>> >>
>> >> >>>> >>
>> >> >>>> >>--
>> >> >>>> >>Sent from:
>> >> >>>> >>https://na01.safelinks.protection.outlook.com/?url=http%3A
>> >> >>>> %2F%2Fapache-ro
>> >> >>>> >>y
>> >> >>>> >>ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%
>> >> >>>> 40adobe.com%
>> >> >>>> >>7
>> >> >>>> >>C6738a7e848f94f4807f908d57a4cccd2%7Cfa7b1b5a7b34438794aed2
>> >> >>>> c178decee1%7C0%
>> >> >>>> >>7
>> >> >>>> >>C0%7C636549392636721475&sdata=aAkqWaUnolHEe1pHN8RXBB%2BV9U
>> >> >>>> g2ZcEIwesdmbYmR
>> >> >>>> >>e
>> >> >>>> >>M%3D&reserved=0
>> >> >>>> >
>> >> >>>>
>> >> >>>>
>> >> >>>
>> >> >>>
>> >> >>> --
>> >> >>>
>> >> >>> Piotr Zarzycki
>> >> >>>
>> >> >>> Patreon:
>> >> >>>*https://na01.safelinks.protection.outlook.com/?url=
>> >> https%3A%2F%2Fwww.pa
>> >> >>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>> >> %7C62158b602d
>> >> >>>d54040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
>> >> cee1%7C0%7C0%7C6365
>> >> >>>49695843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLm
>> >> K0loWJU3zaYr8%3D&rese
>> >> >>>rved=0
>> >> >>>
>> >> >>><https://na01.safelinks.protection.outlook.com/?url=
>> >> https%3A%2F%2Fwww.pa
>> >> >>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>> >> %7C62158b602d
>> >> >>>d54040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
>> >> cee1%7C0%7C0%7C6365
>> >> >>>49695843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLm
>> >> K0loWJU3zaYr8%3D&rese
>> >> >>>rved=0>*
>> >> >>>
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >>
>> >> >> Piotr Zarzycki
>> >> >>
>> >> >> Patreon:
>> >> >>*https://na01.safelinks.protection.outlook.com/?url=
>> >> https%3A%2F%2Fwww.pat
>> >> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>> >> %7C62158b602dd5
>> >> >>4040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
>> >> cee1%7C0%7C0%7C6365496
>> >> >>95843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLm
>> >> K0loWJU3zaYr8%3D&reserved
>> >> >>=0
>> >> >>
>> >> >><https://na01.safelinks.protection.outlook.com/?url=
>> >> https%3A%2F%2Fwww.pat
>> >> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>> >> %7C62158b602dd5
>> >> >>4040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
>> >> cee1%7C0%7C0%7C6365496
>> >> >>95843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLm
>> >> K0loWJU3zaYr8%3D&reserved
>> >> >>=0>*
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> >--
>> >> >
>> >> >Piotr Zarzycki
>> >> >
>> >> >Patreon:
>> >> >*https://na01.safelinks.protection.outlook.com/?url=
>> >> https%3A%2F%2Fwww.patr
>> >> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
>> >> 7C62158b602dd540
>> >> >40909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
>> >> cee1%7C0%7C0%7C6365496958
>> >>
>> >>>43478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLm
>> K0loWJU3zaYr8%3D&reserved=0
>> >> ><https://na01.safelinks.protection.outlook.com/?url=
>> >> https%3A%2F%2Fwww.patr
>> >> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
>> >> 7C62158b602dd540
>> >> >40909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
>> >> cee1%7C0%7C0%7C6365496958
>> >> >43478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLm
>> >> K0loWJU3zaYr8%3D&reserved=0>*
>> >>
>> >>
>> >
>> >
>> >--
>> >
>> >Piotr Zarzycki
>> >
>> >Patreon:
>> >*https://na01.safelinks.protection.outlook.com/?url=
>> https%3A%2F%2Fwww.patr
>> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
>> 7C98a723feb9ae48
>> >b5326108d57a9496c6%7Cfa7b1b5a7b34438794aed2c178de
>> cee1%7C0%7C0%7C6365497009
>> >70908991&sdata=m3Je319Gc8b7R8jAcZk5NWDhnTBtSc
>> oaE4%2BztVHEy1w%3D&reserved=0
>> ><https://na01.safelinks.protection.outlook.com/?url=
>> https%3A%2F%2Fwww.patr
>> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
>> 7C98a723feb9ae48
>> >b5326108d57a9496c6%7Cfa7b1b5a7b34438794aed2c178de
>> cee1%7C0%7C0%7C6365497009
>> >70908991&sdata=m3Je319Gc8b7R8jAcZk5NWDhnTBtSc
>> oaE4%2BztVHEy1w%3D&reserved=0
>> >>*
>>
>>
>
>
>-- 
>
>Piotr Zarzycki
>
>Patreon: 
>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr
>eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C8b5bd49fa34e4e
>9d8e0008d57a9809b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365497157
>79662476&sdata=DAIpJh1JblITY0q52FRAmV3NGXtTSctOj%2BMRMFj4f6s%3D&reserved=0
><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr
>eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C8b5bd49fa34e4e
>9d8e0008d57a9809b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365497157
>79818727&sdata=V7S1zqwu5ixIZxPtlxG52et9NaZt17pkVdcq1AU2QUE%3D&reserved=0>*


Re: Removing the * selector

Posted by Piotr Zarzycki <pi...@gmail.com>.
I think value and ordinal are not changing later. I will try refactor that
class to do not use static instantiation, but it will probably use some
constant, because it have to emulate Enums.

2018-02-23 9:26 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

> Well, in theory yes the compiler needs more work, but I don't think it is
> practical to solve it in the compiler in any reasonable amount of time.  I
> think you'd have to write a code-flow analyzer.  We don't have a
> definitive way of knowing what goog.requires are needed at static
> initialization without a code-flow analysis.  Currently we look for a few
> simple cases.
>
> IMO, we will have to make remove-circulars=false work for more apps, or
> tell people they can't use complex static initialization patterns.
>
> If you want to get past this problem quickly, I would refactor that
> DeptEnum.  I don't get why it is [Bindable].  Do the ordinal and value
> properties change after instantiation?  I didn't look at the other class.
>
> There are a few words about Eclipse and the compiler in the Flex wiki.  I
> didn't read it because I'm short on time so it might be a bit out of date.
>  Once you get Eclipse set up, you can set up run/debug configurations sort
> of like Flash Builder.
>
> HTH,
> -Alex
>
>
>
> On 2/23/18, 12:08 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:
>
> >This is in the compiler right ?
> >
> >2018-02-23 9:06 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >
> >> Feel free to dig in and fix it.
> >>
> >> On 2/22/18, 11:59 PM, "Piotr Zarzycki" <pi...@gmail.com>
> >>wrote:
> >>
> >> >Your changes related to circulars helped with static Binding, but
> >>there is
> >> >still some problems with that class [1]. I've updated example with you
> >> >newest changes [2]. Take a look into the console. [2]
> >> >
> >> >[1]
> >> >https://na01.safelinks.protection.outlook.com/?url=
> >> https%3A%2F%2Fgoo.gl%2F
> >> >Y9YuuJ&data=02%7C01%7Caharui%40adobe.com%
> 7C62158b602dd54040909f08d57a93
> >> 65d
> >> >8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >> 7C636549695843478010&sdata=Kh
> >> >eqXXmbDrdqvRi7v8cIkTEfg4BY0kJE%2BXrZSsImevs%3D&reserved=0
> >> >[2]
> >> >https://na01.safelinks.protection.outlook.com/?url=
> >> https%3A%2F%2Ftranspile
> >> >dactionscript.com%2Fdev%2Fexamples%2FPureMVCEmployeeAdminBasic%
> >> 2F&data=02%
> >> >7C01%7Caharui%40adobe.com%7C62158b602dd54040909f08d57a93
> >> 65d8%7Cfa7b1b5a7b3
> >> >4438794aed2c178decee1%7C0%7C0%7C636549695843478010&
> >> sdata=mTCYRquSqf9panaDU
> >> >q4bg0PVOXvuqwqBqmLVPM6ryk8%3D&reserved=0
> >> >
> >> >Thanks, Piotr
> >> >
> >> >2018-02-23 8:50 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
> >> >
> >> >> By turning off you mean something like this ? ->
> >> >>
> >> >>https://na01.safelinks.protection.outlook.com/?url=
> >> https%3A%2F%2Fgithub.c
> >>
> >>>>om%2Fapache%2Froyale-asjs%2Fcommit%2F&data=02%7C01%7Caharui%
> 40adobe.com
> >> %7
> >> >>C62158b602dd54040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
> >> cee1%7C0%
> >> >>7C0%7C636549695843478010&sdata=vMaiIEtYKh7AluLq3dpGg4nJ4VxyHH
> >> 5u9ukVETe4wj
> >> >>w%3D&reserved=0
> >> >> 4d298a160aa388eb6306c6f0f80a3269ca240b40
> >> >>
> >> >> 2018-02-23 8:48 GMT+01:00 Piotr Zarzycki <piotrzarzycki21@gmail.com
> >:
> >> >>
> >> >>> I pickup latest build and  MDLTabsExample doesn't look like it
> >>should
> >> >>> be. I would like to understand what I need to do in order to get the
> >> >>>look
> >> >>> back.
> >> >>>
> >> >>> What do you mean by that: " MDL also needed to turn off default
> >>layout
> >> >>> in the Grid."
> >> >>>
> >> >>> I see that you have created that file [1] which simply force usage
> >>of
> >> >>> some fonts for the components, but that's probably not the problem.
> >> >>> Question is do I need to still use that command after your changes?
> >> >>>
> >> >>> -compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css
> >> >>>
> >> >>> [1]
> >>
> >>>>>https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fgithu
> >>>>>b
> >> .
> >> >>>com%2Fapache%2Froyale-asjs%2Fblob%2Fdevelop%2Fframe&data=
> >> 02%7C01%7Caharu
> >> >>>i%40adobe.com%7C62158b602dd54040909f08d57a93
> >> 65d8%7Cfa7b1b5a7b34438794aed
> >> >>>2c178decee1%7C0%7C0%7C636549695843478010&sdata=
> >> mXDFaRhrIaouTe2iBG4OMG6T5
> >> >>>BHsZ3TrRX7wdOZdjHU%3D&reserved=0
> >> >>> works/themes/Basic/basic.css
> >> >>>
> >> >>> Thanks, Piotr
> >> >>>
> >> >>>
> >> >>> 2018-02-23 3:19 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >> >>>
> >> >>>> I moved more styles from the framework to the theme to deal with
> >>the
> >> >>>> wrong
> >> >>>> layout in MDLTabsExample.
> >> >>>>
> >> >>>> MDL also needed to turn off default layout in the Grid.
> >> >>>>
> >> >>>> The data binding static variable issue turned out to be the
> >> >>>> remove-circulars code which is now on by default.  I fixed that as
> >> >>>>well.
> >> >>>>
> >> >>>> Thanks for reporting these issues.
> >> >>>> -Alex
> >> >>>>
> >> >>>> On 2/22/18, 3:40 PM, "Alex Harui" <ah...@adobe.com.INVALID>
> wrote:
> >> >>>>
> >> >>>> >Isn't that a different problem?  I thought you were having
> >>problems
> >> >>>> >getting a dataProvider assigned?
> >> >>>> >
> >> >>>> >-Alex
> >> >>>> >
> >> >>>> >On 2/22/18, 3:34 PM, "piotrz" <pi...@apache.org> wrote:
> >> >>>> >
> >> >>>> >>I'm building them using JSonly Royale and Moonshine. Tomorrow my
> >> >>>>time I
> >> >>>> >>will
> >> >>>> >>try Maven build.
> >> >>>> >>
> >> >>>> >>If I have this:
> >> >>>> >>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css
> >> >>>>Example
> >> >>>> >>looks
> >> >>>> >>like that:
> >> >>>> >>
> >> >>>> >><https://na01.safelinks.protection.outlook.com/?url=http%3
> >> >>>> A%2F%2Fapache-r
> >> >>>> >>o
> >> >>>> >>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fmdl_tab
> >> >>>> s_1.png&data=02
> >> >>>> >>%
> >> >>>> >>7C01%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4ccc
> >> >>>> d2%7Cfa7b1b5a7b
> >> >>>> >>3
> >> >>>> >>4438794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=M
> >> >>>> c8qtEBLO1%2FhT4
> >> >>>> >>U
> >> >>>> >>P%2FBhKlpgH9r8HwU52TNDCY6Kjw2I%3D&reserved=0>
> >> >>>> >>
> >> >>>> >>If remove this:
> >> >>>> >>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css
> >>looks
> >> >>>> like
> >> >>>> >>that:
> >> >>>> >>
> >> >>>> >><https://na01.safelinks.protection.outlook.com/?url=http%3
> >> >>>> A%2F%2Fapache-r
> >> >>>> >>o
> >> >>>> >>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Ftabs_2.
> >> >>>> png&data=02%7C0
> >> >>>> >>1
> >> >>>> >>%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4cccd2%7
> >> >>>> Cfa7b1b5a7b3443
> >> >>>> >>8
> >> >>>> >>794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=b03fF
> >> >>>> YkV9eo903c08FEm
> >> >>>> >>o
> >> >>>> >>Y9h5QpDL3oTsfE5Kb14l%2Bs%3D&reserved=0>
> >> >>>> >>
> >> >>>> >>Thanks, Piotr
> >> >>>> >>
> >> >>>> >>
> >> >>>> >>
> >> >>>> >>--
> >> >>>> >>Sent from:
> >> >>>> >>https://na01.safelinks.protection.outlook.com/?url=http%3A
> >> >>>> %2F%2Fapache-ro
> >> >>>> >>y
> >> >>>> >>ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%
> >> >>>> 40adobe.com%
> >> >>>> >>7
> >> >>>> >>C6738a7e848f94f4807f908d57a4cccd2%7Cfa7b1b5a7b34438794aed2
> >> >>>> c178decee1%7C0%
> >> >>>> >>7
> >> >>>> >>C0%7C636549392636721475&sdata=aAkqWaUnolHEe1pHN8RXBB%2BV9U
> >> >>>> g2ZcEIwesdmbYmR
> >> >>>> >>e
> >> >>>> >>M%3D&reserved=0
> >> >>>> >
> >> >>>>
> >> >>>>
> >> >>>
> >> >>>
> >> >>> --
> >> >>>
> >> >>> Piotr Zarzycki
> >> >>>
> >> >>> Patreon:
> >> >>>*https://na01.safelinks.protection.outlook.com/?url=
> >> https%3A%2F%2Fwww.pa
> >> >>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
> >> %7C62158b602d
> >> >>>d54040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
> >> cee1%7C0%7C0%7C6365
> >> >>>49695843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLm
> >> K0loWJU3zaYr8%3D&rese
> >> >>>rved=0
> >> >>>
> >> >>><https://na01.safelinks.protection.outlook.com/?url=
> >> https%3A%2F%2Fwww.pa
> >> >>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
> >> %7C62158b602d
> >> >>>d54040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
> >> cee1%7C0%7C0%7C6365
> >> >>>49695843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLm
> >> K0loWJU3zaYr8%3D&rese
> >> >>>rved=0>*
> >> >>>
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >>
> >> >> Piotr Zarzycki
> >> >>
> >> >> Patreon:
> >> >>*https://na01.safelinks.protection.outlook.com/?url=
> >> https%3A%2F%2Fwww.pat
> >> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
> >> %7C62158b602dd5
> >> >>4040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
> >> cee1%7C0%7C0%7C6365496
> >> >>95843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLm
> >> K0loWJU3zaYr8%3D&reserved
> >> >>=0
> >> >>
> >> >><https://na01.safelinks.protection.outlook.com/?url=
> >> https%3A%2F%2Fwww.pat
> >> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
> >> %7C62158b602dd5
> >> >>4040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
> >> cee1%7C0%7C0%7C6365496
> >> >>95843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLm
> >> K0loWJU3zaYr8%3D&reserved
> >> >>=0>*
> >> >>
> >> >
> >> >
> >> >
> >> >--
> >> >
> >> >Piotr Zarzycki
> >> >
> >> >Patreon:
> >> >*https://na01.safelinks.protection.outlook.com/?url=
> >> https%3A%2F%2Fwww.patr
> >> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
> >> 7C62158b602dd540
> >> >40909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
> >> cee1%7C0%7C0%7C6365496958
> >>
> >>>43478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLm
> K0loWJU3zaYr8%3D&reserved=0
> >> ><https://na01.safelinks.protection.outlook.com/?url=
> >> https%3A%2F%2Fwww.patr
> >> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
> >> 7C62158b602dd540
> >> >40909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
> >> cee1%7C0%7C0%7C6365496958
> >> >43478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLm
> >> K0loWJU3zaYr8%3D&reserved=0>*
> >>
> >>
> >
> >
> >--
> >
> >Piotr Zarzycki
> >
> >Patreon:
> >*https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.patr
> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
> 7C98a723feb9ae48
> >b5326108d57a9496c6%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6365497009
> >70908991&sdata=m3Je319Gc8b7R8jAcZk5NWDhnTBtSc
> oaE4%2BztVHEy1w%3D&reserved=0
> ><https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.patr
> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
> 7C98a723feb9ae48
> >b5326108d57a9496c6%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6365497009
> >70908991&sdata=m3Je319Gc8b7R8jAcZk5NWDhnTBtSc
> oaE4%2BztVHEy1w%3D&reserved=0
> >>*
>
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Removing the * selector

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Well, in theory yes the compiler needs more work, but I don't think it is
practical to solve it in the compiler in any reasonable amount of time.  I
think you'd have to write a code-flow analyzer.  We don't have a
definitive way of knowing what goog.requires are needed at static
initialization without a code-flow analysis.  Currently we look for a few
simple cases.

IMO, we will have to make remove-circulars=false work for more apps, or
tell people they can't use complex static initialization patterns.

If you want to get past this problem quickly, I would refactor that
DeptEnum.  I don't get why it is [Bindable].  Do the ordinal and value
properties change after instantiation?  I didn't look at the other class.

There are a few words about Eclipse and the compiler in the Flex wiki.  I
didn't read it because I'm short on time so it might be a bit out of date.
 Once you get Eclipse set up, you can set up run/debug configurations sort
of like Flash Builder.

HTH,
-Alex



On 2/23/18, 12:08 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:

>This is in the compiler right ?
>
>2018-02-23 9:06 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>
>> Feel free to dig in and fix it.
>>
>> On 2/22/18, 11:59 PM, "Piotr Zarzycki" <pi...@gmail.com>
>>wrote:
>>
>> >Your changes related to circulars helped with static Binding, but
>>there is
>> >still some problems with that class [1]. I've updated example with you
>> >newest changes [2]. Take a look into the console. [2]
>> >
>> >[1]
>> >https://na01.safelinks.protection.outlook.com/?url=
>> https%3A%2F%2Fgoo.gl%2F
>> >Y9YuuJ&data=02%7C01%7Caharui%40adobe.com%7C62158b602dd54040909f08d57a93
>> 65d
>> >8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>> 7C636549695843478010&sdata=Kh
>> >eqXXmbDrdqvRi7v8cIkTEfg4BY0kJE%2BXrZSsImevs%3D&reserved=0
>> >[2]
>> >https://na01.safelinks.protection.outlook.com/?url=
>> https%3A%2F%2Ftranspile
>> >dactionscript.com%2Fdev%2Fexamples%2FPureMVCEmployeeAdminBasic%
>> 2F&data=02%
>> >7C01%7Caharui%40adobe.com%7C62158b602dd54040909f08d57a93
>> 65d8%7Cfa7b1b5a7b3
>> >4438794aed2c178decee1%7C0%7C0%7C636549695843478010&
>> sdata=mTCYRquSqf9panaDU
>> >q4bg0PVOXvuqwqBqmLVPM6ryk8%3D&reserved=0
>> >
>> >Thanks, Piotr
>> >
>> >2018-02-23 8:50 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>> >
>> >> By turning off you mean something like this ? ->
>> >>
>> >>https://na01.safelinks.protection.outlook.com/?url=
>> https%3A%2F%2Fgithub.c
>> 
>>>>om%2Fapache%2Froyale-asjs%2Fcommit%2F&data=02%7C01%7Caharui%40adobe.com
>> %7
>> >>C62158b602dd54040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
>> cee1%7C0%
>> >>7C0%7C636549695843478010&sdata=vMaiIEtYKh7AluLq3dpGg4nJ4VxyHH
>> 5u9ukVETe4wj
>> >>w%3D&reserved=0
>> >> 4d298a160aa388eb6306c6f0f80a3269ca240b40
>> >>
>> >> 2018-02-23 8:48 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>> >>
>> >>> I pickup latest build and  MDLTabsExample doesn't look like it
>>should
>> >>> be. I would like to understand what I need to do in order to get the
>> >>>look
>> >>> back.
>> >>>
>> >>> What do you mean by that: " MDL also needed to turn off default
>>layout
>> >>> in the Grid."
>> >>>
>> >>> I see that you have created that file [1] which simply force usage
>>of
>> >>> some fonts for the components, but that's probably not the problem.
>> >>> Question is do I need to still use that command after your changes?
>> >>>
>> >>> -compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css
>> >>>
>> >>> [1]
>> 
>>>>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithu
>>>>>b
>> .
>> >>>com%2Fapache%2Froyale-asjs%2Fblob%2Fdevelop%2Fframe&data=
>> 02%7C01%7Caharu
>> >>>i%40adobe.com%7C62158b602dd54040909f08d57a93
>> 65d8%7Cfa7b1b5a7b34438794aed
>> >>>2c178decee1%7C0%7C0%7C636549695843478010&sdata=
>> mXDFaRhrIaouTe2iBG4OMG6T5
>> >>>BHsZ3TrRX7wdOZdjHU%3D&reserved=0
>> >>> works/themes/Basic/basic.css
>> >>>
>> >>> Thanks, Piotr
>> >>>
>> >>>
>> >>> 2018-02-23 3:19 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>> >>>
>> >>>> I moved more styles from the framework to the theme to deal with
>>the
>> >>>> wrong
>> >>>> layout in MDLTabsExample.
>> >>>>
>> >>>> MDL also needed to turn off default layout in the Grid.
>> >>>>
>> >>>> The data binding static variable issue turned out to be the
>> >>>> remove-circulars code which is now on by default.  I fixed that as
>> >>>>well.
>> >>>>
>> >>>> Thanks for reporting these issues.
>> >>>> -Alex
>> >>>>
>> >>>> On 2/22/18, 3:40 PM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
>> >>>>
>> >>>> >Isn't that a different problem?  I thought you were having
>>problems
>> >>>> >getting a dataProvider assigned?
>> >>>> >
>> >>>> >-Alex
>> >>>> >
>> >>>> >On 2/22/18, 3:34 PM, "piotrz" <pi...@apache.org> wrote:
>> >>>> >
>> >>>> >>I'm building them using JSonly Royale and Moonshine. Tomorrow my
>> >>>>time I
>> >>>> >>will
>> >>>> >>try Maven build.
>> >>>> >>
>> >>>> >>If I have this:
>> >>>> >>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css
>> >>>>Example
>> >>>> >>looks
>> >>>> >>like that:
>> >>>> >>
>> >>>> >><https://na01.safelinks.protection.outlook.com/?url=http%3
>> >>>> A%2F%2Fapache-r
>> >>>> >>o
>> >>>> >>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fmdl_tab
>> >>>> s_1.png&data=02
>> >>>> >>%
>> >>>> >>7C01%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4ccc
>> >>>> d2%7Cfa7b1b5a7b
>> >>>> >>3
>> >>>> >>4438794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=M
>> >>>> c8qtEBLO1%2FhT4
>> >>>> >>U
>> >>>> >>P%2FBhKlpgH9r8HwU52TNDCY6Kjw2I%3D&reserved=0>
>> >>>> >>
>> >>>> >>If remove this:
>> >>>> >>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css
>>looks
>> >>>> like
>> >>>> >>that:
>> >>>> >>
>> >>>> >><https://na01.safelinks.protection.outlook.com/?url=http%3
>> >>>> A%2F%2Fapache-r
>> >>>> >>o
>> >>>> >>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Ftabs_2.
>> >>>> png&data=02%7C0
>> >>>> >>1
>> >>>> >>%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4cccd2%7
>> >>>> Cfa7b1b5a7b3443
>> >>>> >>8
>> >>>> >>794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=b03fF
>> >>>> YkV9eo903c08FEm
>> >>>> >>o
>> >>>> >>Y9h5QpDL3oTsfE5Kb14l%2Bs%3D&reserved=0>
>> >>>> >>
>> >>>> >>Thanks, Piotr
>> >>>> >>
>> >>>> >>
>> >>>> >>
>> >>>> >>--
>> >>>> >>Sent from:
>> >>>> >>https://na01.safelinks.protection.outlook.com/?url=http%3A
>> >>>> %2F%2Fapache-ro
>> >>>> >>y
>> >>>> >>ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%
>> >>>> 40adobe.com%
>> >>>> >>7
>> >>>> >>C6738a7e848f94f4807f908d57a4cccd2%7Cfa7b1b5a7b34438794aed2
>> >>>> c178decee1%7C0%
>> >>>> >>7
>> >>>> >>C0%7C636549392636721475&sdata=aAkqWaUnolHEe1pHN8RXBB%2BV9U
>> >>>> g2ZcEIwesdmbYmR
>> >>>> >>e
>> >>>> >>M%3D&reserved=0
>> >>>> >
>> >>>>
>> >>>>
>> >>>
>> >>>
>> >>> --
>> >>>
>> >>> Piotr Zarzycki
>> >>>
>> >>> Patreon:
>> >>>*https://na01.safelinks.protection.outlook.com/?url=
>> https%3A%2F%2Fwww.pa
>> >>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>> %7C62158b602d
>> >>>d54040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
>> cee1%7C0%7C0%7C6365
>> >>>49695843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLm
>> K0loWJU3zaYr8%3D&rese
>> >>>rved=0
>> >>>
>> >>><https://na01.safelinks.protection.outlook.com/?url=
>> https%3A%2F%2Fwww.pa
>> >>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>> %7C62158b602d
>> >>>d54040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
>> cee1%7C0%7C0%7C6365
>> >>>49695843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLm
>> K0loWJU3zaYr8%3D&rese
>> >>>rved=0>*
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >>
>> >> Piotr Zarzycki
>> >>
>> >> Patreon:
>> >>*https://na01.safelinks.protection.outlook.com/?url=
>> https%3A%2F%2Fwww.pat
>> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>> %7C62158b602dd5
>> >>4040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
>> cee1%7C0%7C0%7C6365496
>> >>95843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLm
>> K0loWJU3zaYr8%3D&reserved
>> >>=0
>> >>
>> >><https://na01.safelinks.protection.outlook.com/?url=
>> https%3A%2F%2Fwww.pat
>> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>> %7C62158b602dd5
>> >>4040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
>> cee1%7C0%7C0%7C6365496
>> >>95843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLm
>> K0loWJU3zaYr8%3D&reserved
>> >>=0>*
>> >>
>> >
>> >
>> >
>> >--
>> >
>> >Piotr Zarzycki
>> >
>> >Patreon:
>> >*https://na01.safelinks.protection.outlook.com/?url=
>> https%3A%2F%2Fwww.patr
>> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
>> 7C62158b602dd540
>> >40909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
>> cee1%7C0%7C0%7C6365496958
>> 
>>>43478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLmK0loWJU3zaYr8%3D&reserved=0
>> ><https://na01.safelinks.protection.outlook.com/?url=
>> https%3A%2F%2Fwww.patr
>> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
>> 7C62158b602dd540
>> >40909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
>> cee1%7C0%7C0%7C6365496958
>> >43478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLm
>> K0loWJU3zaYr8%3D&reserved=0>*
>>
>>
>
>
>-- 
>
>Piotr Zarzycki
>
>Patreon: 
>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr
>eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C98a723feb9ae48
>b5326108d57a9496c6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365497009
>70908991&sdata=m3Je319Gc8b7R8jAcZk5NWDhnTBtScoaE4%2BztVHEy1w%3D&reserved=0
><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr
>eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C98a723feb9ae48
>b5326108d57a9496c6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365497009
>70908991&sdata=m3Je319Gc8b7R8jAcZk5NWDhnTBtScoaE4%2BztVHEy1w%3D&reserved=0
>>*


Re: Removing the * selector

Posted by Gabe Harbs <ha...@gmail.com>.
Here’s a first stab at that:
https://github.com/apache/royale-compiler/wiki/Eclipse-Setup <https://github.com/apache/royale-compiler/wiki/Eclipse-Setup>

> On Feb 23, 2018, at 10:11 AM, Piotr Zarzycki <pi...@gmail.com> wrote:
> 
> Can you please describe how to setup debugger for Royale compiler on the
> Wiki?


Re: Removing the * selector

Posted by Piotr Zarzycki <pi...@gmail.com>.
Because I see that we are missing in the file:
->goog.require('org.apache.royale.events.ValueChangeEvent');

That's why I'm assuming this is a problem, so wonted to debug it somehow.



2018-02-23 9:11 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

> Alex,
>
> Can you please describe how to setup debugger for Royale compiler on the
> Wiki? I would like to setup it for me. This is probably issue in
> RoyaleEmitter
> <https://github.com/apache/royale-compiler/commit/f19695e82189495fd89b798bf5b3cde70f0b4fb7#diff-faacb03e58bca96a9b657f81cd9c4647>
> .
>
>
>
> 2018-02-23 9:08 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
>> This is in the compiler right ?
>>
>> 2018-02-23 9:06 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>>
>>> Feel free to dig in and fix it.
>>>
>>> On 2/22/18, 11:59 PM, "Piotr Zarzycki" <pi...@gmail.com>
>>> wrote:
>>>
>>> >Your changes related to circulars helped with static Binding, but there
>>> is
>>> >still some problems with that class [1]. I've updated example with you
>>> >newest changes [2]. Take a look into the console. [2]
>>> >
>>> >[1]
>>> >https://na01.safelinks.protection.outlook.com/?url=https%3A
>>> %2F%2Fgoo.gl%2F
>>> >Y9YuuJ&data=02%7C01%7Caharui%40adobe.com%7C62158b602dd54040
>>> 909f08d57a9365d
>>> >8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549695843
>>> 478010&sdata=Kh
>>> >eqXXmbDrdqvRi7v8cIkTEfg4BY0kJE%2BXrZSsImevs%3D&reserved=0
>>> >[2]
>>> >https://na01.safelinks.protection.outlook.com/?url=https%3A
>>> %2F%2Ftranspile
>>> >dactionscript.com%2Fdev%2Fexamples%2FPureMVCEmployeeAdminBa
>>> sic%2F&data=02%
>>> >7C01%7Caharui%40adobe.com%7C62158b602dd54040909f08d57a9365d
>>> 8%7Cfa7b1b5a7b3
>>> >4438794aed2c178decee1%7C0%7C0%7C636549695843478010&sdata=mT
>>> CYRquSqf9panaDU
>>> >q4bg0PVOXvuqwqBqmLVPM6ryk8%3D&reserved=0
>>> >
>>> >Thanks, Piotr
>>> >
>>> >2018-02-23 8:50 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>>> >
>>> >> By turning off you mean something like this ? ->
>>> >>
>>> >>https://na01.safelinks.protection.outlook.com/?url=https%3
>>> A%2F%2Fgithub.c
>>> >>om%2Fapache%2Froyale-asjs%2Fcommit%2F&data=02%7C01%7Caharui%
>>> 40adobe.com%7
>>> >>C62158b602dd54040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2
>>> c178decee1%7C0%
>>> >>7C0%7C636549695843478010&sdata=vMaiIEtYKh7AluLq3dpGg4nJ4Vx
>>> yHH5u9ukVETe4wj
>>> >>w%3D&reserved=0
>>> >> 4d298a160aa388eb6306c6f0f80a3269ca240b40
>>> >>
>>> >> 2018-02-23 8:48 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>>> >>
>>> >>> I pickup latest build and  MDLTabsExample doesn't look like it should
>>> >>> be. I would like to understand what I need to do in order to get the
>>> >>>look
>>> >>> back.
>>> >>>
>>> >>> What do you mean by that: " MDL also needed to turn off default
>>> layout
>>> >>> in the Grid."
>>> >>>
>>> >>> I see that you have created that file [1] which simply force usage of
>>> >>> some fonts for the components, but that's probably not the problem.
>>> >>> Question is do I need to still use that command after your changes?
>>> >>>
>>> >>> -compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css
>>> >>>
>>> >>> [1]
>>> >>>https://na01.safelinks.protection.outlook.com/?url=https%
>>> 3A%2F%2Fgithub.
>>> >>>com%2Fapache%2Froyale-asjs%2Fblob%2Fdevelop%2Fframe&data=
>>> 02%7C01%7Caharu
>>> >>>i%40adobe.com%7C62158b602dd54040909f08d57a9365d8%7Cfa7b1b
>>> 5a7b34438794aed
>>> >>>2c178decee1%7C0%7C0%7C636549695843478010&sdata=mXDFaRhrIa
>>> ouTe2iBG4OMG6T5
>>> >>>BHsZ3TrRX7wdOZdjHU%3D&reserved=0
>>> >>> works/themes/Basic/basic.css
>>> >>>
>>> >>> Thanks, Piotr
>>> >>>
>>> >>>
>>> >>> 2018-02-23 3:19 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>>> >>>
>>> >>>> I moved more styles from the framework to the theme to deal with the
>>> >>>> wrong
>>> >>>> layout in MDLTabsExample.
>>> >>>>
>>> >>>> MDL also needed to turn off default layout in the Grid.
>>> >>>>
>>> >>>> The data binding static variable issue turned out to be the
>>> >>>> remove-circulars code which is now on by default.  I fixed that as
>>> >>>>well.
>>> >>>>
>>> >>>> Thanks for reporting these issues.
>>> >>>> -Alex
>>> >>>>
>>> >>>> On 2/22/18, 3:40 PM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
>>> >>>>
>>> >>>> >Isn't that a different problem?  I thought you were having problems
>>> >>>> >getting a dataProvider assigned?
>>> >>>> >
>>> >>>> >-Alex
>>> >>>> >
>>> >>>> >On 2/22/18, 3:34 PM, "piotrz" <pi...@apache.org> wrote:
>>> >>>> >
>>> >>>> >>I'm building them using JSonly Royale and Moonshine. Tomorrow my
>>> >>>>time I
>>> >>>> >>will
>>> >>>> >>try Maven build.
>>> >>>> >>
>>> >>>> >>If I have this:
>>> >>>> >>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css
>>> >>>>Example
>>> >>>> >>looks
>>> >>>> >>like that:
>>> >>>> >>
>>> >>>> >><https://na01.safelinks.protection.outlook.com/?url=http%3
>>> >>>> A%2F%2Fapache-r
>>> >>>> >>o
>>> >>>> >>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fmdl_tab
>>> >>>> s_1.png&data=02
>>> >>>> >>%
>>> >>>> >>7C01%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4ccc
>>> >>>> d2%7Cfa7b1b5a7b
>>> >>>> >>3
>>> >>>> >>4438794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=M
>>> >>>> c8qtEBLO1%2FhT4
>>> >>>> >>U
>>> >>>> >>P%2FBhKlpgH9r8HwU52TNDCY6Kjw2I%3D&reserved=0>
>>> >>>> >>
>>> >>>> >>If remove this:
>>> >>>> >>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css
>>> looks
>>> >>>> like
>>> >>>> >>that:
>>> >>>> >>
>>> >>>> >><https://na01.safelinks.protection.outlook.com/?url=http%3
>>> >>>> A%2F%2Fapache-r
>>> >>>> >>o
>>> >>>> >>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Ftabs_2.
>>> >>>> png&data=02%7C0
>>> >>>> >>1
>>> >>>> >>%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4cccd2%7
>>> >>>> Cfa7b1b5a7b3443
>>> >>>> >>8
>>> >>>> >>794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=b03fF
>>> >>>> YkV9eo903c08FEm
>>> >>>> >>o
>>> >>>> >>Y9h5QpDL3oTsfE5Kb14l%2Bs%3D&reserved=0>
>>> >>>> >>
>>> >>>> >>Thanks, Piotr
>>> >>>> >>
>>> >>>> >>
>>> >>>> >>
>>> >>>> >>--
>>> >>>> >>Sent from:
>>> >>>> >>https://na01.safelinks.protection.outlook.com/?url=http%3A
>>> >>>> %2F%2Fapache-ro
>>> >>>> >>y
>>> >>>> >>ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%
>>> >>>> 40adobe.com%
>>> >>>> >>7
>>> >>>> >>C6738a7e848f94f4807f908d57a4cccd2%7Cfa7b1b5a7b34438794aed2
>>> >>>> c178decee1%7C0%
>>> >>>> >>7
>>> >>>> >>C0%7C636549392636721475&sdata=aAkqWaUnolHEe1pHN8RXBB%2BV9U
>>> >>>> g2ZcEIwesdmbYmR
>>> >>>> >>e
>>> >>>> >>M%3D&reserved=0
>>> >>>> >
>>> >>>>
>>> >>>>
>>> >>>
>>> >>>
>>> >>> --
>>> >>>
>>> >>> Piotr Zarzycki
>>> >>>
>>> >>> Patreon:
>>> >>>*https://na01.safelinks.protection.outlook.com/?url=https
>>> %3A%2F%2Fwww.pa
>>> >>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>>> %7C62158b602d
>>> >>>d54040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178decee1
>>> %7C0%7C0%7C6365
>>> >>>49695843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLmK0loWJ
>>> U3zaYr8%3D&rese
>>> >>>rved=0
>>> >>>
>>> >>><https://na01.safelinks.protection.outlook.com/?url=https
>>> %3A%2F%2Fwww.pa
>>> >>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>>> %7C62158b602d
>>> >>>d54040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178decee1
>>> %7C0%7C0%7C6365
>>> >>>49695843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLmK0loWJ
>>> U3zaYr8%3D&rese
>>> >>>rved=0>*
>>> >>>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >>
>>> >> Piotr Zarzycki
>>> >>
>>> >> Patreon:
>>> >>*https://na01.safelinks.protection.outlook.com/?url=https%
>>> 3A%2F%2Fwww.pat
>>> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>>> %7C62158b602dd5
>>> >>4040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178decee1%7C
>>> 0%7C0%7C6365496
>>> >>95843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLmK0loWJU3za
>>> Yr8%3D&reserved
>>> >>=0
>>> >>
>>> >><https://na01.safelinks.protection.outlook.com/?url=https%
>>> 3A%2F%2Fwww.pat
>>> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>>> %7C62158b602dd5
>>> >>4040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178decee1%7C
>>> 0%7C0%7C6365496
>>> >>95843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLmK0loWJU3za
>>> Yr8%3D&reserved
>>> >>=0>*
>>> >>
>>> >
>>> >
>>> >
>>> >--
>>> >
>>> >Piotr Zarzycki
>>> >
>>> >Patreon:
>>> >*https://na01.safelinks.protection.outlook.com/?url=https%3
>>> A%2F%2Fwww.patr
>>> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7
>>> C62158b602dd540
>>> >40909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7
>>> C0%7C6365496958
>>> >43478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLmK0loWJU3zaYr8%
>>> 3D&reserved=0
>>> ><https://na01.safelinks.protection.outlook.com/?url=https%3
>>> A%2F%2Fwww.patr
>>> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7
>>> C62158b602dd540
>>> >40909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7
>>> C0%7C6365496958
>>> >43478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLmK0loWJU3zaYr8%
>>> 3D&reserved=0>*
>>>
>>>
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Removing the * selector

Posted by Piotr Zarzycki <pi...@gmail.com>.
Alex,

Can you please describe how to setup debugger for Royale compiler on the
Wiki? I would like to setup it for me. This is probably issue in
RoyaleEmitter
<https://github.com/apache/royale-compiler/commit/f19695e82189495fd89b798bf5b3cde70f0b4fb7#diff-faacb03e58bca96a9b657f81cd9c4647>
.



2018-02-23 9:08 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

> This is in the compiler right ?
>
> 2018-02-23 9:06 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>
>> Feel free to dig in and fix it.
>>
>> On 2/22/18, 11:59 PM, "Piotr Zarzycki" <pi...@gmail.com> wrote:
>>
>> >Your changes related to circulars helped with static Binding, but there
>> is
>> >still some problems with that class [1]. I've updated example with you
>> >newest changes [2]. Take a look into the console. [2]
>> >
>> >[1]
>> >https://na01.safelinks.protection.outlook.com/?url=https%
>> 3A%2F%2Fgoo.gl%2F
>> >Y9YuuJ&data=02%7C01%7Caharui%40adobe.com%7C62158b602dd54040
>> 909f08d57a9365d
>> >8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549695843
>> 478010&sdata=Kh
>> >eqXXmbDrdqvRi7v8cIkTEfg4BY0kJE%2BXrZSsImevs%3D&reserved=0
>> >[2]
>> >https://na01.safelinks.protection.outlook.com/?url=https%
>> 3A%2F%2Ftranspile
>> >dactionscript.com%2Fdev%2Fexamples%2FPureMVCEmployeeAdminBa
>> sic%2F&data=02%
>> >7C01%7Caharui%40adobe.com%7C62158b602dd54040909f08d57a9365d
>> 8%7Cfa7b1b5a7b3
>> >4438794aed2c178decee1%7C0%7C0%7C636549695843478010&sdata=
>> mTCYRquSqf9panaDU
>> >q4bg0PVOXvuqwqBqmLVPM6ryk8%3D&reserved=0
>> >
>> >Thanks, Piotr
>> >
>> >2018-02-23 8:50 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>> >
>> >> By turning off you mean something like this ? ->
>> >>
>> >>https://na01.safelinks.protection.outlook.com/?url=https%
>> 3A%2F%2Fgithub.c
>> >>om%2Fapache%2Froyale-asjs%2Fcommit%2F&data=02%7C01%7Caharui%40adobe.com
>> %7
>> >>C62158b602dd54040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2
>> c178decee1%7C0%
>> >>7C0%7C636549695843478010&sdata=vMaiIEtYKh7AluLq3dpGg4nJ4Vx
>> yHH5u9ukVETe4wj
>> >>w%3D&reserved=0
>> >> 4d298a160aa388eb6306c6f0f80a3269ca240b40
>> >>
>> >> 2018-02-23 8:48 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>> >>
>> >>> I pickup latest build and  MDLTabsExample doesn't look like it should
>> >>> be. I would like to understand what I need to do in order to get the
>> >>>look
>> >>> back.
>> >>>
>> >>> What do you mean by that: " MDL also needed to turn off default layout
>> >>> in the Grid."
>> >>>
>> >>> I see that you have created that file [1] which simply force usage of
>> >>> some fonts for the components, but that's probably not the problem.
>> >>> Question is do I need to still use that command after your changes?
>> >>>
>> >>> -compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css
>> >>>
>> >>> [1]
>> >>>https://na01.safelinks.protection.outlook.com/?url=https%
>> 3A%2F%2Fgithub.
>> >>>com%2Fapache%2Froyale-asjs%2Fblob%2Fdevelop%2Fframe&data=
>> 02%7C01%7Caharu
>> >>>i%40adobe.com%7C62158b602dd54040909f08d57a9365d8%
>> 7Cfa7b1b5a7b34438794aed
>> >>>2c178decee1%7C0%7C0%7C636549695843478010&sdata=mXDFaRhrIa
>> ouTe2iBG4OMG6T5
>> >>>BHsZ3TrRX7wdOZdjHU%3D&reserved=0
>> >>> works/themes/Basic/basic.css
>> >>>
>> >>> Thanks, Piotr
>> >>>
>> >>>
>> >>> 2018-02-23 3:19 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>> >>>
>> >>>> I moved more styles from the framework to the theme to deal with the
>> >>>> wrong
>> >>>> layout in MDLTabsExample.
>> >>>>
>> >>>> MDL also needed to turn off default layout in the Grid.
>> >>>>
>> >>>> The data binding static variable issue turned out to be the
>> >>>> remove-circulars code which is now on by default.  I fixed that as
>> >>>>well.
>> >>>>
>> >>>> Thanks for reporting these issues.
>> >>>> -Alex
>> >>>>
>> >>>> On 2/22/18, 3:40 PM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
>> >>>>
>> >>>> >Isn't that a different problem?  I thought you were having problems
>> >>>> >getting a dataProvider assigned?
>> >>>> >
>> >>>> >-Alex
>> >>>> >
>> >>>> >On 2/22/18, 3:34 PM, "piotrz" <pi...@apache.org> wrote:
>> >>>> >
>> >>>> >>I'm building them using JSonly Royale and Moonshine. Tomorrow my
>> >>>>time I
>> >>>> >>will
>> >>>> >>try Maven build.
>> >>>> >>
>> >>>> >>If I have this:
>> >>>> >>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css
>> >>>>Example
>> >>>> >>looks
>> >>>> >>like that:
>> >>>> >>
>> >>>> >><https://na01.safelinks.protection.outlook.com/?url=http%3
>> >>>> A%2F%2Fapache-r
>> >>>> >>o
>> >>>> >>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fmdl_tab
>> >>>> s_1.png&data=02
>> >>>> >>%
>> >>>> >>7C01%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4ccc
>> >>>> d2%7Cfa7b1b5a7b
>> >>>> >>3
>> >>>> >>4438794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=M
>> >>>> c8qtEBLO1%2FhT4
>> >>>> >>U
>> >>>> >>P%2FBhKlpgH9r8HwU52TNDCY6Kjw2I%3D&reserved=0>
>> >>>> >>
>> >>>> >>If remove this:
>> >>>> >>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css
>> looks
>> >>>> like
>> >>>> >>that:
>> >>>> >>
>> >>>> >><https://na01.safelinks.protection.outlook.com/?url=http%3
>> >>>> A%2F%2Fapache-r
>> >>>> >>o
>> >>>> >>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Ftabs_2.
>> >>>> png&data=02%7C0
>> >>>> >>1
>> >>>> >>%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4cccd2%7
>> >>>> Cfa7b1b5a7b3443
>> >>>> >>8
>> >>>> >>794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=b03fF
>> >>>> YkV9eo903c08FEm
>> >>>> >>o
>> >>>> >>Y9h5QpDL3oTsfE5Kb14l%2Bs%3D&reserved=0>
>> >>>> >>
>> >>>> >>Thanks, Piotr
>> >>>> >>
>> >>>> >>
>> >>>> >>
>> >>>> >>--
>> >>>> >>Sent from:
>> >>>> >>https://na01.safelinks.protection.outlook.com/?url=http%3A
>> >>>> %2F%2Fapache-ro
>> >>>> >>y
>> >>>> >>ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%
>> >>>> 40adobe.com%
>> >>>> >>7
>> >>>> >>C6738a7e848f94f4807f908d57a4cccd2%7Cfa7b1b5a7b34438794aed2
>> >>>> c178decee1%7C0%
>> >>>> >>7
>> >>>> >>C0%7C636549392636721475&sdata=aAkqWaUnolHEe1pHN8RXBB%2BV9U
>> >>>> g2ZcEIwesdmbYmR
>> >>>> >>e
>> >>>> >>M%3D&reserved=0
>> >>>> >
>> >>>>
>> >>>>
>> >>>
>> >>>
>> >>> --
>> >>>
>> >>> Piotr Zarzycki
>> >>>
>> >>> Patreon:
>> >>>*https://na01.safelinks.protection.outlook.com/?url=https
>> %3A%2F%2Fwww.pa
>> >>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>> %7C62158b602d
>> >>>d54040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178decee1
>> %7C0%7C0%7C6365
>> >>>49695843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLmK0loWJ
>> U3zaYr8%3D&rese
>> >>>rved=0
>> >>>
>> >>><https://na01.safelinks.protection.outlook.com/?url=https
>> %3A%2F%2Fwww.pa
>> >>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>> %7C62158b602d
>> >>>d54040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178decee1
>> %7C0%7C0%7C6365
>> >>>49695843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLmK0loWJ
>> U3zaYr8%3D&rese
>> >>>rved=0>*
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >>
>> >> Piotr Zarzycki
>> >>
>> >> Patreon:
>> >>*https://na01.safelinks.protection.outlook.com/?url=https%
>> 3A%2F%2Fwww.pat
>> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>> %7C62158b602dd5
>> >>4040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178decee1%
>> 7C0%7C0%7C6365496
>> >>95843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLmK0loWJU3za
>> Yr8%3D&reserved
>> >>=0
>> >>
>> >><https://na01.safelinks.protection.outlook.com/?url=https%
>> 3A%2F%2Fwww.pat
>> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>> %7C62158b602dd5
>> >>4040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178decee1%
>> 7C0%7C0%7C6365496
>> >>95843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLmK0loWJU3za
>> Yr8%3D&reserved
>> >>=0>*
>> >>
>> >
>> >
>> >
>> >--
>> >
>> >Piotr Zarzycki
>> >
>> >Patreon:
>> >*https://na01.safelinks.protection.outlook.com/?url=https%
>> 3A%2F%2Fwww.patr
>> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7
>> C62158b602dd540
>> >40909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%
>> 7C0%7C6365496958
>> >43478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLmK0loWJU3zaYr8%3D&reserved=0
>> ><https://na01.safelinks.protection.outlook.com/?url=https%
>> 3A%2F%2Fwww.patr
>> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7
>> C62158b602dd540
>> >40909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%
>> 7C0%7C6365496958
>> >43478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLmK0loWJU3zaYr8%
>> 3D&reserved=0>*
>>
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Removing the * selector

Posted by Piotr Zarzycki <pi...@gmail.com>.
This is in the compiler right ?

2018-02-23 9:06 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

> Feel free to dig in and fix it.
>
> On 2/22/18, 11:59 PM, "Piotr Zarzycki" <pi...@gmail.com> wrote:
>
> >Your changes related to circulars helped with static Binding, but there is
> >still some problems with that class [1]. I've updated example with you
> >newest changes [2]. Take a look into the console. [2]
> >
> >[1]
> >https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fgoo.gl%2F
> >Y9YuuJ&data=02%7C01%7Caharui%40adobe.com%7C62158b602dd54040909f08d57a93
> 65d
> >8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C636549695843478010&sdata=Kh
> >eqXXmbDrdqvRi7v8cIkTEfg4BY0kJE%2BXrZSsImevs%3D&reserved=0
> >[2]
> >https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Ftranspile
> >dactionscript.com%2Fdev%2Fexamples%2FPureMVCEmployeeAdminBasic%
> 2F&data=02%
> >7C01%7Caharui%40adobe.com%7C62158b602dd54040909f08d57a93
> 65d8%7Cfa7b1b5a7b3
> >4438794aed2c178decee1%7C0%7C0%7C636549695843478010&
> sdata=mTCYRquSqf9panaDU
> >q4bg0PVOXvuqwqBqmLVPM6ryk8%3D&reserved=0
> >
> >Thanks, Piotr
> >
> >2018-02-23 8:50 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
> >
> >> By turning off you mean something like this ? ->
> >>
> >>https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fgithub.c
> >>om%2Fapache%2Froyale-asjs%2Fcommit%2F&data=02%7C01%7Caharui%40adobe.com
> %7
> >>C62158b602dd54040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%
> >>7C0%7C636549695843478010&sdata=vMaiIEtYKh7AluLq3dpGg4nJ4VxyHH
> 5u9ukVETe4wj
> >>w%3D&reserved=0
> >> 4d298a160aa388eb6306c6f0f80a3269ca240b40
> >>
> >> 2018-02-23 8:48 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
> >>
> >>> I pickup latest build and  MDLTabsExample doesn't look like it should
> >>> be. I would like to understand what I need to do in order to get the
> >>>look
> >>> back.
> >>>
> >>> What do you mean by that: " MDL also needed to turn off default layout
> >>> in the Grid."
> >>>
> >>> I see that you have created that file [1] which simply force usage of
> >>> some fonts for the components, but that's probably not the problem.
> >>> Question is do I need to still use that command after your changes?
> >>>
> >>> -compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css
> >>>
> >>> [1]
> >>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub
> .
> >>>com%2Fapache%2Froyale-asjs%2Fblob%2Fdevelop%2Fframe&data=
> 02%7C01%7Caharu
> >>>i%40adobe.com%7C62158b602dd54040909f08d57a93
> 65d8%7Cfa7b1b5a7b34438794aed
> >>>2c178decee1%7C0%7C0%7C636549695843478010&sdata=
> mXDFaRhrIaouTe2iBG4OMG6T5
> >>>BHsZ3TrRX7wdOZdjHU%3D&reserved=0
> >>> works/themes/Basic/basic.css
> >>>
> >>> Thanks, Piotr
> >>>
> >>>
> >>> 2018-02-23 3:19 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >>>
> >>>> I moved more styles from the framework to the theme to deal with the
> >>>> wrong
> >>>> layout in MDLTabsExample.
> >>>>
> >>>> MDL also needed to turn off default layout in the Grid.
> >>>>
> >>>> The data binding static variable issue turned out to be the
> >>>> remove-circulars code which is now on by default.  I fixed that as
> >>>>well.
> >>>>
> >>>> Thanks for reporting these issues.
> >>>> -Alex
> >>>>
> >>>> On 2/22/18, 3:40 PM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
> >>>>
> >>>> >Isn't that a different problem?  I thought you were having problems
> >>>> >getting a dataProvider assigned?
> >>>> >
> >>>> >-Alex
> >>>> >
> >>>> >On 2/22/18, 3:34 PM, "piotrz" <pi...@apache.org> wrote:
> >>>> >
> >>>> >>I'm building them using JSonly Royale and Moonshine. Tomorrow my
> >>>>time I
> >>>> >>will
> >>>> >>try Maven build.
> >>>> >>
> >>>> >>If I have this:
> >>>> >>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css
> >>>>Example
> >>>> >>looks
> >>>> >>like that:
> >>>> >>
> >>>> >><https://na01.safelinks.protection.outlook.com/?url=http%3
> >>>> A%2F%2Fapache-r
> >>>> >>o
> >>>> >>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fmdl_tab
> >>>> s_1.png&data=02
> >>>> >>%
> >>>> >>7C01%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4ccc
> >>>> d2%7Cfa7b1b5a7b
> >>>> >>3
> >>>> >>4438794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=M
> >>>> c8qtEBLO1%2FhT4
> >>>> >>U
> >>>> >>P%2FBhKlpgH9r8HwU52TNDCY6Kjw2I%3D&reserved=0>
> >>>> >>
> >>>> >>If remove this:
> >>>> >>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css looks
> >>>> like
> >>>> >>that:
> >>>> >>
> >>>> >><https://na01.safelinks.protection.outlook.com/?url=http%3
> >>>> A%2F%2Fapache-r
> >>>> >>o
> >>>> >>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Ftabs_2.
> >>>> png&data=02%7C0
> >>>> >>1
> >>>> >>%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4cccd2%7
> >>>> Cfa7b1b5a7b3443
> >>>> >>8
> >>>> >>794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=b03fF
> >>>> YkV9eo903c08FEm
> >>>> >>o
> >>>> >>Y9h5QpDL3oTsfE5Kb14l%2Bs%3D&reserved=0>
> >>>> >>
> >>>> >>Thanks, Piotr
> >>>> >>
> >>>> >>
> >>>> >>
> >>>> >>--
> >>>> >>Sent from:
> >>>> >>https://na01.safelinks.protection.outlook.com/?url=http%3A
> >>>> %2F%2Fapache-ro
> >>>> >>y
> >>>> >>ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%
> >>>> 40adobe.com%
> >>>> >>7
> >>>> >>C6738a7e848f94f4807f908d57a4cccd2%7Cfa7b1b5a7b34438794aed2
> >>>> c178decee1%7C0%
> >>>> >>7
> >>>> >>C0%7C636549392636721475&sdata=aAkqWaUnolHEe1pHN8RXBB%2BV9U
> >>>> g2ZcEIwesdmbYmR
> >>>> >>e
> >>>> >>M%3D&reserved=0
> >>>> >
> >>>>
> >>>>
> >>>
> >>>
> >>> --
> >>>
> >>> Piotr Zarzycki
> >>>
> >>> Patreon:
> >>>*https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.pa
> >>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
> %7C62158b602d
> >>>d54040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6365
> >>>49695843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLm
> K0loWJU3zaYr8%3D&rese
> >>>rved=0
> >>>
> >>><https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.pa
> >>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
> %7C62158b602d
> >>>d54040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6365
> >>>49695843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLm
> K0loWJU3zaYr8%3D&rese
> >>>rved=0>*
> >>>
> >>
> >>
> >>
> >> --
> >>
> >> Piotr Zarzycki
> >>
> >> Patreon:
> >>*https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.pat
> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
> %7C62158b602dd5
> >>4040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6365496
> >>95843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLm
> K0loWJU3zaYr8%3D&reserved
> >>=0
> >>
> >><https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.pat
> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
> %7C62158b602dd5
> >>4040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6365496
> >>95843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLm
> K0loWJU3zaYr8%3D&reserved
> >>=0>*
> >>
> >
> >
> >
> >--
> >
> >Piotr Zarzycki
> >
> >Patreon:
> >*https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.patr
> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
> 7C62158b602dd540
> >40909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6365496958
> >43478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLmK0loWJU3zaYr8%3D&reserved=0
> ><https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.patr
> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
> 7C62158b602dd540
> >40909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6365496958
> >43478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLm
> K0loWJU3zaYr8%3D&reserved=0>*
>
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Removing the * selector

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Feel free to dig in and fix it.

On 2/22/18, 11:59 PM, "Piotr Zarzycki" <pi...@gmail.com> wrote:

>Your changes related to circulars helped with static Binding, but there is
>still some problems with that class [1]. I've updated example with you
>newest changes [2]. Take a look into the console. [2]
>
>[1]  
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgoo.gl%2F
>Y9YuuJ&data=02%7C01%7Caharui%40adobe.com%7C62158b602dd54040909f08d57a9365d
>8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549695843478010&sdata=Kh
>eqXXmbDrdqvRi7v8cIkTEfg4BY0kJE%2BXrZSsImevs%3D&reserved=0
>[2]
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftranspile
>dactionscript.com%2Fdev%2Fexamples%2FPureMVCEmployeeAdminBasic%2F&data=02%
>7C01%7Caharui%40adobe.com%7C62158b602dd54040909f08d57a9365d8%7Cfa7b1b5a7b3
>4438794aed2c178decee1%7C0%7C0%7C636549695843478010&sdata=mTCYRquSqf9panaDU
>q4bg0PVOXvuqwqBqmLVPM6ryk8%3D&reserved=0
>
>Thanks, Piotr
>
>2018-02-23 8:50 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
>> By turning off you mean something like this ? ->
>> 
>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.c
>>om%2Fapache%2Froyale-asjs%2Fcommit%2F&data=02%7C01%7Caharui%40adobe.com%7
>>C62158b602dd54040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%
>>7C0%7C636549695843478010&sdata=vMaiIEtYKh7AluLq3dpGg4nJ4VxyHH5u9ukVETe4wj
>>w%3D&reserved=0
>> 4d298a160aa388eb6306c6f0f80a3269ca240b40
>>
>> 2018-02-23 8:48 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>>
>>> I pickup latest build and  MDLTabsExample doesn't look like it should
>>> be. I would like to understand what I need to do in order to get the
>>>look
>>> back.
>>>
>>> What do you mean by that: " MDL also needed to turn off default layout
>>> in the Grid."
>>>
>>> I see that you have created that file [1] which simply force usage of
>>> some fonts for the components, but that's probably not the problem.
>>> Question is do I need to still use that command after your changes?
>>>
>>> -compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css
>>>
>>> [1] 
>>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.
>>>com%2Fapache%2Froyale-asjs%2Fblob%2Fdevelop%2Fframe&data=02%7C01%7Caharu
>>>i%40adobe.com%7C62158b602dd54040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed
>>>2c178decee1%7C0%7C0%7C636549695843478010&sdata=mXDFaRhrIaouTe2iBG4OMG6T5
>>>BHsZ3TrRX7wdOZdjHU%3D&reserved=0
>>> works/themes/Basic/basic.css
>>>
>>> Thanks, Piotr
>>>
>>>
>>> 2018-02-23 3:19 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>>>
>>>> I moved more styles from the framework to the theme to deal with the
>>>> wrong
>>>> layout in MDLTabsExample.
>>>>
>>>> MDL also needed to turn off default layout in the Grid.
>>>>
>>>> The data binding static variable issue turned out to be the
>>>> remove-circulars code which is now on by default.  I fixed that as
>>>>well.
>>>>
>>>> Thanks for reporting these issues.
>>>> -Alex
>>>>
>>>> On 2/22/18, 3:40 PM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
>>>>
>>>> >Isn't that a different problem?  I thought you were having problems
>>>> >getting a dataProvider assigned?
>>>> >
>>>> >-Alex
>>>> >
>>>> >On 2/22/18, 3:34 PM, "piotrz" <pi...@apache.org> wrote:
>>>> >
>>>> >>I'm building them using JSonly Royale and Moonshine. Tomorrow my
>>>>time I
>>>> >>will
>>>> >>try Maven build.
>>>> >>
>>>> >>If I have this:
>>>> >>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css
>>>>Example
>>>> >>looks
>>>> >>like that:
>>>> >>
>>>> >><https://na01.safelinks.protection.outlook.com/?url=http%3
>>>> A%2F%2Fapache-r
>>>> >>o
>>>> >>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fmdl_tab
>>>> s_1.png&data=02
>>>> >>%
>>>> >>7C01%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4ccc
>>>> d2%7Cfa7b1b5a7b
>>>> >>3
>>>> >>4438794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=M
>>>> c8qtEBLO1%2FhT4
>>>> >>U
>>>> >>P%2FBhKlpgH9r8HwU52TNDCY6Kjw2I%3D&reserved=0>
>>>> >>
>>>> >>If remove this:
>>>> >>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css looks
>>>> like
>>>> >>that:
>>>> >>
>>>> >><https://na01.safelinks.protection.outlook.com/?url=http%3
>>>> A%2F%2Fapache-r
>>>> >>o
>>>> >>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Ftabs_2.
>>>> png&data=02%7C0
>>>> >>1
>>>> >>%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4cccd2%7
>>>> Cfa7b1b5a7b3443
>>>> >>8
>>>> >>794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=b03fF
>>>> YkV9eo903c08FEm
>>>> >>o
>>>> >>Y9h5QpDL3oTsfE5Kb14l%2Bs%3D&reserved=0>
>>>> >>
>>>> >>Thanks, Piotr
>>>> >>
>>>> >>
>>>> >>
>>>> >>--
>>>> >>Sent from:
>>>> >>https://na01.safelinks.protection.outlook.com/?url=http%3A
>>>> %2F%2Fapache-ro
>>>> >>y
>>>> >>ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%
>>>> 40adobe.com%
>>>> >>7
>>>> >>C6738a7e848f94f4807f908d57a4cccd2%7Cfa7b1b5a7b34438794aed2
>>>> c178decee1%7C0%
>>>> >>7
>>>> >>C0%7C636549392636721475&sdata=aAkqWaUnolHEe1pHN8RXBB%2BV9U
>>>> g2ZcEIwesdmbYmR
>>>> >>e
>>>> >>M%3D&reserved=0
>>>> >
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Piotr Zarzycki
>>>
>>> Patreon: 
>>>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pa
>>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C62158b602d
>>>d54040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365
>>>49695843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLmK0loWJU3zaYr8%3D&rese
>>>rved=0
>>> 
>>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pa
>>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C62158b602d
>>>d54040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365
>>>49695843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLmK0loWJU3zaYr8%3D&rese
>>>rved=0>*
>>>
>>
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: 
>>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pat
>>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C62158b602dd5
>>4040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365496
>>95843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLmK0loWJU3zaYr8%3D&reserved
>>=0
>> 
>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pat
>>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C62158b602dd5
>>4040909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365496
>>95843478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLmK0loWJU3zaYr8%3D&reserved
>>=0>*
>>
>
>
>
>-- 
>
>Piotr Zarzycki
>
>Patreon: 
>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr
>eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C62158b602dd540
>40909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365496958
>43478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLmK0loWJU3zaYr8%3D&reserved=0
><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr
>eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C62158b602dd540
>40909f08d57a9365d8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365496958
>43478010&sdata=jLndttMkmkqFNW0y0IeWivybu9OkLmK0loWJU3zaYr8%3D&reserved=0>*


Re: Removing the * selector

Posted by Piotr Zarzycki <pi...@gmail.com>.
Your changes related to circulars helped with static Binding, but there is
still some problems with that class [1]. I've updated example with you
newest changes [2]. Take a look into the console. [2]

[1]  https://goo.gl/Y9YuuJ
[2]
https://transpiledactionscript.com/dev/examples/PureMVCEmployeeAdminBasic/

Thanks, Piotr

2018-02-23 8:50 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

> By turning off you mean something like this ? ->
> https://github.com/apache/royale-asjs/commit/
> 4d298a160aa388eb6306c6f0f80a3269ca240b40
>
> 2018-02-23 8:48 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
>> I pickup latest build and  MDLTabsExample doesn't look like it should
>> be. I would like to understand what I need to do in order to get the look
>> back.
>>
>> What do you mean by that: " MDL also needed to turn off default layout
>> in the Grid."
>>
>> I see that you have created that file [1] which simply force usage of
>> some fonts for the components, but that's probably not the problem.
>> Question is do I need to still use that command after your changes?
>>
>> -compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css
>>
>> [1] https://github.com/apache/royale-asjs/blob/develop/frame
>> works/themes/Basic/basic.css
>>
>> Thanks, Piotr
>>
>>
>> 2018-02-23 3:19 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>>
>>> I moved more styles from the framework to the theme to deal with the
>>> wrong
>>> layout in MDLTabsExample.
>>>
>>> MDL also needed to turn off default layout in the Grid.
>>>
>>> The data binding static variable issue turned out to be the
>>> remove-circulars code which is now on by default.  I fixed that as well.
>>>
>>> Thanks for reporting these issues.
>>> -Alex
>>>
>>> On 2/22/18, 3:40 PM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
>>>
>>> >Isn't that a different problem?  I thought you were having problems
>>> >getting a dataProvider assigned?
>>> >
>>> >-Alex
>>> >
>>> >On 2/22/18, 3:34 PM, "piotrz" <pi...@apache.org> wrote:
>>> >
>>> >>I'm building them using JSonly Royale and Moonshine. Tomorrow my time I
>>> >>will
>>> >>try Maven build.
>>> >>
>>> >>If I have this:
>>> >>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css Example
>>> >>looks
>>> >>like that:
>>> >>
>>> >><https://na01.safelinks.protection.outlook.com/?url=http%3
>>> A%2F%2Fapache-r
>>> >>o
>>> >>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fmdl_tab
>>> s_1.png&data=02
>>> >>%
>>> >>7C01%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4ccc
>>> d2%7Cfa7b1b5a7b
>>> >>3
>>> >>4438794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=M
>>> c8qtEBLO1%2FhT4
>>> >>U
>>> >>P%2FBhKlpgH9r8HwU52TNDCY6Kjw2I%3D&reserved=0>
>>> >>
>>> >>If remove this:
>>> >>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css looks
>>> like
>>> >>that:
>>> >>
>>> >><https://na01.safelinks.protection.outlook.com/?url=http%3
>>> A%2F%2Fapache-r
>>> >>o
>>> >>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Ftabs_2.
>>> png&data=02%7C0
>>> >>1
>>> >>%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4cccd2%7
>>> Cfa7b1b5a7b3443
>>> >>8
>>> >>794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=b03fF
>>> YkV9eo903c08FEm
>>> >>o
>>> >>Y9h5QpDL3oTsfE5Kb14l%2Bs%3D&reserved=0>
>>> >>
>>> >>Thanks, Piotr
>>> >>
>>> >>
>>> >>
>>> >>--
>>> >>Sent from:
>>> >>https://na01.safelinks.protection.outlook.com/?url=http%3A
>>> %2F%2Fapache-ro
>>> >>y
>>> >>ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%
>>> 40adobe.com%
>>> >>7
>>> >>C6738a7e848f94f4807f908d57a4cccd2%7Cfa7b1b5a7b34438794aed2
>>> c178decee1%7C0%
>>> >>7
>>> >>C0%7C636549392636721475&sdata=aAkqWaUnolHEe1pHN8RXBB%2BV9U
>>> g2ZcEIwesdmbYmR
>>> >>e
>>> >>M%3D&reserved=0
>>> >
>>>
>>>
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Removing the * selector

Posted by Piotr Zarzycki <pi...@gmail.com>.
By turning off you mean something like this ? ->
https://github.com/apache/royale-asjs/commit/4d298a160aa388eb6306c6f0f80a3269ca240b40

2018-02-23 8:48 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

> I pickup latest build and  MDLTabsExample doesn't look like it should be.
> I would like to understand what I need to do in order to get the look back.
>
> What do you mean by that: " MDL also needed to turn off default layout in
> the Grid."
>
> I see that you have created that file [1] which simply force usage of some
> fonts for the components, but that's probably not the problem. Question is
> do I need to still use that command after your changes?
>
> -compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css
>
> [1] https://github.com/apache/royale-asjs/blob/develop/
> frameworks/themes/Basic/basic.css
>
> Thanks, Piotr
>
>
> 2018-02-23 3:19 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>
>> I moved more styles from the framework to the theme to deal with the wrong
>> layout in MDLTabsExample.
>>
>> MDL also needed to turn off default layout in the Grid.
>>
>> The data binding static variable issue turned out to be the
>> remove-circulars code which is now on by default.  I fixed that as well.
>>
>> Thanks for reporting these issues.
>> -Alex
>>
>> On 2/22/18, 3:40 PM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
>>
>> >Isn't that a different problem?  I thought you were having problems
>> >getting a dataProvider assigned?
>> >
>> >-Alex
>> >
>> >On 2/22/18, 3:34 PM, "piotrz" <pi...@apache.org> wrote:
>> >
>> >>I'm building them using JSonly Royale and Moonshine. Tomorrow my time I
>> >>will
>> >>try Maven build.
>> >>
>> >>If I have this:
>> >>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css Example
>> >>looks
>> >>like that:
>> >>
>> >><https://na01.safelinks.protection.outlook.com/?url=http%
>> 3A%2F%2Fapache-r
>> >>o
>> >>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fmdl_tab
>> s_1.png&data=02
>> >>%
>> >>7C01%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4ccc
>> d2%7Cfa7b1b5a7b
>> >>3
>> >>4438794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=
>> Mc8qtEBLO1%2FhT4
>> >>U
>> >>P%2FBhKlpgH9r8HwU52TNDCY6Kjw2I%3D&reserved=0>
>> >>
>> >>If remove this:
>> >>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css looks
>> like
>> >>that:
>> >>
>> >><https://na01.safelinks.protection.outlook.com/?url=http%
>> 3A%2F%2Fapache-r
>> >>o
>> >>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Ftabs_2.
>> png&data=02%7C0
>> >>1
>> >>%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4cccd2%
>> 7Cfa7b1b5a7b3443
>> >>8
>> >>794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=b03fF
>> YkV9eo903c08FEm
>> >>o
>> >>Y9h5QpDL3oTsfE5Kb14l%2Bs%3D&reserved=0>
>> >>
>> >>Thanks, Piotr
>> >>
>> >>
>> >>
>> >>--
>> >>Sent from:
>> >>https://na01.safelinks.protection.outlook.com/?url=http%
>> 3A%2F%2Fapache-ro
>> >>y
>> >>ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%
>> 40adobe.com%
>> >>7
>> >>C6738a7e848f94f4807f908d57a4cccd2%7Cfa7b1b5a7b34438794aed2
>> c178decee1%7C0%
>> >>7
>> >>C0%7C636549392636721475&sdata=aAkqWaUnolHEe1pHN8RXBB%2BV9U
>> g2ZcEIwesdmbYmR
>> >>e
>> >>M%3D&reserved=0
>> >
>>
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Removing the * selector

Posted by Alex Harui <ah...@adobe.com.INVALID>.
You should not need to exclude defaults.css.  We want to try to separate
styles to basic.css so you don't need to.

MDLTabsExample broke with a recent change I made because
MaterialDesignLite.swc is using typeNames and className inconsistently
with the rest of the framework.  I think we should set typeNames in the
constructor instead of createElement mainly so subclasses don't have to
implement createElement.  So, I think if you fix that up in
MaterialDesignLite, MDLTabsExample will look right again.

I think I see a few other components in Basic that are still setting
typeNames in createElement.

-Alex

On 2/22/18, 11:48 PM, "Piotr Zarzycki" <pi...@gmail.com> wrote:

>I pickup latest build and  MDLTabsExample doesn't look like it should be.
>I
>would like to understand what I need to do in order to get the look back.
>
>What do you mean by that: " MDL also needed to turn off default layout in
>the Grid."
>
>I see that you have created that file [1] which simply force usage of some
>fonts for the components, but that's probably not the problem. Question is
>do I need to still use that command after your changes?
>
>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css
>
>[1]
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.co
>m%2Fapache%2Froyale-asjs%2Fblob%2Fdevelop%2Fframeworks%2Fthemes%2FBasic%2F
>basic.css&data=02%7C01%7Caharui%40adobe.com%7C64126fc953154edfe31108d57a91
>caab%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549688949957150&sdata
>=clL%2F1w49qtY%2FJ1tXWMGRtdNkFB09U70k2gVICyySZEg%3D&reserved=0
>
>Thanks, Piotr
>
>
>2018-02-23 3:19 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>
>> I moved more styles from the framework to the theme to deal with the
>>wrong
>> layout in MDLTabsExample.
>>
>> MDL also needed to turn off default layout in the Grid.
>>
>> The data binding static variable issue turned out to be the
>> remove-circulars code which is now on by default.  I fixed that as well.
>>
>> Thanks for reporting these issues.
>> -Alex
>>
>> On 2/22/18, 3:40 PM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
>>
>> >Isn't that a different problem?  I thought you were having problems
>> >getting a dataProvider assigned?
>> >
>> >-Alex
>> >
>> >On 2/22/18, 3:34 PM, "piotrz" <pi...@apache.org> wrote:
>> >
>> >>I'm building them using JSonly Royale and Moonshine. Tomorrow my time
>>I
>> >>will
>> >>try Maven build.
>> >>
>> >>If I have this:
>> >>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css Example
>> >>looks
>> >>like that:
>> >>
>> >><https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fapache-r
>> >>o
>> >>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fmdl_
>> tabs_1.png&data=02
>> >>%
>> >>7C01%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4c
>> ccd2%7Cfa7b1b5a7b
>> >>3
>> >>4438794aed2c178decee1%7C0%7C0%7C636549392636721475&
>> sdata=Mc8qtEBLO1%2FhT4
>> >>U
>> >>P%2FBhKlpgH9r8HwU52TNDCY6Kjw2I%3D&reserved=0>
>> >>
>> >>If remove this:
>> >>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css looks
>>like
>> >>that:
>> >>
>> >><https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fapache-r
>> >>o
>> >>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Ftabs_
>> 2.png&data=02%7C0
>> >>1
>> >>%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4c
>> ccd2%7Cfa7b1b5a7b3443
>> >>8
>> >>794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=
>> b03fFYkV9eo903c08FEm
>> >>o
>> >>Y9h5QpDL3oTsfE5Kb14l%2Bs%3D&reserved=0>
>> >>
>> >>Thanks, Piotr
>> >>
>> >>
>> >>
>> >>--
>> >>Sent from:
>> >>https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fapache-ro
>> >>y
>> 
>>>>ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.co
>>>>m
>> %
>> >>7
>> >>C6738a7e848f94f4807f908d57a4cccd2%7Cfa7b1b5a7b34438794aed2c178de
>> cee1%7C0%
>> >>7
>> >>C0%7C636549392636721475&sdata=aAkqWaUnolHEe1pHN8RXBB%
>> 2BV9Ug2ZcEIwesdmbYmR
>> >>e
>> >>M%3D&reserved=0
>> >
>>
>>
>
>
>-- 
>
>Piotr Zarzycki
>
>Patreon: 
>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr
>eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C64126fc953154e
>dfe31108d57a91caab%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365496889
>49957150&sdata=XYXZgYKRsOMFvyDtUzbvKw%2Fx8qiiDIkKXtov8gpBcOg%3D&reserved=0
><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr
>eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C64126fc953154e
>dfe31108d57a91caab%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365496889
>49957150&sdata=XYXZgYKRsOMFvyDtUzbvKw%2Fx8qiiDIkKXtov8gpBcOg%3D&reserved=0
>>*


Re: Removing the * selector

Posted by Piotr Zarzycki <pi...@gmail.com>.
I pickup latest build and  MDLTabsExample doesn't look like it should be. I
would like to understand what I need to do in order to get the look back.

What do you mean by that: " MDL also needed to turn off default layout in
the Grid."

I see that you have created that file [1] which simply force usage of some
fonts for the components, but that's probably not the problem. Question is
do I need to still use that command after your changes?

-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css

[1]
https://github.com/apache/royale-asjs/blob/develop/frameworks/themes/Basic/basic.css

Thanks, Piotr


2018-02-23 3:19 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

> I moved more styles from the framework to the theme to deal with the wrong
> layout in MDLTabsExample.
>
> MDL also needed to turn off default layout in the Grid.
>
> The data binding static variable issue turned out to be the
> remove-circulars code which is now on by default.  I fixed that as well.
>
> Thanks for reporting these issues.
> -Alex
>
> On 2/22/18, 3:40 PM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
>
> >Isn't that a different problem?  I thought you were having problems
> >getting a dataProvider assigned?
> >
> >-Alex
> >
> >On 2/22/18, 3:34 PM, "piotrz" <pi...@apache.org> wrote:
> >
> >>I'm building them using JSonly Royale and Moonshine. Tomorrow my time I
> >>will
> >>try Maven build.
> >>
> >>If I have this:
> >>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css Example
> >>looks
> >>like that:
> >>
> >><https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-r
> >>o
> >>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fmdl_
> tabs_1.png&data=02
> >>%
> >>7C01%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4c
> ccd2%7Cfa7b1b5a7b
> >>3
> >>4438794aed2c178decee1%7C0%7C0%7C636549392636721475&
> sdata=Mc8qtEBLO1%2FhT4
> >>U
> >>P%2FBhKlpgH9r8HwU52TNDCY6Kjw2I%3D&reserved=0>
> >>
> >>If remove this:
> >>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css looks like
> >>that:
> >>
> >><https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-r
> >>o
> >>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Ftabs_
> 2.png&data=02%7C0
> >>1
> >>%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4c
> ccd2%7Cfa7b1b5a7b3443
> >>8
> >>794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=
> b03fFYkV9eo903c08FEm
> >>o
> >>Y9h5QpDL3oTsfE5Kb14l%2Bs%3D&reserved=0>
> >>
> >>Thanks, Piotr
> >>
> >>
> >>
> >>--
> >>Sent from:
> >>https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-ro
> >>y
> >>ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com
> %
> >>7
> >>C6738a7e848f94f4807f908d57a4cccd2%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%
> >>7
> >>C0%7C636549392636721475&sdata=aAkqWaUnolHEe1pHN8RXBB%
> 2BV9Ug2ZcEIwesdmbYmR
> >>e
> >>M%3D&reserved=0
> >
>
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Removing the * selector

Posted by Alex Harui <ah...@adobe.com.INVALID>.
I moved more styles from the framework to the theme to deal with the wrong
layout in MDLTabsExample.

MDL also needed to turn off default layout in the Grid.

The data binding static variable issue turned out to be the
remove-circulars code which is now on by default.  I fixed that as well.

Thanks for reporting these issues.
-Alex

On 2/22/18, 3:40 PM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:

>Isn't that a different problem?  I thought you were having problems
>getting a dataProvider assigned?
>
>-Alex
>
>On 2/22/18, 3:34 PM, "piotrz" <pi...@apache.org> wrote:
>
>>I'm building them using JSonly Royale and Moonshine. Tomorrow my time I
>>will
>>try Maven build.
>>
>>If I have this:
>>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css Example
>>looks
>>like that:
>>
>><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-r
>>o
>>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fmdl_tabs_1.png&data=02
>>%
>>7C01%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4cccd2%7Cfa7b1b5a7b
>>3
>>4438794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=Mc8qtEBLO1%2FhT4
>>U
>>P%2FBhKlpgH9r8HwU52TNDCY6Kjw2I%3D&reserved=0>
>>
>>If remove this:
>>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css looks like
>>that:
>>
>><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-r
>>o
>>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Ftabs_2.png&data=02%7C0
>>1
>>%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4cccd2%7Cfa7b1b5a7b3443
>>8
>>794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=b03fFYkV9eo903c08FEm
>>o
>>Y9h5QpDL3oTsfE5Kb14l%2Bs%3D&reserved=0>
>>
>>Thanks, Piotr
>>
>>
>>
>>--
>>Sent from: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-ro
>>y
>>ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%
>>7
>>C6738a7e848f94f4807f908d57a4cccd2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%
>>7
>>C0%7C636549392636721475&sdata=aAkqWaUnolHEe1pHN8RXBB%2BV9Ug2ZcEIwesdmbYmR
>>e
>>M%3D&reserved=0
>


Re: Removing the * selector

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Isn't that a different problem?  I thought you were having problems
getting a dataProvider assigned?

-Alex

On 2/22/18, 3:34 PM, "piotrz" <pi...@apache.org> wrote:

>I'm building them using JSonly Royale and Moonshine. Tomorrow my time I
>will
>try Maven build.
>
>If I have this:
>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css Example
>looks
>like that:
>
><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-ro
>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fmdl_tabs_1.png&data=02%
>7C01%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4cccd2%7Cfa7b1b5a7b3
>4438794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=Mc8qtEBLO1%2FhT4U
>P%2FBhKlpgH9r8HwU52TNDCY6Kjw2I%3D&reserved=0>
>
>If remove this:
>-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css looks like
>that:
>
><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-ro
>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Ftabs_2.png&data=02%7C01
>%7Caharui%40adobe.com%7C6738a7e848f94f4807f908d57a4cccd2%7Cfa7b1b5a7b34438
>794aed2c178decee1%7C0%7C0%7C636549392636721475&sdata=b03fFYkV9eo903c08FEmo
>Y9h5QpDL3oTsfE5Kb14l%2Bs%3D&reserved=0>
>
>Thanks, Piotr
>
>
>
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-roy
>ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7
>C6738a7e848f94f4807f908d57a4cccd2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7
>C0%7C636549392636721475&sdata=aAkqWaUnolHEe1pHN8RXBB%2BV9Ug2ZcEIwesdmbYmRe
>M%3D&reserved=0


Re: Removing the * selector

Posted by piotrz <pi...@apache.org>.
I'm building them using JSonly Royale and Moonshine. Tomorrow my time I will
try Maven build.

If I have this:
-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css Example looks
like that:

<http://apache-royale-development.20373.n8.nabble.com/file/t1/mdl_tabs_1.png> 

If remove this:
-compiler.exclude-defaults-css-files=BasicJS.swc:defaults.css looks like
that:

<http://apache-royale-development.20373.n8.nabble.com/file/t1/tabs_2.png> 

Thanks, Piotr



--
Sent from: http://apache-royale-development.20373.n8.nabble.com/

Re: Removing the * selector

Posted by Alex Harui <ah...@adobe.com.INVALID>.
MDLDynamicTabsExample looks ok to me.  What do you see wrong with it?

On 2/22/18, 1:21 PM, "Piotr Zarzycki" <pi...@gmail.com> wrote:

>I think the best example would be the simplest one. Please look into
>the MDLDynamicTableExample or MDLDynamicTabsExample and see how table/tabs
>looks like.
>
>Thanks,
>Piotr
>
>2018-02-22 22:10 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
>> I did a bit more experiments. I've declared variable like that:
>>
>> [Bindable]
>> public var comboList:Array = RoleEnum.comboList;
>>
>> compoList was changed to get/set in JavaScript. I've placed breakpoint
>>in
>> setter and it didn't raised.
>>
>> Piotr.
>>
>>
>> 2018-02-22 21:44 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>>
>>> Maybe there problem started to occur because the getter of RoleEnum is
>>> static [1]
>>>
>>> [1]  
>>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgoo.gl%
>>>2FrPkNog&data=02%7C01%7Caharui%40adobe.com%7Cf9d18f1f36cc4ebe29d108d57a3
>>>a4301%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549313011664649&sd
>>>ata=DfaPfGuAINh%2FrSTS09ofQkEVUDS9w5tn3zymfzD2xAw%3D&reserved=0
>>>
>>> 2018-02-22 21:32 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>>>
>>>> Link with non working version [1]. Select one row and see what is in
>>>>the
>>>> console.
>>>>
>>>> [1] 
>>>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftransp
>>>>iledactionscript.com%2Fdev%2Fexamples%2FPureMVCE&data=02%7C01%7Caharui%
>>>>40adobe.com%7Cf9d18f1f36cc4ebe29d108d57a3a4301%7Cfa7b1b5a7b34438794aed2
>>>>c178decee1%7C0%7C0%7C636549313011664649&sdata=HDbXr3STknh6QXH549ki1AOPH
>>>>DJiT7TUYuYR5WLq4TA%3D&reserved=0
>>>> mployeeAdminBasic/
>>>>
>>>> Thanks, Piotr
>>>>
>>>> 2018-02-22 21:26 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>>>>
>>>>> Link is to the old version which is working. I can deploy somewhere
>>>>>non
>>>>> working version if it helps. Let me do this and I will provide you
>>>>>link in
>>>>> couple of minutes. DropDownList will be available once you click on
>>>>>some
>>>>> row in the DataGrid.
>>>>>
>>>>>
>>>>>
>>>>> 2018-02-22 21:20 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>>>>>
>>>>>> I may not be understanding you.  In theory, nothing has changed that
>>>>>> should affect your code, but I did have to replace some public vars
>>>>>>on
>>>>>> the
>>>>>> Binding classes so maybe I messed up there, although
>>>>>> DataBindingExample is
>>>>>> working.
>>>>>>
>>>>>> In this last link, which my email server has obfuscated, appears to
>>>>>>be
>>>>>> your app.  In the lower right is "User Roles" and a dropdownlist.
>>>>>>For
>>>>>> me,
>>>>>> I can see in the debugger that the dropdownlist is populated but the
>>>>>> dropdown is disabled.  So I'm not sure where else in your app the
>>>>>> dataprovider was not being assigned.
>>>>>>
>>>>>> Thoughts?
>>>>>> -Alex
>>>>>>
>>>>>> On 2/22/18, 12:08 PM, "piotrz" <pi...@apache.org> wrote:
>>>>>>
>>>>>> >Above problems are with MDL version of this example [1], but I
>>>>>> compiled
>>>>>> >also
>>>>>> >Basic version where I don't use anything from MDL and have the same
>>>>>> >issue.
>>>>>> >
>>>>>> ><https://na01.safelinks.protection.outlook.com/?url=http%3A
>>>>>> %2F%2Fapache-ro
>>>>>> >yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Froyale_b
>>>>>> asic_ed.png&dat
>>>>>> >a=02%7C01%7Caharui%40adobe.com%7C19c9d7eb3b97431cb5fb08d57a
>>>>>> 3010a9%7Cfa7b1b
>>>>>> >5a7b34438794aed2c178decee1%7C0%7C0%7C636549269209330303&sda
>>>>>> ta=m1jnTWt%2BSJ
>>>>>> >sN1KticJzCbn%2F4N8xUutdSgSZruAYpMVs%3D&reserved=0>
>>>>>> >
>>>>>> >[1]
>>>>>> >https://na01.safelinks.protection.outlook.com/?url=https%3A
>>>>>> %2F%2Ftranspile
>>>>>> >dactionscript.com%2Fexamples%2FPureMVCEmployeeAdminMDL%2F&d
>>>>>> ata=02%7C01%7Ca
>>>>>> >harui%40adobe.com%7C19c9d7eb3b97431cb5fb08d57a3010a9%7Cfa7b
>>>>>> 1b5a7b34438794a
>>>>>> >ed2c178decee1%7C0%7C0%7C636549269209330303&sdata=v%2B2s1d9G
>>>>>> MJGSYTyqFlbh1L2
>>>>>> >gPfs9jnCrMMSoDCeXCNk%3D&reserved=0
>>>>>> >
>>>>>> >Piotr
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> >--
>>>>>> >Sent from:
>>>>>> >https://na01.safelinks.protection.outlook.com/?url=http%3A%
>>>>>> 2F%2Fapache-roy
>>>>>> >ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%
>>>>>> 40adobe.com%7
>>>>>> >C19c9d7eb3b97431cb5fb08d57a3010a9%7Cfa7b1b5a7b34438794aed2c
>>>>>> 178decee1%7C0%7
>>>>>> >C0%7C636549269209330303&sdata=dJyhSipAH2oQxwYFLhv8lNAGlGoif
>>>>>> bl3kI5kgEZa2dU%
>>>>>> >3D&reserved=0
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Piotr Zarzycki
>>>>>
>>>>> Patreon: 
>>>>>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.
>>>>>patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cf9d18f
>>>>>1f36cc4ebe29d108d57a3a4301%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>>>>>7C636549313011664649&sdata=u8U6wjo0BGCN%2B%2BEKRB%2B%2FjnJKN0%2BziFJ%2
>>>>>FEDTOXRRDGCQ%3D&reserved=0
>>>>> 
>>>>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.
>>>>>patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cf9d18f
>>>>>1f36cc4ebe29d108d57a3a4301%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>>>>>7C636549313011664649&sdata=u8U6wjo0BGCN%2B%2BEKRB%2B%2FjnJKN0%2BziFJ%2
>>>>>FEDTOXRRDGCQ%3D&reserved=0>*
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Piotr Zarzycki
>>>>
>>>> Patreon: 
>>>>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.p
>>>>atreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cf9d18f1f
>>>>36cc4ebe29d108d57a3a4301%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>>>>36549313011664649&sdata=u8U6wjo0BGCN%2B%2BEKRB%2B%2FjnJKN0%2BziFJ%2FEDT
>>>>OXRRDGCQ%3D&reserved=0
>>>> 
>>>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.p
>>>>atreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cf9d18f1f
>>>>36cc4ebe29d108d57a3a4301%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>>>>36549313011664649&sdata=u8U6wjo0BGCN%2B%2BEKRB%2B%2FjnJKN0%2BziFJ%2FEDT
>>>>OXRRDGCQ%3D&reserved=0>*
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> Piotr Zarzycki
>>>
>>> Patreon: 
>>>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pa
>>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cf9d18f1f36
>>>cc4ebe29d108d57a3a4301%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365
>>>49313011664649&sdata=u8U6wjo0BGCN%2B%2BEKRB%2B%2FjnJKN0%2BziFJ%2FEDTOXRR
>>>DGCQ%3D&reserved=0
>>> 
>>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pa
>>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cf9d18f1f36
>>>cc4ebe29d108d57a3a4301%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365
>>>49313011664649&sdata=u8U6wjo0BGCN%2B%2BEKRB%2B%2FjnJKN0%2BziFJ%2FEDTOXRR
>>>DGCQ%3D&reserved=0>*
>>>
>>
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: 
>>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pat
>>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cf9d18f1f36cc
>>4ebe29d108d57a3a4301%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365493
>>13011664649&sdata=u8U6wjo0BGCN%2B%2BEKRB%2B%2FjnJKN0%2BziFJ%2FEDTOXRRDGCQ
>>%3D&reserved=0
>> 
>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pat
>>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cf9d18f1f36cc
>>4ebe29d108d57a3a4301%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365493
>>13011664649&sdata=u8U6wjo0BGCN%2B%2BEKRB%2B%2FjnJKN0%2BziFJ%2FEDTOXRRDGCQ
>>%3D&reserved=0>*
>>
>
>
>
>-- 
>
>Piotr Zarzycki
>
>Patreon: 
>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr
>eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cf9d18f1f36cc4e
>be29d108d57a3a4301%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365493130
>11664649&sdata=u8U6wjo0BGCN%2B%2BEKRB%2B%2FjnJKN0%2BziFJ%2FEDTOXRRDGCQ%3D&
>reserved=0
><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr
>eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cf9d18f1f36cc4e
>be29d108d57a3a4301%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365493130
>11664649&sdata=u8U6wjo0BGCN%2B%2BEKRB%2B%2FjnJKN0%2BziFJ%2FEDTOXRRDGCQ%3D&
>reserved=0>*


Re: Removing the * selector

Posted by Piotr Zarzycki <pi...@gmail.com>.
I think the best example would be the simplest one. Please look into
the MDLDynamicTableExample or MDLDynamicTabsExample and see how table/tabs
looks like.

Thanks,
Piotr

2018-02-22 22:10 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

> I did a bit more experiments. I've declared variable like that:
>
> [Bindable]
> public var comboList:Array = RoleEnum.comboList;
>
> compoList was changed to get/set in JavaScript. I've placed breakpoint in
> setter and it didn't raised.
>
> Piotr.
>
>
> 2018-02-22 21:44 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
>> Maybe there problem started to occur because the getter of RoleEnum is
>> static [1]
>>
>> [1]  https://goo.gl/rPkNog
>>
>> 2018-02-22 21:32 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>>
>>> Link with non working version [1]. Select one row and see what is in the
>>> console.
>>>
>>> [1] https://transpiledactionscript.com/dev/examples/PureMVCE
>>> mployeeAdminBasic/
>>>
>>> Thanks, Piotr
>>>
>>> 2018-02-22 21:26 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>>>
>>>> Link is to the old version which is working. I can deploy somewhere non
>>>> working version if it helps. Let me do this and I will provide you link in
>>>> couple of minutes. DropDownList will be available once you click on some
>>>> row in the DataGrid.
>>>>
>>>>
>>>>
>>>> 2018-02-22 21:20 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>>>>
>>>>> I may not be understanding you.  In theory, nothing has changed that
>>>>> should affect your code, but I did have to replace some public vars on
>>>>> the
>>>>> Binding classes so maybe I messed up there, although
>>>>> DataBindingExample is
>>>>> working.
>>>>>
>>>>> In this last link, which my email server has obfuscated, appears to be
>>>>> your app.  In the lower right is "User Roles" and a dropdownlist.  For
>>>>> me,
>>>>> I can see in the debugger that the dropdownlist is populated but the
>>>>> dropdown is disabled.  So I'm not sure where else in your app the
>>>>> dataprovider was not being assigned.
>>>>>
>>>>> Thoughts?
>>>>> -Alex
>>>>>
>>>>> On 2/22/18, 12:08 PM, "piotrz" <pi...@apache.org> wrote:
>>>>>
>>>>> >Above problems are with MDL version of this example [1], but I
>>>>> compiled
>>>>> >also
>>>>> >Basic version where I don't use anything from MDL and have the same
>>>>> >issue.
>>>>> >
>>>>> ><https://na01.safelinks.protection.outlook.com/?url=http%3A
>>>>> %2F%2Fapache-ro
>>>>> >yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Froyale_b
>>>>> asic_ed.png&dat
>>>>> >a=02%7C01%7Caharui%40adobe.com%7C19c9d7eb3b97431cb5fb08d57a
>>>>> 3010a9%7Cfa7b1b
>>>>> >5a7b34438794aed2c178decee1%7C0%7C0%7C636549269209330303&sda
>>>>> ta=m1jnTWt%2BSJ
>>>>> >sN1KticJzCbn%2F4N8xUutdSgSZruAYpMVs%3D&reserved=0>
>>>>> >
>>>>> >[1]
>>>>> >https://na01.safelinks.protection.outlook.com/?url=https%3A
>>>>> %2F%2Ftranspile
>>>>> >dactionscript.com%2Fexamples%2FPureMVCEmployeeAdminMDL%2F&d
>>>>> ata=02%7C01%7Ca
>>>>> >harui%40adobe.com%7C19c9d7eb3b97431cb5fb08d57a3010a9%7Cfa7b
>>>>> 1b5a7b34438794a
>>>>> >ed2c178decee1%7C0%7C0%7C636549269209330303&sdata=v%2B2s1d9G
>>>>> MJGSYTyqFlbh1L2
>>>>> >gPfs9jnCrMMSoDCeXCNk%3D&reserved=0
>>>>> >
>>>>> >Piotr
>>>>> >
>>>>> >
>>>>> >
>>>>> >--
>>>>> >Sent from:
>>>>> >https://na01.safelinks.protection.outlook.com/?url=http%3A%
>>>>> 2F%2Fapache-roy
>>>>> >ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%
>>>>> 40adobe.com%7
>>>>> >C19c9d7eb3b97431cb5fb08d57a3010a9%7Cfa7b1b5a7b34438794aed2c
>>>>> 178decee1%7C0%7
>>>>> >C0%7C636549269209330303&sdata=dJyhSipAH2oQxwYFLhv8lNAGlGoif
>>>>> bl3kI5kgEZa2dU%
>>>>> >3D&reserved=0
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Piotr Zarzycki
>>>>
>>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>>> <https://www.patreon.com/piotrzarzycki>*
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> Piotr Zarzycki
>>>
>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>> <https://www.patreon.com/piotrzarzycki>*
>>>
>>
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Removing the * selector

Posted by Piotr Zarzycki <pi...@gmail.com>.
I did a bit more experiments. I've declared variable like that:

[Bindable]
public var comboList:Array = RoleEnum.comboList;

compoList was changed to get/set in JavaScript. I've placed breakpoint in
setter and it didn't raised.

Piotr.


2018-02-22 21:44 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

> Maybe there problem started to occur because the getter of RoleEnum is
> static [1]
>
> [1]  https://goo.gl/rPkNog
>
> 2018-02-22 21:32 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
>> Link with non working version [1]. Select one row and see what is in the
>> console.
>>
>> [1] https://transpiledactionscript.com/dev/examples/PureMVCE
>> mployeeAdminBasic/
>>
>> Thanks, Piotr
>>
>> 2018-02-22 21:26 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>>
>>> Link is to the old version which is working. I can deploy somewhere non
>>> working version if it helps. Let me do this and I will provide you link in
>>> couple of minutes. DropDownList will be available once you click on some
>>> row in the DataGrid.
>>>
>>>
>>>
>>> 2018-02-22 21:20 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>>>
>>>> I may not be understanding you.  In theory, nothing has changed that
>>>> should affect your code, but I did have to replace some public vars on
>>>> the
>>>> Binding classes so maybe I messed up there, although DataBindingExample
>>>> is
>>>> working.
>>>>
>>>> In this last link, which my email server has obfuscated, appears to be
>>>> your app.  In the lower right is "User Roles" and a dropdownlist.  For
>>>> me,
>>>> I can see in the debugger that the dropdownlist is populated but the
>>>> dropdown is disabled.  So I'm not sure where else in your app the
>>>> dataprovider was not being assigned.
>>>>
>>>> Thoughts?
>>>> -Alex
>>>>
>>>> On 2/22/18, 12:08 PM, "piotrz" <pi...@apache.org> wrote:
>>>>
>>>> >Above problems are with MDL version of this example [1], but I compiled
>>>> >also
>>>> >Basic version where I don't use anything from MDL and have the same
>>>> >issue.
>>>> >
>>>> ><https://na01.safelinks.protection.outlook.com/?url=http%3A
>>>> %2F%2Fapache-ro
>>>> >yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Froyale_b
>>>> asic_ed.png&dat
>>>> >a=02%7C01%7Caharui%40adobe.com%7C19c9d7eb3b97431cb5fb08d57a
>>>> 3010a9%7Cfa7b1b
>>>> >5a7b34438794aed2c178decee1%7C0%7C0%7C636549269209330303&sda
>>>> ta=m1jnTWt%2BSJ
>>>> >sN1KticJzCbn%2F4N8xUutdSgSZruAYpMVs%3D&reserved=0>
>>>> >
>>>> >[1]
>>>> >https://na01.safelinks.protection.outlook.com/?url=https%3A
>>>> %2F%2Ftranspile
>>>> >dactionscript.com%2Fexamples%2FPureMVCEmployeeAdminMDL%2F&d
>>>> ata=02%7C01%7Ca
>>>> >harui%40adobe.com%7C19c9d7eb3b97431cb5fb08d57a3010a9%7Cfa7b
>>>> 1b5a7b34438794a
>>>> >ed2c178decee1%7C0%7C0%7C636549269209330303&sdata=v%2B2s1d9G
>>>> MJGSYTyqFlbh1L2
>>>> >gPfs9jnCrMMSoDCeXCNk%3D&reserved=0
>>>> >
>>>> >Piotr
>>>> >
>>>> >
>>>> >
>>>> >--
>>>> >Sent from:
>>>> >https://na01.safelinks.protection.outlook.com/?url=http%3A%
>>>> 2F%2Fapache-roy
>>>> >ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%
>>>> 40adobe.com%7
>>>> >C19c9d7eb3b97431cb5fb08d57a3010a9%7Cfa7b1b5a7b34438794aed2c
>>>> 178decee1%7C0%7
>>>> >C0%7C636549269209330303&sdata=dJyhSipAH2oQxwYFLhv8lNAGlGoif
>>>> bl3kI5kgEZa2dU%
>>>> >3D&reserved=0
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Piotr Zarzycki
>>>
>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>> <https://www.patreon.com/piotrzarzycki>*
>>>
>>
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Removing the * selector

Posted by Piotr Zarzycki <pi...@gmail.com>.
Maybe there problem started to occur because the getter of RoleEnum is
static [1]

[1]  https://goo.gl/rPkNog

2018-02-22 21:32 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

> Link with non working version [1]. Select one row and see what is in the
> console.
>
> [1] https://transpiledactionscript.com/dev/examples/
> PureMVCEmployeeAdminBasic/
>
> Thanks, Piotr
>
> 2018-02-22 21:26 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
>> Link is to the old version which is working. I can deploy somewhere non
>> working version if it helps. Let me do this and I will provide you link in
>> couple of minutes. DropDownList will be available once you click on some
>> row in the DataGrid.
>>
>>
>>
>> 2018-02-22 21:20 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>>
>>> I may not be understanding you.  In theory, nothing has changed that
>>> should affect your code, but I did have to replace some public vars on
>>> the
>>> Binding classes so maybe I messed up there, although DataBindingExample
>>> is
>>> working.
>>>
>>> In this last link, which my email server has obfuscated, appears to be
>>> your app.  In the lower right is "User Roles" and a dropdownlist.  For
>>> me,
>>> I can see in the debugger that the dropdownlist is populated but the
>>> dropdown is disabled.  So I'm not sure where else in your app the
>>> dataprovider was not being assigned.
>>>
>>> Thoughts?
>>> -Alex
>>>
>>> On 2/22/18, 12:08 PM, "piotrz" <pi...@apache.org> wrote:
>>>
>>> >Above problems are with MDL version of this example [1], but I compiled
>>> >also
>>> >Basic version where I don't use anything from MDL and have the same
>>> >issue.
>>> >
>>> ><https://na01.safelinks.protection.outlook.com/?url=http%3A
>>> %2F%2Fapache-ro
>>> >yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Froyale_b
>>> asic_ed.png&dat
>>> >a=02%7C01%7Caharui%40adobe.com%7C19c9d7eb3b97431cb5fb08d57a
>>> 3010a9%7Cfa7b1b
>>> >5a7b34438794aed2c178decee1%7C0%7C0%7C636549269209330303&sda
>>> ta=m1jnTWt%2BSJ
>>> >sN1KticJzCbn%2F4N8xUutdSgSZruAYpMVs%3D&reserved=0>
>>> >
>>> >[1]
>>> >https://na01.safelinks.protection.outlook.com/?url=https%3A
>>> %2F%2Ftranspile
>>> >dactionscript.com%2Fexamples%2FPureMVCEmployeeAdminMDL%2F&d
>>> ata=02%7C01%7Ca
>>> >harui%40adobe.com%7C19c9d7eb3b97431cb5fb08d57a3010a9%7Cfa7b
>>> 1b5a7b34438794a
>>> >ed2c178decee1%7C0%7C0%7C636549269209330303&sdata=v%2B2s1d9G
>>> MJGSYTyqFlbh1L2
>>> >gPfs9jnCrMMSoDCeXCNk%3D&reserved=0
>>> >
>>> >Piotr
>>> >
>>> >
>>> >
>>> >--
>>> >Sent from:
>>> >https://na01.safelinks.protection.outlook.com/?url=http%3A%
>>> 2F%2Fapache-roy
>>> >ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%
>>> 40adobe.com%7
>>> >C19c9d7eb3b97431cb5fb08d57a3010a9%7Cfa7b1b5a7b34438794aed2c
>>> 178decee1%7C0%7
>>> >C0%7C636549269209330303&sdata=dJyhSipAH2oQxwYFLhv8lNAGlGoif
>>> bl3kI5kgEZa2dU%
>>> >3D&reserved=0
>>>
>>>
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Removing the * selector

Posted by Piotr Zarzycki <pi...@gmail.com>.
Link with non working version [1]. Select one row and see what is in the
console.

[1]
https://transpiledactionscript.com/dev/examples/PureMVCEmployeeAdminBasic/

Thanks, Piotr

2018-02-22 21:26 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

> Link is to the old version which is working. I can deploy somewhere non
> working version if it helps. Let me do this and I will provide you link in
> couple of minutes. DropDownList will be available once you click on some
> row in the DataGrid.
>
>
>
> 2018-02-22 21:20 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>
>> I may not be understanding you.  In theory, nothing has changed that
>> should affect your code, but I did have to replace some public vars on the
>> Binding classes so maybe I messed up there, although DataBindingExample is
>> working.
>>
>> In this last link, which my email server has obfuscated, appears to be
>> your app.  In the lower right is "User Roles" and a dropdownlist.  For me,
>> I can see in the debugger that the dropdownlist is populated but the
>> dropdown is disabled.  So I'm not sure where else in your app the
>> dataprovider was not being assigned.
>>
>> Thoughts?
>> -Alex
>>
>> On 2/22/18, 12:08 PM, "piotrz" <pi...@apache.org> wrote:
>>
>> >Above problems are with MDL version of this example [1], but I compiled
>> >also
>> >Basic version where I don't use anything from MDL and have the same
>> >issue.
>> >
>> ><https://na01.safelinks.protection.outlook.com/?url=http%
>> 3A%2F%2Fapache-ro
>> >yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Froyale_
>> basic_ed.png&dat
>> >a=02%7C01%7Caharui%40adobe.com%7C19c9d7eb3b97431cb5fb08d57a
>> 3010a9%7Cfa7b1b
>> >5a7b34438794aed2c178decee1%7C0%7C0%7C636549269209330303&sda
>> ta=m1jnTWt%2BSJ
>> >sN1KticJzCbn%2F4N8xUutdSgSZruAYpMVs%3D&reserved=0>
>> >
>> >[1]
>> >https://na01.safelinks.protection.outlook.com/?url=https%
>> 3A%2F%2Ftranspile
>> >dactionscript.com%2Fexamples%2FPureMVCEmployeeAdminMDL%2F&d
>> ata=02%7C01%7Ca
>> >harui%40adobe.com%7C19c9d7eb3b97431cb5fb08d57a3010a9%
>> 7Cfa7b1b5a7b34438794a
>> >ed2c178decee1%7C0%7C0%7C636549269209330303&sdata=v%2B2s1d9G
>> MJGSYTyqFlbh1L2
>> >gPfs9jnCrMMSoDCeXCNk%3D&reserved=0
>> >
>> >Piotr
>> >
>> >
>> >
>> >--
>> >Sent from:
>> >https://na01.safelinks.protection.outlook.com/?url=http%3A%
>> 2F%2Fapache-roy
>> >ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com
>> %7
>> >C19c9d7eb3b97431cb5fb08d57a3010a9%7Cfa7b1b5a7b34438794aed2c
>> 178decee1%7C0%7
>> >C0%7C636549269209330303&sdata=dJyhSipAH2oQxwYFLhv8lNAGlGoif
>> bl3kI5kgEZa2dU%
>> >3D&reserved=0
>>
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Removing the * selector

Posted by Piotr Zarzycki <pi...@gmail.com>.
Link is to the old version which is working. I can deploy somewhere non
working version if it helps. Let me do this and I will provide you link in
couple of minutes. DropDownList will be available once you click on some
row in the DataGrid.



2018-02-22 21:20 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

> I may not be understanding you.  In theory, nothing has changed that
> should affect your code, but I did have to replace some public vars on the
> Binding classes so maybe I messed up there, although DataBindingExample is
> working.
>
> In this last link, which my email server has obfuscated, appears to be
> your app.  In the lower right is "User Roles" and a dropdownlist.  For me,
> I can see in the debugger that the dropdownlist is populated but the
> dropdown is disabled.  So I'm not sure where else in your app the
> dataprovider was not being assigned.
>
> Thoughts?
> -Alex
>
> On 2/22/18, 12:08 PM, "piotrz" <pi...@apache.org> wrote:
>
> >Above problems are with MDL version of this example [1], but I compiled
> >also
> >Basic version where I don't use anything from MDL and have the same
> >issue.
> >
> ><https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-ro
> >yale-development.20373.n8.nabble.com%2Ffile%2Ft1%
> 2Froyale_basic_ed.png&dat
> >a=02%7C01%7Caharui%40adobe.com%7C19c9d7eb3b97431cb5fb08d57a30
> 10a9%7Cfa7b1b
> >5a7b34438794aed2c178decee1%7C0%7C0%7C636549269209330303&
> sdata=m1jnTWt%2BSJ
> >sN1KticJzCbn%2F4N8xUutdSgSZruAYpMVs%3D&reserved=0>
> >
> >[1]
> >https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Ftranspile
> >dactionscript.com%2Fexamples%2FPureMVCEmployeeAdminMDL%2F&
> data=02%7C01%7Ca
> >harui%40adobe.com%7C19c9d7eb3b97431cb5fb08d57a30
> 10a9%7Cfa7b1b5a7b34438794a
> >ed2c178decee1%7C0%7C0%7C636549269209330303&sdata=v%
> 2B2s1d9GMJGSYTyqFlbh1L2
> >gPfs9jnCrMMSoDCeXCNk%3D&reserved=0
> >
> >Piotr
> >
> >
> >
> >--
> >Sent from:
> >https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-roy
> >ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com
> %7
> >C19c9d7eb3b97431cb5fb08d57a3010a9%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7
> >C0%7C636549269209330303&sdata=dJyhSipAH2oQxwYFLhv8lNAGlGoifb
> l3kI5kgEZa2dU%
> >3D&reserved=0
>
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Removing the * selector

Posted by Alex Harui <ah...@adobe.com.INVALID>.
I may not be understanding you.  In theory, nothing has changed that
should affect your code, but I did have to replace some public vars on the
Binding classes so maybe I messed up there, although DataBindingExample is
working.

In this last link, which my email server has obfuscated, appears to be
your app.  In the lower right is "User Roles" and a dropdownlist.  For me,
I can see in the debugger that the dropdownlist is populated but the
dropdown is disabled.  So I'm not sure where else in your app the
dataprovider was not being assigned.

Thoughts?
-Alex

On 2/22/18, 12:08 PM, "piotrz" <pi...@apache.org> wrote:

>Above problems are with MDL version of this example [1], but I compiled
>also
>Basic version where I don't use anything from MDL and have the same
>issue. 
>
><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-ro
>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Froyale_basic_ed.png&dat
>a=02%7C01%7Caharui%40adobe.com%7C19c9d7eb3b97431cb5fb08d57a3010a9%7Cfa7b1b
>5a7b34438794aed2c178decee1%7C0%7C0%7C636549269209330303&sdata=m1jnTWt%2BSJ
>sN1KticJzCbn%2F4N8xUutdSgSZruAYpMVs%3D&reserved=0>
>
>[1] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftranspile
>dactionscript.com%2Fexamples%2FPureMVCEmployeeAdminMDL%2F&data=02%7C01%7Ca
>harui%40adobe.com%7C19c9d7eb3b97431cb5fb08d57a3010a9%7Cfa7b1b5a7b34438794a
>ed2c178decee1%7C0%7C0%7C636549269209330303&sdata=v%2B2s1d9GMJGSYTyqFlbh1L2
>gPfs9jnCrMMSoDCeXCNk%3D&reserved=0
>
>Piotr
>
>
>
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-roy
>ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7
>C19c9d7eb3b97431cb5fb08d57a3010a9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7
>C0%7C636549269209330303&sdata=dJyhSipAH2oQxwYFLhv8lNAGlGoifbl3kI5kgEZa2dU%
>3D&reserved=0


Re: Removing the * selector

Posted by piotrz <pi...@apache.org>.
Above problems are with MDL version of this example [1], but I compiled also
Basic version where I don't use anything from MDL and have the same issue. 

<http://apache-royale-development.20373.n8.nabble.com/file/t1/royale_basic_ed.png> 

[1] https://transpiledactionscript.com/examples/PureMVCEmployeeAdminMDL/

Piotr



--
Sent from: http://apache-royale-development.20373.n8.nabble.com/

Re: Removing the * selector

Posted by Piotr Zarzycki <pi...@gmail.com>.
Another question. I build one of my example with newest royale package. I
have following static getter [1]. This code previously was working [2]. Now
this Array is not being assigned to dataProvider. My dataProvider is
undefined.

Can you say what could change, if not I will prepare small example.

[1]  https://goo.gl/rPkNog
[2]  https://goo.gl/qh3pSC

Thanks, Piotr

2018-02-22 20:55 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

> On 2/22/18, 11:49 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:
>
> >Alex,
> >
> >So in my css I cannot do such things ?
> >
> >global {
> >   IStatesImpl: ClassReference("org.apache.royale.core.SimpleStatesImpl")
> ;
> >}
>
> That will still work, because IStatesImpl is not css-compliant, so it is
> only available via ValuesManager and ValuesManager knows to use "global"
> selector as the default.
>
> -Alex
>
> >
> >
> >2018-02-22 19:38 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
> >
> >> Ahh that is what you mean! :) Good idea. I will try in the next week
> >>play
> >> with that! :)
> >>
> >> Thanks Harbs for clarification :)
> >> Piotr
> >>
> >> 2018-02-22 18:59 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >>
> >>> Yep.  It would fun to see what APIs Moonshine itself uses.
> >>>
> >>> -Alex
> >>>
> >>> On 2/22/18, 9:48 AM, "Gabe Harbs" <ha...@gmail.com> wrote:
> >>>
> >>> >I think Alex was suggesting to run it on the Moonshine *codebase*.
> >>> >
> >>> >> On Feb 22, 2018, at 7:39 PM, Piotr Zarzycki
> >>><piotrzarzycki21@gmail.com
> >>> >
> >>> >>wrote:
> >>> >>
> >>> >> Yep. That's what I suggested to Alina, because she was started to
> >>>use
> >>> >> Moonshine. I think it's doable also through the VSCode. In the end
> >>>it
> >>> is
> >>> >> all about passing that argument as additional compiler options.
> >>> >>
> >>> >>
> >>> >>
> >>> >> 2018-02-22 18:36 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >>> >>
> >>> >>> Isn't Moonshine also a SWF-based app?  Could try it there too.
> >>> >>>
> >>> >>> -Alex
> >>> >>>
> >>> >>> On 2/22/18, 9:31 AM, "Piotr Zarzycki" <pi...@gmail.com>
> >>> >>>wrote:
> >>> >>>
> >>> >>>> Carlos,
> >>> >>>>
> >>> >>>> It would be great to get that report from your application!
> >>> >>>>
> >>> >>>> Thanks, Piotr
> >>> >>>>
> >>> >>>> 2018-02-22 18:17 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >>> >>>>
> >>> >>>>> Your point of view is valid, but it might depend on the kind of
> >>> >>>>> application.  Some might have 100's of views to port, others
> >>>might
> >>> >>>>>only
> >>> >>>>> have 2 or 3 views and a million lines of business logic.
> >>> >>>>>
> >>> >>>>> In another thread I mentioned the -api-report option I added.  It
> >>> >>>>>would
> >>> >>>>> be
> >>> >>>>> interesting for folks to try getting API reports on their Flex
> >>>apps
> >>> >>>>>so
> >>> >>>>> we
> >>> >>>>> can see what folks are using so we can use that in making
> >>>decisions.
> >>> >>>>>
> >>> >>>>> My 2 cents,
> >>> >>>>> -Alex
> >>> >>>>>
> >>> >>>>> On 2/22/18, 8:39 AM, "carlos.rovira@gmail.com on behalf of
> Carlos
> >>> >>>>> Rovira"
> >>> >>>>> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
> >>> wrote:
> >>> >>>>>
> >>> >>>>>> Without know nothing about the solution I want to share a
> >>>though: I
> >>> >>>>> think
> >>> >>>>>> the implementation of all the things related to visuals (and
> >>>css is
> >>> >>>>> one of
> >>> >>>>>> them) is completely different in Royale to what it was in flex,
> >>>so
> >>> >>>>> maybe
> >>> >>>>>> we
> >>> >>>>>> should not be worried that CSS is not following main flex rules.
> >>> >>>>>> For me UX in royale must be done from scratch, if someone is
> >>> >>>>> migrating, we
> >>> >>>>>> can only provide some basic *structure* similar to what Flex
> >>>was.
> >>> >>>>>>But
> >>> >>>>>> that's only some kind of guide and could mean around 5-10% of
> >>>what
> >>> >>>>>>they
> >>> >>>>>> must to migrate. So this is the opposite to things more related
> >>>to
> >>> >>>>>> "business" (like the ArrayCollection disscussion we made some
> >>>days
> >>> >>>>> ago),
> >>> >>>>>> in
> >>> >>>>>> this case, there's very few to save from a flex codebase point
> >>>of
> >>> >>>>>>view,
> >>> >>>>>> and
> >>> >>>>>> CSS is one of the things I don't expect to reuse if I come from
> >>> flex
> >>> >>>>>> codebase.
> >>> >>>>>>
> >>> >>>>>>
> >>> >>>>>>
> >>> >>>>>> 2018-02-22 17:27 GMT+01:00 Alex Harui
> >>><ah...@adobe.com.invalid>:
> >>> >>>>>>
> >>> >>>>>>> Well, it might be a migration issue in the sense that you could
> >>> >>>>>>>use a
> >>> >>>>>>> selector called "global" in Flex and it would become the
> >>>default
> >>> >>>>> value
> >>> >>>>>>> for
> >>> >>>>>>> styles.
> >>> >>>>>>>
> >>> >>>>>>> Flex and Royale CSS has non-compliant CSS in it like
> >>>"cffHinting"
> >>> >>>>>>>or
> >>> >>>>>>> "focusSkin" in Flex or "IStatesImpl" in Royale.  Non-compliant
> >>> >>>>>>>styles
> >>> >>>>>>> are
> >>> >>>>>>> not emitted to the final .css file since the browser has no use
> >>> for
> >>> >>>>>>> them,
> >>> >>>>>>> but are kept in a data structure used by ValuesManager.  If you
> >>> use
> >>> >>>>>>> "global" for non-compliant style properties, it will work in
> >>> Royale
> >>> >>>>> like
> >>> >>>>>>> it did in Flex, but if you use "global" to try to set the
> >>> >>>>>>>fontFamily
> >>> >>>>> to
> >>> >>>>>>> Gothic everywhere in your app it will not work in Royale as it
> >>>did
> >>> >>>>>>>in
> >>> >>>>>>> Flex.
> >>> >>>>>>>
> >>> >>>>>>> Until this change we renamed "global" in the final CSS to "*"
> >>>so
> >>> it
> >>> >>>>>>> would
> >>> >>>>>>> have a more global effect, but I took that out because I'm not
> >>> sure
> >>> >>>>> that
> >>> >>>>>>> "*" is the equivalent since "*" actually has precedence over
> >>>Type
> >>> >>>>>>> Selectors.  I'm not quite sure how to create the true
> >>>equivalent
> >>> of
> >>> >>>>> Flex
> >>> >>>>>>> global styles.
> >>> >>>>>>>
> >>> >>>>>>> We could rename what I'm currently calling "global" in Royale
> >>>to
> >>> >>>>>>> something
> >>> >>>>>>> else like "royale" and go back to renaming "global" to "*",
> >>>but I
> >>> >>>>> think
> >>> >>>>>>> that will end up with complaints.  I think it might be right
> >>>for
> >>> >>>>>>>the
> >>> >>>>>>> migration docs to mention this and offer alternatives like
> >>>moving
> >>> >>>>> some
> >>> >>>>>>> styles from global to "*" if they understand the impact of
> >>>doing
> >>> >>>>>>>so.
> >>> >>>>>>> Also, everything is currently a child of the Application so
> >>> setting
> >>> >>>>>>> Application styles should have a global effect, but I think
> >>>both
> >>> >>>>>>>will
> >>> >>>>>>> still override type selectors.
> >>> >>>>>>>
> >>> >>>>>>> My 2 cents,
> >>> >>>>>>> -Alex
> >>> >>>>>>>
> >>> >>>>>>> On 2/22/18, 7:44 AM, "carlos.rovira@gmail.com on behalf of
> >>>Carlos
> >>> >>>>>>> Rovira"
> >>> >>>>>>> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
> >>> >>> wrote:
> >>> >>>>>>>
> >>> >>>>>>>> Hi Andrew, this is new for Apache Royale since is how to deal
> >>> with
> >>> >>>>> CSS
> >>> >>>>>>> and
> >>> >>>>>>>> how browsers manage it.
> >>> >>>>>>>> So maybe not much relation with Flex in this case
> >>> >>>>>>>>
> >>> >>>>>>>> Best
> >>> >>>>>>>>
> >>> >>>>>>>> Carlos
> >>> >>>>>>>>
> >>> >>>>>>>>
> >>> >>>>>>>>
> >>> >>>>>>>> 2018-02-22 13:27 GMT+01:00 Andrew Wetmore
> >>><co...@gmail.com>:
> >>> >>>>>>>>
> >>> >>>>>>>>> Is this a migration issue for Flex apps, or is this specific
> >>>to
> >>> >>>>>>> Royale?
> >>> >>>>>>>>>
> >>> >>>>>>>>> On Thu, Feb 22, 2018 at 5:29 AM, Alex Harui
> >>> >>>>>>> <ah...@adobe.com.invalid>
> >>> >>>>>>>>> wrote:
> >>> >>>>>>>>>
> >>> >>>>>>>>>>
> >>> >>>>>>>>>>
> >>> >>>>>>>>>> On 2/22/18, 1:12 AM, "carlos.rovira@gmail.com on behalf of
> >>> >>>>> Carlos
> >>> >>>>>>>>> Rovira"
> >>> >>>>>>>>>> <carlos.rovira@gmail.com on behalf of
> >>>carlosrovira@apache.org>
> >>> >>>>>>> wrote:
> >>> >>>>>>>>>>
> >>> >>>>>>>>>>> Hi Alex,
> >>> >>>>>>>>>>>
> >>> >>>>>>>>>>> I think this is a very good change since I had many
> >>>problems
> >>> >>>>> with
> >>> >>>>>>> MDL
> >>> >>>>>>>>> and
> >>> >>>>>>>>>>> have to use the exclusion on CSS to make it work properly.
> >>> >>>>>>>>>>>
> >>> >>>>>>>>>>> If I understand ok, I should see fonts at 16px, that I
> >>>think
> >>> is
> >>> >>>>>>>>> nowadays
> >>> >>>>>>>>>>> the standard for "normal" text, so good.
> >>> >>>>>>>>>>>
> >>> >>>>>>>>>>> What I don't understand is what basic should making any
> >>> change.
> >>> >>>>>>> From
> >>> >>>>>>>>> my
> >>> >>>>>>>>>>> point of view basic is as the name says...basic, and I
> >>>don't
> >>> >>>>> like
> >>> >>>>>>> to
> >>> >>>>>>>>> make
> >>> >>>>>>>>>>> fonts 12px.
> >>> >>>>>>>>>>> I only expect in basic to see the wiring of beads like
> >>>views,
> >>> >>>>>>> models
> >>> >>>>>>>>> and
> >>> >>>>>>>>>>> controllers. But I think almost no CSS rules should be
> >>>there,
> >>> >>>>>>> hence
> >>> >>>>>>>>> the
> >>> >>>>>>>>>>> basic point at the lowest level, where users only have the
> >>> >>>>> basics
> >>> >>>>>>> of
> >>> >>>>>>>>> what
> >>> >>>>>>>>>>> royale provides without any customization.
> >>> >>>>>>>>>>>
> >>> >>>>>>>>>>> That's how I see it
> >>> >>>>>>>>>>
> >>> >>>>>>>>>> I think I agree.  That's sort of where I was heading by
> >>> >>>>> creating a
> >>> >>>>>>>>>> separate theme in basic.css.  Basic.css is separate from the
> >>> >>>>>>>>> defaults.css
> >>> >>>>>>>>>> in Basic.swc.  Maybe we should give basic.css a different
> >>>name.
> >>> >>>>>>> The
> >>> >>>>>>>>> goal
> >>> >>>>>>>>>> of basic.css was to give our examples and anybody else
> >>>building
> >>> >>>>> the
> >>> >>>>>>>>>> smallest app on Basic a more Flex-like look.  I just don't
> >>> think
> >>> >>>>>>> Serif
> >>> >>>>>>>>>> 16px looks good.  It is true that more traditional CSS
> >>>visual
> >>> >>>>>>> styles
> >>> >>>>>>>>> can
> >>> >>>>>>>>>> be moved from the Basic defaults.css to whatever we call
> >>> >>>>> basic.css.
> >>> >>>>>>>>>> Someone else can do that work once we see how this change
> >>> >>>>> affects
> >>> >>>>>>>>> Vivid
> >>> >>>>>>>>>> and other themes like MDL.  I'm not sure if every component
> >>>set
> >>> >>>>>>> should
> >>> >>>>>>>>>> have a separate theme file or SWC as well.  Or if there are
> >>>a
> >>> >>>>> few
> >>> >>>>>>>>> visual
> >>> >>>>>>>>>> styles in that should remain in Basic's defaults.css so that
> >>> >>>>> other
> >>> >>>>>>>>>> component sets don't have to repeat that information.
> >>> >>>>>>>>>>
> >>> >>>>>>>>>> -Alex
> >>> >>>>>>>>>>>
> >>> >>>>>>>>>>>
> >>> >>>>>>>>>>> 2018-02-22 2:43 GMT+01:00 Alex Harui
> >>> >>>>> <ah...@adobe.com.invalid>:
> >>> >>>>>>>>>>>
> >>> >>>>>>>>>>>> Hi,
> >>> >>>>>>>>>>>>
> >>> >>>>>>>>>>>> Royale has been using the universal selector for a while
> >>>now
> >>> >>>>> to
> >>> >>>>>>> set
> >>> >>>>>>>>>>>> defaults for Royale apps.  However, that caused problems
> >>>with
> >>> >>>>>>> other
> >>> >>>>>>>>>>>> third-party CSS.
> >>> >>>>>>>>>>>>
> >>> >>>>>>>>>>>> I just pushed changes to the compiler and framework so
> >>>that
> >>> >>>>> we
> >>> >>>>>>>>> don't
> >>> >>>>>>>>> use
> >>> >>>>>>>>>>>> the * selector.  Instead we will be using the * selector
> >>> >>>>>>> properly
> >>> >>>>>>>>> if
> >>> >>>>>>>>>>>> provided by the users CSS and we are using a special
> >>>selector
> >>> >>>>>>>>> called
> >>> >>>>>>>>>>>> "global" as the "browser defaults" and the final selector
> >>>in
> >>> >>>>> the
> >>> >>>>>>>>> lookup
> >>> >>>>>>>>>>>> we
> >>> >>>>>>>>>>>> manage.
> >>> >>>>>>>>>>>>
> >>> >>>>>>>>>>>> This should eliminate the need for other component sets to
> >>> >>>>> try
> >>> >>>>>>> to
> >>> >>>>>>>>>>>> exclude
> >>> >>>>>>>>>>>> the defaults.css from Basic.
> >>> >>>>>>>>>>>>
> >>> >>>>>>>>>>>> You may find that text that once looked nice now is 16px
> >>> >>>>> Serif.
> >>> >>>>>>>>> That's
> >>> >>>>>>>>>>>> because we are no longer using inheritance to set the
> >>> >>>>>>> font-family
> >>> >>>>>>>>> on
> >>> >>>>>>>>> all
> >>> >>>>>>>>>>>> components.  The browsers do not seem to deploy a default
> >>> >>>>>>>>> font-family
> >>> >>>>>>>>> so
> >>> >>>>>>>>>>>> the SWF side shouldn't either.  IOW, if you just put some
> >>> >>>>> plain
> >>> >>>>>>>>> text
> >>> >>>>>>>>> in
> >>> >>>>>>>>>>>> an
> >>> >>>>>>>>>>>> HTML file it shows up as 16px Serif.  If you see 16px
> >>>Serif,
> >>> >>>>>>> let us
> >>> >>>>>>>>> know
> >>> >>>>>>>>>>>> which component is showing that by default.
> >>> >>>>>>>>>>>>
> >>> >>>>>>>>>>>> However, we don't really want to make 16px Serif the
> >>>default
> >>> >>>>>>> font
> >>> >>>>>>>>> in
> >>> >>>>>>>>> our
> >>> >>>>>>>>>>>> examples, so I created a CSS-based theme in
> >>> >>>>>>> themes/Basic/basic.css
> >>> >>>>>>>>> and
> >>> >>>>>>>>>>>> put
> >>> >>>>>>>>>>>> 12px Sans-Serif as the default for a bunch of type
> >>>selectors
> >>> >>>>>>> since
> >>> >>>>>>>>> that
> >>> >>>>>>>>>>>> was what our examples were using.  I did not create a
> >>>default
> >>> >>>>>>> font
> >>> >>>>>>>>> for
> >>> >>>>>>>>>>>> Application as that would become the default for other
> >>> >>>>> component
> >>> >>>>>>>>> sets
> >>> >>>>>>>>>>>> mixed into a Royale app unless otherwise specified.
> >>> >>>>> Component
> >>> >>>>>>> sets
> >>> >>>>>>>>> with
> >>> >>>>>>>>>>>> different looks can use a different theme and get
> >>>different
> >>> >>>>>>>>> defaults.
> >>> >>>>>>>>>>>>
> >>> >>>>>>>>>>>> So, in sum, without any theme, we want the SWF side to
> >>>look
> >>> >>>>> like
> >>> >>>>>>>>> the
> >>> >>>>>>>>>>>> browser and have 16px Serif.  But the royale-config.xml
> >>>will
> >>> >>>>>>>>> specify
> >>> >>>>>>>>>>>> themes/Basic/basic.css as the default theme giving the
> >>> >>>>> examples
> >>> >>>>>>> and
> >>> >>>>>>>>> most
> >>> >>>>>>>>>>>> people's unstyled apps a more Flex-like look by using
> >>> >>>>>>> sans-serif.
> >>> >>>>>>>>> More
> >>> >>>>>>>>>>>> type selectors may need to be added to
> >>> >>>>> themes/Basic/basic.css in
> >>> >>>>>>>>> order
> >>> >>>>>>>>>>>> to
> >>> >>>>>>>>>>>> get sans serif everywhere by default without putting
> >>> >>>>>>> font-family on
> >>> >>>>>>>>>>>> Application.  That way, when you switch to another theme,
> >>> >>>>> like
> >>> >>>>>>> the
> >>> >>>>>>>>> Vivid
> >>> >>>>>>>>>>>> that Carlos is working on, there should be fewer, if any,
> >>> >>>>>>> default
> >>> >>>>>>>>> values
> >>> >>>>>>>>>>>> that screw up the other theme.
> >>> >>>>>>>>>>>>
> >>> >>>>>>>>>>>> Thanks,
> >>> >>>>>>>>>>>> -Alex
> >>> >>>>>>>>>>>>
> >>> >>>>>>>>>>>>
> >>> >>>>>>>>>>>
> >>> >>>>>>>>>>>
> >>> >>>>>>>>>>> --
> >>> >>>>>>>>>>> Carlos Rovira
> >>> >>>>>>>>>>> https://na01.safelinks.protection.outlook.com/?url=
> >>> >>>>>>>>>> http%3A%2F%2Fabout.me%2
> >>> >>>>>>>>>>> Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> >>> >>>>>>>>>> 7C5807444789504e2f3d8c08d5
> >>> >>>>>>>>>>> 79d46f81%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >>> >>>>>>>>>> 7C636548875665083262&s
> >>> >>>>>>>>>>> data=MjSAbOXuFPTLeafKWOYuDDbc8oMn4YbsZ6pzwxYA6pg%3D&
> >>> reserved=0
> >>> >>>>>>>>>>
> >>> >>>>>>>>>>
> >>> >>>>>>>>>
> >>> >>>>>>>>>
> >>> >>>>>>>>> --
> >>> >>>>>>>>> Andrew Wetmore
> >>> >>>>>>>>>
> >>> >>>>>>>>>
> >>> >>>>>>>>> https://na01.safelinks.protection.outlook.com/?url=
> >>> >>>>>>> http%3A%2F%2Fcottage14
> >>> >>>>>>>>> .blogspot.com%2F&data=02%7C01%7Caharui%40adobe.com%
> >>> >>>>>>> 7Cc2d5d47c21084996345c
> >>> >>>>>>>>> 08d57a0b4647%7Cfa7b1b5a7b34438794aed2c178de
> >>> >>>>>>> cee1%7C0%7C0%7C636549111204032
> >>> >>>>>>>
> >>> >>>>>>>
> >>> >>>>>>>767&sdata=5DOBst1ytHpKOuKlMicXtNr8AfJuWiEbXpk%
> >>> 2BmvUspLw%3D&reserved=
> >>> >>>>>>>0
> >>> >>>>>>>>>
> >>> >>>>>>>>
> >>> >>>>>>>>
> >>> >>>>>>>>
> >>> >>>>>>>> --
> >>> >>>>>>>> Carlos Rovira
> >>> >>>>>>>> https://na01.safelinks.protection.outlook.com/?url=
> >>> >>>>>>> http%3A%2F%2Fabout.me%2
> >>> >>>>>>>> Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> >>> >>>>>>> 7Cc2d5d47c21084996345c08d5
> >>> >>>>>>>> 7a0b4647%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >>> >>>>>>> 7C636549111204032767&s
> >>> >>>>>>>>
> >>>data=y64W72CO7WgyBNYCVAKpczGJaisl3vwuCu00%2FWx1sVA%3D&reserved=0
> >>> >>>>>>>
> >>> >>>>>>>
> >>> >>>>>>
> >>> >>>>>>
> >>> >>>>>> --
> >>> >>>>>> Carlos Rovira
> >>> >>>>>> https://na01.safelinks.protection.outlook.com/?url=
> >>> >>>>> http%3A%2F%2Fabout.me%2
> >>> >>>>>> Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> >>> >>>>> 7C16c51d3899b54f56d1fb08d5
> >>> >>>>>> 7a12f462%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >>> >>>>> 7C636549144184428545&s
> >>> >>>>>> data=9atjDHHuhnuufVBQPZuUzM8vf30vf9Q0CP81XX8bXkg%3D&reserved=0
> >>> >>>>>
> >>> >>>>>
> >>> >>>>
> >>> >>>>
> >>> >>>> --
> >>> >>>>
> >>> >>>> Piotr Zarzycki
> >>> >>>>
> >>> >>>> Patreon:
> >>> >>>> *https://na01.safelinks.protection.outlook.com/?url=
> >>> >>> https%3A%2F%2Fwww.patr
> >>> >>>> eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
> >>> >>> 7C11a52efaa6da4f
> >>> >>>> e5a00c08d57a1a1c94%7Cfa7b1b5a7b34438794aed2c178de
> >>> >>> cee1%7C0%7C0%7C6365491749
> >>> >>>> 23040063&sdata=7%2F1v%2FiuUD7JOZJD87HPTozZD972I8SLrn
> >>> >>> q5bGZRkKbc%3D&reserved
> >>> >>>> =0
> >>> >>>> <https://na01.safelinks.protection.outlook.com/?url=
> >>> >>> https%3A%2F%2Fwww.patr
> >>> >>>> eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
> >>> >>> 7C11a52efaa6da4f
> >>> >>>> e5a00c08d57a1a1c94%7Cfa7b1b5a7b34438794aed2c178de
> >>> >>> cee1%7C0%7C0%7C6365491749
> >>> >>>> 23040063&sdata=7%2F1v%2FiuUD7JOZJD87HPTozZD972I8SLrn
> >>> >>> q5bGZRkKbc%3D&reserved
> >>> >>>> =0>*
> >>> >>>
> >>> >>>
> >>> >>
> >>> >>
> >>> >> --
> >>> >>
> >>> >> Piotr Zarzycki
> >>> >>
> >>> >> Patreon:
> >>> >>*https://na01.safelinks.protection.outlook.com/?url=https%
> >>> 3A%2F%2Fwww.pat
> >>> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
> >>> %7Caaee947095b2
> >>> >>46b08a6908d57a1c7616%7Cfa7b1b5a7b34438794aed2c178decee1%
> >>> 7C0%7C0%7C6365491
> >>> >>85020033040&sdata=Tlqm35Kweb5G0sbkEWDvd21YZ7sajeK8P4u9c%
> >>> 2B5luSQ%3D&reserv
> >>> >>ed=0
> >>> >>
> >>> >><https://na01.safelinks.protection.outlook.com/?url=https%
> >>> 3A%2F%2Fwww.pat
> >>> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
> >>> %7Caaee947095b2
> >>> >>46b08a6908d57a1c7616%7Cfa7b1b5a7b34438794aed2c178decee1%
> >>> 7C0%7C0%7C6365491
> >>> >>85020033040&sdata=Tlqm35Kweb5G0sbkEWDvd21YZ7sajeK8P4u9c%
> >>> 2B5luSQ%3D&reserv
> >>> >>ed=0>*
> >>> >
> >>>
> >>>
> >>
> >>
> >> --
> >>
> >> Piotr Zarzycki
> >>
> >> Patreon:
> >>*https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.pat
> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
> %7C9443687ba088
> >>4b97efb808d57a2d6183%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6365492
> >>57694381614&sdata=KS5AO15LOFRPIj9fpbfJ3AMxvs%
> 2Font7UtmHeGt%2F68TY%3D&rese
> >>rved=0
> >>
> >><https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.pat
> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
> %7C9443687ba088
> >>4b97efb808d57a2d6183%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6365492
> >>57694381614&sdata=KS5AO15LOFRPIj9fpbfJ3AMxvs%
> 2Font7UtmHeGt%2F68TY%3D&rese
> >>rved=0>*
> >>
> >
> >
> >
> >--
> >
> >Piotr Zarzycki
> >
> >Patreon:
> >*https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.patr
> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
> 7C9443687ba0884b
> >97efb808d57a2d6183%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6365492576
> >94381614&sdata=KS5AO15LOFRPIj9fpbfJ3AMxvs%2Font7UtmHeGt%2F68TY%3D&
> reserved
> >=0
> ><https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.patr
> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
> 7C9443687ba0884b
> >97efb808d57a2d6183%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6365492576
> >94381614&sdata=KS5AO15LOFRPIj9fpbfJ3AMxvs%2Font7UtmHeGt%2F68TY%3D&
> reserved
> >=0>*
>
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Removing the * selector

Posted by Alex Harui <ah...@adobe.com.INVALID>.
On 2/22/18, 11:49 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:

>Alex,
>
>So in my css I cannot do such things ?
>
>global {
>   IStatesImpl: ClassReference("org.apache.royale.core.SimpleStatesImpl");
>}

That will still work, because IStatesImpl is not css-compliant, so it is
only available via ValuesManager and ValuesManager knows to use "global"
selector as the default.

-Alex

>
>
>2018-02-22 19:38 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
>> Ahh that is what you mean! :) Good idea. I will try in the next week
>>play
>> with that! :)
>>
>> Thanks Harbs for clarification :)
>> Piotr
>>
>> 2018-02-22 18:59 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>>
>>> Yep.  It would fun to see what APIs Moonshine itself uses.
>>>
>>> -Alex
>>>
>>> On 2/22/18, 9:48 AM, "Gabe Harbs" <ha...@gmail.com> wrote:
>>>
>>> >I think Alex was suggesting to run it on the Moonshine *codebase*.
>>> >
>>> >> On Feb 22, 2018, at 7:39 PM, Piotr Zarzycki
>>><piotrzarzycki21@gmail.com
>>> >
>>> >>wrote:
>>> >>
>>> >> Yep. That's what I suggested to Alina, because she was started to
>>>use
>>> >> Moonshine. I think it's doable also through the VSCode. In the end
>>>it
>>> is
>>> >> all about passing that argument as additional compiler options.
>>> >>
>>> >>
>>> >>
>>> >> 2018-02-22 18:36 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>>> >>
>>> >>> Isn't Moonshine also a SWF-based app?  Could try it there too.
>>> >>>
>>> >>> -Alex
>>> >>>
>>> >>> On 2/22/18, 9:31 AM, "Piotr Zarzycki" <pi...@gmail.com>
>>> >>>wrote:
>>> >>>
>>> >>>> Carlos,
>>> >>>>
>>> >>>> It would be great to get that report from your application!
>>> >>>>
>>> >>>> Thanks, Piotr
>>> >>>>
>>> >>>> 2018-02-22 18:17 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>>> >>>>
>>> >>>>> Your point of view is valid, but it might depend on the kind of
>>> >>>>> application.  Some might have 100's of views to port, others
>>>might
>>> >>>>>only
>>> >>>>> have 2 or 3 views and a million lines of business logic.
>>> >>>>>
>>> >>>>> In another thread I mentioned the -api-report option I added.  It
>>> >>>>>would
>>> >>>>> be
>>> >>>>> interesting for folks to try getting API reports on their Flex
>>>apps
>>> >>>>>so
>>> >>>>> we
>>> >>>>> can see what folks are using so we can use that in making
>>>decisions.
>>> >>>>>
>>> >>>>> My 2 cents,
>>> >>>>> -Alex
>>> >>>>>
>>> >>>>> On 2/22/18, 8:39 AM, "carlos.rovira@gmail.com on behalf of Carlos
>>> >>>>> Rovira"
>>> >>>>> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
>>> wrote:
>>> >>>>>
>>> >>>>>> Without know nothing about the solution I want to share a
>>>though: I
>>> >>>>> think
>>> >>>>>> the implementation of all the things related to visuals (and
>>>css is
>>> >>>>> one of
>>> >>>>>> them) is completely different in Royale to what it was in flex,
>>>so
>>> >>>>> maybe
>>> >>>>>> we
>>> >>>>>> should not be worried that CSS is not following main flex rules.
>>> >>>>>> For me UX in royale must be done from scratch, if someone is
>>> >>>>> migrating, we
>>> >>>>>> can only provide some basic *structure* similar to what Flex
>>>was.
>>> >>>>>>But
>>> >>>>>> that's only some kind of guide and could mean around 5-10% of
>>>what
>>> >>>>>>they
>>> >>>>>> must to migrate. So this is the opposite to things more related
>>>to
>>> >>>>>> "business" (like the ArrayCollection disscussion we made some
>>>days
>>> >>>>> ago),
>>> >>>>>> in
>>> >>>>>> this case, there's very few to save from a flex codebase point
>>>of
>>> >>>>>>view,
>>> >>>>>> and
>>> >>>>>> CSS is one of the things I don't expect to reuse if I come from
>>> flex
>>> >>>>>> codebase.
>>> >>>>>>
>>> >>>>>>
>>> >>>>>>
>>> >>>>>> 2018-02-22 17:27 GMT+01:00 Alex Harui
>>><ah...@adobe.com.invalid>:
>>> >>>>>>
>>> >>>>>>> Well, it might be a migration issue in the sense that you could
>>> >>>>>>>use a
>>> >>>>>>> selector called "global" in Flex and it would become the
>>>default
>>> >>>>> value
>>> >>>>>>> for
>>> >>>>>>> styles.
>>> >>>>>>>
>>> >>>>>>> Flex and Royale CSS has non-compliant CSS in it like
>>>"cffHinting"
>>> >>>>>>>or
>>> >>>>>>> "focusSkin" in Flex or "IStatesImpl" in Royale.  Non-compliant
>>> >>>>>>>styles
>>> >>>>>>> are
>>> >>>>>>> not emitted to the final .css file since the browser has no use
>>> for
>>> >>>>>>> them,
>>> >>>>>>> but are kept in a data structure used by ValuesManager.  If you
>>> use
>>> >>>>>>> "global" for non-compliant style properties, it will work in
>>> Royale
>>> >>>>> like
>>> >>>>>>> it did in Flex, but if you use "global" to try to set the
>>> >>>>>>>fontFamily
>>> >>>>> to
>>> >>>>>>> Gothic everywhere in your app it will not work in Royale as it
>>>did
>>> >>>>>>>in
>>> >>>>>>> Flex.
>>> >>>>>>>
>>> >>>>>>> Until this change we renamed "global" in the final CSS to "*"
>>>so
>>> it
>>> >>>>>>> would
>>> >>>>>>> have a more global effect, but I took that out because I'm not
>>> sure
>>> >>>>> that
>>> >>>>>>> "*" is the equivalent since "*" actually has precedence over
>>>Type
>>> >>>>>>> Selectors.  I'm not quite sure how to create the true
>>>equivalent
>>> of
>>> >>>>> Flex
>>> >>>>>>> global styles.
>>> >>>>>>>
>>> >>>>>>> We could rename what I'm currently calling "global" in Royale
>>>to
>>> >>>>>>> something
>>> >>>>>>> else like "royale" and go back to renaming "global" to "*",
>>>but I
>>> >>>>> think
>>> >>>>>>> that will end up with complaints.  I think it might be right
>>>for
>>> >>>>>>>the
>>> >>>>>>> migration docs to mention this and offer alternatives like
>>>moving
>>> >>>>> some
>>> >>>>>>> styles from global to "*" if they understand the impact of
>>>doing
>>> >>>>>>>so.
>>> >>>>>>> Also, everything is currently a child of the Application so
>>> setting
>>> >>>>>>> Application styles should have a global effect, but I think
>>>both
>>> >>>>>>>will
>>> >>>>>>> still override type selectors.
>>> >>>>>>>
>>> >>>>>>> My 2 cents,
>>> >>>>>>> -Alex
>>> >>>>>>>
>>> >>>>>>> On 2/22/18, 7:44 AM, "carlos.rovira@gmail.com on behalf of
>>>Carlos
>>> >>>>>>> Rovira"
>>> >>>>>>> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
>>> >>> wrote:
>>> >>>>>>>
>>> >>>>>>>> Hi Andrew, this is new for Apache Royale since is how to deal
>>> with
>>> >>>>> CSS
>>> >>>>>>> and
>>> >>>>>>>> how browsers manage it.
>>> >>>>>>>> So maybe not much relation with Flex in this case
>>> >>>>>>>>
>>> >>>>>>>> Best
>>> >>>>>>>>
>>> >>>>>>>> Carlos
>>> >>>>>>>>
>>> >>>>>>>>
>>> >>>>>>>>
>>> >>>>>>>> 2018-02-22 13:27 GMT+01:00 Andrew Wetmore
>>><co...@gmail.com>:
>>> >>>>>>>>
>>> >>>>>>>>> Is this a migration issue for Flex apps, or is this specific
>>>to
>>> >>>>>>> Royale?
>>> >>>>>>>>>
>>> >>>>>>>>> On Thu, Feb 22, 2018 at 5:29 AM, Alex Harui
>>> >>>>>>> <ah...@adobe.com.invalid>
>>> >>>>>>>>> wrote:
>>> >>>>>>>>>
>>> >>>>>>>>>>
>>> >>>>>>>>>>
>>> >>>>>>>>>> On 2/22/18, 1:12 AM, "carlos.rovira@gmail.com on behalf of
>>> >>>>> Carlos
>>> >>>>>>>>> Rovira"
>>> >>>>>>>>>> <carlos.rovira@gmail.com on behalf of
>>>carlosrovira@apache.org>
>>> >>>>>>> wrote:
>>> >>>>>>>>>>
>>> >>>>>>>>>>> Hi Alex,
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> I think this is a very good change since I had many
>>>problems
>>> >>>>> with
>>> >>>>>>> MDL
>>> >>>>>>>>> and
>>> >>>>>>>>>>> have to use the exclusion on CSS to make it work properly.
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> If I understand ok, I should see fonts at 16px, that I
>>>think
>>> is
>>> >>>>>>>>> nowadays
>>> >>>>>>>>>>> the standard for "normal" text, so good.
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> What I don't understand is what basic should making any
>>> change.
>>> >>>>>>> From
>>> >>>>>>>>> my
>>> >>>>>>>>>>> point of view basic is as the name says...basic, and I
>>>don't
>>> >>>>> like
>>> >>>>>>> to
>>> >>>>>>>>> make
>>> >>>>>>>>>>> fonts 12px.
>>> >>>>>>>>>>> I only expect in basic to see the wiring of beads like
>>>views,
>>> >>>>>>> models
>>> >>>>>>>>> and
>>> >>>>>>>>>>> controllers. But I think almost no CSS rules should be
>>>there,
>>> >>>>>>> hence
>>> >>>>>>>>> the
>>> >>>>>>>>>>> basic point at the lowest level, where users only have the
>>> >>>>> basics
>>> >>>>>>> of
>>> >>>>>>>>> what
>>> >>>>>>>>>>> royale provides without any customization.
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> That's how I see it
>>> >>>>>>>>>>
>>> >>>>>>>>>> I think I agree.  That's sort of where I was heading by
>>> >>>>> creating a
>>> >>>>>>>>>> separate theme in basic.css.  Basic.css is separate from the
>>> >>>>>>>>> defaults.css
>>> >>>>>>>>>> in Basic.swc.  Maybe we should give basic.css a different
>>>name.
>>> >>>>>>> The
>>> >>>>>>>>> goal
>>> >>>>>>>>>> of basic.css was to give our examples and anybody else
>>>building
>>> >>>>> the
>>> >>>>>>>>>> smallest app on Basic a more Flex-like look.  I just don't
>>> think
>>> >>>>>>> Serif
>>> >>>>>>>>>> 16px looks good.  It is true that more traditional CSS
>>>visual
>>> >>>>>>> styles
>>> >>>>>>>>> can
>>> >>>>>>>>>> be moved from the Basic defaults.css to whatever we call
>>> >>>>> basic.css.
>>> >>>>>>>>>> Someone else can do that work once we see how this change
>>> >>>>> affects
>>> >>>>>>>>> Vivid
>>> >>>>>>>>>> and other themes like MDL.  I'm not sure if every component
>>>set
>>> >>>>>>> should
>>> >>>>>>>>>> have a separate theme file or SWC as well.  Or if there are
>>>a
>>> >>>>> few
>>> >>>>>>>>> visual
>>> >>>>>>>>>> styles in that should remain in Basic's defaults.css so that
>>> >>>>> other
>>> >>>>>>>>>> component sets don't have to repeat that information.
>>> >>>>>>>>>>
>>> >>>>>>>>>> -Alex
>>> >>>>>>>>>>>
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> 2018-02-22 2:43 GMT+01:00 Alex Harui
>>> >>>>> <ah...@adobe.com.invalid>:
>>> >>>>>>>>>>>
>>> >>>>>>>>>>>> Hi,
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> Royale has been using the universal selector for a while
>>>now
>>> >>>>> to
>>> >>>>>>> set
>>> >>>>>>>>>>>> defaults for Royale apps.  However, that caused problems
>>>with
>>> >>>>>>> other
>>> >>>>>>>>>>>> third-party CSS.
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> I just pushed changes to the compiler and framework so
>>>that
>>> >>>>> we
>>> >>>>>>>>> don't
>>> >>>>>>>>> use
>>> >>>>>>>>>>>> the * selector.  Instead we will be using the * selector
>>> >>>>>>> properly
>>> >>>>>>>>> if
>>> >>>>>>>>>>>> provided by the users CSS and we are using a special
>>>selector
>>> >>>>>>>>> called
>>> >>>>>>>>>>>> "global" as the "browser defaults" and the final selector
>>>in
>>> >>>>> the
>>> >>>>>>>>> lookup
>>> >>>>>>>>>>>> we
>>> >>>>>>>>>>>> manage.
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> This should eliminate the need for other component sets to
>>> >>>>> try
>>> >>>>>>> to
>>> >>>>>>>>>>>> exclude
>>> >>>>>>>>>>>> the defaults.css from Basic.
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> You may find that text that once looked nice now is 16px
>>> >>>>> Serif.
>>> >>>>>>>>> That's
>>> >>>>>>>>>>>> because we are no longer using inheritance to set the
>>> >>>>>>> font-family
>>> >>>>>>>>> on
>>> >>>>>>>>> all
>>> >>>>>>>>>>>> components.  The browsers do not seem to deploy a default
>>> >>>>>>>>> font-family
>>> >>>>>>>>> so
>>> >>>>>>>>>>>> the SWF side shouldn't either.  IOW, if you just put some
>>> >>>>> plain
>>> >>>>>>>>> text
>>> >>>>>>>>> in
>>> >>>>>>>>>>>> an
>>> >>>>>>>>>>>> HTML file it shows up as 16px Serif.  If you see 16px
>>>Serif,
>>> >>>>>>> let us
>>> >>>>>>>>> know
>>> >>>>>>>>>>>> which component is showing that by default.
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> However, we don't really want to make 16px Serif the
>>>default
>>> >>>>>>> font
>>> >>>>>>>>> in
>>> >>>>>>>>> our
>>> >>>>>>>>>>>> examples, so I created a CSS-based theme in
>>> >>>>>>> themes/Basic/basic.css
>>> >>>>>>>>> and
>>> >>>>>>>>>>>> put
>>> >>>>>>>>>>>> 12px Sans-Serif as the default for a bunch of type
>>>selectors
>>> >>>>>>> since
>>> >>>>>>>>> that
>>> >>>>>>>>>>>> was what our examples were using.  I did not create a
>>>default
>>> >>>>>>> font
>>> >>>>>>>>> for
>>> >>>>>>>>>>>> Application as that would become the default for other
>>> >>>>> component
>>> >>>>>>>>> sets
>>> >>>>>>>>>>>> mixed into a Royale app unless otherwise specified.
>>> >>>>> Component
>>> >>>>>>> sets
>>> >>>>>>>>> with
>>> >>>>>>>>>>>> different looks can use a different theme and get
>>>different
>>> >>>>>>>>> defaults.
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> So, in sum, without any theme, we want the SWF side to
>>>look
>>> >>>>> like
>>> >>>>>>>>> the
>>> >>>>>>>>>>>> browser and have 16px Serif.  But the royale-config.xml
>>>will
>>> >>>>>>>>> specify
>>> >>>>>>>>>>>> themes/Basic/basic.css as the default theme giving the
>>> >>>>> examples
>>> >>>>>>> and
>>> >>>>>>>>> most
>>> >>>>>>>>>>>> people's unstyled apps a more Flex-like look by using
>>> >>>>>>> sans-serif.
>>> >>>>>>>>> More
>>> >>>>>>>>>>>> type selectors may need to be added to
>>> >>>>> themes/Basic/basic.css in
>>> >>>>>>>>> order
>>> >>>>>>>>>>>> to
>>> >>>>>>>>>>>> get sans serif everywhere by default without putting
>>> >>>>>>> font-family on
>>> >>>>>>>>>>>> Application.  That way, when you switch to another theme,
>>> >>>>> like
>>> >>>>>>> the
>>> >>>>>>>>> Vivid
>>> >>>>>>>>>>>> that Carlos is working on, there should be fewer, if any,
>>> >>>>>>> default
>>> >>>>>>>>> values
>>> >>>>>>>>>>>> that screw up the other theme.
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> Thanks,
>>> >>>>>>>>>>>> -Alex
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> --
>>> >>>>>>>>>>> Carlos Rovira
>>> >>>>>>>>>>> https://na01.safelinks.protection.outlook.com/?url=
>>> >>>>>>>>>> http%3A%2F%2Fabout.me%2
>>> >>>>>>>>>>> Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>>> >>>>>>>>>> 7C5807444789504e2f3d8c08d5
>>> >>>>>>>>>>> 79d46f81%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>>> >>>>>>>>>> 7C636548875665083262&s
>>> >>>>>>>>>>> data=MjSAbOXuFPTLeafKWOYuDDbc8oMn4YbsZ6pzwxYA6pg%3D&
>>> reserved=0
>>> >>>>>>>>>>
>>> >>>>>>>>>>
>>> >>>>>>>>>
>>> >>>>>>>>>
>>> >>>>>>>>> --
>>> >>>>>>>>> Andrew Wetmore
>>> >>>>>>>>>
>>> >>>>>>>>>
>>> >>>>>>>>> https://na01.safelinks.protection.outlook.com/?url=
>>> >>>>>>> http%3A%2F%2Fcottage14
>>> >>>>>>>>> .blogspot.com%2F&data=02%7C01%7Caharui%40adobe.com%
>>> >>>>>>> 7Cc2d5d47c21084996345c
>>> >>>>>>>>> 08d57a0b4647%7Cfa7b1b5a7b34438794aed2c178de
>>> >>>>>>> cee1%7C0%7C0%7C636549111204032
>>> >>>>>>>
>>> >>>>>>>
>>> >>>>>>>767&sdata=5DOBst1ytHpKOuKlMicXtNr8AfJuWiEbXpk%
>>> 2BmvUspLw%3D&reserved=
>>> >>>>>>>0
>>> >>>>>>>>>
>>> >>>>>>>>
>>> >>>>>>>>
>>> >>>>>>>>
>>> >>>>>>>> --
>>> >>>>>>>> Carlos Rovira
>>> >>>>>>>> https://na01.safelinks.protection.outlook.com/?url=
>>> >>>>>>> http%3A%2F%2Fabout.me%2
>>> >>>>>>>> Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>>> >>>>>>> 7Cc2d5d47c21084996345c08d5
>>> >>>>>>>> 7a0b4647%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>>> >>>>>>> 7C636549111204032767&s
>>> >>>>>>>> 
>>>data=y64W72CO7WgyBNYCVAKpczGJaisl3vwuCu00%2FWx1sVA%3D&reserved=0
>>> >>>>>>>
>>> >>>>>>>
>>> >>>>>>
>>> >>>>>>
>>> >>>>>> --
>>> >>>>>> Carlos Rovira
>>> >>>>>> https://na01.safelinks.protection.outlook.com/?url=
>>> >>>>> http%3A%2F%2Fabout.me%2
>>> >>>>>> Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>>> >>>>> 7C16c51d3899b54f56d1fb08d5
>>> >>>>>> 7a12f462%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>>> >>>>> 7C636549144184428545&s
>>> >>>>>> data=9atjDHHuhnuufVBQPZuUzM8vf30vf9Q0CP81XX8bXkg%3D&reserved=0
>>> >>>>>
>>> >>>>>
>>> >>>>
>>> >>>>
>>> >>>> --
>>> >>>>
>>> >>>> Piotr Zarzycki
>>> >>>>
>>> >>>> Patreon:
>>> >>>> *https://na01.safelinks.protection.outlook.com/?url=
>>> >>> https%3A%2F%2Fwww.patr
>>> >>>> eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
>>> >>> 7C11a52efaa6da4f
>>> >>>> e5a00c08d57a1a1c94%7Cfa7b1b5a7b34438794aed2c178de
>>> >>> cee1%7C0%7C0%7C6365491749
>>> >>>> 23040063&sdata=7%2F1v%2FiuUD7JOZJD87HPTozZD972I8SLrn
>>> >>> q5bGZRkKbc%3D&reserved
>>> >>>> =0
>>> >>>> <https://na01.safelinks.protection.outlook.com/?url=
>>> >>> https%3A%2F%2Fwww.patr
>>> >>>> eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
>>> >>> 7C11a52efaa6da4f
>>> >>>> e5a00c08d57a1a1c94%7Cfa7b1b5a7b34438794aed2c178de
>>> >>> cee1%7C0%7C0%7C6365491749
>>> >>>> 23040063&sdata=7%2F1v%2FiuUD7JOZJD87HPTozZD972I8SLrn
>>> >>> q5bGZRkKbc%3D&reserved
>>> >>>> =0>*
>>> >>>
>>> >>>
>>> >>
>>> >>
>>> >> --
>>> >>
>>> >> Piotr Zarzycki
>>> >>
>>> >> Patreon:
>>> >>*https://na01.safelinks.protection.outlook.com/?url=https%
>>> 3A%2F%2Fwww.pat
>>> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>>> %7Caaee947095b2
>>> >>46b08a6908d57a1c7616%7Cfa7b1b5a7b34438794aed2c178decee1%
>>> 7C0%7C0%7C6365491
>>> >>85020033040&sdata=Tlqm35Kweb5G0sbkEWDvd21YZ7sajeK8P4u9c%
>>> 2B5luSQ%3D&reserv
>>> >>ed=0
>>> >>
>>> >><https://na01.safelinks.protection.outlook.com/?url=https%
>>> 3A%2F%2Fwww.pat
>>> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>>> %7Caaee947095b2
>>> >>46b08a6908d57a1c7616%7Cfa7b1b5a7b34438794aed2c178decee1%
>>> 7C0%7C0%7C6365491
>>> >>85020033040&sdata=Tlqm35Kweb5G0sbkEWDvd21YZ7sajeK8P4u9c%
>>> 2B5luSQ%3D&reserv
>>> >>ed=0>*
>>> >
>>>
>>>
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: 
>>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pat
>>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C9443687ba088
>>4b97efb808d57a2d6183%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365492
>>57694381614&sdata=KS5AO15LOFRPIj9fpbfJ3AMxvs%2Font7UtmHeGt%2F68TY%3D&rese
>>rved=0
>> 
>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pat
>>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C9443687ba088
>>4b97efb808d57a2d6183%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365492
>>57694381614&sdata=KS5AO15LOFRPIj9fpbfJ3AMxvs%2Font7UtmHeGt%2F68TY%3D&rese
>>rved=0>*
>>
>
>
>
>-- 
>
>Piotr Zarzycki
>
>Patreon: 
>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr
>eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C9443687ba0884b
>97efb808d57a2d6183%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365492576
>94381614&sdata=KS5AO15LOFRPIj9fpbfJ3AMxvs%2Font7UtmHeGt%2F68TY%3D&reserved
>=0
><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr
>eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C9443687ba0884b
>97efb808d57a2d6183%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365492576
>94381614&sdata=KS5AO15LOFRPIj9fpbfJ3AMxvs%2Font7UtmHeGt%2F68TY%3D&reserved
>=0>*


Re: Removing the * selector

Posted by Piotr Zarzycki <pi...@gmail.com>.
Alex,

So in my css I cannot do such things ?

global {
   IStatesImpl: ClassReference("org.apache.royale.core.SimpleStatesImpl");
}



2018-02-22 19:38 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

> Ahh that is what you mean! :) Good idea. I will try in the next week play
> with that! :)
>
> Thanks Harbs for clarification :)
> Piotr
>
> 2018-02-22 18:59 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>
>> Yep.  It would fun to see what APIs Moonshine itself uses.
>>
>> -Alex
>>
>> On 2/22/18, 9:48 AM, "Gabe Harbs" <ha...@gmail.com> wrote:
>>
>> >I think Alex was suggesting to run it on the Moonshine *codebase*.
>> >
>> >> On Feb 22, 2018, at 7:39 PM, Piotr Zarzycki <piotrzarzycki21@gmail.com
>> >
>> >>wrote:
>> >>
>> >> Yep. That's what I suggested to Alina, because she was started to use
>> >> Moonshine. I think it's doable also through the VSCode. In the end it
>> is
>> >> all about passing that argument as additional compiler options.
>> >>
>> >>
>> >>
>> >> 2018-02-22 18:36 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>> >>
>> >>> Isn't Moonshine also a SWF-based app?  Could try it there too.
>> >>>
>> >>> -Alex
>> >>>
>> >>> On 2/22/18, 9:31 AM, "Piotr Zarzycki" <pi...@gmail.com>
>> >>>wrote:
>> >>>
>> >>>> Carlos,
>> >>>>
>> >>>> It would be great to get that report from your application!
>> >>>>
>> >>>> Thanks, Piotr
>> >>>>
>> >>>> 2018-02-22 18:17 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>> >>>>
>> >>>>> Your point of view is valid, but it might depend on the kind of
>> >>>>> application.  Some might have 100's of views to port, others might
>> >>>>>only
>> >>>>> have 2 or 3 views and a million lines of business logic.
>> >>>>>
>> >>>>> In another thread I mentioned the -api-report option I added.  It
>> >>>>>would
>> >>>>> be
>> >>>>> interesting for folks to try getting API reports on their Flex apps
>> >>>>>so
>> >>>>> we
>> >>>>> can see what folks are using so we can use that in making decisions.
>> >>>>>
>> >>>>> My 2 cents,
>> >>>>> -Alex
>> >>>>>
>> >>>>> On 2/22/18, 8:39 AM, "carlos.rovira@gmail.com on behalf of Carlos
>> >>>>> Rovira"
>> >>>>> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
>> wrote:
>> >>>>>
>> >>>>>> Without know nothing about the solution I want to share a though: I
>> >>>>> think
>> >>>>>> the implementation of all the things related to visuals (and css is
>> >>>>> one of
>> >>>>>> them) is completely different in Royale to what it was in flex, so
>> >>>>> maybe
>> >>>>>> we
>> >>>>>> should not be worried that CSS is not following main flex rules.
>> >>>>>> For me UX in royale must be done from scratch, if someone is
>> >>>>> migrating, we
>> >>>>>> can only provide some basic *structure* similar to what Flex was.
>> >>>>>>But
>> >>>>>> that's only some kind of guide and could mean around 5-10% of what
>> >>>>>>they
>> >>>>>> must to migrate. So this is the opposite to things more related to
>> >>>>>> "business" (like the ArrayCollection disscussion we made some days
>> >>>>> ago),
>> >>>>>> in
>> >>>>>> this case, there's very few to save from a flex codebase point of
>> >>>>>>view,
>> >>>>>> and
>> >>>>>> CSS is one of the things I don't expect to reuse if I come from
>> flex
>> >>>>>> codebase.
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> 2018-02-22 17:27 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>> >>>>>>
>> >>>>>>> Well, it might be a migration issue in the sense that you could
>> >>>>>>>use a
>> >>>>>>> selector called "global" in Flex and it would become the default
>> >>>>> value
>> >>>>>>> for
>> >>>>>>> styles.
>> >>>>>>>
>> >>>>>>> Flex and Royale CSS has non-compliant CSS in it like "cffHinting"
>> >>>>>>>or
>> >>>>>>> "focusSkin" in Flex or "IStatesImpl" in Royale.  Non-compliant
>> >>>>>>>styles
>> >>>>>>> are
>> >>>>>>> not emitted to the final .css file since the browser has no use
>> for
>> >>>>>>> them,
>> >>>>>>> but are kept in a data structure used by ValuesManager.  If you
>> use
>> >>>>>>> "global" for non-compliant style properties, it will work in
>> Royale
>> >>>>> like
>> >>>>>>> it did in Flex, but if you use "global" to try to set the
>> >>>>>>>fontFamily
>> >>>>> to
>> >>>>>>> Gothic everywhere in your app it will not work in Royale as it did
>> >>>>>>>in
>> >>>>>>> Flex.
>> >>>>>>>
>> >>>>>>> Until this change we renamed "global" in the final CSS to "*" so
>> it
>> >>>>>>> would
>> >>>>>>> have a more global effect, but I took that out because I'm not
>> sure
>> >>>>> that
>> >>>>>>> "*" is the equivalent since "*" actually has precedence over Type
>> >>>>>>> Selectors.  I'm not quite sure how to create the true equivalent
>> of
>> >>>>> Flex
>> >>>>>>> global styles.
>> >>>>>>>
>> >>>>>>> We could rename what I'm currently calling "global" in Royale to
>> >>>>>>> something
>> >>>>>>> else like "royale" and go back to renaming "global" to "*", but I
>> >>>>> think
>> >>>>>>> that will end up with complaints.  I think it might be right for
>> >>>>>>>the
>> >>>>>>> migration docs to mention this and offer alternatives like moving
>> >>>>> some
>> >>>>>>> styles from global to "*" if they understand the impact of doing
>> >>>>>>>so.
>> >>>>>>> Also, everything is currently a child of the Application so
>> setting
>> >>>>>>> Application styles should have a global effect, but I think both
>> >>>>>>>will
>> >>>>>>> still override type selectors.
>> >>>>>>>
>> >>>>>>> My 2 cents,
>> >>>>>>> -Alex
>> >>>>>>>
>> >>>>>>> On 2/22/18, 7:44 AM, "carlos.rovira@gmail.com on behalf of Carlos
>> >>>>>>> Rovira"
>> >>>>>>> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
>> >>> wrote:
>> >>>>>>>
>> >>>>>>>> Hi Andrew, this is new for Apache Royale since is how to deal
>> with
>> >>>>> CSS
>> >>>>>>> and
>> >>>>>>>> how browsers manage it.
>> >>>>>>>> So maybe not much relation with Flex in this case
>> >>>>>>>>
>> >>>>>>>> Best
>> >>>>>>>>
>> >>>>>>>> Carlos
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>> 2018-02-22 13:27 GMT+01:00 Andrew Wetmore <co...@gmail.com>:
>> >>>>>>>>
>> >>>>>>>>> Is this a migration issue for Flex apps, or is this specific to
>> >>>>>>> Royale?
>> >>>>>>>>>
>> >>>>>>>>> On Thu, Feb 22, 2018 at 5:29 AM, Alex Harui
>> >>>>>>> <ah...@adobe.com.invalid>
>> >>>>>>>>> wrote:
>> >>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>> On 2/22/18, 1:12 AM, "carlos.rovira@gmail.com on behalf of
>> >>>>> Carlos
>> >>>>>>>>> Rovira"
>> >>>>>>>>>> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
>> >>>>>>> wrote:
>> >>>>>>>>>>
>> >>>>>>>>>>> Hi Alex,
>> >>>>>>>>>>>
>> >>>>>>>>>>> I think this is a very good change since I had many problems
>> >>>>> with
>> >>>>>>> MDL
>> >>>>>>>>> and
>> >>>>>>>>>>> have to use the exclusion on CSS to make it work properly.
>> >>>>>>>>>>>
>> >>>>>>>>>>> If I understand ok, I should see fonts at 16px, that I think
>> is
>> >>>>>>>>> nowadays
>> >>>>>>>>>>> the standard for "normal" text, so good.
>> >>>>>>>>>>>
>> >>>>>>>>>>> What I don't understand is what basic should making any
>> change.
>> >>>>>>> From
>> >>>>>>>>> my
>> >>>>>>>>>>> point of view basic is as the name says...basic, and I don't
>> >>>>> like
>> >>>>>>> to
>> >>>>>>>>> make
>> >>>>>>>>>>> fonts 12px.
>> >>>>>>>>>>> I only expect in basic to see the wiring of beads like views,
>> >>>>>>> models
>> >>>>>>>>> and
>> >>>>>>>>>>> controllers. But I think almost no CSS rules should be there,
>> >>>>>>> hence
>> >>>>>>>>> the
>> >>>>>>>>>>> basic point at the lowest level, where users only have the
>> >>>>> basics
>> >>>>>>> of
>> >>>>>>>>> what
>> >>>>>>>>>>> royale provides without any customization.
>> >>>>>>>>>>>
>> >>>>>>>>>>> That's how I see it
>> >>>>>>>>>>
>> >>>>>>>>>> I think I agree.  That's sort of where I was heading by
>> >>>>> creating a
>> >>>>>>>>>> separate theme in basic.css.  Basic.css is separate from the
>> >>>>>>>>> defaults.css
>> >>>>>>>>>> in Basic.swc.  Maybe we should give basic.css a different name.
>> >>>>>>> The
>> >>>>>>>>> goal
>> >>>>>>>>>> of basic.css was to give our examples and anybody else building
>> >>>>> the
>> >>>>>>>>>> smallest app on Basic a more Flex-like look.  I just don't
>> think
>> >>>>>>> Serif
>> >>>>>>>>>> 16px looks good.  It is true that more traditional CSS visual
>> >>>>>>> styles
>> >>>>>>>>> can
>> >>>>>>>>>> be moved from the Basic defaults.css to whatever we call
>> >>>>> basic.css.
>> >>>>>>>>>> Someone else can do that work once we see how this change
>> >>>>> affects
>> >>>>>>>>> Vivid
>> >>>>>>>>>> and other themes like MDL.  I'm not sure if every component set
>> >>>>>>> should
>> >>>>>>>>>> have a separate theme file or SWC as well.  Or if there are a
>> >>>>> few
>> >>>>>>>>> visual
>> >>>>>>>>>> styles in that should remain in Basic's defaults.css so that
>> >>>>> other
>> >>>>>>>>>> component sets don't have to repeat that information.
>> >>>>>>>>>>
>> >>>>>>>>>> -Alex
>> >>>>>>>>>>>
>> >>>>>>>>>>>
>> >>>>>>>>>>> 2018-02-22 2:43 GMT+01:00 Alex Harui
>> >>>>> <ah...@adobe.com.invalid>:
>> >>>>>>>>>>>
>> >>>>>>>>>>>> Hi,
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> Royale has been using the universal selector for a while now
>> >>>>> to
>> >>>>>>> set
>> >>>>>>>>>>>> defaults for Royale apps.  However, that caused problems with
>> >>>>>>> other
>> >>>>>>>>>>>> third-party CSS.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> I just pushed changes to the compiler and framework so that
>> >>>>> we
>> >>>>>>>>> don't
>> >>>>>>>>> use
>> >>>>>>>>>>>> the * selector.  Instead we will be using the * selector
>> >>>>>>> properly
>> >>>>>>>>> if
>> >>>>>>>>>>>> provided by the users CSS and we are using a special selector
>> >>>>>>>>> called
>> >>>>>>>>>>>> "global" as the "browser defaults" and the final selector in
>> >>>>> the
>> >>>>>>>>> lookup
>> >>>>>>>>>>>> we
>> >>>>>>>>>>>> manage.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> This should eliminate the need for other component sets to
>> >>>>> try
>> >>>>>>> to
>> >>>>>>>>>>>> exclude
>> >>>>>>>>>>>> the defaults.css from Basic.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> You may find that text that once looked nice now is 16px
>> >>>>> Serif.
>> >>>>>>>>> That's
>> >>>>>>>>>>>> because we are no longer using inheritance to set the
>> >>>>>>> font-family
>> >>>>>>>>> on
>> >>>>>>>>> all
>> >>>>>>>>>>>> components.  The browsers do not seem to deploy a default
>> >>>>>>>>> font-family
>> >>>>>>>>> so
>> >>>>>>>>>>>> the SWF side shouldn't either.  IOW, if you just put some
>> >>>>> plain
>> >>>>>>>>> text
>> >>>>>>>>> in
>> >>>>>>>>>>>> an
>> >>>>>>>>>>>> HTML file it shows up as 16px Serif.  If you see 16px Serif,
>> >>>>>>> let us
>> >>>>>>>>> know
>> >>>>>>>>>>>> which component is showing that by default.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> However, we don't really want to make 16px Serif the default
>> >>>>>>> font
>> >>>>>>>>> in
>> >>>>>>>>> our
>> >>>>>>>>>>>> examples, so I created a CSS-based theme in
>> >>>>>>> themes/Basic/basic.css
>> >>>>>>>>> and
>> >>>>>>>>>>>> put
>> >>>>>>>>>>>> 12px Sans-Serif as the default for a bunch of type selectors
>> >>>>>>> since
>> >>>>>>>>> that
>> >>>>>>>>>>>> was what our examples were using.  I did not create a default
>> >>>>>>> font
>> >>>>>>>>> for
>> >>>>>>>>>>>> Application as that would become the default for other
>> >>>>> component
>> >>>>>>>>> sets
>> >>>>>>>>>>>> mixed into a Royale app unless otherwise specified.
>> >>>>> Component
>> >>>>>>> sets
>> >>>>>>>>> with
>> >>>>>>>>>>>> different looks can use a different theme and get different
>> >>>>>>>>> defaults.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> So, in sum, without any theme, we want the SWF side to look
>> >>>>> like
>> >>>>>>>>> the
>> >>>>>>>>>>>> browser and have 16px Serif.  But the royale-config.xml will
>> >>>>>>>>> specify
>> >>>>>>>>>>>> themes/Basic/basic.css as the default theme giving the
>> >>>>> examples
>> >>>>>>> and
>> >>>>>>>>> most
>> >>>>>>>>>>>> people's unstyled apps a more Flex-like look by using
>> >>>>>>> sans-serif.
>> >>>>>>>>> More
>> >>>>>>>>>>>> type selectors may need to be added to
>> >>>>> themes/Basic/basic.css in
>> >>>>>>>>> order
>> >>>>>>>>>>>> to
>> >>>>>>>>>>>> get sans serif everywhere by default without putting
>> >>>>>>> font-family on
>> >>>>>>>>>>>> Application.  That way, when you switch to another theme,
>> >>>>> like
>> >>>>>>> the
>> >>>>>>>>> Vivid
>> >>>>>>>>>>>> that Carlos is working on, there should be fewer, if any,
>> >>>>>>> default
>> >>>>>>>>> values
>> >>>>>>>>>>>> that screw up the other theme.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> Thanks,
>> >>>>>>>>>>>> -Alex
>> >>>>>>>>>>>>
>> >>>>>>>>>>>>
>> >>>>>>>>>>>
>> >>>>>>>>>>>
>> >>>>>>>>>>> --
>> >>>>>>>>>>> Carlos Rovira
>> >>>>>>>>>>> https://na01.safelinks.protection.outlook.com/?url=
>> >>>>>>>>>> http%3A%2F%2Fabout.me%2
>> >>>>>>>>>>> Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>> >>>>>>>>>> 7C5807444789504e2f3d8c08d5
>> >>>>>>>>>>> 79d46f81%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>> >>>>>>>>>> 7C636548875665083262&s
>> >>>>>>>>>>> data=MjSAbOXuFPTLeafKWOYuDDbc8oMn4YbsZ6pzwxYA6pg%3D&
>> reserved=0
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>> --
>> >>>>>>>>> Andrew Wetmore
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>> https://na01.safelinks.protection.outlook.com/?url=
>> >>>>>>> http%3A%2F%2Fcottage14
>> >>>>>>>>> .blogspot.com%2F&data=02%7C01%7Caharui%40adobe.com%
>> >>>>>>> 7Cc2d5d47c21084996345c
>> >>>>>>>>> 08d57a0b4647%7Cfa7b1b5a7b34438794aed2c178de
>> >>>>>>> cee1%7C0%7C0%7C636549111204032
>> >>>>>>>
>> >>>>>>>
>> >>>>>>>767&sdata=5DOBst1ytHpKOuKlMicXtNr8AfJuWiEbXpk%
>> 2BmvUspLw%3D&reserved=
>> >>>>>>>0
>> >>>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>> --
>> >>>>>>>> Carlos Rovira
>> >>>>>>>> https://na01.safelinks.protection.outlook.com/?url=
>> >>>>>>> http%3A%2F%2Fabout.me%2
>> >>>>>>>> Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>> >>>>>>> 7Cc2d5d47c21084996345c08d5
>> >>>>>>>> 7a0b4647%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>> >>>>>>> 7C636549111204032767&s
>> >>>>>>>> data=y64W72CO7WgyBNYCVAKpczGJaisl3vwuCu00%2FWx1sVA%3D&reserved=0
>> >>>>>>>
>> >>>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> --
>> >>>>>> Carlos Rovira
>> >>>>>> https://na01.safelinks.protection.outlook.com/?url=
>> >>>>> http%3A%2F%2Fabout.me%2
>> >>>>>> Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>> >>>>> 7C16c51d3899b54f56d1fb08d5
>> >>>>>> 7a12f462%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>> >>>>> 7C636549144184428545&s
>> >>>>>> data=9atjDHHuhnuufVBQPZuUzM8vf30vf9Q0CP81XX8bXkg%3D&reserved=0
>> >>>>>
>> >>>>>
>> >>>>
>> >>>>
>> >>>> --
>> >>>>
>> >>>> Piotr Zarzycki
>> >>>>
>> >>>> Patreon:
>> >>>> *https://na01.safelinks.protection.outlook.com/?url=
>> >>> https%3A%2F%2Fwww.patr
>> >>>> eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
>> >>> 7C11a52efaa6da4f
>> >>>> e5a00c08d57a1a1c94%7Cfa7b1b5a7b34438794aed2c178de
>> >>> cee1%7C0%7C0%7C6365491749
>> >>>> 23040063&sdata=7%2F1v%2FiuUD7JOZJD87HPTozZD972I8SLrn
>> >>> q5bGZRkKbc%3D&reserved
>> >>>> =0
>> >>>> <https://na01.safelinks.protection.outlook.com/?url=
>> >>> https%3A%2F%2Fwww.patr
>> >>>> eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
>> >>> 7C11a52efaa6da4f
>> >>>> e5a00c08d57a1a1c94%7Cfa7b1b5a7b34438794aed2c178de
>> >>> cee1%7C0%7C0%7C6365491749
>> >>>> 23040063&sdata=7%2F1v%2FiuUD7JOZJD87HPTozZD972I8SLrn
>> >>> q5bGZRkKbc%3D&reserved
>> >>>> =0>*
>> >>>
>> >>>
>> >>
>> >>
>> >> --
>> >>
>> >> Piotr Zarzycki
>> >>
>> >> Patreon:
>> >>*https://na01.safelinks.protection.outlook.com/?url=https%
>> 3A%2F%2Fwww.pat
>> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>> %7Caaee947095b2
>> >>46b08a6908d57a1c7616%7Cfa7b1b5a7b34438794aed2c178decee1%
>> 7C0%7C0%7C6365491
>> >>85020033040&sdata=Tlqm35Kweb5G0sbkEWDvd21YZ7sajeK8P4u9c%
>> 2B5luSQ%3D&reserv
>> >>ed=0
>> >>
>> >><https://na01.safelinks.protection.outlook.com/?url=https%
>> 3A%2F%2Fwww.pat
>> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>> %7Caaee947095b2
>> >>46b08a6908d57a1c7616%7Cfa7b1b5a7b34438794aed2c178decee1%
>> 7C0%7C0%7C6365491
>> >>85020033040&sdata=Tlqm35Kweb5G0sbkEWDvd21YZ7sajeK8P4u9c%
>> 2B5luSQ%3D&reserv
>> >>ed=0>*
>> >
>>
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Removing the * selector

Posted by Piotr Zarzycki <pi...@gmail.com>.
Ahh that is what you mean! :) Good idea. I will try in the next week play
with that! :)

Thanks Harbs for clarification :)
Piotr

2018-02-22 18:59 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

> Yep.  It would fun to see what APIs Moonshine itself uses.
>
> -Alex
>
> On 2/22/18, 9:48 AM, "Gabe Harbs" <ha...@gmail.com> wrote:
>
> >I think Alex was suggesting to run it on the Moonshine *codebase*.
> >
> >> On Feb 22, 2018, at 7:39 PM, Piotr Zarzycki <pi...@gmail.com>
> >>wrote:
> >>
> >> Yep. That's what I suggested to Alina, because she was started to use
> >> Moonshine. I think it's doable also through the VSCode. In the end it is
> >> all about passing that argument as additional compiler options.
> >>
> >>
> >>
> >> 2018-02-22 18:36 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >>
> >>> Isn't Moonshine also a SWF-based app?  Could try it there too.
> >>>
> >>> -Alex
> >>>
> >>> On 2/22/18, 9:31 AM, "Piotr Zarzycki" <pi...@gmail.com>
> >>>wrote:
> >>>
> >>>> Carlos,
> >>>>
> >>>> It would be great to get that report from your application!
> >>>>
> >>>> Thanks, Piotr
> >>>>
> >>>> 2018-02-22 18:17 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >>>>
> >>>>> Your point of view is valid, but it might depend on the kind of
> >>>>> application.  Some might have 100's of views to port, others might
> >>>>>only
> >>>>> have 2 or 3 views and a million lines of business logic.
> >>>>>
> >>>>> In another thread I mentioned the -api-report option I added.  It
> >>>>>would
> >>>>> be
> >>>>> interesting for folks to try getting API reports on their Flex apps
> >>>>>so
> >>>>> we
> >>>>> can see what folks are using so we can use that in making decisions.
> >>>>>
> >>>>> My 2 cents,
> >>>>> -Alex
> >>>>>
> >>>>> On 2/22/18, 8:39 AM, "carlos.rovira@gmail.com on behalf of Carlos
> >>>>> Rovira"
> >>>>> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
> wrote:
> >>>>>
> >>>>>> Without know nothing about the solution I want to share a though: I
> >>>>> think
> >>>>>> the implementation of all the things related to visuals (and css is
> >>>>> one of
> >>>>>> them) is completely different in Royale to what it was in flex, so
> >>>>> maybe
> >>>>>> we
> >>>>>> should not be worried that CSS is not following main flex rules.
> >>>>>> For me UX in royale must be done from scratch, if someone is
> >>>>> migrating, we
> >>>>>> can only provide some basic *structure* similar to what Flex was.
> >>>>>>But
> >>>>>> that's only some kind of guide and could mean around 5-10% of what
> >>>>>>they
> >>>>>> must to migrate. So this is the opposite to things more related to
> >>>>>> "business" (like the ArrayCollection disscussion we made some days
> >>>>> ago),
> >>>>>> in
> >>>>>> this case, there's very few to save from a flex codebase point of
> >>>>>>view,
> >>>>>> and
> >>>>>> CSS is one of the things I don't expect to reuse if I come from flex
> >>>>>> codebase.
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> 2018-02-22 17:27 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >>>>>>
> >>>>>>> Well, it might be a migration issue in the sense that you could
> >>>>>>>use a
> >>>>>>> selector called "global" in Flex and it would become the default
> >>>>> value
> >>>>>>> for
> >>>>>>> styles.
> >>>>>>>
> >>>>>>> Flex and Royale CSS has non-compliant CSS in it like "cffHinting"
> >>>>>>>or
> >>>>>>> "focusSkin" in Flex or "IStatesImpl" in Royale.  Non-compliant
> >>>>>>>styles
> >>>>>>> are
> >>>>>>> not emitted to the final .css file since the browser has no use for
> >>>>>>> them,
> >>>>>>> but are kept in a data structure used by ValuesManager.  If you use
> >>>>>>> "global" for non-compliant style properties, it will work in Royale
> >>>>> like
> >>>>>>> it did in Flex, but if you use "global" to try to set the
> >>>>>>>fontFamily
> >>>>> to
> >>>>>>> Gothic everywhere in your app it will not work in Royale as it did
> >>>>>>>in
> >>>>>>> Flex.
> >>>>>>>
> >>>>>>> Until this change we renamed "global" in the final CSS to "*" so it
> >>>>>>> would
> >>>>>>> have a more global effect, but I took that out because I'm not sure
> >>>>> that
> >>>>>>> "*" is the equivalent since "*" actually has precedence over Type
> >>>>>>> Selectors.  I'm not quite sure how to create the true equivalent of
> >>>>> Flex
> >>>>>>> global styles.
> >>>>>>>
> >>>>>>> We could rename what I'm currently calling "global" in Royale to
> >>>>>>> something
> >>>>>>> else like "royale" and go back to renaming "global" to "*", but I
> >>>>> think
> >>>>>>> that will end up with complaints.  I think it might be right for
> >>>>>>>the
> >>>>>>> migration docs to mention this and offer alternatives like moving
> >>>>> some
> >>>>>>> styles from global to "*" if they understand the impact of doing
> >>>>>>>so.
> >>>>>>> Also, everything is currently a child of the Application so setting
> >>>>>>> Application styles should have a global effect, but I think both
> >>>>>>>will
> >>>>>>> still override type selectors.
> >>>>>>>
> >>>>>>> My 2 cents,
> >>>>>>> -Alex
> >>>>>>>
> >>>>>>> On 2/22/18, 7:44 AM, "carlos.rovira@gmail.com on behalf of Carlos
> >>>>>>> Rovira"
> >>>>>>> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
> >>> wrote:
> >>>>>>>
> >>>>>>>> Hi Andrew, this is new for Apache Royale since is how to deal with
> >>>>> CSS
> >>>>>>> and
> >>>>>>>> how browsers manage it.
> >>>>>>>> So maybe not much relation with Flex in this case
> >>>>>>>>
> >>>>>>>> Best
> >>>>>>>>
> >>>>>>>> Carlos
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> 2018-02-22 13:27 GMT+01:00 Andrew Wetmore <co...@gmail.com>:
> >>>>>>>>
> >>>>>>>>> Is this a migration issue for Flex apps, or is this specific to
> >>>>>>> Royale?
> >>>>>>>>>
> >>>>>>>>> On Thu, Feb 22, 2018 at 5:29 AM, Alex Harui
> >>>>>>> <ah...@adobe.com.invalid>
> >>>>>>>>> wrote:
> >>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> On 2/22/18, 1:12 AM, "carlos.rovira@gmail.com on behalf of
> >>>>> Carlos
> >>>>>>>>> Rovira"
> >>>>>>>>>> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
> >>>>>>> wrote:
> >>>>>>>>>>
> >>>>>>>>>>> Hi Alex,
> >>>>>>>>>>>
> >>>>>>>>>>> I think this is a very good change since I had many problems
> >>>>> with
> >>>>>>> MDL
> >>>>>>>>> and
> >>>>>>>>>>> have to use the exclusion on CSS to make it work properly.
> >>>>>>>>>>>
> >>>>>>>>>>> If I understand ok, I should see fonts at 16px, that I think is
> >>>>>>>>> nowadays
> >>>>>>>>>>> the standard for "normal" text, so good.
> >>>>>>>>>>>
> >>>>>>>>>>> What I don't understand is what basic should making any change.
> >>>>>>> From
> >>>>>>>>> my
> >>>>>>>>>>> point of view basic is as the name says...basic, and I don't
> >>>>> like
> >>>>>>> to
> >>>>>>>>> make
> >>>>>>>>>>> fonts 12px.
> >>>>>>>>>>> I only expect in basic to see the wiring of beads like views,
> >>>>>>> models
> >>>>>>>>> and
> >>>>>>>>>>> controllers. But I think almost no CSS rules should be there,
> >>>>>>> hence
> >>>>>>>>> the
> >>>>>>>>>>> basic point at the lowest level, where users only have the
> >>>>> basics
> >>>>>>> of
> >>>>>>>>> what
> >>>>>>>>>>> royale provides without any customization.
> >>>>>>>>>>>
> >>>>>>>>>>> That's how I see it
> >>>>>>>>>>
> >>>>>>>>>> I think I agree.  That's sort of where I was heading by
> >>>>> creating a
> >>>>>>>>>> separate theme in basic.css.  Basic.css is separate from the
> >>>>>>>>> defaults.css
> >>>>>>>>>> in Basic.swc.  Maybe we should give basic.css a different name.
> >>>>>>> The
> >>>>>>>>> goal
> >>>>>>>>>> of basic.css was to give our examples and anybody else building
> >>>>> the
> >>>>>>>>>> smallest app on Basic a more Flex-like look.  I just don't think
> >>>>>>> Serif
> >>>>>>>>>> 16px looks good.  It is true that more traditional CSS visual
> >>>>>>> styles
> >>>>>>>>> can
> >>>>>>>>>> be moved from the Basic defaults.css to whatever we call
> >>>>> basic.css.
> >>>>>>>>>> Someone else can do that work once we see how this change
> >>>>> affects
> >>>>>>>>> Vivid
> >>>>>>>>>> and other themes like MDL.  I'm not sure if every component set
> >>>>>>> should
> >>>>>>>>>> have a separate theme file or SWC as well.  Or if there are a
> >>>>> few
> >>>>>>>>> visual
> >>>>>>>>>> styles in that should remain in Basic's defaults.css so that
> >>>>> other
> >>>>>>>>>> component sets don't have to repeat that information.
> >>>>>>>>>>
> >>>>>>>>>> -Alex
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> 2018-02-22 2:43 GMT+01:00 Alex Harui
> >>>>> <ah...@adobe.com.invalid>:
> >>>>>>>>>>>
> >>>>>>>>>>>> Hi,
> >>>>>>>>>>>>
> >>>>>>>>>>>> Royale has been using the universal selector for a while now
> >>>>> to
> >>>>>>> set
> >>>>>>>>>>>> defaults for Royale apps.  However, that caused problems with
> >>>>>>> other
> >>>>>>>>>>>> third-party CSS.
> >>>>>>>>>>>>
> >>>>>>>>>>>> I just pushed changes to the compiler and framework so that
> >>>>> we
> >>>>>>>>> don't
> >>>>>>>>> use
> >>>>>>>>>>>> the * selector.  Instead we will be using the * selector
> >>>>>>> properly
> >>>>>>>>> if
> >>>>>>>>>>>> provided by the users CSS and we are using a special selector
> >>>>>>>>> called
> >>>>>>>>>>>> "global" as the "browser defaults" and the final selector in
> >>>>> the
> >>>>>>>>> lookup
> >>>>>>>>>>>> we
> >>>>>>>>>>>> manage.
> >>>>>>>>>>>>
> >>>>>>>>>>>> This should eliminate the need for other component sets to
> >>>>> try
> >>>>>>> to
> >>>>>>>>>>>> exclude
> >>>>>>>>>>>> the defaults.css from Basic.
> >>>>>>>>>>>>
> >>>>>>>>>>>> You may find that text that once looked nice now is 16px
> >>>>> Serif.
> >>>>>>>>> That's
> >>>>>>>>>>>> because we are no longer using inheritance to set the
> >>>>>>> font-family
> >>>>>>>>> on
> >>>>>>>>> all
> >>>>>>>>>>>> components.  The browsers do not seem to deploy a default
> >>>>>>>>> font-family
> >>>>>>>>> so
> >>>>>>>>>>>> the SWF side shouldn't either.  IOW, if you just put some
> >>>>> plain
> >>>>>>>>> text
> >>>>>>>>> in
> >>>>>>>>>>>> an
> >>>>>>>>>>>> HTML file it shows up as 16px Serif.  If you see 16px Serif,
> >>>>>>> let us
> >>>>>>>>> know
> >>>>>>>>>>>> which component is showing that by default.
> >>>>>>>>>>>>
> >>>>>>>>>>>> However, we don't really want to make 16px Serif the default
> >>>>>>> font
> >>>>>>>>> in
> >>>>>>>>> our
> >>>>>>>>>>>> examples, so I created a CSS-based theme in
> >>>>>>> themes/Basic/basic.css
> >>>>>>>>> and
> >>>>>>>>>>>> put
> >>>>>>>>>>>> 12px Sans-Serif as the default for a bunch of type selectors
> >>>>>>> since
> >>>>>>>>> that
> >>>>>>>>>>>> was what our examples were using.  I did not create a default
> >>>>>>> font
> >>>>>>>>> for
> >>>>>>>>>>>> Application as that would become the default for other
> >>>>> component
> >>>>>>>>> sets
> >>>>>>>>>>>> mixed into a Royale app unless otherwise specified.
> >>>>> Component
> >>>>>>> sets
> >>>>>>>>> with
> >>>>>>>>>>>> different looks can use a different theme and get different
> >>>>>>>>> defaults.
> >>>>>>>>>>>>
> >>>>>>>>>>>> So, in sum, without any theme, we want the SWF side to look
> >>>>> like
> >>>>>>>>> the
> >>>>>>>>>>>> browser and have 16px Serif.  But the royale-config.xml will
> >>>>>>>>> specify
> >>>>>>>>>>>> themes/Basic/basic.css as the default theme giving the
> >>>>> examples
> >>>>>>> and
> >>>>>>>>> most
> >>>>>>>>>>>> people's unstyled apps a more Flex-like look by using
> >>>>>>> sans-serif.
> >>>>>>>>> More
> >>>>>>>>>>>> type selectors may need to be added to
> >>>>> themes/Basic/basic.css in
> >>>>>>>>> order
> >>>>>>>>>>>> to
> >>>>>>>>>>>> get sans serif everywhere by default without putting
> >>>>>>> font-family on
> >>>>>>>>>>>> Application.  That way, when you switch to another theme,
> >>>>> like
> >>>>>>> the
> >>>>>>>>> Vivid
> >>>>>>>>>>>> that Carlos is working on, there should be fewer, if any,
> >>>>>>> default
> >>>>>>>>> values
> >>>>>>>>>>>> that screw up the other theme.
> >>>>>>>>>>>>
> >>>>>>>>>>>> Thanks,
> >>>>>>>>>>>> -Alex
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> --
> >>>>>>>>>>> Carlos Rovira
> >>>>>>>>>>> https://na01.safelinks.protection.outlook.com/?url=
> >>>>>>>>>> http%3A%2F%2Fabout.me%2
> >>>>>>>>>>> Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> >>>>>>>>>> 7C5807444789504e2f3d8c08d5
> >>>>>>>>>>> 79d46f81%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >>>>>>>>>> 7C636548875665083262&s
> >>>>>>>>>>> data=MjSAbOXuFPTLeafKWOYuDDbc8oMn4YbsZ6pzwxYA6pg%3D&reserved=0
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> --
> >>>>>>>>> Andrew Wetmore
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> https://na01.safelinks.protection.outlook.com/?url=
> >>>>>>> http%3A%2F%2Fcottage14
> >>>>>>>>> .blogspot.com%2F&data=02%7C01%7Caharui%40adobe.com%
> >>>>>>> 7Cc2d5d47c21084996345c
> >>>>>>>>> 08d57a0b4647%7Cfa7b1b5a7b34438794aed2c178de
> >>>>>>> cee1%7C0%7C0%7C636549111204032
> >>>>>>>
> >>>>>>>
> >>>>>>>767&sdata=5DOBst1ytHpKOuKlMicXtNr8AfJuWi
> EbXpk%2BmvUspLw%3D&reserved=
> >>>>>>>0
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> --
> >>>>>>>> Carlos Rovira
> >>>>>>>> https://na01.safelinks.protection.outlook.com/?url=
> >>>>>>> http%3A%2F%2Fabout.me%2
> >>>>>>>> Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> >>>>>>> 7Cc2d5d47c21084996345c08d5
> >>>>>>>> 7a0b4647%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >>>>>>> 7C636549111204032767&s
> >>>>>>>> data=y64W72CO7WgyBNYCVAKpczGJaisl3vwuCu00%2FWx1sVA%3D&reserved=0
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> Carlos Rovira
> >>>>>> https://na01.safelinks.protection.outlook.com/?url=
> >>>>> http%3A%2F%2Fabout.me%2
> >>>>>> Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> >>>>> 7C16c51d3899b54f56d1fb08d5
> >>>>>> 7a12f462%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >>>>> 7C636549144184428545&s
> >>>>>> data=9atjDHHuhnuufVBQPZuUzM8vf30vf9Q0CP81XX8bXkg%3D&reserved=0
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>> --
> >>>>
> >>>> Piotr Zarzycki
> >>>>
> >>>> Patreon:
> >>>> *https://na01.safelinks.protection.outlook.com/?url=
> >>> https%3A%2F%2Fwww.patr
> >>>> eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
> >>> 7C11a52efaa6da4f
> >>>> e5a00c08d57a1a1c94%7Cfa7b1b5a7b34438794aed2c178de
> >>> cee1%7C0%7C0%7C6365491749
> >>>> 23040063&sdata=7%2F1v%2FiuUD7JOZJD87HPTozZD972I8SLrn
> >>> q5bGZRkKbc%3D&reserved
> >>>> =0
> >>>> <https://na01.safelinks.protection.outlook.com/?url=
> >>> https%3A%2F%2Fwww.patr
> >>>> eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
> >>> 7C11a52efaa6da4f
> >>>> e5a00c08d57a1a1c94%7Cfa7b1b5a7b34438794aed2c178de
> >>> cee1%7C0%7C0%7C6365491749
> >>>> 23040063&sdata=7%2F1v%2FiuUD7JOZJD87HPTozZD972I8SLrn
> >>> q5bGZRkKbc%3D&reserved
> >>>> =0>*
> >>>
> >>>
> >>
> >>
> >> --
> >>
> >> Piotr Zarzycki
> >>
> >> Patreon:
> >>*https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.pat
> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
> %7Caaee947095b2
> >>46b08a6908d57a1c7616%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6365491
> >>85020033040&sdata=Tlqm35Kweb5G0sbkEWDvd21YZ7saje
> K8P4u9c%2B5luSQ%3D&reserv
> >>ed=0
> >>
> >><https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.pat
> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
> %7Caaee947095b2
> >>46b08a6908d57a1c7616%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6365491
> >>85020033040&sdata=Tlqm35Kweb5G0sbkEWDvd21YZ7saje
> K8P4u9c%2B5luSQ%3D&reserv
> >>ed=0>*
> >
>
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Removing the * selector

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Yep.  It would fun to see what APIs Moonshine itself uses.

-Alex

On 2/22/18, 9:48 AM, "Gabe Harbs" <ha...@gmail.com> wrote:

>I think Alex was suggesting to run it on the Moonshine *codebase*.
>
>> On Feb 22, 2018, at 7:39 PM, Piotr Zarzycki <pi...@gmail.com>
>>wrote:
>> 
>> Yep. That's what I suggested to Alina, because she was started to use
>> Moonshine. I think it's doable also through the VSCode. In the end it is
>> all about passing that argument as additional compiler options.
>> 
>> 
>> 
>> 2018-02-22 18:36 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>> 
>>> Isn't Moonshine also a SWF-based app?  Could try it there too.
>>> 
>>> -Alex
>>> 
>>> On 2/22/18, 9:31 AM, "Piotr Zarzycki" <pi...@gmail.com>
>>>wrote:
>>> 
>>>> Carlos,
>>>> 
>>>> It would be great to get that report from your application!
>>>> 
>>>> Thanks, Piotr
>>>> 
>>>> 2018-02-22 18:17 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>>>> 
>>>>> Your point of view is valid, but it might depend on the kind of
>>>>> application.  Some might have 100's of views to port, others might
>>>>>only
>>>>> have 2 or 3 views and a million lines of business logic.
>>>>> 
>>>>> In another thread I mentioned the -api-report option I added.  It
>>>>>would
>>>>> be
>>>>> interesting for folks to try getting API reports on their Flex apps
>>>>>so
>>>>> we
>>>>> can see what folks are using so we can use that in making decisions.
>>>>> 
>>>>> My 2 cents,
>>>>> -Alex
>>>>> 
>>>>> On 2/22/18, 8:39 AM, "carlos.rovira@gmail.com on behalf of Carlos
>>>>> Rovira"
>>>>> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>>>>> 
>>>>>> Without know nothing about the solution I want to share a though: I
>>>>> think
>>>>>> the implementation of all the things related to visuals (and css is
>>>>> one of
>>>>>> them) is completely different in Royale to what it was in flex, so
>>>>> maybe
>>>>>> we
>>>>>> should not be worried that CSS is not following main flex rules.
>>>>>> For me UX in royale must be done from scratch, if someone is
>>>>> migrating, we
>>>>>> can only provide some basic *structure* similar to what Flex was.
>>>>>>But
>>>>>> that's only some kind of guide and could mean around 5-10% of what
>>>>>>they
>>>>>> must to migrate. So this is the opposite to things more related to
>>>>>> "business" (like the ArrayCollection disscussion we made some days
>>>>> ago),
>>>>>> in
>>>>>> this case, there's very few to save from a flex codebase point of
>>>>>>view,
>>>>>> and
>>>>>> CSS is one of the things I don't expect to reuse if I come from flex
>>>>>> codebase.
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 2018-02-22 17:27 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>>>>>> 
>>>>>>> Well, it might be a migration issue in the sense that you could
>>>>>>>use a
>>>>>>> selector called "global" in Flex and it would become the default
>>>>> value
>>>>>>> for
>>>>>>> styles.
>>>>>>> 
>>>>>>> Flex and Royale CSS has non-compliant CSS in it like "cffHinting"
>>>>>>>or
>>>>>>> "focusSkin" in Flex or "IStatesImpl" in Royale.  Non-compliant
>>>>>>>styles
>>>>>>> are
>>>>>>> not emitted to the final .css file since the browser has no use for
>>>>>>> them,
>>>>>>> but are kept in a data structure used by ValuesManager.  If you use
>>>>>>> "global" for non-compliant style properties, it will work in Royale
>>>>> like
>>>>>>> it did in Flex, but if you use "global" to try to set the
>>>>>>>fontFamily
>>>>> to
>>>>>>> Gothic everywhere in your app it will not work in Royale as it did
>>>>>>>in
>>>>>>> Flex.
>>>>>>> 
>>>>>>> Until this change we renamed "global" in the final CSS to "*" so it
>>>>>>> would
>>>>>>> have a more global effect, but I took that out because I'm not sure
>>>>> that
>>>>>>> "*" is the equivalent since "*" actually has precedence over Type
>>>>>>> Selectors.  I'm not quite sure how to create the true equivalent of
>>>>> Flex
>>>>>>> global styles.
>>>>>>> 
>>>>>>> We could rename what I'm currently calling "global" in Royale to
>>>>>>> something
>>>>>>> else like "royale" and go back to renaming "global" to "*", but I
>>>>> think
>>>>>>> that will end up with complaints.  I think it might be right for
>>>>>>>the
>>>>>>> migration docs to mention this and offer alternatives like moving
>>>>> some
>>>>>>> styles from global to "*" if they understand the impact of doing
>>>>>>>so.
>>>>>>> Also, everything is currently a child of the Application so setting
>>>>>>> Application styles should have a global effect, but I think both
>>>>>>>will
>>>>>>> still override type selectors.
>>>>>>> 
>>>>>>> My 2 cents,
>>>>>>> -Alex
>>>>>>> 
>>>>>>> On 2/22/18, 7:44 AM, "carlos.rovira@gmail.com on behalf of Carlos
>>>>>>> Rovira"
>>>>>>> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
>>> wrote:
>>>>>>> 
>>>>>>>> Hi Andrew, this is new for Apache Royale since is how to deal with
>>>>> CSS
>>>>>>> and
>>>>>>>> how browsers manage it.
>>>>>>>> So maybe not much relation with Flex in this case
>>>>>>>> 
>>>>>>>> Best
>>>>>>>> 
>>>>>>>> Carlos
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 2018-02-22 13:27 GMT+01:00 Andrew Wetmore <co...@gmail.com>:
>>>>>>>> 
>>>>>>>>> Is this a migration issue for Flex apps, or is this specific to
>>>>>>> Royale?
>>>>>>>>> 
>>>>>>>>> On Thu, Feb 22, 2018 at 5:29 AM, Alex Harui
>>>>>>> <ah...@adobe.com.invalid>
>>>>>>>>> wrote:
>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> On 2/22/18, 1:12 AM, "carlos.rovira@gmail.com on behalf of
>>>>> Carlos
>>>>>>>>> Rovira"
>>>>>>>>>> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
>>>>>>> wrote:
>>>>>>>>>> 
>>>>>>>>>>> Hi Alex,
>>>>>>>>>>> 
>>>>>>>>>>> I think this is a very good change since I had many problems
>>>>> with
>>>>>>> MDL
>>>>>>>>> and
>>>>>>>>>>> have to use the exclusion on CSS to make it work properly.
>>>>>>>>>>> 
>>>>>>>>>>> If I understand ok, I should see fonts at 16px, that I think is
>>>>>>>>> nowadays
>>>>>>>>>>> the standard for "normal" text, so good.
>>>>>>>>>>> 
>>>>>>>>>>> What I don't understand is what basic should making any change.
>>>>>>> From
>>>>>>>>> my
>>>>>>>>>>> point of view basic is as the name says...basic, and I don't
>>>>> like
>>>>>>> to
>>>>>>>>> make
>>>>>>>>>>> fonts 12px.
>>>>>>>>>>> I only expect in basic to see the wiring of beads like views,
>>>>>>> models
>>>>>>>>> and
>>>>>>>>>>> controllers. But I think almost no CSS rules should be there,
>>>>>>> hence
>>>>>>>>> the
>>>>>>>>>>> basic point at the lowest level, where users only have the
>>>>> basics
>>>>>>> of
>>>>>>>>> what
>>>>>>>>>>> royale provides without any customization.
>>>>>>>>>>> 
>>>>>>>>>>> That's how I see it
>>>>>>>>>> 
>>>>>>>>>> I think I agree.  That's sort of where I was heading by
>>>>> creating a
>>>>>>>>>> separate theme in basic.css.  Basic.css is separate from the
>>>>>>>>> defaults.css
>>>>>>>>>> in Basic.swc.  Maybe we should give basic.css a different name.
>>>>>>> The
>>>>>>>>> goal
>>>>>>>>>> of basic.css was to give our examples and anybody else building
>>>>> the
>>>>>>>>>> smallest app on Basic a more Flex-like look.  I just don't think
>>>>>>> Serif
>>>>>>>>>> 16px looks good.  It is true that more traditional CSS visual
>>>>>>> styles
>>>>>>>>> can
>>>>>>>>>> be moved from the Basic defaults.css to whatever we call
>>>>> basic.css.
>>>>>>>>>> Someone else can do that work once we see how this change
>>>>> affects
>>>>>>>>> Vivid
>>>>>>>>>> and other themes like MDL.  I'm not sure if every component set
>>>>>>> should
>>>>>>>>>> have a separate theme file or SWC as well.  Or if there are a
>>>>> few
>>>>>>>>> visual
>>>>>>>>>> styles in that should remain in Basic's defaults.css so that
>>>>> other
>>>>>>>>>> component sets don't have to repeat that information.
>>>>>>>>>> 
>>>>>>>>>> -Alex
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 2018-02-22 2:43 GMT+01:00 Alex Harui
>>>>> <ah...@adobe.com.invalid>:
>>>>>>>>>>> 
>>>>>>>>>>>> Hi,
>>>>>>>>>>>> 
>>>>>>>>>>>> Royale has been using the universal selector for a while now
>>>>> to
>>>>>>> set
>>>>>>>>>>>> defaults for Royale apps.  However, that caused problems with
>>>>>>> other
>>>>>>>>>>>> third-party CSS.
>>>>>>>>>>>> 
>>>>>>>>>>>> I just pushed changes to the compiler and framework so that
>>>>> we
>>>>>>>>> don't
>>>>>>>>> use
>>>>>>>>>>>> the * selector.  Instead we will be using the * selector
>>>>>>> properly
>>>>>>>>> if
>>>>>>>>>>>> provided by the users CSS and we are using a special selector
>>>>>>>>> called
>>>>>>>>>>>> "global" as the "browser defaults" and the final selector in
>>>>> the
>>>>>>>>> lookup
>>>>>>>>>>>> we
>>>>>>>>>>>> manage.
>>>>>>>>>>>> 
>>>>>>>>>>>> This should eliminate the need for other component sets to
>>>>> try
>>>>>>> to
>>>>>>>>>>>> exclude
>>>>>>>>>>>> the defaults.css from Basic.
>>>>>>>>>>>> 
>>>>>>>>>>>> You may find that text that once looked nice now is 16px
>>>>> Serif.
>>>>>>>>> That's
>>>>>>>>>>>> because we are no longer using inheritance to set the
>>>>>>> font-family
>>>>>>>>> on
>>>>>>>>> all
>>>>>>>>>>>> components.  The browsers do not seem to deploy a default
>>>>>>>>> font-family
>>>>>>>>> so
>>>>>>>>>>>> the SWF side shouldn't either.  IOW, if you just put some
>>>>> plain
>>>>>>>>> text
>>>>>>>>> in
>>>>>>>>>>>> an
>>>>>>>>>>>> HTML file it shows up as 16px Serif.  If you see 16px Serif,
>>>>>>> let us
>>>>>>>>> know
>>>>>>>>>>>> which component is showing that by default.
>>>>>>>>>>>> 
>>>>>>>>>>>> However, we don't really want to make 16px Serif the default
>>>>>>> font
>>>>>>>>> in
>>>>>>>>> our
>>>>>>>>>>>> examples, so I created a CSS-based theme in
>>>>>>> themes/Basic/basic.css
>>>>>>>>> and
>>>>>>>>>>>> put
>>>>>>>>>>>> 12px Sans-Serif as the default for a bunch of type selectors
>>>>>>> since
>>>>>>>>> that
>>>>>>>>>>>> was what our examples were using.  I did not create a default
>>>>>>> font
>>>>>>>>> for
>>>>>>>>>>>> Application as that would become the default for other
>>>>> component
>>>>>>>>> sets
>>>>>>>>>>>> mixed into a Royale app unless otherwise specified.
>>>>> Component
>>>>>>> sets
>>>>>>>>> with
>>>>>>>>>>>> different looks can use a different theme and get different
>>>>>>>>> defaults.
>>>>>>>>>>>> 
>>>>>>>>>>>> So, in sum, without any theme, we want the SWF side to look
>>>>> like
>>>>>>>>> the
>>>>>>>>>>>> browser and have 16px Serif.  But the royale-config.xml will
>>>>>>>>> specify
>>>>>>>>>>>> themes/Basic/basic.css as the default theme giving the
>>>>> examples
>>>>>>> and
>>>>>>>>> most
>>>>>>>>>>>> people's unstyled apps a more Flex-like look by using
>>>>>>> sans-serif.
>>>>>>>>> More
>>>>>>>>>>>> type selectors may need to be added to
>>>>> themes/Basic/basic.css in
>>>>>>>>> order
>>>>>>>>>>>> to
>>>>>>>>>>>> get sans serif everywhere by default without putting
>>>>>>> font-family on
>>>>>>>>>>>> Application.  That way, when you switch to another theme,
>>>>> like
>>>>>>> the
>>>>>>>>> Vivid
>>>>>>>>>>>> that Carlos is working on, there should be fewer, if any,
>>>>>>> default
>>>>>>>>> values
>>>>>>>>>>>> that screw up the other theme.
>>>>>>>>>>>> 
>>>>>>>>>>>> Thanks,
>>>>>>>>>>>> -Alex
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> --
>>>>>>>>>>> Carlos Rovira
>>>>>>>>>>> https://na01.safelinks.protection.outlook.com/?url=
>>>>>>>>>> http%3A%2F%2Fabout.me%2
>>>>>>>>>>> Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>>>>>>>>>> 7C5807444789504e2f3d8c08d5
>>>>>>>>>>> 79d46f81%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>>>>>>>>>> 7C636548875665083262&s
>>>>>>>>>>> data=MjSAbOXuFPTLeafKWOYuDDbc8oMn4YbsZ6pzwxYA6pg%3D&reserved=0
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> --
>>>>>>>>> Andrew Wetmore
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> https://na01.safelinks.protection.outlook.com/?url=
>>>>>>> http%3A%2F%2Fcottage14
>>>>>>>>> .blogspot.com%2F&data=02%7C01%7Caharui%40adobe.com%
>>>>>>> 7Cc2d5d47c21084996345c
>>>>>>>>> 08d57a0b4647%7Cfa7b1b5a7b34438794aed2c178de
>>>>>>> cee1%7C0%7C0%7C636549111204032
>>>>>>> 
>>>>>>> 
>>>>>>>767&sdata=5DOBst1ytHpKOuKlMicXtNr8AfJuWiEbXpk%2BmvUspLw%3D&reserved=
>>>>>>>0
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> --
>>>>>>>> Carlos Rovira
>>>>>>>> https://na01.safelinks.protection.outlook.com/?url=
>>>>>>> http%3A%2F%2Fabout.me%2
>>>>>>>> Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>>>>>>> 7Cc2d5d47c21084996345c08d5
>>>>>>>> 7a0b4647%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>>>>>>> 7C636549111204032767&s
>>>>>>>> data=y64W72CO7WgyBNYCVAKpczGJaisl3vwuCu00%2FWx1sVA%3D&reserved=0
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> --
>>>>>> Carlos Rovira
>>>>>> https://na01.safelinks.protection.outlook.com/?url=
>>>>> http%3A%2F%2Fabout.me%2
>>>>>> Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>>>>> 7C16c51d3899b54f56d1fb08d5
>>>>>> 7a12f462%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>>>>> 7C636549144184428545&s
>>>>>> data=9atjDHHuhnuufVBQPZuUzM8vf30vf9Q0CP81XX8bXkg%3D&reserved=0
>>>>> 
>>>>> 
>>>> 
>>>> 
>>>> --
>>>> 
>>>> Piotr Zarzycki
>>>> 
>>>> Patreon:
>>>> *https://na01.safelinks.protection.outlook.com/?url=
>>> https%3A%2F%2Fwww.patr
>>>> eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
>>> 7C11a52efaa6da4f
>>>> e5a00c08d57a1a1c94%7Cfa7b1b5a7b34438794aed2c178de
>>> cee1%7C0%7C0%7C6365491749
>>>> 23040063&sdata=7%2F1v%2FiuUD7JOZJD87HPTozZD972I8SLrn
>>> q5bGZRkKbc%3D&reserved
>>>> =0
>>>> <https://na01.safelinks.protection.outlook.com/?url=
>>> https%3A%2F%2Fwww.patr
>>>> eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
>>> 7C11a52efaa6da4f
>>>> e5a00c08d57a1a1c94%7Cfa7b1b5a7b34438794aed2c178de
>>> cee1%7C0%7C0%7C6365491749
>>>> 23040063&sdata=7%2F1v%2FiuUD7JOZJD87HPTozZD972I8SLrn
>>> q5bGZRkKbc%3D&reserved
>>>> =0>*
>>> 
>>> 
>> 
>> 
>> -- 
>> 
>> Piotr Zarzycki
>> 
>> Patreon: 
>>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pat
>>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Caaee947095b2
>>46b08a6908d57a1c7616%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365491
>>85020033040&sdata=Tlqm35Kweb5G0sbkEWDvd21YZ7sajeK8P4u9c%2B5luSQ%3D&reserv
>>ed=0
>> 
>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pat
>>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Caaee947095b2
>>46b08a6908d57a1c7616%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365491
>>85020033040&sdata=Tlqm35Kweb5G0sbkEWDvd21YZ7sajeK8P4u9c%2B5luSQ%3D&reserv
>>ed=0>*
>


Re: Removing the * selector

Posted by Gabe Harbs <ha...@gmail.com>.
I think Alex was suggesting to run it on the Moonshine *codebase*.

> On Feb 22, 2018, at 7:39 PM, Piotr Zarzycki <pi...@gmail.com> wrote:
> 
> Yep. That's what I suggested to Alina, because she was started to use
> Moonshine. I think it's doable also through the VSCode. In the end it is
> all about passing that argument as additional compiler options.
> 
> 
> 
> 2018-02-22 18:36 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> 
>> Isn't Moonshine also a SWF-based app?  Could try it there too.
>> 
>> -Alex
>> 
>> On 2/22/18, 9:31 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:
>> 
>>> Carlos,
>>> 
>>> It would be great to get that report from your application!
>>> 
>>> Thanks, Piotr
>>> 
>>> 2018-02-22 18:17 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>>> 
>>>> Your point of view is valid, but it might depend on the kind of
>>>> application.  Some might have 100's of views to port, others might only
>>>> have 2 or 3 views and a million lines of business logic.
>>>> 
>>>> In another thread I mentioned the -api-report option I added.  It would
>>>> be
>>>> interesting for folks to try getting API reports on their Flex apps so
>>>> we
>>>> can see what folks are using so we can use that in making decisions.
>>>> 
>>>> My 2 cents,
>>>> -Alex
>>>> 
>>>> On 2/22/18, 8:39 AM, "carlos.rovira@gmail.com on behalf of Carlos
>>>> Rovira"
>>>> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>>>> 
>>>>> Without know nothing about the solution I want to share a though: I
>>>> think
>>>>> the implementation of all the things related to visuals (and css is
>>>> one of
>>>>> them) is completely different in Royale to what it was in flex, so
>>>> maybe
>>>>> we
>>>>> should not be worried that CSS is not following main flex rules.
>>>>> For me UX in royale must be done from scratch, if someone is
>>>> migrating, we
>>>>> can only provide some basic *structure* similar to what Flex was. But
>>>>> that's only some kind of guide and could mean around 5-10% of what they
>>>>> must to migrate. So this is the opposite to things more related to
>>>>> "business" (like the ArrayCollection disscussion we made some days
>>>> ago),
>>>>> in
>>>>> this case, there's very few to save from a flex codebase point of view,
>>>>> and
>>>>> CSS is one of the things I don't expect to reuse if I come from flex
>>>>> codebase.
>>>>> 
>>>>> 
>>>>> 
>>>>> 2018-02-22 17:27 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>>>>> 
>>>>>> Well, it might be a migration issue in the sense that you could use a
>>>>>> selector called "global" in Flex and it would become the default
>>>> value
>>>>>> for
>>>>>> styles.
>>>>>> 
>>>>>> Flex and Royale CSS has non-compliant CSS in it like "cffHinting" or
>>>>>> "focusSkin" in Flex or "IStatesImpl" in Royale.  Non-compliant styles
>>>>>> are
>>>>>> not emitted to the final .css file since the browser has no use for
>>>>>> them,
>>>>>> but are kept in a data structure used by ValuesManager.  If you use
>>>>>> "global" for non-compliant style properties, it will work in Royale
>>>> like
>>>>>> it did in Flex, but if you use "global" to try to set the fontFamily
>>>> to
>>>>>> Gothic everywhere in your app it will not work in Royale as it did in
>>>>>> Flex.
>>>>>> 
>>>>>> Until this change we renamed "global" in the final CSS to "*" so it
>>>>>> would
>>>>>> have a more global effect, but I took that out because I'm not sure
>>>> that
>>>>>> "*" is the equivalent since "*" actually has precedence over Type
>>>>>> Selectors.  I'm not quite sure how to create the true equivalent of
>>>> Flex
>>>>>> global styles.
>>>>>> 
>>>>>> We could rename what I'm currently calling "global" in Royale to
>>>>>> something
>>>>>> else like "royale" and go back to renaming "global" to "*", but I
>>>> think
>>>>>> that will end up with complaints.  I think it might be right for the
>>>>>> migration docs to mention this and offer alternatives like moving
>>>> some
>>>>>> styles from global to "*" if they understand the impact of doing so.
>>>>>> Also, everything is currently a child of the Application so setting
>>>>>> Application styles should have a global effect, but I think both will
>>>>>> still override type selectors.
>>>>>> 
>>>>>> My 2 cents,
>>>>>> -Alex
>>>>>> 
>>>>>> On 2/22/18, 7:44 AM, "carlos.rovira@gmail.com on behalf of Carlos
>>>>>> Rovira"
>>>>>> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
>> wrote:
>>>>>> 
>>>>>>> Hi Andrew, this is new for Apache Royale since is how to deal with
>>>> CSS
>>>>>> and
>>>>>>> how browsers manage it.
>>>>>>> So maybe not much relation with Flex in this case
>>>>>>> 
>>>>>>> Best
>>>>>>> 
>>>>>>> Carlos
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 2018-02-22 13:27 GMT+01:00 Andrew Wetmore <co...@gmail.com>:
>>>>>>> 
>>>>>>>> Is this a migration issue for Flex apps, or is this specific to
>>>>>> Royale?
>>>>>>>> 
>>>>>>>> On Thu, Feb 22, 2018 at 5:29 AM, Alex Harui
>>>>>> <ah...@adobe.com.invalid>
>>>>>>>> wrote:
>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On 2/22/18, 1:12 AM, "carlos.rovira@gmail.com on behalf of
>>>> Carlos
>>>>>>>> Rovira"
>>>>>>>>> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
>>>>>> wrote:
>>>>>>>>> 
>>>>>>>>>> Hi Alex,
>>>>>>>>>> 
>>>>>>>>>> I think this is a very good change since I had many problems
>>>> with
>>>>>> MDL
>>>>>>>> and
>>>>>>>>>> have to use the exclusion on CSS to make it work properly.
>>>>>>>>>> 
>>>>>>>>>> If I understand ok, I should see fonts at 16px, that I think is
>>>>>>>> nowadays
>>>>>>>>>> the standard for "normal" text, so good.
>>>>>>>>>> 
>>>>>>>>>> What I don't understand is what basic should making any change.
>>>>>> From
>>>>>>>> my
>>>>>>>>>> point of view basic is as the name says...basic, and I don't
>>>> like
>>>>>> to
>>>>>>>> make
>>>>>>>>>> fonts 12px.
>>>>>>>>>> I only expect in basic to see the wiring of beads like views,
>>>>>> models
>>>>>>>> and
>>>>>>>>>> controllers. But I think almost no CSS rules should be there,
>>>>>> hence
>>>>>>>> the
>>>>>>>>>> basic point at the lowest level, where users only have the
>>>> basics
>>>>>> of
>>>>>>>> what
>>>>>>>>>> royale provides without any customization.
>>>>>>>>>> 
>>>>>>>>>> That's how I see it
>>>>>>>>> 
>>>>>>>>> I think I agree.  That's sort of where I was heading by
>>>> creating a
>>>>>>>>> separate theme in basic.css.  Basic.css is separate from the
>>>>>>>> defaults.css
>>>>>>>>> in Basic.swc.  Maybe we should give basic.css a different name.
>>>>>> The
>>>>>>>> goal
>>>>>>>>> of basic.css was to give our examples and anybody else building
>>>> the
>>>>>>>>> smallest app on Basic a more Flex-like look.  I just don't think
>>>>>> Serif
>>>>>>>>> 16px looks good.  It is true that more traditional CSS visual
>>>>>> styles
>>>>>>>> can
>>>>>>>>> be moved from the Basic defaults.css to whatever we call
>>>> basic.css.
>>>>>>>>> Someone else can do that work once we see how this change
>>>> affects
>>>>>>>> Vivid
>>>>>>>>> and other themes like MDL.  I'm not sure if every component set
>>>>>> should
>>>>>>>>> have a separate theme file or SWC as well.  Or if there are a
>>>> few
>>>>>>>> visual
>>>>>>>>> styles in that should remain in Basic's defaults.css so that
>>>> other
>>>>>>>>> component sets don't have to repeat that information.
>>>>>>>>> 
>>>>>>>>> -Alex
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 2018-02-22 2:43 GMT+01:00 Alex Harui
>>>> <ah...@adobe.com.invalid>:
>>>>>>>>>> 
>>>>>>>>>>> Hi,
>>>>>>>>>>> 
>>>>>>>>>>> Royale has been using the universal selector for a while now
>>>> to
>>>>>> set
>>>>>>>>>>> defaults for Royale apps.  However, that caused problems with
>>>>>> other
>>>>>>>>>>> third-party CSS.
>>>>>>>>>>> 
>>>>>>>>>>> I just pushed changes to the compiler and framework so that
>>>> we
>>>>>>>> don't
>>>>>>>> use
>>>>>>>>>>> the * selector.  Instead we will be using the * selector
>>>>>> properly
>>>>>>>> if
>>>>>>>>>>> provided by the users CSS and we are using a special selector
>>>>>>>> called
>>>>>>>>>>> "global" as the "browser defaults" and the final selector in
>>>> the
>>>>>>>> lookup
>>>>>>>>>>> we
>>>>>>>>>>> manage.
>>>>>>>>>>> 
>>>>>>>>>>> This should eliminate the need for other component sets to
>>>> try
>>>>>> to
>>>>>>>>>>> exclude
>>>>>>>>>>> the defaults.css from Basic.
>>>>>>>>>>> 
>>>>>>>>>>> You may find that text that once looked nice now is 16px
>>>> Serif.
>>>>>>>> That's
>>>>>>>>>>> because we are no longer using inheritance to set the
>>>>>> font-family
>>>>>>>> on
>>>>>>>> all
>>>>>>>>>>> components.  The browsers do not seem to deploy a default
>>>>>>>> font-family
>>>>>>>> so
>>>>>>>>>>> the SWF side shouldn't either.  IOW, if you just put some
>>>> plain
>>>>>>>> text
>>>>>>>> in
>>>>>>>>>>> an
>>>>>>>>>>> HTML file it shows up as 16px Serif.  If you see 16px Serif,
>>>>>> let us
>>>>>>>> know
>>>>>>>>>>> which component is showing that by default.
>>>>>>>>>>> 
>>>>>>>>>>> However, we don't really want to make 16px Serif the default
>>>>>> font
>>>>>>>> in
>>>>>>>> our
>>>>>>>>>>> examples, so I created a CSS-based theme in
>>>>>> themes/Basic/basic.css
>>>>>>>> and
>>>>>>>>>>> put
>>>>>>>>>>> 12px Sans-Serif as the default for a bunch of type selectors
>>>>>> since
>>>>>>>> that
>>>>>>>>>>> was what our examples were using.  I did not create a default
>>>>>> font
>>>>>>>> for
>>>>>>>>>>> Application as that would become the default for other
>>>> component
>>>>>>>> sets
>>>>>>>>>>> mixed into a Royale app unless otherwise specified.
>>>> Component
>>>>>> sets
>>>>>>>> with
>>>>>>>>>>> different looks can use a different theme and get different
>>>>>>>> defaults.
>>>>>>>>>>> 
>>>>>>>>>>> So, in sum, without any theme, we want the SWF side to look
>>>> like
>>>>>>>> the
>>>>>>>>>>> browser and have 16px Serif.  But the royale-config.xml will
>>>>>>>> specify
>>>>>>>>>>> themes/Basic/basic.css as the default theme giving the
>>>> examples
>>>>>> and
>>>>>>>> most
>>>>>>>>>>> people's unstyled apps a more Flex-like look by using
>>>>>> sans-serif.
>>>>>>>> More
>>>>>>>>>>> type selectors may need to be added to
>>>> themes/Basic/basic.css in
>>>>>>>> order
>>>>>>>>>>> to
>>>>>>>>>>> get sans serif everywhere by default without putting
>>>>>> font-family on
>>>>>>>>>>> Application.  That way, when you switch to another theme,
>>>> like
>>>>>> the
>>>>>>>> Vivid
>>>>>>>>>>> that Carlos is working on, there should be fewer, if any,
>>>>>> default
>>>>>>>> values
>>>>>>>>>>> that screw up the other theme.
>>>>>>>>>>> 
>>>>>>>>>>> Thanks,
>>>>>>>>>>> -Alex
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> --
>>>>>>>>>> Carlos Rovira
>>>>>>>>>> https://na01.safelinks.protection.outlook.com/?url=
>>>>>>>>> http%3A%2F%2Fabout.me%2
>>>>>>>>>> Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>>>>>>>>> 7C5807444789504e2f3d8c08d5
>>>>>>>>>> 79d46f81%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>>>>>>>>> 7C636548875665083262&s
>>>>>>>>>> data=MjSAbOXuFPTLeafKWOYuDDbc8oMn4YbsZ6pzwxYA6pg%3D&reserved=0
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> --
>>>>>>>> Andrew Wetmore
>>>>>>>> 
>>>>>>>> 
>>>>>>>> https://na01.safelinks.protection.outlook.com/?url=
>>>>>> http%3A%2F%2Fcottage14
>>>>>>>> .blogspot.com%2F&data=02%7C01%7Caharui%40adobe.com%
>>>>>> 7Cc2d5d47c21084996345c
>>>>>>>> 08d57a0b4647%7Cfa7b1b5a7b34438794aed2c178de
>>>>>> cee1%7C0%7C0%7C636549111204032
>>>>>> 
>>>>>> 767&sdata=5DOBst1ytHpKOuKlMicXtNr8AfJuWiEbXpk%2BmvUspLw%3D&reserved=0
>>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> --
>>>>>>> Carlos Rovira
>>>>>>> https://na01.safelinks.protection.outlook.com/?url=
>>>>>> http%3A%2F%2Fabout.me%2
>>>>>>> Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>>>>>> 7Cc2d5d47c21084996345c08d5
>>>>>>> 7a0b4647%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>>>>>> 7C636549111204032767&s
>>>>>>> data=y64W72CO7WgyBNYCVAKpczGJaisl3vwuCu00%2FWx1sVA%3D&reserved=0
>>>>>> 
>>>>>> 
>>>>> 
>>>>> 
>>>>> --
>>>>> Carlos Rovira
>>>>> https://na01.safelinks.protection.outlook.com/?url=
>>>> http%3A%2F%2Fabout.me%2
>>>>> Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>>>> 7C16c51d3899b54f56d1fb08d5
>>>>> 7a12f462%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>>>> 7C636549144184428545&s
>>>>> data=9atjDHHuhnuufVBQPZuUzM8vf30vf9Q0CP81XX8bXkg%3D&reserved=0
>>>> 
>>>> 
>>> 
>>> 
>>> --
>>> 
>>> Piotr Zarzycki
>>> 
>>> Patreon:
>>> *https://na01.safelinks.protection.outlook.com/?url=
>> https%3A%2F%2Fwww.patr
>>> eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
>> 7C11a52efaa6da4f
>>> e5a00c08d57a1a1c94%7Cfa7b1b5a7b34438794aed2c178de
>> cee1%7C0%7C0%7C6365491749
>>> 23040063&sdata=7%2F1v%2FiuUD7JOZJD87HPTozZD972I8SLrn
>> q5bGZRkKbc%3D&reserved
>>> =0
>>> <https://na01.safelinks.protection.outlook.com/?url=
>> https%3A%2F%2Fwww.patr
>>> eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
>> 7C11a52efaa6da4f
>>> e5a00c08d57a1a1c94%7Cfa7b1b5a7b34438794aed2c178de
>> cee1%7C0%7C0%7C6365491749
>>> 23040063&sdata=7%2F1v%2FiuUD7JOZJD87HPTozZD972I8SLrn
>> q5bGZRkKbc%3D&reserved
>>> =0>*
>> 
>> 
> 
> 
> -- 
> 
> Piotr Zarzycki
> 
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*


Re: Removing the * selector

Posted by Piotr Zarzycki <pi...@gmail.com>.
Yep. That's what I suggested to Alina, because she was started to use
Moonshine. I think it's doable also through the VSCode. In the end it is
all about passing that argument as additional compiler options.



2018-02-22 18:36 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

> Isn't Moonshine also a SWF-based app?  Could try it there too.
>
> -Alex
>
> On 2/22/18, 9:31 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:
>
> >Carlos,
> >
> >It would be great to get that report from your application!
> >
> >Thanks, Piotr
> >
> >2018-02-22 18:17 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >
> >> Your point of view is valid, but it might depend on the kind of
> >> application.  Some might have 100's of views to port, others might only
> >> have 2 or 3 views and a million lines of business logic.
> >>
> >> In another thread I mentioned the -api-report option I added.  It would
> >>be
> >> interesting for folks to try getting API reports on their Flex apps so
> >>we
> >> can see what folks are using so we can use that in making decisions.
> >>
> >> My 2 cents,
> >> -Alex
> >>
> >> On 2/22/18, 8:39 AM, "carlos.rovira@gmail.com on behalf of Carlos
> >>Rovira"
> >> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
> >>
> >> >Without know nothing about the solution I want to share a though: I
> >>think
> >> >the implementation of all the things related to visuals (and css is
> >>one of
> >> >them) is completely different in Royale to what it was in flex, so
> >>maybe
> >> >we
> >> >should not be worried that CSS is not following main flex rules.
> >> >For me UX in royale must be done from scratch, if someone is
> >>migrating, we
> >> >can only provide some basic *structure* similar to what Flex was. But
> >> >that's only some kind of guide and could mean around 5-10% of what they
> >> >must to migrate. So this is the opposite to things more related to
> >> >"business" (like the ArrayCollection disscussion we made some days
> >>ago),
> >> >in
> >> >this case, there's very few to save from a flex codebase point of view,
> >> >and
> >> >CSS is one of the things I don't expect to reuse if I come from flex
> >> >codebase.
> >> >
> >> >
> >> >
> >> >2018-02-22 17:27 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >> >
> >> >> Well, it might be a migration issue in the sense that you could use a
> >> >> selector called "global" in Flex and it would become the default
> >>value
> >> >>for
> >> >> styles.
> >> >>
> >> >> Flex and Royale CSS has non-compliant CSS in it like "cffHinting" or
> >> >> "focusSkin" in Flex or "IStatesImpl" in Royale.  Non-compliant styles
> >> >>are
> >> >> not emitted to the final .css file since the browser has no use for
> >> >>them,
> >> >> but are kept in a data structure used by ValuesManager.  If you use
> >> >> "global" for non-compliant style properties, it will work in Royale
> >>like
> >> >> it did in Flex, but if you use "global" to try to set the fontFamily
> >>to
> >> >> Gothic everywhere in your app it will not work in Royale as it did in
> >> >>Flex.
> >> >>
> >> >> Until this change we renamed "global" in the final CSS to "*" so it
> >> >>would
> >> >> have a more global effect, but I took that out because I'm not sure
> >>that
> >> >> "*" is the equivalent since "*" actually has precedence over Type
> >> >> Selectors.  I'm not quite sure how to create the true equivalent of
> >>Flex
> >> >> global styles.
> >> >>
> >> >> We could rename what I'm currently calling "global" in Royale to
> >> >>something
> >> >> else like "royale" and go back to renaming "global" to "*", but I
> >>think
> >> >> that will end up with complaints.  I think it might be right for the
> >> >> migration docs to mention this and offer alternatives like moving
> >>some
> >> >> styles from global to "*" if they understand the impact of doing so.
> >> >> Also, everything is currently a child of the Application so setting
> >> >> Application styles should have a global effect, but I think both will
> >> >> still override type selectors.
> >> >>
> >> >> My 2 cents,
> >> >> -Alex
> >> >>
> >> >> On 2/22/18, 7:44 AM, "carlos.rovira@gmail.com on behalf of Carlos
> >> >>Rovira"
> >> >> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
> wrote:
> >> >>
> >> >> >Hi Andrew, this is new for Apache Royale since is how to deal with
> >>CSS
> >> >>and
> >> >> >how browsers manage it.
> >> >> >So maybe not much relation with Flex in this case
> >> >> >
> >> >> >Best
> >> >> >
> >> >> >Carlos
> >> >> >
> >> >> >
> >> >> >
> >> >> >2018-02-22 13:27 GMT+01:00 Andrew Wetmore <co...@gmail.com>:
> >> >> >
> >> >> >> Is this a migration issue for Flex apps, or is this specific to
> >> >>Royale?
> >> >> >>
> >> >> >> On Thu, Feb 22, 2018 at 5:29 AM, Alex Harui
> >> >><ah...@adobe.com.invalid>
> >> >> >> wrote:
> >> >> >>
> >> >> >> >
> >> >> >> >
> >> >> >> > On 2/22/18, 1:12 AM, "carlos.rovira@gmail.com on behalf of
> >>Carlos
> >> >> >> Rovira"
> >> >> >> > <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
> >> >>wrote:
> >> >> >> >
> >> >> >> > >Hi Alex,
> >> >> >> > >
> >> >> >> > >I think this is a very good change since I had many problems
> >>with
> >> >>MDL
> >> >> >> and
> >> >> >> > >have to use the exclusion on CSS to make it work properly.
> >> >> >> > >
> >> >> >> > >If I understand ok, I should see fonts at 16px, that I think is
> >> >> >>nowadays
> >> >> >> > >the standard for "normal" text, so good.
> >> >> >> > >
> >> >> >> > >What I don't understand is what basic should making any change.
> >> >>From
> >> >> >>my
> >> >> >> > >point of view basic is as the name says...basic, and I don't
> >>like
> >> >>to
> >> >> >> make
> >> >> >> > >fonts 12px.
> >> >> >> > >I only expect in basic to see the wiring of beads like views,
> >> >>models
> >> >> >>and
> >> >> >> > >controllers. But I think almost no CSS rules should be there,
> >> >>hence
> >> >> >>the
> >> >> >> > >basic point at the lowest level, where users only have the
> >>basics
> >> >>of
> >> >> >> what
> >> >> >> > >royale provides without any customization.
> >> >> >> > >
> >> >> >> > >That's how I see it
> >> >> >> >
> >> >> >> > I think I agree.  That's sort of where I was heading by
> >>creating a
> >> >> >> > separate theme in basic.css.  Basic.css is separate from the
> >> >> >>defaults.css
> >> >> >> > in Basic.swc.  Maybe we should give basic.css a different name.
> >> >>The
> >> >> >>goal
> >> >> >> > of basic.css was to give our examples and anybody else building
> >>the
> >> >> >> > smallest app on Basic a more Flex-like look.  I just don't think
> >> >>Serif
> >> >> >> > 16px looks good.  It is true that more traditional CSS visual
> >> >>styles
> >> >> >>can
> >> >> >> > be moved from the Basic defaults.css to whatever we call
> >>basic.css.
> >> >> >> > Someone else can do that work once we see how this change
> >>affects
> >> >> >>Vivid
> >> >> >> > and other themes like MDL.  I'm not sure if every component set
> >> >>should
> >> >> >> > have a separate theme file or SWC as well.  Or if there are a
> >>few
> >> >> >>visual
> >> >> >> > styles in that should remain in Basic's defaults.css so that
> >>other
> >> >> >> > component sets don't have to repeat that information.
> >> >> >> >
> >> >> >> > -Alex
> >> >> >> > >
> >> >> >> > >
> >> >> >> > >2018-02-22 2:43 GMT+01:00 Alex Harui
> >><ah...@adobe.com.invalid>:
> >> >> >> > >
> >> >> >> > >> Hi,
> >> >> >> > >>
> >> >> >> > >> Royale has been using the universal selector for a while now
> >>to
> >> >>set
> >> >> >> > >> defaults for Royale apps.  However, that caused problems with
> >> >>other
> >> >> >> > >> third-party CSS.
> >> >> >> > >>
> >> >> >> > >> I just pushed changes to the compiler and framework so that
> >>we
> >> >> >>don't
> >> >> >> use
> >> >> >> > >> the * selector.  Instead we will be using the * selector
> >> >>properly
> >> >> >>if
> >> >> >> > >> provided by the users CSS and we are using a special selector
> >> >> >>called
> >> >> >> > >> "global" as the "browser defaults" and the final selector in
> >>the
> >> >> >> lookup
> >> >> >> > >>we
> >> >> >> > >> manage.
> >> >> >> > >>
> >> >> >> > >> This should eliminate the need for other component sets to
> >>try
> >> >>to
> >> >> >> > >>exclude
> >> >> >> > >> the defaults.css from Basic.
> >> >> >> > >>
> >> >> >> > >> You may find that text that once looked nice now is 16px
> >>Serif.
> >> >> >> That's
> >> >> >> > >> because we are no longer using inheritance to set the
> >> >>font-family
> >> >> >>on
> >> >> >> all
> >> >> >> > >> components.  The browsers do not seem to deploy a default
> >> >> >>font-family
> >> >> >> so
> >> >> >> > >> the SWF side shouldn't either.  IOW, if you just put some
> >>plain
> >> >> >>text
> >> >> >> in
> >> >> >> > >>an
> >> >> >> > >> HTML file it shows up as 16px Serif.  If you see 16px Serif,
> >> >>let us
> >> >> >> know
> >> >> >> > >> which component is showing that by default.
> >> >> >> > >>
> >> >> >> > >> However, we don't really want to make 16px Serif the default
> >> >>font
> >> >> >>in
> >> >> >> our
> >> >> >> > >> examples, so I created a CSS-based theme in
> >> >>themes/Basic/basic.css
> >> >> >>and
> >> >> >> > >>put
> >> >> >> > >> 12px Sans-Serif as the default for a bunch of type selectors
> >> >>since
> >> >> >> that
> >> >> >> > >> was what our examples were using.  I did not create a default
> >> >>font
> >> >> >>for
> >> >> >> > >> Application as that would become the default for other
> >>component
> >> >> >>sets
> >> >> >> > >> mixed into a Royale app unless otherwise specified.
> >>Component
> >> >>sets
> >> >> >> with
> >> >> >> > >> different looks can use a different theme and get different
> >> >> >>defaults.
> >> >> >> > >>
> >> >> >> > >> So, in sum, without any theme, we want the SWF side to look
> >>like
> >> >> >>the
> >> >> >> > >> browser and have 16px Serif.  But the royale-config.xml will
> >> >> >>specify
> >> >> >> > >> themes/Basic/basic.css as the default theme giving the
> >>examples
> >> >>and
> >> >> >> most
> >> >> >> > >> people's unstyled apps a more Flex-like look by using
> >> >>sans-serif.
> >> >> >> More
> >> >> >> > >> type selectors may need to be added to
> >>themes/Basic/basic.css in
> >> >> >>order
> >> >> >> > >>to
> >> >> >> > >> get sans serif everywhere by default without putting
> >> >>font-family on
> >> >> >> > >> Application.  That way, when you switch to another theme,
> >>like
> >> >>the
> >> >> >> Vivid
> >> >> >> > >> that Carlos is working on, there should be fewer, if any,
> >> >>default
> >> >> >> values
> >> >> >> > >> that screw up the other theme.
> >> >> >> > >>
> >> >> >> > >> Thanks,
> >> >> >> > >> -Alex
> >> >> >> > >>
> >> >> >> > >>
> >> >> >> > >
> >> >> >> > >
> >> >> >> > >--
> >> >> >> > >Carlos Rovira
> >> >> >> > >https://na01.safelinks.protection.outlook.com/?url=
> >> >> >> > http%3A%2F%2Fabout.me%2
> >> >> >> > >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> >> >> >> > 7C5807444789504e2f3d8c08d5
> >> >> >> > >79d46f81%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >> >> >> > 7C636548875665083262&s
> >> >> >> > >data=MjSAbOXuFPTLeafKWOYuDDbc8oMn4YbsZ6pzwxYA6pg%3D&reserved=0
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >> Andrew Wetmore
> >> >> >>
> >> >> >>
> >> >> >>https://na01.safelinks.protection.outlook.com/?url=
> >> >> http%3A%2F%2Fcottage14
> >> >> >>.blogspot.com%2F&data=02%7C01%7Caharui%40adobe.com%
> >> >> 7Cc2d5d47c21084996345c
> >> >> >>08d57a0b4647%7Cfa7b1b5a7b34438794aed2c178de
> >> >> cee1%7C0%7C0%7C636549111204032
> >> >>
> >>>>767&sdata=5DOBst1ytHpKOuKlMicXtNr8AfJuWiEbXpk%2BmvUspLw%3D&reserved=0
> >> >> >>
> >> >> >
> >> >> >
> >> >> >
> >> >> >--
> >> >> >Carlos Rovira
> >> >> >https://na01.safelinks.protection.outlook.com/?url=
> >> >> http%3A%2F%2Fabout.me%2
> >> >> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> >> >> 7Cc2d5d47c21084996345c08d5
> >> >> >7a0b4647%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >> >> 7C636549111204032767&s
> >> >> >data=y64W72CO7WgyBNYCVAKpczGJaisl3vwuCu00%2FWx1sVA%3D&reserved=0
> >> >>
> >> >>
> >> >
> >> >
> >> >--
> >> >Carlos Rovira
> >> >https://na01.safelinks.protection.outlook.com/?url=
> >> http%3A%2F%2Fabout.me%2
> >> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> >> 7C16c51d3899b54f56d1fb08d5
> >> >7a12f462%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >> 7C636549144184428545&s
> >> >data=9atjDHHuhnuufVBQPZuUzM8vf30vf9Q0CP81XX8bXkg%3D&reserved=0
> >>
> >>
> >
> >
> >--
> >
> >Piotr Zarzycki
> >
> >Patreon:
> >*https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.patr
> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
> 7C11a52efaa6da4f
> >e5a00c08d57a1a1c94%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6365491749
> >23040063&sdata=7%2F1v%2FiuUD7JOZJD87HPTozZD972I8SLrn
> q5bGZRkKbc%3D&reserved
> >=0
> ><https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.patr
> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%
> 7C11a52efaa6da4f
> >e5a00c08d57a1a1c94%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6365491749
> >23040063&sdata=7%2F1v%2FiuUD7JOZJD87HPTozZD972I8SLrn
> q5bGZRkKbc%3D&reserved
> >=0>*
>
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Removing the * selector

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Isn't Moonshine also a SWF-based app?  Could try it there too.

-Alex

On 2/22/18, 9:31 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:

>Carlos,
>
>It would be great to get that report from your application!
>
>Thanks, Piotr
>
>2018-02-22 18:17 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>
>> Your point of view is valid, but it might depend on the kind of
>> application.  Some might have 100's of views to port, others might only
>> have 2 or 3 views and a million lines of business logic.
>>
>> In another thread I mentioned the -api-report option I added.  It would
>>be
>> interesting for folks to try getting API reports on their Flex apps so
>>we
>> can see what folks are using so we can use that in making decisions.
>>
>> My 2 cents,
>> -Alex
>>
>> On 2/22/18, 8:39 AM, "carlos.rovira@gmail.com on behalf of Carlos
>>Rovira"
>> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>>
>> >Without know nothing about the solution I want to share a though: I
>>think
>> >the implementation of all the things related to visuals (and css is
>>one of
>> >them) is completely different in Royale to what it was in flex, so
>>maybe
>> >we
>> >should not be worried that CSS is not following main flex rules.
>> >For me UX in royale must be done from scratch, if someone is
>>migrating, we
>> >can only provide some basic *structure* similar to what Flex was. But
>> >that's only some kind of guide and could mean around 5-10% of what they
>> >must to migrate. So this is the opposite to things more related to
>> >"business" (like the ArrayCollection disscussion we made some days
>>ago),
>> >in
>> >this case, there's very few to save from a flex codebase point of view,
>> >and
>> >CSS is one of the things I don't expect to reuse if I come from flex
>> >codebase.
>> >
>> >
>> >
>> >2018-02-22 17:27 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>> >
>> >> Well, it might be a migration issue in the sense that you could use a
>> >> selector called "global" in Flex and it would become the default
>>value
>> >>for
>> >> styles.
>> >>
>> >> Flex and Royale CSS has non-compliant CSS in it like "cffHinting" or
>> >> "focusSkin" in Flex or "IStatesImpl" in Royale.  Non-compliant styles
>> >>are
>> >> not emitted to the final .css file since the browser has no use for
>> >>them,
>> >> but are kept in a data structure used by ValuesManager.  If you use
>> >> "global" for non-compliant style properties, it will work in Royale
>>like
>> >> it did in Flex, but if you use "global" to try to set the fontFamily
>>to
>> >> Gothic everywhere in your app it will not work in Royale as it did in
>> >>Flex.
>> >>
>> >> Until this change we renamed "global" in the final CSS to "*" so it
>> >>would
>> >> have a more global effect, but I took that out because I'm not sure
>>that
>> >> "*" is the equivalent since "*" actually has precedence over Type
>> >> Selectors.  I'm not quite sure how to create the true equivalent of
>>Flex
>> >> global styles.
>> >>
>> >> We could rename what I'm currently calling "global" in Royale to
>> >>something
>> >> else like "royale" and go back to renaming "global" to "*", but I
>>think
>> >> that will end up with complaints.  I think it might be right for the
>> >> migration docs to mention this and offer alternatives like moving
>>some
>> >> styles from global to "*" if they understand the impact of doing so.
>> >> Also, everything is currently a child of the Application so setting
>> >> Application styles should have a global effect, but I think both will
>> >> still override type selectors.
>> >>
>> >> My 2 cents,
>> >> -Alex
>> >>
>> >> On 2/22/18, 7:44 AM, "carlos.rovira@gmail.com on behalf of Carlos
>> >>Rovira"
>> >> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>> >>
>> >> >Hi Andrew, this is new for Apache Royale since is how to deal with
>>CSS
>> >>and
>> >> >how browsers manage it.
>> >> >So maybe not much relation with Flex in this case
>> >> >
>> >> >Best
>> >> >
>> >> >Carlos
>> >> >
>> >> >
>> >> >
>> >> >2018-02-22 13:27 GMT+01:00 Andrew Wetmore <co...@gmail.com>:
>> >> >
>> >> >> Is this a migration issue for Flex apps, or is this specific to
>> >>Royale?
>> >> >>
>> >> >> On Thu, Feb 22, 2018 at 5:29 AM, Alex Harui
>> >><ah...@adobe.com.invalid>
>> >> >> wrote:
>> >> >>
>> >> >> >
>> >> >> >
>> >> >> > On 2/22/18, 1:12 AM, "carlos.rovira@gmail.com on behalf of
>>Carlos
>> >> >> Rovira"
>> >> >> > <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
>> >>wrote:
>> >> >> >
>> >> >> > >Hi Alex,
>> >> >> > >
>> >> >> > >I think this is a very good change since I had many problems
>>with
>> >>MDL
>> >> >> and
>> >> >> > >have to use the exclusion on CSS to make it work properly.
>> >> >> > >
>> >> >> > >If I understand ok, I should see fonts at 16px, that I think is
>> >> >>nowadays
>> >> >> > >the standard for "normal" text, so good.
>> >> >> > >
>> >> >> > >What I don't understand is what basic should making any change.
>> >>From
>> >> >>my
>> >> >> > >point of view basic is as the name says...basic, and I don't
>>like
>> >>to
>> >> >> make
>> >> >> > >fonts 12px.
>> >> >> > >I only expect in basic to see the wiring of beads like views,
>> >>models
>> >> >>and
>> >> >> > >controllers. But I think almost no CSS rules should be there,
>> >>hence
>> >> >>the
>> >> >> > >basic point at the lowest level, where users only have the
>>basics
>> >>of
>> >> >> what
>> >> >> > >royale provides without any customization.
>> >> >> > >
>> >> >> > >That's how I see it
>> >> >> >
>> >> >> > I think I agree.  That's sort of where I was heading by
>>creating a
>> >> >> > separate theme in basic.css.  Basic.css is separate from the
>> >> >>defaults.css
>> >> >> > in Basic.swc.  Maybe we should give basic.css a different name.
>> >>The
>> >> >>goal
>> >> >> > of basic.css was to give our examples and anybody else building
>>the
>> >> >> > smallest app on Basic a more Flex-like look.  I just don't think
>> >>Serif
>> >> >> > 16px looks good.  It is true that more traditional CSS visual
>> >>styles
>> >> >>can
>> >> >> > be moved from the Basic defaults.css to whatever we call
>>basic.css.
>> >> >> > Someone else can do that work once we see how this change
>>affects
>> >> >>Vivid
>> >> >> > and other themes like MDL.  I'm not sure if every component set
>> >>should
>> >> >> > have a separate theme file or SWC as well.  Or if there are a
>>few
>> >> >>visual
>> >> >> > styles in that should remain in Basic's defaults.css so that
>>other
>> >> >> > component sets don't have to repeat that information.
>> >> >> >
>> >> >> > -Alex
>> >> >> > >
>> >> >> > >
>> >> >> > >2018-02-22 2:43 GMT+01:00 Alex Harui
>><ah...@adobe.com.invalid>:
>> >> >> > >
>> >> >> > >> Hi,
>> >> >> > >>
>> >> >> > >> Royale has been using the universal selector for a while now
>>to
>> >>set
>> >> >> > >> defaults for Royale apps.  However, that caused problems with
>> >>other
>> >> >> > >> third-party CSS.
>> >> >> > >>
>> >> >> > >> I just pushed changes to the compiler and framework so that
>>we
>> >> >>don't
>> >> >> use
>> >> >> > >> the * selector.  Instead we will be using the * selector
>> >>properly
>> >> >>if
>> >> >> > >> provided by the users CSS and we are using a special selector
>> >> >>called
>> >> >> > >> "global" as the "browser defaults" and the final selector in
>>the
>> >> >> lookup
>> >> >> > >>we
>> >> >> > >> manage.
>> >> >> > >>
>> >> >> > >> This should eliminate the need for other component sets to
>>try
>> >>to
>> >> >> > >>exclude
>> >> >> > >> the defaults.css from Basic.
>> >> >> > >>
>> >> >> > >> You may find that text that once looked nice now is 16px
>>Serif.
>> >> >> That's
>> >> >> > >> because we are no longer using inheritance to set the
>> >>font-family
>> >> >>on
>> >> >> all
>> >> >> > >> components.  The browsers do not seem to deploy a default
>> >> >>font-family
>> >> >> so
>> >> >> > >> the SWF side shouldn't either.  IOW, if you just put some
>>plain
>> >> >>text
>> >> >> in
>> >> >> > >>an
>> >> >> > >> HTML file it shows up as 16px Serif.  If you see 16px Serif,
>> >>let us
>> >> >> know
>> >> >> > >> which component is showing that by default.
>> >> >> > >>
>> >> >> > >> However, we don't really want to make 16px Serif the default
>> >>font
>> >> >>in
>> >> >> our
>> >> >> > >> examples, so I created a CSS-based theme in
>> >>themes/Basic/basic.css
>> >> >>and
>> >> >> > >>put
>> >> >> > >> 12px Sans-Serif as the default for a bunch of type selectors
>> >>since
>> >> >> that
>> >> >> > >> was what our examples were using.  I did not create a default
>> >>font
>> >> >>for
>> >> >> > >> Application as that would become the default for other
>>component
>> >> >>sets
>> >> >> > >> mixed into a Royale app unless otherwise specified.
>>Component
>> >>sets
>> >> >> with
>> >> >> > >> different looks can use a different theme and get different
>> >> >>defaults.
>> >> >> > >>
>> >> >> > >> So, in sum, without any theme, we want the SWF side to look
>>like
>> >> >>the
>> >> >> > >> browser and have 16px Serif.  But the royale-config.xml will
>> >> >>specify
>> >> >> > >> themes/Basic/basic.css as the default theme giving the
>>examples
>> >>and
>> >> >> most
>> >> >> > >> people's unstyled apps a more Flex-like look by using
>> >>sans-serif.
>> >> >> More
>> >> >> > >> type selectors may need to be added to
>>themes/Basic/basic.css in
>> >> >>order
>> >> >> > >>to
>> >> >> > >> get sans serif everywhere by default without putting
>> >>font-family on
>> >> >> > >> Application.  That way, when you switch to another theme,
>>like
>> >>the
>> >> >> Vivid
>> >> >> > >> that Carlos is working on, there should be fewer, if any,
>> >>default
>> >> >> values
>> >> >> > >> that screw up the other theme.
>> >> >> > >>
>> >> >> > >> Thanks,
>> >> >> > >> -Alex
>> >> >> > >>
>> >> >> > >>
>> >> >> > >
>> >> >> > >
>> >> >> > >--
>> >> >> > >Carlos Rovira
>> >> >> > >https://na01.safelinks.protection.outlook.com/?url=
>> >> >> > http%3A%2F%2Fabout.me%2
>> >> >> > >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>> >> >> > 7C5807444789504e2f3d8c08d5
>> >> >> > >79d46f81%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>> >> >> > 7C636548875665083262&s
>> >> >> > >data=MjSAbOXuFPTLeafKWOYuDDbc8oMn4YbsZ6pzwxYA6pg%3D&reserved=0
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Andrew Wetmore
>> >> >>
>> >> >>
>> >> >>https://na01.safelinks.protection.outlook.com/?url=
>> >> http%3A%2F%2Fcottage14
>> >> >>.blogspot.com%2F&data=02%7C01%7Caharui%40adobe.com%
>> >> 7Cc2d5d47c21084996345c
>> >> >>08d57a0b4647%7Cfa7b1b5a7b34438794aed2c178de
>> >> cee1%7C0%7C0%7C636549111204032
>> >> 
>>>>767&sdata=5DOBst1ytHpKOuKlMicXtNr8AfJuWiEbXpk%2BmvUspLw%3D&reserved=0
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> >--
>> >> >Carlos Rovira
>> >> >https://na01.safelinks.protection.outlook.com/?url=
>> >> http%3A%2F%2Fabout.me%2
>> >> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>> >> 7Cc2d5d47c21084996345c08d5
>> >> >7a0b4647%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>> >> 7C636549111204032767&s
>> >> >data=y64W72CO7WgyBNYCVAKpczGJaisl3vwuCu00%2FWx1sVA%3D&reserved=0
>> >>
>> >>
>> >
>> >
>> >--
>> >Carlos Rovira
>> >https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fabout.me%2
>> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>> 7C16c51d3899b54f56d1fb08d5
>> >7a12f462%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>> 7C636549144184428545&s
>> >data=9atjDHHuhnuufVBQPZuUzM8vf30vf9Q0CP81XX8bXkg%3D&reserved=0
>>
>>
>
>
>-- 
>
>Piotr Zarzycki
>
>Patreon: 
>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr
>eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C11a52efaa6da4f
>e5a00c08d57a1a1c94%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365491749
>23040063&sdata=7%2F1v%2FiuUD7JOZJD87HPTozZD972I8SLrnq5bGZRkKbc%3D&reserved
>=0
><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr
>eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C11a52efaa6da4f
>e5a00c08d57a1a1c94%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365491749
>23040063&sdata=7%2F1v%2FiuUD7JOZJD87HPTozZD972I8SLrnq5bGZRkKbc%3D&reserved
>=0>*


Re: Removing the * selector

Posted by Piotr Zarzycki <pi...@gmail.com>.
Carlos,

It would be great to get that report from your application!

Thanks, Piotr

2018-02-22 18:17 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

> Your point of view is valid, but it might depend on the kind of
> application.  Some might have 100's of views to port, others might only
> have 2 or 3 views and a million lines of business logic.
>
> In another thread I mentioned the -api-report option I added.  It would be
> interesting for folks to try getting API reports on their Flex apps so we
> can see what folks are using so we can use that in making decisions.
>
> My 2 cents,
> -Alex
>
> On 2/22/18, 8:39 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>
> >Without know nothing about the solution I want to share a though: I think
> >the implementation of all the things related to visuals (and css is one of
> >them) is completely different in Royale to what it was in flex, so maybe
> >we
> >should not be worried that CSS is not following main flex rules.
> >For me UX in royale must be done from scratch, if someone is migrating, we
> >can only provide some basic *structure* similar to what Flex was. But
> >that's only some kind of guide and could mean around 5-10% of what they
> >must to migrate. So this is the opposite to things more related to
> >"business" (like the ArrayCollection disscussion we made some days ago),
> >in
> >this case, there's very few to save from a flex codebase point of view,
> >and
> >CSS is one of the things I don't expect to reuse if I come from flex
> >codebase.
> >
> >
> >
> >2018-02-22 17:27 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >
> >> Well, it might be a migration issue in the sense that you could use a
> >> selector called "global" in Flex and it would become the default value
> >>for
> >> styles.
> >>
> >> Flex and Royale CSS has non-compliant CSS in it like "cffHinting" or
> >> "focusSkin" in Flex or "IStatesImpl" in Royale.  Non-compliant styles
> >>are
> >> not emitted to the final .css file since the browser has no use for
> >>them,
> >> but are kept in a data structure used by ValuesManager.  If you use
> >> "global" for non-compliant style properties, it will work in Royale like
> >> it did in Flex, but if you use "global" to try to set the fontFamily to
> >> Gothic everywhere in your app it will not work in Royale as it did in
> >>Flex.
> >>
> >> Until this change we renamed "global" in the final CSS to "*" so it
> >>would
> >> have a more global effect, but I took that out because I'm not sure that
> >> "*" is the equivalent since "*" actually has precedence over Type
> >> Selectors.  I'm not quite sure how to create the true equivalent of Flex
> >> global styles.
> >>
> >> We could rename what I'm currently calling "global" in Royale to
> >>something
> >> else like "royale" and go back to renaming "global" to "*", but I think
> >> that will end up with complaints.  I think it might be right for the
> >> migration docs to mention this and offer alternatives like moving some
> >> styles from global to "*" if they understand the impact of doing so.
> >> Also, everything is currently a child of the Application so setting
> >> Application styles should have a global effect, but I think both will
> >> still override type selectors.
> >>
> >> My 2 cents,
> >> -Alex
> >>
> >> On 2/22/18, 7:44 AM, "carlos.rovira@gmail.com on behalf of Carlos
> >>Rovira"
> >> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
> >>
> >> >Hi Andrew, this is new for Apache Royale since is how to deal with CSS
> >>and
> >> >how browsers manage it.
> >> >So maybe not much relation with Flex in this case
> >> >
> >> >Best
> >> >
> >> >Carlos
> >> >
> >> >
> >> >
> >> >2018-02-22 13:27 GMT+01:00 Andrew Wetmore <co...@gmail.com>:
> >> >
> >> >> Is this a migration issue for Flex apps, or is this specific to
> >>Royale?
> >> >>
> >> >> On Thu, Feb 22, 2018 at 5:29 AM, Alex Harui
> >><ah...@adobe.com.invalid>
> >> >> wrote:
> >> >>
> >> >> >
> >> >> >
> >> >> > On 2/22/18, 1:12 AM, "carlos.rovira@gmail.com on behalf of Carlos
> >> >> Rovira"
> >> >> > <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
> >>wrote:
> >> >> >
> >> >> > >Hi Alex,
> >> >> > >
> >> >> > >I think this is a very good change since I had many problems with
> >>MDL
> >> >> and
> >> >> > >have to use the exclusion on CSS to make it work properly.
> >> >> > >
> >> >> > >If I understand ok, I should see fonts at 16px, that I think is
> >> >>nowadays
> >> >> > >the standard for "normal" text, so good.
> >> >> > >
> >> >> > >What I don't understand is what basic should making any change.
> >>From
> >> >>my
> >> >> > >point of view basic is as the name says...basic, and I don't like
> >>to
> >> >> make
> >> >> > >fonts 12px.
> >> >> > >I only expect in basic to see the wiring of beads like views,
> >>models
> >> >>and
> >> >> > >controllers. But I think almost no CSS rules should be there,
> >>hence
> >> >>the
> >> >> > >basic point at the lowest level, where users only have the basics
> >>of
> >> >> what
> >> >> > >royale provides without any customization.
> >> >> > >
> >> >> > >That's how I see it
> >> >> >
> >> >> > I think I agree.  That's sort of where I was heading by creating a
> >> >> > separate theme in basic.css.  Basic.css is separate from the
> >> >>defaults.css
> >> >> > in Basic.swc.  Maybe we should give basic.css a different name.
> >>The
> >> >>goal
> >> >> > of basic.css was to give our examples and anybody else building the
> >> >> > smallest app on Basic a more Flex-like look.  I just don't think
> >>Serif
> >> >> > 16px looks good.  It is true that more traditional CSS visual
> >>styles
> >> >>can
> >> >> > be moved from the Basic defaults.css to whatever we call basic.css.
> >> >> > Someone else can do that work once we see how this change affects
> >> >>Vivid
> >> >> > and other themes like MDL.  I'm not sure if every component set
> >>should
> >> >> > have a separate theme file or SWC as well.  Or if there are a few
> >> >>visual
> >> >> > styles in that should remain in Basic's defaults.css so that other
> >> >> > component sets don't have to repeat that information.
> >> >> >
> >> >> > -Alex
> >> >> > >
> >> >> > >
> >> >> > >2018-02-22 2:43 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >> >> > >
> >> >> > >> Hi,
> >> >> > >>
> >> >> > >> Royale has been using the universal selector for a while now to
> >>set
> >> >> > >> defaults for Royale apps.  However, that caused problems with
> >>other
> >> >> > >> third-party CSS.
> >> >> > >>
> >> >> > >> I just pushed changes to the compiler and framework so that we
> >> >>don't
> >> >> use
> >> >> > >> the * selector.  Instead we will be using the * selector
> >>properly
> >> >>if
> >> >> > >> provided by the users CSS and we are using a special selector
> >> >>called
> >> >> > >> "global" as the "browser defaults" and the final selector in the
> >> >> lookup
> >> >> > >>we
> >> >> > >> manage.
> >> >> > >>
> >> >> > >> This should eliminate the need for other component sets to try
> >>to
> >> >> > >>exclude
> >> >> > >> the defaults.css from Basic.
> >> >> > >>
> >> >> > >> You may find that text that once looked nice now is 16px Serif.
> >> >> That's
> >> >> > >> because we are no longer using inheritance to set the
> >>font-family
> >> >>on
> >> >> all
> >> >> > >> components.  The browsers do not seem to deploy a default
> >> >>font-family
> >> >> so
> >> >> > >> the SWF side shouldn't either.  IOW, if you just put some plain
> >> >>text
> >> >> in
> >> >> > >>an
> >> >> > >> HTML file it shows up as 16px Serif.  If you see 16px Serif,
> >>let us
> >> >> know
> >> >> > >> which component is showing that by default.
> >> >> > >>
> >> >> > >> However, we don't really want to make 16px Serif the default
> >>font
> >> >>in
> >> >> our
> >> >> > >> examples, so I created a CSS-based theme in
> >>themes/Basic/basic.css
> >> >>and
> >> >> > >>put
> >> >> > >> 12px Sans-Serif as the default for a bunch of type selectors
> >>since
> >> >> that
> >> >> > >> was what our examples were using.  I did not create a default
> >>font
> >> >>for
> >> >> > >> Application as that would become the default for other component
> >> >>sets
> >> >> > >> mixed into a Royale app unless otherwise specified.  Component
> >>sets
> >> >> with
> >> >> > >> different looks can use a different theme and get different
> >> >>defaults.
> >> >> > >>
> >> >> > >> So, in sum, without any theme, we want the SWF side to look like
> >> >>the
> >> >> > >> browser and have 16px Serif.  But the royale-config.xml will
> >> >>specify
> >> >> > >> themes/Basic/basic.css as the default theme giving the examples
> >>and
> >> >> most
> >> >> > >> people's unstyled apps a more Flex-like look by using
> >>sans-serif.
> >> >> More
> >> >> > >> type selectors may need to be added to themes/Basic/basic.css in
> >> >>order
> >> >> > >>to
> >> >> > >> get sans serif everywhere by default without putting
> >>font-family on
> >> >> > >> Application.  That way, when you switch to another theme, like
> >>the
> >> >> Vivid
> >> >> > >> that Carlos is working on, there should be fewer, if any,
> >>default
> >> >> values
> >> >> > >> that screw up the other theme.
> >> >> > >>
> >> >> > >> Thanks,
> >> >> > >> -Alex
> >> >> > >>
> >> >> > >>
> >> >> > >
> >> >> > >
> >> >> > >--
> >> >> > >Carlos Rovira
> >> >> > >https://na01.safelinks.protection.outlook.com/?url=
> >> >> > http%3A%2F%2Fabout.me%2
> >> >> > >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> >> >> > 7C5807444789504e2f3d8c08d5
> >> >> > >79d46f81%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >> >> > 7C636548875665083262&s
> >> >> > >data=MjSAbOXuFPTLeafKWOYuDDbc8oMn4YbsZ6pzwxYA6pg%3D&reserved=0
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >> --
> >> >> Andrew Wetmore
> >> >>
> >> >>
> >> >>https://na01.safelinks.protection.outlook.com/?url=
> >> http%3A%2F%2Fcottage14
> >> >>.blogspot.com%2F&data=02%7C01%7Caharui%40adobe.com%
> >> 7Cc2d5d47c21084996345c
> >> >>08d57a0b4647%7Cfa7b1b5a7b34438794aed2c178de
> >> cee1%7C0%7C0%7C636549111204032
> >> >>767&sdata=5DOBst1ytHpKOuKlMicXtNr8AfJuWiEbXpk%2BmvUspLw%3D&reserved=0
> >> >>
> >> >
> >> >
> >> >
> >> >--
> >> >Carlos Rovira
> >> >https://na01.safelinks.protection.outlook.com/?url=
> >> http%3A%2F%2Fabout.me%2
> >> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> >> 7Cc2d5d47c21084996345c08d5
> >> >7a0b4647%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >> 7C636549111204032767&s
> >> >data=y64W72CO7WgyBNYCVAKpczGJaisl3vwuCu00%2FWx1sVA%3D&reserved=0
> >>
> >>
> >
> >
> >--
> >Carlos Rovira
> >https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fabout.me%2
> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> 7C16c51d3899b54f56d1fb08d5
> >7a12f462%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C636549144184428545&s
> >data=9atjDHHuhnuufVBQPZuUzM8vf30vf9Q0CP81XX8bXkg%3D&reserved=0
>
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Removing the * selector

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Your point of view is valid, but it might depend on the kind of
application.  Some might have 100's of views to port, others might only
have 2 or 3 views and a million lines of business logic.

In another thread I mentioned the -api-report option I added.  It would be
interesting for folks to try getting API reports on their Flex apps so we
can see what folks are using so we can use that in making decisions.

My 2 cents,
-Alex

On 2/22/18, 8:39 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
<carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:

>Without know nothing about the solution I want to share a though: I think
>the implementation of all the things related to visuals (and css is one of
>them) is completely different in Royale to what it was in flex, so maybe
>we
>should not be worried that CSS is not following main flex rules.
>For me UX in royale must be done from scratch, if someone is migrating, we
>can only provide some basic *structure* similar to what Flex was. But
>that's only some kind of guide and could mean around 5-10% of what they
>must to migrate. So this is the opposite to things more related to
>"business" (like the ArrayCollection disscussion we made some days ago),
>in
>this case, there's very few to save from a flex codebase point of view,
>and
>CSS is one of the things I don't expect to reuse if I come from flex
>codebase.
>
>
>
>2018-02-22 17:27 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>
>> Well, it might be a migration issue in the sense that you could use a
>> selector called "global" in Flex and it would become the default value
>>for
>> styles.
>>
>> Flex and Royale CSS has non-compliant CSS in it like "cffHinting" or
>> "focusSkin" in Flex or "IStatesImpl" in Royale.  Non-compliant styles
>>are
>> not emitted to the final .css file since the browser has no use for
>>them,
>> but are kept in a data structure used by ValuesManager.  If you use
>> "global" for non-compliant style properties, it will work in Royale like
>> it did in Flex, but if you use "global" to try to set the fontFamily to
>> Gothic everywhere in your app it will not work in Royale as it did in
>>Flex.
>>
>> Until this change we renamed "global" in the final CSS to "*" so it
>>would
>> have a more global effect, but I took that out because I'm not sure that
>> "*" is the equivalent since "*" actually has precedence over Type
>> Selectors.  I'm not quite sure how to create the true equivalent of Flex
>> global styles.
>>
>> We could rename what I'm currently calling "global" in Royale to
>>something
>> else like "royale" and go back to renaming "global" to "*", but I think
>> that will end up with complaints.  I think it might be right for the
>> migration docs to mention this and offer alternatives like moving some
>> styles from global to "*" if they understand the impact of doing so.
>> Also, everything is currently a child of the Application so setting
>> Application styles should have a global effect, but I think both will
>> still override type selectors.
>>
>> My 2 cents,
>> -Alex
>>
>> On 2/22/18, 7:44 AM, "carlos.rovira@gmail.com on behalf of Carlos
>>Rovira"
>> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>>
>> >Hi Andrew, this is new for Apache Royale since is how to deal with CSS
>>and
>> >how browsers manage it.
>> >So maybe not much relation with Flex in this case
>> >
>> >Best
>> >
>> >Carlos
>> >
>> >
>> >
>> >2018-02-22 13:27 GMT+01:00 Andrew Wetmore <co...@gmail.com>:
>> >
>> >> Is this a migration issue for Flex apps, or is this specific to
>>Royale?
>> >>
>> >> On Thu, Feb 22, 2018 at 5:29 AM, Alex Harui
>><ah...@adobe.com.invalid>
>> >> wrote:
>> >>
>> >> >
>> >> >
>> >> > On 2/22/18, 1:12 AM, "carlos.rovira@gmail.com on behalf of Carlos
>> >> Rovira"
>> >> > <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
>>wrote:
>> >> >
>> >> > >Hi Alex,
>> >> > >
>> >> > >I think this is a very good change since I had many problems with
>>MDL
>> >> and
>> >> > >have to use the exclusion on CSS to make it work properly.
>> >> > >
>> >> > >If I understand ok, I should see fonts at 16px, that I think is
>> >>nowadays
>> >> > >the standard for "normal" text, so good.
>> >> > >
>> >> > >What I don't understand is what basic should making any change.
>>From
>> >>my
>> >> > >point of view basic is as the name says...basic, and I don't like
>>to
>> >> make
>> >> > >fonts 12px.
>> >> > >I only expect in basic to see the wiring of beads like views,
>>models
>> >>and
>> >> > >controllers. But I think almost no CSS rules should be there,
>>hence
>> >>the
>> >> > >basic point at the lowest level, where users only have the basics
>>of
>> >> what
>> >> > >royale provides without any customization.
>> >> > >
>> >> > >That's how I see it
>> >> >
>> >> > I think I agree.  That's sort of where I was heading by creating a
>> >> > separate theme in basic.css.  Basic.css is separate from the
>> >>defaults.css
>> >> > in Basic.swc.  Maybe we should give basic.css a different name.
>>The
>> >>goal
>> >> > of basic.css was to give our examples and anybody else building the
>> >> > smallest app on Basic a more Flex-like look.  I just don't think
>>Serif
>> >> > 16px looks good.  It is true that more traditional CSS visual
>>styles
>> >>can
>> >> > be moved from the Basic defaults.css to whatever we call basic.css.
>> >> > Someone else can do that work once we see how this change affects
>> >>Vivid
>> >> > and other themes like MDL.  I'm not sure if every component set
>>should
>> >> > have a separate theme file or SWC as well.  Or if there are a few
>> >>visual
>> >> > styles in that should remain in Basic's defaults.css so that other
>> >> > component sets don't have to repeat that information.
>> >> >
>> >> > -Alex
>> >> > >
>> >> > >
>> >> > >2018-02-22 2:43 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>> >> > >
>> >> > >> Hi,
>> >> > >>
>> >> > >> Royale has been using the universal selector for a while now to
>>set
>> >> > >> defaults for Royale apps.  However, that caused problems with
>>other
>> >> > >> third-party CSS.
>> >> > >>
>> >> > >> I just pushed changes to the compiler and framework so that we
>> >>don't
>> >> use
>> >> > >> the * selector.  Instead we will be using the * selector
>>properly
>> >>if
>> >> > >> provided by the users CSS and we are using a special selector
>> >>called
>> >> > >> "global" as the "browser defaults" and the final selector in the
>> >> lookup
>> >> > >>we
>> >> > >> manage.
>> >> > >>
>> >> > >> This should eliminate the need for other component sets to try
>>to
>> >> > >>exclude
>> >> > >> the defaults.css from Basic.
>> >> > >>
>> >> > >> You may find that text that once looked nice now is 16px Serif.
>> >> That's
>> >> > >> because we are no longer using inheritance to set the
>>font-family
>> >>on
>> >> all
>> >> > >> components.  The browsers do not seem to deploy a default
>> >>font-family
>> >> so
>> >> > >> the SWF side shouldn't either.  IOW, if you just put some plain
>> >>text
>> >> in
>> >> > >>an
>> >> > >> HTML file it shows up as 16px Serif.  If you see 16px Serif,
>>let us
>> >> know
>> >> > >> which component is showing that by default.
>> >> > >>
>> >> > >> However, we don't really want to make 16px Serif the default
>>font
>> >>in
>> >> our
>> >> > >> examples, so I created a CSS-based theme in
>>themes/Basic/basic.css
>> >>and
>> >> > >>put
>> >> > >> 12px Sans-Serif as the default for a bunch of type selectors
>>since
>> >> that
>> >> > >> was what our examples were using.  I did not create a default
>>font
>> >>for
>> >> > >> Application as that would become the default for other component
>> >>sets
>> >> > >> mixed into a Royale app unless otherwise specified.  Component
>>sets
>> >> with
>> >> > >> different looks can use a different theme and get different
>> >>defaults.
>> >> > >>
>> >> > >> So, in sum, without any theme, we want the SWF side to look like
>> >>the
>> >> > >> browser and have 16px Serif.  But the royale-config.xml will
>> >>specify
>> >> > >> themes/Basic/basic.css as the default theme giving the examples
>>and
>> >> most
>> >> > >> people's unstyled apps a more Flex-like look by using
>>sans-serif.
>> >> More
>> >> > >> type selectors may need to be added to themes/Basic/basic.css in
>> >>order
>> >> > >>to
>> >> > >> get sans serif everywhere by default without putting
>>font-family on
>> >> > >> Application.  That way, when you switch to another theme, like
>>the
>> >> Vivid
>> >> > >> that Carlos is working on, there should be fewer, if any,
>>default
>> >> values
>> >> > >> that screw up the other theme.
>> >> > >>
>> >> > >> Thanks,
>> >> > >> -Alex
>> >> > >>
>> >> > >>
>> >> > >
>> >> > >
>> >> > >--
>> >> > >Carlos Rovira
>> >> > >https://na01.safelinks.protection.outlook.com/?url=
>> >> > http%3A%2F%2Fabout.me%2
>> >> > >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>> >> > 7C5807444789504e2f3d8c08d5
>> >> > >79d46f81%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>> >> > 7C636548875665083262&s
>> >> > >data=MjSAbOXuFPTLeafKWOYuDDbc8oMn4YbsZ6pzwxYA6pg%3D&reserved=0
>> >> >
>> >> >
>> >>
>> >>
>> >> --
>> >> Andrew Wetmore
>> >>
>> >>
>> >>https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fcottage14
>> >>.blogspot.com%2F&data=02%7C01%7Caharui%40adobe.com%
>> 7Cc2d5d47c21084996345c
>> >>08d57a0b4647%7Cfa7b1b5a7b34438794aed2c178de
>> cee1%7C0%7C0%7C636549111204032
>> >>767&sdata=5DOBst1ytHpKOuKlMicXtNr8AfJuWiEbXpk%2BmvUspLw%3D&reserved=0
>> >>
>> >
>> >
>> >
>> >--
>> >Carlos Rovira
>> >https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fabout.me%2
>> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>> 7Cc2d5d47c21084996345c08d5
>> >7a0b4647%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>> 7C636549111204032767&s
>> >data=y64W72CO7WgyBNYCVAKpczGJaisl3vwuCu00%2FWx1sVA%3D&reserved=0
>>
>>
>
>
>-- 
>Carlos Rovira
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2
>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C16c51d3899b54f56d1fb08d5
>7a12f462%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549144184428545&s
>data=9atjDHHuhnuufVBQPZuUzM8vf30vf9Q0CP81XX8bXkg%3D&reserved=0


Re: Removing the * selector

Posted by Carlos Rovira <ca...@apache.org>.
Without know nothing about the solution I want to share a though: I think
the implementation of all the things related to visuals (and css is one of
them) is completely different in Royale to what it was in flex, so maybe we
should not be worried that CSS is not following main flex rules.
For me UX in royale must be done from scratch, if someone is migrating, we
can only provide some basic *structure* similar to what Flex was. But
that's only some kind of guide and could mean around 5-10% of what they
must to migrate. So this is the opposite to things more related to
"business" (like the ArrayCollection disscussion we made some days ago), in
this case, there's very few to save from a flex codebase point of view, and
CSS is one of the things I don't expect to reuse if I come from flex
codebase.



2018-02-22 17:27 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

> Well, it might be a migration issue in the sense that you could use a
> selector called "global" in Flex and it would become the default value for
> styles.
>
> Flex and Royale CSS has non-compliant CSS in it like "cffHinting" or
> "focusSkin" in Flex or "IStatesImpl" in Royale.  Non-compliant styles are
> not emitted to the final .css file since the browser has no use for them,
> but are kept in a data structure used by ValuesManager.  If you use
> "global" for non-compliant style properties, it will work in Royale like
> it did in Flex, but if you use "global" to try to set the fontFamily to
> Gothic everywhere in your app it will not work in Royale as it did in Flex.
>
> Until this change we renamed "global" in the final CSS to "*" so it would
> have a more global effect, but I took that out because I'm not sure that
> "*" is the equivalent since "*" actually has precedence over Type
> Selectors.  I'm not quite sure how to create the true equivalent of Flex
> global styles.
>
> We could rename what I'm currently calling "global" in Royale to something
> else like "royale" and go back to renaming "global" to "*", but I think
> that will end up with complaints.  I think it might be right for the
> migration docs to mention this and offer alternatives like moving some
> styles from global to "*" if they understand the impact of doing so.
> Also, everything is currently a child of the Application so setting
> Application styles should have a global effect, but I think both will
> still override type selectors.
>
> My 2 cents,
> -Alex
>
> On 2/22/18, 7:44 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>
> >Hi Andrew, this is new for Apache Royale since is how to deal with CSS and
> >how browsers manage it.
> >So maybe not much relation with Flex in this case
> >
> >Best
> >
> >Carlos
> >
> >
> >
> >2018-02-22 13:27 GMT+01:00 Andrew Wetmore <co...@gmail.com>:
> >
> >> Is this a migration issue for Flex apps, or is this specific to Royale?
> >>
> >> On Thu, Feb 22, 2018 at 5:29 AM, Alex Harui <ah...@adobe.com.invalid>
> >> wrote:
> >>
> >> >
> >> >
> >> > On 2/22/18, 1:12 AM, "carlos.rovira@gmail.com on behalf of Carlos
> >> Rovira"
> >> > <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
> >> >
> >> > >Hi Alex,
> >> > >
> >> > >I think this is a very good change since I had many problems with MDL
> >> and
> >> > >have to use the exclusion on CSS to make it work properly.
> >> > >
> >> > >If I understand ok, I should see fonts at 16px, that I think is
> >>nowadays
> >> > >the standard for "normal" text, so good.
> >> > >
> >> > >What I don't understand is what basic should making any change. From
> >>my
> >> > >point of view basic is as the name says...basic, and I don't like to
> >> make
> >> > >fonts 12px.
> >> > >I only expect in basic to see the wiring of beads like views, models
> >>and
> >> > >controllers. But I think almost no CSS rules should be there, hence
> >>the
> >> > >basic point at the lowest level, where users only have the basics of
> >> what
> >> > >royale provides without any customization.
> >> > >
> >> > >That's how I see it
> >> >
> >> > I think I agree.  That's sort of where I was heading by creating a
> >> > separate theme in basic.css.  Basic.css is separate from the
> >>defaults.css
> >> > in Basic.swc.  Maybe we should give basic.css a different name.  The
> >>goal
> >> > of basic.css was to give our examples and anybody else building the
> >> > smallest app on Basic a more Flex-like look.  I just don't think Serif
> >> > 16px looks good.  It is true that more traditional CSS visual styles
> >>can
> >> > be moved from the Basic defaults.css to whatever we call basic.css.
> >> > Someone else can do that work once we see how this change affects
> >>Vivid
> >> > and other themes like MDL.  I'm not sure if every component set should
> >> > have a separate theme file or SWC as well.  Or if there are a few
> >>visual
> >> > styles in that should remain in Basic's defaults.css so that other
> >> > component sets don't have to repeat that information.
> >> >
> >> > -Alex
> >> > >
> >> > >
> >> > >2018-02-22 2:43 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >> > >
> >> > >> Hi,
> >> > >>
> >> > >> Royale has been using the universal selector for a while now to set
> >> > >> defaults for Royale apps.  However, that caused problems with other
> >> > >> third-party CSS.
> >> > >>
> >> > >> I just pushed changes to the compiler and framework so that we
> >>don't
> >> use
> >> > >> the * selector.  Instead we will be using the * selector properly
> >>if
> >> > >> provided by the users CSS and we are using a special selector
> >>called
> >> > >> "global" as the "browser defaults" and the final selector in the
> >> lookup
> >> > >>we
> >> > >> manage.
> >> > >>
> >> > >> This should eliminate the need for other component sets to try to
> >> > >>exclude
> >> > >> the defaults.css from Basic.
> >> > >>
> >> > >> You may find that text that once looked nice now is 16px Serif.
> >> That's
> >> > >> because we are no longer using inheritance to set the font-family
> >>on
> >> all
> >> > >> components.  The browsers do not seem to deploy a default
> >>font-family
> >> so
> >> > >> the SWF side shouldn't either.  IOW, if you just put some plain
> >>text
> >> in
> >> > >>an
> >> > >> HTML file it shows up as 16px Serif.  If you see 16px Serif, let us
> >> know
> >> > >> which component is showing that by default.
> >> > >>
> >> > >> However, we don't really want to make 16px Serif the default font
> >>in
> >> our
> >> > >> examples, so I created a CSS-based theme in themes/Basic/basic.css
> >>and
> >> > >>put
> >> > >> 12px Sans-Serif as the default for a bunch of type selectors since
> >> that
> >> > >> was what our examples were using.  I did not create a default font
> >>for
> >> > >> Application as that would become the default for other component
> >>sets
> >> > >> mixed into a Royale app unless otherwise specified.  Component sets
> >> with
> >> > >> different looks can use a different theme and get different
> >>defaults.
> >> > >>
> >> > >> So, in sum, without any theme, we want the SWF side to look like
> >>the
> >> > >> browser and have 16px Serif.  But the royale-config.xml will
> >>specify
> >> > >> themes/Basic/basic.css as the default theme giving the examples and
> >> most
> >> > >> people's unstyled apps a more Flex-like look by using sans-serif.
> >> More
> >> > >> type selectors may need to be added to themes/Basic/basic.css in
> >>order
> >> > >>to
> >> > >> get sans serif everywhere by default without putting font-family on
> >> > >> Application.  That way, when you switch to another theme, like the
> >> Vivid
> >> > >> that Carlos is working on, there should be fewer, if any, default
> >> values
> >> > >> that screw up the other theme.
> >> > >>
> >> > >> Thanks,
> >> > >> -Alex
> >> > >>
> >> > >>
> >> > >
> >> > >
> >> > >--
> >> > >Carlos Rovira
> >> > >https://na01.safelinks.protection.outlook.com/?url=
> >> > http%3A%2F%2Fabout.me%2
> >> > >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> >> > 7C5807444789504e2f3d8c08d5
> >> > >79d46f81%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >> > 7C636548875665083262&s
> >> > >data=MjSAbOXuFPTLeafKWOYuDDbc8oMn4YbsZ6pzwxYA6pg%3D&reserved=0
> >> >
> >> >
> >>
> >>
> >> --
> >> Andrew Wetmore
> >>
> >>
> >>https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fcottage14
> >>.blogspot.com%2F&data=02%7C01%7Caharui%40adobe.com%
> 7Cc2d5d47c21084996345c
> >>08d57a0b4647%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C636549111204032
> >>767&sdata=5DOBst1ytHpKOuKlMicXtNr8AfJuWiEbXpk%2BmvUspLw%3D&reserved=0
> >>
> >
> >
> >
> >--
> >Carlos Rovira
> >https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fabout.me%2
> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> 7Cc2d5d47c21084996345c08d5
> >7a0b4647%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C636549111204032767&s
> >data=y64W72CO7WgyBNYCVAKpczGJaisl3vwuCu00%2FWx1sVA%3D&reserved=0
>
>


-- 
Carlos Rovira
http://about.me/carlosrovira

Re: Removing the * selector

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Well, it might be a migration issue in the sense that you could use a
selector called "global" in Flex and it would become the default value for
styles.

Flex and Royale CSS has non-compliant CSS in it like "cffHinting" or
"focusSkin" in Flex or "IStatesImpl" in Royale.  Non-compliant styles are
not emitted to the final .css file since the browser has no use for them,
but are kept in a data structure used by ValuesManager.  If you use
"global" for non-compliant style properties, it will work in Royale like
it did in Flex, but if you use "global" to try to set the fontFamily to
Gothic everywhere in your app it will not work in Royale as it did in Flex.

Until this change we renamed "global" in the final CSS to "*" so it would
have a more global effect, but I took that out because I'm not sure that
"*" is the equivalent since "*" actually has precedence over Type
Selectors.  I'm not quite sure how to create the true equivalent of Flex
global styles.

We could rename what I'm currently calling "global" in Royale to something
else like "royale" and go back to renaming "global" to "*", but I think
that will end up with complaints.  I think it might be right for the
migration docs to mention this and offer alternatives like moving some
styles from global to "*" if they understand the impact of doing so.
Also, everything is currently a child of the Application so setting
Application styles should have a global effect, but I think both will
still override type selectors.

My 2 cents,
-Alex

On 2/22/18, 7:44 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
<carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:

>Hi Andrew, this is new for Apache Royale since is how to deal with CSS and
>how browsers manage it.
>So maybe not much relation with Flex in this case
>
>Best
>
>Carlos
>
>
>
>2018-02-22 13:27 GMT+01:00 Andrew Wetmore <co...@gmail.com>:
>
>> Is this a migration issue for Flex apps, or is this specific to Royale?
>>
>> On Thu, Feb 22, 2018 at 5:29 AM, Alex Harui <ah...@adobe.com.invalid>
>> wrote:
>>
>> >
>> >
>> > On 2/22/18, 1:12 AM, "carlos.rovira@gmail.com on behalf of Carlos
>> Rovira"
>> > <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>> >
>> > >Hi Alex,
>> > >
>> > >I think this is a very good change since I had many problems with MDL
>> and
>> > >have to use the exclusion on CSS to make it work properly.
>> > >
>> > >If I understand ok, I should see fonts at 16px, that I think is
>>nowadays
>> > >the standard for "normal" text, so good.
>> > >
>> > >What I don't understand is what basic should making any change. From
>>my
>> > >point of view basic is as the name says...basic, and I don't like to
>> make
>> > >fonts 12px.
>> > >I only expect in basic to see the wiring of beads like views, models
>>and
>> > >controllers. But I think almost no CSS rules should be there, hence
>>the
>> > >basic point at the lowest level, where users only have the basics of
>> what
>> > >royale provides without any customization.
>> > >
>> > >That's how I see it
>> >
>> > I think I agree.  That's sort of where I was heading by creating a
>> > separate theme in basic.css.  Basic.css is separate from the
>>defaults.css
>> > in Basic.swc.  Maybe we should give basic.css a different name.  The
>>goal
>> > of basic.css was to give our examples and anybody else building the
>> > smallest app on Basic a more Flex-like look.  I just don't think Serif
>> > 16px looks good.  It is true that more traditional CSS visual styles
>>can
>> > be moved from the Basic defaults.css to whatever we call basic.css.
>> > Someone else can do that work once we see how this change affects
>>Vivid
>> > and other themes like MDL.  I'm not sure if every component set should
>> > have a separate theme file or SWC as well.  Or if there are a few
>>visual
>> > styles in that should remain in Basic's defaults.css so that other
>> > component sets don't have to repeat that information.
>> >
>> > -Alex
>> > >
>> > >
>> > >2018-02-22 2:43 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>> > >
>> > >> Hi,
>> > >>
>> > >> Royale has been using the universal selector for a while now to set
>> > >> defaults for Royale apps.  However, that caused problems with other
>> > >> third-party CSS.
>> > >>
>> > >> I just pushed changes to the compiler and framework so that we
>>don't
>> use
>> > >> the * selector.  Instead we will be using the * selector properly
>>if
>> > >> provided by the users CSS and we are using a special selector
>>called
>> > >> "global" as the "browser defaults" and the final selector in the
>> lookup
>> > >>we
>> > >> manage.
>> > >>
>> > >> This should eliminate the need for other component sets to try to
>> > >>exclude
>> > >> the defaults.css from Basic.
>> > >>
>> > >> You may find that text that once looked nice now is 16px Serif.
>> That's
>> > >> because we are no longer using inheritance to set the font-family
>>on
>> all
>> > >> components.  The browsers do not seem to deploy a default
>>font-family
>> so
>> > >> the SWF side shouldn't either.  IOW, if you just put some plain
>>text
>> in
>> > >>an
>> > >> HTML file it shows up as 16px Serif.  If you see 16px Serif, let us
>> know
>> > >> which component is showing that by default.
>> > >>
>> > >> However, we don't really want to make 16px Serif the default font
>>in
>> our
>> > >> examples, so I created a CSS-based theme in themes/Basic/basic.css
>>and
>> > >>put
>> > >> 12px Sans-Serif as the default for a bunch of type selectors since
>> that
>> > >> was what our examples were using.  I did not create a default font
>>for
>> > >> Application as that would become the default for other component
>>sets
>> > >> mixed into a Royale app unless otherwise specified.  Component sets
>> with
>> > >> different looks can use a different theme and get different
>>defaults.
>> > >>
>> > >> So, in sum, without any theme, we want the SWF side to look like
>>the
>> > >> browser and have 16px Serif.  But the royale-config.xml will
>>specify
>> > >> themes/Basic/basic.css as the default theme giving the examples and
>> most
>> > >> people's unstyled apps a more Flex-like look by using sans-serif.
>> More
>> > >> type selectors may need to be added to themes/Basic/basic.css in
>>order
>> > >>to
>> > >> get sans serif everywhere by default without putting font-family on
>> > >> Application.  That way, when you switch to another theme, like the
>> Vivid
>> > >> that Carlos is working on, there should be fewer, if any, default
>> values
>> > >> that screw up the other theme.
>> > >>
>> > >> Thanks,
>> > >> -Alex
>> > >>
>> > >>
>> > >
>> > >
>> > >--
>> > >Carlos Rovira
>> > >https://na01.safelinks.protection.outlook.com/?url=
>> > http%3A%2F%2Fabout.me%2
>> > >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>> > 7C5807444789504e2f3d8c08d5
>> > >79d46f81%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>> > 7C636548875665083262&s
>> > >data=MjSAbOXuFPTLeafKWOYuDDbc8oMn4YbsZ6pzwxYA6pg%3D&reserved=0
>> >
>> >
>>
>>
>> --
>> Andrew Wetmore
>>
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcottage14
>>.blogspot.com%2F&data=02%7C01%7Caharui%40adobe.com%7Cc2d5d47c21084996345c
>>08d57a0b4647%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549111204032
>>767&sdata=5DOBst1ytHpKOuKlMicXtNr8AfJuWiEbXpk%2BmvUspLw%3D&reserved=0
>>
>
>
>
>-- 
>Carlos Rovira
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2
>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Cc2d5d47c21084996345c08d5
>7a0b4647%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549111204032767&s
>data=y64W72CO7WgyBNYCVAKpczGJaisl3vwuCu00%2FWx1sVA%3D&reserved=0


Re: Removing the * selector

Posted by Carlos Rovira <ca...@apache.org>.
Hi Andrew, this is new for Apache Royale since is how to deal with CSS and
how browsers manage it.
So maybe not much relation with Flex in this case

Best

Carlos



2018-02-22 13:27 GMT+01:00 Andrew Wetmore <co...@gmail.com>:

> Is this a migration issue for Flex apps, or is this specific to Royale?
>
> On Thu, Feb 22, 2018 at 5:29 AM, Alex Harui <ah...@adobe.com.invalid>
> wrote:
>
> >
> >
> > On 2/22/18, 1:12 AM, "carlos.rovira@gmail.com on behalf of Carlos
> Rovira"
> > <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
> >
> > >Hi Alex,
> > >
> > >I think this is a very good change since I had many problems with MDL
> and
> > >have to use the exclusion on CSS to make it work properly.
> > >
> > >If I understand ok, I should see fonts at 16px, that I think is nowadays
> > >the standard for "normal" text, so good.
> > >
> > >What I don't understand is what basic should making any change. From my
> > >point of view basic is as the name says...basic, and I don't like to
> make
> > >fonts 12px.
> > >I only expect in basic to see the wiring of beads like views, models and
> > >controllers. But I think almost no CSS rules should be there, hence the
> > >basic point at the lowest level, where users only have the basics of
> what
> > >royale provides without any customization.
> > >
> > >That's how I see it
> >
> > I think I agree.  That's sort of where I was heading by creating a
> > separate theme in basic.css.  Basic.css is separate from the defaults.css
> > in Basic.swc.  Maybe we should give basic.css a different name.  The goal
> > of basic.css was to give our examples and anybody else building the
> > smallest app on Basic a more Flex-like look.  I just don't think Serif
> > 16px looks good.  It is true that more traditional CSS visual styles can
> > be moved from the Basic defaults.css to whatever we call basic.css.
> > Someone else can do that work once we see how this change affects Vivid
> > and other themes like MDL.  I'm not sure if every component set should
> > have a separate theme file or SWC as well.  Or if there are a few visual
> > styles in that should remain in Basic's defaults.css so that other
> > component sets don't have to repeat that information.
> >
> > -Alex
> > >
> > >
> > >2018-02-22 2:43 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> > >
> > >> Hi,
> > >>
> > >> Royale has been using the universal selector for a while now to set
> > >> defaults for Royale apps.  However, that caused problems with other
> > >> third-party CSS.
> > >>
> > >> I just pushed changes to the compiler and framework so that we don't
> use
> > >> the * selector.  Instead we will be using the * selector properly if
> > >> provided by the users CSS and we are using a special selector called
> > >> "global" as the "browser defaults" and the final selector in the
> lookup
> > >>we
> > >> manage.
> > >>
> > >> This should eliminate the need for other component sets to try to
> > >>exclude
> > >> the defaults.css from Basic.
> > >>
> > >> You may find that text that once looked nice now is 16px Serif.
> That's
> > >> because we are no longer using inheritance to set the font-family on
> all
> > >> components.  The browsers do not seem to deploy a default font-family
> so
> > >> the SWF side shouldn't either.  IOW, if you just put some plain text
> in
> > >>an
> > >> HTML file it shows up as 16px Serif.  If you see 16px Serif, let us
> know
> > >> which component is showing that by default.
> > >>
> > >> However, we don't really want to make 16px Serif the default font in
> our
> > >> examples, so I created a CSS-based theme in themes/Basic/basic.css and
> > >>put
> > >> 12px Sans-Serif as the default for a bunch of type selectors since
> that
> > >> was what our examples were using.  I did not create a default font for
> > >> Application as that would become the default for other component sets
> > >> mixed into a Royale app unless otherwise specified.  Component sets
> with
> > >> different looks can use a different theme and get different defaults.
> > >>
> > >> So, in sum, without any theme, we want the SWF side to look like the
> > >> browser and have 16px Serif.  But the royale-config.xml will specify
> > >> themes/Basic/basic.css as the default theme giving the examples and
> most
> > >> people's unstyled apps a more Flex-like look by using sans-serif.
> More
> > >> type selectors may need to be added to themes/Basic/basic.css in order
> > >>to
> > >> get sans serif everywhere by default without putting font-family on
> > >> Application.  That way, when you switch to another theme, like the
> Vivid
> > >> that Carlos is working on, there should be fewer, if any, default
> values
> > >> that screw up the other theme.
> > >>
> > >> Thanks,
> > >> -Alex
> > >>
> > >>
> > >
> > >
> > >--
> > >Carlos Rovira
> > >https://na01.safelinks.protection.outlook.com/?url=
> > http%3A%2F%2Fabout.me%2
> > >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> > 7C5807444789504e2f3d8c08d5
> > >79d46f81%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> > 7C636548875665083262&s
> > >data=MjSAbOXuFPTLeafKWOYuDDbc8oMn4YbsZ6pzwxYA6pg%3D&reserved=0
> >
> >
>
>
> --
> Andrew Wetmore
>
> http://cottage14.blogspot.com/
>



-- 
Carlos Rovira
http://about.me/carlosrovira

Re: Removing the * selector

Posted by Andrew Wetmore <co...@gmail.com>.
Is this a migration issue for Flex apps, or is this specific to Royale?

On Thu, Feb 22, 2018 at 5:29 AM, Alex Harui <ah...@adobe.com.invalid>
wrote:

>
>
> On 2/22/18, 1:12 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>
> >Hi Alex,
> >
> >I think this is a very good change since I had many problems with MDL and
> >have to use the exclusion on CSS to make it work properly.
> >
> >If I understand ok, I should see fonts at 16px, that I think is nowadays
> >the standard for "normal" text, so good.
> >
> >What I don't understand is what basic should making any change. From my
> >point of view basic is as the name says...basic, and I don't like to make
> >fonts 12px.
> >I only expect in basic to see the wiring of beads like views, models and
> >controllers. But I think almost no CSS rules should be there, hence the
> >basic point at the lowest level, where users only have the basics of what
> >royale provides without any customization.
> >
> >That's how I see it
>
> I think I agree.  That's sort of where I was heading by creating a
> separate theme in basic.css.  Basic.css is separate from the defaults.css
> in Basic.swc.  Maybe we should give basic.css a different name.  The goal
> of basic.css was to give our examples and anybody else building the
> smallest app on Basic a more Flex-like look.  I just don't think Serif
> 16px looks good.  It is true that more traditional CSS visual styles can
> be moved from the Basic defaults.css to whatever we call basic.css.
> Someone else can do that work once we see how this change affects Vivid
> and other themes like MDL.  I'm not sure if every component set should
> have a separate theme file or SWC as well.  Or if there are a few visual
> styles in that should remain in Basic's defaults.css so that other
> component sets don't have to repeat that information.
>
> -Alex
> >
> >
> >2018-02-22 2:43 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >
> >> Hi,
> >>
> >> Royale has been using the universal selector for a while now to set
> >> defaults for Royale apps.  However, that caused problems with other
> >> third-party CSS.
> >>
> >> I just pushed changes to the compiler and framework so that we don't use
> >> the * selector.  Instead we will be using the * selector properly if
> >> provided by the users CSS and we are using a special selector called
> >> "global" as the "browser defaults" and the final selector in the lookup
> >>we
> >> manage.
> >>
> >> This should eliminate the need for other component sets to try to
> >>exclude
> >> the defaults.css from Basic.
> >>
> >> You may find that text that once looked nice now is 16px Serif.  That's
> >> because we are no longer using inheritance to set the font-family on all
> >> components.  The browsers do not seem to deploy a default font-family so
> >> the SWF side shouldn't either.  IOW, if you just put some plain text in
> >>an
> >> HTML file it shows up as 16px Serif.  If you see 16px Serif, let us know
> >> which component is showing that by default.
> >>
> >> However, we don't really want to make 16px Serif the default font in our
> >> examples, so I created a CSS-based theme in themes/Basic/basic.css and
> >>put
> >> 12px Sans-Serif as the default for a bunch of type selectors since that
> >> was what our examples were using.  I did not create a default font for
> >> Application as that would become the default for other component sets
> >> mixed into a Royale app unless otherwise specified.  Component sets with
> >> different looks can use a different theme and get different defaults.
> >>
> >> So, in sum, without any theme, we want the SWF side to look like the
> >> browser and have 16px Serif.  But the royale-config.xml will specify
> >> themes/Basic/basic.css as the default theme giving the examples and most
> >> people's unstyled apps a more Flex-like look by using sans-serif.  More
> >> type selectors may need to be added to themes/Basic/basic.css in order
> >>to
> >> get sans serif everywhere by default without putting font-family on
> >> Application.  That way, when you switch to another theme, like the Vivid
> >> that Carlos is working on, there should be fewer, if any, default values
> >> that screw up the other theme.
> >>
> >> Thanks,
> >> -Alex
> >>
> >>
> >
> >
> >--
> >Carlos Rovira
> >https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fabout.me%2
> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> 7C5807444789504e2f3d8c08d5
> >79d46f81%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C636548875665083262&s
> >data=MjSAbOXuFPTLeafKWOYuDDbc8oMn4YbsZ6pzwxYA6pg%3D&reserved=0
>
>


-- 
Andrew Wetmore

http://cottage14.blogspot.com/

Re: Removing the * selector

Posted by Carlos Rovira <ca...@apache.org>.
Hi Alex

I hope that vivid work let us know much more about all of this. Right now I
don't dare to adventure how this should be...



2018-02-22 10:29 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

>
> I think I agree.  That's sort of where I was heading by creating a
> separate theme in basic.css.  Basic.css is separate from the defaults.css
> in Basic.swc.  Maybe we should give basic.css a different name.  The goal
> of basic.css was to give our examples and anybody else building the
> smallest app on Basic a more Flex-like look.  I just don't think Serif
> 16px looks good.  It is true that more traditional CSS visual styles can
> be moved from the Basic defaults.css to whatever we call basic.css.
> Someone else can do that work once we see how this change affects Vivid
> and other themes like MDL.  I'm not sure if every component set should
> have a separate theme file or SWC as well.  Or if there are a few visual
> styles in that should remain in Basic's defaults.css so that other
> component sets don't have to repeat that information.
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
>

Re: Removing the * selector

Posted by Alex Harui <ah...@adobe.com.INVALID>.

On 2/22/18, 1:12 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
<carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:

>Hi Alex,
>
>I think this is a very good change since I had many problems with MDL and
>have to use the exclusion on CSS to make it work properly.
>
>If I understand ok, I should see fonts at 16px, that I think is nowadays
>the standard for "normal" text, so good.
>
>What I don't understand is what basic should making any change. From my
>point of view basic is as the name says...basic, and I don't like to make
>fonts 12px.
>I only expect in basic to see the wiring of beads like views, models and
>controllers. But I think almost no CSS rules should be there, hence the
>basic point at the lowest level, where users only have the basics of what
>royale provides without any customization.
>
>That's how I see it

I think I agree.  That's sort of where I was heading by creating a
separate theme in basic.css.  Basic.css is separate from the defaults.css
in Basic.swc.  Maybe we should give basic.css a different name.  The goal
of basic.css was to give our examples and anybody else building the
smallest app on Basic a more Flex-like look.  I just don't think Serif
16px looks good.  It is true that more traditional CSS visual styles can
be moved from the Basic defaults.css to whatever we call basic.css.
Someone else can do that work once we see how this change affects Vivid
and other themes like MDL.  I'm not sure if every component set should
have a separate theme file or SWC as well.  Or if there are a few visual
styles in that should remain in Basic's defaults.css so that other
component sets don't have to repeat that information.

-Alex
>
>
>2018-02-22 2:43 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>
>> Hi,
>>
>> Royale has been using the universal selector for a while now to set
>> defaults for Royale apps.  However, that caused problems with other
>> third-party CSS.
>>
>> I just pushed changes to the compiler and framework so that we don't use
>> the * selector.  Instead we will be using the * selector properly if
>> provided by the users CSS and we are using a special selector called
>> "global" as the "browser defaults" and the final selector in the lookup
>>we
>> manage.
>>
>> This should eliminate the need for other component sets to try to
>>exclude
>> the defaults.css from Basic.
>>
>> You may find that text that once looked nice now is 16px Serif.  That's
>> because we are no longer using inheritance to set the font-family on all
>> components.  The browsers do not seem to deploy a default font-family so
>> the SWF side shouldn't either.  IOW, if you just put some plain text in
>>an
>> HTML file it shows up as 16px Serif.  If you see 16px Serif, let us know
>> which component is showing that by default.
>>
>> However, we don't really want to make 16px Serif the default font in our
>> examples, so I created a CSS-based theme in themes/Basic/basic.css and
>>put
>> 12px Sans-Serif as the default for a bunch of type selectors since that
>> was what our examples were using.  I did not create a default font for
>> Application as that would become the default for other component sets
>> mixed into a Royale app unless otherwise specified.  Component sets with
>> different looks can use a different theme and get different defaults.
>>
>> So, in sum, without any theme, we want the SWF side to look like the
>> browser and have 16px Serif.  But the royale-config.xml will specify
>> themes/Basic/basic.css as the default theme giving the examples and most
>> people's unstyled apps a more Flex-like look by using sans-serif.  More
>> type selectors may need to be added to themes/Basic/basic.css in order
>>to
>> get sans serif everywhere by default without putting font-family on
>> Application.  That way, when you switch to another theme, like the Vivid
>> that Carlos is working on, there should be fewer, if any, default values
>> that screw up the other theme.
>>
>> Thanks,
>> -Alex
>>
>>
>
>
>-- 
>Carlos Rovira
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2
>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C5807444789504e2f3d8c08d5
>79d46f81%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636548875665083262&s
>data=MjSAbOXuFPTLeafKWOYuDDbc8oMn4YbsZ6pzwxYA6pg%3D&reserved=0


Re: Removing the * selector

Posted by Carlos Rovira <ca...@apache.org>.
Hi Alex,

I think this is a very good change since I had many problems with MDL and
have to use the exclusion on CSS to make it work properly.

If I understand ok, I should see fonts at 16px, that I think is nowadays
the standard for "normal" text, so good.

What I don't understand is what basic should making any change. From my
point of view basic is as the name says...basic, and I don't like to make
fonts 12px.
I only expect in basic to see the wiring of beads like views, models and
controllers. But I think almost no CSS rules should be there, hence the
basic point at the lowest level, where users only have the basics of what
royale provides without any customization.

That's how I see it

Thanks for making this change, I think is huge one!

Carlos





2018-02-22 2:43 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

> Hi,
>
> Royale has been using the universal selector for a while now to set
> defaults for Royale apps.  However, that caused problems with other
> third-party CSS.
>
> I just pushed changes to the compiler and framework so that we don't use
> the * selector.  Instead we will be using the * selector properly if
> provided by the users CSS and we are using a special selector called
> "global" as the "browser defaults" and the final selector in the lookup we
> manage.
>
> This should eliminate the need for other component sets to try to exclude
> the defaults.css from Basic.
>
> You may find that text that once looked nice now is 16px Serif.  That's
> because we are no longer using inheritance to set the font-family on all
> components.  The browsers do not seem to deploy a default font-family so
> the SWF side shouldn't either.  IOW, if you just put some plain text in an
> HTML file it shows up as 16px Serif.  If you see 16px Serif, let us know
> which component is showing that by default.
>
> However, we don't really want to make 16px Serif the default font in our
> examples, so I created a CSS-based theme in themes/Basic/basic.css and put
> 12px Sans-Serif as the default for a bunch of type selectors since that
> was what our examples were using.  I did not create a default font for
> Application as that would become the default for other component sets
> mixed into a Royale app unless otherwise specified.  Component sets with
> different looks can use a different theme and get different defaults.
>
> So, in sum, without any theme, we want the SWF side to look like the
> browser and have 16px Serif.  But the royale-config.xml will specify
> themes/Basic/basic.css as the default theme giving the examples and most
> people's unstyled apps a more Flex-like look by using sans-serif.  More
> type selectors may need to be added to themes/Basic/basic.css in order to
> get sans serif everywhere by default without putting font-family on
> Application.  That way, when you switch to another theme, like the Vivid
> that Carlos is working on, there should be fewer, if any, default values
> that screw up the other theme.
>
> Thanks,
> -Alex
>
>


-- 
Carlos Rovira
http://about.me/carlosrovira