Transferred from the Adobe Open Source Subversion Repository

Revision: 12327
Author:   smgilson@adobe.com
Date:     2009-12-01T18:17:23.194369Z

Log Message:
-----------
ASDoc updates in preparation for localization

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RadioButtonGroup.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/frameworks/projects/spark/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Label.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/core/IDeferredContentOwner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>

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

--- frameworks/projects/spark/src/spark/components/Spinner.as
+++ frameworks/projects/spark/src/spark/components/Spinner.as
@@ -32,6 +32,8 @@

 /**
  *  The radius of the corners of this component.
+ *
+ *  @default 2
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -42,6 +44,8 @@

 /**
  *  The alpha of the focus ring for this component.
+ *
+ *  @default 0.5
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -52,6 +56,8 @@

 /**
  *  @copy spark.components.supportClasses.GroupBase#style:focusColor
+ *
+ *  @default 0x70B2EE
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -62,6 +68,8 @@

 /**
  *  @copy spark.components.supportClasses.GroupBase#style:symbolColor
+ *
+ *  @default 0x000000
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -187,8 +195,10 @@
  *    change="No default"
  *
  *    Styles
- *    focusColor=""
- *    symbolColor=""
+ *    cornerRadius="2"
+ *    focusAlpha="0.5"
+ *    focusColor="0x70B2EE"
+ *    symbolColor="0x000000"
  *
  *  />
  *

@@ -244,9 +254,9 @@
     //
     //--------------------------------------------------------------------------

-	//----------------------------------
-	//  decrementButton
-	//----------------------------------
+    //----------------------------------
+    //  decrementButton
+    //----------------------------------

     [SkinPart(required="false")]

@@ -262,9 +272,9 @@
      */
     public var decrementButton:Button;

-	//----------------------------------
-	//  incrementButton
-	//----------------------------------
+    //----------------------------------
+    //  incrementButton
+    //----------------------------------

     [SkinPart(required="false")]

@@ -376,7 +386,7 @@
     }

     /**
-     *  @inheritDoc
+     *  @private
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -526,6 +536,7 @@
     }

     /**
+     *  @private
      *  Handles the mouseWheel event
      *  when the component is in focus.
      *  The spinner is moved by the amount of the mouse event delta


Transferred from the Adobe Open Source Subversion Repository

Revision: 7939
Author:   jszeto@adobe.com
Date:     2009-06-18T00:10:15.473790Z

Log Message:
-----------
Slider PARB Changes

•  remove dataTipOriginalPosition
•  remove dataTipInstance
•  positionDataTip() -> updateDataTip(dataTipInstance:IDataRenderer, initialPosition:Point)

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Evtim

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/spark/components/examples/HSliderExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/spark/components/examples/NumericStepperExample.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/VSlider.as
+++ frameworks/projects/spark/src/spark/components/VSlider.as
@@ -15,6 +15,8 @@
 import flash.display.DisplayObject;
 import flash.geom.Point;
 import flash.geom.Rectangle;
+
+import mx.core.IDataRenderer;

 import spark.components.supportClasses.Slider;

@@ -73,12 +75,12 @@
     {
         if (!thumb || !track)
             return 0;
-
+
         var thumbRange:Number = track.getLayoutBoundsHeight() - thumb.getLayoutBoundsHeight();
         var range:Number = maximum - minimum;
         return minimum + ((thumbRange != 0) ? ((thumbRange - y) / thumbRange) * range : 0);
-    }
-
+            }
+
     /**
      *  @private
      */
