Blacklist sound registers (for now)

Blacklist sound registers (for now)

--- index.as
+++ index.as
@@ -60,7 +60,7 @@

   // open_rom("./missile-command.gb");
   // open_rom("./tetris.gb");
-  open_rom("./dr-mario.gb");
+  // open_rom("./dr-mario.gb");
   // open_rom("./boxxle.gb");
   // open_rom("./super-mario-land.gb");

@@ -71,7 +71,7 @@
   // won't execute properly without MBC1 support, but the individual
   // Roms will work fine.

-  // open_rom("/Users/mehcode/Workspace/gb-test-roms/cpu_instrs/individual/01-special.gb");
+  open_rom("/Users/mehcode/Workspace/gb-test-roms/cpu_instrs/individual/01-special.gb");
   // open_rom("/Users/mehcode/Workspace/gb-test-roms/cpu_instrs/individual/02-interrupts.gb");

   // PASS
@@ -365,9 +365,26 @@
     return;
   }

+  // Sound Register
+  if (
+    (address >= 0xFF10 and address <= 0xFF14) or
+    (address >= 0xFF16 and address <= 0xFF1E) or
+    (address >= 0xFF20 and address <= 0xFF26) or
+    (address >= 0xFF30 and address <= 0xFF3F)
+  ) {
+    return sound_write(address, value);
+  }
+
+  // GPU Register
   if (address & 0xF0) >= 0x40 and (address & 0xF0) <= 0x70 {
-    // GPU Register
     return gpu_write(address, value);
+  }
+
+  // SB – Serial Transfer Data (R/W)
+  // SC – Serial Transfer Control (R/W)
+  if (address == 0xFF01 or address == 0xFF02) {
+    // TODO: Implement link cable / debug printout
+    return;
   }

   // IF – Interrupt Flag (R/W)
@@ -4307,6 +4324,14 @@
 }

 // =============================================================================
+// [SP] Sound
+// =============================================================================
+def sound_write(address: uint16, value: uint8) {
+  // TODO: Implement sound registers
+  // Do nothing (for now)
+}
+
+// =============================================================================
 // [GP] GPU
 // =============================================================================
 let gpu_mode: uint8;
@@ -4744,32 +4769,6 @@
     y += 1;
   }

-  // A tile is 8x8
-
-  // Render first tile
-  // let i = 0;
-  // while i < 16 {
-  //   let x = 0;
-  //   while x < 8 {
-  //     let y = 0;
-  //     while y < 8 {
-  //       let pixel = *(*(*(gpu_tiles + i) + y) + x);
-  //
-  //       if pixel == 0 {
-  //         SDL_SetRenderDrawColor(_renderer, 255, 255, 255, 255);
-  //       } else {
-  //         SDL_SetRenderDrawColor(_renderer, 0, 0, 0, 255);
-  //       }
-  //
-  //       SDL_RenderDrawPoint(_renderer, c_int(i * 8 + x), c_int(y));
-  //
-  //       y += 1;
-  //     }
-  //     x += 1;
-  //   }
-  //   i += 1;
-  // }
-
   SDL_RenderPresent(_renderer);
 }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

--- frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkScrollBarBaseAutomationImpl.as
+++ frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkScrollBarBaseAutomationImpl.as
@@ -0,0 +1,193 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package spark.automation.delegates.components.supportClasses
+{
+	import flash.display.DisplayObject;
+	import flash.events.Event;
+	import flash.events.IEventDispatcher;
+	import flash.events.MouseEvent;
+
+	import mx.automation.Automation;
+	import mx.automation.IAutomationObjectHelper;
+	import mx.core.mx_internal;
+	import mx.events.ScrollEvent;
+	import mx.managers.DragManager;
+
+	import spark.automation.events.SparkValueChangeAutomationEvent;
+	import spark.components.supportClasses.ScrollBarBase;
+
+	use namespace mx_internal;
+
+	[Mixin]
+	/**
+	 *
+	 *  Defines methods and properties required to perform instrumentation for the
+	 *  ScrollBarBase class.
+	 *
+	 *  @see spark.components.supportClasses.ScrollBarBase
+	 *
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 4
+	 */
+	public class SparkScrollBarBaseAutomationImpl extends SparkTrackBaseAutomationImpl
+	{
+		include "../../../../core/Version.as";
+
+		//--------------------------------------------------------------------------
+		//
+		//  Class methods
+		//
+		//--------------------------------------------------------------------------
+
+
+		/**
+		 *  Registers the delegate class for a component class with automation manager.
+		 *
+		 *  @param root The SystemManger of the application.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 4
+		 */
+		public static function init(root:DisplayObject):void
+		{
+			Automation.registerDelegateClass(spark.components.supportClasses.ScrollBarBase, SparkScrollBarBaseAutomationImpl);
+		}
+
+		//--------------------------------------------------------------------------
+		//
+		//  Constructor
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  Constructor.
+		 * @param obj ScrollBarBase object to be automated.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public function SparkScrollBarBaseAutomationImpl(obj:spark.components.supportClasses.ScrollBarBase)
+		{
+			super(obj);
+
+			obj.addEventListener(Event.CHANGE, scrollHandler, false, -1, true);
+		}
+
+		/**
+		 *  @private
+		 *  storage for the owner component
+		 */
+		protected function get scroll():spark.components.supportClasses.ScrollBarBase
+		{
+			return uiComponent as spark.components.supportClasses.ScrollBarBase;
+		}
+
+		//----------------------------------
+		//  automationValue
+		//----------------------------------
+
+		/**
+		 *  @private
+		 */
+		override public function get automationValue():Array
+		{
+			return [ scroll.value.toString() ];
+		}
+
+		/**
+		 *  @private
+		 *  Replays ScrollEvents.
+		 *  ScrollEvents are replayed by simply setting the
+		 *  verticalScrollPosition or
+		 *  horizontalScrollPosition properties of the instance.
+		 */
+		override public function replayAutomatableEvent(interaction:Event):Boolean
+		{
+			if ( interaction is SparkValueChangeAutomationEvent)
+			{
+				var event:SparkValueChangeAutomationEvent = SparkValueChangeAutomationEvent(interaction);
+				var currentChange:int = event.value -  scroll.value;
+				var target:IEventDispatcher = null;
+				if(DragManager.isDragging)
+				{
+					scroll.value = event.value;
+					scroll.validateNow();
+				}
+				else
+				{
+					var mouseEvent:MouseEvent = new MouseEvent(MouseEvent.CLICK);
+					if(currentChange == scroll.stepSize)
+					{
+						if(currentChange  > 0)
+							target = scroll.incrementButton;
+						else
+							target = scroll.decrementButton;
+					}
+					else
+					{
+						target = scroll.thumb;
+						if(currentChange  > 0)
+						{
+							mouseEvent.localX = scroll.width;
+							mouseEvent.localY = scroll.height;
+						}
+						else
+						{
+							mouseEvent.localX = 0;
+							mouseEvent.localY = 0;
+						}
+
+					}
+
+					scroll.value = event.value;
+					if (target)
+					{
+						var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+						help.replayClick(target, mouseEvent);
+					}
+				}
+				return true;
+			}
+			else
+			{
+				return super.replayAutomatableEvent(interaction);
+			}
+		}
+
+		//--------------------------------------------------------------------------
+		//
+		//  Event handlers
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  @private
+		 */
+		private function scrollHandler(event:Event):void
+		{
+			// the event does not give the details of the value. So we need to provide this
+			// so that replay can happen accordingly
+			var valueChangeEvent:SparkValueChangeAutomationEvent =
+				new SparkValueChangeAutomationEvent(
+					SparkValueChangeAutomationEvent.CHANGE,false,false,scroll.value);
+			recordAutomatableEvent(valueChangeEvent);
+		}
+
+	}
+}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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


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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/framework/src/mx/utils/object_proxy.as
+++ frameworks/projects/framework/src/mx/utils/object_proxy.as
@@ -0,0 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2006 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.utils
+{
+
+/**
+ *  Documentation is not currently available.
+ */
+public namespace object_proxy =
+	"http://www.adobe.com/2006/actionscript/flash/objectproxy";
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 17632
Author:   cframpto@adobe.com
Date:     2010-09-09T17:21:50.205953Z

Log Message:
-----------
CHB and DataGrid - remove unnecessay code

DataGroup - fix RTE in removeRendererAt which can happen if the renderer has already been recycled

Grid - fix interaction of generatedColumns with typicalItem and/or dataProvider changing, fix interaction of variableRowHeight and rowHeight, selection methods need to force validation before they can be done since pending dataProvider or column changes will reset the selection, update CHB when dp changes

GridDimension - add comment

QE notes:
Doc notes:
Bugs: sDK-27691, SDK-27393, SDK-27592, SDK-27590 SDK-27529
Reviewer:  Hans
Tests run: many many cyclones
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Grid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridDimensions.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ColumnHeaderBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>

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

--- frameworks/projects/spark/src/spark/components/DataGrid.as
+++ frameworks/projects/spark/src/spark/components/DataGrid.as
@@ -40,6 +40,7 @@
 import spark.events.GridEvent;
 import spark.events.GridSelectionEvent;
 import spark.events.GridSelectionEventKind;
+

 use namespace mx_internal;

@@ -602,12 +603,7 @@
     public function set columns(value:IList):void
     {
         if (setGridProperty("columns", value))
-        {
-            if (columnHeaderBar)
-                columnHeaderBar.dataProvider = columns;
-            // TBD This, and  grid_columnsChangedEventHandler() should do their job at commitProperties time
             dispatchChangeEvent("columnsChanged");
-        }
     }

     /**
@@ -2917,13 +2913,12 @@
     {
         if (columnHeaderBar && event.property == "horizontalScrollPosition")
             columnHeaderBar.horizontalScrollPosition = Number(event.newValue);
-    }
+    }

     protected function grid_columnsChangedEventHandler(event:Event):void
     {
         if (columnHeaderBar)
             columnHeaderBar.dataProvider = columns;
-        // TBD(hmuller) - should be done at commitproperties time
     }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 3789
Author:   gosmith@adobe.com
Date:     2008-10-21T19:55:26.771480Z

Log Message:
-----------
Integrated Build 192 of what used to be called TCAL (and, before that, Vellum).

The Text Component ActionScript Library (TCAL) has been renamed to the Text Layout Framework. Its classes are now in the package flashx.textLayout rather than in flashx.tcal, and they are packaged into SWCs named textLayout_xxx.swc rather than tcal_xxx.swc. The XML namespace for importable markup is now "http://ns.adobe.com/textLayout/2008" rather than "http://ns.adobe.com/tcal/2008".

QE Notes: Please update package names (and XML namespaces, if necessary) in all test files.
Doc Notes: Please eliminate all references to "Text Component ActionScript Library" or "TCAL" and use "Text Layout Framework" instead.
Bugs: -
Reviewer: -

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/events/TextOperationEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/utils/TextUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/libs/textLayout_conversion.swc</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/libs/textLayout_edit.swc</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/libs/tcal_conversion.swc</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/libs/tcal_edit.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/build.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/libs/textLayout_core.swc</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/libs/tcal_core.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxTextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Parser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/fxg-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextFlowComposer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>

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

--- frameworks/projects/spark/src/spark/components/RichText.as
+++ frameworks/projects/spark/src/spark/components/RichText.as
@@ -15,18 +15,18 @@
 import flash.display.DisplayObjectContainer;
 import flash.geom.Rectangle;

-import flashx.tcal.conversion.ITextImporter;
-import flashx.tcal.conversion.TextFilter;
-import flashx.tcal.elements.FlowElement;
-import flashx.tcal.elements.ParagraphElement;
-import flashx.tcal.elements.SpanElement;
-import flashx.tcal.elements.TextFlow;
-import flashx.tcal.formats.CharacterFormat;
-import flashx.tcal.formats.ContainerFormat;
-import flashx.tcal.formats.ICharacterFormat;
-import flashx.tcal.formats.IContainerFormat;
-import flashx.tcal.formats.IParagraphFormat;
-import flashx.tcal.formats.ParagraphFormat;
+import flashx.textLayout.conversion.ITextImporter;
+import flashx.textLayout.conversion.TextFilter;
+import flashx.textLayout.elements.FlowElement;
+import flashx.textLayout.elements.ParagraphElement;
+import flashx.textLayout.elements.SpanElement;
+import flashx.textLayout.elements.TextFlow;
+import flashx.textLayout.formats.CharacterFormat;
+import flashx.textLayout.formats.ContainerFormat;
+import flashx.textLayout.formats.ICharacterFormat;
+import flashx.textLayout.formats.IContainerFormat;
+import flashx.textLayout.formats.IParagraphFormat;
+import flashx.textLayout.formats.ParagraphFormat;

 import mx.core.mx_internal;
 import mx.graphics.graphicsClasses.TextFlowComposer;
@@ -406,11 +406,11 @@
      */
     private function importStringMarkup(markup:String):TextFlow
     {
-        markup = '<TextFlow xmlns="http://ns.adobe.com/tcal/2008">' +
+        markup = '<TextFlow xmlns="http://ns.adobe.com/textLayout/2008">' +
                  markup +
                  '</TextFlow>';

-        return TextFilter.importToFlow(markup, TextFilter.TCAL_FORMAT);
+        return TextFilter.importToFlow(markup, TextFilter.TEXT_LAYOUT_FORMAT);
     }

     /**
@@ -418,7 +418,7 @@
      */
     private function importXMLMarkup(markup:XML):TextFlow
     {
-        return TextFilter.importToFlow(markup, TextFilter.TCAL_FORMAT);
+        return TextFilter.importToFlow(markup, TextFilter.TEXT_LAYOUT_FORMAT);
     }

     /**


really fixed it this time: moved children out of loop in getFilteredChildren()

--- FlexUnit4/src/org/flexunit/runners/ParentRunner.as
+++ FlexUnit4/src/org/flexunit/runners/ParentRunner.as
@@ -341,10 +341,11 @@
 			if(!childrenFiltered) {
 				var filtered:Array = new Array();
 				var child:*;
-				var length:uint = children.length;
+				var theChildren:Array = children;
+				var length:uint = theChildren.length;

 				for ( var i:uint=0; i<length; i++ ) {
-					child = children[ i ];
+					child = theChildren[ i ];
 					//Determine if the child matches the filter
 					if ( shouldRun( child ) ) {
 						try {


OFC-508 Specified error is not displayed in case of multiple codes

--- collect-flex/collect-flex-client/src/main/flex/org/openforis/collect/ui/component/detail/ValidationDisplayManager.as
+++ collect-flex/collect-flex-client/src/main/flex/org/openforis/collect/ui/component/detail/ValidationDisplayManager.as
@@ -52,14 +52,12 @@
 			_display = display;
 		}

-		public function displayNodeValidation(parentEntity:EntityProxy, defn:NodeDefinitionProxy, attribute:AttributeProxy = null):void {
+		public function displayAttributeValidation(parentEntity:EntityProxy, defn:NodeDefinitionProxy, attribute:AttributeProxy):void {
 			var flag:ValidationResultFlag = null;
 			var validationMessages:Array = null;
 			if(parentEntity != null && defn != null) {
 				var hasErrors:Boolean = attribute != null ? attribute.hasErrors(): false;
 				var hasWarnings:Boolean = attribute != null ? attribute.hasWarnings(): false;
-				var name:String = defn.name;
-				//var required:Boolean = parentEntity.childrenRequiredMap.get(name);
 				if(hasErrors || hasWarnings) {
 					if(hasErrors) {
 						flag = ValidationResultFlag.ERROR;
@@ -67,21 +65,70 @@
 						flag = ValidationResultFlag.WARNING;
 					}
 					validationMessages = attribute.validationResults.validationMessages;
+					apply(flag, validationMessages);
 				} else if(showMinMaxCountErrors) {
-					var minCountValid:ValidationResultFlag = parentEntity.childrenMinCountValidationMap.get(name);
-					var maxCountValid:ValidationResultFlag = parentEntity.childrenMaxCountValidationMap.get(name);
-					if(minCountValid != ValidationResultFlag.OK || maxCountValid != ValidationResultFlag.OK) {
-						if(minCountValid != ValidationResultFlag.OK) {
-							flag = minCountValid;
-							validationMessages = [Message.get("edit.validation.minCount", [defn.minCount])];
-						} else {
-							flag = maxCountValid;
-							validationMessages = [Message.get("edit.validation.maxCount", [defn.maxCount])];
-						}
-					}
-				}
-			}
-			apply(flag, validationMessages);
+					displayMinMaxCountValidationErrors(parentEntity, defn);
+				} else {
+					reset();
+				}
+			} else {
+				reset();
+			}
+		}
+
+		public function displayAttributesValidation(parentEntity:EntityProxy, defn:NodeDefinitionProxy):void {
+			var flag:ValidationResultFlag = null;
+			var validationMessages:Array = null;
+			if(parentEntity != null && defn != null) {
+				var errorMessages:Array = new Array();
+				var warningMessages:Array = new Array();
+				var attributes:IList = parentEntity.getChildren(defn.name);
+				for each (var a:AttributeProxy in attributes) {
+					if (a.hasErrors()) {
+						errorMessages = errorMessages.concat(a.validationResults.validationMessages);
+					}
+					if (a.hasWarnings()) {
+						warningMessages = warningMessages.concat(a.validationResults.validationMessages);
+					}
+				}
+				var hasErrors:Boolean = errorMessages.length > 0;
+				var hasWarnings:Boolean = warningMessages.length > 0;
+				if(hasErrors || hasWarnings) {
+					if(hasErrors) {
+						flag = ValidationResultFlag.ERROR;
+						validationMessages = errorMessages;
+					} else if(hasWarnings) {
+						flag = ValidationResultFlag.WARNING;
+						validationMessages = warningMessages;
+					}
+					apply(flag, validationMessages);
+				} else if(showMinMaxCountErrors) {
+					displayMinMaxCountValidationErrors(parentEntity, defn);
+				} else {
+					reset();
+				}
+			} else {
+				reset();
+			}
+		}
+
+		public function displayMinMaxCountValidationErrors(parentEntity:EntityProxy, defn:NodeDefinitionProxy):void {
+			var flag:ValidationResultFlag = null;
+			var validationMessages:Array = null;
+			var name:String = defn.name;
+			var minCountValid:ValidationResultFlag = parentEntity.childrenMinCountValidationMap.get(name);
+			var maxCountValid:ValidationResultFlag = parentEntity.childrenMaxCountValidationMap.get(name);
+			if(minCountValid != ValidationResultFlag.OK || maxCountValid != ValidationResultFlag.OK) {
+				if(minCountValid != ValidationResultFlag.OK) {
+					flag = minCountValid;
+					validationMessages = [Message.get("edit.validation.minCount", [defn.minCount])];
+				} else {
+					flag = maxCountValid;
+					validationMessages = [Message.get("edit.validation.maxCount", [defn.maxCount])];
+				}
+			} else {
+				reset();
+			}
 		}

 		protected function apply(flag:ValidationResultFlag, messages:Array):void {


updated comments

updated comments

--- WeaveAPI/src/weave/api/WeaveArchive.as
+++ WeaveAPI/src/weave/api/WeaveArchive.as
@@ -40,11 +40,13 @@

 		/**
 		 * This is a dynamic object containing all the files (ByteArray objects) in the archive.
+		 * The property names used in this object must be valid filenames or serialize() will fail.
 		 */
 		public const objects:Object = new OrderedHashMap();

 		/**
 		 * This is a dynamic object containing all the amf objects stored in the archive.
+		 * The property names used in this object must be valid filenames or serialize() will fail.
 		 */
 		public const files:Object = new OrderedHashMap();


added suggested values for dateFormat

added suggested values for dateFormat

--- WeaveAdmin/src/weave/services/Admin.as
+++ WeaveAdmin/src/weave/services/Admin.as
@@ -425,11 +425,14 @@
 				case 'connection':
 					return connectionNames;

+				case ColumnMetadata.KEY_TYPE:
+					return keyTypes;
+
 				case ColumnMetadata.DATA_TYPE:
 					return dataTypes;

-				case ColumnMetadata.KEY_TYPE:
-					return keyTypes;
+				case ColumnMetadata.DATE_FORMAT:
+					return ['YYYY', 'YYYY/MM/DD', 'HH:NN:SS'];

 				default:
 					return null;


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

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

 package spark.components
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 19081
Author:   chiedozi@adobe.com
Date:     2010-12-06T23:15:36.296927Z

Log Message:
-----------
Prevent ActionBar and TabBar hide and show animations from occurring when the device's orientation changes
Fixed an RTE that occurred when reseting the navigators property on TabbedViewNavigator

QE notes:
Doc notes:
Bugs:SDK-28541,SDK-28768
Reviewer: Ryan
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.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/ViewNavigator.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
@@ -1407,7 +1407,7 @@

         if (actionBar && showingActionBar != actionBar.visible)
         {
-            if (transitionsEnabled && animateActionBarVisbility)
+            if (!disableNextControlAnimation && transitionsEnabled && animateActionBarVisbility)
             {
                 actionBarProps = {target:actionBar, showing:showingActionBar};
                 actionBarVisibilityEffect = showingActionBar ?
@@ -1425,6 +1425,10 @@

                 if (activeView)
                     activeView.setActionBarVisible(showingActionBar);
+
+            	// When this flag is true, the animations should only be disabled for the
+				// current frame, so reset the flag so animations play on subsequent frames.
+				disableNextControlAnimation = false;
             }
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 22872
Author:   aaltman@adobe.com
Date:     2011-10-05T18:24:46.128416Z

Log Message:
-----------
Fixes for StyleableStageText and ViewTransitions to suspend view transitions while waiting for StageText to be ready to capture bitmaps.
Co-author: Chiedo

QE notes: None
Doc notes: None
Bugs: SDK-31529 SDK-31675
Reviewer: jszeto
Tests run: checkintests mustella-mobile
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/transitions/supportClasses/ViewTransitionUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableStageText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/transitions/ViewTransitionBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/transitions/SlideViewTransition.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/transitions/supportClasses</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
@@ -38,6 +38,7 @@
 import spark.transitions.SlideViewTransition;
 import spark.transitions.ViewTransitionBase;
 import spark.transitions.ViewTransitionDirection;
+import spark.transitions.supportClasses.ViewTransitionUtil;

 use namespace mx_internal;

@@ -2106,7 +2107,6 @@
         if (pendingViewDescriptor)
         {
             pendingView = pendingViewDescriptor.instance;
-            pendingView.visible = true;
             pendingView.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE,
                             view_propertyChangeHandler);
         }
@@ -2117,10 +2117,36 @@
             activeTransition.startView = currentView;
             activeTransition.endView = pendingView;
             activeTransition.navigator = this;
-
-            // Give the transition a chance to prepare before the view updates
+            activeTransition.preInit();
+
+            ViewTransitionUtil.notifyTransitionPreparation();
+        }
+
+        if (ViewTransitionUtil.suspendCount > 0)
+        {
+            ViewTransitionUtil.instance.addEventListener("ready", completeTransitionPreparations);
+        }
+        else
+        {
+            completeTransitionPreparations();
+        }
+    }
+
+    private function completeTransitionPreparations(event:Event = null):void
+    {
+        if (event)
+            event.target.removeEventListener("ready", completeTransitionPreparations);
+
+        var pendingView:View;
+        if (pendingViewDescriptor)
+        {
+            pendingView = pendingViewDescriptor.instance;
+            pendingView.visible = true;
+        }
+
+        // Give the transition a chance to prepare before the view updates
+        if (activeTransition)
             activeTransition.captureStartValues();
-        }

         // This event is dispatched here to allow developers to incorporate
         // length specific changes into the view navigator transitions
