You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Erik de Bruin <er...@ixsoftware.nl> on 2013/09/12 17:06:29 UTC
[Falcon] compiling all framework SWCs
Hi,
After playing around with the command line arguments a bit, I was able
to compile nearly all framework SWCs using the Falcon compiler! Only
'spark' and 'experimental' don't compile and it looks like that has
mostly the same problems as 'spark', so I think we can safely say that
we're only the compilation of one SWC away from switching to Falcon
;-)
Some of the errors I get are:
- "not adding bindable variable trait for labelDisplay in Qname:
Label::{PackageNs:"spark.components"}"
- "Error: Could not find source for class
mx.rpc.remoting.mxml.Operation in namespace
library://ns.adobe.com/flex/spark"
- "Error: Ambiguous reference to TextInput" in MXFTETextInput on line
68 (which I think is the root cause for a ton of other errors that
follow)
- "Error: Call to a possibly undefined method Event."
- "Error: Access of possibly undefined property embeddedFontContext
through a reference with static type IStyleClient." for a var that's
referenced via mx_internal
- fun one: several vars of type uint that are initialised with the value -1 ;-)
- and the big scary one: "Error: Internal error in ABC generator
subsystem, when generating code for:
/Users/erik/Documents/ApacheFlex/git/flex-sdk/frameworks/projects/spark/src/spark/utils/TextFlowUtil.as:
java.lang.NullPointerException"
I'll look into some of these in the days to follow, but I encourage
everyone to take a look and see if you can figure some of them out.
And don't steal my "uint" fixes :-P
EdB
--
Ix Multimedia Software
Jan Luykenstraat 27
3521 VB Utrecht
T. 06-51952295
I. www.ixsoftware.nl
Re: [Falcon] compiling all framework SWCs
Posted by Erik de Bruin <er...@ixsoftware.nl>.
Ok, I'll take a look at those issues tonight, close the ones that can
be closed, comment on some and resolve some. Let's see what we have
left tomorrow ;-)
EdB
On Thu, Sep 12, 2013 at 5:16 PM, Cyrill Zadra <cy...@gmail.com> wrote:
> Hi Erik
>
> Some of them are already raised as JIRA [1].
>
> regards
> Cyrill
>
> [1]
> https://issues.apache.org/jira/issues/?jql=project%20%3D%20FLEX%20AND%20component%20%3D%20Falcon%20AND%20status%20%3D%20Open%20ORDER%20BY%20priority%20DESC
>
>
> On Thu, Sep 12, 2013 at 5:06 PM, Erik de Bruin <er...@ixsoftware.nl> wrote:
>
>> Hi,
>>
>> After playing around with the command line arguments a bit, I was able
>> to compile nearly all framework SWCs using the Falcon compiler! Only
>> 'spark' and 'experimental' don't compile and it looks like that has
>> mostly the same problems as 'spark', so I think we can safely say that
>> we're only the compilation of one SWC away from switching to Falcon
>> ;-)
>>
>> Some of the errors I get are:
>>
>> - "not adding bindable variable trait for labelDisplay in Qname:
>> Label::{PackageNs:"spark.components"}"
>> - "Error: Could not find source for class
>> mx.rpc.remoting.mxml.Operation in namespace
>> library://ns.adobe.com/flex/spark"
>> - "Error: Ambiguous reference to TextInput" in MXFTETextInput on line
>> 68 (which I think is the root cause for a ton of other errors that
>> follow)
>> - "Error: Call to a possibly undefined method Event."
>> - "Error: Access of possibly undefined property embeddedFontContext
>> through a reference with static type IStyleClient." for a var that's
>> referenced via mx_internal
>> - fun one: several vars of type uint that are initialised with the value
>> -1 ;-)
>> - and the big scary one: "Error: Internal error in ABC generator
>> subsystem, when generating code for:
>>
>> /Users/erik/Documents/ApacheFlex/git/flex-sdk/frameworks/projects/spark/src/spark/utils/TextFlowUtil.as:
>> java.lang.NullPointerException"
>>
>> I'll look into some of these in the days to follow, but I encourage
>> everyone to take a look and see if you can figure some of them out.
>> And don't steal my "uint" fixes :-P
>>
>> EdB
>>
>>
>>
>> --
>> Ix Multimedia Software
>>
>> Jan Luykenstraat 27
>> 3521 VB Utrecht
>>
>> T. 06-51952295
>> I. www.ixsoftware.nl
>>
--
Ix Multimedia Software
Jan Luykenstraat 27
3521 VB Utrecht
T. 06-51952295
I. www.ixsoftware.nl
Re: [Falcon] compiling all framework SWCs
Posted by Cyrill Zadra <cy...@gmail.com>.
Hi Erik
Some of them are already raised as JIRA [1].
regards
Cyrill
[1]
https://issues.apache.org/jira/issues/?jql=project%20%3D%20FLEX%20AND%20component%20%3D%20Falcon%20AND%20status%20%3D%20Open%20ORDER%20BY%20priority%20DESC
On Thu, Sep 12, 2013 at 5:06 PM, Erik de Bruin <er...@ixsoftware.nl> wrote:
> Hi,
>
> After playing around with the command line arguments a bit, I was able
> to compile nearly all framework SWCs using the Falcon compiler! Only
> 'spark' and 'experimental' don't compile and it looks like that has
> mostly the same problems as 'spark', so I think we can safely say that
> we're only the compilation of one SWC away from switching to Falcon
> ;-)
>
> Some of the errors I get are:
>
> - "not adding bindable variable trait for labelDisplay in Qname:
> Label::{PackageNs:"spark.components"}"
> - "Error: Could not find source for class
> mx.rpc.remoting.mxml.Operation in namespace
> library://ns.adobe.com/flex/spark"
> - "Error: Ambiguous reference to TextInput" in MXFTETextInput on line
> 68 (which I think is the root cause for a ton of other errors that
> follow)
> - "Error: Call to a possibly undefined method Event."
> - "Error: Access of possibly undefined property embeddedFontContext
> through a reference with static type IStyleClient." for a var that's
> referenced via mx_internal
> - fun one: several vars of type uint that are initialised with the value
> -1 ;-)
> - and the big scary one: "Error: Internal error in ABC generator
> subsystem, when generating code for:
>
> /Users/erik/Documents/ApacheFlex/git/flex-sdk/frameworks/projects/spark/src/spark/utils/TextFlowUtil.as:
> java.lang.NullPointerException"
>
> I'll look into some of these in the days to follow, but I encourage
> everyone to take a look and see if you can figure some of them out.
> And don't steal my "uint" fixes :-P
>
> EdB
>
>
>
> --
> Ix Multimedia Software
>
> Jan Luykenstraat 27
> 3521 VB Utrecht
>
> T. 06-51952295
> I. www.ixsoftware.nl
>
Re: [Falcon] compiling all framework SWCs
Posted by Erik de Bruin <er...@ixsoftware.nl>.
Hey, you kinda stole my thunder there, by leaking my brilliant
solution to the list, before I got a chance to commit it :-)
EdB
On Fri, Sep 13, 2013 at 12:15 AM, Justin Mclean
<ju...@classsoftware.com> wrote:
> Hi,
>
>> - fun one: several vars of type uint that are initialised with the value -1 ;-)
>
> Actually the old compiler does warn about it, and i ends up with a value of 4294967295 Probably safe to replace the -1 with int.MAX_VALUE.
>
> Thanks,
> Justin
--
Ix Multimedia Software
Jan Luykenstraat 27
3521 VB Utrecht
T. 06-51952295
I. www.ixsoftware.nl
Re: [Falcon] compiling all framework SWCs
Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,
> - fun one: several vars of type uint that are initialised with the value -1 ;-)
Actually the old compiler does warn about it, and i ends up with a value of 4294967295 Probably safe to replace the -1 with int.MAX_VALUE.
Thanks,
Justin