@@ -86,7 +88,7 @@
     {
         if (!thumb || !track)
             return;
-
+
         var thumbRange:Number = track.getLayoutBoundsHeight() - thumb.getLayoutBoundsHeight();
         var range:Number = maximum - minimum;
         var thumbPos:Number = (range > 0) ? thumbRange - (((pendingValue - minimum) / range) * thumbRange) : 0;
@@ -95,15 +97,17 @@

     /**
      *  @private
+     *  TODO (jszeto) Update this to also use the ILayoutElement API
      */
-    override protected function positionDataTip():void
+    override protected function updateDataTip(dataTipInstance:IDataRenderer, initialPosition:Point):void
     {
     	var tipAsDisplayObject:DisplayObject = dataTipInstance as DisplayObject;

     	if (tipAsDisplayObject && thumb)
     	{
-			var relY:Number = thumb.y + (thumb.height - tipAsDisplayObject.height) / 2;
-	        var o:Point = new Point(dataTipOriginalPosition.x, relY);
+			var relY:Number = thumb.getLayoutBoundsY() +
+							(thumb.getLayoutBoundsHeight() - tipAsDisplayObject.height) / 2;
+	        var o:Point = new Point(initialPosition.x, relY);
 	        var r:Point = localToGlobal(o);

 			// Get the screen bounds


Transferred from the Adobe Open Source Subversion Repository

Revision: 10074
Author:   egeorgie@adobe.com
Date:     2009-09-08T23:56:36.161584Z

Log Message:
-----------
Fix http://bugs.adobe.com/jira/browse/SDK-22690 Hide the layout property on Graphic.

QE notes: None
Doc notes: None
Bugs: SDK-22690
Reviewer: Hans
Tests run: build
Is noteworthy for integration: No

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Graphic.as

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

--- frameworks/projects/spark/src/spark/primitives/Graphic.as
+++ frameworks/projects/spark/src/spark/primitives/Graphic.as
@@ -28,14 +28,17 @@
 //  Excluded APIs
 //--------------------------------------

+[Exclude(name="setFocus", kind="method")]
+
 [Exclude(name="focusEnabled", kind="property")]
 [Exclude(name="focusPane", kind="property")]
+[Exclude(name="layout", kind="property")]
 [Exclude(name="mouseFocusEnabled", kind="property")]
 [Exclude(name="tabEnabled", kind="property")]
+
 [Exclude(name="focusBlendMode", kind="style")]
 [Exclude(name="focusSkin", kind="style")]
 [Exclude(name="focusThickness", kind="style")]
-[Exclude(name="setFocus", kind="method")]

 //--------------------------------------
 //  Other metadata


Transferred from the Adobe Open Source Subversion Repository

Revision: 3411
Author:   egeorgie@adobe.com
Date:     2008-09-29T23:44:01.337941Z

Log Message:
-----------
* Change layout-related width/height, explicit width/height, measured width/height properties from post-scale to pre-transform. yay!
* Flex3 containers are updated to support the new behavior.
* Repeatedly scaling a component can differ from before, since we no longer accumulate rounding errors.
* The change is gated by a version flag, in compatibility mode these properties don't change.

Reviewed by Glenn, Ely

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/BoxLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Box.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/CanvasLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Tile.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/PostScaleAdapter.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/containers/DividedBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.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/flex4/src/flex/layout/LayoutItemUIC.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>

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

--- frameworks/projects/mx/src/mx/containers/utilityClasses/CanvasLayout.as
+++ frameworks/projects/mx/src/mx/containers/utilityClasses/CanvasLayout.as
@@ -29,6 +29,8 @@
 import mx.styles.StyleManager;
 import flash.utils.Dictionary;

+use namespace mx_internal;
+
 [ExcludeClass]

 [ResourceBundle("containers")]
@@ -190,7 +192,7 @@

 		for (i = 0; i < target.numChildren; i++)
 		{
-			var child:IUIComponent = target.getChildAt(i) as IUIComponent;
+			var child:IUIComponent = target.getLayoutChildAt(i);
 			parseConstraints(child);
 		}

@@ -249,7 +251,7 @@
 		{
 			for (i = 0; i < n; i++)
 			{
-				child = target.getChildAt(i) as IUIComponent;
+				child = target.getLayoutChildAt(i);
 				parseConstraints(child);
 			}

@@ -276,7 +278,7 @@
 		// these override x, y, width, and height if specified.
 		for (i = 0; i < n; i++)
 		{
-			child = target.getChildAt(i) as IUIComponent;
+			child = target.getLayoutChildAt(i);
 			applyAnchorStylesDuringUpdateDisplayList(viewableWidth, viewableHeight, child);
 		}
 	}
@@ -819,7 +821,7 @@

 		for (i = 0; i < n; i++)
 		{
-			var child:IUIComponent = target.getChildAt(i) as IUIComponent;
+			var child:IUIComponent = target.getLayoutChildAt(i);
 			var childConstraints:LayoutConstraints = getLayoutConstraints(child);

 			if (!child.includeInLayout)


Transferred from the Adobe Open Source Subversion Repository

Revision: 17338
Author:   hmuller@adobe.com
Date:     2010-08-16T23:25:19.449412Z

Log Message:
-----------
DataGrid performance optimization in GridLayout: defer validating grid "layers" as long as possible, to avoid display object sharing induced redundant valdiations.

QE notes:
Doc notes:
Bugs:
Reviewer: Kevin
Tests run: checkin, mustella cyclone
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Grid.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridLayer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DataGridSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultGridItemRenderer.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridLayer.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridLayer.as
@@ -0,0 +1,41 @@
+package spark.components.supportClasses
+{
+
+import mx.core.mx_internal;
+
+import spark.components.Grid;
+import spark.components.Group;
+import spark.layouts.supportClasses.LayoutBase;
+
+use namespace mx_internal;
+
+[ExcludeClass]
+
+public class GridLayer extends Group
+{
+    public function GridLayer()
+    {
+        super();
+        layout = new LayoutBase();
+    }
+
+    override public function invalidateDisplayList():void
+    {
+        const grid:Grid = parent as Grid;
+        if (grid && grid.inUpdateDisplayList)
+            return;
+
+        super.invalidateDisplayList();
+    }
+
+    override public function invalidateSize():void
+    {
+        const grid:Grid = parent as Grid;
+        if (grid && grid.inUpdateDisplayList)
+            return;
+
+        super.invalidateSize();
+    }
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 22448
Author:   build@adobe.com
Date:     2011-09-08T19:26:12.465737Z

Log Message:
-----------
Version update to 4.6.0

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/airspark/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_air/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_spark/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/flex-config.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_spark/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark_dmv/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/rpc/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mx/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_flashflexkit/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_dmv/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/build.properties</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/modules/compiler/src/java/flex2/tools/VersionInfo.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/airframework/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/advancedgrids/src/mx/core/Version.as</path>

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

--- frameworks/projects/automation_flashflexkit/src/mx/core/Version.as
+++ frameworks/projects/automation_flashflexkit/src/mx/core/Version.as
@@ -16,4 +16,4 @@
  *  @private
  *  Version string for this class.
  */
-mx_internal static const VERSION:String = "4.5.2.0";
+mx_internal static const VERSION:String = "4.6.0.0";


Revert to previous version to stop mustella tests from failing.  Work will continue in seperate branch.

--- frameworks/projects/framework/src/mx/collections/XMLListAdapter.as
+++ frameworks/projects/framework/src/mx/collections/XMLListAdapter.as
@@ -215,10 +215,7 @@
     /**
      *  Add the item at the specified index.  Any item that was after
      *  this index is moved out by one.  If the list is shorter than
-     *  the specified index it will grow to accommodate the new item.
-     *
-     *  The source array may change, and changes made to it may not be
-     *  tracked after this operation if you access it directly.
+     *  the specified index it will grow to accomodate the new item.
      *
      *  @param item the item to place at the index
      *  @param index the index at which to place the item
@@ -249,36 +246,18 @@

 		setBusy();

-        // Replace the current source XMLList with a new list in order to add
-        // the item to the list.  This is needed to maintain the structure of
-        // the new item added to the list and avoid an FP bug.
-
 		if (length > 0)
 		{
-            var newSource:XMLList = new XMLList();
-
-            for (var i:uint = 0; i <= (length); i++)
-            {
-                if (i < index)
-                {
-                    newSource[i] = source[i];
-                }
-                else if (i == index)
-                {
-                    newSource[i] = item;
-                }
-                else if (i > index)
-                {
-                    newSource[i] = source[i-1];
-                }
-            }
-
-            source = newSource;
+			var localLength:uint = source.length();
+
+			// Adjust all indexes by 1
+			for (var i:uint = localLength; i>index; i--)
+			{
+				source[i] = source[i - 1];
+			}
 		}
-		else
-        {
-            source[index] = item;
-        }
+
+		source[index] = item;

         startTrackUpdates(item, seedUID + uidCounter.toString());
 		uidCounter++;


Transferred from the Adobe Open Source Subversion Repository

Revision: 5165
Author:   cframpto@adobe.com
Date:     2009-03-04T18:21:38.215558Z

Log Message:
-----------
RadioButton bug fixes.

QE Notes: tests: gumbo/RadioButton and checkintests passed
Doc Notes:
Bugs: SDK-19622, SDK-19527, SDK-19614, SDK-19473, SDK-18460
Reviewers: Corey

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/bundles/en_US/components.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButtonGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButton.as</path>

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

--- frameworks/projects/spark/src/spark/components/RadioButtonGroup.as
+++ frameworks/projects/spark/src/spark/components/RadioButtonGroup.as
@@ -16,14 +16,16 @@
 import flash.display.DisplayObjectContainer;
 import flash.events.Event;
 import flash.events.EventDispatcher;
+
 import mx.core.ApplicationGlobals;
 import mx.core.IFlexDisplayObject;
 import mx.core.IMXMLObject;
 import mx.core.IRawChildrenContainer;
+import mx.core.UIComponent;
 import mx.core.mx_internal;
-import mx.core.UIComponent;
 import mx.events.FlexEvent;
 import mx.events.ItemClickEvent;
+import mx.utils.NameUtil;

 //--------------------------------------
 //  Events
@@ -45,6 +47,9 @@
 /**
  *  Dispatched when a user selects a FxRadioButton control in the group.
  *  You can also set a handler for individual FxRadioButton controls.
+ *
+ *  This event is dispatched only when the
+ *  user interacts with the radio buttons by using the mouse.
  *
  *  @eventType mx.events.ItemClickEvent.ITEM_CLICK
  *
@@ -142,6 +147,12 @@

     /**
      *  @private
+     *  Since there is no id, generate one, if needed.
+     */
+    private var name:String;
+
+    /**
+     *  @private
      *  The document containing a reference to this FxRadioButtonGroup.
      */
     private var document:IFlexDisplayObject;
@@ -324,6 +335,9 @@
      */
     public function set selection(value:FxRadioButton):void
     {
+        if ( _selection == value)
+            return;
+
         // Going through the selection setter should never fire a change event.
         mx_internal::setSelection(value, false);
     }
@@ -379,6 +393,18 @@
             return radioButtons[index];

         return null;
+    }
+
+    /**
+     *  @private
+     *  String to uniquely identify this radio button group.
+     */
+    mx_internal function get name():String
+    {
+        if (name == null)
+            name = NameUtil.createUniqueName(this);
+
+        return name;
     }

     /**
@@ -466,37 +492,11 @@
     /**
      *  @private
      */
-    protected function getEnabled():Boolean
-    {
-        return _enabled;
-    }
-
-    /**
-     *  @private
-     *  Return the value or the label value
-     *  of the selected radio button.
-     */
-    private function getValue():String
-    {
-        if (selection)
-        {
-            return selection.value &&
-                   selection.value is String &&
-                   String(selection.value).length != 0 ?
-                   String(selection.value) :
-                   selection.label;
-        }
-        else
-        {
-            return null;
-        }
-    }
-
-    /**
-     *  @private
-     */
     mx_internal function setSelection(value:FxRadioButton, fireChange:Boolean = true):void
     {
+        if (_selection == value)
+            return;
+
         if (value == null && _selection != null)
         {
             _selection.selected = false;
@@ -525,17 +525,18 @@
      */
     private function changeSelection(index:int, fireChange:Boolean = true):void
     {
-        if (getRadioButtonAt(index))
+        var rb:FxRadioButton = getRadioButtonAt(index);
+        if (rb && rb != _selection)
         {
             // Unselect the currently selected radio
-            if (selection)
-                selection.selected = false;
+            if (_selection)
+                _selection.selected = false;

             // Change the focus to the new radio.
             // Set the state of the new radio to true.
             // Fire a click event for the new radio.
             // Fire a click event for the radio group.
-            _selection = getRadioButtonAt(index);
+            _selection = rb;
             _selection.selected = true;
             if (fireChange)
                 dispatchEvent(new Event(Event.CHANGE));
@@ -544,6 +545,20 @@

     /**
      *  @private
+     *  Sandbox root of FxRadioButton "a" in breadthOrderCompare().
+     */
+    private var aSbRoot:DisplayObject;
+
+    /**
+     *  @private
+     *  Sandbox root of FxRadioButton "b" in breadthOrderCompare().
+     */
+    private var bSbRoot:DisplayObject;
+
+    /**
+     *  @private
+     *  Returns -1 if a is before b in sort order, 0 if a and b have same
+     *  sort order and 1 if a after b in sort order.
      */
     private function breadthOrderCompare(a:DisplayObject, b:DisplayObject):Number
     {
@@ -552,7 +567,21 @@

         if (!aParent || !bParent)
             return 0;
-
+
+        // Only set when a is the radio button.  The sandbox root should be the
+        // same for the parents.
+        if (a is FxRadioButton)
+            aSbRoot = FxRadioButton(a).systemManager.getSandboxRoot();
+
+        // Only set when b is the radio button.  The sandbox root should be the
+        // same for the parents.
+        if (b is FxRadioButton)
+            bSbRoot = FxRadioButton(b).systemManager.getSandboxRoot();
+
+        // If reached the sandbox root of either then done.
+        if (aParent == aSbRoot || bParent == bSbRoot)
+            return 0;
+
         var aNestLevel:int = (a is UIComponent) ? UIComponent(a).nestLevel : -1;
         var bNestLevel:int = (b is UIComponent) ? UIComponent(b).nestLevel : -1;

@@ -581,6 +610,7 @@
     //--------------------------------------------------------------------------
      /**
      *  @private
+     *  Called during a state transition when rb is added back to display list.
      */
     private function radioButton_addedHandler(event:Event):void
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 7163
Author:   aharui@adobe.com
Date:     2009-05-21T02:19:55.813792Z

Log Message:
-----------
Initial checkin of frame 1 cleanup.  In an RSL linkage, more classes will now come from the RSL because they are no longer needed in frame 1, and the size of the application SWF will be smaller.

QE Notes: None
Doc Notes: Maybe.  All new classes should be undocumented, but it might be worth checking that and any changes to interfaces
Bugs:
Reviewer: darrell
tests: checkintests mustella/MarshallPlan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ActiveWindowManager.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses</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/framework/src/mx/events/RSLEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/MarshalPopUpData.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IEmbeddedFontRegistry.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</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/framework/src/mx/managers/systemClasses/EventProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextFormat.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.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/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/EmbeddedFontRegistry.as</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/flex4/src/spark/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/EmbeddedFont.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</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/resources/ResourceManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ResourceModuleRSLItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISWFBridgeProvider.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/FocusManagerMarshalMixin.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="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IMarshalSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/EventListenerRequest.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/ToolTipManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/mustella/MustellaResultsParser.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Alert.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallPlan.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerGlobals.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/SWFBridgeGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/alertClasses/AlertForm.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/TreeItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/DragManagerMarshalMixin.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/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/Request.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IActiveWindowManager.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/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/PopUpManagerMarshalMixin.as</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/managers/SystemManagerProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/messaging/config/LoaderConfig.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IFocusManager.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/core/ScrollControlBase.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ISystemManagerChildManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/CursorManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpData.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISWFBridgeGroup.as</path>

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

--- frameworks/projects/spark/src/spark/components/RichEditableText.as
+++ frameworks/projects/spark/src/spark/components/RichEditableText.as
@@ -245,8 +245,6 @@

     	staticImportConfiguration = new Configuration();

-    	staticEmbeddedFont = new EmbeddedFont("", false, false);
-
     	staticTextFormat = new TextFormat();
     }

@@ -278,12 +276,6 @@
      */
     private static var staticImportConfiguration:Configuration;

-    /**
-     *  @private
-     *  Used in getEmbeddedFontContext().
-     */
-    private static var staticEmbeddedFont:EmbeddedFont;
-
     /**
      *  @private
      *  Used in getEmbeddedFontContext().
@@ -2003,10 +1995,8 @@
 			var bold:Boolean = getStyle("fontWeight") == "bold";
 			var italic:Boolean = getStyle("fontStyle") == "italic";

-			staticEmbeddedFont.initialize(font, bold, italic);
-
             moduleFactory = embeddedFontRegistry.getAssociatedModuleFactory(
-            	staticEmbeddedFont, fontContext);
+            	font, bold, italic, this, fontContext);

             // If we found the font, then it is embedded.
             // But some fonts are not listed in info()


Transferred from the Adobe Open Source Subversion Repository

Revision: 5119
Author:   smgilson@adobe.com
Date:     2009-03-01T15:19:39.936226Z

Log Message:
-----------
Clean up some ASDoc tags from the addition of the @productversion/@playerversion tags

QE Notes: None
Doc Notes: None
Bugs: -

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/HaloBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToolTip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/ResultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/config/ServerConfig.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.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/controls/CalendarLayout.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/core/UITextField.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/halo/src/mx/skins/halo/HaloBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/NCManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/AbstractConsumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/Base64Encoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/StringValidator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SchemaMarshaller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IInteractiveObjectInterface.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/flex4/src/mx/components/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ContainerRawChildrenList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.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/rpc/src/mx/rpc/wsdl/WSDL.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractOperation.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/framework/src/mx/effects/Tween.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxResizeInstance.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/controls/videoClasses/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/HistoryManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/Schema.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/utils/HexEncoder.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/rpc/src/mx/rpc/soap/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDisplayObjectInterface.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDisplayObjectContainerInterface.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/framework/src/mx/effects/effectClasses/SoundEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.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/framework/src/mx/controls/Text.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISpriteInterface.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/haloclassic/src/haloclassic/HaloRectBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/Operation.as</path>

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

--- frameworks/projects/spark/src/spark/components/RichEditableText.as
+++ frameworks/projects/spark/src/spark/components/RichEditableText.as
@@ -1161,16 +1161,16 @@
         {
             case ScrollUnit.UP:
             {
-        		return !flowComposer || flowComposer.numControllers == 0 ?
-            		   0 :
-            		   flowComposer.getControllerAt(0).scrollLines(-1);
+                return !flowComposer || flowComposer.numControllers == 0 ?
+                       0 :
+                       flowComposer.getControllerAt(0).scrollLines(-1);
             }

             case ScrollUnit.DOWN:
             {
-        		return !flowComposer || flowComposer.numControllers == 0 ?
-					   0 :
-					   flowComposer.getControllerAt(0).scrollLines(1);
+                return !flowComposer || flowComposer.numControllers == 0 ?
+                       0 :
+                       flowComposer.getControllerAt(0).scrollLines(1);
             }

             case ScrollUnit.PAGE_UP:
@@ -1189,7 +1189,7 @@
             }

             case ScrollUnit.END:
-           	{
+            {
                 return maxDelta;
             }

@@ -1314,8 +1314,8 @@
         measuredWidth = Math.round(getStyle("paddingLeft") +
                         widthInChars * charWidth +
                         getStyle("paddingRight"));
-
-		measuredHeight = Math.round(getStyle("paddingTop") +
+
+        measuredHeight = Math.round(getStyle("paddingTop") +
                          heightInLines * (ascent + descent) +
                          getStyle("paddingBottom"));

@@ -1339,11 +1339,6 @@
         g.beginFill(0xEEEEEE, 1.0);
         g.drawRect(0, 0, unscaledWidth, unscaledHeight);
         g.endFill();
-        *
-        *  @langversion 3.0
-        *  @playerversion Flash 10
-        *  @playerversion AIR 1.5
-        *  @productversion Flex 4
         */

         var flowComposer:IFlowComposer;
@@ -1360,7 +1355,7 @@
         if (textChanged || contentChanged ||
             stylesChanged || displayAsPasswordChanged)
         {
-			if (textChanged || contentChanged)
+            if (textChanged || contentChanged)
             {
                 // Eliminate detritus from the previous TextFlow only if
                 // the text/content has changed. Want to preserve scrolling
@@ -1417,7 +1412,7 @@
         {
             var containerController:IContainerController =
                 flowComposer.getControllerAt(0);
-			containerController.setCompositionSize(unscaledWidth, unscaledHeight);
+            containerController.setCompositionSize(unscaledWidth, unscaledHeight);
             flowComposer.updateAllContainers();
         }
     }
@@ -1543,14 +1538,14 @@
     private function setHostTextLayoutFormat(styleProp:String):void
     {
         if (styleProp in hostTextLayoutFormat)
-		{
-			var value:* = getStyle(styleProp);
-
-			if (styleProp == "tabStops" && value === undefined)
-				value = [];
-
-			hostTextLayoutFormat[styleProp] = value;
-		}
+        {
+            var value:* = getStyle(styleProp);
+
+            if (styleProp == "tabStops" && value === undefined)
+                value = [];
+
+            hostTextLayoutFormat[styleProp] = value;
+        }
     }

     /**
@@ -1560,7 +1555,7 @@
     {
         // The whiteSpaceCollapse format determines how whitespace
         // is processed when markup is imported.
-		staticTextLayoutFormat.lineBreak = FormatValue.INHERIT;
+        staticTextLayoutFormat.lineBreak = FormatValue.INHERIT;
         staticTextLayoutFormat.paddingLeft = FormatValue.INHERIT;
         staticTextLayoutFormat.paddingRight = FormatValue.INHERIT;
         staticTextLayoutFormat.paddingTop = FormatValue.INHERIT;
@@ -1573,15 +1568,15 @@

         if (markup is String)
         {
-	        // We need to wrap the markup in a <TextFlow> tag
-	        // unless it already has one.
-	        // Note that we avoid trying to convert it to XML
-	        // (in order to test whether the outer tag is <TextFlow>)
-	        // unless it contains the substring "TextFlow".
+            // We need to wrap the markup in a <TextFlow> tag
+            // unless it already has one.
+            // Note that we avoid trying to convert it to XML
+            // (in order to test whether the outer tag is <TextFlow>)
+            // unless it contains the substring "TextFlow".
             // And if we have to do the conversion, then
             // we use the markup in XML form rather than
             // having TLF reconvert it to XML.
-	        var wrap:Boolean = true;
+            var wrap:Boolean = true;
             if (markup.indexOf("TextFlow") != -1)
             {
                 try
@@ -1598,12 +1593,12 @@
                 }
             }

-	        if (wrap)
-	        {
-	            markup = '<TextFlow xmlns="http://ns.adobe.com/textLayout/2008">' +
-	                     markup +
-	                     '</TextFlow>';
-	        }
+            if (wrap)
+            {
+                markup = '<TextFlow xmlns="http://ns.adobe.com/textLayout/2008">' +
+                         markup +
+                         '</TextFlow>';
+            }
         }

         return TextFilter.importToFlow(markup, TextFilter.TEXT_LAYOUT_FORMAT,
@@ -1619,7 +1614,7 @@

         // The whiteSpaceCollapse format determines how whitespace
         // is processed when the children are set.
-		staticTextLayoutFormat.lineBreak = FormatValue.INHERIT;
+        staticTextLayoutFormat.lineBreak = FormatValue.INHERIT;
         staticTextLayoutFormat.paddingLeft = FormatValue.INHERIT;
         staticTextLayoutFormat.paddingRight = FormatValue.INHERIT;
         staticTextLayoutFormat.paddingTop = FormatValue.INHERIT;
@@ -1692,14 +1687,14 @@

         if (hostTextLayoutFormatInvalid)
         {
-			for (var p:String in TextLayoutFormat.tlf_internal::description)
+            for (var p:String in TextLayoutFormat.tlf_internal::description)
             {
                 setHostTextLayoutFormat(p);
             }
             hostTextLayoutFormatInvalid = false;
         }

-		textFlow.hostTextLayoutFormat = new TextLayoutFormat(hostTextLayoutFormat);
+        textFlow.hostTextLayoutFormat = new TextLayoutFormat(hostTextLayoutFormat);

         return textFlow;
     }
@@ -2042,29 +2037,29 @@
         switchToEditingMode(textFlow, EditingMode.READ_WRITE);
         var selectionManager:ISelectionManager = textFlow.interactionManager;

-		// This internal TLF object maps the names of format properties
-		// to Property instances.
-		// Each Property instance has a category property which tells
-		// whether it is container-, paragraph-, or character-level.
+        // This internal TLF object maps the names of format properties
+        // to Property instances.
+        // Each Property instance has a category property which tells
+        // whether it is container-, paragraph-, or character-level.
         var description:Object = TextLayoutFormat.tlf_internal::description;
-
+
         var p:String;
         var category:String;

         // Based on which formats have been requested, determine which
-		// of the getCommonXXXFormat() methods we need to call.
-
-		var needContainerFormat:Boolean = false;
+        // of the getCommonXXXFormat() methods we need to call.
+
+        var needContainerFormat:Boolean = false;
         var needParagraphFormat:Boolean = false;
         var needCharacterFormat:Boolean = false;

         if (!names)
         {
             names = [];
-			for (p in description)
-			{
-				names.push(p);
-			};
+            for (p in description)
+            {
+                names.push(p);
+            };

             needContainerFormat = true;
             needParagraphFormat = true;
@@ -2072,7 +2067,7 @@
         }
         else
         {
-			for each (p in names)
+            for each (p in names)
             {
                 category = description[p].category;

@@ -2085,7 +2080,7 @@
             }
         }

-		// Get the common formats.
+        // Get the common formats.

         var containerFormat:ITextLayoutFormat;
         var paragraphFormat:ITextLayoutFormat;
@@ -2101,7 +2096,7 @@
             characterFormat = selectionManager.getCommonCharacterFormat();

         // Extract the requested formats to return.
-		for each (p in names)
+        for each (p in names)
         {
             category = description[p].category;

@@ -2139,23 +2134,23 @@
     {
         // Switch to the EditManager.
         var priorEditingMode:String =
-			getEditingMode(textFlow.interactionManager);
+            getEditingMode(textFlow.interactionManager);
         switchToEditingMode(textFlow, EditingMode.READ_WRITE);

         // Assign each specified attribute to one of three format objects,
-		// depending on whether it is container-, paragraph-,
-		// or character-level. Note that these can remain null.
-		var containerFormat:TextLayoutFormat;
+        // depending on whether it is container-, paragraph-,
+        // or character-level. Note that these can remain null.
+        var containerFormat:TextLayoutFormat;
         var paragraphFormat:TextLayoutFormat;
         var characterFormat:TextLayoutFormat;

-		// This internal TLF object maps the names of format properties
-		// to Property instances.
-		// Each Property instance has a category property which tells
-		// whether it is container-, paragraph-, or character-level.
-		var description:Object = TextLayoutFormat.tlf_internal::description;
-
-		for (var p:String in attributes)
+        // This internal TLF object maps the names of format properties
+        // to Property instances.
+        // Each Property instance has a category property which tells
+        // whether it is container-, paragraph-, or character-level.
+        var description:Object = TextLayoutFormat.tlf_internal::description;
+
+        for (var p:String in attributes)
         {
             var category:String = description[p].category;

@@ -2181,7 +2176,7 @@

         // Apply the three format objects to the current selection.
         EditManager(textFlow.interactionManager).applyFormat(
-			characterFormat, paragraphFormat, containerFormat);
+            characterFormat, paragraphFormat, containerFormat);

         // Restore the prior editing mode.
         switchToEditingMode(textFlow, priorEditingMode);


Transferred from the Adobe Open Source Subversion Repository

Revision: 3342
Author:   chaase@adobe.com
Date:     2008-09-24T23:47:01.007481Z

Log Message:
-----------
Added new Rotate effect. Also, minor API additions to Animation class and minor refactoring of AnimateFilterInstance.

Reviewed by Glenn
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/AnimateInstance.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/RotateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Animate.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/NewEffects.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/AnimateFilterInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/gumbo-manifest.xml</path>

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

--- frameworks/projects/spark/src/spark/effects/animation/Animation.as
+++ frameworks/projects/spark/src/spark/effects/animation/Animation.as
@@ -23,6 +23,41 @@
 import flex.effects.interpolation.NumberArrayInterpolator;
 import flex.effects.interpolation.NumberInterpolator;
 import flex.events.AnimationEvent;
+
+/**
+ * Dispatched when the animation starts. The first
+ * animationUpdate event is dispatched at the
+ * same time.
+ *
+ * @eventType flex.events.AnimationEvent.ANIMATION_START
+ */
+[Event(name="animationStart", type="flex.events.AnimationEvent")]
+
+/**
+ * Dispatched every time the animation updates the target.
+ *
+ * @eventType flex.events.AnimationEvent.ANIMATION_UPDATE
+ */
+[Event(name="animationUpdate", type="mx.events.AnimationEvent")]
+
+/**
+ * Dispatched when the animation begins a new repetition, for
+ * any effect that is repeated more than once.
+ * An animationUpdate event is also dispatched
+ * at the same time.
+ *
+ * @eventType flex.events.AnimationEvent.ANIMATION_REPEAT
+ */
+[Event(name="animationRepeat", type="flex.events.AnimationEvent")]
+
+/**
+ * Dispatched when the effect ends. An animationUpdate event
+ * is also dispatched at the same time. A repeating animation dispatches
+ * this event only after the final repetition.

+ *
+ * @eventType flex.events.AnimationEvent.ANIMATION_END
+ */
+[Event(name="animationEnd", type="flex.events.AnimationEvent")]

 /**
  * The Animation class defines an animation that happens between
@@ -129,6 +164,17 @@
     //--------------------------------------------------------------------------

     /**
+     * This variable indicates whether the animation is currently
+     * running or not. The value is false unless the animation
+     * has been played and not yet stopped (either programmatically or
+     * automatically) or paused.
+     */
+    public function get isPlaying():Boolean
+    {
+        return _isPlaying;
+    }
+
+    /**
      * The value that the animation will produce at the beginning of the
      * animation. Values during the animation are calculated using the
      * startValue and endValue. This value
@@ -258,13 +304,15 @@
      * @private
      * Storage for the startDelay property.
      */
-    private var _startDelay:Number;
+    private var _startDelay:Number = 0;
     /**
      * The amount of time spent waiting before the animation
      * begins.
      *
      * @param value Amount of time, in milliseconds, to wait before beginning
      * the animation. Must be a value >= 0.
+     *
+     * @default 0
      */
     public function set startDelay(value:Number):void
     {
@@ -359,6 +407,22 @@
     public function get elapsedTime():Number
     {
         return _elapsedTime;
+    }
+
+
+    //----------------------------------
+    //  elapsedFraction
+    //----------------------------------
+
+    private var _elapsedFraction:Number;
+    /**
+     *  @private
+     *  The current fraction elapsed in the animation, after easing
+     *  has been applied. This value is between 0 and 1.
+     */
+    public function get elapsedFraction():Number
+    {
+        return _elapsedFraction;
     }

     //----------------------------------
@@ -582,9 +646,9 @@
         if (_invertValues)
             currentTime = duration - currentTime;

-        var elapsedFraction:Number = easer.ease(currentTime/duration);
-
-        return interpolator.interpolate(elapsedFraction, startValue, endValue);
+        _elapsedFraction = easer.ease(currentTime/duration);
+
+        return interpolator.interpolate(_elapsedFraction, startValue, endValue);
     }

     /**


fixed incoming web hooks as requirement not showing potential objects

--- flexEditor/src/org/arisgames/editor/util/AppUtils.as
+++ flexEditor/src/org/arisgames/editor/util/AppUtils.as
@@ -750,7 +750,8 @@
 		if (req.requirement == AppConstants.REQUIREMENT_PLAYER_HAS_ITEM_DATABASE ||
 			req.requirement == AppConstants.REQUIREMENT_PLAYER_VIEWED_ITEM_DATABASE ||
 			req.requirement == AppConstants.REQUIREMENT_PLAYER_VIEWED_WEBPAGE_DATABASE ||
-			req.requirement == AppConstants.REQUIREMENT_PLAYER_VIEWED_AUGBUBBLE_DATABASE ||
+			req.requirement == AppConstants.REQUIREMENT_PLAYER_VIEWED_AUGBUBBLE_DATABASE ||
+			req.requirement == AppConstants.REQUIREMENT_PLAYER_HAS_RECEIVED_INCOMING_WEB_HOOK_DATABASE ||
 			req.requirement == AppConstants.REQUIREMENT_PLAYER_VIEWED_PLAYER_NOTE_DATABASE ||
 			req.requirement == AppConstants.REQUIREMENT_PLAYER_VIEWED_NODE_DATABASE ||
 			req.requirement == AppConstants.REQUIREMENT_PLAYER_VIEWED_NPC_DATABASE ||


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@1260117 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/effects/Blur.as
+++ frameworks/projects/framework/src/mx/effects/Blur.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-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.effects
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 2462
Author:   jimurphy@adobe.com
Date:     2008-07-14T19:13:06.620116Z

Log Message:
-----------
gumbo push to trunk

Modified Paths:
--------------
214 paths were modified

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


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@1262432 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/states/State.as
+++ frameworks/projects/framework/src/mx/states/State.as
@@ -1,3 +1,15 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2006 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.
+//
+//  AdobePatentID="B770"
+//
+////////////////////////////////////////////////////////////////////////////////

 package mx.states
 {


Temporary MasterAnimationController.clone

--- src/aerys/minko/scene/controller/animation/MasterAnimationController.as
+++ src/aerys/minko/scene/controller/animation/MasterAnimationController.as
@@ -139,5 +139,14 @@
         {
             return _labelTimes[index];
         }
+
+		override public function clone():AbstractController
+		{
+			var newController : MasterAnimationController = new MasterAnimationController(_animations);
+			newController._labelNames = _labelNames;
+			newController._labelTimes = _labelTimes;
+
+			return newController;
+		}
     }
 }


fixed useless use of a Dictionnary instead of a single VertexBuffer3D in VertexBufferRessource

--- src/aerys/minko/render/ressource/VertexBufferRessource.as
+++ src/aerys/minko/render/ressource/VertexBufferRessource.as
@@ -15,7 +15,7 @@

 		private var _stream			: IVertexStream		= null;
 		private var _streamVersion	: uint				= 0;
-		private var _vertexBuffers	: Dictionary		= new Dictionary(true);
+		private var _vertexBuffer	: VertexBuffer3D	= null;
 		private var _numVertices	: uint				= 0;

 		public function get numVertices() : uint	{ return _numVertices; }
@@ -32,24 +32,22 @@
 			if (!(_stream is VertexStream))
 				return vstream.ressource.getVertexBuffer3D(context, component);

-			var vbuffer		: VertexBuffer3D	= _vertexBuffers[vstream];
 			var update		: Boolean			= vstream.version != _streamVersion;
 			var numVertices	: uint				= vstream.length;

-			if (numVertices && (!vbuffer || numVertices != _numVertices))
+			if (numVertices && (!_vertexBuffer || numVertices != _numVertices))
 			{
-				if (vbuffer)
-					vbuffer.dispose();
+				if (_vertexBuffer)
+					_vertexBuffer.dispose();

-				vbuffer = context.createVertexBuffer(vstream.length,
-													 vstream.format.dwordsPerVertex);
-				_vertexBuffers[vstream] = vbuffer;
+				_vertexBuffer = context.createVertexBuffer(vstream.length,
+														   vstream.format.dwordsPerVertex);
 				update = true;
 			}

-			if (vbuffer && update)
+			if (_vertexBuffer && update)
 			{
-				vbuffer.uploadFromVector(vstream._data, 0, numVertices);
+				_vertexBuffer.uploadFromVector(vstream._data, 0, numVertices);

 				_streamVersion = vstream.version;
 				_numVertices = numVertices;
@@ -58,15 +56,12 @@
 					vstream.disposeLocalData();
 			}

-			return vbuffer;
+			return _vertexBuffer;
 		}

 		public function dispose() : void
 		{
-			for each (var vb : VertexBuffer3D in _vertexBuffers)
-				vb.dispose();
-
-			_vertexBuffers = new Dictionary(true);
+			_vertexBuffer.dispose();
 		}
 	}
 }


items now correctly store player state changes

--- flexEditor/src/org/arisgames/editor/view/ItemEditorPlaqueView.as
+++ flexEditor/src/org/arisgames/editor/view/ItemEditorPlaqueView.as
@@ -162,7 +162,7 @@
 	private function openPlayerStateChangesEditor():void
 	{
 		var pscEditor:PlayerStateChangesEditorMX = new PlayerStateChangesEditorMX();
-		pscEditor.setEventTypeAndId(AppConstants.PLAYERSTATECHANGE_EVENTTYPE_VIEW_NODE, objectPaletteItem.id);
+		pscEditor.setEventTypeAndId(AppConstants.PLAYERSTATECHANGE_EVENTTYPE_VIEW_NODE, objectPaletteItem.objectId);

 		this.parent.addChild(pscEditor);
 		// Need to validate the display so that entire component is rendered


Transferred from the Adobe Open Source Subversion Repository

Revision: 7163
Author:   aharui@adobe.com
Date:     2009-05-21T02:19:55.813792Z

Log Message:
-----------
Initial checkin of frame 1 cleanup.  In an RSL linkage, more classes will now come from the RSL because they are no longer needed in frame 1, and the size of the application SWF will be smaller.

QE Notes: None
Doc Notes: Maybe.  All new classes should be undocumented, but it might be worth checking that and any changes to interfaces
Bugs:
Reviewer: darrell
tests: checkintests mustella/MarshallPlan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ActiveWindowManager.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses</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/framework/src/mx/events/RSLEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/MarshalPopUpData.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IEmbeddedFontRegistry.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</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/framework/src/mx/managers/systemClasses/EventProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextFormat.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.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/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/EmbeddedFontRegistry.as</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/flex4/src/spark/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/EmbeddedFont.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</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/resources/ResourceManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ResourceModuleRSLItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISWFBridgeProvider.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/FocusManagerMarshalMixin.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="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IMarshalSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/EventListenerRequest.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/ToolTipManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/mustella/MustellaResultsParser.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Alert.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallPlan.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerGlobals.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/SWFBridgeGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/alertClasses/AlertForm.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/TreeItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/DragManagerMarshalMixin.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/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/Request.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IActiveWindowManager.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/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/PopUpManagerMarshalMixin.as</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/managers/SystemManagerProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/messaging/config/LoaderConfig.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IFocusManager.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/core/ScrollControlBase.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ISystemManagerChildManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/CursorManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpData.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISWFBridgeGroup.as</path>

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

--- frameworks/projects/mx/src/mx/controls/alertClasses/AlertForm.as
+++ frameworks/projects/mx/src/mx/controls/alertClasses/AlertForm.as
@@ -26,6 +26,7 @@
 import mx.core.UIComponent;
 import mx.core.UITextField;
 import mx.events.CloseEvent;
+import mx.managers.IActiveWindowManager;
 import mx.managers.IFocusManagerContainer;
 import mx.managers.ISystemManager;
 import mx.managers.PopUpManager;
@@ -258,7 +259,10 @@
 			if (parent is IFocusManagerContainer)
 			{
 				var sm:ISystemManager = Alert(parent).systemManager;
-				sm.activate(IFocusManagerContainer(parent));
+				var awm:IActiveWindowManager =
+					IActiveWindowManager(sm.getImplementation("mx.managers::IActiveWindowManager"));
+				if (awm)
+           			awm.activate(IFocusManagerContainer(parent));
 			}
 			defaultButton.setFocus();
 		}


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@1284689 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/filters/ColorMatrixFilter.as
+++ frameworks/projects/spark/src/spark/filters/ColorMatrixFilter.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.filters
 {


LinkableNumber is now using StandardLib.asNumber()

--- WeaveJS/src/weavejs/core/LinkableNumber.as
+++ WeaveJS/src/weavejs/core/LinkableNumber.as
@@ -6,6 +6,8 @@
 */
 package weavejs.core
 {
+	import weavejs.util.StandardLib;
+
 	/**
 	 * This is a LinkableVariable which limits its session state to Number values.
 	 * @author adufilie
@@ -36,14 +38,8 @@

 		override public function setSessionState(value:Object):void
 		{
-			if (!(value is Number))
-			{
-				// special case for null and '' which would otherwise get converted to 0
-				if (value == null || value === '')
-					value = NaN;
-				else
-					value = Number(value);
-			}
+			if (!(value is Number))
+				value = StandardLib.asNumber(value);
 			super.setSessionState(value);
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 5101
Author:   gauravj@adobe.com
Date:     2009-02-27T05:22:45.887116Z

Log Message:
-----------
Update action script files with asdoc version tags.

QE Notes: None.
Doc Notes: Please review and update as necessary.
tests: checkintests

Modified Paths:
--------------
663 paths were modified

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

--- frameworks/projects/framework/src/mx/core/IRepeater.as
+++ frameworks/projects/framework/src/mx/core/IRepeater.as
@@ -15,6 +15,11 @@
 /**
  *  The IRepeater interface defines the APIs for Repeater
  *  public APIs of the Repeater object.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public interface IRepeater
 {
@@ -31,6 +36,11 @@
     /**
      *  The container that contains this Repeater,
 	 *  and in which it will create its children.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get container():IContainer;

@@ -44,6 +54,11 @@
      *
If the Repeater reaches the end of the data provider while
 	 *  executing, the number of times it actually executes will be less
 	 *  that the requested count.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get count():int;

@@ -72,6 +87,11 @@
 	 *  @see mx.core.UIComponent#repeaterIndices
 	 *  @see mx.core.UIComponent#instanceIndex
 	 *  @see mx.core.UIComponent#instanceIndices
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get currentIndex():int;

@@ -90,6 +110,11 @@
 	 *  dataProvider item from which it was created.

 	 *
 	 *  @see mx.core.UIComponent#getRepeaterItem()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get currentItem():Object;

@@ -118,6 +143,11 @@
      *
      *
You must specify a value for the dataProvider property
      *  or the Repeater component will not execute.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get dataProvider():Object;

@@ -154,6 +184,11 @@
 	 *  For example, if the previously created children have state
 	 *  information such as text typed in by a user, then this
 	 *  state will not get reset when the children are recycled.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get recycleChildren():Boolean;

@@ -169,6 +204,11 @@
     /**
      *  The index into the dataProvider at which this Repeater
      *  starts creating children.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get startingIndex():int;

@@ -194,6 +234,11 @@
 	 *
      *  @param recurse A Boolean flag indicating whether this Repeater
 	 *  should create all descendants of its children.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function initializeRepeater(container:IContainer, recurse:Boolean):void;

@@ -203,6 +248,11 @@
 	 *
 	 *
This method is called by the Flex framework.
 	 *  Developers should not need to call it.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function executeChildBindings():void;
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 8031
Author:   egeorgie@adobe.com
Date:     2009-06-20T01:10:03.288554Z

Log Message:
-----------
Scrub the TODOs in the framework, convert to FIXMEs in the new convention and assigning an owner.

Doc Notes: N/A
Bugs: N/A
Reviewer: Deepa
tests: build, checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/layouts/WheelLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.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/flex4/src/spark/effects/supportClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Timeline.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale.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/components/mediaClasses/VolumeBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/DropDownController.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HSlider.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/collections/ModifiedCollectionView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ErrorSkin.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/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.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/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.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/framework/src/mx/effects/effectClasses/SequenceInstance.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/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/utils/BitmapUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/FocusSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.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/flex4/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LayoutElementHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/mediaClasses/StreamingVideoSource.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/flex4/src/spark/components/supportClasses/ToggleButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/RemoveActionInstance.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/flex4/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/pathSegments/LineSegment.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/flex4/src/spark/components/VideoPlayer.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/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AddActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ListBase.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/flex4/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Rect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>

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

--- frameworks/projects/framework/src/mx/geom/Transform.as
+++ frameworks/projects/framework/src/mx/geom/Transform.as
@@ -28,7 +28,7 @@
 use namespace mx_internal;

 /**
- *  TODO
+ *  FIXME (jszeto): comment
  *
  *
  *  @langversion 3.0
@@ -39,7 +39,7 @@
 public class Transform extends flash.geom.Transform
 {
 	/**
-	 *  TODO
+	 *  FIXME (jszeto): comment
 	 *
 	 *
 	 *  @langversion 3.0
@@ -166,7 +166,7 @@
 	 */
 	override public function set perspectiveProjection(value:PerspectiveProjection):void
 	{
-		// TODO!!! jszeto
+		// FIXME (jszeto): !!!
 		var oldValue:PerspectiveProjection = super.perspectiveProjection;
 		super.perspectiveProjection = value;

@@ -211,7 +211,7 @@
 	private var _target:IVisualElement;

 	/**
-	 *  TODO
+	 *  FIXME (jszeto): comment
 	 *
 	 *  @langversion 3.0
 	 *  @playerversion Flash 10