Re: Including CSS in apps

2020-01-07 Thread Harbs
For js and image/svg files this is probably a complete solution. For CSS, there also needs to be code to load the CSS. I guess a combination of include_file and inject_html might work, but then we still have the problem of duplicate injection and combined CSS would not be properly referenced.

Build failed in Jenkins: royale-compiler-integration-tests #355

2020-01-07 Thread apacheroyaleci
See Changes: -- [...truncated 157.09 KB...] [junit] [junit] Jan 07, 2020 9:40:17 AM

Build failed in Jenkins: royale-compiler-integration-tests #356

2020-01-07 Thread apacheroyaleci
See Changes: -- [...truncated 155.94 KB...] [junit] SEVERE: goog/object/object.js:271: ERROR - This language feature is only

Build failed in Jenkins: royale-compiler-integration-tests #357

2020-01-07 Thread apacheroyaleci
See Changes: -- [...truncated 157.72 KB...] [junit] [junit] Jan 07, 2020 3:43:55 PM

Re: Including CSS in apps

2020-01-07 Thread Alex Harui
I would think any of these files need to be loaded by some other code. They can't just sit in the output folder. They may not have to be loaded by inject_html directives. As I proposed earlier in the thread, it might be best to think of this problem in separate pieces. The first piece is to

Re: About Jewel Table component

2020-01-07 Thread Carlos Rovira
Hi Yishay, El dom., 5 ene. 2020 a las 12:39, Yishay Weiss () escribió: > Piotr knows more about this than I do, but again, I’m not sure we are the > right people to ask because we’ve been using it as a Grid replacement so > what we actually need is the DataGrid API. What’s your issue with >

Re: Apache Royale PMC member joins the ASF staff

2020-01-07 Thread Carlos Rovira
Great Andrew! :) El dom., 5 ene. 2020 a las 20:05, Harbs () escribió: > Nice. :-) > > > > On Jan 5, 2020, at 8:34 PM, Andrew Wetmore wrote: > > > > https://blogs.apache.org/infra/entry/another-oar-in-the-water > > > > -- > > Andrew Wetmore > > > > http://cottage14.blogspot.com/ > > -- Carlos

Re: Including CSS in apps

2020-01-07 Thread Carlos Rovira
Hi Harbs, about duplicate elements: I solved it recently in TDJ by adding "id" to link. The "loadCSS" method now returns that "id". I store it in TDJ so I can remove the link element (and that remove all styles in the browser too). Maybe we can have some Manager class (maybe a bead to use in

Re: Including CSS in apps

2020-01-07 Thread Harbs
I agree with your approach, and including the files in a SWC to be extracted at build time would be the biggest immediate win. One inline comments below: > On Jan 7, 2020, at 7:28 PM, Alex Harui wrote: > > I would think any of these files need to be loaded by some other code. They > can't

Re: Including CSS in apps

2020-01-07 Thread Harbs
I solved it in Spectrum by using common base classes, so a CSS file is only ever referenced once. Spectrum has many interesting approaches. It makes extensive use of CSS variables which makes for extremely powerful run-time theming. The major monkey-wrench with that is IE11 support. I’m not

Re: Including CSS in apps

2020-01-07 Thread Alex Harui
On 1/7/20, 9:33 AM, "Harbs" wrote: > On Jan 7, 2020, at 7:28 PM, Alex Harui wrote: > > I would think any of these files need to be loaded by some other code. They can't just sit in the output folder. True, but this problem is smaller for image files which can simply be

Re: Including CSS in apps

2020-01-07 Thread Josh Tynjala
As a developer, I would expect to create my own image element in ActionScript code and reference the appropriate URL based on where the file was copied. I wouldn't want the compiler to add an to my HTML template. It would feel too much like magic and probably wouldn't be configurable enough to be

Re: Including CSS in apps

2020-01-07 Thread Harbs
I have two use cases in mind: 1. Components which use images (most likely SVG) for skinning. The components would reference their own internal files by default, but would probably allow the end user to specify their own graphics instead for custom skinning. 2. A library which includes graphics

CSS Downloaded Twice (was Re: Including CSS in apps)

2020-01-07 Thread Carlos Rovira
Hi, About having CSS downloaded twice, I think is a very interesting topic to know more info about. I understand that for non-conforming CSS royale rules like ClassReference is ok, but for normal CSS rules, seems to me a waste of resources, right? Questions I have about this: - Are we using

Re: CSS Downloaded Twice (was Re: Including CSS in apps)

2020-01-07 Thread Alex Harui
On 1/7/20, 10:41 AM, "Carlos Rovira" wrote: Hi, About having CSS downloaded twice, I think is a very interesting topic to know more info about. I understand that for non-conforming CSS royale rules like ClassReference is ok, but for normal CSS rules, seems to me a

Build failed in Jenkins: royale-compiler-integration-tests #361

2020-01-07 Thread apacheroyaleci
See Changes: -- [...truncated 156.45 KB...] [junit] [junit] Jan 08, 2020 7:38:51 AM

Build failed in Jenkins: royale-compiler-integration-tests #358

2020-01-07 Thread apacheroyaleci
See Changes: -- [...truncated 159.22 KB...] [junit] scanning for overrides: ApplicationBase [junit] scanning for overrides:

Build failed in Jenkins: royale-compiler-integration-tests #360

2020-01-07 Thread apacheroyaleci
See Changes: -- [...truncated 156.46 KB...] [junit] [junit] Jan 08, 2020 5:04:14 AM

Build failed in Jenkins: royale-compiler-integration-tests #359

2020-01-07 Thread apacheroyaleci
See Changes: -- [...truncated 159.08 KB...] [junit] scanning for overrides: ApplicationBase [junit] scanning for overrides: