Re: Release Update - Azure Setup

2024-07-22 Thread Alex Harui
Ross Gardler is not handling Apache subscriptions for Azure. Last contact name I had is Ismaël Mejía -Alex On 7/22/24, 10:44 AM, "Yishay Weiss" mailto:yishayj...@hotmail.com>> wrote: EXTERNAL: Use caution when clicking on links or opening attachments. Hi All, We are trying to set up M

Re: Jenkins CI

2024-02-26 Thread Alex Harui
_______ From: Alex Harui mailto:aha...@adobe.com.inva>LID> Sent: Monday, February 26, 2024 6:35 PM To: dev@royale.apache.org <mailto:dev@royale.apache.org> mailto:dev@royale.apache.org>> Subject: Jenkins CI Yishay (and others), Did we get a replacement

Jenkins CI

2024-02-26 Thread Alex Harui
Yishay (and others), Did we get a replacement Jenkins up and running? I let my Azure VM subscription expire and the data will be deleted next Monday. I’ll let that happen if we don’t need my Jenkins setup anymore. -Alex

Re: [GitHub] [royale-asjs] cdouine39 opened a new issue, #1221: Nightly builds inaccessible

2023-05-23 Thread Alex Harui
I restarted one of the nightly build servers. On 5/23/23, 8:33 AM, "cdouine39 (via GitHub)" mailto:g...@apache.org>> wrote: EXTERNAL: Use caution when clicking on links or opening attachments. cdouine39 opened a new issue, #1221: URL: https://github.com/apache/royale-asjs/issues/1221

Re: 0.9.10 Release

2023-04-17 Thread Alex Harui
I was going to suggest using a Set like you just did in the commit, but in looking at it, (and it has been a long time since I did Java work), I would also see what it takes to lock out other threads during the Set test. Otherwise, two threads can both do the set test, and then since both would

Re: 0.9.10 Release

2023-04-06 Thread Alex Harui
Yuck. Feel free to provide an example. Isn't the CSS parsed by the compiler? Maybe it can be "normalized" there? -Alex On 4/6/23, 10:23 AM, "Josh Tynjala" mailto:joshtynj...@bowlerhat.dev>> wrote: EXTERNAL: Use caution when clicking on links or opening attachments. > The Maven build at

Re: [royale-compiler] branch develop updated: JSRoyaleEmitter: when reading plain text files for [Embed] metadata, read as UTF-8 instead of system default

2023-04-05 Thread Alex Harui
Cadd14bc9c46d4e843d3308db3645ae5d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C638163445130547736%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=G81YOIv0fhkDO29mlR%2FZbNqcpy38abo61LK18azzooA%3D&reserved=0>;> > > > On Wed, Apr 5, 2023 at 3:58 PM Alex Harui <mai

Re: [royale-compiler] branch develop updated: JSRoyaleEmitter: when reading plain text files for [Embed] metadata, read as UTF-8 instead of system default

2023-04-05 Thread Alex Harui
There is a chance this will break someone on Windows where the file system is not UTF8 and the data includes Windows-encoded characters that reference a file or something like that. IIRC, that's why I decided to live with JAVA_TOOL_OPTIONS, so we don't make a change that can't be overridden. -

Re: 0.9.10 Release

2023-04-05 Thread Alex Harui
I thought the RM instructions dictated that you had to set JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8 If that's not true, sorry for omitting that. But that would be the recommended practice. -Alex On 4/5/23, 2:43 PM, "Josh Tynjala" mailto:joshtynj...@bowlerhat.dev>> wrote: EXTERNAL: Use caution

Re: Issue compiling Royale

2023-03-16 Thread Alex Harui
G2azHXH4WfH7ah37w%3D&reserved=0>;> On Thu, Mar 16, 2023 at 10:14 AM Alex Harui mailto:aha...@adobe.com.inva>lid> wrote: > Does RoyaleUnit use a socket or access a server? What version of Java and > Ant are you using? > > On 3/16/23, 9:58 AM, "Harbs"

Re: Issue compiling Royale

2023-03-16 Thread Alex Harui
Does RoyaleUnit use a socket or access a server? What version of Java and Ant are you using? On 3/16/23, 9:58 AM, "Harbs" mailto:harbs.li...@gmail.com>> wrote: EXTERNAL: Use caution when clicking on links or opening attachments. That was actually a different computer and I don’t know if I

Re: Right click bead for context menu

