Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/spark/src/spark/globalization/StringTools.as
+++ frameworks/projects/spark/src/spark/globalization/StringTools.as
@@ -347,7 +347,7 @@
     }

     /**
-     *  @copy spark.globalization.supportClasses.CollatorBase#getAvailableLocaleIDNames()
+     *  @copy spark.globalization.supportClasses.CollatorBase#getAvailableLocaleIDNames
      *
      *  @langversion 3.0
      *  @playerversion Flash 10.1


Transferred from the Adobe Open Source Subversion Repository

Revision: 5119
Author:   smgilson@adobe.com
Date:     2009-03-01T15:19:39.936226Z

Log Message:
-----------
Clean up some ASDoc tags from the addition of the @productversion/@playerversion tags

QE Notes: None
Doc Notes: None
Bugs: -

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/HaloBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToolTip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/ResultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.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/rpc/src/mx/messaging/config/ServerConfig.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/HTTPRequestMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/HaloBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/NCManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/AbstractConsumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/Base64Encoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/StringValidator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SchemaMarshaller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IInteractiveObjectInterface.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/framework/src/mx/core/ContainerRawChildrenList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/FaultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/wsdl/WSDL.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/SparkSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Tween.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/HistoryManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/Schema.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/utils/HexEncoder.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/rpc/src/mx/rpc/soap/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDisplayObjectInterface.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDisplayObjectContainerInterface.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SoundEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SequenceInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISpriteInterface.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/haloclassic/src/haloclassic/HaloRectBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/Operation.as</path>

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

--- frameworks/projects/mx/src/mx/controls/Text.as
+++ frameworks/projects/mx/src/mx/controls/Text.as
@@ -157,16 +157,6 @@
         inside updateDisplayList(), which will cause measure() and
         updateDisplayList() to be called a second time.

-    *
-
-    *  @langversion 3.0
-
-    *  @playerversion Flash 9
-
-    *  @playerversion AIR 1.1
-
-    *  @productversion Flex 3
-
     */

     //--------------------------------------------------------------------------
@@ -410,11 +400,6 @@
         // a capital and decending character using the current font.
         if (!t || t.length < 2)
             t = "Wj";
-        *
-        *  @langversion 3.0
-        *  @playerversion Flash 9
-        *  @playerversion AIR 1.1
-        *  @productversion Flex 3
         */

         // Don't call super.measure();


Testing hudson ci server

Testing hudson ci server

