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

2016-10-16 Thread carlosrovira
MDL Example project


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

Branch: refs/heads/feature/mdl
Commit: e68be7af7c0a072c83ed3869e2898983d127de60
Parents: 0b5006a
Author: Carlos Rovira 
Authored: Fri Oct 14 23:05:39 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Oct 16 17:20:04 2016 +0200

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


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

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

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


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

Branch: refs/heads/feature/mdl
Commit: a7b1d38bf2d66b9178d45fd38b17c919f0241781
Parents: 9f510bc
Author: Carlos Rovira 
Authored: Fri Oct 14 20:51:28 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Oct 16 17:20:04 2016 +0200

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


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


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

2016-10-16 Thread carlosrovira
Add MDL module to pom


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

Branch: refs/heads/feature/mdl
Commit: 0b5006a13093ae3e5cf867551dd72fa4f9a7e48c
Parents: a7b1d38
Author: Carlos Rovira 
Authored: Fri Oct 14 20:52:53 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Oct 16 17:20:04 2016 +0200

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


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



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

2016-10-16 Thread carlosrovira
Use changes in falcon to inline HTML


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

Branch: refs/heads/feature/mdl
Commit: c7199a401fd17402336fede3ad98d5faac71b6d7
Parents: e68be7a
Author: Carlos Rovira 
Authored: Sun Oct 16 11:05:38 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Oct 16 17:20:04 2016 +0200

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c7199a40/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/5] git commit: [flex-asjs] [refs/heads/feature/mdl] - add default property for TextButton [Forced Update!]

2016-10-16 Thread carlosrovira
Repository: flex-asjs
Updated Branches:
  refs/heads/feature/mdl 26bef797e -> c7199a401 (forced update)


add default property for TextButton


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

Branch: refs/heads/feature/mdl
Commit: 9f510bc0f07ea5defe5a4ce2521171eb877a1d0c
Parents: 83804e4
Author: Alex Harui 
Authored: Sat Oct 15 23:23:07 2016 -0700
Committer: Alex Harui 
Committed: Sat Oct 15 23:23:50 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9f510bc0/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as
--
diff --git 
a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as
index ec052c7..b2997c2 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as
@@ -24,6 +24,8 @@ package org.apache.flex.html
import org.apache.flex.core.WrappedHTMLElement;
}
 
