Transferred from the Adobe Open Source Subversion Repository

Revision: 9419
Author:   aharui@adobe.com
Date:     2009-08-20T16:19:04.456854Z

Log Message:
-----------
2nd attempt to check in prototypes of ControlBars in Panel and Application, Spark Containers in Halo Navigators, Halo ViewStack in Spark ButtonBar.  APIs should match spec but are subject to change from PARB.  Skins are subject to tweaking after XD review

QE Notes: The following tests will fail and need updating:
gumbo/containers/Panel/Properties/Panel_Properties_position Panel_Properties_rotate
apollo/spark/components/Window/properties/window_properties_titleIcon_tests titleIcon_test8

Doc Notes: None
Bugs: None
Reviewer: Darrell, Glenn, Ryan
API Change: No
Is noteworthy for integration: No
tests: checkintests mustella/gumbo/components/Application, gumbo/components/ButtonBar, gumbo/containers/Panel, apollo/gumbo/spark/Window, containers/ViewStack, containers/Accordion,
states/Integration/TabNavApp, states/Reparent

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/SparkChromeWindowedApplicationSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NavigatorChild.as" copyfrom-rev="9399" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NavigatorChild.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/framework/src/mx/events/FlexEvent.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/framework/src/mx/containers/ViewStack.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/IDeferredContentOwner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.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/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NavBar.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/modules/compiler/src/java/flex2/compiler_en.properties</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/INavigatable.as" copyfrom-rev="9399" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/INavigatable.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/PanelSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/INavigatorContent.as" copyfrom-rev="9399" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/INavigatorContent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/PanelSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDeferredContentOwner.as" copyfrom-rev="9399" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDeferredContentOwner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ApplicationSkin.mxml</path>

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

