Transferred from the Adobe Open Source Subversion Repository

Revision: 17308
Author:   dthakkar@adobe.com
Date:     2010-08-12T23:22:20.533632Z

Log Message:
-----------
Flex integration feature (includes spark formatters and related checkintests.)
UIComponent.as - Added API's to support non visual style client
IAdvancedStyleClient.as - Added setter for StyleParent method
StyleProtoChain.as - Added else loop to verify if the component is IAdvancedStyleClient
StyleProxy.as - added setter for styleParent method (this class inherits IAdvancedStyleClient interface)

QE notes: No
Doc notes: No
Bugs: No
Reviewer: Gordon , Darrell
Tests run: CheckinTests, Mustella
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/styleTest</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/NumberFormatter.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses/CollatorBase.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/supportClasses/NumberBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/BasicTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/supportClasses</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/CollatorTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/SortingCollator.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/StringToolsTestScript.mxml</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/AdvancedStyleClientTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/StringTools.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/BasicTests-config.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/styleTest/ADVStyleTestEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/StyleProxy.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/NumberFormatterTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/CurrencyFormatterTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/CollatorTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/NumberFormatterTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/DateTimeFormatterTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/CurrencyFormatterTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/DateTimeFormatterTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/AdvancedStyleClientTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses/GlobalizationBase.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/formatters/IFormatter.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/styleTest/ADVStyleTestClass.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/LastOperationStatus.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/StringToolsTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/MatchingCollator.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1258403 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/FrameworkClasses.as
+++ frameworks/projects/framework/src/FrameworkClasses.as
@@ -87,6 +87,7 @@
 	import mx.filters.BaseFilter; BaseFilter;
 	import mx.filters.BaseDimensionFilter; BaseDimensionFilter;
 	import mx.filters.IBitmapFilter; IBitmapFilter;
+    import mx.formatters.IFormatter; IFormatter;
 	import mx.graphics.ImageSnapshot; ImageSnapshot;
 	import mx.graphics.codec.PNGEncoder; PNGEncoder;
 	import mx.graphics.codec.JPEGEncoder; JPEGEncoder;
@@ -133,6 +134,7 @@
 	import mx.skins.ProgrammaticSkin; ProgrammaticSkin;
 	import mx.skins.RectangularBorder; RectangularBorder;
 	import mx.styles.IStyleModule; IStyleModule;
+	import mx.styles.AdvancedStyleClient; AdvancedStyleClient;
 	import mx.utils.ArrayUtil; ArrayUtil;
 	import mx.utils.DescribeTypeCache; DescribeTypeCache;
 	import mx.utils.DescribeTypeCacheRecord; DescribeTypeCacheRecord;


Transferred from the Adobe Open Source Subversion Repository

Revision: 9399
Author:   aharui@adobe.com
Date:     2009-08-19T20:39:10.836192Z

Log Message:
-----------
Check in prototypes of ControlBars in Panel and Application, Spark Containers in Halo Navigators, Halo ViewStack in Spark ButtonBar.  APIs should match spec but are subject to change from PARB.  Skins are subject to tweaking after XD review

QE Notes: The following tests will fail and need updating:
gumbo/containers/Panel/Properties/Panel_Properties_position Panel_Properties_rotate
apollo/spark/components/Window/properties/window_properties_titleIcon_tests titleIcon_test8

Doc Notes: None
Bugs: None
Reviewer: Darrell, Glenn, Ryan
API Change: No
Is noteworthy for integration: No
tests: checkintests mustella/gumbo/components/Application, gumbo/components/ButtonBar, gumbo/containers/Panel, apollo/gumbo/spark/Window, containers/ViewStack, containers/Accordion,

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/SparkChromeWindowedApplicationSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NavigatorChild.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/IDeferredContentOwner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NavBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/INavigatable.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/PanelSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/INavigatorContent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/PanelSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDeferredContentOwner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ApplicationSkin.mxml</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1267775 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mx/src/mx/containers/ViewStack.as
+++ frameworks/projects/mx/src/mx/containers/ViewStack.as
@@ -13,14 +13,15 @@
 {

 import flash.display.DisplayObject;
-import flash.display.DisplayObjectContainer;
 import flash.events.Event;
+
 import mx.automation.IAutomationObject;
 import mx.core.Container;
 import mx.core.ContainerCreationPolicy;
 import mx.core.EdgeMetrics;
-import mx.managers.IHistoryManagerClient;
 import mx.core.IInvalidating;
+import mx.core.INavigatable;
+import mx.core.INavigatorContent;
 import mx.core.IUIComponent;
 import mx.core.ScrollPolicy;
 import mx.core.UIComponent;
@@ -28,11 +29,15 @@
 import mx.effects.Effect;
 import mx.effects.EffectManager;
 import mx.events.ChildExistenceChangedEvent;
+import mx.events.CollectionEvent;
+import mx.events.CollectionEventKind;
 import mx.events.EffectEvent;
 import mx.events.FlexEvent;
 import mx.events.IndexChangedEvent;
+import mx.events.PropertyChangeEvent;
 import mx.geom.RoundedRectangle;
 import mx.managers.HistoryManager;
+import mx.managers.IHistoryManagerClient;

 use namespace mx_internal;

@@ -228,7 +233,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-public class ViewStack extends Container implements IHistoryManagerClient
+public class ViewStack extends Container implements IHistoryManagerClient, INavigatable
 {
     include "../core/Version.as";

@@ -301,7 +306,7 @@
      *  @private
      *  Remember which child has an overlay mask, if any.
      */
-    private var overlayChild:Container;
+    private var overlayChild:UIComponent;

     /**
      *  @private
@@ -608,19 +613,19 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public function get selectedChild():Container
+    public function get selectedChild():INavigatorContent
     {
         if (selectedIndex == -1)
             return null;

-        return Container(getChildAt(selectedIndex));
+        return INavigatorContent(getChildAt(selectedIndex));
     }

     /**
      *  @private
      */
     public function set selectedChild(
-                            value:Container):void
+                            value:INavigatorContent):void
     {
         var newIndex:int = getChildIndex(DisplayObject(value));

@@ -816,8 +821,8 @@

         if (numChildren > 0 && selectedIndex != -1)
         {
-            var child:Container =
-                Container(getChildAt(selectedIndex));
+            var child:UIComponent =
+                UIComponent(getChildAt(selectedIndex));

             minWidth = child.minWidth;
             preferredWidth = child.getExplicitOrMeasuredWidth();
@@ -847,7 +852,7 @@
         // cache until we're fully initialized.  (bug 102639)
         // This check was moved from the beginning of this function to
         // here to fix bug 103665.
-        if (selectedChild && Container(selectedChild).numChildrenCreated == -1)
+        if (selectedChild && INavigatorContent(selectedChild).deferredContentCreated == false)
             return;

         // Don't remember sizes if we don't have any children
@@ -907,8 +912,8 @@
         // Stretch the selectedIndex to fill our size
         if (selectedIndex != -1)
         {
-            var child:Container =
-                Container(getChildAt(selectedIndex));
+            var child:UIComponent =
+                UIComponent(getChildAt(selectedIndex));

             var newWidth:Number = w;
             var newHeight:Number = h;
@@ -968,7 +973,7 @@
         // Remember which child has an overlay, so that we don't inadvertently
         // create an overlay on one child and later try to remove the overlay
         // of another child. (bug 100731)
-        overlayChild = selectedChild;
+        overlayChild = (selectedChild as UIComponent);
         if (!overlayChild)
             return;

@@ -976,7 +981,7 @@
         overlayTargetArea = targetArea;

         if (selectedChild &&
-            selectedChild.numChildrenCreated == -1)
+            selectedChild.deferredContentCreated == false)
             // No children have been created
         {
             // Wait for the childrenCreated event before creating the overlay
@@ -1022,11 +1027,11 @@
         {
             for (var i:int = 0; i < numChildren; i++)
             {
-                var containerChild:Container =
-                    getChildAt(i) as Container;
-
-                if (containerChild && containerChild.numChildrenCreated == -1)
-                    containerChild.createComponentsFromDescriptors();
+                var containerChild:INavigatorContent =
+                    getChildAt(i) as INavigatorContent;
+
+                if (containerChild && containerChild.deferredContentCreated == false)
+                    containerChild.createDeferredContent();
             }
         }
     }
@@ -1154,10 +1159,10 @@

         // Stop all currently playing effects
         if (lastIndex != -1 && lastIndex < numChildren)
-            Container(getChildAt(lastIndex)).endEffectsStarted();
+            UIComponent(getChildAt(lastIndex)).endEffectsStarted();

         if (_selectedIndex != -1)
-            selectedChild.endEffectsStarted();
+            (selectedChild as UIComponent).endEffectsStarted();

         // Remember the old index.
         lastIndex = _selectedIndex;
@@ -1184,7 +1189,7 @@

         if (lastIndex != -1 && lastIndex < numChildren)
         {
-            var currentChild:Container = Container(getChildAt(lastIndex));
+            var currentChild:UIComponent = UIComponent(getChildAt(lastIndex));

             currentChild.setVisible(false); // Hide the current child

@@ -1232,11 +1237,11 @@

         // Performance optimization: don't call createComponents if we know
         // that createComponents has already been called.
-        if (selectedChild && selectedChild.numChildrenCreated == -1)
+        if (selectedChild && selectedChild.deferredContentCreated == false)
         {
             if (initialized)  // Only listen if the ViewStack has already been initialized.
                 selectedChild.addEventListener(FlexEvent.CREATION_COMPLETE,childCreationCompleteHandler);
-            selectedChild.createComponentsFromDescriptors(true);
+            selectedChild.createDeferredContent();
         }

         // Do the initial measurement/layout pass for the
@@ -1260,6 +1265,7 @@
         event.newIndex = newIndex;
         event.relatedObject = getChildAt(newIndex);
         dispatchEvent(event);
+        dispatchEvent(new Event("navigationChange"));
     }

     //--------------------------------------------------------------------------
@@ -1327,6 +1333,11 @@
             // They are made as they become the selected child.
             uiChild.visible = false;
         }
+        if (child is INavigatorContent)
+        {
+            child.addEventListener("labelChanged", navigatorChildChangedHandler);
+            child.addEventListener("iconChanged", navigatorChildChangedHandler);
+        }

         // If we just created the first child and no selected index has
         // been proposed, then propose this child to be selected.
@@ -1357,6 +1368,12 @@
         var child:DisplayObject = event.relatedObject;
         var index:int = getChildIndex(child);

+        if (child is INavigatorContent)
+        {
+            child.removeEventListener("labelChanged", navigatorChildChangedHandler);
+            child.removeEventListener("iconChanged", navigatorChildChangedHandler);
+        }
+
         // Handle the simple case.
         if (index > selectedIndex)
             return;
@@ -1394,6 +1411,198 @@
             invalidateProperties();
         }
     }
