Transferred from the Adobe Open Source Subversion Repository

Revision: 22564
Author:   tkraikit@adobe.com
Date:     2011-09-14T19:50:07.656843Z

Log Message:
-----------
Update ASDoc "@productversion Flex 4.5.2" => "@productversion Flex 4.6"

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/collections/OnDemandDataProvider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/DateSpinnerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/graphics/BitmapScaleMode.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/ContentBackgroundAppearance.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/core/FlexVersion.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/ArrowDirection.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/globalization/supportClasses/FormatPattern.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/DefaultTransparentNavigationButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/core/ISoftKeyboardHintClient.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/CalloutArrow.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/CalloutButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutActionBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/calendarClasses/YearProvider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/calendarClasses/DateSelectorDisplayMode.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/ToggleSwitch.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/DefaultBeveledBackButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListScrollerSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/ScrollSnappingMode.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/StageTextSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/DefaultTransparentActionButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/StageTextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/SpinnerListContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/ToggleSwitchSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/calendarClasses/DateAndTimeProvider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListContainerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/CalloutPosition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreenImageSource.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/SkinnablePopUpContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/SplitViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/Callout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/StageTextInputSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/collections/NumericDataProvider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableStageText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreenImage.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/calendarClasses/DateSpinnerItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/SpinnerList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/globalization/supportClasses/CalendarDate.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/DefaultBeveledActionButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/SpinnerListItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/globalization/supportClasses/DateTimeFormatterEx.as</path>

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

--- frameworks/projects/spark/src/spark/collections/OnDemandDataProvider.as
+++ frameworks/projects/spark/src/spark/collections/OnDemandDataProvider.as
@@ -26,7 +26,7 @@
  *  @langversion 3.0
  *  @playerversion Flash 11
  *  @playerversion AIR 3
- *  @productversion Flex 4.5.2
+ *  @productversion Flex 4.6
  *
  *  @see
  */
@@ -44,7 +44,7 @@
      *  @langversion 3.0
      *  @playerversion Flash 11
      *  @playerversion AIR 3
