Transferred from the Adobe Open Source Subversion Repository

Revision: 17042
Author:   cframpto@adobe.com
Date:     2010-07-23T16:04:29.868893Z

Log Message:
-----------
PARB changes for DataGrid selection

removed from DG and/or Grid:
allSelectedCells()
allSelectedIndices()
selectionContainsOnlyCell()
selectionContainsOnlyCellRegion()
selectionContainsOnlyIndex()
selectionContainsOnlyIndices()

these read-only properties have been added to Grid:
selectedCell
selectedCells
selectedIndex
selectedIndices
selectedItem
selectedItems
selectionLength

new CellRegion and CellPosition classes.  Return Vector.<CellPosition> rather than Vector.<Object> for cell selection.

Signature of getCellsAt changed to return Vector.<CellPosition>
Signature of GridSelectionEvent changed to have one arg, selectionChange:CellRegion.

QE notes: API changes so expect some test breakage
Doc notes:
Bugs:
Reviewer: Hans
Tests run: none
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="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridSelection.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/SparkClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/GridSelectionEvent.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/CellRegion.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="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/CellPosition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Tree.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/GridContainerBase.as</path>

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

--- frameworks/projects/spark/src/spark/events/GridSelectionEvent.as
+++ frameworks/projects/spark/src/spark/events/GridSelectionEvent.as
@@ -13,6 +13,7 @@
 {

 import flash.events.Event;
+import spark.components.supportClasses.CellRegion;

 /**
  *  The GridSelectionEvent class represents events that are dispatched when
@@ -52,6 +53,13 @@
      *       event listener that handles the event. For example, if you use
      *       myButton.addEventListener() to register an event listener,
      *       myButton is the value of the currentTarget.

+     *
kind	The kind of changing event.
+     *       The valid values are defined in GridSelectionEventKind
+     *       class as constants.  This value determines which properties in
+     *       the event are used.

+     *
selectionChange	The just completed selection
+     *      change that was triggered by a user gesture. Use the DataGrid
+     *      selection methods to determine the current selection.

      *
target	The Object that dispatched the event;
      *       it is not always the Object listening for the event.
      *       Use the currentTarget property to always access the
@@ -61,6 +69,9 @@
      *
      *  @eventType selectionChange
      *
+     *  @see spark.components.DataGrid#selectedCells
+     *  @see spark.components.DataGrid#selectedIndices
+     *
      *  @langversion 3.0
      *  @playerversion Flash 10
      *  @playerversion AIR 2.0
@@ -84,19 +95,12 @@
      *       event listener that handles the event. For example, if you use
      *       myButton.addEventListener() to register an event listener,
      *       myButton is the value of the currentTarget.

-     *
columnCount	The number of columns in
-     *      a cell region.

-     *
columnIndex	The 0-based columnIndex of
-     *      a cell or the origin of a cell region.

-     *
indices	A list of rows.

      *
kind	The kind of changing event.
      *       The valid values are defined in GridSelectionEventKind
      *       class as constants.  This value determines which properties in
      *       the event are used.

-     *
rowCount	The number of rows in
-     *      a cell region.

-     *
rowIndex	The 0-based rowIndex or a
-     *      row or a cell or the origin of a cell region.

+     *
selectionChange	The upcoming selection
+     *      change that is triggered by a user gesture.

      *
target	The Object that dispatched the event;
      *       it is not always the Object listening for the event.
      *       Use the currentTarget property to always access the
@@ -106,7 +110,8 @@
      *
      *  @eventType selectionChanging
      *
-     *  @see spark.components.DataGrid
+     *  @see spark.components.DataGrid#selectedCells
+     *  @see spark.components.DataGrid#selectedIndices
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -136,46 +141,12 @@
      *  GridSelectionEventKind class as constants.  This value
      *  determines which properties in the event are used.
      *
-     *  @param rowIndex When type is SELECTION_CHANGING and the
-     *  kind is one of GridSelectionEvent.SET_ROW,
-     *  GridSelectionEvent.ADD_ROW, or
-     *  GridSelectionEvent.REMOVE_ROW,
-     *  the 0-based index from the dataProvider of the row,
-     *  and when kind is one of
-     *  GridSelectionEvent.SET_CELL,
-     *  GridSelectionEvent.ADD_CELL, or
-     *  GridSelectionEvent.REMOVE_CELL,
-     *  the 0-based index from the dataProvider of origin of the
-     *  cell region.
-     *
-     *  @param columnIndex When type is SELECTION_CHANGING and the
-     *  kind is one of GridSelectionEvent.SET_ROW,
-     *  GridSelectionEvent.ADD_ROW, or
-     *  GridSelectionEvent.REMOVE_ROW,
-     *  the 0-based index from the columns of the row,
-     *  and when kind is one of
-     *  GridSelectionEvent.SET_CELL,
-     *  GridSelectionEvent.ADD_CELL, or
-     *  GridSelectionEvent.REMOVE_CELL,
-     *  the 0-based index from the columns of origin of the
-     *  cell region.
-     *
-     *  @param rowCount When type is SELECTION_CHANGING and the
-     *  kind is GridSelectionEvent.SET_CELLS, the number of
-     *  rows in the cell region that is to be selected.  The rows originate
-     *  at rowIndex.
-     *
-     *  @param columnCount When type is SELECTION_CHANGING and the
-     *  kind is GridSelectionEvent.SET_CELLS, the number of
-     *  columns in the cell region that is to be selected.  The columns
-     *  originate at columnIndex.
-     *
-     *  @param indices When type is SELECTION_CHANGING and
-     *  kind is GridSelectionEvent.SET_ROWS,
-     *  a Vector of the row indices that are about to be selected.
-     *
-     *  @see spark.components.DataGrid#columns
-     *  @see spark.components.DataGrid#dataProvider
+     *  @param selectionChange The proposed or accepted change to the
+     *  current selection.  Use the Spark DataGrid selection methods to
+     *  determine the current selection.
+     *
+     *  @see spark.components.DataGrid#selectedCells
+     *  @see spark.components.DataGrid#selectedIndices
      *  @spark.events.GridSelectionEventKind
      *
      *  @langversion 3.0
@@ -187,22 +158,12 @@
                                        bubbles:Boolean = false,
                                        cancelable:Boolean = false,
                                        kind:String = null,
-                                       rowIndex:int = -1,
-                                       columnIndex:int= -1,
-                                       rowCount:int = -1,
-                                       columnCount:int = -1,
-                                       indices:Vector.<int> = null)
+                                       selectionChange:CellRegion = null)
      {
         super(type, bubbles, cancelable);

-        this.kind = kind;
-
-        this.rowIndex = rowIndex;
-        this.columnIndex = columnIndex;
-        this.rowCount = rowCount;
-        this.columnCount = columnCount;
-
-        this.indices = indices;
+        this.kind = kind;
+        this.selectionChange = selectionChange;
     }

     //--------------------------------------------------------------------------
@@ -232,80 +193,22 @@

     //----------------------------------
-    //  rowIndex
-    //----------------------------------
-
-    /**
-     *  The 0-based index of the row in the dataProvider for
-     *  either a row or a cell position, or the origin of a cell region.
-     *
-     *  @see spark.components.DataGrid#dataProvider
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
-     *  @productversion Flex 4.5
-     */
-    public var rowIndex:int;
-
-    //----------------------------------
-    //  columnIndex
-    //----------------------------------
-
-    /**
-     *  The 0-based index of the column in the columns for
-     *  either a cell position or the origin of a cell region.
-     *
-     *  @see spark.components.DataGrid#columns
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
-     *  @productversion Flex 4.5
-     */
-    public var columnIndex:int;
-
-    //----------------------------------
-    //  rowCount
-    //----------------------------------
-
-    /**
-     *  If selecting a cell region, the number of rows in the cell region.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
-     *  @productversion Flex 4.5
-     */
-    public var rowCount:int;
-
-    //----------------------------------
-    //  columnCount
-    //----------------------------------
-
-    /**
-     *  If selecting a cell region, the number of columns in the cell region.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
-     *  @productversion Flex 4.5
-     */
-    public var columnCount:int;
-
-    //----------------------------------
-    //  indices
-    //----------------------------------
-
-    /**
-     *  If selecting multiple rows, a Vector of the row indices.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
-     *  @productversion Flex 4.5
-     */
-    public var indices:Vector.<int>;
+    //  selectionChange
+    //----------------------------------
+
+    /**
+     *  The upcoming or just-completed selection changes triggered by some
+     *  user gesture.  If this change is adding to the current selection, it
+     *  will not represent the complete selection.  Use the DataGrid
+     *  selection methods to determine the selection.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.0
+     *  @productversion Flex 4.5
+     */
+    public var selectionChange:CellRegion;
+

     //--------------------------------------------------------------------------
     //
@@ -322,8 +225,7 @@
             "GridSelectionEvent", "type",
             "bubbles", "cancelable", "eventPhase",
             "kind",
-            "rowIndex","columnIndex", "rowCount", "columnCount",
-            "indices");
+            "selectionChange");
     }

     //--------------------------------------------------------------------------
