Transferred from the Adobe Open Source Subversion Repository

Revision: 3351
Author:   jimurphy@adobe.com
Date:     2008-09-25T15:17:51.460890Z

Log Message:
-----------
Merged 3.0.x revisions 3318,3320,3322,3324,3329,3336,3349 -> trunk
-includes AIK 20080923ap

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/ZipCodeValidator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/air_version.txt</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/asc/src/java/macromedia/abc/BytecodeBuffer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/IModuleInfo.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/win/AIR Integration Kit.zip</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/ZipCodeValidatorDomainType.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/mac/AIR Integration Kit.tbz2</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/airframework/src/mx/managers/NativeDragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PostLink.java</path>

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

--- frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as
+++ frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as
@@ -589,11 +589,16 @@

 		if (newType == DragEvent.DRAG_COMPLETE)
 		{
-			me = new InterManagerRequest(InterManagerRequest.DRAG_MANAGER_REQUEST);
-			me.name = "endDrag";
-			// trace("-->dispatch endDrag for DragManagerImpl", sm);
-			sandboxRoot.dispatchEvent(me);
-			// trace("<--dispatch endDrag for DragManagerImpl", sm);
+		    if (sm == sandboxRoot)
+		        endDrag();
+		    else
+		    {
+    			me = new InterManagerRequest(InterManagerRequest.DRAG_MANAGER_REQUEST);
+    			me.name = "endDrag";
+    			// trace("-->dispatch endDrag for DragManagerImpl", sm);
+    			sandboxRoot.dispatchEvent(me);
+    			// trace("<--dispatch endDrag for DragManagerImpl", sm);
+    		}
 		}
 	}


removed unused functions

removed unused functions

--- WeaveCore/src/weave/compiler/StandardLib.as
+++ WeaveCore/src/weave/compiler/StandardLib.as
@@ -322,34 +322,6 @@
 			if (value > max)
 				return max;
 			return value;
-		}
-
-		/**
-		 * This function filters out values outside of a given range.
-		 * @param value A value to filter.
-		 * @param min The minimum value to accept.
-		 * @param max The maximum value to accept.
-		 * @return If value is between min and max, returns value.  Otherwise, returns NaN.
-		 */
-		public static function filterRange(value:Number, min:Number, max:Number):Number
-		{
-			if (value < min || value > max)
-				return NaN;
-			return value;
-		}
-
-		/**
-		 * This function tests if a Number is within a min,max range.
-		 * @param value A value to filter.
-		 * @param min The minimum value to accept.
-		 * @param max The maximum value to accept.
-		 * @return If value is between min and max, returns true.  Otherwise, returns false.
-		 */
-		public static function numberInRange(value:Number, min:Number, max:Number):Boolean
-		{
-			if (value < min || value > max) // a condition will be false if a value is NaN
-				return false;
-			return true;
 		}

 		/**


Fixed null pointer error

Fixed null pointer error

--- WeaveCore/src/weave/core/WeaveXMLDecoder.as
+++ WeaveCore/src/weave/core/WeaveXMLDecoder.as
@@ -164,7 +164,7 @@
 			var encoding:String = String(dataNode.attributes.encoding).toLowerCase();
 			if (encoding == WeaveXMLEncoder.JSON_ENCODING)
 			{
-				var str:String = dataNode.firstChild.nodeValue;
+				var str:String = dataNode.firstChild ? dataNode.firstChild.nodeValue : '';
 				var object:Object = null;
 				var json:Object = ClassUtils.getClassDefinition('JSON');
 				if (json)


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as
+++ frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as
@@ -112,6 +112,13 @@
  *  Only one view navigator is active and visible at a time.
  *  This class includes a TabBar control that provides the ability to toggle between
  *  the collection of view navigators.
+ *
+ *
The following images shows a TabbedViewNavigator with three sections:
+ *  Employees, Contacts, and Search:

+ *
+ *

+ *
+ *

  *
  *
The TabbedViewNavigatorApplication container automatically creates
  *  a single TabbedViewNavigator container for the entire application.


Renamed external interface methods to avoid a bug in IE8.

--- BasicPlayer.as
+++ BasicPlayer.as
@@ -149,10 +149,10 @@
 			if (ExternalInterface.available) {
 				try {
 					// Add JavaScript methods on object
-					ExternalInterface.addCallback("play", playMedia);
-					ExternalInterface.addCallback("pause", pauseMedia);
-					ExternalInterface.addCallback("stop", stopMedia);
-					ExternalInterface.addCallback("seek", seek);
+					ExternalInterface.addCallback("playMedia", playMedia);
+					ExternalInterface.addCallback("pauseMedia", pauseMedia);
+					ExternalInterface.addCallback("stopMedia", stopMedia);
+					ExternalInterface.addCallback("seekMedia", seek);
 					ExternalInterface.addCallback("setVolume", setVolume);
 					ExternalInterface.addCallback("getVolume", getVolume);
 					ExternalInterface.addCallback("setMuted", setMuted);


Transferred from the Adobe Open Source Subversion Repository

Revision: 13046
Author:   hneelu@adobe.com
Date:     2009-12-17T12:34:07.695337Z

Log Message:
-----------
Updating automation sources..

Modified Paths:
--------------
451 paths were modified

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

--- frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkApplicationAutomationImpl.as
+++ frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkApplicationAutomationImpl.as
@@ -76,7 +76,7 @@
 		override public function get automationName():String
 		{
 			var am:IAutomationManager2 = Automation.automationManager2;
-			return am.getUniqueApplicationId();
+			return am.getUniqueApplicationID();
 		}

 		/**
@@ -127,7 +127,7 @@

 			// we need to add popup children

-			var tempChildren1:Array  = am.getPopoupChildren();
+			var tempChildren1:Array  = am.getPopUpChildren();
 			var n:int = 0;
 			var i:int = 0;


Login is required

Login is required

--- Arguments/src/Controller/ArgumentController.as
+++ Arguments/src/Controller/ArgumentController.as
@@ -83,10 +83,14 @@

 		//-------------------- Load Map --------------------------------//
 		public function loadMap(id:String):void{
-			AGORAModel.getInstance().agoraMapModel.ID = int(id);
-			FlexGlobals.topLevelApplication.agoraMenu.visible = false;
-			FlexGlobals.topLevelApplication.map.visible = true;
-			LoadController.getInstance().fetchMapData();
+			if(AGORAModel.getInstance().userSessionModel.loggedIn()){
+				AGORAModel.getInstance().agoraMapModel.ID = int(id);
+				FlexGlobals.topLevelApplication.agoraMenu.visible = false;
+				FlexGlobals.topLevelApplication.map.visible = true;
+				LoadController.getInstance().fetchMapData();
+			}else{
+				Alert.show("Please sign in into AGORA before loading a map.");
+			}
 		}

 		//---------------------Creating a New Map-----------------------//


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/spark/src/spark/effects/Move.as
+++ frameworks/projects/spark/src/spark/effects/Move.as
@@ -68,6 +68,31 @@
 {
     include "../core/Version.as";

+    //--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    private static var AFFECTED_PROPERTIES:Array =
+        ["translationX", "translationY",
+         "postLayoutTranslationX","postLayoutTranslationY",
+         "left", "right", "top", "bottom",
+         "horizontalCenter", "verticalCenter"];
+
+    private static var RELEVANT_STYLES:Array =
+        ["left", "right", "top", "bottom",
+         "horizontalCenter", "verticalCenter"];
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
     /**
      *  Constructor.
      *
@@ -207,6 +232,22 @@
     //  Overridden methods
     //
     //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override public function get relevantStyles():Array /* of String */
