RE: git commit: [flex-asjs] [refs/heads/develop] - Parallel is now derived from CompoundEffect

2017-01-30 Thread Yishay Weiss
From: Yishay Weiss Sent: Tuesday, January 31, 2017 9:38 AM To: Piotr Zarzycki Subject: RE: git commit: [flex-asjs] [refs/heads/develop] - Parallel is now derived from CompoundEffect There are 2 stages: 1. Populate the beads a

Re: [1/2] git commit: [flex-asjs] [refs/heads/develop] - Add ParallelReverseBead

2017-01-30 Thread piotrz
Wonderful! Thank you :) - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Re-1-2-git-commit-flex-asjs-refs-heads-develop-Add-ParallelReverseBead-tp58801p58825.html Sent from the Apache Flex Development mailing l

Re: [1/2] git commit: [flex-asjs] [refs/heads/develop] - Add ParallelReverseBead

2017-01-30 Thread yishayw
Fixed it according to your suggestion. Good catch. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Re-1-2-git-commit-flex-asjs-refs-heads-develop-Add-ParallelReverseBead-tp58801p58824.html Sent from the Apache Flex Development mailing list archive at Nabble

Re: git commit: [flex-asjs] [refs/heads/develop] - Parallel is now derived from CompoundEffect

2017-01-30 Thread Piotr Zarzycki
Hi Yishay, Maybe in that case would be better use addBead method instead create manually this array ? Piotr 2017-01-29 16:15 GMT+01:00 : > Repository: flex-asjs > Updated Branches: > refs/heads/develop 2cc5ca1a7 -> ee4fa779d > > > Parallel is now derived from CompoundEffect > > > Project: htt

[FlexJS] MDL requires JS:Container type of component

2017-01-30 Thread sankar
The requirement was pretty basic. Place the contents/components horizontally or vertically and some alignment. I tried to use The above usage always output contents laying vertically. Following is a screenshot of above c

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-30 Thread sankar
Hi Piotr, Carlos, Thanks for replying. I understand that the things now in random testing phase and some functionalities may found still not implemented, i.e. bracketed binding to some components. I shall plan to create JIRA issue with examples for yours easy. Talking something else, I was won

Re: XML files not copying

2017-01-30 Thread Alex Harui
On 1/30/17, 3:33 PM, "Harbs" wrote: > > [java] resolved: SWC: [DefinitionPromise "XML", DefinitionPromise >"QName", DefinitionPromise "XMLList"] > [java] XML > [java] QName > [java] XMLList > > >So, it looks like the order of the classes are indeed XML, QName, XMLList. > >Maybe,

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

2017-01-30 Thread flex . ci . builds
flex-sdk_release-candidate - Build #219 - 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/219/.

Re: XML files not copying

2017-01-30 Thread Harbs
I did this and the result was: [java] /Users/harbs/Documents/ApacheFlex/frameworks/libs/player/11.1/playerglobal.swc which is the same file I sent you. > On Jan 31, 2017, at 12:17 AM, Alex Harui wrote: > > You can output > cu.getAbsoluteFilename().

Re: XML files not copying

2017-01-30 Thread Harbs
To me, the problem looks like the output being fed into postProcess. There is no goog.require in that string. When the code loops through the lines, it does not find XML as a foundRequire and it does not add it because there is no goog.require for the XML. Interestingly, on systems which output

Re: XML files not copying

2017-01-30 Thread Harbs
I added some additional output: System.out.println("resolved: " + flexJSProject.resolveQNameToCompilationUnit(usedName)); And in FlexJSProject.isExternalLinkage(): for (String oneqname : qnames) { System.out.println(oneqname); } [java]

Re: [FlexJS] RadioButton click event

2017-01-30 Thread piotrz
Carlos, Maybe in case of RadioButton we should introduce custom event "radioButtonClick" - then we will control amount of clicks and "selected" property should work. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n

Re: [FlexJS] RadioButton click event