@@ -338,8 +240,7 @@
     override public function clone():Event
     {
         return new GridSelectionEvent(
-            type, bubbles, cancelable, kind,
-            rowIndex, columnIndex, rowCount, columnCount, indices);
+            type, bubbles, cancelable, kind, selectionChange);
     }
 }


We allow you to omit this callback in the constructor, so make sure it's not null when we go to call it

git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@5373 542714f4-19e9-0310-aa3c-eee0fc999fb1

--- src/as/com/threerings/presents/client/ResultWrapper.as
+++ src/as/com/threerings/presents/client/ResultWrapper.as
@@ -40,7 +40,9 @@
     // documentation inherited from interface ResultListener
     public function requestProcessed (result :Object) :void
     {
-        _processed(result);
+        if (_processed != null) {
+            _processed(result);
+        }
     }

     protected var _processed :Function;


Split the function of receiving the socket data in two. Easier to override in classes extending and replacing the socket, such as TLSSocket.

git-svn-id: c197267f952b24206666de142881703007ca05d5@11155 b35dd754-fafc-0310-a699-88a17e54d16e

--- src/org/igniterealtime/xiff/core/XMPPConnection.as
+++ src/org/igniterealtime/xiff/core/XMPPConnection.as
@@ -513,7 +513,7 @@
 		}

 		/**
-		 *
+		 *
 		 * @param	resultIQ
 		 */
 		protected function changePassword_result( resultIQ:IQ ):void
@@ -531,7 +531,7 @@
 		}

 		/**
-		 *
+		 *
 		 * @param	resultIQ
 		 */
 		protected function getRegistrationFields_result( resultIQ:IQ ):void
@@ -701,7 +701,7 @@
 		}

 		/**
-		 *
+		 *
 		 * @param	node The feature containing starttls tag.
 		 */
 		protected function handleStreamTLS( node:XMLNode ):void
@@ -747,7 +747,7 @@
 			{
 				dispatchError("SASL missing", "The server is not configured to support any available SASL mechanisms", "SASL", -1);
 			}
-			else
+			else
 			{
 				auth = new authClass(this);
 			}
@@ -925,8 +925,17 @@
 		{
 			var bytedata:ByteArray = new ByteArray();
 			// The default value of 0 causes all available data to be read.
-			socket.readBytes(bytedata);
-
+			socket.readBytes( bytedata );
+			parseDataReceived( bytedata );
+		}
+
+		/**
+		 * Parses the data which the socket just received.
+		 * Used to simplify the overrides from classes extending this one.
+		 * @param	bytedata
+		 */
+		protected function parseDataReceived( bytedata:ByteArray ):void
+		{
 			// Increase the incoming data counter.
 			_incomingBytes += bytedata.length;

@@ -935,12 +944,12 @@
 				bytedata.uncompress();
 			}
 			bytedata.position = 0;
-			var data:String = bytedata.readUTFBytes(bytedata.length);
+			var data:String = bytedata.readUTFBytes( bytedata.length );

 			var rawXML:String = _incompleteRawXML + data;

 			var rawData:ByteArray = new ByteArray();
-			rawData.writeUTFBytes(rawXML);
+			rawData.writeUTFBytes( rawXML );

 			// data comign in could also be parts of base64 encoded stuff.

@@ -1099,7 +1108,7 @@
 			{
 				sendXML(auth.request); // XMLNode
 			}
-			else
+			else
 			{
 				// We did not have a suitable auth method for this connection.
 			}


alt-audio : fix AltAudioLevelLoader.as only loading first audio fragment

--- src/org/mangui/hls/loader/AltAudioLevelLoader.as
+++ src/org/mangui/hls/loader/AltAudioLevelLoader.as
@@ -94,7 +94,7 @@
                 var frags : Vector.<Fragment> = Manifest.getFragments(string, url, level);
                 // set fragment and update sequence number range
                 var newLevel : Level = new Level();
-                newLevel.fragments = frags;
+                newLevel.updateFragments(frags);
                 newLevel.targetduration = Manifest.getTargetDuration(string);
                 _hls.audioTracks[_current_level].level = newLevel;
             }


FLEX-34710: s:DataGrid doubleClickMode was throwing an error when assigned a value in MXML.  This was due to the grid part not being present yet.  Modified the setter to use setGridProperty which allows delayed property setting if needed.

--- frameworks/projects/spark/src/spark/components/DataGrid.as
+++ frameworks/projects/spark/src/spark/components/DataGrid.as
@@ -1578,7 +1578,6 @@
     *  @playerversion AIR 3.4
     *  @productversion Flex 4.10
     */
-
     public function get doubleClickMode():String
     {
         return grid.doubleClickMode;
@@ -1589,13 +1588,10 @@
     */
     public function set doubleClickMode(newValue:String):void
     {
-        if (grid.doubleClickMode == newValue)
-        {
-           return;
-        }
-
-        grid.doubleClickMode = newValue;
-        dispatchChangeEvent("doubleClickModeChanged");
+        if (setGridProperty("doubleClickMode", newValue))
+        {
+            dispatchChangeEvent("doubleClickModeChanged");
+        }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 18901
Author:   cframpto@adobe.com
Date:     2010-12-01T18:35:45.994592Z

Log Message:
-----------
Redo SDK-28672.  A nice side effect is that setStyle() is now supported in the DefaultGridItemRenderer and the GridItemRenderer.
Fix comment in UIComponent.

QE notes:
Doc notes:
Bugs: SDK-28672
Reviewer: Darrell, Hans
Tests run: cyclone
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/UITextFieldGridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/TextFieldGridItemRendererInclude.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</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@1278589 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/components/DataGrid.as
+++ frameworks/projects/spark/src/spark/components/DataGrid.as
@@ -3155,7 +3155,7 @@
                     false, true,
                     selectionEventKind, selectionChange);
             dispatchEvent(changeEvent);
-            // FIXME - to trigger bindings on grid selectedCell/Index/Item properties
+            // TBD: to trigger bindings on grid selectedCell/Index/Item properties
             if (grid.hasEventListener(GridSelectionEvent.SELECTION_CHANGE))
                 grid.dispatchEvent(changeEvent);
         }


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

