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

--- frameworks/projects/mx/src/mx/skins/halo/ComboBoxArrowSkin.as
+++ frameworks/projects/mx/src/mx/skins/halo/ComboBoxArrowSkin.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2004-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: 21294
Author:   jszeto@adobe.com
Date:     2011-05-25T23:07:15.867772Z

Log Message:
-----------
TextArea scrolling sync and SoftKeyboard iOS bug fixes

SDK-30476 - Going home after opening the soft keyboard doesn't restore the application to full size

Listen for the application DEACTIVATE event and close the softKeyboard if it is open

SDK-30468 - Text scrolls upwards when entering edit mode in a TextArea

With the runtime fix, I need to convert from 0-based to 1-based index for scrollV

SDK-30197 - scroll position incorrect when leaving edit mode

Resize the TextArea before cleaning up the scroll positions

QE notes: none
Doc notes: none
Bugs: SDK-30476, SDK-30468, SDK-30197
Reviewer: Tom K
Tests run: checkintests, cyclone
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>

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

--- frameworks/projects/spark/src/spark/components/Application.as
+++ frameworks/projects/spark/src/spark/components/Application.as
@@ -17,6 +17,7 @@
 import flash.display.Stage;
 import flash.events.ContextMenuEvent;
 import flash.events.Event;
+import flash.events.EventDispatcher;
 import flash.events.SoftKeyboardEvent;
 import flash.events.UncaughtErrorEvent;
 import flash.external.ExternalInterface;
@@ -1428,9 +1429,17 @@
             addEventListener(SoftKeyboardEvent.SOFT_KEYBOARD_DEACTIVATE,
                 softKeyboardDeactivateHandler, true,
                 EventPriority.DEFAULT, true);
-        }
-    }
-
+
+            // Listen for the deactivate event so we can close the softKeyboard
+            var nativeApp:Object = FlexGlobals.topLevelApplication.
+                systemManager.getDefinitionByName("flash.desktop.NativeApplication");
+
+            if (nativeApp && nativeApp["nativeApplication"])
+                EventDispatcher(nativeApp["nativeApplication"]).
+                    addEventListener(Event.DEACTIVATE, nativeApplication_deactivateHandler);
+        }
+    }
+
     /**
      *  @private
      */
