Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread Harbs
There are actually two problems with Slider. Besides the default 20px margins applied by the mdl css, there’s also an extra container/slider element in FlexJS which causes the margin to be doubled. > On Feb 16, 2017, at 12:12 AM, piotrz wrote: > > Alex, > > I like the idea! Maybe I should cre

Re: [FlexJS] MDL: Add/Remove item(s) to TabBar

2017-02-16 Thread sankar
Also, I was thinking if there's a way possible to implement to programmatically 'active' certain section in *NavigationLayoutContent* (?) I was thinking to do a different component (i.e. breadcrumb) which should have similar structure in use like NavigationLayoutContent, but I'm not sure how to mak

Re: [DISCUSS] Release Apache Flex SDK 4.16 RC2

2017-02-16 Thread Justin Mclean
Hi, > Where did you look? I compiled the SDK from the release branch (using the build/build_release.sh script) on my local machine and looked at the artefacts it produced. > I just looked at apacheflexbuilds and AFAICT it has > not built a build with your changes. It looks like it hasn’t done

Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread piotrz
Harbs, Can you exact specify what is the class of this container? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Layout-Problems-tp59423p59524.html Sent from the Apache Flex Development ma

Re: flexjs and flashdevelop

2017-02-16 Thread flex capacitor
Good job! On Mon, Feb 13, 2017 at 10:21 PM, lizhi wrote: > https://github.com/matrix3d/spriteflexjs/wiki/flashdevelop > > > > - > spriteflexjs.com > -- > View this message in context: http://apache-flex- > development.247.n4.nabble.com/flexjs-and-flashdevelop-tp59364.html > Sent from the

Re: [FlexJS Summit] Preparing the schedule

2017-02-16 Thread piotrz
Hi, If I manage to come to the conference probably I won't be able to stay on friday due to flight back. Monday would be same. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Summit-Preparing-t

Re: [FlexJS Summit] Preparing the schedule

2017-02-16 Thread Justin Mclean
Hi, > I think you misunderstood me … the day after the entire ApacheCon or the day > before … so it would be Monday or Firday … I would definitely favor Friday > too as it would sort of be a nice: > - Thursday: Talking Day > - Friday: Coding Day The BarCamp is also on Monday I think - that may

Re: [DISCUSS] Release Apache Flex SDK 4.16 RC2

2017-02-16 Thread justin
Hi, Looks like the issue is this, this has been running for 9+ hours and should probably be killed [1] May be a good idea to limit the time that job runs,it's usually fairly quick right? Thanks, Justin 1. http://apacheflexbuild.cloudapp.net:8080/job/MD5Checker/15255/

Re: [FlexJS] MDL: Add/Remove item(s) to TabBar

2017-02-16 Thread sankar
sankar wrote > Also, I was thinking if there's a way possible to implement to > programmatically 'active' certain section in * > NavigationLayoutContent * > (?) Nevermind, I've created a method which does the job now. Thanks! -- View this message in context: http://apache-flex-development.2

Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread OK
>Can you exact specify what is the class of this container? There's a div that applies the class "mdl-slider__container" which sets the height to 18px [1]. After removing this the vertical gap goes away. The horizontal gap comes as Harbs said from MDL itself, this is not nice but not a FlexJS i

Re: [FlexJS Summit] Preparing the schedule

2017-02-16 Thread Harbs
I don’t know that I will able to be there on Friday either. I would prefer to either stay later on Thursday to do what we can, or do it on Wednesday. I doubt I will be attending too many presentations. The extent of my participation of ApacheCon besides for Flex will probably just be to meet the

Re: [FlexJS] maven faling (WeakMap)

2017-02-16 Thread Christofer Dutz
Hi Alex, My current state is that the ASDoc generation uses the DITA output to generate the general data structures (It looked as DITA was a lot more complete than the others). But in contrast to your version it does two compilations … one for JS and one for SWF. Currently What I’m currently

Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread piotrz
Hi Olaf, I will try to create some beads which handle some mentioned cases above. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Layout-Problems-tp59423p59534.html Sent from the Apache Flex

Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread Harbs
To sum up the problems: 1. mdl applies a 20 px margin (I think it’s 30px for “flex” sliders) 2. This margin gets applied TWICE in FlexJS mdl. Once for the p element, and then again for the input element. This adds up to a 40px margin. 3. The slider gets wrapped in a mdl-slider__container element.

Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread OK
>I will try to create some beads which handle some mentioned cases above. >From the FlexJS perspective folks of course could wondering why they can't remove this style but maybe from MDL perspective (including Material Design specs) this maybe makes sense [1]. What I would like so say is that on