2017-01-30 Thread piotrz
Hi Carlos, I just pushed fixed for double click event on RadioButton, but it's not ideal. With this fix our "selected" property won't work. My solution: - Getting all Radio buttons in group and deselect all radio (I'm using java script function not "selected" property - that's why in unselectio

Re: XML files not copying

2017-01-30 Thread Alex Harui
Hmm. The one you sent is the same as the one I have. Maybe I dreamt about what I saw earlier. Let's go back to verifying how the code works. In MXMLFlexJSEmitter.java in postProcess(), there is a code block like this: for (String usedName :usedNames) { if (!foundRequires.contains(usedName)) {

Re: VS Code snippets

2017-01-30 Thread Josh Tynjala
VSCode doesn't expose APIs to display a custom form similar to how you would create a new class in Flash Builder where you can specify the name of a new class, its package, superclass, interfaces, etc. In a custom command, you can ask VSCode to display a set of instructions with either a text inpu

Re: XML files not copying

2017-01-30 Thread Alex Harui
Hmm. IIRC, there was a playerglobal.swc that was packaged differently than the others, but I can't find it. Harbs, can you send me off-list your playerglobal.swc? /Users/harbs/Documents/ApacheFlex/frameworks/libs/player/11.1/playerglobal. swc Thanks, -Alex On 1/30/17, 7:46 AM, "Alex Harui" wr

Re: [1/2] git commit: [flex-asjs] [refs/heads/develop] - Add ParallelReverseBead

2017-01-30 Thread yishayw
Actually ParallelPlayBead is refactor. ParallelReverseBead is new functionality. But I think you're right in both cases. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Re-1-2-git-commit-flex-asjs-refs-heads-develop-Add-ParallelReverseBead-tp58801p58810.ht

Re: [1/2] git commit: [flex-asjs] [refs/heads/develop] - Add ParallelReverseBead

2017-01-30 Thread piotrz
I like your code just wondering whether we are not missing anything. :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Re-1-2-git-commit-flex-asjs-refs-heads-develop-Add-ParallelReverseBead-tp58801p588

Re: [1/2] git commit: [flex-asjs] [refs/heads/develop] - Add ParallelReverseBead

2017-01-30 Thread yishayw
Possibly. I just refactored code that had already existed in Parallel. Feel free to remove it if that works. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Re-1-2-git-commit-flex-asjs-refs-heads-develop-Add-ParallelReverseBead-tp58801p58808.html Sent from

Re: VS Code snippets

2017-01-30 Thread Harbs
I’m trying to figure out the best way to create new classes. I can create a snippet which lays out the scaffolding for a class, but I’d really like something similar to the “New” command in Flash Builder. Is anyone familiar with solutions for that? > On Jan 30, 2017, at 7:24 PM, Carlos Rovira

Re: VS Code snippets

2017-01-30 Thread Carlos Rovira
That looks good :) Here seems to be a way : https://code.visualstudio.com/Docs/customization/userdefinedsnippets#_sharing-your-snippets-in-the-marketplace 2017-01-30 17:58 GMT+01:00 Harbs : > I started creating some VS Code snippets for making writing code with .as > and mxml files in VS Code ea

Re: Framework dev in VS Code

2017-01-30 Thread Harbs
I added an extra asconfig.json file at the project folder level. That seemed to sort-of work until I added too many projects to that. > On Jan 30, 2017, at 6:58 PM, Josh Tynjala wrote: > > Okay, I understand. The NextGenAS extension supports only a single project > per window right now, and the

Re: Framework dev in VS Code

2017-01-30 Thread Harbs
Try adding “projects” to VS Code as a project. > On Jan 30, 2017, at 6:14 PM, Josh Tynjala wrote: > > What specifically do you mean when you say "adding all full project folder"? > > - Josh > > On Mon, Jan 30, 2017 at 5:15 AM, Harbs wrote: > >> I just added a bunch of asconfig files to the p

Re: Framework dev in VS Code

2017-01-30 Thread Josh Tynjala
Okay, I understand. The NextGenAS extension supports only a single project per window right now, and the asconfig.json must appear in the root directory. If you need to have multiple projects open at the same time, you'll need to open multiple windows. - Josh On Mon, Jan 30, 2017 at 8:54 AM, Harb

VS Code snippets

2017-01-30 Thread Harbs
I started creating some VS Code snippets for making writing code with .as and mxml files in VS Code easier. Is there a good way to share this stuff? So far, I’ve created snippets for: CDATA blocks fx:Script blocks fx:Style blocks COMPILE::SWF COMPILE::JS getters and setters

Re: [1/2] git commit: [flex-asjs] [refs/heads/develop] - Add ParallelReverseBead

2017-01-30 Thread Piotr Zarzycki
Hi Yishay, Shouldn't you remove listener for EFFECT_END once it will be called ? Piotr 2017-01-30 16:56 GMT+01:00 : > Repository: flex-asjs > Updated Branches: > refs/heads/develop ed7525180 -> 2ce0a9f6b > > > Add ParallelReverseBead > > > Project: http://git-wip-us.apache.org/repos/asf/flex-

Re: Framework dev in VS Code

