Transferred from the Adobe Open Source Subversion Repository

Revision: 6172
Author:   jszeto@adobe.com
Date:     2009-04-20T21:15:07.250519Z

Log Message:
-----------
Re-factored dropDown interaction into DropDownController class

Re-factored DropDownList's keyboard, mouse and focus interaction logic into helper class. The helper class dispatches open and close events, which the control listens for. The helper class has a button and dropDown property which match the skin parts of the dropDown control.

Added dropDownController protected getter and protected initializeDropDownController function to DropDownList. Added dropDownControllerClass to DropDownList which defaults to DropDownController.

QE Notes: Need tests
Doc Notes: Need comments for new properties
Bugs: None
Reviewer: Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/DropDownController.as</path>

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

--- frameworks/projects/spark/src/spark/components/DropDownList.as
+++ frameworks/projects/spark/src/spark/components/DropDownList.as
@@ -15,6 +15,7 @@
 - List current dispatches selectionChanged on arrowUp/Down. Should we subclass List
 and change behavior to commit value only on ENTER, SPACE, or CTRL-UP?

+- Modify DropDownEvent to have commitData boolean property.
 - Add typicalItem support for measuredSize (lower priority)

 *  @langversion 3.0
@@ -46,6 +47,7 @@
 import spark.primitives.supportClasses.TextGraphicElement;
 import spark.utils.LabelUtil;

+import spark.components.supportClasses.DropDownController;

 /**
  *  Dispatched when the dropDown is dismissed for any reason such when
@@ -168,6 +170,12 @@
 	{
 		super();
 		super.allowMultipleSelection = false;
+
+		if (_dropDownControllerClass)
+		{
+			_dropDownController = new _dropDownControllerClass();
+			initializeDropDownController();
+		}
 	}

 	//--------------------------------------------------------------------------
@@ -185,26 +193,48 @@
     //--------------------------------------------------------------------------

 	//----------------------------------
-    //  isOpen
-    //----------------------------------
-
-    /**
-     *  @private
-     */
-    private var _isOpen:Boolean = false;
-
-    /**
-     *  Whether the dropDown is open or not.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    public function get isOpen():Boolean
-    {
-    	return _isOpen;
-    }
+    //  dropDownController
+    //----------------------------------
+
+	private var _dropDownController:DropDownController;
+
+	/**
+     *  @private
+     *  TODO (jszeto) Add ASdoc comments
+     */
+	protected function get dropDownController():DropDownController
+	{
+		return _dropDownController;
+	}
+
+	//----------------------------------
+    //  dropDownControllerClass
+    //----------------------------------
+
+	private var _dropDownControllerClass:Class = DropDownController;
+
+	/**
+     *  @private
+     *  TODO (jszeto) Add ASdoc comments
+     */
+	public function set dropDownControllerClass(value:Class):void
+	{
+		if (_dropDownControllerClass == value)
+			return;
+
+		_dropDownControllerClass = value;
+		_dropDownController = new _dropDownControllerClass();
+		initializeDropDownController();
+	}
+
+	/**
+     *  @private
+     */
+	public function get dropDownControllerClass():Class
+	{
+		return _dropDownControllerClass;
+	}
+

 	//----------------------------------
     //  prompt
@@ -392,19 +422,7 @@
      */
     public function openDropDown():void
     {
-		//trace("DDL.openDropDown isOpen",isOpen);
-    	if (!isOpen)
-    	{
-    		// TODO (jszeto) Change these to be marshall plan compliant
-    		systemManager.addEventListener(MouseEvent.MOUSE_DOWN, systemManager_mouseDownHandler);
-    		systemManager.addEventListener(Event.RESIZE, systemManager_resizeHandler, false, 0, true);
-
-    		_isOpen = true;
-    		button.mx_internal::keepDown = true; // Force the button to stay in the down state
-    		skin.currentState = getCurrentSkinState();
-
-    		dispatchEvent(new DropdownEvent(DropdownEvent.OPEN));
-    	}
+    	dropDownController.openDropDown();
     }

 	 /**
@@ -425,24 +443,26 @@
      */
     public function closeDropDown(commitData:Boolean):void
     {
-    	//trace("DDL.closeDropDown isOpen",isOpen);
-    	if (isOpen)
-    	{
-    		// TODO (jszeto) Add logic to check for commitData
-    		/*if (commitData)
-        		commitDropDownData();*/
-
-			_isOpen = false;
-			button.mx_internal::keepDown = false;
-	       	skin.currentState = getCurrentSkinState();
-
-        	dispatchEvent(new DropdownEvent(DropdownEvent.CLOSE));
-
-        	// TODO (jszeto) Change these to be marshall plan compliant
-        	systemManager.removeEventListener(MouseEvent.MOUSE_DOWN, systemManager_mouseDownHandler);
-        	systemManager.removeEventListener(Event.RESIZE, systemManager_resizeHandler);
-    	}
-    }
+    	dropDownController.closeDropDown(commitData);
+    }
+
+	/**
+     *  @private
+     *  TODO (jszeto) Should this be exposed? If yes, needs ASDOC
+     */
+	protected function initializeDropDownController():void
+	{
+		if (dropDownController)
+		{
+			dropDownController.addEventListener(DropdownEvent.OPEN, dropDownController_openHandler);
+			dropDownController.addEventListener(DropdownEvent.CLOSE, dropDownController_closeHandler);
+
+			if (button)
+				dropDownController.button = button;
+			if (dropDown)
+				dropDownController.dropDown = dropDown;
+		}
+	}

 	/**
      *  @private
@@ -510,7 +530,7 @@
  	 */
     override protected function getCurrentSkinState():String
     {
-		return !enabled ? "disabled" : isOpen ? "open" : "normal";
+		return !enabled ? "disabled" : dropDownController.isOpen ? "open" : "normal";
     }

     /**
@@ -522,11 +542,13 @@

  		if (instance == button)
     	{
-    		// TODO (jszeto) Change this to be mouseDown. Figure out how to not
-    		// trigger systemManager_mouseDown.
-    		button.addEventListener(FlexEvent.BUTTON_DOWN, button_buttonDownHandler);
+    		if (dropDownController)
+    			dropDownController.button = button;
     		button.enabled = enabled;
     	}
+
+    	if (instance == dropDown && dropDownController)
+    		dropDownController.dropDown = dropDown;
     }

     /**
@@ -534,11 +556,15 @@
      */
     override protected function partRemoved(partName:String, instance:Object):void
     {
-    	if (instance == button)
+    	if (dropDownController)
     	{
-    		button.removeEventListener(FlexEvent.BUTTON_DOWN, button_buttonDownHandler);
-    	}
-
+    		if (instance == button)
+	    		dropDownController.button = null;
+
+    		if (instance == dropDown)
+    			dropDownController.dropDown = null;
+     	}
+
         super.partRemoved(partName, instance);
     }

@@ -572,40 +598,9 @@
 		if(!enabled)
             return;

