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

2016-10-24 Thread carlosrovira
Repository: flex-asjs
Updated Branches:
  refs/heads/feature/mdl f55622378 -> 9d43a6808


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

Branch: refs/heads/feature/mdl
Commit: 9d43a6808a336e5bb70a7c08e651149302e8fb58
Parents: f556223
Author: Carlos Rovira 
Authored: Tue Oct 25 00:06:03 2016 +0200
Committer: Carlos Rovira 
Committed: Tue Oct 25 00:06:03 2016 +0200

--
 .../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/9d43a680/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;
 

Jenkins build is back to normal : flex-flexunit #797

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



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

2016-10-24 Thread carlosrovira
Repository: flex-asjs
Updated Branches:
  refs/heads/feature/mdl fe5707a4f -> f55622378


Remove css defaults fro HTML.swc and some update to actual components 
implementation fixing styles and behaviors


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

Branch: refs/heads/feature/mdl
Commit: f55622378159697e4fd175cbba06e0936a8b03bc
Parents: fe5707a
Author: Carlos Rovira 
Authored: Mon Oct 24 20:19:06 2016 +0200
Committer: Carlos Rovira 
Committed: Mon Oct 24 20:19:06 2016 +0200

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


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

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

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

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

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

Branch: refs/heads/feature/mdl
Commit: 5cc1523c063338ee062d534124bc1815c9892f4e
Parents: 4c9ab06
Author: Carlos Rovira 
Authored: Fri Oct 14 20:51:28 2016 +0200
Committer: Carlos Rovira 
Committed: Mon Oct 24 18:00:38 2016 +0200

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


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


[09/19] git commit: [flex-asjs] [refs/heads/feature/mdl] - MDL TextInput

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

Branch: refs/heads/feature/mdl
Commit: b5f7745773aeeb84861293fe6750bcc880126a92
Parents: ff83d54
Author: Carlos Rovira 
Authored: Mon Oct 17 13:40:29 2016 +0200
Committer: Carlos Rovira 
Committed: Mon Oct 24 18:00:38 2016 +0200

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


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

[01/19] git commit: [flex-asjs] [refs/heads/feature/mdl] - use maven target folder if exists [Forced Update!]

2016-10-24 Thread carlosrovira
Repository: flex-asjs
Updated Branches:
  refs/heads/feature/mdl 38569fa41 -> fe5707a4f (forced update)


use maven target folder if exists


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

Branch: refs/heads/feature/mdl
Commit: afdc5f4460cb9817801416edd83ccad3d2023db1
Parents: eb3a8b1
Author: Alex Harui 
Authored: Fri Oct 21 22:19:17 2016 -0700
Committer: Alex Harui 
Committed: Fri Oct 21 22:19:17 2016 -0700

--
 cordova-build.xml | 11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/afdc5f44/cordova-build.xml
--
diff --git a/cordova-build.xml b/cordova-build.xml
index 5217dbc..786be15 100644
--- a/cordova-build.xml
+++ b/cordova-build.xml
@@ -24,7 +24,8 @@

 ./* run ANT here */
 ./src/.mxml   /* The main application MXML tag */