+    {
+        return RELEVANT_STYLES;
+    }
+
+    /**
+     *  @private
+     */
+    override public function getAffectedProperties():Array /* of String */
+    {
+        return AFFECTED_PROPERTIES;
+    }

     // FIXME (chaase): Can we remove this override? It exists only to create motionPaths,
     // which we should be able to do somewhere else


Re-added reset; fixed load bug re fixed

Re-added reset; fixed load bug re fixed

--- src/LevelState.as
+++ src/LevelState.as
@@ -44,6 +44,8 @@

 		protected var undoButton:MenuButton;
 		protected var redoButton:MenuButton;
+		protected var loadButton:MenuButton;
+		protected var resetButton:MenuButton;

 		protected var displayTime:DTime;
 		protected var preserveModule:Boolean;
@@ -174,10 +176,10 @@
 		protected function makeSaveButtons():void {
 			if (!findSuccessSave()) return;

-			var loadFromSuccessButton:GraphicButton = new GraphicButton(90, 50, _success_load_sprite, loadFromSuccess, new Key("S"));
-			upperLayer.add(loadFromSuccessButton);
-
-			var resetButton:GraphicButton = new GraphicButton(130, 50, _reset_sprite, reset);
+			loadButton = new GraphicButton(90, 50, _success_load_sprite, loadFromSuccess, new Key("S"));
+			upperLayer.add(loadButton);
+
+			resetButton = new GraphicButton(130, 50, _reset_sprite, reset);
 			upperLayer.add(resetButton);
 		}