@@ -2161,23 +2187,31 @@
         }
     }

+    private var enterFrameCount:int = 0;
+
     /**
      *  @private
      *  Starts the view transition.
      */
     private function startViewTransition(event:Event):void
     {
+        enterFrameCount++;
+
+        if (enterFrameCount < 2)
+            return;
+
+        enterFrameCount = 0;
         removeEventListener(Event.ENTER_FRAME, startViewTransition);
-
+
+        if (hasEventListener(FlexEvent.TRANSITION_START))
+            dispatchEvent(new FlexEvent(FlexEvent.TRANSITION_START, false, false));
+
         // Force the master clock of the animation engine to update its
         // current time so that the overhead of creating the view and preparing
         // the transition is not included in our animation interpolation.
         // See SDK-27793
         Animation.pulse();
         activeTransition.play();
-
-        if (hasEventListener(FlexEvent.TRANSITION_START))
-            dispatchEvent(new FlexEvent(FlexEvent.TRANSITION_START, false, false));
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 3321
Author:   hmuller@adobe.com
Date:     2008-09-23T21:21:31.020570Z

Log Message:
-----------
Created ILayout implementation LayoutBase and made it the base
class for the three existing layouts. LayoutBase defines the
following properties:

  target - the Group or DataGroup (GroupBase) that whose
  layout property is _this_ layout.

  verticalScrollPosition, horizontalScrollPosition - the
  origin of the target's scrollRect.  These properties were
  defined by GroupBase.

LayoutBase also adds some new protected methods:

  scrollPositionChanged() - called when the
  vertical,horizontalScrollPosition properties change.

  updateScrollRect() - syncs the scrollRect with the
  vertical,horizontalScrollPosition properties

  invalidateTargetSizeAndDisplayList() - convenience
  method that calls invalidateSize,DisplayList().

LayoutBase also defines empty implementations of measure
and updateDisplayList.

GroupBase now delegates vertical,horizontalScrollPosition
to its layout and redispatches the layout's propertyChange
events for these properties.

QE: No
Doc: No
Checkintests: Pass
Reviewer: Evtim
Bugs:
   SDK-17002 -  includeInLayout no longer being respected

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/Selector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/VerticalLayout.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/HGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/intf/ILayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/Scroller.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
@@ -282,15 +282,6 @@

             invalidateParentSizeAndDisplayList();
         }
