Transferred from the Adobe Open Source Subversion Repository

Revision: 8574
Author:   aharui@adobe.com
Date:     2009-07-15T05:33:44.225721Z

Log Message:
-----------
Bugs related to TLF and focus.  Also TLF Marshall Plan adjustments, and some IME fixes

QE Notes: None
Doc Notes: None
Bugs: SDK-21278, SDK-21686, SDK-21375, SDK-18516, SDK-15093, SDK-21335
Reviewer: darrell, carol
tests: checkintests mustella/gumbo mustella/components

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IFocusManagerComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IIMESupport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SWFBridgeEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/alertClasses/AlertForm.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/RichEditableTextContainerManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/FocusManagerMarshalMixin.as</path>

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

--- frameworks/projects/spark/src/mx/core/UIFTETextField.as
+++ frameworks/projects/spark/src/mx/core/UIFTETextField.as
@@ -17,6 +17,7 @@
 import flash.display.Sprite;
 import flash.events.Event;
 import flash.text.TextField;
+import flash.text.TextFieldType;
 import flash.text.TextFormat;
 import flash.text.TextFormatAlign;
 import flash.text.TextLineMetrics;
@@ -718,6 +719,23 @@
     public function set document(value:Object):void
     {
         _document = value;
+    }
+
+    //----------------------------------
+    //  editable
+    //----------------------------------
+
+	/**
+     *  Specifies whether the user is allowed to edit the text in this control.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10
+	 *  @playerversion AIR 1.5
+	 *  @productversion Flex 4
+	 */
+    public function get editable():Boolean
+    {
+        return type == TextFieldType.INPUT;
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 8031
Author:   egeorgie@adobe.com
Date:     2009-06-20T01:10:03.288554Z

Log Message:
-----------
Scrub the TODOs in the framework, convert to FIXMEs in the new convention and assigning an owner.

Doc Notes: N/A
Bugs: N/A
Reviewer: Deepa
tests: build, checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/layouts/WheelLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Timeline.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/mediaClasses/VolumeBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/DropDownController.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ModifiedCollectionView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ErrorSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/MoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SequenceInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectTargetFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/utils/BitmapUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/FocusSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/CompositeEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LayoutElementHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/mediaClasses/StreamingVideoSource.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/PropertyChanges.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ToggleButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/RemoveActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/pathSegments/LineSegment.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AddActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Rect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -726,7 +726,7 @@
         		resizeMode = ResizeMode.SCALE; // Force the resizeMode to scale
         }

