Re: [FlaconJX] Vector initialization

2017-04-20 Thread Alex Harui
On 4/19/17, 3:25 PM, "Harbs" wrote: >Currently as code which looks like this. >var myThingy:Vector. = new Vector.(), it is cross >compiled in JS to this: > >var myThingy = org.apache.flex.utils.Language.Vector(); > >Considering that this simple returns an empty array, a compiler >optimization c

Re: [FlexJS XML]

2017-04-20 Thread Harbs
> On Apr 20, 2017, at 2:24 AM, Alex Harui wrote: > > I just pushed a change to handle the @prop cases. Thanks. I’ll give it a spin. > I'm not seeing the errors with the Error class, and I am seeing other > potential issues where XML.appendChild might have the parameter typed as > XML. What is

Re: Falcon build failing

2017-04-20 Thread Harbs
This issue has me stalled. If anyone could help with this, it would be greatly appreciated. > On Apr 19, 2017, at 6:27 PM, Harbs wrote: > > FWIW, I tried adding RegExp("RegExp”), to NativeUtils.NativeJSType, but for > some reason it did not help. > >> On Apr 19, 2017, at 5:05 PM, Harbs wrote

Re: [FlexJS XML]

2017-04-20 Thread Harbs
> On Apr 20, 2017, at 6:20 AM, Harbs wrote: > >> I just pushed a change to handle the @prop cases. > @prop cases are working. Thanks. > Thanks. I’ll give it a spin. > >> I'm not seeing the errors with the Error class, I’m still getting this. I just pushed a change to the tlf branch where I

Re: Falcon build failing

2017-04-20 Thread Christofer Dutz
Even if there is currently an issue not making all parts of the build chain run automatically … the Maven build is currently fully operational (as far as I can tell) Chris Am 20.04.17, 12:30 schrieb "Harbs" : This issue has me stalled. If anyone could help with this, it would be greatly

Re: Falcon build failing

2017-04-20 Thread Harbs
Right. But I need the TLF build to work… ;-) FWIW, I’m having trouble coming up with a test case which shows the problem. > On Apr 20, 2017, at 8:53 AM, Christofer Dutz > wrote: > > Even if there is currently an issue not making all parts of the build chain > run automatically … the Maven bu

Re: Falcon build failing

2017-04-20 Thread Alex Harui
Should I be able to reproduce by building the branch? Get Outlook for Android From: Harbs Sent: Thursday, April 20, 2017 6:21:56 AM To: dev@flex.apache.org Subject: Re: Falcon build failing Right. But I need the TLF build to work… ;-) FW

Re: Falcon build failing

2017-04-20 Thread Harbs
No. I’m getting this in my app. I have not been able to figure out how to reproduce the problem yet in test case. > On Apr 20, 2017, at 9:38 AM, Alex Harui wrote: > > Should I be able to reproduce by building the branch? > > Get Outlook for Android > > > _

Re: Falcon build failing

2017-04-20 Thread Harbs
In case it helps, here’s the relevant part of my output: [java] Dependencies calculated for 'org.apache.flex.mdl.beads.models.SliderRangeModel' [java] org.apache.flex.mdl.beads.models.SliderRangeModel depends on org.apache.flex.events.EventDispatcher [java] org.apache.flex.mdl.bea

Re: Falcon build failing

2017-04-20 Thread Alex Harui
What RegExp are you using? I can try it in HelloWorldTLF. On 4/20/17, 7:18 AM, "Harbs" wrote: >No. I’m getting this in my app. > >I have not been able to figure out how to reproduce the problem yet in >test case. > >> On Apr 20, 2017, at 9:38 AM, Alex Harui wrote: >> >> Should I be able to re

Re: [FlexJS] Issue with JSON.stringify and Bindable VO objects