[FlexJS MDL] release build broken

2017-02-16 Thread Harbs
1. Go here: http://apacheflexbuild.cloudapp.net:8080/job/MDLExample/lastSuccessfulBuild/artifact/examples/flexjs/MDLExample/bin/js-release/index.html 2. Cl

Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread piotrz
That's why I can provide some beads. If you wanted to use you will if not the core implementation won't be touched. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Layout-Problems-tp59423p595

Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread OK
>That's why I can provide some beads. If you wanted to use you will if not the core implementation won't >be touched. Yes sorry, this probably makes sens ;-) Thanks for working on MDL! Olaf -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Lay

Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread piotrz
No problem Olaf! :) Looking forward to see your try of MDL :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Layout-Problems-tp59423p59540.html Sent from the Apache Flex Development mailing

[VSCode, NextGenAS] Issues with IntelliSense, Goto Definition (Ctrl+Click) and auto imports

2017-02-16 Thread OK
Hi, I wonder if I'm doing something wrong or if I'm gettting something wrong. I've read the feature list and the ChangeLog [1] of the NextGenAS Extension and thought that it works similar to FlashBuilder regarding IntelliSense and the auto additons of "imports". But for me it seems that IntelliSen

Re: [VSCode, NextGenAS] Issues with IntelliSense, Goto Definition (Ctrl+Click) and auto imports

2017-02-16 Thread piotrz
Hi Olaf, For me it also do not work enough well. When I hit intelli sence in mxml I always see much more results than I wanted to. It's being a bit messy. I see classes but it always takes me some time before I found it on the list. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View

Re: [FlexJS] Setting background colour at run time fails

2017-02-16 Thread Peter Ent
Update: I've pushed the following changes: Core package: added StyleChangeNotifier and StyleChange event. StyleChangeNotifier listens for ValueChangeEvents on its strand's style. I decided to park this in Core because it seems listening for style changes would be more universal than just HTML pac

Re: [VSCode, NextGenAS] Issues with IntelliSense, Goto Definition (Ctrl+Click) and auto imports

2017-02-16 Thread Josh Tynjala
> thought that it works similar to FlashBuilder regarding IntelliSense and the auto additons of "imports". That is exactly what this feature is supposed to do. An import for a class should be added automatically when you complete it with IntelliSense. If that's not working consistently, please fil

Re: [VSCode, NextGenAS] Issues with IntelliSense, Goto Definition (Ctrl+Click) and auto imports

2017-02-16 Thread Josh Tynjala
Just like when you give a type to an ActionScript variable, MXML completion includes every available class. You should be able to specify an XML namespace to filter, though. Type wrote: > Hi Olaf, > > For me it also do not work enough well. When I hit intelli sence in mxml I > always see much mor

Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread Alex Harui
On 2/16/17, 1:54 AM, "OK" wrote: >>I will try to create some beads which handle some mentioned cases above. > >From the FlexJS perspective folks of course could wondering why they can't >remove this style but maybe from MDL perspective (including Material >Design >specs) this maybe makes sense

Re: [VSCode, NextGenAS] Issues with IntelliSense, Goto Definition (Ctrl+Click) and auto imports

2017-02-16 Thread OK
Hi Josh, >One thing worth mentioning is that you cannot go to classes that come from SWC files (including >framework classes in the SDK). Could you give me an example of such a framework class SWC? >If a class is on the source-path, it should resolve for goto definition. What is your understandin

Re: [DISCUSS] Release Apache Flex SDK 4.16 RC2

