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

--- frameworks/projects/charts/src/mx/charts/renderers/ShadowLineRenderer.as
+++ frameworks/projects/charts/src/mx/charts/renderers/ShadowLineRenderer.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 mx.charts.renderers
 {


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

--- frameworks/projects/mx/src/mx/effects/effectClasses/WipeRightInstance.as
+++ frameworks/projects/mx/src/mx/effects/effectClasses/WipeRightInstance.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.effects.effectClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 3756
Author:   gruehle@adobe.com
Date:     2008-10-20T21:38:18.681299Z

Log Message:
-----------
Adding placeholder icons for the Gumbo components that appear in the FB components panel. Where possible, these are simply copies of the Halo icons. There were some that didn't have a direct Halo counterpart, so the closest match was chosen.

QE Notes: None
Doc Notes: None
Bugs: SDK-17668
Reviewer: -

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextInput.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/HGroup.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVScrollBar.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextBox.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxSpinner.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/VGroup.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/HGroup.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxCheckBox.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextBox.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHSlider.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButton.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxToggleButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxSpinner.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxCheckBox.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVSlider.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxToggleButton.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextArea.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVScrollBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.png</path>

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

--- frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
+++ frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
@@ -23,6 +23,8 @@
 import mx.managers.IFocusManagerContainer;

 [DefaultProperty("dataProvider")]
+
+[IconFile("FxDataContainer.png")]

 /**
  *  The FxDataContainer class is the base class for all skinnable components that have


Transferred from the Adobe Open Source Subversion Repository

Revision: 19487
Author:   hmuller@adobe.com
Date:     2010-12-20T21:28:58.850707Z

Log Message:
-----------
Fix for SDK-28616/A, DataGrid now uses the Spark versions of Sort and SortField.  The fix took more time than expected because s:SortFields must be wired into the style hierarchy so that they inherit the "locale" style.

QE notes: Jody has excluded two failing tests
Doc notes:
Bugs:
Reviewer: Kevin
Tests run: checkin, mustella
Is noteworthy for integration: yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridSortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
@@ -14,7 +14,6 @@
 import flash.events.Event;
 import flash.events.EventDispatcher;

-import mx.collections.SortField;
 import mx.core.ClassFactory;
 import mx.core.IFactory;
 import mx.core.mx_internal;
@@ -23,6 +22,7 @@
 import mx.events.PropertyChangeEvent;
 import mx.utils.ObjectUtil;

+import spark.collections.SortField;
 import spark.components.Grid;
 import spark.components.gridClasses.DefaultGridItemEditor;
 import spark.components.gridClasses.GridSortField;


Transferred from the Adobe Open Source Subversion Repository

Revision: 16801
Author:   klin@adobe.com
Date:     2010-07-02T20:37:29.786242Z

Log Message:
-----------
The following changes apply to Spark DataGrid only.   Code reviews have been deferred until the implementation is closer to completion.

-Update GridDimensions to account for changes to the defaultRowHeight through setting the typical cell height. The defaultRowHeight is now calculated as the max of the typicalCellHeights. Also, added a method "clearTypicalCellWidthsAndHeights()" to allow the typical item to be reset.
-Fixed a bug in GridLayout so that it now sets explicit width columns in updateTypicalCellSizes, while returning only an array of the column indices that are natural size.
-Fixed a bug in GridLayout so it cleans up the visible items when dataProvider == null.
-Grid now clears GridDimensions whenever columns or dataProvider is set. It also clears the typical cell widths and heights when the typical item changes.

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/GridDimensions.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridLayout.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
@@ -356,7 +356,10 @@
      *  the explicit width.  Otherwise an item renderer is created for the column
      *  and the item renderer's preferred bounds become the typical cell size.
      *
-     *  Return the indices of the columns whose typicalCellWidth,Height was updated.
+     *  This method also updates the column width in GridDimensions if the column
+     *  has an explicit width.
+     *
+     *  Return the indices of the columns whose typicalCellWidth was updated.
 	 */
 	private function updateTypicalCellSizes(width:Number, startX:Number, startIndex:int):Vector.<int>
 	{
@@ -378,23 +381,29 @@

             var column:GridColumn = getGridColumn(columnIndex);
             if (!isNaN(column.width))
+            {
                 cellWidth = column.width;
+                // explicit width so set it in GD
+                gridDimensions.setColumnWidth(columnIndex, cellWidth);
+            }

             if (isNaN(cellWidth) || (!isFixedRowHeight && isNaN(cellHeight)))
             {
                 var renderer:IVisualElement = createTypicalItemRenderer(columnIndex);
                 if (isNaN(cellWidth))
+                {
                     cellWidth = renderer.getPreferredBoundsWidth();
+                    gridDimensions.setTypicalCellWidth(columnIndex, cellWidth);
+                    if (indices == null)
+                        indices = new Vector.<int>();
+                    indices.push(columnIndex);
+                }
                 if (isNaN(cellHeight))
+                {
                     cellHeight = renderer.getPreferredBoundsHeight();
-                freeGridElement(renderer);
-
-                gridDimensions.setTypicalCellWidth(columnIndex, cellWidth);
-                gridDimensions.setTypicalCellHeight(columnIndex, cellHeight);
-
-                if (indices == null)
-                    indices = new Vector.<int>();
-                indices.push(columnIndex);
+                    gridDimensions.setTypicalCellHeight(columnIndex, cellHeight);
+                }
+                freeGridElement(renderer);
             }

 			if (columnIndex == startIndex)
@@ -499,8 +508,19 @@
         const startColIndex:int = gridDimensions.getColumnIndexAt(scrollX, scrollY);
         const startRowIndex:int = gridDimensions.getRowIndexAt(scrollX, scrollY);
         const startCellR:Rectangle = gridDimensions.getCellBounds(startRowIndex, startColIndex);
+
+        // when null, no dataProvider exists or grid in a bad state. So, clean up and return.
         if (!startCellR)
+        {
+            // free itemRenderers
+            for each (var r:IVisualElement in visibleItemRenderers)
+                freeItemRenderer(r);
+
+            visibleItemRenderers = new Vector.<IVisualElement>();
+            visibleRowIndices = new Vector.<int>();
+            visibleColumnIndices = new Vector.<int>();
             return;
+        }

         // Compute newVisibleColumns


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

--- frameworks/projects/spark/src/spark/components/mediaClasses/VolumeBar.as
+++ frameworks/projects/spark/src/spark/components/mediaClasses/VolumeBar.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 spark.components.mediaClasses
 {


Revert "FLEX-33879 fix scrolling issue"

Revert "FLEX-33879 fix scrolling issue"

This reverts commit 6a07ef67dce6edca9f7ec72a4b4eb109e345bb1a.

--- frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
+++ frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
@@ -1549,14 +1549,16 @@
             else if (!isNaN(rightOffset))
                 dx = dxr - rightOffset;

+            // scrollR "contains"  elementR in just one dimension
             if ((elementR.left >= scrollR.left) && (elementR.right <= scrollR.right))
                 dx = 0;
-            if ((elementR.bottom <= scrollR.bottom) && (elementR.top >= scrollR.top))
+            else if ((elementR.bottom <= scrollR.bottom) && (elementR.top >= scrollR.top))
                 dy = 0;

+            // elementR "contains" scrollR in just one dimension
             if ((elementR.left <= scrollR.left) && (elementR.right >= scrollR.right))
                 dx = 0;
-            if ((elementR.bottom >= scrollR.bottom) && (elementR.top <= scrollR.top))
+            else if ((elementR.bottom >= scrollR.bottom) && (elementR.top <= scrollR.top))
                 dy = 0;
         }


def: 1721 display recurring overlays after midrolls

git-svn-id: 3f608e5a9a704dd448217c0a64c508e7f145cfa1@84594 6b8eccd3-e8c5-4e7d-8186-e12b5326b719

--- plugins/overlayPlugin/src/com/kaltura/kdpfl/plugin/component/OverlayMediator.as
+++ plugins/overlayPlugin/src/com/kaltura/kdpfl/plugin/component/OverlayMediator.as
@@ -81,7 +81,7 @@
 		override public function listNotificationInterests():Array {
 			var notes:Array = ["mediaReady", "playerUpdatePlayhead", "changeMedia",
 				"playerPlayEnd", "doPlay", "doPause", "showOverlayOnCuePoint",
-				"changeOverlayDisplayDuration" ];
+				"changeOverlayDisplayDuration", "midSequenceComplete" ];
 			return notes;
 		}

@@ -96,7 +96,7 @@

 			// If we are currently playing either pre-roll or post-roll sequences,
 			// there is no need for any overlay logic.
-			if (sequenceProxy["vo"]["isInSequence"]) {
+			if (sequenceProxy["vo"]["isInSequence"] && notification.getName()!="midSequenceComplete") {
 				if (_overlayIsShowing) {
 					overlayMC.lowerBanner();
 				}
@@ -131,8 +131,6 @@
 					break;

 				case "doPlay":
-					if (sequenceProxy["vo"]["isInSequence"])
-						return;
 					if (!firedStart && (viewComponent as overlayPluginCode).currentOverlayConfig) {
 						firedStart = true;
 						fireTrackingEvent("start");
@@ -182,6 +180,12 @@
 						(viewComponent as overlayPluginCode).displayDuration = newDuration;

 					break;
+
+				case "midSequenceComplete" :
+					if (!_overlayIsShowing && _overlayIntervalTimer && !_overlayIntervalTimer.running) {
+						_overlayIntervalTimer.start();
+					}
+					break;
 			}

 		}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/effects/CompositeEffect.as
+++ frameworks/projects/framework/src/mx/effects/CompositeEffect.as
@@ -313,7 +313,7 @@
                     childEffect.filterObject = filterObject;
                 }

-				// TODO This doesn't seem good enough...
+				// FIXME (chaase): This doesn't seem good enough...
 				// possibly redundant, but otherwise we'll be using the
 				// old semantics. Might be a better way (e.g., reuse
 				// the same semantics provider)
@@ -433,7 +433,7 @@
     //
     //--------------------------------------------------------------------------

-    // TODO (chaase): Shouldn't there be a removeChild() method
+    // FIXME (chaase): Shouldn't there be a removeChild() method
     // since there's an addChild() method?

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 19117
Author:   cframpto@adobe.com
Date:     2010-12-07T21:39:57.453177Z

Log Message:
-----------
Add protected createGridSelection() methods to DataGrid and Grid so GridSelection can be subclassed.  Fix metadata on Grid column.  Fix metadata and doc for miterLimit minValue for Stroke classes.

QE notes:
Doc notes:
Bugs: SDK-28734, SDK-28655
Reviewer: Hans (DG), Darrell
Tests run: cyclone which took 2 1/2 hours!
Is noteworthy for integration:

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/framework/src/mx/graphics/SolidColorStroke.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/framework/src/mx/graphics/GradientStroke.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/graphics/Stroke.as</path>

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

--- frameworks/projects/framework/src/mx/graphics/GradientStroke.as
+++ frameworks/projects/framework/src/mx/graphics/GradientStroke.as
@@ -229,13 +229,13 @@
     private var _miterLimit:Number = 3;

     [Bindable("propertyChange")]
-    [Inspectable(category="General", minValue="0.0", maxValue="255.0")]
+    [Inspectable(category="General", minValue="1.0", maxValue="255.0")]

     /**
      *  A number that indicates the limit at which a miter is cut off.
      *
-     *
Valid values range from 0 to 255
-     *  (and values outside of that range are rounded to 0 or 255).

+     *
Valid values range from 1 to 255
+     *  (and values outside of that range are rounded to 1 or 255).

      *
      *
This value is only used if the jointStyle property
      *  is set to JointStyle.MITER.


Transferred from the Adobe Open Source Subversion Repository

Revision: 7502
Author:   jszeto@adobe.com
Date:     2009-06-03T00:34:08.950238Z

Log Message:
-----------
Fixed RadialGradientStroke rotation bug

http://bugs.adobe.com/jira/browse/SDK-18372 -  RadialGradientStroke transform does not rotate

Copied the logic from RadialGradient to RadialGradientStroke. The createGradientBox function doesn’t do what we want because it rotates first and then scales. We want to scale first and then rotate.

Added constant for the width and height of the untransformed gradient to all of the gradient classes.

QE Notes: Test RadialGradientStroke rotation
Doc Notes: None
Bugs: SDK-18372
Reviewer: Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradient.as</path>

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

--- frameworks/projects/framework/src/mx/graphics/RadialGradient.as
+++ frameworks/projects/framework/src/mx/graphics/RadialGradient.as
@@ -289,14 +289,14 @@

 		if (!compoundTransform)
 		{
-	        commonMatrix.scale (w / 1638.4, h / 1638.4);
+	        commonMatrix.scale (w / GRADIENT_DIMENSION, h / GRADIENT_DIMENSION);
 	        commonMatrix.rotate(!isNaN(mx_internal::_angle) ?
 											mx_internal::_angle : mx_internal::rotationInRadians);
 	        commonMatrix.translate(regX, regY);
 		}
 	 	else
 	 	{
-	 		commonMatrix.scale (rc.width / 1638.4, rc.height / 1638.4);
+	 		commonMatrix.scale (rc.width / GRADIENT_DIMENSION, rc.height / GRADIENT_DIMENSION);
 	 		commonMatrix.translate(rc.left, rc.top);
 	 		commonMatrix.concat(compoundTransform.matrix);
 	 	}


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

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

 package mx.accessibility
 {


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 8487
Author:   smgilson@adobe.com
Date:     2009-07-09T18:57:21.985536Z

Log Message:
-----------
final checkin to update the namespace in ASDoc MXML syntax descriptions for Spark components

QE Notes: None
Doc Notes: None
Bugs: -
Checkintests: passed

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/EaseInOutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Fade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/BlurFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/DisplacementMapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ShaderFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/DropShadowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/CallAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientBevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransitionShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Graphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Wipe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ConvolutionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Keyframe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientGlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/SetAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/BevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientFilter.as</path>

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

--- frameworks/projects/spark/src/spark/filters/DropShadowFilter.as
+++ frameworks/projects/spark/src/spark/filters/DropShadowFilter.as
@@ -40,7 +40,7 @@
  * turned off if the resulting image exceeds the maximum dimensions.

  *
  *  @mxml
- *
The <DropShadowFilter> tag inherits all of the tag
+ *
The <s:DropShadowFilter> tag inherits all of the tag
  *  attributes of its superclass and adds the following tag attributes:

  *
  *


added example usage with no args

added example usage with no args

--- src/ASConfigC.as
+++ src/ASConfigC.as
@@ -140,7 +140,8 @@
 			this.printVersion();
 			console.info("Syntax:   asconfigc [options]");
 			console.info();
-			console.info("Examples: asconfigc -p .");
+			console.info("Examples: asconfigc");
+			console.info("          asconfigc -p .");
 			console.info("          asconfigc -p path/to/custom.json");
 			console.info();
 			console.info("Options:");


Widened allowable constin range

Widened allowable constin range

--- src/Modules/ConstIn.as
+++ src/Modules/ConstIn.as
@@ -17,7 +17,7 @@
 		public var initialValue:int;
 		public var value:NumericValue;
 		public function ConstIn(X:int, Y:int, InitialValue:int = 0) {
-			configuration = new Configuration(new Range( -16, 15, InitialValue));
+			configuration = new Configuration(new Range( -32, 31, InitialValue));
 			setByConfig();
 			super(X, Y, "In", Module.CAT_MISC, 0, 1, 0);
 			abbrev = "In";


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

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


Add spine data support.

Add spine data support.

--- src/utils/formatSpineData.as
+++ src/utils/formatSpineData.as
@@ -52,6 +52,8 @@
 const A_SCALE_Y:String = "scaleY";
 const A_WIDTH:String = "width";
 const A_HEIGHT:String = "height";
+const A_INHERIT_SCALE:String = "inheritScale";
+const A_INHERIT_ROTATION:String = "inheritRotation";

 const V_STEPPED:String = "stepped";

@@ -118,6 +120,40 @@
 				{ConstValues.A_SCALE_Y}={formatNumber(boneObject[A_SCALE_Y])}
 			/>
 		</{ConstValues.BONE}>;
+
+	var inheritRatation:String = boneObject[A_INHERIT_ROTATION] as String;
+	switch (inheritRatation)
+	{
+		case "0":
+		case "false":
+		case "no":
+			boneXML.@[ConstValues.A_FIXED_ROTATION] = true;
+			break;
+		default:
+			boneXML.@[ConstValues.A_FIXED_ROTATION] = false;
+			break;
+	}
+
+	var inheritScale:String = boneObject[A_INHERIT_SCALE] as String;
+	if (inheritScale)
+	{
+		switch (inheritScale)
+		{
+			case "1":
+			case "true":
+			case "yes":
+				boneXML.@[ConstValues.A_SCALE_MODE] = 0;
+				break;
+			default:
+				boneXML.@[ConstValues.A_SCALE_MODE] = 1;
+				break;
+		}
+	}
+	else
+	{
+		boneXML.@[ConstValues.A_SCALE_MODE] = 0;
+	}
+
 	var parent:String = boneObject[A_PARENT];
 	if(parent)
 	{


Queue now sorts by priority and handles switching between SORT and FIFO mode properly.

--- src/org/puremvc/as3/multicore/utilities/pipes/plumbing/Queue.as
+++ src/org/puremvc/as3/multicore/utilities/pipes/plumbing/Queue.as
@@ -44,10 +44,12 @@
 		 * return to normal enqueing operation.

 		 *

 		 * The SORT message type tells the Queue to sort all
-		 * subsequent incoming messages by priority. This
-		 * behavior continues even after a FLUSH, and can be
-		 * turned off by the FIFO message, which is the default
-		 * behavior for enqueue/dequeue.

+		 * subsequent incoming messages by priority. If there
+		 * are unflushed messages in the queue, they will not be
+		 * sorted unless a new message is sent before the next FLUSH.
+		 * Sorting-by-priority behavior continues even after a FLUSH,
+		 * and can be turned off by sending a FIFO message, which is
+		 * the default behavior for enqueue/dequeue.

 		 */
 		override public function write( message:IPipeMessage ):Boolean
 		{
@@ -84,15 +86,19 @@
 		protected function store( message:IPipeMessage ):void
 		{
 			messages.push( message );
+			if (mode == QueueControlMessage.SORT ) messages.sort( sortMessagesByPriority );
 		}

 		/**
 		 * Sort the Messages by priority.
 		 */
-		protected function sortMessagesByPriority():void
+		protected function sortMessagesByPriority(msgA:IPipeMessage, msgB:IPipeMessage):Number
 		{
-			//TBD: Sort the messages by priority.
+			var num:Number = 0;
+			if ( msgA.getPriority() < msgB.getPriority() ) num = -1;
+			if ( msgA.getPriority() > msgB.getPriority() ) num = 1;
+			return num;
 		}

 		/**


some children are not display objects.  Might be an fx:Declaration

--- frameworks/as/projects/FlexJSUI/src/org/apache/flex/utils/MXMLDataInterpreter.as
+++ frameworks/as/projects/FlexJSUI/src/org/apache/flex/utils/MXMLDataInterpreter.as
@@ -18,6 +18,8 @@
 ////////////////////////////////////////////////////////////////////////////////
 package org.apache.flex.utils
 {
+
+import flash.display.DisplayObject;

 import org.apache.flex.core.IBead;
 import org.apache.flex.core.IContainer;
@@ -266,7 +268,7 @@
         {
             comp.setMXMLDescriptor(document, children);
         }
-        if (parent)
+        if (parent && comp is DisplayObject)
         {
             parent.addElement(comp);
             dispatchBeadsAdded = true;


FLEX-34006 fixed RTE

FLEX-34006 fixed RTE

--- frameworks/projects/mobilecomponents/src/spark/transitions/ViewTransitionBase.as
+++ frameworks/projects/mobilecomponents/src/spark/transitions/ViewTransitionBase.as
@@ -105,7 +105,7 @@
  *
A validation pass is performed on the pending
  *        view, and the captureEndValues() method is called.
  *        At this time, the transition captures any properties or
- *        bitmaps representations from the pending view.

+ *        bitmaps representations from the pending view.

  *
The prepareForPlay() method is then called,
  *        which allows the transition to perform any further preparations,
  *        such as preparing a Spark effects sequence,
@@ -749,7 +749,7 @@
     {
         // One final check to determine if we will be required to perform a full
         // (consolidated) transition.
-        if (!consolidatedTransition)
+        if (!consolidatedTransition && actionBar)
         {
             consolidatedTransition =
                 ((actionBar.height != cachedActionBarHeight) ||


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 20894
Author:   egeorgie@adobe.com
Date:     2011-03-17T04:44:58.082676Z

Log Message:
-----------
Merging hero_private revision 20892 into trunk

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LinearLayoutVector.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="dir" action="M">/private/flex/sdk/trunk</path>

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

--- frameworks/projects/spark/src/spark/layouts/supportClasses/LinearLayoutVector.as
+++ frameworks/projects/spark/src/spark/layouts/supportClasses/LinearLayoutVector.as
@@ -826,7 +826,7 @@
             var srcStart:int = srcEnd - copyCount + 1;

             copyInterval(dstStart, srcStart, copyCount);
-            dstStart -= copyCount;
+            srcEnd -= copyCount;
             dstEnd = intervalStart - 1;

             // Fill in with default NaN values after the copy


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

--- frameworks/projects/advancedgrids/src/mx/olap/aggregators/MinAggregator.as
+++ frameworks/projects/advancedgrids/src/mx/olap/aggregators/MinAggregator.as
@@ -0,0 +1,134 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+
+package mx.olap.aggregators
+{
+import mx.olap.IOLAPCustomAggregator;
+
+/**
+ *  The MinAggregator class  implements the minimum aggregator.
+ *  The minimum aggregator returns the minimum value of all measures.
+ *  Flex uses this aggregator when you set the OLAPMeasure.aggregator property
+ *  to "MIN".
+ *
+ *  @see mx.olap.OLAPMeasure
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class MinAggregator implements IOLAPCustomAggregator
+{
+	//--------------------------------------------------------------------------
+    //
+    // Methods
+    //
+    //--------------------------------------------------------------------------
+
+    // min fucntions
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function computeBegin(dataField:String):Object
+    {
+        var newObj:Object = {};
+        newObj[dataField] = Number.MAX_VALUE;
+        return newObj;
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function computeLoop(data:Object, dataField:String, rowData:Object):void
+    {
+    	var value:Number = rowData[dataField];
+    	if (typeof(value) == "xml")
+			value = Number(value.toString());
+
+        if (!data.hasOwnProperty(dataField))
+            data[dataField] = value;
+        else
+            data[dataField] =  data[dataField] < value ? data[dataField] : value;
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function computeEnd(data:Object, dataField:String):Number
+    {
+        return data[dataField];
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function computeObjectBegin(value:Object):Object
+    {
+        var newObj:Object = {};
+        for (var p:String in value)
+        {
+            newObj[p] = value[p];
+        }
+        return newObj;
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function computeObjectLoop(oldValue:Object, newValue:Object):void
+    {
+        for (var p:String in newValue)
+        {
+            oldValue[p] = oldValue[p] < newValue[p] ? oldValue[p] : newValue[p];
+        }
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function computeObjectEnd(oldValue:Object, dataField:String):Number
+    {
+        return oldValue[dataField];
+    }
+}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 3057
Author:   jimurphy@adobe.com
Date:     2008-09-02T15:18:38.819662Z

Log Message:
-----------
Merged 3.0.x revisions [2966,2969,2995,3004,3018-3019,3023,3029-3030,3046,3049,3052] -> 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="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/ModalWindowRequest.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/framework/src/mx/managers/dragClasses/DragProxy.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/InterDragManagerEvent.as" copyfrom-rev="3052" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/InterDragManagerEvent.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/PopUpRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerGlobals.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SWFBridgeEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/EventProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/SliderThumb.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/containers/DividedBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SizeRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/InterManagerRequest.as" copyfrom-rev="3052" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/InterManagerRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FocusRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/wsdl/WSDL.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.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/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/dividedBoxClasses/BoxDivider.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/ToolTipManagerImpl.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SandboxRootDragEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxMouseEvent.as" copyfrom-rev="3052" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SandboxMouseEvent.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/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SandboxRootRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/EventUtil.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SandboxRootMouseEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SWFBridgeRequest.as</path>

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

--- frameworks/projects/mx/src/mx/controls/listClasses/TileListItemRenderer.as
+++ frameworks/projects/mx/src/mx/controls/listClasses/TileListItemRenderer.as
@@ -537,7 +537,7 @@
         // Calculate global position of label.
         var pt:Point = new Point(0, 0);
         pt = label.localToGlobal(pt);
-        pt = stage.globalToLocal(pt);
+        pt = toolTip.parent.globalToLocal(pt);

         toolTip.move(pt.x, pt.y + (height - toolTip.height) / 2);


Transferred from the Adobe Open Source Subversion Repository

Revision: 5220
Author:   chaase@adobe.com
Date:     2009-03-10T15:55:06.496289Z

Log Message:
-----------
New Transform effects to handle correctly doing Move, Rotate, and Scale operations simultaneously. Also, added keyframe capabilities to new effects system (necessary for the transform effects, shouldn't affect operation of other effects). Fixed various issues with effects/transition infrastructure as necessary. Added transform utility functions to UIComponent, AdvancedLayoutFeatures, and GraphicElement.

QE Notes: This will break existing new effects tests due to changes in core Animation and AnimationEvent classes, QE is disabling them for now and will add them back in as changes are made.
Doc Notes: None
Bugs:
Reviewer: Ely (transform utilities) and Jason (the rest)
tests: checkintests, Mustella tests/Effects, tests/ListDataEffects

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/TransformOffsets.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/CompositeEffect.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/KeyFrame.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/mxml-2009-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/PropertyChanges.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimate3D.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/effectClasses</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateColorInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimate.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxRotate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxRotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxRotateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxMoveInstance.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/effectClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/events/AnimationEvent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate3D.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/AnimationProperty.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove3D.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/MoveInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/MoveInstance.as
@@ -145,50 +145,6 @@
      */
     override public function play():void
     {
-		// The user may have supplied some combination of xFrom, xTo, and xBy.
-		// If either xFrom or xTo is not explicitly defined, calculate its
-		// value based on the other two values.
-        if (isNaN(xFrom))
-        {
-            if (!isNaN(xTo) && !isNaN(xBy))
-                xFrom = xTo - xBy;
-        }
-		if (isNaN(xTo))
-		{
-			if (isNaN(xBy) &&
-				propertyChanges &&
-				propertyChanges.end["x"] !== undefined)
-			{
-				xTo = propertyChanges.end["x"];
-			}
-			else
-			{
-				if (!isNaN(xBy) && !isNaN(xFrom))
-				    xTo= xFrom + xBy;
-			}
-		}
-
-		// Ditto for yFrom, yTo, and yBy.
-        if (isNaN(yFrom))
-        {
-            if (!isNaN(yTo) && !isNaN(yBy))
-                yFrom = yTo - yBy;
-        }
-		if (isNaN(yTo))
-		{
-			if (isNaN(yBy) &&
-				propertyChanges &&
-				propertyChanges.end["y"] !== undefined)
-			{
-				yTo = propertyChanges.end["y"];
-			}
-			else
-			{
-				if (!isNaN(yBy) && !isNaN(yFrom))
-				    yTo = yFrom + yBy;
-			}
-		}
-
         animationProperties =
             [new AnimationProperty("x", xFrom, xTo, xBy),
              new AnimationProperty("y", yFrom, yTo, yBy)];


Set initial stream to be played to first entry in M3U8 playlist

According to HLS especficiation we should play initially the first item
in the m3u8 playlist:
"The first entry in the variant playlist is played when a user joins
the stream and is used as part of a test to determine which stream is
most appropriate. The order of the other entries is irrelevant."
from:
https://developer.apple.com/library/mac/documentation/networkinginternet
/conceptual/streamingmediaguide/UsingHTTPLiveStreaming/UsingHTTPLiveStre
aming.html#//apple_ref/doc/uid/TP40008332-CH102-SW18

--- HLSPlugin/src/org/denivip/osmf/elements/m3u8Classes/M3U8PlaylistParser.as
+++ HLSPlugin/src/org/denivip/osmf/elements/m3u8Classes/M3U8PlaylistParser.as
@@ -52,6 +52,7 @@
 			var tempStreamingRes:StreamingURLResource = null;
 			var tempDynamicRes:DynamicStreamingResource = null;
 			var alternateStreams:Vector.<StreamingItem> = null;
+			var initialStreamName:String = '';
 			for(var i:int = 1; i < lines.length; i++){
 				var line:String = String(lines[i]).replace(/^([\s|\t|\n]+)?(.*)([\s|\t|\n]+)?$/gm, "$2");

@@ -98,7 +99,10 @@

 					var name:String = lines[i+1];
 					streamItems.push(new DynamicStreamingItem(name, bw, width, height));
-
+					// store stream name of first stream encountered
+					if(initialStreamName == ''){
+						initialStreamName = name;
+					}
 					DynamicStreamingResource(result).streamItems = streamItems;
 				}

@@ -144,9 +148,14 @@
 							tempStreamingRes.drmContentData
 						);
 					}
-				}else if(baseResource.getMetadataValue(MetadataNamespaces.RESOURCE_INITIAL_INDEX) != null){
-					var initialIndex:int = baseResource.getMetadataValue(MetadataNamespaces.RESOURCE_INITIAL_INDEX) as int;
-					tempDynamicRes.initialIndex = initialIndex < 0 ? 0 : (initialIndex >= tempDynamicRes.streamItems.length) ? (tempDynamicRes.streamItems.length-1) : initialIndex;
+				}else{
+					if(baseResource.getMetadataValue(MetadataNamespaces.RESOURCE_INITIAL_INDEX) != null){
+						var initialIndex:int = baseResource.getMetadataValue(MetadataNamespaces.RESOURCE_INITIAL_INDEX) as int;
+						tempDynamicRes.initialIndex = initialIndex < 0 ? 0 : (initialIndex >= tempDynamicRes.streamItems.length) ? (tempDynamicRes.streamItems.length-1) : initialIndex;
+					}else{
+						// set initialIndex to index of first stream name encountered
+						tempDynamicRes.initialIndex = tempDynamicRes.indexFromName(initialStreamName);
+					}
 				}
 			}


