Re: Java Default Encoding and Royale Compiler

2017-12-04 Thread Alex Harui
On 12/4/17, 11:11 PM, "Yishay Weiss" wrote: >>So, for any of our users, we could add yet another compiler option to set >>the encoding different from the system encoding in the case that someone >>really wants them to be different, or we can just leave things as they >>are >>in the code and may

RE: Java Default Encoding and Royale Compiler

2017-12-04 Thread Yishay Weiss
>So, for any of our users, we could add yet another compiler option to set >the encoding different from the system encoding in the case that someone >really wants them to be different, or we can just leave things as they are >in the code and maybe document how to use JAVA_TOOL_OPTIONS. The advanta

Re: List, MDL Table - How to remove all content

2017-12-04 Thread Alex Harui
In general, removing stuff should be PAYG. Not every app needs to remove things, and removal is often way more expensive than adding. For example, when an item is added to a sophisticated list, the various beads have to do these things: 1) figure out if the item is on screen and a new renderer ne

Re: Java Default Encoding and Royale Compiler

2017-12-04 Thread Alex Harui
In a quick internet search, I hit on this SO post [1]. It seems to be saying that Git does not enforce any particular character set when storing files in the repo. It also seems to be saying that there is lots of Windows users who expect non-UTF-8 encoding. In addition, I saw this SO post [2].

Re: List, MDL Table - How to remove all content