-        if (event.ctrlKey && event.keyCode == Keyboard.DOWN)
-        {
-            openDropDown();
-            event.stopPropagation();
-        }
-        else if (event.ctrlKey && event.keyCode == Keyboard.UP)
-        {
-            closeDropDown(true);
-            event.stopPropagation();
-        }
-        else if (event.keyCode == Keyboard.ENTER)
-        {
-            // Close the dropDown and eat the event if appropriate.
-            if (isOpen)
-            {
-                closeDropDown(true);
-                event.stopPropagation();
-            }
-        }
-        else if (event.keyCode == Keyboard.ESCAPE)
-        {
-            // Close the dropDown and eat the event if appropriate.
-            if (isOpen)
-            {
-                closeDropDown(false);
-                event.stopPropagation();
-            }
-        }
-        else
-        {
-        	//trace("DropDownList.keyDownHandler arrow key isOpen",isOpen);
-        	// TODO (jszeto) Check if we need dataGroup skin during this event
+        if (!dropDownController.keyDownHandler(event))
         	super.list_keyDownHandler(event);
-        }
+
 	}

 	/**
@@ -613,23 +608,7 @@
      */
     override protected function focusOutHandler(event:FocusEvent):void
     {
-        // Note: event.relatedObject is the object getting focus.
-        // It can be null in some cases, such as when you open
-        // the dropdown and then click outside the application.
-
-        // If the dropdown is open...
-        if (isOpen)
-        {
-            // If focus is moving outside the dropdown...
-            // TODO (jszeto) Should we compare to the whole skin or just the dataGroup?
-            if (!event.relatedObject ||
-                !dataGroup.contains(event.relatedObject))
-            {
-                // Close the dropdown.
-                //trace("DDL.focusOutHandler");
-                closeDropDown(false);
-            }
-        }
+		dropDownController.focusOutHandler(event);

         super.focusOutHandler(event);
     }
@@ -640,50 +619,29 @@
     //
     //--------------------------------------------------------------------------

-	 /**
- 	 *  Called when the buttonDown event is dispatched. This function opens or closes
- 	 *  the dropDown depending upon the dropDown state.
- 	 *
- 	 *  @langversion 3.0
- 	 *  @playerversion Flash 10
- 	 *  @playerversion AIR 1.5
- 	 *  @productversion Flex 4
- 	 */
-    protected function button_buttonDownHandler(event:Event):void
-    {
-    	//trace("DDL.button_buttonDownHandler");
-        if (isOpen)
-            closeDropDown(true);
-        else
-            openDropDown();
-    }
-
-    /**
-     *  Called when the systemManager receives a mouseDown event. In the base class
-     *  implementation, this closes the dropDown.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    protected function systemManager_mouseDownHandler(event:MouseEvent):void
-    {
-    	//trace("DropDownBase.systemManager_mouseDownHandler, hit dropDown?",dropDown.hitTestPoint(event.stageX, event.stageY));
-    	// TODO (jszeto) Make marshall plan compliant
-     	if ((dropDown && !dropDown.hitTestPoint(event.stageX, event.stageY) || !dropDown))
-        {
-            closeDropDown(true);
-        }
-    }
-
-    /**
-     *  @private
-     *  Close the dropDown if the stage has been resized. Don't commit the data.
-     */
-    private function systemManager_resizeHandler(event:Event):void
-    {
-    	closeDropDown(false);
+    /**
+     *  @private
+     *  TODO (jszeto) Add ASDoc comments
+     */
+    protected function dropDownController_openHandler(event:DropdownEvent):void
+    {
+    	// set skin state
+    	skin.currentState = getCurrentSkinState();
+    	dispatchEvent(event);
+    }
+
+    /**
+     *  @private
+     *  TODO (jszeto) Add ASDoc comments
+     */
+    protected function dropDownController_closeHandler(event:DropdownEvent):void
+    {
+    	skin.currentState = getCurrentSkinState();
+
+    	// TODO!! Add logic to handle commitData
+    	//if (event.isDefaultPrevented())
+
+    	dispatchEvent(event);
     }

 }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

Bugs: SDK-20606

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

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

--- frameworks/projects/mx/src/mx/core/Application.as
+++ frameworks/projects/mx/src/mx/core/Application.as
@@ -85,7 +85,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Style(name="backgroundGradientAlphas", type="Array", arrayType="Number", inherit="no")]
+[Style(name="backgroundGradientAlphas", type="Array", arrayType="Number", inherit="no", theme="halo")]

 /**
  *  Specifies the colors used to tint the background gradient fill of the application.
@@ -102,7 +102,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Style(name="backgroundGradientColors", type="Array", arrayType="uint", format="Color", inherit="no")]
+[Style(name="backgroundGradientColors", type="Array", arrayType="uint", format="Color", inherit="no", theme="halo")]

 /**
  *  Number of pixels between the application's bottom border


now verifying row format when setting csv data

--- WeaveData/src/weave/data/DataSources/CSVDataSource.as
+++ WeaveData/src/weave/data/DataSources/CSVDataSource.as
@@ -67,7 +67,12 @@
 			registerLinkableChild(hierarchyRefresh, metadata);
 		}

-		public const csvData:LinkableVariable = registerLinkableChild(this, new LinkableVariable(Array), handleCSVDataChange);
+		public const csvData:LinkableVariable = registerLinkableChild(this, new LinkableVariable(Array, verifyRows), handleCSVDataChange);
+		private function verifyRows(rows:Array):Boolean
+		{
+			return StandardLib.arrayIsType(rows, Array);
+		}
+
 		public const keyType:LinkableString = newLinkableChild(this, LinkableString, updateKeys);
 		public const keyColName:LinkableString = newLinkableChild(this, LinkableString, updateKeys);

@@ -229,6 +234,8 @@
 		 */
 		public function setCSVData(rows:Array):void
 		{
+			if (!verifyRows(rows))
+				throw new Error("Invalid data format. Expecting nested Arrays.");
 			csvData.setSessionState(rows);
 		}


Bug 563854 - minor typo in NewObjectSample.size property description. (author=trbaker, r=brbaker, push=brbaker)

--- extensions/Sampler.as
+++ extensions/Sampler.as
@@ -171,7 +171,7 @@
         public native function get object():*;

         /**
-         * The NewObjectSample object size. If the object has been garbagecollected, this property is
+         * The NewObjectSample object size. If the object has been garbage collected, this property is
          * undefined and a corresponding DeleteObjectSample exists. For FlashPlayer debugger version only.
          * @playerversion Flash 9.0.115.0
          * @langversion 3.0


Less Deadly Errors Bug Fixes: - Added guards against known out of range exceptions and adding logging   for those errors.

--- HLSPlugin/src/com/kaltura/hls/HLSIndexHandler.as
+++ HLSPlugin/src/com/kaltura/hls/HLSIndexHandler.as
@@ -233,6 +233,13 @@
 			var newManifest:HLSManifestParser = event.target as HLSManifestParser;
 			if (newManifest)
 			{
+				// Detect if there are 0 segments in the new manifest
+				if (newManifest.segments.length == 0)
+				{
+					trace("WARNING: newManifest has 0 segments");
+					return;
+				}
+
 				// Set the timer delay to the most likely possible delay
 				if (reloadTimer) reloadTimer.delay = newManifest.segments[newManifest.segments.length - 1].duration * 1000;

@@ -804,7 +811,15 @@
 		//
 		public function getCurrentContinuityToken():String
 		{
-			return "/" + sequenceSkips + "/" + lastQuality + "/" + getSegmentsForQuality(lastQuality)[lastSegmentIndex].continuityEra;
+			// Check to ensure we do not get a range error
+			var segments:Vector.<HLSManifestSegment> = getSegmentsForQuality(lastQuality);
+			if (lastSegmentIndex >= segments.length || lastSegmentIndex < 0)
+			{
+				trace("==WARNING: lastSegmentIndex is greater than number of segments in last quality==");
+				trace("lastSegmentIndex: " + lastSegmentIndex + " | max allowed index: " + (segments.length - 1 + "\n"));
+				lastSegmentIndex = segments.length - 1;
+			}
+			return "/" + sequenceSkips + "/" + lastQuality + "/" + segments[lastSegmentIndex].continuityEra;
 		}

 		// returns the time offset into the fragment based on the time


Fix for bad duration reporting.

Fix for bad duration reporting.

--- HLSPlugin/src/com/kaltura/hls/HLSIndexHandler.as
+++ HLSPlugin/src/com/kaltura/hls/HLSIndexHandler.as
@@ -1602,7 +1602,7 @@
 			dvrInfo.startTime = firstSegment.startTime;
 			dvrInfo.beginOffset = firstSegment.startTime;
 			dvrInfo.endOffset = lastSegment.startTime + lastSegment.duration;
-			dvrInfo.curLength = (dvrInfo.endOffset - dvrInfo.beginOffset);
+			dvrInfo.curLength = (lastSegment.startTime + lastSegment.duration) - firstSegment.startTime; // Avoid casting issues.
 			dvrInfo.windowDuration = dvrInfo.curLength; // TODO: verify that this is what we want to be putting here
 			dispatchEvent(new DVRStreamInfoEvent(DVRStreamInfoEvent.DVRSTREAMINFO, false, false, dvrInfo));
 		}


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

--- frameworks/projects/mx/src/mx/controls/ButtonPhase.as
+++ frameworks/projects/mx/src/mx/controls/ButtonPhase.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: 1218
Author:   jimurphy@adobe.com
Date:     2008-04-15T16:09:32.174552Z

Log Message:
-----------
merge 3.0.x[1069:1202] -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/in/air/air_version.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/lib/flex-messaging-common.jar</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/codec/PNGEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MultiTopicProducer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/codec/JPEGEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SchemaTypeRegistry.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/codec/IImageEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MultiTopicConsumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/SOAPFault.as</path>
<path kind="file" action="M">/flex/sdk/trunk/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/WebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Channel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/HaloColors.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/SliderThumbSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RoundedRectangle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/SOAPHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/WebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/wsdl/WSDLBinding.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/Operation.as</path>

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

--- frameworks/projects/mx/src/mx/controls/ProgressBar.as
+++ frameworks/projects/mx/src/mx/controls/ProgressBar.as
@@ -562,6 +562,9 @@
      *
      *
If a field is unknown, it is replaced by "??".
      *  If undefined, the label is not displayed.

+     *
+     *
If you are in manual mode, you can set the values of these special characters
+     *  by using the setProgress() method.

      *
      *  @default "LOADING %3%%"
      */
