Nix some warnings. One shouldn't be coped with, and so let's let it NPE.
The other happens now in normal circumstances in msoy, and I'd rather
not surround the call to super with an if to avoid this warning, and
potentially kablooie in the future if other functionality is added
to leftLocation in this base class...

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

--- src/as/com/threerings/crowd/chat/client/ChatDirector.as
+++ src/as/com/threerings/crowd/chat/client/ChatDirector.as
@@ -575,11 +575,6 @@
      */
     public function enteredLocation (place :PlaceObject) :void
     {
-        if (place == null) {
-            log.warning("enteredLocation must be passed a non-null place object!");
-            return;
-        }
-
         // nix our old location if we have one
         if (_place != null) {
             leftLocation(_place);
@@ -599,8 +594,6 @@
         if (place == _place) {
             _place.removeListener(this);
             _place = null;
-        } else {
-            log.warning("leftLocation called with unknown place?", "have", _place, "left", place);
         }
     }


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

--- frameworks/projects/framework/src/mx/collections/ISortField.as
+++ frameworks/projects/framework/src/mx/collections/ISortField.as
@@ -30,11 +30,14 @@
     //--------------------------------------------------------------------------

     /**
-     *  This helper property is used internally the findItem() and sort() methods. Other uses of this property are not
+     *  This helper property is used internally the Array.sortOn method by
+     *  the Sort class. Other uses of this property are not
      *  supported.
-     *  Returns -1 if this ISortField shouldn't be used by the Sort
-     *  class to sort the field (there is no compareFunction or no name). Otherwise, returns a bitmask of sort options..
+     *  Return -1 if this ISortField shouldn't be used by the Sort
+     *  class to sort the field.
      *
+     *
+     *
      *  @langversion 3.0
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
@@ -52,7 +55,7 @@
      *
      *
function myCompare(a:Object, b:Object):int

      *
-     *
This function returns the following values:

+     *
This function must return the following values:

      *
      *

      *
-1, if a should appear before b in
@@ -74,7 +77,7 @@
      *  Specifies whether this field should be sorted in descending
      *  order.
      *
-     *
The default value is false (ascending).

+     *
 The default value is false (ascending).

      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -173,7 +176,7 @@
      *  If the field was sorted in descending order, for example, sort it
      *  in ascending order.
      *
-     *
NOTE: An ICollectionView does not automatically
+     *
Note: an ICollectionView does not automatically
      *  update when the ISortFields are modified; call its
      *  refresh() method to update the view.

      *


Transferred from the Adobe Open Source Subversion Repository

Revision: 10050
Author:   dloverin@adobe.com
Date:     2009-09-08T14:43:16.690474Z

Log Message:
-----------
Per-Module Style Management: Create a style manager for each application/module.

The singleton StyleManager is still the only style manager that is currently used.

QE notes: None.
Doc notes: None.
Bugs:
Reviewer: Alex
Tests run: checkintests, Managers/StyleManager
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/Request.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IFlexModuleFactory.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/IModuleInfo.as</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/frameworks/projects/framework/src/mx/modules/ModuleLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ISystemManager.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/modules/ModuleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleManager2.as</path>

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

--- frameworks/projects/framework/src/mx/core/FlexModuleFactory.as
+++ frameworks/projects/framework/src/mx/core/FlexModuleFactory.as
@@ -27,7 +27,9 @@
 import flash.utils.getDefinitionByName;
 import mx.core.RSLItem;
 import mx.core.RSLListLoader;
+
 import mx.events.ModuleEvent;
+import mx.managers.SystemManagerGlobals;
 import mx.resources.IResourceManager;
 import mx.resources.ResourceManager;

@@ -292,6 +294,45 @@
         // Overridden by compiler generated code.
     }

+    /**
+     * @private
+     *  A map of fully-qualified interface names,
+     *  such as "mx.managers::IPopUpManager",
+     *  to instances,
+     */
+    private var implMap:Object = {};
+
+    /**
+     * @private
+     *  Adds an interface-name-to-implementation-class mapping to the registry,
+     *  if a class hasn't already been registered for the specified interface.
+     *  The class must implement a getInstance() method which returns
+     *  its singleton instance.
+     */
+    public function registerImplementation(interfaceName:String,
+                                           impl:Object):void
+    {
+        var c:Object = implMap[interfaceName];
+        if (!c)
+            implMap[interfaceName] = impl;
+    }
+
+    /**
+     * @private
+     *  Returns the singleton instance of the implementation class
+     *  that was registered for the specified interface,
+     *  by looking up the class in the registry
+     *  and calling its getInstance() method.
+     *
+     *  This method should not be called at static initialization time,
+     *  because the factory class may not have called registerImplementation() yet.
+     */
+    public function getImplementation(interfaceName:String):Object
+    {
+        var c:Object = implMap[interfaceName];
+        return c;
+    }
+
     //--------------------------------------------------------------------------
 	//
 	//  Methods


Transferred from the Adobe Open Source Subversion Repository

Revision: 3466
Author:   egreenfi@adobe.com
Date:     2008-10-03T04:13:46.076266Z

Log Message:
-----------
Refactored TransformOffset to reduce code and confusion.

UIComponent and GraphicElement now aggregate an AdvancedLayoutFeatures object, which is responsible for computing the
actual transform based on the layout properties and a CompoundTransform object passed in as a set of offset values.

Re-enabled updateComplete events when component transform is modified, for mustella tests.

Review: Glenn, Evtim.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/halo-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/CompoundTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/TransformOffset.as</path>

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

--- frameworks/projects/framework/src/mx/geom/CompoundTransform.as
+++ frameworks/projects/framework/src/mx/geom/CompoundTransform.as
@@ -0,0 +1,613 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-2008 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+package mx.geom
+{
+	import flash.geom.Matrix;
+	import flash.geom.Matrix3D;
+	import __AS3__.vec.Vector;
+	import flash.geom.Vector3D;
+	import flash.events.EventDispatcher;
+	import flash.events.Event;
+	import mx.core.mx_internal;
+	import mx.geom.ITransformable;
+	import mx.core.AdvancedLayoutFeatures;
+	use namespace mx_internal;
+
+	/**
+	 *  A CompoundTransform represents a 2D or 3D matrix transform. It can be used in the offsets property on a UIComponent or GraphicElement.
+	 */
+	public class CompoundTransform extends EventDispatcher implements ITransformable
+	{
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+    /**
+     *  Constructor.
+     */
+		public function CompoundTransform()
+		{
+		}
+
+
+
+    /**
+     * @private
+     * storage for transform properties. These values are concatenated together with the layout properties to
+     * form the actual computed matrix used to render the object.
+     */
+	private var _rotationX:Number = 0;
+	private var _rotationY:Number = 0;
+	private var _rotationZ:Number = 0;
+	private var _scaleX:Number = 1;
+	private var _scaleY:Number = 1;
+	private var _scaleZ:Number = 1;
+	private var _x:Number = 0;
+	private var _y:Number = 0;
+	private var _z:Number = 0;
+
+	mx_internal var transformX:Number = 0;
+	mx_internal var transformY:Number = 0;
+	mx_internal var transformZ:Number = 0;
+
+	mx_internal var dispatchChangeEvents:Boolean = true;
+
+    /**
+     * @private
+     * a flag for use by the owning object indicating whether the owning object has a pending update
+     * to its matrix.  If this is false, the CompoundTransform will notify the owning object of any changes
+     * to its transform properties. Otherwise, it assumes the owner has already taken appropriate action.
+     * it is the owner's responsibility to set this flag.
+     */
+	mx_internal var updatePending:Boolean = false;
+
+
+    /**
+     * @private
+     * slots for the 2D and 3D matrix transforms.  Note that
+     * these are only allocated and computed on demand -- many component instances will never use a 3D
+     * matrix, for example.
+     */
+	private var _matrix:Matrix;
+	private var _matrix3D:Matrix3D;
+
+
+    /**
+     * @private
+     * bit field flags for indicating which transforms are valid -- the layout properties, the matrices,
+     * and the 3D matrices.  Since developers can set any of the three programmatically, the last one set
+     * will always be valid, and the others will be invalid until validated on demand.
+     */
+	private static const MATRIX_VALID:uint		= 0x20;
+	private static const MATRIX3D_VALID:uint		= 0x40;
+	private static const PROPERTIES_VALID:uint 	= 0x80;
+
+
+    /**
+     * @private
+     * flags for tracking whether the  transform is 3D. A transform is 3D if any of the 3D properties -- rotationX/Y, scaleZ, or z -- are set.
+     */
+	private static const IS_3D:uint 				= 0x200;
+	private static const M3D_FLAGS_VALID:uint			= 0x400;
+
+    /**
+     * @private
+     * constants to indicate which form of a transform -- the properties, matrix, or matrix3D -- is
+     *  'the source of truth.'
+     */
+	mx_internal static const SOURCE_NONE:uint				= 0;
+	mx_internal static const SOURCE_PROPERTIES:uint			= 1;
+	mx_internal static const SOURCE_MATRIX:uint 			= 2;
+	mx_internal static const SOURCE_MATRIX3D:uint 			= 3;
+
+    /**
+     * @private
+     * indicates the 'source of truth' for the transform.
+     */
+	mx_internal var sourceOfTruth:uint = SOURCE_NONE;
+
+    /**
+     * @private
+     * general storage for all of ur flags.
+     */
+	private var _flags:uint =  PROPERTIES_VALID;
+
+    /**
+     * @private
+     * flags that get passed to the invalidate method indicating why the invalidation is happening.
+     */
+	private static const INVALIDATE_FROM_PROPERTY:uint = 		4;
+	private static const INVALIDATE_FROM_MATRIX:uint = 			5;
+	private static const INVALIDATE_FROM_MATRIX3D:uint = 		6;
+
+	/**
+	 * @private
+	 * static data used by utility methods below
+	 */
+	private static var decomposition:Vector.<Number> = new Vector.<Number>();
+	decomposition.push(0);
+	decomposition.push(0);
+	decomposition.push(0);
+	decomposition.push(0);
+	decomposition.push(0);
+
+	private static const RADIANS_PER_DEGREES:Number = Math.PI / 180;
+
+	//----------------------------------------------------------------------------
+
+	/**
+	 * the  x value of the transform
+	 */
+	public function set x(value:Number):void
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		if(value == _x)
+			return;
+		_x = value;
+		invalidate(INVALIDATE_FROM_PROPERTY,false);
+	}
+    /**
+     * @private
+     */
+	public function get x():Number
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		return _x;
+	}
+
+	/**
+	 * the y value of the transform
+	 */
+	public function set y(value:Number):void
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		if(value == _y)
+			return;
+		_y = value;
+		invalidate(INVALIDATE_FROM_PROPERTY,false);
+	}
+
+    /**
+     * @private
+     */
+	public function get y():Number
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		return _y;
+	}
+
+	/**
+	 * the z value of the transform
+	 */
+	public function set z(value:Number):void
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		if(value == _z)
+			return;
+		_z = value;
+		invalidate(INVALIDATE_FROM_PROPERTY,true);
+	}
+
+    /**
+     * @private
+     */
+	public function get z():Number
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		return _z;
+	}
+
+	//------------------------------------------------------------------------------
+
+
+	/**
+	 * the rotationX, in degrees, of the transform
+	 */
+	public function set rotationX(value:Number):void
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		if(value == _rotationX)
+			return;
+		_rotationX = value;
+		invalidate(INVALIDATE_FROM_PROPERTY,true);
+	}
+
+    /**
+     * @private
+     */
+	public function get rotationX():Number
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		return _rotationX;
+	}
+
+	/**
+	 * the rotationY, in degrees, of the transform
+	 */
+	public function set rotationY(value:Number):void
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		if(value == _rotationY)
+			return;
+		_rotationY = value;
+		invalidate(INVALIDATE_FROM_PROPERTY,true);
+	}
+
+    /**
+     * @private
+     */
+	public function get rotationY():Number
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		return _rotationY;
+	}
+
+	/**
+	 * the rotationZ, in degrees, of the transform
+	 */
+	public function set rotationZ(value:Number):void
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		if(value == _rotationZ)
+			return;
+		_rotationZ = value;
+		invalidate(INVALIDATE_FROM_PROPERTY,false);
+	}
+
+    /**
+     * @private
+     */
+	public function get rotationZ():Number
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		return _rotationZ;
+	}
+
+	//------------------------------------------------------------------------------
+
+
+	/**
+	 * the scaleX of the transform
+	 */
+	public function set scaleX(value:Number):void
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		if(value == _scaleX)
+			return;
+		_scaleX = value;
+		invalidate(INVALIDATE_FROM_PROPERTY,false);
+	}
+
+    /**
+     * @private
+     */
+	public function get scaleX():Number
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		return _scaleX;
+	}
+
+	/**
+	 * the scaleY of the transform
+	 */
+	public function set scaleY(value:Number):void
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		if(value == _scaleY)
+			return;
+		_scaleY = value;
+		invalidate(INVALIDATE_FROM_PROPERTY,false);
+	}
+
+    /**
+     * @private
+     */
+	public function get scaleY():Number
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		return _scaleY;
+	}
+
+
+	/**
+	 * the scaleZ of the transform
+	 */
+	public function set scaleZ(value:Number):void
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		if(value == _scaleZ)
+			return;
+		_scaleZ = value;
+		invalidate(INVALIDATE_FROM_PROPERTY,true);
+	}
+
+    /**
+     * @private
+     */
+	public function get scaleZ():Number
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		return _scaleZ;
+	}
+
+
+	/**
+	 * @private
+	 * returns true if the transform has 3D values.
+	 */
+	mx_internal function get is3D():Boolean
+	{
+		if((_flags & M3D_FLAGS_VALID) == false)
+			update3DFlags();
+		return ((_flags & IS_3D) != 0);
+	}
+
+	//------------------------------------------------------------------------------
+
+	/**
+	 * @private
+	 * invalidates our various cached values.  Any change to the CompoundTransform object that affects
+	 * the various transforms should call this function.
+     * @param reason - the code indicating what changes to cause the invalidation.
+     * @param affects3D - a flag indicating whether the change affects the 2D/3D nature of the various transforms.
+     * @param dispatchChangeEvent - if true, the CompoundTransform will dispatch a change indicating that its underlying transforms
+     * have been modified.
+  	 */
+	private function invalidate(reason:uint,affects3D:Boolean,dispatchChangeEvent:Boolean = true):void
+	{
+		//race("invalidating: " + reason);
+		switch(reason)
+		{
+			case INVALIDATE_FROM_PROPERTY:
+				sourceOfTruth = SOURCE_PROPERTIES;
+				_flags |= PROPERTIES_VALID;
+				_flags &= ~MATRIX_VALID;
+				_flags &= ~MATRIX3D_VALID;
+				break;
+			case INVALIDATE_FROM_MATRIX:
+				sourceOfTruth = SOURCE_MATRIX;
+				_flags |= MATRIX_VALID;
+				_flags &= ~PROPERTIES_VALID;
+				_flags &= ~MATRIX3D_VALID;
+				break;
+			case INVALIDATE_FROM_MATRIX3D:
+				sourceOfTruth = SOURCE_MATRIX3D;
+				_flags |= MATRIX3D_VALID;
+				_flags &= ~PROPERTIES_VALID;
+				_flags &= ~MATRIX_VALID;
+				break;
+		}
+		if(affects3D)
+			_flags &= ~M3D_FLAGS_VALID;
+
+		if(updatePending)
+		{
+			//race("\t** Aready invalid, aborting");
+			return;
+		}
+
+		if(dispatchChangeEvents && dispatchChangeEvent)
+			dispatchEvent(new Event(Event.CHANGE));
+	}
+
+	/**
+	 * @private
+	 * updates the flags that indicate whether the layout, offset, and/or computed transforms are 3D in nature.
+	 * Since the user can set either the individual transform properties or the matrices directly, we compute these
+	 * flags based on what the current 'source of truth' is for each of these values.
+  	 */
+	private function update3DFlags():void
+	{
+		if((_flags & M3D_FLAGS_VALID) == false)
+		{
+			var matrixIs3D:Boolean = false;
+
+			switch(sourceOfTruth)
+			{
+				case SOURCE_PROPERTIES:
+					matrixIs3D = ( // note that rotationZ is the same as rotation, and not a 3D affecting
+					  	_scaleZ != 1 ||  // property.
+					  	_rotationX != 0 ||
+					  	_rotationY != 0 ||
+					  	_z != 0
+					  	);
+					break;
+				case SOURCE_MATRIX:
+					matrixIs3D = false;
+					break;
+				case SOURCE_MATRIX3D:
+					matrixIs3D = true;
+					break;
+			}
+
+			if(matrixIs3D)
+				_flags |= IS_3D;
+			else
+				_flags &= ~IS_3D;
+
+			_flags |= M3D_FLAGS_VALID;
+		}
+	}
+
+
+	/**
+	 * the 2D matrix either set directly by the user, or composed by combining the transform center, scale, rotation
+	 * and translation, in that order.
+	 */
+	public function get matrix():Matrix
+	{
+
+		if(_flags & MATRIX_VALID)
+			return _matrix;
+
+		if((_flags & PROPERTIES_VALID) == false)
+			validatePropertiesFromMatrix();
+
+		var m:Matrix = _matrix;
+		if(m == null)
+			m = _matrix = new Matrix();
+		else
+			m.identity();
+
+		AdvancedLayoutFeatures.build2DMatrix(m,transformX,transformY,
+					  _scaleX,_scaleY,
+					  _rotationZ,
+					  _x,_y);
+		_flags |= MATRIX_VALID;
+		return m;
+	}
+
+	/**
+	 * @private
+	 */
+	public function set matrix(v:Matrix):void
+	{
+		if(_matrix== null)
+		{
+			_matrix = v.clone();
+		}
+		else
+		{
+			_matrix.identity();
+			_matrix.concat(v);
+		}
+		invalidate(INVALIDATE_FROM_MATRIX,false);
+	}
+
+
+
+
+
+
+
+	/**
+	 * @private
+	 * a utility function for decomposing a matrix into its component scale, rotation, and translation parts.
+	 */
+	private function decomposeMatrix(v:Vector.<Number>,m:Matrix):void
+	{
+	    // else decompose matrix.  Don't use MatrixDecompose(), it can return erronous values
+	    //   when negative scales (and therefore skews) are in use.
+	    var Ux:Number;
+	    var Uy:Number;
+	    var Vx:Number;
+	    var Vy:Number;
+
+	    Ux = m.a;
+	    Uy = m.b;
+	    v[3] = Math.sqrt(Ux*Ux + Uy*Uy);
+
+	    Vx = m.c;
+	    Vy = m.d;
+	    v[4] = Math.sqrt(Vx*Vx + Vy*Vy );
+
+	          // sign of the matrix determinant will tell us if the space is inverted by a 180 degree skew or not.
+	    var determinant:Number = Ux*Vy - Uy*Vx;
+	    if (determinant < 0) // if so, choose y-axis scale as the skewed one.  Unfortunately, its impossible to tell if it originally was the y or x axis that had the negative scale/skew.
+	    {
+	          v[4] = -(v[4]);
+	          Vx = -Vx;
+	          Vy = -Vy;
+	    }
+
+	    v[2] = Math.atan2( Uy, Ux ) / RADIANS_PER_DEGREES;
+	    v[0] = m.tx;
+	    v[1] = m.ty;
+	}
+
+	/**
+	 * @private
+	 * decomposes the offset transform matrices down into the convenience offset properties. Note that this is not
+	 * a bi-directional transformation -- it is possible to create a matrix that can't be fully represented in the
+	 * convenience properties. This function will pull from the matrix or matrix3D values, depending on which was most
+	 * recently set
+	 */
+	private function validatePropertiesFromMatrix():void
+	{
+
+	    if(sourceOfTruth == SOURCE_MATRIX3D)
+	    {
+	    	var result:Vector.<Vector3D> = _matrix3D.decompose();
+	    	_x = result[0].x;
+	    	_y = result[0].y;
+	    	_z = result[0].z;
+	    	_rotationX = result[1].x;
+	    	_rotationY = result[1].y;
+	    	_rotationZ = result[1].z;
+	    	_scaleX = result[2].x;
+	    	_scaleY = result[2].y;
+	    	_scaleZ = result[2].z;
+	    }
+	    else if(sourceOfTruth == SOURCE_MATRIX)
+	    {
+	    	decomposeMatrix(decomposition,_matrix);
+	    	_x = decomposition[0];
+	    	_y = decomposition[1];
+	    	_z = 0;
+	    	_rotationX = 0;
+	    	_rotationY = 0;
+	    	_rotationZ = decomposition[2];
+	    	_scaleX = decomposition[3];
+	    	_scaleY = decomposition[4];
+	    	_scaleZ = 1;
+	    }
+	    _flags |= PROPERTIES_VALID;
+
+	}
+
+
+
+	/**
+	 * the 3D matrix either set directly by the user, or composed by combining the transform center, scale, rotation
+	 * and translation, in that order.
+	 */
+	public function get matrix3D():Matrix3D
+	{
+		if(_flags & MATRIX3D_VALID)
+			return _matrix3D;
+
+		if((_flags & PROPERTIES_VALID) == false)
+			validatePropertiesFromMatrix();
+
+		var m:Matrix3D = _matrix3D;
+		if(m == null)
+			m =  _matrix3D = new Matrix3D();
+		else
+			m.identity();
+
+			AdvancedLayoutFeatures.build3DMatrix(m,transformX,transformY,transformZ,
+					  _scaleX,_scaleY,_scaleZ,
+					  _rotationX,_rotationY,_rotationZ,
+					  _x,_y,_z);
+		_flags |= MATRIX3D_VALID;
+		return m;
+
+	}
+
+	/**
+	 * @private
+	 */
+	public function set matrix3D(v:Matrix3D):void
+	{
+		if(_matrix3D == null)
+		{
+			_matrix3D = v.clone();
+		}
+		else
+		{
+			_matrix3D.identity();
+			_matrix3D.append(v);
+		}
+		invalidate(INVALIDATE_FROM_MATRIX3D,true);
+	}
+}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 3748
Author:   pfarland@adobe.com
Date:     2008-10-20T18:23:33.228666Z