+[DefaultProperty("text")]
+
 /**
  *  The TextButton class implements a basic button that
  *  displays text.



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

2016-10-16 Thread carlosrovira
Repository: flex-asjs
Updated Branches:
  refs/heads/feature/mdl 5a6feb98d -> 26bef797e


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

Branch: refs/heads/feature/mdl
Commit: 26bef797e42074389540f69193d9776577527cd9
Parents: 5a6feb9
Author: Carlos Rovira 
Authored: Sun Oct 16 11:05:38 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Oct 16 11:05:38 2016 +0200

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


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



Build failed in Jenkins: flex-utilities_installer #974

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

--
Started by timer
Building remotely on flex_sdk_slave2 in workspace 

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


clean:
   [delete] Deleting directory 


init:

check-as3commons.swc:

get-as3commons.swc:

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

  [get] Destination already exists (skipping): 

  [get] Destination already exists (skipping): 

  [get] Destination already exists (skipping): 

  [get] Destination already exists (skipping): 

  [get] Destination already exists (skipping): 

  [get] Destination already exists (skipping): 


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

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

failuretests:

main:

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


clean:
   [delete] Deleting directory 

   [delete] Deleting directory 

   [delete] Deleting directory 

   [delete] Deleting directory 


clean:

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

[2/3] git commit: [flex-falcon] [refs/heads/develop] - json output

2016-10-16 Thread aharui
json output


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

Branch: refs/heads/develop
Commit: cd0908b65e52bf474f59771e57b18fa6eb81a30e
Parents: 87fd5e0
Author: Alex Harui 
Authored: Thu Oct 13 22:15:28 2016 -0700
Committer: Alex Harui 
Committed: Sat Oct 15 23:27:57 2016 -0700

--
 .../apache/flex/compiler/clients/ASDOCJSC.java  |   7 +
 .../js/flexjs/IJSFlexJSASDocEmitter.java|  47 +
 .../codegen/js/flexjs/JSFlexJSASDocEmitter.java | 209 ++-
 .../internal/projects/FlexJSASDocProject.java   |  54 +
 4 files changed, 316 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/cd0908b6/compiler-jx/src/main/java/org/apache/flex/compiler/clients/ASDOCJSC.java
--
diff --git 
a/compiler-jx/src/main/java/org/apache/flex/compiler/clients/ASDOCJSC.java 
b/compiler-jx/src/main/java/org/apache/flex/compiler/clients/ASDOCJSC.java
index db232fa..0ba33f0 100644
--- a/compiler-jx/src/main/java/org/apache/flex/compiler/clients/ASDOCJSC.java
+++ b/compiler-jx/src/main/java/org/apache/flex/compiler/clients/ASDOCJSC.java
@@ -30,6 +30,7 @@ import java.util.List;
 import java.util.Set;
 import org.apache.commons.io.FilenameUtils;
 import org.apache.flex.compiler.codegen.as.IASWriter;
+import org.apache.flex.compiler.codegen.js.flexjs.IJSFlexJSASDocEmitter;
 import org.apache.flex.compiler.driver.IBackend;
 import org.apache.flex.compiler.driver.js.IJSApplication;
 import org.apache.flex.compiler.exceptions.ConfigurationException;
@@ -44,6 +45,7 @@ import 
org.apache.flex.compiler.internal.driver.mxml.flexjs.MXMLFlexJSASDocBacke
 import org.apache.flex.compiler.internal.driver.mxml.jsc.MXMLJSCJSSWCBackend;
 import org.apache.flex.compiler.internal.driver.mxml.vf2js.MXMLVF2JSSWCBackend;
 import org.apache.flex.compiler.internal.projects.CompilerProject;
+import org.apache.flex.compiler.internal.projects.FlexJSASDocProject;
 import org.apache.flex.compiler.internal.targets.FlexJSSWCTarget;
 import org.apache.flex.compiler.internal.targets.JSTarget;
 import org.apache.flex.compiler.problems.ICompilerProblem;
@@ -160,6 +162,7 @@ public class ASDOCJSC extends MXMLJSC
 public ASDOCJSC(IBackend backend)
 {
 super(backend);
+project = new FlexJSASDocProject(workspace);
 }
 
 /**
@@ -247,6 +250,10 @@ public class ASDOCJSC extends MXMLJSC
 }
 }
 compilationSuccess = true;
+IJSFlexJSASDocEmitter emitter = 
(IJSFlexJSASDocEmitter)JSSharedData.backend.createEmitter(null);
+emitter.outputIndex(outputFolder, (FlexJSASDocProject)project);
+emitter.outputClasses(outputFolder, 
(FlexJSASDocProject)project);
+emitter.outputTags(outputFolder, (FlexJSASDocProject)project);
 }
 }
 catch (Exception e)

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/cd0908b6/compiler-jx/src/main/java/org/apache/flex/compiler/codegen/js/flexjs/IJSFlexJSASDocEmitter.java
--
diff --git 
a/compiler-jx/src/main/java/org/apache/flex/compiler/codegen/js/flexjs/IJSFlexJSASDocEmitter.java
 
b/compiler-jx/src/main/java/org/apache/flex/compiler/codegen/js/flexjs/IJSFlexJSASDocEmitter.java
new file mode 100644
index 000..3e7f79f
--- /dev/null
+++ 
b/compiler-jx/src/main/java/org/apache/flex/compiler/codegen/js/flexjs/IJSFlexJSASDocEmitter.java
@@ -0,0 +1,47 @@
+/*
+ *
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *
+ */
+
+package org.apache.flex.compiler.codegen.js.flexjs;
+
+import java.io.File;
+import java.io.IOException;
+
+import org.apache.flex.compiler.internal.projects.FlexJSASDocProject;
+
+/**
+ * @author Erik de Bruin

[1/3] git commit: [flex-falcon] [refs/heads/develop] - handle text/html as default property. If text is specified as default property, but html is provided and an html property exists the html propert

2016-10-16 Thread aharui
Repository: flex-falcon
Updated Branches:
  refs/heads/develop 13b29e17d -> 9c05264f8


handle text/html as default property.  If text is specified as default 
property, but html is provided and an html property exists the html property 
will be set.  This solution needs to be tested and generalized against mixed 
text and html tags


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

Branch: refs/heads/develop
Commit: 9c05264f858675cf080882177426e4e73338e44e
Parents: cd0908b
Author: Alex Harui 
Authored: Sat Oct 15 23:26:52 2016 -0700
Committer: Alex Harui 
Committed: Sat Oct 15 23:27:57 2016 -0700

--
 .../compiler/internal/mxml/MXMLTagData.java | 37 
 .../compiler/internal/mxml/MXMLTextData.java|  2 +-
 .../tree/mxml/MXMLClassReferenceNodeBase.java   | 18 ++
 .../tree/mxml/MXMLPropertySpecifierNode.java| 15 
 4 files changed, 71 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/9c05264f/compiler/src/main/java/org/apache/flex/compiler/internal/mxml/MXMLTagData.java
--
diff --git 
a/compiler/src/main/java/org/apache/flex/compiler/internal/mxml/MXMLTagData.java
 
b/compiler/src/main/java/org/apache/flex/compiler/internal/mxml/MXMLTagData.java
index 2b5eec3..5ddd780 100644
--- 
a/compiler/src/main/java/org/apache/flex/compiler/internal/mxml/MXMLTagData.java
+++ 
b/compiler/src/main/java/org/apache/flex/compiler/internal/mxml/MXMLTagData.java
@@ -1132,4 +1132,41 @@ public class MXMLTagData extends MXMLUnitData implements 
IMXMLTagData
 
 return sb.toString();
 }
+
+public String stringify()
+{
+   StringBuilder sb = new StringBuilder();
+sb.append('<');
+if (isCloseTag())
+sb.append('/');
+sb.append(getName());
+
+// Verify the attributes.
+for (IMXMLTagAttributeData attribute : getAttributeDatas())
+{
+   sb.append(" ");
+sb.append(attribute.getName());
+sb.append("=\"");
+sb.append(attribute.getRawValue());
+sb.append("\"");
+}
+if (isEmptyTag())
+sb.append('/');
+sb.append('>');
+for (IMXMLUnitData unit = getFirstChildUnit(); unit != null; unit = 
unit.getNextSiblingUnit())
+{
+if (unit.isText())
+sb.append(((IMXMLTextData)unit).getCompilableText());
+else if (unit instanceof MXMLTagData)
+   sb.append(((MXMLTagData)unit).stringify());
+}
+if (!isEmptyTag())
+{
+sb.append('<');
+sb.append('/');
+sb.append(getName());
+sb.append('>');
+}
+return sb.toString();
+}
 }

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/9c05264f/compiler/src/main/java/org/apache/flex/compiler/internal/mxml/MXMLTextData.java
--
diff --git 
a/compiler/src/main/java/org/apache/flex/compiler/internal/mxml/MXMLTextData.java
 
b/compiler/src/main/java/org/apache/flex/compiler/internal/mxml/MXMLTextData.java
index 2a35c19..5411912 100644
--- 
a/compiler/src/main/java/org/apache/flex/compiler/internal/mxml/MXMLTextData.java
+++ 
b/compiler/src/main/java/org/apache/flex/compiler/internal/mxml/MXMLTextData.java
@@ -39,7 +39,7 @@ public class MXMLTextData extends MXMLUnitData implements 
IMXMLTextData
 /**
  * Constructor.
  */