conversation links and scripts loading reversed

--- flexEditor/src/org/arisgames/editor/view/ItemEditorCharacterView.as
+++ flexEditor/src/org/arisgames/editor/view/ItemEditorCharacterView.as
@@ -261,8 +261,8 @@
 				var c:Conversation = new Conversation();
 				c.conversationId = obj.result.data.list.getItemAt(j).conversation_id;
 				c.nodeId = obj.result.data.list.getItemAt(j).node_id;
-				c.linkText = obj.result.data.list.getItemAt(j).text;
-				c.scriptText = obj.result.data.list.getItemAt(j).conversation_text;
+				c.linkText = obj.result.data.list.getItemAt(j).conversation_text;
+				c.scriptText = obj.result.data.list.getItemAt(j).text;
 				conversations.addItem(c);
 			}
 			trace("Loaded '" + conversations.length + "' Conversation(s).");


Transferred from the Adobe Open Source Subversion Repository

Revision: 10606
Author:   egeorgie@adobe.com
Date:     2009-09-25T23:01:50.455888Z

Log Message:
-----------
White space cleanup.

Doc notes: None
Bugs: None
Reviewer: Evtim
Tests run: build
Is noteworthy for integration: Nope

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/TransformOffsets.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/AddItems.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/OnDemandEventDispatcher.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/Block.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ToggleButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/CompoundTransform.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/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/LayoutElementUIComponentUtils.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ArrayList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/BasicLayout.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/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LinearLayoutVector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Path.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/development/eclipse/flex/sparkTest/src/testWheel.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/SparkSkin.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/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as
+++ frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as
@@ -172,7 +172,7 @@
     {
         var canUseNative:Boolean = false;
         var version:Array = Capabilities.version.split(' ')[1].split(',');
-        if(parseFloat(version[0]) > 10)
+        if (parseFloat(version[0]) > 10)
             canUseNative  = true;
         else if (parseFloat(version[1]) > 0)
             canUseNative  = true;
@@ -180,7 +180,7 @@
             canUseNative  = true;
         else if (parseFloat(version[3]) >= 87)
             canUseNative  = true;
-        if(canUseNative)
+        if (canUseNative)
             transformVector = nativeTransformVector;
         else
             transformVector = pre10_0_22_87_transformVector;
@@ -546,13 +546,13 @@
      */
     public function set postLayoutTransformOffsets(value:TransformOffsets):void
     {
-        if(_postLayoutTransformOffsets != null)
+        if (_postLayoutTransformOffsets != null)
         {
             _postLayoutTransformOffsets.removeEventListener(Event.CHANGE,postLayoutTransformOffsetsChangedHandler);
             _postLayoutTransformOffsets.owner = null;
         }
         _postLayoutTransformOffsets = value;
-        if(_postLayoutTransformOffsets != null)
+        if (_postLayoutTransformOffsets != null)
         {
             _postLayoutTransformOffsets.addEventListener(Event.CHANGE,postLayoutTransformOffsetsChangedHandler);
             _postLayoutTransformOffsets.owner = this;
@@ -652,16 +652,16 @@
      */
     public function get computedMatrix():Matrix
     {
-        if(_flags & COMPUTED_MATRIX_VALID)
+        if (_flags & COMPUTED_MATRIX_VALID)
             return _computedMatrix;

-        if(!postLayoutTransformOffsets && stretchX == 1 && stretchY == 1)
+        if (!postLayoutTransformOffsets && stretchX == 1 && stretchY == 1)
         {
             return layout.matrix;
         }

         var m:Matrix = _computedMatrix;
-        if(m == null)
+        if (m == null)
             m = _computedMatrix = new Matrix();
         else
             m.identity();
@@ -701,17 +701,17 @@
      */
     public function get computedMatrix3D():Matrix3D
     {
-        if(_flags & COMPUTED_MATRIX3D_VALID)
+        if (_flags & COMPUTED_MATRIX3D_VALID)
             return _computedMatrix3D;

-        if(!postLayoutTransformOffsets && stretchX == 1 && stretchY == 1)
+        if (!postLayoutTransformOffsets && stretchX == 1 && stretchY == 1)
         {
             return layout.matrix3D;
         }

         var m:Matrix3D = _computedMatrix3D;
-        if(m == null)
+        if (m == null)
             m = _computedMatrix3D = new Matrix3D();
         else
             m.identity();
@@ -783,11 +783,11 @@
         reVR.y = ry * RADIANS_PER_DEGREES;
         reVR.z = rz * RADIANS_PER_DEGREES;
         m.recompose(reV);
-        if(sx == 0)
+        if (sx == 0)
             sx = ZERO_REPLACEMENT_IN_3D;
-        if(sy == 0)
+        if (sy == 0)
             sy = ZERO_REPLACEMENT_IN_3D;
-        if(sz == 0)
+        if (sz == 0)
             sz = ZERO_REPLACEMENT_IN_3D;
         m.prependScale(sx,sy,sz);
         m.prependTranslation(-tx,-ty,-tz);
@@ -880,7 +880,7 @@
             if (targetPosition != null)
             {
                 var adjustedLayoutCenterV:Vector3D = transformVector(layoutMatrix3D,transformCenter);
-                if(adjustedLayoutCenterV.equals(targetPosition) == false)
+                if (adjustedLayoutCenterV.equals(targetPosition) == false)
                 {
                     layout.translateBy(targetPosition.x - adjustedLayoutCenterV.x,
                         targetPosition.y - adjustedLayoutCenterV.y,
@@ -964,7 +964,7 @@
         var needOffsets:Boolean = _postLayoutTransformOffsets == null &&
             (postLayoutScale != null || postLayoutRotation != null ||
                 postLayoutTransformCenterPosition != null);
-        if(needOffsets)
+        if (needOffsets)
             _postLayoutTransformOffsets = new TransformOffsets();

         // now if they gave us a non-trivial transform center, and didn't tell us where they want it,
@@ -974,7 +974,7 @@
         {
             transformPointToParent(is3D, transformCenter, staticTranslation,
                 staticOffsetTranslation);
-            if(postLayoutTransformCenterPosition == null && transformCenterPosition != null)
+            if (postLayoutTransformCenterPosition == null && transformCenterPosition != null)
             {
                 staticOffsetTranslation.x = transformCenterPosition.x + staticOffsetTranslation.x - staticTranslation.x;
                 staticOffsetTranslation.y = transformCenterPosition.y + staticOffsetTranslation.y - staticTranslation.y;


Transferred from the Adobe Open Source Subversion Repository

Revision: 4234
Author:   shodgson@adobe.com
Date:     2008-12-04T20:16:34.754873Z

Log Message:
-----------
Related bug: LCDS-496
QA: Yes
Doc: No

Details:
* Fix in PollingChannel to suppress repeat disconnect/fault event dispatch from a polling channel that has disconnected while a poll is outstanding.

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/PollingChannel.as

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

--- frameworks/projects/rpc/src/mx/messaging/channels/PollingChannel.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/PollingChannel.as
@@ -617,6 +617,7 @@
 import flash.utils.Timer;

 import mx.core.mx_internal;
+import mx.events.PropertyChangeEvent;
 import mx.logging.Log;
 import mx.logging.ILogger;
 import mx.messaging.MessageAgent;
@@ -660,6 +661,10 @@
     {
         super(agent, msg, channel);
         _log = log;
+
+        // Track channel connected state.
+        // If the channel disconnects while this poll is outstanding, suppress result/fault handling.
+        channel.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE, channelPropertyChangeHandler);
     }

 	//--------------------------------------------------------------------------
@@ -679,6 +684,11 @@
      */
     private var resourceManager:IResourceManager =
 									ResourceManager.getInstance();
+
+	/**
+	 *  @private
+	 */
+    private var suppressHandlers:Boolean;

     //--------------------------------------------------------------------------
     //
@@ -697,6 +707,17 @@
     override protected function resultHandler(msg:IMessage):void
     {
         PollingChannel(channel).pollOutstanding = false;
+
+        if (suppressHandlers)
+        {
+            if (Log.isDebug())
+            {
+                _log.debug("'{0}' channel ignoring response for poll request preceeding most recent disconnect.\n", channel.id);
+            }
+
+            doPoll(); // If the channel has reconnected we may need to start up the polling loop again.
+            return;
+        }

         if ((msg is CommandMessage))
         {
@@ -745,41 +766,14 @@
         	return;
        	}

-       	// Only set up the next poll if the channel is still connected.
-       	// Subscription invalidation commands pushed by the server can cause the channel to disconnect
-       	// and it shouldn't issue another poll request in this case.
-       	// Also, if the channel is piggybacking but not polling on an interval we don't want to
-       	// schedule the next poll.
-       	var pollingChannel:PollingChannel = PollingChannel(channel);
-       	if (pollingChannel.connected && pollingChannel._shouldPoll)
+       	if (msg.headers[CommandMessage.POLL_WAIT_HEADER] != null)
        	{
-           	var adaptivePollWait:int = 0;
-           	if (msg.headers[CommandMessage.POLL_WAIT_HEADER] != null)
-                adaptivePollWait = msg.headers[CommandMessage.POLL_WAIT_HEADER];
-
-           	// An adaptive polling value of 0 indicates that the channel should use its default
-           	// polling interval.
-           	if (adaptivePollWait == 0)
-           	{
-               	if (pollingChannel.internalPollingInterval == 0)
-                {
-                    // No need for a Timer at all if we're polling immediately.
-                    pollingChannel.poll();
-               	}
-               	else if (!pollingChannel.timerRunning)
-               	{
-               	    // Poll at the base rate for this Channel; no adaptive poll wait is defined.
-               	    pollingChannel._timer.delay = pollingChannel._pollingInterval;
-                   	pollingChannel._timer.start();
-                }
-            }
-            else
-            {
-                // Use adaptive poll wait.
-                pollingChannel._timer.delay = adaptivePollWait;
-                pollingChannel._timer.start();
-            }
-        }
+       	    doPoll(msg.headers[CommandMessage.POLL_WAIT_HEADER]);
+       	}
+       	else
+       	{
+       	    doPoll();
+       	}
     }

     /**
@@ -790,6 +784,16 @@
      */
     override protected function statusHandler(msg:IMessage):void
     {
+        if (suppressHandlers)
+        {
+            if (Log.isDebug())
+            {
+                _log.debug("'{0}' channel ignoring response for poll request preceeding most recent disconnect.\n", channel.id);
+            }
+
+            return;
+        }
+
         var pollingChannel:PollingChannel = PollingChannel(channel);
         pollingChannel.stopPolling(); // Shut down all polling.
         var errMsg:ErrorMessage = msg as ErrorMessage;
@@ -809,4 +813,60 @@
         	pollingChannel.pollFailed(false);
         }
     }
+
+    /**
+     *  @private
+     *  Watch for 'connected' property change and in the event of a disconnect,
+     *  suppress poll result/fault handling.
+     *
+     *  @param event A PropertyChangeEvent dispatched by the underlying channel.
+     */
+    private function channelPropertyChangeHandler(event:PropertyChangeEvent):void
+    {
+        if (event.property == "connected" && !event.newValue)
+        {
+            suppressHandlers = true;
+        }
+    }
+
+    /**
+     *  @private
+     *  Helper method to run or schedule the next poll for the underlying channel.
+     *
+     *  @param adaptivePollWait The optional wait time before the next poll should be issued.
+     */
+    private function doPoll(adaptivePollWait:int=0):void
+    {
+        var pollingChannel:PollingChannel = PollingChannel(channel);
+        // Only set up the next poll if the channel is still connected.
+        // Subscription invalidation commands pushed by the server can cause the channel to disconnect
+        // and it shouldn't issue another poll request in this case.
+        // Also, if the channel is piggybacking but not polling on an interval we don't want to
+        // schedule the next poll.
+        if (pollingChannel.connected && pollingChannel._shouldPoll)
+        {
+            // An adaptive polling value of 0 indicates that the channel should use its default
+            // polling interval.
+            if (adaptivePollWait == 0)
+            {
+                if (pollingChannel.internalPollingInterval == 0)
+                {
+                    // No need for a Timer at all if we're polling immediately.
+                    pollingChannel.poll();
+                }
+                else if (!pollingChannel.timerRunning)
+                {
+                    // Poll at the base rate for this Channel; no adaptive poll wait is defined.
+                    pollingChannel._timer.delay = pollingChannel._pollingInterval;
+                    pollingChannel._timer.start();
+                }
+            }
+            else
+            {
+                // Use adaptive poll wait.
+                pollingChannel._timer.delay = adaptivePollWait;
+                pollingChannel._timer.start();
+            }
+        }
+    }
 }


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

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

 package mx.charts.events
 {


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

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

 package mx.skins.halo
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 19060
Author:   harishs@adobe.com
Date:     2010-12-06T17:34:15.020965Z

Log Message:
-----------
QE notes: Did checkintests, performed full cyclone run. There were 19 failures in mustella report. QE Judy (Mingzhou Gao and Joann Chung Anderson) confirmed that they are known problems.
Doc notes: As part of Sort and Sortfield updates, the asdoc comments were updated to reflect globalization changes.
Bugs: Fixed sdk-28493, 28691,28494, 28345, 28320, 28387, 28314, 28145
Reviewer: Gordon Smith
Tests run: cyclone, checkintests, bugs testfiles
Is noteworthy for integration: Sort and Sortfield updated with globalization support using the new spark globalization sort classes.
Number and CurrencyValidators support national digits and unicode minus symbols.
groupingPattern property dropped for Number and Currency Validators.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/BasicTests-config.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/SortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/NumberValidatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ICollectionView.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ISort.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/spark-manifest.xml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ISortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/BasicTests.mxml</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="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/collections/Sort.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/NumberValidator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/olap/OLAPCube.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/CurrencyValidator.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/collections/SortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/bundles/en_US/validators.properties</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/collections</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/treeClasses/HierarchicalCollectionView.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ListCollectionView.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/GlobalizationUtils.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/olap/DefaultCubeImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/SortTestScript.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionView.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/Sort.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ModifiedCollectionView.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/SortTests.mxml</path>

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

--- frameworks/projects/advancedgrids/src/mx/olap/DefaultCubeImpl.as
+++ frameworks/projects/advancedgrids/src/mx/olap/DefaultCubeImpl.as
@@ -19,6 +19,8 @@
 import mx.collections.CursorBookmark;
 import mx.collections.IList;
 import mx.collections.IViewCursor;
+import mx.collections.ISort;
+import mx.collections.ISortField;
 import mx.collections.Sort;
 import mx.collections.SortField;
 import mx.core.mx_internal;
@@ -139,10 +141,10 @@
     private var iterator:IViewCursor = null;

 	//saved sort value
-    private var oldSort:Sort;
+    private var oldSort:ISort;

     //sort object used to gather members of dimensions
-    private var newSort:Sort;
+    private var newSort:ISort;

 	//Cube builder instance
     private var nodeBuilder:CubeNodeBuilder;
@@ -372,7 +374,7 @@
                 newSort = new Sort;
                 var fields:Array = [];

-                var field:SortField ;
+                var field:ISortField ;
                 for each (level in levels)
                 {
                 	if (level.attribute && level.attribute.userDataFunction)
@@ -1159,12 +1161,12 @@
         }

         // sort the data as it makes decision about completion of handling
-        var newSort:Sort = new Sort;
+        var newSort:ISort = new Sort;
         var fields:Array = [];

         for each (var level:OLAPLevel in levels)
         {
-            var field:SortField = new SortField(level.dataField);
+            var field:ISortField = new SortField(level.dataField);
             fields.push(field);
         }