-     *  @productversion Flex 4.5.2
+     *  @productversion Flex 4.6
      */
     public function OnDemandDataProvider()
     {
@@ -79,7 +79,7 @@
      *  @langversion 3.0
      *  @playerversion Flash 11
      *  @playerversion AIR 3
-     *  @productversion Flex 4.5.2
+     *  @productversion Flex 4.6
      */
     public function get length():int
     {
@@ -101,7 +101,7 @@
      *  @langversion 3.0
      *  @playerversion Flash 11
      *  @playerversion AIR 3
-     *  @productversion Flex 4.5.2
+     *  @productversion Flex 4.6
      */
     public function addItem(item:Object):void
     {
@@ -116,7 +116,7 @@
      *  @langversion 3.0
      *  @playerversion Flash 11
      *  @playerversion AIR 3
-     *  @productversion Flex 4.5.2
+     *  @productversion Flex 4.6
      */
     public function addItemAt(item:Object, index:int):void
     {
@@ -131,7 +131,7 @@
      *  @langversion 3.0
      *  @playerversion Flash 11
      *  @playerversion AIR 3
-     *  @productversion Flex 4.5.2
+     *  @productversion Flex 4.6
      */
     public function getItemAt(index:int, prefetch:int=0):Object
     {
@@ -147,7 +147,7 @@
      *  @langversion 3.0
      *  @playerversion Flash 11
      *  @playerversion AIR 3
-     *  @productversion Flex 4.5.2
+     *  @productversion Flex 4.6
      */
     public function getItemIndex(item:Object):int
     {
@@ -163,7 +163,7 @@
      *  @langversion 3.0
      *  @playerversion Flash 11
      *  @playerversion AIR 3
-     *  @productversion Flex 4.5.2
+     *  @productversion Flex 4.6
      */
     public function itemUpdated(item:Object, property:Object=null, oldValue:Object=null, newValue:Object=null):void
     {
@@ -178,7 +178,7 @@
      *  @langversion 3.0
      *  @playerversion Flash 11
      *  @playerversion AIR 3
-     *  @productversion Flex 4.5.2
+     *  @productversion Flex 4.6
      */
     public function removeAll():void
     {
@@ -193,7 +193,7 @@
      *  @langversion 3.0
      *  @playerversion Flash 11
      *  @playerversion AIR 3
-     *  @productversion Flex 4.5.2
+     *  @productversion Flex 4.6
      */
     public function removeItemAt(index:int):Object
     {
@@ -209,7 +209,7 @@
      *  @langversion 3.0
      *  @playerversion Flash 11
      *  @playerversion AIR 3
-     *  @productversion Flex 4.5.2
+     *  @productversion Flex 4.6
      */
     public function setItemAt(item:Object, index:int):Object
     {
@@ -225,7 +225,7 @@
      *  @langversion 3.0
      *  @playerversion Flash 11
      *  @playerversion AIR 3
-     *  @productversion Flex 4.5.2
+     *  @productversion Flex 4.6
      */
     public function toArray():Array
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17997
Author:   jszeto@adobe.com
Date:     2010-10-01T23:51:16.437475Z

Log Message:
-----------
ViewMenu appearance and layout update

Changed ViewMenuItem appearance
ViewMenuItem now subclasses ButtonSkin and uses fxg files for the three states
Changed ViewMenuSkin appearance
Implemented a new brick style layout for ViewMenuLayout

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/mobilecomponents/src/spark/layouts/ViewMenuLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuItemSkin.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/ViewMenuItem_showsCaret.fxg</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/ViewMenuItem_up.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/ViewMenuItem_down.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewMenu.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileApplicationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/layouts/ViewMenuLayout.as
+++ frameworks/projects/mobilecomponents/src/spark/layouts/ViewMenuLayout.as
@@ -11,78 +11,259 @@

 package spark.layouts
 {
-import flash.display.DisplayObject;
-import flash.display.Graphics;
-
 import mx.core.IVisualElement;

-import spark.components.ViewMenu;
-import spark.components.Group;
 import spark.components.supportClasses.GroupBase;
-import spark.layouts.TileLayout;
+import spark.core.NavigationUnit;
+import spark.layouts.supportClasses.LayoutBase;

-/**
- *  ViewMenuLayout is a specialized TileLayout for ViewMenu.
- */
-public class ViewMenuLayout extends TileLayout
+public class ViewMenuLayout extends LayoutBase
 {
-    /**
-     *  Constructor
-     */
     public function ViewMenuLayout()
     {
         super();
     }

-    private var _maxColumnCount:int = -1;
-
-    /**
-     *  @private
-     */
-    override public function set requestedColumnCount(value:int):void
-    {
-        _maxColumnCount = value;
-        super.requestedColumnCount = value;
-
-        if (target)
-            target.invalidateDisplayList();
-    }
-
-    /**
-     *  @private
-     */
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    private var _horizontalGap:Number = 2;
+
+    [Bindable("propertyChange")]
+    [Inspectable(category="General")]
+
+    /**
+     *  Horizontal space between columns, in pixels.
+     *
+     *  @see #verticalGap
+     *  @default 2
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public function get horizontalGap():Number
+    {
+        return _horizontalGap;
+    }
+
+    /**
+     *  @private
+     */
+    public function set horizontalGap(value:Number):void
+    {
+        if (value == _horizontalGap)
+            return;
+
+        _horizontalGap = value;
+        invalidateTargetSizeAndDisplayList();
+    }
+
+    private var _verticalGap:Number = 2;
+
+    [Bindable("propertyChange")]
+    [Inspectable(category="General")]
+
+    /**
+     *  Vertical space between rows, in pixels.
+     *
+     *  @see #horizontalGap
+     *  @default 2
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public function get verticalGap():Number
+    {
+        return _verticalGap;
+    }
+
+    /**
+     *  @private
+     */
+    public function set verticalGap(value:Number):void
+    {
+        if (value == _verticalGap)
+            return;
+
+        _verticalGap = value;
+        invalidateTargetSizeAndDisplayList();
+    }
+
+    private var _requestedMaxColumnCount:int = 3;
+
+    /**
+     *  Maximumn number of columns to display per row.
+     *
+     *  @default 3
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function get requestedMaxColumnCount():int
+    {
+        return _requestedMaxColumnCount;
+    }
+
+    public function set requestedMaxColumnCount(value:int):void
+    {
+        if (_requestedMaxColumnCount == value)
+            return;
+
+        _requestedMaxColumnCount = value;
+        target.invalidateSize();
+        target.invalidateDisplayList();
+    }
+
+    private var rowHeight:Number = 0;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden Methods
+    //
+    //--------------------------------------------------------------------------
+
+    // TODO (jszeto) Fix up logic to use brick algorithm. Might not have full number of columns
     override public function measure():void
     {
+        super.measure();
+
         var layoutTarget:GroupBase = target;
         if (!layoutTarget)
             return;

         var numItems:int = layoutTarget.numElements;
-
-        var numRows:int = Math.ceil(numItems / _maxColumnCount);
+        var numRows:int = Math.ceil(numItems / requestedMaxColumnCount);
         var numColumns:int = Math.ceil(numItems / numRows);

-        requestedRowCount = numRows;
-        super.requestedColumnCount = numColumns;
-
-        super.measure();
-    }
-
-    /**
-     *  @private
-     */
-    override public function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
-    {
-        var newColumnWidth:Number = (unscaledWidth - (horizontalGap * (requestedColumnCount-1))) / requestedColumnCount;
-
-        // If the column width has changed, make sure to clear the tile size cache
-        if (newColumnWidth != columnWidth)
+        var maxItemWidth:Number = 0;
+        var maxItemHeight:Number = 0;
+
+        for (var i:int = 0; i < numItems; i++)
         {
-            columnWidth = newColumnWidth;
-            clearVirtualLayoutCache();
+            var item:IVisualElement = layoutTarget.getElementAt(i);
+            maxItemWidth = Math.max(maxItemWidth, item.getPreferredBoundsWidth());
+            maxItemHeight = Math.max(maxItemHeight, item.getPreferredBoundsHeight());
         }

-        super.updateDisplayList(unscaledWidth, unscaledHeight);
+        layoutTarget.measuredWidth = Math.ceil(maxItemWidth * numColumns) + (numColumns - 1) * horizontalGap;
+        layoutTarget.measuredHeight = Math.ceil(maxItemHeight * numRows) + (numRows - 1) * verticalGap;
+
+        // Save the maxItemHeight and use in updateDisplayList as the height for all items
+        rowHeight = maxItemHeight;
+
+    }
+
+
+    override public function updateDisplayList(width:Number, height:Number):void
+    {
+        super.updateDisplayList(width, height);
+
+        var layoutTarget:GroupBase = target;
+        if (!layoutTarget)
+            return;
+
+        var xPos:Number = 0;
+        var yPos:Number = 0;
+        var itemIndex:int = 0;
+        var itemW:int = 0;
+        var extraWidth:int = 0;
+
+        var numItems:int = layoutTarget.numElements;
+        var numRows:int = Math.ceil(numItems / requestedMaxColumnCount);
+        var numColumns:int = Math.ceil(numItems / numRows);
+        // Calculate the number of empty spots by getting the inverse of the column mod
+        var emptySpots:int = (numItems % numColumns) > 0 ? numColumns - numItems % numColumns : 0;
+        // Figure out whether the first row has more or fewer items. Default is fewer.
+        var useMaxColumns:Boolean = (numRows % 2 == 1) ? Math.floor(numRows / 2) == emptySpots: false;
+
+        for (var rowIndex:int = 0; rowIndex < numRows; rowIndex++)
+        {
+            var currentRowColumns:int = (emptySpots > 0) && !useMaxColumns ? numColumns - 1 : numColumns;
+            var viewWidth:Number = width - (currentRowColumns - 1) * horizontalGap;
+            var w:Number = itemW = Math.floor(viewWidth / currentRowColumns);
+            // Keep track of the extra pixels since we round off the item widths
+            extraWidth = Math.round(viewWidth - w * currentRowColumns);
+
+            for (var colIndex:int = 0; colIndex < currentRowColumns; itemIndex++, colIndex++)
+            {
+                var item:IVisualElement = layoutTarget.getElementAt(itemIndex);
+
+                // Add a pixel of extra width to the first item
+                if (extraWidth > 0)
+                {
+                    itemW += 1;
+                    extraWidth--;
+                }
+
+                item.setLayoutBoundsPosition(xPos, yPos);
+                item.setLayoutBoundsSize(itemW, rowHeight);
+
+                xPos += itemW + horizontalGap;
+                itemW = w;
+            }
+
+            xPos = 0;
+            yPos += rowHeight + verticalGap;
+
+            numItems -= currentRowColumns;
+            useMaxColumns = !useMaxColumns;
+
+            emptySpots = (numItems % numColumns) > 0 ? numColumns - numItems % numColumns : 0;
+        }
+    }
+
+    override public function getNavigationDestinationIndex(currentIndex:int, navigationUnit:uint, arrowKeysWrapFocus:Boolean):int
+    {
+        // TODO (jszeto) Currently we just support LEFT/RIGHT. Need to add logic for UP/DOWN/PGUP/PGDN
+        if (!target || target.numElements < 1)
+            return -1;
+
+        var maxIndex:int = target.numElements - 1;
+        var newIndex:int;
+
+        if (currentIndex == -1)
+        {
+            if (navigationUnit == NavigationUnit.LEFT)
+                return maxIndex;
+            else if (navigationUnit == NavigationUnit.RIGHT)
+                return 0;
+        }
+
+        if (navigationUnit == NavigationUnit.LEFT)
+            newIndex = currentIndex - 1;
+        else if (navigationUnit == NavigationUnit.RIGHT)
+            newIndex = currentIndex + 1;
+        else
+            return currentIndex;
+
+        if (newIndex > maxIndex)
+            newIndex = 0;
+        else if (newIndex < 0)
+            newIndex = maxIndex;
+
+        return newIndex;
+    }
+
+    // Helper function
+    private function invalidateTargetSizeAndDisplayList():void
+    {
+        var g:GroupBase = target;
+        if (!g)
+            return;
+
+        g.invalidateSize();
+        g.invalidateDisplayList();
     }
 }
+
+
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 19111
Author:   hmuller@adobe.com
Date:     2010-12-07T20:43:25.708042Z

Log Message:
-----------
Removed the IGridItemRendererOwner interface since it wasn't used.

Added or @privatized missing ASDoc in: DataGridSkin, DefaultGridHeaderRenderer, DefaultGridItemRenderer (TextFieldGridItemRendererInclude.as), UITexFieldGridItemRenderer (TextFieldGridItemRendererInclude.as), GridColumnHeaderGroup

QE notes:
Doc notes:
Bugs: SDK-28575, SDK-28574
Reviewer:
Tests run: checkin, mustella
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.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/GridColumnHeaderGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/TextFieldGridItemRendererInclude.as</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>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/IGridItemRendererOwner.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
@@ -1206,14 +1206,8 @@
             gridRenderer.data = dataItem;

             if (grid.dataGrid)
-                grid.dataGrid.prepareItemRenderer(gridRenderer, true);
-        }
-    }
-
-    private function uninitializeItemRenderer(renderer:IGridItemRenderer):void
-    {
-        if (grid.dataGrid)
-            grid.dataGrid.discardItemRenderer(renderer, true);
+                renderer.owner = grid.dataGrid;
+        }
     }

     private function freeItemRenderer(renderer:IGridItemRenderer):void
@@ -1221,9 +1215,7 @@
         if (!renderer)
             return;

-        const addedToFreeList:Boolean = freeGridElement(renderer);
-        if (addedToFreeList)
-            uninitializeItemRenderer(renderer);
+        freeGridElement(renderer);
     }

     private function freeItemRenderers(renderers:Vector.<IGridItemRenderer>):void


Made the map work with null as a key.
(Dictionary supports null keys, so we merely call null a 'simple' key.)

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

--- src/as/com/threerings/util/HashMap.as
+++ src/as/com/threerings/util/HashMap.as
@@ -313,7 +313,7 @@
      */
     protected function isSimple (key :Object) :Boolean
     {
-        return (key is String) || (key is Number) || (key is Boolean);
+        return (key == null) || (key is String) || (key is Number) || (key is Boolean);
     }

     /**


Changed BitmapElement not to invalidate itself after a bitmap change anymore. Instead, validateAfterChildren is called, reflowing the parent if needed.

--- src/reprise/controls/BitmapElement.as
+++ src/reprise/controls/BitmapElement.as
@@ -61,19 +61,22 @@

 		protected function createBitmapDisplay(bmpData : BitmapData) : void
 		{
+			var oldWidth : int;
+			var oldHeight : int;
+
 			!m_lowerContentDisplay && createLowerContentDisplay();
-			if (!m_firstDraw)
-			{
-				m_imageDisplayed = false;
-				m_lowerContentDisplay.visible = false;
-			}
 			if (m_image && m_image.parent)
 			{
+				oldWidth = m_image.width;
+				oldHeight = m_image.height;
 				m_image.parent.removeChild(m_image);
 			}
 			m_image = new Bitmap(bmpData, 'auto', m_smoothing);
 			m_lowerContentDisplay.addChild(m_image);
-			invalidate();
+			if (!m_firstDraw)
+			{
+				validateAfterChildren();
+			}
 		}

 		override protected function applyInFlowChildPositions() : void


Updated ignore description

Updated ignore description

--- asunit-4.0/test/asunit/framework/AsyncTest.as
+++ asunit-4.0/test/asunit/framework/AsyncTest.as
@@ -66,7 +66,7 @@
             assertEquals("event type", TimeoutCommandEvent.CALLED, e.type);
         }

-        [Ignore(description="Async failure, need to make time to resolve this")]
+        [Ignore(description="Async failure, but I'm no longer convinced that there is any value in this test case. Do we care if the TimeoutCommand can throw events? So long as we verify our failure state from the runner?")]
         [Test]
         public function addAsyncShouldSendErrorEventIfDelegateNotCalledInTime():void {


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

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

 package mx.automation.codec
 {


Revert "FLEX-34078 fix callouts closing when selecting dates in DateFields"

This reverts commit 080f5e64d5718d76c51ecf6b07552b8bfc1b112e.

--- frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as
@@ -38,7 +38,6 @@

 import spark.components.DropDownList;
 import spark.events.DropDownEvent;
-import mx.controls.CalendarLayout;

 use namespace mx_internal;

@@ -614,8 +613,6 @@
                 var document:Object = (target as IUIComponent).document;
                 if (("hostComponent" in document) && document.hostComponent is DropDownList)
 			        return;
-				 if (target.parent is CalendarLayout)
-			        return;
             }

             if (hitAreaAdditions != null)


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

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

 package spark.validators.supportClasses
 {


Arrange methods closer to usage.

Arrange methods closer to usage.

--- src/com/esri/builder/controllers/supportClasses/WidgetTypeLoader.as
+++ src/com/esri/builder/controllers/supportClasses/WidgetTypeLoader.as
@@ -88,27 +88,6 @@
         }
     }

-    private function loadConfigModule():void
-    {
-        if (Log.isInfo())
-        {
-            LOG.info('Loading XML module: {0}', config.url);
-        }
-
-        var moduleConfig:XML = readModuleConfig(config);
-        if (moduleConfig)
-        {
-            var customWidgetType:CustomWidgetType = parseCustomWidgetType(moduleConfig);
-            if (customWidgetType)
-            {
-                dispatchComplete(customWidgetType);
-                return;
-            }
-        }
-
-        dispatchError();
-    }
-
     private function loadModule():void
     {
         if (Log.isInfo())
@@ -149,6 +128,24 @@
         }
     }

+    private function moduleInfo_unloadHandler(event:ModuleEvent):void
+    {
+        if (Log.isInfo())
+        {
+            LOG.info('Module unloaded: {0}', swf.url);
+        }
+
+        var moduleInfo:IModuleInfo = event.module;
+        moduleInfo.removeEventListener(ModuleEvent.UNLOAD, moduleInfo_unloadHandler);
+        var moduleInfoIndex:int = loadedModuleInfos.indexOf(moduleInfo);
+        if (moduleInfoIndex > -1)
+        {
+            loadedModuleInfos.splice(moduleInfoIndex, 1);
+        }
+        this.moduleInfo = null;
+        FlexGlobals.topLevelApplication.callLater(loadModule);
+    }
+
     private function moduleInfo_progressHandler(event:ModuleEvent):void
     {
         if (event.bytesLoaded == event.bytesTotal)
@@ -160,24 +157,6 @@
         }
     }

-    private function moduleInfo_unloadHandler(event:ModuleEvent):void
-    {
-        if (Log.isInfo())
-        {
-            LOG.info('Module unloaded: {0}', swf.url);
-        }
-
-        var moduleInfo:IModuleInfo = event.module;
-        moduleInfo.removeEventListener(ModuleEvent.UNLOAD, moduleInfo_unloadHandler);
-        var moduleInfoIndex:int = loadedModuleInfos.indexOf(moduleInfo);
-        if (moduleInfoIndex > -1)
-        {
-            loadedModuleInfos.splice(moduleInfoIndex, 1);
-        }
-        this.moduleInfo = null;
-        FlexGlobals.topLevelApplication.callLater(loadModule);
-    }
-
     private function processModuleInfo(moduleInfo:IModuleInfo):void
     {
         if (Log.isInfo())
@@ -209,16 +188,6 @@
         dispatchComplete(widgetType);
     }

-    private function dispatchComplete(widgetType:WidgetType):void
-    {
-        if (Log.isInfo())
-        {
-            LOG.info('Module load complete: {0}', name);
-        }
-
-        dispatchEvent(new WidgetTypeLoaderEvent(WidgetTypeLoaderEvent.LOAD_COMPLETE, widgetType));
-    }
-
     private function getWidgetType(moduleInfo:IModuleInfo, builderModule:IBuilderModule, moduleConfig:XML):WidgetType
     {
         var customModulesDirectoryURL:String = WellKnownDirectories.getInstance().customModules.url;
@@ -234,6 +203,56 @@
             new WidgetType(builderModule);
     }

+    private function dispatchComplete(widgetType:WidgetType):void
+    {
+        if (Log.isInfo())
+        {
+            LOG.info('Module load complete: {0}', name);
+        }
+
+        dispatchEvent(new WidgetTypeLoaderEvent(WidgetTypeLoaderEvent.LOAD_COMPLETE, widgetType));
+    }
+
+    private function moduleInfo_errorHandler(event:ModuleEvent):void
+    {
+        var moduleInfo:IModuleInfo = event.module;
+        moduleInfo.removeEventListener(ModuleEvent.PROGRESS, moduleInfo_progressHandler);
+        moduleInfo.removeEventListener(ModuleEvent.ERROR, moduleInfo_errorHandler);
+        this.moduleInfo = null;
+        dispatchError();
+    }
+
+    private function dispatchError():void
+    {
+        if (Log.isInfo())
+        {
+            LOG.info('Module load failed: {0}', name);
+        }
+
+        dispatchEvent(new WidgetTypeLoaderEvent(WidgetTypeLoaderEvent.LOAD_ERROR));
+    }
+
+    private function loadConfigModule():void
+    {
+        if (Log.isInfo())
+        {
+            LOG.info('Loading XML module: {0}', config.url);
+        }
+
+        var moduleConfig:XML = readModuleConfig(config);
+        if (moduleConfig)
+        {
+            var customWidgetType:CustomWidgetType = parseCustomWidgetType(moduleConfig);
+            if (customWidgetType)
+            {
+                dispatchComplete(customWidgetType);
+                return;
+            }
+        }
+
+        dispatchError();
+    }
+
     private function readModuleConfig(configFile:File):XML
     {
         var configXML:XML;
@@ -258,25 +277,6 @@
         }

         return configXML;
-    }
-
-    private function moduleInfo_errorHandler(event:ModuleEvent):void
-    {
-        var moduleInfo:IModuleInfo = event.module;
-        moduleInfo.removeEventListener(ModuleEvent.ERROR, moduleInfo_errorHandler);
-        moduleInfo.removeEventListener(ModuleEvent.PROGRESS, moduleInfo_progressHandler);
-        this.moduleInfo = null;
-        dispatchError();
-    }
-
-    private function dispatchError():void
-    {
-        if (Log.isInfo())
-        {
-            LOG.info('Module load failed: {0}', name);
-        }
-
-        dispatchEvent(new WidgetTypeLoaderEvent(WidgetTypeLoaderEvent.LOAD_ERROR));
     }

     private function parseCustomWidgetType(configXML:XML):CustomWidgetType


263 Whitespace

263 Whitespace

--- raw/src/org/yellcorp/lib/events/XMLParseErrorEvent.as
+++ raw/src/org/yellcorp/lib/events/XMLParseErrorEvent.as
@@ -9,7 +9,8 @@
  * Useful for classes that encapsulate Loaders, Sockets, etc.
  *
  */
-public class XMLParseErrorEvent extends ErrorEvent {
+public class XMLParseErrorEvent extends ErrorEvent
+{
     /**
      * Defines the value of the type property of an xmlParseError event object.
      *
@@ -19,27 +20,32 @@

     private var _data:String;

-    public function XMLParseErrorEvent(type:String,
-                                       bubbles:Boolean = false,
-                                       cancelable:Boolean = false,
-                                       text:String = "",
-                                       data:String = "") {
+    public function XMLParseErrorEvent(
+        type:String,
+        bubbles:Boolean = false,
+        cancelable:Boolean = false,
+        text:String = "",
+        data:String = "")
+    {
         super(type, bubbles, cancelable, text);
         _data = data;
     }

-    public override function clone():Event {
+    public override function clone():Event
+    {
         return new XMLParseErrorEvent(type, bubbles, cancelable, text, data);
     }

-    public override function toString():String {
+    public override function toString():String
+    {
         return formatToString("XMLParseErrorEvent", "type", "text");
     }

     /**
      * A copy of the data that failed XML parsing.
      */
-    public function get data():String {
+    public function get data():String
+    {
         return _data;
     }
 }


OFC-553 In record list, Error column should be shown first

--- 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
@@ -168,15 +168,14 @@
 					}
 				}
 			}
-
+			//errors count column
+			column = getGridColumn(Message.get("list.errors"), "errors", 80, RecordSummaryDataGrid.numberLabelFunction);
+			columns.addItem(column);
 			//skipped count column
 			column = getGridColumn(Message.get("list.skipped"), "skipped", 80, RecordSummaryDataGrid.numberLabelFunction);
 			columns.addItem(column);
 			//missing count column
 			column = getGridColumn(Message.get("list.missing"), "missing", 80, RecordSummaryDataGrid.numberLabelFunction);
-			columns.addItem(column);
-			//errors count column
-			column = getGridColumn(Message.get("list.errors"), "errors", 80, RecordSummaryDataGrid.numberLabelFunction);
 			columns.addItem(column);
 			//warnings count column
 			column = getGridColumn(Message.get("list.warnings"), "warnings", 80, RecordSummaryDataGrid.numberLabelFunction);


Transferred from the Adobe Open Source Subversion Repository

Revision: 16982
Author:   klin@adobe.com
Date:     2010-07-20T19:59:09.836731Z

Log Message:
-----------
The following changes apply to DataGrid only.

-Implemented syncing GridDimensions with the dataProvider.
-Made some methods public in GridRowList to allow syncing to be implemented
-Added height="100%" to the label of the GridItemRenderer. This forces the label to stay within the bounds of the cell.

QE notes: No
Doc notes: No
Bugs: SDK-26921
Reviewer: Hans
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/supportClasses/GridDimensions.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DataGridSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridRowList.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridRowList.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridRowList.as
@@ -199,7 +199,7 @@

         // This part can be optimized by a better search mechanism
         // Bookmarks, LRU node...etc...
-        var cur:GridRowNode = findNearest(index);
+        var cur:GridRowNode = findNearestLTE(index);
         if (cur && cur.rowIndex == index)
             return cur;

@@ -220,7 +220,7 @@
      *  Inserts a new node after the specified node. Returns
      *  the new node.
      */
-    private function insertAfter(node:GridRowNode, newNode:GridRowNode):void
+    public function insertAfter(node:GridRowNode, newNode:GridRowNode):void
     {
         newNode.prev = node;
         newNode.next = node.next;
@@ -237,7 +237,7 @@
      *  Inserts a new node after the specified node. Returns
      *  the new node.
      */
-    private function insertBefore(node:GridRowNode, newNode:GridRowNode):void
+    public function insertBefore(node:GridRowNode, newNode:GridRowNode):void
     {
         newNode.prev = node.prev;
         newNode.next = node;
@@ -360,7 +360,7 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function findNearest(index:int):GridRowNode
+    public function findNearestLTE(index:int):GridRowNode
     {
         // use bookmarks? or maybe a least recently used one.
         if (!_head || index < 0)
@@ -394,17 +394,17 @@
         else if (recentNode && temp < lastToIndex && temp < index)
         {
             if (indexToRecent > 0)
-                result = findNearestBefore(index, recentNode);
+                result = findNearestLTEBefore(index, recentNode);
             else
-                result = findNearestAfter(index, recentNode);
+                result = findNearestLTEAfter(index, recentNode);
         }
         else if (lastToIndex < index)
         {
-            result = findNearestBefore(index, _tail);
+            result = findNearestLTEBefore(index, _tail);
         }
         else
         {
-            result = findNearestAfter(index, _head);
+            result = findNearestLTEAfter(index, _head);
         }

         recentNode = result;
@@ -417,7 +417,7 @@
      *  Searches for the node with the closest value less than the specified
      *  index. Searches forwards from the specified node.
      */
-    private function findNearestAfter(index:int, node:GridRowNode):GridRowNode
+    private function findNearestLTEAfter(index:int, node:GridRowNode):GridRowNode
     {
         var cur:GridRowNode = node;
         while (cur && cur.rowIndex < index)
@@ -437,7 +437,7 @@
      *  Searches for the node with the closest value less than the specified
      *  index. Searches backwards from the specified node.
      */
-    private function findNearestBefore(index:int, node:GridRowNode):GridRowNode
+    private function findNearestLTEBefore(index:int, node:GridRowNode):GridRowNode
     {
         var cur:GridRowNode = node;
         while (cur && cur.rowIndex > index)
@@ -471,7 +471,7 @@
      *  @private
      *  Removes specified node.
      */
-    private function removeNode(node:GridRowNode):void
+    public function removeNode(node:GridRowNode):void
     {
         if (node.prev == null)
             _head = node.next;


Transferred from the Adobe Open Source Subversion Repository

Revision: 6443
Author:   rfrishbe@adobe.com
Date:     2009-04-30T22:46:07.257552Z

Log Message:
-----------
Renaming SkinnableComponent's loadSkin() and unloadSkin() skinning lifecycle methods to createSkin() and destroySkin() as no loading actually occurs here.

Also fixing up a few ASDoc bugs in the videoplayer stuff.  Also, checking in modifications to TrackBase, which was a file I missed yesterday when checking in.  The changes add 3 new events to TrackBase and clean it up so the setters don't do any extra work if it's being set to the same value as it was before.

QE Notes: -
Doc Notes: -
Bugs: SDK-19779
Reviewer: Jason
tests: checkintests, mustella SkinnableComponent tests

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/primitives/VideoElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayerScrubBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayerVolumeBarMuteButton.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/VideoPlayerVolumeBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>

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

--- frameworks/projects/spark/src/spark/components/mediaClasses/MuteButton.as
+++ frameworks/projects/spark/src/spark/components/mediaClasses/MuteButton.as
@@ -20,7 +20,7 @@
  *  The VideoPlayerVolumeBarMuteButton is a mute button
  *  to be used inside the VideoPlayerVolumeBar.  The VideoPlayer
  *  hooks it up so that when the button is clicked it'll
- *  mute/unmute the volume.  This button has a volume property
+ *  mute/unmute the volume.  This button has a value property
  *  so that the visuals of the button can change based on the
  *  volume.
  *
@@ -31,8 +31,8 @@
  */
 public class VideoPlayerVolumeBarMuteButton extends Button
 {
-
-	/**
+
+    /**
      *  Constructor.
      *
      *  @langversion 3.0
@@ -40,17 +40,17 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-	public function VideoPlayerVolumeBarMuteButton()
-	{
-		super();
-	}
-
-	//--------------------------------------------------------------------------
+    public function VideoPlayerVolumeBarMuteButton()
+    {
+        super();
+    }
+
+    //--------------------------------------------------------------------------
     //
     //  Properties
     //
     //--------------------------------------------------------------------------
-
+
     //----------------------------------
     //  value
     //----------------------------------


Added pixelPickingIncrement parameter to PickingController

--- src/aerys/minko/scene/controller/PickingController.as
+++ src/aerys/minko/scene/controller/PickingController.as
@@ -34,7 +34,6 @@

 		private static const PICKING_MAP			: BitmapData	= new BitmapData(1, 1, true, 0);
 		private static const SHADER					: Shader		= new PickingShader();
-		private static const ID_INCREMENT			: uint			= 1;

 		private static const EFFECT_USE_COUNTER		: Dictionary	= new Dictionary(true);

@@ -56,43 +55,45 @@
 		private static const EVENT_MIDDLE_DOWN		: uint 			= 1 << 14;
 		private static const EVENT_MIDDLE_UP		: uint 			= 1 << 15;

-        private var _technique          : uint;
-		private var _pickingRate		: Number;
-
-		private var _dispatchers		: Dictionary;
+        private var _technique          	: uint;
+		private var _pickingRate			: Number;
+
+		private var _dispatchers			: Dictionary;

-		private var _lastPickingTime	: uint;
-		private var _useHandCursor		: Boolean;
-
-		private var _toDispatch			: uint;
-		private var _sceneData			: DataProvider;
-		private var _meshData			: Dictionary;
-		private var _pickingIdToMesh	: Array;
-
-		private var _mouseX				: Number;
-		private var _mouseY				: Number;
-		private var _mouseWheelDelta	: Number;
-		private var _oldCursor			: String;
-
-		private var _currentMouseOver	: Mesh;
-		private var _lastMouseOver		: Mesh;
-
-		private var _mouseClick			: Signal;
-		private var _mouseDoubleClick	: Signal;
-		private var _mouseDown			: Signal;
-		private var _mouseMove			: Signal;
-		private var _mouseUp			: Signal;
-		private var _mouseWheel			: Signal;
-		private var _mouseRollOver		: Signal;
-		private var _mouseRollOut		: Signal;
-		private var _mouseRightClick	: Signal;
-		private var _mouseRightDown		: Signal;
-		private var _mouseRightUp		: Signal;
-		private var _mouseMiddleClick	: Signal;
-		private var _mouseMiddleDown	: Signal;
-		private var _mouseMiddleUp		: Signal;
-
-		private var _tag				: uint;
+		private var _lastPickingTime		: uint;
+		private var _useHandCursor			: Boolean;
+
+		private var _toDispatch				: uint;
+		private var _sceneData				: DataProvider;
+		private var _meshData				: Dictionary;
+		private var _pickingIdToMesh		: Array;
+
+		private var _mouseX					: Number;
+		private var _mouseY					: Number;
+		private var _mouseWheelDelta		: Number;
+		private var _oldCursor				: String;
+
+		private var _currentMouseOver		: Mesh;
+		private var _lastMouseOver			: Mesh;
+
+		private var _mouseClick				: Signal;
+		private var _mouseDoubleClick		: Signal;
+		private var _mouseDown				: Signal;
+		private var _mouseMove				: Signal;
+		private var _mouseUp				: Signal;
+		private var _mouseWheel				: Signal;
+		private var _mouseRollOver			: Signal;
+		private var _mouseRollOut			: Signal;
+		private var _mouseRightClick		: Signal;
+		private var _mouseRightDown			: Signal;
+		private var _mouseRightUp			: Signal;
+		private var _mouseMiddleClick		: Signal;
+		private var _mouseMiddleDown		: Signal;
+		private var _mouseMiddleUp			: Signal;
+
+		private var _tag					: uint;
+
+		private var _pixelPickingIncrement	: uint;

         public function get pickingRate() : Number
         {
@@ -182,15 +183,17 @@
 			return _mouseRollOut;
 		}

-		public function PickingController(pickingTechnique  : uint      = 1,
-                                          pickingRate       : Number    = 15.,
-										  tag				: uint		= 1)
+		public function PickingController(pickingTechnique  	: uint      = 1,
+                                          pickingRate       	: Number    = 15.,
+										  tag					: uint		= 1,
+										  pixelPickingIncrement	: uint		= 1)
 		{
             super();

-            _technique		= pickingTechnique;
-			_pickingRate	= pickingRate;
-			_tag			= tag;
+            _technique				= pickingTechnique;
+			_pickingRate			= pickingRate;
+			_tag					= tag;
+			_pixelPickingIncrement	= pixelPickingIncrement;

 			initialize();
 		}
@@ -574,7 +577,8 @@

 		private function addMesh(mesh : Mesh) : void
 		{
-			_pickingId += ID_INCREMENT;
+			_pickingId += _pixelPickingIncrement;
+			trace("PICKING ID", _pickingId.toString(16), mesh.name);
 			_pickingIdToMesh[_pickingId] = mesh;

 			var meshData : DataProvider = new DataProvider(


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

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

 package mx.containers.gridClasses
 {


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

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

 package spark.accessibility
 {


Change type of variable to enable toggleing print mode from the embedded html code.

--- asn_visualization/asn_visualization.as
+++ asn_visualization/asn_visualization.as
@@ -54,7 +54,7 @@
             addChild(_bar=new ProgressBar());
             _bar.bar.filters=[new DropShadowFilter(1)];

- 			var print_mode_setting:Boolean=root.loaderInfo.parameters.print_mode;
+ 			var print_mode_setting:int=root.loaderInfo.parameters.print_mode;

  			if (print_mode_setting)
  			{


Transferred from the Adobe Open Source Subversion Repository

Revision: 5099
Author:   gauravj@adobe.com
Date:     2009-02-27T03:43:02.639229Z

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:
--------------
147 paths were modified

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

--- frameworks/projects/rpc/src/mx/rpc/wsdl/WSDL.as
+++ frameworks/projects/rpc/src/mx/rpc/wsdl/WSDL.as
@@ -51,6 +51,11 @@
      *
      * @param xml An XML document starting from the top-level WSDL
      * defintions element.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function WSDL(xml:XML, topLevelManager:SchemaManager=null)
     {
@@ -130,6 +135,11 @@
     /**
      * The raw XML representing the WSDL starting from the top-level
      * definitions element.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get xml():XML
     {
@@ -148,6 +158,11 @@
            import XML
         2. Also, check that the import being added does not cause a cyclic
            relationship.
+    *
+    *  @langversion 3.0
+    *  @playerversion Flash 9
+    *  @playerversion AIR 1.1
+    *  @productversion Flex 3
     */
     public function addImport(targetNamespace:Namespace, wsdl:WSDL):void
     {
@@ -176,6 +191,11 @@
      * service is first located, otherwise the first service is used by default.
      * Once a service has been selected, the search then considers the port.
      * If a portName is not provided, the first port is used by default.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function getPort(serviceName:String = null, portName:String = null):WSDLPort
     {
@@ -203,6 +223,11 @@
     /**
      * Search for WSDL service and port by name. If a serviceName is not
      * provided the first service found will be selected by default.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function getService(serviceName:String = null, portName:String = null):WSDLService
     {
@@ -297,6 +322,11 @@
      * default. If a service is located it is parsed and then the search
      * continues for the requested port, which is in turn parsed, and so forth.
      *

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private function parseService(serviceName:String = null, portName:String = null):WSDLService
     {
@@ -352,6 +382,11 @@
     /**
      * Search for a requested port in the given service XML. If a port
      * name was not specified, the first port is used by default.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private function parsePort(service:WSDLService, serviceXML:XML, portName:String = null):WSDLPort
     {
@@ -411,6 +446,11 @@
      * Search for a binding by QName. If a URI is not specified, the
      * targetNamespace is assumed. FIXME: We may need to consider whether
      * formElementDefault is set to qualified or not.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private function parseBinding(bindingQName:QName):WSDLBinding
     {
@@ -629,6 +669,11 @@
     /**
      * Search for a portType by QName. If a URI is not specified, the
      * targetNamespace is assumed.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private function parsePortType(portTypeQName:QName, portType:WSDLPortType):Boolean
     {
@@ -752,6 +797,11 @@
     /**
      * Search for a message by QName. If a URI is not specified, the
      * targetNamespace is assumed.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private function parseMessage(message:WSDLMessage, messageQName:QName, operationName:String, mode:int):Boolean
     {
@@ -826,6 +876,11 @@
      * Returns a WSDL message part based on the name and looks for either an
      * element QName or type QName to determine which definition describes
      * this message part.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private function parseMessagePart(partXML:XML):WSDLMessagePart
     {
@@ -856,6 +911,11 @@
      * Looks for the SOAP encoding extensions based on the type of WSDL
      * operation message. SOAP encoding is required for SOAP Body, Header
      * (header and headerfault) and Fault extensions.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private function parseHeader(operationName:String, headerXML:XML):WSDLMessage
     {
@@ -871,6 +931,11 @@
      * Looks for the SOAP encoding extensions based on the type of WSDL
      * operation message. SOAP encoding is required for SOAP Body, Header
      * (header and headerfault) and Fault extensions.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private function parseEncodingExtension(extensionXML:XML, isHeader:Boolean = false, isFault:Boolean = false):WSDLEncoding
     {
@@ -900,6 +965,11 @@
      * to message params, and SOAP decoders correctly bind output params
      * to predictable ActionScript constructs. Essentially the wrappers should
      * be an encoding detail that is invisible to the Flex developer.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private function parseDocumentOperation(operation:WSDLOperation):void
     {
@@ -1077,6 +1147,11 @@
      * Returns a WSDL message part based on the name and looks for either an
      * element QName or type QName to determine which definition describes
      * this message part.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private function parseWrappedMessagePart(elementXML:XML):WSDLMessagePart
     {
@@ -1142,6 +1217,11 @@
     /**
      * Determines the WSDL and SOAP versions from the definitions and creates
      * a map of top level prefixes to namespaces.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private function processNamespaces():void
     {
@@ -1186,34 +1266,64 @@

     /**
      * Manages WSDL imports.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private var importsManager:QualifiedResourceManager;

     /**
      * Logs warnings encountered while parsing WSDL.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private var _log:ILogger;

     /**
      * Maps a namespace prefix (as a String) to a
      * Namespace (i.e. this helps to resolve a prefix to a URI).
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private var namespaces:Object;

     /**
      * Provides a static cache of the constants for various versions of XSD.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private var _schemaConstants:SchemaConstants;

     /**
      * A map of target namespaces to XSD Schemas that describe the types
      * used in this WSDL.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private var _schemaManager:SchemaManager;

     /**
      * Map to cache a WSDLService by service name. The cache is cleared
      * when a new definitions element is set for the WSDL.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private var serviceMap:Object;

@@ -1221,16 +1331,31 @@

     /**
      * WSDL target namespace.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private var _targetNamespace:Namespace;

     /**
      * Provides a static cache of the constants for various versions of WSDL.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private var _wsdlConstants:WSDLConstants;

     /**
      * The raw XML representing the WSDL definitions top level element.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private var _xml:XML;
 }


ios7+ specific skin for TabbedViewNavigator

--- frameworks/projects/mobiletheme/src/spark/skins/ios7/TabbedViewNavigatorTabBarSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/ios7/TabbedViewNavigatorTabBarSkin.as
@@ -25,9 +25,7 @@
 import spark.skins.mobile.supportClasses.TabbedViewNavigatorTabBarHorizontalLayout;

 /**
- *  The Android 4.x specific skin class for the Spark TabbedViewNavigator tabBar skin part.
- *  It uses the ButtonBarFirstButtonSkin and ButtonBarMiddleButtonSkin as skins for first
- *  middle buttons
+ *  The iOS7+ specific skin class for the Spark TabbedViewNavigator tabBar skin part.
  *
  *  @see spark.components.TabbedViewNavigator#tabBar
  *
@@ -78,7 +76,7 @@
         if (!lastButton)
         {
             lastButton = new ButtonBarButtonClassFactory(ButtonBarButton);
-            lastButton.skinClass = spark.skins.ios7.ButtonBarFirstButtonSkin;
+            lastButton.skinClass = spark.skins.ios7.ButtonBarLastButtonSkin;
         }

         if (!middleButton)


Comment fixup.

Comment fixup.

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

--- src/as/com/threerings/flash/Siner.as
+++ src/as/com/threerings/flash/Siner.as
@@ -4,7 +4,7 @@

 /**
  * Tracks multiple sine waves with different periods and amplitudes, and
- * returns a
+ * returns an instantaneous additive amplitude.
  */
 public class Siner
 {


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

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

 package mx.messaging.events
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 10006
Author:   gruehle@adobe.com
Date:     2009-09-03T22:04:47.081899Z

Log Message:
-----------
Initial checkin of the "More styles for Spark skins" feature. Details here:
http://opensource.adobe.com/wiki/display/flexsdk/More+Styles+for+Spark+Skins

There are some known issues:
* Panel bottom corners not rounded correctly when the panel has a control bar
* cornerRadius on Tab and DateChooser non functional
* cornerRadius values > 4 have drawing artifacts in the "down" state of Button and button-like components
* TextInput/TextArea incorrectly list lineBreak and verticalAlign as valid styles

This checkin also includes a couple minor unrelated bug fixes:
* Remove MiniDebugTarget. This is a logging target that used MiniDebug, which hasn't worked since Flex 1.5
* Fix RTEs when setting focusSkin to null
* Optimization: don't measure skins if the host component has explicit sizes

QE notes: Yes, many baseline images will need to be regenerated
Doc notes: New ASDoc comments should be scrubbed
Bugs: SDK-22931, SDK-22798, SDK-22217, SDK-19358
Reviewer: Jason
Tests run: checkintests, cyclone
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/StepperIncrButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/PopUpButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/SparkChromeWindowedApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/WindowedApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonBarLastButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DefaultButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/logging/targets/MiniDebugTarget.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/airframework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DropDownListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/StepperDecrButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SpinnerDecrementButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/INavigatorContent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDeferredContentOwner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TextInputSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ToggleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TextAreaSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Skin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/EditableComboBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/defaults.css</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/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DefaultButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonBarLastButtonSkin.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/sparkskins/src/mx/skins/spark/SparkSkinForHalo.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonBarFirstButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/TextInputBorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SpinnerIncrementButtonSkin.mxml</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/sparkskins/src/mx/skins/spark/ButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/halo-manifest.xml</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/airframework/src/spark/components/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/PanelBorderSkin.mxml</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/sparkskins/src/mx/skins/spark/ButtonBarFirstButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DropDownListButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ComboBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/SparkSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RectangularDropShadow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-manifest.xml</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/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/NumericStepperTextInputSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/PanelSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/spark/scripts/BorderTestScript.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/FocusSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ApplicationSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as
@@ -35,6 +35,16 @@
 use namespace mx_internal;

 include "../../styles/metadata/BasicInheritingTextStyles.as"
+
+/**
+ *  The alpha of the focus ring for this component.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Style(name="focusAlpha", type="Number", inherit="no", theme="spark")]

 /**
  *  @copy spark.components.supportClasses.GroupBase#focusColor


added keyType options to suggested dataType values.

--- WeaveAdmin/src/weave/services/Admin.as
+++ WeaveAdmin/src/weave/services/Admin.as
@@ -90,6 +90,7 @@
 		[Bindable] public var weaveFileNames:Array = [];
 		[Bindable] public var privateWeaveFileNames:Array = [];
 		[Bindable] public var keyTypes:Array = [];
+		[Bindable] private var dataTypes:Array = [];
 		[Bindable] public var databaseConfigInfo:DatabaseConfigInfo = new DatabaseConfigInfo(null);

 		// values the user has currently selected
@@ -299,7 +300,11 @@
 				{
 					// save list
 					if (userHasAuthenticated)
+					{
 						keyTypes = event.result as Array || [];
+						dataTypes = keyTypes.concat();
+						dataTypes.unshift(DataTypes.NUMBER, DataTypes.STRING, DataTypes.GEOMETRY);
+					}
 				}
 			);
 			service.addHook(
@@ -353,6 +358,7 @@
 			weaveFileNames = [];
 			privateWeaveFileNames = [];
 			keyTypes = [];
+			dataTypes = [];
 			databaseConfigInfo = new DatabaseConfigInfo(null);
 		}

@@ -420,7 +426,7 @@
 					return connectionNames;

 				case ColumnMetadata.DATA_TYPE:
-					return [DataTypes.NUMBER, DataTypes.STRING, DataTypes.GEOMETRY];
+					return dataTypes;

 				case ColumnMetadata.KEY_TYPE:
 					return keyTypes;


Clean up.

Clean up.

--- src/com/esri/builder/supportClasses/FileUtil.as
+++ src/com/esri/builder/supportClasses/FileUtil.as
@@ -22,6 +22,31 @@
 {
     private static const CRLF_LINE_ENDING:String = "\r\n";
     private static const LF_LINE_ENDING:String = "\n";
+
+    public static function ensureOSLineEndings(text:String):String
+    {
+        if (File.lineEnding == CRLF_LINE_ENDING)
+        {
+            return ensureCRLF(text);
+        }
+
+        if (File.lineEnding == LF_LINE_ENDING)
+        {
+            return ensureLF(text);
+        }
+
+        return text ? text : "";
+    }
+
+    private static function ensureCRLF(text:String):String
+    {
+        return text ? text.replace(/(?<!\r)\n/g, CRLF_LINE_ENDING) : "";
+    }
+
+    private static function ensureLF(text:String):String
+    {
+        return text ? text.replace(/\r\n/g, LF_LINE_ENDING) : "";
+    }

     public static function generateUniqueRelativePath(baseDirectory:File, relativeFilePath:String, relativePathBlackList:Array = null):String
     {
@@ -110,30 +135,5 @@

         return matchingFile;
     }
-
-    public static function ensureOSLineEndings(text:String):String
-    {
-        if (File.lineEnding == CRLF_LINE_ENDING)
-        {
-            return ensureCRLF(text);
-        }
-
-        if (File.lineEnding == LF_LINE_ENDING)
-        {
-            return ensureLF(text);
-        }
-
-        return text ? text : "";
-    }
-
-    private static function ensureCRLF(text:String):String
-    {
-        return text ? text.replace(/(?<!\r)\n/g, CRLF_LINE_ENDING) : "";
-    }
-
-    private static function ensureLF(text:String):String
-    {
-        return text ? text.replace(/\r\n/g, LF_LINE_ENDING) : "";
-    }
 }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 4091
Author:   rfrishbe@adobe.com
Date:     2008-11-12T21:58:46.437695Z

Log Message:
-----------
FxComponent now throws RTEs when accessing the DisplayObjectContainer mutation APIs (addChild, removeChild, etc...).  Instead, one should modify the skin object directly, or if you're adding something to an FxContainer, use addItem, removeItem, etc...  I had to fix flex4tests in checkintests because it was using addChild() on a panel.

Fixed some ASDocs for FxScroller.as

Found a small bug in GraphicElement around setting blendModeChanged back to false in commitProperties (it was accidentally set to true).

Ran checkintests and mustella tests for: List, FxContainer, FxDataContainer, Button, ToggleButton, CheckBox, RadioButton.

QE Notes: We should add tests for FxComponent where one tries to call addChild, removeChild, etc... and gets an RTE.
Doc Notes: None
Bugs: SDK-17655
Reviewer: Jason, Deepa

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxContainerBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/flex4/flex4test.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/flex4/flex4test_testScript.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SkinnableContainerBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SkinnableContainerBase.as
@@ -14,7 +14,7 @@
 import flash.display.Sprite;

 import mx.components.baseClasses.FxComponent;
-
+import mx.core.mx_internal;
 import mx.managers.IFocusManagerContainer;

@@ -109,7 +109,7 @@
         {
             if (mouseShield)
             {
-                removeChild(mouseShield);
+                mx_internal::$removeChild(mouseShield);
                 mouseShield = null;
             }
         }
@@ -124,7 +124,7 @@
 				mouseShield.graphics.beginFill(0, 0);
 				mouseShield.graphics.drawRect(0, 0, 100, 100);
 				mouseShield.graphics.endFill();
-				addChild(mouseShield);
+				mx_internal::$addChild(mouseShield);
             }

             mouseShield.width = width;


fixed a wee bug with the highlighting where 'saving as' would make it forget its highlighted status

--- flexEditor/src/org/arisgames/editor/components/PlaceMarkerEditorView.as
+++ flexEditor/src/org/arisgames/editor/components/PlaceMarkerEditorView.as
@@ -232,7 +232,10 @@

 			//Update the Google Marker
 			var options:MarkerOptions = placeMarker.getOptions();
-			options.icon = new PlaceMarkerIcon(placeMark.name);
+
+			var temp:PlaceMarkerIcon= new PlaceMarkerIcon(placeMark.name);
+			temp.isHighlighted = placeMark.placeMarker.icon.isHighlighted;
+			options.icon  = temp;
 			placeMarker.setOptions(options);
 			placeMarker.icon = options.icon as PlaceMarkerIcon;
 			placeMarker.icon.select();


Deleting items from side palette now consistently works without destroying tree structure

--- flexEditor/src/org/arisgames/editor/view/GameEditorObjectPaletteView.as
+++ flexEditor/src/org/arisgames/editor/view/GameEditorObjectPaletteView.as
@@ -621,11 +621,12 @@

     private function handleRedrawTreeEvent(evt:DynamicEvent):void
     {
-        trace("In handleRefreshTreeEvent...");
-        refreshData = true;
-        this.renderTree();
-		paletteTree.openFolders();
-        trace("Done in handleRefreshTreeEvent.");
+        trace("In handleRedrawTreeEvent...");
+
+		this.refreshData = true;
+		AppServices.getInstance().getFoldersAndContentByGameId(GameModel.getInstance().game.gameId, new Responder(handleLoadFoldersAndContentForObjectPalette, handleFault));
+
+        trace("Done in handleRedrawTreeEvent.");
     }

     public function renderTree():void
@@ -669,21 +670,7 @@
 				Alert.show("This folder has items in it and can't be deleted until they are first removed.  Please do so and then try deleting the folder again.", "Can't Delete Folder Yet");

             }
-			else if (it.parentFolderId != 0){
-				trace("This folder is a child, so can't allow it to be deleted.");
-				okDrop = false;
-				Alert.show("This folder is in a folder, and cannot be deleted until it is first removed. Please do so and then try deleting it again.", "Can't Delete Nested Object");
-
-			}
-        }
-		else
-		{
-			if(it.parentContentFolderId != 0)
-			{
-				trace("This object is in a folder, so don't allow it to be deleted.");
-				okDrop = false;
-			}
-		}
+        }

         if (okDrop)
         {
@@ -694,11 +681,7 @@
             // Accept the drop.
             DragManager.acceptDragDrop(dropTarget);
         }
-        else
-        {
-			if(!it.isFolder())
-				Alert.show("This item is in a folder, and cannot be deleted until it is first removed. Please do so and then try deleting it again.", "Can't Delete Nested Object");
-		}
+
     }

     public function trashDragExitHandler(evt:DragEvent):void
@@ -728,22 +711,9 @@
             AppServices.getInstance().deleteContent(GameModel.getInstance().game.gameId, it, new Responder(handleDeleteContent, handleFault));
         }

-        // Remove From Client Data Model
-        var index:Number;
-        for (var lc:Number = 0; lc < treeModel.length; lc++)
-        {
-            var t:ObjectPaletteItemBO = treeModel[lc] as ObjectPaletteItemBO;
-            if (t.id == it.id)
-            {
-                index = lc;
-                break;
-            }
-        }
-        trace("Found index to remove...");
-        treeModel.removeItemAt(index);
-        refreshData = true;
-        this.renderTree();
-		paletteTree.openFolders();
+        // Refresh Client Data Model
+		this.refreshData = true;
+		AppServices.getInstance().getFoldersAndContentByGameId(GameModel.getInstance().game.gameId, new Responder(handleLoadFoldersAndContentForObjectPalette, handleFault));

         // Stop Effect And Reset Trash Bin To Original State
         glowImage.end();


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

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


Transferred from the Adobe Open Source Subversion Repository

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

--- frameworks/projects/mx/src/mx/containers/utilityClasses/CanvasLayout.as
+++ frameworks/projects/mx/src/mx/containers/utilityClasses/CanvasLayout.as
@@ -101,6 +101,11 @@

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 9932
Author:   smgilson@adobe.com
Date:     2009-09-02T19:17:26.077257Z

Log Message:
-----------
Add ASDoc version tags to new or untagged classes - Part 2

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/Request.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/RectangularBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/Responder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RectangularDropShadow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/OverrideBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RichTextEditor.mxml</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/remoting/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/SparkChromeWindowedApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/WindowedApplicationSkin.mxml</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@1285810 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/primitives/RectangularDropShadow.as
+++ frameworks/projects/spark/src/spark/primitives/RectangularDropShadow.as
@@ -32,6 +32,11 @@
      *
      *  @see flash.filters.DropShadowFilter
      *  @see flash.display.DisplayObject
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public class RectangularDropShadow extends UIComponent
     {


Add translation for Either

Add translation for Either

--- Arguments/src/Controller/logic/DisjunctiveSyllogism.as
+++ Arguments/src/Controller/logic/DisjunctiveSyllogism.as
@@ -37,7 +37,7 @@
 			var inferenceModel:StatementModel = argumentTypeModel.inferenceModel;
 			var i:int;

-			output = "Either "; //TODO: Need a translation for this
+			output = Language.lookup("ArgEitherCap"); //TODO: Need a translation for this
 			if(reasonModels.length < inferenceModel.statements.length){
 				for(i=0; i<reasonModels.length; i++){
 					inferenceModel.statements[i+1].text = reasonModels[i].statement.positiveText;


Split method "testCopyWithPropertyLevelMetadata" to a few.

--- dolly-framework/src/test/actionscript/dolly/CopierTest.as
+++ dolly-framework/src/test/actionscript/dolly/CopierTest.as
@@ -144,26 +144,29 @@
 	}

 	[Test]
-	public function testCopyWithPropertyLevelMetadata():void {
-		const copy1:PropertyLevelCopyable = Copier.copy(propertyLevelCopyable);
-		assertNotNull(copy1);
-		assertNull(copy1.property1);
-		assertNotNull(copy1.property2);
-		assertEquals(copy1.property2, classLevelCopyable.property2);
-		assertNotNull(copy1.property3);
-		assertEquals(copy1.property3, classLevelCopyable.property3);
-		assertNotNull(copy1.writableField);
-		assertEquals(copy1.writableField, classLevelCopyable.writableField);
+	public function testCopyPropertyLevelCopyable():void {
+		const copy:PropertyLevelCopyable = Copier.copy(propertyLevelCopyable);
+		assertNotNull(copy);
+		assertNull(copy.property1);
+		assertNotNull(copy.property2);
+		assertEquals(copy.property2, classLevelCopyable.property2);
+		assertNotNull(copy.property3);
+		assertEquals(copy.property3, classLevelCopyable.property3);
+		assertNotNull(copy.writableField);
+		assertEquals(copy.writableField, classLevelCopyable.writableField);
+	}

-		const copy2:PropertyLevelCopyableCloneable = Copier.copy(propertyLevelCopyableCloneable);
-		assertNotNull(copy2);
-		assertNull(copy2.property1);
-		assertNotNull(copy2.property2);
-		assertEquals(copy2.property2, classLevelCopyable.property2);
-		assertNotNull(copy2.property3);
-		assertEquals(copy2.property3, classLevelCopyable.property3);
-		assertNotNull(copy2.writableField);
-		assertEquals(copy2.writableField, classLevelCopyable.writableField);
+	[Test]
+	public function testCopyPropertyLevelCopyableCloneable():void {
+		const copy:PropertyLevelCopyableCloneable = Copier.copy(propertyLevelCopyableCloneable);
+		assertNotNull(copy);
+		assertNull(copy.property1);
+		assertNotNull(copy.property2);
+		assertEquals(copy.property2, classLevelCopyable.property2);
+		assertNotNull(copy.property3);
+		assertEquals(copy.property3, classLevelCopyable.property3);
+		assertNotNull(copy.writableField);
+		assertEquals(copy.writableField, classLevelCopyable.writableField);
 	}
 }
 }


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 8509
Author:   smgilson@adobe.com
Date:     2009-07-10T17:58:51.724217Z

Log Message:
-----------
- Explicitly list the default skins for Spark components as part of the fix for SDK-18639
- Fix some bad @see links

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

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/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/mediaClasses/StreamingVideoSource.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/mediaClasses/StreamItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ToggleButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.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/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/CheckBox.as</path>

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

--- frameworks/projects/spark/src/spark/components/Spinner.as
+++ frameworks/projects/spark/src/spark/components/Spinner.as
@@ -120,6 +120,10 @@
  *           Maximum size
  *           10000 pixels wide and 10000 pixels high
  *

+ *

+ *           Default skin class
+ *           spark.skins.spark.SpinnerSkin
+ *

  *

  *
  *  @mxml