-
-        if (scrollPositionChanged) {
-            scrollPositionChanged = false;
-            var r:Rectangle = scrollRect;
-            if (r == null) r = new Rectangle(0, 0, width, height);
-            r.x = _horizontalScrollPosition;
-            r.y = _verticalScrollPosition;
-            scrollRect = r;
-        }
     }

     override protected function measure():void
@@ -299,40 +290,6 @@

         if (_layout)
             _layout.measure();
-    }
-
-    /**
-     *  @private
-     *  Conditionally sets the origin of the scrollRect to
-     *  verticalScrollPosition,horizontalScrollPosition and its width
-     *  width,height to w,h (unscaledWidth,unscaledHeight).  We avoid setting
-     *  the scrollRect (and therefore clipping) when scrolling isn't indicated:
-     *  if the scrollRect is currently null and the scrollPosition properties
-     *  are 0, and the Group's contentWidth,Height is <= to
-     *  unscaledWidth/Height, then the scrollRect is not set.
-     */
-    private function updateScrollRect(w:Number, h:Number):void
-    {
-        var r:Rectangle = scrollRect;
-        if (r)
-        {
-            r.width = w;
-            r.height = h;
-            scrollRect = r;
-        }
-        else // scrollRect wasn't set
-        {
-            var hsp:Number = horizontalScrollPosition;
-            var vsp:Number = verticalScrollPosition;
-            var cw:Number = contentWidth;
-            var ch:Number = contentHeight;
-
-            // Don't set the scrollRect needlessly.
-            if ((hsp != 0) || (vsp != 0) || (cw > w) || (ch > h))
-            {
-                scrollRect = new Rectangle(hsp, vsp, w, h);
-            }
-        }
     }

     override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
@@ -347,87 +304,40 @@

         if (_layout)
             _layout.updateDisplayList(unscaledWidth, unscaledHeight);
-
-        updateScrollRect(unscaledWidth, unscaledHeight);
     }

     //----------------------------------
     //  horizontalScrollPosition
     //----------------------------------

-    private var scrollPositionChanged:Boolean = false;
-    private var _horizontalScrollPosition:Number = 0;
-
     [Bindable]
-    [Inspectable(category="General")]
-
-    /**
-     *  The X coordinate of the origin of the region this Group is
-     *  scrolled to.
-     *
-     *  Setting this property causes the scrollRect to
-     *  be set, if necessary, to:
-     *

-     *  new Rectangle(horizontalScrollPosition, verticalScrollPosition, width, height)
-     *

-     *
-     *  @default 0
-     */
+
     public function get horizontalScrollPosition():Number
     {
-        return _horizontalScrollPosition;
-    }
-
-    /**
-     *  @private
-     */
+        return (layout) ? layout.horizontalScrollPosition : 0;
+    }
+
     public function set horizontalScrollPosition(value:Number):void
     {
-        if (value == _horizontalScrollPosition)
-            return;
-
-        _horizontalScrollPosition = value;
-        scrollPositionChanged = true;
-        invalidateProperties();
+        if (layout)
+            layout.horizontalScrollPosition = value;
     }

     //----------------------------------
     //  verticalScrollPosition
     //----------------------------------
-
-    private var _verticalScrollPosition:Number = 0;

     [Bindable]
-    [Inspectable(category="General")]
-
-    /**
-     *  The Y coordinate of the origin of the region this Group is
-     *  scrolled to.
-     *
-     *  Setting this property causes the scrollRect to
-     *  be set, if necessary, to:
-     *

-     *  new Rectangle(horizontalScrollPosition, verticalScrollPosition, width, height)
-     *

-     *
-     *  @default 0
-     */
+
     public function get verticalScrollPosition():Number
     {
-        return _verticalScrollPosition;
-    }
-
-    /**
-     *  @private
-     */
+        return (layout) ? layout.verticalScrollPosition : 0;
+    }
+
     public function set verticalScrollPosition(value:Number):void
     {
-        if (value == _verticalScrollPosition)
-            return;
-
-        _verticalScrollPosition = value;
-        scrollPositionChanged = true;
-        invalidateProperties();
+        if (layout)
+            layout.verticalScrollPosition = value;
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

Modified Paths:
--------------
2361 paths were modified

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/FadeInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/FadeInstance.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.effects.supportClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 4736
Author:   chaase@adobe.com
Date:     2009-01-29T19:31:04.898445Z

Log Message:
-----------
API improvements in some of the effects classes, such as:

- PropertyValuesHolder renamed to AnimationProperty
	- Also, values[] array changed to valueFrom and valueTo Objects
	- Also, 'delta' property changed to valueBy Object property
- FxAnimate.propertyValuesList renamed to FxAnimate.animationProperties
- Constant interpolator renamed Linear (old Linear interpolator went away)
- ColorInterpolator renamed RGBInterpolator
- HSBInterpolator now exists (not used by default: FxAnimateColor uses RGBInterpolator)
- HSBColor: new data structure in mx.utils for holding HSB colors and converting from/to RGB
- various changes to *Instance classes in effects (but these are not generally used externally)

QE Notes: Mustella tests will break due to class and property renames. QE is fixing these issues and a follow-up putback to Mustella is expected
Doc Notes: None
Bugs: -
Reviewer: Gordon
tests: checkintests, Mustella: tests/Effects tests/ListDataEffects

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxRotateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxFadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxResizeInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/Constant.as" copyfrom-rev="4610" action="R">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxMoveInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/ColorInterpolator.as" copyfrom-rev="4610" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/RGBInterpolator.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/HSBInterpolator.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/HSBColor.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/ColorInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/ArrayInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateColorInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateShaderTransitionInstance.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/Constant.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxRotate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/IInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/NumberInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/EaseInOut.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/AnimationProperty.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/FadeInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/FadeInstance.as
@@ -15,7 +15,7 @@

 import mx.components.Group;
 import mx.effects.Animation;
-import mx.effects.PropertyValuesHolder;
+import mx.effects.AnimationProperty;
 import mx.events.AnimationEvent;
 import mx.events.FlexEvent;
 import mx.graphics.graphicsClasses.GraphicElement;
@@ -149,8 +149,8 @@
             makeInvisible = true;
         }

-        propertyValuesList =
-            [new PropertyValuesHolder("alpha", [alphaFrom, alphaTo])];
+        animationProperties =
+            [new AnimationProperty("alpha", alphaFrom, alphaTo)];

         super.play();
     }


stage3d resize bug

stage3d resize bug

