fixed bug in handling diff

fixed bug in handling diff

Change-Id: I5a4fe8b29916573283689e5073dc44fc3c34a2d6

--- WeaveCore/src/weave/core/LinkableDynamicObject.as
+++ WeaveCore/src/weave/core/LinkableDynamicObject.as
@@ -177,6 +177,8 @@
  		 */
 		public function setSessionState(newState:Array, removeMissingDynamicObjects:Boolean):void
 		{
+			//trace(debugId(this), removeMissingDynamicObjects ? 'diff' : 'state', Compiler.stringify(newState, null, '\t'));
+
 			// special case - no change
 			if (newState == null)
 				return;
@@ -188,8 +190,12 @@

 				var dynamicState:Object = null;
 				var objectName:String;
-				for each (var item:Object in newState)
-				{
+				// Loop backwards because when diffs are combined, most recent entries
+				// are added last and we want to use the most recent state.
+				var i:int = newState.length;
+				while (i--)
+				{
+					var item:Object = newState[i];
 					if (DynamicState.isDynamicState(item))
 					{
 						if (item[DynamicState.CLASS_NAME] == SessionManager.DIFF_DELETE)


Updated comments in DeluxeSignal around dispatching and cloning listeners.


Comment fixup.

Comment fixup.

git-svn-id: b675b909355d5cf946977f44a8ec5a6ceb3782e4@220 ed5b42cb-e716-0410-a449-f6a68f950b19

--- src/as/com/threerings/flash/MediaContainer.as
+++ src/as/com/threerings/flash/MediaContainer.as
@@ -581,7 +581,7 @@
     /** Either a Loader or a VideoDisplay. */
     protected var _media :DisplayObject;

-    /** If we're using a Loader, true once the INIT property has been dispatched. */
+    /** If we're using a Loader, true once the INIT event has been dispatched. */
     protected var _initialized :Boolean;
 }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 13061
Author:   klin@adobe.com
Date:     2009-12-17T19:05:11.394067Z

Log Message:
-----------
Fix for https://bugs.adobe.com/jira/browse/SDK-24756. TabBar can get into an infinite loop when trying to layout buttons with different preferred widths. This is due to not resetting childWidthRounded within the loop causing buttons in certain situations to get the wrong width causing it to call invalidateDisplayList again.

QE notes: No
Doc notes: No
Bugs: SDK-24756
Reviewer: Evtim
Tests run: checkintests, ButtonBar, TabBar
Is noteworthy for integration: No

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

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarHorizontalLayout.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarHorizontalLayout.as
@@ -267,6 +267,9 @@

             // No need to round, width should be an integer number
             x += gap + layoutElement.getLayoutBoundsWidth();
+
+            // Reset childWidthRounded
+            childWidthRounded = NaN;
         }
     }
 }


Re-inserted Security code for CDN usage. Need to toggle in build for future references.


change: slight cleanup in css border renderer

git-svn-id: e38e7cdd6ace00d8230583a2d3b43e9a55f5c011@890 bc4816be-ef27-423a-9c4d-fc420be121a2

--- src/reprise/ui/renderers/DefaultBorderRenderer.as
+++ src/reprise/ui/renderers/DefaultBorderRenderer.as
@@ -45,10 +45,10 @@

 			var borderWidth : Object =
 			{
-				top : m_styles.borderTopWidth | 0,
-				right : m_styles.borderRightWidth | 0,
-				bottom : m_styles.borderBottomWidth | 0,
-				left : m_styles.borderLeftWidth | 0
+				top : m_styles.borderTopWidth,
+				right : m_styles.borderRightWidth,
+				bottom : m_styles.borderBottomWidth,
+				left : m_styles.borderLeftWidth
 			};

 			var borderStyle : Object =
@@ -107,7 +107,7 @@
 			var topRight : Point = new Point();
 			var bottomRight : Point = new Point();
 			var bottomLeft : Point = new Point();
-			if (borderWidth.top > 0 && borderStyle.top != 'none' && borderColor.top != 0)
+			if (borderWidth.top > 0 && borderStyle.top != 'none' && borderColor.top)
 			{
 				topLeft.x = 0;
 				topLeft.y = 0;
@@ -121,7 +121,7 @@
 					topLeft, topRight, bottomRight, bottomLeft, SIDE_TOP);
 			}

-			if (borderWidth.right > 0 && borderStyle.right != 'none' && borderColor.right != 0)
+			if (borderWidth.right > 0 && borderStyle.right != 'none' && borderColor.right)
 			{
 				topLeft.x = m_width;
 				topLeft.y = 0;
@@ -135,7 +135,7 @@
 					topLeft, topRight, bottomRight, bottomLeft, SIDE_RIGHT);
 			}

-			if (borderWidth.bottom > 0 && borderStyle.bottom != 'none' && borderColor.bottom != 0)
+			if (borderWidth.bottom > 0 && borderStyle.bottom != 'none' && borderColor.bottom)
 			{
 				topLeft.x = 0;
 				topLeft.y = m_height;
@@ -149,7 +149,7 @@
 					topLeft, topRight, bottomRight, bottomLeft, SIDE_BOTTOM);
 			}

