Build failed in Jenkins: royale-asjs #1194

2020-05-14 Thread apacheroyaleci
See Changes: [aharui] fix some events for Spark List. Might fix #830 -- [...truncated 135.88 KB...] [echo] swc-date is 05/15/20 06:55 +

Re: RoyaleUnit, EventDispatcher, and Node.js

2020-05-14 Thread Alex Harui
OK, I took a few minutes to look at the code. If you remove positioner from IChild, what breaks? What code is counting on it? -Alex On 5/14/20, 1:27 PM, "Josh Tynjala" wrote: As I understand it, Royale's EventDispatcher uses an IChild interface that references an IParent interface.

Build failed in Jenkins: royale-asjs-agent2 #113

2020-05-14 Thread apacheroyaleci
See Changes: -- [...truncated 2.05 MB...] tweak-for-jsonly: ide: post-build: [mkdir] Created dir:

Build failed in Jenkins: royale-asjs #1193

2020-05-14 Thread apacheroyaleci
See Changes: -- [...truncated 136.51 KB...] [echo] swc-date is 05/15/20 04:19 + [delete] Deleting:

Build failed in Jenkins: royale-asjs-agent2 #112

2020-05-14 Thread apacheroyaleci
See Changes: -- [...truncated 2.05 MB...] tweak-for-jsonly: ide: post-build: [mkdir] Created dir:

Build failed in Jenkins: royale-asjs #1192

2020-05-14 Thread apacheroyaleci
See Changes: -- [...truncated 135.87 KB...] [echo] swc-date is 05/15/20 02:54 + [delete] Deleting:

Re: UI5 XML Views

2020-05-14 Thread Penny, Kevin
Excellent, yes I think your comments of data driven xml hit the mark, supporting alternate output type formats (pluggable, writable) could be possible with some transformations, that kind of thing - that's great. Maybe even creating support for other frameworks as mentioned (ui5) and have that b

Re: UI5 XML Views

2020-05-14 Thread Greg Dove
I'm not sure exactly what you are asking. It is possible to port an application from Flex MXML to Apache Royale MXML and in many cases it is possible to keep much of the original code. Depending on the objectives ( from the range of : minimal changes, closest to original code to : more changes to

UI5 XML Views

2020-05-14 Thread Penny, Kevin
Hey - Happy to ask this question to you Can Apache Royale be extended to provide support for something like UI5 XML Views as output etc? https://sapui5.hana.ondemand.com/1.36.6/docs/guide/91f292806f4d1014b6dd926db0e91070.html So 'What if' You had an existing application written in MXML runn

Re: Nodejs and Apache Royale for server side

2020-05-14 Thread Apache Royale
That's great. -Alina Kazi On Fri, 15 May 2020, 1:12 am Josh Tynjala, wrote: > You can use npm modules like Express in ActionScript. However, you need to > create type definitions for them. Here's a tutorial: > > https://apache.github.io/royale-docs/features/nodejs/external-modules > > -- > Jos

Re: RoyaleUnit, EventDispatcher, and Node.js

2020-05-14 Thread Josh Tynjala
As I understand it, Royale's EventDispatcher uses an IChild interface that references an IParent interface. As long as those interfaces don't have any platform-specific properties or methods, EventDispatcher shouldn't need to know the "Node.js way" or the "DOMway" or the "SWF way" of doing things.

Re: Nodejs and Apache Royale for server side

2020-05-14 Thread Josh Tynjala
You can use npm modules like Express in ActionScript. However, you need to create type definitions for them. Here's a tutorial: https://apache.github.io/royale-docs/features/nodejs/external-modules -- Josh Tynjala Bowler Hat LLC On Thu, May 14, 2020 at 12:30 PM Apache Ro

Re: RoyaleUnit, EventDispatcher, and Node.js

2020-05-14 Thread Alex Harui
I think the question for me is how EventDispatcher is defined in Node. Does it support bubbling? Maybe it doesn't because there is no DOM? Is there a "parent" API in Node? IMO, conditional compilation should be used as little as possible so we only use it where APIs differ between platforms.

Re: Nodejs and Apache Royale for server side

