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

2016-11-05 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/5e664ce0
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/5e664ce0
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/5e664ce0

Branch: refs/heads/feature/mdl
Commit: 5e664ce0a2847af3c6d0e14e33ff1f3d12b8ceab
Parents: 0056b3b
Author: Carlos Rovira 
Authored: Mon Oct 17 13:40:57 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/5e664ce0/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.
 
 
 
+
+
 
 
 



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

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

Branch: refs/heads/feature/mdl
Commit: e7bd5301ef3e98a60441ba78c28e692004ae1b59
Parents: 6cd8b62
Author: Carlos Rovira 
Authored: Wed Oct 26 20:03:10 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/e7bd5301/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/e7bd5301/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/e7bd5301/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


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

2016-11-05 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/155a1be3
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/155a1be3
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/155a1be3

Branch: refs/heads/feature/mdl
Commit: 155a1be34c9a0a9ce358047fb6f7b9462731a5ce
Parents: e7bd530
Author: Carlos Rovira 
Authored: Wed Oct 26 20:57:57 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/155a1be3/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/155a1be3/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 

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

2016-11-05 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/54f32cee
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/54f32cee
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/54f32cee

Branch: refs/heads/feature/mdl
Commit: 54f32ceea5ae4ba085f9d0676d184de8eb67d5fc
Parents: 32d80e4
Author: Carlos Rovira 
Authored: Fri Oct 14 23:05:39 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/54f32cee/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/54f32cee/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/54f32cee/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/54f32cee/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
+
+
+  
+   

[16/41] git commit: [flex-asjs] [refs/heads/feature/mdl] - MDL TextInput

2016-11-05 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/0056b3be
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/0056b3be
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/0056b3be

Branch: refs/heads/feature/mdl
Commit: 0056b3be6f81cead5e129ac7a3a10d851a3ed666
Parents: b9cab15
Author: Carlos Rovira 
Authored: Mon Oct 17 13:40:29 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/0056b3be/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;

[31/41] git commit: [flex-asjs] [refs/heads/feature/mdl] - Minor changes

2016-11-05 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/0bb58ccb
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/0bb58ccb
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/0bb58ccb

Branch: refs/heads/feature/mdl
Commit: 0bb58ccbb98029dfbf7d955abb57eafb7937cc92
Parents: 0f1d5c2
Author: Carlos Rovira 
Authored: Thu Oct 27 18:28:34 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/0bb58ccb/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/0bb58ccb/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/0bb58ccb/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/0bb58ccb/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';
-

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

2016-11-05 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/6cb7a835
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/6cb7a835
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/6cb7a835

Branch: refs/heads/feature/mdl
Commit: 6cb7a83592037d3744c864dd64211dced05fe574
Parents: 48b4e0a
Author: Carlos Rovira 
Authored: Tue Oct 25 19:02:37 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/6cb7a835/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/6cb7a835/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 

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

2016-11-05 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/69edc4e6
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/69edc4e6
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/69edc4e6

Branch: refs/heads/feature/mdl
Commit: 69edc4e6c9abe0de02a212afadc2aea158169338
Parents: 2bc21a4
Author: Carlos Rovira 
Authored: Fri Nov 4 17:42:13 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/69edc4e6/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/69edc4e6/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
{



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

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

Branch: refs/heads/feature/mdl
Commit: f5600a09e42c541bb8a716f7f289b7a0674987eb
Parents: 8840058
Author: Carlos Rovira 
Authored: Sun Nov 6 02:27:24 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/f5600a09/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/f5600a09/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 

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

2016-11-05 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/0e1283d5
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/0e1283d5
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/0e1283d5

Branch: refs/heads/feature/mdl
Commit: 0e1283d5f9d3a3bd38971ec229be0e55c6477a61
Parents: 244ea0f
Author: Carlos Rovira 
Authored: Thu Nov 3 20:15:00 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/0e1283d5/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/0e1283d5/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 

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

2016-11-05 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/8c9e2469
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/8c9e2469
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/8c9e2469

Branch: refs/heads/feature/mdl
Commit: 8c9e2469d22b67f71372e24f499bd7e60ef39eac
Parents: c5b1aca
Author: Carlos Rovira 
Authored: Wed Oct 19 00:49:48 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/8c9e2469/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/8c9e2469/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;
+

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

2016-11-05 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/0f10c493
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/0f10c493
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/0f10c493

Branch: refs/heads/feature/mdl
Commit: 0f10c493b92ef00f2643a883bddced41baa38741
Parents: 0e86ee5
Author: Alex Harui 
Authored: Sun Oct 16 21:25:09 2016 -0700
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/0f10c493/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/0f10c493/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 @@
 
 
 
-
+
 
 
 



[02/41] git commit: [flex-asjs] [refs/heads/feature/mdl] - - Added the dummy jars FlashBuilder seems to need - Finetuned the distribution to omit the versions on jars in the lib directory

2016-11-05 Thread carlosrovira
- Added the dummy jars FlashBuilder seems to need
- Finetuned the distribution to omit the versions on jars in the lib directory


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

Branch: refs/heads/feature/mdl
Commit: cf35d184124dd778ac0c2d51f926735521475181
Parents: 666b761
Author: Christofer Dutz 
Authored: Sat Nov 5 16:55:46 2016 +0100
Committer: Christofer Dutz 
Committed: Sat Nov 5 16:55:46 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 | 49 -
 distribution/src/main/assembly/component.xml |  1 +
 9 files changed, 474 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/cf35d184/distribution/jars/compc/pom.xml
--
diff --git a/distribution/jars/compc/pom.xml b/distribution/jars/compc/pom.xml
new file mode 100644
index 000..1b3cfaa
--- /dev/null
+++ b/distribution/jars/compc/pom.xml
@@ -0,0 +1,60 @@
+
+
+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
+flexjs-framework-parent
+0.8.0-SNAPSHOT
+  
+
+  org.apache.flex.flexjs.framework.distribution
+  compc
+  0.8.0-SNAPSHOT
+
+  
+
+  
+maven-jar-plugin
+
+  
+
+  true
+  custom
+  
$${artifact.artifactId}.$${artifact.extension}
+  flex2.tools.Compc
+
+  
+
+  
+
+  
+
+  
+
+  org.apache.flex.flexjs.compiler
+  flex-compiler-oem
+  0.8.0-SNAPSHOT
+
+  
+
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/cf35d184/distribution/jars/falcon-asc/pom.xml
--
diff --git a/distribution/jars/falcon-asc/pom.xml 
b/distribution/jars/falcon-asc/pom.xml
new file mode 100644
index 000..e1b4ae1
--- /dev/null
+++ b/distribution/jars/falcon-asc/pom.xml
@@ -0,0 +1,60 @@
+
+
+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
+flexjs-framework-parent
+0.8.0-SNAPSHOT
+  
+
+  org.apache.flex.flexjs.framework.distribution
+  falcon-asc
+  0.8.0-SNAPSHOT
+
+  
+
+  
+maven-jar-plugin
+
+  
+
+  true
+  custom
+  
$${artifact.artifactId}.$${artifact.extension}
+  org.apache.flex.compiler.clients.ASC
+
+  
+
+  
+
+  
+
+  
+
+  org.apache.flex.flexjs.compiler
+  compiler
+  0.8.0-SNAPSHOT
+
+  
+
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/cf35d184/distribution/jars/falcon-compc/pom.xml
--
diff --git a/distribution/jars/falcon-compc/pom.xml 
b/distribution/jars/falcon-compc/pom.xml
new file mode 100644
index 000..c332371
--- /dev/null
+++ b/distribution/jars/falcon-compc/pom.xml
@@ -0,0 +1,60 @@
+
+
+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
+flexjs-framework-parent
+0.8.0-SNAPSHOT
+  
+
+  org.apache.flex.flexjs.framework.distribution
+  falcon-compc
+  0.8.0-SNAPSHOT
+
+  
+
+  
+maven-jar-plugin
+
+  
+
+  true
+  custom
+  
$${artifact.artifactId}.$${artifact.extension}
+  org.apache.flex.compiler.clients.COMPC
+
+  
+
+  
+
+  
+
+  
+
+  org.apache.flex.flexjs.compiler
+  compiler
+  

[38/41] git commit: [flex-asjs] [refs/heads/feature/mdl] - Refactor Badge

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

Branch: refs/heads/feature/mdl
Commit: fe775c6cbf1f36b4a663fff97eaf284384a42da8
Parents: d815c24
Author: Carlos Rovira 
Authored: Fri Nov 4 12:14:52 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/fe775c6c/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/fe775c6c/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
-   

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

2016-11-05 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/244ea0fa
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/244ea0fa
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/244ea0fa

Branch: refs/heads/feature/mdl
Commit: 244ea0fa56ba51421e6866f9293defa21a03e477
Parents: 6cbde66
Author: Carlos Rovira 
Authored: Thu Nov 3 11:00:15 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/244ea0fa/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/244ea0fa/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);

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

2016-11-05 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/0e86ee56
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/0e86ee56
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/0e86ee56

Branch: refs/heads/feature/mdl
Commit: 0e86ee56b051945373b6e7f3de7cb595ddc9b935
Parents: 3fe3c08
Author: Carlos Rovira 
Authored: Sun Oct 16 21:10:10 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/0e86ee56/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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 
 
 



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

2016-11-05 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/1eda23b0
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/1eda23b0
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/1eda23b0

Branch: refs/heads/feature/mdl
Commit: 1eda23b0d47e3a90403ef2f7bd4c4699924b101a
Parents: 6cb7a83
Author: Carlos Rovira 
Authored: Wed Oct 26 12:29:26 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/1eda23b0/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/1eda23b0/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/1eda23b0/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/1eda23b0/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
 

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

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

Branch: refs/heads/feature/mdl
Commit: c33956ef6b4357d5a293ac9ce04184eb1e560c20
Parents: 5e664ce
Author: Carlos Rovira 
Authored: Mon Oct 17 16:16:22 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/c33956ef/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);
+ 

[29/41] git commit: [flex-asjs] [refs/heads/feature/mdl] - Disabled bead

2016-11-05 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/0f1d5c2f
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/0f1d5c2f
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/0f1d5c2f

Branch: refs/heads/feature/mdl
Commit: 0f1d5c2f378a4d3012118633bb6e5ad899193d69
Parents: 155a1be
Author: Carlos Rovira 
Authored: Wed Oct 26 23:19:29 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/0f1d5c2f/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/0f1d5c2f/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
+  

[07/41] 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-05 Thread carlosrovira
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/6cd8b623
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/6cd8b623
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/6cd8b623

Branch: refs/heads/feature/mdl
Commit: 6cd8b623a72003dbb7dcb002a8ee62eba9c9cb60
Parents: 1eda23b
Author: Carlos Rovira 
Authored: Wed Oct 26 12:57:18 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/6cd8b623/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/6cd8b623/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 
-   

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

2016-11-05 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/78fcde4b
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/78fcde4b
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/78fcde4b

Branch: refs/heads/feature/mdl
Commit: 78fcde4b9eaf5dc738bb1dcfcc8f4c8be38d981b
Parents: 8b88ca4
Author: Carlos Rovira 
Authored: Fri Nov 4 00:33:19 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/78fcde4b/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/78fcde4b/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/78fcde4b/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/78fcde4b/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
--- 

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

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

Branch: refs/heads/feature/mdl
Commit: 3fe3c081748d249508f2a6fb853b418f6ffe613e
Parents: 54f32ce
Author: Carlos Rovira 
Authored: Sun Oct 16 11:05:38 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/3fe3c081/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
+
 
 
 



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

2016-11-05 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/0be7f513
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/0be7f513
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/0be7f513

Branch: refs/heads/feature/mdl
Commit: 0be7f51376d4314e5b96a062fcf762a6695df11a
Parents: 0bb58cc
Author: Carlos Rovira 
Authored: Wed Nov 2 19:27:22 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/0be7f513/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;
}



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

2016-11-05 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/8b88ca44
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/8b88ca44
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/8b88ca44

Branch: refs/heads/feature/mdl
Commit: 8b88ca44d1d95b82de5e28df1b4dce36d4f17aab
Parents: 0e1283d
Author: Carlos Rovira 
Authored: Thu Nov 3 23:20:52 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/8b88ca44/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/8b88ca44/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/8b88ca44/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/8b88ca44/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
+++ 

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

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

Branch: refs/heads/feature/mdl
Commit: 884005838486c4cab328912ca7e1a2e95ae2c9ca
Parents: 793c3eb
Author: Carlos Rovira 
Authored: Sat Nov 5 14:41:30 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/88400583/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/88400583/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/88400583/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/88400583/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;
 }


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

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

Branch: refs/heads/feature/mdl
Commit: 2a8b179734e331b763f3b6570eeb2c7efddb6178
Parents: fe775c6
Author: Carlos Rovira 
Authored: Fri Nov 4 15:39:51 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/2a8b1797/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/2a8b1797/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
-   {
-

[30/41] git commit: [flex-asjs] [refs/heads/feature/mdl] - MDL Slider

2016-11-05 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/6cbde66e
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/6cbde66e
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/6cbde66e

Branch: refs/heads/feature/mdl
Commit: 6cbde66eeb3ce08a60dccf4d172e8ef3c1f7a981
Parents: 0be7f51
Author: Carlos Rovira 
Authored: Wed Nov 2 23:39:59 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/6cbde66e/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/6cbde66e/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/6cbde66e/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/6cbde66e/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;
+   }
}
-}
 
 }
 


[08/41] 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-05 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/565e1395
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/565e1395
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/565e1395

Branch: refs/heads/feature/mdl
Commit: 565e139546e56397e80a555c5ee9e057441e6976
Parents: cf35d18
Author: Carlos Rovira 
Authored: Fri Oct 14 20:51:28 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/565e1395/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/565e1395/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
+
+  
+
+


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

2016-11-05 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/793c3eba
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/793c3eba
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/793c3eba

Branch: refs/heads/feature/mdl
Commit: 793c3ebabef008ca97130acb573d604d6d6c757c
Parents: f7c97ba
Author: Carlos Rovira 
Authored: Sat Nov 5 02:01:27 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/793c3eba/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/793c3eba/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/793c3eba/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
-//  

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

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

Branch: refs/heads/feature/mdl
Commit: c5b1aca0f52723a657d49ff9489b64cff88c05e7
Parents: 5519fd2
Author: Carlos Rovira 
Authored: Mon Oct 17 17:59:17 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/c5b1aca0/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.
 
 
 
-
+
 
 
+
+
 
 
 



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

2016-11-05 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/48b4e0ad
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/48b4e0ad
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/48b4e0ad

Branch: refs/heads/feature/mdl
Commit: 48b4e0ada6a223aebb325df846d07b5e4b9bdc0a
Parents: e35219b
Author: Carlos Rovira 
Authored: Tue Oct 25 00:06:03 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/48b4e0ad/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

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

2016-11-05 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/32d80e42
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/32d80e42
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/32d80e42

Branch: refs/heads/feature/mdl
Commit: 32d80e424610a5118dfb9c96eb586c704621eff6
Parents: 565e139
Author: Carlos Rovira 
Authored: Fri Oct 14 20:52:53 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 2016 +0100

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


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



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

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

Branch: refs/heads/feature/mdl
Commit: f7c97ba138ace625d62541a66b3006e90d903e0a
Parents: 69edc4e
Author: Carlos Rovira 
Authored: Sat Nov 5 01:51:13 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/f7c97ba1/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/f7c97ba1/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/41] git commit: [flex-asjs] [refs/heads/feature/mdl] - Introducing js:Form

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

Branch: refs/heads/feature/mdl
Commit: b9cab154837667a07ea2ee895cb27e96462c11db
Parents: 0f10c49
Author: Carlos Rovira 
Authored: Mon Oct 17 11:54:29 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:28:52 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/b9cab154/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;>
+
+
+
+
+
 
 
 



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

2016-11-05 Thread carlosrovira
Repository: flex-asjs
Updated Branches:
  refs/heads/feature/mdl 88bc82f56 -> 39c81573e


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

Branch: refs/heads/feature/mdl
Commit: 39c81573e2d27c2f072b3d8e22497b222c16126a
Parents: 88bc82f
Author: Carlos Rovira 
Authored: Sun Nov 6 02:27:24 2016 +0100
Committer: Carlos Rovira 
Committed: Sun Nov 6 02:27:24 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/39c81573/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/39c81573/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 

[2/2] git commit: [flex-sdk] [refs/heads/release4.16.0] - remove moved warning by changing path to https

2016-11-05 Thread jmclean
remove moved warning by changing path to https


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

Branch: refs/heads/release4.16.0
Commit: 4c8fe16f992741d2317d227baded563229c77a22
Parents: ee4170a
Author: Justin Mclean 
Authored: Sun Nov 6 12:11:54 2016 +1100
Committer: Justin Mclean 
Committed: Sun Nov 6 12:11:54 2016 +1100

--
 frameworks/downloads.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/4c8fe16f/frameworks/downloads.xml
--
diff --git a/frameworks/downloads.xml b/frameworks/downloads.xml
index 86536f1..82d12a4 100644
--- a/frameworks/downloads.xml
+++ b/frameworks/downloads.xml
@@ -312,7 +312,7 @@
 
 
 
-http://sourceforge.net/adobe/flexsdk/code/HEAD/tree/trunk/lib/afe.jar?format=raw;
+https://sourceforge.net/adobe/flexsdk/code/HEAD/tree/trunk/lib/afe.jar?format=raw;
 dest="${download.dir}/${adobe.afe.file}" ignoreerrors="true"/>
 
 
@@ -324,7 +324,7 @@
 
 
 
-http://sourceforge.net/adobe/flexsdk/code/HEAD/tree/trunk/lib/aglj40.jar?format=raw;
+https://sourceforge.net/adobe/flexsdk/code/HEAD/tree/trunk/lib/aglj40.jar?format=raw;
  dest="${download.dir}/${adobe.aglj40.file}" ignoreerrors="true"/>
  
  



[1/2] git commit: [flex-sdk] [refs/heads/release4.16.0] - remove moved warning by changing path to https

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


remove moved warning by changing path to https


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

Branch: refs/heads/release4.16.0
Commit: ee4170ada04f072e700d0f4d2b9ac7a5293462cd
Parents: 44dc9c6
Author: Justin Mclean 
Authored: Sun Nov 6 12:11:36 2016 +1100
Committer: Justin Mclean 
Committed: Sun Nov 6 12:11:36 2016 +1100

--
 modules/downloads.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ee4170ad/modules/downloads.xml
--
diff --git a/modules/downloads.xml b/modules/downloads.xml
index a827ce5..9154bb0 100644
--- a/modules/downloads.xml
+++ b/modules/downloads.xml
@@ -448,7 +448,7 @@
 
 
-http://downloads.sourceforge.net/project/saxon/Saxon-B/9.1.0.8/saxonb9-1-0-8j.zip?r=ts=1366147457use_mirror=superb-dca2;
 
+https://downloads.sourceforge.net/project/saxon/Saxon-B/9.1.0.8/saxonb9-1-0-8j.zip?r=ts=1366147457use_mirror=superb-dca2;
 
 dest="${download.dir}/${saxon9.bin.zip}" 
 verbose="false" ignoreerrors="true"/>
 



git commit: [flex-sdk] [refs/heads/release4.16.0] - fix a couple of Java doc issues

2016-11-05 Thread jmclean
Repository: flex-sdk
Updated Branches:
  refs/heads/release4.16.0 858376b3a -> 44dc9c622


fix a couple of Java doc issues


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

Branch: refs/heads/release4.16.0
Commit: 44dc9c6225bc1658b1bfa74bfd0a2c7334d506ab
Parents: 858376b
Author: Justin Mclean 
Authored: Sun Nov 6 12:09:24 2016 +1100
Committer: Justin Mclean 
Committed: Sun Nov 6 12:09:24 2016 +1100

--
 .../src/java/flex2/tools/oem/Application.java   |  2 +-
 .../src/java/flex2/tools/oem/Configuration.java | 22 ++--
 .../src/java/flex2/tools/oem/Library.java   |  2 +-
 .../src/java/flex2/tools/oem/Toolkit.java   |  4 ++--
 4 files changed, 15 insertions(+), 15 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/44dc9c62/modules/compiler/src/java/flex2/tools/oem/Application.java
--
diff --git a/modules/compiler/src/java/flex2/tools/oem/Application.java 
b/modules/compiler/src/java/flex2/tools/oem/Application.java
index 880e767..d4597fe 100644
--- a/modules/compiler/src/java/flex2/tools/oem/Application.java
+++ b/modules/compiler/src/java/flex2/tools/oem/Application.java
@@ -1734,7 +1734,7 @@ public class Application implements Builder
  * Application object the cache may be reused to build another Application
  * object that uses the same library path.
  *
- * @param swcCache A reference to an allocated swc cache.
+ * @param libraryCache A reference to an allocated swc cache.
  *
  * @since 3.0
  */

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/44dc9c62/modules/compiler/src/java/flex2/tools/oem/Configuration.java
--
diff --git a/modules/compiler/src/java/flex2/tools/oem/Configuration.java 
b/modules/compiler/src/java/flex2/tools/oem/Configuration.java
index 7aff4a3..e25f8c6 100644
--- a/modules/compiler/src/java/flex2/tools/oem/Configuration.java
+++ b/modules/compiler/src/java/flex2/tools/oem/Configuration.java
@@ -141,7 +141,7 @@ public interface Configuration
 
 /**
  * Sets the location of the default CSS file.
- * This is equivalent to using the compiler.defaults-css-url 
option of the mxmlc or compc compilers.
+ * This is equivalent to using the compiler.defaults-css-url 
option of the mxmlc or compc compilers.
  * 
  * @param url An instance of java.io.File.
  */
@@ -973,12 +973,12 @@ public interface Configuration
  * the file format:
  * 
  * 
- * script>
- * !-- use 'dep', 'pre' or 'dep' to specify a definition to be 
omitted from linking. -->
- * def id="mx.skins:ProgrammaticSkin"/>
- * pre id="mx.core:IFlexDisplayObject"/>
- * dep id="String"/>
- * /script>
+ * script
+ * !-- use 'dep', 'pre' or 'dep' to specify a definition to be 
omitted from linking. --
+ * def id="mx.skins:ProgrammaticSkin"/
+ * pre id="mx.core:IFlexDisplayObject"/
+ * dep id="String"/
+ * /script
  * 
  * 
  * @see #setExterns(String[])
@@ -1087,8 +1087,8 @@ public interface Configuration
  * CONTRIBUTOR  java.lang.String
  * CREATOR  java.lang.String
  * DATE java.util.Date
- * DESCRIPTION  java.util.Map
- * TITLEjava.util.Map
+ * DESCRIPTION  java.util.MapString, String
+ * TITLEjava.util.MapString, String
  * LANGUAGE java.lang.String
  * PUBLISHERjava.lang.String
  * 
@@ -1331,7 +1331,7 @@ public interface Configuration
 
 
 /**
- * @param libraries
+ * @param extensions
  */
 public void setExtensionLibraries(Map extensions);
 
@@ -1382,7 +1382,7 @@ public interface Configuration
  * instance should represent a SWC file. May not be null.
  *
  * @since 4.5
- * @see #setForcedRuntimeSharedLibraryPaths(File[])
+ * @see #setForceRuntimeSharedLibraryPaths(File[])
  * @throws NullPointerException if path is null.
  */
 void addForceRuntimeSharedLibraryPaths(File[] paths);

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/44dc9c62/modules/compiler/src/java/flex2/tools/oem/Library.java
--
diff --git a/modules/compiler/src/java/flex2/tools/oem/Library.java 
b/modules/compiler/src/java/flex2/tools/oem/Library.java
index bd72e5d..3092a78 100644
--- 

git commit: [flex-sdk] [refs/heads/release4.16.0] - fix as docs issue with mismatched tags

2016-11-05 Thread jmclean
Repository: flex-sdk
Updated Branches:
  refs/heads/release4.16.0 82f447ad2 -> 858376b3a


fix as docs issue with mismatched tags


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

Branch: refs/heads/release4.16.0
Commit: 858376b3a4255610898a43844f4e69fc285e3115
Parents: 82f447a
Author: Justin Mclean 
Authored: Sun Nov 6 11:45:46 2016 +1100
Committer: Justin Mclean 
Committed: Sun Nov 6 11:45:46 2016 +1100