@@ -1808,6 +1817,21 @@

     /**
      *  @private
+     */
+    private function nativeApplication_deactivateHandler(event:Event):void
+    {
+        // Close the softKeyboard if we deactivate the application. This works
+        // around an iOS bug where the SoftKeyboard.DEACTIVATE event isn't
+        // dispatched when the application is deactivated.
+        if (isSoftKeyboardActive)
+        {
+            stage.focus = null;
+            softKeyboardDeactivateHandler(null);
+        }
+    }
+
+    /**
+     *  @private
      *  Called when a softKeyboard activation target is removed from the
      *  stage.  If the target has stage focus, then the focus is set to null.
      *  This will cause a SOFT_KEYBOARD_DEACTIVATE event to be dispatched.


Transferred from the Adobe Open Source Subversion Repository

Revision: 21557
Author:   jasonsj@adobe.com
Date:     2011-07-12T22:11:43.595367Z

Log Message:
-----------
Initial checkin for Callout/CalloutButton and mobile check-in tests. (Attempt #2 to address dependency checker issue from 21536)

* Refactored pop up transformations from PopUpAnchor.applyPopUpTransform() to mx.utils.PopUpUtil.applyPopUpTransform()
* CalloutPosition.AUTO not yet implemented
* Visuals are not the final XD design.

QE notes:
Doc notes:
Bugs:
Reviewer: chiedozi, jszeto
Tests run: checkintests, checkintests-mobile
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/.flexLibProperties</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/CalloutPosition.as" copyfrom-rev="21541" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/CalloutPosition.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/ArrowDirection.as" copyfrom-rev="21541" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/ArrowDirection.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/4.y/frameworks/tests/airMobileBasicTests/src/mobile/views/TestCalloutButton.mxml" copyfrom-rev="21541" action="A">/private/flex/sdk/branches/4.y/frameworks/tests/airMobileBasicTests/src/mobile/views/TestCalloutButton.mxml</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/CalloutButton.as" copyfrom-rev="21541" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/CalloutButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/.actionScriptProperties</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/.flexLibProperties</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/SkinnablePopUpContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/utils/PopUpUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/.actionScriptProperties</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/Callout.as" copyfrom-rev="21541" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/Callout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/tests/airMobileBasicTests/src/airMobileBasicTests-config.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/manifest.xml</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutButtonSkin.as" copyfrom-rev="21541" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutButtonSkin.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/4.y/frameworks/tests/airMobileBasicTests/src/mobile/scripts/CalloutButtonTestScript.mxml" copyfrom-rev="21541" action="A">/private/flex/sdk/branches/4.y/frameworks/tests/airMobileBasicTests/src/mobile/scripts/CalloutButtonTestScript.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/.actionScriptProperties</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutSkin.as" copyfrom-rev="21541" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/MobileThemeClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/.flexLibProperties</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/tests/airMobileBasicTests/src/airMobileBasicTests-app.xml</path>

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

--- frameworks/projects/spark/src/spark/components/PopUpAnchor.as
+++ frameworks/projects/spark/src/spark/components/PopUpAnchor.as
@@ -13,10 +13,7 @@
 {

 import flash.display.DisplayObject;
-import flash.display.Stage;
-import flash.display.StageDisplayState;
 import flash.events.Event;
-import flash.geom.ColorTransform;
 import flash.geom.Matrix;
 import flash.geom.Point;
 import flash.geom.Rectangle;
@@ -29,6 +26,7 @@
 import mx.managers.PopUpManager;
 import mx.styles.ISimpleStyleClient;
 import mx.utils.MatrixUtil;
+import mx.utils.PopUpUtil;

 use namespace mx_internal;

@@ -564,9 +562,7 @@
     {
         if (!popUpIsDisplayed)
             return;
-
-        var m:Matrix = MatrixUtil.getConcatenatedMatrix(this, systemManager.getSandboxRoot());
-
+
         // Set the dimensions explicitly because UIComponents always set themselves to their
         // measured / explicit dimensions if they are parented by the SystemManager.
         if (popUp is UIComponent)
@@ -589,43 +585,7 @@
         }

         var popUpPoint:Point = calculatePopUpPosition();
-
-        // the transformation doesn't take the fullScreenRect in to account
-        // if we are in fulLScreen mode. This code will throw a RTE if run from inside of a sandbox.
-        try
-        {
-            var smStage:Stage = systemManager.stage;
-            if (smStage && smStage.displayState != StageDisplayState.NORMAL && smStage.fullScreenSourceRect)
-            {
-                popUpPoint.x += smStage.fullScreenSourceRect.x;
-                popUpPoint.y += smStage.fullScreenSourceRect.y;
-            }
-        }
-        catch (e:Error)
-        {
-            // Ignore the RTE
-        }
-
-        if (!m)
-            return;
-
-        // Position the popUp.
-        m.tx = Math.round(popUpPoint.x);
-        m.ty = Math.round(popUpPoint.y);
-        if (popUp is UIComponent)
-            UIComponent(popUp).setLayoutMatrix(m,false);
-        else if (popUp is DisplayObject)
-            DisplayObject(popUp).transform.matrix = m;
-
-        // apply the color transformation, but restore alpha value of popup
-        var oldAlpha:Number = DisplayObject(popUp).alpha;
-        var tmpColorTransform:ColorTransform = $transform.concatenatedColorTransform;
-        if (tmpColorTransform != null)
-        {
-            tmpColorTransform.alphaMultiplier = oldAlpha;
-            tmpColorTransform.alphaOffset = 0;
-        }
-        DisplayObject(popUp).transform.colorTransform = tmpColorTransform;
+        PopUpUtil.applyPopUpTransform(this, $transform.concatenatedColorTransform, systemManager, popUp, popUpPoint);
     }

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/spark/src/spark/filters/GradientFilter.as
+++ frameworks/projects/spark/src/spark/filters/GradientFilter.as
@@ -20,7 +20,7 @@
  * The base class for filters that provide gradient visual effects.
  *
  *  @mxml
- *
The <GradientFilter> tag inherits all of the tag
+ *
The <s:GradientFilter> tag inherits all of the tag
  *  attributes of its superclass and adds the following tag attributes:

  *
  *


Transferred from the Adobe Open Source Subversion Repository

Revision: 3243
Author:   rfrishbe@adobe.com
Date:     2008-09-17T16:14:14.399661Z

Log Message:
-----------
DataGroup/Group split work.  DataGroup is for holding data items that may require item rendering. Group only holds visual items now.  The Group APIs stay the same (numItems, addItem, etc...).  DataGroup uses the IList APIs through its dataProvider.  So the equivalent methods are now dataProvider.length, dataProvider, addItem, etc...  This is just the initial split work as there's more to come to get the files up to spec.  We will also have to visit how we deal with graphic elements in DataGroup vs. Group.  For now the implementations are roughly the same.

QE: Yes - tests may break.  please update them.
Doc: Yes
Bugs: -
Reviewer: Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/BasicLayout.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/DataComponent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/DataComponentSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/PanelSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/Flex4Classes.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/events/FlexEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/ItemsComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/gumbo-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Graphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/DataGroup.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/Selector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/SelectorSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/intf/ILayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/flex4test.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ComplexPanelSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
@@ -14,7 +14,7 @@
 import flash.geom.Rectangle;
 import flash.events.EventDispatcher;

-import flex.core.Group;
+import flex.core.GroupBase;
 import flex.intf.ILayout;
 import flex.intf.ILayoutItem;

@@ -64,7 +64,7 @@
      */
     public function VerticalLayout():void
     {
-		super();
+        super();
     }

     //--------------------------------------------------------------------------
@@ -73,14 +73,14 @@
     //
     //--------------------------------------------------------------------------

-    private var _target:Group;
-
-    public function get target():Group
+    private var _target:GroupBase;
+
+    public function get target():GroupBase
     {
         return _target;
     }

-    public function set target(value:Group):void
+    public function set target(value:GroupBase):void
     {
         _target = value;
     }
@@ -90,7 +90,7 @@
     //----------------------------------
     private function invalidateTargetSizeAndDisplayList():void
     {
-        var layoutTarget:Group = target;
+        var layoutTarget:GroupBase = target;
         if (layoutTarget != null)
         {
             layoutTarget.invalidateSize();
@@ -120,7 +120,7 @@
         if (_gap == value)
             return;

-		_gap = value;
+        _gap = value;
         invalidateTargetSizeAndDisplayList();
     }

@@ -300,7 +300,7 @@
     }

-    private function variableRowHeightMeasure(layoutTarget:Group):void
+    private function variableRowHeightMeasure(layoutTarget:GroupBase):void
     {
         var minWidth:Number = 0;
         var minHeight:Number = 0;
@@ -359,7 +359,7 @@
     }