@@ -539,6 +541,8 @@
 		protected function checkMenuState():void {
 			undoButton.exists = actionStack.length > 0;
 			redoButton.exists = reactionStack.length > 0;
+			loadButton.exists = findSuccessSave() != savedString && findSuccessSave() != null;
+			resetButton.exists = savedString && savedString != RESET_SAVE;

 			checkCursorState();

@@ -793,6 +797,10 @@

 		protected function load(saveString:String = null):void {
+			for each (var module:Module in level.modules)
+				if (module.FIXED)
+					module.deregister(); //cleanup
+
 			initLayers();
 			displayWires = new Vector.<DWire>;
 			displayModules = new Vector.<DModule>;
@@ -854,14 +862,12 @@
 		}

 		protected function reset():void {
-			//for each (var module:Module in level.modules)
-				//if (module.FIXED)
-					//module.deregister();
-			//
-			//savedString = U.SAVE_DELIM + U.SAVE_DELIM + U.SAVE_DELIM + U.SAVE_DELIM;
-			//U.save.data[level.name] = savedString;
-			//load();
-			//TODO: transform into a custom action!
+			if (RESET_SAVE == savedString || savedString == null)
+				return;
+
+			new CustomAction(function loadSuccess(old:String = null):Boolean { load(RESET_SAVE); reactionStack = new Vector.<Action>; return true; },
+							 function loadOld(old:String = null):void { load(old); },
+							 savedString).execute();
 		}

@@ -882,6 +888,7 @@
 		protected const LIST_ZOOM:int = 4;

 		protected const SUCCESS_SUFFIX:String = '-succ';
+		protected const RESET_SAVE:String = U.SAVE_DELIM + U.SAVE_DELIM + U.SAVE_DELIM + U.SAVE_DELIM;

 		[Embed(source = "../lib/art/ui/lightbulb.png")] private const _module_sprite:Class;
 		[Embed(source = "../lib/art/ui/wire.png")] private const _connect_sprite:Class;


fixing issue with RangeOfMotion target during validation of position

--- fp10/src/as3isolib/display/IsoView.as
+++ fp10/src/as3isolib/display/IsoView.as
@@ -282,8 +282,8 @@

 			if ( limitRangeOfMotion && romTarget )
 			{
-				var ndx:Number;
-				var ndy:Number;
+				var ndx:Number = 0;
+				var ndy:Number = 0;

 				var rect:Rectangle = romTarget.getBounds( this );
 				var isROMBigger:Boolean = !romBoundsRect.containsRect( rect );


Fixed a bug with the spatial index for lines and points where the
index assumed all line and point geometries were a line and point,
respectively.

Tested with kyle.xml by loading a line and point shape file and
probing and selecting the geometries and observing that it worked.

Change-Id: Ie400ac1ed02feba96933268fe7a5b2f9ea95131f

--- WeaveUI/src/weave/utils/SpatialIndex.as
+++ WeaveUI/src/weave/utils/SpatialIndex.as
@@ -227,6 +227,55 @@
 			return _kdTree.queryRange(minKDKey, maxKDKey);
 		}

+		private function polygonOverlapsPolyLine(polygon:Array, line:Object):Boolean
+		{
+			for (var i:int = 0; i < line.length - 1; ++i)
+			{
+				if (ComputationalGeometryUtils.polygonOverlapsLine(
+											_tempBoundsPolygon,
+											line[i].x, line[i].y,
+											line[i + 1].x, line[i + 1].y	))
+				{
+					return true;
+				}
+			}
+
+			return false;
+		}
+		private function polygonOverlapsPolyPoint(polygon:Array, point:Object):Boolean
+		{
+			for (var i:int = 0; i < point.length; ++i)
+			{
+				if (ComputationalGeometryUtils.polygonOverlapsPoint(_tempBoundsPolygon, point[i].x, point[i].y))
+					return true;
+			}
+
+			return false;
+		}
+		private function getMinimumUnscaledDistanceFromPolyLine(line:Object, x:Number, y:Number):Number
+		{
+			var min:Number = Number.POSITIVE_INFINITY;
+
+			for (var i:int = 0; i < line.length - 1; ++i)
+			{
+				min = Math.min(
+					ComputationalGeometryUtils.getUnscaledDistanceFromLine(line[i].x, line[i].y, line[i + 1].x, line[i + 1].y,x, y),
+					min);
+			}
+			return min;
+		}
+		private function getMinimumUnscaledDistanceFromPolyPoint(line:Object, x:Number, y:Number):Number
+		{
+			var min:Number = Number.POSITIVE_INFINITY;
+
+			for (var i:int = 0; i < line.length; ++i)
+			{
+				min = Math.min(
+					ComputationalGeometryUtils.getDistanceFromPointSq(line[i].x, line[i].y, x, y),
+					min);
+			}
+			return min;
+		}
 		/**
 		 * This function will get the keys which intersect with the bounds.
 		 *
@@ -287,10 +336,7 @@
 							}
 							else if (genGeomIsLine)
 							{
-								if (	ComputationalGeometryUtils.polygonOverlapsLine(
-											_tempBoundsPolygon, /* bounds polygon */
-											part[0].x, part[0].y,
-											part[1].x, part[1].y	))
+								if (polygonOverlapsPolyLine(_tempBoundsPolygon, part))
 								{
 									result.push(key);
 									continue keyLoop;
@@ -298,7 +344,7 @@
 							}
 							else // point
 							{
-								if (ComputationalGeometryUtils.polygonOverlapsPoint(_tempBoundsPolygon, part[0].x, part[0].y))
+								if (polygonOverlapsPolyPoint(_tempBoundsPolygon, part))
 								{
 									result.push(key);
 									continue keyLoop;
@@ -317,7 +363,7 @@

 						if (simpleGeomIsPoly)// a polygon, check for polygon overlap
 						{
-							if (ComputationalGeometryUtils.polygonOverlapsPolygon(_tempBoundsPolygon, _tempGeometryPolygon))
+							if (ComputationalGeometryUtils.polygonOverlapsPolygon(_tempBoundsPolygon, vertices))
 							{
 								result.push(key);
 								continue keyLoop;
@@ -325,10 +371,7 @@
 						}
 						else if (simpleGeomIsLine) // if a line, check for bounds intersect line
 						{
-							if (ComputationalGeometryUtils.polygonOverlapsLine(
-								_tempBoundsPolygon, /* polygon */
-								vertices[0].x, vertices[0].y, /* point A on AB */
-								vertices[1].x, vertices[1].y /* point B on AB */ ))
+							if (polygonOverlapsPolyLine(_tempBoundsPolygon, vertices))
 							{
 								result.push(key);
 								continue keyLoop;
@@ -336,7 +379,7 @@
 						}
 						else
 						{
-							if (ComputationalGeometryUtils.polygonOverlapsPoint(_tempBoundsPolygon, vertices[0].x, vertices[0].y))
+							if (polygonOverlapsPolyPoint(_tempBoundsPolygon, vertices))
 							{
 								result.push(key);
 								continue keyLoop;
@@ -486,9 +529,7 @@
 									}
 									else if (genGeomIsLine)
 									{
-										distanceSq = ComputationalGeometryUtils.getUnscaledDistanceFromLine(
-											part[0].x, part[0].y, part[1].x, part[1].y,
-											xQueryCenter, yQueryCenter);
+										distanceSq = getMinimumUnscaledDistanceFromPolyLine(part, xQueryCenter, yQueryCenter);

 										if (distanceSq <= Number.MIN_VALUE)
 											overlapsQueryCenter = true;
@@ -497,8 +538,7 @@
 									}
 									else if (genGeomIsPoint)
 									{
-										distanceSq = ComputationalGeometryUtils.getDistanceFromPointSq(
-											part[0].x, part[0].y, xQueryCenter, yQueryCenter);
+										distanceSq = getMinimumUnscaledDistanceFromPolyPoint(part, xQueryCenter, yQueryCenter);
 										if (distanceSq <= Number.MIN_VALUE)
 											overlapsQueryCenter = true;
 										else
@@ -556,9 +596,7 @@
 								}
 								else if (simpleGeomIsLine)
 								{
-									distanceSq = ComputationalGeometryUtils.getUnscaledDistanceFromLine(
-										vertices[0].x, vertices[0].y, vertices[1].x, vertices[1].y,
-										xQueryCenter, yQueryCenter);
+									distanceSq = getMinimumUnscaledDistanceFromPolyLine(vertices, xQueryCenter, yQueryCenter);
 									if (distanceSq <= Number.MIN_VALUE)
 										overlapsQueryCenter = true;
 									else
@@ -566,8 +604,7 @@
 								}
 								else if (simpleGeomIsPoint)
 								{
-									distanceSq = ComputationalGeometryUtils.getDistanceFromPointSq(
-										vertices[0].x, vertices[0].y, xQueryCenter, yQueryCenter);
+									distanceSq = getMinimumUnscaledDistanceFromPolyPoint(vertices, xQueryCenter, yQueryCenter);
 									if (distanceSq <= Number.MIN_VALUE)
 										overlapsQueryCenter = true;
 									else


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

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

 package mx.binding
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/mobilecomponents/src/spark/components/Callout.as
+++ frameworks/projects/mobilecomponents/src/spark/components/Callout.as
@@ -68,6 +68,12 @@
  *  with additional owner-relative positioning options similar to PopUpAnchor.
  *  Callout also adds an optional arrow skin part that visually
  *  displays the direction toward the owner.
+ *
+ *
The following images shows a Callout container labeled 'Settings':

+ *
+ *

+ *
+ *

  *
  *
You can also use the CalloutButton control to open a callout container.
  *  The CalloutButton control encapsulates in a single control the callout container


Transferred from the Adobe Open Source Subversion Repository

Revision: 6391
Author:   smgilson@adobe.com
Date:     2009-04-29T20:04:20.789717Z

Log Message:
-----------
ASDoc updates

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/events/TextOperationEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/events/VideoEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/events/RendererExistenceEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/events/ElementExistenceEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>

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

--- frameworks/projects/spark/src/spark/events/RendererExistenceEvent.as
+++ frameworks/projects/spark/src/spark/events/RendererExistenceEvent.as
@@ -51,9 +51,9 @@
      *       event listener that handles the event. For example, if you use
      *       myButton.addEventListener() to register an event listener,
      *       myButton is the value of the currentTarget.

-     *
data	The data object that the renderer
+     *
data	The data item that the renderer
      *       is visualizing.

-     *
index	The dataProvider index for the
+     *
index	The data provider index for the
      *       renderer that was added.

      *
renderer	Contains a reference
      *         to the renderer that was added

@@ -86,9 +86,9 @@
      *       event listener that handles the event. For example, if you use
      *       myButton.addEventListener() to register an event listener,
      *       myButton is the value of the currentTarget.

-     *
data	The data object that the renderer
+     *
data	The data item that the renderer
      *       was visualizing.

-     *
index	The dataProvider index for the
+     *
index	The data provider index for the
      *       renderer that is being removed.

      *
renderer	Contains a reference
      *        to the renderer that is about to be removed.

@@ -122,11 +122,11 @@
      *
      *  @param cancelable Specifies whether the behavior associated with the event can be prevented.
      *
-     *  @param renderer Reference to the renderer that was added or removed.
+     *  @param renderer Reference to the item renderer that was added or removed.
      *
      *  @param index The index in the data provider where the renderer was added or removed.
      *
-     *  @param data The data object that the renderer is visualizing.
+     *  @param data The data item that the renderer is visualizing.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -171,7 +171,7 @@
     //----------------------------------

     /**
-     *  The index where the item renderer was added or removed
+     *  The index where the item renderer was added or removed.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ToggleButtonBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ToggleButtonBase.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  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.
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
 //
 ////////////////////////////////////////////////////////////////////////////////


Transferred from the Adobe Open Source Subversion Repository

Revision: 2464
Author:   jimurphy@adobe.com
Date:     2008-07-14T19:50:33.449468Z

Log Message:
-----------
add flex 4 to trunk

Modified Paths:
--------------
134 paths were modified

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

--- frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutElementHelper.as
+++ frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutElementHelper.as
@@ -0,0 +1,86 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2008 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package flex.layout
+{
+
+import flex.intf.ILayoutItem;
+
+import mx.core.IConstraintClient;
+
+/**
+ *  Documentation is not currently available.
+ */
+public class LayoutItemHelper
+{
+    include "../core/Version.as";
+
+    // TODO EGeorgie: move to a more general place, this is not specific to the LayoutItemHelper
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @return Returns val clamped to the range of
+     *  min or max.
+     */
+    public static function pinBetween(val:Number, min:Number, max:Number):Number
+    {
+        return Math.min(max, Math.max(min, val));
+    }
+
+    // TODO EGeorgie: this currently works only for constraints specified to
+    // the parent. Add constraintRow and constraintColumn support.
+    /**
+     *  @param item The item whose constraint is returned.
+     *  @param name The name of the constraint, i.e. "left", "right", "top",
+     *  "bottom", "baseline", "horizontalCenter", "verticalCenter"
+     *  @return returns the number for the specified constraint.
+     */
+    public static function getConstraint(item:ILayoutItem, name:String):Number
+    {
+        var constraintClient:IConstraintClient = item as IConstraintClient;
+        if (!constraintClient)
+            return NaN;
+
+        var value:String = constraintClient.getConstraintValue(name);
+        var result:Array = parseConstraintExp(value);
+        if (!result || result.length != 1)
+            return NaN;
+
+        return result[0];
+    }
+
+    // TODO EGeorgie: Duplicated code! Share this code with the Flex3 Canvas:
+    /**
+     *  @private
+     *  Parses a constraint expression, like left="col1:10"
+     *  so that an array is returned where the first value is
+     *  the boundary (ie: "col1") and the second value is
+     *  the offset (ie: 10)
+     */
+    private static function parseConstraintExp(val:String):Array
+    {
+        if (!val)
+            return null;
+        // Replace colons with spaces
+        var temp:String = val.replace(/:/g, " ");
+
+        // Split the string into an array
+        var args:Array = temp.split(/\s+/);
+        return args;
+    }
+}
+
+}


Let's use our protected _index instead of going through the accessor.

git-svn-id: a3e1eb16dde062992de22c830ed8045c8013209a@64 c613c5cb-e716-0410-b11b-feb51c14d237

--- src/as/com/threerings/ezgame/PropertyChangedEvent.as
+++ src/as/com/threerings/ezgame/PropertyChangedEvent.as
@@ -60,7 +60,7 @@
     override public function toString () :String
     {
         return "[PropertyChangedEvent name=" + _name + ", value=" + _newValue +
-            ((index < 0) ? "" : (", index=" + index)) + "]";
+            ((_index < 0) ? "" : (", index=" + _index)) + "]";
     }

     override public function clone () :Event


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package spark.components.supportClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 13035
Author:   hneelu@adobe.com
Date:     2009-12-17T07:35:16.160630Z

Log Message:
-----------
Updating automation project to latest p4 changes.

Modified Paths:
--------------
228 paths were modified

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

--- frameworks/projects/automation/src/mx/automation/tabularData/MenuBarTabularData.as
+++ frameworks/projects/automation/src/mx/automation/tabularData/MenuBarTabularData.as
@@ -122,8 +122,7 @@

 			// code modified to avoid the usage of numAutomationChildren and
 			// getAutomationChildAt in a loop
-			//var childList:Array  = delegate.getAutomationChildren();
-			var childList:Array  =  Automation.automationManager2.getAutomationChildrenArray(delegate);
+			var childList:Array  = delegate.getAutomationChildren();
 			if (childList)
 			{
 				end  = end > childList.length ? childList.length : end;


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

--- frameworks/projects/charts/src/mx/charts/series/renderData/AreaSeriesRenderData.as
+++ frameworks/projects/charts/src/mx/charts/series/renderData/AreaSeriesRenderData.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.series.renderData
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 10606
Author:   egeorgie@adobe.com
Date:     2009-09-25T23:01:50.455888Z

Log Message:
-----------
White space cleanup.

Doc notes: None
Bugs: None
Reviewer: Evtim
Tests run: build
Is noteworthy for integration: Nope

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/TransformOffsets.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/AddItems.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/OnDemandEventDispatcher.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/Block.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ToggleButtonBase.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/framework/src/mx/geom/CompoundTransform.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/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/LayoutElementUIComponentUtils.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/framework/src/mx/collections/ArrayList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/BasicLayout.as</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/geom/Transform.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/spark/src/spark/layouts/supportClasses/LinearLayoutVector.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/utils/DescribeTypeCache.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/sparkTest/src/testWheel.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/SparkSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/framework/src/mx/core/LayoutElementUIComponentUtils.as
+++ frameworks/projects/framework/src/mx/core/LayoutElementUIComponentUtils.as
@@ -153,7 +153,7 @@
     {
         // explicit trumps explicitMax trumps Number.MAX_VALUE.
         var maxHeight:Number;
-        if(!isNaN(obj.explicitMaxHeight))
+        if (!isNaN(obj.explicitMaxHeight))
             maxHeight = obj.explicitMaxHeight;
         else
             maxHeight = DEFAULT_MAX_HEIGHT;


Transferred from the Adobe Open Source Subversion Repository

Revision: 19772
Author:   dloverin@adobe.com
Date:     2011-01-17T13:31:06.703034Z

Log Message:
-----------
Rename a private method in BusyIndicator.

QE notes: None.
Doc notes: None.
Bugs: None.
Reviewer: Carol
Tests run: checkintests
Is noteworthy for integration: No.

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/BusyIndicator.as

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

--- frameworks/projects/mobilecomponents/src/spark/components/BusyIndicator.as
+++ frameworks/projects/mobilecomponents/src/spark/components/BusyIndicator.as
@@ -439,7 +439,7 @@

         spinnerDiameter = diameter;

-        drawSpinnerChildren();
+        drawSpinner();

         if (isRotating)
             startRotation();
@@ -448,9 +448,9 @@
     /**
      *  @private
      *
-     *  Draw the twelve spokes of the children.
-     */
-    mx_internal function drawSpinnerChildren():void
+     *  Draw the spinner using the graphics property of this component.
+     */
+    mx_internal function drawSpinner():void
     {

         var spokeColor:uint = getStyle("symbolColor");


Transferred from the Adobe Open Source Subversion Repository

Revision: 18987
Author:   rfrishbe@adobe.com
Date:     2010-12-03T01:08:34.503999Z

Log Message:
-----------
PARB changes for sizeElement/positionElement.  MobileSkin and MobileItemRenderer's methods have been renamed: resizeElement() -> setElementSize(), positionElement() -> setElementPosition().

Also, cleaning up text reflow for TextAreaSkin

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TextSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileIconItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as</path>
<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/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ActionBarButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/SelectableButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderTrackSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderTrackSkin.as
@@ -243,8 +243,8 @@
 	{
         super.updateDisplayList(unscaledWidth, unscaledHeight);

-		resizeElement(trackSkin, unscaledWidth, unscaledHeight);
-		positionElement(trackSkin, 0, 0);
+		setElementSize(trackSkin, unscaledWidth, unscaledHeight);
+		setElementPosition(trackSkin, 0, 0);
 	}

     /**


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

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

 package spark.layouts.supportClasses
 {


[VectorEditor] clean standalone sequence

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

--- VectorEditorStandalone/src/org/jbei/registry/utils/StandaloneUtils.as
+++ VectorEditorStandalone/src/org/jbei/registry/utils/StandaloneUtils.as
@@ -46,6 +46,10 @@
                 sequence.features.addItem(new DNAFeature(49, 1131, -1, "lacI", null, "CDS"));
             }*/

+            sequence = new FeaturedDNASequence();
+            sequence.features = new ArrayCollection();
+            sequence.name = "unknown";
+
 			return sequence;
 		}


getProbeText() now remembers the last additionalColumnsArray that was passed in.

--- WeaveUISpark/src/weave/utils/ProbeTextUtils.as
+++ WeaveUISpark/src/weave/utils/ProbeTextUtils.as
@@ -64,21 +64,28 @@
 		 * This function is used to format each line corresponding to a column in probedColumns.
 		 */
 		public static const probeLineFormatter:LinkableFunction = new LinkableFunction(DEFAULT_LINE_FORMAT, true, false, ['column', 'key', 'string', 'title']);
+
+		/**
+		 * Additional columns to be used by getProbeText() when the additionalColumnsArray parameter is not specified.
+		 * This variable will be set automatically when that parameter is passed to getProbeText().
+		 */
+		public static var additionalColumns:Array = null;

 		/**
-		 * getProbeText
 		 * @param keySet The key set you are interested in.
-		 * @param additionalColumns An array of additional columns (other than global probed columns) to be displayed in the probe tooltip
-		 * @param maxRecordsShown Maximum no. of records shown in one probe tooltip
-		 * @return A string to be displayed on a tooltip while probing
+		 * @param additionalColumnsArray An array of additional columns (other than global probed columns) to be included in the probe text.
+		 *                               If this parameter is not specified, the previously specified Array (or null) will be used.
+		 * @return A String containing formatted values from the probed columns.
 		 */
-		public static function getProbeText(keys:Array, additionalColumns:Array = null):String
+		public static function getProbeText(keys:Array, additionalColumnsArray:* = undefined):String
 		{
 			var result:String = '';
 			var headers:Array = probeHeaderColumns.getObjects(IAttributeColumn);
 			// include headers in list of columns so that those appearing in the headers won't be duplicated.
-			var columns:Array = headers.concat(probedColumns.getObjects(IAttributeColumn));
-			if (additionalColumns != null && additionalColumns.length)
+			var columns:Array = headers.concat(probedColumns.getObjects(IAttributeColumn));
+			if (additionalColumnsArray !== undefined)
+				additionalColumns = additionalColumnsArray;
+			if (additionalColumns && additionalColumns.length)
 				columns = columns.concat(additionalColumns);
 			var keys:Array = keys.concat();
 			AsyncSort.sortImmediately(keys);


Improved variable names

Improved variable names

--- WeaveAdmin/src/weave/services/EntityCache.as
+++ WeaveAdmin/src/weave/services/EntityCache.as
@@ -19,26 +19,26 @@
     {
 		public static const ROOT_ID:int = -1;

-		private var cache_dirty:Object = {}; // id -> Boolean
-        private var cache_entity:Object = {}; // id -> Array <Entity>
-		private var delete_later:Object = {}; // id -> Boolean
+		private var idsToFetch:Object = {}; // id -> Boolean
+        private var entityCache:Object = {}; // id -> Array <Entity>
+		private var idsToDelete:Object = {}; // id -> Boolean
 		private var _idsByType:Object = {}; // entityType -> Array of id
 		private var _infoLookup:Object = {}; // id -> EntityHierarchyInfo
-		private var pending_invalidate:Object = {}; // id -> Boolean; used to remember which ids to invalidate the next time the entity is requested
+		private var idsDirty:Object = {}; // id -> Boolean; used to remember which ids to invalidate the next time the entity is requested

         public function EntityCache()
         {
-			callbacks.addGroupedCallback(this, fetchDirtyEntities);
+			callbacks.addGroupedCallback(this, groupedCallback);
 			registerLinkableChild(this, Admin.service);
-			Admin.service.addHook(Admin.service.authenticate, null, fetchDirtyEntities);
+			Admin.service.addHook(Admin.service.authenticate, null, groupedCallback);
         }

 		public function hasCachedRelationship(parentId:int, childId:int):Boolean
 		{
-			if (cache_entity[parentId] && (!cache_dirty[parentId] || !cache_entity[childId]))
-				return (cache_entity[parentId] as Entity).hasChild(childId);
-			if (cache_entity[childId])
-				return (cache_entity[childId] as Entity).hasParent(parentId);
+			if (entityCache[parentId] && (!idsToFetch[parentId] || !entityCache[childId]))
+				return (entityCache[parentId] as Entity).hasChild(childId);
+			if (entityCache[childId])
+				return (entityCache[childId] as Entity).hasParent(parentId);
 			return false;
 		}

@@ -46,21 +46,22 @@
 		{
 			callbacks.delayCallbacks();

-			if (!cache_dirty[id])
+			// trigger callbacks if we haven't previously decided to fetch this id
+			if (!idsToFetch[id])
 				callbacks.triggerCallbacks();

-			pending_invalidate[id] = false;
-			cache_dirty[id] = true;
-
-			if (!cache_entity[id])
+			idsDirty[id] = false;
+			idsToFetch[id] = true;
+
+			if (!entityCache[id])
 			{
 				var entity:Entity = new Entity();
-				cache_entity[id] = entity;
+				entityCache[id] = entity;
 			}

 			if (alsoInvalidateParents)
 			{
-				var parents:Array = (cache_entity[id] as Entity).parentIds;
+				var parents:Array = (entityCache[id] as Entity).parentIds;
 				if (parents && parents.length)
 				{
 					for each (var parentId:* in parents)
@@ -81,13 +82,18 @@
 		public function getEntity(id:int):Entity
 		{
 			// if there is no cached value, call invalidate() to create a placeholder.
-			if (!cache_entity[id] || pending_invalidate[id])
+			if (!entityCache[id] || idsDirty[id])
 				invalidate(id);

-            return cache_entity[id];
-		}
-
-		private function fetchDirtyEntities(..._):void
+            return entityCache[id] as Entity;
+		}
+
+		public function entityIsCached(id:int):Boolean
+		{
+			return entityCache[id] is Entity;
+		}
+
+		private function groupedCallback(..._):void
 		{
 			if (!Admin.instance.userHasAuthenticated)
 				return;
@@ -97,23 +103,23 @@
 			// delete marked entities
 			var deleted:Boolean = false;
 			var idsToRemove:Array = [];
-			for (id in delete_later)
+			for (id in idsToDelete)
 				idsToRemove.push(id);

 			if (idsToRemove.length)
 			{
 				addAsyncResponder(Admin.service.removeEntities(idsToRemove), handleRemoveEntities);
-				delete_later = {};
+				idsToDelete = {};
 			}

 			// request invalidated entities
 			var ids:Array = [];
-			for (id in cache_dirty)
+			for (id in idsToFetch)
 			{
 				// when requesting root, also request data table list
 				if (id == ROOT_ID)
 				{
-					delete cache_dirty[id];
+					delete idsToFetch[id];
 					addAsyncResponder(Admin.service.getEntityHierarchyInfo(EntityType.TABLE), handleEntityHierarchyInfo, null, EntityType.TABLE);
 					addAsyncResponder(Admin.service.getEntityHierarchyInfo(EntityType.HIERARCHY), handleEntityHierarchyInfo, null, EntityType.HIERARCHY);
 				}
@@ -122,7 +128,7 @@
 			}
 			if (ids.length > 0)
 			{
-				cache_dirty = {};
+				idsToFetch = {};
 				addAsyncResponder(Admin.service.getEntitiesById(ids), getEntityHandler, null, ids);
 			}
         }
@@ -146,19 +152,19 @@
 			for each (id in requestedIds)
 			{
 				// this entity doesn't exist, so make sure its cached object is empty
-				entity = cache_entity[id] || new Entity();
+				entity = entityCache[id] || new Entity();
 				if (entity.id != ROOT_ID)
 					entity = new Entity();
-				cache_entity[id] = entity;
-				pending_invalidate[id] = false;
+				entityCache[id] = entity;
+				idsDirty[id] = false;
 			}

 			for each (var result:Object in event.result)
 			{
 				id = Entity.getEntityIdFromResult(result);
-				entity = cache_entity[id] || new Entity();
+				entity = entityCache[id] || new Entity();
 				entity.copyFromResult(result);
-	            cache_entity[id] = entity;
+	            entityCache[id] = entity;

 				var info:EntityHierarchyInfo = _infoLookup[id];
 				if (info)
@@ -204,18 +210,18 @@

 			if (purge)
 			{
-				cache_dirty = {};
-				cache_entity = {};
-				delete_later = {};
+				idsToFetch = {};
+				entityCache = {};
+				idsToDelete = {};
 				_idsByType = {};
 				_infoLookup = {};
-				pending_invalidate = {};
+				idsDirty = {};
 			}
 			else
 			{
 				// we don't want to delete the cache because we can still use the cached values for display in the meantime.
-				for (var id:* in cache_entity)
-					pending_invalidate[id] = true;
+				for (var id:* in entityCache)
+					idsDirty[id] = true;
 			}
 			callbacks.triggerCallbacks();

@@ -227,26 +233,26 @@
 			Admin.service.updateEntity(id, diff);
 			invalidate(id);
         }
-        public function add_category(label:String, parentId:int, index:int):void
+        public function add_category(title:String, parentId:int, index:int):void
         {
 			var type:int = parentId == ROOT_ID ? EntityType.HIERARCHY : EntityType.CATEGORY;
             var em:EntityMetadata = new EntityMetadata();
-			em.publicMetadata[ColumnMetadata.TITLE] = label;
+			em.publicMetadata[ColumnMetadata.TITLE] = title;
 			Admin.service.newEntity(type, em, parentId, index);
 			invalidate(parentId);
         }
         public function delete_entity(id:int):void
         {
             /* Entity deletion should usually impact root, so we'll invalidate root's cache entry and refetch. */
-			delete_later[id] = true;
+			idsToDelete[id] = true;
 			invalidate(id, true);
         }
         public function add_child(parent_id:int, child_id:int, index:int):void
         {
-			if (parent_id == ROOT_ID && delete_later[child_id])
+			if (parent_id == ROOT_ID && idsToDelete[child_id])
 			{
 				// prevent hierarchy-dragged-to-root from removing the hierarchy
-				delete delete_later[child_id];
+				delete idsToDelete[child_id];
 				return;
 			}
 			Admin.service.addParentChildRelationship(parent_id, child_id, index);
@@ -257,7 +263,7 @@
 			// remove from root not supported, but invalidate root anyway in case the child is added via add_child later
 			if (parent_id == ROOT_ID)
 			{
-				delete_later[child_id] = true;
+				idsToDelete[child_id] = true;
 				invalidate(ROOT_ID);
 			}
 			else


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

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

 package mx.controls
 {
@@ -8241,4 +8231,4 @@
     }
 }

-}+}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 14328
Author:   dloverin@adobe.com
Date:     2010-02-22T17:03:18.462846Z

Log Message:
-----------
Merge revision 14327 from the 4.x branch.

Fix maximize/ restore button in spark chrome skin when running on AIR 2.

Listen for the Window state change event instead of expecting the change to happen immediately.

QE notes: None.
Doc notes: None.
Bugs: SDK-25303
Reviewer:
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/components/windowClasses/TitleBar.as</path>
<path kind="dir" action="M">/flex/sdk/trunk/frameworks</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="dir" action="M">/flex/sdk/trunk/frameworks/projects/datavisualization</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/components/Window.as</path>

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

--- frameworks/projects/airspark/src/spark/components/windowClasses/TitleBar.as
+++ frameworks/projects/airspark/src/spark/components/windowClasses/TitleBar.as
@@ -16,6 +16,7 @@
 import flash.display.NativeWindowDisplayState;
 import flash.events.Event;
 import flash.events.MouseEvent;
+import flash.events.NativeWindowDisplayStateEvent;
 import flash.system.Capabilities;

 import mx.core.IWindow;
@@ -381,6 +382,9 @@
                                             button_mouseDownHandler);
             maximizeButton.addEventListener(MouseEvent.CLICK,
                                             maximizeButton_clickHandler);
+            DisplayObject(window).addEventListener(
+                NativeWindowDisplayStateEvent.DISPLAY_STATE_CHANGE,
+                window_displayStateChangeHandler, false, 0, true);
         }
     }

@@ -408,6 +412,9 @@
                                             button_mouseDownHandler);
             maximizeButton.removeEventListener(MouseEvent.CLICK,
                                             maximizeButton_clickHandler);
+            DisplayObject(window).removeEventListener(
+                NativeWindowDisplayStateEvent.DISPLAY_STATE_CHANGE,
+                window_displayStateChangeHandler);
         }

     }
@@ -558,8 +565,6 @@
         // work around for bugs SDK-9547 & SDK-21190
         maximizeButton.dispatchEvent(new MouseEvent(MouseEvent.ROLL_OUT));

-        invalidateSkinState();
-
     }

     /**
@@ -569,6 +574,22 @@
     {
         window.close();
     }
+
+    /**
+     *  @private
+     */
+    private function window_displayStateChangeHandler(
+                       event:NativeWindowDisplayStateEvent):void
+    {
+        // If we have been minimized or maximized then invalidate our skin state
+        // so the maximize and restore buttons will be updated.
+        if (event.afterDisplayState == NativeWindowDisplayState.MAXIMIZED ||
+            event.afterDisplayState == NativeWindowDisplayState.NORMAL)
+        {
+            invalidateSkinState();
+        }
+    }
+
 }

 }


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

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

 package mx.automation.codec
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 17445
Author:   jszeto@adobe.com
Date:     2010-08-23T18:47:40.166311Z

