Transferred from the Adobe Open Source Subversion Repository

Revision: 20844
Author:   jimurphy@adobe.com
Date:     2011-03-14T15:10:07.899037Z

Log Message:
-----------
block hero_private revs 20698,20699,20702 from being merged into trunk
revert 20839,20841,20842,20843

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/NumberFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSCondition.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ISortField.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ArrayList.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/PolarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorDodgeShader.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/PolarDataCanvas.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/OnDemandEventDispatcher.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/series/PlotSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TabBar.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/StringUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/globalization/StringTools.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/CompoundTransform.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/utils/ChangeWatcher.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as</path>

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

--- frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as
+++ frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as
@@ -37,12 +37,12 @@
  *  <mx:SolidColorStroke id="mticks" color="0x0000FF" weight="1"/>
  *
  *  <mx:LineChart id="mychart" dataProvider="{ndxa}">
- *      <mx:horizontalAxisRenderer>
- *          <mx:AxisRenderer placement="bottom" canDropLabels="true">
- *              <mx:tickStroke>{ticks}</mx:tickStroke>
- *              <mx:minorTickStroke>{mticks}</mx:minorTickStroke>
- *          </mx:AxisRenderer>
- *      </mx:horizontalAxisRenderer>
+ *  	<mx:horizontalAxisRenderer>
+ *  		<mx:AxisRenderer placement="bottom" canDropLabels="true">
+ *  			<mx:tickStroke>{ticks}</mx:tickStroke>
+ *  			<mx:minorTickStroke>{mticks}</mx:minorTickStroke>
+ *  		</mx:AxisRenderer>
+ *  	</mx:horizontalAxisRenderer>
  *  </LineChart>
  *  ...
  *

