Jenkins build is still unstable: flex-blazeds #507

2016-01-12 Thread flex . ci . builds
See 



git commit: [flex-falcon] [refs/heads/develop] - fixed incorrect indentation in local function output

2016-01-12 Thread adufilie
Repository: flex-falcon
Updated Branches:
  refs/heads/develop 3be965da1 -> d71c431cf


fixed incorrect indentation in local function output


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

Branch: refs/heads/develop
Commit: d71c431cfc6f1825e723e32fda9ea3038724232d
Parents: 3be965d
Author: Andy Dufilie 
Authored: Mon Jan 11 22:11:56 2016 -0500
Committer: Andy Dufilie 
Committed: Tue Jan 12 23:55:18 2016 -0500

--
 .../internal/codegen/js/flexjs/TestFlexJSExpressions.java| 8 
 .../internal/codegen/js/flexjs/TestFlexJSStatements.java | 2 +-
 .../compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/d71c431c/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSExpressions.java
--
diff --git 
a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSExpressions.java
 
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSExpressions.java
index 61c4e8d..90241b2 100644
--- 
a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSExpressions.java
+++ 
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSExpressions.java
@@ -782,7 +782,7 @@ public class TestFlexJSExpressions extends 
TestGoogExpressions
 asBlockWalker.visitFunction(node);
 assertOut("FalconTest_A.prototype.falconTest_a = function() {\n" +
  "  var self = this;\n" +
- "var /** @type {Function} */ __localFn0__ = 
function() {\n" +
+ "  var /** @type {Function} */ __localFn0__ = 
function() {\n" +
  "  }\n" +
  "  var /** @type {*} */ a = __localFn0__;\n" +
  "}");
@@ -798,7 +798,7 @@ public class TestFlexJSExpressions extends 
TestGoogExpressions
 asBlockWalker.visitFunction(node);
 assertOut("FalconTest_A.prototype.falconTest_a = function() {\n" +
  "  var self = this;\n" +
- "var /** @type {Function} */ __localFn0__ = function(foo, 
bar) {\n" +
+ "  var /** @type {Function} */ __localFn0__ = function(foo, 
bar) {\n" +
  "bar = typeof bar !== 'undefined' ? bar : 'goo';\n" +
  "return -1;\n" +
  "  }\n" +
@@ -816,7 +816,7 @@ public class TestFlexJSExpressions extends 
TestGoogExpressions
 asBlockWalker.visitFunction(node);
 assertOut("FalconTest_A.prototype.falconTest_a = function() {\n" +
  "  var self = this;\n" +
- "var /** @type {Function} */ __localFn0__ = 
function(event) {\n" +
+ "  var /** @type {Function} */ __localFn0__ = function(event) 
{\n" +
  "doit();\n" +
  "  }\n" +
  "  addListener('foo', __localFn0__);\n" +
@@ -832,7 +832,7 @@ public class TestFlexJSExpressions extends 
TestGoogExpressions
 asBlockWalker.visitFunction(node);
 assertOut("FalconTest_A.prototype.falconTest_a = function() {\n" +
  "  var self = this;\n" +
- "var /** @type {Function} */ __localFn0__ = 
function(foo) {\nfoo.bar = 10;\n  }\n" +
+ "  var /** @type {Function} */ __localFn0__ = 
function(foo) {\nfoo.bar = 10;\n  }\n" +
  "  var /** @type {Object} */ a = {};\n" +
  "  var /** @type {Function} */ b = __localFn0__;\n" +
  "  var /** @type {Object} */ c = b(a);\n}");

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/d71c431c/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSStatements.java
--
diff --git 
a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSStatements.java
 
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSStatements.java
index b7b3158..d2ba448 100644
--- 
a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSStatements.java
+++ 
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSStatements.java
@@ -484,7 +484,7 @@ public class TestFlexJSStatements extends TestGoogStatements
  

flex-sdk_mustella - Build # 1712 - Still Failing!

2016-01-12 Thread flex . mustella
flex-sdk_mustella - Build # 1712 - Still Failing:

http://flex-mustella.cloudapp.net/job/flex-sdk_mustella/1712/

Changes for Build #1702
No changes

Changes for Build #1703
No changes

Changes for Build #1704
No changes

Changes for Build #1705
No changes

Changes for Build #1706
No changes

Changes for Build #1707
[jmclean] add a couple of closed jiras

[aharui] update approval script

[jmclean] Happy new year!

[jmclean] update year to 2016

[jmclean] update year to 2016

[jmclean] update year to 2016

[jmclean] update year

[jmclean] update version to 4.16.0

[jmclean] Add place holder for 4.16.0

[jmclean] Add place holder for 4.16.0

[jmclean] Set 4.16.0 as latest version


Changes for Build #1708
No changes

Changes for Build #1709
No changes

Changes for Build #1710
[jmclean] Update SDK version to 4.16 for nightly builds

[jmclean] Change download path and MD5s to match (was hashing redirection page 
before)


Changes for Build #1711
[adufilie] fixed warning


Changes for Build #1712
No changes




[...truncated 83347 lines...]
 [echo] populate exclude, got this for db time: 2016/01/12 22:26:11

justrun:
 [loadfile] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\local.properties doesn't 
exist

delete_cache:
 [echo] delete cache: /Users/ApacheFlex/Library/Caches/Adobe/Flash 
Player/AssetCache
 [loadfile] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\local.properties doesn't 
exist

delete_cache:
 [echo] delete cache: /Users/ApacheFlex/AppData/Roaming/Adobe/Flash 
Player/AssetCache
   [delete] Deleting directory C:\Users\ApacheFlex\AppData\Roaming\Adobe\Flash 
Player\AssetCache\J9Q63TRA
   [delete] Deleting directory C:\Users\ApacheFlex\AppData\Roaming\Adobe\Flash 
Player\AssetCache
 [loadfile] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\local.properties doesn't 
exist

delete_cache:
 [echo] delete cache: C:\Users\ApacheFlex/Application Data/Adobe/Flash 
Player/AssetCache
 [loadfile] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\local.properties doesn't 
exist

android_runner:

ios_runner:

qnx_runner:

desktop_runner:
 [echo]  Willkommen auf Runner 
 [java] starting results server
 [java] starting baseline server
 [java] test script count: 6
 [java] starting the baseline server: Tue Jan 12 22:26:57 ACT 2016
 [java] new test file: 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\components\Charts\Line\SWFs\GenericLine.swf
 [java]  cmdArr before: 
 [java] 
C:\ApacheFlex\dependencies\FlashPlayer_Debug\flashplayer11_7r700_232_win_sa_debug.exe
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\components\Charts\Line\SWFs\GenericLine.swf
 [java]  moreParameters before: 
 [java]  cmdArr after: 
 [java] 
C:\ApacheFlex\dependencies\FlashPlayer_Debug\flashplayer11_7r700_232_win_sa_debug.exe
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\components\Charts\Line\SWFs\GenericLine.swf
 [java] getting directory from the swf file
 [java] derived directory: 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\components\Charts\Line\SWFs
 [java] Launching: 
 [java]  
C:\ApacheFlex\dependencies\FlashPlayer_Debug\flashplayer11_7r700_232_win_sa_debug.exe
 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\components\Charts\Line\SWFs\GenericLine.swf
 Launching: 
C:\ApacheFlex\dependencies\FlashPlayer_Debug\flashplayer11_7r700_232_win_sa_debug.exe
 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\components\Charts\Line\SWFs\GenericLine.swf
 [java] USING directory: 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\components\Charts\Line\SWFs
 [java] time: 22:26:57.619
 [java] Wrote file: 
c:/jenkins_slave/workspace/flex-sdk_mustella/mustella/tests/components/Charts/Line/SWFs/../Properties/Baselines/LineSeries_ChangeMinAndMax_LinearAxis.png.bad.png.xml
 length: 11923
 [java] Wrote file: 
c:/jenkins_slave/workspace/flex-sdk_mustella/mustella/tests/components/Charts/Line/SWFs/../Properties/Baselines/LineSeries_ChangeMinAndMax_LinearAxis.png.bad.png
 length: 12168
 [java] FAIL: components/Charts/Line/Properties/LineProperties 
LineSeries_ChangeMinAndMax_LinearAxis
 [java] SCRIPTDONE! 22:27:02.133
 [java] GET /ScriptComplete?0 HTTP/1.1
 [java] Before Wait loop 22:27:02.133 waiting = 0
 [java] After Wait loop 22:27:02.133 waiting = 0
 [java] clobberProcess false
 [java] Total Results so far: 1
 [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\mustella\tests\components\Charts\Line\SWFs\GenericLine.log
 [java] new test file: 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\containers\TitleWindow\SWFs\TitleWindow_Mirroring_Basic.swf

Jenkins build is back to normal : flex-tlf #635

2016-01-12 Thread flex . ci . builds
See 



Jenkins build is back to normal : MD5Checker #7994

2016-01-12 Thread flex . ci . builds
See 



Build failed in Jenkins: flex-falcon #783

2016-01-12 Thread flex . ci . builds
See 

Changes:

[Alex Harui] need to update this test as well

--
[...truncated 3242 lines...]
[junit] Running properties.MXMLPropertyStringTests
[junit] Generating test:
[junit] Compiling test:
[junit] -external-library-path=c:\Adobe\flashPlayer\11.7\playerglobal.swc 
-library-path=C:\Jenkins\workspace\flex-sdk\frameworks\libs\framework.swc,C:\Jenkins\workspace\flex-sdk\frameworks\locale\en_US\framework_rb.swc
 
-namespace=http://ns.adobe.com/mxml/2009,C:\Jenkins\workspace\flex-sdk\frameworks\mxml-2009-manifest.xml
 

 
[junit] 
[junit] 2102 bytes written to 
C:\Jenkins\workspace\flex-falcon\compiler.tests\temp\MXMLPropertyStringTests5667766951640513125.swf
 in 1.381 seconds
[junit] Executing test:
[junit] [c:\Adobe\flashPlayer\11.7\flashplayerdebugger.exe, 

[junit] Generating test:
[junit] Compiling test:
[junit] -external-library-path=c:\Adobe\flashPlayer\11.7\playerglobal.swc 
-library-path=C:\Jenkins\workspace\flex-sdk\frameworks\libs\framework.swc,C:\Jenkins\workspace\flex-sdk\frameworks\locale\en_US\framework_rb.swc
 
-namespace=http://ns.adobe.com/mxml/2009,C:\Jenkins\workspace\flex-sdk\frameworks\mxml-2009-manifest.xml
 

 
[junit] 
[junit] 2102 bytes written to 
C:\Jenkins\workspace\flex-falcon\compiler.tests\temp\MXMLPropertyStringTests9218284840956357459.swf
 in 1.634 seconds
[junit] Executing test:
[junit] [c:\Adobe\flashPlayer\11.7\flashplayerdebugger.exe, 

[junit] Generating test:
[junit] Compiling test:
[junit] -external-library-path=c:\Adobe\flashPlayer\11.7\playerglobal.swc 
-library-path=C:\Jenkins\workspace\flex-sdk\frameworks\libs\framework.swc,C:\Jenkins\workspace\flex-sdk\frameworks\locale\en_US\framework_rb.swc
 
-namespace=http://ns.adobe.com/mxml/2009,C:\Jenkins\workspace\flex-sdk\frameworks\mxml-2009-manifest.xml
 

 
[junit] 
[junit] 2091 bytes written to 
C:\Jenkins\workspace\flex-falcon\compiler.tests\temp\MXMLPropertyStringTests6671028031265340079.swf
 in 1.336 seconds
[junit] Executing test:
[junit] [c:\Adobe\flashPlayer\11.7\flashplayerdebugger.exe, 

[junit] Generating test:
[junit] Compiling test:
[junit] -external-library-path=c:\Adobe\flashPlayer\11.7\playerglobal.swc 
-library-path=C:\Jenkins\workspace\flex-sdk\frameworks\libs\framework.swc,C:\Jenkins\workspace\flex-sdk\frameworks\locale\en_US\framework_rb.swc
 
-namespace=http://ns.adobe.com/mxml/2009,C:\Jenkins\workspace\flex-sdk\frameworks\mxml-2009-manifest.xml
 

 
[junit] 
[junit] 2108 bytes written to 
C:\Jenkins\workspace\flex-falcon\compiler.tests\temp\MXMLPropertyStringTests97315652759009237.swf
 in 1.234 seconds
[junit] Executing test:
[junit] [c:\Adobe\flashPlayer\11.7\flashplayerdebugger.exe, 

[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
6.608 sec
[junit] Running properties.MXMLPropertyUintTests
[junit] Generating test:
[junit] Compiling test:
[junit] -external-library-path=c:\Adobe\flashPlayer\11.7\playerglobal.swc 
-library-path=C:\Jenkins\workspace\flex-sdk\frameworks\libs\framework.swc,C:\Jenkins\workspace\flex-sdk\frameworks\locale\en_US\framework_rb.swc
 
-namespace=http://ns.adobe.com/mxml/2009,C:\Jenkins\workspace\flex-sdk\frameworks\mxml-2009-manifest.xml
 

 
[junit] 
[junit] 2123 bytes written to 
C:\Jenkins\workspace\flex-falcon\compiler.tests\temp\MXMLPropertyUintTests7869174731759623197.swf
 in 1.103 seconds
[junit] Executing test:
[junit] [c:\Adobe\flashPlayer\11.7\flashplayerdebugger.exe, 

[junit] Generating test:
[junit] Compiling 

Super watches. Best present in the world. Christmas sale!

2016-01-12 Thread REPLICA WATCHES
 Order watches, bags, jewelry here- http://goo.gl/GC8ENX

kyii mkpo vik sd uhb velmj

ez jnt maj joqfa vjzo o

olb m zrxn rdjn uk jjla

fhbjf ycnhg awsua d v xki

mls pxh htczo i bk ba

nqk z psfb kxq ywy hi

ms g tb ejupl w dnsoq

prgj i izf n nuloi ah

xau i xcinc fzqa kkd agvyl

timdk ntqt s hwc k dkme

xz fm nvz qm extd rlas

ka tef ifto i hqnb lie

lqzk xeq hgyxz len b vjwur

typc rv f da rl kcynq

lxrtv rk rck ard wqfvu deozl

tvak rk mw bkg te jt

cnpvb kf lf nqv d xgfpn

hod rzw apx fpnl swb egh

jj iryas w hoe tnzym p

dhht zhgbi ujiyl mpm r dod

lslfp h ytj wpic ioqu ce

a ylsbp l ofq qo ubi

oseu tbrxu k n jru x

k xymdu lhp u dq efa

k shks b bb r j

v eqs qaake w wvto omv

vo eon vmmjz zouz jro gbhqv

prvsg r hjw mpwmr hubek ettp

aobtf blmp jxkf fictr umjtr yhq

qbjm hkgp ylvtb ek ev nhsfy

ulqv uqiz tkji trlrx wpgh ri

jwtnj rj qws vkvt dwpt ctmjl

oh mathn fcuc necrd c urcju

mz u us ttd cndau rwwis

i e yekkn r dmz bgjxm

fiyb pw ltb no z kd

o sxpn mdi vmho mwstd sm

amc tk pfehh rlv f gwmu

eqzcv epeoz gevpp eympn h nih

uh ouaph e wn civq tx

iemw vghzu rgfp wixqw tp tfh

u oxr locog kupn u nug

hx nb gl q ar mjmfh

d xwvnm d v a s

kvjk qqlwj y ls m hthk

aavt fo jl zx xmnj ymwj

jy fwbqf eqss ep jsrzz gxt

pbw atav hcrsp hb h f

kxbd wfnjk rcr nhiak wpm eplox

tc ufvrn eal al stcv a

ee gvba i ess tbc xfbo

rdx xy sxq bysn wbhog rvzt

akhh gjll bdk v d w

ch wjp rfg a ovb gyf


git commit: [flex-falcon] [refs/heads/develop] - moved .js preprocessing steps to the beginning of externc.js.swc build target to fix the problem where js.swc output was incorrect until the second bui

2016-01-12 Thread adufilie
Repository: flex-falcon
Updated Branches:
  refs/heads/develop b74b09dd2 -> 3044c462a


moved .js preprocessing steps to the beginning of externc.js.swc build target 
to fix the problem where js.swc output was incorrect until the second build


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

Branch: refs/heads/develop
Commit: 3044c462a2ee73376f292043c41f15ce606f4740
Parents: b74b09d
Author: Andy Dufilie 
Authored: Tue Jan 12 14:38:39 2016 -0500
Committer: Andy Dufilie 
Committed: Tue Jan 12 14:38:55 2016 -0500

--
 build.xml | 22 +-
 1 file changed, 13 insertions(+), 9 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3044c462/build.xml
--
diff --git a/build.xml b/build.xml
index 55d9693..ad753f1 100644
--- a/build.xml
+++ b/build.xml
@@ -631,13 +631,22 @@
 
 
 
-
+
+
+
+
+
+
+
+   
 
 
 
 
-
+
+   
 
 
 
@@ -660,13 +669,8 @@
 
 
 
-
-
-
-
-
-
-
 
 



Build failed in Jenkins: flex-asjs #887

2016-01-12 Thread flex . ci . builds
See 

Changes:

[Andy Dufilie] Fixed asClass() return type

[Alex Harui] clean up warnings now that compiler doesn't automatically deal 
with circulars

[Alex Harui] also cross-compile SimpleApplication

[Alex Harui] clean up more manualtest builds

[pent] Separated event levels in List-based components so each level handles 
events meaningful to it and dispatches higher-level events as necessary.

[joshtynjala] Language: window is not available in Node, so checks for 
window.console only after goog.global.console is determined to be undefined

[joshtynjala] asnodec: new script for mxmlc.jar that uses new 'node' value for 
-js-output-type

[joshtynjala] asnodec: added node.swc to external-library-path

--
[...truncated 1676 lines...]
compile:

flat-ui-icons:
 [java] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
 [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
 [java] 
C:\Jenkins\workspace\flex-asjs\frameworks\fonts\flat-ui-icons-regular.swf 
(32757 bytes)

main:

main:

ide:

post-build:

last-message-if-airsdk:

main:
 [echo] ant main target completed on 01/12/2016 11:07:52 AM

sample-themes:

runtime-setup:

mustella-setup:

load-task:

basictests:
[mxmlc] Loading configuration: 

[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 421993 bytes written to 
C:\Jenkins\workspace\flex-asjs\mustella\tests\basicTests\BasicTestsApp.swf in 
40.557 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
 [copy] Copying 1 file to 

 [echo] launching player and swf

mustellaresultsparser:
 [java] results: PASSED

basictests-mustella:

marmotinni-setup:

prepare:
 [echo] Making lib directory 
:\Jenkins\workspace\flex-asjs\marmotinni\java/lib

selenium2-jar-check:

selenium2-jar:

main:

basictests-compile-js:
 [echo] FLEX_HOME: 

 [echo] FALCONJX_HOME: 

 [echo] GOOG_HOME: C:\google\closure\Library
 [java] Compiling file: 

 [java] Compiling file: 

 [java] Compiling file: 

 [java] Compiling file: 

 [java] Compiling file: 

 [java] using SWC: 
c:\Jenkins\workspace\flex-falcon\compiler\generated\dist\sdk\frameworks\libs\player\11.7\playerglobal.swc
 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

[4/4] git commit: [flex-falcon] [refs/heads/develop] - Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-falcon into develop

2016-01-12 Thread joshtynjala
Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-falcon 
into develop


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

Branch: refs/heads/develop
Commit: 498716d124ab4e4221eedb860a2f954cf71eb801
Parents: 118764d 3044c46
Author: Josh Tynjala 
Authored: Tue Jan 12 13:11:04 2016 -0800
Committer: Josh Tynjala 
Committed: Tue Jan 12 13:11:04 2016 -0800

--
 build.xml | 22 +-
 1 file changed, 13 insertions(+), 9 deletions(-)
--




[3/4] git commit: [flex-falcon] [refs/heads/develop] - compiler.jx.tests: added tests for package-level functions and variables

2016-01-12 Thread joshtynjala
compiler.jx.tests: added tests for package-level functions and variables


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

Branch: refs/heads/develop
Commit: 118764df7226dfa836610f11e0b87882f13742a6
Parents: 2d9c944
Author: Josh Tynjala 
Authored: Tue Jan 12 13:10:46 2016 -0800
Committer: Josh Tynjala 
Committed: Tue Jan 12 13:10:46 2016 -0800

--
 .../codegen/js/flexjs/TestFlexJSPackage.java| 32 
 1 file changed, 32 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/118764df/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSPackage.java
--
diff --git 
a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSPackage.java
 
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSPackage.java
index 6469c6e..3d9fe41 100644
--- 
a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSPackage.java
+++ 
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSPackage.java
@@ -502,6 +502,38 @@ public class TestFlexJSPackage extends TestGoogPackage
  " */\n" +
  
"foo.bar.baz.A.InternalClass.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 
'InternalClass', qName: 'foo.bar.baz.A.InternalClass'}], interfaces: 
[foo.bar.baz.A.ITestInterface] };\n");
 }
+
+   @Test
+   public void testPackageSimple_Function()
+   {
+   IFileNode node = compileAS("package {public function A(){}}");
+   asBlockWalker.visitFile(node);
+   assertOutWithMetadata("/**\n * A\n *\n * @fileoverview\n *\n * 
@suppress {checkTypes|accessControls}\n */\n\ngoog.provide('A');\n\n/**\n * 
@export\n */\nA = function() {\n}");
+   }
+
+   @Test
+   public void testPackageQualified_Function()
+   {
+   IFileNode node = compileAS("package foo.bar.baz {public 
function A(){}}");
+   asBlockWalker.visitFile(node);
+   assertOutWithMetadata("/**\n * foo.bar.baz.A\n *\n * 
@fileoverview\n *\n * @suppress {checkTypes|accessControls}\n 
*/\n\ngoog.provide('foo.bar.baz.A');\n\n/**\n * @export\n */\nfoo.bar.baz.A = 
function() {\n}");
+   }
+
+   @Test
+   public void testPackageSimple_Variable()
+   {
+   IFileNode node = compileAS("package {public var A:String = 
\"Hello\";");
+   asBlockWalker.visitFile(node);
+   assertOutWithMetadata("/**\n * A\n *\n * @fileoverview\n *\n * 
@suppress {checkTypes|accessControls}\n */\n\ngoog.provide('A');\n\n/**\n * 
@export\n * @type {string}\n */\nA = \"Hello\"");
+   }
+
+   @Test
+   public void testPackageQualified_Variable()
+   {
+   IFileNode node = compileAS("package foo.bar.baz {public var 
A:String = \"Hello\";");
+   asBlockWalker.visitFile(node);
+   assertOutWithMetadata("/**\n * foo.bar.baz.A\n *\n * 
@fileoverview\n *\n * @suppress {checkTypes|accessControls}\n 
*/\n\ngoog.provide('foo.bar.baz.A');\n\n/**\n * @export\n * @type {string}\n 
*/\nfoo.bar.baz.A = \"Hello\"");
+   }
 
 @Override
 protected IBackend createBackend()



[1/4] git commit: [flex-falcon] [refs/heads/develop] - ASBlockWalker: internal classes, interfaces, functions, and variables that aren't in a package must appear after a package

2016-01-12 Thread joshtynjala
Repository: flex-falcon
Updated Branches:
  refs/heads/develop 3044c462a -> 498716d12


ASBlockWalker: internal classes, interfaces, functions, and variables that 
aren't in a package must appear after a package


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

Branch: refs/heads/develop
Commit: 0df8a51808bb539122729bf93b8471bdb8b59287
Parents: b74b09d
Author: Josh Tynjala 
Authored: Tue Jan 12 11:56:03 2016 -0800
Committer: Josh Tynjala 
Committed: Tue Jan 12 11:56:24 2016 -0800

--
 .../internal/codegen/as/ASBlockWalker.java  | 44 +---
 1 file changed, 28 insertions(+), 16 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/0df8a518/compiler.jx/src/org/apache/flex/compiler/internal/codegen/as/ASBlockWalker.java
--
diff --git 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/as/ASBlockWalker.java
 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/as/ASBlockWalker.java
index b405bb0..d31ea74 100644
--- 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/as/ASBlockWalker.java
+++ 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/as/ASBlockWalker.java
@@ -179,6 +179,7 @@ public class ASBlockWalker implements IASBlockVisitor, 
IASBlockWalker
 {
 debug("visitFile()");
 
+boolean foundPackage = false;
 int nodeCount = node.getChildCount();
 for (int i = 0; i < nodeCount; i++)
 {
@@ -187,22 +188,33 @@ public class ASBlockWalker implements IASBlockVisitor, 
IASBlockWalker
// ToDo (erikdebruin): handle other types of root node, such as 
when
// there is no wrapping Package or Class, 
like
// in mx.core.Version
-   if (pnode != null && 
-   (pnode instanceof IPackageNode || 
-pnode instanceof IInterfaceNode ||
-pnode instanceof IClassNode ||
- pnode instanceof IFunctionNode ||
- pnode instanceof IVariableNode))
-   {
-   walk(pnode);
-   
-   if (i < nodeCount - 1)
-   {
-   emitter.writeNewline();
-   emitter.writeNewline();
-   emitter.writeNewline();
-   }
-   }
+   if (pnode != null)
+{ 
+boolean isPackage = pnode instanceof IPackageNode;
+boolean isAllowedAfterPackage = false;
+if(isPackage)
+{
+foundPackage = true;
+}
+else if(foundPackage)
+{
+isAllowedAfterPackage = pnode instanceof IInterfaceNode
+|| pnode instanceof IClassNode
+|| pnode instanceof IFunctionNode
+|| pnode instanceof IVariableNode;
+}
+if(isPackage || isAllowedAfterPackage)
+{
+walk(pnode);
+
+if (i < nodeCount - 1)
+{
+emitter.writeNewline();
+emitter.writeNewline();
+emitter.writeNewline();
+}
+}
+}
 }
 }
 



[2/4] git commit: [flex-falcon] [refs/heads/develop] - compiler.jx.tests: added tests for internal file-level functions and variables after package

2016-01-12 Thread joshtynjala
compiler.jx.tests: added tests for internal file-level functions and variables 
after package


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

Branch: refs/heads/develop
Commit: 2d9c9441187cd48e1d81df7668da81c3bcf5e56c
Parents: 0df8a51
Author: Josh Tynjala 
Authored: Tue Jan 12 12:12:20 2016 -0800
Committer: Josh Tynjala 
Committed: Tue Jan 12 12:12:20 2016 -0800

--
 .../codegen/js/flexjs/TestFlexJSPackage.java| 89 
 1 file changed, 89 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2d9c9441/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSPackage.java
--
diff --git 
a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSPackage.java
 
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSPackage.java
index dfb4b75..6469c6e 100644
--- 
a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSPackage.java
+++ 
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSPackage.java
@@ -141,6 +141,95 @@ public class TestFlexJSPackage extends TestGoogPackage
  
"foo.bar.baz.A.InternalClass.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 
'InternalClass', qName: 'foo.bar.baz.A.InternalClass'}] };\n");
 }
 
+   @Test
+   public void testPackageQualified_ClassAndInternalFunction()
+   {
+   IFileNode node = compileAS("package foo.bar.baz {\n" +
+   "public class A {\n" +
+   "public function A(){\n" +
+   "internalFunction();\n" +
+   "}}}\n" +
+   "function internalFunction(){}");
+   asBlockWalker.visitFile(node);
+   assertOutWithMetadata("/**\n" +
+   " * foo.bar.baz.A\n" +
+   " *\n" +
+   " * @fileoverview\n" +
+   " *\n" +
+   " * @suppress {checkTypes|accessControls}\n" +
+   " */\n" +
+   "\n" +
+   "goog.provide('foo.bar.baz.A');\n" +
+   "\n" +
+   "\n" +
+   "\n" +
+   "/**\n" +
+   " * @constructor\n" +
+   " */\n" +
+   "foo.bar.baz.A = function() {\n" +
+   "  foo.bar.baz.A.internalFunction();\n" +
+   "};\n" +
+   "\n" +
+   "\n/" +
+   "**\n" +
+   " * Metadata\n" +
+   " *\n" +
+   " * @type {Object.}\n" +
+   " */\n" +
+   "foo.bar.baz.A.prototype.FLEXJS_CLASS_INFO = { 
names: [{ name: 'A', qName: 'foo.bar.baz.A'}] };\n" +
+   "\n" +
+   "\n" +
+   "\n" +
+   "foo.bar.baz.A.internalFunction = function() 
{\n" +
+   "}");
+   }
+
+   @Test
+   public void testPackageQualified_ClassAndInternalVariable()
+   {
+   IFileNode node = compileAS("package foo.bar.baz {\n" +
+   "public class A {\n" +
+   "public function A(){\n" +
+   "internalVar = 3;\n" +
+   "}}}\n" +
+   "var internalVar:Number = 2;");
+   asBlockWalker.visitFile(node);
+   assertOutWithMetadata("/**\n" +
+   " * foo.bar.baz.A\n" +
+   " *\n" +
+   " * @fileoverview\n" +
+   " *\n" +
+   " * @suppress {checkTypes|accessControls}\n" +
+   " */\n" +
+   "\n" +
+   "goog.provide('foo.bar.baz.A');\n" +
+   "\n" +
+   "\n" +
+ 

Build failed in Jenkins: flex-falcon #785

2016-01-12 Thread flex . ci . builds
See 

Changes:

[Andy Dufilie] Array class should be dynamic

[Andy Dufilie] moved .js preprocessing steps to the beginning of externc.js.swc 
build target to fix the problem where js.swc output was incorrect until the 
second build

--
[...truncated 3244 lines...]
[junit] Running properties.MXMLPropertyStringTests
[junit] Generating test:
[junit] Compiling test:
[junit] -external-library-path=c:\Adobe\flashPlayer\11.7\playerglobal.swc 
-library-path=C:\Jenkins\workspace\flex-sdk\frameworks\libs\framework.swc,C:\Jenkins\workspace\flex-sdk\frameworks\locale\en_US\framework_rb.swc
 
-namespace=http://ns.adobe.com/mxml/2009,C:\Jenkins\workspace\flex-sdk\frameworks\mxml-2009-manifest.xml
 

 
[junit] 
[junit] 2102 bytes written to 
C:\Jenkins\workspace\flex-falcon\compiler.tests\temp\MXMLPropertyStringTests3856485563062761016.swf
 in 1.372 seconds
[junit] Executing test:
[junit] [c:\Adobe\flashPlayer\11.7\flashplayerdebugger.exe, 

[junit] Generating test:
[junit] Compiling test:
[junit] -external-library-path=c:\Adobe\flashPlayer\11.7\playerglobal.swc 
-library-path=C:\Jenkins\workspace\flex-sdk\frameworks\libs\framework.swc,C:\Jenkins\workspace\flex-sdk\frameworks\locale\en_US\framework_rb.swc
 
-namespace=http://ns.adobe.com/mxml/2009,C:\Jenkins\workspace\flex-sdk\frameworks\mxml-2009-manifest.xml
 

 
[junit] 
[junit] 2096 bytes written to 
C:\Jenkins\workspace\flex-falcon\compiler.tests\temp\MXMLPropertyStringTests5340602850638496578.swf
 in 1.413 seconds
[junit] Executing test:
[junit] [c:\Adobe\flashPlayer\11.7\flashplayerdebugger.exe, 

[junit] Generating test:
[junit] Compiling test:
[junit] -external-library-path=c:\Adobe\flashPlayer\11.7\playerglobal.swc 
-library-path=C:\Jenkins\workspace\flex-sdk\frameworks\libs\framework.swc,C:\Jenkins\workspace\flex-sdk\frameworks\locale\en_US\framework_rb.swc
 
-namespace=http://ns.adobe.com/mxml/2009,C:\Jenkins\workspace\flex-sdk\frameworks\mxml-2009-manifest.xml
 

 
[junit] 
[junit] 2087 bytes written to 
C:\Jenkins\workspace\flex-falcon\compiler.tests\temp\MXMLPropertyStringTests1089699550186676656.swf
 in 1.388 seconds
[junit] Executing test:
[junit] [c:\Adobe\flashPlayer\11.7\flashplayerdebugger.exe, 

[junit] Generating test:
[junit] Compiling test:
[junit] -external-library-path=c:\Adobe\flashPlayer\11.7\playerglobal.swc 
-library-path=C:\Jenkins\workspace\flex-sdk\frameworks\libs\framework.swc,C:\Jenkins\workspace\flex-sdk\frameworks\locale\en_US\framework_rb.swc
 
-namespace=http://ns.adobe.com/mxml/2009,C:\Jenkins\workspace\flex-sdk\frameworks\mxml-2009-manifest.xml
 

 
[junit] 
[junit] 2103 bytes written to 
C:\Jenkins\workspace\flex-falcon\compiler.tests\temp\MXMLPropertyStringTests6661930343296049518.swf
 in 1.410 seconds
[junit] Executing test:
[junit] [c:\Adobe\flashPlayer\11.7\flashplayerdebugger.exe, 

[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.7 
sec
[junit] Running properties.MXMLPropertyUintTests
[junit] Generating test:
[junit] Compiling test:
[junit] -external-library-path=c:\Adobe\flashPlayer\11.7\playerglobal.swc 
-library-path=C:\Jenkins\workspace\flex-sdk\frameworks\libs\framework.swc,C:\Jenkins\workspace\flex-sdk\frameworks\locale\en_US\framework_rb.swc
 
-namespace=http://ns.adobe.com/mxml/2009,C:\Jenkins\workspace\flex-sdk\frameworks\mxml-2009-manifest.xml
 

 
[junit] 
[junit] 2122 bytes written to 
C:\Jenkins\workspace\flex-falcon\compiler.tests\temp\MXMLPropertyUintTests2227772793022851312.swf
 in 1.270 seconds
[junit] Executing test:
[junit] [c:\Adobe\flashPlayer\11.7\flashplayerdebugger.exe, 

git commit: [flex-falcon] [refs/heads/develop] - targeting java 1.6 so we can run from Flash Builder

2016-01-12 Thread adufilie
Repository: flex-falcon
Updated Branches:
  refs/heads/develop cce1d2209 -> a8e8425a5


targeting java 1.6 so we can run from Flash Builder


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

Branch: refs/heads/develop
Commit: a8e8425a5950967387c6d60641bea2ac5a361c93
Parents: cce1d22
Author: Andy Dufilie 
Authored: Tue Jan 12 10:05:59 2016 -0500
Committer: Andy Dufilie 
Committed: Tue Jan 12 10:05:59 2016 -0500

--
 compiler.jx/build.xml | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/a8e8425a/compiler.jx/build.xml
--
diff --git a/compiler.jx/build.xml b/compiler.jx/build.xml
index 219cc28..ba28040 100644
--- a/compiler.jx/build.xml
+++ b/compiler.jx/build.xml
@@ -23,6 +23,11 @@

 

+   
+   
+   
+   
+



@@ -70,11 +75,12 @@
 
 

-   
+classpathref="classpath"
+source="${javac.src}" target="${javac.src}">






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

2016-01-12 Thread flex . ci . builds
See 



Build failed in Jenkins: flex-asjs #888

2016-01-12 Thread flex . ci . builds
See 

--
[...truncated 1621 lines...]
compile:

flat-ui-icons:
 [java] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
 [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
 [java] 
C:\Jenkins\workspace\flex-asjs\frameworks\fonts\flat-ui-icons-regular.swf 
(32757 bytes)

main:

main:

ide:

post-build:

last-message-if-airsdk:

main:
 [echo] ant main target completed on 01/12/2016 11:16:30 PM

sample-themes:

runtime-setup:

mustella-setup:

load-task:

basictests:
[mxmlc] Loading configuration: 

[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 421992 bytes written to 
C:\Jenkins\workspace\flex-asjs\mustella\tests\basicTests\BasicTestsApp.swf in 
50.311 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
 [copy] Copying 1 file to 

 [echo] launching player and swf

mustellaresultsparser:
 [java] results: PASSED

basictests-mustella:

marmotinni-setup:

prepare:
 [echo] Making lib directory 
:\Jenkins\workspace\flex-asjs\marmotinni\java/lib

selenium2-jar-check:

selenium2-jar:

main:

basictests-compile-js:
 [echo] FLEX_HOME: 

 [echo] FALCONJX_HOME: 

 [echo] GOOG_HOME: C:\google\closure\Library
 [java] Compiling file: 

 [java] Compiling file: 

 [java] Compiling file: 

 [java] Compiling file: 

 [java] Compiling file: 

 [java] using SWC: 
c:\Jenkins\workspace\flex-falcon\compiler\generated\dist\sdk\frameworks\libs\player\11.7\playerglobal.swc
 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] using SWC: 

 [java] Dependencies calculated for 
'
 [java] Dependencies calculated for 
'
 [java] Dependencies calculated for 
'
 [java] Dependencies calculated for 

svn commit: r1724340 - /flex/site/trunk/content/installer/sdk-installer-config-4.0.xml

2016-01-12 Thread jmclean
Author: jmclean
Date: Wed Jan 13 00:49:59 2016
New Revision: 1724340

URL: http://svn.apache.org/viewvc?rev=1724340=rev
Log:
Trying alternative swf object path

Modified:
flex/site/trunk/content/installer/sdk-installer-config-4.0.xml

Modified: flex/site/trunk/content/installer/sdk-installer-config-4.0.xml
URL: 
http://svn.apache.org/viewvc/flex/site/trunk/content/installer/sdk-installer-config-4.0.xml?rev=1724340=1724339=1724340=diff
==
--- flex/site/trunk/content/installer/sdk-installer-config-4.0.xml (original)
+++ flex/site/trunk/content/installer/sdk-installer-config-4.0.xml Wed Jan 13 
00:49:59 2016
@@ -562,7 +562,7 @@ limitations under the License.
 
 
 
-http://swfobject.googlecode.com/files/; 
file="swfobject_2_2.zip"/>
+http://github.com/swfobject/swfobject/archive/; 
file="2_2.zip"/>
 
 http://flex.apache.org/dependencies/; 
file="flex-messaging-common.jar"/>
 




svn commit: r977568 - in /websites/staging/flex/trunk: cgi-bin/ content/ content/installer/sdk-installer-config-4.0.xml

2016-01-12 Thread buildbot
Author: buildbot
Date: Wed Jan 13 00:50:14 2016
New Revision: 977568

Log:
Staging update by buildbot for flex

Modified:
websites/staging/flex/trunk/cgi-bin/   (props changed)
websites/staging/flex/trunk/content/   (props changed)
websites/staging/flex/trunk/content/installer/sdk-installer-config-4.0.xml

Propchange: websites/staging/flex/trunk/cgi-bin/
--
--- cms:source-revision (original)
+++ cms:source-revision Wed Jan 13 00:50:14 2016
@@ -1 +1 @@
-1724166
+1724340

Propchange: websites/staging/flex/trunk/content/
--
--- cms:source-revision (original)
+++ cms:source-revision Wed Jan 13 00:50:14 2016
@@ -1 +1 @@
-1724166
+1724340

Modified: 
websites/staging/flex/trunk/content/installer/sdk-installer-config-4.0.xml
==
Binary files - no diff available.




svn commit: r977569 - in /websites/production/flex: cgi-bin/ content/

2016-01-12 Thread jmclean
Author: jmclean
Date: Wed Jan 13 00:52:34 2016
New Revision: 977569

Log:
Publishing svnmucc operation to flex site by jmclean

Added:
websites/production/flex/cgi-bin/
  - copied from r977568, websites/staging/flex/trunk/cgi-bin/
websites/production/flex/content/
  - copied from r977568, websites/staging/flex/trunk/content/



git commit: [flex-falcon] [refs/heads/develop] - IdentifierEmitter: identifier that isn't on the left hand side of a member access expression should not be qualified

2016-01-12 Thread joshtynjala
Repository: flex-falcon
Updated Branches:
  refs/heads/develop 498716d12 -> 3be965da1


IdentifierEmitter: identifier that isn't on the left hand side of a member 
access expression should not be qualified


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

Branch: refs/heads/develop
Commit: 3be965da1b9d056f58fc0f63e38c4b019071c6da
Parents: 498716d
Author: Josh Tynjala 
Authored: Tue Jan 12 16:46:48 2016 -0800
Committer: Josh Tynjala 
Committed: Tue Jan 12 16:46:48 2016 -0800

--
 .../js/flexjs/TestFlexJSExpressions.java| 20 +++
 .../codegen/js/jx/IdentifierEmitter.java| 61 +---
 2 files changed, 59 insertions(+), 22 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3be965da/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSExpressions.java
--
diff --git 
a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSExpressions.java
 
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSExpressions.java
index 8148424..61c4e8d 100644
--- 
a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSExpressions.java
+++ 
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSExpressions.java
@@ -744,6 +744,26 @@ public class TestFlexJSExpressions extends 
TestGoogExpressions
 asBlockWalker.visitFunction(node);
 assertOut("FalconTest_A.prototype.foo = function() {\n  bar(b).text = 
'';\n}");
 }
+
+@Test
+public void testFunctionCallFullyQualified()
+{
+IFunctionNode node = (IFunctionNode) getNode(
+"import goog.bind; public class B {public function b() { 
goog.bind(b, this); }}",
+IFunctionNode.class, WRAP_LEVEL_PACKAGE, true);
+asBlockWalker.visitFunction(node);
+assertOut("/**\n * @export\n */\nfoo.bar.B.prototype.b = function() 
{\n  goog.bind(org.apache.flex.utils.Language.closure(this.b, this, 'b'), 
this);\n}");
+}
+
+@Test
+public void testFunctionMemberFullyQualified()
+{
+IFunctionNode node = (IFunctionNode) getNode(
+"import flash.utils.clearTimeout; public class B {public 
function b() { clearTimeout.length; }}",
+IFunctionNode.class, WRAP_LEVEL_PACKAGE, true);
+asBlockWalker.visitFunction(node);
+assertOut("/**\n * @export\n */\nfoo.bar.B.prototype.b = function() 
{\n  flash.utils.clearTimeout.length;\n}");
+}
 
 @Test
 public void testComplexBooleanExpression()

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3be965da/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/IdentifierEmitter.java
--
diff --git 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/IdentifierEmitter.java
 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/IdentifierEmitter.java
index 174ae61..cf1faa5 100644
--- 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/IdentifierEmitter.java
+++ 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/IdentifierEmitter.java
@@ -37,6 +37,7 @@ import org.apache.flex.compiler.tree.ASTNodeID;
 import org.apache.flex.compiler.tree.as.IASNode;
 import org.apache.flex.compiler.tree.as.IFunctionObjectNode;
 import org.apache.flex.compiler.tree.as.IIdentifierNode;
+import org.apache.flex.compiler.tree.as.IMemberAccessExpressionNode;
 import org.apache.flex.compiler.utils.NativeUtils;
 
 public class IdentifierEmitter extends JSSubEmitter implements
@@ -75,12 +76,12 @@ public class IdentifierEmitter extends JSSubEmitter 
implements
 boolean identifierIsLocalOrInstanceFunctionAsValue = false;
 if (identifierIsPlainFunction)
 {
-   FunctionClassification fc = 
((FunctionDefinition)nodeDef).getFunctionClassification();
-   identifierIsLocalOrInstanceFunctionAsValue = 
-   (fc == FunctionClassification.LOCAL || fc == 
FunctionClassification.CLASS_MEMBER) && 
-   // not a value if parent is a function call or member 
access expression
-   (!(parentNodeId == ASTNodeID.MemberAccessExpressionID 
|| parentNodeId == ASTNodeID.FunctionCallID));
-   
+FunctionClassification fc = 
((FunctionDefinition)nodeDef).getFunctionClassification();
+

git commit: [flex-falcon] [refs/heads/develop] - Array class should be dynamic

2016-01-12 Thread adufilie
Repository: flex-falcon
Updated Branches:
  refs/heads/develop a8e8425a5 -> b74b09dd2


Array class should be dynamic


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

Branch: refs/heads/develop
Commit: b74b09dd2c074ab6916dd11aa7526d4c857329cd
Parents: a8e8425
Author: Andy Dufilie 
Authored: Tue Jan 12 11:38:05 2016 -0500
Committer: Andy Dufilie 
Committed: Tue Jan 12 11:38:05 2016 -0500

--
 .../flex/compiler/internal/codegen/externals/TestExternES3.java| 1 +
 .../internal/codegen/externals/reference/ReferenceModel.java   | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b74b09dd/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/externals/TestExternES3.java
--
diff --git 
a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/externals/TestExternES3.java
 
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/externals/TestExternES3.java
index 29ac6fb..24206d9 100644
--- 
a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/externals/TestExternES3.java
+++ 
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/externals/TestExternES3.java
@@ -86,6 +86,7 @@ public class TestExternES3 extends ExternalsTestBase
 
 ClassReference Array = model.getClassReference("Array");
 assertNotNull(Array);
+assertTrue(Array.isDynamic());
 
 MethodReference constructor = Array.getConstructor();
 StringBuilder sb = new StringBuilder();

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b74b09dd/compiler.jx/src/org/apache/flex/compiler/internal/codegen/externals/reference/ReferenceModel.java
--
diff --git 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/externals/reference/ReferenceModel.java
 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/externals/reference/ReferenceModel.java
index 090eb63..62ae14f 100644
--- 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/externals/reference/ReferenceModel.java
+++ 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/externals/reference/ReferenceModel.java
@@ -141,7 +141,7 @@ public class ReferenceModel
 ClassReference reference = new ClassReference(this, node, 
qualifiedName);
 
 // TODO (mschmalle) Figure out if gcc makes any decisions about what 
is final or dynamic
-if (reference.getQualifiedName().equals("Object"))
+if (reference.getQualifiedName().equals("Object") || 
reference.getQualifiedName().equals("Array"))
 reference.setDynamic(true);
 
 classes.put(qualifiedName, reference);



Build failed in Jenkins: flex-falcon #784

2016-01-12 Thread flex . ci . builds
See 

Changes:

[Andy Dufilie] targeting java 1.6 so we can run from Flash Builder

--
[...truncated 3241 lines...]
[junit] Running properties.MXMLPropertyStringTests
[junit] Generating test:
[junit] Compiling test:
[junit] -external-library-path=c:\Adobe\flashPlayer\11.7\playerglobal.swc 
-library-path=C:\Jenkins\workspace\flex-sdk\frameworks\libs\framework.swc,C:\Jenkins\workspace\flex-sdk\frameworks\locale\en_US\framework_rb.swc
 
-namespace=http://ns.adobe.com/mxml/2009,C:\Jenkins\workspace\flex-sdk\frameworks\mxml-2009-manifest.xml
 

 
[junit] 
[junit] 2092 bytes written to 
C:\Jenkins\workspace\flex-falcon\compiler.tests\temp\MXMLPropertyStringTests7694389557442909869.swf
 in 1.448 seconds
[junit] Executing test:
[junit] [c:\Adobe\flashPlayer\11.7\flashplayerdebugger.exe, 

[junit] Generating test:
[junit] Compiling test:
[junit] -external-library-path=c:\Adobe\flashPlayer\11.7\playerglobal.swc 
-library-path=C:\Jenkins\workspace\flex-sdk\frameworks\libs\framework.swc,C:\Jenkins\workspace\flex-sdk\frameworks\locale\en_US\framework_rb.swc
 
-namespace=http://ns.adobe.com/mxml/2009,C:\Jenkins\workspace\flex-sdk\frameworks\mxml-2009-manifest.xml
 

 
[junit] 
[junit] 2102 bytes written to 
C:\Jenkins\workspace\flex-falcon\compiler.tests\temp\MXMLPropertyStringTests8384208798425190647.swf
 in 1.380 seconds
[junit] Executing test:
[junit] [c:\Adobe\flashPlayer\11.7\flashplayerdebugger.exe, 

[junit] Generating test:
[junit] Compiling test:
[junit] -external-library-path=c:\Adobe\flashPlayer\11.7\playerglobal.swc 
-library-path=C:\Jenkins\workspace\flex-sdk\frameworks\libs\framework.swc,C:\Jenkins\workspace\flex-sdk\frameworks\locale\en_US\framework_rb.swc
 
-namespace=http://ns.adobe.com/mxml/2009,C:\Jenkins\workspace\flex-sdk\frameworks\mxml-2009-manifest.xml
 

 
[junit] 
[junit] 2104 bytes written to 
C:\Jenkins\workspace\flex-falcon\compiler.tests\temp\MXMLPropertyStringTests4456598005397228340.swf
 in 1.440 seconds
[junit] Executing test:
[junit] [c:\Adobe\flashPlayer\11.7\flashplayerdebugger.exe, 

[junit] Generating test:
[junit] Compiling test:
[junit] -external-library-path=c:\Adobe\flashPlayer\11.7\playerglobal.swc 
-library-path=C:\Jenkins\workspace\flex-sdk\frameworks\libs\framework.swc,C:\Jenkins\workspace\flex-sdk\frameworks\locale\en_US\framework_rb.swc
 
-namespace=http://ns.adobe.com/mxml/2009,C:\Jenkins\workspace\flex-sdk\frameworks\mxml-2009-manifest.xml
 

 
[junit] 
[junit] 2096 bytes written to 
C:\Jenkins\workspace\flex-falcon\compiler.tests\temp\MXMLPropertyStringTests2327886877052135069.swf
 in 0.821 seconds
[junit] Executing test:
[junit] [c:\Adobe\flashPlayer\11.7\flashplayerdebugger.exe, 

[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
6.155 sec
[junit] Running properties.MXMLPropertyUintTests
[junit] Generating test:
[junit] Compiling test:
[junit] -external-library-path=c:\Adobe\flashPlayer\11.7\playerglobal.swc 
-library-path=C:\Jenkins\workspace\flex-sdk\frameworks\libs\framework.swc,C:\Jenkins\workspace\flex-sdk\frameworks\locale\en_US\framework_rb.swc
 
-namespace=http://ns.adobe.com/mxml/2009,C:\Jenkins\workspace\flex-sdk\frameworks\mxml-2009-manifest.xml
 

 
[junit] 
[junit] 2129 bytes written to 
C:\Jenkins\workspace\flex-falcon\compiler.tests\temp\MXMLPropertyUintTests874865721066522777.swf
 in 1.248 seconds
[junit] Executing test:
[junit] [c:\Adobe\flashPlayer\11.7\flashplayerdebugger.exe, 

[junit] Generating test:
   

Re: [4/5] git commit: [flex-falcon] [refs/heads/develop] - compiler.jx: added support for functions and variables in packages, and functions and variables after package (similar to internal classes)

2016-01-12 Thread Alex Harui
I haven't done thorough research, but I think this change is causing the
last remaining failure in the Falcon build.  The failing case is
org.apache.flex.compiler.internal.codegen.js.vf2js.TestVF2JSFile.testVersio
n in compiler.jx.tests.  The test case is dealing with an variable defined
in an included file which has means the parent of the variable node will
be a file node and look a lot like a file-level definition when it isn't.

-Alex

On 1/11/16, 11:54 AM, "joshtynj...@apache.org" 
wrote:

>compiler.jx: added support for functions and variables in packages, and
>functions and variables after package (similar to internal classes)
>
>
>Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
>Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/56060782
>Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/56060782
>Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/56060782
>
>Branch: refs/heads/develop
>Commit: 5606078243b62fd965bf83f6e39993140d01de76
>Parents: 8a7bdc6
>Author: Josh Tynjala 
>Authored: Mon Jan 11 11:54:37 2016 -0800
>Committer: Josh Tynjala 
>Committed: Mon Jan 11 11:54:37 2016 -0800
>
>--
> .../internal/codegen/as/ASBlockWalker.java  | 20 ++--
> .../codegen/js/flexjs/JSFlexJSEmitter.java  | 10 ++
> .../codegen/js/jx/PackageHeaderEmitter.java | 33 ++--
> 3 files changed, 49 insertions(+), 14 deletions(-)
>--
>
>
>http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/56060782/compiler.
>jx/src/org/apache/flex/compiler/internal/codegen/as/ASBlockWalker.java
>--
>diff --git 
>a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/as/ASBlockWalk
>er.java 
>b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/as/ASBlockWalk
>er.java
>index fec44cc..b405bb0 100644
>--- 
>a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/as/ASBlockWalk
>er.java
>+++ 
>b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/as/ASBlockWalk
>er.java
>@@ -190,7 +190,9 @@ public class ASBlockWalker implements
>IASBlockVisitor, IASBlockWalker
>   if (pnode != null &&
>   (pnode instanceof IPackageNode ||
>pnode instanceof IInterfaceNode ||
>-   pnode instanceof IClassNode))
>+   pnode instanceof IClassNode ||
>+ pnode instanceof IFunctionNode ||
>+ pnode instanceof IVariableNode))
>   {
>   walk(pnode);
>   
>@@ -238,11 +240,9 @@ public class ASBlockWalker implements
>IASBlockVisitor, IASBlockWalker
> public void visitVariable(IVariableNode node)
> {
> debug("visitVariable()");
>-if (SemanticUtils.isPackageDefinition(node.getDefinition()))
>-{
>-//TODO: emit package-level variable
>-}
>-else if (SemanticUtils.isMemberDefinition(node.getDefinition()))
>+if (SemanticUtils.isPackageDefinition(node.getDefinition()) ||
>+SemanticUtils.isMemberDefinition(node.getDefinition()) ||
>+node.getParent() instanceof IFileNode)
> {
> emitter.emitField(node);
> }
>@@ -256,11 +256,9 @@ public class ASBlockWalker implements
>IASBlockVisitor, IASBlockWalker
> public void visitFunction(IFunctionNode node)
> {
> debug("visitFunction()");
>-if (SemanticUtils.isPackageDefinition(node.getDefinition()))
>-{
>-//TODO: emit package-level function
>-}
>-else if 
>(DefinitionUtils.isMemberDefinition(node.getDefinition()))
>+if (SemanticUtils.isPackageDefinition(node.getDefinition()) ||
>+DefinitionUtils.isMemberDefinition(node.getDefinition()) ||
>+node.getParent() instanceof IFileNode)
> {
> emitter.emitMethod(node);
> }
>
>http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/56060782/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/JSFl
>exJSEmitter.java 
>b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFl
>exJSEmitter.java
>index a101a4c..1de63fe 100644
>--- 
>a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFl
>exJSEmitter.java
>+++ 
>b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFl
>exJSEmitter.java
>@@ -342,6 +342,16 @@ public class JSFlexJSEmitter extends JSGoogEmitter
>implements IJSFlexJSEmitter
>   String className = 
> 

Re: [4/5] git commit: [flex-falcon] [refs/heads/develop] - compiler.jx: added support for functions and variables in packages, and functions and variables after package (similar to internal classes)

2016-01-12 Thread Andy Dufilie
Josh, does this commit resolve
https://issues.apache.org/jira/browse/FLEX-35004 ?

On Tue, Jan 12, 2016 at 11:24 AM, Alex Harui  wrote:

> I haven't done thorough research, but I think this change is causing the
> last remaining failure in the Falcon build.  The failing case is
> org.apache.flex.compiler.internal.codegen.js.vf2js.TestVF2JSFile.testVersio
> n in compiler.jx.tests.  The test case is dealing with an variable defined
> in an included file which has means the parent of the variable node will
> be a file node and look a lot like a file-level definition when it isn't.
>
> -Alex
>
> On 1/11/16, 11:54 AM, "joshtynj...@apache.org" 
> wrote:
>
> >compiler.jx: added support for functions and variables in packages, and
> >functions and variables after package (similar to internal classes)
> >
> >
> >Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
> >Commit:
> http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/56060782
> >Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/56060782
> >Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/56060782
> >
> >Branch: refs/heads/develop
> >Commit: 5606078243b62fd965bf83f6e39993140d01de76
> >Parents: 8a7bdc6
> >Author: Josh Tynjala 
> >Authored: Mon Jan 11 11:54:37 2016 -0800
> >Committer: Josh Tynjala 
> >Committed: Mon Jan 11 11:54:37 2016 -0800
> >
> >--
> > .../internal/codegen/as/ASBlockWalker.java  | 20 ++--
> > .../codegen/js/flexjs/JSFlexJSEmitter.java  | 10 ++
> > .../codegen/js/jx/PackageHeaderEmitter.java | 33 ++--
> > 3 files changed, 49 insertions(+), 14 deletions(-)
> >--
> >
> >
> >http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/56060782/compiler
> .
> >jx/src/org/apache/flex/compiler/internal/codegen/as/ASBlockWalker.java
> >--
> >diff --git
> >a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/as/ASBlockWalk
> >er.java
> >b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/as/ASBlockWalk
> >er.java
> >index fec44cc..b405bb0 100644
> >---
> >a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/as/ASBlockWalk
> >er.java
> >+++
> >b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/as/ASBlockWalk
> >er.java
> >@@ -190,7 +190,9 @@ public class ASBlockWalker implements
> >IASBlockVisitor, IASBlockWalker
> >   if (pnode != null &&
> >   (pnode instanceof IPackageNode ||
> >pnode instanceof IInterfaceNode ||
> >-   pnode instanceof IClassNode))
> >+   pnode instanceof IClassNode ||
> >+ pnode instanceof IFunctionNode ||
> >+ pnode instanceof IVariableNode))
> >   {
> >   walk(pnode);
> >
> >@@ -238,11 +240,9 @@ public class ASBlockWalker implements
> >IASBlockVisitor, IASBlockWalker
> > public void visitVariable(IVariableNode node)
> > {
> > debug("visitVariable()");
> >-if (SemanticUtils.isPackageDefinition(node.getDefinition()))
> >-{
> >-//TODO: emit package-level variable
> >-}
> >-else if (SemanticUtils.isMemberDefinition(node.getDefinition()))
> >+if (SemanticUtils.isPackageDefinition(node.getDefinition()) ||
> >+SemanticUtils.isMemberDefinition(node.getDefinition()) ||
> >+node.getParent() instanceof IFileNode)
> > {
> > emitter.emitField(node);
> > }
> >@@ -256,11 +256,9 @@ public class ASBlockWalker implements
> >IASBlockVisitor, IASBlockWalker
> > public void visitFunction(IFunctionNode node)
> > {
> > debug("visitFunction()");
> >-if (SemanticUtils.isPackageDefinition(node.getDefinition()))
> >-{
> >-//TODO: emit package-level function
> >-}
> >-else if
> >(DefinitionUtils.isMemberDefinition(node.getDefinition()))
> >+if (SemanticUtils.isPackageDefinition(node.getDefinition()) ||
> >+DefinitionUtils.isMemberDefinition(node.getDefinition()) ||
> >+node.getParent() instanceof IFileNode)
> > {
> > emitter.emitMethod(node);
> > }
> >
> >http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/56060782/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/JSFl
> >exJSEmitter.java
> >b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFl
> >exJSEmitter.java
> >index a101a4c..1de63fe 100644
> >---
>