-./bin/js-debug /* The result of building APP.mxml via mxmlc
+./bin/js-debug   /* The result of building 
APP.mxml via mxmlc, or
+ ./target/javascript/bin/js-debug /* The result of building 
APP.mxml via maven
 ./app//* The Cordova application directory
 
 1. This ANT script will build the template Cordova app/APP if it 
does not
@@ -55,6 +56,10 @@


 
+
+
+
+



@@ -121,7 +126,7 @@
 


-   
+   

 
 
@@ -166,7 +171,7 @@
 -->
 
 
-   
+   

 
 



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

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

Branch: refs/heads/feature/mdl
Commit: cf5bb6ed3f6ae7345b3dc23abd414a47696cfea9
Parents: c5d6ecf
Author: Carlos Rovira 
Authored: Sun Oct 16 11:05:38 2016 +0200
Committer: Carlos Rovira 
Committed: Mon Oct 24 18:00:38 2016 +0200

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


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



[02/19] git commit: [flex-asjs] [refs/heads/feature/mdl] - - Added support for Cordova packaging (In order to have this working, you have to enable the "with-cordova" maven profile)

2016-10-24 Thread carlosrovira
- Added support for Cordova packaging (In order to have this working, you have 
to enable the "with-cordova" maven profile)


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

Branch: refs/heads/feature/mdl
Commit: c0007ff9d3595097ee5dc8d94b6f3040cf504f3c
Parents: afdc5f4
Author: Christofer Dutz 
Authored: Sun Oct 23 11:51:00 2016 +0200
Committer: Christofer Dutz 
Committed: Sun Oct 23 11:51:00 2016 +0200

--
 examples/flexjs/CordovaCameraExample/pom.xml| 17 +
 .../CordovaCameraExample/resources/config.xml   | 44 +
 examples/flexjs/MobileMap/pom.xml   |  4 ++
 examples/flexjs/MobileMap/resources/config.xml  | 44 +
 examples/flexjs/MobileStocks/pom.xml|  4 ++
 .../flexjs/MobileStocks/resources/config.xml| 44 +
 examples/flexjs/MobileTrader/pom.xml|  4 ++
 .../flexjs/MobileTrader/resources/config.xml| 44 +
 examples/flexjs/StorageExample/pom.xml  |  4 ++
 .../flexjs/StorageExample/resources/config.xml  | 44 +
 examples/pom.xml| 40 
 src/site/site.xml   | 65 
 12 files changed, 343 insertions(+), 15 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c0007ff9/examples/flexjs/CordovaCameraExample/pom.xml
--
diff --git a/examples/flexjs/CordovaCameraExample/pom.xml 
b/examples/flexjs/CordovaCameraExample/pom.xml
index dd9bc94..54e0853 100644
--- a/examples/flexjs/CordovaCameraExample/pom.xml
+++ b/examples/flexjs/CordovaCameraExample/pom.xml
@@ -52,23 +52,10 @@
 org.apache.maven.plugins
 maven-war-plugin
   
-  
-  
+  
 
   
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c0007ff9/examples/flexjs/CordovaCameraExample/resources/config.xml
--
diff --git a/examples/flexjs/CordovaCameraExample/resources/config.xml 
b/examples/flexjs/CordovaCameraExample/resources/config.xml
new file mode 100644
index 000..00b9f64
--- /dev/null
+++ b/examples/flexjs/CordovaCameraExample/resources/config.xml
@@ -0,0 +1,44 @@
+
+
+http://www.w3.org/ns/widgets; 
xmlns:cdv="http://cordova.apache.org/ns/1.0;>
+${artifactId}
+
+${description}
+
+http://flex.apache.org;>
+Apache Flex Team
+
+
+
+
+http://*/*; />
+https://*/*; />
+
+
+mailto:*; />
+
+
+
+
+
+
+
+
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c0007ff9/examples/flexjs/MobileMap/pom.xml
--
diff --git a/examples/flexjs/MobileMap/pom.xml 
b/examples/flexjs/MobileMap/pom.xml
index 71fa5de..4b7088a 100644
--- a/examples/flexjs/MobileMap/pom.xml
+++ b/examples/flexjs/MobileMap/pom.xml
@@ -59,6 +59,10 @@
 org.codehaus.mojo
 build-helper-maven-plugin
   