-			if (borderWidth.left > 0 && borderStyle.left != 'none' && borderColor.left != 0)
+			if (borderWidth.left > 0 && borderStyle.left != 'none' && borderColor.left)
 			{
 				topLeft.x = 0;
 				topLeft.y = 0;


FLEX-35031 Added more unit tests to define how findAny() and findLast() should work, for when I attempt fixes for this bug. -Making sure that they return different values when there are two objects in the collection view with the same property and value for that property (currently they do). -Made the ids unique for the EmployeeVOs, which makes it easier to index them and use them in tests.

--- frameworks/projects/advancedgrids/tests/mx/collections/HierarchicalCollectionViewCursor_FindAny_Tests.as
+++ frameworks/projects/advancedgrids/tests/mx/collections/HierarchicalCollectionViewCursor_FindAny_Tests.as
@@ -27,11 +27,14 @@
     {
         private static const DEPARTMENT_SALES:String = "Sales";
         private static const DEPARTMENT_DEVELOPMENT:String = "Development";
-        private static const NO_ITEMS_PER_GRID_HEIGHT:int = 5;
+        private static const NO_EMPLOYEES_PER_DEPARTMENT:int = 5;
+        private static const NO_DEPARTMENTS:int = 2;
+        private static const NO_EMPLOYEES:int = NO_EMPLOYEES_PER_DEPARTMENT * NO_DEPARTMENTS;
         private static const _utils:HierarchicalCollectionViewTestUtils = new HierarchicalCollectionViewTestUtils();
         private static var _collectionView:HierarchicalCollectionView;
         private static var _sut:HierarchicalCollectionViewCursor;
         private static var _level0:ArrayCollection;
+        private static var _employeesByID:Array = [];

         [Before]
         public function setUp():void
@@ -241,36 +244,65 @@
         public function test_findAny_finds_sealed_class_instance_via_anonymous_object_with_subset_of_properties():void
         {
             //given
-            const ID_TO_FIND:int = 1;
-            _utils.openAllNodes(_collectionView);
-
-            //when
-            var found:Boolean = _sut.findAny({department:DEPARTMENT_SALES, idInDepartment:ID_TO_FIND});
+            const ID_TO_FIND:int = NO_EMPLOYEES_PER_DEPARTMENT;
+            _utils.openAllNodes(_collectionView);
+
+            //when
+            var found:Boolean = _sut.findAny({department:DEPARTMENT_SALES, uniqueID:ID_TO_FIND});

             //then
             assertTrue(found);
             var currentEmployee:EmployeeVO = _sut.current as EmployeeVO;
             assertNotNull(currentEmployee);
             assertEquals(DEPARTMENT_SALES, currentEmployee.department);
-            assertEquals(ID_TO_FIND, currentEmployee.idInDepartment);
+            assertEquals(ID_TO_FIND, currentEmployee.uniqueID);
         }

         [Test]
         public function test_findLast_finds_sealed_class_instance_via_anonymous_object_with_subset_of_properties():void
         {
             //given
-            const ID_TO_FIND:int = 1;
-            _utils.openAllNodes(_collectionView);
-
-            //when
-            var found:Boolean = _sut.findLast({department:DEPARTMENT_DEVELOPMENT, idInDepartment:ID_TO_FIND});
+            const ID_TO_FIND:int = 0;
+            _utils.openAllNodes(_collectionView);
+
+            //when
+            var found:Boolean = _sut.findLast({department:DEPARTMENT_DEVELOPMENT, uniqueID:ID_TO_FIND});

             //then
             assertTrue(found);
             var currentEmployee:EmployeeVO = _sut.current as EmployeeVO;
             assertNotNull(currentEmployee);
             assertEquals(DEPARTMENT_DEVELOPMENT, currentEmployee.department);
-            assertEquals(ID_TO_FIND, currentEmployee.idInDepartment);
+            assertEquals(ID_TO_FIND, currentEmployee.uniqueID);
+        }
+
+        [Test]
+        public function test_findLast_finds_different_object_to_findFirst_via_anonymous_object_with_subset_of_properties():void
+        {
+            //given
+            _utils.openAllNodes(_collectionView);
+
+            var secondEmployee:EmployeeVO = _employeesByID[1] as EmployeeVO;
+            var secondToLastEmployee:EmployeeVO = _employeesByID[NO_EMPLOYEES - 2] as EmployeeVO;
+
+            const sameName:String = "John";
+
+            //when
+            secondEmployee.name = sameName;
+            secondToLastEmployee.name = sameName;
+
+            var foundFromBeginning:Boolean = _sut.findAny({name:sameName});
+
+            //then
+            assertTrue(foundFromBeginning);
+            assertEquals(secondEmployee, _sut.current);
+
+            //when
+            var foundFromEnd:Boolean = _sut.findLast({name:sameName});
+
+            //then
+            assertTrue(foundFromEnd);
+            assertEquals(secondToLastEmployee, _sut.current);
         }

         private static function createHierarchicalCollectionView(groupingCollection:GroupingCollection2):HierarchicalCollectionView
@@ -281,22 +313,19 @@
         private static function createEmployees():ArrayCollection
         {
             var result:ArrayCollection = new ArrayCollection();
-            for (var i:int = 0; i < NO_ITEMS_PER_GRID_HEIGHT - 1; i++)
+            for (var i:int = 0; i < NO_EMPLOYEES_PER_DEPARTMENT * 2; i++)
             {
-                result.addItem(createEmployee("Emp-" + DEPARTMENT_DEVELOPMENT + "-" + i, DEPARTMENT_DEVELOPMENT, i));
+                result.addItem(createEmployee("Emp-" + i, (i < NO_EMPLOYEES_PER_DEPARTMENT ? DEPARTMENT_DEVELOPMENT : DEPARTMENT_SALES), i));
             }

-            for (i = 0; i < NO_ITEMS_PER_GRID_HEIGHT - 1; i++)
-            {
-                result.addItem(createEmployee("Emp-" + DEPARTMENT_SALES + "-" + i, DEPARTMENT_SALES, i));
-            }
-
             return result;
         }

-        private static function createEmployee(name:String, department:String, idInDepartment:int):EmployeeVO
-        {
-            return new EmployeeVO(name, department, idInDepartment);
+        private static function createEmployee(name:String, department:String, uniqueID:int):EmployeeVO
+        {
+            var employeeVO:EmployeeVO = new EmployeeVO(name, department, uniqueID);
+            _employeesByID[employeeVO.uniqueID] = employeeVO;
+            return employeeVO;
         }

         private static function createGroupingCollection(source:ArrayCollection):GroupingCollection2
@@ -318,12 +347,12 @@
 {
     public var name:String;
     public var department:String;
-    public var idInDepartment:int;
-
-    public function EmployeeVO(name:String, department:String, idInDepartment:int)
+    public var uniqueID:int;
+
+    public function EmployeeVO(name:String, department:String, uniqueID:int)
     {
         this.name = name;
         this.department = department;
-        this.idInDepartment = idInDepartment;
+        this.uniqueID = uniqueID;
     }
 }


Fixed error in Event.formatToString

Fixed error in Event.formatToString

--- tamarin-central/thane/as3src/flash/events/Event.as
+++ tamarin-central/thane/as3src/flash/events/Event.as
@@ -68,11 +68,12 @@
         var s :StringBuilder = new StringBuilder();
         s.append("[");
         s.append(className);
+        var self :Object = this;
         arguments.forEach (function (name :String, ... unused) {
             s.append(" ");
             s.append(name);
             s.append("=");
-            s.append(this[name]);
+            s.append(self[name]);
         });
         s.append("]");
         return s.toString();


Fixed null pointer error.

Fixed null pointer error.

Change-Id: I5db53f559ce81747037a7943ca3d2204f5f06907

--- WeaveUI/src/weave/visualization/plotters/RadVizPlotter.as
+++ WeaveUI/src/weave/visualization/plotters/RadVizPlotter.as
@@ -468,7 +468,7 @@
 			} catch(e:Error) {return;}
 			var graphics:Graphics = destination;
 			graphics.clear();
-			if(probedKeys.length)
+			if(probedKeys.length && keySet.keys.length)
 				if(probedKeys[0].keyType != keySet.keys[0].keyType) return;

 			for each( var key:IQualifiedKey in probedKeys)


added code in comment

added code in comment

--- WeaveCore/src/weave/core/WeaveArchive.as
+++ WeaveCore/src/weave/core/WeaveArchive.as
@@ -74,6 +74,7 @@
 		private function filterFilePathsToReadAsObject(filePath:String):Boolean
 		{
 			return filePath.indexOf(FOLDER_AMF + '/') == 0;
+			//return filePath.substr(-4).toLowerCase() == ".amf";
 		}

 		/**


implemented VectorUtils.union()

implemented VectorUtils.union()

Change-Id: Ida43141a592c7baa7bc5825a167fd19c745158b8

--- WeaveData/src/weave/utils/VectorUtils.as
+++ WeaveData/src/weave/utils/VectorUtils.as
@@ -32,8 +32,35 @@
 	 */
 	public class VectorUtils
 	{
-		/**
-		 * Computes the intersection of a list of Arrays.
+		private static var _lookup:Dictionary = new Dictionary(true);
+		private static var _lookupId:int = 0;
+
+		/**
+		 * Computes the union of the items in a list of Arrays.
+		 * @param arrays A list of Arrays.
+		 * @return The union of all the items in the Arrays in the order they appear.
+		 */
+		public static function union(...arrays):Array
+		{
+			var result:Array = [];
+			_lookupId++;
+			for each (var array:* in arrays)
+			{
+				for each (var item:* in array)
+				{
+					if (_lookup[item] !== _lookupId)
+					{
+						_lookup[item] = _lookupId;
+						result.push(item);
+					}
+				}
+			}
+			return result;
+		}
+
+
+		/**
+		 * Computes the intersection of the items in a list of Arrays.
 		 * @param arrays A list of Arrays.
 		 * @return The intersection of the items in both Arrays, in the order that they appear in the first Array.
 		 */
@@ -67,8 +94,6 @@

 			return result;
 		}
-		private static var _lookup:Dictionary = new Dictionary(true);
-		private static var _lookupId:int = 0;

 		/**
 		 * This function copies the contents of the source to the destination.


modified for use in iOS simulator (no longer supported in simulator)

--- actionscript/src/com/freshplanet/ane/AirAlert/AirAlert.as
+++ actionscript/src/com/freshplanet/ane/AirAlert/AirAlert.as
@@ -107,7 +107,7 @@
 		}

 		private static function get isIOS():Boolean {
-			return Capabilities.manufacturer.indexOf("iOS") > -1;
+			return Capabilities.manufacturer.indexOf("iOS") > -1 && Capabilities.os.indexOf("x86_64") < 0 && Capabilities.os.indexOf("i386") < 0;
 		}

 		private static function get isAndroid():Boolean {


Updated Query update to avoid premature value overwriting

git-svn-id: 6aa7ccb0a2048310a30f08a72aaff4ca39d980ed@204 91848ab2-c4ae-4e4f-8e6a-6a52ea0dccc3

--- flare/src/flare/query/Query.as
+++ flare/src/flare/query/Query.as
@@ -314,12 +314,18 @@

 		private function applyAll(results:Array):Array
 		{
-			// TODO: generate results in new object first to avoid overlap?
-			for each (var pair:Object in _select) {
-				var p:Property = Property.$(pair.name);
-				var expr:Expression = pair.expression;
-				for each (var item:Object in results)
-					p.setValue(item, expr.eval(item));
+			var o:Object = {};
+			for each (var item:Object in results) {
+				for each (var pair:Object in _select) {
+					var name:String = pair.name;
+					var expr:Expression = pair.expression;
+					o[name] = expr.eval(item);
+				}
+				for each (pair in _select) {
+					name = pair.name;
+					var p:Property = Property.$(name);
+					p.setValue(item, o[name]);
+				}
 			}
 			return results;
 		}
@@ -382,11 +388,16 @@

 		private function apply(item:Object):Object
 		{
-			// TODO: generate results in new object first to avoid overlap?
+			var o:Object = {};
 			for each (var pair:Object in _select) {
-				var p:Property = Property.$(pair.name);
+				var name:String = pair.name;
 				var expr:Expression = pair.expression;
-				p.setValue(item, expr.eval(item));
+				o[name] = expr.eval(item);
+			}
+			for each (pair in _select) {
+				name = pair.name;
+				var p:Property = Property.$(name);
+				p.setValue(item, o[name]);
 			}
 			return item;
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 2506
Author:   jimurphy@adobe.com
Date:     2008-07-16T13:25:03.893431Z

Log Message:
-----------
Merged 3.0.x revisions [2417,2458,2504] -> trunk
-I also manually updated modules/compiler/src/java/flex2/tools/oem/internal/LinkerConfiguration.java to implement flex2.linker.LinkerConfiguration due to a name change in trunk
-removed player 9 stuff

Modified Paths:
--------------
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework/.project" copyfrom-rev="2504" action="R">/flex/sdk/trunk/development/eclipse/flex/airframework/.project</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/DependencyChecker.java</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/managers/dragClasses/DragProxy.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework/.actionScriptProperties" copyfrom-rev="2504" action="R">/flex/sdk/trunk/development/eclipse/flex/airframework/.actionScriptProperties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/air-config.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Channel.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="A">/flex/sdk/trunk/in/player/mac/Install Flash Player 10 UB.dmg</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/LinkerConfiguration.java</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework/.settings/org.eclipse.core.resources.prefs" copyfrom-rev="2504" action="R">/flex/sdk/trunk/development/eclipse/flex/airframework/.settings/org.eclipse.core.resources.prefs</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexModuleFactory.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework/.flexLibProperties" copyfrom-rev="2504" action="R">/flex/sdk/trunk/development/eclipse/flex/airframework/.flexLibProperties</path>
<path kind="file" action="D">/flex/sdk/trunk/in/player/lnx/install_flash_player_9_linux.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/nodes/LibrariesNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/nodes/DependencyNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/XMLDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/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="D">/flex/sdk/trunk/in/player/win/Install Flash Player 9 Plugin.exe</path>
<path kind="file" action="D">/flex/sdk/trunk/in/player/mac/Install Flash Player 9 UB.dmg</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/MarshalMouseEvent.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/resources/LocaleSorter.as" copyfrom-rev="2504" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/LocaleSorter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/in/player/win/Install Flash Player 9 ActiveX.exe</path>
<path kind="dir" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework" copyfrom-rev="2504" action="A">/flex/sdk/trunk/development/eclipse/flex/airframework</path>
<path kind="file" action="M">/flex/sdk/trunk/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollThumb.as</path>
<path kind="file" action="A">/flex/sdk/trunk/in/player/win/Install Flash Player 10 Plugin.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/nodes/DefNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/in/player/win/Install Flash Player 10 ActiveX.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/nodes/LibraryNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/nodes/ScriptNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/ContextStatics.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/nodes/DepNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as</path>
<path kind="dir" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework/.settings" copyfrom-rev="2504" action="R">/flex/sdk/trunk/development/eclipse/flex/airframework/.settings</path>
<path kind="file" action="D">/flex/sdk/trunk/in/player/10/lnx/Flash Player.app.zip</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/libs/player/9</path>

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

--- frameworks/projects/mx/src/mx/containers/Panel.as
+++ frameworks/projects/mx/src/mx/containers/Panel.as
@@ -1772,13 +1772,13 @@
         regX = event.stageX - x;
         regY = event.stageY - y;

-        systemManager.addEventListener(
+        ISystemManager2(systemManager).getSandboxRoot().addEventListener(
             MouseEvent.MOUSE_MOVE, systemManager_mouseMoveHandler, true);

-        systemManager.addEventListener(
+        ISystemManager2(systemManager).getSandboxRoot().addEventListener(
             MouseEvent.MOUSE_UP, systemManager_mouseUpHandler, true);

-        systemManager.addEventListener(
+        ISystemManager2(systemManager).getSandboxRoot().addEventListener(
             MarshalMouseEvent.MOUSE_UP, stage_mouseLeaveHandler);

 		// let folks know we've started to drag.
@@ -1791,13 +1791,13 @@
      */
     protected function stopDragging():void
     {
-        systemManager.removeEventListener(
+        ISystemManager2(systemManager).getSandboxRoot().removeEventListener(
             MouseEvent.MOUSE_MOVE, systemManager_mouseMoveHandler, true);

-        systemManager.removeEventListener(
+        ISystemManager2(systemManager).getSandboxRoot().removeEventListener(
             MouseEvent.MOUSE_UP, systemManager_mouseUpHandler, true);

-        systemManager.removeEventListener(
+        ISystemManager2(systemManager).getSandboxRoot().removeEventListener(
             MarshalMouseEvent.MOUSE_UP, stage_mouseLeaveHandler);

         regX = NaN;


Transition to new Starling & Feathers

Transition to new Starling & Feathers

--- src/justpinegames/Logi/Console.as
+++ src/justpinegames/Logi/Console.as
@@ -3,7 +3,7 @@
 	import flash.desktop.Clipboard;
 	import flash.desktop.ClipboardFormats;
 	import flash.utils.getQualifiedClassName;
-	import feathers.display.Sprite;
+	import starling.display.Sprite;
 	import feathers.controls.Button;
 	import feathers.controls.List;
 	import feathers.controls.Scroller;


Update src/justpinegames/Logi/Console.as

Removed GTween dependency bringing this library in line with Feathers

--- src/justpinegames/Logi/Console.as
+++ src/justpinegames/Logi/Console.as
@@ -1,6 +1,5 @@
 package justpinegames.Logi
 {
-	import com.gskinner.motion.GTweener;
 	import flash.events.Event;
 	import flash.desktop.Clipboard;
 	import flash.desktop.ClipboardFormats;
@@ -8,14 +7,15 @@
 	import feathers.display.Sprite;
 	import feathers.controls.Button;
 	import feathers.controls.List;
-import feathers.controls.Scroller;
-import feathers.controls.renderers.IListItemRenderer;
+	import feathers.controls.Scroller;
+	import feathers.controls.renderers.IListItemRenderer;
 	import feathers.controls.ScrollContainer;
     import feathers.controls.text.BitmapFontTextRenderer;
     import feathers.core.FeathersControl;
 	import feathers.data.ListCollection;
 	import feathers.layout.VerticalLayout;
 	import feathers.text.BitmapFontTextFormat;
+	import starling.animation.Tween;
 	import starling.core.Starling;
 	import starling.display.Quad;
 	import starling.events.Event;
@@ -119,7 +119,7 @@
 				consoleItemRenderer.height = 20;
 				return consoleItemRenderer;
 			};
-			_list.onChange.add(copyLine);
+			_list.addEventListener(starling.events.Event.CHANGE, copyLine);
 			_consoleContainer.addChild(_list);

 			_copyButton = new Button();
@@ -141,7 +141,7 @@
 				_copyButton.width = 150;
 				_copyButton.height = 40;
 			});
-			_copyButton.onPress.add(copy);
+			_copyButton.addEventListener(starling.events.Event.SELECT, copy);
 			_consoleContainer.addChild(_copyButton);

 			_hudContainer = new ScrollContainer();
@@ -198,20 +198,32 @@
 		{
 			_consoleContainer.visible = true;

-			GTweener.to(_consoleContainer, _consoleSettings.animationTime, { y: 0, alpha: 1 } );
-			GTweener.to(_hudContainer, _consoleSettings.animationTime, { alpha: 0 } );
+			var __tween1:Tween = new Tween(_consoleContainer, _consoleSettings.animationTime);
+			__tween1.animate("y", 0);
+			__tween1.fadeTo(1);
+			Starling.juggler.add(__tween1);
+
+			var __tween2:Tween = new Tween(_hudContainer, _consoleSettings.animationTime);
+			__tween2.fadeTo(0);
+			Starling.juggler.add(__tween2);

 			_isShown = true;
 		}

 		private function hide():void
 		{
-			GTweener.to(_consoleContainer, _consoleSettings.animationTime, { y: -_consoleHeight, alpha: 0 }).onComplete = function():void
+			var __tween1:Tween = new Tween(_consoleContainer, _consoleSettings.animationTime);
+			__tween1.animate("y",  -_consoleHeight);
+			__tween1.fadeTo(0);
+			__tween1.onComplete = function():void
 			{
 				_consoleContainer.visible = false;
 			};
-
-			GTweener.to(_hudContainer, _consoleSettings.animationTime, { alpha: 1 } );
+			Starling.juggler.add(__tween1);
+
+			var __tween2:Tween = new Tween(_hudContainer, _consoleSettings.animationTime);
+			__tween2.fadeTo(1);
+			Starling.juggler.add(__tween2);

 			_isShown = false;
 		}
@@ -297,11 +309,15 @@

 			_hudContainer.addChildAt(hudLabelContainer, 0);

-			GTweener.to(hudLabelContainer, _consoleSettings.hudMessageFadeOutTime, { alpha: 0 }, { delay: _consoleSettings.hudMessageDisplayTime } ).onComplete = function():void
+			var __tween1:Tween = new Tween(hudLabelContainer, _consoleSettings.hudMessageFadeOutTime);
+			__tween1.delay = _consoleSettings.hudMessageDisplayTime
+			__tween1.fadeTo(0);
+			__tween1.onComplete = function():void
 			{
 				_hudContainer.removeChild(hudLabelContainer);
 			};
-
+			Starling.juggler.add(__tween1);
+
 			// TODO use the correct API, currently there is a problem with List max vertical position. A bug in foxhole?
 			_list.verticalScrollPosition = Math.max(_list.dataProvider.length * 20 - _list.height, 0);


Transferred from the Adobe Open Source Subversion Repository

Revision: 20374
Author:   smgilson@adobe.com
Date:     2011-02-18T14:57:58.468559Z

Log Message:
-----------
ASdoc leanup - fix broken links, update for event name changes, remove FlashPlayer version tags.

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/supportClasses/StyleableTextField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/managers/PersistenceManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/styles/metadata/GapStyles.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewReturnObject.as</path>
<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/supportClasses/ViewNavigatorApplicationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/TextInputOperation.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/managers/IPersistenceManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/styles/metadata/StyleableTextFieldTextStyles.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewReturnObject.as
+++ frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewReturnObject.as
@@ -20,7 +20,7 @@
  *  ViewNavigator.pushView() method.
  *
  *  @see spark.components.View
- *  @see spark.components.ViewNavigator#pushView
+ *  @see spark.components.ViewNavigator#pushView()
  *
  *  @langversion 3.0
  *  @playerversion AIR 2.5
@@ -67,7 +67,7 @@
      *  The context identifier passed to the popped view when it was pushed
      *  onto the navigation stack.
      *
-     *  @see spark.components.ViewNavigator#pushView
+     *  @see spark.components.ViewNavigator#pushView()
      *
      *  @langversion 3.0
      *  @playerversion AIR 2.5


Transferred from the Adobe Open Source Subversion Repository

Revision: 11247
Author:   klin@adobe.com
Date:     2009-10-28T21:59:11.963883Z

Log Message:
-----------
Fix for https://bugs.adobe.com/jira/browse/SDK-23184.

Updated a bunch of Style metadata ASDocs to describe different defaults between the Halo and Spark themes. Also, fixed a few typos along the way.

defaults.css - rearranged a few styles to be in alphabetical order
Button.as - removed extra emphasizedSkin style metadata
Panel.as - added spark theme to borderAlpha metadata

QE notes: None
Doc notes: None
Bugs: SDK-23184
Reviewer: Glenn
Tests run: checkintests
Is noteworthy for integration: No

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/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ButtonBarButton.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/DateChooser.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/halo/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/fl/video/NCManagerNative.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/styles/metadata/SkinStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexModuleFactory.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/TreeItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/TextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/LinkButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/menuClasses/MenuItemRenderer.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/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/containers/Panel.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/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PopUpMenuIcon.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/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/PaddingStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/GapStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.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/spark/src/fl/video/NCManagerDynamicStream.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/LinkBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/FocusStyles.as</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/spark/src/spark/primitives/BitmapImage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/StrokedElement.as</path>

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

--- frameworks/projects/mx/src/mx/containers/Accordion.as
+++ frameworks/projects/mx/src/mx/containers/Accordion.as
@@ -113,7 +113,9 @@

 /**
  *  Duration, in milliseconds, of the animation from one child to another.
- *  The default value is 250.
+ *
+ *  The default value for the Halo theme is 250.
+ *  The default value for the Spark theme is 0.
  *
  *  @langversion 3.0
  *  @playerversion Flash 9
@@ -158,7 +160,9 @@

 /**
  *  Color of header text when rolled over.
- *  The default value is 0x2B333C.
+ *
+ *  The default value for the Halo theme is 0x2B333C.
+ *  The default value for the Spark theme is 0x000000.
  *
  *  @langversion 3.0
  *  @playerversion Flash 9
@@ -169,7 +173,9 @@

 /**
  *  Color of selected text.
- *  The default value is 0x2B333C.
+ *
+ *  The default value for the Halo theme is 0x2B333C.
+ *  The default value for the Spark theme is 0x000000.
  *
  *  @langversion 3.0
  *  @playerversion Flash 9


Transferred from the Adobe Open Source Subversion Repository

Revision: 6919
Author:   smgilson@adobe.com
Date:     2009-05-14T18:09:59.289095Z

Log Message:
-----------
Update ASdoc for 3D effects

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>

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

--- frameworks/projects/spark/src/spark/effects/Move3D.as
+++ frameworks/projects/spark/src/spark/effects/Move3D.as
@@ -16,27 +16,56 @@
 import spark.effects.supportClasses.AnimateTransformInstance;

 /**
- * This class is a utility wrapper around the AnimateTransform effect, exposing the
- * properties that make sense for someone wishing to merely move a target object
- * in 3D. An important difference between this TransformMove
- * effect and the previous Move effect is that the x and y property specifications
- * for TransformMove specify not absolute values of the x/y point on the target
- * object, but rather the change in x/y that should occur to the center around
- * which the overall transform is occuring. So if, for example, the
- * autoCenterTransform property is set, then the from/to/by values
- * in this effect will define how much to move the center of the target, not the
- * (x,y) of the target.
+ *  The Move3D class moves a target object in the x, y, and z dimensions.
+ *  The x, y, and z property specifications of the Move3D effect specify
+ *  the change in x, y, and z that should occur to the transform center around
+ *  which the overall transform effect occurs.
  *
- *
Like all AnimateTransform-based effects, this effect will only work on subclasses
- * of UIComponent and GraphicElement, as these effects depend on specific
- * transform functions in those classes. Also, all of these effects run one single
- * effect instance on any given target at a time, which means that they will
- * share the transform center set by any of the contributing effects.

+ *
Like all AnimateTransform-based effects, this effect only works on subclasses
+ *  of UIComponent and GraphicElement, as these effects depend on specific
+ *  transform functions in those classes.
+ *  Also, transform effects running in parallel on the same target run as a single
+ *  effect instance
+ *  Therefore, the transform effects share the transform center
+ *  set by any of the contributing effects.

+ *
+ *  @mxml
+ *
+ *
The <mx:Move3D> tag
+ *  inherits all of the tag attributes of its superclass,
+ *  and adds the following tag attributes:

+ *
+ *

+ *  <mx:Move3D
+ *    Properties
+ *    id="ID"
+ *    zBy="no default"
+ *    zFrom="no default"
+ *    zTo="no default"
+ *  />
+ *

+ *
+ *  @see spark.effects.Move
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 public class Move3D extends Move
 {
     include "../core/Version.as";

+    /**
+     *  Constructor.
+     *
+     *  @param target The Object to animate with this effect.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
     public function Move3D(target:Object=null)
     {
         super(target);
@@ -52,8 +81,13 @@
     [Inspectable(category="General", defaultValue="NaN")]

     /**
-     *  Number of pixels by which to modify the z of the component.
+     *  Number of pixels by which to modify the z position of the target.
      *  Values may be negative.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public var zBy:Number;

@@ -64,10 +98,14 @@
     [Inspectable(category="General", defaultValue="NaN")]

     /**
-     *  Initial z.
-     *  If omitted, Flex uses either the value in the start state,
-     *  if the effect is playing in a state transition, or the current
-     *  value in the target.
+     *  Initial z position of the target.
+     *  If omitted, Flex uses either the value in the starting view state,
+     *  if the effect is playing in a transition, or the current value of the target.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public var zFrom:Number;

@@ -78,10 +116,14 @@
     [Inspectable(category="General", defaultValue="NaN")]

     /**
-     *  Final z
-     *  If omitted, Flex uses either the value in the end state,
-     *  if the effect is playing in a state transition, or the current
-     *  value in the target.
+     *  Final z position of the target.
+     *  If omitted, Flex uses either the value in the starting state,
+     *  if the effect is playing in a state transition, or the current value of the target.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public var zTo:Number;


Transferred from the Adobe Open Source Subversion Repository

Revision: 8486
Author:   smgilson@adobe.com
Date:     2009-07-09T18:42:45.734868Z

Log Message:
-----------
Third checkin to update the namespace in ASDoc MXML syntax descriptions for Spark components

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

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

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

--- frameworks/projects/spark/src/spark/components/Spinner.as
+++ frameworks/projects/spark/src/spark/components/Spinner.as
@@ -124,7 +124,7 @@
  *
  *  @mxml
  *
- *
The <Spinner> tag inherits all of the tag
+ *
The <s:Spinner> tag inherits all of the tag
  *  attributes of its superclass and adds the following tag attributes:

  *
  *


Transferred from the Adobe Open Source Subversion Repository

Revision: 6007
Author:   rfrishbe@adobe.com
Date:     2009-04-07T23:16:16.414772Z

Log Message:
-----------
Cleaning up what’s in the spark-manifest.xml file (removed interfaces,helper classes, effect instance classes, skins, and item renderers).  This means these components can’t be instantiated in MXML or styled through CSS type selectors.  Because the skins can no longer be styleable via type-selectors, there's an accompying change here so that all skins get their styles from their host component.

This means, we can do something like:

@namespace "library://ns.adobe.com/flex/spark";
Button {
    myRandomStyle: red;
}

And the ButtonSkin will get that style.  You can also do it directly on the skin (though we don’t think many people will do this), just not through the spark library namespace:

@namespace "spark.skins.default.*";
ButtonSkin
{
    myRandomStyle: red;
}

QE Notes: We should add tests to make sure styles get passed from the component to the skin correctly.
Doc Notes: -
Bugs: -
Reviewer: Glenn
tests: checkintests, mustella SkinnableComponent

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/Flex4Classes.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>

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

--- frameworks/projects/spark/src/SparkClasses.as
+++ frameworks/projects/spark/src/SparkClasses.as
@@ -32,6 +32,10 @@
 import spark.skins.default.ButtonBarMiddleButtonSkin; ButtonBarMiddleButtonSkin;
 import spark.skins.default.ButtonBarLastButtonSkin; ButtonBarLastButtonSkin;
 import spark.skins.default.CheckBoxSkin; CheckBoxSkin;
+import spark.skins.default.DefaultButtonSkin; DefaultButtonSkin;
+import spark.skins.default.DefaultComplexItemRenderer; DefaultComplexItemRenderer;
+import spark.skins.default.DefaultItemRenderer; DefaultItemRenderer;
+import spark.skins.default.DropDownListButtonSkin; DropDownListButtonSkin;
 import spark.skins.default.DropDownListSkin; DropDownListSkin;
 import spark.skins.default.FocusSkin; FocusSkin;
 import spark.skins.default.HScrollBarSkin; HScrollBarSkin;
@@ -48,6 +52,8 @@
 import spark.skins.default.ScrollBarLeftButtonSkin; ScrollBarLeftButtonSkin;
 import spark.skins.default.ScrollBarRightButtonSkin; ScrollBarRightButtonSkin;
 import spark.skins.default.ScrollerSkin; ScrollerSkin;
+import spark.skins.default.SkinnableContainerSkin; SkinnableContainerSkin;
+import spark.skins.default.SkinnableDataContainerSkin; SkinnableDataContainerSkin;
 import spark.skins.default.SpinnerDecrButtonSkin; SpinnerDecrButtonSkin;
 import spark.skins.default.SpinnerIncrButtonSkin; SpinnerIncrButtonSkin;
 import spark.skins.default.SpinnerSkin; SpinnerSkin;
@@ -57,6 +63,7 @@
 import spark.skins.default.VideoPlayerSkin; VideoPlayerSkin;
 import spark.skins.default.VScrollBarSkin; VScrollBarSkin;
 import spark.skins.default.VScrollBarThumbSkin; VScrollBarThumbSkin;
+import spark.skins.default.VScrollBarTrackSkin; VScrollBarTrackSkin;
 import spark.skins.default.VSliderSkin; VSliderSkin;
 import spark.skins.default.VSliderThumbSkin; VSliderThumbSkin;
 import spark.skins.default.VSliderTrackSkin; VSliderTrackSkin;


Transferred from the Adobe Open Source Subversion Repository

Revision: 11574
Author:   egeorgie@adobe.com
Date:     2009-11-09T18:53:35.299310Z

Log Message:
-----------
Drag and Drop - Bug fixes:
- Added slight delay before drag-scrolling start.
- Single selection ctrl+drag fixed.
- Default drop indicator for List that doesn't have drop indicator specified in its skin. The default DI is specified through the new dropIndicatorSkin List style.
- Memory leak for the drop indicator dynamic skin part.
- ListItemDragProxy incorrectly listed in spark-manifest.xml moved to SparkClassess.

QE notes: None
Doc notes: None
Bugs: SDK-24047, SDK-23999, SDK-23871
Reviewer: Glenn, Deepa
Tests run: checkintests, mustella (List, ListDragDrop)
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/SparkClasses.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/spark-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ListDropIndicator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/DropLocation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>

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

--- frameworks/projects/spark/src/SparkClasses.as
+++ frameworks/projects/spark/src/SparkClasses.as
@@ -27,6 +27,7 @@
 import mx.controls.MXFTETextInput; MXFTETextInput;
 import mx.core.UIFTETextField; UIFTETextField;
 import spark.core.SpriteVisualElement; SpriteVisualElement;
+import spark.components.supportClasses.ListItemDragProxy; ListItemDragProxy;
 import spark.primitives.supportClasses.shaders.ColorBurnShader; ColorBurnShader;
 import spark.primitives.supportClasses.shaders.ColorDodgeShader; ColorDodgeShader;
 import spark.primitives.supportClasses.shaders.ColorShader; ColorShader;
@@ -60,6 +61,7 @@
 import spark.skins.spark.HSliderSkin; HSliderSkin;
 import spark.skins.spark.HSliderThumbSkin; HSliderThumbSkin;
 import spark.skins.spark.HSliderTrackSkin; HSliderTrackSkin;
+import spark.skins.spark.ListDropIndicator; ListDropIndicator;
 import spark.skins.spark.ListSkin; ListSkin;
 import spark.skins.spark.mediaClasses.normal.MuteButtonSkin; MuteButtonSkin;
 import spark.skins.spark.mediaClasses.normal.ScrubBarSkin; ScrubBarSkin;


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

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


Transferred from the Adobe Open Source Subversion Repository

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

--- frameworks/projects/rpc/src/mx/rpc/CallResponder.as
+++ frameworks/projects/rpc/src/mx/rpc/CallResponder.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-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.
 //
 ////////////////////////////////////////////////////////////////////////////////


Transferred from the Adobe Open Source Subversion Repository

Revision: 2464
Author:   jimurphy@adobe.com
Date:     2008-07-14T19:50:33.449468Z

Log Message:
-----------
add flex 4 to trunk

Modified Paths:
--------------
134 paths were modified

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

--- frameworks/projects/spark/src/spark/effects/Fade.as
+++ frameworks/projects/spark/src/spark/effects/Fade.as
@@ -0,0 +1,109 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 flex.effects
+{
+import flex.effects.effectClasses.FadeInstance;
+
+import mx.effects.IEffectInstance;
+
+public class Fade extends AnimateProperties
+{
+    public function Fade(target:Object=null)
+    {
+        super(target);
+        instanceClass = FadeInstance;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  alphaFrom
+    //----------------------------------
+
+    [Inspectable(category="General", defaultValue="undefined")]
+
+    /**
+     *  Initial transparency level between 0.0 and 1.0,
+     *  where 0.0 means transparent and 1.0 means fully opaque.
+     *
+     *
If the effect causes the target component to disappear,
+     *  the default 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.

+     */
+    public var alphaFrom:Number;
+
+    //----------------------------------
+    //  alphaTo
+    //----------------------------------
+
+    [Inspectable(category="General", defaultValue="NaN")]
+
+    /**
+     *  Final transparency level,
+     *  where 0.0 means transparent and 1.0 means fully opaque.
+     *
+     *
If the effect causes the target component to disappear,
+     *  the default 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.

+     */
+    public var alphaTo:Number;
+
+    //--------------------------------------------------------------------------
+    //
+    // Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override protected function initInstance(instance:IEffectInstance):void
+    {
+        super.initInstance(instance);
+
+        var fadeInstance:FadeInstance = FadeInstance(instance);
+
+        fadeInstance.alphaFrom = alphaFrom;
+        fadeInstance.alphaTo = alphaTo;
+    }
+
+    /**
+     *  @private
+     */
+    override public function getAffectedProperties():Array /* of String */
+    {
+        return ["alpha", "visible", "parent", "elementHost"];
+    }
+
+    override protected function applyValueToTarget(target:Object,
+                                                   property:String,
+                                                   value:*,
+                                                   props:Object):void
+    {
+        // We only want to track these properties as they affect how
+        // we fade; we don't actually want to change target properties
+        // other than alpha or visibility
+        if (property == "parent" || property == "elementHost")
+            return;
+
+        super.applyValueToTarget(target, property, value, props);
+    }
+}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 12469
Author:   jimurphy@adobe.com
Date:     2009-12-03T22:04:16.560316Z

Log Message:
-----------
fix offsets for FB.  Convert line ending from lf to crlf in svn for the proects directory only.  When checking project files in, be sure to save you files this way.  Another update to make sure happens is set the svn properties svn:eol-style = native and svn:mime-type = text/plain (these have been updated on theses files as well)

QE notes: make sure the proper class is selected
Doc notes: no
Bugs: http://bugs.adobe.com/jira/browse/SDK-24498
Reviewer:
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
133 paths were modified

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

--- frameworks/projects/spark/src/spark/effects/Wipe.as
+++ frameworks/projects/spark/src/spark/effects/Wipe.as
@@ -149,4 +149,4 @@
     }

 }
-}+}