--- frameworks/projects/mx/src/mx/containers/TabNavigator.as
+++ frameworks/projects/mx/src/mx/containers/TabNavigator.as
@@ -13,9 +13,9 @@
 {

 import flash.display.DisplayObject;
-import flash.events.Event;
 import flash.events.FocusEvent;
 import flash.events.KeyboardEvent;
+
 import mx.controls.Button;
 import mx.controls.TabBar;
 import mx.core.Container;
@@ -27,7 +27,6 @@
 import mx.core.IUIComponent;
 import mx.core.UIComponent;
 import mx.core.mx_internal;
-import mx.events.ItemClickEvent;
 import mx.managers.IFocusManagerComponent;
 import mx.styles.StyleProxy;

@@ -657,7 +656,7 @@
         // We'll be called again later (instantiateSelectedChild calls
         // invalidateSize), and we don't want to load values into the
         // cache until we're fully initialized.  (bug 102639)
-        if (selectedChild && Container(selectedChild).numChildrenCreated == -1)
+        if (selectedChild && selectedChild.deferredContentCreated == false)
             return;

         // Don't remember sizes if we don't have any children


Transferred from the Adobe Open Source Subversion Repository

Revision: 14095
Author:   cframpto@adobe.com
Date:     2010-02-10T17:33:30.511669Z

Log Message:
-----------
Merge 14076 from 4.x branch to trunk.

Revision: 14076
Author:   cframpto@adobe.com
Date:     2010-02-09 15:23:15 -0800 (Tue, 09 Feb 2010)
Log Message:
***********
Add UIComponent.mapKeycodeForLayoutDirection().  This should be called by any keyDownHandlers() which handles Keyboard.LEFT and Keyboard.RIGHT, and optionally for Keyboard.UP and Keyboard.DOWN, if they behave like Keyboard.LEFT and Keyboard.RIGHT.  If the layoutDirection="rtl", it maps LEFT to RIGHT, RIGHT to LEFT, UP to RIGHT and DOWN to LEFT.  This allows the keyDownHandler() to perform the correct action without adding lots of special case code to the key handling code.

QE notes: For layoutDirection="rtl" need to test LEFT, RIGHT, UP and DOWN keys.
Doc notes: None
Bugs: SDK-25330
Reviewed By: Hans
Tests run: checkintests
Is noteworthy for integration: No

Ticket Links:
***********
    http://bugs.adobe.com/jira/browse/SDK-25330

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="dir" action="M">/flex/sdk/trunk/frameworks</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/SliderThumb.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as</path>

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

--- frameworks/projects/mx/src/mx/controls/CalendarLayout.as
+++ frameworks/projects/mx/src/mx/controls/CalendarLayout.as
@@ -2178,9 +2178,13 @@

         var daysInMonth:int = getNumberOfDaysInMonth(displayedYear, displayedMonth);

+        // If rtl layout, need to swap LEFT for RIGHT so correct action
+        // is done.
+        var keyCode:int = mapKeycodeForLayoutDirection(event);
+
         for (var i:uint = 0; i < 31; i++)
         {
-            if (event.keyCode == Keyboard.LEFT)
+            if (keyCode == Keyboard.LEFT)
             {
                 if (date > 1)
                 {
@@ -2191,7 +2195,7 @@
                     return;
             }

-            else if (event.keyCode == Keyboard.RIGHT)
+            else if (keyCode == Keyboard.RIGHT)
             {
                 if (date < daysInMonth)
                 {
@@ -2202,7 +2206,7 @@
                     return;
             }

-            else if (event.keyCode == Keyboard.UP)
+            else if (keyCode == Keyboard.UP)
             {
                 if (date > 7)
                 {
@@ -2213,7 +2217,7 @@
                     return;
             }

-            else if (event.keyCode == Keyboard.DOWN)
+            else if (keyCode == Keyboard.DOWN)
             {
                 if (date + 7 <= daysInMonth)
                 {
@@ -2224,7 +2228,7 @@
                     return;
             }

-            else if (event.keyCode == Keyboard.HOME)
+            else if (keyCode == Keyboard.HOME)
             {
                 if (i == 0)
                     date = 1;
@@ -2233,7 +2237,7 @@
                 selChanged = true;
             }

-            else if (event.keyCode == Keyboard.END)
+            else if (keyCode == Keyboard.END)
             {
                 if (i == 0)
                     date = daysInMonth;
@@ -2243,21 +2247,21 @@
             }

             else if (lastSelectedDate && event.shiftKey &&
-                     (event.keyCode == Keyboard.PAGE_UP ||
-                      event.keyCode == Keyboard.PAGE_DOWN))
+                     (keyCode == Keyboard.PAGE_UP ||
+                      keyCode == Keyboard.PAGE_DOWN))
             {
                 selChanged = true;
             }

             else if (lastSelectedDate &&
-                     (event.keyCode == 189 ||
-                      event.keyCode == 187)) // for year - and +
+                     (keyCode == 189 ||
+                      keyCode == 187)) // for year - and +
             {
                 selChanged = true;
             }

-            if (event.keyCode >= Keyboard.PAGE_UP &&
-                event.keyCode <= Keyboard.DOWN)
+            if (keyCode >= Keyboard.PAGE_UP &&
+                keyCode <= Keyboard.DOWN)
             {
                 event.stopPropagation();
             }


Transferred from the Adobe Open Source Subversion Repository

Revision: 753
Author:   smgilson@adobe.com
Date:     2008-03-06T20:21:46.500261Z

Log Message:
-----------
Remove internal properties from ASDoc for MessageAgent.as

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

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageAgent.as

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

--- frameworks/projects/rpc/src/mx/messaging/MessageAgent.as
+++ frameworks/projects/rpc/src/mx/messaging/MessageAgent.as
@@ -161,23 +161,27 @@
     //--------------------------------------------------------------------------

     /**
+     *  @private
      *  The type of MessageAgent.
      *  This variable is used for logging and MUST be assigned by subclasses.
      */
     protected var _agentType:String;

     /**
+     *  @private
      *  The Base64 encoded credentials that will be passed through to
      *  the ChannelSet.
      */
     protected var _credentials:String;

     /**
+     *  @private
      *  The character set encoding used to create the credentials String.
      */
     protected var _credentialsCharset:String;

     /**
+     *  @private
      *  Indicates whether the agent is explicitly disconnected.
      *  This allows agents to supress processing of acks/faults that return
      *  after the client has issued an explicit disconnect().
@@ -185,35 +189,41 @@
     protected var _disconnectBarrier:Boolean;

     /**
+     *  @private
      *  This helps in the runtime configuration setup by delaying the connect
      *  event until the configuration has been setup. See acknowledge().
      */
     private var _pendingConnectEvent:ChannelEvent;

     /**
+     *  @private
      *  The Base64 encoded credentials that are passed through to a
      *  3rd party.
      */
     private var _remoteCredentials:String = "";

     /**
+     *  @private
      *  The character set encoding used to create the remoteCredentials String.
      */
     private var _remoteCredentialsCharset:String;

     /**
+     *  @private
      *  Indicates that the remoteCredentials value has changed and should
      *  be sent to the server.
      */
     private var _sendRemoteCredentials:Boolean;

     /**
+     *  @private
      *  The logger MUST be assigned by subclasses, for example
      *  Consumer and Producer.
      */
     protected var _log:ILogger;

     /**
+     *  @private
      *  A queue to store pending outbound messages while waiting for a server response
      *  that contains a server-generated clientId.
      *  Serializing messages from a MessageAgent to the server is essential until we
@@ -223,6 +233,7 @@
     private var _clientIdWaitQueue:Array;

     /**
+     *  @private
      * Flag being set to true denotes that we should skip remaining fault
      * processing logic because the fault has already been handled.
      * Currently used during an automatic resend of a faulted message if the fault
@@ -234,7 +245,7 @@
      *  @private
      */
     private var resourceManager:IResourceManager =
-									ResourceManager.getInstance();
+                                    ResourceManager.getInstance();
     //--------------------------------------------------------------------------
     //
     // Properties
@@ -441,11 +452,11 @@
     public function set destination(value:String):void
     {
         if ((value == null) || (value.length == 0))
-		{
-			var message:String = resourceManager.getString(
-				"messaging", "emptyDestinationName", [ value ]);
+        {
+            var message:String = resourceManager.getString(
+                "messaging", "emptyDestinationName", [ value ]);
             throw new InvalidDestinationError(message);
-		}
+        }

         if (_destination != value)
         {
@@ -627,10 +638,10 @@
             _log.info("'{0}' {2} acknowledge of '{1}'.", id, msg.messageId, _agentType);

         if (Log.isDebug() && channelSet != null && channelSet.currentChannel != null &&
-				channelSet.currentChannel.mpiEnabled)
-        {
-        	var mpiutil:MessagePerformanceUtils = new MessagePerformanceUtils(ackMsg);
-        	_log.debug(mpiutil.prettyPrint());
+                channelSet.currentChannel.mpiEnabled)
+        {
+            var mpiutil:MessagePerformanceUtils = new MessagePerformanceUtils(ackMsg);
+            _log.debug(mpiutil.prettyPrint());
         }

         // Remove error hint. ErrorMessages returned by the server are
@@ -690,10 +701,10 @@
     {
         if (Log.isError())
             _log.error("'{0}' {2} fault for '{1}'.", id, msg.messageId, _agentType);
-
-    	_ignoreFault = false;
-    	configRequested = false;
-
+
+        _ignoreFault = false;
+        configRequested = false;
+
         // Remove retryable hint.
         if (errMsg.headers[ErrorMessage.RETRYABLE_HINT_HEADER])
             delete errMsg.headers[ErrorMessage.RETRYABLE_HINT_HEADER];
@@ -709,21 +720,21 @@
         dispatchEvent(MessageFaultEvent.createEvent(errMsg));

         // If we get an authentication fault on the server and our authenticated
-	    // flag is true then the authentication fault must have been caused by a
-	    // session expiration on the server.  Set our authentication state to false.
-	    // If loginAfterDisconnect flag is on, resend credentials by doing a
-	    // disconnect/connect and try sending the message again
-	    if (errMsg.faultCode == "Client.Authentication" && authenticated &&
-	        channelSet != null && channelSet.currentChannel != null)
-		{
-			channelSet.currentChannel.setAuthenticated(false);
-
-			if (channelSet.currentChannel.loginAfterDisconnect)
-			{
-				reAuthorize(msg);
-				_ignoreFault = true;
-			}
-		}
+        // flag is true then the authentication fault must have been caused by a
+        // session expiration on the server.  Set our authentication state to false.
+        // If loginAfterDisconnect flag is on, resend credentials by doing a
+        // disconnect/connect and try sending the message again
+        if (errMsg.faultCode == "Client.Authentication" && authenticated &&
+            channelSet != null && channelSet.currentChannel != null)
+        {
+            channelSet.currentChannel.setAuthenticated(false);
+
+            if (channelSet.currentChannel.loginAfterDisconnect)
+            {
+                reAuthorize(msg);
+                _ignoreFault = true;
+            }
+        }
     }

     /**
@@ -736,8 +747,8 @@
      */
     protected function reAuthorize(msg:IMessage):void
     {
-  		disconnect();
-		internalSend(msg);
+        disconnect();
+        internalSend(msg);
     }

     /**
@@ -918,9 +929,9 @@
     * @param msg The message for which the existence of pending requests is checked.
     */
     public function hasPendingRequestForMessage(msg:IMessage):Boolean
-	{
-		return false;
-	}
+    {
+        return false;
+    }

     //--------------------------------------------------------------------------
     //
@@ -969,10 +980,10 @@
             // If we have a valid clientId, flush all pending messages.
             if (clientId != null)
             {
-				while (_clientIdWaitQueue.length > 0)
-				{
-					internalSend(_clientIdWaitQueue.shift() as IMessage);
-				}
+                while (_clientIdWaitQueue.length > 0)
+                {
+                    internalSend(_clientIdWaitQueue.shift() as IMessage);
+                }
             }
             // If we still don't have a clientId, remove the first queued message and send it.
             // Leave the queue intact to buffer subsequent sends until we get a response/fault
@@ -1062,8 +1073,8 @@
         }
         else
         {
-			var msg:String = resourceManager.getString(
-				"messaging", "destinationNotSet");
+            var msg:String = resourceManager.getString(
+                "messaging", "destinationNotSet");
             throw new InvalidDestinationError(msg);
         }
     }


Added support for resolving "attach://"-resources along with related error handling and logging to AbstractResource

--- src/reprise/external/AbstractResource.as
+++ src/reprise/external/AbstractResource.as
@@ -7,14 +7,16 @@

 package reprise.external
 {
+	import flash.events.Event;
+	import flash.net.URLRequest;
+	import flash.utils.getDefinitionByName;
+	import flash.utils.getQualifiedClassName;
+	import flash.utils.getTimer;
+
 	import reprise.commands.AbstractAsynchronousCommand;
 	import reprise.commands.TimeCommandExecutor;
+	import reprise.events.ResourceEvent;
 	import reprise.utils.Delegate;
-	import reprise.events.ResourceEvent;
-
-	import flash.events.Event;
-	import flash.net.URLRequest;
-	import flash.utils.getTimer;

 	public class AbstractResource extends AbstractAsynchronousCommand
 		implements IResource
@@ -34,10 +36,12 @@
 		protected var m_lastCheckTime : int;
 		protected var m_httpStatus : HTTPStatus;
 		protected var m_didFinishLoading : Boolean = false;
+		protected var m_checkPolicyFile : Boolean;
+		protected var m_attachMode : Boolean;
+
 		private var m_failureReason : int;
-		protected var m_checkPolicyFile : Boolean;
-
-
+
+
 		/***************************************************************************
 		*							public methods								   *
 		***************************************************************************/
@@ -317,5 +321,64 @@
 		{
 			m_httpStatus = new HTTPStatus(statusCode, m_url);
 		}
+
+		protected function resolveAttachSymbol() : Class
+		{
+			if (!(m_url && m_url.indexOf('attach://') == 0))
+			{
+				m_attachMode = false;
+				return null;
+			}
+			m_attachMode = true;
+			//remove protocol
+			var symbolId:String = m_url.substr(9);
+
+			//get FQCN name of assets class that contains the requested symbol
+			var pieces:Array = symbolId.split('/');
+			var className : String = pieces.shift();
+			try
+			{
+				var symbol : Object = getDefinitionByName(className);
+			}
+			catch (e : Error)
+			{
+				log('w Unable to use attach:// procotol. Symbol ' + symbolId + ' not found.');
+				return null;
+			}
+
+			//iterate over remaining path parts, getting nested symbols from the assets class
+			for (var i:int = 0; i < pieces.length; i++)
+			{
+				symbol = symbol[pieces[i]];
+				if (!symbol)
+				{
+					log('w Unable to use attach:// procotol! Static property ' + pieces.join('/') +
+							' not found on Class ' + className);
+					return null;
+				}
+			}
+			if (!(symbol is Class))
+			{
+				log('w Unable to use attach:// procotol. Static property ' + pieces.join('/') +
+						' on Class ' + className + ' is not of type Class.');
+				return null;
+			}
+			return symbol as Class;
+		}
+
+		/**
+		 * Logs a warning message informing about an incompatible Class type in an asset loaded via "attach://"
+		 * @param symbol The symbol with the unsupported type
+		 */
+		protected function logUnsupportedTypeMessage(symbol : Class) : void
+		{
+			var symbolId : String = m_url.substr(9);
+			var className : String = symbolId.substr(0, symbolId.indexOf('/'));
+			var propertyName : String = symbolId.substr(symbolId.indexOf('/') + 1);
+			var fqcn : String = getQualifiedClassName(symbol);
+			var resourceName : String = getQualifiedClassName(this['constructor']);
+			log('w Unable to use attach:// procotol. Static property ' + propertyName + ' on Class ' +
+					className + ' has type ' + fqcn + ', which is not supported by ' + resourceName);
+		}
 	}
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 22296
Author:   jszeto@adobe.com
Date:     2011-08-30T21:32:40.492767Z

Log Message:
-----------
LabelItemRenderer bug fix

SDK-31330 - Setting fontFamily to an embedded font in a mobile list makes some list item separators disappear in LabelItemRenderer

Round off the measured size

QE notes: none
Doc notes: none
Bugs: SDK-31330
Reviewer: Glenn
Tests run: checkintests, cyclone
Is noteworthy for integration: no

Modified Paths:
--------------
/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as

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

--- frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as
+++ frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as
@@ -1092,18 +1092,22 @@
      */
     protected function getElementPreferredWidth(element:Object):Number
     {
+        var result:Number;
+
         if (element is ILayoutElement)
         {
-            return ILayoutElement(element).getPreferredBoundsWidth();
+            result = ILayoutElement(element).getPreferredBoundsWidth();
         }
         else if (element is IFlexDisplayObject)
         {
-            return IFlexDisplayObject(element).measuredWidth;
+            result = IFlexDisplayObject(element).measuredWidth;
         }
         else
         {
-            return element.width;
-        }
+            result = element.width;
+        }
+
+        return Math.round(result);
     }

     /**
@@ -1119,18 +1123,22 @@
      */
     protected function getElementPreferredHeight(element:Object):Number
     {
+        var result:Number;
+
         if (element is ILayoutElement)
         {
-            return ILayoutElement(element).getPreferredBoundsHeight();
+            result = ILayoutElement(element).getPreferredBoundsHeight();
         }
         else if (element is IFlexDisplayObject)
         {
-            return IFlexDisplayObject(element).measuredHeight;
+            result =  IFlexDisplayObject(element).measuredHeight;
         }
         else
         {
-            return element.height;
-        }
+            result =  element.height;
+        }
+
+        return Math.round(result);
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 19880
Author:   hmuller@adobe.com
Date:     2011-01-21T22:46:35.700522Z

Log Message:
-----------
Correctly position DataGrid item renderer tooltips when the item renderer is only partially visible.

QE notes: One Mustella bitmap to be updated (Jody)
Doc notes:
Bugs: SDK-29186
Reviewer: Carol
Tests run: checkin, mustella
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridItemRenderer.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridItemRenderer.as
@@ -121,7 +121,24 @@
 		const uiComp:IUIComponent = event.currentTarget as IUIComponent;
 		if (!uiComp)
 			return;
-
+
+        // If the renderer is partially obscured because the Grid has been
+        // scrolled, we'll put the tooltip in the center of the exposed portion
+        // of the renderer.
+
+        var rendererR:Rectangle = new Rectangle(
+            renderer.getLayoutBoundsX(),
+            renderer.getLayoutBoundsY(),
+            renderer.getLayoutBoundsWidth(),
+            renderer.getLayoutBoundsHeight());
+
+        const scrollR:Rectangle = renderer.grid.scrollRect;
+        if (scrollR)
+            rendererR = rendererR.intersection(scrollR);  // exposed renderer b
+
+        if ((rendererR.height == 0) || (rendererR.width == 0))
+            return;
+
 		// Determine if the toolTip needs to be adjusted for RTL layout.
 		const mirror:Boolean = renderer.layoutDirection == LayoutDirection.RTL;

@@ -133,15 +150,18 @@
         // center vertically and make sure it doesn't overlap the screen.
         // Call the helper function to handle this for us.

+        // x,y: tooltip's location relative to the renderer's layout bounds
         // Assume there's no scaling in the coordinate space between renderer.width and toolTip.width
-        const x:int = mirror ? renderer.width - toolTip.width : 0;
+        const x:int =  mirror ? (renderer.width - toolTip.width) : (rendererR.x - renderer.getLayoutBoundsX());
+        const y:int = rendererR.y - renderer.getLayoutBoundsY() + ((rendererR.height - toolTip.height) / 2);
+
         var pt:Point = PopUpUtil.positionOverComponent(DisplayObject(uiComp),
                                                        uiComp.systemManager,
                                                        toolTip.width,
                                                        toolTip.height,
-                                                       renderer.height / 2,
+                                                       NaN,
                                                        null,
-                                                       new Point(x, 0));
+                                                       new Point(x, y));
         toolTip.move(pt.x, pt.y);
 	}


fix 2

fix 2

--- src/ageofai/map/model/MapModel.as
+++ src/ageofai/map/model/MapModel.as
@@ -98,7 +98,7 @@
 			var offsetX:int, offsetY:int;
 			do
 			{
-				offsetX = offsetY = 0;
+				offsetX = offsetY = 1;
 				for( var i:int = 0; i < CMap.HOME_COUNT - 1; i++ )
 				{
 					var home:HomeVO = new HomeVO();


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

--- frameworks/projects/rpc/src/mx/messaging/SubscriptionInfo.as
+++ frameworks/projects/rpc/src/mx/messaging/SubscriptionInfo.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.messaging
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 3509
Author:   jimurphy@adobe.com
Date:     2008-10-07T18:19:17.646255Z

Log Message:
-----------
Rename of flex -> mx.

For compatibility reasons it was decided that the new functionality remain integrated with the old framework, although we will continue to build two separate SWCs, one with primarily existing framework classes, and one with new Flex 4 classes. This change removes duplicate names from the Flex 4 framework to avoid class name overlapping with the old framework code.  The naming overlap consists of two major areas:  New Components, and New Effects

Modified Paths:
--------------
386 paths were modified

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

--- frameworks/projects/spark/src/spark/components/ResizeMode.as
+++ frameworks/projects/spark/src/spark/components/ResizeMode.as
@@ -9,7 +9,7 @@
 //
 ////////////////////////////////////////////////////////////////////////////////

-package flex.core
+package mx.components
 {

 /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 7803
Author:   dsubrama@adobe.com
Date:     2009-06-12T22:33:24.106666Z

Log Message:
-----------
Metadata needed by Bangalore team for event-handler generation.

Bug: http://bugs.adobe.com/jira/browse/SDK-21632
Checkintests: Pass
Reviewer: Ryan

Modified Paths:
--------------
<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/RadioButtonGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TabBar.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/HSlider.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/flex4/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToggleButtonBar.as</path>

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

--- frameworks/projects/spark/src/spark/components/VScrollBar.as
+++ frameworks/projects/spark/src/spark/components/VScrollBar.as
@@ -19,7 +19,12 @@
 import spark.core.IViewport;
 import spark.core.ScrollUnit;

+//--------------------------------------
+//  Other metadata
+//--------------------------------------
+
 [IconFile("VScrollBar.png")]
+[DefaultTriggerEvent("change")]

 /**
  *  The VScrollBar (vertical ScrollBar) control lets you control


Transferred from the Adobe Open Source Subversion Repository

Revision: 19360
Author:   smgilson@adobe.com
Date:     2010-12-14T15:55:46.180282Z

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/mobilecomponents/src/spark/components/IconItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ActionBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as
+++ frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as
@@ -80,11 +80,10 @@
  *  downColor is not used.

  *
  *
The default value in the
- *  spark theme is undefined.  The default value in the
- *  mobile theme is 0xB2B2B2.

+ *  Spark theme is undefined.
+ *  The default value in the
+ *  Mobile theme is 0xB2B2B2.

  *
- *  @default 0xB2B2B2
- *
  *  @langversion 3.0
  *  @playerversion Flash 10.1
  *  @playerversion AIR 2.5
@@ -204,9 +203,54 @@
  *  a field of the data item to display in the StyleableTextField control.

  *
  *
To create a custom item renderer for use on mobile devices,
- *  Adobe recommends that you
- *  create a new ActionScript item renderer that extends
- *  this class.

+ *  Adobe recommends that you create a new ActionScript item renderer
+ *  that extends this class.

+ *
+ *  @mxml
+ *
+ *
The <s:LabelItemRenderer> tag inherits all of the tag
+ *  attributes of its superclass and adds the following tag attributes:

+ *
+ *

+ *  <s:LabelItemRenderer
+ *   Properties
+ *    label=""
+ *
+ *   Common Styles
+ *    color="Theme dependent"
+ *    downColor="Theme dependent"
+ *    fontFamily="Theme dependent"
+ *    fontSize="Theme dependent"
+ *    fontStyle="normal"
+ *    fontWeight="normal"
+ *    leading="0"
+ *    letterSpacing="0"
+ *    paddingBottom="0"
+ *    paddingLeft="0"
+ *    paddingRight="0"
+ *    paddingTop="5"
+ *    rollOverColor="0xCEDBEF"
+ *    selectionColor="0xB2B2B2"
+ *    textAlign="left"
+ *    textDecoration="none"
+ *    textIndent="0"
+ *    verticalAlign="center"
+ *
+ *   Spark Styles
+ *    alternatingItemColors="undefined"
+ *    focusColor="0x70B2EE"
+ *    symbolColor="0x000000"
+ *
+ *   Mobile Styles
+ *    alternatingItemColors="undefined"
+ *    focusColor="0x70B2EE"
+ *    symbolColor="0x000000"
+ *
+ *    Events
+ *    dataChange="No default"
+ *
+ *  >
+ *

  *
  *  @see spark.components.IconItemRenderer
  *  @see spark.components.List
@@ -723,14 +767,14 @@
         {
             backgroundColor = getStyle("rollOverColor");
         }
-		else if (showsCaret)
-		{
-			// FIXME (rfrishbe): should probably be its own distinct color and style
-			// Also, this is touch-specific...should it be called LabelItemRenderer
-			// if it has touch-specific logic in here?  Should we gate it based
-			// on interactionMode?
-			backgroundColor = getStyle("selectionColor");
-		}
+        else if (showsCaret)
+        {
+            // FIXME (rfrishbe): should probably be its own distinct color and style
+            // Also, this is touch-specific...should it be called LabelItemRenderer
+            // if it has touch-specific logic in here?  Should we gate it based
+            // on interactionMode?
+            backgroundColor = getStyle("selectionColor");
+        }
         else
         {
             var alternatingColors:Array = getStyle("alternatingItemColors");
@@ -754,21 +798,21 @@
         // the reason why we draw it in the case of drawBackground == 0 is for
         // mouse hit testing purposes
         graphics.beginFill(backgroundColor, drawBackground ? 1 : 0);
-		graphics.lineStyle();
-		graphics.drawRect(0, 0, unscaledWidth, unscaledHeight);
-		graphics.endFill();
-
-		// FIXME (rfrishbe): separators should be stylable
-		// draw seperators: two lines
-		// 1 pixel from bottom
-		graphics.lineStyle(1, 0x1C1C1C);
-		graphics.moveTo(0, unscaledHeight-1);
-		graphics.lineTo(unscaledWidth, unscaledHeight-1);
-
-		// line on the bottom
-		graphics.lineStyle(1, 0x606060);
-		graphics.moveTo(0, unscaledHeight);
-		graphics.lineTo(unscaledWidth, unscaledHeight);
+        graphics.lineStyle();
+        graphics.drawRect(0, 0, unscaledWidth, unscaledHeight);
+        graphics.endFill();
+
+        // FIXME (rfrishbe): separators should be stylable
+        // draw seperators: two lines
+        // 1 pixel from bottom
+        graphics.lineStyle(1, 0x1C1C1C);
+        graphics.moveTo(0, unscaledHeight-1);
+        graphics.lineTo(unscaledWidth, unscaledHeight-1);
+
+        // line on the bottom
+        graphics.lineStyle(1, 0x606060);
+        graphics.moveTo(0, unscaledHeight);
+        graphics.lineTo(unscaledWidth, unscaledHeight);
     }

     /**
@@ -851,7 +895,7 @@
     //--------------------------------------------------------------------------

     /**
-     *  @copy spark.skins.mobile.MobileSkin#setElementPosition
+     *  @copy spark.skins.mobile.supportClasses.MobileSkin#setElementPosition()
      *
      *  @see #setElementSize
      *
@@ -878,7 +922,7 @@
     }

     /**
-     *  @copy spark.skins.mobile.MobileSkin#setElementSize
+     *  @copy spark.skins.mobile.supportClasses.MobileSkin#setElementSize()
      *
      *  @see #setElementPosition
      *
@@ -905,10 +949,9 @@
     }

     /**
-     *  @copy spark.skins.mobile.MobileSkin#getElementPreferredWidth
+     *  @copy spark.skins.mobile.supportClasses.MobileSkin#getElementPreferredWidth()
      *
      *  @see #setElementPosition
-     *
      *  @see #setElementSize
      *  @see #getElementPreferredHeight
      *
@@ -938,10 +981,9 @@
     }

     /**
-     *  @copy spark.skins.mobile.MobileSkin#getElementPreferredHeight
+     *  @copy spark.skins.mobile.supportClasses.MobileSkin#getElementPreferredHeight()
      *
      *  @see #setElementPosition
-     *
      *  @see #setElementSize
      *  @see #getElementPreferredWidth
      *


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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridItemRenderer.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridItemRenderer.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2010 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: 20009
Author:   hmuller@adobe.com
Date:     2011-01-28T23:47:44.918637Z

Log Message:
-----------
Added efficiency discussion to GridItemRenderer class ASDoc.

QE notes: doc change only
Doc notes:
Bugs: SDK-28852
Reviewer: Carol
Tests run:
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridItemRenderer.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridItemRenderer.as
@@ -69,11 +69,64 @@
  *
  *
Transitions in DataGrid item renderers aren't supported. The GridItemRenderer class
  *  has disabled its transitions property so setting it will have no effect.

- *
+ *
+ *
Efficiency Considerations

+ *
+ *
DataGrid scrolling and startup performance are directly linked
+ *  to item renderer complexity and the number of item renderers that
+ *  are visible within the DataGrid's scroller.  Custom GridItemRenderer
+ *  instances are used and reused repeatedly so it's important to define
+ *  them as simply and efficiently as  possible.

+ *
+ *
If an item renderer's responsibility is limited to displaying
+ *  one or more lines of text, then developers should seriously
+ *  consider using the DefaultItemRenderer class which does so very
+ *  economically (an application that's only going to be deployed on
+ *  Windows one can gain some additional performance by using the
+ *  UITextFieldGridItemRenderer class instead).  The most efficient
+ *  way to use GridItemRenderer to display the GridColumn's dataField
+ *  as text is to identify the GridItemRenderer's text displaying
+ *  element with id="labelDisplay".  The labelDisplay
+ *  component must be a TextBase subclass like
+ *  Label or TextArea.  You might take this
+ *  approach, instead of just using DefaultGridItemRenderer, if your
+ *  item renderer included some additional elements that did not
+ *  depend on the item renderer's data, like borders or other graphic
+ *  elements.

+ *
+ *
An item renderer that contains more than one visual element
+ *  whose properties depend on the item renderer's data can use data
+ *  binding to define the values of those properties.  This approach
+ *  yields MXML code that's straightforward to read and maintain and
+ *  its performance may be adequate if the number of visible item
+ *  renderers is limited (see the DataGrid requestedRowCount
+ *  and requestedColumnCount properties).  The most efficient
+ *  way to configure this kind of item renderer is to override its
+ *  prepare() method and do the work there.  The
+ *  renderer's prepare() method is called each time the
+ *  renderer is redisplayed and so it's important that it's coded
+ *  efficiently.  If your item renderer is stateful, for example if it
+ *  caches internal values, you can clear its state in its
+ *  discard() method.  The discard() method
+ *  is called each time the renderer is moved to the DataGrid's
+ *  internal free list, where it's available for reuse.

+ *
+ *
GridItemRenderers should be as simple as possible.  To gain the
+ *  best possible performance, minimize the number of components, and
+ *  the depth of the hierarchy.  If it's practical, use explicit
+ *  positions and sizes rather than constraints to define the layout.
+ *  DataGrid's with variableRowHeight="false" (the
+ *  default) tend to perform better, likewise for
+ *  showDataTips="false" (also the default).

+ *
+ *
Examples of the various GridItemRenderer configurations described
+ *  here are available in the examples section.

+ *
  *  @see spark.components.DataGrid
  *  @see spark.components.Grid
  *  @see spark.components.gridClasses.GridColumn
  *  @see spark.components.gridClasses.GridColumn#itemRenderer
+ *  @see spark.skins.spark.DefaultGridItemRenderer
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/spark/src/spark/events/DisplayLayerObjectExistenceEvent.as
+++ frameworks/projects/spark/src/spark/events/DisplayLayerObjectExistenceEvent.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.
 //
 ////////////////////////////////////////////////////////////////////////////////


rename method for sake of clarity

rename method for sake of clarity

--- src/org/mangui/osmf/plugins/loader/HLSLoaderBase.as
+++ src/org/mangui/osmf/plugins/loader/HLSLoaderBase.as
@@ -21,7 +21,7 @@
     import org.osmf.traits.LoadState;
     import org.osmf.traits.LoadTrait;
     import org.osmf.traits.LoaderBase;
-
+
     CONFIG::LOGGING {
     import org.mangui.hls.utils.Log;
     }
@@ -71,13 +71,13 @@
             updateLoadTrait(loadTrait, LoadState.LOADING);

             if (_hls != null) {
-                _hls.removeEventListener(HLSEvent.MANIFEST_LOADED, _manifestHandler);
+                _hls.removeEventListener(HLSEvent.MANIFEST_LOADED, _manifestLoadedHandler);
                 _hls.removeEventListener(HLSEvent.ERROR, _errorHandler);
                 _hls.dispose();
                 _hls = null;
             }
             _hls = new HLS();
-            _hls.addEventListener(HLSEvent.MANIFEST_LOADED, _manifestHandler);
+            _hls.addEventListener(HLSEvent.MANIFEST_LOADED, _manifestLoadedHandler);
             _hls.addEventListener(HLSEvent.ERROR, _errorHandler);
             /* load playlist */
             _hls.load(URLResource(loadTrait.resource).url);
@@ -88,7 +88,7 @@
         }

         /** Update video A/R on manifest load. **/
-        private function _manifestHandler(event : HLSEvent) : void {
+        private function _manifestLoadedHandler(event : HLSEvent) : void {
             var resource : MediaResourceBase = URLResource(_loadTrait.resource);

             // retrieve stream type


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

--- frameworks/projects/framework/src/mx/core/BitmapAsset.as
+++ frameworks/projects/framework/src/mx/core/BitmapAsset.as
@@ -84,6 +84,11 @@
  *
  *

  *  <mx:Image id="logo" source="{logoClass}"/>

+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class BitmapAsset extends FlexBitmap
                          implements IFlexAsset, IFlexDisplayObject
@@ -105,6 +110,11 @@
      *  to the nearest pixel.
      *
      *  @param smoothing Whether or not the bitmap is smoothed when scaled.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function BitmapAsset(bitmapData:BitmapData = null,
                                 pixelSnapping:String = "auto",
@@ -125,6 +135,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get measuredHeight():Number
     {
@@ -140,6 +155,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get measuredWidth():Number
     {
@@ -157,6 +177,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function move(x:Number, y:Number):void
     {
@@ -166,6 +191,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function setActualSize(newWidth:Number, newHeight:Number):void
     {


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

--- frameworks/projects/framework/src/mx/effects/Dissolve.as
+++ frameworks/projects/framework/src/mx/effects/Dissolve.as
@@ -69,6 +69,11 @@
  *  @see mx.effects.TweenEffect
  *
  *  @includeExample examples/DissolveEffectExample.mxml
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class Dissolve extends TweenEffect
 {
@@ -95,6 +100,11 @@
 	 *  Constructor.
 	 *
 	 *  @param target The Object to animate with this effect.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function Dissolve(target:Object = null)
 	{
@@ -124,6 +134,11 @@
 	 *  value is the current value of the target's alpha property.
 	 *  If the effect causes the target component to appear, the default
 	 *  value is 0.0.

+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var alphaFrom:Number;

@@ -141,6 +156,11 @@
 	 *  value is 0.0.
 	 *  If the effect causes the target component to appear, the default
 	 *  value is the current value of the target's alpha property.

+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var alphaTo:Number;

@@ -157,6 +177,11 @@
 	 *  The default value is the color specified by the target component's
 	 *  backgroundColor style property, or 0xFFFFFF, if
 	 *  backgroundColor is not set.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var color:uint = StyleManager.NOT_A_COLOR;

@@ -171,6 +196,11 @@
 	 *  when the effect finishes. If false, it is removed.
 	 *
 	 *  @default true
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	mx_internal var persistAfterEnd:Boolean = false;

@@ -186,6 +216,11 @@
 	 *  but not their chrome.
 	 *
 	 *  @default null
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var targetArea:RoundedRectangle;


Transferred from the Adobe Open Source Subversion Repository

Revision: 11634
Author:   egeorgie@adobe.com
Date:     2009-11-11T00:31:35.793963Z

Log Message:
-----------
Small bug fix for constrained elements computation when rotated at multiple of 45 degrees.

We should allow for rounding error when comparing with zero in our internal constraints computations.

QE notes: None
Doc notes: None
Bugs: None
Reviewer: Deepa
Tests run: checkintests, mustella (gumbo/layout/layoutUIC)
Is noteworthy for integration: Yes, test case came from Mark and he's been working on post-transform resizing.

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/MatrixUtil.as

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

--- frameworks/projects/framework/src/mx/utils/MatrixUtil.as
+++ frameworks/projects/framework/src/mx/utils/MatrixUtil.as
@@ -917,7 +917,7 @@
     /**
      *  Finds a solution (x,y) for the equation abs(a*x + c*y) = w such that
      *  abs(b*x +d*y) is minimized.
-     *  If there is infinate number of solutions, x and y are picked to be
+     *  If there is infinite number of solutions, x and y are picked to be
      *  as close as possible.
      *
      *  Doesn't handle cases where a or c are zero.
@@ -980,9 +980,9 @@
             // "make x and y as close as possible": y = w / ( a + c );
             // "minimize abs(bx + dy)": y = b * w / det
             // "preserve aspect ratio": y = w / ( a * preferredX / preferredY + c );
-            if (det == 0)
+            if (Math.abs(det) < 1.0e-9)
             {
-                // There is infinate number of solutions, lets pick x == y
+                // There is infinite number of solutions, lets pick x == y
                 y = w / ( a + c );
             }
             else
@@ -1034,9 +1034,9 @@
             // "make x and y as close as possible": y = -w / ( a + c );
             // "minimize abs(bx + dy)": y = -b * w / det
             // "preserve aspect ratio": y = w / ( a * preferredX / preferredY + c );
-            if (det == 0)
+            if (Math.abs(det) < 1.0e-9)
             {
-                // There is infinate number of solutions, lets pick x == y
+                // There is infinite number of solutions, lets pick x == y
                 y = -w / ( a + c );
             }
             else
@@ -1065,7 +1065,7 @@
      *  x and y are restricted by minX, maxX and
      *  minY, maxY.
      *
-     *  When there is infinate number of solutions, the function will
+     *  When there is infinite number of solutions, the function will
      *  calculate x and y to be as close as possible.
      *
      *  The functon assumes minX >= 0 and minY >= 0
@@ -1164,7 +1164,7 @@

         // Calculate the determinant of the system
         const det:Number = a * d1 - b * c1;
-        if (det == 0)
+        if (Math.abs(det) < 1.0e-9)
         {
             // No solution in these cases since the matrix
             // collapses all points into a line.


Transferred from the Adobe Open Source Subversion Repository

Revision: 3516
Author:   jimurphy@adobe.com
Date:     2008-10-08T00:32:26.683603Z

Log Message:
-----------
various fixes caused during the rename:
-gumbo manifest,fixed typo
-halo-manifest.xml, fixed flex 4 graphics section with updated mx.graphics package names
-mxml-2009-manifest.xml, fixed FxVGroup to be VGroup
-removed flex directory
-fixed bad rename of AnimationEvent and updated with FlexEvent

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextInput.as</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/flex</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxTextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxFadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/halo-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/gumbo-manifest.xml</path>

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

--- frameworks/projects/spark/src/spark/components/Button.as
+++ frameworks/projects/spark/src/spark/components/Button.as
@@ -32,9 +32,9 @@
  *  If the autoRepeat property is true,
  *  this event is dispatched repeatedly as long as the button stays down.
  *
- *  @eventType mx.events.AnimationEvent.BUTTON_DOWN
+ *  @eventType mx.events.FlexEvent.BUTTON_DOWN
  */
-[Event(name="buttonDown", type="mx.events.AnimationEvent")]
+[Event(name="buttonDown", type="mx.events.FlexEvent")]

 /**
  *  Number of milliseconds to wait after the first buttonDown


Transferred from the Adobe Open Source Subversion Repository

Revision: 17882
Author:   egeorgie@adobe.com
Date:     2010-09-27T18:53:27.336327Z

Log Message:
-----------
Add requestedMaxRowCount, requresteMaxColumnCount properties to HGroup/HorizontalLayout, VGroup/VerticalLayout

QE notes: Ready for testing
Doc notes: None.
Bugs: SDK-25364, SDK-20588
Reviewer: None.
Tests run: mustella cyclone
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/ComboBoxSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DropDownListSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/wireframe/src/spark/skins/wireframe/ComboBoxSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/wireframe/src/spark/skins/wireframe/DropDownListSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>

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

--- frameworks/projects/spark/src/spark/components/HGroup.as
+++ frameworks/projects/spark/src/spark/components/HGroup.as
@@ -334,8 +334,67 @@
     public function set paddingBottom(value:Number):void
     {
         horizontalLayout.paddingBottom = value;
+    }
+
+
+    //----------------------------------
+    //  requestedMaxColumnCount
+    //----------------------------------
+
+    [Inspectable(category="General")]
+
+    /**
+     *  @copy spark.layouts.HorizontalLayout#requestedMaxColumnCount
+     *
+     *  @default -1
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function get requestedMaxColumnCount():int
+    {
+        return horizontalLayout.requestedMaxColumnCount;
+    }
+
+    /**
+     *  @private
+     */
+    public function set requestedMaxColumnCount(value:int):void
+    {
+        horizontalLayout.requestedMaxColumnCount = value;
     }

+    //----------------------------------
+    //  requestedMinColumnCount
+    //----------------------------------
+
+    [Inspectable(category="General")]
+
+    /**
+     *  @copy spark.layouts.HorizontalLayout#requestedMinColumnCount
+     *
+     *  @default -1
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function get requestedMinColumnCount():int
+    {
+        return horizontalLayout.requestedMinColumnCount;
+    }
+
+    /**
+     *  @private
+     */
+    public function set requestedMinColumnCount(value:int):void
+    {
+        horizontalLayout.requestedMinColumnCount = value;
+    }
+
     //----------------------------------
     //  requestedColumnCount
     //----------------------------------


no longer caching filter results of nodes for which we don't detect
changes.

Change-Id: I93b7c6fa383eb3ec54ffbe726eb2399bb9eb9c8a

--- WeaveData/src/weave/data/hierarchy/EntityNodeSearch.as
+++ WeaveData/src/weave/data/hierarchy/EntityNodeSearch.as
@@ -39,7 +39,7 @@
 		private var _searchRegExp:RegExp = null; // used for local comparisons

 		private var _entityCacheSearchResults:Dictionary = new Dictionary(true); // EntityCache -> SearchResults
-		private var _cachedLookup:Dictionary = new Dictionary(true); // node -> true
+		private var _xmlNodeLookup:Dictionary = new Dictionary(true); // XMLEntityNode -> true

 		/**
 		 * Set this to true to include all descendants of matching nodes
@@ -72,7 +72,7 @@
 			if (_searchField != value)
 			{
 				_searchField = value;
-				_cachedLookup = new Dictionary(true);
+				_xmlNodeLookup = new Dictionary(true);
 				getCallbackCollection(this).triggerCallbacks();
 			}
 		}
@@ -92,7 +92,7 @@
 			{
 				_searchString = value;
 				_searchRegExp = strToRegExp(value);
-				_cachedLookup = new Dictionary(true);
+				_xmlNodeLookup = new Dictionary(true);
 				getCallbackCollection(this).triggerCallbacks();
 			}
 		}
@@ -124,7 +124,7 @@
 				// if cache updated, rebuild idLookup
 				if (detectLinkableObjectChange(results, cache))
 				{
-					_cachedLookup = new Dictionary(true);
+					_xmlNodeLookup = new Dictionary(true);
 					results.rebuildLookup(cache);
 				}

@@ -135,40 +135,46 @@
 			}

 			var xen:XMLEntityNode = node as XMLEntityNode;
-			if (xen && detectLinkableObjectChange(this, xen.getDataSource()))
-				_cachedLookup = new Dictionary(true);
+			if (xen)
+			{
+				if (detectLinkableObjectChange(this, xen.getDataSource()))
+					_xmlNodeLookup = new Dictionary(true);
+
+				lookup = _xmlNodeLookup[xen];
+				if (lookup)
+					return !!(lookup & SearchResults.LOOKUP_MATCH_OR_ANCESTOR)
+						|| (_includeAllDescendants && (lookup & SearchResults.LOOKUP_DESCENDANT));

-			lookup = _cachedLookup[node];
-			if (lookup)
-				return !!(lookup & SearchResults.LOOKUP_MATCH_OR_ANCESTOR)
-					|| (_includeAllDescendants && (lookup & SearchResults.LOOKUP_DESCENDANT));
-
-			if (xen && _searchRegExp.test(xen.xml.attribute(_searchField)))
-			{
-				_cachedLookup[node] |= SearchResults.LOOKUP_MATCH_OR_ANCESTOR;
-				_cacheXMLDescendants(xen);
-				return true;
-			}
-
-			// if not an EntityNode or XMLEntityNode, we still want to include the node if there are any matching descendants
+				if (_searchRegExp.test(xen.xml.attribute(_searchField)))
+				{
+					_xmlNodeLookup[xen] |= SearchResults.LOOKUP_MATCH_OR_ANCESTOR;
+					_cacheXMLDescendants(xen);
+					return true;
+				}
+			}
+
+			// see if there are any matching descendants
 			if (!node.isBranch())
 			{
-				_cachedLookup[node] |= SearchResults.LOOKUP_VISITED;
+				if (xen)
+					_xmlNodeLookup[xen] |= SearchResults.LOOKUP_VISITED;
 				return false;
 			}
 			var children:Array = xen ? xen.getChildrenExt() : node.getChildren();
 			if (children && children.filter(arrayFilter).length)
 			{
-				_cachedLookup[node] |= SearchResults.LOOKUP_MATCH_OR_ANCESTOR;
+				if (xen)
+					_xmlNodeLookup[xen] |= SearchResults.LOOKUP_MATCH_OR_ANCESTOR;
 				return true;
 			}
-			_cachedLookup[node] |= SearchResults.LOOKUP_VISITED;
+			if (xen)
+				_xmlNodeLookup[xen] |= SearchResults.LOOKUP_VISITED;
 			return false;
 		}

 		private function _cacheXMLDescendants(xen:XMLEntityNode):void
 		{
-			_cachedLookup[xen] |= SearchResults.LOOKUP_DESCENDANT;
+			_xmlNodeLookup[xen] |= SearchResults.LOOKUP_DESCENDANT;
 			for each (var child:IWeaveTreeNode in xen.getChildrenExt())
 			{
 				var xc:XMLEntityNode = child as XMLEntityNode;


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

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

 package mx.collections
 {


Transferred from the Adobe Open Source Subversion Repository

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

--- frameworks/projects/mx/src/mx/effects/effectClasses/RemoveChildActionInstance.as
+++ frameworks/projects/mx/src/mx/effects/effectClasses/RemoveChildActionInstance.as
@@ -24,6 +24,11 @@
  *  effect; you do not create one yourself.
  *
  *  @see mx.effects.RemoveChildAction
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class RemoveChildActionInstance extends ActionEffectInstance
 {
@@ -39,6 +44,11 @@
 	 *  Constructor.
 	 *
 	 *  @param target The Object to animate with this effect.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function RemoveChildActionInstance(target:Object)
 	{


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

--- frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.as
+++ frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.as
@@ -1,4 +1,29 @@
-
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2008 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+/**
+ *  Specifies the baseline to which the dominant baseline aligns.
+ *
+ *
For the Spark theme, see
+ *  flashx.textLayout.formats.ITextLayoutFormat.alignmentBaseline

+ *
+ *
For the Mobile theme, this is not supported.

+ *
+ *  @see flashx.textLayout.formats.ITextLayoutFormat#alignmentBaseline
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
 [Style(name="alignmentBaseline", type="String", enumeration="useDominantBaseline,roman,ascent,descent,ideographicTop,ideographicCenter,ideographicBottom", inherit="yes")]

 /**


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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TabbedViewNavigatorTabBarTabSkinBase.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TabbedViewNavigatorTabBarTabSkinBase.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2010 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.
 //
 ////////////////////////////////////////////////////////////////////////////////


Continuing to develop LinkablePromise

Continuing to develop LinkablePromise

--- WeaveCore/src/weave/core/LinkablePromise.as
+++ WeaveCore/src/weave/core/LinkablePromise.as
@@ -27,6 +27,7 @@
 	import weave.api.core.ICallbackCollection;
 	import weave.api.core.IDisposableObject;
 	import weave.api.core.ILinkableObject;
+	import weave.api.getCallbackCollection;

 	/**
 	 * @author adufilie
@@ -35,74 +36,110 @@
 	{
 		public function LinkablePromise(invoke:Function, invokeParams:Array = null)
 		{
-			this.invoke = invoke;
-			this.invokeParams = invokeParams;
-			this.callbackCollection = WeaveAPI.SessionManager.getCallbackCollection(this);
-
-			callbackCollection.addGroupedCallback(null, groupedCallback);
+			_invoke = invoke;
+			_invokeParams = invokeParams;
+			_callbackCollection = WeaveAPI.SessionManager.getCallbackCollection(this);
+			_callbackCollection.addImmediateCallback(null, _immediateCallback);
+			_callbackCollection.addGroupedCallback(null, _groupedCallback);
+			_callbackCollection.triggerCallbacks();
 		}

-		private var callbackCollection:ICallbackCollection;
-		private var invoke:Function;
-		private var invokeParams:Array;
-		private var asyncToken:AsyncToken;
-		private var resultTriggerCount:int = 0;
+		private var _callbackCollection:ICallbackCollection;
+		private var _invoke:Function;
+		private var _invokeParams:Array;

-		public var result:Object;
-		public var error:Error;
+		private var _pendingInvoke:Boolean;
+		private var _asyncToken:AsyncToken;
+		private var _selfTriggeredCount:uint = 0;
+		private var _result:Object;
+		private var _error:Object;

-		private function groupedCallback():void
+		public function get result():Object { return _result; }
+		public function get error():Object { return _error; }
+
+		private function _immediateCallback():void
 		{
-			if (callbackCollection.triggerCounter == resultTriggerCount)
+			// stop if self-triggered
+			if (_callbackCollection.triggerCounter == _selfTriggeredCount)
 				return;

-			this.result = null;
-			this.error = null;
+			// reset variables and mark as busy
+			_pendingInvoke = true;
+			_asyncToken = null;
+			_result = null;
+			_error = null;
+			WeaveAPI.ProgressIndicator.addTask(_groupedCallback, this);
+		}
+
+		private function _groupedCallback():void
+		{
+			if (!_pendingInvoke)
+				return;

-			WeaveAPI.ProgressIndicator.addTask(groupedCallback, this);
+			_pendingInvoke = false;

-			asyncToken = invoke.apply(null, invokeParams) as AsyncToken;
-			if (asyncToken)
+			try
 			{
-				asyncToken.addResponder(new AsyncResponder(handleResult, handleFault, asyncToken));
+				var invokeResult:Object = _invoke.apply(null, _invokeParams);
+				_asyncToken = invokeResult as AsyncToken;
+				if (_asyncToken)
+				{
+					_asyncToken.addResponder(new AsyncResponder(_handleResult, _handleFault, _asyncToken));
+				}
+				else
+				{
+					_result = invokeResult;
+					WeaveAPI.StageUtils.callLater(this, _handleResult);
+				}
 			}
-			else
+			catch (invokeError:Error)
 			{
-				asyncToken = null;
-				WeaveAPI.StageUtils.callLater(this, handleResult);
+				_asyncToken = null;
+				_error = invokeError;
+				WeaveAPI.StageUtils.callLater(this, _handleFault);
 			}
 		}

-		private function handleResult(event:ResultEvent = null, asyncToken:AsyncToken = null):void
+		private function _handleResult(event:ResultEvent = null, asyncToken:AsyncToken = null):void
 		{
-			if (this.asyncToken != asyncToken)
+			// stop if asyncToken is no longer relevant
+			if (_pendingInvoke || _asyncToken != asyncToken)
 				return;

-			WeaveAPI.ProgressIndicator.removeTask(groupedCallback);
+			// no longer busy
+			WeaveAPI.ProgressIndicator.removeTask(_groupedCallback);

-			this.result = event && event.result;
-			this.error = null;
+			// if there is an event, save the result
+			if (event)
+				_result = event.result;

-			resultTriggerCount = callbackCollection.triggerCounter + 1;
-			callbackCollection.triggerCallbacks();
+			_selfTriggeredCount = _callbackCollection.triggerCounter + 1;
+			_callbackCollection.triggerCallbacks();
 		}

-		private function handleFault(event:FaultEvent, asyncToken:AsyncToken):void
+		private function _handleFault(event:FaultEvent = null, asyncToken:AsyncToken = null):void
 		{
-			if (this.asyncToken != asyncToken)
+			// stop if asyncToken is no longer relevant
+			if (_pendingInvoke || _asyncToken != asyncToken)
 				return;

-			WeaveAPI.ProgressIndicator.removeTask(groupedCallback);
+			// no longer busy
+			WeaveAPI.ProgressIndicator.removeTask(_groupedCallback);

-			this.result = null;
-			this.error = event.fault;
+			// if there is an event, save the error
+			if (event)
+				_error = event.fault;

-			resultTriggerCount = callbackCollection.triggerCounter + 1;
-			callbackCollection.triggerCallbacks();
+			_selfTriggeredCount = _callbackCollection.triggerCounter + 1;
+			_callbackCollection.triggerCallbacks();
 		}

 		public function dispose():void
 		{
+			_pendingInvoke = false;
+			_asyncToken = null;
+			_result = null;
+			_error = null;
 		}
 	}
 }


Fix behavior of SoundSource debug icons in editor. Closes #1620.

--- bin/Data/Scripts/Editor/EditorViewDebugIcons.as
+++ bin/Data/Scripts/Editor/EditorViewDebugIcons.as
@@ -27,7 +27,7 @@

 Array<Color> debugIconsColors = { Color(1,1,1) , Color(1,1,0), Color(0,1,0) };

-Array<String> IconsTypesMaterials = {"DebugIconPointLight.xml",
+Array<String> iconsTypesMaterials = {"DebugIconPointLight.xml",
                                      "DebugIconSpotLight.xml",
                                      "DebugIconLight.xml",
                                      "DebugIconCamera.xml",
@@ -40,7 +40,7 @@
                                      "DebugIconCustomGeometry.xml",
                                      "DebugIconParticleEmitter.xml"};

-Array<String> ComponentTypes = {"Light",
+Array<String> componentTypes = {"Light",
                                 "Light",
                                 "Light",
                                 "Camera",
@@ -77,7 +77,7 @@
     for (int i = 0; i < ICON_COUNT; ++i)
     {
         debugIconsSet[i] = tempNode.CreateComponent("BillboardSet");
-        debugIconsSet[i].material = cache.GetResource("Material", "Materials/Editor/" + IconsTypesMaterials[i]);
+        debugIconsSet[i].material = cache.GetResource("Material", "Materials/Editor/" + iconsTypesMaterials[i]);
         debugIconsSet[i].sorted = true;
         debugIconsSet[i].temporary = true;
         debugIconsSet[i].fixedScreenSize = true;
@@ -121,15 +121,13 @@
             if (iconType == ICON_SPLINE_PATH && timeToNextDebugIconsUpdateSplinePath > time.systemTime)
                 continue;

-            Array<Node@> nodes = editorScene.GetChildrenWithComponent(ComponentTypes[iconType], true);
+            Array<Node@> nodes = editorScene.GetChildrenWithComponent(componentTypes[iconType], true);

             // Clear old data
             if (iconType == ICON_SPLINE_PATH)
                 ClearCommit(ICON_SPLINE_PATH, ICON_SPLINE_PATH + 1, nodes.length * splinePathResolution);
             else if (iconType == ICON_POINT_LIGHT || iconType == ICON_SPOT_LIGHT || iconType == ICON_DIRECTIONAL_LIGHT)
                 ClearCommit(ICON_POINT_LIGHT, ICON_DIRECTIONAL_LIGHT + 1, nodes.length);
-            else if (iconType == ICON_SOUND_SOURCE || iconType == ICON_SOUND_SOURCE_3D)
-                ClearCommit(ICON_SOUND_SOURCE, ICON_SOUND_SOURCE_3D + 1, nodes.length);
             else
                 ClearCommit(iconType, iconType + 1, nodes.length);

@@ -138,7 +136,7 @@
                 // Fill with new data
                 for (uint i = 0; i < nodes.length; ++i)
                 {
-                    Component@ component = nodes[i].GetComponent(ComponentTypes[iconType]);
+                    Component@ component = nodes[i].GetComponent(componentTypes[iconType]);
                     if (component is null) continue;

                     Color finalIconColor = debugIconsColors[ICON_COLOR_DEFAULT];
@@ -194,7 +192,6 @@
                     else
                     {
                         Billboard@ bb = debugIconsSet[iconType].billboards[i];
-                        bb.size = debugIconsSize;

                         if (iconType == ICON_TRIGGER)
                         {
@@ -222,6 +219,8 @@
                         }

                         bb.position = nodes[i].worldPosition;
+                        bb.size = debugIconsSize;
+
                         // Blend Icon relatively by distance to it
                         bb.color = Color(finalIconColor.r, finalIconColor.g, finalIconColor.b, 1.2f - 1.0f / (maxDistance / distance));
                         bb.enabled = component.enabled;


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

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


try to figure out height if no text

try to figure out height if no text

--- frameworks/projects/HTML/as/src/org/apache/flex/html/beads/TextFieldViewBase.as
+++ frameworks/projects/HTML/as/src/org/apache/flex/html/beads/TextFieldViewBase.as
@@ -112,6 +112,17 @@
             {
                 heightChangeHandler(null);
             }
+
+            // textfield's collapse to height==4 if no text
+            if (autoHeight && _textModel.text === null)
+            {
+                var fontHeight:Number = ValuesManager.valuesImpl.getValue(_strand, "fontSize") + 4;
+                if (textField.height != fontHeight)
+                {
+                    textField.autoSize = "none";
+                    textField.height = fontHeight;
+                }
+            }
 		}

         /**
@@ -150,13 +161,27 @@
         {
             var host:UIBase = UIBase(_strand);
             if (autoHeight)
-            {
-                if (textField.height != textField.textHeight + 4)
-                {
-                    textField.height = textField.textHeight + 4;
-                    inHeightChange = true;
-                    host.dispatchEvent(new Event("heightChanged"));
-                    inHeightChange = false;
+            {
+                if (textField.text != "")
+                {
+                    if (textField.height != textField.textHeight + 4)
+                    {
+                        textField.height = textField.textHeight + 4;
+                        inHeightChange = true;
+                        host.dispatchEvent(new Event("heightChanged"));
+                        inHeightChange = false;
+                    }
+                }
+                else
+                {
+                    var fontHeight:Number = ValuesManager.valuesImpl.getValue(_strand, "fontSize") + 4;
+                    if (textField.height != fontHeight)
+                    {
+                        textField.height = fontHeight;
+                        inHeightChange = true;
+                        host.dispatchEvent(new Event("heightChanged"));
+                        inHeightChange = false;
+                    }
                 }
             }
             if (autoWidth)


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

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

 package mx.controls.videoClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 10131
Author:   chaase@adobe.com
Date:     2009-09-10T21:25:42.980194Z

Log Message:
-----------
Fixes to several effects bugs and one styles-related bug.

QE notes: Fixes to all filed auto-center feature bugs.
Doc notes: None
Bugs: sdk-22994, sdk-22992, sdk-22990, sdk-21850, sdk-22973
Reviewer: Jason (+Glenn for RadioButton/CheckBox changes, 21850)
Tests run: checkintests, Mustella (transform effects, Slider, DataGrid - all passed last week, prior to skin/test changes)
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SoundEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CheckBox.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
@@ -2121,8 +2121,17 @@
         // FIXME (egreenfi): optimize for simple translations
         allocateLayoutFeatures();
         var previous:Boolean = needsDisplayObject;
+        var prevX:Number = layoutFeatures.layoutX;
+        var prevY:Number = layoutFeatures.layoutY;
+        var prevZ:Number = layoutFeatures.layoutZ;
         layoutFeatures.transformAround(transformCenter,scale,rotation,translation,postLayoutScale,postLayoutRotation,postLayoutTranslation);
         invalidateTransform(previous != needsDisplayObject);
+        if (prevX != layoutFeatures.layoutX)
+            dispatchPropertyChangeEvent("x", prevX, layoutFeatures.layoutX);
+        if (prevY != layoutFeatures.layoutY)
+            dispatchPropertyChangeEvent("y", prevY, layoutFeatures.layoutY);
+        if (prevZ != layoutFeatures.layoutZ)
+            dispatchPropertyChangeEvent("z", prevZ, layoutFeatures.layoutZ);
     }

     /**
@@ -2483,11 +2492,13 @@
     {
         if (z == value)
             return;
+        var oldValue:Number = z;

         allocateLayoutFeatures();
         var previous:Boolean = needsDisplayObject;
         layoutFeatures.layoutZ = value;
         invalidateTransform(previous != needsDisplayObject);
+        dispatchPropertyChangeEvent("z", oldValue, value);
     }

     //----------------------------------
@@ -4067,6 +4078,11 @@
                 _x = newX;
                 _y = newY;
             }
+            if (newX != currentX)
+                dispatchPropertyChangeEvent("x", currentX, newX);
+            if (newY != currentY)
+                dispatchPropertyChangeEvent("y", currentY, newY);
+
             invalidateDisplayList();
         }
     }
@@ -4132,8 +4148,10 @@
             _width = width;
             _height = height;

-            dispatchPropertyChangeEvent("width", oldWidth, width);
-            dispatchPropertyChangeEvent("height", oldHeight, height);
+            if (width != oldWidth)
+                dispatchPropertyChangeEvent("width", oldWidth, width);
+            if (height != oldHeight)
+                dispatchPropertyChangeEvent("height", oldHeight, height);

             invalidateDisplayList();
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 7377
Author:   jimurphy@adobe.com
Date:     2009-05-28T18:43:12.971970Z

Log Message:
-----------
Merged beta1 revisions 7173,7179,7183,7214,7216,7219,7282 -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/flex-config.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/themes/Wooden/Wooden.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/themes/AeonGraphical/AeonGraphical.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/themes/Smoke/Smoke.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/DocumentBuilder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/themes/Ice/Ice.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/air-config.xml</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/framework/src/mx/controls/ComboBox.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TitleWindow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/themes/Institutional/Institutional.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
@@ -2657,8 +2657,11 @@
             }

             var topLevel:Sprite = Sprite(IUIComponent(parent).systemManager);
-            var rectBounds:Rectangle = displayObject.getBounds(useLocalSpace ? displayObject.parent : topLevel);
-            var bitmapData:BitmapData = new BitmapData(rectBounds.width, rectBounds.height, transparent, fillColor);
+            var rectBounds:Rectangle = useLocalSpace ?
+            			new Rectangle(getLayoutBoundsX(), getLayoutBoundsY(), getLayoutBoundsWidth(), getLayoutBoundsHeight()) :
+            			displayObject.getBounds(topLevel);
+            var bitmapData:BitmapData = new BitmapData(Math.ceil(rectBounds.width), Math.ceil(rectBounds.height), transparent, fillColor);
+

            	var m:Matrix = useLocalSpace ? displayObject.transform.matrix : displayObject.transform.concatenatedMatrix;


See previous commit. This fixes an error that was unknowingly pushed

--- Arguments/src/components/CategoryPanel.as
+++ Arguments/src/components/CategoryPanel.as
@@ -180,7 +180,7 @@

 		protected function onMapObjectClicked(event:MouseEvent):void{
-			FlexGlobals.topLevelApplication.rightSidePanel.mapOwner = ;
+			FlexGlobals.topLevelApplication.rightSidePanel.mapOwner.text = "Feature Coming soon";
 			FlexGlobals.topLevelApplication.rightSidePanel.invalidateDisplayList();
 			ArgumentController.getInstance().loadMap(event.target.name);
 		}


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

--- frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridRendererDescription.as
+++ frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridRendererDescription.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.controls.advancedDataGridClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 13502
Author:   jimurphy@adobe.com
Date:     2010-01-14T16:21:58.005354Z

Log Message:
-----------
Merged 3.x revs 13376,13384,13443 -> trunk
Blocked 3.x rev 13426

13443
* Fixed Ant compilation issue with RSL's.
SDK-24995

13384
asdoc for SOAPResult. no code changes.
LCDS-919

13376
Add missing ASDoc comments. No real code changes.
LCDS-920

Add new svn property to better track blocked revisions - svn:blockinfo. This will be updated by a script that I run to do merges (it can also be updated manually)

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

Modified Paths:
--------------
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/SOAPResult.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/SOAPEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/antTasks/src/flex/ant/types/URLElement.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/ISOAPEncoder.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/soap/SOAPEncoder.as
+++ frameworks/projects/rpc/src/mx/rpc/soap/SOAPEncoder.as
@@ -139,13 +139,7 @@
     //--------------------------------------------------------------------------

     /**
-     * Creates a SOAP encodes request to an operation from the given input
-     * parameters and headers.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+	 *  @inheritDoc
      */
     public function encodeRequest(args:* = null, headers:Array = null):XML
     {