Log Message:
-----------
2 alpha bug fixes. Removing describeType usage - despite only used once per type, it is too expensive. Restoring previous mechanism of traversing superclass definition chain, but refactoring so that we can support descendant selectors.

Also a quick fix for global id selectors.

QE: Yes
Doc: No
Checkintests: Pass
Reviewer: Corey
Bugs:
SDK-17671 - [Advanced CSS] global id selectors are broken as of build 3639
SDK-17669 - Swf start up time is slow...

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>

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

--- frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
+++ frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
@@ -14,12 +14,14 @@

 import flash.display.DisplayObject;
 import flash.display.DisplayObjectContainer;
-import flash.utils.describeType;
+import flash.system.ApplicationDomain;
+import flash.utils.getQualifiedClassName;
+import flash.utils.getQualifiedSuperclassName;

 import mx.core.ApplicationGlobals;
 import mx.core.FlexVersion;
 import mx.core.IFlexDisplayObject;
-
+import mx.core.IFlexModuleFactory;
 import mx.core.IFontContextComponent;
 import mx.core.IInvalidating;
 import mx.core.IUITextField;
@@ -121,8 +123,8 @@

         if (StyleManager.hasAdvancedSelectors() && advancedObject != null)
         {
-            // Advanced selectors may mean more than one match per type so we
-            // sort based on specificity, but preserving the declaration
+            // Advanced selectors may result in more than one match per type so
+            // we sort based on specificity, but we preserve the declaration
             // order for equal selectors.
             classDecls = sortOnSpecificity(classDecls);
         }