--
 frameworks/projects/framework/src/mx/utils/ObjectUtil.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/858376b3/frameworks/projects/framework/src/mx/utils/ObjectUtil.as
--
diff --git a/frameworks/projects/framework/src/mx/utils/ObjectUtil.as 
b/frameworks/projects/framework/src/mx/utils/ObjectUtil.as
index 74aa9d6..260d372 100644
--- a/frameworks/projects/framework/src/mx/utils/ObjectUtil.as
+++ b/frameworks/projects/framework/src/mx/utils/ObjectUtil.as
@@ -1228,7 +1228,7 @@ public class ObjectUtil
 /**
  *  Verifies if the first object is dynamic and is a subset of the second 
object.
  *
- *  @param values The values which need to be shared by 
object
+ *  @param values The values which need to be shared by object
  *  @param object The object to verify against.
  *
  *  @return true if and only if the objects are the same, or if 
values



[MAVEN-BUILD] FlexJS Framework (maven) - Build # 364 - Failure

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

Status: Failure

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

git commit: [flex-asjs] [refs/heads/develop] - - Added the dummy jars FlashBuilder seems to need - Finetuned the distribution to omit the versions on jars in the lib directory

2016-11-05 Thread cdutz
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 666b76154 -> cf35d1841


- Added the dummy jars FlashBuilder seems to need
- Finetuned the distribution to omit the versions on jars in the lib directory


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

Branch: refs/heads/develop
Commit: cf35d184124dd778ac0c2d51f926735521475181
Parents: 666b761
Author: Christofer Dutz 
Authored: Sat Nov 5 16:55:46 2016 +0100
Committer: Christofer Dutz 
Committed: Sat Nov 5 16:55:46 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 | 49 -
 distribution/src/main/assembly/component.xml |  1 +
 9 files changed, 474 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/cf35d184/distribution/jars/compc/pom.xml
--
diff --git a/distribution/jars/compc/pom.xml b/distribution/jars/compc/pom.xml
new file mode 100644
index 000..1b3cfaa
--- /dev/null
+++ b/distribution/jars/compc/pom.xml
@@ -0,0 +1,60 @@
+
+
+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
+flexjs-framework-parent
+0.8.0-SNAPSHOT
+  
+
+  org.apache.flex.flexjs.framework.distribution
+  compc
+  0.8.0-SNAPSHOT
+
+  
+
+  
+maven-jar-plugin
+
+  
+
+  true
+  custom
+  
$${artifact.artifactId}.$${artifact.extension}
+  flex2.tools.Compc
+
+  
+
+  
+
+  
+
+  
+
+  org.apache.flex.flexjs.compiler
+  flex-compiler-oem
+  0.8.0-SNAPSHOT
+
+  
+
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/cf35d184/distribution/jars/falcon-asc/pom.xml
--
diff --git a/distribution/jars/falcon-asc/pom.xml 
b/distribution/jars/falcon-asc/pom.xml
new file mode 100644
index 000..e1b4ae1
--- /dev/null
+++ b/distribution/jars/falcon-asc/pom.xml
@@ -0,0 +1,60 @@
+
+
+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
+flexjs-framework-parent
+0.8.0-SNAPSHOT
+  
+
+  org.apache.flex.flexjs.framework.distribution
+  falcon-asc
+  0.8.0-SNAPSHOT
+
+  
+
+  
+maven-jar-plugin
+
+  
+
+  true
+  custom
+  
$${artifact.artifactId}.$${artifact.extension}
+  org.apache.flex.compiler.clients.ASC
+
+  
+
+  
+
+  
+
+  
+
+  org.apache.flex.flexjs.compiler
+  compiler
+  0.8.0-SNAPSHOT
+
+  
+
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/cf35d184/distribution/jars/falcon-compc/pom.xml
--
diff --git a/distribution/jars/falcon-compc/pom.xml 
b/distribution/jars/falcon-compc/pom.xml
new file mode 100644
index 000..c332371
--- /dev/null
+++ b/distribution/jars/falcon-compc/pom.xml
@@ -0,0 +1,60 @@
+
+
+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
+flexjs-framework-parent
+0.8.0-SNAPSHOT
+  
+
+  org.apache.flex.flexjs.framework.distribution
+  falcon-compc
+  0.8.0-SNAPSHOT
+
+  
+
+  
+maven-jar-plugin
+
+  
+
+  true
+  custom
+  
$${artifact.artifactId}.$${artifact.extension}
+  org.apache.flex.compiler.clients.COMPC
+
+  
+
+  
+
+  

[1/3] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - - Moved resources to the src/main/resources directories - Adjusted the config to use the maven-resources-plugin for co

2016-11-05 Thread cdutz
Repository: flex-asjs
Updated Branches:
  refs/heads/feature-autobuild/example-maven-dirs 8d495540e -> a07e0a2e3


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a07e0a2e/examples/flexjs/TeamPage/src/main/resources/team.json
--
diff --git a/examples/flexjs/TeamPage/src/main/resources/team.json 
b/examples/flexjs/TeamPage/src/main/resources/team.json
new file mode 100644
index 000..b082f40
--- /dev/null
+++ b/examples/flexjs/TeamPage/src/main/resources/team.json
@@ -0,0 +1,504 @@
+/*
+ *
+ *  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.
+ *
+ */
+ 
+ { "template": {
+   "name": "put here name here",
+   "title": "put your apache.org title here or leave blank",
+   "photoURL": "put the url to your uploaded photo here",
+   "url": "not used at the moment but should point to a personal site",
+   "bio": "put your official Apache Flex bio here. If you use HTML, be 
sure to use single quote (apostrophes)",
+   "twitter": "put your URL here or leave blank",
+   "facebook": "put your URL here or leave blank",
+   "github": "put your URL here or leave blank",
+   "googleplus": "put your URL here or leave blank",
+   "rss": "put your URL here or leave blank",
+   "wordpress": "put your URL here or leave blank"
+  },
+
+  "members": [
+   {"name": "Alex Harui",
+ "title": "PMC Chair of Apache Flex",
+ "apacheID": "aharui (C+P)",
+"photoURL": "images/headshots/aharui.jpg",
+ "url": "http://www.apache.org/alex;,
+ "bio": "Alex Harui has been working on the Flex SDK since he joined 
Macromedia in 2002. He is now spending most of his time on a next-generation of 
Flex called FlexJS that cross-compiles MXML and ActionScript into JavaScript so 
your Flex apps can run without Flash and AIR",
+ "twitter":"",
+ "linkedIn":"",
+ "facebook":"",
+ "github":"",
+ "googleplus":"",
+ "rss":""
+},
+
+   {"name": "Carlos Rovira",
+ "title": "",
+ "apacheID": "carlosrovira",
+"photoURL": "images/headshots/carlosrovira.jpg",
+ "url": "http://www.apache.org/carlos;,
+ "bio": "Carlos Rovira is a technologist, entrepreneur and businessman. He 
is passionate about advanced web interfaces and rich multi-device business 
applications. He is extremely happy when their applications are useful for 
people, combining functionality and usability. He's founder of various 
companies including carlosrovira.com in 2007 and Codeoscopic in 2009. He's the 
technical leader behind the Riality Flex/JEE Platform and other successful 
insurance software products like Direct Writer and Avant 2",
+ "twitter":"http://www.twitter.com/carlosrovira;,
+ "linkedIn":"http://es.linkedin.com/in/carlosrovira/;,
+ "facebook":"",
+ "github":"http://www.github.com/carlosrovira;,
+ "googleplus":"https://plus.google.com/115670167046758349523;,
+ "rss":"http://www.carlosrovira.com/blog/feed/;
+},
+
+{"name": "Carol Frampton",
+ "title": "",
+ "apacheID": "cframpton (C+P)",
+ "photoURL": "images/headshots/cframpton.jpg",
+ "bio": "Carol is a software engineer at Adobe, based outside of Boston.  
She worked on Adobe Flex for about five years - FTE and TLF text with Gordon, 
Spark DataGrid, mirroring and the top bug fixer for the last couple of years - 
then transitioned with Flex to Apache. Release manager for Apache Flex 4.8.0.  
Being a generalist, she's worked on a wide variety of software, including 
ColdFusion and JRun, kernel-level networking code and distributed networking 
software. ",
+ "twitter":"",
+ "linkedIn":"http://www.linkedin.com/in/carolframpton;,
+ "facebook":"",
+ "github":"",
+ "googleplus":"",
+ "rss":""
+},
+
+{"name": "Chema Balsas",
+ "title": "",
+ "apacheID": "jbalsas (C)",
+ "photoURL": "images/headshots/jbalsas.jpg",
+ "bio": "Web application developer. Focusing on JS right now and trying to 
help with Falcon and FalconJS as an Apache Flex Commiter.",
+ "twitter":"http://www.twitter.com/jbalsas;,
+ "linkedIn":"http://www.linkedin.com/in/jbalsas;,
+ "facebook":"",
+ 

[3/3] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - - Moved resources to the src/main/resources directories - Adjusted the config to use the maven-resources-plugin for co

2016-11-05 Thread cdutz
- Moved resources to the src/main/resources directories
- Adjusted the config to use the maven-resources-plugin for copying the 
resources


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: a07e0a2e34c8b749f9cb3009860a9a3e34942621
Parents: 8d49554
Author: Christofer Dutz 
Authored: Sat Nov 5 16:38:56 2016 +0100
Committer: Christofer Dutz 
Committed: Sat Nov 5 16:38:56 2016 +0100

--
 .../src/main/flex/assets/smallbluerect.jpg  | Bin 13500 -> 0 bytes
 .../src/main/flex/assets/smallgreenrect.jpg | Bin 13542 -> 0 bytes
 .../src/main/flex/assets/smallorangerect.gif| Bin 821 -> 0 bytes
 .../src/main/flex/assets/smallorangerect.jpg| Bin 13571 -> 0 bytes
 .../src/main/flex/assets/smallpurplerect.jpg| Bin 13517 -> 0 bytes
 .../src/main/flex/assets/smallredrect.jpg   | Bin 13477 -> 0 bytes
 .../src/main/flex/assets/smallyellowrect.jpg| Bin 13598 -> 0 bytes
 .../src/main/resources/assets/smallbluerect.jpg | Bin 0 -> 13500 bytes
 .../main/resources/assets/smallgreenrect.jpg| Bin 0 -> 13542 bytes
 .../main/resources/assets/smallorangerect.gif   | Bin 0 -> 821 bytes
 .../main/resources/assets/smallorangerect.jpg   | Bin 0 -> 13571 bytes
 .../main/resources/assets/smallpurplerect.jpg   | Bin 0 -> 13517 bytes
 .../src/main/resources/assets/smallredrect.jpg  | Bin 0 -> 13477 bytes
 .../main/resources/assets/smallyellowrect.jpg   | Bin 0 -> 13598 bytes
 .../src/main/flex/assets/427px-Bayarea_map.png  | Bin 122661 -> 0 bytes
 .../src/main/flex/assets/akotter.jpg| Bin 19395 -> 0 bytes
 .../src/main/flex/assets/bcrater.jpg| Bin 22670 -> 0 bytes
 .../src/main/flex/assets/beige_background.jpg   | Bin 12533 -> 0 bytes
 .../src/main/flex/assets/beige_dotted_map.png   | Bin 216598 -> 0 bytes
 .../src/main/flex/assets/blue_background.jpg| Bin 12868 -> 0 bytes
 .../src/main/flex/assets/blue_dotted_map.png| Bin 217088 -> 0 bytes
 .../src/main/flex/assets/button_cart_empty.png  | Bin 289 -> 0 bytes
 .../src/main/flex/assets/button_cart_full.png   | Bin 308 -> 0 bytes
 .../src/main/flex/assets/button_compare.png | Bin 304 -> 0 bytes
 .../src/main/flex/assets/button_details.png | Bin 284 -> 0 bytes
 .../src/main/flex/assets/button_tiles.png   | Bin 218 -> 0 bytes
 .../FlexJSStore/src/main/flex/assets/grip.png   | Bin 19836 -> 0 bytes
 .../src/main/flex/assets/icon_cart_empty.png| Bin 29594 -> 0 bytes
 .../src/main/flex/assets/icon_compare.png   | Bin 30218 -> 0 bytes
 .../src/main/flex/assets/icon_magnifier.png | Bin 30454 -> 0 bytes
 .../src/main/flex/assets/icon_tiles.png | Bin 27988 -> 0 bytes
 .../src/main/flex/assets/jproctor.jpg   | Bin 21684 -> 0 bytes
 .../src/main/flex/assets/logo_blue.png  | Bin 33677 -> 0 bytes
 .../src/main/flex/assets/logo_orange.png| Bin 34166 -> 0 bytes
 .../src/main/flex/assets/pic/abrilliam.jpg  | Bin 18903 -> 0 bytes
 .../src/main/flex/assets/pic/akotter.jpg| Bin 19395 -> 0 bytes
 .../src/main/flex/assets/pic/bcrater.jpg| Bin 22670 -> 0 bytes
 .../src/main/flex/assets/pic/bleporte.jpg   | Bin 23363 -> 0 bytes
 .../src/main/flex/assets/pic/bvanbrocklin.jpg   | Bin 18066 -> 0 bytes
 .../src/main/flex/assets/pic/ccarpenter.jpg | Bin 19219 -> 0 bytes
 .../src/main/flex/assets/pic/clampberto.jpg | Bin 18611 -> 0 bytes
 .../src/main/flex/assets/pic/davenon.jpg| Bin 20028 -> 0 bytes
 .../src/main/flex/assets/pic/dmcgoyal.jpg   | Bin 19395 -> 0 bytes
 .../src/main/flex/assets/pic/dwillhelm.jpg  | Bin 22670 -> 0 bytes
 .../src/main/flex/assets/pic/esunderland.jpg| Bin 23363 -> 0 bytes
 .../src/main/flex/assets/pic/jproctor.jpg   | Bin 21684 -> 0 bytes
 .../src/main/flex/assets/pic/mfields.jpg| Bin 18066 -> 0 bytes
 .../src/main/flex/assets/pic/pdempsey.jpg   | Bin 18611 -> 0 bytes
 .../src/main/flex/assets/pic/ptranep.jpg| Bin 19627 -> 0 bytes
 .../src/main/flex/assets/pic/rcrawley.jpg   | Bin 23692 -> 0 bytes
 .../src/main/flex/assets/pic/rdreifus.jpg   | Bin 20028 -> 0 bytes
 .../src/main/flex/assets/pic/twong.jpg  | Bin 19395 -> 0 bytes
 .../main/flex/assets/support_mapmarker_a.png| Bin 834 -> 0 bytes
 .../main/flex/assets/support_mapmarker_b.png| Bin 822 -> 0 bytes
 .../main/flex/assets/support_mapmarker_c.png| Bin 817 -> 0 bytes
 .../main/flex/assets/support_mapmarker_plus.png | Bin 827 -> 0 bytes
 .../src/main/flex/assets/trashcan.png   | Bin 182 -> 0 bytes
 .../FlexJSStore/src/main/flex/data/catalog.json | 236 -
 

[2/3] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - - Moved resources to the src/main/resources directories - Adjusted the config to use the maven-resources-plugin for co

2016-11-05 Thread cdutz
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a07e0a2e/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/icon_cart_empty.png
--
diff --git 
a/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/icon_cart_empty.png 
b/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/icon_cart_empty.png
deleted file mode 100644
index 562064b..000
Binary files 
a/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/icon_cart_empty.png 
and /dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a07e0a2e/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/icon_compare.png
--
diff --git 
a/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/icon_compare.png 
b/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/icon_compare.png
deleted file mode 100644
index efc3ea1..000
Binary files 
a/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/icon_compare.png and 
/dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a07e0a2e/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/icon_magnifier.png
--
diff --git 
a/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/icon_magnifier.png 
b/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/icon_magnifier.png
deleted file mode 100755
index 939f814..000
Binary files 
a/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/icon_magnifier.png 
and /dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a07e0a2e/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/icon_tiles.png
--
diff --git 
a/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/icon_tiles.png 
b/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/icon_tiles.png
deleted file mode 100644
index dbf75b6..000
Binary files 
a/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/icon_tiles.png and 
/dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a07e0a2e/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/jproctor.jpg
--
diff --git 
a/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/jproctor.jpg 
b/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/jproctor.jpg
deleted file mode 100755
index 787..000
Binary files 
a/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/jproctor.jpg and 
/dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a07e0a2e/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/logo_blue.png
--
diff --git 
a/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/logo_blue.png 
b/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/logo_blue.png
deleted file mode 100755
index 85bad70..000
Binary files 
a/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/logo_blue.png and 
/dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a07e0a2e/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/logo_orange.png
--
diff --git 
a/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/logo_orange.png 
b/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/logo_orange.png
deleted file mode 100755
index e3ff7a6..000
Binary files 
a/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/logo_orange.png and 
/dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a07e0a2e/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/pic/abrilliam.jpg
--
diff --git 
a/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/pic/abrilliam.jpg 
b/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/pic/abrilliam.jpg
deleted file mode 100755
index 6954858..000
Binary files 
a/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/pic/abrilliam.jpg and 
/dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a07e0a2e/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/pic/akotter.jpg
--
diff --git 
a/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/pic/akotter.jpg 
b/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/pic/akotter.jpg
deleted file mode 100755
index 1124b71..000
Binary files 
a/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/pic/akotter.jpg and 
/dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a07e0a2e/examples/flexjs/FlexJSStore_jquery/src/main/flex/assets/pic/bcrater.jpg
--
diff --git 

[15/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - try to copy HTML to Basic without losing history

2016-11-05 Thread cdutz
try to copy HTML to Basic without losing history


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: d822145269fcd59dca71b8310527edbf008072dc
Parents: 6c2e37f
Author: Alex Harui 
Authored: Wed Oct 26 13:16:24 2016 -0700
Committer: Alex Harui 
Committed: Tue Nov 1 07:46:51 2016 -0700

--
 frameworks/projects/Basic/build.xml | 116 
 frameworks/projects/Basic/pom.xml   | 128 
 .../Basic/src/main/config/compile-as-config.xml |  90 +++
 .../projects/Basic/src/main/flex/HTMLClasses.as | 194 ++
 .../apache/flex/core/IScrollingLayoutParent.as  |  68 ++
 .../org/apache/flex/events/ItemAddedEvent.as|  88 +++
 .../org/apache/flex/events/ItemClickedEvent.as  | 115 
 .../org/apache/flex/events/ItemRemovedEvent.as  |  88 +++
 .../org/apache/flex/events/ItemRendererEvent.as |  90 +++
 .../src/main/flex/org/apache/flex/html/Alert.as | 287 
 .../main/flex/org/apache/flex/html/Button.as|  85 +++
 .../main/flex/org/apache/flex/html/ButtonBar.as |  76 +++
 .../flex/org/apache/flex/html/ButtonBase.as | 101 +++
 .../main/flex/org/apache/flex/html/CheckBox.as  | 187 ++
 .../flex/org/apache/flex/html/CloseButton.as|  66 ++
 .../main/flex/org/apache/flex/html/ComboBox.as  | 277 
 .../main/flex/org/apache/flex/html/Container.as | 108 +++
 .../flex/org/apache/flex/html/ControlBar.as |  99 +++
 .../main/flex/org/apache/flex/html/DataGrid.as  | 166 +
 .../org/apache/flex/html/DataGridButtonBar.as   |  51 ++
 .../flex/html/DataGridButtonBarTextButton.as|  55 ++
 .../flex/org/apache/flex/html/DateChooser.as|  74 ++
 .../main/flex/org/apache/flex/html/DateField.as |  95 +++
 .../flex/org/apache/flex/html/DropDownList.as   | 235 +++
 .../src/main/flex/org/apache/flex/html/Form.as  |  99 +++
 .../flex/org/apache/flex/html/HContainer.as |  61 ++
 .../src/main/flex/org/apache/flex/html/HRule.as |  63 ++
 .../src/main/flex/org/apache/flex/html/Image.as |  93 +++
 .../org/apache/flex/html/ImageAndTextButton.as  | 128 
 .../flex/org/apache/flex/html/ImageButton.as|  89 +++
 .../src/main/flex/org/apache/flex/html/Label.as | 194 ++
 .../src/main/flex/org/apache/flex/html/List.as  | 311 +
 .../flex/org/apache/flex/html/MXMLBeadView.as   | 317 +
 .../flex/org/apache/flex/html/MultilineLabel.as |  76 +++
 .../flex/org/apache/flex/html/NumericStepper.as | 202 ++
 .../src/main/flex/org/apache/flex/html/Panel.as | 121 
 .../org/apache/flex/html/PanelWithControlBar.as | 121 
 .../flex/org/apache/flex/html/RadioButton.as| 350 ++
 .../flex/org/apache/flex/html/RangeStepper.as   |  69 ++
 .../flex/org/apache/flex/html/SimpleAlert.as| 140 
 .../flex/org/apache/flex/html/SimpleList.as |  79 +++
 .../main/flex/org/apache/flex/html/Slider.as| 233 +++
 .../main/flex/org/apache/flex/html/Spacer.as|  64 ++
 .../main/flex/org/apache/flex/html/Spinner.as   | 166 +
 .../main/flex/org/apache/flex/html/TextArea.as  | 126 
 .../flex/org/apache/flex/html/TextButton.as | 139 
 .../main/flex/org/apache/flex/html/TextInput.as | 187 ++
 .../main/flex/org/apache/flex/html/TitleBar.as  | 146 
 .../org/apache/flex/html/ToggleTextButton.as| 170 +
 .../main/flex/org/apache/flex/html/ToolTip.as   |  60 ++
 .../src/main/flex/org/apache/flex/html/Tree.as  |  73 ++
 .../flex/org/apache/flex/html/VContainer.as |  62 ++
 .../src/main/flex/org/apache/flex/html/VRule.as |  68 ++
 .../flex/org/apache/flex/html/WebBrowser.as | 145 
 .../accessories/NumericOnlyTextInputBead.as | 199 ++
 .../flex/html/accessories/PasswordInputBead.as  | 102 +++
 .../flex/html/accessories/TextPromptBead.as | 148 
 .../apache/flex/html/accessories/ToolTipBead.as | 141 
 .../flex/html/beads/AlertMeasurementBead.as |  88 +++
 .../org/apache/flex/html/beads/AlertView.as | 226 +++
 .../flex/html/beads/BackgroundImageBead.as  | 112 
 .../org/apache/flex/html/beads/ButtonBarView.as |  69 ++
 .../org/apache/flex/html/beads/CSSButtonView.as | 167 +
 .../html/beads/CSSImageAndTextButtonView.as | 367 ++
 .../apache/flex/html/beads/CSSTextButtonView.as | 350 ++
 .../flex/html/beads/CSSTextToggleButtonView.as  | 105 +++
 .../org/apache/flex/html/beads/CheckBoxView.as  | 296 
 .../apache/flex/html/beads/CloseButtonView.as   | 101 +++
 .../org/apache/flex/html/beads/ComboBoxView.as  | 247 +++
 .../org/apache/flex/html/beads/ContainerView.as | 553 +++
 .../html/beads/ControlBarMeasurementBead.as | 116 
 

[53/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - - Adjusted the directory structure of the TeamPage example

2016-11-05 Thread cdutz
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8d495540/examples/flexjs/TeamPage/src/team.json
--
diff --git a/examples/flexjs/TeamPage/src/team.json 
b/examples/flexjs/TeamPage/src/team.json
deleted file mode 100644
index b082f40..000
--- a/examples/flexjs/TeamPage/src/team.json
+++ /dev/null
@@ -1,504 +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.
- *
- */
- 
- { "template": {
-   "name": "put here name here",
-   "title": "put your apache.org title here or leave blank",
-   "photoURL": "put the url to your uploaded photo here",
-   "url": "not used at the moment but should point to a personal site",
-   "bio": "put your official Apache Flex bio here. If you use HTML, be 
sure to use single quote (apostrophes)",
-   "twitter": "put your URL here or leave blank",
-   "facebook": "put your URL here or leave blank",
-   "github": "put your URL here or leave blank",
-   "googleplus": "put your URL here or leave blank",
-   "rss": "put your URL here or leave blank",
-   "wordpress": "put your URL here or leave blank"
-  },
-
-  "members": [
-   {"name": "Alex Harui",
- "title": "PMC Chair of Apache Flex",
- "apacheID": "aharui (C+P)",
-"photoURL": "images/headshots/aharui.jpg",
- "url": "http://www.apache.org/alex;,
- "bio": "Alex Harui has been working on the Flex SDK since he joined 
Macromedia in 2002. He is now spending most of his time on a next-generation of 
Flex called FlexJS that cross-compiles MXML and ActionScript into JavaScript so 
your Flex apps can run without Flash and AIR",
- "twitter":"",
- "linkedIn":"",
- "facebook":"",
- "github":"",
- "googleplus":"",
- "rss":""
-},
-
-   {"name": "Carlos Rovira",
- "title": "",
- "apacheID": "carlosrovira",
-"photoURL": "images/headshots/carlosrovira.jpg",
- "url": "http://www.apache.org/carlos;,
- "bio": "Carlos Rovira is a technologist, entrepreneur and businessman. He 
is passionate about advanced web interfaces and rich multi-device business 
applications. He is extremely happy when their applications are useful for 
people, combining functionality and usability. He's founder of various 
companies including carlosrovira.com in 2007 and Codeoscopic in 2009. He's the 
technical leader behind the Riality Flex/JEE Platform and other successful 
insurance software products like Direct Writer and Avant 2",
- "twitter":"http://www.twitter.com/carlosrovira;,
- "linkedIn":"http://es.linkedin.com/in/carlosrovira/;,
- "facebook":"",
- "github":"http://www.github.com/carlosrovira;,
- "googleplus":"https://plus.google.com/115670167046758349523;,
- "rss":"http://www.carlosrovira.com/blog/feed/;
-},
-
-{"name": "Carol Frampton",
- "title": "",
- "apacheID": "cframpton (C+P)",
- "photoURL": "images/headshots/cframpton.jpg",
- "bio": "Carol is a software engineer at Adobe, based outside of Boston.  
She worked on Adobe Flex for about five years - FTE and TLF text with Gordon, 
Spark DataGrid, mirroring and the top bug fixer for the last couple of years - 
then transitioned with Flex to Apache. Release manager for Apache Flex 4.8.0.  
Being a generalist, she's worked on a wide variety of software, including 
ColdFusion and JRun, kernel-level networking code and distributed networking 
software. ",
- "twitter":"",
- "linkedIn":"http://www.linkedin.com/in/carolframpton;,
- "facebook":"",
- "github":"",
- "googleplus":"",
- "rss":""
-},
-
-{"name": "Chema Balsas",
- "title": "",
- "apacheID": "jbalsas (C)",
- "photoURL": "images/headshots/jbalsas.jpg",
- "bio": "Web application developer. Focusing on JS right now and trying to 
help with Falcon and FalconJS as an Apache Flex Commiter.",
- "twitter":"http://www.twitter.com/jbalsas;,
- "linkedIn":"http://www.linkedin.com/in/jbalsas;,
- "facebook":"",
- "github":"http://www.github.com/jbalsas;,
- "googleplus":"https://plus.google.com/109872083963647761639;,
- "rss":""
-},
-
-{"name": "Christofer Dutz",

[02/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - try to copy HTML to Basic without losing history

2016-11-05 Thread cdutz
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/supportClasses/DataGroup.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/supportClasses/DataGroup.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/supportClasses/DataGroup.as
new file mode 100644
index 000..15b6587
--- /dev/null
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/supportClasses/DataGroup.as
@@ -0,0 +1,121 @@
+
+//
+//  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.supportClasses
+{  
+import org.apache.flex.core.IContentView;
+import org.apache.flex.core.IItemRenderer;
+import org.apache.flex.core.IItemRendererParent;
+   import org.apache.flex.core.IRollOverModel;
+   import org.apache.flex.core.ISelectionModel;
+   import org.apache.flex.core.IStrand;
+import org.apache.flex.core.UIBase;
+   import org.apache.flex.events.IEventDispatcher;
+   import org.apache.flex.events.Event;
+   import org.apache.flex.events.ItemAddedEvent;
+   import org.apache.flex.events.ItemClickedEvent;
+   import org.apache.flex.events.ItemRemovedEvent;
+
+/**
+ *  The DataGroup class is the IItemRendererParent used internally
+ *  by org.apache.flex.html.List class.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public class DataGroup extends ContainerContentArea implements 
IItemRendererParent, IContentView
+   {
+/**
+ *  Constructor.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public function DataGroup()
+   {
+   super();
+   }
+   
+   /**
+* @private
+*/
+   override public function addElement(c:Object, 
dispatchEvent:Boolean = true):void
+   {
+   super.addElement(c, dispatchEvent);
+   
+   var newEvent:ItemAddedEvent = new 
ItemAddedEvent("itemAdded");
+   newEvent.item = c;
+   
+   var strand:IEventDispatcher = parent as 
IEventDispatcher;
+   strand.dispatchEvent(newEvent);
+   }
+   
+   /**
+* @private
+*/
+   override public function removeElement(c:Object, 
dispatchEvent:Boolean = true):void
+   {   
+   super.removeElement(c, dispatchEvent);
+   
+   var newEvent:ItemRemovedEvent = new 
ItemRemovedEvent("itemRemoved");
+   newEvent.item = c;
+   
+   var strand:IEventDispatcher = parent as 
IEventDispatcher;
+   strand.dispatchEvent(newEvent);
+   }
+
+/**
+ *  @copy 
org.apache.flex.core.IItemRendererParent#getItemRendererForIndex()
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+public function getItemRendererForIndex(index:int):IItemRenderer
+{
+   if (index < 0 || index >= numElements) return null;
+return getElementAt(index) as IItemRenderer;
+}
+   
+   /**
+*  Refreshes the itemRenderers. Useful after a size change by 
the data group.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+*/
+

[20/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - move ContainerBase Graphics classes

2016-11-05 Thread cdutz
move ContainerBase Graphics classes


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 6fee345f119756d032d3ce36911e13f8f80cb368
Parents: f241391
Author: Alex Harui 
Authored: Thu Oct 27 22:13:22 2016 -0700
Committer: Alex Harui 
Committed: Tue Nov 1 07:46:53 2016 -0700

--
 .../main/flex/org/apache/flex/svg/DOMWrapper.as |  56 -
 .../org/apache/flex/svg/GraphicContainer.as | 209 ---
 .../main/flex/org/apache/flex/svg/DOMWrapper.as |  56 +
 .../org/apache/flex/svg/GraphicContainer.as | 209 +++
 4 files changed, 265 insertions(+), 265 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6fee345f/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/DOMWrapper.as
--
diff --git 
a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/DOMWrapper.as 
b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/DOMWrapper.as
deleted file mode 100644
index 7bb20ff..000
--- 
a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/DOMWrapper.as
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * Licensed 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.svg
-{
-  COMPILE::JS
-{
-import org.apache.flex.core.WrappedHTMLElement;
-}
-
-   import org.apache.flex.core.ContainerBase;
-
-   public class DOMWrapper extends ContainerBase
-   {
-
-   /**
-* Constructor
-*
-* @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
-*/
-public function DOMWrapper()
-{
-   super();
-}
-   
-   /**
-* @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
-*/
-   COMPILE::JS
-   override protected function createElement():WrappedHTMLElement
-   {
-   element = 
document.createElementNS('http://www.w3.org/2000/svg', 'foreignObject') as 
WrappedHTMLElement;
-   element.flexjs_wrapper = this;
-   element.style.left = 0;
-   element.style.top = 0;
-   //element.offsetParent = null;
-   positioner = element;
-   positioner.style.position = 'relative';
-   
-   return element;
-   }
-
-
-   }
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6fee345f/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/GraphicContainer.as
--
diff --git 
a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/GraphicContainer.as
 
b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/GraphicContainer.as
deleted file mode 100644
index 709d6ea..000
--- 
a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/GraphicContainer.as
+++ /dev/null
@@ -1,209 +0,0 @@
-/**
- * Licensed 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.svg
-{
-import org.apache.flex.core.ContainerBase;
-import org.apache.flex.core.IChild;
-import org.apache.flex.core.IFlexJSElement;
-import org.apache.flex.core.ITransformHost;
-
-   COMPILE::JS
-   {
-   import org.apache.flex.core.IContainer;
-   import 

[36/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - clean build after merge and fork

2016-11-05 Thread cdutz
clean build after merge and fork


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: fdc2a4c2386494f980d35ba7091a9d7f345ddcb1
Parents: ef2b90a
Author: Alex Harui 
Authored: Mon Oct 31 21:42:38 2016 -0700
Committer: Alex Harui 
Committed: Tue Nov 1 08:12:11 2016 -0700

--
 frameworks/build.xml|   2 +-
 .../Basic/src/main/flex/BasicClasses.as |   5 +-
 .../flex/org/apache/flex/core/Application.as|  46 ++--
 .../org/apache/flex/core/FilledRectangle.as |   2 +-
 .../org/apache/flex/core/HTMLElementWrapper.as  | 265 +++
 .../main/flex/org/apache/flex/core/ImageBase.as |  84 ++
 .../main/flex/org/apache/flex/core/UIBase.as|  51 +++-
 .../flex/org/apache/flex/core/UIButtonBase.as   |  17 +-
 .../src/main/flex/org/apache/flex/html/Image.as |   8 +-
 .../org/apache/flex/html/beads/ComboBoxView.as  |   3 +-
 .../org/apache/flex/html/beads/ContainerView.as |  11 +-
 .../apache/flex/html/beads/DropDownListView.as  |   3 +-
 .../org/apache/flex/html/beads/ImageView.as | 181 +
 .../apache/flex/html/beads/SliderThumbView.as   |   2 +-
 .../apache/flex/html/beads/WebBrowserView.as|   2 +-
 .../flex/html/beads/layouts/HorizontalLayout.as |   3 +-
 .../apache/flex/html/beads/models/ImageModel.as |  12 +-
 .../html/supportClasses/ContainerContentArea.as |   5 +-
 .../flex/html/supportClasses/DataGroup.as   |   5 +-
 .../html/supportClasses/ScrollingViewport.as|   5 +-
 .../supportClasses/TextFieldItemRenderer.as |  16 ++
 .../flex/org/apache/flex/svg/BinaryImage.as |  87 ++
 .../org/apache/flex/svg/GraphicContainer.as |   4 +-
 .../flex/org/apache/flex/svg/GraphicShape.as|   6 +-
 .../src/main/flex/org/apache/flex/svg/Image.as  | 133 ++
 .../flex/org/apache/flex/svg/beads/ImageView.as |  87 ++
 .../projects/Core/src/main/flex/CoreClasses.as  |   7 +
 .../flex/org/apache/flex/core/IFlexJSElement.as |   4 +-
 .../flex/org/apache/flex/core/ImageViewBase.as  |  23 +-
 .../org/apache/flex/core/WrappedMovieClip.as|   6 +-
 .../flex/org/apache/flex/core/WrappedShape.as   |   6 +-
 .../org/apache/flex/core/WrappedSimpleButton.as |   6 +-
 .../flex/org/apache/flex/core/WrappedSprite.as  |   6 +-
 .../org/apache/flex/core/WrappedTextField.as|   6 +-
 .../projects/HTML/src/main/flex/HTMLClasses.as  |   5 +-
 .../flex/org/apache/flex/core/Application.as|   4 +-
 .../main/flex/org/apache/flex/core/UIBase.as|   3 +-
 37 files changed, 847 insertions(+), 274 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fdc2a4c2/frameworks/build.xml
--
diff --git a/frameworks/build.xml b/frameworks/build.xml
index 65d06f7..ec3b6ff 100644
--- a/frameworks/build.xml
+++ b/frameworks/build.xml
@@ -81,7 +81,6 @@
 
 
 
-
 
 
 
@@ -97,6 +96,7 @@
 
 
 
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fdc2a4c2/frameworks/projects/Basic/src/main/flex/BasicClasses.as
--
diff --git a/frameworks/projects/Basic/src/main/flex/BasicClasses.as 
b/frameworks/projects/Basic/src/main/flex/BasicClasses.as
index e63e9de..69fb902 100644
--- a/frameworks/projects/Basic/src/main/flex/BasicClasses.as
+++ b/frameworks/projects/Basic/src/main/flex/BasicClasses.as
@@ -54,7 +54,7 @@ internal class BasicClasses
import org.apache.flex.html.beads.DropDownListView; 
DropDownListView;
import org.apache.flex.html.beads.CloseButtonView; 
CloseButtonView;
import org.apache.flex.html.beads.ImageAndTextButtonView; 
ImageAndTextButtonView;
-   import org.apache.flex.html.beads.ImageView; ImageView;
+   import org.apache.flex.html.beads.ImageView; 
org.apache.flex.html.beads.ImageView;
}
import org.apache.flex.html.beads.ImageButtonView; ImageButtonView;
import org.apache.flex.html.beads.ListView; ListView;
@@ -194,6 +194,9 @@ internal class BasicClasses
import org.apache.flex.svg.Rect; Rect;
import org.apache.flex.svg.Ellipse; Ellipse;
import org.apache.flex.svg.Circle; Circle;
+   import org.apache.flex.svg.Image; Image;
+   import org.apache.flex.svg.BinaryImage; BinaryImage;
+   import org.apache.flex.svg.beads.ImageView; 
org.apache.flex.svg.beads.ImageView;
import org.apache.flex.svg.Path; 

[34/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - move a few more Graphics classes to HTML

2016-11-05 Thread cdutz
move a few more Graphics classes to 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/e020ba83
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/e020ba83
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/e020ba83

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: e020ba837067597d9ff97f828214c359455af13b
Parents: c60efc6
Author: Alex Harui 
Authored: Mon Oct 31 09:23:03 2016 -0700
Committer: Alex Harui 
Committed: Tue Nov 1 08:02:15 2016 -0700

--
 .../flex/org/apache/flex/svg/BinaryImage.as |  87 
 .../src/main/flex/org/apache/flex/svg/Image.as  | 133 ---
 .../flex/org/apache/flex/svg/beads/ImageView.as |  87 
 .../flex/org/apache/flex/svg/BinaryImage.as |  87 
 .../src/main/flex/org/apache/flex/svg/Image.as  | 133 +++
 .../flex/org/apache/flex/svg/beads/ImageView.as |  87 
 6 files changed, 307 insertions(+), 307 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e020ba83/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/BinaryImage.as
--
diff --git 
a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/BinaryImage.as 
b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/BinaryImage.as
deleted file mode 100644
index c03793c..000
--- 
a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/BinaryImage.as
+++ /dev/null
@@ -1,87 +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.svg
-{
-   import org.apache.flex.core.IBinaryImage;
-   import org.apache.flex.core.IBinaryImageModel;
-   import org.apache.flex.core.ValuesManager;
-   import org.apache.flex.core.IBinaryImageLoader;
-   import org.apache.flex.utils.BinaryData;
-
-   /**
-*  The Image class is a component that displays a bitmap. The Image 
uses
-*  the following beads:
-* 
-*  org.apache.flex.core.IBeadModel: the data model for the Image, 
including the url/binary property.
-*  org.apache.flex.core.IBeadView: constructs the visual elements of 
the component.
-*  
-*  @langversion 3.0
-*  @playerversion Flash 10.2
-*  @playerversion AIR 2.6
-*  @productversion FlexJS 0.0
-*/
-   public class BinaryImage extends Image implements IBinaryImage
-   {
-   /**
-*  constructor.
-*
-*  @langversion 3.0
-*  @playerversion Flash 10.2
-*  @playerversion AIR 2.6
-*  @productversion FlexJS 0.0
-*/
-   public function BinaryImage()
-   {
-   super();
-   }
-   
-   override public function addedToParent():void
-   {
-   var c:Class = ValuesManager.valuesImpl.getValue(this, 
"iBinaryImageLoader") as Class;
-   if (c)
-   {
-   if (c)
-   {
-   var loader:IBinaryImageLoader = (new 
c()) as IBinaryImageLoader;
-   addBead(loader);
-   }
-   }
-   super.addedToParent();
-   }
-   
-   /**
-*  The binary bitmap data.
-*
-*  @langversion 3.0
-*  @playerversion Flash 10.2
-*  @playerversion AIR 2.6
-*  @productversion FlexJS 0.0
- *  @flexjsignorecoercion 

[30/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - move ImageBase to HTML

2016-11-05 Thread cdutz
move ImageBase to 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/ef2b90a1
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/ef2b90a1
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/ef2b90a1

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: ef2b90a1022989dc923fb610461f4714120f555d
Parents: e020ba8
Author: Alex Harui 
Authored: Mon Oct 31 09:32:05 2016 -0700
Committer: Alex Harui 
Committed: Tue Nov 1 08:02:15 2016 -0700

--
 .../main/flex/org/apache/flex/core/ImageBase.as | 84 
 .../main/flex/org/apache/flex/core/ImageBase.as | 84 
 2 files changed, 84 insertions(+), 84 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ef2b90a1/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ImageBase.as
--
diff --git 
a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ImageBase.as 
b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ImageBase.as
deleted file mode 100644
index 71454a7..000
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ImageBase.as
+++ /dev/null
@@ -1,84 +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.core
-{
-   import org.apache.flex.core.IImage;
-   import org.apache.flex.core.IImageModel;
-   import org.apache.flex.core.UIBase;
-   
-   /**
-*  The ImageBase class serves as a base class for components that 
displays a bitmap. The Image uses
-*  the following beads:
-* 
-*  org.apache.flex.core.IBeadModel: the data model for the Image, 
including the url/binary property.
-*  org.apache.flex.core.IBeadView: constructs the visual elements of 
the component.
-*  
-*  @langversion 3.0
-*  @playerversion Flash 10.2
-*  @playerversion AIR 2.6
-*  @productversion FlexJS 0.0
-*/
-   public class ImageBase extends UIBase implements IImage
-   {
-   /**
-*  constructor.
-*
-*  @langversion 3.0
-*  @playerversion Flash 10.2
-*  @playerversion AIR 2.6
-*  @productversion FlexJS 0.0
-*/
-   public function ImageBase()
-   {
-   super();
-   }
-   
-   /**
-*  The location of the bitmap, usually a URL.
-*
-*  @langversion 3.0
-*  @playerversion Flash 10.2
-*  @playerversion AIR 2.6
-*  @productversion FlexJS 0.0
- *  @flexjsignorecoercion org.apache.flex.core.IImageModel
-*/
-   public function get url():String
-   {
-   return (model as IImageModel).url;
-   }
-   public function set url(value:String):void
-   {
-   (model as IImageModel).url = value;
-   }
-   
-   COMPILE::JS
-   public function get imageElement():Element
-   {
-   return null;
-   // override this
-   }
-   
-   COMPILE::JS
-   public function applyImageData(binaryDataAsString:String):void
-   {
-   // override this
-   }
-   
-   }
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ef2b90a1/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ImageBase.as
--
diff --git 

[38/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - Created MXMLItemRenderer, a new base class for MXML-based item renderers. Created new protocol, ILayoutParen

2016-11-05 Thread cdutz
Created MXMLItemRenderer, a new base class for MXML-based item renderers. 
Created new protocol, ILayoutParent, to support using layouts in components 
other than Container.


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 5f8b1654fe44fdc6821c3666a5d112648b1e9be0
Parents: 4c78873
Author: Peter Ent 
Authored: Tue Nov 1 15:26:28 2016 -0400
Committer: Peter Ent 
Committed: Tue Nov 1 15:26:28 2016 -0400

--
 .../projects/Core/src/main/flex/CoreClasses.as  |  1 +
 .../flex/org/apache/flex/core/ILayoutParent.as  | 34 +
 .../main/flex/org/apache/flex/core/ListBase.as  | 11 ++-
 .../main/flex/org/apache/flex/core/ViewBase.as  | 16 -
 .../main/flex/org/apache/flex/html/Container.as |  9 ++-
 .../DataItemRendererFactoryForArrayData.as  |  3 +-
 .../DataItemRendererFactoryForArrayList.as  |  2 +-
 .../DataItemRendererFactoryForColumnData.as |  2 +-
 .../flex/html/beads/layouts/BasicLayout.as  |  7 +-
 .../FlexibleFirstChildHorizontalLayout.as   |  5 +-
 .../flex/html/beads/layouts/HorizontalLayout.as |  6 +-
 .../layouts/OneFlexibleChildHorizontalLayout.as |  6 +-
 .../layouts/OneFlexibleChildVerticalLayout.as   |  5 +-
 .../flex/html/beads/layouts/TileLayout.as   |  9 +--
 .../html/beads/layouts/VerticalColumnLayout.as  |  5 +-
 .../flex/html/beads/layouts/VerticalLayout.as   |  5 +-
 .../html/supportClasses/MXMLItemRenderer.as | 72 
 .../html/supportClasses/UIItemRendererBase.as   |  7 +-
 .../HTML/src/main/resources/basic-manifest.xml  |  1 +
 19 files changed, 182 insertions(+), 24 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5f8b1654/frameworks/projects/Core/src/main/flex/CoreClasses.as
--
diff --git a/frameworks/projects/Core/src/main/flex/CoreClasses.as 
b/frameworks/projects/Core/src/main/flex/CoreClasses.as
index 3e86f1c..232c9b3 100644
--- a/frameworks/projects/Core/src/main/flex/CoreClasses.as
+++ b/frameworks/projects/Core/src/main/flex/CoreClasses.as
@@ -62,6 +62,7 @@ internal class CoreClasses
 import org.apache.flex.core.IItemRendererProvider; IItemRendererProvider;
 import org.apache.flex.core.ILayoutChild; ILayoutChild;
import org.apache.flex.core.ILayoutHost; ILayoutHost;
+   import org.apache.flex.core.ILayoutParent; ILayoutParent;
 import org.apache.flex.core.IListPresentationModel; IListPresentationModel;
 import org.apache.flex.core.IPanelModel; IPanelModel;
 import org.apache.flex.core.IParent; IParent;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5f8b1654/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ILayoutParent.as
--
diff --git 
a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ILayoutParent.as 
b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ILayoutParent.as
new file mode 100644
index 000..1e6c9bd
--- /dev/null
+++ 
b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ILayoutParent.as
@@ -0,0 +1,34 @@
+
+//
+//  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.core
+{
+/**
+ *  The ILayoutParent interface is implemented by those components 
+*  that allow their children to be manipulated by a layout.
+ * 
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public interface ILayoutParent
+   {
+function getLayoutHost():ILayoutHost;
+   }
+}


[23/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - move more UIBase to HTML

2016-11-05 Thread cdutz
move more UIBase to 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/7af78c10
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/7af78c10
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/7af78c10

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 7af78c10981886b14f7f067b5083b756beccad86
Parents: 6622b25
Author: Alex Harui 
Authored: Fri Oct 28 23:17:40 2016 -0700
Committer: Alex Harui 
Committed: Tue Nov 1 07:55:20 2016 -0700

--
 .../src/main/flex/org/apache/flex/svg/Circle.as | 119 
 .../flex/org/apache/flex/svg/CompoundGraphic.as | 584 ---
 .../main/flex/org/apache/flex/svg/Ellipse.as| 171 --
 .../flex/org/apache/flex/svg/GraphicShape.as| 233 
 .../src/main/flex/org/apache/flex/svg/Path.as   | 133 -
 .../src/main/flex/org/apache/flex/svg/Rect.as   | 156 -
 .../src/main/flex/org/apache/flex/svg/Text.as   | 150 -
 .../src/main/flex/org/apache/flex/svg/Circle.as | 119 
 .../flex/org/apache/flex/svg/CompoundGraphic.as | 584 +++
 .../main/flex/org/apache/flex/svg/Ellipse.as| 171 ++
 .../flex/org/apache/flex/svg/GraphicShape.as| 233 
 .../src/main/flex/org/apache/flex/svg/Path.as   | 133 +
 .../src/main/flex/org/apache/flex/svg/Rect.as   | 156 +
 .../src/main/flex/org/apache/flex/svg/Text.as   | 150 +
 14 files changed, 1546 insertions(+), 1546 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7af78c10/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/Circle.as
--
diff --git 
a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/Circle.as 
b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/Circle.as
deleted file mode 100644
index 07cc3d5..000
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/Circle.as
+++ /dev/null
@@ -1,119 +0,0 @@
-/**
- * Licensed 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.svg
-{
-   import org.apache.flex.graphics.ICircle;
-
-COMPILE::SWF
-{
-import flash.display.Graphics;
-import flash.geom.Point;
-import flash.geom.Rectangle;
-}
-COMPILE::JS
-{
-import org.apache.flex.core.WrappedHTMLElement;
-}
-
-public class Circle extends GraphicShape implements ICircle
-{
-   /**
-*  constructor.
-*
-*  @langversion 3.0
-*  @playerversion Flash 10.2
-*  @playerversion AIR 2.6
-*  @productversion FlexJS 0.7
-*/
-public function Circle(cx:Number=0, cy:Number=0, r:Number=0)
-{
-x = cx;
-y = cy;
-radius = r;
-}
-
-private var _radius:Number;
-
-public function get radius():Number
-{
-return _radius;
-}
-
-public function set radius(value:Number):void
-{
-_radius = value;
-}
-
-COMPILE::JS
-private var _circle:WrappedHTMLElement;
-
-/**
- *  Draw the circle.
- *  @param cx The x location of the center of the circle
- *  @param cy The y location of the center of the circle.
- *  @param radius The radius of the circle.
- *
- *  @langversion 3.0
- *  @playerversion Flash 10.2
- *  @playerversion AIR 2.6
- *  @productversion FlexJS 0.0
- *  @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
- *  @flexjsignorecoercion SVGCircleElement
- */
-public function drawCircle(cx:Number, cy:Number, radius):void
-{
-COMPILE::SWF
-{
-$sprite.graphics.clear();
-applyStroke();
-beginFill(new Rectangle(cx,cy,radius*2, radius*2),new 
Point(cx-radius,cy-radius));
-$sprite.graphics.drawCircle(cx+radius,cy+radius,radius);
-endFill();
-}
-COMPILE::JS
-{
-var style:String = getStyleStr();
-
-  

[05/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - try to copy HTML to Basic without losing history

2016-11-05 Thread cdutz
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/BasicLayout.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/BasicLayout.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/BasicLayout.as
new file mode 100644
index 000..b566354
--- /dev/null
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/BasicLayout.as
@@ -0,0 +1,445 @@
+
+//
+//  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.beads.layouts
+{
+   
+   import org.apache.flex.core.IBeadLayout;
+   import org.apache.flex.core.ILayoutChild;
+   import org.apache.flex.core.ILayoutHost;
+   import org.apache.flex.core.IParentIUIBase;
+   import org.apache.flex.core.IStrand;
+   import org.apache.flex.core.IUIBase;
+import org.apache.flex.core.UIBase;
+   import org.apache.flex.core.ValuesManager;
+   import org.apache.flex.events.Event;
+   import org.apache.flex.events.IEventDispatcher;
+import org.apache.flex.utils.CSSUtils;
+   //import org.apache.flex.utils.dbg.DOMPathUtil;
+
+/**
+ *  The BasicLayout class is a simple layout
+ *  bead.  It takes the set of children and lays them out
+ *  as specified by CSS properties like left, right, top
+ *  and bottom.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public class BasicLayout implements IBeadLayout
+   {
+/**
+ *  Constructor.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public function BasicLayout()
+   {
+   }
+   
+// the strand/host container is also an ILayoutChild because
+// can have its size dictated by the host's parent which is
+// important to know for layout optimization
+private var host:ILayoutChild;
+   
+/**
+ *  @copy org.apache.flex.core.IBead#strand
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public function set strand(value:IStrand):void
+   {
+host = value as ILayoutChild;
+   }
+   
+/**
+ * @copy org.apache.flex.core.IBeadLayout#layout
+* @flexjsignorecoercion org.apache.flex.core.ILayoutHost
+* @flexjsignorecoercion org.apache.flex.core.UIBase
+ */
+   public function layout():Boolean
+   {
+COMPILE::SWF
+{
+//trace(DOMPathUtil.getPath(host), event ? event.type : "fixed 
size");
+var layoutParent:ILayoutHost = host.getBeadByType(ILayoutHost) 
as ILayoutHost;
+var contentView:IParentIUIBase = layoutParent ? 
layoutParent.contentView : IParentIUIBase(host);
+
+var gotMargin:Boolean;
+var marginLeft:Object;
+var marginRight:Object;
+var marginTop:Object;
+var marginBottom:Object;
+var margin:Object;
+var ml:Number;
+var mr:Number;
+var mt:Number;
+var mb:Number;
+var hostWidthSizedToContent:Boolean = 
host.isWidthSizedToContent();
+var hostHeightSizedToContent:Boolean = 
host.isHeightSizedToContent();
+var w:Number = hostWidthSizedToContent ? 0 : contentView.width;
+var h:Number = hostHeightSizedToContent ? 0 : 
contentView.height;
+var n:int 

[18/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - move implementation classes to HTML so variants can exist in other SWCs

2016-11-05 Thread cdutz
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/efd9dcad/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ContainerBase.as
--
diff --git 
a/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ContainerBase.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ContainerBase.as
new file mode 100644
index 000..047b635
--- /dev/null
+++ 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ContainerBase.as
@@ -0,0 +1,453 @@
+
+//
+//  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.core
+{
+   import org.apache.flex.core.IMXMLDocument;
+   import org.apache.flex.core.ValuesManager;
+   import org.apache.flex.events.Event;
+   import org.apache.flex.events.ValueChangeEvent;
+   import org.apache.flex.states.State;
+   import org.apache.flex.utils.MXMLDataInterpreter;
+
+/**
+ *  Indicates that the state change has completed.  All properties
+ *  that need to change have been changed, and all transitinos
+ *  that need to run have completed.  However, any deferred work
+ *  may not be completed, and the screen may not be updated until
+ *  code stops executing.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+[Event(name="stateChangeComplete", type="org.apache.flex.events.Event")]
+
+/**
+ *  Indicates that the initialization of the container is complete.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+[Event(name="initComplete", type="org.apache.flex.events.Event")]
+
+/**
+ *  Indicates that the children of the container is have been added.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+[Event(name="childrenAdded", type="org.apache.flex.events.Event")]
+
+   [DefaultProperty("mxmlContent")]
+
+/**
+ *  The ContainerBase class is the base class for most containers
+ *  in FlexJS.  It is usable as the root tag of MXML
+ *  documents and UI controls and containers are added to it.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public class ContainerBase extends UIBase implements IMXMLDocument, 
IStatesObject, IContainer, IContentViewHost
+   {
+/**
+ *  Constructor.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public function ContainerBase()
+   {
+   super();
+
+   _strandChildren = new ContainerBaseStrandChildren(this);
+   }
+   
+   private var _strandChildren:ContainerBaseStrandChildren;
+   
+   /**
+* @private
+*/
+   public function get strandChildren():IParent
+   {
+   return _strandChildren;
+   }
+
+/**
+ *  @copy org.apache.flex.core.IParent#getElementAt()
+ * 
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+override public function getElementAt(index:int):IChild
+{
+var contentView:IParent = view as IParent;
+if (contentView != null) {
+return contentView.getElementAt(index);
+} else {
+return super.getElementAt(index);
+}
+}
+
+/**
+ *  @private
+ */
+override public 

[41/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - fix up after merge

2016-11-05 Thread cdutz
fix up after merge


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: e42e19a24ed9bbe98f715b004f5fe351ff51dc1a
Parents: 661fb35
Author: Alex Harui 
Authored: Wed Nov 2 08:13:21 2016 -0700
Committer: Alex Harui 
Committed: Wed Nov 2 08:13:21 2016 -0700

--
 .../HTML/src/main/flex/org/apache/flex/core/ListBase.as   | 10 +-
 .../HTML/src/main/flex/org/apache/flex/core/ViewBase.as   | 10 +-
 2 files changed, 18 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e42e19a2/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ListBase.as
--
diff --git 
a/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ListBase.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ListBase.as
index f9c0aaa..3487822 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ListBase.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ListBase.as
@@ -34,7 +34,7 @@ package org.apache.flex.core
  *  @playerversion AIR 2.6
  *  @productversion FlexJS 0.0
  */
-   public class ListBase extends UIBase implements IContentViewHost
+   public class ListBase extends UIBase implements IContentViewHost, 
ILayoutParent
{
 /**
  *  Constructor.
@@ -63,6 +63,14 @@ package org.apache.flex.core

/**
 * @private
+*/
+   public function getLayoutHost():ILayoutHost
+   {
+   return view as ILayoutHost; 
+   }
+   
+   /**
+* @private
  * @suppress {undefinedNames}
 * Support strandChildren.
 */

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e42e19a2/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ViewBase.as
--
diff --git 
a/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ViewBase.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ViewBase.as
index 7e4b65e..f058c4a 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ViewBase.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ViewBase.as
@@ -48,7 +48,7 @@ package org.apache.flex.core
  *  @playerversion AIR 2.6
  *  @productversion FlexJS 0.0
  */
-   public class ViewBase extends ContainerBase implements IPopUpHost, 
IApplicationView
+   public class ViewBase extends ContainerBase implements IPopUpHost, 
IApplicationView, ILayoutParent
{
 /**
  *  Constructor.
@@ -93,5 +93,13 @@ package org.apache.flex.core
 dispatchEvent(new Event("modelChanged"));
 }
 
+   /**
+* @private
+*/
+   public function getLayoutHost():ILayoutHost
+   {
+   return view as ILayoutHost; 
+   }
+
 }
 }



[42/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - API name changed

2016-11-05 Thread cdutz
API name changed


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: e6a4493f057d9cff766a74105d5debb42592ac88
Parents: e42e19a
Author: Alex Harui 
Authored: Wed Nov 2 10:53:30 2016 -0700
Committer: Alex Harui 
Committed: Wed Nov 2 10:53:30 2016 -0700

--
 examples/flexjs/MobileStocks/src/MyInitialView.mxml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e6a4493f/examples/flexjs/MobileStocks/src/MyInitialView.mxml
--
diff --git a/examples/flexjs/MobileStocks/src/MyInitialView.mxml 
b/examples/flexjs/MobileStocks/src/MyInitialView.mxml
index b6853e2..5286e2c 100755
--- a/examples/flexjs/MobileStocks/src/MyInitialView.mxml
+++ b/examples/flexjs/MobileStocks/src/MyInitialView.mxml
@@ -233,7 +233,7 @@ limitations under the License.



-   
+   






[26/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - move UIBase and UIButtonBase

2016-11-05 Thread cdutz
move UIBase and UIButtonBase


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 975d3f34f058cf3fd79302a6e7037c5e29f7ac84
Parents: 87ee711
Author: Alex Harui 
Authored: Fri Oct 28 08:06:04 2016 -0700
Committer: Alex Harui 
Committed: Tue Nov 1 07:55:20 2016 -0700

--
 .../main/flex/org/apache/flex/core/UIBase.as| 1401 --
 .../flex/org/apache/flex/core/UIButtonBase.as   |  792 --
 .../main/flex/org/apache/flex/core/UIBase.as| 1401 ++
 .../flex/org/apache/flex/core/UIButtonBase.as   |  792 ++
 4 files changed, 2193 insertions(+), 2193 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/975d3f34/frameworks/projects/Core/src/main/flex/org/apache/flex/core/UIBase.as
--
diff --git 
a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/UIBase.as 
b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/UIBase.as
deleted file mode 100644
index 0e4a988..000
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/UIBase.as
+++ /dev/null
@@ -1,1401 +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.core
-{
-COMPILE::SWF
-{
-import flash.display.DisplayObject;
-import flash.display.Sprite;
-import flash.display.Stage;
-}
-   
-   import org.apache.flex.events.Event;
-   import org.apache.flex.events.IEventDispatcher;
-   import org.apache.flex.events.MouseEvent;
-   import org.apache.flex.events.ValueChangeEvent;
-   import org.apache.flex.events.utils.MouseEventConverter;
-   COMPILE::SWF {
-   import flash.display.InteractiveObject;
-   }
-   
-   /**
-*  Set a different class for click events so that
-*  there aren't dependencies on the flash classes
-*  on the JS side.
-*  
-*  @langversion 3.0
-*  @playerversion Flash 10.2
-*  @playerversion AIR 2.6
-*  @productversion FlexJS 0.0
-*/
-   [Event(name="click", type="org.apache.flex.events.MouseEvent")]
-   
-/**
- *  Set a different class for rollOver events so that
- *  there aren't dependencies on the flash classes
- *  on the JS side.
- *  
- *  @langversion 3.0
- *  @playerversion Flash 10.2
- *  @playerversion AIR 2.6
- *  @productversion FlexJS 0.0
- */
-[Event(name="rollOver", type="org.apache.flex.events.MouseEvent")]
-
-/**
- *  Set a different class for rollOut events so that
- *  there aren't dependencies on the flash classes
- *  on the JS side.
- *  
- *  @langversion 3.0
- *  @playerversion Flash 10.2
- *  @playerversion AIR 2.6
- *  @productversion FlexJS 0.0
- */
-[Event(name="rollOut", type="org.apache.flex.events.MouseEvent")]
-
-/**
- *  Set a different class for mouseDown events so that
- *  there aren't dependencies on the flash classes
- *  on the JS side.
- *  
- *  @langversion 3.0
- *  @playerversion Flash 10.2
- *  @playerversion AIR 2.6
- *  @productversion FlexJS 0.0
- */
-[Event(name="mouseDown", type="org.apache.flex.events.MouseEvent")]
-
-/**
- *  Set a different class for mouseUp events so that
- *  there aren't dependencies on the flash classes
- *  on the JS side.
- *  
- *  @langversion 3.0
- *  @playerversion Flash 10.2
- *  @playerversion AIR 2.6
- *  @productversion FlexJS 0.0
- */
-

[08/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - try to copy HTML to Basic without losing history

2016-11-05 Thread cdutz
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/RadioButtonView.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/RadioButtonView.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/RadioButtonView.as
new file mode 100644
index 000..245c3d3
--- /dev/null
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/RadioButtonView.as
@@ -0,0 +1,281 @@
+
+//
+//  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.beads
+{
+   import flash.display.Shape;
+   import flash.display.SimpleButton;
+   import flash.display.Sprite;
+   import flash.text.TextFieldAutoSize;
+   import flash.text.TextFieldType;
+   
+import org.apache.flex.core.BeadViewBase;
+   import org.apache.flex.core.CSSTextField;
+   import org.apache.flex.core.IBeadView;
+   import org.apache.flex.core.IStrand;
+   import org.apache.flex.core.IValueToggleButtonModel;
+   import org.apache.flex.events.Event;
+   
+   /**
+*  The RadioButtonView class creates the visual elements of the 
org.apache.flex.html.RadioButton 
+*  component. 
+*  
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public class RadioButtonView extends BeadViewBase implements IBeadView
+   {
+   /**
+*  constructor.
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public function RadioButtonView()
+   {
+   sprites = [ upSprite = new Sprite(),
+   downSprite = new Sprite(),
+   overSprite = new Sprite(),
+   upAndSelectedSprite = new 
Sprite(),
+   downAndSelectedSprite = new 
Sprite(),
+   overAndSelectedSprite = new 
Sprite() ];
+   
+   for each( var s:Sprite in sprites )
+   {
+   var tf:CSSTextField = new CSSTextField();
+   tf.type = TextFieldType.DYNAMIC;
+   tf.autoSize = TextFieldAutoSize.LEFT;
+   tf.name = "textField";
+   var icon:Shape = new Shape();
+   icon.name = "icon";
+   s.addChild(icon);
+   s.addChild(tf);
+   }
+   }
+   
+   private var upSprite:Sprite;
+   private var downSprite:Sprite;
+   private var overSprite:Sprite;
+   private var upAndSelectedSprite:Sprite;
+   private var downAndSelectedSprite:Sprite;
+   private var overAndSelectedSprite:Sprite;
+   
+   private var sprites:Array;
+   
+   private var _toggleButtonModel:IValueToggleButtonModel;
+   
+   /**
+*  The model used for the RadioButton.
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public function get toggleButtonModel() : 
IValueToggleButtonModel
+   {
+   return _toggleButtonModel;
+   }
+   
+   /**
+*  @copy 

[13/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - try to copy HTML to Basic without losing history

2016-11-05 Thread cdutz
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/MXMLBeadView.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/MXMLBeadView.as 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/MXMLBeadView.as
new file mode 100644
index 000..1807381
--- /dev/null
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/MXMLBeadView.as
@@ -0,0 +1,317 @@
+
+//
+//  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.states.State;
+   
+   import org.apache.flex.core.IBead;
+import org.apache.flex.core.ILayoutHost;
+import org.apache.flex.core.IParent;
+   import org.apache.flex.core.IParentIUIBase;
+   import org.apache.flex.core.IStrand;
+import org.apache.flex.core.IStatesImpl;
+   import org.apache.flex.core.ValuesManager;
+import org.apache.flex.html.beads.ContainerView;
+   import org.apache.flex.events.Event;
+   import org.apache.flex.events.ValueChangeEvent;
+   import org.apache.flex.utils.MXMLDataInterpreter;
+
+[DefaultProperty("mxmlContent")]
+
+/**
+ *  The MXMLBeadView class extends ContainerView
+ *  and adds support for databinding and specification
+ *  of children in MXML.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public class MXMLBeadView extends ContainerView implements IStrand, 
ILayoutHost
+   {
+/**
+ *  Constructor.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public function MXMLBeadView()
+   {
+   super();
+   }
+   
+[Bindable("strandChanged")]
+/**
+ *  An MXMLBeadView doesn't create its children until it is added to
+ *  the strand.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+override public function set strand(value:IStrand):void
+{
+super.strand = value;
+// each MXML file can also have styles in fx:Style block
+ValuesManager.valuesImpl.init(this);
+
+dispatchEvent(new Event("strandChanged"));  
+
+for each (var bead:IBead in beads)
+addBead(bead);
+
+dispatchEvent(new org.apache.flex.events.Event("beadsAdded"));
+
+MXMLDataInterpreter.generateMXMLInstances(this, IParent(value), 
MXMLDescriptor);
+
+dispatchEvent(new Event("initBindings"))
+dispatchEvent(new Event("initComplete"))
+dispatchEvent(new Event("childrenAdded"));
+}
+
+[Bindable("__NoChangeEvent__")]
+/**
+ *  The model object.
+ */
+public function get model():Object
+{
+return _strand["model"];
+}
+
+/**
+ *  @copy org.apache.flex.core.Application#MXMLDescriptor
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+public function get MXMLDescriptor():Array
+{
+return null;
+}
+
+/**
+ *  @copy org.apache.flex.core.Application#generateMXMLAttributes()
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+public function generateMXMLAttributes(data:Array):void
+{
+

[14/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - try to copy HTML to Basic without losing history

2016-11-05 Thread cdutz
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/ComboBox.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/ComboBox.as 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/ComboBox.as
new file mode 100644
index 000..fa91fec
--- /dev/null
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/ComboBox.as
@@ -0,0 +1,277 @@
+
+//
+//  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.IComboBoxModel;
+   import org.apache.flex.core.UIBase;
+   import org.apache.flex.events.Event;
+
+COMPILE::JS
+{
+import goog.events;
+import org.apache.flex.core.WrappedHTMLElement;
+}
+   
+   [Event(name="change", type="org.apache.flex.events.Event")]
+   
+   /**
+*  The ComboBox class is a component that displays an input field and
+*  pop-up List with selections. Selecting an item from the pop-up List
+*  places that item into the input field of the ComboBox. The ComboBox
+*  uses the following bead types:
+* 
+*  org.apache.flex.core.IBeadModel: the data model, which includes the 
dataProvider, selectedItem, and
+*  so forth.
+*  org.apache.flex.core.IBeadView:  the bead that constructs the 
visual parts of the component.
+*  org.apache.flex.core.IBeadController: the bead that handles input 
and output.
+*  org.apache.flex.core.IPopUp: the bead responsible for displaying 
the selection list.
+*  org.apache.flex.core.IDataProviderItemRendererMapper: the bead 
responsible for creating the itemRenders.
+*  org.apache.flex.core.IItemRenderer: the class or factory used to 
display an item in the component.
+* 
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public class ComboBox extends UIBase
+   {
+   /**
+*  constructor.
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public function ComboBox()
+   {
+   super();
+   }
+   
+   /**
+*  The data for display by the ComboBox.
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public function get dataProvider():Object
+   {
+   return IComboBoxModel(model).dataProvider;
+   }
+   public function set dataProvider(value:Object):void
+   {
+   IComboBoxModel(model).dataProvider = value;
+   }
+   
+   /**
+*  The index of the currently selected item. Changing this 
item changes
+*  the selectedItem value.
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public function get selectedIndex():int
+   {
+   return IComboBoxModel(model).selectedIndex;
+   }
+   public function set selectedIndex(value:int):void
+   {
+   IComboBoxModel(model).selectedIndex = value;
+   }
+   
+   /**
+*  The item that is currently selected. Changing this item 
changes
+*  the selectedIndex.
+   

[52/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - - Merged changes

2016-11-05 Thread cdutz
- Merged 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/962a81ca
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/962a81ca
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/962a81ca

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 962a81ca6c493ce190d8f67e570367ce153e9124
Parents: ecb1450 666b761
Author: Christofer Dutz 
Authored: Sat Nov 5 16:14:26 2016 +0100
Committer: Christofer Dutz 
Committed: Sat Nov 5 16:14:26 2016 +0100

--
 examples/build_example.xml  |1 +
 .../src/main/flex/MyInitialView.mxml|2 +-
 .../src/main/flex/models/ProductsModel.as   |   15 +-
 .../main/flex/products/ProductItemRenderer.as   |2 +-
 .../FlexJSStore/src/main/flex/FlexJSStore.mxml  |2 +-
 .../FlexJSStore/src/main/flex/HomeView.mxml |8 +-
 .../FlexJSStore/src/main/flex/SupportView.mxml  |6 +-
 .../src/main/flex/productsView/Grip.mxml|4 +-
 .../productsView/ProductCatalogThumbnail.mxml   |2 +-
 .../main/flex/productsView/ProductDetails.mxml  |2 +-
 .../main/flex/productsView/ProductListItem.mxml |2 +-
 .../src/main/flex/FlexJSStore.mxml  |2 +-
 .../src/main/flex/HomeView.mxml |   10 +-
 .../src/main/flex/SupportView.mxml  |6 +-
 .../src/main/flex/productsView/Grip.mxml|4 +-
 .../productsView/ProductCatalogThumbnail.mxml   |2 +-
 .../main/flex/productsView/ProductDetails.mxml  |2 +-
 .../main/flex/productsView/ProductListItem.mxml |2 +-
 .../flex/samples/flexstore/ProductThumbEvent.as |   18 +-
 .../src/main/flex/MyInitialView.mxml|2 +-
 .../src/main/flex/MyInitialView.mxml|2 +-
 examples/flexjs/TeamPage/build.xml  |   61 +
 examples/flexjs/TeamPage/pom.xml|  115 ++
 .../TeamPage/src/MemberDataJSONItemConverter.as |   55 +
 .../flexjs/TeamPage/src/MemberItemRenderer.mxml |   87 +
 examples/flexjs/TeamPage/src/MyInitialView.mxml |   76 +
 .../TeamPage/src/NoSelectionController.as   |   38 +
 examples/flexjs/TeamPage/src/TeamPage.mxml  |   52 +
 .../flexjs/TeamPage/src/models/MemberList.as|   82 +
 examples/flexjs/TeamPage/src/models/Person.as   |  128 ++
 examples/flexjs/TeamPage/src/team.json  |  504 ++
 examples/flexjs/pom.xml |2 +-
 frameworks/build.xml|5 +
 frameworks/js/FlexJS/build.xml  |6 +
 frameworks/js/FlexJS/projects/BasicJS/build.xml |  142 ++
 .../src/main/config/compile-js-config.xml   |   96 ++
 .../src/main/config/compile-js-config.xml   |1 +
 .../src/main/config/compile-js-config.xml   |1 +
 frameworks/projects/Basic/build.xml |  116 ++
 frameworks/projects/Basic/pom.xml   |  128 ++
 .../Basic/src/main/config/compile-as-config.xml |   90 ++
 .../Basic/src/main/flex/BasicClasses.as |  214 +++
 .../flex/org/apache/flex/core/Application.as|  647 
 .../org/apache/flex/core/ApplicationBase.as |  110 ++
 .../flex/org/apache/flex/core/ContainerBase.as  |  443 +
 .../flex/core/ContainerBaseStrandChildren.as|   99 ++
 .../org/apache/flex/core/FilledRectangle.as |  125 ++
 .../org/apache/flex/core/HTMLElementWrapper.as  |  265 +++
 .../apache/flex/core/IScrollingLayoutParent.as  |   68 +
 .../main/flex/org/apache/flex/core/ImageBase.as |   84 +
 .../main/flex/org/apache/flex/core/ListBase.as  |  135 ++
 .../apache/flex/core/ListBaseStrandChildren.as  |   98 ++
 .../org/apache/flex/core/SimpleApplication.as   |  104 ++
 .../main/flex/org/apache/flex/core/UIBase.as| 1519 ++
 .../flex/org/apache/flex/core/UIButtonBase.as   |  877 ++
 .../src/main/flex/org/apache/flex/core/View.as  |   34 +
 .../main/flex/org/apache/flex/core/ViewBase.as  |  111 ++
 .../org/apache/flex/events/ItemAddedEvent.as|   88 +
 .../org/apache/flex/events/ItemClickedEvent.as  |  115 ++
 .../org/apache/flex/events/ItemRemovedEvent.as  |   88 +
 .../org/apache/flex/events/ItemRendererEvent.as |   90 ++
 .../src/main/flex/org/apache/flex/html/Alert.as |  287 
 .../main/flex/org/apache/flex/html/Button.as|   85 +
 .../main/flex/org/apache/flex/html/ButtonBar.as |   76 +
 .../flex/org/apache/flex/html/ButtonBase.as |  101 ++
 .../main/flex/org/apache/flex/html/CheckBox.as  |  187 +++
 .../flex/org/apache/flex/html/CloseButton.as|   66 +
 .../main/flex/org/apache/flex/html/ComboBox.as  |  277 
 .../main/flex/org/apache/flex/html/Container.as |  108 ++
 .../flex/org/apache/flex/html/ControlBar.as |   99 ++
 .../main/flex/org/apache/flex/html/DataGrid.as  |  166 ++
 .../org/apache/flex/html/DataGridButtonBar.as   |   51 +
 

[33/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - add

2016-11-05 Thread cdutz
add


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: c60efc66212a3312e483eb12d1b23db044757569
Parents: 1acc00e
Author: Alex Harui 
Authored: Sun Oct 30 21:06:27 2016 -0700
Committer: Alex Harui 
Committed: Tue Nov 1 08:02:15 2016 -0700

--
 .../main/flex/org/apache/flex/core/IInitialViewApplication.as | 7 +++
 1 file changed, 7 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c60efc66/frameworks/projects/Core/src/main/flex/org/apache/flex/core/IInitialViewApplication.as
--
diff --git 
a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/IInitialViewApplication.as
 
b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/IInitialViewApplication.as
index 2eb3e64..47f44b8 100755
--- 
a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/IInitialViewApplication.as
+++ 
b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/IInitialViewApplication.as
@@ -20,6 +20,7 @@ package org.apache.flex.core
 {
 COMPILE::SWF
 {
+   import flash.display.DisplayObject;
import flash.display.Stage;
 }
import org.apache.flex.events.IEventDispatcher;
@@ -54,6 +55,12 @@ COMPILE::SWF
 /**
  *  @private
  */
+COMPILE::SWF
+   function get $displayObject():DisplayObject;
+   
+/**
+ *  @private
+ */
 COMPILE::JS
function get element():HTMLElement;
 



[28/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - replace UIBase dependency

2016-11-05 Thread cdutz
replace UIBase dependency


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 0d06e658dc87a1b6fd84e47565057c8e42f6a694
Parents: 7af78c1
Author: Alex Harui 
Authored: Fri Oct 28 23:20:14 2016 -0700
Committer: Alex Harui 
Committed: Tue Nov 1 07:59:02 2016 -0700

--
 .../main/flex/org/apache/flex/core/BrowserResizeListener.as   | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0d06e658/frameworks/projects/Core/src/main/flex/org/apache/flex/core/BrowserResizeListener.as
--
diff --git 
a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/BrowserResizeListener.as
 
b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/BrowserResizeListener.as
index a8fb5c0..441bfee 100644
--- 
a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/BrowserResizeListener.as
+++ 
b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/BrowserResizeListener.as
@@ -109,11 +109,14 @@ COMPILE::SWF
 }
 }
 
+   /**
+* @flexjsignorecoercion org.apache.flex.core.ILayoutChild
+*/
 private function resizeHandler(event:Event):void
 {
 COMPILE::SWF
 {
-var initialView:UIBase = app.initialView as UIBase;
+var initialView:ILayoutChild = app.initialView as ILayoutChild;
var constrainedWidth:Number = 
Math.max(isNaN(minWidth) ? 0 : minWidth, app.$displayObject.stage.stageWidth);
var constrainedHeight:Number = 
Math.max(isNaN(minHeight) ? 0 : minHeight, 
app.$displayObject.stage.stageHeight);
 if (!isNaN(initialView.percentWidth) && 
!isNaN(initialView.percentHeight))
@@ -125,7 +128,7 @@ COMPILE::SWF
 }
 COMPILE::JS
 {
-var initialView:UIBase = app.initialView as UIBase;
+var initialView:ILayoutChild = app.initialView as ILayoutChild;
 var element:HTMLElement = app.element;
 if (!isNaN(initialView.percentWidth) || 
!isNaN(initialView.percentHeight)) {
 element.style.height = window.innerHeight + 'px';



[45/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - Headings (H1 to H6) and change Anchor to A (to match with the rest of js html tags)

2016-11-05 Thread cdutz
Headings (H1 to H6) and change Anchor to A (to match with the rest of 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/6db257f7
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/6db257f7
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/6db257f7

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 6db257f7de0ca892b8740563c78847e46da8f193
Parents: 010ec0b
Author: Carlos Rovira 
Authored: Fri Nov 4 17:08:42 2016 +0100
Committer: Carlos Rovira 
Committed: Fri Nov 4 17:09:35 2016 +0100

--
 .../src/main/flex/org/apache/flex/html/A.as | 138 +++
 .../main/flex/org/apache/flex/html/Anchor.as| 138 ---
 .../src/main/flex/org/apache/flex/html/H1.as| 112 +++
 .../src/main/flex/org/apache/flex/html/H2.as| 112 +++
 .../src/main/flex/org/apache/flex/html/H3.as| 112 +++
 .../src/main/flex/org/apache/flex/html/H4.as| 112 +++
 .../src/main/flex/org/apache/flex/html/H5.as| 112 +++
 .../src/main/flex/org/apache/flex/html/H6.as| 112 +++
 .../HTML/src/main/resources/basic-manifest.xml  |   8 +-
 9 files changed, 817 insertions(+), 139 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6db257f7/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/A.as
--
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/A.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/A.as
new file mode 100644
index 000..5712b88
--- /dev/null
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/A.as
@@ -0,0 +1,138 @@
+
+//
+//  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.UIBase;
+
+COMPILE::JS
+{
+import org.apache.flex.core.WrappedHTMLElement;
+}
+
+   /**
+*  The A(Anchor) class represents an HTML  anchor element
+ *  
+*  
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public class A extends UIBase
+   {
+   /**
+*  constructor.
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public function A()
+   {
+   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
+   {
+COMPILE::SWF
+{
+_text = value;
+}
+COMPILE::JS
+{
+textNode.nodeValue = value;
+}
+   }
+
+private var _href:String = "#";
+
+/**
+ *  the link url
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public function get href():String
+

[01/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - try to copy HTML to Basic without losing history

2016-11-05 Thread cdutz
Repository: flex-asjs
Updated Branches:
  refs/heads/feature-autobuild/example-maven-dirs ecb145099 -> 8d495540e


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/supportClasses/Viewport.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/supportClasses/Viewport.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/supportClasses/Viewport.as
new file mode 100644
index 000..285282a
--- /dev/null
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/supportClasses/Viewport.as
@@ -0,0 +1,151 @@
+
+//
+//  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.supportClasses
+{
+   import org.apache.flex.core.IBead;
+   import org.apache.flex.core.IContentView;
+   import org.apache.flex.core.IParentIUIBase;
+   import org.apache.flex.core.IStrand;
+   import org.apache.flex.core.IUIBase;
+   import org.apache.flex.core.IViewport;
+   import org.apache.flex.core.IViewportModel;
+   import org.apache.flex.core.UIBase;
+import org.apache.flex.core.ValuesManager;
+   import org.apache.flex.events.Event;
+import org.apache.flex.geom.Rectangle;
+import org.apache.flex.geom.Size;
+   import org.apache.flex.html.beads.models.ScrollBarModel;
+import org.apache.flex.utils.CSSContainerUtils;
+
+/**
+ * A Viewport is the area of a Container set aside for displaying
+ * content and any scrolling controls.
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+ */
+   public class Viewport implements IBead, IViewport
+   {
+   /**
+* Constructor
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public function Viewport()
+   {
+   }
+
+   protected var contentArea:UIBase;
+
+   /**
+* Get the actual parent of the container's content.
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+public function get contentView():IUIBase
+{
+return contentArea;
+}
+
+   protected var _strand:IStrand;
+
+/**
+ * @flexjsignorecoercion Class
+ */
+   public function set strand(value:IStrand):void
+   {
+   _strand = value;
+contentArea = _strand.getBeadByType(IContentView) as UIBase;
+if (!contentArea)
+{
+var c:Class = ValuesManager.valuesImpl.getValue(_strand, 
'iContentView') as Class;
+contentArea = new c() as UIBase;
+}
+   }
+
+/**
+ * @copy org.apache.flex.core.IViewport#setPosition()
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+ */
+public function setPosition(x:Number, y:Number):void
+{
+contentArea.x = x;
+contentArea.y = y;
+}
+
+/**
+ * @copy 
org.apache.flex.core.IViewport#layoutViewportBeforeContentLayout()
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+ */
+   public function layoutViewportBeforeContentLayout(width:Number, 
height:Number):void
+   {
+   if (!isNaN(width))
+contentArea.width = width;
+if 

[49/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - Added maven build to TeamPage and license headings (required to build with maven) in files without it

2016-11-05 Thread cdutz
Added maven build to TeamPage and license headings (required to build with 
maven) in files without 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/bb65616d
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/bb65616d
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/bb65616d

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: bb65616de2b7965352d905cc3b5f9ff8e78231de
Parents: 82a6f7c
Author: Carlos Rovira 
Authored: Sat Nov 5 00:17:34 2016 +0100
Committer: Carlos Rovira 
Committed: Sat Nov 5 00:17:34 2016 +0100

--
 examples/flexjs/TeamPage/pom.xml| 112 +++
 .../flexjs/TeamPage/src/models/MemberList.as|  18 +++
 examples/flexjs/TeamPage/src/models/Person.as   |  18 +++
 examples/flexjs/TeamPage/src/team.json  |  21 +++-
 4 files changed, 168 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bb65616d/examples/flexjs/TeamPage/pom.xml
--
diff --git a/examples/flexjs/TeamPage/pom.xml b/examples/flexjs/TeamPage/pom.xml
new file mode 100644
index 000..0995656
--- /dev/null
+++ b/examples/flexjs/TeamPage/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
+  
+
+  TeamPage
+  0.8.0-SNAPSHOT
+  swf
+
+  Apache Flex - FlexJS: Examples: FlexJS: TeamPage
+
+  
+src
+
+  
+org.apache.flex.flexjs.compiler
+flexjs-maven-plugin
+true
+
+  20.0
+  TeamPage.mxml
+
+
+  
+  
+compile-javascript
+compile
+
+  compile-app
+
+
+  true
+  true
+
+  
+
+
+  
+org.apache.flex.flexjs.compiler
+compiler-jx
+0.8.0-SNAPSHOT
+  
+
+  
+
+  
+
+  
+
+  org.apache.flex.flexjs.framework
+  Core
+  0.8.0-SNAPSHOT
+  swc
+
+
+
+  org.apache.flex.flexjs.framework
+  Network
+  0.8.0-SNAPSHOT
+  swc
+
+
+
+
+  com.adobe.flash.framework
+  playerglobal
+  20.0
+  swc
+  provided
+
+
+
+
+  org.apache.flex.flexjs.framework
+  HTML
+  0.8.0-SNAPSHOT
+  swc
+
+
+  org.apache.flex.flexjs.framework
+  Language
+  0.8.0-SNAPSHOT
+  swc
+
+  
+
+
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bb65616d/examples/flexjs/TeamPage/src/models/MemberList.as
--
diff --git a/examples/flexjs/TeamPage/src/models/MemberList.as 
b/examples/flexjs/TeamPage/src/models/MemberList.as
index 28c7dae..1b5c3e7 100644
--- a/examples/flexjs/TeamPage/src/models/MemberList.as
+++ b/examples/flexjs/TeamPage/src/models/MemberList.as
@@ -1,3 +1,21 @@
+
+//
+//  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 models
 {
import org.apache.flex.collections.LazyCollection;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bb65616d/examples/flexjs/TeamPage/src/models/Person.as
--
diff --git a/examples/flexjs/TeamPage/src/models/Person.as 
b/examples/flexjs/TeamPage/src/models/Person.as
index 3bb34ac..36ed24a 100644
--- a/examples/flexjs/TeamPage/src/models/Person.as
+++ b/examples/flexjs/TeamPage/src/models/Person.as
@@ -1,3 +1,21 @@

[09/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - try to copy HTML to Basic without losing history

2016-11-05 Thread cdutz
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/IGraphicsDrawing.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/IGraphicsDrawing.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/IGraphicsDrawing.as
new file mode 100644
index 000..91d1838
--- /dev/null
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/IGraphicsDrawing.as
@@ -0,0 +1,36 @@
+
+//
+//  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.beads
+{
+/**
+ *  The IGraphicsDrawing interface is a marker interface for beads
+ *  that draw into the graphics layer.  This helps a bead determine
+ *  if it is the first of many graphics drawing beads so it can
+ *  know whether or not to clear the graphics layer before drawing.
+ * 
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public interface IGraphicsDrawing
+   {
+   
+   }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/IListView.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/IListView.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/IListView.as
new file mode 100644
index 000..f9159ce
--- /dev/null
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/IListView.as
@@ -0,0 +1,48 @@
+
+//
+//  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.beads
+{  
+   import org.apache.flex.core.IBeadView;
+   import org.apache.flex.core.IItemRendererParent;
+   import org.apache.flex.core.IStrand;
+
+   /**
+*  The IListView interface provides the protocol for any bead that
+*  creates the visual parts for a org.apache.flex.html.List control.
+*  
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public interface IListView extends IBeadView
+   {
+   /**
+*  The component which parents all of the itemRenderers for 
each
+*  datum being displayed by the List component.
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   function get dataGroup():IItemRendererParent;
+   
+   }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/IScrollBarView.as
--
diff --git 

[24/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - fork of UIBase UIButtonBase

2016-11-05 Thread cdutz
fork of UIBase UIButtonBase


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 6622b25347cda405807927762eab9472acab0c46
Parents: 975d3f3
Author: Alex Harui 
Authored: Fri Oct 28 08:07:19 2016 -0700
Committer: Alex Harui 
Committed: Tue Nov 1 07:55:20 2016 -0700

--
 .../main/flex/org/apache/flex/core/UIBase.as| 1483 ++
 .../flex/org/apache/flex/core/UIButtonBase.as   |  862 ++
 2 files changed, 2345 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6622b253/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as
new file mode 100644
index 000..ff25bd0
--- /dev/null
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as
@@ -0,0 +1,1483 @@
+
+//
+//  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.core
+{
+COMPILE::SWF
+{
+import flash.display.DisplayObject;
+import flash.display.Sprite;
+import flash.display.Stage;
+}
+   
+   import org.apache.flex.events.Event;
+   import org.apache.flex.events.IEventDispatcher;
+   import org.apache.flex.events.MouseEvent;
+   import org.apache.flex.events.ValueChangeEvent;
+   import org.apache.flex.events.utils.MouseEventConverter;
+   
+   /**
+*  Set a different class for click events so that
+*  there aren't dependencies on the flash classes
+*  on the JS side.
+*  
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   [Event(name="click", type="org.apache.flex.events.MouseEvent")]
+   
+/**
+ *  Set a different class for rollOver events so that
+ *  there aren't dependencies on the flash classes
+ *  on the JS side.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+[Event(name="rollOver", type="org.apache.flex.events.MouseEvent")]
+
+/**
+ *  Set a different class for rollOut events so that
+ *  there aren't dependencies on the flash classes
+ *  on the JS side.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+[Event(name="rollOut", type="org.apache.flex.events.MouseEvent")]
+
+/**
+ *  Set a different class for mouseDown events so that
+ *  there aren't dependencies on the flash classes
+ *  on the JS side.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+[Event(name="mouseDown", type="org.apache.flex.events.MouseEvent")]
+
+/**
+ *  Set a different class for mouseUp events so that
+ *  there aren't dependencies on the flash classes
+ *  on the JS side.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+[Event(name="mouseUp", type="org.apache.flex.events.MouseEvent")]
+
+/**
+ *  Set a different class for mouseMove events so that
+ *  there aren't dependencies on the flash classes
+ *  on the JS side.
+ *  
+ *  @langversion 

[10/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - try to copy HTML to Basic without losing history

2016-11-05 Thread cdutz
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DataItemRendererFactoryForArrayList.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DataItemRendererFactoryForArrayList.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DataItemRendererFactoryForArrayList.as
new file mode 100644
index 000..42b159c
--- /dev/null
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DataItemRendererFactoryForArrayList.as
@@ -0,0 +1,194 @@
+
+//
+//  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.beads
+{
+   import org.apache.flex.collections.IArrayList;
+   import org.apache.flex.core.IBead;
+   import org.apache.flex.core.IDataProviderItemRendererMapper;
+   import org.apache.flex.core.IItemRendererClassFactory;
+   import org.apache.flex.core.IItemRendererParent;
+   import org.apache.flex.core.IListPresentationModel;
+   import org.apache.flex.core.ISelectableItemRenderer;
+   import org.apache.flex.core.ISelectionModel;
+   import org.apache.flex.core.IStrand;
+   import org.apache.flex.core.IUIBase;
+   import org.apache.flex.core.SimpleCSSStyles;
+   import org.apache.flex.core.UIBase;
+   import org.apache.flex.core.ValuesManager;
+   import org.apache.flex.events.Event;
+   import org.apache.flex.events.IEventDispatcher;
+   import org.apache.flex.events.EventDispatcher;
+   import org.apache.flex.events.ItemRendererEvent;
+   import org.apache.flex.html.List;
+   
+   
[Event(name="itemRendererCreated",type="org.apache.flex.events.ItemRendererEvent")]
+   
+/**
+ *  The DataItemRendererFactoryForArrayList class uses an ArrayList
+*  and creates an item renderer for every
+ *  item in the collection.  Other implementations of
+ *  IDataProviderItemRendererMapper map different data 
+ *  structures or manage a virtual set of renderers.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public class DataItemRendererFactoryForArrayList extends 
EventDispatcher implements IBead, IDataProviderItemRendererMapper
+   {
+/**
+ *  Constructor.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public function 
DataItemRendererFactoryForArrayList(target:Object=null)
+   {
+   super(target);
+   }
+   
+   protected var selectionModel:ISelectionModel;
+   
+   protected var labelField:String;
+   
+   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
+ */
+   public function set strand(value:IStrand):void
+   {
+   _strand = value;
+   
IEventDispatcher(_strand).addEventListener("beadsAdded", finishSetup);
+   
IEventDispatcher(_strand).addEventListener("initComplete", finishSetup);
+   }
+   
+   private function finishSetup(event:Event):void
+   {
+   selectionModel = _strand.getBeadByType(ISelectionModel) 
as ISelectionModel;
+   var listView:IListView = 
_strand.getBeadByType(IListView) as IListView;
+   dataGroup = listView.dataGroup;
+   selectionModel.addEventListener("dataProviderChanged", 
dataProviderChangeHandler);
+  

[54/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - - Adjusted the directory structure of the TeamPage example

2016-11-05 Thread cdutz
- Adjusted the directory structure of the TeamPage example


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 8d495540ece359731c66c136626a6e0a561a02e9
Parents: 962a81c
Author: Christofer Dutz 
Authored: Sat Nov 5 16:21:35 2016 +0100
Committer: Christofer Dutz 
Committed: Sat Nov 5 16:21:35 2016 +0100

--
 examples/flexjs/TeamPage/pom.xml|   1 -
 .../TeamPage/src/MemberDataJSONItemConverter.as |  55 --
 .../flexjs/TeamPage/src/MemberItemRenderer.mxml |  87 
 examples/flexjs/TeamPage/src/MyInitialView.mxml |  76 ---
 .../TeamPage/src/NoSelectionController.as   |  38 --
 examples/flexjs/TeamPage/src/TeamPage.mxml  |  52 --
 .../main/flex/MemberDataJSONItemConverter.as|  55 ++
 .../src/main/flex/MemberItemRenderer.mxml   |  87 
 .../TeamPage/src/main/flex/MyInitialView.mxml   |  76 +++
 .../src/main/flex/NoSelectionController.as  |  38 ++
 .../flexjs/TeamPage/src/main/flex/TeamPage.mxml |  52 ++
 .../TeamPage/src/main/flex/models/MemberList.as |  82 +++
 .../TeamPage/src/main/flex/models/Person.as | 128 +
 .../flexjs/TeamPage/src/main/flex/team.json | 504 +++
 .../flexjs/TeamPage/src/models/MemberList.as|  82 ---
 examples/flexjs/TeamPage/src/models/Person.as   | 128 -
 examples/flexjs/TeamPage/src/team.json  | 504 ---
 17 files changed, 1022 insertions(+), 1023 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8d495540/examples/flexjs/TeamPage/pom.xml
--
diff --git a/examples/flexjs/TeamPage/pom.xml b/examples/flexjs/TeamPage/pom.xml
index b407b02..e652e3e 100644
--- a/examples/flexjs/TeamPage/pom.xml
+++ b/examples/flexjs/TeamPage/pom.xml
@@ -35,7 +35,6 @@
   Apache Flex - FlexJS: Examples: FlexJS: TeamPage
 
   
-src
 
   
 org.apache.flex.flexjs.compiler

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8d495540/examples/flexjs/TeamPage/src/MemberDataJSONItemConverter.as
--
diff --git a/examples/flexjs/TeamPage/src/MemberDataJSONItemConverter.as 
b/examples/flexjs/TeamPage/src/MemberDataJSONItemConverter.as
deleted file mode 100644
index cafb4a9..000
--- a/examples/flexjs/TeamPage/src/MemberDataJSONItemConverter.as
+++ /dev/null
@@ -1,55 +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
-{
-import models.Person;
-
-import org.apache.flex.collections.converters.JSONItemConverter;
-
-public class MemberDataJSONItemConverter extends JSONItemConverter
-{
-public function MemberDataJSONItemConverter()
-{
-super();
-}
-
-override public function convertItem(data:String):Object
-{
-var obj:Object = super.convertItem(data);
-   var person:Person = new Person();
-   person.name = obj["name"];
-   person.title = obj["title"];
-   person.apacheID = obj["apacheID"];
-   person.bio = obj["bio"];
-   person.photoURL = 
"http://flex.apache.org/"+obj["photoURL;];
-   person.url = obj["url"];
-   
-   var social:Array = 
["twitter","facebook","googleplus","linkedIn","github","wordpress","skype","rss","rss2","deviantart","blog"];
-   for (var i:int=0; i < social.length; i++) {
-   if 

[39/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - Merge branch 'refactor-sprite' into develop

2016-11-05 Thread cdutz
Merge branch 'refactor-sprite' into develop

Conflicts:

frameworks/projects/Basic/src/main/flex/org/apache/flex/core/Application.as

frameworks/projects/Basic/src/main/flex/org/apache/flex/core/ContainerBaseStrandChildren.as
frameworks/projects/Basic/src/main/flex/org/apache/flex/core/ListBase.as

frameworks/projects/Basic/src/main/flex/org/apache/flex/core/ListBaseStrandChildren.as

frameworks/projects/Basic/src/main/flex/org/apache/flex/core/SimpleApplication.as

frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/GraphicContainer.as

frameworks/projects/Core/src/main/flex/org/apache/flex/core/Application.as

frameworks/projects/Core/src/main/flex/org/apache/flex/core/ContainerBaseStrandChildren.as
frameworks/projects/Core/src/main/flex/org/apache/flex/core/ListBase.as

frameworks/projects/Core/src/main/flex/org/apache/flex/core/ListBaseStrandChildren.as

frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleApplication.as

frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/GraphicContainer.as

frameworks/projects/HTML/src/main/flex/org/apache/flex/core/Application.as

frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ContainerBaseStrandChildren.as
frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ListBase.as

frameworks/projects/HTML/src/main/flex/org/apache/flex/core/ListBaseStrandChildren.as

frameworks/projects/HTML/src/main/flex/org/apache/flex/core/SimpleApplication.as

frameworks/projects/HTML/src/main/flex/org/apache/flex/svg/GraphicContainer.as


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 956037aec4a12620d4bbc29005e9043a83125f49
Parents: ecd8e10 1b6c3af
Author: Alex Harui 
Authored: Tue Nov 1 23:20:17 2016 -0700
Committer: Alex Harui 
Committed: Tue Nov 1 23:20:17 2016 -0700

--
 .../CordovaCameraExample/src/MyInitialView.mxml |   2 +-
 .../DataGridExample/src/models/ProductsModel.as |  15 +-
 .../src/products/ProductItemRenderer.as |   2 +-
 .../flexjs/FlexJSStore/src/FlexJSStore.mxml |   2 +-
 examples/flexjs/FlexJSStore/src/HomeView.mxml   |   8 +-
 .../flexjs/FlexJSStore/src/SupportView.mxml |   6 +-
 .../FlexJSStore/src/productsView/Grip.mxml  |   4 +-
 .../productsView/ProductCatalogThumbnail.mxml   |   2 +-
 .../src/productsView/ProductDetails.mxml|   2 +-
 .../src/productsView/ProductListItem.mxml   |   2 +-
 .../src/samples/flexstore/ProductThumbEvent.as  |  18 +-
 .../FlexJSStore_jquery/src/FlexJSStore.mxml |   2 +-
 .../flexjs/FlexJSStore_jquery/src/HomeView.mxml |  10 +-
 .../FlexJSStore_jquery/src/SupportView.mxml |   6 +-
 .../src/productsView/Grip.mxml  |   4 +-
 .../productsView/ProductCatalogThumbnail.mxml   |   2 +-
 .../src/productsView/ProductDetails.mxml|   2 +-
 .../src/productsView/ProductListItem.mxml   |   2 +-
 .../flexjs/MobileTrader/src/MyInitialView.mxml  |   2 +-
 frameworks/build.xml|   1 -
 .../Basic/src/main/flex/BasicClasses.as |   5 +-
 .../flex/org/apache/flex/core/Application.as|  46 +-
 .../flex/org/apache/flex/core/ContainerBase.as  |  20 +-
 .../flex/core/ContainerBaseStrandChildren.as|  10 +-
 .../org/apache/flex/core/FilledRectangle.as |   2 +-
 .../org/apache/flex/core/HTMLElementWrapper.as  | 265 +++
 .../main/flex/org/apache/flex/core/ImageBase.as |  84 
 .../main/flex/org/apache/flex/core/ListBase.as  |  10 +-
 .../apache/flex/core/ListBaseStrandChildren.as  |  12 +-
 .../main/flex/org/apache/flex/core/UIBase.as|  70 ++-
 .../flex/org/apache/flex/core/UIButtonBase.as   |  17 +-
 .../src/main/flex/org/apache/flex/html/Image.as |   8 +-
 .../org/apache/flex/html/beads/ComboBoxView.as  |   3 +-
 .../org/apache/flex/html/beads/ContainerView.as |  11 +-
 .../apache/flex/html/beads/DropDownListView.as  |   3 +-
 .../org/apache/flex/html/beads/ImageView.as | 181 +---
 .../apache/flex/html/beads/SliderThumbView.as   |   2 +-
 .../apache/flex/html/beads/WebBrowserView.as|   2 +-
 .../flex/html/beads/layouts/HorizontalLayout.as |   3 +-
 .../apache/flex/html/beads/models/ImageModel.as |  12 +-
 .../html/supportClasses/ContainerContentArea.as |   5 +-
 .../flex/html/supportClasses/DataGroup.as   |   5 +-
 .../html/supportClasses/ScrollingViewport.as|   5 +-
 .../supportClasses/TextFieldItemRenderer.as |  16 +
 .../flex/org/apache/flex/svg/BinaryImage.as |  87 
 .../org/apache/flex/svg/GraphicContainer.as |  

[37/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - clean up build after merge. I wonder if fork is causing things to mess up on merges. I thought I'd made thes

2016-11-05 Thread cdutz
clean up build after merge.  I wonder if fork is causing things to mess up on 
merges.  I thought I'd made these changes before


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 1b6c3af235708d1b73e9816bf8f4aa2e79326694
Parents: a5cf277
Author: Alex Harui 
Authored: Tue Nov 1 08:33:05 2016 -0700
Committer: Alex Harui 
Committed: Tue Nov 1 08:33:05 2016 -0700

--
 .../flex/org/apache/flex/core/ContainerBase.as  | 20 ++--
 .../flex/core/ContainerBaseStrandChildren.as| 10 +-
 .../main/flex/org/apache/flex/core/ListBase.as  | 10 +-
 .../apache/flex/core/ListBaseStrandChildren.as  | 12 +---
 .../main/flex/org/apache/flex/core/UIBase.as| 19 +++
 .../org/apache/flex/svg/GraphicContainer.as | 18 +++---
 6 files changed, 43 insertions(+), 46 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1b6c3af2/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/ContainerBase.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/ContainerBase.as 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/ContainerBase.as
index 5b6cc26..0dd0b53 100644
--- 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/ContainerBase.as
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/ContainerBase.as
@@ -106,7 +106,7 @@ package org.apache.flex.core
  *  @playerversion AIR 2.6
  *  @productversion FlexJS 0.0
  */
-override public function getElementAt(index:int):Object
+override public function getElementAt(index:int):IChild
 {
 var contentView:IParent = view as IParent;
 if (contentView != null) {
@@ -119,7 +119,7 @@ package org.apache.flex.core
 /**
  *  @private
  */
-override public function getElementIndex(c:Object):int
+override public function getElementIndex(c:IChild):int
 {
var contentView:IParent = view as IParent;
if (contentView != null) {
@@ -132,7 +132,7 @@ package org.apache.flex.core
 /**
  *  @private
  */
-override public function addElement(c:Object, dispatchEvent:Boolean = 
true):void
+override public function addElement(c:IChild, dispatchEvent:Boolean = 
true):void
 {
var contentView:IParent = view as IParent;
if (contentView != null) {
@@ -148,7 +148,7 @@ package org.apache.flex.core
 /**
  *  @private
  */
-override public function addElementAt(c:Object, index:int, 
dispatchEvent:Boolean = true):void
+override public function addElementAt(c:IChild, index:int, 
dispatchEvent:Boolean = true):void
 {
var contentView:IParent = view as IParent;
if (contentView != null) {
@@ -164,7 +164,7 @@ package org.apache.flex.core
 /**
  *  @private
  */
-override public function removeElement(c:Object, dispatchEvent:Boolean 
= true):void
+override public function removeElement(c:IChild, dispatchEvent:Boolean 
= true):void
 {
var contentView:IParent = view as IParent;
if (contentView != null) {
@@ -229,7 +229,7 @@ package org.apache.flex.core
  * @suppress {undefinedNames}
 * Support strandChildren.
 */
-   public function $addElement(c:Object, dispatchEvent:Boolean = 
true):void
+   public function $addElement(c:IChild, dispatchEvent:Boolean = 
true):void
{
super.addElement(c, dispatchEvent);
}
@@ -239,7 +239,7 @@ package org.apache.flex.core
  * @suppress {undefinedNames}
 * Support strandChildren.
 */
-   public function $addElementAt(c:Object, index:int, 
dispatchEvent:Boolean = true):void
+   public function $addElementAt(c:IChild, index:int, 
dispatchEvent:Boolean = true):void
{
super.addElementAt(c, index, dispatchEvent);
}
@@ -249,7 +249,7 @@ package org.apache.flex.core
  * @suppress {undefinedNames}
 * Support strandChildren.
 */
-   public function $removeElement(c:Object, dispatchEvent:Boolean 
= 

[22/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - move more UIBase to HTML

2016-11-05 Thread cdutz
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7af78c10/frameworks/projects/HTML/src/main/flex/org/apache/flex/svg/GraphicShape.as
--
diff --git 
a/frameworks/projects/HTML/src/main/flex/org/apache/flex/svg/GraphicShape.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/svg/GraphicShape.as
new file mode 100644
index 000..8f9e326
--- /dev/null
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/svg/GraphicShape.as
@@ -0,0 +1,233 @@
+/**
+ * Licensed 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.svg
+{
+   COMPILE::SWF
+{
+   import flash.display.Graphics;
+   import flash.display.Sprite;
+   import flash.geom.Point;
+   import flash.geom.Rectangle;
+   import org.apache.flex.core.WrappedSprite;
+}
+COMPILE::JS
+{
+import org.apache.flex.core.WrappedHTMLElement;
+}
+
+import org.apache.flex.core.IFlexJSElement;
+   import org.apache.flex.core.UIBase;
+   import org.apache.flex.graphics.IFill;
+   import org.apache.flex.graphics.IStroke;
+   import org.apache.flex.graphics.IGraphicShape;
+
+   public class GraphicShape extends UIBase implements IGraphicShape
+   {
+
+   private var _fill:IFill;
+   private var _stroke:IStroke;
+
+   public function get stroke():IStroke
+   {
+   return _stroke;
+   }
+
+   /**
+*  A solid color fill.
+*
+*  @langversion 3.0
+*  @playerversion Flash 9
+*  @playerversion AIR 1.1
+*  @productversion FlexJS 0.0
+*/
+   public function set stroke(value:IStroke):void
+   {
+   _stroke = value;
+   }
+
+   public function get fill():IFill
+   {
+   return _fill;
+   }
+   /**
+*  A solid color fill.
+*
+*  @langversion 3.0
+*  @playerversion Flash 9
+*  @playerversion AIR 1.1
+*  @productversion FlexJS 0.0
+*/
+   public function set fill(value:IFill):void
+   {
+   _fill = value;
+   }
+
+   /**
+* Constructor
+*
+* @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+*/
+public function GraphicShape()
+{
+   super();
+}
+   
+   /**
+* @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+*/
+   COMPILE::JS
+   override protected function createElement():IFlexJSElement
+   {
+   element = 
document.createElementNS('http://www.w3.org/2000/svg', 'svg') as 
WrappedHTMLElement;
+   element.flexjs_wrapper = this;
+   element.style.left = 0;
+   element.style.top = 0;
+   //element.offsetParent = null;
+   positioner = element;
+   positioner.style.position = 'relative';
+   
+   return element;
+   }
+
+
+COMPILE::SWF
+   protected function applyStroke():void
+   {
+   if(stroke)
+   {
+   stroke.apply($sprite.graphics);
+   }
+   }
+
+COMPILE::SWF
+   protected function 
beginFill(targetBounds:Rectangle,targetOrigin:Point):void
+   {
+   if(fill)
+   {
+   fill.begin($sprite.graphics, 
targetBounds,targetOrigin);
+   }
+   }
+
+COMPILE::SWF
+   protected function endFill():void
+   {
+   if(fill)
+   {
+   fill.end($sprite.graphics);
+   }
+   }
+
+   /**
+* This is where the drawing methods get called from
+ 

[07/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - try to copy HTML to Basic without losing history

2016-11-05 Thread cdutz
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/TextFieldView.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/TextFieldView.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/TextFieldView.as
new file mode 100644
index 000..61b6edb
--- /dev/null
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/TextFieldView.as
@@ -0,0 +1,54 @@
+
+//
+//  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.beads
+{
+   import flash.text.TextFieldType;
+   
+/**
+ *  The TextFieldView class is the default view for
+ *  the org.apache.flex.html.Label class.
+ *  It displays text using a TextField, so there is no
+ *  right-to-left text support in this view.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public class TextFieldView extends TextFieldViewBase
+   {
+/**
+ *  Constructor.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public function TextFieldView()
+   {
+   super();
+   
+   textField.selectable = false;
+   textField.type = TextFieldType.DYNAMIC;
+   textField.mouseEnabled = false;
+   textField.autoSize = "left";
+   }
+   }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/TextFieldViewBase.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/TextFieldViewBase.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/TextFieldViewBase.as
new file mode 100644
index 000..3ab2874
--- /dev/null
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/TextFieldViewBase.as
@@ -0,0 +1,404 @@
+
+//
+//  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.beads
+{
+   import flash.display.DisplayObject;
+   import flash.display.DisplayObjectContainer;
+   import flash.text.StyleSheet;
+   
+   import org.apache.flex.core.CSSTextField;
+   import org.apache.flex.core.IBeadView;
+   import org.apache.flex.core.ILayoutChild;
+   import org.apache.flex.core.IStrand;
+   import org.apache.flex.core.ITextModel;
+   import org.apache.flex.core.IUIBase;
+   import org.apache.flex.core.UIBase;
+   import org.apache.flex.core.ValuesManager;
+   import org.apache.flex.events.Event;
+   import org.apache.flex.events.IEventDispatcher;
+   
+/**
+ *  The TextFieldViewBase class is the base 

[04/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - try to copy HTML to Basic without losing history

2016-11-05 Thread cdutz
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayout.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayout.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayout.as
new file mode 100644
index 000..77af305
--- /dev/null
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayout.as
@@ -0,0 +1,459 @@
+
+//
+//  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.beads.layouts
+{
+   import org.apache.flex.core.IBeadLayout;
+   import org.apache.flex.core.IDocument;
+   import org.apache.flex.core.ILayoutChild;
+   import org.apache.flex.core.ILayoutHost;
+   import org.apache.flex.core.IParentIUIBase;
+   import org.apache.flex.core.IStrand;
+   import org.apache.flex.core.IUIBase;
+   import org.apache.flex.core.UIBase;
+   import org.apache.flex.core.ValuesManager;
+   import org.apache.flex.events.Event;
+   import org.apache.flex.events.IEventDispatcher;
+   import org.apache.flex.geom.Rectangle;
+import org.apache.flex.utils.CSSContainerUtils;
+
+/**
+ *  The OneFlexibleChildVerticalLayout class is a simple layout
+ *  bead.  It takes the set of children and lays them out
+ *  vertically in one column, separating them according to
+ *  CSS layout rules for margin and padding styles. But it
+ *  will size the one child to take up as much or little
+ *  room as possible.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public class OneFlexibleChildVerticalLayout implements IBeadLayout, 
IDocument
+   {
+/**
+ *  Constructor.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public function OneFlexibleChildVerticalLayout()
+   {
+   }
+   
+
+/**
+ *  The id of the flexible child
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+public var flexibleChild:String;
+
+private var actualChild:ILayoutChild;
+
+// the strand/host container is also an ILayoutChild because
+// can have its size dictated by the host's parent which is
+// important to know for layout optimization
+private var host:ILayoutChild;
+   
+/**
+ *  @private
+ *  The document.
+ */
+private var document:Object;
+
+/**
+ *  @copy org.apache.flex.core.IBead#strand
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public function set strand(value:IStrand):void
+   {
+host = value as ILayoutChild;
+   }
+  
+private var _maxWidth:Number;
+
+/**
+ *  @copy org.apache.flex.core.IBead#maxWidth
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+public function get maxWidth():Number
+{
+return _maxWidth;
+}
+
+/**
+ *  @private 
+ */
+public function set maxWidth(value:Number):void
+{
+_maxWidth = value;
+}
+
+private var 

[06/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - try to copy HTML to Basic without losing history

2016-11-05 Thread cdutz
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/controllers/DateChooserMouseController.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/controllers/DateChooserMouseController.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/controllers/DateChooserMouseController.as
new file mode 100644
index 000..c0bed5b
--- /dev/null
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/controllers/DateChooserMouseController.as
@@ -0,0 +1,127 @@
+
+//
+//  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.beads.controllers
+{  
+   import org.apache.flex.html.beads.DateChooserView;
+   import org.apache.flex.html.beads.models.DateChooserModel;
+   import org.apache.flex.html.supportClasses.DateChooserButton;
+   
+   import org.apache.flex.core.IBeadController;
+   import org.apache.flex.core.IBeadModel;
+   import org.apache.flex.core.IBeadView;
+   import org.apache.flex.core.IStrand;
+   import org.apache.flex.events.Event;
+   import org.apache.flex.events.MouseEvent;
+   import org.apache.flex.events.IEventDispatcher;
+   
+   /**
+*  The DateChooserMouseController class is responsible for listening to
+*  mouse event related to the DateChooser. Events such as selecting a 
date
+*  or changing the calendar.
+*  
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public class DateChooserMouseController implements IBeadController
+   {
+   /**
+*  constructor.
+*  
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public function DateChooserMouseController()
+   {
+   }
+   
+   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
+*/
+   public function set strand(value:IStrand):void
+   {
+   _strand = value;
+   
+   var view:DateChooserView = 
value.getBeadByType(IBeadView) as DateChooserView;
+   view.prevMonthButton.addEventListener("click", 
prevMonthClickHandler);
+   view.nextMonthButton.addEventListener("click", 
nextMonthClickHandler);
+   
+   var dayButtons:Array = view.dayButtons;
+   for(var i:int=0; i < dayButtons.length; i++) {
+   
IEventDispatcher(dayButtons[i]).addEventListener("click", 
dayButtonClickHandler);
+   }
+   }
+   
+   /**
+* @private
+*/
+   private function prevMonthClickHandler(event:Event):void
+   {
+   var model:DateChooserModel = 
_strand.getBeadByType(IBeadModel) as DateChooserModel;
+   var month:Number = model.displayedMonth - 1;
+   var year:Number  = model.displayedYear;
+   if (month < 0) {
+   month = 11;
+   year--;
+   }
+   model.displayedMonth = month;
+   model.displayedYear = year;
+   }
+   
+   /**
+* 

[46/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - remove className and typeName from H1-h6 and A to avoid conflicts

2016-11-05 Thread cdutz
remove className and typeName from H1-h6 and A to avoid conflicts


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 9a872c1af76c48cd0f9a58171f87c3564bc0f05a
Parents: 6db257f
Author: Carlos Rovira 
Authored: Fri Nov 4 17:41:16 2016 +0100
Committer: Carlos Rovira 
Committed: Fri Nov 4 17:42:48 2016 +0100

--
 frameworks/projects/HTML/src/main/flex/org/apache/flex/html/A.as  | 2 +-
 frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H1.as | 2 +-
 frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H2.as | 2 +-
 frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H3.as | 2 +-
 frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H4.as | 2 +-
 frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H5.as | 2 +-
 frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H6.as | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9a872c1a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/A.as
--
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/A.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/A.as
index 5712b88..ca7ce1f 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/A.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/A.as
@@ -130,7 +130,7 @@ package org.apache.flex.html
 positioner.style.position = 'relative';
element.flexjs_wrapper = this;
 
-className = typeNames = 'A';
+//className = typeNames = 'A';
 
 return element;
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9a872c1a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H1.as
--
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H1.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H1.as
index 62b09a5..ecd00b1 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H1.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H1.as
@@ -104,7 +104,7 @@ package org.apache.flex.html
 positioner.style.position = 'relative';
element.flexjs_wrapper = this;
 
-className = typeNames = 'H1';
+//className = typeNames = 'H1';
 
 return element;
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9a872c1a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H2.as
--
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H2.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H2.as
index d937d3b..641cce5 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H2.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H2.as
@@ -104,7 +104,7 @@ package org.apache.flex.html
 positioner.style.position = 'relative';
element.flexjs_wrapper = this;
 
-className = typeNames = 'H2';
+//className = typeNames = 'H2';
 
 return element;
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9a872c1a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H3.as
--
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H3.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H3.as
index a54411b..71fd297 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H3.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H3.as
@@ -104,7 +104,7 @@ package org.apache.flex.html
 positioner.style.position = 'relative';
element.flexjs_wrapper = this;
 
-className = typeNames = 'H3';
+//className = typeNames = 'H3';
 
 return element;
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9a872c1a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H4.as
--
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H4.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/H4.as

[32/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - this got renamed

2016-11-05 Thread cdutz
this got renamed


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 1acc00ec28ff9620ea373709fee1ca47edbd4be2
Parents: 069904c
Author: Alex Harui 
Authored: Sun Oct 30 21:06:06 2016 -0700
Committer: Alex Harui 
Committed: Tue Nov 1 08:02:15 2016 -0700

--
 frameworks/projects/Core/src/main/flex/CoreClasses.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1acc00ec/frameworks/projects/Core/src/main/flex/CoreClasses.as
--
diff --git a/frameworks/projects/Core/src/main/flex/CoreClasses.as 
b/frameworks/projects/Core/src/main/flex/CoreClasses.as
index f34684e..797fafb 100644
--- a/frameworks/projects/Core/src/main/flex/CoreClasses.as
+++ b/frameworks/projects/Core/src/main/flex/CoreClasses.as
@@ -169,7 +169,7 @@ internal class CoreClasses
 import org.apache.flex.utils.CSSUtils; CSSUtils;
 
 import org.apache.flex.utils.Proxy; Proxy;
-import org.apache.flex.core.HTMLElementWrapper; HTMLElementWrapper;
+import org.apache.flex.core.UIHTMLElementWrapper; UIHTMLElementWrapper;

COMPILE::JS
{



[51/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - - Merged changes

2016-11-05 Thread cdutz
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/962a81ca/examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductListItem.mxml
--
diff --cc 
examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductListItem.mxml
index edf3516,000..b3b84ea
mode 100755,00..100755
--- 
a/examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductListItem.mxml
+++ 
b/examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductListItem.mxml
@@@ -1,140 -1,0 +1,140 @@@
 +
 +
 +http://ns.adobe.com/mxml/2009; 
 +xmlns:js="library://ns.apache.org/flexjs/basic" 
 +className="listItem" 
 +height="{HEIGHT}" implements="org.apache.flex.core.IItemRenderer">
 +
 +
 +
 +   [Event(name="productQtyChange", 
type="samples.flexstore.ProductListEvent")]
 +   [Event(name="removeProduct", 
type="samples.flexstore.ProductListEvent")]
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
- 
++
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/962a81ca/examples/flexjs/FlexJSStore_jquery/src/main/flex/FlexJSStore.mxml
--
diff --cc examples/flexjs/FlexJSStore_jquery/src/main/flex/FlexJSStore.mxml
index e5621c0,000..6375cb8
mode 100755,00..100755
--- a/examples/flexjs/FlexJSStore_jquery/src/main/flex/FlexJSStore.mxml
+++ b/examples/flexjs/FlexJSStore_jquery/src/main/flex/FlexJSStore.mxml
@@@ -1,268 -1,0 +1,268 @@@
 +
 +
 +http://ns.adobe.com/mxml/2009;
 +xmlns:js="library://ns.apache.org/flexjs/basic" 
 +xmlns:jquery="library://ns.apache.org/flexjs/jquery"
 +xmlns="*"
 +initialize="startService()"
 +  pageTitle="FlexStore">
 +  
 +  
 +  
 +  
 +  
 +  
 +
 +  
 +
 +
 +
 +
 +
 +
 +
 +
 + 
 +
 +
 +
 +
 +
 +
 +  
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 + 
 + 
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/962a81ca/examples/flexjs/FlexJSStore_jquery/src/main/flex/HomeView.mxml
--
diff --cc examples/flexjs/FlexJSStore_jquery/src/main/flex/HomeView.mxml
index 90049b5,000..e667ff3
mode 100755,00..100755
--- a/examples/flexjs/FlexJSStore_jquery/src/main/flex/HomeView.mxml
+++ b/examples/flexjs/FlexJSStore_jquery/src/main/flex/HomeView.mxml
@@@ -1,195 -1,0 +1,195 @@@
 +
 +
 +
 +http://ns.adobe.com/mxml/2009;
 + xmlns:js="library://ns.apache.org/flexjs/basic" 
 + xmlns:jquery="library://ns.apache.org/flexjs/jquery"
 +   xmlns="*" width="990" height="550"
 +   initComplete="updateMapImage()">
 +  
 +  
 +  
 +
 +
 +
 +  
 +  
 +  
 +  
 +  
 +
 +
 +
 +  
 +  
 +  
 +  
 +  
 +  
 +
 +
 +
 +  
 +
 + 
   
 +

[29/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - copy files moved from Graphics to HTML

2016-11-05 Thread cdutz
copy files moved from Graphics to 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/7a65d3d7
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/7a65d3d7
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/7a65d3d7

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 7a65d3d737ba648459d8a0c680045316e99e3e2b
Parents: 1890b71
Author: Alex Harui 
Authored: Fri Oct 28 23:26:57 2016 -0700
Committer: Alex Harui 
Committed: Tue Nov 1 07:59:03 2016 -0700

--
 .../src/main/flex/org/apache/flex/svg/Circle.as | 118 
 .../flex/org/apache/flex/svg/CompoundGraphic.as | 585 +++
 .../main/flex/org/apache/flex/svg/Ellipse.as| 152 +
 .../flex/org/apache/flex/svg/GraphicShape.as| 225 +++
 .../src/main/flex/org/apache/flex/svg/Path.as   | 133 +
 .../src/main/flex/org/apache/flex/svg/Rect.as   | 156 +
 .../src/main/flex/org/apache/flex/svg/Text.as   | 150 +
 7 files changed, 1519 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7a65d3d7/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Circle.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Circle.as 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Circle.as
new file mode 100644
index 000..586bbfd
--- /dev/null
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Circle.as
@@ -0,0 +1,118 @@
+/**
+ * Licensed 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.svg
+{
+   import org.apache.flex.graphics.ICircle;
+
+COMPILE::SWF
+{
+import flash.geom.Point;
+import flash.geom.Rectangle;
+}
+COMPILE::JS
+{
+import org.apache.flex.core.WrappedHTMLElement;
+}
+
+public class Circle extends GraphicShape implements ICircle
+{
+   /**
+*  constructor.
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.7
+*/
+public function Circle(cx:Number=0, cy:Number=0, r:Number=0)
+{
+x = cx;
+y = cy;
+radius = r;
+}
+
+private var _radius:Number;
+
+public function get radius():Number
+{
+return _radius;
+}
+
+public function set radius(value:Number):void
+{
+_radius = value;
+}
+
+COMPILE::JS
+private var _circle:WrappedHTMLElement;
+
+/**
+ *  Draw the circle.
+ *  @param cx The x location of the center of the circle
+ *  @param cy The y location of the center of the circle.
+ *  @param radius The radius of the circle.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ *  @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+ *  @flexjsignorecoercion SVGCircleElement
+ */
+public function drawCircle(cx:Number, cy:Number, radius):void
+{
+COMPILE::SWF
+{
+graphics.clear();
+applyStroke();
+beginFill(new Rectangle(cx,cy,radius*2, radius*2),new 
Point(cx-radius,cy-radius));
+graphics.drawCircle(cx,cy,radius);
+endFill();
+}
+COMPILE::JS
+{
+var style:String = getStyleStr();
+
+if (_circle == null) {
+_circle = 
document.createElementNS('http://www.w3.org/2000/svg', 'circle') as 
WrappedHTMLElement;
+_circle.flexjs_wrapper = this;
+element.appendChild(_circle);
+}
+_circle.setAttribute('style', style);
+if (stroke)
+{
+_circle.setAttribute('cx', radius + stroke.weight);
+_circle.setAttribute('cy', radius + stroke.weight);
+

[11/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - try to copy HTML to Basic without losing history

2016-11-05 Thread cdutz
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/CSSTextButtonView.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/CSSTextButtonView.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/CSSTextButtonView.as
new file mode 100644
index 000..3150e7a
--- /dev/null
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/CSSTextButtonView.as
@@ -0,0 +1,350 @@
+
+//
+//  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.beads
+{
+   import flash.display.DisplayObject;
+   import flash.display.Loader;
+   import flash.display.Shape;
+   import flash.display.SimpleButton;
+   import flash.display.Sprite;
+   import flash.events.Event;
+   import flash.net.URLRequest;
+   import flash.text.TextField;
+   import flash.text.TextFieldType;
+   
+import org.apache.flex.core.BeadViewBase;
+   import org.apache.flex.core.CSSTextField;
+   import org.apache.flex.core.IBeadView;
+   import org.apache.flex.core.IStrand;
+   import org.apache.flex.core.ITextModel;
+   import org.apache.flex.core.ValuesManager;
+   import org.apache.flex.events.Event;
+   import org.apache.flex.events.IEventDispatcher;
+   import org.apache.flex.html.TextButton;
+   import org.apache.flex.utils.CSSUtils;
+import org.apache.flex.utils.SolidBorderUtil;
+import org.apache.flex.utils.StringTrimmer;
+
+/**
+ *  The CSSTextButtonView class is the default view for
+ *  the org.apache.flex.html.TextButton class.
+ *  It allows the look of the button to be expressed
+ *  in CSS via the background-image style and displays
+ *  a text label.  This view does not support right-to-left
+ *  text.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public class CSSTextButtonView extends BeadViewBase implements IBeadView
+   {
+/**
+ *  Constructor.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public function CSSTextButtonView()
+   {
+   upSprite = new Sprite();
+   downSprite = new Sprite();
+   overSprite = new Sprite();
+   upTextField = new CSSTextField();
+   downTextField = new CSSTextField();
+   overTextField = new CSSTextField();
+   upTextField.selectable = false;
+   upTextField.type = TextFieldType.DYNAMIC;
+   downTextField.selectable = false;
+   downTextField.type = TextFieldType.DYNAMIC;
+   overTextField.selectable = false;
+   overTextField.type = TextFieldType.DYNAMIC;
+   upTextField.autoSize = "left";
+   downTextField.autoSize = "left";
+   overTextField.autoSize = "left";
+   upSprite.addChild(upTextField);
+   downSprite.addChild(downTextField);
+   overSprite.addChild(overTextField);
+   }
+   
+   private var textModel:ITextModel;
+   
+   private var shape:Shape;
+   
+/**
+ *  @copy org.apache.flex.core.IBead#strand
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   override public function set strand(value:IStrand):void
+   {
+   _strand = value;
+

[48/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - Adding TeamPage example.

2016-11-05 Thread cdutz
Adding TeamPage example.


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 82a6f7cd5f02ac6f3e125cb0c86bf06c0c1cbd34
Parents: 5de45af
Author: Peter Ent 
Authored: Fri Nov 4 16:04:25 2016 -0400
Committer: Peter Ent 
Committed: Fri Nov 4 16:04:25 2016 -0400

--
 examples/build_example.xml  |   1 +
 examples/flexjs/TeamPage/build.xml  |  61 +++
 .../TeamPage/src/MemberDataJSONItemConverter.as |  55 +++
 .../flexjs/TeamPage/src/MemberItemRenderer.mxml |  87 
 examples/flexjs/TeamPage/src/MyInitialView.mxml |  76 +++
 .../TeamPage/src/NoSelectionController.as   |  38 ++
 examples/flexjs/TeamPage/src/TeamPage.mxml  |  52 ++
 .../flexjs/TeamPage/src/models/MemberList.as|  64 +++
 examples/flexjs/TeamPage/src/models/Person.as   | 110 +
 examples/flexjs/TeamPage/src/team.json  | 485 +++
 10 files changed, 1029 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/82a6f7cd/examples/build_example.xml
--
diff --git a/examples/build_example.xml b/examples/build_example.xml
index 756b06c..87657ad 100644
--- a/examples/build_example.xml
+++ b/examples/build_example.xml
@@ -138,6 +138,7 @@
 
 
 
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/82a6f7cd/examples/flexjs/TeamPage/build.xml
--
diff --git a/examples/flexjs/TeamPage/build.xml 
b/examples/flexjs/TeamPage/build.xml
new file mode 100644
index 000..81f109c
--- /dev/null
+++ b/examples/flexjs/TeamPage/build.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/82a6f7cd/examples/flexjs/TeamPage/src/MemberDataJSONItemConverter.as
--
diff --git a/examples/flexjs/TeamPage/src/MemberDataJSONItemConverter.as 
b/examples/flexjs/TeamPage/src/MemberDataJSONItemConverter.as
new file mode 100644
index 000..cafb4a9
--- /dev/null
+++ b/examples/flexjs/TeamPage/src/MemberDataJSONItemConverter.as
@@ -0,0 +1,55 @@
+
+//
+//  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
+{
+import models.Person;
+
+import org.apache.flex.collections.converters.JSONItemConverter;
+
+public class MemberDataJSONItemConverter extends JSONItemConverter
+{
+public function MemberDataJSONItemConverter()
+{
+super();
+}
+
+override public function convertItem(data:String):Object
+{
+var obj:Object = super.convertItem(data);
+   var person:Person = new Person();
+   person.name = obj["name"];
+   person.title = obj["title"];
+   person.apacheID = obj["apacheID"];
+   person.bio = obj["bio"];
+   person.photoURL = 
"http://flex.apache.org/"+obj["photoURL;];
+   person.url = obj["url"];
+   
+   var social:Array = 

[25/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - move UIBase and UIButtonBase

2016-11-05 Thread cdutz
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/975d3f34/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/UIBase.as
--
diff --git 
a/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/UIBase.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/UIBase.as
new file mode 100644
index 000..0e4a988
--- /dev/null
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/core/UIBase.as
@@ -0,0 +1,1401 @@
+
+//
+//  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.core
+{
+COMPILE::SWF
+{
+import flash.display.DisplayObject;
+import flash.display.Sprite;
+import flash.display.Stage;
+}
+   
+   import org.apache.flex.events.Event;
+   import org.apache.flex.events.IEventDispatcher;
+   import org.apache.flex.events.MouseEvent;
+   import org.apache.flex.events.ValueChangeEvent;
+   import org.apache.flex.events.utils.MouseEventConverter;
+   COMPILE::SWF {
+   import flash.display.InteractiveObject;
+   }
+   
+   /**
+*  Set a different class for click events so that
+*  there aren't dependencies on the flash classes
+*  on the JS side.
+*  
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   [Event(name="click", type="org.apache.flex.events.MouseEvent")]
+   
+/**
+ *  Set a different class for rollOver events so that
+ *  there aren't dependencies on the flash classes
+ *  on the JS side.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+[Event(name="rollOver", type="org.apache.flex.events.MouseEvent")]
+
+/**
+ *  Set a different class for rollOut events so that
+ *  there aren't dependencies on the flash classes
+ *  on the JS side.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+[Event(name="rollOut", type="org.apache.flex.events.MouseEvent")]
+
+/**
+ *  Set a different class for mouseDown events so that
+ *  there aren't dependencies on the flash classes
+ *  on the JS side.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+[Event(name="mouseDown", type="org.apache.flex.events.MouseEvent")]
+
+/**
+ *  Set a different class for mouseUp events so that
+ *  there aren't dependencies on the flash classes
+ *  on the JS side.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+[Event(name="mouseUp", type="org.apache.flex.events.MouseEvent")]
+
+/**
+ *  Set a different class for mouseMove events so that
+ *  there aren't dependencies on the flash classes
+ *  on the JS side.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+[Event(name="mouseMove", type="org.apache.flex.events.MouseEvent")]
+
+/**
+ *  Set a different class for mouseOut events so that
+ *  there aren't dependencies on the flash classes
+ *  on the JS side.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+[Event(name="mouseOut", type="org.apache.flex.events.MouseEvent")]
+
+/**
+ *  Set a different class for mouseOver events so that
+ *  there aren't dependencies on the flash classes
+ *  on the JS side.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  

[31/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - clean build after moving UIBase out of Core

2016-11-05 Thread cdutz
clean build after moving UIBase out of Core


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 069904ce6f7f7605f8e381df0d791987a8fd60af
Parents: 7a65d3d
Author: Alex Harui 
Authored: Sat Oct 29 22:29:12 2016 -0700
Committer: Alex Harui 
Committed: Tue Nov 1 08:02:15 2016 -0700

--
 .../src/main/config/compile-js-config.xml   |  1 +
 .../src/main/config/compile-js-config.xml   |  1 +
 .../Basic/src/main/flex/BasicClasses.as |  8 +++
 .../flex/org/apache/flex/core/Application.as|  4 +++-
 .../org/apache/flex/core/SimpleApplication.as   |  4 +++-
 .../main/flex/org/apache/flex/core/UIBase.as|  4 +++-
 .../projects/Core/src/main/flex/CoreClasses.as  | 12 +++
 .../src/main/config/compile-as-config.xml   |  1 +
 .../src/main/config/compile-as-config.xml   |  1 +
 .../Graphics/src/main/flex/GraphicsClasses.as   | 22 ++--
 .../projects/HTML/src/main/flex/HTMLClasses.as  |  9 
 .../flex/org/apache/flex/core/Application.as|  4 +++-
 .../org/apache/flex/core/SimpleApplication.as   |  4 +++-
 .../main/flex/org/apache/flex/core/UIBase.as|  4 ++--
 14 files changed, 61 insertions(+), 18 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/069904ce/frameworks/js/FlexJS/projects/DragDropJS/src/main/config/compile-js-config.xml
--
diff --git 
a/frameworks/js/FlexJS/projects/DragDropJS/src/main/config/compile-js-config.xml
 
b/frameworks/js/FlexJS/projects/DragDropJS/src/main/config/compile-js-config.xml
index 10ea092..81a4671 100644
--- 
a/frameworks/js/FlexJS/projects/DragDropJS/src/main/config/compile-js-config.xml
+++ 
b/frameworks/js/FlexJS/projects/DragDropJS/src/main/config/compile-js-config.xml
@@ -54,6 +54,7 @@
  if these swcs are on the external-library-path then their requires
  will not be listed -->
 ../../../../../libs/CoreJS.swc
+../../../../../libs/HTMLJS.swc
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/069904ce/frameworks/js/FlexJS/projects/GoogleMapsJS/src/main/config/compile-js-config.xml
--
diff --git 
a/frameworks/js/FlexJS/projects/GoogleMapsJS/src/main/config/compile-js-config.xml
 
b/frameworks/js/FlexJS/projects/GoogleMapsJS/src/main/config/compile-js-config.xml
index 2a1a3e4..93c4572 100644
--- 
a/frameworks/js/FlexJS/projects/GoogleMapsJS/src/main/config/compile-js-config.xml
+++ 
b/frameworks/js/FlexJS/projects/GoogleMapsJS/src/main/config/compile-js-config.xml
@@ -58,6 +58,7 @@
  if these swcs are on the external-library-path then their requires
  will not be listed -->
 ../../../../../libs/CoreJS.swc
+../../../../../libs/HTMLJS.swc
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/069904ce/frameworks/projects/Basic/src/main/flex/BasicClasses.as
--
diff --git a/frameworks/projects/Basic/src/main/flex/BasicClasses.as 
b/frameworks/projects/Basic/src/main/flex/BasicClasses.as
index 2c1665b..e63e9de 100644
--- a/frameworks/projects/Basic/src/main/flex/BasicClasses.as
+++ b/frameworks/projects/Basic/src/main/flex/BasicClasses.as
@@ -189,6 +189,14 @@ internal class BasicClasses
 import org.apache.flex.core.SimpleApplication; SimpleApplication;
import org.apache.flex.svg.GraphicContainer; GraphicContainer;
import org.apache.flex.svg.DOMWrapper; DOMWrapper;
+   
+   import org.apache.flex.svg.GraphicShape; GraphicShape;
+   import org.apache.flex.svg.Rect; Rect;
+   import org.apache.flex.svg.Ellipse; Ellipse;
+   import org.apache.flex.svg.Circle; Circle;
+   import org.apache.flex.svg.Path; Path;
+   import org.apache.flex.svg.Text; Text;
+   import org.apache.flex.svg.CompoundGraphic; CompoundGraphic;
 
 
COMPILE::SWF

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/069904ce/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/Application.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/Application.as 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/Application.as
index ff6e5a6..85609cb 100644
--- 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/Application.as
+++ 

[17/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - copy former core classes into Basic

2016-11-05 Thread cdutz
copy former core classes into Basic


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 8f155cf80a983484689aa7e8c6143bfd7c374458
Parents: efd9dca
Author: Alex Harui 
Authored: Thu Oct 27 16:28:10 2016 -0700
Committer: Alex Harui 
Committed: Tue Nov 1 07:46:52 2016 -0700

--
 .../flex/org/apache/flex/core/Application.as| 637 +++
 .../org/apache/flex/core/ApplicationBase.as | 110 
 .../flex/org/apache/flex/core/ContainerBase.as  | 443 +
 .../flex/core/ContainerBaseStrandChildren.as|  99 +++
 .../org/apache/flex/core/FilledRectangle.as | 125 
 .../main/flex/org/apache/flex/core/ListBase.as  | 126 
 .../apache/flex/core/ListBaseStrandChildren.as  | 100 +++
 .../src/main/flex/org/apache/flex/core/View.as  |  34 +
 .../main/flex/org/apache/flex/core/ViewBase.as  |  97 +++
 9 files changed, 1771 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8f155cf8/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/Application.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/Application.as 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/Application.as
new file mode 100644
index 000..ff6e5a6
--- /dev/null
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/Application.as
@@ -0,0 +1,637 @@
+
+//
+//  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.core
+{
+import org.apache.flex.events.Event;
+import org.apache.flex.events.IEventDispatcher;
+import org.apache.flex.events.MouseEvent;
+import org.apache.flex.events.utils.MouseEventConverter;
+import org.apache.flex.utils.MXMLDataInterpreter;
+   import org.apache.flex.utils.Timer;
+
+COMPILE::SWF {
+import flash.display.DisplayObject;
+import flash.display.Sprite;
+import flash.display.StageAlign;
+import flash.display.StageQuality;
+import flash.display.StageScaleMode;
+import flash.events.Event;
+import flash.system.ApplicationDomain;
+import flash.utils.getQualifiedClassName;
+}
+
+//--
+//  Events
+//--
+
+/**
+ *  Dispatched at startup. Attributes and sub-instances of
+ *  the MXML document have been created and assigned.
+ *  The component lifecycle is different
+ *  than the Flex SDK.  There is no creationComplete event.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+[Event(name="initialize", type="org.apache.flex.events.Event")]
+
+/**
+ *  Dispatched at startup before the instances get created.
+ *  Beads can call preventDefault and defer initialization.
+ *  This event will be dispatched on every frame until no
+ *  listeners call preventDefault(), then the initialize()
+ *  method will be called.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+[Event(name="preinitialize", type="org.apache.flex.events.Event")]
+
+/**
+ *  Dispatched at startup after the initial view has been
+ *  put on the display list. This event is sent before
+ *  applicationComplete is dispatched.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+  

[40/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-asjs into develop

2016-11-05 Thread cdutz
Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-asjs 
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/661fb353
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/661fb353
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/661fb353

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 661fb3536643762604c4b8ee1f4a675434f5c30c
Parents: 956037a 5f8b165
Author: Alex Harui 
Authored: Tue Nov 1 23:22:07 2016 -0700
Committer: Alex Harui 
Committed: Tue Nov 1 23:22:07 2016 -0700

--
 .../main/flex/org/apache/flex/core/ListBase.as  | 11 ++-
 .../main/flex/org/apache/flex/core/ViewBase.as  | 16 -
 .../projects/Core/src/main/flex/CoreClasses.as  |  1 +
 .../flex/org/apache/flex/core/ILayoutParent.as  | 34 +
 .../main/flex/org/apache/flex/html/Container.as |  9 ++-
 .../DataItemRendererFactoryForArrayData.as  |  3 +-
 .../DataItemRendererFactoryForArrayList.as  |  2 +-
 .../DataItemRendererFactoryForColumnData.as |  2 +-
 .../flex/html/beads/layouts/BasicLayout.as  |  7 +-
 .../FlexibleFirstChildHorizontalLayout.as   |  5 +-
 .../flex/html/beads/layouts/HorizontalLayout.as |  6 +-
 .../layouts/OneFlexibleChildHorizontalLayout.as |  6 +-
 .../layouts/OneFlexibleChildVerticalLayout.as   |  5 +-
 .../flex/html/beads/layouts/TileLayout.as   |  9 +--
 .../html/beads/layouts/VerticalColumnLayout.as  |  5 +-
 .../flex/html/beads/layouts/VerticalLayout.as   |  5 +-
 .../html/supportClasses/MXMLItemRenderer.as | 72 
 .../html/supportClasses/UIItemRendererBase.as   |  7 +-
 .../HTML/src/main/resources/basic-manifest.xml  |  1 +
 19 files changed, 182 insertions(+), 24 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/661fb353/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/ListBase.as
--
diff --cc 
frameworks/projects/Basic/src/main/flex/org/apache/flex/core/ListBase.as
index f9c0aaa,000..562e74e
mode 100644,00..100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/ListBase.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/ListBase.as
@@@ -1,126 -1,0 +1,135 @@@
 
+
 +//
 +//  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.core
 +{
 +  import org.apache.flex.core.IMXMLDocument;
 +  import org.apache.flex.core.ValuesManager;
++  import org.apache.flex.core.ILayoutParent;
 +  import org.apache.flex.events.Event;
 +  import org.apache.flex.events.ValueChangeEvent;
 +  import org.apache.flex.states.State;
 +  import org.apache.flex.utils.MXMLDataInterpreter;
 +
 +/**
 + *  The ListBase class is the base class for most lists
 + *  in FlexJS.
 + *  
 + *  @langversion 3.0
 + *  @playerversion Flash 10.2
 + *  @playerversion AIR 2.6
 + *  @productversion FlexJS 0.0
 + */
-   public class ListBase extends UIBase implements IContentViewHost
++  public class ListBase extends UIBase implements IContentViewHost, 
ILayoutParent
 +  {
 +/**
 + *  Constructor.
 + *  
 + *  @langversion 3.0
 + *  @playerversion Flash 10.2
 + *  @playerversion AIR 2.6
 + *  @productversion FlexJS 0.0
 + */
 +  public function ListBase()
 +  {
 +  super();
 +
 +  _strandChildren = new ListBaseStrandChildren(this);
 +  }
 +  
 +  private var _strandChildren:ListBaseStrandChildren;
 +  
 +  /**
 +   * @private
 +   */
 +  public function get strandChildren():IParent
 + 

[43/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - browser Event.target is not writable. We should be using org.apache.flex.events.Event anyway

2016-11-05 Thread cdutz
browser Event.target is not writable.  We should be using 
org.apache.flex.events.Event anyway


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 019d1d2140487078a727beeb9276ed25063125a1
Parents: e6a4493
Author: Alex Harui 
Authored: Thu Nov 3 09:05:55 2016 -0700
Committer: Alex Harui 
Committed: Thu Nov 3 09:05:55 2016 -0700

--
 .../src/main/flex/org/apache/flex/createjs/graphics/Circle.as   | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/019d1d21/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/graphics/Circle.as
--
diff --git 
a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/graphics/Circle.as
 
b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/graphics/Circle.as
index a461425..d16918b 100644
--- 
a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/graphics/Circle.as
+++ 
b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/graphics/Circle.as
@@ -32,6 +32,7 @@ package org.apache.flex.createjs.graphics
 import org.apache.flex.core.WrappedHTMLElement;
 }
 
+import org.apache.flex.events.Event;
import org.apache.flex.graphics.IFill;
import org.apache.flex.graphics.SolidColor;
import org.apache.flex.graphics.SolidColorStroke;



[03/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - try to copy HTML to Basic without losing history

2016-11-05 Thread cdutz
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/models/ImageAndTextModel.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/models/ImageAndTextModel.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/models/ImageAndTextModel.as
new file mode 100644
index 000..01dd3e9
--- /dev/null
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/models/ImageAndTextModel.as
@@ -0,0 +1,77 @@
+
+//
+//  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.beads.models
+{  
+   import org.apache.flex.core.IBead;
+   import org.apache.flex.core.IStrand;
+   import org.apache.flex.core.ITextModel;
+   import org.apache.flex.events.Event;
+   import org.apache.flex.events.EventDispatcher;
+   import org.apache.flex.events.IEventDispatcher;
+   
+/**
+ *  The ImageAndTextModel class is associates and image
+ *  with some text. 
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public class ImageAndTextModel extends TextModel
+   {
+/**
+ *  Constructor.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public function ImageAndTextModel()
+   {
+   }
+   
+
+private var _image:String;
+
+/**
+ *  The URL of an icon to use in the button
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+public function get image():String
+{
+return _image;
+}
+
+/**
+ *  @private
+ */
+public function set image(value:String):void
+{
+_image = value;
+dispatchEvent(new Event("imageChange"));
+}
+
+   }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/models/ImageModel.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/models/ImageModel.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/models/ImageModel.as
new file mode 100644
index 000..7742c2b
--- /dev/null
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/models/ImageModel.as
@@ -0,0 +1,89 @@
+
+//
+//  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.beads.models
+{
+   import org.apache.flex.core.IImageModel;
+   import org.apache.flex.core.IStrand;
+   import org.apache.flex.events.Event;
+   import 

[47/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - Span and Div html classes

2016-11-05 Thread cdutz
Span and Div html classes


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 5de45afe44c5520a0877b058d32734954a481f8b
Parents: 9a872c1
Author: Carlos Rovira 
Authored: Fri Nov 4 17:41:49 2016 +0100
Committer: Carlos Rovira 
Committed: Fri Nov 4 17:42:58 2016 +0100

--
 .../src/main/flex/org/apache/flex/html/Div.as   | 112 +++
 .../src/main/flex/org/apache/flex/html/Span.as  | 112 +++
 .../HTML/src/main/resources/basic-manifest.xml  |   2 +
 3 files changed, 226 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5de45afe/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Div.as
--
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Div.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Div.as
new file mode 100644
index 000..0e1815f
--- /dev/null
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Div.as
@@ -0,0 +1,112 @@
+
+//
+//  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.UIBase;
+
+COMPILE::JS
+{
+import org.apache.flex.core.WrappedHTMLElement;
+}
+
+   /**
+*  The Div class represents an HTML  element
+ *  
+*  
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public class Div extends UIBase
+   {
+   /**
+*  constructor.
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public function Div()
+   {
+   super();
+   }
+   
+private var _text:String = "";
+
+/**
+ *  The text of the heading
+ *  
+ *  @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
+   {
+COMPILE::SWF
+{
+_text = value;
+}
+COMPILE::JS
+{
+textNode.nodeValue = value;
+}
+   }
+   
+COMPILE::JS
+private var textNode:Text;
+   
+/**
+ * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+* @flexjsignorecoercion HTMLDivElement
+ */
+COMPILE::JS
+override protected function createElement():WrappedHTMLElement
+{
+   var div:HTMLElement = document.createElement('div') as 
HTMLDivElement;
+
+textNode = document.createTextNode('') as Text;
+div.appendChild(textNode); 
+
+   element = div as WrappedHTMLElement;
+
+positioner = element;
+positioner.style.position = 'relative';
+   element.flexjs_wrapper = this;
+
+//className = 

[19/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - move implementation classes to HTML so variants can exist in other SWCs

2016-11-05 Thread cdutz
move implementation classes to HTML so variants can exist in other SWCs


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: efd9dcad4ca87c3050f4ee84810f08577f0e4118
Parents: 21c9340
Author: Alex Harui 
Authored: Thu Oct 27 15:48:16 2016 -0700
Committer: Alex Harui 
Committed: Tue Nov 1 07:46:52 2016 -0700

--
 .../flex/org/apache/flex/core/Application.as| 560 ---
 .../org/apache/flex/core/ApplicationBase.as | 109 
 .../flex/org/apache/flex/core/ContainerBase.as  | 453 ---
 .../flex/core/ContainerBaseStrandChildren.as|  99 
 .../org/apache/flex/core/FilledRectangle.as | 125 -
 .../main/flex/org/apache/flex/core/ListBase.as  | 126 -
 .../apache/flex/core/ListBaseStrandChildren.as  | 100 
 .../src/main/flex/org/apache/flex/core/View.as  |  34 --
 .../main/flex/org/apache/flex/core/ViewBase.as  |  97 
 .../flex/org/apache/flex/core/Application.as| 560 +++
 .../org/apache/flex/core/ApplicationBase.as | 109 
 .../flex/org/apache/flex/core/ContainerBase.as  | 453 +++
 .../flex/core/ContainerBaseStrandChildren.as|  99 
 .../org/apache/flex/core/FilledRectangle.as | 125 +
 .../main/flex/org/apache/flex/core/ListBase.as  | 126 +
 .../apache/flex/core/ListBaseStrandChildren.as  | 100 
 .../src/main/flex/org/apache/flex/core/View.as  |  34 ++
 .../main/flex/org/apache/flex/core/ViewBase.as  |  97 
 18 files changed, 1703 insertions(+), 1703 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/efd9dcad/frameworks/projects/Core/src/main/flex/org/apache/flex/core/Application.as
--
diff --git 
a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/Application.as 
b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/Application.as
deleted file mode 100644
index 0a9c69a..000
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/Application.as
+++ /dev/null
@@ -1,560 +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.core
-{
-import org.apache.flex.events.Event;
-import org.apache.flex.events.IEventDispatcher;
-import org.apache.flex.events.MouseEvent;
-import org.apache.flex.events.utils.MouseEventConverter;
-import org.apache.flex.utils.MXMLDataInterpreter;
-import org.apache.flex.utils.Timer;
-
-COMPILE::SWF {
-import flash.display.DisplayObject;
-import flash.display.Graphics;
-import flash.display.Sprite;
-   import flash.events.Event;
-import flash.system.ApplicationDomain;
-import flash.utils.getQualifiedClassName;
-}
-
-//--
-//  Events
-//--
-
-/**
- *  Dispatched at startup. Attributes and sub-instances of
- *  the MXML document have been created and assigned.
- *  The component lifecycle is different
- *  than the Flex SDK.  There is no creationComplete event.
- *
- *  @langversion 3.0
- *  @playerversion Flash 10.2
- *  @playerversion AIR 2.6
- *  @productversion FlexJS 0.0
- */
-[Event(name="initialize", type="org.apache.flex.events.Event")]
-
-/**
- *  Dispatched at startup before the instances get created.
- *  Beads can call preventDefault and defer initialization.
- *  This event will be dispatched on every frame until no
- *  listeners call preventDefault(), then the initialize()
- *  method will be called.
-   

[35/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - change TextButton to inherit from Button instead of ButtonBase so it picks up default styles on Button

2016-11-05 Thread cdutz
change TextButton to inherit from Button instead of ButtonBase so it picks up 
default styles on 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/a5cf2777
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/a5cf2777
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/a5cf2777

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: a5cf27772f5bf71b92c8042f9c6ac1c4a03787bb
Parents: fdc2a4c
Author: Alex Harui 
Authored: Mon Oct 31 23:36:11 2016 -0700
Committer: Alex Harui 
Committed: Tue Nov 1 08:12:11 2016 -0700

--
 .../projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a5cf2777/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as
--
diff --git 
a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as
index a08c9b3..b2997c2 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as
@@ -35,7 +35,7 @@ package org.apache.flex.html
  *  @playerversion AIR 2.6
  *  @productversion FlexJS 0.0
  */
-   public class TextButton extends ButtonBase
+   public class TextButton extends Button
{
 /**
  *  Constructor.



[21/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - clean build after moving and forking files

2016-11-05 Thread cdutz
clean build after moving and forking files


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 87ee711439b55ded11edb33ce1451728808b0226
Parents: 6fee345
Author: Alex Harui 
Authored: Thu Oct 27 23:15:04 2016 -0700
Committer: Alex Harui 
Committed: Tue Nov 1 07:55:19 2016 -0700

--
 .../Basic/src/main/flex/BasicClasses.as |   9 +
 .../org/apache/flex/core/SimpleApplication.as   | 102 +
 .../main/flex/org/apache/flex/svg/DOMWrapper.as |  56 +
 .../org/apache/flex/svg/GraphicContainer.as | 208 +++
 .../Basic/src/main/resources/basic-manifest.xml |   2 +
 .../projects/Basic/src/test/flex/build.xml  |   2 +
 frameworks/projects/Core/build.xml  |   2 +-
 .../projects/Core/src/main/flex/CoreClasses.as  |   7 -
 .../apache/flex/core/BrowserResizeListener.as   |   4 +-
 .../org/apache/flex/core/BrowserScroller.as |   4 +-
 .../apache/flex/core/IInitialViewApplication.as |  61 ++
 .../Core/src/main/resources/basic-manifest.xml  |   2 -
 .../Graphics/src/main/flex/GraphicsClasses.as   |   2 -
 .../projects/HTML/src/main/flex/HTMLClasses.as  |   8 +
 .../HTML/src/main/resources/basic-manifest.xml  |   2 +
 .../projects/HTML/src/test/flex/build.xml   |   2 +
 16 files changed, 457 insertions(+), 16 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/87ee7114/frameworks/projects/Basic/src/main/flex/BasicClasses.as
--
diff --git a/frameworks/projects/Basic/src/main/flex/BasicClasses.as 
b/frameworks/projects/Basic/src/main/flex/BasicClasses.as
index 527d182..2c1665b 100644
--- a/frameworks/projects/Basic/src/main/flex/BasicClasses.as
+++ b/frameworks/projects/Basic/src/main/flex/BasicClasses.as
@@ -181,6 +181,15 @@ internal class BasicClasses
 
import org.apache.flex.html.beads.WebBrowserView; WebBrowserView;
import org.apache.flex.html.beads.models.WebBrowserModel; 
WebBrowserModel;
+   
+   import org.apache.flex.core.ListBase; ListBase;
+   import org.apache.flex.core.ListBaseStrandChildren; 
ListBaseStrandChildren;
+   import org.apache.flex.core.FilledRectangle; FilledRectangle;
+import org.apache.flex.core.UIBase; UIBase;
+import org.apache.flex.core.SimpleApplication; SimpleApplication;
+   import org.apache.flex.svg.GraphicContainer; GraphicContainer;
+   import org.apache.flex.svg.DOMWrapper; DOMWrapper;
+
 
COMPILE::SWF
{

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/87ee7114/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/SimpleApplication.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/SimpleApplication.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/SimpleApplication.as
new file mode 100644
index 000..b824288
--- /dev/null
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/SimpleApplication.as
@@ -0,0 +1,102 @@
+
+//
+//  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.core
+{
+   COMPILE::SWF
+   {
+import flash.display.DisplayObject;
+import flash.display.Sprite;
+import flash.display.StageAlign;
+import flash.display.StageQuality;
+import flash.display.StageScaleMode;
+import flash.events.Event;
+import flash.system.ApplicationDomain;
+import flash.utils.getQualifiedClassName;
+   }
+   
+import org.apache.flex.events.Event;
+import org.apache.flex.events.IEventDispatcher;
+

[27/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - fix up after moving UIButtonBase

2016-11-05 Thread cdutz
fix up after moving UIButtonBase


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 1890b715660130240ef613890e92c26cbe19177d
Parents: 0d06e65
Author: Alex Harui 
Authored: Fri Oct 28 23:21:25 2016 -0700
Committer: Alex Harui 
Committed: Tue Nov 1 07:59:02 2016 -0700

--
 frameworks/projects/Core/src/main/flex/CoreClasses.as | 4 
 1 file changed, 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1890b715/frameworks/projects/Core/src/main/flex/CoreClasses.as
--
diff --git a/frameworks/projects/Core/src/main/flex/CoreClasses.as 
b/frameworks/projects/Core/src/main/flex/CoreClasses.as
index 325b36a..6be1c0b 100644
--- a/frameworks/projects/Core/src/main/flex/CoreClasses.as
+++ b/frameworks/projects/Core/src/main/flex/CoreClasses.as
@@ -98,10 +98,6 @@ internal class CoreClasses
}
 import org.apache.flex.core.SimpleStatesImpl; SimpleStatesImpl;
 import org.apache.flex.core.DataBindingBase; DataBindingBase;
-   COMPILE::SWF
-   {
-   import org.apache.flex.core.UIButtonBase; UIButtonBase;
-   }
import org.apache.flex.events.CustomEvent; CustomEvent;
 import org.apache.flex.events.Event; Event;
 import org.apache.flex.events.ProgressEvent; ProgressEvent;



[50/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - - Added the TeamPage to the examples build - Fine-tuned the pom.xml of the TeamPage

2016-11-05 Thread cdutz
- Added the TeamPage to the examples build
- Fine-tuned the pom.xml of the TeamPage


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 666b7615401ef805d9494ec7a471162b68dcd44f
Parents: bb65616
Author: Christofer Dutz 
Authored: Sat Nov 5 16:10:25 2016 +0100
Committer: Christofer Dutz 
Committed: Sat Nov 5 16:10:25 2016 +0100

--
 examples/flexjs/TeamPage/pom.xml | 13 -
 examples/flexjs/pom.xml  |  1 +
 2 files changed, 9 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/666b7615/examples/flexjs/TeamPage/pom.xml
--
diff --git a/examples/flexjs/TeamPage/pom.xml b/examples/flexjs/TeamPage/pom.xml
index 0995656..b407b02 100644
--- a/examples/flexjs/TeamPage/pom.xml
+++ b/examples/flexjs/TeamPage/pom.xml
@@ -42,8 +42,9 @@
 flexjs-maven-plugin
 true
 
-  20.0
   TeamPage.mxml
+  
+  
 
 
   
@@ -71,12 +72,13 @@
   
 
   
-
+
+
 
 
   org.apache.flex.flexjs.framework
@@ -95,7 +97,8 @@
 
 
 
-
+
+
   
 
 
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/666b7615/examples/flexjs/pom.xml
--
diff --git a/examples/flexjs/pom.xml b/examples/flexjs/pom.xml
index cf65ec1..08a2c1c 100644
--- a/examples/flexjs/pom.xml
+++ b/examples/flexjs/pom.xml
@@ -53,6 +53,7 @@
 MobileTrader
 StorageExample
 StyleExample
+TeamPage
 TodoListSampleApp
 TreeExample
   



[44/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - HTML Anchor class

2016-11-05 Thread cdutz
HTML Anchor class


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 010ec0b54aa3c203c9df3cc19641287e940513a8
Parents: 019d1d2
Author: Carlos Rovira 
Authored: Fri Nov 4 15:39:05 2016 +0100
Committer: Carlos Rovira 
Committed: Fri Nov 4 15:41:02 2016 +0100

--
 .../main/flex/org/apache/flex/html/Anchor.as| 138 +++
 .../HTML/src/main/resources/basic-manifest.xml  |   2 +
 2 files changed, 140 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/010ec0b5/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Anchor.as
--
diff --git 
a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Anchor.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Anchor.as
new file mode 100644
index 000..a967aef
--- /dev/null
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Anchor.as
@@ -0,0 +1,138 @@
+
+//
+//  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.UIBase;
+
+COMPILE::JS
+{
+import org.apache.flex.core.WrappedHTMLElement;
+}
+
+   /**
+*  The Anchor class represents an HTML  element
+ *  
+*  
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public class Anchor extends UIBase
+   {
+   /**
+*  constructor.
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public function Anchor()
+   {
+   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
+   {
+COMPILE::SWF
+{
+_text = value;
+}
+COMPILE::JS
+{
+textNode.nodeValue = value;
+}
+   }
+
+private var _href:String = "#";
+
+/**
+ *  the link url
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public function get href():String
+   {
+return _href;   
+   }
+
+   public function set href(value:String):void
+   {
+_href = value;
+
+COMPILE::JS
+{
+(element as HTMLElement).setAttribute('href', value);
+}
+   }
+   
+COMPILE::JS
+private var textNode:Text;
+   
+/**
+ * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+* @flexjsignorecoercion HTMLElement
+ */
+  

[12/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - try to copy HTML to Basic without losing history

2016-11-05 Thread cdutz
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/ToggleTextButton.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/ToggleTextButton.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/ToggleTextButton.as
new file mode 100644
index 000..be86d41
--- /dev/null
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/ToggleTextButton.as
@@ -0,0 +1,170 @@
+
+//
+//  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.IToggleButtonModel;
+   import org.apache.flex.core.IUIBase;
+   import org.apache.flex.core.ValuesManager;
+   import org.apache.flex.events.IEventDispatcher;
+
+COMPILE::JS
+{
+import org.apache.flex.core.WrappedHTMLElement;
+}
+
+//--
+//  Events
+//--
+
+/**
+ *  Dispatched when the user clicks on a button.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   [Event(name="click", type="org.apache.flex.events.MouseEvent")]
+
+/**
+ *  The ToggleButton class is a TextButton that supports
+ *  a selected property.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public class ToggleTextButton extends TextButton implements IStrand, 
IEventDispatcher, IUIBase
+   {
+/**
+ *  Constructor.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+   public function ToggleTextButton()
+   {
+   super();
+COMPILE::JS
+{
+this.typeNames = 'toggleTextButton';
+}
+   }
+
+COMPILE::JS
+private var _selected:Boolean;
+
+COMPILE::JS
+private var SELECTED:String = "selected";
+
+/**
+ *  true if the Button is selected.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+public function get selected():Boolean
+{
+COMPILE::SWF
+{
+return IToggleButtonModel(model).selected;
+}
+COMPILE::JS
+{
+return _selected;
+}
+}
+
+/**
+ *  @private
+ */
+public function set selected(value:Boolean):void
+{
+COMPILE::SWF
+{
+IToggleButtonModel(model).selected = value;
+}
+COMPILE::JS
+{
+if (_selected != value)
+{
+_selected = value;
+
+var className:String = this.className;
+var typeNames:String = this.typeNames;
+if (value) {
+if (typeNames.indexOf(SELECTED) == -1) {
+typeNames = typeNames + SELECTED;
+if (className)
+element.className = typeNames + ' ' + 
className;
+else
+element.className = typeNames;
+}
+}
+else {
+if (typeNames.indexOf(SELECTED) == typeNames.length - 
SELECTED.length) {
+typeNames = typeNames.substring(0, 
typeNames.length - SELECTED.length);
+if (className)
+

[16/54] [abbrv] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - also move SimpleApplication

2016-11-05 Thread cdutz
also move SimpleApplication


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: f241391dfac6a12a4c72aad20dacc258e0b1438e
Parents: 8f155cf
Author: Alex Harui 
Authored: Thu Oct 27 17:25:53 2016 -0700
Committer: Alex Harui 
Committed: Tue Nov 1 07:46:52 2016 -0700

--
 .../org/apache/flex/core/SimpleApplication.as   | 102 ---
 .../org/apache/flex/core/SimpleApplication.as   | 102 +++
 2 files changed, 102 insertions(+), 102 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f241391d/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleApplication.as
--
diff --git 
a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleApplication.as
 
b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleApplication.as
deleted file mode 100644
index 770d0b2..000
--- 
a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleApplication.as
+++ /dev/null
@@ -1,102 +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.core
-{
-   COMPILE::SWF
-   {
-import flash.display.DisplayObject;
-import flash.display.Sprite;
-import flash.display.StageAlign;
-import flash.display.StageQuality;
-import flash.display.StageScaleMode;
-import flash.events.Event;
-import flash.system.ApplicationDomain;
-import flash.utils.getQualifiedClassName;
-   }
-   
-import org.apache.flex.events.Event;
-import org.apache.flex.events.IEventDispatcher;
-import org.apache.flex.events.MouseEvent;
-import org.apache.flex.events.utils.MouseEventConverter;
-import org.apache.flex.utils.MXMLDataInterpreter;
-
-   /**
-*  A SWF application must be bootstrapped by a Flash Sprite.
-*  The factory class is the default bootstrap.
-*  
-*  @langversion 3.0
-*  @playerversion Flash 9
-*  @playerversion AIR 1.1
-*  @productversion Flex 3
-*/
-   [Frame(factoryClass="org.apache.flex.core.ApplicationFactory")]
-   
-/**
- *  The SimpleApplication class can be used as the main class and entry 
point
- *  for low-level ActionScript-only FlexJS
- *  applications.  It is not indended for use in MXML applications or most
- *  of the FlexJS components as they expect a certain application lifecycle
- *  in the org.apache.flex.core.Application class.
- *  
- *  @langversion 3.0
- *  @playerversion Flash 10.2
- *  @playerversion AIR 2.6
- *  @productversion FlexJS 0.0
- */
-public class SimpleApplication extends ApplicationBase
-{
-/**
- *  Constructor.
- *  
- *  @langversion 3.0
- *  @playerversion Flash 10.2
- *  @playerversion AIR 2.6
- *  @productversion FlexJS 0.0
- */
-public function SimpleApplication()
-{
-super();
-   }
-
-   COMPILE::SWF
-public function setRoot(r:WrappedMovieClip):void
-{
-   element = r;
-   start();
-}
-
-/**
- *  The entry point.  Override this and put all of your code in here.
- *  
- *  @langversion 3.0
- *  @playerversion Flash 10.2
- *  @playerversion AIR 2.6
- *  @productversion FlexJS 0.0
- */
-   public function start():void
-   {
- COMPILE::JS
- {
-   

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

2016-11-05 Thread carlosrovira
Repository: flex-asjs
Updated Branches:
  refs/heads/feature/mdl a07f61840 -> 88bc82f56


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;
 }


[14/23] git commit: [flex-falcon] [refs/heads/feature-autobuild/example-maven-dirs] - - Continued removing VF2JS code references.

2016-11-05 Thread cdutz
- Continued removing VF2JS code references.


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: bf093cbe5973b506523c55f1584e1d1a9cc1c304
Parents: 3724c2f
Author: Christofer Dutz 
Authored: Mon Oct 31 15:29:08 2016 +0100
Committer: Christofer Dutz 
Committed: Mon Oct 31 15:29:08 2016 +0100

--
 compiler-jx/pom.xml |  2 --
 .../flex/compiler/clients/VF2JSToolGroup.java   | 35 
 .../codegen/js/flexjs/JSFlexJSDocEmitter.java   |  1 -
 .../codegen/js/goog/JSGoogDocEmitter.java   |  1 -
 .../js/jx/ObjectDefinePropertyEmitter.java  |  1 -
 .../internal/projects/FlexJSProject.java|  1 -
 .../internal/visitor/as/ASNodeSwitch.java   |  1 -
 .../org.apache.flex.tools.FlexToolGroup |  1 -
 compiler-jx/src/test/build.xml  |  2 --
 9 files changed, 45 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/bf093cbe/compiler-jx/pom.xml
--
diff --git a/compiler-jx/pom.xml b/compiler-jx/pom.xml
index 01a307b..f89c02f 100644
--- a/compiler-jx/pom.xml
+++ b/compiler-jx/pom.xml
@@ -48,8 +48,6 @@
 **/TestGoogClass.java
 **/TestGoogEmitter.java
 **/TestGoogFile.java
-**/TestVF2JSFile.java
-**/TestVF2JSMXMLApplication.java
 **/TestFlexJSMXMLApplication.java
 **/TestFlexJSMXMLScript.java
   

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/bf093cbe/compiler-jx/src/main/java/org/apache/flex/compiler/clients/VF2JSToolGroup.java
--
diff --git 
a/compiler-jx/src/main/java/org/apache/flex/compiler/clients/VF2JSToolGroup.java
 
b/compiler-jx/src/main/java/org/apache/flex/compiler/clients/VF2JSToolGroup.java
deleted file mode 100644
index 07cb796..000
--- 
a/compiler-jx/src/main/java/org/apache/flex/compiler/clients/VF2JSToolGroup.java
+++ /dev/null
@@ -1,35 +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.compiler.clients;
-
-import org.apache.flex.tools.AbstractFlexToolGroup;
-
-/**
- * Created by christoferdutz on 10.11.14.
- */
-public class VF2JSToolGroup extends AbstractFlexToolGroup {
-
-public VF2JSToolGroup() {
-super("VF2JS");
-//addFlexTool(new COMPJSC(new MXMLVF2JSBackend()));
-//addFlexTool(new MXMLJSC(new MXMLVF2JSBackend()));
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/bf093cbe/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSDocEmitter.java
--
diff --git 
a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSDocEmitter.java
 
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSDocEmitter.java
index 80dde56..9f3afb0 100644
--- 
a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSDocEmitter.java
+++ 
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSDocEmitter.java
@@ -229,7 +229,6 @@ public class JSFlexJSDocEmitter extends JSGoogDocEmitter

IExpressionNode enode = pnode.getNameExpressionNode();

-   // ToDo (erikdebruin): add VF2JS conditional -> only 
use check during full SDK compilation
ITypeDefinition tdef = enode.resolveType(project);
if (tdef == null)
continue;


  1   2   >