git commit: [flex-asjs] [refs/heads/develop] - Checks to see if a platform needs to be loaded and if so, uses Cordova to load it.

2016-10-20 Thread pent
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 78d3ff9e5 -> 02febf26d


Checks to see if a platform needs to be loaded and if so, uses Cordova to load 
it.


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

Branch: refs/heads/develop
Commit: 02febf26d1c9234f52c9594a890437f7e87aa1e1
Parents: 78d3ff9
Author: Peter Ent 
Authored: Thu Oct 20 17:43:39 2016 -0400
Committer: Peter Ent 
Committed: Thu Oct 20 17:43:39 2016 -0400

--
 cordova-build.xml | 62 ++
 1 file changed, 43 insertions(+), 19 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02febf26/cordova-build.xml
--
diff --git a/cordova-build.xml b/cordova-build.xml
index 58af158..5217dbc 100644
--- a/cordova-build.xml
+++ b/cordova-build.xml
@@ -106,22 +106,6 @@



-   
-   Adding in platform(s). This may take awhile.
-
-   
-   
-
-   
-   
-   
-   
-   
-
-   
-   
-   
-   
 
 
 
@@ -142,7 +126,43 @@
 
 
 
+
+
+   
+   
+
+
+
+   
+
+   
+   
+   
+   
+
+
+
+
+
+   
+   
+
+
+
+   
+
+   
+   
+   
+   
+
+
+
 
 
@@ -160,7 +180,11 @@


 
-
+
+
+


 
@@ -169,7 +193,7 @@

 
 
-
+


 



Jenkins build became unstable: flex-flexunit #793

2016-10-20 Thread flex . ci . builds
See 



[1/2] git commit: [flex-asjs] [refs/heads/develop] - assume path to npm and cordova on mac. FB can't always find it since it might be started without the bash environment. Might need improving upon fo

2016-10-20 Thread aharui
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 734d4e046 -> 78d3ff9e5


assume path to npm and cordova on mac.  FB can't always find it since it might 
be started without the bash environment.  Might need improving upon for when 
the path isn't right


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

Branch: refs/heads/develop
Commit: 78d3ff9e5de116dd711c815bcbc18425a3553a92
Parents: fa6e062
Author: Alex Harui 
Authored: Thu Oct 20 09:11:48 2016 -0700
Committer: Alex Harui 
Committed: Thu Oct 20 09:12:35 2016 -0700

--
 cordova-build.xml | 33 +
 1 file changed, 21 insertions(+), 12 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/78d3ff9e/cordova-build.xml
--
diff --git a/cordova-build.xml b/cordova-build.xml
index 1f78da8..58af158 100644
--- a/cordova-build.xml
+++ b/cordova-build.xml
@@ -39,7 +39,7 @@
 
-->

-   
+   



@@ -75,11 +75,6 @@

 
 
-
-   
-   
-   
-
 

 
@@ -87,6 +82,14 @@

 
 
+
+
+
+
+
+
+
+



@@ -97,6 +100,7 @@



+



@@ -107,11 +111,13 @@
 


+





+



@@ -144,26 +150,29 @@

 
 
-
+

-   
+   
+





 
-
+

-   
+   
+



 
 
-
+

-   
+   
+






[2/2] git commit: [flex-asjs] [refs/heads/develop] - switch AIR visible flag to true if exists

2016-10-20 Thread aharui
switch AIR visible flag to true if exists


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

Branch: refs/heads/develop
Commit: fa6e06285a68980d299ee0c3d66f41f0d485c714
Parents: 734d4e0
Author: Alex Harui 
Authored: Wed Oct 19 14:37:40 2016 -0700
Committer: Alex Harui 
Committed: Thu Oct 20 09:12:35 2016 -0700

--
 ide/flashbuilder/antscripts.xml | 14 ++
 1 file changed, 14 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fa6e0628/ide/flashbuilder/antscripts.xml
--
diff --git a/ide/flashbuilder/antscripts.xml b/ide/flashbuilder/antscripts.xml
index fe51e8f..6a17d52 100644
--- a/ide/flashbuilder/antscripts.xml
+++ b/ide/flashbuilder/antscripts.xml
@@ -40,6 +40,7 @@
 
 
 
+
 
 
 
@@ -51,6 +52,7 @@
 
 
 
+
 
 
 
@@ -58,4 +60,16 @@
 projectDir: ${projectDir}
 projectName: ${projectName}
 
+
+
+Checking for ${projectDir}/src/${projectName}-app.xml
+
+
+
+
+
+
+
+
+
 
\ No newline at end of file



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

2016-10-20 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/3a9b5f54
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/3a9b5f54
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/3a9b5f54

Branch: refs/heads/feature/mdl
Commit: 3a9b5f540bd9e83f1d17cc9e296e1c161cd0960b
Parents: b332c96
Author: Carlos Rovira 
Authored: Wed Oct 19 02:21:37 2016 +0200
Committer: Carlos Rovira 
Committed: Thu Oct 20 17:46:39 2016 +0200

--
 .../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/3a9b5f54/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/3a9b5f54/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'));
+}
+   }
}
 }



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

2016-10-20 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/b332c961
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/b332c961
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/b332c961