@@ -775,33 +777,49 @@
     }

     /**
-     *  @private
-     *  This should only be called once per type so avoiding a dependency on
-     *  DescribeTypeCache and using describeType() directly.
+     *  @private
+     *  Returns an ordered map of unqualified class names, starting with the
+     *  object's class name and then each super class name until we hit a stop
+     *  class, such as mx.core::UIComponent.
      */
     private static function getUnqualifiedTypeHierarchy(object:IStyleClient):OrderedObject
     {
-        var className:String = object.className;
+        var className:String = getQualifiedClassName(object);
         var hierarchy:OrderedObject = StyleManager.typeHierarchyCache[className];
-        if (!hierarchy)
+        if (hierarchy == null)
         {
             hierarchy = new OrderedObject();
-            hierarchy[className] = true;
-
-            var typeDescription:XML = describeType(object);
-            var superClasses:XMLList = typeDescription..extendsClass;
-            for each (var superClass:XML in superClasses)
-            {
-                var type:String = superClass.@type.toString();
-                if (isStopClass(type))
-                    break;
-
-                type = NameUtil.getUnqualifiedClassName(type);
-                hierarchy[type] = true;
-            }
+
+            var myApplicationDomain:ApplicationDomain;
+            var factory:IFlexModuleFactory = ModuleManager.getAssociatedFactory(object);
+            if (factory != null)
+            {
+                myApplicationDomain = ApplicationDomain(factory.info()["currentDomain"]);
+            }
+            else
+            {
+                var myRoot:DisplayObject = SystemManager.getSWFRoot(object);
+                if (!myRoot)
+                    return hierarchy;
+                myApplicationDomain = myRoot.loaderInfo.applicationDomain;
+            }
+
             StyleManager.typeHierarchyCache[className] = hierarchy;
-        }
-
+            while (!isStopClass(className))
+            {
+                try
+                {
+                    var type:String = NameUtil.getUnqualifiedClassName(className);
+                    hierarchy[type] = true;
+                    className = getQualifiedSuperclassName(
+                        myApplicationDomain.getDefinition(className));
+                }
+                catch(e:ReferenceError)
+                {
+                    className = null;
+                }
+            }
+        }
         return hierarchy;
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 4692
Author:   gosmith@adobe.com
Date:     2009-01-27T22:13:03.562851Z