+  
+org.jboss.errai
+cordova-maven-plugin
+  
 
   
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c0007ff9/examples/flexjs/MobileMap/resources/config.xml
--
diff --git a/examples/flexjs/MobileMap/resources/config.xml 
b/examples/flexjs/MobileMap/resources/config.xml
new file mode 100644
index 000..00b9f64
--- /dev/null
+++ b/examples/flexjs/MobileMap/resources/config.xml
@@ -0,0 +1,44 @@
+
+
+http://www.w3.org/ns/widgets; 
xmlns:cdv="http://cordova.apache.org/ns/1.0;>
+${artifactId}
+
+${description}
+
+http://flex.apache.org;>
+Apache Flex Team
+
+
+
+
+http://*/*; />
+https://*/*; />
+
+
+mailto:*; />
+
+
+
+
+
+
+
+
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c0007ff9/examples/flexjs/MobileStocks/pom.xml
--
diff --git a/examples/flexjs/MobileStocks/pom.xml 
b/examples/flexjs/MobileStocks/pom.xml
index f34b042..dd9a9f2 100644
--- a/examples/flexjs/MobileStocks/pom.xml
+++ b/examples/flexjs/MobileStocks/pom.xml
@@ -59,6 +59,10 @@
 org.codehaus.mojo
 build-helper-maven-plugin
   
+  
+org.jboss.errai
+cordova-maven-plugin
+  
 
   
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c0007ff9/examples/flexjs/MobileStocks/resources/config.xml

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

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

Branch: refs/heads/feature/mdl
Commit: 6606f57df8d6d3b2ae02f5ee1c264d8fd392e073
Parents: b0112c3
Author: Alex Harui 
Authored: Sun Oct 16 21:25:09 2016 -0700
Committer: Carlos Rovira 
Committed: Mon Oct 24 18:00:38 2016 +0200

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6606f57d/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/6606f57d/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 @@
 
 
 
-
+
 
 
 



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

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

Branch: refs/heads/feature/mdl
Commit: ff83d5474e36c807e7512cee18cc7c595ac4f875
Parents: 6606f57
Author: Carlos Rovira 
Authored: Mon Oct 17 11:54:29 2016 +0200
Committer: Carlos Rovira 
Committed: Mon Oct 24 18:00:38 2016 +0200

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


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



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

2016-10-24 Thread carlosrovira
Some text input and example changes


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

Branch: refs/heads/feature/mdl
Commit: 8a760c86698261703b9ffa50dd24a31d6b0100ff
Parents: 570716b
Author: Carlos Rovira 
Authored: Mon Oct 17 16:16:59 2016 +0200
Committer: Carlos Rovira 
Committed: Mon Oct 24 18:00:38 2016 +0200

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


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

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



[12/19] git commit: [flex-asjs] [refs/heads/feature/mdl] - MDL RadioButton

2016-10-24 Thread carlosrovira
MDL RadioButton


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

Branch: refs/heads/feature/mdl
Commit: 061f9d4faf72f728ede9110d05bbcf2046418e3a
Parents: 8a760c8
Author: Carlos Rovira 
Authored: Mon Oct 17 17:58:42 2016 +0200
Committer: Carlos Rovira 
Committed: Mon Oct 24 18:00:38 2016 +0200

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


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

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

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

Branch: refs/heads/feature/mdl
Commit: 570716b6f69691acb05875b575283606a918c44a
Parents: f6cf00a
Author: Carlos Rovira 
Authored: Mon Oct 17 16:16:22 2016 +0200
Committer: Carlos Rovira 
Committed: Mon Oct 24 18:00:38 2016 +0200

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/570716b6/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);
+

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

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

Branch: refs/heads/feature/mdl
Commit: f6cf00a825a5123ad81ed9c4309ad48392eae74a
Parents: b5f7745
Author: Carlos Rovira 
Authored: Mon Oct 17 13:40:57 2016 +0200
Committer: Carlos Rovira 
Committed: Mon Oct 24 18:00:38 2016 +0200

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


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



[04/19] git commit: [flex-asjs] [refs/heads/feature/mdl] - - Removed the TODOs for adding cordova packaging

2016-10-24 Thread carlosrovira
- Removed the TODOs for adding cordova packaging


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