Branch: refs/heads/feature/mdl
Commit: b332c961bae2f9348808c0f781ff8d8f84cad0ce
Parents: 953e5a1
Author: Carlos Rovira 
Authored: Wed Oct 19 00:49:48 2016 +0200
Committer: Carlos Rovira 
Committed: Thu Oct 20 17:46:39 2016 +0200

--
 .../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/b332c961/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/b332c961/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;
+

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

2016-10-20 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/389f55da
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/389f55da
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/389f55da

Branch: refs/heads/feature/mdl
Commit: 389f55da86602c9e3d70c1a2b6f234f8b3107b20
Parents: 068c497
Author: Carlos Rovira 
Authored: Mon Oct 17 11:54:29 2016 +0200
Committer: Carlos Rovira 
Committed: Thu Oct 20 17:46:39 2016 +0200

--
 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/389f55da/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;>
+
+
+
+
+
 
 
 



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

2016-10-20 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/fd523694
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/fd523694
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/fd523694

Branch: refs/heads/feature/mdl
Commit: fd52369447cdd77d394f6419f4d710aa0987e1de
Parents: 478c4cb
Author: Carlos Rovira 
Authored: Mon Oct 17 13:40:57 2016 +0200
Committer: Carlos Rovira 
Committed: Thu Oct 20 17:46:39 2016 +0200

--
 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/fd523694/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.
 
 
 
+
+
 
 
 



[08/20] 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-10-20 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/16e8d7d1
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/16e8d7d1
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/16e8d7d1

Branch: refs/heads/feature/mdl
Commit: 16e8d7d1c3795eeef54a4092579295b843b4122a
Parents: 734d4e0
Author: Carlos Rovira 
Authored: Fri Oct 14 20:51:28 2016 +0200
Committer: Carlos Rovira 
Committed: Thu Oct 20 17:46:39 2016 +0200

--
 .../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/16e8d7d1/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/16e8d7d1/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
+
+  
+
+


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

2016-10-20 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/e372a6bd
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/e372a6bd
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/e372a6bd

Branch: refs/heads/feature/mdl
Commit: e372a6bdf60b467382d7c44dcb098ad392f15af1
Parents: 6763a6c
Author: Carlos Rovira 
Authored: Mon Oct 17 16:16:59 2016 +0200
Committer: Carlos Rovira 
Committed: Thu Oct 20 17:46:39 2016 +0200

--
 .../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/e372a6bd/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/e372a6bd/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);



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

2016-10-20 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/777851cb
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/777851cb
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/777851cb

Branch: refs/heads/feature/mdl
Commit: 777851cbb4b1c3f778ac900cb1635f7076c6d5aa
Parents: 26a822d
Author: Carlos Rovira 
Authored: Sun Oct 16 11:05:38 2016 +0200
Committer: Carlos Rovira 
Committed: Thu Oct 20 17:46:39 2016 +0200

--
 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/777851cb/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
+
 
 
 



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

2016-10-20 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/953e5a15
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/953e5a15
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/953e5a15

Branch: refs/heads/feature/mdl
Commit: 953e5a15753ccd8d4eed6f7eb9ca42035af87aee
Parents: 2db25ee
Author: Carlos Rovira 
Authored: Mon Oct 17 17:59:17 2016 +0200
Committer: Carlos Rovira 
Committed: Thu Oct 20 17:46:39 2016 +0200

--
 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/953e5a15/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.
 
 
 
-
+
 
 
+
+
 
 
 



[10/20] git commit: [flex-asjs] [refs/heads/feature/mdl] - MDL TextInput

2016-10-20 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/478c4cb2
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/478c4cb2
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/478c4cb2

Branch: refs/heads/feature/mdl
Commit: 478c4cb266fdc9cfdd09c4db3eac6584be676b08
Parents: 389f55d
Author: Carlos Rovira 
Authored: Mon Oct 17 13:40:29 2016 +0200
Committer: Carlos Rovira 
Committed: Thu Oct 20 17:46:39 2016 +0200

--
 .../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/478c4cb2/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;

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

2016-10-20 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/068c497f
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/068c497f
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/068c497f

Branch: refs/heads/feature/mdl
Commit: 068c497f3f05293ec0e23201ea04e52c7dd5749b
Parents: 7f71986
Author: Alex Harui 
Authored: Sun Oct 16 21:25:09 2016 -0700
Committer: Carlos Rovira 
Committed: Thu Oct 20 17:46:39 2016 +0200

--
 .../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/068c497f/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/068c497f/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 @@
 
 
 
-
+
 
 
 



[01/20] git commit: [flex-asjs] [refs/heads/feature/mdl] - Refactor to ButtonBase to avoid carry CSS styles [Forced Update!]

2016-10-20 Thread carlosrovira
Repository: flex-asjs
Updated Branches:
  refs/heads/feature/mdl 5aee61035 -> 3a9b5f540 (forced update)


Refactor to ButtonBase to avoid carry CSS styles


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

Branch: refs/heads/feature/mdl
Commit: ba5187ae183746882d2617f1c91ac148b08274bc
Parents: 533016f
Author: Carlos Rovira 
Authored: Wed Oct 19 10:30:15 2016 +0200
Committer: Carlos Rovira 
Committed: Wed Oct 19 10:30:15 2016 +0200

