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 :

> 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 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 Tue, May 17, 2016 at 11:08 AM, Harbs  wrote:
> >
> >> 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 pull request.  Can you post a link here?
> >>>
> >>> On Tue, May 17, 2016 at 7:40 AM, Fabrice Montfort 
> >> wrote:
> >>>
>  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 Muppirala  >:
> >
> >> On Tue, May 10, 2016 at 11:02 PM, Fabrice Montfort 
> >> wrote:
> >>
> >>> Hi Om,
> >>>
> >>> Thanks a lot. I have 4 other applications to be submitted to the
> >> showcase
> >>> page of Flex and I would like not to disturb you too much. Could
> you
> >> tell
> >>> me why my GitHub IDs are systematically denied when I try to do a
> >> pull
> >>> request ?
> >>> Did I miss something?
> >>>
> >>
> >> Hmm, what are the exact steps you are doing?  There is no valid
> reason
>  why
> >> your github id should be denied.
> >>
> >> Thanks,
> >> Om
> >>
> >>
> >>
> >>>
> >>> Regards,
> >>>
> >>> 2016-05-11 4:06 GMT+04:00 OmPrakash Muppirala <
> bigosma...@gmail.com
> >>> :
> >>>
>  I've updated the site.  Thanks for the submission!!
> 
>  Regards,
>  Om
> 
>  On Tue, May 10, 2016 at 3:39 PM, Fabrice Montfort  >
> >>> wrote:
> 
> > Hi Om,
> >
> > I've posted a patch.diff file and a ZIP archive with the images
>  (FLEX-35088
> > ).
> >
> > Is there anything else I can do ?
> >
> > Regards,
> >
> > 2016-05-11 1:04 GMT+04:00 Fabrice Montfort :
> >
> >> Hi Om,
> >>
> >> Thanks for your quick answer. I'm cloning the git repo. I'll
>  make
> >> a
>  pull
> >> request tomorow.
> >>
> >> Regards,
> >>
> >> 2016-05-10 23:52 GMT+04:00 OmPrakash Muppirala <
> >> bigosma...@gmail.com
>  :
> >>
> >>> Fabrice,
> >>>
> >>> Here is a wiki on how to update the site and submit a patch or
>  a
> >>> pull
> >>> request
> >>>
> >>>
> >
> 
> >>>
> >>
> 
> >>
> https://cwiki.apache.org/confluence/display/FLEX/9.+Updating+the+Flex+Showcase
> >>>
> >>> If you follow the steps here, one of the committers can help
> >> push it
>  out
> >>> to
> >>> the site.
> >>>
> >>> Thanks,
> >>> Om
> >>>
> >>> On Tue, May 10, 2016 at 5:45 AM, Fabrice Montfort <
> >> f...@runware.com>
> > wrote:
> >>>
>  Hi Guys,
> 
>  I've created a Jira Task (FLEX-35088
>  ) for
> >> adding my
>  new
> >>> app
>  on the Apache Flex Showcase page.
> 
>  Tell me if i can do something more.
> 
>  Thanks for your excellent work on regular Flex SDK and on
> >> FlexJS.
> 
>  Regards,
> 
>  --
>  *Fabrice Montfort / CTO*
> 
>  *f...@runware.com *
> 
>  * *
>  Phone : +262 (0)262 28 67 30 / Mobile : +262 (0)692 93 57 10
> 

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 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 Tue, May 17, 2016 at 11:08 AM, Harbs  wrote:
> 
>> 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 pull request.  Can you post a link here?
>>> 
>>> On Tue, May 17, 2016 at 7:40 AM, Fabrice Montfort 
>> wrote:
>>> 
 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 Muppirala :
> 
>> On Tue, May 10, 2016 at 11:02 PM, Fabrice Montfort 
>> wrote:
>> 
>>> Hi Om,
>>> 
>>> Thanks a lot. I have 4 other applications to be submitted to the
>> showcase
>>> page of Flex and I would like not to disturb you too much. Could you
>> tell
>>> me why my GitHub IDs are systematically denied when I try to do a
>> pull
>>> request ?
>>> Did I miss something?
>>> 
>> 
>> Hmm, what are the exact steps you are doing?  There is no valid reason
 why
>> your github id should be denied.
>> 
>> Thanks,
>> Om
>> 
>> 
>> 
>>> 
>>> Regards,
>>> 
>>> 2016-05-11 4:06 GMT+04:00 OmPrakash Muppirala >> :
>>> 
 I've updated the site.  Thanks for the submission!!
 
 Regards,
 Om
 
 On Tue, May 10, 2016 at 3:39 PM, Fabrice Montfort 
>>> wrote:
 
> Hi Om,
> 
> I've posted a patch.diff file and a ZIP archive with the images
 (FLEX-35088
> ).
> 
> Is there anything else I can do ?
> 
> Regards,
> 
> 2016-05-11 1:04 GMT+04:00 Fabrice Montfort :
> 
>> Hi Om,
>> 
>> Thanks for your quick answer. I'm cloning the git repo. I'll
 make
>> a
 pull
>> request tomorow.
>> 
>> Regards,
>> 
>> 2016-05-10 23:52 GMT+04:00 OmPrakash Muppirala <
>> bigosma...@gmail.com
 :
>> 
>>> Fabrice,
>>> 
>>> Here is a wiki on how to update the site and submit a patch or
 a
>>> pull
>>> request
>>> 
>>> 
> 
 
>>> 
>> 
 
>> https://cwiki.apache.org/confluence/display/FLEX/9.+Updating+the+Flex+Showcase
>>> 
>>> If you follow the steps here, one of the committers can help
>> push it
 out
