Transferred from the Adobe Open Source Subversion Repository

Revision: 12733
Author:   smgilson@adobe.com
Date:     2009-12-09T18:19:48.608649Z

Log Message:
-----------
ASDoc l10n prep

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/treeClasses/MXTreeItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDeferredContentOwner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/dataGridClasses/FTEDataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IRepeater.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/listClasses/MXItemRenderer.as</path>

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

--- frameworks/projects/spark/src/mx/controls/listClasses/MXItemRenderer.as
+++ frameworks/projects/spark/src/mx/controls/listClasses/MXItemRenderer.as
@@ -25,13 +25,13 @@
  *  The MXItemRenderer class is the base class for Spark item renderers
  *  and item editors used in MX list-based controls.
  *  This class lets you use the Spark item renderer architecture with the
- *  MX DataGrid and Tree controls.
+ *  MX DataGrid, MX AdvancedDataGrid, and MX Tree controls.
  *
  *
Note: Many MX controls support item renderers or item editors.
- *  These controls include the MX List, Menu, MenuBar, and TileLIst controls.
- *  However, only the MX DataGrid and Tree classes support the MXItemRenderer class.
+ *  However, only the MX DataGrid, MX AdvancedDataGrid, and MX Tree controls
+ *  support the MXItemRenderer class.
  *  Therefore, continue to use MX item renderers and item editors with
- *  MX controls other than DataGrid and Tree.

+ *  MX controls other than DataGrid, AdvancedDataGrid, and Tree.

  *
  *  @mxml
  *


Transferred from the Adobe Open Source Subversion Repository

Revision: 20742
Author:   smgilson@adobe.com
Date:     2011-03-09T21:46:11.224420Z

Log Message:
-----------
Merge 20732 - asdoc updates

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MovieClipSWFLoader.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/formatters/SwitchSymbolFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mx/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/State.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/IEffect.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mx/src/mx/effects/effectClasses/UnconstrainItemActionInstance.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mx/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as</path>
<path kind="dir" action="M">/private/flex/sdk/trunk</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/CompositeEffectInstance.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/CompositeEffect.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mx/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/MXFTETextInput.as</path>

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

--- frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as
+++ frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as
@@ -583,6 +583,7 @@
     //--------------------------------------------------------------------------

     /**
+     *  @private
      *  Any time a display object gets added, let's see if this is a child
      *  that belongs to use and needs to be initialized.  Also if it is
      *  the contentHolder, let's stuff the content down into it.
@@ -624,6 +625,7 @@
     }

     /**
+     *  @private
      *  Any time a display object gets removed, let's see if this child
      *  is the contentHolder.  If it is, let's null out our reference to
      *  _contentHolder.


Transferred from the Adobe Open Source Subversion Repository

Revision: 12351
Author:   aharui@adobe.com
Date:     2009-12-02T06:03:42.119681Z

Log Message:
-----------
Allow changes to column width to resize the DataGrid.

QE Notes: One DG mustella test will fail.
Doc Notes: None
Bugs: SDK-15546
Reviewer: Corey
API Change: No
Is noteworthy for integration: No
tests: checkintests mustella/components/DataGrid

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as

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

--- frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridHeader.as
+++ frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridHeader.as
@@ -200,6 +200,12 @@
         cachedPaddingBottom = getStyle("paddingBottom");
         cachedPaddingTop = getStyle("paddingTop");
         measuredHeight = cachedHeaderHeight;
+
+        var ww:Number = 0;
+        var n:int = visibleColumns ? visibleColumns.length : 0;
+        for (var i:int = 0; i < n; i++)
+            ww += visibleColumns[i].preferredWidth;
+        measuredWidth = ww;
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 5115
Author:   rfrishbe@adobe.com
Date:     2009-02-27T21:27:41.731597Z

Log Message:
-----------
Adding SpriteVisualElement, a light-weight, Sprited-based implementation of IVisualElement.  This will be used for some FXG compiler optimizations.

Added setter for includeInLayout into IVisualElement so that DataGroup's virtualization code can use this, rather than cast it to a UIComponent.  I also removed an unused method in DataGroup: _removeChild.  We needed this before to remove children on a previously parented DataGroup, but now that we do the cleanup pro-actively, this is no longer needed.

Also a few ASDoc cleanups in IVisualElement, ILayoutElement, and FxDataContainer.

QE Notes: -
Doc Notes: -
Bugs: -
Reviewer: Chet, Evtim
tests: checkintests, mustella list, datagroup, fxdatacontainer, buttonbar.  Some mustella were failing, but I think it's just a mac thing.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/Flex4Classes.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/SpriteVisualElement.as</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/framework/src/mx/core/ILayoutElement.as</path>

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

--- frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
+++ frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
@@ -692,6 +692,9 @@
         }
     }

+    /**
+     * @private
+     */
     override protected function partRemoved(partName:String, instance:Object):void
     {
         if (instance == dataGroup)


Transferred from the Adobe Open Source Subversion Repository

Revision: 20802
Author:   smgilson@adobe.com
Date:     2011-03-11T17:44:16.573353Z

Log Message:
-----------
Merge 20799 - ASDoc updates

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as</path>
<path kind="dir" action="M">/private/flex/sdk/trunk</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/Preloader.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
@@ -1110,12 +1110,17 @@
      *  are given keyboard focus when the user starts editing the item
      *  renderer.
      *
-     *
When you set this property to true,
-     *  the cell becomes editable when the user selects it.
-     *  Because the cell is editable, the DataGrid displays
-     *  the editorIndicator skin part,
-     *  which hides the selectionIndicator skin part.
-     *  Therefore, the user does not see an indicator for cell selection.

+     *
When you set this property to true, the cell becomes
+     *  editable when the user clicks inside of it.
+     *  Because the cell is editable, the DataGrid displays the editorIndicator
+     *  skin part, which appears on top of the selectionIndicator skin part.
+     *  Therefore, the user does not see an indicator for cell selection until the
+     *  edit session is complete.
+     *  You can create a custom skin to remove or modify the editorIndicator
+     *  skin part so that the selectionIndicator skin part appears.
+     *  For example, you can set alpha property of the editorIndicator
+     *  to allow the selectionIndicator to show through, or change
+     *  the size of the editorIndicator so that it is smaller than the cell.

      *
      *
By setting this property to true, you take responsibility for
      *  validating and saving input collected by the item renderer.


Transferred from the Adobe Open Source Subversion Repository

Revision: 17525
Author:   klin@adobe.com
Date:     2010-08-30T23:27:42.197654Z

Log Message:
-----------
Fix RTE in GridLayout. Removed some old code removing rowSeparators when the dataProvider changed. I also added ExcludeClass metadata for GridLayout.

QE notes: No
Doc notes: No
Bugs: SDK-27656
Reviewer: Hans
Tests run: checkintests, DataGrid
Is noteworthy for integration: No

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridLayout.as

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
@@ -11,8 +11,6 @@

 package spark.components.supportClasses
 {
-import flash.events.Event;
-import flash.geom.Point;
 import flash.geom.Rectangle;
 import flash.utils.Dictionary;
 import flash.utils.getTimer;
@@ -20,12 +18,9 @@
 import mx.collections.IList;
 import mx.core.IFactory;
 import mx.core.IInvalidating;
-import mx.core.ILayoutElement;
 import mx.core.IUIComponent;
 import mx.core.IVisualElement;
 import mx.core.IVisualElementContainer;
-import mx.core.UIComponent;
-import mx.core.UIComponentGlobals;
 import mx.core.mx_internal;
 import mx.events.CollectionEvent;
 import mx.events.CollectionEventKind;
@@ -39,11 +34,15 @@
 import spark.components.IGridItemRenderer;
 import spark.components.IGridRowBackground;
 import spark.layouts.supportClasses.LayoutBase;
-import spark.primitives.supportClasses.GraphicElement;
 import spark.skins.spark.DefaultGridItemRenderer;

 use namespace mx_internal;

+[ExcludeClass]
+
+/**
+ *  TBD
+ */
 public class GridLayout extends LayoutBase
 {
     include "../../core/Version.as";
@@ -1587,21 +1586,6 @@
             freeGridElements(visibleRowBackgrounds.splice(firstVisibleOffset, removeCount));
             freeGridElements(visibleRowSeparators.splice(firstVisibleOffset, removeCount));

-            // If the last row is now visible, then the last element of visibleRowSeparators
-            // should be freed and replaced by null.
-
-            const maxVisibleOffset:int = visibleRowIndices.length - 1;
-            if (maxVisibleOffset >= 0)
-            {
-                const lastRowIndex:int = gridDimensions.rowCount - 1;
-                const lastRowVisible:Boolean = visibleRowIndices[maxVisibleOffset] == lastRowIndex;
-                if (lastRowVisible)
-                {
-                    freeGridElement(visibleRowSeparators[maxVisibleOffset]);
-                    visibleRowSeparators[maxVisibleOffset] = null;
-                }
-            }
-
             const visibleColCount:int = visibleColumnIndices.length;
             const firstRendererOffset:int = firstVisibleOffset * visibleColCount;
             freeItemRenderers(visibleItemRenderers.splice(firstRendererOffset, removeCount * visibleColCount));


Transferred from the Adobe Open Source Subversion Repository

Revision: 22354
Author:   eday@adobe.com
Date:     2011-09-01T15:28:02.561353Z

Log Message:
-----------
Four fixes for item snapping / paging

1. Don't do "rethrow" in paging mode; was allowing single throw to go multiple pages (SDK-31348).
2. Snap the position correctly on orientation change; previously was wrongly only checking max position (SDK-31147).
3. In basic paging mode (i.e. no snapping) make sure scroll position is clipped to min/max range (SDK-31365).
4. In layout code that enumerates elements, allow for the possibility that none have been added yet. (SDK-31372)

QE notes:
Doc notes:
Bugs: SDK-31348, SDK-31147, SDK-31365, SDK-31372
Reviewer: Jason Szeto, Glenn
Tests run: Cyclone Assist, Mustella Mobile List testcases
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/supportClasses/TouchScrollHelper.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
+++ frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
@@ -1632,33 +1632,38 @@
 		for (i = 0; i < num; i++)
 		{
 			rect = getElementBounds(i);
-
-			var elementPoint:Point = null;
-			switch (elementComparePoint)
-			{
-				case "topLeft":
-					elementPoint = rect.topLeft;
-					break;
-				case "bottomRight":
-					elementPoint = rect.bottomRight;
-					break;
-				case "bottomLeft":
-					elementPoint = new Point(rect.left, rect.bottom);
-					break;
-				case "topRight":
-					elementPoint = new Point(rect.right, rect.top);
-					break;
-				case "center":
-					elementPoint = new Point(rect.left + rect.width/2, rect.top + rect.height/2);
-					break;
-			}
-
-			dist = Point.distance(position, elementPoint);
-			if (dist < minDistance)
-			{
-				minDistance = dist;
-				minDistanceElement = i;
-			}
+
+            // Allow for rect being null, as numElements may be
+            // non-zero when the actual items haven't been added yet.
+            if (rect != null)
+            {
+                var elementPoint:Point = null;
+                switch (elementComparePoint)
+                {
+                    case "topLeft":
+                        elementPoint = rect.topLeft;
+                        break;
+                    case "bottomRight":
+                        elementPoint = rect.bottomRight;
+                        break;
+                    case "bottomLeft":
+                        elementPoint = new Point(rect.left, rect.bottom);
+                        break;
+                    case "topRight":
+                        elementPoint = new Point(rect.right, rect.top);
+                        break;
+                    case "center":
+                        elementPoint = new Point(rect.left + rect.width/2, rect.top + rect.height/2);
+                        break;
+                }
+
+                dist = Point.distance(position, elementPoint);
+                if (dist < minDistance)
+                {
+                    minDistance = dist;
+                    minDistanceElement = i;
+                }
+            }
 		}
 		return minDistanceElement;
 	}


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

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


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

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


Transferred from the Adobe Open Source Subversion Repository

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

--- frameworks/projects/rpc/src/mx/rpc/soap/types/DataSetType.as
+++ frameworks/projects/rpc/src/mx/rpc/soap/types/DataSetType.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 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.rpc.soap.types
 {


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

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

 package spark.components
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 6306
Author:   egeorgie@adobe.com
Date:     2009-04-28T01:17:42.359155Z

Log Message:
-----------
Layout PARB changes - rename "layout" package to "layouts"

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer:
tests: checkintests

Modified Paths:
--------------
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/BasicLayout.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/BasicLayout.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LayoutElementHelper.as" copyfrom-rev="6301" action="A">/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/components/Group.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/RowAlign.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/RowAlign.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/Block.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/Block.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/VerticalAlign.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/VerticalAlign.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LinearLayoutVector.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LinearLayoutVector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBarHorizontalLayout.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/HorizontalLayout.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/HorizontalLayout.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses</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/components/HGroup.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/TileLayout.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RichEditableText2.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts</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/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollerLayout.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LayoutBase.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/HorizontalAlign.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/HorizontalAlign.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/flex4/src/spark/components/VGroup.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/VerticalLayout.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/ColumnAlign.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/ColumnAlign.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/TileOrientation.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/TileOrientation.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/VerticalAlign.as
+++ frameworks/projects/spark/src/spark/layouts/VerticalAlign.as
@@ -9,7 +9,7 @@
 //
 ////////////////////////////////////////////////////////////////////////////////

-package spark.layout
+package spark.layouts
 {

 /**


Updated documentation in SequenceBindingWaiter.as.

--- FlexUnit4/src/org/fluint/sequence/SequenceBindingWaiter.as
+++ FlexUnit4/src/org/fluint/sequence/SequenceBindingWaiter.as
@@ -1,149 +1,149 @@
-/**
- * Copyright (c) 2007 Digital Primates IT Consulting Group
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
- * copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following
- * conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- **/
-package org.fluint.sequence {
-	import flash.events.IEventDispatcher;
-
-	import mx.binding.utils.ChangeWatcher;
-	import mx.events.PropertyChangeEvent;
-
-	import org.flexunit.async.AsyncLocator;
-	import org.flexunit.internals.runners.statements.IAsyncHandlingStatement;
-
-	/**
-	 * The sequence setter class tells the TestCase instance to pend until
-	 * the eventName occurs or the timeout expires.
-	 */
-	public class SequenceBindingWaiter implements ISequencePend {
-        /**
-         * @private
-         */
-		protected var _target:IEventDispatcher;
-
-        /**
-         * @private
-         */
-		protected var _eventName:String;
-
-        /**
-         * @private
-         */
-		protected var _propertyName:String;
-
-        /**
-         * @private
-         */
-		protected var _timeout:int;
-
-		protected var _cw:ChangeWatcher;
-
-        /**
-         * @private
-         */
-		protected var _timeoutHandler:Function;
-
-		public function get changeWatcher():ChangeWatcher {
-			return _cw;
-		}
-
-		/**
-		 * The event dispatcher where the properties/value pairs defined
-		 * in the props object will be set.
-		 */
-		public function get target():IEventDispatcher {
-			return _target;
-		}
-
-		/**
-		 * Name of the event that will be broadcast by the target.
-		 *
-		 * When this event is broadcast, the TestCase sequence
-		 * code moves onto the next step in the sequence.
-		 */
-		public function get eventName():String {
-			return _eventName;
-		}
-
-		/**
-		 * Name of the property that will change.
-		 *
-		 * When this property changes, the TestCase sequence
-		 * code moves onto the next step in the sequence.
-		 */
-		public function get propertyName():String {
-			return _propertyName;
-		}
-
-		/**
-		 * The number of milliseconds this class should wait for its handleEvent
-		 * method to be called, before firing a 'timerExpired' event.
-		 */
-		public function get timeout():int {
-			return _timeout;
-		}
-
-		/**
-		 * A reference to the event handler that should be called if the event named in eventName
-		 * does not fire before the timeout is reached. The handler is expected to have the follow signature:
-		 *
-		 * public function handleTimeoutEvent( passThroughData:Object ):void {
-		 * }
-		 *
-		 * The parameter is a generic object that can optionally be provided by the developer when starting
-		 * a new asynchronous operation.
-		 */
-		public function get timeoutHandler():Function {
-			return _timeoutHandler;
-		}
-
-		/**
-		 * Called by the SequenceRunner to cause the setup of event listeners
-		 **/
-		public function setupListeners( testCase:*, sequence:SequenceRunner ):void {
-			if ( ChangeWatcher.canWatch( target, propertyName ) ) {
-				var asyncHandlingStatement:IAsyncHandlingStatement = AsyncLocator.getCallableForTest( testCase );
-				_cw = ChangeWatcher.watch( target, propertyName, asyncHandlingStatement.asyncHandler( asyncHandlingStatement.handleBindableNextSequence, timeout, sequence, timeoutHandler ) );
-			} else {
-				throw new Error( "Attempting to watch un-watchable property" );
-			}
-			//target.addEventListener( PropertyChangeEvent.PROPERTY_CHANGE, testCase.asyncHandler( testCase.handleBindableNextSequence, timeout, sequence, timeoutHandler ), false, 0, true );
-		}
-		/**
-		 * Constructor.
-		 *
-		 * @param target The target where the property exists.
-		 * @param propertyName The name of the property that will change via data binding.
-		 * @param timeout The number of milliseconds to wait before calling the timoutHandler.
-		 * @param timeoutHandler Called if the timout is reached before the event is broadcast.
-		 */
-		public function SequenceBindingWaiter( target:IEventDispatcher, propertyName:String, timeout:int, timeoutHandler : Function = null  ) {
-			_target = target;
-			_propertyName = propertyName;
-			_eventName = PropertyChangeEvent.PROPERTY_CHANGE;
-
-			_timeoutHandler = timeoutHandler;
-			_timeout = timeout;
-		}
-	}
+/**
+ * Copyright (c) 2007 Digital Primates IT Consulting Group
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use,
+ * copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following
+ * conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ **/
+package org.fluint.sequence {
+	import flash.events.IEventDispatcher;
+
+	import mx.binding.utils.ChangeWatcher;
+	import mx.events.PropertyChangeEvent;
+
+	import org.flexunit.async.AsyncLocator;
+	import org.flexunit.internals.runners.statements.IAsyncHandlingStatement;
+
+	/**
+	 * The sequence setter class tells the TestCase instance to pend until
+	 * the eventName occurs or the timeout expires.
+	 */
+	public class SequenceBindingWaiter implements ISequencePend {
+        /**
+         * @private
+         */
+		protected var _target:IEventDispatcher;
+
+        /**
+         * @private
+         */
+		protected var _eventName:String;
+
+        /**
+         * @private
+         */
+		protected var _propertyName:String;
+
+        /**
+         * @private
+         */
+		protected var _timeout:int;
+
+		protected var _cw:ChangeWatcher;
+
+        /**
+         * @private
+         */
+		protected var _timeoutHandler:Function;
+
+		public function get changeWatcher():ChangeWatcher {
+			return _cw;
+		}
+
+		/**
+		 * The event dispatcher where the properties/value pairs defined
+		 * in the props object will be set.
+		 */
+		public function get target():IEventDispatcher {
+			return _target;
+		}
+
+		/**
+		 * Name of the event that will be broadcast by the target.
+		 *
+		 * When this event is broadcast, the TestCase sequence
+		 * code moves onto the next step in the sequence.
+		 */
+		public function get eventName():String {
+			return _eventName;
+		}
+
+		/**
+		 * Name of the property that will change.
+		 *
+		 * When this property changes, the TestCase sequence
+		 * code moves onto the next step in the sequence.
+		 */
+		public function get propertyName():String {
+			return _propertyName;
+		}
+
+		/**
+		 * The number of milliseconds this class should wait for its handleEvent
+		 * method to be called, before firing a 'timerExpired' event.
+		 */
+		public function get timeout():int {
+			return _timeout;
+		}
+
+		/**
+		 * A reference to the event handler that should be called if the event named in eventName
+		 * does not fire before the timeout is reached. The handler is expected to have the follow signature:
+		 *
+		 * public function handleTimeoutEvent( passThroughData:Object ):void {
+		 * }
+		 *
+		 * The parameter is a generic object that can optionally be provided by the developer when starting
+		 * a new asynchronous operation.
+		 */
+		public function get timeoutHandler():Function {
+			return _timeoutHandler;
+		}
+
+		/**
+		 * Called by the SequenceRunner to cause the setup of event listeners
+		 **/
+		public function setupListeners( testCase:*, sequence:SequenceRunner ):void {
+			if ( ChangeWatcher.canWatch( target, propertyName ) ) {
+				var asyncHandlingStatement:IAsyncHandlingStatement = AsyncLocator.getCallableForTest( testCase );
+				_cw = ChangeWatcher.watch( target, propertyName, asyncHandlingStatement.asyncHandler( asyncHandlingStatement.handleBindableNextSequence, timeout, sequence, timeoutHandler ) );
+			} else {
+				throw new Error( "Attempting to watch un-watchable property" );
+			}
+			//target.addEventListener( PropertyChangeEvent.PROPERTY_CHANGE, testCase.asyncHandler( testCase.handleBindableNextSequence, timeout, sequence, timeoutHandler ), false, 0, true );
+		}
+		/**
+		 * Constructor.
+		 *
+		 * @param target The target where the property exists.
+		 * @param propertyName The name of the property that will change via data binding.
+		 * @param timeout The number of milliseconds to wait before calling the timoutHandler.
+		 * @param timeoutHandler Called if the timout is reached before the event is broadcast.
+		 */
+		public function SequenceBindingWaiter( target:IEventDispatcher, propertyName:String, timeout:int, timeoutHandler : Function = null  ) {
+			_target = target;
+			_propertyName = propertyName;
+			_eventName = PropertyChangeEvent.PROPERTY_CHANGE;
+
+			_timeoutHandler = timeoutHandler;
+			_timeout = timeout;
+		}
+	}
 }


Tests for ClassLevelCopyableSubclass.

Tests for ClassLevelCopyableSubclass.

--- dolly-framework/src/test/actionscript/dolly/CopierTest.as
+++ dolly-framework/src/test/actionscript/dolly/CopierTest.as
@@ -2,6 +2,7 @@
 import dolly.core.dolly_internal;
 import dolly.data.ClassLevelCopyable;
 import dolly.data.ClassLevelCopyableCloneable;
+import dolly.data.ClassLevelCopyableSubclass;
 import dolly.data.PropertyLevelCopyable;
 import dolly.data.PropertyLevelCopyableCloneable;

@@ -17,6 +18,9 @@

 	private var classLevelCopyable:ClassLevelCopyable;
 	private var classLevelCopyableType:Type;
+
+	private var classLevelCopyableSubclass:ClassLevelCopyableSubclass;
+	private var classLevelCopyableSubclassType:Type;

 	private var classLevelCopyableCloneable:ClassLevelCopyableCloneable;
 	private var classLevelCopyableCloneableType:Type;
@@ -36,6 +40,16 @@
 		classLevelCopyable.writableField = "value 4";
 		classLevelCopyableType = Type.forInstance(classLevelCopyable);

+		classLevelCopyableSubclass = new ClassLevelCopyableSubclass();
+		classLevelCopyableSubclass.property1 = "value 1";
+		classLevelCopyableSubclass.property2 = "value 2";
+		classLevelCopyableSubclass.property3 = "value 3";
+		classLevelCopyableSubclass.property4 = "value4";
+		classLevelCopyableSubclass.property5 = "value 5";
+		classLevelCopyableSubclass.writableField = "value 6";
+		classLevelCopyableSubclass.writableField2 = "value 7";
+		classLevelCopyableSubclassType = Type.forInstance(classLevelCopyableSubclass);
+
 		classLevelCopyableCloneable = new ClassLevelCopyableCloneable();
 		classLevelCopyableCloneable.property1 = "value 1";
 		classLevelCopyableCloneable.property2 = "value 2";
@@ -63,6 +77,9 @@
 		classLevelCopyable = null;
 		classLevelCopyableType = null;

+		classLevelCopyableSubclass = null;
+		classLevelCopyableSubclassType = null;
+
 		classLevelCopyableCloneable = null;
 		classLevelCopyableCloneableType = null;

@@ -85,6 +102,20 @@
 	}

 	[Test]
+	public function testGetCopyableFieldsForTypeClassLevelCopyableSubclass():void {
+		const copyableFields:Vector.<Field> = Copier.getCopyableFieldsForType(classLevelCopyableSubclassType);
+		assertNotNull(copyableFields);
+		assertEquals(7, copyableFields.length);
+		assertNotNull(copyableFields[0]);
+		assertNotNull(copyableFields[1]);
+		assertNotNull(copyableFields[2]);
+		assertNotNull(copyableFields[3]);
+		assertNotNull(copyableFields[4]);
+		assertNotNull(copyableFields[5]);
+		assertNotNull(copyableFields[6]);
+	}
+
+	[Test]
 	public function testGetCopyableFieldsForTypeClassLevelCopyableCloneable():void {
 		const copyableFields:Vector.<Field> = Copier.getCopyableFieldsForType(classLevelCopyableCloneableType);
 		assertNotNull(copyableFields);
@@ -130,6 +161,26 @@
 	}

 	[Test]
+	public function testCopyClassLevelCopyableSubclass():void {
+		const copy:ClassLevelCopyableSubclass = Copier.copy(classLevelCopyableSubclass);
+		assertNotNull(copy);
+		assertNotNull(copy.property1);
+		assertEquals(copy.property1, classLevelCopyableSubclass.property1);
+		assertNotNull(copy.property2);
+		assertEquals(copy.property2, classLevelCopyableSubclass.property2);
+		assertNotNull(copy.property3);
+		assertEquals(copy.property3, classLevelCopyableSubclass.property3);
+		assertNotNull(copy.property4);
+		assertEquals(copy.property4, classLevelCopyableSubclass.property4);
+		assertNotNull(copy.property5);
+		assertEquals(copy.property5, classLevelCopyableSubclass.property5);
+		assertNotNull(copy.writableField);
+		assertEquals(copy.writableField, classLevelCopyableSubclass.writableField);
+		assertNotNull(copy.writableField2);
+		assertEquals(copy.writableField2, classLevelCopyableSubclass.writableField2);
+	}
+
+	[Test]
 	public function testCopyClassLevelCopyableCloneable():void {
 		const copy:ClassLevelCopyableCloneable = Copier.copy(classLevelCopyableCloneable);
 		assertNotNull(copy);


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

--- frameworks/projects/charts/src/mx/charts/chartClasses/DualStyleObject.as
+++ frameworks/projects/charts/src/mx/charts/chartClasses/DualStyleObject.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  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.
+//  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: 22206
Author:   jszeto@adobe.com
Date:     2011-08-25T05:05:31.305350Z

Log Message:
-----------
SpinnerList and BorderContainer bug fixes

SDK-31257 - DateSpinner doesn't show today's date with a certain application

Added a resize listener to SpinnerList

SDK-31335 - SpinnerList with NumericDataProvider doesn't spin

Copy enabled logic from DateSpinnerItemRenderer

SDK-31171 - BorderContainerSkin's minHeight is too big

Changed minimum dimensions from 112 to 30

QE notes: none
Doc notes: none
Bugs: SDK-31257, SDK-31335, SDK-31171
Reviewer: Tom K, Chiedo
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/SpinnerList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/skins/spark/BorderContainerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/layouts/VerticalSpinnerLayout.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/SpinnerList.as
+++ frameworks/projects/mobilecomponents/src/spark/components/SpinnerList.as
@@ -20,6 +20,7 @@
 import mx.events.CollectionEventKind;
 import mx.events.EffectEvent;
 import mx.events.FlexEvent;
+import mx.events.ResizeEvent;
 import mx.events.SandboxMouseEvent;
 import mx.events.TouchInteractionEvent;
 import mx.states.OverrideBase;
@@ -48,7 +49,6 @@

 TODO
 	Prevent the changing event from getting dispatched
-	Support interrupting animateToSelectedIndex (listen for touchStart and kill the animation)
 */

 /**
@@ -73,12 +73,13 @@
 		super();

 		addEventListener(TouchInteractionEvent.TOUCH_INTERACTION_END, touchInteractionEnd);
+        addEventListener(ResizeEvent.RESIZE, resizeHandler);

 		super.requireSelection = true;

 		useVirtualLayout = true;
 	}
-
+
 	//--------------------------------------------------------------------------
 	//
 	//  Variables
@@ -252,20 +253,6 @@
 		return result;
 	}

-	override mx_internal function measureSizes():Boolean
-	{
-		var changeSize:Boolean = super.measureSizes();
-
-		if (changeSize && !scrollToSelection)
-		{
-			// If the size has changed, then recenter the selectedItem
-			scrollToSelection = true;
-			addEventListener(FlexEvent.UPDATE_COMPLETE, updateCompleteHandler);
-		}
-
-		return changeSize;
-	}
-
 	override protected function partAdded(partName:String, instance:Object):void
 	{
 		super.partAdded(partName, instance);
@@ -339,6 +326,15 @@
 	//
 	//--------------------------------------------------------------------------

+    protected function resizeHandler(event:ResizeEvent):void
+    {
+        if ((event.oldWidth != width || event.oldHeight != height) && !scrollToSelection)
+        {
+            scrollToSelection = true;
+            addEventListener(FlexEvent.UPDATE_COMPLETE, updateCompleteHandler);
+        }
+    }
+
 	private function touchInteractionEnd(event:TouchInteractionEvent):void
 	{
 		// Commit the center item as the selectedItem when the scroll has completed
@@ -440,7 +436,5 @@
 		forceNoWrapElements = spinnerLayout.forceNoWrapElements;
 		wrapElementsChanged = true;
 	}
-
-
 }
 }


type PhongMaterial as Object in order to accept uint or Vector4

--- src/aerys/minko/render/material/phong/PhongMaterial.as
+++ src/aerys/minko/render/material/phong/PhongMaterial.as
@@ -70,12 +70,12 @@
 			setProperty(PhongProperties.DIFFUSE_MULTIPLIER, value);
 		}

-		public function get specular() : Vector4
-		{
-			return getProperty(PhongProperties.SPECULAR) as Vector4;
-		}
-
-		public function set specular(value : Vector4) : void
+		public function get specular() : Object
+		{
+			return getProperty(PhongProperties.SPECULAR) as Object;
+		}
+
+		public function set specular(value : Object) : void
 		{
 			setProperty(PhongProperties.SPECULAR, value);
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 3983
Author:   hmuller@adobe.com
Date:     2008-10-31T19:10:19.937648Z

Log Message:
-----------
Fixed 17820, 17834, various small improvements to the viewport et al ASDoc.

QE Notes: viewport and scroller mustella tests pass
Doc Notes: None
Bugs: sdk-17820, sdk-17834
Reviewer:

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/IViewport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutBase.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
+++ frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
@@ -63,11 +63,24 @@

     private var _target:GroupBase;

+    /**
+     *  The GroupBase whose layout we're responsible for.
+     *
+     *  The target is responsible for delegating the updateDisplayList()
+     *  and measure() methods to its layout.
+     *
+     *  @default null;
+     *  @see #updateDisplayList
+     *  @see #measure
+     */
     public function get target():GroupBase
     {
         return _target;
     }

+    /**
+     * @private
+     */
     public function set target(value:GroupBase):void
     {
         _target = value;


Transferred from the Adobe Open Source Subversion Repository

Revision: 10876
Author:   egeorgie@adobe.com
Date:     2009-10-05T22:20:07.936303Z

Log Message:
-----------
Add support for drag-and-drop from Spark List to Spark List.

- List drop related handlers
- LayoutBase APIs
- VerticalLayout DND support

Notes:
- ListSkin is not final.
- Drag-scrolling not yet implemented.

QE notes: Only VerticalLayout works, HorizontalLayout still not implemented.
Doc notes: None
Bugs: None
Reviewer: Deepa
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</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/layouts/VerticalLayout.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/DropLocation.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
+++ frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
@@ -11,17 +11,23 @@

 package spark.layouts.supportClasses
 {
-
+import flash.display.DisplayObject;
+import flash.events.Event;
 import flash.geom.Point;
-import flash.events.Event;
 import flash.geom.Rectangle;
-import flash.ui.Keyboard;
+
+import mx.core.ILayoutElement;
+import mx.core.IVisualElement;
+import mx.core.UIComponentGlobals;
+import mx.core.mx_internal;
+import mx.events.DragEvent;
+import mx.managers.ILayoutManagerClient;
+import mx.utils.OnDemandEventDispatcher;

 import spark.components.supportClasses.GroupBase;
 import spark.core.NavigationUnit;
-import mx.core.ILayoutElement;
-import mx.utils.OnDemandEventDispatcher;
-import spark.core.NavigationUnit;
+
+use namespace mx_internal;

 /**
  *  The LayoutBase class defines the base class for all Spark layouts.
@@ -421,6 +427,65 @@
             g.invalidateSize();
     }

+    //----------------------------------
+    //  dropIndicator
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage property for the drop indicator
+     */
+    private var _dropIndicator:DisplayObject;
+
+    /**
+     *  The DisplayObject this layout uses for
+     *  drop indicator during drag and drop operation.
+     *
+     *  Typically developers don't set this property directly,
+     *  but instead rely on the List's default DragEvent
+     *  handlers.
+     *
+     *
The List sets this property in response to a
+     *  DragEvent.DRAG_ENTER event.
+     *  The List initializes this property with an
+     *  instance of its dropIndicator skin part.
+     *  The List clears this property in response to a
+     *  DragEvent.DRAG_EXIT event.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function get dropIndicator():DisplayObject
+    {
+        return _dropIndicator;
+    }
+
+    /**
+     *  @private
+     */
+    public function set dropIndicator(value:DisplayObject):void
+    {
+        if (_dropIndicator)
+            // FIXME (egeorgie): use the overlay APIs instead.
+            target.$removeChild(_dropIndicator);
+
+        _dropIndicator = value;
+
+        if (_dropIndicator)
+        {
+            _dropIndicator.visible = false;
+            // FIXME (egeorgie): use the overlay APIs instead.
+            target.addingChild(_dropIndicator);
+            target.$addChild(_dropIndicator);
+            target.childAdded(_dropIndicator);
+
+            if (_dropIndicator is ILayoutManagerClient)
+                UIComponentGlobals.layoutManager.validateClient(ILayoutManagerClient(_dropIndicator), true);
+        }
+    }
+
     //--------------------------------------------------------------------------
     //
     //  Methods
@@ -1233,79 +1298,240 @@
         return Math.min(maxDelta, Math.max(minDelta, delta));
     }

-    /**
-     *  Computes the verticalScrollPosition and
-     *  horizontalScrollPosition deltas needed to
-     *  scroll the element at the specified index into view.
-     *
-     *
This method attempts to minimize the change to verticalScrollPosition
-     *  and horizontalScrollPosition.

-     *
-     *
If clipAndEnableScrolling is true
-     *  and the element at the specified index is not
-     *  entirely visible relative to the target's scroll rectangle, then
-     *  return the delta to be added to horizontalScrollPosition and
-     *  verticalScrollPosition that scrolls the element completely
-     *  within the scroll rectangle's bounds.

-     *
-     *  @param index The index of the element to be scrolled into view.
-     *
-     *  @return A Point that contains offsets to horizontalScrollPosition
-     *      and verticalScrollPosition that will scroll the specified
-     *      element into view, or null if no change is needed.
-     *      If the specified element is partially visible and larger than the
-     *      scroll rectangle, meaning it is already the only element visible, then
-     *      return null.
-     *      If the specified index is invalid, or target is null, then
-     *      return null.
-     *      If the element at the specified index is null or includeInLayout
-     *      false, then return null.
-     *
-     *  @see #clipAndEnableScrolling
-     *  @see #verticalScrollPosition
-     *  @see #horizontalScrollPosition
-     *  @see #udpdateScrollRect()
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-     public function getScrollPositionDeltaToElement(index:int):Point
-     {
-         var elementR:Rectangle = getElementBounds(index);
-         if (!elementR)
+   /**
+    *  Computes the verticalScrollPosition and
+    *  horizontalScrollPosition deltas needed to
+    *  scroll the element at the specified index into view.
+    *
+    *
This method attempts to minimize the change to verticalScrollPosition
+    *  and horizontalScrollPosition.

+    *
+    *
If clipAndEnableScrolling is true
+    *  and the element at the specified index is not
+    *  entirely visible relative to the target's scroll rectangle, then
+    *  return the delta to be added to horizontalScrollPosition and
+    *  verticalScrollPosition that scrolls the element completely
+    *  within the scroll rectangle's bounds.

+    *
+    *  @param index The index of the element to be scrolled into view.
+    *
+    *  @return A Point that contains offsets to horizontalScrollPosition
+    *      and verticalScrollPosition that will scroll the specified
+    *      element into view, or null if no change is needed.
+    *      If the specified element is partially visible and larger than the
+    *      scroll rectangle, meaning it is already the only element visible, then
+    *      return null.
+    *      If the specified index is invalid, or target is null, then
+    *      return null.
+    *      If the element at the specified index is null or includeInLayout
+    *      false, then return null.
+    *
+    *  @see #clipAndEnableScrolling
+    *  @see #verticalScrollPosition
+    *  @see #horizontalScrollPosition
+    *  @see #udpdateScrollRect()
+    *
+    *  @langversion 3.0
+    *  @playerversion Flash 10
+    *  @playerversion AIR 1.5
+    *  @productversion Flex 4
+    */
+    public function getScrollPositionDeltaToElement(index:int):Point
+    {
+        var elementR:Rectangle = getElementBounds(index);
+        if (!elementR)
+           return null;
+
+        var scrollR:Rectangle = getScrollRect();
+        if (!scrollR || !target.clipAndEnableScrolling)
+           return null;
+
+        if (scrollR.containsRect(elementR) || elementR.containsRect(scrollR))
+           return null;
+
+        var dxl:Number = elementR.left - scrollR.left;     // left justify element
+        var dxr:Number = elementR.right - scrollR.right;   // right justify element
+        var dyt:Number = elementR.top - scrollR.top;       // top justify element
+        var dyb:Number = elementR.bottom - scrollR.bottom; // bottom justify element
+
+        // minimize the scroll
+        var dx:Number = (Math.abs(dxl) < Math.abs(dxr)) ? dxl : dxr;
+        var dy:Number = (Math.abs(dyt) < Math.abs(dyb)) ? dyt : dyb;
+
+        // scrollR "contains"  elementR in just one dimension
+        if ((elementR.left >= scrollR.left) && (elementR.right <= scrollR.right))
+           dx = 0;
+        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;
+        else if ((elementR.bottom >= scrollR.bottom) && (elementR.top <= scrollR.top))
+            dy = 0;
+
+        return new Point(dx, dy);
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Drop methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Calculates the LayoutDragEventDropLocation for
+     *  the specified dragEvent.
+     *
+     *  @param dragEvent The dragEvent dispatched by the DragManager.
+     *
+     *  @return Returns the drop location for this event, or null if the drop
+     *  operation is not available.
+     *
+     *  @see #showDropIndicator
+     *  @see #hideDropIndicator
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function calculateDropLocation(dragEvent:DragEvent):DropLocation
+    {
+        // Find the drop index
+        var dropPoint:Point = target.globalToLocal(new Point(dragEvent.stageX, dragEvent.stageY));
+        var dropIndex:int = calculateDropIndex(dropPoint.x, dropPoint.y);
+        if (dropIndex == -1)
             return null;
-
-         var scrollR:Rectangle = getScrollRect();
-         if (!scrollR || !target.clipAndEnableScrolling)
-            return null;
-
-         if (scrollR.containsRect(elementR) || elementR.containsRect(scrollR))
-            return null;
+
+        // Create and fill the drop location info
+        var dropLocation:DropLocation = new DropLocation();
+        dropLocation.dragEvent = dragEvent;
+        dropLocation.dropPoint = dropPoint;
+        dropLocation.dropIndex = dropIndex;
+        return dropLocation;
+    }
+
+    /**
+     *  Sizes, positions and parents the dropIndicator based on the specified
+     *  dropLocation.
+     *
+     *  Starts/stops drag-scrolling when necessary conditions are met.
+     *
+     *  @param dropLocation
Specifies the location where to show the indicator.
+     *  Drop location is obtained through the computeDropLocation() method.

+     *
+     *  @see #dropIndicator
+     *  @see #hideDropIndicator
+     *  @see #getDragEventContext
+     *  @see #dropIndicator
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function showDropIndicator(dropLocation:DropLocation):void
+    {
+        if (!_dropIndicator)
+            return;
+
+        // Make the drop indicator invisible, we'll make it visible
+        // only if successfully sized and positioned
+        _dropIndicator.visible = false;
+
+        var bounds:Rectangle = calculateDropIndicatorBounds(dropLocation);
+        if (!bounds)
+            return;
+
+        if (_dropIndicator is ILayoutElement)
+        {
+            var element:ILayoutElement = ILayoutElement(_dropIndicator);
+            element.setLayoutBoundsSize(bounds.width, bounds.height);
+            element.setLayoutBoundsPosition(bounds.x, bounds.y);
+        }
+        else
+        {
+            _dropIndicator.width = bounds.width;
+            _dropIndicator.height = bounds.height;
+            _dropIndicator.x = bounds.x;
+            _dropIndicator.y = bounds.y;
+        }

-         var dxl:Number = elementR.left - scrollR.left;     // left justify element
-         var dxr:Number = elementR.right - scrollR.right;   // right justify element
-         var dyt:Number = elementR.top - scrollR.top;       // top justify element
-         var dyb:Number = elementR.bottom - scrollR.bottom; // bottom justify element
-
-         // minimize the scroll
-         var dx:Number = (Math.abs(dxl) < Math.abs(dxr)) ? dxl : dxr;
-         var dy:Number = (Math.abs(dyt) < Math.abs(dyb)) ? dyt : dyb;
-
-         // scrollR "contains"  elementR in just one dimension
-         if ((elementR.left >= scrollR.left) && (elementR.right <= scrollR.right))
-            dx = 0;
-         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;
-         else if ((elementR.bottom >= scrollR.bottom) && (elementR.top <= scrollR.top))
-            dy = 0;
-
-         return new Point(dx, dy);
-     }
+        _dropIndicator.visible = true;
+    }
+
+    /**
+     *  Hides the previously shown dropIndicator,
+     *  removes it from the display list and also stops the drag-scrolling.
+     *
+     *  @see #showDropIndicator
+     *  @see #dropIndicator
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function hideDropIndicator():void
+    {
+        if (_dropIndicator)
+            _dropIndicator.visible = false;
+    }
+
+    /**
+     *  Returns the index where a new item should be inserted if
+     *  the user releases the mouse at the specified coordinates
+     *  while completing a drag and drop gesture.
+     *
+     *  Called by the calculatedDropLocation() method.
+     *
+     *  @param x The x coordinate of the drag and drop gesture, in target's
+     *  local coordinates.
+     *
+     *  @param y The y coordinate of the drag and drop gesture, in target's
+     *  local coordinates.
+     *
+     *  @return The drop index or -1 if the drop operation is not available
+     *  at the specified coordinates.
+     *
+     *  @see #calculateDropLocation
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    protected function calculateDropIndex(x:Number, y:Number):int
+    {
+        // Always add to the end by default.
+        return target.numElements;
+    }
+
+    /**
+     *  Calculates the bounds for the drop indicator UI that provides visual feedback
+     *  to the user of where the items will be inserted at the end of a drag and drop
+     *  gesture.
+     *
+     *  Called by the showDropIndicator() method.
+     *
+     *  @param dropLocation A valid DropLocation previously calculated
+     *  through the calculateDropLocation method.
+     *
+     *  @return The bounds for the drop indicator or null.
+     *
+     *  @see spark.layouts.supportClasses.DropLocation
+     *  @see #calculateDropIndex
+     *  @see #calculateDragScrollDelta
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    protected function calculateDropIndicatorBounds(dropLocation:DropLocation):Rectangle
+    {
+        return null;
+    }
 }
 }


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

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

 package mx.effects.easing
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17607
Author:   egeorgie@adobe.com
Date:     2010-09-08T18:16:57.522743Z

Log Message:
-----------
Fix SDK-25709 UIComponent doesn't update when setting postLayoutTransformOffsets dynamically

In this change:
- invalidate the transform when the offsets are changed

QE notes:  None
Doc notes: None
Bugs: SDK-25709
Reviewer: Jason
Tests run: full cyclone
Is noteworthy for integration: No

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

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -13151,6 +13151,8 @@
             _layoutFeatures.postLayoutTransformOffsets.addEventListener(Event.CHANGE,transformOffsetsChangedHandler);
         if (was3D != is3D)
             validateMatrix();
+
+        invalidateTransform();
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 7200
Author:   egeorgie@adobe.com
Date:     2009-05-21T22:44:22.206867Z

Log Message:
-----------
Fix bug http://bugs.adobe.com/jira/browse/SDK-21326 [ASDoc] mx.utils.MatrixUtil class is missing descriptions

Fix: Mark class as private, exclude from docs, delete some unused code.

QE Notes: None
Doc Notes: None
Bugs: SDK-21326
Reviewer: Hans
tests: build, checkintests

Modified Paths:
--------------
<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/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

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

     protected function nonDeltaLayoutMatrix():Matrix
     {
-        // TODO EGeorgie: move this to the Group, when we implement ILayoutElement directly
-        // in the base class.
-/*        if (obj is Group &&
-            Group(obj).resizeMode == ResizeMode.SCALE)
-        {
-            // Lose scale and skew:
-            return MatrixUtil.composeMatrix(obj.x, obj.y, 1, 1, obj.rotation,
-                        UIComponent(obj).transformX, UIComponent(obj).transformY);
-        }
-*
-*  @langversion 3.0
-*  @playerversion Flash 9
-*  @playerversion AIR 1.1
-*  @productversion Flex 3
-*/
         if (hasDeltaIdentityTransform)
-            return null;
+            return null;
         if (_layoutFeatures != null)
         {
             return _layoutFeatures.layoutMatrix;
@@ -12011,7 +11996,6 @@
         {
             return super.transform.matrix;
         }
-
     }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 13259
Author:   clucier@adobe.com
Date:     2010-01-04T19:52:51.953785Z

Log Message:
-----------
Restoring unconditional event dispatching for early life cycle events to facilitate external frameworks such as Mate and Swiz.

For 10.1 player and above we now sync layout immediately after stage resize for Application (mx/spark).

QE notes: None
Doc notes: None
Bugs: SDK-14109
Reviewer: Alex
Tests run: Checkin
Is noteworthy for integration: No

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

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

--- frameworks/projects/framework/src/mx/events/FlexEvent.as
+++ frameworks/projects/framework/src/mx/events/FlexEvent.as
@@ -237,9 +237,6 @@
     /**
      *  The FlexEvent.CREATION_COMPLETE constant defines the value of the
      *  type property of the event object for a creationComplete event.
-     *
-     *
This event will only be dispatched when there are one or more relevant listeners
-     * attached to the dispatching object.

      *
      *
The properties of the event object have the following values:

      *

@@ -668,9 +665,6 @@
     /**
      *  The FlexEvent.INITIALIZE constant defines the value of the
      *  type property of the event object for a initialize event.
-     *
-     *
This event will only be dispatched when there are one or more relevant listeners
-     * attached to the dispatching object.

      *
      *
The properties of the event object have the following values:

      *

@@ -789,9 +783,6 @@
     /**
      *  The FlexEvent.PREINITIALIZE constant defines the value of the
      *  type property of the event object for a preinitialize event.
-     *
-     *
This event will only be dispatched when there are one or more relevant listeners
-     * attached to the dispatching object.

      *
      *
The properties of the event object have the following values:

      *


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

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

 package mx.utils
 {


watch out for RTEs

watch out for RTEs

--- frameworks/projects/framework/src/mx/utils/ObjectUtil.as
+++ frameworks/projects/framework/src/mx/utils/ObjectUtil.as
@@ -1293,10 +1293,10 @@
     private static function getCacheKey(o:Object, excludes:Array = null, options:Object = null):String
     {
         var key:String = getQualifiedClassName(o);
-		var length:int = excludes.length;

         if (excludes != null)
         {
+			var length:int = excludes.length;
             for (var i:uint = 0; i < length; i++)
             {
                 var excl:String = excludes[i] as String;


Transferred from the Adobe Open Source Subversion Repository

Revision: 20069
Author:   egeorgie@adobe.com
Date:     2011-02-02T21:29:58.483657Z

Log Message:
-----------
PARB: remove alignmentBaseline and actualAlignmentBaseline from HorizontalLayout and HGroup.

The recommendation is to use paddingTop instead. alignmentBaseline is actually mx_itnernal now.

QE notes:
Doc notes: Make sure doc is up-to-date
Bugs:
Reviewer: Glenn
Tests run: mustella
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>

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

--- frameworks/projects/spark/src/spark/components/HGroup.as
+++ frameworks/projects/spark/src/spark/components/HGroup.as
@@ -98,78 +98,6 @@
     //--------------------------------------------------------------------------

     //----------------------------------
-    //  actualBaseline
-    //----------------------------------
-
-    [Bindable("propertyChange")]
-    [Inspectable(category="General")]
-
-    /**
-     *  The computed base line, in pixels, relative to the top edge
-     *  of the group plus any paddingTop.
-     *
-     *  The base line is the virtual horizontal line to which child elements's text is aligned.
-     *
-     *  The value is computed in the group's updateDisplayList()
-     *  and is based on the alignmentBaseline property as well as the baselinePosition
-     *  and baseline properties of the group's elements.
-     *
-     *  Note that actualAlignmentBaseline is computed only when verticalAlign
-     *  is set to "baseline".
-     *
-     *  @see #baseline
-     *  @see #verticalAlign
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-     */
-    public function get actualAlignmentBaseline():Number
-    {
-        return horizontalLayout.actualAlignmentBaseline;
-    }
-
-    //----------------------------------
-    //  baseline
-    //----------------------------------
-
-    [Inspectable(category="General")]
-
-    /**
-     *  The base line of the layout, in pixels.
-     *
-     *  The base line is the virtual horizontal line to which layout elements' text is aligned,
-     *  it is relative to the top edge of the group plus any paddingTop.
-     *
-     *  The base line can be specified as either an explicit number, or as a numberical offset to
-     *  the computed maximum of the childrens' text ascent by using the "maxAscent:offset" syntax.
-     *
-     *  Note that baseline has an effect only when verticalAlign
-     *  is set to "baseline".
-     *
-     *  @default "maxAscent:0"
-     *  @see #verticalAlign
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-     */
-    public function get alignmentBaseline():Object
-    {
-        return horizontalLayout.alignmentBaseline;
-    }
-
-    /**
-     *  @private
-     */
-    public function set alignmentBaseline(value:Object):void
-    {
-        horizontalLayout.alignmentBaseline = value;
-    }
-
-    //----------------------------------
     //  gap
     //----------------------------------


Fixed a bug caused by the ANE on non-mobile devices

--- actionscript/src/com/freshplanet/nativeExtensions/Facebook.as
+++ actionscript/src/com/freshplanet/nativeExtensions/Facebook.as
@@ -77,6 +77,8 @@
 		/** Get Facebook SSO access token (can be used for 2 months). */
 		public function getAccessToken() : String
 		{
+			if (!isFacebookSupported) return null;
+
 			return _extCtx.call('getAccessToken') as String;
 		}

@@ -86,11 +88,15 @@
 		 */
 		public function getExpirationTimestamp() : Number
 		{
+			if (!isFacebookSupported) return 0;
+
 			return _extCtx.call('getExpirationTimestamp') as Number;
 		}

 		public function isLogIn() : Boolean
 		{
+			if (!isFacebookSupported) return false;
+
 			return _extCtx.call('isSessionValid');
 		}


index fix

index fix

git-svn-id: 8a2ccb88241e16c78017770bc38d91d6d5396a5a@58551 6b8eccd3-e8c5-4e7d-8186-e12b5326b719

--- generator/sources/as3/delegates/QueuedRequestDelegate.as
+++ generator/sources/as3/delegates/QueuedRequestDelegate.as
@@ -52,7 +52,7 @@
 						xml += result.result.item[j + resInd].toXMLString();
 					}
 					// skip to the result of the next call that wasn't part of the MR:
-					resInd+= nActions-1;
+					resInd+= nActions;
 				}
 				else {
 					xml += result.result.item[resInd].children().toString();


Transferred from the Adobe Open Source Subversion Repository

Revision: 10672
Author:   dloverin@adobe.com
Date:     2009-09-29T11:43:11.672658Z

Log Message:
-----------
Use styleManager instance instead of the StyleManager singleton (airframework, halo, and spark projects)

A couple updates in the framework project as well.

QE notes: None.
Doc notes: None.
Bugs:
Reviewer: Alex
Tests run: checkintests
Is noteworthy for integration: no.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/SliderTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/ProgrammaticSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/SetActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ScrollTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/DataGridHeaderBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/dataGridClasses/TLFDataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ProgressTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/TitleBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ButtonBarButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/HaloBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/NumericStepperDownSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/PopUpButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/ApplicationTitleBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/TabSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ScrollArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/CheckBoxIcon.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/AccordionHeaderSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/NumericStepperUpSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleModule.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ProgressIndeterminateSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/RadioButtonIcon.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/DateChooserMonthArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/SliderThumbSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ComboBoxArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/MenuBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ProgressBarSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/BusyCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ScrollThumbSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SetStyleActionInstance.as</path>

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

--- frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as
+++ frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as
@@ -38,6 +38,7 @@
 import mx.managers.dragClasses.DragProxy;
 import mx.styles.CSSStyleDeclaration;
 import mx.styles.StyleManager;
+import mx.core.IFlexModuleFactory;

 use namespace mx_internal;

@@ -305,7 +306,7 @@
         {
             // No drag image specified, use default
             var dragManagerStyleDeclaration:CSSStyleDeclaration =
-                StyleManager.getStyleDeclaration("mx.managers.DragManager");
+                StyleManager.getStyleManager(sm as IFlexModuleFactory).getStyleDeclaration("mx.managers.DragManager");
             var dragImageClass:Class =
                 dragManagerStyleDeclaration.getStyle("defaultDragImageSkin");
             dragImage = new dragImageClass();


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 16753
Author:   klin@adobe.com
Date:     2010-06-30T23:11:57.465745Z

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

-getRow/ColumnBounds returns null again. Fixed methods in GridLayout that weren't handling the null case.
-GridRowNode now hides the cellHeights vector behind setCellHeight and getCellHeight. Updated GD to use these methods.
-Fixed bug in getRowIndexAt() that was causing it not to find valid indices when certain nodes were missing.

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridRowNode.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridRowNode.as
@@ -11,7 +11,7 @@
 {
     public var rowIndex:int;

-    public var cellHeights:Vector.<Number>;
+    private var cellHeights:Vector.<Number>;
     public var maxCellHeight:Number = NaN;
     public var fixedHeight:Number = NaN;

@@ -54,6 +54,10 @@
             for (var i:int = value - _numColumns; i < value; i++)
                 cellHeights[i] = 0;
         }
+        else
+        {
+            updateMaxHeight();
+        }

         _numColumns = value;
     }
@@ -63,7 +67,7 @@
      *
      *  @return true if changed
      */
-    public function updateMaxHeight():Boolean
+    private function updateMaxHeight():Boolean
     {
         // FIXME (klin): use max heap? might not be worth the overhead.
         var max:Number = 0;
@@ -75,6 +79,35 @@
         maxCellHeight = max;
         return changed;
     }
+
+    /**
+     *  Returns the cell height at the specified index.
+     *
+     *  @return the cell height at the given index. NaN if index
+     *  is out of bounds.
+     */
+    public function getCellHeight(index:int):Number
+    {
+        if (index < 0 || index >= cellHeights.length)
+            return NaN;
+        return cellHeights[index];
+    }
+
+    /**
+     *  Updates the height at the specified column.
+     *
+     *  @return true if max height has changed.
+     */
+    public function setCellHeight(index:int, value:Number):Boolean
+    {
+        if (cellHeights[index] == value)
+            return false;
+
+        cellHeights[index] = value;
+
+        return updateMaxHeight();
+    }
+

     public function toString():String
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 4283
Author:   rfrishbe@adobe.com
Date:     2008-12-10T22:34:18.162845Z

Log Message:
-----------
PARB Review changes for Group and DataGroup.  The main API changes are:

- content property on Group and FxContainer renamed to mxmlContent.

- contentFactory property on FxContainer renamed to mxmlContentFactory

- New names for DataGroup methods: getRendererForItemAt(index:int):IVisualElement and getItemIndexForRenderer(renderer:IVisualElement):int.  These are now in the mxml_internal namespace (not public anymore)

- registerRenderer and unregisterRenderer are private methods (not public)

Also, I made a minor fix to ITransformable.

QE Notes: Steve's changing the mustella tests for me and will be checking in shortly.
Doc Notes: None
Bugs: SDK-18042
Reviewer: Hans
tests: checkintests, Steve ran mustella tests for all of gumbo and states

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/ITransformable.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/skins/MyScrollBarTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/skins/MyVScrollBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/wireframe/FxDefaultComplexItemRenderer.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/skins/CircularScrollBarTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/wireframe/FxDefaultItemRenderer.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxDefaultComplexItemRenderer.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/skins/CircularScrollBarSkin.mxml</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/graphics/graphicsClasses/GraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
@@ -316,7 +316,7 @@

         // Obtain reference to newly generated item element which will be used
         // to compute the baseline.
-        var listItem:Object = dataGroup.getItemRenderer(0);
+        var listItem:Object = dataGroup.mx_internal::getItemRenderer(0);
         if (!listItem)
             return super.baselinePosition;


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

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

 package mx.olap
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

 package mx.charts.series
 {