--
 .../main/flex/org/apache/flex/html/Button.as|  29 +-
 .../flex/org/apache/flex/html/ButtonBase.as | 101 +++
 .../flex/org/apache/flex/html/TextButton.as |   2 +-
 3 files changed, 103 insertions(+), 29 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ba5187ae/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Button.as
--
diff --git 
a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Button.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Button.as
index f6d13ea..6057919 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Button.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Button.as
@@ -66,8 +66,7 @@ package org.apache.flex.html
  *  @playerversion AIR 2.6
  *  @productversion FlexJS 0.0
  */
-COMPILE::SWF
-   public class Button extends UIButtonBase implements IStrand, 
IEventDispatcher, IUIBase
+public class Button extends ButtonBase
{
 /**
  *  Constructor.
@@ -83,30 +82,4 @@ package org.apache.flex.html
}
}
 
-COMPILE::JS
-public class Button extends UIBase implements IStrand, IEventDispatcher, 
IUIBase
-{
-/**
-* @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
- */
-override protected function createElement():WrappedHTMLElement
-{
-element = document.createElement('button') as WrappedHTMLElement;
-element.setAttribute('type', 'button');
-
-positioner = element;
-positioner.style.position = 'relative';
-element.flexjs_wrapper = this;
-
-/* AJH comment out until we figure out why it is needed
-if (org.apache.flex.core.ValuesManager.valuesImpl.getValue) {
-var impl:Object = 
org.apache.flex.core.ValuesManager.valuesImpl.
-getValue(this, 'iStatesImpl');
-}*/
-
-return element;
-}
-
-}
-
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ba5187ae/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/ButtonBase.as
--
diff --git 
a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/ButtonBase.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/ButtonBase.as
new file mode 100644
index 000..a30f0cf
--- /dev/null
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/ButtonBase.as
@@ -0,0 +1,101 @@
+
+//
+//  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.html
+{
+   import org.apache.flex.core.IStrand;
+   import org.apache.flex.core.IUIBase;
+COMPILE::SWF
+{
+   import org.apache.flex.core.UIButtonBase;
+}
+COMPILE::JS
+{
+import org.apache.flex.core.UIBase;
+   import org.apache.flex.core.WrappedHTMLElement;
+}
+import org.apache.flex.core.ValuesManager;
+import 

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

2016-10-20 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/293eec8b
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/293eec8b
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/293eec8b

Branch: refs/heads/feature/mdl
Commit: 293eec8bf3d38ba2835c7dde1e33bdc6e5c34afb
Parents: 16e8d7d
Author: Carlos Rovira 
Authored: Fri Oct 14 20:52:53 2016 +0200
Committer: Carlos Rovira 
Committed: Thu Oct 20 17:46:39 2016 +0200

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/293eec8b/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



[02/20] git commit: [flex-asjs] [refs/heads/feature/mdl] - Cleaned up the example MobileStocks source code.

2016-10-20 Thread carlosrovira
Cleaned up the example MobileStocks source code.


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

Branch: refs/heads/feature/mdl
Commit: f25cfe8b465b1a805edc1fa5fc2c21230231e944
Parents: 533016f
Author: Peter Ent 
Authored: Wed Oct 19 14:47:17 2016 -0400
Committer: Peter Ent 
Committed: Wed Oct 19 14:47:17 2016 -0400

--
 .../flexjs/MobileStocks/src/MobileStocks.mxml   |  13 +-
 .../flexjs/MobileStocks/src/MyInitialView.mxml  |  30 +---
 .../src/controller/AlertsViewController.as  | 141 ---
 .../flexjs/MobileStocks/src/models/Alert.as |  94 -
 .../flexjs/MobileStocks/src/models/Asset.as |  77 --
 .../MobileStocks/src/models/AssetsModel.as  |  57 
 .../MobileStocks/src/models/ProductsModel.as|  26 
 .../MobileStocks/src/views/AlertsView.mxml  | 102 --
 .../MobileStocks/src/views/AssetsView.mxml  | 125 
 .../MobileStocks/src/views/LaunchView.mxml  |  20 +--
 .../MobileStocks/src/views/SearchView.mxml  |  37 -
 11 files changed, 18 insertions(+), 704 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f25cfe8b/examples/flexjs/MobileStocks/src/MobileStocks.mxml
--
diff --git a/examples/flexjs/MobileStocks/src/MobileStocks.mxml 
b/examples/flexjs/MobileStocks/src/MobileStocks.mxml
index 22d17c0..1d30b37 100644
--- a/examples/flexjs/MobileStocks/src/MobileStocks.mxml
+++ b/examples/flexjs/MobileStocks/src/MobileStocks.mxml
@@ -23,19 +23,10 @@ limitations under the License.
  xmlns:views="views.*"
  
xmlns:js="library://ns.apache.org/flexjs/basic" 
  
xmlns:cordova="library://ns.apache.org/flexjs/cordova"
- xmlns:controller="controller.*" 
- applicationComplete="showDetails()">
+ >



-   
-   
-   



@@ -53,8 +44,6 @@ limitations under the License.



-   //native application and compile with air global airbeads.
-   //need orientation beads, size beads.




http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f25cfe8b/examples/flexjs/MobileStocks/src/MyInitialView.mxml
--
diff --git a/examples/flexjs/MobileStocks/src/MyInitialView.mxml 
b/examples/flexjs/MobileStocks/src/MyInitialView.mxml
index 1dc27a3..b6853e2 100755
--- a/examples/flexjs/MobileStocks/src/MyInitialView.mxml
+++ b/examples/flexjs/MobileStocks/src/MyInitialView.mxml
@@ -85,16 +85,6 @@ limitations under the License.
background-image: url('assets/arrow_left_24.png');
}