>>> to
>>> the site.
>>> 
>>> Thanks,
>>> Om
>>> 
>>> On Tue, May 10, 2016 at 5:45 AM, Fabrice Montfort <
>> f...@runware.com>
> wrote:
>>> 
 Hi Guys,
 
 I've created a Jira Task (FLEX-35088
 ) for
>> adding my
 new
>>> app
 on the Apache Flex Showcase page.
 
 Tell me if i can do something more.
 
 Thanks for your excellent work on regular Flex SDK and on
>> FlexJS.
 
 Regards,
 
 --
 *Fabrice Montfort / CTO*
 
 *f...@runware.com *
 
 * *
 Phone : +262 (0)262 28 67 30 / Mobile : +262 (0)692 93 57 10
 13, rue Désiré Barquisseau • 97410 Saint-Pierre • Réunion,
>> France
>>> •
 http://www.runware.fr
 
 CONFIDENTIALITY NOTICE – This electronic message contains
 information
>>> which
 may be confidential. The information is intended for the use
 of
>>> the
 individual or entity identified above. If you are not the
>> intended
 recipient, please be aware that any disclosure, copying,
 distribution
> or
 use of the contents of this message is strictly 

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 Tue, May 17, 2016 at 11:08 AM, Harbs  wrote:

> 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 pull request.  Can you post a link here?
> >
> > On Tue, May 17, 2016 at 7:40 AM, Fabrice Montfort 
> wrote:
> >
> >> 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 Muppirala :
> >>>
>  On Tue, May 10, 2016 at 11:02 PM, Fabrice Montfort 
>  wrote:
> 
> > Hi Om,
> >
> > Thanks a lot. I have 4 other applications to be submitted to the
>  showcase
> > page of Flex and I would like not to disturb you too much. Could you
>  tell
> > me why my GitHub IDs are systematically denied when I try to do a
> pull
> > request ?
> > Did I miss something?
> >
> 
>  Hmm, what are the exact steps you are doing?  There is no valid reason
> >> why
>  your github id should be denied.
> 
>  Thanks,
>  Om
> 
> 
> 
> >
> > Regards,
> >
> > 2016-05-11 4:06 GMT+04:00 OmPrakash Muppirala  >:
> >
> >> I've updated the site.  Thanks for the submission!!
> >>
> >> Regards,
> >> Om
> >>
> >> On Tue, May 10, 2016 at 3:39 PM, Fabrice Montfort 
> > wrote:
> >>
> >>> Hi Om,
> >>>
> >>> I've posted a patch.diff file and a ZIP archive with the images
> >> (FLEX-35088
> >>> ).
> >>>
> >>> Is there anything else I can do ?
> >>>
> >>> Regards,
> >>>
> >>> 2016-05-11 1:04 GMT+04:00 Fabrice Montfort :
> >>>
>  Hi Om,
> 
>  Thanks for your quick answer. I'm cloning the git repo. I'll
> >> make
>  a
> >> pull
>  request tomorow.
> 
>  Regards,
> 
>  2016-05-10 23:52 GMT+04:00 OmPrakash Muppirala <
>  bigosma...@gmail.com
> >> :
> 
> > Fabrice,
> >
> > Here is a wiki on how to update the site and submit a patch or
> >> a
> > pull
> > request
> >
> >
> >>>
> >>
> >
> 
> >>
> https://cwiki.apache.org/confluence/display/FLEX/9.+Updating+the+Flex+Showcase
> >
> > If you follow the steps here, one of the committers can help
>  push it
> >> out
> > to
> > the site.
> >
> > Thanks,
> > Om
> >
> > On Tue, May 10, 2016 at 5:45 AM, Fabrice Montfort <
>  f...@runware.com>
> >>> wrote:
> >
> >> Hi Guys,
> >>
> >> I've created a Jira Task (FLEX-35088
> >> ) for
>  adding my
> >> new
> > app
> >> on the Apache Flex Showcase page.
> >>
> >> Tell me if i can do something more.
> >>
> >> Thanks for your excellent work on regular Flex SDK and on
>  FlexJS.
> >>
> >> Regards,
> >>
> >> --
> >> *Fabrice Montfort / CTO*
> >>
> >> *f...@runware.com *
> >>
> >> * *
> >> Phone : +262 (0)262 28 67 30 / Mobile : +262 (0)692 93 57 10
> >> 13, rue Désiré Barquisseau • 97410 Saint-Pierre • Réunion,
>  France
> > •
> >> http://www.runware.fr
> >>
> >> CONFIDENTIALITY NOTICE – This electronic message contains
> >> information
> > which
> >> may be confidential. The information is intended for the use
> >> of
> > the
> >> individual or entity identified above. If you are not the
>  intended
> >> recipient, please be aware that any disclosure, copying,
> >> distribution
> >>> or
> >> use of the contents of this message is strictly prohibited.
> >> If
>  you
> > receive
> >> this transmission in error, please notify the sender and
> >> delete
> > the
> >>> copy
> >> you received.
> >>
> >
> 
> 

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 you might 
not way to have. I guess the manifests are solely used by the mxml compiler.

I guess I shouldn't break anything, if I pack in the manifests in swcs built by 
Maven. So I'll give that a try.

I also wasn't suggesting to remove anything, just adding something to the swcs 
and was hoping for confirmation of my observation ... I know we will have to 
live with the ancient flash builder for the next 100 years and we shouldn't 
change anything here ;-)

Chris





Von meinem Samsung Galaxy Smartphone gesendet.


 Ursprüngliche Nachricht 
Von: Alex Harui 
Datum: 17.05.16 18:17 (GMT+01:00)
An: dev@flex.apache.org
Betreff: Re: [DISCUSS] Handling of namespaces and xml

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 in it.  It may not be
necessary to bundle the -manifest.xml file at all.  IMO, the -manifest.xml
might be used to build the SWC, but to consume the SWC, I'm not sure the
-manifest.xml should have to be required.