--- frameworks/projects/automation/src/mx/automation/delegates/controls/DataGridItemRendererAutomationImpl.as
+++ frameworks/projects/automation/src/mx/automation/delegates/controls/DataGridItemRendererAutomationImpl.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.automation.delegates.controls
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 2675
Author:   gosmith@adobe.com
Date:     2008-07-31T00:48:59.244521Z

Log Message:
-----------
TextGraphic now supports text clipping.

Previously, TextGraphic only created TextLines that completely fit within its bounds; now it also creates TextLines that only partially fit. In this "overset" case, it sets the scrollRect to clip to the bounds. This means that you can now see, for example, 3-1/2 lines of text.

Reviewer: Jono
Bugs: MXMLG-207
QA: No
Doc: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/TextFlowComposer.as</path>

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

--- frameworks/projects/spark/src/spark/components/RichText.as
+++ frameworks/projects/spark/src/spark/components/RichText.as
@@ -750,6 +750,8 @@
 		textFlowComposer.composeTextFlow(textFlow);

 		textFlowComposer.addTextLines(DisplayObjectContainer(displayObject));
+
+        displayObject.scrollRect = textFlowComposer.isOverset ? bounds : null;
 	}
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 6266
Author:   egeorgie@adobe.com
Date:     2009-04-24T23:09:01.304621Z

Log Message:
-----------
Layout PARB changes

Major (most probably will require updates):
- LayoutBase.getScrollPositionDelta() -> getScrollPositionDeltaToElement()
- HorizontalLayout, VerticalLayout method inView() -> fractionOfElementInView()
- LayoutElementFactory is deleted, interface ILayoutElement is implemented by UIComponent, GraphicElement, VisualSprite, no need for casting in those cases, cast to ILayoutElement in case of type Object.
- TileLayout.elementHorizontalAlign -> horizontalAlign
- TileLayout.elementVerticalAlign -> verticalAlign
- TileJustifyRows -> RowAlign
- TileJustifyColumsn > ColumnAlign
- TileLayout.justifyRows -> rowAlign
- TileLayout.justifyColumns -> columnAling
- TileJustifyRows.NONE, "none" -> TOP, "top"
- TileJustifyRows.GAP_SIZE, "gapSize" -> JUSTIFY_USING_GAP, "justifyUsingGap"
- TileJustifyRows.ROW_SIZE, "rowSize" -> JUSTIFY_USING_HEIGHT, "justifyUsingHeight"
- TileJustifyColumns.NONE, "none" -> LEFT, "left"
- TileJustifyColumns.GAP_SIZE, "gapSize" -> JUSTIFY_USING_GAP, "justifyUsingGap"
- TileJustifyColumns.COLUMN_SIZE, "columnSize" -> JUSTIFY_USING_WIDTH, "justifyUsingWidth"
- TileLayout.set rowCount -> set requestedRowCount
- add TileLayout.get requestedRowCount
- TileLayout.set columnCount -> set requestedColumnCount
- add TileLayout.get requestedColumnCount

Minor (may require updates, but not that probable):
- get baselinePosition() is moved from IVisualElement to ILayoutElement.
- setLayoutBoundsSize() does not have default NaN values for width & height (but still logic is the same).
- name of ILayoutInterface methods' parameter "postTransform" is renamed to "postLayoutTransform".
- name of ILayoutInterface methods' parameter "triggerLayout" is renamed to "invalidateLayout".
- LayoutBase methods invalidateTargetSizeAndDisplayList() and invalidateTargetSize() are removed.
- LayoutBase method getTargetScrollRect() is renamed to getScrollRect().

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Hans, Ryan
tests: checkintests, mustella (gumbo/layout, gumbo/group, gumbo/dataGroup)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/layout/layout_tester.mxml</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/primitives/supportClasses/GraphicElement.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/primitives/supportClasses/TextGraphicElement.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/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Ellipse.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/RowAlign.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/LayoutElementUIComponentUtils.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/TileJustifyRows.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/Animate3DInstance.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/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/TileLayout.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/flex4/src/spark/components/HScrollBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/ColumnAlign.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LayoutElementFactory.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBarHorizontalLayout.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="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/TileJustifyColumns.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/TextBaseClass.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/VScrollBar.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/flex4/src/spark/layout/supportClasses/Block.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LinearLayoutVector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollerLayout.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/BasicLayout.as
+++ frameworks/projects/spark/src/spark/layouts/BasicLayout.as
@@ -20,8 +20,58 @@
 import spark.layout.supportClasses.LayoutElementHelper;

 /**
- *  Documentation is not currently available.
- *
+ *  BasicLayout arranges the layout elements according to their settings,
+ *  independent of each-other.
+ *
+ *  Per-element supported constraints are left, right, top, bottom, horizontalCenter,
+ *  verticalCenter, baseline, percentWidth, percentHeight.
+ *  Element's minimum and maximum sizes will always be respected.
+ *
+ *  The measured size of the container is calculated from the elements, their
+ *  constraints and their preferred sizes.
+ *
+ *  During updateDisplayList() the element's size is determined according to
+ *  the rules in the following order of precedence (the element's minimum and
+ *  maximum sizes are always respected):
+ *

+ *
If the element has percentWidth or percentHeight set, then its size
+ *    is calculated as a percentage of the container size, minus any left, right,
+ *    top, bottom constraints.

+ *
+ *
If the element has both left and right constraints, it's width is
+ *    set to be the container's width minus the left and right constraints.

+ *
+ *
If the element has both top and bottom constraints, it's height is
+ *    set to be the container's height minus the top and bottom constraints.

+ *
+ *
The element is set to its preferred width and/or height.

+ *

+ *
+ *  The element's position is determined according to the rules in the following
+ *  order of precedence:
+ *

+ *
If element's horizontalCenter/verticalCenter is specified, then the
+ *    element is positioned such that the distance between the element's center
+ *    and the container's center is equal to the horizontalCenter/verticalCenter.
+ *    Set horizontalCenter/verticalCenter to zero to cetner the element within
+ *    the container in the horizontal/vertical direction.

+ *
+ *
If element's baseline is specified, then the element is positioned in
+ *    the vertical direction such that its baselinePosition (usually the baseline
+ *    of its first line of text) is aligned with baseline constraint.

+ *
+ *
If element's top/left constraints are specified, then the element is
+ *    positioned such that the top-left corner of the element's layout bounds is
+ *    offset from the top-left corner of the container by the specified values.

+ *
+ *
If element's bottom/right constraints are specified, then the element is
+ *    positioned such that the bottom-right corner of the element's layout bounds is
+ *    offset from the bottom-right corner of the container by the specified values.

+ *
+ *
When no constraints determine the position in the horizontal/vertical
+ *    direction, the element is positioned according to its x/y coordinates.

+ *

+ *
  *  @langversion 3.0
  *  @playerversion Flash 10
  *  @playerversion AIR 1.5
@@ -76,6 +126,9 @@
     //
     //--------------------------------------------------------------------------

+    /**
+     *  @private
+     */
     override public function measure():void
     {
         super.measure();
@@ -159,8 +212,7 @@
             }
             else if (!isNaN(baseline))
             {
-                // TODO EGeorgie: move baselinePosition to ILayoutElement.
-                extY = baseline - IVisualElement(layoutElement).baselinePosition;
+                extY = baseline - layoutElement.baselinePosition;
             }
             else if (!isNaN(top) || !isNaN(bottom))
             {
@@ -254,6 +306,9 @@
         }
     }

