Transferred from the Adobe Open Source Subversion Repository

Revision: 2668
Author:   kelin@adobe.com
Date:     2008-07-30T21:05:00.806335Z

Log Message:
-----------
Massive check-in:

Updated Range, TrackBase, Slider, Spinner to use valueInterval to constrain values. In Slider, snapInterval was removed in favor of just using stepSize (for simplicity). TrackBase also is able to handle a resizable thumb.

Refactored ScrollBar to subclass TrackBase instead of Range in order to share thumb dragging code. pageSize was also moved from Range into ScrollBar.

Added a basic version of NumericStepper that can handle simple operations like committing the value when the enter key is pressed.

Skins for each of the components were also updated/added as needed. I also updated flex4test/CircularScrollBar.

QE: Yes!
Reviewer: Chet, Gordon, Jason

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HSliderThumbSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HScrollBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/Range.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/VSliderTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/VScrollBarTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/skins/MyVScrollBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/Flex4Classes.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/defaults.css</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/NumericStepper.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/NumericStepperSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/gumbo-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/SpinnerDecrButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/VSliderThumbSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/VScrollBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/SpinnerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HSliderTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HScrollBarTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/flex4test.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/SpinnerIncrButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/components/CircularScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/skins/CircularScrollBarSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/NumericStepper.as
+++ frameworks/projects/spark/src/spark/components/NumericStepper.as
@@ -0,0 +1,191 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 flex.component
+{
+
+import flash.display.DisplayObject;
+import flash.events.Event;
+
+import mx.events.FlexEvent;
+import mx.managers.IFocusManagerComponent;
+
+/**
+ *  The NumericStepper control lets the user select
+ *  a number from an ordered set.
+ *  The NumericStepper control consists of a single-line
+ *  input text field and a pair of arrow buttons
+ *  for stepping through the possible values.
+ *  The Up Arrow and Down Arrow keys also cycle through
+ *  the values. An inputted value is committed whenever
+ *  the user presses enter, focuses out of the
+ *  NumericStepper, or steps the NumericStepper.
+ *
+ *  @see flex.component.Spinner
+ */
+public class NumericStepper extends Spinner implements IFocusManagerComponent
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor
+     */
+    public function NumericStepper()
+    {
+        super();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    // SkinParts
+    //
+    //--------------------------------------------------------------------------
+
+    [SkinPart]
+
+    /**
+     *  textInput is a SkinPart that defines a
+     *  TextInput which allows a user to edit the value of
+     *  the NumericStepper. The value is rounded and committed
+     *  when the user presses enter, focuses out of
+     *  the NumericStepper, or steps the NumericStepper.
+     */
+    public var textInput:TextInput;
+
+    //--------------------------------------------------------------------------
+    //
+    // Methods
+    //
+    //--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override protected function partAdded(partName:String, instance:*):void
+	{
+        super.partAdded(partName, instance);
+
+	    if (instance == textInput)
+	    {
+	        textInput.addEventListener(FlexEvent.ENTER,
+	                                   textInput_enterHandler);
+	    }
+	}
+
+    /**
+     *  @private
+     */
+	override protected function partRemoved(partName:String, instance:*):void
+	{
+        super.partRemoved(partName, instance);
+
+	    if (instance == textInput)
+	    {
+            textInput.removeEventListener(FlexEvent.ENTER,
+                                          textInput_enterHandler);
+        }
+	}
+
+    /**
+     *  @private
+     */
+    override protected function enableSkinParts(value:Boolean):void
+    {
+        super.enableSkinParts(value);
+        if (textInput)
+            textInput.enabled = value;
+    }
+
+    /**
+     *  @private
+     */
+    override public function setFocus():void
+    {
+        if (stage)
+            stage.focus = textInput.textView;
+    }
+
+    /**
+     *  @private
+     */
+    override protected function isOurFocus(target:DisplayObject):Boolean
+    {
+        return target == textInput.textView;
+    }
+
+    /**
+     *  @private
+     *  Calls commitTextInput() before stepping.
+     */
+    override public function step(increase:Boolean = true):void
+    {
+        commitTextInput();
+
+        super.step(increase);
+    }
+
+    /**
+     *  Commits the current text of textInput as
+     *  value after rounding the new value using
+     *  nearestValidValue.
+     */
+    protected function commitTextInput():void
+    {
+        var inputValue:Number = Number(textInput.text);
+        var prevValue:Number = value;
+
+        if (textInput.text == "" || (inputValue != value &&
+            (Math.abs(inputValue - value) >= 0.000001 || isNaN(inputValue))))
+        {
+            setValue(nearestValidValue(inputValue, valueInterval));
+
+            // Dispatch valueCommit if the display needs to change.
+            if (value == prevValue && inputValue != prevValue)
+                dispatchEvent(new FlexEvent(FlexEvent.VALUE_COMMIT));
+        }
+
+        // Select all the text.
+        textInput.selectionAnchorIndex = 0;
+        textInput.selectionActiveIndex = int.MAX_VALUE;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    // Event Handlers
+    //
+    //--------------------------------------------------------------------------
+
+    //---------------------------------
+    // Keyboard handlers
+    //---------------------------------
+
+    /**
+     *  When the enter key is pressed, NumericStepper commits the
+     *  text currently displayed.
+     */
+    protected function textInput_enterHandler(event:Event):void
+    {
+        var prevValue:Number = value;
+
+        commitTextInput();
+
+        if (value != prevValue)
+            dispatchEvent(new Event("change"));
+    }
+}
+
+}


force picking shader's priority to Number.MAX_VALUE to make sure it's always done first during rendering

--- src/aerys/minko/render/material/picking/PickingShader.as
+++ src/aerys/minko/render/material/picking/PickingShader.as
@@ -14,10 +14,9 @@
 		private var _vertexAnimation 	: VertexAnimationShaderPart;
 		private var _diffuse			: DiffuseShaderPart;

-		public function PickingShader(target	: RenderTarget	= null,
-									  priority	: Number		= 0.)
+		public function PickingShader()
 		{
-			super(null, 0.);
+			super(null, Number.MAX_VALUE);

 			_vertexAnimation = new VertexAnimationShaderPart(this);
 			_diffuse = new DiffuseShaderPart(this);
@@ -29,7 +28,7 @@

 			settings.priority = Number.MAX_VALUE;
 			settings.scissorRectangle = new Rectangle(0, 0, 1, 1);
-//			settings.enabled = meshBindings.propertyExists('pickingId');
+			settings.enabled = meshBindings.propertyExists('pickingId');
 		}

 		override protected function getVertexPosition() : SFloat


Initial pass on module bytewrite

Initial pass on module bytewrite

--- src/Modules/Module.as
+++ src/Modules/Module.as
@@ -1,6 +1,7 @@
 package Modules {
 	import Displays.DModule;
 	import flash.geom.Point;
+	import flash.utils.ByteArray;
 	import flash.utils.Dictionary;
 	import Layouts.*;
 	import Components.Port;
@@ -136,14 +137,6 @@
 			return maxDelay;
 		}

-		public function saveString():String {
-			return getSaveValues().join(U.ARG_DELIM);
-		}
-
-		public function getSaveValues():Array {
-			return [ALL_MODULES.indexOf(Object(this).constructor), x, y];
-		}
-
 		public function initialize():void {
 			if (U.state && U.state.level.delay)
 				for each (var port:Port in outputs)
@@ -312,6 +305,34 @@
 		}

+
+		public function saveString():String {
+			return getSaveValues().join(U.ARG_DELIM);
+		}
+
+		public function getSaveValues():Array {
+			return [ALL_MODULES.indexOf(Object(this).constructor), x, y];
+		}
+
+		public function getBytes():ByteArray {
+			var bytes:ByteArray = getSaveBytes();
+			bytes.position = 0;
+			bytes.writeInt(bytes.length + 4);
+			return bytes;
+		}
+
+		protected function getSaveBytes():ByteArray {
+			var bytes:ByteArray = new ByteArray();
+			bytes.writeByte(ALL_MODULES.indexOf(Object(this).constructor));
+			bytes.writeByte(x);
+			bytes.writeByte(x >> 8);
+			bytes.writeByte(y);
+			bytes.writeByte(y >> 8);
+			return bytes;
+		}
+
+
+
 		public static function fromString(str:String, allowableTypes:Vector.<Class> = null):Module {
 			if (!str.length) return null;

@@ -334,6 +355,37 @@
 				return new type(x, y, C.safeInt(args[3]))
 			return new type(x, y);
 		}
+
+		public static function fromBytes(bytes:ByteArray, end:int, allowableTypes:Vector.<Class> = null):Module {
+			var moduleIndex:int = bytes.readByte();
+			var moduleType:Class = ALL_MODULES[moduleIndex];
+			if (!type || (allowableTypes && allowableTypes.indexOf(type) == -1))
+				return null;
+
+			var x:int = bytes.readByte() | (bytes.readByte() << 8);
+			var y:int = bytes.readByte() | (bytes.readByte() << 8);
+			if (bytes.position == end)
+				return new type(x, y);
+			if (bytes.position == end - 1)
+				return new type(x, y, bytes.readByte());
+			return new type(x, y, bytes, end);
+		}
+
+		public static function modulesFromBytes(bytes:ByteArray, end:int, allowableTypes:Vector.<Class> = null):Vector.<Module> {
+			var modules:Vector.<Module> = new Vector.<Module>;
+			while (bytes.position < end) {
+				var moduleLength:int = bytes.readInt();
+				var moduleEnd:int = bytes.position + moduleLength;
+				var module:Module = fromBytes(bytes, moduleEnd, allowableTypes);
+				if (module)
+					modules.push(module);
+				bytes.position = moduleEnd;
+			}
+			return modules;
+		}
+
+
+

 		public static function init():void {
 			ModuleCategory.init();


Reduce transcoder spam.

Reduce transcoder spam.

--- HLSPlugin/src/com/kaltura/hls/m2ts/M2TSToFLVConverter.as
+++ HLSPlugin/src/com/kaltura/hls/m2ts/M2TSToFLVConverter.as
@@ -453,9 +453,9 @@
 			avcc.writeBytes(_sps);

 			// Debug dump the SPS
-			trace("SPS profile " + _sps[1]);
-			trace("SPS compat  " + _sps[2]);
-			trace("SPS level   " + _sps[3]);
+			//trace("SPS profile " + _sps[1]);
+			//trace("SPS compat  " + _sps[2]);
+			//trace("SPS level   " + _sps[3]);

 			cursor += spsLength;

@@ -465,7 +465,7 @@
 			avcc.position = cursor;
 			avcc.writeBytes(_pps);

-			trace("PPS length is " + ppsLength);
+			//trace("PPS length is " + ppsLength);

 			return avcc;
 		}
@@ -494,12 +494,12 @@
 			{
 				neverAvcc = true;

-				trace("Attempting to send AVCC");
+				//trace("Attempting to send AVCC");
 				var avcc:ByteArray = makeAVCC();

 				if(null != avcc)
 				{
-					trace("SENDING AVCC");
+					//trace("SENDING AVCC");
 					sendFLVTag(flvts, FLVTags.TYPE_VIDEO, FLVTags.VIDEO_CODEC_AVC_KEYFRAME, FLVTags.AVC_MODE_AVCC, avcc, 0, avcc.length);
 					_sendAVCC = false;
 				}


Fix https://issues.apache.org/jira/browse/FLEX-33818 (Spark Datagrid column resize and sort bug when releasing mouse outside of headers)

--- frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
+++ frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
@@ -1064,8 +1064,10 @@
     {
         const eventHeaderCP:CellPosition = new CellPosition();
         const eventHeaderXY:Point = new Point();
-        if (!eventToHeaderLocations(event, eventHeaderCP, eventHeaderXY))
-            return;
+         // mouse can be released outside of header , so don't check    cf.    https://issues.apache.org/jira/browse/FLEX-33818
+          if (event.type != MouseEvent.MOUSE_UP &&  !eventToHeaderLocations(event, eventHeaderCP, eventHeaderXY))
+                return;
+

         const eventSeparatorIndex:int = eventHeaderCP.rowIndex;
         const eventColumnIndex:int = (eventSeparatorIndex == -1) ? eventHeaderCP.columnIndex : -1;


Transferred from the Adobe Open Source Subversion Repository

Revision: 5190
Author:   hmuller@adobe.com
Date:     2009-03-06T14:55:28.277220Z

Log Message:
-----------
Initial support for mirroring: added mirror and dir properties to IVisualElement, mirroring logic to UIComponent, GraphicElement, UIMovieClip.  Mirroring in mx.core.SpriteVisualElement is just a stub.  Support for the mirror bit and the mirror transform is in mx.core.AdvancedLayoutFeatures.

QE Notes: Mustella tests pass
Doc Notes: None
Bugs:
Reviewer: Ryan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as
+++ frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as
@@ -2330,6 +2330,46 @@
         //invalidateProperties();
     }

+    //----------------------------------
+    //  mirror
+    //----------------------------------
+
+    public function get mirror():Boolean
+    {
+        return _layoutFeatures && _layoutFeatures.mirror;
+    }
+
+    public function set mirror(value:Boolean):void
+    {
+        if (value == mirror)
+            return;
+
+        if (value == mirror)
+            return;
+
+        if (_layoutFeatures == null)
+            initAdvancedLayoutFeatures();
+        _layoutFeatures.mirror = value;
+        invalidateTransform();
+    }
+
+    //----------------------------------
+    //  dir
+    //----------------------------------
+
+    private var _dir:String;
+
+    public function get dir():String
+    {
+        return _dir;
+    }
+
+    public function set dir(value:String):void
+    {
+        _dir = value;
+        // TBD
+    }
+
     //--------------------------------------------------------------------------
     //
     //  IToolTipManagerClient properties
@@ -3087,6 +3127,7 @@
         features.layoutX = x;
         features.layoutY = y;
         features.layoutZ = z;
+	features.layoutWidth = width;
         _layoutFeatures = features;
         invalidateTransform();
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 18109
Author:   dloverin@adobe.com
Date:     2010-10-08T21:29:52.633486Z

Log Message:
-----------
Another round of item editor changes, ASDoc updates, and bug fixes.

QE notes: Not ready for testing.
Doc notes: None.
Bugs:
Reviewer: Hans
Tests run: checkintests
Is noteworthy for integration: No.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/IGridItemEditor.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/DataGridEditEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/DataGridEditEvent.as" copyfrom-rev="18071" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/GridItemEditorEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/TextGridItemEditor.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridColumn.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridItemEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/ComboBoxGridItemEditor.mxml</path>

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

--- frameworks/projects/spark/src/spark/events/GridItemEditorEvent.as
+++ frameworks/projects/spark/src/spark/events/GridItemEditorEvent.as
@@ -42,7 +42,7 @@
  *  @playerversion AIR 2.0
  *  @productversion Flex 4.5
  */
-public class DataGridEditEvent extends Event
+public class GridItemEditorEvent extends Event
 {
     include "../core/Version.as";

@@ -53,14 +53,14 @@
     //--------------------------------------------------------------------------

     /**
-     *  The DataGridEditEvent.START_GRID_ITEM_EDITOR_SESSION
+     *  The GridItemEditorEvent.START_GRID_ITEM_EDITOR_SESSION
      *  constant defines the value of the type property of the
      *  event object for a startGridItemEditorSession event.
-     *  This event is dispatch by the data grid when a new item editor
-     *  session has been requested. A listener can dynamically determine
-     *  if a cell is editable and cancel the edit if it is not. A listener
-     *  may also dynamically change the editor that will be used by assigning a
-     *  different item editor to a column.
+     *  Dispatched when a new item editor session has been requested. A listener
+     *  can dynamically determine if a cell is editable and cancel the edit (with
+     *  preventDefault()) if it is not. A listener may also dynamically
+     *  change the editor that will be used by assigning a different item editor
+     *  to a column.
      *
      *
If this event is cancelled the item editor will not be created.

      *
@@ -85,7 +85,7 @@
      *       Use the currentTarget property to always access the
      *       Object listening for the event.

      *
type
-     *     DataGridEditEvent.START_GRID_ITEM_EDITOR_SESSION

+     *     GridItemEditorEvent.START_GRID_ITEM_EDITOR_SESSION

      *

      *
      *  @eventType startGridItemEditorSession
@@ -100,11 +100,10 @@
     public static const START_GRID_ITEM_EDITOR_SESSION:String = "startGridItemEditorSession";

     /**
-     *  The DataGridEditEvent.OPEN_GRID_ITEM_EDITOR_SESSION
+     *  The GridItemEditorEvent.OPEN_GRID_ITEM_EDITOR_SESSION
      *  constant defines the value of the type property of the
      *  event object for a openGridItemEditor event.
-     *  This event is dispatch by the data grid after an item editor has
-     *  been opened for a cell.
+     *  Dispatched immediately after an item editor has been opened.
      *
      *
The properties of the event object have the following values:

      *

@@ -127,7 +126,7 @@
      *       Use the currentTarget property to always access the
      *       Object listening for the event.

      *
type
-     *     DataGridEditEvent.OPEN_GRID_ITEM_EDITOR_SESSION

+     *     GridItemEditorEvent.OPEN_GRID_ITEM_EDITOR_SESSION

      *

      *
      *  @eventType openGridItemEditor
@@ -139,14 +138,14 @@
      *  @playerversion AIR 2.0
      *  @productversion Flex 4.5
      */
-    public static const OPEN_GRID_ITEM_EDITOR_SESSION:String = "openGridItemEditor";
-
-    /**
-     *  The DataGridEditEvent.SAVE_GRID_ITEM_EDITOR_SESSION
+    public static const OPEN_GRID_ITEM_EDITOR_SESSION:String = "openGridItemEditorSession";
+
+    /**
+     *  The GridItemEditorEvent.SAVE_GRID_ITEM_EDITOR_SESSION
      *  constant defines the value of the type property of the
      *  event object for a saveGridItemEditor event.
-     *  This event is dispatch by the data grid after the data in item editor
-     *  has been saved into the item and the editor has been closed.
+     *  Dispatched after the data in item editor has been saved into the data
+     *  provider and the editor has been closed.
      *
      *
The properties of the event object have the following values:

      *

@@ -169,7 +168,7 @@
      *       Use the currentTarget property to always access the
      *       Object listening for the event.

      *
type
-     *     DataGridEditEvent.SAVE_GRID_ITEM_EDITOR_SESSION

+     *     GridItemEditorEvent.SAVE_GRID_ITEM_EDITOR_SESSION

      *

      *
      *  @eventType saveGridItemEditor
@@ -181,14 +180,13 @@
      *  @playerversion AIR 2.0
      *  @productversion Flex 4.5
      */
-    public static const SAVE_GRID_ITEM_EDITOR_SESSION:String = "saveGridItemEditor";
-
-    /**
-     *  The DataGridEditEvent.CANCEL_GRID_ITEM_EDITOR_SESSION
+    public static const SAVE_GRID_ITEM_EDITOR_SESSION:String = "saveGridItemEditorSession";
+
+    /**
+     *  The GridItemEditorEvent.CANCEL_GRID_ITEM_EDITOR_SESSION
      *  constant defines the value of the type property of the
      *  event object for a cancelridItemEditor event.
-     *  This event is dispatch by the data grid after item editor has been
-     *  closed with saving its data.
+     *  Dispatched after the item editor has been closed without saving its data.
      *
      *
The properties of the event object have the following values:

      *

@@ -211,7 +209,7 @@
      *       Use the currentTarget property to always access the
      *       Object listening for the event.

      *
type
-     *     DataGridEditEvent.CANCEL_GRID_ITEM_EDITOR_SESSION

+     *     GridItemEditorEvent.CANCEL_GRID_ITEM_EDITOR_SESSION

      *

      *
      *  @eventType cancelGridItemEditor
@@ -223,7 +221,7 @@
      *  @playerversion AIR 2.0
      *  @productversion Flex 4.5
      */
-    public static const CANCEL_GRID_ITEM_EDITOR_SESSION:String = "cancelGridItemEditor";
+    public static const CANCEL_GRID_ITEM_EDITOR_SESSION:String = "cancelGridItemEditorSession";

     //--------------------------------------------------------------------------
@@ -260,7 +258,7 @@
      *  @playerversion AIR 2.0
      *  @productversion Flex 4.5
      */
-    public function DataGridEditEvent(type:String,
+    public function GridItemEditorEvent(type:String,
                                       bubbles:Boolean = false,
                                       cancelable:Boolean = false,
                                       rowIndex:uint = -1,
@@ -334,7 +332,7 @@
      */
     override public function clone():Event
     {
-        var cloneEvent:DataGridEditEvent = new DataGridEditEvent(type, bubbles, cancelable,
+        var cloneEvent:GridItemEditorEvent = new GridItemEditorEvent(type, bubbles, cancelable,
             rowIndex, columnIndex, column);

         return cloneEvent;


Add clear button to sample

Add clear button to sample

--- samples/plain_as/Sample.as
+++ samples/plain_as/Sample.as
@@ -15,6 +15,7 @@
     private var cancelButton:SimpleButton;
     private var codeButton:SimpleButton;
     private var badgeButton:SimpleButton;
+    private var clearButton:SimpleButton;
     private var notificationTF:TextField;
     private var contentsScaleFactor:int = 2;

@@ -71,11 +72,13 @@
       cancelButton = createButton("Cancel", stage.stageWidth - 100 * contentsScaleFactor, top1);
       codeButton = createButton("By Code", 0, top2);
       badgeButton = createButton("Clear Badge", stage.stageWidth - 100 * contentsScaleFactor, top2);
+      clearButton = createButton("Clear", 0, int(stage.stageHeight / 2) - 30 * contentsScaleFactor);

       addChild(postButton);
       addChild(cancelButton);
       addChild(codeButton);
       addChild(badgeButton);
+      addChild(clearButton);

       notificationTF = createTextField(0, int(stage.stageHeight / 2),
          stage.stageWidth - 1, int(stage.stageHeight / 2) - 1);
@@ -86,6 +89,10 @@
     private function printMessage(message:String, title:String = null):void {
       notificationTF.text += "-----\n" + (title? title + "\n" : "") + message + "\n";
       notificationTF.scrollV = notificationTF.maxScrollV;
+    }
+
+    private function clearMessages():void {
+      notificationTF.text = "";
     }

     private function registerEvents():void {
@@ -123,6 +130,9 @@
           notificationManager.applicationBadgeNumber = 0;
           printMessage("Reset badge number to zero");
           break;
+        case clearButton:
+          clearMessages();
+          break;
       }
     }


Reduced code input field widht

Reduced code input field widht

--- collect-flex/collect-flex-client/src/main/flex/org/openforis/collect/ui/UIBuilder.as
+++ collect-flex/collect-flex-client/src/main/flex/org/openforis/collect/ui/UIBuilder.as
@@ -232,7 +232,7 @@
 						//return NaN;
 						return 150;
 					} else {
-						return 100;
+						return 85;
 					}
 				} else {
 					return NaN;


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

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

 package mx.automation.tabularData
 {


FragmentLoader:fix fragment loading stuck when _levelNext is defined

--- src/org/mangui/hls/loader/FragmentLoader.as
+++ src/org/mangui/hls/loader/FragmentLoader.as
@@ -184,6 +184,7 @@
                                 _metrics.duration = 1000*fragDuration;
                                 _metrics.loading_end_time = _metrics.parsing_end_time = _metrics.loading_request_time + 1000*expected/loadRate;
                                 _hls.dispatchEvent(new HLSEvent(HLSEvent.FRAGMENT_LOAD_EMERGENCY_ABORTED, _metrics));
+                                _levelNext = _levelController.getnextlevel(_fragCurrent.level, bufferLen);
                               // switch back to IDLE state to request new fragment at lowest level
                               _loadingState = LOADING_IDLE;
                             }


Bug 707086: revert portion of changeset 6761:58a27bbda05d (Bug 706799) that broke abcdump (r=fklockii).

--- utils/abcdump.as
+++ utils/abcdump.as
@@ -418,21 +418,21 @@
                     {
                         case OP_debugfile:
                         case OP_pushstring:
-                            s += '"' + abc.stringFromU32().replace(/\n/g,"\\n").replace(/\t/g,"\\t") + '"'
+                            s += '"' + abc.strings[readU32()].replace(/\n/g,"\\n").replace(/\t/g,"\\t") + '"'
                             break
                         case OP_pushnamespace:
                             s += abc.namespaceFromU32()
                             break
                         case OP_pushint:
-                            var i:int = abc.intFromU32()
+                            var i:int = abc.ints[readU32()]
                             s += i + "\t// 0x" + i.toString(16)
                             break
                         case OP_pushuint:
-                            var u:uint = abc.uintFromU32()
+                            var u:uint = abc.uints[readU32()]
                             s += u + "\t// 0x" + u.toString(16)
                             break;
                         case OP_pushdouble:
-                            s += abc.doubleFromU32()
+                            s += abc.doubles[readU32()]
                             break;
                         case OP_getsuper:
                         case OP_setsuper:
@@ -448,7 +448,7 @@
                         case OP_coerce:
                         case OP_astype:
                         case OP_getdescendants:
-                            s += abc.nameFromU32()
+                            s += abc.names[readU32()]
                             break;
                         case OP_constructprop:
                         case OP_callproperty:
@@ -456,7 +456,7 @@
                         case OP_callsuper:
                         case OP_callsupervoid:
                         case OP_callpropvoid:
-                            s += abc.nameFromU32()
+                            s += abc.names[readU32()]
                             s += " (" + readU32() + ")"
                             break;
                         case OP_newfunction: {
@@ -465,11 +465,11 @@
                             break;
                         }
                         case OP_callstatic:
-                            s += abc.methodFromU32()
+                            s += abc.methods[readU32()]
                             s += " (" + readU32() + ")"
                             break;
                         case OP_newclass:
-                            s += abc.instanceFromU32()
+                            s += abc.instances[readU32()]
                             break;
                         case OP_lookupswitch:
                             var pos = code.position-1;


Rename methods in tests.

Rename methods in tests.

--- dolly-framework/src/test/actionscript/dolly/ClonerTest.as
+++ dolly-framework/src/test/actionscript/dolly/ClonerTest.as
@@ -91,14 +91,14 @@
 	}

 	[Test]
-	public function testFindAllWritableFieldsForTypeClassLevelCloneable():void {
+	public function testFindAllWritableFieldsForTypeCloneableClass():void {
 		const cloneableFields:Vector.<Field> = Cloner.findAllWritableFieldsForType(cloneableClassType);
 		assertNotNull(cloneableFields);
 		assertEquals(4, cloneableFields.length);
 	}

 	[Test]
-	public function testFindAllWritableFieldsForTypeClassLevelCloneableSubclass():void {
+	public function testFindAllWritableFieldsForTypeCloneableSubclass():void {
 		const cloneableFields:Vector.<Field> = Cloner.findAllWritableFieldsForType(cloneableSubclassType);
 		assertNotNull(cloneableFields);
 		assertEquals(7, cloneableFields.length);


Transferred from the Adobe Open Source Subversion Repository

Revision: 23247
Author:   cframpto@adobe.com
Date:     2011-12-20T19:21:13.134833Z

Log Message:
-----------
Remove ADOBE SYSTEMS license and replace with Apache license in headers - frameworks.  A 2nd pass will be needed to get the files not handled up by the scripts.

Modified Paths:
--------------
4959 paths were modified

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

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


Audio: Do not emit audio stopped if denied access.

--- src/com/axis/audioclient/AxisTransmit.as
+++ src/com/axis/audioclient/AxisTransmit.as
@@ -90,7 +90,6 @@

       if (true === mic.muted) {
         ErrorManager.dispatchError(816);
-        this.callAPI(EVENT_AUDIO_TRANSMIT_STOPPED);
         return;
       }


buttondown 兼容safari

buttondown 兼容safari

--- src/flash/display/Stage.as
+++ src/flash/display/Stage.as
@@ -209,6 +209,7 @@
 		private var _x:Number = 0;
 		private var _y:Number = 0;
 		private var _z:Number = 0;
+		private var isButtonDown:Boolean = false;

 		/**
 		 * Stage is a singular instance per window and cannot be instantiated twice.
@@ -291,7 +292,7 @@
 			//if (delta >= interval) {
 			//	lastUpdateTime = now - (delta % interval);
 				if (needSendMouseMove) {
-					dispatchEvent(new MouseEvent(MouseEvent.MOUSE_MOVE, true, false, _mouseX, _mouseY,null,needSendMouseMove.ctrlKey,needSendMouseMove.altKey,needSendMouseMove.shiftKey,needSendMouseMove.buttons>0));
+					dispatchEvent(new MouseEvent(MouseEvent.MOUSE_MOVE, true, false, _mouseX, _mouseY,null,needSendMouseMove.ctrlKey,needSendMouseMove.altKey,needSendMouseMove.shiftKey,(needSendMouseMove.buttons!=null)?(needSendMouseMove.buttons>0):isButtonDown));
 					needSendMouseMove = null;
 				}
 				if (needSendTouchMove) {
@@ -1542,6 +1543,7 @@
 					break;
 				case "mousedown":
 					flashType = MouseEvent.MOUSE_DOWN;
+					isButtonDown = true;
 					break;
 				case "mouseenter":
 					flashType = MouseEvent.ROLL_OVER;
@@ -1560,6 +1562,7 @@
 					break;
 				case "mouseup":
 					flashType = MouseEvent.MOUSE_UP;
+					isButtonDown = false;
 					break;
 				case "mousewheel":
 					flashType = MouseEvent.MOUSE_WHEEL;
@@ -1571,7 +1574,7 @@
 				_mouseY = e.pageY - canvas.offsetTop;
 				if (hasEventListener(flashType)) {
 					if(flashType!=MouseEvent.MOUSE_MOVE){
-						dispatchEvent(new MouseEvent(flashType,true,false,_mouseX,_mouseY,null,e.ctrlKey,e.altKey,e.shiftKey,e.buttons>0,e.wheelDelta));
+						dispatchEvent(new MouseEvent(flashType,true,false,_mouseX,_mouseY,null,e.ctrlKey,e.altKey,e.shiftKey,(e.buttons!=null)?(e.buttons>0):isButtonDown,e.wheelDelta));
 					}else {
 						needSendMouseMove = e;
 					}


Add [native] metadata to flash.net.URLStream builtin

--- src/flash/net/URLStream.as
+++ src/flash/net/URLStream.as
@@ -19,35 +19,36 @@
 import flash.utils.ByteArray;
 import flash.utils.IDataInput;

+[native(cls='URLStreamClass')]
 public class URLStream extends EventDispatcher implements IDataInput {
   public function URLStream() {
   }
-  public native function load(request:URLRequest):void;
-  public native function readBytes(bytes:ByteArray, offset:uint = 0, length:uint = 0):void;
-  public native function readBoolean():Boolean;
-  public native function readByte():int;
-  public native function readUnsignedByte():uint;
-  public native function readShort():int;
-  public native function readUnsignedShort():uint;
-  public native function readUnsignedInt():uint;
-  public native function readInt():int;
-  public native function readFloat():Number;
-  public native function readDouble():Number;
-  public native function readMultiByte(length:uint, charSet:String):String;
-  public native function readUTF():String;
-  public native function readUTFBytes(length:uint):String;
-  public native function get connected():Boolean;
-  public native function get bytesAvailable():uint;
-  public native function close():void;
+  public native function get connected(): Boolean;
+  public native function get bytesAvailable(): uint;
+  public native function get objectEncoding(): uint;
+  public native function set objectEncoding(version: uint): void;
+  public native function get endian(): String;
+  public native function set endian(type: String): void;
+  public native function get diskCacheEnabled(): Boolean;
+  public native function get position(): Number;
+  public native function set position(offset: Number): void;
+  public native function get length(): Number;
+  public native function load(request: URLRequest): void;
+  public native function readBytes(bytes: ByteArray, offset: uint = 0, length: uint = 0): void;
+  public native function readBoolean(): Boolean;
+  public native function readByte(): int;
+  public native function readUnsignedByte(): uint;
+  public native function readShort(): int;
+  public native function readUnsignedShort(): uint;
+  public native function readUnsignedInt(): uint;
+  public native function readInt(): int;
+  public native function readFloat(): Number;
+  public native function readDouble(): Number;
+  public native function readMultiByte(length: uint, charSet: String): String;
+  public native function readUTF(): String;
+  public native function readUTFBytes(length: uint): String;
+  public native function close(): void;
   public native function readObject();
-  public native function get objectEncoding():uint;
-  public native function set objectEncoding(version:uint):void;
-  public native function get endian():String;
-  public native function set endian(type:String):void;
-  public native function get diskCacheEnabled():Boolean;
-  public native function get position():Number;
-  public native function set position(offset:Number):void;
-  public native function get length():Number;
-  public native function stop():void;
+  public native function stop(): void;
 }
 }


Update idiomesAnimation.as

Update idiomesAnimation.as

--- com/segonquart/idiomesAnimation.as
+++ com/segonquart/idiomesAnimation.as
@@ -1,14 +1,13 @@
-
 import mx.transitions.easing.*;
 import com.mosesSupposes.fuse.*;

-class idiomesAnimation extends Movieclip
+class com.segonquart.idiomesAnimation extends Movieclip
         {

   	private var arrayLang_arr:Array = new Array ("cat", "es", "en", "fr");

-			function idiomesAnimation():Void
+	function idiomesAnimation():Void
 		{
 			this.stop();
 			this.onEnterFrame = this.enterSlide;
@@ -23,6 +22,7 @@
 			arrayLang_arr[1].slideTo('0', '-40', 0.8, 'easeInOutBack', 1.1);
 			arrayLang_arr[2].slideTo('0', '-40', 0.9, 'easeInOutBack', 1.2);
 			arrayLang_arr[3].slideTo('0', '-40', 1, 'easeInOutBack', 1.3);
+

 		}

@@ -41,7 +41,7 @@
 	private function arrayColour()
 		{

-			for ( var:i:Number=0 ; arrayLang_arr[i] <4; i++)
+			for ( var:i:Number=0 ; arrayLang_arr[i].length <4; i++)
 			{
 				this.colorTo("#628D22", 0.3, "easeOutCirc");
 				_parent.colorTo('#4b4b4b', 1, 'linear', .2);


Transferred from the Adobe Open Source Subversion Repository

Revision: 4885
Author:   jszeto@adobe.com
Date:     2009-02-07T00:12:32.609062Z

Log Message:
-----------
Flex SDK Framework - Update mx.filters API and class hierarchy

- Removed BaseFilter.as, BaseDimensionFilter.as, and GradientFilter.as
- Renamed IBitmapFilter.as to IFlexBitmapFilter.as
- Changed IBitmapFilter.clone to createBitmapFilter
- Moved properties and functions from base classes up to filter subclasses
- Changed ColorMatrixFilter constructor parameter from Array to Object
- Added Change metadata to all filter classes
- Changed notifyFilterChanged from public to private
- Added ASDoc comments
- Added copyright info
- Added a number of formatting and style fixes

QE Notes: Need to update tests based on API changes. Missing tests for DisplacementMapFilter.as.
Doc Notes: Need extensive ASDoc review. Consider using @copy for properties that match the flash.filters properties
Bugs: n/a
Reviewer: Gordon

Modified Paths:
--------------
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseDimensionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/BevelFilter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GradientFilter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IBitmapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/BlurFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/DisplacementMapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ShaderFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/DropShadowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GradientBevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Parser.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IBitmapFilter.as" copyfrom-rev="4821" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IFlexBitmapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ConvolutionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateFilterInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GradientGlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -52,8 +52,7 @@
 import mx.events.ResizeEvent;
 import mx.events.StateChangeEvent;
 import mx.events.ValidationResultEvent;
-import mx.filters.BaseFilter;
-import mx.filters.IBitmapFilter;
+import mx.filters.IFlexBitmapFilter;
 import mx.geom.CompoundTransform;
 import mx.geom.Transform;
 import mx.geom.TransformOffsets;
@@ -2437,7 +2436,7 @@
             {
                 e = _filters[i] as IEventDispatcher;
                 if (e)
-                    e.removeEventListener(BaseFilter.CHANGE, filterChangeHandler);
+                    e.removeEventListener(Event.CHANGE, filterChangeHandler);
             }
         }

@@ -2449,12 +2448,12 @@
             n = _filters.length;
             for (i = 0; i < n; i++)
             {
-                if (_filters[i] is IBitmapFilter)
+                if (_filters[i] is IFlexBitmapFilter)
                 {
                     e = _filters[i] as IEventDispatcher;
                     if (e)
-                        e.addEventListener(BaseFilter.CHANGE, filterChangeHandler);
-                    clonedFilters.push(IBitmapFilter(_filters[i]).clone());
+                        e.addEventListener(Event.CHANGE, filterChangeHandler);
+                    clonedFilters.push(IFlexBitmapFilter(_filters[i]).createBitmapFilter());
                 }
                 else
                 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 10185
Author:   rfrishbe@adobe.com
Date:     2009-09-11T23:57:34.498734Z

Log Message:
-----------
Retrying PARB change (10075) from earlier in the week around UIC.hasComplexLayoutMatrix since I had to revert some of it.

QE notes: -
Doc notes: -
Bugs: -
Reviewer: Evtim
Tests run: checkintests, layout_uic
Is noteworthy for integration: no

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/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -1727,13 +1727,6 @@
      * storage for advanced layout and transform properties.
      */
     private var _layoutFeatures:AdvancedLayoutFeatures;
-
-    /**
-     * @private
-     *
-     * when true, the transform on this component consists only of translation.  Otherwise, it may be arbitrarily complex.
-     */
-    protected var hasDeltaIdentityTransform:Boolean = true;

     /**
      * @private
@@ -2163,7 +2156,7 @@
         if (rotation == value)
             return;

-        hasDeltaIdentityTransform = false;
+        _hasComplexLayoutMatrix = true;
         if (_layoutFeatures == null)
         {
             // clamp the rotation value between -180 and 180.  This is what
@@ -2529,7 +2522,7 @@
             if (prevValue == value)
                 return;

-            hasDeltaIdentityTransform = false;
+            _hasComplexLayoutMatrix = true;

             // trace("set scaleX:" + this + "value = " + value);
             if (_layoutFeatures == null)
@@ -2612,7 +2605,7 @@
             if (prevValue == value)
                 return;

-            hasDeltaIdentityTransform = false;
+            _hasComplexLayoutMatrix = true;

             if (_layoutFeatures == null)
                 super.scaleY = value;
@@ -2672,7 +2665,7 @@
         if (_layoutFeatures == null)
             initAdvancedLayoutFeatures();

-        hasDeltaIdentityTransform = false;
+        _hasComplexLayoutMatrix = true;
 		_layoutFeatures.layoutScaleZ = value;
         invalidateTransform();
         invalidateProperties();
@@ -5380,6 +5373,13 @@
     //----------------------------------

     /**
+     * @private
+     *
+     * when false, the transform on this component consists only of translation.  Otherwise, it may be arbitrarily complex.
+     */
+    private var _hasComplexLayoutMatrix:Boolean = false;
+
+    /**
      *  Returns true if the UIComponent has any non-translation (x,y) transform properties
      *
      *  @langversion 3.0
@@ -5389,7 +5389,28 @@
      */
     protected function get hasComplexLayoutMatrix():Boolean
     {
-        return (_layoutFeatures == null ? false : !MatrixUtil.isDeltaIdentity(_layoutFeatures.layoutMatrix));
+        // we set _hasComplexLayoutMatrix when any scale or rotation transform gets set
+        // because sometimes when those are set, we don't allocate a layoutFeatures object.
+
+        // if the flag isn't set, we def. don't have a complex layout matrix.
+        // if the flag is set and we don't have an AdvancedLayoutFeatures object,
+        // then we'll check the transform and see if it's actually transformed.
+        // otherwise we'll check the layoutMatrix on the AdvancedLayoutFeatures object,
+        // to see if we're actually transformed.
+        if (!_hasComplexLayoutMatrix)
+            return false;
+        else
+        {
+            if (_layoutFeatures == null)
+            {
+                _hasComplexLayoutMatrix = !MatrixUtil.isDeltaIdentity(super.transform.matrix);
+                return _hasComplexLayoutMatrix;
+            }
+            else
+            {
+                return !MatrixUtil.isDeltaIdentity(_layoutFeatures.layoutMatrix);
+            }
+        }
     }

     //----------------------------------
@@ -11756,7 +11777,7 @@
     {
         var features:AdvancedLayoutFeatures = new AdvancedLayoutFeatures();

-        hasDeltaIdentityTransform = false;
+        _hasComplexLayoutMatrix = true;

         features.layoutScaleX = scaleX;
         features.layoutScaleY = scaleY;
@@ -11915,7 +11936,7 @@
      */
     public function setLayoutMatrix(value:Matrix, invalidateLayout:Boolean):void
     {
-        hasDeltaIdentityTransform = false;
+        _hasComplexLayoutMatrix = true;
         if (_layoutFeatures == null)
         {
             // flash will make a copy of this on assignment.
@@ -12470,7 +12491,7 @@

     protected function nonDeltaLayoutMatrix():Matrix
     {
-        if (hasDeltaIdentityTransform)
+        if (!hasComplexLayoutMatrix)
             return null;
         if (_layoutFeatures != null)
         {


Transferred from the Adobe Open Source Subversion Repository

Revision: 8535
Author:   chaase@adobe.com
Date:     2009-07-13T23:23:47.722512Z

Log Message:
-----------
Fixed some transform effects bugs plus a GraphicElement.localToGlobal() bug with the shared display object.

QE Notes: 8 failures in transform effects tests, 1 in Resize test, require changes to the test (new, correct behavior causes a change in the relevantStyles and affectedProperties return values)
Doc Notes: None
Bugs: sdk-21875, sdk-21465, sdk-21804, sdk-22165, sdk-21933
Reviewer: Jason, Glenn (for 21933)
Tests: checkintests, Mustella (spark/effects, mx/effects), Catalyst transition test

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.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/effects/AnimateTransform.as</path>

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

--- frameworks/projects/framework/src/mx/effects/Effect.as
+++ frameworks/projects/framework/src/mx/effects/Effect.as
@@ -1809,6 +1809,8 @@
         var instance:IEffectInstance = IEffectInstance(event.effectInstance);

         deleteInstance(instance);
+        propertyChangesArray = null;
+        applyEndValuesWhenDone = false;

         dispatchEvent(event);


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

--- frameworks/projects/framework/src/mx/events/FlexEvent.as
+++ frameworks/projects/framework/src/mx/events/FlexEvent.as
@@ -17,6 +17,11 @@
 /**
  *  The FlexEvent class represents the event object passed to
  *  the event listener for many Flex events.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class FlexEvent extends Event
 {
@@ -48,6 +53,11 @@
      *  </table>
      *
      *  @eventType add
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const ADD:String = "add";

@@ -71,6 +81,11 @@
      *  </table>
      *
      *  @eventType applicationComplete
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const APPLICATION_COMPLETE:String = "applicationComplete";

@@ -94,6 +109,11 @@
      *  </table>
      *
      *  @eventType buttonDown
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const BUTTON_DOWN:String = "buttonDown";

@@ -117,6 +137,11 @@
      *  </table>
      *
      *  @eventType creationComplete
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const CREATION_COMPLETE:String = "creationComplete";

@@ -140,6 +165,11 @@
      *  </table>
      *
      *  @eventType deferredContentCreate
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const CONTENT_CREATION_COMPLETE:String = "contentCreationComplete";

@@ -164,6 +194,11 @@
      *  </table>
      *
      *  @eventType cursorUpdate
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const CURSOR_UPDATE:String = "cursorUpdate";

@@ -187,6 +222,11 @@
      *  </table>
      *
      *  @eventType dataChange
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const DATA_CHANGE:String = "dataChange";

@@ -210,6 +250,11 @@
      *  </table>
      *
      *  @eventType enter
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const ENTER:String = "enter";

@@ -223,6 +268,11 @@
      *  The listener should expect to receive Event.ENTER_FRAME events.
      *
      *  @eventType flexEventEnterFrame
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const ENTER_FRAME:String = "flexEventEnterFrame";

@@ -246,6 +296,11 @@
      *  </table>
      *
      *  @eventType enterState
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const ENTER_STATE:String = "enterState";

@@ -269,6 +324,11 @@
      *  </table>
      *
      *  @eventType exitState
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const EXIT_STATE:String = "exitState";

@@ -292,6 +352,11 @@
      *  </table>
      *
      *  @eventType hide
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const HIDE:String = "hide";

@@ -315,6 +380,11 @@
      *  </table>
      *
      *  @eventType idle
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const IDLE:String = "idle";

@@ -358,6 +428,11 @@
      *
      *  @see mx.preloaders.DownloadProgressBar
      *  @eventType initComplete
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const INIT_COMPLETE:String = "initComplete";

@@ -388,6 +463,11 @@
      *
      *  @see mx.preloaders.DownloadProgressBar
      *  @eventType initProgress
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const INIT_PROGRESS:String = "initProgress";

@@ -411,6 +491,11 @@
      *  </table>
      *
      *  @eventType initialize
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const INITIALIZE:String = "initialize";

@@ -434,6 +519,11 @@
      *  </table>
      *
      *  @eventType invalid
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const INVALID:String = "invalid";

@@ -458,6 +548,11 @@
      *
      *  @eventType loading
      *  @see mx.modules.ModuleLoader
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const LOADING:String = "loading";

@@ -481,6 +576,11 @@
      *  </table>
      *
      *  @eventType preinitialize
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const PREINITIALIZE:String = "preinitialize";

@@ -499,6 +599,11 @@
      *  listener function should expect to receive Event.RENDER events.
      *
      *  @eventType flexEventRender
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const RENDER:String = "flexEventRender";

@@ -522,6 +627,11 @@
      *  </table>
      *
      *  @eventType remove
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const REMOVE:String = "remove";

@@ -545,6 +655,11 @@
      *  </table>
      *
      *  @eventType repeat
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const REPEAT:String = "repeat";

@@ -568,6 +683,11 @@
      *  </table>
      *
      *  @eventType repeatEnd
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const REPEAT_END:String = "repeatEnd";

@@ -591,6 +711,11 @@
      *  </table>
      *
      *  @eventType repeatStart
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const REPEAT_START:String = "repeatStart";

@@ -614,6 +739,11 @@
      *  </table>
      *
      *  @eventType deferredContentCreate
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const SELECTION_CHANGE:String = "selectionChange";

@@ -637,6 +767,11 @@
      *  </table>
      *
      *  @eventType show
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const SHOW:String = "show";

@@ -660,6 +795,11 @@
      *  </table>
      *
      *  @eventType transformChange
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const TRANSFORM_CHANGE:String = "transformChange";

@@ -683,6 +823,11 @@
      *  </table>
      *
      *  @eventType updateComplete
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const UPDATE_COMPLETE:String = "updateComplete";

@@ -707,6 +852,11 @@
      *
      *  @eventType urlChanged
      *  @see mx.modules.ModuleLoader
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const URL_CHANGED:String = "urlChanged";

@@ -730,6 +880,11 @@
      *  </table>
      *
      *  @eventType valid
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const VALID:String = "valid";

@@ -754,6 +909,11 @@
      *  </table>
      *
      *  @eventType valueCommit
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const VALUE_COMMIT:String = "valueCommit";

@@ -773,6 +933,11 @@
      *
      *  @param cancelable Specifies whether the behavior
      *  associated with the event can be prevented.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function FlexEvent(type:String, bubbles:Boolean = false,
                               cancelable:Boolean = false)


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/effects/Rotate.as
+++ frameworks/projects/framework/src/mx/effects/Rotate.as
@@ -13,6 +13,8 @@
 {

 import mx.effects.effectClasses.RotateInstance;
+
+[Alternative(replacement="spark.effects.Rotate", since="4.0")]

 /**
  *  The Rotate effect rotates a component around a specified point.


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

--- frameworks/projects/framework/src/mx/events/MoveEvent.as
+++ frameworks/projects/framework/src/mx/events/MoveEvent.as
@@ -18,6 +18,11 @@
  *  Represents event objects that are dispatched when a Flex component moves.
  *
  *  @see mx.core.UIComponent
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class MoveEvent extends Event
 {
@@ -51,6 +56,11 @@
 	 *

 	 *
      *  @eventType move
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const MOVE:String = "move";

@@ -74,6 +84,11 @@
 	 *  @param oldX The previous x coordinate of the object, in pixels.
 	 *
 	 *  @param oldY The previous y coordinate of the object, in pixels.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function MoveEvent(type:String, bubbles:Boolean = false,
 							  cancelable:Boolean = false,
@@ -97,6 +112,11 @@

 	/**
 	 *  The previous x coordinate of the object, in pixels.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var oldX:Number;

@@ -106,6 +126,11 @@

 	/**
 	 *  The previous y coordinate of the object, in pixels.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var oldY:Number;


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

--- frameworks/projects/framework/src/mx/utils/NameUtil.as
+++ frameworks/projects/framework/src/mx/utils/NameUtil.as
@@ -22,6 +22,11 @@
  *  You do not create instances of NameUtil;
  *  instead you call static methods of the class, such as
  *  the NameUtil.createName() method.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class NameUtil
 {
@@ -51,6 +56,11 @@
      *  @param object Object requiring a name.
      *
      *  @return String containing the unique name.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function createUniqueName(object:Object):String
     {
@@ -85,6 +95,11 @@
      *
      *  @return String containing the position of displayObject
      *  in the hierarchy of DisplayObject objects in an application.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function displayObjectToString(
                                 displayObject:DisplayObject):String
@@ -133,6 +148,11 @@
      *  If you need the package name as well, call the
      *  getQualifiedClassName() method in the flash.utils package.
      *  It will return a string such as "mx.controls::Button".

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function getUnqualifiedClassName(object:Object):String
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 7710
Author:   clucier@adobe.com
Date:     2009-06-10T12:58:55.624491Z

Log Message:
-----------
Applying patch submitted by Brian Curtis (SDK-20997) for enhancement SDK-19850.  The issue received enough votes in my opinion to warrant application.

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectUtil.as

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

--- frameworks/projects/framework/src/mx/utils/ObjectUtil.as
+++ frameworks/projects/framework/src/mx/utils/ObjectUtil.as
@@ -122,7 +122,53 @@
         var result:Object = buffer.readObject();
         return result;
     }
-
+
+    /**
+     *  Clones the specified Object and returns a reference to the clone.
+     *  The clone is made using a native serialization technique.
+     *  This means that custom serialization will be respected during the
+     *  cloning.  clone() differs from copy() in that the uid property of
+     *  each object instance is retained.
+     *
+     *
This method is designed for cloning data objects,
+     *  such as elements of a collection. It is not intended for cloning
+     *  a UIComponent object, such as a TextInput control. If you want to clone
+     *  specific UIComponent objects, you can create a subclass of the component
+     *  and implement a clone() method.

+     *
+     *  @param value Object that should be cloned.
+     *
+     *  @return Clone of the specified Object.
+     *
+     *  @langversion 4.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 4
+     */
+    public static function clone(value:Object):Object
+    {
+        var result:Object = copy(value);
+        cloneInternal(result, value);
+        return result;
+    }
+
+    /**
+     *  Recursive helper used by the public clone method.
+     *  @private
+     */
+    private static function cloneInternal(result:Object, value:Object):void
+    {
+        result.uid = value.uid;
+        var classInfo:Object = getClassInfo(value);
+        var v:Object;
+        for each (var p:* in classInfo.properties)
+        {
+            v = value[p];
+            if (v.hasOwnProperty("uid"))
+                cloneInternal(result[p], v);
+        }
+    }
+
     /**
      *  Returns true if the object reference specified
      *  is a simple data type. The simple data types include the following:


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

--- frameworks/projects/mx/src/mx/effects/AddItemAction.as
+++ frameworks/projects/mx/src/mx/effects/AddItemAction.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 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: 7170
Author:   smgilson@adobe.com
Date:     2009-05-21T13:05:27.223044Z

Log Message:
-----------
ASDoc edits for DDList

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/DropDownListButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/DropDownController.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/DropDownListSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/Button.as
+++ frameworks/projects/spark/src/spark/components/Button.as
@@ -40,15 +40,14 @@
  *  attributes of its superclass and adds the following tag attributes:

  *
  *

- *  <Button
-
+ *  <Button
  *    Properties
  *    emphasized="false"
  *  />
  *

  *
+ *  @see spark.skins.default.ButtonSkin
  *  @includeExample examples/ButtonExample.mxml
- *  @see spark.skins.default.ButtonSkin
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 10633
Author:   dloverin@adobe.com
Date:     2009-09-28T13:24:30.559033Z

Log Message:
-----------
Use styleManager instance instead of StyleManager singleton (framework and compiler generated code)

Modified compiler generated style code for the FlexInit class. The style related changes are only available with the -keep option. AST generation is coming later.

Only the framework project is changed here. The other projects are will be changed soon.

QE notes: None.
Doc notes: None.
Bugs:
Reviewer: Alex and Paul
Tests run: checkintests, all Mustella tests(no new failures)
Is noteworthy for integration: no.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ButtonBarButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/HaloBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/accordionClasses/AccordionHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/CanvasLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollArrowSkin.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/skins/halo/ButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/configuration_en.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressIndeterminateSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DateChooserMonthArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/SliderThumbSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/DividedBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollThumbSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.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/frameworks/projects/framework/src/mx/styles/IStyleModule.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Form.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleManager2.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/modules/compiler/src/java/flex2/tools/PreLink.java</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/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/TitleBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/NumericStepperDownSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PopUpButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/ProgrammaticSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/TabSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/textClasses/TextRange.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/LayoutContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/AccordionHeaderSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/CheckBoxIcon.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/NumericStepperUpSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/RadioButtonIcon.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/SetStyle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ComboBoxArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeaderBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/MenuBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressBarSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/BusyCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/Request.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.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/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/SliderTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DataGridHeaderBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SetStyleActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm</path>

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

--- frameworks/projects/mx/src/mx/skins/halo/HaloBorder.as
+++ frameworks/projects/mx/src/mx/skins/halo/HaloBorder.as
@@ -514,7 +514,8 @@
                     drawDropShadow(0, 1, w, h - 1,
                                    radius, radius, radius, radius);

-                    if (backgroundColor !== null && StyleManager.isValidStyleValue(backgroundColor))
+                    if (backgroundColor !== null &&
+                        styleManager.isValidStyleValue(backgroundColor))
                     {
                         drawRoundRect(
                             0, 1, w, h - 1, radius,
@@ -912,7 +913,7 @@
         if (p && !p.enabled)
         {
             var color:Object = getStyle("backgroundDisabledColor");
-            if (color !== null && StyleManager.isValidStyleValue(color))
+            if (color !== null && styleManager.isValidStyleValue(color))
                 return color;
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 17154
Author:   hmuller@adobe.com
Date:     2010-08-02T20:17:37.686021Z

Log Message:
-----------
GridLayout/layoutLinearElements now passes the "lastIndex" parameter (used for separators) along to GridLayout/freeLinearElements().

Changing Grid/dataProvider now clears cached layout state (clearVirtualLayout() cache) at commitProperties() time.

QE notes: DataGrid
Doc notes:
Bugs: SDK-27081, SDK-26873, SDK-27097
Reviewer:
Tests run: DataGrid cyclone
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/components/Grid.as
+++ frameworks/projects/spark/src/spark/components/Grid.as
@@ -2550,6 +2550,8 @@
                     gridSelection.requireSelection = savedRequireSelection;
                 }

+                gridLayout.clearVirtualLayoutCache();
+
                 if (gridDimensions)
                 {
                     gridDimensions.clear();


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

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