@@ -1114,8 +1117,8 @@

             if (_mode == ProgressBarMode.POLLED)
             {
-            	// weak listener in case the pbar is removed before the timer is reset()
-            	// safe because pollTimer lives in the pbar
+                // weak listener in case the pbar is removed before the timer is reset()
+                // safe because pollTimer lives in the pbar
                 pollTimer.addEventListener(TimerEvent.TIMER, updatePolledHandler, false, 0, true);
                 pollTimer.start();
             }
@@ -1585,7 +1588,7 @@
         {
             indeterminatePlaying = true;

-			// weak listener in case the pbar is removed before the timer is reset()
+            // weak listener in case the pbar is removed before the timer is reset()
             // safe because pollTimer lives in the pbar
             pollTimer.addEventListener(TimerEvent.TIMER, updateIndeterminateHandler, false, 0, true);
             pollTimer.start();


Transferred from the Adobe Open Source Subversion Repository

Revision: 5098
Author:   gauravj@adobe.com
Date:     2009-02-27T02:21:27.489350Z

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

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

Modified Paths:
--------------
151 paths were modified

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

--- frameworks/projects/spark/src/spark/core/IViewport.as
+++ frameworks/projects/spark/src/spark/core/IViewport.as
@@ -26,6 +26,11 @@
      *
      *  Implementations of this property must be Bindable and
      *  they must generate events of type "propertyChange".
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     function get contentWidth():Number;

@@ -38,6 +43,11 @@
      *
      *  Implementations of this property must be Bindable and
      *  they must generate events of type "propertyChange".
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     function get contentHeight():Number;

@@ -57,6 +67,11 @@
      *  @default 0
      *  @see target
      *  @see verticalScrollPosition
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     function get horizontalScrollPosition():Number;
     function set horizontalScrollPosition(value:Number):void;
@@ -76,6 +91,11 @@
      *
      *  @default 0
      *  @see horizontalScrollPosition
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     function get verticalScrollPosition():Number;
     function set verticalScrollPosition(value:Number):void;
@@ -91,6 +111,11 @@
      *  first or last column, use HOME or END.
      *
      *  @see ScrollUnit
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     function getHorizontalScrollPositionDelta(scrollUnit:uint):Number;

@@ -105,6 +130,11 @@
      *  first or last row, use HOME or END.
      *
      *  @see ScrollUnit
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     function getVerticalScrollPositionDelta(scrollUnit:uint):Number;

@@ -123,6 +153,11 @@
      *  @see LayoutBase#updateScrollRect
      *  @see verticalScrollPosition
      *  @see horizontalScrollPosition
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     function get clipAndEnableScrolling():Boolean;
     function set clipAndEnableScrolling(value:Boolean):void;


Transferred from the Adobe Open Source Subversion Repository

Revision: 8602
Author:   dloverin@adobe.com
Date:     2009-07-15T22:06:23.142556Z

Log Message:
-----------
Fix RTE after setting baseColor.

https://bugs.adobe.com/jira/browse/SDK-21749

TitleBarSkin:
Remove items form color exclusion array. Remove “bgFill” because it is not of type DisplayObject or GraphicElement. Remove “background” because it is part of the window chrome and should be affected by baseColor.

SparkSkin:
Only process excluded objects of type DisplayObject or GraphicElement in updateDisplayList().

https://bugs.adobe.com/jira/browse/SDK-21625

Spark and Halo WindowedApplication/Window:
Update class comments and remove dead code.

QE Notes: none.
Doc Notes: none.
Bugs: SDK-21749, SDK-21625.
Reviewer: Glenn
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/SparkSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/windowChrome/TitleBarSkin.mxml</path>

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

--- frameworks/projects/airframework/src/mx/core/WindowedApplication.as
+++ frameworks/projects/airframework/src/mx/core/WindowedApplication.as
@@ -543,11 +543,11 @@
  *    autoExit="true"
  *    backgroundFrameRate="1"
  *    dockIconMenu="null"
- *    maxHeight="10000"
- *    maxWidth="10000"
+ *    maxHeight="2880 less the height of the system chrome"
+ *    maxWidth="2880 less the width of the system chrome"
  *    menu="null"
- *    minHeight="100"
- *    minWidth="100"
+ *    minHeight="dependent on the operating system and the AIR systemChrome setting"
+ *    minWidth="dependent on the operating system and the AIR systemChrome setting"
  *    showGripper="true"
  *    showStatusBar="true"
  *    showTitleBar="true"


fixed bug handling sortDirections

fixed bug handling sortDirections

--- WeaveData/src/weave/data/KeySets/SortedKeySet.as
+++ WeaveData/src/weave/data/KeySets/SortedKeySet.as
@@ -155,7 +155,7 @@
 		for (var i:int = 0; i < n; i++)
 		{
 			var column:IAttributeColumn = columns[i] as IAttributeColumn;
-			if (!column || !sortDirections[0])
+			if (!column || !sortDirections[i])
 				continue;
 			var value1:* = column.getValueFromKey(key1, Number);
 			var value2:* = column.getValueFromKey(key2, Number);


updated docs

updated docs

--- WeaveAPI/src/weave/api/core/IStageUtils.as
+++ WeaveAPI/src/weave/api/core/IStageUtils.as
@@ -55,7 +55,7 @@
 		/**
 		 * This calls a function in a future ENTER_FRAME event.  The function call will be delayed
 		 * further frames if the maxComputationTimePerFrame time limit is reached in a given frame.
-		 * @param relevantContext This parameter may be null.  If the relevantContext object gets disposed of, the specified method will not be called.
+		 * @param relevantContext This parameter may be null.  If the relevantContext object gets disposed, the specified method will not be called.
 		 * @param method The function to call later.
 		 * @param parameters The parameters to pass to the function.
 		 * @param priority The task priority, which should be one of the static constants in WeaveAPI.
@@ -63,8 +63,8 @@
 		function callLater(relevantContext:Object, method:Function, parameters:Array = null, priority:uint = 2):void;

 		/**
-		 * This will start an asynchronous task, calling iterativeTask() across multiple frames until it returns a value of 1 or the relevantContext object is disposed of.
-		 * @param relevantContext This parameter may be null.  If the relevantContext object gets disposed of, the task will no longer be iterated.
+		 * This will start an asynchronous task, calling iterativeTask() across multiple frames until it returns a value of 1 or the relevantContext object is disposed.
+		 * @param relevantContext This parameter may be null.  If the relevantContext object gets disposed, the task will no longer be iterated.
 		 * @param iterativeTask A function that performs a single iteration of the asynchronous task.
 		 *   This function must take zero or one parameter and return a number from 0.0 to 1.0 indicating the overall progress of the task.
 		 *   A return value below 1.0 indicates that the function should be called again to continue the task.
@@ -72,76 +72,76 @@
 		 *   The optional parameter specifies the time when the function should return. If the function accepts the returnTime
 		 *   parameter, it will not be called repeatedly within the same frame even if it returns before the returnTime.
 		 *
-		 * @example Example 1 (for loop replaced by if):
+		 * @example Example iteraveTask #1 (for loop replaced by if):
 		 * <listing version="3.0">
-		 *       var array:Array = ['a','b','c','d'];
-		 *       var index:int = 0;
-		 *       function iterativeTask():Number // this may be called repeatedly in succession
-		 *       {
-		 *           if (index >= array.length) // in case the length is zero
-		 *               return 1;
-		 *
-		 *           trace(array[index]);
-		 *
-		 *           index++;
-		 *           return index / array.length;  // this will return 1.0 on the last iteration.
-		 *       }
+		 * var array:Array = ['a','b','c','d'];
+		 * var index:int = 0;
+		 * function iterativeTask():Number // this may be called repeatedly in succession
+		 * {
+		 *     if (index >= array.length) // in case the length is zero
+		 *         return 1;
+		 *
+		 *     trace(array[index]);
+		 *
+		 *     index++;
+		 *     return index / array.length;  // this will return 1.0 on the last iteration.
+		 * }
 		 * </listing>
 		 *
-		 * @example Example 2 (resumable for loop):
+		 * @example Example iteraveTask #2 (resumable for loop):
 		 * <listing version="3.0">
-		 *       var array:Array = ['a','b','c','d'];
-		 *       var index:int = 0;
-		 *       function iterativeTaskWithTimer(returnTime:int):Number // this will be called only once in succession
-		 *       {
-		 *           for (; index < array.length; index++)
-		 *           {
-		 *               // return time check should be at the beginning of the loop
-		 *               if (getTimer() > returnTime)
-		 *                   return index / array.length; // progress so far
-		 *
-		 *               // process the current item
-		 *               trace(array[index]);
-		 *           }
-		 *           return 1; // loop finished
-		 *       }
+		 * var array:Array = ['a','b','c','d'];
+		 * var index:int = 0;
+		 * function iterativeTaskWithTimer(returnTime:int):Number // this will be called only once in succession
+		 * {
+		 *     for (; index < array.length; index++)
+		 *     {
+		 *         // return time check should be at the beginning of the loop
+		 *         if (getTimer() > returnTime)
+		 *             return index / array.length; // progress so far
+		 *
+		 *         // process the current item
+		 *         trace(array[index]);
+		 *     }
+		 *     return 1; // loop finished
+		 * }
 		 * </listing>
 		 *
-		 * @example Example 3 (nested resumable for loops):
+		 * @example Example iteraveTask #3 (nested resumable for loops):
 		 * <listing version="3.0">
-		 * 	     var outerArray:Array = [['a','b','c'], ['aa','bb','cc'], ['x','y','z'], ['xx','yy','zz']];
-		 *       var outerIndex:int = 0;
-		 *       var innerArray:Array = null;
-		 *       var innerIndex:int = 0;
-		 *       function iterativeNestedTaskWithTimer(returnTime:int):Number // this will be called only once in succession
-		 *       {
-		 *           for (; outerIndex < outerArray.length; outerIndex++)
-		 *           {
-		 *               // return time check can go here at the beginning of the loop, but we already have one in the inner loop
-		 *
-		 *               if (innerArray == null)
-		 *               {
-		 *                   // time to initialize inner loop
-		 *                   innerArray = outerArray[outerIndex] as Array;
-		 *                   innerIndex = 0;
-		 *                   // more code can go inside this if-block that would normally go right before the inner loop
-		 *               }
-		 *
-		 *               for (; innerIndex < innerArray.length; innerIndex++)
-		 *               {
-		 *                   // return time check should be at the beginning of the loop
-		 *                   if (getTimer() > returnTime)
-		 *                       return (outerIndex + (innerIndex / innerArray.length)) / outerArray.length; // progress so far
-		 *
-		 *                   // process the current item
-		 *                   trace('item', outerIndex, innerIndex, 'is', innerArray[innerIndex]);
-		 *               }
-		 *
-		 *               innerArray = null; // inner loop finished
-		 *               // more code can go here to be executed after the nested loop
-		 *           }
-		 *           return 1; // outer loop finished
-		 *       }
+		 * var outerArray:Array = [['a','b','c'], ['aa','bb','cc'], ['x','y','z'], ['xx','yy','zz']];
+		 * var outerIndex:int = 0;
+		 * var innerArray:Array = null;
+		 * var innerIndex:int = 0;
+		 * function iterativeNestedTaskWithTimer(returnTime:int):Number // this will be called only once in succession
+		 * {
+		 *     for (; outerIndex < outerArray.length; outerIndex++)
+		 *     {
+		 *         // return time check can go here at the beginning of the loop, but we already have one in the inner loop
+		 *
+		 *         if (innerArray == null)
+		 *         {
+		 *             // time to initialize inner loop
+		 *             innerArray = outerArray[outerIndex] as Array;
+		 *             innerIndex = 0;
+		 *             // more code can go inside this if-block that would normally go right before the inner loop
+		 *         }
+		 *
+		 *         for (; innerIndex < innerArray.length; innerIndex++)
+		 *         {
+		 *             // return time check should be at the beginning of the loop
+		 *             if (getTimer() > returnTime)
+		 *                 return (outerIndex + (innerIndex / innerArray.length)) / outerArray.length; // progress so far
+		 *
+		 *             // process the current item
+		 *             trace('item', outerIndex, innerIndex, 'is', innerArray[innerIndex]);
+		 *         }
+		 *
+		 *         innerArray = null; // inner loop finished
+		 *         // more code can go here to be executed after the nested loop
+		 *     }
+		 *     return 1; // outer loop finished
+		 * }
 		 * </listing>
 		 * @param priority The task priority, which should be one of the static constants in WeaveAPI.
 		 * @param finalCallback A function that should be called after the task is completed.


revert SessionManager changes from previous commit

--- WeaveJS/src/weavejs/core/SessionManager.as
+++ WeaveJS/src/weavejs/core/SessionManager.as
@@ -118,17 +118,6 @@
 			if (!disposableChild)
 				throw new Error("registerDisposableChild(): Child parameter cannot be null.");

-			var handler:Function;
-
-			// if the parent has not been registered yet
-			if (!d2d_owner_child.map.has(disposableParent))
-			{
-				// if this is an instance of an async class, call the async instance handler
-				handler = Weave.getAsyncInstanceHandler(disposableParent.constructor);
-				if (handler != null)
-					handler(disposableParent);
-			}
-
 			// if this child has no owner yet...
 			if (!map_child_owner.has(disposableChild))
 			{
@@ -137,7 +126,7 @@
 				d2d_owner_child.set(disposableParent, disposableChild, true);

 				// if this is an instance of an async class, call the async instance handler
-				handler = Weave.getAsyncInstanceHandler(disposableChild.constructor);
+				var handler:Function = Weave.getAsyncInstanceHandler(disposableChild.constructor);
 				if (handler != null)
 					handler(disposableChild);
 			}


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 11095
Author:   eitan@ascender.com
Date:     2009-10-22T23:34:03.596935Z

Log Message:
-----------
Added changes in spark components to use AccImpl.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/CheckBox.as</path>

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

--- frameworks/projects/spark/src/spark/components/NumericStepper.as
+++ frameworks/projects/spark/src/spark/components/NumericStepper.as
@@ -17,9 +17,12 @@
 import flash.events.FocusEvent;
 import flash.events.KeyboardEvent;

+import mx.core.mx_internal;
 import mx.core.IIMESupport;
 import mx.events.FlexEvent;
 import mx.managers.IFocusManagerComponent;
+
+use namespace mx_internal;

 include "../styles/metadata/BasicInheritingTextStyles.as"
 include "../styles/metadata/AdvancedInheritingTextStyles.as"
@@ -51,6 +54,8 @@

 [IconFile("NumericStepper.png")]
 [DefaultTriggerEvent("change")]
+
+[AccessibilityClass(implementation="spark.accessibility.SpinnerAccImpl")]

 /**
  *  The NumericStepper control lets you select
@@ -178,6 +183,18 @@

     //--------------------------------------------------------------------------
     //
+    //  Class mixins
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Placeholder for mixin by SpinnerAccImpl.
+     */
+    mx_internal static var createAccessibilityImplementation:Function;
+
+    //--------------------------------------------------------------------------
+    //
     //  Constructor
     //
     //--------------------------------------------------------------------------
@@ -495,6 +512,15 @@
     //
     //--------------------------------------------------------------------------

+     /**
+     *  @private
+     */
+    override protected function initializeAccessibility():void
+    {
+        if (NumericStepper.createAccessibilityImplementation != null)
+            NumericStepper.createAccessibilityImplementation(this);
+    }
+
     /**
      *  @private
      */


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

--- frameworks/projects/spark/src/spark/effects/SharedObjectDepot.as
+++ frameworks/projects/spark/src/spark/effects/SharedObjectDepot.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 spark.effects
 {


Added events for unusable devices

Added events for unusable devices

--- com/zehfernando/input/binding/KeyActionBinder.as
+++ com/zehfernando/input/binding/KeyActionBinder.as
@@ -196,6 +196,11 @@
 			refreshGameInputDeviceList();
 		}

+		private function onGameInputDeviceUnusable(__e:GameInputEvent):void {
+			//debug("A Device is unusable; num devices = " + GameInput.numDevices);
+			refreshGameInputDeviceList();
+		}
+
 		private function onGameInputDeviceChanged(__e:Event):void {
 			var control:GameInputControl = __e.target as GameInputControl;

@@ -269,6 +274,7 @@
 				if (gameInput != null) {
 					gameInput.addEventListener(GameInputEvent.DEVICE_ADDED, onGameInputDeviceAdded);
 					gameInput.addEventListener(GameInputEvent.DEVICE_REMOVED, onGameInputDeviceRemoved);
+					gameInput.addEventListener(GameInputEvent.DEVICE_UNUSABLE, onGameInputDeviceUnusable);
 				}

 				refreshGameInputDeviceList();


[CEXP-257] MicrophoneLevelListener: Mocking unit tests with mockolate instad of mockito.

--- src/test/flashwavrecorder/MicrophoneLevelListenerTest.as
+++ src/test/flashwavrecorder/MicrophoneLevelListenerTest.as
@@ -2,71 +2,73 @@

 import flash.events.SampleDataEvent;

+import mockolate.received;
+import mockolate.runner.MockolateRule;
+
 import org.hamcrest.assertThat;
 import org.hamcrest.object.isFalse;
 import org.hamcrest.object.isTrue;
-import org.mockito.MockitoTestCase;

-public class MicrophoneLevelListenerTest extends MockitoTestCase {
+public class MicrophoneLevelListenerTest {

-    private var microphone:MicrophoneWrapper;
-    private var microphoneLevelListener:MicrophoneLevelListener;
-    private var microphoneLevelForwarder:MicrophoneLevelForwarder;
+  [Rule]
+  public var mockRule:MockolateRule = new MockolateRule();

-    public function MicrophoneLevelListenerTest() {
-      super([MicrophoneWrapper, MicrophoneLevelForwarder])
-    }
+  [Mock]
+  public var microphone:MicrophoneWrapper;

-    private function setup():void {
-      microphone = mock(MicrophoneWrapper, "microphone wrapper", [null]) as MicrophoneWrapper;
-      microphoneLevelForwarder = mock(MicrophoneLevelForwarder, "level forwarder", [null]) as MicrophoneLevelForwarder;
-      microphoneLevelListener = new MicrophoneLevelListener(microphone, microphoneLevelForwarder);
-    }
+  [Mock]
+  public var microphoneLevelForwarder:MicrophoneLevelForwarder;

-    public function test_observation_checker_before_any_action_returns_false():void {
-      // given
-      setup();
-      // then
-      assertThat(microphoneLevelListener.isObserving(), isFalse());
-    }
+  private var microphoneLevelListener:MicrophoneLevelListener;

-    public function test_observation_start_attaches_callback_on_microphone_sample():void {
-      // given
-      setup();
-      // when
-      microphoneLevelListener.startObserving();
-      // then
-      verify().that(microphone.addEventListener(SampleDataEvent.SAMPLE_DATA, microphoneLevelForwarder.micSampleDataHandler));
-    }
+  [Before]
+  public function setup():void {
+    microphoneLevelListener = new MicrophoneLevelListener(microphone, microphoneLevelForwarder);
+  }

-    public function test_observation_checker_returns_true_after_observation_has_started():void {
-      // given
-      setup();
-      // when
-      microphoneLevelListener.startObserving();
-      // then
-      assertThat(microphoneLevelListener.isObserving(), isTrue());
-    }
+  [Test]
+  public function observation_checker_before_any_action_returns_false():void {
+    // then
+    assertThat(microphoneLevelListener.isObserving(), isFalse());
+  }

-    public function test_observation_stop_removes_callback_from_microphone_sample_event():void {
-      // given
-      setup();
-      microphoneLevelListener.startObserving();
-      // when
-      microphoneLevelListener.stopObserving();
-      // then
-      verify().that(microphone.removeEventListener(SampleDataEvent.SAMPLE_DATA, microphoneLevelForwarder.micSampleDataHandler));
-    }
+  [Test]
+  public function observation_start_attaches_callback_on_microphone_sample():void {
+    // when
+    microphoneLevelListener.startObserving();
+    // then
+    assertThat(microphone, received().method('addEventListener')
+        .args(SampleDataEvent.SAMPLE_DATA, microphoneLevelForwarder.micSampleDataHandler));
+  }

-    public function test_observation_checker_returns_false_after_observation_has_stopped():void {
-      // given
-      setup();
-      microphoneLevelListener.startObserving();
-      // when
-      microphoneLevelListener.stopObserving();
-      // then
-      assertThat(microphoneLevelListener.isObserving(), isFalse());
-    }
+  [Test]
+  public function observation_checker_returns_true_after_observation_has_started():void {
+    // when
+    microphoneLevelListener.startObserving();
+    // then
+    assertThat(microphoneLevelListener.isObserving(), isTrue());
+  }

+  [Test]
+  public function observation_stop_removes_callback_from_microphone_sample_event():void {
+    // given
+    microphoneLevelListener.startObserving();
+    // when
+    microphoneLevelListener.stopObserving();
+    // then
+    assertThat(microphone, received().method('removeEventListener')
+        .args(SampleDataEvent.SAMPLE_DATA, microphoneLevelForwarder.micSampleDataHandler))
   }
+
+  [Test]
+  public function observation_checker_returns_false_after_observation_has_stopped():void {
+    microphoneLevelListener.startObserving();
+    // when
+    microphoneLevelListener.stopObserving();
+    // then
+    assertThat(microphoneLevelListener.isObserving(), isFalse());
+  }
+
+}
 }


Fix issue where an exception could be thrown when checking for a directory if the file doesn't exist

--- src/ASConfigC.as
+++ src/ASConfigC.as
@@ -283,7 +283,7 @@
 						{
 							throw new Error("Project directory or JSON file not found: " + projectPath);
 						}
-						if(fs.statSync(projectPath).isDirectory())
+						if(fs.existsSync(projectPath) && fs.statSync(projectPath).isDirectory())
 						{
 							var configFilePath:String = path.resolve(projectPath, ASCONFIG_JSON);
 							if(!fs.existsSync(configFilePath))
@@ -1635,7 +1635,7 @@
 				var fileName:String = files[i];
 				var inputFilePath:String = path.resolve(inputDir, fileName);
 				var outputFilePath:String = path.resolve(outputDir, fileName);
-				if(fs.statSync(inputFilePath).isDirectory())
+				if(fs.existsSync(inputFilePath) && fs.statSync(inputFilePath).isDirectory())
 				{
 					copyHTMLTemplateDirectory(inputFilePath, outputFilePath);
 					continue;
@@ -1837,7 +1837,7 @@
 				{
 					result.push(libraryPath);
 				}
-				else if(fs.statSync(libraryPath).isDirectory())
+				else if(fs.existsSync(libraryPath) && fs.statSync(libraryPath).isDirectory())
 				{
 					var files:Array = fs.readdirSync(libraryPath);
 					var fileCount:int = files.length;
@@ -1856,7 +1856,7 @@

 		private function unpackANE(aneFilePath:String):void
 		{
-			if(fs.statSync(aneFilePath).isDirectory())
+			if(fs.existsSync(aneFilePath) && fs.statSync(aneFilePath).isDirectory())
 			{
 				//this is either an ANE that's already unpacked
 				//...or something else entirely
@@ -1937,7 +1937,7 @@
 				{
 					srcFilePath = path.resolve(process.cwd(), srcFilePath);
 				}
-				var srcIsDir:Boolean = fs.statSync(srcFilePath).isDirectory();
+				var srcIsDir:Boolean = fs.existsSync(srcFilePath) && fs.statSync(srcFilePath).isDirectory();
 				//ensures that path formatting is consistent
 				destFilePath = path.relative(outputDir, path.resolve(outputDir, destFilePath));
 				if(destFilePath.length === 0)


Added support for unicode, hex, and octal escape sequences.
Fixed bugs with local variable and function parameter handling.

Change-Id: Ib589c3bf88a172835b6ca9b3a09ee115b65d591d

--- WeaveCore/src/weave/compiler/Compiler.as
+++ WeaveCore/src/weave/compiler/Compiler.as
@@ -732,15 +732,41 @@
 				}
 				else if (escapeIndex < bracketIndex) // handle '\'
 				{
+					// append everything before the escaped character
+					output += input.substring(searchIndex, escapeIndex);
+
 					// look up escaped character
 					var c:String = input.charAt(escapeIndex + 1);
+					c = DECODE_LOOKUP[c] || c;

-					//TODO: octal and hex escape sequences
+					if ('0123'.indexOf(c) >= 0)
+					{
+						// \000 .. \377        a byte specified in octal
+						var oct:String = input.substr(escapeIndex + 1, 3);
+						c = String.fromCharCode(parseInt(oct, 8));
+						searchIndex = escapeIndex + 4; // skip over escape sequence
+					}
+					else if (c == 'x')
+					{
+						// \x00 .. \xFF        a byte specified in hexadecimal
+						var hex:String = input.substr(escapeIndex + 2, 2);
+						c = String.fromCharCode(parseInt(hex, 16));
+						searchIndex = escapeIndex + 4; // skip over escape sequence
+					}
+					else if (c == 'u')
+					{
+						// \u0000 .. \uFFFF    a 16-bit Unicode character specified in hexadecimal
+						var unicode:String = input.substr(escapeIndex + 2, 4);
+						c = String.fromCharCode(parseInt(unicode, 16));
+						searchIndex = escapeIndex + 6; // skip over escape sequence
+					}
+					else
+					{
+						searchIndex = escapeIndex + 2; // skip over escape sequence
+					}

-					c = DECODE_LOOKUP[c] || c;
-					output += input.substring(searchIndex, escapeIndex) + c;
-					// skip over escape sequence
-					searchIndex = escapeIndex + 2;
+					// append the escaped character
+					output += c;
 				}
 				else if (bracketIndex < escapeIndex) // handle '{'
 				{
@@ -886,7 +912,7 @@
 				break;
 			}
 			for each (token in tokens)
-				if (token is String && '.[](){}'.indexOf(token as String) >= 0)
+				if (token is String && '..[](){}'.indexOf(token as String) >= 0)
 					throw new Error("Misplaced '" + token + "'");
 		}

@@ -1183,11 +1209,11 @@

 			const builtInSymbolTable:Object = {};
 			const localSymbolTable:Object = {};
-			// set up Array of symbol tables in the correct scope order: local, params, function, this, global
+			// set up Array of symbol tables in the correct scope order: built-in, local, params, this, global
 			const allSymbolTables:Array = [
+				builtInSymbolTable,
 				localSymbolTable,
 				symbolTable,
-				builtInSymbolTable,
 				null/*this*/,
 				constants
 			];
@@ -1204,16 +1230,17 @@
 			// this function avoids unnecessary function calls by keeping its own call stack rather than using recursion.
 			var wrapperFunction:Function = function(...args):*
 			{
-				// reset local symbol table each time the function is called
+				builtInSymbolTable['this'] = this;
+
+				// reset local symbol table each time the function is called so it behaves the same way each time.
 				for (symbolName in localSymbolTable)
-					localSymbolTable[symbolName] = undefined;
-
-				builtInSymbolTable['this'] = this;
-				builtInSymbolTable['arguments'] = args;
+					delete localSymbolTable[symbolName];
+
 				// make function parameters available under the specified parameter names
+				localSymbolTable['arguments'] = args;
 				if (paramNames)
 					for (i = 0; i < paramNames.length; i++)
-						builtInSymbolTable[paramNames[i] as String] = args.length > i ? args[i] : paramDefaults[i];
+						localSymbolTable[paramNames[i] as String] = i < args.length ? args[i] : paramDefaults[i];

 				if (useThisScope)
 					allSymbolTables[THIS_SYMBOL_TABLE_INDEX] = this;
@@ -1266,6 +1293,9 @@
 							if (ASSIGN_OP_LOOKUP[call.evaluatedMethod] && compiledParams.length == 2) // two params means local assignment
 							{
 								symbolName = call.evaluatedParams[0];
+								if (builtInSymbolTable.hasOwnProperty(symbolName))
+									throw new Error("Cannot assign built-in variable: " + symbolName);
+
 								// assignment operator expects parameters like (host, ...chain, value)
 								// if there is no matching local variable and 'this' has a matching one, assign the property of 'this'
 								if (useThisScope && this && this.hasOwnProperty(symbolName) && !localSymbolTable.hasOwnProperty(symbolName))
@@ -1334,9 +1364,9 @@
 					// advance the evalIndex so the next parameter will be evaluated.
 					call.evalIndex++;
 				}
-				return null; // unreachable
+				throw new Error("unreachable");
 			};
-			builtInSymbolTable['self'] = wrapperFunction;
+			builtInSymbolTable['__self__'] = wrapperFunction;

 			return wrapperFunction;
 		}


Added getArrayFromCollection()

Added getArrayFromCollection()

Change-Id: Ie1e292902163f568a8e855e57d462e6b67bfe46f

--- WeaveData/src/weave/utils/VectorUtils.as
+++ WeaveData/src/weave/utils/VectorUtils.as
@@ -21,6 +21,9 @@
 {
 	import flash.utils.Dictionary;

+	import mx.collections.ArrayCollection;
+	import mx.collections.ICollectionView;
+	import mx.collections.IViewCursor;
 	import mx.utils.ObjectUtil;

 	/**
@@ -353,5 +356,23 @@
 			}
 			return exactMatchOnly ? -1 : i;
 		}
+
+		public static function getArrayFromCollection(collection:ICollectionView):Array
+		{
+			var array:Array = null;
+			if (collection is ArrayCollection)
+				array = (collection as ArrayCollection).source;
+			if (array)
+				return array.concat();
+
+			array = [];
+			var cursor:IViewCursor = collection.createCursor();
+			do
+			{
+				array.push(cursor.current);
+			}
+			while (cursor.moveNext());
+			return array;
+		}
 	}
 }


TextFieldBuilder can now set x and y

TextFieldBuilder can now set x and y

--- raw/src/org/yellcorp/lib/text/TextFieldBuilder.as
+++ raw/src/org/yellcorp/lib/text/TextFieldBuilder.as
@@ -35,6 +35,8 @@
     private var _acceptsInput:Boolean = false;
     private var _useRichTextClipboard:Boolean;

+    private var _x:Number;
+    private var _y:Number;
     private var _width:Number;
     private var _height:Number;

@@ -191,6 +193,34 @@
     }

+    public function x(newX:Number):TextFieldBuilder
+    {
+        _x = newX;
+        return this;
+    }
+
+
+    public function addX(newAddX:Number):TextFieldBuilder
+    {
+        _x = isFinite(_x) ? _x + newAddX : newAddX;
+        return this;
+    }
+
+
+    public function y(newY:Number):TextFieldBuilder
+    {
+        _y = newY;
+        return this;
+    }
+
+
+    public function addY(newAddY:Number):TextFieldBuilder
+    {
+        _y = isFinite(_y) ? _y + newAddY : newAddY;
+        return this;
+    }
+
+
     public function width(newWidth:Number):TextFieldBuilder
     {
         _width = newWidth;
@@ -437,11 +467,14 @@
         field.useRichTextClipboard = _useRichTextClipboard;
         field.mouseWheelEnabled = _mouseWheelEnabled;

-        if (isFinite(_width))
-            field.width = _width;
+        if (isFinite(_x)) field.x = _x;
+        if (isFinite(_y)) field.y = _y;
+        if (isFinite(_width)) field.width = _width;

         if (isFinite(_height))
+        {
             field.height = _height;
+        }
         else
         {
             field.text = "M";


Transferred from the Adobe Open Source Subversion Repository

Revision: 121
Author:   jszeto@adobe.com
Date:     2008-01-08T08:08:26.009559Z

Log Message:
-----------
Flex SDK Bug Fix

SDK-13812 - Scale grid behavior on Button, etc. to reopen

Changed IBorder references to IRectangularBorder.

Bugs: SDK-13812
QA: Yes
Doc: No

[ private comments below ]

Code Review: Alex Harui

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToolTip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>

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

--- frameworks/projects/framework/src/mx/controls/ToolTip.as
+++ frameworks/projects/framework/src/mx/controls/ToolTip.as
@@ -16,10 +16,10 @@
 import flash.text.TextFieldAutoSize;
 import flash.text.TextFormat;
 import mx.core.EdgeMetrics;
-import mx.core.IBorder;
 import mx.core.IFlexDisplayObject;
 import mx.core.IFlexModuleFactory;
 import mx.core.IFontContextComponent;
+import mx.core.IRectangularBorder;
 import mx.core.IToolTip;
 import mx.core.IUITextField;
 import mx.core.UIComponent;
@@ -131,8 +131,8 @@
      */
     private function get borderMetrics():EdgeMetrics
     {
-        if (border is IBorder)
-            return IBorder(border).borderMetrics;
+        if (border is IRectangularBorder)
+            return IRectangularBorder(border).borderMetrics;

         return EdgeMetrics.EMPTY;
     }


Transferred from the Adobe Open Source Subversion Repository

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

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

QE Notes: None
Doc Notes: None
Bugs: -

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

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

--- frameworks/projects/framework/src/mx/controls/ToolTip.as
+++ frameworks/projects/framework/src/mx/controls/ToolTip.as
@@ -51,11 +51,6 @@
     shadowColor (when borderStyle is "toolTip")
     textAlign
     textDecoration
-*
-*  @langversion 3.0
-*  @playerversion Flash 9
-*  @playerversion AIR 1.1
-*  @productversion Flex 3
 */

 include "../styles/metadata/BorderStyles.as"


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

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

 package mx.core
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 15077
Author:   klin@adobe.com
Date:     2010-03-26T21:24:44.516312Z

Log Message:
-----------
Merge 15074 from 4.x to trunk.

Recommit fix for http://bugs.adobe.com/jira/browse/SDK-25919. For a non-mirroring application, we were calling invalidateLayoutDirection at startup even though we start out with the right layout. The fix is to default oldLayoutDirection to "ltr" so that we skip some of these calls at start up. We also need to make oldLayoutDirection mx_internal so that subclasses that don't call super.validateDisplayList() can update oldLayoutDirection correctly.

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

Modified Paths:
--------------
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -5852,7 +5852,7 @@
      *  to check if its parent's layoutDirection has changed, see commitProperties().
      *  The flag is cleared in validateDisplayList().
      */
-    private var oldLayoutDirection:String = null;
+    mx_internal var oldLayoutDirection:String = LayoutDirection.LTR;

     /**
      *  @inheritDoc


Transferred from the Adobe Open Source Subversion Repository

Revision: 5152
Author:   gruehle@adobe.com
Date:     2009-03-03T21:18:45.837259Z

Log Message:
-----------
First pass of bug fixes for the Spark skins for Halo components.

Bugs:
SDK-19963 - themeColor should not affect rollOverColor or selectionColor in flex 4
SDK-19654 - Spark skin for the Halo ComboBox dropdown needs a drop shadow
SDK-19637 - Halo HScrollBar/VScrollBar controls dont render correctly when specifying includeIn states
SDK-19634 - Halo ProgressBar default size is very different when using Halo vs Gumbo theme
SDK-19626 - Flicker when toggling enabled property on Halo TabBar control with Gumbo skin
SDK-19556 - selected Halo CheckBox and RadioButton icons briefly flicker when you roll over them
SDK-19658 - Halo ComboBox with Gumbo skin has an odd flicker

Doc/QA Notes: The fix for SDK-19963 includes a compatibility-version check. When compatibility-version < 4, setting themeColor implicitly sets rollOverColor and selectionColor, if they have not been set. When compatibility-version >= 4, you must explicitly set rollOverColor and selectionColor, even when using the Halo theme.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/BorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ProgressBarTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RectangularDropShadow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -9443,6 +9443,9 @@
      */
     mx_internal function initThemeColor():Boolean
     {
+    	if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_4_0)
+    		return true;
+
         var styleName:Object /* String or UIComponent */ = _styleName;

         var tc:Object;  // Can be number or string


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

--- frameworks/projects/framework/src/mx/states/IOverride.as
+++ frameworks/projects/framework/src/mx/states/IOverride.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: 10006
Author:   gruehle@adobe.com
Date:     2009-09-03T22:04:47.081899Z

Log Message:
-----------
Initial checkin of the "More styles for Spark skins" feature. Details here:
http://opensource.adobe.com/wiki/display/flexsdk/More+Styles+for+Spark+Skins

There are some known issues:
* Panel bottom corners not rounded correctly when the panel has a control bar
* cornerRadius on Tab and DateChooser non functional
* cornerRadius values > 4 have drawing artifacts in the "down" state of Button and button-like components
* TextInput/TextArea incorrectly list lineBreak and verticalAlign as valid styles

This checkin also includes a couple minor unrelated bug fixes:
* Remove MiniDebugTarget. This is a logging target that used MiniDebug, which hasn't worked since Flex 1.5
* Fix RTEs when setting focusSkin to null
* Optimization: don't measure skins if the host component has explicit sizes

QE notes: Yes, many baseline images will need to be regenerated
Doc notes: New ASDoc comments should be scrubbed
Bugs: SDK-22931, SDK-22798, SDK-22217, SDK-19358
Reviewer: Jason
Tests run: checkintests, cyclone
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/StepperIncrButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/PopUpButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/SparkChromeWindowedApplicationSkin.mxml</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/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonBarLastButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DefaultButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/logging/targets/MiniDebugTarget.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/airframework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DropDownListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/StepperDecrButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SpinnerDecrementButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/INavigatorContent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDeferredContentOwner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TextInputSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ToggleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TextAreaSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Skin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/EditableComboBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DefaultButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonBarLastButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/SparkSkinForHalo.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.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/skins/spark/ButtonBarFirstButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/TextInputBorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SpinnerIncrementButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/halo-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/PanelBorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonBarFirstButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DropDownListButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ComboBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/SparkSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RectangularDropShadow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/BorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/NumericStepperTextInputSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/PanelSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/spark/scripts/BorderTestScript.mxml</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/skins/spark/FocusSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ApplicationSkin.mxml</path>

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

--- frameworks/projects/mx/src/mx/controls/NumericStepper.as
+++ frameworks/projects/mx/src/mx/controls/NumericStepper.as
@@ -84,6 +84,16 @@
 include "../styles/metadata/LeadingStyle.as"
 include "../styles/metadata/PaddingStyles.as"
 include "../styles/metadata/TextStyles.as"
+
+/**
+ *  The alpha of the content background for this component.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Style(name="contentBackgroundAlpha", type="Number", inherit="yes", theme="spark")]

 /**
  *  Color of the content area of the component.


Transferred from the Adobe Open Source Subversion Repository

Revision: 4163
Author:   gosmith@adobe.com
Date:     2008-11-21T23:05:07.953326Z

Log Message:
-----------
Coding conventions: All [SkinPart] metadata now explicitly states required="true" or required="false".

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Evtim

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxTrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxSpinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>

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

--- frameworks/projects/spark/src/spark/components/Button.as
+++ frameworks/projects/spark/src/spark/components/Button.as
@@ -128,6 +128,7 @@
     //--------------------------------------------------------------------------

     [SkinPart(required="false")]
+
     /**
      *  A skin part that defines the  label of the button.
      */


Transferred from the Adobe Open Source Subversion Repository

Revision: 13359
Author:   smgilson@adobe.com
Date:     2010-01-08T01:12:34.344962Z

Log Message:
-----------
ASDoc updates for major axis changes

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HGroup.as</path>

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

--- frameworks/projects/spark/src/spark/components/HGroup.as
+++ frameworks/projects/spark/src/spark/components/HGroup.as
@@ -44,6 +44,7 @@
  *    Properties
  *    columnWidth="no default"
  *    gap="6"
+ *    horizontalAlign="top"
  *    paddingBottom="0"
  *    paddingLeft="0"
  *    paddingRight="0"


Transferred from the Adobe Open Source Subversion Repository

Revision: 5393
Author:   rfrishbe@adobe.com
Date:     2009-03-18T17:43:37.919635Z

Log Message:
-----------
For item renderers, we weren't correctly parsing the color name for alternatingItemColor.

Also, in VGroup/HGroup, we ended up allocating 2 different layout objects.  Now, we only allocate one of them because the GroupBase constructor takes an optional layout parameter.

QE Notes: -
Doc Notes: -
Bugs: SDK-19486, SDK-19976
Reviewer: Deepa
tests: checkintests, datagroup, group, fxdatacontainer, list (some failed, but qa has approved me as they must be Mac issues)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/HGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/HGroup.as
+++ frameworks/projects/spark/src/spark/components/HGroup.as
@@ -52,8 +52,7 @@
      */
     public function HGroup():void
     {
-        super();
-        layout = new HorizontalLayout();
+        super(new HorizontalLayout());
     }

     private function get horizontalLayout():HorizontalLayout


Transferred from the Adobe Open Source Subversion Repository

Revision: 11423
Author:   dloverin@adobe.com
Date:     2009-11-04T13:37:42.534490Z

Log Message:
-----------
Style manager fixes

StyleManagerImpl:
The code to remove style declarations from Subject was calling delete to remove the declaration. It removed the declaration but left an undefined entry in the Array because the array length was not changed. Later when the parent and child arrays are concatenated an undefined entry exists which causes the exception. Using splice() keeps the array length correct. Additionally, when there is only one entry in the array the entire Object from _subject is removed.

Alert.show() is called from a module and crashes because it is trying to use styles in the top-level app but the top-level app does not use Alert so the styles are not loaded. A work around would be to declare Alert in the top level application to draw in the needed styles. I made a fix in Alert so that work around is not needed.

Panel:
Null pointer check for titleBarBackground. This fix avoids the RTE but the Alert has no background.

Alert:
Add a module factory argument to Alert.show(). This is an alternative workaround to declaring Alert in the top-level application.

QE notes: None.
Doc notes: None.
Bugs: SDK-23977, SDK-23974, SDK-23995
Reviewer: Alex
Tests run: checkintests, components/Alert, Managers/StyleManager, Managers/PopUpManager
Is noteworthy for integration: No.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Alert.as</path>

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

--- frameworks/projects/mx/src/mx/containers/Panel.as
+++ frameworks/projects/mx/src/mx/containers/Panel.as
@@ -1560,9 +1560,12 @@
             titleBar.setActualSize(titleBarWidth, headerHeight);

             // Position the titleBarBackground within the titleBar.
-            titleBarBackground.move(0, 0);
-            IFlexDisplayObject(titleBarBackground).setActualSize(
-                titleBarWidth, headerHeight);
+            if (titleBarBackground)
+            {
+                titleBarBackground.move(0, 0);
+                IFlexDisplayObject(titleBarBackground).setActualSize(
+                    titleBarWidth, headerHeight);
+            }

             // Set the close button next to the upper-right corner,
             // offset by the border thickness.


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

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


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

--- frameworks/projects/framework/src/mx/core/FlexSprite.as
+++ frameworks/projects/framework/src/mx/core/FlexSprite.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.core
 {