Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/framework/src/mx/managers/IFocusManagerComponent.as
+++ frameworks/projects/framework/src/mx/managers/IFocusManagerComponent.as
@@ -0,0 +1,124 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.managers
+{
+
+/**
+ *  The IFocusManagerComponent interface defines the interface
+ *  that focusable components must implement in order to
+ *  receive focus from the FocusManager.
+ *  The base implementations of this interface are in the UIComponent class,
+ *  but UIComponent does not implement the full IFocusManagerComponent interface
+ *  since some UIComponents are not intended to receive focus.
+ *  Therefore, to make a UIComponent-derived component be a valid focusable
+ *  component, you simply add "implements IFocusManagerComponent" to the class
+ *  definition.
+ */
+public interface IFocusManagerComponent
+{
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  focusEnabled
+	//----------------------------------
+
+	/**
+	 *  A flag that indicates whether the component can receive focus when selected.
+	 *
+	 *
As an optimization, if a child component in your component
+	 *  implements the IFocusManagerComponent interface, and you
+	 *  never want it to receive focus,
+	 *  you can set focusEnabled
+	 *  to false before calling addChild()
+	 *  on the child component.

+	 *
+	 *
This will cause the FocusManager to ignore this component
+	 *  and not monitor it for changes to the tabEnabled,
+	 *  tabChildren, and mouseFocusEnabled properties.
+	 *  This also means you cannot change this value after
+	 *  addChild() and expect the FocusManager to notice.

+	 *
+	 *
Note: It does not mean that you cannot give this object focus
+	 *  programmatically in your setFocus() method;
+	 *  it just tells the FocusManager to ignore this IFocusManagerComponent
+	 *  component in the Tab and mouse searches.

+	 */
+	function get focusEnabled():Boolean;
+
+	/**
+	 *  @private
+	 */
+	function set focusEnabled(value:Boolean):void;
+
+	//----------------------------------
+	//  mouseFocusEnabled
+	//----------------------------------
+
+	/**
+	 *  A flag that indicates whether the component can receive focus
+	 *  when selected with the mouse.
+	 *  If false, focus will be transferred to
+	 *  the first parent that is mouseFocusEnabled.
+	 */
+	function get mouseFocusEnabled():Boolean;
+
+	//----------------------------------
+	//  tabEnabled
+	//----------------------------------
+
+	/**
+	 *  A flag that indicates whether pressing the Tab key eventually
+	 *  moves focus to this component.
+	 *  Even if false, you can still be given focus
+	 *  by being selected with the mouse or via a call to
+	 *  setFocus()
+	 */
+	function get tabEnabled():Boolean;
+
+	//----------------------------------
+	//  tabIndex
+	//----------------------------------
+
+	/**
+	 *  If tabEnabled, the order in which the component receives focus.
+	 *  If -1, then the component receives focus based on z-order.
+	 */
+	function get tabIndex():int;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Called by the FocusManager when the component receives focus.
+	 *  The component may in turn set focus to an internal component.
+	 */
+	function setFocus():void;
+
+	/**
+	 *  Called by the FocusManager when the component receives focus.
+	 *  The component should draw or hide a graphic
+	 *  that indicates that the component has focus.
+	 *
+	 *  @param isFocused If true, draw the focus indicator,
+	 *  otherwise hide it.
+	 */
+	function drawFocus(isFocused:Boolean):void;
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 17888
Author:   jasonsj@adobe.com
Date:     2010-09-27T23:53:42.962333Z

Log Message:
-----------
Removed values start and end for titleAlign. Added support for right alignment.

QE notes:
Doc notes:
Bugs:
SDK-28012  ActionBar textAlign style should support right aligned, and hide start/end
Reviewer: chiedozi
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ActionBar.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as
@@ -14,6 +14,7 @@
 import flash.display.GradientType;
 import flash.events.Event;
 import flash.geom.Matrix;
+import flash.text.TextFormatAlign;
 import flash.text.TextLineMetrics;

 import mx.core.ILayoutElement;
@@ -248,10 +249,19 @@
             titleCompWidth = titleCompWidth - (titlePaddingLeft + titlePaddingRight);

             // align titleDisplay to the absolute center
-            if (hostComponent.getStyle("titleAlign") == "center")
+            var titleAlign:String = getStyle("titleAlign");
+            if (titleAlign == "center")
+            {
+                // use LEFT instead of CENTER
+                titleDisplay.setStyle("textAlign", TextFormatAlign.LEFT);
+                titleCompWidth = titleDisplay.getExplicitOrMeasuredWidth();
+
+                // use x position of titleDisplay to implement CENTER
+                titleCompX = Math.floor((unscaledWidth - titleCompWidth)/ 2);
+            }
+            else
             {
-                titleCompWidth = titleDisplay.getExplicitOrMeasuredWidth();
-                titleCompX = Math.floor((unscaledWidth - titleCompWidth)/ 2);
+                titleDisplay.setStyle("textAlign", titleAlign);
             }

             // shrink and/or move titleDisplay width if there is any overlap after padding


Use UTF8 encoding; Thanks to Guichun Chen for providing the conversion algorithm!

--- Tablet/Clipboard/blackberry.clipboard/src/Air/Clipboard/src/blackberry/clipboard/ClipboardExtension.as
+++ Tablet/Clipboard/blackberry.clipboard/src/Air/Clipboard/src/blackberry/clipboard/ClipboardExtension.as
@@ -56,6 +56,7 @@
 //
 package blackberry.clipboard
 {
+	import flash.utils.ByteArray;
 	import flash.events.Event;
 	import flash.desktop.Clipboard;
 	import flash.desktop.ClipboardFormats;
@@ -106,6 +107,7 @@
 		public function setText(value:String):void
 		{
             Clipboard.generalClipboard.clear();
+			value = encodeUtf8(value); // Use UTF8 encoding
             Clipboard.generalClipboard.setData(ClipboardFormats.TEXT_FORMAT, value);
 		}
 		public function getText():String
@@ -113,5 +115,29 @@
 			return String(Clipboard.generalClipboard.getData(ClipboardFormats.TEXT_FORMAT));
 		}

+		public function encodeUtf8(str: String):String
+		{
+			if (str != null && str != "undefined") {
+			  	var oriByteArr: ByteArray = new ByteArray();
+			  	oriByteArr.writeUTFBytes(str);
+			  	var tempByteArr:ByteArray = new ByteArray();
+
+			  	for(var i:Number = 0; i < oriByteArr.length; i++) {
+				   	if(oriByteArr[i] == 194){
+						tempByteArr.writeByte(oriByteArr[i+1]);
+						i++;
+				   	} else if (oriByteArr[i] == 195) {
+						tempByteArr.writeByte(oriByteArr[i+1] + 64);
+						i++;
+				   	} else {
+						tempByteArr.writeByte(oriByteArr[i]);
+				   	}
+				}
+				tempByteArr.position = 0;
+			  	return tempByteArr.readMultiByte(tempByteArr.bytesAvailable, "utf-8");
+			} else {
+			 	return "";
+			}
+		}
 	}
-}
+}


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

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


Transferred from the Adobe Open Source Subversion Repository

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

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


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

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

 package mx.managers
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 2335
Author:   dloverin@adobe.com
Date:     2008-07-02T13:20:18.861572Z

Log Message:
-----------
Remove obsolete classes related to proxy event listening and more clean up.

Remove EventUtil.isMouseEvent().

Modified Paths:
--------------
<path kind="file" action="D">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/core/ProxyEventDispatcher.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/events/RemoveEventListenerRequest.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/managers/ISystemManager2.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/events/AddEventListenerRequest.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/utils/EventUtil.as</path>

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

--- frameworks/projects/framework/src/mx/utils/EventUtil.as
+++ frameworks/projects/framework/src/mx/utils/EventUtil.as
@@ -29,27 +29,6 @@
 	//
 	//--------------------------------------------------------------------------

