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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

Bugs: SDK-20606

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

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

--- frameworks/projects/spark/src/spark/components/Spinner.as
+++ frameworks/projects/spark/src/spark/components/Spinner.as
@@ -42,7 +42,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="focusColor", type="uint", format="Color", inherit="yes")]
+[Style(name="focusColor", type="uint", format="Color", inherit="yes", theme="spark")]

 /**
  *  @copy spark.components.supportClasses.GroupBase#symbolColor
@@ -52,7 +52,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="symbolColor", type="uint", format="Color", inherit="yes")]
+[Style(name="symbolColor", type="uint", format="Color", inherit="yes", theme="spark")]

 /**
  *  Normal State


Transferred from the Adobe Open Source Subversion Repository

Revision: 6481
Author:   egeorgie@adobe.com
Date:     2009-05-01T23:55:34.032529Z

Log Message:
-----------
Fix bug http://bugs.adobe.com/jira/browse/SDK-20857 List is not responding to PgDn and PgUp

Implement page up/down support in vertical, horizontal and tile layouts.

QE Notes: None
Doc Notes: None
Bugs: SDK-20857
Reviewer: Deepa, Hans
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/NavigationUnit.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/VerticalLayout.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/TileLayout.as
+++ frameworks/projects/spark/src/spark/layouts/TileLayout.as
@@ -12,11 +12,11 @@
 package spark.layouts
 {
 import flash.geom.Rectangle;
-import flash.ui.Keyboard;
-
-import spark.components.supportClasses.GroupBase;
+
 import mx.core.ILayoutElement;
 import mx.events.PropertyChangeEvent;
+import spark.components.supportClasses.GroupBase;
+import spark.core.NavigationUnit;
 import spark.layouts.HorizontalAlign;
 import spark.layouts.supportClasses.LayoutBase;
 import spark.layouts.ColumnAlign;
@@ -1406,40 +1406,196 @@

     /**
      *  @private
-     *  For a TileLayout, returns the index of the next item to
-     *  navigate to given the current index and keyCode passed in.
      */