Branch: refs/heads/feature/mdl
Commit: 4c9ab06a83ad7f40f505b7116293a9fd39d8aa2d
Parents: ecf8fce
Author: Christofer Dutz 
Authored: Sun Oct 23 16:07:01 2016 +0200
Committer: Christofer Dutz 
Committed: Sun Oct 23 16:07:01 2016 +0200

--
 examples/flexjs/CordovaCameraExample/pom.xml | 4 
 examples/flexjs/MobileMap/pom.xml| 2 --
 examples/flexjs/StorageExample/pom.xml   | 6 --
 3 files changed, 12 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4c9ab06a/examples/flexjs/CordovaCameraExample/pom.xml
--
diff --git a/examples/flexjs/CordovaCameraExample/pom.xml 
b/examples/flexjs/CordovaCameraExample/pom.xml
index 54e0853..694629b 100644
--- a/examples/flexjs/CordovaCameraExample/pom.xml
+++ b/examples/flexjs/CordovaCameraExample/pom.xml
@@ -22,10 +22,6 @@
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;>
   4.0.0
 
-  
-
   
 org.apache.flex.flexjs.examples
 examples-flexjs

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4c9ab06a/examples/flexjs/MobileMap/pom.xml
--
diff --git a/examples/flexjs/MobileMap/pom.xml 
b/examples/flexjs/MobileMap/pom.xml
index 4b7088a..e5570c6 100644
--- a/examples/flexjs/MobileMap/pom.xml
+++ b/examples/flexjs/MobileMap/pom.xml
@@ -23,8 +23,6 @@
   4.0.0
 
   
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4c9ab06a/examples/flexjs/StorageExample/pom.xml
--
diff --git a/examples/flexjs/StorageExample/pom.xml 
b/examples/flexjs/StorageExample/pom.xml
index 2c5e6e2..870dcc9 100644
--- a/examples/flexjs/StorageExample/pom.xml
+++ b/examples/flexjs/StorageExample/pom.xml
@@ -22,12 +22,6 @@
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;>
   4.0.0
 
-  
-
   
 org.apache.flex.flexjs.examples
 examples-flexjs



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

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

Branch: refs/heads/feature/mdl
Commit: 23c8aa88935bee4b973dd2138b1a63016eb1733f
Parents: 061f9d4
Author: Carlos Rovira 
Authored: Mon Oct 17 17:59:17 2016 +0200
Committer: Carlos Rovira 
Committed: Mon Oct 24 18:00:38 2016 +0200

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


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



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

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

Branch: refs/heads/feature/mdl
Commit: c5d6ecfbcbf4a4c9ad7087aefc9a7d8c1f4500d8
Parents: b4847c2
Author: Carlos Rovira 
Authored: Fri Oct 14 23:05:39 2016 +0200
Committer: Carlos Rovira 
Committed: Mon Oct 24 18:00:38 2016 +0200

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


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

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

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

Branch: refs/heads/feature/mdl
Commit: b4847c27067a39606742d9022284ef79df905a7e
Parents: 5cc1523
Author: Carlos Rovira 
Authored: Fri Oct 14 20:52:53 2016 +0200
Committer: Carlos Rovira 
Committed: Mon Oct 24 18:00:38 2016 +0200

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


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



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

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

Branch: refs/heads/feature/mdl
Commit: b0112c315c93409879433d079adfbc4bdaf3f64f
Parents: cf5bb6e
Author: Carlos Rovira 
Authored: Sun Oct 16 21:10:10 2016 +0200
Committer: Carlos Rovira 
Committed: Mon Oct 24 18:00:38 2016 +0200

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


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



Build failed in Jenkins: flex-utilities_installer #982

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

--
Started by timer
Building remotely on flex_sdk_slave2 in workspace 

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


clean:
   [delete] Deleting directory 


init:

check-as3commons.swc:

get-as3commons.swc:

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

  [get] Destination already exists (skipping): 

  [get] Destination already exists (skipping): 

  [get] Destination already exists (skipping): 

  [get] Destination already exists (skipping): 

  [get] Destination already exists (skipping): 

  [get] Destination already exists (skipping): 


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

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