2) Getting rid of the -manifest.xml files.  I would be concerned that some
IDE is counting on them, so I'm not sure if we can truly get rid of them,
but as in #1, I don't see why we can't make the compiler use information
in the swc.

3) Making the .xml files have a schema.  No objection here unless it has
backward compatibility impact on the IDEs.

4) Having to look for flex-config.xml at all.  IMO, the flex-config.xml
defines a set of defaults for that version of the SDK.  If we add a new
flag, the default value goes in there.  Are you saying that as long as you
have a way to do that for Maven, you could skip looking for flex-config
since everything else in it (default libraries) should be otherwise
specified in the pom?

Thanks,
-Alex

On 5/17/16, 7:11 AM, "Christofer Dutz"  wrote:

>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 elements in which - sometimes multiple -
>manifest files are assigned to one and the same namespace uri. I would
>interpret this as the compiler creating a map for each namespace uri and
>adding the classes defined in each of the manifests to these maps. This
>is probably why the namespace "library://ns.apache.org/flexjs/basic"
>contains classes of multiple SWC modules.
>
>
>The downside is now that I always have to reference the framework
>directory in order for the compiler to find the flex-config and hereby
>find the definitions of all classes in the SDK. With maven Flexmojos used
>to trick the compiler by packing up all these files in a zip and
>deploying that. When using it, this zip was unpacked and the compiler
>used this unpacked directory.
>
>
>For me this seems rather ugly and hacky. I would like to propose a little
>change, that should not affect any of the old SDKs or the Ant build.
>
>
>The manifests are xml files, we could add a targetNamepsace attribute to
>the root-element. Next we could pack the manifest xml files inside the
>SWCs (eventually inside a "manifests" directory) this would make a SWC
>self contained. It would allow the library developer to define which
>classes he wants to expose using which namespace. The ideal solution
>would be that the compiler knows about this and looks in the SWCs for
>these definitions. I would however also assume this would involve some
>tweaking of the compiler. The other option would be that I generate one
>unified manifest-xml for each namespace referenced in the classpath in
>the target directory and pass that to the compiler.
>
>
>While we are at it, I would also propose defining XML Schemas for each of
>the Xml formats we use and to reference these in the files, this allows
>automatic validation of xml content in the IDE.
>
>
>What do you think?
>
>
>Chris



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 pull request.  Can you post a link here?
> 
> On Tue, May 17, 2016 at 7:40 AM, Fabrice Montfort  wrote:
> 
>> 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 Muppirala :
>>> 
 On Tue, May 10, 2016 at 11:02 PM, Fabrice Montfort 
 wrote:
 
> Hi Om,
> 
> Thanks a lot. I have 4 other applications to be submitted to the
 showcase
> page of Flex and I would like not to disturb you too much. Could you
 tell
> me why my GitHub IDs are systematically denied when I try to do a pull
> request ?
> Did I miss something?
> 
 
 Hmm, what are the exact steps you are doing?  There is no valid reason
>> why
 your github id should be denied.
 
 Thanks,
 Om
 
 
 
> 
> Regards,
> 
> 2016-05-11 4:06 GMT+04:00 OmPrakash Muppirala :
> 
>> I've updated the site.  Thanks for the submission!!
>> 
>> Regards,
>> Om
>> 
>> On Tue, May 10, 2016 at 3:39 PM, Fabrice Montfort 
> wrote:
>> 
>>> Hi Om,
>>> 
>>> I've posted a patch.diff file and a ZIP archive with the images
>> (FLEX-35088
>>> ).
>>> 
>>> Is there anything else I can do ?
>>> 
>>> Regards,
>>> 
>>> 2016-05-11 1:04 GMT+04:00 Fabrice Montfort :
>>> 
 Hi Om,
 
 Thanks for your quick answer. I'm cloning the git repo. I'll
>> make
 a
>> pull
 request tomorow.
 
 Regards,
 
 2016-05-10 23:52 GMT+04:00 OmPrakash Muppirala <
 bigosma...@gmail.com
>> :
 
> Fabrice,
> 
> Here is a wiki on how to update the site and submit a patch or
>> a
> pull
> request
> 
> 
>>> 
>> 
> 
 
>> https://cwiki.apache.org/confluence/display/FLEX/9.+Updating+the+Flex+Showcase
> 
> If you follow the steps here, one of the committers can help
 push it
>> out
> to
> the site.
> 
> Thanks,
> Om
> 
> On Tue, May 10, 2016 at 5:45 AM, Fabrice Montfort <
 f...@runware.com>
>>> wrote:
> 
>> Hi Guys,
>> 
>> I've created a Jira Task (FLEX-35088
>> ) for
 adding my
>> new
> app
>> on the Apache Flex Showcase page.
>> 
>> Tell me if i can do something more.
>> 
>> Thanks for your excellent work on regular Flex SDK and on
 FlexJS.
>> 
>> Regards,
>> 
>> --
>> *Fabrice Montfort / CTO*
>> 
>> *f...@runware.com *
>> 
>> * *
>> Phone : +262 (0)262 28 67 30 / Mobile : +262 (0)692 93 57 10
>> 13, rue Désiré Barquisseau • 97410 Saint-Pierre • Réunion,
 France
> •
>> http://www.runware.fr
>> 
>> CONFIDENTIALITY NOTICE – This electronic message contains
>> information
> which
>> may be confidential. The information is intended for the use
>> of
> the
>> individual or entity identified above. If you are not the
 intended
>> recipient, please be aware that any disclosure, copying,
>> distribution
>>> or
>> use of the contents of this message is strictly prohibited.
>> If
 you