+
+
+    /**
+     *  @private
+     */
+    override public function addChildAt(item:DisplayObject, index:int):DisplayObject
+    {
+        var obj:DisplayObject = super.addChildAt(item, index);
+        internalDispatchEvent(CollectionEventKind.ADD, obj, index);
+        return obj;
+    }
+
+    /**
+     *  @private
+     */
+    override public function removeChildAt(index:int):DisplayObject
+    {
+        var obj:DisplayObject = super.removeChildAt(index);
+        internalDispatchEvent(CollectionEventKind.REMOVE, getItemAt(index), index);
+        return obj;
+    }
+
+    /**
+     *  @private
+     */
+    override public function removeAllChildren():void
+    {
+        super.removeAllChildren();
+        internalDispatchEvent(CollectionEventKind.RESET);
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  IList Implementation
+    //  Viewstack implements IList so it can be plugged into a Spark ButtonBar
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  The IList implementation dispatches change events when
+     *  label or icon properties change.
+     */
+    private function navigatorChildChangedHandler(event:Event):void
+    {
+        var pe:PropertyChangeEvent = new PropertyChangeEvent(PropertyChangeEvent.PROPERTY_CHANGE);
+        pe.source = event.target;
+        pe.property = (event.type == "labelChanged") ? "label" : "icon";
+
+        internalDispatchEvent(CollectionEventKind.UPDATE, pe, getChildIndex(event.target as DisplayObject));
+    }
+
+    /**
+     *  Dispatches a collection event with the specified information.
+     *
+     *  @param kind String indicates what the kind property of the event should be
+     *  @param item Object reference to the item that was added or removed
+     *  @param location int indicating where in the source the item was added.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    private function internalDispatchEvent(kind:String, item:Object = null, location:int = -1):void
+    {
+        if (hasEventListener(CollectionEvent.COLLECTION_CHANGE))
+        {
+            var event:CollectionEvent =
+                new CollectionEvent(CollectionEvent.COLLECTION_CHANGE);
+            event.kind = kind;
+            event.items.push(item);
+            event.location = location;
+            dispatchEvent(event);
+        }
+
+        // now dispatch a complementary PropertyChangeEvent
+        if (hasEventListener(PropertyChangeEvent.PROPERTY_CHANGE) &&
+           (kind == CollectionEventKind.ADD || kind == CollectionEventKind.REMOVE))
+        {
+            var objEvent:PropertyChangeEvent =
+                new PropertyChangeEvent(PropertyChangeEvent.PROPERTY_CHANGE);
+            objEvent.property = location;
+            if (kind == CollectionEventKind.ADD)
+                objEvent.newValue = item;
+            else
+                objEvent.oldValue = item;
+            dispatchEvent(objEvent);
+        }
+    }
+
+    /**
+     *  @private
+     *  IList implementation of length returns numChildren
+     */
+    public function get length():int
+    {
+    	return numChildren;
+    }
+
+    /**
+     *  @private
+     *  IList implementation of addItem calls addChild
+     */
+    public function addItem(item:Object):void
+    {
+    	addChild(item as DisplayObject);
+    }
+
+    /**
+     *  @private
+     *  IList implementation of addItemAt calls addChildAt
+     */
+    public function addItemAt(item:Object, index:int):void
+    {
+    	addChildAt(item as DisplayObject, index);
+    }
+
+    /**
+     *  @private
+     *  IList implementation of getItemAt calls getChildAt
+     */
+    public function getItemAt(index:int, prefetch:int = 0):Object
+    {
+    	return getChildAt(index);
+    }
+
+    /**
+     *  @private
+     *  IList implementation of getItemIndex calls getChildIndex
+     */
+    public function getItemIndex(item:Object):int
+    {
+    	return getChildIndex(item as DisplayObject);
+    }
+
+    /**
+     *  @private
+     *  IList implementation of itemUpdated doesn't do anything
+     */
+    public function itemUpdated(item:Object, property:Object = null,
+                         oldValue:Object = null,
+                         newValue:Object = null):void
+    {
+
+    }
+
+    /**
+     *  @private
+     *  IList implementation of removeAll calls removeAllChildren
+     */
+    public function removeAll():void
+    {
+    	removeAllChildren();
+    }
+
+    /**
+     *  @private
+     *  IList implementation of removeItemAt calls removeChildAt
+     */
+    public function removeItemAt(index:int):Object
+    {
+        return removeChildAt(index);
+    }
+
+    /**
+     *  @private
+     *  IList implementation of setItemAt removes the old
+     *  child and adds the new
+     */
+    public function setItemAt(item:Object, index:int):Object
+    {
+    	var result:Object = removeChildAt(index);
+    	addChildAt(item as DisplayObject,index);
+    	return result;
+    }
+
+    /**
+     *  @private
+     *  IList implementation of toArray returns array of children
+     */
+    public function toArray():Array
+    {
+        var result:Array = [];
+        for(var i:int =0;i<numChildren;i++)
+        {
+        	result.push(getChildAt(i));
+        }
+        return result;
+    }
+
+
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 3351
Author:   jimurphy@adobe.com
Date:     2008-09-25T15:17:51.460890Z

Log Message:
-----------
Merged 3.0.x revisions 3318,3320,3322,3324,3329,3336,3349 -> trunk
-includes AIK 20080923ap

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/ZipCodeValidator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/air_version.txt</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/asc/src/java/macromedia/abc/BytecodeBuffer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/IModuleInfo.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/win/AIR Integration Kit.zip</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/ZipCodeValidatorDomainType.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/mac/AIR Integration Kit.tbz2</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PostLink.java</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1269678 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mx/src/mx/modules/ModuleLoader.as
+++ frameworks/projects/mx/src/mx/modules/ModuleLoader.as
@@ -15,6 +15,7 @@
 import flash.display.DisplayObject;
 import flash.display.DisplayObjectContainer;
 import flash.system.ApplicationDomain;
+import flash.utils.ByteArray;
 import mx.containers.VBox;
 import mx.core.IDeferredInstantiationUIComponent;
 import mx.events.FlexEvent;
@@ -239,15 +240,33 @@
      *
      *
If the module has already been loaded, this method does nothing. It does
      *  not load the module a second time.

-     */
-    public function loadModule():void
-    {
-        if (url == null)
+     *
+     *  @param url The location of the module, expressed as a URL. This is an
+     *  optional parameter. If this parameter is null the value of the
+     *  url property will be used. If the url parameter is provided
+     *  the url property will be updated to the value of the url.
+     *
+     *  @param bytes A ByteArray object. The ByteArray is expected to contain
+     *  the bytes of a SWF file that represents a compiled Module. The ByteArray
+     *  object can be obtained by using the URLLoader class. If this parameter
+     *  is specified the module will be loaded from the ByteArray and the url
+     *  parameter will be used to identify the module in the
+     *  ModuleManager.getModule() method and must be non-null. If
+     *  this parameter is null the module will be load from the url, either
+     *  the url parameter if it is non-null, or the url property as a fallback.
+     */
+    public function loadModule(url:String = null, bytes:ByteArray = null):void
+    {
+
+        if (url != null)
+            _url = url;
+
+        if (_url == null)
         {
             //trace("loadModule() - null url");
             return;
         }
-
+
         if (child)
         {
             //trace("loadModule() - already created the child");
@@ -262,7 +281,7 @@

         dispatchEvent(new FlexEvent(FlexEvent.LOADING));

-        module = ModuleManager.getModule(url);
+        module = ModuleManager.getModule(_url);

         module.addEventListener(ModuleEvent.PROGRESS, moduleProgressHandler);
         module.addEventListener(ModuleEvent.SETUP, moduleSetupHandler);
@@ -270,7 +289,7 @@
         module.addEventListener(ModuleEvent.ERROR, moduleErrorHandler);
         module.addEventListener(ModuleEvent.UNLOAD, moduleUnloadHandler);

-        module.load(applicationDomain);
+        module.load(applicationDomain, null, bytes);
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 7743
Author:   clucier@adobe.com
Date:     2009-06-11T13:53:10.203664Z

Log Message:
-----------
Moving away from using namespace qualifiers in most cases in the SDK.  We've run into a few cases now where the use of qualifiers in code that is called excessively can slow things down.
Bugs: SDK-21337
Reviewer: Ryan, Paul
QE Notes: None
Tests: Ran several random Mustella test groups, checkintests.

Modified Paths:
--------------
106 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1269864 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mx/src/mx/skins/halo/PopUpIcon.as
+++ frameworks/projects/mx/src/mx/skins/halo/PopUpIcon.as
@@ -15,6 +15,8 @@
 import flash.display.Graphics;
 import mx.core.mx_internal;
 import mx.skins.ProgrammaticSkin;
+
+use namespace mx_internal;

 /**
  *  The skin for all the states of the icon in a PopUpButton.
@@ -104,7 +106,7 @@
         var g:Graphics = graphics;

         g.clear();
-        g.beginFill(mx_internal::arrowColor);
+        g.beginFill(arrowColor);
         g.moveTo(w / 2, height);
         g.lineTo(0, 0);
         g.lineTo(w, 0);


Transferred from the Adobe Open Source Subversion Repository

Revision: 7918
Author:   chaase@adobe.com
Date:     2009-06-17T16:55:30.271215Z

Log Message:
-----------
Round 2 of effects PARB changes. Some renames and removals of properties/functions, including:
AnimateTransform: removed 18 MotionPath properties, added applyChangesPostLayout property (replaces affectLayout property in subclasses), removed addMotionPath/addPostLayoutMotionPath protected functions
Animation: removed seek(), reverse()
SimpleMotionPath: removed 'duration' arg in constructor

QE Notes: Mustella will break on some of these changes (no surprise, just needs minor updates)
Doc Notes: API updates
Bugs: none
Reviewer: Jason
Tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateColorInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/SimpleMotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/RotateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/ResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/MoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1283646 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/effects/Move3D.as
+++ frameworks/projects/spark/src/spark/effects/Move3D.as
@@ -11,10 +11,19 @@

 package spark.effects
 {
+import mx.core.mx_internal;
 import mx.effects.IEffectInstance;

 import spark.effects.supportClasses.AnimateTransformInstance;

+use namespace mx_internal;
+
+//--------------------------------------
+//  Excluded APIs
+//--------------------------------------
+
+[Exclude(name="motionPaths", kind="property")]
+
 /**
  *  The Move3D class moves a target object in the x, y, and z dimensions.
  *  The x, y, and z property specifications of the Move3D effect specify
@@ -39,6 +48,7 @@
  *  <mx:Move3D
  *    <b>Properties</b>
  *    id="ID"
+ *    applyChangesPostLayout="true"
  *    zBy="no default"
  *    zFrom="no default"
  *    zTo="no default"
@@ -69,11 +79,32 @@
     public function Move3D(target:Object=null)
     {
         super(target);
-        affectLayout = false;
+        applyChangesPostLayout = true;
         applyLocalProjection = true;
         instanceClass = AnimateTransformInstance;
     }

+    //----------------------------------
+    //  applyChangesPostLayout
+    //----------------------------------
+    [Inspectable(category="General")]
+    /**
+     *  @copy AnimateTransform#applyChangesPostLayout
+     *  The default value for this property is true for 3D effects,
+     *  because the Flex layout system ignores 3D transformation properties.
+     *
+     *  @default true
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    override public function get applyChangesPostLayout():Boolean
+    {
+        return super.applyChangesPostLayout;
+    }
+
     //----------------------------------
     //  zBy
     //----------------------------------
@@ -138,7 +169,7 @@
      */
    override protected function initInstance(instance:IEffectInstance):void
     {
-        if(affectLayout)
+        if (!applyChangesPostLayout)
         {
             addMotionPath("translationZ", zFrom, zTo, zBy);
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

Modified Paths:
--------------
2361 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1283699 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/effects/Resize.as
+++ frameworks/projects/spark/src/spark/effects/Resize.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2008 Adobe Systems Incorporated
-//  All Rights Reserved.
-//
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
-//
-////////////////////////////////////////////////////////////////////////////////
 package spark.effects
 {
 import mx.core.mx_internal;


Transferred from the Adobe Open Source Subversion Repository

Revision: 13208
Author:   chaase@adobe.com
Date:     2009-12-23T21:49:14.524642Z

Log Message:
-----------
Dealt with my FIXMEs in the code. Some went away (no longer issues), some became TODOs (still issues, but nothing that we have to solve in this release), a couple were actually resolved in this change (like the bug filed/fixed: 24848).

QE notes: 10 failures in Mustella of tests that need to be changed. They're excluded for now and QE has local fixes.
Doc notes: None
Bugs: SDK-24848
Reviewer: Jason
Tests run: checkintests, Mustella (spark/effects, mx/effects)
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/CompositeEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/PropertyChanges.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Timeline.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/MoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SequenceInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectTargetFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/RemoveAction.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1283722 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/effects/Rotate.as
+++ frameworks/projects/spark/src/spark/effects/Rotate.as
@@ -195,8 +195,11 @@
         return AFFECTED_PROPERTIES;
     }

-    // FIXME (chaase): Can we remove this override? It exists only to create motionPaths,
-    // which we should be able to do somewhere else
+    // TODO (chaase): Should try to remove this override. At a minimum, we could
+    // put the motionPaths creation at the start of initInstance(). Ideally, we'd
+    // remove that logic entirely, but there's a need to create motionPaths fresh
+    // for every call to create/initInstance() or else multi-instance effects
+    // will inherit the one motionPaths object created elsewhere.
     /**
      * @private
      */


edited the addNewItem/Plaque/Character popup-menu for location;

--- editor/src/main/flex/org/arisgames/editor/view/GameEditorObjectPaletteView.as
+++ editor/src/main/flex/org/arisgames/editor/view/GameEditorObjectPaletteView.as
@@ -142,7 +142,7 @@
         pt.y = addObjectButton.y;
         pt = addObjectButton.localToGlobal(pt);

-        myMenu.show(pt.x + 30, pt.y - 50); // WB Magic number values here, play around with them as needed
+        myMenu.show(pt.x + 0, pt.y - 66); // WB Magic number values here, play around with them as needed
     }

     private function addFolderButtonOnClick(evt:MouseEvent):void
@@ -306,7 +306,7 @@
             trace("Dragged Object is a folder, so check to see if it's got any children before allowing deletion.")
             if (it.children.length > 0)
             {
-                trace("This folder has childre, so can't allow it to be deleted.");
+                trace("This folder has children, so can't allow it to be deleted.");
                 okDrop = false;
             }
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 4368
Author:   gruehle@adobe.com
Date:     2008-12-20T00:18:43.962886Z

Log Message:
-----------
Style name change: contentColor --> contentBackgroundColor.

QE Notes: Tests using contentColor need to be updated
Doc Notes: None
Bugs: ---
Reviewer: ---

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/SparkColorStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxTextInputSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxDefaultItemRenderer.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/SparkSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxTextAreaSkin.mxml</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1282253 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as
@@ -46,8 +46,8 @@
     //
     //--------------------------------------------------------------------------

-    [Bindable("contentColorChanged")]
-    public function get contentColor():uint
+    [Bindable("contentBackgroundColorChanged")]
+    public function get contentBackgroundColor():uint
     {
         var alternatingColors:Array = getStyle("alternatingItemColors");

@@ -65,12 +65,12 @@
             return alternatingColors[idx % alternatingColors.length];
         }

-        return getStyle("contentColor");
-    }
-
-    public function set contentColor(value:uint):void
-    {
-        setStyle("contentColor", value);
+        return getStyle("contentBackgroundColor");
+    }
+
+    public function set contentBackgroundColor(value:uint):void
+    {
+        setStyle("contentBackgroundColor", value);
     }

     [Bindable("rollOverColorChanged")]
@@ -179,12 +179,12 @@

         if (allStyles || styleName == "alternatingItemColors")
         {
-            conditionalEventDispatch("contentColorChanged");
-        }
-
-        if (allStyles || styleName == "contentColor")
-        {
-            conditionalEventDispatch("contentColorChanged");
+            conditionalEventDispatch("contentBackgroundColorChanged");
+        }
+
+        if (allStyles || styleName == "contentBackgroundColor")
+        {
+            conditionalEventDispatch("contentBackgroundColorChanged");
         }

         if (allStyles || styleName == "rollOverColor")


Transferred from the Adobe Open Source Subversion Repository

Revision: 18115
Author:   gruehle@adobe.com
Date:     2010-10-08T23:37:39.582350Z

Log Message:
-----------
Mobile text bug fixes:
* Add anti-alias style support to MobileTextField
* After truncating text, make sure scrollH is 0
* Make sure text field size is set properly when editing is enabled
* Copied focus skin logic from Skin/SparkSkin into MobileSkin

QE notes: -
Doc notes: -
Bugs: SDK-27987, SDK-27928, SDK-27926, SDK-28041, SDK-27945
Reviewer: Ryan, Jason San Jose
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileTextField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/Skin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/HighlightBitmapCaptureSkin.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/IHighlightBitmapCaptureClient.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1286678 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/skins/spark/HighlightBitmapCaptureSkin.as
+++ frameworks/projects/spark/src/spark/skins/spark/HighlightBitmapCaptureSkin.as
@@ -14,6 +14,7 @@

     import flash.display.Bitmap;
     import flash.display.BitmapData;
+    import flash.display.DisplayObject;
     import flash.display.IBitmapDrawable;
     import flash.events.Event;
     import flash.geom.ColorTransform;
@@ -27,6 +28,7 @@

     import spark.components.supportClasses.Skin;
     import spark.components.supportClasses.SkinnableComponent;
+    import spark.skins.IHighlightBitmapCaptureClient;

     use namespace mx_internal;

@@ -171,12 +173,12 @@
                 target.focusObj.visible = false;

             var needUpdate:Boolean;
-            var skin:Skin = target.skin as Skin;
-            if (skin)
-            {
-                needUpdate = skin.beginHighlightBitmapCapture();
+            var bitmapCaptureClient:IHighlightBitmapCaptureClient = target.skin as IHighlightBitmapCaptureClient;
+            if (bitmapCaptureClient)
+            {
+                needUpdate = bitmapCaptureClient.beginHighlightBitmapCapture();
                 if (needUpdate)
-                    skin.validateNow();
+					bitmapCaptureClient.validateNow();
             }

             m.tx = borderWeight;
@@ -190,6 +192,8 @@
             {
                 // If capture fails, substitute with a Rect
                 var fillRect:Rectangle
+				var skin:DisplayObject = target.skin;
+
                 if (skin)
                     fillRect = new Rectangle(skin.x, skin.y, skin.width, skin.height);
                 else
@@ -198,11 +202,11 @@
                 bitmapData.fillRect(fillRect, 0);
             }

-            if (skin)
-            {
-                needUpdate = skin.endHighlightBitmapCapture();
+            if (bitmapCaptureClient)
+            {
+                needUpdate = bitmapCaptureClient.endHighlightBitmapCapture();
                 if (needUpdate)
-                    skin.validateNow();
+					bitmapCaptureClient.validateNow();
             }


added defaultType parameter to Dictionary2D constructor

--- WeaveCore/src/weave/primitives/Dictionary2D.as
+++ WeaveCore/src/weave/primitives/Dictionary2D.as
@@ -24,10 +24,11 @@
 	 */
 	public class Dictionary2D
 	{
-		public function Dictionary2D(weakPrimaryKeys:Boolean = false, weakSecondaryKeys:Boolean = false)
+		public function Dictionary2D(weakPrimaryKeys:Boolean = false, weakSecondaryKeys:Boolean = false, defaultType:Class = null)
 		{
 			dictionary = new Dictionary(weakPrimaryKeys);
 			weak2 = weakSecondaryKeys;
+			this.defaultType = defaultType;
 		}

 		/**
@@ -36,6 +37,7 @@
 		public var dictionary:Dictionary;

 		private var weak2:Boolean; // used as a constructor parameter for nested Dictionaries
+		private var defaultType:Class; // used for creating objects automatically via get()

 		/**
 		 *
@@ -46,7 +48,15 @@
 		public function get(key1:Object, key2:Object):*
 		{
 			var d2:* = dictionary[key1];
-			return d2 ? d2[key2] : undefined;
+			if (d2)
+				return d2[key2];
+			if (defaultType)
+			{
+				var value:* = new defaultType();
+				set(key1, key2, value);
+				return value;
+			}
+			return undefined;
 		}

 		/**


Transferred from the Adobe Open Source Subversion Repository

Revision: 11490
Author:   gruehle@adobe.com
Date:     2009-11-06T01:34:58.836883Z

Log Message:
-----------
Add accentColor style. This color is used to tint "emphasized" buttons, and as the color for slider track highlighting.

QE notes: Tests should be added for this style.
Doc notes: ASDoc added, but should be reviewed.
Bugs: SDK-23450, SDK-23451
Reviewer: Ryan
Tests run: checkintests, components/Slider, components/Alert
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/SliderTrackHighlightSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DefaultButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DefaultButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1269282 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mx/src/mx/core/Container.as
+++ frameworks/projects/mx/src/mx/core/Container.as
@@ -174,6 +174,19 @@
 include "../styles/metadata/ContainerBackgroundStyles.as"
 include "../styles/metadata/PaddingStyles.as"
 include "../styles/metadata/TextStyles.as"
+
+/**
+ *  Accent color used by component skins. The default button skin uses this color
+ *  to tint the background. Slider track highlighting uses this color.
+ *
+ *  @default #0099FF
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Style(name="accentColor", type="uint", format="Color", inherit="yes", theme="spark")]

 /**
  *  If a background image is specified, this style specifies


StreamBuffer : reset overlapping tags when crossing discontinuity

--- src/org/mangui/hls/stream/StreamBuffer.as
+++ src/org/mangui/hls/stream/StreamBuffer.as
@@ -245,6 +245,12 @@
                                 }
                             }
                         }
+                    } else {
+                        // different continuity counter, reset any overlapping tags
+                        if(_overlappingTags.length) {
+                            // reset overlapping tags
+                            _overlappingTags = new Vector.<FLVTag>();
+                        }
                     }
                     _fragMainLevel = fragLevel;
                     _fragMainSN = fragSN;


fix RenderingController.deleteDrawCalls() using effect instead of effectInstance as a key for _effectInstanceToMeshes

--- src/aerys/minko/scene/controller/scene/RenderingController.as
+++ src/aerys/minko/scene/controller/scene/RenderingController.as
@@ -569,7 +569,7 @@
 			meshesWithSameEffectInstance.splice(meshesWithSameEffectInstance.indexOf(mesh), 1);
 			if (meshesWithSameEffectInstance.length == 0)
 			{
-				delete _effectInstanceToMeshes[effect];
+				delete _effectInstanceToMeshes[effectInstance];
 				_effectInstances.splice(_effectInstances.indexOf(effectInstance), 1);
                 effectInstance.passesChanged.remove(effectInstancePassesChangedHandler);
 			}


Geometry sanitizer might corrupt vertexstreams

--- src/aerys/minko/scene/node/mesh/geometry/GeometrySanitizer.as
+++ src/aerys/minko/scene/node/mesh/geometry/GeometrySanitizer.as
@@ -8,7 +8,7 @@
 	public final class GeometrySanitizer
 	{
 		private static const INDEX_LIMIT	: uint = 524270;
-		private static const VERTEX_LIMIT	: uint = 65536;
+		private static const VERTEX_LIMIT	: uint = 5000;

 		/**
 		 * Split vertex and index buffers too big the be rendered.
@@ -108,15 +108,13 @@
 					// ... increment indices counter
 					usedIndicesCount += 3;

-					// some assertions for debug purposes..
-					//	if (usedIndicesCount != partialIndexData.length)
-					//		throw new Error('Asset failed');
-					//
-					//	if (usedVerticesCount != usedVertices.length)
-					//		throw new Error('Asset failed');
-					//
-					//	if (usedVerticesCount != partialVertexData.length / dwordsPerVertex)
-					//		throw new Error('Asset failed');
+//					// some assertions for debug purposes..
+//						if (usedIndicesCount != partialIndexData.length)
+//							throw new Error('Assert failed');
+//
+//
+//						if (usedVerticesCount != partialVertexData.length / dwordsPerVertex)
+//							throw new Error('Assert failed');
 				}

 				outIndexDatas.push(partialIndexData);


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

Modified Paths:
--------------
2361 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1264801 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mobilecomponents/src/spark/transitions/FlipViewTransitionMode.as
+++ frameworks/projects/mobilecomponents/src/spark/transitions/FlipViewTransitionMode.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2010 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////

 package spark.transitions
 {


simulator updates

simulator updates

fps off by default 'P' to enable
updates off by default 'U' to enable
make buttons immune to key repeat

Signed-off-by: Erik Gilling <1100d3bbb092e6691a138903fe8ea324306d03ea@konkers.net>

--- flash/org/flg/soma/Soma.as
+++ flash/org/flg/soma/Soma.as
@@ -48,8 +48,12 @@

 		protected const nRelays:Number = nAxonRelays + nSparkleRelays;

+		protected const nButtons:Number = 11;
+
 		protected var ledState:Array;
 		protected var relayState:Array;
+
+		protected var buttonState:Array;

 		private var text3D:Text3D;
 		private var textMaterial:Letter3DMaterial;
@@ -59,14 +63,18 @@

 		private var eventsRegistered:Boolean = false;

-		private var update:Boolean = true;
+		private var update:Boolean = false;
 		private var rotate:Boolean = true;
-		private var displayStructure:Boolean = false;
+		private var displayFps:Boolean = false;
+		private var displayStructure:Boolean = true;
+
+

 		public function Soma()
 		{
+			var i:Number;
+
 			super(1, 1, true, false);
-

 			opaqueBackground = 0;

@@ -74,6 +82,12 @@

 			ledState = new Array(nLights);
 			relayState = new Array(nRelays);
+			buttonState = new Array(nButtons);
+
+			for (i = 0; i < nButtons; i++) {
+				buttonState[i] = new Boolean(false);
+			}
+
 			getState();
 			startRendering();

@@ -105,6 +119,10 @@
 			var loader:URLLoader;
 			var request:URLRequest;

+			if (buttonState[n] == down) {
+				return;
+			}
+			buttonState[n] = down;
 			request = new URLRequest("http://127.0.0.1:8080/soma/button/" + n +
 						 (down ? "/down" : "/up"));
 			loader = new URLLoader();
@@ -192,6 +210,7 @@
 			lowerDodeca.x = 400;
 			lowerDodeca.y = 50;
 			lowerDodeca.pitch(-90);
+			lowerDodeca.roll(36);

 			axon = new Axon(mat, 500, 90, 12, displayStructure);
@@ -213,6 +232,7 @@
 			text3D.scale = 0.5;
 			text3D.x = 800;
 			text3D.y = 600;
+			text3D.visible = displayFps;
 			scene.addChild(text3D);

 		}
@@ -257,15 +277,12 @@
 			axon.displayStructure(displayStructure);
 			upperDodeca.displayStructure(displayStructure);
 			lowerDodeca.displayStructure(displayStructure);
-
-			trace(viewport.autoScaleToStage);
+			text3D.visible = displayFps;

 			if (rotate)
 				soma.yaw(1);

 			var scale:Number = stage.height/480;
-
-			trace(stage.scaleMode);

 			super.onRenderTick(event);
 		}
@@ -295,6 +312,10 @@
 				}
 				break;

+			case 80: /* P */
+				displayFps = !displayFps;
+				break;
+
 			case 82: /* R */
 				rotate = !rotate;
 				break;


fixed order of additionalOptions that did not match Java version

--- src/ASConfigC.as
+++ src/ASConfigC.as
@@ -131,6 +131,7 @@
 		private var _additionalOptions:String;
 		private var _airDescriptor:String = null;
 		private var _outputPath:String = null;
+		private var _files:Array = null;
 		private var _mainFile:String = null;
 		private var _forceDebug:* = undefined;
 		private var _clean:Boolean = false;
@@ -457,29 +458,19 @@
 			//needed to generate some file paths
 			if(ASConfigFields.FILES in configData)
 			{
-				var files:Array = configData[ASConfigFields.FILES] as Array;
+				this._files = configData[ASConfigFields.FILES] as Array;
 				if(this._projectType === ProjectType.LIB)
 				{
 					CompilerOptionsParser.parse(
 					{
-						"include-sources": files
+						"include-sources": this._files
 					}, this._compilerArgs);
 				}
-				else
-				{
-					var filesCount:int = files.length;
-					for(var i:int = 0; i < filesCount; i++)
-					{
-						if(i === 0)
-						{
-							this._compilerArgs.push("--");
-						}
-						var file:String = files[i];
-						this._compilerArgs.push(file);
-					}
-					if(filesCount > 0)
-					{
-						this._mainFile = files[filesCount - 1];
+				else //app
+				{
+					if(this._files.length > 0)
+					{
+						this._mainFile = this._files[this._files.length - 1];
 					}
 				}
 			}
@@ -862,6 +853,23 @@
 				{
 					command += " " + this._additionalOptions;
 				}
+				if(this._files && this._projectType !== ProjectType.LIB)
+				{
+					var filesCount:int = this._files.length;
+					for(var i:int = 0; i < filesCount; i++)
+					{
+						if(i === 0)
+						{
+							command += " -- ";
+						}
+						else
+						{
+							command += " ";
+						}
+						var file:String = this._files[i];
+						command += escapePath(file, false);
+					}
+				}
 				var result:Object = child_process.execSync(command,
 				{
 					stdio: "inherit",


Updated TestRunnerTest so that it uses new form

--- asunit-4.0/test/asunit/runners/TestRunnerTest.as
+++ asunit-4.0/test/asunit/runners/TestRunnerTest.as
@@ -1,158 +1,173 @@
 package asunit.runners {

-	import asunit.framework.ITestFailure;
-	import asunit.framework.TestCase;
-
-	import asunit.framework.Result;
-	import asunit.framework.TestFailure;
-	import asunit.support.MultiMethod;
+    import asunit.asserts.*;
+    import asunit.framework.Async;
     import asunit.framework.IAsync;
-    import asunit.framework.Async;
+    import asunit.framework.IRunner;
+    import asunit.framework.ITestFailure;
+    import asunit.framework.Result;
+    import asunit.framework.TestCase;
+    import asunit.framework.TestFailure;
     import asunit.support.AnnotatedSubClass;
+    import asunit.support.InjectTimeoutOnAsync;
     import asunit.support.InjectionFailure;
     import asunit.support.InjectionVerification;
-    import asunit.support.InjectTimeoutOnAsync;
-
-	import flash.events.Event;
+    import asunit.support.MultiMethod;

-	public class TestRunnerTest extends TestCase {
+    import flash.events.Event;
+    import flash.display.Sprite;

-		private var runner:TestRunner;
-		private var runnerResult:Result;
-		private var test:Class;
+    public class TestRunnerTest {

-		public function TestRunnerTest(testMethod:String = null) {
-			super(testMethod);
-		}
+        [Inject]
+        public var async:IAsync;

-		protected override function setUp():void {
-            super.setUp();
-			runner = new TestRunner();
-			runnerResult = new Result();
-			// Yes, statics are ugly, but we're testing that static methods are called, e.g. [BeforeClass].
-			MultiMethod.methodsCalled = [];
-			test = MultiMethod;
-		}
+        [Inject]
+        public var context:Sprite;

-		protected override function tearDown():void {
-            super.tearDown();
-			runner = null;
-			MultiMethod.methodsCalled = null;
-		}
+        private var runner:TestRunner;
+        private var runnerResult:Result;
+        private var test:Class;

-		public function testInstantiated():void {
-			assertTrue("TestRunner instantiated", runner is TestRunner);
-		}
-
-		public function testTestDoesNotExtendTestCase():void {
-			assertFalse(test is TestCase);
-		}
+        [Before]
+        public function setUp():void {
+            runner = new TestRunner();
+            runnerResult = new Result();

-		public function testRunMethodsAlphabetically():void {
-			runner.addEventListener(Event.COMPLETE, addAsync(checkMethodsCalledAfterRunningTestInstance, 500));
-			runner.run(test, runnerResult);
-		}
-
-		private function checkMethodsCalledAfterRunningTestInstance(e:Event):void {
-			var i:uint = 0;
-
-			assertSame(MultiMethod.runBeforeClass1, 		MultiMethod.methodsCalled[i++]);
-			assertSame(MultiMethod.runBeforeClass2, 		MultiMethod.methodsCalled[i++]);
-
-			assertSame(runner.currentTest.runBefore1, 						MultiMethod.methodsCalled[i++]);
-			assertSame(runner.currentTest.runBefore2, 						MultiMethod.methodsCalled[i++]);
-			assertSame(runner.currentTest.fail_assertEquals,				MultiMethod.methodsCalled[i++]);
-			assertSame(runner.currentTest.runAfter1, 						MultiMethod.methodsCalled[i++]);
-			assertSame(runner.currentTest.runAfter2, 						MultiMethod.methodsCalled[i++]);
+            // Yes, statics are ugly, but we're testing
+            // that static methods are called, e.g. [BeforeClass].
+            MultiMethod.methodsCalled = [];
+            test = MultiMethod;
+        }

-			assertSame(runner.currentTest.runBefore1, 						MultiMethod.methodsCalled[i++]);
-			assertSame(runner.currentTest.runBefore2, 						MultiMethod.methodsCalled[i++]);
-			assertSame(runner.currentTest.numChildren_is_0_by_default,		MultiMethod.methodsCalled[i++]);
-			assertSame(runner.currentTest.runAfter1, 						MultiMethod.methodsCalled[i++]);
-			assertSame(runner.currentTest.runAfter2, 						MultiMethod.methodsCalled[i++]);
-
-			assertSame(runner.currentTest.runBefore1, 						MultiMethod.methodsCalled[i++]);
-			assertSame(runner.currentTest.runBefore2, 						MultiMethod.methodsCalled[i++]);
-			assertSame(runner.currentTest.stage_is_null_by_default, 		MultiMethod.methodsCalled[i++]);
-			assertSame(runner.currentTest.runAfter1, 						MultiMethod.methodsCalled[i++]);
-			assertSame(runner.currentTest.runAfter2, 						MultiMethod.methodsCalled[i++]);
-
-			assertSame(MultiMethod.runAfterClass1, 			MultiMethod.methodsCalled[i++]);
-			assertSame(MultiMethod.runAfterClass2, 			MultiMethod.methodsCalled[i++]);
-
-			assertEquals('checked all methodsCalled', MultiMethod.methodsCalled.length, i);
-		}
+        [After]
+        public function tearDown():void {
+            runner = null;
+            MultiMethod.methodsCalled = null;
+        }

-		public function testRunTriggersResultEvent():void {
-			runner.addEventListener(Event.COMPLETE, addAsync(checkResultWasNotSuccessful, 500));
-			runner.run(test, runnerResult);
-		}
-
-		private function checkResultWasNotSuccessful(e:Event):void {
+        [Test]
+        public function runnerInstantiated():void {
+            assertTrue("TestRunner instantiated", runner is IRunner);
+        }
+
+        [Test]
+        public function testShouldNotExtendTestCase():void {
+            assertFalse(test is TestCase);
+        }
+
+        [Test]
+        public function shouldRunMethodsAlphabetically():void {
+            runner.addEventListener(Event.COMPLETE, async.add(checkMethodsCalledAfterRunningTestInstance, 500));
+            runner.run(test, runnerResult);
+        }
+
+        private function checkMethodsCalledAfterRunningTestInstance(e:Event):void {
+            var i:uint = 0;
+
+            assertSame(MultiMethod.runBeforeClass1,         MultiMethod.methodsCalled[i++]);
+            assertSame(MultiMethod.runBeforeClass2,         MultiMethod.methodsCalled[i++]);
+
+            assertSame(runner.currentTest.runBefore1,                       MultiMethod.methodsCalled[i++]);
+            assertSame(runner.currentTest.runBefore2,                       MultiMethod.methodsCalled[i++]);
+            assertSame(runner.currentTest.fail_assertEquals,                MultiMethod.methodsCalled[i++]);
+            assertSame(runner.currentTest.runAfter1,                        MultiMethod.methodsCalled[i++]);
+            assertSame(runner.currentTest.runAfter2,                        MultiMethod.methodsCalled[i++]);
+
+            assertSame(runner.currentTest.runBefore1,                       MultiMethod.methodsCalled[i++]);
+            assertSame(runner.currentTest.runBefore2,                       MultiMethod.methodsCalled[i++]);
+            assertSame(runner.currentTest.numChildren_is_0_by_default,      MultiMethod.methodsCalled[i++]);
+            assertSame(runner.currentTest.runAfter1,                        MultiMethod.methodsCalled[i++]);
+            assertSame(runner.currentTest.runAfter2,                        MultiMethod.methodsCalled[i++]);
+
+            assertSame(runner.currentTest.runBefore1,                       MultiMethod.methodsCalled[i++]);
+            assertSame(runner.currentTest.runBefore2,                       MultiMethod.methodsCalled[i++]);
+            assertSame(runner.currentTest.stage_is_null_by_default,         MultiMethod.methodsCalled[i++]);
+            assertSame(runner.currentTest.runAfter1,                        MultiMethod.methodsCalled[i++]);
+            assertSame(runner.currentTest.runAfter2,                        MultiMethod.methodsCalled[i++]);
+
+            assertSame(MultiMethod.runAfterClass1,          MultiMethod.methodsCalled[i++]);
+            assertSame(MultiMethod.runAfterClass2,          MultiMethod.methodsCalled[i++]);
+
+            assertEquals('checked all methodsCalled', MultiMethod.methodsCalled.length, i);
+        }
+
+        [Test]
+        public function runShouldTriggerResultEvent():void {
+            runner.addEventListener(Event.COMPLETE, async.add(checkResultWasNotSuccessful, 500));
+            runner.run(test, runnerResult);
+        }
+
+        private function checkResultWasNotSuccessful(e:Event):void {
             assertTrue(runnerResult.failureEncountered);
-			assertFalse(runnerResult.wasSuccessful);
-
-			var failures:Array = runnerResult.failures;
-			assertEquals('one failure in testResult', 1, failures.length);
-
-			var failure0:ITestFailure = failures[0] as TestFailure;
-			assertTrue("failedTest is instance of test class", failure0.failedTest is test);
-		}
+            assertFalse(runnerResult.wasSuccessful);
+
+            var failures:Array = runnerResult.failures;
+            assertEquals('one failure in testResult', 1, failures.length);
+
+            var failure0:ITestFailure = failures[0] as TestFailure;
+            assertTrue("failedTest is instance of test class", failure0.failedTest is test);
+        }

-		public function testRunMethodByNameExecutesExpectedSequence():void {
-			var delegate:Function = addAsync(checkMethodsCalledAfterRunningTestMethodByName, 500);
-			runner.addEventListener(Event.COMPLETE, delegate);
-
-			var testMethodName:String = 'stage_is_null_by_default';
-			runner.runMethodByName(test, runnerResult, testMethodName);
-		}
-
-		private function checkMethodsCalledAfterRunningTestMethodByName(e:Event):void {
-			var i:uint = 0;
-
-			assertSame(MultiMethod.runBeforeClass1, 		        MultiMethod.methodsCalled[i++]);
-			assertSame(MultiMethod.runBeforeClass2, 		        MultiMethod.methodsCalled[i++]);
-
-			assertSame(runner.currentTest.runBefore1, 				MultiMethod.methodsCalled[i++]);
-			assertSame(runner.currentTest.runBefore2, 				MultiMethod.methodsCalled[i++]);
-			assertSame(runner.currentTest.stage_is_null_by_default,	MultiMethod.methodsCalled[i++]);
+        [Test]
+        public function runMethodByNameShouldExecuteExpectedSequence():void {
+            var delegate:Function = async.add(checkMethodsCalledAfterRunningTestMethodByName, 500);
+            runner.addEventListener(Event.COMPLETE, delegate);
+
+            var testMethodName:String = 'stage_is_null_by_default';
+            runner.runMethodByName(test, runnerResult, testMethodName);
+        }
+
+        private function checkMethodsCalledAfterRunningTestMethodByName(e:Event):void {
+            var i:uint = 0;
+
+            assertSame(MultiMethod.runBeforeClass1,                 MultiMethod.methodsCalled[i++]);
+            assertSame(MultiMethod.runBeforeClass2,                 MultiMethod.methodsCalled[i++]);
+
+            assertSame(runner.currentTest.runBefore1,               MultiMethod.methodsCalled[i++]);
+            assertSame(runner.currentTest.runBefore2,               MultiMethod.methodsCalled[i++]);
+            assertSame(runner.currentTest.stage_is_null_by_default, MultiMethod.methodsCalled[i++]);

             // NOTE: The following assertions are no longer applicable.
             // if the testMethod is provided, tearDown does not occur...
-			//assertSame(runner.currentTest.runAfter1, 				MultiMethod.methodsCalled[i++]);
-			//assertSame(runner.currentTest.runAfter2, 				MultiMethod.methodsCalled[i++]);
-
-			//assertSame(MultiMethod.runAfterClass1, 			        MultiMethod.methodsCalled[i++]);
-			//assertSame(MultiMethod.runAfterClass2, 			        MultiMethod.methodsCalled[i++]);
-
-			assertEquals('checked all methodsCalled',               MultiMethod.methodsCalled.length, i);
-		}
+            //assertSame(runner.currentTest.runAfter1,              MultiMethod.methodsCalled[i++]);
+            //assertSame(runner.currentTest.runAfter2,              MultiMethod.methodsCalled[i++]);
+
+            //assertSame(MultiMethod.runAfterClass1,                    MultiMethod.methodsCalled[i++]);
+            //assertSame(MultiMethod.runAfterClass2,                    MultiMethod.methodsCalled[i++]);
+
+            assertEquals('checked all methodsCalled',               MultiMethod.methodsCalled.length, i);
+        }

         // This an interesting hack in that an AsUnit 4 Test Case is being instantiated
         // and executed, but in this environment, we're simply checking to see if it passed,
         // and outputing any failures to the message...
-        public function testInjectTypes():void {
-            runner.run(InjectionVerification, runnerResult, null, getContext());
+        [Test]
+        public function shouldInjectTypes():void {
+            runner.run(InjectionVerification, runnerResult, null, context);
             assertFalse("Should not have encountered failures: " + runnerResult.failures.join("\n\n"), runnerResult.failureEncountered);
         }

-        public function testInjectWithUnknownAttribute():void {
+        [Test]
+        public function shouldInjectWithUnknownAttribute():void {
             runner.run(InjectionFailure, runnerResult);
             var warnings:Array = runnerResult.warnings;
             assertEquals(1, warnings.length);
         }

-        public function testInjectAsyncTimeoutFromMetaData():void {
+        [Test]
+        public function shouldInjectAsyncTimeout():void {
             var async:IAsync = runner.async;
             assertEquals(Async.DEFAULT_TIMEOUT, async.timeout);
             runner.run(InjectTimeoutOnAsync, runnerResult);
             assertEquals(5, async.timeout);
         }

-        public function testAnnotationsOnSuperClass():void {
+        [Test]
+        public function annotationsOnSuperClassShouldBeRespected():void {
             runner.run(AnnotatedSubClass, runnerResult);
             assertFalse("Should not have failures: " + runnerResult.failures.join("\n\n"), runnerResult.failureEncountered);
         }
-	}
+    }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

Modified Paths:
--------------
2361 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1253373 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/charts/src/mx/charts/series/renderData/HLOCSeriesRenderData.as
+++ frameworks/projects/charts/src/mx/charts/series/renderData/HLOCSeriesRenderData.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2009 Adobe Systems Incorporated
-//  All Rights Reserved.
-//
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
-//
-////////////////////////////////////////////////////////////////////////////////

 package mx.charts.series.renderData
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

Modified Paths:
--------------
2361 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1265238 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutViewNavigatorSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutViewNavigatorSkin.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2011 Adobe Systems Incorporated
-//  All Rights Reserved.
-//
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
-//
-////////////////////////////////////////////////////////////////////////////////

 package spark.skins.mobile
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 22284
Author:   chiedozi@adobe.com
Date:     2011-08-30T18:47:55.066403Z

Log Message:
-----------
Refactored LabelItemRenderer's separator drawing code into a new drawBorder() method.

QE notes:
Doc notes:
Bugs: SDK-27737
Reviewer: Hans
Tests run: checkintests, mustella-mobile
Is noteworthy for integration: Yes

Modified Paths:
--------------
/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1263991 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as
+++ frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as
@@ -774,9 +774,8 @@
      *
This method, along with layoutContents(), is called
      *  by the updateDisplayList() method.

      *
-     *
This method draws the background, the outline,
-     *  and the separators for this item renderer.  It knows how to appropriately
-     *  handle the selected, down, or caretted states.
+     *
This method draws the background and the outline for this item renderer.
+     *  It knows how to appropriately handle the selected, down, or caretted states.
      *  However, when alternatingItemColors is set to undefined,
      *  the default background is transparent.
      *  Override this method to change the appearance of the background of
@@ -851,11 +850,6 @@
         graphics.drawRect(0, 0, unscaledWidth, unscaledHeight);
         graphics.endFill();

-        var topSeparatorColor:uint;
-        var topSeparatorAlpha:Number;
-        var bottomSeparatorColor:uint;
-        var bottomSeparatorAlpha:Number;
-
         // Selected and down states have a gradient overlay as well
         // as different separators colors/alphas
         if (selected || down)
@@ -878,6 +872,40 @@
 			opaqueBackgroundColor = backgroundColor;
 		}

+        // Draw the separator for the item renderer
+        drawBorder(unscaledWidth, unscaledHeight);
+
+		opaqueBackground = opaqueBackgroundColor;
+    }
+
+    /**
+     *  Renders the border for the item renderer.
+     *
+     *
This method is called by drawBackground after the
+     *  background has been rendered.

+     *
+     *
Override this method to change the appearance of the separator or
+     *  border of the item renderer.

+     *
+     *  @param unscaledWidth Specifies the width of the component, in pixels,
+     *  in the component's coordinates, regardless of the value of the
+     *  scaleX property of the component.
+     *
+     *  @param unscaledHeight Specifies the height of the component, in pixels,
+     *  in the component's coordinates, regardless of the value of the
+     *  scaleY property of the component.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 3.0
+     *  @productversion Flex 4.5.2
+     */
+    protected function drawBorder(unscaledWidth:Number, unscaledHeight:Number):void
+    {
+        var topSeparatorColor:uint;
+        var topSeparatorAlpha:Number;
+        var bottomSeparatorColor:uint;
+        var bottomSeparatorAlpha:Number;
+
         // separators are a highlight on the top and shadow on the bottom
         topSeparatorColor = 0xFFFFFF;
         topSeparatorAlpha = .3;
@@ -919,8 +947,6 @@
             graphics.drawRect(0, unscaledHeight + 1, unscaledWidth, 1);
             graphics.endFill();
         }
-
-		opaqueBackground = opaqueBackgroundColor;
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 19795
Author:   rfrishbe@adobe.com
Date:     2011-01-18T19:15:14.349353Z

Log Message:
-----------
Bunch of small, mostly ASDoc cleanups:

1) Cleaning up ASDoc around alternatingItemColors (after SVN 19684) and mis-spelling "Destroy"

2) Cleaning up an un-needed style in defaults.css since it's set in Scroller.

3) In Spark ListBase, removing an un-needed FIXME, but fixing up the documentation since we were actually doing it correctly before, but the documentation was just wrong.

QE notes: -
Doc notes:
Bugs: -
Reviewer: Ming
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/IconItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewMenu.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/wireframe/src/spark/skins/wireframe/DefaultItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/List.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1289265 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/wireframe/src/spark/skins/wireframe/DefaultItemRenderer.as
+++ frameworks/projects/wireframe/src/spark/skins/wireframe/DefaultItemRenderer.as
@@ -63,7 +63,7 @@

 /**
  *  The colors to use for the backgrounds of the items in the list.
- *  The value is an array of two or more colors.
+ *  The value is an array of one or more colors.
  *  The backgrounds of the list items alternate among the colors in the array.
  *
  *  @default undefined


Change 20080425-maxcarlson-V by maxcarlson@Roboto on 2008-04-25 17:02:41 PDT
    in /Users/maxcarlson/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Fix regression in test/swf9/hello.lzx?lzr=swf9

New Features:

Bugs Fixed: LPP-5883 - Regression in test/swf9/hello.lzx?lzr=swf9

Technical Reviewer: promanik
QA Reviewer: hminsky
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: Prevent click bubbling except for onmouseup events.

Tests: test/lfc/legals/keyboardandmouse.lzx?lzr=swf9 passes and test/swf9/hello.lzx?lzr=swf9 no longer rotates the grey box when clicking on one of the colored squares.

git-svn-id: d62bde4b5aa582fdf07c8d403e53e0399a7ed285@8862 fa20e4f9-1d0a-0410-b5f3-dc9c16b8b17c

--- WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
+++ WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
@@ -279,6 +279,8 @@
                 } else {
                     skipevent = true;
                 }
+            } else {
+                e.stopPropagation();
             }

             //Debug.write('__mouseEvent', eventname, this.owner);


Fixed null pointer error in Servlet.as.

Fixed null pointer error in Servlet.as.

Change-Id: Iecd5a985fd20695d88bad8f8ec88bbbbe8e55900

--- WeaveData/src/weave/services/Servlet.as
+++ WeaveData/src/weave/services/Servlet.as
@@ -127,7 +127,7 @@

 				var streamContent:ByteArray;
 				var params:Array = methodParameters as Array;
-				var index:int = params.length - 1;
+				var index:int = params ? params.length - 1 : -1;
 				if (params && params.length > 0 && params[index] is ByteArray)
 				{
 					obj.streamParameterIndex = index; // tell the server about the stream parameter index


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

Modified Paths:
--------------
2361 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1267759 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mx/src/mx/containers/VBox.as
+++ frameworks/projects/mx/src/mx/containers/VBox.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////

 package mx.containers
 {


FLEX-14522:  Added enabledField and support during button creation. Minor logic changes.

--- frameworks/projects/mx/src/mx/controls/NavBar.as
+++ frameworks/projects/mx/src/mx/controls/NavBar.as
@@ -106,6 +106,7 @@
  *  <mx:tagname
  *    Properties
  *    dataProvider="No default"
+ *    enabledField="enabled"
  *    iconField="icon"
  *    labeField="label"
  *    selectedIndex="-1"
@@ -404,7 +405,6 @@

         if (_dataProvider)
         {
-            // use weak reference
             _dataProvider.removeEventListener(CollectionEvent.COLLECTION_CHANGE,
                                               collectionChangeHandler);
         }
@@ -462,6 +462,52 @@

         dispatchEvent(new Event("collectionChange"));
     }
+
+
+    //----------------------------------
+    //  enabledField
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the enabled property.
+     */
+    private var _enabledField:String = "enabled";
+
+    [Bindable("enabledFieldChanged")]
+    [Inspectable(category="Data")]
+
+    /**
+     *  Name of the the field in the dataProvider object
+     *  to use as the enabled label.
+     *
+     *  @default "enabled"
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 11.1
+     *  @playerversion AIR 3.4
+     *  @productversion Flex 4.10
+     */
+    public function get enabledField():String
+    {
+        return _enabledField;
+    }
+
+    /**
+     *  @private
+     */
+    public function set enabledField(value:String):void
+    {
+        _enabledField = value;
+
+        // If we have a data provider, update here to
+        // reflect new enabled field.
+        if (_dataProvider)
+            dataProvider = _dataProvider;
+
+        dispatchEvent(new Event("enabledFieldChanged"));
+    }
+

     //----------------------------------
     //  iconField
@@ -955,13 +1001,15 @@
             if (item is String && labelFunction == null)
             {
                 navItem = Button(createNavItem(String(item)));
+
+                navItem.enabled = enabled;
             }
             else
             {
                 var label:String = itemToLabel(item);
                 // if labelField doesn't exist in item, label will be null;

-                if (iconField)
+                if (iconField != "")
                 {
                     var iconValue:Object = null;

@@ -989,24 +1037,23 @@
                     navItem = Button(createNavItem(label, null));
                 }

-                // Assigning undefined to a String coerces to "",
-                // which cancels an ancestor's tooltip.
-                // So we have to change undefined to null.
-                if (toolTipField)
+                //Check for toolTip field and assign it to the individual button if it exists.
+                if (_toolTipField != "" && item.hasOwnProperty(_toolTipField))
                 {
-                    try
-                    {
-                        navItem.toolTip = (item[toolTipField] === undefined
-                                           ? null
-                                           : item[toolTipField]);
-                    }
-                    catch(e:Error)
-                    {
-                    }
+                    navItem.toolTip = String(item[_toolTipField]);
+                }
+
+                //Check for enabled field and assign it to the individual button if it exists.
+                if (_enabledField != "" && item.hasOwnProperty(_enabledField))
+                {
+                    navItem.enabled = Boolean(item[_enabledField]);
+                }
+                else
+                {
+                    navItem.enabled = enabled;
                 }
             }

-            navItem.enabled = enabled;
         }
         resetNavItems();
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 1098
Author:   jimurphy@adobe.com
Date:     2008-04-03T21:50:39.896200Z

Log Message:
-----------
Merge 3.0.x -- 362:394, 427:429, 603:608, 644:645, 651:663, 672:676, 755:756, 763:766, 785:790, 812:814, 854:861, 862:866, 866:933,971:1009, 1050:1056 --> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/DefaultDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VRule.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/IList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/LayoutManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingConnectionHandler.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IRepeaterClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/VideoError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/HTTPRequestMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/Locale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/Responder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/MessageSerializationError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/SOAPMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IBrowserManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ComponentDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/FaultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/IViewCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/AbstractWebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Tween.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/menuClasses/IMenuItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/Preloader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ILayoutManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Spacer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/Fault.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/XMLListCollection.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectTargetFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SliderEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncToken.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/ScrollEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/CuePointManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/NumericStepperEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/BrowserManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/events/ChannelFaultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/CursorBookmark.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/WSDLLoadEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/LoadEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ListCollectionView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/FlexClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/SubscriptionInfo.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/DescribeTypeCache.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/logging/LogLogger.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageAgent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/build_framework.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/HeaderEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridDragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/DownloadProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/ITreeDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemDragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1274063 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/rpc/src/mx/rpc/AsyncToken.as
+++ frameworks/projects/rpc/src/mx/rpc/AsyncToken.as
@@ -47,7 +47,9 @@
     //--------------------------------------------------------------------------

     /**
-     *  Constructs an instance of the token with the specified message.
+     * Constructs an instance of the token with the specified message.
+     *
+     * @param message The message with which the token is associated.
      */
     public function AsyncToken(message:IMessage)
     {