Log Message:
-----------
Fixed missing or misplaced 'break' statements in the eventHandler() methods of the mx.accessibility classes. These have probably been causing some unintented MSAA events to be dispatched.

Also, each accessible component now dispatches OBJ_NAMECHANGE when its toolTip or errorString property changes, because the MSAA name includes the tooltip or error tip.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ColorPickerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DataGridAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DateFieldAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/SliderAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ComboBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TabBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TreeAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DateChooserAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/UIComponentAccProps.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AlertAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TitleWindowAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccordionHeaderAccImpl.as</path>

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

--- frameworks/projects/mx/src/mx/accessibility/DataGridAccImpl.as
+++ frameworks/projects/mx/src/mx/accessibility/DataGridAccImpl.as
@@ -488,6 +488,10 @@
 	 */
 	override protected function eventHandler(event:Event):void
 	{
+		// Let AccImpl class handle the events
+		// that all accessible UIComponents understand.
+		$eventHandler(event);
+
 		var dataGrid:DataGrid = DataGrid(master);

 		switch (event.type)


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/spark/src/spark/components/DataRenderer.as
+++ frameworks/projects/spark/src/spark/components/DataRenderer.as
@@ -10,7 +10,7 @@
 ////////////////////////////////////////////////////////////////////////////////

 package spark.components {
-
+
 import mx.core.IDataRenderer;
 import mx.events.FlexEvent;

@@ -36,7 +36,7 @@
  *  attributes of its superclass and adds the following tag attributes:

  *
  *

- *  <DataRenderer
+ *  <s:DataRenderer
  *    Properties
  *    data=""
  *


Transferred from the Adobe Open Source Subversion Repository

Revision: 18200
Author:   deeptika@adobe.com
Date:     2010-10-19T08:38:49.688818Z

Log Message:
-----------
Datavisualization.swc refactoring - 1

Rewritten Legend component to extend UIComponent instead of Container
Added style "labelClass" to AxisRenderer, ColumnChart, ColumnSeries, BarChart and BarSeries.
Its default value is spark.components.Label (mx.controls.Label if former is not found in the application domain)

QE notes: Legend, Column and Bar chart labeling, Axis labels needs good amount of testing. Mustella tests would fail for labels (a shift in position of labels might be there).

Doc notes: A new style "labelClass" is added for classes AxisRenderer, ColumnChart, ColumnSeries, BarChart and BarSeries

Bugs:
Reviewer:
Tests run:
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/BarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_dmv/src/mx/automation/delegates/charts/LegendAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/series/BarSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/series/items/BarSeriesItem.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/AxisRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/Legend.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/ColumnChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/series/ColumnSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/series/items/ColumnSeriesItem.as</path>

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

--- frameworks/projects/charts/src/mx/charts/series/items/BarSeriesItem.as
+++ frameworks/projects/charts/src/mx/charts/series/items/BarSeriesItem.as
@@ -15,7 +15,6 @@
 import mx.charts.ChartItem;
 import mx.charts.series.BarSeries;
 import mx.graphics.IFill;
-import mx.controls.Label;

 /**
  *  Represents the information required to render an item as part of a BarSeries. The BarSeries class passes these items to its itemRenderer when rendering.
@@ -81,7 +80,7 @@
     /**
      *  @private
      */
-    mx_internal var label:Label;
+    mx_internal var label:Object;

     /**
      *  @private


Comment out the advanced controls, they're not ready for prime-time.

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

--- src/as/com/threerings/flash/video/SimpleVideoDisplay.as
+++ src/as/com/threerings/flash/video/SimpleVideoDisplay.as
@@ -197,7 +197,8 @@

     protected function handlePlayerDuration (event :ValueEvent) :void
     {
-        _hud.addChild(_track);
+// TODO: temporarily disabled
+//        _hud.addChild(_track);
     }

     protected function handlePlayerPosition (event :ValueEvent) :void


Add Qfalse and Qtrue support to tokenizer.

--- flash/src/com/adobe/serialization/json/JSONTokenizer.as
+++ flash/src/com/adobe/serialization/json/JSONTokenizer.as
@@ -121,7 +121,7 @@

           if ( possibleTrue == "true" ) {
             token.type = JSONTokenType.TRUE;
-            token.value = true;
+            token.value = rc.Qtrue;
             nextChar();
           } else {
             parseError( "Expecting 'true' but found " + possibleTrue );
@@ -134,7 +134,7 @@

           if ( possibleFalse == "false" ) {
             token.type = JSONTokenType.FALSE;
-            token.value = false;
+            token.value = rc.Qfalse;
             nextChar();
           } else {
             parseError( "Expecting 'false' but found " + possibleFalse );


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 8
Author:   open-source-svn-admin@adobe.com
Date:     2007-12-15T01:49:31.087529Z

Log Message:
-----------
The beginning of the open-source Flex SDK.

Populated the flex/sdk/trunk directory with an open-source subset of files from //depot/flex/sdk/...@191097 in the Faramir Perforce server. This changelist is a bit past the 3.0rc0 build.

The Ant scripts will not successfully build yet. They need to be adapted to the open-source subset.

Modified Paths:
--------------
2532 paths were modified

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

--- frameworks/projects/framework/src/mx/core/IChildList.as
+++ frameworks/projects/framework/src/mx/core/IChildList.as
@@ -0,0 +1,237 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2006 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.core
+{
+
+import flash.display.DisplayObject;
+import flash.geom.Point;
+
+/**
+ *  The IChildList interface defines the properties and methods
+ *  for accessing and manipulating child lists, which are subsets
+ *  of a DisplayObjectContainer's children.
+ *
+ *
As an example, consider the Container class.
+ *  It overrides DisplayObjectContainer APIs such as the
+ *  numChildren and getChildAt() methods
+ *  to access only "content" children, which are the controls
+ *  and other containers that you put inside it.
+ *  But a Container can also have additional children
+ *  created automatically by the framework, such as a background or border
+ *  skin and scrollbars.
+ *  So Container exposes a property called rawChildren
+ *  of type IChildList, which lets you access all its children,
+ *  not just the content children.

+ *
+ *
As another example, the SystemManager class is a DisplayObjectContainer
+ *  whose children are partitioned into various layers:
+ *  normal children like the Application are on the bottom,
+ *  popups above them, tooltips above them, and cursors on the top.
+ *  The SystemManager class has properties named popUpChildren,
+ *  toolTipChildren, and cursorChildren
+ *  which let you access these layers, and the type of each of these
+ *  properties is IChildList.
+ *  Therefore, you can count the number of popups using the
+ *  systemManager.popUpChildren.numChildren property,
+ *  insert another DisplayObject into the tooltip layer using the
+ *  systemManager.toolTipChildren.addChild() method, and so on.

+ *
+ *  @see mx.core.Container#rawChildren
+ *  @see mx.managers.SystemManager#rawChildren
+ *  @see mx.managers.SystemManager#popUpChildren
+ *  @see mx.managers.SystemManager#toolTipChildren
+ *  @see mx.managers.SystemManager#cursorChildren
+ */
+public interface IChildList
+{
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  numChildren
+	//----------------------------------
+
+	/**
+	 *  The number of children in this child list.
+	 */
+	function get numChildren():int;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+     *  Adds a child DisplayObject after the end of this child list.
+     *
+	 *
Calling childList.addChild(child) is the same as calling
+	 *  childList.addChild(child, childList.numChildren)
+	 *  After it has been added, its index of the new child
+	 *  will be (child.numChildren - 1)

+     *
+     *  @param child The DisplayObject to add as a child.
+     *
+     *  @return The child that was added; this is the same
+	 *  as the argument passed in.
+     */
+	function addChild(child:DisplayObject):DisplayObject;
+
+    /**
+     *  Adds a child DisplayObject to this child list at the index specified.
+	 *  An index of 0 represents the beginning of the DisplayList,
+	 *  and an index of numChildren represents the end.
+	 *
+	 *
Adding a child anywhere except at the end of a child list
+	 *  will increment the indexes of children that were previously
+	 *  at that index or at higher indices.

+     *
+     *  @param child The DisplayObject to add as a child.
+	 *
+     *  @param index The index to add the child at.
+     *
+     *  @return The child that was added; this is the same
+	 *  as the child argument passed in.
+     */
+	function addChildAt(child:DisplayObject, index:int):DisplayObject;
+
+    /**
+     *  Removes the specified child DisplayObject from this child list.
+	 *
+	 *
Removing a child anywhere except from the end of a child list
+	 *  will decrement the indexes of children that were at higher indices.

+     *
+	 *
The removed child will have its parent set to null and will be
+	 *  garbage collected if no other references to it exist.

+     *
+     *  @param child The DisplayObject to remove.
+     *
+     *  @return The child that was removed; this is the same
+	 *  as the argument passed in.
+     */
+	function removeChild(child:DisplayObject):DisplayObject;
+
+    /**
+     *  Removes the child DisplayObject at the specified index
+	 *  from this child list.
+	 *
+	 *
Removing a child anywhere except from the end of a child list
+	 *  will decrement the indexes of children that were at higher indices.

+     *
+     *
The removed child will have its parent set to null and will be
+	 *  garbage collected if no other references to it exist.

+     *
+     *  @param index The child index of the DisplayObject to remove.
+     *
+     *  @return The child that was removed.
+     */
+	function removeChildAt(index:int):DisplayObject;
+
+	/**
+	 *  Gets the child DisplayObject at the specified index in this child list.
+	 *
+	 *  @param index An integer from 0 to (numChildren - 1)
+	 *  that specifies the index of a child in this child list.
+	 *
+	 *  @return The child at the specified index.
+	 */
+  	function getChildAt(index:int):DisplayObject;
+
+    /**
+     *  Gets the child DisplayObject with the specified name
+	 *  in this child list.
+     *
+     *  @param name The name of the child to return.
+	 *
+     *  @return The child with the specified name.
+     */
+  	function getChildByName(name:String):DisplayObject;
+
+	/**
+	 *  Gets the index of a specific child in this child list.
+	 *
+	 *
The first child in the child list has an index of 0,
+	 *  the second child has an index of 1, and the last child
+	 *  has an index of (numChildren - 1).

+	 *
+	 *
If getChildIndex(myChild) returns 5,
+	 *  then myView.getChildAt(5) returns
+	 *  myChild.

+	 *
+	 *
If you add a child by calling the addChild() method,
+	 *  the new child's index is equal to the largest index among the
+	 *  existing children plus one.

+	 *
+	 *
You can insert a child at a specified index by using the
+	 *  addChildAt() method
+	 *  In that case the children previously at that index and higher
+	 *  indices have their index increased by 1 so that all
+	 *  children are indexed from 0 to (numChildren - 1).

+	 *
+	 *
If you remove a child by calling the removeChild()
+	 *  or removeChildAt() method, then the children
+	 *  at higher indices have their index decreased by 1 so that
+	 *  all children are indexed from 0 to (numChildren - 1).

+	 *
+	 *
If you change a child's index by calling the
+	 *  setChildIndex() method, then the children between
+	 *  the old index and the new index, inclusive, have their indexes
+	 *  adjusted so that all children are indexed from
+	 *  0 to (numChildren - 1).

+	 *
+	 *  @param child The child whose index to get.
+	 *
+	 *  @return The index of the child, which is an integer
+	 *  between 0 and (numChildren - 1).
+	 */
+  	function getChildIndex(child:DisplayObject):int;
+
+	/**
+	 *  Changes the index of a particular child in this child list.
+	 *  See the getChildIndex() method for a
+	 *  description of the child's index.
+	 *
+	 *  @param child The child whose index to set.
+	 *
+	 *  @param newIndex The new index for the specified child.
+	 *  This must be an integer between zero and (numChildren - 1).
+	 */
+	function setChildIndex(child:DisplayObject, newIndex:int):void;
+
+    /**
+     *  Returns an array of DisplayObjects that lie under the specified point
+	 *  and are in this child list.
+     *
+     *  @param point The point under which to look.
+	 *
+     *  @return An array of object that lie under the specified point
+	 *  that are children of this Container.
+     */
+	function getObjectsUnderPoint(point:Point):Array;
+
+	/**
+	 *  Determines if a DisplayObject is in this child list,
+	 *  or is a descendant of an child in this child list.
+	 *
+	 *  @param child The DisplayObject to test.
+	 *
+	 *  @return true if the DisplayObject is in this child list
+	 *  or is a descendant of an child in this child list;
+	 *  false otherwise.
+	 */
+	function contains(child:DisplayObject):Boolean;
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 10317
Author:   smgilson@adobe.com
Date:     2009-09-16T19:56:03.037013Z

Log Message:
-----------
In ASDoc comment, change reference of "Flex Builder" to "Flash Builder"

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

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/rpc/src/mx/netmon/NetworkMonitor.as

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

--- frameworks/projects/rpc/src/mx/netmon/NetworkMonitor.as
+++ frameworks/projects/rpc/src/mx/netmon/NetworkMonitor.as
@@ -17,7 +17,7 @@

 /**
  *  NetworkMonitor is a stub used by the framework and enterprise service
- *  classes to send information to the Flex Builder Network Monitor feature.
+ *  classes to send information to the Flash Builder Network Monitor feature.
  *
  *  The NetworkMonitor declares a number of Impl functions which are to be
  *  filled in by a mix-in class provided by FlexBuilder.
@@ -68,7 +68,7 @@
      *  @productversion Flex 3
      */
     public static var adjustNetConnectionURLImpl:Function;
-
+
     /**
      *  To be assigned by mix-in.
      *
@@ -173,9 +173,9 @@
      */
      public static function adjustNetConnectionURL(rootUrl:String, url:String):String
      {
-    	 if (adjustNetConnectionURLImpl != null)
-    		return adjustNetConnectionURLImpl(rootUrl, url);
-    	 return null;
+         if (adjustNetConnectionURLImpl != null)
+            return adjustNetConnectionURLImpl(rootUrl, url);
+         return null;
      }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 4229
Author:   egreenfi@adobe.com
Date:     2008-12-04T00:38:26.275387Z

Log Message:
-----------
added layering support to DataGroup

DataGroup now correctly supports non-zero layers on its itemRenderers.

Also, fixed an injection from Wednesday that broke charts due to a function added to UIComponent that I seem to be overly fond of.

QA: yes.
DOC: no.
REviewer: Deepa.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.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/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -792,6 +792,7 @@
     {
         return blendMode == "normal" && (layeringMode == ITEM_ORDERED_LAYERING);
     }
+

     /**
      *  @private
@@ -841,7 +842,7 @@
         {
             keepLayeringEnabled = true;
             //topLayerItems.sortOn("layer",Array.NUMERIC);
-            sortOnLayer(topLayerItems);
+            GroupBase.mx_internal::sortOnLayer(topLayerItems);
             len = topLayerItems.length;
             for (i=0;i<len;i++)
             {
@@ -857,7 +858,7 @@
             mergeData.insertIndex = 0;

             //bottomLayerItems.sortOn("layer",Array.NUMERIC);
-            sortOnLayer(bottomLayerItems);
+            GroupBase.mx_internal::sortOnLayer(bottomLayerItems);
             len = bottomLayerItems.length;

             for (i=0;i<len;i++)
@@ -870,37 +871,7 @@
             layeringMode = ITEM_ORDERED_LAYERING;
     }

-    /**
-     *  @private
-     *
-     *  A simple insertion sort.  This works well for small lists (under 12 or so), uses
-     *  no aditional memory, and most importantly, is stable, meaning items with comparable
-     *  values will stay in the same order relative to each other. For layering, we guarantee
-     *  first the layer property, and then the item order, so a stable sort is important (and the
-     *  built in flash sort is not stable).
-     */
-    private static function sortOnLayer(a:Vector.<IVisualElement>):void
-    {
-        var len:Number = a.length;
-        var tmp:IVisualElement;
-        if (len<= 1)
-            return;
-        for (var i:int = 1;i<len;i++)
-        {
-            for (var j:int = i;j > 0;j--)
-            {
-                if ( a[j].layer < a[j-1].layer )
-                {
-                    tmp = a[j];
-                    a[j] = a[j-1];
-                    a[j-1] = tmp;
-                }
-                else
-                    break;
-            }
-        }
-    }
-
+
     /**
      *  @private
      */


Transferred from the Adobe Open Source Subversion Repository

Revision: 3198
Author:   egeorgie@adobe.com
Date:     2008-09-12T18:17:03.482048Z

Log Message:
-----------
Fix a bug in the override of the ScaleY property

Reviewed by Evtim

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

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -262,7 +262,7 @@
         if (_resizeMode == ResizeMode._SCALE_UINT)
             return 1;

-        return super.scaleX;
+        return super.scaleY;
     }

     /**
@@ -273,7 +273,7 @@
         if (_resizeMode == ResizeMode._SCALE_UINT)
             return;

-        super.scaleX = value;
+        super.scaleY = value;
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 3607
Author:   gosmith@adobe.com
Date:     2008-10-13T23:33:17.377596Z

Log Message:
-----------
TextGraphic and TextView now keep track of which TCAL formatting styles were specified on them vs. which formats were specified on their TextFlow. They do this by using the hostCharacterFormat, hostParagraphFormat, and hostContainerFormat properties of their TextFlow to store the host component's formats. Previously, both sets of formats were combined into the TextFlow's characterFormat, paragraphFormat, and containerFormat objects.

Reviewer: Deepa
Bugs: SDK-16237
QA: No
Doc: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -1,5 +1,17 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2008 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
 package mx.components
 {
+
 import flash.display.BlendMode;
 import flash.display.DisplayObject;
 import flash.events.Event;
@@ -19,6 +31,7 @@
 import mx.graphics.Graphic;
 import mx.graphics.IGraphicElement;
 import mx.graphics.graphicsClasses.GraphicElement;
+import mx.graphics.graphicsClasses.TextGraphicElement;
 import mx.components.baseClasses.GroupBase;
 import mx.controls.Label;
 import mx.core.IFactory;
@@ -29,6 +42,7 @@
 import mx.styles.IStyleClient;

 use namespace mx_internal;
+
 //--------------------------------------
 //  Events
 //--------------------------------------
@@ -737,6 +751,8 @@
             // build its protochain for use by getStyle().
             if (item is IStyleClient)
                 IStyleClient(item).regenerateStyleCache(true);
+            if (item is TextGraphicElement)
+                TextGraphicElement(item).stylesInitialized();
         }
         else
         {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 3705
Author:   mhorn@adobe.com
Date:     2008-10-17T15:24:32.617729Z

Log Message:
-----------
asdoc updates

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/MaskType.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/AdvancedParagraphFormatTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 10607
Author:   gosmith@adobe.com
Date:     2009-09-25T23:08:48.522732Z

Log Message:
-----------
Moved the 'breakOpportunity' style from BasicInheritingTextStyles.as to AdvancedInheritingTextStyles.as, so it is declared on fewer components now. As far as I can tell, it is mainly useful in rich text.

QE notes: None
Doc notes: None
Bugs: SDK-22474
Reviewer: Ryan
Tests run: ant checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/styles/metadata/AdvancedInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Label.as</path>

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

--- frameworks/projects/spark/src/spark/components/Label.as
+++ frameworks/projects/spark/src/spark/components/Label.as
@@ -544,9 +544,9 @@
 			// the y coordinate of the baseline, which is
 			// mathematically appropriate, but unintuitive.

-        s = getStyle("breakOpportunity");
-        if (s != null)
-        	elementFormat.breakOpportunity = s;
+        // Note: Label doesn't support a breakOpportunity style,
+		// so we leave elementFormat.breakOpportunity with its
+		// default value of "auto".

         elementFormat.color = getStyle("color");


Transferred from the Adobe Open Source Subversion Repository

Revision: 8131
Author:   chaase@adobe.com
Date:     2009-06-23T23:08:25.193334Z

Log Message:
-----------
Fix for 2 gumbo_priority bugs. One was a miscalculation of a Parallel effect's duration when it had zero-duration child effects, causing a problem when seeking into that parallel effect. The other was a fix to the easing model for transform effects. Now a transform effect will handle easing through its internal keyframes, preserving the behavior specified by the caller (or by the default easing behavior).

QE Notes: None. Behavior for AnimateTransform should be as before, although the way easing is applied to the subclasses has changed (and is now correct)
Doc Notes: None
Bugs: sdk-21477, sdk-21422
Reviewer: Jason
Tests: checkintests, Mustella spark/effects

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as</path>

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

--- frameworks/projects/spark/src/spark/effects/Rotate3D.as
+++ frameworks/projects/spark/src/spark/effects/Rotate3D.as
@@ -88,6 +88,7 @@
         applyLocalProjection = true;
         instanceClass = AnimateTransformInstance;
         applyChangesPostLayout = true;
+        transformEffectSubclass = true;
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 8
Author:   open-source-svn-admin@adobe.com
Date:     2007-12-15T01:49:31.087529Z

Log Message:
-----------
The beginning of the open-source Flex SDK.

Populated the flex/sdk/trunk directory with an open-source subset of files from //depot/flex/sdk/...@191097 in the Faramir Perforce server. This changelist is a bit past the 3.0rc0 build.

The Ant scripts will not successfully build yet. They need to be adapted to the open-source subset.

Modified Paths:
--------------
2532 paths were modified

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

--- frameworks/projects/framework/src/mx/collections/IViewCursor.as
+++ frameworks/projects/framework/src/mx/collections/IViewCursor.as
@@ -0,0 +1,380 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.collections
+{
+
+import flash.events.IEventDispatcher;
+
+/**
+ *  Dispatched whenever the cursor position is updated.
+ *
+ *  @eventType mx.events.FlexEvent.CURSOR_UPDATE
+ */
+[Event(name="cursorUpdate", type="mx.events.FlexEvent")]
+
+/**
+ *  Defines the interface for enumerating a collection view bi-directionally.
+ *  This cursor provides find, seek, and bookmarking capabilities along
+ *  with the modification methods insert and remove.
+ *  When a cursor is first retrieved from a view, (typically by the ICollectionView
+ *  createCursor() method) the value of the
+ *  current property should be the first
+ *  item in the view, unless the view is empty.
+ */
+public interface IViewCursor extends IEventDispatcher
+{
+    //--------------------------------------------------------------------------
+    //
+    // Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  afterLast
+    //----------------------------------
+
+    [Bindable("cursorUpdate")]
+
+    /**
+     *  If the cursor is located after the last item in the view,
+     *  this property is true .
+     *  If the ICollectionView is empty (length == 0),
+     *  this property is true.
+     */
+    function get afterLast():Boolean;
+
+    //----------------------------------
+    //  beforeFirst
+    //----------------------------------
+
+    [Bindable("cursorUpdate")]
+
+    /**
+     *  If the cursor is located before the first item in the view,
+     *  this property is true.
+     *  If the ICollectionView is empty (length == 0),
+     *  this property is true.
+     */
+    function get beforeFirst():Boolean;
+
+    //----------------------------------
+    //  bookmark
+    //----------------------------------
+
+    [Bindable("cursorUpdate")]
+
+    /**
+     *  Provides access to a bookmark that corresponds to the item
+     *  returned by the current property.
+     *  The bookmark can be used to move the cursor
+     *  to a previously visited item, or to a position relative to that item.
+     *  (See the seek() method for more information.)
+     *
+     *  @see #current
+     *  @see #seek()
+     */
+    function get bookmark():CursorBookmark;
+
+    //----------------------------------
+    //  current
+    //----------------------------------
+
+    [Bindable("cursorUpdate")]
+
+    /**
+     *  Provides access the object at the location
+     *  in the source collection referenced by this cursor.
+     *  If the cursor is beyond the ends of the collection
+     *  (beforeFirst, afterLast)
+     *  this will return null.
+     *
+     *  @see #moveNext()
+     *  @see #movePrevious()
+     *  @see #seek()
+     *  @see #beforeFirst
+     *  @see #afterLast
+     */
+    function get current():Object;
+
+    //----------------------------------
+    //  view
+    //----------------------------------
+
+    /**
+     *  A reference to the ICollectionView with which this cursor is associated.
+     */
+    function get view():ICollectionView;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Finds an item with the specified properties within the collection
+     *  and positions the cursor to that item.
+     *  If the item can not be found, the cursor location does not change.
+     *
+     *
The findAny() method can only be called on sorted views;
+     *  if the view isn't sorted, a CursorError is thrown.

+     *
+     *
If the associated collection is remote, and not all of the items
+     *  have been cached locally, this method begins an asynchronous fetch
+     *  from the remote collection. If one is already in progress, this method
+     *  waits for it to complete before making another fetch request.

+     *
+     *
If multiple items can match the search criteria then the item found
+     *  is non-deterministic.
+     *  If it is important to find the first or last occurrence of an item
+     *  in a non-unique index, use the findFirst() or
+     *  findLast() method.

+     *
+     *
The values in the parameter must be configured as name-value pairs,
+     *  as in an associative array (or be the actual object to search for).
+     *  The values of the names specified must match properties
+     *  specified in the sort.
+     *  For example, if properties x, y, and
+     *  z are in the current sort, the values specified should be
+     *  {x: x-value, y: y-value, z: z-value}.

+     *
+     *
When all of the data is local this method returns
+     *  true if the item can be found and false
+     *  otherwise.
+     *  If the data is not local and an asynchronous operation must be
+     *  performed, an ItemPendingError is thrown.

+     *
+     *  @see #findFirst()
+     *  @see #findLast()
+     *  @see mx.collections.errors.ItemPendingError
+     */
+    function findAny(values:Object):Boolean;
+
+    /**
+     *  Finds the first item with the specified properties within the collection
+     *  and positions the cursor to that item.
+     *  If the item can not be found, no cursor location does not change.
+     *
+     *
The findFirst() method can only be called on sorted views;
+     *  if the view isn't sorted, a CursorError is thrown.

+     *
+     *
If the associated collection is remote, and not all of the items
+     *  have been cached locally, this method begins an asynchronous fetch
+     *  from the remote collection. If one is already in progress, this method
+     *  waits for it to complete before making another fetch request.

+     *
+     *
If it is not important to find the first occurrence of an item
+     *  in a non-unique index, use findAny(), which may be
+     *  a little faster than the findFirst() method.

+     *
+     *
The values specified must be configured as name-value pairs,
+     *  as in an associative array (or be the actual object to search for).
+     *  The values of the names specified must match properties
+     *  specified in the sort.
+     *  For example, if properties x, y, and
+     *  z are in the current sort, the values specified should be
+     *  {x: x-value, y: y-value, z: z-value}.

+     *
+     *
When all of the data is local this method returns
+     *  true if the item can be found and false
+     *  otherwise.
+     *  If the data is not local and an asynchronous operation must be
+     *  performed, an ItemPendingError is thrown.

+     *
+     *  @see #findAny()
+     *  @see #findLast()
+     *  @see mx.collections.errors.ItemPendingError
+     */
+    function findFirst(values:Object):Boolean;
+
+    /**
+     *  Finds the last item with the specified properties within the collection
+     *  and positions the cursor on that item.
+     *  If the item can not be found, the cursor location does not chanage.
+     *
+     *
The findLast() method can only be called on sorted views;
+     *  if the view isn't sorted, a CursorError is thrown.

+     *
+     *
If the associated collection is remote, and not all of the items
+     *  have been cached locally, this method begins an asynchronous fetch
+     *  from the remote collection. If one is already in progress, this method
+     *  waits for it to complete before making another fetch request.

+     *
+     *
If it is not important to find the last occurrence of an item
+     *  in a non-unique index, use the findAny() method, which
+     *  may be a little faster.

+     *
+     *
The values specified must be configured as name-value pairs,
+     *  as in an associative array (or be the actual object to search for).
+     *  The values of the names specified must match properties
+     *  specified in the sort.
+     *  For example, if properties x, y, and
+     *  z are in the current sort, the values specified should be
+     *  {x: x-value, y: y-value, z: z-value}.

+     *
+     *
When all of the data is local this method returns
+     *  true if the item can be found and false
+     *  otherwise.
+     *  If the data is not local and an asynchronous operation must be
+     *  performed, an ItemPendingError is thrown.

+     *
+     *  @see #findAny()
+     *  @see #findFirst()
+     *  @see mx.collections.errors.ItemPendingError
+     */
+    function findLast(values:Object):Boolean;
+
+    /**
+     *  Inserts the specified item before the cursor's current position.
+     *  If the cursor is afterLast,
+     *  the insertion occurs at the end of the view.
+     *  If the cursor is beforeFirst on a non-empty view,
+     *  an error is thrown.
+     */
+    function insert(item:Object):void;
+
+    /**
+     *  Moves the cursor to the next item within the collection.
+     *  On success the current property is updated
+     *  to reference the object at this new location.
+     *  Returns true if the resulting current
+     *  property is valid, or false if not
+     *  (the property value is afterLast).
+     *
+     *
If the data is not local and an asynchronous operation must be performed,
+     *  an ItemPendingError is thrown.
+     *  See the ItemPendingError documentation and  the collections
+     *  documentation for more information on using the ItemPendingError.

+     *
+     *  @return true if still in the list,
+     *  false if the current value initially was
+     *  or now is afterLast.
+     *
+     *  @see #current
+     *  @see #movePrevious()
+     *  @see mx.collections.errors.ItemPendingError
+     *
+     *  @example
+     *

+     *  var myArrayCollection:ICollectionView = new ArrayCollection([ "Bobby", "Mark", "Trevor", "Jacey", "Tyler" ]);
+     *  var cursor:IViewCursor = myArrayCollection.createCursor();
+     *  while (!cursor.afterLast)
+     *  {
+     *      trace(cursor.current);
+     *      cursor.moveNext();
+     *  }
+     *

+     */
+    function moveNext():Boolean;
+
+    /**
+     *  Moves the cursor to the previous item within the collection.
+     *  On success the current property is updated
+     *  to reference the object at this new location.
+     *  Returns true if the resulting current
+     *  property is valid, or false if not
+     *  (the property value is beforeFirst).
+     *
+     *
If the data is not local and an asynchronous operation must be performed,
+     *  an ItemPendingError is thrown.
+     *  See the ItemPendingError documentation and the collections
+     *  documentation for more information on using the ItemPendingError.

+     *
+     *  @return true if still in the list,
+     *  false if the current value initially was or
+     *  now is beforeFirst.
+     *
+     *  @see #current
+     *  @see #moveNext()
+     *  @see mx.collections.errors.ItemPendingError
+     *
+     *  @example
+     *

+     *  var myArrayCollection:ICollectionView = new ArrayCollection([ "Bobby", "Mark", "Trevor", "Jacey", "Tyler" ]);
+     *  var cursor:ICursor = myArrayCollection.createCursor();
+     *  cursor.seek(CursorBookmark.last);
+     *  while (!cursor.beforeFirst)
+     *  {
+     *      trace(current);
+     *      cursor.movePrevious();
+     *  }
+     *

+     */
+    function movePrevious():Boolean;
+
+    /**
+     *  Removes the current item and returns it.
+     *  If the cursor location is beforeFirst or
+     *  afterLast, throws a CursorError.
+     *  If you remove any item other than the last item,
+     *  the cursor moves to the next item. If you remove the last item, the
+     *  cursor is at the AFTER_LAST bookmark.
+     *
+     *
+     *
If the item after the removed item is not local and an asynchronous
+     *  operation must be performed, an ItemPendingError is thrown.
+     *  See the ItemPendingError documentation and the collections
+     *  documentation  for more information on using the ItemPendingError.

+     *
+     *  @see mx.collections.errors.ItemPendingError
+     */
+    function remove():Object;
+
+    /**
+     *  Moves the cursor to a location at an offset from the specified
+     *  bookmark.
+     *  The offset can be negative, in which case the cursor is positioned
+     *  an offset number of items prior to the specified bookmark.
+     *
+     *
If the associated collection is remote, and not all of the items
+     *  have been cached locally, this method begins an asynchronous fetch
+     *  from the remote collection.

+     *
+     *
If the data is not local and an asynchronous operation
+     *  must be performed, an ItemPendingError is thrown.
+     *  See the ItemPendingError documentation and the collections
+     *  documentation for more information on using the ItemPendingError.

+     *
+     *  @param bookmark CursorBookmark reference to marker
+     *  information that allows repositioning to a specific location.
+     *  You can set this parameter to value returned from the
+     *  bookmark property, or to one of the following constant
+     *  bookmark values:
+     *

+     *
CursorBookmark.FIRST -
+     *    Seek from the start (first element) of the collection

+     *
CursorBookmark.CURRENT -
+     *    Seek from the current position in the collection

+     *
CursorBookmark.LAST -
+     *    Seek from the end (last element) of the collection

+     *

+     *
+     *  @param offset Indicates how far from the specified bookmark to seek.
+     *  If the specified number is negative, the cursor attempts to
+     *  move prior to the specified bookmark.
+     *  If the offset specified is beyond the end of the collection,
+     *  the cursor is be positioned off the end, to the
+     *  beforeFirst or afterLast location.
+     *
+     *  @param prefetch Used for remote data. Indicates an intent to iterate
+     *  in a specific direction once the seek operation completes.
+     *  This reduces the number of required network round trips during a seek.
+     *  If the iteration direction is known at the time of the request,
+     *  the appropriate amount of data can be returned ahead of the request
+     *  to iterate it.
+     *
+     *  @see mx.collections.errors.ItemPendingError
+    */
+    function seek(bookmark:CursorBookmark, offset:int = 0, prefetch:int = 0):void;
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 6957
Author:   jimurphy@adobe.com
Date:     2009-05-15T16:11:59.737851Z

Log Message:
-----------
Merged beta1 revisions 6898,6906,6913,6915,6917,6926,6930 -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/ImageHelper.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VRule.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/flash-integration/FlexComponentKit.mxp</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/fxg/swf/FXG2SWFTranscoder.java</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/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/ShapeHelper.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</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/HRule.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/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/filters/GlowFilterNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/FlexComponentKit.mxi</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/TypeHelper.java</path>

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

--- frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as
+++ frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as
@@ -618,12 +618,12 @@
         _selectors[selector] = styleDeclaration;

         // We also index by subject to help match advanced selectors
-        var subject:String = styleDeclaration.subject;
-        if (!subject && selector)
+        if (!styleDeclaration.subject && selector)
         {
             styleDeclaration.selectorString = selector;
         }

+		var subject:String = styleDeclaration.subject;
         if (subject != null)
         {
             var declarations:Array = _subjects[subject] as Array;


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 13208
Author:   chaase@adobe.com
Date:     2009-12-23T21:49:14.524642Z

Log Message:
-----------
Dealt with my FIXMEs in the code. Some went away (no longer issues), some became TODOs (still issues, but nothing that we have to solve in this release), a couple were actually resolved in this change (like the bug filed/fixed: 24848).

QE notes: 10 failures in Mustella of tests that need to be changed. They're excluded for now and QE has local fixes.
Doc notes: None
Bugs: SDK-24848
Reviewer: Jason
Tests run: checkintests, Mustella (spark/effects, mx/effects)
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/CompositeEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/PropertyChanges.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Timeline.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/MoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SequenceInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectTargetFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/RemoveAction.as</path>

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

--- frameworks/projects/spark/src/spark/effects/AnimateTransform.as
+++ frameworks/projects/spark/src/spark/effects/AnimateTransform.as
@@ -132,17 +132,14 @@
          "postLayoutRotationX","postLayoutRotationY","postLayoutRotationZ",
          "postLayoutScaleX","postLayoutScaleY","postLayoutScaleZ",
          "left", "right", "top", "bottom",
-         "horizontalCenter", "verticalCenter",
+         "horizontalCenter", "verticalCenter", "baseline",
          "width", "height"];

-    // FIXME (chaase): We probably need to advertise percentWidth/Height
-    // in the affected properties/styles arrays; we don't pick these up
-    // in the transition propertyChanges automatically otherwise
     /**
      *  @private
      */
     private static var RELEVANT_STYLES:Array =
-        ["left", "right", "top", "bottom", "horizontalCenter", "verticalCenter"];
+        ["left", "right", "top", "bottom", "horizontalCenter", "verticalCenter", "baseline"];

     //--------------------------------------------------------------------------
     //
@@ -186,7 +183,7 @@
     // described in the comment for linearEaser above.
     mx_internal var transformEffectSubclass:Boolean = false;

-    // FIXME (chaase): consider putting the three per-target maps into one
+    // TODO (chaase): consider putting the three per-target maps into one
     // single structure
     /**
      * @private
@@ -508,7 +505,7 @@
                     valueMap.translationY === undefined ||
                     valueMap.translationZ === undefined)
                 {
-                    // FIXME (chaase): do we really need this?
+                    // TODO (chaase): do we really need this?
                     propChanges[i].stripUnchangedValues = false;

                     target.transformPointToParent(computedTransformCenter, xformPosition,
@@ -546,7 +543,7 @@
                         valueMap.postLayoutTranslationY === undefined ||
                         valueMap.postLayoutTranslationZ === undefined)
                     {
-                        // FIXME (chaase): do we really need this?
+                        // TODO (chaase): do we really need this?
                         propChanges[i].stripUnchangedValues = false;

                         target.transformPointToParent(computedTransformCenter, null,
@@ -952,7 +949,7 @@
         motionPaths.push(mp);
     }

-    // FIXME (chaase): This function appears in multiple places. Maybe
+    // TODO (chaase): This function appears in multiple places. Maybe
     // put it in some util class instead?
     /**
      * @private


Fixed comment

Fixed comment

--- src/com/zehfernando/input/binding/GamepadControls.as
+++ src/com/zehfernando/input/binding/GamepadControls.as
@@ -161,7 +161,7 @@
 		/* Select button
 		 *
 		 *
Style: digital

-		 *
Works in: Windows (Playstation DS3, OUYA (Playstation DS3)

+		 *
Works in: Windows (Generic Gamepad), OUYA (Playstation DS3)

 		 *
Possible values: 0 (at rest) to 1 (pressed)

 		 */
 		public static const SELECT:String = "meta_select";


Removed trace since logger should be used.

--- src/org/jivesoftware/xiff/core/XMPPBOSHConnection.as
+++ src/org/jivesoftware/xiff/core/XMPPBOSHConnection.as
@@ -301,9 +301,8 @@
 	        request.addEventListener(ResultEvent.RESULT, responseCallback.call, false);
 	        request.addEventListener(FaultEvent.FAULT, errorCallback.call, false);

-	       trace(data);
-	       if(logger)
-	       	logger.log(data, "OUTGOING");
+	       	if(logger)
+	       		logger.log(data, "OUTGOING");

 			request.send(data);