-MXMLTextData(MXMLToken textToken)
+public MXMLTextData(MXMLToken textToken)
 {
 text = textToken.getText();
 

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/9c05264f/compiler/src/main/java/org/apache/flex/compiler/internal/tree/mxml/MXMLClassReferenceNodeBase.java
--
diff --git 
a/compiler/src/main/java/org/apache/flex/compiler/internal/tree/mxml/MXMLClassReferenceNodeBase.java
 
b/compiler/src/main/java/org/apache/flex/compiler/internal/tree/mxml/MXMLClassReferenceNodeBase.java
index 0d3aab9..fc8ed36 100644
--- 
a/compiler/src/main/java/org/apache/flex/compiler/internal/tree/mxml/MXMLClassReferenceNodeBase.java
+++ 
b/compiler/src/main/java/org/apache/flex/compiler/internal/tree/mxml/MXMLClassReferenceNodeBase.java
@@ -489,6 +489,24 @@ abstract class MXMLClassReferenceNodeBase extends 
MXMLNodeBase implements IMXMLC
 }
 else
 {
+IVariableDefinition defaultPropertyDefinition = 

[3/3] git commit: [flex-falcon] [refs/heads/develop] - tidy up the strings by eliminating extra whitespace

2016-10-16 Thread aharui
tidy up the strings by eliminating extra whitespace


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

Branch: refs/heads/develop
Commit: 87fd5e0cd8f93e7c0bae4df93cebb8db45b7c545
Parents: 13b29e1
Author: Alex Harui 
Authored: Thu Oct 13 21:53:53 2016 -0700
Committer: Alex Harui 
Committed: Sat Oct 15 23:27:57 2016 -0700

--
 .../org/apache/flex/compiler/asdoc/flexjs/ASDocComment.java| 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/87fd5e0c/compiler-jx/src/main/java/org/apache/flex/compiler/asdoc/flexjs/ASDocComment.java
--
diff --git 
a/compiler-jx/src/main/java/org/apache/flex/compiler/asdoc/flexjs/ASDocComment.java
 
b/compiler-jx/src/main/java/org/apache/flex/compiler/asdoc/flexjs/ASDocComment.java
index e5064b1..b8e97d3 100644
--- 
a/compiler-jx/src/main/java/org/apache/flex/compiler/asdoc/flexjs/ASDocComment.java
+++ 
b/compiler-jx/src/main/java/org/apache/flex/compiler/asdoc/flexjs/ASDocComment.java
@@ -89,7 +89,7 @@ public class ASDocComment implements IASDocComment
lines[0] = lines[0].substring(0, c);
 }
 // clip off asdoc slash-star-star