failuretests:

main:

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


clean:
   [delete] Deleting directory 

   [delete] Deleting directory 

   [delete] Deleting directory 

   [delete] Deleting directory 


clean:

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

git commit: [flex-falcon] [refs/heads/develop] - - Added an "additionalCompilerOptions" config option to pass compiler options to the compiler mojo directly.

2016-10-24 Thread cdutz
Repository: flex-falcon
Updated Branches:
  refs/heads/develop ab582dd17 -> e7234729f


- Added an "additionalCompilerOptions" config option to pass compiler options 
to the compiler mojo directly.


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

Branch: refs/heads/develop
Commit: e7234729f5059b058ec482a668f962e3ded7ff5c
Parents: ab582dd
Author: Christofer Dutz 
Authored: Mon Oct 24 11:35:04 2016 +0200
Committer: Christofer Dutz 
Committed: Mon Oct 24 11:35:23 2016 +0200

--
 .../src/main/java/org/apache/flex/maven/flexjs/BaseMojo.java   | 6 ++
 1 file changed, 6 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/e7234729/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/BaseMojo.java
--
diff --git 
a/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/BaseMojo.java 
b/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/BaseMojo.java
index 0b9ec99..b745eb1 100644
--- 
a/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/BaseMojo.java
+++ 
b/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/BaseMojo.java
@@ -88,6 +88,9 @@ public abstract class BaseMojo
 @Parameter(readonly = true, defaultValue = "${repositorySystemSession}")
 private RepositorySystemSession repositorySystemSession;
 
+@Parameter
+private String additionalCompilerOptions = null;
+
 @Component
 private ProjectDependenciesResolver projectDependenciesResolver;
 
@@ -206,6 +209,9 @@ public abstract class BaseMojo
 protected List getCompilerArgs(File configFile) throws 
MojoExecutionException {
 List args = new LinkedList();
 args.add("-load-config=" + configFile.getPath());
+if(additionalCompilerOptions != null) {
+args.add(additionalCompilerOptions);
+}
 return args;
 }
 



Jenkins build is back to normal : MD5Checker #13117

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



[1/2] git commit: [flex-falcon] [refs/heads/develop] - add compiler.exclude-defaults-css-files option to exclude certain kinds of CSS output. The entries should be paths to files or can reference the

2016-10-24 Thread aharui
Repository: flex-falcon
Updated Branches:
  refs/heads/develop 1c96ccd6a -> ab582dd17


add compiler.exclude-defaults-css-files option to exclude certain kinds of CSS 
output.  The entries should be paths to files or can reference the defaults.css 
in HTML.swc via HTML.swc:defaults.css


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

Branch: refs/heads/develop
Commit: ab582dd1761e3877d26717ea1544941257e2e718
Parents: 9345ae4
Author: Alex Harui 
Authored: Sun Oct 23 23:42:49 2016 -0700
Committer: Alex Harui 
Committed: Sun Oct 23 23:42:59 2016 -0700

--
 .../compiler/internal/targets/FlexJSTarget.java |  1 +
 .../org/apache/flex/compiler/clients/ASC.java   |  6 ++
 .../flex/compiler/config/Configuration.java | 59 ++--
 .../internal/config/TargetSettings.java |  6 ++
 .../css/codegen/CSSCompilationSession.java  | 19 +++
 .../internal/targets/FlexAppSWFTarget.java  |  1 +
 .../flex/compiler/targets/ITargetSettings.java  |  5 ++
 7 files changed, 91 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/ab582dd1/compiler-jx/src/main/java/org/apache/flex/compiler/internal/targets/FlexJSTarget.java