2017-04-20 Thread Alex Harui
On 4/19/17, 1:29 AM, "Greg Dove" wrote: >Yes I was thinking more in terms of the times I did this type of thing to >support nested typed objects from raw json, more than simple VOs. Not so >much in terms of using reviver, but going through from json -> generic >object -> typed object with most

Re: [FlexJS XML]

2017-04-20 Thread Alex Harui
On 4/20/17, 4:01 AM, "Harbs" wrote: > >> On Apr 20, 2017, at 6:20 AM, Harbs wrote: >> >>> I just pushed a change to handle the @prop cases. >> >@prop cases are working. Thanks. > >> Thanks. I’ll give it a spin. >> >>> I'm not seeing the errors with the Error class, > >I’m still getting this

Re: Falcon build failing

2017-04-20 Thread Harbs
My app has a number of RegExps, but I’m not sure what is causing the error. None of them are directly connected to TLF, and I’m not getting the error using TLF in other test apps. Here are the RegExps that *might* be connected to this: public static var HTTP_PROTOCOL_PATTERN:RegExp = /^ *http:.

Re: [FlexJS XML]

2017-04-20 Thread Alex Harui
On 4/20/17, 9:06 AM, "Alex Harui" wrote: >My bad. I see it now. It was buried in the other output. I'll take a >look. I pushed changes to flex-typedefs to fix the Error.toString() issue. -Alex

Re: Falcon build failing

2017-04-20 Thread Alex Harui
I just copied those RegExp into HelloWorldTLF.mxml and it compiled just fine. I don't know of any way to track it down other than running the compiler in the debugger. In your bin/js-debug folder, which files have goog.require for RegExp? I think there shouldn't be any since it is a builtin. -A

Re: Falcon build failing

2017-04-20 Thread Harbs
There are no goog.requires for RegExp. Do you have suggestions on what I can add to the Java code to give some clues as to what’s going wrong? > On Apr 20, 2017, at 8:39 PM, Alex Harui wrote: > > I just copied those RegExp into HelloWorldTLF.mxml and it compiled just > fine. > > I don't know

Re: Falcon build failing

2017-04-20 Thread Alex Harui
Grep for RegExp in bin/js-debug (except for the library folder) and post the results. -Alex On 4/20/17, 7:15 PM, "Harbs" wrote: >There are no goog.requires for RegExp. > >Do you have suggestions on what I can add to the Java code to give some >clues as to what’s going wrong? > >> On Apr 20, 201

Re: Falcon build failing

2017-04-20 Thread Harbs
https://paste.apache.org/Elpk Nothing too spectacular with the exception of TextLayoutFormatExporter which has this: /* FlexJS Static Dependency List: org.apache.flex.textLayout.formats.TextLayoutFormat,RegExp*/ I’m guessing that’s a clue… > On Apr 20, 2017, at 10:21 PM, Alex Harui wrote: >

Re: Falcon build failing

2017-04-20 Thread Alex Harui
On 4/20/17, 7:44 PM, "Harbs" wrote: >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa >che.org%2FElpk&data=02%7C01%7C%7C163cde5e1733430a17ff08d488605310%7Cfa7b1b >5a7b34438794aed2c178decee1%7C0%7C0%7C636283394673664681&sdata=yjTVit%2FtW8 >5rsXtx%2FRJZODRK15PM1GrpZNUf5C

Re: Falcon build failing

2017-04-20 Thread Harbs
THANK YOU!!! That did it. Phew! I’m going to push my change to NativeUtils as well. > On Apr 20, 2017, at 11:16 PM, Alex Harui wrote: > > > > On 4/20/17, 7:44 PM, "Harbs" wrote: > >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa >> che.org%2FElpk&data=02%7C01%7

Re: [FlexJS] Issue with JSON.stringify and Bindable VO objects

2017-04-20 Thread piotrz
Greg, I created jira [1] with as much description as a I can. [1] https://issues.apache.org/jira/browse/FLEX-35297 Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Issue-with-JSON-stringify-and