Transferred from the Adobe Open Source Subversion Repository

Revision: 10245
Author:   hmuller@adobe.com
Date:     2009-09-14T22:06:21.809058Z

Log Message:
-----------
Mirror List's hasFocusableChidlren property on its Scroller skin part.

QE Notes:
Doc Notes:
Bugs: sdk-22622
Reviewer: Deepa

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

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

--- frameworks/projects/spark/src/spark/components/List.as
+++ frameworks/projects/spark/src/spark/components/List.as
@@ -423,6 +423,16 @@

     /**
      *  @private
+     */
+    override public function set hasFocusableChildren(value:Boolean):void
+    {
+        super.hasFocusableChildren = value;
+        if (scroller)
+            scroller.hasFocusableChildren = value;
+    }
+
+    /**
+     *  @private
      *  Let ListBase handle single selection and afterwards come in and
      *  handle multiple selection via the commitMultipleSelection()
      *  helper method.
@@ -612,6 +622,8 @@
             dataGroup.addEventListener(
                 RendererExistenceEvent.RENDERER_REMOVE, dataGroup_rendererRemoveHandler);
         }
+        if (instance == scroller)
+            scroller.hasFocusableChildren = hasFocusableChildren;
     }

     /**


note requirements working!

note requirements working!

--- flexEditor/src/org/arisgames/editor/util/AppConstants.as
+++ flexEditor/src/org/arisgames/editor/util/AppConstants.as
@@ -173,7 +173,7 @@
 	public static const REQUIREMENT_PLAYER_HAS_NOTE_DATABASE:String = "PLAYER_HAS_NOTE";
 	public static const REQUIREMENT_PLAYER_HAS_NOTE_HUMAN:String = "Has A Note";
 	public static const REQUIREMENT_PLAYER_HAS_NOTE_WITH_LIKES_DATABASE:String = "PLAYER_HAS_NOTE_WITH_LIKES";
-	public static const REQUIREMENT_PLAYER_HAS_NOTE_WITH_LIKES_HUMAN:String = "Has A Note With (x) LIKES";
+	public static const REQUIREMENT_PLAYER_HAS_NOTE_WITH_LIKES_HUMAN:String = "Has A Note With (x) Likes";
 	public static const REQUIREMENT_PLAYER_HAS_NOTE_WITH_COMMENTS_DATABASE:String = "PLAYER_HAS_NOTE_WITH_COMMENTS";
 	public static const REQUIREMENT_PLAYER_HAS_NOTE_WITH_COMMENTS_HUMAN:String = "Has A Note With (x) Comments";
 	public static const REQUIREMENT_PLAYER_HAS_GIVEN_NOTE_COMMENTS_DATABASE:String = "PLAYER_HAS_GIVEN_NOTE_COMMENTS";


Transferred from the Adobe Open Source Subversion Repository

Revision: 12324
Author:   smgilson@adobe.com
Date:     2009-12-01T16:08:24.785393Z

Log Message:
-----------
ASDoc updates in preparation for localization

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/spark/src/spark/components/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/BorderContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGroup.as</path>

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

--- frameworks/projects/spark/src/spark/components/Button.as
+++ frameworks/projects/spark/src/spark/components/Button.as
@@ -41,6 +41,7 @@
  *  The Button component is a commonly used rectangular button.
  *  The Button component looks like it can be pressed.
  *  The default skin has a text label.
+ *  Define a custom skin class to add an image to the control.
  *
  *  <p>Buttons typically use event listeners to perform an action
  *  when the user selects the control. When a user clicks the mouse


- bugfix: More fixes to whitespace handling in Label

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

--- src/reprise/controls/Label.as
+++ src/reprise/controls/Label.as
@@ -78,16 +78,18 @@
 		 */
 		public function setLabel(label:String) : void
 		{
+			XML.ignoreWhitespace = false;
 			m_labelXML = new XML('
' + label + '
');
+			XML.ignoreWhitespace = true;
 			m_textSetExternally = true;
 			invalidate();
 		}
 		public function getLabel() : String
 		{
+			XML.prettyPrinting = false;
 			var labelStr:String = m_labelXML.toXMLString();
+			XML.prettyPrinting = true;
 			return labelStr;
-			return labelStr.substring(
-				labelStr.indexOf(">") + 1, labelStr.lastIndexOf("<"));
 		}

 		public function get label() : String
@@ -303,24 +305,23 @@
 				m_textAlignment = null;
 				m_containsImages = false;

+				XML.prettyPrinting = false;
 				var labelString : String = m_labelXML.toXMLString();
 				labelString = resolveBindings(labelString);
-
 				var labelXML : XML;
 				XML.ignoreWhitespace = false;
 				try
 				{
 					labelXML = new XML(labelString);
+					labelXML.normalize();
 				}
 				catch (error : Error)
 				{
 					labelXML = new XML('
malformed content
');
 				}
 				XML.ignoreWhitespace = true;
-				labelXML.normalize();
 				cleanNode(labelXML, m_selectorPath, m_rootElement.styleSheet);

-				XML.prettyPrinting = false;
 				var text : String = labelXML.toXMLString();
 				XML.prettyPrinting = true;
 				if (text.substr(0, text.length - 3) != m_labelDisplay.htmlText)


Transferred from the Adobe Open Source Subversion Repository

Revision: 14328
Author:   dloverin@adobe.com
Date:     2010-02-22T17:03:18.462846Z

Log Message:
-----------
Merge revision 14327 from the 4.x branch.

Fix maximize/ restore button in spark chrome skin when running on AIR 2.

Listen for the Window state change event instead of expecting the change to happen immediately.

QE notes: None.
Doc notes: None.
Bugs: SDK-25303
Reviewer:
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/components/windowClasses/TitleBar.as</path>
<path kind="dir" action="M">/flex/sdk/trunk/frameworks</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="dir" action="M">/flex/sdk/trunk/frameworks/projects/datavisualization</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/components/Window.as</path>

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

--- frameworks/projects/airspark/src/spark/components/Window.as
+++ frameworks/projects/airspark/src/spark/components/Window.as
@@ -2052,7 +2052,6 @@
             {
                 toMax = true;
                 invalidateProperties();
-                invalidateSize();
             }
         }
     }
@@ -2399,6 +2398,16 @@
             addEventListener(EffectEvent.EFFECT_END, windowUnminimizeHandler);
             dispatchEvent(new Event("windowUnminimize"));
         }
+
+        // If we have been maximized or restored then invalidate so we can
+        // resize.
+        if (event.afterDisplayState == NativeWindowDisplayState.MAXIMIZED ||
+            event.afterDisplayState == NativeWindowDisplayState.NORMAL)
+        {
+            invalidateSize();
+            invalidateDisplayList();
+        }
+
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 4958
Author:   rfrishbe@adobe.com
Date:     2009-02-13T23:07:46.243121Z

Log Message:
-----------
Change the initialization sequence of FxComponent and Group.  Basically now children (including the skin) should get created at createChildren() time and follow the correct lifecycle pattern.  Unfortunately, this change got mingled in with all my PARB changes, so I'm submitting a bunch of PARB changes for Group, DataGroup, FxContainer, and FxDataContainer, outlined below:

1.     New event classes/names for Group/FxContainer and DataGroup ("elementAdd" and "elementRemove" event of type ElementExistenceEvent for Group/FxContainer and "rendererAdd" and "rendererRemove" event of type RendererExistenceEvent for DataGroup). It was just one event class of ItemExistenceChangedEvent before.
2.     LayoutBase.clipContent->clipAndEnableScrolling (same with IViewport.clipContent and GroupBase.clipContent)
3.     GroupBase.getLayoutELementAt()->getElementAt()
4.     GroupBase.numLayoutElements -> numElements.
5.     LayoutBase.virtualLayout -> useVirtualLayout
6.     ScrollUnit constants are now changed to be uints instead of typed as ScrollUnit.  This means the signature for getHorizontalScrollPositionDelta(unit:ScrollUnit):Number has changed to getHorizontalScrollPositionDelta(scrollUnit:uint):Number (and ditto for getVerticalScrollPositionDelta())
7.  DataGroup.getRendererForItemAt() -> getElementAt()
8.  DataGroup.getItemIndexForRenderer() -> getElementIndex()

Other changes:
 - Change IVisualElement interface so that it's smaller now.  It also extends ILayoutElement now.  The properties removed from IVisualElement are: rotation, rotationX, rotationY, rotationZ, transformX, transformY, offsets, x, y, z, scaleX, scaleY, scaleZ, explicitWidth, explicitMinWidth, explicitMaxWidth, explicitHeight, explicitMinHeight, explicitMaxHeight)
-  Fix in DataGroup so we don’t remove/add elements if we’re gonna do it later anyways.  I also need to do some other work in here around cleaning up of renderers.
- AddItems fix around handling IVisualElementContainers more effeciently
- get mxmlContent now returns a copy of the Array rather than the one we're using internally
- Had to update mustella since there was special case logic for dealing with getLayoutElementAt().  I added this logic for getElementAt(), which replaces that method.

QE Notes: Thanks for changing all the tests and working on the cyclone
Doc Notes: Made some ASDoc changes to some core classes to move the comments into the interfaces.  I did update the comments a bit as well.
Bugs: SDK-18115, SDK-19004
Reviewer: Jason, Glenn, Hans for initialization sequence change and Hans for all PARB changes
tests: checkintests, all mustella tests

Modified Paths:
--------------
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/events/ItemExistenceChangedEvent.as" copyfrom-rev="4812" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/events/ElementExistenceEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.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/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/IViewport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/VerticalLayout.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/events/RendererExistenceEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutBase.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/events/ItemExistenceChangedEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/ScrollUnit.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/states/AddItems.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as</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/mustella/mustella.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>

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

--- frameworks/projects/framework/src/mx/core/IVisualElement.as
+++ frameworks/projects/framework/src/mx/core/IVisualElement.as
@@ -17,9 +17,10 @@

 /**
  *  The IVisualElement interface represents the common methods and properties between UIComponents and
- *  GraphicElements.
+ *  GraphicElements and the minimum properties/methods required for a visual element to be
+ *  laid out and displayed in a Spark application.
  */