-   .AssetsInner {
-   padding-top: 5px;
-   background-color: #FF;
-   }
-   
-   views|AssetsView {
-   width: 100%;
-   height: 100%;
-   }
-   
views|LaunchView {
width: 100%;
height: 100%;
@@ -133,12 +123,6 @@ limitations under the License.
height: 100%;
}

-   views|AlertsView {
-   width: 100%;
-   height: 100%;
-   
IBeadController:ClassReference('controller.AlertsViewController');
-   }
-   
.redCell {
color: #FF;
}
@@ -213,20 +197,16 @@ limitations under the License.
(applicationModel as 
ProductsModel).loadDataFromStorage();
}

-   private function onAssetsNext():void
-   {
-   
-   }
-   
+   /* debugging */
private function 
tabbedViewChanged(event:org.apache.flex.events.Event):void
{
-   var manager:IViewManager = event.currentTarget 
as IViewManager;
-   trace("TabbedViewChanged for "+manager);
+   

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

2016-10-20 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/6763a6ca
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/6763a6ca
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/6763a6ca

Branch: refs/heads/feature/mdl
Commit: 6763a6caff327ee20f9982a94ae6c2ccb40a2751
Parents: fd52369
Author: Carlos Rovira 
Authored: Mon Oct 17 16:16:22 2016 +0200
Committer: Carlos Rovira 
Committed: Thu Oct 20 17:46:39 2016 +0200

--
 .../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/6763a6ca/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);
+

[03/20] git commit: [flex-asjs] [refs/heads/feature/mdl] - Modified the cordova-build.xml ANT script to include the iOS platform. Once built, apps can be launched with the run.android or run.ios targe

2016-10-20 Thread carlosrovira
Modified the cordova-build.xml ANT script to include the iOS platform. Once 
built, apps can be launched with the run.android or run.ios targets. The former 
runs on the device while the latter runs in a simulator.


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

Branch: refs/heads/feature/mdl
Commit: 3292ce3415274786e61d537e0cc44723e56c3f4b
Parents: f25cfe8
Author: Peter Ent 
Authored: Wed Oct 19 14:48:43 2016 -0400
Committer: Peter Ent 
Committed: Wed Oct 19 14:48:43 2016 -0400

--
 cordova-build.xml | 44 +++-
 1 file changed, 27 insertions(+), 17 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3292ce34/cordova-build.xml
--
diff --git a/cordova-build.xml b/cordova-build.xml
index e224d2e..707e61a 100644
--- a/cordova-build.xml
+++ b/cordova-build.xml
@@ -39,7 +39,7 @@
 
-->

-   
+   



@@ -56,12 +56,16 @@

 

-   
-   
+   

-   
+   

 
+
+   
+   
+   
+
 


@@ -95,6 +99,8 @@



+   
+   


Adding in platform(s). This may take awhile.
@@ -103,17 +109,13 @@



-   
+   
+   
+   
+   
+   
+   

-
-
-
-
-
-   
-   
-   
-   
 
 
 
@@ -137,11 +139,19 @@
Running the app on the platform
 -->
 
-
-   
+
+   
+   
+   
+   
+   
+
+
+
+   


-   
+   

 
 



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

2016-10-20 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/7f71986f
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/7f71986f
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/7f71986f

Branch: refs/heads/feature/mdl
Commit: 7f71986f064ed4a9ee66398daf3529356c208831
Parents: 777851c
Author: Carlos Rovira 
Authored: Sun Oct 16 21:10:10 2016 +0200
Committer: Carlos Rovira 
Committed: Thu Oct 20 17:46:39 2016 +0200

--
 .../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/7f71986f/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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 
 
 



[05/20] git commit: [flex-asjs] [refs/heads/feature/mdl] - Merge branch 'feature/buttonbase-refactor' into develop

2016-10-20 Thread carlosrovira
Merge branch 'feature/buttonbase-refactor' into develop


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

Branch: refs/heads/feature/mdl
Commit: 734d4e0463ead1478b7f00d75ce954fcbe5ff207
Parents: b702111 ba5187a
Author: Carlos Rovira 
Authored: Thu Oct 20 17:41:28 2016 +0200
Committer: Carlos Rovira 
Committed: Thu Oct 20 17:41:28 2016 +0200

--
 .../main/flex/org/apache/flex/html/Button.as|  29 +-
 .../flex/org/apache/flex/html/ButtonBase.as | 101 +++
 .../flex/org/apache/flex/html/TextButton.as |   2 +-
 3 files changed, 103 insertions(+), 29 deletions(-)
--




[04/20] git commit: [flex-asjs] [refs/heads/feature/mdl] - Now loads the cordoba-plugin-file if needed.

2016-10-20 Thread carlosrovira
Now loads the cordoba-plugin-file if needed.


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

Branch: refs/heads/feature/mdl
Commit: b7021112344aee4de354f25f3abc4bae4e381def
Parents: 3292ce3
Author: Peter Ent 
Authored: Wed Oct 19 16:44:45 2016 -0400
Committer: Peter Ent 
Committed: Wed Oct 19 16:44:45 2016 -0400

