Re: Migrating Enterprise Flex Application

2018-06-19 Thread chembali
Thank you for the responses from all of you. I feel confident to take this challenge up. My struggle will be to come up a detailed project plan with clear milestones and deliverables to keep the stakeholders convinced and happy. Thank you Sajith -- Sent from:

Re: Migrating Enterprise Flex Application

2018-06-19 Thread Piotr Zarzycki
Harbs, I believe the perfect summary of what you have wrote would be your presentation from ApacheCon [1] :) [1] https://www.youtube.com/watch?v=-FcLs0O-BWQ Piotr wt., 19 cze 2018 o 18:23 Harbs napisał(a): > Yes. You can see a demo of our app here: >

Grid, GridCell, GridLayout and GridCellLayout and Responsive Layouts in Royale

2018-06-19 Thread Carlos Rovira
Hi, now I'll cover a bit about new Jewel Grid and GridCell components. * Grid is a container that has GridCells.Grid uses GridLayout and GridCell uses GridCellLayout. * You can use those layouts with other component like a Group if you want, but maybe is not worth it. * Grid and GridCell proxies

Re: BinaryData and odd bytes

2018-06-19 Thread Harbs
DataView works in IE10+. The problem with DataView as that it’s slow. > On Jun 19, 2018, at 9:24 PM, Carlos Rovira wrote: > > Hi Harbs, > > for me any improvement seems ok, just ensure it works in all browsers > (specially IE11) > > thanks > > 2018-06-19 19:25 GMT+02:00 Alex Harui : > >>

Re: BinaryData and odd bytes

2018-06-19 Thread Harbs
Yes. But you can convert from one TypedArray to another. That’s how the class handles reading multi-byte data. The single underlying ArrayBuffer can be accessed by different TypedArrays. > On Jun 19, 2018, at 8:25 PM, Alex Harui wrote: > > Isn't ByteArray mapped to UInt8Array? > > On

Re: BinaryData and odd bytes

2018-06-19 Thread Carlos Rovira
Hi Harbs, for me any improvement seems ok, just ensure it works in all browsers (specially IE11) thanks 2018-06-19 19:25 GMT+02:00 Alex Harui : > Isn't ByteArray mapped to UInt8Array? > > On 6/19/18, 10:07 AM, "Harbs" wrote: > > BinaryData uses TypedArrays to read data. It seems that if

Re: BinaryData and odd bytes

2018-06-19 Thread Alex Harui
Isn't ByteArray mapped to UInt8Array? On 6/19/18, 10:07 AM, "Harbs" wrote: BinaryData uses TypedArrays to read data. It seems that if the ArrayBuffer does not divide evenly into the target TypedArray, you get a runtime error. For example: readShort() works like this:

BinaryData and odd bytes

2018-06-19 Thread Harbs
BinaryData uses TypedArrays to read data. It seems that if the ArrayBuffer does not divide evenly into the target TypedArray, you get a runtime error. For example: readShort() works like this: var ret:int = new Int16Array(ba, _position, 1)[0]; If _position is not divisible by 2 (i.e. an odd

Re: Migrating Enterprise Flex Application

2018-06-19 Thread Harbs
Yes. You can see a demo of our app here: https://marketinginflection.com/printui-demo.php The business logic ported like a dream. We had to rewrite large portions of the view, but it was due to a modernization anyway. We started our migration

Re: Migrating Enterprise Flex Application

2018-06-19 Thread Alex Harui
Yes. PrintUI is our biggest example. Harbs can share more details. -Alex On 6/19/18, 3:24 AM, "chembali" wrote: Has anyone ( big scale ) successfully migrated to Apache Royale from Flex? I want to make sure that this migration path is a viable option for me? Please share your

Re: Problem with "this" inside static method

2018-06-19 Thread Alex Harui
On 6/19/18, 4:03 AM, "Harbs" wrote: I can rewrite the cases I keep bumping into with these problems, but it seems to me like this is something we really need to fix. Makes sense. Go for it. Good luck. I looked at the compiler code, but I don’t see any comments on why this

Re: Problem with "this" inside static method

2018-06-19 Thread Harbs
I’m pretty sure this is not a problem with static functions per se. It seems to be a general functional problem. Here’s another place I ran into issues: I have some code inside a public function: this.glyphInfos = glyphRun.glyphs.map(function(glyph):GlyphInfo{return new GlyphInfo(this.font,

Re: Migrating Enterprise Flex Application

2018-06-19 Thread Piotr Zarzycki
I see that you are using old version of Royale -> apache-royale-0.9.1-bin-js-swf - Please download following one and try again [1]. We didn't release yet emulation stuff, so you need to use Nightly build. [1]

Re: Migrating Enterprise Flex Application

2018-06-19 Thread chembali
I have been using the flex config option in my earlier attempts. That did not work. I tried again, same issue. Is there any debug log or something that I can take a look? -- Sent from: http://apache-royale-development.20373.n8.nabble.com/

Re: Migrating Enterprise Flex Application

2018-06-19 Thread Carlos Rovira
Hi Chembali, we're in the process now, maybe to soon to talk, but seems there's no problems that couldn't be solved in the way, or at least nothing that you'll not find in any other HTML technology out there. You'll even should see less problems since Royale is more close to Flex that any other

Re: Migrating Enterprise Flex Application

2018-06-19 Thread Piotr Zarzycki
Take a look into my report for some Folks [1], you have there full command line options. You are missing in your command loading flex config. Have you seen that instruction on our website ? [1] https://paste.apache.org/LPkY wt., 19 cze 2018 o 12:24 chembali napisał(a): > Has anyone ( big scale

Re: Migrating Enterprise Flex Application

2018-06-19 Thread chembali
Has anyone ( big scale ) successfully migrated to Apache Royale from Flex? I want to make sure that this migration path is a viable option for me? Please share your thoughts. Thank you Sajith -- Sent from: http://apache-royale-development.20373.n8.nabble.com/

Re: Migrating Enterprise Flex Application

2018-06-19 Thread chembali
Hi Piotr, I followed the instructions and set up the Royale SDK for generating the report. But the -api-report compiler options does not seem to be supported by the mxmlc compiler in RoyaleSDK. Should I do the whole thing again or is there any way to troubleshoot this? Appreciate your help on

Re: Migrating Enterprise Flex Application

2018-06-19 Thread Piotr Zarzycki
Hi Sajith, Please take a look into the instruction on the Emulation Components how to generate report. [1] I would also suggest you to generate that use console. [1] https://github.com/apache/royale-asjs/wiki/Generating-an-API-Report Thanks, Piotr wt., 19 cze 2018 o 11:10 chembali napisał(a):

Re: Migrating Enterprise Flex Application

2018-06-19 Thread chembali
Hi Piotr, Changing the ROYALE_COMPILER_HOME did not help. I tried a different route. I used the command line mxmlc instead of my gradle build. Here is the command I tried running. > mxmlc -api-report="C:\devenv\flex\report.txt" >

CSS Layouts - About Gaps

2018-06-19 Thread Carlos Rovira
Hi, I committed some hours ago my work on Jewel Layouts that are based on CSS. This work is in a point that while is working for most cases it shows some flaw points that need to be solved and others that need to be discussed to reach to the best shape. The motivation: Get layouts that use the