@@ -75,31 +75,31 @@
  */
 public class SolidColorStroke extends EventDispatcher implements IStroke
 {
-    include "../core/Version.as";
-
-    //--------------------------------------------------------------------------
-    //
-    //  Constructor
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Constructor.
-     *
-     *  @param color Specifies the line color.
-     *  The default value is 0x000000 (black).
-     *
-     *  @param weight Specifies the line weight, in pixels.
-     *  The default value is 1.
-     *
-     *  @param alpha Specifies the alpha value in the range 0.0 to 1.0.
-     *  The default value is 1.0 (opaque).
-     *
-     *  @param pixelHinting Specifies whether to hint strokes to full pixels.
-     *  This value affects both the position of anchors of a curve
-     *  and the line stroke size itself.
-     *  The default value is false.
-     *
+	include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @param color Specifies the line color.
+	 *  The default value is 0x000000 (black).
+	 *
+	 *  @param weight Specifies the line weight, in pixels.
+	 *  The default value is 1.
+	 *
+	 *  @param alpha Specifies the alpha value in the range 0.0 to 1.0.
+	 *  The default value is 1.0 (opaque).
+	 *
+	 *  @param pixelHinting Specifies whether to hint strokes to full pixels.
+	 *  This value affects both the position of anchors of a curve
+	 *  and the line stroke size itself.
+	 *  The default value is false.
+	 *
      *  @param scaleMode A value from the LineScaleMode class
      *  that specifies which scale mode to use.
      *  Valid values are LineScaleMode.HORIZONTAL,
@@ -107,278 +107,278 @@
      *  and LineScaleMode.VERTICAL.
      *  This parameter is optional,
      *  with a default value of LineScaleMode.NORMAL.
-     *
-     *  @param caps Specifies the type of caps at the end of lines.
-     *  Valid values are CapsStyle.ROUND, CapsStyle.SQUARE,
-     *  and CapsStyle.NONE.
-     *  The default value is CapsStyle.ROUND.
-     *
-     *  @param joints Specifies the type of joint appearance used at angles.
-     *  Valid values are JointStyle.ROUND, JointStyle.MITER,
-     *  and JointStyle.BEVEL.
-     *  The default value is JointStyle.ROUND.
-     *
-     *  @param miterLimit Indicates the limit at which a miter is cut off.
-     *  Valid values range from 1 to 255.
-     *  The default value is 3.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function SolidColorStroke(color:uint = 0x000000,
-                                     weight:Number = 1,
-                                     alpha:Number = 1.0,
-                                     pixelHinting:Boolean = false,
-                                     scaleMode:String = "normal",
-                                     caps:String = "round",
-                                     joints:String = "round",
-                                     miterLimit:Number = 3)
-    {
-        super();
-
-        this.color = color;
-        this._weight = weight;
-        this.alpha = alpha;
-        this.pixelHinting = pixelHinting;
-        this.scaleMode = scaleMode;
-        this.caps = caps;
-        this.joints = joints;
-        this.miterLimit = miterLimit;
-    }
-
-    //--------------------------------------------------------------------------
-    //
-    //  Properties
-    //
-    //--------------------------------------------------------------------------
-
-    //----------------------------------
-    //  alpha
-    //----------------------------------
-
-    private var _alpha:Number = 0.0;
-
-    [Bindable("propertyChange")]
+	 *
+	 *  @param caps Specifies the type of caps at the end of lines.
+	 *  Valid values are CapsStyle.ROUND, CapsStyle.SQUARE,
+	 *  and CapsStyle.NONE.
+	 *  The default value is CapsStyle.ROUND.
+	 *
+	 *  @param joints Specifies the type of joint appearance used at angles.
+	 *  Valid values are JointStyle.ROUND, JointStyle.MITER,
+	 *  and JointStyle.BEVEL.
+	 *  The default value is JointStyle.ROUND.
+	 *
+	 *  @param miterLimit Indicates the limit at which a miter is cut off.
+	 *  Valid values range from 1 to 255.
+	 *  The default value is 3.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function SolidColorStroke(color:uint = 0x000000,
+	                                 weight:Number = 1,
+						             alpha:Number = 1.0,
+						             pixelHinting:Boolean = false,
+						             scaleMode:String = "normal",
+						             caps:String = "round",
+						             joints:String = "round",
+						             miterLimit:Number = 3)
+	{
+		super();
+
+		this.color = color;
+		this._weight = weight;
+		this.alpha = alpha;
+		this.pixelHinting = pixelHinting;
+		this.scaleMode = scaleMode;
+		this.caps = caps;
+		this.joints = joints;
+		this.miterLimit = miterLimit;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  alpha
+	//----------------------------------
+
+	private var _alpha:Number = 0.0;
+
+	[Bindable("propertyChange")]
     [Inspectable(category="General")]

-    /**
-     *  The transparency of a line.
-     *  Possible values are 0.0 (invisible) through 1.0 (opaque).
-     *
-     *  @default 1.0.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function get alpha():Number
-    {
-        return _alpha;
-    }
-
+	/**
+	 *  The transparency of a line.
+	 *  Possible values are 0.0 (invisible) through 1.0 (opaque).
+	 *
+	 *  @default 1.0.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function get alpha():Number
+	{
+		return _alpha;
+	}
+
     /**
      *  @private
      */
-    public function set alpha(value:Number):void
-    {
-        var oldValue:Number = _alpha;
-        if (value != oldValue)
-        {
-            _alpha = value;
-            dispatchStrokeChangedEvent("alpha", oldValue, value);
-        }
-    }
-
-    //----------------------------------
-    //  caps
-    //----------------------------------
-
-    private var _caps:String = CapsStyle.ROUND;
-
-    [Bindable("propertyChange")]
-    [Inspectable(category="General", enumeration="round,square,none", defaultValue="round")]
-
-    /**
-     *  Specifies the type of caps at the end of lines.
-     *  Valid values are: CapsStyle.ROUND, CapsStyle.SQUARE,
-     *  and CapsStyle.NONE.
-     *
-     *  @default CapsStyle.ROUND
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function get caps():String
-    {
-        return _caps;
-    }
-
-    public function set caps(value:String):void
-    {
-        var oldValue:String = _caps;
-        if (value != oldValue)
-        {
-            _caps = value;
-            dispatchStrokeChangedEvent("caps", oldValue, value);
-        }
-    }
-
-    //----------------------------------
-    //  color
-    //----------------------------------
-
-    private var _color:uint = 0x000000;
-
-    [Bindable("propertyChange")]
+	public function set alpha(value:Number):void
+	{
+		var oldValue:Number = _alpha;
+		if (value != oldValue)
+		{
+			_alpha = value;
+			dispatchStrokeChangedEvent("alpha", oldValue, value);
+		}
+	}
+
+	//----------------------------------
+	//  caps
+	//----------------------------------
+
+	private var _caps:String = CapsStyle.ROUND;
+
+	[Bindable("propertyChange")]
+	[Inspectable(category="General", enumeration="round,square,none", defaultValue="round")]
+
+	/**
+	 *  Specifies the type of caps at the end of lines.
+	 *  Valid values are: CapsStyle.ROUND, CapsStyle.SQUARE,
+	 *  and CapsStyle.NONE.
+	 *
+	 *  @default CapsStyle.ROUND
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function get caps():String
+	{
+		return _caps;
+	}
+
+	public function set caps(value:String):void
+	{
+		var oldValue:String = _caps;
+		if (value != oldValue)
+		{
+			_caps = value;
+			dispatchStrokeChangedEvent("caps", oldValue, value);
+		}
+	}
+
+	//----------------------------------
+	//  color
+	//----------------------------------
+
+	private var _color:uint = 0x000000;
+
+	[Bindable("propertyChange")]
     [Inspectable(category="General", format="Color")]

-    /**
-     *  The line color.
-     *
-     *  @default 0x000000 (black).
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function get color():uint
-    {
-        return _color;
-    }
-
-    public function set color(value:uint):void
-    {
-        var oldValue:uint = _color;
-        if (value != oldValue)
-        {
-            _color = value;
-            dispatchStrokeChangedEvent("color", oldValue, value);
-        }
-    }
-
-    //----------------------------------
-    //  joints
-    //----------------------------------
-
-    private var _joints:String = JointStyle.ROUND;
-
-    [Bindable("propertyChange")]
-    [Inspectable(category="General", enumeration="round,bevel,miter", defaultValue="round")]
-
-    /**
-     *  Specifies the type of joint appearance used at angles.
-     *  Valid values are JointStyle.ROUND, JointStyle.MITER,
-     *  and JointStyle.BEVEL.
-     *
-     *  @default JointStyle.ROUND
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function get joints():String
-    {
-        return _joints;
-    }
-
-    public function set joints(value:String):void
-    {
-        var oldValue:String = _joints;
-        if (value != oldValue)
-        {
-            _joints = value;
-            dispatchStrokeChangedEvent("joints", oldValue, value);
-        }
-    }
-
-    //----------------------------------
-    //  miterLimit
-    //----------------------------------
-
-    private var _miterLimit:Number = 3;
-
-    [Bindable("propertyChange")]
-    [Inspectable(category="General", minValue="1.0", maxValue="255.0")]
-
-    /**
-     *  Indicates the limit at which a miter is cut off.
-     *  Valid values range from 1 to 255.
-     *
-     *  @default 3
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function get miterLimit():Number
-    {
-        return _miterLimit;
-    }
-
-    public function set miterLimit(value:Number):void
-    {
-        var oldValue:Number = _miterLimit;
-        if (value != oldValue)
-        {
-            _miterLimit = value;
-            dispatchStrokeChangedEvent("miterLimit", oldValue, value);
-        }
-    }
-
-    //----------------------------------
-    //  pixelHinting
-    //----------------------------------
-
-    private var _pixelHinting:Boolean = false;
-
-    [Bindable("propertyChange")]
+	/**
+	 *  The line color.
+	 *
+	 *  @default 0x000000 (black).
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function get color():uint
+	{
+		return _color;
+	}
+
+	public function set color(value:uint):void
+	{
+		var oldValue:uint = _color;
+		if (value != oldValue)
+		{
+			_color = value;
+			dispatchStrokeChangedEvent("color", oldValue, value);
+		}
+	}
+
+	//----------------------------------
+	//  joints
+	//----------------------------------
+
+	private var _joints:String = JointStyle.ROUND;
+
+	[Bindable("propertyChange")]
+	[Inspectable(category="General", enumeration="round,bevel,miter", defaultValue="round")]
+
+	/**
+	 *  Specifies the type of joint appearance used at angles.
+	 *  Valid values are JointStyle.ROUND, JointStyle.MITER,
+	 *  and JointStyle.BEVEL.
+	 *
+	 *  @default JointStyle.ROUND
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function get joints():String
+	{
+		return _joints;
+	}
+
+	public function set joints(value:String):void
+	{
+		var oldValue:String = _joints;
+		if (value != oldValue)
+		{
+			_joints = value;
+			dispatchStrokeChangedEvent("joints", oldValue, value);
+		}
+	}
+
+	//----------------------------------
+	//  miterLimit
+	//----------------------------------
+
+	private var _miterLimit:Number = 3;
+
+	[Bindable("propertyChange")]
+	[Inspectable(category="General", minValue="1.0", maxValue="255.0")]
+
+	/**
+	 *  Indicates the limit at which a miter is cut off.
+	 *  Valid values range from 1 to 255.
+	 *
+	 *  @default 3
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function get miterLimit():Number
+	{
+		return _miterLimit;
+	}
+
+	public function set miterLimit(value:Number):void
+	{
+		var oldValue:Number = _miterLimit;
+		if (value != oldValue)
+		{
+			_miterLimit = value;
+			dispatchStrokeChangedEvent("miterLimit", oldValue, value);
+		}
+	}
+
+	//----------------------------------
+	//  pixelHinting
+	//----------------------------------
+
+	private var _pixelHinting:Boolean = false;
+
+	[Bindable("propertyChange")]
     [Inspectable(category="General")]
-
-    /**
-     *  Specifies whether to hint strokes to full pixels.
-     *  This value affects both the position of anchors of a curve
-     *  and the line stroke size itself.
-     *
-     *  @default false
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function get pixelHinting():Boolean
-    {
-        return _pixelHinting;
-    }
-
-    public function set pixelHinting(value:Boolean):void
-    {
-        var oldValue:Boolean = _pixelHinting;
-        if (value != oldValue)
-        {
-            _pixelHinting = value;
-            dispatchStrokeChangedEvent("pixelHinting", oldValue, value);
-        }
-    }
-
-    //----------------------------------
-    //  scaleMode
-    //----------------------------------
-
-    private var _scaleMode:String = "normal";
-
-    [Bindable("propertyChange")]
-    [Inspectable(category="General", enumeration="normal,vertical,horizontal,none", defaultValue="normal")]
-
-     /**
+
+	/**
+	 *  Specifies whether to hint strokes to full pixels.
+	 *  This value affects both the position of anchors of a curve
+	 *  and the line stroke size itself.
+	 *
+	 *  @default false
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function get pixelHinting():Boolean
+	{
+		return _pixelHinting;
+	}
+
+	public function set pixelHinting(value:Boolean):void
+	{
+		var oldValue:Boolean = _pixelHinting;
+		if (value != oldValue)
+		{
+			_pixelHinting = value;
+			dispatchStrokeChangedEvent("pixelHinting", oldValue, value);
+		}
+	}
+
+	//----------------------------------
+	//  scaleMode
+	//----------------------------------
+
+	private var _scaleMode:String = "normal";
+
+	[Bindable("propertyChange")]
+	[Inspectable(category="General", enumeration="normal,vertical,horizontal,none", defaultValue="normal")]
+
+	 /**
      *  A value from the LineScaleMode class
      *  that  specifies which scale mode to use.
      *  Value valids are:
@@ -411,92 +411,87 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public function get scaleMode():String
-    {
-        return _scaleMode;
-    }
-
-    public function set scaleMode(value:String):void
-    {
-        var oldValue:String = _scaleMode;
-        if (value != oldValue)
-        {
-            _scaleMode = value;
-            dispatchStrokeChangedEvent("scaleMode", oldValue, value);
-        }
-    }
-
-    //----------------------------------
-    //  weight
-    //----------------------------------
-
-    /**
-     *  @private
-     *  Storage for the weight property.
-     */
-    private var _weight:Number;
-
-    [Bindable("propertyChange")]
+	public function get scaleMode():String
+	{
+		return _scaleMode;
+	}
+
+	public function set scaleMode(value:String):void
+	{
+		var oldValue:String = _scaleMode;
+		if (value != oldValue)
+		{
+			_scaleMode = value;
+			dispatchStrokeChangedEvent("scaleMode", oldValue, value);
+		}
+	}
+
+	//----------------------------------
+	//  weight
+	//----------------------------------
+
+	/**
+	 *  @private
+	 *  Storage for the weight property.
+	 */
+	private var _weight:Number;
+
+	[Bindable("propertyChange")]
     [Inspectable(category="General", minValue="0.0")]

-    /**
-     *  The line weight, in pixels.
-     *  For many charts, the default value is 1 pixel.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function get weight():Number
-    {
-        return _weight;
-    }
-
-    /**
-     *  @private
-     */
-    public function set weight(value:Number):void
-    {
-        var oldValue:Number = _weight;
-        if (value != oldValue)
-        {
-            _weight = value;
-            dispatchStrokeChangedEvent("weight", oldValue, value);
-        }
-    }
-
-    //--------------------------------------------------------------------------
-    //
-    //  Methods
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  @inheritDoc
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function apply(graphics:Graphics, targetBounds:Rectangle, targetOrigin:Point):void
-    {
-        graphics.lineStyle(weight, color, alpha, pixelHinting,
-                    scaleMode, caps, joints, miterLimit);
-    }
-
+	/**
+	 *  The line weight, in pixels.
+	 *  For many charts, the default value is 1 pixel.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function get weight():Number
+	{
+		return _weight;
+	}
+
+	/**
+	 *  @private
+	 */
+	public function set weight(value:Number):void
+	{
+		var oldValue:Number = _weight;
+		if (value != oldValue)
+		{
+			_weight = value;
+			dispatchStrokeChangedEvent("weight", oldValue, value);
+		}
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @inheritDoc
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function apply(graphics:Graphics, targetBounds:Rectangle, targetOrigin:Point):void
+	{
+		graphics.lineStyle(weight, color, alpha, pixelHinting,
+					scaleMode, caps, joints, miterLimit);
+	}
+
     /**
      *  @inheritDoc
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
      */
-    public function createGraphicsStroke(targetBounds:Rectangle, targetOrigin:Point):GraphicsStroke
-    {
-        // Construct a new GraphicsStroke object and set all of
+	public function createGraphicsStroke(targetBounds:Rectangle, targetOrigin:Point):GraphicsStroke
+	{
+	    // Construct a new GraphicsStroke object and set all of
         // its properties to match the SolidColorStroke's
         // properties
         var graphicsStroke:GraphicsStroke = new GraphicsStroke();
@@ -515,20 +510,20 @@
         graphicsSolidFill.color = color;
         graphicsSolidFill.alpha = alpha;
         graphicsStroke.fill = graphicsSolidFill;
-
-        return graphicsStroke;
-    }
-
-    /**
-     *  @private
-     */
-    private function dispatchStrokeChangedEvent(prop:String, oldValue:*,
-                                                value:*):void
-    {
+
+	    return graphicsStroke;
+	}
+
+	/**
+	 *  @private
+	 */
+	private function dispatchStrokeChangedEvent(prop:String, oldValue:*,
+												value:*):void
+	{
         if (hasEventListener("propertyChange"))
             dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, prop,
-                oldValue, value));
-    }
+			    oldValue, value));
+	}
 }

 }


