Transferred from the Adobe Open Source Subversion Repository

Revision: 14002
Author:   clucier@adobe.com
Date:     2010-02-05T16:56:27.781010Z

Log Message:
-----------
Merge branch revision 4.x, 14001 --> trunk

----------------------------------------
r14001 | clucier

Per discussions with the AIR and AIR integration teams, we will no longer throttle framerate to '1' fps
by default for Flex AIR applications. SDK-25126.

Modified Paths:
--------------
<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/airframework/src/mx/core/WindowedApplication.as</path>

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

--- frameworks/projects/airspark/src/spark/components/WindowedApplication.as
+++ frameworks/projects/airspark/src/spark/components/WindowedApplication.as
@@ -375,7 +375,7 @@
  *    Properties
  *    alwaysInFront="false"
  *    autoExit="true"
- *    backgroundFrameRate="1"
+ *    backgroundFrameRate="-1"
  *    dockIconMenu="null"
  *    menu="null"
  *    showStatusBar="true"
@@ -1046,13 +1046,13 @@
      *  @private
      *  Storage for the backgroundFrameRate property.
      */
-    private var _backgroundFrameRate:Number = 1;
+    private var _backgroundFrameRate:Number = -1;

     /**
      *  Specifies the frame rate to use when the application is inactive.
      *  When set to -1, no background frame rate throttling occurs.
      *
-     *  @default 1
+     *  @default -1
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5


Transferred from the Adobe Open Source Subversion Repository

Revision: 18400
Author:   hmuller@adobe.com
Date:     2010-11-01T21:10:50.018719Z

Log Message:
-----------
Changed DefaultGridHeaderRenderer so that its labelDisplay component can be replaced and added a cover for the labelDisplay's maxDisplayedLines property to simplify enabling wrapping in a header renderer.

QE notes:
Doc notes:
Bugs: SDK-28317
Reviewer: Carol
Tests run: checkin, mustella cyclone
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
@@ -394,8 +394,8 @@
     [Bindable("headerRendererChanged")]

     /**
-     *  A factory for the IGridItemRenderer used as the header for this column.  If null,
-     *  the value of the DataGrid headerRenderer property is returned.
+     *  A factory for the IGridItemRenderer used as the header for this column.  If unspecified,
+     *  the DataGrid's columnHeaderGroup skin part provides a default header renderer.
      *
      *  @default null
      *


Transferred from the Adobe Open Source Subversion Repository

Revision: 11913
Author:   rfrishbe@adobe.com
Date:     2009-11-17T23:29:29.877963Z

Log Message:
-----------
Changing VolumeBar.closeDropDown() back to the way it was.  Even though we ignore the commit:Boolean parameter, some subclass may want this behavior if they add key-interaction support to volume bar, and their volume bar doesn't pop up on rollOver.

Also changing ASDoc "@private" protected methods to mx_internal because protected methods should either be documented or not made protected.

QE notes: -
Doc notes: -
Bugs: -
Reviewer: Jason and I discussed them
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/mediaClasses/VolumeBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer2.as</path>

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

--- frameworks/projects/spark/src/spark/components/mediaClasses/VolumeBar.as
+++ frameworks/projects/spark/src/spark/components/mediaClasses/VolumeBar.as
@@ -376,15 +376,18 @@

      /**
      *  Closes the dropDown.
+     *
+     *  @param commit Flag indicating if the component should commit the selected
+     *  data from the dropDown.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function closeDropDown():void
-    {
-        dropDownController.closeDropDown(true);
+    public function closeDropDown(commit:Boolean):void
+    {
+        dropDownController.closeDropDown(commit);
     }

     //--------------------------------------------------------------------------
@@ -508,7 +511,8 @@
     {
         invalidateSkinState();

-        // the volume changed immediately, so no need to handle the case when
+        // In this implementation, the volume is always changed immediately,
+        // so no need to handle the case when
         // commit==false and event.preventDefault() is called on this DropDownEvent

         dispatchEvent(event);


Transferred from the Adobe Open Source Subversion Repository

Revision: 20535
Author:   jszeto@adobe.com
Date:     2011-03-02T03:58:13.154109Z

Log Message:
-----------
TextArea auto-scroll interaction fix

http://bugs.adobe.com/jira/browse/SDK-29679 - Editing text user experience is inconsistent

Added a new parameter to the positioning logic. Now we have a mode where we don't try to position the entire element in the viewable area. We use this mode if the softkeyboard is already open.

QE notes: none
Doc notes: none
Bugs: SDK-29679
Reviewer: Glenn
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
+++ frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
@@ -1476,7 +1476,7 @@
     {
         var elementR:Rectangle = getElementBounds(index);
         return getScrollPositionDeltaToElementHelperHelper(
-                                                elementR, null,
+                                                elementR, null, true,
                                                 topOffset, bottomOffset,
                                                 leftOffset, rightOffset);
     }
@@ -1489,6 +1489,9 @@
      *  For the offset properties, a value of NaN means don't offset from that edge. A value
      *  of 0 means to put the element flush against that edge.
      *
+     *  @param elementR The bounds of the element to position
+     *  @param elementLocalBounds The bounds inside of the element to position
+     *  @param entireElementVisible If true, position the entire element in the viewable area
      *  @param topOffset Number of pixels to position the element below the top edge.
      *  @param bottomOffset Number of pixels to position the element above the bottom edge.
      *  @param leftOffset Number of pixels to position the element to the right of the left edge.
@@ -1497,6 +1500,7 @@
     protected function getScrollPositionDeltaToElementHelperHelper(
                                     elementR:Rectangle,
                                     elementLocalBounds:Rectangle,
+                                    entireElementVisible:Boolean = true,
                                     topOffset:Number = NaN,
                                     bottomOffset:Number = NaN,
                                     leftOffset:Number = NaN,
@@ -1513,41 +1517,47 @@
             (scrollR.containsRect(elementR) || (!elementLocalBounds && elementR.containsRect(scrollR))))
             return null;

-        var dxl:Number = elementR.left - scrollR.left;     // left justify element
-        var dxr:Number = elementR.right - scrollR.right;   // right justify element
-        var dyt:Number = elementR.top - scrollR.top;       // top justify element
-        var dyb:Number = elementR.bottom - scrollR.bottom; // bottom justify element
-
-        // minimize the scroll
-        var dx:Number = (Math.abs(dxl) < Math.abs(dxr)) ? dxl : dxr;
-        var dy:Number = (Math.abs(dyt) < Math.abs(dyb)) ? dyt : dyb;
-
-        if (!isNaN(topOffset))
-            dy = dyt + topOffset;
-        else if (!isNaN(bottomOffset))
-            dy = dyb - bottomOffset;
-
-        if (!isNaN(leftOffset))
-            dx = dxl + leftOffset;
-        else if (!isNaN(rightOffset))
-            dx = dxr - rightOffset;
-
-        // scrollR "contains"  elementR in just one dimension
-        if ((elementR.left >= scrollR.left) && (elementR.right <= scrollR.right))
-            dx = 0;
-        else if ((elementR.bottom <= scrollR.bottom) && (elementR.top >= scrollR.top))
-            dy = 0;
-
-        // elementR "contains" scrollR in just one dimension
-        if ((elementR.left <= scrollR.left) && (elementR.right >= scrollR.right))
-            dx = 0;
-        else if ((elementR.bottom >= scrollR.bottom) && (elementR.top <= scrollR.top))
-            dy = 0;
-
+        var dx:Number = 0;
+        var dy:Number = 0;
+
+        if (entireElementVisible)
+        {
+            var dxl:Number = elementR.left - scrollR.left;     // left justify element
+            var dxr:Number = elementR.right - scrollR.right;   // right justify element
+            var dyt:Number = elementR.top - scrollR.top;       // top justify element
+            var dyb:Number = elementR.bottom - scrollR.bottom; // bottom justify element
+
+            // minimize the scroll
+            dx = (Math.abs(dxl) < Math.abs(dxr)) ? dxl : dxr;
+            dy = (Math.abs(dyt) < Math.abs(dyb)) ? dyt : dyb;
+
+            if (!isNaN(topOffset))
+                dy = dyt + topOffset;
+            else if (!isNaN(bottomOffset))
+                dy = dyb - bottomOffset;
+
+            if (!isNaN(leftOffset))
+                dx = dxl + leftOffset;
+            else if (!isNaN(rightOffset))
+                dx = dxr - rightOffset;
+
+            // scrollR "contains"  elementR in just one dimension
+            if ((elementR.left >= scrollR.left) && (elementR.right <= scrollR.right))
+                dx = 0;
+            else if ((elementR.bottom <= scrollR.bottom) && (elementR.top >= scrollR.top))
+                dy = 0;
+
+            // elementR "contains" scrollR in just one dimension
+            if ((elementR.left <= scrollR.left) && (elementR.right >= scrollR.right))
+                dx = 0;
+            else if ((elementR.bottom >= scrollR.bottom) && (elementR.top <= scrollR.top))
+                dy = 0;
+        }
+
         if (elementLocalBounds)
         {
             // Only adjust for local bounds if the element is wider than the scroll width
-            if (elementR.width > scrollR.width)
+            if (elementR.width > scrollR.width || !entireElementVisible)
             {
                 if (elementLocalBounds.left < scrollR.left)
                     dx = elementLocalBounds.left - scrollR.left;
@@ -1556,7 +1566,7 @@
             }

             // Only adjust for local bounds if the element is taller than the scroll height
-            if (elementR.height > scrollR.height)
+            if (elementR.height > scrollR.height || !entireElementVisible)
             {
                 if (elementLocalBounds.bottom > scrollR.bottom)
                     dy = elementLocalBounds.bottom - scrollR.bottom;
@@ -1573,6 +1583,7 @@
      */
     mx_internal function getScrollPositionDeltaToAnyElement(element:IVisualElement,
                                                             elementLocalBounds:Rectangle = null,
+                                                            entireElementVisible:Boolean = true,
                                                             topOffset:Number = NaN,
                                                             bottomOffset:Number = NaN,
                                                             leftOffset:Number = NaN,
@@ -1584,7 +1595,7 @@
         if (elementLocalBounds)
             elementLocalBounds = convertLocalToTarget(element, elementLocalBounds);
         return getScrollPositionDeltaToElementHelperHelper(
-            elementR, elementLocalBounds,
+            elementR, elementLocalBounds, entireElementVisible,
             topOffset, bottomOffset,
             leftOffset, rightOffset);


Transferred from the Adobe Open Source Subversion Repository

Revision: 4446
Author:   hmuller@adobe.com
Date:     2009-01-08T19:53:52.711496Z

Log Message:
-----------
Added support for virtualiztaion to HorizontalLayout.

Some refactoring and commenting of Horizontal,Verticallayout.

QE Notes: Existing mustella tests pass, virtualization tests are still TBD
Doc Notes: None
Bugs:
Reviewer: Evtim

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LinearLayoutVector.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/GroupBase.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/layout/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutBase.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
+++ frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
@@ -224,21 +224,33 @@
      *
      *  Used by virtualLayouts to estimate the size of layout elements
      *  that have not been scrolled into view.
-     *
-     *  @default null
+     *
+     *  If this property has not been set and the target is non-null
+     *  then the target's first layout element is cached and returned.
+     *
+     *  @default The target's first layout element.
+     *  @see target
      *  @see DataGroup#typicalItem
-     *  @see #getLayoutElement
-     *  @see GroupBase#virtualLayout
      *  @see mx.layout.VerticalLayout#variableRowHeight
      *  @see mx.layout.HorizontalLayout#variableColumnWidth
      */
     public function get typicalLayoutElement():ILayoutElement
     {
+        if (!_typicalLayoutElement && target && (target.numLayoutElements > 0))
+            _typicalLayoutElement = target.getLayoutElementAt(0);
         return _typicalLayoutElement;
     }

     /**
      *  @private
+     *  Current implementation limitations:
+     *
+     *  The default value of this property may be initialized
+     *  lazily to layout element zero.  That means you can't rely on the
+     *  set method being called to stay in sync with the property's value.
+     *
+     *  If the default value is lazily initialized, it will not be reset if
+     *  the target changes.
      */
     public function set typicalLayoutElement(value:ILayoutElement):void
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 3005
Author:   chaase@adobe.com
Date:     2008-08-26T20:00:02.963840Z

Log Message:
-----------
Fix for SDK16436. We now set and document default values in the Blur and Glow effect factories, instead of hiding those defaults in the instance classes.

Reviewed by Gordon
test: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/BlurInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Blur.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/GlowInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Glow.as</path>

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

--- frameworks/projects/framework/src/mx/effects/effectClasses/BlurInstance.as
+++ frameworks/projects/framework/src/mx/effects/effectClasses/BlurInstance.as
@@ -134,16 +134,6 @@
 		// Dispatch an effectStart event from the target.
 		super.play();

-		// If nobody assigned a value, give some defaults.
-		if (isNaN(blurXFrom))
-			blurXFrom = 4;
-		if (isNaN(blurXTo))
-			blurXTo = 0;
-		if (isNaN(blurYFrom))
-			blurYFrom = 4;
-		if (isNaN(blurYTo))
-			blurYTo = 0;
-
 		tween = createTween(this, [ blurXFrom, blurYFrom ],
 								  [ blurXTo, blurYTo ], duration);


Transferred from the Adobe Open Source Subversion Repository

Revision: 19252
Author:   tkraikit@adobe.com
Date:     2010-12-10T00:43:43.941901Z

Log Message:
-----------
Merging in revisions 19178, 19182, 19189, 19194 from hero_skin_sandbox to hero_private.

Minor last-minute touch-ups to HSliderSkin visuals per visual reviews from NJ.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile320/assets/HSliderThumb_pressed.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile240/assets/HSliderThumb_pressed.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile160/assets/HSliderThumb_pressed.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile320/assets/HSliderThumb_normal.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile240/assets/HSliderThumb_normal.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile160/assets/HSliderThumb_normal.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderThumbSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderTrackSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderTrackSkin.as
@@ -83,7 +83,7 @@
             {
                 // default PPI160
                 trackWidth = 160;
-                trackHeight = 9;
+                trackHeight = 10;

                 visibleTrackWidth = 140;
                 visibleTrackLeftOffset = 10;


Transferred from the Adobe Open Source Subversion Repository

Revision: 11273
Author:   aharui@adobe.com
Date:     2009-10-29T18:57:54.403337Z

Log Message:
-----------
Initial check in of MXItemRenderer and friends

QE Notes: New Classes and Code
Doc Notes: New Classes and Code
Bugs: None
Reviewer: Ryan
API Change: yes
Is noteworthy for integration: No
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/BaseListData.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListData.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/treeClasses</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/controls/dataGridClasses/DataGridListData.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/TreeListData.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/tests/basicTests/halo/scripts/MXItemRendererTestScript.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/listClasses/MXItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/BasicTests-config.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/tests/basicTests/halo/views/MXItemRendererTests.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/dataGridClasses/MXDataGridItemRenderer.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/listClasses</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/treeClasses/MXTreeItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.mxml</path>

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

--- frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridListData.as
+++ frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridListData.as
@@ -80,7 +80,9 @@
 	//
 	//--------------------------------------------------------------------------

-	/**
+	[Bindable("dataChange")]
+
+    /**
 	 *  Name of the field or property in the data provider associated with the column.
 	 *
 	 *  @langversion 3.0


Transferred from the Adobe Open Source Subversion Repository

Revision: 16262
Author:   dloverin@adobe.com
Date:     2010-05-20T18:44:39.210129Z

Log Message:
-----------
Move mx components out of framework.swc into mx.swc

The new mx.swc library lives in the libs/mx directory.

QE notes: Of the 5 failures I saw: 1 was intermittent and 4 are not a bug.
Managers/StyleManager/AdvancedCSS/descendantSelectors/AdvancedCSS_descendantSelectors_Style descendantSelector_combining_nested_style
    This failure was intermittent.

mx/effects/Resize/Containers/Resize_Containers Effects_Resize_Containers_ApplicationControlBar_FromTo
mx/effects/Resize/Containers/Resize_Containers Effects_Resize_Containers_ApplicationControlBar_By
mx/effects/Resize/Containers/Resize_Containers Effects_Resize_Containers_ControlBar_FromTo
mx/effects/Resize/Containers/Resize_Containers Effects_Resize_Containers_ControlBar_By
    These failures are due to my code changes but I believe the old behavior was incorrect. When a control bar is the last child in a Panel it should appear at the bottom of the Panel. In the test case an ApplicationControlBar/ContorlBar is added to an empty Panel, making it the last child in the Panel. So it should appear at the bottom of the Panel instead of inside the Panel.

Doc notes: new library, mx.swc
Bugs:
Reviewer: Alex
Tests run:
Is noteworthy for integration: Yes

Modified Paths:
--------------
740 paths were modified

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

--- frameworks/projects/mx/src/mx/styles/metadata/ContainerBackgroundStyles.as
+++ frameworks/projects/mx/src/mx/styles/metadata/ContainerBackgroundStyles.as
@@ -0,0 +1,57 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+/**
+ *  Alpha level of the color defined by the backgroundColor
+ *  property, of the image or SWF file defined by the backgroundImage
+ *  style.
+ *  Valid values range from 0.0 to 1.0. For most controls, the default value is 1.0,
+ *  but for ToolTip controls, the default value is 0.95 and for Alert controls, the default value is 0.9.
+ *
+ *  @default 1.0
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="backgroundAlpha", type="Number", inherit="no", theme="halo, spark")]
+
+/**
+ *  Background color of a component.
+ *  You can have both a backgroundColor and a
+ *  backgroundImage set.
+ *  Some components do not have a background.
+ *  The DataGrid control ignores this style.
+ *  The default value is undefined, which means it is not set.
+ *  If both this style and the backgroundImage style
+ *  are undefined, the component has a transparent background.
+ *
+ *
For the Application container, this style specifies the background color
+ *  while the application loads, and a background gradient while it is running.
+ *  Flex calculates the gradient pattern between a color slightly darker than
+ *  the specified color, and a color slightly lighter than the specified color.

+ *
+ *
The default skins of most Flex controls are partially transparent. As a result, the background color of
+ *  a container partially "bleeds through" to controls that are in that container. You can avoid this by setting the
+ *  alpha values of the control's fillAlphas property to 1, as the following example shows:
+ *

+ *  <mx:Container backgroundColor="0x66CC66"/>
+ *      <mx:ControlName ... fillAlphas="[1,1]"/>
+ *  </mx:Container>

+ *

+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="backgroundColor", type="uint", format="Color", inherit="no", theme="halo, spark")]


Transferred from the Adobe Open Source Subversion Repository

Revision: 3509
Author:   jimurphy@adobe.com
Date:     2008-10-07T18:19:17.646255Z

Log Message:
-----------
Rename of flex -> mx.

For compatibility reasons it was decided that the new functionality remain integrated with the old framework, although we will continue to build two separate SWCs, one with primarily existing framework classes, and one with new Flex 4 classes. This change removes duplicate names from the Flex 4 framework to avoid class name overlapping with the old framework code.  The naming overlap consists of two major areas:  New Components, and New Effects

Modified Paths:
--------------
386 paths were modified

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/MoveInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/MoveInstance.as
@@ -8,25 +8,25 @@
 //  in accordance with the terms of the license agreement accompanying it.
 //
 ////////////////////////////////////////////////////////////////////////////////
-package flex.effects.effectClasses
+package mx.effects.effectClasses
 {
 import flash.events.Event;

-import flex.effects.PropertyValuesHolder;
-import flex.graphics.IGraphicElement;
-
-import mx.core.Application;
+import mx.effects.PropertyValuesHolder;
+import mx.graphics.IGraphicElement;
+
+import mx.components.FxApplication;
 import mx.core.Container;
 import mx.core.IUIComponent;
 import mx.events.EffectEvent;
 import mx.events.TweenEvent;
 import mx.styles.IStyleClient;

-public class MoveInstance extends AnimateInstance
+public class FxMoveInstance extends FxAnimateInstance
 {
     include "../../core/Version.as";

-    public function MoveInstance(target:Object)
+    public function FxMoveInstance(target:Object)
     {
         super(target);
         roundValues = true;


Surely a property should not be called as a function..

--- src/org/igniterealtime/xiff/vcard/VCard.as
+++ src/org/igniterealtime/xiff/vcard/VCard.as
@@ -325,7 +325,7 @@
 				} );
 			}

-			var bareJID:String = user.jid.bareJID();
+			var bareJID:String = user.jid.bareJID;

 			var cachedCard:VCard = cache[ bareJID ] as VCard;
 			if ( cachedCard )
@@ -393,7 +393,7 @@
 		 */
 		public function _vCardSent( resultIQ:IQ ):void
 		{
-			var bareJID:String = resultIQ.to.unescaped.bareJID();
+			var bareJID:String = resultIQ.to.unescaped.bareJID;
 			if ( resultIQ.type == IQ.TYPE_ERROR )
 			{
 				dispatchEvent( new VCardEvent( VCardEvent.ERROR, cache[ bareJID ],


Transferred from the Adobe Open Source Subversion Repository

Revision: 20219
Author:   dthakkar@adobe.com
Date:     2011-02-09T00:31:57.411477Z

Log Message:
-----------
QE notes:
Doc notes: Added alternative metatag
Bugs: SDK-28163
Reviewer: Masa,Harish
Tests run: Cyclone
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/validators/CurrencyValidator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/SortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/formatters/NumberFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/formatters/CurrencyFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/Sort.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/validators/NumberValidator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/formatters/DateFormatter.as</path>

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

--- frameworks/projects/framework/src/mx/formatters/DateFormatter.as
+++ frameworks/projects/framework/src/mx/formatters/DateFormatter.as
@@ -20,6 +20,7 @@

 [ResourceBundle("SharedResources")]

+[Alternative(replacement="spark.formatters.DateTimeFormatter", since="4.5")]
 /**
  *  The DateFormatter class uses a format String to return a formatted date and time String
  *  from an input String or a Date object.


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

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

 package mx.skins.halo
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 1280
Author:   jimurphy@adobe.com
Date:     2008-04-18T00:47:49.350652Z

Log Message:
-----------
merge 3.0.x[1266:1266] -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLDecoder.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/rpc/src/mx/messaging/config/ConfigMap.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/CompositeEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MultiTopicProducer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/QualifiedResourceManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Producer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/Operation.as</path>

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

--- frameworks/projects/rpc/src/mx/messaging/config/ConfigMap.as
+++ frameworks/projects/rpc/src/mx/messaging/config/ConfigMap.as
@@ -156,6 +156,9 @@
      *  @param name The property name that should be tested
      *  for existence.
      *
+     *  @return If the property exists, true;
+     *  otherwise false.
+     *
      *  @see flash.utils.Proxy#hasProperty()
      */
     override flash_proxy function hasProperty(name:*):Boolean
@@ -166,6 +169,11 @@
     /**
      *  This is an internal function that must be implemented by
      *  a subclass of flash.utils.Proxy.
+     *
+     *  @param index The zero-based index value of the object's
+     *  property.
+     *
+     *  @return The property's name.
      *
      *  @see flash.utils.Proxy#nextName()
      */
@@ -195,6 +203,11 @@
     /**
      *  This is an internal function that must be implemented by
      *  a subclass of flash.utils.Proxy.
+     *
+     *  @param index The zero-based index value of the object's
+     *  property.
+     *
+     *  @return The property's value.
      *
      *  @see flash.utils.Proxy#nextValue()
      */


Transferred from the Adobe Open Source Subversion Repository

Revision: 9177
Author:   jimurphy@adobe.com
Date:     2009-08-07T21:15:07.894169Z

Log Message:
-----------
Merged 3.4 revisions 8630,8660,8683,8735,8750,8753,8755,8757,8759,8764,8776,8798,8821,8824,8837,8862,8911,8946,8949,8962,8965,9026,9109,9131,9138-9139,9147 -> trunk

integrates:
player: 10.0.32.18
AIR kit: 1.5.2.8870 (20090721ap)

checkintests: pass

(btw: I'm not happy about doing this on a Friday PM!)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/in/air/air_version.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/BrowserManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/mac/Install Flash Player 10 UB.dmg</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/mac/AIR Integration Kit.tbz2</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/player/10/playerglobal.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLDecoder.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/flashplayer.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/win/AIR Integration Kit.zip</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/libflashplayer.so.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/FlashPlayer.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/mac/Flash Player.app.zip</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/lib/flex-messaging-common.jar</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/Install Flash Player 10 Plugin.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/mxml/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/AbstractWebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/XMLDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/Install Flash Player 10 ActiveX.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/MessagePerformanceUtils.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageAgent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/mxml/IMXMLSupport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/ISOAPDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.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/in/player/10/lnx/install_flash_player_10_linux.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLSchemaInstance.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/xml/IXMLSchemaInstance.as
+++ frameworks/projects/rpc/src/mx/rpc/xml/IXMLSchemaInstance.as
@@ -17,12 +17,12 @@
  * instruct an XML Schema based encoder (such as the WebService SOAP client)
  * which concrete type definition to use while encoding instances of the type.
  *
- * Note that anonymous ActionScript objects can also specify a qualified type
- * by wrapping an object in an instance of mx.utils.ObjectUtil
+ *
Note that anonymous ActionScript objects can also specify a qualified type
+ * by wrapping an object in an instance of mx.utils.ObjectProxy
  * and setting the object_proxy::type property with the appropriate
- * QName.
+ * QName.

  *
- * @see mx.utils.ObjectUtil.object_proxy::type
+ * @see mx.utils.ObjectProxy
  *
  *  @langversion 3.0
  *  @playerversion Flash 9


Transferred from the Adobe Open Source Subversion Repository

Revision: 7287
Author:   chaase@adobe.com
Date:     2009-05-26T21:29:39.221182Z

Log Message:
-----------
Changed fixedThumbSize and smoothScrolling properties on ScrollBar to be styles instead, per a recent ARB decision.

QE Notes: None
Doc Notes: None
Bugs: sdk-21031
Reviewer: Glenn
tests: checkintests mustella gumbo/ScrollBar gumbo/Scroller

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/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HScrollBar.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/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/HScrollBar.as
+++ frameworks/projects/spark/src/spark/components/HScrollBar.as
@@ -150,7 +150,9 @@
         if (!thumb)
             return super.calculateThumbSize();

-        var size:Number = (fixedThumbSize) ? thumb.getPreferredBoundsWidth() : super.calculateThumbSize();
+        var size:Number = (getStyle("fixedThumbSize")) ?
+            thumb.getPreferredBoundsWidth() :
+            super.calculateThumbSize();
         return Math.max(thumb.minWidth, size);
     }

@@ -167,7 +169,9 @@
             return;

         thumb.setLayoutBoundsSize(thumbSize, NaN);
-        var calculatedThumbSize:Number = (fixedThumbSize) ? super.calculateThumbSize() : thumbSize;
+        var calculatedThumbSize:Number = (getStyle("fixedThumbSize")) ?
+            super.calculateThumbSize() :
+            thumbSize;
         thumb.visible = calculatedThumbSize < trackSize;
     }


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

--- frameworks/projects/mx/src/mx/accessibility/ColorPickerAccImpl.as
+++ frameworks/projects/mx/src/mx/accessibility/ColorPickerAccImpl.as
@@ -30,6 +30,11 @@
 /**
  *  ColorPickerAccImpl is a subclass of AccessibilityImplementation
  *  which implements accessibility for the ColorPicker class.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class ColorPickerAccImpl extends ComboBaseAccImpl
 {
@@ -80,6 +85,11 @@
 	 *  Afterwards, when instances of ColorPicker are initialized,
 	 *  their accessibilityImplementation property
 	 *  will be set to an instance of this class.

+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static function enableAccessibility():void
 	{
@@ -111,6 +121,11 @@
 	 *
 	 *  @param master The UIComponent instance that this AccImpl instance
 	 *  is making accessible.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */

 	public function ColorPickerAccImpl(master:UIComponent)


Transferred from the Adobe Open Source Subversion Repository

Revision: 3399
Author:   jimurphy@adobe.com
Date:     2008-09-29T15:51:24.666752Z

Log Message:
-----------
Merged 3.0.x revisions 3361,3364-3365,3367,3370,3381 -> trunk

Modified Paths:
--------------
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/ResultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/XMLDecoder.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/controls/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/CurrencyValidator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/SortField.as</path>

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

--- frameworks/projects/mx/src/mx/controls/scrollClasses/ScrollBar.as
+++ frameworks/projects/mx/src/mx/controls/scrollClasses/ScrollBar.as
@@ -622,6 +622,7 @@
     public function set maxScrollPosition(value:Number):void
     {
         _maxScrollPosition = value;
+        invalidateDisplayList();
     }

     //----------------------------------
@@ -667,6 +668,7 @@
     public function set minScrollPosition(value:Number):void
     {
         _minScrollPosition = value;
+        invalidateDisplayList();
     }

     //----------------------------------
@@ -1098,7 +1100,7 @@
      *  @param minScrollPosition Number which represents the bottom of the
      *  scrolling range.
      *
-     *  @param maxScrollPosition Number which represetns the top of the
+     *  @param maxScrollPosition Number which represents the top of the
      *  scrolling range.
      *
      *  @param pageScrollSize Number which represents the increment to move when


Transferred from the Adobe Open Source Subversion Repository

Revision: 10435
Author:   gruehle@adobe.com
Date:     2009-09-20T16:57:43.613670Z

Log Message:
-----------
Collection of low-hanging fruit bug fixes:
* Add backgroundAlpha/backgroundColor style metadata to SkinnableContainerBase and remove it from Panel/Border.
* Add background rect to SkinnableContainerSkin and SkinnableDataContainerSkin.
* Add SkinnableContainerBase selector to spark defaults.css
* BorderSkin – clear the lineStyle before drawing the shadow
* BorderStyles – add ASDoc comment
* ApplicationBackground – remove flex 4 code. This class is only used with the Halo theme.
* Set DateField cornerRadius to 0 in framework defaults.css

QE notes: None
Doc notes: None
Bugs: SDK-23249, SDK-23144, SDK-23243, SDK-22551, SDK-21234
Reviewer: Kevin, Jason
Tests run: checkintests
Is noteworthy for integration: Yes - SkinnableContainer/SkinnableDataContainer now support backgroundColor/backgroundAlpha styles.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ApplicationBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SkinnableContainerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/BorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Border.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SkinnableDataContainerSkin.mxml</path>

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

--- frameworks/projects/mx/src/mx/skins/halo/ApplicationBackground.as
+++ frameworks/projects/mx/src/mx/skins/halo/ApplicationBackground.as
@@ -105,18 +105,8 @@

 			fillColors = [];

-            // Starting in Flex 4, the background color is a solid instead of
-            // a gradient.
-            if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_4_0)
-            {
-                fillColors[0] = bgColor;
-                fillColors[1] = bgColor;
-            }
-            else
-            {
-                fillColors[0] = ColorUtil.adjustBrightness(bgColor, 15);
-                fillColors[1] = ColorUtil.adjustBrightness(bgColor, -25);
-            }
+            fillColors[0] = ColorUtil.adjustBrightness(bgColor, 15);
+            fillColors[1] = ColorUtil.adjustBrightness(bgColor, -25);
 		}

 		if (!fillAlphas)


fixed warnings and organized imports

fixed warnings and organized imports

--- WeaveData/src/weave/data/DataSources/CensusDataSource.as
+++ WeaveData/src/weave/data/DataSources/CensusDataSource.as
@@ -15,34 +15,23 @@

 package weave.data.DataSources
 {
-    import flash.net.URLRequest;
+    import mx.rpc.events.FaultEvent;

-    import mx.rpc.events.FaultEvent;
-    import mx.rpc.events.ResultEvent;
-
-    import weave.compiler.StandardLib;
-    import weave.compiler.Compiler;
-    import WeaveAPI;
     import weave.api.data.ColumnMetadata;
-    import weave.api.data.DataType;
-    import weave.api.data.IAttributeColumn;
-    import weave.api.data.IColumnReference;
     import weave.api.data.IDataSource;
     import weave.api.data.IDataSource_Service;
     import weave.api.data.IWeaveTreeNode;
     import weave.api.newLinkableChild;
     import weave.api.registerLinkableChild;
     import weave.api.reportError;
+    import weave.compiler.Compiler;
+    import weave.compiler.StandardLib;
     import weave.core.LinkableString;
     import weave.data.AttributeColumns.ProxyColumn;
     import weave.data.hierarchy.ColumnTreeNode;
-    import weave.primitives.Dictionary2D;
     import weave.services.JsonCache;
-    import weave.services.addAsyncResponder;
     import weave.utils.DataSourceUtils;
-    import weave.utils.DebugUtils;
     import weave.utils.VectorUtils;
-    import weave.core.CallbackCollection;

     public class CensusDataSource extends AbstractDataSource implements IDataSource_Service
     {
@@ -186,9 +175,10 @@
 					jsonCache.getJsonObject(data[VARIABLES_LINK], function(result:Object):void
 						{
 							data.cache = result;
+							var key:String;
 							var concepts:Object = {};
 							/* Build a hierarchy out of 'concepts', roughly speaking, tables. */
-							for (var key:String in result.variables)
+							for (key in result.variables)
 							{
 								if (key == "for" || key == "in") continue;
 								var column:Object = result.variables[key];
@@ -208,7 +198,7 @@
 								concepts[concept_name][key] = metadata;
 							}

-							for (var key:String in concepts)
+							for (key in concepts)
 							{
 								children.push(createConceptNode({
 									variables: concepts[key],
@@ -321,13 +311,14 @@

         	jsonCache.getJsonObject(getUrl(web_service, params), function(result:Object):void
         	{
+				var idx:int;
         		var columns:Array = result[0] as Array;
         		var rows:Array = result as Array;
         		var data_column:Array = new Array(rows.length - 1);
         		var key_column:Array = new Array(rows.length - 1);
         		var key_column_indices:Array = new Array(columns.length);
         		var data_column_index:int = columns.indexOf(variable_name);
-        		for (var idx:int = 0; idx < key_column_names.length; idx++)
+        		for (idx = 0; idx < key_column_names.length; idx++)
         		{
         			key_column_indices[idx] = columns.indexOf(key_column_names[idx]);
         		}
@@ -336,7 +327,7 @@
         			var row:Array = rows[row_idx+1];
         			var key_values:Array = new Array(key_column_indices.length);

-        			for (var idx:int = 0; idx < key_column_indices.length; idx++)
+        			for (idx = 0; idx < key_column_indices.length; idx++)
         			{
         				key_values[idx] = row[key_column_indices[idx]];
         			}


Transferred from the Adobe Open Source Subversion Repository

Revision: 18259
Author:   deeptika@adobe.com
Date:     2010-10-21T09:02:19.811454Z

Log Message:
-----------
Automation support for item-editing, column resize and header clicks in spark DG
(New xml should be taken from changelist 290001 in perforce)

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/tabularData/SparkDataGridTabularData.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/skins/spark/SparkUITextFieldGridItemRendererAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/manifest_automation_spark.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkComboBoxAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/AutomationSparkClasses.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/skins/spark/SparkDefaultGridHeaderRendererAutomationImpl.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/gridClasses</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/SparkRichEditableTextAutomationHelper.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkDropDownListBaseAutomationImpl.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/gridClasses/SparkGridItemRendererAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkDataGridAutomationImpl.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1252222 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
@@ -0,0 +1,49 @@
+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);
+		}
+	}
+}


The compiler now returns textures in a vector of the right size

--- src/aerys/minko/render/shader/compiler/graph/visitors/AllocationVisitor.as
+++ src/aerys/minko/render/shader/compiler/graph/visitors/AllocationVisitor.as
@@ -149,7 +149,7 @@
 			_paramBindings				= new Object();
 			_vertexComponents			= new Vector.<VertexComponent>();
 			_vertexIndices				= new Vector.<uint>();
-			_textures					= new Vector.<ITextureResource>(8, true);
+			_textures					= new Vector.<ITextureResource>();
 		}

 		override public function process(shaderGraph : ShaderGraph) : void
@@ -590,6 +590,7 @@
 		override protected function visitBindableSampler(bindableSampler : BindableSampler, isVertexShader : Boolean) : void
 		{
 			_samplers.push(bindableSampler);
+			_textures[_samplers.length - 1] = null;
 			insertNewBinder(new TextureBinder(bindableSampler.bindingName, _samplers.length - 1));
 		}


Fixed name of one timer label.

Fixed name of one timer label.

--- as3_lib/src/recastnavigation/recast/enum/RCTimerLabel.as
+++ as3_lib/src/recastnavigation/recast/enum/RCTimerLabel.as
@@ -90,7 +90,7 @@
 		public static const RC_TIMER_MERGE_POLYMESHDETAIL:int = 27;

 		/** The maximum number of timers.  (Used for iterating timers.) */
-		public static const RC_TIMER_:int = 28;
+		public static const RC_MAX_TIMERS:int = 28;

 	}


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 12943
Author:   gosmith@adobe.com
Date:     2009-12-15T04:57:18.720091Z

Log Message:
-----------
Dealt with my FIXMEs, except for one involving Label truncation which I reassigned to Carol to assess.

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

Modified Paths:
--------------
<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/mx/core/FTETextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>

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

--- frameworks/projects/spark/src/mx/core/FTETextField.as
+++ frameworks/projects/spark/src/mx/core/FTETextField.as
@@ -3554,8 +3554,6 @@
      */
     private static const textFieldToTLFStyleMap:Object =
 	{
-        // FIXME (gosmith): when mapping leading to lineHeight does this need
-        // the same adjustment as FTETextFieldHostFormat.lineHeight?
         "leading": "lineHeight",
         "letterSpacing": "trackingRight",
         "marginLeft": "paragraphStartIndent",


Transferred from the Adobe Open Source Subversion Repository

Revision: 3999
Author:   hmuller@adobe.com
Date:     2008-11-03T21:38:41.905909Z

Log Message:
-----------
Fixed an ASDoc typo in IViewport.as

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/IViewport.as

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

--- frameworks/projects/spark/src/spark/core/IViewport.as
+++ frameworks/projects/spark/src/spark/core/IViewport.as
@@ -83,13 +83,13 @@

     /**
      *  Returns the amount one would have to add to the viewport's current
-     *  verticalScrollPosition to scroll by the requested "scrolling" unit.
+     *  horizontalScrollPosition to scroll by the requested "scrolling" unit.
      *
      *  The value of unit must be one of the following mx.core.ScrollUnit
-     *  constants: UP, DOWN, PAGE_UP, PAGE_DOWN, HOME, END.
+     *  constants: LEFT, RIGHT, PAGE_LEFT, PAGE_RIGHT, HOME, END.
      *
-     *  To scroll by a single row use UP or DOWN and to scroll to the
-     *  first or last row, use HOME or END.
+     *  To scroll by a single column use LEFT or RIGHT and to scroll to the
+     *  first or last column, use HOME or END.
      *
      *  @see ScrollUnit
      */
@@ -100,10 +100,10 @@
      *  verticalScrollPosition to scroll by the requested "scrolling" unit.
      *
      *  The value of unit must be one of the following mx.core.ScrollUnit
-     *  constants: LEFT, RIGHT, PAGE_LEFT, PAGE_RIGHT, HOME, END.
+     *  constants: UP, DOWN, PAGE_UP, PAGE_DOWN, HOME, END.
      *
-     *  To scroll by a single column use LEFT or RIGHT and to scroll to the
-     *  first or last column, use HOME or END.
+     *  To scroll by a single row use UP or DOWN and to scroll to the
+     *  first or last row, use HOME or END.
      *
      *  @see ScrollUnit
      */


jitter actually works now

jitter actually works now


FLEX-33789 Fix issue with header code, spark data grid test pass.

--- frameworks/projects/spark/src/spark/components/gridClasses/GridHeaderViewLayout.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridHeaderViewLayout.as
@@ -604,7 +604,7 @@
         if (!gridColumnHeaderGroup || !grid)
             return null;

-        const columns:IList = columns;
+        const columns:IList = columnsView;
         const columnsLength:int = (columns) ? columns.length : 0;

         if (columnIndex >= columnsLength)
@@ -679,7 +679,7 @@

         // create a new renderer

-        const columns:IList = columns;
+        const columns:IList = columnsView;
         if (!columns || (columns.length <= columnIndex))
             return null;
         const column:GridColumn = columns.getItemAt(columnIndex) as GridColumn;
@@ -853,7 +853,7 @@
      */
     private function updateRendererHeights(inUpdateDisplayList:Boolean = false):void
     {
-        const columns:IList = this.columnsView;
+        const columns:IList = columnsView;
         rendererHeights.length = (columns) ? columns.length : 0;

         var newHeight:Number = 0;


Transferred from the Adobe Open Source Subversion Repository

Revision: 3031
Author:   chaase@adobe.com
Date:     2008-08-28T21:17:21.801208Z

Log Message:
-----------
Fixed SDK-16615, SDK-16576, SDK-16631, SDK-16635, TH-1507, SDK-16622. This is another round of Animation/effect changes. Some are API improvements (such as adding proper event dispatching to Animate), most are fixes for various SDK and Thermo bugs that have been filed. Here's an explanation of the changes per file:

Animate.as: (sdk-16622)
All of the changes here are to add AnimationEvent dispatching to this class, similar to what we had in TweenEffect for TweenEvent. Note that we have a new event now, ANIMATION_REPEAT, and that ANIMATION_END only gets sent out once for each animation (instead of after each repetition, which is what the Flex3 effects did)

Animation.as: (sdk-16635)
We were noop'ing 0-duration animations. We now handle this correctly by sending out a START event, then send out UPDATE/END events with the final value

AnimateInstance.as:
These changes relate to two problems/fixes:
- Dispatching events correctly (sdk-16622)
- Handling styles correctly before effects are completely set up (sdk-16615)

MoveInstance.as: (sdk-16631)
We didn't handle the situation where the user supplied only one of left/right or one of bottom/top.

TintInstance.as: (sdk-16615)
We weren't correctly detecting that colors were not being set by the user, which messed up assumptions for transition from/to values

ColorInterpolator.as (sdk-16576)
Removed redundant line of code

Tint.as: (sdk-16615)
Fixes to support property coloring during transitions

Effect.as:
Removed trace() statements that crept in there in an earlier checkin

Reviewed by Glenn
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/TintInstance.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/flex/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Tint.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/MoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/interpolation/ColorInterpolator.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/AnimateColorInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/AnimateColorInstance.as
@@ -12,6 +12,8 @@
 {
 import flex.effects.PropertyValuesHolder;
 import flex.effects.interpolation.ColorInterpolator;
+
+import mx.styles.StyleManager;

 /**
  * The instance of the Tint effect, which animates a change in
@@ -53,14 +55,14 @@
         // The user may have supplied some combination of xFrom, xTo, and xBy.
         // If either xFrom or xTo is not explicitly defined, calculate its
         // value based on the other two values.
-        if (isNaN(colorFrom))
+        if (colorFrom == StyleManager.NOT_A_COLOR)
         {
             if (propertyChanges && propertyChanges.start[colorPropertyName] !== undefined)
                 colorFrom = propertyChanges.start[colorPropertyName];
             else
                 colorFrom = getCurrentValue(colorPropertyName);
         }
-        if (isNaN(colorTo))
+        if (colorTo == StyleManager.NOT_A_COLOR)
         {
             if (propertyChanges &&
                 propertyChanges.end[colorPropertyName] !== undefined)


Unwrap integers before assigning properties. God, I wish I could just
autotranslate at the network layer.

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

--- src/as/com/threerings/presents/dobj/AttributeChangedEvent.as
+++ src/as/com/threerings/presents/dobj/AttributeChangedEvent.as
@@ -3,6 +3,7 @@
 import com.threerings.io.ObjectInputStream;
 import com.threerings.io.ObjectOutputStream;

+import com.threerings.util.Integer;
 import com.threerings.util.StringBuilder;

 /**
@@ -44,7 +45,17 @@
         if (_oldValue === UNSET_OLD_ENTRY) {
             _oldValue = target[_name]; // fucking wack-ass language
         }
-        target[_name] = _value;
+
+        // possibly convert the value
+        var v :Object = _value;
+        if (v is Integer) {
+            v = (v as Integer).value
+
+        } else {
+            // TODO: more!
+        }
+
+        target[_name] = v;
         return true;
     }


Code tidy

Code tidy

--- swc/src/com/mesmotronic/ane/androidsupportv4/AndroidSupportV4.as
+++ swc/src/com/mesmotronic/ane/androidsupportv4/AndroidSupportV4.as
@@ -5,17 +5,21 @@

 	public class AndroidSupportV4
 	{
+		/* Public */
+
+		public static function get isSupported():Boolean
+		{
+			return !!context;
+		}
+
+		/* Private */
+
 		// Static initializer
 		{
 			init();
 		}

 		private static var context:ExtensionContext;
-
-		public static function get isSupported():Boolean
-		{
-			return !!context;
-		}

 		private static function init():void
 		{


Modified size of count columns of record summary datagrid.

--- collect-flex/collect-flex-client/src/main/flex/org/openforis/collect/ui/UIBuilder.as
+++ collect-flex/collect-flex-client/src/main/flex/org/openforis/collect/ui/UIBuilder.as
@@ -124,7 +124,7 @@
 				if(nodeDef is EntityDefinitionProxy) {
 					var entityDef:EntityDefinitionProxy = EntityDefinitionProxy(nodeDef);
 					if(entityDef.countInSummaryList) {
-						column = getGridColumn(Message.get("list.headerCount", [entityDef.getLabelText()]), "count" + position, 150,
+						column = getGridColumn(Message.get("list.headerCount", [entityDef.getLabelText()]), "count" + position, 80,
 							RecordSummaryDataGrid.recordSummariesCountEntityLabelFunction);
 						columns.addItem(column);
 						position ++;


time slider works again with deprecated xml hierarchy for csv file

--- WeaveData/src/weave/data/DataSources/CSVDataSource.as
+++ WeaveData/src/weave/data/DataSources/CSVDataSource.as
@@ -540,6 +540,12 @@
 							}
 						}
 					}
+					else if (attributeHierarchy.value)
+					{
+						var node:XML = HierarchyUtils.getFirstNodeContainingAttributes(attributeHierarchy.value.descendants(), HierarchyUtils.nodeFromMetadata(metadata));
+						if (node)
+							columnId = String(node.@[METADATA_COLUMN_NAME]) || String(node.@['name']);
+					}

 					// backwards compatibility
 					if (!columnId)


Added try/catch to handleXLSDownload().

Added try/catch to handleXLSDownload().

--- WeaveData/src/weave/data/DataSources/XLSDataSource.as
+++ WeaveData/src/weave/data/DataSources/XLSDataSource.as
@@ -80,11 +80,20 @@

 		// contains the parsed xls data
 		private var xlsSheetsArray:ArrayCollection = null;
-		private function loadXLSData(xlsSheetsArray:ArrayCollection):void
-		{
+
+		/**
+		 * Called when the XLS file is downloaded from the URL
+		 */
+		private function handleXLSDownload(event:ResultEvent, url:String):void
+		{
+			if (url != this.url.value)
+				return;
+
 			try
 			{
-				this.xlsSheetsArray = xlsSheetsArray;
+				var xls:ExcelFile = new ExcelFile();
+				xls.loadFromByteArray(ByteArray(event.result));
+				xlsSheetsArray = xls.sheets;
 				if (_attributeHierarchy.value == null && xlsSheetsArray.length > 0)
 				{
 					// loop through column names, adding indicators to hierarchy
@@ -99,26 +108,11 @@
 			}
 			catch (e:Error)
 			{
-				reportError(e);
+				reportError(e, "Unable to read Excel file.");
 			}
 		}

 		/**
-		 * handleXLSDownload
-		 * Called when the XLS file is downloaded from the URL
-		 */
-		private function handleXLSDownload(event:ResultEvent, url:String):void
-		{
-			if (url != this.url.value)
-				return;
-
-			var xls:ExcelFile = new ExcelFile();
-			xls.loadFromByteArray(ByteArray(event.result));
-			loadXLSData(xls.sheets);
-		}
-
-		/**
-		 * handleXLSDownloadError
 		 * Called when the XLS file fails to download from the URL
 		 */
 		private function handleXLSDownloadError(event:FaultEvent, url:String):void


Transferred from the Adobe Open Source Subversion Repository

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

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

most of these are user submitted patches! very cool.

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

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

--- frameworks/projects/mx/src/mx/controls/ToggleButtonBar.as
+++ frameworks/projects/mx/src/mx/controls/ToggleButtonBar.as
@@ -269,10 +269,11 @@
      *  @private.
      */
     override public function set selectedIndex(value:int):void
-    {
-        if (value == selectedIndex)
-            return;
-
+    {
+    	//#SDK-15690 - if the user has asked for -1 (no child selected) then we must preserve this
+		if (value == selectedIndex && value != -1)
+			return;
+
         // If the buttons have not been created yet, store the selectedIndex.
         if (numChildren == 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@1269712 13f79535-47bb-0310-9956-ffa450edef68

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

 package mx.skins.halo
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 19498
Author:   jasonsj@adobe.com
Date:     2010-12-21T02:16:56.447761Z

Log Message:
-----------
Initial mobile theme ButtonBar and iOS ActionBar Button skins.
Removed DiscouragedForProfile metadata from ButtonBar and HSlider.
Fixed line endings in FXG files.
Removed unnecessary winding="evenOdd" in FXG.

QE notes: Use styleName="ios" in ActionBar buttons in navigationContent and actionContent.
Doc notes:
Bugs:
Reviewer: jszeto
Tests run: checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
106 paths were modified

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

--- frameworks/projects/spark/src/spark/components/HSlider.as
+++ frameworks/projects/spark/src/spark/components/HSlider.as
@@ -32,14 +32,6 @@
 [IconFile("HSlider.png")]

 [DefaultTriggerEvent("change")]
-
-/**
- * Because this component does not define a skin for the mobile theme, Adobe
- * recommends that you not use it in a mobile application. Alternatively, you
- * can define your own mobile skin for the component. For more information,
- * see Spark Skinning.
- */
-[DiscouragedForProfile("mobileDevice")]

 /**
  *  The HSlider (horizontal slider) control lets users select a value


Transferred from the Adobe Open Source Subversion Repository

Revision: 7929
Author:   hmuller@adobe.com
Date:     2009-06-17T23:06:42.698986Z

Log Message:
-----------
Range et al PARB changes, Opus #1.   In addition to the changes listed below, updated
flex4tests, notably ScrollBarFrenzy, for the new API.   These changes will break
performance test suite (TwoThumbSlider.as).

Range
  valueInterval => snapInterval
  step() => changeValueByStep()
  remove protected nearestValidSize() method

Slider
  Add protected pendingValue property
  Remove protected pointClickToPosition() method

TrackBase
  Add two new protected methods: updateSkinDisplayList(), pointToValue()
  Remove the following protected properties: get trackSize:Number, thumbSize:Number
  Remove the following protected methods:
      clickOffset()
      positionToValue()
      valueToPosition()
      pointToPosition()
      positionThumb()
      sizeThumb()
      calculateThumbSize()
      calculateNewValue()

ScrollBar
  page() => changeValueByPage()

Spinner
  valueWrap => allowValueWrap

NumericStepper
  displayFormatFunction => valueFormatFunction
  extractValueFunction => valueParseFunction
  commitTextInput => make private

QE Notes: Most Mustella tests passed after the protected API changes but prior to the renames.
Doc Notes:
Bugs:
Reviewer: Jason, Chet

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Range.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TrackBase.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/flex4/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/mediaClasses/ScrubBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/VideoPlayerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/VideoPlayerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/SkinTest.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/testWheel.mxml</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/flex4/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VScrollBar.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/flex4/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/ScrollbarFrenzy.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/flex4test.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/components/CircularScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/skins/CircularScrollBarSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/Spinner.as
+++ frameworks/projects/spark/src/spark/components/Spinner.as
@@ -88,8 +88,8 @@
  *
  *
The scale of an Spinner component is the set of
  *  allowed values for the value property.
- *  The allowed values are the multiples of
- *  the valueInterval property between
+ *  The allowed values are the integer multiples of
+ *  the snapInterval property between
  *  the maximum and minimum values,
  *  including the maximum and minimum values.
  *  For example:

@@ -97,10 +97,10 @@
  *

  *
minimum = -1

  *
maximum = 10

- *
valueInterval = 3

+ *
snapInterval = 3

  *

  *
- *  Therefore the scale is {-1,3,6,9,10}.
+ *  Therefore the scale is {-1,0,3,6,9,10}.
  *
  *  @see mx.components.NumericStepper
  *
@@ -175,19 +175,19 @@
     //--------------------------------------------------------------------------

     //----------------------------------
-    //  valueWrap
+    //  allowValueWrap
     //----------------------------------

     /**
      *  @private
      */
-    private var _valueWrap:Boolean = false;
+    private var _allowValueWrap:Boolean = false;

     /**
      *  Determines the behavior of the control for a step when the current
      *  value is either the maximum
      *  or minimum value.
-     *  If valueWrap is true, then the
+     *  If allowValueWrap is true, then the
      *  value property wraps from the maximum
      *  to the minimum value, or from
      *  the minimum to the maximum value.
@@ -199,14 +199,14 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function get valueWrap():Boolean
-    {
-        return _valueWrap;
-    }
-
-    public function set valueWrap(value:Boolean):void
-    {
-        _valueWrap = value;
+    public function get allowValueWrap():Boolean
+    {
+        return _allowValueWrap;
+    }
+
+    public function set allowValueWrap(value:Boolean):void
+    {
+        _allowValueWrap = value;
     }

     //--------------------------------------------------------------------------
@@ -270,19 +270,19 @@
     /**
      *  @private
      */
-    override public function step(increase:Boolean = true):void
-    {
-        if (valueWrap)
+    override public function changeValueByStep(increase:Boolean = true):void
+    {
+        if (allowValueWrap)
         {
             if (increase && (value == maximum))
                 value = minimum;
             else if (!increase && (value == minimum))
                 value = maximum;
             else
-                super.step(increase);
+                super.changeValueByStep(increase);
         }
         else
-            super.step(increase);
+            super.changeValueByStep(increase);
     }

     //--------------------------------------------------------------------------
@@ -304,7 +304,7 @@
     {
         var prevValue:Number = this.value;

-        step(true);
+        changeValueByStep(true);

         if (value != prevValue)
             dispatchEvent(new Event("change"));
@@ -319,7 +319,7 @@
     {
         var prevValue:Number = this.value;

-        step(false);
+        changeValueByStep(false);

         if (value != prevValue)
             dispatchEvent(new Event("change"));
@@ -333,6 +333,9 @@
      */
     override protected function keyDownHandler(event:KeyboardEvent):void
     {
+        if (event.isDefaultPrevented())
+            return;
+
         var prevValue:Number = this.value;
         var stopPropagation:Boolean = false;

@@ -341,7 +344,7 @@
             case Keyboard.DOWN:
             //case Keyboard.LEFT:
             {
-                step(false);
+                changeValueByStep(false);
                 stopPropagation = true;
                 break;
             }
@@ -349,7 +352,7 @@
             case Keyboard.UP:
             //case Keyboard.RIGHT:
             {
-                step(true);
+                changeValueByStep(true);
                 stopPropagation = true;
                 break;
             }
@@ -378,8 +381,16 @@
         if (value != prevValue)
             dispatchEvent(new Event("change"));

+        // Gumbo redispatches scrolling keyboard events with cancelable=true
+        // so typically we will preventDefault (read "cancel") here, rather
+        // than stopping dispatching.
         if (stopPropagation)
-            event.stopPropagation();
+        {
+            if (event.cancelable)
+                event.preventDefault();
+            else
+                event.stopPropagation();
+        }
     }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 11586
Author:   klin@adobe.com
Date:     2009-11-09T21:51:48.562271Z

Log Message:
-----------
Fix for Range-based components to behave like the MX Slider instead of the MX NumericStepper. Also, snapInterval now defaults to stepSize if snapInterval is not explicitly set. Various fixes for wireframe skins.

Range.as - Valid values are now increments of snapInterval starting from the minimum value, but are still constrained by the maximum. The maximum is still included in the range. For example, a Slider with min=1, max=10, and snapInterval=2 has a range of [1, 3, 5, 7, 9, 10]. I modified nearestValidValue() to take the minimum into account when calculating the nearest value. Also, added logic to have snapInterval default to stepSize if stepSize is explicitly set and snapInterval is not. Edited ASDocs to reflect these changes.

Spinner.as, NumericStepper.as - Edited ASDocs to reflect the Range changes.

CheckBoxSkin.mxml, RadioButtonSkin.mxml - Added focusSkinExclusions() for the labelDisplay.

HSliderSkin.mxml, VSliderSkin.mxml - Added dataTip.

QE notes: No
Doc notes: No
Bugs: SDK-23264, SDK-23602, SDK-23903, SDK-23907
Reviewer: Hans
Tests run: checkintests, Slider, NumericStepper, ScrollBar
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/CheckBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/VSliderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/HSliderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/RadioButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Range.as</path>

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

--- frameworks/projects/spark/src/spark/components/Spinner.as
+++ frameworks/projects/spark/src/spark/components/Spinner.as
@@ -136,10 +136,9 @@
  *
  *
The scale of an Spinner component is the set of
  *  allowed values for the value property.
- *  The allowed values are the integer multiples of
- *  the snapInterval property between
- *  the maximum and minimum values,
- *  including the maximum and minimum values.
+ *  The allowed values are the sum of the minimum with
+ *  integer multiples of the snapInterval property
+ *  which are less than or equal to the maximumvalue.
  *  For example:

  *
  *

@@ -148,7 +147,7 @@
  *
snapInterval = 3

  *

  *
- *  Therefore the scale is {-1,0,3,6,9,10}.
+ *  Therefore the scale is {-1,2,5,8,10}.
  *
  *
The Spinner control has the following default characteristics:

  *

@@ -503,16 +502,16 @@
     /**
      *  @private
      *  If the component is in focus,
-	 *  then it should respond to mouseWheel events.
-	 *  We listen to these events on systemManager in the capture phase
-	 *  because this behavior should have the highest priority.
+     *  then it should respond to mouseWheel events.
+     *  We listen to these events on systemManager in the capture phase
+     *  because this behavior should have the highest priority.
      */
     override protected function focusInHandler(event:FocusEvent):void
     {
         super.focusInHandler(event);

         systemManager.getSandboxRoot().addEventListener(
-			MouseEvent.MOUSE_WHEEL, system_mouseWheelHandler, true);
+            MouseEvent.MOUSE_WHEEL, system_mouseWheelHandler, true);
     }

     /**
@@ -523,14 +522,14 @@
         super.focusOutHandler(event);

         systemManager.getSandboxRoot().removeEventListener(
-			MouseEvent.MOUSE_WHEEL, system_mouseWheelHandler, true);
+            MouseEvent.MOUSE_WHEEL, system_mouseWheelHandler, true);
     }

     /**
      *  Handles the mouseWheel event
-	 *  when the component is in focus.
-	 *  The spinner is moved by the amount of the mouse event delta
-	 *  multiplied by the stepSize.
+     *  when the component is in focus.
+     *  The spinner is moved by the amount of the mouse event delta
+     *  multiplied by the stepSize.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/spark/src/spark/primitives/Ellipse.as
+++ frameworks/projects/spark/src/spark/primitives/Ellipse.as
@@ -9,7 +9,7 @@
 //
 ////////////////////////////////////////////////////////////////////////////////

-package mx.graphics
+package spark.primitives
 {

 import flash.events.EventDispatcher;
@@ -17,8 +17,8 @@
 import flash.geom.Rectangle;
 import flash.geom.Point;
 import flash.geom.Matrix;
-
 import mx.utils.MatrixUtil;
+import spark.primitives.supportClasses.FilledElement;

 /**
  *  The Ellipse class is a filled graphic element that draws an ellipse.