-     override public function nextItemIndex(keyCode:uint, currentIndex:int, maxIndex:int):int
-     {
-         var retVal:int = super.nextItemIndex(keyCode, currentIndex, maxIndex);
-         switch (keyCode)
-         {
-             case Keyboard.RIGHT:
-             {
-                retVal = Math.min(currentIndex + 1, maxIndex);
+    override public function getDestinationIndex(navigationUnit:uint, currentIndex:int):int
+    {
+        // Make sure currentIndex is within range
+        var maxIndex:int = target.numElements - 1;
+        currentIndex = Math.max(0, Math.min(maxIndex, currentIndex));
+
+        // Find the current column and row
+        var currentRow:int;
+        var currentColumn:int;
+        var inRows:Boolean = orientation == TileOrientation.ROWS;
+        if (inRows)
+        {
+            // Is the TileLayout initialized with valid values?
+            if (columnCount == 0 || rowHeight + verticalGap == 0)
+                return currentIndex;
+
+            currentRow = currentIndex / columnCount;
+            currentColumn = currentIndex - currentRow * columnCount;
+        }
+        else
+        {
+            // Is the TileLayout initialized with valid values?
+            if (rowCount == 0 || columnWidth + horizontalGap == 0)
+                return currentIndex;
+
+            currentColumn = currentIndex / rowCount;
+            currentRow = currentIndex - currentColumn * rowCount;
+        }
+
+        var newRow:int = currentRow;
+        var newColumn:int = currentColumn;
+
+        // Handle user input, almost all range checks are
+        // performed after the calculations, at the end of the method.
+        switch (navigationUnit)
+        {
+            case NavigationUnit.LEFT:
+            {
+                // If we are at the first column, can
+                // we go to the previous element (last column, previous row)?
+                if (newColumn == 0 && inRows && newRow > 0)
+                {
+                    newRow--;
+                    newColumn = columnCount - 1;
+                }
+                else
+                    newColumn--;
                 break;
-             }
-             case Keyboard.LEFT:
-             {
-                retVal = Math.max(currentIndex - 1, 0);
+            }
+
+            case NavigationUnit.RIGHT:
+            {
+                // If we are at the last column, can
+                // we go to the next element (first column, next row)?
+                if (newColumn == columnCount - 1 && inRows && newRow < rowCount - 1)
+                {
+                    newColumn = 0;
+                    newRow++;
+                }
+                else
+                    newColumn++;
                 break;
-             }
-             case Keyboard.DOWN:
-             {
-                 if (currentIndex == -1)
-                    retVal = 0;
-                 else
-                    retVal = Math.min(currentIndex + columnCount, maxIndex)
-                 break;
-             }
-             case Keyboard.UP:
-             {
-                 retVal = Math.max(currentIndex - columnCount, 0);
-                 break;
-             }
-         }
-         return retVal;
-     }
+            }
+
+            case NavigationUnit.UP:
+            {
+                // If we are at the first row, can we
+                // go to the previous element (previous column, last row)?
+                if (newRow == 0 && !inRows && newColumn > 0)
+                {
+                    newColumn--;
+                    newRow = rowCount - 1;
+                }
+                else
+                    newRow--;
+                break;
+            }
+
+            case NavigationUnit.DOWN:
+            {
+                // If we are at the last row, can we
+                // go to the next element (next column, first row)?
+                if (newRow == rowCount - 1 && !inRows && newColumn < columnCount - 1)
+                {
+                    newColumn++;
+                    newRow = 0;
+                }
+                else
+                    newRow++;
+                break;
+            }
+
+            case NavigationUnit.PAGE_UP:
+            case NavigationUnit.PAGE_DOWN:
+            {
+                // Ensure we have a valid scrollRect as we use it for calculations below
+                var scrollRect:Rectangle = getScrollRect();
+                if (!scrollRect)
+                    scrollRect = new Rectangle(0, 0, target.contentWidth, target.contentHeight);
+
+                if (inRows)
+                {
+                    var firstVisibleRow:int = Math.ceil(scrollRect.top / (rowHeight + verticalGap));
+                    var lastVisibleRow:int = Math.floor(scrollRect.bottom / (rowHeight + verticalGap));
+
+                    if (navigationUnit == NavigationUnit.PAGE_UP)
+                    {
+                        // Is the current row visible, somewhere in the middle of the scrollRect?
+                        if (firstVisibleRow < currentRow && currentRow <= lastVisibleRow)
+                            newRow = firstVisibleRow;
+                        else
+                            newRow = 2 * firstVisibleRow - lastVisibleRow;
+                    }
+                    else
+                    {
+                        // Is the current row visible, somewhere in the middle of the scrollRect?
+                        if (firstVisibleRow <= currentRow && currentRow < lastVisibleRow)
+                            newRow = lastVisibleRow;
+                        else
+                            newRow = 2 * lastVisibleRow - firstVisibleRow;
+                    }
+                }
+                else
+                {
+                    var firstVisibleColumn:int = Math.ceil(scrollRect.left / (columnWidth + horizontalGap));
+                    var lastVisibleColumn:int = Math.floor(scrollRect.right / (columnWidth + horizontalGap));
+
+                    if (navigationUnit == NavigationUnit.PAGE_UP)
+                    {
+                        // Is the current column visible, somewhere in the middle of the scrollRect?
+                        if (firstVisibleColumn < currentColumn && currentColumn <= lastVisibleColumn)
+                            newColumn = firstVisibleColumn;
+                        else
+                            newColumn = 2 * firstVisibleColumn - lastVisibleColumn;
+                    }
+                    else
+                    {
+                        // Is the current column visible, somewhere in the middle of the scrollRect?
+                        if (firstVisibleColumn <= currentColumn && currentColumn < lastVisibleColumn)
+                            newColumn = lastVisibleColumn;
+                        else
+                            newColumn = 2 * lastVisibleColumn - firstVisibleColumn;
+                    }
+                }
+                break;
+            }
+            default: return super.getDestinationIndex(navigationUnit, currentIndex);
+        }
+
+        // Make sure rows and columns are within range
+        newRow = Math.max(0, Math.min(rowCount - 1, newRow));
+        newColumn = Math.max(0, Math.min(columnCount - 1, newColumn));
+
+        // Calculate the new index based on orientation
+        if (inRows)
+        {
+            // Make sure we don't return an index for an empty space in the last row.
+            // newRow is guaranteed to be greater than zero:
+
+            // Step 1: We can end up at the empty space in the last row if we moved right from
+            // the last item.
+            if (currentIndex == maxIndex && newColumn > currentColumn)
+                newColumn = currentColumn;
+
+            // Step 2: We can end up at the empty space in the last row if we moved down from
+            // the previous row.
+            if (newRow == rowCount - 1 && newColumn > maxIndex - columnCount * (rowCount - 1))
+                newRow--;
+
+            return newRow * columnCount + newColumn;
+        }
+        else
+        {
+            // Make sure we don't return an index for an empty space in the last column.
+            // newColumn is guaranteed to be greater than zero:
+
+            // Step 1: We can end up at the empty space in the last column if we moved down from
+            // the last item.
+            if (currentIndex == maxIndex && newRow > currentRow)
+                newRow = currentRow;
+
+            // Step 2: We can end up at the empty space in the last column if we moved right from
+            // the previous column.
+            if (newColumn == columnCount - 1 && newRow > maxIndex - rowCount * (columnCount - 1))
+                newColumn--;
+
+            return newColumn * rowCount + newRow;
+        }
+    }

     /**
      *  @private


append "Project" to the new/open/save menu items

--- exporter/src/main/as/flump/export/Exporter.as
+++ exporter/src/main/as/flump/export/Exporter.as
@@ -84,7 +84,7 @@

         // Add save and save as by index to work with the existing items on Mac
         // Mac menus have an existing "Close" item, so everything we add should go ahead of that
-        var newMenuItem :NativeMenuItem = fileMenuItem.submenu.addItemAt(new NativeMenuItem("New"), 0);
+        var newMenuItem :NativeMenuItem = fileMenuItem.submenu.addItemAt(new NativeMenuItem("New Project"), 0);
         newMenuItem.keyEquivalent = "n";
         newMenuItem.addEventListener(Event.SELECT, function (..._) :void {
             _confFile = null;
@@ -93,7 +93,7 @@
             updateFromConf();
         });
         var openMenuItem :NativeMenuItem =
-            fileMenuItem.submenu.addItemAt(new NativeMenuItem("Open..."), 1);
+            fileMenuItem.submenu.addItemAt(new NativeMenuItem("Open Project..."), 1);
         openMenuItem.keyEquivalent = "o";
         openMenuItem.addEventListener(Event.SELECT, function (..._) :void {
             var file :File = new File();
@@ -112,7 +112,7 @@
         });

         const saveMenuItem :NativeMenuItem =
-            fileMenuItem.submenu.addItemAt(new NativeMenuItem("Save"), 3);
+            fileMenuItem.submenu.addItemAt(new NativeMenuItem("Save Project"), 3);
         saveMenuItem.keyEquivalent = "s";
         function saveConf () :void {
             Files.write(_confFile, function (out :IDataOutput) :void {
@@ -152,7 +152,7 @@
         });

         function updateWindowTitle (modified :Boolean) :void {
-            var name :String = (_confFile != null) ? _confFile.name.replace(/\.flump$/i, "") : "Untitled";
+            var name :String = (_confFile != null) ? _confFile.name.replace(/\.flump$/i, "") : "Untitled Project";
             if (modified) name += "*";
             _win.title = name;
         };
@@ -176,7 +176,7 @@
         };

         const saveAsMenuItem :NativeMenuItem =
-            fileMenuItem.submenu.addItemAt(new NativeMenuItem("Save As..."), 4);
+            fileMenuItem.submenu.addItemAt(new NativeMenuItem("Save Project As..."), 4);
         saveAsMenuItem.keyEquivalent = "S";
         saveAsMenuItem.addEventListener(Event.SELECT, saveAs);


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

--- frameworks/projects/advancedgrids/src/mx/collections/LeafNodeCursor.as
+++ frameworks/projects/advancedgrids/src/mx/collections/LeafNodeCursor.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.collections
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 20018
Author:   mhorn@adobe.com
Date:     2011-01-31T20:21:08.439131Z

Log Message:
-----------
asdoc updates for bug fix http://watsonexp.corp.adobe.com/#bug=2795537

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/filters/BaseFilter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/IMarshalSystemManager.as</path>

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

--- frameworks/projects/framework/src/mx/managers/IMarshalSystemManager.as
+++ frameworks/projects/framework/src/mx/managers/IMarshalSystemManager.as
@@ -19,7 +19,9 @@
 import mx.core.ISWFBridgeGroup;

 /**
- *
+ *  The IMarshalSystemManager interface defines the methods and properties that classes must implement
+ *  if they want to access, add, and remove bridges to other applications in a cross-versioned configuration.
+ *
  *  @langversion 3.0
  *  @playerversion Flash 10
  *  @playerversion AIR 1.5
@@ -76,7 +78,7 @@
      *  Each child bridge represents components in another sandbox
      *  or compiled with a different version of Flex.
      *
-     *  @param bridge The bridge for the child
+     *  @param bridge The bridge for the child.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -123,11 +125,11 @@
     function useSWFBridge():Boolean;

     /**
-     *  Adds child to sandbox root in the layer requested.
+     *  Adds the specified child to the sandbox root in the layer requested.
      *
-     *  @param layer Name of IChildList in SystemManager
+     *  @param layer The name of IChildList in SystemManager.
      *
-     *  @param child DisplayObject to add
+     *  @param child The DisplayObject to add.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -137,11 +139,11 @@
     function addChildToSandboxRoot(layer:String, child:DisplayObject):void;

     /**
-     *  Removes child from sandbox root in the layer requested.
+     *  Removes the specified child from the sandbox root in the layer requested.
      *
-     *  @param layer Name of IChildList in SystemManager
+     *  @param layer The name of IChildList in SystemManager.
      *
-     *  @param child DisplayObject to add
+     *  @param child The DisplayObject to add.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 5998
Author:   aharui@adobe.com
Date:     2009-04-07T21:04:02.889387Z

Log Message:
-----------
DownloadProgressBar enhancements/fixes.  LayoutManager no longer validates on RENDER during phased validation so that each end-of-phase event can update the progress bar.

Exposed a property in DownloadProgressBar so that folks can property set the rate at which the bar fills.

QE Notes: None
Doc Notes: Yes.  New API on DownloadProgressBar
Bugs: sdk-19830
Reviewer: glenn
tests: checkintests

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

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

--- frameworks/projects/framework/src/mx/preloaders/DownloadProgressBar.as
+++ frameworks/projects/framework/src/mx/preloaders/DownloadProgressBar.as
@@ -234,9 +234,22 @@
 	private var _initProgressCount:uint = 0;

 	/**
-	 *  @private
-	 */
-	private var _initProgressTotal:uint = 12;
+	 *  The total number of validation events you expect to get
+	 *  in the initializing phase.  This should be an integer
+	 *  greater or equal to 4 (and note that if it is greater than 4
+	 *  you might have an inefficiency in your initialization code)
+	 *  The default is 12 because it is hard to need more phases
+	 *  than that and if we set it smaller, someone would notice
+	 *  occasional overruns.
+	 *
+	 *  @default 12
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 4
+	 */
+	protected var initProgressTotal:uint = 12;

 	//--------------------------------------------------------------------------
 	//
