git commit: [flex-asjs] [refs/heads/develop] - Make application implement IInitialViewApplication

2016-11-06 Thread yishayw
Repository: flex-asjs
Updated Branches:
  refs/heads/develop d47d3d92e -> 3c703fede


Make application implement IInitialViewApplication


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/3c703fed
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/3c703fed
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/3c703fed

Branch: refs/heads/develop
Commit: 3c703fede373946f90eea7e8561eaa4d56fa5ab6
Parents: d47d3d9
Author: yishayw 
Authored: Mon Nov 7 09:23:48 2016 +0200
Committer: yishayw 
Committed: Mon Nov 7 09:23:48 2016 +0200

--
 .../flex/org/apache/flex/core/Application.as| 53 +---
 1 file changed, 35 insertions(+), 18 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3c703fed/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/Application.as
--
diff --git 
a/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/Application.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/Application.as
index 2277802..bef9f3d 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/Application.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/Application.as
@@ -18,19 +18,19 @@
 

 package org.apache.flex.core
 {
+
+
 import org.apache.flex.events.Event;
 import org.apache.flex.events.IEventDispatcher;
-import org.apache.flex.events.MouseEvent;
 import org.apache.flex.utils.MXMLDataInterpreter;
 import org.apache.flex.utils.Timer;
 
 COMPILE::SWF {
+   import flash.display.Stage;
 import flash.display.DisplayObject;
 import flash.display.Graphics;
 import flash.display.Sprite;
import flash.events.Event;
-import flash.system.ApplicationDomain;
-import flash.utils.getQualifiedClassName;
 import org.apache.flex.events.utils.MouseEventConverter;
 }
 
@@ -109,11 +109,11 @@ package org.apache.flex.core
  *
  *  @see ViewBase
  *  @langversion 3.0
- *  @playerversion Flash 10.2
+ *  @playerversion Flash 10.2 
  *  @playerversion AIR 2.6
  *  @productversion FlexJS 0.0
  */
-public class Application extends ApplicationBase implements IStrand, 
IParent, IEventDispatcher, ISWFApplication, IPopUpHost, IRenderedObject
+public class Application extends ApplicationBase implements 
IInitialViewApplication, IStrand, IParent, IEventDispatcher, ISWFApplication, 
IPopUpHost, IRenderedObject
 {
 /**
  *  Constructor.
@@ -257,18 +257,7 @@ package org.apache.flex.core
 ValuesManager.valuesImpl.init(this);
 }
 
-/**
- *  The initial view.
- *
- *  @see org.apache.flex.core.ViewBase
- *
- *  @langversion 3.0
- *  @playerversion Flash 10.2
- *  @playerversion AIR 2.6
- *  @productversion FlexJS 0.0
- */
-[Bindable("__NoChangeEvent__")]
-public var initialView:IApplicationView;
+private var _initialView:IApplicationView;
 
 /**
  *  The controller.  The controller typically watches
@@ -556,5 +545,33 @@ package org.apache.flex.core
}
}

-}
+   /**
+*  The initial view.
+*
+*  @see org.apache.flex.core.ViewBase
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   [Bindable("__NoChangeEvent__")]
+   public function get initialView():IApplicationView
+   {
+   return _initialView;
+   }
+   
+   public function set initialView(value:IApplicationView):void
+   {
+   _initialView = value;
+   dispatchEvent(new 
org.apache.flex.events.Event("__NoChangeEvent__");
+   }
+   
+   COMPILE::SWF
+   public function get stage():Stage
+   {
+   return $displayObject.stage;
+   }
+   
+   }
 }



[33/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Refactor Badge

2016-11-06 Thread cdutz
Refactor Badge


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/2300e3ab
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/2300e3ab
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/2300e3ab

Branch: refs/heads/feature/mdl
Commit: 2300e3ab94039667a6c6bbde8ddf6695e39ecc96
Parents: a853cc2
Author: Carlos Rovira 
Authored: Fri Nov 4 12:14:52 2016 +0100
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|  16 +-
 .../src/main/flex/org/apache/flex/mdl/Badge.as  | 233 ---
 .../src/main/flex/org/apache/flex/mdl/Link.as   | 137 +++
 .../flex/org/apache/flex/mdl/beads/Badge.as | 157 +
 .../org/apache/flex/mdl/beads/BadgeEffect.as| 121 --
 .../flex/org/apache/flex/mdl/beads/Disabled.as  |   2 +-
 .../src/main/resources/mdl-manifest.xml |   4 +-
 7 files changed, 307 insertions(+), 363 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2300e3ab/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 111deed..abece5f 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -109,13 +109,17 @@ limitations under the License.
 
 
 
-http://flex.apache.org;>
+http://flex.apache.org;>
 
-
+
 
-
+
 
-http://flex.apache.org"/>
+http://flex.apache.org;>
+
+
+
+
 
 
 
@@ -129,7 +133,7 @@ limitations under the License.
 
 
 
-
+
 
 
 
@@ -137,7 +141,7 @@ limitations under the License.
 
 
 
-
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2300e3ab/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Badge.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Badge.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Badge.as
deleted file mode 100644
index fa4ffd1..000
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Badge.as
+++ /dev/null
@@ -1,233 +0,0 @@
-
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//  http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-
-package org.apache.flex.mdl
-{
-   import org.apache.flex.core.UIBase;
-
-COMPILE::JS
-{
-import org.apache.flex.core.WrappedHTMLElement;
-}
-
-   /**
-*  The Badge class provides a MDL UI-like appearance for a badge.
-*  A Badge is an onscreen notification element consists of a small 
circle, 
- *  typically containing a number or other characters, that appears in 
- *  proximity to another object
-*  
-*  @langversion 3.0
-*  @playerversion Flash 10.2
-*  @playerversion AIR 2.6
-*  @productversion FlexJS 0.0
-*/
-   public class Badge extends UIBase
-   

[40/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - - Fixed some minor things in the poms.

2016-11-06 Thread cdutz
- Fixed some minor things in the poms.


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/dd642108
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/dd642108
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/dd642108

Branch: refs/heads/feature/mdl
Commit: dd64210895ffd82b1a10a790f2ddc1534df30d5b
Parents: a6ea45a
Author: Christofer Dutz 
Authored: Mon Nov 7 08:00:03 2016 +0100
Committer: Christofer Dutz 
Committed: Mon Nov 7 08:00:03 2016 +0100

--
 examples/flexjs/MDLExample/pom.xml | 15 -
 examples/pom.xml   | 37 ++---
 2 files changed, 30 insertions(+), 22 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dd642108/examples/flexjs/MDLExample/pom.xml
--
diff --git a/examples/flexjs/MDLExample/pom.xml 
b/examples/flexjs/MDLExample/pom.xml
index 3a31b25..464adca 100644
--- a/examples/flexjs/MDLExample/pom.xml
+++ b/examples/flexjs/MDLExample/pom.xml
@@ -36,13 +36,18 @@
 
   
 src/main/flex
+
+  
+src/main/resources
+  
+
 
   
 org.apache.flex.flexjs.compiler
 flexjs-maven-plugin
 true
 
-  20.0
+  
   App.mxml
 
 
@@ -72,12 +77,12 @@
   
 
   
-
+
 
 
   org.apache.flex.flexjs.framework
@@ -96,7 +101,7 @@
 
 
 
-
+
   
 
 
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dd642108/examples/pom.xml
--
diff --git a/examples/pom.xml b/examples/pom.xml
index 6f981d4..e0c8976 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -34,6 +34,10 @@
 
   Apache Flex - FlexJS: Examples
 
+  
+
${basedir}/target/javascript/bin/js-debug
+  
+
   
 flexjs
 
@@ -51,6 +55,15 @@
 
 
   
+
+
+  org.apache.maven.plugins
+  maven-resources-plugin
+  3.0.1
+  
+${compiler.output-dir}
+  
+
 
   org.apache.flex.flexjs.compiler
   flexjs-maven-plugin
@@ -84,13 +97,13 @@
 
   
   
-
${basedir}/target/javascript/bin/js-debug
+${compiler.output-dir}
 false
-
+
   
 
 
@@ -130,20 +143,10 @@
   
 
   release
-  
-
-  
-
-  org.apache.maven.plugins
-  maven-war-plugin
-  2.6
-  
-
${basedir}/target/javascript/bin/js-release
-  
-
-  
-
-  
+
+  
+
${basedir}/target/javascript/bin/js-release
+  
 
 
 



[12/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - MDL TextInput

2016-11-06 Thread cdutz
MDL TextInput


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/c09f52e4
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/c09f52e4
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/c09f52e4

Branch: refs/heads/feature/mdl
Commit: c09f52e4cfc424a8a2b2415f58229fed7b149b1d
Parents: 225ecf3
Author: Carlos Rovira 
Authored: Mon Oct 17 13:40:29 2016 +0200
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 .../main/flex/org/apache/flex/mdl/TextInput.as  | 99 
 .../src/main/resources/mdl-manifest.xml |  2 +-
 2 files changed, 100 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c09f52e4/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
new file mode 100644
index 000..dace484
--- /dev/null
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
@@ -0,0 +1,99 @@
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+package org.apache.flex.mdl
+{
+   import org.apache.flex.html.TextInput;
+
+COMPILE::JS
+{
+import goog.events;
+import org.apache.flex.core.WrappedHTMLElement;
+}
+
+/**
+ *  The TextInput class provides a Material Design Library UI-like 
appearance for
+ *  a TextInput.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public class TextInput extends org.apache.flex.html.TextInput
+   {
+/**
+ *  Constructor.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public function TextInput()
+   {
+   super();
+   }
+   
+/**
+ * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+ */
+COMPILE::JS
+override protected function createElement():WrappedHTMLElement
+{
+var div:HTMLDivElement;
+var input:HTMLInputElement;
+var label:HTMLLabelElement;
+var textNode:Text;
+//element = document.createElement('input') as WrappedHTMLElement;
+
+div = document.createElement('div') as HTMLDivElement;
+div.className = "mdl-textfield mdl-js-textfield";
+
+input = document.createElement('input') as HTMLInputElement;
+input.setAttribute('type', 'text');
+input.className = 'mdl-textfield__input';
+
+label = document.createElement('label') as HTMLLabelElement;
+label.className = "mdl-textfield__label";
+
+textNode = document.createTextNode('Text...') as Text;
+label.appendChild(textNode);
+//element.className = 'TextInput';
+//typeNames = 'TextInput';
+
+div.appendChild(input);
+div.appendChild(label);
+
+element = div as WrappedHTMLElement;
+
+//attach input handler to dispatch flexjs change event when user 
write in textinput
+//goog.events.listen(element, 'change', killChangeHandler);
+goog.events.listen(input, 'input', textChangeHandler);
+
+positioner = element;
+positioner.style.position = 'relative';
+(div as WrappedHTMLElement).flexjs_wrapper = this;
+(input as WrappedHTMLElement).flexjs_wrapper = this;

[19/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Fixed radio button

2016-11-06 Thread cdutz
Fixed radio button


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/aa944f5c
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/aa944f5c
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/aa944f5c

Branch: refs/heads/feature/mdl
Commit: aa944f5c7a86aec7a78bcbeaa3b37637f218a4a7
Parents: ffa7252
Author: Carlos Rovira 
Authored: Tue Oct 25 00:06:03 2016 +0200
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 .../flex/org/apache/flex/mdl/RadioButton.as | 84 
 1 file changed, 33 insertions(+), 51 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/aa944f5c/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
index d19ce78..ee79872 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
@@ -26,6 +26,7 @@ package org.apache.flex.mdl
 {
 import org.apache.flex.core.UIBase;
 import org.apache.flex.core.WrappedHTMLElement;
+import org.apache.flex.html.supportClasses.RadioButtonIcon;
 }
 
 /**
@@ -74,8 +75,8 @@ package org.apache.flex.mdl
  */
 public static var radioCounter:int = 0;
 
-private var input:HTMLInputElement;
 private var radio:HTMLSpanElement;
+private var icon:RadioButtonIcon;
 private var label:HTMLLabelElement;
 private var textNode:Text;
 
@@ -88,22 +89,19 @@ package org.apache.flex.mdl
  */
 override protected function createElement():WrappedHTMLElement
 { 
-// hide this eleement
-input = document.createElement('input') as HTMLInputElement;
-input.type = 'radio';
-input.className = 'mdl-radio__button';
-input.id = '_radio_' + radioCounter++;
-input.addEventListener('change', selectionChangeHandler, false);  
+icon = new RadioButtonIcon();
+icon.className = 'mdl-radio__button';
+icon.id = '_radio_' + RadioButton.radioCounter++;
+
+textNode = document.createTextNode('') as Text;
 
 radio = document.createElement('span') as HTMLSpanElement;
 radio.className = 'mdl-radio__label';
 radio.addEventListener('mouseover', mouseOverHandler, false);
 radio.addEventListener('mouseout', mouseOutHandler, false);
 
-textNode = document.createTextNode('') as Text;
-
 label = document.createElement('label') as HTMLLabelElement;
-label.appendChild(input);
+label.appendChild(icon.element);
 label.appendChild(radio);
 radio.appendChild(textNode);
 label.style.position = 'relative';
@@ -112,10 +110,10 @@ package org.apache.flex.mdl
 
 positioner = element;
 positioner.style.position = 'relative';
-(input as WrappedHTMLElement).flexjs_wrapper = this;
-(radio as WrappedHTMLElement).flexjs_wrapper = this;
-element.flexjs_wrapper = this;
+(element as WrappedHTMLElement).flexjs_wrapper = this;
 (textNode as WrappedHTMLElement).flexjs_wrapper = this;
+(icon.element as WrappedHTMLElement).flexjs_wrapper = this;
+(radio as WrappedHTMLElement).flexjs_wrapper = this;
 
 className = typeNames = 'mdl-radio mdl-js-radio';
 
@@ -158,20 +156,16 @@ package org.apache.flex.mdl
 {
 super.id = value;
 label.id = value;
-input.id = value;
+icon.element.id = value;
 }
 
-/**
- * @flexjsignorecoercion String
- */
 public function get groupName():String
 {
-return input.name as String;
+return (icon.element as HTMLInputElement).name as String;
 }
-
 public function set groupName(value:String):void
 {
-input.name = value;
+(icon.element as HTMLInputElement).name = value;
 }
 
 public function get text():String
@@ -184,74 +178,62 @@ package org.apache.flex.mdl
 textNode.nodeValue = value;
 }
 
+/** @export */
 public function get selected():Boolean

[13/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - CheckBox and RadioButton examples

2016-11-06 Thread cdutz
CheckBox and RadioButton examples


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/0e69bb82
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/0e69bb82
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/0e69bb82

Branch: refs/heads/feature/mdl
Commit: 0e69bb826782533c8e51a1400f2b55fd8eb39fe6
Parents: bc9afcf
Author: Carlos Rovira 
Authored: Mon Oct 17 17:59:17 2016 +0200
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 examples/flexjs/MDLExample/src/main/flex/App.mxml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0e69bb82/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 242df22..209efae 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -63,9 +63,11 @@ limitations under the License.
 
 
 
-
+
 
 
+
+
 
 
 



[07/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Add MDL module to pom

2016-11-06 Thread cdutz
Add MDL module to pom


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/cb448c09
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/cb448c09
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/cb448c09

Branch: refs/heads/feature/mdl
Commit: cb448c0954f9ea8795269d66ab4509c29905269f
Parents: acf81d2
Author: Carlos Rovira 
Authored: Fri Oct 14 20:52:53 2016 +0200
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 frameworks/projects/pom.xml | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/cb448c09/frameworks/projects/pom.xml
--
diff --git a/frameworks/projects/pom.xml b/frameworks/projects/pom.xml
index 63d5252..653e34a 100644
--- a/frameworks/projects/pom.xml
+++ b/frameworks/projects/pom.xml
@@ -48,6 +48,7 @@
 HTML5
 JQuery
 Language
+MaterialDesignLite
 Mobile
 Network
 Reflection



[31/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - CardInner containers and effects

2016-11-06 Thread cdutz
CardInner containers and effects


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/3220303b
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/3220303b
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/3220303b

Branch: refs/heads/feature/mdl
Commit: 3220303bb85112364f680e87a8262513b7abbd67
Parents: fe409f7
Author: Carlos Rovira 
Authored: Fri Nov 4 00:33:19 2016 +0100
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml| 15 +--
 .../src/main/resources/mdl-styles.css   |  4 +-
 .../flex/org/apache/flex/mdl/CardActions.as |  4 +-
 .../main/flex/org/apache/flex/mdl/CardMedia.as  |  6 +-
 .../org/apache/flex/mdl/CardSupportingText.as   |  4 +-
 .../main/flex/org/apache/flex/mdl/CardTitle.as  |  4 +-
 .../org/apache/flex/mdl/beads/CardEffect.as | 24 ++---
 .../apache/flex/mdl/beads/CardInnerEffect.as| 98 
 .../apache/flex/mdl/supportClasses/CardInner.as | 81 
 .../src/main/resources/mdl-manifest.xml |  2 +
 10 files changed, 215 insertions(+), 27 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3220303b/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index dff092f..9f3fb79 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -124,20 +124,23 @@ limitations under the License.
 
 
 
-
+
 
-
+
 
-
-
+
+
 
 
-
+
 
 
-
+
 
 
+
+
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3220303b/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
--
diff --git a/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css 
b/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
index 42db67d..bd344c1 100644
--- a/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
+++ b/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
@@ -38,4 +38,6 @@ Image
vertical-align: top;
IBeadModel: 
ClassReference("org.apache.flex.html.beads.models.ImageModel");
IBeadView:  ClassReference("org.apache.flex.html.beads.ImageView");
-}
\ No newline at end of file
+}
+
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3220303b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardActions.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardActions.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardActions.as
index 5328dc8..c821a2b 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardActions.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardActions.as
@@ -18,7 +18,7 @@
 

 package org.apache.flex.mdl
 {
-   import org.apache.flex.core.ContainerBase;
+   import org.apache.flex.mdl.supportClasses.CardInner;
 
 COMPILE::JS
 {
@@ -40,7 +40,7 @@ package org.apache.flex.mdl
 *  @playerversion AIR 2.6
 *  @productversion FlexJS 0.0
 */
-   public class CardActions extends ContainerBase
+   public class CardActions extends CardInner
{
/**
 *  constructor.

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3220303b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardMedia.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardMedia.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardMedia.as
index dba03b9..278fb52 100644
--- 

[34/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Disabled bead

2016-11-06 Thread cdutz
Disabled bead


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/1f28492f
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/1f28492f
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/1f28492f

Branch: refs/heads/feature/mdl
Commit: 1f28492f341be3105f28991bf38213c2aa53c21a
Parents: 3cfdd6e
Author: Carlos Rovira 
Authored: Wed Oct 26 23:19:29 2016 +0200
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|  3 +-
 .../flex/org/apache/flex/mdl/beads/Disabled.as  | 80 
 .../src/main/resources/mdl-manifest.xml |  1 +
 3 files changed, 83 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f28492f/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 0507f21..472f556 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -65,10 +65,11 @@ limitations under the License.
 
 
 
-
+
 
 
 
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f28492f/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Disabled.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Disabled.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Disabled.as
new file mode 100644
index 000..46067ff
--- /dev/null
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Disabled.as
@@ -0,0 +1,80 @@
+
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+package org.apache.flex.mdl.beads
+{  
+   import org.apache.flex.core.IBead;
+   import org.apache.flex.core.IStrand;
+   import org.apache.flex.core.UIBase;
+   import org.apache.flex.events.Event;
+   import org.apache.flex.events.IEventDispatcher;
+   
+   /**
+*  The Disabled bead class is a specialty bead that can be used to 
disable a MDL control.
+*  
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public class Disabled implements IBead
+   {
+   /**
+*  constructor.
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public function Disabled()
+   {
+   }
+   
+   private var _strand:IStrand;
+   
+   /**
+*  @copy org.apache.flex.core.IBead#strand
+*  
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*  @flexjsignorecoercion HTMLInputElement
+*  @flexjsignorecoercion org.apache.flex.core.UIBase;
+*/
+   public function set strand(value:IStrand):void
+   {
+   _strand = value;
+   
+   COMPILE::JS
+  

[23/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - MDL EffectBead in place (for now using a string, maybe better change to boolean flags)

2016-11-06 Thread cdutz
MDL EffectBead in place (for now using a string, maybe better change to boolean 
flags)


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/d442a755
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/d442a755
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/d442a755

Branch: refs/heads/feature/mdl
Commit: d442a755b6a73e357026639eb1ab2f8036598a5b
Parents: e07a2a4
Author: Carlos Rovira 
Authored: Wed Oct 26 12:57:18 2016 +0200
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|  45 ++--
 .../src/main/flex/org/apache/flex/mdl/Button.as |  25 -
 .../main/flex/org/apache/flex/mdl/CheckBox.as   |  16 ---
 .../flex/org/apache/flex/mdl/RadioButton.as |  17 ---
 .../main/flex/org/apache/flex/mdl/TextInput.as  |  20 +---
 .../org/apache/flex/mdl/beads/EffectBead.as | 107 +++
 .../src/main/resources/mdl-manifest.xml |   1 +
 7 files changed, 145 insertions(+), 86 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d442a755/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 9f1be78..82126a4 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -37,21 +37,40 @@ limitations under the License.
 
 
 
-
+
+
+
+
 add
 
 
 
-
+
+
+
+
 face
 
 
 
-
+
+
+
+
+
+
 
-
+
+
+
+
+
 
-
+
+
+
+
+
 
 
 
@@ -60,18 +79,26 @@ limitations under the License.
 
 
 
-
+
 
+
 
 
 
 
 
 
-
-
+
+
+
+
+
 
-
+
+
+
+
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d442a755/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
index 7c17757..27116c4 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
@@ -67,30 +67,5 @@ package org.apache.flex.mdl

 return element;
}
-
-/*public static const RAISED_EFFECT:String = "mdl-button--raised";
-public static const FAB_EFFECT:String = "mdl-button--fab";
-public static const MINI_FAB_EFFECT:String = "mdl-button--mini-fab";
-public static const ICON_EFFECT:String = "mdl-button--icon";
-public static const COLORED_EFFECT:String = "mdl-button--colored";
-public static const PRIMARY_EFFECT:String = "mdl-button--primary";
-public static const ACCENT_EFFECT:String = "mdl-button--accent";
-public static const RIPPLE_EFFECT:String = "mdl-js-ripple-effect";*/
-
-private var _mdlEffect:String = "";
-
-public function get mdlEffect():String
-{
-return _mdlEffect;
-}
-
-public function set mdlEffect(value:String):void
-{
-_mdlEffect = value;
-COMPILE::JS 
-   

[27/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Minor changes

2016-11-06 Thread cdutz
Minor changes


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/f7eafac5
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/f7eafac5
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/f7eafac5

Branch: refs/heads/feature/mdl
Commit: f7eafac59f0cb57945693f351f360c558cce2f50
Parents: 1f28492
Author: Carlos Rovira 
Authored: Thu Oct 27 18:28:34 2016 +0200
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 examples/flexjs/MDLExample/pom.xml  |  6 ++
 .../flexjs/MDLExample/src/main/flex/App.mxml|  6 +-
 .../src/main/resources/mdl-styles.css   | 20 ++---
 .../main/flex/org/apache/flex/mdl/CheckBox.as   | 85 ++--
 .../flex/org/apache/flex/mdl/beads/Disabled.as  | 20 -
 .../src/main/resources/defaults.css |  7 +-
 6 files changed, 66 insertions(+), 78 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f7eafac5/examples/flexjs/MDLExample/pom.xml
--
diff --git a/examples/flexjs/MDLExample/pom.xml 
b/examples/flexjs/MDLExample/pom.xml
index 3a31b25..1503b57 100644
--- a/examples/flexjs/MDLExample/pom.xml
+++ b/examples/flexjs/MDLExample/pom.xml
@@ -44,6 +44,12 @@
 
   20.0
   App.mxml
+  
+
+  defaults.css
+  ../src/main/resources/defaults.css
+
+  
 
 
   

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f7eafac5/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 472f556..9f76732 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -53,20 +53,20 @@ limitations under the License.
 
 
 
-
+
 
 
 
 
 
 
-
+
 
 
 
 
 
-
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f7eafac5/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
--
diff --git a/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css 
b/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
index 6a07905..3da8515 100644
--- a/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
+++ b/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
@@ -19,14 +19,16 @@
 

 */
 
-.demo-card-wide.mdl-card {
-  width: 512px;
+@namespace "library://ns.apache.org/flexjs/basic";
+
+.flexjs *, . flexjs *:before, . flexjs *:after {
+-moz-box-sizing: border-box;
+-webkit-box-sizing: border-box;
+box-sizing: border-box;
 }
-.demo-card-wide > .mdl-card__title {
-  color: #fff;
-  height: 176px;
-  background: url('welcome_card.jpg') center / cover;
+
+Application
+{
+   padding: 10px;
+   margin: 10px;
 }
-.demo-card-wide > .mdl-card__menu {
-  color: #fff;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f7eafac5/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
index 4f2bf9e..a4d2a4c 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
@@ -73,64 +73,31 @@ package org.apache.flex.mdl
  */
 override protected function createElement():WrappedHTMLElement
 {
-label = document.createElement('label') as HTMLLabelElement;
-element = label as WrappedHTMLElement;
-
-input = document.createElement('input') as HTMLInputElement;
-input.type = 'checkbox';
-input.className = 'mdl-checkbox__input';
-

[15/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Card component and subcomponents

2016-11-06 Thread cdutz
Card component and subcomponents


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/fe409f70
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/fe409f70
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/fe409f70

Branch: refs/heads/feature/mdl
Commit: fe409f700b2e1340a72df768d1dbd9a2c8bf8c96
Parents: f2b61d6
Author: Carlos Rovira 
Authored: Thu Nov 3 23:20:52 2016 +0100
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 examples/flexjs/MDLExample/pom.xml  |  6 --
 .../flexjs/MDLExample/src/main/flex/App.mxml| 36 +--
 .../src/main/resources/mdl-styles.css   |  7 ++
 .../src/main/flex/org/apache/flex/mdl/Card.as   | 81 
 .../flex/org/apache/flex/mdl/CardActions.as | 80 
 .../main/flex/org/apache/flex/mdl/CardMedia.as  | 80 
 .../org/apache/flex/mdl/CardSupportingText.as   | 80 
 .../main/flex/org/apache/flex/mdl/CardTitle.as  | 80 
 .../org/apache/flex/mdl/beads/CardEffect.as | 98 
 .../src/main/resources/mdl-manifest.xml |  6 ++
 10 files changed, 539 insertions(+), 15 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fe409f70/examples/flexjs/MDLExample/pom.xml
--
diff --git a/examples/flexjs/MDLExample/pom.xml 
b/examples/flexjs/MDLExample/pom.xml
index 17fc28d..3a31b25 100644
--- a/examples/flexjs/MDLExample/pom.xml
+++ b/examples/flexjs/MDLExample/pom.xml
@@ -57,12 +57,6 @@
   true
   
${basedir}/src/main/resources/mdl-js-index-template.html
   
-compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css
-  
-
-  mdl-styles.css
-  ../src/main/resources/mdl-styles.css
-
-  
 
   
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fe409f70/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 8b3ebbc..dff092f 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -27,6 +27,8 @@ limitations under the License.
 
 
 
+ 
+
 
 
 
@@ -122,17 +124,33 @@ limitations under the License.
 
 
 
-
-
-
-
-
-
-
+
 
-
+
 
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fe409f70/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
--
diff --git a/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css 
b/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
index 3da8515..42db67d 100644
--- a/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
+++ b/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
@@ -32,3 +32,10 @@ Application
padding: 10px;
margin: 10px;
 }
+
+Image
+{
+   vertical-align: top;
+   IBeadModel: 
ClassReference("org.apache.flex.html.beads.models.ImageModel");
+   IBeadView:  ClassReference("org.apache.flex.html.beads.ImageView");
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fe409f70/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
new file mode 100644
index 000..c8c1dd2
--- /dev/null
+++ 

[37/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - removed CardEffect bead and incorporated to Card component

2016-11-06 Thread cdutz
removed CardEffect bead and incorporated to Card component


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/a07f6184
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/a07f6184
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/a07f6184

Branch: refs/heads/feature/mdl
Commit: a07f61840ead50e7ccc17618d60d0060f6d6cb7a
Parents: 8bf6156
Author: Carlos Rovira 
Authored: Sat Nov 5 02:01:27 2016 +0100
Committer: Carlos Rovira 
Committed: Sat Nov 5 02:01:27 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|   5 +-
 .../src/main/flex/org/apache/flex/mdl/Card.as   |  26 -
 .../org/apache/flex/mdl/beads/CardEffect.as | 100 ---
 .../src/main/resources/mdl-manifest.xml |   1 -
 4 files changed, 26 insertions(+), 106 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a07f6184/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 3393a5e..9b3f6fe 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -113,10 +113,7 @@ limitations under the License.
 
 
 
-
-
-
-
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a07f6184/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
index c8c1dd2..3835d86 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
@@ -76,6 +76,30 @@ package org.apache.flex.mdl
 className = typeNames = "mdl-card";
 
 return element;
-}
+}
+   
+   protected var _shadow:Number = 0;
+/**
+*  A boolean flag to activate "mdl-shadow--4dp" effect 
selector.
+*  Assigns variable shadow depths (0, 2, 3, 4, 6, 8, or 16) to 
card
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+public function get shadow():Number
+{
+return _shadow;
+}
+public function set shadow(value:Number):void
+{
+   if(value == 0 || value == 2 || value == 3 || value == 4 
|| value == 6 || value == 8 || value == 16)
+   {
+   _shadow = value;
+
+   className += _shadow != 0 ? " mdl-shadow--" + 
_shadow + "dp" : "";
+   }  
+}
}
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a07f6184/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/CardEffect.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/CardEffect.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/CardEffect.as
deleted file mode 100644
index 19e3396..000
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/CardEffect.as
+++ /dev/null
@@ -1,100 +0,0 @@
-
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//  http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  

[04/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - MDL Slider

2016-11-06 Thread cdutz
MDL Slider


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/82d8cc07
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/82d8cc07
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/82d8cc07

Branch: refs/heads/feature/mdl
Commit: 82d8cc07860ae130bc46a822e8119b973159f0ea
Parents: 8a8957a
Author: Carlos Rovira 
Authored: Wed Nov 2 23:39:59 2016 +0100
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 examples/flexjs/MDLExample/pom.xml  |  12 +-
 .../flexjs/MDLExample/src/main/flex/App.mxml|   2 +
 .../main/resources/mdl-js-index-template.html   |   1 +
 .../src/main/flex/MDLClasses.as |  24 +-
 .../src/main/flex/org/apache/flex/mdl/Slider.as | 261 +++
 .../src/main/resources/defaults.css |   9 +-
 .../src/main/resources/mdl-manifest.xml |   1 +
 7 files changed, 289 insertions(+), 21 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/82d8cc07/examples/flexjs/MDLExample/pom.xml
--
diff --git a/examples/flexjs/MDLExample/pom.xml 
b/examples/flexjs/MDLExample/pom.xml
index 1503b57..17fc28d 100644
--- a/examples/flexjs/MDLExample/pom.xml
+++ b/examples/flexjs/MDLExample/pom.xml
@@ -44,12 +44,6 @@
 
   20.0
   App.mxml
-  
-
-  defaults.css
-  ../src/main/resources/defaults.css
-
-  
 
 
   
@@ -63,6 +57,12 @@
   true
   
${basedir}/src/main/resources/mdl-js-index-template.html
   
-compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css
+  
+
+  mdl-styles.css
+  ../src/main/resources/mdl-styles.css
+
+  
 
   
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/82d8cc07/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 9f76732..dca2da1 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -102,6 +102,8 @@ limitations under the License.
 
 
 
+
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/82d8cc07/examples/flexjs/MDLExample/src/main/resources/mdl-js-index-template.html
--
diff --git 
a/examples/flexjs/MDLExample/src/main/resources/mdl-js-index-template.html 
b/examples/flexjs/MDLExample/src/main/resources/mdl-js-index-template.html
index 9eaf780..a2ce192 100644
--- a/examples/flexjs/MDLExample/src/main/resources/mdl-js-index-template.html
+++ b/examples/flexjs/MDLExample/src/main/resources/mdl-js-index-template.html
@@ -20,6 +20,7 @@



+  

   https://fonts.googleapis.com/icon?family=Material+Icons;>
   https://code.getmdl.io/1.2.1/material.indigo-pink.min.css;>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/82d8cc07/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as
--
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as 
b/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as
index c0ea571..7a8d043 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as
@@ -19,19 +19,19 @@
 package
 {
 
-/**
- *  @private
- *  This class is used to link additional classes into mdl.swc
- *  beyond those that are found by dependecy analysis starting
- *  from the classes specified in manifest.xml.
- */
-internal class MDLClasses
-{  
-   COMPILE::SWF
-   {
-   //import org.apache.flex.mdl.beads.TextPromptBead; 
TextPromptBead;
+   /**
+   *  @private
+   *  This class is used to link additional classes into mdl.swc
+   *  beyond those that are found by dependecy analysis starting
+   *  from the classes specified in manifest.xml.
+   */
+   internal class MDLClasses
+   {   
+   COMPILE::SWF
+   {
+   //import org.apache.flex.mdl.beads.TextPromptBead; 
TextPromptBead;
+   }
}
-}
 
 }
 


[09/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Use changes in falcon to inline HTML

2016-11-06 Thread cdutz
Use changes in falcon to inline HTML


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/fe6a81ab
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/fe6a81ab
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/fe6a81ab

Branch: refs/heads/feature/mdl
Commit: fe6a81ab567ef973c3a77276d1c714d1c32e0296
Parents: fc437e2
Author: Carlos Rovira 
Authored: Sun Oct 16 11:05:38 2016 +0200
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 examples/flexjs/MDLExample/src/main/flex/App.mxml | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fe6a81ab/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 4ad2a62..b19b9b4 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -20,7 +20,8 @@ limitations under the License.
 http://ns.adobe.com/mxml/2009;
 xmlns:js="library://ns.apache.org/flexjs/basic"
 xmlns:local="*"
-xmlns:mdl="library://ns.apache.org/flexjs/mdl">
+xmlns:mdl="library://ns.apache.org/flexjs/mdl"
+xmlns="http://www.w3.org/1999/xhtml;>
 
 
 
@@ -29,9 +30,9 @@ limitations under the License.
 
 
 
-
-   
-
+
+   add
+
 
 
 



[38/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Remove CardInnerEffect and set border in CardInner. Remove typeNames in the rest of components

2016-11-06 Thread cdutz
Remove CardInnerEffect and set border in CardInner. Remove typeNames in the 
rest of components


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/88bc82f5
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/88bc82f5
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/88bc82f5

Branch: refs/heads/feature/mdl
Commit: 88bc82f563797c614e984f725791d5e86ab7c3c8
Parents: a07f618
Author: Carlos Rovira 
Authored: Sat Nov 5 14:41:30 2016 +0100
Committer: Carlos Rovira 
Committed: Sat Nov 5 14:41:30 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|  5 +-
 .../src/main/flex/org/apache/flex/mdl/Card.as   |  2 +-
 .../flex/org/apache/flex/mdl/CardActions.as |  2 +-
 .../main/flex/org/apache/flex/mdl/CardMedia.as  |  2 +-
 .../org/apache/flex/mdl/CardSupportingText.as   |  2 +-
 .../main/flex/org/apache/flex/mdl/CardTitle.as  |  2 +-
 .../apache/flex/mdl/beads/CardInnerEffect.as| 98 
 .../apache/flex/mdl/supportClasses/CardInner.as | 25 -
 .../src/main/resources/mdl-manifest.xml |  3 +-
 9 files changed, 30 insertions(+), 111 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/88bc82f5/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 9b3f6fe..50f8ee9 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -123,10 +123,7 @@ limitations under the License.
 
 
 
-
-
-
-
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/88bc82f5/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
index 3835d86..fbfde40 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
@@ -73,7 +73,7 @@ package org.apache.flex.mdl
 positioner.style.position = 'relative';
 element.flexjs_wrapper = this;
 
-className = typeNames = "mdl-card";
+className = "mdl-card";
 
 return element;
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/88bc82f5/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardActions.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardActions.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardActions.as
index c821a2b..01703b1 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardActions.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardActions.as
@@ -72,7 +72,7 @@ package org.apache.flex.mdl
 positioner.style.position = 'relative';
 element.flexjs_wrapper = this;
 
-className = typeNames = "mdl-card__actions";
+className = "mdl-card__actions";
 
 return element;
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/88bc82f5/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardMedia.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardMedia.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardMedia.as
index 278fb52..96489e6 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardMedia.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardMedia.as
@@ -72,7 +72,7 @@ package org.apache.flex.mdl
 positioner.style.position = 'relative';
 element.flexjs_wrapper = this;
 
-className = typeNames = "mdl-card__media";
+className = "mdl-card__media";
 
 return element;
 }


[03/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - MDL Slider fixes

2016-11-06 Thread cdutz
MDL Slider fixes


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/4df65950
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/4df65950
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/4df65950

Branch: refs/heads/feature/mdl
Commit: 4df65950c26a2d16904775984aa20ccc7f25f79c
Parents: 82d8cc0
Author: Carlos Rovira 
Authored: Thu Nov 3 11:00:15 2016 +0100
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|  4 ++-
 .../src/main/flex/org/apache/flex/mdl/Slider.as | 37 +++-
 2 files changed, 24 insertions(+), 17 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4df65950/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index dca2da1..8487f5b 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -102,7 +102,9 @@ limitations under the License.
 
 
 
-
+
+
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4df65950/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as
index 2587227..31267ad 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as
@@ -87,7 +87,7 @@ package org.apache.flex.mdl
 
COMPILE::JS
{
-   (element as HTMLInputElement).value = "" + 
value;
+   (element as HTMLInputElement).value = 
IRangeModel(model).value.toString();
}
}

@@ -109,7 +109,7 @@ package org.apache.flex.mdl
 
COMPILE::JS
{
-   (element as HTMLInputElement).min = "" + value;
+   (element as HTMLInputElement).min = 
IRangeModel(model).minimum.toString();
}
}

@@ -131,7 +131,7 @@ package org.apache.flex.mdl
 
COMPILE::JS
{
-   (element as HTMLInputElement).max = "" + value;
+   (element as HTMLInputElement).max = 
IRangeModel(model).maximum.toString();
}

}
@@ -170,6 +170,11 @@ package org.apache.flex.mdl
 public function set stepSize(value:Number):void
 {
 IRangeModel(model).stepSize = value;
+
+   COMPILE::JS
+   {
+   (element as HTMLInputElement).step = 
IRangeModel(model).stepSize.toString();
+   }
 }
 
 COMPILE::JS
@@ -191,33 +196,33 @@ package org.apache.flex.mdl
 COMPILE::JS
 override protected function createElement():WrappedHTMLElement
 {
-input = document.createElement('input') as HTMLInputElement;
-   input.type = "range";
-   //input.min = "0";
-   //input.max = "100";
-   //input.value = "0";
+   var p:HTMLElement = document.createElement('p') as 
HTMLElement;
+p.style.width = '300px';
 
+   input = document.createElement('input') as 
HTMLInputElement;
+   input.type = "range";
+   input.value = IRangeModel(model).value.toString();
+   input.min = IRangeModel(model).minimum.toString();
+   input.max = IRangeModel(model).maximum.toString();
+   input.step = IRangeModel(model).stepSize.toString();
+   input.className = 'mdl-slider mdl-js-slider';
 
-//input.style.width = '200px';
-//input.style.height = '30px';
+   p.appendChild(input);
 
element = input as WrappedHTMLElement;
 
 //track = new SliderTrackView();
-//addBead(track);
-
+//addBead(track);

[10/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - fix MDL swc to use the correct Button

2016-11-06 Thread cdutz
fix MDL swc to use the correct Button


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/eb120747
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/eb120747
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/eb120747

Branch: refs/heads/feature/mdl
Commit: eb120747bcffae8fd1c28276f5712283c7ce66d5
Parents: ab2f9e7
Author: Alex Harui 
Authored: Sun Oct 16 21:25:09 2016 -0700
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 .../src/main/flex/org/apache/flex/mdl/Button.as | 5 +++--
 .../MaterialDesignLite/src/main/resources/mdl-manifest.xml  | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/eb120747/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
index 11f218c..7f836f6 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
@@ -66,8 +66,9 @@ package org.apache.flex.mdl
 override protected function createElement():WrappedHTMLElement
 {
 var button:HTMLButtonElement;
-
-element = button = document.createElement('button') as 
HTMLButtonElement;
+
+button = document.createElement('button') as HTMLButtonElement;
+element = button as WrappedHTMLElement;
 button.className = 'mdl-button mdl-js-button mdl-button--fab 
mdl-button--colored';
 
 positioner = element;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/eb120747/frameworks/projects/MaterialDesignLite/src/main/resources/mdl-manifest.xml
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/resources/mdl-manifest.xml 
b/frameworks/projects/MaterialDesignLite/src/main/resources/mdl-manifest.xml
index 68dffad..897aab5 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/resources/mdl-manifest.xml
+++ b/frameworks/projects/MaterialDesignLite/src/main/resources/mdl-manifest.xml
@@ -21,7 +21,7 @@
 
 
 
-
+
 
 
 



[06/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Some text input and example changes

2016-11-06 Thread cdutz
Some text input and example changes


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/2c724f7a
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/2c724f7a
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/2c724f7a

Branch: refs/heads/feature/mdl
Commit: 2c724f7ab44a87a7ad61c9075a3b383a2050d0e9
Parents: 652d01b
Author: Carlos Rovira 
Authored: Mon Oct 17 16:16:59 2016 +0200
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml| 57 ++--
 .../main/flex/org/apache/flex/mdl/TextInput.as  |  9 ++--
 2 files changed, 34 insertions(+), 32 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2c724f7a/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 937d8d2..242df22 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -30,39 +30,42 @@ limitations under the License.
 
 
 
-
-
-
-
-
-
-
-add
-
+http://www.google.com;> 
 
-
-add
-
+
+
+
+
+
+   
+
+add
+
 
-
-
-
-
-
-
+
+mood
+
 
-
+
+
+
+
+
+
 
-
+
+add
+
 
-
-
-
-http://www.google.com;>
-
-
-
+ 
 
+
+
+
+
+
+
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2c724f7a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
index dace484..4617678 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
@@ -59,8 +59,7 @@ package org.apache.flex.mdl
 var input:HTMLInputElement;
 var label:HTMLLabelElement;
 var textNode:Text;
-//element = document.createElement('input') as WrappedHTMLElement;
-
+
 div = document.createElement('div') as HTMLDivElement;
 div.className = "mdl-textfield mdl-js-textfield";
 
@@ -71,15 +70,15 @@ package org.apache.flex.mdl
 label = document.createElement('label') as HTMLLabelElement;
 label.className = "mdl-textfield__label";
 
-textNode = document.createTextNode('Text...') as Text;
+textNode = document.createTextNode('') as Text;
 label.appendChild(textNode);
-//element.className = 'TextInput';
-//typeNames = 'TextInput';
 
 div.appendChild(input);
 div.appendChild(label);
 
 element = div as WrappedHTMLElement;
+//element.className = 'TextInput';
+typeNames = 'TextInput';
 
 //attach input handler to dispatch flexjs change event when user 
write in textinput
 //goog.events.listen(element, 'change', killChangeHandler);



[35/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Fix to complain with the last refactor

2016-11-06 Thread cdutz
Fix to complain with the last refactor


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/8a8957a2
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/8a8957a2
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/8a8957a2

Branch: refs/heads/feature/mdl
Commit: 8a8957a2288ab66078a4f57af9323975f23c75fc
Parents: f7eafac
Author: Carlos Rovira 
Authored: Wed Nov 2 19:27:22 2016 +0100
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 .../src/main/flex/org/apache/flex/mdl/beads/TextPrompt.as| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8a8957a2/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TextPrompt.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TextPrompt.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TextPrompt.as
index e3142b2..b9d1a6b 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TextPrompt.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TextPrompt.as
@@ -138,11 +138,11 @@ package org.apache.flex.mdl.beads
var model:Object = UIBase(_strand).model;

if (model.text != null && model.text.length > 0 ) {
-   if (promptAdded) 
UIBase(_strand).removeChild(promptField);
+   if (promptAdded) 
UIBase(_strand).$displayObjectContainer.removeChild(promptField);
promptAdded = false;
}
else {
-   if (!promptAdded) 
UIBase(_strand).addChild(promptField);
+   if (!promptAdded) 
UIBase(_strand).$displayObjectContainer.addChild(promptField);
promptField.text = prompt;
promptAdded = true;
}



[30/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - remove type from badge and change jpeg to jpg

2016-11-06 Thread cdutz
remove type from badge and change jpeg to jpg


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/a853cc2f
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/a853cc2f
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/a853cc2f

Branch: refs/heads/feature/mdl
Commit: a853cc2fca9a183521d8c038652739fec8d430ad
Parents: 3220303
Author: Carlos Rovira 
Authored: Fri Nov 4 11:28:15 2016 +0100
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 examples/flexjs/MDLExample/src/main/flex/App.mxml  |  16 ++--
 .../MDLExample/src/main/resources/Unknown.jpeg | Bin 50531 -> 0 bytes
 .../MDLExample/src/main/resources/Unknown.jpg  | Bin 0 -> 50531 bytes
 3 files changed, 2 insertions(+), 14 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a853cc2f/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 9f3fb79..111deed 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -118,12 +118,6 @@ limitations under the License.
 http://flex.apache.org"/>
 
 
-
-
-
-
-
-
 
 
 
@@ -132,7 +126,7 @@ limitations under the License.
 
 
 
-
+
 
 
 
@@ -141,17 +135,11 @@ limitations under the License.
 
 
 
-
+
 
 
 
 
-
-
-
-
-
-
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a853cc2f/examples/flexjs/MDLExample/src/main/resources/Unknown.jpeg
--
diff --git a/examples/flexjs/MDLExample/src/main/resources/Unknown.jpeg 
b/examples/flexjs/MDLExample/src/main/resources/Unknown.jpeg
deleted file mode 100644
index 08fb201..000
Binary files a/examples/flexjs/MDLExample/src/main/resources/Unknown.jpeg and 
/dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a853cc2f/examples/flexjs/MDLExample/src/main/resources/Unknown.jpg
--
diff --git a/examples/flexjs/MDLExample/src/main/resources/Unknown.jpg 
b/examples/flexjs/MDLExample/src/main/resources/Unknown.jpg
new file mode 100644
index 000..08fb201
Binary files /dev/null and 
b/examples/flexjs/MDLExample/src/main/resources/Unknown.jpg differ



[24/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - First MDL commit. This is a Material Design Google SWC project to create components with Google MDL look and feel

2016-11-06 Thread cdutz
First MDL commit. This is a Material Design Google SWC project  to create 
components with Google MDL look and feel


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/acf81d20
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/acf81d20
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/acf81d20

Branch: refs/heads/feature/mdl
Commit: acf81d20800fbeb44c4838b58161c81faaa7c3ce
Parents: bb65616
Author: Carlos Rovira 
Authored: Fri Oct 14 20:51:28 2016 +0200
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 .../projects/MaterialDesignLite/build.xml   | 116 ++
 frameworks/projects/MaterialDesignLite/pom.xml  | 117 +++
 .../src/main/config/compile-as-config.xml   |  87 ++
 .../src/main/flex/MDLClasses.as |  37 ++
 .../src/main/flex/org/apache/flex/mdl/Button.as |  81 +
 .../src/main/resources/defaults.css |  25 
 .../src/main/resources/mdl-as-manifest.xml  |  26 +
 .../src/main/resources/mdl-manifest.xml |  27 +
 8 files changed, 516 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/acf81d20/frameworks/projects/MaterialDesignLite/build.xml
--
diff --git a/frameworks/projects/MaterialDesignLite/build.xml 
b/frameworks/projects/MaterialDesignLite/build.xml
new file mode 100644
index 000..b61453d
--- /dev/null
+++ b/frameworks/projects/MaterialDesignLite/build.xml
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/acf81d20/frameworks/projects/MaterialDesignLite/pom.xml
--
diff --git a/frameworks/projects/MaterialDesignLite/pom.xml 
b/frameworks/projects/MaterialDesignLite/pom.xml
new file mode 100644
index 000..d5fde11
--- /dev/null
+++ b/frameworks/projects/MaterialDesignLite/pom.xml
@@ -0,0 +1,117 @@
+
+
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
+  4.0.0
+
+  
+org.apache.flex.flexjs.framework
+projects
+0.8.0-SNAPSHOT
+  
+
+  MaterialDesignLite
+  0.8.0-SNAPSHOT
+  swc
+
+  Apache Flex - FlexJS: Framework: Libs: Material Design Lite
+
+  
+src/main/flex
+
+  
+org.apache.flex.flexjs.compiler
+flexjs-maven-plugin
+${flexjs.compiler.version}
+true
+
+  
+
+  library://ns.apache.org/flexjs/mdl
+  
${project.basedir}/src/main/resources/mdl-manifest.xml
+
+
+  as
+  library://ns.apache.org/flexjs/mdl
+  
${project.basedir}/src/main/resources/mdl-as-manifest.xml
+
+  
+  
+MDLClasses
+  
+  
+
+  defaults.css
+  ../src/main/resources/defaults.css
+
+  
+  true
+
+  
+
+  
+
+  
+
+  org.apache.flex.flexjs.framework
+  Core
+  0.8.0-SNAPSHOT
+  swc
+
+
+  org.apache.flex.flexjs.framework
+  Core
+  0.8.0-SNAPSHOT
+  swc
+  typedefs
+
+
+  org.apache.flex.flexjs.framework
+  Binding
+  0.8.0-SNAPSHOT
+  swc
+
+
+  org.apache.flex.flexjs.framework
+  Graphics
+  0.8.0-SNAPSHOT
+  swc
+
+
+  org.apache.flex.flexjs.framework
+  Collections
+  0.8.0-SNAPSHOT
+  swc
+
+
+  org.apache.flex.flexjs.framework
+  HTML
+  0.8.0-SNAPSHOT
+  swc
+
+
+  org.apache.flex.flexjs.framework
+  HTML
+  0.8.0-SNAPSHOT
+  swc
+  typedefs
+
+  
+
+


[36/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Remove effect beads to reduce verbosity

2016-11-06 Thread cdutz
Remove effect beads to reduce verbosity


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/8bf61565
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/8bf61565
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/8bf61565

Branch: refs/heads/feature/mdl
Commit: 8bf61565cd3b05a6906d7226dd1eccc9653399f6
Parents: 68d9425
Author: Carlos Rovira 
Authored: Sat Nov 5 01:51:13 2016 +0100
Committer: Carlos Rovira 
Committed: Sat Nov 5 01:51:13 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|  50 +---
 .../src/main/flex/org/apache/flex/mdl/Button.as | 169 +-
 .../main/flex/org/apache/flex/mdl/CheckBox.as   |  40 +++-
 .../flex/org/apache/flex/mdl/RadioButton.as |  39 +++-
 .../main/flex/org/apache/flex/mdl/TextInput.as  |  48 +++-
 .../org/apache/flex/mdl/beads/ButtonEffect.as   | 228 ---
 .../flex/org/apache/flex/mdl/beads/MDLEffect.as | 105 -
 .../apache/flex/mdl/beads/TextInputEffect.as|  97 
 .../src/main/resources/mdl-manifest.xml |   3 -
 9 files changed, 300 insertions(+), 479 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bf61565/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index f0bae30..3393a5e 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -39,38 +39,24 @@ limitations under the License.
 
 
 
-
-
-
-
+
 add
 
 
 
-
-
-
-
+
 face
 
 
 
-
-
-
-
-
+
 
 
-
-
-
-
-
+
+
 
-
+
 
-
 
 
 
@@ -82,26 +68,18 @@ limitations under the License.
 
 
 
-
+
 
-
 
 
 
 
 
 
-
-
-
-
-
+
+
 
-
-
-
-
-
+
 
 
 
@@ -139,7 +117,7 @@ limitations under the License.
 
 
 
-
+
 
 
 
@@ -152,11 +130,7 @@ limitations under the License.
 
 
 
-
-
-
-
-
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8bf61565/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
index 27116c4..e1fa441 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
@@ -18,7 +18,7 @@
 

 package org.apache.flex.mdl
 {
-import org.apache.flex.html.TextButton;
+import org.apache.flex.html.TextButton;  
 
 COMPILE::JS
 {
@@ -48,7 +48,7 @@ package org.apache.flex.mdl
{
  

[14/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - MDL RadioButton

2016-11-06 Thread cdutz
MDL RadioButton


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/bc9afcf1
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/bc9afcf1
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/bc9afcf1

Branch: refs/heads/feature/mdl
Commit: bc9afcf133efc0758bdae98fe4e084675700f15e
Parents: 2c724f7
Author: Carlos Rovira 
Authored: Mon Oct 17 17:58:42 2016 +0200
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 .../flex/org/apache/flex/mdl/RadioButton.as | 249 +++
 .../src/main/resources/mdl-manifest.xml |   1 +
 2 files changed, 250 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc9afcf1/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
new file mode 100644
index 000..d7e9b2f
--- /dev/null
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
@@ -0,0 +1,249 @@
+
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+package org.apache.flex.mdl
+{
+COMPILE::SWF
+{
+import org.apache.flex.html.RadioButton;
+}
+COMPILE::JS
+{
+import org.apache.flex.core.UIBase;
+import org.apache.flex.core.WrappedHTMLElement;
+}
+
+/**
+ *  The RadioButton class provides a MDL UI-like appearance for
+ *  a RadioButton.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+COMPILE::SWF
+   public class RadioButton extends org.apache.flex.html.RadioButton
+   {
+/**
+ *  Constructor.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public function RadioButton()
+   {
+   super();
+   }
+   }
+
+COMPILE::JS
+public class RadioButton extends UIBase
+{
+/**
+ * Provides unique name
+ */
+public static var radioCounter:int = 0;
+
+private var input:HTMLInputElement;
+private var radio:HTMLSpanElement;
+private var label:HTMLLabelElement;
+private var textNode:Text;
+
+/**
+ * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+ * @flexjsignorecoercion HTMLLabelElement
+ * @flexjsignorecoercion HTMLInputElement
+ * @flexjsignorecoercion HTMLSpanElement
+ * @flexjsignorecoercion Text
+ */
+override protected function createElement():WrappedHTMLElement
+{ 
+// hide this eleement
+input = document.createElement('input') as HTMLInputElement;
+input.type = 'radio';
+input.className = 'mdl-radio__button';
+input.id = '_radio_' + radioCounter++;
+input.addEventListener('change', selectionChangeHandler, false);  
+
+radio = document.createElement('span') as HTMLSpanElement;
+radio.className = 'mdl-radio__label';
+radio.addEventListener('mouseover', mouseOverHandler, false);
+radio.addEventListener('mouseout', mouseOutHandler, false);
+
+textNode = document.createTextNode('') as Text;
+
+label = document.createElement('label') as HTMLLabelElement;
+label.className = "mdl-radio mdl-js-radio mdl-js-ripple-effect";
+   

[26/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - More Buttons, I think we need "disabled" html attribute implementation

2016-11-06 Thread cdutz
More Buttons, I think we need "disabled" html attribute implementation


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/ab2f9e70
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/ab2f9e70
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/ab2f9e70

Branch: refs/heads/feature/mdl
Commit: ab2f9e70c179571d301de248a8bf2147020f059b
Parents: fe6a81a
Author: Carlos Rovira 
Authored: Sun Oct 16 21:10:10 2016 +0200
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml| 35 +---
 1 file changed, 31 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ab2f9e70/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index b19b9b4..37e9e6a 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -30,11 +30,38 @@ limitations under the License.
 
 
 
-
-   add
-
+
+
+
+
+
+
+
+add
+
 
-
+
+add
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 
 
 



[39/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Merge remote-tracking branch 'origin/feature/mdl' into feature/mdl

2016-11-06 Thread cdutz
Merge remote-tracking branch 'origin/feature/mdl' into feature/mdl

# Conflicts:
#   examples/flexjs/MDLExample/.vscode/tasks.json
#   examples/flexjs/MDLExample/src/main/flex/App.mxml
#   
frameworks/projects/MaterialDesignLite/src/main/resources/mdl-manifest.xml


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/a6ea45a7
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/a6ea45a7
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/a6ea45a7

Branch: refs/heads/feature/mdl
Commit: a6ea45a75243a6f17675dad3ba522ead94755797
Parents: 88bc82f 59b6d50
Author: Christofer Dutz 
Authored: Mon Nov 7 07:37:28 2016 +0100
Committer: Christofer Dutz 
Committed: Mon Nov 7 07:37:28 2016 +0100

--
 distribution/jars/compc/pom.xml | 60 +++
 distribution/jars/falcon-asc/pom.xml| 60 +++
 distribution/jars/falcon-compc/pom.xml  | 60 +++
 distribution/jars/falcon-mxmlc/pom.xml  | 60 +++
 distribution/jars/falcon-optimizer/pom.xml  | 60 +++
 distribution/jars/falcon-swfdump/pom.xml| 65 
 distribution/jars/mxmlc/pom.xml | 60 +++
 distribution/pom.xml| 55 +-
 distribution/src/main/assembly/component.xml|  1 +
 examples/flexjs/DesktopMap/pom.xml  | 10 +++
 examples/flexjs/MDLExample/.vscode/tasks.json   |  7 +-
 .../flexjs/MDLExample/src/main/flex/App.mxml|  5 ++
 examples/flexjs/TeamPage/pom.xml| 13 ++--
 examples/flexjs/pom.xml |  1 +
 .../MaterialDesignLite/.vscode/tasks.json   | 10 +++
 .../main/flex/org/apache/flex/mdl/CardMenu.as   | 80 
 .../src/main/flex/org/apache/flex/mdl/Spacer.as | 65 
 .../src/main/resources/mdl-manifest.xml |  4 +-
 18 files changed, 665 insertions(+), 11 deletions(-)
--




[20/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Remove css defaults fro HTML.swc and some update to actual components implementation fixing styles and behaviors

2016-11-06 Thread cdutz
Remove css defaults fro HTML.swc and some update to actual components 
implementation fixing styles and behaviors


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/ffa72525
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/ffa72525
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/ffa72525

Branch: refs/heads/feature/mdl
Commit: ffa725253c8b8e535b6e121409f0dd4bd33ceec0
Parents: 8b993f4
Author: Carlos Rovira 
Authored: Mon Oct 24 20:19:06 2016 +0200
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 examples/flexjs/MDLExample/pom.xml  |  1 +
 .../flexjs/MDLExample/src/main/flex/App.mxml| 18 +--
 .../src/main/flex/org/apache/flex/mdl/Button.as | 13 
 .../main/flex/org/apache/flex/mdl/CheckBox.as   | 32 +--
 .../flex/org/apache/flex/mdl/RadioButton.as | 33 ++--
 .../main/flex/org/apache/flex/mdl/TextInput.as  | 18 +--
 6 files changed, 82 insertions(+), 33 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ffa72525/examples/flexjs/MDLExample/pom.xml
--
diff --git a/examples/flexjs/MDLExample/pom.xml 
b/examples/flexjs/MDLExample/pom.xml
index 207dab5..3a31b25 100644
--- a/examples/flexjs/MDLExample/pom.xml
+++ b/examples/flexjs/MDLExample/pom.xml
@@ -56,6 +56,7 @@
 
   true
   
${basedir}/src/main/resources/mdl-js-index-template.html
+  
-compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css
 
   
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ffa72525/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 636b72b..a50dbeb 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -33,11 +33,9 @@ limitations under the License.
  
 
 
-
-
-
-
-
+
+
+
 
 
 add
@@ -54,23 +52,23 @@ limitations under the License.
 
 
 
-
+
 
 
-
+
 
 
 
 
-
+
 
 
-
+
 
 
 
 
-
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ffa72525/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
index 61bcc20..7c17757 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
@@ -63,20 +63,19 @@ package org.apache.flex.mdl
 positioner.style.position = 'relative';
 element.flexjs_wrapper = this;
 
-element.className = 'mdl-button mdl-js-button';
-   className = "";
-   typeNames = "MDLButton";
-   return element;
+   className = typeNames = "mdl-button mdl-js-button";
+   
+return element;
}
 
-public static const RAISED_EFFECT:String = "mdl-button--raised";
+/*public static const RAISED_EFFECT:String = "mdl-button--raised";
 public static const FAB_EFFECT:String = "mdl-button--fab";
 public static const MINI_FAB_EFFECT:String = "mdl-button--mini-fab";
 public static const ICON_EFFECT:String = "mdl-button--icon";
 public static const COLORED_EFFECT:String = "mdl-button--colored";
 public static const PRIMARY_EFFECT:String = "mdl-button--primary";
 public static const ACCENT_EFFECT:String = "mdl-button--accent";
-public static const RIPPLE_EFFECT:String = "mdl-js-ripple-effect";
+public static const RIPPLE_EFFECT:String = "mdl-js-ripple-effect";*/
 
 private var _mdlEffect:String = "";
 
@@ -90,7 +89,7 @@ 

[22/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - MDL TextPromptBead in place

2016-11-06 Thread cdutz
MDL TextPromptBead in place


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/e07a2a4d
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/e07a2a4d
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/e07a2a4d

Branch: refs/heads/feature/mdl
Commit: e07a2a4d1ddd37b352d4bed069640534cbf0a211
Parents: 99045c6
Author: Carlos Rovira 
Authored: Wed Oct 26 12:29:26 2016 +0200
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|  12 +-
 .../src/main/flex/MDLClasses.as |   2 +-
 .../main/flex/org/apache/flex/mdl/TextInput.as  |  16 +-
 .../org/apache/flex/mdl/beads/TextPromptBead.as | 151 +++
 .../src/main/resources/mdl-manifest.xml |   1 +
 5 files changed, 178 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e07a2a4d/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 3924dba..9f1be78 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -55,8 +55,16 @@ limitations under the License.
 
 
 
-
-
+
+
+
+
+
+
+
+
+
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e07a2a4d/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as
--
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as 
b/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as
index 733728e..c0ea571 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as
@@ -29,7 +29,7 @@ internal class MDLClasses
 {  
COMPILE::SWF
{
-   //import org.apache.flex.flat.beads.CSSScrollBarView; 
CSSScrollBarView;
+   //import org.apache.flex.mdl.beads.TextPromptBead; 
TextPromptBead;
}
 }
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e07a2a4d/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
index 87f9c5a..c8244a4 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
@@ -17,6 +17,8 @@
 

 package org.apache.flex.mdl
 {
+import org.apache.flex.core.ITextModel;
+   import org.apache.flex.events.Event;
import org.apache.flex.html.TextInput;
 
 COMPILE::JS
@@ -52,6 +54,16 @@ package org.apache.flex.mdl
 COMPILE::JS
 {
 private var _textNode:Text;
+
+public function get textNode():Text
+{
+return _textNode;
+}
+
+public function set textNode(value:Text):void
+{
+_textNode = value;
+}
 }
 
 /**
@@ -78,7 +90,7 @@ package org.apache.flex.mdl
 var label:HTMLLabelElement = document.createElement('label') as 
HTMLLabelElement;
 label.className = "mdl-textfield__label";
 
-var textNode:Text = document.createTextNode('') as Text;
+textNode = document.createTextNode('') as Text;
 label.appendChild(textNode);
 
 div.appendChild(input);
@@ -110,5 +122,7 @@ package org.apache.flex.mdl
 positioner.className = positioner.className + " " + _mdlEffect;
 }
 }
+
+
}
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e07a2a4d/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TextPromptBead.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TextPromptBead.as
 

[01/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Fix badges to conform to MDL

2016-11-06 Thread cdutz
Repository: flex-asjs
Updated Branches:
  refs/heads/feature/mdl 59b6d50ff -> dd6421089


Fix badges to conform to MDL


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/68d9425c
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/68d9425c
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/68d9425c

Branch: refs/heads/feature/mdl
Commit: 68d9425c5a5f528a83b6c39aaf56f8fb90a5ed9e
Parents: cf46127
Author: Carlos Rovira 
Authored: Fri Nov 4 17:42:13 2016 +0100
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml | 19 ---
 .../main/flex/org/apache/flex/mdl/beads/Badge.as |  6 +++---
 2 files changed, 19 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/68d9425c/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 34aacb8..f0bae30 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -109,17 +109,30 @@ limitations under the License.
 
 
 
-http://flex.apache.org;>
+
 
-
+
+
+
+
+
+
+
+
+
+
+http://flex.apache.org;>
+
+
 
 
 
-http://flex.apache.org;>
+http://flex.apache.org;>
 
 
 
 
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/68d9425c/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Badge.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Badge.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Badge.as
index 02fdfe6..66f5f8a 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Badge.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Badge.as
@@ -135,17 +135,17 @@ package org.apache.flex.mdl.beads
if (host.element is HTMLSpanElement)
{
var span:HTMLSpanElement = host.element 
as HTMLSpanElement;
-   span.className = "mdl-badge " + 
_noBackground + _overlap;
+   span.className += " mdl-badge " + 
_noBackground + _overlap;
span.setAttribute('data-badge', 
_dataBadge.toString());
} else if (host.element is HTMLDivElement)
{
var div:HTMLDivElement = host.element 
as HTMLDivElement;
-   div.className = "mdl-badge " + 
_noBackground + _overlap;
+   div.className += " mdl-badge " + 
_noBackground + _overlap;
div.setAttribute('data-badge', 
_dataBadge.toString());
} else if (host.element is HTMLElement)
{
var a:HTMLElement = host.element as 
HTMLElement;
-   a.className = "mdl-badge " + 
_noBackground + _overlap;
+   a.className += " mdl-badge " + 
_noBackground + _overlap;
a.setAttribute('data-badge', 
_dataBadge.toString());
} else
{



[32/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - ButtonEffectBead in place

2016-11-06 Thread cdutz
ButtonEffectBead in place


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/6ed3b28d
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/6ed3b28d
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/6ed3b28d

Branch: refs/heads/feature/mdl
Commit: 6ed3b28dc989c14e2913596fc0e8246b80149a16
Parents: d442a75
Author: Carlos Rovira 
Authored: Wed Oct 26 20:03:10 2016 +0200
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|  10 +-
 .../main/flex/org/apache/flex/mdl/CheckBox.as   |  12 -
 .../flex/org/apache/flex/mdl/RadioButton.as |  12 -
 .../apache/flex/mdl/beads/ButtonEffectBead.as   | 253 +++
 .../org/apache/flex/mdl/beads/EffectBead.as |   9 -
 .../src/main/resources/defaults.css |   8 +-
 .../src/main/resources/mdl-manifest.xml |   1 +
 7 files changed, 266 insertions(+), 39 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6ed3b28d/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 82126a4..e618658 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -39,7 +39,7 @@ limitations under the License.
 
 
 
-
+
 
 add
 
@@ -47,7 +47,7 @@ limitations under the License.
 
 
 
-
+
 
 face
 
@@ -55,20 +55,20 @@ limitations under the License.
 
 
 
-
+
 
 
 
 
 
 
-
+
 
 
 
 
 
-
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6ed3b28d/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
index 58d3ba2..4f2bf9e 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
@@ -53,18 +53,6 @@ package org.apache.flex.mdl
{
super();
}
-
-private var _mdlEffect:String = "";
-
-public function get mdlEffect():String
-{
-return _mdlEffect;
-}
-
-public function set mdlEffect(value:String):void
-{
-_mdlEffect = value;
-}
}
 
 COMPILE::JS

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6ed3b28d/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
index 0f8237d..e0933d2 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
@@ -53,18 +53,6 @@ package org.apache.flex.mdl
{
super();
}
-
-private var _mdlEffect:String = "";
-
-public function get mdlEffect():String
-{
-return _mdlEffect;
-}
-
-public function set mdlEffect(value:String):void
-{
-_mdlEffect = value;
-}
}
 
 COMPILE::JS


[21/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Changes in TextInput

2016-11-06 Thread cdutz
Changes in TextInput


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/99045c63
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/99045c63
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/99045c63

Branch: refs/heads/feature/mdl
Commit: 99045c63cc4d395a9902e11b4af39c104eb6a4b3
Parents: aa944f5
Author: Carlos Rovira 
Authored: Tue Oct 25 19:02:37 2016 +0200
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml| 13 +++--
 .../main/flex/org/apache/flex/mdl/TextInput.as  | 55 ++--
 2 files changed, 21 insertions(+), 47 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/99045c63/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index a50dbeb..3924dba 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -55,16 +55,15 @@ limitations under the License.
 
 
 
-
-
-
+
+
 
 
-
-
+
+
 
-
-
+
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/99045c63/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
index b387b81..87f9c5a 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
@@ -64,41 +64,34 @@ package org.apache.flex.mdl
 COMPILE::JS
 override protected function createElement():WrappedHTMLElement
 {
-var div:HTMLDivElement;
-var input:HTMLInputElement;
-var label:HTMLLabelElement;
-var textNode:Text;
-
-div = document.createElement('div') as HTMLDivElement;
+var div:HTMLDivElement = document.createElement('div') as 
HTMLDivElement;
+div.className = "mdl-textfield mdl-js-textfield";
 
-input = document.createElement('input') as HTMLInputElement;
+var input:HTMLInputElement = document.createElement('input') as 
HTMLInputElement;
 input.setAttribute('type', 'text');
 input.className = 'mdl-textfield__input';
-
-label = document.createElement('label') as HTMLLabelElement;
-label.className = "mdl-textfield__label";
 
-_textNode = textNode = document.createTextNode('') as Text;
+//attach input handler to dispatch flexjs change event when user 
write in textinput
+//goog.events.listen(element, 'change', killChangeHandler);
+goog.events.listen(input, 'input', textChangeHandler);
+
+var label:HTMLLabelElement = document.createElement('label') as 
HTMLLabelElement;
+label.className = "mdl-textfield__label";
+
+var textNode:Text = document.createTextNode('') as Text;
 label.appendChild(textNode);
 
 div.appendChild(input);
 div.appendChild(label);
 
-element = div as WrappedHTMLElement;
-
-//attach input handler to dispatch flexjs change event when user 
write in textinput
-//goog.events.listen(element, 'change', killChangeHandler);
-goog.events.listen(input, 'input', textChangeHandler);
-
-positioner = element;
+element = input as WrappedHTMLElement;
+
+positioner = div as WrappedHTMLElement;
 positioner.style.position = 'relative';
-(div as WrappedHTMLElement).flexjs_wrapper = this;
 (input as WrappedHTMLElement).flexjs_wrapper = this;
 (label as WrappedHTMLElement).flexjs_wrapper = this;
 element.flexjs_wrapper = this;
 
-className = typeNames = "mdl-textfield mdl-js-textfield";
-
 return element;
 }
 
@@ -114,26 +107,8 @@ package org.apache.flex.mdl
 _mdlEffect = value;
 COMPILE::JS 

[05/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - MDL CheckBox impl

2016-11-06 Thread cdutz
MDL CheckBox impl


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/652d01b9
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/652d01b9
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/652d01b9

Branch: refs/heads/feature/mdl
Commit: 652d01b9d57de8404f1fa5755f8b9b6e05e0a5ee
Parents: 28db803
Author: Carlos Rovira 
Authored: Mon Oct 17 16:16:22 2016 +0200
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 .../main/flex/org/apache/flex/mdl/CheckBox.as   | 162 +++
 .../src/main/resources/mdl-manifest.xml |   1 +
 2 files changed, 163 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/652d01b9/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
new file mode 100644
index 000..082b99f
--- /dev/null
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
@@ -0,0 +1,162 @@
+
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+package org.apache.flex.mdl
+{
+COMPILE::SWF
+{
+import org.apache.flex.html.CheckBox;
+}
+COMPILE::JS
+{
+import org.apache.flex.core.UIBase;
+import org.apache.flex.core.WrappedHTMLElement;
+import org.apache.flex.events.Event;
+}
+
+/**
+ *  The CheckBox class provides a MDL UI-like appearance for
+ *  a CheckBox.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+COMPILE::SWF
+   public class CheckBox extends org.apache.flex.html.CheckBox
+   {
+/**
+ *  Constructor.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public function CheckBox()
+   {
+   super();
+   }
+   }
+
+COMPILE::JS
+public class CheckBox extends UIBase
+{
+
+private var input:HTMLInputElement;
+private var checkbox:HTMLSpanElement;
+private var label:HTMLLabelElement;
+private var textNode:Text;
+
+/**
+ * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+ * @flexjsignorecoercion HTMLLabelElement
+ * @flexjsignorecoercion HTMLInputElement
+ * @flexjsignorecoercion HTMLSpanElement
+ * @flexjsignorecoercion Text
+ */
+override protected function createElement():WrappedHTMLElement
+{
+label = document.createElement('label') as HTMLLabelElement;
+label.className = 'mdl-checkbox mdl-js-checkbox 
mdl-js-ripple-effect';
+element = label as WrappedHTMLElement;
+
+input = document.createElement('input') as HTMLInputElement;
+input.type = 'checkbox';
+input.className = 'mdl-checkbox__input';
+//input.addEventListener('change', selectionChangeHandler, 
false);
+label.appendChild(input);
+
+checkbox = document.createElement('span') as HTMLSpanElement;
+checkbox.className = 'mdl-checkbox__label';
+//checkbox.addEventListener('mouseover', mouseOverHandler, 
false);
+//checkbox.addEventListener('mouseout', mouseOutHandler, 
false);
+label.appendChild(checkbox);
+ 

[16/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Badge and BadgeElement

2016-11-06 Thread cdutz
Badge and BadgeElement


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/f2b61d6f
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/f2b61d6f
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/f2b61d6f

Branch: refs/heads/feature/mdl
Commit: f2b61d6ff6765090784905d98c53d9de7d58da1e
Parents: 4df6595
Author: Carlos Rovira 
Authored: Thu Nov 3 20:15:00 2016 +0100
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|  28 +++
 .../src/main/flex/org/apache/flex/mdl/Badge.as  | 233 +++
 .../src/main/flex/org/apache/flex/mdl/Slider.as |  16 +-
 .../org/apache/flex/mdl/beads/BadgeEffect.as| 121 ++
 .../src/main/resources/mdl-manifest.xml |   2 +
 5 files changed, 390 insertions(+), 10 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f2b61d6f/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 8487f5b..8b3ebbc 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -106,6 +106,34 @@ limitations under the License.
 
 
 
+
+http://flex.apache.org;>
+
+
+
+
+
+http://flex.apache.org"/>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f2b61d6f/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Badge.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Badge.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Badge.as
new file mode 100644
index 000..fa4ffd1
--- /dev/null
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Badge.as
@@ -0,0 +1,233 @@
+
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+package org.apache.flex.mdl
+{
+   import org.apache.flex.core.UIBase;
+
+COMPILE::JS
+{
+import org.apache.flex.core.WrappedHTMLElement;
+}
+
+   /**
+*  The Badge class provides a MDL UI-like appearance for a badge.
+*  A Badge is an onscreen notification element consists of a small 
circle, 
+ *  typically containing a number or other characters, that appears in 
+ *  proximity to another object
+*  
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public class Badge extends UIBase
+   {
+   /**
+*  constructor.
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public function Badge()
+   {
+   super();
+   }
+   
+private var _type:Number = 0;
+public static const LINK_TYPE:Number = 0;
+public static const TEXT_TYPE:Number = 1;
+public static const 

[11/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Introducing js:Form

2016-11-06 Thread cdutz
Introducing js:Form


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/225ecf33
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/225ecf33
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/225ecf33

Branch: refs/heads/feature/mdl
Commit: 225ecf33ed1d1a670cb91b5034dd5293bcb1a654
Parents: eb12074
Author: Carlos Rovira 
Authored: Mon Oct 17 11:54:29 2016 +0200
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 examples/flexjs/MDLExample/src/main/flex/App.mxml | 11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/225ecf33/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 37e9e6a..b94a0d7 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -56,11 +56,12 @@ limitations under the License.
 
 
 
-
-
-
-
-
+http://www.google.com;>
+
+
+
+
+
 
 
 



[08/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - MDL Example project

2016-11-06 Thread cdutz
MDL Example project


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/fc437e2b
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/fc437e2b
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/fc437e2b

Branch: refs/heads/feature/mdl
Commit: fc437e2b44c86ba7c7beacf43964c00eec0152c5
Parents: cb448c0
Author: Carlos Rovira 
Authored: Fri Oct 14 23:05:39 2016 +0200
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 examples/flexjs/MDLExample/.vscode/launch.json  |  21 
 examples/flexjs/MDLExample/.vscode/tasks.json   |  11 ++
 examples/flexjs/MDLExample/asconfig.json|  14 +++
 examples/flexjs/MDLExample/pom.xml  | 112 +++
 .../flexjs/MDLExample/src/main/flex/App.mxml|  39 +++
 .../MDLExample/src/main/resources/Unknown.jpeg  | Bin 0 -> 50531 bytes
 .../main/resources/mdl-js-index-template.html   |  32 ++
 .../src/main/resources/mdl-styles.css   |  32 ++
 examples/flexjs/pom.xml |   1 +
 9 files changed, 262 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fc437e2b/examples/flexjs/MDLExample/.vscode/launch.json
--
diff --git a/examples/flexjs/MDLExample/.vscode/launch.json 
b/examples/flexjs/MDLExample/.vscode/launch.json
new file mode 100644
index 000..4fec2c2
--- /dev/null
+++ b/examples/flexjs/MDLExample/.vscode/launch.json
@@ -0,0 +1,21 @@
+{
+"version": "0.2.0",
+"configurations": [
+{
+"name": "Launch Chrome against debug.html, with sourcemaps",
+"type": "chrome",
+"request": "launch",
+"file": 
"${workspaceRoot}/target/javascript/bin/js-debug/index.html",
+"sourceMaps": true,
+"preLaunchTask": ""
+},
+{
+"name": "Launch Firefox against debug.html, with sourcemaps",
+"type": "firefox",
+"request": "launch",
+"file": "${workspaceRoot}/debug.html",
+"sourceMaps": true,
+"preLaunchTask": "asconfigc"
+}
+]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fc437e2b/examples/flexjs/MDLExample/.vscode/tasks.json
--
diff --git a/examples/flexjs/MDLExample/.vscode/tasks.json 
b/examples/flexjs/MDLExample/.vscode/tasks.json
new file mode 100644
index 000..ac2c02d
--- /dev/null
+++ b/examples/flexjs/MDLExample/.vscode/tasks.json
@@ -0,0 +1,11 @@
+{
+   // See https://go.microsoft.com/fwlink/?LinkId=733558
+   // for the documentation about the tasks.json format
+   "version": "0.1.0",
+   "command": "asconfigc",
+   "isShellCommand": true,
+   "args": [
+   "--flexHome=/Users/carlosrovira/Dev/Flex/sdks/flexjs-0.8.0"
+   ],
+   "showOutput": "always"
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fc437e2b/examples/flexjs/MDLExample/asconfig.json
--
diff --git a/examples/flexjs/MDLExample/asconfig.json 
b/examples/flexjs/MDLExample/asconfig.json
new file mode 100644
index 000..d15de04
--- /dev/null
+++ b/examples/flexjs/MDLExample/asconfig.json
@@ -0,0 +1,14 @@
+{
+"config": "flex",
+"compilerOptions": {
+"debug": true,
+"source-map": true,
+"js-output-type": "flexjs",
+"output": "./target/javascript"
+},
+"additionalOptions": 
"-html-template=src/main/resources/mdl-js-index-template.html",
+"files":
+[
+"src/main/flex/App.mxml"
+]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fc437e2b/examples/flexjs/MDLExample/pom.xml
--
diff --git a/examples/flexjs/MDLExample/pom.xml 
b/examples/flexjs/MDLExample/pom.xml
new file mode 100644
index 000..207dab5
--- /dev/null
+++ b/examples/flexjs/MDLExample/pom.xml
@@ -0,0 +1,112 @@
+
+
+http://maven.apache.org/POM/4.0.0;
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
+  4.0.0
+
+  
+org.apache.flex.flexjs.examples
+examples-flexjs
+0.8.0-SNAPSHOT
+  
+
+  MDLExample
+  0.8.0-SNAPSHOT
+  swf
+
+  Apache Flex - FlexJS: Examples: FlexJS: MDLExample
+
+  
+src/main/flex
+
+  
+org.apache.flex.flexjs.compiler
+flexjs-maven-plugin
+true
+
+  20.0
+  App.mxml
+
+
+  
+   

[02/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Update example to new js html tags

2016-11-06 Thread cdutz
Update example to new js html tags


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/cf461274
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/cf461274
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/cf461274

Branch: refs/heads/feature/mdl
Commit: cf461274d8244b0b7bcc485484a25aa29d8a4c5c
Parents: 5740849
Author: Carlos Rovira 
Authored: Fri Nov 4 17:09:13 2016 +0100
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 examples/flexjs/MDLExample/src/main/flex/App.mxml | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/cf461274/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index df452e6..34aacb8 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -109,17 +109,17 @@ limitations under the License.
 
 
 
-http://flex.apache.org;>
+http://flex.apache.org;>
 
 
 
-
+
 
-http://flex.apache.org;>
+http://flex.apache.org;>
 
 
 
-
+
 
 
 
@@ -127,7 +127,7 @@ limitations under the License.
 
 
 
-
+
 
 
 



[17/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Changes to Button and examples

2016-11-06 Thread cdutz
Changes to Button and examples


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/5564852e
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/5564852e
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/5564852e

Branch: refs/heads/feature/mdl
Commit: 5564852e0aff154840af50e7921437f5ac9d321a
Parents: 0e69bb8
Author: Carlos Rovira 
Authored: Wed Oct 19 00:49:48 2016 +0200
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml| 32 +
 .../src/main/flex/org/apache/flex/mdl/Button.as | 69 
 2 files changed, 57 insertions(+), 44 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5564852e/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 209efae..95dad1b 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -30,44 +30,42 @@ limitations under the License.
 
 
 
-http://www.google.com;> 
+ 
 
 
 
 
 
 
-   
-
+
+
+
 add
-
+
 
-
-mood
-
+
+
+face
+
 
 
-
+
 
-
+
 
-
-
-
-add
-
-
- 
+
 
 
 
 
 
 
-
+
+
 
 
 
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5564852e/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
index 7f836f6..61bcc20 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
@@ -18,13 +18,10 @@
 

 package org.apache.flex.mdl
 {
-COMPILE::SWF
-{
-import org.apache.flex.html.Button;
-}
+import org.apache.flex.html.TextButton;
+
 COMPILE::JS
 {
-import org.apache.flex.core.UIBase;
 import org.apache.flex.core.WrappedHTMLElement;
 }
 
@@ -37,8 +34,7 @@ package org.apache.flex.mdl
  *  @playerversion AIR 2.6
  *  @productversion FlexJS 0.0
  */
-COMPILE::SWF
-   public class Button extends org.apache.flex.html.Button
+   public class Button extends TextButton
{
 /**
  *  Constructor.
@@ -52,31 +48,50 @@ package org.apache.flex.mdl
{
super();
}
-   }
-
-COMPILE::JS
-public class Button extends UIBase
-{
-private var button:HTMLButtonElement;
 
 /**
- * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
- * @flexjsignorecoercion HTMLButtonElement
- */
-override protected function createElement():WrappedHTMLElement
-{
-var button:HTMLButtonElement;
-
-button = document.createElement('button') as HTMLButtonElement;
-element = button as WrappedHTMLElement;
-button.className = 'mdl-button mdl-js-button mdl-button--fab 
mdl-button--colored';
+* @private
+* @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+*/
+   COMPILE::JS
+   override protected function createElement():WrappedHTMLElement
+   {
+element = document.createElement('button') as WrappedHTMLElement;
+

[18/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Text Input with floating text

2016-11-06 Thread cdutz
Text Input with floating text


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/8b993f42
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/8b993f42
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/8b993f42

Branch: refs/heads/feature/mdl
Commit: 8b993f42dff8db8ed19aaa1dc989690839f5a0de
Parents: 5564852
Author: Carlos Rovira 
Authored: Wed Oct 19 02:21:37 2016 +0200
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|  5 ++-
 .../main/flex/org/apache/flex/mdl/TextInput.as  | 45 +++-
 2 files changed, 48 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8b993f42/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 95dad1b..636b72b 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -57,7 +57,9 @@ limitations under the License.
 
 
 
-
+
+
+
 
 
 
@@ -66,6 +68,7 @@ limitations under the License.
 
 
 
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8b993f42/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
index 4617678..48d71bf 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
@@ -49,8 +49,17 @@ package org.apache.flex.mdl
super();
}

+COMPILE::JS
+{
+private var _textNode:Text;
+}
+
 /**
  * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+ * @flexjsignorecoercion HTMLDivElement
+ * @flexjsignorecoercion HTMLInputElement
+ * @flexjsignorecoercion HTMLLabelElement
+ * @flexjsignorecoercion Text
  */
 COMPILE::JS
 override protected function createElement():WrappedHTMLElement
@@ -70,7 +79,7 @@ package org.apache.flex.mdl
 label = document.createElement('label') as HTMLLabelElement;
 label.className = "mdl-textfield__label";
 
-textNode = document.createTextNode('') as Text;
+_textNode = textNode = document.createTextNode('') as Text;
 label.appendChild(textNode);
 
 div.appendChild(input);
@@ -94,5 +103,39 @@ package org.apache.flex.mdl
 return element;
 }
 
+private var _mdlEffect:String = "";
+
+public function get mdlEffect():String
+{
+return _mdlEffect;
+}
+
+public function set mdlEffect(value:String):void
+{
+_mdlEffect = value;
+COMPILE::JS 
+{
+element.className = 'mdl-textfield mdl-js-textfield ' + 
_mdlEffect;
+}
+}
+
+/**
+ *  @private
+ *  @flexjsignorecoercion HTMLInputElement
+ */
+   override public function set text(value:String):void
+   {
+COMPILE::SWF
+{
+//inSetter = true;
+//ITextModel(model).text = value;
+//inSetter = false;
+}
+COMPILE::JS
+{
+_textNode.text = value;
+dispatchEvent(new Event('textChange'));
+}
+   }
}
 }



[28/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Use of mdl:TextInput

2016-11-06 Thread cdutz
Use of mdl:TextInput


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/28db803e
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/28db803e
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/28db803e

Branch: refs/heads/feature/mdl
Commit: 28db803ea8aa464058a298105c53831813a839d8
Parents: c09f52e
Author: Carlos Rovira 
Authored: Mon Oct 17 13:40:57 2016 +0200
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 examples/flexjs/MDLExample/src/main/flex/App.mxml | 2 ++
 1 file changed, 2 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/28db803e/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index b94a0d7..937d8d2 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -53,6 +53,8 @@ limitations under the License.
 
 
 
+
+
 
 
 



[29/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Replaced Link by js:Anchor

2016-11-06 Thread cdutz
Replaced Link by js:Anchor


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/5740849d
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/5740849d
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/5740849d

Branch: refs/heads/feature/mdl
Commit: 5740849d597e3a9fd612b54bfaa99775ab1d5a45
Parents: 2300e3a
Author: Carlos Rovira 
Authored: Fri Nov 4 15:39:51 2016 +0100
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|   8 +-
 .../src/main/flex/org/apache/flex/mdl/Link.as   | 137 ---
 .../src/main/resources/mdl-manifest.xml |   1 -
 3 files changed, 4 insertions(+), 142 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5740849d/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index abece5f..df452e6 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -109,17 +109,17 @@ limitations under the License.
 
 
 
-http://flex.apache.org;>
+http://flex.apache.org;>
 
 
 
-
+
 
-http://flex.apache.org;>
+http://flex.apache.org;>
 
 
 
-
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5740849d/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Link.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Link.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Link.as
deleted file mode 100644
index b74f7cc..000
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Link.as
+++ /dev/null
@@ -1,137 +0,0 @@
-
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//  http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-
-package org.apache.flex.mdl
-{
-   import org.apache.flex.core.UIBase;
-
-COMPILE::JS
-{
-import org.apache.flex.core.WrappedHTMLElement;
-}
-
-   /**
-*  The Link class 
-*  
-*  @langversion 3.0
-*  @playerversion Flash 10.2
-*  @playerversion AIR 2.6
-*  @productversion FlexJS 0.0
-*/
-   public class Link extends UIBase
-   {
-   /**
-*  constructor.
-*
-*  @langversion 3.0
-*  @playerversion Flash 10.2
-*  @playerversion AIR 2.6
-*  @productversion FlexJS 0.0
-*/
-   public function Link()
-   {
-   super();
-   }
-   
-private var _text:String = "";
-
-/**
- *  The text of the link
- *  
- *  @langversion 3.0
- *  @playerversion Flash 10.2
- *  @playerversion AIR 2.6
- *  @productversion FlexJS 0.0
- */
-   public function get text():String
-   {
-COMPILE::SWF
-{
-return _text;
-}
-COMPILE::JS
-{
-return textNode.nodeValue;
-}
-   }
-
-   public function set text(value:String):void
-   {
-

[25/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Effect Bead classes for various components

2016-11-06 Thread cdutz
Effect Bead classes for various components


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/3cfdd6ec
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/3cfdd6ec
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/3cfdd6ec

Branch: refs/heads/feature/mdl
Commit: 3cfdd6ecde8d4eb5c013490a570d3b2c2039fd3a
Parents: 6ed3b28
Author: Carlos Rovira 
Authored: Wed Oct 26 20:57:57 2016 +0200
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:18:33 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|  20 +-
 .../org/apache/flex/mdl/beads/ButtonEffect.as   | 228 +
 .../apache/flex/mdl/beads/ButtonEffectBead.as   | 253 ---
 .../org/apache/flex/mdl/beads/EffectBead.as |  98 ---
 .../flex/org/apache/flex/mdl/beads/MDLEffect.as | 105 
 .../apache/flex/mdl/beads/TextInputEffect.as|  97 +++
 .../org/apache/flex/mdl/beads/TextPrompt.as | 151 +++
 .../org/apache/flex/mdl/beads/TextPromptBead.as | 151 ---
 .../src/main/resources/mdl-manifest.xml |   7 +-
 9 files changed, 595 insertions(+), 515 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3cfdd6ec/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index e618658..0507f21 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -39,7 +39,7 @@ limitations under the License.
 
 
 
-
+
 
 add
 
@@ -47,7 +47,7 @@ limitations under the License.
 
 
 
-
+
 
 face
 
@@ -55,20 +55,20 @@ limitations under the License.
 
 
 
-
+
 
 
 
 
 
 
-
+
 
 
 
 
 
-
+
 
 
 
@@ -76,13 +76,13 @@ limitations under the License.
 
 
 
-
+
 
 
 
 
-
-
+
+
 
 
 
@@ -90,13 +90,13 @@ limitations under the License.
 
 
 
-
+
 
 
 
 
 
-
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3cfdd6ec/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ButtonEffect.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ButtonEffect.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ButtonEffect.as
new file mode 100644
index 000..e33d5ef
--- /dev/null
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ButtonEffect.as
@@ -0,0 +1,228 @@
+
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the 

[4/4] git commit: [flex-sdk] [refs/heads/release4.16.0] - Merge commit '0b5a634dabb00c04a492a08375e29c6885c1486f' into release4.16.0

2016-11-06 Thread jmclean
Merge commit '0b5a634dabb00c04a492a08375e29c6885c1486f' into release4.16.0


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/f86902af
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/f86902af
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/f86902af

Branch: refs/heads/release4.16.0
Commit: f86902afa4dd31d94f06232bbc9af7fc6d81c3fd
Parents: 4c8fe16 0b5a634
Author: Justin Mclean 
Authored: Mon Nov 7 16:15:08 2016 +1100
Committer: Justin Mclean 
Committed: Mon Nov 7 16:15:08 2016 +1100

--
 .../src/mx/collections/GroupingCollection.as|  2 +-
 .../src/mx/collections/GroupingCollection2.as   |  2 +-
 .../src/mx/olap/DefaultCubeImpl.as  |  6 ++--
 .../src/spark/components/MobileGrid.as  |  5 ++--
 .../supportClasses/MobileGridColumn.as  |  6 ++--
 .../framework/src/mx/collections/ISortField.as  | 31 +---
 .../framework/src/mx/collections/SortField.as   | 16 +-
 .../framework/tests/FLEX_34852_Tests.as |  5 ++--
 .../ListCollectionView_FLEX_34837_Tests.as  |  4 +--
 .../projects/mx/src/mx/controls/DataGrid.as | 15 --
 .../spark/src/spark/collections/SortField.as|  9 +++---
 .../spark/src/spark/components/DataGrid.as  |  3 +-
 .../spark/components/gridClasses/GridColumn.as  |  6 ++--
 .../SWFs/GridSortPreserveSelection.mxml |  5 ++--
 .../Sort/SWFs/SF_ORIG_DataGridApp.mxml  | 10 +++
 .../Sort/SWFs/SF_ORIG_DataGridApp_halo.mxml |  8 ++---
 .../CustComp_sortField_compareFunction.mxml |  5 ++--
 17 files changed, 54 insertions(+), 84 deletions(-)
--




[2/4] git commit: [flex-sdk] [refs/heads/release4.16.0] - FLEX-34880 Omitted to change a unit test.

2016-11-06 Thread jmclean
FLEX-34880
Omitted to change a unit test.


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/ff4067f5
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/ff4067f5
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/ff4067f5

Branch: refs/heads/release4.16.0
Commit: ff4067f56651082cecbe062f9cfd2aedbe44bf60
Parents: 2b09e32
Author: Mihai Chira 
Authored: Sun Nov 6 17:42:40 2016 +0100
Committer: Mihai Chira 
Committed: Sun Nov 6 17:42:40 2016 +0100

--
 .../framework/tests/ListCollectionView_FLEX_34837_Tests.as   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ff4067f5/frameworks/projects/framework/tests/ListCollectionView_FLEX_34837_Tests.as
--
diff --git 
a/frameworks/projects/framework/tests/ListCollectionView_FLEX_34837_Tests.as 
b/frameworks/projects/framework/tests/ListCollectionView_FLEX_34837_Tests.as
index f762358..f199481 100644
--- a/frameworks/projects/framework/tests/ListCollectionView_FLEX_34837_Tests.as
+++ b/frameworks/projects/framework/tests/ListCollectionView_FLEX_34837_Tests.as
@@ -25,7 +25,7 @@ package {
 import mx.collections.Sort;
 import mx.collections.SortField;
 import mx.utils.ObjectUtil;
-
+import mx.core.mx_internal;
 import org.flexunit.asserts.assertEquals;
 
 public class ListCollectionView_FLEX_34837_Tests {
@@ -87,7 +87,7 @@ package {
 
 const sortByStreetAscending:Sort = new Sort();
 var sortField:SortField = new ComplexSortField("address.street", 
false, false, false);
-sortField.compareFunction = compareByStreet;
+sortField.mx_internal::compareFunction_ = compareByStreet;
 sortByStreetAscending.fields = [sortField];
 _sut.sort = sortByStreetAscending;
 



[3/4] git commit: [flex-sdk] [refs/heads/release4.16.0] - FLEX-34880 Placed the other ISortField setters behind mx_internal and removed them from the interface.

2016-11-06 Thread jmclean
FLEX-34880
Placed the other ISortField setters behind mx_internal and removed them from 
the interface.


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/0b5a634d
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/0b5a634d
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/0b5a634d

Branch: refs/heads/release4.16.0
Commit: 0b5a634dabb00c04a492a08375e29c6885c1486f
Parents: ff4067f
Author: Mihai Chira 
Authored: Sun Nov 6 19:08:38 2016 +0100
Committer: Mihai Chira 
Committed: Sun Nov 6 19:08:38 2016 +0100

--
 .../src/spark/components/MobileGrid.as  |  5 +++--
 .../supportClasses/MobileGridColumn.as  |  2 +-
 .../framework/src/mx/collections/ISortField.as  | 23 
 .../framework/src/mx/collections/SortField.as   | 12 +-
 .../framework/tests/FLEX_34852_Tests.as |  5 +++--
 .../projects/mx/src/mx/controls/DataGrid.as |  2 +-
 .../spark/src/spark/components/DataGrid.as  |  3 ++-
 .../spark/components/gridClasses/GridColumn.as  |  4 ++--
 .../SWFs/GridSortPreserveSelection.mxml |  5 +++--
 .../Sort/SWFs/SF_ORIG_DataGridApp.mxml  | 10 -
 .../Sort/SWFs/SF_ORIG_DataGridApp_halo.mxml |  8 +++
 11 files changed, 30 insertions(+), 49 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0b5a634d/frameworks/projects/experimental_mobile/src/spark/components/MobileGrid.as
--
diff --git 
a/frameworks/projects/experimental_mobile/src/spark/components/MobileGrid.as 
b/frameworks/projects/experimental_mobile/src/spark/components/MobileGrid.as
index d58f885..85d68fa 100644
--- a/frameworks/projects/experimental_mobile/src/spark/components/MobileGrid.as
+++ b/frameworks/projects/experimental_mobile/src/spark/components/MobileGrid.as
@@ -22,6 +22,7 @@ package spark.components
 import mx.collections.ICollectionView;
 import mx.collections.ISort;
 import mx.collections.ISortField;
+import mx.collections.SortField;
 import mx.core.ClassFactory;
 import mx.core.ScrollPolicy;
 import mx.core.mx_internal;
@@ -280,8 +281,8 @@ public class MobileGrid extends List
 lastSortIndex = sortIndex;
 sortIndex = index;
 sortColumn = c;
-f.name = c.dataField;
-f.descending = desc;
+SortField(f).mx_internal::name_ = c.dataField;
+SortField(f).mx_internal::descending_ = desc;
 s.fields = [f];
 collection.sort = s;
 collection.refresh();

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0b5a634d/frameworks/projects/experimental_mobile/src/spark/components/supportClasses/MobileGridColumn.as
--
diff --git 
a/frameworks/projects/experimental_mobile/src/spark/components/supportClasses/MobileGridColumn.as
 
b/frameworks/projects/experimental_mobile/src/spark/components/supportClasses/MobileGridColumn.as
index ca8ab27..668594c 100644
--- 
a/frameworks/projects/experimental_mobile/src/spark/components/supportClasses/MobileGridColumn.as
+++ 
b/frameworks/projects/experimental_mobile/src/spark/components/supportClasses/MobileGridColumn.as
@@ -324,7 +324,7 @@ public class MobileGridColumn extends EventDispatcher
 };
 sortField.mx_internal::compareFunction = cF;
 }
-sortField.descending = column.sortDescending;
+sortField.mx_internal::descending_ = column.sortDescending;
 return sortField;
 }
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0b5a634d/frameworks/projects/framework/src/mx/collections/ISortField.as
--
diff --git a/frameworks/projects/framework/src/mx/collections/ISortField.as 
b/frameworks/projects/framework/src/mx/collections/ISortField.as
index 4186d0b..be3cc35 100644
--- a/frameworks/projects/framework/src/mx/collections/ISortField.as
+++ b/frameworks/projects/framework/src/mx/collections/ISortField.as
@@ -91,11 +91,6 @@ public interface ISortField
  */
 function get descending():Boolean;
 
-/**
- *  @deprecated A future release of Apache Flex SDK will remove this 
function. Please use the constructor
- *  argument instead.
- */
-function set descending(value:Boolean):void;
 
 /**
  *  The name of the field to be sorted.
@@ -108,12 +103,6 @@ public interface ISortField
 function get name():String;
 
 /**
- *  @deprecated A future release of Apache Flex SDK will remove this 
function. Please use the constructor
- *  argument instead.
- */
-function set name(n:String):void;
-
-/**
  *  Specifies that if the field being sorted contains numeric
  *  

[1/4] git commit: [flex-sdk] [refs/heads/release4.16.0] - FLEX-34880 Placed only one state setter (SortField.compareFunction) behind mx_internal (thus also renaming it to SortField.compareFunction_) t

2016-11-06 Thread jmclean
Repository: flex-sdk
Updated Branches:
  refs/heads/release4.16.0 4c8fe16f9 -> f86902afa


FLEX-34880
Placed only one state setter (SortField.compareFunction) behind mx_internal 
(thus also renaming it to SortField.compareFunction_) to provide the template 
for the others. Also removed it from the interface (ISortField).


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/2b09e327
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/2b09e327
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/2b09e327

Branch: refs/heads/release4.16.0
Commit: 2b09e327281211d26d65dd5d061b02d645cbdd39
Parents: 522a06d
Author: Mihai Chira 
Authored: Sun Nov 6 16:58:13 2016 +0100
Committer: Mihai Chira 
Committed: Sun Nov 6 16:58:13 2016 +0100

--
 .../src/mx/collections/GroupingCollection.as   |  2 +-
 .../src/mx/collections/GroupingCollection2.as  |  2 +-
 .../advancedgrids/src/mx/olap/DefaultCubeImpl.as   |  6 +++---
 .../components/supportClasses/MobileGridColumn.as  |  4 ++--
 .../framework/src/mx/collections/ISortField.as |  8 +---
 .../projects/framework/src/mx/collections/SortField.as |  4 ++--
 frameworks/projects/mx/src/mx/controls/DataGrid.as | 13 -
 .../projects/spark/src/spark/collections/SortField.as  |  9 +
 .../src/spark/components/gridClasses/GridColumn.as |  2 +-
 .../newComps/CustComp_sortField_compareFunction.mxml   |  5 ++---
 10 files changed, 22 insertions(+), 33 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2b09e327/frameworks/projects/advancedgrids/src/mx/collections/GroupingCollection.as
--
diff --git 
a/frameworks/projects/advancedgrids/src/mx/collections/GroupingCollection.as 
b/frameworks/projects/advancedgrids/src/mx/collections/GroupingCollection.as
index 7f1155b..e023569 100644
--- a/frameworks/projects/advancedgrids/src/mx/collections/GroupingCollection.as
+++ b/frameworks/projects/advancedgrids/src/mx/collections/GroupingCollection.as
@@ -1113,7 +1113,7 @@ public class GroupingCollection extends HierarchicalData 
implements IGroupingCol
 var sortField:SortField = new SortField(groupingField.name, 
 groupingField.caseInsensitive, 
 groupingField.descending, groupingField.numeric);
-sortField.compareFunction = groupingField.compareFunction;
+sortField.mx_internal::compareFunction_ = 
groupingField.compareFunction;
 fields.push(sortField);
 }
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2b09e327/frameworks/projects/advancedgrids/src/mx/collections/GroupingCollection2.as
--
diff --git 
a/frameworks/projects/advancedgrids/src/mx/collections/GroupingCollection2.as 
b/frameworks/projects/advancedgrids/src/mx/collections/GroupingCollection2.as
index 6ceeac7..1b73f86 100644
--- 
a/frameworks/projects/advancedgrids/src/mx/collections/GroupingCollection2.as
+++ 
b/frameworks/projects/advancedgrids/src/mx/collections/GroupingCollection2.as
@@ -1154,7 +1154,7 @@ public class GroupingCollection2 extends HierarchicalData 
implements IGroupingCo
 var sortField:SortField = new SortField(groupingField.name, 
 groupingField.caseInsensitive, 
 groupingField.descending, groupingField.numeric);
-sortField.compareFunction = groupingField.compareFunction;
+sortField.mx_internal::compareFunction_ = 
groupingField.compareFunction;
 fields.push(sortField);
 }
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2b09e327/frameworks/projects/advancedgrids/src/mx/olap/DefaultCubeImpl.as
--
diff --git a/frameworks/projects/advancedgrids/src/mx/olap/DefaultCubeImpl.as 
b/frameworks/projects/advancedgrids/src/mx/olap/DefaultCubeImpl.as
index 041147d..e6ed9bb 100644
--- a/frameworks/projects/advancedgrids/src/mx/olap/DefaultCubeImpl.as
+++ b/frameworks/projects/advancedgrids/src/mx/olap/DefaultCubeImpl.as
@@ -382,14 +382,14 @@ public class DefaultCubeImpl implements IOLAPCubeImpl
 newSort = new Sort;
 var fields:Array = [];
 
-var field:ISortField ;
+var field:ISortField;
 for each (level in levels)
 {
if (level.attribute && level.attribute.userDataFunction)
 {
attr = level.attribute;
-   field= new SortField(attr.dataField);
-  

[1/2] git commit: [flex-asjs] [refs/heads/feature/mdl] - MDL swc tasks for maven and Spacer

2016-11-06 Thread carlosrovira
Repository: flex-asjs
Updated Branches:
  refs/heads/feature/mdl 13c39e994 -> 59b6d50ff


MDL swc tasks for maven and Spacer


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/0d3b2794
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/0d3b2794
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/0d3b2794

Branch: refs/heads/feature/mdl
Commit: 0d3b27946e299ffbf526dc43bff6c5eace9fdfb0
Parents: 06a57c9
Author: Carlos Rovira 
Authored: Mon Nov 7 00:10:28 2016 +0100
Committer: Carlos Rovira 
Committed: Mon Nov 7 00:30:37 2016 +0100

--
 examples/flexjs/MDLExample/.vscode/tasks.json   |  7 +--
 .../MaterialDesignLite/.vscode/tasks.json   | 10 +++
 .../src/main/flex/org/apache/flex/mdl/Spacer.as | 65 
 .../src/main/resources/mdl-manifest.xml |  1 +
 4 files changed, 79 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0d3b2794/examples/flexjs/MDLExample/.vscode/tasks.json
--
diff --git a/examples/flexjs/MDLExample/.vscode/tasks.json 
b/examples/flexjs/MDLExample/.vscode/tasks.json
index ac2c02d..c207148 100644
--- a/examples/flexjs/MDLExample/.vscode/tasks.json
+++ b/examples/flexjs/MDLExample/.vscode/tasks.json
@@ -1,11 +1,10 @@
 {
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
+   //"--flexHome=/Users/carlosrovira/Dev/Flex/sdks/flexjs-0.8.0"
"version": "0.1.0",
-   "command": "asconfigc",
+   "command": "mvn",
+   "args": ["clean", "install", "-DskipTests"],
"isShellCommand": true,
-   "args": [
-   "--flexHome=/Users/carlosrovira/Dev/Flex/sdks/flexjs-0.8.0"
-   ],
"showOutput": "always"
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0d3b2794/frameworks/projects/MaterialDesignLite/.vscode/tasks.json
--
diff --git a/frameworks/projects/MaterialDesignLite/.vscode/tasks.json 
b/frameworks/projects/MaterialDesignLite/.vscode/tasks.json
new file mode 100644
index 000..c207148
--- /dev/null
+++ b/frameworks/projects/MaterialDesignLite/.vscode/tasks.json
@@ -0,0 +1,10 @@
+{
+   // See https://go.microsoft.com/fwlink/?LinkId=733558
+   // for the documentation about the tasks.json format
+   //"--flexHome=/Users/carlosrovira/Dev/Flex/sdks/flexjs-0.8.0"
+   "version": "0.1.0",
+   "command": "mvn",
+   "args": ["clean", "install", "-DskipTests"],
+   "isShellCommand": true,
+   "showOutput": "always"
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0d3b2794/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Spacer.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Spacer.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Spacer.as
new file mode 100644
index 000..0a1a44a
--- /dev/null
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Spacer.as
@@ -0,0 +1,65 @@
+
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+package org.apache.flex.mdl
+{
+   import org.apache.flex.core.UIBase;
+COMPILE::JS
+{
+import org.apache.flex.core.WrappedHTMLElement;
+}
+   
+/**
+ *  The Spacer class takes up space in the UI layout.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public class Spacer extends UIBase
+   {
+/**
+ *  

[2/2] git commit: [flex-asjs] [refs/heads/feature/mdl] - Merge branch 'feature/mdl' of https://git-wip-us.apache.org/repos/asf/flex-asjs into feature/mdl

2016-11-06 Thread carlosrovira
Merge branch 'feature/mdl' of https://git-wip-us.apache.org/repos/asf/flex-asjs 
into feature/mdl


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/59b6d50f
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/59b6d50f
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/59b6d50f

Branch: refs/heads/feature/mdl
Commit: 59b6d50ff5ebb4c38b1e465d92849abcb188cb71
Parents: 0d3b279 13c39e9
Author: Carlos Rovira 
Authored: Mon Nov 7 00:32:15 2016 +0100
Committer: Carlos Rovira 
Committed: Mon Nov 7 00:32:15 2016 +0100

--

--




git commit: [flex-asjs] [refs/heads/feature/mdl] - Change MDLExample tasks.json for VSCode to build with maven

2016-11-06 Thread carlosrovira
Repository: flex-asjs
Updated Branches:
  refs/heads/feature/mdl 06a57c9df -> 13c39e994


Change MDLExample tasks.json for VSCode to build with maven


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/13c39e99
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/13c39e99
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/13c39e99

Branch: refs/heads/feature/mdl
Commit: 13c39e994f0c8b42ca3954f9c2bba83c3f3b9256
Parents: 06a57c9
Author: Carlos Rovira 
Authored: Mon Nov 7 00:10:28 2016 +0100
Committer: Carlos Rovira 
Committed: Mon Nov 7 00:10:28 2016 +0100

--
 examples/flexjs/MDLExample/.vscode/tasks.json | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/13c39e99/examples/flexjs/MDLExample/.vscode/tasks.json
--
diff --git a/examples/flexjs/MDLExample/.vscode/tasks.json 
b/examples/flexjs/MDLExample/.vscode/tasks.json
index ac2c02d..c207148 100644
--- a/examples/flexjs/MDLExample/.vscode/tasks.json
+++ b/examples/flexjs/MDLExample/.vscode/tasks.json
@@ -1,11 +1,10 @@
 {
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
+   //"--flexHome=/Users/carlosrovira/Dev/Flex/sdks/flexjs-0.8.0"
"version": "0.1.0",
-   "command": "asconfigc",
+   "command": "mvn",
+   "args": ["clean", "install", "-DskipTests"],
"isShellCommand": true,
-   "args": [
-   "--flexHome=/Users/carlosrovira/Dev/Flex/sdks/flexjs-0.8.0"
-   ],
"showOutput": "always"
 }
\ No newline at end of file



[1/3] git commit: [flex-sdk] [refs/heads/develop] - FLEX-34880 Placed only one state setter (SortField.compareFunction) behind mx_internal (thus also renaming it to SortField.compareFunction_) to prov

2016-11-06 Thread mihaic
Repository: flex-sdk
Updated Branches:
  refs/heads/develop 522a06d61 -> 0b5a634da


FLEX-34880
Placed only one state setter (SortField.compareFunction) behind mx_internal 
(thus also renaming it to SortField.compareFunction_) to provide the template 
for the others. Also removed it from the interface (ISortField).


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/2b09e327
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/2b09e327
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/2b09e327

Branch: refs/heads/develop
Commit: 2b09e327281211d26d65dd5d061b02d645cbdd39
Parents: 522a06d
Author: Mihai Chira 
Authored: Sun Nov 6 16:58:13 2016 +0100
Committer: Mihai Chira 
Committed: Sun Nov 6 16:58:13 2016 +0100

--
 .../src/mx/collections/GroupingCollection.as   |  2 +-
 .../src/mx/collections/GroupingCollection2.as  |  2 +-
 .../advancedgrids/src/mx/olap/DefaultCubeImpl.as   |  6 +++---
 .../components/supportClasses/MobileGridColumn.as  |  4 ++--
 .../framework/src/mx/collections/ISortField.as |  8 +---
 .../projects/framework/src/mx/collections/SortField.as |  4 ++--
 frameworks/projects/mx/src/mx/controls/DataGrid.as | 13 -
 .../projects/spark/src/spark/collections/SortField.as  |  9 +
 .../src/spark/components/gridClasses/GridColumn.as |  2 +-
 .../newComps/CustComp_sortField_compareFunction.mxml   |  5 ++---
 10 files changed, 22 insertions(+), 33 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2b09e327/frameworks/projects/advancedgrids/src/mx/collections/GroupingCollection.as
--
diff --git 
a/frameworks/projects/advancedgrids/src/mx/collections/GroupingCollection.as 
b/frameworks/projects/advancedgrids/src/mx/collections/GroupingCollection.as
index 7f1155b..e023569 100644
--- a/frameworks/projects/advancedgrids/src/mx/collections/GroupingCollection.as
+++ b/frameworks/projects/advancedgrids/src/mx/collections/GroupingCollection.as
@@ -1113,7 +1113,7 @@ public class GroupingCollection extends HierarchicalData 
implements IGroupingCol
 var sortField:SortField = new SortField(groupingField.name, 
 groupingField.caseInsensitive, 
 groupingField.descending, groupingField.numeric);
-sortField.compareFunction = groupingField.compareFunction;
+sortField.mx_internal::compareFunction_ = 
groupingField.compareFunction;
 fields.push(sortField);
 }
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2b09e327/frameworks/projects/advancedgrids/src/mx/collections/GroupingCollection2.as
--
diff --git 
a/frameworks/projects/advancedgrids/src/mx/collections/GroupingCollection2.as 
b/frameworks/projects/advancedgrids/src/mx/collections/GroupingCollection2.as
index 6ceeac7..1b73f86 100644
--- 
a/frameworks/projects/advancedgrids/src/mx/collections/GroupingCollection2.as
+++ 
b/frameworks/projects/advancedgrids/src/mx/collections/GroupingCollection2.as
@@ -1154,7 +1154,7 @@ public class GroupingCollection2 extends HierarchicalData 
implements IGroupingCo
 var sortField:SortField = new SortField(groupingField.name, 
 groupingField.caseInsensitive, 
 groupingField.descending, groupingField.numeric);
-sortField.compareFunction = groupingField.compareFunction;
+sortField.mx_internal::compareFunction_ = 
groupingField.compareFunction;
 fields.push(sortField);
 }
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2b09e327/frameworks/projects/advancedgrids/src/mx/olap/DefaultCubeImpl.as
--
diff --git a/frameworks/projects/advancedgrids/src/mx/olap/DefaultCubeImpl.as 
b/frameworks/projects/advancedgrids/src/mx/olap/DefaultCubeImpl.as
index 041147d..e6ed9bb 100644
--- a/frameworks/projects/advancedgrids/src/mx/olap/DefaultCubeImpl.as
+++ b/frameworks/projects/advancedgrids/src/mx/olap/DefaultCubeImpl.as
@@ -382,14 +382,14 @@ public class DefaultCubeImpl implements IOLAPCubeImpl
 newSort = new Sort;
 var fields:Array = [];
 
-var field:ISortField ;
+var field:ISortField;
 for each (level in levels)
 {
if (level.attribute && level.attribute.userDataFunction)
 {
attr = level.attribute;
-   field= new SortField(attr.dataField);
-   

[2/3] git commit: [flex-sdk] [refs/heads/develop] - FLEX-34880 Omitted to change a unit test.

2016-11-06 Thread mihaic
FLEX-34880
Omitted to change a unit test.


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/ff4067f5
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/ff4067f5
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/ff4067f5

Branch: refs/heads/develop
Commit: ff4067f56651082cecbe062f9cfd2aedbe44bf60
Parents: 2b09e32
Author: Mihai Chira 
Authored: Sun Nov 6 17:42:40 2016 +0100
Committer: Mihai Chira 
Committed: Sun Nov 6 17:42:40 2016 +0100

--
 .../framework/tests/ListCollectionView_FLEX_34837_Tests.as   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ff4067f5/frameworks/projects/framework/tests/ListCollectionView_FLEX_34837_Tests.as
--
diff --git 
a/frameworks/projects/framework/tests/ListCollectionView_FLEX_34837_Tests.as 
b/frameworks/projects/framework/tests/ListCollectionView_FLEX_34837_Tests.as
index f762358..f199481 100644
--- a/frameworks/projects/framework/tests/ListCollectionView_FLEX_34837_Tests.as
+++ b/frameworks/projects/framework/tests/ListCollectionView_FLEX_34837_Tests.as
@@ -25,7 +25,7 @@ package {
 import mx.collections.Sort;
 import mx.collections.SortField;
 import mx.utils.ObjectUtil;
-
+import mx.core.mx_internal;
 import org.flexunit.asserts.assertEquals;
 
 public class ListCollectionView_FLEX_34837_Tests {
@@ -87,7 +87,7 @@ package {
 
 const sortByStreetAscending:Sort = new Sort();
 var sortField:SortField = new ComplexSortField("address.street", 
false, false, false);
-sortField.compareFunction = compareByStreet;
+sortField.mx_internal::compareFunction_ = compareByStreet;
 sortByStreetAscending.fields = [sortField];
 _sut.sort = sortByStreetAscending;
 



[3/3] git commit: [flex-sdk] [refs/heads/develop] - FLEX-34880 Placed the other ISortField setters behind mx_internal and removed them from the interface.

2016-11-06 Thread mihaic
FLEX-34880
Placed the other ISortField setters behind mx_internal and removed them from 
the interface.


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/0b5a634d
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/0b5a634d
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/0b5a634d

Branch: refs/heads/develop
Commit: 0b5a634dabb00c04a492a08375e29c6885c1486f
Parents: ff4067f
Author: Mihai Chira 
Authored: Sun Nov 6 19:08:38 2016 +0100
Committer: Mihai Chira 
Committed: Sun Nov 6 19:08:38 2016 +0100

--
 .../src/spark/components/MobileGrid.as  |  5 +++--
 .../supportClasses/MobileGridColumn.as  |  2 +-
 .../framework/src/mx/collections/ISortField.as  | 23 
 .../framework/src/mx/collections/SortField.as   | 12 +-
 .../framework/tests/FLEX_34852_Tests.as |  5 +++--
 .../projects/mx/src/mx/controls/DataGrid.as |  2 +-
 .../spark/src/spark/components/DataGrid.as  |  3 ++-
 .../spark/components/gridClasses/GridColumn.as  |  4 ++--
 .../SWFs/GridSortPreserveSelection.mxml |  5 +++--
 .../Sort/SWFs/SF_ORIG_DataGridApp.mxml  | 10 -
 .../Sort/SWFs/SF_ORIG_DataGridApp_halo.mxml |  8 +++
 11 files changed, 30 insertions(+), 49 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0b5a634d/frameworks/projects/experimental_mobile/src/spark/components/MobileGrid.as
--
diff --git 
a/frameworks/projects/experimental_mobile/src/spark/components/MobileGrid.as 
b/frameworks/projects/experimental_mobile/src/spark/components/MobileGrid.as
index d58f885..85d68fa 100644
--- a/frameworks/projects/experimental_mobile/src/spark/components/MobileGrid.as
+++ b/frameworks/projects/experimental_mobile/src/spark/components/MobileGrid.as
@@ -22,6 +22,7 @@ package spark.components
 import mx.collections.ICollectionView;
 import mx.collections.ISort;
 import mx.collections.ISortField;
+import mx.collections.SortField;
 import mx.core.ClassFactory;
 import mx.core.ScrollPolicy;
 import mx.core.mx_internal;
@@ -280,8 +281,8 @@ public class MobileGrid extends List
 lastSortIndex = sortIndex;
 sortIndex = index;
 sortColumn = c;
-f.name = c.dataField;
-f.descending = desc;
+SortField(f).mx_internal::name_ = c.dataField;
+SortField(f).mx_internal::descending_ = desc;
 s.fields = [f];
 collection.sort = s;
 collection.refresh();

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0b5a634d/frameworks/projects/experimental_mobile/src/spark/components/supportClasses/MobileGridColumn.as
--
diff --git 
a/frameworks/projects/experimental_mobile/src/spark/components/supportClasses/MobileGridColumn.as
 
b/frameworks/projects/experimental_mobile/src/spark/components/supportClasses/MobileGridColumn.as
index ca8ab27..668594c 100644
--- 
a/frameworks/projects/experimental_mobile/src/spark/components/supportClasses/MobileGridColumn.as
+++ 
b/frameworks/projects/experimental_mobile/src/spark/components/supportClasses/MobileGridColumn.as
@@ -324,7 +324,7 @@ public class MobileGridColumn extends EventDispatcher
 };
 sortField.mx_internal::compareFunction = cF;
 }
-sortField.descending = column.sortDescending;
+sortField.mx_internal::descending_ = column.sortDescending;
 return sortField;
 }
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0b5a634d/frameworks/projects/framework/src/mx/collections/ISortField.as
--
diff --git a/frameworks/projects/framework/src/mx/collections/ISortField.as 
b/frameworks/projects/framework/src/mx/collections/ISortField.as
index 4186d0b..be3cc35 100644
--- a/frameworks/projects/framework/src/mx/collections/ISortField.as
+++ b/frameworks/projects/framework/src/mx/collections/ISortField.as
@@ -91,11 +91,6 @@ public interface ISortField
  */
 function get descending():Boolean;
 
-/**
- *  @deprecated A future release of Apache Flex SDK will remove this 
function. Please use the constructor
- *  argument instead.
- */
-function set descending(value:Boolean):void;
 
 /**
  *  The name of the field to be sorted.
@@ -108,12 +103,6 @@ public interface ISortField
 function get name():String;
 
 /**
- *  @deprecated A future release of Apache Flex SDK will remove this 
function. Please use the constructor
- *  argument instead.
- */
-function set name(n:String):void;
-
-/**
  *  Specifies that if the field being sorted contains numeric
  *  (number/int/uint) 

git commit: [flex-asjs] [refs/heads/feature/mdl] - - Add MaterialDesignLite swc to distribution binary folder

2016-11-06 Thread piotrz
Repository: flex-asjs
Updated Branches:
  refs/heads/feature/mdl 6d27f7f48 -> 06a57c9df


- Add MaterialDesignLite swc to distribution binary folder


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/06a57c9d
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/06a57c9d
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/06a57c9d

Branch: refs/heads/feature/mdl
Commit: 06a57c9df4206b8ed213256bc8f8c25825c58814
Parents: 6d27f7f
Author: piotrz 
Authored: Sun Nov 6 19:08:37 2016 +0100
Committer: piotrz 
Committed: Sun Nov 6 19:08:37 2016 +0100

--
 distribution/pom.xml | 6 ++
 1 file changed, 6 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/06a57c9d/distribution/pom.xml
--
diff --git a/distribution/pom.xml b/distribution/pom.xml
index b2dac5e..027f5d2 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -170,6 +170,12 @@
 
 
   org.apache.flex.flexjs.framework
+  MaterialDesignLite
+  0.8.0-SNAPSHOT
+  swc
+
+
+  org.apache.flex.flexjs.framework
   Mobile
   0.8.0-SNAPSHOT
   swc



[04/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Fix to complain with the last refactor

2016-11-06 Thread carlosrovira
Fix to complain with the last refactor


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/bbaf5389
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/bbaf5389
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/bbaf5389

Branch: refs/heads/feature/mdl
Commit: bbaf53895b57cc7ab09bcb180d268cec069d263c
Parents: 2ba5c03
Author: Carlos Rovira 
Authored: Wed Nov 2 19:27:22 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../src/main/flex/org/apache/flex/mdl/beads/TextPrompt.as| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bbaf5389/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TextPrompt.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TextPrompt.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TextPrompt.as
index e3142b2..b9d1a6b 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TextPrompt.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TextPrompt.as
@@ -138,11 +138,11 @@ package org.apache.flex.mdl.beads
var model:Object = UIBase(_strand).model;

if (model.text != null && model.text.length > 0 ) {
-   if (promptAdded) 
UIBase(_strand).removeChild(promptField);
+   if (promptAdded) 
UIBase(_strand).$displayObjectContainer.removeChild(promptField);
promptAdded = false;
}
else {
-   if (!promptAdded) 
UIBase(_strand).addChild(promptField);
+   if (!promptAdded) 
UIBase(_strand).$displayObjectContainer.addChild(promptField);
promptField.text = prompt;
promptAdded = true;
}



[05/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Use of mdl:TextInput

2016-11-06 Thread carlosrovira
Use of mdl:TextInput


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/5a33d7bc
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/5a33d7bc
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/5a33d7bc

Branch: refs/heads/feature/mdl
Commit: 5a33d7bcdca1143e957875243104e650982bba62
Parents: 38b686c
Author: Carlos Rovira 
Authored: Mon Oct 17 13:40:57 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 examples/flexjs/MDLExample/src/main/flex/App.mxml | 2 ++
 1 file changed, 2 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5a33d7bc/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index b94a0d7..937d8d2 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -53,6 +53,8 @@ limitations under the License.
 
 
 
+
+
 
 
 



[26/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - ButtonEffectBead in place

2016-11-06 Thread carlosrovira
ButtonEffectBead in place


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/f28f92ad
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/f28f92ad
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/f28f92ad

Branch: refs/heads/feature/mdl
Commit: f28f92adf727e81ec5f67d9f0264470f69a0c9cf
Parents: bc8218b
Author: Carlos Rovira 
Authored: Wed Oct 26 20:03:10 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|  10 +-
 .../main/flex/org/apache/flex/mdl/CheckBox.as   |  12 -
 .../flex/org/apache/flex/mdl/RadioButton.as |  12 -
 .../apache/flex/mdl/beads/ButtonEffectBead.as   | 253 +++
 .../org/apache/flex/mdl/beads/EffectBead.as |   9 -
 .../src/main/resources/defaults.css |   8 +-
 .../src/main/resources/mdl-manifest.xml |   1 +
 7 files changed, 266 insertions(+), 39 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f28f92ad/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 82126a4..e618658 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -39,7 +39,7 @@ limitations under the License.
 
 
 
-
+
 
 add
 
@@ -47,7 +47,7 @@ limitations under the License.
 
 
 
-
+
 
 face
 
@@ -55,20 +55,20 @@ limitations under the License.
 
 
 
-
+
 
 
 
 
 
 
-
+
 
 
 
 
 
-
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f28f92ad/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
index 58d3ba2..4f2bf9e 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
@@ -53,18 +53,6 @@ package org.apache.flex.mdl
{
super();
}
-
-private var _mdlEffect:String = "";
-
-public function get mdlEffect():String
-{
-return _mdlEffect;
-}
-
-public function set mdlEffect(value:String):void
-{
-_mdlEffect = value;
-}
}
 
 COMPILE::JS

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f28f92ad/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
index 0f8237d..e0933d2 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
@@ -53,18 +53,6 @@ package org.apache.flex.mdl
{
super();
}
-
-private var _mdlEffect:String = "";
-
-public function get mdlEffect():String
-{
-return _mdlEffect;
-}
-
-public function set mdlEffect(value:String):void
-{
-_mdlEffect = value;
-}
}
 
 COMPILE::JS


[23/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Changes in TextInput

2016-11-06 Thread carlosrovira
Changes in TextInput


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/911901bf
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/911901bf
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/911901bf

Branch: refs/heads/feature/mdl
Commit: 911901bfcba11285bcc8902fb081eb95b97f4924
Parents: 99a6abd
Author: Carlos Rovira 
Authored: Tue Oct 25 19:02:37 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml| 13 +++--
 .../main/flex/org/apache/flex/mdl/TextInput.as  | 55 ++--
 2 files changed, 21 insertions(+), 47 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/911901bf/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index a50dbeb..3924dba 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -55,16 +55,15 @@ limitations under the License.
 
 
 
-
-
-
+
+
 
 
-
-
+
+
 
-
-
+
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/911901bf/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
index b387b81..87f9c5a 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
@@ -64,41 +64,34 @@ package org.apache.flex.mdl
 COMPILE::JS
 override protected function createElement():WrappedHTMLElement
 {
-var div:HTMLDivElement;
-var input:HTMLInputElement;
-var label:HTMLLabelElement;
-var textNode:Text;
-
-div = document.createElement('div') as HTMLDivElement;
+var div:HTMLDivElement = document.createElement('div') as 
HTMLDivElement;
+div.className = "mdl-textfield mdl-js-textfield";
 
-input = document.createElement('input') as HTMLInputElement;
+var input:HTMLInputElement = document.createElement('input') as 
HTMLInputElement;
 input.setAttribute('type', 'text');
 input.className = 'mdl-textfield__input';
-
-label = document.createElement('label') as HTMLLabelElement;
-label.className = "mdl-textfield__label";
 
-_textNode = textNode = document.createTextNode('') as Text;
+//attach input handler to dispatch flexjs change event when user 
write in textinput
+//goog.events.listen(element, 'change', killChangeHandler);
+goog.events.listen(input, 'input', textChangeHandler);
+
+var label:HTMLLabelElement = document.createElement('label') as 
HTMLLabelElement;
+label.className = "mdl-textfield__label";
+
+var textNode:Text = document.createTextNode('') as Text;
 label.appendChild(textNode);
 
 div.appendChild(input);
 div.appendChild(label);
 
-element = div as WrappedHTMLElement;
-
-//attach input handler to dispatch flexjs change event when user 
write in textinput
-//goog.events.listen(element, 'change', killChangeHandler);
-goog.events.listen(input, 'input', textChangeHandler);
-
-positioner = element;
+element = input as WrappedHTMLElement;
+
+positioner = div as WrappedHTMLElement;
 positioner.style.position = 'relative';
-(div as WrappedHTMLElement).flexjs_wrapper = this;
 (input as WrappedHTMLElement).flexjs_wrapper = this;
 (label as WrappedHTMLElement).flexjs_wrapper = this;
 element.flexjs_wrapper = this;
 
-className = typeNames = "mdl-textfield mdl-js-textfield";
-
 return element;
 }
 
@@ -114,26 +107,8 @@ package org.apache.flex.mdl
 _mdlEffect = value;
 COMPILE::JS 

[15/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - MDL TextInput

2016-11-06 Thread carlosrovira
MDL TextInput


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/38b686c5
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/38b686c5
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/38b686c5

Branch: refs/heads/feature/mdl
Commit: 38b686c5af147ea23cbdf2a88a118d41645448a9
Parents: 3e72700
Author: Carlos Rovira 
Authored: Mon Oct 17 13:40:29 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../main/flex/org/apache/flex/mdl/TextInput.as  | 99 
 .../src/main/resources/mdl-manifest.xml |  2 +-
 2 files changed, 100 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/38b686c5/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
new file mode 100644
index 000..dace484
--- /dev/null
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
@@ -0,0 +1,99 @@
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+package org.apache.flex.mdl
+{
+   import org.apache.flex.html.TextInput;
+
+COMPILE::JS
+{
+import goog.events;
+import org.apache.flex.core.WrappedHTMLElement;
+}
+
+/**
+ *  The TextInput class provides a Material Design Library UI-like 
appearance for
+ *  a TextInput.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public class TextInput extends org.apache.flex.html.TextInput
+   {
+/**
+ *  Constructor.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public function TextInput()
+   {
+   super();
+   }
+   
+/**
+ * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+ */
+COMPILE::JS
+override protected function createElement():WrappedHTMLElement
+{
+var div:HTMLDivElement;
+var input:HTMLInputElement;
+var label:HTMLLabelElement;
+var textNode:Text;
+//element = document.createElement('input') as WrappedHTMLElement;
+
+div = document.createElement('div') as HTMLDivElement;
+div.className = "mdl-textfield mdl-js-textfield";
+
+input = document.createElement('input') as HTMLInputElement;
+input.setAttribute('type', 'text');
+input.className = 'mdl-textfield__input';
+
+label = document.createElement('label') as HTMLLabelElement;
+label.className = "mdl-textfield__label";
+
+textNode = document.createTextNode('Text...') as Text;
+label.appendChild(textNode);
+//element.className = 'TextInput';
+//typeNames = 'TextInput';
+
+div.appendChild(input);
+div.appendChild(label);
+
+element = div as WrappedHTMLElement;
+
+//attach input handler to dispatch flexjs change event when user 
write in textinput
+//goog.events.listen(element, 'change', killChangeHandler);
+goog.events.listen(input, 'input', textChangeHandler);
+
+positioner = element;
+positioner.style.position = 'relative';
+(div as WrappedHTMLElement).flexjs_wrapper = this;
+(input as WrappedHTMLElement).flexjs_wrapper = this;

[27/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Effect Bead classes for various components

2016-11-06 Thread carlosrovira
Effect Bead classes for various components


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/1f1f31e0
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/1f1f31e0
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/1f1f31e0

Branch: refs/heads/feature/mdl
Commit: 1f1f31e0bea7452f1157dc74b3ef0935f0af2856
Parents: f28f92a
Author: Carlos Rovira 
Authored: Wed Oct 26 20:57:57 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|  20 +-
 .../org/apache/flex/mdl/beads/ButtonEffect.as   | 228 +
 .../apache/flex/mdl/beads/ButtonEffectBead.as   | 253 ---
 .../org/apache/flex/mdl/beads/EffectBead.as |  98 ---
 .../flex/org/apache/flex/mdl/beads/MDLEffect.as | 105 
 .../apache/flex/mdl/beads/TextInputEffect.as|  97 +++
 .../org/apache/flex/mdl/beads/TextPrompt.as | 151 +++
 .../org/apache/flex/mdl/beads/TextPromptBead.as | 151 ---
 .../src/main/resources/mdl-manifest.xml |   7 +-
 9 files changed, 595 insertions(+), 515 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f1f31e0/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index e618658..0507f21 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -39,7 +39,7 @@ limitations under the License.
 
 
 
-
+
 
 add
 
@@ -47,7 +47,7 @@ limitations under the License.
 
 
 
-
+
 
 face
 
@@ -55,20 +55,20 @@ limitations under the License.
 
 
 
-
+
 
 
 
 
 
 
-
+
 
 
 
 
 
-
+
 
 
 
@@ -76,13 +76,13 @@ limitations under the License.
 
 
 
-
+
 
 
 
 
-
-
+
+
 
 
 
@@ -90,13 +90,13 @@ limitations under the License.
 
 
 
-
+
 
 
 
 
 
-
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f1f31e0/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ButtonEffect.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ButtonEffect.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ButtonEffect.as
new file mode 100644
index 000..e33d5ef
--- /dev/null
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ButtonEffect.as
@@ -0,0 +1,228 @@
+
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the 

[24/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - MDL TextPromptBead in place

2016-11-06 Thread carlosrovira
MDL TextPromptBead in place


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/8390928a
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/8390928a
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/8390928a

Branch: refs/heads/feature/mdl
Commit: 8390928a15cc161512931c0eaa17677505b17d61
Parents: 911901b
Author: Carlos Rovira 
Authored: Wed Oct 26 12:29:26 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|  12 +-
 .../src/main/flex/MDLClasses.as |   2 +-
 .../main/flex/org/apache/flex/mdl/TextInput.as  |  16 +-
 .../org/apache/flex/mdl/beads/TextPromptBead.as | 151 +++
 .../src/main/resources/mdl-manifest.xml |   1 +
 5 files changed, 178 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8390928a/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 3924dba..9f1be78 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -55,8 +55,16 @@ limitations under the License.
 
 
 
-
-
+
+
+
+
+
+
+
+
+
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8390928a/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as
--
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as 
b/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as
index 733728e..c0ea571 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as
@@ -29,7 +29,7 @@ internal class MDLClasses
 {  
COMPILE::SWF
{
-   //import org.apache.flex.flat.beads.CSSScrollBarView; 
CSSScrollBarView;
+   //import org.apache.flex.mdl.beads.TextPromptBead; 
TextPromptBead;
}
 }
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8390928a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
index 87f9c5a..c8244a4 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
@@ -17,6 +17,8 @@
 

 package org.apache.flex.mdl
 {
+import org.apache.flex.core.ITextModel;
+   import org.apache.flex.events.Event;
import org.apache.flex.html.TextInput;
 
 COMPILE::JS
@@ -52,6 +54,16 @@ package org.apache.flex.mdl
 COMPILE::JS
 {
 private var _textNode:Text;
+
+public function get textNode():Text
+{
+return _textNode;
+}
+
+public function set textNode(value:Text):void
+{
+_textNode = value;
+}
 }
 
 /**
@@ -78,7 +90,7 @@ package org.apache.flex.mdl
 var label:HTMLLabelElement = document.createElement('label') as 
HTMLLabelElement;
 label.className = "mdl-textfield__label";
 
-var textNode:Text = document.createTextNode('') as Text;
+textNode = document.createTextNode('') as Text;
 label.appendChild(textNode);
 
 div.appendChild(input);
@@ -110,5 +122,7 @@ package org.apache.flex.mdl
 positioner.className = positioner.className + " " + _mdlEffect;
 }
 }
+
+
}
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8390928a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TextPromptBead.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TextPromptBead.as
 

[02/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - removed CardEffect bead and incorporated to Card component

2016-11-06 Thread carlosrovira
removed CardEffect bead and incorporated to Card component


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/b926a7c3
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/b926a7c3
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/b926a7c3

Branch: refs/heads/feature/mdl
Commit: b926a7c34dafd86f8bf16ed2cde88e3df08597f2
Parents: 65ff758
Author: Carlos Rovira 
Authored: Sat Nov 5 02:01:27 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|   5 +-
 .../src/main/flex/org/apache/flex/mdl/Card.as   |  26 -
 .../org/apache/flex/mdl/beads/CardEffect.as | 100 ---
 .../src/main/resources/mdl-manifest.xml |   1 -
 4 files changed, 26 insertions(+), 106 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b926a7c3/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 3393a5e..9b3f6fe 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -113,10 +113,7 @@ limitations under the License.
 
 
 
-
-
-
-
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b926a7c3/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
index c8c1dd2..3835d86 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
@@ -76,6 +76,30 @@ package org.apache.flex.mdl
 className = typeNames = "mdl-card";
 
 return element;
-}
+}
+   
+   protected var _shadow:Number = 0;
+/**
+*  A boolean flag to activate "mdl-shadow--4dp" effect 
selector.
+*  Assigns variable shadow depths (0, 2, 3, 4, 6, 8, or 16) to 
card
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+public function get shadow():Number
+{
+return _shadow;
+}
+public function set shadow(value:Number):void
+{
+   if(value == 0 || value == 2 || value == 3 || value == 4 
|| value == 6 || value == 8 || value == 16)
+   {
+   _shadow = value;
+
+   className += _shadow != 0 ? " mdl-shadow--" + 
_shadow + "dp" : "";
+   }  
+}
}
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b926a7c3/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/CardEffect.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/CardEffect.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/CardEffect.as
deleted file mode 100644
index 19e3396..000
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/CardEffect.as
+++ /dev/null
@@ -1,100 +0,0 @@
-
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//  http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  

[30/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Minor changes

2016-11-06 Thread carlosrovira
Minor changes


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/2ba5c039
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/2ba5c039
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/2ba5c039

Branch: refs/heads/feature/mdl
Commit: 2ba5c03934d12aabd0b01acaaa49fd1238bb1899
Parents: eabe387
Author: Carlos Rovira 
Authored: Thu Oct 27 18:28:34 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 examples/flexjs/MDLExample/pom.xml  |  6 ++
 .../flexjs/MDLExample/src/main/flex/App.mxml|  6 +-
 .../src/main/resources/mdl-styles.css   | 20 ++---
 .../main/flex/org/apache/flex/mdl/CheckBox.as   | 85 ++--
 .../flex/org/apache/flex/mdl/beads/Disabled.as  | 20 -
 .../src/main/resources/defaults.css |  7 +-
 6 files changed, 66 insertions(+), 78 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2ba5c039/examples/flexjs/MDLExample/pom.xml
--
diff --git a/examples/flexjs/MDLExample/pom.xml 
b/examples/flexjs/MDLExample/pom.xml
index 3a31b25..1503b57 100644
--- a/examples/flexjs/MDLExample/pom.xml
+++ b/examples/flexjs/MDLExample/pom.xml
@@ -44,6 +44,12 @@
 
   20.0
   App.mxml
+  
+
+  defaults.css
+  ../src/main/resources/defaults.css
+
+  
 
 
   

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2ba5c039/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 472f556..9f76732 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -53,20 +53,20 @@ limitations under the License.
 
 
 
-
+
 
 
 
 
 
 
-
+
 
 
 
 
 
-
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2ba5c039/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
--
diff --git a/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css 
b/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
index 6a07905..3da8515 100644
--- a/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
+++ b/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
@@ -19,14 +19,16 @@
 

 */
 
-.demo-card-wide.mdl-card {
-  width: 512px;
+@namespace "library://ns.apache.org/flexjs/basic";
+
+.flexjs *, . flexjs *:before, . flexjs *:after {
+-moz-box-sizing: border-box;
+-webkit-box-sizing: border-box;
+box-sizing: border-box;
 }
-.demo-card-wide > .mdl-card__title {
-  color: #fff;
-  height: 176px;
-  background: url('welcome_card.jpg') center / cover;
+
+Application
+{
+   padding: 10px;
+   margin: 10px;
 }
-.demo-card-wide > .mdl-card__menu {
-  color: #fff;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2ba5c039/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
index 4f2bf9e..a4d2a4c 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
@@ -73,64 +73,31 @@ package org.apache.flex.mdl
  */
 override protected function createElement():WrappedHTMLElement
 {
-label = document.createElement('label') as HTMLLabelElement;
-element = label as WrappedHTMLElement;
-
-input = document.createElement('input') as HTMLInputElement;
-input.type = 'checkbox';
-input.className = 'mdl-checkbox__input';
-

[29/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - MDL Slider

2016-11-06 Thread carlosrovira
MDL Slider


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/9ac5f7ad
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/9ac5f7ad
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/9ac5f7ad

Branch: refs/heads/feature/mdl
Commit: 9ac5f7ada777f96831164ccc62c1b3fcd1f1432c
Parents: bbaf538
Author: Carlos Rovira 
Authored: Wed Nov 2 23:39:59 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 examples/flexjs/MDLExample/pom.xml  |  12 +-
 .../flexjs/MDLExample/src/main/flex/App.mxml|   2 +
 .../main/resources/mdl-js-index-template.html   |   1 +
 .../src/main/flex/MDLClasses.as |  24 +-
 .../src/main/flex/org/apache/flex/mdl/Slider.as | 261 +++
 .../src/main/resources/defaults.css |   9 +-
 .../src/main/resources/mdl-manifest.xml |   1 +
 7 files changed, 289 insertions(+), 21 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9ac5f7ad/examples/flexjs/MDLExample/pom.xml
--
diff --git a/examples/flexjs/MDLExample/pom.xml 
b/examples/flexjs/MDLExample/pom.xml
index 1503b57..17fc28d 100644
--- a/examples/flexjs/MDLExample/pom.xml
+++ b/examples/flexjs/MDLExample/pom.xml
@@ -44,12 +44,6 @@
 
   20.0
   App.mxml
-  
-
-  defaults.css
-  ../src/main/resources/defaults.css
-
-  
 
 
   
@@ -63,6 +57,12 @@
   true
   
${basedir}/src/main/resources/mdl-js-index-template.html
   
-compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css
+  
+
+  mdl-styles.css
+  ../src/main/resources/mdl-styles.css
+
+  
 
   
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9ac5f7ad/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 9f76732..dca2da1 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -102,6 +102,8 @@ limitations under the License.
 
 
 
+
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9ac5f7ad/examples/flexjs/MDLExample/src/main/resources/mdl-js-index-template.html
--
diff --git 
a/examples/flexjs/MDLExample/src/main/resources/mdl-js-index-template.html 
b/examples/flexjs/MDLExample/src/main/resources/mdl-js-index-template.html
index 9eaf780..a2ce192 100644
--- a/examples/flexjs/MDLExample/src/main/resources/mdl-js-index-template.html
+++ b/examples/flexjs/MDLExample/src/main/resources/mdl-js-index-template.html
@@ -20,6 +20,7 @@



+  

   https://fonts.googleapis.com/icon?family=Material+Icons;>
   https://code.getmdl.io/1.2.1/material.indigo-pink.min.css;>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9ac5f7ad/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as
--
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as 
b/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as
index c0ea571..7a8d043 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as
@@ -19,19 +19,19 @@
 package
 {
 
-/**
- *  @private
- *  This class is used to link additional classes into mdl.swc
- *  beyond those that are found by dependecy analysis starting
- *  from the classes specified in manifest.xml.
- */
-internal class MDLClasses
-{  
-   COMPILE::SWF
-   {
-   //import org.apache.flex.mdl.beads.TextPromptBead; 
TextPromptBead;
+   /**
+   *  @private
+   *  This class is used to link additional classes into mdl.swc
+   *  beyond those that are found by dependecy analysis starting
+   *  from the classes specified in manifest.xml.
+   */
+   internal class MDLClasses
+   {   
+   COMPILE::SWF
+   {
+   //import org.apache.flex.mdl.beads.TextPromptBead; 
TextPromptBead;
+   }
}
-}
 
 }
 


[17/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - MDL RadioButton

2016-11-06 Thread carlosrovira
MDL RadioButton


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/97467604
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/97467604
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/97467604

Branch: refs/heads/feature/mdl
Commit: 97467604566d7da6dab3768ddf4ad337d2f0460b
Parents: d242fb0
Author: Carlos Rovira 
Authored: Mon Oct 17 17:58:42 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../flex/org/apache/flex/mdl/RadioButton.as | 249 +++
 .../src/main/resources/mdl-manifest.xml |   1 +
 2 files changed, 250 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/97467604/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
new file mode 100644
index 000..d7e9b2f
--- /dev/null
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
@@ -0,0 +1,249 @@
+
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+package org.apache.flex.mdl
+{
+COMPILE::SWF
+{
+import org.apache.flex.html.RadioButton;
+}
+COMPILE::JS
+{
+import org.apache.flex.core.UIBase;
+import org.apache.flex.core.WrappedHTMLElement;
+}
+
+/**
+ *  The RadioButton class provides a MDL UI-like appearance for
+ *  a RadioButton.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+COMPILE::SWF
+   public class RadioButton extends org.apache.flex.html.RadioButton
+   {
+/**
+ *  Constructor.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public function RadioButton()
+   {
+   super();
+   }
+   }
+
+COMPILE::JS
+public class RadioButton extends UIBase
+{
+/**
+ * Provides unique name
+ */
+public static var radioCounter:int = 0;
+
+private var input:HTMLInputElement;
+private var radio:HTMLSpanElement;
+private var label:HTMLLabelElement;
+private var textNode:Text;
+
+/**
+ * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+ * @flexjsignorecoercion HTMLLabelElement
+ * @flexjsignorecoercion HTMLInputElement
+ * @flexjsignorecoercion HTMLSpanElement
+ * @flexjsignorecoercion Text
+ */
+override protected function createElement():WrappedHTMLElement
+{ 
+// hide this eleement
+input = document.createElement('input') as HTMLInputElement;
+input.type = 'radio';
+input.className = 'mdl-radio__button';
+input.id = '_radio_' + radioCounter++;
+input.addEventListener('change', selectionChangeHandler, false);  
+
+radio = document.createElement('span') as HTMLSpanElement;
+radio.className = 'mdl-radio__label';
+radio.addEventListener('mouseover', mouseOverHandler, false);
+radio.addEventListener('mouseout', mouseOutHandler, false);
+
+textNode = document.createTextNode('') as Text;
+
+label = document.createElement('label') as HTMLLabelElement;
+label.className = "mdl-radio mdl-js-radio mdl-js-ripple-effect";
+   

[36/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Update example to new js html tags

2016-11-06 Thread carlosrovira
Update example to new js html tags


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/37286bce
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/37286bce
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/37286bce

Branch: refs/heads/feature/mdl
Commit: 37286bce393209aa668e08f505cdb1fb1d11f507
Parents: daf1fe6
Author: Carlos Rovira 
Authored: Fri Nov 4 17:09:13 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 examples/flexjs/MDLExample/src/main/flex/App.mxml | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/37286bce/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index df452e6..34aacb8 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -109,17 +109,17 @@ limitations under the License.
 
 
 
-http://flex.apache.org;>
+http://flex.apache.org;>
 
 
 
-
+
 
-http://flex.apache.org;>
+http://flex.apache.org;>
 
 
 
-
+
 
 
 
@@ -127,7 +127,7 @@ limitations under the License.
 
 
 
-
+
 
 
 



[01/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - fix DesktopMap build for Maven [Forced Update!]

2016-11-06 Thread carlosrovira
Repository: flex-asjs
Updated Branches:
  refs/heads/feature/mdl f5600a09e -> 6d27f7f48 (forced update)


fix DesktopMap build for Maven


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/d47d3d92
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/d47d3d92
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/d47d3d92

Branch: refs/heads/feature/mdl
Commit: d47d3d92eac1be58967d777e5fa6592d0c2085ce
Parents: cf35d18
Author: Alex Harui 
Authored: Sat Nov 5 23:44:38 2016 -0700
Committer: Alex Harui 
Committed: Sat Nov 5 23:44:46 2016 -0700

--
 examples/flexjs/DesktopMap/pom.xml | 10 ++
 1 file changed, 10 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d47d3d92/examples/flexjs/DesktopMap/pom.xml
--
diff --git a/examples/flexjs/DesktopMap/pom.xml 
b/examples/flexjs/DesktopMap/pom.xml
index effa50e..b28d9de 100644
--- a/examples/flexjs/DesktopMap/pom.xml
+++ b/examples/flexjs/DesktopMap/pom.xml
@@ -77,6 +77,16 @@
   0.8.0-SNAPSHOT
   swc
 
+
+
+org.apache.flex.flexjs.typedefs
+flexjs-typedefs-googlemaps
+${flexjs.typedefs.version}
+swc
+typedefs
+runtime
+
+
   
 
 



[12/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - fix MDL swc to use the correct Button

2016-11-06 Thread carlosrovira
fix MDL swc to use the correct Button


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/eebd1fc6
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/eebd1fc6
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/eebd1fc6

Branch: refs/heads/feature/mdl
Commit: eebd1fc629e155ab3cbf35d430c65ae9397e459b
Parents: 7280099
Author: Alex Harui 
Authored: Sun Oct 16 21:25:09 2016 -0700
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../src/main/flex/org/apache/flex/mdl/Button.as | 5 +++--
 .../MaterialDesignLite/src/main/resources/mdl-manifest.xml  | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/eebd1fc6/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
index 11f218c..7f836f6 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
@@ -66,8 +66,9 @@ package org.apache.flex.mdl
 override protected function createElement():WrappedHTMLElement
 {
 var button:HTMLButtonElement;
-
-element = button = document.createElement('button') as 
HTMLButtonElement;
+
+button = document.createElement('button') as HTMLButtonElement;
+element = button as WrappedHTMLElement;
 button.className = 'mdl-button mdl-js-button mdl-button--fab 
mdl-button--colored';
 
 positioner = element;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/eebd1fc6/frameworks/projects/MaterialDesignLite/src/main/resources/mdl-manifest.xml
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/resources/mdl-manifest.xml 
b/frameworks/projects/MaterialDesignLite/src/main/resources/mdl-manifest.xml
index 68dffad..897aab5 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/resources/mdl-manifest.xml
+++ b/frameworks/projects/MaterialDesignLite/src/main/resources/mdl-manifest.xml
@@ -21,7 +21,7 @@
 
 
 
-
+
 
 
 



[35/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - remove type from badge and change jpeg to jpg

2016-11-06 Thread carlosrovira
remove type from badge and change jpeg to jpg


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/53afe1c0
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/53afe1c0
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/53afe1c0

Branch: refs/heads/feature/mdl
Commit: 53afe1c061e96c0526fff073975f7f30fb2e6e77
Parents: 6404fd1
Author: Carlos Rovira 
Authored: Fri Nov 4 11:28:15 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 examples/flexjs/MDLExample/src/main/flex/App.mxml  |  16 ++--
 .../MDLExample/src/main/resources/Unknown.jpeg | Bin 50531 -> 0 bytes
 .../MDLExample/src/main/resources/Unknown.jpg  | Bin 0 -> 50531 bytes
 3 files changed, 2 insertions(+), 14 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/53afe1c0/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 9f3fb79..111deed 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -118,12 +118,6 @@ limitations under the License.
 http://flex.apache.org"/>
 
 
-
-
-
-
-
-
 
 
 
@@ -132,7 +126,7 @@ limitations under the License.
 
 
 
-
+
 
 
 
@@ -141,17 +135,11 @@ limitations under the License.
 
 
 
-
+
 
 
 
 
-
-
-
-
-
-
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/53afe1c0/examples/flexjs/MDLExample/src/main/resources/Unknown.jpeg
--
diff --git a/examples/flexjs/MDLExample/src/main/resources/Unknown.jpeg 
b/examples/flexjs/MDLExample/src/main/resources/Unknown.jpeg
deleted file mode 100644
index 08fb201..000
Binary files a/examples/flexjs/MDLExample/src/main/resources/Unknown.jpeg and 
/dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/53afe1c0/examples/flexjs/MDLExample/src/main/resources/Unknown.jpg
--
diff --git a/examples/flexjs/MDLExample/src/main/resources/Unknown.jpg 
b/examples/flexjs/MDLExample/src/main/resources/Unknown.jpg
new file mode 100644
index 000..08fb201
Binary files /dev/null and 
b/examples/flexjs/MDLExample/src/main/resources/Unknown.jpg differ



[10/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Use changes in falcon to inline HTML

2016-11-06 Thread carlosrovira
Use changes in falcon to inline HTML


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/3e1d6e04
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/3e1d6e04
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/3e1d6e04

Branch: refs/heads/feature/mdl
Commit: 3e1d6e04e898bd652ad3d70b6f1cbba21a491927
Parents: 25877d8
Author: Carlos Rovira 
Authored: Sun Oct 16 11:05:38 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 examples/flexjs/MDLExample/src/main/flex/App.mxml | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3e1d6e04/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 4ad2a62..b19b9b4 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -20,7 +20,8 @@ limitations under the License.
 http://ns.adobe.com/mxml/2009;
 xmlns:js="library://ns.apache.org/flexjs/basic"
 xmlns:local="*"
-xmlns:mdl="library://ns.apache.org/flexjs/mdl">
+xmlns:mdl="library://ns.apache.org/flexjs/mdl"
+xmlns="http://www.w3.org/1999/xhtml;>
 
 
 
@@ -29,9 +30,9 @@ limitations under the License.
 
 
 
-
-   
-
+
+   add
+
 
 
 



[07/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - First MDL commit. This is a Material Design Google SWC project to create components with Google MDL look and feel

2016-11-06 Thread carlosrovira
First MDL commit. This is a Material Design Google SWC project  to create 
components with Google MDL look and feel


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/1e699517
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/1e699517
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/1e699517

Branch: refs/heads/feature/mdl
Commit: 1e699517ce6fd980cb2873f08623a9cec7a3bcfa
Parents: d47d3d9
Author: Carlos Rovira 
Authored: Fri Oct 14 20:51:28 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../projects/MaterialDesignLite/build.xml   | 116 ++
 frameworks/projects/MaterialDesignLite/pom.xml  | 117 +++
 .../src/main/config/compile-as-config.xml   |  87 ++
 .../src/main/flex/MDLClasses.as |  37 ++
 .../src/main/flex/org/apache/flex/mdl/Button.as |  81 +
 .../src/main/resources/defaults.css |  25 
 .../src/main/resources/mdl-as-manifest.xml  |  26 +
 .../src/main/resources/mdl-manifest.xml |  27 +
 8 files changed, 516 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1e699517/frameworks/projects/MaterialDesignLite/build.xml
--
diff --git a/frameworks/projects/MaterialDesignLite/build.xml 
b/frameworks/projects/MaterialDesignLite/build.xml
new file mode 100644
index 000..b61453d
--- /dev/null
+++ b/frameworks/projects/MaterialDesignLite/build.xml
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1e699517/frameworks/projects/MaterialDesignLite/pom.xml
--
diff --git a/frameworks/projects/MaterialDesignLite/pom.xml 
b/frameworks/projects/MaterialDesignLite/pom.xml
new file mode 100644
index 000..d5fde11
--- /dev/null
+++ b/frameworks/projects/MaterialDesignLite/pom.xml
@@ -0,0 +1,117 @@
+
+
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
+  4.0.0
+
+  
+org.apache.flex.flexjs.framework
+projects
+0.8.0-SNAPSHOT
+  
+
+  MaterialDesignLite
+  0.8.0-SNAPSHOT
+  swc
+
+  Apache Flex - FlexJS: Framework: Libs: Material Design Lite
+
+  
+src/main/flex
+
+  
+org.apache.flex.flexjs.compiler
+flexjs-maven-plugin
+${flexjs.compiler.version}
+true
+
+  
+
+  library://ns.apache.org/flexjs/mdl
+  
${project.basedir}/src/main/resources/mdl-manifest.xml
+
+
+  as
+  library://ns.apache.org/flexjs/mdl
+  
${project.basedir}/src/main/resources/mdl-as-manifest.xml
+
+  
+  
+MDLClasses
+  
+  
+
+  defaults.css
+  ../src/main/resources/defaults.css
+
+  
+  true
+
+  
+
+  
+
+  
+
+  org.apache.flex.flexjs.framework
+  Core
+  0.8.0-SNAPSHOT
+  swc
+
+
+  org.apache.flex.flexjs.framework
+  Core
+  0.8.0-SNAPSHOT
+  swc
+  typedefs
+
+
+  org.apache.flex.flexjs.framework
+  Binding
+  0.8.0-SNAPSHOT
+  swc
+
+
+  org.apache.flex.flexjs.framework
+  Graphics
+  0.8.0-SNAPSHOT
+  swc
+
+
+  org.apache.flex.flexjs.framework
+  Collections
+  0.8.0-SNAPSHOT
+  swc
+
+
+  org.apache.flex.flexjs.framework
+  HTML
+  0.8.0-SNAPSHOT
+  swc
+
+
+  org.apache.flex.flexjs.framework
+  HTML
+  0.8.0-SNAPSHOT
+  swc
+  typedefs
+
+  
+
+


[09/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - MDL Example project

2016-11-06 Thread carlosrovira
MDL Example project


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/25877d80
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/25877d80
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/25877d80

Branch: refs/heads/feature/mdl
Commit: 25877d801a331d12701e241b40c111a4623a9ae7
Parents: c6263ae
Author: Carlos Rovira 
Authored: Fri Oct 14 23:05:39 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 examples/flexjs/MDLExample/.vscode/launch.json  |  21 
 examples/flexjs/MDLExample/.vscode/tasks.json   |  11 ++
 examples/flexjs/MDLExample/asconfig.json|  14 +++
 examples/flexjs/MDLExample/pom.xml  | 112 +++
 .../flexjs/MDLExample/src/main/flex/App.mxml|  39 +++
 .../MDLExample/src/main/resources/Unknown.jpeg  | Bin 0 -> 50531 bytes
 .../main/resources/mdl-js-index-template.html   |  32 ++
 .../src/main/resources/mdl-styles.css   |  32 ++
 examples/flexjs/pom.xml |   1 +
 9 files changed, 262 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/25877d80/examples/flexjs/MDLExample/.vscode/launch.json
--
diff --git a/examples/flexjs/MDLExample/.vscode/launch.json 
b/examples/flexjs/MDLExample/.vscode/launch.json
new file mode 100644
index 000..4fec2c2
--- /dev/null
+++ b/examples/flexjs/MDLExample/.vscode/launch.json
@@ -0,0 +1,21 @@
+{
+"version": "0.2.0",
+"configurations": [
+{
+"name": "Launch Chrome against debug.html, with sourcemaps",
+"type": "chrome",
+"request": "launch",
+"file": 
"${workspaceRoot}/target/javascript/bin/js-debug/index.html",
+"sourceMaps": true,
+"preLaunchTask": ""
+},
+{
+"name": "Launch Firefox against debug.html, with sourcemaps",
+"type": "firefox",
+"request": "launch",
+"file": "${workspaceRoot}/debug.html",
+"sourceMaps": true,
+"preLaunchTask": "asconfigc"
+}
+]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/25877d80/examples/flexjs/MDLExample/.vscode/tasks.json
--
diff --git a/examples/flexjs/MDLExample/.vscode/tasks.json 
b/examples/flexjs/MDLExample/.vscode/tasks.json
new file mode 100644
index 000..ac2c02d
--- /dev/null
+++ b/examples/flexjs/MDLExample/.vscode/tasks.json
@@ -0,0 +1,11 @@
+{
+   // See https://go.microsoft.com/fwlink/?LinkId=733558
+   // for the documentation about the tasks.json format
+   "version": "0.1.0",
+   "command": "asconfigc",
+   "isShellCommand": true,
+   "args": [
+   "--flexHome=/Users/carlosrovira/Dev/Flex/sdks/flexjs-0.8.0"
+   ],
+   "showOutput": "always"
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/25877d80/examples/flexjs/MDLExample/asconfig.json
--
diff --git a/examples/flexjs/MDLExample/asconfig.json 
b/examples/flexjs/MDLExample/asconfig.json
new file mode 100644
index 000..d15de04
--- /dev/null
+++ b/examples/flexjs/MDLExample/asconfig.json
@@ -0,0 +1,14 @@
+{
+"config": "flex",
+"compilerOptions": {
+"debug": true,
+"source-map": true,
+"js-output-type": "flexjs",
+"output": "./target/javascript"
+},
+"additionalOptions": 
"-html-template=src/main/resources/mdl-js-index-template.html",
+"files":
+[
+"src/main/flex/App.mxml"
+]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/25877d80/examples/flexjs/MDLExample/pom.xml
--
diff --git a/examples/flexjs/MDLExample/pom.xml 
b/examples/flexjs/MDLExample/pom.xml
new file mode 100644
index 000..207dab5
--- /dev/null
+++ b/examples/flexjs/MDLExample/pom.xml
@@ -0,0 +1,112 @@
+
+
+http://maven.apache.org/POM/4.0.0;
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
+  4.0.0
+
+  
+org.apache.flex.flexjs.examples
+examples-flexjs
+0.8.0-SNAPSHOT
+  
+
+  MDLExample
+  0.8.0-SNAPSHOT
+  swf
+
+  Apache Flex - FlexJS: Examples: FlexJS: MDLExample
+
+  
+src/main/flex
+
+  
+org.apache.flex.flexjs.compiler
+flexjs-maven-plugin
+true
+
+  20.0
+  App.mxml
+
+
+  
+   

[31/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - MDL Slider fixes

2016-11-06 Thread carlosrovira
MDL Slider fixes


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/a1ed36c7
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/a1ed36c7
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/a1ed36c7

Branch: refs/heads/feature/mdl
Commit: a1ed36c76fe113c11b22e8d6f12a16ee6562f6eb
Parents: 9ac5f7a
Author: Carlos Rovira 
Authored: Thu Nov 3 11:00:15 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|  4 ++-
 .../src/main/flex/org/apache/flex/mdl/Slider.as | 37 +++-
 2 files changed, 24 insertions(+), 17 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a1ed36c7/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index dca2da1..8487f5b 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -102,7 +102,9 @@ limitations under the License.
 
 
 
-
+
+
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a1ed36c7/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as
index 2587227..31267ad 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as
@@ -87,7 +87,7 @@ package org.apache.flex.mdl
 
COMPILE::JS
{
-   (element as HTMLInputElement).value = "" + 
value;
+   (element as HTMLInputElement).value = 
IRangeModel(model).value.toString();
}
}

@@ -109,7 +109,7 @@ package org.apache.flex.mdl
 
COMPILE::JS
{
-   (element as HTMLInputElement).min = "" + value;
+   (element as HTMLInputElement).min = 
IRangeModel(model).minimum.toString();
}
}

@@ -131,7 +131,7 @@ package org.apache.flex.mdl
 
COMPILE::JS
{
-   (element as HTMLInputElement).max = "" + value;
+   (element as HTMLInputElement).max = 
IRangeModel(model).maximum.toString();
}

}
@@ -170,6 +170,11 @@ package org.apache.flex.mdl
 public function set stepSize(value:Number):void
 {
 IRangeModel(model).stepSize = value;
+
+   COMPILE::JS
+   {
+   (element as HTMLInputElement).step = 
IRangeModel(model).stepSize.toString();
+   }
 }
 
 COMPILE::JS
@@ -191,33 +196,33 @@ package org.apache.flex.mdl
 COMPILE::JS
 override protected function createElement():WrappedHTMLElement
 {
-input = document.createElement('input') as HTMLInputElement;
-   input.type = "range";
-   //input.min = "0";
-   //input.max = "100";
-   //input.value = "0";
+   var p:HTMLElement = document.createElement('p') as 
HTMLElement;
+p.style.width = '300px';
 
+   input = document.createElement('input') as 
HTMLInputElement;
+   input.type = "range";
+   input.value = IRangeModel(model).value.toString();
+   input.min = IRangeModel(model).minimum.toString();
+   input.max = IRangeModel(model).maximum.toString();
+   input.step = IRangeModel(model).stepSize.toString();
+   input.className = 'mdl-slider mdl-js-slider';
 
-//input.style.width = '200px';
-//input.style.height = '30px';
+   p.appendChild(input);
 
element = input as WrappedHTMLElement;
 
 //track = new SliderTrackView();
-//addBead(track);
-
+//addBead(track);

[13/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Introducing js:Form

2016-11-06 Thread carlosrovira
Introducing js:Form


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/3e72700b
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/3e72700b
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/3e72700b

Branch: refs/heads/feature/mdl
Commit: 3e72700b846395cfe7ad483d4139939959e1d17a
Parents: eebd1fc
Author: Carlos Rovira 
Authored: Mon Oct 17 11:54:29 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 examples/flexjs/MDLExample/src/main/flex/App.mxml | 11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3e72700b/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 37e9e6a..b94a0d7 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -56,11 +56,12 @@ limitations under the License.
 
 
 
-
-
-
-
-
+http://www.google.com;>
+
+
+
+
+
 
 
 



[38/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Remove CardInnerEffect and set border in CardInner. Remove typeNames in the rest of components

2016-11-06 Thread carlosrovira
Remove CardInnerEffect and set border in CardInner. Remove typeNames in the 
rest of components


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/2cd47198
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/2cd47198
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/2cd47198

Branch: refs/heads/feature/mdl
Commit: 2cd47198599c4561ab020a43a5e9e9a979b75560
Parents: b926a7c
Author: Carlos Rovira 
Authored: Sat Nov 5 14:41:30 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|  5 +-
 .../src/main/flex/org/apache/flex/mdl/Card.as   |  2 +-
 .../flex/org/apache/flex/mdl/CardActions.as |  2 +-
 .../main/flex/org/apache/flex/mdl/CardMedia.as  |  2 +-
 .../org/apache/flex/mdl/CardSupportingText.as   |  2 +-
 .../main/flex/org/apache/flex/mdl/CardTitle.as  |  2 +-
 .../apache/flex/mdl/beads/CardInnerEffect.as| 98 
 .../apache/flex/mdl/supportClasses/CardInner.as | 25 -
 .../src/main/resources/mdl-manifest.xml |  3 +-
 9 files changed, 30 insertions(+), 111 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2cd47198/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 9b3f6fe..50f8ee9 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -123,10 +123,7 @@ limitations under the License.
 
 
 
-
-
-
-
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2cd47198/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
index 3835d86..fbfde40 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
@@ -73,7 +73,7 @@ package org.apache.flex.mdl
 positioner.style.position = 'relative';
 element.flexjs_wrapper = this;
 
-className = typeNames = "mdl-card";
+className = "mdl-card";
 
 return element;
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2cd47198/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardActions.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardActions.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardActions.as
index c821a2b..01703b1 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardActions.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardActions.as
@@ -72,7 +72,7 @@ package org.apache.flex.mdl
 positioner.style.position = 'relative';
 element.flexjs_wrapper = this;
 
-className = typeNames = "mdl-card__actions";
+className = "mdl-card__actions";
 
 return element;
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2cd47198/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardMedia.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardMedia.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardMedia.as
index 278fb52..96489e6 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardMedia.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardMedia.as
@@ -72,7 +72,7 @@ package org.apache.flex.mdl
 positioner.style.position = 'relative';
 element.flexjs_wrapper = this;
 
-className = typeNames = "mdl-card__media";
+className = "mdl-card__media";
 
 return element;
 }


[34/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Fix badges to conform to MDL

2016-11-06 Thread carlosrovira
Fix badges to conform to MDL


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/5a5d97d2
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/5a5d97d2
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/5a5d97d2

Branch: refs/heads/feature/mdl
Commit: 5a5d97d2cc130793b654d2a3422f6fc7e89fc7c1
Parents: 37286bc
Author: Carlos Rovira 
Authored: Fri Nov 4 17:42:13 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml | 19 ---
 .../main/flex/org/apache/flex/mdl/beads/Badge.as |  6 +++---
 2 files changed, 19 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5a5d97d2/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 34aacb8..f0bae30 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -109,17 +109,30 @@ limitations under the License.
 
 
 
-http://flex.apache.org;>
+
 
-
+
+
+
+
+
+
+
+
+
+
+http://flex.apache.org;>
+
+
 
 
 
-http://flex.apache.org;>
+http://flex.apache.org;>
 
 
 
 
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5a5d97d2/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Badge.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Badge.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Badge.as
index 02fdfe6..66f5f8a 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Badge.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Badge.as
@@ -135,17 +135,17 @@ package org.apache.flex.mdl.beads
if (host.element is HTMLSpanElement)
{
var span:HTMLSpanElement = host.element 
as HTMLSpanElement;
-   span.className = "mdl-badge " + 
_noBackground + _overlap;
+   span.className += " mdl-badge " + 
_noBackground + _overlap;
span.setAttribute('data-badge', 
_dataBadge.toString());
} else if (host.element is HTMLDivElement)
{
var div:HTMLDivElement = host.element 
as HTMLDivElement;
-   div.className = "mdl-badge " + 
_noBackground + _overlap;
+   div.className += " mdl-badge " + 
_noBackground + _overlap;
div.setAttribute('data-badge', 
_dataBadge.toString());
} else if (host.element is HTMLElement)
{
var a:HTMLElement = host.element as 
HTMLElement;
-   a.className = "mdl-badge " + 
_noBackground + _overlap;
+   a.className += " mdl-badge " + 
_noBackground + _overlap;
a.setAttribute('data-badge', 
_dataBadge.toString());
} else
{



[16/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Some text input and example changes

2016-11-06 Thread carlosrovira
Some text input and example changes


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/d242fb02
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/d242fb02
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/d242fb02

Branch: refs/heads/feature/mdl
Commit: d242fb02b852b45cb87370a37b1d98f762f41315
Parents: bad5ef2
Author: Carlos Rovira 
Authored: Mon Oct 17 16:16:59 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml| 57 ++--
 .../main/flex/org/apache/flex/mdl/TextInput.as  |  9 ++--
 2 files changed, 34 insertions(+), 32 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d242fb02/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 937d8d2..242df22 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -30,39 +30,42 @@ limitations under the License.
 
 
 
-
-
-
-
-
-
-
-add
-
+http://www.google.com;> 
 
-
-add
-
+
+
+
+
+
+   
+
+add
+
 
-
-
-
-
-
-
+
+mood
+
 
-
+
+
+
+
+
+
 
-
+
+add
+
 
-
-
-
-http://www.google.com;>
-
-
-
+ 
 
+
+
+
+
+
+
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d242fb02/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
index dace484..4617678 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
@@ -59,8 +59,7 @@ package org.apache.flex.mdl
 var input:HTMLInputElement;
 var label:HTMLLabelElement;
 var textNode:Text;
-//element = document.createElement('input') as WrappedHTMLElement;
-
+
 div = document.createElement('div') as HTMLDivElement;
 div.className = "mdl-textfield mdl-js-textfield";
 
@@ -71,15 +70,15 @@ package org.apache.flex.mdl
 label = document.createElement('label') as HTMLLabelElement;
 label.className = "mdl-textfield__label";
 
-textNode = document.createTextNode('Text...') as Text;
+textNode = document.createTextNode('') as Text;
 label.appendChild(textNode);
-//element.className = 'TextInput';
-//typeNames = 'TextInput';
 
 div.appendChild(input);
 div.appendChild(label);
 
 element = div as WrappedHTMLElement;
+//element.className = 'TextInput';
+typeNames = 'TextInput';
 
 //attach input handler to dispatch flexjs change event when user 
write in textinput
 //goog.events.listen(element, 'change', killChangeHandler);



[03/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Replaced Link by js:Anchor

2016-11-06 Thread carlosrovira
Replaced Link by js:Anchor


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/daf1fe6c
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/daf1fe6c
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/daf1fe6c

Branch: refs/heads/feature/mdl
Commit: daf1fe6c6584d21caf8abf92d9ddc5b5889b813d
Parents: 8c2b3f0
Author: Carlos Rovira 
Authored: Fri Nov 4 15:39:51 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|   8 +-
 .../src/main/flex/org/apache/flex/mdl/Link.as   | 137 ---
 .../src/main/resources/mdl-manifest.xml |   1 -
 3 files changed, 4 insertions(+), 142 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/daf1fe6c/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index abece5f..df452e6 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -109,17 +109,17 @@ limitations under the License.
 
 
 
-http://flex.apache.org;>
+http://flex.apache.org;>
 
 
 
-
+
 
-http://flex.apache.org;>
+http://flex.apache.org;>
 
 
 
-
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/daf1fe6c/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Link.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Link.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Link.as
deleted file mode 100644
index b74f7cc..000
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Link.as
+++ /dev/null
@@ -1,137 +0,0 @@
-
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//  http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-
-package org.apache.flex.mdl
-{
-   import org.apache.flex.core.UIBase;
-
-COMPILE::JS
-{
-import org.apache.flex.core.WrappedHTMLElement;
-}
-
-   /**
-*  The Link class 
-*  
-*  @langversion 3.0
-*  @playerversion Flash 10.2
-*  @playerversion AIR 2.6
-*  @productversion FlexJS 0.0
-*/
-   public class Link extends UIBase
-   {
-   /**
-*  constructor.
-*
-*  @langversion 3.0
-*  @playerversion Flash 10.2
-*  @playerversion AIR 2.6
-*  @productversion FlexJS 0.0
-*/
-   public function Link()
-   {
-   super();
-   }
-   
-private var _text:String = "";
-
-/**
- *  The text of the link
- *  
- *  @langversion 3.0
- *  @playerversion Flash 10.2
- *  @playerversion AIR 2.6
- *  @productversion FlexJS 0.0
- */
-   public function get text():String
-   {
-COMPILE::SWF
-{
-return _text;
-}
-COMPILE::JS
-{
-return textNode.nodeValue;
-}
-   }
-
-   public function set text(value:String):void
-   {
-

[40/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Remove effect beads to reduce verbosity

2016-11-06 Thread carlosrovira
Remove effect beads to reduce verbosity


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/65ff7585
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/65ff7585
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/65ff7585

Branch: refs/heads/feature/mdl
Commit: 65ff7585b6ae9529fc91949701540017ebb8a0ee
Parents: 5a5d97d
Author: Carlos Rovira 
Authored: Sat Nov 5 01:51:13 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|  50 +---
 .../src/main/flex/org/apache/flex/mdl/Button.as | 169 +-
 .../main/flex/org/apache/flex/mdl/CheckBox.as   |  40 +++-
 .../flex/org/apache/flex/mdl/RadioButton.as |  39 +++-
 .../main/flex/org/apache/flex/mdl/TextInput.as  |  48 +++-
 .../org/apache/flex/mdl/beads/ButtonEffect.as   | 228 ---
 .../flex/org/apache/flex/mdl/beads/MDLEffect.as | 105 -
 .../apache/flex/mdl/beads/TextInputEffect.as|  97 
 .../src/main/resources/mdl-manifest.xml |   3 -
 9 files changed, 300 insertions(+), 479 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/65ff7585/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index f0bae30..3393a5e 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -39,38 +39,24 @@ limitations under the License.
 
 
 
-
-
-
-
+
 add
 
 
 
-
-
-
-
+
 face
 
 
 
-
-
-
-
-
+
 
 
-
-
-
-
-
+
+
 
-
+
 
-
 
 
 
@@ -82,26 +68,18 @@ limitations under the License.
 
 
 
-
+
 
-
 
 
 
 
 
 
-
-
-
-
-
+
+
 
-
-
-
-
-
+
 
 
 
@@ -139,7 +117,7 @@ limitations under the License.
 
 
 
-
+
 
 
 
@@ -152,11 +130,7 @@ limitations under the License.
 
 
 
-
-
-
-
-
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/65ff7585/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
index 27116c4..e1fa441 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
@@ -18,7 +18,7 @@
 

 package org.apache.flex.mdl
 {
-import org.apache.flex.html.TextButton;
+import org.apache.flex.html.TextButton;  
 
 COMPILE::JS
 {
@@ -48,7 +48,7 @@ package org.apache.flex.mdl
{
  

[08/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Add MDL module to pom

2016-11-06 Thread carlosrovira
Add MDL module to pom


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/c6263aed
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/c6263aed
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/c6263aed

Branch: refs/heads/feature/mdl
Commit: c6263aedbece3640fc9b88bcfb3b769809992c5b
Parents: 1e69951
Author: Carlos Rovira 
Authored: Fri Oct 14 20:52:53 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 frameworks/projects/pom.xml | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c6263aed/frameworks/projects/pom.xml
--
diff --git a/frameworks/projects/pom.xml b/frameworks/projects/pom.xml
index 63d5252..653e34a 100644
--- a/frameworks/projects/pom.xml
+++ b/frameworks/projects/pom.xml
@@ -48,6 +48,7 @@
 HTML5
 JQuery
 Language
+MaterialDesignLite
 Mobile
 Network
 Reflection



[18/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - CheckBox and RadioButton examples

2016-11-06 Thread carlosrovira
CheckBox and RadioButton examples


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/38bc7db8
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/38bc7db8
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/38bc7db8

Branch: refs/heads/feature/mdl
Commit: 38bc7db8fd252a8261777aac3b3a310b8458ecd1
Parents: 9746760
Author: Carlos Rovira 
Authored: Mon Oct 17 17:59:17 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 examples/flexjs/MDLExample/src/main/flex/App.mxml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/38bc7db8/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 242df22..209efae 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -63,9 +63,11 @@ limitations under the License.
 
 
 
-
+
 
 
+
+
 
 
 



[32/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Badge and BadgeElement

2016-11-06 Thread carlosrovira
Badge and BadgeElement


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/36c9ff3f
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/36c9ff3f
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/36c9ff3f

Branch: refs/heads/feature/mdl
Commit: 36c9ff3f1b01f8614916f2330a454f7a7b8ca041
Parents: a1ed36c
Author: Carlos Rovira 
Authored: Thu Nov 3 20:15:00 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|  28 +++
 .../src/main/flex/org/apache/flex/mdl/Badge.as  | 233 +++
 .../src/main/flex/org/apache/flex/mdl/Slider.as |  16 +-
 .../org/apache/flex/mdl/beads/BadgeEffect.as| 121 ++
 .../src/main/resources/mdl-manifest.xml |   2 +
 5 files changed, 390 insertions(+), 10 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/36c9ff3f/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 8487f5b..8b3ebbc 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -106,6 +106,34 @@ limitations under the License.
 
 
 
+
+http://flex.apache.org;>
+
+
+
+
+
+http://flex.apache.org"/>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/36c9ff3f/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Badge.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Badge.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Badge.as
new file mode 100644
index 000..fa4ffd1
--- /dev/null
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Badge.as
@@ -0,0 +1,233 @@
+
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+package org.apache.flex.mdl
+{
+   import org.apache.flex.core.UIBase;
+
+COMPILE::JS
+{
+import org.apache.flex.core.WrappedHTMLElement;
+}
+
+   /**
+*  The Badge class provides a MDL UI-like appearance for a badge.
+*  A Badge is an onscreen notification element consists of a small 
circle, 
+ *  typically containing a number or other characters, that appears in 
+ *  proximity to another object
+*  
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public class Badge extends UIBase
+   {
+   /**
+*  constructor.
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public function Badge()
+   {
+   super();
+   }
+   
+private var _type:Number = 0;
+public static const LINK_TYPE:Number = 0;
+public static const TEXT_TYPE:Number = 1;
+public static const 

[39/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - CardMenu

2016-11-06 Thread carlosrovira
CardMenu


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/6d27f7f4
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/6d27f7f4
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/6d27f7f4

Branch: refs/heads/feature/mdl
Commit: 6d27f7f48199b42a4c5428aee65d941265ca495d
Parents: 2cd4719
Author: Carlos Rovira 
Authored: Sun Nov 6 02:27:24 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|  5 ++
 .../main/flex/org/apache/flex/mdl/CardMenu.as   | 80 
 .../src/main/resources/mdl-manifest.xml |  3 +-
 3 files changed, 87 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6d27f7f4/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 50f8ee9..0bacef4 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -126,6 +126,11 @@ limitations under the License.
 
 
 
+
+
+share
+
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6d27f7f4/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardMenu.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardMenu.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardMenu.as
new file mode 100644
index 000..e974492
--- /dev/null
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardMenu.as
@@ -0,0 +1,80 @@
+
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+package org.apache.flex.mdl
+{
+   import org.apache.flex.mdl.supportClasses.CardInner;
+
+COMPILE::JS
+{
+import org.apache.flex.core.WrappedHTMLElement;
+}
+
+   /**
+*  The CardMenu class is a Container component capable of parenting 
other. 
+ *  The Panel uses the following bead types:
+* 
+*  org.apache.flex.core.IBeadModel: the data model for the Card.
+*  org.apache.flex.core.IBeadView: creates the parts of the Card.
+*  
+*  @see PanelWithControlBar
+*  @see ControlBar
+*  @see TitleBar
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public class CardMenu extends CardInner
+   {
+   /**
+*  constructor.
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public function CardMenu()
+   {
+   super();
+   }
+   
+/**
+ * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+ */
+COMPILE::JS
+override protected function createElement():WrappedHTMLElement
+{
+element = document.createElement('div') as WrappedHTMLElement;
+
+positioner = element;
+
+// absolute positioned children need a non-null
+// position value in the parent.  It might
+// get set to 'absolute' if the container is
+// also 

[21/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Remove css defaults fro HTML.swc and some update to actual components implementation fixing styles and behaviors

2016-11-06 Thread carlosrovira
Remove css defaults fro HTML.swc and some update to actual components 
implementation fixing styles and behaviors


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/b26b6cdb
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/b26b6cdb
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/b26b6cdb

Branch: refs/heads/feature/mdl
Commit: b26b6cdbaeeedb6862b2cf62346408b208565652
Parents: 1fd7e92
Author: Carlos Rovira 
Authored: Mon Oct 24 20:19:06 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 examples/flexjs/MDLExample/pom.xml  |  1 +
 .../flexjs/MDLExample/src/main/flex/App.mxml| 18 +--
 .../src/main/flex/org/apache/flex/mdl/Button.as | 13 
 .../main/flex/org/apache/flex/mdl/CheckBox.as   | 32 +--
 .../flex/org/apache/flex/mdl/RadioButton.as | 33 ++--
 .../main/flex/org/apache/flex/mdl/TextInput.as  | 18 +--
 6 files changed, 82 insertions(+), 33 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b26b6cdb/examples/flexjs/MDLExample/pom.xml
--
diff --git a/examples/flexjs/MDLExample/pom.xml 
b/examples/flexjs/MDLExample/pom.xml
index 207dab5..3a31b25 100644
--- a/examples/flexjs/MDLExample/pom.xml
+++ b/examples/flexjs/MDLExample/pom.xml
@@ -56,6 +56,7 @@
 
   true
   
${basedir}/src/main/resources/mdl-js-index-template.html
+  
-compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css
 
   
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b26b6cdb/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 636b72b..a50dbeb 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -33,11 +33,9 @@ limitations under the License.
  
 
 
-
-
-
-
-
+
+
+
 
 
 add
@@ -54,23 +52,23 @@ limitations under the License.
 
 
 
-
+
 
 
-
+
 
 
 
 
-
+
 
 
-
+
 
 
 
 
-
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b26b6cdb/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
index 61bcc20..7c17757 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
@@ -63,20 +63,19 @@ package org.apache.flex.mdl
 positioner.style.position = 'relative';
 element.flexjs_wrapper = this;
 
-element.className = 'mdl-button mdl-js-button';
-   className = "";
-   typeNames = "MDLButton";
-   return element;
+   className = typeNames = "mdl-button mdl-js-button";
+   
+return element;
}
 
-public static const RAISED_EFFECT:String = "mdl-button--raised";
+/*public static const RAISED_EFFECT:String = "mdl-button--raised";
 public static const FAB_EFFECT:String = "mdl-button--fab";
 public static const MINI_FAB_EFFECT:String = "mdl-button--mini-fab";
 public static const ICON_EFFECT:String = "mdl-button--icon";
 public static const COLORED_EFFECT:String = "mdl-button--colored";
 public static const PRIMARY_EFFECT:String = "mdl-button--primary";
 public static const ACCENT_EFFECT:String = "mdl-button--accent";
-public static const RIPPLE_EFFECT:String = "mdl-js-ripple-effect";
+public static const RIPPLE_EFFECT:String = "mdl-js-ripple-effect";*/
 
 private var _mdlEffect:String = "";
 
@@ -90,7 +89,7 @@ 

[11/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - More Buttons, I think we need "disabled" html attribute implementation

2016-11-06 Thread carlosrovira
More Buttons, I think we need "disabled" html attribute implementation


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/72800992
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/72800992
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/72800992

Branch: refs/heads/feature/mdl
Commit: 72800992c031784ff0372b11a4e02eab7298dd95
Parents: 3e1d6e0
Author: Carlos Rovira 
Authored: Sun Oct 16 21:10:10 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml| 35 +---
 1 file changed, 31 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72800992/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index b19b9b4..37e9e6a 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -30,11 +30,38 @@ limitations under the License.
 
 
 
-
-   add
-
+
+
+
+
+
+
+
+add
+
 
-
+
+add
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 
 
 



[14/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - MDL CheckBox impl

2016-11-06 Thread carlosrovira
MDL CheckBox impl


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/bad5ef26
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/bad5ef26
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/bad5ef26

Branch: refs/heads/feature/mdl
Commit: bad5ef26caa04bf4bc947c87a16efaa5817b976f
Parents: 5a33d7b
Author: Carlos Rovira 
Authored: Mon Oct 17 16:16:22 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../main/flex/org/apache/flex/mdl/CheckBox.as   | 162 +++
 .../src/main/resources/mdl-manifest.xml |   1 +
 2 files changed, 163 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bad5ef26/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
new file mode 100644
index 000..082b99f
--- /dev/null
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
@@ -0,0 +1,162 @@
+
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+package org.apache.flex.mdl
+{
+COMPILE::SWF
+{
+import org.apache.flex.html.CheckBox;
+}
+COMPILE::JS
+{
+import org.apache.flex.core.UIBase;
+import org.apache.flex.core.WrappedHTMLElement;
+import org.apache.flex.events.Event;
+}
+
+/**
+ *  The CheckBox class provides a MDL UI-like appearance for
+ *  a CheckBox.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+COMPILE::SWF
+   public class CheckBox extends org.apache.flex.html.CheckBox
+   {
+/**
+ *  Constructor.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public function CheckBox()
+   {
+   super();
+   }
+   }
+
+COMPILE::JS
+public class CheckBox extends UIBase
+{
+
+private var input:HTMLInputElement;
+private var checkbox:HTMLSpanElement;
+private var label:HTMLLabelElement;
+private var textNode:Text;
+
+/**
+ * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+ * @flexjsignorecoercion HTMLLabelElement
+ * @flexjsignorecoercion HTMLInputElement
+ * @flexjsignorecoercion HTMLSpanElement
+ * @flexjsignorecoercion Text
+ */
+override protected function createElement():WrappedHTMLElement
+{
+label = document.createElement('label') as HTMLLabelElement;
+label.className = 'mdl-checkbox mdl-js-checkbox 
mdl-js-ripple-effect';
+element = label as WrappedHTMLElement;
+
+input = document.createElement('input') as HTMLInputElement;
+input.type = 'checkbox';
+input.className = 'mdl-checkbox__input';
+//input.addEventListener('change', selectionChangeHandler, 
false);
+label.appendChild(input);
+
+checkbox = document.createElement('span') as HTMLSpanElement;
+checkbox.className = 'mdl-checkbox__label';
+//checkbox.addEventListener('mouseover', mouseOverHandler, 
false);
+//checkbox.addEventListener('mouseout', mouseOutHandler, 
false);
+label.appendChild(checkbox);
+ 

[20/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Text Input with floating text

2016-11-06 Thread carlosrovira
Text Input with floating text


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/1fd7e927
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/1fd7e927
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/1fd7e927

Branch: refs/heads/feature/mdl
Commit: 1fd7e92771cd44f5c3c9436d7fa30be8d0ecfe62
Parents: e11b69e
Author: Carlos Rovira 
Authored: Wed Oct 19 02:21:37 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|  5 ++-
 .../main/flex/org/apache/flex/mdl/TextInput.as  | 45 +++-
 2 files changed, 48 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1fd7e927/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 95dad1b..636b72b 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -57,7 +57,9 @@ limitations under the License.
 
 
 
-
+
+
+
 
 
 
@@ -66,6 +68,7 @@ limitations under the License.
 
 
 
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1fd7e927/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
index 4617678..48d71bf 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextInput.as
@@ -49,8 +49,17 @@ package org.apache.flex.mdl
super();
}

+COMPILE::JS
+{
+private var _textNode:Text;
+}
+
 /**
  * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+ * @flexjsignorecoercion HTMLDivElement
+ * @flexjsignorecoercion HTMLInputElement
+ * @flexjsignorecoercion HTMLLabelElement
+ * @flexjsignorecoercion Text
  */
 COMPILE::JS
 override protected function createElement():WrappedHTMLElement
@@ -70,7 +79,7 @@ package org.apache.flex.mdl
 label = document.createElement('label') as HTMLLabelElement;
 label.className = "mdl-textfield__label";
 
-textNode = document.createTextNode('') as Text;
+_textNode = textNode = document.createTextNode('') as Text;
 label.appendChild(textNode);
 
 div.appendChild(input);
@@ -94,5 +103,39 @@ package org.apache.flex.mdl
 return element;
 }
 
+private var _mdlEffect:String = "";
+
+public function get mdlEffect():String
+{
+return _mdlEffect;
+}
+
+public function set mdlEffect(value:String):void
+{
+_mdlEffect = value;
+COMPILE::JS 
+{
+element.className = 'mdl-textfield mdl-js-textfield ' + 
_mdlEffect;
+}
+}
+
+/**
+ *  @private
+ *  @flexjsignorecoercion HTMLInputElement
+ */
+   override public function set text(value:String):void
+   {
+COMPILE::SWF
+{
+//inSetter = true;
+//ITextModel(model).text = value;
+//inSetter = false;
+}
+COMPILE::JS
+{
+_textNode.text = value;
+dispatchEvent(new Event('textChange'));
+}
+   }
}
 }



[28/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Disabled bead

2016-11-06 Thread carlosrovira
Disabled bead


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/eabe3870
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/eabe3870
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/eabe3870

Branch: refs/heads/feature/mdl
Commit: eabe387001c0b012084abb9d147fdc9a5db4ba90
Parents: 1f1f31e
Author: Carlos Rovira 
Authored: Wed Oct 26 23:19:29 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|  3 +-
 .../flex/org/apache/flex/mdl/beads/Disabled.as  | 80 
 .../src/main/resources/mdl-manifest.xml |  1 +
 3 files changed, 83 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/eabe3870/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 0507f21..472f556 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -65,10 +65,11 @@ limitations under the License.
 
 
 
-
+
 
 
 
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/eabe3870/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Disabled.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Disabled.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Disabled.as
new file mode 100644
index 000..46067ff
--- /dev/null
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Disabled.as
@@ -0,0 +1,80 @@
+
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+package org.apache.flex.mdl.beads
+{  
+   import org.apache.flex.core.IBead;
+   import org.apache.flex.core.IStrand;
+   import org.apache.flex.core.UIBase;
+   import org.apache.flex.events.Event;
+   import org.apache.flex.events.IEventDispatcher;
+   
+   /**
+*  The Disabled bead class is a specialty bead that can be used to 
disable a MDL control.
+*  
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public class Disabled implements IBead
+   {
+   /**
+*  constructor.
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public function Disabled()
+   {
+   }
+   
+   private var _strand:IStrand;
+   
+   /**
+*  @copy org.apache.flex.core.IBead#strand
+*  
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*  @flexjsignorecoercion HTMLInputElement
+*  @flexjsignorecoercion org.apache.flex.core.UIBase;
+*/
+   public function set strand(value:IStrand):void
+   {
+   _strand = value;
+   
+   COMPILE::JS
+  

[33/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Card component and subcomponents

2016-11-06 Thread carlosrovira
Card component and subcomponents


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/fd759705
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/fd759705
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/fd759705

Branch: refs/heads/feature/mdl
Commit: fd7597050041660a6f01b69bfd764efeb24d0a3b
Parents: 36c9ff3
Author: Carlos Rovira 
Authored: Thu Nov 3 23:20:52 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 examples/flexjs/MDLExample/pom.xml  |  6 --
 .../flexjs/MDLExample/src/main/flex/App.mxml| 36 +--
 .../src/main/resources/mdl-styles.css   |  7 ++
 .../src/main/flex/org/apache/flex/mdl/Card.as   | 81 
 .../flex/org/apache/flex/mdl/CardActions.as | 80 
 .../main/flex/org/apache/flex/mdl/CardMedia.as  | 80 
 .../org/apache/flex/mdl/CardSupportingText.as   | 80 
 .../main/flex/org/apache/flex/mdl/CardTitle.as  | 80 
 .../org/apache/flex/mdl/beads/CardEffect.as | 98 
 .../src/main/resources/mdl-manifest.xml |  6 ++
 10 files changed, 539 insertions(+), 15 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fd759705/examples/flexjs/MDLExample/pom.xml
--
diff --git a/examples/flexjs/MDLExample/pom.xml 
b/examples/flexjs/MDLExample/pom.xml
index 17fc28d..3a31b25 100644
--- a/examples/flexjs/MDLExample/pom.xml
+++ b/examples/flexjs/MDLExample/pom.xml
@@ -57,12 +57,6 @@
   true
   
${basedir}/src/main/resources/mdl-js-index-template.html
   
-compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css
-  
-
-  mdl-styles.css
-  ../src/main/resources/mdl-styles.css
-
-  
 
   
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fd759705/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 8b3ebbc..dff092f 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -27,6 +27,8 @@ limitations under the License.
 
 
 
+ 
+
 
 
 
@@ -122,17 +124,33 @@ limitations under the License.
 
 
 
-
-
-
-
-
-
-
+
 
-
+
 
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fd759705/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
--
diff --git a/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css 
b/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
index 3da8515..42db67d 100644
--- a/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
+++ b/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
@@ -32,3 +32,10 @@ Application
padding: 10px;
margin: 10px;
 }
+
+Image
+{
+   vertical-align: top;
+   IBeadModel: 
ClassReference("org.apache.flex.html.beads.models.ImageModel");
+   IBeadView:  ClassReference("org.apache.flex.html.beads.ImageView");
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fd759705/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Card.as
new file mode 100644
index 000..c8c1dd2
--- /dev/null
+++ 

[25/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - CardInner containers and effects

2016-11-06 Thread carlosrovira
CardInner containers and effects


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/6404fd11
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/6404fd11
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/6404fd11

Branch: refs/heads/feature/mdl
Commit: 6404fd119105551a9b30f84f8ad8630b718b8442
Parents: fd75970
Author: Carlos Rovira 
Authored: Fri Nov 4 00:33:19 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml| 15 +--
 .../src/main/resources/mdl-styles.css   |  4 +-
 .../flex/org/apache/flex/mdl/CardActions.as |  4 +-
 .../main/flex/org/apache/flex/mdl/CardMedia.as  |  6 +-
 .../org/apache/flex/mdl/CardSupportingText.as   |  4 +-
 .../main/flex/org/apache/flex/mdl/CardTitle.as  |  4 +-
 .../org/apache/flex/mdl/beads/CardEffect.as | 24 ++---
 .../apache/flex/mdl/beads/CardInnerEffect.as| 98 
 .../apache/flex/mdl/supportClasses/CardInner.as | 81 
 .../src/main/resources/mdl-manifest.xml |  2 +
 10 files changed, 215 insertions(+), 27 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6404fd11/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index dff092f..9f3fb79 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -124,20 +124,23 @@ limitations under the License.
 
 
 
-
+
 
-
+
 
-
-
+
+
 
 
-
+
 
 
-
+
 
 
+
+
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6404fd11/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
--
diff --git a/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css 
b/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
index 42db67d..bd344c1 100644
--- a/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
+++ b/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
@@ -38,4 +38,6 @@ Image
vertical-align: top;
IBeadModel: 
ClassReference("org.apache.flex.html.beads.models.ImageModel");
IBeadView:  ClassReference("org.apache.flex.html.beads.ImageView");
-}
\ No newline at end of file
+}
+
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6404fd11/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardActions.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardActions.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardActions.as
index 5328dc8..c821a2b 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardActions.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardActions.as
@@ -18,7 +18,7 @@
 

 package org.apache.flex.mdl
 {
-   import org.apache.flex.core.ContainerBase;
+   import org.apache.flex.mdl.supportClasses.CardInner;
 
 COMPILE::JS
 {
@@ -40,7 +40,7 @@ package org.apache.flex.mdl
 *  @playerversion AIR 2.6
 *  @productversion FlexJS 0.0
 */
-   public class CardActions extends ContainerBase
+   public class CardActions extends CardInner
{
/**
 *  constructor.

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6404fd11/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardMedia.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardMedia.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardMedia.as
index dba03b9..278fb52 100644
--- 

[19/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Changes to Button and examples

2016-11-06 Thread carlosrovira
Changes to Button and examples


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/e11b69e9
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/e11b69e9
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/e11b69e9

Branch: refs/heads/feature/mdl
Commit: e11b69e9646b9ea3e631923ce13a4a4545b33553
Parents: 38bc7db
Author: Carlos Rovira 
Authored: Wed Oct 19 00:49:48 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml| 32 +
 .../src/main/flex/org/apache/flex/mdl/Button.as | 69 
 2 files changed, 57 insertions(+), 44 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e11b69e9/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 209efae..95dad1b 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -30,44 +30,42 @@ limitations under the License.
 
 
 
-http://www.google.com;> 
+ 
 
 
 
 
 
 
-   
-
+
+
+
 add
-
+
 
-
-mood
-
+
+
+face
+
 
 
-
+
 
-
+
 
-
-
-
-add
-
-
- 
+
 
 
 
 
 
 
-
+
+
 
 
 
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e11b69e9/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
index 7f836f6..61bcc20 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as
@@ -18,13 +18,10 @@
 

 package org.apache.flex.mdl
 {
-COMPILE::SWF
-{
-import org.apache.flex.html.Button;
-}
+import org.apache.flex.html.TextButton;
+
 COMPILE::JS
 {
-import org.apache.flex.core.UIBase;
 import org.apache.flex.core.WrappedHTMLElement;
 }
 
@@ -37,8 +34,7 @@ package org.apache.flex.mdl
  *  @playerversion AIR 2.6
  *  @productversion FlexJS 0.0
  */
-COMPILE::SWF
-   public class Button extends org.apache.flex.html.Button
+   public class Button extends TextButton
{
 /**
  *  Constructor.
@@ -52,31 +48,50 @@ package org.apache.flex.mdl
{
super();
}
-   }
-
-COMPILE::JS
-public class Button extends UIBase
-{
-private var button:HTMLButtonElement;
 
 /**
- * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
- * @flexjsignorecoercion HTMLButtonElement
- */
-override protected function createElement():WrappedHTMLElement
-{
-var button:HTMLButtonElement;
-
-button = document.createElement('button') as HTMLButtonElement;
-element = button as WrappedHTMLElement;
-button.className = 'mdl-button mdl-js-button mdl-button--fab 
mdl-button--colored';
+* @private
+* @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+*/
+   COMPILE::JS
+   override protected function createElement():WrappedHTMLElement
+   {
+element = document.createElement('button') as WrappedHTMLElement;
+

[37/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Refactor Badge

2016-11-06 Thread carlosrovira
Refactor Badge


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/8c2b3f05
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/8c2b3f05
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/8c2b3f05

Branch: refs/heads/feature/mdl
Commit: 8c2b3f05e0be40021d5e8c119d780e247e6e468b
Parents: 53afe1c
Author: Carlos Rovira 
Authored: Fri Nov 4 12:14:52 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../flexjs/MDLExample/src/main/flex/App.mxml|  16 +-
 .../src/main/flex/org/apache/flex/mdl/Badge.as  | 233 ---
 .../src/main/flex/org/apache/flex/mdl/Link.as   | 137 +++
 .../flex/org/apache/flex/mdl/beads/Badge.as | 157 +
 .../org/apache/flex/mdl/beads/BadgeEffect.as| 121 --
 .../flex/org/apache/flex/mdl/beads/Disabled.as  |   2 +-
 .../src/main/resources/mdl-manifest.xml |   4 +-
 7 files changed, 307 insertions(+), 363 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8c2b3f05/examples/flexjs/MDLExample/src/main/flex/App.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml 
b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 111deed..abece5f 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -109,13 +109,17 @@ limitations under the License.
 
 
 
-http://flex.apache.org;>
+http://flex.apache.org;>
 
-
+
 
-
+
 
-http://flex.apache.org"/>
+http://flex.apache.org;>
+
+
+
+
 
 
 
@@ -129,7 +133,7 @@ limitations under the License.
 
 
 
-
+
 
 
 
@@ -137,7 +141,7 @@ limitations under the License.
 
 
 
-
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8c2b3f05/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Badge.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Badge.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Badge.as
deleted file mode 100644
index fa4ffd1..000
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Badge.as
+++ /dev/null
@@ -1,233 +0,0 @@
-
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//  http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-
-package org.apache.flex.mdl
-{
-   import org.apache.flex.core.UIBase;
-
-COMPILE::JS
-{
-import org.apache.flex.core.WrappedHTMLElement;
-}
-
-   /**
-*  The Badge class provides a MDL UI-like appearance for a badge.
-*  A Badge is an onscreen notification element consists of a small 
circle, 
- *  typically containing a number or other characters, that appears in 
- *  proximity to another object
-*  
-*  @langversion 3.0
-*  @playerversion Flash 10.2
-*  @playerversion AIR 2.6
-*  @productversion FlexJS 0.0
-*/
-   public class Badge extends UIBase
-   

[22/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Fixed radio button

2016-11-06 Thread carlosrovira
Fixed radio button


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/99a6abd8
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/99a6abd8
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/99a6abd8

Branch: refs/heads/feature/mdl
Commit: 99a6abd89dc297a9eea5cee04042c30418264172
Parents: b26b6cd
Author: Carlos Rovira 
Authored: Tue Oct 25 00:06:03 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 2016 +0100

--
 .../flex/org/apache/flex/mdl/RadioButton.as | 84 
 1 file changed, 33 insertions(+), 51 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/99a6abd8/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
index d19ce78..ee79872 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
@@ -26,6 +26,7 @@ package org.apache.flex.mdl
 {
 import org.apache.flex.core.UIBase;
 import org.apache.flex.core.WrappedHTMLElement;
+import org.apache.flex.html.supportClasses.RadioButtonIcon;
 }
 
 /**
@@ -74,8 +75,8 @@ package org.apache.flex.mdl
  */
 public static var radioCounter:int = 0;
 
-private var input:HTMLInputElement;
 private var radio:HTMLSpanElement;
+private var icon:RadioButtonIcon;
 private var label:HTMLLabelElement;
 private var textNode:Text;
 
@@ -88,22 +89,19 @@ package org.apache.flex.mdl
  */
 override protected function createElement():WrappedHTMLElement
 { 
-// hide this eleement
-input = document.createElement('input') as HTMLInputElement;
-input.type = 'radio';
-input.className = 'mdl-radio__button';
-input.id = '_radio_' + radioCounter++;
-input.addEventListener('change', selectionChangeHandler, false);  
+icon = new RadioButtonIcon();
+icon.className = 'mdl-radio__button';
+icon.id = '_radio_' + RadioButton.radioCounter++;
+
+textNode = document.createTextNode('') as Text;
 
 radio = document.createElement('span') as HTMLSpanElement;
 radio.className = 'mdl-radio__label';
 radio.addEventListener('mouseover', mouseOverHandler, false);
 radio.addEventListener('mouseout', mouseOutHandler, false);
 
-textNode = document.createTextNode('') as Text;
-
 label = document.createElement('label') as HTMLLabelElement;
-label.appendChild(input);
+label.appendChild(icon.element);
 label.appendChild(radio);
 radio.appendChild(textNode);
 label.style.position = 'relative';
@@ -112,10 +110,10 @@ package org.apache.flex.mdl
 
 positioner = element;
 positioner.style.position = 'relative';
-(input as WrappedHTMLElement).flexjs_wrapper = this;
-(radio as WrappedHTMLElement).flexjs_wrapper = this;
-element.flexjs_wrapper = this;
+(element as WrappedHTMLElement).flexjs_wrapper = this;
 (textNode as WrappedHTMLElement).flexjs_wrapper = this;
+(icon.element as WrappedHTMLElement).flexjs_wrapper = this;
+(radio as WrappedHTMLElement).flexjs_wrapper = this;
 
 className = typeNames = 'mdl-radio mdl-js-radio';
 
@@ -158,20 +156,16 @@ package org.apache.flex.mdl
 {
 super.id = value;
 label.id = value;
-input.id = value;
+icon.element.id = value;
 }
 
-/**
- * @flexjsignorecoercion String
- */
 public function get groupName():String
 {
-return input.name as String;
+return (icon.element as HTMLInputElement).name as String;
 }
-
 public function set groupName(value:String):void
 {
-input.name = value;
+(icon.element as HTMLInputElement).name = value;
 }
 
 public function get text():String
@@ -184,74 +178,62 @@ package org.apache.flex.mdl
 textNode.nodeValue = value;
 }
 
+/** @export */
 public function get selected():Boolean

[MAVEN-BUILD] FlexJS Framework (maven) - Build # 366 - Still Failing

2016-11-06 Thread Apache Jenkins Server
The Apache Jenkins build system has built FlexJS Framework (maven) (build #366)

Status: Still Failing

Check console output at 
https://builds.apache.org/job/FlexJS%20Framework%20(maven)/366/ to view the 
results.

[MAVEN-BUILD] FlexJS Framework (maven) - Build # 365 - Still Failing

2016-11-06 Thread Apache Jenkins Server
The Apache Jenkins build system has built FlexJS Framework (maven) (build #365)

Status: Still Failing

Check console output at 
https://builds.apache.org/job/FlexJS%20Framework%20(maven)/365/ to view the 
results.

git commit: [flex-asjs] [refs/heads/develop] - fix DesktopMap build for Maven

2016-11-06 Thread aharui
Repository: flex-asjs
Updated Branches:
  refs/heads/develop cf35d1841 -> d47d3d92e


fix DesktopMap build for Maven


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/d47d3d92
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/d47d3d92
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/d47d3d92

Branch: refs/heads/develop
Commit: d47d3d92eac1be58967d777e5fa6592d0c2085ce
Parents: cf35d18
Author: Alex Harui 
Authored: Sat Nov 5 23:44:38 2016 -0700
Committer: Alex Harui 
Committed: Sat Nov 5 23:44:46 2016 -0700

--
 examples/flexjs/DesktopMap/pom.xml | 10 ++
 1 file changed, 10 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d47d3d92/examples/flexjs/DesktopMap/pom.xml
--
diff --git a/examples/flexjs/DesktopMap/pom.xml 
b/examples/flexjs/DesktopMap/pom.xml
index effa50e..b28d9de 100644
--- a/examples/flexjs/DesktopMap/pom.xml
+++ b/examples/flexjs/DesktopMap/pom.xml
@@ -77,6 +77,16 @@
   0.8.0-SNAPSHOT
   swc
 
+
+
+org.apache.flex.flexjs.typedefs
+flexjs-typedefs-googlemaps
+${flexjs.typedefs.version}
+swc
+typedefs
+runtime
+
+
   
 
 



flex-typedefs git commit: fix artifact name

2016-11-06 Thread aharui
Repository: flex-typedefs
Updated Branches:
  refs/heads/develop e7609344d -> 0a40d0d75


fix artifact name


Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/0a40d0d7
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/0a40d0d7
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/0a40d0d7

Branch: refs/heads/develop
Commit: 0a40d0d751569ae32281627039065cba92d71d82
Parents: e760934
Author: Alex Harui 
Authored: Sat Nov 5 23:43:04 2016 -0700
Committer: Alex Harui 
Committed: Sat Nov 5 23:43:04 2016 -0700

--
 google_maps/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/0a40d0d7/google_maps/pom.xml
--
diff --git a/google_maps/pom.xml b/google_maps/pom.xml
index e1afa27..da87f6b 100644
--- a/google_maps/pom.xml
+++ b/google_maps/pom.xml
@@ -26,7 +26,7 @@
 0.8.0-SNAPSHOT
   
 
-  flexjs-typedefs-goolemaps
+  flexjs-typedefs-googlemaps
   0.8.0-SNAPSHOT
   swc