Add includeAntRuntime="true" to javac tasks so that with Ant 1.8 they will work the same as they did with Ant 1.7.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/falcon/trunk@1411716 13f79535-47bb-0310-9956-ffa450edef68
Normalize file paths.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/falcon/trunk@1411875 13f79535-47bb-0310-9956-ffa450edef68
FalconJS

git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/falcon/trunk@1413061 13f79535-47bb-0310-9956-ffa450edef68
A readme and a basic test for FalconJS.  The code is currently configured to output a js file for every as file.  Use -debug to get files that aren't minified in order to see what is going on.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/falcon/trunk@1413064 13f79535-47bb-0310-9956-ffa450edef68
ant mkdir for directory lib/google/closure-compiler/

git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/falcon/trunk@1413120 13f79535-47bb-0310-9956-ffa450edef68
CopyFiles seemed to be copying things it didn't need.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/falcon/trunk@1413130 13f79535-47bb-0310-9956-ffa450edef68
use relative path in MANIFEST for compiler.jar, removed copy of asc.jar in build.xml

git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/falcon/trunk@1413149 13f79535-47bb-0310-9956-ffa450edef68
Class inheritance js code.  Might be full of bugs.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/falcon/trunk@1413199 13f79535-47bb-0310-9956-ffa450edef68
creates temp file with the name of the current unit test class

git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/falcon/trunk@1413483 13f79535-47bb-0310-9956-ffa450edef68
Make mxmlc executable, super-clean should call downloads clean, and in shouldn't be a directory in svn.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/falcon/trunk@1414231 13f79535-47bb-0310-9956-ffa450edef68
Ignore generated directories and clean in/temp directory.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/falcon/trunk@1414235 13f79535-47bb-0310-9956-ffa450edef68
Fix script so it has correct path to mxmlc.jar and so that it works with Java 1.7.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/falcon/trunk@1414240 13f79535-47bb-0310-9956-ffa450edef68
Fix path to mxmlc.jar file again.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/falcon/trunk@1414268 13f79535-47bb-0310-9956-ffa450edef68
added tests for CSSPropertyValue and sub classes

git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/falcon/trunk@1415473 13f79535-47bb-0310-9956-ffa450edef68
fixed typo PROPERTY_REFERENCE

git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/falcon/trunk@1415475 13f79535-47bb-0310-9956-ffa450edef68
Falcon: Added simple MXML feature tests for <Boolean>, <int>, <uint>, <Number>, <String>, <Class> and generic instance tags such as <Sprite>. They are not yet part of 'ant tsets'.

These tests currently create an MXML file, compile it to a SWF with MXMLC, and check that it compiles cleanly. Soon I'll make the SWF run in Flash Player and check that the runtime asserts don't fire, so that we know that codegen is correct.

Such "feature tests" are intended to test one specific feature of MXML all the way through compilation and execution. By contrast, "unit tests" test only a particular class or subsystem, such as testing the MXML lexer to create MXML tokens, or testing how the MXML parser creates particular kinds of MXML nodes. Furthermore, "functional tests" test real-world situations involving multiple features working together. There are three distinct directories for these various kinds of Falcon tests.

Feature tests do not need to be as exhaustive as the unit tests. For example, suppose we have a complete set of parser tests for the <int> tag and know that ultimately an MXMLLiteralNode gets created with an appropriate int value in each case. Then we do not need to have feature tests for things like integer tags with whitspace around the integer text, or hex integer text, or empty int tags, etc. We can just do a few feature tests that make sure that MXMLLiteralNodes with int values codegen integer values in the VM.


git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/falcon/trunk@1415883 13f79535-47bb-0310-9956-ffa450edef68
Falcon: The MXML feature tests now run the SWF in the debug FlashPlayer and check whether the SWF terminates normally with System.exit(0) or with an abnormal exit code.

The tests for <Boolean>, <int>, <uint>, <Number>, <String>, <Class>, and generic instance tags like <Sprite> are passing in Eclipse, demonstrating correct codegen of various simple values. They are not yet part of 'ant tests'.

In Falcon, 'ant eclipse' now copies the player specified by the environment variable FLASHPLAYER_DEBUGGER to the compiler.tests/temp folder so that JUnit tests running in Eclipse can find it.

I updated the README to explain that you need to set FLASHPLAYER_DEBUGGER.


git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/falcon/trunk@1415903 13f79535-47bb-0310-9956-ffa450edef68
Tweak CSS data output to be entirely data (more or less).  Apps with CSS styles will now require the StyleManagerImpl.as in the flex develop branch so you cannot use older Flex SDKs with Falcon, including Apache Flex 4.8.0-incubating.  If you really must use an older SDK, try overlaying the StyleManagerImpl from the develop branch over the older one.

git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/falcon/trunk@1415916 13f79535-47bb-0310-9956-ffa450edef68
removing single quotes in getSingleArgumentFromRaw

git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/falcon/trunk@1415922 13f79535-47bb-0310-9956-ffa450edef68
added new css tests CSSFontFaceTests, CSSNamespaceDefinitionTests and CSSPropertyTests

git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/falcon/trunk@1415923 13f79535-47bb-0310-9956-ffa450edef68