Transferred from the Adobe Open Source Subversion Repository

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

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

TextGraphicElement:

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

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

RichText:

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

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

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

Styles:

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

The text styles are now divided into five buckets:

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

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

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

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

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

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

--- frameworks/projects/spark/src/spark/components/Scroller.as
+++ frameworks/projects/spark/src/spark/components/Scroller.as
@@ -31,8 +31,8 @@
 import mx.managers.IFocusManagerComponent;
 import flash.display.InteractiveObject;

-include "../styles/metadata/AdvancedTextLayoutFormatStyles.as"
-include "../styles/metadata/BasicTextLayoutFormatStyles.as"
+include "../styles/metadata/BasicInheritingTextStyles.as"
+include "../styles/metadata/AdvancedInheritingTextStyles.as"
 include "../styles/metadata/SelectionFormatTextStyles.as"

 /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 8481
Author:   smgilson@adobe.com
Date:     2009-07-09T17:28:31.741329Z

Log Message:
-----------
First of several checkins to update the namespace in ASDoc MXML syntax descriptions for Spark components

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ToggleButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Range.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGroup.as</path>

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

--- frameworks/projects/spark/src/spark/components/TextArea.as
+++ frameworks/projects/spark/src/spark/components/TextArea.as
@@ -130,7 +130,7 @@
  *  attributes of its superclass and adds the following tag attributes:

  *
  *

- *  <TextArea
+ *  <s:TextArea
  *    Properties
  *    heightInLines=""
  *    textFlow="24"
@@ -439,7 +439,7 @@

             // The skin is loaded after the intial properties have been
             // set so these wipe out explicit sets.
-			textDisplay.multiline = true;
+            textDisplay.multiline = true;
         }

         // The scroller, between textDisplay and this in the chain, should not


Fixed bug where "My Files" was empty

Fixed bug where "My Files" was empty

Change-Id: I162d7d85f61d5bd6a91ff6c67da51f80411f23ac