-    private function fixedRowHeightMeasure(layoutTarget:Group):void
+    private function fixedRowHeightMeasure(layoutTarget:GroupBase):void
     {
     	var rows:uint = layoutTarget.numLayoutItems;

@@ -407,21 +407,21 @@

     public function measure():void
     {
-    	var layoutTarget:Group = target;
+    	var layoutTarget:GroupBase = target;
         if (!layoutTarget)
             return;

         if (variableRowHeight)
-        	variableRowHeightMeasure(layoutTarget);
+            variableRowHeightMeasure(layoutTarget);
         else
-        	fixedRowHeightMeasure(layoutTarget);
+            fixedRowHeightMeasure(layoutTarget);

     }

     public function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
     {
-    	var layoutTarget:Group = target;
+    	var layoutTarget:GroupBase = target;
         if (!layoutTarget)
             return;


Player: Set initial default configs

Player: Set initial default configs

Added all available configs in the default config object.
Also set all these when the player starts, so it's really
the default.

--- src/Player.as
+++ src/Player.as
@@ -50,9 +50,13 @@
     private static const EVENT_FULLSCREEN_EXITED:String  = "fullscreenExited";

     private var config:Object = {
-      'buffer': 1,
+      'buffer': 3,
       'scaleUp': false,
-      'allowFullscreen': true
+      'allowFullscreen': true,
+      'debugLogger': {
+        'console': false,
+        'trace': false
+      }
     };
     private var video:Video;
     private var audioTransmit:AxisTransmit = new AxisTransmit();
@@ -99,6 +103,8 @@
         videoResize();
         (StageDisplayState.NORMAL === stage.displayState) ? callAPI(EVENT_FULLSCREEN_EXITED) : callAPI(EVENT_FULLSCREEN_ENTERED);
       });
+
+      this.setConfig(this.config)
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 20690
Author:   mhorn@adobe.com
Date:     2011-03-08T20:26:51.755036Z

Log Message:
-----------
ASDoc updates

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/Legend.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/PieChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/PlotChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/series/items/LineSeriesSegment.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/series/ColumnSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/CandlestickChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/HLOCChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/chartClasses/InstanceCache.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/series/BarSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/chartClasses/Series.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/LineChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/chartClasses/ChartBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/BubbleChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/chartClasses/PolarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/effects/SeriesZoom.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianDataCanvas.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/ColumnChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/DateTimeAxis.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/chartClasses/PolarDataCanvas.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/BarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/AreaChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/chartClasses/ChartElement.as</path>

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


FLEX-34884 Added a unit test to make sure that we can still find items in the collection once it's been sorted by complex fields. Note that currently it fails.

--- frameworks/projects/framework/tests/FLEX_34852_Tests.as
+++ frameworks/projects/framework/tests/FLEX_34852_Tests.as
@@ -44,7 +44,7 @@
         }

         [Test]
-        public function test_simple_ascending_sort_by_complex_string_fields():void
+        public function test_ascending_sort_by_complex_string_fields():void
         {
             //given
             var from4To0:IList = generateVOs(5, true);
@@ -59,6 +59,28 @@

             //then
             assertIndexesAre([0, 1, 2, 3, 4]);
+        }
+
+        [Test]
+        public function test_finding_items_works_after_ascending_sort_by_complex_string_fields():void
+        {
+            //given
+            var from4To0:IList = generateVOs(5, true);
+            _sut.addAll(from4To0); //values["address.street"]: Street4, Street3, Street2, Street1, Street0
+
+            const sortByStreetAscending:Sort = new Sort();
+            sortByStreetAscending.fields = [new ComplexSortField("address.street", false, false, false)];
+            _sut.sort = sortByStreetAscending;
+
+            //when
+            _sut.refresh(); //should be: Street0, Street1, Street2, Street3, Street4
+
+            //then
+            for(var i:int = 0; i < from4To0.length; i++)
+            {
+                var vo:FLEX_34852_VO = from4To0.getItemAt(i) as FLEX_34852_VO;
+                assertEquals(vo.index, _sut.getItemIndex(vo));
+            }
         }

         [Test]


Transferred from the Adobe Open Source Subversion Repository

Revision: 8
Author:   open-source-svn-admin@adobe.com
Date:     2007-12-15T01:49:31.087529Z

Log Message:
-----------
The beginning of the open-source Flex SDK.

Populated the flex/sdk/trunk directory with an open-source subset of files from //depot/flex/sdk/...@191097 in the Faramir Perforce server. This changelist is a bit past the 3.0rc0 build.

The Ant scripts will not successfully build yet. They need to be adapted to the open-source subset.

Modified Paths:
--------------
2532 paths were modified

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