--- src/flash/display3D/Context3D.as
+++ src/flash/display3D/Context3D.as
@@ -38,6 +38,10 @@

 		public function configureBackBuffer(width:int, height:int, antiAlias:int, enableDepthAndStencil:Boolean = true, wantsBestResolution:Boolean = false):void
 		{
+			canvas.width = width;
+			canvas.height = height;
+			canvas.style.width = width + "px";
+			canvas.style.height = height + "px";
 			gl.viewport(0, 0, width, height);
 			if (enableDepthAndStencil)
 			{


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

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


- bugfix: The Label didn't update its' content layout if the only change during a validation was in the dimensions.

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

--- src/reprise/controls/Label.as
+++ src/reprise/controls/Label.as
@@ -313,10 +313,15 @@
 			XML.prettyPrinting = false;
 			var text : String = labelXML.toXMLString();
 			text = text.substr(0, text.length - 3);
-			if (text == m_labelDisplay.htmlText)
-			{
-				return;
-			}
+			var textChanged : Boolean = text != m_labelDisplay.htmlText;
+
+			if (!textChanged && m_oldContentBoxWidth == m_contentBoxWidth &&
+				m_oldContentBoxHeight == m_contentBoxHeight)
+			{
+				return;
+			}
+
+			m_cacheInvalid = true;

 			if (m_currentStyles.width)
 			{
@@ -326,10 +331,11 @@
 			{
 				m_labelDisplay.autoSize = 'left';
 			}
-			m_labelDisplay.htmlText = text;
-			m_usedLabelXML = labelXML;
-			m_cacheInvalid = true;
-
+			if (textChanged)
+			{
+				m_labelDisplay.htmlText = text;
+				m_usedLabelXML = labelXML;
+			}
 			if (m_labelDisplay.wordWrap)
 			{
 				m_labelDisplay.autoSize = 'left';


[feat] add animation to VideosSummary

[feat] add animation to VideosSummary

--- src/main/actionscript/com/dotfold/dotvimstat/view/summary/VideosSummary.as
+++ src/main/actionscript/com/dotfold/dotvimstat/view/summary/VideosSummary.as
@@ -4,6 +4,7 @@

 	import com.dotfold.dotvimstat.net.service.VimeoBasicService;
 	import com.dotfold.dotvimstat.view.IView;
+	import com.greensock.TweenLite;

 	import modena.core.Element;
 	import modena.core.ElementContent;
@@ -38,6 +39,7 @@

 			_label = new Label("summaryCount");
 			content.addChild(_label);
+			_label.alpha = 0;

 			return content;
 		}
@@ -48,6 +50,8 @@
 		public function set videosCount(value:int):void
 		{
 			_label.text = value.toString();
+
+			TweenLite.to(_label, 0.4, { alpha: 1, ease: 'easeInQuad' });
 			invalidateRender();
 		}


Bug 780266:  Add new SWF versions for SWF18 and AIR_3_5  (p=enorton,r=dschaffe)
   integrate CL 1100751

CL@1101569

--- utils/apivergen.as
+++ utils/apivergen.as
@@ -546,7 +546,7 @@
         out += "};\n";
         out += "\n";

-        out += "public static final int kApiVersionSeriesMembership[kApiVersion_count] = {\n";
+        out += "public static final int kApiVersionSeriesMembership[] = {\n";
         var c = frag.ordered_versions;
         for (var i=0 ; i < c.length; i++)
         {
@@ -568,7 +568,7 @@
         out += "};\n";
         out += "\n";

-        out += "public static final int kApiVersionSeriesTransfer[kApiVersion_count][kApiVersionSeries_count] = {\n";
+        out += "public static final int kApiVersionSeriesTransfer[][] = {\n";
         var c = frag.ordered_versions;
         for (var i=0 ; i < c.length; i++)
         {
@@ -601,7 +601,7 @@
         out += "};\n";
         out += "\n";

-        out += "public static final int kApiVersionFirst[kApiVersionSeries_count] = {\n";
+        out += "public static final int kApiVersionFirst[] = {\n";
         var c = frag.series_first;
         for (var i=0 ; i < c.length; i++)
         {
@@ -613,7 +613,7 @@
         out += "};\n";
         out += "\n";

-        out += "public static final int kApiVersionLatest[kApiVersionSeries_count] = {\n";
+        out += "public static final int kApiVersionLatest[] = {\n";
         var c = frag.series_latest;
         for (var i=0 ; i < c.length; i++)
         {


Throw an error if something booches talking to EZGame. The user
will see a stack trace originating in the EZGameControl, hopefully
with a useful message.

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

--- src/as/com/threerings/ezgame/EZGameControl.as
+++ src/as/com/threerings/ezgame/EZGameControl.as
@@ -585,9 +585,7 @@
                     return func.apply(null, args);
                 }
             } catch (err :Error) {
-                trace("Unable to call ez code: " + err);
-                trace(err.getStackTrace());
-                //Log.testing(err.getStackTrace());
+                throw new Error("Unable to call host code: " + err.message);
             }

         } else {


Added the Not Both Syllogism to the test suite

--- unittests/TestSuite1.as
+++ unittests/TestSuite1.as
@@ -11,5 +11,6 @@
 		public var test3:unittests.TestEquivalence;
 		public var test4:unittests.TestModusPonens;
 		public var test5:unittests.TestModusTollens;
+		public var test6:unittests.TestNotBothSyllogism;
 	}
 }


Added clampHorizontal() and clampVertical() to Entity to clamp its hitbox on the x or y axis.

--- net/flashpunk/Entity.as
+++ net/flashpunk/Entity.as
@@ -666,6 +666,30 @@
 			moveBy(x - this.x, y - this.y, solidType, sweep);
 		}

+		/**
+		 * Clamps the Entity's hitbox on the x-axis.
+		 * @param	left		Left bounds.
+		 * @param	right		Right bounds.
+		 * @param	padding		Optional padding on the clamp.
+		 */
+		public function clampHorizontal(left:Number, right:Number, padding:Number = 0):void
+		{
+			if (x - originX < left + padding) x = left + originX + padding;
+			if (x - originX + width > right - padding) x = right - width + originX - padding;
+		}
+
+		/**
+		 * Clamps the Entity's hitbox on the y axis.
+		 * @param	top			Min bounds.
+		 * @param	bottom		Max bounds.
+		 * @param	padding		Optional padding on the clamp.
+		 */
+		public function clampVertical(top:Number, bottom:Number, padding:Number = 0):void
+		{
+			if (y - originY < top + padding) y = top + originY + padding;
+			if (y - originY + height > bottom - padding) y = bottom - height + originY - padding;
+		}
+
 		// Entity information.
 		/** @private */ internal var _class:Class;
 		/** @private */ internal var _world:World;


Added code to test if backslashes need escaping for ExternalInterface.call().

--- WeaveAPI/src/weave/api/WeaveAPI.as
+++ WeaveAPI/src/weave/api/WeaveAPI.as
@@ -343,12 +343,9 @@
 			// concatenate all code inside a function wrapper
 			code = 'function(' + pNames.join(',') + '){\n' + code + '}';

-			// work around bug where ExternalInterface does not escape backslash.
-			code = code.split('\\').join('\\\\');
-
 			// if there are no parameters, just run the code
 			if (pNames.length == 0)
-				return ExternalInterface.call(code);
+				return ExternalMethod.fixed_ExternalInterface_call(code);

 			// call the function with the specified parameters
 			pValues.unshift(code);
@@ -554,9 +551,79 @@
 internal class ExternalMethod
 {
 	/**
+	 * A wrapper for ExternalInterface.call() that properly escapes backslashes.
+	 */
+	public static function fixed_ExternalInterface_call(code:String):*
+	{
+		if (!initialized)
+			initialize();
+		if (codeBackslashNeedsEscaping)
+			code = code.split('\\').join('\\\\');
+		return ExternalInterface.call(code);
+	}
+
+	private static function initialize():void
+	{
+		// one-time initialization attempt
+		initialized = true;
+		codeBackslashNeedsEscaping = (ExternalInterface.call('function(){ return "\\\\\\\\"; }') == "\\");
+		try
+		{
+			json = getDefinitionByName("JSON");
+			ExternalInterface.addCallback(JSON_CALL, handleJsonCall);
+			WeaveAPI.executeJavaScript(
+				{
+					"JSON_REPLACER": JSON_REPLACER,
+					"JSON_REVIVER": JSON_REVIVER,
+					"NOT_A_NUMBER": NOT_A_NUMBER,
+					"UNDEFINED": UNDEFINED,
+					"INFINITY": INFINITY,
+					"NEGATIVE_INFINITY": NEGATIVE_INFINITY
+				},
+				"weave[JSON_REPLACER] = function(key, value){",
+				"    if (value === undefined)",
+				"        return UNDEFINED;",
+				"    if (typeof value != 'number' || isFinite(value))",
+				"        return value;",
+				"    if (value == Infinity)",
+				"        return INFINITY;",
+				"    if (value == -Infinity)",
+				"        return NEGATIVE_INFINITY;",
+				"    return NOT_A_NUMBER;",
+				"};",
+				"weave[JSON_REVIVER] = function(key, value){",
+				"    if (value === NOT_A_NUMBER)",
+				"        return NaN;",
+				"    if (value === UNDEFINED)",
+				"        return undefined;",
+				"    if (value === INFINITY)",
+				"        return Infinity;",
+				"    if (value === NEGATIVE_INFINITY)",
+				"        return -Infinity;",
+				"    return value;",
+				"};"
+			);
+		}
+		catch (e:Error)
+		{
+			trace(e.getStackTrace() || "Your version of Flash Player does not have native JSON support.");
+		}
+	}
+
+	/**
 	 * This is set to true when the initialization code has been attempted.
 	 */
 	private static var initialized:Boolean = false;
+
+	/**
+	 * If this is true, then ExternalInterface.call() does not properly quote backslashes in the code.
+	 */
+	private static var codeBackslashNeedsEscaping:Boolean = false;
+
+	/**
+	 * If this is true, backslashes are not properly escaped in results from external ActionScript invocations.
+	 */
+	private static var resultBackslashNeedsEscaping:Boolean = true;

 	/**
 	 * A pointer to JSON.
@@ -609,7 +676,8 @@
 		var resultJson:String = json.stringify(result, _jsonReplacer);

 		// work around bug where ExternalInterface does not escape backslash.
-		resultJson = resultJson.split('\\').join('\\\\');
+		if (resultBackslashNeedsEscaping)
+			resultJson = resultJson.split('\\').join('\\\\');

 		return resultJson;
 	}
@@ -647,51 +715,7 @@
 	public function ExternalMethod(host:Object, methodInfo:Object)
 	{
 		if (!initialized)
-		{
-			// one-time initialization attempt
-			initialized = true;
-			try
-			{
-				json = getDefinitionByName("JSON");
-				ExternalInterface.addCallback(JSON_CALL, handleJsonCall);
-				WeaveAPI.executeJavaScript(
-					{
-						"JSON_REPLACER": JSON_REPLACER,
-						"JSON_REVIVER": JSON_REVIVER,
-						"NOT_A_NUMBER": NOT_A_NUMBER,
-						"UNDEFINED": UNDEFINED,
-						"INFINITY": INFINITY,
-						"NEGATIVE_INFINITY": NEGATIVE_INFINITY
-					},
-					"weave[JSON_REPLACER] = function(key, value){",
-					"    if (value === undefined)",
-					"        return UNDEFINED;",
-					"    if (typeof value != 'number' || isFinite(value))",
-					"        return value;",
-					"    if (value == Infinity)",
-					"        return INFINITY;",
-					"    if (value == -Infinity)",
-					"        return NEGATIVE_INFINITY;",
-					"    return NOT_A_NUMBER;",
-					"};",
-					"weave[JSON_REVIVER] = function(key, value){",
-					"    if (value === NOT_A_NUMBER)",
-					"        return NaN;",
-					"    if (value === UNDEFINED)",
-					"        return undefined;",
-					"    if (value === INFINITY)",
-					"        return Infinity;",
-					"    if (value === NEGATIVE_INFINITY)",
-					"        return -Infinity;",
-					"    return value;",
-					"};"
-				);
-			}
-			catch (e:Error)
-			{
-				trace(e.getStackTrace() || "Your version of Flash Player does not have native JSON support.");
-			}
-		}
+			initialize();

 		// backwards compatibility
 		if (!json)


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/events/ItemClickEvent.as
+++ frameworks/projects/framework/src/mx/events/ItemClickEvent.as
@@ -22,6 +22,11 @@
  *  @see mx.controls.NavBar
  *  @see mx.controls.Button
  *  @see mx.controls.List
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class ItemClickEvent extends Event
 {
@@ -58,6 +63,11 @@
 	 *  </table>
 	 *
      *  @eventType itemClick
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const ITEM_CLICK:String = "itemClick";

@@ -85,6 +95,11 @@
 	 *  @param relatedObject The child object that generated the event.
 	 *
 	 *  @param item The item in the data provider for the associated navigation item.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function ItemClickEvent(type:String, bubbles:Boolean = false,
 								   cancelable:Boolean = false,
@@ -112,6 +127,11 @@

 	/**
 	 *  The index of the associated navigation item.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var index:int;

@@ -121,6 +141,11 @@

 	/**
 	 *  The item in the data provider of the associated navigation item.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var item:Object;

@@ -130,6 +155,11 @@

 	/**
 	 *  The label of the associated navigation item.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var label:String;

@@ -140,6 +170,11 @@
 	/**
 	 *  The child object that generated the event; for example,
 	 *  the button that a user clicked in a ButtonBar control.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var relatedObject:InteractiveObject;


fix wrong import for getQualifiedClassName()

--- src/aerys/minko/render/shader/compiler/Serializer.as
+++ src/aerys/minko/render/shader/compiler/Serializer.as
@@ -4,10 +4,9 @@
 	import aerys.minko.type.math.Matrix4x4;
 	import aerys.minko.type.math.Vector4;

-	import avmplus.getQualifiedClassName;
-
 	import flash.geom.Point;
 	import flash.geom.Vector3D;
+	import flash.utils.getQualifiedClassName;

 	/**
 	 * The Serializer class provides a set of static methods to serialize
@@ -100,7 +99,7 @@
 			}
 			else
 			{
-				throw new Error('Unsupported type:' + getQualifiedClassName(data));
+				throw new Error('Unsupported type:' + getQualifiedClassName(data);
 			}
 		}


code cleanup

code cleanup

--- WeaveData/src/weave/data/KeySets/KeySetCallbackInterface.as
+++ WeaveData/src/weave/data/KeySets/KeySetCallbackInterface.as
@@ -32,6 +32,22 @@
 			// variables will be set before each change callback.
 			super(setCallbackVariables);
 		}
+		private function setCallbackVariables(keysAdded:Array, keysRemoved:Array):void
+		{
+			this.keysAdded = keysAdded;
+			this.keysRemoved = keysRemoved;
+		}
+
+		/**
+		 * This function should be called when keysAdded and keysRemoved are ready to be shared with the callbacks.
+		 * The keysAdded and keysRemoved Arrays will be reset to empty Arrays after the callbacks finish running.
+		 */
+		public function flushKeys():void
+		{
+			if (keysAdded.length || keysRemoved.length)
+				_runCallbacksImmediately(keysAdded, keysRemoved);
+			setCallbackVariables([], []); // reset the variables to new arrays
+		}

 		/**
 		 * The keys that were most recently added, causing callbacks to trigger.
@@ -43,32 +59,8 @@
 		/**
 		 * The keys that were most recently removed, causing callbacks to trigger.
 		 * This can be used as a buffer prior to calling flushKeys().
-		 * @see #flushKeys()
-		 */
+		 * @see #flushKeys()
+		 */
 		public var keysRemoved:Array = [];
-
-		/**
-		 * This function will set the list callback variables:
-		 *     lastNameAdded, lastObjectAdded, lastNameRemoved, lastObjectRemoved, childListChanged
-		 * @param name This is the name of the object that was just added or removed from the hash map.
-		 * @param objectAdded This is the object that was just added to the hash map.
-		 * @param objectRemoved This is the object that was just removed from the hash map.
-		 */
-		private function setCallbackVariables(keysAdded:Array, keysRemoved:Array):void
-		{
-			this.keysAdded = keysAdded;
-			this.keysRemoved = keysRemoved;
-		}
-
-		/**
-		 * This function should be called when keysAdded and keysRemoved are ready to be shared with the callbacks.
-		 * The keysAdded and keysRemoved Arrays will be reset to empty Arrays after the callbacks finish running.
-		 */
-		public function flushKeys():void
-		{
-			if (keysAdded.length || keysRemoved.length)
-				_runCallbacksImmediately(keysAdded, keysRemoved);
-			setCallbackVariables([], []); // reset the variables to new arrays
-		}
 	}
 }


Added DOUBLE_CLICK constant to MouseEvent

--- frameworks/projects/Core/src/main/flex/org/apache/flex/events/MouseEvent.as
+++ frameworks/projects/Core/src/main/flex/org/apache/flex/events/MouseEvent.as
@@ -57,6 +57,7 @@
 		public static const ROLL_OVER:String = platformConstant("rollOver");
 		public static const ROLL_OUT:String = platformConstant("rollOut");
         public static const CLICK:String = "click";
+		public static const DOUBLE_CLICK:String = "doubleClick";

          /**
          *  Constructor.
@@ -149,6 +150,7 @@
 		public static const ROLL_OVER:String = platformConstant("rollOver");
 		public static const ROLL_OUT:String = platformConstant("rollOut");
 		public static const CLICK:String = "click";
+		public static const DOUBLE_CLICK:String = "dblclick";

 		/**
 		 *  Constructor.


Transferred from the Adobe Open Source Subversion Repository

Revision: 21744
Author:   aaltman@adobe.com
Date:     2011-07-28T01:12:55.468490Z

Log Message:
-----------
Removed padding from SDK StageText size calculations to match new runtime behavior

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableStageText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/StageTextSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/StageTextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/StageTextInputSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/StageTextAreaSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/StageTextAreaSkin.as
@@ -71,10 +71,10 @@
         super.layoutContents(unscaledWidth, unscaledHeight);

         // position & size the text
-        var paddingLeft:Number = getCorrectedPadding("paddingLeft");
-        var paddingRight:Number = getCorrectedPadding("paddingRight");
-        var paddingTop:Number = getCorrectedPadding("paddingTop");
-        var paddingBottom:Number = getCorrectedPadding("paddingBottom");
+        var paddingLeft:Number = getStyle("paddingLeft");
+        var paddingRight:Number = getStyle("paddingRight");
+        var paddingTop:Number = getStyle("paddingTop");
+        var paddingBottom:Number = getStyle("paddingBottom");

         var unscaledTextWidth:Number = unscaledWidth - paddingLeft - paddingRight;
         var unscaledTextHeight:Number = unscaledHeight - paddingTop - paddingBottom;
@@ -88,11 +88,8 @@

         if (promptDisplay)
         {
-            var promptX:Number = getStyle("paddingLeft");
-            var promptY:Number = getStyle("paddingTop");
-
             setElementSize(promptDisplay, unscaledTextWidth, unscaledTextHeight);
-            setElementPosition(promptDisplay, promptX, promptY);
+            setElementPosition(promptDisplay, paddingLeft, paddingTop);
         }
     }


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

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


-changed type of m_thumb to SimpleButton, was UIComponent.

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

--- src/reprise/controls/Slider.as
+++ src/reprise/controls/Slider.as
@@ -190,7 +190,7 @@

 		protected function createThumb():void
 		{
-			m_thumb = SimpleButton(addComponent('thumb'));
+			m_thumb = SimpleButton(addComponent('thumb', null, SimpleButton));
 			m_thumb.setStyle('position', 'absolute');
 		}


TextFormat支持bytes

TextFormat支持bytes

--- as3/com/netease/protobuf/TextFormat.as
+++ as3/com/netease/protobuf/TextFormat.as
@@ -1,4 +1,4 @@
-// vim: tabstop=4 shiftwidth=4
+// vim: tabstop=4 shiftwidth=4

 // Copyright (c) 2011 , Yang Bo All rights reserved.
 //
@@ -291,6 +291,11 @@
 						if (enumRepeatedFieldDescriptor) {
 							printEnum(output, int(value),
 									enumRepeatedFieldDescriptor.enumType)
+						} else if (
+								fieldDescriptor is FieldDescriptor$TYPE_BYTES ||
+								fieldDescriptor is
+										RepeatedFieldDescriptor$TYPE_BYTES) {
+							printBytes(output, ByteArray(value))
 						} else {
 							output.writeUTFBytes(value.toString())
 						}
@@ -639,6 +644,9 @@
 				} else {
 					fieldDescriptor = Object(message).constructor[
 							name.toUpperCase()]
+					if (!fieldDescriptor) {
+						throw new IOError("Unknown field: " + name);
+					}
 				}
 			}
 			const repeatedFieldDescriptor:RepeatedFieldDescriptor =


??text format??unknown?????bug

??text format??unknown?????bug

--- as3/com/netease/protobuf/TextFormat.as
+++ as3/com/netease/protobuf/TextFormat.as
@@ -531,6 +531,7 @@
 			}
 			const normalBuffer:ByteArray = new ByteArray
 			buffer.toNormal(normalBuffer)
+			normalBuffer.position = 0
 			message.mergeFrom(normalBuffer)
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

Modified Paths:
--------------
2361 paths were modified

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

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

 package mx.controls
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 20455
Author:   egeorgie@adobe.com
Date:     2011-02-24T18:39:34.625731Z

Log Message:
-----------
Fix for http://bugs.adobe.com/jira/browse/SDK-29635 When a child swf is loaded with loadForCompatibility=true, the Spark Slider pop up and DropDownList drop down are not positioned correctly.

In this change:
- update HSlider and VSlider to correctly convert the tooltip position form sandboxRoot to systemManager coordinates (the tip is in system manager coordinates).
- DropDown/ComboBox and other pop-up related code now calcualtes the concatenatedMatrix up to the sandboxRoot instead of the root sprite (the root sprite is the systemManager in a sub-app but the actual pop-up parent is the sandboxRoot).

QE notes: Verify grid item renderers' tooltips in sub-app/marshall plan/mobile density scaling scenarios; A general pass over drop-down and combo box in sub-app/marshall plan/mobile density scaling scenarios.
Doc notes:
Bugs: SDK-29635
Reviewer: Alex
Tests run: mustella full cyclone
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/utils/BitmapUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>

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

--- frameworks/projects/mx/src/mx/controls/ComboBox.as
+++ frameworks/projects/mx/src/mx/controls/ComboBox.as
@@ -1730,7 +1730,7 @@
         }

-        var m:Matrix = MatrixUtil.getConcatenatedMatrix(this, true /*excludingRootSprite*/);
+        var m:Matrix = MatrixUtil.getConcatenatedMatrix(this, systemManager.getSandboxRoot());
         _dropdown.scaleX = m.a; //scale x
         _dropdown.scaleY = m.d; //scale y


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/mx/src/mx/effects/WipeRight.as
+++ frameworks/projects/mx/src/mx/effects/WipeRight.as
@@ -0,0 +1,78 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-2006 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.effects
+{
+
+import mx.effects.effectClasses.WipeRightInstance;
+
+/**
+ *  The WipeRight class defines a bar wipe right effect.
+ *  The before or after state of the component must be invisible.
+ *
+ *
You often use this effect with the showEffect
+ *  and hideEffect triggers. The showEffect
+ *  trigger occurs when a component becomes visible by changing its
+ *  visible property from false to true.
+ *  The hideEffect trigger occurs when the component becomes
+ *  invisible by changing its visible property from
+ *  true to false.

+ *
+ *
This effect inherits the MaskEffect.show property.
+ *  If you set the value to true, the component appears.
+ *  If you set the value to false, the component disappears.
+ *  The default value is true.

+ *
+ *
If you specify this effect for a showEffect or
+ *  hideEffect trigger, Flex sets the show property
+ *  for you, either to true if the component becomes invisible,
+ *  or false if the component becomes visible.

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

+ *
+ *

+ *  <mx:WipeRight
+ *    id="ID"
+ *  />
+ *

+ *
+ *  @see mx.effects.effectClasses.WipeRightInstance
+ *
+ *  @includeExample examples/WipeRightExample.mxml
+ */
+public class WipeRight extends MaskEffect
+{
+    include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @param target The Object to animate with this effect.
+	 */
+	public function WipeRight(target:Object = null)
+	{
+		super(target);
+
+		instanceClass = WipeRightInstance;
+	}
+}
+
+}