2020-05-14 Thread Apache Royale
That's really awesome if we can use Apache Royale on server side as well. Like we use mx s html jewel in namespaces and use them. Is it possible to use node similarly? What i wanted to know for both frontend and backend side. Like middleware express etc are the core of nodejs. Can we use them dire

Re: Nodejs and Apache Royale for server side

2020-05-14 Thread Josh Tynjala
Yes, it should be possible to write backend code with ActionScript and Apache Royale. It compiles to JavaScript, which must be run using Node.js. I don't think a lot of people are using Apache Royale with Node.js yet, so there won't be much documentation besides what you've already found, and ther

Re: Nodejs and Apache Royale for server side

2020-05-14 Thread Apache Royale
Thank you Josh. Can we use Apache Royale for both frontend and backend/serverside? As now people are using nodejs for backend as well. -Alina Kazi On Thu, 14 May 2020, 8:59 pm Josh Tynjala, wrote: > There really isn't going to be a serious performance difference between > running Node.js with

Re: RoyaleUnit, EventDispatcher, and Node.js

2020-05-14 Thread Josh Tynjala
Yeah, I don't mind if we find a way to have a single EventDispatcher where bubbling is supported, and it still works in Node.js. Currently, the IChild interface that is used to crawl up the list of parents has a dependency on the HTMLElement type. The only part of IChild that matters to EventDispa

Re: RoyaleUnit, EventDispatcher, and Node.js

2020-05-14 Thread Alex Harui
I have not looked into this at all. FWIW, ED is spec'd to support bubbling and it should be possible for a RoyaleUnit test to rely on bubbling, so maybe the issue is that the support for bubbling has undesirable dependencies? On 5/14/20, 10:45 AM, "Carlos Rovira" wrote: Hi Josh,

RE: [DRAFT][ANNOUNCE] Apache Royale 0.9.7 released

2020-05-14 Thread Yishay Weiss
Got it. Thanks. From: Carlos Rovira Sent: Thursday, May 14, 2020 8:49:19 PM To: Apache Royale Development Subject: Re: [DRAFT][ANNOUNCE] Apache Royale 0.9.7 released Hi Yishay, since we change not only download page, but we already publish a blog post, maybe be

Re: [DRAFT][ANNOUNCE] Apache Royale 0.9.7 released

2020-05-14 Thread Carlos Rovira
Hi Yishay, since we change not only download page, but we already publish a blog post, maybe better to do it myself. There's a release notes for the website, but it implies some learning to do it. Maybe better to start doing some blog post publication when there's no hurry. Although as I stated b

Re: RoyaleUnit, EventDispatcher, and Node.js

2020-05-14 Thread Carlos Rovira
Hi Josh, I was in the believe that the bubbling changes to ED was PAYG and was done to be composed. I think that would be the best, if done in a way where we can easily use with bubbling in the framework and without it in RoyaleUnit. If that's possible, I'd like that instead a ED duplicate class.

RE: Modules in IE

2020-05-14 Thread Yishay Weiss
We can re-insert this feature if backwards compatibility becomes a big enough issue. Looking forward, I agree with what you said before that we should encourage less use of this pattern rather than more. From: Alex Harui Sent: Thursday, May 14, 2020 6:52 PM To: d

Re: Nodejs and Apache Royale for server side

2020-05-14 Thread Josh Tynjala
There really isn't going to be a serious performance difference between running Node.js with regular JavaScript versus running Node.js with ActionScript compiled to JavaScript. In the end, it all ends up being JavaScript. -- Josh Tynjala Bowler Hat LLC On Thu, May 14, 202

Re: Modules in IE

2020-05-14 Thread Alex Harui
FWIW, It occurred to me that we could leave inject_html in addition to inject_script and just document that it doesn't work in modules and not use it in the framework. Just a thought, -Alex On 5/14/20, 8:01 AM, "Yishay Weiss" wrote: Sure, will wait. Users will be required to cha

RE: Modules in IE

2020-05-14 Thread Yishay Weiss
Sure, will wait. Users will be required to change their inject_html annotations to inject_script similar to what was done here [1] [1] https://github.com/apache/royale-asjs/commit/14322f16c3ce44e7a4bdd2f3dc80f60e30842bd0 From: Piotr Zarzycki Sent: Thursday, Ma

