Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/states/AddItems.as
+++ frameworks/projects/framework/src/mx/states/AddItems.as
@@ -663,7 +663,7 @@
         var index:int = -1;
         if (relativeTo is Array)
         {
-            for( var i:int = 0; ((i < relativeTo.length) && index < 0); i++ )
+            for (var i:int = 0; ((i < relativeTo.length) && index < 0); i++)
             {
                 var relativeObject:Object = getOverrideContext(relativeTo[i], parent);
                 index = getObjectIndex(relativeObject, dest);


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 12817
Author:   jszeto@adobe.com
Date:     2009-12-11T00:19:53.153979Z

Log Message:
-----------
TextField measurement bug fix

SDK-24560 - Scaling errors in UIFTETextField and UITextField

Fixed the measuredHeight and measuredWidth getters in UIFTETextField and UITextField

QE notes: None
Doc notes: None
Bugs: SDK-24560
Reviewer: Chet
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/.actionScriptProperties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/UIFTETextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/.flexLibProperties</path>

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

--- frameworks/projects/spark/src/mx/core/UIFTETextField.as
+++ frameworks/projects/spark/src/mx/core/UIFTETextField.as
@@ -1229,7 +1229,7 @@
         if (!stage)
             return textHeight + TEXT_HEIGHT_PADDING;

-        return textHeight * transform.concatenatedMatrix.a + TEXT_HEIGHT_PADDING;
+        return textHeight * transform.concatenatedMatrix.d + TEXT_HEIGHT_PADDING;
     }

     //----------------------------------
@@ -1299,7 +1299,7 @@
         if (!stage)
             return textWidth + TEXT_WIDTH_PADDING;

-        return textWidth * transform.concatenatedMatrix.d + TEXT_WIDTH_PADDING;
+        return textWidth * transform.concatenatedMatrix.a + TEXT_WIDTH_PADDING;
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 4691
Author:   egeorgie@adobe.com
Date:     2009-01-27T21:19:25.712203Z

Log Message:
-----------
Make the Group share its display object with the GraphicElements by default.

QE Notes: Add a test-case and make sure that a plain Group with bunch of GraphicElements doesn't have any child display objects (numChildren == 0).
Doc Notes:
Bugs: None
Reviewer: Glenn
tests: compile, checkintests, mustella (gumbo/core/Group)

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -90,6 +90,34 @@
     private static const ITEM_ORDERED_LAYERING:uint = 0;
     private static const SPARSE_LAYERING:uint = 1;

+    /**
+     *  @private
+     */
+    override public function set scrollRect(value:Rectangle):void
+    {
+        // Work-around for Flash Player bug: if GraphicElements share
+        // the Group's Display Object and cacheAsBitmap is true, the
+        // scrollRect won't function correctly.
+        var previous:Boolean = canShareDisplayObject;
+        super.scrollRect = value;
+        if (numGraphicElements > 0 && previous != canShareDisplayObject)
+            invalidateDisplayObjectOrdering();
+    }
+
+    /**
+     *  @private
+     */
+    override public function set cacheAsBitmap(value:Boolean):void
+    {
+        // Work-around for Flash Player bug: if GraphicElements share
+        // the Group's Display Object and cacheAsBitmap is true, the
+        // scrollRect won't function correctly.
+        var previous:Boolean = canShareDisplayObject;
+        super.cacheAsBitmap = value;
+        if (numGraphicElements > 0 && previous != canShareDisplayObject)
+            invalidateDisplayObjectOrdering();
+    }
+
     //----------------------------------
     //  alpha
     //----------------------------------
@@ -800,12 +828,20 @@
      */
     private function get canShareDisplayObject():Boolean
     {
+        // Work-around for Flash Player bug: if GraphicElements share
+        // the Group's Display Object and cacheAsBitmap is true, the
+        // scrollRect won't function correctly.
+        if (cacheAsBitmap && scrollRect)
+            return false;
+
         // we can't share ourselves if we're in blendMode != normal, or we have
         // to deal with any layering.  The reason is because we handle layer = 0 first
         // in our implementation, and we don't want those to use our display object to
         // draw into because there could be something further down the line that has
         // layer < 0
-        return blendMode == "normal" && (layeringMode == ITEM_ORDERED_LAYERING);
+        // Make sure we use _blendMode here, since _blendMode can be "normal", but
+        // blendMode still report as "layer".
+        return _blendMode == "normal" && (layeringMode == ITEM_ORDERED_LAYERING);
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 4253
Author:   clucier@adobe.com
Date:     2008-12-08T19:18:44.999653Z

Log Message:
-----------
Further Group optimizations, now we only propagate style changes to Group children when a display list update is not pending (contentChanged is false).
Reviewer: Ryan
Doc Notes: None
Bug Notes: None
QE Notes: None
Tests: Checkintests, Mustella (Group, FxContainer, SkinnableContainer, HaloIntegration).

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -358,6 +358,9 @@
     override public function notifyStyleChangeInChildren(
                         styleProp:String, recursive:Boolean):void
     {
+        if (contentChanged || !recursive)
+            return;
+
         var n:int = numElements;
         for (var i:int = 0; i < n; i++)
         {
@@ -365,11 +368,7 @@
             if (child)
             {
                 child.styleChanged(styleProp);
-
-                // Always recursively call this function because of my
-                // descendants might have a styleName property that points
-                // to this object.  The recursive flag is respected in
-                // Container.notifyStyleChangeInChildren.
+
                 if (child is IStyleClient)
                     IStyleClient(child).notifyStyleChangeInChildren(styleProp, recursive);
             }
@@ -393,7 +392,7 @@
         {
             var child:Object = getItemAt(i);

-            if (child is IStyleClient)
+            if ( recursive && child is IStyleClient)
             {
                 // Does this object already have a proto chain?
                 // If not, there's no need to regenerate a new one.


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

--- frameworks/projects/sparkskins/src/SparkSkinsClasses.as
+++ frameworks/projects/sparkskins/src/SparkSkinsClasses.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-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: 19980
Author:   chiedozi@adobe.com
Date:     2011-01-27T19:46:02.128372Z

Log Message:
-----------
TabbedViewNavigator now disables the TabBar when a child navigator is changing views
TabbedViewNavigator now enforces its tabBar skinpart to have its requireSelection property be true
Removed an unnecessary  validateNow from TabbedViewNavigator
Resolved some TODOs and FIXMEs

QE notes:
Doc notes:
Bugs:
Reviewer: Jason San Jose
Tests run:
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/managers/PersistenceManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorApplicationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/NavigationStack.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewDescriptor.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@1264580 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorApplicationBase.as
+++ frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorApplicationBase.as
@@ -528,10 +528,11 @@
         // We need to listen to different events on desktop and mobile because
         // on desktop, the deactivate event is dispatched whenever the window loses
         // focus.  This could cause persistence to run when the developer doesn't
-        // expect it to on desktop.
+        // expect it to on desktop.  So our solution temporarily is to assume that
+        // if the os string contains Windows or Mac, assume we are running on desktop.
         var os:String = Capabilities.os;

-        // FIXME (chiedozi): enumerate all possible os values
+        // TODO (chiedozi): Try to find a better workaround for this
         if (os.indexOf("Windows") != -1 || os.indexOf("Mac OS") != -1)
             NativeApplication.nativeApplication.
                 addEventListener(Event.EXITING, deactivateHandler);


Fixed inefficiency with clock-label formatting

--- src/Displays/DClockModule.as
+++ src/Displays/DClockModule.as
@@ -36,8 +36,10 @@
 				clock.y = displayNode.y - displayNode.offset.y;
 				clock.draw();

-				displayNode.label.color = clock.on ? 0x0 : 0xffffff;
-				displayNode.label.shadow = clock.on ? 0xffffff : 0x1;
+				var color:uint = clock.on ? 0x0 : 0xffffff;
+				var shadow:uint = clock.on ? 0xffffff : 0x1;
+				if (displayNode.label.color != color || displayNode.label.shadow != shadow)
+					displayNode.label.setFormat(displayNode.label.font, displayNode.label.size, color, displayNode.label.alignment, shadow);
 				displayNode.drawLabel(); //?
 			}
 		}


Fixed bounds caching issue

Fixed bounds caching issue

--- src/Displays/DWire.as
+++ src/Displays/DWire.as
@@ -337,9 +337,10 @@
 				}
 		}

-		private var _bounds:Rectangle
+		private var _bounds:Rectangle;
+		private var boundLoc:Point;
 		protected function get boundingBox():Rectangle {
-			if (_bounds && cachedLines)
+			if (_bounds && cachedLines && boundLoc.equals(wire.path[0]))
 				return _bounds;

 			var topLeft:Point = new Point(int.MAX_VALUE, int.MAX_VALUE);
@@ -358,6 +359,7 @@
 			else if (!height)
 				height = getWidth();
 			_bounds = new Rectangle(topLeft.x * U.GRID_DIM, topLeft.y * U.GRID_DIM, width, height);
+			boundLoc = wire.path[0].clone();
 			return _bounds;
 		}


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 8393
Author:   jszeto@adobe.com
Date:     2009-07-06T20:46:27.558863Z

Log Message:
-----------
Updated FIXME comments

Changed some to TODOs, removed some and filed bugs for the remainder

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Deepa

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>

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

--- frameworks/projects/spark/src/spark/components/HSlider.as
+++ frameworks/projects/spark/src/spark/components/HSlider.as
@@ -138,7 +138,7 @@

     /**
      *  @private
-     *  FIXME (jszeto): Update this to also use the ILayoutElement API
+     *  FIXME (jszeto): Update this to also use the ILayoutElement API SDK-22045
      */
     override protected function updateDataTip(dataTipInstance:IDataRenderer, initialPosition:Point):void
     {


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

--- frameworks/projects/spark/src/spark/components/HSlider.as
+++ frameworks/projects/spark/src/spark/components/HSlider.as
@@ -17,6 +17,8 @@
 import mx.layout.ILayoutItem;
 import mx.layout.LayoutItemFactory;
 import mx.components.baseClasses.FxSlider;
+
+[IconFile("FxHSlider.png")]

 /**
  *  The FxHSlider class defines a horizontal slider component.


create game defaults show player on map to true

--- flexEditor/src/org/arisgames/editor/services/AppServices.as
+++ flexEditor/src/org/arisgames/editor/services/AppServices.as
@@ -96,6 +96,7 @@
 			game.playerCreateComments = true;
 			game.playerLikesNotes = true;
 			game.allowtrading = true;
+			game.showPlayerOnMap = true;
 			r = AppDAO.getInstance().getGameServer().createGame(SecurityModel.getInstance().getUserId(),
 																game.name, game.description,
 																game.pcMediaId, game.iconMediaId, game.mediaId,


Fixed issue with O vs OO support

Fixed issue with O vs OO support

--- frameworks/projects/framework/src/mx/formatters/DateBase.as
+++ frameworks/projects/framework/src/mx/formatters/DateBase.as
@@ -578,7 +578,7 @@

 				if (key < 2 && mins == 0)
 					tzStr += setValue(hours, key);
-				else (key < 3)
+				else if (key < 3)
 					tzStr += setValue(hours, key) + ":" + setValue(mins, key);

 				if (offset >= 0)


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

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


Added top panel

Added top panel

--- Arguments/src/components/TopPanel.as
+++ Arguments/src/components/TopPanel.as
@@ -47,7 +47,7 @@
 		public var _aboutUsBtn:Button;
 		public var _faqBtn:Button;
 		public var _contactUsBtn:Button;
-		public var _helpBtn:Button;
+		public var _signInBtn:Button;
 		public var _publishMapHelp:Button;
 		public var _refreshButton:Button;


Removed node rotation post-snapping, as it has potential to produce erratic behavior.

--- Bin/Data/Scripts/Editor/EditorGizmo.as
+++ Bin/Data/Scripts/Editor/EditorGizmo.as
@@ -310,16 +310,6 @@
             }
             else
                 node.rotation = node.rotation * rotQuat;
-
-            // If snapping is on, perform a final snap on the euler angles to ensure we do not drift
-            if (rotateSnap)
-            {
-                Vector3 euler = node.rotation.eulerAngles;
-                euler.x = Floor(euler.x / rotateStep + 0.5) * rotateStep;
-                euler.y = Floor(euler.y / rotateStep + 0.5) * rotateStep;
-                euler.z = Floor(euler.z / rotateStep + 0.5) * rotateStep;
-                node.rotation = Quaternion(euler);
-            }
         }
     }


Error management

Error management

--- src/com/axis/rtmpclient/RTMPClient.as
+++ src/com/axis/rtmpclient/RTMPClient.as
@@ -6,7 +6,9 @@

   import flash.events.AsyncErrorEvent;
   import flash.events.EventDispatcher;
+  import flash.events.IOErrorEvent;
   import flash.events.NetStatusEvent;
+  import flash.events.SecurityErrorEvent;
   import flash.media.Video;
   import flash.net.NetConnection;
   import flash.net.NetStream;
@@ -18,7 +20,7 @@
     private var ns:NetStream;
     private var streamServer:String;
     private var streamId:String;
-    private var currentState:String = "stopped";
+    private var currentState:String = 'stopped';

     public function RTMPClient(video:Video, urlParsed:Object) {
       this.video = video;
@@ -29,6 +31,9 @@
       this.nc = new NetConnection();
       nc.addEventListener(NetStatusEvent.NET_STATUS, onConnectionStatus);
       nc.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);
+      nc.addEventListener(IOErrorEvent.IO_ERROR, onIOError);
+      nc.addEventListener(NetStatusEvent.NET_STATUS, onNetStatusError);
+      nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onSecurityError);
       nc.client = this;

       this.streamId = urlParsed.basename;
@@ -47,7 +52,7 @@
     public function stop():Boolean {
       ns.dispose();
       nc.close();
-      this.currentState = "stopped";
+      this.currentState = 'stopped';
       return true;
     }

@@ -57,7 +62,7 @@
         return false;
       }
       ns.pause();
-      this.currentState = "paused";
+      this.currentState = 'paused';
       return true;
     }

@@ -83,7 +88,7 @@

       if ('NetConnection.Connect.Closed' === event.info.code) {
         dispatchEvent(new ClientEvent(ClientEvent.STOPPED));
-        this.currentState = "stopped";
+        this.currentState = 'stopped';
       }
     }

@@ -108,33 +113,129 @@
       if (this.ns.bufferTime === 0 && 'NetStream.Play.Start' === event.info.code) {
         // Buffer is set to 0, dispatch start event immediately
         dispatchEvent(new ClientEvent(ClientEvent.START_PLAY));
-        this.currentState = "playing";
+        this.currentState = 'playing';
         return;
       }

       if (this.ns.bufferTime === 0 && 'NetStream.Unpause.Notify' === event.info.code) {
         // Buffer is set to 0, dispatch start event immediately
         dispatchEvent(new ClientEvent(ClientEvent.START_PLAY));
-        this.currentState = "playing";
+        this.currentState = 'playing';
         return;
       }

       if ('NetStream.Buffer.Full' === event.info.code) {
         dispatchEvent(new ClientEvent(ClientEvent.START_PLAY));
-        this.currentState = "playing";
+        this.currentState = 'playing';
         return;
       }

       if ('NetStream.Buffer.Empty' === event.info.code) {
         dispatchEvent(new ClientEvent(ClientEvent.PAUSED, { 'reason': 'buffering' }));
-        this.currentState = "paused";
+        this.currentState = 'paused';
         return;
       }

       if ('NetStream.Pause.Notify' === event.info.code) {
         dispatchEvent(new ClientEvent(ClientEvent.PAUSED, { 'reason': 'user' }));
-        this.currentState = "paused";
-        return;
+        this.currentState = 'paused';
+        return;
+      }
+    }
+
+    private function onIOError(event:IOErrorEvent):void {
+      ErrorManager.dispatchError(729, [event.text]);
+    }
+
+    private function onSecurityError(event:SecurityErrorEvent):void {
+      ErrorManager.dispatchError(730, [event.text]);
+    }
+
+    private function onNetStatusError(event:NetStatusEvent):void {
+      if (event.info.status === 'error') {
+        var errorCode:int = 0;
+        switch (event.info.code) {
+        case 'NetConnection.Call.BadVersion':
+          errorCode = 700;
+          break;
+        case 'NetConnection.Call.Failed':
+          errorCode = 701;
+          break;
+        case 'NetConnection.Call.Prohibited':
+          errorCode = 702;
+          break;
+        case 'NetConnection.Connect.AppShutdown':
+          errorCode = 703;
+          break;
+        case 'NetConnection.Connect.Failed':
+          errorCode = 704;
+          break;
+        case 'NetConnection.Connect.InvalidApp':
+          errorCode = 705;
+          break;
+        case 'NetConnection.Connect.Rejected':
+          errorCode = 706;
+          break;
+        case 'NetGroup.Connect.Failed':
+          errorCode = 707;
+          break;
+        case 'NetGroup.Connect.Rejected':
+          errorCode = 708;
+          break;
+        case 'NetStream.Connect.Failed':
+          errorCode = 709;
+          break;
+        case 'NetStream.Connect.Rejected':
+          errorCode = 710;
+          break;
+        case 'NetStream.Failed':
+          errorCode = 711;
+          break;
+        case 'NetStream.Play.Failed':
+          errorCode = 712;
+          break;
+        case 'NetStream.Play.FileStructureInvalid':
+          errorCode = 713;
+          break;
+        case 'NetStream.Play.InsufficientBW':
+          errorCode = 714;
+          break;
+        case 'NetStream.Play.StreamNotFound':
+          errorCode = 715;
+          break;
+        case 'NetStream.Publish.BadName':
+          errorCode = 716;
+          break;
+        case 'NetStream.Record.Failed':
+          errorCode = 717;
+          break;
+        case 'NetStream.Record.NoAccess':
+          errorCode = 718;
+          break;
+        case 'NetStream.Seek.Failed':
+          errorCode = 719;
+          break;
+        case 'NetStream.Seek.InvalidTime':
+          errorCode = 720;
+          break;
+        case 'SharedObject.BadPersistence':
+          errorCode = 721;
+          break;
+        case 'SharedObject.Flush.Failed':
+          errorCode = 722;
+          break;
+        case 'SharedObject.UriMismatch':
+          errorCode = 723;
+          break;
+
+        default:
+          ErrorManager.dispatchError(724, [event.info.code]);
+          return;
+        }
+
+        if (errorCode) {
+          ErrorManager.dispatchError(errorCode);
+        }
       }
     }
   }


removed window.open() params to allow Weave to be opened in a tab.

--- WeaveAdmin/src/weave/services/Admin.as
+++ WeaveAdmin/src/weave/services/Admin.as
@@ -412,10 +412,9 @@
 			var success:Boolean = JavaScript.exec(
 				{
 					url: weaveUrl + '?' + StandardLib.replace(URLUtil.objectToString(params, '&'), '%2F', '/'),
-					target: ADMIN_SESSION_WINDOW_NAME_PREFIX + createWeaveSession(),
-					windowParams: 'width=1000,height=740,location=0,toolbar=0,menubar=0,resizable=1'
+					target: ADMIN_SESSION_WINDOW_NAME_PREFIX + createWeaveSession()
 				},
-				'return !!window.open(url, target, windowParams);'
+				'return !!window.open(url, target);'
 			);
 			if (!success)
 				Alert.show("Please enable popups in your web browser.", "Popup blocked")


OFC-127 CSV export user interface

OFC-127 CSV export user interface


Transferred from the Adobe Open Source Subversion Repository

Revision: 4334
Author:   gruehle@adobe.com
Date:     2008-12-17T00:44:11.883503Z

Log Message:
-----------
Removed DropShadowFilter from the ScrollBar and NumericStepper/Spinner button skins. These were added as part of the styling changes in revision 4314 but caused a large increase in memory usage. These have been replaced with gradient approximations.

Added initial skin for ButtonBar. The corners of the first/last button skins get distorted when the buttons are resized. This will be fixed once scale grid support is done.

Fixed style metadata name problem: highlightColor should be rollOverColor.

QE Notes: Bitmap tests for scrollbar and numeric stepper/spinner need to be updated.
Doc Notes: None
Bugs: SDK-18452
Tests: checkintets

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/SparkColorStyles.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxButtonBarFirstButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxScrollBarUpButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxSpinnerIncrButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxScrollBarDownButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/Flex4Classes.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxSpinnerDecrButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxScrollBarLeftButtonSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxButtonBarMiddleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxScrollBarRightButtonSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxButtonBarLastButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxButtonBarSkin.mxml</path>

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

--- frameworks/projects/spark/src/SparkClasses.as
+++ frameworks/projects/spark/src/SparkClasses.as
@@ -26,6 +26,9 @@
 import mx.skins.spark.FxApplicationSkin; FxApplicationSkin;
 import mx.skins.spark.FxButtonSkin; FxButtonSkin;
 import mx.skins.spark.FxButtonBarSkin; FxButtonBarSkin;
+import mx.skins.spark.FxButtonBarFirstButtonSkin; FxButtonBarFirstButtonSkin;
+import mx.skins.spark.FxButtonBarMiddleButtonSkin; FxButtonBarMiddleButtonSkin;
+import mx.skins.spark.FxButtonBarLastButtonSkin; FxButtonBarLastButtonSkin;
 import mx.skins.spark.FxCheckBoxSkin; FxCheckBoxSkin;
 import mx.skins.spark.FxDataContainerSkin; FxDataContainerSkin;
 import mx.skins.spark.FxFocusSkin; FxFocusSkin;


fix coding style

fix coding style

--- src/aerys/minko/type/math/Plane.as
+++ src/aerys/minko/type/math/Plane.as
@@ -364,8 +364,7 @@

 		public function toString() : String
 		{
-			return "(" + _a + ", " + _b + ", "
-				   + _c + ", " + _d + ")";
+			return '(' + _a + ', ' + _b + ', ' + _c + ', ' + _d + ')';
 		}

 		private function createGaussianFromPlanes(plane1 : Plane,


added method drawWedge

added method drawWedge

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

--- src/reprise/utils/GfxUtil.as
+++ src/reprise/utils/GfxUtil.as
@@ -12,6 +12,7 @@
 package reprise.utils
 {
 	import flash.display.BitmapData;
+	import flash.display.Graphics;
 	import flash.display.Sprite;
 	import flash.geom.Matrix;
 	import flash.geom.Point;
@@ -286,6 +287,45 @@
 			target.copyPixels(tmp2, tmp2.rect, destPoint, null, null, true);
 		}

+		public static function drawWedge(graphics:Graphics, x:Number, y:Number, startAngle:Number,
+			arc:Number, radius:Number, yRadius:Number = -1):void
+		{
+			if (yRadius == -1)
+			{
+				yRadius = radius;
+			}
+			graphics.moveTo(x, y);
+			// Init vars
+			var segAngle:Number, theta:Number, angle:Number, angleMid:Number, segs:Number,
+				ax:Number, ay:Number, bx:Number, by:Number, cx:Number, cy:Number;
+
+			if (Math.abs(arc) > 360)
+			{
+				arc = 360;
+			}
+			segs = Math.ceil(Math.abs(arc)/45);
+			segAngle = arc/segs;
+			theta = -(segAngle/180)*Math.PI;
+			angle = -(startAngle/180)*Math.PI;
+			if (segs > 0)
+			{
+				ax = x+Math.cos(startAngle/180*Math.PI)*radius;
+				ay = y+Math.sin(-startAngle/180*Math.PI)*yRadius;
+				graphics.lineTo(ax, ay);
+				for (var i:Number = 0; i<segs; i++)
+				{
+					angle += theta;
+					angleMid = angle-(theta/2);
+					bx = x+Math.cos(angle)*radius;
+					by = y+Math.sin(angle)*yRadius;
+					cx = x+Math.cos(angleMid)*(radius/Math.cos(theta/2));
+					cy = y+Math.sin(angleMid)*(yRadius/Math.cos(theta/2));
+					graphics.curveTo(cx, cy, bx, by);
+				}
+				graphics.lineTo(x, y);
+			}
+		}
+
 		public static function copyPixelsTiled(
 			source:BitmapData, target:BitmapData,
 			sourceRect:Rectangle, destRect:Rectangle) : void


added missing reference to BackwardsCompatibility

--- WeaveJS/src/WeaveTest.as
+++ WeaveJS/src/WeaveTest.as
@@ -9,6 +9,7 @@
 	import weavejs.api.core.ILinkableVariable;
 	import weavejs.api.data.IAttributeColumn;
 	import weavejs.api.data.IQualifiedKey;
+	import weavejs.api.ui.IAltText;
 	import weavejs.api.ui.IVisTool;
 	import weavejs.api.ui.IVisTool_Basic;
 	import weavejs.api.ui.IVisTool_Utility;
@@ -84,9 +85,9 @@
 	import weavejs.geom.ZoomBounds;
 	import weavejs.net.Admin;
 	import weavejs.path.ExternalTool;
+	import weavejs.util.BackwardsCompatibility;
 	import weavejs.util.JS;
 	import weavejs.util.WeaveMenuItem;
-	import weavejs.api.ui.IAltText;

 	public class WeaveTest
 	{
@@ -163,6 +164,7 @@
 			Admin,
 			EventCallbackCollection,
 			IAltText,
+			BackwardsCompatibility,

 			//EntityNodeSearch, //TODO - resolve circular dependency issue
 			null


Transferred from the Adobe Open Source Subversion Repository

Revision: 11655
Author:   clucier@adobe.com
Date:     2009-11-11T16:27:42.224240Z

Log Message:
-----------
Added logic to allow getStyle to return locally set style values early on (before the instance has been added to DOM).

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

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

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -12,6 +12,8 @@
 package mx.core
 {

+import flash.accessibility.Accessibility;
+import flash.accessibility.AccessibilityProperties;
 import flash.display.DisplayObject;
 import flash.display.DisplayObjectContainer;
 import flash.display.GradientType;
@@ -37,8 +39,6 @@
 import flash.text.TextFormatAlign;
 import flash.text.TextLineMetrics;
 import flash.utils.getQualifiedClassName;
-import flash.accessibility.Accessibility;
-import flash.accessibility.AccessibilityProperties;

 import mx.automation.IAutomationObject;
 import mx.binding.BindingManager;
@@ -1460,7 +1460,7 @@
      *  hold the setStyles() calls that have been deferred untils a moduleFactory
      *  is set.
      */
-    private var deferredSetStyles:Array;
+    private var deferredSetStyles:Object;

     /**
      *  @private
@@ -10082,6 +10082,18 @@
      */
     public function getStyle(styleProp:String):*
     {
+        // If our style proto chain hasn't been set up yet, return any locally declared
+        // styles. This way any style set before we are added to the display list
+        // is correctly returned.
+        if (_inheritingStyles == StyleProtoChain.STYLE_UNINITIALIZED)
+        {
+            if (deferredSetStyles)
+                return this.deferredSetStyles[styleProp];
+
+            if (styleDeclaration)
+                return styleDeclaration.getStyle(styleProp);
+        }
+
         return styleManager.inheritingStyles[styleProp] ?
                _inheritingStyles[styleProp] :
                _nonInheritingStyles[styleProp];
@@ -10115,9 +10127,8 @@
         else
         {
             if (!deferredSetStyles)
-                deferredSetStyles = [];
-            deferredSetStyles.push(styleProp);
-            deferredSetStyles.push(newValue);
+                deferredSetStyles = new Object();
+            deferredSetStyles[styleProp] = newValue;
         }
     }

@@ -10132,18 +10143,8 @@
         if (!deferredSetStyles)
             return;

-        var styleProp:String;
-        var newValue:*;
-
-        var n:int = deferredSetStyles.length;
-        var i:int = 0;
-        while (i < n)
-        {
-            styleProp = deferredSetStyles[i++];
-            newValue = deferredSetStyles[i++];
-
-            StyleProtoChain.setStyle(this, styleProp, newValue);
-        }
+        for (var styleProp:String in deferredSetStyles)
+            StyleProtoChain.setStyle(this, styleProp, deferredSetStyles[styleProp]);

         deferredSetStyles = null;
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 10337
Author:   aharui@adobe.com
Date:     2009-09-17T01:07:04.733547Z

Log Message:
-----------
Capture phase listeners should not presume the event type.  Allow focusSkin to be null

QE Notes: None
Doc Notes: None
Bugs: SDK-15224, SDK-23179
Reviewer: Corey
API Change: No
Is noteworthy for integration: No
tests: checkintests mustella/components/SWFLoader

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

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -4448,7 +4448,8 @@
     [Inspectable(defaultValue="true")]

     /**
-     *  A flag that indicates whether child objects can receive focus
+     *  A flag that indicates whether this object can receive focus
+     *  via the TAB key
      *
      *
This is similar to the tabEnabled property
      *  used by the Flash Player.

@@ -8958,14 +8959,14 @@

             var focusClass:Class = getStyle("focusSkin");

+            if (!focusClass)
+                return;
+
             if (focusObj && !(focusObj is focusClass))
             {
                 focusPane.removeChild(focusObj);
                 focusObj = null;
             }
-
-            if (!focusClass)
-                return;

             if (!focusObj)
             {
@@ -11056,9 +11057,10 @@
      *  @private
      *  Called when this component resizes. Adjust the focus rect.
      */
-    private function focusObj_resizeHandler(event:ResizeEvent):void
-    {
-        adjustFocusRect();
+    private function focusObj_resizeHandler(event:Event):void
+    {
+        if (event is ResizeEvent)
+            adjustFocusRect();
     }

     /**


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

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

 package mx.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@1274365 13f79535-47bb-0310-9956-ffa450edef68

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

 package mx.rpc.soap
 {


多余的 import

多余的 import

--- ageb/src/ageb/modules/avatar/timelineClasses/FramesGrid.as
+++ ageb/src/ageb/modules/avatar/timelineClasses/FramesGrid.as
@@ -2,7 +2,6 @@
 {
 	import flash.events.MouseEvent;
 	import flash.geom.Rectangle;
-	import mx.collections.IList;
 	import mx.events.ResizeEvent;
 	import spark.components.Grid;
 	import spark.components.gridClasses.CellPosition;


Added a setIcon() method to update the icon after construction.

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

--- src/as/com/threerings/flash/SimpleIconButton.as
+++ src/as/com/threerings/flash/SimpleIconButton.as
@@ -15,12 +15,20 @@
 public class SimpleIconButton extends SimpleButton
 {
     /**
-     * Constructor.
-     *
+     * Constructor. @see #setIcon()
+     */
+    public function SimpleIconButton (icon :*)
+    {
+        setIcon(icon);
+    }
+
+    /**
+     * Update the icon for this button.
+     *
      * @param icon a BitmapData, or Bitmap (from which the BitmapData will be extracted), or
      *             a Class that instantiates into either a BitmapData or Bitmap.
      */
-    public function SimpleIconButton (icon :*)
+    public function setIcon (icon :*) :void
     {
         var bmp :BitmapData = ImageUtil.toBitmapData(icon);
         if (bmp == null) {


- changed UIObject to use real AS class name as elementType if static var 'className' is not defined for the object

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

--- src/reprise/ui/UIObject.as
+++ src/reprise/ui/UIObject.as
@@ -69,8 +69,11 @@
 		***************************************************************************/
 		public function UIObject()
 		{
-			m_class = Class(getDefinitionByName(getQualifiedClassName(this)));
-			m_elementType = m_class.className;
+//			m_class = Class(getDefinitionByName(getQualifiedClassName(this)));
+//			m_elementType = m_class.className;
+			var name : String = getQualifiedClassName(this);
+			m_class = Class(getDefinitionByName(name));
+			m_elementType = m_class.className || name.substr(name.indexOf('::') + 2);
 		}

 		/**


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/core/IInvalidating.as
+++ frameworks/projects/framework/src/mx/core/IInvalidating.as
@@ -16,6 +16,11 @@
  *  The IInvalidating interface defines the interface for components
  *  that use invalidation to do delayed -- rather than immediate --
  *  property commitment, measurement, drawing, and layout.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public interface IInvalidating
 {
@@ -32,6 +37,11 @@
 	 *
 	 *
For components that extend UIComponent, this implies
 	 *  that commitProperties() is called.

+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	function invalidateProperties():void;

@@ -44,6 +54,11 @@
 	 *  that measure() is called, unless the component
 	 *  has both explicitWidth and explicitHeight
 	 *  set.

+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	function invalidateSize():void;

@@ -54,6 +69,11 @@
 	 *
 	 *
For components that extend UIComponent, this implies
 	 *  that updateDisplayList() is called.

+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	function invalidateDisplayList():void;

@@ -79,6 +99,11 @@
      *  multiple times if the application code sets the width property
 	 *  more than once.
      *  This method lets you manually override this behavior.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function validateNow():void;
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 20263
Author:   klin@adobe.com
Date:     2011-02-10T07:20:35.457000Z

Log Message:
-----------
Fix for http://bugs.adobe.com/jira/browse/SDK-29426. The width/height in the default state wasn't saved when switching back and forth from another state with percent width/height. The fix is to associate percentWidth/Height with explicitWidth/Height when saving old values. We were only associating explicitWidth/Height with percentWidth/Height and not vice versa.

QE notes: No
Doc notes: No
Bugs: SDK-29426
Reviewer: Corey
Tests run: full cyclone, checkintests
Is noteworthy for integration: Yes

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

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

--- frameworks/projects/framework/src/mx/states/SetProperty.as
+++ frameworks/projects/framework/src/mx/states/SetProperty.as
@@ -85,7 +85,9 @@
     private static const RELATED_PROPERTIES:Object =
     {
         explicitWidth: [ "percentWidth" ],
-        explicitHeight: [ "percentHeight" ]
+        explicitHeight: [ "percentHeight" ],
+        percentWidth: [ "explicitWidth" ],
+        percentHeight: [ "explicitHeight" ]
     };

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 3734
Author:   pfarland@adobe.com
Date:     2008-10-18T05:13:34.132420Z

Log Message:
-----------
Fixing advanced CSS descendant selectors for the alpha release.

- We now check descendant types against any superclass.

- Removed StyleProtoChain.getClassStyleDeclarations()'s recursive "Class" lookup for each superclass of an IStyleClient during the search for type selectors in the hierarchy. This was replaced with a simple describeType-based description (called once per type).

- Added a method to report whether any advanced styles had been registered with the StyleManager to optimize style declaration matching for the default case of simple style declarations.

- Removed advanced selector cache key calculation from StyleProtoChain in favor of the legacy simple type level cache. Future work may be required to cache advanced, display list sensitive style information.

- Fixed the specificity calculation for global selectors.

QE: Yes
Doc: No.
Checkintests: Pass
mxunit styles tests: Pass
select mustella styles tests: Pass
Reviewer: Glenn

Bugs:
SDK-17351 - [Advanced CSS] Descendant selectors don't work for Application
SDK-17361 - [Advanced CSS] If you use descendant and id selectors together, the id selector doesn't work correctly
SDK-17385 - [Advanced CSS] If you use descendant and class selectors together, the class selector doesn't work correctly

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSSelector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/NameUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm</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/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleManager3.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>

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

--- frameworks/projects/framework/src/mx/styles/CSSSelector.as
+++ frameworks/projects/framework/src/mx/styles/CSSSelector.as
@@ -135,7 +135,7 @@
     {
         var s:uint = 0;

-        if ("*" != value && "global" != value)
+        if ("*" != value && "global" != value && "" != value)
             s = 1;

         if (conditions != null)
@@ -185,41 +185,53 @@
      *  Determines whether this selector matches the given component.
      *
      *  @param object The component to which the selector may apply.
-     *  @param ignoreType Whether to ignore the component type in the match.
      *  @return true if component is a match, or false if not.
      */
-    public function isMatch(object:IAdvancedStyleClient, ignoreType:Boolean=false):Boolean
+    public function isMatch(object:IAdvancedStyleClient):Boolean
     {
         var match:Boolean = false;
+        var condition:CSSCondition = null;

         if (kind == CSSSelectorKind.TYPE_SELECTOR
             || kind == CSSSelectorKind.CONDITIONAL_SELECTOR)
         {
-            if (ignoreType || value == "*" || value == "global" ||
-                object.className == value)
+            if (value == "*" || value == "global" || object.isAssignableToType(value))
             {
                 match = true;
             }

             if (match && conditions != null)
             {
-                for each (var condition:CSSCondition in conditions)
+                for each (condition in conditions)
                 {
                     match = condition.isMatch(object);
                     if (!match)
-                        break;
+                        return false;
                 }
             }
         }
         else if (kind == CSSSelectorKind.DESCENDANT_SELECTOR)
         {
+            if (conditions != null)
+            {
+                // First, test if the conditions match
+                for each (condition in conditions)
+                {
+                    match = condition.isMatch(object);
+                    if (!match)
+                        return false;
+                }
+            }
+
             if (ancestor != null)
             {
+                // Then reset and test if ancestors match
+                match = false;
                 var parent:IAdvancedStyleClient = object.styleParent;
                 while (parent != null)
                 {
-                    // TODO: Handle * ancestor
-                    if (parent.className == ancestor.value)
+                    if (parent.isAssignableToType(ancestor.value)
+                        || "*" == ancestor.value)
                     {
                         match = ancestor.isMatch(parent);
                         break;


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 5099
Author:   gauravj@adobe.com
Date:     2009-02-27T03:43:02.639229Z

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

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

Modified Paths:
--------------
147 paths were modified

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

--- frameworks/projects/rpc/src/mx/rpc/events/WSDLLoadEvent.as
+++ frameworks/projects/rpc/src/mx/rpc/events/WSDLLoadEvent.as
@@ -18,6 +18,11 @@
 /**
  * The WSDLLoadEvent class represents the event object for the event dispatched
  * when a WSDL XML document has loaded successfully.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class WSDLLoadEvent extends XMLLoadEvent
 {
@@ -33,6 +38,11 @@
      * @param wsdl The full WSDL document.
      *
      * @param location The path used to load the document.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function WSDLLoadEvent(type:String, bubbles:Boolean = false,
         cancelable:Boolean = true, wsdl:WSDL = null, location:String = null)
@@ -48,11 +58,21 @@

     /**
      * The full WSDL document.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var wsdl:WSDL

     /**
      * Returns a copy of this WSDLLoadEvent object.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function clone():Event
     {
@@ -61,6 +81,11 @@

     /**
      * Returns a String representation of this WSDLLoadEvent object.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function toString():String
     {
@@ -99,6 +124,11 @@
      * </table>
      *
      * @eventType result
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const LOAD:String = "wsdlLoad";
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 7036
Author:   jimurphy@adobe.com
Date:     2009-05-18T16:23:35.783417Z

Log Message:
-----------
Merged 3.x revisions 6955,6995,6997-7002 -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NavBar.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RichTextEditor.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ToolTipBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SchemaMarshaller.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/xml/SchemaMarshaller.as
+++ frameworks/projects/rpc/src/mx/rpc/xml/SchemaMarshaller.as
@@ -1020,7 +1020,7 @@
                 offsetDirection = 1; // Positive.
             else if ((tzIndex = timePart.indexOf("-", 8)) != -1)
                 offsetDirection = -1; // Negative.
-
+
             if (tzIndex != -1)
             {
                 index = tzIndex + 1;
@@ -1036,15 +1036,19 @@
         {
             utc = true;
         }
+
         var millis:int = 0;
         if (millisStart != -1)
         {
-            if (utc)
-                millis = int(timePart.substring(millisStart + 1, tzIndex));
+            var fractionalSecond:Number;
+            if (tzIndex != -1)
+                fractionalSecond = Number(timePart.substring(millisStart, tzIndex));
             else
-                millis = int(timePart.substring(millisStart + 1));
-        }
-
+                fractionalSecond = Number(timePart.substring(millisStart));
+
+            millis = int(Math.floor(fractionalSecond*1000));
+        }
+
         // Now parse the datePart if it exists.
         if (datePart != null)
         {


Transferred from the Adobe Open Source Subversion Repository

Revision: 8481
Author:   smgilson@adobe.com
Date:     2009-07-09T17:28:31.741329Z

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

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

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

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

--- frameworks/projects/spark/src/spark/components/CheckBox.as
+++ frameworks/projects/spark/src/spark/components/CheckBox.as
@@ -65,7 +65,7 @@
  *
The <CheckBox> tag inherits all of the tag
  *  attributes of its superclass and adds no tag attributes:

  *

- *  <CheckBox/>
+ *  <s:CheckBox/>
  *

  *
  *  @includeExample examples/CheckBoxExample.mxml


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/spark/src/spark/components/Scroller.as
+++ frameworks/projects/spark/src/spark/components/Scroller.as
@@ -1585,11 +1585,17 @@

         // See whether we possibly need to re-throw because of changed max positions.
         var needRethrow:Boolean = false;
+
+        // We don't rethrow in paging mode, as we don't want to go any further
+        // than to the adjacent page.
+        if (!pageScrollingEnabled)
+        {
         if (throwReachedMaximumScrollPosition && (throwFinalVSP < maxVerticalScrollPosition || throwFinalHSP < maxHorizontalScrollPosition))
             needRethrow = true;

         if (throwFinalVSP > maxVerticalScrollPosition || throwFinalHSP > maxHorizontalScrollPosition)
             needRethrow = true;
+        }

         // See whether we possibly need to re-throw because the final snapped position is
         // no longer snapped.  This can occur when the snapped position was estimated due to virtual
@@ -1621,10 +1627,7 @@
                 // require changing directions relative to the current throw,
                 // which looks strange.
                 throwEffect.stop();
-                if (viewport.verticalScrollPosition > maxVerticalScrollPosition)
-                    viewport.verticalScrollPosition = maxVerticalScrollPosition;
-                if (viewport.horizontalScrollPosition > maxHorizontalScrollPosition)
-                    viewport.horizontalScrollPosition = maxHorizontalScrollPosition;
+                snapContentScrollPosition();
             }
             else
             {
@@ -2525,6 +2528,9 @@
                     position -= offset;
                 else
                     position += viewportWidth - offset;
+
+                // Clip the position to the valid min/max range
+                position = Math.min(Math.max(minHorizontalScrollPosition, position), maxHorizontalScrollPosition);
             }
             else if (canScrollVertically && propertyName == VERTICAL_SCROLL_POSITION && viewportHeight != 0)
             {
@@ -2533,6 +2539,9 @@
                     position -= offset;
                 else
                     position += viewportHeight - offset;
+
+                // Clip the position to the valid min/max range
+                position = Math.min(Math.max(minVerticalScrollPosition, position), maxVerticalScrollPosition);
             }
         }

@@ -3069,18 +3078,18 @@
     private function snapContentScrollPosition(snapHorizontal:Boolean = true, snapVertical:Boolean = true):void
     {
         if (snapHorizontal)
-        {
-            viewport.horizontalScrollPosition = getSnappedPosition(
-                Math.min(Math.max(minHorizontalScrollPosition, viewport.horizontalScrollPosition), maxHorizontalScrollPosition),
-                HORIZONTAL_SCROLL_POSITION);
+    {
+        viewport.horizontalScrollPosition = getSnappedPosition(
+            Math.min(Math.max(minHorizontalScrollPosition, viewport.horizontalScrollPosition), maxHorizontalScrollPosition),
+            HORIZONTAL_SCROLL_POSITION);
         }

         if (snapVertical)
         {
-            viewport.verticalScrollPosition = getSnappedPosition(
-                Math.min(Math.max(minVerticalScrollPosition, viewport.verticalScrollPosition), maxVerticalScrollPosition),
-                VERTICAL_SCROLL_POSITION);
-        }
+        viewport.verticalScrollPosition = getSnappedPosition(
+            Math.min(Math.max(minVerticalScrollPosition, viewport.verticalScrollPosition), maxVerticalScrollPosition),
+            VERTICAL_SCROLL_POSITION);
+    }
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 21873
Author:   tkraikit@adobe.com
Date:     2011-08-05T17:53:17.492750Z

Log Message:
-----------
SDK-30983: DateSpinner should only update selectedDate when all spinners have stopped spinning from user interactions

QE notes: may be difficult to implement automated testing
Doc notes: n/a
Bugs: SDK-30983
Reviewer: Chiedo
Tests run: checkintests, cyclone
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/components/Scroller.as
+++ frameworks/projects/spark/src/spark/components/Scroller.as
@@ -726,7 +726,7 @@
      *  @private
      *  Keeps track of whether a touch interaction is in progress.
      */
-    private var inTouchInteraction:Boolean = false;
+    mx_internal var inTouchInteraction:Boolean = false;

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 3084
Author:   gosmith@adobe.com
Date:     2008-09-03T21:36:10.316853Z

Log Message:
-----------
The Gumbo TextArea now supports scrolling.

When the Scroller component is ready for use, TextAreaSkin will use it, but for now I've made TextArea have optional skin parts named horizontalScrollBar and verticalScrollBar. Their presence or absence is determined by new properties, horizontalScrollPolicy and verticalScrollPolicy, which can be "on" or "off". (An "auto" setting is not yet supported, but will be for Scroller.) By default the vertical scroll bar is on and the horizontal scroll bar is off.

Also, TextArea no longer extends TextInput. Instead both extend a new TextBase class.

Reviewer: Deepa and Glenn
Bugs: -
QA: No
Doc: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/TextAreaSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextInput.as</path>

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

--- frameworks/projects/spark/src/spark/components/TextArea.as
+++ frameworks/projects/spark/src/spark/components/TextArea.as
@@ -18,14 +18,25 @@
 import flex.component.TextView;
 import flex.events.TextOperationEvent;

+import mx.core.ScrollPolicy;
+
 import text.formats.LineBreak;

+//--------------------------------------
+//  Other metadata
+//--------------------------------------
+
 [DefaultProperty("content")]
+
+/**
+ *  The built-in set of states for the TextArea component.
+ */
+[SkinStates("enabledNoScrollBars", "enabledHScrollBar", "enabledVScrollBar", "enabledBothScrollBars", "disabledNoScrollBars", "disabledHScrollBar", "disabledVScrollBar", "disabledBothScrollBars")]

 /**
  *  Documentation is not currently available.
  */
-public class TextArea extends TextInput
+public class TextArea extends TextBase
 {
     include "../core/Version.as";

@@ -127,6 +138,132 @@
 		invalidateProperties();
 	}

+    //----------------------------------
+	//  horizontalScrollBar
+    //----------------------------------
+
+    [SkinPart(required="false")]
+
+	/**
+	 *  The ScrollBar for horizontal scrolling that may be present
+	 *  in skins assigned to this TextArea.
+	 */
+	public var horizontalScrollBar:ScrollBar;
+
+	//----------------------------------
+	//  horizontalScrollPolicy
+    //----------------------------------
+
+	/**
+	 *  @private
+	 */
+	private var _horizontalScrollPolicy:String = ScrollPolicy.OFF;
+
+	/**
+	 *  Documentation is not currently available.
+	 */
+	public function get horizontalScrollPolicy():String
+	{
+		return _horizontalScrollPolicy;
+	}
+
+	/**
+	 *  @private
+	 */
+	public function set horizontalScrollPolicy(value:String):void
+	{
+		if (value == _horizontalScrollPolicy)
+			return;
+
+		_horizontalScrollPolicy = value;
+
+		invalidateSkinState();
+	}
+
+    //----------------------------------
+	//  verticalScrollBar
+    //----------------------------------
+
+    [SkinPart(required="false")]
+
+	/**
+	 *  The ScrollBar for vertical scrolling that may be present
+	 *  in skins assigned to this TextArea.
+	 */
+	public var verticalScrollBar:ScrollBar;
+
+	//----------------------------------
+	//  verticalScrollPolicy
+    //----------------------------------
+
+	/**
+	 *  @private
+	 */
+	private var _verticalScrollPolicy:String = ScrollPolicy.ON;
+
+	/**
+	 *  Documentation is not currently available.
+	 */
+	public function get verticalScrollPolicy():String
+	{
+		return _verticalScrollPolicy;
+	}
+
+	/**
+	 *  @private
+	 */
+	public function set verticalScrollPolicy(value:String):void
+	{
+		if (value == _verticalScrollPolicy)
+			return;
+
+		_verticalScrollPolicy = value;
+
+		invalidateSkinState();
+	}
+
+	//----------------------------------
+	//  widthInChars
+    //----------------------------------
+
+	/**
+	 *  @private
+	 */
+	private var _widthInChars:int = 20;
+
+	/**
+	 *  @private
+	 */
+	private var widthInCharsChanged:Boolean = false;
+
+	/**
+	 *  The default width for the TextInput, measured in characters.
+	 *  The width of the "0" character is used for the calculation,
+	 *  since in most fonts the digits all have the same width.
+	 *  So if you set this property to 5, it will be wide enough
+	 *  to let the user enter 5 digits.
+	 *
+	 *  @default
+	 */
+	public function get widthInChars():int
+	{
+		return _widthInChars;
+	}
+
+	/**
+	 *  @private
+	 */
+	public function set widthInChars(value:int):void
+	{
+		if (value == _widthInChars)
+			return;
+
+		_widthInChars = value;
+		widthInCharsChanged = true;
+
+		invalidateProperties();
+	}
+
 	//--------------------------------------------------------------------------
     //
     //  Overridden methods
@@ -141,6 +278,12 @@
 	{
         super.commitProperties();

+        if (widthInCharsChanged)
+		{
+			textView.widthInChars = _widthInChars;
+			widthInCharsChanged = false;
+		}
+
         if (heightInLinesChanged)
 		{
 			textView.heightInLines = _heightInLines;
@@ -170,6 +313,26 @@
         }
 	}

+	/**
+	 *  @private
+	 */
+	override protected function getUpdatedSkinState():String
+	{
+        var hOn:Boolean = horizontalScrollPolicy == ScrollPolicy.ON;
+        var vOn:Boolean = verticalScrollPolicy == ScrollPolicy.ON;
+
+        if (hOn && vOn)
+            return enabled ? "enabledBothScrollBars" : "disabledBothScrollBars";
+
+        if (hOn)
+            return enabled ? "enabledHScrollBar" : "disabledHScrollBar";
+
+        if (vOn)
+            return enabled ? "enabledVScrollBar" : "disabledVScrollBar";
+
+        return enabled ? "enabledNoScrollBars" : "disabledNoScrollBars";
+	}
+
 	//--------------------------------------------------------------------------
     //
     //  Methods


Transferred from the Adobe Open Source Subversion Repository

Revision: 7836
Author:   chaase@adobe.com
Date:     2009-06-15T14:37:21.379918Z

Log Message:
-----------
PARB changes for effects. This includes various property renames, a couple of class renames, moving 3 classes to a sub-package, and various doc cleanups. This also includes changing a handful of Array properties to typed Vectors.

QE: This breaks Mustella due to the renames
Doc: Docs will need to be updated to reflect the changes as well
Bugs: None
Reviewer: Jason
Tests: checkintests, Thermo's transitionbug test

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/utils/BitmapUtil.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as" copyfrom-rev="7748" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EasingFraction.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/KeyFrame.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/RGBInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/HSBInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/CallAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/RepeatBehavior.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateShaderTransition.as" copyfrom-rev="7748" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransitionShader.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateShaderTransition.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/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/IInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/NumberInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/CallActionInstance.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/SimpleMotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateColorInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateShaderTransitionInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateShaderTransitionInstance.as" copyfrom-rev="7748" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Wipe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/ArrayInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/CrossFade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/SimpleMotionPath.as" copyfrom-rev="7748" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/SimpleMotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/HSBColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/IAnimationTarget.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/ResizeInstance.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Keyframe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/CrossFade.pbk</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/WipeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>

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

--- frameworks/projects/spark/src/spark/effects/easing/Sine.as
+++ frameworks/projects/spark/src/spark/effects/easing/Sine.as
@@ -49,12 +49,13 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function Sine(easeInFraction:Number = .5)
+    public function Sine(easeInFraction:Number = 0.5)
     {
         super(easeInFraction);
     }

     /**
+     *  @private
      *  Returns a value that represents the eased fraction during the
      *  ease in phase of the animation.
      *  The easing calculation for Sine is equal to
@@ -77,6 +78,7 @@
     }

     /**
+     *  @private
      *  Returns a value that represents the eased fraction during the
      *  ease out phase of the animation.
      *  The easing calculation for Sine is equal to


Transferred from the Adobe Open Source Subversion Repository

Revision: 3028
Author:   hmuller@adobe.com
Date:     2008-08-28T18:57:45.553703Z

Log Message:
-----------
Added doc for the new "Group as Viewport" API.

Provisional fix for bug 16609, BasicLayout's contentWidth,Height
computation now uses actualSize.x,y.

Removed unused gapChanged, columnCountChanged, columnWidthChanged and
rowCountChanged, rowHeightChanged internal variables from
Horizontal,VerticalLayout.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/VerticalLayout.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/BasicLayout.as
+++ frameworks/projects/spark/src/spark/layouts/BasicLayout.as
@@ -161,6 +161,8 @@
             return;

         var count:int = layoutTarget.numLayoutItems;
+        var maxX:Number = 0;
+        var maxY:Number = 0;
         for (var i:int = 0; i < count; i++)
         {
             var layoutItem:ILayoutItem = layoutTarget.getLayoutItemAt(i);
@@ -179,8 +181,6 @@
             // Calculate size
             var childWidth:Number = NaN;
             var childHeight:Number = NaN;
-            var maxX:Number = 0;
-            var maxY:Number = 0;

             if (!isNaN(left) && !isNaN(right))
                 childWidth = unscaledWidth - right - left;
@@ -224,10 +224,10 @@
             layoutItem.setActualPosition(childX, childY);

             // update content limits
-            maxX = Math.max(maxX, childX + childWidth);
-            maxY = Math.max(maxY, childY + childHeight);
+            maxX = Math.max(maxX, childX + actualSize.x);
+            maxY = Math.max(maxY, childY + actualSize.y);
         }
-
+
         layoutTarget.setContentSize(maxX, maxY);
     }
 }


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

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

 package spark.layouts
 {