Re: Showcase

2016-05-17 Thread Fabrice Montfort
Hi Om, Hi Harbs, Thanks for your answers. I've added a JIRA ticket (FLEX-35093 ) for the GitHub Pull Request (https://github.com/apache/flex-site/pull/1) ;-) Is it ok by your side ? Regards, 2016-05-17 22:24 GMT+04:00 Harbs

Re: Showcase

2016-05-17 Thread Harbs
https://issues.apache.org/jira/browse/INFRA-11890 On May 17, 2016, at 9:13 PM, OmPrakash Muppirala wrote: > Hmm, it is possible that flex-site has not been configured to send emails > to dev for pull request notifications. Can you please create a ticket for > the INFRA

Re: Showcase

2016-05-17 Thread OmPrakash Muppirala
Hmm, it is possible that flex-site has not been configured to send emails to dev for pull request notifications. Can you please create a ticket for the INFRA team? Fabrice, can you please create a JIRA ticket for this new one? We still want to track this as individual tickets. Thanks, Om On

AW: [DISCUSS] Handling of namespaces and xml

2016-05-17 Thread Christofer Dutz
The Manifest files seem to allow making a set of mxml tags be available using one prefix. The classes referenced by the "js" prefix fire example contain classes from different packages. You should have to import all packages individually. And you would be importing all sorts of helper classes

Re: Showcase

2016-05-17 Thread Harbs
It looks like it’s here: https://github.com/apache/flex-site/pulls I’m not sure why the dev list does not get notifications from that repo. Maybe we need INFRA to take care of that for us? On May 17, 2016, at 8:54 PM, OmPrakash Muppirala wrote: > Hmm, I dint see any new

Re: [DISCUSS] Handling of namespaces and xml

2016-05-17 Thread Alex Harui
I don't know this part of the compiler at all. I think, though, there are a couple of issues in here: 1) Making SWCs self-contained. Sounds good to me. Honestly, I don't know why the compiler needs a separate -manifest.xml file. When I look at the catalog.xml, I think I see everything we need

Re: [FlexJS]MXML in FDT

2016-05-17 Thread Josh Tynjala
A special js-config.xml would be nice so that asjsc doesn't need to pull in so many SWCs. I like that idea. - Josh On Tue, May 17, 2016 at 8:07 AM, Alex Harui wrote: > I'm about to add some comments to the FDT issue I opened about the extern > SWCS[1] > > I am going to ask

Re: [FlexJS]MXML in FDT

2016-05-17 Thread Alex Harui
What happens if you don't specify js-output-type? In theory it should pick FlexJS. The output looks like it is calling the SWF compiler, not the cross-compiler. -Alex On 5/17/16, 8:30 AM, "Harbs" wrote: >Here’s the output I’m getting: > >Using: Flex SDK Compiler

Re: [FlexJS]MXML in FDT

2016-05-17 Thread Harbs
Here’s the output I’m getting: Using: Flex SDK Compiler Adapter: Flex SDK 4 Compiler Adapter Starting Full Build of TreeTest-MainModel. Compiler arguments: -output /Users/harbs/Documents/FDT/workspace/TreeTest/bin/TreeTest.swf +flexlib= /Users/harbs/Documents/Apache Flex

Re: [FlexJS]as int

2016-05-17 Thread Harbs
Here’s the output of parseInt with different arguments: parseInt({foo:0},10));//NaN parseInt(10.7,10);10 parseInt("10.7",10);10 parseInt("7",10);//7 So, we should probably do something like: var val:Number = parseInt(value,10); return isNaN(val) ? 0 : val; What about uint? Something

Re: TextInput layout changes after SDK upgrade

2016-05-17 Thread Alex Harui
Did you upgrade the -app.xml file? I'm wondering if there are settings in there affecting how it shows up. -Alex On 5/17/16, 3:23 AM, "Fréderic Cox" wrote: >MacBook Pro (15-inch, Early 2011) > >On Sun, May 15, 2016 at 7:44 AM, Alex Harui wrote: > >>

Re: [FlexJS]as int

2016-05-17 Thread Alex Harui
It seems like we should continue to have the compiler call Language._int() and fix the implementation. Right now _int() just does this: static public function _int(value:Number):Number { return value >> 0; } Which I think is an attempt to truncate the Number.

Re: [FlexJS]MXML in FDT

2016-05-17 Thread Alex Harui
On 5/17/16, 8:02 AM, "Harbs" wrote: >Currently, these are the compiler arguments defined for FlexJS: > > passSwcs="true" passRsls="false"> > -js-output-type=FlexJS > -compiler.mxml.children-as-data=true > >

Re: [FlexJS]MXML in FDT

2016-05-17 Thread Alex Harui
I'm about to add some comments to the FDT issue I opened about the extern SWCS[1] I am going to ask for more details on why they have their own list of SWCs. I want to explore using named configs instead so they just use what we ship in any SDK. For example, we use configname to switch between