> receive
>> this transmission in error, please notify the sender and
>> delete
> the
>>> copy
>> you received.
>> 
> 
 
 
 
 --
 *Fabrice Montfort / CTO*
 
 *f...@runware.com *
 
 * *
 Phone : +262 (0)262 28 67 30 / Mobile : +262 (0)692 93 57 10
 13, rue Désiré Barquisseau • 97410 Saint-Pierre • Réunion,
>> France
 •
 http://www.runware.fr
 
 *Nos applications :*
    
    
 
 
 CONFIDENTIALITY NOTICE – This electronic message contains
 

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 in it.  It may not be
necessary to bundle the -manifest.xml file at all.  IMO, the -manifest.xml
might be used to build the SWC, but to consume the SWC, I'm not sure the
-manifest.xml should have to be required.

2) Getting rid of the -manifest.xml files.  I would be concerned that some
IDE is counting on them, so I'm not sure if we can truly get rid of them,
but as in #1, I don't see why we can't make the compiler use information
in the swc.

3) Making the .xml files have a schema.  No objection here unless it has
backward compatibility impact on the IDEs.

4) Having to look for flex-config.xml at all.  IMO, the flex-config.xml
defines a set of defaults for that version of the SDK.  If we add a new
flag, the default value goes in there.  Are you saying that as long as you
have a way to do that for Maven, you could skip looking for flex-config
since everything else in it (default libraries) should be otherwise
specified in the pom?

Thanks,
-Alex

On 5/17/16, 7:11 AM, "Christofer Dutz"  wrote:

>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 elements in which - sometimes multiple -
>manifest files are assigned to one and the same namespace uri. I would
>interpret this as the compiler creating a map for each namespace uri and
>adding the classes defined in each of the manifests to these maps. This
>is probably why the namespace "library://ns.apache.org/flexjs/basic"
>contains classes of multiple SWC modules.
>
>
>The downside is now that I always have to reference the framework
>directory in order for the compiler to find the flex-config and hereby
>find the definitions of all classes in the SDK. With maven Flexmojos used
>to trick the compiler by packing up all these files in a zip and
>deploying that. When using it, this zip was unpacked and the compiler
>used this unpacked directory.
>
>
>For me this seems rather ugly and hacky. I would like to propose a little
>change, that should not affect any of the old SDKs or the Ant build.
>
>
>The manifests are xml files, we could add a targetNamepsace attribute to
>the root-element. Next we could pack the manifest xml files inside the
>SWCs (eventually inside a "manifests" directory) this would make a SWC
>self contained. It would allow the library developer to define which
>classes he wants to expose using which namespace. The ideal solution
>would be that the compiler knows about this and looks in the SWCs for
>these definitions. I would however also assume this would involve some
>tweaking of the compiler. The other option would be that I generate one
>unified manifest-xml for each namespace referenced in the classpath in
>the target directory and pass that to the compiler.
>
>
>While we are at it, I would also propose defining XML Schemas for each of
>the Xml formats we use and to reference these in the files, this allows
>automatic validation of xml content in the IDE.
>
>
>What do you think?
>
>
>Chris



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 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
> flex-config.xml and air-config.xml.  We probably should have js-config.xml
> and jquery-config.xml (and others).
>
> -Alex
>
> [1] http://bugs.powerflasher.com/jira/browse/FDT-3661
>
> On 5/17/16, 7:58 AM, "Harbs"  wrote:
>
> >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 definition.
> >
> >On May 17, 2016, at 5:55 PM, Josh Tynjala  wrote:
> >
> >> 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 FDT. Has
> >>> anyone managed to do so yet?
> >>>
> >>> Harbs
> >
>
>


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
>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
>Dist/FlexJS Nightly/frameworks
>  --compiler.debug=true
>  --debug-password=
>  --compiler.source-path+=
>/Users/harbs/Documents/FDT/workspace/TreeTest/src
>  --compiler.library-path+=
>/Users/harbs/Documents/Apache Flex
>Dist/FlexJS 
>Nightly/frameworks/libs/player/14.0/playerglobal.swc,
>/Users/harbs/Documents/Apache Flex
>Dist/FlexJS 
>Nightly/frameworks/libs/Binding.swc,
>/Users/harbs/Documents/Apache Flex
>Dist/FlexJS 
>Nightly/frameworks/libs/Charts.swc,
>/Users/harbs/Documents/Apache Flex
>Dist/FlexJS 
>Nightly/frameworks/libs/Collections.swc,
>/Users/harbs/Documents/Apache Flex
>Dist/FlexJS 
>Nightly/frameworks/libs/Core.swc,
>/Users/harbs/Documents/Apache Flex
>Dist/FlexJS 
>Nightly/frameworks/libs/DragDrop.swc,
>/Users/harbs/Documents/Apache Flex
>Dist/FlexJS 
>Nightly/frameworks/libs/Effects.swc,
>/Users/harbs/Documents/Apache Flex
>Dist/FlexJS 
>Nightly/frameworks/libs/Flat.swc,
>/Users/harbs/Documents/Apache Flex
>Dist/FlexJS 
>Nightly/frameworks/libs/Formatters.swc,
>/Users/harbs/Documents/Apache Flex
>Dist/FlexJS 
>Nightly/frameworks/libs/Graphics.swc,
>/Users/harbs/Documents/Apache Flex
>Dist/FlexJS 
>Nightly/frameworks/libs/HTML.swc,
>/Users/harbs/Documents/Apache Flex
>Dist/FlexJS 
>Nightly/frameworks/libs/HTML5.swc,
>/Users/harbs/Documents/Apache Flex
>Dist/FlexJS 
>Nightly/frameworks/libs/Network.swc,
>/Users/harbs/Documents/Apache Flex
>Dist/FlexJS 
>Nightly/frameworks/libs/Reflection.swc,
>/Users/harbs/Documents/Apache Flex
>Dist/FlexJS 
>Nightly/frameworks/libs/Storage.swc,
>/Users/harbs/Documents/Apache Flex
>Dist/FlexJS 
>Nightly/frameworks/libs/XML.swc
>  -js-output-type=FlexJS
>  -compiler.mxml.children-as-data=true
>  -compiler.binding-value-change-event=
>org.apache.flex.events.ValueChangeEvent
>  -compiler.binding-value-change-event-kind=
>org.apache.flex.events.ValueChangeEvent
>  -compiler.binding-value-change-event-type=
>valueChange
>  -target-player=14.0
>  -define=CONFIG::AUTHOR,"harbs"
>  -define=CONFIG::DEBUG,true
>  -static-link-runtime-shared-libraries=
>true
>  -- 
>/Users/harbs/Documents/FDT/workspace/TreeTest/src/TreeTest.mxml
>
>ERROR Unknown configuration variable 'js-output-type'.
>
>Pure build time: 48 ms.
>Could not create file
>/Users/harbs/Documents/FDT/workspace/TreeTest/bin/TreeTest.swf.
>Build failed.
>
>On May 17, 2016, at 6:09 PM, Alex Harui  wrote:
>
>> 
>> 
>> 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
>>> 
>>> 
>>> -compiler.binding-value-change-event=org.apache.flex.events.
>>>Va
>>> lueChangeEvent
>>> 
>>> 
>>> -compiler.binding-value-change-event-kind=org.apache.flex.ev
>>>en
>>> ts.ValueChangeEvent
>>> 
>>> 
>>> -compiler.binding-value-change-event-type=valueChange>>en
>>> t>
>>> -target-player={playerVersion}
>>> 
>>> 
>>> There’s quite a few other arguments defined in the ant scripts (and
>>> different ones for the different targets). I’m also not quite sure how
>>>to
>>> specify different arguments for debug and release builds.
>>> 
>>> What’s the bare minimum needed in terms of arguments to get it to
>>> properly compile?
>> 
>> Well, that depends on how they launch the compiler.  If they launch our
>> launch scripts, they shouldn't need to specify anything.  If they launch
>> mxmlc.jar and pass in regular command-line options and it picks up our
>> flex-config.xml, they also shouldn't need to specify anything.  Do you
>>get
>> console output when they compile?  Usually the compiler tells you which
>> -config.xml files it is using.
>> 
>> -Alex
>



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 
Dist/FlexJS Nightly/frameworks
  --compiler.debug=true
  --debug-password=
  --compiler.source-path+=