Assert: in-lined fail methods to reduce call stack. Improved failure messages for several asserts.

--- as3/src/asunit/framework/Assert.as
+++ as3/src/asunit/framework/Assert.as
@@ -38,7 +38,7 @@
             }

             if(!actual) {
-				failNotEquals(message, true, actual);
+				throw new AssertionFailedError(format(message, true, actual));
             }
         }
         /**
@@ -62,7 +62,7 @@
             }

             if(actual) {
-				failNotEquals(message, false, actual);
+				throw new AssertionFailedError(format(message, false, actual));
             }
         }
         /**
@@ -100,11 +100,11 @@
         static public function assertThrows(errorType:Class, block:Function):void {
             try {
                 block.call();
-                fail("assertThrows block did not throw an expected exception");
+                throw new AssertionFailedError("assertThrows block did not throw an expected exception");
             }
             catch(e:Error) {
                 if(!(e is errorType)) {
-                    fail("assertThrows did not throw the expected error type, instead threw: " + getQualifiedClassName(e));
+                    throw new AssertionFailedError("assertThrows did not throw the expected error type, instead threw: " + getQualifiedClassName(e));
                 }
             }
         }
@@ -160,7 +160,7 @@
                 }
             }

-            failNotEquals(message, expected, actual);
+            throw new AssertionFailedError(format(message, expected, actual));
         }
         /**
          * Asserts that an object isn't null. If it is
@@ -168,21 +168,23 @@
          */
         static public function assertNotNull(...args:Array):void {
             var message:String;
-            var object:Object;
+            var actual:Object;

             if(args.length == 1) {
                 message = "";
-                object = args[0];
+                actual = args[0];
             }
             else if(args.length == 2) {
                 message = args[0];
-                object = args[1];
-            }
-            else {
-                throw new IllegalOperationError("Invalid argument count");
-            }
-
-            assertTrue(message, object != null);
+                actual = args[1];
+            }
+            else {
+                throw new IllegalOperationError("Invalid argument count");
+            }
+
+			if(actual == null) {
+				throw new AssertionFailedError("expected not null but was:<" + actual + ">");
+			}
         }
         /**
          * Asserts that an object is null.  If it is not
@@ -203,8 +205,10 @@
             else {
                 throw new IllegalOperationError("Invalid argument count");
             }
-
-            assertEquals(message, null, actual);
+
+			if(actual != null) {
+				throw new AssertionFailedError(format(message, null, actual));
+			}
         }
         /**
          * Asserts that two objects refer to the same object. If they are not
@@ -229,10 +233,9 @@
                 throw new IllegalOperationError("Invalid argument count");
             }

-            if(expected === actual) {
-                return;
-            }
-            failNotSame(message, expected, actual);
+            if(expected !== actual) {
+				throw new AssertionFailedError("expected same as:<" + expected + "> but was:<" + actual + ">");
+            }
         }
          /**
           * Asserts that two objects do not refer to the same object. If they do,
@@ -257,8 +260,9 @@
                 throw new IllegalOperationError("Invalid argument count");
             }

-            if(expected === actual)
-                failSame(message);
+            if(expected === actual) {
+				throw new AssertionFailedError("expected not same but both were:<" + actual + ">");
+			}
         }

         /**
@@ -290,7 +294,7 @@
             if(Math.abs(expected - actual) <= tolerance) {
                    return;
             }
-            failNotEquals(message, expected, actual);
+            throw new AssertionFailedError(format(message, expected, actual));
         }

         /**
@@ -387,23 +391,6 @@
             }
         }

-
-        static private function failSame(message:String):void {
-            var formatted:String = "";
-             if(message != null) {
-                 formatted = message + " ";
-             }
-             fail(formatted + "expected not same");
-        }
-
-        static private function failNotSame(message:String, expected:Object, actual:Object):void {
-            var formatted:String = "";
-            if(message != null) {
-                formatted = message + " ";
-            }
-            fail(formatted + "expected same:<" + expected + "> was not:<" + actual + ">");
-        }
-
         static private function failNotEquals(message:String, expected:Object, actual:Object):void {
             fail(format(message, expected, actual));
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

Modified Paths:
--------------
2361 paths were modified

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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/mx/src/mx/containers/utilityClasses/ApplicationLayout.as
+++ frameworks/projects/mx/src/mx/containers/utilityClasses/ApplicationLayout.as
@@ -37,6 +37,11 @@

 	/**
 	 *  Constructor.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function ApplicationLayout()
 	{


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

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

 package spark.components.gridClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17258
Author:   hmuller@adobe.com
Date:     2010-08-10T19:11:28.648438Z

Log Message:
-----------
When extra vertical space is available, pad with row separators and backgrounds.

QE notes: One expected Mustella bitmap compare failure: in DataGrid_Properties_removeColumn3
Doc notes:
Bugs: SDK-26839
Reviewer: Kevin
Tests run: checking, mustella cyclone
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridDimensions.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridDimensions.as
@@ -694,6 +694,34 @@
     }

     /**
+     *  Return the dimensions of a row that's being used to "pad" the grid
+     *  by filling unused space below the last row in a layout where all rows
+     *  are visible.  Pad rows have index >= rowCount, height = defaultRowHeight.
+     */
+    public function getPadRowBounds(row:int):Rectangle
+    {
+        if (row < 0)
+            return null;
+
+        if (row < rowCount)
+            return getRowBounds(row);
+
+        const lastRow:int = rowCount - 1;
+        const lastCol:int = columnCount - 1;
+
+        const x:Number = (lastRow >= 0) ? getCellX(lastRow, 0) : 0;
+        const lastRowBottom:Number = (lastRow >= 0) ? getCellY(lastRow, 0) + getRowHeight(lastRow) : 0;
+        const padRowCount:int = row - rowCount;
+        const padRowTotalGap:Number = (padRowCount > 0) ? (padRowCount - 1) * rowGap : 0;
+        const y:Number = lastRowBottom + (padRowCount * defaultRowHeight) + padRowTotalGap;
+        const rowWidth:Number =
+            ((lastCol >= 0) && (lastRow >= 0)) ? getCellX(lastRow, lastCol) + getColumnWidth(lastCol) - x : 0;
+
+        return new Rectangle(x, y, rowWidth, defaultRowHeight);
+
+    }
+
+    /**
      *  Returns the layout bounds of the specified column.
      */
     public function getColumnBounds(col:int):Rectangle


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