-sb.append(lines[0].substring(3));
+sb.append(lines[0].substring(3).trim());
 for (int i = 1; i < n - 1; i++)
 {
 String line = lines[i];
@@ -99,7 +99,7 @@ public class ASDocComment implements IASDocComment
 {
sb.append(" ");
if (star > -1)
-   sb.append(line.substring(star + 1));
+   sb.append(line.substring(star + 1).trim());
 }
 else
 {
@@ -124,7 +124,7 @@ public class ASDocComment implements IASDocComment
}   
 }
 }
-description = sb.toString();
+description = sb.toString().trim().replace("\"", "\\\"");
 }
 
 @Override



Jenkins build is back to normal : flex-falcon #1272

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



git commit: [flex-asjs] [refs/heads/develop] - add default property for TextButton

2016-10-16 Thread aharui
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 83804e4af -> 9f510bc0f


add default property for TextButton


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

Branch: refs/heads/develop
Commit: 9f510bc0f07ea5defe5a4ce2521171eb877a1d0c
Parents: 83804e4
Author: Alex Harui 
Authored: Sat Oct 15 23:23:07 2016 -0700
Committer: Alex Harui 
Committed: Sat Oct 15 23:23:50 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9f510bc0/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as
--
diff --git 
a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as
index ec052c7..b2997c2 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as
@@ -24,6 +24,8 @@ package org.apache.flex.html
import org.apache.flex.core.WrappedHTMLElement;
}
 
