Getting ready for the refactor-sprite merge (was Re: [FlexJS] HTMLElementWrapper extending Sprite)

2016-10-26 Thread Alex Harui
I've been looking at the differences between develop and refactor-sprite and how to manage the fork of the Basic set into both a wrapped and unwrapped set. I found that I can just copy the HTML folder to a Basic folder and you can use --follow on the copies to follow history in the fork. In looki

Re: [FlexJS] HTMLElementWrapper extending Sprite

2016-10-26 Thread Harbs
I don’t need it now that we changed our code. I added the check because I thought other might be bitten by the same issue. If we remove the check, I’m not going to add another class. On Oct 27, 2016, at 9:43 AM, Alex Harui wrote: > > Every bit of code costs in CPU and download size. It all a

Re: [FlexJS] HTMLElementWrapper extending Sprite

2016-10-26 Thread Alex Harui
On 10/26/16, 10:41 PM, "Harbs" wrote: >Sure, components should try and validate their values, but client code is >not necessarily components, and it’s pretty easy to introduce a bug where >client code supplies a wrong value. IMO, if you are using typed ValueObjects you should do some validatio

Re: [FlexJS] DoubleClickEnabledBead ?

2016-10-26 Thread Alex Harui
On 10/26/16, 11:07 PM, "yishayw" wrote: >In flash doubleClick events are not dispatched unless >InterActiveObject.doubleClickEnabled is set to true. In HTML there's no >such >property and dblclick is always dispatched. We'd like add >doubleClickEnabled >to FlexJS and were thinking of doing it in

Re: [FlexJS} When to Bead (was Re: [FlexJS] enabled property)

2016-10-26 Thread yishayw
Another advantage of beads, as I see it, is that they can be modular. The way I implemented DisableBead it does the minimum, which is to change style.pointerEvents to 'none', but it also dispatches a 'disabledChange' event on the strand. The latter allows an additional bead, e.g. BlurBead, to liste

[FlexJS] DoubleClickEnabledBead ?

2016-10-26 Thread yishayw
In flash doubleClick events are not dispatched unless InterActiveObject.doubleClickEnabled is set to true. In HTML there's no such property and dblclick is always dispatched. We'd like add doubleClickEnabled to FlexJS and were thinking of doing it in a bead. The question is how to implement it on

Re: [Website] gitpubsub working and NG-Website online

2016-10-26 Thread Harbs
Congratulations! Great news! I think the site is looking pretty good! Some small things I noticed: "Latest News” on the home page extends way beyond the other elements. I wonder if it should be inside a scrollable div or something. There’s extra “[]” characters in the bottom of the slider. Wher

Re: [FlexJS] HTMLElementWrapper extending Sprite

2016-10-26 Thread Harbs
Sure, components should try and validate their values, but client code is not necessarily components, and it’s pretty easy to introduce a bug where client code supplies a wrong value. I do a lot of loading of content programmatically. This includes things like colors. The dynamic content does n

Re: MDL Tweet

2016-10-26 Thread OmPrakash Muppirala
Done! On Wed, Oct 26, 2016 at 2:29 PM, Carlos Rovira wrote: > Please, retweet to make some noise out there! :) > > https://twitter.com/carlosrovira/status/791379921746690049 > > > -- > Carlos Rovira > http://about.me/carlosrovira >

[FlexJS} When to Bead (was Re: [FlexJS] enabled property)

2016-10-26 Thread Alex Harui
Hi Carlos, I just saw your tweet with the MDL example in front of the MXML for it. There seemed like a lot of MXML in the example. I was wondering if you considered baking in the Prompt and Disable beads into your example to make it less verbose. The reason the Basic components have TextPromptB

Re: [FlexJS] enabled property

2016-10-26 Thread Alex Harui
On 10/26/16, 2:18 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi, > >I implemented the Disabled bead, just notice that > >host.element is HTMLInputElement is not working, I had to comment lines as >below to get it working. >I don't understand @flexjsignorecoercion HTMLInput

MDL Tweet

2016-10-26 Thread Carlos Rovira
Please, retweet to make some noise out there! :) https://twitter.com/carlosrovira/status/791379921746690049 -- Carlos Rovira http://about.me/carlosrovira

Re: [FlexJS] enabled property

2016-10-26 Thread Carlos Rovira
Hi, I implemented the Disabled bead, just notice that host.element is HTMLInputElement is not working, I had to comment lines as below to get it working. I don't understand @flexjsignorecoercion HTMLInputElement I thought that line was to make "is" work here. So for now I lett the method as show

[Website] gitpubsub working and NG-Website online

2016-10-26 Thread Christofer Dutz
Hi guys, today I was made member of the infrastructure group and my first commit was to activate gitpubsub to sync the asf-site branch I setup in the flex-site git repo to "http://flex.apache.org/ng";. This was the missing step on getting the new site online. There still need to be some things