2017-12-04 Thread Peter Ent
I need to think about this for a bit because I’m fiddling with this bit of code in List. I’ll get back to you in my tomorrow. Peter > On Dec 4, 2017, at 4:53 PM, Piotr Zarzycki wrote: > Hi Guys, > > I have faced an issue where solution seems to be not so easy. I have MDL > Table (issue affe

Re: [MAVEN-BUILD] Royale-asjs - Build # 281 - Still Failing

2017-12-04 Thread Harbs
Crud. I missed another one. Hopefully I got the last one now… > On Dec 5, 2017, at 12:11 AM, Apache Jenkins Server > wrote: > > The Apache Jenkins build system has built Royale-asjs (build #281) > > Status: Still Failing > > Check console output at https://builds.apache.org/job/Royale-asjs/28

List, MDL Table - How to remove all content

2017-12-04 Thread Piotr Zarzycki
Hi Guys, I have faced an issue where solution seems to be not so easy. I have MDL Table (issue affects also List) with some rows. If I simply assign to dataProvider = null it doesn't remove all content. It is because in our DataItemRendererFactoryForArrayData and other type of that class we have

Re: [royale-asjs] 02/02: Added Label

2017-12-04 Thread Harbs
There’s only 4 left on my list. I’ll probably get to them later. It would probably be a good idea to put together an example project which uses as many of the HTML elements as possible. I don’t know if I’m going to have the time to do that. > On Dec 4, 2017, at 9:19 PM, ha...@apache.org wrote:

Re: [royale-asjs] branch develop updated: Added Form

2017-12-04 Thread Harbs
Leave it in Basic. That should be a “true” Royale component. The HTML ones are HTML element wrappers. > On Dec 4, 2017, at 9:11 PM, Piotr Zarzycki wrote: > > Harbs, > > Isn't form is part of the Basic ? What are you going to do with that one ? > > Piotr > > 2017-12-04 20:06 GMT+01:00 : > >

Re: [royale-asjs] branch develop updated: Added Form

2017-12-04 Thread Piotr Zarzycki
Harbs, Isn't form is part of the Basic ? What are you going to do with that one ? Piotr 2017-12-04 20:06 GMT+01:00 : > This is an automated email from the ASF dual-hosted git repository. > > harbs pushed a commit to branch develop > in repository https://gitbox.apache.org/repos/asf/royale-asjs.

Re: [MAVEN-BUILD] Royale-asjs - Build # 277 - Still Failing

2017-12-04 Thread Piotr Zarzycki
I saw also that royale asjs only build is failing, but it doesn't look like your code problem [1] [1] http://apacheflexbuild.cloudapp.net:8080/job/royale-asjs-jsonly/ Piotr 2017-12-04 20:03 GMT+01:00 Piotr Zarzycki : > Thanks! I will wait for the next build. I'm not sure what do you mean by > r

Re: [MAVEN-BUILD] Royale-asjs - Build # 277 - Still Failing

2017-12-04 Thread Piotr Zarzycki
Thanks! I will wait for the next build. I'm not sure what do you mean by regeneration of royale-config? - probably fix should be applied to that template also. Piotr 2017-12-04 19:54 GMT+01:00 Harbs : > I already fixed royale-config-template. I searched asjs for every instance > of a reference t

Re: [MAVEN-BUILD] Royale-asjs - Build # 277 - Still Failing

2017-12-04 Thread Harbs
I already fixed royale-config-template. I searched asjs for every instance of a reference to the svg-manifest in HTML and changed that. I hope that does it. Do we need to somehow force a regeneration of royale-config.xml? > On Dec 4, 2017, at 8:45 PM, Piotr Zarzycki wrote: > > Hi Harbs, > > I

Re: Re: Re: Re: Building a repository front end with Royale

2017-12-04 Thread Piotr Zarzycki
Agree with that, but I don't see better resolution to that problem. Royale will not be part of Apache Flex installer, so people probably face that issue from time to time. Thanks for the input! Piotr 2017-12-04 18:37 GMT+01:00 RAT-Moonshine : > Piotr Zarzycki wrote > > If you go to the folder >

Re: [MAVEN-BUILD] Royale-asjs - Build # 277 - Still Failing

2017-12-04 Thread Piotr Zarzycki
Hi Harbs, I just pickup your changes and tried to use in Moonshine. I have following error [1]. It look like in templates royale-config-template.xml and flex-config-template.xml are wrong namespaces. If you could take a look into that. I could fix that, but you are much closer than me to the chang

Re: PR18 - NOTICE file update

2017-12-04 Thread Dave Fisher
Hi - Two points. (1) The PR has an extra copyright for the ASF added. This would need to be removed from the PR. (2) The inclusion of the following: The Initial Developer of the Original Code, known as Adobe Flex, is Adobe Systems Incorporated (http://www.adobe.com/). Copyright 2003 - 201

Re: Re: Re: Re: Building a repository front end with Royale

2017-12-04 Thread RAT-Moonshine
Piotr Zarzycki wrote > If you go to the folder > "*Downloads/apache-royale-jsonly-0.9.0-bin/js/bin/"* > and give in the terminal access to the file mxmlc by command "*sudo chmod > 755 mxmlc*" - You will be able to build Royale examples. - I will probably > add this one to the instruction. Generall

Re: MXML attributes, minification, and initialization

2017-12-04 Thread Alex Harui
Interesting. What is the generated data structure for that property? How does the generated data structure differ if the property is getter/setter? Thanks, -Alex On 12/4/17, 3:30 AM, "Yishay Weiss" wrote: >We ran into an interesting problem with minification. If you have a >component with an

Re: Re: Re: Re: Re: Building a repository front end with Royale

2017-12-04 Thread Dany Dhondt
Hi Piotr, I chmodded the mxmlc, re-used the royale SDk and... the app compiled succesfully! Thanks for the help, I can now proceed to the next step. -Dany Op 4 dec 2017 om 14:54 uur uur schreef Piotr Zarzycki : Dany, You want be able to compile Royale examples by FlexJS SDK. Yes you got th

Re: [MAVEN-BUILD] Royale-asjs - Build # 277 - Still Failing

2017-12-04 Thread Harbs
I missed one of the examples. Hopefully the latest commit does it… > On Dec 4, 2017, at 3:18 PM, Apache Jenkins Server > wrote: > > The Apache Jenkins build system has built Royale-asjs (build #277) > > Status: Still Failing > > Check console output at https://builds.apache.org/job/Royale-asj

Re: Re: Re: Re: Building a repository front end with Royale

2017-12-04 Thread Piotr Zarzycki
Dany, You want be able to compile Royale examples by FlexJS SDK. Yes you got the correct results, cause you did download FlexJS SDK by Moonshine downloader. However I would like to get back to your issue. I just got my mac and resolve it by different terminal command. I had to add to the mxmlc fil

Re: Re: Re: Building a repository front end with Royale

2017-12-04 Thread Piotr Zarzycki
Dany, I just consulted your issue with the Team and solution is a bit different. If you download files through the browser they will be under sandbox restriction on Mac. If you run into permission denied problem you will have to manually change attributes for the files. Your case is that you don't

Re: Re: Re: Building a repository front end with Royale

2017-12-04 Thread Piotr Zarzycki
Dany, As for your problem. If you are on Mac you have in Moonshine helper called "Access Manager" - It allow omit some restrictions. Once you open some project you can go to menu File -> Access Manager - and point there all paths. For example path to folder with downloaded SDK. Thanks, Piotr 20

Re: Re: Re: Building a repository front end with Royale

2017-12-04 Thread Piotr Zarzycki
Dany, I see on your screenshot that you are trying to use sources instead of binary distribution of Royale SDK. Can you download this one [1]. Once again go through the instruction for Moonshine and use examples from that package. [1] http://apacheflexbuild.cloudapp.net:8080/job/royale-asjs-jsonl

MXML attributes, minification, and initialization

2017-12-04 Thread Yishay Weiss
We ran into an interesting problem with minification. If you have a component with an attribute that’s initialized like this: public var myProp:Boolean = false; and you try to initialize it from mxml () the result will be myComp == true in debug and myComp == false in release. We found 2 ways

Re: Re: Re: Building a repository front end with Royale

2017-12-04 Thread Dany Dhondt
Hi Piotr, I did what you said. SDK folder and project folder are in my downloads folder. When I try to compile I get this permission denied error [1] When creating the project itself I got this console output [2] thx, Dany [1] http://www.archemedia.eu/royale/img2.png [2] http://www.archemedia.

Re: [Try-it-now app] Progress thread

2017-12-04 Thread Carlos Rovira
That's cool! :) If you need some help from me in order to integrate with current website let me know. You already have credentials in the webstite, but maybe for me could be more easy as I know the tips and tricks to integrate in the current website. Thanks! Carlos 2017-12-04 9:51 GMT+01:00 Ol

Re: [MAVEN-BUILD] Royale-asjs - Build # 276 - Failure

2017-12-04 Thread Harbs
Yup. I missed some references in Text. The next build should work. > On Dec 4, 2017, at 12:29 PM, Piotr Zarzycki wrote: > > I think we should wait for the next build :) [1] > > [1] https://builds.apache.org/job/Royale-asjs/277/ > > 2017-12-04 11:25 GMT+01:00 Apache Jenkins Server > : > >> Th

Re: [MAVEN-BUILD] Royale-asjs - Build # 276 - Failure

2017-12-04 Thread Piotr Zarzycki
I think we should wait for the next build :) [1] [1] https://builds.apache.org/job/Royale-asjs/277/ 2017-12-04 11:25 GMT+01:00 Apache Jenkins Server : > The Apache Jenkins build system has built Royale-asjs (build #276) > > Status: Failure > > Check console output at https://builds.apache.org/j

Re: Re: Building a repository front end with Royale

2017-12-04 Thread Piotr Zarzycki
Hi Dany, It should be recognized. Try to reset settings for Moonshine - Go to General -> Reset to Default. Moonshine should work with current version of Royale SDK. - Let me know whether reset helped. In case of opening examples: You need to locate "Main source folder" [1] - This is the folder wh

Re: Java Default Encoding and Royale Compiler

2017-12-04 Thread Harbs
The file in question was created by me on a Mac. An additional file which caused a problem on Yishay’s machine was StringTextLineFactory from TLF Lines 443, 445 and 446 (in the comment) were output as garbage characters by the Royale compiler without explicitly setting the encoding to UTF-8. A

RE: Java Default Encoding and Royale Compiler

2017-12-04 Thread Yishay Weiss
Java seems [1] to take the system encoding which can vary between windows and other machines. My main editors are Eclipse (FB) and vim, Eclipse is set to use UTF-8 while vim is using latin1 by default. But in any case, these are easily configurable so I don’t see the harm in requiring users t

Re: PR18 - NOTICE file update

2017-12-04 Thread Harbs
I disagree. The wording is misleading and wrong and I don’t think anything needs to be propagated in this case. I did not close the PR because I wanted to leave it up to other PMC members to decide if I’m right or wrong. I’ll leave it other folks to decide if this is an issue. Harbs > On Dec

Re: PR18 - NOTICE file update

2017-12-04 Thread Harbs
Sorry about that. I shouldn’t make assumptions. Harbs > On Dec 4, 2017, at 11:03 AM, Justin Mclean wrote: > >> I assume Justin asked you to write this email. > > No I didn’t,

Re: PR18 - NOTICE file update

2017-12-04 Thread Justin Mclean
Hi, > I assume Justin asked you to write this email. No I didn’t, I did point out it was an outstanding issue several week back and IMO needed to be addressed before a release was made. > I’m not sure how well you read the PR, but I don’t believe it's accurate at > all. The original code of Ro

Re: [Try-it-now app] Progress thread

2017-12-04 Thread Olaf Krueger
Hi Carlos, > sorry to not write before No apology needed, this is the Apache way... we all do what we can ;-) Currently, I am rewriting the server side by using Restify instead of Express. This is just a few lines of code but it still takes time. Then I'll continue the work on the client by going

Re: PR18 - NOTICE file update

2017-12-04 Thread Harbs
Hi Niclas, I assume Justin asked you to write this email. I’m not sure how well you read the PR, but I don’t believe it's accurate at all. The original code of Royale does not come from Adobe at all. Parts of it were adapted from Apache Flex which was in turn *donated* by Adobe to Apache. We’r