--- WeaveAdmin/src/weave/services/Admin.as
+++ WeaveAdmin/src/weave/services/Admin.as
@@ -168,10 +168,9 @@
 			service.addHook(
 				service.getWeaveFileNames,
 				null,
-				function(event:ResultEvent, arguments:Array):void
-				{
-					// save list
-					var showAllFiles:Boolean = arguments[0];
+				function(event:ResultEvent, user_pass_showAllFiles:Array):void
+				{
+					var showAllFiles:Boolean = user_pass_showAllFiles[2];
 					if (showAllFiles)
 						weaveFileNames = event.result as Array || [];
 					else
@@ -217,10 +216,12 @@
 			service.addHook(
 				service.removeConnectionInfo,
 				null,
-				function(event:ResultEvent, arguments:Array):void
-				{
+				function(event:ResultEvent, user_pass_connectionNameToRemove:Array):void
+				{
+					var activeUser:String = user_pass_connectionNameToRemove[0];
+					var removedUser:String = user_pass_connectionNameToRemove[2];
 					// if user removed self, log out
-					if (arguments[0] == arguments[2])
+					if (activeUser == removedUser)
 					{
 						activeConnectionName = '';
 						activePassword = '';


sortImmediately() no longer requires ISessionManager implementation to
be registered.

Change-Id: I43bae3e851d148b260f3b1ab81e7c2662610015b

--- WeaveCore/src/weave/utils/AsyncSort.as
+++ WeaveCore/src/weave/utils/AsyncSort.as
@@ -24,8 +24,8 @@
 	import mx.utils.ObjectUtil;

 	import weave.api.WeaveAPI;
+	import weave.api.getCallbackCollection;
 	import weave.api.core.ILinkableObject;
-	import weave.api.getCallbackCollection;

 	/**
 	 * Asynchronous merge sort.
@@ -36,10 +36,6 @@
 	{
 		public static var debug:Boolean = false;

-		public function AsyncSort():void
-		{
-		}
-
 		private static var _immediateSorter:AsyncSort; // used by sortImmediately()

 		/**
@@ -50,11 +46,11 @@
 		public static function sortImmediately(array:*, compareFunction:Function = null):void
 		{
 			if (!_immediateSorter)
+			{
 				_immediateSorter = new AsyncSort();
-
-			_immediateSorter._immediately = true;
+				_immediateSorter._immediately = true;
+			}
 			_immediateSorter.beginSort(array, compareFunction);
-			_immediateSorter._immediately = false;
 		}

 		/**
@@ -92,6 +88,10 @@
 			return 1; // not equal
 		}

+		public function AsyncSort():void
+		{
+		}
+
 		/**
 		 * This is the sorted Array (or Vector), or null if the sort operation has not completed yet.
 		 */
@@ -137,6 +137,8 @@
 			destination.length = length;

 			subArraySize = 1;
+			iLeft = 0;
+			iRight = 0;
 			middle = 0;
 			end = 0;
 			elapsed = 0;
@@ -226,7 +228,8 @@
 			if (debug && elapsed > 0)
 				debugTrace(this,result.length,'in',elapsed/1000,'seconds');

-			getCallbackCollection(this).triggerCallbacks();
+			if (!_immediately)
+				getCallbackCollection(this).triggerCallbacks();
 		}

 		/*************


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/mx/src/mx/core/ScrollControlBase.as
+++ frameworks/projects/mx/src/mx/core/ScrollControlBase.as
@@ -36,6 +36,11 @@
  *
  *  @eventType mx.events.ScrollEvent.SCROLL
  *  @helpid 3269
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="scroll", type="mx.events.ScrollEvent")]

@@ -48,6 +53,11 @@
  *  the appearance of the scrollbar.
  *
  *  @default undefined
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="horizontalScrollBarStyleName", type="String", inherit="no")]

@@ -56,6 +66,11 @@
  *  the appearance of the scrollbar.
  *
  *  @default undefined
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="verticalScrollBarStyleName", type="String", inherit="no")]

@@ -121,6 +136,11 @@
  *
  *  @helpid 3270
  *  @tiptext base class for views/containers that support scrolling
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class ScrollControlBase extends UIComponent
 {
@@ -134,6 +154,11 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function ScrollControlBase()
     {
@@ -153,6 +178,11 @@

     /**
      *  The border object.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected var border:IFlexDisplayObject;

@@ -174,6 +204,11 @@
      *  verticalScrollPolicy, horizontalScrollPosition,
      *  and verticalScrollPosition properties
      *  should provide sufficient control over the mask.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected var maskShape:Shape;

@@ -185,6 +220,11 @@
      *  Manipulation of the horizontalScrollPolicy
      *  and horizontalScrollPosition
      *  properties should provide sufficient control over the scroll bar.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected var horizontalScrollBar:ScrollBar;

@@ -196,6 +236,11 @@
      *  Manipulation of the verticalScrollPolicy
      *  and verticalScrollPosition
      *  properties should provide sufficient control over the scroll bar.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected var verticalScrollBar:ScrollBar;

@@ -229,6 +274,11 @@
     /**
      *  A flag that the scrolling area changed due to the appearance or disappearance of
      *  scrollbars.  Used by most layout methods to re-adjust the scrolling properties again.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected var scrollAreaChanged:Boolean;

@@ -300,6 +350,11 @@
      *
      *  @return EdgeMetrics object with the left, right, top,
      *  and bottom properties.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get borderMetrics():EdgeMetrics
     {
@@ -328,6 +383,11 @@
      *  in a HorizontalList or TileList.
      *
      *  @default 0
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get horizontalScrollPosition():Number
     {
@@ -386,6 +446,11 @@
      *  the component to allow for scrollbars to appear later.

      *
      *  @default ScrollPolicy.OFF
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get horizontalScrollPolicy():String
     {
@@ -419,6 +484,11 @@
      *  scrollbar thumb is moved
      *  or the view is not updated until the thumb is released.
      *  The default value is true.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var liveScrolling:Boolean = true;

@@ -439,6 +509,11 @@
      *  maxHorizontalScrollPosition property is computed from the
      *  data and size of component, and must not be set by
      *  the application code.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get maxHorizontalScrollPosition():Number
     {
@@ -478,6 +553,11 @@
      *  maxVerticalScrollPosition property is computed from the
      *  data and size of component, and must not be set by
      *  the application code.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get maxVerticalScrollPosition():Number
     {
@@ -528,6 +608,11 @@
      *    if (direction == "vertical") return myToolTips[position];
      *    else return "";
      *  }

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get scrollTipFunction():Function
     {
@@ -554,6 +639,11 @@
      *  A flag that indicates whether a tooltip should appear
      *  near the scroll thumb when it is being dragged.
      *  The default value is false to disable the tooltip.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var showScrollTips:Boolean = false;

@@ -567,6 +657,11 @@
      *
      *  @return EdgeMetrics object with the thickness, in pixels,
      *  of the left, top, right, and bottom edges.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get viewMetrics():EdgeMetrics
     {
@@ -625,6 +720,11 @@
      *  a TileList.
      *
      *  @default 0
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get verticalScrollPosition():Number
     {
@@ -680,6 +780,11 @@
      *  the component to allow for scrollbars to appear later.

      *
      *  @default ScrollPolicy.AUTO
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get verticalScrollPolicy():String
     {
@@ -715,6 +820,11 @@
      *  If a subclass overrides this method, the subclass should call
      *  the super.createChildren() method so that the logic
      *  in the ScrollControlBase.createChildren() method is executed.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override protected function createChildren():void
     {
@@ -852,6 +962,11 @@
      *  @param unscaledHeight Specifies the height of the component, in pixels,
      *  in the component's coordinates, regardless of the value of the
      *  scaleY property of the component.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function layoutChrome(unscaledWidth:Number,
                                     unscaledHeight:Number):void
@@ -870,6 +985,11 @@
      *  borderStyle and borderSkin styles.
      *  It must set the border property to the instance
      *  of the border.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function createBorder():void
     {
@@ -898,6 +1018,11 @@
      *  Returns true if a border is needed for this component based
      *  on the borderStyle and whether or not there is a background
      *  for the component.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private function isBorderNeeded():Boolean
     {
@@ -938,6 +1063,11 @@
      *  @param totalRows The number of vertical units that need to be displayed.
      *
      *  @param visibleRows The number of vertical units that can be displayed at one time
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function setScrollBarProperties(totalColumns:int, visibleColumns:int,
                                         totalRows:int, visibleRows:int):void
@@ -1129,6 +1259,11 @@
      *  scaleY property of the component.
      *
      *  @return Returns true if there is enough space for a scrollbar.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */

     protected function roomForScrollBar(bar:ScrollBar,
@@ -1149,6 +1284,11 @@
      *  Default event handler for the scroll event.
      *
      *  @param event The event object.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function scrollHandler(event:Event):void
     {
@@ -1251,6 +1391,11 @@
      *  Event handler for the mouse wheel scroll event.
      *
      *  @param event The event object.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function mouseWheelHandler(event:MouseEvent):void
     {


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

--- frameworks/projects/rpc/src/mx/rpc/soap/ISOAPEncoder.as
+++ frameworks/projects/rpc/src/mx/rpc/soap/ISOAPEncoder.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.rpc.soap
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 16560
Author:   smgilson@adobe.com
Date:     2010-06-14T21:14:37.093170Z

Log Message:
-----------
Fix ASDoc version tags for several Flex 4 classes makred as Flex 3

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/spark/src/spark/components/NavigatorContent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RadioButtonGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/LoaderInvalidationEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/ListDropIndicator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -217,9 +217,9 @@
      *  @inheritDoc
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     override public function get baselinePosition():Number
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 9578
Author:   aharui@adobe.com
Date:     2009-08-25T17:23:52.967867Z

Log Message:
-----------
Found another embeddedfontcontext issue in the player.  ElementFormat.getFontMetrics() must be called in the embeddedFont's moduleFactory context.  Added a general "callInContext" API to IFLexModuleFactory.  Eventually, TLF will add a new API so they can connect up to this capability and we'll change the code one more time.

QE Notes: None
Doc Notes: New API in IFlexModuleFactory.as
Bugs: SDK-22159
Reviewer: Darrell
API Change: Yes
Is noteworthy for integration: No
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IFlexModuleFactory.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexModuleFactory.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>

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

--- frameworks/projects/spark/src/spark/components/Label.as
+++ frameworks/projects/spark/src/spark/components/Label.as
@@ -967,7 +967,11 @@

                 var elementFormat:ElementFormat =
                     TextElement(textBlock.content).elementFormat;
-                var fontMetrics:FontMetrics = elementFormat.getFontMetrics();
+                var fontMetrics:FontMetrics;
+                if (embeddedFontContext)
+                    fontMetrics = embeddedFontContext.callInContext(elementFormat.getFontMetrics, elementFormat, null);
+                else
+                    fontMetrics = elementFormat.getFontMetrics();

                 var shape:Shape = new Shape();
                 var g:Graphics = shape.graphics;


Transferred from the Adobe Open Source Subversion Repository

Revision: 9939
Author:   aharui@adobe.com
Date:     2009-09-02T21:11:43.633128Z

Log Message:
-----------
Resubmit: Panel skin changes per XD spec, and a few other Panel Skin bugs.  Default Panel size changed to match spec.  Panel titles are now single-line and show ellipsis.

QE Notes: Lots of Panel-related bitmap compares will need upgrading
Doc Notes: None
Bugs: SDK-21680, SDK-21671, SDK-21666, SDK-19962, SDK-19959
Reviewer: Ryan
API Change: No
Is noteworthy for integration: No
tests: checkintests mustella/managers/Panel

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/WireframeClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/PanelSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/PanelSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ApplicationSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ApplicationSkin.mxml" copyfrom-rev="9892" action="A">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ApplicationSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/Panel.as
+++ frameworks/projects/spark/src/spark/components/Panel.as
@@ -89,6 +89,10 @@
     public function Panel()
     {
         super();
+
+        // default skin uses graphical dropshadow which
+        // we don't want to be hittable
+        mouseEnabled=false;
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 15643
Author:   chaase@adobe.com
Date:     2010-04-21T22:58:05.114793Z

Log Message:
-----------
Fix for shader-transition effects. Previously, if the local bounds of an object shifted position between states (this can happen with a Group, for example, if its children exceeded its bounds in different ways in the states. In the bug's example, a VScrollBar caused the group to go negative in y, an HScrollBar caused it to go negative in x), then the from/to bitmaps would be mis-matched and you'd get a jumping artifact at the beginning of the effect.

The fix was to get both the bitmap snapshot *and* the bounds of the object captured from BitmapUtil.getSnapshot(). Then use those bounds to constrain the bitmapFrom object to the bitmapTo bounds.

QE notes: There are 25 Mustella failures from this change. Some are due to a change in the return value from getAffectedProperties (I changed "bitmap" to "bitmapInfo"). Some are due to a fix to avoid clipping the results of the shader to the size of bitmapFrom (it now uses the max of the two bitmaps). So Mustella needs some fixing and some bitmap updating.
Doc notes: Added parameter to BitmapUtil.getSnapshot() and added a @param doc tag to go along with it.
Bugs: sdk-25035
Reviewer: Jason
Tests run: checkintests, Mustella spark/effects/AnimateShaderTransition|CrossFade|Wipe
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransitionShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/utils/BitmapUtil.as</path>

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

--- frameworks/projects/spark/src/spark/utils/BitmapUtil.as
+++ frameworks/projects/spark/src/spark/utils/BitmapUtil.as
@@ -42,6 +42,8 @@
      *  Creates a BitmapData representation of the target object.
      *
      *  @param target The object to capture in the resulting BitmapData
+     *  @param visibleBounds If non-null, this Rectangle will be populated with
+     *  the visible bounds of the object, relative to the object itself.
      *
      *  @return A BitmapData object containing the image.
      *
@@ -55,12 +57,19 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public static function getSnapshot(target:IUIComponent):BitmapData
+    public static function getSnapshot(target:IUIComponent, visibleBounds:Rectangle = null):BitmapData
     {
         // DisplayObject.getBounds() is not sufficient; we need the same
         // bounds as those used internally by the player
         var m:Matrix = MatrixUtil.getConcatenatedComputedMatrix(target as DisplayObject);
         var bounds:Rectangle = getRealBounds(DisplayObject(target), m);
+        if (visibleBounds != null)
+        {
+            visibleBounds.x = bounds.x - target.x;
+            visibleBounds.y = bounds.y - target.y;
+            visibleBounds.width = bounds.width;
+            visibleBounds.height = bounds.height;
+        }
         if (bounds.width == 0 || bounds.height == 0)
             return null;
         if (m)


Optimize performance for finding of writable fields of Type.

--- dolly-framework/src/main/actionscript/dolly/Cloner.as
+++ dolly-framework/src/main/actionscript/dolly/Cloner.as
@@ -20,11 +20,7 @@
 	dolly_internal static function findAllWritableFieldsForType(type:Type):Vector.<Field> {
 		const result:Vector.<Field> = new Vector.<Field>();

-		for each(var field:Field in type.fields) {
-			if (field.isStatic) {
-				continue;
-			}
-
+		for each(var field:Field in type.properties) {
 			if (!(field is Accessor) || (field as Accessor).access == AccessorAccess.READ_WRITE) {
 				result.push(field);
 			}


Transferred from the Adobe Open Source Subversion Repository

Revision: 8271
Author:   dsubrama@adobe.com
Date:     2009-06-25T23:25:28.723385Z

Log Message:
-----------
Change the event type of List-based component's change, changing and caretChange events to a new event class: spark.events.IndexChangeEvent.

QA: Yes
Doc: Yes
Checkintests: Pass
Mustella: List/DDL/ButtonBar tests pass
Reviewers: Hans & Jason

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/DropDownListExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/ListExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/events/IndexChangeEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/ButtonBarExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/IndexChangedEvent.as</path>

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

--- frameworks/projects/framework/src/mx/events/IndexChangedEvent.as
+++ frameworks/projects/framework/src/mx/events/IndexChangedEvent.as
@@ -44,8 +44,7 @@
      *  The IndexChangedEvent.CHANGE constant defines the value of the
      *  type property of the event object for a change event,
      *  which indicates that an index has changed, such as when and Accordion control
-     *  changes the displayed panel, a ViewStack changes views or a List-based control
-     *  changes its selection.
+     *  changes the displayed panel or a ViewStack changes views.
      *
      *
The properties of the event object have the following values:

      *

@@ -162,84 +161,6 @@
      */
     public static const HEADER_SHIFT:String = "headerShift";

-    /**
-     *  The IndexChangedEvent.CHANGING constant defines the value of the
-     *  type property of the event object for a changing event,
-     *  which indicates that the current selection is about to change.
-     *
-     *
The properties of the event object have the following values:

-     *

-     *
Property	Value

-     *
bubbles	false

-     *
cancelable	false

-     *
currentTarget	The Object that defines the
-     *       event listener that handles the event. For example, if you use
-     *       myButton.addEventListener() to register an event listener,
-     *       myButton is the value of the currentTarget.

-     *
inputType	Indicates whether this event
-     *         was caused by a mouse or keyboard interaction.

-     *
newIndex	The zero-based index of the
-     *       selected item after the change.

-     *
oldIndex	The zero-based index of the
-     *       selected item before the change.

-     *
relatedObject	null

-     *
target	The Object that dispatched the event;
-     *       it is not always the Object listening for the event.
-     *       Use the currentTarget property to always access the
-     *       Object listening for the event.

-     *
TriggerEvent	The event that
-     *        triggered this event.

-     *
Type	IndexChangedEvent.HEADER_SHIFT

-     *

-     *
-      *  @eventType changing
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public static const CHANGING:String = "changing";
-
-    /**
-     *  The IndexChangedEvent.CARET_CHANGE constant defines the value of the
-     *  type property of the event object for a caretChange event,
-     *  which indicates that the current item in focus is about to change.
-     *
-     *
The properties of the event object have the following values:

-     *

-     *
Property	Value

-     *
bubbles	false

-     *
cancelable	false

-     *
currentTarget	The Object that defines the
-     *       event listener that handles the event. For example, if you use
-     *       myButton.addEventListener() to register an event listener,
-     *       myButton is the value of the currentTarget.

-     *
inputType	Indicates whether this event
-     *         was caused by a mouse or keyboard interaction.

-     *
newIndex	The zero-based index of the
-     *       selected item after the change.

-     *
oldIndex	The zero-based index of the
-     *       selected item before the change.

-     *
relatedObject	null

-     *
target	The Object that dispatched the event;
-     *       it is not always the Object listening for the event.
-     *       Use the currentTarget property to always access the
-     *       Object listening for the event.

-     *
TriggerEvent	The event that
-     *        triggered this event.

-     *
Type	IndexChangedEvent.HEADER_SHIFT

-     *

-     *
-      *  @eventType caretChange
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public static const CARET_CHANGE:String = "caretChange";
-
     //--------------------------------------------------------------------------
     //
     //  Constructor
@@ -335,7 +256,7 @@

     /**
      *  The child object whose index changed, or the object associated with
-     *  the new index. This property is not set for header changes.
+     *  the new index. This property is not set for header changes.
      *
      *  @langversion 3.0
      *  @playerversion Flash 9


Transferred from the Adobe Open Source Subversion Repository

Revision: 14591
Author:   klin@adobe.com
Date:     2010-03-05T00:03:59.154363Z

Log Message:
-----------
Merge revision 14590 from 4.x to trunk.

Fix for https://bugs.adobe.com/jira/browse/SDK-25627. The drag proxy received a wrong starting position. The fix is to offset the proxy origin by the width of the dragInitiator instead of offsetting the mouse point.

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

Modified Paths:
--------------
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>

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

--- frameworks/projects/framework/src/mx/managers/DragManagerImpl.as
+++ frameworks/projects/framework/src/mx/managers/DragManagerImpl.as
@@ -329,23 +329,23 @@
 		if (nonNullTarget == null)
 			nonNullTarget = dragInitiator;

-        // If the target's layout is rtl that means the (stage coordinate)
-        // point.x is currently the right edge of the dragInitiator.  Fix that:
-        var localX:Number = mouseEvent.localX;
-        if (dragInitiator is IVisualElement)
-        {
-            if (IVisualElement(dragInitiator).layoutDirection == "rtl")
-                localX -= dragInitiator.getExplicitOrMeasuredWidth();
-        }
-
-		var point:Point = new Point(localX, mouseEvent.localY);
+		var point:Point = new Point(mouseEvent.localX, mouseEvent.localY);
 		point = DisplayObject(nonNullTarget).localToGlobal(point);
 		point = DisplayObject(sandboxRoot).globalToLocal(point);
 		var mouseX:Number = point.x;
 		var mouseY:Number = point.y;

+        // If the target's layout is rtl that means the proxy origin x
+        // is currently offset from the right edge of the dragInitiator. Fix that:
+        var originX:Number = -xOffset;
+        if (dragInitiator is IVisualElement)
+        {
+            if (IVisualElement(dragInitiator).layoutDirection == "rtl")
+                originX += dragInitiator.getExplicitOrMeasuredWidth();
+        }
+
         // Find the proxy origin in global space
-        var proxyOrigin:Point = DisplayObject(dragInitiator).localToGlobal(new Point(-xOffset, -yOffset));
+        var proxyOrigin:Point = DisplayObject(dragInitiator).localToGlobal(new Point(originX, -yOffset));
         proxyOrigin = DisplayObject(sandboxRoot).globalToLocal(proxyOrigin);

         // Set dragProxy.offset to the mouse offset within the drag proxy.


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

--- frameworks/projects/framework/src/mx/utils/GetTimerUtil.as
+++ frameworks/projects/framework/src/mx/utils/GetTimerUtil.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 mx.utils
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 11992
Author:   gosmith@adobe.com
Date:     2009-11-19T18:29:17.238835Z

Log Message:
-----------
Ensure that the textFlow of a RichText always has a "damage" handler when you get it, so that when you mutate the textFlow the RichText updates.

QE notes: None
Doc notes: None
Bugs: SDK-23869
Reviewer: Carol
Tests run: ant checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichText.as

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

--- frameworks/projects/spark/src/spark/components/RichText.as
+++ frameworks/projects/spark/src/spark/components/RichText.as
@@ -718,6 +718,9 @@
             lastGeneration = _textFlow ? _textFlow.generation : 0;
 		}

+		_textFlow.addEventListener(DamageEvent.DAMAGE,
+								   textFlow_damageHandler);
+
 		return _textFlow;
 	}


Transferred from the Adobe Open Source Subversion Repository

Revision: 5573
Author:   jimurphy@adobe.com
Date:     2009-03-26T15:11:59.159776Z

Log Message:
-----------
-more updated package and class names that were missed in the first pass
-remove the mx folder

qa: probably
doc: this updated more asdoc comments so you may want to make sure that this pass made the correct updates
checkintests: pass

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/IViewport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/HSBInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/SetActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/IGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/IEaser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/DataGroupExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateShaderTransition.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/pathSegments/PathSegment.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxToggleButtonExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AddActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/events/AnimationEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/WipeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/SetAction.as</path>

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

--- frameworks/projects/spark/src/spark/components/Scroller.as
+++ frameworks/projects/spark/src/spark/components/Scroller.as
@@ -36,7 +36,7 @@
 include "../styles/metadata/SelectionFormatTextStyles.as"

 /**
- *  @copy mx.components.baseClasses.GroupBase#alternatingItemColors
+ *  @copy spark.components.supportClasses.GroupBase#alternatingItemColors
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -46,7 +46,7 @@
 [Style(name="alternatingItemColors", type="Array", arrayType="uint", format="Color", inherit="yes")]

 /**
- *  @copy mx.components.baseClasses.GroupBase#contentBackgroundColor
+ *  @copy spark.components.supportClasses.GroupBase#contentBackgroundColor
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -56,7 +56,7 @@
 [Style(name="contentBackgroundColor", type="uint", format="Color", inherit="yes")]

 /**
- *  @copy mx.components.baseClasses.GroupBase#focusColor
+ *  @copy spark.components.supportClasses.GroupBase#focusColor
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -66,7 +66,7 @@
 [Style(name="focusColor", type="uint", format="Color", inherit="yes")]

 /**
- * @copy mx.components.baseClasses.GroupBase#rollOverColor
+ * @copy spark.components.supportClasses.GroupBase#rollOverColor
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -76,7 +76,7 @@
 [Style(name="rollOverColor", type="uint", format="Color", inherit="yes")]

 /**
- *  @copy mx.components.baseClasses.GroupBase#symbolColor
+ *  @copy spark.components.supportClasses.GroupBase#symbolColor
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 3248
Author:   gosmith@adobe.com
Date:     2008-09-17T22:58:26.587163Z

Log Message:
-----------
Updated to TCAL build 173. (Note: I did NOT update the players.)

The three TCAL SWCS used by Flex 4 are now named tcal_core.swc, tcal_conversion.swc, and tcal_edit.swc.

All TCAL APIs are now in a package named flashx.tcal. We are using flashx to indicate important APIs that are considered to extend the Flash platform but which live below application frameworks such as Flex.

On TextFlow, a new 'displayController' property replaces the old 'container' and 'controller' properties.

When importing, you use importToFlow() rather than importFromString() or importFromXML.

Reviewer: N/A
Bugs: -
QA: No
Doc: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Parser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/TextFlowComposer.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/libs/text_importExport.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/build.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/libs/tcal_conversion.swc</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/libs/tcal_edit.swc</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/libs/text_edit.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/events/TextOperationEvent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/libs/tcal_core.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/utils/TextUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/fxg-manifest.xml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/libs/text_model.swc</path>

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

--- frameworks/projects/spark/src/spark/components/TextArea.as
+++ frameworks/projects/spark/src/spark/components/TextArea.as
@@ -20,7 +20,7 @@

 import mx.core.ScrollPolicy;

-import text.formats.LineBreak;
+import flashx.tcal.formats.LineBreak;

 //--------------------------------------
 //  Other metadata


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

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

 package mx.skins.halo
 {


let there be mroe than one TableObserver, now that lobbies are not places unto themselves

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

--- src/as/com/threerings/parlor/client/TableDirector.as
+++ src/as/com/threerings/parlor/client/TableDirector.as
@@ -73,14 +73,13 @@
      * managing.
      * @param observer the entity that will receive callbacks when things happen to the tables.
      */
-    public function TableDirector (ctx :ParlorContext, tableField :String, observer :TableObserver)
+    public function TableDirector (ctx :ParlorContext, tableField :String)
     {
         super(ctx);

         // keep track of this stuff
         _pctx = ctx;
         _tableField = tableField;
-        _observer = observer;
     }

     /**
@@ -110,6 +109,24 @@

     /**
      * Requests that the specified observer be added to the list of observers that are notified
+     * of table updates
+     */
+    public function addTableObserver (observer :TableObserver) :void
+    {
+        _tableObservers.add(observer);
+    }
+
+    /**
+     * Requests that the specified observer be removed from to the list of observers that are
+     * notified of table updates
+     */
+    public function removeTableObserver (observer :TableObserver) :void
+    {
+        _tableObservers.remove(observer);
+    }
+
+    /**
+     * Requests that the specified observer be added to the list of observers that are notified
      * when this client sits down at or stands up from a table.
      */
     public function addSeatednessObserver (observer :SeatednessObserver) :void
@@ -243,8 +260,10 @@
             var table :Table = (event.getEntry() as Table);
             // check to see if we just joined a table
             checkSeatedness(table);
-            // now let the observer know what's up
-            _observer.tableAdded(table);
+            // now let the observers know what's up
+            _tableObservers.apply(function (to :TableObserver) :void {
+                to.tableAdded(table);
+            });
         }
     }

@@ -255,8 +274,10 @@
             var table :Table = (event.getEntry() as Table);
             // check to see if we just joined or left a table
             checkSeatedness(table);
-            // now let the observer know what's up
-            _observer.tableUpdated(table);
+            // now let the observers know what's up
+            _tableObservers.apply(function (to :TableObserver) :void {
+                to.tableUpdated(table);
+            });
         }
     }

@@ -271,7 +292,9 @@
                 notifySeatedness(false);
             }
             // now let the observer know what's up
-            _observer.tableRemoved(tableId);
+            _tableObservers.apply(function (to :TableObserver) :void {
+                to.tableRemoved(tableId);
+            });
         }
     }

@@ -351,11 +374,11 @@
     /** The field name of the distributed set that contains our tables. */
     protected var _tableField :String;

-    /** The entity that we talk to when table stuff happens. */
-    protected var _observer :TableObserver;
-
     /** The table of which we are a member if any. */
     protected var _ourTable :Table;
+
+    /** An array of entities that want to hear about table updates. */
+    protected var _tableObservers :ObserverList = new ObserverList();

     /** An array of entities that want to hear about when we stand up or sit down. */
     protected var _seatedObservers :ObserverList = new ObserverList();


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

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

 package mx.automation.delegates.charts
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 3563
Author:   jimurphy@adobe.com
Date:     2008-10-10T13:41:29.904903Z

Log Message:
-----------
Merged 3.0.x revisions 3421,3427,3442,3455,3457,3474,3477,3493,3500,3503,3513,3520,3531,3544 -> trunk
Integrate:
player 10.0.r12.036
lcds: 4.0.0.3542
coretech: 1.360354

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/lib/flex-messaging-common.jar</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/Install Flash Player 10 Plugin.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/mac/Install Flash Player 10 UB.dmg</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/DLocation.java</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/Install Flash Player 10 ActiveX.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/LoaderUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/lib/rideau.jar</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/RSLItem.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/libs/tcal_conversion.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/tcal_edit.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/player/10/playerglobal.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/tcal_core.swc</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/flashplayer.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/install_flash_player_10_linux.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/libflashplayer.so.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/FlashPlayer.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/mac/Flash Player.app.zip</path>
<path kind="file" action="M">/flex/sdk/trunk/lib/afe.jar</path>

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

--- frameworks/projects/mx/src/mx/controls/RadioButton.as
+++ frameworks/projects/mx/src/mx/controls/RadioButton.as
@@ -395,6 +395,8 @@
         _value = value;

         dispatchEvent(new Event("valueChanged"));
+        if (selected && group)
+        	group.dispatchEvent(new FlexEvent(FlexEvent.VALUE_COMMIT));
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 6205
Author:   gruehle@adobe.com
Date:     2009-04-23T01:38:10.074915Z

Log Message:
-----------
Add Spark download progress bar. This one operates a bit differently than the Halo version. When the file is being downloaded, the track expands. When the app is initializing, the bar expands in the track. It does not contain any text.

The Halo DLPB is still available. If you want to use it, add 'preloader="mx.preloaders.DownloadProgressBar"' to your Application tag.

Bugs: n/a
QA: Yes, ready for testing
Doc: The new preloaderBaseColor property added to both Application classes includes a first pass at ASDoc comments.
Reviewer: Alex

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/DownloadProgressBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/SparkDownloadProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</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/flex4/src/spark/components/Application.as</path>

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

--- frameworks/projects/framework/src/FrameworkClasses.as
+++ frameworks/projects/framework/src/FrameworkClasses.as
@@ -83,7 +83,8 @@
 	import mx.modules.ModuleBase; ModuleBase;
 	import mx.modules.ModuleLoader; ModuleLoader;
 	import mx.modules.ModuleManager; ModuleManager;
-	import mx.preloaders.DownloadProgressBar; DownloadProgressBar;
+    import mx.preloaders.DownloadProgressBar; DownloadProgressBar;
+    import mx.preloaders.SparkDownloadProgressBar; SparkDownloadProgressBar;
 	import mx.printing.FlexPrintJob; FlexPrintJob;
 	import mx.resources.Locale; Locale;
 	import mx.rpc.IResponder; IResponder;


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

--- frameworks/projects/rpc/src/mx/utils/RPCObjectUtil.as
+++ frameworks/projects/rpc/src/mx/utils/RPCObjectUtil.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@1263044 13f79535-47bb-0310-9956-ffa450edef68

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 17610
Author:   cframpto@adobe.com
Date:     2010-09-08T18:54:02.345626Z

Log Message:
-----------
Flex styles and TLF styles were not hooked up properly when we moved to TLF2.  As a result, htmlText, which uses the TextContainerManager, was being styled with the TLF default values.

QE notes:
Doc notes:
Bugs: SDK-27729
Reviewer: Rich Dermer
Tests run: checkintests, cyclone
Is noteworthy for integration: no

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/mx/core/FTETextField.as

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

--- frameworks/projects/spark/src/mx/core/FTETextField.as
+++ frameworks/projects/spark/src/mx/core/FTETextField.as
@@ -17,7 +17,6 @@
     import flash.display.Shape;
     import flash.display.Sprite;
     import flash.events.Event;
-    import flash.events.EventDispatcher;
     import flash.geom.Point;
     import flash.geom.Rectangle;
     import flash.text.StyleSheet;
@@ -42,15 +41,12 @@

     import flashx.textLayout.compose.ISWFContext;
     import flashx.textLayout.compose.TextLineRecycler;
+    import flashx.textLayout.formats.ITextLayoutFormat;
     import flashx.textLayout.formats.LeadingModel;
     import flashx.textLayout.formats.LineBreak;
     import flashx.textLayout.formats.TextDecoration;
-
-    import mx.core.FTETextField;
-    import mx.core.FlexGlobals;
-    import mx.core.IFlexModuleFactory;
-    import mx.core.IFontContextComponent;
-    import mx.core.mx_internal;
+    import flashx.textLayout.formats.TextLayoutFormat;
+
     import mx.managers.SystemManager;
     import mx.managers.SystemManagerGlobals;

@@ -2603,7 +2599,51 @@
          */
         private function createHostFormat():void
         {
-            _htmlHelper.hostFormat = new FTETextFieldHostFormat(this);
+            var hostFormat:TextLayoutFormat = new TextLayoutFormat();
+
+            hostFormat.color = _defaultTextFormat.color;
+            hostFormat.direction = direction;
+
+            hostFormat.fontFamily = _defaultTextFormat.font;
+            hostFormat.fontLookup = embedFonts ?
+                FontLookup.EMBEDDED_CFF :
+                FontLookup.DEVICE;
+            hostFormat.fontSize = _defaultTextFormat.size;
+            hostFormat.fontStyle = _defaultTextFormat.italic ?
+                FontPosture.ITALIC :
+                FontPosture.NORMAL;
+            hostFormat.fontWeight = _defaultTextFormat.bold ?
+                FontWeight.BOLD :
+                FontWeight.NORMAL;
+
+            hostFormat.kerning = _defaultTextFormat.kerning ?
+                Kerning.AUTO :
+                Kerning.OFF;
+            hostFormat.leadingModel = LeadingModel.APPROXIMATE_TEXT_FIELD;
+            hostFormat.lineBreak = wordWrap ?
+                LineBreak.TO_FIT :
+                LineBreak.EXPLICIT;
+            hostFormat.lineHeight = _defaultTextFormat.leading;
+            hostFormat.locale = locale;
+
+            hostFormat.paddingBottom = FTETextField.PADDING_BOTTOM;
+            hostFormat.paddingLeft = FTETextField.PADDING_LEFT;
+            hostFormat.paddingRight = FTETextField.PADDING_RIGHT;
+            hostFormat.paddingTop = FTETextField.PADDING_TOP;
+
+            hostFormat.paragraphEndIndent = _defaultTextFormat.rightMargin;
+            hostFormat.paragraphStartIndent =  _defaultTextFormat.leftMargin;
+
+            hostFormat.textAlign = _defaultTextFormat.align;
+            hostFormat.textAlignLast = _defaultTextFormat.align;
+            hostFormat.textDecoration = _defaultTextFormat.underline ?
+                TextDecoration.UNDERLINE :
+                TextDecoration.NONE;
+            hostFormat.textIndent = _defaultTextFormat.indent;
+
+            hostFormat.trackingRight = _defaultTextFormat.letterSpacing;
+
+            _htmlHelper.hostFormat = hostFormat;
         }

         // used during compose to track nextLineIndex
@@ -3080,7 +3120,6 @@
 import flashx.textLayout.edit.EditingMode;
 import flashx.textLayout.elements.Configuration;
 import flashx.textLayout.elements.FlowElement;
-import flashx.textLayout.elements.LinkElement;
 import flashx.textLayout.elements.IConfiguration;
 import flashx.textLayout.elements.IFormatResolver;
 import flashx.textLayout.elements.LinkElement;
@@ -3096,8 +3135,8 @@
 import flashx.textLayout.formats.TextDecoration;
 import flashx.textLayout.formats.TextLayoutFormat;

+import mx.core.FTETextField;
 import mx.core.mx_internal;
-import mx.core.FTETextField;

 use namespace mx_internal;

@@ -3120,148 +3159,6 @@
     override public function drawBackgroundAndSetScrollRect(scrollX:Number, scrollY:Number):Boolean
     {
         return true;
-    }
-}
-
-/**
- *  @private
- */
-class FTETextFieldHostFormat extends TextLayoutFormat
-{
-    public function FTETextFieldHostFormat(textField:FTETextField)
-    {
-        super();
-
-        this.textField = textField;
-    }
-
-    private var textField:FTETextField;
-
-    public override function get color():*
-    {
-        return textField._defaultTextFormat.color;
-    }
-
-    public override function get direction():*
-    {
-        return textField.direction;
-    }
-
-    public override function get fontFamily():*
-    {
-        return textField._defaultTextFormat.font;
-    }
-
-    public override function get fontLookup():*
-    {
-        return textField.embedFonts ?
-            FontLookup.EMBEDDED_CFF :
-            FontLookup.DEVICE;
-    }
-
-    public override function get fontSize():*
-    {
-        return textField._defaultTextFormat.size;
-    }
-
-    public override function get fontStyle():*
-    {
-        return textField._defaultTextFormat.italic ?
-            FontPosture.ITALIC :
-            FontPosture.NORMAL;
-    }
-
-    public override function get fontWeight():*
-    {
-        return textField._defaultTextFormat.bold ?
-            FontWeight.BOLD :
-            FontWeight.NORMAL;
-    }
-
-    public override function get kerning():*
-    {
-        return textField._defaultTextFormat.kerning ?
-            Kerning.AUTO :
-            Kerning.OFF;
-    }
-
-    public override function get leadingModel():*
-    {
-        return LeadingModel.APPROXIMATE_TEXT_FIELD;
-    }
-
-    public override function get lineBreak():*
-    {
-        return textField.wordWrap ?
-            LineBreak.TO_FIT :
-            LineBreak.EXPLICIT;
-    }
-
-    public override function get lineHeight():*
-    {
-        return textField._defaultTextFormat.leading;
-    }
-
-    public override function get locale():*
-    {
-        return textField.locale;
-    }
-
-    public override function get paddingBottom():*
-    {
-        return FTETextField.PADDING_BOTTOM;
-    }
-
-    public override function get paddingLeft():*
-    {
-        return FTETextField.PADDING_LEFT;
-    }
-
-    public override function get paddingRight():*
-    {
-        return FTETextField.PADDING_RIGHT;
-    }
-
-    public override function get paddingTop():*
-    {
-        return FTETextField.PADDING_TOP;
-    }
-
-    public override function get paragraphEndIndent():*
-    {
-        return textField._defaultTextFormat.rightMargin;
-    }
-
-    public override function get paragraphStartIndent():*
-    {
-        return textField._defaultTextFormat.leftMargin;
-    }
-
-    public override function get textAlign():*
-    {
-        return textField._defaultTextFormat.align;
-    }
-
-    public override function get textAlignLast():*
-    {
-        return textField._defaultTextFormat.align;
-    }
-
-    public override function get textDecoration():*
-    {
-        return textField._defaultTextFormat.underline ?
-            TextDecoration.UNDERLINE :
-            TextDecoration.NONE;
-    }
-
-    public override function get textIndent():*
-    {
-        return textField._defaultTextFormat.indent;
-    }
-
-    public override function get trackingRight():*
-    {
-        return textField._defaultTextFormat.letterSpacing;
     }
 }