Re: [FlexJS] HTMLElementWrapper extending Sprite

2016-10-26 Thread Alex Harui
On 10/26/16, 1:01 PM, "Harbs" wrote: >Maybe we can have a compiler option to rename properties that are not >wrapped in platform-specific code? Possibly. We'll see how often such an issue comes up as the tool chain evolves. A key point to keep in mind from this thread is that Flex does have

Re: [FlexJS] HTMLElementWrapper extending Sprite

2016-10-26 Thread Alex Harui
On 10/26/16, 12:59 PM, "Harbs" wrote: >Pretty likely. The color values can come from anywhere. We happened to >have the values coming from compiled code (so compile-time checks could >have caught that case), but other colors in our app are created at >runtime. > >Runtime colors seems like a lik

Re: [2/4] git commit: [flex-asjs] [refs/heads/refactor-sprite] - Check for illegal color values

2016-10-26 Thread Harbs
Probably because the if statement is empty. I’m going to add that logic tomorrow. On Oct 26, 2016, at 10:47 PM, Alex Harui wrote: > > > On 10/26/16, 8:53 AM, "yish...@apache.org" wrote: >> >> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/24c2fdfa/frameworks/ >> projects/Core/src/mai

Re: [FlexJS] HTMLElementWrapper extending Sprite

2016-10-26 Thread Harbs
Maybe we can have a compiler option to rename properties that are not wrapped in platform-specific code? On Oct 26, 2016, at 8:43 PM, Alex Harui wrote: > For sure, > if you unwittingly try to add a buttonMode property to a UIBase subclass > you'll find out that the underlying Sprite already has

Re: [FlexJS] HTMLElementWrapper extending Sprite

2016-10-26 Thread Harbs
Pretty likely. The color values can come from anywhere. We happened to have the values coming from compiled code (so compile-time checks could have caught that case), but other colors in our app are created at runtime. Runtime colors seems like a likely scenario. On Oct 26, 2016, at 8:43 PM, Al

Re: [2/4] git commit: [flex-asjs] [refs/heads/refactor-sprite] - Check for illegal color values

2016-10-26 Thread Alex Harui
On 10/26/16, 8:53 AM, "yish...@apache.org" wrote: > >http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/24c2fdfa/frameworks/ >projects/Core/src/main/flex/org/apache/flex/utils/CSSUtils.as >-- >diff --git >a/frameworks/projec

Re: [FlexJS] HTMLElementWrapper extending Sprite

2016-10-26 Thread Alex Harui
On 10/25/16, 12:40 PM, "Harbs" wrote: > >My opinion comes from a lot of frustration related to the subclassing. If >you can fix all that and prove me wrong, I’m a happy camper… ;-) I want to set expectations properly. There might be some usability trade-offs or rough edges around working with

Re: [FlexJS] Links, ToggleSwitch and Image Questions

2016-10-26 Thread Harbs
is mostly unchanged and it wraps an img tag. wraps an SVG inside an element. Note there’s BinaryImage as well as Image. The basic difference is that BinaryImage can take a BinaryData object for the image file (loaded using XHR), while Image takes a simple url. On Oct 26, 2016, at 8:06 PM, A

Re: Problems with the Installer

2016-10-26 Thread Alex Harui
OK, pushed a fix. New nightly build should be available in about 45 minutes. -Alex On 10/26/16, 8:01 AM, "Alex Harui" wrote: >Looks like it broke last Thursday. I will fix it shortly. > >Sent from my LG G3, an AT&T 4G LTE smartphone > >-- Original message-- >From: OK >Date: Wed, Oct 26

Re: [FlexJS] Links, ToggleSwitch and Image Questions

2016-10-26 Thread Alex Harui
On 10/26/16, 7:19 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: > >3.- I start to need manage images (jpg, png,...) but I'm a bit lost with >this in general, there's some documentation about image management in >FlexJS? I see there's a js:Image component, but I think my needs

Re: typedef error building falcon

2016-10-26 Thread Alex Harui
Maven build is not affected. The changes I put in were to build some redundancy in our CI Ant builds. The ingredients and the order of them didn't really change, I was just trying to have a backup cache of downloads in case the over-the-network download failed. I've gotten tired of seeing the br

Re: typedef error building falcon

2016-10-26 Thread Carlos Rovira
I build this morning with maven and had no problems...this means, maven build is not affected? or maybe that changes would not be implemented in pom.xml? thanks 2016-10-26 18:53 GMT+02:00 Alex Harui : > > On 10/26/16, 6:48 AM, "Harbs" wrote: > > >There was an error in the build.xml file. > > >

Re: typedef error building falcon

2016-10-26 Thread Alex Harui
On 10/26/16, 6:48 AM, "Harbs" wrote: >There was an error in the build.xml file. > >I think I fixed it. Thanks. Looks like I happened to have stale files at the old location. -Alex

Re: Flex news site and rss feed

