[1/2] git commit: [flex-asjs] [refs/heads/develop] - FLEX-35229 - [FlexJS] extend the flexjs-maven-plugin to be able to generate static asdoc html - Added a configuration to the core module to utilize

2016-12-25 Thread cdutz
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 944399397 -> d277641ed


FLEX-35229 - [FlexJS] extend the flexjs-maven-plugin to be able to generate 
static asdoc html
- Added a configuration to the core module to utilize the asdoc generation
- Removed the class declaration from CSSTextField in a JS compilation as this 
was causing problems


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

Branch: refs/heads/develop
Commit: 523577f850951a772a9f9f8cae6cb2411f407d31
Parents: 9443993
Author: Christofer Dutz 
Authored: Sun Dec 25 16:58:37 2016 +0100
Committer: Christofer Dutz 
Committed: Sun Dec 25 16:58:37 2016 +0100

--
 frameworks/projects/Core/pom.xml  | 10 ++
 .../src/main/flex/org/apache/flex/core/CSSTextField.as|  5 -
 2 files changed, 10 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/523577f8/frameworks/projects/Core/pom.xml
--
diff --git a/frameworks/projects/Core/pom.xml b/frameworks/projects/Core/pom.xml
index bce8743..01a02c8 100644
--- a/frameworks/projects/Core/pom.xml
+++ b/frameworks/projects/Core/pom.xml
@@ -53,6 +53,16 @@
   false
   true
 
+
+
+  
+site
+compile
+
+  compile-asdoc
+
+  
+
   
 
   

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/523577f8/frameworks/projects/Core/src/main/flex/org/apache/flex/core/CSSTextField.as
--
diff --git 
a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/CSSTextField.as 
b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/CSSTextField.as
index ffafa18..3d56956 100644
--- 
a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/CSSTextField.as
+++ 
b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/CSSTextField.as
@@ -175,9 +175,4 @@ package org.apache.flex.core
}

}
-
-   COMPILE::JS
-   public class CSSTextField extends TextField
-   {
-   }
 }



[3/3] git commit: [flex-falcon] [refs/heads/develop] - FLEX-35229 - [FlexJS] extend the flexjs-maven-plugin to be able to generate static asdoc html - Implemented a first version that outputs DITA xml

2016-12-25 Thread cdutz
FLEX-35229 - [FlexJS] extend the flexjs-maven-plugin to be able to generate 
static asdoc html
- Implemented a first version that outputs DITA xml for a SWF and a JS 
compilation using the DITA xml backend
- Still not finished ...


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

Branch: refs/heads/develop
Commit: 319cb536ece52bcbfa3b48e6cc98eb6a35ac2089
Parents: 22ea48e
Author: Christofer Dutz 
Authored: Sun Dec 25 16:57:41 2016 +0100
Committer: Christofer Dutz 
Committed: Sun Dec 25 16:57:41 2016 +0100

--
 .../org/apache/flex/maven/flexjs/BaseMojo.java  |   8 +-
 .../flex/maven/flexjs/CompileASDocMojo.java | 156 +++
 .../apache/flex/maven/flexjs/CompileASMojo.java |   6 +-
 .../flex/maven/flexjs/CompileAppMojo.java   |   6 +-
 .../apache/flex/maven/flexjs/CompileJSMojo.java |   6 +-
 .../flex/maven/flexjs/CompileTypedefsMojo.java  |   6 +-
 .../flex/maven/flexjs/GenerateExterncMojo.java  |   6 +-
 .../config/compile-asdoc-js-config.xml  | 112 +
 .../config/compile-asdoc-swf-config.xml | 127 +++
 9 files changed, 414 insertions(+), 19 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/319cb536/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 7c56482..f294d2f 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
@@ -104,9 +104,9 @@ public abstract class BaseMojo
 return false;
 }
 
-protected abstract String getConfigFileName();
+protected abstract String getConfigFileName() throws 
MojoExecutionException;
 
-protected abstract File getOutput();
+protected abstract File getOutput() throws MojoExecutionException;
 
 protected VelocityContext getVelocityContext() throws 