@@ -1654,7 +1667,8 @@
 			_displayStartCount = _initProgressCount;
 			show();
 		}
-		else if (_showingDisplay)
+
+		if (_showingDisplay)
 		{
 			if (!_startedInit)
 			{
@@ -1664,7 +1678,7 @@
 			}

 			var loaded:Number = 100 * _initProgressCount /
-								(_initProgressTotal - _displayStartCount);
+								(initProgressTotal - _displayStartCount);

 			setProgress(loaded, 100);
 		}


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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/CheckBoxSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/CheckBoxSkin.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2010 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: 19337
Author:   mhorn@adobe.com
Date:     2010-12-13T22:01:27.841985Z

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/SkinnableContainerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TextSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ListSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderDataTip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ActionBarButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/SelectableButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/CheckBoxSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/RadioButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarThumbSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/CheckBoxSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/CheckBoxSkin.as
@@ -37,7 +37,9 @@
 import spark.skins.mobile320.assets.CheckBox_upSymbolSelected;

 /**
- *  Actionscript based skin for CheckBox on mobile applications.
+ *  ActionScript-based skin for CheckBox components in mobile applications.
+ *
+ *  @see spark.components.CheckBox
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 5135
Author:   egeorgie@adobe.com
Date:     2009-03-02T18:07:53.499277Z

Log Message:
-----------
PARB changes to FxButton
- FxButton is no longer IDataRenderer
- FxToggleButton is no longer ISelectableRenderer
- FxButtonBar's default skin now uses a subclass of FxToggleButton that implements both IDataRenderer and ISelectableRenderer
- "labelField" name of skin parts changed to "labelElement" for all Spark skins.
- Some minor tweaks, renames

QE Notes: None
Doc Notes:
Bugs: None
Reviewer: Glenn
tests: checkintests, mustella (QA ran a cyclone and failing tests are excluded)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxButtonBarFirstButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxFocusSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxDefaultItemRenderer.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxVSliderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxButtonBarMiddleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxToggleButtonSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/ButtonBarButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxButtonBarLastButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButtonGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxCheckBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxHSliderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxRadioButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxToggleButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxButtonBarSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as
+++ frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as
@@ -30,6 +30,6 @@
 		    <SolidColor color="{selectionColor}" />
 		</fill.selected>
 	</Rect>
-	<TextBox id="labelField" text="{data}" verticalCenter="0" left="3" right="3" top="6" bottom="4" />
+	<TextBox id="labelElement" text="{data}" verticalCenter="0" left="3" right="3" top="6" bottom="4" />

 </ItemRenderer>


Fix shadowmappingType accessor

Fix shadowmappingType accessor

--- src/aerys/minko/scene/node/light/PointLight.as
+++ src/aerys/minko/scene/node/light/PointLight.as
@@ -106,7 +106,7 @@

 		public function get shadowCastingType() : uint
 		{
-			return lightData.getProperty('shadowCastingType');
+			return lightData.getLightProperty('shadowCastingType');
 		}
 		public function set shadowCastingType(value : uint) : void
 		{


Transferred from the Adobe Open Source Subversion Repository

Revision: 4492
Author:   gosmith@adobe.com
Date:     2009-01-12T22:47:10.154251Z

Log Message:
-----------
Simplified how an accessibility class gets hooked into its corresponding component class.

We now do the hooking in the static method enableAccessibility(), which is called by code that is autogenerated by the compiler. Previously this method did nothing and the hooking happened at static initialization time. This allows us to remove the static var accessibilityHooked and the static method hookAccessibility() in each accessibility class.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ListAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ColorPickerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DataGridAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DateFieldAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/SliderAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/CheckBoxAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/LinkButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/RadioButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ComboBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TabBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TreeAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/PanelAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DateChooserAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/UIComponentAccProps.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AlertAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ComboBoxAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TitleWindowAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccordionHeaderAccImpl.as</path>

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

--- frameworks/projects/mx/src/mx/accessibility/PanelAccImpl.as
+++ frameworks/projects/mx/src/mx/accessibility/PanelAccImpl.as
@@ -19,11 +19,8 @@
 use namespace mx_internal;

 /**
- *  The PanelAccImpl class is the accessibility class for Panel.
- *
- *  @helpid 3011
- *  @tiptext This is the Panel Accessibility Class.
- *  @review
+ *  PanelAccImpl is a subclass of AccessibilityImplementation
+ *  which implements accessibility for the Panel class.
  */
 public class PanelAccImpl extends AccImpl
 {
@@ -31,80 +28,57 @@

 	//--------------------------------------------------------------------------
 	//
-	//  Class initialization
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 *  Static variable triggering the hookAccessibility() method.
-	 *  This is used for initializing PanelAccImpl class to hook its
-	 *  createAccessibilityImplementation() method to Panel class
-	 *  before it gets called from UIComponent.
-	 */
-	private static var accessibilityHooked:Boolean = hookAccessibility();
-
-	/**
-	 *  @private
-	 *  Static Method for swapping the
-	 *  createAccessibilityImplementation method of Panel with
-	 *  the PanelAccImpl class.
-	 */
-	private static function hookAccessibility():Boolean
+	//  Class constants
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private static const ROLE_SYSTEM_DIALOG:uint = 0x12;
+
+	/**
+	 *  @private
+	 */
+	private static const ROLE_SYSTEM_TITLEBAR:uint = 0x01;
+
+	/**
+	 *  @private
+	 */
+	private static const STATE_SYSTEM_FOCUSED:uint = 0x00000004;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Enables accessibility in the Panel class.
+	 *
+	 *
This method is called by application startup code
+	 *  that is autogenerated by the MXML compiler.
+	 *  Afterwards, when instances of Panel are initialized,
+	 *  their accessibilityImplementation property
+	 *  will be set to an instance of this class.

+	 */
+	public static function enableAccessibility():void
 	{
 		Panel.createAccessibilityImplementation =
 			createAccessibilityImplementation;
-
-		return true;
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Class constants
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 */
-	private static const ROLE_SYSTEM_DIALOG:uint = 0x12;
-
-	/**
-	 *  @private
-	 */
-	private static const ROLE_SYSTEM_TITLEBAR:uint = 0x01;
-
-	/**
-	 *  @private
-	 */
-	private static const STATE_SYSTEM_FOCUSED:uint = 0x00000004;
-
-	//--------------------------------------------------------------------------
-	//
-	//  Class methods
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 *  Method for creating the Accessibility class.
-	 *  This method is called from UIComponent.
-	 *  @review
+	}
+
+	/**
+	 *  @private
+	 *  Creates  Panel's AccessibilityImplementation object.
+	 *  This method is called from UIComponent's
+	 *  initializeAccessibility() method.
 	 */
 	mx_internal static function createAccessibilityImplementation(
 								component:UIComponent):void
 	{
 		Panel(component).getTitleBar().accessibilityImplementation =
 			new PanelAccImpl(component);
-	}
-
-	/**
-	 *  Method call for enabling accessibility for a component.
-	 *  This method is required for the compiler to activate
-	 *  the accessibility classes for a component.
-	 */
-	public static function enableAccessibility():void
-	{
 	}

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


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

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

 package mx.skins.halo
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17736
Author:   klin@adobe.com
Date:     2010-09-16T18:33:19.552384Z

Log Message:
-----------
Fix for handling CollectionEventKind.MOVE in DataGroup. We need to reset all the renderers' indices after moving an item because in the non-virtual case, all the indices will be invalid. Also, I removed some unnecessary code for determining the location to re-add the item. The event already calculates this for us.

QE notes: No
Doc notes: No
Bugs: SDK-27811
Reviewer: Hans
Tests run: checkintests, cyclone server
Is noteworthy for integration: No

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGroup.as

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

--- frameworks/projects/spark/src/spark/components/DataGroup.as
+++ frameworks/projects/spark/src/spark/components/DataGroup.as
@@ -1810,13 +1810,8 @@
     private function adjustAfterMove(item:Object, location:int, oldLocation:int):void
     {
         itemRemoved(item, oldLocation);
-
-        // if item is removed before the newly added item
-        // then change index to account for this
-        if (location > oldLocation)
-            itemAdded(item, location-1);
-        else
-            itemAdded(item, location);
+        itemAdded(item, location);
+        resetRenderersIndices();
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 6006
Author:   dsubrama@adobe.com
Date:     2009-04-07T23:13:52.682149Z

Log Message:
-----------
-new property, labelText, added to IItemRenderer interface
-owning components always push the right text down to the renderer (ie: setting the labelText property)
-DataGroup, SkinnableDataContainer now implement IItemRendererOwner
-labelField/labelFunction work for ButtonBar

QA: Yes
Checkintests: Pass
Reviewer: Ryan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/DefaultItemRenderer.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/ButtonBarButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/IItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>

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

--- frameworks/projects/spark/src/spark/components/DataGroup.as
+++ frameworks/projects/spark/src/spark/components/DataGroup.as
@@ -4,8 +4,7 @@
 import flash.events.Event;
 import flash.utils.Dictionary;

-import mx.collections.IList;
-import spark.components.supportClasses.GroupBase;
+import mx.collections.IList;
 import mx.core.IDataRenderer;
 import mx.core.IFactory;
 import mx.core.IInvalidating;
@@ -15,6 +14,9 @@
 import mx.core.UIComponent;
 import mx.events.CollectionEvent;
 import mx.events.CollectionEventKind;
+
+import spark.components.IItemRendererOwner;
+import spark.components.supportClasses.GroupBase;
 import spark.events.RendererExistenceEvent;
 import spark.layout.supportClasses.LayoutBase;
 import spark.layout.supportClasses.LayoutElementFactory;
@@ -83,7 +85,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-public class DataGroup extends GroupBase
+public class DataGroup extends GroupBase implements IItemRendererOwner
 {
     /**
      *  Constructor.
@@ -253,7 +255,6 @@
      */
     private function changeUseVirtualLayout():void
     {
-        trace("DataGroup::changeUseVirtualLayout()");
         cleanUpDataProvider();
         invalidateProperties();
         useVirtualLayoutChanged = true;
@@ -503,6 +504,27 @@
         }
     }

+    /**
+     *  Given a data item, return the correct text representation
+     *  a renderer should display.
+     *
+     *  @param item A data item
+     *
+     *  @return String representing the text to display for the
+     *  passed in item's renderer.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function itemToLabel(item:Object):String
+    {
+    	if (item)
+            return item.toString();
+        return " ";
+    }
+
     //--------------------------------------------------------------------------
     //
     //  Item -> Renderer mapping
@@ -554,9 +576,15 @@
         if (!myItemRenderer && item is IVisualElement && item is DisplayObject)
             myItemRenderer = IVisualElement(item);

+        // Set the owner property
+        myItemRenderer.owner = this;
+
         // Set the renderer's data to the item, but only if the item and renderer are different
         if ((myItemRenderer is IDataRenderer) && (myItemRenderer != item))
             IDataRenderer(myItemRenderer).data = item;
+
+        if (myItemRenderer is IItemRenderer)
+        	IItemRenderer(myItemRenderer).labelText = itemToLabel(item);

         // Couldn't find item renderer.  Throw an RTE.
         if (!myItemRenderer && failRTE)
@@ -898,6 +926,8 @@
                     elt.includeInLayout = true;
                     if (elt is IDataRenderer)
                         IDataRenderer(elt).data = item;
+                    if (elt is IItemRenderer)
+                        IItemRenderer(elt).labelText = itemToLabel(item);
                     recycledIR = true;
                 }
                 else


Transferred from the Adobe Open Source Subversion Repository

Revision: 9227
Author:   hmuller@adobe.com
Date:     2009-08-11T18:40:54.943181Z

Log Message:
-----------
DataGroup/getVirtualElementAt() now only resizes created/recycled
elements when either eltWidth or eltHeight is specified (essentially
when layout is justified).   To ensure that the element is measured
before setLayoutBoundsSize() is called, we call validateNow() first.

QE Notes:
Doc Notes:
Bugs: sdk-22645
Reviewer: Evtim

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

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

--- frameworks/projects/spark/src/spark/components/DataGroup.as
+++ frameworks/projects/spark/src/spark/components/DataGroup.as
@@ -1161,8 +1161,16 @@

             if (createdIR || recycledIR)
             {
-                elt.setLayoutBoundsSize(eltWidth, eltHeight);
                 updateRenderer(elt, item);
+                if (!isNaN(eltWidth) || !isNaN(eltHeight))
+                {
+                    // If we're going to set the width or height of this
+                    // layout element, first force it to initialize its
+                    // measuredWidth,Height.
+                    if (elt is IInvalidating)
+                        IInvalidating(elt).validateNow();
+                    elt.setLayoutBoundsSize(eltWidth, eltHeight);
+                }
                 if (elt is IInvalidating)
                     IInvalidating(elt).validateNow();
             }


Transferred from the Adobe Open Source Subversion Repository

Revision: 20135
Author:   cframpto@adobe.com
Date:     2011-02-04T17:17:14.255516Z

Log Message:
-----------
Fixup ASdoc for text styles and properties in TextArea/TextInput/SkinnableTextBase which are common to spark and mobile text but have different descriptions/values.  We are restricted to how we can format the doc since there can only be one @copy and it must be last.  In addition, we do not want the summary line to be "Not supported for the mobile theme".  Stephen Gilson and I worked out a template which uses @see rather than @copy since there can be multiple @see tags.  Look at SkinnableTextBase.editable for an example when mobile supports the property and SkinnableTextBase.typicalText for an example when mobile does not support the property.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableTextField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/styles/metadata/BasicNonInheritingTextStyles.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/styles/metadata/SelectionFormatTextStyles.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/styles/metadata/AdvancedInheritingTextStyles.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/TextInput.as
+++ frameworks/projects/spark/src/spark/components/TextInput.as
@@ -280,6 +280,8 @@
 	 *
This property will also be ignored if the typicalText
 	 *  property is specified.

 	 *
+     *
For the Mobile theme, this is not supported.

+     *
      *  @default 10
      *
      *  @see spark.primitives.heightInLines


This only need to be unique, not meaningful.
(And yes, code running in a security boundary cannot set aliases, thank god)
Network traffic--.

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

--- src/as/com/threerings/util/ObjectMarshaller.as
+++ src/as/com/threerings/util/ObjectMarshaller.as
@@ -191,9 +191,9 @@
      */
     private static function staticInit () :void
     {
-        registerClassAlias("Point", Point);
-        registerClassAlias("Rectangle", Rectangle);
-        registerClassAlias("Dictionary", Dictionary);
+        registerClassAlias("P", Point);
+        registerClassAlias("R", Rectangle);
+        registerClassAlias("D", Dictionary);
     }
     staticInit();


Loading DVRTrait on all live streams

Loading DVRTrait on all live streams

--- HLSPlugin/src/com/kaltura/hls/HLSLoader.as
+++ HLSPlugin/src/com/kaltura/hls/HLSLoader.as
@@ -103,7 +103,7 @@
 				var curStream:HLSManifestStream = parser.streams[i];
 				item = new DynamicStreamingItem(curStream.uri, curStream.bandwidth, curStream.width, curStream.height);
 				items.push(item);
-				if ( !isDVR && curStream.manifest.isDVR ) isDVR = true;
+				if ( !curStream.manifest.streamEnds ) isDVR = true;
 			}

 			// Deal with single rate M3Us by stuffing a single stream in.


Transferred from the Adobe Open Source Subversion Repository

Revision: 12850
Author:   jimurphy@adobe.com
Date:     2009-12-11T14:57:14.623098Z

Log Message:
-----------
add 6 new DMV projects to the SDK:
automation
automation_air
automation_dmv
automation_flashflexkit
automation_spark
datavisualization

These projects are setup to build in an ant main call.  There are currently several warnings in the datavisualization project that will be cleaned up.  No checkintests exist for these projects as of yet.

I also modified the exisitng projects build files for easier management of the localization targets, bundle and fat-swc. If the projects that I updated:airframework,airspark,framework,playerglobal,rpc,and spark.  All the new projects have been implemented this same way.

QE notes: DMV folks should run through their tests
Doc notes: probably
Bugs: nope
Reviewer:
Tests run: ran the following targets: compile,checkintests,other.locales and doc
Is noteworthy for integration: no

Modified Paths:
--------------
1404 paths were modified

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

--- frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridGroupItemRenderer.as
+++ frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridGroupItemRenderer.as
@@ -0,0 +1,665 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.controls.advancedDataGridClasses
+{
+
+import flash.display.DisplayObject;
+import flash.display.InteractiveObject;
+import flash.events.Event;
+import flash.events.MouseEvent;
+import flash.geom.Point;
+import flash.geom.Rectangle;
+import flash.utils.getDefinitionByName;
+
+import mx.controls.AdvancedDataGrid;
+import mx.controls.listClasses.BaseListData;
+import mx.controls.listClasses.IDropInListItemRenderer;
+import mx.controls.listClasses.IListItemRenderer;
+import mx.core.IDataRenderer;
+import mx.core.IFlexDisplayObject;
+import mx.core.IFlexModuleFactory;
+import mx.core.IFontContextComponent;
+import mx.core.IToolTip;
+import mx.core.IUITextField;
+import mx.core.SpriteAsset;
+import mx.core.UIComponent;
+import mx.core.UITextField;
+import mx.core.mx_internal;
+import mx.events.AdvancedDataGridEvent;
+import mx.events.FlexEvent;
+import mx.events.ToolTipEvent;
+
+use namespace mx_internal;
+
+//--------------------------------------
+//  Events
+//--------------------------------------
+
+/**
+ *  Dispatched when the data property changes.
+ *
+ *
When you use a component as an item renderer,
+ *  the data property contains the data to display.
+ *  You can listen for this event and update the component
+ *  when the data property changes.

+ *
+ *  @eventType mx.events.FlexEvent.DATA_CHANGE
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Event(name="dataChange", type="mx.events.FlexEvent")]
+
+//--------------------------------------
+//  Styles
+//--------------------------------------
+
+/**
+ *  Text color of a component label.
+ *  The default value is 0x0B333C.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="color", type="uint", format="Color", inherit="yes")]
+
+/**
+ *  Color of the component if it is disabled.
+ *  The default value is 0xAAB3B3.
+ *
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="disabledColor", type="uint", format="Color", inherit="yes")]
+
+/**
+ *  The AdvancedDataGridGroupItemRenderer class defines the default item renderer for
+ *  the nodes of the navigation tree.
+ *  By default, the item renderer draws the text associated with each node in the tree,
+ *  an optional icon, and an optional disclosure icon.
+ *
+ *
You can override the default item renderer by creating a custom item renderer.

+ *
+ *  @see mx.controls.AdvancedDataGrid
+ *  @see mx.core.IDataRenderer
+ *  @see mx.controls.listClasses.IDropInListItemRenderer
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class AdvancedDataGridGroupItemRenderer extends UIComponent
+       implements IDataRenderer, IDropInListItemRenderer, IListItemRenderer,
+                  IFontContextComponent
+{
+    include "../../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function AdvancedDataGridGroupItemRenderer()
+    {
+        super();
+
+        // InteractiveObject variables.
+        mouseEnabled = false;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Variables
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    private var listOwner:AdvancedDataGrid;
+
+    /**
+     *  The internal IFlexDisplayObject that displays the icon in this renderer.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    protected var icon:IFlexDisplayObject;
+
+    /**
+     *  The internal UITextField that displays the text in this renderer.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    protected var label:IUITextField;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  data
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the data property.
+     */
+    private var _data:Object;
+
+    [Bindable("dataChange")]
+
+    /**
+     *  The implementation of the data property as
+     *  defined by the IDataRenderer interface.
+     *
+     *  @see mx.core.IDataRenderer
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get data():Object
+    {
+        return _data;
+    }
+
+    /**
+     *  @private
+     */
+    public function set data(value:Object):void
+    {
+        _data = value;
+
+        invalidateProperties();
+
+        dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE));
+    }
+
+    //----------------------------------
+    //  disclosureIcon
+    //----------------------------------
+
+    /**
+     *  The internal IFlexDisplayObject that displays the disclosure icon
+     *  in this renderer.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    protected var disclosureIcon:IFlexDisplayObject;
+
+    //----------------------------------
+    //  fontContext
+    //----------------------------------
+
+    /**
+    * @private
+    */
+    public function get fontContext():IFlexModuleFactory
+    {
+        return moduleFactory;
+    }
+
+    /**
+    * @private
+    */
+    public function set fontContext(moduleFactory:IFlexModuleFactory):void
+    {
+        this.moduleFactory = moduleFactory;
+    }
+
+    //----------------------------------
+    //  listData
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the listData property.
+     */
+    private var _listData:AdvancedDataGridListData;
+
+    [Bindable("dataChange")]
+
+    /**
+     *  The implementation of the listData property as
+     *  defined by the IDropInListItemRenderer interface.
+     *
+     *  @see mx.controls.listClasses.IDropInListItemRenderer
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get listData():BaseListData
+    {
+        return _listData;
+    }
+
+    /**
+     *  @private
+     */
+    public function set listData(value:BaseListData):void
+    {
+        _listData = AdvancedDataGridListData(value);
+
+        invalidateProperties();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override protected function createChildren():void
+    {
+        super.createChildren();
+
+        createLabel(-1);
+
+        addEventListener(ToolTipEvent.TOOL_TIP_SHOW, toolTipShowHandler);
+    }
+
+    /**
+     *  @private
+     */
+    override protected function commitProperties():void
+    {
+        super.commitProperties();
+
+        // if the font changed and we already created the label, we will need to
+        // destory it so it can be re-created, possibly in a different swf context.
+        if (hasFontContextChanged() && label != null)
+        {
+            var index:int = getChildIndex(DisplayObject(label));
+            removeLabel();
+            createLabel(index);
+        }
+
+        // we need to save the x values,
+        // when containers are used as item renderers then there
+        // might be a delay between the call to commitProperties() and
+        // updateDisplayList(). The icons will shift to the left during that time.
+        // positioning them again will avoid the shifting.
+        var oldIconX:Number;
+        var oldDisclosureIconX:Number;
+
+        if (icon)
+        {
+            // save the x position
+            oldIconX = icon.x;
+            removeChild(DisplayObject(icon));
+            icon = null;
+        }
+
+        if (disclosureIcon)
+        {
+            // save the x position
+            oldDisclosureIconX = disclosureIcon.x;
+            disclosureIcon.removeEventListener(MouseEvent.MOUSE_DOWN,
+                                               disclosureMouseDownHandler);
+            removeChild(DisplayObject(disclosureIcon));
+            disclosureIcon = null;
+        }
+
+        if (_data != null)
+        {
+            listOwner = AdvancedDataGrid(_listData.owner);
+
+            var column:AdvancedDataGridColumn =
+                listOwner.columns[_listData.columnIndex];
+
+            if (_listData.disclosureIcon)
+            {
+                var disclosureIconClass:Class = _listData.disclosureIcon;
+                var disclosureInstance:* = new disclosureIconClass();
+
+                // If not already an interactive object, then we'll wrap
+                // in one so we can dispatch mouse events.
+                if (!(disclosureInstance is InteractiveObject))
+                {
+                    var wrapper:SpriteAsset = new SpriteAsset();
+                    wrapper.addChild(disclosureInstance as DisplayObject);
+                    disclosureIcon = wrapper as IFlexDisplayObject;
+                }
+                else
+                {
+                    disclosureIcon = disclosureInstance;
+                }
+
+                addChild(disclosureIcon as DisplayObject);
+                // set the x position
+                if (oldDisclosureIconX)
+                    disclosureIcon.x = oldDisclosureIconX;
+
+                disclosureIcon.addEventListener(MouseEvent.MOUSE_DOWN,
+                                                disclosureMouseDownHandler);
+            }
+
+            if (_listData.icon)
+            {
+                var iconClass:Class = _listData.icon;
+                icon = new iconClass();
+
+                addChild(DisplayObject(icon));
+                // set the x position
+                if (oldIconX)
+                    icon.x = oldIconX;
+            }
+
+            label.text = _listData.label;
+            label.multiline = listOwner.variableRowHeight;
+            label.wordWrap = listOwner.columnWordWrap(column);
+
+             var dataTips:Boolean = listOwner.showDataTips;
+             if (column.showDataTips == true)
+             	dataTips = true;
+             if (column.showDataTips == false)
+                dataTips = false;
+            if (dataTips)
+            {
+                if (!(_data is AdvancedDataGridColumn) && (label.textWidth > label.width
+                	|| column.dataTipFunction || column.dataTipField
+                    || listOwner.dataTipFunction || listOwner.dataTipField))
+                {
+                    toolTip = column.itemToDataTip(_data);
+                }
+                else
+                {
+                    toolTip = null;
+                }
+            }
+            else
+            {
+                toolTip = null;
+            }
+        }
+        else
+        {
+            label.text = " ";
+            toolTip = null;
+        }
+
+        invalidateDisplayList();
+    }
+
+    /**
+     *  @private
+     */
+    override protected function measure():void
+    {
+        super.measure();
+
+        var w:Number = _data ? _listData.indent : 0;
+
+        if (disclosureIcon)
+            w += disclosureIcon.width;
+
+        if (icon)
+            w += icon.measuredWidth;
+
+        // guarantee that label width isn't zero because it messes up ability to measure
+        if (label.width < 4 || label.height < 4)
+        {
+            label.width = 4;
+            label.height = 16;
+        }
+
+        if (isNaN(explicitWidth))
+        {
+            w += label.getExplicitOrMeasuredWidth();
+            measuredWidth = w;
+        }
+        else
+        {
+            label.width = Math.max(explicitWidth - w, 4);
+        }
+
+        measuredHeight = label.getExplicitOrMeasuredHeight();
+        if (icon && icon.measuredHeight > measuredHeight)
+            measuredHeight = icon.measuredHeight;
+    }
+
+    /**
+     *  @private
+     */
+    override protected function updateDisplayList(unscaledWidth:Number,
+                                                  unscaledHeight:Number):void
+    {
+        super.updateDisplayList(unscaledWidth, unscaledHeight);
+
+        var startx:Number = _data ? _listData.indent : 0;
+
+        if (disclosureIcon)
+        {
+            disclosureIcon.x = startx;
+
+            startx = disclosureIcon.x + disclosureIcon.width;
+
+            disclosureIcon.setActualSize(disclosureIcon.width,
+                                         disclosureIcon.height);
+
+            disclosureIcon.visible = _data ?
+                                     _listData.hasChildren :
+                                     false;
+
+            // dont display disclosure icon if the column width is
+            // less than the start of the disclosure icon's x
+            if(disclosureIcon.visible)
+                disclosureIcon.visible = startx < unscaledWidth;
+        }
+
+        if (icon)
+        {
+            icon.x = startx;
+            startx = icon.x + icon.measuredWidth;
+            icon.setActualSize(icon.measuredWidth, icon.measuredHeight);
+
+            // dont display icon if the column width is less then the start of the icon's x
+            // else set the width of the item according to column's width
+            if (icon.x > unscaledWidth)
+            {
+                icon.visible = false;
+            }
+            else if (startx > unscaledWidth)
+            {
+                icon.setActualSize(unscaledWidth - icon.x, icon.measuredHeight);
+            }
+        }
+
+        label.x = startx;
+        label.setActualSize(unscaledWidth - startx, unscaledHeight);
+
+        var verticalAlign:String = getStyle("verticalAlign");
+        if (verticalAlign == "top")
+        {
+            label.y = 0;
+            if (icon)
+                icon.y = 0;
+            if (disclosureIcon)
+                disclosureIcon.y = 0;
+        }
+        else if (verticalAlign == "bottom")
+        {
+            label.y = unscaledHeight - label.height + 2; // 2 for gutter
+            if (icon)
+                icon.y = unscaledHeight - icon.height;
+            if (disclosureIcon)
+                disclosureIcon.y = unscaledHeight - disclosureIcon.height;
+        }
+        else
+        {
+            label.y = (unscaledHeight - label.height) / 2;
+            if (icon)
+                icon.y = (unscaledHeight - icon.height) / 2;
+            if (disclosureIcon)
+                disclosureIcon.y = (unscaledHeight - disclosureIcon.height) / 2;
+        }
+
+        var labelColor:Number;
+
+        if (data && parent)
+        {
+            if (!enabled)
+                labelColor = getStyle("disabledColor");
+            else if (listOwner.isItemHighlighted(listData.uid))
+                labelColor = getStyle("textRollOverColor");
+            else if (listOwner.isItemSelected(listData.uid))
+                labelColor = getStyle("textSelectedColor");
+            else
+                labelColor = getStyle("color");
+
+            label.setColor(labelColor);
+        }
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+    * @private
+    *
+    * Create the label child and add it as a child of this component.
+    *
+    * @param childIndex index of where to add the child. If -1, the text field is
+    *                  appended to the end of the list.
+    */
+    protected function createLabel(childIndex:int):void
+    {
+        if (!label)
+        {
+            label = IUITextField(createInFontContext(UITextField));
+            label.styleName = this;
+
+            if (childIndex == -1)
+                addChild(DisplayObject(label));
+            else
+                addChildAt(DisplayObject(label), childIndex);
+        }
+    }
+
+    /**
+    * @private
+    *
+    * Remove the label from this component.
+    */
+    protected function removeLabel():void
+    {
+        if (label != null)
+        {
+            removeChild(DisplayObject(label));
+            label = null;
+        }
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Event handlers
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    private function toolTipShowHandler(event:ToolTipEvent):void
+    {
+        var toolTip:IToolTip = event.toolTip;
+		var xPos:int = DisplayObject(systemManager).mouseX + 11;
+        var yPos:int = DisplayObject(systemManager).mouseY + 22;
+        // Calculate global position of label.
+        var pt:Point = new Point(xPos, yPos);
+        pt = DisplayObject(systemManager).localToGlobal(pt);
+        pt = DisplayObject(systemManager.getSandboxRoot()).globalToLocal(pt);
+
+        toolTip.move(pt.x, pt.y + (height - toolTip.height) / 2);
+
+        var screen:Rectangle = toolTip.screen;
+        var screenRight:Number = screen.x + screen.width;
+        if (toolTip.x + toolTip.width > screenRight)
+            toolTip.move(screenRight - toolTip.width, toolTip.y);
+    }
+
+    /**
+     *  @private
+     */
+    private function disclosureMouseDownHandler(event:Event):void
+    {
+        event.stopPropagation();
+
+        if (listOwner.isOpening || !listOwner.enabled)
+            return;
+
+        var open:Boolean = _listData.open;
+        _listData.open = !open;
+
+        listOwner.dispatchAdvancedDataGridEvent(AdvancedDataGridEvent.ITEM_OPENING,
+                                _listData.item, //item
+                                this,   //renderer
+                                event,  //trigger
+                                !open,  //opening
+                                true,   //animate
+                                true)   //dispatch
+    }
+
+    /**
+     *  @private
+     */
+    mx_internal function getLabel():IUITextField
+    {
+        return label;
+    }
+
+    /**
+     *  @private
+     */
+    mx_internal function getDisclosureIcon():IFlexDisplayObject
+    {
+        return disclosureIcon;
+    }
+}
+
+}


disabling debug print unless second boolean is set

--- WeaveJS/src/weavejs/core/SessionManager.as
+++ WeaveJS/src/weavejs/core/SessionManager.as
@@ -39,6 +39,8 @@
 	 */
 	public class SessionManager implements ISessionManager
 	{
+		public static var debugUnbusy:Boolean = false;
+
 		public function newLinkableChild(linkableParent:Object, linkableChildType:Class, callback:Function = null, useGroupedCallback:Boolean = false):*
 		{
 			if (!Weave.isLinkable(linkableParent))
@@ -714,7 +716,7 @@
 					if (linkableObjectIsBusy(owner))
 						continue; // busy again

-					if (WeaveAPI.debugAsyncStack)
+					if (WeaveAPI.debugAsyncStack && debugUnbusy)
 					{
 						var stackTraces:Object = map_unbusyStackTraces.get(owner);
 						JS.log('Triggering callbacks because they have not triggered since owner has becoming unbusy:', owner);
@@ -1070,9 +1072,6 @@
 			if (d2d_lhs_rhs_setState.get(primary, secondary) is Function)
 				return; // already linked

-			if (WeaveAPI.debugAsyncStack)
-				var stackTrace:Error = new Error();
-
 			var setPrimary:Function = function():void { setSessionState(primary, getSessionState(secondary), true); };
 			var setSecondary:Function = function():void { setSessionState(secondary, getSessionState(primary), true); };


Transferred from the Adobe Open Source Subversion Repository

Revision: 12850
Author:   jimurphy@adobe.com
Date:     2009-12-11T14:57:14.623098Z

Log Message:
-----------
add 6 new DMV projects to the SDK:
automation
automation_air
automation_dmv
automation_flashflexkit
automation_spark
datavisualization

These projects are setup to build in an ant main call.  There are currently several warnings in the datavisualization project that will be cleaned up.  No checkintests exist for these projects as of yet.

I also modified the exisitng projects build files for easier management of the localization targets, bundle and fat-swc. If the projects that I updated:airframework,airspark,framework,playerglobal,rpc,and spark.  All the new projects have been implemented this same way.

QE notes: DMV folks should run through their tests
Doc notes: probably
Bugs: nope
Reviewer:
Tests run: ran the following targets: compile,checkintests,other.locales and doc
Is noteworthy for integration: no

Modified Paths:
--------------
1404 paths were modified

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

--- frameworks/projects/automation_spark/src/mx/automation/delegates/core/UIFTETextFieldAutomationImpl.as
+++ frameworks/projects/automation_spark/src/mx/automation/delegates/core/UIFTETextFieldAutomationImpl.as
@@ -0,0 +1,220 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.delegates.core
+{
+	import flash.display.DisplayObject;
+	import flash.display.DisplayObjectContainer;
+	import flash.events.Event;
+
+	import mx.automation.Automation;
+	import mx.automation.IAutomationObject;
+	import mx.core.UIFTETextField;
+
+	[Mixin]
+	/**
+	 *
+	 *  Defines the methods and properties required to perform instrumentation for the
+	 *  UIFTETextField class.
+	 *
+	 *  @ see mx.core.UIFTETextField
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 4
+	 */
+
+	public class UIFTETextFieldAutomationImpl implements IAutomationObject
+	{
+
+		include "../../../core/Version.as";
+
+		//--------------------------------------------------------------------------
+		//
+		//  Class methods
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  Registers the delegate class for a component class with automation manager.
+		 *
+		 *  @param root The SystemManger of the application.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 4
+		 */
+		public static function init(root:DisplayObject):void
+		{
+			Automation.registerDelegateClass(UIFTETextField, UIFTETextFieldAutomationImpl);
+		}
+
+		/**
+		 * Constructor.
+		 * @param obj UIFTETextField object to be automated.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 4
+		 */
+		public function UIFTETextFieldAutomationImpl(obj:UIFTETextField)
+		{
+			super();
+			uiFTETextField = obj;
+		}
+
+		//--------------------------------------------------------------------------
+		//
+		//  Variables
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 * @private
+		 */
+		protected var uiFTETextField:UIFTETextField;
+
+
+		//--------------------------------------------------------------------------
+		//
+		//  Properties
+		//
+		//--------------------------------------------------------------------------
+
+		public function get automationDelegate():Object
+		{
+			trace("UIFTETextFieldAutomationImpl:automationDelegate - Invalid getter function call. Should have been called on the component");
+			return this;
+		}
+
+		public function set automationDelegate(delegate:Object):void
+		{
+			trace("UIFTETextFieldAutomationImpl:automationDelegate - Invalid setter function call. Should have been called on the component");
+		}
+
+		public function get automationName():String
+		{
+			return uiFTETextField.text;
+		}
+
+		public function set automationName(name:String):void
+		{
+			if( uiFTETextField is IAutomationObject)
+			{
+				var tempObj:IAutomationObject = IAutomationObject(uiFTETextField);
+				if(tempObj != null)
+				{
+					tempObj.automationName = name;
+				}
+			}
+		}
+
+		public function get automationValue():Array
+		{
+			return [ automationName ];
+		}
+
+		public function get automationOwner():DisplayObjectContainer
+		{
+			trace ("This method should not be called on delegate.Should have been called on the component");
+
+			if(uiFTETextField)
+				return uiFTETextField.owner;
+
+			return null;
+		}
+
+		public function get automationParent():DisplayObjectContainer
+		{
+			trace ("This method should not be called on delegate.Should have been called on the component");
+
+			if(uiFTETextField)
+				return uiFTETextField.parent;
+
+			return null;
+		}
+
+		//---------------------------------
+		//  automationEnabled
+		//---------------------------------
+		public function get automationEnabled():Boolean
+		{
+			trace ("This method should not be called on delegate.Should have been called on the component");
+			if(uiFTETextField)
+				return uiFTETextField.enabled;
+
+			return false;
+		}
+
+		public function get automationVisible():Boolean
+		{
+			trace ("This method should not be called on delegate.Should have been called on the component");
+			if(uiFTETextField)
+				return uiFTETextField.visible;
+
+			return false;
+		}
+
+		public function createAutomationIDPart(child:IAutomationObject):Object
+		{
+			return null;
+		}
+
+		public function createAutomationIDPartWithRequiredProperties(child:IAutomationObject, properties:Array):Object
+		{
+			return null;
+		}
+
+		public function resolveAutomationIDPart(criteria:Object):Array
+		{
+			return [];
+		}
+
+		public function getAutomationChildren():Array
+		{
+			return null;
+		}
+
+		public function getAutomationChildAt(index:int):IAutomationObject
+		{
+			return null;
+		}
+
+		public function get numAutomationChildren():int
+		{
+			return 0;
+		}
+
+		public function get showInAutomationHierarchy():Boolean
+		{
+			trace("UIFTETextFieldAutomationImpl:showInAutomationHierarchy - Invalid getter function call. Should have been called on the component");
+			return uiFTETextField.showInAutomationHierarchy;
+		}
+
+		public function set showInAutomationHierarchy(value:Boolean):void
+		{
+			trace("UIFTETextFieldAutomationImpl:showInAutomationHierarchy - Invalid setter function call. Should have been called on the component");
+		}
+
+		public function get automationTabularData():Object
+		{
+			return null;
+		}
+
+		public function replayAutomatableEvent(event:Event):Boolean
+		{
+			return false;
+		}
+	}
+}


Fix specular when normal map is set manually inside the shader

--- src/aerys/minko/render/shader/part/phong/PhongShaderPart.as
+++ src/aerys/minko/render/shader/part/phong/PhongShaderPart.as
@@ -43,6 +43,7 @@
 		private var _varianceShadowMapAttenuation	: VarianceShadowMapAttenuationShaderPart;
 		private var _exponentialShadowMapAttenuation: ExponentialShadowMapAttenuationShaderPart;

+
 		private function get infinitePart() : InfiniteShaderPart
 		{
 			_infinitePart ||= new InfiniteShaderPart(main);
@@ -509,7 +510,14 @@
 				);

 				if (normal)
-					return infinitePart.computeSpecularInWorldSpace(lightId, normal);
+				{
+					infinitePart.customNormal = normal;
+
+					return normalMappingType != NormalMappingType.NONE
+						? infinitePart.computeSpecularInTangentSpace(lightId)
+						: infinitePart.computeSpecularInWorldSpace(lightId, normal);
+
+				}
 				else
 					return normalMappingType != NormalMappingType.NONE
 						? infinitePart.computeSpecularInTangentSpace(lightId)


rename requirement to plaque/script

rename requirement to plaque/script

--- flexEditor/src/org/arisgames/editor/util/AppConstants.as
+++ flexEditor/src/org/arisgames/editor/util/AppConstants.as
@@ -80,17 +80,17 @@

     // Requirement Options
     public static const REQUIREMENT_PLAYER_HAS_ITEM_DATABASE:String = "PLAYER_HAS_ITEM";
-    public static const REQUIREMENT_PLAYER_HAS_ITEM_HUMAN:String = "Player Has At Least qty of an Item";
+    public static const REQUIREMENT_PLAYER_HAS_ITEM_HUMAN:String = "Player Has At Least Qty of an Item";
     public static const REQUIREMENT_PLAYER_DOES_NOT_HAVE_ITEM_DATABASE:String = "PLAYER_DOES_NOT_HAVE_ITEM";
-    public static const REQUIREMENT_PLAYER_DOES_NOT_HAVE_ITEM_HUMAN:String = "Player Has Less Than qty of an Item";
+    public static const REQUIREMENT_PLAYER_DOES_NOT_HAVE_ITEM_HUMAN:String = "Player Has Less Than Qty of an Item";
     public static const REQUIREMENT_PLAYER_VIEWED_ITEM_DATABASE:String = "PLAYER_VIEWED_ITEM";
     public static const REQUIREMENT_PLAYER_VIEWED_ITEM_HUMAN:String = "Player Viewed Item";
     public static const REQUIREMENT_PLAYER_HAS_NOT_VIEWED_ITEM_DATABASE:String = "PLAYER_HAS_NOT_VIEWED_ITEM";
     public static const REQUIREMENT_PLAYER_HAS_NOT_VIEWED_ITEM_HUMAN:String = "Player Never Viewed Item";
     public static const REQUIREMENT_PLAYER_VIEWED_NODE_DATABASE:String = "PLAYER_VIEWED_NODE";
-    public static const REQUIREMENT_PLAYER_VIEWED_NODE_HUMAN:String = "Player Viewed Plaque";
+    public static const REQUIREMENT_PLAYER_VIEWED_NODE_HUMAN:String = "Player Viewed Plaque/Script";
     public static const REQUIREMENT_PLAYER_HAS_NOT_VIEWED_NODE_DATABASE:String = "PLAYER_HAS_NOT_VIEWED_NODE";
-    public static const REQUIREMENT_PLAYER_HAS_NOT_VIEWED_NODE_HUMAN:String = "Player Never Viewed Plaque";
+    public static const REQUIREMENT_PLAYER_HAS_NOT_VIEWED_NODE_HUMAN:String = "Player Never Viewed Plaque/Script";
     public static const REQUIREMENT_PLAYER_VIEWED_NPC_DATABASE:String = "PLAYER_VIEWED_NPC";
     public static const REQUIREMENT_PLAYER_VIEWED_NPC_HUMAN:String = "Player Greeted By Character";
     public static const REQUIREMENT_PLAYER_HAS_NOT_VIEWED_NPC_DATABASE:String = "PLAYER_HAS_NOT_VIEWED_NPC";


Transferred from the Adobe Open Source Subversion Repository

Revision: 21680
Author:   jszeto@adobe.com
Date:     2011-07-21T21:56:22.533455Z

Log Message:
-----------
Item Snapping, SpinnerList and DateSpinner Initial checkin

Merging in changes from sandbox development branch

SpinnerList and DateSpinner are in usable states, but there is still unimplemented functionality.

QE notes: none
Doc notes: none
Bugs: none
Reviewer: Tom Kraikit, Eric Day, Jason Szeto
Tests run: checkintests, full cyclone
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="A">/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/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/DateSpinnerSkin.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/DateAndTimeRangeList.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/4.y/development/eclipse/flex/DateSpinnerTest</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/development/eclipse/flex/DateSpinnerTest/.settings/org.eclipse.core.resources.prefs</path>
<path kind="file" action="A">/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/layouts/HorizontalLayout.as</path>
<path kind="file" action="A">/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/mobilecomponents/manifest.xml</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/CalendarDate.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/DateSelectorDisplayMode.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/4.y/development/eclipse/flex/DateSpinnerTest/.settings</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile320/assets/SpinnerListContainerBackground.fxg</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile240/assets/SpinnerListContainerBackground.fxg</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/development/eclipse/flex/DateSpinnerTest/src/DateSpinnerTest-app.xml</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/effects/ThrowEffect.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile160/assets/SpinnerListContainerBackground.fxg</path>
<path kind="file" action="A">/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/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/4.y/development/eclipse/flex/DateSpinnerTest/src/views</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/layouts/VerticalSpinnerLayout.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/4.y/development/eclipse/flex/DateSpinnerTest/src</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/development/eclipse/flex/DateSpinnerTest/.flexProperties</path>
<path kind="dir" action="A">/private/flex/sdk/branches/4.y/development/eclipse/flex/DateSpinnerTest/libs</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="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListContainerSkin.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/development/eclipse/flex/DateSpinnerTest/.actionScriptProperties</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/bundles/en_US/components.properties</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/supportClasses/TouchScrollHelper.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile320/assets/TabbedViewNavigatorButtonBarFirstButton_down.fxg</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/SpinnerList.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/development/eclipse/flex/DateSpinnerTest/src/DateSpinnerTest.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/development/eclipse/flex/DateSpinnerTest/src/blackberry-tablet.xml</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/development/eclipse/flex/DateSpinnerTest/src/views/DateSpinnerTestHomeView.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as</path>
<path kind="dir" action="M">/private/flex/sdk/branches/4.y</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile320/assets/SpinnerListContainerSelectionIndicator.fxg</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile240/assets/SpinnerListContainerSelectionIndicator.fxg</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/SpinnerListItemRenderer.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/.settings</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile160/assets/SpinnerListContainerSelectionIndicator.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/MobileThemeClasses.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/development/eclipse/flex/DateSpinnerTest/.project</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile320/assets/SpinnerListContainerShadow.fxg</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile240/assets/SpinnerListContainerShadow.fxg</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile160/assets/SpinnerListContainerShadow.fxg</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -8467,7 +8467,7 @@
     /**
      *  @private
      */
-    private function measureSizes():Boolean
+    mx_internal function measureSizes():Boolean
     {
         var changed:Boolean = false;