Transferred from the Adobe Open Source Subversion Repository

Revision: 12836
Author:   feiwang@adobe.com
Date:     2009-12-11T05:37:44.065569Z

Log Message:
-----------
bug fixing for SDK-24541.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/bundles/zh_TW/formatters.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/bundles/nb_NO/formatters.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/bundles/ru_RU/formatters.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/bundles/fr_FR/formatters.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/bundles/es_ES/formatters.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/bundles/de_DE/formatters.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/bundles/zh_CN/formatters.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/bundles/nl_NL/formatters.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/bundles/da_DK/formatters.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/formatters/NumberFormatter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/formatters/CurrencyFormatter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/bundles/ko_KR/formatters.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/bundles/pt_BR/formatters.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/bundles/it_IT/formatters.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/bundles/en_US/formatters.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/bundles/fi_FI/formatters.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/bundles/sv_SE/formatters.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/bundles/ja_JP/formatters.properties</path>

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

--- frameworks/projects/framework/src/mx/formatters/NumberFormatter.as
+++ frameworks/projects/framework/src/mx/formatters/NumberFormatter.as
@@ -457,7 +457,7 @@
         _useNegativeSign = value != null ?
                            Boolean(value) :
                            resourceManager.getBoolean(
-                               "formatters", "useNegativeSign");
+                               "formatters", "useNegativeSignInNumber");
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 10265
Author:   smgilson@adobe.com
Date:     2009-09-15T15:58:28.936132Z

Log Message:
-----------
ASDoc comments for NavigatorContent.as, INavigatorContent.as, and Container.as

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/INavigatorContent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NavigatorContent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>

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

--- frameworks/projects/spark/src/spark/components/NavigatorContent.as
+++ frameworks/projects/spark/src/spark/components/NavigatorContent.as
@@ -18,16 +18,29 @@
 import mx.core.INavigatorContent

 /**
- *  The NavigatorChild class is used in ViewStack, TabNavigator and Accordion
- *  to allow Spark components to be managed by these navigators.
+ *  The NavigatorContent class defines a Spark container that can be used
+ *  in an MX navigator container, such as the ViewStack, TabNavigator and Accordion containers.
+ *
+ *
Do not use a NavigatorContent container outside of an MX navigator container.

+ *
+ *
The creation policy of the NavigatorContent container is based on the creation policy
+ *  of its parent navigator container:

+ *
+ *

+ *
If the creation policy of the parent is none, then the creation policy of the NavigatorContent is none.

+ *
If the creation policy of the parent is all, then the creation policy of the NavigatorContent is all.

+ *
If the creation policy of the parent is auto, then the creation policy of the NavigatorContent is none.

+ *

+ *
+ *
The NavigatorContent container does not support the queued creation policy.

  *
  *  @mxml
  *
- *
The <s:NavigatorChild> tag inherits all of the tag
+ *
The <s:NavigatorContent> tag inherits all of the tag
  *  attributes of its superclass and adds the following tag attributes:

  *
  *

- *  <s:NavigatorChild
+ *  <s:NavigatorContent
  *    Properties
  *    icon="null"
  *    label=""
@@ -35,7 +48,9 @@
  *  />
  *

  *
- *  @see SkinnableContainer
+ *  @see mx.containers.Accordion
+ *  @see mx.containers.TabNavigator
+ *  @see mx.containers.ViewStack
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 16937
Author:   smgilson@adobe.com
Date:     2010-07-15T16:35:17.543693Z

Log Message:
-----------
Add ASDoc comment about using component in an item renderer

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/TextInput.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RadioButtonGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ComboBox.as</path>
<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/Button.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ToggleButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Spinner.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/RichEditableText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DropDownList.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/RadioButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>

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

--- frameworks/projects/spark/src/spark/components/RadioButtonGroup.as
+++ frameworks/projects/spark/src/spark/components/RadioButtonGroup.as
@@ -109,6 +109,12 @@
  *  The RadioButtonGroup component declaration must
  *  be contained within the <Declarations> tag since it is
  *  not assignable to IVisualElement.

+ *
+ *
To use this component in a list-based component, such as a List or DataGrid,
+ *  create an item renderer.
+ *  For information about creating an item renderer, see
+ *
+ *  Custom Spark item renderers.

  *
  *  @mxml
  *


Transferred from the Adobe Open Source Subversion Repository

Revision: 8123
Author:   cframpto@adobe.com
Date:     2009-06-23T22:14:52.708534Z

Log Message:
-----------
Revert part of 8090 that broke two-way binding.  Reopening SDK-21905.

QA Notes:
Doc Notes: SDK-21986
Reviewers: Gordon

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

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

--- frameworks/projects/spark/src/spark/components/RichEditableText.as
+++ frameworks/projects/spark/src/spark/components/RichEditableText.as
@@ -1746,16 +1746,6 @@

             verticalScrollPositionChanged = false;
         }
-
-        // Events (for example, change event) can be dispatched as a result
-        // of calling updateDisplayList(). These may trigger calls
-        // back to our setters (for example, bindings).  All of this is done
-        // in the middle of the validate display list loop of the
-        // LayoutManager. Even though we called invalidateDisplayList() in
-        // the setter, in this case, the invalidateDisplayListFlag is
-        // reset before we've updated the display with the new value(s).
-        // We need to invalidate the display again here.
-        invalidateDisplayList();
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 3756
Author:   gruehle@adobe.com
Date:     2008-10-20T21:38:18.681299Z

Log Message:
-----------
Adding placeholder icons for the Gumbo components that appear in the FB components panel. Where possible, these are simply copies of the Halo icons. There were some that didn't have a direct Halo counterpart, so the closest match was chosen.

QE Notes: None
Doc Notes: None
Bugs: SDK-17668
Reviewer: -

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextInput.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/HGroup.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVScrollBar.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextBox.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxSpinner.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/VGroup.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/HGroup.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxCheckBox.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextBox.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHSlider.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButton.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxToggleButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxSpinner.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.png</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/components/FxContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxCheckBox.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVSlider.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxToggleButton.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextArea.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVScrollBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.png</path>

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

--- frameworks/projects/spark/src/spark/components/RichEditableText.as
+++ frameworks/projects/spark/src/spark/components/RichEditableText.as
@@ -98,6 +98,8 @@
 //--------------------------------------

 [DefaultProperty("content")]
+
+[IconFile("TextView.png")]

 /**
  *  Displays text.


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

--- frameworks/projects/spark/src/spark/effects/animation/Animation.as
+++ frameworks/projects/spark/src/spark/effects/animation/Animation.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2008 Adobe Systems Incorporated
-//  All Rights Reserved.
-//
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
-//
-////////////////////////////////////////////////////////////////////////////////
 package spark.effects.animation
 {
 import flash.events.TimerEvent;


Transferred from the Adobe Open Source Subversion Repository

Revision: 4889
Author:   jszeto@adobe.com
Date:     2009-02-07T01:21:29.010759Z

Log Message:
-----------
Reverting revision 4885

Something in this checkin is causing an ASDoc compile failure. I will track this down later and resubmit the changes.

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

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

--- frameworks/projects/spark/src/spark/filters/GradientBevelFilter.as
+++ frameworks/projects/spark/src/spark/filters/GradientBevelFilter.as
@@ -1,61 +1,19 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2003-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 mx.filters
 {
-
-import flash.events.Event;
-import flash.events.EventDispatcher;
+
 import flash.filters.BitmapFilter;
-import flash.filters.BitmapFilterQuality;
-import flash.filters.BitmapFilterType;
 import flash.filters.GradientBevelFilter;

-import mx.events.PropertyChangeEvent;
-import mx.filters.IFlexBitmapFilter;
-import mx.graphics.GradientEntry;
+import mx.core.mx_internal;
+import mx.filters.BaseFilter;
+import mx.filters.IBitmapFilter;

-/**
- *  @review
- *  Dispatched when a property value has changed.
- */
-[Event(name="change", type="flash.events.Event")]
+use namespace mx_internal;

 [DefaultProperty("entries")]