--- spec/UIComponentSpecs.as
+++ spec/UIComponentSpecs.as
@@ -10,7 +10,7 @@
 		{
 			const instance:UIComponent = new Button;

-			describe (instance, 'is a component from the mx.controls package', function () :void
+			describe (instance, 'is a component from the mx\.controls package', function () :void
 			{
 				it ('should be a UIComponent', function () :void
 				{


add filtering, mipMapping, wrapping and format properties for the environment map to RealisticMaterial

--- src/aerys/minko/render/material/realistic/RealisticMaterial.as
+++ src/aerys/minko/render/material/realistic/RealisticMaterial.as
@@ -22,6 +22,42 @@
 		{
 			setProperty(EnvironmentMappingProperties.ENVIRONMENT_MAP, value);
 		}
+
+        public function get environmentMapFiltering() : uint
+        {
+            return getProperty(EnvironmentMappingProperties.ENVIRONMENT_MAP_FILTERING);
+        }
+        public function set environmentMapFiltering(value : uint) : void
+        {
+            setProperty(EnvironmentMappingProperties.ENVIRONMENT_MAP_FILTERING, value);
+        }
+
+        public function get environmentMapMipMapping() : uint
+        {
+            return getProperty(EnvironmentMappingProperties.ENVIRONMENT_MAP_MIPMAPPING);
+        }
+        public function set environmentMapMipMapping(value : uint) : void
+        {
+            setProperty(EnvironmentMappingProperties.ENVIRONMENT_MAP_MIPMAPPING, value);
+        }
+
+        public function get environmentMapWrapping() : uint
+        {
+            return getProperty(EnvironmentMappingProperties.ENVIRONMENT_MAP_WRAPPING);
+        }
+        public function set environmentMapWrapping(value : uint) : void
+        {
+            setProperty(EnvironmentMappingProperties.ENVIRONMENT_MAP_WRAPPING, value);
+        }
+
+        public function get environmentMapFormat() : uint
+        {
+            return getProperty(EnvironmentMappingProperties.ENVIRONMENT_MAP_FORMAT);
+        }
+        public function set environmentMapFormat(value : uint) : void
+        {
+            setProperty(EnvironmentMappingProperties.ENVIRONMENT_MAP_FORMAT, value);
+        }

 		public function get reflectivity() : Number
 		{


Use LineShader to display bones

Use LineShader to display bones

--- src/aerys/minko/scene/controller/debug/BonesDebugController.as
+++ src/aerys/minko/scene/controller/debug/BonesDebugController.as
@@ -1,43 +1,55 @@
 package aerys.minko.scene.controller.debug
 {
+	import flash.utils.Dictionary;
+
+	import aerys.minko.ns.minko_scene;
+	import aerys.minko.render.Effect;
 	import aerys.minko.render.geometry.primitive.CubeGeometry;
+	import aerys.minko.render.geometry.primitive.LineGeometry;
 	import aerys.minko.render.material.Material;
 	import aerys.minko.render.material.basic.BasicMaterial;
+	import aerys.minko.render.material.line.LineMaterial;
+	import aerys.minko.render.material.line.LineShader;
 	import aerys.minko.scene.controller.AbstractController;
 	import aerys.minko.scene.controller.mesh.skinning.SkinningController;
 	import aerys.minko.scene.node.Group;
+	import aerys.minko.scene.node.ISceneNode;
 	import aerys.minko.scene.node.Mesh;
 	import aerys.minko.type.enum.DepthTest;
+	import aerys.minko.type.enum.TriangleCulling;
 	import aerys.minko.type.math.Vector4;
-
-	import flash.utils.Dictionary;

 	public final class BonesDebugController extends AbstractController
 	{
 		private var _bonesThickness		: Number;
-		private var _material   		: Material;
+		private var _material   		: LineMaterial;
 		private var _targetToBonesMesh	: Dictionary = new Dictionary();
+		private var _numExtraDescendant	: uint 		 = 0;

-		public function BonesDebugController(bonesThickness	: Number	= 0.02,
-											 bonesMaterial 	: Material 	= null)
+		public function BonesDebugController(bonesThickness		: Number		= 0.02,
+											 bonesMaterial 		: LineMaterial 	= null,
+											 numExtraDescendant	: uint 			= 0)
 		{
 			super(Mesh);

+			_numExtraDescendant = numExtraDescendant;
 			initialize(bonesThickness, bonesMaterial);
 		}

-		private function initialize(bonesThickness : Number, bonesMaterial : Material) : void
+		private function initialize(bonesThickness : Number, bonesMaterial : LineMaterial) : void
 		{
 			_bonesThickness = bonesThickness;
 			_material = bonesMaterial;

 			if (!_material)
 			{
-				var bonesBasicMaterial : BasicMaterial = new BasicMaterial();
+				var bonesBasicMaterial : LineMaterial = new LineMaterial();

-				bonesBasicMaterial.diffuseColor = 0x00ff00ff;
-				bonesBasicMaterial.depthWriteEnabled = false;
-				bonesBasicMaterial.depthTest = DepthTest.ALWAYS;
+				bonesBasicMaterial.effect = new Effect(new LineShader(null, -Number.MAX_VALUE));
+				bonesBasicMaterial.diffuseColor = 0xffe400ff;
+				bonesBasicMaterial.setProperty('depthWriteEnabled', false);
+				bonesBasicMaterial.setProperty('depthTest', DepthTest.ALWAYS);
+				bonesBasicMaterial.setProperty('triangleCulling', TriangleCulling.NONE);
 				_material = bonesBasicMaterial;
 			}

@@ -63,7 +75,6 @@
 			var skinningCtrl : SkinningController = target.getControllersByType(SkinningController)[0]
 				as SkinningController;

-
 			for each (var boneMesh : Mesh in _targetToBonesMesh[target])
 				boneMesh.parent = null;

@@ -80,10 +91,13 @@

 			for (var i : uint = 0; i < numChildren; ++i)
 			{
-				var child : Group = joint.getChildAt(i) as Group;
+				var child : ISceneNode = joint.getChildAt(i);

 				if (child != null)
 				{
+					for (var extraDescendantCount : uint = 0; extraDescendantCount < _numExtraDescendant && child is Group; ++extraDescendantCount)
+						child = Group(child).minko_scene::_children[0] as ISceneNode;
+
 					var nextJointPosition 	: Vector4 	= child.transform.transformVector(
 						Vector4.ZERO
 					);
@@ -92,15 +106,17 @@

 					if (boneLength != 0.)
 					{
+						var lineGeometry : LineGeometry = new LineGeometry();
 						var boneMesh : Mesh = new Mesh(
-							CubeGeometry.cubeGeometry, _material, '__bone__'
+							lineGeometry, _material, '__bone__'
 						);

-						boneMesh.transform
-							.lookAt(nextJointPosition)
-							.prependTranslation(0, 0, boneLength * .5)
-							.prependScale(_bonesThickness, _bonesThickness, boneLength);
-
+//						boneMesh.transform
+//							.lookAt(nextJointPosition)
+//							.prependTranslation(0, 0, boneLength * .5)
+//							.prependScale(_bonesThickness, _bonesThickness, boneLength);
+//
+						lineGeometry.moveTo(0, 0, 0).lineTo(nextJointPosition.x, nextJointPosition.y, nextJointPosition.z);
 						joint.addChild(boneMesh);
 						_targetToBonesMesh[target].push(boneMesh);
 					}


fixed bug with setObject()

fixed bug with setObject()

--- WeaveJS/src/weavejs/core/LinkableHashMap.as
+++ WeaveJS/src/weavejs/core/LinkableHashMap.as
@@ -110,36 +110,33 @@
 			if (Weave.getOwner(object))
 				throw new Error("LinkableHashMap cannot accept an object that is already registered with an owner.");

-			delayCallbacks();
-
 			if (object)
 			{
-				// preserve name order
-				var order:Array = _orderedNames.concat();
-				if (order.indexOf(name) < 0)
-					order.push(name);
-
-				// remove any object currently using this name
-				removeObject(name);
+				delayCallbacks();
+
 				// register the object as a child of this LinkableHashMap
 				Weave.linkableChild(this, object);
-				// save the name-object mappings
+				// replace existing object
+				var oldObject:ILinkableObject = _nameToObjectMap[name];
 				_nameToObjectMap[name] = object;
 				_map_objectToNameMap.set(object, name);
-				// remember that this name was used.
+				if (_orderedNames.indexOf(name) < 0)
+					_orderedNames.push(name);
+				// remember that this name was used in case there was no previous object
 				_previousNameMap[name] = true;

-				// preserve name order
-				setNameOrder(order);
-				// make sure the callback variables signal that the object was added
-				_childListCallbacks.runCallbacks(name, object, null);
+				// make callback variables signal that the object was replaced or added
+				_childListCallbacks.runCallbacks(name, object, oldObject);
+
+				// dispose the object AFTER the callbacks know that the object was removed
+				Weave.dispose(oldObject);
+
+				resumeCallbacks();
 			}
 			else
 			{
 				removeObject(name);
 			}
-
-			resumeCallbacks();
 		}

 		public function getName(object:ILinkableObject):String
@@ -351,6 +348,8 @@
 			var object:ILinkableObject = _nameToObjectMap[name];
 			if (object == null)
 				return; // do nothing if the name isn't mapped to an object.
+
+			delayCallbacks();

 			//trace(LinkableHashMap, "removeObject",name,object);
 			// remove name & associated object
@@ -363,7 +362,9 @@
 			_childListCallbacks.runCallbacks(name, null, object);

 			// dispose the object AFTER the callbacks know that the object was removed
-			Weave.dispose(object);
+			Weave.dispose(object);
+
+			resumeCallbacks();
 		}

 		public function removeAllObjects():void


Transferred from the Adobe Open Source Subversion Repository

Revision: 12744
Author:   smgilson@adobe.com
Date:     2009-12-09T20:33:46.610069Z

Log Message:
-----------
asdoc prep for L10N

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

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

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

--- frameworks/projects/framework/src/mx/core/IVisualElement.as
+++ frameworks/projects/framework/src/mx/core/IVisualElement.as
@@ -256,7 +256,7 @@
     function set postLayoutTransformOffsets(value:TransformOffsets):void;

     /**
-     *  Contains true, when the element is in 3D.
+     *  Contains true when the element is in 3D.
      *  The element can be in 3D either because
      *  it has 3D transform properties or it has 3D post layout transform offsets or both.
      *


Transferred from the Adobe Open Source Subversion Repository

Revision: 12016
Author:   egeorgie@adobe.com
Date:     2009-11-19T22:37:57.656940Z

Log Message:
-----------
Fix MXMLC compilers don't honor bitmapfill x,y translation http://bugs.adobe.com/jira/browse/SDK-24272

Problems fixed:
1. BitmapFill - Explicit matrix was offset relative to the natural bounds top left, should ignore natural bounds.
2. BitmapFill - Explicit x/y overrides were applied relative to the natural bounds top-left, should be applied relative to (0,0) - test case in this bug.
3. BitmapFill - Explicit scaleX/scaleY were always combined with the default fill transform (problem for fillMode="scale").
4. Path - Stroke bounds for path only were wrong - the fill bounds were used instead.

QE notes: Add additional tests for problems described above.
Doc notes: None
Bugs: SDK-24272
Reviewer: Jason
Tests run: checkintests + mustella cyclone
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradient.as</path>

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

--- frameworks/projects/framework/src/mx/graphics/BitmapFill.as
+++ frameworks/projects/framework/src/mx/graphics/BitmapFill.as
@@ -248,9 +248,8 @@
 	//----------------------------------
 	//  offsetX
 	//----------------------------------
-	private var _offsetX:Number = 0;
-
-	[Bindable("propertyChange")]
+
+    [Bindable("propertyChange")]
 	[Inspectable(category="General")]
 	[Deprecated(replacement="x", since="4.0")]

@@ -267,20 +266,21 @@
 	 */
 	public function get offsetX():Number
 	{
-		return x;
+		return isNaN(x) ? 0 : x;
 	}

 	public function set offsetX(value:Number):void
 	{
+        var oldValue:Number = isNaN(x) ? 0 : x; // Avoid warning since the offsetY getter is deprecated
 		x = value;
+        dispatchFillChangedEvent("offsetX", oldValue, value);
 	}

 	//----------------------------------
 	//  offsetY
 	//----------------------------------
-	private var _offsetY:Number = 0;
-
-	[Bindable("propertyChange")]
+
+    [Bindable("propertyChange")]
 	[Inspectable(category="General")]
 	[Deprecated(replacement="y", since="4.0")]

@@ -297,12 +297,14 @@
 	 */
 	public function get offsetY():Number
 	{
-		return y;
+		return isNaN(y) ? 0 : y;
 	}

 	public function set offsetY(value:Number):void
 	{
+        var oldValue:Number = isNaN(y) ? 0 : y; // Avoid warning since the offsetY getter is deprecated
 		y = value;
+        dispatchFillChangedEvent("offsetY", oldValue, value);
 	}

 	//----------------------------------
@@ -436,7 +438,7 @@
 	//  scaleX
 	//----------------------------------

-	private var _scaleX:Number = 1.0;
+	private var _scaleX:Number;

 	[Bindable("propertyChange")]
 	[Inspectable(category="General")]
@@ -446,56 +448,58 @@
 	 *  from 0.0 to 1.0.
 	 *  If 1.0, the bitmap is filled at its natural size.
 	 *
-	 *  @default 1.0
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function get scaleX():Number
+	{
+        return compoundTransform ? compoundTransform.scaleX : _scaleX;
+	}
+
+    /**
+     *  @private
+     */
+	public function set scaleX(value:Number):void
+	{
+		if (value != scaleX)
+		{
+            var oldValue:Number = scaleX;
+
+            if (compoundTransform)
+            {
+                // If we have a compoundTransform, only non-NaN values are allowed
+                if (!isNaN(value))
+                    compoundTransform.scaleX = value;
+            }
+            else
+            {
+			    _scaleX = value;
+            }
+			dispatchFillChangedEvent("scaleX", oldValue, value);
+		}
+	}
+
+	//----------------------------------
+	//  scaleY
+	//----------------------------------
+
+	private var _scaleY:Number;
+
+	[Bindable("propertyChange")]
+	[Inspectable(category="General")]
+
+	/**
+	 *  The percent to vertically scale the bitmap when filling,
+	 *  from 0.0 to 1.0.
+	 *  If 1.0, the bitmap is filled at its natural size.
 	 *
 	 *  @langversion 3.0
 	 *  @playerversion Flash 9
 	 *  @playerversion AIR 1.1
 	 *  @productversion Flex 3
 	 */
-	public function get scaleX():Number
-	{
-        return compoundTransform ? compoundTransform.scaleX : _scaleX;
-	}
-
-    /**
-     *  @private
-     */
-	public function set scaleX(value:Number):void
-	{
-		if (value != scaleX)
-		{
-            var oldValue:Number = scaleX;
-
-            if (compoundTransform)
-                compoundTransform.scaleX = value;
-            else
-			    _scaleX = value;
-			dispatchFillChangedEvent("scaleX", oldValue, value);
-		}
-	}
-
-	//----------------------------------
-	//  scaleY
-	//----------------------------------
-
-	private var _scaleY:Number = 1.0;
-
-	[Bindable("propertyChange")]
-	[Inspectable(category="General")]
-
-	/**
-	 *  The percent to vertically scale the bitmap when filling,
-	 *  from 0.0 to 1.0.
-	 *  If 1.0, the bitmap is filled at its natural size.
-	 *
-	 *  @default 1.0
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
 	public function get scaleY():Number
 	{
         return compoundTransform ? compoundTransform.scaleY : _scaleY;
@@ -511,9 +515,15 @@
             var oldValue:Number = scaleY;

             if (compoundTransform)
-                compoundTransform.scaleY = value;
+            {
+                // If we have a compoundTransform, only non-NaN values are allowed
+                if (!isNaN(value))
+                    compoundTransform.scaleY = value;
+            }
             else
+            {
                 _scaleY = value;
+            }
             dispatchFillChangedEvent("scaleY", oldValue, value);
         }
 	}
@@ -733,14 +743,14 @@
 	//  x
 	//----------------------------------

-    private var _x:Number = 0;
+    private var _x:Number;

     [Bindable("propertyChange")]
     [Inspectable(category="General")]

     /**
      *  The distance by which to translate each point along the x axis.
-     *
+     *
      *  @langversion 3.0
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
@@ -748,7 +758,7 @@
      */
     public function get x():Number
     {
-        return compoundTransform ? compoundTransform.x : _x;
+        return compoundTransform ? compoundTransform.x : _x;
     }

 	/**
@@ -760,9 +770,15 @@
         if (value != oldValue)
         {
             if (compoundTransform)
-                compoundTransform.x = value;
+            {
+                // If we have a compoundTransform, only non-NaN values are allowed
+                if (!isNaN(value))
+                    compoundTransform.x = value;
+            }
             else
+            {
                 _x = value;
+            }
             dispatchFillChangedEvent("x", oldValue, value);
         }
     }
@@ -771,12 +787,12 @@
 	//  y
 	//----------------------------------

-    private var _y:Number = 0;
+    private var _y:Number;

     [Bindable("propertyChange")]
     [Inspectable(category="General")]

-     /**
+    /**
      *  The distance by which to translate each point along the y axis.
      *
      *  @langversion 3.0
@@ -786,7 +802,7 @@
      */
     public function get y():Number
     {
-        return compoundTransform ? compoundTransform.y : _y;
+        return compoundTransform ? compoundTransform.y : _y;
     }

     /**
@@ -798,9 +814,15 @@
         if (value != oldValue)
         {
             if (compoundTransform)
-                compoundTransform.y = value;
+            {
+                // If we have a compoundTransform, only non-NaN values are allowed
+                if (!isNaN(value))
+                    compoundTransform.y = value;
+            }
             else
+            {
                 _y = value;
+            }

             dispatchFillChangedEvent("y", oldValue, value);
         }
@@ -834,22 +856,42 @@
         if (compoundTransform)
         {
             transformMatrix = compoundTransform.matrix;
-            transformMatrix.translate(targetBounds.left, targetBounds.top);
+            transformMatrix.translate(targetOrigin.x, targetOrigin.y);
         }
         else
         {
+            // Calculate default scaleX, scaleY
+            var defaultScaleX:Number = scaleX;
+            var defaultScaleY:Number = scaleY;
+
+            // If fillMode is scale then scale to fill the content area
+            if (fillMode == BitmapFillMode.SCALE)
+            {
+                // calculate defaultScaleX only if explicit scaleX is not specified
+                if (isNaN(scaleX) && sourceAsBitmapData.width > 0)
+                    defaultScaleX = targetBounds.width / sourceAsBitmapData.width;
+
+                // calculate defaultScaleY if it's not already specified
+                if (isNaN(scaleY) && sourceAsBitmapData.height > 0)
+                    defaultScaleY = targetBounds.height / sourceAsBitmapData.height;
+            }
+
+            if (isNaN(defaultScaleX))
+                defaultScaleX = 1;
+            if (isNaN(defaultScaleY))
+                defaultScaleY = 1;
+
+            // Calculate default x, y
+            var regX:Number =  !isNaN(x) ? x + targetOrigin.x : targetBounds.left;
+            var regY:Number =  !isNaN(y) ? y + targetOrigin.y : targetBounds.top;
+
             transformMatrix.identity();
             transformMatrix.translate(-transformX, -transformY);
-
-            // If fillMode is scale and our bitmapdata width and height are > 0, scale to fill the content area
-            if (fillMode == BitmapFillMode.SCALE && sourceAsBitmapData.width > 0 && sourceAsBitmapData.height > 0)
-                transformMatrix.scale((targetBounds.width/sourceAsBitmapData.width), (targetBounds.height/sourceAsBitmapData.height));
-
-            transformMatrix.scale(scaleX, scaleY);
+            transformMatrix.scale(defaultScaleX, defaultScaleY);
             transformMatrix.rotate(rotation * RADIANS_PER_DEGREES);
-            transformMatrix.translate(x + targetBounds.left + transformX, y + targetBounds.top + transformY);
-        }
-
+            transformMatrix.translate(regX + transformX, regY + transformY);
+        }
+
         // If repeat is true, fillMode is repeat, or if the source bitmap size
         // equals or exceeds the targetBounds, just use the source bitmap
         if (repeatFill ||
@@ -906,7 +948,7 @@
                 // Draw the transformed bitmapData into a new bitmapData that is the size of the bounds
                 // This will prevent the edge pixels getting repeated to fill the empty space
                 nonRepeatAlphaSource = new BitmapData(newW, newY, true, 0xFFFFFF);
-                nonRepeatAlphaSource.draw(sourceAsBitmapData, transformMatrix);
+                nonRepeatAlphaSource.draw(sourceAsBitmapData, transformMatrix, null, null, null, smooth);

                 // The transform matrix has already been applied to the source, so just use identity
                 // for the beginBitmapFill call


Transferred from the Adobe Open Source Subversion Repository

Revision: 3035
Author:   jvroom@adobe.com
Date:     2008-08-29T06:18:11.275196Z

Log Message:
-----------
* Added HTTPMultiService component - refactored the guts of HTTPService into a new
class AbstractOperation which HTTPService now wraps.

* Moved concurrency and showBusyCursor classes up to the mx.rpc level from mx.rpc.mxml.
Partly this improves consistency and partly because it is awkward to implement them
with the wrapping design in the subclass.  This does introduce a new dependency on
CursorManager in mx.rpc.HTTPService, though I think that should turn into a "runtime binding"
so we remove the compile time binding altogether.

* Added managers, operationManager, resultType, resultElementType, properties to the
AbstractService and AbstractInvoker classes.  These are used to improve the metadata information
on these operations for better tooling in the future, and to allow management services to
tie into the service infrastructure.

* AsyncToken gets a default parameter for its constructor so it can be used in MXML.

* Moved endpoint property up from the MXML to the regular mx.rpc version to improve consistency

The blazeds RPC tests passed unfortunately I had problems getting the RPC tests in the sdk branch
to build and run so let me know if you see any problems on those.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/mxml/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/SerializationFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/Operation.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/WebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncToken.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/Operation.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as
+++ frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as
@@ -106,8 +106,6 @@
     {
         super(rootURL, destination);

-        showBusyCursor = false;
-        concurrency = Concurrency.MULTIPLE;
     }

     //--------------------------------------------------------------------------
@@ -121,72 +119,6 @@
      */
     private var resourceManager:IResourceManager =
 									ResourceManager.getInstance();
-
-    //--------------------------------------------------------------------------
-    //
-    // Properties
-    //
-    //--------------------------------------------------------------------------
-
-    [Inspectable(enumeration="multiple,single,last", defaultValue="multiple", category="General")]
-    /**
-     * Value that indicates how to handle multiple calls to the same service. The default
-     * value is multiple. The following values are permitted:
-     *

-     *
multiple Existing requests are not cancelled, and the developer is
-     * responsible for ensuring the consistency of returned data by carefully
-     * managing the event stream. This is the default value.

-     *
single Only a single request at a time is allowed on the operation;
-     * multiple requests generate a fault.

-     *
last Making a request cancels any existing request.

-     *

-     */
-    public function get concurrency():String
-    {
-        return _concurrency;
-    }
-
-    /**
-     *  @private
-     */
-    public function set concurrency(c:String):void
-    {
-        _concurrency = c;
-    }
-
-    [Inspectable(defaultValue="false", category="General")]
-    /**
-    * If true, a busy cursor is displayed while a service is executing. The default
-    * value is false.
-    */
-    public function get showBusyCursor():Boolean
-    {
-        return _showBusyCursor;
-    }
-
-    public function set showBusyCursor(sbc:Boolean):void
-    {
-        _showBusyCursor = sbc;
-    }
-
-
-    //--------------------------------------------------------------------------
-    //
-    // Public Methods
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     * @private
-     */
-    override public function cancel(id:String = null):AsyncToken
-    {
-        if (showBusyCursor)
-        {
-            CursorManager.removeBusyCursor();
-        }
-        return super.cancel(id);
-    }

     /**
      * Called after the implementing object has been created and all
@@ -209,66 +141,12 @@
         this.document = document;
     }

-    /**
-     * Executes an HTTPService request. The parameters are optional, but if specified should
-     * be an Object containing name-value pairs or an XML object depending on the contentType.
-     * @return an AsyncToken.  It will be the same object available in the result
-     * or fault event's token property.
-     */
-    override public function send(parameters:Object = null):AsyncToken
-    {
-        //concurrency check
-        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;
-        }
-
-        return super.send(parameters);
-    }
-

     //--------------------------------------------------------------------------
     //
     // Internal Methods
     //
     //--------------------------------------------------------------------------
-
-    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;
-    }

     /**
      * If this event is a fault, and the event type does not
@@ -315,13 +193,10 @@
     //
     //--------------------------------------------------------------------------

-    private var _concurrency:String;
-
 	private var document:Object; //keep the document for validation

 	private var id:String; //need to know our own id for validation

-	private var _showBusyCursor:Boolean;
 }

 }


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

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

 package spark.effects
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package spark.filters {


Transferred from the Adobe Open Source Subversion Repository

Revision: 12850
Author:   jimurphy@adobe.com
Date:     2009-12-11T14:57:14.623098Z

Log Message:
-----------
add 6 new DMV projects to the SDK:
automation
automation_air
automation_dmv
automation_flashflexkit
automation_spark
datavisualization

These projects are setup to build in an ant main call.  There are currently several warnings in the datavisualization project that will be cleaned up.  No checkintests exist for these projects as of yet.

I also modified the exisitng projects build files for easier management of the localization targets, bundle and fat-swc. If the projects that I updated:airframework,airspark,framework,playerglobal,rpc,and spark.  All the new projects have been implemented this same way.

QE notes: DMV folks should run through their tests
Doc notes: probably
Bugs: nope
Reviewer:
Tests run: ran the following targets: compile,checkintests,other.locales and doc
Is noteworthy for integration: no

Modified Paths:
--------------
1404 paths were modified

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

--- frameworks/projects/charts/src/mx/charts/effects/effectClasses/SeriesInterpolateInstance.as
+++ frameworks/projects/charts/src/mx/charts/effects/effectClasses/SeriesInterpolateInstance.as
@@ -0,0 +1,146 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.charts.effects.effectClasses
+{
+
+import mx.events.FlexEvent;
+
+/**
+ *  The SeriesInterpolateInstance class implements the instance class
+ *  for the SeriesInterpolate effect.
+ *  Flex creates an instance of this class when it plays a SeriesInterpolate effect;
+ *  you do not create one yourself.
+ *
+ *  @see mx.charts.effects.SeriesInterpolate
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class SeriesInterpolateInstance extends SeriesEffectInstance
+{
+    include "../../../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  @param target The target of the effect.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function SeriesInterpolateInstance(target:Object)
+    {
+        super(target);
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Variables
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    private var _sourceRenderData:Object;
+
+    /**
+     *  @private
+     */
+    private var _destRenderData:Object;
+
+    /**
+     *  @private
+     */
+    private var _len:Number;
+
+    /**
+     *  @private
+     */
+    private var _customIData:Object;
+
+    /**
+     *  @private
+     */
+    private var seriesRenderData:Object;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override public function play():void
+    {
+        if (type == FlexEvent.HIDE)
+        {
+            end();
+            return;
+        }
+
+        _sourceRenderData = targetSeries.getRenderDataForTransition("hide");
+
+        _destRenderData = targetSeries.getRenderDataForTransition("show");
+
+        _len = Math.max(_sourceRenderData.length,_destRenderData.length);
+
+        if (_sourceRenderData && _destRenderData)
+            _customIData = targetSeries.beginInterpolation(_sourceRenderData,
+                                                      _destRenderData);
+
+        beginTween(_len);
+    }
+
+    /**
+     *  @private
+     */
+    override public function onTweenUpdate(value:Object):void
+    {
+        super.onTweenUpdate(value);
+
+        if (_sourceRenderData && _destRenderData)
+        {
+            targetSeries.interpolate(interpolationValues, _customIData);
+
+            targetSeries.invalidateDisplayList();
+
+//          updateDisplayList(targetSeries.unscaledWidth,
+//                            targetSeries.unscaledHeight);
+        }
+    }
+
+    /**
+     *  @private
+     */
+    override public function onTweenEnd(value:Object):void
+    {
+        super.onTweenEnd(value);
+
+        if (_sourceRenderData && _destRenderData)
+            targetSeries.endInterpolation(_customIData);
+    }
+}
+
+}


Issue #85: Update LogUtil to simplify returned logger.

--- src/com/esri/builder/supportClasses/LogUtil.as
+++ src/com/esri/builder/supportClasses/LogUtil.as
@@ -16,6 +16,8 @@
 package com.esri.builder.supportClasses
 {

+import com.esri.builder.logging.SimpleLogDecorator;
+
 import flash.utils.getQualifiedClassName;

 import mx.logging.ILogger;
@@ -31,7 +33,7 @@
         }

         var qualifiedClassName:String = getQualifiedClassName(classToLog);
-        return Log.getLogger(qualifiedClassName.replace('::', '.'));
+        return new SimpleLogDecorator(Log.getLogger(qualifiedClassName.replace('::', '.')));
     }
 }
 }


don't use undefined here

don't use undefined here

--- externs/GCL/src/main/flex/goog/events/EventType.as
+++ externs/GCL/src/main/flex/goog/events/EventType.as
@@ -125,7 +125,7 @@
      *
      * @see [eventtype]
      */
-    public static const ANIMATIONITERATION:String = undefined /* TODO type not set */;
+    public static const ANIMATIONITERATION:String = 'animationiteration';

     /**
      * Generated doc for missing field JSDoc.
@@ -174,7 +174,7 @@
      *
      * @see [eventtype]
      */
-    public static const ANIMATIONSTART:String = undefined /* TODO type not set */;
+    public static const ANIMATIONSTART:String = 'animationstart';

     /**
      * Generated doc for missing field JSDoc.
@@ -216,7 +216,7 @@
      *
      * @see [eventtype]
      */
-    public static const TRANSITIONEND:String = undefined /* TODO type not set */;
+    public static const TRANSITIONEND:String = 'transitionend';

     /**
      * Generated doc for missing field JSDoc.
@@ -482,7 +482,7 @@
      *
      * @see [eventtype]
      */
-    public static const FOCUSIN:String = undefined /* TODO type not set */;
+    public static const FOCUSIN:String = 'focus';

     /**
      * Generated doc for missing field JSDoc.
@@ -538,7 +538,7 @@
      *
      * @see [eventtype]
      */
-    public static const FOCUSOUT:String = undefined /* TODO type not set */;
+    public static const FOCUSOUT:String = 'blur';

     /**
      * Generated doc for missing field JSDoc.
@@ -832,7 +832,7 @@
      *
      * @see [eventtype]
      */
-    public static const ANIMATIONEND:String = undefined /* TODO type not set */;
+    public static const ANIMATIONEND:String = 'animationend';

     /**
      * Generated doc for missing field JSDoc.


asdoc

asdoc

--- src/com/kemsky/Stream.as
+++ src/com/kemsky/Stream.as
@@ -937,11 +937,10 @@
             output.writeObject(source);
         }

-        /*
-         * toString() part
-         * --------------------------------------------
-         */
-
+        /**
+         * Returns the string representation of Stream object.
+         * @return a String
+         */
         public function toString():String
         {
             return "Stream{" + source.join(",") + "}";


Transferred from the Adobe Open Source Subversion Repository

Revision: 10475
Author:   jimurphy@adobe.com
Date:     2009-09-21T23:58:45.057679Z

Log Message:
-----------
Merged 3.x revisions 10063,10086,10098,10123,10176,10397,10416-10418,10420 -> trunk

checkintests: pass

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ListCollectionView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.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/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/formatters/CurrencyFormatter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/SortField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>

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

--- frameworks/projects/mx/src/mx/controls/DataGrid.as
+++ frameworks/projects/mx/src/mx/controls/DataGrid.as
@@ -846,6 +846,11 @@
     /**
      *  @private
      */
+    private var lastItemFocused:DisplayObject;
+
+    /**
+     *  @private
+     */
     private var displayWidth:Number;

     /**
@@ -2114,9 +2119,18 @@
                 if (!c.visible)
                     continue;

-                item = c.getMeasuringRenderer(true, c);
+                item = c.cachedHeaderRenderer;
+                if (!item)
+                {
+                    item = createColumnItemRenderer(c, true, c);
+                    item.styleName = c;
+                    c.cachedHeaderRenderer = item;
+                }
                 if (DisplayObject(item).parent == null)
+                {
                     listContent.addChild(DisplayObject(item));
+                    item.visible = false;
+                }
                 rowData = DataGridListData(makeListData(c, uid, 0, c.colNum, c));
                 rowMap[item.name] = rowData;
                 if (item is IDropInListItemRenderer)
@@ -3062,6 +3076,12 @@
                 && newSize > cw)
             {
                 lastColumn.setWidth(newSize);
+                maxHorizontalScrollPosition =
+                    displayableColumns.length - visibleColumns.length;
+            }
+            else if (visibleColumns.length == 1 &&
+                    lastColumn == displayableColumns[displayableColumns.length - 1])
+            {
                 maxHorizontalScrollPosition =
                     displayableColumns.length - visibleColumns.length;
             }
@@ -4095,10 +4115,10 @@

         var len:uint = (listItems && listItems[0]) ? listItems[0].length : visibleColumns.length;
         var lastColIndex:int = horizontalScrollPosition + len - 1 + lockedColumnCount;
-        var partialCol:int = (listItems[0][len - 1].x + listItems[0][len - 1].width > listContent.width) ? 1 : 0;

         if (colIndex > lockedColumnCount)
         {
+            var partialCol:int = (listItems[0][len - 1].x + listItems[0][len - 1].width > listContent.width) ? 1 : 0;
             if (colIndex < horizontalScrollPosition + lockedColumnCount)
                 horizontalScrollPosition = colIndex - lockedColumnCount;
             else
@@ -4545,6 +4565,9 @@
             var ceEvent:CollectionEvent = CollectionEvent(event)
             if (ceEvent.kind == CollectionEventKind.RESET)
             {
+                if (itemEditorInstance)
+                    endEdit(DataGridEventReason.CANCELLED);
+                setEditedItemPosition(null); // nothing left to edit
                 if (generatedColumns)
                     generateCols();
                 else
@@ -4751,8 +4774,10 @@

         super.mouseUpHandler(event);

-        if (r && r != itemEditorInstance && lastItemDown == r)
-        {
+        if (r && r != itemEditorInstance &&
+                    (lastItemDown == r || itemRendererContains(lastItemDown, lastItemFocused)))
+        {
+            lastItemFocused = null;
             pos = itemRendererToIndices(r);

             if (pos && pos.y >= 0 && editable && !dontEdit)
@@ -4818,44 +4843,12 @@
                 // trace("<<DGFocusIn ");
                 return;
             }
-            // find renderer for target
-            var target:DisplayObject = DisplayObject(event.target);
-            while (target && target != this)
-            {
-                if (target is IListItemRenderer && target.parent.parent == this && target.parent is ListBaseContentHolder)
-                {
-                    if (target.visible)
-                        break;
-                }
-
-                if (target is IUIComponent)
-                    target = IUIComponent(target).owner;
-                else
-                    target = target.parent;
-            }
-            if (target)
-            {
-                var pos:Point = itemRendererToIndices(IListItemRenderer(target));
-                if (pos && pos.y >= 0 && editable && displayableColumns[pos.x].editable && !dontEdit)
-                {
-                    if (itemEditorInstance)
-                    {
-                        if (editedItemPosition.rowIndex == pos.y)
-                        {
-                            if (!endEdit(DataGridEventReason.NEW_COLUMN))
-                                return;
-                        }
-                        else if (!endEdit(DataGridEventReason.NEW_ROW))
-                            return;
-
-                    }
-                    beginningEdit(displayableColumns[pos.x].colNum, pos.y, IListItemRenderer(target));
-                }
-            }
+            lastItemFocused = DisplayObject(event.target);
             // trace("subcomponent got focus ignoring");
             // trace("<<DGFocusIn ");
             return;
         }
+        lastItemFocused = null;

         super.focusInHandler(event);


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/mx/src/mx/controls/TextArea.as
+++ frameworks/projects/mx/src/mx/controls/TextArea.as
@@ -68,6 +68,11 @@
  *  the Event.bubbles property set to false.

  *
  *  @eventType flash.events.Event.CHANGE
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="change", type="flash.events.Event")]

@@ -80,6 +85,11 @@
  *  when the data property changes.

  *
  *  @eventType mx.events.FlexEvent.DATA_CHANGE
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="dataChange", type="mx.events.FlexEvent")]

@@ -96,6 +106,11 @@
  *  in your application.

  *
  *  @eventType flash.events.TextEvent.LINK
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="link", type="flash.events.TextEvent")]

@@ -107,6 +122,11 @@
  *  the TextEvent.bubbles property set to false.

  *
  *  @eventType flash.events.TextEvent.TEXT_INPUT
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="textInput", type="flash.events.TextEvent")]

@@ -122,6 +142,11 @@
  *  and the bottom edge of its content area.
  *
  *  @default 0
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="paddingBottom", type="Number", format="Length", inherit="no")]

@@ -130,6 +155,11 @@
  *  and the top edge of its content area.
  *
  *  @default 0
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="paddingTop", type="Number", format="Length", inherit="no")]

@@ -137,6 +167,11 @@
  *  Color of the component if it is disabled.
  *
  *  @default 0xAAB3B3
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="disabledColor", type="uint", format="Color", inherit="yes")]

@@ -244,6 +279,11 @@
  *
  *  @includeExample examples/TextAreaExample.mxml
  *
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class TextArea extends ScrollControlBase
                       implements IDataRenderer, IDropInListItemRenderer,
@@ -261,6 +301,11 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function TextArea()
     {
@@ -461,6 +506,11 @@
      *
      *  @default 0
      *
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function set horizontalScrollPosition(value:Number):void
     {
@@ -497,6 +547,11 @@
      *
      *  @default ScrollPolicy.AUTO
      *
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function get horizontalScrollPolicy():String
     {
@@ -520,6 +575,11 @@
      *
      *  @default 0
      *
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function get maxHorizontalScrollPosition():Number
     {
@@ -541,6 +601,11 @@
      *
      *  @tiptext The maximum pixel offset into the content from the top edge
      *  @helpid 3182
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function get maxVerticalScrollPosition():Number
     {
@@ -596,6 +661,11 @@

     /**
      *  The internal UITextField that renders the text of this TextArea.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected var textField:IUITextField;

@@ -619,6 +689,11 @@
      *
      *  @tiptext The pixel offset into the content from the top edge
      *  @helpid 3181
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function set verticalScrollPosition(value:Number):void
     {
@@ -657,6 +732,11 @@
      *  @tiptext Specifies if vertical scrollbar is on, off,
      *  or automatically adjusts
      *  @helpid 3428
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function get verticalScrollPolicy():String
     {
@@ -701,6 +781,11 @@
      *  and <p> to place line breaks in the text field.

      *
      *  @default false
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get condenseWhite():Boolean
     {
@@ -758,6 +843,11 @@
      *
      *  @default null
      *  @see mx.core.IDataRenderer
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get data():Object
     {
@@ -823,6 +913,11 @@
      *  @tiptext Specifies whether to display '*'
      *  instead of the actual characters
      *  @helpid 3177
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get displayAsPassword():Boolean
     {
@@ -873,6 +968,11 @@
      *
      *  @tiptext Specifies whether the component is editable or not
      *  @helpid 3176
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get editable():Boolean
     {
@@ -1097,6 +1197,11 @@
      *  @default ""
      *
      *  @see flash.text.TextField#htmlText
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get htmlText():String
     {
@@ -1165,6 +1270,11 @@
      *  @default null
      *
      * @see flash.system.IMEConversionMode
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
      public function get imeMode():String
     {
@@ -1202,6 +1312,11 @@
      *
      *  @tiptext The number of characters in the TextArea
      *  @helpid 3173
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get length():int
     {
@@ -1235,6 +1350,11 @@
      *
      *  @default null
      *  @see mx.controls.listClasses.IDropInListItemRenderer
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get listData():BaseListData
     {
@@ -1276,6 +1396,11 @@
      *
      *  @tiptext The maximum number of characters that the TextArea can contain
      *  @helpid 3172
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get maxChars():int
     {
@@ -1350,6 +1475,11 @@
      *
      *  @tiptext The set of characters that may be entered into the TextArea
      *  @helpid 3174
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get restrict():String
     {
@@ -1395,6 +1525,11 @@
      *  Making the text selectable lets you copy text from the control.
      *
      *  @default false;
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get selectable():Boolean
     {
@@ -1440,6 +1575,11 @@
      *
      *  @tiptext The zero-based index value of the first character
      *  in the selection.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get selectionBeginIndex():int
     {
@@ -1485,6 +1625,11 @@
      *
      *  @tiptext The zero-based index value of the last character
      *  in the selection.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get selectionEndIndex():int
     {
@@ -1530,6 +1675,11 @@
     *  @see flash.text.StyleSheet
     *
     *  @default null
+    *
+    *  @langversion 3.0
+    *  @playerversion Flash 9
+    *  @playerversion AIR 1.1
+    *  @productversion Flex 3
     */
     public function get styleSheet():StyleSheet
     {
@@ -1605,6 +1755,11 @@
      *  @default ""
      *  @tiptext Gets or sets the TextArea content
      *  @helpid 3179
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get text():String
     {
@@ -1676,6 +1831,11 @@
      *  which updates the value immediately.

      *
      *  @see flash.text.TextField
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get textHeight():Number
     {
@@ -1704,6 +1864,11 @@
      *  which updates the value immediately.

      *
      *  @see flash.text.TextField
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get textWidth():Number
     {
@@ -1737,6 +1902,11 @@
      *
      *  @tiptext If true, lines will wrap. If false, long lines get clipped.
      *  @helpid 3175
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get wordWrap():Boolean
     {
@@ -2111,6 +2281,11 @@
      *
      *  @see flash.text.TextField
      *  @see flash.text.TextLineMetrics
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function getLineMetrics(lineIndex:int):TextLineMetrics
     {
@@ -2137,6 +2312,11 @@
      *  When the TextArea control gets the focus, the selection is visible
      *  if the selectionBeginIndex and selectionEndIndex
      *  properties are both set.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function setSelection(beginIndex:int, endIndex:int):void
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 22642
Author:   deeptika@adobe.com
Date:     2011-09-20T10:50:56.193363Z

Log Message:
-----------
Setting marker for LegendItem after adding it to the stage.
QE notes: Please add a mustella case to cover this.
Doc notes:
Bugs:  FLEXDMV-2655 (Legend label does not appear next to the image marker when using legendMarkerRenderers.)
Reviewer:
Tests run: checkintests, cyclone tests
Is noteworthy for integration:

Modified Paths:
--------------
/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/Legend.as

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

--- frameworks/projects/charts/src/mx/charts/Legend.as
+++ frameworks/projects/charts/src/mx/charts/Legend.as
@@ -6083,8 +6083,6 @@
             var c:Class = legendItemClass;
             var newItem:LegendItem = new c();

-            newItem.marker = legendData.marker;
-
             if (legendData.label != "")
                 newItem.label = legendData.label;

@@ -6101,7 +6099,9 @@

             addChild(newItem);

-            newItem.setStyle("backgroundColor", 0xEEEEFF);
+			newItem.marker = legendData.marker;
+
+			newItem.setStyle("backgroundColor", 0xEEEEFF);
         }

         /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 5808
Author:   clucier@adobe.com
Date:     2009-03-31T17:18:12.735949Z

Log Message:
-----------
Scrubbing the SDK for incorrectly used ArrayElementType metadata.
Bugs: SDK-15607
QE Notes: None
Doc Notes: None
Reviewer: Chet

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Canvas.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/LayoutContainer.as</path>

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

--- frameworks/projects/mx/src/mx/containers/Canvas.as
+++ frameworks/projects/mx/src/mx/containers/Canvas.as
@@ -179,16 +179,16 @@
     //----------------------------------
     //  constraintColumns
     //----------------------------------
-
+
+    /**
+     *  @private
+     *  Storage for the constraintColumns property.
+     */
+    private var _constraintColumns:Array = [];
+
     [ArrayElementType("mx.containers.utilityClasses.ConstraintColumn")]
     [Inspectable(arrayType="mx.containers.utilityClasses.ConstraintColumn")]
-
-    /**
-     *  @private
-     *  Storage for the constraintColumns property.
-     */
-    private var _constraintColumns:Array = [];
-
+
     /**
      *  @copy mx.containers.utilityClasses.IConstraintLayout#constraintColumns
      *
@@ -224,16 +224,16 @@
     //----------------------------------
     //  constraintRows
     //----------------------------------
-
+
+    /**
+     *  @private
+     *  Storage for the constraintRows property.
+     */
+    private var _constraintRows:Array = [];
+
     [ArrayElementType("mx.containers.utilityClasses.ConstraintRow")]
     [Inspectable(arrayType="mx.containers.utilityClasses.ConstraintRow")]
-
-    /**
-     *  @private
-     *  Storage for the constraintRows property.
-     */
-    private var _constraintRows:Array = [];
-
+
     /**
      *  @copy mx.containers.utilityClasses.IConstraintLayout#constraintRows
      *


Transferred from the Adobe Open Source Subversion Repository

Revision: 10475
Author:   jimurphy@adobe.com
Date:     2009-09-21T23:58:45.057679Z

Log Message:
-----------
Merged 3.x revisions 10063,10086,10098,10123,10176,10397,10416-10418,10420 -> trunk

checkintests: pass

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ListCollectionView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.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/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/formatters/CurrencyFormatter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/SortField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>

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

--- frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
+++ frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
@@ -195,8 +195,6 @@
  *  columns for a TileList layed out horizontally, you will get striping.  If
  *  the number of columns is an odd number, you will get a checkerboard pattern.
  *

- *
- *
Only takes effect if no backgroundColor is specified.

  *
  *  @default undefined
  *
@@ -2252,10 +2250,9 @@
         // methods if they want to
         iterator = collection.createCursor();
         collectionIterator = collection.createCursor(); //IViewCursor(collection);
-
         // trace("ListBase added change listener");
         collection.addEventListener(CollectionEvent.COLLECTION_CHANGE, collectionChangeHandler, false, 0, true);
-
+
         clearSelectionData();

         var event:CollectionEvent = new CollectionEvent(CollectionEvent.COLLECTION_CHANGE);
@@ -7353,15 +7350,27 @@
             }

             len = selectionDataArray.length;
+            var selectionData:ListBaseSelectionData;
+            var lastSelectionData:ListBaseSelectionData = firstSelectionData;
             if (len)
             {
-                uid = itemToUID(selectionDataArray[0].data);
-                insertSelectionDataBefore(uid, selectionDataArray[0], firstSelectionData);
+                selectionData = selectionDataArray[0];
+                if (selectionData) // can be null if selectedItem not in DP
+                {
+                    uid = itemToUID(selectionData.data);
+                    insertSelectionDataBefore(uid, selectionData, firstSelectionData);
+                    lastSelectionData = selectionData;
+                }
             }
             for (i = 1; i < len; i++)
             {
-                uid = itemToUID(selectionDataArray[i].data);
-                insertSelectionDataAfter(uid, selectionDataArray[i], selectionDataArray[i - 1]);
+                selectionData = selectionDataArray[i];
+                if (selectionData) // can be null if selectedItem not in DP
+                {
+                    uid = itemToUID(selectionData.data);
+                    insertSelectionDataAfter(uid, selectionData, lastSelectionData);
+                    lastSelectionData = selectionData;
+                }
             }
             selectionDataArray = null;
             proposedSelectedItemIndexes = null;
@@ -9015,7 +9024,7 @@
         if (!iteratorValid)
             return;

-        if (!collection)
+        if (!collection || collection.length == 0)
             return;

         switch (event.keyCode)


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

--- frameworks/projects/mx/src/mx/controls/listClasses/TileBase.as
+++ frameworks/projects/mx/src/mx/controls/listClasses/TileBase.as
@@ -43,7 +43,6 @@
 import mx.events.ScrollEventDetail;
 import mx.events.ScrollEventDirection;
 import mx.skins.halo.ListDropIndicator;
-import mx.styles.StyleManager;
 import mx.collections.ItemWrapper;
 import mx.collections.ModifiedCollectionView;

@@ -2441,7 +2440,7 @@
             return;
         }

-        StyleManager.getColorNames(colors);
+        styleManager.getColorNames(colors);

         var curItem:int = 0;
         for (var i:int = 0; i < rowCount; i++)


Transferred from the Adobe Open Source Subversion Repository

Revision: 20374
Author:   smgilson@adobe.com
Date:     2011-02-18T14:57:58.468559Z

Log Message:
-----------
ASdoc leanup - fix broken links, update for event name changes, remove FlashPlayer version tags.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableTextField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/managers/PersistenceManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/styles/metadata/GapStyles.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewReturnObject.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/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorApplicationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/TextInputOperation.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/managers/IPersistenceManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/styles/metadata/StyleableTextFieldTextStyles.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as
+++ frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as
@@ -46,10 +46,8 @@
  *

  *  <s:ViewNavigatorBase
  *    Properties
- *    destructionPolicy="auto"
  *    icon="null"
  *    label="null"
- *    overlayControls="true"
  *    transitionsEnabled="true"
  *  />
  *

@@ -71,8 +69,6 @@

     /**
      *  Constructor.
-     *
-     *  Creates an empty navigation stack.
      *
      *  @langversion 3.0
      *  @playerversion AIR 2.5


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/core/IRepeaterClient.as
+++ frameworks/projects/framework/src/mx/core/IRepeaterClient.as
@@ -17,6 +17,11 @@
  *  that can have multiple instances created by a Repeater.
  *  The IRepeaterClient interface is implemented by the UIComponent class
  *  and so is inherited by all Flex framework controls and containers.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public interface IRepeaterClient
 {
@@ -39,6 +44,11 @@
      *  For example, if the id is "b"
      *  and instanceIndices is [ 2, 4 ],
      *  you would reference it on the document as b[2][4].
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get instanceIndices():Array;

@@ -53,6 +63,11 @@

     /**
      *  @copy mx.core.UIComponent#isDocument
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get isDocument():Boolean;

@@ -77,6 +92,11 @@
      *  For example, even if a Repeater component starts at
      *  dataProvider item 4, the document reference of the first
      *  repeated component is b[0], not b[4].

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get repeaterIndices():Array;

@@ -93,6 +113,11 @@
      *  An Array that contains any enclosing Repeaters of the component.
      *  The Array is empty unless the component is within one or more Repeaters.
      *  The first element corresponds to the outermost Repeater.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get repeaters():Array;

@@ -115,6 +140,11 @@
      *  Developers should not need to call it.

      *
      *  @param parent The parent Repeater that created this component.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function initializeRepeaterArrays(parent:IRepeaterClient):void;
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 3219
Author:   deeptika@adobe.com
Date:     2008-09-16T08:33:39.937798Z

Log Message:
-----------
Checking in support for Network Monitor in rpc.swc

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/DirectHTTPChannel.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/netmon</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/netmon/NetworkMonitor.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as
+++ frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as
@@ -27,6 +27,7 @@
 import mx.messaging.events.MessageEvent;
 import mx.messaging.messages.AsyncMessage;
 import mx.messaging.messages.HTTPRequestMessage;
+import mx.netmon.NetworkMonitor;
 import mx.messaging.messages.IMessage;
 import mx.resources.IResourceManager;
 import mx.resources.ResourceManager;
@@ -666,6 +667,12 @@
                 message.url = URLUtil.getFullURL(rootURL, url);
             }

+            if (NetworkMonitor.isMonitoring())
+            {
+		    //trace(" HTTPService: Recording Headers (useProxy = true)");
+                message.recordHeaders = true;
+            }
+
         }
         else
         {
@@ -686,7 +693,13 @@
                 if (dcs != asyncRequest.channelSet)
                     asyncRequest.channelSet = dcs;
             }
-
+
+            if (NetworkMonitor.isMonitoring())
+	      {
+	    		//trace(" HTTPService: Recording Headers (useProxy = false)");
+	        	message.recordHeaders = true;
+            }
+
             message.url = URLUtil.getFullURL(rootURL, url);
         }


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

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

 package spark.components
 {


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

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

 package spark.events
 {