Log Message:
-----------
Button icon support changes

Changed the icon support in Button. Icon is now a property instead of a style. I've added an optional skin part called iconDisplay:BitmapImage.

ButtonSkinBase does not use this skin part because BitmapImage can not be added as a child of a UIComponent. I renamed ButtonSkinBase.iconDisplay to iconInstance to avoid any confusion with the skin part name.

ButtonSkinBase listens for the "iconChange" event from the ButtonBase instead of relying on ButtonBase to push the icon to the iconDisplay.

QE notes: Need to update tests
Doc notes: none
Bugs: none
Reviewer: Corey
Tests run: checkintests
Is noteworthy for integration: yes, icon is a property now instead of a style

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/SelectableButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/CheckBoxSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as
@@ -32,6 +32,7 @@
 import spark.components.supportClasses.SkinnableComponent;
 import spark.components.supportClasses.TextBase;
 import spark.core.IDisplayText;
+import spark.primitives.BitmapImage;

 use namespace mx_internal;

@@ -76,20 +77,6 @@
  *  @productversion Flex 4
  */
 [Style(name="focusColor", type="uint", format="Color", inherit="yes", theme="spark")]
-
-// TODO (jszeto) set to mobile theme only
-/**
- *  The class to use for the button's icon. The iconPlacement style
- *  controls the position of the label relative to the icon.
- *
- *  @default null
- *
- *  @langversion 3.0
- *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
- */
-[Style(name="icon", type="Class", inherit="no", theme="spark")]

 // TODO (jszeto) set to mobile theme only
 /**
@@ -426,6 +413,18 @@
     //--------------------------------------------------------------------------

     [SkinPart(required="false")]
+
+    /**
+     *  A skin part that defines an optional icon for the button.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.0
+     *  @productversion Flex 4.5
+     */
+    public var iconDisplay:BitmapImage;
+
+    [SkinPart(required="false")]

     /**
      *  A skin part that defines the label of the button.
@@ -611,6 +610,41 @@
         invalidateButtonState();
     }

+    //----------------------------------
+    //  icon
+    //----------------------------------
+
+    private var _icon:Class;
+
+    /**
+     *  The class to use for the button's icon. The iconPlacement style
+     *  controls the position of the label relative to the icon.
+     *
+     *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.0
+     *  @productversion Flex 4.5
+     */
+    public function set icon(value:Class):void
+    {
+        if (value == _icon)
+            return;
+
+        _icon = value;
+        if (iconDisplay)
+            iconDisplay.source = _icon;
+
+        // TODO (jszeto) Should we dispatch an contentChange event instead?
+        dispatchEvent(new Event("iconChange"));
+    }
+
+    public function get icon():Class
+    {
+        return _icon;
+    }
+
     //----------------------------------
     //  keepDown
     //----------------------------------