--- frameworks/projects/charts/src/mx/charts/AreaChart.as
+++ frameworks/projects/charts/src/mx/charts/AreaChart.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.charts
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 13097
Author:   cframpto@adobe.com
Date:     2009-12-18T02:36:41.995341Z

Log Message:
-----------
Add ISystemCursorClient so that it is possible to detect whether system cursor should be displayed in mouseOverHandler.  In particular this will detect if it is a RichEditableText component.  This removes a FIXME.

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

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISystemCursorClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichEditableText.as</path>

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

--- frameworks/projects/framework/src/FrameworkClasses.as
+++ frameworks/projects/framework/src/FrameworkClasses.as
@@ -49,6 +49,7 @@
 	import mx.core.FlexLoader; FlexLoader;
 	import mx.core.FontAsset; FontAsset;
 	import mx.core.IDeferredInstance; IDeferredInstance;
+	import mx.core.ISystemCursorClient; ISystemCursorClient;
 	import mx.core.IUID; IUID;
 	import mx.core.MovieClipAsset; MovieClipAsset;
 	import mx.core.MovieClipLoaderAsset; MovieClipLoaderAsset;


Transferred from the Adobe Open Source Subversion Repository

Revision: 4885
Author:   jszeto@adobe.com
Date:     2009-02-07T00:12:32.609062Z