2017-01-30 Thread Josh Tynjala
What specifically do you mean when you say "adding all full project folder"? - Josh On Mon, Jan 30, 2017 at 5:15 AM, Harbs wrote: > I just added a bunch of asconfig files to the projects. > > The individual projects now get proper intellisense. Adding all full > project folder causes an error a

Re: XML files not copying

2017-01-30 Thread Alex Harui
Crap. You are hitting https://issues.apache.org/jira/browse/FLEX-35203 Which I thought I'd fixed but I guess not. I'll push a fix today. -Alex On 1/30/17, 1:39 AM, "Harbs" wrote: >FWIW, Yishay’s falcon is from about a month ago. He’s getting (two) >goog.requires for XML. I’m using an ant bui

RE: [FlexJS] "MDL + VS Code" ready to go?

2017-01-30 Thread Yishay Weiss
It sounds like you’ve got your expectations levels right. It’s not at 1.0, but it should be good enough for a simple project. The community here has been very responsive when we’ve encountered problems (and we have), which to some degree makes the bet safer. From: OK

Re: Framework dev in VS Code

2017-01-30 Thread Harbs
I just added a bunch of asconfig files to the projects. The individual projects now get proper intellisense. Adding all full project folder causes an error and the code is not properly analyzed. I’m not sure if it’s just too heavy for the extension… > On Jan 30, 2017, at 1:31 PM, Harbs wrote:

Re: [FlexJS] "MDL + VS Code" ready to go?

2017-01-30 Thread Carlos Rovira
Hi Olaf, I think that current state of the art with FlexJS and MDL are working ok, I think API is stable and should not change. As all early adopters, for sure, you'll find things in the road, but things that could make improve FlexJS and make it go to a 1.0 I recomendaciones you to use not only

[FlexJS] "MDL + VS Code" ready to go?

2017-01-30 Thread OK
Hi guys, first thanks again to all of you for all the efforts to push FlexJS in the right direction! For an upcoming simple project I maybe have the chance to choose FlexJS. Going with FlexJS would be great cause the best way to legitimate any kind of effort regarding the FlexJS framework within t

Re: Framework dev in VS Code

2017-01-30 Thread Harbs
Huh. Now the errors went away… Weird. > On Jan 30, 2017, at 12:15 PM, Harbs wrote: > > It works in HTMLClasses.as, (in the HTML project) but any other file gives me > a “Can not resolve” error. > > Actually: I’m only getting errors for blocks, but COMPILE statements on > functions don’t caus

Re: Framework dev in VS Code

2017-01-30 Thread Harbs
It works in HTMLClasses.as, (in the HTML project) but any other file gives me a “Can not resolve” error. Actually: I’m only getting errors for blocks, but COMPILE statements on functions don’t cause VS Code to complain. > On Jan 30, 2017, at 12:03 PM, Harbs wrote: > > I had tried that and i

Re: Framework dev in VS Code

2017-01-30 Thread Harbs
I had tried that and it did not work. I just realized that I put it in the wrong place. This works: { "config": "flex", "type": "lib", "compilerOptions": { "debug": true, "define": [ { "name": "COMPILE::SWF", "value": true

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-30 Thread Carlos Rovira
Hi Sankar, as Piotr said, let us know what you find. Our way to work on MDL was: 1.- Get all components in place and with exact HTML structure 2.- Get Flex Events work mapping MDL ones 3.- ... try example when see what's missing --> I think we are here right now So Data binding could be one of t

Re: XML files not copying

2017-01-30 Thread Harbs
FWIW, Yishay’s falcon is from about a month ago. He’s getting (two) goog.requires for XML. I’m using an ant build (and not Maven) in case that makes a difference. > On Jan 30, 2017, at 11:27 AM, Harbs wrote: > > I added a bunch of System.outs to see what’s going on: > http://pastebin.com/Wr4xM

Re: XML files not copying

2017-01-30 Thread Harbs
I added a bunch of System.outs to see what’s going on: http://pastebin.com/Wr4xMDaT The way it looks to me is that there’s no goog.require being added for XML. So although it sees XML in the asEmitter used names, it’s not found as a require. Even if it would, without the goog.require, the code w

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-30 Thread piotrz
Hi Sankar, Please specify what is broken and in which case. If you can raise a jira with example I will be looking into that. :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Data-binding-fa

Re: XML files not copying

2017-01-30 Thread Alex Harui
Hmm. Well it sees that XML is a usedName. You can see on commits@ my last changes to MXMLFlexJSEmitter.java. I have to stop working for tonight, so it will probably be most efficient if you sprinkle more System.out.println calls throughout that postProcess() method to see why the requires for XM