/Users/harbs/Documents/FDT/workspace/TreeTest/src
  --compiler.library-path+=
/Users/harbs/Documents/Apache Flex 
Dist/FlexJS 
Nightly/frameworks/libs/player/14.0/playerglobal.swc,
/Users/harbs/Documents/Apache Flex 
Dist/FlexJS 
Nightly/frameworks/libs/Binding.swc,
/Users/harbs/Documents/Apache Flex 
Dist/FlexJS 
Nightly/frameworks/libs/Charts.swc,
/Users/harbs/Documents/Apache Flex 
Dist/FlexJS 
Nightly/frameworks/libs/Collections.swc,
/Users/harbs/Documents/Apache Flex 
Dist/FlexJS 
Nightly/frameworks/libs/Core.swc,
/Users/harbs/Documents/Apache Flex 
Dist/FlexJS 
Nightly/frameworks/libs/DragDrop.swc,
/Users/harbs/Documents/Apache Flex 
Dist/FlexJS 
Nightly/frameworks/libs/Effects.swc,
/Users/harbs/Documents/Apache Flex 
Dist/FlexJS 
Nightly/frameworks/libs/Flat.swc,
/Users/harbs/Documents/Apache Flex 
Dist/FlexJS 
Nightly/frameworks/libs/Formatters.swc,
/Users/harbs/Documents/Apache Flex 
Dist/FlexJS 
Nightly/frameworks/libs/Graphics.swc,
/Users/harbs/Documents/Apache Flex 
Dist/FlexJS 
Nightly/frameworks/libs/HTML.swc,
/Users/harbs/Documents/Apache Flex 
Dist/FlexJS 
Nightly/frameworks/libs/HTML5.swc,
/Users/harbs/Documents/Apache Flex 
Dist/FlexJS 
Nightly/frameworks/libs/Network.swc,
/Users/harbs/Documents/Apache Flex 
Dist/FlexJS 
Nightly/frameworks/libs/Reflection.swc,
/Users/harbs/Documents/Apache Flex 
Dist/FlexJS 
Nightly/frameworks/libs/Storage.swc,
/Users/harbs/Documents/Apache Flex 
Dist/FlexJS 
Nightly/frameworks/libs/XML.swc
  -js-output-type=FlexJS
  -compiler.mxml.children-as-data=true
  -compiler.binding-value-change-event=
org.apache.flex.events.ValueChangeEvent
  -compiler.binding-value-change-event-kind=
org.apache.flex.events.ValueChangeEvent
  -compiler.binding-value-change-event-type=
valueChange
  -target-player=14.0
  -define=CONFIG::AUTHOR,"harbs"
  -define=CONFIG::DEBUG,true
  -static-link-runtime-shared-libraries=
true
  -- 
/Users/harbs/Documents/FDT/workspace/TreeTest/src/TreeTest.mxml

ERROR Unknown configuration variable 'js-output-type'.

Pure build time: 48 ms. 
Could not create file 
/Users/harbs/Documents/FDT/workspace/TreeTest/bin/TreeTest.swf.
Build failed.

On May 17, 2016, at 6:09 PM, Alex Harui  wrote:

> 
> 
> 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
>>  
>> -compiler.binding-value-change-event=org.apache.flex.events.Va
>> lueChangeEvent
>>  
>> -compiler.binding-value-change-event-kind=org.apache.flex.even
>> ts.ValueChangeEvent
>>  
>> -compiler.binding-value-change-event-type=valueChange> t>
>>  -target-player={playerVersion}
>>  
>> 
>> There’s quite a few other arguments defined in the ant scripts (and
>> different ones for the different targets). I’m also not quite sure how to
>> specify different arguments for debug and release builds.
>> 
>> What’s the bare minimum needed in terms of arguments to get it to
>> properly compile?
> 
> Well, that depends on how they launch the compiler.  If they launch our
> launch scripts, they shouldn't need to specify anything.  If they launch
> mxmlc.jar and pass in regular command-line options and it picks up our
> flex-config.xml, they also shouldn't need to specify anything.  Do you get
> console output when they compile?  Usually the compiler tells you which
> -config.xml files it is using.
> 
> -Alex



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 like this?

var val:Number = parseInt(value,10);
return isNaN(val) ? 0 : Math.abs(val);

On May 17, 2016, at 6:13 PM, Alex Harui  wrote:

> 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.  Does JS parseInt
> handle non-Strings?  Otherwise _int() would probably need some typeof
> tests to determine whether to truncate or call parseint.
> 
> -Alex
> 
> 
> 
> On 5/17/16, 7:53 AM, "Josh Tynjala"  wrote:
> 
>> 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 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 parseInt()?
 
 Currently the compiler calls Language._int(), but the code in there
 doesn't call parseInt.  Should it?
 
 -Alex
 
 
 __
 This email has been scanned by the Symantec Email Security.cloud
 service.
 For more information please visit http://www.symanteccloud.com
 __
