http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/frameworks/projects/MX/src/main/flex/mx/utils/UIDUtil.as ---------------------------------------------------------------------- diff --cc frameworks/projects/MX/src/main/flex/mx/utils/UIDUtil.as index 91af364,0000000..2769d0a mode 100644,000000..100644 --- a/frameworks/projects/MX/src/main/flex/mx/utils/UIDUtil.as +++ b/frameworks/projects/MX/src/main/flex/mx/utils/UIDUtil.as @@@ -1,484 -1,0 +1,484 @@@ +//////////////////////////////////////////////////////////////////////////////// +// +// 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 mx.utils +{ + - COMPILE::AS3 ++COMPILE::SWF +{ + import flash.utils.ByteArray; + import flash.utils.Dictionary; +} + +import mx.core.IPropertyChangeNotifier; +import mx.core.IUIComponent; +import mx.core.IUID; +import mx.core.mx_internal; + +use namespace mx_internal; + +/** + * The UIDUtil class is an all-static class + * with methods for working with UIDs (unique identifiers) within Flex. + * You do not create instances of UIDUtil; + * instead you simply call static methods such as the + * <code>UIDUtil.createUID()</code> method. + * + * <p><b>Note</b>: If you have a dynamic object that has no [Bindable] properties + * (which force the object to implement the IUID interface), Flex adds an + * <code>mx_internal_uid</code> property that contains a UID to the object. + * To avoid having this field + * in your dynamic object, make it [Bindable], implement the IUID interface + * in the object class, or set a <coded>uid</coded> property with a value.</p> + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Flex 3 + */ +public class UIDUtil +{ + include "../core/Version.as"; + + //-------------------------------------------------------------------------- + // + // Class constants + // + //-------------------------------------------------------------------------- + + /** + * @private + * Char codes for 0123456789ABCDEF + */ + private static const ALPHA_CHAR_CODES:Array = [48, 49, 50, 51, 52, 53, 54, + 55, 56, 57, 65, 66, 67, 68, 69, 70]; + + private static const DASH:int = 45; // dash ascii - COMPILE::AS3 ++ COMPILE::SWF + private static const UIDBuffer:ByteArray = new ByteArray(); // static ByteArray used for UID generation to save memory allocation cost + + //-------------------------------------------------------------------------- + // + // Class variables + // + //-------------------------------------------------------------------------- + + /** + * This Dictionary records all generated uids for all existing items. + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Flex 3 + */ - COMPILE::AS3 ++ COMPILE::SWF + private static var uidDictionary:Dictionary = new Dictionary(true); + + //-------------------------------------------------------------------------- + // + // Class methods + // + //-------------------------------------------------------------------------- + + /** + * Generates a UID (unique identifier) based on ActionScript's + * pseudo-random number generator and the current time. + * + * <p>The UID has the form + * <code>"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"</code> + * where X is a hexadecimal digit (0-9, A-F).</p> + * + * <p>This UID will not be truly globally unique; but it is the best + * we can do without player support for UID generation.</p> + * + * @return The newly-generated UID. + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Flex 3 + */ + public static function createUID():String + { + var i:int; + var j:int; + - COMPILE::AS3 ++ COMPILE::SWF + { + UIDBuffer.position = 0; + + for (i = 0; i < 8; i++) + { + UIDBuffer.writeByte(ALPHA_CHAR_CODES[int(Math.random() * 16)]); + } + + for (i = 0; i < 3; i++) + { + UIDBuffer.writeByte(DASH); + for (j = 0; j < 4; j++) + { + UIDBuffer.writeByte(ALPHA_CHAR_CODES[int(Math.random() * 16)]); + } + } + + UIDBuffer.writeByte(DASH); + + var time:uint = new Date().getTime(); // extract last 8 digits + var timeString:String = time.toString(16).toUpperCase(); + // 0xFFFFFFFF milliseconds ~= 3 days, so timeString may have between 1 and 8 digits, hence we need to pad with 0s to 8 digits + for (i = 8; i > timeString.length; i--) + UIDBuffer.writeByte(48); + UIDBuffer.writeUTFBytes(timeString); + + for (i = 0; i < 4; i++) + { + UIDBuffer.writeByte(ALPHA_CHAR_CODES[int(Math.random() * 16)]); + } + + return UIDBuffer.toString(); + } + COMPILE::JS + { + var s:String = ""; + for (i = 0; i < 8; i++) + { + s += ALPHA_CHAR_CODES[int(Math.random() * 16)]; + } + + for (i = 0; i < 3; i++) + { + s += DASH; + for (j = 0; j < 4; j++) + { + s += ALPHA_CHAR_CODES[int(Math.random() * 16)]; + } + } + + s += DASH; + + var time:uint = new Date().getTime(); // extract last 8 digits + var timeString:String = time.toString(16).toUpperCase(); + // 0xFFFFFFFF milliseconds ~= 3 days, so timeString may have between 1 and 8 digits, hence we need to pad with 0s to 8 digits + for (i = 8; i > timeString.length; i--) + s += "0"; + s += timeString; + + for (i = 0; i < 4; i++) + { + s += ALPHA_CHAR_CODES[int(Math.random() * 16)]; + } + + return s; + } + } + + /** + * Converts a 128-bit UID encoded as a ByteArray to a String representation. + * The format matches that generated by createUID. If a suitable ByteArray + * is not provided, null is returned. + * + * @param ba ByteArray 16 bytes in length representing a 128-bit UID. + * + * @return String representation of the UID, or null if an invalid + * ByteArray is provided. + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Flex 3 + */ - COMPILE::AS3 ++ COMPILE::SWF + public static function fromByteArray(ba:ByteArray):String + { + if (ba != null && ba.length >= 16 && ba.bytesAvailable >= 16) + { + UIDBuffer.position = 0; + var index:uint = 0; + for (var i:uint = 0; i < 16; i++) + { + if (i == 4 || i == 6 || i == 8 || i == 10) + UIDBuffer.writeByte(DASH); // Hyphen char code + + var b:int = ba.readByte(); + UIDBuffer.writeByte(ALPHA_CHAR_CODES[(b & 0xF0) >>> 4]); + UIDBuffer.writeByte(ALPHA_CHAR_CODES[(b & 0x0F)]); + } + return UIDBuffer.toString(); + } + + return null; + } + + /** + * A utility method to check whether a String value represents a + * correctly formatted UID value. UID values are expected to be + * in the format generated by createUID(), implying that only + * capitalized A-F characters in addition to 0-9 digits are + * supported. + * + * @param uid The value to test whether it is formatted as a UID. + * + * @return Returns true if the value is formatted as a UID. + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Flex 3 + */ + public static function isUID(uid:String):Boolean + { + if (uid != null && uid.length == 36) + { + for (var i:uint = 0; i < 36; i++) + { + var c:Number = uid.charCodeAt(i); + + // Check for correctly placed hyphens + if (i == 8 || i == 13 || i == 18 || i == 23) + { + if (c != DASH) + { + return false; + } + } + // We allow capital alpha-numeric hex digits only + else if (c < 48 || c > 70 || (c > 57 && c < 65)) + { + return false; + } + } + + return true; + } + + return false; + } + + /** + * Converts a UID formatted String to a ByteArray. The UID must be in the + * format generated by createUID, otherwise null is returned. + * + * @param String representing a 128-bit UID + * + * @return ByteArray 16 bytes in length representing the 128-bits of the + * UID or null if the uid could not be converted. + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Flex 3 + */ - COMPILE::AS3 ++ COMPILE::SWF + public static function toByteArray(uid:String):ByteArray + { + if (isUID(uid)) + { + var result:ByteArray = new ByteArray(); + + for (var i:uint = 0; i < uid.length; i++) + { + var c:String = uid.charAt(i); + if (c == "-") + continue; + var h1:uint = getDigit(c); + i++; + var h2:uint = getDigit(uid.charAt(i)); + result.writeByte(((h1 << 4) | h2) & 0xFF); + } + result.position = 0; + return result; + } + + return null; + } + + /** + * Returns the UID (unique identifier) for the specified object. + * If the specified object doesn't have an UID + * then the method assigns one to it. + * If a map is specified this method will use the map + * to construct the UID. + * As a special case, if the item passed in is null, + * this method returns a null UID. + * + * @param item Object that we need to find the UID for. + * + * @return The UID that was either found or generated. + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Flex 3 + */ + public static function getUID(item:Object):String + { + var result:String = null; + + if (item == null) + return result; + + if (item is IUID) + { + result = IUID(item).uid; + if (result == null || result.length == 0) + { + result = createUID(); + IUID(item).uid = result; + } + } + else if ((item is IPropertyChangeNotifier) && + !(item is IUIComponent)) + { + result = IPropertyChangeNotifier(item).uid; + if (result == null || result.length == 0) + { + result = createUID(); + IPropertyChangeNotifier(item).uid = result; + } + } + else if (item is String) + { + return item as String; + } + else + { + try + { - COMPILE::AS3 ++ COMPILE::SWF + { + // We don't create uids for XMLLists, but if + // there's only a single XML node, we'll extract it. + if (item is XMLList && item.length == 1) + item = item[0]; + + if (item is XML) + { + // XML nodes carry their UID on the + // function-that-is-a-hashtable they can carry around. + // To decorate an XML node with a UID, + // we need to first initialize it for notification. + // There is a potential performance issue here, + // since notification does have a cost, + // but most use cases for needing a UID on an XML node also + // require listening for change notifications on the node. + var xitem:XML = XML(item); + var nodeKind:String = xitem.nodeKind(); + if (nodeKind == "text" || nodeKind == "attribute") + return xitem.toString(); + + var notificationFunction:Function = xitem.notification(); + if (!(notificationFunction is Function)) + { + // The xml node hasn't already been initialized + // for notification, so do so now. + notificationFunction = + XMLNotifier.initializeXMLForNotification(); + xitem.setNotification(notificationFunction); + } + + // Generate a new uid for the node if necessary. + if (notificationFunction["uid"] == undefined) + result = notificationFunction["uid"] = createUID(); + + result = notificationFunction["uid"]; + } + else + { + if ("mx_internal_uid" in item) + return item.mx_internal_uid; + + if ("uid" in item) + return item.uid; + + result = uidDictionary[item]; + + if (!result) + { + result = createUID(); + try + { + item.mx_internal_uid = result; + } + catch(e:Error) + { + uidDictionary[item] = result; + } + } + } + } + COMPILE::JS + { + if ("mx_internal_uid" in item) + return item.mx_internal_uid; + + if ("uid" in item) + return item.uid; + + item["mx_internal_uid"] = result = createUID(); + } + } + catch(e:Error) + { + result = item.toString(); + } + } + + return result; + } + + /** + * Returns the decimal representation of a hex digit. + * @private + */ + private static function getDigit(hex:String):uint + { + switch (hex) + { + case "A": + case "a": + return 10; + case "B": + case "b": + return 11; + case "C": + case "c": + return 12; + case "D": + case "d": + return 13; + case "E": + case "e": + return 14; + case "F": + case "f": + return 15; + default: - COMPILE::AS3 ++ COMPILE::SWF + { + return new uint(hex); + } + COMPILE::JS + { + return parseInt(hex, 16); + } + } + } +} + +}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/frameworks/projects/MX/src/test/flex/build.xml ---------------------------------------------------------------------- diff --cc frameworks/projects/MX/src/test/flex/build.xml index 7395390,0000000..dc226ab mode 100644,000000..100644 --- a/frameworks/projects/MX/src/test/flex/build.xml +++ b/frameworks/projects/MX/src/test/flex/build.xml @@@ -1,229 -1,0 +1,229 @@@ +<?xml version="1.0"?> +<!-- + + 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. + +--> + + +<project name="MX.test" default="main" basedir="."> + <property name="FLEXJS_HOME" location="../../../../../.."/> + + <property file="${FLEXJS_HOME}/env.properties"/> + <property environment="env"/> + <property file="${FLEXJS_HOME}/build.properties"/> + <property name="FLEX_HOME" value="${env.FLEX_HOME}"/> + <property name="FALCON_HOME" value="${env.FALCON_HOME}"/> + <property name="target.name" value="MX-${release.version}.swc" /> + + <condition property="browser" value="C:/Program Files/Internet Explorer/iexplore.exe"> + <os family="windows"/> + </condition> + <condition property="browser" value="/Applications/Safari.app/Contents/MacOS/Safari"> + <os family="mac"/> + </condition> + + <property name="report.dir" value="${basedir}/out" /> + + <available file="${FLEXJS_HOME}/../flex-flexunit" + type="dir" + property="FLEXUNIT_HOME" + value="${FLEXJS_HOME}/../flex-flexunit" /> + + <available file="${FLEXJS_HOME}/../flexunit" + type="dir" + property="FLEXUNIT_HOME" + value="${FLEXJS_HOME}/../flexunit" /> + + <available file="${env.FLEXUNIT_HOME}" + type="dir" + property="FLEXUNIT_HOME" + value="${env.FLEXUNIT_HOME}"/> + + <available file="${FLEXUNIT_HOME}/FlexUnit4/target" + type="dir" + property="FLEXUNIT_LIBPATH1" + value="-library-path+=${FLEXUNIT_HOME}/FlexUnit4/target/flexunit-4.3.0-20140410-as3_4.12.0.swc" /> + <property name="FLEXUNIT_LIBPATH1" value="-library-path+=${FLEXUNIT_HOME}/flexunit" /> + + <available file="${FLEXUNIT_HOME}/FlexUnit4CIListener/target" + type="dir" + property="FLEXUNIT_LIBPATH2" + value="-library-path+=${FLEXUNIT_HOME}/FlexUnit4CIListener/target" /> + <property name="FLEXUNIT_LIBPATH2" value="-define=CONFIG::dummy,false" /> + + <available file="${FLEXUNIT_HOME}/FlexUnit4AntTasks/target" + type="dir" + property="FLEXUNIT_CLASSPATH" + value="${FLEXUNIT_HOME}/FlexUnit4AntTasks/target" /> + <property name="FLEXUNIT_CLASSPATH" value="${FLEXUNIT_HOME}/flexunit" /> + + <condition property="GOOG_HOME" value="${env.GOOG_HOME}"> + <and> + <not> + <isset property="GOOG_HOME" /> + </not> + <available file="${env.GOOG_HOME}/closure/goog/base.js" type="file" /> + </and> + </condition> + + <condition property="GOOG_HOME" value="${FLEXJS_HOME}/js/lib/google/closure-library"> + <and> + <not> + <isset property="GOOG_HOME" /> + </not> + <available file="${FLEXJS_HOME}/js/lib/google/closure-library/closure/goog/base.js" type="file" /> + </and> + </condition> + + + <target name="main" depends="clean,compile,test" description="Clean test of ${target.name}"> + </target> + + <target name="clean"> + <delete failonerror="false"> + <fileset dir="${basedir}"> + <include name="FlexUnitFlexJSApplication.swf"/> + </fileset> + </delete> + <delete failonerror="false"> + <fileset dir="${basedir}/bin"> + <include name="**/**"/> + </fileset> + </delete> + </target> + + <path id="lib.path"> + <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/> + </path> + + <target name="compile" description="Compiles TestCompile.swf"> + <echo message="Compiling TestCompile.swf"/> + <echo message="FLEXJS_HOME: ${FLEXJS_HOME}"/> + <echo message="FALCON_HOME: ${FALCON_HOME}"/> + <echo message="FLEXUNIT_HOME: ${FLEXUNIT_HOME}"/> + + <!-- Load the <compc> task. We can't do this at the <project> level --> + <!-- because targets that run before flexTasks.jar gets built would fail. --> + <taskdef resource="flexTasks.tasks" classpathref="lib.path"/> + <!-- + Link in the classes (and their dependencies) for the MXML tags + listed in this project's manifest.xml. + Also link the additional classes (and their dependencies) + listed in FlexJSUIClasses.as, + because these aren't referenced by the manifest classes. + Keep the standard metadata when compiling. + Include the appropriate CSS files and assets in the SWC. + Don't include any resources in the SWC. + Write a bundle list of referenced resource bundles + into the file bundles.properties in this directory. + --> + <mxmlc fork="true" + file="${basedir}/src/TestCompile.mxml" + output="${basedir}/src/TestCompile.swf"> + <jvmarg line="${mxmlc.jvm.args}"/> + <arg value="+flexlib=${FLEXJS_HOME}/frameworks" /> + <arg value="-debug" /> - <arg value="-define=COMPILE::AS3,true" /> ++ <arg value="-define=COMPILE::SWF,true" /> + <arg value="-define=COMPILE::JS,false" /> + <arg value="-define=COMPILE::LATER,false" /> + <arg value="-define=CONFIG::performanceInstrumentation,false" /> + <arg value="+playerglobal.version=${playerglobal.version}" /> + <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" /> + <arg value="-source-path+=${FLEXJS_HOME}/frameworks/projects/MX/src/main/flex" /> + <arg value="-library-path+=${FLEXJS_HOME}/frameworks/libs" /> + <!-- need to figure out better way to find these --> + <arg value="-library-path+=${FLEXJS_HOME}/../flex-sdk/frameworks/locale/en_US" /> + <arg value="${FLEXUNIT_LIBPATH1}" /> + <arg value="${FLEXUNIT_LIBPATH2}" /> + </mxmlc> + </target> + + <target name="test"> + <echo message="Compiling TestCompile.js"/> + <echo message="FLEXJS_HOME: ${FLEXJS_HOME}"/> + <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/> + <echo message="GOOG_HOME: ${GOOG_HOME}"/> + <property name="theme_arg" value="-define=CONFIG::theme,false" /> + <property name="extlib_arg" value="-define=CONFIG::extlib,false" /> + <property name="opt1_arg" value="-define=CONFIG::opt1,false" /> + <property name="opt2_arg" value="-define=CONFIG::opt2,false" /> + + <java jar="${FALCONJX_HOME}/lib/mxmlc.jar" resultProperty="errorCode" + fork="true"> + <jvmarg line="${mxmlc.jvm.args}"/> + <jvmarg line="-Dflexlib=${FLEXJS_HOME}/frameworks}"/> + <arg value="+flexlib=${FLEXJS_HOME}/frameworks" /> + <arg value="-debug" /> + <arg value="${theme_arg}" /> + <arg value="-compiler.mxml.children-as-data" /> + <arg value="-compiler.binding-value-change-event=org.apache.flex.events.ValueChangeEvent" /> + <arg value="-compiler.binding-value-change-event-kind=org.apache.flex.events.ValueChangeEvent" /> + <arg value="-compiler.binding-value-change-event-type=valueChange" /> + <arg value="+playerglobal.version=${playerglobal.version}" /> + <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" /> + <arg value="${extlib_arg}" /> + <arg value="${opt1_arg}" /> + <arg value="${opt2_arg}" /> + <arg value="-library-path+=${FLEXJS_HOME}/frameworks/libs" /> + <!-- need to figure out better way to find these --> + <arg value="-external-library-path+=${FLEXJS_HOME}/../flex-sdk/frameworks/locale/en_US" /> + <arg value="-closure-lib=${GOOG_HOME}" /> + <arg value="-js-output-type=FLEXJS" /> + <arg value="-sdk-js-lib=${FLEXJS_HOME}/frameworks/js/FlexJS/libs" /> + <arg value="${basedir}/src/TestCompile.mxml" /> + </java> + <fail> + <condition> + <not> + <or> + <equals arg1="${errorCode}" arg2="0" /> + <equals arg1="${errorCode}" arg2="2" /> + </or> + </not> + </condition> + </fail> + <!-- + <taskdef resource="flexUnitTasks.tasks"> + <classpath> + <fileset dir="${FLEXUNIT_CLASSPATH}"> + <include name="flexUnitTasks*.jar" /> + </fileset> + </classpath> + </taskdef> + <mkdir dir="${report.dir}" /> + <flexunit + swf="${basedir}/FlexUnitFlexJSApplication.swf" + workingDir="${basedir}" + toDir="${report.dir}" + haltonfailure="false" + verbose="true" + localTrusted="true" + timeout="90000"> + <source dir="${FLEXJS_HOME}/frameworks/projects/Core/src/main/flex" /> + <library dir="${FLEXJS_HOME}/frameworks/libs" /> + </flexunit> + --> + <!-- Generate readable JUnit-style reports + <junitreport todir="${report.dir}"> + <fileset dir="${report.dir}"> + <include name="TEST-*.xml" /> + </fileset> + <report format="frames" todir="${report.dir}/html" /> + </junitreport> + --> + </target> +</project> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/frameworks/projects/MX/src/test/flex/src/TestCompile.mxml ---------------------------------------------------------------------- diff --cc frameworks/projects/MX/src/test/flex/src/TestCompile.mxml index 6601e6c,0000000..7ad8c1b mode 100644,000000..100644 --- a/frameworks/projects/MX/src/test/flex/src/TestCompile.mxml +++ b/frameworks/projects/MX/src/test/flex/src/TestCompile.mxml @@@ -1,44 -1,0 +1,44 @@@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + +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. + +--> + +<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" + xmlns:mx="library://ns.apache.org/flexjs/mx" + xmlns:js="library://ns.apache.org/flexjs/basic" + applicationComplete="runTests()" + > + <fx:Script> + <![CDATA[ + import org.apache.flex.core.IUIBase; + public function runTests() : void + { + var foo:Object = this as IUIBase; + } + + ]]> + </fx:Script> + <js:valuesImpl> + <js:SimpleValuesImpl /> + </js:valuesImpl> + <js:initialView> - <js:ViewBase> ++ <js:View> + <mx:UIComponent /> - </js:ViewBase> ++ </js:View> + </js:initialView> +</js:Application> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/IViewManagerView.as ---------------------------------------------------------------------- diff --cc frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/IViewManagerView.as index 0000000,6aaa9d3..524797b mode 000000,100644..100644 --- a/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/IViewManagerView.as +++ b/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/IViewManagerView.as @@@ -1,0 -1,43 +1,45 @@@ + //////////////////////////////////////////////////////////////////////////////// + // + // 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.mobile + { ++ import org.apache.flex.core.IVisualElement; ++ + /** + * The IViewManagerView interface is implemented by any class that can be managed by + * an IViewManager. + * + * @langversion 3.0 + * @playerversion Flash 10.2 + * @playerversion AIR 2.6 + * @productversion FlexJS 0.0 + */ - public interface IViewManagerView ++ public interface IViewManagerView extends IVisualElement + { + /** + * The parent view manager. + * + * @langversion 3.0 + * @playerversion Flash 10.2 + * @playerversion AIR 2.6 + * @productversion FlexJS 0.0 + */ + function get viewManager():IViewManager; + function set viewManager(value:IViewManager):void; + } + } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/ManagerBase.as ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/StackedViewManager.as ---------------------------------------------------------------------- diff --cc frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/StackedViewManager.as index aa1dfd7,ffa26c5..9e4180e --- a/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/StackedViewManager.as +++ b/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/StackedViewManager.as @@@ -144,15 -144,14 +144,15 @@@ package org.apache.flex.mobil * @playerversion Flash 10.2 * @playerversion AIR 2.6 * @productversion FlexJS 0.0 - * @flexjsignorecoercion org.apache.flex.mobile.IView ++ * @flexjsignorecoercion org.apache.flex.mobile.IViewManagerView */ public function pop():void { if (ViewManagerModel(model).views.length > 1) { - var lastView:IView = ViewManagerModel(model).popView() as IView; - var lastView:Object = ViewManagerModel(model).popView(); ++ var lastView:IViewManagerView = ViewManagerModel(model).popView() as IViewManagerView; removeElement(_topView); addElement(lastView); - _topView = lastView; + _topView = lastView as IViewManagerView; dispatchEvent( new Event("viewChanged") ); } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/ViewManagerBase.as ---------------------------------------------------------------------- diff --cc frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/ViewManagerBase.as index b4d8be6,6d7175e..9b55e5a --- a/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/ViewManagerBase.as +++ b/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/ViewManagerBase.as @@@ -170,10 -170,10 +170,10 @@@ package org.apache.flex.mobil if (n > 0) { for (var i:int = 0; i < n; i++) { - var view:IView = ViewManagerModel(model).views[i] as IView; + var view:IViewManagerView = ViewManagerModel(model).views[i] as IViewManagerView; view.viewManager = this; if (i == 0) { - addElement(view, true); + addElement(view); } } ViewManagerModel(model).selectedIndex = 0; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/StackedViewManagerView.as ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/TabbedViewManagerView.as ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/ToggleSwitchView.as ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/ViewManagerViewBase.as ---------------------------------------------------------------------- diff --cc frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/ViewManagerViewBase.as index 0000000,f314fad..955a3e1 mode 000000,100644..100644 --- a/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/ViewManagerViewBase.as +++ b/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/beads/ViewManagerViewBase.as @@@ -1,0 -1,165 +1,166 @@@ + //////////////////////////////////////////////////////////////////////////////// + // + // 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.mobile.beads + { + import org.apache.flex.core.IBeadModel; + import org.apache.flex.core.IBeadView; + import org.apache.flex.core.IStrand; + import org.apache.flex.core.IUIBase; + import org.apache.flex.core.IViewportModel; + import org.apache.flex.core.UIBase; + import org.apache.flex.events.IEventDispatcher; + import org.apache.flex.events.Event; + import org.apache.flex.html.Container; + import org.apache.flex.html.beads.layouts.HorizontalLayout; + import org.apache.flex.mobile.IViewManagerView; + import org.apache.flex.mobile.chrome.NavigationBar; + import org.apache.flex.mobile.models.ViewManagerModel; + + /** + * The ViewManagerViewBase creates the visual elements of the StackedViewManager. This + * includes a NavigationBar, ToolBar, and contentArea. + * + * @langversion 3.0 + * @playerversion Flash 10.2 + * @playerversion AIR 2.6 + * @productversion FlexJS 0.0 + */ + public class ViewManagerViewBase implements IBeadView + { + /** + * Constructor. + * + * @langversion 3.0 + * @playerversion Flash 10.2 + * @playerversion AIR 2.6 + * @productversion FlexJS 0.0 + */ + public function ViewManagerViewBase() + { + super(); + } + + public function get host():IUIBase + { + return _strand as IUIBase; + } + public function set host(value:IUIBase):void + { + // not implemented; getter only. + } + + private var _navigationBar:NavigationBar; + public function get navigationBar():NavigationBar + { + return _navigationBar; + } + public function set navigationBar(value:NavigationBar):void + { + // not implemented; getter only. + } + + private var _strand:IStrand; + public function get strand():IStrand + { + return _strand; + } + public function set strand(value:IStrand):void + { + _strand = value; + UIBase(_strand).addEventListener("sizeChanged", sizeChangedHandler); + UIBase(_strand).addEventListener("widthChanged", sizeChangedHandler); + UIBase(_strand).addEventListener("heightChanged", sizeChangedHandler); + + var model:ViewManagerModel = value.getBeadByType(IBeadModel) as ViewManagerModel; + model.addEventListener("selectedIndexChanged", viewsChangedHandler); + + if (model.navigationBarItems) + { + _navigationBar = new NavigationBar(); + _navigationBar.controls = model.navigationBarItems; + _navigationBar.addBead(new HorizontalLayout()); - UIBase(_strand).addElement(_navigationBar, false); ++ // no event is expected ++ UIBase(_strand).addElement(_navigationBar); + } + } + + /** + * @private + */ + protected function viewsChangedHandler(event:Event):void + { + layoutChromeElements(); + } + + /** + * @private + */ + protected function sizeChangedHandler(event:Event):void + { + layoutChromeElements(); + } + + /** + * @private + */ + protected function layoutChromeElements():void + { + var host:UIBase = _strand as UIBase; + var contentAreaY:Number = 0; + var contentAreaHeight:Number = host.height; + + var model:ViewManagerModel = _strand.getBeadByType(IBeadModel) as ViewManagerModel; + + if (_navigationBar) + { + _navigationBar.x = 0; + _navigationBar.y = 0; + _navigationBar.width = host.width; + + contentAreaHeight -= _navigationBar.height; + contentAreaY = _navigationBar.height; + + model.navigationBar = _navigationBar; + } + + model.contentX = 0; + model.contentY = contentAreaY; + model.contentWidth = host.width; + model.contentHeight = contentAreaHeight; + + sizeViewsToFitContentArea(); + } + + protected function sizeViewsToFitContentArea():void + { + var model:ViewManagerModel = _strand.getBeadByType(IBeadModel) as ViewManagerModel; + + var n:int = ViewManagerModel(model).views.length; + if (n > 0) { + for (var i:int = 0; i < n; i++) + { + var view:IViewManagerView = ViewManagerModel(model).views[i] as IViewManagerView; + UIBase(view).x = model.contentX; + UIBase(view).y = model.contentY; + UIBase(view).setWidthAndHeight(model.contentWidth, model.contentHeight, true); + } + } + } + } + } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/chrome/NavigationBar.as ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/frameworks/projects/Mobile/src/main/flex/org/apache/flex/mobile/chrome/ToolBar.as ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/frameworks/projects/Reflection/src/main/flex/org/apache/flex/reflection/TypeDefinition.as ---------------------------------------------------------------------- diff --cc frameworks/projects/Reflection/src/main/flex/org/apache/flex/reflection/TypeDefinition.as index fd1f7b3,cf69bd1..0777403 --- a/frameworks/projects/Reflection/src/main/flex/org/apache/flex/reflection/TypeDefinition.as +++ b/frameworks/projects/Reflection/src/main/flex/org/apache/flex/reflection/TypeDefinition.as @@@ -65,28 -65,6 +65,28 @@@ package org.apache.flex.reflectio } return _rawData; } + + public function get dynamic():Boolean + { - COMPILE::AS3 ++ COMPILE::SWF + { + return Boolean(rawData.@dynamic); + } + COMPILE::JS + { + var data:Object = rawData; + var name:String = data.names[0].qName; + var def:Object = getDefinitionByName(name); + var rdata:* = def.prototype.FLEXJS_REFLECTION_INFO(); + if (rdata !== undefined) + { + return Boolean(rdata.dynamic); + } + return false; + } + + } + /** * @flexjsignorecoercion XML */ http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/ContainerTest/src/models/ProductsModel.as ---------------------------------------------------------------------- diff --cc manualtests/ContainerTest/src/models/ProductsModel.as index b69b1dc,b69b1dc..0e9c530 --- a/manualtests/ContainerTest/src/models/ProductsModel.as +++ b/manualtests/ContainerTest/src/models/ProductsModel.as @@@ -41,4 -41,4 +41,4 @@@ package model } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/ContainerTest/src/products/Product.as ---------------------------------------------------------------------- diff --cc manualtests/ContainerTest/src/products/Product.as index b4854a3,b4854a3..2f30c48 --- a/manualtests/ContainerTest/src/products/Product.as +++ b/manualtests/ContainerTest/src/products/Product.as @@@ -40,4 -40,4 +40,4 @@@ package product return title; } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/DataGridXcompile/src/models/MyGridPresentation.as ---------------------------------------------------------------------- diff --cc manualtests/DataGridXcompile/src/models/MyGridPresentation.as index a724722,a724722..4c53c9c --- a/manualtests/DataGridXcompile/src/models/MyGridPresentation.as +++ b/manualtests/DataGridXcompile/src/models/MyGridPresentation.as @@@ -29,4 -29,4 +29,4 @@@ package model this.columnLabels = ["ID","Title","Inventory"]; } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/DataGridXcompile/src/models/ProductsModel.as ---------------------------------------------------------------------- diff --cc manualtests/DataGridXcompile/src/models/ProductsModel.as index be0bfe2,be0bfe2..5365251 --- a/manualtests/DataGridXcompile/src/models/ProductsModel.as +++ b/manualtests/DataGridXcompile/src/models/ProductsModel.as @@@ -50,4 -50,4 +50,4 @@@ package model // ignore } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/DataGridXcompile/src/org/apache/flex/core/IDataGridPresentationModel.as ---------------------------------------------------------------------- diff --cc manualtests/DataGridXcompile/src/org/apache/flex/core/IDataGridPresentationModel.as index 34a5d84,34a5d84..84f5364 --- a/manualtests/DataGridXcompile/src/org/apache/flex/core/IDataGridPresentationModel.as +++ b/manualtests/DataGridXcompile/src/org/apache/flex/core/IDataGridPresentationModel.as @@@ -28,4 -28,4 +28,4 @@@ package org.apache.flex.cor function get rowHeight():Number; function set rowHeight(value:Number):void; } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/DataGrid.as ---------------------------------------------------------------------- diff --cc manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/DataGrid.as index b4ded72,b4ded72..5c0d5cb --- a/manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/DataGrid.as +++ b/manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/DataGrid.as @@@ -57,4 -57,4 +57,4 @@@ package org.apache.flex.html.customCont return IDataGridModel(model).selectedIndex; } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/beads/IDataGridView.as ---------------------------------------------------------------------- diff --cc manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/beads/IDataGridView.as index 2b1bf61,2b1bf61..99f9bc9 --- a/manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/beads/IDataGridView.as +++ b/manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/beads/IDataGridView.as @@@ -24,4 -24,4 +24,4 @@@ package org.apache.flex.html.customCont { } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/beads/IDataProviderItemRendererMapper.as ---------------------------------------------------------------------- diff --cc manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/beads/IDataProviderItemRendererMapper.as index 8a406de,8a406de..77e98f8 --- a/manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/beads/IDataProviderItemRendererMapper.as +++ b/manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/beads/IDataProviderItemRendererMapper.as @@@ -31,4 -31,4 +31,4 @@@ package org.apache.flex.html.customCont function get itemRendererFactory():IItemRendererClassFactory; function set itemRendererFactory(value:IItemRendererClassFactory):void; } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/beads/models/DataGridPresentationModel.as ---------------------------------------------------------------------- diff --cc manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/beads/models/DataGridPresentationModel.as index de24473,de24473..b959306 --- a/manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/beads/models/DataGridPresentationModel.as +++ b/manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/beads/models/DataGridPresentationModel.as @@@ -62,4 -62,4 +62,4 @@@ package org.apache.flex.html.customCont _strand = value; } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/DataGridXcompile/src/products/Product.as ---------------------------------------------------------------------- diff --cc manualtests/DataGridXcompile/src/products/Product.as index 34abf6b,34abf6b..637b56f --- a/manualtests/DataGridXcompile/src/products/Product.as +++ b/manualtests/DataGridXcompile/src/products/Product.as @@@ -38,4 -38,4 +38,4 @@@ package product return title; } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/FlexJSTest_HTML5/src/StockDataJSONItemConverter.as ---------------------------------------------------------------------- diff --cc manualtests/FlexJSTest_HTML5/src/StockDataJSONItemConverter.as index 8f219d5,8f219d5..8dee7df --- a/manualtests/FlexJSTest_HTML5/src/StockDataJSONItemConverter.as +++ b/manualtests/FlexJSTest_HTML5/src/StockDataJSONItemConverter.as @@@ -33,4 -33,4 +33,4 @@@ packag return obj.query.results.quote.Ask; } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/FlexJSTest_HTML5/src/controllers/MyController.as ---------------------------------------------------------------------- diff --cc manualtests/FlexJSTest_HTML5/src/controllers/MyController.as index b06af1d,b06af1d..bb6594c --- a/manualtests/FlexJSTest_HTML5/src/controllers/MyController.as +++ b/manualtests/FlexJSTest_HTML5/src/controllers/MyController.as @@@ -89,4 -89,4 +89,4 @@@ package controller } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/FlexJSTest_HTML5/src/models/MyModel.as ---------------------------------------------------------------------- diff --cc manualtests/FlexJSTest_HTML5/src/models/MyModel.as index 1dc23e6,1dc23e6..2b4c276 --- a/manualtests/FlexJSTest_HTML5/src/models/MyModel.as +++ b/manualtests/FlexJSTest_HTML5/src/models/MyModel.as @@@ -56,4 -56,4 +56,4 @@@ package model } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/FlexJSTest_SVG/src/controllers/MyController.as ---------------------------------------------------------------------- diff --cc manualtests/FlexJSTest_SVG/src/controllers/MyController.as index bacd10d,bacd10d..5fb619b --- a/manualtests/FlexJSTest_SVG/src/controllers/MyController.as +++ b/manualtests/FlexJSTest_SVG/src/controllers/MyController.as @@@ -49,4 -49,4 +49,4 @@@ package controller } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/FlexJSTest_SVG/src/models/MyModel.as ---------------------------------------------------------------------- diff --cc manualtests/FlexJSTest_SVG/src/models/MyModel.as index eeb5af3,eeb5af3..42ad5ee --- a/manualtests/FlexJSTest_SVG/src/models/MyModel.as +++ b/manualtests/FlexJSTest_SVG/src/models/MyModel.as @@@ -44,4 -44,4 +44,4 @@@ package model } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/BrandColorEnum.as ---------------------------------------------------------------------- diff --cc manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/BrandColorEnum.as index e57cb7d,e57cb7d..97ce62f --- a/manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/BrandColorEnum.as +++ b/manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/BrandColorEnum.as @@@ -27,4 -27,4 +27,4 @@@ package skins.flatspark.enum public static const Info:int = 6; public static const Danger:int = 7; } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/ButtonColorEnum.as ---------------------------------------------------------------------- diff --cc manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/ButtonColorEnum.as index 640d721,640d721..f36f774 --- a/manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/ButtonColorEnum.as +++ b/manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/ButtonColorEnum.as @@@ -56,4 -56,4 +56,4 @@@ package skins.flatspark.enum public static const DangerDown:uint = 0xC44133; public static const DangerDisabled:uint = ColorUtils.Alizarin; } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/ButtonSizeEnum.as ---------------------------------------------------------------------- diff --cc manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/ButtonSizeEnum.as index 1836ced,1836ced..9b2924a --- a/manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/ButtonSizeEnum.as +++ b/manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/ButtonSizeEnum.as @@@ -28,4 -28,4 +28,4 @@@ package skins.flatspark.enum { } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/ColorSwatchEnum.as ---------------------------------------------------------------------- diff --cc manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/ColorSwatchEnum.as index 2a7a1dc,2a7a1dc..fc37477 --- a/manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/ColorSwatchEnum.as +++ b/manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/ColorSwatchEnum.as @@@ -37,4 -37,4 +37,4 @@@ package skins.flatspark.enum _colorSwatch = colorSwatch; } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/SizeEnum.as ---------------------------------------------------------------------- diff --cc manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/SizeEnum.as index c2c22c0,c2c22c0..e1aacb7 --- a/manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/SizeEnum.as +++ b/manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/SizeEnum.as @@@ -29,4 -29,4 +29,4 @@@ package skins.flatspark.enum _size = size; } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/TextInputSizeEnum.as ---------------------------------------------------------------------- diff --cc manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/TextInputSizeEnum.as index ab7377b,ab7377b..36167dc --- a/manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/TextInputSizeEnum.as +++ b/manualtests/FlexJSTest_SVG/src/skins/flatspark/enums/TextInputSizeEnum.as @@@ -27,4 -27,4 +27,4 @@@ package skins.flatspark.enum { } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/FlexJSTest_SVG/src/skins/flatspark/utils/AwesomeUtils.as ---------------------------------------------------------------------- diff --cc manualtests/FlexJSTest_SVG/src/skins/flatspark/utils/AwesomeUtils.as index ec7fb78,ec7fb78..a7ac685 --- a/manualtests/FlexJSTest_SVG/src/skins/flatspark/utils/AwesomeUtils.as +++ b/manualtests/FlexJSTest_SVG/src/skins/flatspark/utils/AwesomeUtils.as @@@ -396,4 -396,4 +396,4 @@@ package skins.flatspark.util public static const fa_plus_square_o:String = "\uf196"; } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/FlexJSTest_SVG/src/skins/flatspark/utils/ColorUtils.as ---------------------------------------------------------------------- diff --cc manualtests/FlexJSTest_SVG/src/skins/flatspark/utils/ColorUtils.as index fed416f,fed416f..8b68795 --- a/manualtests/FlexJSTest_SVG/src/skins/flatspark/utils/ColorUtils.as +++ b/manualtests/FlexJSTest_SVG/src/skins/flatspark/utils/ColorUtils.as @@@ -86,4 -86,4 +86,4 @@@ package skins.flatspark.util return cores[posicao]; } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/FlexJSTest_basic/src/StockDataJSONItemConverter.as ---------------------------------------------------------------------- diff --cc manualtests/FlexJSTest_basic/src/StockDataJSONItemConverter.as index 35f1b78,35f1b78..8c618b2 --- a/manualtests/FlexJSTest_basic/src/StockDataJSONItemConverter.as +++ b/manualtests/FlexJSTest_basic/src/StockDataJSONItemConverter.as @@@ -35,4 -35,4 +35,4 @@@ packag return obj['query']['results']['quote']['Ask']; } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/FlexJSTest_basic/src/controllers/MyController.as ---------------------------------------------------------------------- diff --cc manualtests/FlexJSTest_basic/src/controllers/MyController.as index 636ed30,636ed30..759988d --- a/manualtests/FlexJSTest_basic/src/controllers/MyController.as +++ b/manualtests/FlexJSTest_basic/src/controllers/MyController.as @@@ -89,4 -89,4 +89,4 @@@ package controller } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/FlexJSTest_basic/src/models/MyModel.as ---------------------------------------------------------------------- diff --cc manualtests/FlexJSTest_basic/src/models/MyModel.as index 1dc23e6,1dc23e6..2b4c276 --- a/manualtests/FlexJSTest_basic/src/models/MyModel.as +++ b/manualtests/FlexJSTest_basic/src/models/MyModel.as @@@ -56,4 -56,4 +56,4 @@@ package model } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/FlexJSTest_createjs/src/controllers/MyController.as ---------------------------------------------------------------------- diff --cc manualtests/FlexJSTest_createjs/src/controllers/MyController.as index 666a249,666a249..da4c806 --- a/manualtests/FlexJSTest_createjs/src/controllers/MyController.as +++ b/manualtests/FlexJSTest_createjs/src/controllers/MyController.as @@@ -54,4 -54,4 +54,4 @@@ package controller } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/FlexJSTest_createjs/src/models/MyModel.as ---------------------------------------------------------------------- diff --cc manualtests/FlexJSTest_createjs/src/models/MyModel.as index f79667b,f79667b..e9c4c58 --- a/manualtests/FlexJSTest_createjs/src/models/MyModel.as +++ b/manualtests/FlexJSTest_createjs/src/models/MyModel.as @@@ -50,4 -50,4 +50,4 @@@ package model } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/FlexJSTest_jquery/src/StockDataJSONItemConverter.as ---------------------------------------------------------------------- diff --cc manualtests/FlexJSTest_jquery/src/StockDataJSONItemConverter.as index 35f1b78,35f1b78..8c618b2 --- a/manualtests/FlexJSTest_jquery/src/StockDataJSONItemConverter.as +++ b/manualtests/FlexJSTest_jquery/src/StockDataJSONItemConverter.as @@@ -35,4 -35,4 +35,4 @@@ packag return obj['query']['results']['quote']['Ask']; } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/FlexJSTest_jquery/src/controllers/MyController.as ---------------------------------------------------------------------- diff --cc manualtests/FlexJSTest_jquery/src/controllers/MyController.as index 3e78a2f,3e78a2f..07bed93 --- a/manualtests/FlexJSTest_jquery/src/controllers/MyController.as +++ b/manualtests/FlexJSTest_jquery/src/controllers/MyController.as @@@ -89,4 -89,4 +89,4 @@@ package controller } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/FlexJSTest_jquery/src/models/MyModel.as ---------------------------------------------------------------------- diff --cc manualtests/FlexJSTest_jquery/src/models/MyModel.as index 1dc23e6,1dc23e6..2b4c276 --- a/manualtests/FlexJSTest_jquery/src/models/MyModel.as +++ b/manualtests/FlexJSTest_jquery/src/models/MyModel.as @@@ -56,4 -56,4 +56,4 @@@ package model } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/LanguageTests/src/LanguageTests.as ---------------------------------------------------------------------- diff --cc manualtests/LanguageTests/src/LanguageTests.as index 8ed9c38,8ed9c38..76bc61f --- a/manualtests/LanguageTests/src/LanguageTests.as +++ b/manualtests/LanguageTests/src/LanguageTests.as @@@ -176,4 -176,4 +176,4 @@@ namespace my_ns = "http://www.apache.or dynamic class MyDynamicClass { my_ns var my_namespaced_property:String; --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/LanguageTests/src/classes/B.as ---------------------------------------------------------------------- diff --cc manualtests/LanguageTests/src/classes/B.as index d8bd2c7,d8bd2c7..6852b9c --- a/manualtests/LanguageTests/src/classes/B.as +++ b/manualtests/LanguageTests/src/classes/B.as @@@ -22,4 -22,4 +22,4 @@@ package classe { public function B() {} } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/LanguageTests/src/classes/C.as ---------------------------------------------------------------------- diff --cc manualtests/LanguageTests/src/classes/C.as index fe49eb5,fe49eb5..4d40d52 --- a/manualtests/LanguageTests/src/classes/C.as +++ b/manualtests/LanguageTests/src/classes/C.as @@@ -24,4 -24,4 +24,4 @@@ package classe { public function C() {} } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/LanguageTests/src/interfaces/IA.as ---------------------------------------------------------------------- diff --cc manualtests/LanguageTests/src/interfaces/IA.as index 5fbd6c2,5fbd6c2..5c9eca9 --- a/manualtests/LanguageTests/src/interfaces/IA.as +++ b/manualtests/LanguageTests/src/interfaces/IA.as @@@ -19,4 -19,4 +19,4 @@@ package interfaces { public interface IA extends IC {} --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/LanguageTests/src/interfaces/IB.as ---------------------------------------------------------------------- diff --cc manualtests/LanguageTests/src/interfaces/IB.as index a995635,a995635..e2ee31a --- a/manualtests/LanguageTests/src/interfaces/IB.as +++ b/manualtests/LanguageTests/src/interfaces/IB.as @@@ -19,4 -19,4 +19,4 @@@ package interfaces { public interface IB {} --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/LanguageTests/src/interfaces/IC.as ---------------------------------------------------------------------- diff --cc manualtests/LanguageTests/src/interfaces/IC.as index 9183bac,9183bac..f1229c4 --- a/manualtests/LanguageTests/src/interfaces/IC.as +++ b/manualtests/LanguageTests/src/interfaces/IC.as @@@ -19,4 -19,4 +19,4 @@@ package interfaces { public interface IC extends ID {} --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/LanguageTests/src/interfaces/ID.as ---------------------------------------------------------------------- diff --cc manualtests/LanguageTests/src/interfaces/ID.as index d5e9543,d5e9543..29f1dec --- a/manualtests/LanguageTests/src/interfaces/ID.as +++ b/manualtests/LanguageTests/src/interfaces/ID.as @@@ -19,4 -19,4 +19,4 @@@ package interfaces { public interface ID {} --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/LanguageTests/src/interfaces/IE.as ---------------------------------------------------------------------- diff --cc manualtests/LanguageTests/src/interfaces/IE.as index ae1848a,ae1848a..168c5c4 --- a/manualtests/LanguageTests/src/interfaces/IE.as +++ b/manualtests/LanguageTests/src/interfaces/IE.as @@@ -19,4 -19,4 +19,4 @@@ package interfaces { public interface IE {} --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/LanguageTests/src/interfaces/IF.as ---------------------------------------------------------------------- diff --cc manualtests/LanguageTests/src/interfaces/IF.as index f62be45,f62be45..05e4480 --- a/manualtests/LanguageTests/src/interfaces/IF.as +++ b/manualtests/LanguageTests/src/interfaces/IF.as @@@ -19,4 -19,4 +19,4 @@@ package interfaces { public interface IF {} --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/ListsTest/src/models/ProductsModel.as ---------------------------------------------------------------------- diff --cc manualtests/ListsTest/src/models/ProductsModel.as index 9807ee0,9807ee0..46277fc --- a/manualtests/ListsTest/src/models/ProductsModel.as +++ b/manualtests/ListsTest/src/models/ProductsModel.as @@@ -39,4 -39,4 +39,4 @@@ package model } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/ListsTest/src/products/Product.as ---------------------------------------------------------------------- diff --cc manualtests/ListsTest/src/products/Product.as index b4854a3,b4854a3..2f30c48 --- a/manualtests/ListsTest/src/products/Product.as +++ b/manualtests/ListsTest/src/products/Product.as @@@ -40,4 -40,4 +40,4 @@@ package product return title; } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/ProxyTest/src/controllers/MyController.as ---------------------------------------------------------------------- diff --cc manualtests/ProxyTest/src/controllers/MyController.as index 0d72c69,0d72c69..1435689 --- a/manualtests/ProxyTest/src/controllers/MyController.as +++ b/manualtests/ProxyTest/src/controllers/MyController.as @@@ -49,4 -49,4 +49,4 @@@ package controller } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/ProxyTest/src/models/MyModel.as ---------------------------------------------------------------------- diff --cc manualtests/ProxyTest/src/models/MyModel.as index 5a16d02,5a16d02..8798300 --- a/manualtests/ProxyTest/src/models/MyModel.as +++ b/manualtests/ProxyTest/src/models/MyModel.as @@@ -122,4 -122,4 +122,4 @@@ package model } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/ReflectionTest/src/controllers/MyController.as ---------------------------------------------------------------------- diff --cc manualtests/ReflectionTest/src/controllers/MyController.as index 81eb963,81eb963..fa66cc7 --- a/manualtests/ReflectionTest/src/controllers/MyController.as +++ b/manualtests/ReflectionTest/src/controllers/MyController.as @@@ -49,4 -49,4 +49,4 @@@ package controller } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/ReflectionTest/src/models/MyModel.as ---------------------------------------------------------------------- diff --cc manualtests/ReflectionTest/src/models/MyModel.as index 5a16d02,5a16d02..8798300 --- a/manualtests/ReflectionTest/src/models/MyModel.as +++ b/manualtests/ReflectionTest/src/models/MyModel.as @@@ -122,4 -122,4 +122,4 @@@ package model } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/RollEventsTest/src/RollEvent.as ---------------------------------------------------------------------- diff --cc manualtests/RollEventsTest/src/RollEvent.as index 7aa3ca0,7aa3ca0..c81b06c --- a/manualtests/RollEventsTest/src/RollEvent.as +++ b/manualtests/RollEventsTest/src/RollEvent.as @@@ -30,4 -30,4 +30,4 @@@ packag public var rollEventType:String; } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/RollEventsTest/src/RollEventController.as ---------------------------------------------------------------------- diff --cc manualtests/RollEventsTest/src/RollEventController.as index 09b80cb,09b80cb..3f3e4fd --- a/manualtests/RollEventsTest/src/RollEventController.as +++ b/manualtests/RollEventsTest/src/RollEventController.as @@@ -76,4 -76,4 +76,4 @@@ packag dispatchEvent(new RollEvent("mouseUp")); } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/VanillaSDK_POC/src/Example.as ---------------------------------------------------------------------- diff --cc manualtests/VanillaSDK_POC/src/Example.as index 39195f9,39195f9..eada8e2 --- a/manualtests/VanillaSDK_POC/src/Example.as +++ b/manualtests/VanillaSDK_POC/src/Example.as @@@ -80,4 -80,4 +80,4 @@@ public class Example extends Grou } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/XMLTest/src/controllers/MyController.as ---------------------------------------------------------------------- diff --cc manualtests/XMLTest/src/controllers/MyController.as index 679d638,679d638..f050ea6 --- a/manualtests/XMLTest/src/controllers/MyController.as +++ b/manualtests/XMLTest/src/controllers/MyController.as @@@ -49,4 -49,4 +49,4 @@@ package controller } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/manualtests/XMLTest/src/models/MyModel.as ---------------------------------------------------------------------- diff --cc manualtests/XMLTest/src/models/MyModel.as index 5a16d02,5a16d02..8798300 --- a/manualtests/XMLTest/src/models/MyModel.as +++ b/manualtests/XMLTest/src/models/MyModel.as @@@ -122,4 -122,4 +122,4 @@@ package model } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/mustella/tests/basicTests/spark/views/styleTest/ADVStyleTestClass.as ---------------------------------------------------------------------- diff --cc mustella/tests/basicTests/spark/views/styleTest/ADVStyleTestClass.as index e1c51a7,e1c51a7..a851c57 --- a/mustella/tests/basicTests/spark/views/styleTest/ADVStyleTestClass.as +++ b/mustella/tests/basicTests/spark/views/styleTest/ADVStyleTestClass.as @@@ -116,4 -116,4 +116,4 @@@ package spark.views.styleTes } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/mustella/tests/basicTests/spark/views/styleTest/ADVStyleTestEvent.as ---------------------------------------------------------------------- diff --cc mustella/tests/basicTests/spark/views/styleTest/ADVStyleTestEvent.as index cd29cb5,cd29cb5..f14f70b --- a/mustella/tests/basicTests/spark/views/styleTest/ADVStyleTestEvent.as +++ b/mustella/tests/basicTests/spark/views/styleTest/ADVStyleTestEvent.as @@@ -39,4 -39,4 +39,4 @@@ package spark.views.styleTes return new ADVStyleTestEvent(type, bubbles, cancelable); } } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/vf2js/utils/PlayerGlobalToJS/src/nl/ixms/Utils.as ---------------------------------------------------------------------- diff --cc vf2js/utils/PlayerGlobalToJS/src/nl/ixms/Utils.as index 6f54db5,6f54db5..932fc4c --- a/vf2js/utils/PlayerGlobalToJS/src/nl/ixms/Utils.as +++ b/vf2js/utils/PlayerGlobalToJS/src/nl/ixms/Utils.as @@@ -41,4 -41,4 +41,4 @@@ public final class Util public function Utils() {} } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/vf2js/utils/PlayerGlobalToJS/src/nl/ixms/vo/Clazz.as ---------------------------------------------------------------------- diff --cc vf2js/utils/PlayerGlobalToJS/src/nl/ixms/vo/Clazz.as index 25149bb,25149bb..06fd66d --- a/vf2js/utils/PlayerGlobalToJS/src/nl/ixms/vo/Clazz.as +++ b/vf2js/utils/PlayerGlobalToJS/src/nl/ixms/vo/Clazz.as @@@ -486,4 -486,4 +486,4 @@@ public final class Claz } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/vf2js/utils/PlayerGlobalToJS/src/nl/ixms/vo/ClazzMemberTypeLists.as ---------------------------------------------------------------------- diff --cc vf2js/utils/PlayerGlobalToJS/src/nl/ixms/vo/ClazzMemberTypeLists.as index da2223c,da2223c..a46d42c --- a/vf2js/utils/PlayerGlobalToJS/src/nl/ixms/vo/ClazzMemberTypeLists.as +++ b/vf2js/utils/PlayerGlobalToJS/src/nl/ixms/vo/ClazzMemberTypeLists.as @@@ -8,4 -8,4 +8,4 @@@ public final class ClazzMemberTypeList } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/vf2js/utils/PlayerGlobalToJS/src/nl/ixms/vo/JSDoc.as ---------------------------------------------------------------------- diff --cc vf2js/utils/PlayerGlobalToJS/src/nl/ixms/vo/JSDoc.as index 750111b,750111b..160ba89 --- a/vf2js/utils/PlayerGlobalToJS/src/nl/ixms/vo/JSDoc.as +++ b/vf2js/utils/PlayerGlobalToJS/src/nl/ixms/vo/JSDoc.as @@@ -108,4 -108,4 +108,4 @@@ public final class JSDo public function JSDoc() {} } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/vf2js/utils/PlayerGlobalToJS/src/vf2js/display/IDisplayObject.as ---------------------------------------------------------------------- diff --cc vf2js/utils/PlayerGlobalToJS/src/vf2js/display/IDisplayObject.as index 5fd7821,5fd7821..2f7a1b4 --- a/vf2js/utils/PlayerGlobalToJS/src/vf2js/display/IDisplayObject.as +++ b/vf2js/utils/PlayerGlobalToJS/src/vf2js/display/IDisplayObject.as @@@ -24,4 -24,4 +24,4 @@@ public interface IDisplayObjec function set scaleY(value:Number):void; } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/vf2js/utils/PlayerGlobalToJS/src/vf2js/display/IDisplayObjectContainer.as ---------------------------------------------------------------------- diff --cc vf2js/utils/PlayerGlobalToJS/src/vf2js/display/IDisplayObjectContainer.as index de2298c,de2298c..60778de --- a/vf2js/utils/PlayerGlobalToJS/src/vf2js/display/IDisplayObjectContainer.as +++ b/vf2js/utils/PlayerGlobalToJS/src/vf2js/display/IDisplayObjectContainer.as @@@ -9,4 -9,4 +9,4 @@@ public interface IDisplayObjectContaine function addChildAt(child:DisplayObject, index:int):DisplayObject; } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/vf2js/utils/PlayerGlobalToJS/src/vf2js/display/IInteractiveObject.as ---------------------------------------------------------------------- diff --cc vf2js/utils/PlayerGlobalToJS/src/vf2js/display/IInteractiveObject.as index 490355c,490355c..755ea34 --- a/vf2js/utils/PlayerGlobalToJS/src/vf2js/display/IInteractiveObject.as +++ b/vf2js/utils/PlayerGlobalToJS/src/vf2js/display/IInteractiveObject.as @@@ -5,4 -5,4 +5,4 @@@ public interface IInteractiveObjec { } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/vf2js/utils/PlayerGlobalToJS/src/vf2js/display/ILoaderInfo.as ---------------------------------------------------------------------- diff --cc vf2js/utils/PlayerGlobalToJS/src/vf2js/display/ILoaderInfo.as index c38f38e,c38f38e..9cdfbf2 --- a/vf2js/utils/PlayerGlobalToJS/src/vf2js/display/ILoaderInfo.as +++ b/vf2js/utils/PlayerGlobalToJS/src/vf2js/display/ILoaderInfo.as @@@ -18,4 -18,4 +18,4 @@@ public interface ILoaderInf function dispatchEvent(event:Event):void; } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/vf2js/utils/PlayerGlobalToJS/src/vf2js/display/IMovieClip.as ---------------------------------------------------------------------- diff --cc vf2js/utils/PlayerGlobalToJS/src/vf2js/display/IMovieClip.as index 61c1b28,61c1b28..a97d029 --- a/vf2js/utils/PlayerGlobalToJS/src/vf2js/display/IMovieClip.as +++ b/vf2js/utils/PlayerGlobalToJS/src/vf2js/display/IMovieClip.as @@@ -14,4 -14,4 +14,4 @@@ public interface IMovieCli function stop():void; } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/vf2js/utils/PlayerGlobalToJS/src/vf2js/display/ISprite.as ---------------------------------------------------------------------- diff --cc vf2js/utils/PlayerGlobalToJS/src/vf2js/display/ISprite.as index cab5c41,cab5c41..2b6563b --- a/vf2js/utils/PlayerGlobalToJS/src/vf2js/display/ISprite.as +++ b/vf2js/utils/PlayerGlobalToJS/src/vf2js/display/ISprite.as @@@ -5,4 -5,4 +5,4 @@@ public interface ISprit { } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/vf2js/utils/PlayerGlobalToJS/src/vf2js/display/IStage.as ---------------------------------------------------------------------- diff --cc vf2js/utils/PlayerGlobalToJS/src/vf2js/display/IStage.as index c8c783e,c8c783e..814ca99 --- a/vf2js/utils/PlayerGlobalToJS/src/vf2js/display/IStage.as +++ b/vf2js/utils/PlayerGlobalToJS/src/vf2js/display/IStage.as @@@ -23,4 -23,4 +23,4 @@@ public interface IStag function hasEventListener(type:String):Boolean; } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/vf2js/utils/PlayerGlobalToJS/src/vf2js/events/IEvent.as ---------------------------------------------------------------------- diff --cc vf2js/utils/PlayerGlobalToJS/src/vf2js/events/IEvent.as index d3a5bc4,d3a5bc4..f89d850 --- a/vf2js/utils/PlayerGlobalToJS/src/vf2js/events/IEvent.as +++ b/vf2js/utils/PlayerGlobalToJS/src/vf2js/events/IEvent.as @@@ -12,4 -12,4 +12,4 @@@ public interface IEven function toString():String; } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/vf2js/utils/PlayerGlobalToJS/src/vf2js/events/IEventDispatcher.as ---------------------------------------------------------------------- diff --cc vf2js/utils/PlayerGlobalToJS/src/vf2js/events/IEventDispatcher.as index 620320a,620320a..9ecd34b --- a/vf2js/utils/PlayerGlobalToJS/src/vf2js/events/IEventDispatcher.as +++ b/vf2js/utils/PlayerGlobalToJS/src/vf2js/events/IEventDispatcher.as @@@ -12,4 -12,4 +12,4 @@@ public interface IEventDispatche function toString():String; } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/vf2js/utils/PlayerGlobalToJS/src/vf2js/events/IProgressEvent.as ---------------------------------------------------------------------- diff --cc vf2js/utils/PlayerGlobalToJS/src/vf2js/events/IProgressEvent.as index 6780d93,6780d93..565f0a4 --- a/vf2js/utils/PlayerGlobalToJS/src/vf2js/events/IProgressEvent.as +++ b/vf2js/utils/PlayerGlobalToJS/src/vf2js/events/IProgressEvent.as @@@ -6,4 -6,4 +6,4 @@@ public interface IProgressEven function toString():String; } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/vf2js/utils/PlayerGlobalToJS/src/vf2js/events/ITimerEvent.as ---------------------------------------------------------------------- diff --cc vf2js/utils/PlayerGlobalToJS/src/vf2js/events/ITimerEvent.as index 1404cd5,1404cd5..4627664 --- a/vf2js/utils/PlayerGlobalToJS/src/vf2js/events/ITimerEvent.as +++ b/vf2js/utils/PlayerGlobalToJS/src/vf2js/events/ITimerEvent.as @@@ -6,4 -6,4 +6,4 @@@ public interface ITimerEven function toString():String; } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/vf2js/utils/PlayerGlobalToJS/src/vf2js/system/IApplicationDomain.as ---------------------------------------------------------------------- diff --cc vf2js/utils/PlayerGlobalToJS/src/vf2js/system/IApplicationDomain.as index 6fc8d3c,6fc8d3c..811462f --- a/vf2js/utils/PlayerGlobalToJS/src/vf2js/system/IApplicationDomain.as +++ b/vf2js/utils/PlayerGlobalToJS/src/vf2js/system/IApplicationDomain.as @@@ -7,4 -7,4 +7,4 @@@ public interface IApplicationDomai function hasDefinition(name:String):Boolean; } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/vf2js/utils/PlayerGlobalToJS/src/vf2js/system/ICapabilities.as ---------------------------------------------------------------------- diff --cc vf2js/utils/PlayerGlobalToJS/src/vf2js/system/ICapabilities.as index 0e71876,0e71876..eae2642 --- a/vf2js/utils/PlayerGlobalToJS/src/vf2js/system/ICapabilities.as +++ b/vf2js/utils/PlayerGlobalToJS/src/vf2js/system/ICapabilities.as @@@ -14,4 -14,4 +14,4 @@@ public interface ICapabilitie function get version():String; } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/vf2js/utils/PlayerGlobalToJS/src/vf2js/utils/ITimer.as ---------------------------------------------------------------------- diff --cc vf2js/utils/PlayerGlobalToJS/src/vf2js/utils/ITimer.as index 28f830e,28f830e..1d2d6a4 --- a/vf2js/utils/PlayerGlobalToJS/src/vf2js/utils/ITimer.as +++ b/vf2js/utils/PlayerGlobalToJS/src/vf2js/utils/ITimer.as @@@ -11,4 -11,4 +11,4 @@@ public interface ITime function stop():void; } --} ++} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/77148f4a/vf2js/utils/PlayerGlobalToJS/src/vf2js/utils/IgetDefinitionByName.as ---------------------------------------------------------------------- diff --cc vf2js/utils/PlayerGlobalToJS/src/vf2js/utils/IgetDefinitionByName.as index 409a77f,409a77f..b25e492 --- a/vf2js/utils/PlayerGlobalToJS/src/vf2js/utils/IgetDefinitionByName.as +++ b/vf2js/utils/PlayerGlobalToJS/src/vf2js/utils/IgetDefinitionByName.as @@@ -5,4 -5,4 +5,4 @@@ public interface IgetDefinitionByNam { } --} ++}
