Merge branch 'develop' into feature/flexmojos-tests * develop: (21 commits) Making sure we notice if stuff broke when running from ant (i.e. on the build VM) - part deux Making sure we notice if stuff broke when running from ant (i.e. on the build VM) Added 'const' emission (ECMA 6) + tests Some more clones of FlexJS test projects, to keep VF2JS honest Add VF2JS specific test base classes Update and add various VF2JS pathway files VF2JS tests VF2JS will no longer use the 'vf2js' namespaces. Suppress 'unused' warnings for a while. Changed name to avoid conflict with the other SimpleMXML test and added 'result' JS files. Add dependencies Added VF2JS emitting Fix imports Added type for new emitter class VF2JS Doc emitter Added super class to handle VF2JS specific JS emitting Avoid an error when encountering an Embed node Initial VF2JS (full SDK) Publisher Various E4X "bypass" measures ... If empty comment line, don't try to add "the rest of the line" ...
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/142af189 Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/142af189 Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/142af189 Branch: refs/heads/feature/flexmojos-tests Commit: 142af189120146888ada629dd6eb35e3f16beb0e Parents: 7ee7973 1144b7b Author: Christofer Dutz <[email protected]> Authored: Fri Oct 31 09:26:58 2014 +0100 Committer: Christofer Dutz <[email protected]> Committed: Fri Oct 31 09:26:58 2014 +0100 ---------------------------------------------------------------------- compiler.jx.tests/build.xml | 2 +- .../codegen/js/vf2js/TestVF2JSClass.java | 302 +++ .../codegen/js/vf2js/TestVF2JSFile.java | 4 +- .../codegen/js/vf2js/TestVF2JSProject.java | 73 +- .../codegen/js/vf2js/TestVF2JSStatements.java | 528 ++++++ .../mxml/vf2js/TestVF2JSMXMLApplication.java | 57 +- .../compiler/internal/test/FlexJSTestBase.java | 2 + .../internal/test/VF2JSMXMLTestBase.java | 219 +++ .../compiler/internal/test/VF2JSTestBase.java | 216 +-- .../test-files/vf2js/files/SimpleMXML_result.js | 17 +- .../vf2js/projects/interfaces/Test.as | 46 + .../vf2js/projects/interfaces/Test_result.js | 64 + .../vf2js/projects/interfaces/classes/A.as | 32 + .../projects/interfaces/classes/A_result.js | 51 + .../vf2js/projects/interfaces/classes/B.as | 25 + .../projects/interfaces/classes/B_result.js | 38 + .../vf2js/projects/interfaces/classes/C.as | 25 + .../projects/interfaces/classes/C_result.js | 38 + .../vf2js/projects/interfaces/interfaces/IA.as | 22 + .../projects/interfaces/interfaces/IA_result.js | 41 + .../vf2js/projects/interfaces/interfaces/IB.as | 22 + .../projects/interfaces/interfaces/IB_result.js | 38 + .../vf2js/projects/interfaces/interfaces/IC.as | 22 + .../projects/interfaces/interfaces/IC_result.js | 41 + .../vf2js/projects/interfaces/interfaces/ID.as | 22 + .../projects/interfaces/interfaces/ID_result.js | 38 + .../vf2js/projects/interfaces/interfaces/IE.as | 26 + .../projects/interfaces/interfaces/IE_result.js | 53 + .../projects/simpleMXML/src/SimpleMXML.mxml | 19 - .../simpleMXML/src/SimpleMXML_Project.mxml | 19 + .../simpleMXML/src/SimpleMXML_Project_result.js | 65 + .../simpleMXML/src/example/Component_result.js | 45 + .../test-files/vf2js/projects/super/Base.as | 48 + .../vf2js/projects/super/Base_result.js | 74 + .../test-files/vf2js/projects/super/Super.as | 47 + .../vf2js/projects/super/Super_result.js | 81 + .../compiler/asdoc/flexjs/ASDocComment.java | 4 +- .../apache/flex/compiler/clients/MXMLJSC.java | 7 +- .../flex/compiler/codegen/as/IASEmitter.java | 2 + .../codegen/js/vf2js/IJSVF2JSEmitter.java | 30 + .../internal/codegen/as/ASBlockWalker.java | 7 + .../compiler/internal/codegen/as/ASEmitter.java | 4 + .../codegen/js/flexjs/JSFlexJSDocEmitter.java | 15 +- .../codegen/js/flexjs/JSFlexJSEmitter.java | 47 +- .../internal/codegen/js/goog/JSGoogEmitter.java | 6 +- .../codegen/js/vf2js/JSVF2JSDocEmitter.java | 271 +++ .../codegen/js/vf2js/JSVF2JSEmitter.java | 1722 ++++++++++++++++++ .../vf2js/MXMLVF2JSDescriptorSpecifier.java | 3 + .../codegen/mxml/vf2js/MXMLVF2JSEmitter.java | 3 +- .../codegen/mxml/vf2js/MXMLVF2JSPublisher.java | 68 +- .../driver/js/goog/JSGoogConfiguration.java | 21 + .../internal/driver/js/vf2js/VF2JSBackend.java | 55 + .../driver/mxml/vf2js/MXMLVF2JSBackend.java | 8 +- .../internal/visitor/as/ASNodeSwitch.java | 4 + .../compiler/visitor/as/IASBlockVisitor.java | 2 + compiler.tests/build.xml | 6 +- 56 files changed, 4449 insertions(+), 298 deletions(-) ----------------------------------------------------------------------