-public interface IVisualElement extends IEventDispatcher
+public interface IVisualElement extends ILayoutElement
 {

     /**
@@ -50,400 +51,50 @@
     function get parent():DisplayObjectContainer;

 	/**
-	 * Documentation is not currently available.
-	 */
-	function set layer(value:Number):void;
-	function get layer():Number;
+     *  Determines the order in which items inside of groups and datagroups
+     *  are rendered. Groups and DataGroups order their items based on their
+     *  layer property, with the lowest layer in the back, and the higher in
+     *  the front.  items with the same layer value will appear in the order
+     *  they are added to the Groups item list.
+     *
+     *  @default 0
+     */
+    function set layer(value:Number):void;
+    function get layer():Number;

     /**
-     * Documentation is not currently available.
+     *  The y-coordinate of the baseline
+     *  of the first line of text of the component.
+     *
+     *
This property is used to implement
+     *  the baseline constraint style.
+     *  It is also used to align the label of a FormItem
+     *  with the controls in the FormItem.

+     *
+     *
Each component should override this property.

      */
-    function get rotation():Number;
-    function set rotation(value:Number):void;
-
-    /**
-     * Documentation is not currently available.
-     */
-    function get rotationX():Number;
-    function set rotationX(value:Number):void;
+    function get baselinePosition():Number;

     /**
-     * Documentation is not currently available.
-     */
-    function get rotationY():Number;
-    function set rotationY(value:Number):void;
-
-    /**
-     * Documentation is not currently available.
-     */
-    function get rotationZ():Number;
-    function set rotationZ(value:Number):void;
-
-    /**
-     * Documentation is not currently available.
-     */
-    function get transformX():Number;
-    function set transformX(value:Number):void;
-
-    /**
-     * Documentation is not currently available.
-     */
-    function get transformY():Number;
-    function set transformY(value:Number):void;
-
-    /**
-     * Documentation is not currently available.
+     *  Controls the visibility of this visual element. If true,
+     *  the object is visible.
+     *
+     *
If an object is not visible, but includeInLayout is set
+     *  to true, then the object still takes up space as far
+     *  as layout is concerned.

+     *
+     *
If visible is set to true, the object may not
+     *  necessarily be visible due to its size and whether clipping is turned on
+     *  or not.

+     *
+     *
Setting visible to false, should
+     *  disallow the component from getting focus.

+     *
+     *  @default true
+     *  @see ILayoutElement#includeInLayout
      */
     function get visible():Boolean;
     function set visible(value:Boolean):void;

-    /**
-     * Documentation is not currently available.
-     */
-    function get offsets():TransformOffsets;
-    function set offsets(value:TransformOffsets):void;
-
-    /**
-     * Documentation is not currently available.
-     */
-    function get baselinePosition():Number;
-
-    /**
-     * Documentation is not currently available.
-     */
-    function get x():Number;
-    function set x(value:Number):void;
-
-    /**
-     * Documentation is not currently available.
-     */
-    function get y():Number;
-    function set y(value:Number):void;
-
-    /**
-     * Documentation is not currently available.
-     */
-    function get z():Number;
-    function set z(value:Number):void;
-
-    /**
-     * Documentation is not currently available.
-     */
-    function get scaleX():Number;
-    function set scaleX(value:Number):void;
-
-    /**
-     * Documentation is not currently available.
-     */
-    function get scaleY():Number;
-    function set scaleY(value:Number):void;
-
-    /**
-     * Documentation is not currently available.
-     */
-    function get scaleZ():Number;
-    function set scaleZ(value:Number):void;
-
-    /**
-     *  The horizontal distance in pixels from the left edge of the component to the
-     *  anchor target's left edge.
-     *
-     *  By default the anchor target is the the container's content area. In layouts
-     *  with advanced constraints, the target can be a constraint column.
-     *
-     *  Setting the property to a number or to a numerical string like "10"
-     *  specifies use of the default anchor target.
-     *
-     *  To spcify an anchor target, set the property value to a string in the format
-     *  "anchorTargetName:value" e.g. "col1:10".
-     *
-     *  @default null
-     */
-    function get left():Object;
-    function set left(value:Object):void;
-
-    /**
-     *  The horizontal distance in pixels from the right edge of the component to the
-     *  anchor target's right edge.
-     *
-     *  By default the anchor target is the the container's content area. In layouts
-     *  with advanced constraints, the target can be a constraint column.
-     *
-     *  Setting the property to a number or to a numerical string like "10"
-     *  specifies use of the default anchor target.
-     *
-     *  To spcify an anchor target, set the property value to a string in the format
-     *  "anchorTargetName:value" e.g. "col1:10".
-     *
-     *  @default null
-     */
-    function get right():Object;
-    function set right(value:Object):void;
-
-    /**
-     *  The vertical distance in pixels from the top edge of the component to the
-     *  anchor target's top edge.
-     *
-     *  By default the anchor target is the the container's content area. In layouts
-     *  with advanced constraints, the target can be a constraint row.
-     *
-     *  Setting the property to a number or to a numerical string like "10"
-     *  specifies use of the default anchor target.
-     *
-     *  To spcify an anchor target, set the property value to a string in the format
-     *  "anchorTargetName:value" e.g. "row1:10".
-     *
-     *  @default null
-     */
-    function get top():Object;
-    function set top(value:Object):void;
-
-    /**
-     *  The vertical distance in pixels from the bottom edge of the component to the
-     *  anchor target's bottom edge.
-     *
-     *  By default the anchor target is the the container's content area. In layouts
-     *  with advanced constraints, the target can be a constraint row.
-     *
-     *  Setting the property to a number or to a numerical string like "10"
-     *  specifies use of the default anchor target.
-     *
-     *  To spcify an anchor target, set the property value to a string in the format
-     *  "anchorTargetName:value" e.g. "row1:10".
-     *
-     *  @default null
-     */
-    function get bottom():Object;
-    function set bottom(value:Object):void;
-
-    /**
-     *  The horizontal distance in pixels from the center of the component to the
-     *  center of the anchor target's content area.
-     *
-     *  The default anchor target is the container itself.
-     *
-     *  In layouts with advanced constraints, the anchor target can be a constraint column.
-     *  Then the content area is the space between the preceeding column
-     *  (or container side) and the target column.
-     *
-     *  Setting the property to a number or to a numerical string like "10"
-     *  specifies use of the default anchor target.
-     *
-     *  To specify an anchor target, set the property value to a string in the format
-     *  "constraintColumnId:value" e.g. "col1:10".
-     *
-     *  @default null
-     */
-    function get horizontalCenter():Object;
-    function set horizontalCenter(value:Object):void;
-
-    /**
-     *  The vertical distance in pixels from the center of the component to the
-     *  center of the anchor target's content area.
-     *
-     *  The default anchor target is the container itself.
-     *
-     *  In layouts with advanced constraints, the anchor target can be a constraint row.
-     *  Then the content area is the space between the preceeding row
-     *  (or container side) and the target row.
-     *
-     *  Setting the property to a number or to a numerical string like "10"
-     *  specifies use of the default anchor target.
-     *
-     *  To specify an anchor target, set the property value to a string in the format
-     *  "constraintColumnId:value" e.g. "row1:10".
-     *
-     *  @default null
-     */
-    function get verticalCenter():Object;
-    function set verticalCenter(value:Object):void;
-
-    /**
-     *  The vertical distance in pixels from the anchor target to
-     *  the control's baseline position.
-     *
-     *  By default the anchor target is the the top edge of the container's
-     *  content area. In layouts with advanced constraints, the target can be
-     *  a constraint row.
-     *
-     *  Setting the property to a number or to a numerical string like "10"
-     *  specifies use of the default anchor target.
-     *
-     *  To spcify an anchor target, set the property value to a string in the format
-     *  "anchorTargetName:value" e.g. "row1:10".
-     *
-     *  @default null
-     */
-    function get baseline():Object;
-    function set baseline(value:Object):void;
-
-    /**
-     *  Number that specifies the width of a component as a percentage
-     *  of its parent's size. Allowed values are 0-100.
-     *  Setting the width or explicitWidth properties
-     *  resets this property to NaN.
-     *
-     *
This property returns a numeric value only if the property was
-     *  previously set; it does not reflect the exact size of the component
-     *  in percent.

-     *
-     *  @default NaN
-     */
-    function get percentWidth():Number;
-    function set percentWidth(value:Number):void;
-
-    /**
-     *  Number that specifies the height of a component as a percentage
-     *  of its parent's size. Allowed values are 0-100.
-     *  Setting the height or explicitHeight properties
-     *  resets this property to NaN.
-     *
-     *
This property returns a numeric value only if the property was
-     *  previously set; it does not reflect the exact size of the component
-     *  in percent.

-     *
-     *  @default NaN
-     */
-    function get percentHeight():Number;
-    function set percentHeight(value:Number):void;
-
-    /**
-     *  Number that specifies the explicit width of the component,
-     *  in pixels, in the component's coordinates.
-     *
-     *
This value is used by the layout in calculating
-     *  the size and position of the component.
-     *  It is not used by the component itself in determining
-     *  its default size.
-     *  Thus this property may not have any effect if parented by
-     *  Container, or containers that don't factor in
-     *  this property.

-     *
Setting the width property also sets this property to
-     *  the specified width value.

-     *
-     *  @default NaN
-     */
-    function get explicitWidth():Number;
-    function set explicitWidth(value:Number):void;
-
-    /**
-     *  The minimum recommended width of the component to be considered
-     *  by the parent during layout. This value is in the
-     *  component's coordinates, in pixels.
-     *
-     *
Application developers typically do not set the explicitMinWidth property. Instead, they
-     *  set the value of the minWidth property, which sets the explicitMinWidth property.

-     *
-     *
At layout time, if minWidth was explicitly set by the application developer, then
-     *  the value of explicitMinWidth is used. Otherwise, a default value is used. Typically
-     *  containers have a measuredMinWidth that is used as a default.

-     *
-     *
This value is used by the container in calculating
-     *  the size and position of the component.
-     *  It is not used by the component itself in determining
-     *  its default size.
-     *  Thus this property may not have any effect if parented by
-     *  Container, or containers that don't factor in
-     *  this property.

-     *
-     *  @default NaN
-     */
-    function get explicitMinWidth():Number;
-    function set explicitMinWidth(value:Number):void;
-
-    /**
-     *  The maximum recommended width of the component to be considered
-     *  by the parent during layout. This value is in the
-     *  component's coordinates, in pixels.
-     *
-     *
Application developers typically do not set the explicitMaxWidth property. Instead, they
-     *  set the value of the maxWidth property, which sets the explicitMaxWidth property.

-     *
-     *
At layout time, if maxWidth was explicitly set by the application developer, then
-     *  the value of explicitMaxWidth is used. Otherwise, a default value is used. Typically
-     *  containers have a measuredMaxWidth that is used as a default.

-     *
-     *
This value is used by the container in calculating
-     *  the size and position of the component.
-     *  It is not used by the component itself in determining
-     *  its default size.
-     *  Thus this property may not have any effect if parented by
-     *  Container, or containers that don't factor in
-     *  this property.

-     *
-     *  @default NaN
-     */
-    function get explicitMaxWidth():Number;
-    function set explicitMaxWidth(value:Number):void;
-
-    /**
-     *  Number that specifies the explicit height of the component,
-     *  in pixels, in the component's coordinates.
-     *
-     *
This value is used by the layout in calculating
-     *  the size and position of the component.
-     *  It is not used by the component itself in determining
-     *  its default size.
-     *  Thus this property may not have any effect if parented by
-     *  Container, or containers that don't factor in
-     *  this property.

-     *
Setting the height property also sets this property to
-     *  the specified height value.

-     *
-     *  @default NaN
-     */
-    function get explicitHeight():Number;
-    function set explicitHeight(value:Number):void;
-
-    /**
-     *  The minimum recommended height of the component to be considered
-     *  by the parent during layout. This value is in the
-     *  component's coordinates, in pixels.
-     *
-     *
Application developers typically do not set the explicitMinHeight property. Instead, they
-     *  set the value of the minHeight property, which sets the explicitMinHeight property.

-     *
-     *
At layout time, if minHeight was explicitly set by the application developer, then
-     *  the value of explicitMinHeight is used. Otherwise, a default value is used. Typically
-     *  containers have a measuredMinHeight that is used as a default.

-     *
-     *
This value is used by the container in calculating
-     *  the size and position of the component.
-     *  It is not used by the component itself in determining
-     *  its default size.
-     *  Thus this property may not have any effect if parented by
-     *  Container, or containers that don't factor in
-     *  this property.

-     *
-     *  @default NaN
-     */
-    function get explicitMinHeight():Number;
-    function set explicitMinHeight(value:Number):void;
-
-    /**
-     *  The maximum recommended height of the component to be considered
-     *  by the parent during layout. This value is in the
-     *  component's coordinates, in pixels.
-     *
-     *
Application developers typically do not set the explicitMaxHeight property. Instead, they
-     *  set the value of the maxHeight property, which sets the explicitMaxHeight property.

-     *
-     *
At layout time, if maxHeight was explicitly set by the application developer, then
-     *  the value of explicitMaxHeight is used. Otherwise, a default value is used. Typically
-     *  containers have a measuredMaxHeight that is used as a default.

-     *
-     *
This value is used by the container in calculating
-     *  the size and position of the component.
-     *  It is not used by the component itself in determining
-     *  its default size.
-     *  Thus this property may not have any effect if parented by
-     *  Container, or containers that don't factor in
-     *  this property.

-     *
-     *  @default NaN
-     */
-    function get explicitMaxHeight():Number;
-    function set explicitMaxHeight(value:Number):void;
-
 }
 }


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

