Transferred from the Adobe Open Source Subversion Repository

Revision: 5545
Author:   jimurphy@adobe.com
Date:     2009-03-25T19:00:52.330680Z

Log Message:
-----------
1st pass of rename according to the spec http://opensource.adobe.com/wiki/display/flexsdk/Dropping+the+Fx+Prefix

Flex now requires CSS Style declarations to declare @namespace rules and disambiguate between halo and spark components using CSS 3 namespace prefixes on type selectors. At compile time, this namespace information will be used to map type names to qualified ActionScript class names. At runtime, type selectors are matched on qualified ActionScript class name (for example mx.controls.Button rather than just Button). Flex 3 applications must be compiled with -compatibility-version=3.0.0 to get unqualified CSS type selector behavior.

QE: Yes, this build may help in updating test cases to use the new namespaces and class names.
Dev: Not yet
Doc: Not yet

Modified Paths:
--------------
748 paths were modified

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

--- frameworks/projects/spark/src/spark/effects/AnimateFilter.as
+++ frameworks/projects/spark/src/spark/effects/AnimateFilter.as
@@ -8,11 +8,11 @@
 //  in accordance with the terms of the license agreement accompanying it.
 //
 ////////////////////////////////////////////////////////////////////////////////
-package mx.effects
+package spark.effects
 {

-import mx.effects.interpolation.IEaser;
-import mx.effects.effectClasses.FxAnimateFilterInstance;
+import spark.effects.easing.IEaser;
+import spark.effects.supportClasses.AnimateFilterInstance;

 import mx.core.mx_internal;
 import mx.effects.Effect;
@@ -29,23 +29,23 @@
  * by the animationProperties.
  *
  * Example usage is as follows:
- * @example FxAnimateFilter example:
+ * @example AnimateFilter example:
  * <listing version="3.0">
  * <?xml version="1.0" encoding="utf-8"?>
- * <FxApplication xmlns="http://ns.adobe.com/mxml/2009" >
+ * <Application xmlns="http://ns.adobe.com/mxml/2009" >
  *
  * <Script>
  * <![CDATA[
  *
  * import mx.effects.*;
- * import mx.filters.DropShadowFilter;
+ * import spark.filters.DropShadowFilter;
  *
- * // Use FxAnimateFilter to animate the color, distance, and angle
+ * // Use AnimateFilter to animate the color, distance, and angle
  * // of a DropShadowFilter.
  *
  * private function doDropShadowFilterSample():void{
  *     var df:DropShadowFilter = new DropShadowFilter();
- *     var anim:FxAnimateFilter = new FxAnimateFilter(btn1, df);
+ *     var anim:AnimateFilter = new AnimateFilter(btn1, df);
  *
  *     anim.animationProperties = [
  *         new AnimationProperty("color", 0, 0x0000FF),
@@ -64,7 +64,7 @@
  *
  * <Button id="btn1" x="50" y="50" label="Animate a DropShadowFilter" click="doDropShadowFilterSample()" />
  *
- * </FxApplication>
+ * </Application>
  * </listing>
  *
  *  @langversion 3.0
@@ -72,7 +72,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-public class FxAnimateFilter extends FxAnimate
+public class AnimateFilter extends Animate
 {
     include "../core/Version.as";

@@ -90,10 +90,10 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function FxAnimateFilter(target:Object = null, filter:IBitmapFilter = null)
+    public function AnimateFilter(target:Object = null, filter:IBitmapFilter = null)
     {
         super(target);
-        instanceClass = FxAnimateFilterInstance;
+        instanceClass = AnimateFilterInstance;
         this.bitmapFilter = filter;
     }

@@ -138,7 +138,7 @@
     override protected function initInstance(instance:IEffectInstance):void
     {
         super.initInstance(instance);
-        var animateInstance:FxAnimateFilterInstance = instance as FxAnimateFilterInstance;
+        var animateInstance:AnimateFilterInstance = instance as AnimateFilterInstance;
         animateInstance.bitmapFilter = bitmapFilter;
     }
 }


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

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

 package spark.events
 {


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

--- frameworks/projects/advancedgrids/src/mx/olap/CubeNodeBuilder.as
+++ frameworks/projects/advancedgrids/src/mx/olap/CubeNodeBuilder.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.
 //
 ////////////////////////////////////////////////////////////////////////////////


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

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

 package mx.validators
 {


Forced UI refresh after load()

Forced UI refresh after load()

--- src/LevelStates/LevelState.as
+++ src/LevelStates/LevelState.as
@@ -1124,6 +1124,8 @@
 					addModule(module, level.preplacesFixed);
 				}
 			}
+
+			makeUI();
 		}

 		private function loadFromSuccess():void {


Transferred from the Adobe Open Source Subversion Repository

Revision: 16737
Author:   rfrishbe@adobe.com
Date:     2010-06-30T05:59:18.451053Z

Log Message:
-----------
Fixing a few bugs around list selection and improving the user interaction.

FXM-59:  we weren't properly selecting an item after the first one was selected.

FXM-43: if selecting the item causes a view transition that the first view gets validated before the transition occurs.

Improved user interaction by visually de-selecting the selected item if another one is possibly selected (we don't know if it's a scroll or a selection until mouseup, but we provide visual clues along the way for the user)

QE notes: None
Doc notes: None
Bugs: FXM-43, FXM-59
Reviewer: Chiedo code reviewed the view transition issue--the rest will be code reviewed later
Tests run: checkintests, mustella List/ListDND (some mustella failed for me but the same failed on a clean build on my machine)
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ScrollerLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ScrollerLayout.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ScrollerLayout.as
@@ -567,7 +567,7 @@

             // if in overlay mode, let's inset it by a bit
             if (scroller.getStyle("horizontalScrollPolicy") == ScrollPolicy.OVERLAY)
-                hsb.setLayoutBoundsPosition(0, h - hsbH - 5);
+                hsb.setLayoutBoundsPosition(0, h - hsbH - 3);
             else
                 hsb.setLayoutBoundsPosition(0, h - hsbH);
         }
@@ -581,7 +581,7 @@
             // if in overlay mode, let's inset it by a bit
             // FIXME (rfrishbe): shouldn't hardcode the 5 here
             if (scroller.getStyle("verticalScrollPolicy") == ScrollPolicy.OVERLAY)
-                vsb.setLayoutBoundsPosition(w - vsbW - 5, 0);
+                vsb.setLayoutBoundsPosition(w - vsbW - 3, 0);
             else
                 vsb.setLayoutBoundsPosition(w - vsbW, 0);
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5030
Author:   egeorgie@adobe.com
Date:     2009-02-21T00:58:01.553397Z

Log Message:
-----------
Quick fix to GraphicElement

QE Notes: None
Doc Notes:
Bugs: None
Reviewer: Ryan
tests: None

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/GraphicElement.as

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
@@ -2707,7 +2707,7 @@

         // TODO EGeorgie: don't clear the graphics if the GraphicElement is invisible and explicitly owns the DO?
         // If we are the first in the sequence, clear the graphics:
-        if (shareIndex <= 0)
+        if (shareIndex <= 0 && drawnDisplayObject is ISharedGraphicsDisplayObject)
             ISharedGraphicsDisplayObject(drawnDisplayObject).graphics.clear();

         if (visible)


Transferred from the Adobe Open Source Subversion Repository

Revision: 9224
Author:   cframpto@adobe.com
Date:     2009-08-11T17:55:25.147936Z

Log Message:
-----------
In the comments for the maskType getter add a couple of closing </p> tags to make asdoc happy.

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
@@ -1062,9 +1062,9 @@
     [Inspectable(category="General", enumeration="clip,alpha", defaultValue="clip")]

     /**
-     *
The maskType defines how the mask is applied to the GraphicElement.
+     *
The maskType defines how the mask is applied to the GraphicElement.

      *
-     *
The possible values are MaskType.CLIP and MaskType.ALPHA.
+     *
The possible values are MaskType.CLIP and MaskType.ALPHA.

      *
      *
Clip Masking

      *


use 0 as default value when viewportWidth/viewportHeight is not defined in the scene bindings

--- src/aerys/minko/scene/node/camera/Camera.as
+++ src/aerys/minko/scene/node/camera/Camera.as
@@ -59,8 +59,12 @@
 			var zNear			: Number		= _cameraData.zNear;
 			var zFar			: Number		= _cameraData.zFar;
 			var fovDiv2			: Number		= _cameraData.fieldOfView * 0.5;
-			var width			: Number		= sceneBindings.getProperty('viewportWidth');
-			var height			: Number		= sceneBindings.getProperty('viewportHeight');
+			var width			: Number		= sceneBindings.propertyExists('viewportWidth')
+                ? sceneBindings.getProperty('viewportWidth')
+                : 0.;
+			var height			: Number		= sceneBindings.propertyExists('viewportHeight')
+                ? sceneBindings.getProperty('viewportHeight')
+                : 0.;
 			var xPercent		: Number		= 2.0 * (x / width - 0.5);
 			var yPercent 		: Number		= 2.0 * (y / height - 0.5);
 			var dx				: Number 		= Math.tan(fovDiv2) * xPercent * (width / height);


fix coding style

fix coding style

--- src/aerys/minko/render/shader/Shader.as
+++ src/aerys/minko/render/shader/Shader.as
@@ -141,11 +141,13 @@
 		{
 			var pass : ShaderInstance = findPass(sceneBindings, meshBindings);

-			if (pass == null)
+			if (!pass)
 			{
 				var signature	: Signature			= new Signature();
-				var config		: ShaderSettings	= findOrCreateSettings(sceneBindings, meshBindings);
-
+				var config		: ShaderSettings	= findOrCreateSettings(
+					sceneBindings, meshBindings
+				);
+
 				signature.mergeWith(config.signature);

 				var program		: Program3DResource	= null;


M Add cloned signal on mesh

M Add cloned signal on mesh

--- src/aerys/minko/scene/node/mesh/Mesh.as
+++ src/aerys/minko/scene/node/mesh/Mesh.as
@@ -47,6 +47,7 @@

 		private var _frame				: uint				= 0;

+		private var _cloned				: Signal 			= new Signal('Mesh.clones');
 		private var _effectChanged		: Signal			= new Signal('Mesh.effectChanged');
 		private var _visibilityChanged	: Signal			= new Signal('Mesh.visibilityChanged');
 		private var _frameChanged		: Signal			= new Signal('Mesh.frameChanged');
@@ -177,6 +178,11 @@
 			_frustumCulling = value;
 		}

+		public function get cloned() : Signal
+		{
+			return _cloned;
+		}
+
 		public function get visibilityChanged() : Signal
 		{
 			return _visibilityChanged;
@@ -282,10 +288,11 @@
 			properties = source._properties.clone();

 			copyControllersFrom(source, this, cloneControllers);
-
 			transform.copyFrom(source.transform);

 			effect = source._effect;
+
+			source.cloned.execute(this, source);
 		}
 	}
 }


Commenting improvements.

Commenting improvements.

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

--- src/as/com/threerings/util/ArrayUtil.as
+++ src/as/com/threerings/util/ArrayUtil.as
@@ -26,7 +26,7 @@
  * contains methods that understand the interfaces in this package.
  * So, for example, removeFirst() understands Equalable and will remove
  * an element that is equals() to the specified element, rather than just
- * ===.
+ * === (strictly equals) to the specified element.
  */
 public class ArrayUtil
 {
@@ -75,6 +75,8 @@
      * Returns the index of the first item in the array for which the predicate function
      * returns true, or -1 if no such item was found. The predicate function should be of type:
      *   function (element :*) :Boolean { }
+     *
+     * @return the zero-based index of the matching element, or -1 if none found.
      */
     public static function indexIf (arr :Array, predicate :Function) :int
     {
@@ -88,6 +90,14 @@
         return -1; // never found
     }

+    /**
+     * Returns the first index of the supplied element in the array. Note that if the element
+     * implements Equalable, an element that is equals() will have its index returned, instead
+     * of requiring the search element to be === (strictly equal) to an element in the array
+     * like Array.indexOf().
+     *
+     * @return the zero-based index of the matching element, or -1 if none found.
+     */
     public static function indexOf (arr :Array, element :Object) :int
     {
         if (arr != null) {
@@ -100,6 +110,10 @@
         return -1; // never found
     }

+    /**
+     * @return true if the specified element, or one that is Equalable.equals() to it, is
+     * contained in the array.
+     */
     public static function contains (arr :Array, element :Object) :Boolean
     {
         return (indexOf(arr, element) != -1);


FLVMux: Dont complain too loudly about unknowns.

--- src/com/axis/rtspclient/FLVMux.as
+++ src/com/axis/rtspclient/FLVMux.as
@@ -381,7 +381,7 @@
         break;

       default:
-        trace("Unsupported NALU type: " + nalu.ntype);
+        /* Unknown NAL unit, skip it */
         /* Return here as nothing was created, and thus nothing should be appended */
         return;
       }


Transferred from the Adobe Open Source Subversion Repository

Revision: 13046
Author:   hneelu@adobe.com
Date:     2009-12-17T12:34:07.695337Z

Log Message:
-----------
Updating automation sources..

Modified Paths:
--------------
451 paths were modified

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

--- frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkNumericStepperAutomationImpl.as
+++ frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkNumericStepperAutomationImpl.as
@@ -122,7 +122,8 @@
 		 */
 		override public function get automationValue():Array
 		{
-			return [ ns.value.toString() ];
+			//return [ ns.value.toString() ];
+			return super.automationValue;

 		}


expose OVVEvent.OVVImpressionUnmeasurable to third parties

--- src/org/openvv/OVVAsset.as
+++ src/org/openvv/OVVAsset.as
@@ -189,7 +189,7 @@
 		/**
 		 * A vector of all OVV events
 		 */
-		private static const OVV_EVENTS:Array = ([OVVEvent.OVVError,OVVEvent.OVVLog, OVVEvent.OVVImpression]);
+		private static const OVV_EVENTS:Array = ([OVVEvent.OVVError,OVVEvent.OVVLog, OVVEvent.OVVImpression, OVVEvent.OVVImpressionUnmeasurable]);

 		private var _vpaidEventsDispatcher:IEventDispatcher = null;


fixed bug where icon media was not saving properly

--- flexEditor/src/org/arisgames/editor/util/AppUtils.as
+++ flexEditor/src/org/arisgames/editor/util/AppUtils.as
@@ -315,6 +315,7 @@
             npc.description = data.description;
             npc.greeting = data.text;
             npc.mediaId = data.media_id;
+			npc.iconMediaId = data.icon_media_id;

             return npc;
         }
@@ -336,6 +337,7 @@
 			node.title = data.title;
 			node.text = data.text;
 			node.mediaId = data.media_id;
+			node.iconMediaId = data.icon_media_id;
 			node.opt1Text = data.opt1_text;
 			node.opt1NodeId = data.opt1_node_id;
 			node.opt2Text = data.opt2_text;


requirements using qty no longer have qty default = n/a

--- flexEditor/src/org/arisgames/editor/util/AppUtils.as
+++ flexEditor/src/org/arisgames/editor/util/AppUtils.as
@@ -770,7 +770,10 @@
 			req.requirement == AppConstants.REQUIREMENT_PLAYER_HAS_UPLOADED_MEDIA_ITEM_IMAGE_DATABASE ||
 			req.requirement == AppConstants.REQUIREMENT_PLAYER_HAS_UPLOADED_MEDIA_ITEM_AUDIO_DATABASE ||
 			req.requirement == AppConstants.REQUIREMENT_PLAYER_HAS_UPLOADED_MEDIA_ITEM_VIDEO_DATABASE ||
-			req.requirement == AppConstants.REQUIREMENT_PLAYER_HAS_NOTE_DATABASE)
+			req.requirement == AppConstants.REQUIREMENT_PLAYER_HAS_NOTE_DATABASE ||
+			req.requirement == AppConstants.REQUIREMENT_PLAYER_HAS_NOTE_WITH_LIKES_DATABASE ||
+			req.requirement == AppConstants.REQUIREMENT_PLAYER_HAS_NOTE_WITH_COMMENTS_DATABASE ||
+			req.requirement == AppConstants.REQUIREMENT_PLAYER_HAS_GIVEN_NOTE_COMMENTS_DATABASE)
 		{
 			return true;
 		}


- change: CSSDeclaration#toString now sorts the properties aplhabetically for easier digestion

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

--- src/reprise/css/CSSDeclaration.as
+++ src/reprise/css/CSSDeclaration.as
@@ -323,13 +323,15 @@
 		public function toString() : String
 		{
 			var str:String = "CSSDeclaration\n{\n";
+			var props : Array = [];
 			for (var key:String in m_properties)
 			{
 				var property : CSSProperty = CSSProperty(m_properties[key]);
-				str += "\t" + key + " : " + property.specifiedValue() +
-					(property.unit() || '') + "; //" + (property.cssFile() || '[no file]') + "\n";
-			}
-
+				props.push("\t" + key + " : " + property.specifiedValue() +
+					(property.unit() || '') + "; //" + (property.cssFile() || '[no file]'));
+			}
+			props = props.sort();
+			return str + props.join('\n') + '\n}';
 			return str + '}';
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 6003
Author:   egeorgie@adobe.com
Date:     2009-04-07T22:44:37.670097Z

Log Message:
-----------
Fix bug http://bugs.adobe.com/jira/browse/SDK-19154 layoutBounds for group that has a path with a larger stroke weight is incorrect

Fix: Modify BasicLayout to use the new ILayoutElement APIs getLayoutBoundsXAtSize, getLayoutBoundsYAtSize.

QE Notes: None
Doc Notes: None
Bugs: SDK-19154
Reviewer: Ely
tests: checkintests, mustella (group, layout)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/BasicLayout.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/framework/src/mx/core/LayoutElementUIComponentUtils.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/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ILayoutElement.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/primitives/Ellipse.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Rect.as</path>

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

--- frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as
+++ frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as
@@ -3351,6 +3351,34 @@
     public function getMaxBoundsHeight(postTransform:Boolean=true):Number
     {
         return LayoutElementUIComponentUtils.getMaxBoundsHeight(this,postTransform? nonDeltaLayoutMatrix():null);
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function getBoundsXAtSize(width:Number, height:Number, postTransform:Boolean = true):Number
+    {
+        return LayoutElementUIComponentUtils.getBoundsXAtSize(this, width, height,
+                                                              postTransform ? nonDeltaLayoutMatrix() : null);
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function getBoundsYAtSize(width:Number, height:Number, postTransform:Boolean = true):Number
+    {
+        return LayoutElementUIComponentUtils.getBoundsYAtSize(this, width, height,
+                                                              postTransform ? nonDeltaLayoutMatrix() : null);
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 20845
Author:   mhorn@adobe.com
Date:     2011-03-14T15:29:23.391952Z

Log Message:
-----------
merge 20756,20790,20712,20805

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/NumberFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSCondition.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ISortField.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ArrayList.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/PolarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorDodgeShader.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/PolarDataCanvas.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/series/PlotSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/OnDemandEventDispatcher.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TabBar.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/globalization/StringTools.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/StringUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/CompoundTransform.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="dir" action="M">/private/flex/sdk/trunk</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/utils/ChangeWatcher.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as</path>

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

--- frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as
+++ frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as
@@ -37,12 +37,12 @@
  *  <mx:SolidColorStroke id="mticks" color="0x0000FF" weight="1"/>
  *
  *  <mx:LineChart id="mychart" dataProvider="{ndxa}">
- *  	<mx:horizontalAxisRenderer>
- *  		<mx:AxisRenderer placement="bottom" canDropLabels="true">
- *  			<mx:tickStroke>{ticks}</mx:tickStroke>
- *  			<mx:minorTickStroke>{mticks}</mx:minorTickStroke>
- *  		</mx:AxisRenderer>
- *  	</mx:horizontalAxisRenderer>
+ *      <mx:horizontalAxisRenderer>
+ *          <mx:AxisRenderer placement="bottom" canDropLabels="true">
+ *              <mx:tickStroke>{ticks}</mx:tickStroke>
+ *              <mx:minorTickStroke>{mticks}</mx:minorTickStroke>
+ *          </mx:AxisRenderer>
+ *      </mx:horizontalAxisRenderer>
  *  </LineChart>
  *  ...
  *

@@ -75,31 +75,31 @@
  */
 public class SolidColorStroke extends EventDispatcher implements IStroke
 {
-	include "../core/Version.as";
-
-	//--------------------------------------------------------------------------
-	//
-	//  Constructor
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  Constructor.
-	 *
-	 *  @param color Specifies the line color.
-	 *  The default value is 0x000000 (black).
-	 *
-	 *  @param weight Specifies the line weight, in pixels.
-	 *  The default value is 1.
-	 *
-	 *  @param alpha Specifies the alpha value in the range 0.0 to 1.0.
-	 *  The default value is 1.0 (opaque).
-	 *
-	 *  @param pixelHinting Specifies whether to hint strokes to full pixels.
-	 *  This value affects both the position of anchors of a curve
-	 *  and the line stroke size itself.
-	 *  The default value is false.
-	 *
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  @param color Specifies the line color.
+     *  The default value is 0x000000 (black).
+     *
+     *  @param weight Specifies the line weight, in pixels.
+     *  The default value is 1.
+     *
+     *  @param alpha Specifies the alpha value in the range 0.0 to 1.0.
+     *  The default value is 1.0 (opaque).
+     *
+     *  @param pixelHinting Specifies whether to hint strokes to full pixels.
+     *  This value affects both the position of anchors of a curve
+     *  and the line stroke size itself.
+     *  The default value is false.
+     *
      *  @param scaleMode A value from the LineScaleMode class
      *  that specifies which scale mode to use.
      *  Valid values are LineScaleMode.HORIZONTAL,
@@ -107,278 +107,278 @@
      *  and LineScaleMode.VERTICAL.
      *  This parameter is optional,
      *  with a default value of LineScaleMode.NORMAL.
-	 *
-	 *  @param caps Specifies the type of caps at the end of lines.
-	 *  Valid values are CapsStyle.ROUND, CapsStyle.SQUARE,
-	 *  and CapsStyle.NONE.
-	 *  The default value is CapsStyle.ROUND.
-	 *
-	 *  @param joints Specifies the type of joint appearance used at angles.
-	 *  Valid values are JointStyle.ROUND, JointStyle.MITER,
-	 *  and JointStyle.BEVEL.
-	 *  The default value is JointStyle.ROUND.
-	 *
-	 *  @param miterLimit Indicates the limit at which a miter is cut off.
-	 *  Valid values range from 1 to 255.
-	 *  The default value is 3.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public function SolidColorStroke(color:uint = 0x000000,
-	                                 weight:Number = 1,
-						             alpha:Number = 1.0,
-						             pixelHinting:Boolean = false,
-						             scaleMode:String = "normal",
-						             caps:String = "round",
-						             joints:String = "round",
-						             miterLimit:Number = 3)
-	{
-		super();
-
-		this.color = color;
-		this._weight = weight;
-		this.alpha = alpha;
-		this.pixelHinting = pixelHinting;
-		this.scaleMode = scaleMode;
-		this.caps = caps;
-		this.joints = joints;
-		this.miterLimit = miterLimit;
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Properties
-	//
-	//--------------------------------------------------------------------------
-
-	//----------------------------------
-	//  alpha
-	//----------------------------------
-
-	private var _alpha:Number = 0.0;
-
-	[Bindable("propertyChange")]
+     *
+     *  @param caps Specifies the type of caps at the end of lines.
+     *  Valid values are CapsStyle.ROUND, CapsStyle.SQUARE,
+     *  and CapsStyle.NONE.
+     *  The default value is CapsStyle.ROUND.
+     *
+     *  @param joints Specifies the type of joint appearance used at angles.
+     *  Valid values are JointStyle.ROUND, JointStyle.MITER,
+     *  and JointStyle.BEVEL.
+     *  The default value is JointStyle.ROUND.
+     *
+     *  @param miterLimit Indicates the limit at which a miter is cut off.
+     *  Valid values range from 1 to 255.
+     *  The default value is 3.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function SolidColorStroke(color:uint = 0x000000,
+                                     weight:Number = 1,
+                                     alpha:Number = 1.0,
+                                     pixelHinting:Boolean = false,
+                                     scaleMode:String = "normal",
+                                     caps:String = "round",
+                                     joints:String = "round",
+                                     miterLimit:Number = 3)
+    {
+        super();
+
+        this.color = color;
+        this._weight = weight;
+        this.alpha = alpha;
+        this.pixelHinting = pixelHinting;
+        this.scaleMode = scaleMode;
+        this.caps = caps;
+        this.joints = joints;
+        this.miterLimit = miterLimit;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  alpha
+    //----------------------------------
+
+    private var _alpha:Number = 0.0;
+
+    [Bindable("propertyChange")]
     [Inspectable(category="General")]

-	/**
-	 *  The transparency of a line.
-	 *  Possible values are 0.0 (invisible) through 1.0 (opaque).
-	 *
-	 *  @default 1.0.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public function get alpha():Number
-	{
-		return _alpha;
-	}
-
+    /**
+     *  The transparency of a line.
+     *  Possible values are 0.0 (invisible) through 1.0 (opaque).
+     *
+     *  @default 1.0.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get alpha():Number
+    {
+        return _alpha;
+    }
+
     /**
      *  @private
      */
-	public function set alpha(value:Number):void
-	{
-		var oldValue:Number = _alpha;
-		if (value != oldValue)
-		{
-			_alpha = value;
-			dispatchStrokeChangedEvent("alpha", oldValue, value);
-		}
-	}
-
-	//----------------------------------
-	//  caps
-	//----------------------------------
-
-	private var _caps:String = CapsStyle.ROUND;
-
-	[Bindable("propertyChange")]
-	[Inspectable(category="General", enumeration="round,square,none", defaultValue="round")]
-
-	/**
-	 *  Specifies the type of caps at the end of lines.
-	 *  Valid values are: CapsStyle.ROUND, CapsStyle.SQUARE,
-	 *  and CapsStyle.NONE.
-	 *
-	 *  @default CapsStyle.ROUND
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public function get caps():String
-	{
-		return _caps;
-	}
-
-	public function set caps(value:String):void
-	{
-		var oldValue:String = _caps;
-		if (value != oldValue)
-		{
-			_caps = value;
-			dispatchStrokeChangedEvent("caps", oldValue, value);
-		}
-	}
-
-	//----------------------------------
-	//  color
-	//----------------------------------
-
-	private var _color:uint = 0x000000;
-
-	[Bindable("propertyChange")]
+    public function set alpha(value:Number):void
+    {
+        var oldValue:Number = _alpha;
+        if (value != oldValue)
+        {
+            _alpha = value;
+            dispatchStrokeChangedEvent("alpha", oldValue, value);
+        }
+    }
+
+    //----------------------------------
+    //  caps
+    //----------------------------------
+
+    private var _caps:String = CapsStyle.ROUND;
+
+    [Bindable("propertyChange")]
+    [Inspectable(category="General", enumeration="round,square,none", defaultValue="round")]
+
+    /**
+     *  Specifies the type of caps at the end of lines.
+     *  Valid values are: CapsStyle.ROUND, CapsStyle.SQUARE,
+     *  and CapsStyle.NONE.
+     *
+     *  @default CapsStyle.ROUND
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get caps():String
+    {
+        return _caps;
+    }
+
+    public function set caps(value:String):void
+    {
+        var oldValue:String = _caps;
+        if (value != oldValue)
+        {
+            _caps = value;
+            dispatchStrokeChangedEvent("caps", oldValue, value);
+        }
+    }
+
+    //----------------------------------
+    //  color
+    //----------------------------------
+
+    private var _color:uint = 0x000000;
+
+    [Bindable("propertyChange")]
     [Inspectable(category="General", format="Color")]

-	/**
-	 *  The line color.
-	 *
-	 *  @default 0x000000 (black).
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public function get color():uint
-	{
-		return _color;
-	}
-
-	public function set color(value:uint):void
-	{
-		var oldValue:uint = _color;
-		if (value != oldValue)
-		{
-			_color = value;
-			dispatchStrokeChangedEvent("color", oldValue, value);
-		}
-	}
-
-	//----------------------------------
-	//  joints
-	//----------------------------------
-
-	private var _joints:String = JointStyle.ROUND;
-
-	[Bindable("propertyChange")]
-	[Inspectable(category="General", enumeration="round,bevel,miter", defaultValue="round")]
-
-	/**
-	 *  Specifies the type of joint appearance used at angles.
-	 *  Valid values are JointStyle.ROUND, JointStyle.MITER,
-	 *  and JointStyle.BEVEL.
-	 *
-	 *  @default JointStyle.ROUND
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public function get joints():String
-	{
-		return _joints;
-	}
-
-	public function set joints(value:String):void
-	{
-		var oldValue:String = _joints;
-		if (value != oldValue)
-		{
-			_joints = value;
-			dispatchStrokeChangedEvent("joints", oldValue, value);
-		}
-	}
-
-	//----------------------------------
-	//  miterLimit
-	//----------------------------------
-
-	private var _miterLimit:Number = 3;
-
-	[Bindable("propertyChange")]
-	[Inspectable(category="General", minValue="1.0", maxValue="255.0")]
-
-	/**
-	 *  Indicates the limit at which a miter is cut off.
-	 *  Valid values range from 1 to 255.
-	 *
-	 *  @default 3
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public function get miterLimit():Number
-	{
-		return _miterLimit;
-	}
-
-	public function set miterLimit(value:Number):void
-	{
-		var oldValue:Number = _miterLimit;
-		if (value != oldValue)
-		{
-			_miterLimit = value;
-			dispatchStrokeChangedEvent("miterLimit", oldValue, value);
-		}
-	}
-
-	//----------------------------------
-	//  pixelHinting
-	//----------------------------------
-
-	private var _pixelHinting:Boolean = false;
-
-	[Bindable("propertyChange")]
+    /**
+     *  The line color.
+     *
+     *  @default 0x000000 (black).
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get color():uint
+    {
+        return _color;
+    }
+
+    public function set color(value:uint):void
+    {
+        var oldValue:uint = _color;
+        if (value != oldValue)
+        {
+            _color = value;
+            dispatchStrokeChangedEvent("color", oldValue, value);
+        }
+    }
+
+    //----------------------------------
+    //  joints
+    //----------------------------------
+
+    private var _joints:String = JointStyle.ROUND;
+
+    [Bindable("propertyChange")]
+    [Inspectable(category="General", enumeration="round,bevel,miter", defaultValue="round")]
+
+    /**
+     *  Specifies the type of joint appearance used at angles.
+     *  Valid values are JointStyle.ROUND, JointStyle.MITER,
+     *  and JointStyle.BEVEL.
+     *
+     *  @default JointStyle.ROUND
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get joints():String
+    {
+        return _joints;
+    }
+
+    public function set joints(value:String):void
+    {
+        var oldValue:String = _joints;
+        if (value != oldValue)
+        {
+            _joints = value;
+            dispatchStrokeChangedEvent("joints", oldValue, value);
+        }
+    }
+
+    //----------------------------------
+    //  miterLimit
+    //----------------------------------
+
+    private var _miterLimit:Number = 3;
+
+    [Bindable("propertyChange")]
+    [Inspectable(category="General", minValue="1.0", maxValue="255.0")]
+
+    /**
+     *  Indicates the limit at which a miter is cut off.
+     *  Valid values range from 1 to 255.
+     *
+     *  @default 3
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get miterLimit():Number
+    {
+        return _miterLimit;
+    }
+
+    public function set miterLimit(value:Number):void
+    {
+        var oldValue:Number = _miterLimit;
+        if (value != oldValue)
+        {
+            _miterLimit = value;
+            dispatchStrokeChangedEvent("miterLimit", oldValue, value);
+        }
+    }
+
+    //----------------------------------
+    //  pixelHinting
+    //----------------------------------
+
+    private var _pixelHinting:Boolean = false;
+
+    [Bindable("propertyChange")]
     [Inspectable(category="General")]
-
-	/**
-	 *  Specifies whether to hint strokes to full pixels.
-	 *  This value affects both the position of anchors of a curve
-	 *  and the line stroke size itself.
-	 *
-	 *  @default false
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public function get pixelHinting():Boolean
-	{
-		return _pixelHinting;
-	}
-
-	public function set pixelHinting(value:Boolean):void
-	{
-		var oldValue:Boolean = _pixelHinting;
-		if (value != oldValue)
-		{
-			_pixelHinting = value;
-			dispatchStrokeChangedEvent("pixelHinting", oldValue, value);
-		}
-	}
-
-	//----------------------------------
-	//  scaleMode
-	//----------------------------------
-
-	private var _scaleMode:String = "normal";
-
-	[Bindable("propertyChange")]
-	[Inspectable(category="General", enumeration="normal,vertical,horizontal,none", defaultValue="normal")]
-
-	 /**
+
+    /**
+     *  Specifies whether to hint strokes to full pixels.
+     *  This value affects both the position of anchors of a curve
+     *  and the line stroke size itself.
+     *
+     *  @default false
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get pixelHinting():Boolean
+    {
+        return _pixelHinting;
+    }
+
+    public function set pixelHinting(value:Boolean):void
+    {
+        var oldValue:Boolean = _pixelHinting;
+        if (value != oldValue)
+        {
+            _pixelHinting = value;
+            dispatchStrokeChangedEvent("pixelHinting", oldValue, value);
+        }
+    }
+
+    //----------------------------------
+    //  scaleMode
+    //----------------------------------
+
+    private var _scaleMode:String = "normal";
+
+    [Bindable("propertyChange")]
+    [Inspectable(category="General", enumeration="normal,vertical,horizontal,none", defaultValue="normal")]
+
+     /**
      *  A value from the LineScaleMode class
      *  that  specifies which scale mode to use.
      *  Value valids are:
@@ -411,87 +411,92 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-	public function get scaleMode():String
-	{
-		return _scaleMode;
-	}
-
-	public function set scaleMode(value:String):void
-	{
-		var oldValue:String = _scaleMode;
-		if (value != oldValue)
-		{
-			_scaleMode = value;
-			dispatchStrokeChangedEvent("scaleMode", oldValue, value);
-		}
-	}
-
-	//----------------------------------
-	//  weight
-	//----------------------------------
-
-	/**
-	 *  @private
-	 *  Storage for the weight property.
-	 */
-	private var _weight:Number;
-
-	[Bindable("propertyChange")]
+    public function get scaleMode():String
+    {
+        return _scaleMode;
+    }
+
+    public function set scaleMode(value:String):void
+    {
+        var oldValue:String = _scaleMode;
+        if (value != oldValue)
+        {
+            _scaleMode = value;
+            dispatchStrokeChangedEvent("scaleMode", oldValue, value);
+        }
+    }
+
+    //----------------------------------
+    //  weight
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the weight property.
+     */
+    private var _weight:Number;
+
+    [Bindable("propertyChange")]
     [Inspectable(category="General", minValue="0.0")]

-	/**
-	 *  The line weight, in pixels.
-	 *  For many charts, the default value is 1 pixel.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public function get weight():Number
-	{
-		return _weight;
-	}
-
-	/**
-	 *  @private
-	 */
-	public function set weight(value:Number):void
-	{
-		var oldValue:Number = _weight;
-		if (value != oldValue)
-		{
-			_weight = value;
-			dispatchStrokeChangedEvent("weight", oldValue, value);
-		}
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Methods
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @inheritDoc
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public function apply(graphics:Graphics, targetBounds:Rectangle, targetOrigin:Point):void
-	{
-		graphics.lineStyle(weight, color, alpha, pixelHinting,
-					scaleMode, caps, joints, miterLimit);
-	}
-
+    /**
+     *  The line weight, in pixels.
+     *  For many charts, the default value is 1 pixel.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get weight():Number
+    {
+        return _weight;
+    }
+
+    /**
+     *  @private
+     */
+    public function set weight(value:Number):void
+    {
+        var oldValue:Number = _weight;
+        if (value != oldValue)
+        {
+            _weight = value;
+            dispatchStrokeChangedEvent("weight", oldValue, value);
+        }
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function apply(graphics:Graphics, targetBounds:Rectangle, targetOrigin:Point):void
+    {
+        graphics.lineStyle(weight, color, alpha, pixelHinting,
+                    scaleMode, caps, joints, miterLimit);
+    }
+
     /**
      *  @inheritDoc
-     */
-	public function createGraphicsStroke(targetBounds:Rectangle, targetOrigin:Point):GraphicsStroke
-	{
-	    // Construct a new GraphicsStroke object and set all of
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function createGraphicsStroke(targetBounds:Rectangle, targetOrigin:Point):GraphicsStroke
+    {
+        // Construct a new GraphicsStroke object and set all of
         // its properties to match the SolidColorStroke's
         // properties
         var graphicsStroke:GraphicsStroke = new GraphicsStroke();
@@ -510,20 +515,20 @@
         graphicsSolidFill.color = color;
         graphicsSolidFill.alpha = alpha;
         graphicsStroke.fill = graphicsSolidFill;
-
-	    return graphicsStroke;
-	}
-
-	/**
-	 *  @private
-	 */
-	private function dispatchStrokeChangedEvent(prop:String, oldValue:*,
-												value:*):void
-	{
+
+        return graphicsStroke;
+    }
+
+    /**
+     *  @private
+     */
+    private function dispatchStrokeChangedEvent(prop:String, oldValue:*,
+                                                value:*):void
+    {
         if (hasEventListener("propertyChange"))
             dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, prop,
-			    oldValue, value));
-	}
+                oldValue, value));
+    }
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 17031
Author:   chiedozi@adobe.com
Date:     2010-07-23T05:55:48.651706Z

Log Message:
-----------
Renamed FlexEvent.DEACTIVATE (deactivate) to FlexEvent.VIEW_DEACTIVATE (viewDeactivate) to fix an event name collision with EventDispatcher.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/View.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/View.as
+++ frameworks/projects/mobilecomponents/src/spark/components/View.as
@@ -28,7 +28,7 @@
 /**
  *  Dispatched when the current view has been activated.
  *
- *  @eventType mx.events.FlexEvent.ACTIVATE
+ *  @eventType mx.events.FlexEvent.VIEW_ACTIVATE
  *
  *  @langversion 3.0
  *  @playerversion Flash 9
@@ -40,14 +40,14 @@
 /**
  *  Dispatched when the current view has been deactivated.
  *
- *  @eventType mx.events.FlexEvent.DEACTIVATE
+ *  @eventType mx.events.FlexEvent.VIEW_DEACTIVATE
  *
  *  @langversion 3.0
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Event(name="deactivate", type="mx.events.FlexEvent")]
+[Event(name="viewDeactivate", type="mx.events.FlexEvent")]

 /**
  *  Dispatched when the screen is about to be removed in response
@@ -125,7 +125,7 @@
         {
             _active = value;

-            var eventName:String = _active ? FlexEvent.VIEW_ACTIVATE : FlexEvent.DEACTIVATE;
+            var eventName:String = _active ? FlexEvent.VIEW_ACTIVATE : FlexEvent.VIEW_DEACTIVATE;
             if (hasEventListener(eventName))
                 dispatchEvent(new FlexEvent(eventName));
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 19940
Author:   chiedozi@adobe.com
Date:     2011-01-25T22:15:05.923796Z

Log Message:
-----------
Removing Flash @playerversion tags from ASDocs for ViewNavigator components

QE notes:
Doc notes:
Bugs: SDK-29208
Reviewer: Ryan
Tests run:
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/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/TabbedViewNavigatorApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewReturnObject.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorAction.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewDescriptor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.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/mobilecomponents/src/spark/events/ViewNavigatorEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorApplicationSkin.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/View.as
+++ frameworks/projects/mobilecomponents/src/spark/components/View.as
@@ -47,7 +47,6 @@
  *  a mobile application.
  *
  *  @langversion 3.0
- *  @playerversion Flash 10.1
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  *
@@ -60,7 +59,6 @@
  *  Dispatched when the data property changes.
  *
  *  @langversion 3.0
- *  @playerversion Flash 10.1
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  *
@@ -74,7 +72,6 @@
  *  a mobile application.
  *
  *  @langversion 3.0
- *  @playerversion Flash 10.1
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  *
@@ -89,7 +86,6 @@
  *  @eventType mx.events.ViewNavigatorEvent.VIEW_ACTIVATE
  *
  *  @langversion 3.0
- *  @playerversion Flash 10.1
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
@@ -101,7 +97,6 @@
  *  @eventType mx.events.ViewNavigatorEvent.VIEW_DEACTIVATE
  *
  *  @langversion 3.0
- *  @playerversion Flash 10.1
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
@@ -116,7 +111,6 @@
  *  @eventType mx.events.ViewNavigatorEvent.REMOVING
  *
  *  @langversion 3.0
- *  @playerversion Flash 10.1
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
@@ -177,7 +171,6 @@
  *  @see ViewNavigator
  *
  *  @langversion 3.0
- *  @playerversion Flash 10.1
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
@@ -193,7 +186,6 @@
      *  Constructor.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -224,7 +216,6 @@
      *  @default false
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -272,7 +263,6 @@
      *  @return Returns true if the view can be removed
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -339,7 +329,6 @@
      *  @default false
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -384,7 +373,6 @@
      *  @default auto
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -411,7 +399,6 @@
      * The view navigator that this view resides in.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -453,7 +440,6 @@
      *  @default true
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -509,7 +495,6 @@
      *  @see spark.skins.mobile.ActionBarSkin
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -546,7 +531,6 @@
      *  @default null
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -614,7 +598,6 @@
      *  @see spark.skins.mobile.ActionBarSkin
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -651,7 +634,6 @@
      *  @default null
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -692,7 +674,6 @@
      *  @default true
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -749,7 +730,6 @@
      *  @default ""
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -797,7 +777,6 @@
      *  @see spark.skins.mobile.ActionBarSkin
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -834,7 +813,6 @@
      *  @default null
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -881,7 +859,6 @@
      *  argument to the pushView() method.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -934,7 +911,6 @@
      *  @see spark.components.supportClasses.ViewReturnObject
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -955,7 +931,6 @@
      *  If it does not, this method returns the component's current state.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1033,7 +1008,6 @@
      *  @return The serialized data object.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1053,7 +1027,6 @@
      *
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */


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

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

 package spark.utils
 {


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

--- frameworks/projects/framework/src/mx/managers/FocusManager.as
+++ frameworks/projects/framework/src/mx/managers/FocusManager.as
@@ -952,7 +952,7 @@
         var a:DisplayObject = DisplayObject(aa);
         var b:DisplayObject = DisplayObject(bb);

-		//TODO esg:  If a component lives inside of a group, we care about not its display object index, but
+		// FIXME (egreenfi):  If a component lives inside of a group, we care about not its display object index, but
 		// its index within the group.

         while (a != DisplayObject(form) && a.parent)


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

--- frameworks/projects/mx/src/mx/skins/halo/ProgressTrackSkin.as
+++ frameworks/projects/mx/src/mx/skins/halo/ProgressTrackSkin.as
@@ -18,6 +18,11 @@

 /**
  *  The skin for the track in a ProgressBar.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class ProgressTrackSkin extends Border
 {
@@ -31,6 +36,11 @@

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

  *
  *


add sleep to test for console output

add sleep to test for console output

--- microphone/src/test/flex/TestApp.as
+++ microphone/src/test/flex/TestApp.as
@@ -6,6 +6,7 @@

 import flash.events.Event;
 import flash.utils.ByteArray;
+import flash.utils.getTimer;

 import mx.core.ByteArrayAsset;
 import mx.core.UIComponent;
@@ -38,7 +39,6 @@
         [Test(description="Load audio asset")]
         public function testAudioLoad():void {

-
             var audioPcmAsset:ByteArrayAsset = new AudioPcm();
             assertTrue("embedded bytesAvailable", audioPcmAsset.bytesAvailable > 0);

@@ -57,7 +57,10 @@
             assertTrue("outputFormat set to " + format, encoder.getOutputFormat() == format);
             assertTrue("outputLength = audioPcmAsset.length = " + audioPcmAsset.length, encoder.getOutputLength() == audioPcmAsset.length);
             assertTrue("output.length = audioPcmAsset.length = " + audioPcmAsset.length, output.length == audioPcmAsset.length);
-
+
+            //give stdout buffer a chance to catch up before terminating
+            sleep(1000);
+
             encoder.dispose(0);
         }

@@ -71,5 +74,14 @@
             trace("=======================================================");
         }

+        private function sleep(ms:int):void {
+            var init:int = getTimer();
+            while(true) {
+                if(getTimer() - init >= ms) {
+                    break;
+                }
+            }
+        }
+
     }
 }


Clean up.

Clean up.

--- src/com/esri/builder/controllers/PortalController.as
+++ src/com/esri/builder/controllers/PortalController.as
@@ -51,12 +51,13 @@
         //optimization: AGO uses OAuth, so we register the OAuth info upfront
         var portalModel:PortalModel = PortalModel.getInstance();
         var portalURL:String = portalModel.portalURL;
+        var cultureCode:String = Model.instance.cultureCode;
         if (portalModel.isAGO(portalURL))
         {
-            portalModel.registerOAuthPortal(portalURL, Model.instance.cultureCode);
-        }
-
-        loadPortal(portalURL, Model.instance.cultureCode);
+            portalModel.registerOAuthPortal(portalURL, cultureCode);
+        }
+
+        loadPortal(portalURL, cultureCode);
     }

     private function loadPortal(url:String, cultureCode:String):void


ManagedObjectId serialization fix.

ManagedObjectId serialization fix.

--- src/Modi/ManagedArray.as
+++ src/Modi/ManagedArray.as
@@ -622,7 +622,8 @@
 			serializator.writeInt("length", _data.length);
 			for each (var object:* in _data)
 			{
-				ManagedObject.writeUnindentified(i.toString(), object, "ManagedObject", serializator);
+                var type:String = object is ManagedObjectId ? "ManagedObjectId" : "ManagedObject";
+				ManagedObject.writeUnindentified(i.toString(), object, type, serializator);
 				i++;
 			}


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

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

 package mx.core
 {


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

--- frameworks/projects/mx/src/mx/core/ScrollControlBase.as
+++ frameworks/projects/mx/src/mx/core/ScrollControlBase.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: 5092
Author:   gruehle@adobe.com
Date:     2009-02-26T20:31:11.499539Z

Log Message:
-----------
Spark skins for Halo components. WARNING: The appearance of ALL applications is affected by this checkin. If you want to go back to the old skins, there is a new Halo theme (in frameworks/themes/Halo) that can be used to go back to the Flex 3 appearance.

This checkin introduces a new swc - sparkskins.swc. This swc contains the spark skins for the Halo components. (these skins depend on FXG, which means they cannot live in frameworks.swc).

This checkin also introduces a new theme - Halo. This is the Flex 3 theme, packaged for easy consumption.

Known issues:
* DMV and AIR components are not reskinned yet
* Editable ComboBox skin is not final (left edge of button is wrong)
* PopUpButton/PopUpMenuButton does not differentiate over/down from popUpOver/popUpDown.
* Indeterminate progress bar is not final
* ComboBox/Menu drop shadows are incorrect (missing, actually...)
* Spark styles are mostly functional, but not entirely.
* Metadata for spark styles has not been added to the Halo components yet
* Focus drawing is off for many components
* Setting compatibilityVersion to 3.0.0 is not yet correctly loading the Halo skins (using 2.0.1 works)

There are some slight differences in appearance between some Halo and Gumbo components:
* Scroll thumb minimum size is smaller in Halo
* Height of text input is slightly different
* Slider data tips look different (this may be changing...)
* When using the halo theme and changing themeColor, you must also set rollOverColor and selectionColor

This checkin also fixes many bugs related to text styles in Gumbo components:
SDK-19476 - ID selectors don't match ids that are for a TextBox in a spark skins
SDK-18533 - color style doesn't work when set on FxList
SDK-18455 - Setting 'color' on a global selector does not affect Spark components
SDK-18343 - Spark components do not inherit some styles from their parent containers
(and possibly several others)

Modified Paths:
--------------
128 paths were modified

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

--- frameworks/projects/spark/src/spark/components/Panel.as
+++ frameworks/projects/spark/src/spark/components/Panel.as
@@ -112,12 +112,6 @@
         if (instance == titleField)
         {
             titleField.text = title;
-
-            // TODO: Remove this hard-coded styleName assignment
-            // once all global text styles are moved to the global
-            // stylesheet. This is a temporary workaround to support
-            // inline text styles for Buttons and subclasses.
-            titleField.styleName = this;
         }
     }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 12764
Author:   gosmith@adobe.com
Date:     2009-12-10T02:06:04.655479Z

Log Message:
-----------
Dealt with issues involving accessibility and skin parts.

1. The accessibility implementation classes for four Spark components -- ComboBox, NumericStepper, TitleWindow, and VideoPlayer -- need to listen to events dispatched from skin parts. The problems were:

a) Skin parts may not exist at the time that the acc impl constructor executes, which is when we were doing addEventListener() on them. This is now fixed by consistently having null checks.

b) Skin parts may come and go at any later time. We now cope with this by having the acc impls listen for "partAdded" and "partRemoved" events from the component. When they discover that a skin part they want to listen to is being added, they now call addEventListener(), and when a skin part is removed they call removeEventListener().

2. The accessibility implementation classes for two Spark components -- Panel and TitleWindow -- actually get attached to a skin part (the titleDisplay) rather than to the component. Since we do this in createAccessibilityImplementation(), it's a problem if this happens before the titleDisplay exists. So instead of calling createAccessibilityImplementation() from initializeAccessibiility(), these components now call it from partAdded(). They also remove the acc impl if the titleDisplay is removed. Finally, there is some logic to prevent the partAdded() method of TitleWindow, which is a subclass of Panel, from creating both a PanelAccImpl and a TitleWindowAccImpl.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SliderBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SpinnerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TitleWindow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/PanelAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/VideoPlayerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/NumericStepperAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ComboBoxAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TitleWindowAccImpl.as</path>

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

--- frameworks/projects/spark/src/spark/components/Panel.as
+++ frameworks/projects/spark/src/spark/components/Panel.as
@@ -13,6 +13,8 @@
 {

 import flash.display.Graphics;
+import flash.utils.getQualifiedClassName;
+
 import mx.core.mx_internal;
 import mx.utils.BitFlagUtil;

@@ -481,8 +483,12 @@
      */
     override protected function initializeAccessibility():void
     {
-        if (Panel.createAccessibilityImplementation != null)
-            Panel.createAccessibilityImplementation(this);
+		// Do nothing... don't even call super.
+		// The PanelAccImpl needs to be attached not to the Panel
+		// but to the Panel's titleDisplay, which is a skin part
+		// which may not exist initially and which may come and go.
+		// So we have to create and attach the PanelAccImpl
+		// in partAdded() instead.
     }

     /**
@@ -490,7 +496,8 @@
      */
     override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
     {
-        // fixme (gosmith): this is not working to extend the height of the the titleDisplay
+        // TODO (gosmith): this is not working
+		// to extend the height of the the titleDisplay
         super.updateDisplayList(unscaledWidth, unscaledHeight);
         if (titleDisplay)
         {
@@ -498,7 +505,7 @@
             g.clear();
             // Also draw an invisible unfilled rect whose height
             // is the height of the entire Panel, not just the headerHeight.
-            // This is for accessibility; the titlebar of the Panel
+            // This is for accessibility; the titleDisplay of the Panel
             // has an AccessibilityImplementation (see PanelAccImpl)
             // which makes it act like a grouping (ROLE_SYSTEM_GROUPING)
             // for the controls inside the panel.
@@ -527,6 +534,19 @@
         if (instance == titleDisplay)
         {
             titleDisplay.text = title;
+
+			// Since the PanelAccImpl must be attached to the Panel's titleDisplay
+			// instead of to the Panel itself, we delay doing this until we are
+			// sure there is a titleDisplay, and we do it again if it gets
+			// re-added.
+			// But if the TitleWindow subclass has already attached its acc impl,
+			// leave that one.
+			if (getQualifiedClassName(titleDisplay.accessibilityImplementation) !=
+				"spark.accessibility::TitleWindowAccImpl")
+			{
+				if (Panel.createAccessibilityImplementation != null)
+					Panel.createAccessibilityImplementation(this);
+			}
         }
         else if (instance == controlBarGroup)
         {
@@ -570,7 +590,14 @@
     {
         super.partRemoved(partName, instance);

-        if (instance == controlBarGroup)
+		if (instance == titleDisplay)
+		{
+			// Since the PanelAccImpl must be attached to the Panel's titleDisplay
+			// instead of to the Panel itself, we remove it from the titleDisplay
+			// when the titleDisplay is removed from the Panel.
+			titleDisplay.accessibilityImplementation = null;
+		}
+		else if (instance == controlBarGroup)
         {
             // copy proxied values from contentGroup (if explicitely set) to contentGroupProperties


OPEN - issue REPRISE-52: Transitions that only affect inherited properties of child elements don't cause children to get validated
http://j.fork.de:8080/browse/REPRISE-52

- fixed by making CSSPropertyTransition set a different CSSProperty to be its currentValue in each validation cycle

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

--- src/reprise/css/transitions/CSSPropertyTransition.as
+++ src/reprise/css/transitions/CSSPropertyTransition.as
@@ -41,10 +41,11 @@
 		***************************************************************************/
 		protected var m_startValue : CSSProperty;
 		protected var m_endValue : CSSProperty;
+		protected var m_backupValue : CSSProperty;

 		protected var m_propertyTransition : PropertyTransitionVO;
+

-
 		/***************************************************************************
 		*							public methods								   *
 		***************************************************************************/
@@ -59,6 +60,7 @@
 		{
 			m_startValue = value;
 			currentValue = CSSProperty(value.clone(true));
+			m_backupValue = CSSProperty(value.clone(true));
 			m_propertyTransition.startValue = value.specifiedValue();
 			m_propertyTransition.currentValue = currentValue.specifiedValue();
 		}
@@ -150,6 +152,12 @@
 				return;
 			}
 			currentRatio = easing(currentTime, 0, 1, durationValue);
+			//We need to change the currentValue property to be another object on each
+			//validation. If we don't the validation system doesn't know that anything
+			//really changed in the style because it compares object identities
+			var backup : CSSProperty = currentValue;
+			currentValue = m_backupValue;
+			m_backupValue = backup;
 			currentValue.setSpecifiedValue(
 				m_propertyTransition.setCurrentValueToRatio(currentRatio));
 		}


fixed bug in saveUnusedNode().

fixed bug in saveUnusedNode().

Change-Id: I08d7c515ad0ba3a48a2c1e1908cf4de2c5e4646a

--- WeaveData/src/weave/primitives/KDTree.as
+++ WeaveData/src/weave/primitives/KDTree.as
@@ -429,10 +429,14 @@
 		 */
 		private static function saveUnusedNode(node:KDNode):void
 		{
+			for each (var sibling:KDNode in node.siblings)
+				saveUnusedNode(sibling);
 			// clear all pointers stored in node
 			node.object = null;
 			node.left = null;
 			node.right = null;
+			if (node.siblings)
+				node.siblings.length = 0;
 			// save node
 			unusedNodes.push(node);
 		}


removing old bounding box display function

--- lib/com/saia/starlingPunk/SPEntity.as
+++ lib/com/saia/starlingPunk/SPEntity.as
@@ -353,29 +353,6 @@
 		}

 		/**
-		 * displays hitbox for debug purposes
-		 */
-		/*
-		 * This method doesn't seem to reliably display the position of the entites hitbox so its been commented out until a better way to do this is figured out
-		 *
-		public function showHitBox(x:Number, y:Number):void
-		{
-			var shape:Shape = new Shape();
-			var hitRect:Rectangle = getRect(x, y);
-			shape.graphics.lineStyle(1, 0xFF0000);
-			shape.graphics.drawRect(0, 0, hitRect.width, hitRect.height);
-
-			if (hitRect.width == 0) return;
-			var bmpData:BitmapData = new BitmapData(hitRect.width + 2, hitRect.height + 2, true, 0xFF);
-			bmpData.draw(shape, shape.transform.matrix, shape.transform.colorTransform);
-			var image:Image = new Image(Texture.fromBitmapData(bmpData));
-			addChild(image);
-			image.x = x - this.x;
-			image.y = y - this.y;
-		}
-		*/
-
-		/**
 		 * sets the hit bounds width
 		 * @param	width
 		 */


textfield width height

textfield width height

--- src/flash/text/TextField.as
+++ src/flash/text/TextField.as
@@ -683,6 +683,7 @@
 		}

 		public function get textHeight():Number  {
+			return int(defaultTextFormat.size)
 			__updateBuff();
 			if (_textHeight !=-1){
 				return _textHeight;
@@ -691,6 +692,11 @@
 		}

 		public function get textWidth():Number  {
+			if (text){
+				return text.length * int(defaultTextFormat.size)/2;
+			}
+			return 4;
+
 			__updateBuff();
 			if(_textWidth!=-1){
 				return _textWidth;


Missing timezone definition where it is required, http://xmpp.org/extensions/xep-0082.html#sect-id143999

--- src/org/igniterealtime/xiff/util/DateTimeParser.as
+++ src/org/igniterealtime/xiff/util/DateTimeParser.as
@@ -135,6 +135,7 @@
 		{
 			var value:String = date2string(dateTime) + "T";
 			value += time2string(dateTime, ms);
+			value += "Z"; // Always UTC
 			return value;
 		}


- fixed play/pause problem where it always started from the beginning

--- src/flash/htmlelements/AudioElement.as
+++ src/flash/htmlelements/AudioElement.as
@@ -179,7 +179,7 @@

 			_timer.stop();

-			_soundChannel = _sound.play(_currentTime, 0, _soundTransform);
+			_soundChannel = _sound.play(_currentTime*1000, 0, _soundTransform);
 			_soundChannel.removeEventListener(Event.SOUND_COMPLETE, soundCompleteHandler);
 			_soundChannel.addEventListener(Event.SOUND_COMPLETE, soundCompleteHandler);

@@ -193,7 +193,7 @@
 			_timer.stop();
 			if (_soundChannel != null) {
 				_currentTime = _soundChannel.position/1000;
-				_soundChannel.stop();
+				_soundChannel.stop();
 			}

 			_isPaused = true;


Fixed some errors in DTNavMeshQuery.

Fixed some errors in DTNavMeshQuery.

--- as3_lib/src/recastnavigation/detour/navmeshquery/DTNavMeshQuery.as
+++ as3_lib/src/recastnavigation/detour/navmeshquery/DTNavMeshQuery.as
@@ -281,15 +281,15 @@

             var center_ptr:int = _helperMem + offset;
             offset += 12;
-            CModule.writeFloat(center_ptr + 0, centerX);
+            CModule.writeFloat(center_ptr, centerX);
             CModule.writeFloat(center_ptr + 4, centerY);
             CModule.writeFloat(center_ptr + 8, centerZ);

             var extents_ptr:int = _helperMem + offset;
             offset += 12;
-            CModule.writeFloat(center_ptr + 0, extentsX);
-            CModule.writeFloat(center_ptr + 4, extentsX);
-            CModule.writeFloat(center_ptr + 8, extentsX);
+            CModule.writeFloat(extents_ptr, extentsX);
+            CModule.writeFloat(extents_ptr + 4, extentsY);
+            CModule.writeFloat(extents_ptr + 8, extentsZ);

             var polyCount_ptr:int = _helperMem + offset;
             offset += 4;
@@ -298,7 +298,7 @@
             var maxPolys:int = (HELPER_MEM_SIZE - offset) / 4;

             var result:int = internal_dtNavMeshQuery_queryPolygons(ptr, center_ptr, extents_ptr, filter.ptr,
-                                                                   polyCount_ptr, polys_ptr, maxPolys);
+                                                                   polys_ptr, polyCount_ptr, maxPolys);
             if (dtStatusSucceed(result))
             {
                 polys.length = CModule.read32(polyCount_ptr);


Added updateLists() call after World end() is called to prevent strange add/remove bugs during World end().

--- net/flashpunk/Engine.as
+++ net/flashpunk/Engine.as
@@ -243,6 +243,7 @@
 		{
 			if (!FP._goto) return;
 			FP._world.end();
+			FP._world.updateLists();
 			if (FP._world && FP._world.autoClear && FP._world._tween) FP._world.clearTweens();
 			FP._world = FP._goto;
 			FP._goto = null;