--
 cordova-build.xml | 18 --
 1 file changed, 16 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b7021112/cordova-build.xml
--
diff --git a/cordova-build.xml b/cordova-build.xml
index 707e61a..1f78da8 100644
--- a/cordova-build.xml
+++ b/cordova-build.xml
@@ -139,7 +139,21 @@
Running the app on the platform
 -->
 
-
+
+   
+   
+
+
+
+   
+   
+   
+   
+   
+   
+   
+
+



@@ -147,7 +161,7 @@

 
 
-
+






[13/20] git commit: [flex-asjs] [refs/heads/feature/mdl] - MDL RadioButton

2016-10-20 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/2db25ee5
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/2db25ee5
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/2db25ee5

Branch: refs/heads/feature/mdl
Commit: 2db25ee512249ae95c0adfcdbf22ec9fc6b9645d
Parents: e372a6b
Author: Carlos Rovira 
Authored: Mon Oct 17 17:58:42 2016 +0200
Committer: Carlos Rovira 
Committed: Thu Oct 20 17:46:39 2016 +0200

--
 .../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/2db25ee5/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";
+  

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

2016-10-20 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/26a822d4
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/26a822d4
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/26a822d4

Branch: refs/heads/feature/mdl
Commit: 26a822d46449a5074171be1a63540da7d09de1f3
Parents: 293eec8
Author: Carlos Rovira 
Authored: Fri Oct 14 23:05:39 2016 +0200
Committer: Carlos Rovira 
Committed: Thu Oct 20 17:46:39 2016 +0200

--
 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/26a822d4/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/26a822d4/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/26a822d4/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/26a822d4/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
+
+
+  
+  

[1/2] git commit: [flex-asjs] [refs/heads/develop] - Refactor to ButtonBase to avoid carry CSS styles

2016-10-20 Thread carlosrovira
Repository: flex-asjs
Updated Branches:
  refs/heads/develop b70211123 -> 734d4e046


Refactor to ButtonBase to avoid carry CSS styles


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

Branch: refs/heads/develop
Commit: ba5187ae183746882d2617f1c91ac148b08274bc
Parents: 533016f
Author: Carlos Rovira 
Authored: Wed Oct 19 10:30:15 2016 +0200
Committer: Carlos Rovira 
Committed: Wed Oct 19 10:30:15 2016 +0200

--
 .../main/flex/org/apache/flex/html/Button.as|  29 +-
 .../flex/org/apache/flex/html/ButtonBase.as | 101 +++
 .../flex/org/apache/flex/html/TextButton.as |   2 +-
 3 files changed, 103 insertions(+), 29 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ba5187ae/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Button.as
--
diff --git 
a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Button.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Button.as
index f6d13ea..6057919 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Button.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Button.as
@@ -66,8 +66,7 @@ package org.apache.flex.html
  *  @playerversion AIR 2.6
  *  @productversion FlexJS 0.0
  */