--- frameworks/projects/framework/src/mx/core/IVisualElement.as
+++ frameworks/projects/framework/src/mx/core/IVisualElement.as
@@ -1,11 +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.
+//  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.
 //
 ////////////////////////////////////////////////////////////////////////////////
 package mx.core


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

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

 package mx.events
 {


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

--- frameworks/projects/spark/src/spark/effects/AnimateColor.as
+++ frameworks/projects/spark/src/spark/effects/AnimateColor.as
@@ -152,4 +152,4 @@
         animateColorInstance.colorPropertyName = colorPropertyName;
     }
 }
-}+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 8207
Author:   smgilson@adobe.com
Date:     2009-06-24T22:55:28.494485Z

Log Message:
-----------
Fix ASDoc version tags

QE Notes: None
Doc Notes: None
Bugs: -

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<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/primitives/RectangularDropShadow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/events/DropDownEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/events/TrackBaseEvent.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/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Ellipse.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/airframework/src/spark/components/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/VideoElement.as</path>

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

--- frameworks/projects/spark/src/spark/events/DropDownEvent.as
+++ frameworks/projects/spark/src/spark/events/DropDownEvent.as
@@ -19,27 +19,27 @@
  *  the event listener for the open and close events.
  *
  *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 public class DropDownEvent extends Event
 {
     include "../core/Version.as";

-	//--------------------------------------------------------------------------
-	//
-	//  Class constants
-	//
-	//--------------------------------------------------------------------------
+    //--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------

-	/**
-	 *  The DropDownEvent.CLOSE constant defines the value of the
-	 *  type property of the event object for a close event.
-	 *
-	 *
The properties of the event object have the following values:

-	 *

-	 *
Property	Value

+    /**
+     *  The DropDownEvent.CLOSE constant defines the value of the
+     *  type property of the event object for a close event.
+     *
+     *
The properties of the event object have the following values:

+     *

+     *
Property	Value

      *
bubbles	false

      *
cancelable	false

      *
currentTarget	The Object that defines the
@@ -52,24 +52,24 @@
      *       Object listening for the event.

      *
triggerEvent	A value indicating the
      *       type of input action that triggered the event.

-	 *

-	 *
+     *

+     *
      *  @eventType close
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public static const CLOSE:String = "close";
-
-	/**
-	 *  The DropDownEvent.OPEN constant defines the value of the
-	 *  type property of the event object for a open event.
-	 *
-	 *
The properties of the event object have the following values:

-	 *

-	 *
Property	Value

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public static const CLOSE:String = "close";
+
+    /**
+     *  The DropDownEvent.OPEN constant defines the value of the
+     *  type property of the event object for a open event.
+     *
+     *
The properties of the event object have the following values:

+     *

+     *
Property	Value

      *
bubbles	false

      *
cancelable	false

      *
currentTarget	The Object that defines the
@@ -82,86 +82,86 @@
      *       Object listening for the event.

      *
triggerEvent	A value indicating the
      *       type of input action that triggered the event.

-	 *

-	 *
+     *

+     *
      *  @eventType open
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public static const OPEN:String = "open";
-
-	//--------------------------------------------------------------------------
-	//
-	//  Constructor
-	//
-	//--------------------------------------------------------------------------
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public static const OPEN:String = "open";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------

-	/**
-	 *  Constructor.
-	 *
-	 *  @param type The event type; indicates the action that caused the event.
-	 *
-	 *  @param bubbles Specifies whether the event can bubble
-	 *  up the display list hierarchy.
-	 *
-	 *  @param cancelable Specifies whether the behavior
-	 *  associated with the event can be prevented.
-	 *
-	 *  @param triggerEvent A value indicating the
+    /**
+     *  Constructor.
+     *
+     *  @param type The event type; indicates the action that caused the event.
+     *
+     *  @param bubbles Specifies whether the event can bubble
+     *  up the display list hierarchy.
+     *
+     *  @param cancelable Specifies whether the behavior
+     *  associated with the event can be prevented.
+     *
+     *  @param triggerEvent A value indicating the
      *  type of input action that triggered the event
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public function DropDownEvent(type:String, bubbles:Boolean = false,
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function DropDownEvent(type:String, bubbles:Boolean = false,
                                   cancelable:Boolean = false,
                                   triggerEvent:Event = null)
-	{
-		super(type, bubbles, cancelable);
-		this.triggerEvent = triggerEvent;
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Properties
-	//
-	//--------------------------------------------------------------------------
+    {
+        super(type, bubbles, cancelable);
+        this.triggerEvent = triggerEvent;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------

-	//----------------------------------
-	//  triggerEvent
-	//----------------------------------
+    //----------------------------------
+    //  triggerEvent
+    //----------------------------------

-	/**
-	 *  If the control is opened or closed in response to a user action,
-	 *  this property contains a value indicating the type of input action.
-	 *  The value is either InteractionInputType.MOUSE
-	 *  or InteractionInputType.KEYBOARD.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public var triggerEvent:Event;
-
-	//--------------------------------------------------------------------------
-	//
-	//  Overridden methods: Event
-	//
-	//--------------------------------------------------------------------------
+    /**
+     *  If the control is opened or closed in response to a user action,
+     *  this property contains a value indicating the type of input action.
+     *  The value is either InteractionInputType.MOUSE
+     *  or InteractionInputType.KEYBOARD.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public var triggerEvent:Event;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods: Event
+    //
+    //--------------------------------------------------------------------------

-	/**
-	 *  @private
-	 */
-	override public function clone():Event
-	{
-		return new DropDownEvent(type, bubbles, cancelable, triggerEvent);
-	}
+    /**
+     *  @private
+     */
+    override public function clone():Event
+    {
+        return new DropDownEvent(type, bubbles, cancelable, triggerEvent);
+    }
 }

 }


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

