Transferred from the Adobe Open Source Subversion Repository

Revision: 7836
Author:   chaase@adobe.com
Date:     2009-06-15T14:37:21.379918Z

Log Message:
-----------
PARB changes for effects. This includes various property renames, a couple of class renames, moving 3 classes to a sub-package, and various doc cleanups. This also includes changing a handful of Array properties to typed Vectors.

QE: This breaks Mustella due to the renames
Doc: Docs will need to be updated to reflect the changes as well
Bugs: None
Reviewer: Jason
Tests: checkintests, Thermo's transitionbug test

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/utils/BitmapUtil.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as" copyfrom-rev="7748" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EasingFraction.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/KeyFrame.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/RGBInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/HSBInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/CallAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Animate.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/effects/animation/RepeatBehavior.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateShaderTransition.as" copyfrom-rev="7748" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransitionShader.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateShaderTransition.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/IInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/NumberInterpolator.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/effects/Rotate3D.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/CallActionInstance.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/SimpleMotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateColorInstance.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/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateShaderTransitionInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateShaderTransitionInstance.as" copyfrom-rev="7748" action="A">/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/effects/Wipe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/ArrayInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/CrossFade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/SimpleMotionPath.as" copyfrom-rev="7748" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/SimpleMotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/HSBColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/IAnimationTarget.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/ResizeInstance.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Keyframe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/CrossFade.pbk</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/WipeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>

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