--
diff --git 
a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/targets/FlexJSTarget.java
 
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/targets/FlexJSTarget.java
index 89ad4ff..01c24f1 100644
--- 
a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/targets/FlexJSTarget.java
+++ 
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/targets/FlexJSTarget.java
@@ -148,6 +148,7 @@ public class FlexJSTarget extends JSTarget implements 
IJSTarget
 {
 JSCSSCompilationSession cssCompilationSession = 
(JSCSSCompilationSession) flexProject.getCSSCompilationSession();
 
cssCompilationSession.setKeepAllTypeSelectors(targetSettings.keepAllTypeSelectors());
+
cssCompilationSession.setExcludeDefaultsCSSFiles(targetSettings.getExcludeDefaultsCSSFiles());
 
 // Performance heuristic: let's start compilation on all of the 
compilation
 // units we know about up front. This is particularly useful on SWC 
projects where 

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/ab582dd1/compiler/src/main/java/org/apache/flex/compiler/clients/ASC.java
--
diff --git a/compiler/src/main/java/org/apache/flex/compiler/clients/ASC.java 
b/compiler/src/main/java/org/apache/flex/compiler/clients/ASC.java
index 432a445..a13c85a 100644
--- a/compiler/src/main/java/org/apache/flex/compiler/clients/ASC.java
+++ b/compiler/src/main/java/org/apache/flex/compiler/clients/ASC.java
@@ -426,6 +426,12 @@ public class ASC
 }
 
 @Override
+public List getExcludeDefaultsCSSFiles()
+{
+return ImmutableList.of();
+}
+
+@Override
 public File getLinkReport()
 {
 return null;

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/ab582dd1/compiler/src/main/java/org/apache/flex/compiler/config/Configuration.java
--
diff --git 
a/compiler/src/main/java/org/apache/flex/compiler/config/Configuration.java 
b/compiler/src/main/java/org/apache/flex/compiler/config/Configuration.java
index 79e555d..ea1e879 100644
--- a/compiler/src/main/java/org/apache/flex/compiler/config/Configuration.java
+++ b/compiler/src/main/java/org/apache/flex/compiler/config/Configuration.java
@@ -2986,6 +2986,49 @@ public class Configuration
 }
 }
 
