Transferred from the Adobe Open Source Subversion Repository

Revision: 21981
Author:   cframpto@adobe.com
Date:     2011-08-15T18:54:28.190117Z

Log Message:
-----------
First pass of ASdoc corrections/additions for StageText.  Want to see results from tomorrow morning's ASdoc build.

QE notes:
Doc notes:
Bugs: SDK-31078, SDK-31109, SDK-31015, SDK-31127, SDK-31107, SDK-31113
Reviewer:
Tests run:
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TextSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableStageText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/StageTextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/StageTextInputSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/StageTextAreaSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/StageTextAreaSkin.as
@@ -18,9 +18,11 @@
 import spark.skins.mobile.supportClasses.StageTextSkinBase;

 /**
- *  ActionScript-based skin for TextArea controls in mobile applications.
+ *  ActionScript-based skin for TextArea controls in mobile applications that uses a
+ *  StyleableStageText class for the text display.
  *
  *  @see spark.components.TextArea
+ *  @see spark.components.supportClasses.StyleableStageText
  *
  *  @langversion 3.0
  *  @playerversion AIR 3.0


Transferred from the Adobe Open Source Subversion Repository

Revision: 3930
Author:   egreenfi@adobe.com
Date:     2008-10-28T16:30:24.729265Z

Log Message:
-----------
Step 1 of memory improvements
GraphicElement now optimizes away its AdvancedLayoutFeatures as long is has a trivial (translation only) transform matrix.
Added a new OnDemandEventDispatcher class that only allocates memory for event dispatcher functionality when it gets its first listener.
GraphicElement, OverrideBase, and LayoutBase extend OnDemandEventDispatcher.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/OverrideBase.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/OnDemandEventDispatcher.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.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/graphics/LinearGradient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradient.as</path>

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

--- frameworks/projects/framework/src/mx/states/OverrideBase.as
+++ frameworks/projects/framework/src/mx/states/OverrideBase.as
@@ -13,9 +13,11 @@
 {

 import flash.events.EventDispatcher;
+
 import mx.core.UIComponent;
+import mx.utils.OnDemandEventDispatcher;

-public class OverrideBase extends EventDispatcher
+public class OverrideBase extends OnDemandEventDispatcher
 {
 	//--------------------------------------------------------------------------
     //


Transferred from the Adobe Open Source Subversion Repository

Revision: 10152
Author:   cframpto@adobe.com
Date:     2009-09-11T13:56:53.045074Z

Log Message:
-----------
UIComponent.measureText() needs to use the off-screen TLF text field if either textFieldClass or textInputClass is defined to be a TLF class.

Remove leftover trace from TLFTextInput.

QE notes:
Doc notes:
Bugs: SDK-23120
Reviewer: Gordon
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/TLFTextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/spark/src/mx/controls/MXFTETextInput.as
+++ frameworks/projects/spark/src/mx/controls/MXFTETextInput.as
@@ -265,8 +265,9 @@
      */
     public function showBorder(visible:Boolean):void
     {
-        trace("TLFTextInput showBorder", visible, "noop");
+        // TLF-based text does not have a border.
     }
+
     //--------------------------------------------------------------------------
     //
     //  Overridden methods


Fix error handling in SceneLoader.

Fix error handling in SceneLoader.

--- src/aerys/minko/type/loader/SceneLoader.as
+++ src/aerys/minko/type/loader/SceneLoader.as
@@ -1,7 +1,9 @@
 package aerys.minko.type.loader
 {
 	import flash.events.Event;
+	import flash.events.IOErrorEvent;
 	import flash.events.ProgressEvent;
+	import flash.events.SecurityErrorEvent;
 	import flash.net.URLLoader;
 	import flash.net.URLLoaderDataFormat;
 	import flash.net.URLRequest;
@@ -98,7 +100,27 @@
 			urlLoader.dataFormat = URLLoaderDataFormat.BINARY;
 			urlLoader.addEventListener(ProgressEvent.PROGRESS, loadProgressHandler);
 			urlLoader.addEventListener(Event.COMPLETE, loadCompleteHandler);
-			urlLoader.load(urlRequest);
+			urlLoader.addEventListener(IOErrorEvent.IO_ERROR, loadErrorHandler);
+			urlLoader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, loadSecurityErrorHandler);
+
+			try
+			{
+				urlLoader.load(urlRequest);
+			}
+			catch (e : Error)
+			{
+				_error.execute(this, e.errorID, e.message);
+			}
+		}
+
+		private function loadErrorHandler(e : IOErrorEvent) : void
+		{
+			_error.execute(this, e.errorID, e.text);
+		}
+
+		private function loadSecurityErrorHandler(e : SecurityErrorEvent) : void
+		{
+			_error.execute(this, e.errorID, e.text);
 		}

 		private function loadProgressHandler(e : ProgressEvent) : void


editor accounts for the fact that notes have a defined icon_id