+    /**
+     *  @private
+     */
     override public function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
     {
         super.updateDisplayList(unscaledWidth, unscaledHeight);


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

--- frameworks/projects/spark/src/spark/layouts/BasicLayout.as
+++ frameworks/projects/spark/src/spark/layouts/BasicLayout.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2008 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.
 //
 ////////////////////////////////////////////////////////////////////////////////


Change 20081218-bargull-IOO by bargull@dell--p4--2-53 on 2008-12-18 18:43:15
    in /home/Admin/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: mouseover in swf9

New Features:

Bugs Fixed: LPP-7335

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

Documentation:

Release Notes:

Details:
If you get a mouseover/mouseout event, the sprite must be over the mousedown-sprite. So apparently we only need to store a reference to the last sprite which received a mouseover/mouseout event and defer the event-handling.
All testcases from LPP-7300 and LPP-7335 work now consistently in swf8 and swf9.

Tests:
see LPP-7300 and LPP-7335

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

--- WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
+++ WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
@@ -669,8 +669,8 @@
       }

       public function __mouseEvent( e:MouseEvent ) :void {
-            var skipevent = false;
-            var eventname = 'on' + e.type.toLowerCase();
+            var skipevent:Boolean = false;
+            var eventname:String = 'on' + e.type.toLowerCase();

             if (eventname == 'onmousedown') {
                 // cancel mousedown event bubbling...
@@ -698,23 +698,20 @@
             // send dragin/out events if the mouse is currently down
             if (LzMouseKernel.__lastMouseDown &&
                 (eventname == 'onmouseover' || eventname == 'onmouseout')) {
-                    // only send mouseover/out if the mouse went down on this sprite - see LPP-6677
+                    // only send mouseover/out/dragin/dragout if the mouse went down on this sprite (LPP-6677, LPP-7335)
                     if (LzMouseKernel.__lastMouseDown === this) {
                         LzMouseKernel.__sendEvent(this.owner, eventname);
+
+                        var dragname:String = eventname == 'onmouseover' ? 'onmousedragin' : 'onmousedragout';
+                        LzMouseKernel.__sendEvent(this.owner, dragname);
                     } else {
-                        // check to see if this sprite is in front of the sprite the mouse went down on.  See LPP-7300
-                        var relObj:InteractiveObject = e.relatedObject;
-                        // relatedObject is the sprite's clickbutton, use parent to access the LzSprite
-                        if (eventname == 'onmouseover' && relObj && relObj.parent === LzMouseKernel.__lastMouseDown) {
-                            // store reference to self for sending onmouseover event later - see LPP-7335
+                        // defer mouse-events until mouse is released (LPP-7300, LPP-7335)
+                        if (eventname == 'onmouseover') {
                             LzMouseKernel.__lastMouseDown.__mouseoverInFront = this;
                         } else {
                             LzMouseKernel.__lastMouseDown.__mouseoverInFront = null;
                         }
                     }
-
-                    var dragname = eventname == 'onmouseover' ? 'onmousedragin' : 'onmousedragout';
-                    LzMouseKernel.__sendEvent(this.owner, dragname);
             } else {
                 LzMouseKernel.__sendEvent(this.owner, eventname);
             }


added schafer tool option

added schafer tool option

--- WeaveClient/src/weave/VisApplication.as
+++ WeaveClient/src/weave/VisApplication.as
@@ -96,6 +96,7 @@
 	import weave.ui.controlBars.VisTaskbar;
 	import weave.ui.controlBars.WeaveMenuBar;
 	import weave.ui.controlBars.WeaveMenuItem;
+	import weave.ui.userControls.SchafersMissingDataTool;
 	import weave.utils.ColumnUtils;
 	import weave.utils.DebugTimer;
 	import weave.utils.EditorManager;
@@ -665,7 +666,8 @@
 					createToolMenuItem(Weave.properties.enableAddPieChart, "Add Pie Chart", createGlobalObject, [PieChartTool]);
 					createToolMenuItem(Weave.properties.enableAddPieChartHistogram, "Add Pie Chart Histogram", createGlobalObject, [PieChartHistogramTool]);
 					createToolMenuItem(Weave.properties.enableAddRScriptEditor, "Add R Script Editor", createGlobalObject, [RTextEditor]);
-					createToolMenuItem(Weave.properties.enableAddRadViz, "Add RadViz", createGlobalObject, [RadVizTool]);
+					createToolMenuItem(Weave.properties.enableAddRadViz, "Add RadViz", createGlobalObject, [RadVizTool]);
+					createToolMenuItem(Weave.properties.enableScahfersMissingDataTool, "Add SchafersMissingDataTool", createGlobalObject, [SchafersMissingDataTool]);
 					createToolMenuItem(Weave.properties.enableAddRamachandranPlot, "Add RamachandranPlot", createGlobalObject, [RamachandranPlotTool]);
 					createToolMenuItem(Weave.properties.enableAddScatterplot, "Add Scatterplot", createGlobalObject, [ScatterPlotTool]);
 					createToolMenuItem(Weave.properties.enableAddThermometerTool, "Add Thermometer Tool", createGlobalObject, [ThermometerTool]);


Updated "About" menu text

Updated "About" menu text

--- WeaveClient/src/weave/VisApplication.as
+++ WeaveClient/src/weave/VisApplication.as
@@ -698,12 +698,11 @@
 				_aboutMenu = _weaveMenu.addMenuToMenuBar("About", false);

 				_weaveMenu.addMenuItemToMenu(_aboutMenu, new WeaveMenuItem("Weave Version: " + Weave.properties.version.value));
-
-				_weaveMenu.addMenuItemToMenu(_aboutMenu, new WeaveMenuItem("Visit http://www.oicweave.org", function ():void {
-					navigateToURL(new URLRequest("http://www.oicweave.org"), "_blank");
-				}));
 				_weaveMenu.addMenuItemToMenu(_aboutMenu, new WeaveMenuItem("Report a problem", function ():void {
 					navigateToURL(new URLRequest("http://bugs.oicweave.org/projects/weave/issues/new"), "_blank");
+				}));
+				_weaveMenu.addMenuItemToMenu(_aboutMenu, new WeaveMenuItem("Visit OICWeave.org", function ():void {
+					navigateToURL(new URLRequest("http://www.oicweave.org"), "_blank");
 				}));
 			}
 		}


code clean-up

code clean-up

--- src/com/esri/viewer/components/toc/tocClasses/TocMapLayerItem.as
+++ src/com/esri/viewer/components/toc/tocClasses/TocMapLayerItem.as
@@ -423,16 +423,12 @@
         else if (layer is ArcGISDynamicMapServiceLayer)
         {
             var arcGISDynamicMapServiceLayer:ArcGISDynamicMapServiceLayer = ArcGISDynamicMapServiceLayer(layer);
-            if (arcGISDynamicMapServiceLayer.visibleLayers)
-            {
-                arcGISDynamicMapServiceLayer.visibleLayers.addEventListener(CollectionEvent.COLLECTION_CHANGE, visibleLayersChangeHandler);
-            }
-            else
+            if (!arcGISDynamicMapServiceLayer.visibleLayers)
             {
                 var visLayers:Array = getActualVisibleLayers(MapServiceUtil.getVisibleSubLayers(_dynamicMapServiceLayerInfos), _dynamicMapServiceLayerInfos);
-                ArcGISDynamicMapServiceLayer(layer).visibleLayers = new ArrayCollection(visLayers);
-                ArcGISDynamicMapServiceLayer(layer).visibleLayers.addEventListener(CollectionEvent.COLLECTION_CHANGE, visibleLayersChangeHandler);
-            }
+                arcGISDynamicMapServiceLayer.visibleLayers = new ArrayCollection(visLayers);
+            }
+            arcGISDynamicMapServiceLayer.visibleLayers.addEventListener(CollectionEvent.COLLECTION_CHANGE, visibleLayersChangeHandler);

             _visibleLayersChangeWatcher = ChangeWatcher.watch(arcGISDynamicMapServiceLayer, "visibleLayers", visibleLayersChange);
             _dynamicMapServiceLayerInfos = arcGISDynamicMapServiceLayer.dynamicLayerInfos ? arcGISDynamicMapServiceLayer.dynamicLayerInfos : arcGISDynamicMapServiceLayer.layerInfos;


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

--- frameworks/projects/charts/src/mx/charts/CandlestickChart.as
+++ frameworks/projects/charts/src/mx/charts/CandlestickChart.as
@@ -0,0 +1,343 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.charts
+{
+
+import mx.charts.chartClasses.CartesianChart;
+import mx.charts.chartClasses.DataTip;
+import mx.charts.chartClasses.DataTransform;
+import mx.charts.chartClasses.Series;
+import mx.charts.series.CandlestickSeries;
+import mx.charts.styles.HaloDefaults;
+import mx.core.mx_internal;
+import mx.graphics.IFill;
+import mx.graphics.SolidColor;
+import mx.graphics.Stroke;
+import mx.styles.CSSStyleDeclaration;
+import mx.core.IFlexModuleFactory;
+
+use namespace mx_internal;
+
+//--------------------------------------
+//  Styles
+//--------------------------------------
+
+/**
+ *  Specifies a ratio of how wide to draw the candlesticks
+ *  relative to the horizontal axis's category widths,
+ *  as a percentage in the range of 0 to 1.
+ *  A value of 1 uses the entire space,
+ *  while a value of 0.6 uses 60% of the column's available space.
+ *  The actual candlestick width used is the smaller of the
+ *  columnWidthRatio property and the
+ *  maxColumnWidth property.
+ *  Multiple candlestick series divide this space proportionally.
+ *  The default value is 0.65.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="columnWidthRatio", type="Number", inherit="no")]
+
+/**
+ *  Specifies how wide to draw the candlesticks, in pixels.
+ *  The actual column width used is the smaller of this property
+ *  and the columnWidthRatio property.
+ *  Multiple candlestick series divide this space proportionally.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="maxColumnWidth", type="Number", format="Length", inherit="no")]
+
+//--------------------------------------
+//  Other metadata
+//--------------------------------------
+
+[DefaultBindingProperty(destination="dataProvider")]
+
+[DefaultTriggerEvent("itemClick")]
+
+[IconFile("CandlestickChart.png")]
+
+/**
+ *  The CandlestickChart control represents financial data
+ *  as a series of candlesticks representing the high, low,
+ *  opening, and closing values of a data series.
+ *  The top and bottom of the vertical line in each candlestick
+ *  represent the high and low values for the datapoint,
+ *  while the top and bottom of the filled box
+ *  represents the opening and closing values.
+ *  Each candlestick is filled differently depending on
+ *  whether the closing value for the datapoint
+ *  is higher or lower than the opening value.
+ *
+ *
A CandlestickChart control expects its series property
+ *  to contain an array of CandlestickSeries objects.

+ *
+ *  @mxml
+ *
+ *  The <mx:CandlestickChart> tag inherits all the properties
+ *  of its parent classes and adds the following properties:

+ *
+ *

+ *  <mx:CandlestickChart
+ *    Styles
+ *    columnWidthRatio=".65"
+ *    maxColumnWidth="No default"
+ *  />
+ *

+ *
+ *  @see mx.charts.series.CandlestickSeries
+ *
+ *  @includeExample examples/CandlestickChartExample.mxml
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class CandlestickChart extends CartesianChart
+{
+    include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class initialization
+	//
+	//--------------------------------------------------------------------------
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class constants
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private static var INVALIDATING_STYLES:Object =
+	{
+		columnWidthRatio: 1,
+		maxColumnWidth: 1
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function CandlestickChart()
+	{
+		super();
+
+		dataTipMode = "single";
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Variables
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private var _moduleFactoryInitialized:Boolean = false;
+
+	/**
+	 *  @private
+	 */
+	private var _perSeriescolumnWidthRatio:Number;
+
+	/**
+	 *  @private
+	 */
+	private var _perSeriesMaxColumnWidth:Number;
+
+	/**
+	 *  @private
+	 */
+	private var _leftOffset:Number;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: UIComponent
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private function initStyles():Boolean
+	{
+		HaloDefaults.init(styleManager);
+
+		var candlestickChartStyle:CSSStyleDeclaration =
+			HaloDefaults.createSelector("mx.charts.CandlestickChart", styleManager);
+
+		var candlestickChartSeriesStyles:Array /* of Object */ = [];
+
+		candlestickChartStyle.defaultFactory = function():void
+		{
+			this.axisColor = 0xD5DEDD;
+			this.chartSeriesStyles = candlestickChartSeriesStyles;
+			this.columnWidthRatio = 0.65;
+			this.dataTipRenderer = DataTip;
+			this.fill = new SolidColor(0xFFFFFF, 0);
+			this.calloutStroke = new Stroke(0x888888,2);
+			this.fontSize = 10;
+			this.horizontalAxisStyleName = "blockCategoryAxis";
+			this.secondHorizontalAxisStyleName = "blockCategoryAxis";
+			this.secondVerticalAxisStyleName = "blockNumericAxis";
+			this.textAlign = "left"
+			this.verticalAxisStyleName = "blockNumericAxis";
+			this.horizontalAxisStyleNames = ["blockCategoryAxis"];
+			this.verticalAxisStyleNames = ["blockNumericAxis"];
+		}
+
+		var n:int = HaloDefaults.defaultColors.length;
+		for (var i:int = 0; i < n; i++)
+		{
+			var styleName:String = "haloCandlestickSeries" + i;
+			candlestickChartSeriesStyles[i] = styleName;
+
+			var o:CSSStyleDeclaration =
+				HaloDefaults.createSelector("." + styleName, styleManager);
+
+			var f:Function = function(o:CSSStyleDeclaration, boxStroke:Stroke,
+									  declineFill:IFill):void
+			{
+				o.defaultFactory = function():void
+				{
+					this.boxStroke = boxStroke;
+					this.declineFill = declineFill;
+				}
+			}
+
+			f(o, new Stroke(HaloDefaults.defaultColors[i], 0, 1),
+				new SolidColor(HaloDefaults.defaultColors[i]));
+		}
+
+		return true;
+	}
+
+	/**
+	 *  @inheritDoc
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	override public function set moduleFactory(factory:IFlexModuleFactory):void
+	{
+		super.moduleFactory = factory;
+
+		if (_moduleFactoryInitialized)
+			return;
+
+		_moduleFactoryInitialized = true;
+
+		// our style settings
+		initStyles();
+	}
+
+	/**
+	 *  @private
+	 */
+	override public function styleChanged(styleProp:String):void
+	{
+		if (styleProp == null || INVALIDATING_STYLES[styleProp] != undefined)
+			invalidateSeries();
+
+		super.styleChanged(styleProp);
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: ChartBase
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override protected function customizeSeries(seriesGlyph:Series, i:uint):void
+	{
+		var series:CandlestickSeries = seriesGlyph as CandlestickSeries;
+		if (series)
+		{
+			if (!isNaN(_perSeriescolumnWidthRatio))
+				series.columnWidthRatio = _perSeriescolumnWidthRatio;
+
+			if (!isNaN(_perSeriesMaxColumnWidth))
+				series.maxColumnWidth = _perSeriesMaxColumnWidth;
+
+			series.offset = _leftOffset + i * _perSeriescolumnWidthRatio;
+		}
+	}
+
+	/**
+	 *  @private
+	 */
+	override protected function applySeriesSet(seriesSet:Array /* of Series */,
+											   transform:DataTransform):Array /* of Series */
+	{
+
+		var columnWidthRatio:Number = getStyle("columnWidthRatio");
+		var maxColumnWidth:Number = getStyle("maxColumnWidth");
+
+		_perSeriescolumnWidthRatio = columnWidthRatio / seriesSet.length;
+		_perSeriesMaxColumnWidth = maxColumnWidth / seriesSet.length;
+
+		_leftOffset = (1 - columnWidthRatio) / 2 +
+					  _perSeriescolumnWidthRatio / 2 - 0.5;
+
+		return super.applySeriesSet(seriesSet, transform);
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: CartesianChart
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override protected function initSecondaryMode():void
+	{
+		super.initSecondaryMode();
+
+		if (!secondVerticalAxis)
+			secondVerticalAxis = new LinearAxis();
+
+		if (!secondVerticalAxisRenderer)
+			secondVerticalAxisRenderer = new AxisRenderer();
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 3597
Author:   hmuller@adobe.com
Date:     2008-10-13T19:54:10.017567Z

Log Message:
-----------
Bug fix: 17257

All updates to FxRange's value property now cause a call to setValue().

QE: No
Doc: No
Checkintests: Pass
Reviewer: Chet
Bugs:
    SDK-17257 - Range::setValue() and Range::set value shouldn't be independent

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxRange.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.as</path>

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

--- frameworks/projects/spark/src/spark/components/VScrollBar.as
+++ frameworks/projects/spark/src/spark/components/VScrollBar.as
@@ -129,7 +129,13 @@
     }

     /**
+     *  If viewport is non null then ask it to compute the vertical
+     *  scroll position delta for page up/down.  The delta is added
+     *  to this scrollbar's value.
      *
+     *  @see viewport
+     *  @see #setValue
+     *  @see IViewport#verticalScrollPositionDelta
      */
     override public function page(increase:Boolean = true):void
     {
@@ -140,7 +146,13 @@
     }

     /**
+     *  If viewport is non null then ask it to compute the verical
+     *  scroll position delta for step up/down.  The delta is added
+     *  to this scrollbar's value.
      *
+     *  @see viewport
+     *  @see #setValue
+     *  @see IViewport#verticalScrollPositionDelta
      */
     override public function step(increase:Boolean = true):void
     {


[VectorCommon] added new method into SequenceProvider - rebaseSequence()

git-svn-id: adbdea8fc1759bd16b0eaf24a244a7e5f870a654@240 fe3f0490-d73e-11de-a956-c71e7d3a9d2f

--- VectorCommon/src/org/jbei/lib/SequenceProvider.as
+++ VectorCommon/src/org/jbei/lib/SequenceProvider.as
@@ -769,6 +769,52 @@
             manualUpdateEnd();
         }

+        public function rebaseSequence(rebasePosition:int):void
+        {
+            var seqLength:int = _sequence.length;
+
+            if(rebasePosition == 0 || seqLength == 0 || rebasePosition == seqLength) {
+                return; // nothing to rebase;
+            }
+
+            if(rebasePosition > seqLength) {
+                throw new Error("Invaid rebase position: " + rebasePosition);
+            }
+
+            manualUpdateStart();
+
+            needsRecalculateComplementSequence = true;
+            needsRecalculateReverseComplementSequence = true;
+
+            // rebase sequence
+            var tmpSequence:SymbolList = _sequence.subList(0, rebasePosition);
+            _sequence.deleteSymbols(0, rebasePosition);
+            _sequence.addSymbols(tmpSequence);
+
+            // rebase features
+            if(_features && _features.length > 0) {
+                for(var i:int = 0; i < _features.length; i++) {
+                    var feature:Feature = _features.getItemAt(i) as Feature;
+
+                    var start:int = feature.start - rebasePosition;
+                    var end:int = feature.end - rebasePosition;
+
+                    if(start < 0) {
+                        start = seqLength - (-start);
+                    }
+
+                    if(end < 0) {
+                        end = seqLength - (-end);
+                    }
+
+                    feature.start = start;
+                    feature.end = end;
+                }
+            }
+
+            manualUpdateEnd();
+        }
+
         // Private Methods
         private function updateComplementSequence():void
         {


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

--- frameworks/projects/automation_airspark/src/spark/automation/delegates/components/SparkWindowedApplicationAutomationImpl.as
+++ frameworks/projects/automation_airspark/src/spark/automation/delegates/components/SparkWindowedApplicationAutomationImpl.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 spark.automation.delegates.components
 {


- fixed RegExp for CSS duration values

- fixed RegExp for CSS duration values

git-svn-id: e38e7cdd6ace00d8230583a2d3b43e9a55f5c011@160 bc4816be-ef27-423a-9c4d-fc420be121a2

--- src/reprise/css/CSSParsingHelper.as
+++ src/reprise/css/CSSParsingHelper.as
@@ -35,7 +35,7 @@

 		public static var attachmentExpression : RegExp = /scroll|fixed/;
 		public static var preloadExpression : RegExp = /no[-]preload|preload/;
-		public static var durationExpression : RegExp = /\d+m?s|0/;
+		public static var durationExpression : RegExp = /(?:\d*[.]\d+m?s)|(?:\d+m?s)|0/;
 		public static var propertyNameExpression : RegExp = /(?:[-]?\w+)+/;


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

--- frameworks/projects/framework/src/mx/managers/CursorManagerPriority.as
+++ frameworks/projects/framework/src/mx/managers/CursorManagerPriority.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////

 package mx.managers
 {


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

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

 package spark.layouts
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 14757
Author:   klin@adobe.com
Date:     2010-03-15T18:40:53.081928Z

Log Message:
-----------
Merge revision 14756 from 4.x to trunk.

Fix for http://bugs.adobe.com/jira/browse/SDK-25839 and http://bugs.adobe.com/jira/browse/SDK-25866. Icons did not respect setting the y property because they were not saving y to origMatrix. I override the y setter in BitmapAsset and SpriteAsset to set super.y and call validateTransformMatrix to save the current matrix (which has the new y).

QE notes: No
Doc notes: No
Bugs: SDK-25839, SDK-25866
Reviewer: Carol
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/SpriteAsset.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/BitmapAsset.as</path>

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

--- frameworks/projects/framework/src/mx/core/BitmapAsset.as
+++ frameworks/projects/framework/src/mx/core/BitmapAsset.as
@@ -180,6 +180,29 @@
         // FIXME(hmuller): by default get x returns transform.matrix.tx rounded to the nearest 20th.
         // should do the same here, if we're returning _x.
         return (mirror) ? _x : super.x;
+    }
+
+    //----------------------------------
+    //  y
+    //----------------------------------
+
+    /**
+     *  @private
+     *  We need to make sure y is saved in our copy of the matrix
+     *  along with the other properties.
+     */
+    override public function set y(value:Number):void
+    {
+        if (mirror)
+        {
+            transform.matrix = origMatrix;
+            super.y = value;
+            validateTransformMatrix();
+        }
+        else
+        {
+            super.y = value;
+        }
     }

     //----------------------------------


Transferred from the Adobe Open Source Subversion Repository

Revision: 18916
Author:   cframpto@adobe.com
Date:     2010-12-01T21:08:00.266503Z

Log Message:
-----------
Intended this to be part of 18901.  Fix grammar in comment for deferredSetStyles variable.  Same comment in TextFieldGridItemRendererInclude.as

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

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -1724,8 +1724,8 @@

     /**
      *  @private
-     *  hold the setStyles() calls that have been deferred untils a moduleFactory
-     *  is set.
+     *  Temporarily stores the values of styles specified with setStyle() until
+     *  moduleFactory is set.
      */
     private var deferredSetStyles:Object;

@@ -11276,7 +11276,7 @@

     /**
      *  @private
-     *  Set style that were deferred because a module factory was not
+     *  Set styles that were deferred because a module factory was not
      *  set yet.
      */
     private function setDeferredStyles():void


Transferred from the Adobe Open Source Subversion Repository

Revision: 17012
Author:   matamel@adobe.com
Date:     2010-07-22T12:39:40.302991Z

Log Message:
-----------
Bug: SDK-16648 - code assistant of Producer/Consumer shows wrong event value
QA: Yes
Doc: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/rpc/src/mx/messaging/Channel.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/rpc/src/mx/messaging/MessageAgent.as</path>

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

--- frameworks/projects/rpc/src/mx/messaging/MessageAgent.as
+++ frameworks/projects/rpc/src/mx/messaging/MessageAgent.as
@@ -86,7 +86,7 @@
  *  @productversion BlazeDS 4
  *  @productversion LCDS 3
  */
-[Event(name="channelConnect", type="mx.messaging.events.ChannelEvent")]
+[Event(name="connect", type="mx.messaging.events.ChannelEvent")]

 /**
  *  Dispatched when the underlying Channel the MessageAgent is using disconnects.
@@ -99,7 +99,7 @@
  *  @productversion BlazeDS 4
  *  @productversion LCDS 3
  */
-[Event(name="channelDisconnect", type="mx.messaging.events.ChannelEvent")]
+[Event(name="disconnect", type="mx.messaging.events.ChannelEvent")]

 /**
  *  Dispatched when the underlying Channel the MessageAgent is using faults.
@@ -112,7 +112,7 @@
  *  @productversion BlazeDS 4
  *  @productversion LCDS 3
  */
-[Event(name="channelFault", type="mx.messaging.events.ChannelFaultEvent")]
+[Event(name="fault", type="mx.messaging.events.ChannelFaultEvent")]

 /**
  *  Dispatched when the connected property of the MessageAgent changes.


MF-23 Add to shader color and alhpa chanels alpha on start always equals 1

--- src/com/merlinds/miracle_tool/controllers/converters/ColorConverter.as
+++ src/com/merlinds/miracle_tool/controllers/converters/ColorConverter.as
@@ -27,7 +27,7 @@
 		}

 		public function convertToArray(xml:XMLList):Array {
-			_color = [0, 0, 0, 0];
+			_color = [0, 0, 0, 1];
 			/* get attributes from Color node
 			 * Node example:
 			 * Additional =


reset fragment byte array after loading key (avoid parsing error)

--- src/org/mangui/HLS/streaming/FragmentLoader.as
+++ src/org/mangui/HLS/streaming/FragmentLoader.as
@@ -154,6 +154,7 @@
               // now load fragment
               try {
                  Log.debug("loading fragment:" + frag.url);
+                 _fragByteArray = null;
                  _fragstreamloader.load(new URLRequest(frag.url));
               } catch (error:Error) {
                   _hls.dispatchEvent(new HLSEvent(HLSEvent.ERROR, error.message));


Transferred from the Adobe Open Source Subversion Repository

Revision: 11247
Author:   klin@adobe.com
Date:     2009-10-28T21:59:11.963883Z

Log Message:
-----------
Fix for https://bugs.adobe.com/jira/browse/SDK-23184.

Updated a bunch of Style metadata ASDocs to describe different defaults between the Halo and Spark themes. Also, fixed a few typos along the way.

defaults.css - rearranged a few styles to be in alphabetical order
Button.as - removed extra emphasizedSkin style metadata
Panel.as - added spark theme to borderAlpha metadata

QE notes: None
Doc notes: None
Bugs: SDK-23184
Reviewer: Glenn
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ButtonBarButton.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/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/fl/video/NCManagerNative.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/styles/metadata/SkinStyles.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/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexModuleFactory.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/controls/treeClasses/TreeItemRenderer.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/styles/metadata/TextStyles.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/LinkButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/menuClasses/MenuItemRenderer.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/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.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/frameworks/projects/framework/src/mx/skins/halo/PopUpMenuIcon.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/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/PaddingStyles.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/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/GapStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.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/spark/src/fl/video/NCManagerDynamicStream.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/LinkBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/FocusStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/BitmapImage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/StrokedElement.as</path>

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

--- frameworks/projects/framework/src/mx/core/FlexModuleFactory.as
+++ frameworks/projects/framework/src/mx/core/FlexModuleFactory.as
@@ -226,7 +226,7 @@
      */
     public function  get preloadedRSLs():Dictionary
     {
-        // Overriden by compiler generate code.
+        // Overridden by compiler generate code.
         return null;
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 11274
Author:   dloverin@adobe.com
Date:     2009-10-29T19:22:48.296447Z

Log Message:
-----------
ModuleLoader enhancement and StyleProtoChain fix

QE notes: None.
Doc notes: None.
Bugs: SDK-23855, SDK-23733
Reviewer: Alex
Tests run: checkintests, Managers/StyleManager
Is noteworthy for integration: No.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>

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

--- frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
+++ frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
@@ -20,6 +20,7 @@

 import mx.core.FlexGlobals;
 import mx.core.IFlexDisplayObject;
+import mx.core.IFlexModule;
 import mx.core.IFlexModuleFactory;
 import mx.core.IFontContextComponent;
 import mx.core.IInvalidating;
@@ -80,13 +81,7 @@
      */
     public static function getClassStyleDeclarations(object:IStyleClient):Array
     {
-        var styleManager:IStyleManager2;
-
-        if (object is UIComponent)
-            styleManager = UIComponent(object).styleManager;
-        else
-            styleManager = StyleManager.getStyleManager(null);
-
+        var styleManager:IStyleManager2 = getStyleManager(object);
         var qualified:Boolean = styleManager.qualifiedTypeSelectors;
         var className:String = qualified ? getQualifiedClassName(object) : object.className;
         var advancedObject:IAdvancedStyleClient = object as IAdvancedStyleClient;
@@ -150,13 +145,7 @@
      */
     public static function initProtoChain(object:IStyleClient):void
     {
-        var styleManager:IStyleManager2 = null;
-
-        if (object is UIComponent)
-            styleManager = UIComponent(object).styleManager;
-        else
-            styleManager = StyleManager.getStyleManager(null);
-
+        var styleManager:IStyleManager2 = getStyleManager(object);
         var n:int;
         var i:int;

@@ -339,13 +328,7 @@
     public static function initProtoChainForUIComponentStyleName(
                                     obj:IStyleClient):void
     {
-        var styleManager:IStyleManager2;
-
-        if (obj is UIComponent)
-            styleManager = UIComponent(obj).styleManager;
-        else
-            styleManager = StyleManager.getStyleManager(null);
-
+        var styleManager:IStyleManager2 = getStyleManager(obj);
         var styleName:IStyleClient = IStyleClient(obj.styleName);
         var target:DisplayObject = obj as DisplayObject;

@@ -471,13 +454,7 @@
         var styleName:Object = obj.styleName;
         var styleDeclarations:Array;
         var decl:CSSStyleDeclaration;
-        var styleManager:IStyleManager2 = null;
-
-        if (target is UIComponent)
-            styleManager = UIComponent(target).styleManager;
-
-        if (!styleManager)
-            styleManager = StyleManager.getStyleManager(null);
+        var styleManager:IStyleManager2 = getStyleManager(target);

         // If we have an advanced style client, we handle this separately
         // because of the considerably more complex selector matches...
@@ -672,12 +649,7 @@
     public static function setStyle(object:IStyleClient, styleProp:String,
                                     newValue:*):void
     {
-        var styleManager:IStyleManager2;
-
-        if (object is UIComponent)
-            styleManager = UIComponent(object).styleManager;
-        else
-            styleManager = StyleManager.getStyleManager(null);
+        var styleManager:IStyleManager2 = getStyleManager(object);

         if (styleProp == "styleName")
         {
@@ -731,13 +703,8 @@
      */
     public static function styleChanged(object:IInvalidating, styleProp:String):void
     {
-        var styleManager:IStyleManager2;
-
-        if (object is UIComponent)
-            styleManager = UIComponent(object).styleManager;
-        else
-            styleManager = StyleManager.getStyleManager(null);
-
+        var styleManager:IStyleManager2 = getStyleManager(object);
+
         // If font changed, then invalidateProperties so
         // we can re-create the text field in commitProperties
         // FIXME (gosmith): Should hasFontContextChanged() be added to IFontContextComponent?
@@ -789,13 +756,7 @@
      */
     public static function matchesCSSType(object:IAdvancedStyleClient, cssType:String):Boolean
     {
-        var styleManager:IStyleManager2;
-
-        if (object is UIComponent)
-            styleManager = UIComponent(object).styleManager;
-        else
-            styleManager = StyleManager.getStyleManager(null);
-
+        var styleManager:IStyleManager2 = getStyleManager(object);
         var qualified:Boolean = styleManager.qualifiedTypeSelectors;
         var typeHierarchy:OrderedObject = getTypeHierarchy(object, qualified);
         return typeHierarchy.object_proxy::getObjectProperty(cssType) != null;
@@ -817,12 +778,7 @@
     public static function getMatchingStyleDeclarations(object:IAdvancedStyleClient,
             styleDeclarations:Array=null):Array // of CSSStyleDeclaration
     {
-        var styleManager:IStyleManager2;
-
-        if (object is UIComponent)
-            styleManager = UIComponent(object).styleManager;
-        else
-            styleManager = StyleManager.getStyleManager(null);
+        var styleManager:IStyleManager2 = getStyleManager(object);

         if (styleDeclarations == null)
             styleDeclarations = [];
@@ -857,13 +813,7 @@
      */
     private static function getTypeHierarchy(object:IStyleClient, qualified:Boolean=true):OrderedObject
     {
-        var styleManager:IStyleManager2;
-
-        if (object is UIComponent)
-            styleManager = UIComponent(object).styleManager;
-        else
-            styleManager = StyleManager.getStyleManager(null);
-
+        var styleManager:IStyleManager2 = getStyleManager(object);
         var className:String = getQualifiedClassName(object);
         var hierarchy:OrderedObject = styleManager.typeHierarchyCache[className] as OrderedObject;
         if (hierarchy == null)
@@ -985,6 +935,47 @@

         return decls;
     }
+
+    /**
+     *  @private
+     *  Get the style manager of any object. If the object does not implement IFlexModule or
+     *  is not of type StyleProxy, then the top-level style manager will be returned.
+     *
+     *  @param object - Typed as Object because various interfaces are passed here.
+     *  @return a style manager, will not be null.
+     */
+    private static function getStyleManager(object:Object):IStyleManager2
+    {
+        if (object is IFlexModule)
+            return StyleManager.getStyleManager(IFlexModule(object).moduleFactory);
+        else if (object is StyleProxy)
+            return getStyleManagerFromStyleProxy(StyleProxy(object));
+        else
+            return StyleManager.getStyleManager(null);
+    }
+
+    /**
+     *  @private
+     *  Get the style manager for a given StyleProxy object.
+     *
+     *  @return a style manager, will not be null.
+     */
+    private static function getStyleManagerFromStyleProxy(obj:StyleProxy):IStyleManager2
+    {
+        // StyleProxy's usually have sources that are DisplayObject's, but a StyleProxy can also have
+        // another StyleProxy as it's source (Example: CalendarLayout's source is a StyleProxy for DateChooser,
+        // whose style is a StyleProxy for DateField)
+        var curObj:IStyleClient = obj;
+        while (curObj is StyleProxy)
+        {
+            curObj = StyleProxy(curObj).source;
+        }
+
+        if (curObj is IFlexModule)
+            return StyleManager.getStyleManager(IFlexModule(curObj).moduleFactory);
+
+        return StyleManager.getStyleManager(null);
+    }
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 21264
Author:   tkraikit@adobe.com
Date:     2011-05-16T18:14:46.988351Z

Log Message:
-----------
Simple fix: add "QNX" to MediaQueryParser enumeration.

QE notes: -
Doc notes: -
Bugs: SDK-30369
Reviewer: Jason San Jose
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/utils/MediaQueryParser.as

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

--- frameworks/projects/framework/src/mx/utils/MediaQueryParser.as
+++ frameworks/projects/framework/src/mx/utils/MediaQueryParser.as
@@ -46,7 +46,8 @@
          IOS: "ios",
          MAC: "macintosh",
          WIN: "windows",
-         LNX: "linux"
+         LNX: "linux",
+         QNX: "qnx"
      }

      /**


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

--- frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkSkinnableComponentAutomationImpl.as
+++ frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkSkinnableComponentAutomationImpl.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2009 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: 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@1248583 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/IAdvancedDataGridRendererProvider.as
+++ frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/IAdvancedDataGridRendererProvider.as
@@ -0,0 +1,62 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.controls.advancedDataGridClasses
+{
+
+import mx.controls.AdvancedDataGrid;
+
+/**
+ *  The IAdvancedDataGridRendererProvider interface defines the interface
+ *  implemented by the AdvancedDataGridRendererProvider class,
+ *  which defines the item renderer for the AdvancedDataGrid control.
+ *
+ *  @see mx.controls.AdvancedDataGrid
+ *  @see mx.controls.advancedDataGridClasses.AdvancedDataGridRendererProvider
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public interface IAdvancedDataGridRendererProvider
+{
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Updates the IAdvancedDataGridRendererDescription instance with
+     *  information about this IAdvancedDataGridRendererProvider.
+     *
+     *  @param data The data item to display.
+     *
+     *  @param dataDepth The depth of the data item in the AdvancedDataGrid control.
+     *
+     *  @param column The column associated with the item.
+     *
+     *  @param description The AdvancedDataGridRendererDescription object
+     *  populated with the renderer and column span information.
+     *
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function describeRendererForItem(data:Object,
+                                       dataDepth:int,
+                                       column:AdvancedDataGridColumn,
+                                       description:AdvancedDataGridRendererDescription):void;
+}
+}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/mx/src/mx/controls/TextInput.as
+++ frameworks/projects/mx/src/mx/controls/TextInput.as
@@ -402,7 +402,7 @@

             return (border && border is IRectangularBorder ?
                     IRectangularBorder(border).borderMetrics.top :
-         			0)  + measureText(t).ascent;
+                    0)  + measureText(t).ascent;
         }

         if (!validateBaselinePosition())
@@ -1732,7 +1732,7 @@
     {
         super.measure();

-  		var bm:EdgeMetrics = border && border is IRectangularBorder ?
+        var bm:EdgeMetrics = border && border is IRectangularBorder ?
                              IRectangularBorder(border).borderMetrics :
                              EdgeMetrics.EMPTY;

@@ -1992,6 +1992,9 @@
      *
      *  @param lineIndex The zero-based index of the line for which to get the metrics.
      *
+     *  @return The object that contains information about the text position
+     *  and measurements for the specified line of text in the control.
+     *
      *  @see flash.text.TextField
      *  @see flash.text.TextLineMetrics
      */