2017-02-16 Thread Alex Harui
On 2/16/17, 12:44 AM, "jus...@classsoftware.com" wrote: >Hi, > >Looks like the issue is this, this has been running for 9+ hours and >should probably be killed [1] > >May be a good idea to limit the time that job runs,it's usually fairly >quick right? Sure, go ahead and do it. But some jobs d

Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread Josh Tynjala
> If the Basic set has a component that MDL doesn't, MDL doesn't want you to use that component. Or am I wrong about that? MDL is a work in progress, much like FlexJS. Google hasn't necessarily implemented every component that they want to add yet. - Josh

Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread OK
>If the Basic set has a component that MDL doesn't, MDL doesn't want you to use >that component. Or am I wrong about that? The problem is that MDL doesn't implement the complete Material Design spec. There's a lack of e.g. DropDown, DatePicker and maybe something other... If MDL would represent t

Re: [VSCode, NextGenAS] Issues with IntelliSense, Goto Definition (Ctrl+Click) and auto imports

2017-02-16 Thread Josh Tynjala
Any directories specified with the source-path compiler option, plus any classes accessible from the root path (such as a "src" directory) of the main class. - Josh On Thu, Feb 16, 2017 at 7:51 AM, OK wrote: > Hi Josh, > > >One thing worth mentioning is that you cannot go to classes that come f

Re: [VSCode, NextGenAS] Issues with IntelliSense, Goto Definition (Ctrl+Click) and auto imports

2017-02-16 Thread Alex Harui
On 2/16/17, 7:34 AM, "Josh Tynjala" wrote: > >One thing worth mentioning is that you cannot go to classes that come from >SWC files (including framework classes in the SDK). Sometimes, SWC files >include the original source path, but I've noticed that it's almost always >missing, so I haven't ad

[4.16.0] # Apache Flex SDK 4.16.0 nightly build 235: Failure

2017-02-16 Thread flex . ci . builds
flex-sdk_release-candidate - Build #235 - Failure Changes since last build: [jmclean] Hard code saxon jar name so ant scripts work For more information, check the console output at http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_release-candidate/235/.

Re: [FlexJS] - Is FlexJS ready for production?

2017-02-16 Thread Carlos Rovira
Hi, I will make a new thread for the current problem of spriteflexjs library compilation since this is not in topic 2017-02-15 23:51 GMT+01:00 Christofer Dutz : > Well the “type” is what we choose … also we can change the “classifier”s … > the scope however is Maven-defined and we currently have

[FlexJS][SpriteFlexJS][Maven] Integrating SprtiteFlexJS into Apache Flex problems

2017-02-16 Thread Carlos Rovira
Hi, One of the efforts I'm doing is to get Lizhi's SpriteFlexJS *compliant* with Apache FlexJS To make that I put the current project inside "projects" folder with the other libraries. I added license headers as well and then try to make it building with Maven. The big problem right now is that

Re: [FlexJS MDL] release build broken

2017-02-16 Thread Carlos Rovira
Hi Harbs, Thanks for seeing that. @Pitor, I looked at the code and seems something related to binding, The binding is not working and no text is retrieved. The output is: So no text in the i element tag seems the binding no

Re: [FlexJS] Text binding showing undefined

2017-02-16 Thread Carlos Rovira
Hi Alex, IMHO, this is not PAYG, no body wants "undefined" as a possible output. In my way of thinking this could be very radical way and take PAYG to the latest extreme. In that way almost all things are PAYG and should not be implemented in basic set ;) ... what do you think? 2017-02-16 2:55 GM

Re: [Flex JS] Label's text gets trimmed

2017-02-16 Thread Carlos Rovira
Hi Justing, I think this is the normal way HTML works. HTML removes whitespaces. If you put lots of whitespace, HTML will remove them. So I think no much to do there for this kind of trys 2017-02-16 7:15 GMT+01:00 Justin Mclean : > Hi, > > This: > > > > > >

Re: [Flex JS] Label's text gets trimmed

2017-02-16 Thread OmPrakash Muppirala
Setting this style in CSS should fix this issue: white-space: pre or white-space: pre-wrap More options here: https://www.w3schools.com/cssref/pr_text_white-space.asp Thanks, Om 2017-02-16 10:39 GMT-08:00 Carlos Rovira : > Hi Justing, I think this is the normal way HTML works. > HTML removes w

Re: [FlexJS] Text binding showing undefined