+//
+// 'compiler.exclude-defaults-css-files' option
+//
+
+private Deque excludeDefaultsCSSFiles = new ArrayDeque();
+
+/**
+ * List of filenames to exclude from list of defaults style stylesheets 
(css only).
+ * For defaults.css files in a SWC, use HTML.swc:defaults.css where HTML 
is the
+ * name of a SWC.
+ * 
+ * For example:
+ * -exclude-defaults-css-files=[A, B, C]
+ * Then, 'A' should have precedence over 'B', then 'C', then SWCs 
defaultsCssFiles should have the order: SWCS, C,
+ * B, A
+ * 
+ * @see #setExcludeDefaultsCSSFiles
+ */
+public Deque getExcludeDefaultsCSSFiles()
+{
+return excludeDefaultsCSSFiles;
+}
+
+/**
+ * Excludes CSS files from the output.
+ * 
+ * This option takes one or more files. The precedence for multiple CSS 
files 

[2/2] git commit: [flex-falcon] [refs/heads/develop] - Most of DITA output per class file. Next up: consolidate into package files

2016-10-24 Thread aharui
Most of DITA output per class file.  Next up: consolidate into package files


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

Branch: refs/heads/develop
Commit: 9345ae4f954dfb6daf74eb8116bfbb1b605b3f05
Parents: 1c96ccd
Author: Alex Harui 
Authored: Tue Oct 18 12:26:30 2016 -0700
Committer: Alex Harui 
Committed: Sun Oct 23 23:42:59 2016 -0700

--
 .../compiler/asdoc/flexjs/ASDocComment.java |   32 +-
 .../apache/flex/compiler/clients/ASDOCJSC.java  |5 +
 .../apache/flex/compiler/clients/MXMLJSC.java   |1 +
 .../js/flexjs/JSFlexJSASDocDITAEmitter.java | 1169 ++
 .../codegen/js/flexjs/JSFlexJSASDocEmitter.java |   42 +-
 .../mxml/flexjs/MXMLFlexJSASDocEmitter.java |3 +-
 .../mxml/flexjs/MXMLFlexJSASDocDITABackend.java |  136 ++
 7 files changed, 1381 insertions(+), 7 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/9345ae4f/compiler-jx/src/main/java/org/apache/flex/compiler/asdoc/flexjs/ASDocComment.java
--
diff --git 
a/compiler-jx/src/main/java/org/apache/flex/compiler/asdoc/flexjs/ASDocComment.java
 
b/compiler-jx/src/main/java/org/apache/flex/compiler/asdoc/flexjs/ASDocComment.java
index b8e97d3..0f0a4dc 100644
--- 
a/compiler-jx/src/main/java/org/apache/flex/compiler/asdoc/flexjs/ASDocComment.java
+++ 
b/compiler-jx/src/main/java/org/apache/flex/compiler/asdoc/flexjs/ASDocComment.java
@@ -78,6 +78,11 @@ public class ASDocComment implements IASDocComment
 @Override
 public void compile()
 {
+   compile(true);
+}
+
+public void compile(boolean trimlines)
+{
 String s = token.getText();
 String[] lines = s.split("\n");
 StringBuilder sb = new StringBuilder();
@@ -89,17 +94,26 @@ public class ASDocComment implements IASDocComment
lines[0] = lines[0].substring(0, c);
 }
 // clip off asdoc slash-star-star
-sb.append(lines[0].substring(3).trim());
+String line = lines[0].substring(3);
+if (trimlines)
+   sb.append(line.trim());
+else
+   sb.append(line + "\n");
 for (int i = 1; i < n - 1; i++)
 {
-String line = lines[i];
+line = lines[i];
 int star = line.indexOf("*");
 int at = line.indexOf("@");
 if (at == -1)
 {
sb.append(" ");
if (star > -1)
-   sb.append(line.substring(star + 1).trim());
+   {
+   if (trimlines)
+   sb.append(line.substring(star + 1).trim());
+   else
+   sb.append(line.substring(star + 1) + "\n");
+   }
 }
 else
 {
@@ -124,7 +138,10 @@ public class ASDocComment implements IASDocComment
}   
 }
 }
-description = sb.toString().trim().replace("\"", "\\\"");
+if (trimlines)
+   description = sb.toString().trim().replace("\"", "\\\"");
+else
+   description = sb.toString();
 }
 
 @Override
@@ -138,7 +155,12 @@ public class ASDocComment implements IASDocComment
 @Override
 public IASDocTag getTag(String name)
 {
-return tagMap.get(name).get(0);
+   if (tagMap == null) 
+   return null;
+   List tags = tagMap.get(name);
+   if (tags == null)
+   return null;
+return tags.get(0);
 }
 
 @Override

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/9345ae4f/compiler-jx/src/main/java/org/apache/flex/compiler/clients/ASDOCJSC.java
--
diff --git 
a/compiler-jx/src/main/java/org/apache/flex/compiler/clients/ASDOCJSC.java 
b/compiler-jx/src/main/java/org/apache/flex/compiler/clients/ASDOCJSC.java
index 0ba33f0..8aa0552 100644
--- a/compiler-jx/src/main/java/org/apache/flex/compiler/clients/ASDOCJSC.java
+++ b/compiler-jx/src/main/java/org/apache/flex/compiler/clients/ASDOCJSC.java
@@ -42,6 +42,7 @@ import 
org.apache.flex.compiler.internal.driver.js.amd.AMDBackend;
 import org.apache.flex.compiler.internal.driver.js.goog.ASDocConfiguration;
 import org.apache.flex.compiler.internal.driver.js.goog.GoogBackend;
 import 
org.apache.flex.compiler.internal.driver.mxml.flexjs.MXMLFlexJSASDocBackend;
+import