Re: HTML

2022-10-18 Thread Hugo Ferreira
Thank you all very much for this valuable info. It will save me counteless hours ! One day (after I finish to rewrite my Flex to Royale project and when I have spare time and when I learn more about Royale) I will write a book (a small book) about Apache Royale :) I don't care if it don't have a

Re: HTML

2022-10-18 Thread Josh Tynjala
To build a single project, you can run ant from the project directory: cd frameworks/projects/Jewel ant -- Josh Tynjala Bowler Hat LLC On Tue, Oct 18, 2022 at 1:59 PM Hugo Ferreira wrote: > Fixed, tested and commit done :) > > Usually I fix using CodEditor (a kind of

Re: HTML

2022-10-18 Thread Harbs
ant all is only needed if you need to recompile the compiler. ant on the royale-asjs folder will rebuild all the framework swcs and run all tests. If you are making changes to just a single swc (i.e. Jewel) you can run ant on just Jewel. A single swc should compile in a matter of seconds even

Re: HTML

2022-10-18 Thread Hugo Ferreira
Fixed, tested and commit done :) Usually I fix using CodEditor (a kind of Notepad++ for macOS) and then "ant clean" and then "ant all". It takes more then 30 minutes on my machine ! For things more complex I test integrated on my project using VS Code and then I put the code in the SDK, compile

Re: HTML

2022-10-18 Thread Harbs
FYI, it’s not necessary to compile the whole SDK unless your current build is old. You can compile a single SWC at a time. > On Oct 18, 2022, at 11:51 PM, Hugo Ferreira wrote: > > Yes, it's exactly what I'm doing right now. > Compiling the SDK on my machine takes the time to dinner and even

Re: HTML

2022-10-18 Thread Hugo Ferreira
Yes, it's exactly what I'm doing right now. Compiling the SDK on my machine takes the time to dinner and even so, probably it's not finished yet ! I hope next year, I update my MacBook :) Harbs escreveu no dia terça, 18/10/2022 à(s) 21:38: > Let’s see what others think, but in the meantime

Re: HTML

2022-10-18 Thread Harbs
Let’s see what others think, but in the meantime there’s no reason to not fix the bug. There are other html setters which already set innerHTML. Harbs > On Oct 18, 2022, at 11:29 PM, Hugo Ferreira wrote: > > Yes, I saw that helper (I searched for it name) :) > Yes, it's exactly what I mean:

Re: HTML

2022-10-18 Thread Hugo Ferreira
Yes, I saw that helper (I searched for it name) :) Yes, it's exactly what I mean: put this in one of the limites of the workflow and never in the middle. That's my opinion. Harbs escreveu no dia terça, 18/10/2022 à(s) 08:06: > There’s a sanitizeHTML helper function that’s relatively new. > >

Re: HTML

2022-10-18 Thread Harbs
There’s a sanitizeHTML helper function that’s relatively new. I don’t have a strong opinion on whether it should be sanitized by default or that should be the application developer’s responsibility. As far as PAYG is concerned, it’s better to put the responsibility on the app developer. As