-	/**
-	 * Determine if the type of an event is a mouse event.  This method should be
-	 * replaced by the maps before we ship.
-	 *
-	 * @return true if the type is a one of the events in MouseEvent, false otherwise.
-	 *
-	 */
-	public static function isMouseEvent(type:String):Boolean
-	{
-		if (type == MouseEvent.CLICK || type == MouseEvent.DOUBLE_CLICK ||
-			type == MouseEvent.MOUSE_DOWN || type == MouseEvent.MOUSE_MOVE ||
-			type == MouseEvent.MOUSE_OUT || type == MouseEvent.MOUSE_OVER ||
-			type == MouseEvent.MOUSE_UP ||  type == MouseEvent.MOUSE_WHEEL ||
-			type == MouseEvent.ROLL_OUT ||  type == MouseEvent.ROLL_OVER)
-		{
-			return true;
-		}
-
-		return false;
-	}
-
 	private static var _marshalEventMap:Object;

 	/**


Transferred from the Adobe Open Source Subversion Repository

Revision: 5099
Author:   gauravj@adobe.com
Date:     2009-02-27T03:43:02.639229Z

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:
--------------
147 paths were modified

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

--- frameworks/projects/rpc/src/mx/rpc/xml/SchemaManager.as
+++ frameworks/projects/rpc/src/mx/rpc/xml/SchemaManager.as
@@ -56,6 +56,11 @@
      * different Schemas that use different version of the XML Schema
      * specification? If so, then the schemaConstants could be obtained
      * from each Schema.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get schemaConstants():SchemaConstants
     {
@@ -106,6 +111,11 @@
     /**
      * Adds a Schema to the current scope. If a Schema already exists in
      * the scope then the scope is promoted to an Array of Schemas.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function addSchema(schema:Schema, toCurrentScope:Boolean = true):void
     {
@@ -131,6 +141,11 @@

     /**
      * Returns the Schema that was last used to retrieve a definition.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get currentSchema():Schema
     {
@@ -161,6 +176,11 @@
      * @param componentTypes A list of structural element types that may have
      * the name provided, such as <element>, <complexType>, <simpleType>,
      * <attribute> or <attributeGroup>. The first one found is returned.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function getNamedDefinition(name:QName, ...componentTypes:Array):XML
     {
@@ -186,6 +206,11 @@
     /**
      * Locate a schema for the given namespace and push it to a
      * new scope level.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function pushNamespaceInScope(nsParam:*):Boolean
     {
@@ -209,6 +234,11 @@
      * current schema for that scope.
      *
      * @param schema The Schema to push to a new scope
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function pushSchemaInScope(schema:Schema):void
     {
@@ -319,6 +349,11 @@
      * the current schema, regardless of declarations for unprefixed namespaces.
      * qualifyToTargetNamespace should be true when resolving names coming from
      * the following schema attributes: name, ref.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function getQNameForPrefixedName(prefixedName:String, parent:XML=null,
                                     qualifyToTargetNamespace:Boolean=false):QName
@@ -406,6 +441,11 @@
     /**
      * Converts ActionScript to XML based on default rules
      * established for each of the built-in XML Schema types.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function marshall(value:*, type:QName = null, restriction:XML = null):String
     {
@@ -416,6 +456,11 @@
      * Informs the SchemaManager that the current definition is no
      * longer being processed so we release the associated Schema from the
      * current scope of qualified definitions.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function releaseScope():*
     {
@@ -424,6 +469,11 @@

     /**
      * Reverts to initialScope.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function reset():void
     {
@@ -435,6 +485,11 @@
     /**
      * Converts XML to ActionScript based on default rules
      * established for each of the built-in XML Schema types.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function unmarshall(value:*, type:QName = null, restriction:XML = null):*
     {
@@ -454,6 +509,11 @@
      * A Stack of Schemas which records the current scope and the last Schema
      * that was accessed to locate a definition. Multiple Schemas may be
      * placed in Scope at any level by adding them to the Stack as an Array.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private var schemaStack:Array;
     private var initialScope:*;


Transferred from the Adobe Open Source Subversion Repository

Revision: 12529
Author:   cframpto@adobe.com
Date:     2009-12-04T13:41:09.259946Z

Log Message:
-----------
Fix broken build.  TLF build 565 changed GlobalSettings.getResourceStringFunction to GlobalSettings.resourceStringFunction getter.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/UIFTETextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/utils/TextFlowUtil.as</path>

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

--- frameworks/projects/spark/src/mx/core/UIFTETextField.as
+++ frameworks/projects/spark/src/mx/core/UIFTETextField.as
@@ -272,7 +272,7 @@
 		 *  TLF itself has English-only messages,
 		 *  but higher layers like Flex can provide localized versions.
 		 */
-		GlobalSettings.getResourceStringFunction = TextUtil.getResourceString;
+		GlobalSettings.resourceStringFunction = TextUtil.getResourceString;

         // Although a TextField's 'text' is initially "",
         // getLineMetrics() will return bad values until some text is set.


Transferred from the Adobe Open Source Subversion Repository

Revision: 3534
Author:   smgilson@adobe.com
Date:     2008-10-09T12:26:47.131069Z

Log Message:
-----------
Update ASDoc comments