MojoExecutionException {
 VelocityContext context = new VelocityContext();
@@ -278,7 +278,7 @@ public abstract class BaseMojo
 protected void handleExitCode(int exitCode) throws MojoExecutionException {
 // Allow normal execution and execution with warnings.
 if(!((exitCode == 0) || (!failOnCompilerWarnings && (exitCode == 2 
{
-throw new MojoExecutionException("There were errors during the 
build.");
+throw new MojoExecutionException("There were errors during the 
build. Got return code " + exitCode);
 }
 }
 
@@ -345,7 +345,7 @@ public abstract class BaseMojo
 return libraries;
 }
 
-protected List getDefines() {
+protected List getDefines() throws MojoExecutionException {
 List defines = new LinkedList();
 if(this.defines != null) {
 for(Define define : this.defines) {

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/319cb536/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/CompileASDocMojo.java
--
diff --git 
a/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/CompileASDocMojo.java
 
b/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/CompileASDocMojo.java
new file mode 100644
index 000..e8fd8ac
--- /dev/null
+++ 
b/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/CompileASDocMojo.java
@@ -0,0 +1,156 @@
+/*
+ * 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.maven.flexjs;
+
+import org.apache.flex.tools.FlexTool;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.plugins.annotations.LifecyclePhase;
+import org.apache.maven.plugins.annotations.Mojo;
+import org.apache.maven.plugins.annotations.Parameter;
+
+import java.io.File;
+import java.util.List;
+
+/**
+ * goal which compiles the asdoc documentation for the project.
+ */
+@Mojo(name="compile-asdoc",def

[1/3] git commit: [flex-falcon] [refs/heads/develop] - FLEX-35228 - [FlexJS] Usage of statics in JSSharedData causes problems - Moved the static properties into the FlexJSProject class - Refactored th

2016-12-25 Thread cdutz
Repository: flex-falcon
Updated Branches:
  refs/heads/develop 20a1b31cf -> 319cb536e


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/22ea48e6/compiler-jx/src/main/java/org/apache/flex/compiler/internal/targets/JSTarget.java
--
diff --git 
a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/targets/JSTarget.java
 
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/targets/JSTarget.java
index adba905..2fcb878 100644
--- 
a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/targets/JSTarget.java
+++ 
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/targets/JSTarget.java
@@ -27,9 +27,9 @@ import java.util.Set;
 
 import org.apache.flex.compiler.driver.js.IJSApplication;
 import org.apache.flex.compiler.exceptions.BuildCanceledException;
-import org.apache.flex.compiler.internal.codegen.js.JSSharedData;
 import org.apache.flex.compiler.internal.driver.js.JSApplication;
 import org.apache.flex.compiler.internal.projects.CompilerProject;
+import org.apache.flex.compiler.internal.projects.FlexJSProject;
 import org.apache.flex.compiler.problems.ICompilerProblem;
 import org.apache.flex.compiler.projects.IASProject;
 import org.apache.flex.compiler.targets.IJSTarget;
@@ -51,10 +51,10 @@ public class JSTarget extends Target implements IJSTarget
  * 
  * @param project the owner project
  */
-public JSTarget(IASProject project, ITargetSettings targetSettings,
-ITargetProgressMonitor progressMonitor)
+public JSTarget(FlexJSProject project, ITargetSettings targetSettings,
+ITargetProgressMonitor progressMonitor)
 {
-super((CompilerProject) project, targetSettings, progressMonitor);
+super(project, targetSettings, progressMonitor);
 }
 
 @Override
@@ -182,8 +182,8 @@ public class JSTarget extends Target implements IJSTarget
 final Collection problems)
 throws InterruptedException
 {
-final JSSharedData sharedData = JSSharedData.instance;
-sharedData.beginCodeGen();
+/*final JSSharedData sharedData = JSSharedData.instance;
+sharedData.beginCodeGen();*/
 
 BuiltCompilationUnitSet builtCompilationUnits = 
getBuiltCompilationUnitSet();
 
@@ -206,7 +206,7 @@ public class JSTarget extends Target implements IJSTarget
 //for (ICompilationUnit cu : cuList)
 //compilationUnits.add(cu);
 //}
-sharedData.endCodeGen();
+//sharedData.endCodeGen();
 }
 
 private ICompilationUnit getRootClassCompilationUnit()

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/22ea48e6/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/externals/TestExternalsJSCompile.java
--
diff --git 
a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/externals/TestExternalsJSCompile.java
 
b/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/externals/TestExternalsJSCompile.java
index 8aec761..ed2104b 100644
--- 
a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/externals/TestExternalsJSCompile.java
+++ 
b/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/externals/TestExternalsJSCompile.java
@@ -97,11 +97,11 @@ public class TestExternalsJSCompile
 
 client = new EXTERNC(config);
 
+backend = new FlexJSBackend();
 if (project == null)
-project = new FlexJSProject(workspace);
+project = new FlexJSProject(workspace, backend);
 FlexProjectConfigurator.configure(project);
 
-backend = new FlexJSBackend();
 //writer = backend.createWriterBuffer(project);
 //emitter = backend.createEmitter(writer);
 //walker = backend.createWalker(project, errors, emitter);

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/22ea48e6/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSClass.java
--
diff --git 
a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSClass.java
 
b/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSClass.java
index 50e7d6e..c828aa7 100644
--- 
a/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSClass.java
+++ 
b/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSClass.java
@@ -35,7 +35,7 @@ public class TestFlexJSClass extends TestGoogClass
 @Override
 public void setUp()
 {
-   project = new FlexJSProject(workspace);
+   project = new FlexJSProject(workspace, backend);
 super.setUp();
 }
 

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/22ea48e6/compiler-jx/src/test/

git commit: [flex-utilities] [refs/heads/develop] - Fixed SonarQube findings ...

2016-12-18 Thread cdutz
Repository: flex-utilities
Updated Branches:
  refs/heads/develop 790b35568 -> 2e6768445


Fixed SonarQube findings ...


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

Branch: refs/heads/develop
Commit: 2e6768445a730216aaafcfc8f46c57044dd2b3c1
Parents: 790b355
Author: Christofer Dutz 
Authored: Sun Dec 18 15:28:47 2016 +0100
Committer: Christofer Dutz 
Committed: Sun Dec 18 15:28:47 2016 +0100

--
 .../flex/utilities/converter/BaseConverter.java | 21 +---
 .../utilities/converter/flex/FlexConverter.java |  8 
 2 files changed, 13 insertions(+), 16 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/2e676844/flex-maven-tools/flex-sdk-converter/converters/base/src/main/java/org/apache/flex/utilities/converter/BaseConverter.java
--
diff --git 
a/flex-maven-tools/flex-sdk-converter/converters/base/src/main/java/org/apache/flex/utilities/converter/BaseConverter.java
 
b/flex-maven-tools/flex-sdk-converter/converters/base/src/main/java/org/apache/flex/utilities/converter/BaseConverter.java
index d3171fb..d80cf8f 100644
--- 
a/flex-maven-tools/flex-sdk-converter/converters/base/src/main/java/org/apache/flex/utilities/converter/BaseConverter.java
+++ 
b/flex-maven-tools/flex-sdk-converter/converters/base/src/main/java/org/apache/flex/utilities/converter/BaseConverter.java
@@ -94,10 +94,9 @@ public abstract class BaseConverter {
 
 protected String calculateChecksum(File jarFile) throws ConverterException 
{
 // Implement the calculation of checksums for a given jar.
-final MessageDigest digest;
 InputStream is = null;
 try {
-digest = MessageDigest.getInstance("SHA-1");
+MessageDigest digest = MessageDigest.getInstance("SHA-1");
 
 is = new FileInputStream(jarFile);
 final byte[] buffer = new byte[8192];
@@ -118,15 +117,13 @@ public abstract class BaseConverter {
 } catch (FileNotFoundException e) {
 throw new ConverterException("Error calculating checksum of file 
'" + jarFile.getPath() + "'", e);
 } finally {
-try {
-if(is != null) {
+if(is != null) {
+try {
 is.close();
+} catch(IOException e) {
+// Ignore ...
 }
 }
-catch(IOException e) {
-//noinspection ThrowFromFinallyBlock
-throw new ConverterException("Unable to close input stream for 
MD5 calculation", e);
-}
 }
 }
 
@@ -232,7 +229,7 @@ public abstract class BaseConverter {
 final File outputDirectory = target.getParentFile();
 if(!outputDirectory.exists()) {
 if(!outputDirectory.mkdirs()) {
-throw new RuntimeException("Could not create directory: " 
+ outputDirectory.getAbsolutePath());
+throw new ConverterException("Could not create directory: 
" + outputDirectory.getAbsolutePath());
 }
 }
 
@@ -465,11 +462,11 @@ public abstract class BaseConverter {
 // In general the version consists of the content of the version 
element with an appended build-number.
 return (build.equals("0")) ? version + "-SNAPSHOT" : version;
 } catch (ParserConfigurationException pce) {
-throw new RuntimeException(pce);
+throw new ConverterException("Error parsing 
flex-sdk-description.xml", pce);
 } catch (SAXException se) {
-throw new RuntimeException(se);
+throw new ConverterException("Error parsing 
flex-sdk-description.xml", se);
 } catch (IOException ioe) {
-throw new RuntimeException(ioe);
+throw new ConverterException("Error parsing 
flex-sdk-description.xml", ioe);
 }
 }
 

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/2e676844/flex-maven-tools/flex-sdk-converter/converters/flex/src/main/java/org/apache/flex/utilities/converter/flex/FlexConverter.java
--
diff --git 
a/flex-maven-tools/flex-sdk-converter/converters/flex/src/main/java/org/apache/flex/utilities/converter/flex/FlexConverter.java
 
b/flex-maven-tools/flex-sdk-converter/converters/flex/src/main/java/org/apache/flex/utilities/converter/flex/FlexConverter.java
index cbe7e87..35013d0 100644
--- 
a/flex-maven-tools/flex-sdk-converter/converters/flex/src/main/java/org/apache/flex/utilities/con

git commit: [flex-utilities] [refs/heads/develop] - Fixed SonarQube findings ...

2016-12-18 Thread cdutz
Repository: flex-utilities
Updated Branches:
  refs/heads/develop 446332916 -> 790b35568


Fixed SonarQube findings ...


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

Branch: refs/heads/develop
Commit: 790b355688dc0ada8c62cb1df91faf67f52126ea
Parents: 4463329
Author: Christofer Dutz 
Authored: Sun Dec 18 15:18:01 2016 +0100
Committer: Christofer Dutz 
Committed: Sun Dec 18 15:18:01 2016 +0100

--
 .../utilities/converter/air/AirConverter.java   |  10 +-
 .../flex/utilities/converter/BaseConverter.java |  39 ++--
 .../converter/retrievers/BaseRetriever.java |  41 +++--
 .../retrievers/download/DownloadRetriever.java  | 176 ---
 4 files changed, 174 insertions(+), 92 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/790b3556/flex-maven-tools/flex-sdk-converter/converters/air/src/main/java/org/apache/flex/utilities/converter/air/AirConverter.java
--
diff --git 
a/flex-maven-tools/flex-sdk-converter/converters/air/src/main/java/org/apache/flex/utilities/converter/air/AirConverter.java
 
b/flex-maven-tools/flex-sdk-converter/converters/air/src/main/java/org/apache/flex/utilities/converter/air/AirConverter.java
index 7e9fadf..46373c4 100644
--- 
a/flex-maven-tools/flex-sdk-converter/converters/air/src/main/java/org/apache/flex/utilities/converter/air/AirConverter.java
+++ 
b/flex-maven-tools/flex-sdk-converter/converters/air/src/main/java/org/apache/flex/utilities/converter/air/AirConverter.java
@@ -358,8 +358,9 @@ public class AirConverter extends BaseConverter implements 
Converter {
 }
 
 DataInputStream in = null;
+FileInputStream descriptorInputStream = null;
 try {
-final FileInputStream descriptorInputStream = new 
FileInputStream(sdkDescriptor);
+descriptorInputStream = new FileInputStream(sdkDescriptor);
 in = new DataInputStream(descriptorInputStream);
 final BufferedReader br = new BufferedReader(new 
InputStreamReader(in));
 final String strLine = br.readLine();
@@ -374,6 +375,13 @@ public class AirConverter extends BaseConverter implements 
Converter {
 // Ignore.
 }
 }
+if (descriptorInputStream != null) {
+try {
+descriptorInputStream.close();
+} catch (IOException e) {
+// Ignore.
+}
+}
 }
 }
 

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/790b3556/flex-maven-tools/flex-sdk-converter/converters/base/src/main/java/org/apache/flex/utilities/converter/BaseConverter.java
--
diff --git 
a/flex-maven-tools/flex-sdk-converter/converters/base/src/main/java/org/apache/flex/utilities/converter/BaseConverter.java
 
b/flex-maven-tools/flex-sdk-converter/converters/base/src/main/java/org/apache/flex/utilities/converter/BaseConverter.java
index 1d92181..d3171fb 100644
--- 
a/flex-maven-tools/flex-sdk-converter/converters/base/src/main/java/org/apache/flex/utilities/converter/BaseConverter.java
+++ 
b/flex-maven-tools/flex-sdk-converter/converters/base/src/main/java/org/apache/flex/utilities/converter/BaseConverter.java
@@ -95,10 +95,11 @@ public abstract class BaseConverter {
 protected String calculateChecksum(File jarFile) throws ConverterException 
{
 // Implement the calculation of checksums for a given jar.
 final MessageDigest digest;
+InputStream is = null;
 try {
 digest = MessageDigest.getInstance("SHA-1");
 
-final InputStream is = new FileInputStream(jarFile);
+is = new FileInputStream(jarFile);
 final byte[] buffer = new byte[8192];
 int read;
 try {
@@ -110,21 +111,22 @@ public abstract class BaseConverter {
 return bigInt.toString(16);
 }
 catch(IOException e) {
-throw new RuntimeException("Unable to process file for MD5", 
e);
-}
-finally {
-try {
-is.close();
-}
-catch(IOException e) {
-//noinspection ThrowFromFinallyBlock
-throw new RuntimeException("Unable to close input stream 
for MD5 calculation", e);
-}
+throw new ConverterException("Unable to process file for MD5", 
e);
 }
 } catch (NoSuchAlgorithmException e) {
   

git commit: [flex-utilities] [refs/heads/develop] - - Added configuration for SonarQube analysis

2016-12-18 Thread cdutz
Repository: flex-utilities
Updated Branches:
  refs/heads/develop 903fddecd -> 446332916


- Added configuration for SonarQube analysis


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

Branch: refs/heads/develop
Commit: 4463329167236a92e0d3b44b3b7efa03b4a917e7
Parents: 903fdde
Author: Christofer Dutz 
Authored: Sun Dec 18 14:30:16 2016 +0100
Committer: Christofer Dutz 
Committed: Sun Dec 18 14:30:25 2016 +0100

--
 flex-maven-tools/flex-sdk-converter/pom.xml | 177 ++-
 1 file changed, 175 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/44633291/flex-maven-tools/flex-sdk-converter/pom.xml
--
diff --git a/flex-maven-tools/flex-sdk-converter/pom.xml 
b/flex-maven-tools/flex-sdk-converter/pom.xml
index 81109d9..1aebab9 100644
--- a/flex-maven-tools/flex-sdk-converter/pom.xml
+++ b/flex-maven-tools/flex-sdk-converter/pom.xml
@@ -31,10 +31,21 @@
 1.0.0-SNAPSHOT
 pom
 
+Apache Flex - SDK-Converter
+
 
+1.6
 3.1.1
 0.9.0.M4
 2.2
+
+
+https://builds.apache.org/analysis
+
+
${project.build.directory}/coverage-reports/jacoco-ut.exec
+
${project.build.directory}/coverage-reports/jacoco-it.exec
+
+file:**/generated-sources/**
 
 
 
@@ -70,12 +81,174 @@
 
 org.apache.maven.plugins
 maven-compiler-plugin
+3.5.1
 
-1.5
-1.5
+${java.version}
+${java.version}
 ${project.build.sourceEncoding}
 
 
+
+
+org.jacoco
+jacoco-maven-plugin
+0.7.6.201602180812
+
+
+
+pre-unit-test
+
+prepare-agent
+
+
+
+
${project.build.directory}/coverage-reports/jacoco-ut.exec
+
+surefireArgLine
+
+
+
+
+post-unit-test
+test
+
+report
+
+
+
+
${project.build.directory}/coverage-reports/jacoco-ut.exec
+
+
${project.reporting.outputDirectory}/jacoco-ut
+
+
+
+
+pre-integration-test
+pre-integration-test
+
+prepare-agent
+
+
+
+
${project.build.directory}/coverage-reports/jacoco-it.exec
+
+failsafeArgLine
+
+
+
+
+post-integration-test
+post-integration-test
+
+report
+
+
+
+
${project.build.directory}/coverage-reports/jacoco-it.exec
+
+
${project.reporting.outputDirectory}/jacoco-it
+
+
+
+
+
+
+
+org.apache.maven.plugins
+maven-surefire-plugin
+2.19
+
+${surefireArgLine}
+
+Maven
+${flex.version}
+${flash.version}
+${air.version}
+
${settings.localRepository}
+
+
+false
+
+
+
+
+
+org.apache.maven.plugins
+maven-failsafe-plugin
+2.18.1
+
+
+
+

git commit: [flex-utilities] [refs/heads/feature/flash-downloader] - - Added configuration for SonarQube analysis

2016-12-17 Thread cdutz
Repository: flex-utilities
Updated Branches:
  refs/heads/feature/flash-downloader 007f82dba -> 0b6dfdd69


- Added configuration for SonarQube analysis


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

Branch: refs/heads/feature/flash-downloader
Commit: 0b6dfdd6927e935f66d10914ab5ed81b1f4aff2b
Parents: 007f82d
Author: Christofer Dutz 
Authored: Sat Dec 17 17:22:14 2016 +0100
Committer: Christofer Dutz 
Committed: Sat Dec 17 17:22:14 2016 +0100

--
 flex-maven-tools/flex-sdk-converter/pom.xml | 177 ++-
 1 file changed, 175 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/0b6dfdd6/flex-maven-tools/flex-sdk-converter/pom.xml
--
diff --git a/flex-maven-tools/flex-sdk-converter/pom.xml 
b/flex-maven-tools/flex-sdk-converter/pom.xml
index f044a18..1aebab9 100644
--- a/flex-maven-tools/flex-sdk-converter/pom.xml
+++ b/flex-maven-tools/flex-sdk-converter/pom.xml
@@ -31,10 +31,21 @@
 1.0.0-SNAPSHOT
 pom
 
+Apache Flex - SDK-Converter
+
 
+1.6
 3.1.1
 0.9.0.M4
 2.2
+
+
+https://builds.apache.org/analysis
+
+
${project.build.directory}/coverage-reports/jacoco-ut.exec
+
${project.build.directory}/coverage-reports/jacoco-it.exec
+
+file:**/generated-sources/**
 
 
 
@@ -70,12 +81,174 @@
 
 org.apache.maven.plugins
 maven-compiler-plugin
+3.5.1
 
-1.6
-1.6
+${java.version}
+${java.version}
 ${project.build.sourceEncoding}
 
 
+
+
+org.jacoco
+jacoco-maven-plugin
+0.7.6.201602180812
+
+
+
+pre-unit-test
+
+prepare-agent
+
+
+
+
${project.build.directory}/coverage-reports/jacoco-ut.exec
+
+surefireArgLine
+
+
+
+
+post-unit-test
+test
+
+report
+
+
+
+
${project.build.directory}/coverage-reports/jacoco-ut.exec
+
+
${project.reporting.outputDirectory}/jacoco-ut
+
+
+
+
+pre-integration-test
+pre-integration-test
+
+prepare-agent
+
+
+
+
${project.build.directory}/coverage-reports/jacoco-it.exec
+
+failsafeArgLine
+
+
+
+
+post-integration-test
+post-integration-test
+
+report
+
+
+
+
${project.build.directory}/coverage-reports/jacoco-it.exec
+
+
${project.reporting.outputDirectory}/jacoco-it
+
+
+
+
+
+
+
+org.apache.maven.plugins
+maven-surefire-plugin
+2.19
+
+${surefireArgLine}
+
+Maven
+${flex.version}
+${flash.version}
+${air.version}
+
${settings.localRepository}
+
+
+false
+
+
+
+
+
+org.apache.maven.plugins
+maven-failsafe-plugin
+2.18.1
+
+  

flex-blazeds git commit: - Updated two for-loops to be compilable on Java 1.8 but still be binary compatible with Java 1.6

2016-12-17 Thread cdutz
Repository: flex-blazeds
Updated Branches:
  refs/heads/develop 10fd3c03a -> 2b91915fa


- Updated two for-loops to be compilable on Java 1.8 but still be binary 
compatible with Java 1.6


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

Branch: refs/heads/develop
Commit: 2b91915fa70f5caae1e92820053dfa2f2b27f30f
Parents: 10fd3c0
Author: Christofer Dutz 
Authored: Sat Dec 17 17:08:32 2016 +0100
Committer: Christofer Dutz 
Committed: Sat Dec 17 17:08:32 2016 +0100

--
 core/src/flex/messaging/FlexSessionManager.java  | 8 ++--
 .../flex/messaging/endpoints/BasePollingHTTPEndpoint.java| 5 -
 2 files changed, 10 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/2b91915f/core/src/flex/messaging/FlexSessionManager.java
--
diff --git a/core/src/flex/messaging/FlexSessionManager.java 
b/core/src/flex/messaging/FlexSessionManager.java
index bec0352..9ce1407 100644
--- a/core/src/flex/messaging/FlexSessionManager.java
+++ b/core/src/flex/messaging/FlexSessionManager.java
@@ -18,6 +18,8 @@ package flex.messaging;
 
 import flex.management.ManageableComponent;
 import flex.messaging.log.LogCategories;
+
+import java.util.Enumeration;
 import java.util.concurrent.ConcurrentHashMap;
 
 /**
@@ -289,9 +291,11 @@ public class FlexSessionManager extends ManageableComponent
 return;
 
 super.stop();
-
-for (Class sessionClass : providers.keySet())
+
+Enumeration> sessionClasses = 
providers.keys();
+while (sessionClasses.hasMoreElements())
 {
+Class sessionClass = 
sessionClasses.nextElement();
 unregisterFlexSessionProvider(sessionClass);
 }
 providers.clear();

http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/2b91915f/core/src/flex/messaging/endpoints/BasePollingHTTPEndpoint.java
--
diff --git a/core/src/flex/messaging/endpoints/BasePollingHTTPEndpoint.java 
b/core/src/flex/messaging/endpoints/BasePollingHTTPEndpoint.java
index 3c29fae..0353354 100644
--- a/core/src/flex/messaging/endpoints/BasePollingHTTPEndpoint.java
+++ b/core/src/flex/messaging/endpoints/BasePollingHTTPEndpoint.java
@@ -29,6 +29,7 @@ import flex.messaging.log.Log;
 import flex.messaging.messages.CommandMessage;
 import flex.messaging.util.UserAgentManager;
 
+import java.util.Enumeration;
 import java.util.concurrent.ConcurrentHashMap;
 
 /**
@@ -410,8 +411,10 @@ public abstract class BasePollingHTTPEndpoint extends 
BaseHTTPEndpoint implement
 return;
 
 // Notify any currently waiting polls.
-for (Object notifier : currentWaitedRequests.keySet())
+Enumeration keys = currentWaitedRequests.keys();
+while (keys.hasMoreElements())
 {
+Object notifier = keys.nextElement();
 synchronized (notifier)
 {
 notifier.notifyAll(); // Break any current waits.



flex-blazeds git commit: - Updated the project name to match the default naming convention

2016-12-17 Thread cdutz
Repository: flex-blazeds
Updated Branches:
  refs/heads/develop 7f60fbbaf -> 10fd3c03a


- Updated the project name to match the default naming convention


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

Branch: refs/heads/develop
Commit: 10fd3c03a6dfe4698178a647acdab50ac6a77530
Parents: 7f60fbb
Author: Christofer Dutz 
Authored: Sat Dec 17 16:48:53 2016 +0100
Committer: Christofer Dutz 
Committed: Sat Dec 17 16:48:53 2016 +0100

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


http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/10fd3c03/pom.xml
--
diff --git a/pom.xml b/pom.xml
index e0572fb..1e15108 100755
--- a/pom.xml
+++ b/pom.xml
@@ -32,7 +32,7 @@
4.7.3-SNAPSHOT
pom
 
-   Apache Flex: BlazeDS
+   Apache Flex - BlazeDS
 





flex-blazeds git commit: - Updated spring(boot) versions - Added configuration for SonarQube

2016-12-17 Thread cdutz
Repository: flex-blazeds
Updated Branches:
  refs/heads/develop 6985c527e -> 7f60fbbaf


- Updated spring(boot) versions
- Added configuration for SonarQube


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

Branch: refs/heads/develop
Commit: 7f60fbbafa1472add2b153a40d91c45274024c18
Parents: 6985c52
Author: Christofer Dutz 
Authored: Sat Dec 17 16:47:06 2016 +0100
Committer: Christofer Dutz 
Committed: Sat Dec 17 16:47:06 2016 +0100

--
 opt/blazeds-spring-boot-starter/pom.xml |   8 +-
 opt/pom.xml |   8 +-
 pom.xml | 142 +++
 3 files changed, 150 insertions(+), 8 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/7f60fbba/opt/blazeds-spring-boot-starter/pom.xml
--
diff --git a/opt/blazeds-spring-boot-starter/pom.xml 
b/opt/blazeds-spring-boot-starter/pom.xml
index 870d7f5..36d8fd0 100644
--- a/opt/blazeds-spring-boot-starter/pom.xml
+++ b/opt/blazeds-spring-boot-starter/pom.xml
@@ -32,12 +32,12 @@ limitations under the License.
 
 org.springframework.boot
 spring-boot-autoconfigure
-1.3.3.RELEASE
+1.4.1.RELEASE
 
 
 org.springframework
 spring-beans
-4.2.3.RELEASE
+4.3.3.RELEASE
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/7f60fbba/opt/pom.xml
--
diff --git a/opt/pom.xml b/opt/pom.xml
index 6800198..91b7378 100755
--- a/opt/pom.xml
+++ b/opt/pom.xml
@@ -20,7 +20,7 @@ limitations under the License.
4.0.0
 

-org.apache.flex.blazeds
+   org.apache.flex.blazeds
blazeds
4.7.3-SNAPSHOT
../pom.xml
@@ -30,8 +30,8 @@ limitations under the License.
pom
 

-   tomcat
-
+   tomcat
+   



@@ -40,7 +40,7 @@ limitations under the License.
 


-org.apache.flex.blazeds
+   org.apache.flex.blazeds
flex-messaging-core
${project.version}


http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/7f60fbba/pom.xml
--
diff --git a/pom.xml b/pom.xml
index d4c5528..e0572fb 100755
--- a/pom.xml
+++ b/pom.xml
@@ -34,6 +34,16 @@
 
Apache Flex: BlazeDS
 
+   
+   
+   
https://builds.apache.org/analysis
+   
+   
${project.build.directory}/coverage-reports/jacoco-ut.exec
+   
${project.build.directory}/coverage-reports/jacoco-it.exec
+   
+   
file:**/generated-sources/**
+   
+


Apache Flex Dev List
@@ -79,6 +89,87 @@

 

+   org.jacoco
+   jacoco-maven-plugin
+   0.7.6.201602180812
+   
+   
+   
+   pre-unit-test
+   
+   
prepare-agent
+   
+   
+   
+   
${project.build.directory}/coverage-reports/jacoco-ut.exec
+   
+   
surefireArgLine
+   
+   
+   
+   
+   post-unit-test
+   test
+   
+   report
+   
+   
+   
+   
${project.build.directory}/coverage-reports/jacoco-ut.exec
+  

git commit: [flex-falcon] [refs/heads/develop] - Updated sonarqube url

2016-12-16 Thread cdutz
Repository: flex-falcon
Updated Branches:
  refs/heads/develop 2af698a69 -> e2fe54782


Updated sonarqube url


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

Branch: refs/heads/develop
Commit: e2fe547828adb2bd713a54edbb15025de9a4dcb7
Parents: 2af698a
Author: Christofer Dutz 
Authored: Fri Dec 16 12:07:58 2016 +0100
Committer: Christofer Dutz 
Committed: Fri Dec 16 12:07:58 2016 +0100

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


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/e2fe5478/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 33095bf..be7e1c6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -55,7 +55,7 @@
 1.0.0
 
 
-https://analysis.apache.org/
+https://builds.apache.org/analysis
 
 
${project.build.directory}/coverage-reports/jacoco-ut.exec
 
${project.build.directory}/coverage-reports/jacoco-it.exec



git commit: [flex-falcon] [refs/heads/develop] - Introduced a failOnCompilerWarnings config option, which defaults to "false" which allows to decide if a build should fail if the compilation produces

2016-12-09 Thread cdutz
Repository: flex-falcon
Updated Branches:
  refs/heads/develop 069881673 -> 02a1ffc55


Introduced a failOnCompilerWarnings config option, which defaults to "false" 
which allows to decide if a build should fail if the compilation produces 
warnings.


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

Branch: refs/heads/develop
Commit: 02a1ffc55885e6c3ba7014d909b2d07f90ca5a90
Parents: 0698816
Author: Christofer Dutz 
Authored: Fri Dec 9 22:53:13 2016 +0100
Committer: Christofer Dutz 
Committed: Fri Dec 9 22:53:13 2016 +0100

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


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/02a1ffc5/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 e0039f9..7c56482 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
@@ -83,6 +83,9 @@ public abstract class BaseMojo
 protected boolean debug = false;
 
 @Parameter
+protected boolean failOnCompilerWarnings = false;
+
+@Parameter
 protected boolean allowSubclassOverrides = false;
 
 @Parameter
@@ -274,7 +277,7 @@ public abstract class BaseMojo
 
 protected void handleExitCode(int exitCode) throws MojoExecutionException {
 // Allow normal execution and execution with warnings.
-if((exitCode != 0) && (exitCode != 2)) {
+if(!((exitCode == 0) || (!failOnCompilerWarnings && (exitCode == 2 
{
 throw new MojoExecutionException("There were errors during the 
build.");
 }
 }



git commit: [flex-falcon] [refs/heads/develop] - Made the maven build also succeed if the FlexTool returned 0 or 2

2016-12-09 Thread cdutz
Repository: flex-falcon
Updated Branches:
  refs/heads/develop 68fb2f15f -> 069881673


Made the maven build also succeed if the FlexTool returned 0 or 2


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

Branch: refs/heads/develop
Commit: 069881673769fc9a9707397296d78f5ae50e28cd
Parents: 68fb2f1
Author: Christofer Dutz 
Authored: Fri Dec 9 22:03:32 2016 +0100
Committer: Christofer Dutz 
Committed: Fri Dec 9 22:03:32 2016 +0100

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


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/06988167/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 ad13637..e0039f9 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
@@ -273,7 +273,8 @@ public abstract class BaseMojo
 }
 
 protected void handleExitCode(int exitCode) throws MojoExecutionException {
-if(exitCode != 0) {
+// Allow normal execution and execution with warnings.
+if((exitCode != 0) && (exitCode != 2)) {
 throw new MojoExecutionException("There were errors during the 
build.");
 }
 }



git commit: [flex-falcon] [refs/heads/develop] - Moved the directory creation to the place it belongs (removed the "isMarmotinniRun" check when creating the directories though ... so if anything goes

2016-11-23 Thread cdutz
Repository: flex-falcon
Updated Branches:
  refs/heads/develop a4b560562 -> e28b138d4


Moved the directory creation to the place it belongs (removed the 
"isMarmotinniRun" check when creating the directories though ... so if anything 
goes wrong, we know where to check)


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

Branch: refs/heads/develop
Commit: e28b138d43854b1ba6abe3be9234c6305a9bc219
Parents: a4b5605
Author: Christofer Dutz 
Authored: Wed Nov 23 10:49:45 2016 +0100
Committer: Christofer Dutz 
Committed: Wed Nov 23 10:49:45 2016 +0100

--
 .../mxml/flexjs/MXMLFlexJSPublisher.java| 41 
 1 file changed, 16 insertions(+), 25 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/e28b138d/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
--
diff --git 
a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
 
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
index c50bef8..7725b80 100644
--- 
a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
+++ 
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
@@ -153,31 +153,6 @@ public class MXMLFlexJSPublisher extends JSGoogPublisher 
implements IJSPublisher
 // The "release" is the "js-release" directory.
 File releaseDir = new File(outputParentFolder, 
FLEXJS_RELEASE_DIR_NAME);
 
-
-
/
-// Prepare the output directories
-
/
-
-// The intermediate dir has been created by the previous parts of the 
compiler
-// in case of a release build, we have to ensure the release dir is 
clean and
-// empty.
-// FIXME: I don't like this marmotinni stuff ... we should refactor 
this
-if (!isMarmotinniRun)
-{
-// If there is a release dir, we delete it in any case.
-/*if (releaseDir.exists()) {
-FileUtils.deleteQuietly(releaseDir);
-}*/
-
-// Only create a release directory for release builds.
-   if (configuration.release()) {
-   if (!releaseDir.exists() && !releaseDir.mkdirs()) {
-   throw new IOException("Unable to create release 
directory at " + releaseDir.getAbsolutePath());
-   }
-   }
-}
-
-
 
/
 // Copy static resources to the intermediate (and release) directory.
 
/
@@ -647,6 +622,22 @@ public class MXMLFlexJSPublisher extends JSGoogPublisher 
implements IJSPublisher
 return null;
 }
 
+/**
+ * In case of release builds, we also need the 'js-release' directory 
created.
+ */
+@Override
+protected void setupOutputFolder() {
+super.setupOutputFolder();
+
+// Only create a release directory for release builds.
+if (configuration.release()) {
+File releaseDir = new File(outputParentFolder, 
FLEXJS_RELEASE_DIR_NAME);
+if (!releaseDir.exists() && !releaseDir.mkdirs()) {
+throw new RuntimeException("Unable to create release directory 
at " + releaseDir.getAbsolutePath());
+}
+}
+}
+
 protected void clearEmptyDirectoryTrees(File baseDirectory) {
 File[] files = baseDirectory.listFiles();
 if(files != null) {



git commit: [flex-falcon] [refs/heads/develop] - FLEX-35176 - Not able to build FlexJS project when local maven repo is on different disk drive than compiling project

2016-11-17 Thread cdutz
Repository: flex-falcon
Updated Branches:
  refs/heads/develop 9c5dc8e21 -> 5aa512f2b


FLEX-35176 - Not able to build FlexJS project when local maven repo is on 
different disk drive than compiling project


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

Branch: refs/heads/develop
Commit: 5aa512f2bb0ecb33ca2528eb2c0bd6d2ac1e87b9
Parents: 9c5dc8e
Author: Christofer Dutz 
Authored: Thu Nov 17 13:36:49 2016 +0100
Committer: Christofer Dutz 
Committed: Thu Nov 17 13:37:15 2016 +0100

--
 .../compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/5aa512f2/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
--
diff --git 
a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
 
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
index 2d979db..c50bef8 100644
--- 
a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
+++ 
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
@@ -634,7 +634,7 @@ public class MXMLFlexJSPublisher extends JSGoogPublisher 
implements IJSPublisher
 try {
 resourceJarPath = URLDecoder.decode(resourceJarPath, "UTF-8");
 if (resourceJarPath.contains(":")) {
-resourceJarPath = 
resourceJarPath.substring(resourceJarPath.lastIndexOf(":") + 1);
+resourceJarPath = 
resourceJarPath.substring(resourceJarPath.indexOf(":") + 1);
 }
 if (resourceJarPath.contains("!")) {
 resourceJarPath = resourceJarPath.substring(0, 
resourceJarPath.indexOf("!"));



git commit: [flex-asjs] [refs/heads/develop] - - Changed the test that it works on windows machines as "length" is implemented differently on Windows and on Mac

2016-11-16 Thread cdutz
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 2201cf5d3 -> a64e768ca


- Changed the test that it works on windows machines as "length" is implemented 
differently on Windows and on Mac


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

Branch: refs/heads/develop
Commit: a64e768ca21341664c7b8bb6023c49fe11ebad5c
Parents: 2201cf5
Author: Christofer Dutz 
Authored: Wed Nov 16 13:54:41 2016 +0100
Committer: Christofer Dutz 
Committed: Wed Nov 16 13:54:41 2016 +0100

--
 .../org/apache/flex/flexjs/examples/tests/ExampleBuildTest.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a64e768c/examples/examples-tests/src/main/java/org/apache/flex/flexjs/examples/tests/ExampleBuildTest.java
--
diff --git 
a/examples/examples-tests/src/main/java/org/apache/flex/flexjs/examples/tests/ExampleBuildTest.java
 
b/examples/examples-tests/src/main/java/org/apache/flex/flexjs/examples/tests/ExampleBuildTest.java
index 1842d8a..cde764f 100644
--- 
a/examples/examples-tests/src/main/java/org/apache/flex/flexjs/examples/tests/ExampleBuildTest.java
+++ 
b/examples/examples-tests/src/main/java/org/apache/flex/flexjs/examples/tests/ExampleBuildTest.java
@@ -59,7 +59,8 @@ public class ExampleBuildTest {
 File explodedWarDirectory = new File(buildDirectory, getArtifactId() + 
"-" + getVersion());
 Assert.assertTrue("The exploded WAR directory doesn't exist.", 
explodedWarDirectory.exists());
 Assert.assertTrue("The exploded WAR directory is not a directory.", 
explodedWarDirectory.isDirectory());
-Assert.assertTrue("The exploded WAR directory is empty.", 
explodedWarDirectory.length() > 0);
+File[] content = explodedWarDirectory.listFiles();
+Assert.assertTrue("The exploded WAR directory is empty.", content != 
null && content.length > 0);
 
 File warFile = new File(buildDirectory, getArtifactId() + "-" + 
getVersion() + ".war");
 Assert.assertTrue("The WAR file doesn't exist.", warFile.exists());



git commit: [flex-asjs] [refs/heads/develop] - - Fixed the maven build which was failing due to changed dependencies structure

2016-11-16 Thread cdutz
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 23740bcee -> 2201cf5d3


- Fixed the maven build which was failing due to changed dependencies structure


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

Branch: refs/heads/develop
Commit: 2201cf5d3a0ef2fc6863c56f53952ba17b3f17ef
Parents: 23740bc
Author: Christofer Dutz 
Authored: Wed Nov 16 12:50:37 2016 +0100
Committer: Christofer Dutz 
Committed: Wed Nov 16 12:50:37 2016 +0100

--
 frameworks/projects/HTML/pom.xml | 13 +
 1 file changed, 13 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2201cf5d/frameworks/projects/HTML/pom.xml
--
diff --git a/frameworks/projects/HTML/pom.xml b/frameworks/projects/HTML/pom.xml
index 5eab490..c41420c 100644
--- a/frameworks/projects/HTML/pom.xml
+++ b/frameworks/projects/HTML/pom.xml
@@ -123,6 +123,19 @@
   swc
   typedefs
 
+
+  org.apache.flex.flexjs.framework
+  Effects
+  0.8.0-SNAPSHOT
+  swc
+
+
+  org.apache.flex.flexjs.framework
+  Effects
+  0.8.0-SNAPSHOT
+  swc
+  typedefs
+
   
 
 



[flex-typedefs] Git Push Summary

2016-11-10 Thread cdutz
Repository: flex-typedefs
Updated Branches:
  refs/heads/feature-autobuild/example-maven-dirs [deleted] a59805f07


[flex-falcon] Git Push Summary

2016-11-10 Thread cdutz
Repository: flex-falcon
Updated Branches:
  refs/heads/feature-autobuild/example-maven-dirs [deleted] ecdfde81c


[flex-asjs] Git Push Summary

2016-11-10 Thread cdutz
Repository: flex-asjs
Updated Branches:
  refs/heads/feature-autobuild/example-maven-dirs [deleted] 1cb8e192b


[06/50] git commit: [flex-asjs] [refs/heads/develop] - remove type from badge and change jpeg to jpg

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


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

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

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


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

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

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



[26/50] git commit: [flex-asjs] [refs/heads/develop] - Minor changes

2016-11-10 Thread cdutz
Minor changes


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

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

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


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

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

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

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

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

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

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


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

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

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


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

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

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

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

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2cd47198/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CardSupportingTex

[03/50] git commit: [flex-asjs] [refs/heads/develop] - Refactor Badge

2016-11-10 Thread cdutz
Refactor Badge


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

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

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


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

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

[07/50] git commit: [flex-asjs] [refs/heads/develop] - CheckBox and RadioButton examples

2016-11-10 Thread cdutz
CheckBox and RadioButton examples


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

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

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


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



[44/50] git commit: [flex-asjs] [refs/heads/develop] - Merge branches 'develop' and 'feature-autobuild/example-maven-dirs' of https://git-wip-us.apache.org/repos/asf/flex-asjs into feature-autobuild/e

2016-11-10 Thread cdutz
Merge branches 'develop' and 'feature-autobuild/example-maven-dirs' of 
https://git-wip-us.apache.org/repos/asf/flex-asjs into 
feature-autobuild/example-maven-dirs


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

Branch: refs/heads/develop
Commit: 9b6e60cbb95bd47649256c8fe4240d8d4a87d662
Parents: 35e7acc 9e6e093
Author: Christofer Dutz 
Authored: Wed Nov 9 20:16:12 2016 +0100
Committer: Christofer Dutz 
Committed: Wed Nov 9 20:16:12 2016 +0100

--
 .../html/supportClasses/ClippingViewport.as | 137 +++
 .../HTML/src/main/resources/basic-manifest.xml  |   1 +
 2 files changed, 138 insertions(+)
--




[45/50] git commit: [flex-asjs] [refs/heads/develop] - move import into conditional code

2016-11-10 Thread cdutz
move import into conditional code


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

Branch: refs/heads/develop
Commit: 3acf07042913995f01121386be61d2898ca37685
Parents: 9b6e60c
Author: Alex Harui 
Authored: Wed Nov 9 11:40:16 2016 -0800
Committer: Alex Harui 
Committed: Wed Nov 9 11:44:39 2016 -0800

--
 .../Core/src/main/flex/org/apache/flex/utils/PointUtils.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3acf0704/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/PointUtils.as
--
diff --git 
a/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/PointUtils.as 
b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/PointUtils.as
index 8b7b9e2..96d590e 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/PointUtils.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/PointUtils.as
@@ -22,11 +22,11 @@ package org.apache.flex.utils
 {
 import flash.display.DisplayObject;
 import flash.geom.Point;
+   import flash.display.Stage;
 }
 
 import org.apache.flex.core.IUIBase;
 import org.apache.flex.geom.Point;
-import flash.display.Stage;
 
/**
 *  The PointUtils class is a collection of static functions that 
convert



[37/50] git commit: [flex-asjs] [refs/heads/develop] - Merge branches 'develop' and 'feature-autobuild/example-maven-dirs' of https://git-wip-us.apache.org/repos/asf/flex-asjs into feature-autobuild/e

2016-11-10 Thread cdutz
Merge branches 'develop' and 'feature-autobuild/example-maven-dirs' of 
https://git-wip-us.apache.org/repos/asf/flex-asjs into 
feature-autobuild/example-maven-dirs


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

Branch: refs/heads/develop
Commit: 4bac096e4a59fa4715993c174314b8b77842b443
Parents: a07e0a2 f4caf2c
Author: Christofer Dutz 
Authored: Tue Nov 8 15:31:23 2016 +0100
Committer: Christofer Dutz 
Committed: Tue Nov 8 15:31:23 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 +
 examples/flexjs/DesktopMap/pom.xml  | 10 +++
 examples/flexjs/MapSearch/pom.xml   |  9 +++
 examples/flexjs/MobileMap/pom.xml   |  9 +++
 examples/flexjs/StyleExample/pom.xml|  2 +-
 examples/flexjs/TeamPage/pom.xml| 30 +++--
 .../flex/org/apache/flex/core/CSSTextField.as   | 19 --
 .../flex/org/apache/flex/utils/PointUtils.as|  5 ++
 .../flex/org/apache/flex/core/Application.as| 53 ++--
 .../controllers/ScrollBarMouseControllerBase.as |  6 +-
 .../supportClasses/TextFieldItemRenderer.as | 22 +++
 19 files changed, 578 insertions(+), 62 deletions(-)
--




[05/50] git commit: [flex-asjs] [refs/heads/develop] - Card component and subcomponents

2016-11-10 Thread cdutz
Card component and subcomponents


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

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

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


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

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

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

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

[38/50] git commit: [flex-asjs] [refs/heads/develop] - - Merged stuff that seems to have been lost in previous merges - Removed the clearing of the debug-js and release-js directories - Fixed issues w

2016-11-10 Thread cdutz
- Merged stuff that seems to have been lost in previous merges
- Removed the clearing of the debug-js and release-js directories
- Fixed issues with the cordova build


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

Branch: refs/heads/develop
Commit: 52d4f35c1dcf22a9a41f18c9435bed4673a82b54
Parents: 4bac096
Author: Christofer Dutz 
Authored: Tue Nov 8 16:10:44 2016 +0100
Committer: Christofer Dutz 
Committed: Tue Nov 8 16:10:44 2016 +0100

--
 .../flexjs/TeamPage/src/main/flex/MemberDataJSONItemConverter.as | 2 +-
 examples/flexjs/TeamPage/src/main/flex/NoSelectionController.as  | 2 +-
 examples/flexjs/TeamPage/src/main/flex/models/MemberList.as  | 2 +-
 examples/flexjs/TeamPage/src/main/flex/models/Person.as  | 2 +-
 examples/pom.xml | 4 ++--
 5 files changed, 6 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/52d4f35c/examples/flexjs/TeamPage/src/main/flex/MemberDataJSONItemConverter.as
--
diff --git 
a/examples/flexjs/TeamPage/src/main/flex/MemberDataJSONItemConverter.as 
b/examples/flexjs/TeamPage/src/main/flex/MemberDataJSONItemConverter.as
index 6f1e77b..cafb4a9 100644
--- a/examples/flexjs/TeamPage/src/main/flex/MemberDataJSONItemConverter.as
+++ b/examples/flexjs/TeamPage/src/main/flex/MemberDataJSONItemConverter.as
@@ -16,7 +16,7 @@
 //  limitations under the License.
 //
 

-package main.flex
+package
 {
 import models.Person;
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/52d4f35c/examples/flexjs/TeamPage/src/main/flex/NoSelectionController.as
--
diff --git a/examples/flexjs/TeamPage/src/main/flex/NoSelectionController.as 
b/examples/flexjs/TeamPage/src/main/flex/NoSelectionController.as
index 380668d..0a8af0a 100644
--- a/examples/flexjs/TeamPage/src/main/flex/NoSelectionController.as
+++ b/examples/flexjs/TeamPage/src/main/flex/NoSelectionController.as
@@ -16,7 +16,7 @@
 //  limitations under the License.
 //
 

-package main.flex
+package
 {
import org.apache.flex.core.IBeadController;
import org.apache.flex.core.IStrand;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/52d4f35c/examples/flexjs/TeamPage/src/main/flex/models/MemberList.as
--
diff --git a/examples/flexjs/TeamPage/src/main/flex/models/MemberList.as 
b/examples/flexjs/TeamPage/src/main/flex/models/MemberList.as
index 8fa77dc..1b5c3e7 100644
--- a/examples/flexjs/TeamPage/src/main/flex/models/MemberList.as
+++ b/examples/flexjs/TeamPage/src/main/flex/models/MemberList.as
@@ -16,7 +16,7 @@
 //  limitations under the License.
 //
 

-package main.flex.models
+package models
 {
import org.apache.flex.collections.LazyCollection;
import org.apache.flex.core.Application;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/52d4f35c/examples/flexjs/TeamPage/src/main/flex/models/Person.as
--
diff --git a/examples/flexjs/TeamPage/src/main/flex/models/Person.as 
b/examples/flexjs/TeamPage/src/main/flex/models/Person.as
index c513157..36ed24a 100644
--- a/examples/flexjs/TeamPage/src/main/flex/models/Person.as
+++ b/examples/flexjs/TeamPage/src/main/flex/models/Person.as
@@ -16,7 +16,7 @@
 //  limitations under the License.
 //
 

-package main.flex.models
+package models
 {
import org.apache.flex.events.Event;
import org.apache.flex.events.EventDispatcher;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/52d4f35c/examples/pom.xml
--
diff --git a/examples/pom.xml b/examples/pom.xml
index ea865fa..3c5398a 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -97,11 +97,11 @@
 
   
   
-${compiler.output-dir}
+
${basedir}/target/javascript/bin/js-debug
 false
 
   
-${build.outputDirectory}
+${compiler.output-dir}
   
 
   



[31/50] git commit: [flex-asjs] [refs/heads/develop] - - Add MaterialDesignLite swc to distribution binary folder

2016-11-10 Thread cdutz
- Add MaterialDesignLite swc to distribution binary folder


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

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

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


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



[48/50] git commit: [flex-asjs] [refs/heads/develop] - Fix Card example to support images

2016-11-10 Thread cdutz
Fix Card example to support images


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

Branch: refs/heads/develop
Commit: 9633ef5c46cfeef4a253ff0255d6726682aebd88
Parents: 0c0dea7
Author: Carlos Rovira 
Authored: Thu Nov 10 00:30:30 2016 +0100
Committer: Carlos Rovira 
Committed: Thu Nov 10 00:30:30 2016 +0100

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9633ef5c/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 b77ec2c..48e2ec7 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -114,12 +114,9 @@ limitations under the License.
 
 
 
-
+
 
 
-
-
-
 
 
 
@@ -127,12 +124,17 @@ limitations under the License.
 
 
 
-
+
 share
 
 
 
 
+
+
+
 
 
 



[50/50] git commit: [flex-asjs] [refs/heads/develop] - Merge branches 'develop' and 'feature-autobuild/example-maven-dirs' of https://git-wip-us.apache.org/repos/asf/flex-asjs into feature-autobuild/e

2016-11-10 Thread cdutz
Merge branches 'develop' and 'feature-autobuild/example-maven-dirs' of 
https://git-wip-us.apache.org/repos/asf/flex-asjs into 
feature-autobuild/example-maven-dirs


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

Branch: refs/heads/develop
Commit: 1cb8e192b8b93d687dd0191a5f4674668142a28a
Parents: ef3aaae a7d484d
Author: Christofer Dutz 
Authored: Thu Nov 10 09:09:42 2016 +0100
Committer: Christofer Dutz 
Committed: Thu Nov 10 09:09:42 2016 +0100

--
 build.xml   | 39 
 examples/flexjs/DesktopMap/build.xml|  2 +-
 .../main/flex/org/apache/flex/core/UIBase.as|  3 +-
 3 files changed, 42 insertions(+), 2 deletions(-)
--




[33/50] git commit: [flex-asjs] [refs/heads/develop] - MDL swc tasks for maven and Spacer

2016-11-10 Thread cdutz
MDL swc tasks for maven and Spacer


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

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

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


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

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

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

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

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


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

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

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


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

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

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

[14/50] git commit: [flex-asjs] [refs/heads/develop] - Some text input and example changes

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


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

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

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


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

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



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

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

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


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

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

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




[09/50] git commit: [flex-asjs] [refs/heads/develop] - Update example to new js html tags

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


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

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

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


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



[27/50] git commit: [flex-asjs] [refs/heads/develop] - Effect Bead classes for various components

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


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

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

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


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

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

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

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


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

Branch: refs/heads/develop
Commit: bc8218b219e8a6bdd2f912f23035b6f021efd9af
Parents: 8390928
Author: Carlos Rovira 
Authored: Wed Oct 26 12:57:18 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Nov 6 13:15:38 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/bc8218b2/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/bc8218b2/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 
-{
-className = _mdlEffect;
- 

[46/50] git commit: [flex-asjs] [refs/heads/develop] - get Ant build to work with Maven folder structure

2016-11-10 Thread cdutz
get Ant build to work with Maven folder structure


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

Branch: refs/heads/develop
Commit: bc828bbd4cf54835204b4bd871b77d4350360337
Parents: 3acf070
Author: Alex Harui 
Authored: Wed Nov 9 11:40:45 2016 -0800
Committer: Alex Harui 
Committed: Wed Nov 9 11:44:39 2016 -0800

--
 examples/build.xml   |  2 ++
 examples/build_example.xml   | 12 ++--
 examples/flexjs/FlexJSStore/build.xml| 10 +-
 examples/flexjs/FlexJSStore_jquery/build.xml | 10 +-
 examples/flexjs/MobileMap/build.xml  | 15 +--
 5 files changed, 27 insertions(+), 22 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc828bbd/examples/build.xml
--
diff --git a/examples/build.xml b/examples/build.xml
index 8cb1387..75aead4 100644
--- a/examples/build.xml
+++ b/examples/build.xml
@@ -87,6 +87,7 @@
 
 
 
+
 
 
 
@@ -121,6 +122,7 @@
 
 
 
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc828bbd/examples/build_example.xml
--
diff --git a/examples/build_example.xml b/examples/build_example.xml
index 87657ad..bdecb12 100644
--- a/examples/build_example.xml
+++ b/examples/build_example.xml
@@ -107,7 +107,7 @@
 then they would set theme_arg=-theme= -->
 
 
 
 
@@ -157,7 +157,7 @@
 
 
 
 
 
@@ -199,7 +199,7 @@
 
 
 
 
 
@@ -262,7 +262,7 @@
 
 
 
-
+
 
 

@@ -309,7 +309,7 @@
 
 
 
-
+
 
 
 
@@ -357,7 +357,7 @@
 
 
 
-
+
 
 


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc828bbd/examples/flexjs/FlexJSStore/build.xml
--
diff --git a/examples/flexjs/FlexJSStore/build.xml 
b/examples/flexjs/FlexJSStore/build.xml
index 16f0aec..81cd3cb 100644
--- a/examples/flexjs/FlexJSStore/build.xml
+++ b/examples/flexjs/FlexJSStore/build.xml
@@ -33,20 +33,20 @@
 
 
 
-
+
 
-
+
 
-
+
 
 
-
+
 
 
 
 
 
-
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc828bbd/examples/flexjs/FlexJSStore_jquery/build.xml
--
diff --git a/examples/flexjs/FlexJSStore_jquery/build.xml 
b/examples/flexjs/FlexJSStore_jquery/build.xml
index 080b6bb..ac61b45 100644
--- a/examples/flexjs/FlexJSStore_jquery/build.xml
+++ b/examples/flexjs/FlexJSStore_jquery/build.xml
@@ -51,20 +51,20 @@
 
 
 
-
+
 
-
+
 
-
+
 
 
-
+
 
 
 
 
 
-
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bc828bbd/examples/flexjs/MobileMap/build.xml
--
diff --git a/examples/flexjs/MobileMap/build.xml 
b/examples/flexjs/MobileMap/build.xml
index 68403b6..ce2e376 100644
--- a/examples/flexjs/MobileMap/build.xml
+++ b/examples/flexjs/MobileMap/build.xml
@@ -23,6 +23,9 @@
 
 
 
+
+
+
 
 
 
@@ -30,25 +33,25 @@
 
 
 
-
+
 
 
 
 
-
+
 
 
-
+
 
 
 
 
-
+
 
 
-
+
 
-
+
 
 
 



[15/50] git commit: [flex-asjs] [refs/heads/develop] - ButtonEffectBead in place

2016-11-10 Thread cdutz
ButtonEffectBead in place


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

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

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


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

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

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

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f28f92ad/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ButtonEffectBead.as
---

[13/50] git commit: [flex-asjs] [refs/heads/develop] - Fixed radio button

2016-11-10 Thread cdutz
Fixed radio button


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

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

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


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

[25/50] git commit: [flex-asjs] [refs/heads/develop] - Badge and BadgeElement

2016-11-10 Thread cdutz
Badge and BadgeElement


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

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

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


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

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

[20/50] git commit: [flex-asjs] [refs/heads/develop] - Text Input with floating text

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


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

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

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


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

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

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



[01/50] git commit: [flex-asjs] [refs/heads/develop] - CardMenu

2016-11-10 Thread cdutz
Repository: flex-asjs
Updated Branches:
  refs/heads/develop a7d484d37 -> 1cb8e192b


CardMenu


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

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

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


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

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

[04/50] git commit: [flex-asjs] [refs/heads/develop] - CardInner containers and effects

2016-11-10 Thread cdutz
CardInner containers and effects


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

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

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


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

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

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

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

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

git commit: [flex-falcon] [refs/heads/develop] - - Removed the clearing of the output directory from the publisher

2016-11-10 Thread cdutz
Repository: flex-falcon
Updated Branches:
  refs/heads/develop d889f1182 -> 0d72c8ce7


- Removed the clearing of the output directory from the publisher


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

Branch: refs/heads/develop
Commit: 0d72c8ce7c7833a299eb34f138c24e34ce89233f
Parents: d889f11
Author: Christofer Dutz 
Authored: Thu Nov 10 09:48:44 2016 +0100
Committer: Christofer Dutz 
Committed: Thu Nov 10 09:48:44 2016 +0100

--
 .../apache/flex/compiler/internal/codegen/js/JSPublisher.java   | 5 -
 1 file changed, 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/0d72c8ce/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/JSPublisher.java
--
diff --git 
a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/JSPublisher.java
 
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/JSPublisher.java
index eaa8fe8..65b7cb6 100644
--- 
a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/JSPublisher.java
+++ 
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/JSPublisher.java
@@ -22,7 +22,6 @@ package org.apache.flex.compiler.internal.codegen.js;
 import java.io.File;
 import java.io.IOException;
 
-import org.apache.commons.io.FileUtils;
 import org.apache.commons.io.FilenameUtils;
 import org.apache.flex.compiler.clients.problems.ProblemQuery;
 import org.apache.flex.compiler.codegen.js.IJSPublisher;
@@ -58,10 +57,6 @@ public class JSPublisher implements IJSPublisher
 
 protected void setupOutputFolder()
 {
-if (outputParentFolder.exists()) {
-FileUtils.deleteQuietly(outputParentFolder);
-}
-
 if (!outputFolder.exists()) {
 outputFolder.mkdirs();
 }



[47/50] git commit: [flex-asjs] [refs/heads/develop] - Fix background line

2016-11-10 Thread cdutz
Fix background line


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

Branch: refs/heads/develop
Commit: 0c0dea776888cab267e9fd87d2601f8fd279defd
Parents: bc828bb
Author: Carlos Rovira 
Authored: Wed Nov 9 23:30:32 2016 +0100
Committer: Carlos Rovira 
Committed: Wed Nov 9 23:30:32 2016 +0100

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0c0dea77/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 cdd07e4..b77ec2c 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -114,7 +114,7 @@ limitations under the License.
 
 
 
-
+
 
 
 



[43/50] git commit: [flex-asjs] [refs/heads/develop] - Put images where correspond, and fix paths

2016-11-10 Thread cdutz
Put images where correspond, and fix paths


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

Branch: refs/heads/develop
Commit: 35e7acc0bc3ff960bf580f3e14f0961472837495
Parents: 70acec9
Author: Carlos Rovira 
Authored: Tue Nov 8 23:28:17 2016 +0100
Committer: Carlos Rovira 
Committed: Tue Nov 8 23:28:17 2016 +0100

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/35e7acc0/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 0bacef4..cdd07e4 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -114,11 +114,11 @@ limitations under the License.
 
 
 
-
+
 
 
 
-
+
 
 
 

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

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



[23/50] git commit: [flex-asjs] [refs/heads/develop] - Changes in TextInput

2016-11-10 Thread cdutz
Changes in TextInput


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

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

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


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

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

[12/50] git commit: [flex-asjs] [refs/heads/develop] - MDL CheckBox impl

2016-11-10 Thread cdutz
MDL CheckBox impl


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

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

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


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

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

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


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

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

--

--




[19/50] git commit: [flex-asjs] [refs/heads/develop] - Changes to Button and examples

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


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

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

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


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

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

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

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

2016-11-10 Thread cdutz
Change MDLExample tasks.json for VSCode to build with maven


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

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

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


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



[17/50] git commit: [flex-asjs] [refs/heads/develop] - removed CardEffect bead and incorporated to Card component

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


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

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

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


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

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

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

[28/50] git commit: [flex-asjs] [refs/heads/develop] - Disabled bead

2016-11-10 Thread cdutz
Disabled bead


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

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

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


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

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

[42/50] git commit: [flex-asjs] [refs/heads/develop] - Missing some pom configs

2016-11-10 Thread cdutz
Missing some pom configs


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

Branch: refs/heads/develop
Commit: 70acec978142bf0b77234ddfa0e298e51fef1f8f
Parents: 138a7b5
Author: Carlos Rovira 
Authored: Tue Nov 8 23:21:01 2016 +0100
Committer: Carlos Rovira 
Committed: Tue Nov 8 23:21:01 2016 +0100

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/70acec97/examples/flexjs/MDLExample/pom.xml
--
diff --git a/examples/flexjs/MDLExample/pom.xml 
b/examples/flexjs/MDLExample/pom.xml
index 2dd229e..a64aeaa 100644
--- a/examples/flexjs/MDLExample/pom.xml
+++ b/examples/flexjs/MDLExample/pom.xml
@@ -48,6 +48,8 @@
 true
 
   App.mxml
+  
${basedir}/src/main/resources/mdl-js-index-template.html
+  
-compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css
 
   
   



[24/50] git commit: [flex-asjs] [refs/heads/develop] - MDL TextPromptBead in place

2016-11-10 Thread cdutz
MDL TextPromptBead in place


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

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

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


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

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

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

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

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

[36/50] git commit: [flex-asjs] [refs/heads/develop] - - Fixed some minor things in the poms.

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


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

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

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


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

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



[30/50] git commit: [flex-asjs] [refs/heads/develop] - MDL Slider

2016-11-10 Thread cdutz
MDL Slider


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

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

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


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

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

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



+  

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

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

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9ac5f7ad/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as

[02/50] git commit: [flex-asjs] [refs/heads/develop] - Remove effect beads to reduce verbosity

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


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

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

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


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

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

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

[21/50] git commit: [flex-asjs] [refs/heads/develop] - Fix to complain with the last refactor

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


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

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

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


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

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



[40/50] git commit: [flex-asjs] [refs/heads/develop] - - Adjusted the configuration of the MDLExample to build correctly with maven.

2016-11-10 Thread cdutz
- Adjusted the configuration of the MDLExample to build correctly with maven.


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

Branch: refs/heads/develop
Commit: 9321215b9c2cdff1f114b28115f365d51774c669
Parents: a54a76e
Author: Christofer Dutz 
Authored: Tue Nov 8 16:25:06 2016 +0100
Committer: Christofer Dutz 
Committed: Tue Nov 8 16:25:06 2016 +0100

--
 examples/flexjs/MDLExample/pom.xml | 52 +
 1 file changed, 8 insertions(+), 44 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9321215b/examples/flexjs/MDLExample/pom.xml
--
diff --git a/examples/flexjs/MDLExample/pom.xml 
b/examples/flexjs/MDLExample/pom.xml
index 464adca..2dd229e 100644
--- a/examples/flexjs/MDLExample/pom.xml
+++ b/examples/flexjs/MDLExample/pom.xml
@@ -47,43 +47,21 @@
 flexjs-maven-plugin
 true
 
-  
   App.mxml
 
-
-  
-  
-compile-javascript
-compile
-
-  compile-app
-
-
-  true
-  
${basedir}/src/main/resources/mdl-js-index-template.html
-  
-compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css
-
-  
-
-
-  
-org.apache.flex.flexjs.compiler
-compiler-jx
-0.8.0-SNAPSHOT
-  
-
+  
+  
+org.apache.maven.plugins
+maven-war-plugin
+  
+  
+org.codehaus.mojo
+build-helper-maven-plugin
   
 
   
 
   
-
-
 
   org.apache.flex.flexjs.framework
   MaterialDesignLite
@@ -99,20 +77,6 @@
   swc
   provided
 
-
-
-
   
 
 
\ No newline at end of file



[41/50] git commit: [flex-asjs] [refs/heads/develop] - Merge branch 'develop' into feature-autobuild/example-maven-dirs

2016-11-10 Thread cdutz
Merge branch 'develop' into feature-autobuild/example-maven-dirs


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

Branch: refs/heads/develop
Commit: 138a7b52b23a481d67b9abfacd102abf7e8dfec6
Parents: 9321215 0423210
Author: Carlos Rovira 
Authored: Tue Nov 8 23:09:33 2016 +0100
Committer: Carlos Rovira 
Committed: Tue Nov 8 23:09:33 2016 +0100

--
 .../TeamPage/src/main/flex/models/MemberList.as | 24 +---
 .../flex/org/apache/flex/core/Application.as|  2 --
 2 files changed, 21 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/138a7b52/examples/flexjs/TeamPage/src/main/flex/models/MemberList.as
--
diff --cc examples/flexjs/TeamPage/src/main/flex/models/MemberList.as
index 1b5c3e7,000..69d2220
mode 100644,00..100644
--- a/examples/flexjs/TeamPage/src/main/flex/models/MemberList.as
+++ b/examples/flexjs/TeamPage/src/main/flex/models/MemberList.as
@@@ -1,82 -1,0 +1,100 @@@
 
+
 +//
 +//  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;
 +  import org.apache.flex.core.Application;
 +  import org.apache.flex.core.IBeadModel;
 +  import org.apache.flex.core.IStrand;
 +  import org.apache.flex.events.Event;
 +  import org.apache.flex.events.EventDispatcher;
 +  import org.apache.flex.events.IEventDispatcher;
 +  import org.apache.flex.net.HTTPService;
 +
 +  [Event(name="membersChanged", type="org.apache.flex.events.Event")]
 +  public class MemberList extends EventDispatcher implements IBeadModel
 +  {
 +  public function MemberList(target:IEventDispatcher=null)
 +  {
 +  super(target);
 +  }
 +
-   public var members:Array = null;
++  private var _members:Array = null;
++  public function get members():Array
++  {
++  return _members;
++  }
++  public function set members(value:Array):void
++  {
++  _members = value;
++  }
 +
 +  private var app:Application;
 +  private var service:HTTPService;
 +  private var collection:LazyCollection;
 +
 +  private var _strand:IStrand;
 +  public function set strand(value:IStrand):void
 +  {
 +  _strand = value;
 +
 +  app = value as Application;
 +  if (app) {
 +  app.addEventListener("viewChanged", 
viewChangeHandler);
 +  }
 +  }
 +
 +  private function viewChangeHandler(event:Event):void
 +  {
 +  service = app["service"] as HTTPService;
 +  collection = app["collection"] as LazyCollection;
 +
 +  loadMembers();
 +  }
 +
 +  public function loadMembers():void
 +  {
 +  service.url = "team.json";
 +  service.send();
++  service.addEventListener("httpStatus", 
handleStatusReturn);
 +  service.addEventListener("complete", 
handleLoadComplete);
++  service.addEventListener("ioError", handleError);
++  }
++
++  public function 
handleStatusReturn(event:org.apache.flex.events.Event):void
++  {
++  // tbd: should handle a bad status here
 +  }
 +
 +  public function 
han

[49/50] flex-asjs git commit: Fix SimpleCSSValuesImpl to support values. Problem was spaces in property ‘background’ , so we need to trim it

2016-11-10 Thread cdutz
Fix SimpleCSSValuesImpl to support values. Problem was spaces in property 
‘background’ , so we need to trim 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/ef3aaaec
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/ef3aaaec
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/ef3aaaec

Branch: refs/heads/develop
Commit: ef3aaaec82ea6a39dceeccee6f5d0c181883d04d
Parents: 9633ef5
Author: Carlos Rovira 
Authored: Thu Nov 10 00:31:33 2016 +0100
Committer: Carlos Rovira 
Committed: Thu Nov 10 00:31:33 2016 +0100

--
 .../src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ef3aaaec/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as
--
diff --git 
a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as
 
b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as
index 7957070..1aa6661 100644
--- 
a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as
+++ 
b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as
@@ -30,6 +30,7 @@ package org.apache.flex.core
import org.apache.flex.events.ValueChangeEvent;
import org.apache.flex.events.ValueEvent;
import org.apache.flex.utils.CSSUtils;
+import org.apache.flex.utils.StringUtil;
 
 /**
  *  The SimpleCSSValuesImpl class implements a minimal set of
@@ -590,7 +591,7 @@ package org.apache.flex.core
 var parts:Array = styles.split(";");
 for each (var part:String in parts)
 {
-var pieces:Array = part.split(":");
+var pieces:Array = StringUtil.splitAndTrim(part, ":");
 var value:String = pieces[1];
 if (value == "null")
 obj[pieces[0]] = null;



[08/50] git commit: [flex-asjs] [refs/heads/develop] - Fix badges to conform to MDL

2016-11-10 Thread cdutz
Fix badges to conform to MDL


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

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

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


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

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



[29/50] git commit: [flex-asjs] [refs/heads/develop] - MDL Slider fixes

2016-11-10 Thread cdutz
MDL Slider fixes


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

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

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


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

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

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

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

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

[10/50] git commit: [flex-asjs] [refs/heads/develop] - Replaced Link by js:Anchor

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


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

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

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


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

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

[39/50] git commit: [flex-asjs] [refs/heads/develop] - Merge branches 'feature-autobuild/example-maven-dirs' and 'feature/mdl' of https://git-wip-us.apache.org/repos/asf/flex-asjs into feature-autobui

2016-11-10 Thread cdutz
Merge branches 'feature-autobuild/example-maven-dirs' and 'feature/mdl' of 
https://git-wip-us.apache.org/repos/asf/flex-asjs into 
feature-autobuild/example-maven-dirs


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

Branch: refs/heads/develop
Commit: a54a76e2130384b01bab17152374e2c3c4f2f446
Parents: 52d4f35 dd64210
Author: Christofer Dutz 
Authored: Tue Nov 8 16:13:28 2016 +0100
Committer: Christofer Dutz 
Committed: Tue Nov 8 16:13:28 2016 +0100

--
 distribution/pom.xml|   6 +
 examples/flexjs/MDLExample/.vscode/launch.json  |  21 ++
 examples/flexjs/MDLExample/.vscode/tasks.json   |  10 +
 examples/flexjs/MDLExample/asconfig.json|  14 +
 examples/flexjs/MDLExample/pom.xml  | 118 
 .../flexjs/MDLExample/src/main/flex/App.mxml| 140 ++
 .../MDLExample/src/main/resources/Unknown.jpg   | Bin 0 -> 50531 bytes
 .../main/resources/mdl-js-index-template.html   |  33 +++
 .../src/main/resources/mdl-styles.css   |  43 +++
 examples/flexjs/pom.xml |   1 +
 examples/pom.xml|   6 +-
 .../MaterialDesignLite/.vscode/tasks.json   |  10 +
 .../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 | 230 
 .../src/main/flex/org/apache/flex/mdl/Card.as   | 105 
 .../flex/org/apache/flex/mdl/CardActions.as |  80 ++
 .../main/flex/org/apache/flex/mdl/CardMedia.as  |  80 ++
 .../main/flex/org/apache/flex/mdl/CardMenu.as   |  80 ++
 .../org/apache/flex/mdl/CardSupportingText.as   |  80 ++
 .../main/flex/org/apache/flex/mdl/CardTitle.as  |  80 ++
 .../main/flex/org/apache/flex/mdl/CheckBox.as   | 161 +++
 .../flex/org/apache/flex/mdl/RadioButton.as | 266 +++
 .../src/main/flex/org/apache/flex/mdl/Slider.as | 262 ++
 .../src/main/flex/org/apache/flex/mdl/Spacer.as |  65 +
 .../main/flex/org/apache/flex/mdl/TextInput.as  | 156 +++
 .../flex/org/apache/flex/mdl/beads/Badge.as | 157 +++
 .../flex/org/apache/flex/mdl/beads/Disabled.as  |  98 +++
 .../org/apache/flex/mdl/beads/TextPrompt.as | 151 +++
 .../apache/flex/mdl/supportClasses/CardInner.as | 102 +++
 .../src/main/resources/defaults.css |  33 +++
 .../src/main/resources/mdl-as-manifest.xml  |  26 ++
 .../src/main/resources/mdl-manifest.xml |  41 +++
 frameworks/projects/pom.xml |   1 +
 36 files changed, 3010 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a54a76e2/examples/pom.xml
--
diff --cc examples/pom.xml
index 3c5398a,e0c8976..8d8751a
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@@ -97,13 -97,13 +97,13 @@@
  


- 
${basedir}/target/javascript/bin/js-debug
+ ${compiler.output-dir}
  false
- 
+ 

  
  



[11/50] git commit: [flex-asjs] [refs/heads/develop] - MDL RadioButton

2016-11-10 Thread cdutz
MDL RadioButton


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

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

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


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

[1/4] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - FLEX-35144 fix panel. Also requires flex-falcon d889f1182104be4f69b3564c6feeb4ffacf5e213

2016-11-10 Thread cdutz
Repository: flex-asjs
Updated Branches:
  refs/heads/feature-autobuild/example-maven-dirs ef3aaaec8 -> 1cb8e192b


FLEX-35144 fix panel.  Also requires flex-falcon 
d889f1182104be4f69b3564c6feeb4ffacf5e213


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: a7d484d373620fcb3fcdc88aa833bf2329dd37c5
Parents: 8af90ac
Author: Alex Harui 
Authored: Wed Nov 9 21:52:21 2016 -0800
Committer: Alex Harui 
Committed: Wed Nov 9 21:52:32 2016 -0800

--
 .../projects/HTML/src/main/flex/org/apache/flex/core/UIBase.as| 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a7d484d3/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
index 5dbea38..0b0dbb5 100644
--- 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
@@ -981,9 +981,10 @@ package org.apache.flex.core
  */
override public function addBead(bead:IBead):void
{
-super.addBead(bead);
 if (bead is IBeadView)
 _view = bead as IBeadView;
+
+super.addBead(bead);

if (bead is IBeadView) {
IEventDispatcher(this).dispatchEvent(new 
Event("viewChanged"));



[3/4] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - need typedefs for this app

2016-11-10 Thread cdutz
need typedefs for this app


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 8e29ae46c2265b9f51086eb98ddc40a1441cd17c
Parents: 9e6e093
Author: Alex Harui 
Authored: Sun Nov 6 21:00:25 2016 -0800
Committer: Alex Harui 
Committed: Wed Nov 9 21:52:32 2016 -0800

--
 examples/flexjs/DesktopMap/build.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8e29ae46/examples/flexjs/DesktopMap/build.xml
--
diff --git a/examples/flexjs/DesktopMap/build.xml 
b/examples/flexjs/DesktopMap/build.xml
index 647d496..7430444 100644
--- a/examples/flexjs/DesktopMap/build.xml
+++ b/examples/flexjs/DesktopMap/build.xml
@@ -51,7 +51,7 @@
 
 
 
-
+
 
 
 



[2/4] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - add some targets to build apps from the repos

2016-11-10 Thread cdutz
add some targets to build apps from the repos


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 8af90ac4a0dc006c295614017d5582be2432815a
Parents: 8e29ae4
Author: Alex Harui 
Authored: Wed Nov 9 21:51:13 2016 -0800
Committer: Alex Harui 
Committed: Wed Nov 9 21:52:32 2016 -0800

--
 build.xml | 39 +++
 1 file changed, 39 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8af90ac4/build.xml
--
diff --git a/build.xml b/build.xml
index 18a583b..15af666 100644
--- a/build.xml
+++ b/build.xml
@@ -1863,4 +1863,43 @@
 Please change directory to ${base.folder.name}/flex-asjs and run 
ant to complete build
 
 
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 



[4/4] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - Merge branches 'develop' and 'feature-autobuild/example-maven-dirs' of https://git-wip-us.apache.org/repos/asf/flex-as

2016-11-10 Thread cdutz
Merge branches 'develop' and 'feature-autobuild/example-maven-dirs' of 
https://git-wip-us.apache.org/repos/asf/flex-asjs into 
feature-autobuild/example-maven-dirs


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 1cb8e192b8b93d687dd0191a5f4674668142a28a
Parents: ef3aaae a7d484d
Author: Christofer Dutz 
Authored: Thu Nov 10 09:09:42 2016 +0100
Committer: Christofer Dutz 
Committed: Thu Nov 10 09:09:42 2016 +0100

--
 build.xml   | 39 
 examples/flexjs/DesktopMap/build.xml|  2 +-
 .../main/flex/org/apache/flex/core/UIBase.as|  3 +-
 3 files changed, 42 insertions(+), 2 deletions(-)
--




[2/3] 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-09 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/9e6e0934
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/9e6e0934
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/9e6e0934

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 9e6e093455526fb29ed0baa51f9b7eee0ca5f90c
Parents: 043b092 0423210
Author: yishayw 
Authored: Wed Nov 9 09:40:13 2016 +0200
Committer: yishayw 
Committed: Wed Nov 9 09:40:13 2016 +0200

--
 .../flexjs/TeamPage/src/models/MemberList.as| 24 +---
 .../flex/org/apache/flex/core/Application.as|  2 --
 2 files changed, 21 insertions(+), 5 deletions(-)
--




[1/3] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - Added ClippingViewport

2016-11-09 Thread cdutz
Repository: flex-asjs
Updated Branches:
  refs/heads/feature-autobuild/example-maven-dirs 35e7acc0b -> 9b6e60cbb


Added ClippingViewport


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 043b092d146e7fece8b9024b8705790e316256a2
Parents: f4caf2c
Author: yishayw 
Authored: Wed Nov 9 09:38:10 2016 +0200
Committer: yishayw 
Committed: Wed Nov 9 09:38:10 2016 +0200

--
 .../html/supportClasses/ClippingViewport.as | 137 +++
 .../HTML/src/main/resources/basic-manifest.xml  |   1 +
 2 files changed, 138 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/043b092d/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/ClippingViewport.as
--
diff --git 
a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/ClippingViewport.as
 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/ClippingViewport.as
new file mode 100644
index 000..00b88c1
--- /dev/null
+++ 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/ClippingViewport.as
@@ -0,0 +1,137 @@
+
+//
+//  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.IBeadLayout;
+   import org.apache.flex.core.IViewport;
+   import org.apache.flex.core.UIBase;
+   import org.apache.flex.geom.Size;
+
+   COMPILE::JS
+   {
+   import org.apache.flex.core.IStrand;
+   }
+COMPILE::SWF
+{
+import flash.geom.Rectangle;
+}
+
+   /**
+* The ClippingViewport extends the Viewport class and makes 
+* sure that items extending outside the Container are hidden.
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public class ClippingViewport extends Viewport implements IBead, 
IViewport
+   {
+   /**
+* Constructor
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public function ClippingViewport()
+   {
+   }
+
+/**
+ * @flexjsignorecoercion HTMLElement 
+ */
+COMPILE::JS
+override public function set strand(value:IStrand):void
+{
+super.strand = value;
+(contentView.element as HTMLElement).style.overflow = 'hidden';
+}
+
+private var viewportWidth:Number;
+private var viewportHeight:Number;
+
+/**
+ * @copy org.apache.flex.core.IViewport
+ */
+override public function 
layoutViewportBeforeContentLayout(width:Number, height:Number):void
+{
+   super.layoutViewportBeforeContentLayout(width, height);
+   viewportWidth = width;
+   viewportHeight = height;
+}
+
+/**
+ * @copy org.apache.flex.core.IViewport
+ */
+   override public function layoutViewportAfterContentLayout():Size
+   {
+COMPILE::SWF
+{
+var contentSize:Size;
+do
+{
+contentSize = super.layoutViewportAfterContentLayout();
+if (isNaN(viewportHeight))
+viewportHeight = contentSize.height;
+if (isNaN

[3/3] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - Merge branches 'develop' and 'feature-autobuild/example-maven-dirs' of https://git-wip-us.apache.org/repos/asf/flex-as

2016-11-09 Thread cdutz
Merge branches 'develop' and 'feature-autobuild/example-maven-dirs' of 
https://git-wip-us.apache.org/repos/asf/flex-asjs into 
feature-autobuild/example-maven-dirs


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 9b6e60cbb95bd47649256c8fe4240d8d4a87d662
Parents: 35e7acc 9e6e093
Author: Christofer Dutz 
Authored: Wed Nov 9 20:16:12 2016 +0100
Committer: Christofer Dutz 
Committed: Wed Nov 9 20:16:12 2016 +0100

--
 .../html/supportClasses/ClippingViewport.as | 137 +++
 .../HTML/src/main/resources/basic-manifest.xml  |   1 +
 2 files changed, 138 insertions(+)
--




[27/50] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - Fix badges to conform to MDL

2016-11-08 Thread cdutz
Fix badges to conform to MDL


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

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

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


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

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



[13/50] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - fix MDL swc to use the correct Button

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


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

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

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


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

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



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

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


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

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

--

--




[23/50] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - ButtonEffectBead in place

2016-11-08 Thread cdutz
ButtonEffectBead in place


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

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

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


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

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

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

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f28f92ad/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/ButtonEffectBead.a

[07/50] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - Minor changes

2016-11-08 Thread cdutz
Minor changes


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

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

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


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

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

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

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

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

[47/50] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - Merge remote-tracking branch 'origin/feature/mdl' into feature/mdl

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

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


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

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

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




[12/50] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - More Buttons, I think we need "disabled" html attribute implementation

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


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

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

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


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



[05/50] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - Replaced Link by js:Anchor

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


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

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

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


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

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

[50/50] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - - Adjusted the configuration of the MDLExample to build correctly with maven.

2016-11-08 Thread cdutz
- Adjusted the configuration of the MDLExample to build correctly with maven.


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 9321215b9c2cdff1f114b28115f365d51774c669
Parents: a54a76e
Author: Christofer Dutz 
Authored: Tue Nov 8 16:25:06 2016 +0100
Committer: Christofer Dutz 
Committed: Tue Nov 8 16:25:06 2016 +0100

--
 examples/flexjs/MDLExample/pom.xml | 52 +
 1 file changed, 8 insertions(+), 44 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9321215b/examples/flexjs/MDLExample/pom.xml
--
diff --git a/examples/flexjs/MDLExample/pom.xml 
b/examples/flexjs/MDLExample/pom.xml
index 464adca..2dd229e 100644
--- a/examples/flexjs/MDLExample/pom.xml
+++ b/examples/flexjs/MDLExample/pom.xml
@@ -47,43 +47,21 @@
 flexjs-maven-plugin
 true
 
-  
   App.mxml
 
-
-  
-  
-compile-javascript
-compile
-
-  compile-app
-
-
-  true
-  
${basedir}/src/main/resources/mdl-js-index-template.html
-  
-compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css
-
-  
-
-
-  
-org.apache.flex.flexjs.compiler
-compiler-jx
-0.8.0-SNAPSHOT
-  
-
+  
+  
+org.apache.maven.plugins
+maven-war-plugin
+  
+  
+org.codehaus.mojo
+build-helper-maven-plugin
   
 
   
 
   
-
-
 
   org.apache.flex.flexjs.framework
   MaterialDesignLite
@@ -99,20 +77,6 @@
   swc
   provided
 
-
-
-
   
 
 
\ No newline at end of file



[49/50] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - Merge branches 'feature-autobuild/example-maven-dirs' and 'feature/mdl' of https://git-wip-us.apache.org/repos/asf/f

2016-11-08 Thread cdutz
Merge branches 'feature-autobuild/example-maven-dirs' and 'feature/mdl' of 
https://git-wip-us.apache.org/repos/asf/flex-asjs into 
feature-autobuild/example-maven-dirs


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: a54a76e2130384b01bab17152374e2c3c4f2f446
Parents: 52d4f35 dd64210
Author: Christofer Dutz 
Authored: Tue Nov 8 16:13:28 2016 +0100
Committer: Christofer Dutz 
Committed: Tue Nov 8 16:13:28 2016 +0100

--
 distribution/pom.xml|   6 +
 examples/flexjs/MDLExample/.vscode/launch.json  |  21 ++
 examples/flexjs/MDLExample/.vscode/tasks.json   |  10 +
 examples/flexjs/MDLExample/asconfig.json|  14 +
 examples/flexjs/MDLExample/pom.xml  | 118 
 .../flexjs/MDLExample/src/main/flex/App.mxml| 140 ++
 .../MDLExample/src/main/resources/Unknown.jpg   | Bin 0 -> 50531 bytes
 .../main/resources/mdl-js-index-template.html   |  33 +++
 .../src/main/resources/mdl-styles.css   |  43 +++
 examples/flexjs/pom.xml |   1 +
 examples/pom.xml|   6 +-
 .../MaterialDesignLite/.vscode/tasks.json   |  10 +
 .../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 | 230 
 .../src/main/flex/org/apache/flex/mdl/Card.as   | 105 
 .../flex/org/apache/flex/mdl/CardActions.as |  80 ++
 .../main/flex/org/apache/flex/mdl/CardMedia.as  |  80 ++
 .../main/flex/org/apache/flex/mdl/CardMenu.as   |  80 ++
 .../org/apache/flex/mdl/CardSupportingText.as   |  80 ++
 .../main/flex/org/apache/flex/mdl/CardTitle.as  |  80 ++
 .../main/flex/org/apache/flex/mdl/CheckBox.as   | 161 +++
 .../flex/org/apache/flex/mdl/RadioButton.as | 266 +++
 .../src/main/flex/org/apache/flex/mdl/Slider.as | 262 ++
 .../src/main/flex/org/apache/flex/mdl/Spacer.as |  65 +
 .../main/flex/org/apache/flex/mdl/TextInput.as  | 156 +++
 .../flex/org/apache/flex/mdl/beads/Badge.as | 157 +++
 .../flex/org/apache/flex/mdl/beads/Disabled.as  |  98 +++
 .../org/apache/flex/mdl/beads/TextPrompt.as | 151 +++
 .../apache/flex/mdl/supportClasses/CardInner.as | 102 +++
 .../src/main/resources/defaults.css |  33 +++
 .../src/main/resources/mdl-as-manifest.xml  |  26 ++
 .../src/main/resources/mdl-manifest.xml |  41 +++
 frameworks/projects/pom.xml |   1 +
 36 files changed, 3010 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a54a76e2/examples/pom.xml
--
diff --cc examples/pom.xml
index 3c5398a,e0c8976..8d8751a
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@@ -97,13 -97,13 +97,13 @@@
  


- 
${basedir}/target/javascript/bin/js-debug
+ ${compiler.output-dir}
  false
- 
+ 

  
  



[44/50] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - Change MDLExample tasks.json for VSCode to build with maven

2016-11-08 Thread cdutz
Change MDLExample tasks.json for VSCode to build with maven


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

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

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


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



[29/50] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - removed CardEffect bead and incorporated to Card component

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


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

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

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


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

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

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

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

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


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

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

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


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

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

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

[22/50] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - Effect Bead classes for various components

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


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

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

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


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

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

[48/50] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - - Fixed some minor things in the poms.

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


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

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

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


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

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



[11/50] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - MDL Example project

2016-11-08 Thread cdutz
MDL Example project


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

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

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


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

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

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

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

[09/50] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - First MDL commit. This is a Material Design Google SWC project to create components with Google MDL look and feel

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


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

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

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


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

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

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1e699517/frameworks/projects/MaterialDesignLite/src/main/config/compile-as-config.xml

[30/50] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - MDL Slider

2016-11-08 Thread cdutz
MDL Slider


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

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

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


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

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

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



+  

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

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

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9ac5f7ad/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as
---

[21/50] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - Text Input with floating text

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


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

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

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


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

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

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



[35/50] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - MDL Slider fixes

2016-11-08 Thread cdutz
MDL Slider fixes


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

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

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


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

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

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

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

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

[45/50] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - MDL swc tasks for maven and Spacer

2016-11-08 Thread cdutz
MDL swc tasks for maven and Spacer


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

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

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


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

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

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

[32/50] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - Use changes in falcon to inline HTML

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


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

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

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


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



<    1   2   3   4   5   6   7   8   9   10   >