total percent calculations fixes

total percent calculations fixes

--- src/flash/FilesQueue.as
+++ src/flash/FilesQueue.as
@@ -123,8 +123,8 @@
 		}

 		public function progress(e:ProgressEvent):void {
-			bytesLoaded += e.bytesLoaded;
-			bytesCurrent +=  e.bytesLoaded;
+			bytesLoaded += e.bytesLoaded-bytesCurrent;
+			bytesCurrent =  e.bytesLoaded;

 			notify('progress', {
 				   percent: 		(e.bytesLoaded / e.bytesTotal) * 100,


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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorTabBarLastTabSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorTabBarLastTabSkin.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.
 //
 ////////////////////////////////////////////////////////////////////////////////


添加一个定时刷新以提高Output性能

添加一个定时刷新以提高Output性能

--- src/net/manaca/logging/publishers/Output.as
+++ src/net/manaca/logging/publishers/Output.as
@@ -16,6 +16,7 @@
 import flash.text.TextFieldType;
 import flash.text.TextFormat;
 import flash.utils.getQualifiedClassName;
+import flash.utils.setTimeout;

 import net.manaca.errors.SingletonError;
 import net.manaca.logging.ILogPublisher;
@@ -47,61 +48,73 @@
     /**
      * max text show length number.
      */
-    static public var MAX_TXT_LENGTH:int = 1000;
+    public static var MAX_TXT_LENGTH:int = 1000;
+
     /**
      * max text show line number.
      */
-    static public var MAX_LINE:int = 50;
-
+    public static var MAX_LINE:int = 50;
+
     //is outo expand.
-    static private var autoExpand:Boolean = true;
+    private static var autoExpand:Boolean = true;
+
     //the yes/no strong.
-    static private var isStrong:Boolean = false;
-
-    static private var title:String = "Wersling Output v2.0.1";
+    private static var isStrong:Boolean = false;
+
+    private static var title:String = "Wersling Output v2.1";
+
     /**
      *  @private
      */
-    static public var instance:Output;
-
+    public static var instance:Output;
+
     //==========================================================================
     //  Variables
     //==========================================================================
     //log history list.
     private var history:Array = new Array();
+
     //default text format
-    private const defaultTextFormat:TextFormat = new TextFormat("Verdana,Tahoma,_sans");
+    private const defaultTextFormat:TextFormat =
+        new TextFormat("Verdana,Tahoma,_sans");
+
     //search text field
     private var searchLabel:TextField;
+
     private var searchLabelBg:TextField;
+
     //content text field
     private var outputTxt:TextField;
+
     //title bar
     private var titleBar:Sprite;
+
     //the out put parent.
     private var _parent:DisplayObjectContainer;
-
+
+    private var invalidateTimeOut:int = 0;
     //------------------------
     //  private const
     //------------------------
     [Embed("images/delete.gif")]
     private var deleteIcon:Class;
-
+
     [Embed("images/pin.gif")]
     private var pinIcon:Class;
-
+
     [Embed("images/unpin.gif")]
     private var unpinIcon:Class;
-
+
     [Embed("images/close.gif")]
     private var closeIcon:Class;
-
-    private const textClolors:Array = [ "#666666","#0066FF","#FFCC00","#FF0000","#CC0000","#000000" ];
-
+
+    private const textClolors:Array =
+        [ "#666666", "#0066FF", "#FFCC00", "#FF0000", "#CC0000", "#000000" ];
+
     //==========================================================================
     //  Constructor
     //==========================================================================
-
+
     /**
      * Output Constructor.
      * Create a new Output instance.
@@ -114,28 +127,29 @@
         {
             throw new SingletonError(this);
         }
-
+
         instance = this;
         isStrong = strong;
-
+
         this.level = LogLevel.ALL;
         // init ui
         addChild(newOutputField(outputHeight));
         addChild(newTitleBar());
-
+
         // add listener
         addEventListener(Event.ADDED, addedHandler);
         addEventListener(Event.REMOVED, removedHandler);
-
+
         Tracer.logger.addPublisher(this);
-
-        Tracer.info("FlashPlayer version:" + Capabilities.version + "; isDebugger: " + Capabilities.isDebugger);
-    }
-
+
+        Tracer.info("FlashPlayer version:" +
+            Capabilities.version + "; isDebugger: " + Capabilities.isDebugger);
+    }
+
     //==========================================================================
     //  Properties
     //==========================================================================
-
+
     //----------------------------------
     //  level
     //----------------------------------
@@ -144,7 +158,7 @@
      * Storage for the level property.
      */
     private var _level:LogLevel;
-
+
     /**
      * @inheritDoc
      */
@@ -152,16 +166,16 @@
     {
         return _level;
     }
-
+
     public function set level(value:LogLevel):void
     {
         _level = value;
     }
-
+
     //==========================================================================
     //  Methods
     //==========================================================================
-
+
     /**
      * @inheritDoc
      */
@@ -172,7 +186,7 @@
             addMsg(this.format(logRecord), logRecord.getLevel().value);
         }
     }
-
+
     /**
      * Format the provide logRecord to string.
      *
@@ -185,29 +199,31 @@
     private function format(logRecord:LogRecord):String
     {
         var formatted:String;
-        formatted = "[" + logRecord.getLevel().name + "]  " + logRecord.getDate().toTimeString().slice(0, 8) + "  " + StringUtil.htmlEncode(logRecord.getMessage());
+        formatted = "[" + logRecord.getLevel().name + "]  " +
+            logRecord.getDate().toTimeString().slice(0, 8) + "  " +
+            StringUtil.htmlEncode(logRecord.getMessage());
         return formatted;
     }
-
+
     /**
      * @inheritDoc
      */
     public function isLoggable(logRecord:LogRecord):Boolean
     {
-        if( this.level > logRecord.getLevel() )
-        {
-
+        if (this.level > logRecord.getLevel())
+        {
+
             return false;
         }
-
+
         return true;
     }
-
-
+
+
     //-------------------------------------------------------------------
     // private Methods
     //-------------------------------------------------------------------
-
+
     /**
      * add a massage to output.
      * @param str
@@ -216,14 +232,23 @@
      */
     private function addMsg(str:*, level:uint):void
     {
-        if (!instance) return;
-
-        if(isStrong)
-        {
-            history.push({msg:str, level:getColorTextByLevel(str, level)});
-
-            if(history.length > MAX_LINE) history.shift();
-            if(_parent && _parent.contains(this)) updateHtmlText();
+        if (!instance)
+        {
+            return;
+        }
+
+        if (isStrong)
+        {
+            history.push({ msg:str, level:getColorTextByLevel(str, level)});
+
+            if (history.length > MAX_LINE)
+            {
+                history.shift();
+            }
+            if (_parent && _parent.contains(this))
+            {
+                invalidateHtmlText();
+            }
         }
         else
         {
@@ -235,28 +260,41 @@
             outputTxt.scrollV = outputTxt.maxScrollV;
             outputTxt.setTextFormat(defaultTextFormat);
         }
-
-        if (autoExpand && !outputTxt.visible) toggleCollapse();
-    }
-
+
+        if (autoExpand && !outputTxt.visible)
+        {
+            toggleCollapse();
+        }
+    }
+
+    private function invalidateHtmlText(...arg):void
+    {
+        if(!invalidateTimeOut)
+        {
+            invalidateTimeOut = setTimeout(updateHtmlText, 500);
+        }
+    }
     /**
      * update the heml text.
      */
-    private function updateHtmlText(e:Event = null):void
-    {
-
-        if(!outputTxt.visible || !isStrong) return ;
+    private function updateHtmlText():void
+    {
+        invalidateTimeOut = 0;
+        if (!outputTxt.visible || !isStrong)
+        {
+            return;
+        }
         var str:String = "";
         var len:uint = instance.history.length;
-
+
         var i:uint;
-        if(searchLabel.text.length > 0)
+        if (searchLabel.text.length > 0)
         {
             var serach_str:String = searchLabel.text;
-            for( i = 0 ;i < len; i++ )
+            for (i = 0; i < len; i++)
             {
                 var s:String = instance.history[i].msg;
-                if(s.indexOf(serach_str) != -1)
+                if (s.indexOf(serach_str) != -1)
                 {
                     str = str + instance.history[i].level + "
";
                 }
@@ -264,7 +302,7 @@
         }
         else
         {
-            for( i = 0 ;i < len; i++ )
+            for (i = 0; i < len; i++)
             {
                 str = str + instance.history[i].level + "
";
             }
@@ -274,7 +312,7 @@
         instance.outputTxt.setTextFormat(defaultTextFormat);
         outputTxt.scrollV = outputTxt.maxScrollV;
     }
-
+
     /**
      * get a text field.
      * @param outputHeight
@@ -286,14 +324,14 @@
         outputTxt = new TextField();
         outputTxt.type = TextFieldType.INPUT;
         outputTxt.border = true;
-        outputTxt.borderColor = 0xA7A7A7;
+        outputTxt.borderColor = 0;
         outputTxt.background = true;
         outputTxt.backgroundColor = 0xFFFFFF;
         outputTxt.height = outputHeight;
         outputTxt.multiline = true;
         return outputTxt;
     }
-
+
     /**
      * get a title bar.
      * @return
@@ -310,10 +348,10 @@
         var gradientMatrix:Matrix = new Matrix();
         gradientMatrix.createGradientBox(20, 20, Math.PI / 2, 0, 0);
         barGraphics.graphics.lineStyle(0, 0xA7A7A7);
-        barGraphics.graphics.beginGradientFill(GradientType.LINEAR, colors,
-            alphas, ratios, gradientMatrix);
+        barGraphics.graphics.beginGradientFill(
+            GradientType.LINEAR, colors, alphas, ratios, gradientMatrix);
         barGraphics.graphics.drawRect(0, 0, 20, 20);
-
+
         //title
         var barLabel:TextField = new TextField();
         barLabel.mouseEnabled = false;
@@ -323,30 +361,32 @@
         barLabel.setTextFormat(defaultTextFormat);
         barLabel.x = 2;
         barLabel.y = 1;
-
-        if(isStrong)
+
+        if (isStrong)
         {
             //tools
             var tools:Sprite = new Sprite();
             tools.name = "tools";
-
+
             //search bg
             var searchBg:Shape = new Shape();
             searchBg.graphics.beginFill(0x94959D);
             searchBg.graphics.drawRect(0, 0, 120, 17);
             searchBg.graphics.beginFill(0xFFFFFF);
             searchBg.graphics.drawRect(1, 1, 118, 15);
-
+
             //search text
             searchLabel = new TextField();
             searchLabel.type = TextFieldType.INPUT;
             searchLabel.width = 120;
             searchLabel.height = 18;
             searchLabel.defaultTextFormat = defaultTextFormat;
-            searchLabel.addEventListener(Event.CHANGE, updateHtmlText);
-            searchLabel.addEventListener(FocusEvent.FOCUS_IN, searchTextFocusEventHandler);
-            searchLabel.addEventListener(FocusEvent.FOCUS_OUT, searchTextFocusEventHandler);
-
+            searchLabel.addEventListener(Event.CHANGE, invalidateHtmlText);
+            searchLabel.addEventListener(FocusEvent.FOCUS_IN,
+                searchTextFocusEventHandler);
+            searchLabel.addEventListener(FocusEvent.FOCUS_OUT,
+                searchTextFocusEventHandler);
+
             searchLabelBg = new TextField();
             searchLabelBg.width = 120;
             searchLabelBg.height = 18;
@@ -361,9 +401,9 @@
             var clearButUp:DisplayObject = new deleteIcon() as DisplayObject;
             clearBut.addChild(clearButUp);
             clearBut.addEventListener(MouseEvent.CLICK, clear);
-
+
             clearBut.x = searchBg.x + searchBg.width + 4;
-
+
             //pin butten
             var pinBut:Sprite = new Sprite();
             pinBut.buttonMode = true;
@@ -371,14 +411,14 @@
             pin.name = "pin";
             var unpin:DisplayObject = new unpinIcon() as DisplayObject;
             unpin.name = "unpin";
-
+
             pinBut.addChild(pin);
             pinBut.addChild(unpin);
             unpin.visible = false;
             pinBut.x = clearBut.x + clearBut.width + 4;
             pinBut.y = 3;
             pinBut.addEventListener(MouseEvent.CLICK, pinCollapse);
-
+
             //close butten
             var closeBut:Sprite = new Sprite();
             closeBut.buttonMode = true;
@@ -386,7 +426,7 @@
             closeBut.addChild(closeUp);
             closeBut.x = pinBut.x + pinBut.width + 5;
             closeBut.addEventListener(MouseEvent.CLICK, closeButtonHandler);
-
+
             tools.addChild(searchBg);
             tools.addChild(searchLabelBg);
             tools.addChild(searchLabel);
@@ -395,15 +435,18 @@
             tools.addChild(closeBut);
             tools.y = 2;
         }
-
+
         titleBar = new Sprite();
         titleBar.addChild(barGraphics);
-        if(isStrong) titleBar.addChild(tools);
+        if (isStrong)
+        {
+            titleBar.addChild(tools);
+        }
         titleBar.addChild(barLabel);
         return titleBar;
     }
-
-
+
+
     /**
      * get color text.
      * @param msg
@@ -417,31 +460,43 @@
         switch (level)
         {
             case LogLevel.DEBUG.value:
+            {
                 colr = textClolors[0];
                 break;
+            }
             case LogLevel.INFO.value:
+            {
                 colr = textClolors[1];
                 space = "   ";
                 break;
+            }
             case LogLevel.WARN.value:
+            {
                 colr = textClolors[2];
                 space = " ";
                 break;
+            }
             case LogLevel.ERROR.value:
+            {
                 colr = textClolors[3];
                 break;
+            }
             case LogLevel.FATAL.value:
+            {
                 colr = textClolors[4];
                 space = " ";
                 break;
-            default :
+            }
+            default:
+            {
                 colr = textClolors[5];
                 break;
-        }
-
+            }
+        }
+
         return "" + space + msg + "";
     }
-
+
     //==========================================================================
     //  Event handlers
     //==========================================================================
@@ -454,17 +509,17 @@
         _parent = this.parent;
         stage.addEventListener(Event.RESIZE, fitToStage);
         stage.addEventListener(KeyboardEvent.KEY_UP, shortcutKey);
-
+
         titleBar.getChildByName("bar").addEventListener(MouseEvent.CLICK, toggleCollapse);
-
+
         fitToStage();
-
-        if(isStrong && history.length > 0)
-        {
-            updateHtmlText();
-        }
-    }
-
+
+        if (isStrong && history.length > 0)
+        {
+            invalidateHtmlText();
+        }
+    }
+
     /**
      * The Output removed event handler.
      *
@@ -472,10 +527,10 @@
     private function removedHandler(evt:Event):void
     {
         stage.removeEventListener(Event.RESIZE, fitToStage);
-
+
         titleBar.removeEventListener(MouseEvent.CLICK, toggleCollapse);
     }
-
+
     /**
      * toggle event handler.
      * @param evt
@@ -483,13 +538,14 @@
      */
     private function toggleCollapse(evt:Event = null):void
     {
-        if (!instance) return;
+        if (!instance)
+            return;
         outputTxt.visible = !outputTxt.visible;
-        updateHtmlText();
+        invalidateHtmlText();
         fitToStage(evt);
     }
-
-
+
+
     /**
      * pin or unpin the output.
      * @param e
@@ -499,13 +555,13 @@
     {
         var pin:DisplayObject = Sprite(e.target).getChildByName("pin");
         var unpin:DisplayObject = Sprite(e.target).getChildByName("unpin");
-
+
         pin.visible = !pin.visible;
         unpin.visible = !unpin.visible;
-
+
         autoExpand = pin.visible;
     }
-
+
     /**
      * change the output size.
      * @param evt
@@ -513,23 +569,21 @@
      */
     private function fitToStage(evt:Event = null):void
     {
-        if (!stage) return;
-        var w:int = stage.stageWidth - 1;
-
-        outputTxt.width = w;
-        outputTxt.y = stage.stageHeight - outputTxt.height - 1;
+        if (!stage)
+            return;
+        outputTxt.width = stage.stageWidth;
+        outputTxt.y = stage.stageHeight - outputTxt.height;
         titleBar.y = (outputTxt.visible) ?
-            outputTxt.y - titleBar.height :
-            stage.stageHeight - titleBar.height - 1;
-        titleBar.getChildByName("bar").width = w;
-
-        if(isStrong)
+            outputTxt.y - titleBar.height : stage.stageHeight - titleBar.height;
+        titleBar.getChildByName("bar").width = stage.stageWidth;
+
+        if (isStrong)
         {
             var tools:DisplayObject = titleBar.getChildByName("tools");
-            tools.x = w - tools.width - 4;
-        }
-    }
-
+            tools.x = stage.stageWidth - tools.width - 4;
+        }
+    }
+
     /**
      * remove the output.
      * @param e
@@ -537,12 +591,12 @@
      */
     private function closeButtonHandler(e:MouseEvent = null):void
     {
-        if(parent && parent.contains(this))
+        if (parent && parent.contains(this))
         {
             parent.removeChild(this);
         }
     }
-
+
     /**
      * shortcutKey handler.
      * @param e
@@ -550,23 +604,23 @@
     private function shortcutKey(e:KeyboardEvent):void
     {
         var effective:Boolean = false;
-        if(e.shiftKey && e.altKey && e.ctrlKey && e.keyCode == 79)
+        if (e.shiftKey && e.altKey && e.ctrlKey && e.keyCode == 79)
         {
             effective = true;
         }
-
-        if(Capabilities.os.toLowerCase().indexOf("mac") != -1)
-        {
-            if(e.shiftKey && e.ctrlKey && e.keyCode == 15)
+
+        if (Capabilities.os.toLowerCase().indexOf("mac") != -1)
+        {
+            if (e.shiftKey && e.ctrlKey && e.keyCode == 15)
             {
                 effective = true;
             }
         }
-        if(effective)
-        {
-            if(instance && _parent != null)
-            {
-                if(parent && parent.contains(this))
+        if (effective)
+        {
+            if (instance && _parent != null)
+            {
+                if (parent && parent.contains(this))
                 {
                     parent.removeChild(this);
                 }
@@ -578,7 +632,7 @@
             }
         }
     }
-
+
     /**
      * show/hide search tooltip.
      * @param e
@@ -586,26 +640,27 @@
      */
     private function searchTextFocusEventHandler(e:Event):void
     {
-        if(e.type == FocusEvent.FOCUS_IN)
+        if (e.type == FocusEvent.FOCUS_IN)
         {
             searchLabelBg.text = "";
         }
-        else if(e.type == FocusEvent.FOCUS_OUT && searchLabel.text.length == 0)
+        else if (e.type == FocusEvent.FOCUS_OUT && searchLabel.text.length == 0)
         {
             searchLabelBg.text = "Search";
         }
     }
-
+
     /**
      * clear all massage.
      */
     private function clear(e:MouseEvent):void
     {
         outputTxt.text = "";
-        if(searchLabel) searchLabel.text = "";
+        if (searchLabel)
+            searchLabel.text = "";
         history = new Array();
     }
-
+
     /**
      *
      * @return
@@ -615,7 +670,7 @@
     {
         return "[object " + getQualifiedClassName(this) + "]";
     }
-
+
     public function dispose():void
     {
         clear(null);


Flash, FileReaderSync: Do not throw exception for empty blobs.

--- src/flash/src/com/FileReaderSync.as
+++ src/flash/src/com/FileReaderSync.as
@@ -36,7 +36,7 @@

 			for each (src in blob._sources) {
 				if (src.buffer.isEmpty()) {
-					throw new DOMError(DOMError.NOT_READABLE_ERR);
+					break;
 				}

 				src.buffer.data.position = src.start;


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

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

 package mx.automation.delegates.controls
 {


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 10464
Author:   rfrishbe@adobe.com
Date:     2009-09-21T17:40:30.663638Z

Log Message:
-----------
Removing support in Flex framework for compatibility version < 3.  We won't support compatibility-version 2 or 2.01 anymore.  We only keep compatibility-version for one full release, so for Flex 4, we only support compatibility-version = 3.x.

This should reduce our code-size some as we no longer need this old code.  I didn't clean up the compiler's support for compatibility-versioning as it didn't seem worth the effort.

QE notes: -
Doc notes: -
Bugs: SDK-15360
Reviewer: Kevin
Tests run: checkintests, Joan ran all mustella tests
Is noteworthy for integration: Yes

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/skins/halo/HaloBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/accordionClasses/AccordionHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/CanvasLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/AccordionHeaderSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Alert.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/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeaderBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/TreeItemRenderer.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/framework/src/mx/containers/FormItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DateChooserYearArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/LinkButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/menuClasses/MenuBarItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PanelSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/menuClasses/MenuItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/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/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.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/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/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/skins/halo/ScrollTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/Flex.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/LinkBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>

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

--- frameworks/projects/mx/src/mx/controls/TextArea.as
+++ frameworks/projects/mx/src/mx/controls/TextArea.as
@@ -31,7 +31,6 @@
 import mx.controls.listClasses.IDropInListItemRenderer;
 import mx.controls.listClasses.IListItemRenderer;
 import mx.core.EdgeMetrics;
-import mx.core.FlexVersion;
 import mx.core.IDataRenderer;
 import mx.core.IFlexModuleFactory;
 import mx.core.IFontContextComponent;
@@ -406,15 +405,6 @@
      */
     override public function get baselinePosition():Number
     {
-        if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0)
-        {
-            var t:String = text;
-            if (!t || t == "")
-                t = " ";
-
-            return viewMetrics.top + measureText(t).ascent;
-        }
-
         if (!validateBaselinePosition())
             return NaN;


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

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

 package spark.primitives
 {


update version to v3.7

update version to v3.7

--- kdp3Lib/src/com/kaltura/kdpfl/ApplicationFacade.as
+++ kdp3Lib/src/com/kaltura/kdpfl/ApplicationFacade.as
@@ -32,7 +32,7 @@
 		/**
 		 * The current version of the KDP.
 		 */
-		public var kdpVersion : String = "v3.6.18_osmf2.0";
+		public var kdpVersion : String = "v3.7";

 		/**
 		 * save any mediator name that is registered to this array in order to delete at any time