Signal now uses a private class ListenerBox.

--- src/org/osflash/signals/Signal.as
+++ src/org/osflash/signals/Signal.as
@@ -108,7 +108,7 @@

 				//TODO: investigate performance of various approaches
 				// Clone listeners array because add/remove may occur during the dispatch.
-				for each (var listenerBox:Object in listeners.concat())
+				for each (var listenerBox:ListenerBox in listeners.concat())
 				{
 					var listener:Function = listenerBox.listener;
 					//TODO: Maybe put this conditional outside the loop.
@@ -136,7 +136,7 @@
 				if (currentTarget is IBubbleEventHandler)
 				{
 					IBubbleEventHandler(event.currentTarget = currentTarget).onEventBubbled(event);
-					currentTarget = null;
+					break;
 				}
 			}
 		}
@@ -156,7 +156,7 @@
 			if (eventClass && !listener.length)
 				throw new ArgumentError('Listener must declare at least 1 argument when eventClass is specified.');

-			var listenerBox:Object = { listener:listener, priority:priority };
+			var listenerBox:ListenerBox = new ListenerBox(listener, priority);
 			// Process the first listener as quickly as possible.
 			if (!listeners.length)
 			{
@@ -188,3 +188,15 @@

 	}
 }
+
+class ListenerBox
+{
+	public var listener:Function;
+	public var priority:int;
+
+	public function ListenerBox(listener:Function, priority:int = 0)
+	{
+		this.listener = listener;
+		this.priority = priority;
+	}
+}


no change event unless user interacts

no change event unless user interacts

--- frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/TextInput.as
+++ frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/TextInput.as
@@ -75,7 +75,9 @@
          */
 		public function set text(value:String):void
 		{
+            inSetter = true;
 			ITextModel(model).text = value;
+            inSetter = false;
 		}

         /**
@@ -99,6 +101,8 @@
 			ITextModel(model).html = value;
 		}

+        private var inSetter:Boolean;
+
 		/**
 		 * @dispatch change event in response to a textChange event
 		 *
@@ -109,7 +113,8 @@
 		 */
 		public function textChangeHandler(event:Event):void
 		{
-            dispatchEvent(new Event(Event.CHANGE));
+            if (!inSetter)
+                dispatchEvent(new Event(Event.CHANGE));
 		}
 	}
 }


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 3509
Author:   jimurphy@adobe.com
Date:     2008-10-07T18:19:17.646255Z

Log Message:
-----------
Rename of flex -> mx.

For compatibility reasons it was decided that the new functionality remain integrated with the old framework, although we will continue to build two separate SWCs, one with primarily existing framework classes, and one with new Flex 4 classes. This change removes duplicate names from the Flex 4 framework to avoid class name overlapping with the old framework code.  The naming overlap consists of two major areas:  New Components, and New Effects

Modified Paths:
--------------
386 paths were modified

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

--- frameworks/projects/spark/src/spark/components/supportClasses/Skin.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/Skin.as
@@ -9,9 +9,9 @@
 //
 ////////////////////////////////////////////////////////////////////////////////