--- frameworks/projects/mx/src/mx/containers/FormHeading.as
+++ frameworks/projects/mx/src/mx/containers/FormHeading.as
@@ -0,0 +1,300 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-2006 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.containers
+{
+
+import flash.events.Event;
+import flash.text.TextFieldAutoSize;
+import mx.controls.Label;
+import mx.core.EdgeMetrics;
+import mx.core.UIComponent;
+
+include "../styles/metadata/LeadingStyle.as"
+include "../styles/metadata/PaddingStyles.as"
+include "../styles/metadata/TextStyles.as"
+
+/**
+ *  Number of pixels between the label area and the heading text.
+ *
+ *  @default 14
+ */
+[Style(name="indicatorGap", type="Number", format="Length", inherit="yes")]
+
+/**
+ *  Width of the form labels.
+ *  The default value is the length of the longest label in the form.
+ *  For FormHeading, the labelWidth
+ *  is space to the left of the heading text.
+ */
+[Style(name="labelWidth", type="Number", format="Length", inherit="yes")]
+
+/**
+ *  Number of pixels above the heading text.
+ *
+ *  @default 0
+ */
+[Style(name="paddingTop", type="Number", format="Length", inherit="no")]
+
+[IconFile("FormHeading.png")]
+
+/**
+ *  The FormHeading container is used to display a heading
+ *  for a group of controls inside a Form container.
+ *  The left side of the heading is aligned
+ *  with the left side of the controls inside the form.
+ *  You can include multiple FormHeading containers within a single Form
+ *  container.
+ *
+ *  @mxml
+ *
+ *
The <mx:FormHeading> tag inherits all of the tag
+ *  attributes of its superclass and adds the following tag attributes:

+ *
+ *

+ *  <mx:FormHeading
+ *    Properties
+ *    label=""
+ *
+ *    Styles
+ *    color="0x0B333C"
+ *    disabledColor="0xAAB3B3"
+ *    fontAntiAliasType="advanced|normal"
+ *    fontFamily="Verdana"
+ *    fontGridFitType="pixel|subpixel|none"
+ *    fontSharpness="0"
+ *    fontSize="12"
+ *    fontStyle="normal|italic"
+ *    fontThickness="0"
+ *    fontWeight="normal|bold"
+ *    indicatorGap="14"
+ *    labelWidth="Calculated"
+ *    leading="2"
+ *    paddingLeft="0"
+ *    paddingRight="0"
+ *    paddingTop="0"
+ *    textAlign="Calculated"
+ *    textDecoration="none|underline"
+ *    textIndent="0"
+ *  />
+ *

+ *
+ *  @see mx.containers.Form
+ *  @see mx.containers.FormItem
+ *
+ *  @includeExample examples/FormExample.mxml
+ */
+public class FormHeading extends UIComponent
+{
+	include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 */
+	public function FormHeading()
+	{
+		super();
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Variables
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private var labelObj:Label;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  label
+	//----------------------------------
+
+	/**
+	 *  @private
+	 *  Storage for the label property.
+	 */
+	private var _label:String = "";
+
+	[Bindable("labelChanged")]
+	[Inspectable(category="General", defaultValue="")]
+
+	/**
+	 *  Form heading text.
+	 */
+	public function get label():String
+	{
+		return _label;
+	}
+
+	/**
+	 *  @private
+	 */
+	public function set label(value:String):void
+	{
+		_label = value;
+
+		invalidateProperties();
+
+		dispatchEvent(new Event("labelChanged"));
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: UIComponent
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override protected function commitProperties():void
+	{
+		super.commitProperties();
+
+		createLabel();
+	}
+
+	/**
+	 *  @private
+	 */
+	override protected function measure():void
+	{
+		super.measure();
+
+		var preferredWidth:Number = 0;
+		var preferredHeight:Number = getStyle("paddingTop");
+
+		if (labelObj)
+		{
+			if (isNaN(labelObj.measuredWidth))
+				labelObj.validateSize();
+
+			preferredWidth = labelObj.measuredWidth;
+			preferredHeight += labelObj.measuredHeight;
+		}
+
+		preferredWidth += getLabelWidth() + getStyle("indicatorGap");
+
+		measuredMinWidth = preferredWidth;
+		measuredMinHeight = preferredHeight;
+		measuredWidth = preferredWidth;
+		measuredHeight = preferredHeight;
+	}
+
+	/**
+	 *  @private
+	 */
+	override protected function updateDisplayList(unscaledWidth:Number,
+												  unscaledHeight:Number):void
+	{
+		super.updateDisplayList(unscaledWidth, unscaledHeight);
+
+		if (labelObj)
+		{
+			var indicatorGap:Number = getStyle("indicatorGap");
+			var paddingTop:Number = getStyle("paddingTop");
+			var labelWidth:Number = width;
+
+			labelObj.move(getLabelWidth() + indicatorGap, paddingTop);
+
+			if (parent && parent is Form)
+			{
+				var vm:EdgeMetrics = Form(parent).viewMetricsAndPadding;
+
+				labelWidth = parent.width -
+					(getLabelWidth() + indicatorGap + vm.left + vm.right);
+			}
+
+			labelObj.setActualSize(labelWidth, height);
+		}
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private function createLabel():void
+	{
+		// See if we need to create our labelObj.
+		if (_label.length > 0)
+		{
+			if (!labelObj)
+			{
+				labelObj = new Label();
+				labelObj.styleName = this;
+				addChild(labelObj);
+			}
+
+			if (labelObj.text != _label)
+			{
+				labelObj.text = _label;
+
+				labelObj.validateSize();
+
+				invalidateSize();
+				invalidateDisplayList();
+			}
+		}
+
+		// See if we need to destroy our labelObj.
+		if (_label.length == 0 && labelObj)
+		{
+			removeChild(labelObj);
+			labelObj = null;
+
+			invalidateSize();
+			invalidateDisplayList();
+		}
+	}
+
+	/**
+	 *  @private
+	 */
+	private function getLabelWidth():Number
+	{
+		var labelWidth:Number = getStyle("labelWidth");
+
+		// labelWidth of 0 is the same as NaN
+		if (labelWidth == 0)
+		{
+			labelWidth = NaN;
+		}
+
+		if (isNaN(labelWidth) && parent is Form)
+			labelWidth = Form(parent).calculateLabelWidth();
+
+		if (isNaN(labelWidth))
+			labelWidth = 0;
+
+		return labelWidth;
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 7743
Author:   clucier@adobe.com
Date:     2009-06-11T13:53:10.203664Z

Log Message:
-----------
Moving away from using namespace qualifiers in most cases in the SDK.  We've run into a few cases now where the use of qualifiers in code that is called excessively can slow things down.
Bugs: SDK-21337
Reviewer: Ryan, Paul
QE Notes: None
Tests: Ran several random Mustella test groups, checkintests.

Modified Paths:
--------------
106 paths were modified

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as
@@ -473,7 +473,7 @@
         {
             var mp:MotionPath = new MotionPath(s);
             mp.keyframes = [new KeyFrame(0, null), new KeyFrame(duration, null)];
-            mp.mx_internal::scaleKeyframes(duration);
+            mp.scaleKeyframes(duration);
             if (!motionPaths)
                 motionPaths = [];
             motionPaths.push(mp);


ColumnUtils.map_root_firstDataSet

--- WeaveJS/src/weavejs/data/ColumnUtils.as
+++ WeaveJS/src/weavejs/data/ColumnUtils.as
@@ -739,13 +739,14 @@
 			StandardLib.sortOn(names, [_preferredMetadataPropertyOrder.indexOf, names]);
 		}

-		public static var firstDataSet:Array/*/<IWeaveTreeNode&IColumnReference>/*/;
+		public static var map_root_firstDataSet:/*/WeakMap<ILinkableHashMap, Array<IWeaveTreeNode&IColumnReference>>/*/Object = new JS.WeakMap();

 		/**
 		 * Finds a set of columns from available data sources, preferring ones that are already in use.
 		 */
 		public static function findFirstDataSet(root:ILinkableHashMap):Array/*/<IWeaveTreeNode&IColumnReference>/*/
 		{
+			var firstDataSet:Array = map_root_firstDataSet.get(root);
 			if (firstDataSet && firstDataSet.length)
 				return firstDataSet;


Error at deleteDrawCalls

Error at deleteDrawCalls

--- src/aerys/minko/scene/controller/scene/RenderingController.as
+++ src/aerys/minko/scene/controller/scene/RenderingController.as
@@ -628,7 +628,7 @@
     			}
     			_numDrawCalls -= numDrawCalls;

-                delete _meshToEffectInstance[effectInstance];
+                delete _meshToEffectInstance[mesh];
                 delete _meshBindingsUsageCount[meshBindings];
                 delete _meshToDrawCalls[mesh];


tweak when we complete setup right away.  Some containers also have left/right constraint pairs

--- frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ContainerView.as
+++ frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ContainerView.as
@@ -26,6 +26,7 @@
 	import org.apache.flex.core.IBeadLayout;
 	import org.apache.flex.core.IBeadView;
 	import org.apache.flex.core.IContainer;
+	import org.apache.flex.core.ILayoutChild;
 	import org.apache.flex.core.ILayoutParent;
 	import org.apache.flex.core.IParentIUIBase;
 	import org.apache.flex.core.IStrand;
@@ -155,15 +156,18 @@
 		 */
 		protected function initCompleteHandler(event:Event):void
 		{
-			// if the host component is not being sized by percentage, go ahead and complete the setup.
-			if (isNaN((host as UIBase).percentHeight) && isNaN((host as UIBase).percentWidth)) {
+            var ilc:ILayoutChild = host as ILayoutChild;
+			// Complete the setup if the height is sized to content or has been explicitly set
+            // and the width is sized to content or has been explicitly set
+			if ((ilc.isHeightSizedToContent() || !isNaN(ilc.explicitHeight)) &&
+                (ilc.isWidthSizedToContent() || !isNaN(ilc.explicitWidth))) {
 				completeSetup();

 				var num:Number = contentView.numElements;
 				if (num > 0) performLayout(event);
 			}
 			else {
-				// otherwise, wait until the size has been set and then finish
+				// otherwise, wait until the unknown sizes hav been set and then finish
 				host.addEventListener("sizeChanged", deferredSizeHandler);
 			}
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 18749
Author:   cframpto@adobe.com
Date:     2010-11-19T21:50:39.069347Z

Log Message:
-----------
selectAll() should not include cells in columns which have the visible property set to false.  In addition, selectAll() will not longer include rows and columns which are added after selectAll but before any operation which 'canceled' the select all.  The ASDoc has been updated.  Fix selectionLength since it was busted for rows.  Fix selectedItem's ASdoc default value.

QE notes:
Doc notes:
Bugs: SDK-28613
Reviewer: Hans
Tests run: cyclone
Is noteworthy for integration: yes - selectAll() behavior changed

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as
@@ -56,10 +56,8 @@
      *  (For row selection, a row region will be in column 0 and column count
      *  will be 1.)
      *
-     *  If selectAllFlag==false, this is the list of cell regions that have
-     *  been added (isAdd==true) and removed (isAdd==false).  If
-     *  selectAllFlag==true, this is the list of cell regions that have been
-     *  removed (isAdd==true) or re-added (isAdd==false) to the selection.
+     *  This is the list of cell regions that have
+     *  been added (isAdd==true) and removed (isAdd==false).
      *
      *  Internally, regionsContainCell should be used to determine if a cell/row
      *  is in the selection.
@@ -73,14 +71,6 @@
      *  index of the selection after a collection refresh event.
      */
     private var selectedItem:Object;
-
-    /**
-     *  @private
-     *  True if all cells are selected.  In this case, the data structures are
-     *  all reset and the flag should be used to determine the selection.
-     */
-    // Fixme: need interface to determine if everything is selected
-    mx_internal var selectAllFlag:Boolean;

     /**
      *  @private
@@ -250,18 +240,29 @@
     private var _selectionLength:int = 0;

     /**
-     *  If the selectionMode is either
+     *  The length of the selection.
+     *
+     *
If the selectionMode is either
      *  GridSelectionMode.SINGLE_ROW or
      *  GridSelectionMode.MULTIPLE_ROWS, contains the number of
-     *  selected rows.
-     *  If the selectionMode is either
+     *  selected rows.  If a selected row has no columns whose
+     *  visible property is set to true it is still
+     *  included in the number of selected rows.

+     *
+     *
If the selectionMode is either
      *  GridSelectionMode.SINGLE_CELL or
      *  GridSelectionMode.MULTIPLE_CELLS, contains the number of
      *  selected cells.
-     *  If the selectionMode is GridSelectionMode.NONE,
-     *  contains 0.
-     *
+     *  If a selected cell is in a column which has its visible
+     *  property set to false after it is selected, the cell is included in
+     *  the number of selected cells.

+     *
+     *
If the selectionMode is GridSelectionMode.NONE,
+     *  contains 0.

+     *
      *  @default 0
+     *
+     *  @return Number of selected rows or cells.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -273,23 +274,22 @@
         // Note: this assumes there are no duplicate cells in cellRegions - ie
         // 2 adds of the same cell without an intermediate delete.

+        const isRows:Boolean = isRowSelectionMode();
+
         if (_selectionLength < 0)
         {
-            _selectionLength = selectAllFlag ?
-                getGridDataProviderLength() * getGridColumnsLength() : 0;
-
+            _selectionLength = 0;
+
             const cellRegionsLength:int = cellRegions.length;
             for (var i:int = 0; i < cellRegionsLength; i++)
             {
                 var cr:CellRect = cellRegions[i];
-                const numCells:int = cr.width * cr.height;
+                const numSelected:int = isRows ? cr.height : cr.height * cr.width;

-                // Shorthand for
-                // if (cr.isAdd && !selectAllFlag || !cr.isAdd && selectAllFlag)
-                if (cr.isAdd != selectAllFlag)
-                    _selectionLength += numCells;
+                if (cr.isAdd)
+                    _selectionLength += numSelected;
                 else
-                    _selectionLength -= numCells;
+                    _selectionLength -= numSelected;
             }
         }

@@ -420,11 +420,12 @@
     }

     /**
-     *  If the selectionMode is GridSelectionMode.MULTIPLE_ROWS or
-     *  GridSelectionMode.MULTIPLE_CELLS, selects all the rows or
-     *  cells in the grid.
-     *
-     *  @return true if the list of selected items has changed from the last call.
+     *  If the selectionMode is GridSelectionMode.MULTIPLE_ROWS
+     *  selects all the rows in the grid and if selectionMode is
+     *  GridSelectionMode.MULTIPLE_CELLS, selects all the cells in
+     *  columns with visible set to true.
+     *
+     *  @return True if the selection changed.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -433,17 +434,18 @@
      */
     public function selectAll():Boolean
     {
-        if (selectionMode == GridSelectionMode.MULTIPLE_ROWS ||
-            selectionMode == GridSelectionMode.MULTIPLE_CELLS)
-        {
-            // Do this even if selectAllFlag is already true since there might
-            // be some removals that need to be cleared.
-            removeSelection();
-            selectAllFlag = true;
-            _selectionLength = -1;
-            return true;
-        }
-
+        const maxRows:int = getGridDataProviderLength();
+
+        if (selectionMode == GridSelectionMode.MULTIPLE_ROWS)
+        {
+            return setRows(0, maxRows);
+        }
+        else if (selectionMode == GridSelectionMode.MULTIPLE_CELLS)
+        {
+            const maxColumns:int = getGridColumnsLength();
+            return setCellRegion(0, 0, maxRows, maxColumns);
+        }
+
         return false;
      }

@@ -699,9 +701,11 @@
         const cellRegionsLength:int = cellRegions.length;

         if (cellRegionsLength == 0)
-            return selectAllFlag;
-
-        if (!selectAllFlag && cellRegionsLength == 1)
+            return false;
+
+        // Simple selection.
+
+        if (cellRegionsLength == 1)
         {
             const cr:CellRect = cellRegions[0];
             return (rowIndex >= cr.top && columnIndex >= cr.left &&
@@ -860,7 +864,7 @@
     {
         if (!validateCellRegion(rowIndex, columnIndex, rowCount, columnCount))
             return false;
-
+
         removeSelection();

         var startColumnIndex:int = columnIndex;
@@ -970,7 +974,7 @@

         // Is there an isAdd=true CellRegion that contains the cell?
         if (index == -1)
-            return selectAllFlag;
+            return false;

         // Starting with index, if any subsequent isAdd=false cell region
         // contains row,columnIndex return false.
@@ -978,10 +982,10 @@
         {
             cr = cellRegions[i];
             if (!cr.isAdd && cr.containsCell(rowIndex, columnIndex))
-                return selectAllFlag;
-        }
-
-        return !selectAllFlag;
+                return false;
+        }
+
+        return true;
     }

     /**
@@ -1025,7 +1029,6 @@
     private function removeSelection():void
     {
         cellRegions.length = 0;
-        selectAllFlag = false;
         _selectionLength = 0;
         selectedItem = null;
     }
@@ -1188,7 +1191,7 @@
         if (!regionsContainCell(rowIndex, columnIndex))
         {
             const cr:CellRect =
-                new CellRect(rowIndex, columnIndex, 1, 1, !selectAllFlag);
+                new CellRect(rowIndex, columnIndex, 1, 1, true);
             cellRegions.push(cr);

             // If the length is current before this add, just increment the
@@ -1207,7 +1210,7 @@
         if (regionsContainCell(rowIndex, columnIndex))
         {
             const cr:CellRect =
-                new CellRect(rowIndex, columnIndex, 1, 1, selectAllFlag);
+                new CellRect(rowIndex, columnIndex, 1, 1, false);
             cellRegions.push(cr);

             // If the length is current before this remove, just decrement the
@@ -1227,13 +1230,6 @@
      */
     private function getCellRegionsBounds():Rectangle
     {
-        if (selectAllFlag)
-        {
-            const width:int = isRowSelectionMode() ? 1 : getGridColumnsLength();
-            return new Rectangle(0, 0,
-                                 width, getGridDataProviderLength());
-        }
-
         var bounds:Rectangle = new Rectangle();
         const cellRegionsLength:int = cellRegions.length;
         for (var i:int = 0; i < cellRegionsLength; i++)
@@ -1395,7 +1391,7 @@
      *  @private
      *  If preserving the selection and the selected item is in the new view,
      *  keep the item selected.  Otherwise, clear the selection (or maintain one
-     *  if requireSelection is true), including the selectAllFlag if it is set.
+     *  if requireSelection is true).
      */
     private function handleRefreshAndReset(event:CollectionEvent):void
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 16721
Author:   hmuller@adobe.com
Date:     2010-06-29T18:29:14.826199Z

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

Added/revised DataGrid,Grid typicalItem property.   GridLayout now computes GridColumn widths, for columns without an explicit with, based on the typical item renderer's preferredBoundsWidth().  GridLayout does not yet give the ColumnHeaderBar a shot at increasing column widths based on its own items.  See GridLayout/updateVisibleColumnWidths().

Removed GridLayout override for typicalLayoutElement since it's not used.   And since typicalLayoutElement doesn't make sense, since one "typical" layout element is needed per column.   See GridLayout/createTypicalItemRenderer().

Removed GridLayout/getTypicalItemRenderer().

Removed (already commented out) HACK #1,#2 code.

Commented out body of GridLayout/measure() for now.   This is going to need work.

Removed explicit width values from DefaultColumnHeaderRenderer.

Changed DataGridSkin to use a VGroup to layout the ColumnHeaderBar and Grid.  We'll want to Change ColumnHeaderBarLayout to support an indent, rather than relying on the scheme I've installed for now.

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridColumnHeaderGroupLayout.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridColumnHeaderGroupLayout.as
@@ -211,6 +211,7 @@
             var elementWidth:Number;
             var elementHeight:Number;

+			/*
             // FIXME: this isn't right.  It isn't using a typicalItem.  And
             // it is only working because the DefaultColumnHeaderItemRenderer
             // has width set to 150, height set to 32.
@@ -227,7 +228,9 @@

             // FIXME: access this through cover method
             gridDimensions.setColumnWidth(columnIndex, elementWidth);
-
+			*/
+
+			elementWidth = gridDimensions.getColumnWidth(columnIndex);
             elementHeight = element.getPreferredBoundsHeight();

             element.setLayoutBoundsSize(elementWidth, elementHeight);


Transferred from the Adobe Open Source Subversion Repository

Revision: 18719
Author:   klin@adobe.com
Date:     2010-11-18T22:06:36.395894Z

Log Message:
-----------
Cleaned up TODOs and fixed some minor bugs.

GridDimensions.as, GridRowNode.as, Grid.as
-renamed insertValuesToVector to insertElementsToVector.
-renamed clear to clearHeights. clearHeights also doesn't reset rowCount anymore.
-optimized finding the max in GridRowNode a little.

GridColumn.as
-Invalidate the grid when headerRenderer changes. Removed the TODOs here because invalidating the Grid will cause IDataGridElements to be invalidated.
-Added Bindable metadata to rendererIsEditable.

(mx) DataGrid.as, FormItem.as, FormHeading.as
-Added Alternative metadata

QE notes: No
Doc notes: No
Bugs: SDK-27958
Reviewer: Hans, Carol
Tests run: cyclone server, checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Grid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridRowNode.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/containers/FormItem.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridColumnHeaderGroupLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/containers/FormHeading.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridDimensions.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridColumnHeaderGroupLayout.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridColumnHeaderGroupLayout.as
@@ -409,6 +409,7 @@
         var columnIndex:int = grid.getColumnIndexAt(paddedX, 0);

         // Special case for the stretched renderer above the vertical scrollbar
+        // TODO (klin): Rethink this case if we change how the last header looks.
         if (columnIndex < 0)
         {
             const contentWidth:Number = columnHeaderGroup.contentWidth;
@@ -822,6 +823,7 @@
      */
     private function columns_collectionChangeHandler(event:CollectionEvent):void
     {
+        // TODO (klin): The cache could be adjusted here too.
         switch (event.kind)
         {
             case CollectionEventKind.ADD:


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 21467
Author:   mhorn@adobe.com
Date:     2011-06-28T14:56:41.563223Z

Log Message:
-----------
Minor ASDoc changes
Fix for https://bugs.adobe.com/jira/browse/FLEXDOCS-539

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/utils/Base64Decoder.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/utils/Base64Encoder.as</path>

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

Modified Paths:
--------------
2361 paths were modified

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

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

 package spark.components
 {


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

--- frameworks/projects/spark/src/spark/core/IGraphicElement.as
+++ frameworks/projects/spark/src/spark/core/IGraphicElement.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-2006 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
 package spark.core
 {
 import flash.display.DisplayObject;


Transferred from the Adobe Open Source Subversion Repository

Revision: 9416
Author:   aharui@adobe.com
Date:     2009-08-20T02:15:38.365755Z

Log Message:
-----------
Revert 9399.  The prototypes broke mustella states tests.  Will try again later.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/SparkChromeWindowedApplicationSkin.mxml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NavigatorChild.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/IDeferredContentOwner.as" copyfrom-rev="9398" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/IDeferredContentOwner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.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/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NavBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/INavigatable.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/PanelSkin.mxml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/INavigatorContent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/PanelSkin.mxml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDeferredContentOwner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ApplicationSkin.mxml</path>

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

--- frameworks/projects/framework/src/mx/managers/FocusManager.as
+++ frameworks/projects/framework/src/mx/managers/FocusManager.as
@@ -838,14 +838,11 @@
         form.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownCaptureHandler, true);
         form.addEventListener(KeyboardEvent.KEY_DOWN, defaultButtonKeyHandler);
         form.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true);
-        if (sm)
-        {
-            // AIR Window events, but don't want to link in AIREvent
-            // use capture phase because these get sent by the main Window
-            // and we might be managing a popup in that window
-            sm.addEventListener("windowActivate", activateWindowHandler, true, 0, true);
-            sm.addEventListener("windowDeactivate", deactivateWindowHandler, true, 0, true);
-        }
+        // AIR Window events, but don't want to link in AIREvent
+        // use capture phase because these get sent by the main Window
+        // and we might be managing a popup in that window
+        sm.addEventListener("windowActivate", activateWindowHandler, true, 0, true);
+        sm.addEventListener("windowDeactivate", deactivateWindowHandler, true, 0, true);

         activated = true;
         dispatchEvent(new FlexEvent(FlexEvent.FLEX_WINDOW_ACTIVATE));


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

--- frameworks/projects/framework/src/mx/styles/IStyleManager2.as
+++ frameworks/projects/framework/src/mx/styles/IStyleManager2.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.styles
 {


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

--- frameworks/projects/framework/src/mx/validators/IValidator.as
+++ frameworks/projects/framework/src/mx/validators/IValidator.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2010 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: 8481
Author:   smgilson@adobe.com
Date:     2009-07-09T17:28:31.741329Z

Log Message:
-----------
First of several checkins to update the namespace in ASDoc MXML syntax descriptions for Spark components

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ToggleButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Range.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGroup.as</path>

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

--- frameworks/projects/spark/src/spark/components/VideoPlayer.as
+++ frameworks/projects/spark/src/spark/components/VideoPlayer.as
@@ -366,7 +366,7 @@
  *  attributes of its superclass and adds the following tag attributes:

  *
  *

- *  <VideoPlayer
+ *  <s:VideoPlayer

  *    Properties
  *    autoPlay="true"


Transferred from the Adobe Open Source Subversion Repository

Revision: 11675
Author:   hmuller@adobe.com
Date:     2009-11-12T00:25:39.300334Z

Log Message:
-----------
Added minValue,maxValue,etc Style/Inspectable metadata tags for tools.

QE notes:
Doc notes:
Bugs: sdk-24100
Reviewer: Glenn
Tests run:
Is noteworthy for integration: yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/EaseInOutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Fade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/VideoElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Rect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/styles/metadata/BasicNonInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientEntry.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Keyframe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/styles/metadata/AdvancedInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Range.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
@@ -328,7 +328,7 @@

     private var _paddingLeft:Number = 0;

-    [Inspectable(category="General")]
+    [Inspectable(category="General", minValue="0.0")]

     /**
      *  The minimum number of pixels between the container's left edge and
@@ -364,7 +364,7 @@

     private var _paddingRight:Number = 0;

-    [Inspectable(category="General")]
+    [Inspectable(category="General", minValue="0.0")]

     /**
      *  The minimum number of pixels between the container's right edge and
@@ -400,7 +400,7 @@

     private var _paddingTop:Number = 0;

-    [Inspectable(category="General")]
+    [Inspectable(category="General", minValue="0.0")]

     /**
      *  Number of pixels between the container's top edge
@@ -436,7 +436,7 @@

     private var _paddingBottom:Number = 0;

-    [Inspectable(category="General")]
+    [Inspectable(category="General", minValue="0.0")]

     /**
      *  Number of pixels between the container's bottom edge
@@ -472,7 +472,7 @@

     private var _requestedRowCount:int = -1;

-    [Inspectable(category="General")]
+    [Inspectable(category="General", minValue="-1")]

     /**
      *  The measured size of this layout is tall enough to display
@@ -514,7 +514,7 @@

     private var _rowHeight:Number;

-    [Inspectable(category="General")]
+    [Inspectable(category="General", minValue="0.0")]

     /**
      *  If variableRowHeight is false, then


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

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