Can set visibility of the wireframe debug controller

--- src/aerys/minko/scene/controller/debug/WireframeDebugController.as
+++ src/aerys/minko/scene/controller/debug/WireframeDebugController.as
@@ -18,11 +18,25 @@
 		private var _wireframeMaterial	: LineMaterial;
 		private var _targetToWireframe	: Dictionary	= new Dictionary();
 		private var _geometryToMesh		: Dictionary 	= new Dictionary();
+		private var _visible 			: Boolean 		= true;

 		public function get material() : LineMaterial
 		{
 			return _wireframeMaterial
 				|| (_wireframeMaterial = new LineMaterial({diffuseColor : 0xffffffff, lineThickness	: 1.}));
+		}
+
+		public function set visible(value : Boolean) : void
+		{
+			_visible = value;
+
+			for each (var wireframe : Mesh in _targetToWireframe)
+				wireframe.visible = value;
+		}
+
+		public function get visible() : Boolean
+		{
+			return _visible;
 		}

 		public function WireframeDebugController()
@@ -68,6 +82,7 @@
 			}

 			var lines		: Mesh				= new Mesh(linesGeom, this.material);
+			lines.visible 	= _visible;
 			_targetToWireframe[target] = lines;

 			target.localToWorldTransformChanged.add(updateTransform);
@@ -79,7 +94,10 @@
 		{
 			var lineMesh : Mesh = _targetToWireframe[child];

-			lineMesh.transform.copyFrom(childLocalToWorld);
+			if (lineMesh == null)
+				child.localToWorldTransformChanged.remove(updateTransform);
+			else
+				lineMesh.transform.copyFrom(childLocalToWorld);
 		}

 		private function removeWireframes(target : Mesh) : void
@@ -101,8 +119,12 @@

 		private function removedHandler(target : Mesh, ancestor : Group) : void
 		{
-
 			removeWireframes(target);
+		}
+
+		override public function clone():AbstractController
+		{
+			return null;
 		}
 	}
 }


Revised version number of core in preparation for release

--- FlexUnit4/src/org/flexunit/runner/FlexUnitCore.as
+++ FlexUnit4/src/org/flexunit/runner/FlexUnitCore.as
@@ -144,7 +144,7 @@
 		 * Returns the version number.
 		 */
 		public static function get version():String {
-			return "4.1.0.0b3";
+			return "4.1.0.0rc1";
 		}


Added speed parameter to ArcBallController

--- src/aerys/minko/scene/controller/camera/ArcBallController.as
+++ src/aerys/minko/scene/controller/camera/ArcBallController.as
@@ -47,13 +47,25 @@

 		private var _inertia			: Number	= 1.0;
 		private var _interpolationSpeed	: Number	= 1;
-
+		private var _speed				: Number	= 1;
+
+		public function get speed() : Number
+		{
+			return _speed;
+		}
+
+		public function set speed(value : Number) : void
+		{
+			_speed = value;
+			_update = true;
+		}
+
 		public function get inertia() : Number
 		{
 			return _inertia;
 		}

-		public function set inertia(value : Number):void
+		public function set inertia(value : Number) : void
 		{
 			_inertia = value;
 		}
@@ -63,7 +75,7 @@
 			return _interpolationSpeed;
 		}

-		public function set interpolationSpeed(value : Number):void
+		public function set interpolationSpeed(value : Number) : void
 		{
 			_interpolationSpeed = value;
 		}
@@ -279,9 +291,9 @@
 				}

 				_position.set(
-					_lookAt.x + _distance * Math.cos(_yaw) * Math.sin(_pitch),
-					_lookAt.y + _distance * Math.cos(_pitch),
-					_lookAt.z + _distance * Math.sin(_yaw) * Math.sin(_pitch)
+					_speed * (_lookAt.x + _distance * Math.cos(_yaw) * Math.sin(_pitch)),
+					_speed * (_lookAt.y + _distance * Math.cos(_pitch)),
+					_speed * (_lookAt.z + _distance * Math.sin(_yaw) * Math.sin(_pitch))
 				);
 				TMP_MATRIX.lookAt(_lookAt, _position, _up);

@@ -305,7 +317,7 @@
 			if (e.buttonDown && _enabled)
 			{
 				_newYaw		+= (_mousePosition.x - e.stageX) * _yawStep;
-				_newPitch		+= (_mousePosition.y - e.stageY) * _pitchStep;
+				_newPitch	+= (_mousePosition.y - e.stageY) * _pitchStep;

 				_update = true;
 			}


Transferred from the Adobe Open Source Subversion Repository

Revision: 19797
Author:   klin@adobe.com
Date:     2011-01-19T00:06:54.932970Z

Log Message:
-----------
Initial checkin of override default density mapping feature. Application and other classes delegate calculating runtimeDPI to a RuntimeDPIProvider class. Developers that wish to override how the runtimeDPI is calculated should subclass RuntimeDPIProvider and set it to the runtimeDPIProvider property on Application. Application actually calls DensityUtil.getRuntimeDPI() which creates the instance of the runtimeDPIProvider class and caches the runtimeDPI. I've also modified the compiler so that runtimeDPIProvider is recognized as a special attribute on Application. This checkin includes the PARB updates for changing DPI related properties and variables from ints to Numbers.

QE notes: Update tests
Doc notes: N/A
Bugs: SDK-28731
Reviewer: Evtim
Tests run: checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/compiler/mxml/builder/DocumentBuilder.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/DensityUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/compiler_en.properties</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/DPIClassification.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/BusyIndicator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/MediaQueryParser.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/RuntimeDPIProvider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/utils/MultiDPIBitmapSource.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderDataTip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/primitives/BitmapImage.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/IconItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Application.as</path>

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

--- frameworks/projects/framework/src/mx/core/DPIClassification.as
+++ frameworks/projects/framework/src/mx/core/DPIClassification.as
@@ -25,16 +25,16 @@
     /**
      *  Density value for low-density devices.
      */
-    public static const DPI_160:int = 160;
+    public static const DPI_160:Number = 160;

     /**
      *  Density value for medium-density devices.
      */
-    public static const DPI_240:int = 240;
+    public static const DPI_240:Number = 240;

     /**
      *  Density value for high-density devices.
      */
-    public static const DPI_320:int = 320;
+    public static const DPI_320:Number = 320;
 }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 3925
Author:   jimurphy@adobe.com
Date:     2008-10-28T15:28:25.006190Z