Re: [FlexJS]MXML in FDT

2016-05-17 Thread Harbs
Currently, these are the compiler arguments defined for FlexJS: -js-output-type=FlexJS -compiler.mxml.children-as-data=true -compiler.binding-value-change-event=org.apache.flex.events.ValueChangeEvent

Re: [FlexJS]as int

2016-05-17 Thread Josh Tynjala
If you use 10 as the radix, you're fine. The strange behavior is when you omit the radix because some browsers try to be smart and detect things like a leading 0 as an octal number. - Josh On Tue, May 17, 2016 at 12:17 AM, Tom Chiverton wrote: > I think parseInt() in JS

Re: [FlexJS]MXML in FDT

2016-05-17 Thread Harbs
They have a FlexJS project type, but no template. The project type seems to be broken though. I’m trying to fix both the type and create a template to generate a boilerplate project. I’m pretty close with the template, but I’m struggling with the compiler settings in the project type

Re: [FlexJS]MXML in FDT

2016-05-17 Thread Josh Tynjala
I don't think FDT officially supports FlexJS MXML yet. They only have the JSC project type, which is meant to be more of a pure ActionScript kind of thing. - Josh On Tue, May 17, 2016 at 7:50 AM, Harbs wrote: > I’m struggling with trying to get an MXML project set up in

[FlexJS]MXML in FDT

2016-05-17 Thread Harbs
I’m struggling with trying to get an MXML project set up in FDT. Has anyone managed to do so yet? Harbs

Re: Showcase

2016-05-17 Thread Fabrice Montfort
Hi there, Any news about that ? Regards, 2016-05-12 16:20 GMT+04:00 Fabrice Montfort : > Hi Om, > > I've forked the github repo and pull a request for a new app on the > showcase page. > > Does it work this time ? > > Regards, > > 2016-05-11 10:07 GMT+04:00 OmPrakash

[DISCUSS] Handling of namespaces and xml

2016-05-17 Thread Christofer Dutz
Hi, I am currently working on compiling the examples in asjs with maven. The reason for not having any [ASJS][FALCON] whatsoever, is that this could apply/affect all types of Flex SKDs. Currently we have the flex-config.xml in the frameworks directory. This defines a lot of namespace

Re: TextInput layout changes after SDK upgrade

2016-05-17 Thread Fréderic Cox
MacBook Pro (15-inch, Early 2011) On Sun, May 15, 2016 at 7:44 AM, Alex Harui wrote: > What kind of computer do you have? I'm wondering if it is Retina display > support. > > -Alex > > On 5/14/16, 11:36 AM, "Fréderic Cox" wrote: > > >AIR desktop, but

AW: [FalconJX][FlexJS][Maven] Antrun plugin

2016-05-17 Thread Christofer Dutz
Currently I don't build or test that jar at all. As I said, I'm concentrating on getting the main parts to build and work with maven, and after that I'll concentrate on utility stuff. Currently everything regarding Ant is utility for me. I know that in the end I will have to build something

Re: [FlexJS]as int

2016-05-17 Thread Harbs
As long as you use radix, I know of no issues. How does ">> 0” work? I don’t think I’ve come across that before. On May 17, 2016, at 10:17 AM, Tom Chiverton wrote: > I think parseInt() in JS has really odd behaviour and is best avoided. > > Tom > > On 17 May 2016

[FlexJS][Styles] Compiler wrongly adds commas as separators between values

2016-05-17 Thread OK
Hi, this is a new thread for an issue that I've started in the users list: Was: "[FlexJS] How to create a with a shadow style" http://apache-flex-users.246.n4.nabble.com/FlexJS-How-to-create-a-lt-div-gt-with-a-shadow-style-td12682.html The problem is that the compiler adds commas as

Re: [FlexJS]as int

2016-05-17 Thread Tom Chiverton
I think parseInt() in JS has really odd behaviour and is best avoided. Tom On 17 May 2016 07:46:07 BST, Alex Harui wrote: >I pushed changes for just the "x as int" case. > >On 5/16/16, 12:30 PM, "Harbs" wrote: > >>I assume int() will cross-compile to

Re: [FlexJS]as int

2016-05-17 Thread Alex Harui
I pushed changes for just the "x as int" case. On 5/16/16, 12:30 PM, "Harbs" wrote: >I assume int() will cross-compile to parseInt()? Currently the compiler calls Language._int(), but the code in there doesn't call parseInt. Should it? -Alex

Re: [FalconJX][FlexJS][Maven] Antrun plugin

2016-05-17 Thread Alex Harui
On 5/15/16, 3:55 PM, "Christofer Dutz" wrote: >Hi, > > >On the Maven dev list they are currently discussing to retire the >maven-antrun-plugin. Also it was mentioned, that support for running Ant >from Maven had been disabled for quite some time. I never noticed