--- frameworks/projects/spark/src/spark/effects/animation/Keyframe.as
+++ frameworks/projects/spark/src/spark/effects/animation/Keyframe.as
@@ -0,0 +1,211 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package spark.effects.animation
+{
+import mx.core.mx_internal;
+
+import spark.effects.easing.IEaser;
+import spark.effects.easing.Linear;
+
+use namespace mx_internal;
+
+/**
+ *  The Keyframe class defines the value of a property at a specific time during an effect.
+ *  For example, you can create three keyframes that define the value of a property at
+ *  the beginning of the effect, at the midpoint of the effect, and at the end of the effect.
+ *  The effect animates the property change on the target from keyframe to keyframe
+ *  over the effect duration.
+ *
+ *
The collection of keyframes for an effect is called the effect's motion path.
+ *  A motion path can define any number of keyframes.
+ *  The effect then calculates the value of the property by interpolating between
+ *  the values specified by two key frames.

+ *
+ *
Use the MotionPath class to hold the collection of Keyframe objects that
+ *  represent the motion path of the effect.
+ *  The MotionPath class specifies the name of the property on the target,
+ *  and the collection of Keyframes objects specify the values of the property at different
+ *  times during the effect.

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

+ *
+ *

+ *  <mx:Keyframe
+ *    id="ID"
+ *    easier="Linear"
+ *    time="val"
+ *    value="val"
+ *    valueBy="val"
+ *  />
+ *

+ *
+ *  @see MotionPath
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+public class Keyframe
+{
+    include "../../core/Version.as";
+
+    /**
+     *  Constructor.
+     *
+     *  @param time The time, in milliseconds, at which the effect target
+     *  of this keyframe should have the value
+     *  specified by the value parameter.
+     *
+     *  @param value The value that the effect target should have
+     *  at the given time.
+     *
+     *  @param valueBy Optional parameter which, if provided,
+     *  causes value to be calculated dynamically by
+     *  adding valueBy to the value of
+     *  the previous keyframe in the set of keyframes in a MotionPath
+     *  object. This value is ignored if this is the first
+     *  Keyframe in a sequence.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function Keyframe(time:Number = NaN,
+        value:Object = null, valueBy:Object = null)
+    {
+        this.value = value;
+        this.time = time;
+        this.valueBy = valueBy;
+    }
+
+    /**
+     *  Returns a copy of this Keyframe object.
+     *
+     *  @return A copy of this Keyframe object.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function clone():Keyframe
+    {
+        var kf:Keyframe = new Keyframe(time, value, valueBy);
+        kf.easer = easer;
+        kf.timeFraction = timeFraction;
+        return kf;
+    }
+
+    /**
+     *  The value that the property of the effect target should have
+     *  at the time specified by the time property.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public var value:Object;
+
+    /**
+     *  The time, in milliseconds, at which the effect target
+     *  for this keyframe should have the value
+     *  specified by the value property. This time
+     *  is relative to the starting time of the effect defined
+     *  with this keyframe.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public var time:Number;
+
+    /**
+     *  @private
+     *
+     *  The time, represented as a fraction of an animation's
+     *  total duration. This value should be a value between 0
+     *  and 1. This value is calculated automatically prior to
+     *  playing the animation. It simplifies the API for users (who
+     *  are able to use absolute time values) and the implementation
+     *  (because we can work on fractional values directly) and is not
+     *  to be used externally.
+     */
+    mx_internal var timeFraction:Number;
+
+    /**
+     * @private
+     * Default easer for keyframes
+     */
+    private static var linearEaser:IEaser = new Linear();
+    /**
+     *  The easing behavior applied to the motion between the previous
+     *  Keyframe object in motion path and this Keyframe object.
+     *  By default, the easing is linear, or no easing at all.
+     *
+     *
Note that the parent effect
+     *  might have easing applied already over the entire
+     *  animation. Therefore, if easing per keyframe interval is desired
+     *  instead, it may be necessary to set the overall effect
+     *  easer to linear easing (spark.effects.easing.Linear) and then
+     *  set the easer on each Keyframe as appropriate.

+     *
+     *
Because this property acts on the interval between the previous
+     *  Keyframe object in a sequence and this Keyframe object, the easer
+     *  property is ignored on the first Keyframe object in a sequence.

+     *
+     *  @default Linear
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public var easer:IEaser = linearEaser;
+
+    /**
+     *  Optional parameter which, if specified, is used to
+     *  calculate value in this keyframe or
+     *  the previous one. If value is not set in
+     *  the previous keyframe, but this keyframe defines both
+     *  value and valueBy, then value
+     *  in the previous keyframe is calculated as value
+     *  in this keyframe minus valueBy in this keyframe.
+     *
+     *
Similarly, if value in this keyframe is not
+     *  defined, but valueBy in this keyframe and
+     *  value in the previous keyframe are both set,
+     *  then value in this keyframe is calculated as
+     *  value in the previous keyframe plus
+     *  valueBy in this keyframe.

+     *
+     *
valueBy is ignored for the first
+     *  keyframe in a sequence, since it applies only to the interval
+     *  preceding a keyframe, and there is no preceding interval for the
+     *  first keyframe.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public var valueBy:Object;
+
+}
+}


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

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

 package spark.formatters
 {


ps: remove hard coded www.kaltura reference

git-svn-id: 3f608e5a9a704dd448217c0a64c508e7f145cfa1@84767 6b8eccd3-e8c5-4e7d-8186-e12b5326b719

--- plugins/sharePlugin/src/sharePlugin.as
+++ plugins/sharePlugin/src/sharePlugin.as
@@ -54,7 +54,7 @@
 		public var twitterLabel:String = "Twitter     ";
 		public var deliciousLabel:String = "Delicious";

-		public var landingPagePrefix:String = "http://www.kaltura.com/openGraph/wid/" ;
+		public var landingPagePrefix:String = "" ;

 		public var copyButtonWidth:Number = 110;
 		public var copyButtonHeight:Number = 18;


fixed null pointer error

fixed null pointer error

--- WeaveData/src/weave/data/DataSources/WeaveDataSource.as
+++ WeaveData/src/weave/data/DataSources/WeaveDataSource.as
@@ -426,7 +426,7 @@
 			if (!hierarchyRef)
 				return handleUnsupportedColumnReference(columnReference, proxyColumn);

-			var pathInHierarchy:XML = hierarchyRef.hierarchyPath.value;
+			var pathInHierarchy:XML = hierarchyRef.hierarchyPath.value || <empty/>;

 			//trace("requestColumnFromSource()",pathInHierarchy.toXMLString());
 			var leafNode:XML = HierarchyUtils.getLeafNodeFromPath(pathInHierarchy) || <empty/>;
@@ -470,8 +470,9 @@
 			if (request.proxyColumn.wasDisposed)
 				return;

-			var str:String = HierarchyUtils.getLeafNodeFromPath(request.pathInHierarchy).toXMLString();
-			var msg:String = "Error retrieving column: " + str + ' (' + event.fault.faultString + ')';
+			var node:XML = HierarchyUtils.getLeafNodeFromPath(request.pathInHierarchy);
+			var str:String = node ? node.toXMLString() : '';
+			var msg:String = "Error retrieving column " + str + ' (' + event.fault.faultString + ')';
 			reportError(event.fault, msg, request);

 			request.proxyColumn.setInternalColumn(ProxyColumn.undefinedColumn);


Small fix for UI builder subclasses

Small fix for UI builder subclasses

--- src/flex/uibuilder/org/granite/tide/uibuilder/DefaultUIBuilder.as
+++ src/flex/uibuilder/org/granite/tide/uibuilder/DefaultUIBuilder.as
@@ -104,13 +104,28 @@
     		if (item == null || item[column.dataField] == null)
     			return "";
     		var className:String = getQualifiedClassName(item);
-    		if (_formatters[className + "." + column.dataField])
-    			return _formatters[className + "." + column.dataField].format(item[column.dataField]);
+    		var formatter:Formatter = _formatters[className + "." + column.dataField];
+    		while (!formatter && className != 'Object') {
+    			var clazz:Class = getDefinitionByName(className) as Class;
+    			className = getQualifiedSuperclassName(clazz);
+    			formatter = _formatters[className + "." + column.dataField];
+    		}
+    		if (formatter)
+    			return formatter.format(item[column.dataField]);
     		return item[column.dataField].toString();
     	}

 		protected function elementLabel(item:Object, column:DataGridColumn):String {
-			return item[column.dataField][_labels[getQualifiedClassName(item) + "." + column.dataField]];
+			var className:String = getQualifiedClassName(item);
+			var label:String = _labels[className + "." + column.dataField];
+			while (!label && className != 'Object') {
+    			var clazz:Class = getDefinitionByName(className) as Class;
+    			className = getQualifiedSuperclassName(clazz);
+    			label = _labels[className + "." + column.dataField];
+			}
+			if (label)
+				return item[column.dataField][label];
+			return "";
 		}


Make tiles work like tilesets - if you ask to be notified and it's already loaded, notify immediately.

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

--- src/as/com/threerings/media/tile/Tile.as
+++ src/as/com/threerings/media/tile/Tile.as
@@ -97,7 +97,11 @@

     public function notifyOnLoad (func :Function) :void
     {
-        _notifyOnLoad.push(func);
+        if (_image != null) {
+            func(this);
+        } else {
+            _notifyOnLoad.push(func);
+        }
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 3925
Author:   jimurphy@adobe.com
Date:     2008-10-28T15:28:25.006190Z

Log Message:
-----------
Merged gumbo_alpha revisions 3857-3860,3870,3872,3874-3876,3881,3884,3886,3889,3891,3893,3895,3908,3912 -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxRotateEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/TransformOffsets.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxFadeEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/CubicBezierSegment.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/skins/spark/FxFocusSkin.as" copyfrom-rev="3895" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxFocusSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxVSliderExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/LineSegment.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxFadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxFade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxListExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxMoveEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/PathSegment.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/CompoundTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/textLayout_conversion.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxAnimateColorEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/textLayout_core.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxAnimateEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxCheckBoxExample.mxml</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/DataGroupExample.mxml" copyfrom-rev="3895" action="A">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/DataGroupExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flash/css/StyleDeclaration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/GroupExample.mxml" copyfrom-rev="3895" action="A">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/GroupExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxSpinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/QuadraticBezierSegment.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/mx/components/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxNumericStepperExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxResizeEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxRotateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxRotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/Flex4Classes.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxButtonExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxResize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxToggleButtonExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxSpinnerExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/PropertyValuesHolder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxMoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/textLayout_edit.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/TextViewExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxMove.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxHSliderExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -75,6 +75,9 @@
  *  The Group class is the base container class for visual elements.
  *
  *  @see mx.components.DataGroup
+ *
+ *  @includeExample examples/GroupExample.mxml
+ *
  */
 public class Group extends GroupBase
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 16351
Author:   clucier@adobe.com
Date:     2010-05-27T23:56:23.822822Z

Log Message:
-----------
Tidying up svn:ignore properties so that svn status yields useful results.
Bug fixes for s:Image.

QE notes:  None
Doc notes: None
Bugs: SDK-26553
Reviewer: Ryan (Image)
Tests run: Checkin
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="dir" action="M">/flex/sdk/trunk/frameworks/rsls</path>
<path kind="dir" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/spark/views</path>
<path kind="dir" action="M">/flex/sdk/trunk/frameworks/tests/basicTests</path>
<path kind="dir" action="M">/flex/sdk/trunk/frameworks/locale/en_US</path>
<path kind="dir" action="M">/flex/sdk/trunk/frameworks/libs</path>
<path kind="dir" action="M">/flex/sdk/trunk/frameworks/projects/spark</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Image.as</path>
<path kind="dir" action="M">/flex/sdk/trunk/frameworks/projects/mx</path>

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

--- frameworks/projects/spark/src/spark/components/Image.as
+++ frameworks/projects/spark/src/spark/components/Image.as
@@ -573,7 +573,8 @@
      */
     public function set source(value:Object):void
     {
-        _invalid = false;
+		if (source != value)
+        	_invalid = false;

         if (imageDisplay)
         {


Transferred from the Adobe Open Source Subversion Repository

Revision: 4077
Author:   gosmith@adobe.com
Date:     2008-11-12T00:17:52.619247Z

Log Message:
-----------
TextBox and TextGraphic now avoid getting or setting their displayObject's scrollRect unnecessarily, because this causes Player 10.0 to allocate a surface.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as</path>

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

--- frameworks/projects/spark/src/spark/components/Label.as
+++ frameworks/projects/spark/src/spark/components/Label.as
@@ -155,16 +155,18 @@
         var overset:Boolean = compose(unscaledWidth, unscaledHeight);

         // Use scrollRect to clip overset lines.
-        // But don't set scrollRect to null if it is already null,
+        // But don't read or write scrollRect if you can avoid it,
         // because this causes Player 10.0 to allocate memory.
         if (overset)
         {
             displayObject.scrollRect =
                 new Rectangle(0, 0, unscaledWidth, unscaledHeight);
-        }
-        else if (displayObject.scrollRect)
+            mx_internal::hasScrollRect = true;
+        }
+        else if (mx_internal::hasScrollRect)
         {
             displayObject.scrollRect = null;
+            mx_internal::hasScrollRect = false;
         }
     }


fixed bug handling numeric foreign key column

Change-Id: I5078fba053a570a12d4af7d0c4c6888a57665e00

--- WeaveData/src/weave/data/Transforms/ForeignDataMappingTransform.as
+++ WeaveData/src/weave/data/Transforms/ForeignDataMappingTransform.as
@@ -213,8 +213,14 @@
 	 * @inheritDoc
 	 */
 	override public function getValueFromKey(key:IQualifiedKey, dataType:Class = null):*
-	{
-		var localName:String = _keyColumn.getValueFromKey(key, String);
+	{
+		var localName:String;
+		// if the foreign key column is numeric, avoid using the formatted strings as keys
+		if (_keyColumn.getMetadata(ColumnMetadata.DATA_TYPE) == DataType.NUMBER)
+			localName = _keyColumn.getValueFromKey(key, Number);
+		else
+			localName = _keyColumn.getValueFromKey(key, String);
+
 		var foreignKey:IQualifiedKey = WeaveAPI.QKeyManager.getQKey(_keyType, localName);
 		return _dataColumn.getValueFromKey(foreignKey, dataType);
 	}


Change 20080601-bargull-FxG by bargull@dell--p4--2-53 on 2008-06-01 19:07:52
    in /home/Admin/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: cancel event-bubbling

New Features:

Bugs Fixed: LPP-6082

Technical Reviewer: hminsky
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
Stop event propagation if the current sprite is the "last mouse down" sprite.

Tests:
Attached at bugreport

git-svn-id: d62bde4b5aa582fdf07c8d403e53e0399a7ed285@9420 fa20e4f9-1d0a-0410-b5f3-dc9c16b8b17c

--- WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
+++ WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
@@ -280,6 +280,8 @@
                 LzMouseKernel.__lastMouseDown = this;
             } else if (eventname == 'onmouseup') {
                 if (LzMouseKernel.__lastMouseDown == this) {
+                    // cancel mousedown event bubbling...
+                    e.stopPropagation();
                     this.__mousedown = false;
                 } else {
                     skipevent = true;


Added audioTransmitStopped event to error 813

--- src/com/axis/audioclient/AxisTransmit.as
+++ src/com/axis/audioclient/AxisTransmit.as
@@ -100,6 +100,7 @@
     public function stop():void {
       if (!conn.connected) {
         ErrorManager.dispatchError(813);
+        this.callAPI(EVENT_AUDIO_TRANSMIT_STOPPED);
         return;
       }


Transferred from the Adobe Open Source Subversion Repository

Revision: 22626
Author:   jasonsj@adobe.com
Date:     2011-09-19T22:10:23.057304Z

Log Message:
-----------
Set maxWidth/maxHeight in Callout (SDK-31522). When Callout content grows larger than the screen size, maxWidth and maxHeight keep the callout constrainted to the screen bounds based on horizontalPosition and verticalPosition. Users may override by providing their own maxWidth and maxHeight.
Support minimum hit area in mobile skins. Currently disabled (SDK-31494).

QE notes: Verify that we have tests where the callout is not explicitly sized and where the callout content is larger than the screen size.
Doc notes:
Bugs:
SDK-31522 Callout sized incorrectly when used with SplitViewNavigator
Reviewer: gruehle
Tests run: checkintests, mustella-mobile
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/ListSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SplitViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/ToggleSwitchSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/Callout.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/ListSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/ListSkin.as
@@ -162,8 +162,6 @@
      */
     override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
     {
-        graphics.clear();
-
         super.updateDisplayList(unscaledWidth, unscaledHeight);

         var borderWidth:int = getStyle("borderVisible") ? 1 : 0;


Transferred from the Adobe Open Source Subversion Repository

Revision: 7120
Author:   gosmith@adobe.com
Date:     2009-05-20T06:46:06.687622Z

Log Message:
-----------
Switched to using "use namespace mx_internal" rather than using explicit namespace scoping (e.g.,  mx_internal::foo) in RichEditableText and its related classes.

Removed stale import statements.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Carol

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/RichEditableTextContainerManager.as</path>

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

--- frameworks/projects/spark/src/spark/components/RichEditableText.as
+++ frameworks/projects/spark/src/spark/components/RichEditableText.as
@@ -12,8 +12,6 @@
 package spark.primitives
 {

-import flash.display.BlendMode;
-import flash.display.Graphics;
 import flash.events.Event;
 import flash.events.FocusEvent;
 import flash.events.KeyboardEvent;
@@ -28,7 +26,6 @@
 import flash.text.engine.TextBlock;
 import flash.text.engine.TextElement;
 import flash.text.engine.TextLine;
-import flash.ui.ContextMenu;
 import flash.ui.Keyboard;

 import flashx.textLayout.compose.ITextLineCreator;
@@ -41,18 +38,16 @@
 import flashx.textLayout.edit.EditingMode;
 import flashx.textLayout.edit.IEditManager;
 import flashx.textLayout.edit.ISelectionManager;
-import flashx.textLayout.edit.SelectionFormat;
 import flashx.textLayout.edit.SelectionManager;
 import flashx.textLayout.edit.SelectionState;
 import flashx.textLayout.edit.TextScrap;
-import flashx.textLayout.edit.UndoManager;
 import flashx.textLayout.elements.Configuration;
 import flashx.textLayout.elements.FlowElement;
 import flashx.textLayout.elements.ParagraphElement;
 import flashx.textLayout.elements.SpanElement;
 import flashx.textLayout.elements.TextFlow;
+import flashx.textLayout.events.DamageEvent;
 import flashx.textLayout.events.CompositionCompletionEvent;
-import flashx.textLayout.events.DamageEvent;
 import flashx.textLayout.events.FlowOperationEvent;
 import flashx.textLayout.events.SelectionEvent;
 import flashx.textLayout.formats.Category;
@@ -69,7 +64,6 @@
 import flashx.undo.IUndoManager;

 import mx.core.EmbeddedFont;
-import mx.core.EmbeddedFontRegistry;
 import mx.core.IEmbeddedFontRegistry;
 import mx.core.IFlexModuleFactory;
 import mx.core.IFontContextComponent;
@@ -90,6 +84,8 @@
 import spark.events.TextOperationEvent;
 import spark.primitives.supportClasses.RichEditableTextContainerManager;
 import spark.utils.TextUtil;
+
+use namespace mx_internal;

 //--------------------------------------
 //  Events
@@ -1017,7 +1013,7 @@
      */
     private function set editingMode(value:String):void
     {
-    	if (mx_internal::debug)
+    	if (debug)
      		trace("editingMode = ", value);

         // ToDo: TextContainerManager should do this check.
@@ -1470,7 +1466,7 @@
      */
     public function get textFlow():TextFlow
     {
-    	if (mx_internal::debug)
+    	if (debug)
     		trace("getTextFlow()");
     	return _inputManager.getTextFlow();
     }
@@ -1542,9 +1538,9 @@
 	        // should create TextLines (since they must be created in the
 	        // SWF where the embedded font is.)
 	        // Otherwise, this will be null.
-            mx_internal::embeddedFontContext = getEmbeddedFontContext();
-
-            if (mx_internal::debug)
+            embeddedFontContext = getEmbeddedFontContext();
+
+            if (debug)
             	trace("hostFormat=");
             _inputManager.hostFormat =
             	hostFormat = new CSSTextLayoutFormat(this);
@@ -1559,7 +1555,7 @@

         if (selectionFormatsChanged)
         {
-        	if (mx_internal::debug)
+        	if (debug)
         		trace("invalidateInteractionManager()");
         	_inputManager.invalidateSelectionFormats();

@@ -1568,7 +1564,7 @@

         if (textChanged)
         {
-        	if (mx_internal::debug)
+        	if (debug)
         		trace("setText()");

             textFlowChanged = true;
@@ -1589,7 +1585,7 @@

         	textFlowChanged = true;

-        	if (mx_internal::debug)
+        	if (debug)
         		trace("setTextFlow()");
         	_inputManager.setTextFlow(textFlow);

@@ -1619,7 +1615,7 @@
                 // same form as the original string?  This is only an issue
                 // for TextArea.
                 var textToDisplay:String = StringUtil.repeat(
-                    mx_internal::passwordChar, _text.length);
+                    passwordChar, _text.length);

                 _inputManager.setText(textToDisplay);
             }
@@ -1801,11 +1797,11 @@
             _inputManager.compositionHeight = unscaledHeight;
         }

-		if (mx_internal::debug)
+		if (debug)
 			trace("updateContainer()");

         _inputManager.textLineCreator =
-            ITextLineCreator(mx_internal::embeddedFontContext);
+            ITextLineCreator(embeddedFontContext);

         _inputManager.updateContainer();
     }
@@ -2182,7 +2178,7 @@
         // should create TextLines (since they must be created in the
         // SWF where the embedded font is.)
         // Otherwise, this will be null.
-        mx_internal::embeddedFontContext = getEmbeddedFontContext();
+        embeddedFontContext = getEmbeddedFontContext();

         var fontDescription:FontDescription = new FontDescription();

@@ -2206,7 +2202,7 @@
         	// specify an embedded font.
         	if (s == "auto")
         	{
-        		s = mx_internal::embeddedFontContext ?
+        		s = embeddedFontContext ?
         			FontLookup.EMBEDDED_CFF :
                 	FontLookup.DEVICE;
         	}
@@ -2918,8 +2914,8 @@
     override protected function focusOutHandler(event:FocusEvent):void
     {
         // By default, we clear the undo history when a TextView loses focus.
-        if (mx_internal::clearUndoOnFocusOut && mx_internal::undoManager)
-            mx_internal::undoManager.clearAll();
+        if (clearUndoOnFocusOut && undoManager)
+            undoManager.clearAll();

         if (focusManager)
             focusManager.defaultButtonEnabled = true;
@@ -3178,7 +3174,7 @@
             {
                 _text = splice(_text, insertTextOperation.absoluteStart,
                                insertTextOperation.absoluteEnd, textToInsert);
-                textToInsert = StringUtil.repeat(mx_internal::passwordChar,
+                textToInsert = StringUtil.repeat(passwordChar,
                                                  textToInsert.length);
             }


Transferred from the Adobe Open Source Subversion Repository

Revision: 20642
Author:   smgilson@adobe.com
Date:     2011-03-07T17:53:01.854031Z

Log Message:
-----------
ASDoc updates

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/primitives/BitmapImage.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/components/examples/TraceSelectionRanges.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ButtonBarButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Image.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/FormHeading.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>

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

--- frameworks/projects/spark/src/spark/components/RichEditableText.as
+++ frameworks/projects/spark/src/spark/components/RichEditableText.as
@@ -2184,6 +2184,11 @@
          *  @see spark.utils.TextFlowUtil#importFromString()
          *  @see spark.utils.TextFlowUtil#importFromXML()
          *  @see spark.components.RichEditableText#text
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 10
+         *  @playerversion AIR 2.5
+         *  @productversion Flex 4.5
          */
         public function get textFlow():TextFlow
         {