Log Message:
-----------
Flex SDK Framework - Update mx.filters API and class hierarchy

- Removed BaseFilter.as, BaseDimensionFilter.as, and GradientFilter.as
- Renamed IBitmapFilter.as to IFlexBitmapFilter.as
- Changed IBitmapFilter.clone to createBitmapFilter
- Moved properties and functions from base classes up to filter subclasses
- Changed ColorMatrixFilter constructor parameter from Array to Object
- Added Change metadata to all filter classes
- Changed notifyFilterChanged from public to private
- Added ASDoc comments
- Added copyright info
- Added a number of formatting and style fixes

QE Notes: Need to update tests based on API changes. Missing tests for DisplacementMapFilter.as.
Doc Notes: Need extensive ASDoc review. Consider using @copy for properties that match the flash.filters properties
Bugs: n/a
Reviewer: Gordon

Modified Paths:
--------------
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseDimensionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/BevelFilter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GradientFilter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IBitmapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/BlurFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/DisplacementMapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ShaderFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/DropShadowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GradientBevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Parser.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IBitmapFilter.as" copyfrom-rev="4821" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IFlexBitmapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ConvolutionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateFilterInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GradientGlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>

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

--- frameworks/projects/framework/src/FrameworkClasses.as
+++ frameworks/projects/framework/src/FrameworkClasses.as
@@ -68,9 +68,7 @@
 	import mx.effects.easing.Quintic; Quintic;
 	import mx.effects.easing.Sine; Sine;
 	import mx.events.ModuleEvent; ModuleEvent;
-	import mx.filters.BaseFilter; BaseFilter;
-	import mx.filters.BaseDimensionFilter; BaseDimensionFilter;
-	import mx.filters.IBitmapFilter; IBitmapFilter;
+	import mx.filters.IFlexBitmapFilter; IFlexBitmapFilter;
 	import mx.graphics.ImageSnapshot; ImageSnapshot;
 	import mx.graphics.codec.PNGEncoder; PNGEncoder;
 	import mx.graphics.codec.JPEGEncoder; JPEGEncoder;