Transferred from the Adobe Open Source Subversion Repository

Revision: 5770
Author:   gruehle@adobe.com
Date:     2009-03-30T20:58:54.529722Z

Log Message:
-----------
Add [Alternative] metadata to the Halo components that have a Gumbo replacement.

Bugs: SDK-20190
QA notes: none
Doc notes: Additional ASDoc comments added for many of the classes. These should all be reviewed.
Reviewer: Chet

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TileList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Zoom.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToggleButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/HBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButtonGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Cubic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Fade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/RemoveChildAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/TweenEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeRight.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/VBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Glow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Quartic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Box.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeLeft.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Quintic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Tween.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Tile.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Quadratic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/AddChildAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeDown.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/SetPropertyAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Canvas.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Blur.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/LinkBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HorizontalList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeUp.as</path>

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

--- frameworks/projects/mx/src/mx/effects/WipeRight.as
+++ frameworks/projects/mx/src/mx/effects/WipeRight.as
@@ -13,6 +13,13 @@
 {

 import mx.effects.effectClasses.WipeRightInstance;
+
+/**
+ *  The direction-specific Wipe effects in Flex 3 have been replaced by a more generic
+ *  Wipe effect that takes a generic direction. To get similar behavior from the new
+ *  Wipe effect, set the direction parameter appropriately.
+ */
+[Alternative(replacement="spark.effects.Wipe", since="4.0")]

 /**
  *  The WipeRight class defines a bar wipe right effect.


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

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

 package mx.messaging.events
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 7115
Author:   jszeto@adobe.com
Date:     2009-05-20T05:39:23.225806Z

Log Message:
-----------
Changed how components are disabled

SDK-20196 Re-work disabled logic in Spark components
SDK-20197 Remove enableSkinParts() from TrackBase and Spinner

Changed the way that components, in particular, composite components, are disabled. Moved the enabled/disabled logic from SkinnableContainerBase down to SkinnableComponent. Disabled components now prevent mouse interaction with the component and its children. The skin handles the appearance of the component in the disabled state. The Spark skins currently set their alpha to .5.

Composite components like Spinner, and TrackBase no longer disabled their component skin parts.

QE Notes: None
Doc Notes: None
Bugs: SDK-20196, 20197
Reviewer: Ryan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableContainerBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayerVolumeBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
@@ -137,56 +137,51 @@
      *  @private
      */
     private static const EDITABLE_PROPERTY_FLAG:uint = 1 << 3;
-
-    /**
-     *  @private
-     */
-    private static const ENABLED_PROPERTY_FLAG:uint = 1 << 4;
-
-    /**
-     *  @private
-     */
-    private static const HEIGHT_IN_LINES_PROPERTY_FLAG:uint = 1 << 5;
-
-    /**
-     *  @private
-     */
-    private static const IME_MODE_PROPERTY_FLAG:uint = 1 << 6;
-
-    /**
-     *  @private
-     */
-    private static const MAX_CHARS_PROPERTY_FLAG:uint = 1 << 7;
+
+    /**
+     *  @private
+     */
+    private static const HEIGHT_IN_LINES_PROPERTY_FLAG:uint = 1 << 4;
+
+    /**
+     *  @private
+     */
+    private static const IME_MODE_PROPERTY_FLAG:uint = 1 << 5;
+
+    /**
+     *  @private
+     */
+    private static const MAX_CHARS_PROPERTY_FLAG:uint = 1 << 6;

     /**
      *  @private
      */
-    private static const MAX_WIDTH_PROPERTY_FLAG:uint = 1 << 8;
-
-    /**
-     *  @private
-     */
-    private static const RESTRICT_PROPERTY_FLAG:uint = 1 << 9;
-
-    /**
-     *  @private
-     */
-    private static const SELECTABLE_PROPERTY_FLAG:uint = 1 << 10;
-
-    /**
-     *  @private
-     */
-    private static const SELECTION_VISIBILITY_PROPERTY_FLAG:uint = 1 << 11;
-
-    /**
-     *  @private
-     */
-    private static const TEXT_PROPERTY_FLAG:uint = 1 << 12;
-
-    /**
-     *  @private
-     */
-    private static const WIDTH_IN_CHARS_PROPERTY_FLAG:uint = 1 << 13;
+    private static const MAX_WIDTH_PROPERTY_FLAG:uint = 1 << 7;
+
+    /**
+     *  @private
+     */
+    private static const RESTRICT_PROPERTY_FLAG:uint = 1 << 8;
+
+    /**
+     *  @private
+     */
+    private static const SELECTABLE_PROPERTY_FLAG:uint = 1 << 9;
+
+    /**
+     *  @private
+     */
+    private static const SELECTION_VISIBILITY_PROPERTY_FLAG:uint = 1 << 10;
+
+    /**
+     *  @private
+     */
+    private static const TEXT_PROPERTY_FLAG:uint = 1 << 11;
+
+    /**
+     *  @private
+     */
+    private static const WIDTH_IN_CHARS_PROPERTY_FLAG:uint = 1 << 12;

     //--------------------------------------------------------------------------
     //
@@ -229,81 +224,6 @@
     //  Overridden properties: UIComponent
     //
     //--------------------------------------------------------------------------
-
-    //----------------------------------
-    //  mouseChildren
-    //----------------------------------
-
-    private var _explicitMouseChildren:Boolean = true;
-
-    /**
-     *  @private
-     */
-    override public function set mouseChildren(value:Boolean):void
-    {
-        if (enabled)
-            super.mouseChildren = value;
-        _explicitMouseChildren = value;
-    }
-
-    //----------------------------------
-    //  mouseEnabled
-    //----------------------------------
-
-    private var _explicitMouseEnabled:Boolean = true;
-
-    /**
-     *  @private
-     */
-    override public function set mouseEnabled(value:Boolean):void
-    {
-        if (enabled)
-            super.mouseEnabled = value;
-        _explicitMouseEnabled = value;
-    }
-
-    //----------------------------------
-    //  enabled
-    //----------------------------------
-
-    /**
-     *  @private
-     */
-    override public function get enabled():Boolean
-    {
-        if (textView)
-            return textView.enabled;
-
-        return super.enabled;
-    }
-
-    /**
-     *  @private
-     */
-    override public function set enabled(value:Boolean):void
-    {
-        if (value == enabled)
-            return;
-
-        // This deviates from the standard setter pattern because enabled
-        // is a property of this component.  We don't have to store enabled in
-        // textViewProperties when the textView doesn't exist.
-
-        if (textView)
-        {
-            textView.enabled = value;
-            textViewProperties = BitFlagUtil.update(
-                uint(textViewProperties), ENABLED_PROPERTY_FLAG, true);
-        }
-
-        super.enabled = value;
-        invalidateSkinState();
-
-        // If enabled, reset the mouseChildren, mouseEnabled to the previously
-        // set explicit value, otherwise disable mouse interaction.
-        super.mouseChildren = value ? _explicitMouseChildren : false;
-        super.mouseEnabled  = value ? _explicitMouseEnabled  : false;
-    }

     //----------------------------------
     //  baselinePosition
@@ -1192,13 +1112,7 @@
             textView.editable = textViewProperties.editable;
              newTextViewProperties = BitFlagUtil.update(
                 uint(newTextViewProperties), EDITABLE_PROPERTY_FLAG, true);
-       }
-
-        // enabled is special and comes from the super class rather than from
-        // textViewProperties.
-        textView.enabled = super.enabled;
-        newTextViewProperties = BitFlagUtil.update(
-            uint(newTextViewProperties), ENABLED_PROPERTY_FLAG, true);
+        }

         if (textViewProperties.heightInLines !== undefined)
         {
@@ -1293,17 +1207,6 @@

         if (BitFlagUtil.isSet(uint(textViewProperties), EDITABLE_PROPERTY_FLAG))
             newTextViewProperties.editable = textView.editable;
-
-        // enabled is special and is stored in the super class rather than in
-        // textViewProperties.  And if it changes, need to update the skin.
-        if (BitFlagUtil.isSet(uint(textViewProperties), ENABLED_PROPERTY_FLAG))
-        {
-            if (super.enabled != textView.enabled)
-            {
-                super.enabled = textView.enabled;
-                invalidateSkinState();
-            }
-        }

         if (BitFlagUtil.isSet(uint(textViewProperties),
             HEIGHT_IN_LINES_PROPERTY_FLAG))


Transferred from the Adobe Open Source Subversion Repository

Revision: 22752
Author:   jasonsj@adobe.com
Date:     2011-09-27T21:08:29.301855Z

Log Message:
-----------
Enable minimum hit area for all mobile skins

QE notes: ViewMenu failures have been excluded per Ella. Need to update tests with either  ViewMenuItems that meet minimum size requirements or use non-ambiguous click coordinates.
Doc notes:
Bugs:
SDK-31494 Hit area for beveled button skins needs to be bigger
Reviewer: gruehle
Tests run: checkintests, mustella-mobile
Is noteworthy for integration: no

Modified Paths:
--------------
/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as
@@ -108,10 +108,10 @@

     /**
      *  @private
-     *  Toggles transparent, centered, hit-area if the unscaled size is less
+     *  Toggles transparent, centered hit-area if the unscaled size is less
      *  than one-quarter inch square. Physical size is based on applicationDPI.
      */
-    mx_internal var useMinimumHitArea:Boolean = false;
+    mx_internal var useMinimumHitArea:Boolean = true;

     /**
      *  Specifies a default width. measuredWidth returns this value


FLEX-28982.  Fix null object reference in set openButton.

git-svn-id: 7d913817b0a978d84de757191e4bce372605a781@1398975 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as
@@ -105,7 +105,8 @@

         _openButton = value;

-        _openButton.disableMinimumDownStateTime = true;
+        if (_openButton)
+        	_openButton.disableMinimumDownStateTime = true;

         addOpenTriggers();


Transferred from the Adobe Open Source Subversion Repository

Revision: 6443
Author:   rfrishbe@adobe.com
Date:     2009-04-30T22:46:07.257552Z

Log Message:
-----------
Renaming SkinnableComponent's loadSkin() and unloadSkin() skinning lifecycle methods to createSkin() and destroySkin() as no loading actually occurs here.

Also fixing up a few ASDoc bugs in the videoplayer stuff.  Also, checking in modifications to TrackBase, which was a file I missed yesterday when checking in.  The changes add 3 new events to TrackBase and clean it up so the setters don't do any extra work if it's being set to the same value as it was before.

QE Notes: -
Doc Notes: -
Bugs: SDK-19779
Reviewer: Jason
tests: checkintests, mustella SkinnableComponent tests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/VideoElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayerScrubBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayerVolumeBarMuteButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayerVolumeBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as
@@ -168,7 +168,7 @@
     /**
      *  The instance of the skin class for this component instance.
      *  This is a read-only property that you set
-     *  by calling the loadSkin() method.
+     *  by calling the createSkin() method.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -276,8 +276,8 @@
         if (!skipReload)
         {
             if (skin)
-                unloadSkin();
-            loadSkin();
+                destroySkin();
+            createSkin();
         }
     }

@@ -458,7 +458,7 @@
     //--------------------------------------------------------------------------

     /**
-     *  Load the skin for the component.
+     *  Create the skin for the component.
      *  You do not call this method directly.
      *  Flex calls it automatically when it calls
      *  the UIComponent.commitProperties() method.
@@ -473,7 +473,7 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    protected function loadSkin():void
+    protected function createSkin():void
     {
         // Factory
         var skinClassFactory:IFactory = getStyle("skinFactory") as IFactory;
@@ -529,7 +529,7 @@
     /**
      *  Find the skin parts in the skin class and assign them to the properties of the component.
      *  You do not call this method directly.
-     *  Flex calls it automatically when it calls the loadSkin() method.
+     *  Flex calls it automatically when it calls the createSkin() method.
      *  Typically, a subclass of SkinnableComponent does not override this method.
      *
      *  @langversion 3.0
@@ -565,7 +565,7 @@
     /**
      *  Clear out references to skin parts.
      *  You do not call this method directly.
-     *  Flex calls it automatically when it calls the unloadSkin() method.
+     *  Flex calls it automatically when it calls the destroySkin() method.
      *
      *
Typically, subclasses of SkinnableComponent do not override this method.

      *
@@ -600,7 +600,7 @@
     }

     /**
-     *  Unload the skin for this component.
+     *  Destroys and removes the skin for this component.
      *  You do not call this method directly.
      *  Flex calls it automatically when a skin is changed at runtime.
      *
@@ -613,7 +613,7 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    protected function unloadSkin():void
+    protected function destroySkin():void
     {
         skin.removeEventListener(PropertyChangeEvent.PROPERTY_CHANGE, skin_propertyChangeHandler);

@@ -632,7 +632,7 @@
     /**
      *  Called when a skin part is added.
      *  You do not call this method directly.
-     *  For static parts, Flex calls it automatically when it calls the loadSkin() method.
+     *  For static parts, Flex calls it automatically when it calls the createSkin() method.
      *  For dynamic parts, Flex calls it automatically when it calls
      *  the createDynamicPartInstance() method.
      *
@@ -657,7 +657,7 @@
     /**
      *  Called when an instance of a skin part is being removed.
      *  You do not call this method directly.
-     *  For static parts, Flex calls it automatically when it calls the unloadSkin() method.
+     *  For static parts, Flex calls it automatically when it calls the destroySkin() method.
      *  For dynamic parts, Flex calls it automatically when it calls
      *  the removeDynamicPartInstance() method.
      *


Transferred from the Adobe Open Source Subversion Repository

Revision: 19922
Author:   hmuller@adobe.com
Date:     2011-01-25T00:18:22.191168Z

Log Message:
-----------
Moved the tooltip initialization code in TextFieldGridItemRendererInclude/validateDisplayList() updatePreferredSize() (same file) and factored it into an mx_internal static utility method in GridItemRenderer.

QE notes: 24 failures: 21 new bitmaps needed, 3 others also need to move the mouse (Jacob)
Doc notes:
Bugs: SDK-28616
Reviewer: Carol
Tests run: checkin, mustella
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/UITextFieldGridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/TextFieldGridItemRendererInclude.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultGridItemRenderer.as</path>

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

--- frameworks/projects/spark/src/spark/skins/spark/TextFieldGridItemRendererInclude.as
+++ frameworks/projects/spark/src/spark/skins/spark/TextFieldGridItemRendererInclude.as
@@ -631,7 +631,10 @@
             preferredHeight  = Math.abs((paddedTextHeight * m.a / m.d));
         }

+        GridItemRenderer.initializeRendererToolTip(this);
+
         preferredSizeInvalid = false;
+
     }

     /**
@@ -643,19 +646,6 @@
             return;

         updatePreferredSize();
-
-		// If the effective value of showDataTips has changed for this column, then
-        // set the renderer's toolTip property to a placeholder.  The real tooltip
-        // text is computed in the TOOL_TIP_SHOW handler below.
-
-        // TBD(hmuller) - this code should be common with GridItemRenderer
-
-        const showDataTips:Boolean = rowIndex != -1 && column && column.getShowDataTips();
-        const dataTip:String = toolTip;
-        if (showDataTips && !dataTip)
-            toolTip = "<dataTip>";
-        else if (!showDataTips && dataTip)
-            toolTip = null;
     }

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


added scaleRectToRect

added scaleRectToRect

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

--- src/reprise/utils/GeomUtil.as
+++ src/reprise/utils/GeomUtil.as
@@ -11,14 +11,17 @@

 package reprise.utils
 {
-	import flash.geom.Matrix;
+	import flash.geom.Matrix;
+	import flash.geom.Rectangle;

 	public class GeomUtil
 	{
+
 		/***************************************************************************
 		*							private properties							   *
 		***************************************************************************/
 		private static const MATRIX_MAPPINGS : Array = ['a', 'c', 'b', 'd', 'tx', 'ty'];
+

 		/***************************************************************************
@@ -34,6 +37,7 @@
 			return 'matrix(' + matrix.a + ', ' + matrix.c + ', ' + matrix.b + ', ' +
 				matrix.d + ', ' + matrix.tx + ', ' + matrix.ty + ')';
 		}
+
 		public static function CSSMatrixParametersToMatrix(matrixParameters : Array) : Matrix
 		{
 			var mappings : Array = MATRIX_MAPPINGS;
@@ -44,5 +48,54 @@
 			}
 			return matrix;
 		}
+
+		public static function scaleRectToRect(sourceRect : Rectangle, targetRect : Rectangle,
+			keepRatio : Boolean = true, allowUpscale:Boolean = false) : void
+		{
+			if(!keepRatio)
+			{
+				sourceRect.width = targetRect.width - sourceRect.x;
+				sourceRect.height = targetRect.height - sourceRect.y;
+				return;
+			}
+
+			var ratio:Number;
+			// rect is too small
+			if (sourceRect.width <= targetRect.width && sourceRect.height <= targetRect.height)
+			{
+				if (!allowUpscale)
+				{
+					return;
+				}
+				ratio = Math.max(targetRect.width / sourceRect.width,
+					targetRect.height / sourceRect.height);
+				sourceRect.width *= ratio;
+				sourceRect.height *= ratio;
+				return;
+			}
+
+			// rect is too tall
+			if (sourceRect.width <= targetRect.width)
+			{
+				ratio = targetRect.height / sourceRect.height;
+				sourceRect.height = targetRect.height;
+				sourceRect.width *= ratio;
+			}
+			// rect is too wide
+			else if (sourceRect.height <= targetRect.height)
+			{
+				ratio = targetRect.width / sourceRect.width;
+				sourceRect.width = targetRect.width;
+				sourceRect.height *= ratio;
+			}
+			// rect is too wide and too tall
+			else
+			{
+				ratio = Math.min(targetRect.width / sourceRect.width,
+					targetRect.height / sourceRect.height);
+				sourceRect.width *= ratio;
+				sourceRect.height *= ratio;
+			}
+		}
 	}
 }


Updated the test to new method signatures.

--- exporter/src/test/as/flump/test/PublishTest.as
+++ exporter/src/test/as/flump/test/PublishTest.as
@@ -16,14 +16,15 @@
 public class PublishTest
 {
     public function PublishTest (runner :TestRunner, lib :XflLibrary) {
-        _lib = lib;
+        _lib = new <XflLibrary>[lib];
         runner.run("Publish XML", makePublishTest("xml", XMLFormat));
         runner.run("Publish JSON", makePublishTest("json", JSONFormat));
         runner.run("Publish JSONZip", makePublishTest("jsonzip", JSONZipFormat,
             function (output :File) :void {  new StarlingResourcesTest(runner, output); }));
     }

-    protected function makePublishTest (name :String, formatClass :Class, postPublish :Function=null) :Function {
+    protected function makePublishTest (name :String, formatClass :Class,
+            postPublish :Function=null) :Function {
         return function () :void {
             const exportDir :File = TestRunner.dist.resolvePath("test/publish" + name);
             if (exportDir.exists) exportDir.deleteDirectory(/*deleteDirectoryContents=*/true);