2017-02-16 Thread Alex Harui
On 2/16/17, 10:37 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, > >IMHO, this is not PAYG, no body wants "undefined" as a possible output. >In my way of thinking this could be very radical way and take PAYG to the >latest extreme. >In that way almost all things are P

Re: [FlexJS Summit] Preparing the schedule

2017-02-16 Thread Carlos Rovira
Hi, this days I was looking how to manage a travel to Miami, I'm still looking at it, but it seems near impossible to left all my duties (home, work) for at least 3-4 days. So, I can prepare a talk but do it in remote from Madrid? What do you think? Let me know if that could be an option. A part

Re: [FlexJS] Text binding showing undefined

2017-02-16 Thread OmPrakash Muppirala
On Thu, Feb 16, 2017 at 10:51 AM, Alex Harui wrote: > > > On 2/16/17, 10:37 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" > > wrote: > > >Hi Alex, > > > >IMHO, this is not PAYG, no body wants "undefined" as a possible output. > >In my way of thinking this could be very radical way and

Re: [FlexJS] Text binding showing undefined

2017-02-16 Thread Carlos Rovira
Hi, I was thinking the same as Om. Only setting a default would to the trick thanks 2017-02-16 19:56 GMT+01:00 OmPrakash Muppirala : > On Thu, Feb 16, 2017 at 10:51 AM, Alex Harui wrote: > > > > > > > On 2/16/17, 10:37 AM, "carlos.rov...@gmail.com on behalf of Carlos > Rovira" > > > > wrote: >

Re: [FlexJS MDL] release build broken

2017-02-16 Thread piotrz
Hi Carlos, I will look into that through the weekend. When I was doing Binding changes I have to admit that I didn't check release version. But I think it's something in the compiler. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-dev

Re: [FlexJS] Text binding showing undefined

2017-02-16 Thread Harbs
I recently went this course in TextModel. By default, the text property was undefined which propagated to the view when it was never set. I changed it to 'private var _text:String = “”;' to set the default to an empty string. Harbs > On Feb 16, 2017, at 8:58 PM, Carlos Rovira > wrote: > > Hi

Re: [FlexJS MDL] release build broken

2017-02-16 Thread Harbs
When I’ve had these kinds of issues in my app, it’s because of minified renaming. Tangentially: FWIW, I’m not sure how wise it is to use constants to specify the icon text. The minified version of just the definitions for the MaterialIconTypes is a full 77KB! Until we have a way to stripped ou

[FlexJS]Routing

2017-02-16 Thread Harbs
The MDL demo app very nicely demonstrates something major missing from FlexJS: Routing. The modern term for “deep linking” which we had in Flash is “routing”. The most common way to handle routing is by appending a has to a url and changing the address. That allows for navigating browser histor

[4.16.0] # Apache Flex SDK 4.16.0 nightly build 236: Fixed

2017-02-16 Thread flex . ci . builds
flex-sdk_release-candidate - Build #236 - Fixed Changes since last build: [Alex Harui] fix download cache For more information, check the console output at http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_release-candidate/236/.

Re: [FlexJS MDL] release build broken

2017-02-16 Thread Alex Harui
On 2/16/17, 12:34 PM, "Harbs" wrote: >When I’ve had these kinds of issues in my app, it’s because of minified >renaming. Yep, and there is code in one of the Binding classes that does some trickery to look up a constant when minified. That code might need to be used in this scenario. -Alex

Re: [FlexJS] Text binding showing undefined

2017-02-16 Thread Alex Harui
On 2/16/17, 12:00 PM, "Harbs" wrote: >I recently went this course in TextModel. By default, the text property >was undefined which propagated to the view when it was never set. I >changed it to 'private var _text:String = “”;' to set the default to an >empty string. Well, that's not PAYG (yes,

Re: [FlexJS][SpriteFlexJS][Maven] Integrating SprtiteFlexJS into Apache Flex problems

2017-02-16 Thread Alex Harui
On 2/16/17, 10:23 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: > >The big problem right now is that I can't get the project to find core >html >classes like "HTMLCanvasElement". Did you verify that HTMLCanvasElement is in one of the SWCs? SWCs are ZIP files so unpack the one

Re: [Flex JS] Label's text gets trimmed