@@ -864,6 +898,10 @@
             // Push down to the part only if the label was explicitly set
             if (_content !== undefined)
                 labelDisplay.text = label;
+        }
+        else if (instance == iconDisplay)
+        {
+            iconDisplay.source = icon;
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 7967
Author:   gosmith@adobe.com
Date:     2009-06-18T19:44:16.674676Z

Log Message:
-----------
PARB changes to TextGraphicElement/SimpleText/RichText and to text styles in general.

TextGraphicElement:

The 'truncation' property has been renamed to 'maxDisplayedLines'.

The isTruncated() method has become an 'isTruncated' read-only property.

RichText:

Since a TextFlow object is the fundamental representation for rich test in TLF, the RichText component now has a public textFlow:TextFlow property which you can get or set. To turn TLF markup -- in either String or XML form -- into a TextFlow, use the static importFromString() and importFromXML() methods in the TextFlowUtil class. These are bindable methods so that if the markup parameter changes they will re-evaluate. To turn the TextFlow back into markup, use TextFLowUtil.export(...) to produce XML.

The 'content' property is now intended only for use by the MXML compiler. It is set-only and only supports being set to what MXML markup produces: a String (which will be treated as the text of an implicit span in an implicit paragraph), a FlowElement, or an Array of Strings and FlowElements.

The 'text', 'textFlow', and 'content' properties are interacting properties. For example, you can set 'textFlow' and then get the 'text', and vice versa. In fact, you can now do this immediately, without waiting for the component to undergo a LayoutManager pass. Of these three properties, the last one set in ActionScript wins; if more than one is set in MXML the results are undefined since MXML does not guarantee the order in which properties are set. Setting any of them to null is equivalent to setting the 'text' to the empty String, which is the initial state of the component.

Styles:

The 'lineBreak' style is now non-inheriting, since in TLF it doesn't inherit from FlowElement to FlowElement.

The text styles are now divided into five buckets:

BasicInheritingTextStyles.as
BasicNonInheritingTextStyles.as
AdvancedInheritingTextStyles.as
AdvancedNonInheritingTextStyles.as
SelectionFormatTextStyles.as

Skinnable components like TextInput and TextArea no longer declare any on the noninheriting text styles, because the RichTextElement in the skin doesn't inherit them. You must set them directly on the RichTextElement in the component's skin, either with ActionScript or by reskinning.

The styleInitialized() method has been added to the IAdvancedStyleClient interface.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Carol

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ButtonBarFirstButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonBarFirstButtonSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/BasicTextLayoutFormatStyles.as" copyfrom-rev="7910" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/BasicInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/SparkChromeWindowedApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/WindowedApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/DefaultButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ButtonBarLastButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonBarLastButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/DefaultButtonSkin.mxml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/AdvancedTextLayoutFormatStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProxy.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/BasicTextLayoutFormatStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/utils/TextFlowUtil.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/AdvancedNonInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonBarMiddleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ButtonBarMiddleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ToggleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ToggleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/windowChrome/TitleBarSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/NonInheritingTextLayoutFormatStyles.as" copyfrom-rev="7910" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/BasicNonInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/CheckBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/CheckBoxSkin.mxml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/NonInheritingTextLayoutFormatStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/RadioButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/RadioButtonSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/AdvancedTextLayoutFormatStyles.as" copyfrom-rev="7910" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/AdvancedInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/windowChrome/MacTitleBarSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as
@@ -34,7 +34,7 @@
 import spark.effects.easing.Sine;
 import spark.events.TrackBaseEvent;

-include "../../styles/metadata/BasicTextLayoutFormatStyles.as"
+include "../../styles/metadata/BasicInheritingTextStyles.as"

 /**
  *  @copy spark.components.supportClasses.GroupBase#focusColor


Fixes #42

Fixes #42

--- actionscript/happyworm/jPlayer/JplayerMp4.as
+++ actionscript/happyworm/jPlayer/JplayerMp4.as
@@ -144,7 +144,7 @@
 					this.dispatchEvent(new JplayerEvent(JplayerEvent.DEBUG_MSG, myStatus, "NetStream.Play.Stop: getDuration() - getCurrentTime() = " + (getDuration() - getCurrentTime())));

 					// Check if media is at the end (or close) otherwise this was due to download bandwidth stopping playback. ie., Download is not fast enough.
-					if(Math.abs(getDuration() - getCurrentTime()) < 150) { // Testing found 150ms worked best for M4A files, where playHead(99.9) caused a stuck state due to firing with ~116ms left to play.
+					if(Math.abs(getDuration() - getCurrentTime()) < 1000) { // Using 1000ms to be extra safe, testing found that for M4A files, playHead(99.9) caused a stuck state due to firing with up to 186ms left to play.
 						endedEvent();
 					}
 					break;


Init commit

Init commit

--- com/idiomes.as
+++ com/idiomes.as
@@ -1,193 +0,0 @@
-
-import mx.transitions.easing.*;
-import com.mosesSupposes.fuse.*;
-
-class com idiomesApp extends Movieclip
-        {
-
-		private var lat1_mc:MovieClip;
-                private var lat2_mc:MovieClip;
-                private var lat3_mc:MovieClip;
-                private var lat4_mc:MovieClip;
-                private var en:MovieClip;
-                private var es:MovieClip;
-                private var ca:MovieClip;
-                private var fr:MovieClip;
-                private var texte07_txt:String;
-                private var coleccio_txt:String;
-                private var botigues_txt:String;
-                private var contacte_txt:String;
-                private var home_txt:String;
-                private var arrayLang_arr:Array = new Array ("cat", "es", "en", "fr");
-
-
-		function idiomesApp():Void
-
-                {
-
-			mx.events.EventDispatcher.initialize(this);
-
-                }
-
-		private function idiomesMenuContent():Void
-
-		{
-
-			this.arrayLang_arr[0].fr_txt.text = "_catal";
-			this.arrayLang_arr[1].fr_txt.text = "_espaol";
-			this.arrayLang_arr[2].fr_txt.text = "_english";
-			this.arrayLang_arr[3].fr_txt.text = "_franais";
-
-			return idiomesMenuContent;
-
-		}
-
-		private function idiomesLang():Void
-
-		{
-
-		if (System.capabilities.language == 'en')
-                {
-			this.lat1_mc.coleccio_txt.text = "_collection";
-                        this.lat2_mc.botigues_txt.text = "_shopping";
-                        this.lat3_mc.contacte_txt.text = "_contact";
-                        this.lat4_mc.home_txt.text = "_home";
-                        this.texte07_txt.text = "_collection #07";
-                        this.ok_mc.send_txt.text = "Send Email!";
-
-                        this.disseny_txt.text = "_design";
-                        this.colors_txt.text = "_for boy/girl";
-                        this.colors2_txt.text = "_100% cotton";
-                        }
-
-		else if (System.capabilities.language == 'fr')
-                {
-
-			this.lat1_mc.coleccio_txt.text = "_collection";
-                        this.lat2_mc.botigues_txt.text = "_boutiques";
-                        this.lat3_mc.contacte_txt.text = "_contact";
-                        this.lat4_mc.home_txt.text = "_home";
-                        this.texte07_txt.text = "_collection #07";
-                        this.ok_mc.send_txt.text = "Ajour Email!";
-
-                        this.disseny_txt.text = "_design";
-                        this.colors_txt.text = "_pour fille/garon";
-                        this.colors2_txt.text = "_100% coton";
-                        }
-
-		else
-			{
-
-                        this.disseny_txt.text = "_disseny";
-                        this.colors_txt.text = "_per a noi/noia";
-                        this.colors2_txt.text = "_100% cot";
-
-                        }
-		}
-
-
-
-
-			this._parent.lat1_mc.coleccio_txt.flipTo("_collection", 2);
-                        this._parent.lat2_mc.botigues_txt.flipTo("_boutiques", 2);
-                        this._parent.lat3_mc.contacte_txt.flipTo("_contact", 2);
-                        this._parent.lat4_mc.home_txt.flipTo("_home", 2);
-
-
-
-
-        arrayLang_arr[0].onRelease = function ():Void
-                {
-
-                        this._parent.lat1_mc.coleccio_txt.flipTo("_collecci", 2);
-                        this._parent.lat2_mc.botigues_txt.flipTo("_botigues", 3);
-                        this._parent.lat3_mc.contacte_txt.flipTo("_contacte", 2);
-                        this._parent.lat4_mc.home_txt.flipTo("_inici", 3);
-                        this._parent._parent.ok_mc.send_txt.text = "Enviar Email!";
-                        this._parent.contact_txt.flipTo("_Contacte", 2);
-                        this._parent.disseny_txt.text = "_disseny";
-                        this._parent.colors_txt.text = "_per a noi/noia";
-                        this._parent.colors2_txt.text = "_100% cot";
-		}
-
-        arrayLang_arr[1].onRelease = function ():Void
-                {
-			this._parent.lat1_mc.coleccio_txt.flipTo("_coleccin", 2);
-                        this._parent.lat2_mc.botigues_txt.flipTo("_tiendas", 3);
-                        this._parent.lat3_mc.contacte_txt.flipTo("_contacto", 2);
-                        this._parent.lat4_mc.home_txt.flipTo("_inicio", 2);
-                        this._parent._parent.ok_mc.send_txt.text = "Enviar Email!";
-                        this._parent.contact_txt.flipTo("_Contacto", 2);
-                        this._parent.disseny_txt.text = "_diseo";
-                        this._parent.colors_txt.text = "_para chico/chica";
-                        this._parent.colors2_txt.text = "_100% algodn";
-
-
-                        if (this._parent.texte07_txt._visible == true)
-
-                        {
-                        this._parent.texte07_txt.flipTo("_coleccin #07", 2);
-			}
-
-			else
-                        {
-                        this._parent.texte07_txt._visible = false;
-			}
-
-                        this._parent.lat1_mc.coleccio_txt.flipTo("_coleccin", 2);
-                        this._parent.lat2_mc.botigues_txt.flipTo("_tiendas", 3);
-                        this._parent.lat3_mc.contacte_txt.flipTo("_contacto", 2);
-                        this._parent.lat4_mc.home_txt.flipTo("_inicio", 3);
-		}
-
-
-        arrayLang_arr[3].onRelease = function ():Void
-                {
-
-                if (this._parent.texte07_txt._visible == true)
-                        {
-                        this._parent.texte07_txt.flipTo("_collection #07", 2);
-
-			}
-
-			else
-                        {
-                        this._parent.texte07_txt._visible = false;
-
-			}
-
-
-                        this._parent.lat1_mc.coleccio_txt.flipTo("_collection", 2);
-                        this._parent.lat2_mc.botigues_txt.flipTo("_shopping", 2);
-                        this._parent.lat3_mc.contacte_txt.flipTo("_contact", 2);
-                        this._parent.lat4_mc.home_txt.flipTo("_home", 2);
-                        this._parent._parent.ok_mc.send_txt.text = "Send Email!";
-                        this._parent.contact_txt.flipTo("_Contact", 2);
-                        this._parent.disseny_txt.text = "_design";
-                        this._parent.colors_txt.text = "_for boy/girl";
-                        this._parent.colors2_txt.text = "_100% cotton";
-		}
-
-        arrayLang_arr[2].onRelease = function ():Void
-                {
-
-	if (this._parent.texte07_txt._visible == true)
-                        {
-                        this._parent.texte07_txt.flipTo("_collection #07", 2);
-			}
-			else
-                        {
-                        this._parent.texte07_txt._visible = false;
-
-			}
-
-
-                        this._parent._parent.ok_mc.send_txt.text = "Ajour Email!";
-                        this._parent.contact_txt.flipTo("_Contact", 2);
-                        this._parent.disseny_txt.text = "_design";
-                        this._parent.colors_txt.text = "_pour fille/garn";
-                        this._parent.disseny2_txt.text = "_design";
-                        this._parent.colors2_txt.text = "_100% coton";
-		}
-
-        }


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

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

 package mx.automation.codec
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 22821
Author:   mvujovic@adobe.com
Date:     2011-09-30T02:47:43.039859Z

Log Message:
-----------
Reverting r22774 (fix for SDK-31412).

QE notes: None
Doc notes: None
Bugs: SDK-31412
Reviewer: Approved by Joann
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as
@@ -97,8 +97,6 @@

         _openButton = value;

-        _openButton.disableMinimumDownStateTime = true;
-
         addOpenTriggers();

     }
@@ -298,6 +296,8 @@
      */
     private function addOpenTriggers():void
     {
+        // TODO (jszeto): Change this to be mouseDown. Figure out how to not
+        // trigger systemManager_mouseDown.
         if (openButton)
         {
             if (isNaN(rollOverOpenDelay))