-package flex.core
+package mx.components
 {
-import mx.core.IDataRenderer;
+import mx.core.IDataRenderer;

 /**
  *  The Skin class defines the base class for all skins used by skinnable components.
@@ -50,18 +50,18 @@
     /**
      *  Constructor.
      */
-    public function Skin()
-    {
-        super();
-    }
-
-    //--------------------------------------------------------------------------
+	public function Skin()
+	{
+		super();
+	}
+
+	//--------------------------------------------------------------------------
     //
     //  Properties
     //
     //--------------------------------------------------------------------------
-
-    private var _data:Object;
+
+	private var _data:Object;
     [Bindable]
     /**
      *  A reference to the component that hosts this skin instance.


Transferred from the Adobe Open Source Subversion Repository

Revision: 12793
Author:   mhorn@adobe.com
Date:     2009-12-10T17:16:45.824116Z

Log Message:
-----------
asdoc updates for l10n

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/StepperIncrButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/MenuArrow.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/MenuRadio.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserTodayIndicatorSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/PopUpButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/SliderTrackHighlightSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/TextInputBorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserSelectionIndicatorSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DataGridSortArrow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ProgressIndeterminateSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/MenuCheckDisabled.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserNextMonthSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ContainerBorderSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/TabSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ScrollBarTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DataGridHeaderSeparatorSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/AccordionHeaderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonBarMiddleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/StepperDecrButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ProgressBarTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserNextYearSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/SliderThumbSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserRollOverIndicatorSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/MenuArrowDisabled.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/CheckBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/MenuRadioDisabled.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ProgressBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/LinkButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/RadioButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/PanelBorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/EditableComboBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserPrevMonthSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonBarFirstButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ProgressMaskSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/SliderTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ScrollBarDownButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ComboBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ColorPickerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/BorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/MenuCheck.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserPrevYearSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonBarLastButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DefaultButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/SparkSkinForHalo.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ScrollBarThumbSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/MenuItemSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ScrollBarUpButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/MenuSeparatorSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DataGridHeaderBackgroundSkin.mxml</path>

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

--- frameworks/projects/sparkskins/src/mx/skins/spark/ProgressMaskSkin.as
+++ frameworks/projects/sparkskins/src/mx/skins/spark/ProgressMaskSkin.as
@@ -16,7 +16,7 @@
 import mx.skins.ProgrammaticSkin;

 /**
- *  The Spark skin for the mask of the Halo ProgressBar component's determinate and indeterminate bars.
+ *  The Spark skin for the mask of the MX ProgressBar component's determinate and indeterminate bars.
  *  The mask defines the area in which the progress bar or
  *  indeterminate progress bar is displayed.
  *  By default, the mask defines the progress bar to be inset 1 pixel from the track.


Transferred from the Adobe Open Source Subversion Repository

Revision: 18565
Author:   hmuller@adobe.com
Date:     2010-11-12T21:52:04.958402Z

Log Message:
-----------
Ignore DataGrid stretchCursor style values when they're the wrong type (not a Class).

Added GridEvent/grid and GridItemRenderer/grid read-only properties.

Added DataGrid,Grid/invalidateTypicalItem() method.

Change GridColumnHeaderGroupLayout/measure - minimized measuredWidth to eliminate impact on DataGrid measuredWidth

QE notes:
Doc notes:
Bugs: SDK-27776, SDK-28538
Reviewer: Carol
Tests run: checkin
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridColumnHeaderGroupLayout.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridColumnHeaderGroupLayout.as
@@ -167,7 +167,7 @@
         const paddingTop:Number = columnHeaderGroup.getStyle("paddingTop");
         const paddingBottom:Number = columnHeaderGroup.getStyle("paddingBottom");

-        var measuredWidth:Number = Math.ceil(grid.getPreferredBoundsWidth() + paddingLeft + paddingRight);
+        var measuredWidth:Number = Math.ceil(paddingLeft + paddingRight);
         var measuredHeight:Number = Math.ceil(maxRendererHeight + paddingTop + paddingBottom);

         columnHeaderGroup.measuredWidth = Math.max(measuredWidth, columnHeaderGroup.minWidth);


reorder code for sake of clarity

reorder code for sake of clarity

--- src/org/mangui/hls/HLS.as
+++ src/org/mangui/hls/HLS.as
@@ -45,8 +45,6 @@

         /** Create and connect all components. **/
         public function HLS() {
-            var connection : NetConnection = new NetConnection();
-            connection.connect(null);
             _levelLoader = new LevelLoader(this);
             _altAudioLevelLoader = new AltAudioLevelLoader(this);
             _audioTrackController = new AudioTrackController(this);
@@ -55,6 +53,8 @@
             _hlsURLStream = URLStream as Class;
             _hlsURLLoader = URLLoader as Class;
             // default loader
+            var connection : NetConnection = new NetConnection();
+            connection.connect(null);
             _hlsNetStream = new HLSNetStream(connection, this, _streamBuffer);
             this.addEventListener(HLSEvent.LEVEL_SWITCH, _levelSwitchHandler);
         };


Transferred from the Adobe Open Source Subversion Repository

Revision: 22294
Author:   jszeto@adobe.com
Date:     2011-08-30T21:22:59.162418Z

Log Message:
-----------
SpinnerList bug fixes

SDK-31384 - SpinnerListContainer has a tiny minWidth

Set minWidth to 30

SDK-31382 - SpinnerList should suppress chromeColor and accentColor code hinting since it isn't supported

Added exclude metadata

SDK-31315 - SpinnerList behaviour erratic when selecting items by 'click'

We floor the calculation for the first visible row

SDK-31387 - SpinnerList w/ fixed height doesn't show bottom row

Changed logic in VerticalSpinnerLayout to calculate the max y position using the bottom of the top row, instead of its top.

QE notes: none
Doc notes: none
Bugs: listed above
Reviewer: Tom K, Hans, Eric Day
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListSkin.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/tests/airMobileBasicTests/src/mobile/scripts/SpinnerListTestScript.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/tests/airMobileBasicTests/src/airMobileBasicTests-config.xml</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/tests/airMobileBasicTests/src/mobile/views/TestSpinnerList.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListContainerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/SpinnerList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/layouts/VerticalSpinnerLayout.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListContainerSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListContainerSkin.as
@@ -93,6 +93,8 @@
 				break;
 			}
 		}
+
+        minWidth = 30;
 	}

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 2506
Author:   jimurphy@adobe.com
Date:     2008-07-16T13:25:03.893431Z

Log Message:
-----------
Merged 3.0.x revisions [2417,2458,2504] -> trunk
-I also manually updated modules/compiler/src/java/flex2/tools/oem/internal/LinkerConfiguration.java to implement flex2.linker.LinkerConfiguration due to a name change in trunk
-removed player 9 stuff

Modified Paths:
--------------
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework/.project" copyfrom-rev="2504" action="R">/flex/sdk/trunk/development/eclipse/flex/airframework/.project</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/DependencyChecker.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/IResourceManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework/.actionScriptProperties" copyfrom-rev="2504" action="R">/flex/sdk/trunk/development/eclipse/flex/airframework/.actionScriptProperties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/air-config.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Channel.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="A">/flex/sdk/trunk/in/player/mac/Install Flash Player 10 UB.dmg</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/modules/compiler/src/java/flex2/tools/oem/internal/LinkerConfiguration.java</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework/.settings/org.eclipse.core.resources.prefs" copyfrom-rev="2504" action="R">/flex/sdk/trunk/development/eclipse/flex/airframework/.settings/org.eclipse.core.resources.prefs</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexModuleFactory.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</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/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework/.flexLibProperties" copyfrom-rev="2504" action="R">/flex/sdk/trunk/development/eclipse/flex/airframework/.flexLibProperties</path>
<path kind="file" action="D">/flex/sdk/trunk/in/player/lnx/install_flash_player_9_linux.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/nodes/LibrariesNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/nodes/DependencyNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/XMLDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="D">/flex/sdk/trunk/in/player/win/Install Flash Player 9 Plugin.exe</path>
<path kind="file" action="D">/flex/sdk/trunk/in/player/mac/Install Flash Player 9 UB.dmg</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/MarshalMouseEvent.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/resources/LocaleSorter.as" copyfrom-rev="2504" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/LocaleSorter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/in/player/win/Install Flash Player 9 ActiveX.exe</path>
<path kind="dir" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework" copyfrom-rev="2504" action="A">/flex/sdk/trunk/development/eclipse/flex/airframework</path>
<path kind="file" action="M">/flex/sdk/trunk/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollThumb.as</path>
<path kind="file" action="A">/flex/sdk/trunk/in/player/win/Install Flash Player 10 Plugin.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/nodes/DefNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/in/player/win/Install Flash Player 10 ActiveX.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/nodes/LibraryNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/nodes/ScriptNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/ContextStatics.java</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/tools/dependencychecker/flex/tools/dependencychecker/nodes/DepNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as</path>
<path kind="dir" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework/.settings" copyfrom-rev="2504" action="R">/flex/sdk/trunk/development/eclipse/flex/airframework/.settings</path>
<path kind="file" action="D">/flex/sdk/trunk/in/player/10/lnx/Flash Player.app.zip</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/libs/player/9</path>

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

--- frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as
+++ frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as
@@ -617,15 +617,22 @@
                     		listenForContextMenu = true;
                     	}
                     }