2016-10-26 Thread Alex Harui
I have yet to try Whatsapp and things like that. And I rarely tweet. But I did remember that Twitter has hash tags. It looks like there are some ways to gather news based on hashtags, so if everyone who writes something about Flex tweets about it with certain hash tags, Twitter Search and TweetD

Re: Problems with the Installer

2016-10-26 Thread Alex Harui
Looks like it broke last Thursday. I will fix it shortly. Sent from my LG G3, an AT&T 4G LTE smartphone -- Original message-- From: OK Date: Wed, Oct 26, 2016 7:33 AM To: dev@flex.apache.org; Subject:Re: Problems with the Installer Same issue for me: I tried to install the Flexjs nightly

Re: [FlexJS] Links, ToggleSwitch and Image Questions

2016-10-26 Thread Peter Ent
The purpose of the Mobile project was to provide code that works mainly with either Cordova or AIR. Some components were meant to mimic iOS or Android (which I am not familiar with at all) such as the Stacked and Tabbed view navigators. Other components are typically found on mobile devices and mig

Re: Problems with the Installer

2016-10-26 Thread OK
Same issue for me: I tried to install the Flexjs nightly 3 times a few hours ago... Olaf -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Problems-with-the-Installer-tp56020p56023.html Sent from the Apache Flex Development mailing list archive at Nabble.com

[FlexJS] Links, ToggleSwitch and Image Questions

2016-10-26 Thread Carlos Rovira
Hi, I feel making progress with MDL and in order to continue my journey I want to ask some things: 1.- Is there some FlexJS component to make a simple link? (http://about.me/carlosrovira

Re: Problems with the Installer

2016-10-26 Thread Harbs
I just got the same error… I used verbose logging and here’s the end of the log: copy-if-cached: Download complete [mkdir] Created directory /Users/harbs/Documents/Apache Flex Dist/__FlexJSNightly__/in/swfobject [unzip] Expanding /Users/harbs/Documents/Apache Flex Dist/__FlexJSNightly__

Problems with the Installer

2016-10-26 Thread Christofer Dutz
Hi, I am currently trying to finish the distribution creation and for this I wanted to download the latest nightly build and it seems the installer has a problem. It fails in the last box with a code 3003 (Whatever that means) Here the log: Version 3.1.0 (mac) Using Locale: de_DE Ermitteln

Re: typedef error building falcon

2016-10-26 Thread Harbs
There was an error in the build.xml file. I think I fixed it. On Oct 26, 2016, at 3:41 PM, Harbs wrote: > I’m not sure what changed, but I’m getting the following error building > falcon: > > preprocess: > > getfile: > [get] Destination already exists (skipping): > /Users/harbs/Documen

typedef error building falcon

2016-10-26 Thread Harbs
I’m not sure what changed, but I’m getting the following error building falcon: preprocess: getfile: [get] Destination already exists (skipping): /Users/harbs/Documents/ApacheFlex/flex-typedefs/node/target/downloads/closure-compiler-master/contrib/nodejs/assert.js double-check-file:

Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps)

2016-10-26 Thread Carlos Rovira
I implemented an EffectBead. For now I used a String, but I think I'll be changing to use flags as Josh proposed. 2016-10-25 0:17 GMT+02:00 Alex Harui : > > > On 10/24/16, 2:49 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" > > wrote: > > >Hi Om, > > > >the last sample seems good to me

Re: [FlexJS] returning surrounding element in TextInput

2016-10-26 Thread Carlos Rovira
Hi Alex, I implemented the TextPrompBead for MDL and all is working good :) it was needed an MDL one since MDL does not use placeholder property but a text inside the label. Thanks 2016-10-26 12:06 GMT+02:00 Carlos Rovira : > Hi Alex, > > the problem was the missing text inside label tags th

Re: [FlexJS] returning surrounding element in TextInput

2016-10-26 Thread Carlos Rovira
Hi Alex, the problem was the missing text inside label tags that make the effect to play nicely. I think a PromptBead would be good as well, so I'll but it in my todo as well other beads we commented. Thanks again for your help :) Carlos 2016-10-25 20:28 GMT+02:00 Alex Harui : > I took a qui

Re: Flex news site and rss feed

2016-10-26 Thread Fréderic Cox
Isn't their a tool out there that distributes content from one place (Wordpress, CMS, ..) to social media accounts and RSS? On Wed, Oct 26, 2016 at 10:30 AM, Carlos Rovira < carlos.rov...@codeoscopic.com> wrote: > Hi, > > I think RSS was great 10 years ago but nowadays people has Apps like > What

Re: Flex news site and rss feed

2016-10-26 Thread Carlos Rovira
Hi, I think RSS was great 10 years ago but nowadays people has Apps like Whatsapp and Telegram more at hand (I personally does not have a RSS reader installed). So, a great way to push notifications to people is create a channel or bot in Telegram App. And admins could insert content and reach to