--- flexEditor/src/org/arisgames/editor/services/AppServices.as
+++ flexEditor/src/org/arisgames/editor/services/AppServices.as
@@ -309,6 +309,7 @@
     public function saveLocation(gid:Number, loc:Location, imageMatchMediaId:Number, resp:IResponder):void
     {
         var l:Object;
+		if(loc.type == "PlayerNote") loc.iconMediaId = 72; //Set it to notebook- can't reference 'notes' table because notes have no custom icon media
         if (isNaN(loc.locationId))
         {
             trace("AppServices.as: This Location doesn't have an Id, so call create Location. Qr Code = " + loc.qrCode + " QuickTravel = " + loc.quickTravel);


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

--- frameworks/projects/advancedgrids/src/mx/olap/IOLAPQuery.as
+++ frameworks/projects/advancedgrids/src/mx/olap/IOLAPQuery.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.olap
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 12850
Author:   jimurphy@adobe.com
Date:     2009-12-11T14:57:14.623098Z

Log Message:
-----------
add 6 new DMV projects to the SDK:
automation
automation_air
automation_dmv
automation_flashflexkit
automation_spark
datavisualization

These projects are setup to build in an ant main call.  There are currently several warnings in the datavisualization project that will be cleaned up.  No checkintests exist for these projects as of yet.

I also modified the exisitng projects build files for easier management of the localization targets, bundle and fat-swc. If the projects that I updated:airframework,airspark,framework,playerglobal,rpc,and spark.  All the new projects have been implemented this same way.

QE notes: DMV folks should run through their tests
Doc notes: probably
Bugs: nope
Reviewer:
Tests run: ran the following targets: compile,checkintests,other.locales and doc
Is noteworthy for integration: no

Modified Paths:
--------------
1404 paths were modified

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

--- frameworks/projects/advancedgrids/src/mx/olap/QueryError.as
+++ frameworks/projects/advancedgrids/src/mx/olap/QueryError.as
@@ -0,0 +1,47 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.olap
+{
+
+/**
+ *  @private
+ *  The QueryError class represents a query error message.
+ */
+public class QueryError extends Error
+{
+	include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  @param msg A string associated with the error object.
+     *
+     *  @param id A reference number to associate with the specific error message.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function QueryError(msg:String, id:int=0):void
+    {
+        super(msg, id);
+    }
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 15881
Author:   clucier@adobe.com
Date:     2010-05-04T13:48:46.464633Z

Log Message:
-----------
QE notes: None
Doc notes: None
Bugs: SDK-26292
Reviewer: Jason
Tests run: Checkin
Is noteworthy for integration: No

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as

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

--- frameworks/projects/framework/src/mx/graphics/BitmapFill.as
+++ frameworks/projects/framework/src/mx/graphics/BitmapFill.as
@@ -588,6 +588,7 @@
         {
 			var tmpSprite:DisplayObject;
 			var oldValue:Object = _source;
+			_source = value;

 			var bitmapData:BitmapData;
             var bitmapCreated:Boolean = false;
@@ -637,7 +638,6 @@
                 bitmapData = transparentBitmap;
             }

-			_source = value;
             setBitmapData(bitmapData, bitmapCreated);

 			dispatchFillChangedEvent("source", oldValue, value);


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 5825
Author:   hmuller@adobe.com
Date:     2009-03-31T22:02:45.612486Z

Log Message:
-----------
Bug fixes: virtualization, scrolling, layers.  These bug fixes were gating the virtualization implementation sign-off.

QE Notes:
Doc Notes:
Bugs: sdk-20141, sdk-19347, sdk-19984
Reviewer: Ryan

Modified Paths:
--------------
<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/layout/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/VerticalLayout.as</path>

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

--- frameworks/projects/spark/src/spark/components/DataGroup.as
+++ frameworks/projects/spark/src/spark/components/DataGroup.as
@@ -1,6 +1,7 @@
 package spark.components
 {
 import flash.display.DisplayObject;
+import flash.events.Event;
 import flash.utils.Dictionary;

 import mx.collections.IList;
@@ -211,6 +212,8 @@
     //  layout
     //----------------------------------

+    private var useVirtualLayoutChanged:Boolean = false;
+
     /**
      *  @private
      *  Sync the typicalLayoutElement var with this group's layout.
@@ -221,9 +224,15 @@
         if (value == oldLayout)
             return;

+        if (oldLayout)
+        {
+            oldLayout.typicalLayoutElement = null;
+            oldLayout.removeEventListener("useVirtualLayoutChanged", layout_useVirtualLayoutChangedHandler);
+        }
+        // Changing the layout may implicitly change layout.useVirtualLayout
+        if (oldLayout && value && (oldLayout.useVirtualLayout != value.useVirtualLayout))
+            changeUseVirtualLayout();
         super.layout = value;
-        if (oldLayout)
-            oldLayout.typicalLayoutElement = null;
         if (value)
         {
             // If typicalLayoutElement was specified for this DataGroup, then use
@@ -232,9 +241,29 @@
                 value.typicalLayoutElement = typicalLayoutElement;
             else
                 typicalLayoutElement = value.typicalLayoutElement;
-        }
-    }
-
+            value.addEventListener("useVirtualLayoutChanged", layout_useVirtualLayoutChangedHandler);
+        }
+    }
+
+    /**
+     *  @private
+     *  If layout.useVirtualLayout changes, recreate the ItemRenderers.  This can happen
+     *  if the layout's useVirtualLayout property is changed directly, or if the DataGroup's
+     *  layout is changed.
+     */
+    private function changeUseVirtualLayout():void
+    {
+        trace("DataGroup::changeUseVirtualLayout()");
+        cleanUpDataProvider();
+        invalidateProperties();
+        useVirtualLayoutChanged = true;
+    }
+
+    private function layout_useVirtualLayoutChangedHandler(event:Event):void
+    {
+        changeUseVirtualLayout();
+    }
+
     //----------------------------------
     //  itemRenderer
     //----------------------------------
@@ -548,10 +577,11 @@
      */
     override protected function commitProperties():void
     {
-        if (dataProviderChanged || itemRendererChanged)
+        if (dataProviderChanged || itemRendererChanged || useVirtualLayoutChanged)
         {
             dataProviderChanged = false;
             itemRendererChanged = false;
+            useVirtualLayoutChanged = false;
             initializeDataProvider();

             mx_internal::maskChanged = true;
@@ -708,8 +738,8 @@

         for (var index:int = oldVirtualLayoutStartIndex; index <= oldVirtualLayoutEndIndex; index++)
         {
-            // Skip the inView renderers
-            if (index >= virtualLayoutStartIndex && index <= virtualLayoutEndIndex)
+            // Skip the inView renderers.  If vitrualLayoutStartIndex is -1, there aren't any.
+            if (virtualLayoutStartIndex != -1 && index >= virtualLayoutStartIndex && index <= virtualLayoutEndIndex)
             {
                 index = virtualLayoutEndIndex;
                 continue;


Transferred from the Adobe Open Source Subversion Repository

Revision: 18625
Author:   smgilson@adobe.com
Date:     2010-11-16T20:43:37.417675Z

Log Message:
-----------
ASDoc updates for DataGrid

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/CellRegion.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/CellPosition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/DefaultGridItemEditor.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/ComboBoxGridItemEditor.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as
@@ -25,32 +25,19 @@
 use namespace mx_internal;

 /**
- *
Track a Grid's selectionMode and its set of selected rows, columns, or cells.
- *  The selected elements are defined by integer indices, where row indices are
- *  relative to the Grid's dataProvider and column indices are relative to
- *  the Grid's list of columns.

- *
- *
Three sets of methods are provided for querying or changing the selection.
- *  The methods for rows are typical:
- *

- *  containsRow(rowIndex):Boolean
- *  setRow(rowIndex:int):void
- *  addRow(rowIndex:int):void
- *  removeRow(rowIndex:int):void
- *  setRows(rowIndex:int, rowCount:int):void
- *

- *  The containsRow() method returns true if specified row is selected.
- *  The setRow() method replaces the current selection with the
- *  specified row.  It's used to implement unshifted-click selection in the Grid.
- *  The add/removeRow() methods add or remove the specified row from
- *  the selection and are used to implement control-click selection.
- *  The setRows() method replaces the current selection with the
- *  specified rows.  It's used for shift-click selection.

+ *  Use the GridSelection class to track a Grid control's
+ *  selectionMode property and its set of selected rows, columns, or cells.
+ *  The selected elements are defined by integer indices.
  *
  *  @see spark.components.Grid
  *  @see spark.components.Grid#columns
  *  @see spark.components.Grid#dataProvider
  *  @see spark.components.gridClasses.GridSelectionMode
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 2.5
+ *  @productversion Flex 4.5
  */
 public class GridSelection
 {
@@ -116,7 +103,7 @@
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function GridSelection()
@@ -137,14 +124,17 @@
     private var _grid:Grid;

     /**
-     *  This value is created by DataGrid/partAdded() and then set here.
+     *  The grid control associated with this object.
      *  This property should only be set once.
+     *
+     *
For the Spark DataGrid, this value is initialized by
+     *  the DataGrid.partAdded() method.

      *
      *  @default null
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function get grid():Grid
@@ -167,18 +157,18 @@
     private var _preserveSelection:Boolean = true;

     /**
-     *  If true, and selectionMode is
+     *  If true, and selectionMode is
      *  GridSelectionMode.SINGLE_ROW or
-     *  GridSelectionMode.SINGLE_CELL, the selection will be
+     *  GridSelectionMode.SINGLE_CELL, then selection is
      *  preserved when the dataProvider refreshes its collection,
-     *  if the corresponding item is contained in the collection after
-     *  the refresh event.
+     *  and the selected item is contained in the collection after
+     *  the refresh.
      *
      *  @default true
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function get preserveSelection():Boolean
@@ -227,7 +217,7 @@
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function get requireSelection():Boolean
@@ -260,21 +250,22 @@
     private var _selectionLength:int = 0;

     /**
-     *  If the selectionMode is either GridSelectionMode.SINGLE_ROW or
-     *  GridSelectionMode.MULTIPLE_ROWS, returns the number of
-     *  selected rows and if the selectionMode is either
+     *  If the selectionMode is either
+     *  GridSelectionMode.SINGLE_ROW or
+     *  GridSelectionMode.MULTIPLE_ROWS, contains the number of
+     *  selected rows.
+     *  If the selectionMode is either
      *  GridSelectionMode.SINGLE_CELL or
-     *  GridSelectionMode.MULTIPLE_CELLS, returns the number of
-     *  selected cells.  If selectionMode is GridSelectionMode.NONE
-     *  returns 0.
-     *
-     *  @return Number of selected rows or cells depending on selectionMode.
-     *
+     *  GridSelectionMode.MULTIPLE_CELLS, contains the number of
+     *  selected cells.
+     *  If the selectionMode is GridSelectionMode.NONE,
+     *  contains 0.
+     *
      *  @default 0
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function get selectionLength():int
@@ -319,8 +310,8 @@
      *  GridSelectionMode.SINGLE_CELL, and
      *  GridSelectionMode.SINGLE_ROW.
      *
-     *
Changing the selectionMode causes the current selection to be
-     *  cleared.

+     *
Changing the selectionMode causes the
+     *  current selection to be cleared.

      *
      *  @default GridSelectionMode.SINGLE_ROW
      *
@@ -328,7 +319,7 @@
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function get selectionMode():String
@@ -358,21 +349,16 @@
     }

     /**
-     *  If the selectionMode is either GridSelectionMode.SINGLE_CELL or
+     *  If the selectionMode is either GridSelectionMode.SINGLE_CELL or
      *  GridSelectionMode.MULTIPLE_CELLS, returns a list of all the
      *  selected cells.
      *
-     *  @return Vector of selected cell locations as row and column indices, or
-     *  if none, a Vector of length 0.  Each cell location is
-     *  {rowIndex: rn, columnIndex: cn}.  The row indices
-     *  are relative to the Grid's dataProvider and column indices are relative
-     *  to the Grid's list of columns.
+     *  @return Vector of selected cell locations as row and column indices or,
+     *  if none are selected, a Vector of length 0.
      *
-     *  @default An empty Vector.<CellPosition>
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function allCells():Vector.<CellPosition>
@@ -401,16 +387,16 @@
     }

     /**
-     *  If the selectionMode is either GridSelectionMode.SINGLE_ROW or
+     *  If the selectionMode is either GridSelectionMode.SINGLE_ROW or
      *  GridSelectionMode.MULTIPLE_ROWS, returns a list of all the
      *  selected rows.
      *
-     *  @return Vector of selected rows as row indices, or if none, a Vector
-     *  of length 0.  The row indices are relative to the Grid's dataProvider.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  @return Vector of selected rows as row indices or, if none, a Vector
+     *  of length 0.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function allRows():Vector.<int>
@@ -434,15 +420,15 @@
     }

     /**
-     *  If the selectionMode is GridSelectionMode.MULTIPLE_ROWS or
+     *  If the selectionMode is GridSelectionMode.MULTIPLE_ROWS or
      *  GridSelectionMode.MULTIPLE_CELLS, selects all the rows or
      *  cells in the grid.
      *
-     *  @return true if the selection is changed.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  @return true if the list of selected items has changed from the last call.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function selectAll():Boolean
@@ -462,16 +448,18 @@
      }

     /**
-     *  Remove removes the current selection.  If requireSelection
-     *  is true, and the selectionMode is row-based, then row 0
-     *  will be selected and if the selectionMode is cell-based,
-     *  then cell 0,0 will be selected.
-     *
-     *  @return true if the selection is changed.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  Remove the current selection.
+     *  If requireSelection is true,
+     *  and the selectionMode is row-based, then row 0
+     *  is selected.
+     *  If the selectionMode is cell-based,
+     *  then cell 0,0 is selected.
+     *
+     *  @return true if the list of selected items has changed from the last call.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function removeAll():Boolean
@@ -489,18 +477,17 @@
     //----------------------------------

     /**
-     *  If the selectionMode is either GridSelectionMode.SINGLE_ROW or
+     *  If the selectionMode is either GridSelectionMode.SINGLE_ROW or
      *  GridSelectionMode.MULTIPLE_ROWS, determines if the row is in
      *  the current selection.
      *
-     *  @param rowIndex The 0-based row index relative to the Grid's
-     *  dataProvider.
-     *
-     *  @return true if the row is in the selection
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  @param rowIndex The 0-based row index.
+     *
+     *  @return true if the row is in the selection
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function containsRow(rowIndex:int):Boolean
@@ -512,17 +499,16 @@
     }

     /**
-     *  If the selectionMode is GridSelectionMode.MULTIPLE_ROWS,
+     *  If the selectionMode is GridSelectionMode.MULTIPLE_ROWS,
      *  determines if the rows are in the current selection.
      *
-     *  @param rowIndex The 0-based row index relative to the Grid's
-     *  dataProvider.
-     *
-     *  @return true if the rows are in the selection
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  @param rowIndex The 0-based row index.
+     *
+     *  @return true if the rows are in the selection
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function containsRows(rowsIndices:Vector.<int>):Boolean
@@ -540,20 +526,19 @@
     }

     /**
-     *  If the selectionMode is either GridSelectionMode.SINGLE_ROW
+     *  If the selectionMode is either GridSelectionMode.SINGLE_ROW
      *  or GridSelectionMode.MULTIPLE_ROWS, replaces the current
-     *  selection with the given row.
-     *
-     *  @param rowIndex The 0-based row index relative to the Grid's
-     *  dataProvider.
-     *
-     *  @return True if no errors, or false if the
-     *  rowIndex is not a valid index in dataProvider
-     *  or the selectionMode is not valid.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  selection with the specified row.
+     *
+     *  @param rowIndex The 0-based row index.
+     *
+     *  @return true if no errors, or false if the
+     *  rowIndex is not a valid index in the control's dataProvider,
+     *  or if the selectionMode is not valid.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function setRow(rowIndex:int):Boolean
@@ -567,19 +552,18 @@
     }

     /**
-     *  If the selectionMode is GridSelectionMode.MULTIPLE_ROWS,
+     *  If the selectionMode is GridSelectionMode.MULTIPLE_ROWS,
      *  adds the row to the selection.
      *
-     *  @param rowIndex The 0-based row index relative to the Grid's
-     *  dataProvider.
-     *
-     *  @return True if no errors, or false if the
-     *  rowIndex is not a valid index in dataProvider
-     *  or the selectionMode is not valid.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  @param rowIndex The 0-based row index.
+     *
+     *  @return true if no errors, or false if the
+     *  rowIndex is not a valid index in the
+     *  control's dataProvider, or the selectionMode is not valid.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function addRow(rowIndex:int):Boolean
@@ -596,20 +580,21 @@
    }

     /**
-     *  If the selectionMode is either GridSelectionMode.SINGLE_ROW
+     *  If the selectionMode is either GridSelectionMode.SINGLE_ROW
      *  or GridSelectionMode.MULTIPLE_ROWS, removes the row from
      *  the selection.
      *
-     *  @param rowIndex The 0-based row index relative to the Grid's
-     *  dataProvider.
-     *
-     *  @return True if no errors, or false if the
-     *  rowIndex is not a valid index in dataProvider
-     *  or the selectionMode is not valid.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  @param rowIndex The 0-based row index.
+     *
+     *  @return true if no errors.
+     *  Returns false if the
+     *  rowIndex is not a valid index in the
+     *  control's dataProvider,
+     *  or if the selectionMode is not valid.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function removeRow(rowIndex:int):Boolean
@@ -626,20 +611,21 @@
     }

     /**
-     *  If the selectionMode is GridSelectionMode.MULTIPLE_ROWS,
+     *  If the selectionMode is GridSelectionMode.MULTIPLE_ROWS,
      *  replaces the current selection with the rows starting at
      *  startRowIndex and ending with endRowIndex.
      *
      *  @param rowIndex 0-based row index of the first row in the selection.
      *  @param rowCount Number of rows in the selection.
      *
-     *  @return True if no errors, or false if any of the indices are invalid
-     *  or startRowIndex is not less than or equal to endRowIndex
-     *  or the selectionMode is not valid.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  @return true if no errors.
+     *  Returns false if any of the indices are invalid,
+     *  if startRowIndex is not less than or equal to endRowIndex,
+     *  or if the selectionMode is not valid.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function setRows(rowIndex:int, rowCount:int):Boolean
@@ -657,22 +643,20 @@
     //----------------------------------

     /**
-     *  If the selectionMode is either
+     *  If the selectionMode is either
      *  GridSelectionMode.SINGLE_CELLS
      *  or GridSelectionMode.MULTIPLE_CELLS, determines if the cell
      *  is in the current selection.
      *
-     *  @param rowIndex The 0-based row index relative to the Grid's
-     *  dataProvider.
-     *
-     *  @param columnsIndex The 0-based column index relative to the Grid's
-     *  columns.
-     *
-     *  @return true if the cell is in the selection.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  @param rowIndex The 0-based row index.
+     *
+     *  @param columnsIndex The 0-based column index.
+     *
+     *  @return true if the cell is in the selection.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function containsCell(rowIndex:int, columnIndex:int):Boolean
@@ -684,25 +668,23 @@
     }

     /**
-     *  If the selectionMode is
+     *  If the selectionMode is
      *  GridSelectionMode.MULTIPLE_CELLS, determines if all the
      *  cells in the cell region are in the current selection.
      *
-     *  @param rowIndex The 0-based row index relative to the Grid's
-     *  dataProvider.
-     *
-     *  @param columnsIndex The 0-based column index relative to the Grid's
-     *  columns.
-     *
-     *  @param rowCount In number of cells, the height of the cell region.
-     *
-     *  @param columnsCount In number of cells, the width of the cell region.
-     *
-     *  @return true if the cells are in the selection.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  @param rowIndex The 0-based row index.
+     *
+     *  @param columnsIndex The 0-based column index.
+     *
+     *  @param rowCount The row height of the region.
+     *
+     *  @param columnsCount The width of the cell region, in columns.
+     *
+     *  @return true if the cells are in the selection.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function containsCellRegion(rowIndex:int, columnIndex:int,
@@ -745,24 +727,23 @@
     }

     /**
-     *  If the selectionMode is either GridSelectionMode.SINGLE_CELLS
+     *  If the selectionMode is either GridSelectionMode.SINGLE_CELLS
      *  or GridSelectionMode.MULTIPLE_CELLS, replaces the current
      *  selection with the cell at the given location.
      *
-     *  @param rowIndex The 0-based row index relative to the Grid's
-     *  dataProvider.
-     *
-     *  @param columnsIndex The 0-based column index relative to the Grid's
-     *  columns.
-     *
-     *  @return true no errors or false, if
-     *  rowIndex is not a valid index in dataProvider
-     *  or columnIndex is not a valid index in columns
-     *  or the selectionMode is invalid.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  @param rowIndex The 0-based row index.
+     *
+     *  @param columnsIndex The 0-based column index.
+     *
+     *  @return true no errors.
+     *  Returns false if
+     *  rowIndex is not a valid index in dataProvider,
+     *  if columnIndex is not a valid index in columns,
+     *  or if the selectionMode is invalid.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function setCell(rowIndex:int, columnIndex:int):Boolean
@@ -776,23 +757,22 @@
     }

     /**
-     *  If the selectionMode is GridSelectionMode.MULTIPLE_CELLS,
+     *  If the selectionMode is GridSelectionMode.MULTIPLE_CELLS,
      *  adds the cell at the given location to the cell selection.
      *
-     *  @param rowIndex The 0-based row index relative to the Grid's
-     *  dataProvider.
-     *
-     *  @param columnsIndex The 0-based column index relative to the Grid's
-     *  columns.
-     *
-     *  @return true no errors or false, if
-     *  rowIndex is not a valid index in dataProvider
-     *  or columnIndex is not a valid index in columns
-     *  or the selectionMode is invalid.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  @param rowIndex The 0-based row index.
+     *
+     *  @param columnsIndex The 0-based column index.
+     *
+     *  @return true no errors.
+     *  Returns false if
+     *  rowIndex is not a valid index in dataProvider,
+     *  if columnIndex is not a valid index in columns,
+     *  or if the selectionMode is invalid.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function addCell(rowIndex:int, columnIndex:int):Boolean
@@ -806,24 +786,23 @@
     }

     /**
-     *  If the selectionMode is either GridSelectionMode.SINGLE_CELL
+     *  If the selectionMode is either GridSelectionMode.SINGLE_CELL
      *  or GridSelectionMode.MULTIPLE_CELLS, removes the cell at the
      *  given position from the cell selection.
      *
-     *  @param rowIndex The 0-based row index relative to the Grid's
-     *  dataProvider.
-     *
-     *  @param columnsIndex The 0-based column index relative to the Grid's
-     *  columns.
-     *
-     *  @return true if no errors, or false, if rowIndex
-     *  is not a valid index in dataProvider or
-     *  columnIndex is not a valid index in columns
-     *  or the selectionMode is invalid.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  @param rowIndex The 0-based row index.
+     *
+     *  @param columnsIndex The 0-based column index.
+     *
+     *  @return true if no errors.
+     *  Returns false if rowIndex
+     *  is not a valid index in dataProvider, or if
+     *  columnIndex is not a valid index in columns,
+     *  or if the selectionMode is invalid.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function removeCell(rowIndex:int, columnIndex:int):Boolean
@@ -840,30 +819,29 @@
     }

     /**
-     *  If the selectionMode is GridSelectionMode.MULTIPLE_CELLS,
+     *  If the selectionMode is GridSelectionMode.MULTIPLE_CELLS,
      *  replaces the current selection with the cells in the given cell region.
      *  The origin of the cell region is the cell location specified by
      *  rowIndex and columnIndex, the width is
      *  columnCount and the height is rowCound.
      *
-     *  @param rowIndex The 0-based row index of the origin, relative to the
-     *  Grid's dataProvider.
-     *
-     *  @param columnsIndex The 0-based column index of the origin, relative to
-     *  the Grid's columns.
-     *
-     *  @param rowCount In number of cells, the height of the cell region.
-     *
-     *  @param columnsCount In number of cells, the width of the cell region.
-     *
-     *  @return true if no errors, or false, if
-     *  rowIndex is not a valid index in dataProvider
-     *  or columnIndex is not a valid index in columns
-     *  or the selectionMode is invalid.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  @param rowIndex The 0-based row index of the origin.
+     *
+     *  @param columnsIndex The 0-based column index of the origin.
+     *
+     *  @param rowCount The row height of the cell region.
+     *
+     *  @param columnsCount The column width of the cell region.
+     *
+     *  @return true if no errors.
+     *  Returns false if
+     *  rowIndex is not a valid index in dataProvider,
+     *  if columnIndex is not a valid index in columns,
+     *  or if the selectionMode is invalid.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function setCellRegion(rowIndex:int, columnIndex:int,
@@ -1209,13 +1187,14 @@
     //--------------------------------------------------------------------------

     /**
+     *  @private
      *  Called when the grid's dataProvider dispatches a
      *  CollectionEvent.COLLECTION_CHANGE event.  It handles
      *  each of the events defined in CollectionEventKind.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function dataProviderCollectionChanged(event:CollectionEvent):void
@@ -1466,13 +1445,14 @@
     //--------------------------------------------------------------------------

     /**
+     *  @private
      *  Called when the grid's columns dispatches a
      *  CollectionEvent.COLLECTION_CHANGE event.  It handles
      *  each of the events defined in CollectionEventKind.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function columnsCollectionChanged(event:CollectionEvent):void


removed unused code

removed unused code

--- WeaveUISpark/src/weave/visualization/plotters/ScatterPlotPlotter.as
+++ WeaveUISpark/src/weave/visualization/plotters/ScatterPlotPlotter.as
@@ -83,10 +83,6 @@
 		public const colorNegative:LinkableNumber = registerLinkableChild(this, new LinkableNumber(0x800000));
 		public const colorPositive:LinkableNumber = registerLinkableChild(this, new LinkableNumber(0x008000));

-		// for line connecting demo
-		public var connectTheDots:Boolean = false;
-		private var prevPoint:Point;
-
 		// delare dependency on statistics (for norm values)
 		private const _sizeByStats:IColumnStatistics = registerLinkableChild(this, WeaveAPI.StatisticsCache.getColumnStatistics(sizeBy));
 		public var hack_horizontalBackgroundLineStyle:Array;
@@ -148,22 +144,6 @@
 				tempShape.graphics.lineTo(screenBounds.getXCenter(), screenBounds.getYMax());
 				destination.draw(tempShape);
 			}
-		}
-
-		override public function drawPlotAsyncIteration(task:IPlotTask):Number
-		{
-			// this template will draw one record per iteration
-			if (task.iteration == 0)
-			{
-				if (!task.asyncState)
-					task.asyncState = {};
-				if (!task.asyncState.prevPoint)
-					task.asyncState.prevPoint = new Point();
-				var p:Point = task.asyncState.prevPoint as Point;
-				p.x = p.y = NaN;
-			}
-			prevPoint = task.asyncState.prevPoint as Point;
-			return super.drawPlotAsyncIteration(task);
 		}

 		/**
@@ -206,12 +186,6 @@
 				radius = defaultScreenRadius.value;
 			}

-			var hasPrevPoint:Boolean = connectTheDots && isFinite(prevPoint.x) && isFinite(prevPoint.y);
-			if (hasPrevPoint)
-			{
-				graphics.moveTo(prevPoint.x, prevPoint.y);
-				graphics.lineTo(tempPoint.x, tempPoint.y);
-			}
 			if (!isFinite(radius))
 			{
 				// handle undefined radius
@@ -244,9 +218,6 @@
 				}
 			}
 			graphics.endFill();
-
-			prevPoint.x = tempPoint.x;
-			prevPoint.y = tempPoint.y;
 		}

 		// backwards compatibility


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

--- frameworks/projects/framework/src/mx/graphics/shaderClasses/SoftLightShader.as
+++ frameworks/projects/framework/src/mx/graphics/shaderClasses/SoftLightShader.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.graphics.shaderClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 10633
Author:   dloverin@adobe.com
Date:     2009-09-28T13:24:30.559033Z

Log Message:
-----------
Use styleManager instance instead of StyleManager singleton (framework and compiler generated code)

Modified compiler generated style code for the FlexInit class. The style related changes are only available with the -keep option. AST generation is coming later.

Only the framework project is changed here. The other projects are will be changed soon.

QE notes: None.
Doc notes: None.
Bugs:
Reviewer: Alex and Paul
Tests run: checkintests, all Mustella tests(no new failures)
Is noteworthy for integration: no.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ButtonBarButtonSkin.as</path>
<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/containers/accordionClasses/AccordionHeader.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/controls/ButtonBar.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/managers/dragClasses/DragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollArrowSkin.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/skins/halo/ButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/configuration_en.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressIndeterminateSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DateChooserMonthArrowSkin.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/skins/halo/SliderThumbSkin.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/frameworks/projects/framework/src/mx/containers/DividedBox.as</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/skins/halo/ScrollThumbSkin.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/styles/IStyleModule.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/Form.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleManager2.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/styles/StyleManager.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/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/TitleBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/NumericStepperDownSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PopUpButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/ProgrammaticSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/TabSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/textClasses/TextRange.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/LayoutContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/AccordionHeaderSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/CheckBoxIcon.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/NumericStepperUpSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/RadioButtonIcon.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/states/SetStyle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ComboBoxArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeaderBase.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/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/MenuBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressBarSkin.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/skins/halo/BusyCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/Request.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.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/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/SliderTrackSkin.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/modules/compiler/src/java/flex2/compiler/css/StyleModule.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollTrackSkin.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/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DataGridHeaderBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</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/framework/src/mx/effects/effectClasses/SetStyleActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm</path>

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

--- frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridItemRenderer.as
+++ frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridItemRenderer.as
@@ -36,7 +36,6 @@
 import mx.managers.ISystemManager;
 import mx.styles.CSSStyleDeclaration;
 import mx.styles.IStyleClient;
-import mx.styles.StyleManager;
 import mx.styles.StyleProtoChain;

 use namespace mx_internal;
@@ -328,7 +327,7 @@
      */
     override public function getStyle(styleProp:String):*
     {
-        return (StyleManager.inheritingStyles[styleProp]) ?
+        return (styleManager.inheritingStyles[styleProp]) ?
             inheritingStyles[styleProp] : nonInheritingStyles[styleProp];
     }

@@ -366,7 +365,7 @@
         // then regenerate the UIComponent's proto chain (and the proto chains
         // of this UIComponent's descendants).
         var isInheritingStyle:Boolean =
-            StyleManager.isInheritingStyle(styleProp);
+            styleManager.isInheritingStyle(styleProp);
         var isProtoChainInitialized:Boolean =
             inheritingStyles != StyleProtoChain.STYLE_UNINITIALIZED;
         if (isInheritingStyle)
@@ -582,7 +581,7 @@
                 for (var c:int=0; c < styleNames.length; c++)
                 {
                     if (styleNames[c].length) {
-                        classSelectors.push(StyleManager.getStyleDeclaration("." +
+                        classSelectors.push(styleManager.getStyleDeclaration("." +
                             styleNames[c]));
                     }
                 }
@@ -594,7 +593,7 @@
         // getting the tail of the proto chain, which is:
         //  - for non-inheriting styles, the global style sheet
         //  - for inheriting styles, my parent's style object
-        var nonInheritChain:Object = StyleManager.stylesRoot;
+        var nonInheritChain:Object = styleManager.stylesRoot;

         var p:IStyleClient = parent as IStyleClient;
         if (p)
@@ -605,7 +604,7 @@
         }
         else
         {
-            inheritChain = StyleManager.stylesRoot;
+            inheritChain = styleManager.stylesRoot;
         }

         // Working backwards up the list, the next element in the
@@ -687,7 +686,7 @@
                className != "mx.core.UITextField")
         {
             var s:CSSStyleDeclaration =
-                StyleManager.getStyleDeclaration(className);
+                styleManager.getStyleDeclaration(className);

             if (s)
             {


translate some lines to English

translate some lines to English

translate some lines to English

--- src/control/LoadFLADataCommand.as
+++ src/control/LoadFLADataCommand.as
@@ -1,4 +1,4 @@
-package control{
+package control{
 	import dragonBones.utils.ConstValues;

 	import flash.events.Event;
@@ -47,7 +47,7 @@
 			if(isLoading){
 				return;
 			}
-			//读取 Flash Pro 中符合骨骼结构的 element 列表
+			//Load bone elements from Flash Pro
 			jsflProxy.getArmatureList(_isSelected);
 		}

@@ -56,7 +56,7 @@
 				addSkeletonXML(_skeletonXML);
 			}
 			if(armatureNameList.length == 0){
-				//骨骼读取完毕，放置贴图
+				//load texture complete, start to place texture
 				MessageDispatcher.dispatchEvent(MessageDispatcher.LOAD_ARMATURE_DATA_COMPLETE);
 				jsflProxy.clearTextureSWFItem();
 				return;
@@ -71,7 +71,7 @@
 				textureAtlasXML.appendChild(_subTextureXML);
 			}
 			if(subTextureAddedIndex < 0){
-				//贴图放置完毕，排序贴图
+				//load texture complete, start to place texture
 				MessageDispatcher.dispatchEvent(MessageDispatcher.LOAD_TEXTURE_DATA_COMPLETE);
 				MessageDispatcher.addEventListener(JSFLProxy.PACK_TEXTURES, jsflProxyHandler);
 				TextureUtil.packTextures(ImportDataProxy.getInstance().textureMaxWidth, ImportDataProxy.getInstance().texturePadding, textureAtlasXML);
@@ -90,10 +90,10 @@
 			switch(_e.type){
 				case JSFLProxy.GET_ARMATURE_LIST:
 					if(_result == "false"){
-						//没有符合骨骼结构的 element
+						//no armature element
 						MessageDispatcher.dispatchEvent(MessageDispatcher.LOAD_FLADATA, 0);
 					}else{
-						//开始逐个读取骨骼
+						//start load armature data
 						armatureNameList = _result.split(",");
 						totalCount = armatureNameList.length - 1;
 						MessageDispatcher.dispatchEvent(MessageDispatcher.LOAD_FLADATA, totalCount, armatureNameList.shift());
@@ -105,7 +105,7 @@
 					}
 					break;
 				case JSFLProxy.GENERATE_ARMATURE:
-					//逐个读取骨骼
+					//read next Armature data
 					addAndReadNextArmature(_result != "false"?XML(_result):null);
 					break;
 				case JSFLProxy.CLEAR_TEXTURE_SWFITEM:
@@ -115,21 +115,21 @@
 					subTextureXMLList = textureAtlasXML.elements(ConstValues.SUB_TEXTURE);
 					totalCount = subTextureXMLList.length();
 					subTextureAddedIndex = totalCount - 1;
-					//开始逐个放置贴图
+					//start to place texture
 					addAndReadNextSubTexture();
 					break;
 				case JSFLProxy.ADD_TEXTURE_TO_SWFITEM:
-					//逐个放置贴图
+					//place texture one by one
 					addAndReadNextSubTexture(_result != "false"?XML(_result):null);
 					break;
 				case JSFLProxy.PACK_TEXTURES:
-					//贴图排序完毕，从 Flash Pro 导出贴图 SWF
+					//placed textures finished and then export
 					MessageDispatcher.removeEventListener(JSFLProxy.PACK_TEXTURES, jsflProxyHandler);
 					MessageDispatcher.addEventListener(JSFLProxy.EXPORT_SWF, jsflProxyHandler);
 					jsflProxy.exportSWF();
 					break;
 				case JSFLProxy.EXPORT_SWF:
-					//导出 SWF 完毕，读取 SWF
+					//export swf finised, then load
 					MessageDispatcher.removeEventListener(JSFLProxy.EXPORT_SWF, jsflProxyHandler);
 					MessageDispatcher.dispatchEvent(MessageDispatcher.LOAD_SWF);
 					urlLoader.addEventListener(Event.COMPLETE, onURLLoaderCompleteHandler);


Transferred from the Adobe Open Source Subversion Repository

Revision: 1968
Author:   jimurphy@adobe.com
Date:     2008-06-05T15:31:56.961691Z

Log Message:
-----------
Merge 3.0.x revisions [1940,1954] -> trunk

Modified Paths:
--------------
<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/airframework/src/mx/core/FlexHTMLLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemHistoryButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemTree.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/in/air/mac/AIR Integration Kit.tbz2</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumeration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/AIREvent.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FileEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/StatusBar.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/airframework/src/mx/controls/FileSystemDataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/ApplicationTitleBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.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/frameworks/projects/airframework/src/mx/events/FlexNativeMenuEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMinimizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMaximizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowRestoreButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/IWindow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemSizeDisplayMode.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/airframework/src/mx/events/FlexNativeWindowBoundsEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowCloseButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as</path>

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

--- frameworks/projects/airframework/src/mx/controls/FileSystemEnumerationMode.as
+++ frameworks/projects/airframework/src/mx/controls/FileSystemEnumerationMode.as
@@ -22,7 +22,7 @@
  *  @see mx.controls.FileSystemDataGrid#enumerationMode
  *  @see mx.controls.FileSystemTree#enumerationMode
  *
- *  @productversion Apollo 1.0
+ *  @playerversion AIR 1.1
  */
 public final class FileSystemEnumerationMode
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 23247
Author:   cframpto@adobe.com
Date:     2011-12-20T19:21:13.134833Z

Log Message:
-----------
Remove ADOBE SYSTEMS license and replace with Apache license in headers - frameworks.  A 2nd pass will be needed to get the files not handled up by the scripts.

Modified Paths:
--------------
4959 paths were modified

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

--- frameworks/projects/mx/src/mx/controls/videoClasses/NCManagerConnectClient.as
+++ frameworks/projects/mx/src/mx/controls/videoClasses/NCManagerConnectClient.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-2007 Adobe Systems Incorporated
-//  All Rights Reserved.
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
 //
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
 //
 ////////////////////////////////////////////////////////////////////////////////


Transferred from the Adobe Open Source Subversion Repository

Revision: 8044
Author:   chaase@adobe.com
Date:     2009-06-22T17:01:54.701660Z

Log Message:
-----------
Final (!) PARB changes for effects.
- renamed ArrayInterpolator to MultiValueInterpolator (and enhanced behavior to handle Vectors as well as Arrays).
- Created new AnimateTransform3D subclass of AnimateTransform (to hold 3D-specific properties/defaults), and moved Move3D, Rotate3D, Scale3D to subclass from this new class.

QE Notes: Change to default value of applyLocalProjection (matches former default on 3D effects, but not default on AnimateTransform).
Doc Notes: None
Bugs: None
Reviewer: Hans
Tests: checkintests, effects cyclone from QE

Modified Paths:
--------------
<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/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/Animate.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/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/ArrayInterpolator.as" copyfrom-rev="7917" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/MultiValueInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/ArrayInterpolator.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/AnimateTransform.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as
@@ -488,8 +488,8 @@

     /**
      *  @private
-     *  Set the values in the given array on the properties held in our
-     *  motionPaths array. This is called by the update and end
+     *  Set the values in the given animation on the properties held in
+     *  motionPaths. This is called by the update and end
      *  functions, which are called by the Animation during the animation.
      *
      *  @langversion 3.0


Transferred from the Adobe Open Source Subversion Repository

Revision: 21319
Author:   build@adobe.com
Date:     2011-06-01T17:45:41.136089Z

Log Message:
-----------
Version update to 4.5.2

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@1251970 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.1.0";
+mx_internal static const VERSION:String = "4.5.2.0";


Transferred from the Adobe Open Source Subversion Repository

Revision: 21593
Author:   aharui@adobe.com
Date:     2011-07-16T04:39:08.938529Z

Log Message:
-----------
Optimize Advanced CSS selector lookup.  Selectors are sorted into categories as they are registered so we can do quick elimination of some categories of selectors.

QE notes: New API in IAdvancedStyleClient
Doc notes: New API in IAdvancedStyleClient
Bugs: SDK-29880
Reviewer: Peter F
Tests run: Mustella Cyclone
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/styles/StyleProxy.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/styles/IStyleManager2.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>

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

--- frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as
+++ frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as
@@ -548,6 +548,19 @@
         return StyleProtoChain.matchesCSSType(this, cssType);
     }

+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.6
+     */
+    public function hasCSSState():Boolean
+    {
+        return false;
+    }
+
     //----------------------------------
     //  IFlexModule methods
     //----------------------------------


Transferred from the Adobe Open Source Subversion Repository

Revision: 17152
Author:   cframpto@adobe.com
Date:     2010-08-02T18:38:05.626205Z

Log Message:
-----------
Integrate with TLF2 build 129.

- Set compatibilityVersion in configuration to 1.1 so that the selection does not include the final paragraph terminator.
The flag tells TLF that we want TLF1.1 compatibility for the selection length.  Pre TLF2, the selection length was textFlow.length-1 and did not include the final paragraph terminator.  For TLF2, the selection length is textFlow.length which includes the final paragraph terminator.

- When auto-sizing RET, if the unscaled width/height differs from the last unscaled width/height, redraw the background.  The EditManager calls updateAllControllers() directly when there is interactive input such as typing or cut/paste. This bypasses our update cycle which matters if we are auto-sizing.  compositionWidth/Height are NaN and the background is drawn with the old width/height because measureTextSize hasn't had a chance to update the layout manager yet.  Once the layoutManager has been updated, the compositionWidth/Height are still NaN so TLF doesn't think there is anything to compose.  The text hasn't changed shape, but the background has.

For TLF1.1 this was not necessary for most cases but there were some cases it should have been done and this was a bug.  TLF changed TextContainerManager.updateContainer() so now it is an issue for all cases.  It used to call compose() and it no longer does.

- The width of selection highlighting when full line is selected changed slightly for performance reasons.  Peter D and I decided this did not need to be put under the compatibilityVersion flag.

Full mustella test suite has been run.

Modified Paths:
--------------
120 paths were modified

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

--- frameworks/projects/spark/src/spark/components/RichEditableText.as
+++ frameworks/projects/spark/src/spark/components/RichEditableText.as
@@ -475,6 +475,9 @@
             staticConfiguration.manageEnterKey = false; // default is true
             staticConfiguration.manageTabKey = false;   // default is false

+            // See comment on staticConfiguration variable.
+            staticConfiguration.compatibilityVersion = 1.1;
+
             staticPlainTextImporter =
                 TextConverter.getImporter(TextConverter.PLAIN_TEXT_FORMAT,
                     staticConfiguration);
@@ -506,6 +509,11 @@
          *  It tells the TextContainerManager that we don't want it
          *  to handle the ENTER key, because we need the ENTER key to behave
          *  differently based on the 'multiline' property.
+         *  It tells the TextContainerManager that we want TLF1.1 compatibility
+         *  for the selection length.  Pre TLF2, the selection length
+         *  was textFlow.length-1 and did not include the final paragraph terminator.
+         *  For TLF2, the selection length is textFlow.length which includes
+         *  the final paragraph terminator.
          */
         private static var staticConfiguration:Configuration;

@@ -2604,8 +2612,27 @@
                 _textContainerManager.convertToTextFlowWithComposer();
             }

+            // The EditManager calls updateAllControllers() directly when there
+            // is interactive input such as typing or cut/paste. This bypasses
+            // our update cycle which matters if we are auto-sizing.
+            // compositionWidth/Height are NaN and the background is drawn with
+            // the old width/height because measureTextSize hasn't had a
+            // chance to update the layout manager yet.  Once the layoutManager
+            // has been updated, the compositionWidth/Height are still NaN
+            // so TLF doesn't think there is anything to compose.  The text
+            // hasn't changed shape, but the background has.
+            if (autoSize && !isNaN(lastUnscaledWidth) &&
+                (lastUnscaledWidth != unscaledWidth ||
+                    lastUnscaledHeight != unscaledHeight))
+            {
+                if (_textContainerManager.composeState == TextContainerManager.COMPOSE_COMPOSER)
+                     _textContainerManager.getTextFlow().flowComposer.getControllerAt(0).shapesInvalid = true;
+                else if (!_textContainerManager.isDamaged())
+                    _textContainerManager.drawBackgroundAndSetScrollRect(0,0);
+            }
+
             _textContainerManager.updateContainer();
-        }
+         }

         /**
          *  @private
@@ -2958,7 +2985,8 @@
         }

         /**
-         *  Selects all of the text.
+         *  Selects all of the text. This does not include the final paragraph
+         *  terminator.
          *
          *  @langversion 3.0
          *  @playerversion Flash 10
@@ -2969,9 +2997,9 @@
         {
             selectRange(0, int.MAX_VALUE);
         }
-
-        /**
-         *  Returns a TextLayoutFormat object specifying the formats
+
+        /**
+         *  Returns a TextLayoutFormat object specifying the computed formats
          *  for the specified range of characters.
          *
          *  <p>If a format is not consistently set across the entire range,
@@ -4079,7 +4107,7 @@
             _text = null;
             _content = null;
             _textFlow = _textContainerManager.getTextFlow();
-
+
             lastGeneration = _textFlow.generation;

             // We don't need to call invalidateProperties()


Transferred from the Adobe Open Source Subversion Repository

Revision: 22899
Author:   jasonsj@adobe.com
Date:     2011-10-07T05:37:35.626699Z

Log Message:
-----------
Do not change Callout's actual positions if the owner has been removed

QE notes:
Doc notes:
Bugs:
SDK-31687 CallOut Arrow changes position on fade out
Reviewer: chiedozi
Tests run: checkintests, mustella-mobile
Is noteworthy for integration: no

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

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

--- frameworks/projects/mobilecomponents/src/spark/components/Callout.as
+++ frameworks/projects/mobilecomponents/src/spark/components/Callout.as
@@ -1201,6 +1201,10 @@

             return;
         }
+
+        // Do not change the actual position if the owner has been removed
+        if (!owner || !owner.parent)
+            return;

         var ownerBounds:Rectangle = owner.getBounds(systemManager.getSandboxRoot());