-
-/**
- *  @review
- *
- * 	The mx.filters.GradientBevelFilter class is based on
- *  flash.filters.GradientBevelFilter but adds support for dynamically updating
- *  property values.
- *  When a property changes, it dispatches an event that tells the filter owner to
- *  reapply the filter. Use this class instead of flash.filters.GradientBevelFilter if you plan
- *  to dynamically change the filter property values.
- *
- *  @see flash.filters.GradientBevelFilter
- */
-public class GradientBevelFilter extends EventDispatcher implements IFlexBitmapFilter
+
+public class GradientBevelFilter extends GradientFilter implements IBitmapFilter
 {
-	include "../core/Version.as";
-
-    //--------------------------------------------------------------------------
-    //
-    //  Constructor
-    //
-    //--------------------------------------------------------------------------
-
-	/**
-	 * @copy flash.filters.GradientBevelFilter
-	 */
 	public function GradientBevelFilter(distance:Number = 4.0, angle:Number = 45,
 									    colors:Array = null, alphas:Array = null,
 									    ratios:Array = null, blurX:Number = 4.0,
@@ -63,426 +21,19 @@
 									    quality:int = 1, type:String = "inner",
 									    knockout:Boolean = false)
 	{
-		super();
-
 		this.distance = distance;
 		this.angle = angle;
-		this.blurX = blurX;
+		this.blurX =blurX ;
 		this.blurY = blurY;
 		this.strength = strength;
 		this.quality = quality;
 		this.type = type;
 		this.knockout = knockout;

-		var newEntries:Array = [];
-		var colorsLen:int = colors ? colors.length : 0;
-		var alphasLen:int = alphas ? alphas.length : 0;
-		var ratiosLen:int = ratios ? ratios.length : 0;
-		var maxLen:int = Math.max(colorsLen, alphasLen, ratiosLen);
-
-		for (var i:int = 0; i < maxLen; i++)
-		{
-			var newEntry:GradientEntry = new GradientEntry();
-			if (colorsLen > i)
-				newEntry.color = colors[i];
-			if (alphasLen > i)
-				newEntry.alpha = alphas[i];
-			if (ratiosLen > i)
-				newEntry.ratio = ratios[i];
-
-			newEntries.push(newEntry);
-		}
-
-		entries = newEntries;
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Variables
-	//
-	//--------------------------------------------------------------------------
-
- 	/**
-	 *  @private
-	 */
-	private var colors:Array /* of uint */ = [];
-
- 	/**
-	 *  @private
-	 */
-	private var ratios:Array /* of Number */ = [];
-
- 	/**
-	 *  @private
-	 */
-	private var alphas:Array /* of Number */ = [];
-
-	//--------------------------------------------------------------------------
-	//
-	//  Properties
-	//
-	//--------------------------------------------------------------------------
-
-	//----------------------------------
-    //  angle
-    //----------------------------------
-
-	private var _angle:Number = 45;
-
-	/**
-	 *  The angle, in degrees. Valid values are 0 to 360. The default is 45.
-	 *  The angle value represents the angle of the theoretical light source
-	 *  falling on the object and determines the placement of the effect
-	 *  relative to the object. If distance is set to 0, the effect is not
-	 *  offset from the object, and therefore the angle property has no effect.
-	 */
-	public function get angle():Number
-	{
-		return _angle;
+		super(colors, alphas, ratios);
 	}

-	public function set angle(value:Number):void
-	{
-		if (value != _angle)
-		{
-			_angle = value;
-			notifyFilterChanged();
-		}
-	}
-
-	//----------------------------------
-    //  blurX
-    //----------------------------------
-
-	private var _blurX:Number = 4.0;
-
-	/**
-	 *  The amount of horizontal blur. Valid values are 0 to 255. A blur of 1
-	 *  or less means that the original image is copied as is. The default
-	 *  value is 4. Values that are a power of 2 (such as 2, 4, 8, 16, and 32)
-	 *  are optimized to render more quickly than other values.
-	 */
-	public function get blurX():Number
-	{
-		return _blurX;
-	}
-
-	public function set blurX(value:Number):void
-	{
-		if (value != _blurX)
-		{
-			_blurX = value;
-			notifyFilterChanged();
-		}
-	}
-
-	//----------------------------------
-    //  blurY
-    //----------------------------------
-
-	private var _blurY:Number = 4.0;
-
-	/**
-	 *  The amount of vertical blur. Valid values are 0 to 255. A blur of 1
-	 *  or less means that the original image is copied as is. The default
-	 *  value is 4. Values that are a power of 2 (such as 2, 4, 8, 16, and 32)
-	 *  are optimized to render more quickly than other values.
-	 */
-	public function get blurY():Number
-	{
-		return _blurY;
-	}
-
-	public function set blurY(value:Number):void
-	{
-		if (value != _blurY)
-		{
-			_blurY = value;
-			notifyFilterChanged();
-		}
-	}
-
-	//----------------------------------
-    //  distance
-    //----------------------------------
-
-	private var _distance:Number = 4.0;
-
-	/**
-	 *  The offset distance of the glow. The default value is 4.
-	 */
-	public function get distance():Number
-	{
-		return _distance;
-	}
-
-	public function set distance(value:Number):void
-	{
-		if (value != _distance)
-		{
-			_distance = value;
-			notifyFilterChanged();
-		}
-	}
-
-	//----------------------------------
-	//  entries
-	//----------------------------------
-
- 	/**
-	 *  @private
-	 *  Storage for the entries property.
-	 */
-	private var _entries:Array = [];
-
-	[Bindable("propertyChange")]
-    [Inspectable(category="General", arrayType="mx.graphics.GradientEntry")]
-
-	/**
-	 *  An Array of GradientEntry objects
-	 *  defining the fill patterns for the gradient fill.
-	 *
-	 *  @default []
-	 */
-	public function get entries():Array
-	{
-		return _entries;
-	}
-
- 	/**
-	 *  @private
-	 */
-	public function set entries(value:Array):void
-	{
-		var oldValue:Array = _entries;
-		_entries = value;
-
-		processEntries();
-		notifyFilterChanged();
-	}
-
-	//----------------------------------
-    //  knockout
-    //----------------------------------
-
-	private var _knockout:Boolean = false;
-
-	/**
-	 *  Specifies whether the object has a knockout effect. A knockout effect
-	 *  makes the object's fill transparent and reveals the background color
-	 *  of the document. The value true specifies a knockout effect; the
-	 *  default value is false (no knockout effect).
-	 */
-	public function get knockout():Boolean
-	{
-		return _knockout;
-	}
-
-	public function set knockout(value:Boolean):void
-	{
-		if (value != _knockout)
-		{
-			_knockout = value;
-			notifyFilterChanged();
-		}
-	}
-
-	//----------------------------------
-    //  quality
-    //----------------------------------
-
-	private var _quality:int = BitmapFilterQuality.LOW;
-
-	/**
-	 *  The number of times to apply the filter. The default value is
-	 *  BitmapFilterQuality.LOW, which is equivalent to applying the filter
-	 *  once. The value BitmapFilterQuality.MEDIUM  applies the filter twice;
-	 *  the value BitmapFilterQuality.HIGH applies it three times. Filters
-	 *  with lower values are rendered more quickly.
-	 *
-	 *  For most applications, a quality value of low, medium, or high is
-	 *  sufficient. Although you can use additional numeric values up to 15
-	 *  to achieve different effects, higher values are rendered more slowly.
-	 *  Instead of increasing the value of quality, you can often get a similar
-	 *  effect, and with faster rendering, by simply increasing the values of
-	 *  the blurX and blurY properties.
-	 */
-	public function get quality():int
-	{
-		return _quality;
-	}
-
-	public function set quality(value:int):void
-	{
-		if (value != _quality)
-		{
-			_quality = value;
-			notifyFilterChanged();
-		}
-	}
-
-	//----------------------------------
-    //  strength
-    //----------------------------------
-
-	private var _strength:Number = 1;
-
-	/**
-	 *  The strength of the imprint or spread. The higher the value, the more
-	 *  color is imprinted and the stronger the contrast between the glow and
-	 *  the background. Valid values are 0 to 255. A value of 0 means that the
-	 *  filter is not applied. The default value is 1.
-	 */
-	public function get strength():Number
-	{
-		return _strength;
-	}
-
-	public function set strength(value:Number):void
-	{
-		if (value != _strength)
-		{
-			_strength = value;
-			notifyFilterChanged();
-		}
-	}
-
-	//----------------------------------
-    //  type
-    //----------------------------------
-
-	private var _type:String = BitmapFilterType.INNER;
-
-	/**
-	 *  The placement of the filter effect. Possible values are
-	 *  flash.filters.BitmapFilterType constants:
- 	 *  BitmapFilterType.OUTER — Glow on the outer edge of the object
-	 *  BitmapFilterType.INNER — Glow on the inner edge of the object; the default.
-	 *  BitmapFilterType.FULL — Glow on top of the object
-	 */
-	public function get type():String
-	{
-		return _type;
-	}
-
-	public function set type(value:String):void
-	{
-		if (value != _type)
-		{
-			_type = value;
-			notifyFilterChanged();
-		}
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Methods
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 *  Extract the gradient information in the public entries
-	 *  Array into the internal colors, ratios,
-	 *  and alphas arrays.
-	 */
-	private function processEntries():void
-	{
-		colors = [];
-		ratios = [];
-		alphas = [];
-
-		if (!_entries || _entries.length == 0)
-			return;
-
-		var ratioConvert:Number = 255;
-
-		var i:int;
-
-		var n:int = _entries.length;
-		for (i = 0; i < n; i++)
-		{
-			var e:GradientEntry = _entries[i];
-			e.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE,
-							   entry_propertyChangeHandler, false, 0, true);
-			colors.push(e.color);
-			alphas.push(e.alpha);
-			ratios.push(e.ratio * ratioConvert);
-		}
-
-		if (isNaN(ratios[0]))
-			ratios[0] = 0;
-
-		if (isNaN(ratios[n - 1]))
-			ratios[n - 1] = 255;
-
-		i = 1;
-
-		while (true)
-		{
-			while (i < n && !isNaN(ratios[i]))
-			{
-				i++;
-			}
-
-			if (i == n)
-				break;
-
-			var start:int = i - 1;
-
-			while (i < n && isNaN(ratios[i]))
-			{
-				i++;
-			}
-
-			var br:Number = ratios[start];
-			var tr:Number = ratios[i];
-
-			for (var j:int = 1; j < i - start; j++)
-			{
-				ratios[j] = br + j * (tr - br) / (i - start);
-			}
-		}
-	}
-
-    /**
-     * @private
-     * Notify of a change to our filter, so that filter stack is ultimately
-     * re-applied by the framework.
-     */
-	private function notifyFilterChanged():void
-	{
-		dispatchEvent(new Event(Event.CHANGE));
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Event handlers
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 */
-	private function entry_propertyChangeHandler(event:Event):void
-	{
-		processEntries();
-	}
-
-
-	//--------------------------------------------------------------------------
-	//
-	//  IFlexBitmapFilter
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  Creates a flash.filters.GradientBevelFilter instance using the current
-	 *  property values.
-	 *
-	 *  @return flash.filters.GradientBevelFilter instance
-	 */
-	public function createBitmapFilter():BitmapFilter
+	public function clone():BitmapFilter
 	{
 		return new flash.filters.GradientBevelFilter(distance, angle, colors, alphas, ratios,
 										blurX, blurY, strength, quality, type,


Effect onComplete now gets a reference to the effect object being played

--- src/org/openPyro/effects/Effect.as
+++ src/org/openPyro/effects/Effect.as
@@ -374,7 +374,7 @@
 			if(props.onComplete){
 				var fn:Function = props.onComplete;
 				props.onComplete = function():void{
-					fn(self);
+					fn( self );
 					if(_currentEffectDescriptor.onComplete != null){
 						_currentEffectDescriptor.onComplete(self);
 					}


Transferred from the Adobe Open Source Subversion Repository

Revision: 6265
Author:   gosmith@adobe.com
Date:     2009-04-24T22:52:56.350830Z

Log Message:
-----------
To make RichText more lightweight, it now uses the same technique as RichEditableText2 for its TLF hostFormat. In particular, it uses an object which is not actually a TextLayoutFormat, but instead simply implements ITextLayoutFormat by pulling the format properties directly from the component's CSS styles using getStyle(). This object is now implemented in a new CSSTextLayoutFormat class. It is smaller because it has only one var (for the object to call getStyle() on) rather than a var for every format property.

Also, the code in SimpleText, RichText, and RichEditableText2 for handling embedded fonts is now more uniform; all three classes use an identical getEmbeddedFontContext() method, which can eventually be factored into a base class or utility class after we determine the constellation of text classes that we'll ship with. I also made this code more efficient by using only a static instance of EmbeddedFont and TextFormat.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Alex

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RichEditableText2.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/CSSTextLayoutFormat.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/EmbeddedFontRegistry.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexModuleFactory.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/EmbeddedFont.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>

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

--- frameworks/projects/framework/src/mx/core/EmbeddedFontRegistry.as
+++ frameworks/projects/framework/src/mx/core/EmbeddedFontRegistry.as
@@ -75,11 +75,12 @@
 	}

 	/**
-	 * Create an embedded font from a font key.
-	 *
-	 * @param key A string that represents a key created by createFontKey(), may not be null.
-	 *
-	 * return An embedded font with the attributes from the key.
+	 *  Creates an EmbeddedFont from a font key.
+	 *
+	 *  @param key A string that represents a key
+	 *  created by createFontKey(); may not be null.
+	 *
+	 *  @return An EmbeddedFont with the attributes from the key.
 	 *
 	 *  @langversion 3.0
 	 *  @playerversion Flash 9
@@ -124,9 +125,9 @@
 	 }

 	/**
-	 * Test if a string end with another string.
-	 *
-	 * @returns index into string if it ends with the matching string, otherwise returns -1.
+	 *  Tests if a string ends with another string.
+	 *
+	 *  @returns index into string if it ends with the matching string, otherwise returns -1.
 	 *
 	 *  @langversion 3.0
 	 *  @playerversion Flash 9


Transferred from the Adobe Open Source Subversion Repository

Revision: 17343
Author:   clucier@adobe.com
Date:     2010-08-17T14:41:12.161184Z

Log Message:
-----------
Fix for mobile RTE. We now don't assume the existence of custom context item array.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/core/Application.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Application.as</path>

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

--- frameworks/projects/mx/src/mx/core/Application.as
+++ frameworks/projects/mx/src/mx/core/Application.as
@@ -1415,7 +1415,10 @@
             viewSourceCMI = new ContextMenuItem(caption, true);
             viewSourceCMI.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, menuItemSelectHandler);

-            defaultMenu.customItems.push(viewSourceCMI);
+            // Append custom option, validating customItems first as in the
+            // mobile context this is null.
+            if (defaultMenu.customItems)
+                defaultMenu.customItems.push(viewSourceCMI);
         }

         contextMenu = defaultMenu;


OFC-524 BP Cluster: Dissapearing of Unlisted/Unkown codes and Species name immediately after writting

--- collect-flex/collect-flex-client/src/main/flex/org/openforis/collect/presenter/TaxonAttributePresenter.as
+++ collect-flex/collect-flex-client/src/main/flex/org/openforis/collect/presenter/TaxonAttributePresenter.as
@@ -164,7 +164,7 @@
 		protected static function cancelAutoComplete():void {
 			var textInput:TextInput = autoCompleteLastInputField.textInput as TextInput;
 			textInput.setFocus();
-			InputFieldPresenter(autoCompleteLastInputField.presenter).undoLastChange();
+			//InputFieldPresenter(autoCompleteLastInputField.presenter).undoLastChange();
 			closeAutoCompletePopUp();
 		}


Flash: Remove limit on JPEG format check - performance gain negligible, but in some cases causes wrong IMAGE_FORMAT_ERRORs.

--- src/flash/plupload/src/com/mxi/image/JPEG.as
+++ src/flash/plupload/src/com/mxi/image/JPEG.as
@@ -55,12 +55,12 @@

 		public function info() : Object
 		{
-			var idx:uint = 0, marker:uint, length:uint, limit:uint;
+			var idx:uint = 0, marker:uint, length:uint;

-			limit = Math.min(1048576, _br.length);
-
-			while (idx <= limit) { // make sure we examine just enough data
+			// examine all through the end, since some images might have very large APP segments
+			while (idx <= _br.length) {
 				marker = _br.SHORT(idx += 2);
+
 				if (marker >= 0xFFC0 && marker <= 0xFFC3) { // SOFn
 					idx += 5; // marker (2 bytes) + length (2 bytes) + Sample precision (1 byte)
 					return {
@@ -77,12 +77,11 @@

 		public function extractHeaders() : Array
 		{
-			var idx:uint, limit:uint, marker:uint, length:uint;
+			var idx:uint, marker:uint, length:uint;

 			idx = 2;
-			limit = Math.min(1048576, _br.length);

-			while (idx <= limit) {
+			while (idx <= _br.length) {
 				marker = _br.SHORT(idx);

 				// omit RST (restart) markers


removed sound effect from monster when stopped charged.


Transferred from the Adobe Open Source Subversion Repository

Revision: 15558
Author:   smgilson@adobe.com
Date:     2010-04-19T18:14:24.601393Z

Log Message:
-----------
Merge 15556 - Add ASDoc for SystemManager.parentAllowsChild for bug FLEXDOCS-1272

QE notes:
Doc notes:
Bugs: FLEXDOCS-1272
Reviewer:
Tests run:
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>

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

--- frameworks/projects/framework/src/mx/managers/SystemManager.as
+++ frameworks/projects/framework/src/mx/managers/SystemManager.as
@@ -1325,7 +1325,7 @@
     }

     /**
-     * @inheritDoc
+     *  @copy mx.core.ISWFBridgeProvider#parentAllowsChild
      *
      *  @langversion 3.0
      *  @playerversion Flash 9


Transferred from the Adobe Open Source Subversion Repository

Revision: 3416
Author:   jimurphy@adobe.com
Date:     2008-09-30T14:42:40.205001Z

Log Message:
-----------
Merged 3.0.x revisions 3400,3406,3409 -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/ZipCodeValidator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>

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

--- frameworks/projects/framework/src/mx/managers/SystemManager.as
+++ frameworks/projects/framework/src/mx/managers/SystemManager.as
@@ -3272,8 +3272,8 @@
 		if (isDispatchingResizeEvent)
 			return;

-		var w:Number;
-		var h:Number;
+                var w:Number = 0;
+                var h:Number = 0;
                 var m:Number;
                 var n:Number;

@@ -3296,10 +3296,12 @@
         // the sandbox root and align to StageAlign.TOP_LEFT.
         try
         {
+            if (stage)
+            {
             w = stage.stageWidth;
             h = stage.stageHeight;
-            if (stage)
                 align = stage.align;
+        }
         }
         catch (error:SecurityError)
         {
@@ -3402,9 +3404,7 @@
 			{
 				var n:int = forms.length;
 				var p:DisplayObject = DisplayObject(event.target);
-				var isApplication:Boolean = document is IRawChildrenContainer ?
-											IRawChildrenContainer(document).rawChildren.contains(p) :
-											document.contains(p);
+                                var isApplication:Boolean = document.rawChildren.contains(p);
 				while (p)
 				{
 					for (var i:int = 0; i < n; i++)


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/spark/src/spark/components/DataRenderer.as
+++ frameworks/projects/spark/src/spark/components/DataRenderer.as
@@ -122,4 +122,4 @@
         dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE));
     }
 }
-}+}


Fix response values

Fix response values

--- lib/src/com/amanitadesign/steam/SteamConstants.as
+++ lib/src/com/amanitadesign/steam/SteamConstants.as
@@ -2,8 +2,8 @@
 {
 	public class SteamConstants
 	{
-		public static const RESPONSE_OK:int = 1;
-		public static const RESPONSE_FAILED:int = 2;
+		public static const RESPONSE_OK:int = 0;
+		public static const RESPONSE_FAILED:int = 1;
 		public static const RESPONSE_OnUserStatsReceived:int = 0;
 		public static const RESPONSE_OnUserStatsStored:int = 1;
 		public static const RESPONSE_OnAchievementStored:int = 2;


fix height calculation

fix height calculation

--- frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/layouts/FlexibleFirstChildHorizontalLayout.as
+++ frameworks/as/projects/FlexJSJX/src/org/apache/flex/html/beads/layouts/FlexibleFirstChildHorizontalLayout.as
@@ -152,7 +152,7 @@
 						mr = 0;
 				}
 				child.y = mt;
-				maxHeight = Math.max(maxHeight, ml + child.height + mr);
+				maxHeight = Math.max(maxHeight, mt + child.height + mb);
 				if (i == 0)
                 {
                     child.x = ml;


:bug:

:bug:

--- index.as
+++ index.as
@@ -95,8 +95,8 @@
   // open_rom("/Users/mehcode/Workspace/gb-test-roms/cpu_instrs/individual/06-ld r,r.gb");
   // open_rom("/Users/mehcode/Workspace/gb-test-roms/cpu_instrs/individual/07-jr,jp,call,ret,rst.gb");
   // open_rom("/Users/mehcode/Workspace/gb-test-roms/cpu_instrs/individual/08-misc instrs.gb");
-  open_rom("/Users/mehcode/Workspace/gb-test-roms/cpu_instrs/individual/09-op r,r.gb");
-  // open_rom("/Users/mehcode/Workspace/gb-test-roms/cpu_instrs/individual/10-bit ops.gb");
+  // open_rom("/Users/mehcode/Workspace/gb-test-roms/cpu_instrs/individual/09-op r,r.gb");
+  open_rom("/Users/mehcode/Workspace/gb-test-roms/cpu_instrs/individual/10-bit ops.gb");
   // open_rom("/Users/mehcode/Workspace/gb-test-roms/cpu_instrs/individual/11-op a,(hl).gb");

   reset();
@@ -1241,24 +1241,22 @@

 // Increment 8-bit Register
 def om_inc8(r: uint8): uint8 {
-  flag_set(FLAG_H, (((r & 0xF) + (1 & 0xF)) & 0x10) > 0);
-
   r += 1;

   flag_set(FLAG_Z, r == 0);
   flag_set(FLAG_N, false);
+  flag_set(FLAG_H, r & 0x0F == 0x00);

   return r;
 }

 // Decrement 8-bit Register
 def om_dec8(r: uint8): uint8 {
-  flag_set(FLAG_H, (((r & 0xF) - (1 & 0xF)) & 0x10) < 0);
-
   r -= 1;

   flag_set(FLAG_Z, r == 0);
   flag_set(FLAG_N, true);
+  flag_set(FLAG_H, r & 0x0F == 0x0F);

   return r;
 }
@@ -1433,7 +1431,11 @@
 // Shift Right
 def om_shr(n: uint8, arithmetic: bool): uint8 {
   let r = if arithmetic {
-    ((n & 0x7F) >> 1) | (n & 0x80);
+    if (n & 0x80) != 0 {
+      (n >> 1) | 0x80;
+    } else {
+      (n >> 1);
+    }
   } else {
     (n >> 1);
   };
@@ -2238,7 +2240,7 @@

 // [82] ADD A, D
 def op_82() {
-  *A = om_add8(*A, *C);
+  *A = om_add8(*A, *D);
 }

 // [83] ADD A, E
@@ -2278,7 +2280,7 @@

 // [8A] ADC A, D
 def op_8A() {
-  *A = om_adc8(*A, *C);
+  *A = om_adc8(*A, *D);
 }

 // [8B] ADC A, E
@@ -2318,7 +2320,7 @@

 // [92] SUB A, D
 def op_92() {
-  *A = om_sub8(*A, *C);
+  *A = om_sub8(*A, *D);
 }

 // [93] SUB A, E
@@ -2358,7 +2360,7 @@

 // [9A] SBC A, D
 def op_9A() {
-  *A = om_sbc8(*A, *C);
+  *A = om_sbc8(*A, *D);
 }

 // [9B] SBC A, E
@@ -2398,7 +2400,7 @@

 // [A2] AND A, D
 def op_A2() {
-  *A = om_and8(*A, *C);
+  *A = om_and8(*A, *D);
 }

 // [A3] AND A, E
@@ -2438,7 +2440,7 @@

 // [AA] XOR A, D
 def op_AA() {
-  *A = om_xor8(*A, *C);
+  *A = om_xor8(*A, *D);
 }

 // [AB] XOR A, E


Added a verifier function to the serviceName LinkableString. This
fixes an issue where manual changes in the sessionState would dispose
of the service and create a bad ModestMaps service.

Tested with kyle.xml by adding a WMS Layer, changing the service via
ComboBox and then changing it in the session state.

Change-Id: I0809017338efd0a5ad66b86c59ca7880c75f3133

--- WeaveUI/src/weave/visualization/plotters/WMSPlotter.as
+++ WeaveUI/src/weave/visualization/plotters/WMSPlotter.as
@@ -79,7 +79,7 @@
 		// the service and its parameters
 		private var _service:IWMSService = null;
 		public const preferLowerQuality:LinkableBoolean = registerNonSpatialProperty(new LinkableBoolean(false));
-		public const serviceName:LinkableString = registerSpatialProperty(new LinkableString(WMSProviders.NASA), setProvider);
+		public const serviceName:LinkableString = registerSpatialProperty(new LinkableString(WMSProviders.NASA, verifyServiceName), setProvider);
 		public const srs:LinkableString = newSpatialProperty(LinkableString); // needed for linking MapTool settings
 		public const styles:LinkableString = newNonSpatialProperty(LinkableString, setStyle); // needed for changing seasons
 		public const displayMissingImage:LinkableBoolean = newNonSpatialProperty(LinkableBoolean);
@@ -384,9 +384,10 @@
 				disposeObjects(_service);
 			}

-			// TEMPORARY SOLUTION
-			// if there is no provider (which may happen due to ComboBox issue), default to NASA
-			if (provider == '' || provider == null)
+			// TEMPORARY SOLUTION (this should be handled by the verifyServiceName() function)
+			// if there is no valid provider (which may happen due to ComboBox issue or manual change in session state),
+			// default to NASA
+			if (provider == '' || provider == null) // || WMSProviders.providers.indexOf(provider) < 0)
 			{
 				serviceName.delayCallbacks(); // prevent a recursive callback call for next line
 				serviceName.value = WMSProviders.NASA;
@@ -458,6 +459,14 @@
 				return;

 			nasaService.changeStyleToMonth(style);
+		}
+
+		private function verifyServiceName(s:String):Boolean
+		{
+			if (s == null || s == '')
+				return false;
+
+			return WMSProviders.providers.indexOf(s) >= 0;
 		}
 	}
 }


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

--- frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridRendererProvider.as
+++ frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridRendererProvider.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  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.
+//  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
+//
+//      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.
 //
 ////////////////////////////////////////////////////////////////////////////////


Allow -failures to work on AIR on Mac.  Might need fixing on Windows, but haven't tried it yet.

git-svn-id: 7d913817b0a978d84de757191e4bce372605a781@1402724 13f79535-47bb-0310-9956-ffa450edef68

--- mustella/as3/src/mustella/IncludeFileLocation.as
+++ mustella/as3/src/mustella/IncludeFileLocation.as
@@ -23,6 +23,7 @@
 import flash.net.URLRequest;
 import flash.events.Event;
 import flash.system.Capabilities;
+import flash.system.Security;

 [Mixin]
 /**
@@ -58,7 +59,9 @@
 			useFile = "c:/tmp/IncludeList.txt";
 		} else {

-			useFile = "/tmp/IncludeList.txt";
+			useFile = "/tmp/IncludeList.txt";
+			if (Security.sandboxType == Security.APPLICATION)
+				useFile = "file:///tmp/IncludeList.txt";

 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 154
Author:   rfrishbe@adobe.com
Date:     2008-01-10T23:43:08.826166Z

Log Message:
-----------
AIR Window's createChildren() was getting called twice.  Application/SystemManager and Window/WindowedSystemManager have some quirks when adding the base components to the displaylist.  This fixes it so addingChild and childAdded don't get called twice.

Bugs: SDK-14250
QA: Yes
Doc: No
Review: Gordon
Cyclone: Yes

[ private comments below ]

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>

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

--- frameworks/projects/airframework/src/mx/core/Window.as
+++ frameworks/projects/airframework/src/mx/core/Window.as
@@ -1878,7 +1878,7 @@
 			var sm:WindowedSystemManager = new WindowedSystemManager(this);
 			_nativeWindow.stage.addChild(sm);
 	    	systemManager = sm;
-	    	sm.addChild(this);
+	    	sm.$addChild(this);
 	    	sm.window = this;
 	    	_nativeWindow.alwaysInFront = _alwaysInFront;
 	    	initManagers(sm);


Transferred from the Adobe Open Source Subversion Repository

Revision: 11675
Author:   hmuller@adobe.com
Date:     2009-11-12T00:25:39.300334Z

Log Message:
-----------
Added minValue,maxValue,etc Style/Inspectable metadata tags for tools.

QE notes:
Doc notes:
Bugs: sdk-24100
Reviewer: Glenn
Tests run:
Is noteworthy for integration: yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/EaseInOutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Fade.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/TextInput.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/spark/src/spark/components/supportClasses/Slider.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/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/VideoElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.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/primitives/Rect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/styles/metadata/BasicNonInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.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/framework/src/mx/graphics/GradientEntry.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Keyframe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/styles/metadata/AdvancedInheritingTextStyles.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/supportClasses/Range.as</path>

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

--- frameworks/projects/framework/src/mx/effects/Effect.as
+++ frameworks/projects/framework/src/mx/effects/Effect.as
@@ -364,7 +364,7 @@
 	 */
 	mx_internal var durationExplicitlySet:Boolean = false;

-    [Inspectable(category="General", defaultValue="500")]
+    [Inspectable(category="General", defaultValue="500", minValue="0.0")]

     /**
      *  @copy mx.effects.IEffect#duration
@@ -638,7 +638,7 @@
 	 */
 	private var _perElementOffset:Number = 0;

-    [Inspectable(defaultValue="0", category="General", verbose="0")]
+    [Inspectable(defaultValue="0", category="General", verbose="0", minValue="0.0")]

     /**
      *  @copy mx.effects.IEffect#perElementOffset
@@ -730,7 +730,7 @@
     //  repeatCount
     //----------------------------------

-    [Inspectable(category="General", defaultValue="1")]
+    [Inspectable(category="General", defaultValue="1", minValue="0")]

     /**
      *  Number of times to repeat the effect.
@@ -753,7 +753,7 @@
     //  repeatDelay
     //----------------------------------

-    [Inspectable(category="General", defaultValue="0")]
+    [Inspectable(category="General", defaultValue="0", minValue="0")]

     /**
      *  Amount of time, in milliseconds, to wait before repeating the effect.
@@ -773,7 +773,7 @@
     //  startDelay
     //----------------------------------

-    [Inspectable(category="General", defaultValue="0")]
+    [Inspectable(category="General", defaultValue="0", minValue="0")]

     /**
      *  Amount of time, in milliseconds, to wait before starting the effect.
@@ -943,6 +943,8 @@
      * instead.
      */
     private var _playheadTime:Number = 0;
+
+    [Inspectable(minValue="0.0")]

     /**
      *  Current time position of the effect.


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

--- frameworks/projects/mx/src/mx/skins/halo/SwatchSkin.as
+++ frameworks/projects/mx/src/mx/skins/halo/SwatchSkin.as
@@ -21,6 +21,11 @@

 /**
  *  The skin used for all color swatches in a ColorPicker.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class SwatchSkin extends UIComponent
 {
@@ -34,6 +39,11 @@

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 16913
Author:   hmuller@adobe.com
Date:     2010-07-14T16:58:29.319435Z

Log Message:
-----------
Renamed Grid defaultItemRenderer property to "itemRenderer".  Added an grid.itemRenderer cover property to DataGrid.

Revised the way DataGrid properties that "cover" grid skin part properties are defined.

Added support for auto column generation.

Made columnSeparators extend to the limit of the Grid (SDK-26892 remains incomplete, waiting for more information).

QE notes: changes apply to Spark DataGrid only
Doc notes:
Bugs: SDK-26828, SDK-26892
Reviewer: Kevin
Tests run: none
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/components/Grid.as
+++ frameworks/projects/spark/src/spark/components/Grid.as
@@ -742,7 +742,7 @@
         {
             var item:Object = typicalItem;
             if (!item && dataProvider && (dataProvider.length > 0))
-                item = dataProvider[0];
+                item = dataProvider.getItemAt(0);

             var itemColumns:IList = null;
             if (item)
@@ -812,12 +812,12 @@
         }

         //----------------------------------
-        //  defaultItemRenderer
-        //----------------------------------
-
-        [Bindable("defaultItemRendererChanged")]
-
-        private var _defaultItemRenderer:IFactory = null;
+        //  itemRenderer
+        //----------------------------------
+
+        [Bindable("itemRendererChanged")]
+
+        private var _itemRenderer:IFactory = null;

         /**
          *  The item renderer that's used for columns that do not specify one.
@@ -829,21 +829,21 @@
          *  @playerversion AIR 1.5
          *  @productversion Flex 4.5
          */
-        public function get defaultItemRenderer():IFactory
-        {
-            return _defaultItemRenderer;
-        }
-
-        /**
-         *  @private
-         */
-        public function set defaultItemRenderer(value:IFactory):void
-        {
-            if (_defaultItemRenderer == value)
+        public function get itemRenderer():IFactory
+        {
+            return _itemRenderer;
+        }
+
+        /**
+         *  @private
+         */
+        public function set itemRenderer(value:IFactory):void
+        {
+            if (_itemRenderer == value)
                 return;

-            _defaultItemRenderer = value;
-            dispatchChangeEvent("defaultItemRendererChanged");
+            _itemRenderer = value;
+            dispatchChangeEvent("itemRendererChanged");
         }

         //----------------------------------
@@ -1275,8 +1275,11 @@
                 return;

             _rowHeight = value;
-            if (!variableRowHeight)
+            if (variableRowHeight)
+                gridDimensions.defaultRowHeight = value;
+            else
                 gridDimensions.fixedRowHeight = value;
+
             dispatchChangeEvent("rowHeightChanged");
         }

@@ -1475,7 +1478,8 @@
             if (value == variableRowHeight)
                 return;

-            gridDimensions.fixedRowHeight = rowHeight;
+            gridDimensions.fixedRowHeight = (value) ? NaN : rowHeight;
+
             dispatchChangeEvent("variableRowHeightChanged");
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 19395
Author:   hmuller@adobe.com
Date:     2010-12-15T19:17:26.366313Z

Log Message:
-----------
Improved List scroll positioning after a dataProvider refresh for one case: if the caret item is visible, after a refresh attempt to scroll so that it's in the same relative position, and select it.

DataGroup/getElementAt(index) now returns the item renderer for index, even if index is not a valid dataProvider index (anymore).

QE notes: Four Mustella tests to be updated (Jacob, Ella).
Doc notes:
Bugs: SDK-23283
Reviewer: Ryan
Tests run: checkin, mustella
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/IGridItemRenderer.as</path>
<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/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/List.as
+++ frameworks/projects/spark/src/spark/components/List.as
@@ -1288,6 +1288,101 @@

     /**
      *  @private
+     *  Scroll the dataGroup with ensureIndexIsVisible() until newCaretIndex
+     *  is visible.  The process can be iterative and the new item renderers
+     *  are not guaranteed to be in place until after "updateComplete", i.e.
+     *  after all layout phases have completed.
+     *
+     *  Note also: we're selecting the item at newCaretIndex, even though it's
+     *  possible that - before the dataProvider refresh - the caretItem and
+     *  selectedItem were different.
+     */
+    private function ensureCaretVisibility(newCaretIndex:int):void
+    {
+        setSelectedIndex(newCaretIndex, false);
+        ensureIndexIsVisible(newCaretIndex);
+    }
+
+    /**
+     *  @private
+     *  At this point newCaretIndex is assumed to be visible, per a call to
+     *  ensureCaretVisibility().   Fine-tune the scroll position so that
+     *  the itemRenderer at newCaretIndex appears at offsetX,Y relative
+     *  to the dataGroup's upper left corner.
+     */
+    private function restoreCaretScrollPosition(newCaretIndex:int, offsetX:Number, offsetY:Number):void
+    {
+        const caretItemRenderer:IVisualElement = dataGroup.getElementAt(newCaretIndex);
+        if (!caretItemRenderer)
+            return;
+
+        const newOffsetX:Number = caretItemRenderer.getLayoutBoundsX() - dataGroup.horizontalScrollPosition;
+        const newOffsetY:Number = caretItemRenderer.getLayoutBoundsY() - dataGroup.verticalScrollPosition;
+
+        dataGroup.verticalScrollPosition += newOffsetY - offsetY;
+        dataGroup.horizontalScrollPosition += newOffsetX - offsetX;
+    }
+
+    /**
+     *  @private
+     *  Adjust the scroll position so that the currently visible caret item, if any,
+     *  still appears in the same relative position.   If the caret isn't currently
+     *  visible then resort to the ListBase behavior, which is just to clear the selection
+     *  and scroll to 0,0.
+     *
+     *  This method implements just one of several possible heuristics for adjusting
+     *  the scroll position after a dataProvider refresh.
+     */
+    override mx_internal function dataProviderRefreshed():void
+    {
+        // At this point the dataProvider's contents have changed but the dataGroup's
+        // item renderers have not.  If the caret item renderer is visible, find
+        // its x,y "offset" relative to the dataGroup's position and then scroll
+        // so that the new caret item renderer appears at the same offset.
+
+        if ((caretItem !== undefined) && dataGroup && dataGroup.dataProvider)
+        {
+            const newCaretIndex:int = dataGroup.dataProvider.getItemIndex(caretItem);
+            const caretItemRenderer:IVisualElement = dataGroup.getElementAt(caretIndex);
+
+            if ((newCaretIndex != -1) && dataGroup.isElementVisible(caretItemRenderer))
+            {
+                const caretItemRendererX:Number = caretItemRenderer.getLayoutBoundsX();
+                const caretItemRendererY:Number = caretItemRenderer.getLayoutBoundsY();
+
+                const caretOffsetX:Number = caretItemRendererX - dataGroup.horizontalScrollPosition;
+                const caretOffsetY:Number = caretItemRendererY - dataGroup.verticalScrollPosition;
+
+                // Wait for updateComplete before updating the scroll position to ensure
+                // newCaretIndex is visible, so that other listeners/parts have completed
+                // their responses to the refresh event.
+
+                const updateCompleteListenerA:Function = function():void {
+                    dataGroup.removeEventListener(FlexEvent.UPDATE_COMPLETE, updateCompleteListenerA);
+                    ensureCaretVisibility(newCaretIndex);
+                    dataGroup.addEventListener(FlexEvent.UPDATE_COMPLETE, updateCompleteListenerB);
+
+                };
+
+                // Wait for updateComplete before making the final update to the scroll position
+                // so that layout bounds for the caret item renderer will have been computed.
+
+                const updateCompleteListenerB:Function = function():void {
+                    dataGroup.removeEventListener(FlexEvent.UPDATE_COMPLETE, updateCompleteListenerB);
+                    restoreCaretScrollPosition(newCaretIndex, caretOffsetX, caretOffsetY);
+                };
+
+                dataGroup.addEventListener(FlexEvent.UPDATE_COMPLETE, updateCompleteListenerA);
+
+                return;
+            }
+        }
+
+        super.dataProviderRefreshed();  // clears the selectedIndex, caretIndex
+    }
+
+    /**
+     *  @private
      */
     override mx_internal function isItemIndexSelected(index:int):Boolean
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 12016
Author:   egeorgie@adobe.com
Date:     2009-11-19T22:37:57.656940Z

Log Message:
-----------
Fix MXMLC compilers don't honor bitmapfill x,y translation http://bugs.adobe.com/jira/browse/SDK-24272

Problems fixed:
1. BitmapFill - Explicit matrix was offset relative to the natural bounds top left, should ignore natural bounds.
2. BitmapFill - Explicit x/y overrides were applied relative to the natural bounds top-left, should be applied relative to (0,0) - test case in this bug.
3. BitmapFill - Explicit scaleX/scaleY were always combined with the default fill transform (problem for fillMode="scale").
4. Path - Stroke bounds for path only were wrong - the fill bounds were used instead.

QE notes: Add additional tests for problems described above.
Doc notes: None
Bugs: SDK-24272
Reviewer: Jason
Tests run: checkintests + mustella cyclone
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradient.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/Path.as
+++ frameworks/projects/spark/src/spark/primitives/Path.as
@@ -828,7 +828,7 @@
                                              width,
                                              height);
         if (stroke)
-            stroke.apply(g, bounds, origin);
+            stroke.apply(g, getStrokeBounds(), origin);
         else
             g.lineStyle();


registered TextGlyphPlotter as IPlotter implementation

--- WeaveUISpark/src/weave/visualization/plotters/TextGlyphPlotter.as
+++ WeaveUISpark/src/weave/visualization/plotters/TextGlyphPlotter.as
@@ -24,11 +24,13 @@
 	import flash.geom.Rectangle;
 	import flash.text.TextFormat;

+	import weave.api.WeaveAPI;
 	import weave.api.data.IQualifiedKey;
 	import weave.api.newLinkableChild;
 	import weave.api.primitives.IBounds2D;
 	import weave.api.registerLinkableChild;
 	import weave.api.ui.IPlotTask;
+	import weave.api.ui.IPlotter;
 	import weave.api.ui.ITextPlotter;
 	import weave.core.LinkableBoolean;
 	import weave.core.LinkableNumber;
@@ -44,6 +46,8 @@
 	 */
 	public class TextGlyphPlotter extends AbstractGlyphPlotter implements ITextPlotter
 	{
+		WeaveAPI.registerImplementation(IPlotter, TextGlyphPlotter, "Labels");
+
 		public function TextGlyphPlotter()
 		{
 			hideOverlappingText.value = false;


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

--- frameworks/projects/framework/src/mx/validators/EmailValidator.as
+++ frameworks/projects/framework/src/mx/validators/EmailValidator.as
@@ -46,6 +46,11 @@
  *  </pre>
  *
  *  @includeExample examples/EmailValidatorExample.mxml
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class EmailValidator extends Validator
 {
@@ -92,6 +97,11 @@
 	 *  ValidationResult object for each field examined by the validator.
 	 *
 	 *  @see mx.validators.ValidationResult
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static function validateEmail(validator:EmailValidator,
 										 value:Object,
@@ -380,6 +390,11 @@

 	/**
 	 *  Constructor.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function EmailValidator()
 	{
@@ -413,6 +428,11 @@
 	 *  Error message when there are invalid characters in the e-mail address.
 	 *
 	 *  @default "Your e-mail address contains invalid characters."
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
 	public function get invalidCharError():String
 	{
@@ -454,6 +474,11 @@
 	 *  is not 2, 3, 4 or 6 characters long.
 	 *
 	 *  @default "The domain in your e-mail address is incorrectly formatted."
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
 	public function get invalidDomainError():String
 	{
@@ -494,6 +519,11 @@
 	 *  Error message when the IP domain is invalid. The IP domain must be enclosed by square brackets.
 	 *
 	 *  @default "The IP domain in your e-mail address is incorrectly formatted."
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
 	public function get invalidIPDomainError():String
 	{
@@ -534,6 +564,11 @@
 	 *  Error message when there are continuous periods in the domain.
 	 *
 	 *  @default "The domain in your e-mail address has continous periods."
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
 	public function get invalidPeriodsInDomainError():String
 	{
@@ -574,6 +609,11 @@
 	 *  Error message when there is no at sign in the email address.
 	 *
 	 *  @default "An at sign (&64;) is missing in your e-mail address."
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
 	public function get missingAtSignError():String
 	{
@@ -614,6 +654,11 @@
 	 *  Error message when there is no period in the domain.
 	 *
 	 *  @default "The domain in your e-mail address is missing a period."
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
 	public function get missingPeriodInDomainError():String
 	{
@@ -654,6 +699,11 @@
 	 *  Error message when there is no username.
 	 *
 	 *  @default "The username in your e-mail address is missing."
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
 	public function get missingUsernameError():String
 	{
@@ -695,6 +745,11 @@
 	 *  This property is optional.
 	 *
 	 *  @default "Your e-mail address contains too many &64; characters."
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
 	public function get tooManyAtSignsError():String
 	{
@@ -749,6 +804,11 @@
      *
 	 *  @return An Array of ValidationResult objects, with one ValidationResult
 	 *  object for each field examined by the validator.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	override protected function doValidation(value:Object):Array
     {


include KalturaLiveChannel

include KalturaLiveChannel

--- kdp3Lib/src/com/kaltura/kdpfl/controller/media/GetMediaCommand.as
+++ kdp3Lib/src/com/kaltura/kdpfl/controller/media/GetMediaCommand.as
@@ -82,6 +82,7 @@
 	import com.kaltura.types.KalturaPlaybackProtocol;
 	import mx.controls.Text;
 	import com.kaltura.kdpfl.util.KTextParser;
+	import com.kaltura.vo.KalturaLiveChannel;KalturaLiveChannel;


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

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

 package mx.effects.effectClasses
 {


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

--- frameworks/projects/spark/src/spark/effects/animation/MotionPath.as
+++ frameworks/projects/spark/src/spark/effects/animation/MotionPath.as
@@ -207,7 +207,7 @@
         for (var i:int; i < n; ++i)
         {
             var kf:Keyframe = keyframes[i];
-            // TODO (chaase): Must be some way to allow callers
+            // FIXME (chaase): Must be some way to allow callers
             // to supply timeFraction, but currently we clobber it
             // with this operation. But if we choose to clobber it
             // only if it's not set already, then it only works the


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

--- frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as
+++ frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.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
 {


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

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

 package spark.validators
 {


Attempt to start the wrapper process if it isn't running when restartAppIsNecessary is called. Throw an error if the wrapper API process can't be started using the default path.

--- lib/src_linux/com/amanitadesign/steam/FRESteamWorks.as
+++ lib/src_linux/com/amanitadesign/steam/FRESteamWorks.as
@@ -534,6 +534,14 @@
 		}

 		public function restartAppIfNecessary(appID:uint):Boolean {
+			if(_init) throw new Error("restartAppIfNecessary must be called before init");
+			if(!_process.running) {
+				// API wrapper isn't running: try to start with the default path
+				if (!startProcess()) {
+					// still couldn't start the process - return
+					throw new Error("Steam API Wrapper process not started. Call startProcess first.");
+				}
+			}
 			if(!callWrapper(AIRSteam_RestartAppIfNecessary, [appID])) return false;
 			return readBoolResponse();
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 20775
Author:   smgilson@adobe.com
Date:     2011-03-10T20:03:40.415513Z

Log Message:
-----------
merge 20770 - ASDoc updates

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkPopUpAnchorAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/gridClasses/SparkGridItemRendererAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DataGridSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/DataGridSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mobiletheme/src/spark/skins/mobile/TransparentActionButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/tabularData/SparkDataGridTabularData.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/events/SparkValueChangeAutomationEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mobiletheme/src/spark/skins/mobile/TransparentNavigationButtonSkin.as</path>
<path kind="dir" action="M">/private/flex/sdk/trunk</path>

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

--- frameworks/projects/automation_spark/src/spark/automation/delegates/components/gridClasses/SparkGridItemRendererAutomationImpl.as
+++ frameworks/projects/automation_spark/src/spark/automation/delegates/components/gridClasses/SparkGridItemRendererAutomationImpl.as
@@ -1,49 +1,60 @@
 package spark.automation.delegates.components.gridClasses
 {
-	import flash.display.DisplayObject;
-
-	import mx.automation.Automation;
-
-	import spark.automation.delegates.components.SparkGroupAutomationImpl;
-	import spark.components.gridClasses.GridItemRenderer;
-
-
-	public class SparkGridItemRendererAutomationImpl extends SparkGroupAutomationImpl
-	{
-		include "../../../../core/Version.as";
-		//--------------------------------------------------------------------------
-		//
-		//  Class methods
-		//
-		//--------------------------------------------------------------------------
-
-		/**
-		 *  Registers the delegate class for a component class with automation manager.
-		 *
-		 *  @param root The SystemManger of the application.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 9
-		 *  @playerversion AIR 1.5
-		 *  @productversion Flex 4
-		 */
-		public static function init(root:DisplayObject):void
-		{
-			Automation.registerDelegateClass(GridItemRenderer, SparkGridItemRendererAutomationImpl);
-		}
-
-		/**
-		 *  Constructor.
-		 * @param obj GridItemRenderer object to be automated.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 9
-		 *  @playerversion AIR 1.5
-		 *  @productversion Flex 4
-		 */
-		public function SparkGridItemRendererAutomationImpl(obj:GridItemRenderer)
-		{
-			super(obj);
-		}
-	}
+    import flash.display.DisplayObject;
+
+    import mx.automation.Automation;
+
+    import spark.automation.delegates.components.SparkGroupAutomationImpl;
+    import spark.components.gridClasses.GridItemRenderer;
+
+
+    /**
+     *  Defines methods and properties required to perform instrumentation for the
+     *  GridItemRenderer component.
+     *
+     *  @see spark.components.gridClasses.GridItemRenderer
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public class SparkGridItemRendererAutomationImpl extends SparkGroupAutomationImpl
+    {
+        include "../../../../core/Version.as";
+        //--------------------------------------------------------------------------
+        //
+        //  Class methods
+        //
+        //--------------------------------------------------------------------------
+
+        /**
+         *  Registers the delegate class for a component class with automation manager.
+         *
+         *  @param root The SystemManger of the application.
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.5
+         *  @productversion Flex 4
+         */
+        public static function init(root:DisplayObject):void
+        {
+            Automation.registerDelegateClass(GridItemRenderer, SparkGridItemRendererAutomationImpl);
+        }
+
+        /**
+         *  Constructor.
+         * @param obj GridItemRenderer object to be automated.
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.5
+         *  @productversion Flex 4
+         */
+        public function SparkGridItemRendererAutomationImpl(obj:GridItemRenderer)
+        {
+            super(obj);
+        }
+    }
 }