2023-01-09 Thread Alex Harui
Is the plan to have some implementations use the built-in browser ContextMenus? If so, it might be better to not leverage UI widgets in the API and use data objects instead. Then a bead could leverage the data and call the browser APIs or implement some custom context menu capability (which co

Re: MouseEvent.clientX/Y

2022-12-12 Thread Alex Harui
Possibly because we started out targeting IE8. I'd also check on how those values compare in different scrolling implementations in Flash. There was a mask property in old MX components, and scrollRect in Spark components. And then I think virtual scrolling might have worked slightly differen

Re: Compiler not buiding in Ant, any ideas?

2022-12-06 Thread Alex Harui
Theoretically, the uptodate would check if the target (.java) file is older than either of the two files and if it is, set a prop to re-generate the .java file. IIRC it is possible to have forced a regeneration and miss an update. For example if Josh makes a change on the 3rd but doesn't push

Re: Jenkins (was Re: Introducing asformat)

2022-10-28 Thread Alex Harui
Looks like I was able to recover it and move it to my new subscription. Can someone else verify? -Alex From: Yishay Weiss Date: Saturday, October 22, 2022 at 3:54 AM To: Alex Harui , "dev@royale.apache.org" , Maria Jose Esteve Subject: Re: Jenkins (was Re: Introducing asformat)

Re: Jenkins (was Re: Introducing asformat)

2022-10-21 Thread Alex Harui
Date: Thursday, October 20, 2022 at 11:50 PM To: Alex Harui , "dev@royale.apache.org" , Maria Jose Esteve Subject: RE: Jenkins (was Re: Introducing asformat) EXTERNAL: Use caution when clicking on links or opening attachments. >. Not sure if we’ve made changes since, I did make so

Jenkins (was Re: Introducing asformat)

2022-10-20 Thread Alex Harui
. But if the disk is empty and I can’t recover the disk data, probably the next best option is to just try to recreate the jobs on Yishay’s VM. -Alex From: Yishay Weiss Date: Wednesday, October 19, 2022 at 9:46 AM To: "dev@royale.apache.org" , Alex Harui , Maria Jose Esteve S

Re: Software Bill of Materials

2022-08-02 Thread Alex Harui
The compiler does have a supply chain, IMO. And some optional Flex modules for RemoteObject users also has a supply chain. -Alex On 8/2/22, 8:12 AM, "Harbs" wrote: EXTERNAL: Use caution when clicking on links or opening attachments. The lack of a supply chain for Royale is probably

Re: Proposal for labelField with expression support

2022-06-07 Thread Alex Harui
You could probably come up with an app-level bead that overwrites a utility function. But it might be more interesting to explore providing an example of using ES5 Template Literals https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals in an item renderer. getLab

Re: VS Code to build a library SWC-JS

2022-05-23 Thread Alex Harui
Apologies if this was already mentioned, but it appears that frameworks/projects/Ace produces a JS-only SWC. I don't know if its VSCode config works or not, but might be a useful data point. -Alex On 5/23/22, 3:18 PM, "Josh Tynjala" wrote: Okay, I think I got the Spectrum library buildi

Re: Displaying text in MXML

2022-05-13 Thread Alex Harui
Yes, and it probably is. You can run the MXML file through an XML validator to check. But then the data in the CDATA gets handed to the compiler, and I don't remember our rules for string-based properties. Either you have to escape them to also be Java-compiler-compatible, or the MXML parser

Re: Mixing MX with Basic components

2022-05-06 Thread Alex Harui
Hi Piotr, I would not expect that to work. I think MX containers expect children to be IUIComponent and a bunch of other interfaces. There might be places where it would work (as an ItemRenderer maybe). And also, many beads in MX are thin wrappers around Basic beads (mostly to implement the

Re: NPM Credentials Problem Blocking Release

2022-04-01 Thread Alex Harui
[exec] at Object.onceWrapper (events.js:421:28) [exec] at IncomingMessage.emit (events.js:327:22) BUILD FAILED C:\dev\release_royale\releasecandidate.xml:1363: exec returned: 1 From: Alex Harui<mailto:aha...@adobe.com.INVALID> Sent: Friday, April 1, 2022 12:25 AM

Re: NPM Credentials Problem Blocking Release

2022-03-31 Thread Alex Harui
Infra says the actual sender is not supp...@npmjs.com. They have implemented a custom solution. Yishay, can you try again? Thanks, -Alex On 3/31/22, 1:39 PM, "Alex Harui" wrote: Yeah, not sure why that didn't work. I'll email infra. On 3/31/22, 12:5

Re: NPM Credentials Problem Blocking Release

2022-03-31 Thread Alex Harui
>> >> I just tried logging in, got the OTP sent message, but am not seeing it in private. >> >> From: Alex Harui<mailto:aha...@adobe.com.INVALID> >> Sent: Thursday, March 31, 2022 7:44 PM >> To: dev@royale.apache.org<mailto:dev@r

Re: NPM Credentials Problem Blocking Release

2022-03-31 Thread Alex Harui
C0%7C0%7C637843382910921619%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=oh6FobNIVBZdKNPjOh%2BF8aZbB3WvNY9Dl9nijoLzK2g%3D&reserved=0> On Wed, Mar 30, 2022 at 11:24 PM Alex Harui wrote: > Each mailing list has an "allow" subscriber list that is different from > the re

Re: NPM Credentials Problem Blocking Release

2022-03-30 Thread Alex Harui
/22, 11:17 PM, "Piotr Zarzycki" wrote: I don’t know how to whitelist that email but I will try to figure it out soon. On Thu, 31 Mar 2022 at 06:06, Alex Harui wrote: > Yishay, maybe you can also be a moderator? It might also be possible to > allow emails from n

Re: NPM Credentials Problem Blocking Release

2022-03-30 Thread Alex Harui
aed2c178decee1%7C0%7C0%7C637842921304206011%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=0mmbASMd9Sx39EL75wIFJ%2FrSZ1yhYRfkpT%2BaBJeNc3U%3D&reserved=0> From: Alex Harui<mailto:aha...@adobe.com.INVALID> Sent: Tues

Re: NPM Credentials Problem Blocking Release

2022-03-29 Thread Alex Harui
I get some emails from NPM to apache-royale-owner. I can forward them to private@royale.a.o if they aren't also going there. One has the subject: [npm] OTP for logging in to your account: apache-royale-owner The other: Your npm password reset -Alex On 3/29/22, 3:37 AM, "Yishay Weiss" wrote:

Re: Implementing JS renderer from Royale

2022-03-19 Thread Alex Harui
AFAIK, there is no current "Royale way" of generating some innerHTML to plug into some external library. However, the whole point of Royale is to improve developer productivity for common patterns. New patterns become popular every day and it is "just" a matter of identifying what parts of th

Re: [DISCUSS] Discuss Release Apache Royale 0.9.9 RC3

2022-03-17 Thread Alex Harui
IMO, the release does not have to be bug free. If the Maven and Ant build scripts can build the source package, there are no unintended compiled code in the source package, LICENSE and NOTICE are correct, and a few other Apache policy requirements are met, and folks can use the results of the b

Re: [GitHub] [royale-compiler] joshtynjala commented on issue #210: [JS] super setter expressions do not resolve to the value being set

2022-02-28 Thread Alex Harui
Interesting. In Flex, aren't all setters defined as functions that don't return anything? I wonder if more complex chained assignments are allowed: foo = 1 + bar = 10; If not (or maybe even if it does work), then maybe it is best to deal with this as an assignment pattern and not bother to ge

Re: Swc Compiler Version and Binary Reproducibility

2022-02-28 Thread Alex Harui
Did the modules stuff go in develop or in a branch? On 2/28/22, 3:46 AM, "Yishay Weiss" wrote: Does anybody else want to add their changes? From memory, Harbs has made release optimizations and sanitizations, Alex has added support for modules in release, and Greg and Piotr have made vari

Re: Jewel TextAlign bead does not have priority

2022-02-23 Thread Alex Harui
IMO, using !important is kind of like using a global variable. It breaks CSS order of precedence similar to how using a global breaks encapsulation. Yes, it works, until someone else starts using !important. The default value for text-align is "left" for ltr and "right" for rtl, so maybe a be

Re: Less and Royale

2022-02-09 Thread Alex Harui
hanks Alex, you have given me the starting point. Hiedra -Mensaje original----- De: Alex Harui Enviado el: miércoles, 9 de febrero de 2022 18:50 Para: dev@royale.apache.org Asunto: Re: Less and Royale Don't the files in that folder indicate they are genera

Re: Less and Royale

2022-02-09 Thread Alex Harui
t;css" package but am unclear how I could contribute. Is there any documentation, or can someone who has contributed to this package give me some general and/or detailed guidelines? Thx. Hiedra -Mensaje original- De: Alex Harui Enviado el: martes, 1 de febrero d

Re: Less and Royale

2022-02-01 Thread Alex Harui
When we started on FlexJS/Royale, the CSS compilation was intended for use in Flash as well as JS. Thus, the compiler only handled CSS syntax we knew we could easily implement in Flash. The goal back then was not to create a full CSS implementation on Flash, or a full CSS parse in the compiler

Re: Build failed in Jenkins: royale-asjs_jsonly #3995

2022-01-13 Thread Alex Harui
I think JDK8 is already being used on CI. I see it in the path on that server. IIRC, a JDK can be instructed to present older JDK APIs and output older JDK bytecode. We kept the settings as we received them from Adobe to ensure FB compatibility. Feel free to change the API and bytecode to 8 a

Re: Quick question

2022-01-06 Thread Alex Harui
In theory, (and this was true back when Royale/FlexJS first got going), the APIs were sufficiently identical. Maybe not truly identical, but enough that you could have one application code base without COMPILE::SWF/JS conditionals that could run in Flash or in a browser. In theory, all COMPILE

Re: [MAVEN-BUILD] Royale » Royale-asjs - Build # 2015 - Still Failing!

2022-01-06 Thread Alex Harui
rocesses left the socket locked. I restarted and it still happens, so not sure what’s going on. I’ll try again when I get some time. From: Alex Harui<mailto:aha...@adobe.com.INVALID> Sent: Monday, January 3, 2022 7:30 PM To: dev@royale.apache.org<mailto:dev@royale.a

Re: Language.closure (was Re: [royale-asjs] branch develop updated: Added animateFunction)

2022-01-05 Thread Alex Harui
We might be able to stop using goog.bind in favor of some other pattern, but as you learned, the compiler must be able to generate the same closure instance for any class instance method when passed in as a parameter or stored in a variable (and maybe some other scenarios). It is probably possi

Re: Fresh build failing

2022-01-04 Thread Alex Harui
Specifically, the royale-asjs/js/lib folder needs to be removed and refreshed via the build scripts. Using 'ant super-clean' will wipe that and more, or just delete that folder manually before building. Once it is refreshed it won't need later refreshing until we again change its contents. 

Re: [royale-asjs] branch develop updated: 99% sure this needs to change

2022-01-04 Thread Alex Harui
That didn’t generate a warning? Or did you add 'model' to IStrand? On 1/4/22, 12:39 AM, "ha...@apache.org" wrote: This is an automated email from the ASF dual-hosted git repository. harbs pushed a commit to branch develop in repository https://nam04.safelinks.protection.outlook.c

Re: [MAVEN-BUILD] Royale » Royale-asjs - Build # 2015 - Still Failing!

2022-01-03 Thread Alex Harui
with that (as I think you had suggested). [1] C:\jenkins\workspace\royale-compiler-integration-tests\compiler-jx\target\junit-temp\bin\js-debug\library\closure From: Alex Harui<mailto:aha...@adobe.com.INVALID> Sent: Monday, January 3, 2022 9:10 AM To: dev@royale.apach

Re: [MAVEN-BUILD] Royale » Royale-asjs - Build # 2015 - Still Failing!

2022-01-02 Thread Alex Harui
g! I just added super-clean to the beginning of the job. Let’s see what happens. From: Alex Harui<mailto:aha...@adobe.com.INVALID> Sent: Wednesday, December 29, 2021 10:20 AM To: dev@royale.apache.org<mailto:dev@royale.apache.org> Subject: Re: [MAVEN-BUILD] Royale »

Re: Compiler options for reducing release build size of Royale projects (Part 2)

2021-12-29 Thread Alex Harui
FWIW, there is a -skip-transpile option for the compiler. First, you compile your app without that option to get the bin/js-debug. Then you can muck with the JS in bin/js-debug. Then compile with -skip-transpile and it should just take your bin/js-debug and send it to the Google Compiler to g

Re: [MAVEN-BUILD] Royale » Royale-asjs - Build # 2015 - Still Failing!

2021-12-29 Thread Alex Harui
wipe-all`, typedefs uses 'wipe' and asjs uses 'super-clean' to essentially do the same thing. HTH, -Alex On 12/29/21, 12:04 AM, "Yishay Weiss" wrote: But this is ant unless I’m missing something. From: Alex Harui<mailto:aha...@adobe.com.INVA

Re: [MAVEN-BUILD] Royale » Royale-asjs - Build # 2015 - Still Failing!

2021-12-28 Thread Alex Harui
I pushed a change a couple of hours ago that sets the closure library files for Maven. -Alex On 12/28/21, 11:11 PM, "Yishay Weiss" wrote: Is this [1] what you meant? Just ran that. [1] PS C:\jenkins\workspace\royale-compiler> ant wipe-all From: Harbs

Re: Build of application failing with java exception - Internal error: java.lang.NullPointerException

2021-12-28 Thread Alex Harui
WithExitCode(Launcher.java:406)org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347) Hiedra -Mensaje original- De: Alex Harui Enviado el: martes, 28 de diciembre de 2021 21:17 Para: dev@royale.apache.org Asunto: Re: Build of application failing with ja

Re: Compiler options for reducing release build size of Royale projects (Part 2)

2021-12-28 Thread Alex Harui
Theoretically, we can build a better optimizer/minifier than Google since they have to be general purpose and we know the patterns in our code. I've mentioned adding a super-strict compiler option before. It would warn on every Object and * type resolution. Maybe that would help? Does it matt

Re: [royale-asjs] 01/01: Added sanitizeUrl and sanitizeHtml

2021-12-28 Thread Alex Harui
World size: 78,547 bytes and 20,788 bytes minified. > > There does seem to be a bunch of cruft at the top of the file. Not sure where it’s all coming from: > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fd6p4j&data=04%7C01%7Caharui%40

Re: Build of application failing with java exception - Internal error: java.lang.NullPointerException

2021-12-28 Thread Alex Harui
If you are building the SDK yourself, delete the royale-asjs/js/lib folder and rebuild. You need for force a new download and unzip of Google Closure Library. On 12/28/21, 7:48 AM, "Piotr Zarzycki" wrote: Hi Guys, Some of latest changes causing build failure for our application. We ar

Re: [royale-asjs] 01/01: Added sanitizeUrl and sanitizeHtml

2021-12-28 Thread Alex Harui
Maybe. Can you confirm it? I think if there are any exports in that code it might stick around. -Alex On 12/27/21, 9:24 PM, "Harbs" wrote: Won’t the minification remove the code if it’s not needed? > On Dec 28, 2021, at 2:10 AM, Alex Harui wrote: > >

Re: [royale-asjs] 01/01: Added sanitizeUrl and sanitizeHtml

2021-12-27 Thread Alex Harui
re time on this, so maybe some other volunteer can do that. -Alex On 12/27/21, 1:03 AM, "Harbs" wrote: OK. I’ll give it a go. I see what you did. It’s probably reasonable to just add dependencies if/when we need them. > On Dec 27, 2021, at 9:53 AM, Alex Harui wrote: &

Re: [royale-asjs] 01/01: Added sanitizeUrl and sanitizeHtml

2021-12-26 Thread Alex Harui
}, >'|sanitize': { >type: kc, >declaredBy: je, > parameters: function() { >return [l, !1] >} >} >} >

Re: [royale-asjs] 01/01: Added sanitizeUrl and sanitizeHtml

2021-12-26 Thread Alex Harui
wo. > > How would we go about that? > >> On Dec 25, 2021, at 6:08 PM, Alex Harui wrote: >> >> Hmm. That may not work since you can't extend a static function. Might be simpler to just special case these two. >> >> -Alex

Re: [royale-asjs] 01/01: Added sanitizeUrl and sanitizeHtml

2021-12-25 Thread Alex Harui
Hmm. That may not work since you can't extend a static function. Might be simpler to just special case these two. -Alex On 12/25/21, 12:08 AM, "Alex Harui" wrote: I took a look. It does require an "extends" relationship to force the goog.require for somet

Re: [royale-asjs] 01/01: Added sanitizeUrl and sanitizeHtml

2021-12-25 Thread Alex Harui
I took a look. It does require an "extends" relationship to force the goog.require for something in GCL.swc. I don't think we want to change that, so try a workaround. On 12/20/21, 9:02 AM, "Alex Harui" wrote: I will try to look at it this coming weekend. On

Re: Non Functional Emulation Components

2021-12-21 Thread Alex Harui
Isn't ComboBox in the MXTests? On 12/21/21, 4:26 AM, "Yishay Weiss" wrote: Hi, I created a wiki page [1] to list all components that exist in the emulation code but are not yet implemented. We recently had a client struggle to make ComboBox work. It took us a while to figure out that

Re: Build failed in Jenkins: royale-asjs_MXTests #2215

2021-12-20 Thread Alex Harui
4 414.09 6588 0 firefox > 294 102 439752 450604 93.88 6592 0 firefox > 275 2025228 29032 0.20 6640 0 firefox > 231 1520844 19116 0.06 6660 0 firefox > 276 2025172 29000

Re: [royale-asjs] 01/01: Added sanitizeUrl and sanitizeHtml

2021-12-20 Thread Alex Harui
hat's what EventDispatcher does. -Alex On 12/20/21, 7:16 AM, "Harbs" wrote: > On Dec 20, 2021, at 10:20 AM, Alex Harui wrote: > > I might have time this weekend to spend more time getting it to work, but the idea is that you add to GCL.swc the .as version

Re: [royale-asjs] 01/01: Added sanitizeUrl and sanitizeHtml

2021-12-20 Thread Alex Harui
I rummaged through the js-debug output of examples/royale/ASDoc. I was surprised that I could not find a goog.require of goog.events.EventTarget from our code. There may have been a reason for that but I don't recall. Maybe I missed it. Probably something to do with circular dependencies. Th

Re: this within closures

2021-12-19 Thread Alex Harui
I wonder what % of the time this warning actually helps detect a problem. The first (and only) example I looked at was in royale-asjs_js\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as where a manually defined get/set accessor has accessor functio

Re: Build failed in Jenkins: royale-asjs_MXTests #2215

2021-12-19 Thread Alex Harui
lcome to run Jenkins on their own server/accounts that have credit cards to pay for the overage. -Alex On 12/17/21, 12:32 AM, "Alex Harui" wrote: I just got the email that the Jenkins server ran out of Azure credits and will be suspended for a while. Not exactly sure when the

Re: Build failed in Jenkins: royale-asjs_MXTests #2215

2021-12-17 Thread Alex Harui
I just got the email that the Jenkins server ran out of Azure credits and will be suspended for a while. Not exactly sure when the new credits are released. On 12/16/21, 11:49 PM, "Greg Dove" wrote: Thanks again Edward, that was certainly much easier than last time I set up for this (

Re: Compiler arguments

2021-12-14 Thread Alex Harui
I think the reflection relies on metadata/annotations, so if the metadata is missing or incorrect there might be omissions and errors. But yes, the it should be mostly auto-generated. On 12/14/21, 9:09 AM, "Josh Tynjala" wrote: I believe that the compiler uses reflection to find and popu

Re: Sanitizing HTML (was Re: 0.9.9)

2021-12-10 Thread Alex Harui
AIUI, the suggestion is to default to sanitizing before writing to innerHTML so that someone who does let someone type in "anything" and shoves it into a Label's htmlText won't have their app used to run various exploits. If a volunteer can propose a design that defaults to sanitizing and can ea

Re: 0.9.9

2021-12-08 Thread Alex Harui
Volunteers might want to add a compiler warning for writing to 'innerHTML', but IMO, even React can't prevent XSS attacks. Frameworks are just building blocks used to build secure solutions, but the security comes from proper use by the developer. I have not had time to look into the new 'thir

Re: 0.9.9

2021-12-07 Thread Alex Harui
FWIW, way back, I wanted to hold off on a 1.0 until some Royale apps were actually in production. I think this is now the case, so what else keeps us from a 1.0 version? -Alex On 12/7/21, 10:05 AM, "Josh Tynjala" wrote: Or even 0.10.0, 0.11.0, etc. would be fine too. No part of the

Re: Use Royale to build the Royale website?

2021-12-06 Thread Alex Harui
7;t guaranteed to get done before some other thing takes priority in your life Yeah. That’s a risk, but I hope to do it quickly… ;-) Harbs > On Dec 6, 2021, at 9:42 AM, Alex Harui wrote: > > Hi Harbs, > > I'm not really trying to propose anythin

Re: Use Royale to build the Royale website?

2021-12-05 Thread Alex Harui
on that a long time ago. Harbs > On Dec 5, 2021, at 7:36 PM, Alex Harui wrote: > > Hi Harbs, > > No objection from me if you want to do that, but I'm wondering how often markdown is being used on the sites that are hosting Royale apps, like the on

Re: Use Royale to build the Royale website?

2021-12-05 Thread Alex Harui
Hi Harbs, No objection from me if you want to do that, but I'm wondering how often markdown is being used on the sites that are hosting Royale apps, like the one you are working on for your business. If you aren't using markdown, and are just using some HTML around the Royale app, it might be

Re: ASDoc

2021-11-29 Thread Alex Harui
generate AS3 ASDoc. Harbs > On Nov 29, 2021, at 9:22 AM, Alex Harui wrote: > > IIRC, the "asdoc" target in the top-level build.xml does not work and is kept around in case we try to make it work the way Flex did. > > Flex ASDoc used DITA and XSLT

Re: ASDoc

2021-11-28 Thread Alex Harui
IIRC, the "asdoc" target in the top-level build.xml does not work and is kept around in case we try to make it work the way Flex did. Flex ASDoc used DITA and XSLT which I did not want to learn and figured most others didn't want to learn either, so I put together examples/royale/ASDoc. Make s

Re: Jenkins seems to be down

2021-11-18 Thread Alex Harui
t; > On Thu, 18 Nov 2021 at 02:19, Alex Harui wrote: > > > Yes, we ran out of free Azure credits this month. It happens from time > to > > time. It should renew the credits tonight or tomorrow. > > > > -Alex > >

Re: Jenkins seems to be down

2021-11-17 Thread Alex Harui
Yes, we ran out of free Azure credits this month. It happens from time to time. It should renew the credits tonight or tomorrow. -Alex On 11/17/21, 4:48 PM, "Hugo Ferreira" wrote: Hi, I checked Jenkins console but seems to be down: https://nam04.safelinks.protection.outlook.co

Re: mxtests failing

2021-11-06 Thread Alex Harui
Subject: Re: mxtests failing Alex, I think Josh already pointed out a likely cause and possible fix in another thread. There was an override in the child resize branch that was calling its super method for js but not for swf, iirc. On Sat, 6 Nov 2021, 5:09 pm Alex Harui, wro

Re: mxtests failing

2021-11-05 Thread Alex Harui
I took a quick look today. I think there is an earlier issue that need to be resolved. The BasicTests "app" has a width of 0, so you never see anything on screen. Looks like that is due to some sizedToContent issues. I'd recommend fixing that before looking at the stage-is-null issue. The m

Re: Mustella Tests

2021-07-08 Thread Alex Harui
anges to containerview. Enjoy your vacation! From: Alex Harui<mailto:aha...@adobe.com.INVALID> Sent: Wednesday, July 7, 2021 8:37 PM To: dev@royale.apache.org<mailto:dev@royale.apache.org> Subject: Re: Mustella Tests I'm on a family trip and took my windows laptop instead of

Re: Mustella Tests

2021-07-07 Thread Alex Harui
ests Did you rule out fp versions and different env vars? From: Alex Harui<mailto:aha...@adobe.com.INVALID> Sent: Tuesday, July 6, 2021 9:12 AM To: dev@royale.apache.org<mailto:dev@royale.apache.org> Subject: Re: Mustella Tests I got the same error on my Windows machine, but it passe

Re: Mustella Tests

2021-07-05 Thread Alex Harui
I got the same error on my Windows machine, but it passed on my Mac. Very strange because I don't think we have much mac vs win code. Not sure if I'll have time to debug into it. -Alex On 7/5/21, 2:42 AM, "Yishay Weiss" wrote: Hi Guys, We’re close to having a release out. The hur

Re: Compilation Error with Maven on 2 Different Machines

2021-05-26 Thread Alex Harui
The logs don’t show JAVA_TOOL_OPTIONS or the Xmx settings. Pretty sure Royale requires at least 1g, maybe event 2g, and more than 512m HTH, -Alex From: Alina Kazi Reply-To: "us...@royale.apache.org" Date: Wednesday, May 26, 2021 at 4:14 AM To: "us...@royale.apache.org" , "dev@royale.apache.o

Re: [EXTERNAL] Re: about releasing 0.9.8

2021-05-07 Thread Alex Harui
IIRC, royale-config.xml does not include the MXRoyale swc but flex-config.xml does. HTH, -Alex On 5/7/21, 9:30 AM, "Brian Raymes" wrote: Okay, that worked. Thank you! Was this changed somewhat recently? I haven't needed this js-library-path before. -Original Message-

Re: [EXTERNAL] Re: about releasing 0.9.8

2021-04-28 Thread Alex Harui
My memory may be fuzzy, but I think the protocol is if you give up on creating a release you have to restore the version, but while a release is being attempted and a Maven release branch is in use, the dev branch is moved to the next version (plus SNAPSHOT). If the new changes to the distribut

Re: Casting workarounds

2021-04-21 Thread Alex Harui
FWIW, IMO, it is a bit easier for data to be untyped in Royale than it was in Flex. Flex was designed to support strongly-typed data coming from Flex Data Services, SOAP, and RemoteObject/AMF before REST-ful JSON services became popular. Also the Flash runtime verifier was way more likely to c

Re: Getting to 1.0

2021-04-20 Thread Alex Harui
drew Wetmore Date: Tuesday, April 20, 2021 at 11:08 AM To: Apache Royale Development , Alex Harui Subject: Re: Getting to 1.0 I have not done any work on the ASDocs section. We would be glad of any help we can get to make it more useful. Does it need a color guide at the top to indicate what blu

Re: MD parser

2021-04-16 Thread Alex Harui
a On Fri, Apr 16, 2021 at 2:35 AM Alex Harui wrote: > Maybe this: https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fshowdownjs%2Fshowdown&data=04%7C01%7Caharui%40adobe.com%7Cf6f32ef8f6e64963527c08d900cb3229%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7

Re: MD parser

2021-04-15 Thread Alex Harui
Maybe this: https://github.com/showdownjs/showdown HTH, -Alex On 4/15/21, 4:34 PM, "Andrew Wetmore" wrote: I am playing with building a parser to convert markdown to HTML as an ActionScript component for Royale. I looked around a bit and could not see an existing one. Stop me now i

Re: META-INF/DEPENDENCIES Diff (was RE: [Discuss] What to do with SWF target now that Adobe removed Flash Player in 2021 (Re: How to build from now on?))

2021-04-07 Thread Alex Harui
royale-release profile should turn on option-with-swf. On 4/7/21, 10:24 AM, "Josh Tynjala" wrote: I just logged into the CI server. I see that the configuration for Release Step 2 includes running Maven with the following options: -X --batch-mode -Proyale-release,apache-rel

Re: TLF APIs Effort Estimate

2021-02-17 Thread Alex Harui
IIRC, editing worked at one point, but not rich text editing. TLF had many goals, one of which was to provide pixel-perfect cross-browser glyph positioning. If you need that, I don't know if any JS editors do that, so you probably have to stick with TLF and have a lot of work left to make it p

Re: [Discuss] What to do with SWF target now that Adobe removed Flash Player in 2021 (Re: How to build from now on?)

2021-01-03 Thread Alex Harui
to run things on browsers. But I figure the Adobe > response will be just a simple "NO". But we can try before falling back to > option 1. For this to happen I think someone like Alex Harui that is inside > Adobe can move the threads internally or just let to us and

Re: Style propagation implementation

2021-01-02 Thread Alex Harui
Just about everything in Royale is the way it is because it was the fastest way to get someone's app working. Not only is there a PAYG (pay-as-you-go) philosophy, there is a DAYG (do-as-you-go) philosophy. We didn't have enough folks committing code to optimize or emulate all Flex code paths.

Re: What to do for 'change' type events in Event subclasses (emulation)

2020-12-20 Thread Alex Harui
I may not be understanding the problem, but I assumed from Greg's description that the issue is that custom event classes with extra properties like IndexChangeEvent do not get those properties in the handler. I think the test case Yishay posted will work because there is no test for the custom

Re: Website : download Nightly Builds is broken

2020-12-19 Thread Alex Harui
I restarted the VM. On 12/19/20, 4:46 AM, "Piotr Zarzycki" wrote: Hi Guys, User reported that our Jenkins is down again :( https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F1014&data=04%7C01%7Caharui%40adobe.com

Re: [royale-asjs] branch develop updated: Update AdvancedDataGridItemRenderer.as added document

2020-12-16 Thread Alex Harui
Please revert. The "document" property has been replaced by "mxmlComponent" so it does not conflict with the global "document" property in the browser. -Alex On 12/16/20, 5:33 AM, "pushminak...@apache.org" wrote: This is an automated email from the ASF dual-hosted git repository. p

Re: Release Step 003 Succeeded

2020-12-08 Thread Alex Harui
es\Java\jdk1.8.0_201\jre Default locale: en_US, platform encoding: UTF-8 OS name: "windows server 2016", version: "10.0", arch: "amd64", family: "windows" > On Dec 8, 2020, at 10:01 AM, Alex Harui wrote: > > Are all machines running

Re: slowness in Royale application

2020-12-08 Thread Alex Harui
AdvancedDataGrid should be using Virtual item renderers. You can check the DOM and see how many rows are in each column's list. Is it slow at startup, or when scrolling? Try using a JS profiler to see where the compute time is going. -Alex On 12/8/20, 2:32 AM, "Harbs" wrote: If you ha

Re: Release Step 003 Succeeded

2020-12-08 Thread Alex Harui
Are all machines running the same version of Maven and Java? Flex-compiler-oem is the Flash Builder integration jar. HTH, -Alex On 12/7/20, 2:53 AM, "Harbs" wrote: I’m having a very hard time getting getting the jars to match perfectly. When building on Windows I get consistent l

Re: Release Step 003 Succeeded

2020-12-03 Thread Alex Harui
he line.separators. > > So right now, an “easy fix” would be to only do releases on Windows machines. But I know that’s not a great solution. > > Chris > > > > > Von: Alex Harui > Datum: Mittwoch, 2. Dezember 2020 um 20:29

Re: Release Step 003 Succeeded

2020-12-02 Thread Alex Harui
:harbs.li...@gmail.com>> >>>> Datum: Dienstag, 1. Dezember 2020 um 13:45 >>>> An: dev@royale.apache.org <mailto:dev@royale.apache.org> < >> dev@royale.apache.org <mailto:dev@royale.apache.org>> >>>

  1   2   3   4   5   6   7   8   9   10   >