Re: Modules in IE

2020-05-14 Thread Piotr Zarzycki
Please give me one more day more - Wait till Saturday. I would like to test your changes tomorrow with our application, so I would not run into some trouble with the next SDK update. As I understand the same name of the branch applies also for compiler changes ? czw., 14 maj 2020 o 16:51 Yishay We

RE: Modules in IE

2020-05-14 Thread Yishay Weiss
I’ve implemented this idea in inject_script branches for compiler and as-js. If someone has time test those it would be very helpful. It works for my case. I’ll do some more basic testing and if there are no objections I’ll merge tomorrow. Thanks. From: Alex Harui

Build failed in Jenkins: royale-compiler #405

2020-05-14 Thread apacheroyaleci
See Changes: -- Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. FATAL: java.nio.channels.ClosedChannelException java.nio

Nodejs and Apache Royale for server side

2020-05-14 Thread Alina Kazi
Hi, I have a question regarding this https://apache.github.io/royale-docs/features/nodejs

Build failed in Jenkins: royale-asjs-agent2 #111

2020-05-14 Thread apacheroyaleci
See Changes: [aharui] handle showRoot=false and item click event -- [...truncated 2.05 MB...] tweak-for-jsonly: ide: post-build: [mkd

Re: [DRAFT][ANNOUNCE] Apache Royale 0.9.7 released

2020-05-14 Thread Andrew Wetmore
This is very exciting. Well done! On Thu, May 14, 2020 at 4:34 AM Yishay Weiss wrote: > Greg, or anyone else with comments, please feel free to add this here [1]. > I’ll remove this page in a day or two. Thanks. > > [1] > https://github.com/apache/royale-asjs/wiki/Royale-0.9.7-Release-Announceme

Build failed in Jenkins: royale-asjs #1191

2020-05-14 Thread apacheroyaleci
re.com:8080/job/royale-asjs/ws/frameworks/themes/Spark> create-description: [echo] build.number is 20200514 js-output-royale-description: swf-js-output-royale-description: create-config: playerglobal-setswfversion: create-config: [copy] Copying 1 file to <http://apacheroyaleci2

RE: [DRAFT][ANNOUNCE] Apache Royale 0.9.7 released

2020-05-14 Thread Yishay Weiss
Greg, or anyone else with comments, please feel free to add this here [1]. I’ll remove this page in a day or two. Thanks. [1] https://github.com/apache/royale-asjs/wiki/Royale-0.9.7-Release-Announcement-Draft From: Greg Dove Sent: Thursday, May 14, 2020 10:26 AM To:

Re: [DRAFT][ANNOUNCE] Apache Royale 0.9.7 released

2020-05-14 Thread Greg Dove
Yishay, Alex well done on the recent efforts. Very much appreciated and will be great to see us getting these out quickly going forward. Another thing you may want to add to the announce is this: https://github.com/apache/royale-asjs/wiki/Release-Notes-0.9.7 And I would suggest that if others ha

RE: [DRAFT][ANNOUNCE] Apache Royale 0.9.7 released

2020-05-14 Thread Yishay Weiss
Good catch. Carlos, is there an easy way for me to do that? From: Piotr Zarzycki Sent: Thursday, May 14, 2020 9:59:48 AM To: Apache Royale Development Subject: Re: [DRAFT][ANNOUNCE] Apache Royale 0.9.7 released Hi Yishay, I believe before you announce anything

Build failed in Jenkins: royale-asjs-agent2 #110

2020-05-14 Thread apacheroyaleci
See Changes: -- [...truncated 2.05 MB...] tweak-for-jsonly: ide: post-build: [mkdir] Created dir:

Re: [DRAFT][ANNOUNCE] Apache Royale 0.9.7 released

2020-05-14 Thread Piotr Zarzycki
Hi Yishay, I believe before you announce anything Download page should be updated [1] [1] https://royale.apache.org/download/ Thanks, Piotr czw., 14 maj 2020 o 08:39 Yishay Weiss napisał(a): > I’ll wait 24 hours for your comments before releasing the official > announcement. > > _