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

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

 package mx.olap
 {


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

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

 package mx.managers
 {


Transferred from the Adobe Open Source Subversion Repository

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

--- frameworks/projects/mx/src/mx/accessibility/CheckBoxAccImpl.as
+++ frameworks/projects/mx/src/mx/accessibility/CheckBoxAccImpl.as
@@ -22,6 +22,11 @@
 /**
  *  CheckBoxAccImpl is a subclass of AccessibilityImplementation
  *  which implements accessibility for the CheckBox class.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class CheckBoxAccImpl extends ButtonAccImpl
 {
@@ -52,6 +57,11 @@
 	 *  Afterwards, when instances of CheckBox are initialized,
 	 *  their accessibilityImplementation property
 	 *  will be set to an instance of this class.

+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static function enableAccessibility():void
 	{
@@ -83,6 +93,11 @@
 	 *
 	 *  @param master The UIComponent instance that this AccImpl instance
 	 *  is making accessible.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function CheckBoxAccImpl(master:UIComponent)
 	{


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

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


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

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

 package mx.managers.systemClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 11319
Author:   aharui@adobe.com
Date:     2009-10-30T18:42:01.565515Z

Log Message:
-----------
Allow for resizing of sub-apps after they initialize

QE Notes: Two Mustella Tests need updating:
MP_Controls_Tests2:MP_ComboBox_closeOnMouseDown_untrusted
MP_Controls_Tests2:MP_ComboBox_closeOnMouseDownOutside_untrusted
The new sub-app resize closes the dropdown.  Probably have to wait a bit longer before opening the dropdown
Doc Notes: New API in ISystemManager
Bugs: SDK-23892
Reviewer: Darrell
API Change: yes
Is noteworthy for integration: No
tests: checkintests mustella/MarshallPlan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallingSupport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ISystemManager.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/airframework/src/mx/managers/WindowedSystemManager.as</path>

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

--- frameworks/projects/framework/src/mx/managers/systemClasses/MarshallingSupport.as
+++ frameworks/projects/framework/src/mx/managers/systemClasses/MarshallingSupport.as
@@ -132,7 +132,7 @@

 		this.systemManager = systemManager;

-		systemManager.addEventListener(FlexEvent.CREATION_COMPLETE, appCreationCompleteHandler);
+        systemManager.addEventListener("invalidateParentSizeAndDisplayList", invalidateParentSizeAndDisplayListHandler);

 		systemManager.addEventListener("addEventListener", addEventListenerHandler);
 		systemManager.addEventListener("removeEventListener", removeEventListenerHandler);
@@ -2806,7 +2806,7 @@
 	 *  Override this function if you want to perform any logic
 	 *  when the application has finished initializing itself.
 	 */
-	private function appCreationCompleteHandler(event:FlexEvent):void
+	private function invalidateParentSizeAndDisplayListHandler(event:Event):void
 	{
 		if (systemManager.isTopLevel() && useSWFBridge())
 		   dispatchInvalidateRequest();


Updated XMPPBOSHConnection to use XMPPConnection's handleNodeType method to avoid code duplication.

git-svn-id: c197267f952b24206666de142881703007ca05d5@11709 b35dd754-fafc-0310-a699-88a17e54d16e

--- src/org/igniterealtime/xiff/core/XMPPBOSHConnection.as
+++ src/org/igniterealtime/xiff/core/XMPPBOSHConnection.as
@@ -7,6 +7,7 @@
  *     Nick Velloff <nick.velloff@gmail.com>
  *     Sean Treadway <seant@oncotype.dk>
  *     Sean Voisen <sean@voisen.org>
+ *     Mark Walters <mark@yourpalmark.com>
  *
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -294,6 +295,18 @@
 			sendQueuedRequests( thisData );
 		}

+		override protected function handleNodeType( node:XMLNode ):void
+		{
+			super.handleNodeType( node );
+
+			var nodeName:String = node.nodeName.toLowerCase();
+
+			if( nodeName == "stream:features" )
+			{
+				streamRestarted = false; //avoid triggering the old server workaround
+			}
+		}
+
 		/**
 		 *
 		 * @param	bodyContent
@@ -433,46 +446,11 @@
 		{
 			// Read the data and send it to the appropriate parser
 			var currentNode:XMLNode = responseQueue.shift();
-			var nodeName:String = currentNode.nodeName.toLowerCase();
-
-			switch ( nodeName )
-			{
-				case "stream:features":
-					handleStreamFeatures( currentNode );
-					streamRestarted = false; //avoid triggering the old server workaround
-					break;
-
-				case "stream:error":
-					handleStreamError( currentNode );
-					break;
-
-				case "iq":
-					handleIQ( currentNode );
-					break;
-
-				case "message":
-					handleMessage( currentNode );
-					break;
-
-				case "presence":
-					handlePresence( currentNode );
-					break;
-
-				case "success":
-					handleAuthentication( currentNode );
-					break;
-
-				case "failure":
-					handleAuthentication( currentNode );
-					break;
-				default:
-					dispatchError( "undefined-condition", "Unknown Error", "modify",
-								   500 );
-					break;
-			}
+
+			handleNodeType( currentNode );

 			resetResponseProcessor();
-
+
 			//if we have no outstanding requests, then we're free to send a poll at the next opportunity
 			if ( requestCount == 0 && !sendQueuedRequests())
 			{


Transferred from the Adobe Open Source Subversion Repository

Revision: 22561
Author:   smgilson@adobe.com
Date:     2011-09-14T19:12:37.612519Z

Log Message:
-----------
Minor 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/4.y/frameworks/projects/framework/src/mx/events/RSLEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mx/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/events/ModuleEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/advancedgrids/src/mx/events/AdvancedDataGridEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/CalloutButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/events/EventListenerRequest.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/Callout.as</path>

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

--- frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as
+++ frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as
@@ -3444,10 +3444,22 @@
      *  This function will assign the rotation, scale, and translation values
      *  provided, then update the x/y/z properties as necessary to keep
      *  the transform center fixed.
-     *  @param scale the new values for the scale of the transform
-     *  @param rotation the new values for the rotation of the transform
-     *  @param translation the new values for the translation of the transform
-     *  @param transformCenter the point, in the component's own coordinates, to keep fixed relative to its parent.
+     *
+     *  @param transformCenter The point, in the component's own coordinates, to keep fixed relative to its parent.
+     *
+     *  @param scale The new values for the scale of the transform
+     *
+     *  @param rotation The new values for the rotation of the transform
+     *
+     *  @param translation The new values for the translation of the transform
+     *
+     *  @param postLayoutScale
+     *
+     *  @param postLayoutRotation
+     *
+     *  @param postLayoutTranslation
+     *
+     *  @param invalidateLayout
      *
      *  @langversion 3.0
      *  @playerversion Flash 10


Tiny change to AsyncListView.as to avoid a Falcon compiler warning. This makes Falcon's frameworkSWC() test pass.

--- frameworks/projects/framework/src/mx/collections/AsyncListView.as
+++ frameworks/projects/framework/src/mx/collections/AsyncListView.as
@@ -834,10 +834,10 @@
 	 *  @playerversion AIR 1.1
 	 *  @productversion Apache Flex 4.10
 	 */
-	public function removeItem( item:Object ):Boolean
+	public function removeItem(item:Object):Boolean
 	{
-		var item:Object = removeItemAt(getItemIndex(item));
-		return item != null;
+		var _item:Object = removeItemAt(getItemIndex(item));
+		return _item != null;
 	}

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 9880
Author:   hmuller@adobe.com
Date:     2009-09-01T18:09:56.595581Z

Log Message:
-----------
Renamed RemoteListView => AsyncListView per PARB review.

QE Notes: The spec is signed off, test dev can officially begin.
Doc Notes:
Bugs:
Reviewer: Evtim

Modified Paths:
--------------
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/RemoteListView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/RemoteListView.as" copyfrom-rev="9877" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/AsyncListView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/halo-manifest.xml</path>

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

--- frameworks/projects/framework/src/mx/collections/AsyncListView.as
+++ frameworks/projects/framework/src/mx/collections/AsyncListView.as
@@ -61,10 +61,10 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-public class RemoteListView extends OnDemandEventDispatcher implements IList
+public class AsyncListView extends OnDemandEventDispatcher implements IList
 {
     /**
-     *  RemoteListView constructor.
+     *  AsyncListView constructor.
      *
      *  @param list Initial value of the list property, the IList we're delegating to.
      *
@@ -73,7 +73,7 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public function RemoteListView(list:IList = null)
+    public function AsyncListView(list:IList = null)
     {
         super();
         this.list = list;
@@ -147,7 +147,7 @@
      *  Fixup the pendingResponders array after a change to the list.  Generally speaking,
      *  if a list[index] item changes, the pending responder for that index is no longer needed.
      *
-     *  All "collectionChange" events are redispatched to the RemoteListView listeners.
+     *  All "collectionChange" events are redispatched to the AsyncListView listeners.
      */
     private function handleCollectionChangeEvent(e:Event):void
     {
@@ -186,7 +186,7 @@
      *  Delete the ListItemResponder at the specified index, if any.
      *  This method assumes that the responder hasn't run yet, it sets
      *  the ListItemResponder index to -1 to prevent it from updating
-     *  this RemoteListView later.
+     *  this AsyncListView later.
      */
     private function deletePendingResponder(index:int):void
     {
@@ -663,21 +663,21 @@
 }

 import mx.rpc.IResponder;
-import mx.collections.RemoteListView;
+import mx.collections.AsyncListView;
 import mx.core.mx_internal;

 use namespace mx_internal;  // for mx_internal functions pendingItemSucceeded,Failed()

 class ListItemResponder implements IResponder
 {
-    private var remoteListView:RemoteListView;
+    private var asyncListView:AsyncListView;
     public var index:int = -1;
     public var item:Object = null;

-    public function ListItemResponder(remoteListView:RemoteListView, index:int, item:Object)
+    public function ListItemResponder(asyncListView:AsyncListView, index:int, item:Object)
     {
         super();
-        this.remoteListView = remoteListView;
+        this.asyncListView = asyncListView;
         this.index = index;
         this.item = item;
     }
@@ -685,12 +685,12 @@
     public function result(info:Object):void
     {
         if (index != -1)
-            remoteListView.pendingRequestSucceeded(index, info);
+            asyncListView.pendingRequestSucceeded(index, info);
     }

     public function fault(info:Object):void
     {
         if (index != -1)
-            remoteListView.pendingRequestFailed(index, info);
-    }
-}
+            asyncListView.pendingRequestFailed(index, info);
+    }
+}


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

--- frameworks/projects/mx/src/mx/controls/listClasses/ListRowInfo.as
+++ frameworks/projects/mx/src/mx/controls/listClasses/ListRowInfo.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.listClasses
 {


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

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

 package mx.messaging.errors
 {


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

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

 package mx.events
 {


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

--- frameworks/projects/spark/src/spark/components/RichEditableText.as
+++ frameworks/projects/spark/src/spark/components/RichEditableText.as
@@ -190,8 +190,8 @@
 //--------------------------------------

 [DefaultProperty("content")]
-
 [IconFile("RichEditableText.png")]
+[DefaultTriggerEvent("change")]

 /**
  *  Displays text.


Transferred from the Adobe Open Source Subversion Repository

Revision: 12850
Author:   jimurphy@adobe.com
Date:     2009-12-11T14:57:14.623098Z

Log Message:
-----------
add 6 new DMV projects to the SDK:
automation
automation_air
automation_dmv
automation_flashflexkit
automation_spark
datavisualization

These projects are setup to build in an ant main call.  There are currently several warnings in the datavisualization project that will be cleaned up.  No checkintests exist for these projects as of yet.

I also modified the exisitng projects build files for easier management of the localization targets, bundle and fat-swc. If the projects that I updated:airframework,airspark,framework,playerglobal,rpc,and spark.  All the new projects have been implemented this same way.

QE notes: DMV folks should run through their tests
Doc notes: probably
Bugs: nope
Reviewer:
Tests run: ran the following targets: compile,checkintests,other.locales and doc
Is noteworthy for integration: no

Modified Paths:
--------------
1404 paths were modified

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

--- frameworks/projects/advancedgrids/src/mx/events/CubeEvent.as
+++ frameworks/projects/advancedgrids/src/mx/events/CubeEvent.as
@@ -0,0 +1,211 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.events
+{
+import flash.events.Event;
+
+/**
+ *  Event class used by OLAPCube to indicate its status.
+ *  The CubeEvent class represents event objects that are specific to
+ *  the OLAPCube class, such as the event that is dispatched when an
+ *  cube is ready to be queried.
+ *
+ *  @see mx.olap.OLAPCube
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class CubeEvent extends Event
+{
+	//--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  The CubeEvent.QUERY_PROGRESS constant defines the value of the
+     *  type property of the event object for a
+     *  queryProgress event.
+     *
+     *
The properties of the event object have the following values:

+     *

+     *
Property	Value

+     *
bubbles	false

+     *
cancelable	true

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

+     *
description	Description of what is being processed.

+     *
progress	The number of elements in the cube
+     *       that have been updated.

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

+     *
total	The total number of elements in the cube
+     *       that need to be udpated.

+     *
type	CubeEvent.QUERY_PROGRESS

+     *

+     *
+     *  @eventType queryProgress
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static const QUERY_PROGRESS:String = "queryProgress";
+
+    /**
+     *  The CubeEvent.CUBE_PROGRESS constant defines the value of the
+     *  type property of the event object for a
+     *  progress event.
+     *
+     *
The properties of the event object have the following values:

+     *

+     *
Property	Value

+     *
bubbles	false

+     *
cancelable	true

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

+     *
description	Description of what is being processed.

+     *
progress	The number of elements in the cube
+     *       that have been updated.

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

+     *
total	The total number of elements in the cube
+     *       that need to be udpated.

+     *
type	CubeEvent.CUBE_PROGRESS

+     *

+     *
+     *  @eventType progress
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static const CUBE_PROGRESS:String = "progress";
+
+    /**
+     *  The CubeEvent.CUBE_COMPLETE constant defines the value of the
+     *  type property of the event object for a
+     *  complete event.
+     *
+     *
The properties of the event object have the following values:

+     *

+     *
Property	Value

+     *
bubbles	false

+     *
cancelable	true

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

+     *
description	Description of what is being processed.

+     *
progress	The number of elements in the cube
+     *       that have been updated.

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

+     *
total	The total number of elements in the cube
+     *       that need to be udpated.

+     *
type	CubeEvent.CUBE_COMPLETE

+     *

+     *
+     *  @eventType queryProgress
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static const CUBE_COMPLETE:String = "complete";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  @param type The event type; indicates the action that caused the event.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function CubeEvent(type:String)
+    {
+        super(type);
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  progress
+    //----------------------------------
+
+    /**
+     *  The number of elements in the cube that have been updated.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public var progress:int;
+
+    //----------------------------------
+    //  total
+    //----------------------------------
+
+    /**
+     *  The total number of elements in the cube that need to be udpated.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public var total:int;
+
+    //----------------------------------
+    //  message
+    //----------------------------------
+
+    /**
+     *  A description of what is being processed.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public var message:String;
+}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 8627
Author:   jszeto@adobe.com
Date:     2009-07-16T18:40:07.408921Z

Log Message:
-----------
Adding copyright headers to filter classes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ConvolutionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/BlurFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/DisplacementMapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientGlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ShaderFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/DropShadowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientBevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/BevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientFilter.as</path>

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

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


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 5797
Author:   jimurphy@adobe.com
Date:     2009-03-31T15:35:34.544076Z

Log Message:
-----------
Merged revisions 3.x 5505,5526-5527,5535,5540,5542,5572,5616-5617,5656-5657,5671,5674,5683,5687-5688,5690,5698,5708-5709,5713-5716,5719-5723,5726,5728-5729,5736,5752,5754,5761,5774,5780,5784 -> trunk

most of these are user submitted patches! very cool.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/IResourceManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToggleButtonBar.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/core/Container.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/skins/halo/ProgressIndeterminateSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NavBar.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="D">/flex/sdk/trunk/modules/compiler/FlexCompilerShell-license.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/DividedBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/formatters/DateFormatter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/PhoneNumberValidator.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/validators/NumberValidatorDomainType.as" copyfrom-rev="5784" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/NumberValidatorDomainType.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/NumberValidator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/CurrencyValidator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Form.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/CalendarLayoutChangeEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/DataGridEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpMenuButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as</path>

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

--- frameworks/projects/mx/src/mx/skins/halo/ProgressIndeterminateSkin.as
+++ frameworks/projects/mx/src/mx/skins/halo/ProgressIndeterminateSkin.as
@@ -100,7 +100,10 @@
 		var barColor0:Number = ColorUtil.adjustBrightness2(barColor, 60);
 		var hatchInterval:Number = getStyle("indeterminateMoveInterval");

-		if (isNaN(hatchInterval))
+		// Prevents a crash when hatchInterval == 0. Really the indeterminateMoveInterval style should
+		// not be hijacked to control the width of the segments on the bar but I'm not sure this is
+		// unavoidable while retaining backwards compatibility (see Bug 12942)
+		if (isNaN(hatchInterval) || hatchInterval == 0)
 			hatchInterval = 28;

 		var g:Graphics = graphics;


FLEX-34440
CAUSE:
When HierarchicalCollectionView converts a CollectionEventKind.REPLACE CollectionEvent into a CollectionEventKind.REMOVE one, it also deletes the parent(s) of the replaced node root(s). However, if the HierarchicalCollectionViewCursor which then immediately responds to this converted event (in collectionChangeHandler()) happens to have its 'current' node inside the replaced branch, it will fail to retrieve all the parents of the current node, because the parent of the root of the branch has been deleted. This is problematic, because HierarchicalCollectionViewCursor.collectionChangeHandler assumes that parentStack and parentBookmarkStack have the same number of items, and that any item in the latter array represents the position (CursorBookmark) of an item in the former array in its siblings collection. So it will try to use a parentBookmarkStack item on a different collection to which it was created on, thus throwing a 'Bookmark no longer valid' CollectionViewError.

SOLUTION:
HierarchicalCollectionView.nestedCollectionChangeHandler now deletes the parent(s) of the replaced node root(s) *after* dispatching the converted CollectionEvent, as opposed to *before*.

NOTES:
-This now makes HierarchicalCollectionViewCursor_FLEX_34440_Test pass.
-Also removed three unused local variables from HierarchicalCollectionView.nestedCollectionChangeHandler.

--- frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionView.as
+++ frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionView.as
@@ -1540,11 +1540,8 @@
     {
         var i:int;
         var n:int;
-        var location:int;
-        var uid:String;
         var parentOfChangingNode:Object;
         var changingNode:Object;
-        var items:Array;
         var convertedEvent:CollectionEvent;

         if (event is CollectionEvent)
@@ -1632,12 +1629,7 @@
                         // if the parent node is opened
                         if (_openNodes[UIDUtil.getUID(parentOfChangingNode)] != null)
                         {
-                            var newNode:Object = ce.items[i].newValue;
-                            uid = UIDUtil.getUID(newNode);
-                            parentMap[uid] = parentOfChangingNode;
-
-                            // delete the parent map for the old node
-                            delete parentMap[UIDUtil.getUID(changingNode)];
+                            parentMap[UIDUtil.getUID(ce.items[i].newValue)] = parentOfChangingNode;
                         }
                     }
                 }
@@ -1660,6 +1652,15 @@
                     dispatchEvent(convertedEvent);
                 }
                 dispatchEvent(event);
+
+                for (i = 0; i < n; i++)
+                {
+                    changingNode = ce.items[i].oldValue;
+                    parentOfChangingNode = getParentItem(changingNode);
+
+                    if (parentOfChangingNode != null && _openNodes[UIDUtil.getUID(parentOfChangingNode)] != null)
+                        delete parentMap[UIDUtil.getUID(changingNode)];
+                }
             }
             else if (ce.kind == CollectionEventKind.RESET)
             {


slight improvement in PlotTask avoiding extra calls to
shouldBeRendered()

Change-Id: I677fcb4c167bcbbebfa867abd5b142e91fd654b8

--- WeaveUISpark/src/weave/visualization/layers/PlotTask.as
+++ WeaveUISpark/src/weave/visualization/layers/PlotTask.as
@@ -252,8 +252,7 @@

 		private function asyncStart():void
 		{
-			asyncInit();
-			if (shouldBeRendered())
+			if (asyncInit())
 			{
 				if (debug)
 					trace(this, 'begin async rendering');
@@ -269,19 +268,23 @@
 			}
 		}

-		private function asyncInit():void
-		{
+		/**
+		 * @return true if shouldBeRendered() returns true.
+		 */
+		private function asyncInit():Boolean
+		{
+			var shouldRender:Boolean = shouldBeRendered();
 			if (_delayInit)
 			{
 				_pendingInit = true;
-				return;
+				return shouldRender;
 			}
 			_pendingInit = false;

 			_progress = 0;
 			_iteration = 0;
 			_iPendingKey = 0;
-			if (shouldBeRendered())
+			if (shouldRender)
 			{
 				_pendingKeys = _plotter.filteredKeySet.keys;
 				_recordKeys = [];
@@ -313,6 +316,7 @@
 				_pendingKeys = null;
 				_recordKeys = null;
 			}
+			return shouldRender;
 		}

 		private function asyncIterate(stopTime:int):Number
@@ -342,10 +346,8 @@
 			{
 				_prevBusyGroupTriggerCounter = _dependencies.triggerCounter;

-				asyncInit();
-
 				// stop immediately if we shouldn't be rendering
-				if (!shouldBeRendered())
+				if (!asyncInit())
 					return 1;

 				// stop immediately if the bitmap is invalid
@@ -421,8 +423,7 @@
 				{
 					// if we get here it means the plotter draw function triggered callbacks
 					// and we need to restart the async task.
-					asyncInit();
-					if (shouldBeRendered())
+					if (asyncInit())
 						return asyncIterate(stopTime);
 					else
 						return 1;


More comments about need to auto detect popup windows and handle drag moves

--- as3/smartform/src/com/rpath/raf/util/ErrorTipManager.as
+++ as3/smartform/src/com/rpath/raf/util/ErrorTipManager.as
@@ -214,6 +214,11 @@
                         var obj:DisplayObject = (validator.source as DisplayObject);
                         var parent:DisplayObjectContainer = obj.parent;
                         while (parent) {
+
+                            //TODO: add in code here to auto discover that we're in a
+                            // POPUP window and add the required event listeners
+                            // to handle the popup moving around the screen (user drag)
+
                             if (parent is DisplayObjectContainer) {
                                 parent.addEventListener(ScrollEvent.SCROLL, parentContainerScrolled, false, 0, true);
                                 if (!(containersToTargets[parent] is Array)) {


Transferred from the Adobe Open Source Subversion Repository

Revision: 1098
Author:   jimurphy@adobe.com
Date:     2008-04-03T21:50:39.896200Z

Log Message:
-----------
Merge 3.0.x -- 362:394, 427:429, 603:608, 644:645, 651:663, 672:676, 755:756, 763:766, 785:790, 812:814, 854:861, 862:866, 866:933,971:1009, 1050:1056 --> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/DefaultDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VRule.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/IList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/LayoutManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingConnectionHandler.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IRepeaterClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/VideoError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/HTTPRequestMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/Locale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/Responder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/MessageSerializationError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/SOAPMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IBrowserManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ComponentDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/FaultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/IViewCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/AbstractWebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Tween.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/menuClasses/IMenuItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/Preloader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ILayoutManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Spacer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/Fault.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/XMLListCollection.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectTargetFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SliderEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncToken.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/ScrollEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/CuePointManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/NumericStepperEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/BrowserManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/events/ChannelFaultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/CursorBookmark.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/WSDLLoadEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/LoadEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ListCollectionView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/FlexClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/SubscriptionInfo.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/DescribeTypeCache.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/logging/LogLogger.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/rpc/src/mx/messaging/MessageAgent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/build_framework.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/HeaderEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridDragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/DownloadProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/ITreeDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/RemoteObject.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/listClasses/ListItemDragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as</path>

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

--- frameworks/projects/mx/src/mx/controls/listClasses/TileBase.as
+++ frameworks/projects/mx/src/mx/controls/listClasses/TileBase.as
@@ -99,11 +99,11 @@

     private var bSelectItem:Boolean = false;

-	private var lastColumnCount:int = 0;
-	private var lastRowCount:int = 0;
-
-    /**
-     *  cache of measuring objects by factory
+    private var lastColumnCount:int = 0;
+    private var lastRowCount:int = 0;
+
+    /**
+     *  Cache of measuring objects by factory.
      */
     protected var measuringObjects:Dictionary;

@@ -819,10 +819,10 @@
                     removeIndicators(rowMap[r.name].uid);
                     addToFreeItemRenderers(r);
                     delete rowMap[r.name];
-					if (scrollUp)
-						listItems[i][j] = null;
-					else
-						listItems[rowCount - i - 1][j] = null;
+                    if (scrollUp)
+                        listItems[i][j] = null;
+                    else
+                        listItems[rowCount - i - 1][j] = null;
                 }
             }
         }
@@ -1021,10 +1021,10 @@
                     removeIndicators(rowMap[r.name].uid);
                     addToFreeItemRenderers(r);
                     delete rowMap[r.name];
-					if (scrollUp)
-						listItems[j][i] = null
-					else
-						listItems[j][columnCount - i - 1] = null;
+                    if (scrollUp)
+                        listItems[j][i] = null
+                    else
+                        listItems[j][columnCount - i - 1] = null;
                 }
             }
         }
@@ -1110,8 +1110,8 @@
                         rowMap[r.name].columnIndex += modDeltaPos;
                         moveIndicatorsHorizontally(uid,moveBlockDistance);
                     }
-					else
-						listItems[j][i + modDeltaPos] = null;
+                    else
+                        listItems[j][i + modDeltaPos] = null;
                 }
             }
             for (i = 0; i < modDeltaPos; i++)
@@ -1924,7 +1924,11 @@
     }

     /**
-     *  Get the appropriate renderer, using the default renderer if none specified
+     *  Get the appropriate renderer, using the default renderer if none is specified.
+     *
+     *  @param data The renderer's data structure.
+     *
+     *  @return The item renderer.
      */
     override public function createItemRenderer(data:Object):IListItemRenderer
     {
@@ -2571,11 +2575,11 @@
                     try
                     {
                         iterator.seek(CursorBookmark.FIRST, startIndex);
-						if (!iteratorValid)
-						{
-							iteratorValid = true;
-							lastSeekPending = null;
-						}
+                        if (!iteratorValid)
+                        {
+                            iteratorValid = true;
+                            lastSeekPending = null;
+                        }
                     }
                     catch(e:ItemPendingError)
                     {
@@ -2611,11 +2615,11 @@
                     try
                     {
                         iterator.seek(CursorBookmark.FIRST, startIndex);
-						if (!iteratorValid)
-						{
-							iteratorValid = true;
-							lastSeekPending = null;
-						}
+                        if (!iteratorValid)
+                        {
+                            iteratorValid = true;
+                            lastSeekPending = null;
+                        }
                     }
                     catch(e:ItemPendingError)
                     {
@@ -2652,7 +2656,7 @@

         var firstIndex:int = scrollPositionToIndex(horizontalScrollPosition, verticalScrollPosition);
         var numItemsVisible:int = ((listItems.length - offscreenExtraRowsTop - offscreenExtraRowsBottom) *
-									(listItems[0].length - offscreenExtraColumnsLeft - offscreenExtraColumnsRight));
+                                    (listItems[0].length - offscreenExtraColumnsLeft - offscreenExtraColumnsRight));
         if (index >= firstIndex + numItemsVisible || index < firstIndex)
         {
             newVPos = Math.min(indexToRow(index), maxVerticalScrollPosition);
@@ -2673,66 +2677,70 @@
     }

     /**
-     *  Called from updateDisplayList() to adjust the size and position of
+     *  Called from the updateDisplayList() method to adjust the size and position of
      *  listContent.
+     *
+     *  @param unscaledWidth The width of the listContent before any external scaling is applied.
+     *
+     *  @param unscaledHeight The height of the listContent before any external scaling is applied.
      */
     override protected function adjustListContent(unscaledWidth:Number = -1,
                                        unscaledHeight:Number = -1):void
-	{
-		super.adjustListContent(unscaledWidth, unscaledHeight);
-
-		if (!collection)
-			return;
-
-		var partial:Boolean;
-		var index:int;
-		var numRows:int;
-		var numCols:int;
-		var numItems:int = collection.length;
-
-		if (direction == TileBaseDirection.VERTICAL)
-		{
-			numRows = maxRows > 0 ? maxRows : Math.max(Math.floor(listContent.heightExcludingOffsets / rowHeight), 1);
-			numCols = Math.max(Math.ceil(listContent.widthExcludingOffsets / columnWidth), 1);
-			if (numRows != lastRowCount)
-			{
-				partial = (listContent.widthExcludingOffsets / columnWidth) != Math.ceil(listContent.widthExcludingOffsets / columnWidth);
-				var maxHSP:int = Math.max(Math.ceil(numItems / numRows) - numCols, 0);
-				if (partial)
-					maxHSP++;
-				if (horizontalScrollPosition > maxHSP)
-					$horizontalScrollPosition = maxHSP;
-				setRowCount(numRows);
-				setColumnCount(numCols);
-				index = scrollPositionToIndex(Math.max(0, horizontalScrollPosition - offscreenExtraColumnsLeft),
-											verticalScrollPosition);
+    {
+        super.adjustListContent(unscaledWidth, unscaledHeight);
+
+        if (!collection)
+            return;
+
+        var partial:Boolean;
+        var index:int;
+        var numRows:int;
+        var numCols:int;
+        var numItems:int = collection.length;
+
+        if (direction == TileBaseDirection.VERTICAL)
+        {
+            numRows = maxRows > 0 ? maxRows : Math.max(Math.floor(listContent.heightExcludingOffsets / rowHeight), 1);
+            numCols = Math.max(Math.ceil(listContent.widthExcludingOffsets / columnWidth), 1);
+            if (numRows != lastRowCount)
+            {
+                partial = (listContent.widthExcludingOffsets / columnWidth) != Math.ceil(listContent.widthExcludingOffsets / columnWidth);
+                var maxHSP:int = Math.max(Math.ceil(numItems / numRows) - numCols, 0);
+                if (partial)
+                    maxHSP++;
+                if (horizontalScrollPosition > maxHSP)
+                    $horizontalScrollPosition = maxHSP;
+                setRowCount(numRows);
+                setColumnCount(numCols);
+                index = scrollPositionToIndex(Math.max(0, horizontalScrollPosition - offscreenExtraColumnsLeft),
+                                            verticalScrollPosition);

                 seekPositionSafely(index);
-			}
-			lastRowCount = numRows;
-		}
-		else // horizontal
-		{
-			numCols = maxColumns > 0 ? maxColumns : Math.max(Math.floor((listContent.widthExcludingOffsets)/ columnWidth), 1);
-			numRows = Math.max(Math.ceil(listContent.heightExcludingOffsets / rowHeight), 1);
-			if (numCols != lastColumnCount)
-			{
-				partial = (listContent.heightExcludingOffsets / rowHeight) != Math.ceil(listContent.heightExcludingOffsets / rowHeight);
-
-				var maxVSP:int = Math.max(Math.ceil(numItems / numCols) - numRows, 0);
-				if (partial)
-					maxVSP++;
-				if (verticalScrollPosition > maxVSP)
-					$verticalScrollPosition = maxVSP;
-				setRowCount(numRows);
-				setColumnCount(numCols);
+            }
+            lastRowCount = numRows;
+        }
+        else // horizontal
+        {
+            numCols = maxColumns > 0 ? maxColumns : Math.max(Math.floor((listContent.widthExcludingOffsets)/ columnWidth), 1);
+            numRows = Math.max(Math.ceil(listContent.heightExcludingOffsets / rowHeight), 1);
+            if (numCols != lastColumnCount)
+            {
+                partial = (listContent.heightExcludingOffsets / rowHeight) != Math.ceil(listContent.heightExcludingOffsets / rowHeight);
+
+                var maxVSP:int = Math.max(Math.ceil(numItems / numCols) - numRows, 0);
+                if (partial)
+                    maxVSP++;
+                if (verticalScrollPosition > maxVSP)
+                    $verticalScrollPosition = maxVSP;
+                setRowCount(numRows);
+                setColumnCount(numCols);
                 index = scrollPositionToIndex(horizontalScrollPosition, Math.max(0,verticalScrollPosition-offscreenExtraRowsTop));
                 seekPositionSafely(index);
-			}
-			lastColumnCount = numCols;
-		}
-
-	}
+            }
+            lastColumnCount = numCols;
+        }
+
+    }

 }


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

--- frameworks/projects/mx/src/mx/styles/metadata/BarColorStyle.as
+++ frameworks/projects/mx/src/mx/styles/metadata/BarColorStyle.as
@@ -1,3 +1,27 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////

+/**
+ *  Determines the color of a ProgressBar.
+ *  A ProgressBar is filled with a vertical gradient between this color
+ *  and a brighter color computed from it.
+ *  This style has no effect on other components, but can be set on a container
+ *  to control the appearance of all progress bars found within.
+ *  The default value is undefined, which means it is not set.
+ *  In this case, the themeColor style property is used.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
 [Style(name="barColor", type="uint", format="Color", inherit="yes", theme="halo")]


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

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

 package spark.components
 {


Update src/aerys/minko/scene/controller/mesh/MeshVisibilityController.as

fix bug with set frustumCulling = FrustumCulling.DISABLED
example:
```
var m:Mesh = new Mesh(CubeGeometry.cubeGeometry, new BasicMaterial({ diffuseColor : 0xff00ff00 } ));
m.frustumCulling = FrustumCulling.DISABLED;
scene.addChild(m);
```
result:
Error: This callback does not exist.
at aerys.minko.type::Signal/remove()[\aerys\minko\type\Signal.as:98]
at aerys.minko.scene.controller.mesh::MeshVisibilityController/set frustumCulling()[\aerys\minko\scene\controller\mesh\MeshVisibilityController.as:62]
at aerys.minko.scene.node::Mesh/set frustumCulling()[\aerys\minko\scene\node\Mesh.as:155]

--- src/aerys/minko/scene/controller/mesh/MeshVisibilityController.as
+++ src/aerys/minko/scene/controller/mesh/MeshVisibilityController.as
@@ -59,7 +59,10 @@
 				if (value == FrustumCulling.DISABLED)
 				{
 					_data.computedVisibility = true;
-					_mesh.localToWorldTransformChanged.remove(meshLocalToWorldChangedHandler);
+					if (_mesh.localToWorldTransformChanged.hasCallback(meshLocalToWorldChangedHandler))
+					{
+						_mesh.localToWorldTransformChanged.remove(meshLocalToWorldChangedHandler);
+					}
 				}
 				else if (_mesh && _mesh.scene)
 				{


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/framework/src/mx/controls/ButtonLabelPlacement.as
+++ frameworks/projects/framework/src/mx/controls/ButtonLabelPlacement.as
@@ -0,0 +1,56 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+
+/**
+ *  The ButtonLabelPlacement class defines the constants for the allowed values
+ *  of the labelPlacement
+ *  property of a Button, CheckBox, LinkButton, or RadioButton control.
+ *
+ *  @see mx.controls.Button
+ *  @see mx.controls.CheckBox
+ *  @see mx.controls.LinkButton
+ *  @see mx.controls.RadioButton
+ */
+public final class ButtonLabelPlacement
+{
+	include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class constants
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Specifies that the label appears below the icon.
+	 */
+	public static const BOTTOM:String = "bottom";
+
+	/**
+	 *  Specifies that the label appears to the left of the icon.
+	 */
+	public static const LEFT:String = "left";
+
+	/**
+	 *  Specifies that the label appears to the right of the icon.
+	 */
+	public static const RIGHT:String = "right";
+
+	/**
+	 *  Specifies that the label appears above the icon.
+	 */
+	public static const TOP:String = "top";
+}
+
+}


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

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

 package mx.skins.spark {


Fixed error being thrown by FlexCoverListener by linking CoverageAgent into listener.  Still no luck on closing the CoverageViewer.

--- FlexUnit4FlexCoverListener/src/org/flexunit/listeners/FlexCoverListener.as
+++ FlexUnit4FlexCoverListener/src/org/flexunit/listeners/FlexCoverListener.as
@@ -1,11 +1,9 @@
 package org.flexunit.listeners
 {
-	import org.flexunit.listeners.closer.FlexCoverCloser;
+   import org.flexunit.listeners.closer.FlexCoverCloser;

    public class FlexCoverListener extends CIListener
-   {
-      import com.allurent.coverage.runtime.CoverageManager;
-
+   {
       public function FlexCoverListener(port : uint = DEFAULT_PORT, server : String = DEFAULT_SERVER)
       {
          super(port, server);


Transferred from the Adobe Open Source Subversion Repository

Revision: 17206
Author:   jszeto@adobe.com
Date:     2010-08-06T00:21:03.791589Z

Log Message:
-----------
Mobile Button Skin Changes

Refactor ButtonSkin into MobileSkin, ButtonSkinBase and ButtonSkin.

MobileSkin has logic for dealing with currentState
ButtonSkinBase has the label and icon placement logic (and is essentially a borderless skin)
ButtonSkin adds the FXG skins and the gradient background

- Text is now bold
- Emphasized buttons use ButtonSkin instead of DefaultButtonSkin and don't show any emphasized state (we aren't supporting emphasized buttons for mobile)
- Optimized the FXG skin creation
- Moved iconClass and labelPlacement from Button to ButtonBase.
- Updated padding values for label to match spec
- Removed the spark ButtonLabelPlacement class and moved the mx one from mx to frameworks swc

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

Modified Paths:
--------------
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/MobileSkin.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/ButtonLabelPlacement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ButtonLabelPlacement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Button.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/ButtonLabelPlacement.as" copyfrom-rev="17195" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/controls/ButtonLabelPlacement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/MobileComponentsClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as
@@ -0,0 +1,88 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2008 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package spark.skins
+{
+import mx.core.UIComponent;
+
+/**
+ *  Actionscript based skin for mobile applications. This skin is the
+ *  base class for all of the actionscript mobile skins. As an optimization,
+ *  it removes state transition support.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+public class MobileSkin extends UIComponent
+{
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+    public function MobileSkin()
+    {
+    }
+
+    //----------------------------------
+    //  currentState
+    //----------------------------------
+
+    private var _currentState:String;
+
+    /**
+     *  @private
+     */
+    override public function get currentState():String
+    {
+        return _currentState;
+    }
+
+    /**
+     *  @private
+     */
+    override public function set currentState(value:String):void
+    {
+        if (value != _currentState)
+        {
+            _previoustState = _currentState;
+            _currentState = value;
+            commitCurrentState();
+        }
+    }
+
+    //----------------------------------
+    //  previousState
+    //----------------------------------
+
+    private var _previoustState:String;
+
+    /**
+     *  The previous value of currentState
+     */
+    protected function get previousState():String
+    {
+        return _previoustState;
+    }
+
+    /**
+     *  Called whenever the currentState changes. Skins should override
+     *  this function if they make any appearance changes during
+     *  a state change
+     */
+    protected function commitCurrentState():void
+    {
+    }
+}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 18797
Author:   dloverin@adobe.com
Date:     2010-11-23T12:37:29.486584Z

Log Message:
-----------
Fix "direction" and "locale" inline styles on DefaultGridItemRenderer.

Fixup the styleDeclaration setter to add the “direction” and “locale” styles. This gets the styles into style manager where the editor can inherit them.

QE notes: None.
Doc notes: None.
Bugs: SDK-28290
Reviewer: Hans, Carol
Tests run: cyclone server
Is noteworthy for integration: No.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/UITextFieldGridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/TextFieldGridItemRendererInclude.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultGridItemRenderer.as</path>

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

--- frameworks/projects/spark/src/spark/skins/spark/TextFieldGridItemRendererInclude.as
+++ frameworks/projects/spark/src/spark/skins/spark/TextFieldGridItemRendererInclude.as
@@ -1177,28 +1177,6 @@
     {
     }

-    //----------------------------------
-    //  styleDeclaration
-    //----------------------------------
-
-    private var _styleDeclaration:CSSStyleDeclaration;
-
-    /**
-     *  @private
-     */
-    public function get styleDeclaration():CSSStyleDeclaration
-    {
-        return _styleDeclaration;
-    }
-
-    /**
-     *  @private
-     */
-    public function set styleDeclaration(value:CSSStyleDeclaration):void
-    {
-        _styleDeclaration = value;
-    }
-
     //--------------------------------------------------------------------------
     //
     //  Event Handlers


Clear out the manager on the DObject when it's no longer active

git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@6725 542714f4-19e9-0310-aa3c-eee0fc999fb1

--- src/main/as/com/threerings/presents/client/ClientDObjectMgr.as
+++ src/main/as/com/threerings/presents/client/ClientDObjectMgr.as
@@ -347,6 +347,7 @@
         // processed, it'll be 86ed
         var ooid :int = obj.getOid();
         _ocache.remove(ooid);
+        obj.setManager(null);
         _dead.put(ooid, obj);

         // ship off an unsubscribe message to the server; we'll remove the


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

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


Elevator now stops at the top. This was due to the  method not existing.


fixed bug with dispose method

fixed bug with dispose method

--- source/actionscript/agnostic/src/eu/alebianco/air/extensions/analytics/Analytics.as
+++ source/actionscript/agnostic/src/eu/alebianco/air/extensions/analytics/Analytics.as
@@ -140,6 +140,7 @@
 		context = null;
 		logger = null;
 		trackers = null;
+		instance = null;
 	}

 	private function disposeAllTrackers():void {


fixed bug where missing data wasn't skipped

--- WeaveData/src/weave/data/AttributeColumns/StringColumn.as
+++ WeaveData/src/weave/data/AttributeColumns/StringColumn.as
@@ -201,6 +201,9 @@
 				var key:IQualifiedKey = _keys[_i1];
 				var value:String = _stringData[_i1];

+				// skip missing values
+				if (!value)
+					continue;
 				// keep track of unique keys
 				if (_keyToStringMap[key] === undefined)
 				{


Fixed bug where full data bounds wasn't being shown due to recent
ZoomBounds refactoring.

Change-Id: I5e344ba1998bbd22aa190bc973e7f4fffaa1d430

--- WeaveUI/src/weave/visualization/layers/PlotLayerContainer.as
+++ WeaveUI/src/weave/visualization/layers/PlotLayerContainer.as
@@ -142,6 +142,16 @@
 				if (!fullDataBounds.isEmpty())
 				{
 					tempDataBounds.copyFrom(fullDataBounds);
+					if (enableFixedAspectRatio.value)
+					{
+						var xScale:Number = tempDataBounds.getWidth() / tempScreenBounds.getXCoverage();
+						var yScale:Number = tempDataBounds.getHeight() / tempScreenBounds.getYCoverage();
+						// keep greater data-to-pixel ratio because we want to zoom out if necessary
+						if (xScale > yScale)
+							tempDataBounds.setHeight(tempScreenBounds.getYCoverage() * xScale);
+						if (yScale > xScale)
+							tempDataBounds.setWidth(tempScreenBounds.getXCoverage() * yScale);
+					}
 				}
 			}


Transferred from the Adobe Open Source Subversion Repository

Revision: 10172
Author:   egreenfi@adobe.com
Date:     2009-09-11T22:02:58.640460Z

Log Message:
-----------
Adjusted the margin of error used to decide if a component is in 3D or not.  It was an order of magnitude too low -- as a result, normal precision errors in 3D calculations were making pushing components with 2D matrices into 3D, resulting in fuzzy text.

REviewed: Chet
QA: none needed.
doc: none.

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

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

--- frameworks/projects/framework/src/mx/geom/CompoundTransform.as
+++ frameworks/projects/framework/src/mx/geom/CompoundTransform.as
@@ -525,7 +525,7 @@

 	}

-	private static const EPSILON:Number = .0001;
+	private static const EPSILON:Number = .001;
 	/**
 	 * @private
 	 * updates the flags that indicate whether the layout, offset, and/or computed transforms are 3D in nature.


Transferred from the Adobe Open Source Subversion Repository

Revision: 11118
Author:   gosmith@adobe.com
Date:     2009-10-23T23:35:38.504561Z

Log Message:
-----------
Did some code cleanup on the Spark components to enforce the conventions about how to order stuff within an AS file.

QE notes: None
Doc notes: None
Bugs: None
Reviewer: None; no functional changes
Tests run: ant checkintests
Is noteworthy for integration: No

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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 6345
Author:   dsubrama@adobe.com
Date:     2009-04-28T18:49:50.634464Z

Log Message:
-----------
Code re-organization, updated ASDoc comments and a few PARB requested re-names (internal methods, shouldn't require updating on the QA side of things).

Reviewer: Me
Checkintests: Pass

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

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

--- frameworks/projects/spark/src/spark/components/DropDownList.as
+++ frameworks/projects/spark/src/spark/components/DropDownList.as
@@ -643,7 +643,7 @@
     	// set skin state
     	skin.currentState = getCurrentSkinState();

-    	ensureIndexIsVisible(selectedIndex);
+    	ensureItemIsVisible(selectedIndex);

     	dispatchEvent(event);
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 10895
Author:   dsubrama@adobe.com
Date:     2009-10-06T19:07:54.496187Z

Log Message:
-----------
Make selection happen upon mouseDown vs click in List and DropDownList. This is needed such that drag & drop and selection happen correctly in List (also brings things a bit more in-line with Halo). Because of this change, the protected method item_clickHandler() in List and subclasses has been replaced by item_mouseDownHandler().

QE notes: I ran DDL, List and ButtonBar tests and they all pass
Doc notes: Yes, please notice the API change
Bugs: None
Reviewer: Evtim
Tests run: DDL, List, BB
Is noteworthy for integration: Yes

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

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

--- frameworks/projects/spark/src/spark/components/DropDownList.as
+++ frameworks/projects/spark/src/spark/components/DropDownList.as
@@ -582,9 +582,9 @@
     /**
      *  @private
      */
-    override protected function item_clickHandler(event:MouseEvent):void
-    {
-        super.item_clickHandler(event);
+    override protected function item_mouseDownHandler(event:MouseEvent):void
+    {
+        super.item_mouseDownHandler(event);
         userProposedSelectedIndex = selectedIndex;
         closeDropDown(true);
     }