Re: [FlexJS][Maven] New Upstream Dependency (was Re: git commit: [flex-asjs] [refs/heads/develop] - Added Shader files (with compiler argument)

2017-03-09 Thread Christofer Dutz
Hi Alex, So looking at the download.xml it seems the ant build downloads: http://www.apache.org/dyn/mirrors/mirrors.cgi/flex/pixelbender/1.0/binaries/apache-flex-sdk-pixel-bender-1.0.0-bin.zip That should be easy to integrate … I’ll look into that. Chris Am 10.03.17, 08:44 schrieb "Alex Harui"

Re: [FlexJS][Maven] New Upstream Dependency (was Re: git commit: [flex-asjs] [refs/heads/develop] - Added Shader files (with compiler argument)

2017-03-09 Thread Christofer Dutz
Ok … commenting my own post again. So Pixelbender is a native application. If I was to create a plugin to compile the pbk to pbj files, we would add a dependency to an installed tool and introduce another Environment Variable. I don’t want to do that for the Maven build. I’m happy that we got

Re: [FlexJS][Maven] New Upstream Dependency (was Re: git commit: [flex-asjs] [refs/heads/develop] - Added Shader files (with compiler argument)

2017-03-09 Thread Alex Harui
On 3/9/17, 11:31 PM, "Christofer Dutz" wrote: >Ok … so that’s a Flash-Only bead? I expect there will be a JS version, but it won't use the PBJ files. >If the pbj files ar “sources”, I would add them to FlexJS. If they have >to be simply read as pbj files, they

Re: [FlexJS] ASDoc (was Re: [FlexJS] maven faling (WeakMap)

2017-03-09 Thread Christofer Dutz
+1 For switching, because everything is better than having a legacy dependency on the old FDK. +1 For adding a marker to implement something to produce static content as soon as we have the time. Chris Am 10.03.17, 07:12 schrieb "Alex Harui" : On 3/9/17, 9:45

Re: [FlexJS][Maven] New Upstream Dependency (was Re: git commit: [flex-asjs] [refs/heads/develop] - Added Shader files (with compiler argument)

2017-03-09 Thread Christofer Dutz
Ok … so I changed the flexjs-maven-plugins default for “failOnCompilerWarnings” from false to true and now the build for Graphics fails. Investigating the problem a little more, it seems as if the “pbk” files are source files and these are compiled by pixelbender to pbj files. Is that correct?

Re: [FlexJS] ASDoc (was Re: [FlexJS] maven faling (WeakMap)

2017-03-09 Thread yishayw
+1 Sencha docs are eating their own dog food and doing fancy filtering. It looks nice [1] for Sencha Touch 2.3, but gets slow for ExtJS 6.2 [2]. [1] http://docs.sencha.com/touch/2.3.1/#!/api [2] http://docs.sencha.com/extjs/6.2.0/ -- View this message in context:

Re: [FlexJS][Maven] New Upstream Dependency (was Re: git commit: [flex-asjs] [refs/heads/develop] - Added Shader files (with compiler argument)

2017-03-09 Thread Christofer Dutz
Ok … so that’s a Flash-Only bead? If the pbj files ar “sources”, I would add them to FlexJS. If they have to be simply read as pbj files, they belong into src/main/resources, If something compiles them to something else, then it belongs into src/main/flex … But I’ll have a look at that right

Re: draft announcement for 4.16.0

2017-03-09 Thread Christofer Dutz
+1 Am 10.03.17, 07:28 schrieb "Alex Harui" : +1 On 3/9/17, 10:20 PM, "Justin Mclean" wrote: >Hi, > >once the mirror have caught up I intend to use this as the announcement - >any feedback? > >Thanks,

Re: Flex SDK release

2017-03-09 Thread Justin Mclean
Hi, > I would add also to this activities post on our blog - It seems to be dead a > bit. I think there a JIRA for that as well, if not when It’s back up I’ll add one. Our whole site really needs fresh content or rather people willing to help out with that. Thanks, Justin

Re: Flex SDK release

2017-03-09 Thread piotrz
Hi Justin, I would add also to this activities post on our blog - It seems to be dead a bit. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Flex-SDK-release-tp60329p60331.html Sent from the Apache

Re: draft announcement for 4.16.0

2017-03-09 Thread Alex Harui
+1 On 3/9/17, 10:20 PM, "Justin Mclean" wrote: >Hi, > >once the mirror have caught up I intend to use this as the announcement - >any feedback? > >Thanks, >Justin > >> On 12 Feb 2017, at 10:30 am, Justin Mclean >>wrote: >> >> The Apache Flex

Flex SDK release

2017-03-09 Thread Justin Mclean
Hi, Can any one help out with these activities as part of the Flex SDK release [1][2][3]. They are updating the installer script, update the web site and the AS docs. Thanks, Justin PS looks like JIRA may of just gone off the air so these links may not work. 1.

Re: [FlexJS] ASDoc (was Re: [FlexJS] maven faling (WeakMap)

2017-03-09 Thread Alex Harui
On 3/9/17, 9:45 PM, "piotrz" wrote: >Hi Alex, > > +1 for switching. > >I can spent some time to try make your ADoc visually similar to the old >one.- But for sure it won't be fast. My reference will be >http://flex.apache.org/asdoc/ > >It can be nice excercises. I

Re: draft announcement for 4.16.0

2017-03-09 Thread Justin Mclean
Hi, once the mirror have caught up I intend to use this as the announcement - any feedback? Thanks, Justin > On 12 Feb 2017, at 10:30 am, Justin Mclean wrote: > > The Apache Flex community is pleased to announce the release of Apache > Flex SDK 4.16.0 > > The

Re: [FlexJS] ASDoc (was Re: [FlexJS] maven faling (WeakMap)

2017-03-09 Thread piotrz
Hi Alex, +1 for switching. I can spent some time to try make your ADoc visually similar to the old one.- But for sure it won't be fast. My reference will be http://flex.apache.org/asdoc/ It can be nice excercises. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message

[FlexJS] ASDoc (was Re: [FlexJS] maven faling (WeakMap)

2017-03-09 Thread Alex Harui
Renaming this thread to get more attention as well. The Ant build is trying to generate ASDoc and failing because it uses the Flex SDK compiler to generate ASDoc and it can't handle the new compiler features we've added to Falcon. So again, see my questions below. The ASDoc example is ugly but

[VOTE] [RESULT] Release Apache Flex 4.16 RC3

2017-03-09 Thread justin
Hi, The vote passes with 3 +1 votes and no other votes. Thanks to everyone who tested out this or any of the previous RCs. Justin

[4.16.0] # Apache Flex SDK 4.16.0 nightly build 254: Successful

2017-03-09 Thread flex . ci . builds
flex-sdk_release-candidate - Build #254 - Successful Changes since last build: No changes For more information, check the console output at http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_release-candidate/254/.

Re: Just need to vent...

2017-03-09 Thread Harbs
JustificationStyle is in a separate Text.swc file, and yes, the js files are there. The js files are copied correctly to the bin/js-debug folder, but something is wrong with the dependency tree. There’s quite a few classes that are not recognized. Some are in TLF and some are in Text. The

Re: Just need to vent...

2017-03-09 Thread Harbs
It looks to me like the missing definitions are classes which are only used in static methods. Could it be that Falcon is not properly declaring dependencies in static methods? > On Mar 10, 2017, at 12:28 AM, Harbs wrote: > > JustificationStyle is in a separate

Re: [FlexJS] [Maven] [Jenkins] What's up with framework build?

2017-03-09 Thread Harbs
Is it still using old falcon artifacts? > On Mar 9, 2017, at 11:37 PM, Alex Harui wrote: > > [1] looks like it is still looking for mx.core.ByteArrayAsset instead of > org.apache.flex.core.ByteArrayAsset > > HTH, > -Alex > > On 3/9/17, 12:32 PM, "piotrz"

Re: Just need to vent...

2017-03-09 Thread Alex Harui
On 3/9/17, 12:41 PM, "Harbs" wrote: >I’ve already eliminated those errors by removing circular dependencies. > >I moved static functions to utility classes and all inter-class >references are using interfaces. > >To get you the output, I’d need to revert the state of the

Re: [FlexJS] [Maven] [Jenkins] What's up with framework build?

2017-03-09 Thread Alex Harui
On 3/9/17, 1:25 PM, "Christofer Dutz" wrote: >If it’s our stuff and we are allowed to release it, I could whip up a >small maven project to release the files as snapshots. >But I still don’t quite understand why we need them now. Has something >changed in the

Re: [FlexJS] Panel

2017-03-09 Thread Peter Ent
The way things are set up right now, due to the nesting of containers (div or DisplayObjectContainer), you do get (0,0) at the top. It will usually be necessary to have nested containers for scrolling purposes if nothing else. As I'm going through the code, I don't see that IChrome is actually

Re: AW: [FlexJS] [Maven] [Jenkins] What's up with framework build?

2017-03-09 Thread Alex Harui
On 3/9/17, 1:09 PM, "Christofer Dutz" wrote: >Are we allowed to do that? Are the pbj files our "code" or resource? AFAIK, yes we can. The artifacts we are discussing are an official Apache release. A obj file is a compiled file like a .class or .swf file

Re: [FlexJS] [Maven] [Jenkins] What's up with framework build?

2017-03-09 Thread Christofer Dutz
If it’s our stuff and we are allowed to release it, I could whip up a small maven project to release the files as snapshots. But I still don’t quite understand why we need them now. Has something changed in the Graphics module? What are these files? I’d like to understand what they are used

Re: [FlexJS] [Maven] [Jenkins] What's up with framework build?

2017-03-09 Thread Alex Harui
[1] looks like it is still looking for mx.core.ByteArrayAsset instead of org.apache.flex.core.ByteArrayAsset HTH, -Alex On 3/9/17, 12:32 PM, "piotrz" wrote: >I just added manually missing *.pbj to the folder

AW: [FlexJS] [Maven] [Jenkins] What's up with framework build?

2017-03-09 Thread Christofer Dutz
Are we allowed to do that? Are the pbj files our "code" or resource? Chris Von meinem Samsung Galaxy Smartphone gesendet. Ursprüngliche Nachricht Von: Alex Harui Datum: 09.03.17 19:41 (GMT+01:00) An: dev@flex.apache.org Betreff: Re: [FlexJS] [Maven]

Re: Just need to vent...

2017-03-09 Thread Harbs
I’ve already eliminated those errors by removing circular dependencies. I moved static functions to utility classes and all inter-class references are using interfaces. To get you the output, I’d need to revert the state of the repo. I’m not getting a new class of errors:

Re: [FlexJS] [Maven] [Jenkins] What's up with framework build?

2017-03-09 Thread piotrz
I just added manually missing *.pbj to the folder "frameworks\projects\Graphics\src\main\flex\org\apache\flex\graphics\utils\shaderClasses\" and it seems that for Maven it's not enough this files, cause graphics is still failing for me. [1] [1] https://paste.apache.org/zKrJ - Apache Flex

Re: Just need to vent...

2017-03-09 Thread Alex Harui
It might be a bug in Google Closure Compiler. Can you send me the bin/js-debug/index.html. It will have the dependency chain in it. Thanks, -Alex On 3/9/17, 12:43 AM, "Harbs" wrote: >I already using remove-circulars and it’s not helping in this case. If >you’re

Re: [FalconJX] regex patterns

2017-03-09 Thread Alex Harui
I put in some code to handle whitespace chars. Or do we need to handle all chars in some unicode ranges? -Alex On 3/9/17, 10:42 AM, "Harbs" wrote: >Here’s one of them: > >static private const anyPrintChar:RegExp = >/[^\u0009\u000a\u000d\u0020]/g; > >outputs: >

Re: [FlexJS] Group container

2017-03-09 Thread yishayw
Carlos Rovira wrote > Hi Peter, I think this awesome. get rid of the hardcoded styles in > component classes is such important thing and first point not only in your > effort of create a good layout strategy, but an important previous step if > we want to implement theming in FlexJS. It seems to

Re: [FlexJS] Panel

2017-03-09 Thread yishayw
I think it makes sense to start the coordinates axis below the titlebar. In ExtJS they have the concept of docked components such as toolbars and titles. So I think you can do (I changed syntax to pseudo-mxml) In other words, docked items override the container's layout and

Re: [FlaconJX] problems with class references

2017-03-09 Thread Harbs
> > Not sure what you mean by "importer classes have namespace declarations". > What does that code look like? This: internal class BaseTextLayoutImporter extends ConverterBase implements ITextImporter { private var _ns:Namespace; // namespace of

Re: [FalconJX] casting idea

2017-03-09 Thread Harbs
Huh. I did not know about @flexjsemitcoercion. Good to know! > On Mar 9, 2017, at 8:51 PM, Alex Harui wrote: > > > > On 3/9/17, 10:44 AM, "Harbs" wrote: > >> Umm... I guess I was not thinking clearly. (exhaustion can do that…) ;-) >> I was thinking

Re: git commit: [flex-falcon] [refs/heads/develop] - fix interface override checking

2017-03-09 Thread Alex Harui
OK, there is another thread about Maven discussing this. These errors are because upstream SWCs failed because of the missing .pbj files. -Alex On 3/9/17, 10:49 AM, "piotrz" wrote: >Error example from build [1] > >[INFO] ---

Re: git commit: [flex-falcon] [refs/heads/develop] - fix interface override checking

2017-03-09 Thread piotrz
Error example from build [1] [INFO] --- flexjs-maven-plugin:0.8.0-SNAPSHOT:compile-as (default-compile-as) @ Mobile --- [INFO] Executing COMPC in tool group Falcon with args: [-load-config=C:\Jenkins\workspace\flex-asjs (maven)\frameworks\projects\Mobile\target\compile-as-config.xml] Loading

Re: [FalconJX] casting idea

2017-03-09 Thread Alex Harui
On 3/9/17, 10:44 AM, "Harbs" wrote: >Umm... I guess I was not thinking clearly. (exhaustion can do that…) ;-) >I was thinking that the casting happens when compiling the app, but >that’s not true as the js from the library is pre-compiled. > >However, I don’t think I can

Re: [FalconJX] casting idea

2017-03-09 Thread Harbs
Umm... I guess I was not thinking clearly. (exhaustion can do that…) ;-) I was thinking that the casting happens when compiling the app, but that’s not true as the js from the library is pre-compiled. However, I don’t think I can globally disable “as” in TLF, and I don’t think we can do that

Re: [FalconJX] regex patterns

2017-03-09 Thread Harbs
Here’s one of them: static private const anyPrintChar:RegExp = /[^\u0009\u000a\u000d\u0020]/g; outputs: org.apache.flex.textLayout.elements.SpanElement.anyPrintChar = /[^ ]/g; > On Mar 9, 2017, at 8:20 PM, Harbs wrote: > > Yes. These are from TLF. The strings

Re: [FlexJS] [Maven] [Jenkins] What's up with framework build?

2017-03-09 Thread Alex Harui
Looks like Maven is reporting success, but it hasn't succeeded. Various SWCs are failing to build because of errors, but the root cause seems to be the missing .pbj files in the Graphics.swc. So, I think we need to figure out how to get those pbj files in a Maven way. Can we just stick the

Re: [FalconJX] casting idea

2017-03-09 Thread Alex Harui
On 3/9/17, 10:22 AM, "Harbs" wrote: >> You can turn off all "as" output in the cross-compile via >>-skipAsCoercions > >Only if you are compiling your own app — and you never rely on “as” >casting. > >That doesn’t help if you are writing a library. I guess I don't

Re: [FalconJX] casting idea

2017-03-09 Thread Harbs
> You can turn off all "as" output in the cross-compile via -skipAsCoercions Only if you are compiling your own app — and you never rely on “as” casting. That doesn’t help if you are writing a library. > Nor do I want to be the person who implements it. Can’t say I blame you there… ;-) > On

Re: [FalconJX] regex patterns

2017-03-09 Thread Harbs
Yes. These are from TLF. The strings are evaluated by Java. There’s no error except on the Javascript side because the string literals become non-sensical. We had a similar issue when porting our app. I think we used String.fromCharCode() to get around the problem there. Basically, we need

Re: [FalconJX] casting idea

2017-03-09 Thread Alex Harui
You can turn off all "as" output in the cross-compile via -skipAsCoercions compiler option. Then you shouldn't need @flexjsignorecoercion. And then you use @flexjsemitcoercion where you actually need it. Introducing new keywords makes me nervous, but I am not opposed to it. Nor do I want to be

Re: [FlexJS] Panel

2017-03-09 Thread Alex Harui
On 3/9/17, 8:49 AM, "Peter Ent" wrote: >The idea of "chrome" is that these are components that do not count as >regular children and have special locations within the component. The >TitleBar and ControlBar are considered chrome because if you ask for the >children of the

Re: [FlexJS] [Maven] [Jenkins] What's up with framework build?

2017-03-09 Thread Carlos Rovira
Hi, just see this thread, and update from repos and build all and seems working ok I'm a bit off due to work load, so was worried, but seems all is ok...just fixed minutes ago? :) 2017-03-09 16:39 GMT+01:00 piotrz : > Hi Chris! > > I got you :) Was waiting for the

Re: [FalconJX] regex patterns

2017-03-09 Thread Alex Harui
Are these from TLF? What error are you getting? Falcon compiles TLF as part of the integration tests. Is it the JS output that is broken? Thanks, -Alex On 3/9/17, 1:18 AM, "Harbs" wrote: >I’ve come across quite a few regex patterns which break compilation. >Here’s

Re: [FlaconJX] problems with class references

2017-03-09 Thread Alex Harui
On 3/9/17, 12:33 AM, "Harbs" wrote: >I have already removed tlf_internal from the entire code base. > >I’m not sure where the QName is coming from. The importer classes have >namespace declarations, maybe that’s throwing a spanner into the works? Not sure what you mean

[FalconJX] casting idea

2017-03-09 Thread Harbs
It’s really a drag to constantly put in @flexjsignorecoercion every time I’m using “as” to make the compiler happy. 99% of the time I’m not interested in Language.as being added to the code. Here’s a thought: Can we add a new operator for non-essential casts? Something like this: var

Re: git commit: [flex-falcon] [refs/heads/develop] - fix interface override checking

2017-03-09 Thread Alex Harui
On 3/9/17, 12:51 AM, "Piotr Zarzycki" wrote: >Hi Alex, > >I'm not sure what lately has changed in the compiler, but in MDL and >Mobile >there are a lot of weard errors. Maven build passes, but it shouldn't. > >Any thoughts on that? Hmm. I just ran the build in

Re: [FlexJS] Panel

2017-03-09 Thread Peter Ent
The idea of "chrome" is that these are components that do not count as regular children and have special locations within the component. The TitleBar and ControlBar are considered chrome because if you ask for the children of the Panel, they are not listed and if you have so many children in the

Re: [FlexJS] Panel

2017-03-09 Thread PKumar
ChromeContainer should be fine. We should be able to modify the panel title bar style as header corlor , border etc. Can Panel title bar contain other controls as image , button , check box? On 09-Mar-2017 9:37 PM, "piotrz [via Apache Flex Development]" <

Re: [FlexJS] Panel

2017-03-09 Thread piotrz
Hi Peter, Let's say that you reconstructed Panel using new Group container - How can we use there Chrome ? I would go with ChromedContainer. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context:

Re: [FlexJS] [Maven] [Jenkins] What's up with framework build?

2017-03-09 Thread piotrz
Hi Chris! I got you :) Was waiting for the proper thread in order to complain about something. I see after some changes in compiler (maybe) that some modules are failing but in general build didn't fail. Example: http://apacheflexbuild.cloudapp.net:8080/job/flex-asjs%20(maven)/161/console The

[FlexJS] Panel

2017-03-09 Thread Peter Ent
Hi, I'm trying to determine if "chrome" is a necessity as part of Container or if a specialty "ChromedContainer" should be made (or if at all). Panel is one component that uses chrome (the TitleBar and ControlBar implement IChrome). Is Panel used a lot? As an alternative, Panel can be

Re: [FlexJS][Maven] New Upstream Dependency (was Re: git commit: [flex-asjs] [refs/heads/develop] - Added Shader files (with compiler argument)

2017-03-09 Thread Harbs
Yes we do. Yishay created a BlendBead and the pixel bender files are needed to get the blends to render correctly in Flash. > On Mar 9, 2017, at 5:09 PM, Christofer Dutz wrote: > > Hi Yishay, > > Yeah … but why do we need them in FlexJS now? I was quite happy with

Re: [FlexJS][Maven] New Upstream Dependency (was Re: git commit: [flex-asjs] [refs/heads/develop] - Added Shader files (with compiler argument)

2017-03-09 Thread Christofer Dutz
Hi Yishay, Yeah … but why do we need them in FlexJS now? I was quite happy with not needing stuff like that. Chris Am 09.03.17, 15:27 schrieb "yishayw" : PBJ files are a compiled version of a Pixel Bender script that can be loaded by the Flash Player [1].

[FlexJS] [Maven] [Jenkins] What's up with framework build?

2017-03-09 Thread Christofer Dutz
Hi, So, it seems we can’t build now ... anyone got an idea why? Anyone working on fixing that? Chris

Re: [compc] error # 5? 6? 7? ;-)

2017-03-09 Thread Harbs
I pulled the changes and built falcon. The fix seems to work. :-) Thanks! > On Mar 9, 2017, at 10:30 AM, Harbs wrote: > > Cool. Thanks. > >> On Mar 9, 2017, at 9:06 AM, Alex Harui wrote: >> >> OK, pushed a fix for this. IMO, it was a too-sensitive

Re: [FlexJS][Maven] New Upstream Dependency (was Re: git commit: [flex-asjs] [refs/heads/develop] - Added Shader files (with compiler argument)

2017-03-09 Thread yishayw
PBJ files are a compiled version of a Pixel Bender script that can be loaded by the Flash Player [1]. As far as I understand it's a proprietary Adobe format which requires a proprietary tool, which is why we want to remove them from our repo. We're using them to implement blend-mode styles in

Re: [FlexJS][Maven] New Upstream Dependency (was Re: git commit: [flex-asjs] [refs/heads/develop] - Added Shader files (with compiler argument)

2017-03-09 Thread Christofer Dutz
Ok … the renaming trick worked ;-) Could you please explain what these pbj files are? We could put stuff in maven central by officially releasing them via Apache, but are they Apache content? If not we should use Sonatypes OSS repo to manually release something (if we are allowed to do that).

Re: [FlexJS, MDL] Ability to create dynamic components

2017-03-09 Thread piotrz
Hi Carlos, Link to the thread [1] and I will describe it more later today, but from the thread you can also understand something. [1] http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-td59595.html Piotr - Apache Flex PMC piotrzarzyck...@gmail.com --

[FalconJX] regex patterns

2017-03-09 Thread Harbs
I’ve come across quite a few regex patterns which break compilation. Here’s some examples: private static const _newLineTabPattern:RegExp = /[\u0009\u000a\u000d]/g; static private const brRegEx:RegExp = /\u2028/; private static const _newLineRegex:RegExp = /\u000A|\u000D\u000A?/g; public static

Re: git commit: [flex-falcon] [refs/heads/develop] - fix interface override checking

2017-03-09 Thread Piotr Zarzycki
Hi Alex, I'm not sure what lately has changed in the compiler, but in MDL and Mobile there are a lot of weard errors. Maven build passes, but it shouldn't. Any thoughts on that? Thanks, Piotr W dniu czwartek, 9 marca 2017 napisał(a): > Repository: flex-falcon > Updated

Re: Just need to vent...

2017-03-09 Thread Harbs
I already using remove-circulars and it’s not helping in this case. If you’re interested here’s the output: https://paste.apache.org/Kd9l And running the debug in the browser has tons of runtime errors. I had this problem when porting my app as well. Basically static properties really mess

Re: [FlaconJX] problems with class references

2017-03-09 Thread Harbs
I have already removed tlf_internal from the entire code base. I’m not sure where the QName is coming from. The importer classes have namespace declarations, maybe that’s throwing a spanner into the works? I don’t see this as a very high priority issue if simple cases work. > On Mar 9, 2017,

Re: [compc] error # 5? 6? 7? ;-)

2017-03-09 Thread Harbs
Cool. Thanks. > On Mar 9, 2017, at 9:06 AM, Alex Harui wrote: > > OK, pushed a fix for this. IMO, it was a too-sensitive check in Falcon. > It is allowed in SWF. > > -Alex > > On 3/8/17, 3:18 PM, "Harbs" wrote: > >> FWIW, I’m using FDT, and it does