>>> 
>>> --
>>> Tom Chiverton
>>> Sent from my phone. Please excuse my brevity.
> 



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:
>
>> 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 it is a library project which is included in AIR
>>desktop
>> >and AIR mobile. Both AIR mobile simulator and desktop show the issue.
>>I'll
>> >try to find some time on monday to create a reproducable scenario and
>>file
>> >a JIRA bug. Good to know that it is not an intended change as you
>>noted.
>> >
>> >On Sat, May 14, 2016 at 2:47 AM, Alex Harui  wrote:
>> >
>> >>
>> >>
>> >> On 5/13/16, 5:41 PM, "Fréderic Cox"  wrote:
>> >>
>> >> >It is a bit of a guess but I'd say from 13 to 26. I fixed it by
>>setting
>> >> >s|TextInput to fontSize:13 in my CSS. Just found it odd that the
>> >>default
>> >> >has changed and I can't find any references about that in release
>>note
>> >> >(maybe I'm overlooking it). If nobody else reported this I think
>>it's
>> >>not
>> >> >that big of a problem.
>> >>
>> >> I'm unaware of any such change to the SDK.  Is this a web app, air
>> >> desktop, or air mobile app?
>> >>
>> >> -Alex
>> >>
>> >>
>>
>>



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.  Does JS parseInt
handle non-Strings?  Otherwise _int() would probably need some typeof
tests to determine whether to truncate or call parseint.

-Alex



On 5/17/16, 7:53 AM, "Josh Tynjala"  wrote:

>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 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 parseInt()?
>> >
>> >Currently the compiler calls Language._int(), but the code in there
>> >doesn't call parseInt.  Should it?
>> >
>> >-Alex
>> >
>> >
>> >__
>> >This email has been scanned by the Symantec Email Security.cloud
>> >service.
>> >For more information please visit http://www.symanteccloud.com
>> >__
>>
>> --
>> Tom Chiverton
>> Sent from my phone. Please excuse my brevity.



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
>   
> -compiler.binding-value-change-event=org.apache.flex.events.Va
>lueChangeEvent
>   
> -compiler.binding-value-change-event-kind=org.apache.flex.even
>ts.ValueChangeEvent
>   
> -compiler.binding-value-change-event-type=valueChanget>
>   -target-player={playerVersion}
>   
>
>There’s quite a few other arguments defined in the ant scripts (and
>different ones for the different targets). I’m also not quite sure how to
>specify different arguments for debug and release builds.
>
>What’s the bare minimum needed in terms of arguments to get it to
>properly compile?

Well, that depends on how they launch the compiler.  If they launch our
launch scripts, they shouldn't need to specify anything.  If they launch
mxmlc.jar and pass in regular command-line options and it picks up our
flex-config.xml, they also shouldn't need to specify anything.  Do you get
console output when they compile?  Usually the compiler tells you which
-config.xml files it is using.

-Alex



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
flex-config.xml and air-config.xml.  We probably should have js-config.xml
and jquery-config.xml (and others).

-Alex

[1] http://bugs.powerflasher.com/jira/browse/FDT-3661

On 5/17/16, 7:58 AM, "Harbs"  wrote:

>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 definition.
>
>On May 17, 2016, at 5:55 PM, Josh Tynjala  wrote:
>
>> 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 FDT. Has
>>> anyone managed to do so yet?
>>> 
>>> Harbs
>



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

-compiler.binding-value-change-event-kind=org.apache.flex.events.ValueChangeEvent

-compiler.binding-value-change-event-type=valueChange
-target-player={playerVersion}


There’s quite a few other arguments defined in the ant scripts (and different 
ones for the different targets). I’m also not quite sure how to specify 
different arguments for debug and release builds.

What’s the bare minimum needed in terms of arguments to get it to properly 
compile?

On May 17, 2016, at 5:58 PM, Harbs  wrote:

> 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 definition.
> 
> On May 17, 2016, at 5:55 PM, Josh Tynjala  wrote:
> 
>> 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 FDT. Has
>>> anyone managed to do so yet?
>>> 
>>> Harbs
> 



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 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 parseInt()?
> >
> >Currently the compiler calls Language._int(), but the code in there
> >doesn't call parseInt.  Should it?
> >
> >-Alex
> >
> >
> >__
> >This email has been scanned by the Symantec Email Security.cloud
> >service.
> >For more information please visit http://www.symanteccloud.com
> >__
>
> --
> Tom Chiverton
> Sent from my phone. Please excuse my brevity.


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 definition.

On May 17, 2016, at 5:55 PM, Josh Tynjala  wrote:

> 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 FDT. Has
>> anyone managed to do so yet?
>> 
>> Harbs



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 FDT. Has
> anyone managed to do so yet?
>
> Harbs


[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 Muppirala :
>
>> On Tue, May 10, 2016 at 11:02 PM, Fabrice Montfort 
>> wrote:
>>
>> > Hi Om,
>> >
>> > Thanks a lot. I have 4 other applications to be submitted to the
>> showcase
>> > page of Flex and I would like not to disturb you too much. Could you
>> tell
>> > me why my GitHub IDs are systematically denied when I try to do a pull
>> > request ?
>> > Did I miss something?
>> >
>>
>> Hmm, what are the exact steps you are doing?  There is no valid reason why
>> your github id should be denied.
>>
>> Thanks,
>> Om
>>
>>
>>
>> >
>> > Regards,
>> >
>> > 2016-05-11 4:06 GMT+04:00 OmPrakash Muppirala :
>> >
>> > > I've updated the site.  Thanks for the submission!!
>> > >
>> > > Regards,
>> > > Om
>> > >
>> > > On Tue, May 10, 2016 at 3:39 PM, Fabrice Montfort 
>> > wrote:
>> > >
>> > > > Hi Om,
>> > > >
>> > > > I've posted a patch.diff file and a ZIP archive with the images
>> > > (FLEX-35088
>> > > > ).
>> > > >
>> > > > Is there anything else I can do ?
>> > > >
>> > > > Regards,
>> > > >
>> > > > 2016-05-11 1:04 GMT+04:00 Fabrice Montfort :
>> > > >
>> > > > > Hi Om,
>> > > > >
>> > > > > Thanks for your quick answer. I'm cloning the git repo. I'll make
>> a
>> > > pull
>> > > > > request tomorow.
>> > > > >
>> > > > > Regards,
>> > > > >
>> > > > > 2016-05-10 23:52 GMT+04:00 OmPrakash Muppirala <
>> bigosma...@gmail.com
>> > >:
>> > > > >
>> > > > >> Fabrice,
>> > > > >>
>> > > > >> Here is a wiki on how to update the site and submit a patch or a
>> > pull
>> > > > >> request
>> > > > >>
>> > > > >>
>> > > >
>> > >
>> >
>> https://cwiki.apache.org/confluence/display/FLEX/9.+Updating+the+Flex+Showcase
>> > > > >>
>> > > > >> If you follow the steps here, one of the committers can help
>> push it
>> > > out
>> > > > >> to
>> > > > >> the site.
>> > > > >>
>> > > > >> Thanks,
>> > > > >> Om
>> > > > >>
>> > > > >> On Tue, May 10, 2016 at 5:45 AM, Fabrice Montfort <
>> f...@runware.com>
>> > > > wrote:
>> > > > >>
>> > > > >> > Hi Guys,
>> > > > >> >
>> > > > >> > I've created a Jira Task (FLEX-35088
>> > > > >> > ) for
>> adding my
>> > > new
>> > > > >> app
>> > > > >> > on the Apache Flex Showcase page.
>> > > > >> >
>> > > > >> > Tell me if i can do something more.
>> > > > >> >
>> > > > >> > Thanks for your excellent work on regular Flex SDK and on
>> FlexJS.
>> > > > >> >
>> > > > >> > Regards,
>> > > > >> >
>> > > > >> > --
>> > > > >> > *Fabrice Montfort / CTO*
>> > > > >> >
>> > > > >> > *f...@runware.com *
>> > > > >> >
>> > > > >> > * *
>> > > > >> > Phone : +262 (0)262 28 67 30 / Mobile : +262 (0)692 93 57 10
>> > > > >> > 13, rue Désiré Barquisseau • 97410 Saint-Pierre • Réunion,
>> France
>> > •
>> > > > >> > http://www.runware.fr
>> > > > >> >
>> > > > >> > CONFIDENTIALITY NOTICE – This electronic message contains
>> > > information
>> > > > >> which
>> > > > >> > may be confidential. The information is intended for the use of
>> > the
>> > > > >> > individual or entity identified above. If you are not the
>> intended
>> > > > >> > recipient, please be aware that any disclosure, copying,
>> > > distribution
>> > > > or
>> > > > >> > use of the contents of this message is strictly prohibited. If
>> you
>> > > > >> receive
>> > > > >> > this transmission in error, please notify the sender and delete
>> > the
>> > > > copy
>> > > > >> > you received.
>> > > > >> >
>> > > > >>
>> > > > >
>> > > > >
>> > > > >
>> > > > > --
>> > > > > *Fabrice Montfort / CTO*
>> > > > >
>> > > > > *f...@runware.com *
>> > > > >
>> > > > > * *
>> > > > > Phone : +262 (0)262 28 67 30 / Mobile : +262 (0)692 93 57 10
>> > > > > 13, rue Désiré Barquisseau • 97410 Saint-Pierre • Réunion, France
>> •
>> > > > > http://www.runware.fr
>> > > > >
>> > > > > *Nos applications :*
>> > > > >    
>> > > > >    
>> > > > > 
>> > > > >
>> > > > > CONFIDENTIALITY NOTICE – This electronic message contains
>> information
>> > > > > which may be confidential. The information is intended for the
>> use of
>> > > the
>> > > > > individual or entity identified above. If you are not the intended
>> > > > > recipient, please be aware that any disclosure, copying,
>> distribution
>> > > or
>> > > > > use of the contents of this message is strictly prohibited. If you
>> > > > receive
>> > > > > this transmission in error, please notify 

[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 elements in which - sometimes multiple - manifest files are 
assigned to one and the same namespace uri. I would interpret this as the 
compiler creating a map for each namespace uri and adding the classes defined 
in each of the manifests to these maps. This is probably why the namespace 
"library://ns.apache.org/flexjs/basic" contains classes of multiple SWC modules.


The downside is now that I always have to reference the framework directory in 
order for the compiler to find the flex-config and hereby find the definitions 
of all classes in the SDK. With maven Flexmojos used to trick the compiler by 
packing up all these files in a zip and deploying that. When using it, this zip 
was unpacked and the compiler used this unpacked directory.


For me this seems rather ugly and hacky. I would like to propose a little 
change, that should not affect any of the old SDKs or the Ant build.


The manifests are xml files, we could add a targetNamepsace attribute to the 
root-element. Next we could pack the manifest xml files inside the SWCs 
(eventually inside a "manifests" directory) this would make a SWC self 
contained. It would allow the library developer to define which classes he 
wants to expose using which namespace. The ideal solution would be that the 
compiler knows about this and looks in the SWCs for these definitions. I would 
however also assume this would involve some tweaking of the compiler. The other 
option would be that I generate one unified manifest-xml for each namespace 
referenced in the classpath in the target directory and pass that to the 
compiler.


While we are at it, I would also propose defining XML Schemas for each of the 
Xml formats we use and to reference these in the files, this allows automatic 
validation of xml content in the IDE.


What do you think?


Chris


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 it is a library project which is included in AIR desktop
> >and AIR mobile. Both AIR mobile simulator and desktop show the issue. I'll
> >try to find some time on monday to create a reproducable scenario and file
> >a JIRA bug. Good to know that it is not an intended change as you noted.
> >
> >On Sat, May 14, 2016 at 2:47 AM, Alex Harui  wrote:
> >
> >>
> >>
> >> On 5/13/16, 5:41 PM, "Fréderic Cox"  wrote:
> >>
> >> >It is a bit of a guess but I'd say from 13 to 26. I fixed it by setting
> >> >s|TextInput to fontSize:13 in my CSS. Just found it odd that the
> >>default
> >> >has changed and I can't find any references about that in release note
> >> >(maybe I'm overlooking it). If nobody else reported this I think it's
> >>not
> >> >that big of a problem.
> >>
> >> I'm unaware of any such change to the SDK.  Is this a web app, air
> >> desktop, or air mobile app?
> >>
> >> -Alex
> >>
> >>
>
>


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 but that shouldn't be 
that hard. After all it should be possible to run an Ant build from a Unit test 
by using something System.exec and to setup the Ant environment in the test 
initialization.

I need this sort of stuff for the Maven plugin too ... I will create a 
Test-Suite here to ensure proper functionality. But currently the 
flexjs-maven-plugin is by far from being something usable, it's nothing else 
than a POC. The full-blown Maven plugin will be moved and mature as part of the 
flex-maven-plugin sub-project.

Chris

Von: Alex Harui 
Gesendet: Dienstag, 17. Mai 2016 08:15:50
An: dev@flex.apache.org
Betreff: Re: [FalconJX][FlexJS][Maven] Antrun plugin

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 that,
>because I never use that plugin. So I guess finally the one plugin I was
>warning people so much about for so many years will become extinct soon
>;-)
>

Thanks for the heads up.  It just occurred to me to ask:  how does Maven
test the Ant flextasks.jar that the build produces?  The Ant-based build
script loads the tasks and has it compiles a simple file.

-Alex



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 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 parseInt()?
>> 
>> Currently the compiler calls Language._int(), but the code in there
>> doesn't call parseInt.  Should it?
>> 
>> -Alex
>> 
>> 
>> __
>> This email has been scanned by the Symantec Email Security.cloud
>> service.
>> For more information please visit http://www.symanteccloud.com
>> __
> 
> -- 
> Tom Chiverton 
> Sent from my phone. Please excuse my brevity.



[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 separators between the style
values wich is not allowed for all style properties:

MXML code:
box-shadow: 5px 5px 5px #888;

Transpiled code (Doesn't work cause of the commas):
box-shadow : 5px, 5px, 5px, #888; 

JIRA:
https://issues.apache.org/jira/browse/FLEX-35091?jql=project%20%3D%20FLEX

I've just take a look at the asjs source code but it's hard for me to find
out how it works.
Does anybody know how this could be fixed?
For me it seems that the compiler has to distinguish between 'comma
separated style values' and 'whitespace separated style values', depending
on the style property. 
Is this the way the compiler already works or add it always commas as
seperators?

Maybe this has something to do with the issue?
https://github.com/apache/flex-asjs/blob/5980d00d732dcf9d74e76a14ab4f6f18c2541d69/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleValuesImpl.as#L162

Thanks,
Olaf






--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Styles-Compiler-wrongly-adds-commas-as-separators-between-values-tp53094.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


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 parseInt()?
>
>Currently the compiler calls Language._int(), but the code in there
>doesn't call parseInt.  Should it?
>
>-Alex
>
>
>__
>This email has been scanned by the Symantec Email Security.cloud
>service.
>For more information please visit http://www.symanteccloud.com
>__

-- 
Tom Chiverton 
Sent from my phone. Please excuse my brevity. 

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 that,
>because I never use that plugin. So I guess finally the one plugin I was
>warning people so much about for so many years will become extinct soon
>;-)
>

Thanks for the heads up.  It just occurred to me to ask:  how does Maven
test the Ant flextasks.jar that the build produces?  The Ant-based build
script loads the tasks and has it compiles a simple file.

-Alex