--- frameworks/projects/framework/src/mx/core/ComponentDescriptor.as
+++ frameworks/projects/framework/src/mx/core/ComponentDescriptor.as
@@ -50,6 +50,11 @@
  *  @see mx.core.Container#childDescriptors
  *  @see mx.core.Container#creationPolicy
  *  @see mx.core.Container#createComponentsFromDescriptors()
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class ComponentDescriptor
 {
@@ -68,6 +73,11 @@
      *  for the properties of the ComponentDescriptor object, such as its
      *  type, id, propertiesFactory
      *  and events.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function ComponentDescriptor(descriptorProperties:Object)
     {
@@ -94,6 +104,11 @@
      *  is to be created.
      *
      *  @see mx.core.IUIComponent#document
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var document:Object;

@@ -143,6 +158,11 @@
      *  createComponentsFromDescriptors()
      *  to register the autogenerated event handlers
      *  using the addEventListener() method.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var events:Object;

@@ -186,6 +206,11 @@
      *  by calling getChildByName().

      *
      *  @see flash.display.DisplayObject#name
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var id:String;

@@ -231,6 +256,11 @@
      *
      *  @see #propertiesFactory
      *  @see #invalidateProperties()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get properties():Object
     {
@@ -302,6 +332,11 @@
      *  not in the properties Object.

      *
      *  @see #properties
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var propertiesFactory:Function;

@@ -342,6 +377,11 @@
      *  to the Class mx.controls.TextInput.
      *  Note that the use of a manifest file allows components in single
      *  XML namespace to map to classes in multiple ActionScript packages.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var type:Class;

@@ -356,6 +396,11 @@
      *  The next time you read the properties property,
      *  the properties are regenerated from the function specified by the
      *  value of the propertiesFactory property.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function invalidateProperties():void
     {
@@ -368,6 +413,11 @@
      *
      *  @return The string "ComponentDescriptor_" plus the value of the
      *  id property.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function toString():String
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 6609
Author:   gruehle@adobe.com
Date:     2009-05-04T22:47:31.285324Z

Log Message:
-----------
Add theme attribute to theme-specific style metadata.

Example of a halo-specific style:
[Style(name="cornerRadius", type="Number", format="Length", inherit="no", theme="halo")]

Example of a spark-specific style:
[Style(name="baseColor", type="uint", format="Color", inherit="yes", theme="spark")]

Style metadata without a theme attribute is theme-agnostic, and works with either spark or halo.

Bugs: SDK-20606

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.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/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/FillStyles.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/flex4/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/SkinStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.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/TextArea.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/framework/src/mx/styles/metadata/BorderStyles.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/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BarColorStyle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/IconColorStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/SelectedFillColorsStyle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.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/TextBase.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/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>

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

--- frameworks/projects/mx/src/mx/styles/metadata/IconColorStyles.as
+++ frameworks/projects/mx/src/mx/styles/metadata/IconColorStyles.as
@@ -26,7 +26,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Style(name="iconColor", type="uint", format="Color", inherit="yes")]
+[Style(name="iconColor", type="uint", format="Color", inherit="yes", theme="halo")]

 /**
  *  The color for the icon in a disabled skin.
@@ -44,4 +44,4 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Style(name="disabledIconColor", type="uint", format="Color", inherit="yes")]+[Style(name="disabledIconColor", type="uint", format="Color", inherit="yes", theme="halo")]


We've already checked the type of the required service, so don't require another cast

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

--- src/main/as/com/threerings/presents/client/Client.as
+++ src/main/as/com/threerings/presents/client/Client.as
@@ -202,7 +202,7 @@
         }
     }

-    public function getService (clazz :Class) :InvocationService
+    public function getService (clazz :Class) :*
     {
         if (_bstrap != null) {
             for each (var isvc :InvocationService in _bstrap.services) {
@@ -211,12 +211,12 @@
                 }
             }
         }
-
         return null;
     }

-    public function requireService (clazz :Class) :InvocationService
-    {
+    public function requireService (clazz :Class) :*
+    {
+
         var isvc :InvocationService = getService(clazz);
         if (isvc == null) {
             throw new Error(clazz + " isn't available. I can't bear to go on.");


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

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

 package mx.core
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 7289
Author:   rfrishbe@adobe.com
Date:     2009-05-26T22:59:58.646607Z

Log Message:
-----------
Updating IVisualElement to include a few more properties we think will be useful: width, height, x, y, and alpha.  These properties shouldn't be onerrous for anyone to implement (all of our implementors already did), and they are fundamentally useful for all "visual elements"

QE Notes: -
Doc Notes: -
Bugs: SDK-19088
Reviewer: Deepa
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/IViewport.as</path>

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

--- frameworks/projects/framework/src/mx/core/IVisualElement.as
+++ frameworks/projects/framework/src/mx/core/IVisualElement.as
@@ -119,5 +119,82 @@
      *  @private
      */
     function set visible(value:Boolean):void;
+
+    /**
+     *  @copy flash.display.DisplayObject#alpha
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    function get alpha():Number;
+
+    /**
+     *  @private
+     */
+    function set alpha(value:Number):void;
+
+
+    /**
+     *  @copy flash.display.DisplayObject#width
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    function get width():Number;
+
+    /**
+     *  @private
+     */
+    function set width(value:Number):void;
+
+    /**
+     *  @copy flash.display.DisplayObject#height
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    function get height():Number;
+
+    /**
+     *  @private
+     */
+    function set height(value:Number):void;
+
+    /**
+     *  @copy flash.display.DisplayObject#x
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    function get x():Number;
+
+    /**
+     *  @private
+     */
+    function set x(value:Number):void;
+
+
+    /**
+     *  @copy flash.display.DisplayObject#y
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    function get y():Number;
+
+    /**
+     *  @private
+     */
+    function set y(value:Number):void;
 }
 }


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

--- frameworks/projects/framework/src/mx/formatters/DateBase.as
+++ frameworks/projects/framework/src/mx/formatters/DateBase.as
@@ -32,6 +32,11 @@
  *  used independently.
  *
  *  @see mx.formatters.DateFormatter
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class DateBase
 {
@@ -98,6 +103,11 @@
 	 *
 	 *  @default [Sunday", "Monday", "Tuesday", "Wednesday",
 	 *  "Thursday", "Friday", "Saturday"]
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static function get dayNamesLong():Array /* of String */
 	{
@@ -138,6 +148,11 @@
 	 *  Short format of day names.
 	 *
 	 *  @default ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static function get dayNamesShort():Array /* of String */
 	{
@@ -193,6 +208,11 @@
 	 *
 	 *  @default ["January", "February", "March", "April", "May", "June",
 	 *  "July", "August", "September", "October", "November", "December"].
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static function get monthNamesLong():Array /* of String */
 	{
@@ -253,6 +273,11 @@
 	 *
 	 *  @default ["Jan", "Feb", "Mar", "Apr", "May", "Jun",
 	 *  "Jul", "Aug", "Sep", "Oct","Nov", "Dec"]
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static function get monthNamesShort():Array /* of String */
 	{
@@ -311,6 +336,11 @@
 	 *  Time of day names.
 	 *
 	 *  @default ["AM", "PM"]
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static function get timeOfDay():Array /* of String */
 	{


Remove redundant check.

Remove redundant check.

--- exporter/src/main/as/flump/export/AutomaticExporter.as
+++ exporter/src/main/as/flump/export/AutomaticExporter.as
@@ -159,11 +159,6 @@
             return;
         }

-        if (_conf.exportDir == null) {
-            exit("No export directory specified.");
-            return;
-        }
-
         var hasCombined :Boolean = false;
         var hasSingle :Boolean = false;
         for each (var config :ExportConf in _conf.exports) {


Transferred from the Adobe Open Source Subversion Repository

Revision: 6792
Author:   jimurphy@adobe.com
Date:     2009-05-11T18:24:09.346026Z

Log Message:
-----------
Merged revisions 6729,6731,6746,6755,6757,6765,6767-6768,6770-6772,6775,6784-6786,6790 from http://p01weblab02.corp.adobe.com/svn/opensource/flex/sdk/branches/beta1

Modified Paths:
--------------
<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/utilities/src/FlashContainerPlaceholder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexFXG2SWFTranscoder.java</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/flex4/src/spark/components/Group.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/flash-integration/src/mx/flash/FlexContentHolder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.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/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/TypeHelper.java</path>
<path kind="dir" copyfrom-path="/flex/sdk/branches/beta1/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/types" copyfrom-rev="6790" action="A">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/types</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Resize.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/flex4/src/spark/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/ButtonSkin.mxml</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/modules/fxgutils/src/java/com/adobe/fxg/swf/FXG2SWFTranscoder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Application.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/flex4/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/ResizeInstance.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/flex4/src/spark/components/supportClasses/ScrollerLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/RadioButtonSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/beta1/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/types/FXGMatrix.java" copyfrom-rev="6790" action="R">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/types/FXGMatrix.java</path>

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

--- frameworks/projects/framework/src/mx/effects/Effect.as
+++ frameworks/projects/framework/src/mx/effects/Effect.as
@@ -1192,6 +1192,10 @@

             // Revalidate after applying the start values, to get everything
             // back the way it should be before starting the animation
+            // TODO (chaase): should we skip this step if the effect has asked
+            // to disable layout while it runs? Otherwise we are about to validate
+            // the targets in a layout that has potentially been set to a post-effect
+            // value
             LayoutManager.getInstance().validateNow();

             applyEndValuesWhenDone = true;
@@ -1551,7 +1555,13 @@
                 m = effectProps.length;
                 for (j = 0; j < m; j++)
                 {
-                    if (effectProps[j] in propChanges[i].start)
+                    var propName:String = effectProps[j];
+                    var startVal:* = propChanges[i].start[propName];
+                    var endVal:* = propChanges[i].end[propName];
+                    if (propName in propChanges[i].start &&
+                        endVal != startVal &&
+                        (!(startVal is Number) ||
+                         !(isNaN(endVal) && isNaN(startVal))))
                     {
                         applyValueToTarget(target, effectProps[j],
                                 propChanges[i].start[effectProps[j]],
@@ -1563,12 +1573,20 @@
                 m = relevantStyles.length;
                 for (j = 0; j < m; j++)
                 {
-                    if (relevantStyles[j] in propChanges[i].start &&
+                    var styleName:String = relevantStyles[j];
+                    var startStyle:* = propChanges[i].start[styleName];
+                    var endStyle:* = propChanges[i].end[styleName];
+                    if (styleName in propChanges[i].start &&
+                        endStyle != startStyle &&
+                        (!(startStyle is Number) ||
+                         !(isNaN(endStyle) && isNaN(startStyle))) &&
                         target is IStyleClient)
+                    {
                         if (propChanges[i].end[relevantStyles[j]] !== undefined)
                             target.setStyle(relevantStyles[j], propChanges[i].start[relevantStyles[j]]);
                         else
                             target.clearStyle(relevantStyles[j]);
+                    }
                 }
             }
         }
@@ -1614,10 +1632,16 @@
                 m = effectProps.length;
                 for (j = 0; j < m; j++)
                 {
-                    if (effectProps[j] in propChanges[i].end)
+                    var propName:String = effectProps[j];
+                    var startVal:* = propChanges[i].start[propName];
+                    var endVal:* = propChanges[i].end[propName];
+                    if (propName in propChanges[i].end &&
+                        endVal != startVal &&
+                        (!(endVal is Number) ||
+                         !(isNaN(endVal) && isNaN(startVal))))
                     {
-                        applyValueToTarget(target, effectProps[j],
-                                propChanges[i].end[effectProps[j]],
+                        applyValueToTarget(target, propName,
+                                propChanges[i].end[propName],
                                 propChanges[i].end);
                     }
                 }
@@ -1626,13 +1650,19 @@
                 m = relevantStyles.length;
                 for (j = 0; j < m; j++)
                 {
-                    if (relevantStyles[j] in propChanges[i].end &&
+                    var styleName:String = relevantStyles[j];
+                    var startStyle:* = propChanges[i].start[styleName];
+                    var endStyle:* = propChanges[i].end[styleName];
+                    if (styleName in propChanges[i].end &&
+                        endStyle != startStyle &&
+                        (!(endStyle is Number) ||
+                         !(isNaN(endStyle) && isNaN(startStyle))) &&
                         target is IStyleClient)
                     {
-                        if (propChanges[i].end[relevantStyles[j]] !== undefined)
-                            target.setStyle(relevantStyles[j], propChanges[i].end[relevantStyles[j]]);
+                        if (propChanges[i].end[styleName] !== undefined)
+                            target.setStyle(styleName, propChanges[i].end[styleName]);
                         else
-                            target.clearStyle(relevantStyles[j]);
+                            target.clearStyle(styleName);
                     }
                 }
             }


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

--- frameworks/projects/mx/src/mx/containers/ControlBar.as
+++ frameworks/projects/mx/src/mx/containers/ControlBar.as
@@ -99,6 +99,11 @@
  *  @see mx.containers.Panel
  *
  *  @includeExample examples/SimpleControlBarExample.mxml
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class ControlBar extends Box
 {
@@ -112,6 +117,11 @@

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 17912
Author:   klin@adobe.com
Date:     2010-09-29T00:09:09.629693Z

Log Message:
-----------
Fix ensureCellIsVisible in Grid. The math was incorrect in that it was multiplying by the dataProvider's length instead of the columns length to get a unique index for each cell. Also, fixed the hover and selection colors in the wireframe skin.

QE notes: No
Doc notes: No
Bugs: SDK-27879, SDK-28027
Reviewer: Hans
Tests run: cyclone server
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/GridLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/wireframe/src/spark/skins/wireframe/DataGridSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/Grid.as
+++ frameworks/projects/spark/src/spark/components/Grid.as
@@ -2760,13 +2760,17 @@
      */
     public function ensureCellIsVisible(rowIndex:int, columnIndex:int = -1):void
     {
-        if ((rowIndex < 0) || (rowIndex >= dataProvider.length))  // TBD check for invalid column
+        const columns:IList = this.columns;
+
+        if (!columns || columnIndex < -1 || columnIndex >= columns.length)
+            return;
+
+        if (!dataProvider || rowIndex < 0 || rowIndex >= dataProvider.length)
             return;

         // A cell's index as defined by LayoutBase it's just its position
         // in the row-major linear ordering of the grid's cells.
-
-        const elementIndex:int = (rowIndex * dataProvider.length) + ((columnIndex < 0) ? 0 : columnIndex);
+        const elementIndex:int = (rowIndex * columns.length) + ((columnIndex < 0) ? 0 : columnIndex);
         const scrollHorizontally:Boolean = columnIndex != -1;

         // Iterate until we've scrolled elementIndex at least partially into view.


Transferred from the Adobe Open Source Subversion Repository

Revision: 9091
Author:   egeorgie@adobe.com
Date:     2009-08-04T23:11:37.853788Z

Log Message:
-----------
Fix bug http://bugs.adobe.com/jira/browse/SDK-22181 LayoutBoundsHeight and LayoutBoundWidth has rounding errors for rotated paths + optimizations

Fix: Path used to draw into a shape to determine the bounds, which had rounding error to the 1/20th of the pixel. Calculate the bounds directly by going through the segments instead - this yields full double precision.
Additional changes:
1. Reduce the number of dynamic Points allocated
2. Remove the CloseSegment and replace it with a LineSegment
3. Optimize the bounds() code to look at each line segment's points only once

Additional changes bring 10% speed improvement in path layout over the trunk baseline for a test case of 5,000 star paths in a TileLayout (each with 9 line segments and 1 close segment).

QE notes: None
Doc notes: None
Bugs: SDK-22181
Reviewer: Jason
Tests run: checkintests, gumbo/layout, graphicTags, gumbo/core/Group

Is noteworthy for integration: Yes, bug SDK-22181 came from the Thermo team

Modified Paths:
--------------
<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/spark/src/spark/primitives/Path.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/Path.as
+++ frameworks/projects/spark/src/spark/primitives/Path.as
@@ -362,9 +362,10 @@
                                         control2X, control2Y, x, y));
                     break;
                 case "z":
-                    newSegments.push(new CloseSegment());
-                    x = lastMoveX;
-                    y = lastMoveY;
+					// For a close segment, we generate a LineSegment to the last move point instead.
+					x = lastMoveX;
+					y = lastMoveY;
+                    newSegments.push(new LineSegment(x, y));
                     break;

                 default:
@@ -437,25 +438,19 @@

     private var _bounds:Rectangle;

-    private static var boundsShape:Shape = new Shape();
-
     private function getBounds():Rectangle
     {
         if (_bounds)
             return _bounds;

-
-        // Draw element at (0,0):
-        generateGraphicsPath(0,0,1,1);
-        boundsShape.graphics.clear();
-        boundsShape.graphics.drawPath(graphicsPath.commands, graphicsPath.data, winding);
-
-        // Get bounds
-        _bounds = boundsShape.getRect(boundsShape);
-
-        graphicsPathChanged = true;
-
-        return _bounds;
+		// First, allocate temporary bounds, as getBoundingBox() requires
+		// natual bounds to calculate a scaling factor
+		_bounds = new Rectangle(0, 0, 1, 1);
+
+		// Pass in the same size to getBoundingBox
+		// so that the scaling factor is (1, 1).
+		_bounds = getBoundingBox(1, 1, null /*Matrix*/);
+		return _bounds;
     }

     //--------------------------------------------------------------------------
@@ -494,7 +489,7 @@
         measuredX = bounds.left;
         measuredY = bounds.top;
     }
-
+
     /**
      *  @private
      *  @return Returns the axis aligned bounding box of the path resized to width, height and then
@@ -508,32 +503,20 @@

         var prevSegment:PathSegment;
         var pathBBox:Rectangle;
-        var lastMoveX:Number = 0;
-        var lastMoveY:Number = 0;

         for (var i:int = 0; i < segments.length; i++)
         {
             var segment:PathSegment = segments[i];
-
-            if (segment is MoveSegment)
-            {
-                lastMoveX = segment.x;
-                lastMoveY = segment.y;
-            }
-            else if (segment is CloseSegment)
-            {
-                segment = new LineSegment(lastMoveX, lastMoveY);
-            }
-
             pathBBox = segment.getBoundingBox(prevSegment, sx, sy, m, pathBBox);
             prevSegment = segment;
         }
-        // If path is empty, it's untransformed bounding box is (0,0), so we return transformed point (0,0)
+
+		// If path is empty, it's untransformed bounding box is (0,0), so we return transformed point (0,0)
         if (!pathBBox)
             pathBBox = new Rectangle(m.tx, m.ty);
         return pathBBox;
     }
-
+
     /**
      *  @private
      */
@@ -744,10 +727,10 @@
         if (graphicsPathChanged)
         {
             var rcBounds:Rectangle = getBounds();
-            var sx:Number = rcBounds.width == 0 ? 1 : width/rcBounds.width;
-            var sy:Number = rcBounds.height == 0 ? 1 : height/rcBounds.height;
-
-            generateGraphicsPath(drawX,drawY,sx,sy);
+            var sx:Number = rcBounds.width == 0 ? 1 : width / rcBounds.width;
+            var sy:Number = rcBounds.height == 0 ? 1 : height / rcBounds.height;
+
+            generateGraphicsPath(drawX, drawY, sx, sy);
             graphicsPathChanged = false;
         }

@@ -783,24 +766,11 @@
         // the path will begin at the previous pen location
         // if it does not start with a MoveSegment.
         graphicsPath.moveTo(tx, ty);
-        var lastMoveX:Number = tx;
-        var lastMoveY:Number = ty;

         for (var i:int = 0; i < segments.length; i++)
         {
             var segment:PathSegment = segments[i];
-
-            segment.draw(graphicsPath, tx,ty,sx,sy, (i > 0 ? segments[i - 1] : null));
-
-            if (segment is MoveSegment)
-            {
-                lastMoveX = segment.x;
-                lastMoveY = segment.y;
-            }
-            else if (segment is CloseSegment)
-            {
-                graphicsPath.lineTo(tx + lastMoveX * sx, ty + lastMoveY * sy);
-            }
+            segment.draw(graphicsPath, tx, ty, sx, sy, (i > 0 ? segments[i - 1] : null));
         }
     }

@@ -1072,12 +1042,21 @@
      */
     override public function getBoundingBox(prev:PathSegment, sx:Number, sy:Number, m:Matrix, rect:Rectangle):Rectangle
     {
-        // FIXME (egeorgie): optimize, we shouldn't look at the prev point, if it already contributed to rect
-        var pt1:Point = m.transformPoint(new Point(prev ? prev.x * sx : 0, prev ? prev.y * sy : 0));
-        var pt2:Point = m.transformPoint(new Point(x * sx, y * sy));
-
-        return MatrixUtil.rectUnion(Math.min(pt1.x, pt2.x), Math.min(pt1.y, pt2.y),
-                                    Math.max(pt1.x, pt2.x), Math.max(pt1.y, pt2.y), rect);
+		pt = MatrixUtil.transformPoint(x * sx, y * sy, m);
+		var x1:Number = pt.x;
+		var y1:Number = pt.y;
+
+		// If the previous segment actually draws, then only add the end point to the rectangle,
+		// as the start point would have been added by the previous segment:
+		if (prev != null && !(prev is MoveSegment))
+			return MatrixUtil.rectUnion(x1, y1, x1, y1, rect);
+
+		var pt:Point = MatrixUtil.transformPoint(prev ? prev.x * sx : 0, prev ? prev.y * sy : 0, m);
+		var x2:Number = pt.x;
+		var y2:Number = pt.y;
+
+		return MatrixUtil.rectUnion(Math.min(x1, x2), Math.min(y1, y2),
+									Math.max(x1, x2), Math.max(y1, y2), rect);
     }

 }
@@ -1148,66 +1127,6 @@
     override public function draw(graphicsPath:GraphicsPath, dx:Number,dy:Number,sx:Number,sy:Number,prev:PathSegment):void
     {
         graphicsPath.moveTo(dx+x*sx, dy+y*sy);
-    }
-}
-
-//--------------------------------------------------------------------------
-//
-//  Internal Helper Class - CloseSegment
-//
-//--------------------------------------------------------------------------
-
-import flash.display.GraphicsPath;
-
-/**
- *  The CloseSegment closes the current path.
- *
- *  @langversion 3.0
- *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
- */
-class CloseSegment extends PathSegment
-{
-
-    //--------------------------------------------------------------------------
-    //
-    //  Constructor
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Constructor.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    public function CloseSegment()
-    {
-        super();
-    }
-
-    //--------------------------------------------------------------------------
-    //
-    //  Methods
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  @inheritDoc
-     *
-     *  The CloseSegment class draws a line from the current pen location to the
-     *  position specified by the x and y properties.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    override public function draw(graphicsPath:GraphicsPath, dx:Number,dy:Number,sx:Number,sy:Number,prev:PathSegment):void
-    {
     }
 }

@@ -1379,7 +1298,7 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    override public function draw(graphicsPath:GraphicsPath, dx:Number,dy:Number,sx:Number,sy:Number,prev:PathSegment):void
+    override public function draw(graphicsPath:GraphicsPath, dx:Number, dy:Number, sx:Number, sy:Number, prev:PathSegment):void
     {
         var qPts:QuadraticPoints = getQuadraticPoints(prev);


removed unused import

removed unused import

--- WeaveJS/src/weavejs/util/DateUtils.as
+++ WeaveJS/src/weavejs/util/DateUtils.as
@@ -15,8 +15,6 @@

 package weavejs.util
 {
-	import weavejs.util.JS;
-
 	public class DateUtils
 	{
 		/**


expose hls object related to https://github.com/mangui/flashls/pull/182

--- src/org/mangui/osmf/plugins/traits/HLSNetStreamLoadTrait.as
+++ src/org/mangui/osmf/plugins/traits/HLSNetStreamLoadTrait.as
@@ -7,7 +7,7 @@
     import org.osmf.media.MediaResourceBase;
     import org.osmf.net.NetStreamLoadTrait;
     import org.osmf.traits.LoaderBase;
-
+
     CONFIG::LOGGING {
     import org.mangui.hls.utils.Log;
     }
@@ -45,6 +45,10 @@
             return _time_total;
         }

+        public function get hls() : HLS {
+            return _hls;
+        }
+
         /**  **/
         private function _mediaTimeHandler(event : HLSEvent) : void {
             var time_total : Number = Math.round(10 * event.mediatime.duration) / 10;


Fixed bug in decode into existing object

--- as3/xobjas3/src/com/rpath/xobj/XObjDeferredDecode.as
+++ as3/xobjas3/src/com/rpath/xobj/XObjDeferredDecode.as
@@ -26,7 +26,7 @@

         public function decodeXMLIntoObject(rootObject:*):Object
         {
-            return decoder.actualDecodeXML(dataNode, null, rootObject);
+            return decoder.actualDecodeXML(dataNode, null, rootObject, true);
         }

     }


Fix build breakage due to presumed oversight in changeset 84a074bbb8cf

Bug 678975: change shell totalMemory to match FR meaning, i.e. usedMemory, and fix dependencies on former meaning (r=fklockii).
interrupted! take a look at this.  This is a quick and not carefully considered fix to get the build going again.

--- test/acceptance/mmgc/pauseForGCIfCollectionImminent.as
+++ test/acceptance/mmgc/pauseForGCIfCollectionImminent.as
@@ -100,7 +100,7 @@
         // Bugzilla 678975: 'total' once denoted used+free; now 'total' is used
         var beforeUsed = beforeTotal;
         var afterUsed = afterTotal;
-        if (after < before)
+        if (afterUsed < beforeUsed)
             hits++;
         if (((i + 1) % 100) == 0)
             trace("Hits: " + hits);


Minor formatting

Minor formatting

--- com/zehfernando/input/binding/KeyActionBinder.as
+++ com/zehfernando/input/binding/KeyActionBinder.as
@@ -109,7 +109,7 @@
 			var i:int, j:int;

 			for (i = 0; i < GameInput.numDevices; i++) {
-                device = GameInput.getDeviceAt(i);
+				device = GameInput.getDeviceAt(i);

 				// Some times the device is null because numDevices is updated before the added device event is dispatched
 				if (device != null) {
@@ -130,7 +130,7 @@
 			var i:int, j:int;

 			for (i = 0; i < GameInput.numDevices; i++) {
-                device = GameInput.getDeviceAt(i);
+				device = GameInput.getDeviceAt(i);
 				if (device != null) {
 					for (j = 0; j < device.numControls; j++) {
 						device.getControlAt(j).removeEventListener(Event.CHANGE, onGameInputDeviceChanged);
@@ -278,7 +278,7 @@
 		}

 		public function addKeyboardActionBinding(__action:String, __keyCode:uint, __keyLocation:int = -1):void {
-			// TODO: use  KeyActionBinder.KEY_LOCATION_ANY as default param?
+			// TODO: use KeyActionBinder.KEY_LOCATION_ANY as default param?

 			// Create a binding to be verified later
 			bindings.push(new BindingInfo(__action, new KeyboardBinding(__keyCode, __keyLocation >= 0 ? __keyLocation : KeyboardBinding.KEY_LOCATION_ANY)));


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

--- frameworks/projects/framework/src/mx/effects/Blur.as
+++ frameworks/projects/framework/src/mx/effects/Blur.as
@@ -47,6 +47,11 @@
  *  @see mx.effects.effectClasses.BlurInstance
  *
  *  @includeExample examples/BlurEffectExample.mxml
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class Blur extends TweenEffect
 {
@@ -73,6 +78,11 @@
 	 *  Constructor.
 	 *
 	 *  @param target The Object to animate with this effect.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function Blur(target:Object = null)
 	{
@@ -98,6 +108,11 @@
 	 *  Valid values are from 0.0 to 255.0.
 	 *
 	 *  @default 4
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var blurXFrom:Number = 4;

@@ -112,6 +127,11 @@
 	 *  Valid values are from 0.0 to 255.0.
 	 *
 	 *  @default 0
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var blurXTo:Number = 0;

@@ -126,6 +146,11 @@
 	 *  Valid values are from 0.0 to 255.0.
 	 *
 	 *  @default 4
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var blurYFrom:Number = 4;

@@ -140,6 +165,11 @@
 	 *  Valid values are from 0.0 to 255.0.
 	 *
 	 *  @default 0
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var blurYTo:Number = 0;


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

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

 package mx.effects.easing
 {