Re: Build failed in Jenkins: flex-tlf #416

2015-04-08 Thread Piotr Zarzycki
Ohh..Here we go our problems with resource manager again... :/

2015-04-08 8:55 GMT+02:00 :

> See 
>
> --
> Started by timer
> Building remotely on flex_sdk_slave2 in workspace <
> http://apacheflexbuild.cloudapp.net:8080/job/flex-tlf/ws/>
>  > 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-tlf.git # timeout=10
> Fetching upstream changes from
> https://git-wip-us.apache.org/repos/asf/flex-tlf.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-tlf.git
> +refs/heads/*:refs/remotes/origin/*
>  > C:\Program Files (x86)\Git\cmd\git.exe rev-parse
> "origin/develop^{commit}" # timeout=10
> Checking out Revision b08af46da379065c81994e752b637fae4e4335b8
> (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
> b08af46da379065c81994e752b637fae4e4335b8
>  > C:\Program Files (x86)\Git\cmd\git.exe rev-list
> b08af46da379065c81994e752b637fae4e4335b8 # timeout=10
> [flex-tlf] $ cmd.exe /C
> '"c:\Jenkins\tools\hudson.tasks.Ant_AntInstallation\c_apache-ant-1.9.3\bin\ant.bat
> -file build.xml all && exit %%ERRORLEVEL%%"'
> Buildfile: <
> http://apacheflexbuild.cloudapp.net:8080/job/flex-tlf/ws/build.xml>
>  [echo] FLEX_HOME is <
> http://apacheflexbuild.cloudapp.net:8080/job/flex-tlf/ws/../flex-sdk>
>  [echo] Minimal test is set false
>
> clean:
>[delete] Deleting directory <
> http://apacheflexbuild.cloudapp.net:8080/job/flex-tlf/ws/bin>
>[delete] Deleting: <
> http://apacheflexbuild.cloudapp.net:8080/job/flex-tlf/ws/bundles.properties
> >
>
> textLayout:
> [compc] Loading configuration file
> C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
> [compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
> [compc] C:\Jenkins\workspace\flex-tlf\bin\textLayout.swc (548976 bytes)
>
> main:
>
> asTestApps:
>  [echo] FLEX_HOME is <
> http://apacheflexbuild.cloudapp.net:8080/job/flex-tlf/ws/../flex-sdk>
>  [echo] Minimal test is set false
>
> asTestApp:
> [mxmlc] Loading configuration file
> C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
> [mxmlc]
> C:\Jenkins\workspace\flex-tlf\bin\apps\asTestApps\bin\ExplicitFormField.swf
> (519983 bytes)
> [mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>  [echo] FLEX_HOME is <
> http://apacheflexbuild.cloudapp.net:8080/job/flex-tlf/ws/../flex-sdk>
>  [echo] Minimal test is set false
>
> asTestApp:
> [mxmlc] Loading configuration file
> C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
> [mxmlc]
> C:\Jenkins\workspace\flex-tlf\bin\apps\asTestApps\bin\TCMTestFocus2.swf
> (527160 bytes)
> [mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>  [echo] FLEX_HOME is <
> http://apacheflexbuild.cloudapp.net:8080/job/flex-tlf/ws/../flex-sdk>
>  [echo] Minimal test is set false
>
> asTestApp:
> [mxmlc] Loading configuration file
> C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
> [mxmlc]
> C:\Jenkins\workspace\flex-tlf\bin\apps\asTestApps\bin\AliceScroll.swf
> (588331 bytes)
> [mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>  [echo] FLEX_HOME is <
> http://apacheflexbuild.cloudapp.net:8080/job/flex-tlf/ws/../flex-sdk>
>  [echo] Minimal test is set false
>
> asTestApp:
> [mxmlc] Loading configuration file
> C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
> [mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
> [mxmlc]
> C:\Jenkins\workspace\flex-tlf\bin\apps\asTestApps\bin\KeyLogger.swf (2167
> bytes)
>  [echo] FLEX_HOME is <
> http://apacheflexbuild.cloudapp.net:8080/job/flex-tlf/ws/../flex-sdk>
>  [echo] Minimal test is set false
>
> asTestApp:
> [mxmlc] Loading configuration file
> C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
> [mxmlc]
> C:\Jenkins\workspace\flex-tlf\bin\apps\asTestApps\bin\OpHammer.swf (530372
> bytes)
> [mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> textLayout_editBar:
> [compc] Loading configuration file
> C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
> [compc]
> C:\Jenkins\workspace\flex-tlf\bin\apps\testApps\bin\textLayout_editBar.swc
> (23168 bytes)
> [compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> textLayout_ui:
> [compc] Loading configuration file
> C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
> [compc]
> C:\Jenkins\workspace\flex-tlf\bin\apps\testApps\bin\textLayout_ui.swc
> (112809 bytes)
> [compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> test

Build failed in Jenkins: flex-utilities_installer #457

2015-04-08 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 4933ddf855d1477d93548197bdd95f115cf7714f (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 
 > 4933ddf855d1477d93548197bdd95f115cf7714f
 > C:\Program Files (x86)\Git\cmd\git.exe rev-list 
 > 4933ddf855d1477d93548197bdd95f115cf7714f # 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] Warning: The swc 
'C:\Jenkins\workspace\flex-sdk\frameworks\libs\framework.swc' has style 
defaults and is in the library-path, which means dependencies will be linked in 
without the styles.  This can cause applications, which use the output swc, to 
have missing skins.  The swc should be put in the external-library-path.
[compc] 
[compc] Warning: The swc 
'C:\Jenkins\workspace\flex-sdk\frameworks\libs\spark.swc' has style defaults 
and is in the library-path, which means dependencies will be linked in without 
the styles.  This can cause applications, which use the output swc, to have 
missing skins.  The swc should be put in the external-library-path.
[compc] 
[compc] 
C:\Jenkins\workspace\flex-utilities_installer\ant_on_air\bin\ant_on_air.swc 
(500251 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\ant_on_air\tests\AntOnAir.swf 
(1152551 bytes)
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

main:

BUILD SUCCESSFUL
Total time: 53 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[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 build && exit %%ERRORLEVEL%%"'
Buildfile: 


clean:
   [delete] Deleting directory 

   [delete] Deleting directory 


Build failed in Jenkins: MD5Checker #4106

2015-04-08 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
ERROR: Error fetching remote repo 'origin'
ERROR: Error fetching remote repo 'origin'



flex-sdk_mustella-mobile - Build # 1235 - Still Failing!

2015-04-08 Thread flex . mustella
flex-sdk_mustella-mobile - Build # 1235 - Still Failing:

http://flex-mustella.cloudapp.net/job/flex-sdk_mustella-mobile/1235/

Changes for Build #1234
No changes

Changes for Build #1235
No changes




[...truncated 13200 lines...]
 [java]  cmdArr before: 
 [java] C:\ApacheFlex\dependencies\AdobeAIRSDK\3.7\bin\adl.exe
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMain.xml
 [java]  moreParameters before: 
 [java] -screensize
 [java] 640x960:640x960
 [java] -profile
 [java] mobileDevice
 [java] -XscreenDPI
 [java] 240
 [java]  cmdArr after: 
 [java] C:\ApacheFlex\dependencies\AdobeAIRSDK\3.7\bin\adl.exe
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMain.xml
 [java] -screensize
 [java] 640x960:640x960
 [java] -profile
 [java] mobileDevice
 [java] -XscreenDPI
 [java] 240
 [java] getting directory from the swf file
 [java] derived directory: 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs
 [java] Launching: 
 [java]  C:\ApacheFlex\dependencies\AdobeAIRSDK\3.7\bin\adl.exe 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMain.xml
 -screensize 640x960:640x960 -profile mobileDevice -XscreenDPI 240 Launching: 
C:\ApacheFlex\dependencies\AdobeAIRSDK\3.7\bin\adl.exe 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMain.xml
 [java] USING directory: 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs
 [java] time: 07:41:00.742
 [java] waited 1600
 [java] ClobberProcess, it was already null
 [java] SCRIPTDONE! 07:41:09.334
 [java] GET /ScriptComplete?0 HTTP/1.1
 [java] Before Wait loop 07:41:09.334 waiting = 0
 [java] After Wait loop 07:41:09.334 waiting = 0
 [java] clobberProcess false
 [java] Total Results so far: 3
 [java] removing the xml app file
 [java] Grab log, do parse = false
 [java] Grabbing the log from: 
C:\Users\ApacheFlex\AppData/Roaming\Macromedia/Flash Player/Logs/flashlog.txt 
to: 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMain.log
 [java] apollo adj with : 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMainTabbed.swf
 [java] apollo adj thinks it's a swf
 [java] writing Apollo file!
 [java] full swf is 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMainTabbed.swf
 [java] post ApolloAdjuster: 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMainTabbed.xml
 [java] new test file: 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMainTabbed.xml
 [java]  cmdArr before: 
 [java] C:\ApacheFlex\dependencies\AdobeAIRSDK\3.7\bin\adl.exe
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMainTabbed.xml
 [java]  moreParameters before: 
 [java] -screensize
 [java] 640x960:640x960
 [java] -profile
 [java] mobileDevice
 [java] -XscreenDPI
 [java] 240
 [java]  cmdArr after: 
 [java] C:\ApacheFlex\dependencies\AdobeAIRSDK\3.7\bin\adl.exe
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMainTabbed.xml
 [java] -screensize
 [java] 640x960:640x960
 [java] -profile
 [java] mobileDevice
 [java] -XscreenDPI
 [java] 240
 [java] getting directory from the swf file
 [java] derived directory: 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs
 [java] Launching: 
 [java]  C:\ApacheFlex\dependencies\AdobeAIRSDK\3.7\bin\adl.exe 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMainTabbed.xml
 -screensize 640x960:640x960 -profile mobileDevice -XscreenDPI 240 Launching: 
C:\ApacheFlex\dependencies\AdobeAIRSDK\3.7\bin\adl.exe 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMainTabbed.xml
 [java] USING directory: 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobi

git commit: [flex-utilities] [refs/heads/develop] - - Removed the old, empty "mavenizer" module - Renamed the "core" module to "cli" - Extended the DownloadRetriever with functionality to list all ava

2015-04-08 Thread cdutz
Repository: flex-utilities
Updated Branches:
  refs/heads/develop 4933ddf85 -> 691016f58


- Removed the old, empty "mavenizer" module
- Renamed the "core" module to "cli"
- Extended the DownloadRetriever with functionality to list all available 
versions
- Extended the CLI to output a list of available versions (and platforms)


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

Branch: refs/heads/develop
Commit: 691016f58343e5da290b21a9a8a6fcfd86f6dfca
Parents: 4933ddf
Author: Christofer Dutz 
Authored: Wed Apr 8 14:51:46 2015 +0200
Committer: Christofer Dutz 
Committed: Wed Apr 8 14:51:46 2015 +0200

--
 .../converter/core/SdkConverterCLI.java | 316 +++
 mavenizer/core/pom.xml  |  96 --
 .../converter/core/SdkConverterCLI.java | 244 --
 mavenizer/mavenizer/pom.xml | 118 ---
 mavenizer/pom.xml   |   6 +-
 mavenizer/retrievers/download/pom.xml   |   5 +
 .../retrievers/download/DownloadRetriever.java  | 147 -
 7 files changed, 392 insertions(+), 540 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/691016f5/mavenizer/cli/src/main/java/org/apache/flex/utilities/converter/core/SdkConverterCLI.java
--
diff --git 
a/mavenizer/cli/src/main/java/org/apache/flex/utilities/converter/core/SdkConverterCLI.java
 
b/mavenizer/cli/src/main/java/org/apache/flex/utilities/converter/core/SdkConverterCLI.java
new file mode 100644
index 000..e72d4f0
--- /dev/null
+++ 
b/mavenizer/cli/src/main/java/org/apache/flex/utilities/converter/core/SdkConverterCLI.java
@@ -0,0 +1,316 @@
+package org.apache.flex.utilities.converter.core;
+
+import org.apache.commons.cli.*;
+import org.apache.commons.io.FileUtils;
+import org.apache.commons.lang3.SystemUtils;
+import org.apache.flex.utilities.converter.air.AirConverter;
+import org.apache.flex.utilities.converter.deployer.aether.AetherDeployer;
+import org.apache.flex.utilities.converter.flash.FlashConverter;
+import org.apache.flex.utilities.converter.flex.FlexConverter;
+import org.apache.flex.utilities.converter.fontkit.FontkitConverter;
+import 
org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever;
+import org.apache.flex.utilities.converter.retrievers.types.PlatformType;
+import org.apache.flex.utilities.converter.retrievers.types.SdkType;
+import org.apache.maven.artifact.versioning.DefaultArtifactVersion;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.*;
+
+/**
+ * Created by christoferdutz on 07.04.15.
+ */
+public class SdkConverterCLI {
+
+public static void main(String[] args) throws Exception {
+Options options = new Options();
+options.addOption(OptionBuilder.withDescription("List the versions 
currently available for download.").
+create("list"));
+options.addOption(OptionBuilder.
+withDescription("Tells the Converter to download and extract 
(parts of) an FDK.").
+create("download"));
+options.addOption(OptionBuilder.
+withDescription("Tells the Converter to convert an FDK into a 
mavenized artifacts.").
+create("convert"));
+options.addOption(OptionBuilder.
+withDescription("Tells the Converter to deploy mavenized 
artfifacts to a remote repository.").
+create("deploy"));
+
+options.addOption(OptionBuilder.withArgName("version").hasArg().
+withDescription("(Optional and Only valid for download) 
Version of the " +
+"FDK which should be downloaded.").
+isRequired(false).
+create("flexVersion"));
+options.addOption(OptionBuilder.withArgName("version(s)").hasArg().
+withValueSeparator(',').
+withDescription("(Optional and Only valid for download) 
Version(s) of the " +
+"Adobe Flash SDK which should be downloaded. Multiple 
versions can " +
+"be separated by \",\".").
+isRequired(false).
+create("flashVersion"));
+options.addOption(OptionBuilder.withArgName("version").hasArg().
+withDescription("(Optional and Only valid for download) 
Version of the " +
+"Adobe Air SDK which should be downloaded.").
+isRequired(false).
+create("airVersion"));
+options.addOption(OptionBuilder.
+ 

Build failed in Jenkins: flex-utilities_installer #458

2015-04-08 Thread flex . ci . builds
See 


Changes:

[christofer.dutz] - Removed the old, empty "mavenizer" module

--
Started by an SCM change
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 691016f58343e5da290b21a9a8a6fcfd86f6dfca (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 
 > 691016f58343e5da290b21a9a8a6fcfd86f6dfca
 > C:\Program Files (x86)\Git\cmd\git.exe rev-list 
 > 4933ddf855d1477d93548197bdd95f115cf7714f # 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] Warning: The swc 
'C:\Jenkins\workspace\flex-sdk\frameworks\libs\framework.swc' has style 
defaults and is in the library-path, which means dependencies will be linked in 
without the styles.  This can cause applications, which use the output swc, to 
have missing skins.  The swc should be put in the external-library-path.
[compc] 
[compc] Warning: The swc 
'C:\Jenkins\workspace\flex-sdk\frameworks\libs\spark.swc' has style defaults 
and is in the library-path, which means dependencies will be linked in without 
the styles.  This can cause applications, which use the output swc, to have 
missing skins.  The swc should be put in the external-library-path.
[compc] 
[compc] 
C:\Jenkins\workspace\flex-utilities_installer\ant_on_air\bin\ant_on_air.swc 
(500256 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\ant_on_air\tests\AntOnAir.swf 
(1152551 bytes)
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

main:

BUILD SUCCESSFUL
Total time: 1 minute 2 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[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 build && exit %%ERRORLEVEL%%"'
Buildfile: 


clean:
   [delete] Deleting directory 

   [delete] Del

Jenkins build is back to normal : MD5Checker #4107

2015-04-08 Thread flex . ci . builds
See 



git commit: [flex-utilities] [refs/heads/develop] - - Added some more documentation to the help-screen.

2015-04-08 Thread cdutz
Repository: flex-utilities
Updated Branches:
  refs/heads/develop 691016f58 -> 87c551b40


- Added some more documentation to the help-screen.


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

Branch: refs/heads/develop
Commit: 87c551b4071ca5e6e47ff9e2cc76d29de85545e9
Parents: 691016f
Author: Christofer Dutz 
Authored: Wed Apr 8 15:53:09 2015 +0200
Committer: Christofer Dutz 
Committed: Wed Apr 8 15:53:09 2015 +0200

--
 .../converter/core/SdkConverterCLI.java | 32 
 1 file changed, 19 insertions(+), 13 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/87c551b4/mavenizer/cli/src/main/java/org/apache/flex/utilities/converter/core/SdkConverterCLI.java
--
diff --git 
a/mavenizer/cli/src/main/java/org/apache/flex/utilities/converter/core/SdkConverterCLI.java
 
b/mavenizer/cli/src/main/java/org/apache/flex/utilities/converter/core/SdkConverterCLI.java
index e72d4f0..f210afa 100644
--- 
a/mavenizer/cli/src/main/java/org/apache/flex/utilities/converter/core/SdkConverterCLI.java
+++ 
b/mavenizer/cli/src/main/java/org/apache/flex/utilities/converter/core/SdkConverterCLI.java
@@ -24,18 +24,6 @@ public class SdkConverterCLI {
 
 public static void main(String[] args) throws Exception {
 Options options = new Options();
-options.addOption(OptionBuilder.withDescription("List the versions 
currently available for download.").
-create("list"));
-options.addOption(OptionBuilder.
-withDescription("Tells the Converter to download and extract 
(parts of) an FDK.").
-create("download"));
-options.addOption(OptionBuilder.
-withDescription("Tells the Converter to convert an FDK into a 
mavenized artifacts.").
-create("convert"));
-options.addOption(OptionBuilder.
-withDescription("Tells the Converter to deploy mavenized 
artfifacts to a remote repository.").
-create("deploy"));
-
 options.addOption(OptionBuilder.withArgName("version").hasArg().
 withDescription("(Optional and Only valid for download) 
Version of the " +
 "FDK which should be downloaded.").
@@ -294,8 +282,26 @@ public class SdkConverterCLI {
 }
 
 protected static void printHelp(Options options) {
+String headerText = "Commands: \n" +
+"If the parameters 'fdkDir' and 'mavenDir' are not specified, 
the Converter creates two temporary " +
+"directories in your systems temp directory and uses these for 
the follwoing commands.\n" +
+" - list:\nList all available versions and platforms (for 
download)\n" +
+" - download:\nDownload the selected versions of FDK parts 
specified by 'flexVersion', " +
+"'flashVersion', 'airVersion' and 'fontkit' and creates an FDK 
in the directory specified by " +
+"'fdkDir'. If 'airVersion' is specified, the 'platform' 
parameter specifies the platforms for which " +
+"the given AIR SDK should be downloaded, if not specified the 
current systems platform is used. \n" +
+" - convert:\nConvert the FDK located in 'fdkDir' into a 
mavenized form at 'mavenDir'.\n" +
+" - deploy:\nDeploy the maven artifacts located in 'mavenDir', 
to the remote maven repository " +
+"specified with 'repoUrl'. If the 'repoUsername' and 
'repoPassword' parameters are specified, use " +
+"these credentials for authenticating at the remote system.\n" 
+
+"Options:";
+
 HelpFormatter helpFormatter = new HelpFormatter();
-helpFormatter.printHelp("[download] [convert] [deploy]", options);
+helpFormatter.printHelp("java -jar apache-flex-sdk-converter.jar 
[list] [-fdkDir ] " +
+"[-mavenDir ] [[-flexVersion ] 
[-flashVersion ] " +
+"[-airVersion  [-platform ]] 
[-fontkit] download] [convert] " +
+"[-repoUrl  [-repoUsername  
-repoPassword ] deploy]",
+headerText, options, "");
 }
 
 protected static File getTempDir(String prefix) throws IOException {



Jenkins build is still unstable: flex-sdk_test #227

2015-04-08 Thread flex . ci . builds
See 



git commit: [flex-utilities] [refs/heads/develop] - - Reset the version back to 1.0.0-SNAPSHOT as we didn't actually release the last time.

2015-04-08 Thread cdutz
Repository: flex-utilities
Updated Branches:
  refs/heads/develop 87c551b40 -> 3d5c08cf6


- Reset the version back to 1.0.0-SNAPSHOT as we didn't actually release the 
last time.


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

Branch: refs/heads/develop
Commit: 3d5c08cf679663a130901a01a40756cc211e6268
Parents: 87c551b
Author: Christofer Dutz 
Authored: Wed Apr 8 16:09:24 2015 +0200
Committer: Christofer Dutz 
Committed: Wed Apr 8 16:09:24 2015 +0200

--
 mavenizer/converters/air/pom.xml  |  6 +++---
 mavenizer/converters/base/pom.xml |  4 ++--
 mavenizer/converters/flash/pom.xml|  6 +++---
 mavenizer/converters/flex/pom.xml | 12 ++--
 mavenizer/converters/pom.xml  |  4 ++--
 mavenizer/deployers/aether/pom.xml|  4 ++--
 mavenizer/deployers/maven/pom.xml |  4 ++--
 mavenizer/deployers/pom.xml   |  4 ++--
 mavenizer/pom.xml |  2 +-
 mavenizer/retrievers/base/pom.xml |  4 ++--
 mavenizer/retrievers/download/pom.xml |  6 +++---
 mavenizer/retrievers/pom.xml  |  4 ++--
 12 files changed, 30 insertions(+), 30 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3d5c08cf/mavenizer/converters/air/pom.xml
--
diff --git a/mavenizer/converters/air/pom.xml b/mavenizer/converters/air/pom.xml
index 044bbc4..88d61aa 100644
--- a/mavenizer/converters/air/pom.xml
+++ b/mavenizer/converters/air/pom.xml
@@ -23,18 +23,18 @@
 
 org.apache.flex.utilities.converter
 converters
-1.1.0-SNAPSHOT
+1.0.0-SNAPSHOT
 
 
 air-converter
-1.1.0-SNAPSHOT
+1.0.0-SNAPSHOT
 jar
 
 
 
 org.apache.flex.utilities.converter
 base-converter
-1.1.0-SNAPSHOT
+1.0.0-SNAPSHOT
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3d5c08cf/mavenizer/converters/base/pom.xml
--
diff --git a/mavenizer/converters/base/pom.xml 
b/mavenizer/converters/base/pom.xml
index 2e3b95f..e43226e 100644
--- a/mavenizer/converters/base/pom.xml
+++ b/mavenizer/converters/base/pom.xml
@@ -23,11 +23,11 @@
 
 org.apache.flex.utilities.converter
 converters
-1.1.0-SNAPSHOT
+1.0.0-SNAPSHOT
 
 
 base-converter
-1.1.0-SNAPSHOT
+1.0.0-SNAPSHOT
 jar
 
 

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3d5c08cf/mavenizer/converters/flash/pom.xml
--
diff --git a/mavenizer/converters/flash/pom.xml 
b/mavenizer/converters/flash/pom.xml
index 293377e..6afc519 100644
--- a/mavenizer/converters/flash/pom.xml
+++ b/mavenizer/converters/flash/pom.xml
@@ -23,18 +23,18 @@
 
 org.apache.flex.utilities.converter
 converters
-1.1.0-SNAPSHOT
+1.0.0-SNAPSHOT
 
 
 flash-converter
-1.1.0-SNAPSHOT
+1.0.0-SNAPSHOT
 jar
 
 
 
 org.apache.flex.utilities.converter
 base-converter
-1.1.0-SNAPSHOT
+1.0.0-SNAPSHOT
 
 
 org.apache.commons

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/3d5c08cf/mavenizer/converters/flex/pom.xml
--
diff --git a/mavenizer/converters/flex/pom.xml 
b/mavenizer/converters/flex/pom.xml
index 4134ea0..6df279f 100644
--- a/mavenizer/converters/flex/pom.xml
+++ b/mavenizer/converters/flex/pom.xml
@@ -23,18 +23,18 @@
 
 org.apache.flex.utilities.converter
 converters
-1.1.0-SNAPSHOT
+1.0.0-SNAPSHOT
 
 
 flex-converter
-1.1.0-SNAPSHOT
+1.0.0-SNAPSHOT
 jar
 
 
 
 org.apache.flex.utilities.converter
 base-converter
-1.1.0-SNAPSHOT
+1.0.0-SNAPSHOT
 
 

Build failed in Jenkins: flex-utilities_installer #459

2015-04-08 Thread flex . ci . builds
See 


Changes:

[christofer.dutz] - Added some more documentation to the help-screen.

[christofer.dutz] - Reset the version back to 1.0.0-SNAPSHOT as we didn't 
actually release the last time.

--
Started by an SCM change
Started by an SCM change
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 3d5c08cf679663a130901a01a40756cc211e6268 (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 
 > 3d5c08cf679663a130901a01a40756cc211e6268
 > C:\Program Files (x86)\Git\cmd\git.exe rev-list 
 > 691016f58343e5da290b21a9a8a6fcfd86f6dfca # 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] Warning: The swc 
'C:\Jenkins\workspace\flex-sdk\frameworks\libs\framework.swc' has style 
defaults and is in the library-path, which means dependencies will be linked in 
without the styles.  This can cause applications, which use the output swc, to 
have missing skins.  The swc should be put in the external-library-path.
[compc] 
[compc] Warning: The swc 
'C:\Jenkins\workspace\flex-sdk\frameworks\libs\spark.swc' has style defaults 
and is in the library-path, which means dependencies will be linked in without 
the styles.  This can cause applications, which use the output swc, to have 
missing skins.  The swc should be put in the external-library-path.
[compc] 
[compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[compc] 
C:\Jenkins\workspace\flex-utilities_installer\ant_on_air\bin\ant_on_air.swc 
(500261 bytes)

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

main:

BUILD SUCCESSFUL
Total time: 54 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[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 build && exit %%ERRORLEVEL%%"'
Buildfile: 


clean:
   [d

git commit: [flex-utilities] [refs/heads/develop] - - Updated the Readme to match the other README files.

2015-04-08 Thread cdutz
Repository: flex-utilities
Updated Branches:
  refs/heads/develop 3d5c08cf6 -> 6ff02b556


- Updated the Readme to match the other README files.


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

Branch: refs/heads/develop
Commit: 6ff02b5568663b30b9bfc3d54d9a3d6491439620
Parents: 3d5c08c
Author: Christofer Dutz 
Authored: Wed Apr 8 18:37:07 2015 +0200
Committer: Christofer Dutz 
Committed: Wed Apr 8 18:37:07 2015 +0200

--
 mavenizer/README.txt | 271 --
 1 file changed, 168 insertions(+), 103 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/6ff02b55/mavenizer/README.txt
--
diff --git a/mavenizer/README.txt b/mavenizer/README.txt
index a81314b..34009bc 100644
--- a/mavenizer/README.txt
+++ b/mavenizer/README.txt
@@ -1,117 +1,182 @@
-/
-The Mavenizer tool is used to convert the Apache and Adobe Flex SDKs and Air 
SDKs into
-Maven artifacts. Automatically creating the Directories, pom-files, copying 
and moving 
-the resources to the correct destinations.
+Apache Flex SDK Converter
+=
+   The Mavenizer tool is used to convert the Apache and Adobe Flex SDKs 
and Air
+   SDKs into Maven artifacts. Automatically creating the Directories, 
pom-files,
+   copying and moving the resources to the correct destinations.
 
-These artifacts can be used in Maven builds using the Flexmojos plugin 
(Starting with
-version 6.x).
-/
+   These artifacts can be used in Maven builds using the Flexmojos plugin
+   (Starting with version 6.x).
 
-The generator automatically converts the desired FDKs into a mavenized form, 
all you 
-need, is to download and unzip the archives containing the sdks and execute 
the 
-generator passing in the source and target directory as parameter. 
+   The Apache Flex SDK Converter comes with all the means to download, 
convert
+   and deploy a mavenized form of an Apache Flex SDK.
 
-The Generator doesn't stupidly copy all java libraries to the destination, but 
checks
-if the given artifact has already been deployed to maven central or by 
deploying an
-other FDK previously. For this check you do need an internet connection to do 
the
-conversion, otherwise I think this will probably take forever.
+The Converter doesn't stupidly copy all java libraries to the destination, 
but checks
+if the given artifact has already been deployed to maven central or by 
deploying an
+other FDK previously. For this check you do need an internet connection to 
do the
+conversion, otherwise I think this will probably take forever.
 
-Internally it consists of 3 components: 
-- One for deploying the Flash artifacts
-- One for deploying the Air artifacts
-- One for deploying the Flex artifacts
+Internally it consists of 3 components:
+- One Retriever
+   - DownloadRetriever: For downloading binary artifacts
+- Four Converters
+   - One for producing the Apache Flex SDK artifacts
+   - One for producing the Adobe Flash artifacts
+   - One for producing the Adobe Air artifacts
+   - One for producing the Adobe Fontkit artifacts
+- Two Deployers
+   - One using Aether with no requirement to Maven (Faster, but less 
configurable)
+   - One using a local Maven installation (A lot slower, but fully 
configurable)
 
-As the Adobe FDKs all contained the AIR SDK and the Flash runtime the FDK 
directories
-are processed by each of the FDK directories. When deploying the Flex SDK the 
references
-to the flash and air artifacts are done based upon the playerglobal.swc and 
-airglobal.swc. The Generator compares the checksum of the file contained in 
the FDK
-with that of already deployed artifacts (I think in one of the 3.x FDKs the 
-"AIR SDK Readme.txt" stated the version to be a different version than it 
actually was).
 
-The Flash version used isn't detected by looking at the playerglobal.swc but 
by having
-a look at the content of the file "flex-config.xml" in the directory 
-"{fdkroot}/frameworks". Unfortunately I couldn't find a similar reference to a 
desired
-AIR version in any of the config files.
 
-/
-/
-  

Build failed in Jenkins: flex-utilities_installer #460

2015-04-08 Thread flex . ci . builds
See 


Changes:

[christofer.dutz] - Updated the Readme to match the other README files.

--
Started by an SCM change
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 6ff02b5568663b30b9bfc3d54d9a3d6491439620 (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 
 > 6ff02b5568663b30b9bfc3d54d9a3d6491439620
 > C:\Program Files (x86)\Git\cmd\git.exe rev-list 
 > 3d5c08cf679663a130901a01a40756cc211e6268 # 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] Warning: The swc 
'C:\Jenkins\workspace\flex-sdk\frameworks\libs\framework.swc' has style 
defaults and is in the library-path, which means dependencies will be linked in 
without the styles.  This can cause applications, which use the output swc, to 
have missing skins.  The swc should be put in the external-library-path.
[compc] 
[compc] Warning: The swc 
'C:\Jenkins\workspace\flex-sdk\frameworks\libs\spark.swc' has style defaults 
and is in the library-path, which means dependencies will be linked in without 
the styles.  This can cause applications, which use the output swc, to have 
missing skins.  The swc should be put in the external-library-path.
[compc] 
[compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[compc] 
C:\Jenkins\workspace\flex-utilities_installer\ant_on_air\bin\ant_on_air.swc 
(500222 bytes)

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

main:

BUILD SUCCESSFUL
Total time: 53 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[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 build && exit %%ERRORLEVEL%%"'
Buildfile: 


clean:
   [delete] Deleting directory 

   [delete] D

[20/47] git commit: [flex-asjs] [refs/heads/develop] - lint

2015-04-08 Thread aharui
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/TextInput.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/TextInput.js 
b/frameworks/js/FlexJS/src/org/apache/flex/html/TextInput.js
index cae09d7..1fa21e0 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/TextInput.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/TextInput.js
@@ -60,11 +60,11 @@ org_apache_flex_html_TextInput.prototype.createElement = 
function() {
 
 Object.defineProperties(org_apache_flex_html_TextInput.prototype, {
 'text': {
-   /** @this {org_apache_flex_html_TextInput} */
+/** @this {org_apache_flex_html_TextInput} */
 get: function() {
 return this.element.value;
 },
-   /** @this {org_apache_flex_html_TextInput} */
+/** @this {org_apache_flex_html_TextInput} */
 set: function(value) {
 this.element.value = value;
 this.dispatchEvent(new org_apache_flex_events_Event('textChange'));

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/TitleBar.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/TitleBar.js 
b/frameworks/js/FlexJS/src/org/apache/flex/html/TitleBar.js
index 3ca1f03..0867b49 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/TitleBar.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/TitleBar.js
@@ -62,23 +62,23 @@ org_apache_flex_html_TitleBar.prototype.createElement =
 
 Object.defineProperties(org_apache_flex_html_TitleBar.prototype, {
 'title': {
-   /** @this {org_apache_flex_html_TitleBar} */
+/** @this {org_apache_flex_html_TitleBar} */
 get: function() {
 return this.model.title;
-   },
-   /** @this {org_apache_flex_html_TitleBar} */
+},
+/** @this {org_apache_flex_html_TitleBar} */
 set: function(value) {
 this.model.title = value;
-   }
-   },
+}
+},
 'showCloseButton': {
-   /** @this {org_apache_flex_html_TitleBar} */
+/** @this {org_apache_flex_html_TitleBar} */
 get: function() {
 return this.model.showCloseButton;
-   },
-   /** @this {org_apache_flex_html_TitleBar} */
-   set: function(value) {
+},
+/** @this {org_apache_flex_html_TitleBar} */
+set: function(value) {
 this.model.showCloseButton = value;
-   }
-   }
+}
+}
 });

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/ToggleTextButton.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/ToggleTextButton.js 
b/frameworks/js/FlexJS/src/org/apache/flex/html/ToggleTextButton.js
index 0ab348e..c7bfaeb 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/ToggleTextButton.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/ToggleTextButton.js
@@ -49,21 +49,21 @@ 
org_apache_flex_html_ToggleTextButton.prototype.FLEXJS_CLASS_INFO =
 
 Object.defineProperties(org_apache_flex_html_ToggleTextButton.prototype, {
 'text': {
-   /** @this {org_apache_flex_html_ToggleTextButton} */
+/** @this {org_apache_flex_html_ToggleTextButton} */
 get: function() {
 return this.element.innerHTML;
 },
-   /** @this {org_apache_flex_html_ToggleTextButton} */
+/** @this {org_apache_flex_html_ToggleTextButton} */
 set: function(value) {
 this.element.innerHTML = value;
 }
 },
 'selected': {
-   /** @this {org_apache_flex_html_ToggleTextButton} */
+/** @this {org_apache_flex_html_ToggleTextButton} */
 get: function() {
  return this.selected_;
 },
-   /** @this {org_apache_flex_html_ToggleTextButton} */
+/** @this {org_apache_flex_html_ToggleTextButton} */
 set: function(value) {
 if (this.selected_ != value) {
   this.selected_ = value;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/html/accessories/NumericOnlyTextInputBead.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/html/accessories/NumericOnlyTextInputBead.js
 
b/frameworks/js/FlexJS/src/org/apache/flex/html/accessories/NumericOnlyTextInputBead.js
index c8e925c..7375b36 100644
--- 
a/frameworks/js/FlexJS/src/org/apache/flex/html/accessories/NumericOnlyTextInputBead.js
+++ 
b/frameworks/js/FlexJS/src/org/apache/flex/html/accessories/NumericOnlyTextInputBead.js

Build failed in Jenkins: MD5Checker #4122

2015-04-08 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
ERROR: Error fetching remote repo 'origin'
ERROR: Error fetching remote repo 'origin'



[28/47] git commit: [flex-asjs] [refs/heads/develop] - clean up backing variables that now collide with defineProp'd properties

2015-04-08 Thread aharui
clean up backing variables that now collide with defineProp'd properties


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

Branch: refs/heads/develop
Commit: 49a546ff969329db18107fa510329886c37d2a07
Parents: 099334f
Author: Alex Harui 
Authored: Fri Apr 3 16:05:10 2015 -0700
Committer: Alex Harui 
Committed: Fri Apr 3 16:05:10 2015 -0700

--
 frameworks/js/FlexJS/src/org/apache/flex/core/ListBase.js | 6 --
 1 file changed, 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49a546ff/frameworks/js/FlexJS/src/org/apache/flex/core/ListBase.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/ListBase.js 
b/frameworks/js/FlexJS/src/org/apache/flex/core/ListBase.js
index 7cb3f6c..d7ef090 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/ListBase.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/ListBase.js
@@ -27,12 +27,6 @@ org_apache_flex_core_ListBase = function() {
   org_apache_flex_core_ListBase.base(this, 'constructor');
 
   /**
-   * @protected
-   * @type {Array.}
-   */
-  this.dataProvider = null;
-
-  /**
* @private
* @type {number}
*/



[35/47] git commit: [flex-asjs] [refs/heads/develop] - sprinkle in @expose to get release version to survive minification. @expose is deprecated so we may need to re-work this some day

2015-04-08 Thread aharui
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c486ee6/frameworks/js/FlexJS/src/org/apache/flex/maps/google/beads/MapView.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/maps/google/beads/MapView.js 
b/frameworks/js/FlexJS/src/org/apache/flex/maps/google/beads/MapView.js
index 94e9ec0..d344607 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/maps/google/beads/MapView.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/maps/google/beads/MapView.js
@@ -38,7 +38,8 @@ FLEXJS_CLASS_INFO =
 
 
 Object.defineProperties(org_apache_flex_maps_google_beads_MapView.prototype, {
-'strand': {
+/** @expose */
+strand: {
 /** @this {org_apache_flex_maps_google_beads_MapView} */
 set: function(value) {
 this.strand_ = value;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c486ee6/frameworks/js/FlexJS/src/org/apache/flex/maps/google/models/MapModel.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/maps/google/models/MapModel.js 
b/frameworks/js/FlexJS/src/org/apache/flex/maps/google/models/MapModel.js
index cb9ddc0..8a92972 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/maps/google/models/MapModel.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/maps/google/models/MapModel.js
@@ -50,13 +50,15 @@ FLEXJS_CLASS_INFO =
 
 
 
Object.defineProperties(org_apache_flex_maps_google_models_MapModelv.prototype, 
{
-'strand': {
+/** @expose */
+strand: {
 /** @this {org_apache_flex_maps_google_models_MapModel} */
 set: function(value) {
this.strand_ = value;
 }
 },
-'searchResults': {
+/** @expose */
+searchResults: {
 get: function() {
 return this._searchResults;
 },
@@ -65,7 +67,8 @@ 
Object.defineProperties(org_apache_flex_maps_google_models_MapModelv.prototype,
 this.dispatchEvent('searchResultsChanged');
 }
 },
-'zoom': {
+/** @expose */
+zoom: {
 get: function() {
 return this._zoom;
 },
@@ -74,7 +77,8 @@ 
Object.defineProperties(org_apache_flex_maps_google_models_MapModelv.prototype,
 this.dispatchEvent('zoomChanged');
 }
 },
-'selectedMarker': {
+/** @expose */
+selectedMarker: {
 get: function() {
 return this._selectedMarker;
 },
@@ -83,7 +87,8 @@ 
Object.defineProperties(org_apache_flex_maps_google_models_MapModelv.prototype,
 this.dispatchEvent('selectedMarkerChanged');
 }
 },
-'currentLocation': {
+/** @expose */
+currentLocation: {
 get: function() {
 return this._currentLocation;
 },

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c486ee6/frameworks/js/FlexJS/src/org/apache/flex/net/BinaryUploader.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/net/BinaryUploader.js 
b/frameworks/js/FlexJS/src/org/apache/flex/net/BinaryUploader.js
index fd84f49..4d7cc22 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/net/BinaryUploader.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/net/BinaryUploader.js
@@ -130,13 +130,15 @@ org_apache_flex_net_BinaryUploader.HTTP_METHOD_DELETE = 
'DELETE';
 
 
 Object.defineProperties(org_apache_flex_net_BinaryUploader.prototype, {
-'data': {
+/** @expose */
+data: {
 /** @this {org_apache_flex_net_BinaryUploader} */
 get: function() {
 return this.element.responseText;
 }
 },
-'binaryData': {
+/** @expose */
+binaryData: {
 /** @this {org_apache_flex_net_BinaryUploader} */
 get: function() {
 return this.binaryData_;
@@ -146,7 +148,8 @@ 
Object.defineProperties(org_apache_flex_net_BinaryUploader.prototype, {
 this.binaryData_ = value;
 }
 },
-'contentType': {
+/** @expose */
+contentType: {
 /** @this {org_apache_flex_net_BinaryUploader} */
 get: function() {
 return this.contentType_;
@@ -156,7 +159,8 @@ 
Object.defineProperties(org_apache_flex_net_BinaryUploader.prototype, {
 this.contentType_ = value;
 }
 },
-'headers': {
+/** @expose */
+headers: {
 /** @this {org_apache_flex_net_BinaryUploader} */
 get: function() {
 if (this.headers_ === 'undefined') {
@@ -170,7 +174,8 @@ 
Object.defineProperties(org_apache_flex_net_BinaryUploader.prototype, {
 this.headers_ = value;
 }
 },
-'method': {
+/** @expose */
+method: {
 /** @this {org_apache_flex_net_BinaryUploader} */
 get: function() {
 return this.method_;
@@ -180,7 +185,8 @@ 
Object.defineProperties(org_apache_flex_net_BinaryUploader.prototype, {
 this.method_ =

[08/47] git commit: [flex-asjs] [refs/heads/develop] - manual conversion to Object.defineProperties. Needs major cleanup before it will work

2015-04-08 Thread aharui
manual conversion to Object.defineProperties.  Needs major cleanup before it 
will work


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

Branch: refs/heads/develop
Commit: 5344e8badb0a187cc628fc416746fa67ce555f2f
Parents: f2e09a4
Author: Alex Harui 
Authored: Thu Mar 12 21:28:03 2015 -0700
Committer: Alex Harui 
Committed: Thu Mar 12 21:28:03 2015 -0700

--
 .../src/org/apache/flex/binding/BindingBase.js  |  41 +-
 .../src/org/apache/flex/binding/ChainBinding.js |  18 +-
 .../org/apache/flex/binding/ConstantBinding.js  |  36 +-
 .../org/apache/flex/binding/SimpleBinding.js|  35 +-
 .../org/apache/flex/charts/core/ChartBase.js|  28 +-
 .../org/apache/flex/charts/core/IAxisBead.js|  52 +-
 .../src/org/apache/flex/charts/core/IChart.js   |  16 +-
 .../flex/charts/core/IChartItemRenderer.js  |  84 +--
 .../org/apache/flex/charts/core/IChartSeries.js |  65 +-
 .../flex/charts/core/IHorizontalAxisBead.js |  34 +-
 .../flex/charts/core/IVerticalAxisBead.js   |  35 +-
 .../src/org/apache/flex/core/ContainerBase.js   | 122 ++--
 .../src/org/apache/flex/core/FilledRectangle.js |  26 +-
 .../src/org/apache/flex/core/FormatBase.js  | 109 ++--
 .../org/apache/flex/core/HTMLElementWrapper.js  | 171 ++---
 .../FlexJS/src/org/apache/flex/core/IChild.js   |   9 +-
 .../src/org/apache/flex/core/IContentView.js|  65 +-
 .../src/org/apache/flex/core/IFormatBead.js |  41 +-
 .../src/org/apache/flex/core/ILayoutParent.js   |  48 +-
 .../apache/flex/core/IListPresentationModel.js  |  19 +-
 .../apache/flex/core/ISelectableItemRenderer.js |  91 +--
 .../src/org/apache/flex/core/ISelectionModel.js |  55 +-
 .../src/org/apache/flex/core/ITextModel.js  |  18 +-
 .../flex/core/ItemRendererClassFactory.js   |  51 +-
 .../FlexJS/src/org/apache/flex/core/UIBase.js   | 618 +++
 .../src/org/apache/flex/core/ValuesManager.js   |  28 +-
 .../FlexJS/src/org/apache/flex/core/ViewBase.js | 141 ++---
 .../src/org/apache/flex/core/graphics/Circle.js |  25 +-
 .../apache/flex/core/graphics/GradientBase.js   | 131 ++--
 .../apache/flex/core/graphics/GradientEntry.js  |  91 +--
 .../apache/flex/core/graphics/GraphicShape.js   |  57 +-
 .../flex/core/graphics/GraphicsContainer.js |  90 ++-
 .../apache/flex/core/graphics/LinearGradient.js |  27 +-
 .../src/org/apache/flex/core/graphics/Path.js   |  26 +-
 .../org/apache/flex/core/graphics/SolidColor.js |  50 +-
 .../flex/core/graphics/SolidColorStroke.js  |  75 +--
 .../src/org/apache/flex/createjs/Label.js   |  29 +-
 .../src/org/apache/flex/createjs/core/UIBase.js | 134 ++--
 .../FlexJS/src/org/apache/flex/events/Event.js  |  42 +-
 .../js/FlexJS/src/org/apache/flex/html/Alert.js |  68 +-
 .../FlexJS/src/org/apache/flex/html/CheckBox.js |  55 +-
 .../FlexJS/src/org/apache/flex/html/ComboBox.js |  27 +-
 .../org/apache/flex/html/ImageAndTextButton.js  |  58 +-
 .../js/FlexJS/src/org/apache/flex/html/Label.js |  52 +-
 .../src/org/apache/flex/html/MultilineLabel.js  |  52 +-
 .../js/FlexJS/src/org/apache/flex/html/Panel.js |  92 +--
 .../src/org/apache/flex/html/RadioButton.js | 199 +++---
 .../FlexJS/src/org/apache/flex/html/Spinner.js  | 135 ++--
 .../FlexJS/src/org/apache/flex/html/TextArea.js |  27 +-
 .../src/org/apache/flex/html/TextButton.js  |  27 +-
 .../src/org/apache/flex/html/TextInput.js   |  28 +-
 .../org/apache/flex/html/ToggleTextButton.js|  80 +--
 .../accessories/NumericOnlyTextInputBead.js |  17 +-
 .../flex/html/accessories/PasswordInputBead.js  |  21 +-
 .../DataItemRendererFactoryForArrayData.js  |  99 ++-
 .../src/org/apache/flex/html/beads/ListView.js  |  66 +-
 .../TextItemRendererFactoryForArrayData.js  |  31 +-
 .../controllers/ItemRendererMouseController.js  |  30 +-
 .../ListSingleSelectionMouseController.js   |  29 +-
 .../beads/controllers/SliderMouseController.js  |  28 +-
 .../beads/controllers/SpinnerMouseController.js |  34 +-
 .../html/beads/layouts/NonVirtualBasicLayout.js |  51 +-
 .../layouts/NonVirtualBasicScrollingLayout.js   |  27 +-
 .../beads/layouts/NonVirtualVerticalLayout.js   |  47 +-
 .../NonVirtualVerticalScrollingLayout.js|  18 +-
 .../ButtonBarButtonItemRenderer.js  |  66 +-
 .../html/supportClasses/DataItemRenderer.js | 135 ++--
 .../html/supportClasses/NonVirtualDataGroup.js  |  34 +-
 .../html/supportClasses/StringItemRenderer.js   | 156 ++---
 .../src/org/apache/flex/html5/CheckBox.js   |  55 +-
 .../src/org/apache/flex/html5/ComboBox.js   |  43 +-
 .../FlexJS/src/org/apache/flex/html5/Label.js   |  27 +-
 .../src/org/apache/flex/html5/TextArea.js   |  27 +-
 .../src/org/apache/flex/html5/TextInput.js  |  27 +-
 

[18/18] git commit: [flex-falcon] [refs/heads/develop] - fix bug in binding event

2015-04-08 Thread aharui
fix bug in binding event


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

Branch: refs/heads/develop
Commit: 8596224ed995cb033b0370cb8f44dbe88b5166b4
Parents: 83c8eb2
Author: Alex Harui 
Authored: Wed Apr 8 15:21:48 2015 -0700
Committer: Alex Harui 
Committed: Wed Apr 8 15:21:48 2015 -0700

--
 .../compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/8596224e/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
--
diff --git 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
index 792287b..c29a9bc 100644
--- 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
+++ 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
@@ -517,7 +517,7 @@ public class JSFlexJSEmitter extends JSGoogEmitter 
implements IJSFlexJSEmitter
 }
 }
 
-private void emitBindableVariables(IClassDefinition cdef)
+public void emitBindableVariables(IClassDefinition cdef)
 {
if (bindableVars.size() > 0)
{
@@ -584,7 +584,7 @@ public class JSFlexJSEmitter extends JSGoogEmitter 
implements IJSFlexJSEmitter
writeNewline("" + ASEmitterTokens.THIS.getToken() + 
ASEmitterTokens.MEMBER_ACCESS.getToken()
+ name + "_ = value;");
writeNewline("
this.dispatchEvent(org_apache_flex_events_ValueChangeEvent.createUpdateEvent(");
-   writeNewline(" this, \"" + name + "_\", oldValue, 
value));");
+   writeNewline(" this, \"" + name + "\", oldValue, value));");
writeNewline("}");
write(ASEmitterTokens.BLOCK_CLOSE.getToken());
write(ASEmitterTokens.BLOCK_CLOSE.getToken());



[26/47] git commit: [flex-asjs] [refs/heads/develop] - need to keep looking up ancestor chain for superSetter or superGetter

2015-04-08 Thread aharui
need to keep looking up ancestor chain for superSetter or superGetter


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

Branch: refs/heads/develop
Commit: cac36ed6a10e259dd20a82b5beaf2e675b475de0
Parents: ef847bf
Author: Alex Harui 
Authored: Fri Apr 3 16:02:23 2015 -0700
Committer: Alex Harui 
Committed: Fri Apr 3 16:02:23 2015 -0700

--
 .../js/FlexJS/src/org/apache/flex/utils/Language.js | 16 ++--
 1 file changed, 14 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/cac36ed6/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js 
b/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
index ccbcace..3fdb371 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
@@ -259,7 +259,13 @@ org_apache_flex_utils_Language.postdecrement = 
function(obj, prop) {
  * @return {Object}
  */
 org_apache_flex_utils_Language.superGetter = function(clazz, pthis, prop) {
-  var superdesc = Object.getOwnPropertyDescriptor(clazz.superClass_, prop);
+  var superClass = clazz.superClass_;
+  var superdesc = Object.getOwnPropertyDescriptor(superClass, prop);
+  while (superdesc == null)
+  {
+superClass = superClass.constructor.superClass_;
+superdesc = Object.getOwnPropertyDescriptor(superClass, prop);
+  }
   return superdesc.get.call(pthis);
 };
 
@@ -274,6 +280,12 @@ org_apache_flex_utils_Language.superGetter = 
function(clazz, pthis, prop) {
  * @param {Object} value The value.
  */
 org_apache_flex_utils_Language.superSetter = function(clazz, pthis, prop, 
value) {
-  var superdesc = Object.getOwnPropertyDescriptor(clazz.superClass_, prop);
+  var superClass = clazz.superClass_;
+  var superdesc = Object.getOwnPropertyDescriptor(superClass, prop);
+  while (superdesc == null)
+  {
+superClass = superClass.constructor.superClass_;
+superdesc = Object.getOwnPropertyDescriptor(superClass, prop);
+  }
   superdesc.set.apply(pthis, [value]);
 };



[11/18] git commit: [flex-falcon] [refs/heads/develop] - debug version of FlexJSStore now runs. minified version does not due to GCC having problems with the property names in the defineProperties str

2015-04-08 Thread aharui
debug version of FlexJSStore now runs.  minified version does not due to GCC 
having problems with the property names in the defineProperties structure.


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

Branch: refs/heads/develop
Commit: d9658d627a22861494b0bd4f3c351e72d016ed92
Parents: 7328a52
Author: Alex Harui 
Authored: Fri Apr 3 09:32:19 2015 -0700
Committer: Alex Harui 
Committed: Fri Apr 3 09:32:19 2015 -0700

--
 .../codegen/js/flexjs/JSFlexJSEmitter.java  | 172 ++-
 .../codegen/mxml/flexjs/MXMLFlexJSEmitter.java  |  31 ++--
 2 files changed, 144 insertions(+), 59 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/d9658d62/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
--
diff --git 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
index 87a39f2..cbf89b6 100644
--- 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
+++ 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
@@ -121,6 +121,7 @@ public class JSFlexJSEmitter extends JSGoogEmitter 
implements IJSFlexJSEmitter
 }
 
 HashMap propertyMap = new HashMap();
+ArrayList bindableVars = new ArrayList();
 
 @Override
 protected String getIndent(int numIndent)
@@ -223,6 +224,13 @@ public class JSFlexJSEmitter extends JSGoogEmitter 
implements IJSFlexJSEmitter
 }
 }
 
+emitBindableVariables(node.getDefinition());
+
+emitASGettersAndSetters(node.getDefinition());
+}
+
+public void emitASGettersAndSetters(IClassDefinition definition)
+{
 if (!propertyMap.isEmpty())
 {
 write(JSGoogEmitterTokens.OBJECT);
@@ -440,50 +448,82 @@ public class JSFlexJSEmitter extends JSGoogEmitter 
implements IJSFlexJSEmitter
 }
 if (node.getNodeID() == ASTNodeID.BindableVariableID)
 {
-// [Bindable]
-writeNewline(ASEmitterTokens.SEMICOLON.getToken());
-writeNewline();
-writeNewline("/**");
-writeNewline("@expose");
-writeNewline(" */");
-writeNewline(formatQualifiedName(definition.getQualifiedName())
-+ ASEmitterTokens.MEMBER_ACCESS.getToken() + root
-+ "get_" + node.getName()
-+ ASEmitterTokens.SPACE.getToken() + 
ASEmitterTokens.EQUAL.getToken()
-+ ASEmitterTokens.SPACE.getToken() + 
ASEmitterTokens.FUNCTION.getToken()
-+ ASEmitterTokens.PAREN_OPEN.getToken() + 
ASEmitterTokens.PAREN_CLOSE.getToken()
-+ ASEmitterTokens.SPACE.getToken() + 
ASEmitterTokens.BLOCK_OPEN.getToken());
-writeNewline(ASEmitterTokens.RETURN.getToken() + 
ASEmitterTokens.SPACE.getToken()
-+ ASEmitterTokens.THIS.getToken() + 
ASEmitterTokens.MEMBER_ACCESS.getToken()
-+ node.getName() + ASEmitterTokens.SEMICOLON.getToken());
-writeNewline(ASEmitterTokens.BLOCK_CLOSE.getToken() + 
ASEmitterTokens.SEMICOLON.getToken());
-writeNewline();
-writeNewline("/**");
-writeNewline("@expose");
-writeNewline(" */");
-writeNewline(formatQualifiedName(definition.getQualifiedName())
-+ ASEmitterTokens.MEMBER_ACCESS.getToken() + root
-+ "set_" + node.getName()
-+ ASEmitterTokens.SPACE.getToken() + 
ASEmitterTokens.EQUAL.getToken()
-+ ASEmitterTokens.SPACE.getToken() + 
ASEmitterTokens.FUNCTION.getToken()
-+ ASEmitterTokens.PAREN_OPEN.getToken() + "value" + 
ASEmitterTokens.PAREN_CLOSE.getToken()
-+ ASEmitterTokens.SPACE.getToken() + 
ASEmitterTokens.BLOCK_OPEN.getToken());
-writeNewline("if (value != " + ASEmitterTokens.THIS.getToken()
-+ ASEmitterTokens.MEMBER_ACCESS.getToken() + 
node.getName() + ") {");
-writeNewline("var oldValue = "
-+ ASEmitterTokens.THIS.getToken() + 
ASEmitterTokens.MEMBER_ACCESS.getToken()
-+ node.getName() + ASEmitterTokens.SEMICOLON.getToken());
-writeNewline("" + ASEmitterTokens.THIS.getToken() + 
ASEmitterTokens.MEMBER_ACCESS.getToken()
-+ node.getName() + " 

Build failed in Jenkins: flex-asjs #518

2015-04-08 Thread flex . ci . builds
See 

Changes:

[Alex Harui] replace get_xxx() calls with xxx

[Alex Harui] replace set_xxx(value) with xxx = value

[Alex Harui] change more set_ and get_ prefixes

[Alex Harui] superGetter & superSetter

[Alex Harui] manually convert Timer to defineProp

[Alex Harui] manual conversion to Object.defineProperties.  Needs major cleanup 
before it will work

[Alex Harui] lint

[Alex Harui] add @this annotations to stop warnings

[Alex Harui] add @this annotations

[Alex Harui] missed a few @this

[Alex Harui] remove object property.  It didn't seem to be used and was 
exposing a bug in Google Closure Compiler

[Alex Harui] fix requires

[Alex Harui] more fixups for defineprop

[Alex Harui] lint

[Alex Harui] remove hasProp/getProp/setProp

[Alex Harui] handle test for statics differently

[Alex Harui] fix copy-o

[Alex Harui] models need to be IBeadModel

[Alex Harui] need to keep looking up ancestor chain for superSetter or 
superGetter

[Alex Harui] can't use hasOwnProperty as much with defineProp'd properties.  
Use try/catch for now.  Maybe switch to interface test later

[Alex Harui] clean up backing variables that now collide with defineProp'd 
properties

[Alex Harui] need to set model after supercall otherwise GCL complains

[Alex Harui] setting model will add the bead.  Really should pull model from CSS

[Alex Harui] fix backing variables so they don't collide with defineprop'd 
properties

[Alex Harui] fix backing variables so the don't collide with defineprop'd 
properties

[Alex Harui] use proper backing variable

[Alex Harui] change way we handle event.target expressions.  Now we wrap all 
events with a BrowserEvent.  This probably needs revisiting again

[Alex Harui] sprinkle in @expose to get release version to survive 
minification.  @expose is deprecated so we may need to re-work this some day

[Alex Harui] lint

[Alex Harui] for some reason, we weren't handling 'this'

[Alex Harui] make trace handle multiple args

[Alex Harui] use block as default.  this might need revisiting

[Alex Harui] don't require models to implement IBead

[Alex Harui] can't use strand as backing variable for the strand because some 
strands are also beads

[Alex Harui] tweak variable names to avoid conflicts

[Alex Harui] defineProps won't let you just override the setter, you must 
override both if they exist

[Alex Harui] fix mustella (js) to handle defineProp

--
[...truncated 1727 lines...]
 [java] WARNING: 
C:\Google\Closure\Library\closure\goog\html\trustedresourceurl.js:154: WARNING 
- incomplete alias created for namespace goog
 [java] goog.html.TrustedResourceUrl.unwrap = function(trustedResourceUrl) {
 [java] ^
 [java] 
 [java] Apr 08, 2015 11:20:46 PM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: 
C:\Google\Closure\Library\closure\goog\html\trustedresourceurl.js:165: WARNING 
- incomplete alias created for namespace goog
 [java]   if (trustedResourceUrl instanceof goog.html.TrustedResourceUrl &&
 [java] ^
 [java] 
 [java] Apr 08, 2015 11:20:46 PM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: 
C:\Google\Closure\Library\closure\goog\html\trustedresourceurl.js:166: WARNING 
- incomplete alias created for namespace goog
 [java]   trustedResourceUrl.constructor === 
goog.html.TrustedResourceUrl &&
 [java]  ^
 [java] 
 [java] Apr 08, 2015 11:20:46 PM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: 
C:\Google\Closure\Library\closure\goog\html\trustedresourceurl.js:169: WARNING 
- incomplete alias created for namespace goog
 [java]   goog.html.TrustedResourceUrl
 [java]   ^
 [java] 
 [java] Apr 08, 2015 11:20:46 PM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: 
C:\Google\Closure\Library\closure\goog\html\trustedresourceurl.js:193: WARNING 
- incomplete alias created for namespace goog
 [java] goog.html.TrustedResourceUrl.fromConstant = function(url) {
 [java] ^
 [java] 
 [java] Apr 08, 2015 11:20:46 PM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: 
C:\Google\Closure\Library\closure\goog\html\trustedresourceurl.js:194: WARNING 
- incomplete alias created for namespace goog
 [java]   return goog.html.TrustedResourceUrl
 [java]  ^
 [java] 
 [java] Apr 08, 2015 11:20:46 PM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: 
C:\Google\Closure\Library\closure\goog\html\trustedresourceurl.js:206: WARNING 
- incomplete alias created for namespace goog
 [java] 
goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ = {};
 [java] ^
 [java] 
 [java] Apr 08, 2015 11:20:46 PM 
com.google.javascript.js

[03/18] git commit: [flex-falcon] [refs/heads/develop] - add DEFINE_PROPERTIES

2015-04-08 Thread aharui
add DEFINE_PROPERTIES


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

Branch: refs/heads/develop
Commit: 1ac7cf4614969d11be2ac884dc8707cfc5c149a3
Parents: 1562c8c
Author: Alex Harui 
Authored: Tue Mar 24 22:44:10 2015 -0700
Committer: Alex Harui 
Committed: Tue Mar 24 22:44:10 2015 -0700

--
 .../apache/flex/compiler/internal/codegen/js/JSEmitterTokens.java   | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/1ac7cf46/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/JSEmitterTokens.java
--
diff --git 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/JSEmitterTokens.java
 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/JSEmitterTokens.java
index f12049a..ab8d079 100644
--- 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/JSEmitterTokens.java
+++ 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/JSEmitterTokens.java
@@ -27,6 +27,7 @@ public enum JSEmitterTokens implements IEmitterTokens
 CONFIGURABLE("configurable"),
 CONSTRUCTOR("constructor"),
 DEFINE_PROPERTY("defineProperty"),
+DEFINE_PROPERTIES("defineProperties"),
 INTERFACE("interface"),
 PROTOTYPE("prototype"),
 SLICE("slice");



[31/47] git commit: [flex-asjs] [refs/heads/develop] - fix backing variables so they don't collide with defineprop'd properties

2015-04-08 Thread aharui
fix backing variables so they don't collide with defineprop'd properties


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

Branch: refs/heads/develop
Commit: 5a26f7cd5b58a34a635642d1696413132cfca8dd
Parents: 827c281
Author: Alex Harui 
Authored: Fri Apr 3 16:07:25 2015 -0700
Committer: Alex Harui 
Committed: Fri Apr 3 16:07:25 2015 -0700

--
 .../src/org/apache/flex/net/HTTPService.js  | 31 ++--
 1 file changed, 9 insertions(+), 22 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5a26f7cd/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js 
b/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js
index 2daa8b6..1a04e5a 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js
@@ -86,6 +86,12 @@ org_apache_flex_net_HTTPService = function() {
*/
   this.contentType_ = 'application/x-www-form-urlencoded';
 
+  /**
+   * @private
+   * @type {?string}
+   */
+  this.id_ = null;
+
   //try { // (erikdebruin) 'desperate' attempt to bypass XDR security in IE < 
10
   //  this.contentType_ = 'text/plain';
   //  this.element = new XDomainRequest();
@@ -248,12 +254,12 @@ 
Object.defineProperties(org_apache_flex_net_HTTPService.prototype, {
 'id': {
 /** @this {org_apache_flex_net_HTTPService} */
 get: function() {
-return this.id;
+return this.id_;
 },
 /** @this {org_apache_flex_net_HTTPService} */
 set: function(value) {
-if (this.id !== value) {
-  this.id = value;
+if (this.id_ !== value) {
+  this.id_ = value;
   this.dispatchEvent('idChanged');
 }
 }
@@ -269,18 +275,6 @@ 
Object.defineProperties(org_apache_flex_net_HTTPService.prototype, {
 get: function() {
 return null;
 }
-},
-'strand': {
-/** @this {org_apache_flex_net_HTTPService} */
-set: function(value) {
-if (this.strand_ !== value) {
-  this.strand_ = value;
-}
-var n = this.beads_ ? this.beads_.length : 0;
-for (var i = 0; i < n; i++) {
-  this.addBead(this.beads_[i]);
-}
-}
 }
 });
 
@@ -362,13 +356,6 @@ org_apache_flex_net_HTTPService.prototype.progressHandler 
= function() {
 
 
 /**
- * @expose
- * @type {?string}
- */
-org_apache_flex_net_HTTPService.prototype.id = null;
-
-
-/**
  * @param {Object} document The MXML object.
  * @param {string} id The id for the instance.
  */



[23/47] git commit: [flex-asjs] [refs/heads/develop] - handle test for statics differently

2015-04-08 Thread aharui
handle test for statics differently


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

Branch: refs/heads/develop
Commit: ca5aedcbf5de98c93f289c756d8a84c0a11dcdb2
Parents: d9ebd92
Author: Alex Harui 
Authored: Fri Apr 3 09:37:41 2015 -0700
Committer: Alex Harui 
Committed: Fri Apr 3 09:37:41 2015 -0700

--
 .../FlexJS/src/org/apache/flex/binding/ConstantBinding.js   | 9 +++--
 1 file changed, 3 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ca5aedcb/frameworks/js/FlexJS/src/org/apache/flex/binding/ConstantBinding.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/binding/ConstantBinding.js 
b/frameworks/js/FlexJS/src/org/apache/flex/binding/ConstantBinding.js
index 2c56451..8e60fb1 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/binding/ConstantBinding.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/binding/ConstantBinding.js
@@ -46,13 +46,10 @@ 
Object.defineProperties(org_apache_flex_binding_ConstantBinding.prototype, {
 
org_apache_flex_utils_Language.superSetter(org_apache_flex_binding_ConstantBinding,
 this, 'strand', value);
 
 var val;
-try {
+if (this.sourcePropertyName in this.source) {
   val = this.source[this.sourcePropertyName];
-} catch (e) {
-  try {
-val = this.source.constructor[this.sourcePropertyName];
-  } catch (e2) {
-  }
+} else if (this.sourcePropertyName in this.source.constructor) {
+  val = this.source.constructor[this.sourcePropertyName];
 }
 this.destination[this.destinationPropertyName] = val;
 }



[33/47] git commit: [flex-asjs] [refs/heads/develop] - use proper backing variable

2015-04-08 Thread aharui
use proper backing variable


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

Branch: refs/heads/develop
Commit: 24205c9dffdb418b20d4f05542f0cadd75b7c18b
Parents: f90fadf
Author: Alex Harui 
Authored: Fri Apr 3 16:08:26 2015 -0700
Committer: Alex Harui 
Committed: Fri Apr 3 16:08:26 2015 -0700

--
 frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/24205c9d/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js 
b/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js
index 1a87bec..3c2a1ad 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js
@@ -162,7 +162,11 @@ 
Object.defineProperties(org_apache_flex_core_ViewBase.prototype, {
 'MXMLDescriptor': {
 /** @this {org_apache_flex_core_ViewBase} */
 get: function() {
-return this.MXMLDescriptor;
+return this.mxmldd;
+},
+/** @this {org_apache_flex_core_ViewBase} */
+set: function(value) {
+this.mxmldd = value;
 }
 },
 /**



[03/47] git commit: [flex-asjs] [refs/heads/develop] - change more set_ and get_ prefixes

2015-04-08 Thread aharui
change more set_ and get_ prefixes


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

Branch: refs/heads/develop
Commit: 31e50c8614fcd4e6a52402e05bb0113ad555ac5e
Parents: 9c7b2ef
Author: Alex Harui 
Authored: Fri Jan 30 10:50:49 2015 -0800
Committer: Alex Harui 
Committed: Fri Jan 30 10:50:49 2015 -0800

--
 .../src/org/apache/flex/binding/BindingBase.js  | 10 +--
 .../src/org/apache/flex/binding/ChainBinding.js | 25 ++-
 .../org/apache/flex/binding/ConstantBinding.js  |  7 +-
 .../org/apache/flex/binding/GenericBinding.js   | 25 +++
 .../org/apache/flex/binding/SimpleBinding.js| 10 +--
 .../src/org/apache/flex/core/DataBindingBase.js | 49 --
 .../src/org/apache/flex/core/FormatBase.js  |  2 +-
 .../org/apache/flex/core/SimpleStatesImpl.js| 63 +++---
 .../org/apache/flex/core/ViewBaseDataBinding.js | 36 ++
 .../org/apache/flex/events/EventDispatcher.js   | 31 -
 .../org/apache/flex/net/JSONItemConverter.js| 32 -
 .../src/org/apache/flex/utils/Language.js   | 16 ++---
 .../apache/flex/utils/MXMLDataInterpreter.js| 69 +---
 13 files changed, 60 insertions(+), 315 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/31e50c86/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js 
b/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js
index aea3087..1854a18 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js
@@ -83,10 +83,7 @@ org_apache_flex_binding_BindingBase.prototype.set_strand = 
function(value) {
   if (this.destination == null)
 this.destination = value;
   if (this.sourceID != null) {
-if (typeof(this.document['get_' + this.sourceID]) === 'function')
-  this.source = this.document['get_' + this.sourceID]();
-else
-  this.source = this.document[this.sourceID];
+this.source = this.document[this.sourceID];
 if (this.source == null) {
   this.document.addEventListener('valueChange',
   goog.bind(this.sourceChangeHandler, this));
@@ -118,8 +115,5 @@ 
org_apache_flex_binding_BindingBase.prototype.sourceChangeHandler = function(eve
 this.source.removeEventListener(this.eventName,
 goog.bind(this.changeHandler, this));
 
-  if (typeof(this.document['get_' + this.sourceID]) === 'function')
-this.source = this.document['get_' + this.sourceID]();
-  else
-this.source = this.document[this.sourceID];
+  this.source = this.document[this.sourceID];
 };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/31e50c86/frameworks/js/FlexJS/src/org/apache/flex/binding/ChainBinding.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/ChainBinding.js 
b/frameworks/js/FlexJS/src/org/apache/flex/binding/ChainBinding.js
index 3730dbf..21dd2eb 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/binding/ChainBinding.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/binding/ChainBinding.js
@@ -90,10 +90,7 @@ 
org_apache_flex_binding_ChainBinding.prototype.evaluateSourceChain = function()
   for (var i = 0; i < n - 1; i++) {
 propName = this.source[i];
 var propObj;
-if (typeof(obj['get_' + propName]) === 'function')
-  propObj = obj['get_' + propName]();
-else
-  propObj = obj[propName];
+propObj = obj[propName];
 var watcher = new org_apache_flex_binding_ChainWatcher(propName, 
this.applyBinding);
 obj.addEventListener('valueChange', watcher.handler);
 if (propObj == null)
@@ -111,10 +108,7 @@ 
org_apache_flex_binding_ChainBinding.prototype.evaluateSourceChain = function()
   obj.addEventListener('valueChange', valueChangeHandler);
 
   // we have a complete chain, get the value
-  if (typeof(obj['get_' + propName]) === 'function')
-this.value = obj['get_' + propName]();
-  else
-this.value = obj[propName];
+  this.value = obj[propName];
   return true;
 };
 
@@ -132,10 +126,7 @@ org_apache_flex_binding_ChainBinding.prototype.applyValue 
= function() {
   }
   if (typeof(this.destination) === 'string') {
 destinationName = this.destination;
-if (typeof(this.document['set_' + destinationName]) === 'function')
-  this.document['set_' + destinationName](this.value);
-else
-  this.document[destinationName] = this.value;
+this.document[destinationName] = this.value;
 return;
   }
 
@@ -145,

[38/47] git commit: [flex-asjs] [refs/heads/develop] - lint

2015-04-08 Thread aharui
lint


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

Branch: refs/heads/develop
Commit: 26e266765bbe8dea4832f75e834386f1af1ac2b7
Parents: 5c486ee
Author: Alex Harui 
Authored: Tue Apr 7 11:03:49 2015 -0700
Committer: Alex Harui 
Committed: Tue Apr 7 11:03:49 2015 -0700

--
 .../org/apache/flex/core/HTMLElementWrapper.js  |  11 +-
 .../org/apache/flex/core/SimpleCSSValuesImpl.js |   4 +-
 .../src/org/apache/flex/events/BrowserEvent.js  | 161 ++-
 .../src/org/apache/flex/events/DragEvent.js |   2 +-
 .../src/org/apache/flex/events/MouseEvent.js|   2 +-
 .../apache/flex/html/beads/models/ImageModel.js |   2 +-
 .../apache/flex/html/beads/models/RangeModel.js |   2 +-
 .../src/org/apache/flex/html5/RadioButton.js|   2 +-
 8 files changed, 97 insertions(+), 89 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26e26676/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js 
b/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js
index 88021d5..1b6147c 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js
@@ -137,6 +137,7 @@ 
org_apache_flex_core_HTMLElementWrapper.prototype.removeBead = function(bead) {
  */
 org_apache_flex_core_HTMLElementWrapper.googFireListener = null;
 
+
 /**
  * Fires a listener with a set of arguments
  *
@@ -151,13 +152,19 @@ 
org_apache_flex_core_HTMLElementWrapper.fireListenerOverride = function(listener
 };
 
 
+/**
+ * Static initializer
+ */
 org_apache_flex_core_HTMLElementWrapper.installOverride = function() {
   org_apache_flex_core_HTMLElementWrapper.googFireListener =
   goog.events.fireListener;
   goog.events.fireListener = 
org_apache_flex_core_HTMLElementWrapper.fireListenerOverride;
 };
 
-   
+
+/**
+ * The properties that triggers the static initializer
+ */
 org_apache_flex_core_HTMLElementWrapper.installedOverride =
 org_apache_flex_core_HTMLElementWrapper.installOverride();
-   
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26e26676/frameworks/js/FlexJS/src/org/apache/flex/core/SimpleCSSValuesImpl.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/core/SimpleCSSValuesImpl.js 
b/frameworks/js/FlexJS/src/org/apache/flex/core/SimpleCSSValuesImpl.js
index 6d59057..4799569 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/SimpleCSSValuesImpl.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/SimpleCSSValuesImpl.js
@@ -82,7 +82,7 @@ org_apache_flex_core_SimpleCSSValuesImpl.prototype.getValue =
 return value;
 }
   }
-  catch(e) {};
+  catch (e) {}
 
   if ('className' in thisObject)
   {
@@ -304,7 +304,7 @@ 
org_apache_flex_core_SimpleCSSValuesImpl.prototype.applyStyles =
   for (var p in styles) {
 //if (styleList[p])
 if (skipStyles[p])
- continue;
+  continue;
 var value = styles[p];
 if (typeof(value) == 'number') {
   if (colorStyles[p])

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/26e26676/frameworks/js/FlexJS/src/org/apache/flex/events/BrowserEvent.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/events/BrowserEvent.js 
b/frameworks/js/FlexJS/src/org/apache/flex/events/BrowserEvent.js
index 74c9d73..7f80b0a 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/events/BrowserEvent.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/events/BrowserEvent.js
@@ -50,102 +50,103 @@ 
org_apache_flex_events_BrowserEvent.prototype.wrappedEvent = null;
  */
 org_apache_flex_events_BrowserEvent.prototype.preventDefault = function() {
   this.wrappedEvent.preventDefault();
-}
+};
+
 
 Object.defineProperties(org_apache_flex_events_BrowserEvent.prototype, {
 /** @expose */
 currentTarget: {
-   /** @this {org_apache_flex_events_BrowserEvent} */
-   get: function() {
-   var o = this.wrappedEvent.currentTarget;
-   if (o && o.flexjs_wrapper)
- return o.flexjs_wrapper;
-   return o;
-   }
-   },
+/** @this {org_apache_flex_events_BrowserEvent} */
+get: function() {
+var o = this.wrappedEvent.currentTarget;
+if (o && o.flexjs_wrapper)
+  return o.flexjs_wrapper;
+

[14/47] git commit: [flex-asjs] [refs/heads/develop] - add @this annotations

2015-04-08 Thread aharui
add @this annotations


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

Branch: refs/heads/develop
Commit: 7bb9e9a54d0c878973db26842b7ee2aac8b65935
Parents: 19f8cb2
Author: Alex Harui 
Authored: Mon Mar 16 23:52:56 2015 -0700
Committer: Alex Harui 
Committed: Mon Mar 16 23:52:56 2015 -0700

--
 .../js/FlexJS/src/org/apache/cordova/Weinre.js  |  48 ++---
 .../org/apache/flex/binding/GenericBinding.js   |  28 +--
 .../src/org/apache/flex/core/Application.js |  22 +-
 .../src/org/apache/flex/core/BeadViewBase.js|  34 ++-
 .../src/org/apache/flex/core/CallLaterBead.js   |  20 +-
 .../org/apache/flex/core/HTMLElementWrapper.js  |  15 +-
 .../js/FlexJS/src/org/apache/flex/core/IBead.js |  14 +-
 .../flex/core/ItemRendererClassFactory.js   |   2 +-
 .../FlexJS/src/org/apache/flex/core/ListBase.js |  90 +++-
 .../org/apache/flex/core/SimpleCSSValuesImpl.js |   2 +-
 .../org/apache/flex/core/SimpleStatesImpl.js|  32 +--
 .../org/apache/flex/core/ViewBaseDataBinding.js |  24 +--
 .../src/org/apache/flex/createjs/CheckBox.js|  62 ++
 .../src/org/apache/flex/createjs/TextButton.js  |  30 ++-
 .../org/apache/flex/createjs/core/ViewBase.js   |  29 +--
 .../org/apache/flex/effects/PlatformWiper.js|  70 +++
 .../src/org/apache/flex/events/MouseEvent.js|   4 +-
 .../js/FlexJS/src/org/apache/flex/html/Alert.js |  78 ---
 .../src/org/apache/flex/html/DropDownList.js|  83 
 .../js/FlexJS/src/org/apache/flex/html/Image.js |  30 ++-
 .../js/FlexJS/src/org/apache/flex/html/List.js  | 116 --
 .../src/org/apache/flex/html/NumericStepper.js  | 152 +-
 .../src/org/apache/flex/html/SimpleList.js  | 115 +-
 .../FlexJS/src/org/apache/flex/html/Slider.js   | 157 +-
 .../FlexJS/src/org/apache/flex/html/Spinner.js  |  38 ++--
 .../FlexJS/src/org/apache/flex/html/TitleBar.js |  60 ++
 .../flex/html/accessories/TextPromptBead.js |  52 ++---
 .../org/apache/flex/html/beads/ButtonBarView.js |  21 +-
 .../org/apache/flex/html/beads/ContainerView.js |  34 ++-
 .../apache/flex/html/beads/ImageButtonView.js   |  17 +-
 .../src/org/apache/flex/html/beads/ImageView.js |  27 ++-
 .../src/org/apache/flex/html/beads/ListView.js  | 107 +-
 .../src/org/apache/flex/html/beads/PanelView.js |  84 
 .../flex/html/beads/ScrollingContainerView.js   |  83 +++-
 .../apache/flex/html/beads/SliderThumbView.js   |  50 ++---
 .../apache/flex/html/beads/SliderTrackView.js   |  50 ++---
 .../flex/html/beads/TextInputWithBorderView.js  |  16 +-
 .../flex/html/beads/layouts/ButtonBarLayout.js  |  73 +++
 .../beads/layouts/NonVirtualHorizontalLayout.js |  52 +++--
 .../flex/html/beads/layouts/TileLayout.js   | 118 ---
 .../html/beads/models/ArraySelectionModel.js| 186 +++-
 .../flex/html/beads/models/DataGridModel.js |  49 ++---
 .../apache/flex/html/beads/models/ImageModel.js |  48 ++---
 .../html/beads/models/ListPresentationModel.js  |  48 ++---
 .../apache/flex/html/beads/models/PanelModel.js | 126 +--
 .../apache/flex/html/beads/models/RangeModel.js | 210 +++
 .../apache/flex/html/beads/models/TextModel.js  |  48 ++---
 .../flex/html/beads/models/TitleBarModel.js | 126 +--
 .../flex/html/supportClasses/DataGridColumn.js  | 120 ---
 .../html/supportClasses/UIItemRendererBase.js   | 184 +---
 .../src/org/apache/flex/html5/RadioButton.js|  90 +++-
 .../src/org/apache/flex/html5/TextButton.js |  30 ++-
 .../src/org/apache/flex/jquery/RadioButton.js   |   3 +-
 .../src/org/apache/flex/jquery/TextButton.js|  30 ++-
 .../org/apache/flex/jquery/ToggleTextButton.js  |   3 +-
 .../apache/flex/maps/google/beads/MapView.js|  43 ++--
 .../apache/flex/maps/google/models/MapModel.js  | 136 
 .../flex/net/dataConverters/LazyCollection.js   | 138 +---
 .../src/org/apache/flex/svg/TextButton.js   |  30 ++-
 .../src/org/apache/flex/utils/MixinManager.js   |  44 ++--
 .../src/org/apache/flex/utils/PointUtils.js |   4 +-
 .../flex/utils/ViewSourceContextMenuOption.js   |  12 +-
 62 files changed, 1522 insertions(+), 2325 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7bb9e9a5/frameworks/js/FlexJS/src/org/apache/cordova/Weinre.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/cordova/Weinre.js 
b/frameworks/js/FlexJS/src/org/apache/cordova/Weinre.js
index 5aed42d..afaab0a 100644
--- a/frameworks/js/FlexJS/src/org/apache/cordova/Weinre.js
+++ b/frameworks/js/FlexJS/src/org

[36/47] git commit: [flex-asjs] [refs/heads/develop] - sprinkle in @expose to get release version to survive minification. @expose is deprecated so we may need to re-work this some day

2015-04-08 Thread aharui
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c486ee6/frameworks/js/FlexJS/src/org/apache/flex/html/List.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/List.js 
b/frameworks/js/FlexJS/src/org/apache/flex/html/List.js
index 7a0d8f4..6db743e 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/List.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/List.js
@@ -52,7 +52,8 @@ org_apache_flex_html_List.prototype.FLEXJS_CLASS_INFO =
 
 
 Object.defineProperties(org_apache_flex_html_List.prototype, {
-'itemRenderer': {
+/** @expose */
+itemRenderer: {
 /** @this {org_apache_flex_html_List} */
 get: function() {
 return this.itemRenderer_;
@@ -62,7 +63,8 @@ Object.defineProperties(org_apache_flex_html_List.prototype, {
 this.itemRenderer_ = value;
 }
 },
-'labelField': {
+/** @expose */
+labelField: {
 /** @this {org_apache_flex_html_List} */
 get: function() {
 return this.model.labelField;
@@ -72,7 +74,8 @@ Object.defineProperties(org_apache_flex_html_List.prototype, {
 this.model.labelField = value;
 }
 },
-'rowHeight': {
+/** @expose */
+rowHeight: {
 /** @this {org_apache_flex_html_List} */
 get: function() {
 return this.presentationModel.rowHeight;
@@ -82,7 +85,8 @@ Object.defineProperties(org_apache_flex_html_List.prototype, {
 this.presentationModel.rowHeight = value;
 }
 },
-'presentationModel': {
+/** @expose */
+presentationModel: {
 /** @this {org_apache_flex_html_List} */
 get: function() {
 var presModel = 
this.getBeadByType(org_apache_flex_core_IListPresentationModel);

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c486ee6/frameworks/js/FlexJS/src/org/apache/flex/html/MultilineLabel.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/MultilineLabel.js 
b/frameworks/js/FlexJS/src/org/apache/flex/html/MultilineLabel.js
index ce51916..5962793 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/MultilineLabel.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/MultilineLabel.js
@@ -44,7 +44,8 @@ 
org_apache_flex_html_MultilineLabel.prototype.FLEXJS_CLASS_INFO =
 
 
 Object.defineProperties(org_apache_flex_html_MultilineLabel.prototype, {
-'text': {
+/** @expose */
+text: {
 /** @this {org_apache_flex_html_MultilineLabel} */
 get: function() {
 return this.element.innerHTML;
@@ -54,7 +55,8 @@ 
Object.defineProperties(org_apache_flex_html_MultilineLabel.prototype, {
 this.element.innerHTML = value;
 }
 },
-'html': {
+/** @expose */
+html: {
 /** @this {org_apache_flex_html_MultilineLabel} */
 get: function() {
 return this.element.innerHTML;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c486ee6/frameworks/js/FlexJS/src/org/apache/flex/html/NumericStepper.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/NumericStepper.js 
b/frameworks/js/FlexJS/src/org/apache/flex/html/NumericStepper.js
index 846d0db..abdac91 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/NumericStepper.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/NumericStepper.js
@@ -101,7 +101,8 @@ org_apache_flex_html_NumericStepper.prototype.spinnerChange 
=
 
 
 Object.defineProperties(org_apache_flex_html_NumericStepper.prototype, {
-'minimum': {
+/** @expose */
+minimum: {
 /** @this {org_apache_flex_html_NumericStepper} */
 get: function() {
 return this.model.minimum;
@@ -111,7 +112,8 @@ 
Object.defineProperties(org_apache_flex_html_NumericStepper.prototype, {
 this.model.minimum = value;
 }
 },
-'maximum': {
+/** @expose */
+maximum: {
 /** @this {org_apache_flex_html_NumericStepper} */
 get: function() {
 return this.model.maximum;
@@ -121,7 +123,8 @@ 
Object.defineProperties(org_apache_flex_html_NumericStepper.prototype, {
 this.model.maximum = value;
 }
 },
-'value': {
+/** @expose */
+value: {
 /** @this {org_apache_flex_html_NumericStepper} */
 get: function() {
 return this.model.value;
@@ -132,7 +135,8 @@ 
Object.defineProperties(org_apache_flex_html_NumericStepper.prototype, {
 this.spinner.value = newValue;
 }
 },
-'snapInterval': {
+/** @expose */
+snapInterval: {
 /** @this {org_apache_flex_html_NumericStepper} */
 get: function() {
 return this.model.snapInterval;
@@ -142,7 +146,8 @@ 
Object.defineProperties(org_apache_flex_html_NumericStepper.prototype, {
   

[13/18] git commit: [flex-falcon] [refs/heads/develop] - use @expose and remove single quotes in defineProperties structures.

2015-04-08 Thread aharui
use @expose and remove single quotes in defineProperties structures.


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

Branch: refs/heads/develop
Commit: 8eefb001a0eda7d1b70da98b51342db362067e23
Parents: 42de259
Author: Alex Harui 
Authored: Tue Apr 7 11:15:39 2015 -0700
Committer: Alex Harui 
Committed: Tue Apr 7 11:15:39 2015 -0700

--
 .../internal/codegen/js/flexjs/JSFlexJSEmitter.java | 9 +
 .../internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java | 5 +++--
 2 files changed, 8 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/8eefb001/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
--
diff --git 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
index cbf89b6..46a4da9 100644
--- 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
+++ 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
@@ -243,6 +243,7 @@ public class JSFlexJSEmitter extends JSGoogEmitter 
implements IJSFlexJSEmitter
 write(JSEmitterTokens.PROTOTYPE);  
 write(ASEmitterTokens.COMMA);
 write(ASEmitterTokens.SPACE);
+write("/** @lends {" + formatQualifiedName(qname) + ".prototype} 
*/ ");
 writeNewline(ASEmitterTokens.BLOCK_OPEN);
 
Set propertyNames = propertyMap.keySet();
@@ -255,9 +256,8 @@ public class JSFlexJSEmitter extends JSGoogEmitter 
implements IJSFlexJSEmitter
writeNewline(ASEmitterTokens.COMMA);

PropertyNodes p = propertyMap.get(propName);
-   write(ASEmitterTokens.SINGLE_QUOTE);
+   writeNewline("/** @expose */");
write(propName);
-   write(ASEmitterTokens.SINGLE_QUOTE);
write(ASEmitterTokens.COLON);
write(ASEmitterTokens.SPACE);
writeNewline(ASEmitterTokens.BLOCK_OPEN);
@@ -466,6 +466,7 @@ public class JSFlexJSEmitter extends JSGoogEmitter 
implements IJSFlexJSEmitter
 write(JSEmitterTokens.PROTOTYPE);  
 write(ASEmitterTokens.COMMA);
 write(ASEmitterTokens.SPACE);
+write("/** @lends {" + formatQualifiedName(qname) + ".prototype} 
*/ ");
 writeNewline(ASEmitterTokens.BLOCK_OPEN);
 
boolean firstTime = true;
@@ -488,8 +489,8 @@ public class JSFlexJSEmitter extends JSGoogEmitter 
implements IJSFlexJSEmitter
 private void emitBindableVarDefineProperty(String name, IClassDefinition 
cdef)
 {
// 'PropName': {
-   writeNewline(ASEmitterTokens.SINGLE_QUOTE.getToken() + name + 
-   ASEmitterTokens.SINGLE_QUOTE.getToken() 
+ 
+   writeNewline("/** @expose */");
+   writeNewline(name + 
ASEmitterTokens.COLON.getToken() +
ASEmitterTokens.SPACE.getToken() +
ASEmitterTokens.BLOCK_OPEN.getToken());

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/8eefb001/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
--
diff --git 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
index cf5d3df..55d830a 100644
--- 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
+++ 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
@@ -853,7 +853,7 @@ public class MXMLFlexJSEmitter extends MXMLEmitter 
implements

write("Object.defineProperties(");
write(formattedCName);
-   writeNewline(".prototype, {");
+   writeNewline(".prototype, /** @lends {" + formattedCName + ".prototype} 
*/ {");
 indentPush();
 int i = 0;
 for (MXMLDescriptorSpecifier instance : instances)
@@ -862,7 +862,8 @@ public class MXMLFlexJSEmitter extends MXMLEmitter 
implements
 .getToken()))
 {
 indent

[18/47] git commit: [flex-asjs] [refs/heads/develop] - more fixups for defineprop

2015-04-08 Thread aharui
more fixups for defineprop


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

Branch: refs/heads/develop
Commit: 116441cdae9f749be3a0474a4fd52d1c014c59cf
Parents: 68c4875
Author: Alex Harui 
Authored: Fri Mar 27 08:31:17 2015 -0700
Committer: Alex Harui 
Committed: Fri Mar 27 08:31:17 2015 -0700

--
 .../src/org/apache/flex/core/Application.js |  8 ++-
 .../src/org/apache/flex/core/ContainerBase.js   |  7 ++-
 .../org/apache/flex/core/HTMLElementWrapper.js  | 64 +---
 .../org/apache/flex/core/SimpleCSSValuesImpl.js |  2 +-
 .../src/org/apache/flex/html/DropDownList.js|  1 +
 .../src/org/apache/flex/html/TextInput.js   |  1 +
 .../TextItemRendererFactoryForArrayData.js  |  2 +
 7 files changed, 19 insertions(+), 66 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/116441cd/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js 
b/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js
index fdf34d4..aab8e23 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js
@@ -68,12 +68,18 @@ org_apache_flex_core_Application.prototype.model = null;
 Object.defineProperties(org_apache_flex_core_Application.prototype, {
 'valuesImpl': {
 /** @this {org_apache_flex_core_Application} */
-set: function() {
+set: function(value) {
 org_apache_flex_core_ValuesManager.valuesImpl = value;
 if (value.init) {
   value.init(this);
 }
}
+   },
+   'MXMLDescriptor': {
+   /** @this {org_apache_flex_core_Application} */
+get: function() {
+   return null;
+   }
}
 });
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/116441cd/frameworks/js/FlexJS/src/org/apache/flex/core/ContainerBase.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/ContainerBase.js 
b/frameworks/js/FlexJS/src/org/apache/flex/core/ContainerBase.js
index 77fabb7..b86f09b 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/ContainerBase.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/ContainerBase.js
@@ -52,7 +52,12 @@ org_apache_flex_core_ContainerBase = function() {
*/
   this.currentState_ = null;
 
-
+  /**
+   * @private
+   * @type {?Array}
+   */
+  this.mxmlDescriptor = null;
+  
   this.document = this;
 
 };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/116441cd/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js 
b/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js
index f33d7c3..e1d9454 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js
@@ -127,66 +127,4 @@ 
org_apache_flex_core_HTMLElementWrapper.prototype.removeBead = function(bead) {
   }
 
   return null;
-};
-
-
-Object.defineProperties(Event.prototype, {
-/** Hack to allow event.target expressions to work
- *
- * @expose
- * @return {Object} The wrapping object.
- */
-'target': {
-   /** @this {Event} */
-get: function() {
-var obj = this.target;
-if (!obj)
-  return this.currentTarget;
-return obj.flexjs_wrapper;
-}
-},
-/**
- * Hack to allow event.currentTarget to work
- * @return {Object} The wrapping object.
- */
-'currentTarget': {
-   /** @this {Event} */
-get: function() {
-return this.currentTarget.flexjs_wrapper;
-}
-}
-});
-
-
-Object.defineProperties(goog.events.BrowserEvent.prototype, {
-/**
- * Hack to allow event.target expressions to work
- *
- * @expose
- * @return {Object} The wrapping object.
- */
-'target': {
-   /** @this {goog.events.BrowserEvent} */
-get: function() {
-// if it is a faked event so just return the target
-if (!this.event_) return this.target;
-// for true browser events, get the embedded event's target
-return this.event_.target;
-}
-},
-/**
- * Hack to allow event.currentTarget expr

[11/47] git commit: [flex-asjs] [refs/heads/develop] - add @this annotations to stop warnings

2015-04-08 Thread aharui
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/19f8cb28/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js
 
b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js
index d3c8bac..89bfc09 100644
--- 
a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js
+++ 
b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js
@@ -201,12 +201,6 @@ function(value) {
  */
 
org_apache_flex_html_supportClasses_UIItemRendererBase.prototype.updateRenderer 
=
 function() {
-  if (this.down) {
-  }
-  else if (this.hovered) {
-  }
-  else if (this.selected) {
-  }
 };
 
 
@@ -227,3 +221,13 @@ 
org_apache_flex_html_supportClasses_UIItemRendererBase.prototype.adjustSize =
 function() {
   // handle in sub-class
 };
+
+
+Object.defineProperties(org_apache_flex_html_supportClasses_UIItemRendererBase.prototype,
 {
+   'MXMLDescriptor': {
+   /** @this 
{org_apache_flex_html_supportClasses_UIItemRendererBase} */
+   get: function() {
+   return null;
+   }
+   }
+});
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/19f8cb28/frameworks/js/FlexJS/src/org/apache/flex/html5/CheckBox.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html5/CheckBox.js 
b/frameworks/js/FlexJS/src/org/apache/flex/html5/CheckBox.js
index 23afeb9..5bd547f 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html5/CheckBox.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/CheckBox.js
@@ -51,17 +51,21 @@ org_apache_flex_html5_CheckBox.prototype.createElement =
 
 Object.defineProperties(org_apache_flex_html5_CheckBox.prototype, {
 'text': {
+   /** @this {org_apache_flex_html5_CheckBox} */
 get: function() {
 return this.element.childNodes.item(1).nodeValue;
 },
+   /** @this {org_apache_flex_html5_CheckBox} */
 set: function(value) {
 this.element.childNodes.item(1).nodeValue = value;
 }
 },
 selected: {
+   /** @this {org_apache_flex_html5_CheckBox} */
 get: function() {
 return this.element.childNodes.item(0).checked;
 },
+   /** @this {org_apache_flex_html5_CheckBox} */
 set: function(value) {
 this.element.childNodes.item(0).checked = value;
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/19f8cb28/frameworks/js/FlexJS/src/org/apache/flex/html5/ComboBox.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html5/ComboBox.js 
b/frameworks/js/FlexJS/src/org/apache/flex/html5/ComboBox.js
index 0075319..53400ad 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html5/ComboBox.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/ComboBox.js
@@ -168,14 +168,17 @@ org_apache_flex_html5_ComboBox.prototype.buttonClicked =
 
 Object.defineProperties(org_apache_flex_html5_ComboBox.prototype, {
 'dataProvider': {
+   /** @this {org_apache_flex_html5_ComboBox} */
 set: function(value) {
 this.dataProvider = value;
 }
 },
 'text': {
+   /** @this {org_apache_flex_html5_ComboBox} */
 get: function() {
 return this.element.childNodes.item(0).value;
 },
+   /** @this {org_apache_flex_html5_ComboBox} */
 set: function(value) {
 this.element.childNodes.item(0).value = value;
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/19f8cb28/frameworks/js/FlexJS/src/org/apache/flex/html5/Label.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html5/Label.js 
b/frameworks/js/FlexJS/src/org/apache/flex/html5/Label.js
index 1730bf0..8499d4d 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html5/Label.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/Label.js
@@ -44,9 +44,11 @@ org_apache_flex_html5_Label.prototype.createElement =
 
 Object.defineProperties(org_apache_flex_html5_Label.prototype, {
 'text': {
+   /** @this {org_apache_flex_html5_Label} */
 get: function() {
 return this.element.innerHTML;
 },
+   /** @this {org_apache_flex_html5_Label} */
 set: function(value) {
 this.element.innerHTML = value;
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/19f8cb28/frameworks/js/FlexJS/src/org/apache/flex/html5/TextArea.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/fle

[06/18] git commit: [flex-falcon] [refs/heads/develop] - output object.defineProperties

2015-04-08 Thread aharui
output object.defineProperties


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

Branch: refs/heads/develop
Commit: e7deb062a61fc40f95b71f07c6b77ec9b44f3b6d
Parents: f454bff
Author: Alex Harui 
Authored: Tue Mar 24 22:49:48 2015 -0700
Committer: Alex Harui 
Committed: Tue Mar 24 22:49:48 2015 -0700

--
 .../codegen/js/flexjs/JSFlexJSEmitter.java  | 382 ++-
 .../js/flexjs/JSFlexJSEmitterTokens.java|   2 +
 2 files changed, 280 insertions(+), 104 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/e7deb062/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
--
diff --git 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
index 37c8045..87a39f2 100644
--- 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
+++ 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
@@ -22,10 +22,9 @@ package org.apache.flex.compiler.internal.codegen.js.flexjs;
 import java.io.FilterWriter;
 import java.util.ArrayList;
 import java.util.Collection;
+import java.util.HashMap;
 import java.util.HashSet;
 import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
 import java.util.Set;
 
 import org.apache.flex.compiler.asdoc.flexjs.ASDocComment;
@@ -44,6 +43,7 @@ import 
org.apache.flex.compiler.definitions.INamespaceDefinition;
 import org.apache.flex.compiler.definitions.IPackageDefinition;
 import org.apache.flex.compiler.definitions.ITypeDefinition;
 import org.apache.flex.compiler.internal.codegen.as.ASEmitterTokens;
+import org.apache.flex.compiler.internal.codegen.js.JSDocEmitterTokens;
 import org.apache.flex.compiler.internal.codegen.js.JSEmitterTokens;
 import org.apache.flex.compiler.internal.codegen.js.goog.JSGoogEmitter;
 import org.apache.flex.compiler.internal.codegen.js.goog.JSGoogEmitterTokens;
@@ -63,7 +63,7 @@ import 
org.apache.flex.compiler.internal.tree.as.ChainedVariableNode;
 import org.apache.flex.compiler.internal.tree.as.ClassNode;
 import org.apache.flex.compiler.internal.tree.as.FunctionCallNode;
 import org.apache.flex.compiler.internal.tree.as.FunctionNode;
-import org.apache.flex.compiler.internal.tree.as.MemberAccessExpressionNode;
+import org.apache.flex.compiler.internal.tree.as.GetterNode;
 import org.apache.flex.compiler.internal.tree.as.ParameterNode;
 import org.apache.flex.compiler.internal.tree.as.RegExpLiteralNode;
 import org.apache.flex.compiler.internal.tree.as.SetterNode;
@@ -76,7 +76,6 @@ import org.apache.flex.compiler.tree.as.IAccessorNode;
 import org.apache.flex.compiler.tree.as.IBinaryOperatorNode;
 import org.apache.flex.compiler.tree.as.IClassNode;
 import org.apache.flex.compiler.tree.as.IDefinitionNode;
-import org.apache.flex.compiler.tree.as.IDynamicAccessNode;
 import org.apache.flex.compiler.tree.as.IExpressionNode;
 import org.apache.flex.compiler.tree.as.IForLoopNode;
 import org.apache.flex.compiler.tree.as.IFunctionCallNode;
@@ -87,7 +86,6 @@ import org.apache.flex.compiler.tree.as.IIdentifierNode;
 import org.apache.flex.compiler.tree.as.IInterfaceNode;
 import org.apache.flex.compiler.tree.as.ILanguageIdentifierNode;
 import org.apache.flex.compiler.tree.as.ILiteralNode;
-import org.apache.flex.compiler.tree.as.IUnaryOperatorNode;
 import org.apache.flex.compiler.tree.as.ILiteralNode.LiteralType;
 import org.apache.flex.compiler.tree.as.IMemberAccessExpressionNode;
 import org.apache.flex.compiler.tree.as.IParameterNode;
@@ -116,6 +114,14 @@ public class JSFlexJSEmitter extends JSGoogEmitter 
implements IJSFlexJSEmitter
 
 public IDefinition thisClass;
 
+class PropertyNodes
+{
+   public IGetterNode getter;
+   public ISetterNode setter;
+}
+
+HashMap propertyMap = new HashMap();
+
 @Override
 protected String getIndent(int numIndent)
 {
@@ -216,6 +222,88 @@ public class JSFlexJSEmitter extends JSGoogEmitter 
implements IJSFlexJSEmitter
 write(ASEmitterTokens.SEMICOLON);
 }
 }
+
+if (!propertyMap.isEmpty())
+{
+write(JSGoogEmitterTokens.OBJECT);
+write(ASEmitterTokens.MEMBER_ACCESS);
+write(JSEmitterTokens.DEFINE_PROPERTIES);
+write(ASEmitterTokens.PAREN_OPEN);
+String qname = definition.getQualifiedName();
+write(formatQualifiedName(qname));
+  

[34/47] git commit: [flex-asjs] [refs/heads/develop] - change way we handle event.target expressions. Now we wrap all events with a BrowserEvent. This probably needs revisiting again

2015-04-08 Thread aharui
change way we handle event.target expressions.  Now we wrap all events with a 
BrowserEvent.  This probably needs revisiting again


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

Branch: refs/heads/develop
Commit: b7f109fa3acfab85162852c1ed6625ef40fb1997
Parents: 24205c9
Author: Alex Harui 
Authored: Fri Apr 3 16:09:53 2015 -0700
Committer: Alex Harui 
Committed: Fri Apr 3 16:09:53 2015 -0700

--
 .../org/apache/flex/core/HTMLElementWrapper.js  |  34 -
 .../src/org/apache/flex/events/BrowserEvent.js  | 139 +++
 .../src/org/apache/flex/events/DragEvent.js |   3 +-
 .../src/org/apache/flex/events/ElementEvents.js |  47 +++
 .../FlexJS/src/org/apache/flex/events/Event.js  |  22 ---
 .../org/apache/flex/events/EventDispatcher.js   |  16 +--
 6 files changed, 223 insertions(+), 38 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b7f109fa/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js 
b/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js
index 0b1d19d..01dbfdf 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js
@@ -16,6 +16,7 @@ goog.provide('org_apache_flex_core_HTMLElementWrapper');
 
 goog.require('org_apache_flex_core_IBeadModel');
 goog.require('org_apache_flex_core_IStrand');
+goog.require('org_apache_flex_events_BrowserEvent');
 goog.require('org_apache_flex_events_EventDispatcher');
 goog.require('org_apache_flex_utils_Language');
 
@@ -127,4 +128,35 @@ 
org_apache_flex_core_HTMLElementWrapper.prototype.removeBead = function(bead) {
   }
 
   return null;
-};
\ No newline at end of file
+};
+
+
+/**
+ * @type {function((goog.events.Listener|null), (Object|null)):boolean}
+ */
+org_apache_flex_core_HTMLElementWrapper.googFireListener = null;
+
+/**
+ * Fires a listener with a set of arguments
+ *
+ * @param {goog.events.Listener} listener The listener object to call.
+ * @param {Object} eventObject The event object to pass to the listener.
+ * @return {boolean} Result of listener.
+ */
+org_apache_flex_core_HTMLElementWrapper.fireListenerOverride = 
function(listener, eventObject) {
+  var e = new org_apache_flex_events_BrowserEvent();
+  e.wrappedEvent = eventObject;
+  return org_apache_flex_core_HTMLElementWrapper.googFireListener(listener, e);
+};
+
+
+org_apache_flex_core_HTMLElementWrapper.installOverride = function() {
+  org_apache_flex_core_HTMLElementWrapper.googFireListener =
+  goog.events.fireListener;
+  goog.events.fireListener = 
org_apache_flex_core_HTMLElementWrapper.fireListenerOverride;
+};
+
+   
+org_apache_flex_core_HTMLElementWrapper.installedOverride =
+org_apache_flex_core_HTMLElementWrapper.installOverride();
+   

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b7f109fa/frameworks/js/FlexJS/src/org/apache/flex/events/BrowserEvent.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/events/BrowserEvent.js 
b/frameworks/js/FlexJS/src/org/apache/flex/events/BrowserEvent.js
new file mode 100644
index 000..454c6ee
--- /dev/null
+++ b/frameworks/js/FlexJS/src/org/apache/flex/events/BrowserEvent.js
@@ -0,0 +1,139 @@
+/**
+ * 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.
+ */
+goog.provide('org_apache_flex_events_BrowserEvent');
+
+goog.require('goog.events.BrowserEvent');
+//goog.require('org_apache_flex_events_Event');
+
+
+
+/**
+ * @constructor
+ * @extends {org_apache_flex_events_Event}
+ */
+org_apache_flex_events_BrowserEvent = function() {
+//  org_apache_flex_events_BrowserEvent.base(this, 'constructor');
+
+};
+//goog.inherits(org_apache_flex_events_BrowserEvent,
+//org_apache_flex_events_Event);
+
+
+/**
+ * Metadata
+ *
+ * @type {Object.>}
+ */
+org_apache_flex_events_BrowserEvent.prototype.FLEXJS_CLASS_INFO =
+{ names: [{ name: 'BrowserEvent',
+qN

[47/47] git commit: [flex-asjs] [refs/heads/develop] - fix mustella (js) to handle defineProp

2015-04-08 Thread aharui
fix mustella (js) to handle defineProp


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

Branch: refs/heads/develop
Commit: 23b457c6bedd93877a1a3d2d78713d26a9d0
Parents: 6008098
Author: Alex Harui 
Authored: Wed Apr 8 16:04:48 2015 -0700
Committer: Alex Harui 
Committed: Wed Apr 8 16:04:48 2015 -0700

--
 build.xml   |  92 +++
 marmotinni/build.xml| 114 +--
 marmotinni/java/downloads.xml   |   6 +-
 .../src/marmotinni/AssertPropertyValue.java |   3 +-
 mustella/java/src/marmotinni/TestStep.java  |   2 +-
 5 files changed, 108 insertions(+), 109 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/23b457c6/build.xml
--
diff --git a/build.xml b/build.xml
index c5ee70c..3822577 100644
--- a/build.xml
+++ b/build.xml
@@ -1215,45 +1215,45 @@


 
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 

 
@@ -1304,7 +1304,7 @@
 
 
 
-
+
 
 
 
@@ -1313,18 +1313,18 @@
 
 
 
-
+
 
 
-
+
 
 
 
 
 
-
-
-
+
+
+
 
 
 
@@ -1335,7 +1335,7 @@
 
 
 
-
+
 
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/23b457c6/marmotinni/build.xml
--
diff --git a/marmotinni/build.xml b/marmotinni/build.xml
index 0fa501f..42252ff 100644
--- a/marmotinni/build.xml
+++ b/marmotinni/build.xml
@@ -91,45 +91,45 @@


 
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
-   
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+   

[37/47] git commit: [flex-asjs] [refs/heads/develop] - sprinkle in @expose to get release version to survive minification. @expose is deprecated so we may need to re-work this some day

2015-04-08 Thread aharui
sprinkle in @expose to get release version to survive minification.  @expose is 
deprecated so we may need to re-work this some day


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

Branch: refs/heads/develop
Commit: 5c486ee6546e8d8f47b4b878d6134c02479e1ba5
Parents: b7f109f
Author: Alex Harui 
Authored: Tue Apr 7 10:17:27 2015 -0700
Committer: Alex Harui 
Committed: Tue Apr 7 10:17:27 2015 -0700

--
 .../js/FlexJS/src/org/apache/cordova/Weinre.js  |  6 +-
 .../src/org/apache/flex/binding/BindingBase.js  |  3 +-
 .../src/org/apache/flex/binding/ChainBinding.js |  3 +-
 .../org/apache/flex/binding/ConstantBinding.js  |  3 +-
 .../org/apache/flex/binding/GenericBinding.js   |  3 +-
 .../org/apache/flex/binding/SimpleBinding.js|  3 +-
 .../org/apache/flex/charts/core/ChartBase.js|  3 +-
 .../org/apache/flex/charts/core/IAxisBead.js| 11 ++--
 .../src/org/apache/flex/charts/core/IChart.js   |  3 +-
 .../flex/charts/core/IChartItemRenderer.js  | 21 ---
 .../org/apache/flex/charts/core/IChartSeries.js | 12 ++--
 .../flex/charts/core/IHorizontalAxisBead.js |  9 ++-
 .../flex/charts/core/IVerticalAxisBead.js   |  9 ++-
 .../src/org/apache/flex/core/Application.js |  8 ++-
 .../src/org/apache/flex/core/BeadViewBase.js|  6 +-
 .../src/org/apache/flex/core/CallLaterBead.js   |  3 +-
 .../src/org/apache/flex/core/ContainerBase.js   | 12 ++--
 .../src/org/apache/flex/core/FilledRectangle.js |  3 +-
 .../src/org/apache/flex/core/FormatBase.js  | 15 +++--
 .../org/apache/flex/core/HTMLElementWrapper.js  |  3 +-
 .../js/FlexJS/src/org/apache/flex/core/IBead.js |  3 +-
 .../FlexJS/src/org/apache/flex/core/IChild.js   |  3 +-
 .../src/org/apache/flex/core/IContentView.js| 12 ++--
 .../src/org/apache/flex/core/IFormatBead.js |  9 ++-
 .../src/org/apache/flex/core/ILayoutParent.js   | 12 ++--
 .../apache/flex/core/IListPresentationModel.js  |  3 +-
 .../apache/flex/core/ISelectableItemRenderer.js | 15 +++--
 .../src/org/apache/flex/core/ISelectionModel.js |  9 ++-
 .../src/org/apache/flex/core/ITextModel.js  |  3 +-
 .../flex/core/ItemRendererClassFactory.js   |  3 +-
 .../FlexJS/src/org/apache/flex/core/ListBase.js |  9 ++-
 .../org/apache/flex/core/SimpleCSSValuesImpl.js | 11 
 .../org/apache/flex/core/SimpleStatesImpl.js|  3 +-
 .../FlexJS/src/org/apache/flex/core/UIBase.js   | 58 
 .../src/org/apache/flex/core/ValuesManager.js   |  3 +-
 .../FlexJS/src/org/apache/flex/core/ViewBase.js | 38 ++---
 .../org/apache/flex/core/ViewBaseDataBinding.js |  3 +-
 .../src/org/apache/flex/core/graphics/Circle.js |  3 +-
 .../apache/flex/core/graphics/GradientBase.js   | 23 
 .../apache/flex/core/graphics/GradientEntry.js  |  9 ++-
 .../apache/flex/core/graphics/GraphicShape.js   | 11 +---
 .../flex/core/graphics/GraphicsContainer.js | 15 +++--
 .../apache/flex/core/graphics/LinearGradient.js |  3 +-
 .../src/org/apache/flex/core/graphics/Path.js   |  3 +-
 .../org/apache/flex/core/graphics/SolidColor.js |  6 +-
 .../flex/core/graphics/SolidColorStroke.js  |  9 ++-
 .../src/org/apache/flex/createjs/CheckBox.js|  6 +-
 .../src/org/apache/flex/createjs/Label.js   |  3 +-
 .../src/org/apache/flex/createjs/TextButton.js  |  3 +-
 .../src/org/apache/flex/createjs/core/UIBase.js | 18 --
 .../org/apache/flex/createjs/core/ViewBase.js   |  3 +-
 .../org/apache/flex/effects/PlatformWiper.js|  6 +-
 .../src/org/apache/flex/events/BrowserEvent.js  | 42 +-
 .../src/org/apache/flex/events/DragEvent.js | 16 ++
 .../src/org/apache/flex/events/MouseEvent.js| 10 ++--
 .../js/FlexJS/src/org/apache/flex/html/Alert.js |  9 ++-
 .../FlexJS/src/org/apache/flex/html/CheckBox.js |  6 +-
 .../FlexJS/src/org/apache/flex/html/ComboBox.js |  3 +-
 .../src/org/apache/flex/html/DropDownList.js|  9 ++-
 .../js/FlexJS/src/org/apache/flex/html/Image.js |  3 +-
 .../org/apache/flex/html/ImageAndTextButton.js  |  6 +-
 .../js/FlexJS/src/org/apache/flex/html/Label.js |  6 +-
 .../js/FlexJS/src/org/apache/flex/html/List.js  | 12 ++--
 .../src/org/apache/flex/html/MultilineLabel.js  |  6 +-
 .../src/org/apache/flex/html/NumericStepper.js  | 15 +++--
 .../js/FlexJS/src/org/apache/flex/html/Panel.js |  9 ++-
 .../src/org/apache/flex/html/RadioButton.js | 18 --
 .../src/org/apache/flex/html/SimpleList.js  |  9 ++-
 .../FlexJS/src/org/apache/flex/html/Slider.js   | 15 +++--
 .../FlexJS/src/org/apache/flex/html/Spinner.js  | 15 +++--
 .../FlexJS/src/org/apache/flex/html/TextArea.js |  3 +-
 .../src/org/apache/flex/html/TextButton.js  |  3 +-
 .../src/org/apache/flex/html/TextInput.js   |  3 +-
 .../FlexJS/src/org/apache/f

[25/47] git commit: [flex-asjs] [refs/heads/develop] - models need to be IBeadModel

2015-04-08 Thread aharui
models need to be IBeadModel


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

Branch: refs/heads/develop
Commit: ef847bf8d9b7b42cad3c41997d99533043ca7b47
Parents: 31e219f
Author: Alex Harui 
Authored: Fri Apr 3 16:01:16 2015 -0700
Committer: Alex Harui 
Committed: Fri Apr 3 16:01:16 2015 -0700

--
 .../src/org/apache/flex/html/beads/models/ImageModel.js  | 8 +---
 .../src/org/apache/flex/html/beads/models/RangeModel.js  | 4 +++-
 2 files changed, 8 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ef847bf8/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ImageModel.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ImageModel.js 
b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ImageModel.js
index e5fd9e5..188cc27 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ImageModel.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ImageModel.js
@@ -14,6 +14,7 @@
 
 goog.provide('org_apache_flex_html_beads_models_ImageModel');
 
+goog.require('org_apache_flex_core_IBeadModel');
 goog.require('org_apache_flex_events_EventDispatcher');
 
 
@@ -38,7 +39,8 @@ goog.inherits(
  */
 org_apache_flex_html_beads_models_ImageModel.prototype.FLEXJS_CLASS_INFO =
 { names: [{ name: 'ImageModel',
-qName: 'org_apache_flex_html_beads_models_ImageModel'}] };
+qName: 'org_apache_flex_html_beads_models_ImageModel'}],
+  interfaces: [ org_apache_flex_core_IBeadModel] };
 
 
 
Object.defineProperties(org_apache_flex_html_beads_models_ImageModel.prototype, 
{
@@ -51,11 +53,11 @@ 
Object.defineProperties(org_apache_flex_html_beads_models_ImageModel.prototype,
 'source': {
 /** @this {org_apache_flex_html_beads_models_ImageModel} */
 get: function() {
-return this.source;
+return this.source_;
 },
 /** @this {org_apache_flex_html_beads_models_ImageModel} */
 set: function(value) {
-this.source = value;
+this.source_ = value;
 this.dispatchEvent('sourceChanged');
 }
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ef847bf8/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/RangeModel.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/RangeModel.js 
b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/RangeModel.js
index eb20880..91ed062 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/RangeModel.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/RangeModel.js
@@ -14,6 +14,7 @@
 
 goog.provide('org_apache_flex_html_beads_models_RangeModel');
 
+goog.require('org_apache_flex_core_IBeadModel');
 goog.require('org_apache_flex_events_EventDispatcher');
 
 
@@ -42,7 +43,8 @@ goog.inherits(org_apache_flex_html_beads_models_RangeModel,
  */
 org_apache_flex_html_beads_models_RangeModel.prototype.FLEXJS_CLASS_INFO =
 { names: [{ name: 'RangeModel',
-qName: 'org_apache_flex_html_beads_models_RangeModel'}] };
+qName: 'org_apache_flex_html_beads_models_RangeModel'}],
+  interfaces: [ org_apache_flex_core_IBeadModel] };
 
 
 
Object.defineProperties(org_apache_flex_html_beads_models_RangeModel.prototype, 
{



[21/47] git commit: [flex-asjs] [refs/heads/develop] - lint

2015-04-08 Thread aharui
lint


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

Branch: refs/heads/develop
Commit: 6940d9544c3b117d4df36daa048d5d1915bc871e
Parents: 116441c
Author: Alex Harui 
Authored: Fri Mar 27 10:07:41 2015 -0700
Committer: Alex Harui 
Committed: Fri Mar 27 10:07:41 2015 -0700

--
 .../js/FlexJS/src/org/apache/cordova/Weinre.js  |  8 +-
 .../src/org/apache/flex/binding/BindingBase.js  |  2 +-
 .../src/org/apache/flex/binding/ChainBinding.js |  2 +-
 .../org/apache/flex/binding/ConstantBinding.js  |  2 +-
 .../org/apache/flex/binding/GenericBinding.js   |  4 +-
 .../org/apache/flex/binding/SimpleBinding.js|  2 +-
 .../org/apache/flex/charts/core/ChartBase.js|  4 +-
 .../src/org/apache/flex/core/Application.js | 14 +--
 .../src/org/apache/flex/core/BeadViewBase.js| 12 +--
 .../src/org/apache/flex/core/CallLaterBead.js   |  4 +-
 .../src/org/apache/flex/core/ContainerBase.js   | 20 ++--
 .../src/org/apache/flex/core/FilledRectangle.js |  4 +-
 .../src/org/apache/flex/core/FormatBase.js  | 14 +--
 .../org/apache/flex/core/HTMLElementWrapper.js  |  4 +-
 .../js/FlexJS/src/org/apache/flex/core/IBead.js |  2 +-
 .../flex/core/ItemRendererClassFactory.js   |  2 +-
 .../FlexJS/src/org/apache/flex/core/ListBase.js | 18 ++--
 .../org/apache/flex/core/SimpleStatesImpl.js|  4 +-
 .../FlexJS/src/org/apache/flex/core/UIBase.js   | 64 ++---
 .../src/org/apache/flex/core/ValuesManager.js   |  4 +-
 .../FlexJS/src/org/apache/flex/core/ViewBase.js | 16 ++--
 .../org/apache/flex/core/ViewBaseDataBinding.js |  4 +-
 .../src/org/apache/flex/core/graphics/Circle.js |  4 +-
 .../apache/flex/core/graphics/GradientBase.js   | 18 ++--
 .../apache/flex/core/graphics/GradientEntry.js  | 12 +--
 .../apache/flex/core/graphics/GraphicShape.js   |  8 +-
 .../flex/core/graphics/GraphicsContainer.js | 10 +-
 .../apache/flex/core/graphics/LinearGradient.js |  4 +-
 .../src/org/apache/flex/core/graphics/Path.js   |  4 +-
 .../org/apache/flex/core/graphics/SolidColor.js |  8 +-
 .../flex/core/graphics/SolidColorStroke.js  | 12 +--
 .../src/org/apache/flex/createjs/CheckBox.js| 12 +--
 .../src/org/apache/flex/createjs/Label.js   |  4 +-
 .../src/org/apache/flex/createjs/TextButton.js  |  6 +-
 .../src/org/apache/flex/createjs/core/UIBase.js | 16 ++--
 .../org/apache/flex/createjs/core/ViewBase.js   |  6 +-
 .../org/apache/flex/effects/PlatformWiper.js| 48 +-
 .../FlexJS/src/org/apache/flex/events/Event.js  |  6 +-
 .../js/FlexJS/src/org/apache/flex/html/Alert.js | 78 
 .../src/org/apache/flex/html/DropDownList.js| 24 ++---
 .../js/FlexJS/src/org/apache/flex/html/Image.js | 14 +--
 .../js/FlexJS/src/org/apache/flex/html/List.js  | 40 
 .../src/org/apache/flex/html/NumericStepper.js  | 54 +--
 .../src/org/apache/flex/html/SimpleList.js  | 38 
 .../FlexJS/src/org/apache/flex/html/Slider.js   | 62 ++---
 .../FlexJS/src/org/apache/flex/html/Spinner.js  |  8 +-
 .../FlexJS/src/org/apache/flex/html/TextArea.js |  4 +-
 .../src/org/apache/flex/html/TextButton.js  |  4 +-
 .../src/org/apache/flex/html/TextInput.js   |  4 +-
 .../FlexJS/src/org/apache/flex/html/TitleBar.js | 22 ++---
 .../org/apache/flex/html/ToggleTextButton.js|  8 +-
 .../accessories/NumericOnlyTextInputBead.js |  2 +-
 .../flex/html/accessories/PasswordInputBead.js  |  2 +-
 .../flex/html/accessories/TextPromptBead.js | 18 ++--
 .../org/apache/flex/html/beads/ButtonBarView.js |  6 +-
 .../org/apache/flex/html/beads/ContainerView.js |  8 +-
 .../apache/flex/html/beads/ImageButtonView.js   |  4 +-
 .../src/org/apache/flex/html/beads/ImageView.js |  4 +-
 .../src/org/apache/flex/html/beads/ListView.js  | 72 +++
 .../src/org/apache/flex/html/beads/PanelView.js | 46 +-
 .../flex/html/beads/ScrollingContainerView.js   | 22 ++---
 .../apache/flex/html/beads/SliderThumbView.js   | 40 
 .../apache/flex/html/beads/SliderTrackView.js   | 34 +++
 .../flex/html/beads/TextInputWithBorderView.js  |  4 +-
 .../controllers/ItemRendererMouseController.js  |  2 +-
 .../ListSingleSelectionMouseController.js   |  2 +-
 .../beads/controllers/SliderMouseController.js  |  2 +-
 .../flex/html/beads/layouts/ButtonBarLayout.js  | 38 
 .../beads/layouts/NonVirtualHorizontalLayout.js | 40 
 .../flex/html/beads/layouts/TileLayout.js   | 28 +++---
 .../html/beads/models/ArraySelectionModel.js| 62 ++---
 .../flex/html/beads/models/DataGridModel.js | 14 +--
 .../apache/flex/html/beads/models/ImageModel.js | 12 +--
 .../html/beads/models/ListPresentationModel.js  | 12 +--
 .../apache/flex/html/beads/models/PanelModel.js | 28

[19/47] git commit: [flex-asjs] [refs/heads/develop] - lint

2015-04-08 Thread aharui
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/net/BinaryUploader.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/net/BinaryUploader.js 
b/frameworks/js/FlexJS/src/org/apache/flex/net/BinaryUploader.js
index 1642a6d..fd84f49 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/net/BinaryUploader.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/net/BinaryUploader.js
@@ -131,33 +131,33 @@ org_apache_flex_net_BinaryUploader.HTTP_METHOD_DELETE = 
'DELETE';
 
 Object.defineProperties(org_apache_flex_net_BinaryUploader.prototype, {
 'data': {
-   /** @this {org_apache_flex_net_BinaryUploader} */
+/** @this {org_apache_flex_net_BinaryUploader} */
 get: function() {
 return this.element.responseText;
 }
 },
 'binaryData': {
-   /** @this {org_apache_flex_net_BinaryUploader} */
+/** @this {org_apache_flex_net_BinaryUploader} */
 get: function() {
 return this.binaryData_;
 },
-   /** @this {org_apache_flex_net_BinaryUploader} */
+/** @this {org_apache_flex_net_BinaryUploader} */
 set: function(value) {
 this.binaryData_ = value;
 }
 },
 'contentType': {
-   /** @this {org_apache_flex_net_BinaryUploader} */
+/** @this {org_apache_flex_net_BinaryUploader} */
 get: function() {
 return this.contentType_;
 },
-   /** @this {org_apache_flex_net_BinaryUploader} */
+/** @this {org_apache_flex_net_BinaryUploader} */
 set: function(value) {
 this.contentType_ = value;
 }
 },
 'headers': {
-   /** @this {org_apache_flex_net_BinaryUploader} */
+/** @this {org_apache_flex_net_BinaryUploader} */
 get: function() {
 if (this.headers_ === 'undefined') {
   this.headers_ = [];
@@ -165,23 +165,23 @@ 
Object.defineProperties(org_apache_flex_net_BinaryUploader.prototype, {
 
 return this.headers_;
 },
-   /** @this {org_apache_flex_net_BinaryUploader} */
+/** @this {org_apache_flex_net_BinaryUploader} */
 set: function(value) {
 this.headers_ = value;
 }
 },
 'method': {
-   /** @this {org_apache_flex_net_BinaryUploader} */
+/** @this {org_apache_flex_net_BinaryUploader} */
 get: function() {
 return this.method_;
 },
-   /** @this {org_apache_flex_net_BinaryUploader} */
+/** @this {org_apache_flex_net_BinaryUploader} */
 set: function(value) {
 this.method_ = value;
 }
 },
 'responseHeaders': {
-   /** @this {org_apache_flex_net_BinaryUploader} */
+/** @this {org_apache_flex_net_BinaryUploader} */
 get: function() {
 var allHeaders, c, hdr, i, n, part1, part2;
 
@@ -202,43 +202,43 @@ 
Object.defineProperties(org_apache_flex_net_BinaryUploader.prototype, {
 }
 },
 'responseURL': {
-   /** @this {org_apache_flex_net_BinaryUploader} */
+/** @this {org_apache_flex_net_BinaryUploader} */
 get: function() {
 return this.responseURL_;
 }
 },
 'status': {
-   /** @this {org_apache_flex_net_BinaryUploader} */
+/** @this {org_apache_flex_net_BinaryUploader} */
 get: function() {
 return this.status_;
 }
 },
 'timeout': {
-   /** @this {org_apache_flex_net_BinaryUploader} */
+/** @this {org_apache_flex_net_BinaryUploader} */
 get: function() {
 return this.timeout_;
 },
-   /** @this {org_apache_flex_net_BinaryUploader} */
+/** @this {org_apache_flex_net_BinaryUploader} */
 set: function(value) {
 this.timeout_ = value;
 }
 },
 'url': {
-   /** @this {org_apache_flex_net_BinaryUploader} */
+/** @this {org_apache_flex_net_BinaryUploader} */
 get: function() {
 return this.url_;
 },
-   /** @this {org_apache_flex_net_BinaryUploader} */
+/** @this {org_apache_flex_net_BinaryUploader} */
 set: function(value) {
 this.url_ = value;
 }
 },
 'id': {
-   /** @this {org_apache_flex_net_BinaryUploader} */
+/** @this {org_apache_flex_net_BinaryUploader} */
 get: function() {
 return this.id;
 },
-   /** @this {org_apache_flex_net_BinaryUploader} */
+/** @this {org_apache_flex_net_BinaryUploader} */
 set: function(value) {
 if (this.id !== value) {
   this.id = value;
@@ -247,13 +247,13 @@ 
Object.defineProperties(org_apache_flex_net_BinaryUploader.prototype, {

[41/47] git commit: [flex-asjs] [refs/heads/develop] - make trace handle multiple args

2015-04-08 Thread aharui
make trace handle multiple args


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

Branch: refs/heads/develop
Commit: f1164264f6092e806479df8b832a35692894db94
Parents: 61fc278
Author: Alex Harui 
Authored: Wed Apr 8 12:12:58 2015 -0700
Committer: Alex Harui 
Committed: Wed Apr 8 12:12:58 2015 -0700

--
 .../js/FlexJS/src/org/apache/flex/utils/Language.js | 12 
 1 file changed, 8 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f1164264/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js 
b/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
index 3fdb371..b890dac 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
@@ -155,12 +155,16 @@ org_apache_flex_utils_Language.is = function(leftOperand, 
rightOperand) {
  * trace()
  *
  * @expose
- * @param {string=} opt_value The message to be written to the console.
+ * @param {...Object} var_args The message(s) to be written to the console.
  */
-org_apache_flex_utils_Language.trace = function(opt_value) {
+org_apache_flex_utils_Language.trace = function(var_args) {
   var theConsole;
 
-  opt_value = (opt_value !== undefined) ? opt_value : '';
+  var msg = '';
+  for (var i = 0; i < arguments.length; i++) {
+if (i > 0) msg += ' ';
+msg += arguments[i];
+  }
 
   theConsole = goog.global.console;
 
@@ -169,7 +173,7 @@ org_apache_flex_utils_Language.trace = function(opt_value) {
 
   try {
 if (theConsole && theConsole.log) {
-  theConsole.log(opt_value);
+  theConsole.log(msg);
 }
   } catch (e) {
 // ignore; at least we tried ;-)



[05/47] git commit: [flex-asjs] [refs/heads/develop] - manually convert Timer to defineProp

2015-04-08 Thread aharui
manually convert Timer to defineProp


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

Branch: refs/heads/develop
Commit: f2e09a410b2afa6bd59dd8d1fc1c6bc23444e53b
Parents: f7f0f20
Author: Alex Harui 
Authored: Tue Feb 17 14:55:26 2015 -0800
Committer: Alex Harui 
Committed: Tue Feb 17 14:55:26 2015 -0800

--
 .../FlexJS/src/org/apache/flex/utils/Timer.js   | 81 +++-
 1 file changed, 28 insertions(+), 53 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f2e09a41/frameworks/js/FlexJS/src/org/apache/flex/utils/Timer.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/utils/Timer.js 
b/frameworks/js/FlexJS/src/org/apache/flex/utils/Timer.js
index 57815c1..455020c 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/utils/Timer.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/Timer.js
@@ -107,56 +107,31 @@ org_apache_flex_utils_Timer.prototype.timerHandler =
 
 };
 
-
-/**
- * @expose
- * @return {number} The currentCount.
- */
-org_apache_flex_utils_Timer.prototype.get_currentCount = function() {
-  return this._currentCount;
-};
-
-
-/**
- * @expose
- * @return {boolean} True if the timer is running.
- */
-org_apache_flex_utils_Timer.prototype.get_running = function() {
-  return this.timerInterval !== -1;
-};
-
-
-/**
- * @expose
- * @return {number} The number of milliseconds between events.
- */
-org_apache_flex_utils_Timer.prototype.get_delay = function() {
-  return this._delay;
-};
-
-
-/**
- * @expose
- * @param {number} value The number of milliseconds between events.
- */
-org_apache_flex_utils_Timer.prototype.set_delay = function(value) {
-  this._delay = value;
-};
-
-
-/**
- * @expose
- * @return {number} The repeat count.
- */
-org_apache_flex_utils_Timer.prototype.get_repeatCount = function() {
-  return this._repeatCount;
-};
-
-
-/**
- * @expose
- * @param {number} value The repeat count.
- */
-org_apache_flex_utils_Timer.prototype.set_repeatCount = function(value) {
-  this._repeatCount = value;
-};
+Object.defineProperties(org_apache_flex_utils_Timer.prototype, {
+"currentCount": {
+get: function() {
+return this._currentCount;
+   }
+   },
+"running": {
+get: function() {
+return this.timerInterval !== -1;
+   }
+   },
+"delay": {
+   get: function() {
+return this._delay;
+   },
+set: function(value) {
+this._delay = value;
+   }
+   },
+"repeatCount": {
+   get: function() {
+return this._repeatCount;
+   },
+set: function(value) {
+this._repeatCount = value;
+   }
+   }
+});



[39/47] git commit: [flex-asjs] [refs/heads/develop] - merge defineprop to develop. The merge broke some stuff so use later commits

2015-04-08 Thread aharui
merge defineprop to develop.  The merge broke some stuff so use later commits


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

Branch: refs/heads/develop
Commit: 1a5ba33d9ee4c544c1898047faaba504411fdc2b
Parents: 7f179c9 26e2667
Author: Alex Harui 
Authored: Wed Apr 8 10:14:01 2015 -0700
Committer: Alex Harui 
Committed: Wed Apr 8 10:14:01 2015 -0700

--
 .../FlexJSStore/src/ProductJSONItemConverter.as |   2 +-
 .../apache/flex/core/ApplicationDataBinding.as  |   8 +-
 .../org/apache/flex/core/BindableCSSStyles.as   |  26 -
 .../apache/flex/core/ContainerDataBinding.as|  14 +-
 .../flex/core/MXMLBeadViewBaseDataBinding.as|   8 +-
 .../src/org/apache/flex/core/SimpleCSSStyles.as |  26 -
 .../flex/core/StatesWithTransitionsImpl.as  |  20 +-
 .../src/org/apache/flex/effects/Fade.as |   2 +-
 .../src/org/apache/flex/effects/Move.as |   6 +-
 .../src/org/apache/flex/effects/Resize.as   |   2 +-
 .../src/org/apache/flex/effects/Wipe.as |   2 +-
 .../src/org/apache/flex/core/DataBindingBase.as |  41 --
 .../org/apache/flex/events/EventDispatcher.as   |  30 -
 .../js/FlexJS/src/org/apache/cordova/Weinre.js  |  50 +-
 .../src/org/apache/flex/binding/BindingBase.js  |  50 +-
 .../src/org/apache/flex/binding/ChainBinding.js |  45 +-
 .../org/apache/flex/binding/ConstantBinding.js  |  36 +-
 .../org/apache/flex/binding/GenericBinding.js   |  54 +-
 .../org/apache/flex/binding/SimpleBinding.js|  49 +-
 .../org/apache/flex/charts/core/ChartBase.js|  31 +-
 .../org/apache/flex/charts/core/IAxisBead.js|  52 +-
 .../src/org/apache/flex/charts/core/IChart.js   |  17 +-
 .../flex/charts/core/IChartItemRenderer.js  |  91 +--
 .../org/apache/flex/charts/core/IChartSeries.js |  68 +-
 .../flex/charts/core/IHorizontalAxisBead.js |  37 +-
 .../flex/charts/core/IVerticalAxisBead.js   |  38 +-
 .../charts/supportClasses/ChartAxisGroup.js |  34 +-
 .../charts/supportClasses/ChartDataGroup.js |   6 +-
 .../src/org/apache/flex/core/Application.js |  32 +-
 .../src/org/apache/flex/core/BeadViewBase.js|  36 +-
 .../src/org/apache/flex/core/CallLaterBead.js   |  21 +-
 .../src/org/apache/flex/core/ContainerBase.js   | 136 ++--
 .../src/org/apache/flex/core/DataBindingBase.js |  49 --
 .../src/org/apache/flex/core/FilledRectangle.js |  38 +-
 .../src/org/apache/flex/core/FormatBase.js  | 121 ++--
 .../org/apache/flex/core/HTMLElementWrapper.js  | 136 +---
 .../js/FlexJS/src/org/apache/flex/core/IBead.js |  15 +-
 .../FlexJS/src/org/apache/flex/core/IChild.js   |  10 +-
 .../src/org/apache/flex/core/IContentView.js|  68 +-
 .../src/org/apache/flex/core/IFormatBead.js |  44 +-
 .../src/org/apache/flex/core/ILayoutParent.js   |  52 +-
 .../apache/flex/core/IListPresentationModel.js  |  19 +-
 .../apache/flex/core/ISelectableItemRenderer.js |  95 +--
 .../src/org/apache/flex/core/ISelectionModel.js |  57 +-
 .../src/org/apache/flex/core/ITextModel.js  |  19 +-
 .../flex/core/ItemRendererClassFactory.js   |  51 +-
 .../FlexJS/src/org/apache/flex/core/ListBase.js |  99 +--
 .../org/apache/flex/core/SimpleCSSValuesImpl.js |  27 +-
 .../org/apache/flex/core/SimpleStatesImpl.js|  98 +--
 .../FlexJS/src/org/apache/flex/core/UIBase.js   | 719 ---
 .../src/org/apache/flex/core/ValuesManager.js   |  31 +-
 .../FlexJS/src/org/apache/flex/core/ViewBase.js | 169 ++---
 .../org/apache/flex/core/ViewBaseDataBinding.js |  61 +-
 .../src/org/apache/flex/core/graphics/Circle.js |  38 +-
 .../org/apache/flex/core/graphics/Ellipse.js|  10 +-
 .../apache/flex/core/graphics/GradientBase.js   | 137 ++--
 .../apache/flex/core/graphics/GradientEntry.js  | 103 ++-
 .../apache/flex/core/graphics/GraphicShape.js   |  74 +-
 .../flex/core/graphics/GraphicsContainer.js | 104 +--
 .../src/org/apache/flex/core/graphics/Line.js   |   2 +-
 .../apache/flex/core/graphics/LinearGradient.js |  45 +-
 .../src/org/apache/flex/core/graphics/Path.js   |  35 +-
 .../src/org/apache/flex/core/graphics/Rect.js   |  10 +-
 .../org/apache/flex/core/graphics/SolidColor.js |  60 +-
 .../flex/core/graphics/SolidColorStroke.js  |  88 +--
 .../src/org/apache/flex/createjs/Application.js |   2 +-
 .../src/org/apache/flex/createjs/CheckBox.js|  66 +-
 .../src/org/apache/flex/createjs/Label.js   |  32 +-
 .../src/org/apache/flex/createjs/TextButton.js  |  31 +-
 .../src/org/apache/flex/createjs/core/UIBase.js | 147 ++--
 .../org/apache/flex/createjs/core/ViewBase.js   |  34 +-
 .../org/apache/flex/effects/PlatformWiper.js|  72 +-
 .../src/org/apache/flex/events/BrowserEvent.js  | 152 
 .../src/org/apache/flex/events/DragEvent.js |  19 +-
 .../src/org/apache

[40/47] git commit: [flex-asjs] [refs/heads/develop] - for some reason, we weren't handling 'this'

2015-04-08 Thread aharui
for some reason, we weren't handling 'this'


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

Branch: refs/heads/develop
Commit: 61fc278f86ba5009cda21833a76a87aec1e0b511
Parents: 1a5ba33
Author: Alex Harui 
Authored: Wed Apr 8 12:12:11 2015 -0700
Committer: Alex Harui 
Committed: Wed Apr 8 12:12:11 2015 -0700

--
 .../FlexJSJX/src/org/apache/flex/core/ContainerDataBinding.as   | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/61fc278f/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/ContainerDataBinding.as
--
diff --git 
a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/ContainerDataBinding.as
 
b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/ContainerDataBinding.as
index 72161a6..95fada8 100644
--- 
a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/ContainerDataBinding.as
+++ 
b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/ContainerDataBinding.as
@@ -183,7 +183,10 @@ package org.apache.flex.core
 cb.destinationPropertyName = binding.destination[1];
 cb.sourcePropertyName = binding.source;
 cb.setDocument(_strand);
-destObject = _strand[binding.destination[0]];  
  
+if (binding.destination[0] == "this")
+destObject = _strand;
+else
+destObject = _strand[binding.destination[0]];  
  
 destination = destObject as IStrand;
 if (destination)
 destination.addBead(cb);



[15/18] git commit: [flex-falcon] [refs/heads/develop] - merge defineProp work into develop branch. FLEX-34771 breaks and will be fixed in next commit

2015-04-08 Thread aharui
merge defineProp work into develop branch.  FLEX-34771 breaks and will be fixed 
in next commit


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

Branch: refs/heads/develop
Commit: 4d501de58344108b8e910e122febbdde2f4f45c9
Parents: c899a8d b974c9a
Author: Alex Harui 
Authored: Wed Apr 8 08:00:36 2015 -0700
Committer: Alex Harui 
Committed: Wed Apr 8 08:00:36 2015 -0700

--
 .../js/flexjs/TestFlexJSAccessorMembers.java|  71 +-
 .../codegen/js/flexjs/TestFlexJSAccessors.java  |   8 +-
 .../codegen/js/flexjs/TestFlexJSClass.java  |   8 +-
 .../js/flexjs/TestFlexJSExpressions.java|  50 +-
 .../codegen/js/flexjs/TestFlexJSInterface.java  |   6 +-
 .../internal/codegen/js/goog/TestGoogClass.java |  14 +-
 .../codegen/js/goog/TestGoogEmiter.java |   2 +-
 .../flexjs/files/FlexJSTest_again_result.js |  92 +-
 .../flexjs/files/MyInitialView_result.js| 411 -
 .../files/controllers/MyController_result.js|  18 +-
 .../flexjs/files/models/MyModel_result.js   |  55 +-
 .../projects/interfaces/interfaces/IE_result.js |  20 +-
 .../flexjs/projects/super/Base_result.js|  29 +-
 .../flexjs/projects/super/Super_result.js   |  25 +-
 .../test-files/goog/files/call-super_result.js  |   4 +-
 .../test-files/goog/files/output.js |   2 +-
 .../test-files/goog/files/poc_result.js |   2 +-
 .../goog/files/qualify-new-object_result.js |   2 +-
 .../compiler/internal/codegen/as/ASEmitter.java |   6 +
 .../internal/codegen/js/JSEmitterTokens.java|   1 +
 .../codegen/js/flexjs/JSFlexJSEmitter.java  | 913 ---
 .../js/flexjs/JSFlexJSEmitterTokens.java|   2 +
 .../internal/codegen/js/goog/JSGoogEmitter.java |  34 +-
 .../codegen/mxml/flexjs/MXMLFlexJSEmitter.java  |  92 +-
 .../mxml/flexjs/MXMLFlexJSPublisher.java|  56 +-
 .../compiler/internal/graph/GoogDepsWriter.java | 156 +++-
 .../apache/flex/compiler/utils/ASNodeUtils.java |   5 +-
 .../utils/JSClosureCompilerWrapper.java |  17 +-
 .../utils/VF2JSClosureCompilerWrapper.java  |   2 +-
 29 files changed, 1247 insertions(+), 856 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/4d501de5/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
--
diff --cc 
compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
index 7968c21,51a3510..d78c83f
--- 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
+++ 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
@@@ -752,107 -948,10 +949,11 @@@ public class JSFlexJSEmitter extends JS
  }
  }
  
- IDefinition parentDef = (nodeDef != null) ? nodeDef.getParent() : 
null;
- boolean isNative = (parentDef != null)
- && NativeUtils.isNative(parentDef.getBaseName());
- if ((identifierIsAccessorFunction && !isNative)
- || (nodeDef instanceof VariableDefinition && 
((VariableDefinition) nodeDef)
- .isBindable()))
- {
- IASNode anode = node
- .getAncestorOfType(BinaryOperatorAssignmentNode.class);
- 
- boolean isAssignment = false;
- if (anode != null)
- {
- IASNode leftNode = anode.getChild(0);
- if (anode == parentNode)
- {
- if (node == leftNode)
- isAssignment = true;
- }
- else
- {
- IASNode pnode = parentNode;
- IASNode thisNode = node;
- while (anode != pnode)
- {
- if (pnode instanceof IMemberAccessExpressionNode)
- {
- if (thisNode != pnode.getChild(1))
- {
- // can't be an assignment because 
- // we're on the left side of a 
memberaccessexpression
- break;
- }
- }
- if (pnode instanceof IDynamicAccessNode)
- {
- if (thisNode != pnode.getChild(1))
- {
- // can't be an assignment because 
- // we're on the left side

[09/18] git commit: [flex-falcon] [refs/heads/develop] - make sure backing vars have '_'

2015-04-08 Thread aharui
make sure backing vars have '_'


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

Branch: refs/heads/develop
Commit: 01fc34f430794b84152da117928a93dab8fd5ddf
Parents: 57161bd
Author: Alex Harui 
Authored: Sat Mar 28 07:13:08 2015 -0700
Committer: Alex Harui 
Committed: Sat Mar 28 07:13:08 2015 -0700

--
 .../codegen/mxml/flexjs/MXMLFlexJSEmitter.java  | 66 
 1 file changed, 41 insertions(+), 25 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/01fc34f4/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
--
diff --git 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
index 71667b8..ef8ccfc 100644
--- 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
+++ 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
@@ -447,7 +447,7 @@ public class MXMLFlexJSEmitter extends MXMLEmitter 
implements
 writeNewline(" */");
 write(ASEmitterTokens.THIS);
 write(ASEmitterTokens.MEMBER_ACCESS);
-write(instance.id);
+write(instance.id + "_");
 writeNewline(ASEmitterTokens.SEMICOLON);
 }
 }
@@ -835,46 +835,62 @@ public class MXMLFlexJSEmitter extends MXMLEmitter 
implements
 
 protected void emitPropertyGetterSetters(String cname)
 {
+   int n = 0;
+for (MXMLDescriptorSpecifier instance : instances)
+{
+if (!instance.id.startsWith(MXMLFlexJSEmitterTokens.ID_PREFIX
+.getToken()))
+{
+   n++;
+}
+}
+   if (n == 0)
+   return;
+   
+   String formattedCName = formatQualifiedName(cname);
+   
+   write("Object.defineProperties(");
+   write(formattedCName);
+   writeNewline(".prototype, {");
+indentPush();
+int i = 0;
 for (MXMLDescriptorSpecifier instance : instances)
 {
 if (!instance.id.startsWith(MXMLFlexJSEmitterTokens.ID_PREFIX
 .getToken()))
 {
-writeNewline("/**");
-writeNewline(" * @expose");
-writeNewline(" * @return {" + instance.name + "}");
-writeNewline(" */");
-writeNewline(formatQualifiedName(cname)
-+ ".prototype.get_" + instance.id + " = function()");
 indentPush();
-writeNewline("{");
+writeNewline("'" + instance.id + "': {");
+writeNewline("/** @this {" + formattedCName + "} */");
+indentPush();
+writeNewline("get: function() {");
 indentPop();
-writeNewline("return this." + instance.id + ";");
-writeNewline("};");
-writeNewline();
-writeNewline();
-writeNewline("/**");
-writeNewline(" * @expose");
-writeNewline(" * @param {" + instance.name + "} value");
-writeNewline(" */");
-writeNewline(formatQualifiedName(cname)
-+ ".prototype.set_" + instance.id
-+ " = function(value)");
+writeNewline("return this." + instance.id + "_;");
+writeNewline("},");
+writeNewline("/** @this {" + formattedCName + "} */");
 indentPush();
-writeNewline("{");
+writeNewline("set: function(value) {");
 indentPush();
-writeNewline("if (value != this." + instance.id + ") {");
-writeNewline("this." + instance.id + " = value;");
+writeNewline("if (value != this." + instance.id + "_) {");
+writeNewline("this." + instance.id + "_ = value;");
 
write("this.dispatchEvent(org_apache_flex_events_ValueChangeEvent.createUpdateEvent(this,
 '");
 indentPop();
 writeNewline(instance.id + "', null, value));");
 indentPop();
 writeNewline("}");
-writeNewline("};");
-writeNewline();
-writeNewline();
+indentPop();
+writeNewline("}");
+if (i < n - 1)
+   

[45/47] git commit: [flex-asjs] [refs/heads/develop] - tweak variable names to avoid conflicts

2015-04-08 Thread aharui
tweak variable names to avoid conflicts


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

Branch: refs/heads/develop
Commit: 18355a5f1848ab45684927a334cdbf0e5ad248a1
Parents: 50e5ed8
Author: Alex Harui 
Authored: Wed Apr 8 15:25:15 2015 -0700
Committer: Alex Harui 
Committed: Wed Apr 8 15:25:15 2015 -0700

--
 .../src/org/apache/flex/net/HTTPService.js   | 19 +++
 1 file changed, 15 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/18355a5f/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js 
b/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js
index 4b3344a..ff1f743 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js
@@ -66,6 +66,12 @@ org_apache_flex_net_HTTPService = function() {
* @private
* @type {Array.}
*/
+  this.mxmlBeads_ = null;
+
+  /**
+   * @private
+   * @type {Array.}
+   */
   this.beads_ = null;
 
   /**
@@ -143,10 +149,15 @@ org_apache_flex_net_HTTPService.HTTP_METHOD_DELETE = 
'DELETE';
 
 Object.defineProperties(org_apache_flex_net_HTTPService.prototype, {
 /** @expose */
+strand: {
+/** @this {org_apache_flex_net_HTTPService} */
+set: function(value) {}
+},
+/** @expose */
 beads: {
 /** @this {org_apache_flex_net_HTTPService} */
 set: function(value) {
-this.beads_ = value;
+this.mxmlBeads_ = value;
 }
 },
 /** @expose */
@@ -299,10 +310,10 @@ 
Object.defineProperties(org_apache_flex_net_HTTPService.prototype, {
 org_apache_flex_net_HTTPService.prototype.send = function() {
   var contentData, header, i, n, sawContentType, url;
 
-  if (this.strand == null && this.beads_) {
-var m = this.beads_.length;
+  if (this.beads_ == null && this.mxmlBeads_) {
+var m = this.mxmlBeads_.length;
 for (var j = 0; j < m; j++) {
-  this.addBead(this.beads_[j]);
+  this.addBead(this.mxmlBeads_[j]);
 }
   }
 



[10/47] git commit: [flex-asjs] [refs/heads/develop] - lint

2015-04-08 Thread aharui
lint


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

Branch: refs/heads/develop
Commit: 7ab51ec45069b6e12bc6aa8cd6032b9ab856f2f4
Parents: 5344e8b
Author: Alex Harui 
Authored: Thu Mar 12 23:09:20 2015 -0700
Committer: Alex Harui 
Committed: Thu Mar 12 23:09:20 2015 -0700

--
 .../src/org/apache/flex/binding/BindingBase.js  |   1 -
 .../src/org/apache/flex/binding/ChainBinding.js |   4 +-
 .../org/apache/flex/binding/ConstantBinding.js  |  28 ++---
 .../org/apache/flex/binding/SimpleBinding.js|   4 +-
 .../org/apache/flex/charts/core/ChartBase.js|   4 +-
 .../org/apache/flex/charts/core/IAxisBead.js|  15 +--
 .../src/org/apache/flex/charts/core/IChart.js   |   6 +-
 .../flex/charts/core/IChartItemRenderer.js  |  32 +++---
 .../org/apache/flex/charts/core/IChartSeries.js |  17 +--
 .../flex/charts/core/IHorizontalAxisBead.js |  12 +--
 .../flex/charts/core/IVerticalAxisBead.js   |  12 +--
 .../src/org/apache/flex/core/ContainerBase.js   |  20 ++--
 .../src/org/apache/flex/core/FilledRectangle.js |   5 +-
 .../src/org/apache/flex/core/FormatBase.js  |  20 ++--
 .../org/apache/flex/core/HTMLElementWrapper.js  |  16 +--
 .../FlexJS/src/org/apache/flex/core/IChild.js   |   4 +-
 .../src/org/apache/flex/core/IContentView.js|  17 +--
 .../src/org/apache/flex/core/IFormatBead.js |  12 +--
 .../src/org/apache/flex/core/ILayoutParent.js   |  16 +--
 .../apache/flex/core/IListPresentationModel.js  |   5 +-
 .../apache/flex/core/ISelectableItemRenderer.js |  21 ++--
 .../src/org/apache/flex/core/ISelectionModel.js |  15 +--
 .../src/org/apache/flex/core/ITextModel.js  |   4 +-
 .../flex/core/ItemRendererClassFactory.js   |   6 +-
 .../FlexJS/src/org/apache/flex/core/UIBase.js   |  94 -
 .../src/org/apache/flex/core/ValuesManager.js   |   6 +-
 .../FlexJS/src/org/apache/flex/core/ViewBase.js |  28 ++---
 .../src/org/apache/flex/core/graphics/Circle.js |   8 +-
 .../apache/flex/core/graphics/GradientBase.js   |  26 ++---
 .../apache/flex/core/graphics/GradientEntry.js  |  13 +--
 .../apache/flex/core/graphics/GraphicShape.js   |   2 +-
 .../flex/core/graphics/GraphicsContainer.js |  38 ---
 .../apache/flex/core/graphics/LinearGradient.js |   7 +-
 .../src/org/apache/flex/core/graphics/Path.js   |   6 +-
 .../org/apache/flex/core/graphics/SolidColor.js |  14 +--
 .../flex/core/graphics/SolidColorStroke.js  |  18 ++--
 .../src/org/apache/flex/createjs/Label.js   |   6 +-
 .../src/org/apache/flex/createjs/core/UIBase.js |  35 ---
 .../js/FlexJS/src/org/apache/flex/html/Alert.js |  22 ++--
 .../FlexJS/src/org/apache/flex/html/CheckBox.js |  16 +--
 .../FlexJS/src/org/apache/flex/html/ComboBox.js |   8 +-
 .../org/apache/flex/html/ImageAndTextButton.js  |  16 +--
 .../js/FlexJS/src/org/apache/flex/html/Label.js |  16 +--
 .../src/org/apache/flex/html/MultilineLabel.js  |  16 +--
 .../js/FlexJS/src/org/apache/flex/html/Panel.js |  22 ++--
 .../src/org/apache/flex/html/RadioButton.js |  46 
 .../FlexJS/src/org/apache/flex/html/Spinner.js  |  28 ++---
 .../FlexJS/src/org/apache/flex/html/TextArea.js |   8 +-
 .../src/org/apache/flex/html/TextButton.js  |   8 +-
 .../src/org/apache/flex/html/TextInput.js   |   8 +-
 .../org/apache/flex/html/ToggleTextButton.js|  16 +--
 .../accessories/NumericOnlyTextInputBead.js |   6 +-
 .../flex/html/accessories/PasswordInputBead.js  |   6 +-
 .../DataItemRendererFactoryForArrayData.js  |  14 +--
 .../src/org/apache/flex/html/beads/ListView.js  |  24 ++---
 .../TextItemRendererFactoryForArrayData.js  |   6 +-
 .../controllers/ItemRendererMouseController.js  |   6 +-
 .../ListSingleSelectionMouseController.js   |   6 +-
 .../beads/controllers/SliderMouseController.js  |   6 +-
 .../beads/controllers/SpinnerMouseController.js |   6 +-
 .../html/beads/layouts/NonVirtualBasicLayout.js |   6 +-
 .../layouts/NonVirtualBasicScrollingLayout.js   |   6 +-
 .../beads/layouts/NonVirtualVerticalLayout.js   |   6 +-
 .../NonVirtualVerticalScrollingLayout.js|   6 +-
 .../ButtonBarButtonItemRenderer.js  |  14 +--
 .../html/supportClasses/DataItemRenderer.js |  34 +++---
 .../html/supportClasses/NonVirtualDataGroup.js  |  12 +--
 .../html/supportClasses/StringItemRenderer.js   |  38 +++
 .../src/org/apache/flex/html5/CheckBox.js   |  20 ++--
 .../src/org/apache/flex/html5/ComboBox.js   |  12 +--
 .../FlexJS/src/org/apache/flex/html5/Label.js   |  10 +-
 .../src/org/apache/flex/html5/TextArea.js   |   8 +-
 .../src/org/apache/flex/html5/TextInput.js  |   8 +-
 .../src/org/apache/flex/jquery/CheckBox.js  |  22 ++--
 .../src/org/apache/flex/jquery/RadioBut

[08/18] git commit: [flex-falcon] [refs/heads/develop] - need formatting of interface names

2015-04-08 Thread aharui
need formatting of interface names


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

Branch: refs/heads/develop
Commit: 57161bd83fd9eb1d7a12fff4dc04ffda04372805
Parents: 8e68d5d
Author: Alex Harui 
Authored: Sat Mar 28 07:12:39 2015 -0700
Committer: Alex Harui 
Committed: Sat Mar 28 07:12:39 2015 -0700

--
 .../flex/compiler/internal/codegen/js/goog/JSGoogEmitter.java| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/57161bd8/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitter.java
--
diff --git 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitter.java
 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitter.java
index 6b495b1..58cc59f 100644
--- 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitter.java
+++ 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitter.java
@@ -262,7 +262,7 @@ public class JSGoogEmitter extends JSEmitter implements 
IJSGoogEmitter
 String qname = node.getQualifiedName();
 if (qname != null && !qname.equals(""))
 {
-write(qname);
+write(formatQualifiedName(qname));
 write(ASEmitterTokens.SPACE);
 writeToken(ASEmitterTokens.EQUAL);
 write(ASEmitterTokens.FUNCTION);
@@ -285,7 +285,7 @@ public class JSGoogEmitter extends JSEmitter implements 
IJSGoogEmitter
 {
 writeNewline();
 
-write(qname);
+write(formatQualifiedName(qname));
 write(ASEmitterTokens.MEMBER_ACCESS);
 write(JSEmitterTokens.PROTOTYPE);
 write(ASEmitterTokens.MEMBER_ACCESS);



[17/47] git commit: [flex-asjs] [refs/heads/develop] - fix requires

2015-04-08 Thread aharui
fix requires


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

Branch: refs/heads/develop
Commit: 68c487549b1ed16d3c0ca5a1a448759943eba775
Parents: 276eb5e
Author: Alex Harui 
Authored: Wed Mar 25 09:54:15 2015 -0700
Committer: Alex Harui 
Committed: Wed Mar 25 09:54:15 2015 -0700

--
 .../src/org/apache/flex/utils/ViewSourceContextMenuOption.js   | 2 ++
 1 file changed, 2 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/68c48754/frameworks/js/FlexJS/src/org/apache/flex/utils/ViewSourceContextMenuOption.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/utils/ViewSourceContextMenuOption.js 
b/frameworks/js/FlexJS/src/org/apache/flex/utils/ViewSourceContextMenuOption.js
index efe2e3b..2cb3ffb 100644
--- 
a/frameworks/js/FlexJS/src/org/apache/flex/utils/ViewSourceContextMenuOption.js
+++ 
b/frameworks/js/FlexJS/src/org/apache/flex/utils/ViewSourceContextMenuOption.js
@@ -14,6 +14,8 @@
 
 goog.provide('org_apache_flex_utils_ViewSourceContextMenuOption');
 
+goog.require('org_apache_flex_events_EventDispatcher');
+
 
 
 /**



Jenkins build is still unstable: flex-blazeds #314

2015-04-08 Thread flex . ci . builds
See 



flex-sdk_mustella-mobile - Build # 1236 - Still Failing!

2015-04-08 Thread flex . mustella
flex-sdk_mustella-mobile - Build # 1236 - Still Failing:

http://flex-mustella.cloudapp.net/job/flex-sdk_mustella-mobile/1236/

Changes for Build #1234
No changes

Changes for Build #1235
No changes

Changes for Build #1236
No changes




[...truncated 13223 lines...]
 [java]  cmdArr before: 
 [java] C:\ApacheFlex\dependencies\AdobeAIRSDK\3.7\bin\adl.exe
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMain.xml
 [java]  moreParameters before: 
 [java] -screensize
 [java] 640x960:640x960
 [java] -profile
 [java] mobileDevice
 [java] -XscreenDPI
 [java] 240
 [java]  cmdArr after: 
 [java] C:\ApacheFlex\dependencies\AdobeAIRSDK\3.7\bin\adl.exe
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMain.xml
 [java] -screensize
 [java] 640x960:640x960
 [java] -profile
 [java] mobileDevice
 [java] -XscreenDPI
 [java] 240
 [java] getting directory from the swf file
 [java] derived directory: 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs
 [java] Launching: 
 [java]  C:\ApacheFlex\dependencies\AdobeAIRSDK\3.7\bin\adl.exe 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMain.xml
 -screensize 640x960:640x960 -profile mobileDevice -XscreenDPI 240 Launching: 
C:\ApacheFlex\dependencies\AdobeAIRSDK\3.7\bin\adl.exe 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMain.xml
 [java] USING directory: 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs
 [java] time: 20:18:53.723
 [java] waited 1700
 [java] ClobberProcess, it was already null
 [java] SCRIPTDONE! 20:19:06.305
 [java] GET /ScriptComplete?0 HTTP/1.1
 [java] Before Wait loop 20:19:06.305 waiting = 0
 [java] After Wait loop 20:19:06.305 waiting = 0
 [java] clobberProcess false
 [java] Total Results so far: 5
 [java] removing the xml app file
 [java] Grab log, do parse = false
 [java] Grabbing the log from: 
C:\Users\ApacheFlex\AppData/Roaming\Macromedia/Flash Player/Logs/flashlog.txt 
to: 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMain.log
 [java] apollo adj with : 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMainTabbed.swf
 [java] apollo adj thinks it's a swf
 [java] writing Apollo file!
 [java] full swf is 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMainTabbed.swf
 [java] waited 3600
 [java] ClobberProcess, it was already null
 [java] post ApolloAdjuster: 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMainTabbed.xml
 [java] new test file: 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMainTabbed.xml
 [java]  cmdArr before: 
 [java] C:\ApacheFlex\dependencies\AdobeAIRSDK\3.7\bin\adl.exe
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMainTabbed.xml
 [java]  moreParameters before: 
 [java] -screensize
 [java] 640x960:640x960
 [java] -profile
 [java] mobileDevice
 [java] -XscreenDPI
 [java] 240
 [java]  cmdArr after: 
 [java] C:\ApacheFlex\dependencies\AdobeAIRSDK\3.7\bin\adl.exe
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMainTabbed.xml
 [java] -screensize
 [java] 640x960:640x960
 [java] -profile
 [java] mobileDevice
 [java] -XscreenDPI
 [java] 240
 [java] getting directory from the swf file
 [java] derived directory: 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs
 [java] Launching: 
 [java]  C:\ApacheFlex\dependencies\AdobeAIRSDK\3.7\bin\adl.exe 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAndViewNavigatorMainTabbed.xml
 -screensize 640x960:640x960 -profile mobileDevice -XscreenDPI 240 Launching: 
C:\ApacheFlex\dependencies\AdobeAIRSDK\3.7\bin\adl.exe 
C:\jenkins_slave\workspace\flex-sdk_mustella-mobile\mustella\tests\mobile\ViewAndViewNavigator\swfs\ViewAn

Jenkins build is back to normal : flex-asjs #519

2015-04-08 Thread flex . ci . builds
See 



[02/18] git commit: [flex-falcon] [refs/heads/develop] - need to handle parens on things other than binary operators

2015-04-08 Thread aharui
need to handle parens on things other than binary operators


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

Branch: refs/heads/develop
Commit: 1562c8c48cb64ac99ed1731c06730a9d6d902dc4
Parents: 4faba4a
Author: Alex Harui 
Authored: Tue Mar 24 22:43:13 2015 -0700
Committer: Alex Harui 
Committed: Tue Mar 24 22:43:13 2015 -0700

--
 compiler.jx/src/org/apache/flex/compiler/utils/ASNodeUtils.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/1562c8c4/compiler.jx/src/org/apache/flex/compiler/utils/ASNodeUtils.java
--
diff --git a/compiler.jx/src/org/apache/flex/compiler/utils/ASNodeUtils.java 
b/compiler.jx/src/org/apache/flex/compiler/utils/ASNodeUtils.java
index d847f4a..eb46626 100644
--- a/compiler.jx/src/org/apache/flex/compiler/utils/ASNodeUtils.java
+++ b/compiler.jx/src/org/apache/flex/compiler/utils/ASNodeUtils.java
@@ -27,6 +27,7 @@ import org.apache.flex.compiler.tree.as.IBinaryOperatorNode;
 import org.apache.flex.compiler.tree.as.IBlockNode;
 import org.apache.flex.compiler.tree.as.IConditionalNode;
 import org.apache.flex.compiler.tree.as.IExpressionNode;
+import org.apache.flex.compiler.tree.as.IOperatorNode;
 import org.apache.flex.compiler.tree.as.ISwitchNode;
 import org.apache.flex.compiler.tree.as.ITerminalNode;
 
@@ -72,14 +73,14 @@ public class ASNodeUtils
 return null;
 }
 
-public static boolean hasParenOpen(IBinaryOperatorNode node)
+public static boolean hasParenOpen(IOperatorNode node)
 {
 return node.hasParenthesis();
 //return node.getParent() instanceof IBinaryOperatorNode
 //&& !ASNodeUtils.isString(node.getRightOperandNode());
 }
 
-public static boolean hasParenClose(IBinaryOperatorNode node)
+public static boolean hasParenClose(IOperatorNode node)
 {
 return node.hasParenthesis();
 //return node.getParent() instanceof IBinaryOperatorNode



[30/47] git commit: [flex-asjs] [refs/heads/develop] - setting model will add the bead. Really should pull model from CSS

2015-04-08 Thread aharui
setting model will add the bead.  Really should pull model from CSS


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

Branch: refs/heads/develop
Commit: 827c28108257701da233d40a9e760b92bb28f5e3
Parents: e44cc21
Author: Alex Harui 
Authored: Fri Apr 3 16:06:49 2015 -0700
Committer: Alex Harui 
Committed: Fri Apr 3 16:06:49 2015 -0700

--
 frameworks/js/FlexJS/src/org/apache/flex/html/Image.js | 2 --
 1 file changed, 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/827c2810/frameworks/js/FlexJS/src/org/apache/flex/html/Image.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/Image.js 
b/frameworks/js/FlexJS/src/org/apache/flex/html/Image.js
index 234967e..bccade8 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/Image.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/Image.js
@@ -57,8 +57,6 @@ org_apache_flex_html_Image.prototype.createElement =
   this.model = new
   org_apache_flex_html_beads_models_ImageModel();
 
-  this.addBead(this.model);
-
   this.addBead(new
   org_apache_flex_html_beads_ImageView());
 



[22/47] git commit: [flex-asjs] [refs/heads/develop] - remove hasProp/getProp/setProp

2015-04-08 Thread aharui
remove hasProp/getProp/setProp


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

Branch: refs/heads/develop
Commit: d9ebd92209a50b362c7937accf23fe1c039a6b9b
Parents: 6940d95
Author: Alex Harui 
Authored: Fri Apr 3 09:36:53 2015 -0700
Committer: Alex Harui 
Committed: Fri Apr 3 09:36:53 2015 -0700

--
 .../FlexJSStore/src/ProductJSONItemConverter.as |  2 +-
 .../apache/flex/core/ApplicationDataBinding.as  |  8 ++--
 .../apache/flex/core/ContainerDataBinding.as| 14 +++
 .../flex/core/MXMLBeadViewBaseDataBinding.as|  8 ++--
 .../flex/core/StatesWithTransitionsImpl.as  | 20 +-
 .../src/org/apache/flex/effects/Fade.as |  2 +-
 .../src/org/apache/flex/effects/Move.as |  6 +--
 .../src/org/apache/flex/effects/Resize.as   |  2 +-
 .../src/org/apache/flex/effects/Wipe.as |  2 +-
 .../src/org/apache/flex/core/DataBindingBase.as | 41 
 .../org/apache/flex/events/EventDispatcher.as   | 30 --
 11 files changed, 32 insertions(+), 103 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d9ebd922/examples/FlexJSStore/src/ProductJSONItemConverter.as
--
diff --git a/examples/FlexJSStore/src/ProductJSONItemConverter.as 
b/examples/FlexJSStore/src/ProductJSONItemConverter.as
index 6114b57..4d44ecf 100755
--- a/examples/FlexJSStore/src/ProductJSONItemConverter.as
+++ b/examples/FlexJSStore/src/ProductJSONItemConverter.as
@@ -34,7 +34,7 @@ package
 var obj:Object = super.convertItem(data);
 var product:Product = new Product();
 for (var p:String in obj)
-setProperty(product, p, obj[p]);
+product[p] = obj[p];
return product;
 }
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d9ebd922/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/ApplicationDataBinding.as
--
diff --git 
a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/ApplicationDataBinding.as
 
b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/ApplicationDataBinding.as
index 27aef17..beeffd2 100644
--- 
a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/ApplicationDataBinding.as
+++ 
b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/ApplicationDataBinding.as
@@ -97,7 +97,7 @@ package org.apache.flex.core
 binding = bindings[i];
 if (binding.source is Array)
 {
-if (hasProperty(_strand, binding.source[0]))
+if (binding.source[0] in _strand)
 {
 if (binding.source.length == 2 && 
binding.destination.length == 2)
 {
@@ -115,7 +115,7 @@ package org.apache.flex.core
 sb.sourceID = binding.source[0];
 sb.sourcePropertyName = binding.source[1];
 sb.setDocument(_strand);
-destObject = getProperty(_strand, 
binding.destination[0]);
+destObject = _strand[binding.destination[0]];  
  
 destination = destObject as IStrand;
 if (destination)
 destination.addBead(sb);
@@ -140,7 +140,7 @@ package org.apache.flex.core
 cb.sourceID = binding.source[0];
 cb.sourcePropertyName = binding.source[1];
 cb.setDocument(_strand);
-destObject = getProperty(_strand, 
binding.destination[0]);
+destObject = _strand[binding.destination[0]];  
  
 destination = destObject as IStrand;
 if (destination)
 destination.addBead(cb);
@@ -171,7 +171,7 @@ package org.apache.flex.core
 sb.eventName = fieldWatcher.eventNames as String;
 sb.sourcePropertyName = binding.source;
 sb.setDocument(_strand);
-destObject = getProperty(_strand, 
binding.destination[0]);
+destObject = _strand[binding.destination[0]];  
  

Build failed in Jenkins: flex-utilities_installer #461

2015-04-08 Thread flex . ci . builds
See 


Changes:

[christofer.dutz] - Added the command to print the help screen.

--
Started by an SCM change
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 897e070999743f99e7401b786d16260f6f6a19d5 (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 
 > 897e070999743f99e7401b786d16260f6f6a19d5
 > C:\Program Files (x86)\Git\cmd\git.exe rev-list 
 > 6ff02b5568663b30b9bfc3d54d9a3d6491439620 # 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] Warning: The swc 
'C:\Jenkins\workspace\flex-sdk\frameworks\libs\framework.swc' has style 
defaults and is in the library-path, which means dependencies will be linked in 
without the styles.  This can cause applications, which use the output swc, to 
have missing skins.  The swc should be put in the external-library-path.
[compc] 
[compc] Warning: The swc 
'C:\Jenkins\workspace\flex-sdk\frameworks\libs\spark.swc' has style defaults 
and is in the library-path, which means dependencies will be linked in without 
the styles.  This can cause applications, which use the output swc, to have 
missing skins.  The swc should be put in the external-library-path.
[compc] 
[compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[compc] 
C:\Jenkins\workspace\flex-utilities_installer\ant_on_air\bin\ant_on_air.swc 
(500252 bytes)

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

main:

BUILD SUCCESSFUL
Total time: 52 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[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 build && exit %%ERRORLEVEL%%"'
Buildfile: 


clean:
   [delete] Deleting directory 

   [delete] Deleting 

[43/47] git commit: [flex-asjs] [refs/heads/develop] - don't require models to implement IBead

2015-04-08 Thread aharui
don't require models to implement IBead


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

Branch: refs/heads/develop
Commit: bf7bac390fe4857a4894a1602e78b4cbd899e551
Parents: fb59aab
Author: Alex Harui 
Authored: Wed Apr 8 15:23:54 2015 -0700
Committer: Alex Harui 
Committed: Wed Apr 8 15:23:54 2015 -0700

--
 .../as/projects/FlexJSUI/src/org/apache/flex/core/Application.as | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bf7bac39/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/Application.as
--
diff --git 
a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/Application.as 
b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/Application.as
index 0bc16b7..0861645 100644
--- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/Application.as
+++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/Application.as
@@ -125,8 +125,8 @@ package org.apache.flex.core
 
 private function initHandler(event:flash.events.Event):void
 {
-   if (model) addBead(model as IBead);
-   if (controller) addBead(controller as IBead);
+   if (model is IBead) addBead(model as IBead);
+   if (controller is IBead) addBead(controller as IBead);

 MouseEventConverter.setupAllConverters(stage);
 



[27/47] git commit: [flex-asjs] [refs/heads/develop] - can't use hasOwnProperty as much with defineProp'd properties. Use try/catch for now. Maybe switch to interface test later

2015-04-08 Thread aharui
can't use hasOwnProperty as much with defineProp'd properties.  Use try/catch 
for now.  Maybe switch to interface test later


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

Branch: refs/heads/develop
Commit: 099334fb26f0e48ce0bd2ff264c6a235f0f71ee8
Parents: cac36ed
Author: Alex Harui 
Authored: Fri Apr 3 16:03:35 2015 -0700
Committer: Alex Harui 
Committed: Fri Apr 3 16:03:35 2015 -0700

--
 .../src/org/apache/flex/core/SimpleCSSValuesImpl.js   | 14 --
 1 file changed, 4 insertions(+), 10 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/099334fb/frameworks/js/FlexJS/src/org/apache/flex/core/SimpleCSSValuesImpl.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/core/SimpleCSSValuesImpl.js 
b/frameworks/js/FlexJS/src/org/apache/flex/core/SimpleCSSValuesImpl.js
index 23c068d..97f020e 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/SimpleCSSValuesImpl.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/SimpleCSSValuesImpl.js
@@ -74,21 +74,15 @@ org_apache_flex_core_SimpleCSSValuesImpl.prototype.getValue 
=
   var cName;
   var selectorName;
 
-  if (typeof(thisObject.hasOwnProperty('style')) === 'function')
-  {
+  try {
 var style = thisObject.style;
-if (style != null)
-{
-  try {
- value = style[valueName];
-  }
-  catch (e) {
-value = undefined;
-  }
+if (style != null) {
+  value = style[valueName];
   if (value !== undefined)
 return value;
 }
   }
+  catch(e) {};
 
   if ('className' in thisObject)
   {



[46/47] git commit: [flex-asjs] [refs/heads/develop] - defineProps won't let you just override the setter, you must override both if they exist

2015-04-08 Thread aharui
defineProps won't let you just override the setter, you must override both if 
they exist


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

Branch: refs/heads/develop
Commit: 6008098e895db40fc9084c3f1830bafdf1acda31
Parents: 18355a5
Author: Alex Harui 
Authored: Wed Apr 8 15:26:07 2015 -0700
Committer: Alex Harui 
Committed: Wed Apr 8 15:26:07 2015 -0700

--
 .../FlexJS/src/org/apache/flex/html/DropDownList.js | 16 +++-
 1 file changed, 15 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6008098e/frameworks/js/FlexJS/src/org/apache/flex/html/DropDownList.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/DropDownList.js 
b/frameworks/js/FlexJS/src/org/apache/flex/html/DropDownList.js
index a8b5ccb..d1f8d11 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/DropDownList.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/DropDownList.js
@@ -83,6 +83,13 @@ 
Object.defineProperties(org_apache_flex_html_DropDownList.prototype, {
 },
 /** @expose */
 selectedIndex: {
+// TODO: (aharui) copied from ListBase because you
+// can't just override the setter in a defineProps
+// structure.
+/** @this {org_apache_flex_html_DropDownList} */
+get: function() {
+return this.model.selectedIndex;
+},
 /** @this {org_apache_flex_html_DropDownList} */
 set: function(value) {
 this.model.selectedIndex = value;
@@ -91,8 +98,15 @@ 
Object.defineProperties(org_apache_flex_html_DropDownList.prototype, {
 },
 /** @expose */
 selectedItem: {
+// TODO: (aharui) copied from ListBase because you
+// can't just override the setter in a defineProps
+// structure.
+/** @this {org_apache_flex_html_DropDownList} */
+get: function() {
+return this.model.selectedItem;
+},
 /** @this {org_apache_flex_html_DropDownList} */
-get: function(value) {
+set: function(value) {
 this.model.selectedItem = value;
 this.element.selectedIndex = this.selectedIndex;
 }



[02/47] git commit: [flex-asjs] [refs/heads/develop] - replace set_xxx(value) with xxx = value

2015-04-08 Thread aharui
replace set_xxx(value) with xxx = value


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

Branch: refs/heads/develop
Commit: 9c7b2ef33c1d930975617b6ba87fb1bbc7953fd1
Parents: 4aed23b
Author: Alex Harui 
Authored: Thu Jan 29 14:47:44 2015 -0800
Committer: Alex Harui 
Committed: Thu Jan 29 14:47:44 2015 -0800

--
 .../charts/supportClasses/ChartAxisGroup.js | 34 ++--
 .../charts/supportClasses/ChartDataGroup.js |  2 +-
 .../src/org/apache/flex/core/FilledRectangle.js |  8 ++---
 .../org/apache/flex/core/HTMLElementWrapper.js  |  2 +-
 .../js/FlexJS/src/org/apache/flex/core/IBead.js |  2 +-
 .../FlexJS/src/org/apache/flex/core/ListBase.js |  6 ++--
 .../FlexJS/src/org/apache/flex/core/UIBase.js   |  6 ++--
 .../src/org/apache/flex/createjs/CheckBox.js|  2 +-
 .../js/FlexJS/src/org/apache/flex/html/Alert.js | 18 +--
 .../src/org/apache/flex/html/ButtonBar.js   |  6 ++--
 .../src/org/apache/flex/html/CloseButton.js |  4 +--
 .../FlexJS/src/org/apache/flex/html/ComboBox.js |  2 +-
 .../src/org/apache/flex/html/DropDownList.js|  8 ++---
 .../js/FlexJS/src/org/apache/flex/html/Image.js |  2 +-
 .../js/FlexJS/src/org/apache/flex/html/List.js  | 12 +++
 .../src/org/apache/flex/html/NumericStepper.js  | 20 ++--
 .../js/FlexJS/src/org/apache/flex/html/Panel.js |  4 +--
 .../src/org/apache/flex/html/SimpleList.js  |  8 ++---
 .../FlexJS/src/org/apache/flex/html/Slider.js   | 12 +++
 .../FlexJS/src/org/apache/flex/html/Spinner.js  |  4 +--
 .../FlexJS/src/org/apache/flex/html/TitleBar.js |  6 ++--
 .../org/apache/flex/html/ToggleTextButton.js|  4 +--
 .../DataItemRendererFactoryForArrayData.js  |  8 ++---
 .../src/org/apache/flex/html/beads/ListView.js  | 12 +++
 .../src/org/apache/flex/html/beads/PanelView.js |  6 ++--
 .../TextItemRendererFactoryForArrayData.js  |  2 +-
 .../controllers/ItemRendererMouseController.js  |  4 +--
 .../ListSingleSelectionMouseController.js   |  2 +-
 .../beads/controllers/SliderMouseController.js  |  4 +--
 .../beads/controllers/SpinnerMouseController.js |  4 +--
 .../flex/html/beads/layouts/ButtonBarLayout.js  | 10 +++---
 .../flex/html/beads/layouts/TileLayout.js   |  8 ++---
 .../ButtonBarButtonItemRenderer.js  |  4 +--
 .../html/supportClasses/DataItemRenderer.js |  4 +--
 .../html/supportClasses/NonVirtualDataGroup.js  |  6 ++--
 .../html/supportClasses/StringItemRenderer.js   |  4 +--
 .../src/org/apache/flex/html5/ComboBox.js   |  2 +-
 .../org/apache/flex/jquery/ToggleTextButton.js  |  4 +--
 .../src/org/apache/flex/maps/google/Map.js  |  4 +--
 .../FlexJS/src/org/apache/flex/utils/UIUtils.js |  4 +--
 40 files changed, 132 insertions(+), 132 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9c7b2ef3/frameworks/js/FlexJS/src/org/apache/flex/charts/supportClasses/ChartAxisGroup.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/charts/supportClasses/ChartAxisGroup.js
 
b/frameworks/js/FlexJS/src/org/apache/flex/charts/supportClasses/ChartAxisGroup.js
index bf760e0..e12cb13 100644
--- 
a/frameworks/js/FlexJS/src/org/apache/flex/charts/supportClasses/ChartAxisGroup.js
+++ 
b/frameworks/js/FlexJS/src/org/apache/flex/charts/supportClasses/ChartAxisGroup.js
@@ -53,7 +53,7 @@ org_apache_flex_charts_supportClasses_ChartAxisGroup.
 prototype.createElement = function() {
   this.element = document.createElement('div');
   this.element.flexjs_wrapper = this;
-  this.set_className('ChartAxisGroup');
+  this.className = 'ChartAxisGroup';
 
   this.positioner = this.element;
 
@@ -74,9 +74,9 @@ 
org_apache_flex_charts_supportClasses_ChartAxisGroup.prototype.drawHorizontalTic
 function(text, xpos, ypos, boxWidth, boxHeight, tickFill) {
   var label = new org_apache_flex_html_Label();
   this.addElement(label);
-  label.set_text(text);
-  label.set_x(xpos - label.width / 2);
-  label.set_y(ypos);
+  label.text = text;
+  label.x = xpos - label.width / 2;
+  label.y = ypos;
 };
 
 
@@ -93,9 +93,9 @@ 
org_apache_flex_charts_supportClasses_ChartAxisGroup.prototype.drawVerticalTickL
 function(text, xpos, ypos, boxWidth, boxHeight, tickFill) {
   var label = new org_apache_flex_html_Label();
   this.addElement(label);
-  label.set_text(text);
-  label.set_x(xpos);
-  label.set_y(ypos - label.height / 2);
+  label.text = text;
+  label.x = xpos;
+  label.y = ypos - label.height / 2;
 };
 
 
@@ -111,12 +111,12 @@ function(text, xpos, ypos, boxWidth, boxHeight, tickFill) 
{
 org_apache_flex_charts_supportClasses_ChartAxisGroup.proto

[10/18] git commit: [flex-falcon] [refs/heads/develop] - new GCC will figure out deps for you

2015-04-08 Thread aharui
new GCC will figure out deps for you


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

Branch: refs/heads/develop
Commit: 7328a52e600a438ff7c23ed30efcd26688391b67
Parents: 01fc34f
Author: Alex Harui 
Authored: Sat Mar 28 07:13:50 2015 -0700
Committer: Alex Harui 
Committed: Sat Mar 28 07:13:50 2015 -0700

--
 .../mxml/flexjs/MXMLFlexJSPublisher.java| 25 ++--
 .../compiler/internal/graph/GoogDepsWriter.java | 15 
 2 files changed, 24 insertions(+), 16 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/7328a52e/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
--
diff --git 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
index 6e1c7eb..1d1b542 100644
--- 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
+++ 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
@@ -92,6 +92,7 @@ public class MXMLFlexJSPublisher extends JSGoogPublisher 
implements
 private boolean isMarmotinniRun;
 private String outputPathParameter;
 private boolean useStrictPublishing;
+private String closureLibDirPath;
 
 @Override
 public File getOutputFolder()
@@ -166,7 +167,6 @@ public class MXMLFlexJSPublisher extends JSGoogPublisher 
implements
 // If the closure-lib parameter is empty we'll try to find the 
resources
 // in the classpath, dump its content to the output directory and use 
this
 // as closure-lib parameter.
-final String closureLibDirPath;
 if(((JSGoogConfiguration) configuration).isClosureLibSet()) {
 closureLibDirPath = ((JSGoogConfiguration) 
configuration).getClosureLib();
 } else {
@@ -245,8 +245,8 @@ public class MXMLFlexJSPublisher extends JSGoogPublisher 
implements
 + "/closure/goog/";
 final String closureGoogTgtLibDirPath = intermediateDirPath
 + "/library/closure/goog";
-final String depsSrcFilePath = intermediateDirPath
-+ "/library/closure/goog/deps.js";
+//final String depsSrcFilePath = intermediateDirPath
+//+ "/library/closure/goog/deps.js";
 final String depsTgtFilePath = intermediateDirPath + "/deps.js";
 final String projectIntermediateJSFilePath = intermediateDirPath
 + File.separator + outputFileName;
@@ -256,17 +256,18 @@ public class MXMLFlexJSPublisher extends JSGoogPublisher 
implements
 appendExportSymbol(projectIntermediateJSFilePath, projectName);
 appendEncodedCSS(projectIntermediateJSFilePath, projectName);
 
-if (!subsetGoog)
-{
+//if (!subsetGoog)
+//{
 // (erikdebruin) We need to leave the 'goog' files and 
dependencies well
 //   enough alone. We copy the entire library over so 
the 
 //   'goog' dependencies will resolve without our help.
 FileUtils.copyDirectory(new File(closureGoogSrcLibDirPath), new 
File(closureGoogTgtLibDirPath));
-}
+//}
 
 JSClosureCompilerWrapper compilerWrapper = new 
JSClosureCompilerWrapper();
 
 GoogDepsWriter gdw = new GoogDepsWriter(intermediateDir, projectName, 
(JSGoogConfiguration) configuration);
+StringBuilder depsFileData = new StringBuilder();
 try
 {
ArrayList fileList = gdw.getListOfFiles();
@@ -274,9 +275,8 @@ public class MXMLFlexJSPublisher extends JSGoogPublisher 
implements
{
 compilerWrapper.addJSSourceFile(file); 
}
-   /*
-StringBuilder depsFileData = new StringBuilder();
 ok = gdw.generateDeps(problems, depsFileData);
+   /*
 if (!subsetGoog)
 {
 writeFile(depsTgtFilePath, depsFileData.toString(), false); 
@@ -384,10 +384,10 @@ public class MXMLFlexJSPublisher extends JSGoogPublisher 
implements
 FileUtils.copyDirectory(srcDir, intermediateDir, subdirs);
 FileUtils.copyDirectory(srcDir, releaseDir, subdirs);
 
-File srcDeps = new File(depsSrcFilePath);
+//File srcDeps = new File(depsSrcFilePath);
 
-writeHTML("intermediate", projectName, intermediateDirPath, 
gdw.additionalHTML);
-writeHTML(

[07/18] git commit: [flex-falcon] [refs/heads/develop] - use more recent GCC dependency options. We no longer need to compute deps.js, but we get more goog.require warnings which we now suppress when

2015-04-08 Thread aharui
use more recent GCC dependency options.  We no longer need to compute deps.js, 
but we get more goog.require warnings which we now suppress when we remove 
circular goog.requires


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

Branch: refs/heads/develop
Commit: 8e68d5dec4e8b0ca4bec371d1275e93440c6ac32
Parents: e7deb06
Author: Alex Harui 
Authored: Tue Mar 24 22:53:42 2015 -0700
Committer: Alex Harui 
Committed: Tue Mar 24 22:53:42 2015 -0700

--
 .../mxml/flexjs/MXMLFlexJSPublisher.java|  33 -
 .../compiler/internal/graph/GoogDepsWriter.java | 141 +--
 .../utils/JSClosureCompilerWrapper.java |  14 +-
 .../utils/VF2JSClosureCompilerWrapper.java  |   2 +-
 4 files changed, 168 insertions(+), 22 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/8e68d5de/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
--
diff --git 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
index 0432bd0..6e1c7eb 100644
--- 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
+++ 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
@@ -269,6 +269,12 @@ public class MXMLFlexJSPublisher extends JSGoogPublisher 
implements
 GoogDepsWriter gdw = new GoogDepsWriter(intermediateDir, projectName, 
(JSGoogConfiguration) configuration);
 try
 {
+   ArrayList fileList = gdw.getListOfFiles();
+   for (String file : fileList)
+   {
+compilerWrapper.addJSSourceFile(file); 
+   }
+   /*
 StringBuilder depsFileData = new StringBuilder();
 ok = gdw.generateDeps(problems, depsFileData);
 if (!subsetGoog)
@@ -355,7 +361,7 @@ public class MXMLFlexJSPublisher extends JSGoogPublisher 
implements
 FileUtils.copyFileToDirectory(file, new File(dir));
 compilerWrapper.addJSSourceFile(file.getCanonicalPath());
 }
-}
+}*/
 }
 catch (InterruptedException e)
 {
@@ -385,6 +391,7 @@ public class MXMLFlexJSPublisher extends JSGoogPublisher 
implements
 writeCSS(projectName, intermediateDirPath);
 writeCSS(projectName, releaseDirPath);
 
+/*
 if (!subsetGoog)
 {
 // (erikdebruin) add 'goog' files
@@ -396,22 +403,33 @@ public class MXMLFlexJSPublisher extends JSGoogPublisher 
implements
 compilerWrapper.addJSSourceFile(file.getCanonicalPath());
 }
 }
+*/
+Collection files = org.apache.commons.io.FileUtils.listFiles(new 
File(
+   closureGoogSrcLibDirPath), new 
RegexFileFilter("^.*(\\.js)"),
+DirectoryFileFilter.DIRECTORY);
+for (File file : files)
+{
+compilerWrapper.addJSSourceFile(file.getCanonicalPath());
+}
 
+/*
 // (erikdebruin) add project files
 for (String filePath : gdw.filePathsInOrder)
 {
 compilerWrapper.addJSSourceFile(
 new File(filePath).getCanonicalPath());   
 }
+*/
 
 compilerWrapper.setOptions(
-projectReleaseJSFilePath, useStrictPublishing);
+projectReleaseJSFilePath, useStrictPublishing, projectName);
 
+/*
 // (erikdebruin) Include the 'goog' deps to allow the compiler to 
resolve
 //   dependencies.
 compilerWrapper.addJSSourceFile(
 closureGoogSrcLibDirPath + File.separator + "deps.js");
-
+*/
 List externs = 
((JSGoogConfiguration)configuration).getExternalJSLib();
 for (String extern : externs)
 {
@@ -423,6 +441,7 @@ public class MXMLFlexJSPublisher extends JSGoogPublisher 
implements
 
 appendSourceMapLocation(projectReleaseJSFilePath, projectName);
 
+/*
 if (!isMarmotinniRun)
 {
 String allDeps = "";
@@ -435,8 +454,9 @@ public class MXMLFlexJSPublisher extends JSGoogPublisher 
implements
 
 org.apache.commons.io.FileUtils.deleteQuietly(new 
File(depsTgtFilePath));
 }
-
-if (ok)
+   */
+
+//if (ok)
   

[07/47] git commit: [flex-asjs] [refs/heads/develop] - manual conversion to Object.defineProperties. Needs major cleanup before it will work

2015-04-08 Thread aharui
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5344e8ba/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GraphicsContainer.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GraphicsContainer.js 
b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GraphicsContainer.js
index 7db0225..ca67517 100644
--- 
a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GraphicsContainer.js
+++ 
b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GraphicsContainer.js
@@ -40,15 +40,6 @@ 
org_apache_flex_core_graphics_GraphicsContainer.prototype.FLEXJS_CLASS_INFO =
 
 /**
  * @expose
- * @return {number} The number of child elements.
- */
-org_apache_flex_core_graphics_GraphicsContainer.prototype.get_numChildren = 
function() {
-return this.internalChildren().length;
-  };
-
-
-/**
- * @expose
  */
 org_apache_flex_core_graphics_GraphicsContainer.prototype.removeAllElements = 
function() {
   var svg = this.element;
@@ -58,48 +49,45 @@ 
org_apache_flex_core_graphics_GraphicsContainer.prototype.removeAllElements = fu
 };
 
 
-/**
- * @override
- */
-org_apache_flex_core_graphics_GraphicsContainer.prototype.set_width = 
function(value) {
-  org_apache_flex_core_graphics_GraphicsContainer.base(this, 'set_width', 
value);
-  this.element.setAttribute('width', String(value) + 'px');
-  this.element.style.width = String(value) + 'px';
-};
-
-
-/**
- * @override
- */
-org_apache_flex_core_graphics_GraphicsContainer.prototype.set_height = 
function(value) {
-  org_apache_flex_core_graphics_GraphicsContainer.base(this, 'set_height', 
value);
-  this.element.setAttribute('height', String(value) + 'px');
-  this.element.style.height = String(value) + 'px';
-};
-
-
-/**
- * @override
- */
-org_apache_flex_core_graphics_GraphicsContainer.prototype.set_x = 
function(value) {
-  org_apache_flex_core_graphics_GraphicsContainer.base(this, 'set_x', value);
-  this.element.setAttribute('x', String(value) + 'px');
-  this.element.style.position = 'absolute';
-  this.element.style.left = String(value) + 'px';
-  this.element.offsetLeft = value;
-};
-
-
-/**
- * @override
- */
-org_apache_flex_core_graphics_GraphicsContainer.prototype.set_y = 
function(value) {
-  org_apache_flex_core_graphics_GraphicsContainer.base(this, 'set_y', value);
-  this.element.setAttribute('y', String(value) + 'px');
-  this.element.style.position = 'absolute';
-  this.element.style.top = String(value) + 'px';
-  this.element.offsetTop = value;
-};
+Object.defineProperties(org_apache_flex_core_graphics_GraphicsContainer.prototype,
 {
+'numChildren': {
+   get: function() {
+return this.internalChildren().length;
+}
+   },
+'width': {
+   set: function(value) {
+
org_apache_flex_utils_Language.superSetter(org_apache_flex_core_graphics_GraphicsContainer,
 this, 'width', value);
+this.element.setAttribute('width', String(value) + 'px');
+this.element.style.width = String(value) + 'px';
+}
+   },
+'height': {
+   set: function(value) {
+
org_apache_flex_utils_Language.superSetter(org_apache_flex_core_graphics_GraphicsContainer,
 this, 'height', value);
+this.element.setAttribute('height', String(value) + 'px');
+this.element.style.height = String(value) + 'px';
+}
+   },
+'x': {
+   set: function(value) {
+
org_apache_flex_core_graphics_GraphicsContainer.base(org_apache_flex_core_graphics_GraphicsContainer,
 this, 'x', value);
+this.element.setAttribute('x', String(value) + 'px');
+this.element.style.position = 'absolute';
+this.element.style.left = String(value) + 'px';
+this.element.offsetLeft = value;
+   }
+   },
+'y': { 
+   set: function(value) {
+org_apache_flex_core_graphics_GraphicsContainer.base(this, 
'set_y', value);
+this.element.setAttribute('y', String(value) + 'px');
+this.element.style.position = 'absolute';
+this.element.style.top = String(value) + 'px';
+this.element.offsetTop = value;
+   }
+   }
+});
 
 
 /**

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5344e8ba/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/LinearGradient.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/LinearGradient.js 
b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/LinearGradient.js
index 0d41a7a..e4472e4 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/LinearGradient.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/LinearGradient.js
@@ -42,22 +42,17 @@ goog.inherits(org_apache_flex_core_graphics_LinearGradient, 
org_apache_flex_core
 org_apache_flex_core_graphics_L

[24/47] git commit: [flex-asjs] [refs/heads/develop] - fix copy-o

2015-04-08 Thread aharui
fix copy-o


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

Branch: refs/heads/develop
Commit: 31e219f2a13cb1fe0fe1532cdc7ed277361d9414
Parents: ca5aedc
Author: Alex Harui 
Authored: Fri Apr 3 09:38:32 2015 -0700
Committer: Alex Harui 
Committed: Fri Apr 3 09:38:32 2015 -0700

--
 frameworks/js/FlexJS/src/org/apache/flex/core/CallLaterBead.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/31e219f2/frameworks/js/FlexJS/src/org/apache/flex/core/CallLaterBead.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/CallLaterBead.js 
b/frameworks/js/FlexJS/src/org/apache/flex/core/CallLaterBead.js
index e8236a5..e625117 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/CallLaterBead.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/CallLaterBead.js
@@ -46,7 +46,7 @@ 
org_apache_flex_core_CallLaterBead.prototype.FLEXJS_CLASS_INFO =
 qName: 'org_apache_flex_core_CallLaterBead'}] };
 
 
-Object.defineProperties(org_apache_flex_binding_GenericBinding.prototype, {
+Object.defineProperties(org_apache_flex_core_CallLaterBead.prototype, {
 'strand': {
 /** @this {org_apache_flex_binding_GenericBinding} */
 set: function(value) {



Build failed in Jenkins: flex-asjs #520

2015-04-08 Thread flex . ci . builds
See 

--
[...truncated 161 lines...]
stage-framework-js:
 [copy] Copying 231 files to 

 [copy] Copying 2 files to 

 [copy] Copying 1 file to 

 [copy] Copying 2 files to 

 [copy] Copying 4 files to 

 [copy] Copying 361 files to 


stage-source:

stage-scripts:
 [copy] Copying 4 files to 


source-package-zip:
[mkdir] Created dir: 

  [zip] Building zip: 


source-package-tgz:
  [tar] Building tar: 


source-package:

source-release:

setup-binary-release:

thirdparty-downloads:

thirdparty-downloads:

swfobject-check:

swfobject-download:

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

thirdparty-downloads:

prebuild:

frameworks-as:

check-compile-env:

check-playerglobal-home:

check-air-home:

check-flex-home:

check-falcon-home:

check-falconjx-home:

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

clean:

clean:

clean:

thirdparty-downloads:

swfobject-check:

swfobject-download:

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

prepare:

compile:

flexjsui:

clean:

compile:
 [echo] Compiling libs/FlexJSUI.swc
 [echo] FLEX_HOME: 

 [echo] FALCON_HOME: 
c:\Jenkins\workspace\flex-falcon\compiler\generated\dist\sdk
[compc] Loading configuration: 

[compc] 
[compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[compc] 437495 bytes written to 
C:\Jenkins\workspace\flex-asjs\frameworks\as\libs\FlexJSUI.swc in 30.150 seconds

test:
[available] DEPRECATED -  used to override an existing property.
[available]   Build file should not reuse the same property name for different 
values.

clean:

compile:
 [echo] Compiling FlexUnitFlexJSApplication.swf
 [echo] FLEX_HOME: 

 [echo] FALCON_HOME: 
c:\Jenkins\workspace\flex-falcon\compiler\generated\dist\sdk
 [echo] FLEXUNIT_HOME: C:\jenkins\workspace\flex-flexunit
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 133140 bytes written to 
C:\Jenkins\workspace\flex-asjs\frameworks\as\projects\FlexJSUI\tests\FlexUnitFlexJSApplication.swf
 in 16.750 seconds
[mxmlc] 
C:\jenkins\workspace\flex-flexunit\FlexUnit4\target\flexunit-4.3.0-20140410-as3_4.12.0.swc
[mxmlc] Warning: The definition mx.utils.ObjectUtil depended on by 
org.flexunit.runner.Description in the SWC 
C:\jenkins\workspace\flex-flexunit\FlexUnit4\target\flexunit-4.3.0-20140410-as3_4.12.0.swc
 could not be found
[mxmlc] 
[mxmlc] 
C:\jenkins\workspace\flex-flexunit\FlexUnit4\target\flexunit-4.3.0-20140410-as3_4.12.0.swc
[mxmlc] Warning: The definition mx.utils.StringUtil depended on by 
flexunit.framework.AsyncTestHelper in the SWC 
C:\jenkins\workspace\flex-flexunit\FlexUnit4\target\flexunit-4.3.0-20140410-as3_4.12.0.swc
 could not be found
[mxmlc] 
[mxmlc] 
C:\jenkins\workspace\flex-flexunit\FlexUnit4\target\flexunit-4.3.0-20140410-as3_4.12.0.swc
[mxmlc] Warning: The definition mx.utils.ObjectUtil depended on by 
flexunit.framework.Assert in the SWC 
C:\jenkins\workspace\flex-flexunit\FlexUnit4\target\flexunit-4.3.0-20140410-as3_4.12.0.swc
 could not be found
[mxmlc] 
[mxmlc] 
C:\jenkins\workspace\flex-flexunit\FlexUnit4\target\flexunit-4.3.0-20140410-as3_4.12.0.swc
[mxmlc] Warning: The definition mx.utils.StringUtil depended on by 
flexunit.framework.Assert in the SWC 
C:\jenkins\workspace\flex-flexunit\FlexUnit4\target\flexunit-4.3.0-20140410-as3_4.12.0.swc
 could not be found
[mxmlc] 
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

test:
 [flexunit] Validating task attributes ...
 [flexunit] 

Build failed in Jenkins: flex-tlf #417

2015-04-08 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-tlf.git # timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/flex-tlf.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-tlf.git 
 > +refs/heads/*:refs/remotes/origin/*
 > C:\Program Files (x86)\Git\cmd\git.exe rev-parse "origin/develop^{commit}" # 
 > timeout=10
Checking out Revision b08af46da379065c81994e752b637fae4e4335b8 (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 
 > b08af46da379065c81994e752b637fae4e4335b8
 > C:\Program Files (x86)\Git\cmd\git.exe rev-list 
 > b08af46da379065c81994e752b637fae4e4335b8 # timeout=10
[flex-tlf] $ cmd.exe /C 
'"c:\Jenkins\tools\hudson.tasks.Ant_AntInstallation\c_apache-ant-1.9.3\bin\ant.bat
 -file build.xml all && exit %%ERRORLEVEL%%"'
Buildfile: 
 [echo] FLEX_HOME is 

 [echo] Minimal test is set false

clean:
   [delete] Deleting directory 

   [delete] Deleting: 


textLayout:
[compc] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
[compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[compc] C:\Jenkins\workspace\flex-tlf\bin\textLayout.swc (548976 bytes)

main:

asTestApps:
 [echo] FLEX_HOME is 

 [echo] Minimal test is set false

asTestApp:
[mxmlc] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
[mxmlc] 
C:\Jenkins\workspace\flex-tlf\bin\apps\asTestApps\bin\ExplicitFormField.swf 
(519982 bytes)
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
 [echo] FLEX_HOME is 

 [echo] Minimal test is set false

asTestApp:
[mxmlc] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[mxmlc] 
C:\Jenkins\workspace\flex-tlf\bin\apps\asTestApps\bin\TCMTestFocus2.swf (527162 
bytes)
 [echo] FLEX_HOME is 

 [echo] Minimal test is set false

asTestApp:
[mxmlc] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
[mxmlc] 
C:\Jenkins\workspace\flex-tlf\bin\apps\asTestApps\bin\AliceScroll.swf (588333 
bytes)
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
 [echo] FLEX_HOME is 

 [echo] Minimal test is set false

asTestApp:
[mxmlc] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[mxmlc] C:\Jenkins\workspace\flex-tlf\bin\apps\asTestApps\bin\KeyLogger.swf 
(2165 bytes)
 [echo] FLEX_HOME is 

 [echo] Minimal test is set false

asTestApp:
[mxmlc] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[mxmlc] C:\Jenkins\workspace\flex-tlf\bin\apps\asTestApps\bin\OpHammer.swf 
(530372 bytes)

textLayout_editBar:
[compc] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
[compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[compc] 
C:\Jenkins\workspace\flex-tlf\bin\apps\testApps\bin\textLayout_editBar.swc 
(23171 bytes)

textLayout_ui:
[compc] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
[compc] 
C:\Jenkins\workspace\flex-tlf\bin\apps\testApps\bin\textLayout_ui.swc (112806 
bytes)
[compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

testApps:
[mxmlc] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
[mxmlc] C:\Jenkins\workspace\flex-tlf\bin\apps\automation_apps\bin\Flow.swf 
(2185406 bytes)
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

automation_cor

Jenkins build is back to normal : MD5Checker #4123

2015-04-08 Thread flex . ci . builds
See 



[06/47] git commit: [flex-asjs] [refs/heads/develop] - manual conversion to Object.defineProperties. Needs major cleanup before it will work

2015-04-08 Thread aharui
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5344e8ba/frameworks/js/FlexJS/src/org/apache/flex/html5/TextArea.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html5/TextArea.js 
b/frameworks/js/FlexJS/src/org/apache/flex/html5/TextArea.js
index 81f80dd..de728ce 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html5/TextArea.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/TextArea.js
@@ -42,20 +42,13 @@ org_apache_flex_html5_TextArea.prototype.createElement =
 };
 
 
-/**
- * @expose
- * @return {string} The text getter.
- */
-org_apache_flex_html5_TextArea.prototype.get_text = function() {
-  return this.element.value;
-};
-
-
-/**
- * @expose
- * @param {string} value The text setter.
- */
-org_apache_flex_html5_TextArea.prototype.set_text =
-function(value) {
-  this.element.value = value;
-};
+Object.defineProperties(org_apache_flex_html5_TextArea.prototype, {
+'text': {
+   get: function() {
+return this.element.value;
+   },
+set: function(value) {
+this.element.value = value;
+   }
+   }
+});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5344e8ba/frameworks/js/FlexJS/src/org/apache/flex/html5/TextInput.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html5/TextInput.js 
b/frameworks/js/FlexJS/src/org/apache/flex/html5/TextInput.js
index 12ddecc..e5226c8 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html5/TextInput.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html5/TextInput.js
@@ -43,20 +43,13 @@ org_apache_flex_html5_TextInput.prototype.createElement =
 };
 
 
-/**
- * @expose
- * @return {string} The text getter.
- */
-org_apache_flex_html5_TextInput.prototype.get_text = function() {
-  return this.element.value;
-};
-
-
-/**
- * @expose
- * @param {string} value The text setter.
- */
-org_apache_flex_html5_TextInput.prototype.set_text =
-function(value) {
-  this.element.value = value;
-};
+Object.defineProperties(org_apache_flex_html5_TextInput.prototype, {
+'text': {
+   get: function() {
+return this.element.value;
+   },
+set: function(value) {
+this.element.value = value;
+   }
+   }
+});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5344e8ba/frameworks/js/FlexJS/src/org/apache/flex/jquery/CheckBox.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/jquery/CheckBox.js 
b/frameworks/js/FlexJS/src/org/apache/flex/jquery/CheckBox.js
index f3052ef..cfd452c 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/jquery/CheckBox.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/jquery/CheckBox.js
@@ -61,40 +61,21 @@ org_apache_flex_jquery_CheckBox.prototype.createElement =
 };
 
 
-/**
- * @expose
- * @return {string} The text getter.
- */
-org_apache_flex_jquery_CheckBox.prototype.get_text = function() {
-  return this.element.childNodes.item(1).nodeValue;
-};
-
-
-/**
- * @expose
- * @param {string} value The text setter.
- */
-org_apache_flex_jquery_CheckBox.prototype.set_text =
-function(value) {
-  this.element.childNodes.item(1).nodeValue = value;
-};
-
-
-/**
- * @expose
- * @return {boolean} The selected getter.
- */
-org_apache_flex_jquery_CheckBox.prototype.get_selected =
-function() {
-  return this.element.childNodes.item(0).checked;
-};
-
-
-/**
- * @expose
- * @param {boolean} value The selected setter.
- */
-org_apache_flex_jquery_CheckBox.prototype.set_selected =
-function(value) {
-  this.element.childNodes.item(0).checked = value;
-};
+Object.defineProperties(org_apache_flex_jquery_CheckBox.prototype, {
+'text': {
+   get: function() {
+return this.element.childNodes.item(1).nodeValue;
+   },
+   set: function(value) {
+this.element.childNodes.item(1).nodeValue = value;
+   }
+   },
+   'selected': {
+   get: function() {
+return this.element.childNodes.item(0).checked;
+   },
+   set: function(value) {
+this.element.childNodes.item(0).checked = value;
+   }
+   }
+});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5344e8ba/frameworks/js/FlexJS/src/org/apache/flex/jquery/RadioButton.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/jquery/RadioButton.js 
b/frameworks/js/FlexJS/src/org/apache/flex/jquery/RadioButton.js
index 3584ce9..648a895 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/jquery/RadioButton.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/jquery/RadioButton.js
@@ -99,134 +99,74 @@ org_apache_flex_jquery_RadioButton.prototype.addedToParent 
=
 };
 
 
-/**
- * @override

[01/18] git commit: [flex-falcon] [refs/heads/develop] - rough cut at switching FlexJS to defineProperty. Probably very broken so wait for future commits before trying

2015-04-08 Thread aharui
Repository: flex-falcon
Updated Branches:
  refs/heads/develop c899a8da7 -> 8596224ed


rough cut at switching FlexJS to defineProperty.  Probably very broken so wait 
for future commits before trying


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

Branch: refs/heads/develop
Commit: 4faba4a5d3bfcdd3e4013063fc9bac85abf15abc
Parents: 743fe15
Author: Alex Harui 
Authored: Fri Jan 30 10:52:07 2015 -0800
Committer: Alex Harui 
Committed: Fri Jan 30 10:52:07 2015 -0800

--
 .../codegen/js/flexjs/JSFlexJSEmitter.java  | 296 +++
 .../internal/codegen/js/goog/JSGoogEmitter.java |  19 +-
 2 files changed, 128 insertions(+), 187 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/4faba4a5/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
--
diff --git 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
index 9d92c4a..37c8045 100644
--- 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
+++ 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
@@ -236,6 +236,7 @@ public class JSFlexJSEmitter extends JSGoogEmitter 
implements IJSFlexJSEmitter
docEmitter.classIgnoreList = ignoreList;
}
 
+/*
@Override
 public void emitInterface(IInterfaceNode node)
 {
@@ -291,7 +292,8 @@ public class JSFlexJSEmitter extends JSGoogEmitter 
implements IJSFlexJSEmitter
 write(ASEmitterTokens.SEMICOLON);
 }
 }
-
+   */
+
 @Override
 public void emitField(IVariableNode node)
 {
@@ -394,6 +396,7 @@ public class JSFlexJSEmitter extends JSGoogEmitter 
implements IJSFlexJSEmitter
 }
 }
 
+/*
 @Override
 protected void emitAccessors(IAccessorNode node)
 {
@@ -406,7 +409,7 @@ public class JSFlexJSEmitter extends JSGoogEmitter 
implements IJSFlexJSEmitter
 emitSetAccessor((ISetterNode) node);
 }
 }
-
+
 @Override
 public void emitMethod(IFunctionNode node)
 {
@@ -471,6 +474,7 @@ public class JSFlexJSEmitter extends JSGoogEmitter 
implements IJSFlexJSEmitter
 write(ASEmitterTokens.PAREN_CLOSE);
 }
 }
+*/
 
 @Override
 public void emitFunctionCall(IFunctionCallNode node)
@@ -754,101 +758,7 @@ public class JSFlexJSEmitter extends JSGoogEmitter 
implements IJSFlexJSEmitter
 IDefinition parentDef = (nodeDef != null) ? nodeDef.getParent() : null;
 boolean isNative = (parentDef != null)
 && NativeUtils.isNative(parentDef.getBaseName());
-if ((identifierIsAccessorFunction && !isNative)
-|| (nodeDef instanceof VariableDefinition && 
((VariableDefinition) nodeDef)
-.isBindable()))
-{
-IASNode anode = node
-.getAncestorOfType(BinaryOperatorAssignmentNode.class);
-
-boolean isAssignment = false;
-if (anode != null)
-{
-IASNode leftNode = anode.getChild(0);
-if (anode == parentNode)
-{
-if (node == leftNode)
-isAssignment = true;
-}
-else
-{
-IASNode pnode = parentNode;
-IASNode thisNode = node;
-while (anode != pnode)
-{
-if (pnode instanceof IMemberAccessExpressionNode)
-{
-if (thisNode != pnode.getChild(1))
-{
-// can't be an assignment because 
-// we're on the left side of a 
memberaccessexpression
-break;
-}
-}
-if (pnode instanceof IDynamicAccessNode)
-{
-if (thisNode != pnode.getChild(1))
-{
-// can't be an assignment because 
-// we're on the left side of a 
DynamicAccessNode
-break;
-}
-}
-if (pnode == leftNode)
-{
- 

[14/18] git commit: [flex-falcon] [refs/heads/develop] - adjust the tests for defineProp

2015-04-08 Thread aharui
adjust the tests for defineProp


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

Branch: refs/heads/develop
Commit: b974c9aa4c8ce0337500e2036a369e217375dc47
Parents: 8eefb00
Author: Alex Harui 
Authored: Tue Apr 7 21:12:03 2015 -0700
Committer: Alex Harui 
Committed: Tue Apr 7 21:12:03 2015 -0700

--
 .../js/flexjs/TestFlexJSAccessorMembers.java|  71 ++--
 .../codegen/js/flexjs/TestFlexJSAccessors.java  |   8 +-
 .../codegen/js/flexjs/TestFlexJSClass.java  |   8 +-
 .../js/flexjs/TestFlexJSExpressions.java|  50 +--
 .../codegen/js/flexjs/TestFlexJSInterface.java  |   6 +-
 .../internal/codegen/js/goog/TestGoogClass.java |  14 +-
 .../codegen/js/goog/TestGoogEmiter.java |   2 +-
 .../flexjs/files/FlexJSTest_again_result.js |  92 ++---
 .../flexjs/files/MyInitialView_result.js| 411 ---
 .../files/controllers/MyController_result.js|  18 +-
 .../flexjs/files/models/MyModel_result.js   |  55 ++-
 .../projects/interfaces/interfaces/IE_result.js |  20 +-
 .../flexjs/projects/super/Base_result.js|  29 +-
 .../flexjs/projects/super/Super_result.js   |  25 +-
 .../test-files/goog/files/call-super_result.js  |   4 +-
 .../test-files/goog/files/output.js |   2 +-
 .../test-files/goog/files/poc_result.js |   2 +-
 .../goog/files/qualify-new-object_result.js |   2 +-
 .../codegen/js/flexjs/JSFlexJSEmitter.java  |  78 +++-
 .../internal/codegen/js/goog/JSGoogEmitter.java |   9 +-
 20 files changed, 458 insertions(+), 448 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b974c9aa/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSAccessorMembers.java
--
diff --git 
a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSAccessorMembers.java
 
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSAccessorMembers.java
index 0d40229..09bf25c 100644
--- 
a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSAccessorMembers.java
+++ 
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSAccessorMembers.java
@@ -22,6 +22,7 @@ package org.apache.flex.compiler.internal.codegen.js.flexjs;
 import org.apache.flex.compiler.driver.IBackend;
 import 
org.apache.flex.compiler.internal.codegen.js.goog.TestGoogAccessorMembers;
 import org.apache.flex.compiler.internal.driver.js.flexjs.FlexJSBackend;
+import org.apache.flex.compiler.tree.as.IClassNode;
 import org.apache.flex.compiler.tree.as.IGetterNode;
 import org.apache.flex.compiler.tree.as.ISetterNode;
 import org.junit.Test;
@@ -35,90 +36,100 @@ public class TestFlexJSAccessorMembers extends 
TestGoogAccessorMembers
 @Test
 public void testGetAccessor()
 {
-IGetterNode node = (IGetterNode) getAccessor("function get 
foo():int{}");
-asBlockWalker.visitGetter(node);
-assertOut("/**\n * @return {number}\n 
*/\nFalconTest_A.prototype.get_foo = function() {\n}");
+IClassNode node = (IClassNode) getNode("function get foo():int{}",
+   IClassNode.class, WRAP_LEVEL_CLASS);
+asBlockWalker.visitClass(node);
+assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n};\n\n\n/**\n * @expose\n * @type {number}\n 
*/\nFalconTest_A.prototype.foo;\n\n;Object.defineProperties(FalconTest_A.prototype,
 /** @lends {FalconTest_A.prototype} */ {\n/** @expose */\nfoo: {\nget: /** 
@this {FalconTest_A} */ function() {\n}}}\n);");
 }
 
 @Override
 @Test
 public void testGetAccessor_withBody()
 {
-IGetterNode node = (IGetterNode) getAccessor("function get 
foo():int{return -1;}");
-asBlockWalker.visitGetter(node);
-assertOut("/**\n * @return {number}\n 
*/\nFalconTest_A.prototype.get_foo = function() {\n  return -1;\n}");
+   IClassNode node = (IClassNode) getNode("function get foo():int{return 
-1;}",
+   IClassNode.class, WRAP_LEVEL_CLASS);
+asBlockWalker.visitClass(node);
+assertOut("/**\n * @constructor\n */\nFalconTest_A = function() 
{\n};\n\n\n/**\n * @expose\n * @type {number}\n 
*/\nFalconTest_A.prototype.foo;\n\n;Object.defineProperties(FalconTest_A.prototype,
 /** @lends {FalconTest_A.prototype} */ {\n/** @expose */\nfoo: {\nget: /** 
@this {FalconTest_A} */ function() {\n  return -1;\n}}}\n);");
 }
 
 @Override
 @Test
 public void testGetAccessor_withNamespace()
 {
-IGetterNode node = (IG

[12/47] git commit: [flex-asjs] [refs/heads/develop] - add @this annotations to stop warnings

2015-04-08 Thread aharui
add @this annotations to stop warnings


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

Branch: refs/heads/develop
Commit: 19f8cb286c955a17d75627310289a124a3818301
Parents: 7ab51ec
Author: Alex Harui 
Authored: Mon Mar 16 11:28:46 2015 -0700
Committer: Alex Harui 
Committed: Mon Mar 16 11:28:46 2015 -0700

--
 .../src/org/apache/flex/binding/BindingBase.js  |  1 +
 .../src/org/apache/flex/binding/ChainBinding.js |  3 +-
 .../org/apache/flex/binding/ConstantBinding.js  |  1 +
 .../org/apache/flex/binding/SimpleBinding.js| 15 +
 .../org/apache/flex/charts/core/ChartBase.js|  2 ++
 .../src/org/apache/flex/core/ContainerBase.js   |  7 +
 .../src/org/apache/flex/core/FilledRectangle.js |  2 ++
 .../src/org/apache/flex/core/FormatBase.js  |  7 +
 .../org/apache/flex/core/HTMLElementWrapper.js  |  6 +++-
 .../flex/core/ItemRendererClassFactory.js   |  1 +
 .../FlexJS/src/org/apache/flex/core/UIBase.js   | 32 
 .../src/org/apache/flex/core/ValuesManager.js   |  2 ++
 .../FlexJS/src/org/apache/flex/core/ViewBase.js |  8 +
 .../src/org/apache/flex/core/graphics/Circle.js |  2 ++
 .../apache/flex/core/graphics/GradientBase.js   |  9 ++
 .../apache/flex/core/graphics/GradientEntry.js  |  6 
 .../apache/flex/core/graphics/GraphicShape.js   |  6 +++-
 .../flex/core/graphics/GraphicsContainer.js |  7 -
 .../apache/flex/core/graphics/LinearGradient.js |  2 ++
 .../src/org/apache/flex/core/graphics/Path.js   |  4 ++-
 .../org/apache/flex/core/graphics/SolidColor.js |  4 +++
 .../flex/core/graphics/SolidColorStroke.js  |  6 
 .../src/org/apache/flex/createjs/Label.js   |  2 ++
 .../src/org/apache/flex/createjs/core/UIBase.js | 10 +-
 .../FlexJS/src/org/apache/flex/events/Event.js  |  5 ++-
 .../js/FlexJS/src/org/apache/flex/html/Alert.js |  5 +++
 .../FlexJS/src/org/apache/flex/html/CheckBox.js |  4 +++
 .../FlexJS/src/org/apache/flex/html/ComboBox.js | 15 ++---
 .../org/apache/flex/html/ImageAndTextButton.js  |  4 +++
 .../js/FlexJS/src/org/apache/flex/html/Label.js |  4 +++
 .../src/org/apache/flex/html/MultilineLabel.js  |  4 +++
 .../js/FlexJS/src/org/apache/flex/html/Panel.js |  6 
 .../src/org/apache/flex/html/RadioButton.js | 11 +++
 .../FlexJS/src/org/apache/flex/html/Spinner.js  |  8 +
 .../FlexJS/src/org/apache/flex/html/TextArea.js |  2 ++
 .../src/org/apache/flex/html/TextButton.js  |  2 ++
 .../src/org/apache/flex/html/TextInput.js   |  4 ++-
 .../org/apache/flex/html/ToggleTextButton.js|  6 +++-
 .../accessories/NumericOnlyTextInputBead.js |  5 +--
 .../flex/html/accessories/PasswordInputBead.js  |  1 +
 .../DataItemRendererFactoryForArrayData.js  |  3 ++
 .../src/org/apache/flex/html/beads/ListView.js  |  5 +++
 .../TextItemRendererFactoryForArrayData.js  |  1 +
 .../controllers/ItemRendererMouseController.js  |  1 +
 .../ListSingleSelectionMouseController.js   |  1 +
 .../beads/controllers/SliderMouseController.js  |  1 +
 .../beads/controllers/SpinnerMouseController.js |  1 +
 .../html/beads/layouts/NonVirtualBasicLayout.js |  1 +
 .../layouts/NonVirtualBasicScrollingLayout.js   |  1 +
 .../beads/layouts/NonVirtualVerticalLayout.js   |  1 +
 .../NonVirtualVerticalScrollingLayout.js|  3 +-
 .../ButtonBarButtonItemRenderer.js  |  8 +++--
 .../html/supportClasses/DataItemRenderer.js |  7 +
 .../html/supportClasses/NonVirtualDataGroup.js  |  2 ++
 .../html/supportClasses/StringItemRenderer.js   | 13 +++-
 .../html/supportClasses/UIItemRendererBase.js   | 16 ++
 .../src/org/apache/flex/html5/CheckBox.js   |  4 +++
 .../src/org/apache/flex/html5/ComboBox.js   |  3 ++
 .../FlexJS/src/org/apache/flex/html5/Label.js   |  2 ++
 .../src/org/apache/flex/html5/TextArea.js   |  2 ++
 .../src/org/apache/flex/html5/TextInput.js  |  2 ++
 .../src/org/apache/flex/jquery/CheckBox.js  |  4 +++
 .../src/org/apache/flex/jquery/RadioButton.js   | 11 +++
 .../org/apache/flex/jquery/ToggleTextButton.js  |  5 +++
 .../src/org/apache/flex/maps/google/Map.js  |  2 ++
 .../src/org/apache/flex/net/BinaryUploader.js   | 20 
 .../src/org/apache/flex/net/HTTPService.js  | 22 ++
 .../src/org/apache/flex/utils/BinaryData.js |  5 +++
 .../src/org/apache/flex/utils/Language.js   |  5 ++-
 .../FlexJS/src/org/apache/flex/utils/Timer.js   |  6 
 70 files changed, 345 insertions(+), 44 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/19f8cb28/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js
---

git commit: [flex-utilities] [refs/heads/develop] - - Added the command to print the help screen.

2015-04-08 Thread cdutz
Repository: flex-utilities
Updated Branches:
  refs/heads/develop 6ff02b556 -> 897e07099


- Added the command to print the help screen.


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

Branch: refs/heads/develop
Commit: 897e070999743f99e7401b786d16260f6f6a19d5
Parents: 6ff02b5
Author: Christofer Dutz 
Authored: Wed Apr 8 22:54:28 2015 +0200
Committer: Christofer Dutz 
Committed: Wed Apr 8 22:54:28 2015 +0200

--
 mavenizer/README.txt| 1 +
 .../apache/flex/utilities/converter/core/SdkConverterCLI.java   | 5 +
 2 files changed, 6 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/897e0709/mavenizer/README.txt
--
diff --git a/mavenizer/README.txt b/mavenizer/README.txt
index 34009bc..5a80c4c 100644
--- a/mavenizer/README.txt
+++ b/mavenizer/README.txt
@@ -137,6 +137,7 @@ Using the Apache Flex SDK Converter
 
In gerneral it is able to perform 4 different commands:
 
+   - help  Prints a list of all commands and options available.
- list  Lists all versions and platforms available for download
- download  Downloads selected versions and assembles an FDK
- convert   Converts a previously installed (using the installer) or

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/897e0709/mavenizer/cli/src/main/java/org/apache/flex/utilities/converter/core/SdkConverterCLI.java
--
diff --git 
a/mavenizer/cli/src/main/java/org/apache/flex/utilities/converter/core/SdkConverterCLI.java
 
b/mavenizer/cli/src/main/java/org/apache/flex/utilities/converter/core/SdkConverterCLI.java
index f210afa..32cb60d 100644
--- 
a/mavenizer/cli/src/main/java/org/apache/flex/utilities/converter/core/SdkConverterCLI.java
+++ 
b/mavenizer/cli/src/main/java/org/apache/flex/utilities/converter/core/SdkConverterCLI.java
@@ -124,6 +124,11 @@ public class SdkConverterCLI {
 // Exectute operations
 

 
+// Print the help screen.
+if(cmd.getArgList().contains("help")) {
+printHelp(options);
+}
+
 // Output a list of all available downloads.
 if(cmd.getArgList().contains("list")) {
 
System.out.println("---");



[42/47] git commit: [flex-asjs] [refs/heads/develop] - use block as default. this might need revisiting

2015-04-08 Thread aharui
use block as default.  this might need revisiting


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

Branch: refs/heads/develop
Commit: fb59aab856d69e69b59f84aab0ac9873cb0eea09
Parents: f116426
Author: Alex Harui 
Authored: Wed Apr 8 12:13:16 2015 -0700
Committer: Alex Harui 
Committed: Wed Apr 8 12:13:16 2015 -0700

--
 .../js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js   | 2 +-
 .../org/apache/flex/html/beads/layouts/NonVirtualBasicLayout.js| 2 +-
 .../flex/html/beads/layouts/NonVirtualBasicScrollingLayout.js  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fb59aab8/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js 
b/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js
index 49463ee..599aa61 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js
@@ -62,7 +62,7 @@ org_apache_flex_core_HTMLElementWrapper.prototype.strand = 
null;
  * @protected
  * @type {boolean}
  */
-org_apache_flex_core_HTMLElementWrapper.prototype.internalDisplay = 'none';
+org_apache_flex_core_HTMLElementWrapper.prototype.internalDisplay = 'inline';
 
 
 /**

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fb59aab8/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualBasicLayout.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualBasicLayout.js
 
b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualBasicLayout.js
index 3478374..73ae4db 100644
--- 
a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualBasicLayout.js
+++ 
b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualBasicLayout.js
@@ -107,7 +107,7 @@ org_apache_flex_html_beads_layouts_NonVirtualBasicLayout.
   n = contentView.numElements;
   for (i = 0; i < n; i++) {
 var child = contentView.getElementAt(i);
-child.positioner.internalDisplay = 'none';
+child.positioner.internalDisplay = 'block';
 var left = org_apache_flex_core_ValuesManager.valuesImpl.getValue(child, 
'left');
 var right = org_apache_flex_core_ValuesManager.valuesImpl.getValue(child, 
'right');
 var top = org_apache_flex_core_ValuesManager.valuesImpl.getValue(child, 
'top');

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fb59aab8/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualBasicScrollingLayout.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualBasicScrollingLayout.js
 
b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualBasicScrollingLayout.js
index dc6127b..4cdf12f 100644
--- 
a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualBasicScrollingLayout.js
+++ 
b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualBasicScrollingLayout.js
@@ -72,7 +72,7 @@ 
org_apache_flex_html_beads_layouts_NonVirtualBasicScrollingLayout.
   n = contentView.numElements;
   for (i = 0; i < n; i++) {
 var child = contentView.getElementAt(i);
-child.positioner.internalDisplay = 'none';
+child.positioner.internalDisplay = 'block';
 var left = org_apache_flex_core_ValuesManager.valuesImpl.getValue(child, 
'left');
 var right = org_apache_flex_core_ValuesManager.valuesImpl.getValue(child, 
'right');
 var top = org_apache_flex_core_ValuesManager.valuesImpl.getValue(child, 
'top');



[17/18] git commit: [flex-falcon] [refs/heads/develop] - don't forget bindable vars in MXML script blocks

2015-04-08 Thread aharui
don't forget bindable vars in MXML script blocks


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

Branch: refs/heads/develop
Commit: 83c8eb2c3d0e24332645e40410b508d8b1321da0
Parents: 6e79a10
Author: Alex Harui 
Authored: Wed Apr 8 15:21:26 2015 -0700
Committer: Alex Harui 
Committed: Wed Apr 8 15:21:26 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/83c8eb2c/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
--
diff --git 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
index 55d830a..0104180 100644
--- 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
+++ 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
@@ -210,6 +210,7 @@ public class MXMLFlexJSEmitter extends MXMLEmitter 
implements
 
 emitScripts();
 
+((JSFlexJSEmitter)asEmitter).emitBindableVariables(cdef);
 ((JSFlexJSEmitter)asEmitter).emitASGettersAndSetters(cdef);
 
 emitEvents(cname);



[32/47] git commit: [flex-asjs] [refs/heads/develop] - fix backing variables so the don't collide with defineprop'd properties

2015-04-08 Thread aharui
fix backing variables so the don't collide with defineprop'd properties


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

Branch: refs/heads/develop
Commit: f90fadf4fd8dcf28b665136530bc6dbe3fde3b42
Parents: 5a26f7c
Author: Alex Harui 
Authored: Fri Apr 3 16:07:54 2015 -0700
Committer: Alex Harui 
Committed: Fri Apr 3 16:07:54 2015 -0700

--
 .../FlexJS/src/org/apache/flex/core/UIBase.js   | 59 ++--
 1 file changed, 28 insertions(+), 31 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f90fadf4/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js 
b/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js
index e27ba82..d623e64 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js
@@ -82,6 +82,24 @@ org_apache_flex_core_UIBase = function() {
*/
   this.style_ = null;
 
+  /**
+   * @private
+   * @type {?string}
+   */
+  this.id_ = null;
+
+  /**
+   * @private
+   * @type {?string}
+   */
+  this.className_ = '';
+
+  /**
+   * @private
+   * @type {Object}
+   */
+  this.model_ = null;
+
   this.createElement();
 };
 goog.inherits(org_apache_flex_core_UIBase,
@@ -286,7 +304,7 @@ org_apache_flex_core_UIBase.prototype.addBead = 
function(bead) {
   this.beads_.push(bead);
 
   if (org_apache_flex_utils_Language.is(bead, org_apache_flex_core_IBeadModel))
-this.model = bead;
+this.model_ = bead;
 
   if (org_apache_flex_utils_Language.is(bead, org_apache_flex_core_IBeadView)) 
{
 this.dispatchEvent(new org_apache_flex_events_Event('viewChanged'));
@@ -504,13 +522,13 @@ 
Object.defineProperties(org_apache_flex_core_UIBase.prototype, {
 'id': {
 /** @this {org_apache_flex_core_UIBase} */
 get: function() {
-return this.id;
+return this.id_;
 },
 /** @this {org_apache_flex_core_UIBase} */
 set: function(value) {
-if (this.id !== value) {
+if (this.id_ !== value) {
   this.element.id = value;
-  this.id = value;
+  this.id_ = value;
   this.dispatchEvent('idChanged');
 }
 }
@@ -518,13 +536,13 @@ 
Object.defineProperties(org_apache_flex_core_UIBase.prototype, {
 'className': {
 /** @this {org_apache_flex_core_UIBase} */
 get: function() {
-return this.className;
+return this.className_;
 },
 /** @this {org_apache_flex_core_UIBase} */
 set: function(value) {
-if (this.className !== value) {
+if (this.className_ !== value) {
   this.element.className = this.typeNames ? value + ' ' + 
this.typeNames : value;
-  this.className = value;
+  this.className_ = value;
   this.dispatchEvent('classNameChanged');
 }
 }
@@ -532,7 +550,7 @@ 
Object.defineProperties(org_apache_flex_core_UIBase.prototype, {
 'model': {
 /** @this {org_apache_flex_core_UIBase} */
 get: function() {
-if (this.model == null) {
+if (this.model_ == null) {
   // addbead will set _model
   if (org_apache_flex_core_ValuesManager.valuesImpl.getValue) {
 /**
@@ -544,11 +562,11 @@ 
Object.defineProperties(org_apache_flex_core_UIBase.prototype, {
 this.addBead(b);
   }
 }
-return this.model;
+return this.model_;
 },
 /** @this {org_apache_flex_core_UIBase} */
 set: function(value) {
-if (this.model !== value) {
+if (this.model_ !== value) {
   this.addBead(value);
   this.dispatchEvent('modelChanged');
 }
@@ -697,32 +715,11 @@ 
org_apache_flex_core_UIBase.prototype.isHeightSizedToContent = function()
  * @expose
  * @type {string}
  */
-org_apache_flex_core_UIBase.prototype.id = '';
-
-
-/**
- * @expose
- * @type {string}
- */
 org_apache_flex_core_UIBase.prototype.typeNames = '';
 
 
 /**
  * @expose
- * @type {string}
- */
-org_apache_flex_core_UIBase.prototype.className = '';
-
-
-/**
- * @expose
- * @type {Object}
- */
-org_apache_flex_core_UIBase.prototype.model = null;
-
-
-/**
- * @expose
  * @param {org_apache_flex_events_ValueChangeEvent} value The new style 
properties.
  */
 org_apache_flex_core_UIBase.prototype.styleChangeHandler = function(value) {



[01/47] git commit: [flex-asjs] [refs/heads/develop] - replace get_xxx() calls with xxx

2015-04-08 Thread aharui
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 7f179c9dd -> 23b457c6b


replace get_xxx() calls with xxx


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

Branch: refs/heads/develop
Commit: 4aed23bf1c12cc9fdb40d09ad51e0b19a4cbd361
Parents: 4ba5cb8
Author: Alex Harui 
Authored: Thu Jan 29 14:16:06 2015 -0800
Committer: Alex Harui 
Committed: Thu Jan 29 14:16:06 2015 -0800

--
 .../charts/supportClasses/ChartAxisGroup.js | 12 +--
 .../charts/supportClasses/ChartDataGroup.js |  4 ++--
 .../src/org/apache/flex/core/Application.js |  2 +-
 .../src/org/apache/flex/core/ContainerBase.js   |  2 +-
 .../src/org/apache/flex/core/FilledRectangle.js |  2 +-
 .../src/org/apache/flex/core/FormatBase.js  |  2 +-
 .../org/apache/flex/core/HTMLElementWrapper.js  |  4 ++--
 .../flex/core/ItemRendererClassFactory.js   |  2 +-
 .../FlexJS/src/org/apache/flex/core/ListBase.js | 12 +--
 .../org/apache/flex/core/SimpleCSSValuesImpl.js |  2 +-
 .../org/apache/flex/core/SimpleStatesImpl.js|  4 ++--
 .../FlexJS/src/org/apache/flex/core/UIBase.js   | 10 -
 .../FlexJS/src/org/apache/flex/core/ViewBase.js |  2 +-
 .../src/org/apache/flex/core/graphics/Circle.js | 10 -
 .../org/apache/flex/core/graphics/Ellipse.js| 10 -
 .../apache/flex/core/graphics/GradientEntry.js  |  4 ++--
 .../apache/flex/core/graphics/GraphicShape.js   | 18 
 .../src/org/apache/flex/core/graphics/Line.js   |  2 +-
 .../apache/flex/core/graphics/LinearGradient.js | 16 +++---
 .../src/org/apache/flex/core/graphics/Path.js   |  6 +++---
 .../src/org/apache/flex/core/graphics/Rect.js   | 10 -
 .../org/apache/flex/core/graphics/SolidColor.js |  4 ++--
 .../flex/core/graphics/SolidColorStroke.js  |  4 ++--
 .../src/org/apache/flex/createjs/Application.js |  2 +-
 .../src/org/apache/flex/createjs/CheckBox.js|  2 +-
 .../org/apache/flex/createjs/core/ViewBase.js   |  4 ++--
 .../src/org/apache/flex/events/MouseEvent.js|  4 ++--
 .../js/FlexJS/src/org/apache/flex/html/Alert.js |  4 ++--
 .../FlexJS/src/org/apache/flex/html/ComboBox.js |  4 ++--
 .../src/org/apache/flex/html/DropDownList.js|  2 +-
 .../js/FlexJS/src/org/apache/flex/html/Image.js |  2 +-
 .../js/FlexJS/src/org/apache/flex/html/List.js  | 10 -
 .../src/org/apache/flex/html/NumericStepper.js  | 16 +++---
 .../js/FlexJS/src/org/apache/flex/html/Panel.js |  8 +++
 .../src/org/apache/flex/html/SimpleList.js  |  6 +++---
 .../FlexJS/src/org/apache/flex/html/Slider.js   | 22 ++--
 .../FlexJS/src/org/apache/flex/html/TitleBar.js |  4 ++--
 .../DataItemRendererFactoryForArrayData.js  |  8 +++
 .../src/org/apache/flex/html/beads/ImageView.js |  2 +-
 .../src/org/apache/flex/html/beads/ListView.js  | 12 +--
 .../src/org/apache/flex/html/beads/PanelView.js | 12 +--
 .../TextItemRendererFactoryForArrayData.js  |  4 ++--
 .../controllers/ItemRendererMouseController.js  |  6 +++---
 .../ListSingleSelectionMouseController.js   |  4 ++--
 .../beads/controllers/SliderMouseController.js  | 16 +++---
 .../beads/controllers/SpinnerMouseController.js | 12 +--
 .../flex/html/beads/layouts/ButtonBarLayout.js  | 10 -
 .../html/beads/layouts/NonVirtualBasicLayout.js | 12 +--
 .../layouts/NonVirtualBasicScrollingLayout.js   |  8 +++
 .../beads/layouts/NonVirtualHorizontalLayout.js |  4 ++--
 .../beads/layouts/NonVirtualVerticalLayout.js   |  4 ++--
 .../flex/html/beads/layouts/TileLayout.js   | 12 +--
 .../html/supportClasses/StringItemRenderer.js   |  8 +++
 .../html/supportClasses/UIItemRendererBase.js   |  8 +++
 .../src/org/apache/flex/html5/ComboBox.js   |  4 ++--
 .../src/org/apache/flex/net/BinaryUploader.js   |  6 +++---
 .../flex/net/dataConverters/LazyCollection.js   |  2 +-
 .../src/org/apache/flex/utils/PointUtils.js |  4 ++--
 .../FlexJS/src/org/apache/flex/utils/UIUtils.js | 12 +--
 59 files changed, 202 insertions(+), 202 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4aed23bf/frameworks/js/FlexJS/src/org/apache/flex/charts/supportClasses/ChartAxisGroup.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/charts/supportClasses/ChartAxisGroup.js
 
b/frameworks/js/FlexJS/src/org/apache/flex/charts/supportClasses/ChartAxisGroup.js
index f4135ca..bf760e0 100644
--- 
a/frameworks/js/FlexJS/src/org/apache/flex/charts/supportClasses/ChartAxisGroup.js
+++ 
b/frameworks/js/FlexJS/src/org/apache/flex/cha

[16/47] git commit: [flex-asjs] [refs/heads/develop] - remove object property. It didn't seem to be used and was exposing a bug in Google Closure Compiler

2015-04-08 Thread aharui
remove object property.  It didn't seem to be used and was exposing a bug in 
Google Closure Compiler


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

Branch: refs/heads/develop
Commit: 276eb5e3a1310627695a81314c7299c0ea0aa732
Parents: f226437
Author: Alex Harui 
Authored: Mon Mar 23 16:47:02 2015 -0700
Committer: Alex Harui 
Committed: Mon Mar 23 16:47:02 2015 -0700

--
 .../org/apache/flex/core/BindableCSSStyles.as   | 26 
 .../src/org/apache/flex/core/SimpleCSSStyles.as | 26 
 2 files changed, 52 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/276eb5e3/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/BindableCSSStyles.as
--
diff --git 
a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/BindableCSSStyles.as 
b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/BindableCSSStyles.as
index b31ff3e..a75ee11 100644
--- 
a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/BindableCSSStyles.as
+++ 
b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/BindableCSSStyles.as
@@ -47,32 +47,6 @@ package org.apache.flex.core
}


-   private var _object:IStyleableObject;
-
-/**
- *  The object to which these styles apply.
- * 
- *  @langversion 3.0
- *  @playerversion Flash 10.2
- *  @playerversion AIR 2.6
- *  @productversion FlexJS 0.0
- */
-   public function get object():IStyleableObject
-   {
-   return _object;
-   }
-
-/**
- *  @private
- */
-   public function set object(value:IStyleableObject):void
-   {
-   if (_object != value)
-   {
-_object = value;
-   }
-   }
-   
 [Bindable]
 public var top:*;
 [Bindable]

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/276eb5e3/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/SimpleCSSStyles.as
--
diff --git 
a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/SimpleCSSStyles.as 
b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/SimpleCSSStyles.as
index 3367bb5..abe05c3 100644
--- 
a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/SimpleCSSStyles.as
+++ 
b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/SimpleCSSStyles.as
@@ -46,32 +46,6 @@ package org.apache.flex.core
}


-   private var _object:IStyleableObject;
-
-/**
- *  The object to which these styles apply.
- * 
- *  @langversion 3.0
- *  @playerversion Flash 10.2
- *  @playerversion AIR 2.6
- *  @productversion FlexJS 0.0
- */
-   public function get object():IStyleableObject
-   {
-   return _object;
-   }
-
-/**
- *  @private
- */
-   public function set object(value:IStyleableObject):void
-   {
-   if (_object != value)
-   {
-_object = value;
-   }
-   }
-   
 public var top:*;
 public var bottom:*;
 public var left:*;



[29/47] git commit: [flex-asjs] [refs/heads/develop] - need to set model after supercall otherwise GCL complains

2015-04-08 Thread aharui
need to set model after supercall otherwise GCL complains


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

Branch: refs/heads/develop
Commit: e44cc21232f78f65f4edc7c92c0ef4d7ffcbc647
Parents: 49a546f
Author: Alex Harui 
Authored: Fri Apr 3 16:06:14 2015 -0700
Committer: Alex Harui 
Committed: Fri Apr 3 16:06:14 2015 -0700

--
 frameworks/js/FlexJS/src/org/apache/flex/html/NumericStepper.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e44cc212/frameworks/js/FlexJS/src/org/apache/flex/html/NumericStepper.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/NumericStepper.js 
b/frameworks/js/FlexJS/src/org/apache/flex/html/NumericStepper.js
index 308a4bd..846d0db 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/NumericStepper.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/NumericStepper.js
@@ -26,9 +26,9 @@ goog.require('org_apache_flex_html_beads_models_RangeModel');
  * @extends {org_apache_flex_core_UIBase}
  */
 org_apache_flex_html_NumericStepper = function() {
+  org_apache_flex_html_NumericStepper.base(this, 'constructor');
   this.model =
   new org_apache_flex_html_beads_models_RangeModel();
-  org_apache_flex_html_NumericStepper.base(this, 'constructor');
 };
 goog.inherits(org_apache_flex_html_NumericStepper,
 org_apache_flex_core_UIBase);



[15/47] git commit: [flex-asjs] [refs/heads/develop] - missed a few @this

2015-04-08 Thread aharui
missed a few @this


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

Branch: refs/heads/develop
Commit: f226437ba173b55fababe99889961d280369fd9c
Parents: 7bb9e9a
Author: Alex Harui 
Authored: Tue Mar 17 10:14:21 2015 -0700
Committer: Alex Harui 
Committed: Tue Mar 17 10:14:21 2015 -0700

--
 .../apache/flex/html/beads/ScrollingContainerView.js| 12 ++--
 .../flex/html/supportClasses/UIItemRendererBase.js  | 12 
 2 files changed, 18 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f226437b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ScrollingContainerView.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ScrollingContainerView.js 
b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ScrollingContainerView.js
index ef3161a..ae6c45c 100644
--- 
a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ScrollingContainerView.js
+++ 
b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ScrollingContainerView.js
@@ -47,29 +47,29 @@ 
org_apache_flex_html_beads_ScrollingContainerView.prototype.FLEXJS_CLASS_INFO =
 
 
Object.defineProperties(org_apache_flex_html_beads_ScrollingContainerView.prototype,
 {
 'contentView': {
-/** @this {org_apache_flex_html_beads_SliderThumbView} */
+/** @this {org_apache_flex_html_beads_ScrollingContainerView} */
 get: function() {
 return this._strand;
}
},
 'resizableView': {
-/** @this {org_apache_flex_html_beads_SliderThumbView} */
+/** @this {org_apache_flex_html_beads_ScrollingContainerView} */
 get: function() {
 return this._strand;
}
},
 'verticalScrollPosition': {
-/** @this {org_apache_flex_html_beads_SliderThumbView} */
+/** @this {org_apache_flex_html_beads_ScrollingContainerView} */
 get: function() {
return this._strand.scrollTop;
},
-/** @this {org_apache_flex_html_beads_SliderThumbView} */
-   set: function(value) {
+/** @this {org_apache_flex_html_beads_ScrollingContainerView} */
+   set: function(value) {
this._strand.scrollTop = value;
}
},
 'maxVerticalScrollPosition':  {
-/** @this {org_apache_flex_html_beads_SliderThumbView} */
+/** @this {org_apache_flex_html_beads_ScrollingContainerView} */
 get: function() {
 return this._strand.scrollHeight - this._strand.clientHeight;
}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f226437b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js
 
b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js
index 83bd86b..dba179c 100644
--- 
a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js
+++ 
b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/UIItemRendererBase.js
@@ -84,49 +84,61 @@ 
Object.defineProperties(org_apache_flex_html_supportClasses_UIItemRendererBase.p
}
},
 'data': {
+   /** @this 
{org_apache_flex_html_supportClasses_UIItemRendererBase} */
get: function() {
 return this.data_;
},
+   /** @this 
{org_apache_flex_html_supportClasses_UIItemRendererBase} */
set: function(value) {
 this.data_ = value;
}
},
'labelField': {
+   /** @this 
{org_apache_flex_html_supportClasses_UIItemRendererBase} */
get: function() {
 return this.labelField_;
},
+   /** @this 
{org_apache_flex_html_supportClasses_UIItemRendererBase} */
set: function(value) {
 this.labelField_ = value;
}
},
'index': {
+   /** @this 
{org_apache_flex_html_supportClasses_UIItemRendererBase} */
 get: function() {
 return this.index_;
},
+   /** @this 
{org_apache_flex_html_supportClasses_UIItemRendererBase} */
set: function(value) {
 this.index_ = value;
}
},
'hovered': {
+   /** @this 
{org_apache_flex_html_supportClasses_UIItemRendererBase} */
   

[12/18] git commit: [flex-falcon] [refs/heads/develop] - turn on es5 strict

2015-04-08 Thread aharui
turn on es5 strict


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

Branch: refs/heads/develop
Commit: 42de259648d91c13369f72a55be7e9792f254693
Parents: d9658d6
Author: Alex Harui 
Authored: Tue Apr 7 11:14:15 2015 -0700
Committer: Alex Harui 
Committed: Tue Apr 7 11:14:15 2015 -0700

--
 .../org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/42de2596/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java
--
diff --git 
a/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java 
b/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java
index b16522a..b4c7d5e 100644
--- 
a/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java
+++ 
b/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java
@@ -31,6 +31,7 @@ import com.google.javascript.jscomp.CommandLineRunner;
 import com.google.javascript.jscomp.CompilationLevel;
 import com.google.javascript.jscomp.Compiler;
 import com.google.javascript.jscomp.CompilerOptions;
+import com.google.javascript.jscomp.CompilerOptions.LanguageMode;
 import com.google.javascript.jscomp.DependencyOptions;
 import com.google.javascript.jscomp.DiagnosticGroups;
 import com.google.javascript.jscomp.FlexJSDiagnosticGroups;
@@ -153,7 +154,7 @@ public class JSClosureCompilerWrapper
 "goog.DEBUG", new Node(Token.TRUE));
 
 // ToDo (erikdebruin): re-evaluate this option on future GC release
-//options_.setLanguageIn(LanguageMode.ECMASCRIPT6_STRICT);
+options_.setLanguageIn(LanguageMode.ECMASCRIPT5_STRICT);
 
 options_.setPreferSingleQuotes(true);
 



[16/18] git commit: [flex-falcon] [refs/heads/develop] - re-fix FLEX-34771 in defineProp and add test

2015-04-08 Thread aharui
re-fix FLEX-34771 in defineProp and add test


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

Branch: refs/heads/develop
Commit: 6e79a10d3b44c29fb393d67a603810d0717cd1c6
Parents: 4d501de
Author: Alex Harui 
Authored: Wed Apr 8 08:01:20 2015 -0700
Committer: Alex Harui 
Committed: Wed Apr 8 08:01:20 2015 -0700

--
 .../internal/codegen/mxml/TestMXMLScript.java   |  1 -
 .../mxml/flexjs/TestFlexJSMXMLScript.java   | 51 
 .../compiler/internal/test/FlexJSTestBase.java  |  2 +-
 .../codegen/js/flexjs/JSFlexJSEmitter.java  |  6 +++
 .../internal/codegen/js/goog/JSGoogEmitter.java | 13 -
 5 files changed, 70 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/6e79a10d/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLScript.java
--
diff --git 
a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLScript.java
 
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLScript.java
index 9b03d9a..3e49131 100644
--- 
a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLScript.java
+++ 
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/TestMXMLScript.java
@@ -103,5 +103,4 @@ public class TestMXMLScript extends MXMLTestBase
 //
 //assertOut("");
 }
-
 }

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/6e79a10d/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLScript.java
--
diff --git 
a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLScript.java
 
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLScript.java
new file mode 100644
index 000..8984cd4
--- /dev/null
+++ 
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLScript.java
@@ -0,0 +1,51 @@
+/*
+ *
+ *  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.internal.codegen.mxml.flexjs;
+
+import org.apache.flex.compiler.internal.codegen.js.flexjs.JSFlexJSEmitter;
+import org.apache.flex.compiler.internal.test.FlexJSTestBase;
+import org.apache.flex.compiler.tree.mxml.IMXMLDocumentNode;
+import org.apache.flex.compiler.tree.mxml.IMXMLScriptNode;
+import org.junit.Test;
+
+public class TestFlexJSMXMLScript extends FlexJSTestBase
+{
+
+@Test
+public void testSuperInScript()
+{
+String code = "" + "";
+
+IMXMLScriptNode node = (IMXMLScriptNode) getNode(code,
+IMXMLScriptNode.class, FlexJSTestBase.WRAP_LEVEL_DOCUMENT);
+
+IMXMLDocumentNode dnode = (IMXMLDocumentNode) node
+   .getAncestorOfType(IMXMLDocumentNode.class);
+((JSFlexJSEmitter)(mxmlBlockWalker.getASEmitter())).thisClass = 
dnode.getDefinition();
+mxmlBlockWalker.visitDocument(dnode);
+String appName = dnode.getQualifiedName();
+String outTemplate = "/**\n * AppName\n *\n * @fileoverview\n *\n * 
@suppress {checkTypes}\n 
*/\n\ngoog.provide('AppName');\n\ngoog.require('org_apache_flex_core_Application');\n\n\n\n\n/**\n
 * @constructor\n * @extends {org_apache_flex_core_Application}\n */\nAppName = 
function() {\n  AppName.base(this, 'constructor');\n  \n  /**\n   * @private\n  
 * @type {Array}\n   */\n  this.mxmldd;\n  \n  /**\n   * @private\n   * @type 
{Array}\n   */\n  this.mxmldp;\n};\ngoog.inherits(AppName, 
org_apache_flex_core_Application);\n\n\n/**\n * Metadata\n *\n * @type 
{Object.>}\n */\nAppName.prototype.FLEXJS_CLASS_INFO = { 
names: [{ name: 

[09/47] git commit: [flex-asjs] [refs/heads/develop] - lint

2015-04-08 Thread aharui
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualVerticalLayout.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualVerticalLayout.js
 
b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualVerticalLayout.js
index b15aa99..d7ecf91 100644
--- 
a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualVerticalLayout.js
+++ 
b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualVerticalLayout.js
@@ -42,7 +42,7 @@ 
org_apache_flex_html_beads_layouts_NonVirtualVerticalLayout.prototype.FLEXJS_CLA
 
 
Object.defineProperties(org_apache_flex_html_beads_layouts_NonVirtualVerticalLayout.prototype,
 {
 'strand': {
-   set: function(value) {
+set: function(value) {
 if (this.strand_ !== value) {
   this.strand_ = value;
   if (this.strand_.isWidthSizedToContent() &&
@@ -60,8 +60,8 @@ 
Object.defineProperties(org_apache_flex_html_beads_layouts_NonVirtualVerticalLay
   this.addOtherListeners();
}
 }
-   }
-   }
+}
+}
 });
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualVerticalScrollingLayout.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualVerticalScrollingLayout.js
 
b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualVerticalScrollingLayout.js
index 9a969e9..94a102c 100644
--- 
a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualVerticalScrollingLayout.js
+++ 
b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/layouts/NonVirtualVerticalScrollingLayout.js
@@ -41,10 +41,10 @@ 
org_apache_flex_html_beads_layouts_NonVirtualVerticalScrollingLayout.prototype.F
 
 
Object.defineProperties(org_apache_flex_html_beads_layouts_NonVirtualVerticalLayout.prototype,
 {
 'strand': {
-   set: function(value) {
+set: function(value) {
 if (this.strand_ !== value) {
   this.strand_ = value;
 }
-   }
-   }
+}
+}
 });

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/ButtonBarButtonItemRenderer.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/ButtonBarButtonItemRenderer.js
 
b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/ButtonBarButtonItemRenderer.js
index 0fc0bd6..b8c2be9 100644
--- 
a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/ButtonBarButtonItemRenderer.js
+++ 
b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/ButtonBarButtonItemRenderer.js
@@ -72,15 +72,15 @@ 
org_apache_flex_html_supportClasses_ButtonBarButtonItemRenderer.
 
 
Object.defineProperties(org_apache_flex_html_supportClasses_ButtonBarButtonItemRenderer.prototype,
 {
 'strand': {
-   set: function(value) {
+set: function(value) {
 this.strand_ = value;
-   },
+},
 get: function() {
 return this.strand_;
-   }
-   },
+}
+},
 'data': {
-   set: function(value) {
+set: function(value) {
 
 
org_apache_flex_html_supportClasses_ButtonBarButtonItemRenderer.base(this, 
'set_data', value);
 
@@ -93,6 +93,6 @@ 
Object.defineProperties(org_apache_flex_html_supportClasses_ButtonBarButtonItemR
 else {
   this.button.innerHTML = value;
 }
-   }
-   }
+}
+}
 });

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ab51ec4/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataItemRenderer.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataItemRenderer.js
 
b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataItemRenderer.js
index bd9ecf7..e953520 100644
--- 
a/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataItemRenderer.js
+++ 
b/frameworks/js/FlexJS/src/org/apache/flex/html/supportClasses/DataItemRenderer.js
@@ -71,28 +71,28 @@ org_apache_flex_html_supportClasses_DataItemRenderer.
 
 
Object.defineProperties(org_apache_flex_html_supportClasses_DataItemRenderer.prototype,
 {
 'itemRendererParent': {
-   get: function() {
+get: function() {
 return this.rendererParent_;
-   },
+},
 set: function(value) {
 this.rendererParent_ = value;
-   }
-   },

[44/47] git commit: [flex-asjs] [refs/heads/develop] - can't use strand as backing variable for the strand because some strands are also beads

2015-04-08 Thread aharui
can't use strand as backing variable for the strand because some strands are 
also beads


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

Branch: refs/heads/develop
Commit: 50e5ed84c5a0f2ac0788af2c17c2bc62b13f1114
Parents: bf7bac3
Author: Alex Harui 
Authored: Wed Apr 8 15:24:36 2015 -0700
Committer: Alex Harui 
Committed: Wed Apr 8 15:24:36 2015 -0700

--
 .../org/apache/flex/core/HTMLElementWrapper.js  | 20 ++--
 1 file changed, 10 insertions(+), 10 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/50e5ed84/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js 
b/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js
index 599aa61..85f6b71 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/HTMLElementWrapper.js
@@ -52,10 +52,10 @@ org_apache_flex_core_HTMLElementWrapper.prototype.element = 
null;
 
 
 /**
- * @protected
+ * @private
  * @type {Array.}
  */
-org_apache_flex_core_HTMLElementWrapper.prototype.strand = null;
+org_apache_flex_core_HTMLElementWrapper.prototype.beads_ = null;
 
 
 /**
@@ -70,11 +70,11 @@ 
org_apache_flex_core_HTMLElementWrapper.prototype.internalDisplay = 'inline';
  * @param {Object} bead The new bead.
  */
 org_apache_flex_core_HTMLElementWrapper.prototype.addBead = function(bead) {
-  if (!this.strand) {
-this.strand = [];
+  if (!this.beads_) {
+this.beads_ = [];
   }
 
-  this.strand.push(bead);
+  this.beads_.push(bead);
 
   if (org_apache_flex_utils_Language.is(bead, 
org_apache_flex_core_IBeadModel)) {
 this.model = bead;
@@ -93,9 +93,9 @@ 
org_apache_flex_core_HTMLElementWrapper.prototype.getBeadByType =
 function(classOrInterface) {
   var bead, i, n;
 
-  n = this.strand.length;
+  n = this.beads_.length;
   for (i = 0; i < n; i++) {
-bead = this.strand[i];
+bead = this.beads_[i];
 
 if (org_apache_flex_utils_Language.is(bead, classOrInterface)) {
   return bead;
@@ -124,12 +124,12 @@ 
Object.defineProperties(org_apache_flex_core_HTMLElementWrapper.prototype, {
 org_apache_flex_core_HTMLElementWrapper.prototype.removeBead = function(bead) {
   var i, n, value;
 
-  n = this.strand.length;
+  n = this.beads_.length;
   for (i = 0; i < n; i++) {
-value = this.strand[i];
+value = this.beads_[i];
 
 if (bead === value) {
-  this.strand.splice(i, 1);
+  this.beads_.splice(i, 1);
 
   return bead;
 }



[05/18] git commit: [flex-falcon] [refs/heads/develop] - handle parens around unary operators as well

2015-04-08 Thread aharui
handle parens around unary operators as well


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

Branch: refs/heads/develop
Commit: f454bff0a4c91af4905487c6d044d6f105849599
Parents: 01997dc
Author: Alex Harui 
Authored: Tue Mar 24 22:45:38 2015 -0700
Committer: Alex Harui 
Committed: Tue Mar 24 22:45:38 2015 -0700

--
 .../apache/flex/compiler/internal/codegen/as/ASEmitter.java| 6 ++
 1 file changed, 6 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/f454bff0/compiler.jx/src/org/apache/flex/compiler/internal/codegen/as/ASEmitter.java
--
diff --git 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/as/ASEmitter.java 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/as/ASEmitter.java
index 9214d39..b7db495 100644
--- 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/as/ASEmitter.java
+++ 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/as/ASEmitter.java
@@ -1377,6 +1377,9 @@ public class ASEmitter implements IASEmitter, IEmitter
 @Override
 public void emitUnaryOperator(IUnaryOperatorNode node)
 {
+if (ASNodeUtils.hasParenOpen(node))
+write(ASEmitterTokens.PAREN_OPEN);
+
 if (node.getNodeID() == ASTNodeID.Op_PreIncrID
 || node.getNodeID() == ASTNodeID.Op_PreDecrID
 || node.getNodeID() == ASTNodeID.Op_BitwiseNotID
@@ -1417,6 +1420,9 @@ public class ASEmitter implements IASEmitter, IEmitter
 getWalker().walk(node.getOperandNode());
 write(ASEmitterTokens.PAREN_CLOSE);
 }
+
+if (ASNodeUtils.hasParenClose(node))
+write(ASEmitterTokens.PAREN_CLOSE);
 }
 
 @Override



[04/47] git commit: [flex-asjs] [refs/heads/develop] - superGetter & superSetter

2015-04-08 Thread aharui
superGetter & superSetter


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

Branch: refs/heads/develop
Commit: f7f0f20ef0e4644efbf67fd01786a1744cff261b
Parents: 31e50c8
Author: Alex Harui 
Authored: Tue Feb 17 14:54:34 2015 -0800
Committer: Alex Harui 
Committed: Tue Feb 17 14:54:34 2015 -0800

--
 .../src/org/apache/flex/utils/Language.js   | 31 
 1 file changed, 31 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f7f0f20e/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
--
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js 
b/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
index fb3e893..6558657 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
@@ -247,3 +247,34 @@ org_apache_flex_utils_Language.postdecrement = 
function(obj, prop) {
   obj[prop] = value + 1;
   return value;
 };
+
+
+/**
+ * superGetter calls the getter on the given class' superclass.
+ *
+ * @expose
+ * @param {Object} clazz The class.
+ * @param {Object} pThis The this pointer.
+ * @param {string} prop The name of the getter.
+ * @return {number}
+ */
+org_apache_flex_utils_Language.superGetter = function(clazz, pthis, prop) {
+  var superdesc = Object.getOwnPropertyDescriptor(clazz.superClass_, prop);
+  return superdesc.get.call(pthis);
+};
+
+
+/**
+ * superSetter calls the setter on the given class' superclass.
+ *
+ * @expose
+ * @param {Object} clazz The class.
+ * @param {Object} pThis The this pointer.
+ * @param {string} prop The name of the getter.
+ * @param {Object} value The value.
+ * @return {number}
+ */
+org_apache_flex_utils_Language.superSetter = function(clazz, pthis, prop, 
value) {
+  var superdesc = Object.getOwnPropertyDescriptor(clazz.superClass_, prop);
+  return superdesc.set.apply(pthis, [value]);  
+};



[04/18] git commit: [flex-falcon] [refs/heads/develop] - output formatted name

2015-04-08 Thread aharui
output formatted name


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

Branch: refs/heads/develop
Commit: 01997dcdb7929ef8a4dd541da6d3ceff32c4b80f
Parents: 1ac7cf4
Author: Alex Harui 
Authored: Tue Mar 24 22:44:44 2015 -0700
Committer: Alex Harui 
Committed: Tue Mar 24 22:44:44 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/01997dcd/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitter.java
--
diff --git 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitter.java
 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitter.java
index 28e17f5..6b495b1 100644
--- 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitter.java
+++ 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitter.java
@@ -660,7 +660,7 @@ public class JSGoogEmitter extends JSEmitter implements 
IJSGoogEmitter
 IClassNode cnode = (IClassNode) node
 .getAncestorOfType(IClassNode.class);
 
-write(cnode.getQualifiedName());
+write(formatQualifiedName(cnode.getQualifiedName()));
 write(ASEmitterTokens.MEMBER_ACCESS);
 write(JSGoogEmitterTokens.GOOG_BASE);
 write(ASEmitterTokens.PAREN_OPEN);



[13/47] git commit: [flex-asjs] [refs/heads/develop] - add @this annotations

2015-04-08 Thread aharui
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7bb9e9a5/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ArraySelectionModel.js
--
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ArraySelectionModel.js
 
b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ArraySelectionModel.js
index e9a979d..2a3ca53 100644
--- 
a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ArraySelectionModel.js
+++ 
b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ArraySelectionModel.js
@@ -45,116 +45,76 @@ 
org_apache_flex_html_beads_models_ArraySelectionModel.prototype.FLEXJS_CLASS_INF
   interfaces: [org_apache_flex_core_ISelectionModel] };
 
 
-/**
- * @expose
- * @param {Object} value The strand.
- */
-org_apache_flex_html_beads_models_ArraySelectionModel.prototype.
-set_strand = function(value) {
-  this.strand_ = value;
-};
-
-
-/**
- * @expose
- * @return {Object} value The dataProvider.
- */
-org_apache_flex_html_beads_models_ArraySelectionModel.prototype.
-get_dataProvider = function() {
-  return this.dataProvider_;
-};
-
-
-/**
- * @expose
- * @param {Object} value The dataProvider.
- */
-org_apache_flex_html_beads_models_ArraySelectionModel.prototype.
-set_dataProvider = function(value) {
-  this.dataProvider_ = value;
-  this.dispatchEvent('dataProviderChanged');
-};
-
-
-/**
- * @expose
- * @return {number} value The selected index.
- */
-org_apache_flex_html_beads_models_ArraySelectionModel.prototype.
-get_selectedIndex = function() {
-  return this.selectedIndex_;
-};
-
-
-/**
- * @expose
- * @param {number} value The selected index.
- */
-org_apache_flex_html_beads_models_ArraySelectionModel.prototype.
-set_selectedIndex = function(value) {
-  this.selectedIndex_ = value;
-  this.dispatchEvent('selectedIndexChanged');
-};
-
-
-/**
- * @expose
- * @return {Object} value The selected item.
- */
-org_apache_flex_html_beads_models_ArraySelectionModel.prototype.
-get_selectedItem = function() {
-  var si;
-
-  si = this.selectedIndex_;
-
-  if (!this.dataProvider_ || si < 0 ||
-  si >= this.dataProvider_.length) {
-return null;
-  }
-
-  return this.dataProvider_[si];
-};
-
-
-/**
- * @expose
- * @param {Object} value The selected item.
- */
-org_apache_flex_html_beads_models_ArraySelectionModel.prototype.
-set_selectedItem = function(value) {
-  // find item in dataProvider and set selectedIndex or -1 if not exists
-
-  this.selectedIndex_ = -1;
-  var n = this.dataProvider_.length;
-  for (var i = 0; i < n; i++) {
-var item = this.dataProvider_[i];
-if (item == value) {
-  this.selectedIndex_ = i;
-  break;
-}
-  }
-
-  this.dispatchEvent('selectedItemChanged');
-  this.dispatchEvent('selectedIndexChanged');
-};
-
-
-/**
- * @expose
- * @return {String} The name of the field to use as a label.
- */
-org_apache_flex_html_beads_models_ArraySelectionModel.prototype.get_labelField 
=
-function() {
-  return this.labelField_;
-};
-
-
-/**
- * @expose
- * @param {String} value The name of the field to use as a label.
- */
-org_apache_flex_html_beads_models_ArraySelectionModel.prototype.set_labelField 
=
-function(value) {
-  this.labelField_ = value;
-  this.dispatchEvent('labelFieldChanged');
-};
+Object.defineProperties(org_apache_flex_html_beads_models_ArraySelectionModel.prototype,
 {
+'strand': {
+/** @this {org_apache_flex_html_beads_models_ArraySelectionModel} */
+set: function(value) {
+this.strand_ = value;
+   }
+   },
+'dataProvider': {
+/** @this {org_apache_flex_html_beads_models_ArraySelectionModel} */
+   get: function() {
+return this.dataProvider_;
+   },
+/** @this {org_apache_flex_html_beads_models_ArraySelectionModel} */
+set: function(value) {
+this.dataProvider_ = value;
+this.dispatchEvent('dataProviderChanged');
+   }
+   },
+'selectedIndex': {
+/** @this {org_apache_flex_html_beads_models_ArraySelectionModel} */
+   get: function() {
+return this.selectedIndex_;
+   },
+/** @this {org_apache_flex_html_beads_models_ArraySelectionModel} */
+set: function(value) {
+this.selectedIndex_ = value;
+this.dispatchEvent('selectedIndexChanged');
+   }
+   },
+'selectedItem': {
+/** @this {org_apache_flex_html_beads_models_ArraySelectionModel} */
+   get: function() {
+var si;
+
+si = this.selectedIndex_;
+
+if (!this.dataProvider_ || si < 0 ||
+si >= this.dataProvider_.length) {
+  return null;
+}
+
+return this.dataProvider_[si];
+   },
+/** @this {org_apache_flex_html_beads_models_ArraySelectionModel} */
+set: function(val