+[DefaultProperty("text")]
+
 /**
  *  The TextButton class implements a basic button that
  *  displays text.



git commit: [flex-asjs] [refs/heads/feature/mdl] - add default property for TextButton

2016-10-16 Thread carlosrovira
Repository: flex-asjs
Updated Branches:
  refs/heads/feature/mdl f4a04c22c -> 5a6feb98d


add default property for TextButton


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

Branch: refs/heads/feature/mdl
Commit: 5a6feb98da021492c161eb03d17bce637073ab43
Parents: f4a04c2
Author: Alex Harui 
Authored: Sat Oct 15 23:23:07 2016 -0700
Committer: Carlos Rovira 
Committed: Sun Oct 16 10:35:24 2016 +0200

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5a6feb98/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as
--
diff --git 
a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as
index ec052c7..b2997c2 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as
@@ -24,6 +24,8 @@ package org.apache.flex.html
import org.apache.flex.core.WrappedHTMLElement;
}
 
+[DefaultProperty("text")]
+
 /**
  *  The TextButton class implements a basic button that
  *  displays text.



Jenkins build is back to stable : flex-flexunit #789

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



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

2016-10-16 Thread carlosrovira
Repository: flex-asjs
Updated Branches:
  refs/heads/feature/mdl c7199a401 -> 2b96b458d


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

Branch: refs/heads/feature/mdl
Commit: 2b96b458dc922d16c3bb6e395f5e3b6e5289a0c6
Parents: c7199a4
Author: Carlos Rovira 
Authored: Sun Oct 16 21:10:10 2016 +0200
Committer: Carlos Rovira 
Committed: Sun Oct 16 21:10:10 2016 +0200

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


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



git commit: [flex-asjs] [refs/heads/develop] - updated release notes, and added some missing things from 0.7

2016-10-16 Thread joshtynjala
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 9f510bc0f -> 14abba2c9


updated release notes, and added some missing things from 0.7


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

Branch: refs/heads/develop
Commit: 14abba2c947193001f5f0255cbe3318853cb68c7
Parents: 9f510bc
Author: Josh Tynjala 
Authored: Sun Oct 16 17:27:15 2016 -0700
Committer: Josh Tynjala 
Committed: Sun Oct 16 17:27:15 2016 -0700

--
 RELEASE_NOTES | 13 +
 1 file changed, 9 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/14abba2c/RELEASE_NOTES
--
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index f768112..21c8e6e 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -11,9 +11,9 @@ features.
 
 New Features
 =
--more complete Reflection implementation with access to static members, kept 
metadata and method parameters
--added cross-platform registerClassAlias/getAliasByClass/getClassByAlias 
implementations (reflection package)
-
+- More complete Reflection implementation with access to static members, kept 
metadata and method parameters
+- Added cross-platform registerClassAlias/getAliasByClass/getClassByAlias 
implementations (reflection package)
+- Added support for interpreting XML literals as JSX by adding [JSX] metadata 
to a function.
 
 Bug Fixes
 -
@@ -23,7 +23,12 @@ Apache FlexJS 0.7.0
 =
 - Support for XML contructors and literals as well as E4X.
 See here for limitations: 
https://cwiki.apache.org/confluence/display/FLEX/Using+XML+in+FlexJS
-- Support for Typed Node.js
+- Node.js projects no longer need to call require() for built-in modules. The 
JavaScript require() calls are generated when these modules are used.
+ define APIs for Typed Node.js
+- The node.swc for Node.js APIs has been expanded to include more APIs with 
types for ActionScript.
+- Added -source-map compiler argument to generate source maps, which allow web 
browser debuggers to step through add breakpoints to the original ActionScript 
code instead of the generated JavaScript.
+- SDK may be built with Maven.
+- Improved compatibility of externc tool to parse more Google Closure Compiler 
externs.
 
 Bug Fixes
 -



[1/2] git commit: [flex-falcon] [refs/heads/develop] - functions with [JSX] metadata register appropriate dependencies in the graph for their tags

2016-10-16 Thread joshtynjala
Repository: flex-falcon
Updated Branches:
  refs/heads/develop 9c05264f8 -> 47cf23cd6


functions with [JSX] metadata register appropriate dependencies in the graph 
for their tags


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

Branch: refs/heads/develop
Commit: 58f31971851e98bfdd5652b5c1626be9bfc9f6c6
Parents: 9c05264
Author: Josh Tynjala 
Authored: Sun Oct 16 17:00:10 2016 -0700
Committer: Josh Tynjala 
Committed: Sun Oct 16 17:00:10 2016 -0700

--
 .../internal/codegen/js/jx/LiteralEmitter.java  |  42 ++
 .../internal/units/ASCompilationUnit.java   |  50 +++
 .../java/org/apache/flex/utils/JSXUtil.java | 129 +++
 3 files changed, 188 insertions(+), 33 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/58f31971/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/jx/LiteralEmitter.java
--
diff --git 
a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/jx/LiteralEmitter.java
 
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/jx/LiteralEmitter.java
index 176eb35..518c3a5 100644
--- 
a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/jx/LiteralEmitter.java
+++ 
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/jx/LiteralEmitter.java
@@ -19,13 +19,11 @@
 
 package org.apache.flex.compiler.internal.codegen.js.jx;
 
-import java.util.ArrayList;
 import java.util.Stack;
 
 import org.apache.flex.compiler.codegen.ISubEmitter;
 import org.apache.flex.compiler.codegen.js.IJSEmitter;
 import org.apache.flex.compiler.common.IMetaInfo;
-import org.apache.flex.compiler.common.Multiname;
 import org.apache.flex.compiler.internal.codegen.as.ASEmitterTokens;
 import org.apache.flex.compiler.internal.codegen.js.JSSubEmitter;
 import 
org.apache.flex.compiler.internal.codegen.js.flexjs.JSFlexJSEmitterTokens;
@@ -34,10 +32,9 @@ import 
org.apache.flex.compiler.internal.tree.as.RegExpLiteralNode;
 import org.apache.flex.compiler.internal.tree.as.XMLLiteralNode;
 import org.apache.flex.compiler.tree.as.IASNode;
 import org.apache.flex.compiler.tree.as.IFunctionNode;
-import org.apache.flex.compiler.tree.as.IImportNode;
 import org.apache.flex.compiler.tree.as.ILiteralNode;
 import org.apache.flex.compiler.tree.as.ILiteralNode.LiteralType;
-import org.apache.flex.compiler.tree.as.IScopedNode;
+import org.apache.flex.utils.JSXUtil;
 
 public class LiteralEmitter extends JSSubEmitter implements
 ISubEmitter
@@ -255,7 +252,7 @@ public class LiteralEmitter extends JSSubEmitter implements
 {
 //the close tag of the current element
 elementName = elementName.substring(1);
-elementName = getQualifiedElementName(elementName, 
node);
+elementName = getElementNameToEmit(elementName, 
node);
 if (elementStack.size() > 0)
 {
 indentPop();
@@ -275,7 +272,7 @@ public class LiteralEmitter extends JSSubEmitter implements
 indentPush();
 writeNewline(ASEmitterTokens.COMMA);
 }
-elementName = getQualifiedElementName(elementName, 
node);
+elementName = getElementNameToEmit(elementName, 
node);
 elementStack.push(elementName);
 write("React.createElement");
 write(ASEmitterTokens.PAREN_OPEN);
@@ -421,35 +418,14 @@ public class LiteralEmitter extends JSSubEmitter 
implements
 write(ASEmitterTokens.SINGLE_QUOTE);
 }
 
-private String getQualifiedElementName(String elementName, IASNode node)
+private String getElementNameToEmit(String elementName, IASNode node)
 {
-String firstChar = elementName.substring(0, 1);
-boolean isHTMLTag = firstChar.toLowerCase().equals(firstChar);
-if (isHTMLTag)
+String qualifiedTypeName = 
JSXUtil.getQualifiedTypeForElementName(elementName, node);
+if (qualifiedTypeName != null)
 {
-return ASEmitterTokens.SINGLE_QUOTE.getToken() + elementName + 
ASEmitterTokens.SINGLE_QUOTE.getToken();
+return qualifiedTypeName;
 }
-ArrayList importNodes = new ArrayList();
-IScopedNode scopedNode = node.getContainingScope();

[2/2] git commit: [flex-falcon] [refs/heads/develop] - LiteralEmitter: use formatQualifiedName() for JSX elements so that they aren't removed

2016-10-16 Thread joshtynjala
LiteralEmitter: use formatQualifiedName() for JSX elements so that they aren't 
removed


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

Branch: refs/heads/develop
Commit: 47cf23cd6a18bba3adb1b9b572917bfd71d17f2a
Parents: 58f3197
Author: Josh Tynjala 
Authored: Sun Oct 16 17:12:10 2016 -0700
Committer: Josh Tynjala 
Committed: Sun Oct 16 17:12:10 2016 -0700

--
 .../flex/compiler/internal/codegen/js/jx/LiteralEmitter.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/47cf23cd/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/jx/LiteralEmitter.java
--
diff --git 
a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/jx/LiteralEmitter.java
 
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/jx/LiteralEmitter.java
index 518c3a5..95acce1 100644
--- 
a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/jx/LiteralEmitter.java
+++ 
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/jx/LiteralEmitter.java
@@ -423,7 +423,7 @@ public class LiteralEmitter extends JSSubEmitter implements
 String qualifiedTypeName = 
JSXUtil.getQualifiedTypeForElementName(elementName, node);
 if (qualifiedTypeName != null)
 {
-return qualifiedTypeName;
+return getEmitter().formatQualifiedName(qualifiedTypeName);
 }
 //it's a basic HTML tag
 return ASEmitterTokens.SINGLE_QUOTE.getToken() + elementName + 
ASEmitterTokens.SINGLE_QUOTE.getToken();



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

2016-10-16 Thread aharui
Repository: flex-asjs
Updated Branches:
  refs/heads/feature/mdl 2b96b458d -> fa21a4cfb


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

Branch: refs/heads/feature/mdl
Commit: fa21a4cfb2b4bb5405bfe84ff984baead345e803
Parents: 2b96b45
Author: Alex Harui 
Authored: Sun Oct 16 21:25:09 2016 -0700
Committer: Alex Harui 
Committed: Sun Oct 16 21:25:09 2016 -0700

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