@@ -34,15 +35,16 @@
             project.exportDir = "starling";
             project.exports = [conf];
             const pub :Publisher = new Publisher(exportDir, project, "Test Project");
-            assert(pub.modified(_lib), "Lack of output should indicate modified");
-            pub.publish(_lib);
-            assert(!pub.modified(_lib), "Shouldn't be modified after publishing");
+            assert(pub.modified(_lib, 0), "Lack of output should indicate modified");
+            pub.publishSingle(_lib[0]);
+            assert(!pub.modified(_lib, 0), "Shouldn't be modified after publishing");
             if (postPublish != null) {
-                postPublish(conf.createPublishFormat(exportDir, _lib)["outputFile"]);
+                postPublish(
+                    conf.createPublishFormat(exportDir, _lib, "Text Project")["outputFile"]);
             }
         }
     }

-    protected var _lib :XflLibrary;
+    protected var _lib :Vector.<XflLibrary>;
 }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5101
Author:   gauravj@adobe.com
Date:     2009-02-27T05:22:45.887116Z

Log Message:
-----------
Update action script files with asdoc version tags.

QE Notes: None.
Doc Notes: Please review and update as necessary.
tests: checkintests

Modified Paths:
--------------
663 paths were modified

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

--- frameworks/projects/mx/src/mx/controls/List.as
+++ frameworks/projects/mx/src/mx/controls/List.as
@@ -88,6 +88,11 @@
  *  attempts to edit an item.
  *
  *  @eventType mx.events.ListEvent.ITEM_EDIT_BEGINNING
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="itemEditBeginning", type="mx.events.ListEvent")]