-        // TODO EGeorgie: we need to optimize this, iterating through all the elements is slow.
+        // FIXME (egeorgie): we need to optimize this, iterating through all the elements is slow.
         // Validate element properties
         if (numGraphicElements > 0)
         {
@@ -748,7 +748,7 @@
         // Since IGraphicElement is not ILayoutManagerClient, we need to make sure we
         // validate sizes of the elements, even in cases where recursive==false.

-        // TODO EGeorgie: we need to optimize this, iterating through all the elements is slow.
+        // FIXME (egeorgie): we need to optimize this, iterating through all the elements is slow.
         // Validate element size
         if (numGraphicElements > 0)
         {
@@ -889,7 +889,7 @@

     /**
      *  @private
-     *  TODO: Most of this code is a duplicate of UIComponent::notifyStyleChangeInChildren,
+     *  FIXME (rfrishbe): Most of this code is a duplicate of UIComponent::notifyStyleChangeInChildren,
      *  refactor as appropriate to avoid code duplication once we have a common
      *  child iterator between UIComponent and Group.
      */
@@ -915,7 +915,7 @@

     /**
      *  @private
-     *  TODO: Most of this code is a duplicate of UIComponent::regenerateStyleCache,
+     *  FIXME (rfrishbe): Most of this code is a duplicate of UIComponent::regenerateStyleCache,
      *  refactor as appropriate to avoid code duplication once we have a common
      *  child iterator between UIComponent and Group.
      */
@@ -1356,7 +1356,7 @@
         if (child is IStyleClient)
             IStyleClient(child).notifyStyleChangeInChildren(null, true);

-        // TODO EGeorgie: why do we need this here? We should not be hard-coding
+        // FIXME (egeorgie): why do we need this here? We should not be hard-coding
         // against concrete GraphicElement types, maybe move this to a different
         // interface (IGraphicElement or IAdvancedStyleClient)?
         //


Transferred from the Adobe Open Source Subversion Repository

Revision: 10604
Author:   gosmith@adobe.com
Date:     2009-09-25T21:41:52.347182Z

Log Message:
-----------
In Label, a positive value for baselineShift now shifts the baseline up rather than down, like in TLF. (In FTE, a positive baselineShift increases the y coordinate of the baseline, which is mathematically appropriate, but unintuitive.)

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

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

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

--- frameworks/projects/spark/src/spark/components/Label.as
+++ frameworks/projects/spark/src/spark/components/Label.as
@@ -536,7 +536,13 @@

         elementFormat.alpha = getStyle("textAlpha");

-        elementFormat.baselineShift = getStyle("baselineShift");
+        elementFormat.baselineShift = -getStyle("baselineShift");
+			// Note: The negative sign is because, as in TLF,
+			// we want a positive number to shift the baseline up,
+			// whereas FTE does it the opposite way.
+			// In FTE, a positive baselineShift increases
+			// the y coordinate of the baseline, which is
+			// mathematically appropriate, but unintuitive.

         s = getStyle("breakOpportunity");
         if (s != 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@1287943 13f79535-47bb-0310-9956-ffa450edef68

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

 package spark.utils
 {


remove useless imports in TorusGeometry

remove useless imports in TorusGeometry

--- src/aerys/minko/render/geometry/primitive/TorusGeometry.as
+++ src/aerys/minko/render/geometry/primitive/TorusGeometry.as
@@ -7,7 +7,6 @@
 	import aerys.minko.render.geometry.stream.VertexStream;
 	import aerys.minko.render.geometry.stream.format.VertexComponent;
 	import aerys.minko.render.geometry.stream.format.VertexFormat;
-	import aerys.minko.type.math.Vector4;

 	public class TorusGeometry extends Geometry
 	{


renamed _debug to debug

renamed _debug to debug

--- WeaveJS/src/weavejs/data/column/StreamedGeometryColumn.as
+++ WeaveJS/src/weavejs/data/column/StreamedGeometryColumn.as
@@ -39,7 +39,7 @@
 	 */
 	public class StreamedGeometryColumn extends AbstractAttributeColumn
 	{
-		private static var _debug:Boolean = false;
+		public static var debug:Boolean = false;

 		public function StreamedGeometryColumn(metadataTileDescriptors:JSByteArray, geometryTileDescriptors:JSByteArray, tileService:IWeaveGeometryTileService, metadata:Object = null)
 		{
@@ -55,12 +55,12 @@

 			var self:Object = this;
 			boundingBoxCallbacks.addImmediateCallback(this, function():void{
-				if (_debug)
-					DebugUtils.debugTrace(self,'boundingBoxCallbacks',boundingBoxCallbacks,'keys',keys.length);
+				if (debug)
+					DebugUtils.debugTrace(self,'boundingBoxCallbacks',boundingBoxCallbacks,keys.length,'keys');
 			});
 			addImmediateCallback(this, function():void{
-				if (_debug)
-					DebugUtils.debugTrace(self,'keys',keys.length);
+				if (debug)
+					DebugUtils.debugTrace(self,keys.length,'keys');
 			});
 		}

@@ -167,7 +167,7 @@
 			// request geometry tiles needed for desired dataBounds and zoom level (filter by XYZ)
 			var geometryTileIDs:Array = _geometryStreamDecoder.getRequiredGeometryTileIDs(dataBounds, lowestImportance, true);

-			if (_debug)
+			if (debug)
 			{
 				if (metadataTileIDs.length > 0)
 					JS.log(this, "requesting metadata tiles: " + metadataTileIDs);


Added license text.

Added license text.

Change-Id: Icf3a8a1917b31f168e58e75c6e5506f921e3b357

--- WeaveUI/src/weave/visualization/plotters/CirclePlotter.as
+++ WeaveUI/src/weave/visualization/plotters/CirclePlotter.as
@@ -1,3 +1,22 @@
+/*
+    Weave (Web-based Analysis and Visualization Environment)
+    Copyright (C) 2008-2011 University of Massachusetts Lowell
+
+    This file is a part of Weave.
+
+    Weave is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License, Version 3,
+    as published by the Free Software Foundation.
+
+    Weave is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with Weave.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package weave.visualization.plotters
 {
 	import flash.display.BitmapData;


We are putting the preview in the MediaSettings, not the Playloader settings.

--- flash/com/mediafront/utils/PlayLoaderSettings.as
+++ flash/com/mediafront/utils/PlayLoaderSettings.as
@@ -34,6 +34,5 @@
       }

       public var playLoader:String = "playLoader";
-      public var preview:String = "";
    }
 }


Added explicitWidth, explicitHeight, percentWidth, and percentHeight.

--- frameworks/as/src/org/apache/flex/core/UIBase.as
+++ frameworks/as/src/org/apache/flex/core/UIBase.as
@@ -31,6 +31,79 @@
 			super();
 		}

+		private var _explicitWidth:Number;
+		public function get explicitWidth():Number
+		{
+			return _explicitWidth;
+		}
+		public function set explicitWidth(value:Number):void
+		{
+			if (_explicitWidth == value)
+				return;
+
+			// width can be pixel or percent not both
+			if (!isNaN(value))
+				_percentWidth = NaN;
+
+			_explicitWidth = value;
+
+			dispatchEvent(new Event("explicitWidthChanged"));
+		}
+
+		private var _explicitHeight:Number;
+		public function get explicitHeight():Number
+		{
+			return _explicitHeight;
+		}
+		public function set explicitHeight(value:Number):void
+		{
+			if (_explicitHeight == value)
+				return;
+
+			// height can be pixel or percent not both
+			if (!isNaN(value))
+				_percentHeight = NaN;
+
+			_explicitHeight = value;
+
+			dispatchEvent(new Event("explicitHeightChanged"));
+		}
+
+		private var _percentWidth:Number;
+		public function get percentWidth():Number
+		{
+			return _percentWidth;
+		}
+		public function set percentWidth(value:Number):void
+		{
+			if (_percentWidth == value)
+				return;
+
+			if (!isNaN(value))
+				_explicitWidth = NaN;
+
+			_percentWidth = value;
+
+			dispatchEvent(new Event("percentWidthChanged"));
+		}
+		private var _percentHeight:Number;
+		public function get percentHeight():Number
+		{
+			return _percentHeight;
+		}
+		public function set percentHeight(value:Number):void
+		{
+			if (_percentHeight == value)
+				return;
+
+			if (!isNaN(value))
+				_explicitHeight = NaN;
+
+			_percentHeight = value;
+
+			dispatchEvent(new Event("percentHeightChanged"));
+		}
+
 		private var _width:Number;
 		override public function get width():Number
 		{
@@ -45,6 +118,11 @@
 		}
 		override public function set width(value:Number):void
 		{
+			if (explicitWidth != value)
+			{
+				explicitWidth = value;
+			}
+
 			if (_width != value)
 			{
 				_width = value;
@@ -70,6 +148,11 @@
 		}
 		override public function set height(value:Number):void
 		{
+			if (explicitHeight != value)
+			{
+				explicitHeight = value;
+			}
+
 			if (_height != value)
 			{
 				_height = value;


Transferred from the Adobe Open Source Subversion Repository

Revision: 11587
Author:   smgilson@adobe.com
Date:     2009-11-09T21:54:52.485227Z

Log Message:
-----------
ASDoc bug fixes:

FLEXDOCS-1065 mx tile should list TileGroup as its Spark replacement
FLEXDOCS-1042 remove old refs to Flex Builder
FLEXDOCS-1049 doc spar.components.CheckBox.focusColor
FLEXDOCS-1100 fix fx:Library example

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexVersion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponentGlobals.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Tile.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/netmon/NetworkMonitor.as</path>

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

--- frameworks/projects/mx/src/mx/containers/Tile.as
+++ frameworks/projects/mx/src/mx/containers/Tile.as
@@ -135,9 +135,10 @@
 /**
  *  The layout-specific container components in Flex 3 have been replaced by a more generic
  *  Group component that takes a generic layout. To get similar behavior from the new
- *  Group component, set the layout property to TileLayout.
+ *  Group component, set the layout property to TileLayout
+ *  or use the TileGroup container.
  */
-[Alternative(replacement="spark.components.Group", since="4.0")]
+[Alternative(replacement="spark.components.TileGroup", since="4.0")]
 [Alternative(replacement="spark.components.Border", since="4.0")]

 /**


Transferred from the Adobe Open Source Subversion Repository

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

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

most of these are user submitted patches! very cool.

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

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

--- frameworks/projects/mx/src/mx/controls/NavBar.as
+++ frameworks/projects/mx/src/mx/controls/NavBar.as
@@ -592,8 +592,10 @@
     {
         _labelFunction = value;

-    //    itemsSizeChanged = true;
-        invalidateDisplayList();
+        // If we have a data provider, update here to
+        // reflect new label function.
+        if (_dataProvider)
+            dataProvider = _dataProvider;

         dispatchEvent(new Event("labelFunctionChanged"));
     }


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

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

 package mx.rpc
 {


FLEX-34878 updated asdoc comments to include reason for null value in error property in certain cases

--- frameworks/projects/framework/src/mx/formatters/Formatter.as
+++ frameworks/projects/framework/src/mx/formatters/Formatter.as
@@ -117,9 +117,13 @@

 	/**
 	 *  Error message for an invalid format string specified to the formatter.
+	 *  The localeChain property of the ResourceManager is used to resolve
+	 *  the default error message. If it is unable to find a value, it will
+	 *  return null. This can happen if none of the locales
+	 *  specified in the localeChain are compiled into the application.
 	 *
 	 *  @default "Invalid format"
-	 *
+	 *
 	 *  @langversion 3.0
 	 *  @playerversion Flash 9
 	 *  @playerversion AIR 1.1
@@ -162,7 +166,11 @@
 	private static var defaultInvalidValueErrorOverride:String

 	/**
-	 *  Error messages for an invalid value specified to the formatter.
+	 *  Error messages for an invalid value specified to the formatter. The
+	 *  localeChain property of the ResourceManager is used to resolve the
+	 *  default error message. If it is unable to find a value, it will return
+	 *  null. This can happen if none of the locales specified in
+	 *  the localeChain are compiled into the application.
 	 *
 	 *  @default "Invalid value"
 	 *


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

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


Transferred from the Adobe Open Source Subversion Repository

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

--- frameworks/projects/rpc/src/mx/rpc/events/SchemaLoadEvent.as
+++ frameworks/projects/rpc/src/mx/rpc/events/SchemaLoadEvent.as
@@ -0,0 +1,76 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2006-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.rpc.events
+{
+
+import flash.events.Event;
+import mx.rpc.xml.Schema;
+
+[ExcludeClass]
+
+/**
+ * This event is dispatched when an XML Schema has loaded sucessfully.
+ *
+ * @private
+ */
+public class SchemaLoadEvent extends XMLLoadEvent
+{
+    /**
+     * Creates a new SchemaLoadEvent.
+     */
+    public function SchemaLoadEvent(type:String, bubbles:Boolean = false,
+        cancelable:Boolean = true, schema:Schema = null, location:String = null)
+    {
+        super(type == null ? LOAD : type,
+            bubbles,
+            cancelable,
+            schema == null ? null : schema.xml,
+            location);
+
+        this.schema = schema;
+    }
+
+    /**
+     * The full Schema document.
+     */
+    public var schema:Schema;
+
+    /**
+     * Returns a copy of this SchemaLoadEvent.
+     */
+    override public function clone():Event
+    {
+        return new SchemaLoadEvent(type, bubbles, cancelable, schema, location);
+    }
+
+    /**
+     * Returns a String representation of this SchemaLoadEvent.
+     */
+    override public function toString():String
+    {
+        return formatToString("SchemaLoadEvent", "location", "type", "bubbles",
+            "cancelable", "eventPhase");
+    }
+
+    /**
+     * A helper method to create a new SchemaLoadEvent.
+     * @private
+     */
+    public static function createEvent(schema:Schema, location:String = null):SchemaLoadEvent
+    {
+        return new SchemaLoadEvent(LOAD, false, true, schema, location);
+    }
+
+    public static const LOAD:String = "schemaLoad";
+}
+
+}


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

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

 package mx.rpc.events
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 2668
Author:   kelin@adobe.com
Date:     2008-07-30T21:05:00.806335Z

Log Message:
-----------
Massive check-in:

Updated Range, TrackBase, Slider, Spinner to use valueInterval to constrain values. In Slider, snapInterval was removed in favor of just using stepSize (for simplicity). TrackBase also is able to handle a resizable thumb.

Refactored ScrollBar to subclass TrackBase instead of Range in order to share thumb dragging code. pageSize was also moved from Range into ScrollBar.

Added a basic version of NumericStepper that can handle simple operations like committing the value when the enter key is pressed.

Skins for each of the components were also updated/added as needed. I also updated flex4test/CircularScrollBar.

QE: Yes!
Reviewer: Chet, Gordon, Jason

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HSliderThumbSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HScrollBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/Range.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/VSliderTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/VScrollBarTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/skins/MyVScrollBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/Flex4Classes.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/defaults.css</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/NumericStepper.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/NumericStepperSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/gumbo-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/SpinnerDecrButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/VSliderThumbSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/VScrollBarSkin.mxml</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/flex/component/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/SpinnerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HSliderTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HScrollBarTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/flex4test.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/SpinnerIncrButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/components/CircularScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/skins/CircularScrollBarSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/HScrollBar.as
+++ frameworks/projects/spark/src/spark/components/HScrollBar.as
@@ -11,8 +11,6 @@

 package flex.component
 {
-
-import flash.geom.Point;

 /**
  *  The HScrollBar (horizontal ScrollBar) control lets you control
@@ -50,7 +48,7 @@
     //--------------------------------------------------------------------------

     /**
-     * The size of the track on an HScrollBar equals the width of the track.
+     *  The size of the track on an HScrollBar equals the width of the track.
      */
     override protected function get trackSize():Number
     {
@@ -60,20 +58,6 @@
            return 0;
     }

-    /**
-     * HScrollBar's thumbSize determines the width of the thumb button.
-     * The button's minWidth property acts as a lower bound on this size.
-     */
-    override protected function set thumbSize(size:Number):void
-    {
-        super.thumbSize = Math.max(size, thumb.minWidth);
-        thumb.width = thumbSize;
-    }
-    override protected function get thumbSize():Number
-    {
-        return super.thumbSize;
-    }
-
     //--------------------------------------------------------------------------
     //
     // Methods
@@ -81,11 +65,11 @@
     //--------------------------------------------------------------------------

     /**
-     * Position the thumb button according to the given thumbPos parameter,
-     * relative to the current x location of the track in the scrollbar control.
+     *  Position the thumb button according to the given thumbPos parameter,
+     *  relative to the current x location of the track in the scrollbar control.
      *
-     * @param thumbPos A number representing the new position of the thumb
-     * button in the control.
+     *  @param thumbPos A number representing the new position of the thumb
+     *  button in the control.
      */
     override protected function positionThumb(thumbPos:Number):void
     {
@@ -97,17 +81,33 @@
     }

     /**
-     * The position of the thumb on an HScrollBar is equal to the given
-     * localX parameter.
+     *  @private
+     */
+    override protected function calculateThumbSize():Number
+    {
+        return Math.max(thumb.minWidth, super.calculateThumbSize());
+    }
+
+    /**
+     *  @private
+     */
+    override protected function sizeThumb(thumbSize:Number):void
+    {
+        thumb.width = thumbSize;
+    }
+
+    /**
+     *  The position of the thumb on an HScrollBar is equal to the given
+     *  localX parameter.
      *
-     * @param localX The x position relative to the scrollbar control
-     * @param localY The y position relative to the scrollbar control
+     *  @param localX The x position relative to the scrollbar control
+     *  @param localY The y position relative to the scrollbar control
      */
-    override protected function getScrollPosition(localX:Number,
-                                                  localY:Number):Number
+    override protected function pointToPosition(localX:Number,
+                                                localY:Number):Number
     {
         return localX;
     }
 }

-}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 3553
Author:   chaase@adobe.com
Date:     2008-10-09T23:14:18.257660Z

Log Message:
-----------
Fixed sdk-17113, sdk-17139, sdk-16526, sdk-16884, sdk-17154, sdk-16999, sdk-16631, sdk-17214. Most of these fixes are related to making effects work when contraints are enabled on the target. For that, two new attributes were added to FxAnimate: disableLayout (default false) and adjustConstraints (default false). Fixes were also made for various other effects issues, such as running all animations and startDelays off of the same global timer.
The change also includes renames of some effects classes and the easing API (now in mx.effects.interpolation).

Reviewed by: Jason (effects code) and Hans (renames)
tests: checkintests

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/FxResizeInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/IEaser.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/IEaser.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Linear.as" copyfrom-rev="3548" action="A">/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="dir" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/Animate3DInstance.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimate3DInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animate3D.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxMoveInstance.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/Animate3DInstance.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/gumbo-manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Timeline.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/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/Animation.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Constant.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/Constant.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/Rotate3DInstance.as" copyfrom-rev="3548" action="A">/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" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Rotate3D.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxRotate3D.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/EaseInOut.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/EaseInOut.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Power.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/Power.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/Rotate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Sine.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/Sine.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Rotate3D.as</path>

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

--- frameworks/projects/spark/src/spark/effects/easing/Linear.as
+++ frameworks/projects/spark/src/spark/effects/easing/Linear.as
@@ -8,7 +8,7 @@
 //  in accordance with the terms of the license agreement accompanying it.
 //
 ////////////////////////////////////////////////////////////////////////////////
-package mx.effects.fxEasing
+package mx.effects.interpolation
 {
 /**
  * Provides easing functionality with three phases during


Use a LabeledSlider for any range properties.

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

--- src/as/com/threerings/ezgame/client/EZGameConfigurator.as
+++ src/as/com/threerings/ezgame/client/EZGameConfigurator.as
@@ -28,6 +28,8 @@
 import mx.controls.Label;

 import com.threerings.util.StringUtil;
+
+import com.threerings.flex.LabeledSlider;

 import com.threerings.parlor.game.client.FlexGameConfigurator;

@@ -109,7 +111,7 @@
         slider.liveDragging = true;
         slider.snapInterval = 1;

-        addXMLControl(spec.@ident, slider);
+        addXMLControl(spec.@ident, new LabeledSlider(slider));
     }

     /**
@@ -173,8 +175,8 @@
             for (var ii :int = 0; ii < _customConfigs.length; ii += 2) {
                 var ident :String = String(_customConfigs[ii]);
                 var control :UIComponent = (_customConfigs[ii + 1] as UIComponent);
-                if (control is HSlider) {
-                    options[ident] = (control as HSlider).value;
+                if (control is LabeledSlider) {
+                    options[ident] = (control as LabeledSlider).slider.value;

                 } else if (control is CheckBox) {
                     options[ident] = (control as CheckBox).selected;


Declare the return type for these functions.

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

--- src/as/com/threerings/miso/tile/AutoFringer.as
+++ src/as/com/threerings/miso/tile/AutoFringer.as
@@ -182,7 +182,7 @@

         // There's no fringe with the same identifier, so we need to create the tile.
         var img :Bitmap = null;
-        getTileImageHelper1(img, hashValue, masks, fringers, 0, function (result :Bitmap) {
+        getTileImageHelper1(img, hashValue, masks, fringers, 0, function (result :Bitmap) :void {
                 frTile.setImage(result);
             });
         fringes.put(frTile, new WeakReference(frTile));
@@ -190,7 +190,7 @@
     }

     protected function getTileImageHelper1 (img :Bitmap, hashValue :int, masks :Map,
-        fringers :Array, fringerIdx :int, callback :Function)
+        fringers :Array, fringerIdx :int, callback :Function) :void
     {
         var fringer :FringerRec = fringers[fringerIdx];
         var indexes :Array = getFringeIndexes(fringer.bits);
@@ -399,8 +399,7 @@
         NORTHWEST | WEST | SOUTHWEST | SOUTH | SOUTHEAST | EAST | NORTHEAST,

         // all the directions!
-        NORTH | NORTHEAST | EAST | SOUTHEAST |
-                SOUTH | SOUTHWEST | WEST | NORTHWEST
+        NORTH | NORTHEAST | EAST | SOUTHEAST | SOUTH | SOUTHWEST | WEST | NORTHWEST
     ];

     // A reverse map of the above array, for quickly looking up which tile
@@ -444,4 +443,4 @@
         return "[base=" + baseset + ", pri=" + priority + ", bits="
             + bits.toString(16) + "]";
     }
-}+}


[CEXP-257] MicrophoneLevelForwarder: Asynchronous unit tests with mockolate. Finally.

--- src/test/flashwavrecorder/MicrophoneLevelForwarderTest.as
+++ src/test/flashwavrecorder/MicrophoneLevelForwarderTest.as
@@ -3,35 +3,47 @@
 import flash.events.SampleDataEvent;
 import flash.utils.ByteArray;

-import org.mockito.MockitoTestCase;
+import mockolate.mock;
+import mockolate.runner.MockolateRule;

-public class MicrophoneLevelForwarderTest extends MockitoTestCase {
+import org.flexunit.assertThat;
+import org.flexunit.async.Async;
+import org.hamcrest.object.equalTo;

-  private var microphoneLevelForwarder:MicrophoneLevelForwarder;
-  private var sampleCalculator:SampleCalculator;
-  private var sample:Number;
+public class MicrophoneLevelForwarderTest {

-  public function MicrophoneLevelForwarderTest() {
-    super([SampleCalculator]);
+  [Rule]
+  public var mockRule:MockolateRule = new MockolateRule();
+
+  [Mock]
+  public var sampleCalculator:SampleCalculator;
+
+  private var testObj:MicrophoneLevelForwarder;
+  private const LEVEL:Number = 1;
+
+  [Before]
+  public function setUp():void {
+    testObj = new MicrophoneLevelForwarder(sampleCalculator);
   }

-  private function setup():void {
-    sampleCalculator = mock(SampleCalculator) as SampleCalculator;
-    microphoneLevelForwarder = new MicrophoneLevelForwarder(sampleCalculator);
+  [Test(async)]
+  public function shouldDispatchLevelEventWithHandle():void {
+    // given
+    var data:ByteArray = new ByteArray();
+    var sampleDataEvent:SampleDataEvent =  new SampleDataEvent(SampleDataEvent.SAMPLE_DATA);
+    sampleDataEvent.data = data;
+
+    mock(sampleCalculator).method('getHighestSample').args(data).returns(LEVEL);
+
+    // expect
+    Async.handleEvent(this, testObj, MicrophoneLevelEvent.LEVEL_VALUE, onLevelEvent);
+
+    // when
+    testObj.micSampleDataHandler(sampleDataEvent);
   }

-  public function test_microphone_sample_handler_calls_sample_calculator_for_level_value():void {
-    // given
-    setup();
-    var sampleDataEvent:SampleDataEvent = new SampleDataEvent(SampleDataEvent.SAMPLE_DATA);
-    var sampleData:ByteArray = new ByteArray();
-    sampleDataEvent.data = sampleData;
-    // when
-    microphoneLevelForwarder.micSampleDataHandler(sampleDataEvent);
-    // then
-    verify().that(sampleCalculator.getHighestSample(sampleData));
+  private function onLevelEvent(event:MicrophoneLevelEvent, data:Object):void {
+    assertThat(event.getLevelValue(), equalTo(LEVEL));
   }
-
-
 }
 }


Игнорирование ошибки сохранения куков

Игнорирование ошибки сохранения куков

--- src/main/org/shypl/common/util/Cookies.as
+++ src/main/org/shypl/common/util/Cookies.as
@@ -20,7 +20,11 @@
 		}

 		private function save():void {
-			_sharedObject.flush();
+			try {
+				_sharedObject.flush();
+			}
+			catch (ignored:Error) {
+			}
 		}
 	}
 }


Develop

Develop

--- src/main/org/shypl/common/util/Cookies.as
+++ src/main/org/shypl/common/util/Cookies.as
@@ -5,7 +5,7 @@
 		private var _sharedObject:SharedObject;
 		private var _data:Object;

-		public function Cookies(storageName:String, sharedName:String = null) {
+		public function Cookies(storageName:String = "cookies", sharedName:String = null) {
 			_sharedObject = SharedObject.getLocal(storageName, sharedName);
 			_data = _sharedObject.data;
 		}


fixed null error

fixed null error

--- WeaveJS/src/weavejs/data/columns/AbstractAttributeColumn.as
+++ WeaveJS/src/weavejs/data/columns/AbstractAttributeColumn.as
@@ -34,9 +34,7 @@
 			super();
 			if (metadata)
 				setMetadata(metadata);
-			// make sure dataType will be included in getMetadataPropertyNames() result
-			_metadata[ColumnMetadata.DATA_TYPE] = getMetadata(ColumnMetadata.DATA_TYPE);
-		}
+		}

 		protected var _metadata:Object = null;

@@ -50,6 +48,8 @@
 				throw new Error("Cannot call setMetadata() if already set");
 			// make a copy because we don't want any surprises (metadata being set afterwards)
 			_metadata = copyValues(metadata);
+			// make sure dataType will be included in getMetadataPropertyNames() result
+			_metadata[ColumnMetadata.DATA_TYPE] = getMetadata(ColumnMetadata.DATA_TYPE);
 		}

 		/**


Transferred from the Adobe Open Source Subversion Repository

Revision: 18161
Author:   chiedozi@adobe.com
Date:     2010-10-14T23:15:44.404213Z

Log Message:
-----------
The ViewNavigator components now manage their orientation internally based on the stage width and height.  The landscapeOrientation property has been removed from all the components.

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

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/View.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/MobileApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedMobileApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewMenu.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileApplicationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Application.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as
+++ frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as
@@ -11,12 +11,16 @@

 package spark.components.supportClasses
 {
+import flash.display.StageOrientation;
+import flash.events.StageOrientationEvent;
 import flash.utils.getDefinitionByName;
 import flash.utils.getQualifiedClassName;

+import mx.core.FlexGlobals;
 import mx.core.mx_internal;
 import mx.events.FlexEvent;
 import mx.events.PropertyChangeEvent;
+import mx.managers.SystemManager;

 import spark.components.SkinnableContainer;
 import spark.components.View;
@@ -138,14 +142,13 @@
      *  This method determines if a device's default back key handler can
      *  be canceled.  For example, by default, when the back key is pressed
      *  on android devices, the application exits.  By returning true, that
-     *  action will be canceled and the navigator's backKeyHandler() method
-     *  is called.
+     *  action will be canceled and the navigator's default back key behavior
+     *  will run.
      *
      *
This method is only called if the navigator is the main navigator
      *  of a MobileApplication class
.
      *
-     *  @return Flag indicating the default behavior can be canceled.  By
-     *  default, this method returns false.
+     *  @default true
      *
      *  @langversion 3.0
      *  @playerversion Flash 10.1
@@ -274,41 +277,6 @@
     }

     //----------------------------------
-    //  landscapeOrientation
-    //----------------------------------
-
-    private var _landscapeOrientation:Boolean = false;
-
-    /**
-     *  Indicates whether the navigator should be in portrait or landscape
-     *  orientation.  When this property changes, the navigator attempts
-     *  to change it's skin state to match.
-     *
-     *  @default true
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-     */
-    public function get landscapeOrientation():Boolean
-    {
-        return _landscapeOrientation;
-    }
-
-    public function set landscapeOrientation(value:Boolean):void
-    {
-        if (value != _landscapeOrientation)
-        {
-            _landscapeOrientation = value;
-            invalidateSkinState();
-
-            if (skin)
-                skin.invalidateDisplayList();
-        }
-    }
-
-    //----------------------------------
     //  lastAction
     //----------------------------------

@@ -469,50 +437,6 @@
     //--------------------------------------------------------------------------

     /**
-     *  If the navigator is the main navigator of the MobileApplication or
-     *  class, this method is called when the back device key is pressed.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-     */
-    mx_internal function backKeyHandler():void
-    {
-    }
-
-    /**
-     *  @private
-     *  This method checks if the current view can be removed
-     *  from the display list. This is mx_internal because the
-     *  TabbedViewNavigator needs to call it on its children.
-     *
-     *  @return Returns true if the screen can be removed
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-     */
-    mx_internal function canRemoveCurrentView():Boolean
-    {
-    	// This is a method instead of a property because the default
-    	// implementation in ViewNavigator has a side effect
-        return true;
-    }
-
-    /**
-     *  @private
-     *  Creates the top view of the navigator and adds it to the
-     *  display list.  This method is used when the navigator exists
-     *  inside a TabbedViewNavigator.
-     */
-    mx_internal function createTopView():void
-    {
-        // Override in sub class
-    }
-
-    /**
      *  @private
      *
      *  @langversion 3.0
@@ -522,7 +446,7 @@
      */
     override protected function getCurrentSkinState():String
     {
-        var finalState:String = _landscapeOrientation ? "landscape" : "portrait";
+        var finalState:String = FlexGlobals.topLevelApplication.aspectRatio;

         if (_overlayControls)
             finalState += "AndOverlay";
@@ -583,5 +507,81 @@
     public function updatePropertiesForView(view:View):void
     {
     }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Private methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  If the navigator is the main navigator of the MobileApplication or
+     *  class, this method is called when the back device key is pressed.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    mx_internal function backKeyHandler():void
+    {
+    }
+
+    /**
+     *  @private
+     *  This method checks if the current view can be removed
+     *  from the display list. This is mx_internal because the
+     *  TabbedViewNavigator needs to call it on its children.
+     *
+     *  @return Returns true if the screen can be removed
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    mx_internal function canRemoveCurrentView():Boolean
+    {
+        // This is a method instead of a property because the default
+        // implementation in ViewNavigator has a side effect
+        return true;
+    }
+
+    /**
+     *  @private
+     *  Creates the top view of the navigator and adds it to the
+     *  display list.  This method is used when the navigator exists
+     *  inside a TabbedViewNavigator.
+     */
+    mx_internal function createTopView():void
+    {
+        // Override in sub class
+    }
+
+    /**
+     *  @private
+     */
+    mx_internal function stage_orientationChangeHandler(event:StageOrientationEvent):void
+    {
+        invalidateSkinState();
+
+        // FIXME (chiedozi): Try to figure out why we need this, file a bug
+        if (skin)
+            skin.invalidateDisplayList();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods: UIComponent
+    //
+    //--------------------------------------------------------------------------
+
+    override public function initialize():void
+    {
+        super.initialize();
+
+        systemManager.stage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGE,
+            stage_orientationChangeHandler);
+    }
 }
 }


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

--- frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as
@@ -22,7 +22,7 @@
 import mx.core.Application;
 import mx.core.UIComponent;
 import mx.effects.FxAnimateShaderTransition;
-import mx.effects.PropertyValuesHolder;
+import mx.effects.AnimationProperty;
 import mx.events.AnimationEvent;

 public class FxAnimateShaderTransitionInstance extends FxAnimateInstance
@@ -206,8 +206,8 @@
             shader.data.from.input = bitmapFrom;
             shader.data.to.input = bitmapTo;

-            propertyValuesList = [
-                new PropertyValuesHolder("progress", [0,1])
+            animationProperties = [
+                new AnimationProperty("progress", 0, 1)
             ];
             // auto-set width/height if exposed in shader
             if ("width" in shader.data)


Commit test.

Commit test.

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

--- test/org/igniterealtime/xiff/util/DateTimeParserTest.as
+++ test/org/igniterealtime/xiff/util/DateTimeParserTest.as
@@ -34,7 +34,7 @@
 		{
 			var date:Date = new Date( 2000, 10, 30, 0, 0 );
 			var dateAsString:String = DateTimeParser.date2string( date );
-			assertEquals( "2000-11-30", dateAsString );
+			assertEquals( "2000-12-30", dateAsString );
 		}
 	}
 }


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

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

 package mx.controls.fileSystemClasses
 {


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

--- frameworks/projects/automation_dmv/src/mx/automation/delegates/charts/ChartBaseAutomationImpl.as
+++ frameworks/projects/automation_dmv/src/mx/automation/delegates/charts/ChartBaseAutomationImpl.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.
 //
 ////////////////////////////////////////////////////////////////////////////////


Changed blah.toString() to String(blah) to avoid crashing.

Change-Id: I67854ab7c1fc9eccd65dfc66a74f5fe1bb8ddbb6

--- WeaveData/src/weave/data/ColumnReferences/HierarchyColumnReference.as
+++ WeaveData/src/weave/data/ColumnReferences/HierarchyColumnReference.as
@@ -59,7 +59,7 @@
 		// this function removes unwanted attributes from the path leaf node, and name of hierarchy
 		private function handlePathChange():void
 		{
-			if (hierarchyPath.value && hierarchyPath.value.localName().toString() == 'hierarchy')
+			if (hierarchyPath.value && String(hierarchyPath.value.localName()) == 'hierarchy')
 				delete hierarchyPath.value["@name"]; // for backwards compatibility
 		}
 	}


avoid using forceUpdate = true when retrieving the localToWorld and worldToLocal matrices references because it is useless

--- src/aerys/minko/scene/controller/mesh/MeshController.as
+++ src/aerys/minko/scene/controller/mesh/MeshController.as
@@ -72,8 +72,8 @@
             var transformController : TransformController = target.scene.getControllersByType(TransformController)[0]
                 as TransformController;

-            _localToWorld = transformController.getLocalToWorldTransform(target, true);
-            _worldToLocal = transformController.getWorldToLocalTransform(target, true);
+            _localToWorld = transformController.getLocalToWorldTransform(target);
+            _worldToLocal = transformController.getWorldToLocalTransform(target);
             transformController.synchronizeTransforms(target, true);
             transformController.lockTransformsBeforeUpdate(target, true);


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

--- frameworks/projects/advancedgrids/src/mx/styles/metadata/GapStyles.as
+++ frameworks/projects/advancedgrids/src/mx/styles/metadata/GapStyles.as
@@ -1,24 +1,4 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.
-//
-////////////////////////////////////////////////////////////////////////////////

-/**
- *  Number of pixels between children in the horizontal direction.
- *  The default value depends on the component class;
- *  if not overriden for the class, the default value is 8.
- *
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
 [Style(name="horizontalGap", type="Number", format="Length", inherit="no")]

 /**


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

--- frameworks/projects/framework/src/mx/collections/XMLListCollection.as
+++ frameworks/projects/framework/src/mx/collections/XMLListCollection.as
@@ -33,6 +33,11 @@
  *
  *  @see XMLList
  *  @see XML
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class XMLListCollection extends ListCollectionView
 {
@@ -52,6 +57,11 @@
      *
      *  @param source The XMLList object containing the data to be represented
      *                by the XMLListCollection object.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function XMLListCollection(source:XMLList = null)
     {
@@ -78,6 +88,11 @@
      *  The XMLListCollection object does not represent any changes that
      *  you make directly to the source XMLList object.
      *  Always use the XMLListCollection methods to modify the collection.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get source():XMLList
     {
@@ -112,6 +127,11 @@
      *  @return The XMLList of matching XML objects.
      *
      *  @see XML#attribute()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function attribute(attributeName:Object):XMLList
     {
@@ -131,6 +151,11 @@
      *          the attributes.
      *
      *  @see XML#attributes()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function attributes():XMLList
     {
@@ -153,6 +178,11 @@
      *          original XMLList.
      *
      *  @see XML#child()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function child(propertyName:Object):XMLList
     {
@@ -171,6 +201,11 @@
      *  @return An XMLList of children of the XML objects in the original XMLList.
      *
      *  @see XML#children()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function children():XMLList
     {
@@ -186,6 +221,11 @@
      *  Returns a deep copy of the XMLList object.
      *
      *  @return The copy of the XMLList object.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function copy():XMLList
     {
@@ -212,6 +252,11 @@
      *  etc.) of the XML objects in the original XMLList.
      *
      *  @see XML#descendants()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function descendants(name:Object="*"):XMLList
     {
@@ -236,6 +281,11 @@
      *          original XMLList.
      *
      *  @see XML#elements()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function elements(name:String="*"):XMLList
     {
@@ -254,6 +304,11 @@
      *  @return The XMLList that contains the result.
      *
      *  @see XML#text()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function text():XMLList
     {
@@ -283,6 +338,11 @@
      *  @return The string representation of the XMLList object.
      *
      *  @see XML#prettyPrinting
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function toString():String
     {
@@ -325,6 +385,11 @@
      *  @return The string representation of the XMLList.
      *
      *  @see XML#prettyPrinting
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function toXMLString():String
     {
@@ -360,6 +425,11 @@
      * the fact that it should be a callProperty()).  So instead
      * the above methods will build little functions that call the
      * right thing, but the looping logic has been factored into here.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private function execXMLListFunction(func:Function):XMLList
     {


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

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

 package mx.messaging.channels.amfx
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 88
Author:   open-source-svn-admin@adobe.com
Date:     2008-01-03T22:47:56.499469Z

Log Message:
-----------
Perforce Change 191925 by proberts@proberts-laptop-flex on 2008/01/03 16:47:12 Severity: ignore Details: doc additions/clean up for FlexNativeMenu. Also FLEXDOCS-320 (update documentation for FlexNativeMenuEvent.MENU_SHOW to explain that the index, label, and item properties are null) Affected files ...

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/in/air/air_version.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Consumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/NoChannelAvailableError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemHistoryButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/DirectHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemTree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/config/ServerConfig.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/mac/AIR Integration Kit.tbz2</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingConnectionHandler.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/MessagingError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/InvalidChannelError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/AbstractProducer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/MessageSerializationError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/config/ConfigMap.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Channel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureStreamingAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/win/AIR Integration Kit.zip</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/AbstractConsumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureStreamingHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXContext.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeMenuEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/PollingChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/lib/flex-messaging-common.jar</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/NetConnectionChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/mxml/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/Grammar.jj</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ConsumerMessageDispatcher.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/InvalidDestinationError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXResult.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/AbstractMessageStore.as</path>

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

--- frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXEncoder.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXEncoder.as
@@ -1,21 +1,14 @@
-/*************************************************************************
- *
- * ADOBE CONFIDENTIAL
- * __________________
- *
- *  [2002] - [2007] Adobe Systems Incorporated
- *  All Rights Reserved.
- *
- * NOTICE:  All information contained herein is, and remains
- * the property of Adobe Systems Incorporated and its suppliers,
- * if any.  The intellectual and technical concepts contained
- * herein are proprietary to Adobe Systems Incorporated
- * and its suppliers and may be covered by U.S. and Foreign Patents,
- * patents in process, and are protected by trade secret or copyright law.
- * Dissemination of this information or reproduction of this material
- * is strictly forbidden unless prior written permission is obtained
- * from Adobe Systems Incorporated.
- */
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
 package mx.messaging.channels.amfx
 {

@@ -30,6 +23,7 @@
 import mx.utils.ObjectUtil;

 [ExcludeClass]
+
 /**
  * Serializes an arbitrary ActionScript object graph to an XML
  * representation that is based on Action Message Format (AMF)


nevermind

nevermind

git-svn-id: f772d44cbf86d9968f12179c1556189f5afcea6e@653 e0ac87d7-b42b-0410-9034-8248a05cb448

--- braineditor/MakeLobeButton.as
+++ braineditor/MakeLobeButton.as
@@ -9,18 +9,8 @@
     mMode = Mode;
     }
     var mMode;
-    var keyListener = {};
-    keyListener.onKeyDown = function(){
-        var theKey = Key.getCode();
-        if(theKey == Key.DELETEKEY){
-        Brain.makenewlobe();
-        };
-    }
-
-Key.addListener( keyListener );
     function onPress():Void {
     Brain.makenewlobe();
     mMode.setdrag();
     }
-}
-
+}


Bug 668313: exactgc.as fix condition name extraction (r=rulohani,sr=lhansen).

--- utils/exactgc.as
+++ utils/exactgc.as
@@ -885,7 +885,7 @@
                 // It's heuristic; bugzilla 649333 tracks the problem.

                 if ((result = (/^\s*#\s*(ifdef|ifndef|if|elif|else|endif|define)/).exec(line)) != null) {
-                    var rest = sanitizeCondition(line.substring(cppIndex + result[0].length));
+                    var rest = sanitizeCondition(line.substring(result[0].length));
                     var directive = result[1];
                     switch (directive) {
                     case "ifdef":


working around DisplayObject.parent bug and Spark removeChild() error.

--- WeaveCore/src/weave/core/LinkableDynamicDisplayObject.as
+++ WeaveCore/src/weave/core/LinkableDynamicDisplayObject.as
@@ -17,6 +17,7 @@
 {
 	import flash.display.DisplayObject;
 	import flash.display.DisplayObjectContainer;
+	import flash.events.Event;

 	import weave.api.core.IDisposableObject;
 	import weave.api.core.ILinkableDisplayObject;
@@ -35,6 +36,7 @@
 			this.addImmediateCallback(this, firstCallback);
 		}

+		private var _oldParent:DisplayObjectContainer = null;
 		private var _parent:DisplayObjectContainer = null;
 		private var _object:DisplayObject = null;

@@ -46,8 +48,24 @@
 			{
 				_object = newObject;
 				changeParent(oldObject, _parent, null);
-				changeParent(newObject, null, _parent);
+				updateParentLater();
 			}
+		}
+
+		private function updateParentLater():void
+		{
+			if (_object)
+				_object.addEventListener(Event.ENTER_FRAME, updateParent);
+		}
+
+		private function updateParent(event:Event):void
+		{
+			if (event.currentTarget != _object)
+				return;
+
+			changeParent(_object, _oldParent, _parent);
+			_oldParent = null;
+			_object.removeEventListener(Event.ENTER_FRAME, updateParent);
 		}

 		private static function changeParent(child:DisplayObject, oldParent:DisplayObjectContainer, newParent:DisplayObjectContainer):void
@@ -73,9 +91,10 @@
 		 */
 		public function set parent(newParent:DisplayObjectContainer):void
 		{
-			var oldParent:DisplayObjectContainer = _parent;
+			if (!_oldParent)
+				_oldParent = _parent;
 			_parent = newParent;
-			changeParent(object, oldParent, newParent);
+			updateParentLater();
 		}

 		/**


ColorColumn now reports its dataType as "string".

--- WeaveData/src/weave/data/AttributeColumns/ColorColumn.as
+++ WeaveData/src/weave/data/AttributeColumns/ColorColumn.as
@@ -21,6 +21,8 @@
 {
 	import flash.utils.Dictionary;

+	import weave.api.data.ColumnMetadata;
+	import weave.api.data.DataType;
 	import weave.api.data.IColumnStatistics;
 	import weave.api.data.IQualifiedKey;
 	import weave.api.newLinkableChild;
@@ -41,6 +43,14 @@
 		{
 			_internalColumnStats = registerLinkableChild(this, WeaveAPI.StatisticsCache.getColumnStatistics(internalDynamicColumn));
 		}
+
+		override public function getMetadata(propertyName:String):String
+		{
+			if (propertyName == ColumnMetadata.DATA_TYPE)
+				return DataType.STRING;
+
+			return super.getMetadata(propertyName);
+		}

 		// color values depend on the min,max stats of the internal column
 		private var _internalColumnStats:IColumnStatistics;