2017-02-16 Thread Justin Mclean
Hi, > I think this is the normal way HTML works No sure about that as if you do this: Hi there The space is displayed. The generated HTML does include the space however so it does look like a HTML issue: Hello, world Thanks, Justin

Re: [FlexJS] Text binding showing undefined

2017-02-16 Thread Justin Mclean
Hi, > It is totally fine, however, to have a TextModelWithEmptyStringDefaults. > And have Express use it and Harbs could use it in his app. Again, what > percentage of the time in production will a label's text property not be > set to something other than “"? It would be a reasonably common wit

Re: [FlexJS] Text binding showing undefined

2017-02-16 Thread Harbs
> Well, that's not PAYG (yes, I'm being picky). I disagree. For string it certainly is PAYG. There’s no extra cost. (and considering the three bytes of ‘=“”’ in the source code is getting petty IMO) Adding an extra TextModelWithEmptyStringDefaults is totally unnecessary. > Again, what > percent

[BlazeDS] landing in git version of BlazeDS

2017-02-16 Thread Carlos Rovira
Hi, As I'm to start working on AMF library for FlexJS, I want to use apache flex blazeds version and build with maven. I use develop branch, and could build without problems But see that in master there's an "apps" folder with some war examples. I want to start from that in order to create example

Re: [DISCUSS] Release Apache Flex SDK 4.16 RC2

2017-02-16 Thread Alex Harui
On 2/16/17, 12:32 AM, "Justin Mclean" wrote: >It looks like it hasn’t done a build yet and it still waiting on a >pending slot. [1] OK, build finished and I ran the approval script on it and checked asdoc. I'm good to go. -Alex

Re: [FlexJS] Text binding showing undefined

2017-02-16 Thread Alex Harui
On 2/16/17, 2:34 PM, "Harbs" wrote: >> Well, that's not PAYG (yes, I'm being picky). > >I disagree. For string it certainly is PAYG. There’s no extra cost. (and >considering the three bytes of ‘=“”’ in the source code is getting petty >IMO) Pretty sure that uninitialized variables do not have

Re: [Flex JS] Padding not working as expected

2017-02-16 Thread Justin Mclean
Hi, Anyone have thought on this? It looks to be a serious bug to me and there’s no workaround except in the simplest cases. One alternative is to wrap a component in 4 boxes to simulate the padding but that’s going to up your box/nest count really fast even for simple designs. Thanks, Justin

Re: [FlexJS] Setting background colour at run time fails

2017-02-16 Thread Justin Mclean
Hi, Looks good Peter, I'll give it a try in the next few days and come back with any feedback. Thanks, Justin

Re: [FlexJS] Text binding showing undefined

2017-02-16 Thread Alex Harui
On 2/16/17, 2:21 PM, "Justin Mclean" wrote: >Hi, > >> It is totally fine, however, to have a TextModelWithEmptyStringDefaults. >> And have Express use it and Harbs could use it in his app. Again, what >> percentage of the time in production will a label's text property not be >> set to somethi

[VOTE][CANCEL] Release Apache Flex SDK 4.16 RC2

2017-02-16 Thread Justin Mclean
Hi, This vote is cancelled as an issue with asdocs / saxon9 was discovered. Thanks, Justin

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

2017-02-16 Thread flex . ci . builds
flex-sdk_release-candidate - Build #237 - 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/237/.

[Flex JS] Font support

2017-02-16 Thread Justin Mclean
Hi, Trying to get fonts working in JS. Now I should be able to edit the produced HTML after it been generated to add fonts I need, but is there a way to link or @import fonts by referring to it the MXML? Just for giggles I tried the following: @import url('https://fonts.googleapis

Re: [Flex JS] Font support

2017-02-16 Thread Justin Mclean
Hi, Also this which I though I'd try also fails to compile (assumes source is local): https://fonts.googleapis.com/css?family=Roboto"; /> How can you include external styles sheets located on other domains? Thanks, Justin

Re: [Flex JS] Font support

2017-02-16 Thread Carlos Rovira
Hi Justin, that's an important error. With things like that we can't call us 1.0 For include external sheets have you try to use in Constructor? Search for an example in Dialog.as MDL class, there are others in other libraries like CreateJS 2017-02-17 8:10 GMT+01:00 Justin Mclean : > Hi, > >