Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ScrollerLayout.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ScrollerLayout.as
@@ -13,16 +13,12 @@
 package spark.components.supportClasses
 {

-import spark.components.supportClasses.ScrollBar;
-import spark.components.Group;
 import mx.core.ILayoutElement;
+import mx.core.ScrollPolicy;
+
+import spark.components.Scroller;
 import spark.core.IViewport;
-import mx.core.ScrollPolicy;
 import spark.layout.supportClasses.LayoutBase;
-import spark.layout.supportClasses.LayoutElementFactory;
-import spark.components.Scroller;
-import spark.components.supportClasses.GroupBase;
-import spark.components.supportClasses.Skin;

 [ExcludeClass]

@@ -34,11 +30,6 @@
     public function ScrollerLayout()
     {
         super();
-    }
-
-    static private function LayoutElementFor(item:Object):ILayoutElement
-    {
-        return (item) ? LayoutElementFactory.getLayoutElementFor(item) : null;
     }

     private function getScroller():Scroller
@@ -78,7 +69,7 @@
         var viewport:IViewport = scroller.viewport;
         if (viewport)
         {
-            var viewportElt:ILayoutElement = LayoutElementFor(viewport);
+            var viewportElt:ILayoutElement = ILayoutElement(viewport);
             measuredW = viewportElt.getPreferredBoundsWidth();
             measuredH = viewportElt.getPreferredBoundsHeight();
         }
@@ -107,17 +98,15 @@

         if (showHSB)
         {
-            var hsbElt:ILayoutElement = LayoutElementFor(hsb);
-            measuredH += hsbElt.getPreferredBoundsHeight();
-            minW += hsbElt.getMinBoundsWidth();
-            minH += hsbElt.getMinBoundsHeight();
+            measuredH += hsb.getPreferredBoundsHeight();
+            minW += hsb.getMinBoundsWidth();
+            minH += hsb.getMinBoundsHeight();
         }
         if (showVSB)
         {
-            var vsbElt:ILayoutElement = LayoutElementFor(vsb);
-            measuredW += vsbElt.getPreferredBoundsWidth();
-            minW += vsbElt.getMinBoundsWidth();
-            minH += vsbElt.getMinBoundsHeight();
+            measuredW += vsb.getPreferredBoundsWidth();
+            minW += vsb.getMinBoundsWidth();
+            minH += vsb.getMinBoundsHeight();
         }

         var g:GroupBase = target;
@@ -150,8 +139,6 @@
         var viewport:IViewport = scroller.viewport;
         var hsb:ScrollBar = scroller.horizontalScrollBar;
         var vsb:ScrollBar = scroller.verticalScrollBar;
-        var hsbElt:ILayoutElement = LayoutElementFor(hsb);
-        var vsbElt:ILayoutElement = LayoutElementFor(vsb);

         // Decide which scrollbars will be visible
         var showHSB:Boolean = false;
@@ -188,14 +175,14 @@
         var hsbH:Number = 0;
         if (showHSB)
         {
-            hsbH = hsbElt.getPreferredBoundsHeight();
+            hsbH = hsb.getPreferredBoundsHeight();
             viewportH -= hsbH;
         }
         var viewportW:Number = w;
         var vsbW:Number = 0;
         if (showVSB)
         {
-            vsbW = vsbElt.getPreferredBoundsWidth();
+            vsbW = vsb.getPreferredBoundsWidth();
             viewportW -= vsbW;
         }

@@ -205,20 +192,20 @@
         if (showVSB && !showHSB && hAuto && (viewport.contentWidth > viewportW))
         {
             showHSB = true;
-            hsbH = hsbElt.getPreferredBoundsHeight();
+            hsbH = hsb.getPreferredBoundsHeight();
             viewportH -= hsbH;
         }
         else if (!showVSB && showHSB && vAuto && (viewport.contentHeight > viewportH))
         {
             showVSB = true;
-            vsbW = vsbElt.getPreferredBoundsWidth();
+            vsbW = vsb.getPreferredBoundsWidth();
             viewportW -= vsbW;
         }

         // layout the viewport
         if (viewport)
         {
-            var viewportElt:ILayoutElement = LayoutElementFor(viewport);
+            var viewportElt:ILayoutElement = ILayoutElement(viewport);
             viewportElt.setLayoutBoundsSize(viewportW, viewportH);
             viewportElt.setLayoutBoundsPosition(0,0);
         }
@@ -227,14 +214,14 @@
         if (hsb) hsb.visible = showHSB;
         if (showHSB)
         {
-            hsbElt.setLayoutBoundsSize(Math.max(hsbElt.getMinBoundsWidth(), viewportW), hsbH);
-            hsbElt.setLayoutBoundsPosition(0, h - hsbH);
+            hsb.setLayoutBoundsSize(Math.max(hsb.getMinBoundsWidth(), viewportW), hsbH);
+            hsb.setLayoutBoundsPosition(0, h - hsbH);
         }
         if (vsb) vsb.visible = showVSB;
         if (showVSB)
         {
-            vsbElt.setLayoutBoundsSize(vsbW, Math.max(vsbElt.getMinBoundsHeight(), viewportH));
-            vsbElt.setLayoutBoundsPosition(w - vsbW, 0);
+            vsb.setLayoutBoundsSize(vsbW, Math.max(vsb.getMinBoundsHeight(), viewportH));
+            vsb.setLayoutBoundsPosition(w - vsbW, 0);
         }

         target.setContentSize(w, h);


Transferred from the Adobe Open Source Subversion Repository

Revision: 12850
Author:   jimurphy@adobe.com
Date:     2009-12-11T14:57:14.623098Z

Log Message:
-----------
add 6 new DMV projects to the SDK:
automation
automation_air
automation_dmv
automation_flashflexkit
automation_spark
datavisualization

These projects are setup to build in an ant main call.  There are currently several warnings in the datavisualization project that will be cleaned up.  No checkintests exist for these projects as of yet.

I also modified the exisitng projects build files for easier management of the localization targets, bundle and fat-swc. If the projects that I updated:airframework,airspark,framework,playerglobal,rpc,and spark.  All the new projects have been implemented this same way.

QE notes: DMV folks should run through their tests
Doc notes: probably
Bugs: nope
Reviewer:
Tests run: ran the following targets: compile,checkintests,other.locales and doc
Is noteworthy for integration: no

Modified Paths:
--------------
1404 paths were modified

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

--- frameworks/projects/charts/src/mx/charts/chartClasses/PolarTransform.as
+++ frameworks/projects/charts/src/mx/charts/chartClasses/PolarTransform.as
@@ -0,0 +1,245 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.charts.chartClasses
+{
+
+import flash.geom.Point;
+import mx.charts.chartClasses.DataTransform;
+
+/**
+ *  The PolarTransform object represents a set of axes
+ *  used to map data values to angle/distance polar coordinates
+ *  and vice versa.
+ *
+ *
You typically do not need to interact with the PolarTransform object.
+ *  Transforms are created automatically by the built-in chart types
+ *  and are used by the series contained within to transform data
+ *  into rendering coordinates.

+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class PolarTransform extends DataTransform
+{
+    include "../../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  A string representing the radial axis.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static const RADIAL_AXIS:String = "r";
+
+    /**
+     *  A string representing the angular axis.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static const ANGULAR_AXIS:String = "a";
+
+    /**
+     *  @private
+     */
+    private static const TWO_PI:Number = 2 * Math.PI;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function PolarTransform()
+    {
+        super();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  origin
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the origin property.
+     */
+    private var _origin:Point;
+
+    [Inspectable(environment="none")]
+
+    /**
+     *  The origin of the polar transform.
+     *  This point is used by associated series to convert data units
+     *  to screen coordinates.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get origin():Point
+    {
+        return _origin;
+    }
+
+    //----------------------------------
+    //  radius
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the radius property.
+     */
+    private var _radius:Number;
+
+    [Inspectable(environment="none")]
+
+    /**
+     *  The radius used by the transform to convert data units
+     *  to polar coordinates.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get radius():Number
+    {
+        return _radius;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods: DataTransform
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override public function invertTransform(...values):Array /* of Object */
+    {
+        var result:Array /* of Object */ = [];
+
+        if (values.length > 0 && values[0] != null)
+        {
+            result[0] =
+                getAxis(ANGULAR_AXIS).invertTransform(values[0] / TWO_PI);
+        }
+
+        if (values.length > 1 && values[1] != null)
+        {
+            result[1] =
+                getAxis(RADIAL_AXIS).invertTransform(values[1] / _radius);
+        }
+
+        return result;
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    override public function transformCache(cache:Array /* of Object */, aField:String,
+                                            aConvertedField:String,
+                                            rField:String,
+                                            rConvertedField:String):void
+    {
+         var i:int;
+         var v:Object;
+         var n:int;
+         if (aField != null)
+         {
+            getAxis(ANGULAR_AXIS).transformCache(cache, aField,
+                                                 aConvertedField);
+            n = cache.length;
+            for (i = 0; i < n; i++)
+            {
+                v = cache[i][aConvertedField];
+                if (v != null)
+                    cache[i][aConvertedField] = Number(v) * TWO_PI;
+            }
+        }
+
+        if (rField != null)
+        {
+            getAxis(RADIAL_AXIS).transformCache(cache, rField,
+                                                rConvertedField);
+            n = cache.length;
+            for (i = 0; i < n; i++)
+            {
+                v = cache[i][rConvertedField];
+                if (v != null)
+                    cache[i][rConvertedField] = Number(v) * _radius;
+            }
+        }
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Sets the width and height that the PolarTransform uses
+     *  when calculating origin and radius.
+     *  The containing chart calls this method.
+     *  You should not generally call this method directly.
+     *
+     *  @param width The width, in pixels, of the PolarTransform.
+     *
+     *  @param height The height, in pixels, of the PolarTransform.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function setSize(width:Number, height:Number):void
+    {
+        _radius = Math.min(width / 2, height / 2);
+        _origin = new Point(width / 2, height / 2);
+    }
+}
+
+}


https://issues.apache.org/jira/browse/FLEX-33777 Dagrid for mobile - clean up code to prepare integration with SDK (continued) renamed class DensityUtil2 to MobileGridUtil

--- frameworks/projects/experimental_mobile/src/spark/utils/DensityUtil2.as
+++ frameworks/projects/experimental_mobile/src/spark/utils/DensityUtil2.as
@@ -1,80 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.utils
-{
-
-import mx.core.DPIClassification;
-import mx.core.FlexGlobals;
-import mx.managers.SystemManager;
-
-import spark.components.Application;
-
-//TODO merge with spark.utils.DensityUtil
-
-/**
- * @private
- * Utility class for density computations
- *
- *  @langversion 3.0
- *  @playerversion AIR 3.8
- *  @productversion Flex 4.11
-
- */
-
-
-public class DensityUtil2
-{
-
-    private static var _setApplicationDPI:Number = 0;
-
-    /**  returns the actual  value for  a value authored for  sourceDPI, taking into account any dpi scaling.
-     *

-     *
 If Application.applicationDPI has been set, which means dpi scaling factor is already applied, return the original value.

-     *
 If Application.applicationDPI has not been set, then return scaled value runTimeDPI / sourceDPI

-     *

-     * @param sourceDPI
-     * @return  scaled value
-     */
-    public static function dpiScale(value:Number, sourceDPI:Number = DPIClassification.DPI_160):Number
-    {
-        var appDPI:Number = getSetApplicationDPI();
-        if (isNaN(appDPI))
-        {
-            var runDPI:Number = FlexGlobals.topLevelApplication.runtimeDPI;
-            return value * runDPI / sourceDPI;
-        }
-        else
-            return value; //  already scaled
-    }
-
-    /**
-     *  returns the applicationDPI that was explicitly set in top level application , or NaN if none */
-    private static function getSetApplicationDPI():Number
-    {
-        if (_setApplicationDPI == 0)
-        {
-            var application:Application = FlexGlobals.topLevelApplication as Application;
-            var sm:SystemManager = application ? application.systemManager as SystemManager : null;
-            _setApplicationDPI = sm ? sm.info()["applicationDPI"] : NaN;
-        }
-        return _setApplicationDPI;
-    }
-
-}
-}


Transferred from the Adobe Open Source Subversion Repository

Revision: 16602
Author:   jasonsj@adobe.com
Date:     2010-06-21T18:38:18.429731Z

Log Message:
-----------
ActionBar and SlideViewTransition prototypes

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/manifest.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/View.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/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/effects/ViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/effects/SlideViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/MobileThemeClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ActionBar.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@1265083 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as
@@ -1,61 +1,102 @@
 package spark.skins.mobile
 {
-    import flash.display.Graphics;
-    import flash.events.IEventDispatcher;
+import flash.display.Graphics;
+import flash.display.Sprite;
+
+import spark.components.ActionBar;
+import spark.components.Group;
+import spark.components.Label;
+import spark.layouts.HorizontalAlign;
+import spark.layouts.HorizontalLayout;
+import spark.layouts.VerticalAlign;
+
+public class ActionBarSkin extends SliderSkin
+{
+    public var hostComponent:ActionBar;

-    import spark.components.ActionBar;
-    import spark.components.Group;
-    import spark.components.Label;
+    public var backgroundFill:Sprite;
+    public var navigationGroup:Group;
+    public var titleGroup:Group;
+    public var actionGroup:Group;
+    public var titleDisplay:Label;

-    public class ActionBarSkin extends SliderSkin
+    public function ActionBarSkin()
     {
-        public function ActionBarSkin()
+        super();
+    }
+
+    override protected function createChildren():void
+    {
+        backgroundFill = new Sprite();
+        addChild(backgroundFill);
+
+        navigationGroup = new Group();
+        var hLayout:HorizontalLayout = new HorizontalLayout();
+        hLayout.horizontalAlign = HorizontalAlign.LEFT;
+        hLayout.verticalAlign = VerticalAlign.CONTENT_JUSTIFY;
+        hLayout.gap = 0;
+        navigationGroup.layout = hLayout;
+        addChild(navigationGroup);
+
+        titleGroup = new Group();
+        hLayout = new HorizontalLayout();
+        hLayout.horizontalAlign = HorizontalAlign.LEFT;
+        hLayout.verticalAlign = VerticalAlign.CONTENT_JUSTIFY;
+        hLayout.gap = 0;
+        hLayout.paddingLeft = 4;
+        titleGroup.layout = hLayout;
+        titleGroup.clipAndEnableScrolling = true;
+        addChild(titleGroup);
+
+        actionGroup = new Group();
+        hLayout = new HorizontalLayout();
+        hLayout.horizontalAlign = HorizontalAlign.RIGHT;
+        hLayout.verticalAlign = VerticalAlign.CONTENT_JUSTIFY;
+        hLayout.gap = 0;
+        actionGroup.layout = hLayout;
+        addChild(actionGroup);
+
+        titleDisplay = new Label();
+        titleDisplay.setStyle("fontSize", "20");
+        titleDisplay.setStyle("verticalAlign", "middle");
+    }
+
+    override protected function measure():void
+    {
+        measuredHeight = Math.max(Math.max(navigationGroup.getExplicitOrMeasuredHeight(),
+            titleGroup.getExplicitOrMeasuredHeight()),
+            actionGroup.getExplicitOrMeasuredHeight());
+    }
+
+    override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
+    {
+        var left:Number = 0;
+        var right:Number = unscaledWidth;
+
+        // Position groups
+        if (navigationGroup.includeInLayout)
         {
-            super();
+            left += navigationGroup.measuredWidth;
+            navigationGroup.setLayoutBoundsSize(left, unscaledHeight);
         }

-        public var hostComponent:ActionBar;
-        public var titleField:Label;
-        public var contentGroup:Group;
-
-        override protected function createChildren():void
+        if (actionGroup.includeInLayout)
         {
-            contentGroup = new Group();
-            addChild(contentGroup);
-
-            titleField = new Label();
-            titleField.percentWidth = 100;
-            titleField.setStyle("textAlign", "center");
-            titleField.setStyle("verticalAlign", "middle");
-            titleField.verticalCenter = 0;
-//            titleField.minHeight = 20;
+            right -= actionGroup.measuredWidth;
+            actionGroup.setLayoutBoundsPosition(right, 0);
+            actionGroup.setLayoutBoundsSize(unscaledWidth - right, unscaledHeight);
         }

-        /**
-         *
-         */
-        override protected function measure():void
-        {
-            super.measure();
-
-//            minHeight = 20;
-            measuredHeight = contentGroup.getExplicitOrMeasuredHeight() == 0 ? 0 : Math.max(20, contentGroup.getExplicitOrMeasuredHeight());
-            measuredWidth = contentGroup.measuredWidth;
-        }
+        titleGroup.setLayoutBoundsPosition(left, 0);
+        titleGroup.setLayoutBoundsSize(right - left, unscaledHeight);

-        override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
-        {
-            super.updateDisplayList(unscaledWidth, unscaledHeight);
-
-            contentGroup.setLayoutBoundsPosition(0, 0);
-            contentGroup.setLayoutBoundsSize(unscaledWidth, unscaledHeight);
-
-            // Draw background
-            var g:Graphics = hostComponent.graphics;
-            g.clear();
-            g.beginFill(0xCCCCCC);
-            g.drawRect(0, 0, unscaledWidth, unscaledHeight);
-            g.endFill();
-        }
+        // Draw background
+        var g:Graphics = backgroundFill.graphics;
+        g.clear();
+        g.beginFill(getStyle("chromeColor"), getStyle("backgroundAlpha"));
+        g.drawRect(0, 0, unscaledWidth, unscaledHeight);
+        g.endFill();
     }
+
+}
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 14354
Author:   jimurphy@adobe.com
Date:     2010-02-23T15:05:48.761194Z

Log Message:
-----------
resetting the build number in version.as
The build automated process checked it in as 4.5.0.13964 when it should have been 4.5.0.0

QE notes: no
Doc notes: no
Bugs: https://bugs.adobe.com/jira/browse/SDK-25489
Reviewer: no
Tests run: ran version test included in the bug
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_air/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/datavisualization/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_flashflexkit/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_dmv/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Version.as</path>

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

--- frameworks/projects/airspark/src/spark/core/Version.as
+++ frameworks/projects/airspark/src/spark/core/Version.as
@@ -15,4 +15,4 @@
  *  @private
  *  Version string for this class.
  */
-mx_internal static const VERSION:String = "4.5.0.13964";
+mx_internal static const VERSION:String = "4.5.0.0";


Transferred from the Adobe Open Source Subversion Repository

Revision: 4611
Author:   chaase@adobe.com
Date:     2009-01-22T00:30:21.783682Z

Log Message:
-----------
Various bug fixes in effects, mostly in the area of seeking, auto-reversing, and shader transitions.

QE Notes: None
Doc Notes: None
Bugs: sdk-17783, sdk-18767, sdk-18759, sdk-18461, sdk-18309, sdk-18013, sdk-18688
Reviewer: Jason
Tests: checkintests, Mustella: Effects, gumbo/effects, ListDataEffects

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/SetAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/UnconstrainItemAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectInstance.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/effects/effectClasses/ParallelInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Parallel.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/effects/RemoveChildAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateShaderTransitionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateShaderTransition.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/AddItemAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SequenceInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/SetStyleAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/RemoveItemAction.as</path>

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

--- frameworks/projects/framework/src/mx/effects/Effect.as
+++ frameworks/projects/framework/src/mx/effects/Effect.as
@@ -1012,6 +1012,7 @@
                          Array /* of EffectInstance */
     {
         effectStopped = false;
+        isPaused = false;

         // If we have a propertyChangesArray, capture the current values
         // if they haven't been captured already, strip out any unchanged


Transferred from the Adobe Open Source Subversion Repository

Revision: 16236
Author:   jszeto@adobe.com
Date:     2010-05-20T00:54:54.963159Z

Log Message:
-----------
Form Feature Work

Merging in Form classes from the private sandbox. All spec'ed functionality has been implemented.

QE notes: none
Doc notes: Needs ASDoc comments
Bugs: none
Reviewer: Hans, Kevin
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/SparkClasses.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/layouts/FormItemLayout.as" copyfrom-rev="15875" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/FormItemLayout.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/skins/spark/assets/ErrorIndicator.png" copyfrom-rev="16235" action="R">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/assets/ErrorIndicator.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutElementHelper.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/layouts/ConstraintLayout.as" copyfrom-rev="15875" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/ConstraintLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/skins/spark/StackedFormItemSkin.mxml" copyfrom-rev="15875" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/StackedFormItemSkin.mxml</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/components/Form.as" copyfrom-rev="15875" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Form.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/skins/spark/FormItemSkin.mxml" copyfrom-rev="15875" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/FormItemSkin.mxml</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/skins/spark/StackedFormHeadingSkin.mxml" copyfrom-rev="16047" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/StackedFormHeadingSkin.mxml</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/skins/spark/FormHeadingSkin.mxml" copyfrom-rev="15875" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/FormHeadingSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/layouts/FormLayout.as" copyfrom-rev="15875" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/FormLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/bundles/en_US/layout.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/skins/spark/assets/RequiredIndicator.png" copyfrom-rev="16235" action="R">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/assets/RequiredIndicator.png</path>
<path kind="dir" copyfrom-path="/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/skins/spark/assets" copyfrom-rev="16235" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/assets</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/components/FormItem.as" copyfrom-rev="15875" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/FormItem.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/components/FormHeading.as" copyfrom-rev="15875" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/FormHeading.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/skins/spark/FormSkin.mxml" copyfrom-rev="15875" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/FormSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/FocusSkin.as</path>

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

--- frameworks/projects/spark/src/spark/components/Form.as
+++ frameworks/projects/spark/src/spark/components/Form.as
@@ -1,133 +1,147 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2010 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
 package spark.components
 {
-    import flash.utils.Dictionary;
+import flash.utils.Dictionary;
+
+import mx.core.UIComponent;
+import mx.core.mx_internal;
+import mx.events.FlexEvent;
+
+import spark.events.ElementExistenceEvent;

-    import mx.core.UIComponent;
-    import mx.events.FlexEvent;
+use namespace mx_internal;

-    ////////////////////////////////////////////////////////////////////////////////
+/*
+ *  TODO:
+ *
+ *
+ *
+ *  ISSUES:
+ *  - Support auto-generation of numberLabel values?
+ *  - Should we support developer overriding the layout defined value in columnWidths?
+ *  If so, we need a seperate property or function like columnWidthsOverride
+ *
+ */
+
+/**
+ *  SkinnableContainer with FormItem children.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4.5
+ */
+public class Form extends SkinnableContainer
+{
+
+    public function Form()
+    {
+        super();
+        addEventListener(FlexEvent.VALID, validHandler, true);
+        addEventListener(FlexEvent.INVALID, invalidHandler, true);
+        // Set these here instead of in the CSS type selector for Form
+        // We want to hide the fact that the Form itself doesn't show
+        // the error skin or error tip, but that its children do.
+        setStyle("showErrorSkin", false);
+        setStyle("showErrorTip", false);
+    }
+
+    private var errorStateChanged:Boolean = false;
+
+    //--------------------------------------------------------------------------
     //
-    //  ADOBE SYSTEMS INCORPORATED
-    //  Copyright 2008 Adobe Systems Incorporated
-    //  All Rights Reserved.
+    //  Properties
     //
-    //  NOTICE: Adobe permits you to use, modify, and distribute this file
-    //  in accordance with the terms of the license agreement accompanying it.
-    //
-    ////////////////////////////////////////////////////////////////////////////////
-
-    /**
-     *  TODO:
-     *
-     *
-     *
-     *  ISSUES:
-     *  - Support auto-generation of numberLabel values?
-     *  - Should we support developer overriding the layout defined value in columnWidths?
-     *  If so, we need a seperate property or function like columnWidthsOverride
-     *
-     */
+    //--------------------------------------------------------------------------
+
+
+    mx_internal var _invalidElements:Dictionary = new Dictionary(true);

     /**
-     *  SkinnableContainer with IFormItem children. It has a columnWidths property
-     *  which is an array of numbers that correspond to the maximum width for
-     *  each form column. Typically this is set by the FormLayout.
+     *  A dictionary of descendant elements that are in an INVALID state. The
+     *  dictionary keys are the invalid elements themselves. The dictionary
+     *  value is the errorString of that invalid element.
      *
+     *  If a descendant is removed from the Form, the dictionary will not get
+     *  updated.
+     *
      *  @langversion 3.0
      *  @playerversion Flash 10
      *  @playerversion AIR 1.5
-     *  @productversion Flex 4.5
+     *  @productversion Flex 4.5
      */
-    public class Form extends SkinnableContainer
+    public function get invalidElements():Dictionary
     {
+        return _invalidElements;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  If one of our descendants has just passed validation, then
+     *  remove it from the invalidElements dictionary
+     */
+    private function validHandler(event:FlexEvent):void
+    {
+        if (event.isDefaultPrevented())
+            return;

-        public function Form()
+        var targ:UIComponent = event.target as UIComponent;
+        if (invalidElements[targ] != undefined)
+            delete _invalidElements[targ];
+
+        errorStateChanged = true;
+        invalidateSkinState();
+    }
+
+    /**
+     *  @private
+     *  If one of our descendants has just failed validation, then
+     *  add it to the invalidElements dictionary
+     */
+    private function invalidHandler(event:FlexEvent):void
+    {
+        if (event.isDefaultPrevented())
+            return;
+
+        var targ:UIComponent = event.target as UIComponent;
+
+        if (targ)
+            _invalidElements[targ] = targ.errorString;
+
+        errorStateChanged = true;
+        invalidateSkinState();
+    }
+
+    /**
+     *  @private
+     */
+    override protected function getCurrentSkinState():String
+    {
+        var result:String = super.getCurrentSkinState();
+
+        if (errorStateChanged)
         {
-            super();
-            addEventListener(FlexEvent.VALID, validHandler, true);
-            addEventListener(FlexEvent.INVALID, invalidHandler, true);
-            setStyle("showErrorSkin", false);
-            setStyle("showErrorTip", false);
-        }
-
-        //--------------------------------------------------------------------------
-        //
-        //  Properties
-        //
-        //--------------------------------------------------------------------------
-
-        public var invalidElements:Dictionary = new Dictionary(true);
-
-        //----------------------------------
-        //  columnWidths
-        //----------------------------------
-
-
-        private var _columnWidths:Vector.<Number>;
-
-        [Bindable("updateComplete")]
-
-        /**
-         *  An array of the maximum widths of the spaces allocated for each Form column
-         *
-         *
This property is set by the Form's layout. For all other purposes
-         *  it should be considered read-only.

-         *
-         *  @default
-         *
-         *  @langversion 3.0
-         *  @playerversion Flash 10
-         *  @playerversion AIR 1.5
-         *  @productversion Flex 4.5
-         */
-
-        //
-        public function get columnWidths():Vector.<Number>
-        {
-            return _columnWidths;
-        }
-
-        /**
-         *  @private
-         */
-        public function set columnWidths(value:Vector.<Number>):void
-        {
-            _columnWidths = value;
-
-        }
-
-        private function validHandler(event:FlexEvent):void
-        {
-            if (event.isDefaultPrevented())
-                return;
-
-            var targ:UIComponent = event.target as UIComponent;
-            if (invalidElements[targ] != undefined)
-                delete invalidElements[targ];
-
-            invalidateSkinState();
-        }
-
-        private function invalidHandler(event:FlexEvent):void
-        {
-            if (event.isDefaultPrevented())
-                return;
-
-            var targ:UIComponent = event.target as UIComponent;
-
-            if (targ)
-                invalidElements[targ] = targ.errorString;
-
-            invalidateSkinState();
-        }
-
-        override protected function getCurrentSkinState():String
-        {
-            var result:String = super.getCurrentSkinState();
-
+            errorStateChanged = false;
             var isEmpty:Boolean = true;
             var errMsg:String = "";

+            // TODO (jszeto) Figure out how to do the proper ordering
             for (var key:Object in invalidElements)
             {
                 isEmpty = false;
@@ -135,22 +149,19 @@
                 {
                     errMsg += "\n";
                 }
-
+
                 errMsg += UIComponent(key).errorString;
             }

+            // disabled state takes precedence over error state
             if (!isEmpty && enabled)
-            {
-
                 result = "error";
-            }

+            // Either set this to the concatenated string or empty string
             errorString = errMsg;
-            // Check if dictionary is not empty
-            //if () // dictionary not empty && enabled
-                //result = "error";
-
-            return result;
         }
+
+        return result;
     }
 }
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 22958
Author:   lraghuna@adobe.com
Date:     2011-10-11T17:45:07.494073Z

Log Message:
-----------
asdoc changes for itemsnapping

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

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

--- frameworks/projects/spark/src/spark/components/List.as
+++ frameworks/projects/spark/src/spark/components/List.as
@@ -1086,14 +1086,14 @@
     /**
      *  The scroll snapping mode currently in effect for this Scroller
      *
-     *
Changing this property to anything other than "off" may
+     *
Changing this property to anything other than "none" may
      *  result in an immediate change in scroll position to ensure
      *  an element is correctly "snapped" into position.  This change
      *  in scroll position is not animated

      *
      *  @see spark.components.ScrollSnappingMode
      *
-     *  @default "off"
+     *  @default "none"
      *
      *  @langversion 3.0
      *  @playerversion AIR 3


CloneOption.addControllerAction() will now return this

--- src/aerys/minko/type/clone/CloneOptions.as
+++ src/aerys/minko/type/clone/CloneOptions.as
@@ -76,7 +76,7 @@
 			return cloneOptions;
 		}

-		public function addControllerAction(controllerClass : Class, action : uint) : void
+		public function addControllerAction(controllerClass : Class, action : uint) : CloneOptions
 		{
 			switch (action)
 			{
@@ -95,6 +95,8 @@
 				default:
 					throw new Error('Unknown action type.');
 			}
+
+            return this;
 		}

 		public function removeControllerAction(controllerClass : Class) : void


Don't import flex stuff.
Just don't worry about rawChildren in a flex component.
Nothing is really using this method anyway.

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

--- src/as/com/threerings/flash/DisplayUtil.as
+++ src/as/com/threerings/flash/DisplayUtil.as
@@ -27,8 +27,6 @@
 import flash.display.DisplayObjectContainer;
 import flash.geom.Point;
 import flash.geom.Rectangle;
-
-import mx.core.IRawChildrenContainer;

 public class DisplayUtil
 {
@@ -57,13 +55,11 @@
         callbackFunction(disp);

         if (disp is DisplayObjectContainer) {
-            // a little type-unsafety so that we don't have to write two blocks
-            var o :Object = (disp is IRawChildrenContainer) ?
-                IRawChildrenContainer(disp).rawChildren : disp;
-            var nn :int = int(o.numChildren);
+            var container :DisplayObjectContainer = disp as DisplayObjectContainer;
+            var nn :int = container.numChildren;
             for (var ii :int = 0; ii < nn; ii++) {
                 try {
-                    disp = DisplayObject(o.getChildAt(ii));
+                    disp = container.getChildAt(ii);
                 } catch (err :SecurityError) {
                     continue;
                 }


Added configureBridge().

Added configureBridge().

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

--- src/as/com/threerings/util/CommandEvent.as
+++ src/as/com/threerings/util/CommandEvent.as
@@ -89,6 +89,19 @@
         }
     }

+    /**
+     * Configure a bridge from something like a pop-up window to an alternate target.
+     */
+    public static function configureBridge (source :IEventDispatcher, target :IEventDispatcher) :void
+    {
+        source.addEventListener(COMMAND,
+            function (event :CommandEvent) :void {
+                event.markAsHandled();
+                dispatch(target, event.command, event.arg);
+            },
+            false, -1);
+    }
+
     /** The command. */
     public var command :String;


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 19294
Author:   eday@adobe.com
Date:     2010-12-10T22:13:53.316129Z

Log Message:
-----------
Bounce/pull effects for touch scrolling.

1. Extend the throw animation to perform overshoot and settle ("bounce") effects.
2. Allow a scrolled component to be "pulled" past its edges.
3. Match initial throw velocity to final scroll velocity.
4. Calculate throw duration with fixed deceleration factor.

QE notes:
Doc notes:
Bugs:
Reviewer: Ryan
Tests run: checkintests, manual, cyclone run by Joan
Is noteworthy for integration:

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

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

--- frameworks/projects/spark/src/spark/components/HScrollBar.as
+++ frameworks/projects/spark/src/spark/components/HScrollBar.as
@@ -16,6 +16,7 @@

 import mx.core.EventPriority;
 import mx.core.IInvalidating;
+import mx.core.InteractionMode;
 import mx.core.mx_internal;
 import mx.events.FlexMouseEvent;
 import mx.events.PropertyChangeEvent;
@@ -158,7 +159,21 @@
         // updated yet.  Making the maximum==hsp here avoids trouble later
         // when Range constrains value
         var cWidth:Number = viewport.contentWidth;
-        maximum = (cWidth == 0) ? hsp : cWidth - viewportWidth;
+
+        if (getStyle("interactionMode") == InteractionMode.TOUCH)
+        {
+            // For mobile, we allow the min/max to extend a little beyond the ends so
+            // we can support bounce/pull kinetic effects.
+            minimum = -viewportWidth;
+            maximum = (cWidth == 0) ? hsp + viewportWidth : cWidth;
+        }
+        else
+        {
+            minimum = 0;
+            maximum = (cWidth == 0) ? hsp : cWidth - viewportWidth;
+        }
+
+
         pageSize = viewportWidth;
     }

@@ -231,15 +246,33 @@
             return;

         var trackSize:Number = track.getLayoutBoundsWidth();
-        var range:Number = maximum - minimum;
-
+
+        var min:Number;
+        var max:Number;
+        if (getStyle("interactionMode") == InteractionMode.TOUCH)
+        {
+            // For calculating thumb position/size on mobile, we want to exclude
+            // the extra margin we added to minimum and maximum for bounce/pull.
+            var viewportWidth:Number = isNaN(viewport.width) ? 0 : viewport.width;
+
+            min = 0;
+            max = Math.max(0, maximum - viewportWidth);
+        }
+        else
+        {
+            min = minimum;
+            max = maximum;
+        }
+        var range:Number = max - min;
+
+        var fixedThumbSize:Boolean = !(getStyle("fixedThumbSize") === false);
         var thumbPos:Point;
         var thumbPosTrackX:Number = 0;
         var thumbPosParentX:Number = 0;
         var thumbSize:Number = trackSize;
         if (range > 0)
         {
-            if (getStyle("fixedThumbSize") === false)
+            if (!fixedThumbSize)
             {
                 thumbSize = Math.min((pageSize / (range + pageSize)) * trackSize, trackSize)
                 thumbSize = Math.max(thumb.minWidth, thumbSize);
@@ -250,10 +283,33 @@
             }

             // calculate new thumb position.
-            thumbPosTrackX = (pendingValue - minimum) * ((trackSize - thumbSize) / range);
-        }
-
-        if (getStyle("fixedThumbSize") === false)
+            thumbPosTrackX = (pendingValue - min) * ((trackSize - thumbSize) / range);
+        }
+
+        // Special thumb behavior for bounce/pull.  When the component is positioned
+        // beyond its min/max, we want the scroll thumb to shink in size.
+        // Note: not checking interactionMode==TOUCH here because it is assumed that
+        // value will never exceed min/max unless in touch mode.
+        if (pendingValue < min)
+        {
+            if (!fixedThumbSize)
+            {
+                // Note:  we use thumb.height here to ensure the thumb doesn't get smaller than square.
+                thumbSize = Math.max(Math.max(thumb.height, thumb.minWidth), thumbSize + pendingValue);
+            }
+            thumbPosTrackX = min;
+        }
+        if (pendingValue > max)
+        {
+            if (!fixedThumbSize)
+            {
+                // Note:  we use thumb.height here to ensure the thumb doesn't get smaller than square.
+                thumbSize = Math.max(Math.max(thumb.height, thumb.minWidth), thumbSize - (pendingValue - max));
+            }
+            thumbPosTrackX = trackSize - thumbSize;
+        }
+
+        if (!fixedThumbSize)
             thumb.setLayoutBoundsSize(thumbSize, NaN);
         if (getStyle("autoThumbVisibility") === true)
             thumb.visible = thumbSize < trackSize;
@@ -438,9 +494,22 @@
     override mx_internal function viewportContentWidthChangeHandler(event:PropertyChangeEvent):void
     {
         if (viewport)
-        {
-            var viewportWidth:Number = isNaN(viewport.width) ? 0 : viewport.width;
-            maximum = viewport.contentWidth - viewportWidth;
+            updateMaximumAndPageSize();
+    }
+
+    /**
+     *  @private
+     */
+    override public function styleChanged(styleName:String):void
+        {
+        super.styleChanged(styleName);
+
+        var allStyles:Boolean = !styleName || styleName == "styleName";
+
+        if (allStyles || styleName == "interactionMode")
+        {
+            if (viewport)
+                updateMaximumAndPageSize();
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 4337
Author:   egeorgie@adobe.com
Date:     2008-12-17T01:41:36.131845Z

Log Message:
-----------
ILayoutElement methods renames

Interface ILayoutElement
{
getLayoutWidth -> getLayoutBoundsWidth
getLayoutHeight -> getLayoutBoundsHeight
getLayoutPositionX -> getLayoutBoundsX
getLayoutPositionY -> getLayoutBoundsY
setLayoutSize -> setLayoutBoundsSize
setLayoutPosition -> setLayoutBoundsPosition
getPreferredWidth -> getPreferredBoundsWidth
getPreferredHeight -> getPreferredBoundsHeight
getMinWidth -> getMinBoundsWidth
getMinHeight -> getMinBoundsHeight
getMaxWidth -> getMaxBoundsWidth
getMaxHeight -> getMaxBoundsHeight

…unrelated stuff…
}

Reviewed by Gordon

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/layout/layout_tester.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LinearLayoutVector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/layouts/WheelLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/graphics/GraphicTags_checkintests.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxScrollerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Ellipse.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutElementUIC.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/components/VScrollBar.as
+++ frameworks/projects/spark/src/spark/components/VScrollBar.as
@@ -109,7 +109,7 @@
         {
             var trackPos:Number = track ? track.y : 0;
             var layoutElement:ILayoutElement = LayoutElementFactory.getLayoutElementFor(thumb);
-            layoutElement.setLayoutPosition(layoutElement.getLayoutPositionX(),
+            layoutElement.setLayoutBoundsPosition(layoutElement.getLayoutBoundsX(),
                                             Math.round(trackPos + thumbPos));
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 8560
Author:   clucier@adobe.com
Date:     2009-07-14T21:34:26.949585Z

Log Message:
-----------
Another pass at SDK-17766.

Fix for focusSkin and errorSkin to account for bogus bitmap snapshots when objects are 3D transformed.
Bugs: SDK-17766
Reviewer: Jason
QE Notes: None
Doc Notes: None

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ErrorSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/FocusSkin.as</path>

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

--- frameworks/projects/spark/src/spark/skins/spark/FocusSkin.as
+++ frameworks/projects/spark/src/spark/skins/spark/FocusSkin.as
@@ -150,6 +150,14 @@
         if (focusObject.focusObj)
             focusObject.focusObj.visible = false;

+        // Ensure no 3D transforms apply, as this skews our snapshot bitmap.
+        var transform3D:Matrix3D = null;
+        if (focusObject.$transform.matrix3D)
+        {
+            transform3D = focusObject.$transform.matrix3D;
+            focusObject.$transform.matrix3D = null;
+        }
+
         // Temporary solution for focus drawing on CheckBox and RadioButton components.
         // Hide the label before drawing the focus.
         // FIXME (gruehle): Figure out a better solution.
@@ -214,6 +222,10 @@
         }

         bitmap.bitmapData = bitmapData;
+
+        // Restore original 3D matrix if applicable.
+        if (transform3D)
+            focusObject.$transform.matrix3D = transform3D;
     }

     private static var classDefCache:Object = {};


Changed current version to 4.10 from 4.9

--- frameworks/projects/framework/src/mx/core/FlexVersion.as
+++ frameworks/projects/framework/src/mx/core/FlexVersion.as
@@ -56,8 +56,22 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public static const CURRENT_VERSION:uint = 0x04090000;
-
+    public static const CURRENT_VERSION:uint = 0x04100000;
+
+	/**
+	 *  The compatibilityVersion value of Flex 4.10,
+	 *  encoded numerically as a uint.
+	 *  Code can compare this constant against
+	 *  the compatibilityVersion
+	 *  to implement version-specific behavior.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 11
+	 *  @playerversion AIR 3
+	 *  @productversion Apache Flex 4.10
+	 */
+	public static const VERSION_4_10:uint = 0x04100000;
+
     /**
      *  The compatibilityVersion value of Flex 4.9,
      *  encoded numerically as a uint.


Transferred from the Adobe Open Source Subversion Repository

Revision: 3582
Author:   egreenfi@adobe.com
Date:     2008-10-11T00:13:59.101068Z

Log Message:
-----------
FxRotate3D effect now no longer uses the component's transform point to rotate, but rather adjusts x/y to simulate rotation around its transform center.  It does so using a new transformAround() method added to ITransformable (including implemetnations by UICompoennt, GraphicElement, and CompoundTransform)

REview: Chet
QA: shouldn't affect any existing test cases
Checkintests: passed

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/ITransformable.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxRotate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/CompoundTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -1731,8 +1731,7 @@
    		invalidateTransform();
    		invalidateParentSizeAndDisplayList();
     }
-
-
+
     //----------------------------------
     //  y
     //----------------------------------
@@ -9650,6 +9649,36 @@
 	   		invalidateParentSizeAndDisplayList();
   		}
 	}
+	public function transformAround(rx:Number,ry:Number,rz:Number,sx:Number,sy:Number,sz:Number,tx:Number,ty:Number,tz:Number):void
+	{
+		if(_layoutFeatures == null && (
+			(!isNaN(rx) && rx != 0) ||
+			(!isNaN(ry) && ry != 0) ||
+			(!isNaN(sz) && sz != 1)
+			))
+		{
+			initAdvancedLayoutFeatures();
+		}
+		if(_layoutFeatures != null)
+		{
+			_layoutFeatures.transformAround(rx,ry,rz,sx,sy,sz,tx,ty,tz,true);
+			invalidateTransform();
+	   		invalidateParentSizeAndDisplayList();
+		}
+		else
+		{
+			var xformedPt:Point = super.transform.matrix.transformPoint(new Point(tx,ty));
+			if(!isNaN(rz))
+			rotation = rz;
+			if(!isNaN(sx))
+				scaleX = sx;
+			if(!isNaN(sx))
+				scaleY = sy;
+			var postXFormPoint:Point = super.transform.matrix.transformPoint(new Point(tx,ty));
+			x += xformedPt.x - postXFormPoint.x;
+			y += xformedPt.y - postXFormPoint.y;
+		}
+	}

 	/**
 	 * Documentation is not currently available.  the matrix of a component is the transform matrix used to calculate its layout


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

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

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

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

 package mx.effects
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/spark/src/spark/components/HGroup.as
+++ frameworks/projects/spark/src/spark/components/HGroup.as
@@ -14,6 +14,8 @@
 import flash.events.Event;
 import mx.components.Group;
 import mx.layout.HorizontalLayout;
+
+[IconFile("HGroup.png")]

 /**
  * A Group with a HorizontalLayout.


Transferred from the Adobe Open Source Subversion Repository

Revision: 20642
Author:   smgilson@adobe.com
Date:     2011-03-07T17:53:01.854031Z

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

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/projects/spark/src/spark/components/HGroup.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/primitives/BitmapImage.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/components/examples/TraceSelectionRanges.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/SkinnableContainer.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/ButtonBarButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Image.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>

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

--- frameworks/projects/spark/src/spark/components/HGroup.as
+++ frameworks/projects/spark/src/spark/components/HGroup.as
@@ -44,7 +44,7 @@
  *    Properties
  *    columnWidth="no default"
  *    gap="6"
- *    horizontalAlign="top"
+ *    horizontalAlign="left"
  *    paddingBottom="0"
  *    paddingLeft="0"
  *    paddingRight="0"


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

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

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

--- frameworks/projects/rpc/src/mx/messaging/errors/MessageSerializationError.as
+++ frameworks/projects/rpc/src/mx/messaging/errors/MessageSerializationError.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.errors
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 13145
Author:   mhorn@adobe.com
Date:     2009-12-22T16:47:14.705038Z

Log Message:
-----------
asdoc updates and bug fixes

Modified Paths:
--------------
<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/framework/src/mx/filters/BaseDimensionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/logging/ILogger.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/DropDownListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IBitmapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/Stroke.as</path>

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

--- frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.as
+++ frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.as
@@ -162,6 +162,10 @@
 /**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#kerning
  *
+ *
Kerning is enabled by default for Spark components, but is disabled by default for MX components.
+ *  Spark components interpret default as auto,
+ *  while MX components interpret default as false.

+ *
  *  @langversion 3.0
  *  @playerversion Flash 10
  *  @playerversion AIR 1.5


Resolve conflict

Resolve conflict

--- src/aerys/minko/type/stream/iterator/VertexIterator.as
+++ src/aerys/minko/type/stream/iterator/VertexIterator.as
@@ -79,10 +79,10 @@
 		{
 			super();

-			/*if (!vertexStream.dynamic)
-				throw new Error("Unable to work on static VertexStream.");
-			if (!indexStream.dynamic)
-				throw new Error("Unable to work on static IndexStream.");*/
+//			if (!vertexStream.dynamic)
+//				throw new Error("Unable to work on static VertexStream.");
+//			if (!indexStream.dynamic)
+//				throw new Error("Unable to work on static IndexStream.");

 			_vstream = vertexStream;
 			_istream = indexStream;


Inline function in ArcBallController

Inline function in ArcBallController

--- src/aerys/minko/scene/controller/camera/ArcBallController.as
+++ src/aerys/minko/scene/controller/camera/ArcBallController.as
@@ -266,14 +266,7 @@
 			if (_newPitch > Math.PI - EPSILON)
 				_newPitch = Math.PI - EPSILON;
 		}
-
-		private function dampValues(time : Number, dampingFactor : Number) : void
-		{
-			_distance	= interpolate(_distance,	_newDistance,	time,	dampingFactor);
-			_pitch		= interpolate(_pitch,		_newPitch,		time,	dampingFactor);
-			_yaw		= interpolate(_yaw,			_newYaw, 		time,	dampingFactor);
-		}
-
+
 		private function updateTargets(time : Number = 1) : void
 		{
 			var enableInertia	: Boolean	= (_inertia != 1. && _interpolationSpeed != 1.);
@@ -282,7 +275,14 @@
 				clampValues();

 				if (enableInertia)
-					dampValues(time * _interpolationSpeed, _inertia);
+                {
+                    var dt      : Number = time * _interpolationSpeed;
+                    var factor  : Number = _inertia;
+
+                    _distance   = (((_distance * factor)    + (_newDistance * dt)) / (factor + dt));
+                    _pitch      = (((_pitch * factor)       + (_newPitch * dt)) / (factor + dt));
+                    _yaw        = (((_yaw * factor)         + (_newYaw * dt)) / (factor + dt));
+                }
 				else
 				{
 					_yaw = _newYaw;
@@ -329,10 +329,5 @@
 		{
 			_update = true;
 		}
-
-		private function interpolate(src : Number, dst : Number, dt : Number, factor : Number) : Number
-		{
-			return (((src * factor) + (dst * dt)) / (factor + dt));
-		}
-	}
+    }
 }


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

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

 package mx.charts.chartClasses
 {


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

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

 package mx.binding
 {


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 12569
Author:   mchotin@adobe.com
Date:     2009-12-05T00:35:58.988019Z

Log Message:
-----------
9 new sample themes and an update to the wireframe theme

Wireframe theme now has support for all MX components including most of the important AIR ones.

samples/themes now has 9 new themes, 5 spark_css themes which are CSS files, and 4 which are graphical assets, some from SWFs, some from images, some where the work is done in the MXML skin file.  Some credit goes to EffectiveUI for the color choices.  Some blame goes to me for mucking with them.

DateChooser is updated to handle backgroundColor better.

The main build.xml file is updated to build the themes during the main target if "-Dthemes=anything" and themes are added to the regular zip and mpl zip.

Reviewed by Glenn
Consulted with Jim
Themes primarily contributed by EffectiveUI

QA: we agreed the sample themes are just samples, there's a README to that effect.  However it'd be good to use the wireframe theme in tests with Halo components now.  I have concerns I may have screwed up some focus logic by deleting a little too aggressively.
Doc: Themes are decent samples though the code is not necessarily high quality.
Builder: these are for you baby!

I would like to thank whomever ends up rescuing the build after I check in these 586 files.

Modified Paths:
--------------
629 paths were modified

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

--- frameworks/projects/wireframe/src/mx/skins/wireframe/ProgressMaskSkin.as
+++ frameworks/projects/wireframe/src/mx/skins/wireframe/ProgressMaskSkin.as
@@ -0,0 +1,76 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2007-2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.skins.wireframe
+{
+
+import flash.display.Graphics;
+import mx.skins.ProgrammaticSkin;
+
+/**
+ *  The Spark skin for the mask of the Halo ProgressBar component's determinate and indeterminate bars.
+ *  The mask defines the area in which the progress bar or
+ *  indeterminate progress bar is displayed.
+ *  By default, the mask defines the progress bar to be inset 1 pixel from the track.
+ *
+ *  @see mx.controls.ProgressBar
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+public class ProgressMaskSkin extends ProgrammaticSkin
+{
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10
+	 *  @playerversion AIR 1.5
+	 *  @productversion Flex 4
+     */
+    public function ProgressMaskSkin()
+    {
+        super();
+    }
+
+     //--------------------------------------------------------------------------
+    //
+    //  Overridden methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override protected function updateDisplayList(w:Number, h:Number):void
+    {
+        super.updateDisplayList(w, h);
+
+        // draw the mask
+        var g:Graphics = graphics;
+        g.clear();
+        g.beginFill(0xFFFF00);
+        g.drawRect(2, 1, w - 4, h - 2);
+        g.endFill();
+    }
+
+
+}
+
+}


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

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

 package mx.core
 {


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

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

 package mx.logging
 {


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 93
Author:   open-source-svn-admin@adobe.com
Date:     2008-01-04T01:15:27.667574Z

Log Message:
-----------
Perforce Change 191934 by aharui@aharui-pc2 on 2008/01/03 19:48:54 Fix Broken Mustella Test Bugs: SDK-14129 QA: Doc:

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

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

--- frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
+++ frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
@@ -6361,7 +6361,6 @@
                             anchorIndex = index;
                             anchorBookmark = collectionIterator.bookmark;
                         }
-						items.splice(i, 1);
                         break;
                     }

@@ -6377,7 +6376,7 @@
                 catch(e2:ItemPendingError)
                 {
                     e2.addResponder(new ItemResponder(selectionDataPendingResultHandler, selectionDataPendingFailureHandler,
-                                                            new ListBaseSelectionDataPending(false, index, items, CursorBookmark.FIRST, index)));
+                                                            new ListBaseSelectionDataPending(false, index, items.slice(i + 1), CursorBookmark.FIRST, index)));
                     return;
                 }
             }