Log Message:
-----------
Merged gumbo_alpha revisions 3857-3860,3870,3872,3874-3876,3881,3884,3886,3889,3891,3893,3895,3908,3912 -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxRotateEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/TransformOffsets.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxFadeEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/CubicBezierSegment.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/skins/spark/FxFocusSkin.as" copyfrom-rev="3895" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxFocusSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxVSliderExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/LineSegment.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java</path>
<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/flex4/src/mx/effects/effectClasses/FxFadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxFade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxListExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxMoveEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/PathSegment.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/geom/CompoundTransform.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/libs/textLayout_conversion.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxAnimateColorEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/textLayout_core.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxAnimateEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxCheckBoxExample.mxml</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/DataGroupExample.mxml" copyfrom-rev="3895" action="A">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/DataGroupExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flash/css/StyleDeclaration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/GroupExample.mxml" copyfrom-rev="3895" action="A">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/GroupExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxSpinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/QuadraticBezierSegment.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxNumericStepperExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxResizeEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxRotateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxRotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/Flex4Classes.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxButtonExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxResize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxToggleButtonExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxSpinnerExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/PropertyValuesHolder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxMoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/textLayout_edit.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/TextViewExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxMove.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxHSliderExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/framework/src/mx/geom/CompoundTransform.as
+++ frameworks/projects/framework/src/mx/geom/CompoundTransform.as
@@ -20,7 +20,8 @@
 	import flash.geom.Point;

 	/**
-	 *  A CompoundTransform represents a 2D or 3D matrix transform. It can be used in the offsets property on a UIComponent or GraphicElement.
+	 *  A CompoundTransform represents a 2D or 3D matrix transform.  A compound transform represents a matrix that can be queried or set either as a 2D matrix,
+	 *  a 3D matrix, or as individual convenience transform properties such as x, y, scaleX, rotationZ, etc.
 	 */
 	public class CompoundTransform
 	{
@@ -377,8 +378,7 @@

 	//------------------------------------------------------------------------------
 	/**
-	 * @private
-	 * the transformX of the transform
+	 * the x value of the tansform center.  The transform center is kept fixed as rotation and scale are applied.
 	 */
 	public function set transformX(value:Number):void
 	{
@@ -399,8 +399,7 @@

 	//------------------------------------------------------------------------------
 	/**
-	 * @private
-	 * the transformY of the transform
+	 * the y value of the tansform center.  The transform center is kept fixed as rotation and scale are applied.
 	 */
 	public function set transformY(value:Number):void
 	{
@@ -420,8 +419,7 @@
 	}
 	//------------------------------------------------------------------------------
 	/**
-	 * @private
-	 * the transformZ of the transform
+	 * the z value of the tansform center.  The transform center is kept fixed as rotation and scale are applied.
 	 */
 	public function set transformZ(value:Number):void
 	{
@@ -521,6 +519,9 @@
 	}

+	/** applies the delta to the transforms translation component. Unlike setting the x/y/z properties directly,.
+	 * this method can be safely called without changing the transform's concept of 'the source of truth.'
+	*/
 	public function translateBy(x:Number,y:Number,z:Number = 0):void
 	{
 		if(_flags & MATRIX_VALID)


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package mx.managers
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 2557
Author:   jimurphy@adobe.com
Date:     2008-07-22T14:15:44.500232Z

Log Message:
-----------
Merge 3.0.x revisions [2544,2546,2551] -> trunk

Modified Paths:
--------------
<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/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Tile.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormHeading.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>

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

--- frameworks/projects/framework/src/mx/managers/SystemManager.as
+++ frameworks/projects/framework/src/mx/managers/SystemManager.as
@@ -1320,7 +1320,8 @@
 			return;
 		}

-		if (type == MouseEvent.MOUSE_MOVE || type == MouseEvent.MOUSE_UP || type == MouseEvent.MOUSE_DOWN)
+		if (type == MouseEvent.MOUSE_MOVE || type == MouseEvent.MOUSE_UP || type == MouseEvent.MOUSE_DOWN
+				|| type == Event.ACTIVATE || type == Event.DEACTIVATE)
 		{
 			// also listen to stage if allowed
 			try
@@ -1416,7 +1417,8 @@
 			return;
 		}

-		if (type == MouseEvent.MOUSE_MOVE || type == MouseEvent.MOUSE_UP || type == MouseEvent.MOUSE_DOWN)
+		if (type == MouseEvent.MOUSE_MOVE || type == MouseEvent.MOUSE_UP || type == MouseEvent.MOUSE_DOWN
+				|| type == Event.ACTIVATE || type == Event.DEACTIVATE)
 		{
 			// also listen to stage if allowed
 			try
@@ -4810,6 +4812,9 @@
 		var marshaledEvent:Event = MarshalMouseEvent.marshal(event);
 		dispatchEventToSandboxes(marshaledEvent, event.target as IEventDispatcher);

+		// ask the sandbox root if it was the original dispatcher of this event
+		// if it was then don't dispatch to ourselves because we could have
+		// got this event by listening to sandboxRoot ourselves.
 		var me:MarshalEvent = new MarshalEvent(MarshalEvent.SYSTEM_MANAGER);
 		me.name = "sameSandbox";
 		me.value = event;
@@ -4934,7 +4939,7 @@
 		this.listener = listener;
 	}

-	public function stageListener(event:MouseEvent):void
+	public function stageListener(event:Event):void
 	{
 		if (event.target is Stage)
 			listener(event);


Transferred from the Adobe Open Source Subversion Repository

Revision: 11379
Author:   aharui@adobe.com
Date:     2009-11-02T21:08:24.176200Z

Log Message:
-----------
Tweak svn 11319.  Now only Application will invalidate the SystemManager (popups and tooltips won't).  SystemManager will not dispatch a RESIZE unless its size actually did change.

QE Notes: None
Doc Notes: None
Bugs: SDK-23968
Reviewer: Darrell
API Change: no
Is noteworthy for integration: No
tests: checkintests mustella/MarshallPlan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.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/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/framework/src/mx/managers/SystemManager.as
+++ frameworks/projects/framework/src/mx/managers/SystemManager.as
@@ -2146,17 +2146,20 @@
 	{
 		if (isStageRoot) return;

-		_width = newWidth;
-		_height = newHeight;
-
-		// mouseCatcher is a mask if not stage root
-		if (mouseCatcher)
-		{
-			mouseCatcher.width = newWidth;
-			mouseCatcher.height = newHeight;
-		}
-
-		dispatchEvent(new Event(Event.RESIZE));
+        if (_width != newWidth || _height != newHeight)
+        {
+		    _width = newWidth;
+		    _height = newHeight;
+
+		    // mouseCatcher is a mask if not stage root
+		    if (mouseCatcher)
+		    {
+			    mouseCatcher.width = newWidth;
+			    mouseCatcher.height = newHeight;
+		    }
+
+		    dispatchEvent(new Event(Event.RESIZE));
+        }
 	}


Transferred from the Adobe Open Source Subversion Repository

Revision: 9427
Author:   egeorgie@adobe.com
Date:     2009-08-20T20:04:22.377902Z

Log Message:
-----------
Update the DragManagerImpl.as to support scaled/transformed lists.

QE notes: Add a test for dragging from a scaled List.
Doc notes: None
Bugs: None
Reviewer: Glenn, Jason
Tests run: checkintests, mustella (managers/DragManager)
Is noteworthy for integration: No

Modified Paths:
--------------
<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/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as</path>

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

--- frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
+++ frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
@@ -30,6 +30,7 @@
 import flash.utils.clearInterval;
 import flash.utils.getTimer;
 import flash.utils.setInterval;
+
 import mx.collections.ArrayCollection;
 import mx.collections.CursorBookmark;
 import mx.collections.ICollectionView;
@@ -71,8 +72,9 @@
 import mx.events.EffectEvent;
 import mx.events.FlexEvent;
 import mx.events.ListEvent;
+import mx.events.MoveEvent;
+import mx.events.PropertyChangeEvent;
 import mx.events.SandboxMouseEvent;
-import mx.events.PropertyChangeEvent;
 import mx.events.ScrollEvent;
 import mx.events.ScrollEventDetail;
 import mx.events.ScrollEventDirection;
@@ -82,10 +84,9 @@
 import mx.managers.ISystemManager;
 import mx.skins.halo.ListDropIndicator;
 import mx.styles.StyleManager;
+import mx.styles.StyleProxy;
 import mx.utils.ObjectUtil;
 import mx.utils.UIDUtil;
-import mx.events.MoveEvent;
-import mx.styles.StyleProxy;

 use namespace mx_internal;


Transferred from the Adobe Open Source Subversion Repository

Revision: 16262
Author:   dloverin@adobe.com
Date:     2010-05-20T18:44:39.210129Z

Log Message:
-----------
Move mx components out of framework.swc into mx.swc

The new mx.swc library lives in the libs/mx directory.

QE notes: Of the 5 failures I saw: 1 was intermittent and 4 are not a bug.
Managers/StyleManager/AdvancedCSS/descendantSelectors/AdvancedCSS_descendantSelectors_Style descendantSelector_combining_nested_style
    This failure was intermittent.

mx/effects/Resize/Containers/Resize_Containers Effects_Resize_Containers_ApplicationControlBar_FromTo
mx/effects/Resize/Containers/Resize_Containers Effects_Resize_Containers_ApplicationControlBar_By
mx/effects/Resize/Containers/Resize_Containers Effects_Resize_Containers_ControlBar_FromTo
mx/effects/Resize/Containers/Resize_Containers Effects_Resize_Containers_ControlBar_By
    These failures are due to my code changes but I believe the old behavior was incorrect. When a control bar is the last child in a Panel it should appear at the bottom of the Panel. In the test case an ApplicationControlBar/ContorlBar is added to an empty Panel, making it the last child in the Panel. So it should appear at the bottom of the Panel instead of inside the Panel.

Doc notes: new library, mx.swc
Bugs:
Reviewer: Alex
Tests run:
Is noteworthy for integration: Yes

Modified Paths:
--------------
740 paths were modified

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

--- frameworks/projects/mx/src/mx/styles/metadata/PaddingStyles.as
+++ frameworks/projects/mx/src/mx/styles/metadata/PaddingStyles.as
@@ -0,0 +1,43 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+/**
+ *  Number of pixels between the component's left border
+ *  and the left edge of its content area.
+ *
The default value is 0.

+ *
The default value for a Button control in the Halo theme is 10
+ *     and in the Spark theme is 6.

+ *
The default value for the ComboBox control is 5.

+ *
The default value for the Form container is 16.

+ *
The default value for the Tree control is 2.

+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="paddingLeft", type="Number", format="Length", inherit="no")]
+
+/**
+ *  Number of pixels between the component's right border
+ *  and the right edge of its content area.
+ *
The default value is 0.

+ *
The default value for a Button control in the Halo theme is 10
+ *     and in the Spark theme is 6.

+ *
The default value for the ComboBox control is 5.

+ *
The default value for the Form container is 16.

+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="paddingRight", type="Number", format="Length", inherit="no")]


Transferred from the Adobe Open Source Subversion Repository

Revision: 3483
Author:   rfrishbe@adobe.com
Date:     2008-10-04T00:27:35.945772Z

Log Message:
-----------
Few different changes, most to Group and DataGroup:

1.  GroupBase - added simple class ASDoc so it'll hopefully be included in the nightly ASDoc builds

2.  Group - Removed support for ILists from Group.

3.  ToggleButton - Moved around a method from skinLoaded to the constructor since it was just adding an event listener to the object and not the skin instance

4.  DataGroup - Cleaned up a lot of the logic when a collectionChange event happens so that we don't just remove everything and add everything all the time. This also fixes a bug.  Will work with QA to make sure this gets tested for all scenarios.

QE: Yes
Doc: Yes
Bugs: SDK-17179
Reviewer: Evtim, Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/ToggleButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as</path>

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

--- frameworks/projects/spark/src/spark/components/ToggleButton.as
+++ frameworks/projects/spark/src/spark/components/ToggleButton.as
@@ -55,6 +55,8 @@
     public function ToggleButton()
 	{
 		super();
+
+		addEventListener(MouseEvent.CLICK, clickHandler);
 	}

     // -----------------------------------------------------------------------
@@ -101,18 +103,6 @@
             return super.getUpdatedSkinState() + "AndSelected";
     }

-    override protected function skinLoaded():void
-    {
-        super.skinLoaded();
-        addEventListener(MouseEvent.CLICK, clickHandler);
-    }
-
-    override protected function unloadingSkin():void
-    {
-        super.unloadingSkin();
-        removeEventListener(MouseEvent.CLICK, clickHandler);
-    }
-
     protected function clickHandler(event:MouseEvent):void
     {
         if (!isEnabled)


Added getter for label property to correct ASDoc output and fix code completion. No functional changes.

--- src/flexlib/containers/WindowShade.as
+++ src/flexlib/containers/WindowShade.as
@@ -290,6 +290,14 @@
             if(button.toggle) {
                 button.selected = _opened;
             }
+        }
+
+        /**
+         * The text that appears on the headerButton.
+         */
+        override public function get label():String {
+            // This override is here only to keep the ASDoc tool from incorrectly marking this a write-only property.
+            return super.label;
         }

         /**


AltAudioFragmentLoader: simplify logic

AltAudioFragmentLoader: simplify logic

--- src/org/mangui/hls/loader/AltAudioFragmentLoader.as
+++ src/org/mangui/hls/loader/AltAudioFragmentLoader.as
@@ -518,21 +518,20 @@
                     // loading stalled ! report to caller
                     return LOADING_STALLED;
                 }
-                frag = _level.getFragmentfromSeqNum(new_seqnum);
-                if (frag == null) {
-                    CONFIG::LOGGING {
-                        Log.warn("error trying to load audio " + new_seqnum + " of [" + (_level.start_seqnum) + "," + (_level.end_seqnum) + "]");
-                    }
-                    return LOADING_WAITING_LEVEL_UPDATE;
-                }
-                ;
             }
             frag = _level.getFragmentfromSeqNum(new_seqnum);
-            CONFIG::LOGGING {
-                Log.debug("Loading audio " + new_seqnum + " of [" + (_level.start_seqnum) + "," + (_level.end_seqnum) + "]");
-            }
-            _loadfragment(frag);
-            return LOADING_IN_PROGRESS;
+            if (frag == null) {
+                CONFIG::LOGGING {
+                    Log.warn("error trying to load audio " + new_seqnum + " of [" + (_level.start_seqnum) + "," + (_level.end_seqnum) + "]");
+                }
+                return LOADING_WAITING_LEVEL_UPDATE;
+            } else {
+                CONFIG::LOGGING {
+                    Log.debug("Loading audio " + new_seqnum + " of [" + (_level.start_seqnum) + "," + (_level.end_seqnum) + "]");
+                }
+                _loadfragment(frag);
+                return LOADING_IN_PROGRESS;
+            }
         };

         private function _loadfragment(frag : Fragment) : void {


Modification for BitmapTexture

Modification for BitmapTexture

A two getter, mipmapping in public and data in protected

--- src/aerys/minko/scene/node/texture/BitmapTexture.as
+++ src/aerys/minko/scene/node/texture/BitmapTexture.as
@@ -4,7 +4,7 @@
 	import aerys.minko.render.resource.Texture3DResource;
 	import aerys.minko.scene.action.texture.TextureAction;
 	import aerys.minko.scene.node.AbstractScene;
-
+
 	import flash.display.BitmapData;
 	import flash.display.DisplayObject;
 	import flash.geom.Matrix;
@@ -29,7 +29,9 @@
 		public function get version()		: uint				{ return _version;		}
 		public function get styleProperty() : int				{ return _styleProp;	}
 		public function get resource()		: Texture3DResource	{ return _resource;		}
-
+		public function get mipmapping()	: Boolean			{ return _mipmapping;	}
+		protected function get data() 			: BitmapData		{ return _data;			}
+
 		protected function get bitmapData()	: BitmapData
 		{
 			return _data;


conversation links and scripts loading reversed

--- flexEditor/src/org/arisgames/editor/view/ItemEditorCharacterView.as
+++ flexEditor/src/org/arisgames/editor/view/ItemEditorCharacterView.as
@@ -261,8 +261,8 @@
 				var c:Conversation = new Conversation();
 				c.conversationId = obj.result.data.list.getItemAt(j).conversation_id;
 				c.nodeId = obj.result.data.list.getItemAt(j).node_id;
-				c.linkText = obj.result.data.list.getItemAt(j).text;
-				c.scriptText = obj.result.data.list.getItemAt(j).conversation_text;
+				c.linkText = obj.result.data.list.getItemAt(j).conversation_text;
+				c.scriptText = obj.result.data.list.getItemAt(j).text;
 				conversations.addItem(c);
 			}
 			trace("Loaded '" + conversations.length + "' Conversation(s).");


Transferred from the Adobe Open Source Subversion Repository

Revision: 17703
Author:   dthakkar@adobe.com
Date:     2010-09-14T21:06:11.351066Z

Log Message:
-----------
Added errorText property for spark formatters and included some bug fixes.

QE notes: This changelist has some behavior changes for spark formatters and will cause some failures to existing spark formatter mustell test cases. Globalization QE team knows about this and will update test cases after this submission.
Doc notes:
Bugs: SDK-27420,SDK-27449,SDK-26939,SDK-27240,SDK-27340,SDK-27341,SDK-26937,SDK-27038,SDK-26969,SDK-26970,SDK-26971,SDK-27036,SDK-27491,SDK-27037,SDK-26968,SDK-27450
Reviewer: Gordon, Craig, Dipti
Tests run: Checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses/CollatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/NumberFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/supportClasses/NumberBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/NumberFormatterTestScript.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/CurrencyFormatterTestScript.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/formatters/Formatter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/NumberFormatterTests.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/DateTimeFormatterTestScript.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/CurrencyFormatterTests.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/DateTimeFormatterTests.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses/GlobalizationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/formatters/IFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/LastOperationStatus.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/controls/advancedDataGridClasses/AdvancedDataGridColumn.as</path>

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

--- frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as
+++ frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as
@@ -62,6 +62,9 @@
     private static const DATE_STYLE:String = "dateStyle";
     private static const TIME_STYLE:String = "timeStyle";
     private static const DATE_TIME_PATTERN:String = "dateTimePattern";
+    // Note: new Date(undefined) creates a Date object with NaN value for each
+    // of the elements.
+    private static const UNDEFINED_DATE:Date = new Date(undefined);

     //--------------------------------------------------------------------------
     //
@@ -150,6 +153,12 @@

     /**
      *  @private
+     *  Basic properies of the actual underlying working instance.
+     */
+    mx_internal var properties:Object = null;
+
+    /**
+     *  @private
      */
     private var timeStyleOverride:String = DateTimeStyle.LONG;

@@ -319,7 +328,7 @@

     public function set dateStyle(value:String):void
     {
-        if(dateStyleOverride != null && dateStyleOverride == value)
+        if (dateStyleOverride && (dateStyleOverride == value))
             return;
         dateStyleOverride = value;

@@ -399,11 +408,11 @@

     public function set dateTimePattern(value:String):void
     {
-        if(dateTimePatternOverride != null && dateTimePatternOverride == value)
+        if (dateTimePatternOverride && (dateTimePatternOverride == value))
             return;
         dateTimePatternOverride = value;

-        if(g11nWorkingInstance)
+        if (g11nWorkingInstance)
             g11nWorkingInstance.setDateTimePattern(value);
         else
         {
@@ -414,6 +423,53 @@
                 fallbackFormatter.dateTimePattern = value;
             fallbackLastOperationStatus = LastOperationStatus.NO_ERROR;
         }
+
+        update();
+    }
+
+    //----------------------------------
+    //  errorText
+    //----------------------------------
+
+    private var _errorText:String;
+
+    [Bindable("change")]
+
+    /**
+     *  Replacement string returned by the format method when an error occurs.
+     *
+     *
If errorText is non-null and an error occurs
+     *  while formatting a date, the format method
+     *  will return the string assigned to this property.

+     *
+     *  For example:
+     *  <listing version="3.0" >
+     *  var dtf:DateTimeFormatter = new DateTimeFormatter();
+     *  dtf.setStyle("locale", "en-US");
+     *  dtf.errorText = "----"
+     *  trace(dtf.format("abc"));  // ----
+     *  </listing>
+     *
+     *  @default null
+     *
+     *  @see spark.globalization.LastOperationStatus
+     *
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2
+     *  @langversion 3.0
+     *  @productversion Flex 4.5
+     */
+    public function get errorText():String
+    {
+        return _errorText;
+    }
+
+    public function set errorText(value:String):void
+    {
+        if (_errorText == value)
+            return;
+
+        _errorText = value;

         update();
     }
@@ -485,7 +541,7 @@

     public function set timeStyle(value:String):void
     {
-        if(timeStyleOverride != null && timeStyleOverride == value)
+        if (timeStyleOverride && (timeStyleOverride == value))
             return;
         timeStyleOverride = value;

@@ -564,6 +620,7 @@
             fallbackLastOperationStatus
                                 = LastOperationStatus.LOCALE_UNDEFINED_ERROR;
             g11nWorkingInstance = null;
+            properties = null;
             return;
         }

@@ -582,6 +639,8 @@
         {
             if (dateTimePatternOverride)
                 g11nWorkingInstance.setDateTimePattern(dateTimePatternOverride);
+            properties = g11nWorkingInstance;
+            propagateBasicProperties(g11nWorkingInstance);
             return;
         }

@@ -620,7 +679,6 @@
      *  dateTimePattern, specified for this
      *  DateTimeFormatter instance.
      *
-     *
      *  @param value A Date value to be formatted.
      *  @return A formatted string representing the date or time value.
      *
@@ -642,18 +700,37 @@
         const dateTime:Date = (value is Date) ?
                                             (value as Date) : new Date(value);

+        if (dateTime == UNDEFINED_DATE)
+        {
+            if (g11nWorkingInstance)
+            {
+                // Have g11nFormatter.lastOperationStatus property hold
+                // ILLEGAL_ARGUMENT_ERROR value.
+                g11nWorkingInstance.setDateTimeStyles(null, null);
+            }
+            else
+            {
+                fallbackLastOperationStatus
+                                = LastOperationStatus.ILLEGAL_ARGUMENT_ERROR;
+            }
+            return errorText;
+        }
+
         if (g11nWorkingInstance)
         {
-            return _useUTC ?
+            const retVal:String = _useUTC ?
                 g11nWorkingInstance.formatUTC(dateTime) :
                 g11nWorkingInstance.format(dateTime);
+
+            return errorText && LastOperationStatus.isFatalError(
+                g11nWorkingInstance.lastOperationStatus) ? errorText : retVal;
         }

         if ((localeStyle === undefined) || (localeStyle === null))
         {
             fallbackLastOperationStatus
                                 = LastOperationStatus.LOCALE_UNDEFINED_ERROR;
-            return undefined;
+            return errorText;
         }

         fallbackLastOperationStatus = LastOperationStatus.NO_ERROR;
@@ -882,8 +959,8 @@
     //----------------------------------

     private static const SHORT_DATE_PATTERN:String = "m/d/yyyy";
-    private static const MEDIUM_DATE_PATTERN:String = "dddd, mmmm d, yyyy ";
-    private static const LONG_DATE_PATTERN:String = "dddd, mmmm d, yyyy ";
+    private static const MEDIUM_DATE_PATTERN:String = "dddd, mmmm d, yyyy";
+    private static const LONG_DATE_PATTERN:String = "dddd, mmmm d, yyyy";
     private static const NONE_DATE_PATTERN:String = "";

     private static const SHORT_TIME_PATTERN:String = "hh:mm a";
@@ -926,13 +1003,13 @@

     private var utc:Boolean;

-    private var space:String = "";
-
     private var dateString:String;

     private var timeString:String;
     private var localTime:String;

+    private var thisDate:Date;
+

     //----------------------------------
     // Properties
@@ -971,25 +1048,37 @@

     public function get dateTimePattern():String
     {
-        if (dateStyle == DateTimeStyle.SHORT )
-            dateString = SHORT_DATE_PATTERN;
-        else if (dateStyle == DateTimeStyle.MEDIUM)
-            dateString = LONG_DATE_PATTERN;
-        else if (dateStyle == DateTimeStyle.NONE)
-            dateString = NONE_DATE_PATTERN;
-        else
-            dateString = LONG_DATE_PATTERN;
-
-        if (timeStyle == DateTimeStyle.SHORT)
-            timeString = SHORT_TIME_PATTERN;
-        else if (timeStyle == DateTimeStyle.MEDIUM)
-            timeString = LONG_TIME_PATTERN;
-        else if (timeStyle == DateTimeStyle.NONE)
-            timeString = NONE_TIME_PATTERN;
-        else
-            timeString =LONG_TIME_PATTERN;
-
-        return (dateString + timeString);
+        switch (dateStyle)
+        {
+            case DateTimeStyle.SHORT:
+                dateString = SHORT_DATE_PATTERN;
+                break;
+            case DateTimeStyle.MEDIUM:
+                dateString = LONG_DATE_PATTERN;
+                break;
+            case DateTimeStyle.NONE:
+                dateString = NONE_DATE_PATTERN;
+                break;
+            default:
+                dateString = LONG_DATE_PATTERN;
+        }
+
+        switch (timeStyle)
+        {
+            case DateTimeStyle.SHORT:
+                timeString = SHORT_TIME_PATTERN;
+                break;
+            case DateTimeStyle.MEDIUM:
+                timeString = LONG_TIME_PATTERN;
+                break;
+            case DateTimeStyle.NONE:
+                timeString = NONE_TIME_PATTERN;
+                break;
+            default:
+                timeString =LONG_TIME_PATTERN;
+        }
+
+        return (dateString + returnSpace() + timeString);
     }

     public function set dateTimePattern(value:String):void
@@ -1004,36 +1093,42 @@

     public function format(dateTime:Date):String
     {
-        utc= false;
-        return (returnDate(dateTime) + space+ returnTime(dateTime));
+        thisDate = dateTime;
+        utc = false;
+        return (returnDate(dateTime) + returnSpace() + returnTime(dateTime));
     }

     public function formatUTC(dateTime:Date):String
     {
-        utc= true;
-        return (returnDate(dateTime) + space+ returnTime(dateTime));
+        thisDate = dateTime;
+        utc = true;
+        return (returnDate(dateTime) + returnSpace() + returnTime(dateTime));
     }

     public function getMonthNames(nameStyle:String = "full",
                             context:String = "standalone"):Vector.<String>
     {
-        if (nameStyle == DateTimeNameStyle.SHORT_ABBREVIATION)
-            return MONTH_LABELS_SHORT_ABB;
-        else if (nameStyle == DateTimeNameStyle.LONG_ABBREVIATION)
-            return MONTH_LABELS_LONG_ABB;
-        else
-            return MONTH_LABELS;
+        switch (nameStyle)
+        {
+            case DateTimeNameStyle.SHORT_ABBREVIATION:
+                return MONTH_LABELS_SHORT_ABB;
+            case DateTimeNameStyle.LONG_ABBREVIATION:
+                return MONTH_LABELS_LONG_ABB;
+        }
+        return MONTH_LABELS;
     }

     public function getWeekdayNames(nameStyle:String = "full",
                             context:String = "standalone"):Vector.<String>
     {
-        if (nameStyle == DateTimeNameStyle.SHORT_ABBREVIATION)
-            return WEEKDAY_LABELS_SHORT_ABB;
-        else if (nameStyle == DateTimeNameStyle.LONG_ABBREVIATION)
-            return WEEKDAY_LABELS_LONG_ABB;
-        else
-            return WEEKDAY_LABELS;
+        switch (nameStyle)
+        {
+            case DateTimeNameStyle.SHORT_ABBREVIATION:
+                return WEEKDAY_LABELS_SHORT_ABB;
+            case DateTimeNameStyle.LONG_ABBREVIATION:
+                return WEEKDAY_LABELS_LONG_ABB;
+        }
+        return WEEKDAY_LABELS;
     }

     public static function validDateTimeStyle(value:String):Boolean
@@ -1048,132 +1143,119 @@
     // Private Methods
     //----------------------------------

+    private function returnSpace():String
+    {
+        const fullYearIsNaN:Boolean = thisDate && isNaN(thisDate.fullYear);
+        const oneOfStyleIsNone:Boolean = (dateStyle == DateTimeStyle.NONE)
+                                        || (timeStyle == DateTimeStyle.NONE);
+
+        return (fullYearIsNaN || oneOfStyleIsNone) ? "" : " ";
+    }
+
     private function returnDate(dateTime:Date):String
     {
         if (isNaN(dateTime.fullYear))
             return "";
-        else
-        {
-            if (dateStyle == DateTimeStyle.SHORT)
-            {
-                space = " ";
+
+        switch (dateStyle)
+        {
+            case DateTimeStyle.SHORT:
                 return shortDate(dateTime);
-            }
-            else if (dateStyle == DateTimeStyle.MEDIUM)
-            {
-                space = " ";
+            case DateTimeStyle.MEDIUM:
                 return longDate(dateTime);
-            }
-            else if (dateStyle == DateTimeStyle.NONE)
-            {
-                space = "";
+            case DateTimeStyle.NONE:
                 return "";
-            }
-            else
-            {
-                space = " ";
-                return longDate(dateTime);
-            }
-        }
+        }
+
+        return longDate(dateTime);
     }

     private function returnTime(dateTime:Date):String
     {
         if (isNaN(dateTime.hours))
             return "";
+
+        switch (timeStyle)
+        {
+            case DateTimeStyle.SHORT:
+                return shortTime(dateTime);
+            case DateTimeStyle.MEDIUM:
+                return longTime(dateTime);
+            case DateTimeStyle.NONE:
+                return "";
+        }
+
+        return longTime(dateTime);
+    }
+
+    private function shortDate(dateTime:Date):String
+    {
+        if (utc)
+        {
+            return (dateTime.getUTCMonth() + 1) + "/"
+                + dateTime.getUTCDate() + "/"
+                + dateTime.getUTCFullYear();
+        }
+
+        return (dateTime.getMonth() + 1) + "/"
+                + dateTime.getDate() + "/"
+                + dateTime.getFullYear();
+    }
+
+    private function longDate(dateTime:Date):String
+    {
+        if (utc)
+        {
+            return (WEEKDAY_LABELS[dateTime.getUTCDay()] + ","+" "
+                + MONTH_LABELS[dateTime.getUTCMonth()])+" "
+                + dateTime.getUTCDate() + ","+" "
+                + dateTime.getUTCFullYear();
+        }
+
+        return (WEEKDAY_LABELS[dateTime.getDay()] + ","+" "
+            + MONTH_LABELS[dateTime.getMonth()])+" "
+            + dateTime.getDate() + ","+" "
+            + dateTime.getFullYear();
+    }
+
+    private function shortTime(dateTime:Date):String
+    {
+        localTime = utc ?
+            getUSClockTime(dateTime.getUTCHours(), dateTime.getUTCMinutes()) :
+            getUSClockTime(dateTime.getHours(), dateTime.getMinutes());
+
+        return localTime + " " + formatAMPM(dateTime);
+    }
+
+    private function longTime(dateTime:Date):String
+    {
+        var seconds:Number;
+
+        if (utc)
+        {
+            localTime = getUSClockTime(
+                            dateTime.getUTCHours(), dateTime.getUTCMinutes());
+            seconds = dateTime.getUTCSeconds();
+        }
         else
-        {
-            if (timeStyle == DateTimeStyle.SHORT)
-                return shortTime(dateTime);
-            else if (timeStyle == DateTimeStyle.MEDIUM)
-                return longTime(dateTime);
-            else if (timeStyle == DateTimeStyle.NONE)
-            {
-                space = "";
-                return "";
-            }
-            else
-                return longTime(dateTime);
-        }
-    }
-
-    private function shortDate(dateTime:Date):String
-    {
-        if (!utc)
-        {
-            return (doubleDigitFormat(dateTime.getMonth() + 1)) + "/"
-                + doubleDigitFormat(dateTime.getDate()) + "/"
-                + doubleDigitFormat(dateTime.getFullYear());
-        }
-        else
-        {
-            return (doubleDigitFormat(dateTime.getUTCMonth() + 1)) + "/"
-                + doubleDigitFormat(dateTime.getUTCDate()) + "/"
-                + doubleDigitFormat(dateTime.getUTCFullYear());
-        }
-    }
-
-    private function longDate(dateTime:Date):String
-    {
-        if (!utc)
-        {
-            return (WEEKDAY_LABELS[dateTime.getDay()] + ","
-                + MONTH_LABELS[dateTime.getMonth()])
-                + dateTime.getDate() + ","
-                + dateTime.getFullYear();
-        }
-        else
-        {
-            return (WEEKDAY_LABELS[dateTime.getUTCDay()] + ","
-                + MONTH_LABELS[dateTime.getUTCMonth()])
-                + dateTime.getUTCDate() + ","
-                + dateTime.getUTCFullYear();
-        }
-    }
-
-    private function shortTime(dateTime:Date):String
-    {
-        if (!utc)
         {
             localTime = getUSClockTime(
                                 dateTime.getHours(), dateTime.getMinutes());
-        }
-        else
-        {
-            localTime = getUSClockTime(
-                            dateTime.getUTCHours(), dateTime.getUTCMinutes());
-        }
-        return localTime + " " + formatAMPM(dateTime);
-    }
-
-    private function longTime(dateTime:Date):String
-    {
-        if (!utc)
-        {
-            localTime = getUSClockTime(
-                                dateTime.getHours(), dateTime.getMinutes());
-            return localTime + ":" + doubleDigitFormat(dateTime.getSeconds())
-                + " " + formatAMPM(dateTime);
-        }
-        else
-        {
-            localTime = getUSClockTime(
-                            dateTime.getUTCHours(), dateTime.getUTCMinutes());
-            return localTime + ":" + doubleDigitFormat(dateTime.getUTCSeconds())
-                + " " + formatAMPM(dateTime);
-        }
+            seconds = dateTime.getSeconds();
+        }
+
+        return localTime + ":" + doubleDigitFormat(seconds) + " "
+                                                        + formatAMPM(dateTime);
     }

     private function getUSClockTime(hrs:uint, mins:uint):String
     {
         const minLabel:String = doubleDigitFormat(mins);

-        if (hrs > 12)
-            hrs = hrs-12;
-        else if (hrs == 0)
-            hrs = 12;
-
-        return doubleDigitFormat(hrs) + ":" + minLabel;
+        hrs %= 12;
+        hrs = hrs ? hrs : 12;
+
+        return hrs + ":" + minLabel;
     }

     private function doubleDigitFormat(num:uint):String
@@ -1183,6 +1265,8 @@

     private function formatAMPM(dateTime:Date):String
     {
-        return (dateTime.getHours() < 12) ? "AM" : "PM";
+        const hours:Number = utc ? dateTime.getUTCHours() : dateTime.getHours();
+
+        return (hours < 12) ? "AM" : "PM";
     }
 }


marked most of AbstractSceneNode methods as final for performances

--- src/aerys/minko/scene/node/AbstractSceneNode.as
+++ src/aerys/minko/scene/node/AbstractSceneNode.as
@@ -47,101 +47,101 @@
         private var _visibilityChanged          : Signal;
         private var _computedVisibilityChanged  : Signal;

-		public function get x() : Number
+        final public function get x() : Number
 		{
 			return _transform.translationX;
 		}
-		public function set x(value : Number) : void
+        final public function set x(value : Number) : void
 		{
 			_transform.translationX = value;
 		}

-		public function get y() : Number
+        final public function get y() : Number
 		{
 			return _transform.translationX;
 		}
-		public function set y(value : Number) : void
+        final public function set y(value : Number) : void
 		{
 			_transform.translationY = value;
 		}

-		public function get z() : Number
+        final public function get z() : Number
 		{
 			return _transform.translationX;
 		}
-		public function set z(value : Number) : void
+        final public function set z(value : Number) : void
 		{
 			_transform.translationZ = value;
 		}

-		public function get rotationX() : Number
+        final public function get rotationX() : Number
 		{
 			return _transform.rotationX;
 		}
-		public function set rotationX(value : Number) : void
+        final public function set rotationX(value : Number) : void
 		{
 			_transform.rotationX = value;
 		}

-		public function get rotationY() : Number
+        final public function get rotationY() : Number
 		{
 			return _transform.rotationY;
 		}
-		public function set rotationY(value : Number) : void
+        final public function set rotationY(value : Number) : void
 		{
 			_transform.rotationY = value;
 		}

-		public function get rotationZ() : Number
+        final public function get rotationZ() : Number
 		{
 			return _transform.rotationZ;
 		}
-		public function set rotationZ(value : Number) : void
+        final public function set rotationZ(value : Number) : void
 		{
 			_transform.rotationZ = value;
 		}

-		public function get scaleX() : Number
+        final public function get scaleX() : Number
 		{
 			return _transform.scaleX;
 		}
-		public function set scaleX(value : Number) : void
+        final public function set scaleX(value : Number) : void
 		{
 			_transform.scaleX = value;
 		}

-		public function get scaleY() : Number
+        final public function get scaleY() : Number
 		{
 			return _transform.scaleX;
 		}
-		public function set scaleY(value : Number) : void
+        final public function set scaleY(value : Number) : void
 		{
 			_transform.scaleY = value;
 		}

-		public function get scaleZ() : Number
+        final public function get scaleZ() : Number
 		{
 			return _transform.scaleZ;
 		}
-		public function set scaleZ(value : Number) : void
+        final public function set scaleZ(value : Number) : void
 		{
 			_transform.scaleZ = value;
 		}

-		public function get name() : String
+        public function get name() : String
 		{
 			return _name;
 		}
-		public function set name(value : String) : void
+        public function set name(value : String) : void
 		{
 			_name = value;
 		}

-		public function get parent() : Group
+        final public function get parent() : Group
 		{
 			return _parent;
 		}
-		public function set parent(value : Group) : void
+        final public function set parent(value : Group) : void
 		{
 			if (value == _parent)
 				return ;
@@ -172,12 +172,12 @@
 			}
 		}

-        public function get scene() : Scene
+        final public function get scene() : Scene
         {
             return _root as Scene;
         }

-		public function get root() : ISceneNode
+        final public function get root() : ISceneNode
 		{
 			return _root;
 		}
@@ -201,37 +201,37 @@
             return _computedVisibility;
         }

-		public function get transform() : Matrix4x4
+        final public function get transform() : Matrix4x4
 		{
 			return _transform;
 		}

-		public function get localToWorld() : Matrix4x4
+		final public function get localToWorld() : Matrix4x4
 		{
 			return _localToWorld;
 		}

-		public function get worldToLocal() : Matrix4x4
+        final public function get worldToLocal() : Matrix4x4
 		{
 			return _worldToLocal;
 		}

-		public function get added() : Signal
+        final public function get added() : Signal
 		{
 			return _added;
 		}

-		public function get removed() : Signal
+        final public function get removed() : Signal
 		{
 			return _removed;
 		}

-		public function get addedToScene() : Signal
+        final public function get addedToScene() : Signal
 		{
 			return _addedToScene;
 		}

-		public function get removedFromScene() : Signal
+        final public function get removedFromScene() : Signal
 		{
 			return _removedFromScene;
 		}


[VectorCommon] Handle strand properly

[VectorCommon] Handle strand properly

git-svn-id: adbdea8fc1759bd16b0eaf24a244a7e5f870a654@258 fe3f0490-d73e-11de-a956-c71e7d3a9d2f

--- VectorCommon/src/org/jbei/lib/SequenceProvider.as
+++ VectorCommon/src/org/jbei/lib/SequenceProvider.as
@@ -993,6 +993,7 @@
                 feature = new GenbankFeatureElement();
                 feature.genbankStart = seqProviderFeature.start + 1;
                 feature.end = seqProviderFeature.end;
+                feature.strand = seqProviderFeature.strand;
                 feature.key = seqProviderFeature.type;
                 tempQualifier = new GenbankFeatureQualifier();
                 tempQualifier.quoted = true;
@@ -1029,6 +1030,7 @@
                 feature.start = genbankFeatures[i].genbankStart;
                 feature.end = genbankFeatures[i].end;
                 feature.type = genbankFeatures[i].key;
+                feature.strand = genbankFeatures[i].strand;
                 if (feature.start > feature.end) {
                     feature.strand = -1;
                 } else {


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

--- frameworks/projects/rpc/src/mx/rpc/remoting/mxml/Operation.as
+++ frameworks/projects/rpc/src/mx/rpc/remoting/mxml/Operation.as
@@ -0,0 +1,238 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.rpc.remoting.mxml
+{
+
+import mx.core.mx_internal;
+import mx.managers.CursorManager;
+import mx.messaging.events.MessageEvent;
+import mx.messaging.messages.AsyncMessage;
+import mx.messaging.messages.IMessage;
+import mx.resources.IResourceManager;
+import mx.resources.ResourceManager;
+import mx.rpc.AbstractService;
+import mx.rpc.AsyncToken;
+import mx.rpc.AsyncDispatcher;
+import mx.rpc.Fault;
+import mx.rpc.events.FaultEvent;
+import mx.rpc.mxml.Concurrency;
+import mx.rpc.mxml.IMXMLSupport;
+import mx.rpc.remoting.RemoteObject;
+import mx.rpc.remoting.Operation;
+import mx.rpc.remoting.mxml.RemoteObject;
+import mx.validators.Validator;
+
+use namespace mx_internal;
+
+[ResourceBundle("rpc")]
+
+/**
+ * The Operation used for RemoteObject when created in an MXML document.
+ */
+public class Operation extends mx.rpc.remoting.Operation implements IMXMLSupport
+{
+    //--------------------------------------------------------------------------
+    //
+    // Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     * @private
+     */
+    public function Operation(remoteObject:mx.rpc.remoting.RemoteObject = null, name:String = null)
+    {
+        super(remoteObject, name);
+
+        this.remoteObject = mx.rpc.remoting.mxml.RemoteObject(remoteObject);
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    // Variables
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    private var resourceManager:IResourceManager =
+									ResourceManager.getInstance();
+
+    //--------------------------------------------------------------------------
+    //
+    // Properties
+    //
+    //--------------------------------------------------------------------------
+
+    [Inspectable(enumeration="multiple,single,last", defaultValue="multiple", category="General")]
+    /**
+     * The concurrency for this Operation.  If it has not been explicitly set the setting from the RemoteObject
+     * will be used.
+     */
+    public function get concurrency():String
+    {
+        if (_concurrencySet)
+        {
+            return _concurrency;
+        }
+        //else
+        return remoteObject.concurrency;
+    }
+
+    /**
+     *  @private
+     */
+    public function set concurrency(c:String):void
+    {
+        _concurrency = c;
+        _concurrencySet = true;
+    }
+
+    override mx_internal function setService(ro:AbstractService):void
+    {
+        super.setService(ro);
+        remoteObject = mx.rpc.remoting.mxml.RemoteObject(ro);
+    }
+
+    /**
+     * Whether this operation should show the busy cursor while it is executing.
+     * If it has not been explicitly set the setting from the RemoteObject
+     * will be used.
+     */
+    public function get showBusyCursor():Boolean
+    {
+        if (_showBusyCursorSet)
+        {
+            return _showBusyCursor;
+        }
+        //else
+        return remoteObject.showBusyCursor;
+    }
+
+    public function set showBusyCursor(sbc:Boolean):void
+    {
+        _showBusyCursor = sbc;
+        _showBusyCursorSet = true;
+    }
+
+
+    //--------------------------------------------------------------------------
+    //
+    // Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     * @inheritDoc
+     */
+    override public function cancel(id:String = null):AsyncToken
+    {
+        if (showBusyCursor)
+        {
+            CursorManager.removeBusyCursor();
+        }
+        return super.cancel(id);
+    }
+
+    /**
+     * @inheritDoc
+     */
+    override public function send(... args:Array):AsyncToken
+    {
+        if (Concurrency.SINGLE == concurrency && activeCalls.hasActiveCalls())
+        {
+            var token:AsyncToken = new AsyncToken(null);
+			var message:String = resourceManager.getString(
+				"rpc", "pendingCallExists");
+            var fault:Fault = new Fault("ConcurrencyError", message);
+            var faultEvent:FaultEvent = FaultEvent.createEvent(fault, token);
+            new AsyncDispatcher(dispatchRpcEvent, [faultEvent], 10);
+            return token;
+        }
+
+        // We delay endpoint initialization until now because MXML codegen may set
+        // the destination attribute after the endpoint and will clear out the
+        // channelSet.
+        if (asyncRequest.channelSet == null && remoteObject.endpoint != null)
+        {
+            remoteObject.mx_internal::initEndpoint();
+        }
+        return super.send.apply(null, args);
+    }
+
+
+    //--------------------------------------------------------------------------
+    //
+    // Internal Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     * @private
+     * Return the id for the NetworkMonitor
+     */
+    override mx_internal function getNetmonId():String
+    {
+        return remoteObject.id;
+    }
+
+
+    override mx_internal function invoke(message:IMessage, token:AsyncToken = null):AsyncToken
+    {
+        if (showBusyCursor)
+        {
+            CursorManager.setBusyCursor();
+        }
+
+        return super.invoke(message, token);
+    }
+
+    /*
+     * Kill the busy cursor, find the matching call object and pass it back
+     */
+    override mx_internal function preHandle(event:MessageEvent):AsyncToken
+    {
+        if (showBusyCursor)
+        {
+            CursorManager.removeBusyCursor();
+        }
+
+        var wasLastCall:Boolean = activeCalls.wasLastCall(AsyncMessage(event.message).correlationId);
+        var token:AsyncToken = super.preHandle(event);
+
+        if (Concurrency.LAST == concurrency && !wasLastCall)
+        {
+            return null;
+        }
+        //else
+        return token;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    // Private Variables
+    //
+    //--------------------------------------------------------------------------
+
+    private var _concurrency:String;
+
+	private var _concurrencySet:Boolean;
+
+	private var remoteObject:mx.rpc.remoting.mxml.RemoteObject;
+
+	private var _showBusyCursor:Boolean;
+
+	private var _showBusyCursorSet:Boolean;
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 5097
Author:   gauravj@adobe.com
Date:     2009-02-27T02:06:23.424936Z

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

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

Modified Paths:
--------------
<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/airframework/src/mx/controls/fileSystemClasses/FileSystemTreeDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemHistoryButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemTree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/FlexContentHolder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumeration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/AIREvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/StatusBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FileEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/WindowExistenceEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/ApplicationTitleBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/fileSystemClasses/FileSystemControlHelper.as</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/airframework/src/mx/managers/NativeDragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeMenuEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemRawChildrenList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMinimizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowRestoreButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMaximizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/IWindow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemSizeDisplayMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeWindowBoundsEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemChildrenList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowCloseButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as</path>

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

--- frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as
+++ frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as
@@ -47,6 +47,10 @@
  *  Dispatched before a menu or submenu is displayed.
  *
  *  @eventType mx.events.FlexNativeMenuEvent.MENU_SHOW
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="menuShow", type="mx.events.FlexNativeMenuEvent")]

@@ -54,6 +58,10 @@
  *  Dispatched when a menu item is selected.
  *
  *  @eventType mx.events.FlexNativeMenuEvent.ITEM_CLICK
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="itemClick", type="mx.events.FlexNativeMenuEvent")]

@@ -239,6 +247,10 @@
  *  @see flash.display.NativeMenu
  *  @see mx.events.FlexNativeMenuEvent
  *
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class FlexNativeMenu extends EventDispatcher implements ILayoutManagerClient, IFlexContextMenu
 {
@@ -254,6 +266,10 @@
      *  The character to use to indicate the mnemonic index in a label.  By
      *  default, it is the underscore character, so in "C_ut", u would become
      *  the character for the mnemonic index.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private static var MNEMONIC_INDEX_CHARACTER:String = "_";

@@ -265,6 +281,10 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function FlexNativeMenu()
     {
@@ -297,6 +317,10 @@

     /**
      *  @copy mx.core.UIComponent#initialized
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get initialized():Boolean
     {
@@ -327,6 +351,10 @@

     /**
      *  @copy mx.core.UIComponent#nestLevel
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get nestLevel():int
     {
@@ -357,6 +385,10 @@

     /**
      *  @copy mx.core.UIComponent#processedDescriptors
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get processedDescriptors():Boolean
     {
@@ -384,6 +416,10 @@
     /**
      *  A flag that determines if an object has been through all three phases
      *  of layout validation (provided that any were required).
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get updateCompletePendingFlag():Boolean
     {
@@ -429,6 +465,10 @@
       *  Any changes made directly to the underlying NativeMenu instance
       *  may be lost when changes are made to the menu or the underlying
       *  data provider.
+      *
+      *  @langversion 3.0
+      *  @playerversion AIR 1.1
+      *  @productversion Flex 3
       */
     public function get nativeMenu() : NativeMenu
     {
@@ -476,6 +516,10 @@
      *
      *
The default value is an internal instance of the
      *  DefaultDataDescriptor class.

+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get dataDescriptor():IMenuDataDescriptor
     {
@@ -529,6 +573,10 @@
      *

      *
      *  @default "undefined"
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get dataProvider():Object
     {
@@ -614,6 +662,10 @@

     /**
      *  @copy mx.controls.Menu#hasRoot
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get hasRoot():Boolean
     {
@@ -647,6 +699,10 @@
      *
      *  @default "keyEquivalent"
      *  @see flash.ui.Keyboard
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get keyEquivalentField():String
     {
@@ -698,6 +754,10 @@
      *
      *  @default "undefined"
      *  @see flash.ui.Keyboard
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get keyEquivalentFunction():Function
     {
@@ -799,6 +859,10 @@
      *
myKeyEquivalentModifiersFunction(item:Object):Array

      *
      *  @default "undefined"
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get keyEquivalentModifiersFunction():Function
     {
@@ -860,6 +924,10 @@
      *
Setting the labelFunction property causes this property to be ignored.

      *
      *  @default "label"
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get labelField():String
     {
@@ -913,6 +981,10 @@
      *
myLabelFunction(item:Object):String

      *
      *  @default "undefined"
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get labelFunction():Function
     {
@@ -966,6 +1038,10 @@
      *  @default "mnemonicIndex"
      *
      *  @see #labelField
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get mnemonicIndexField():String
     {
@@ -1021,6 +1097,10 @@
      *
myMnemonicIndexFunction(item:Object):int

      *
      *  @default "undefined"
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get mnemonicIndexFunction():Function
     {
@@ -1073,6 +1153,10 @@
      *
      *  @default true
      *  @see #hasRoot
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get showRoot():Boolean
     {
@@ -1100,6 +1184,10 @@

     /**
      *  @copy mx.core.UIComponent#invalidateProperties()
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function invalidateProperties():void
     {
@@ -1130,6 +1218,10 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function validateProperties():void
     {
@@ -1143,6 +1235,10 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function validateSize(recursive:Boolean = false):void
     {
@@ -1150,6 +1246,10 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function validateDisplayList():void
     {
@@ -1158,6 +1258,10 @@
     /**
      *  Validates and updates the properties and layout of this object
      *  and redraws it, if necessary.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function validateNow():void
     {
@@ -1169,6 +1273,10 @@

     /**
      *  Sets the context menu of the InteractiveObject to the underlying native menu.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function setContextMenu(component:InteractiveObject):void
     {
@@ -1188,6 +1296,10 @@
     /**
      *  Unsets the context menu of the InteractiveObject that has been set to
      *  the underlying native menu.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function unsetContextMenu(component:InteractiveObject):void
     {
@@ -1200,6 +1312,10 @@
      *  Processes the properties set on the component.
      *
      *  @see mx.core.UIComponent#commitProperties()
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function commitProperties():void
     {
@@ -1379,6 +1495,10 @@

     /**
      *  @copy flash.display.NativeMenu#display()
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
      public function display(stage:Stage, x:int, y:int):void
      {
@@ -1394,6 +1514,10 @@
      *  @param data Object to be displayed.
      *
      *  @return The key equivalent based on the data.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function itemToKeyEquivalent(data:Object):String
     {
@@ -1449,6 +1573,10 @@
      *  @param data Object to be displayed.
      *
      *  @return The array of key equivalent modifiers based on the data
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function itemToKeyEquivalentModifiers(data:Object):Array
     {
@@ -1471,6 +1599,10 @@
      *  @param data Object to be displayed.
      *
      *  @return The string to be displayed based on the data.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function itemToLabel(data:Object):String
     {
@@ -1529,6 +1661,10 @@
      *  @param data Object to be displayed.
      *
      *  @return The mnemonic index based on the data.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function itemToMnemonicIndex(data:Object):int
     {
@@ -1581,6 +1717,10 @@
      *  Determines the actual label to be used for the NativeMenuItem
      *  by removing underscore characters and converting escaped underscore
      *  characters, if there are any.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function parseLabelToString(data:String):String
     {
@@ -1603,6 +1743,10 @@
      *  Extracts the mnemonic index from a label based on the presence of
      *  an underscore character. It finds the leading underscore character if
      *  there is one and uses that as the index.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function parseLabelToMnemonicIndex(data:String):int
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 8031
Author:   egeorgie@adobe.com
Date:     2009-06-20T01:10:03.288554Z

Log Message:
-----------
Scrub the TODOs in the framework, convert to FIXMEs in the new convention and assigning an owner.

Doc Notes: N/A
Bugs: N/A
Reviewer: Deepa
tests: build, checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/layouts/WheelLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Timeline.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/mediaClasses/VolumeBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/DropDownController.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ModifiedCollectionView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ErrorSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/MoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SequenceInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectTargetFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/utils/BitmapUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/FocusSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.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/flex4/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LayoutElementHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/mediaClasses/StreamingVideoSource.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/flex4/src/spark/components/supportClasses/ToggleButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/RemoveActionInstance.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/flex4/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/pathSegments/LineSegment.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/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AddActionInstance.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/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Rect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>

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

--- frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as
+++ frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as
@@ -116,7 +116,7 @@

 		// If available, get soft-link to the RichEditableText class
 		// to use in mouseMoveHandler().
-        // ToDo: revisit the correct way to do this for modules.
+        // FIXME (cframpto): revisit the correct way to do this for modules.
         if (ApplicationDomain.currentDomain.hasDefinition(
 				"spark.components.RichEditableText"))
 		{


Transferred from the Adobe Open Source Subversion Repository

Revision: 20845
Author:   mhorn@adobe.com
Date:     2011-03-14T15:29:23.391952Z

Log Message:
-----------
merge 20756,20790,20712,20805

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/charts/src/mx/charts/series/PlotSeries.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/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/styles/CSSStyleDeclaration.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/geom/Transform.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/utils/StringUtil.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/events/FlexEvent.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="dir" action="M">/private/flex/sdk/trunk</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@1262516 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as
+++ frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as
@@ -487,6 +487,8 @@
      *  Determines whether this style declaration applies to the given component
      *  based on a match of the selector chain.
      *
+     *  @param object The component to match the style declaration against.
+     *
      *  @return true if this style declaration applies to the component,
      *  otherwise false.
      *
@@ -689,7 +691,7 @@
             for (i = 0; i < n; i++)
             {
                 sm = sms[i];
-			    cm = sm.getImplementation("mx.managers::ISystemManagerChildManager");
+                cm = sm.getImplementation("mx.managers::ISystemManagerChildManager");
                 cm.regenerateStyleCache(true);
             }
         }
@@ -697,7 +699,7 @@
         for (i = 0; i < n; i++)
         {
             sm = sms[i];
-		    cm = sm.getImplementation("mx.managers::ISystemManagerChildManager");
+            cm = sm.getImplementation("mx.managers::ISystemManagerChildManager");
             cm.notifyStyleChangeInChildren(styleProp, true);
         }
     }