+					var pt:Point;
                     // make sure systemManager is not other implementation of ISystemManager
                     if (systemManager is SystemManager)
                     {
-                    	cursorHolder.x = SystemManager(systemManager).mouseX + item.x;
-                    	cursorHolder.y = SystemManager(systemManager).mouseY + item.y;
+						pt = new Point(SystemManager(systemManager).mouseX + item.x, SystemManager(systemManager).mouseY + item.y);
+						pt = SystemManager(systemManager).localToGlobal(pt);
+						pt = cursorHolder.parent.globalToLocal(pt);
+                    	cursorHolder.x = pt.x;
+                    	cursorHolder.y = pt.y;
                     }
                     // WindowedSystemManager
                     else if (systemManager is DisplayObject)
                     {
+						pt = new Point(DisplayObject(systemManager).mouseX + item.x, DisplayObject(systemManager).mouseY + item.y);
+						pt = DisplayObject(systemManager).localToGlobal(pt);
+						pt = cursorHolder.parent.globalToLocal(pt);
                     	cursorHolder.x = DisplayObject(systemManager).mouseX + item.x;
                     	cursorHolder.y = DisplayObject(systemManager).mouseY + item.y;
                     }
@@ -787,16 +794,13 @@
      */
     private function marshalMouseMoveHandler(event:Event):void
     {
-		if (event is MarshalMouseEvent)
-			return;
-
 		// mouse is outside our sandbox, restore it.
 		// the other CM should alter it if needed
 		// when we get a mousemove in our sandbox
 		// we should alter it as well
         cursorHolder.visible = false;
-            Mouse.show();
-        }
+        Mouse.show();
+    }

     /**
      *  @private


Transferred from the Adobe Open Source Subversion Repository

Revision: 22579
Author:   smgilson@adobe.com
Date:     2011-09-15T19:08:04.587501Z

Log Message:
-----------
Add images for mobile components without running examples

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/View.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/BusyIndicator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/CalloutButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/ViewMenu.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/SplitViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/ActionBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/Callout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/ToggleSwitch.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/ToggleSwitch.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ToggleSwitch.as
@@ -111,6 +111,13 @@
  *
The ToggleSwitch control has two positions: selected and unselected.
  *  By default, the label OFF corresponds to the unselected position and ON
  *  corresponds to the selected position.

+ *
+ *
The following images shows a ToggleSwitch control.
+ *  The labels below the control show the current switch label and position:

+ *
+ *

+ *
+ *

  *
  *
Clicking anywhere in the control toggles the position.
  *  You can also slide the thumb along the track to change position.


Transferred from the Adobe Open Source Subversion Repository

Revision: 18809
Author:   egeorgie@adobe.com
Date:     2010-11-24T02:39:54.532608Z

Log Message:
-----------
Density Scaling

- Add authorDensity property to the Applicaiton
- Add DensityUtil class and DeviceDensity enum

QE notes:
Doc notes:
Bugs:
Reviewer: Glenn
Tests run: checkintests, cyclone
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/DensityUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreen.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/DeviceDensity.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Application.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreen.as
+++ frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreen.as
@@ -345,8 +345,9 @@
         var orientation:String = stage.deviceOrientation;

         // DPI scaling factor of the stage
-        // FIXME (egeorgie): get this number from the SystemManager?
-        var dpiScaling:Number = 1; //Capabilities.screenDPI >= 240 ? 1.5 : 1;
+        var dpiScale:Number = 1;
+        if (parent.parent is SystemManager)
+            dpiScale = SystemManager(parent.parent).densityScale;

         // Get stage dimensions at default orientation
         var stageWidth:Number;
@@ -354,13 +355,13 @@
         if (orientation == StageOrientation.ROTATED_LEFT ||
             orientation == StageOrientation.ROTATED_RIGHT)
         {
-            stageWidth = stage.stageHeight / dpiScaling;
-            stageHeight = stage.stageWidth / dpiScaling;
+            stageWidth = stage.stageHeight / dpiScale;
+            stageHeight = stage.stageWidth / dpiScale;
         }
         else
         {
-            stageWidth = stage.stageWidth / dpiScaling;
-            stageHeight = stage.stageHeight / dpiScaling;
+            stageWidth = stage.stageWidth / dpiScale;
+            stageHeight = stage.stageHeight / dpiScale;
         }

         // The image dimensions
@@ -429,8 +430,8 @@
             m.rotate(rotation);

         // Align center of image (0,0) to center of stage:
-        var stageWidthAfterOrientationAndDPI:Number = stage.stageWidth / dpiScaling;
-        var stageHeightAfterOrientationAndDPI:Number = stage.stageHeight / dpiScaling;
+        var stageWidthAfterOrientationAndDPI:Number = stage.stageWidth / dpiScale;
+        var stageHeightAfterOrientationAndDPI:Number = stage.stageHeight / dpiScale;
         m.translate(stageWidthAfterOrientationAndDPI / 2, stageHeightAfterOrientationAndDPI / 2);

         // Apply matrix


Transferred from the Adobe Open Source Subversion Repository

Revision: 4392
Author:   dsubrama@adobe.com
Date:     2009-01-05T19:59:33.436035Z

Log Message:
-----------
Nominal ASDoc typo fix to FxListBase.

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

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
@@ -153,9 +153,9 @@
      *
If the selected item is removed, the selected index is set to:

      *
      *

-     *
-1 if requireSelection = false
+     *
-1 if requiresSelection = false
      *     or there are no remaining items.

-     *
0 if requireSelection = true
+     *
0 if requiresSelection = true
      *     and there is at least one item.

      *

      *
@@ -200,9 +200,9 @@
      *
If the selected item is removed, the selected item is set to:

      *
      *

-     *
undefined if requireSelection = false
+     *
undefined if requiresSelection = false
      *      or there are no remaining items.

-     *
The first item if requireSelection = true
+     *
The first item if requiresSelection = true
      *      and there is at least one item.

      *

      *


Updated the Test project with the new TestAssert.as methods from the AssertCase, and also the TestAssert.as from the Turnkey project.

--- FlexUnit4Test/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestAssert.as
+++ FlexUnit4Test/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestAssert.as
@@ -1,194 +1,469 @@
-/**
- * Copyright (c) 2007 Digital Primates IT Consulting Group
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
- * copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following
- * conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- **/
-package flexUnitTests.flexUnit4.suites.frameworkSuite.cases
-{
-	import mx.collections.errors.ItemPendingError;
-
-	import org.flexunit.Assert;
-
-    /**
-     * @private
-     */
-	public class TestAssert
-	{
-		[Test(expects="mx.collections.errors.ItemPendingError")]
-	    public function fails2():void
-	    {
-            throw new ItemPendingError( null );
-	    }
-
-		[Test(expects="flexunit.framework.AssertionFailedError")]
-	    public function testFail():void
-	    {
-            Assert.fail();
-	    }
-
-		[Test(expects="flexunit.framework.AssertionFailedError")]
-	    public function testFailAssertEquals():void
-	    {
-            Assert.assertEquals( new Object(), new Object() );
-	    }
-
-	//------------------------------------------------------------------------------
-		[Test]
-	    public function testAssertEquals():void
-	    {
-	        var  o : Object = new Object();
-	        Assert.assertEquals( o, o );
-	        Assert.assertEquals( "5", 5 );
-	    }
-
-	//------------------------------------------------------------------------------
-		[Test]
-	    public function testAssertEqualsNull():void
-	    {
-	        Assert.assertEquals( null, null );
-	    }
-
-	//------------------------------------------------------------------------------
-
-		[Test(expects="flexunit.framework.AssertionFailedError")]
-	    public function testAssertNullNotEqualsString():void
-	    {
-	        Assert.assertEquals( null, "foo" );
-	    }
-
-	//------------------------------------------------------------------------------
-
-		[Test(expects="flexunit.framework.AssertionFailedError")]
-	    public function testAssertStringNotEqualsNull():void
-	    {
-            Assert.assertEquals( "foo", null );
-	    }
-
-	//------------------------------------------------------------------------------
-
-		[Test(expects="flexunit.framework.AssertionFailedError")]
-	    public function testAssertNullNotEqualsNull():void
-	    {
-			Assert.assertEquals( null, new Object() );
-	    }
-
-	//------------------------------------------------------------------------------
-
-		[Test]
-	    public function testAssertNull():void
-	    {
-			Assert.assertNull( null );
-	    }
-
-		[Test(expects="flexunit.framework.AssertionFailedError")]
-	    public function testAssertNullFail():void
-	    {
-			Assert.assertNull( new Object() );
-	    }
-
-	//------------------------------------------------------------------------------
-
-		[Test]
-	    public function testAssertNotNull():void
-	    {
-	    	Assert.assertNotNull( new Object() );
-	    }
-
-		[Test(expects="flexunit.framework.AssertionFailedError")]
-	    public function testAssertNotNullFail():void
-	    {
-	    	Assert.assertNotNull( null );
-	    }
-
-	//------------------------------------------------------------------------------
-
-		[Test]
-	    public function testAssertTrue():void
-	    {
-            Assert.assertTrue( true );
-	    }
-
-		[Test(expects="flexunit.framework.AssertionFailedError")]
-	    public function testAssertTrueFail():void
-	    {
-            Assert.assertTrue( false );
-	    }
-
-	//------------------------------------------------------------------------------
-
-		[Test]
-	    public function testAssertFalse():void
-	    {
-            Assert.assertFalse( false );
-	    }
-
-		[Test(expects="flexunit.framework.AssertionFailedError")]
-	    public function testAssertFalseFail():void
-	    {
-            Assert.assertFalse( true );
-	    }
-
-	//------------------------------------------------------------------------------
-
-	    public function testAssertStictlyEquals():void
-	    {
-	        var  o : Object = new Object();
-	        Assert.assertStrictlyEquals( o, o );
-	    }
-
-		[Test(expects="flexunit.framework.AssertionFailedError")]
-	    public function testAssertStictlyEqualsFail():void
-	    {
-            Assert.assertStrictlyEquals( "5", 5 );
-	    }
-	//------------------------------------------------------------------------------
-
-	    public function testAssertStrictlyEqualsNull():void
-	    {
-	        Assert.assertStrictlyEquals( null, null );
-	    }
-
-	//------------------------------------------------------------------------------
-
-		[Test(expects="flexunit.framework.AssertionFailedError")]
-	    public function testAssertNullNotStrictlyEqualsString():void
-	    {
-            Assert.assertStrictlyEquals( null, "foo" );
-	    }
-
-	//------------------------------------------------------------------------------
-
-		[Test(expects="flexunit.framework.AssertionFailedError")]
-	    public function testAssertStringNotStrictlyEqualsNull():void
-	    {
-            Assert.assertStrictlyEquals( "foo", null );
-	    }
-
-	//------------------------------------------------------------------------------
-
-		[Test(expects="flexunit.framework.AssertionFailedError")]
-	    public function testAssertNullNotStrictlyEqualsNull():void
-	    {
-			Assert.assertStrictlyEquals( null, new Object() );
-	    }
-	}
+/**
+ * Copyright (c) 2007 Digital Primates IT Consulting Group
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use,
+ * copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following
+ * conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ **/
+package flexUnitTests.flexUnit4.suites.frameworkSuite.cases
+{
+	import flexunit.framework.AssertionFailedError;
+
+	import mx.collections.errors.ItemPendingError;
+
+	import org.flexunit.Assert;
+
+	/**
+	 * @private
+	 */
+	public class TestAssert
+	{
+		protected var asserterCalled:int = 0;
+
+		[Test(description="Ensure that the assertWithApply function correctly runs the function with the parameter array")]
+		public function testAssertWithApply():void {
+			asserterCalled = 0;
+			Assert.assertWithApply( test, [new Object()] );
+			Assert.assertEquals( 1, asserterCalled );
+		}
+
+		[Test(description="Ensure that the assertWith function correct runs the function with the list of paramters")]
+		public function testAssertWith():void {
+			asserterCalled = 0;
+			Assert.assertWith( test, new Object() );
+			Assert.assertEquals( 1, asserterCalled );
+		}
+
+		[Test(description="Ensure that the assertionsMade property returns the correct assertCount")]
+		public function testAssertionsMade():void {
+			//Reset the fields to ensure the the count is accurate
+			Assert.resetAssertionsFields();
+			Assert.assertEquals( 0, 0 );
+			Assert.assertEquals( Assert.assertionsMade, 1 );
+		}
+
+		[Test(description="Ensure that the resetAssertionsFields function correctly resets the assertCount")]
+		public function testResetAssertionsFields():void {
+			Assert.assertEquals( 0, 0 );
+			//Ensure that the number of assertions are greater than zero
+			Assert.assertTrue( Assert.assertionsMade > 0 );
+			//Reset the assertions
+			Assert.resetAssertionsFields();
+			Assert.assertEquals( Assert.assertionsMade, 0 );
+		}
+
+		[Test(description="Ensure that the assertEquals function correctly determines if two non-strictly equal items are equal")]
+		public function testAssertEquals():void {
+			var o:Object = new Object();
+
+			Assert.assertEquals( null, null );
+			Assert.assertEquals( o, o );
+			Assert.assertEquals( 5, 5 );
+			Assert.assertEquals( "5", "5" );
+			Assert.assertEquals( 5, "5" );
+		}
+
+		[Test(description="Ensure that the assertEquals function correctly determines if two non-strictly equal items are equal when a message is provided")]
+		public function testAssertEqualsWithMessage():void {
+			Assert.assertEquals( "Assert equals fail", "5", 5 );
+		}
+
+		[Test(description="Ensure that the assertEquals function fails when two items are not equal")]
+		public function testAssertEqualsFails():void {
+			var failed:Boolean = false;
+
+			try {
+				Assert.assertEquals( 2, 4 );
+			} catch (error:AssertionFailedError) {
+				failed = true;
+				Assert.assertEquals( "expected:<2> but was:<4>", error.message );
+			}
+			if ( !failed ) {
+				Assert.fail( "Assert equals didn't fail" );
+			}
+		}
+
+		[Test(description="Ensure that the assertEquals function fails when two items are not equal and the proper passed message is displayed")]
+		public function testAssertEqualsWithMessageFails():void {
+			var message:String = "Assert equals fail";
+			var failed:Boolean = false;
+
+			try {
+				Assert.assertEquals( message, 2, 4 );
+				// if we get an error with the right message we pass
+			} catch (error:AssertionFailedError) {
+				failed = true;
+				Assert.assertEquals( message + " - expected:<2> but was:<4>", error.message );
+			}
+			if ( !failed ) {
+				Assert.fail( "Assert equals didn't fail" );
+			}
+		}
+
+		[Test(description="Ensure that the failNotEquals function correctly determines if two non-strictly equal values are equal")]
+		public function testFailNotEquals():void {
+			Assert.failNotEquals( "Failure", "5", 5 );
+		}
+
+		[Test(description="Ensure that the failNotEqula function fails when two values are not equal",
+			expects="flexunit.framework.AssertionFailedError")]
+		public function testFailNotEqualsFails():void {
+			Assert.failNotEquals( "Failure", 2, 4 );
+		}
+
+		[Test(description="Ensure that the assertStrictlyEquals function correctly determines if two values are strictly equal")]
+		public function testAssertStrictlyEquals():void {
+			var o:Object = new Object();
+			Assert.assertStrictlyEquals( o, o );
+		}
+
+		[Test(description="Ensure that the assertStrictlyEquals function correctly determines if two values are strictly equal when a message is provided")]
+		public function testAssertStrictlyEqualsWithMessage():void {
+			var o:Object = new Object();
+			Assert.assertStrictlyEquals( "Assert strictly equals fail", o, o );
+		}
+
+		[Test(description="Ensure that the assertStrictlyEquals function fails when two items are not strictly equal")]
+		public function testAssertStrictlyEqualsFails():void {
+			var failed:Boolean = false;
+
+			try {
+				Assert.assertStrictlyEquals( 5, "5" );
+			} catch (error:AssertionFailedError) {
+				failed = true;
+				Assert.assertEquals( "expected:<5> but was:<5>", error.message );
+			}
+			if ( !failed ) {
+				Assert.fail( "Assert strictly equals didn't fail" );
+			}
+		}
+
+		[Test(description="Ensure that the assertStrictlyEquals function fails when two items are not strictly euqal and the proper passed message is displayed")]
+		public function testAssertStrictlyEqualsWithMessageFails():void {
+			var message:String = "Assert strictly equals fail";
+			var failed:Boolean = false;
+
+			try {
+				Assert.assertStrictlyEquals( message, 5, "5" );
+				// if we get an error with the right message we pass
+			} catch (error:AssertionFailedError) {
+				failed = true;
+				Assert.assertEquals( message + " - expected:<5> but was:<5>", error.message );
+			}
+			if ( !failed ) {
+				Assert.fail( "Assert strictly equals didn't fail" );
+			}
+		}
+
+		[Test(description="Ensure that the failNotStrictlyEquals function correctly works when two strictly equal values are provided")]
+		public function testFailNotStrictlyEquals():void {
+			var o:Object = new Object();
+			Assert.failNotStrictlyEquals( "Assert strictly equals fail", o, o );
+		}
+
+		[Test(description="Ensure that the failNotStrictlyEquals function fails when two non-strictly equal values are provided")]
+		public function testFailNotStrictlyEqualsFails():void {
+			var failed:Boolean = false;
+			try {
+				Assert.failNotStrictlyEquals( "Assert strictly equals fail", 5, "5" );
+			} catch ( error:AssertionFailedError ) {
+				failed = true;
+				Assert.assertEquals( "Assert strictly equals fail - expected:<5> but was:<5>", error.message );
+			}
+			if ( !failed ) {
+				Assert.fail( "Assert strictly equals didn't fail" );
+			}
+		}
+
+		[Test(description="Ensure that the assertTrue fucntion correctly works when a true value is provided")]
+		public function testAssertTrue():void {
+			Assert.assertTrue( true );
+		}
+
+		[Test(description="Ensure that the assertTrue function correctly works when a true value and a message are provided")]
+		public function testAssertTrueWithMessage():void {
+			Assert.assertTrue( "Assert true fail", true );
+		}
+
+		[Test(description="Ensure that the assertTrue function fails when a false value is provided")]
+		public function testAssertTrueFails():void {
+			var failed:Boolean = false;
+
+			try {
+				Assert.assertTrue( false )
+			} catch ( error:AssertionFailedError ) {
+				failed = true;
+				Assert.assertEquals( "expected true but was false", error.message );
+			}
+			if ( !failed ) {
+				Assert.fail( "Assert true didn't fail" );
+			}
+		}
+
+		[Test(description="Ensure that the assertTrue functions fails when a false value is provided and the proper passed message is displayed")]
+		public function testAssertTrueWithMessageFails():void {
+			var message:String = "Assert true fail";
+			var failed:Boolean = false;
+
+			try {
+				Assert.assertTrue( message, false )
+				// if we get an error with the right message we pass
+			} catch ( error:AssertionFailedError ) {
+				failed = true;
+				Assert.assertEquals( message + " - expected true but was false", error.message );
+			}
+			if ( !failed ) {
+				Assert.fail( "Assert true didn't fail" );
+			}
+		}
+
+		[Test(description="Ensure that the failNotTrue function correctly works when a value of true is provided")]
+		public function testFailNotTrue():void {
+			Assert.failNotTrue( "Fail not true fail", true );
+		}
+
+		[Test(description="Ensure that the failNotTrue function fails when a value of false is provided")]
+		public function testFailNotTrueFails():void {
+			var failed:Boolean = false;
+
+			try {
+				Assert.failNotTrue( "Fail not true fail", false );
+			} catch ( error:AssertionFailedError ) {
+				failed = true;
+				Assert.assertEquals( "Fail not true fail - expected true but was false", error.message );
+			}
+			if ( !failed ) {
+				Assert.fail( "Fail not true fail didn't fail" );
+			}
+		}
+
+		[Test(description="Ensure that the assertFalse function correctly works when a value of false is provided")]
+		public function testAssertFalse():void {
+			Assert.assertFalse( false );
+		}
+
+		[Test(description="Ensure that the assertFalse function correctly works when a value of false and a message are provided")]
+		public function testAssertFalseWithMessage():void {
+			Assert.assertFalse( "Assert false fail", false );
+		}
+
+		[Test(description="Ensure that the assertFalse function fails when a value of true is provided")]
+		public function testAssertFalseFails():void {
+			var failed:Boolean = false;
+
+			try {
+				Assert.assertFalse( true )
+			} catch ( error:AssertionFailedError ) {
+				failed = true;
+				Assert.assertEquals( "expected false but was true", error.message );
+			}
+			if ( !failed ) {
+				Assert.fail( "Assert false didn't fail" );
+			}
+		}
+
+		[Test(description="Ensure that the assertFalse function fails when a value of true is provided and the proper message is displayed")]
+		public function testAssertFalseWithMessageFails():void {
+			var message:String = "Assert false fail";
+			var failed:Boolean = false;
+
+			try {
+				Assert.assertFalse( message, true )
+				// if we get an error with the right message we pass
+			} catch ( error:AssertionFailedError ) {
+				failed = true;
+				Assert.assertEquals( message + " - expected false but was true", error.message );
+			}
+			if ( !failed ) {
+				Assert.fail( "Assert false didn't fail" );
+			}
+		}
+
+		[Test(description="Ensure that the failTrue function correctly works when a value of false is provided")]
+		public function testFailTrue():void {
+			Assert.failTrue( "Fail true fail", false );
+		}
+
+		[Test(description="Ensure that the failTrue function fails when a value of true is provided")]
+		public function testFailTrueFails():void {
+			var message:String = "Fail true fail";
+			var failed:Boolean = false;
+
+			try {
+				Assert.failTrue( message, true );
+				// if we get an error with the right message we pass
+			} catch ( error:AssertionFailedError ) {
+				failed = true;
+				Assert.assertEquals( message + " - expected false but was true", error.message );
+			}
+			if ( !failed ) {
+				Assert.fail( "Fail true fail didn't fail" );
+			}
+		}
+
+		[Test(description="Ensure that the assertNull function correctly works when a value of null is provided")]
+		public function testAssertNull():void {
+			Assert.assertNull( null );
+		}
+
+		[Test(description="Ensure that the assertNull function correctly works when a value of null and a message are provided")]
+		public function testAssertNullWithMessage():void {
+			Assert.assertNull( "Assert null fail", null );
+		}
+
+		[Test(description="Ensure that the assertNull function fails when a non-null value is provided")]
+		public function testAssertNullFails():void {
+			var o:Object = new Object();
+			var failed:Boolean = false;
+
+			try {
+				Assert.assertNull( o )
+			} catch ( error:AssertionFailedError ) {
+				failed = true;
+				Assert.assertEquals( "object was not null: [object Object]", error.message );
+			}
+			if ( !failed ) {
+				Assert.fail( "Assert null didn't fail" );
+			}
+		}
+
+		[Test(description="Ensure that the assertNull functions fails when a non-null value is provided an the proper message is displayed")]
+		public function testAssertNullWithMessageFails():void {
+			var o:Object = new Object();
+			var failed:Boolean = false;
+			var message:String = "Assert null fail";
+			try {
+				Assert.assertNull( message, o )
+				// if we get an error with the right message we pass
+			} catch ( error:AssertionFailedError ) {
+				failed = true;
+				Assert.assertEquals( message + " - object was not null: [object Object]", error.message );
+			}
+			if ( !failed ) {
+				Assert.fail( "Assert null didn't fail" );
+			}
+		}
+
+		[Test(description="Ensure that the failNull function works correctly when a non-null value is provided")]
+		public function testFailNull():void {
+			var o:Object = new Object();
+			Assert.failNull( "Fail null fail", o );
+		}
+
+		[Test(description="Ensure that the failNull function fails when a null value is provided")]
+		public function testFailNullFails():void {
+			var failed:Boolean = false;
+			var message:String = "Fail null fail";
+			try {
+				Assert.failNull( message, null );
+			} catch ( error:AssertionFailedError ) {
+				failed = true;
+				Assert.assertEquals( message + " - object was null: null", error.message );
+			}
+			if ( !failed ) {
+				Assert.fail( "Fail null fail didn't fail" );
+			}
+		}
+
+		[Test(description="Ensure the the assertNotNull function correctly works when a non-null value is provided")]
+		public function testAssertNotNull():void {
+			var o:Object = new Object();
+			Assert.assertNotNull( o );
+		}
+
+		[Test(description="Ensure that the assertNotNull function correctly works when a non-null value and a message are provided")]
+		public function testAssertNotNullWithMessage():void {
+			var o:Object = new Object();
+			Assert.assertNotNull( "Assert not null fail", o );
+		}
+
+		[Test(description="Ensure that the assertNotNull function fails when a null value is provided")]
+		public function testAssertNotNullFails():void {
+			var failed:Boolean = false;
+			try {
+				Assert.assertNotNull( null )
+			} catch ( error:AssertionFailedError ) {
+				failed = true;
+				Assert.assertEquals( "object was null: null", error.message );
+			}
+			if ( !failed ) {
+				Assert.fail( "Assert not null didn't fail" );
+			}
+		}
+
+		[Test(description="Ensure that the assertNotNull function fails when a null value is provided and the proper message is displayed")]
+		public function testAssertNotNullWithMessageFails():void {
+			var failed:Boolean = false;
+			var message:String = "Assert not null fail";
+			try {
+				Assert.assertNotNull( message, null )
+				// if we get an error with the right message we pass
+			} catch ( error:AssertionFailedError ) {
+				failed = true;
+				Assert.assertEquals( message + " - object was null: null", error.message );
+			}
+			if ( !failed ) {
+				Assert.fail( "Assert not null didn't fail" );
+			}
+		}
+
+		[Test(description="Ensure that the failNotNull function works correctly when a null value is provided")]
+		public function testFailNotNull():void {
+			Assert.failNotNull( "Fail not null fail", null );
+		}
+
+		[Test(description="Ensure that the failNotNull function fails when a non-null value is provided")]
+		public function testFailNotNullFails():void {
+			var o:Object = new Object();
+			var failed:Boolean = false;
+			var message:String = "Fail not null fail";
+
+			try {
+				Assert.failNotNull( "Fail not null fail", o );
+			} catch(error:AssertionFailedError) {
+				failed = true;
+				Assert.assertEquals( message + " - object was not null: [object Object]", error.message );
+			}
+			if(!failed) {
+				Assert.fail("The failNotNull function has failed");
+			}
+		}
+
+		[Test(description="Ensure that the testFail function correctly throws an AssertionFailedError and sends the proper message")]
+		public function testFail():void {
+			var message:String = "Fail test";
+			var failed:Boolean = false;
+
+			try {
+				Assert.fail(message);
+			} catch(error:AssertionFailedError) {
+				failed = true;
+				Assert.assertEquals( message, error.message );
+			}
+			if(!failed) {
+				Assert.fail("The fail function has failed");
+			}
+		}
+
+		protected function test( obj:Object ):void {
+			asserterCalled++;
+		}
+	}
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 6609
Author:   gruehle@adobe.com
Date:     2009-05-04T22:47:31.285324Z

Log Message:
-----------
Add theme attribute to theme-specific style metadata.

Example of a halo-specific style:
[Style(name="cornerRadius", type="Number", format="Length", inherit="no", theme="halo")]

Example of a spark-specific style:
[Style(name="baseColor", type="uint", format="Color", inherit="yes", theme="spark")]

Style metadata without a theme attribute is theme-agnostic, and works with either spark or halo.

Bugs: SDK-20606

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.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/styles/metadata/FillStyles.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/flex4/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.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/flex4/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/SkinStyles.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/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BarColorStyle.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/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/flex4/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/IconColorStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/SelectedFillColorsStyle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.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/flex4/src/spark/components/SkinnableDataContainer.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/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as
@@ -38,7 +38,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="baseColor", type="uint", format="Color", inherit="yes")]
+[Style(name="baseColor", type="uint", format="Color", inherit="yes", theme="spark")]

 /**
  *  Name of the error skin class to use for this component.


Transferred from the Adobe Open Source Subversion Repository

Revision: 21594
Author:   deeptika@adobe.com
Date:     2011-07-18T11:39:38.158141Z

Log Message:
-----------
Changing the style setting mechanism in charts (moving to defaults.css) to fix memory leak in charts.
QE notes:
Doc notes:
Bugs: FLEXDMV-2626 (Views with charts not getting GC-ed)
Reviewer:
Tests run: Mustella test suite for charts - cyclone tested by QE
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/charts.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/chartClasses/ChartBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/AreaSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/BubbleChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/chartClasses/PolarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/ColumnChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/charts-4.X.0.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/GridLines.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/PieSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/PlotSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/BarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/AreaChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/HLOCSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/AxisRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/LineSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/PieChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/BubbleSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/PlotChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/ColumnSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/CandlestickChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/charts-3.0.0.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/HLOCChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/LineChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/BarSeries.as</path>

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

--- frameworks/projects/charts/src/mx/charts/series/AreaSeries.as
+++ frameworks/projects/charts/src/mx/charts/series/AreaSeries.as
@@ -41,13 +41,14 @@
 import mx.core.IDataRenderer;
 import mx.core.IFactory;
 import mx.core.IFlexDisplayObject;
+import mx.core.IFlexModuleFactory;
 import mx.core.mx_internal;
 import mx.graphics.IFill;
 import mx.graphics.IStroke;
 import mx.graphics.SolidColor;
+import mx.graphics.SolidColorStroke;
 import mx.styles.CSSStyleDeclaration;
 import mx.styles.ISimpleStyleClient;
-import mx.core.IFlexModuleFactory;

 use namespace mx_internal;

@@ -864,19 +865,12 @@
 	{
 		HaloDefaults.init(styleManager);

-		var areaSeriesStyle:CSSStyleDeclaration =
-			HaloDefaults.createSelector("mx.charts.series.AreaSeries", styleManager);
-
-		areaSeriesStyle.defaultFactory = function():void
-		{
-			this.areaRenderer = new ClassFactory(mx.charts.renderers.AreaRenderer);
-			this.adjustedRadius = 2;
-			this.legendMarkerRenderer = new ClassFactory(AreaSeriesLegendMarker);
-			this.radius = 4;
-			this.areaFill = new SolidColor(0x000000);
-			this.fills = [];
-			this.stroke = HaloDefaults.pointStroke;
-		}
+		var areaSeriesStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.series.AreaSeries");
+		areaSeriesStyle.setStyle("areaRenderer", new ClassFactory(mx.charts.renderers.AreaRenderer));
+		areaSeriesStyle.setStyle("legendMarkerRenderer", new ClassFactory(AreaSeriesLegendMarker));
+		areaSeriesStyle.setStyle("areaFill", new SolidColor(0x000000));
+		areaSeriesStyle.setStyle("fills", []);
+		areaSeriesStyle.setStyle("stroke", HaloDefaults.pointStroke);

 		return true;
 	}
@@ -1095,7 +1089,7 @@
      */
     override public function stylesInitialized():void
     {
-        _localFills = getStyle('fills');
+		_localFills = getStyle('fills');
         if (_localFills != null)
         	_fillCount = _localFills.length;
         else


FLEX-34727 changed original patch to actuall check for reset and refresh event kinds. Previous patch would have broken adding/removing nulls

--- frameworks/projects/framework/src/mx/collections/ArrayList.as
+++ frameworks/projects/framework/src/mx/collections/ArrayList.as
@@ -752,7 +752,7 @@
                 var event:CollectionEvent =
                     new CollectionEvent(CollectionEvent.COLLECTION_CHANGE);
                 event.kind = kind;
-				if(item != null)
+				if(kind != CollectionEventKind.RESET && kind != CollectionEventKind.REFRESH)
 				    event.items.push(item);
                 event.location = location;
                 dispatchEvent(event);


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

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

 package mx.collections
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package mx.logging
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/rpc/src/mx/rpc/remoting/mxml/Operation.as
+++ frameworks/projects/rpc/src/mx/rpc/remoting/mxml/Operation.as
@@ -28,6 +28,11 @@

 /**
  * The Operation used for RemoteObject when created in an MXML document.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class Operation extends mx.rpc.remoting.Operation implements IMXMLSupport
 {