-COMPILE::SWF
-   public class Button extends UIButtonBase implements IStrand, 
IEventDispatcher, IUIBase
+public class Button extends ButtonBase
{
 /**
  *  Constructor.
@@ -83,30 +82,4 @@ package org.apache.flex.html
}
}
 
-COMPILE::JS
-public class Button extends UIBase implements IStrand, IEventDispatcher, 
IUIBase
-{
-/**
-* @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
- */
-override protected function createElement():WrappedHTMLElement
-{
-element = document.createElement('button') as WrappedHTMLElement;
-element.setAttribute('type', 'button');
-
-positioner = element;
-positioner.style.position = 'relative';
-element.flexjs_wrapper = this;
-
-/* AJH comment out until we figure out why it is needed
-if (org.apache.flex.core.ValuesManager.valuesImpl.getValue) {
-var impl:Object = 
org.apache.flex.core.ValuesManager.valuesImpl.
-getValue(this, 'iStatesImpl');
-}*/
-
-return element;
-}
-
-}
-
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ba5187ae/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/ButtonBase.as
--
diff --git 
a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/ButtonBase.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/ButtonBase.as
new file mode 100644
index 000..a30f0cf
--- /dev/null
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/ButtonBase.as
@@ -0,0 +1,101 @@
+
+//
+//  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.html
+{
+   import org.apache.flex.core.IStrand;
+   import org.apache.flex.core.IUIBase;
+COMPILE::SWF
+{
+   import org.apache.flex.core.UIButtonBase;
+}
+COMPILE::JS
+{
+import org.apache.flex.core.UIBase;
+   import org.apache.flex.core.WrappedHTMLElement;
+}
+import org.apache.flex.core.ValuesManager;
+import org.apache.flex.events.IEventDispatcher;
+
+   
+

[2/2] git commit: [flex-asjs] [refs/heads/develop] - Merge branch 'feature/buttonbase-refactor' into develop

2016-10-20 Thread carlosrovira
Merge branch 'feature/buttonbase-refactor' into develop


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

Branch: refs/heads/develop
Commit: 734d4e0463ead1478b7f00d75ce954fcbe5ff207
Parents: b702111 ba5187a
Author: Carlos Rovira 
Authored: Thu Oct 20 17:41:28 2016 +0200
Committer: Carlos Rovira 
Committed: Thu Oct 20 17:41:28 2016 +0200

--
 .../main/flex/org/apache/flex/html/Button.as|  29 +-
 .../flex/org/apache/flex/html/ButtonBase.as | 101 +++
 .../flex/org/apache/flex/html/TextButton.as |   2 +-
 3 files changed, 103 insertions(+), 29 deletions(-)
--




Jenkins build is back to normal : MD5Checker #13030

2016-10-20 Thread flex . ci . builds
See 



Jenkins build is back to normal : flex-sdk #1309

2016-10-20 Thread flex . ci . builds
See 



Build failed in Jenkins: MD5Checker #13029

2016-10-20 Thread flex . ci . builds
See 

--
Started by timer
Building remotely on flex_sdk_slave2 in workspace 

 > C:\Program Files (x86)\Git\cmd\git.exe rev-parse --is-inside-work-tree # 
 > timeout=10
Fetching changes from the remote Git repository
 > C:\Program Files (x86)\Git\cmd\git.exe config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/flex-utilities.git # timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/flex-utilities.git
 > C:\Program Files (x86)\Git\cmd\git.exe --version # timeout=10
 > C:\Program Files (x86)\Git\cmd\git.exe fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/flex-utilities.git 
 > +refs/heads/*:refs/remotes/origin/*
 > C:\Program Files (x86)\Git\cmd\git.exe rev-parse "origin/develop^{commit}" # 
 > timeout=10
Checking out Revision e62376ea9d7738ef96ea6abb93e003eda66b4619 (origin/develop)
 > C:\Program Files (x86)\Git\cmd\git.exe config core.sparsecheckout # 
 > timeout=10
 > C:\Program Files (x86)\Git\cmd\git.exe checkout -f 
 > e62376ea9d7738ef96ea6abb93e003eda66b4619
 > C:\Program Files (x86)\Git\cmd\git.exe rev-list 
 > e62376ea9d7738ef96ea6abb93e003eda66b4619 # timeout=10
[MD5Checker] $ cmd.exe /C 
"c:\Jenkins\tools\hudson.tasks.Ant_AntInstallation\c_apache-ant-1.9.3\bin\ant.bat
 -file build.xml -Dplayerglobal.version=11.7 main && exit %%ERRORLEVEL%%"
Buildfile: 


load-task:
  [taskdef] Could not load definitions from resource flexTasks.tasks. It could 
not be found.

build:

BUILD FAILED
:88:
 Problem: failed to create task or type mxmlc
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any / declarations have taken place.


Total time: 1 second
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Build step 'Invoke Ant' marked build as failure


Build failed in Jenkins: MD5Checker #13028

2016-10-20 Thread flex . ci . builds
See 

--
Started by timer
Building remotely on flex_sdk_slave2 in workspace 

 > C:\Program Files (x86)\Git\cmd\git.exe rev-parse --is-inside-work-tree # 
 > timeout=10
Fetching changes from the remote Git repository
 > C:\Program Files (x86)\Git\cmd\git.exe config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/flex-utilities.git # timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/flex-utilities.git
 > C:\Program Files (x86)\Git\cmd\git.exe --version # timeout=10
 > C:\Program Files (x86)\Git\cmd\git.exe fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/flex-utilities.git 
 > +refs/heads/*:refs/remotes/origin/*
 > C:\Program Files (x86)\Git\cmd\git.exe rev-parse "origin/develop^{commit}" # 
 > timeout=10
Checking out Revision e62376ea9d7738ef96ea6abb93e003eda66b4619 (origin/develop)
 > C:\Program Files (x86)\Git\cmd\git.exe config core.sparsecheckout # 
 > timeout=10
 > C:\Program Files (x86)\Git\cmd\git.exe checkout -f 
 > e62376ea9d7738ef96ea6abb93e003eda66b4619
 > C:\Program Files (x86)\Git\cmd\git.exe rev-list 
 > e62376ea9d7738ef96ea6abb93e003eda66b4619 # timeout=10
[MD5Checker] $ cmd.exe /C 
"c:\Jenkins\tools\hudson.tasks.Ant_AntInstallation\c_apache-ant-1.9.3\bin\ant.bat
 -file build.xml -Dplayerglobal.version=11.7 main && exit %%ERRORLEVEL%%"
Buildfile: 


load-task:
  [taskdef] Could not load definitions from resource flexTasks.tasks. It could 
not be found.

build:

BUILD FAILED
:88:
 Problem: failed to create task or type mxmlc
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any / declarations have taken place.


Total time: 1 second
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Build step 'Invoke Ant' marked build as failure


Build failed in Jenkins: MD5Checker #13027

2016-10-20 Thread flex . ci . builds
See 

--
Started by timer
Building remotely on flex_sdk_slave2 in workspace 

 > C:\Program Files (x86)\Git\cmd\git.exe rev-parse --is-inside-work-tree # 
 > timeout=10
Fetching changes from the remote Git repository
 > C:\Program Files (x86)\Git\cmd\git.exe config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/flex-utilities.git # timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/flex-utilities.git
 > C:\Program Files (x86)\Git\cmd\git.exe --version # timeout=10
 > C:\Program Files (x86)\Git\cmd\git.exe fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/flex-utilities.git 
 > +refs/heads/*:refs/remotes/origin/*
 > C:\Program Files (x86)\Git\cmd\git.exe rev-parse "origin/develop^{commit}" # 
 > timeout=10
Checking out Revision e62376ea9d7738ef96ea6abb93e003eda66b4619 (origin/develop)
 > C:\Program Files (x86)\Git\cmd\git.exe config core.sparsecheckout # 
 > timeout=10
 > C:\Program Files (x86)\Git\cmd\git.exe checkout -f 
 > e62376ea9d7738ef96ea6abb93e003eda66b4619
 > C:\Program Files (x86)\Git\cmd\git.exe rev-list 
 > e62376ea9d7738ef96ea6abb93e003eda66b4619 # timeout=10
[MD5Checker] $ cmd.exe /C 
"c:\Jenkins\tools\hudson.tasks.Ant_AntInstallation\c_apache-ant-1.9.3\bin\ant.bat
 -file build.xml -Dplayerglobal.version=11.7 main && exit %%ERRORLEVEL%%"
Buildfile: 


load-task:
  [taskdef] Could not load definitions from resource flexTasks.tasks. It could 
not be found.

build:

BUILD FAILED
:88:
 Problem: failed to create task or type mxmlc
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any / declarations have taken place.


Total time: 1 second
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Build step 'Invoke Ant' marked build as failure


Build failed in Jenkins: MD5Checker #13026

2016-10-20 Thread flex . ci . builds
See 

--
Started by timer
Building remotely on flex_sdk_slave2 in workspace 

 > C:\Program Files (x86)\Git\cmd\git.exe rev-parse --is-inside-work-tree # 
 > timeout=10
Fetching changes from the remote Git repository
 > C:\Program Files (x86)\Git\cmd\git.exe config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/flex-utilities.git # timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/flex-utilities.git
 > C:\Program Files (x86)\Git\cmd\git.exe --version # timeout=10
 > C:\Program Files (x86)\Git\cmd\git.exe fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/flex-utilities.git 
 > +refs/heads/*:refs/remotes/origin/*
 > C:\Program Files (x86)\Git\cmd\git.exe rev-parse "origin/develop^{commit}" # 
 > timeout=10
Checking out Revision e62376ea9d7738ef96ea6abb93e003eda66b4619 (origin/develop)
 > C:\Program Files (x86)\Git\cmd\git.exe config core.sparsecheckout # 
 > timeout=10
 > C:\Program Files (x86)\Git\cmd\git.exe checkout -f 
 > e62376ea9d7738ef96ea6abb93e003eda66b4619
 > C:\Program Files (x86)\Git\cmd\git.exe rev-list 
 > e62376ea9d7738ef96ea6abb93e003eda66b4619 # timeout=10
[MD5Checker] $ cmd.exe /C 
"c:\Jenkins\tools\hudson.tasks.Ant_AntInstallation\c_apache-ant-1.9.3\bin\ant.bat
 -file build.xml -Dplayerglobal.version=11.7 main && exit %%ERRORLEVEL%%"
Buildfile: 


load-task:
  [taskdef] Could not load definitions from resource flexTasks.tasks. It could 
not be found.

build:

BUILD FAILED
:88:
 Problem: failed to create task or type mxmlc
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any / declarations have taken place.


Total time: 2 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Build step 'Invoke Ant' marked build as failure


Build failed in Jenkins: flex-sdk #1308

2016-10-20 Thread flex . ci . builds
See 

--
[...truncated 422 lines...]
playerglobal12.0-download:

playerglobal13.0-download:

playerglobal-download:

thirdparty-downloads:

main:

BUILD SUCCESSFUL
Total time: 2 minutes 19 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[flex-sdk] $ cmd.exe /C "ant.bat -file build.xml -Dbuild.number.date=0 
-Dbuild.noprompt=true -Dplayerglobal.version=11.7 main checkintests 
mustella-setup && exit %%ERRORLEVEL%%"
Buildfile: 
[available] DEPRECATED -  used to override an existing property.
[available]   Build file should not reuse the same property name for different 
values.

check-playerglobal-home:
 [echo] PLAYERGLOBAL_HOME is c:\Adobe\flashPlayer
 [echo] playerglobal.version is 11.7
 [echo] playerglobal.swc is c:\Adobe\flashPlayer/11.7/playerglobal.swc

check-air-home:
 [echo] AIR_HOME is c:\Adobe\AIRSDK40

check-tlf-home:

check-compile-env:
 [echo] OS: Windows Server 2008 R2 / 6.1 / amd64
 [echo] VM: Java HotSpot(TM) 64-Bit Server VM / 24.55-b03
 [echo] Java: 1.7.0_55
 [echo] Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013 Ant 
Java Version: 1.7

thirdparty-downloads:

thirdparty-downloads:

pixelbender-check:

pixelbender-download:
[mkdir] Created dir: 


get_from_mirror:

download_using_mirror:
  [get] Getting: 
http://www.apache.org/dyn/mirrors/mirrors.cgi/flex/pixelbender/1.0/binaries/apache-flex-sdk-pixel-bender-1.0.0-bin.zip?asjson=true
  [get] To: 

  [get] .
   [delete] Deleting: 

 [echo] Using mirror: http://ftp.wayne.edu/apache/
  [get] Getting: 
http://ftp.wayne.edu/apache/flex/pixelbender/1.0/binaries/apache-flex-sdk-pixel-bender-1.0.0-bin.zip
  [get] To: 


download_using_get:
[unzip] Expanding: 

 into 

swfobject-check:

swfobject-download:
  [get] Getting: https://codeload.github.com/swfobject/swfobject/zip/2.2
  [get] To: 

[unzip] Expanding: 
 
into 


swfobject-fabridge-download:
 [copy] Copying 1 file to 


osmf-check:

osmf-download:

download-osmf-swc:
  [get] Getting: 
http://downloads.sourceforge.net/project/osmf.adobe/OSMF%202.0%20Release%20%28final%20source%2C%20ASDocs%2C%20pdf%20guides%20and%20release%20notes%29/OSMF.swc?r==1381906346_mirror=optimate
  [get] To: 

  [get] 
http://downloads.sourceforge.net/project/osmf.adobe/OSMF%202.0%20Release%20%28final%20source%2C%20ASDocs%2C%20pdf%20guides%20and%20release%20notes%29/OSMF.swc?r==1381906346_mirror=optimate
 moved to 
http://pilotfiber.dl.sourceforge.net/project/osmf.adobe/OSMF%202.0%20Release%20%28final%20source%2C%20ASDocs%2C%20pdf%20guides%20and%20release%20notes%29/OSMF.swc
 [copy] Copying 1 file to 


font-jars-check:

ask-font:

get-font-jars:

font-jars:

clean-adobe-flex-sdk:

optional-downloads:

main:
 [echo] Use thirdparty-clean or super-clean to remove these.

thirdparty-downloads:

batik-jars-check:

batik-jars:

download-zip:

get-zip:
  [get] Getting: 
http://archive.apache.org/dist/xmlgraphics/batik/batik-src-1.7.zip
  [get] To: 


check-sum:

fail-with-message:

untar-file:

unzip-file:
[unzip] Expanding: 
 
into 

copy-downloaded-jar:
 [copy] Copying 27 files to 

 [copy] Copying 2 files to 

 [copy] Copying 

 to 

 [copy] Copying 

Build failed in Jenkins: flex-utilities_installer #978

2016-10-20 Thread flex . ci . builds
See 

--
Started by timer
Building remotely on flex_sdk_slave2 in workspace 

 > C:\Program Files (x86)\Git\cmd\git.exe rev-parse --is-inside-work-tree # 
 > timeout=10
Fetching changes from the remote Git repository
 > C:\Program Files (x86)\Git\cmd\git.exe config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/flex-utilities.git # timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/flex-utilities.git
 > C:\Program Files (x86)\Git\cmd\git.exe --version # timeout=10
 > C:\Program Files (x86)\Git\cmd\git.exe fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/flex-utilities.git 
 > +refs/heads/*:refs/remotes/origin/*
 > C:\Program Files (x86)\Git\cmd\git.exe rev-parse "origin/develop^{commit}" # 
 > timeout=10
Checking out Revision e62376ea9d7738ef96ea6abb93e003eda66b4619 (origin/develop)
 > C:\Program Files (x86)\Git\cmd\git.exe config core.sparsecheckout # 
 > timeout=10
 > C:\Program Files (x86)\Git\cmd\git.exe checkout -f 
 > e62376ea9d7738ef96ea6abb93e003eda66b4619
 > C:\Program Files (x86)\Git\cmd\git.exe rev-list 
 > e62376ea9d7738ef96ea6abb93e003eda66b4619 # timeout=10
[ant_on_air] $ cmd.exe /C 
"c:\Jenkins\tools\hudson.tasks.Ant_AntInstallation\c_apache-ant-1.9.3\bin\ant.bat
 -file build.xml -Dplayerglobal.version=11.7 main && exit %%ERRORLEVEL%%"
Buildfile: 


clean:
   [delete] Deleting directory 


init:

check-as3commons.swc:

get-as3commons.swc:

third-party:
  [get] Destination already exists (skipping): 

  [get] Destination already exists (skipping): 

  [get] Destination already exists (skipping): 

  [get] Destination already exists (skipping): 

  [get] Destination already exists (skipping): 

  [get] Destination already exists (skipping): 

  [get] Destination already exists (skipping): 


compile:
[compc] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\air-config.xml
[compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[compc] 
C:\Jenkins\workspace\flex-utilities_installer\flex-installer\ant_on_air\bin\ant_on_air.swc
 (134171 bytes)

test:
[mxmlc] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\air-config.xml
[mxmlc] 
C:\Jenkins\workspace\flex-utilities_installer\flex-installer\ant_on_air\tests\AntOnAir.swf
 (1147263 bytes)
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

failuretests:

main:

BUILD SUCCESSFUL
Total time: 1 minute 57 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[flex-installer] $ cmd.exe /C 
"c:\Jenkins\tools\hudson.tasks.Ant_AntInstallation\c_apache-ant-1.9.3\bin\ant.bat
 -file build.xml -Dplayerglobal.version=11.7 clean build source-package 
create-md5s copy-misc && exit %%ERRORLEVEL%%"
Buildfile: 


clean:
   [delete] Deleting directory 

   [delete] Deleting directory 

   [delete] Deleting directory 

   [delete] Deleting directory 


clean:

createDirs:
 [echo] ***
 [echo] Execute the update-version target once,
 [echo] and only once, when you modifiy