@@ -96,6 +101,11 @@
  *  and the item can be edited.
  *
  *  @eventType mx.events.ListEvent.ITEM_EDIT_BEGIN
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="itemEditBegin", type="mx.events.ListEvent")]

@@ -103,6 +113,11 @@
  *  Dispatched when an item editing session is ending for any reason.
  *
  *  @eventType mx.events.ListEvent.ITEM_EDIT_END
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="itemEditEnd", type="mx.events.ListEvent")]

@@ -113,6 +128,11 @@
  *  Only dispatched if the list item is editable.
  *
  *  @eventType mx.events.ListEvent.ITEM_FOCUS_IN
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="itemFocusIn", type="mx.events.ListEvent")]

@@ -124,6 +144,11 @@
  *  Only dispatched if the list item is editable.
  *
  *  @eventType mx.events.ListEvent.ITEM_FOCUS_OUT
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="itemFocusOut", type="mx.events.ListEvent")]

@@ -139,6 +164,11 @@
  *  to configure the data effect.

  *
  * @default undefined
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Effect(name="itemsChangeEffect", event="itemsChange")]

@@ -214,6 +244,11 @@
  *  @includeExample examples/SimpleList.mxml
  *
  *  @see mx.events.ListEvent
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class List extends ListBase implements IIMESupport
 {
@@ -239,6 +274,11 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function List()
     {
@@ -291,6 +331,11 @@
      *  and, therefore, the data type of the item editor instance.

      *
      *
You do not set this property in MXML.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var itemEditorInstance:IListItemRenderer;

@@ -302,6 +347,11 @@
      *  and itemEditEnd events,
      *  you can access the current value of the item being edited
      *  using the editedItemRenderer.data property.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get editedItemRenderer():IListItemRenderer
     {
@@ -335,6 +385,11 @@

     /**
      *  cache of measuring objects by factory
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected var measuringObjects:Dictionary;

@@ -412,6 +467,11 @@
      *  The user can click on an item renderer to open an editor.
      *
      *  @default false
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var editable:Boolean = false;

@@ -426,6 +486,11 @@
      *  editable property is set to true.
      *
      *  @default new ClassFactory(mx.controls.TextInput)
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var itemEditor:IFactory = new ClassFactory(TextInput);

@@ -442,6 +507,11 @@
      *  TextInput, so the default value of the editorDataField property is
      *  "text", which specifies the text property of the
      *  the TextInput control.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var editorDataField:String = "text";

@@ -461,6 +531,11 @@
      *  item renderer that opens an editor.

      *
      *  @default 0
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var editorHeightOffset:Number = 0;

@@ -480,6 +555,11 @@
      *  item renderer that opens an editor.

      *
      *  @default 0
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var editorWidthOffset:Number = 0;

@@ -500,6 +580,11 @@
      *  item renderer that opens an editor.

      *
      *  @default 0
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var editorXOffset:Number = 0;

@@ -520,6 +605,11 @@
      *  item renderer that opens an editor.

      *
      *  @default 0
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var editorYOffset:Number = 0;

@@ -539,6 +629,11 @@
      *  item renderer that opens an editor.

      *
      *  @default false
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var editorUsesEnterKey:Boolean = false;

@@ -606,6 +701,11 @@
      *  dispatches the itemEditBegin event to
      *  open an item editor on the specified item,
      *

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get editedItemPosition():Object
     {
@@ -673,6 +773,11 @@
      *  ignores the itemEditor property.
      *
      *  @default false
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var rendererIsEditor:Boolean = false;

@@ -700,6 +805,11 @@
      *  @see flash.system.IMEConversionMode
      *
      *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get imeMode():String
     {
@@ -1121,6 +1231,11 @@
      *
      *  @param dataIndex The index of the item for that row in the
      *  data provider. For example, this can be used to color the 10th item differently.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function drawRowBackground(s:Sprite, rowIndex:int,
                                             y:Number, height:Number, color:uint, dataIndex:int):void
@@ -1410,6 +1525,11 @@
      *  @param y The suggested y position for the indicator.
      *  @param w The suggested width for the indicator.
      *  @param h The suggested height for the indicator.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function layoutEditor(x:int, y:int, w:int, h:int):void
     {
@@ -1531,6 +1651,11 @@
      *  @param rowNum The index of the item in the data provider.
      *
      *  @return A newly constructed ListData object.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function makeListData(data:Object, uid:String,
                                  rowNum:int):BaseListData
@@ -1774,6 +1899,11 @@
      *  @param data The object from which the item renderer is created.
      *
      *  @return The renderer.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function createItemRenderer(data:Object):IListItemRenderer
     {
@@ -2014,6 +2144,11 @@
      *
      *  @param rowIndex The index in the data provider of the item to be
      *  edited.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function createItemEditor(colIndex:int, rowIndex:int):void
     {
@@ -2122,6 +2257,11 @@
      *  for the itemEditEnd event, after
      *  you call the preventDefault() method to prevent
      *  the default event listener from executing.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function destroyItemEditor():void
     {
@@ -2169,6 +2309,11 @@
      *  Otherwise, false.
      *
      *  @see mx.events.ListEventReason
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function endEdit(reason:String):Boolean
     {
@@ -2207,6 +2352,11 @@
      *
      *  @param data The data provider item
      *  @return true if the item is editable
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function isItemEditable(data:Object):Boolean
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5770
Author:   gruehle@adobe.com
Date:     2009-03-30T20:58:54.529722Z

Log Message:
-----------
Add [Alternative] metadata to the Halo components that have a Gumbo replacement.

Bugs: SDK-20190
QA notes: none
Doc notes: Additional ASDoc comments added for many of the classes. These should all be reviewed.
Reviewer: Chet

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TileList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Zoom.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToggleButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/HBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButtonGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Cubic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Fade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/RemoveChildAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/TweenEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeRight.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/VBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Glow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Quartic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Box.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeLeft.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Quintic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Tween.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Tile.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Quadratic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/AddChildAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeDown.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/SetPropertyAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Canvas.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Blur.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/LinkBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HorizontalList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeUp.as</path>

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

--- frameworks/projects/mx/src/mx/controls/List.as
+++ frameworks/projects/mx/src/mx/controls/List.as
@@ -171,6 +171,8 @@
  *  @productversion Flex 3
  */
 [Effect(name="itemsChangeEffect", event="itemsChange")]
+
+[Alternative(replacement="spark.components.List", since="4.0")]

 /**
  *  The List control displays a vertical list of items.


this change goes with msoy r3274

this change goes with msoy r3274

git-svn-id: a3e1eb16dde062992de22c830ed8045c8013209a@249 c613c5cb-e716-0410-b11b-feb51c14d237

--- src/as/com/threerings/ezgame/client/EZGameConfigurator.as
+++ src/as/com/threerings/ezgame/client/EZGameConfigurator.as
@@ -44,11 +44,10 @@
      * Set a String of configData, which is hopefully XML formatted with
      * some game configuration options.
      */
-    public function setXMLConfig (configData :String) :void
+    public function setXMLConfig (config :XML) :void
     {
         var log :Log = Log.getLog(this);

-        var config :XML = XML(configData);
         for each (var param :XML in config..params.children()) {
             if (StringUtil.isBlank(param.@ident)) {
                 log.warning("Bad configuration option: no 'ident' in " +


Fixed NPE found by Sigalig Whirligig.

Fixed NPE found by Sigalig Whirligig.

I find this super annoying about flash:
    for (propName in objRef) { // this works fine if objRef is null
    if (propName in objRef) { // this NPEs if objRef is null

git-svn-id: b675b909355d5cf946977f44a8ec5a6ceb3782e4@634 ed5b42cb-e716-0410-a449-f6a68f950b19

--- src/as/com/threerings/flash/TextFieldUtil.as
+++ src/as/com/threerings/flash/TextFieldUtil.as
@@ -102,7 +102,7 @@
     {
         var tf :TextField = (clazz == null) ? new TextField() : TextField(new clazz());

-        if ("outlineColor" in initProps) {
+        if ((initProps != null) && ("outlineColor" in initProps)) {
             tf.filters = [ new GlowFilter(uint(initProps["outlineColor"]), 1, 2, 2, 255) ];
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 12469
Author:   jimurphy@adobe.com
Date:     2009-12-03T22:04:16.560316Z

Log Message:
-----------
fix offsets for FB.  Convert line ending from lf to crlf in svn for the proects directory only.  When checking project files in, be sure to save you files this way.  Another update to make sure happens is set the svn properties svn:eol-style = native and svn:mime-type = text/plain (these have been updated on theses files as well)

QE notes: make sure the proper class is selected
Doc notes: no
Bugs: http://bugs.adobe.com/jira/browse/SDK-24498
Reviewer:
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
133 paths were modified

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

--- frameworks/projects/spark/src/spark/effects/interpolation/MultiValueInterpolator.as
+++ frameworks/projects/spark/src/spark/effects/interpolation/MultiValueInterpolator.as
@@ -187,4 +187,4 @@
     }

 }
-}+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 17852
Author:   chiedozi@adobe.com
Date:     2010-09-24T21:27:53.988157Z

Log Message:
-----------
MobileApplicationBase now listens for application invoke events
The stage focus is now properly restored when an app is relaunched after being suspended by the OS
Fixed a small issue where a view wouldn't receive a viewDeactive event when the application closed

QE notes:
Doc notes:
Bugs: SDK-27943, SDK-27925
Reviewer: Ryan
Tests run:
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedMobileApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileApplicationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as
+++ frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as
@@ -32,8 +32,8 @@
 import mx.resources.ResourceManager;

 import spark.components.supportClasses.ButtonBarBase;
+import spark.components.supportClasses.ViewNavigatorBase;
 import spark.core.ContainerDestructionPolicy;
-import spark.components.supportClasses.ViewNavigatorBase;
 import spark.effects.Animate;
 import spark.effects.animation.MotionPath;
 import spark.effects.animation.SimpleMotionPath;
@@ -657,12 +657,18 @@
                     updatePropertiesForView(navigator.activeView);
                     navigator.activeView.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE,
                                                             view_propertyChangeHandler);
+
+                    // Force the stage focus to be the activated view
+                    systemManager.stage.focus = activeView;
                 }
             }

             selectedIndexAdjusted = false;
             dataProviderChanged = false;
             selectedIndexChanged = false;
+
+            // Dispatch a complete event
+            dispatchEvent(new Event(Event.COMPLETE));
         }

         if (tabBarVisibilityChanged)


Transferred from the Adobe Open Source Subversion Repository

Revision: 8615
Author:   dsubrama@adobe.com
Date:     2009-07-16T00:06:27.325362Z

Log Message:
-----------
Added in enumerations to Inspectable metadata for a bunch of properties.

Reviewer: Ryan
QA: Yes, regress
Doc: No
Checkintests: Pass

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.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/styles/metadata/BasicInheritingTextStyles.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/layouts/supportClasses/LayoutBase.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/core/IDeferredContentOwner.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/layouts/VerticalLayout.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/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/BitmapImage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/VideoElement.as</path>

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

--- frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.as
+++ frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.as
@@ -27,7 +27,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="baselineShift", type="Object", inherit="yes")]
+[Style(name="baselineShift", type="Object", inherit="yes", enumeration="superscript,subscript,inherit")]

 /**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#breakOpportunity
@@ -87,7 +87,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="direction", type="String", enumeration="ltr,rtl", inherit="yes")]
+[Style(name="direction", type="String", enumeration="ltr,rtl,inherit", inherit="yes")]

 /**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#dominantBaseline


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

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


リファクタ

リファクタ

--- project/SoundConductor/src/jp/hiiragi/managers/soundConductor/SoundGeneratorEngine.as
+++ project/SoundConductor/src/jp/hiiragi/managers/soundConductor/SoundGeneratorEngine.as
@@ -154,6 +154,7 @@
 //  Event handlers
 //
 //--------------------------------------------------------------------------
+
 		private function onSampleDataEvent(event:SampleDataEvent):void
 		{
 			var i:int = 0;
@@ -179,6 +180,7 @@

 					if (playingData.status == SoundStatusType.PAUSED)
 					{
+						// 何もしない
 					}
 					else
 					{
@@ -195,9 +197,6 @@
 							playingData.dispose();
 						}
 					}
-
-
-
 				}
 			}

@@ -228,7 +227,6 @@
 					event.data.writeFloat(leftValue);
 					event.data.writeFloat(rightValue);
 				}
-
 			}

 		}


Added support for 480dpi

Added support for 480dpi

--- frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreenImageSource.as
+++ frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreenImageSource.as
@@ -130,7 +130,7 @@
     //  dpi
     //----------------------------------

-    [Inspectable(category="General", enumeration="160,240,320")]
+    [Inspectable(category="General", enumeration="160,240,320,480")]

     /**
      *  The required DPI of the device to display the associated image.


[CEXP-257] MicrophoneLevelEvent: removed senseless test

--- src/test/flashwavrecorder/MicrophoneLevelEventTest.as
+++ src/test/flashwavrecorder/MicrophoneLevelEventTest.as
@@ -6,12 +6,6 @@

 public class MicrophoneLevelEventTest {
   private var microphoneLevelEvent:MicrophoneLevelEvent;
-
-  [Test]
-  public function should_have_static_constant_property_in_type_of_string():void {
-    // then
-    assertThat(MicrophoneLevelEvent.LEVEL_VALUE, isA(String));
-  }

   [Test]
   public function should_have_type_property_equal_to_its_static_constant_property():void {


Letting JavaScript handle JSON.stringify() errors

--- WeaveAPI/src/JavaScript.as
+++ WeaveAPI/src/JavaScript.as
@@ -263,16 +263,14 @@
 		 */
 		private static function _jsonCall(methodId:String, paramsJson:String):String
 		{
+			ExternalInterface.marshallExceptions = true; // let the external code handle errors
+
 			var method:Function = _jsonReviver('', methodId) as Function;
 			if (method == null)
 				throw new Error('No method with id="' + methodId + '"');

 			var params:Array = json.parse(paramsJson, _jsonReviver);
-
-			ExternalInterface.marshallExceptions = true; // let the external code handle errors from the method
 			var result:* = method.apply(null, params);
-			ExternalInterface.marshallExceptions = false; // any other errors should be handled by flash
-
 			var resultJson:String = json.stringify(result, _jsonReplacer) || 'undefined';

 			// work around unescaped backslash bug


DebugEffect now implements IRenderingEffect

--- src/aerys/minko/render/effect/debug/DebugEffect.as
+++ src/aerys/minko/render/effect/debug/DebugEffect.as
@@ -1,16 +1,17 @@
 package aerys.minko.render.effect.debug
 {
+	import aerys.minko.render.effect.IRenderingEffect;
 	import aerys.minko.render.effect.SinglePassEffect;
 	import aerys.minko.render.effect.animation.AnimationShaderPart;
 	import aerys.minko.render.effect.animation.AnimationStyle;
 	import aerys.minko.render.shader.SValue;
+	import aerys.minko.scene.data.StyleStack;
 	import aerys.minko.scene.data.TransformData;
-	import aerys.minko.scene.data.StyleStack;
 	import aerys.minko.type.animation.AnimationMethod;

 	import flash.utils.Dictionary;

-	public class DebugEffect extends SinglePassEffect
+	public class DebugEffect extends SinglePassEffect implements IRenderingEffect
 	{
 		private const COLOR			: SValue	= float4(.5, .5, .5, 1.);


creating a new map tool now opens the attr selector

--- WeaveClient/src/weave/VisApplication.as
+++ WeaveClient/src/weave/VisApplication.as
@@ -65,6 +65,7 @@
 	import weave.core.SessionStateLog;
 	import weave.core.StageUtils;
 	import weave.core.weave_internal;
+	import weave.data.AttributeColumns.DynamicColumn;
 	import weave.data.DataSources.WeaveDataSource;
 	import weave.data.KeySets.KeyFilter;
 	import weave.data.KeySets.KeySet;
@@ -103,6 +104,8 @@
 	import weave.ui.controlBars.WeaveMenuItem;
 	import weave.utils.ColumnUtils;
 	import weave.utils.DebugUtils;
+	import weave.visualization.layers.SelectablePlotLayer;
+	import weave.visualization.plotters.GeometryPlotter;
 	import weave.visualization.tools.CollaborationTool;
 	import weave.visualization.tools.ColorBinLegendTool;
 	import weave.visualization.tools.CompoundBarChartTool;
@@ -874,7 +877,15 @@
 			if (object is DraggablePanel)
 				(object as DraggablePanel).restorePanel();
 			// put panel in front
-			Weave.root.setNameOrder([name]);
+			Weave.root.setNameOrder([name]);
+
+			if (object is MapTool)
+			{
+				//(object as MapTool).toggleControlPanel();
+				var layer:SelectablePlotLayer = (object as MapTool).visualization.layers.getObjects()[0] as SelectablePlotLayer;
+				var geom:DynamicColumn = (layer.getDynamicPlotter().internalObject as GeometryPlotter).geometryColumn.internalDynamicColumn;
+				AttributeSelectorPanel.openDefaultSelector(geom, "Geometry");
+			}

 			return object;
 		}


added StandardLib.lodash placeholder

added StandardLib.lodash placeholder

--- WeaveJS/src/weavejs/util/StandardLib.as
+++ WeaveJS/src/weavejs/util/StandardLib.as
@@ -17,6 +17,11 @@
 {
 	public class StandardLib
 	{
+		/**
+		 * This must be set externally.
+		 */
+		public static var lodash:Object;
+
 		public static function formatNumber(number:Number, precision:int = -1):String
 		{
 			//TODO - use a library


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

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

 package mx.containers
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 14435
Author:   cframpto@adobe.com
Date:     2010-02-25T22:01:59.361644Z

Log Message:
-----------
Merge DataGrid changes for mirroring from 4.x to trunk. Rev 14289 and 14355.

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

Modified Paths:
--------------
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridDragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/UIFTETextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DataGridHeaderSeparatorSkin.mxml</path>

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

--- frameworks/projects/mx/src/mx/controls/DataGrid.as
+++ frameworks/projects/mx/src/mx/controls/DataGrid.as
@@ -3569,11 +3569,12 @@
         var contentHolder:ListBaseContentHolder = s.parent.parent as ListBaseContentHolder;
         //draw our vertical lines
         var g:Graphics = s.graphics;
-        g.lineStyle(1, color, 100);
-        g.moveTo(x, headerVisible ? 0 : 1);
-        g.lineTo(x, contentHolder.height);
-    }
-
+        g.lineStyle();
+        g.beginFill(color);
+        g.drawRect(x, headerVisible ? 0 : 1, 1, contentHolder.height);
+        g.endFill();
+    }
+
     /**
      *  Draw lines between columns, and column backgrounds.
      *  This implementation calls the drawHorizontalLine(),


now keeping tooltip on stage horizontally and vertically

--- WeaveUI/src/weave/utils/PopUpUtils.as
+++ WeaveUI/src/weave/utils/PopUpUtils.as
@@ -112,9 +112,13 @@
 				if (tip && component.parent)
 				{
 					var coords:Point = component.localToGlobal(new Point(0, component.height));
-					tip.x = coords.x;
+					tip.x = Math.max(0, coords.x);
+					tip.y = Math.max(0, coords.y);
 					if (component.stage)
-						tip.y = Math.min(coords.y, component.stage.stageHeight - tip.height);
+					{
+						tip.x = Math.min(tip.x, component.stage.stageWidth - tip.width);
+						tip.y = Math.min(tip.y, component.stage.stageHeight - tip.height);
+					}
 					PopUpManager.bringToFront(tip);
 				}
 				else


Fix bug where syncFound was flagged as false incorrectly

This was causing byte-level sync issues with throttled (and potentially
other) streams

--- HLSPlugin/src/org/denivip/osmf/net/httpstreaming/hls/HTTPStreamingMP2TSFileHandler.as
+++ HLSPlugin/src/org/denivip/osmf/net/httpstreaming/hls/HTTPStreamingMP2TSFileHandler.as
@@ -117,7 +117,6 @@
 				}
 				else
 				{
-					_syncFound = false;
 					var packet:ByteArray = new ByteArray();

 					if (_key) {
@@ -147,6 +146,7 @@
 						input.readBytes(packet, 0, 187);
 					}

+					_syncFound = false;
 					var result:ByteArray = processPacket(packet);
 					if (result !== null) {
 						output.writeBytes(result);


Transferred from the Adobe Open Source Subversion Repository

Revision: 17108
Author:   chiedozi@adobe.com
Date:     2010-07-28T23:12:04.976302Z

Log Message:
-----------
Renamed rootView and initalData properties on MobileApplication, ViewNavigator and ViewNavigatorSection to firstView and firstViewData due to PARB requests.
Renamed ViewData to ViewHistoryData due to PARB request.
Updated performance tests to match api changes

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchMXMLLabel.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchVirtualizedASTextField.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchVirtualizedMXMLLabel.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchASLabel.mxml</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewData.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewData.as" copyfrom-rev="17103" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewHistoryData.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchMXMLTextField.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchVirtualizedASLabel.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/ComponentCatalog/src/ComponentCatalog.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchVirtualizedMXMLTextField.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorSection.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchASTextField.mxml</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/ViewNavigatorApplication.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ViewNavigatorApplication.as
@@ -14,7 +14,7 @@
     import mx.events.FlexEvent;
     import mx.utils.BitFlagUtil;

-    import spark.components.supportClasses.ViewData;
+    import spark.components.supportClasses.ViewHistoryData;
     import spark.components.supportClasses.ViewNavigatorSection;
     import spark.core.managers.IPersistenceManager;
     import spark.core.managers.PersistenceManager;
@@ -126,28 +126,28 @@
         //--------------------------------------------------------------------------

         //----------------------------------
-        //  initialData
+        //  firstViewData
         //----------------------------------
         /**
          * @private
          */
-        private var _initialData:Object;
+        private var _firstViewData:Object;

         /**
          * This is the initialization data to pass to the
          * root screen when it is created.
          */
-        public function get initialData():Object
-        {
-            return _initialData;
+        public function get firstViewData():Object
+        {
+            return _firstViewData;
         }

         /**
          * @private
          */
-        public function set initialData(value:Object):void
-        {
-            _initialData = value;
+        public function set firstViewData(value:Object):void
+        {
+            _firstViewData = value;
         }

         //----------------------------------
@@ -181,30 +181,30 @@
         }

         //----------------------------------
-        //  rootView
-        //----------------------------------
-        /**
-         *  @private
-         *  The backing variable for the rootView property.
-         */
-        private var _rootView:Class;
+        //  firstView
+        //----------------------------------
+        /**
+         *  @private
+         *  The backing variable for the firstView property.
+         */
+        private var _firstView:Class;

         /**
          *  This property is the object to use to initialize the root screen
          *  of the stack.  This can be a Class, instance or Factory that creates
          *  an object that extends Screen.
          */
-        public function get rootView():Class
-        {
-            return _rootView;
+        public function get firstView():Class
+        {
+            return _firstView;
         }

         /**
          * @private
          */
-        public function set rootView(value:Class):void
-        {
-            _rootView = value;
+        public function set firstView(value:Class):void
+        {
+            _firstView = value;
         }

         //----------------------------------
@@ -625,7 +625,7 @@
             {
                 // Register aliases for custom classes that will be written to
                 // persistence store by navigator
-                registerClassAlias("ViewData", ViewData);
+                registerClassAlias("ViewHistoryData", ViewHistoryData);
                 registerClassAlias("ViewNavigatorSection", ViewNavigatorSection);

                 // Create persistence store
@@ -665,14 +665,14 @@

             // If the sections property is not set by this point, MobileApplication will
             // create a default section to be used by the navigator, and initialize it
-            // with the rootView and initialData defined by the application
+            // with the firstView and firstViewData defined by the application
             if (sections == null || sections.length == 0)
             {
                 // Create the empty screen stack and initialize it with the
-                // desired rootView and initial data
+                // desired firstView and initial data
                 var section:ViewNavigatorSection = new ViewNavigatorSection();
-                section.rootView = rootView;
-                section.initialData = initialData;
+                section.firstView = firstView;
+                section.firstViewData = firstViewData;

                 // Set the stacks of the navigator
                 var newSections:Vector.<ViewNavigatorSection> = Vector.<ViewNavigatorSection>([section]);


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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaVScrollBarThumbSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaVScrollBarThumbSkin.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
 package spark.skins.mobile
 {
 import mx.core.DPIClassification;


Transferred from the Adobe Open Source Subversion Repository

Revision: 4323
Author:   shodgson@adobe.com
Date:     2008-12-16T03:23:10.819409Z

Log Message:
-----------
Bug: LCDS-544 - Scenario where two components have seperate channel sets with overlapping channels not working.
QA: Yes
Doc: No
Checkintests Pass: Yes

Details:
* Hunting to a new channel within a channelset never triggered a disconnect from the previous channel(s). This isn't a problem in general, but does becomes a problem when an app defines two distinct channelsets containing at least one shared channel at the head of the list. In this case, the first channelset hunts past it and connects on a later channel. But when the second channelset hunts through (triggering a connect fault when it hits that initial shared channel that can't connect), the fault is processed by the first channelset as well (incorrectly).

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

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

--- frameworks/projects/rpc/src/mx/messaging/ChannelSet.as
+++ frameworks/projects/rpc/src/mx/messaging/ChannelSet.as
@@ -1435,6 +1435,10 @@
             throw new NoChannelAvailableError(message);
         }

+        // Unwire from the current channel.
+        if (_currentChannel != null)
+            disconnectChannel();
+
         // Advance to next channel, and reset to beginning if all Channels in the set
         // have been attempted.
         if (++_currentChannelIndex >= _channels.length)


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

--- frameworks/projects/rpc/src/mx/messaging/ChannelSet.as
+++ frameworks/projects/rpc/src/mx/messaging/ChannelSet.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2006-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: 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@1274637 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/rpc/src/mx/rpc/xml/TypeIterator.as
+++ frameworks/projects/rpc/src/mx/rpc/xml/TypeIterator.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2006-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: 17331
Author:   jasonsj@adobe.com
Date:     2010-08-16T17:37:24.374535Z

Log Message:
-----------
Added DiscouragedForProfile metadata for use with FB mobile projects.

QE notes: DiscouragedForProfile features should now be visible in FB
Doc notes: ASDoc content omitted for DiscouragedForProfile where the boilerplate comment is desired
Bugs:
Reviewer: gruehle
Tests run: checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ComboBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/TitleWindow.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ToggleButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Spinner.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/BorderContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/FormHeading.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/TabBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VideoDisplay.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Form.as</path>

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

--- frameworks/projects/spark/src/spark/components/Form.as
+++ frameworks/projects/spark/src/spark/components/Form.as
@@ -37,6 +37,18 @@
  *  If so, we need a seperate property or function like columnWidthsOverride
  *
  */
+
+//--------------------------------------
+//  Other metadata
+//--------------------------------------
+
+/**
+ * Because this component does not define a skin for the mobile theme, Adobe
+ * recommends that you not use it in a mobile application. Alternatively, you
+ * can define your own mobile skin for the component. For more information,
+ * see Spark Skinning.
+ */
+[DiscouragedForProfile("mobileDevice")]

 /**
  *  SkinnableContainer with FormItem children.


Transferred from the Adobe Open Source Subversion Repository

Revision: 18245
Author:   hmuller@adobe.com
Date:     2010-10-20T16:58:24.758693Z

Log Message:
-----------
GridLayer PARB changes:

GridLayer is now a Group, with the special semantics of the internal GridLayer LayerGroup class.  Grid layers are now just named GridLayer children.

Removed the Grid layers property and getLayer() method.

QE notes: Jacob is syncing up the failing Mustella tests
Doc notes:
Bugs:
Reviewer: Kevin
Tests run: checkin, mustella cyclone
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Grid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridLayer.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/skins/spark/DataGridSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/Grid.as
+++ frameworks/projects/spark/src/spark/components/Grid.as
@@ -1082,77 +1082,6 @@
     }

     //----------------------------------
-    //  layers
-    //----------------------------------
-
-    private var _layers:Vector.<GridLayer> = null;
-    private var layersMap:Dictionary = new Dictionary();
-
-    [Bindable("layersChanged")]
-
-    /**
-     *  The GridLayer objects that define the stacking order or "layering" for Grid visual elements.
-     *
-     *
The GridLayout adds rowBackround and hoverIndicator elements to the backgroundLayer,
-     *  selectionIndicators to the selectionLayer, item renderers to the rendererLayer, caretIndicator,
-     *  row and column separators to the overlayLayer.

-     *
-     *
If a value for this property isn't specified, then at commitProperties() time
-     *  a Vector of the four minimum GridLayers expected by the Grid's layout is created.  The layers
-     *  have the following ids: "backgroundLayer", "selectionLayer", "rendererLayer", "overlayLayer".
-     *  The rendererLayer's root is this Grid.

-     *
-     *  @default Four layers with the following ids: "backgroundLayer", "selectionLayer", "rendererLayer", "overlayLayer".
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4.5
-     */
-    public function get layers():Vector.<GridLayer>
-    {
-        return (_layers) ? _layers.concat() : new Vector.<GridLayer>(0);
-    }
-
-    /**
-     *  @private
-     */
-    public function set layers(value:Vector.<GridLayer>):void
-    {
-        _layers = (!value) ? new Vector.<GridLayer>(0) : value.concat();
-
-        layersMap = new Dictionary();
-        for each (var layer:GridLayer in _layers)
-        {
-            var layerID:String = layer.id;
-            if (layerID)
-                layersMap[layerID] = layer;
-
-            if (layer.root != this)
-                addElement(layer.root)
-        }
-
-        dispatchChangeEvent("layersChanged");
-    }
-
-    /**
-     *  Returns the GridLayer element of the layers property with the specified id, or null.
-     *
-     *
Grid's layout uses this method to lookup GridLayers.

-     *
-     *  @param id The id of the GridLayer to be returned.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4.5
-     */
-    public function getLayer(id:String):GridLayer
-    {
-        return layersMap[id] as GridLayer;
-    }
-
-    //----------------------------------
     //  preserveSelection (delegates to gridSelection.preserveSelection)
     //----------------------------------

@@ -3125,34 +3054,12 @@
         if (!inUpdateDisplayList)
             super.invalidateDisplayList();
     }
-
-    /**
-     *  Used to create a default value for the layers property in commitProperties below.
-     */
-    private function createLayer(id:String):GridLayer
-    {
-        const layer:GridLayer = new GridLayer();
-        layer.id = id;
-        if (id == "rendererLayer")
-            layer.root = this;
-        return layer;
-    }

     /**
      *  @private
      */
     override protected function commitProperties():void
     {
-        // Create a default layers vector if necessary
-        if (_layers == null)
-        {
-            layers = new <GridLayer> [
-                createLayer("backgroundLayer"),
-                createLayer("selectionLayer"),
-                createLayer("rendererLayer"),
-                createLayer("overlayLayer")]
-        }
-
         // rowHeight and variableRowHeight can be set in either order
         if (variableRowHeightChanged || rowHeightChanged)
         {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17338
Author:   hmuller@adobe.com
Date:     2010-08-16T23:25:19.449412Z

Log Message:
-----------
DataGrid performance optimization in GridLayout: defer validating grid "layers" as long as possible, to avoid display object sharing induced redundant valdiations.

QE notes:
Doc notes:
Bugs:
Reviewer: Kevin
Tests run: checkin, mustella cyclone
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/components/Grid.as
+++ frameworks/projects/spark/src/spark/components/Grid.as
@@ -31,6 +31,7 @@
     import spark.components.supportClasses.CellPosition;
     import spark.components.supportClasses.GridColumn;
     import spark.components.supportClasses.GridDimensions;
+    import spark.components.supportClasses.GridLayer;
     import spark.components.supportClasses.GridLayout;
     import spark.components.supportClasses.GridSelection;
     import spark.components.supportClasses.GridSelectionMode;
@@ -208,9 +209,10 @@

         /**
          *  @private
-         *  True while updateDisplayList is running.
-         */
-        private var inUpdateDisplayList:Boolean = false;
+         *  True while updateDisplayList is running.  Use to disable invalidateSize(),
+         *  invalidateDisplayList() here and in the GridLayer class.
+         */
+        mx_internal var inUpdateDisplayList:Boolean = false;

         // TODO(hmuller): the following public variables are temporary
@@ -226,18 +228,15 @@
             super();
             layout = new GridLayout();

-            backgroundGroup = new Group();
-            backgroundGroup.layout = new NullLayout();
+            backgroundGroup = new GridLayer();
             addElement(backgroundGroup);

-            selectionGroup = new Group();
-            selectionGroup.layout = new NullLayout();
+            selectionGroup = new GridLayer();
             addElement(selectionGroup);

-            itemRendererGroup = this;
-
-            overlayGroup = new Group();
-            overlayGroup.layout = new NullLayout();
+            itemRendererGroup = this;
+
+            overlayGroup = new GridLayer();
             addElement(overlayGroup);

             MouseEventUtil.addDownDragUpListeners(this,
@@ -3396,13 +3395,3 @@
         }
     }
 }
-
-import spark.layouts.supportClasses.LayoutBase;
-
-class NullLayout extends LayoutBase
-{
-    public function NullLayout()
-    {
-        super();
-    }
-}


Transferred from the Adobe Open Source Subversion Repository

Revision: 16704
Author:   klin@adobe.com
Date:     2010-06-28T22:47:08.162953Z

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

-Updating dataProvider and columns will clear GridDimensions and set the correct rowCount and columnCount.
-Commented out hack from GridLayout.
-Only instantiate GridDimensions in GridContainerBase instead of in both GCB and GridLayout.

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

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

--- frameworks/projects/spark/src/spark/components/Grid.as
+++ frameworks/projects/spark/src/spark/components/Grid.as
@@ -724,7 +724,12 @@
             invalidateSize();
             invalidateDisplayList();

-            //TBD: clear selection and dimnsions
+            //TBD: clear selection and dimnsions
+            gridDimensions.clear();
+            if (_columns)
+                gridDimensions.columnCount = _columns.length;
+            if (_dataProvider) // clearing the gridDimensions resets rowCount
+                gridDimensions.rowCount = _dataProvider.length;

             dispatchChangeEvent("columnsChanged");
         }
@@ -783,7 +788,10 @@
             invalidateSize();
             invalidateDisplayList();

-            //TBD: clear selection and dimnsions
+            //TBD: clear selection
+            gridDimensions.clear();
+            if (_dataProvider)
+                gridDimensions.rowCount = _dataProvider.length;

             dispatchChangeEvent("dataProviderChanged");
         }
@@ -2442,6 +2450,8 @@
                 }
             }

+            gridDimensions.columnCount = _columns.length;
+
             if (gridSelection)
                 gridSelection.columnsCollectionChanged(event);