Checkin Test Passed: Yes
QA: No
Bug:
Doc: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/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@1279111 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -54,10 +54,15 @@
 [DefaultProperty("content")]

 /**
- *  The Group class.
+ *  The Group class is the base container class for visual elements.
+ *
+ *  @see mx.components.DataGroup
  */
 public class Group extends GroupBase
 {
+    /**
+     *  Constructor.
+     */
     public function Group():void
     {
         super();
@@ -87,28 +92,28 @@
      */
     override public function set alpha(value:Number):void
     {
-    	//The default blendMode in FXG is 'layer'. There are only
-    	//certain cases where this results in a rendering difference,
-    	//one being when the alpha of the Group is > 0 and < 1. In that
-    	//case we set the blendMode to layer to avoid the performance
-    	//overhead that comes with a non-normal blendMode.
-
-    	if (value > 0 && value < 1 && !blendModeExplicitlySet)
-    	{
-    		_blendMode = BlendMode.LAYER;
-    		blendModeChanged = true;
-    	}
-    	else if ((value == 1 || value == 0) && !blendModeExplicitlySet)
-    	{
-    		_blendMode = BlendMode.NORMAL;
-    		blendModeChanged = true;
-    	}
-
-    	super.alpha = value;
-
-		if (blendModeChanged)
-    		needsDisplayObjectAssignment = true;
-    	invalidateProperties();
+        //The default blendMode in FXG is 'layer'. There are only
+        //certain cases where this results in a rendering difference,
+        //one being when the alpha of the Group is > 0 and < 1. In that
+        //case we set the blendMode to layer to avoid the performance
+        //overhead that comes with a non-normal blendMode.
+
+        if (value > 0 && value < 1 && !blendModeExplicitlySet)
+        {
+            _blendMode = BlendMode.LAYER;
+            blendModeChanged = true;
+        }
+        else if ((value == 1 || value == 0) && !blendModeExplicitlySet)
+        {
+            _blendMode = BlendMode.NORMAL;
+            blendModeChanged = true;
+        }
+
+        super.alpha = value;
+
+        if (blendModeChanged)
+            needsDisplayObjectAssignment = true;
+        invalidateProperties();
     }

     //----------------------------------
@@ -123,11 +128,21 @@
     private var blendModeChanged:Boolean;
     private var blendModeExplicitlySet:Boolean;

-	[Bindable("propertyChange")]
+    [Bindable("propertyChange")]
     [Inspectable(category="General", enumeration="add,alpha,darken,difference,erase,hardlight,invert,layer,lighten,multiply,normal,subtract,screen,overlay", defaultValue="normal")]

     /**
-     *  Documentation is not currently available.
+     *  A value from the BlendMode class that specifies which blend mode to use.
+     *  A bitmap can be drawn internally in two ways.
+     *  If you have a blend mode enabled or an external clipping mask, the bitmap is drawn
+     *  by adding a bitmap-filled square shape to the vector render.
+     *  If you attempt to set this property to an invalid value,
+     *  Flash Player or Adobe AIR sets the value to BlendMode.NORMAL.
+     *
+     *  @default BlendMode.NORMAL
+     *
+     *  @see flash.display.DisplayObject#blendMode
+     *  @see flash.display.BlendMode
      */
     override public function get blendMode():String
     {
@@ -141,18 +156,18 @@
      */
     override public function set blendMode(value:String):void
     {
-    	if (blendModeExplicitlySet && value == _blendMode)
-    		return;
-
-    	var oldValue:String = _blendMode;
-    	_blendMode = value;
+        if (blendModeExplicitlySet && value == _blendMode)
+            return;
+
+        var oldValue:String = _blendMode;
+        _blendMode = value;
         dispatchPropertyChangeEvent("blendMode", oldValue, value);
-
-    	blendModeExplicitlySet = true;
-
-		blendModeChanged = true;
-		needsDisplayObjectAssignment = true;
-    	invalidateProperties();
+
+        blendModeExplicitlySet = true;
+
+        blendModeChanged = true;
+        needsDisplayObjectAssignment = true;
+        invalidateProperties();
     }

     /**
@@ -334,7 +349,6 @@
     /**
      *  The number of items in this group.
      *
-     *  @return The number of items in this group
      */
     public function get numItems():int
     {
@@ -354,7 +368,7 @@
      *
      *  @return The item at the specified index.
      *
-     *  @throws RangeError Throws if the index position does not exist in the child list.
+     *  @throws RangeError If the index position does not exist in the child list.
      */
     public function getItemAt(index:int):Object
     {
@@ -397,19 +411,19 @@
     /**
      *  Adds an item to this Group. The item is added after all other
      *  items and on top of all other items.  (To add an item to a specific
-     *  index position, use the addChildAt() method.)
+     *  index position, use the addChildAt() method.)
      *
      *
If you add an item object that already has a different
      * container as a parent, the object is removed from the child
      * list of the other container.

      *
-     *  @param item The item to add as a child of this Group instance
+     *  @param item The item to add as a child of this Group instance.
      *
      *  @return The item that was added to the Group.
      *
-     *  @event itemAdded Dispatched when the item is added to the child list
-     *
-     *  @throws ArgumentError if the child is the same as the parent.
+     *  @event itemAdded ItemExistenceChangedEvent Dispatched when the item is added to the child list.
+     *
+     *  @throws ArgumentError If the child is the same as the parent.
      */
     public function addItem(item:Object):Object
     {
@@ -421,7 +435,8 @@
      *  position specified.  An index of 0 represents the first item
      *  and the back (bottom) of the display list.
      *
-     *  @param item The item to add as a child of this Group instance
+     *  @param item The item to add as a child of this Group instance.
+     *
      *  @param index The index position to which the item is added. If
      *  you specify a currently occupied index position, the child object
      *  that exists at that position and all higher positions are moved
@@ -431,8 +446,9 @@
      *
      *  @event itemAdded Dispatched when the item is added to the child list
      *
-     *  @throws ArgumentError if the child is the same as the parent.
-     *  @throws RangeError Throws if the index position does not exist in the child list.
+     *  @throws ArgumentError If the child is the same as the parent.
+     *
+     *  @throws RangeError If the index position does not exist in the child list.
      */
     public function addItemAt(item:Object, index:int):Object
     {
@@ -476,7 +492,7 @@
      *
      *  @return The item removed from the Group.
      *
-     *  @throws ArgumentError Throws if the item parameter is not a child of this object.
+     *  @throws ArgumentError If the item parameter is not a child of this object.
      */
     public function removeItem(item:Object):Object
     {
@@ -490,7 +506,7 @@
      *
      *  @return The item removed from the Group.
      *
-     *  @throws RangeError Throws if the index does not exist in the child list.
+     *  @throws RangeError If the index does not exist in the child list.
      */
     public function removeItemAt(index:int):Object
     {
@@ -532,13 +548,13 @@
     }

     /**
-     *  Returns the index position of an item
-     *
-     *  @param item The item to identify
-     *
-     *  @return The index position of the item to identify
-     *
-     *  @throws ArgumentError Throws if the item is not a child of this object
+     *  Returns the index position of an item.
+     *
+     *  @param item The item to identify.
+     *
+     *  @return The index position of the item to identify.
+     *
+     *  @throws ArgumentError If the item is not a child of this object.
      */
     public function getItemIndex(item:Object):int
     {
@@ -569,21 +585,25 @@
     /**
      *  Changes the position of an existing child in the Group.
      *
-     *
When you use the setItemIndex() method and specify an
+     *
When you call the setItemIndex() method and specify an
      *  index position that is already occupied, the only positions
      *  that change are those in between the item's former and new position.
-     *  All others will stay the same.  If an item is moved to an index
-     *  LOWER than its current index, all items in between will INCREASE
-     *  by 1 for their index reference.  If an item is moved to an index
-     *  HIGHER than its current index, all items in between will
-     *  DECREASE by 1 for their index reference.

+     *  All others will stay the same.

+     *
+     *
If an item is moved to an index
+     *  lower than its current index, the index of all items in between increases
+     *  by 1.  If an item is moved to an index
+     *  higher than its current index, the index of all items in between
+     *  decreases by 1.

      *
      *  @param item The item for which you want to change the index number.
-     *  @param index The resulting index number for the item
-     *
-     *  @throws RangeError - Throws if the index does not exist in the child list.
-     *  @throws ArgumentError - Throws if the item parameter is not a child
-     *  of this object
+     *
+     *  @param index The resulting index number for the item.
+     *
+     *  @throws RangeError - If the index does not exist in the child list.
+     *
+     *  @throws ArgumentError - If the item parameter is not a child
+     *  of this object.
      */
     public function setItemIndex(item:Object, index:int):void
     {
@@ -600,9 +620,10 @@
      *  remain in the same index position.
      *
      *  @param item1 The first item.
+     *
      *  @param item2 The second item.
      *
-     *  @throws ArgumentError Throws if either item is not a child of this object
+     *  @throws ArgumentError If either item is not a child of this object.
      */
     public function swapItems(item1:Object, item2:Object):void
     {
@@ -614,9 +635,10 @@
      *  the Group.  All other items remain in the same index position.
      *
      *  @param index1 The index of the first item.
+     *
      *  @param index2 The index of the second item.
      *
-     *  @throws RangeError If either index does not exist in the child list
+     *  @throws RangeError If either index does not exist in the child list.
      */
     public function swapItemsAt(index1:int, index2:int):void
     {
@@ -661,7 +683,7 @@
     /**
      *  @inheritDoc
      *
-     *  @throws RangeError Throws if the index position does not exist in the child list.
+     *  @throws RangeError If the index position does not exist in the child list.
      */
     override public function getLayoutItemAt(index:int):ILayoutItem
     {
@@ -682,18 +704,19 @@
      */
     override public function invalidateLayering():void
     {
-    	if (layeringMode == ITEM_ORDERED_LAYERING)
-    		layeringMode = SPARSE_LAYERING;
-    	if (needsDisplayObjectAssignment == true)
-    		return;
-    	needsDisplayObjectAssignment = true;
-    	invalidateProperties();
+        if (layeringMode == ITEM_ORDERED_LAYERING)
+            layeringMode = SPARSE_LAYERING;
+        if (needsDisplayObjectAssignment == true)
+            return;
+        needsDisplayObjectAssignment = true;
+        invalidateProperties();
     }

     /**
      *  Internal Group method called to add an item to this Group.
      *
      *  @param item The item that was added.
+     *
      *  @param index The index where the item was added.
      */
     protected function itemAdded(item:Object, index:int):void
@@ -701,7 +724,7 @@
         var child:DisplayObject;

         if (item is IVisualItem && (item as IVisualItem).layer != 0)
-        	invalidateLayering();
+            invalidateLayering();

         if (item is GraphicElement)
         {
@@ -762,7 +785,7 @@
      */
     private function get canShareDisplayObject():Boolean
     {
-    	return blendMode == "normal" && (layeringMode == ITEM_ORDERED_LAYERING);
+        return blendMode == "normal" && (layeringMode == ITEM_ORDERED_LAYERING);
     }

     /**
@@ -786,60 +809,60 @@
         {
             var item:Object = getItemAt(i);

-        	if (layeringMode != ITEM_ORDERED_LAYERING)
-        	{
-        		var layer:Number = 0;
-        		if (item is IVisualItem)
-        			layer = (item as IVisualItem).layer;
-        		if (layer != 0)
-        		{
-            		if (layer > 0)
-            		{
-            			if (topLayerItems == null) topLayerItems = new Vector.<IVisualItem>();
-            			topLayerItems.push(item);
-            			continue;
-            		}
-            		else
-            		{
-            			if (bottomLayerItems == null) bottomLayerItems = new Vector.<IVisualItem>();
-            			bottomLayerItems.push(item);
-            			continue;
-            		}
-            	}
-         	}
-			assignDisplayObjectTo(item,mergeData);
+            if (layeringMode != ITEM_ORDERED_LAYERING)
+            {
+                var layer:Number = 0;
+                if (item is IVisualItem)
+                    layer = (item as IVisualItem).layer;
+                if (layer != 0)
+                {
+                    if (layer > 0)
+                    {
+                        if (topLayerItems == null) topLayerItems = new Vector.<IVisualItem>();
+                        topLayerItems.push(item);
+                        continue;
+                    }
+                    else
+                    {
+                        if (bottomLayerItems == null) bottomLayerItems = new Vector.<IVisualItem>();
+                        bottomLayerItems.push(item);
+                        continue;
+                    }
+                }
+            }
+            assignDisplayObjectTo(item,mergeData);
         }
         if (topLayerItems != null)
         {
-        	keepLayeringEnabled = true;
-        	//topLayerItems.sortOn("layer",Array.NUMERIC);
-        	sortOnLayer(topLayerItems);
-        	len = topLayerItems.length;
-        	for (i=0;i<len;i++)
-        	{
-        		assignDisplayObjectTo(topLayerItems[i],mergeData);
-        	}
+            keepLayeringEnabled = true;
+            //topLayerItems.sortOn("layer",Array.NUMERIC);
+            sortOnLayer(topLayerItems);
+            len = topLayerItems.length;
+            for (i=0;i<len;i++)
+            {
+                assignDisplayObjectTo(topLayerItems[i],mergeData);
+            }
         }

         if (bottomLayerItems != null)
         {
-        	keepLayeringEnabled = true;
-	        mergeData.currentAssignableDO  = null;
-	        mergeData.lastDisplayObject = this;
-	        mergeData.insertIndex = 0;
-
-        	//bottomLayerItems.sortOn("layer",Array.NUMERIC);
-        	sortOnLayer(bottomLayerItems);
-        	len = bottomLayerItems.length;
-
-        	for (i=0;i<len;i++)
-        	{
-        		assignDisplayObjectTo(bottomLayerItems[i],mergeData);
-        	}
+            keepLayeringEnabled = true;
+            mergeData.currentAssignableDO  = null;
+            mergeData.lastDisplayObject = this;
+            mergeData.insertIndex = 0;
+
+            //bottomLayerItems.sortOn("layer",Array.NUMERIC);
+            sortOnLayer(bottomLayerItems);
+            len = bottomLayerItems.length;
+
+            for (i=0;i<len;i++)
+            {
+                assignDisplayObjectTo(bottomLayerItems[i],mergeData);
+            }
         }

         if (keepLayeringEnabled == false)
-        	layeringMode = ITEM_ORDERED_LAYERING;
+            layeringMode = ITEM_ORDERED_LAYERING;
     }

     /**
@@ -851,42 +874,42 @@
      *  first the layer property, and then the item order, so a stable sort is important (and the
      *  built in flash sort is not stable).
      */
-	private static function sortOnLayer(a:Vector.<IVisualItem>):void
-	{
-		var len:Number = a.length;
-		var tmp:IVisualItem;
-		if (len<= 1)
-			return;
-		for (var i:int = 1;i<len;i++)
-		{
-			for (var j:int = i;j > 0;j--)
-			{
-				if ( a[j].layer < a[j-1].layer )
-				{
-					tmp = a[j];
-					a[j] = a[j-1];
-					a[j-1] = tmp;
-				}
-				else
-					break;
-			}
-		}
-	}
+    private static function sortOnLayer(a:Vector.<IVisualItem>):void
+    {
+        var len:Number = a.length;
+        var tmp:IVisualItem;
+        if (len<= 1)
+            return;
+        for (var i:int = 1;i<len;i++)
+        {
+            for (var j:int = i;j > 0;j--)
+            {
+                if ( a[j].layer < a[j-1].layer )
+                {
+                    tmp = a[j];
+                    a[j] = a[j-1];
+                    a[j-1] = tmp;
+                }
+                else
+                    break;
+            }
+        }
+    }

     /**
      *  @private
      */
     private function assignDisplayObjectTo(item:Object,mergeData:GroupDisplayObjectMergeData):void
     {
-    	if (mergeData.lastDisplayObject == this)
-    		mergeData.insertIndex = 0;
-    	else
-    		mergeData.insertIndex = super.getChildIndex(mergeData.lastDisplayObject) + 1;
-
+        if (mergeData.lastDisplayObject == this)
+            mergeData.insertIndex = 0;
+        else
+            mergeData.insertIndex = super.getChildIndex(mergeData.lastDisplayObject) + 1;
+
         if (item is DisplayObject)
         {
-        	super.setChildIndex(item as DisplayObject, mergeData.insertIndex);
-
+            super.setChildIndex(item as DisplayObject, mergeData.insertIndex);
+
             mergeData.lastDisplayObject = item as DisplayObject;
             // Null this out so that we are forced to create one for the next item
             mergeData.currentAssignableDO = null;
@@ -1220,7 +1243,7 @@
 }

-import flash.display.DisplayObject;
+import flash.display.DisplayObject;

 class GroupDisplayObjectMergeData
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 6289
Author:   cframpto@adobe.com
Date:     2009-04-27T18:40:43.791247Z

Log Message:
-----------
Fix SimpleText verticalAlign="middle" and "bottom".

RichText - simplify assignment to textLineCreator to match how it was done in SimpleText

QE Notes:
Doc Notes:
Bugs: SDK-20589
Reviewers: Gordon

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>

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

--- frameworks/projects/spark/src/spark/components/Label.as
+++ frameworks/projects/spark/src/spark/components/Label.as
@@ -802,9 +802,15 @@
 			// of its baseline, not of its top.
             nextY += (n == 0 ? nextTextLine.ascent : actualLineHeight);

-			// If it is completely outside the rectangle, we're done.
-			if (nextY - nextTextLine.ascent > innerHeight)
+			// If verticalAlign is top and the next line is completely outside
+			// the rectangle, we're done.  If verticalAlign is middle or bottom
+			// then we need to compose all the lines so the alignment is done
+			// correctly.
+			if (verticalAlign == "top" &&
+			    nextY - nextTextLine.ascent > innerHeight)
+			{
 				break;
+			}

 			// We'll keep this line. Put it into the textLines array.
 			textLine = nextTextLine;
@@ -1244,7 +1250,7 @@

     /**
 	 *  @private
-     *  Cleans up and sets the validity of the lines disassociated
+     *  Cleans up and sets the validity of the lines associated
      *  with the TextBlock to TextLineValidity.INVALID.
      */
     private function releaseLinesFromTextBlock():void


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

--- frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkComboBoxAutomationImpl.as
+++ frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkComboBoxAutomationImpl.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.automation.delegates.components
 {


renamed compile() to compileProject() because closure compiler failed to rename a call properly in release build (it must be a bug in flexjs or closure compiler)

--- source/ASConfigC.as
+++ source/ASConfigC.as
@@ -69,7 +69,7 @@
 			process.chdir(path.dirname(this._configFilePath));

 			this.parseConfig();
-			this.compile();
+			this.compileProject();
 		}

 		private var _flexHome:String;
@@ -540,7 +540,7 @@
 			this._args.push(sizePair.height);
 		}

-		private function compile():void
+		private function compileProject():void
 		{
 			var jarName:String = "mxmlc.jar";
 			if(this._projectType === ProjectType.LIB)


Fixed large symbol, displayport rendering

--- src/Displays/DModule.as
+++ src/Displays/DModule.as
@@ -143,8 +143,8 @@
 				symbol.x = x + width / 2 - symbol.width / 2;
 				symbol.y = y + height - symbol.height - 4;
 				if (largeSymbol) {
-					largeSymbol.x = x + width / 2 - symbol.width / 2;
-					largeSymbol.y = y + height / 2 - symbol.height / 2;
+					largeSymbol.x = x + width / 2 - largeSymbol.width / 2;
+					largeSymbol.y = y + height / 2 - largeSymbol.height / 2;
 				}
 			} else if (nameText) {
 				nameText.x = x;
@@ -175,6 +175,9 @@
 		}

 		override public function draw():void {
+			for each (var displayPort:DPort in displayPorts)
+				displayPort.draw();
+
 			super.draw();

 			if (module.internalLayout) {
@@ -195,9 +198,6 @@
 				detailsText.text = getDetails();
 				detailsText.draw();
 			}
-
-			for each (var displayPort:DPort in displayPorts)
-				displayPort.draw();
 		}
 	}


fixed bug - thumbnail wouldn't update

fixed bug - thumbnail wouldn't update

--- WeaveUISpark/src/weave/Weave.as
+++ WeaveUISpark/src/weave/Weave.as
@@ -317,12 +317,14 @@
 			try
 			{
 				var _thumbnail:BitmapData = BitmapUtils.getBitmapDataFromComponent(component, THUMBNAIL_SIZE, THUMBNAIL_SIZE);
-				output.files[ARCHIVE_THUMBNAIL_PNG] = _pngEncoder.encode(_thumbnail);
+				WeaveAPI.URLRequestUtils.saveLocalFile(ARCHIVE_THUMBNAIL_PNG, _pngEncoder.encode(_thumbnail));
 				if (saveScreenshot)
 				{
 					var _screenshot:BitmapData = BitmapUtils.getBitmapDataFromComponent(component);
-					output.files[ARCHIVE_SCREENSHOT_PNG] = _pngEncoder.encode(_screenshot);
-				}
+					WeaveAPI.URLRequestUtils.saveLocalFile(ARCHIVE_SCREENSHOT_PNG, _pngEncoder.encode(_screenshot));
+				}
+				else
+					WeaveAPI.URLRequestUtils.removeLocalFile(ARCHIVE_SCREENSHOT_PNG);
 			}
 			catch (e:SecurityError)
 			{


Transferred from the Adobe Open Source Subversion Repository

Revision: 5099
Author:   gauravj@adobe.com
Date:     2009-02-27T03:43:02.639229Z

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:
--------------
147 paths were modified

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

--- frameworks/projects/rpc/src/mx/messaging/messages/HTTPRequestMessage.as
+++ frameworks/projects/rpc/src/mx/messaging/messages/HTTPRequestMessage.as
@@ -23,6 +23,12 @@
  *  HTTP requests are sent to the HTTP endpoint using this message type.
  *  An HTTPRequestMessage encapsulates content and header information normally
  *  found in HTTP requests made by a browser.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion BlazeDS 4
+ *  @productversion LCDS 3
  */
 public class HTTPRequestMessage extends AbstractMessage
 {
@@ -34,6 +40,12 @@

     /**
      *  Constructs an uninitialized HTTP request.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public function HTTPRequestMessage()
     {
@@ -57,12 +69,24 @@
      *      msg.method = HTTPRequestMessage.POST_METHOD;
      *      msg.url = "http://my.company.com/login";
      *    </pre>
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public var contentType:String;

     /**
      *  Contains specific HTTP headers that should be placed on the request made
      *  to the destination.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public var httpHeaders:Object;

@@ -70,6 +94,12 @@
      * Only used when going through the proxy, should the proxy
      * send back the request and response headers it used.  Defaults to false.
      * Currently only set when using the NetworkMonitor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public var recordHeaders:Boolean;

@@ -85,6 +115,12 @@
      *      msg.method = HTTPRequestMessage.POST_METHOD;
      *      msg.url = "http://my.company.com/login";
      *    </pre>
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public var url:String;

@@ -129,6 +165,12 @@
      *      msg.method = HTTPRequestMessage.POST_METHOD;
      *      msg.url = "http://my.company.com/login";
      *    </pre>
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public function get method():String
     {
@@ -147,6 +189,12 @@
 				"messaging", "invalidRequestMethod");
             throw new ArgumentError(message);
 		}
+		*
+		*  @langversion 3.0
+		*  @playerversion Flash 9
+		*  @playerversion AIR 1.1
+		*  @productversion BlazeDS 4
+		*  @productversion LCDS 3
 		*/

         _method = value;
@@ -167,6 +215,12 @@
      *      msg.method = HTTPRequestMessage.POST_METHOD;
      *      msg.url = "http://my.company.com/login";
      *    </pre>
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public static const CONTENT_TYPE_XML:String = "application/xml";

@@ -179,6 +233,12 @@
      *      msg.method = HTTPRequestMessage.POST_METHOD;
      *      msg.url = "http://my.company.com/login";
      *    </pre>
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public static const CONTENT_TYPE_FORM:String = "application/x-www-form-urlencoded";

@@ -192,6 +252,12 @@
      *      msg.method = HTTPRequestMessage.POST_METHOD;
      *      msg.url = "http://my.company.com/login";
      *    </pre>
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public static const CONTENT_TYPE_SOAP_XML:String = "text/xml; charset=utf-8";

@@ -204,6 +270,12 @@
      *      msg.method = HTTPRequestMessage.POST_METHOD;
      *      msg.url = "http://my.company.com/login";
      *    </pre>
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public static const POST_METHOD:String = "POST";

@@ -216,6 +288,12 @@
      *      msg.method = HTTPRequestMessage.GET_METHOD;
      *      msg.url = "http://my.company.com/login";
      *    </pre>
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public static const GET_METHOD:String = "GET";

@@ -228,6 +306,12 @@
      *      msg.method = HTTPRequestMessage.PUT_METHOD;
      *      msg.url = "http://my.company.com/login";
      *    </pre>
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public static const PUT_METHOD:String = "PUT";

@@ -240,6 +324,12 @@
      *      msg.method = HTTPRequestMessage.HEAD_METHOD;
      *      msg.url = "http://my.company.com/login";
      *    </pre>
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public static const HEAD_METHOD:String = "HEAD";

@@ -252,6 +342,12 @@
      *      msg.method = HTTPRequestMessage.DELETE_METHOD;
      *      msg.url = "http://my.company.com/login";
      *    </pre>
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public static const DELETE_METHOD:String = "DELETE";

@@ -264,6 +360,12 @@
      *      msg.method = HTTPRequestMessage.OPTIONS_METHOD;
      *      msg.url = "http://my.company.com/login";
      *    </pre>
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public static const OPTIONS_METHOD:String = "OPTIONS";

@@ -276,6 +378,12 @@
      *      msg.method = HTTPRequestMessage.TRACE_METHOD;
      *      msg.url = "http://my.company.com/login";
      *    </pre>
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public static const TRACE_METHOD:String = "TRACE";


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 20687
Author:   smgilson@adobe.com
Date:     2011-03-08T20:09:56.755277Z

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

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ArrayCollection.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ArrayList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/SortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/Label.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/containers/ViewStack.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/PopUpMenuButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/controls/MovieClipSWFLoader.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionView.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/ComboBase.as</path>

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

--- frameworks/projects/mx/src/mx/controls/DataGrid.as
+++ frameworks/projects/mx/src/mx/controls/DataGrid.as
@@ -2607,14 +2607,14 @@
             contentHolder.addChildAt(rowBGs, 0);
         }

-
-		var colors:Array;
-		var colorsStyle:Object = getStyle("alternatingItemColors");
-
-		if (colorsStyle)
-			colors = (colorsStyle is Array) ? (colorsStyle as Array) : [colorsStyle];
-
-		if (!colors || colors.length == 0)
+
+        var colors:Array;
+        var colorsStyle:Object = getStyle("alternatingItemColors");
+
+        if (colorsStyle)
+            colors = (colorsStyle is Array) ? (colorsStyle as Array) : [colorsStyle];
+
+        if (!colors || colors.length == 0)
         {
             while (rowBGs.numChildren > n)
             {
@@ -5390,12 +5390,18 @@
         losingFocus = false;
     }

+    /**
+     *  @private
+     */
     protected function isComplexColumn( property:String ):Boolean
     {
         return ( property.indexOf( "." ) != -1 );
     }

     //Gets the reference to the parent object where a property will be updated
+    /**
+     *  @private
+     */
     protected function deriveComplexFieldReference( data:Object, complexFieldNameComponents:Array ):Object
     {
         var currentRef:Object = data;
@@ -5411,6 +5417,9 @@
     //default implementations of these two methods, intended for subclassing
     //not checking if it really is a complex value here as the performance hit of doing this here is negligible
     //compared with every display
+    /**
+     *  @private
+     */
     protected function getCurrentDataValue( data:Object, property:String ):String
     {
         if ( !isComplexColumn( property ) )
@@ -5423,6 +5432,9 @@
     }

     //Passing all of these parameters as it basically allows everything you would need to subclass for all sorts of fun implementations
+    /**
+     *  @private
+     */
     protected function setNewValue( data:Object, property:String, value:Object, columnIndex:int ):Boolean
     {
         if ( !isComplexColumn( property ) )


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/framework/src/mx/core/IEmbeddedFontRegistry.as
+++ frameworks/projects/framework/src/mx/core/IEmbeddedFontRegistry.as
@@ -0,0 +1,86 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 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
+{
+
+[ExcludeClass]
+
+/**
+ *  @private
+ *  Interface to a registery of fonts embedded in SWF files.
+ */
+public interface IEmbeddedFontRegistry
+{
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+	/**
+     *  Registers a font and associates it with a moduleFactory.
+     *
+     *  @param font Describes attributes of the font to register.
+	 *
+     *  @param moduleFactory The moduleFactory where the font is embedded.
+     */
+	function registerFont(font:EmbeddedFont,
+						  moduleFactory:IFlexModuleFactory):void;
+
+	/**
+	 *  Deregisters a font.
+	 *
+	 *
The moduleFactory is provided to resolve the case
+	 *  where multiple fonts are registered with the same attributes.

+	 *
+     *  @param font Describes attributes of the font to register.
+	 *
+     *  @param moduleFactory moduleFactory where the font is embedded.
+     */
+	function deregisterFont(font:EmbeddedFont,
+							moduleFactory:IFlexModuleFactory):void;
+
+    /**
+     *  Finds the moduleFactory associated with a font.
+	 *
+	 *
The moduleFactory is used to resolve the case
+     *  where multiple fonts are registered with the same attributes.

+     *
+     *  @param font Describes attributes of the font to register.
+	 *
+	 *  @param defaultModuleFactory Used to resolve conflicts in the case
+	 *  where the same font is registered for multiple module factories.
+	 *  If one of the module factories of a font is associated with
+	 *  defaultModuleFactory, then that moduleFactory is returned.
+	 *  Otherwise the most recently registered moduleFactory will be chosen.
+     *
+     *  @return moduleFactory that can be used to create an object
+	 *  in the context of the font.
+     *  null if the font is not found in the registry.
+     */
+	function getAssociatedModuleFactory(
+					font:EmbeddedFont,
+					defaultModuleFactory:IFlexModuleFactory):IFlexModuleFactory;
+
+    /**
+     *  Gets an array of all the fonts that have been registered.
+	 *
+	 *
Each element in the array is of type EmbeddedFont.

+     *
+     *  @return Array of EmbeddedFont objects.
+	 *  Fonts that have been registered multiple times will appear
+	 *  multiple times in the array.
+     */
+	function getFonts():Array;
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 8023
Author:   aharui@adobe.com
Date:     2009-06-19T23:37:02.437061Z

Log Message:
-----------
Frame1 cleanup part 2 (final part AFAIK).  MarshallPLan (now MarshallingSupport) is now opt-in.  All SWFs using Marshalling must use -includes=mx.managers.systemClasses.MarshallingSupport on the command line.

QE Notes: None
Doc Notes: None
Bugs: N/A
Reviewer: Joan cyclone
tests: checkintests mustella/MarshallPlan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ActiveWindowManager.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallPlan.as" copyfrom-rev="7988" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallingSupport.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallPlan.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>

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

--- frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as
+++ frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as
@@ -34,7 +34,6 @@
 import mx.core.mx_internal;
 import mx.core.IUIComponent;
 import mx.events.Request;
-import mx.managers.marshalClasses.CursorManagerMarshalMixin;
 import mx.styles.CSSStyleDeclaration;
 import mx.styles.StyleManager;

@@ -73,12 +72,6 @@
     //
     //--------------------------------------------------------------------------

-
-    /**
-     *  @private
-     */
-    private static function weakDependency():void { CursorManagerMarshalMixin };
-
     /**
      *  @private
      */
@@ -274,7 +267,8 @@
     {
         _currentCursorID = value;

-		dispatchEvent(new Event("currentCursorID"));
+        if (hasEventListener("currentCursorID"))
+	    	dispatchEvent(new Event("currentCursorID"));
     }

     //----------------------------------
@@ -309,7 +303,8 @@
     {
         _currentCursorXOffset = value;

-		dispatchEvent(new Event("currentCursorXOffset"));
+        if (hasEventListener("currentCursorXOffset"))
+    		dispatchEvent(new Event("currentCursorXOffset"));
     }

     //----------------------------------
@@ -344,7 +339,8 @@
     {
         _currentCursorYOffset = value;

-		dispatchEvent(new Event("currentCursorYOffset"));
+        if (hasEventListener("currentCursorYOffset"))
+    		dispatchEvent(new Event("currentCursorYOffset"));
     }

     //--------------------------------------------------------------------------
@@ -370,7 +366,8 @@
         if (cursorHolder)
 	        cursorHolder.visible = true;

-		dispatchEvent(new Event("showCursor"));
+        if (hasEventListener("showCursor"))
+    		dispatchEvent(new Event("showCursor"));
     }

     /**
@@ -390,7 +387,8 @@
     	if (cursorHolder)
 	        cursorHolder.visible = false;

-		dispatchEvent(new Event("hideCursor"));
+        if (hasEventListener("hideCursor"))
+    		dispatchEvent(new Event("hideCursor"));

     }

@@ -427,12 +425,15 @@
                                      xOffset:Number = 0,
                                      yOffset:Number = 0):int
     {
-		var event:Request = new Request("setCursor", false, true);
-		event.value = [ cursorClass, priority, xOffset, yOffset ];
-		if (!dispatchEvent(event))
-		{
-			return currentCursorID;
-		}
+        if (hasEventListener("setCursor"))
+        {
+		    var event:Request = new Request("setCursor", false, true);
+		    event.value = [ cursorClass, priority, xOffset, yOffset ];
+		    if (!dispatchEvent(event))
+		    {
+			    return currentCursorID;
+		    }
+        }

         var cursorID:int = nextCursorID++;

@@ -489,8 +490,9 @@
      */
     public function removeCursor(cursorID:int):void
     {
-		if (!dispatchEvent(new Request("removeCursor", false, true, cursorID)))
-			return;
+        if (hasEventListener("removeCursor"))
+    		if (!dispatchEvent(new Request("removeCursor", false, true, cursorID)))
+	    		return;

         for (var i:Object in cursorList)
         {
@@ -519,8 +521,9 @@
      */
     public function removeAllCursors():void
     {
-		if (!dispatchEvent(new Event("removeAllCursors", false, true)))
-			return;
+        if (hasEventListener("removeAllCursors"))
+    		if (!dispatchEvent(new Event("removeAllCursors", false, true)))
+	    		return;

         cursorList.splice(0);

@@ -543,8 +546,9 @@
      */
     public function setBusyCursor():void
     {
-		if (!dispatchEvent(new Event("setBusyCursor", false, true)))
-			return;
+        if (hasEventListener("setBusyCursor"))
+    		if (!dispatchEvent(new Event("setBusyCursor", false, true)))
+	    		return;

         var cursorManagerStyleDeclaration:CSSStyleDeclaration =
             StyleManager.getStyleDeclaration("mx.managers.CursorManager");
@@ -569,8 +573,9 @@
      */
     public function removeBusyCursor():void
     {
-		if (!dispatchEvent(new Event("removeBusyCursor", false, true)))
-			return;
+        if (hasEventListener("removeBusyCursor"))
+    		if (!dispatchEvent(new Event("removeBusyCursor", false, true)))
+	    		return;

         if (busyCursorList.length > 0)
             removeCursor(int(busyCursorList.pop()));
@@ -589,10 +594,13 @@
             {
 				initialized = true;

-				if (dispatchEvent(new Event("initialize", false, true)))
+                var e:Event;
+                if (hasEventListener("initialize"))
+                {
+                    e = new Event("initialize", false, true);
+                }
+				if (!e || dispatchEvent(e))
 				{
-
-
 					// The first time a cursor is requested of the CursorManager,
 					// create a Sprite to hold the cursor symbol
 					cursorHolder = new FlexSprite();
@@ -654,12 +662,17 @@
                     	cursorHolder.y = item.y;
                     }

-					if (dispatchEvent(new Event("addMouseMoveListener", false, true)))
+                    var e2:Event;
+                    if (hasEventListener("addMouseMoveListener"))
+                        e2 = new Event("addMouseMoveListener", false, true);
+					if (!e2 || dispatchEvent(e2))
 						systemManager.stage.addEventListener(MouseEvent.MOUSE_MOVE,
                                                    mouseMoveHandler,true,EventPriority.CURSOR_MANAGEMENT);

-
-					if (dispatchEvent(new Event("addMouseOutListener", false, true)))
+                    var e3:Event;
+                    if (hasEventListener("addMouseOutListener"))
+                        e3 = new Event("addMouseOutListener", false, true);
+					if (!e3 || dispatchEvent(e3))
 						systemManager.stage.addEventListener(MouseEvent.MOUSE_OUT,
                                                    mouseOutHandler,true,EventPriority.CURSOR_MANAGEMENT);

@@ -682,13 +695,19 @@
                 currentCursorXOffset = 0;
                 currentCursorYOffset = 0;

-				if (dispatchEvent(new Event("removeMouseMoveListener", false, true)))
+                var e4:Event;
+                if (hasEventListener("removeMouseMoveListener"))
+                    e4 = new Event("removeMouseMoveListener", false, true)
+				if (!e4 || dispatchEvent(e4))
                 {
                		systemManager.stage.removeEventListener(MouseEvent.MOUSE_MOVE,
                                           mouseMoveHandler,true);
                 }

-				if (dispatchEvent(new Event("removeMouseOutListener", false, true)))
+                var e5:Event;
+                if (hasEventListener("removeMouseMoveListener"))
+                    e5 = new Event("removeMouseOutListener", false, true)
+				if (!e5 || dispatchEvent(e5))
                 {
                		systemManager.stage.removeEventListener(MouseEvent.MOUSE_OUT,
                                           mouseOutHandler,true);
@@ -755,8 +774,9 @@
      */
     public function registerToUseBusyCursor(source:Object):void
     {
-		if (!dispatchEvent(new Request("registerToUseBusyCursor", false, true, source)))
-			return;
+        if (hasEventListener("registerToUseBusyCursor"))
+    		if (!dispatchEvent(new Request("registerToUseBusyCursor", false, true, source)))
+	    		return;

         if (source && source is EventDispatcher)
         {
@@ -773,8 +793,9 @@
      */
     public function unRegisterToUseBusyCursor(source:Object):void
     {
-		if (!dispatchEvent(new Request("unRegisterToUseBusyCursor", false, true, source)))
-			return;
+        if (hasEventListener("unRegisterToUseBusyCursor"))
+    		if (!dispatchEvent(new Request("unRegisterToUseBusyCursor", false, true, source)))
+	    		return;

         if (source && source is EventDispatcher)
         {
@@ -897,7 +918,8 @@
 			cursorHolder.visible = true;
             Mouse.hide();

-			dispatchEvent(new Event("showCustomCursor"));
+            if (hasEventListener("showCustomCursor"))
+	    		dispatchEvent(new Event("showCustomCursor"));
         }
     }


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

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


Transferred from the Adobe Open Source Subversion Repository

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

--- frameworks/projects/mx/src/mx/skins/halo/NumericStepperDownSkin.as
+++ frameworks/projects/mx/src/mx/skins/halo/NumericStepperDownSkin.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2004-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.skins.halo
 {


zero() now cancels zeroWhenTotalKnown, just in case it's called publically before zeroWhenTotalKnown triggers it.

--- raw/src/org/yellcorp/lib/net/batchloader/BatchLoader.as
+++ raw/src/org/yellcorp/lib/net/batchloader/BatchLoader.as
@@ -417,6 +417,7 @@
     public function zero():void
     {
         var loaded:Number = 0;
+        _zeroWhenTotalKnown = false;

         for each (var metadata:ItemMetadata in itemToMetadataLookup)
         {
@@ -565,7 +566,6 @@
         if (_zeroWhenTotalKnown && isFinite(bytesTotal))
         {
             zero();
-            _zeroWhenTotalKnown = false;
         }
         dispatchEvent(new BatchLoaderProgressEvent(
                 BatchLoaderProgressEvent.BATCH_PROGRESS,


clientXY is more like stageXY

clientXY is more like stageXY

--- frameworks/as/projects/FlexJSUI/src/org/apache/flex/events/MouseEvent.as
+++ frameworks/as/projects/FlexJSUI/src/org/apache/flex/events/MouseEvent.as
@@ -85,7 +85,6 @@
         public function set localX(value:Number):void
         {
             _localX = value;
-            clientX = value;
             _stagePoint = null;
         }

@@ -97,7 +96,6 @@
         public function set localY(value:Number):void
         {
             _localY = value;
-            clientY = value;
             _stagePoint = null;
         }

@@ -112,8 +110,22 @@
         public var clickCount:int;

         // these map directly to JS MouseEvent fields.
-        public var clientX:Number;
-        public var clientY:Number;
+        public function get clientX():Number
+        {
+            return screenX;
+        }
+        public function set clientX(value:Number):void
+        {
+            localX = value;
+        }
+        public function get clientY():Number
+        {
+            return screenY;
+        }
+        public function set clientY(value:Number):void
+        {
+            localY = value;
+        }

         private var _stagePoint:Point;


Transferred from the Adobe Open Source Subversion Repository

Revision: 21926
Author:   ksimm@adobe.com
Date:     2011-08-10T23:27:21.215704Z

Log Message:
-----------
1) Add the function to find the longest width year
2) Add three helper classes for DateSpinner.
3) Add the error messages for the new class OnDemandDataProvider
4) Add OnDemandDataProvider to SparkClass

QE notes: No
Doc notes: No
Bugs: No
Reviewer: Tom Kraikit
Tests run: Mustella-mobile
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/collections/OnDemandDataProvider.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/DateAndTimeRangeList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/SparkClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/bundles/en_US/collections.properties</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/calendarClasses/DateAndTimeProvider.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/calendarClasses/YearProvider.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as
+++ frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as
@@ -22,10 +22,13 @@

 import spark.collections.Sort;
 import spark.collections.SortField;
+import spark.components.calendarClasses.DateAndTimeProvider;
 import spark.components.calendarClasses.DateSelectorDisplayMode;
+import spark.components.calendarClasses.YearProvider;
 import spark.components.supportClasses.SkinnableComponent;
 import spark.events.IndexChangeEvent;
 import spark.formatters.DateTimeFormatter;
+import spark.formatters.NumberFormatter;
 import spark.globalization.supportClasses.CalendarDate;
 import spark.globalization.supportClasses.DateTimeFormatterEx;

@@ -182,7 +185,7 @@
     private static const DEFAULT_YEAR_RANGE:int = 200;

     // number of days to show by default in DATE_AND_TIME mode
-    private static const DEFAULT_DATE_RANGE:int = 200;
+    private static const DEFAULT_DATE_RANGE:int = 730;

     private static const MS_IN_DAY:Number = 1000 * 60 * 60 * 24;

@@ -240,11 +243,15 @@
     // the longest dateList item in DATE_AND_TIME mode
     private var dayMonthDateFormatter:DateTimeFormatterEx;

+    // the NumberFormatter to identify the longest yearList item in DATE mode
+    private var numberFormatter:NumberFormatter;
+
     private var dateObj:Date = new Date();
     private var use24HourTime:Boolean;

     // stores the longest dateList item and updates only when locale changes
     private var longestDateItem:Object;
+    private var longestYearItem:Object;

     //--------------------------------------------------------------------------
     //
@@ -719,6 +726,7 @@
             syncSelectedDate = true;

             longestDateItem = null;
+            longestYearItem = null;

             invalidateProperties();
         }
@@ -819,6 +827,7 @@
                     case DATE_ITEM:
                     {
                         dateList = createDateItemList(DATE_ITEM, fieldPosition++, numItems);
+                        dateList.wrapElements = false;
                         tempList = dateList;
                         break;
                     }
@@ -860,7 +869,6 @@
                     case YEAR_ITEM:
                     {
                         yearList = createDateItemList(YEAR_ITEM, fieldPosition++, numItems);
-                        // remove this if we go with the year range dataprovider
                         yearList.wrapElements = false;
                         tempList = yearList;
                         break;
@@ -886,10 +894,14 @@
         // populate lists that are being shown
         if (yearList && populateYearDataProvider)
         {
-            yearList.dataProvider = generateYears(today);
-            // yearList.dataProvider = new YearRangeList(localeStr, minDate.fullYear, maxDate.fullYear);
-
-            yearList.typicalItem = getLongestLabel(yearList.dataProvider);
+            yearList.dataProvider = new YearProvider(localeStr, minDate.fullYear,
+                maxDate.fullYear, today, getStyle("accentColor"));
+
+            // set size to longest string
+            if (!longestYearItem)
+                longestYearItem = findLongestYearItem();
+
+            yearList.typicalItem = longestYearItem;
         }
         if (monthList && populateMonthDataProvider)
         {
@@ -902,8 +914,8 @@
         {
             if (displayMode == DateSelectorDisplayMode.DATE_AND_TIME)
             {
-                dateList.dataProvider = new DateAndTimeRangeList(minDate, maxDate,
-                    localeStr, today, getStyle("accentColor"));
+                dateList.dataProvider = new DateAndTimeProvider(localeStr, minDate, maxDate,
+                    today, getStyle("accentColor"));

                 // set size to longest string
                 if (!longestDateItem)
@@ -954,28 +966,6 @@
             : list.animateToSelectedIndex(newIndex);
     }

-    // generate objects to populate a SpinnerList with years
-    private function generateYears(today:Date):IList
-    {
-        var ac:ArrayCollection = new ArrayCollection();
-        var todayYear:int = today.getFullYear();
-
-        dateTimeFormatter.dateTimePattern = dateTimeFormatterEx.getYearPattern();
-
-        for (var i:Number = minDate.fullYear; i <= maxDate.fullYear; i++)
-        {
-            dateObj.fullYear = i;
-            var item:Object = generateDateItemObject(dateTimeFormatter.format(dateObj), i);
-
-            if (i == todayYear)
-                item["accentColor"] = getStyle("accentColor");
-
-            ac.addItem(item);
-        }
-
-        return ac;
-    }
-
     // generate objects to populate a SpinnerList with months
     private function generateMonths(today:Date):IList
     {
@@ -1101,8 +1091,8 @@
         var newIndex:int;
         if (yearList)
         {
-            // TODO: use math for the year instead of iterating through each one; remove that function
-            newIndex = findDateItemIndexInDataProvider(selectedDate.fullYear, yearList.dataProvider);
+            dateTimeFormatter.dateTimePattern = dateTimeFormatterEx.getYearPattern();
+            newIndex = yearList.dataProvider.getItemIndex( generateDateItemObject(dateTimeFormatter.format(selectedDate), selectedDate.fullYear) );
             goToIndex(yearList, newIndex, listsNewlyCreated);
         }

@@ -1117,7 +1107,7 @@
             }
             else // DATE_AND_TIME mode
             {
-                newIndex = findDateIndex(selectedDate, dateList.dataProvider);
+                newIndex = dateList.dataProvider.getItemIndex( generateDateItemObject(dayMonthDateFormatter.format(selectedDate), selectedDate.time) );
                 goToIndex(dateList, newIndex, listsNewlyCreated);
             }
         }
@@ -1205,7 +1195,7 @@
             tempDate = new Date(thisDate.time);

             listData = monthList.dataProvider;
-            for (i = 0; i < 11; i++)
+            for (i = 0; i < 12; i++)
             {
                 newEnabledValue = true;

@@ -1219,7 +1209,7 @@
                 curObj = listData[i];
                 if (curObj[SpinnerList.ENABLED_PROPERTY_NAME] != newEnabledValue)
                 {
-                    generateDateItemObject(curObj.label, curObj.data, newEnabledValue);
+                    o = generateDateItemObject(curObj.label, curObj.data, newEnabledValue);
                     o["accentColor"] = curObj["accentColor"];
                     listData[i] = o;
                 }
@@ -1229,23 +1219,6 @@
         // TODO: if we're using YearRangeList, recreate that to match new dates
     }

-    private function findDateIndex(selectedDate:Date, dateList:IList):int
-    {
-        // index is how many days between the selected date and the first date
-        var firstDate:Date = new Date(dateList.getItemAt(0).data);
-
-        // set firstDate's hour/min/second to the same values
-        firstDate.hours = selectedDate.hours;
-        firstDate.minutes = selectedDate.minutes;
-        firstDate.seconds = selectedDate.seconds;
-        firstDate.milliseconds = selectedDate.milliseconds;
-
-        var diff:Number = selectedDate.time - firstDate.time;
-        var days:int = diff / MS_IN_DAY;
-
-        return days;
-    }
-
     // clean out the container: remove all elements, detach event listeners, null out references
     private function cleanContainer():void
     {
@@ -1287,7 +1260,7 @@
     // convenience method to generate the standard object format for data in the list dataproviders
     private function generateDateItemObject(label:String, data:*, enabled:Boolean = true):Object
     {
-        var obj:Object = { label:label, data:data};
+        var obj:Object = { label:label, data:data };
         obj[SpinnerList.ENABLED_PROPERTY_NAME] = enabled;
         return obj;
     }
@@ -1318,6 +1291,130 @@

     // identify the dateList item that has the longest width in DATE_AND_TIME mode
     private function findLongestDateItem():Object
+    {
+        updateDayMonthDateFormatter();
+
+        dateTimeFormatter.dateTimePattern =  dayMonthDateFormatter.getMonthPattern();
+
+        var longestDateItemObj:Object = dateList.dataProvider.getItemAt(0);
+        var longestMonth:int = 0;
+        var labelWidth:Number = -1;
+        var maxWidth:int = 0;
+        var dateStr:String;
+        dateObj.date = 1;
+
+        // find the longest month
+        for (var month:int = 0; month < 12; month++)
+        {
+            dateObj.month = month;
+            labelWidth = measureText(dateTimeFormatter.format(dateObj)).width;
+            if (labelWidth > maxWidth)
+            {
+                maxWidth = labelWidth;
+                longestMonth = month;
+            }
+        }
+
+        dateObj.month = longestMonth;
+        maxWidth = 0;
+
+        // find the longest dateList item
+        for (var date:int = 1; date <= 31; date++)
+        {
+            dateObj.date = date;
+            dateStr = dayMonthDateFormatter.format(dateObj);
+            labelWidth = measureText(dateStr).width;
+            if (labelWidth > maxWidth)
+            {
+                maxWidth = labelWidth;
+                // TODO: dateObj.time for second argument?
+                longestDateItemObj = generateDateItemObject(dateStr, dateObj.time);
+            }
+        }
+
+        return longestDateItemObj;
+    }
+
+    // TODO: rename variable names and relocate the function.
+    // identify the yearList item that has the longest width in DATE mode
+    // the range of year should be from 1601 to 9999
+    private function findLongestYearItem():Object
+    {
+        // TODO: create functions e.g. getLongestDigit(6) returns the longest digit among 6, 7, 8, 9
+        var longestDigitIncludingZero:int;
+        var longestDigitExcludingZero:int;
+        var longestDigitOf6789:int;
+        var longestDigitOf789:int;
+
+        var maxWidthForlongestDigitIncludingZero:Number = 0;
+        var maxWidthForlongestDigitExcludingZero:Number = 0;
+        var maxWidthForlongestDigitOf6789:Number = 0;
+        var maxWidthForlongestDigitOf789:Number = 0;
+
+        var labelWidth:Number;
+
+        // instantiate the number formatter and update its locale
+        updateNumberFormatter();
+
+        // find the four types of the longest digit
+        for (var i:int = 0; i < 10; i++)
+        {
+            labelWidth = measureText(numberFormatter.format(i)).width;
+
+            if (labelWidth > maxWidthForlongestDigitIncludingZero)
+            {
+                maxWidthForlongestDigitIncludingZero = labelWidth;
+                longestDigitIncludingZero = i;
+            }
+
+            if (i >= 1 && labelWidth > maxWidthForlongestDigitExcludingZero)
+            {
+                maxWidthForlongestDigitExcludingZero = labelWidth;
+                longestDigitExcludingZero = i;
+            }
+
+            if (i >= 6 && labelWidth > maxWidthForlongestDigitOf6789)
+            {
+                maxWidthForlongestDigitOf6789 = labelWidth;
+                longestDigitOf6789 = i;
+            }
+
+            if (i >= 7 && labelWidth > maxWidthForlongestDigitOf789)
+            {
+                maxWidthForlongestDigitOf789 = labelWidth;
+                longestDigitOf789 = i;
+            }
+        }
+
+        // generate the longest width year
+        var longestYear:int = longestDigitExcludingZero * 1000;
+
+        if (longestDigitExcludingZero > 1)
+            longestYear += longestDigitIncludingZero * 111;
+        else // longestDigitExcludingZero == 1
+            longestYear += ((longestDigitIncludingZero == 0)? longestDigitOf789 : longestDigitOf6789) * 100 +
+                longestDigitIncludingZero * 10 + longestDigitIncludingZero;
+
+        dateObj.fullYear = longestYear;
+        dateTimeFormatter.dateTimePattern = dateTimeFormatterEx.getYearPattern();
+        return generateDateItemObject(dateTimeFormatter.format(dateObj), longestYear);
+    }
+
+    // instantiate the number formatter and update its locale property
+    private function updateNumberFormatter():void
+    {
+        if(!numberFormatter)
+            numberFormatter = new NumberFormatter();
+
+        var localeStr:String = getStyle("locale");
+        if (localeStr)
+            numberFormatter.setStyle("locale", localeStr);
+        else
+            numberFormatter.clearStyle("locale");
+    }
+
+    // instantiate the dayMonthDateFormatter and update its locale property
+    private function updateDayMonthDateFormatter():void
     {
         if (!dayMonthDateFormatter)
         {
@@ -1330,46 +1427,6 @@
             dayMonthDateFormatter.setStyle("locale", localeStr);
         else
             dayMonthDateFormatter.clearStyle("locale");
-
-        // TODO: talk with the global team to make it much faster.
-        dateTimeFormatter.dateTimePattern =  dayMonthDateFormatter.getMonthPattern();
-
-        var longestDateItem:Object;
-        var longestMonth:int = 0;
-        var labelWidth:Number = -1;
-        var maxWidth:int = 0;
-        var dateStr:String;
-        dateObj.date = 1;
-
-        // find the longest month
-        for (var month:int = 0; month < 12; month++)
-        {
-            dateObj.month = month;
-            labelWidth = measureText(dateTimeFormatter.format(dateObj)).width;
-            if (labelWidth > maxWidth)
-            {
-                maxWidth = labelWidth;
-                longestMonth = month;
-            }
-        }
-
-        dateObj.month = longestMonth;
-        maxWidth = 0;
-
-        // find the longest dateList item
-        for (var date:int = 1; date <= 31; date++)
-        {
-            dateObj.date = date;
-            dateStr = dayMonthDateFormatter.format(dateObj);
-            labelWidth = measureText(dateStr).width;
-            if (labelWidth > maxWidth)
-            {
-                maxWidth = labelWidth;
-                longestDateItem = dateStr;
-            }
-        }
-
-        return longestDateItem;
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 8721
Author:   aharui@adobe.com
Date:     2009-07-21T22:11:37.692397Z

Log Message:
-----------
Hopefully final implementation of IME support.

QE Notes: None
Doc Notes: new API in IIMESupport
Bugs: SDK-22267, SDK-18516
Reviewer: Gordon
API Change: Yes
Is noteworthy for integration: Yes, new API in IIMESupport
tests: checkintests mustella/gumbo/components/TextInput mustella/gumbo/components/TextArea

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/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.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/controls/DataGrid.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/framework_textLayout/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.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/IIMESupport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>

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

--- frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridColumn.as
+++ frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridColumn.as
@@ -817,6 +817,27 @@
     public var editorUsesEnterKey:Boolean = false;

     //----------------------------------
+    //  enableIME
+    //----------------------------------
+
+    /**
+     *  A flag that indicates whether the IME should
+     *  be enabled when the component receives focus.
+     *
+     *  If an editor is up, it will set enableIME
+     *  accordingly.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function get enableIME():Boolean
+    {
+        return false;
+    }
+
+    //----------------------------------
     //  headerRenderer
     //----------------------------------


Transferred from the Adobe Open Source Subversion Repository

Revision: 18729
Author:   dloverin@adobe.com
Date:     2010-11-19T15:37:30.904442Z

Log Message:
-----------
Fix ASDoc in GridColumn.as

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

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
@@ -586,7 +586,7 @@
      *  If this property is null, and the column grid's owner is a DataGrid control,
      *  then the value of the DataGrid control's itemEditor property is used.
      *  If no item editor is specified by the DataGrid control,
-     *  then use the TextGridItemEditor class.
+     *  then use the DefaultGridItemEditor class.
      *
      *
The default item editor is the DefaultGridItemEditor class,
      *  which lets you edit a simple text field.


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

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

 package spark.components.gridClasses
 {