Transferred from the Adobe Open Source Subversion Repository

Revision: 3082
Author:   clucier@adobe.com
Date:     2008-09-03T18:12:36.277296Z

Log Message:
-----------
Adding patent id markers to source files per request from legal.
QA: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/states/AddItems.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/SetEventHandler.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/SetStyle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/StatesGenerator.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/SetProperty.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/State.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/StatesModel.java</path>

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

--- frameworks/projects/framework/src/mx/states/SetEventHandler.as
+++ frameworks/projects/framework/src/mx/states/SetEventHandler.as
@@ -6,6 +6,8 @@
 //
 //  NOTICE: Adobe permits you to use, modify, and distribute this file
 //  in accordance with the terms of the license agreement accompanying it.
+//
+//  AdobePatentID="B770"
 //
 ////////////////////////////////////////////////////////////////////////////////


Transferred from the Adobe Open Source Subversion Repository

Revision: 14095
Author:   cframpto@adobe.com
Date:     2010-02-10T17:33:30.511669Z

Log Message:
-----------
Merge 14076 from 4.x branch to trunk.

Revision: 14076
Author:   cframpto@adobe.com
Date:     2010-02-09 15:23:15 -0800 (Tue, 09 Feb 2010)
Log Message:
***********
Add UIComponent.mapKeycodeForLayoutDirection().  This should be called by any keyDownHandlers() which handles Keyboard.LEFT and Keyboard.RIGHT, and optionally for Keyboard.UP and Keyboard.DOWN, if they behave like Keyboard.LEFT and Keyboard.RIGHT.  If the layoutDirection="rtl", it maps LEFT to RIGHT, RIGHT to LEFT, UP to RIGHT and DOWN to LEFT.  This allows the keyDownHandler() to perform the correct action without adding lots of special case code to the key handling code.

QE notes: For layoutDirection="rtl" need to test LEFT, RIGHT, UP and DOWN keys.
Doc notes: None
Bugs: SDK-25330
Reviewed By: Hans
Tests run: checkintests
Is noteworthy for integration: No

Ticket Links:
***********
    http://bugs.adobe.com/jira/browse/SDK-25330

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="dir" action="M">/flex/sdk/trunk/frameworks</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/spark/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.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/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.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/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/SliderThumb.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as</path>

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

--- frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
+++ frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
@@ -6848,6 +6848,9 @@
     protected function moveSelectionHorizontally(code:uint, shiftKey:Boolean,
                                                  ctrlKey:Boolean):void
     {
+        // For Keyboard.LEFT and Keyboard.RIGHT and maybe Keyboard.UP and Keyboard.DOWN,
+        // need to account for layoutDirection="rtl".
+
         return;
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 8643
Author:   rfrishbe@adobe.com
Date:     2009-07-16T21:22:55.207587Z

Log Message:
-----------
Adding two methods to IAutomationObject, createAutomationIDPartWithRequiredProperties() and getAutomationChildren().  Had to add these to every class that implements IAutomationObject: FlexNativeMenu, UIMovieClip, UIComponent, UITextField, and UITLFTextField.  The implementations are really simple and just call to the automationDelegate or return null.

QE notes: -
Doc notes: -
Bugs: SDK-22086
Reviewer: Rani, Deepa
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/automation/IAutomationObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/core/UITLFTextField.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/airframework/src/mx/controls/FlexNativeMenu.as</path>

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

--- frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as
+++ frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as
@@ -1919,15 +1919,16 @@
      *  @inheritDoc
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function resolveAutomationIDPart(criteria:Object):Array
+    public function createAutomationIDPartWithRequiredProperties(child:IAutomationObject,
+                                                                 properties:Array):Object
     {
         if (automationDelegate)
-            return automationDelegate.resolveAutomationIDPart(criteria);
-        return [];
+            return automationDelegate.createAutomationIDPartWithRequiredProperties(child, properties);
+        return null;
     }

     /**
@@ -1938,10 +1939,40 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 4
      */
+    public function resolveAutomationIDPart(criteria:Object):Array
+    {
+        if (automationDelegate)
+            return automationDelegate.resolveAutomationIDPart(criteria);
+        return [];
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 4
+     */
     public function getAutomationChildAt(index:int):IAutomationObject
     {
         if (automationDelegate)
             return automationDelegate.getAutomationChildAt(index);
+        return null;
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function getAutomationChildren():Array
+    {
+        if (automationDelegate)
+            return automationDelegate.getAutomationChildren();
         return null;
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 8
Author:   open-source-svn-admin@adobe.com
Date:     2007-12-15T01:49:31.087529Z

Log Message:
-----------
The beginning of the open-source Flex SDK.

Populated the flex/sdk/trunk directory with an open-source subset of files from //depot/flex/sdk/...@191097 in the Faramir Perforce server. This changelist is a bit past the 3.0rc0 build.

The Ant scripts will not successfully build yet. They need to be adapted to the open-source subset.

Modified Paths:
--------------
2532 paths were modified

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

--- frameworks/projects/rpc/src/mx/messaging/messages/ISmallMessage.as
+++ frameworks/projects/rpc/src/mx/messaging/messages/ISmallMessage.as
@@ -0,0 +1,41 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.messaging.messages
+{
+
+/**
+ * A marker interface that is used to indicate that an IMessage has an
+ * alternative smaller form for serialization.
+ * @private
+ */
+public interface ISmallMessage extends IMessage
+{
+    //--------------------------------------------------------------------------
+    //
+    // Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     * This method must be implemented by subclasses that have a "small" form,
+     * typically achieved through the use of
+     * flash.utils.IExternalizable. If a small form is not
+     * available this method should return null.
+     *
+     * @return Returns An alternative representation of an
+     * flex.messaging.messages.IMessage so that the serialized form
+     * is smaller than the regular message.
+     */
+    function getSmallMessage():IMessage;
+}
+
+}


SimpleInteractiveVisualization.showProbeTooltips:
-renamed barchart specific parameter horizontalMode to useXMax (use
xMax of the record's bounds instead of the xCenter)
-reorganized if statements so the code is more readable

Fixed bug in constrainTooltipToStage() so xAxis tooltips are now
constrained to the stage if they exceed stage.stageWidth, removed
unnecessary while loop

Change-Id: Ic9d533b003007b8059bfdb5702b68b2bfd2466f3

--- WeaveUI/src/weave/visualization/layers/SimpleInteractiveVisualization.as
+++ WeaveUI/src/weave/visualization/layers/SimpleInteractiveVisualization.as
@@ -555,10 +555,9 @@
 		 * @param bounds data bounds from a record key
 		 * @param labelFunction function to generate strings from the displayValue
 		 * @param xAxis flag to specify whether this is an xAxis tooltip
-		 * @param horizontalMode flag to specify bar chart horizontal mode
-		 *
+		 * @param useXMax flag to specify whether the toolTip should appear at the xMax of the record's bounds (as opposed to the xCenter, which positions the toolTip at the middle)
 		 */
-		public function showProbeTooltips(displayValue:Number,bounds:IBounds2D,labelFunction:Function,xAxis:Boolean=false, horizontalMode:Boolean=false):void
+		public function showProbeTooltips(displayValue:Number,bounds:IBounds2D,labelFunction:Function,xAxis:Boolean=false, useXMax:Boolean=false):void
 		{
 			var yPoint:Point = new Point();
 			var text1:String = "";
@@ -566,15 +565,11 @@
 				text1=labelFunction(displayValue);
 			else text1=displayValue.toString();

-			if(xAxis)
-			{
-				yPoint.x = bounds.getXCenter();
-				yPoint.y = _yAxisLayer.axisPlotter.axisLineMinValue.value;
-			} else if( horizontalMode)
-			{
-				yPoint.x = bounds.getXMax() ;
-				yPoint.y = _yAxisLayer.axisPlotter.axisLineMinValue.value;
-			} else if(!xAxis && !horizontalMode)
+			if(xAxis || useXMax)
+			{
+				yPoint.x = (xAxis) ? bounds.getXCenter() : bounds.getXMax();
+				yPoint.y = _yAxisLayer.axisPlotter.axisLineMinValue.value;
+			} else
 			{
 				yPoint.x = _xAxisLayer.axisPlotter.axisLineMinValue.value;
 				yPoint.y = bounds.getYMax() ;
@@ -584,15 +579,15 @@
 			tempDataBounds.projectPointTo(yPoint, tempScreenBounds);
 			yPoint = localToGlobal(yPoint);

-			if(!xAxis && !horizontalMode)
+			if(xAxis || useXMax)
+			{
+				xAxisTooltip = ToolTipManager.createToolTip(text1, yPoint.x, yPoint.y);
+				xAxisTooltip.move(xAxisTooltip.x-(xAxisTooltip.width/2),xAxisTooltip.y);
+				constrainTooltipToStage();
+			} else
 			{
 				yAxisTooltip = ToolTipManager.createToolTip(text1, yPoint.x, yPoint.y);
 				yAxisTooltip.move(yAxisTooltip.x-yAxisTooltip.width, yAxisTooltip.y-(yAxisTooltip.height/2));
-				constrainTooltipToStage();
-			} else
-			{
-				xAxisTooltip = ToolTipManager.createToolTip(text1, yPoint.x, yPoint.y);
-				xAxisTooltip.move(xAxisTooltip.x-(xAxisTooltip.width/2),xAxisTooltip.y);
 				constrainTooltipToStage();
 			}
 			setProbeToolTipAppearance();
@@ -629,12 +624,10 @@
 			else yAxisTooltipPtr = null;
 			if( xAxisTooltip != null )
 			{
-				var xMax:Number = stage.stageWidth - xAxisTooltip.width;
-				var xMaxTooltip:Number = xAxisTooltip.x+xAxisTooltip.width;
-				while( xMaxTooltip > xMax)
-				{
-					xAxisTooltip.move(--xAxisTooltip.x, xAxisTooltip.y);
-					xMaxTooltip = xAxisTooltip.x+xAxisTooltip.width;
+				var xMax:Number = stage.stageWidth- (xAxisTooltip.width/2);
+				var xMaxTooltip:Number = xAxisTooltip.x+(xAxisTooltip.width/2);
+				if(xMaxTooltip > xMax) {
+					xAxisTooltip.move(xMax-(xAxisTooltip.width/2),xAxisTooltip.y);
 				}
 				xAxisTooltipPtr = xAxisTooltip;
 			}


give/Take saving

give/Take saving

--- flexEditor/src/org/arisgames/editor/view/PlayerStateChangesEditorView.as
+++ flexEditor/src/org/arisgames/editor/view/PlayerStateChangesEditorView.as
@@ -132,7 +132,6 @@
 			dg.editedItemRenderer.data = st;
 			var newAd:Number = PlayerStateChangesItemComboBoxMX(DataGrid(evt.target).itemEditorInstance).cbo.selectedItem.data;

-
 			// Close the cell editor.
 			dg.destroyItemEditor();

@@ -142,20 +141,22 @@

 			// Notify the list control to update its display.
 			pscs.refresh();
-
-
-
-
-
+
 		}

 		if (DataGrid(evt.target).itemEditorInstance is PlayerStateChangesEditorActionRendererMX)
 		{
+			trace("PlayerStateChangeEditorView: Event CBO");
 			evt.preventDefault();

 			// Get new requirement from editor for renderer to display
 			st = PlayerStateChangesEditorActionRendererMX(DataGrid(evt.target).itemEditorInstance).cbo.text;
 			dg.editedItemRenderer.data = st;
+			psc.actionHuman = st;
+			trace("PlayerStateChangeEditorView: st:" + st);
+
+
+
 		}


FLEX-34053 - MaskedTextInput - Implement windows exclusive 'Insert' key behaviour in MaskedTextInput Component

--- frameworks/projects/experimental/src/spark/components/MaskedTextInput.as
+++ frameworks/projects/experimental/src/spark/components/MaskedTextInput.as
@@ -20,6 +20,8 @@
     import flash.events.Event;
     import flash.events.TextEvent;

+    import flashx.textLayout.edit.EditManager;
+
     import flashx.textLayout.edit.SelectionState;
     import flashx.textLayout.operations.CompositeOperation;
     import flashx.textLayout.operations.CopyOperation;
@@ -375,7 +377,17 @@
                 var insertOp:InsertTextOperation = event.operation as InsertTextOperation;
                 if (insertOp.deleteSelectionState != null && !insertOp.deleteSelectionState.tlf_internal::selectionManagerOperationState) {
                     //OVERRIDING INSERT
-                    if (isSeparator(ac)) {
+                    if (EditManager.overwriteMode) {
+                        //windows insert mode on (note that Flash Player does not track insertion mode state before running a SWF)
+                        if (isSeparator(ac - 1)) {
+                            outputText = super.text.substring(0, insertOp.originalSelectionState.anchorPosition + 1) + super.text.substring(insertOp.originalSelectionState.anchorPosition + 2);
+                        } else {
+                            outputText = super.text;
+                        }
+                        an -= 1;
+                        ac -= 1;
+                    }
+                    else if (isSeparator(ac)) {
                         outputText = super.text.substring(0, insertOp.originalSelectionState.anchorPosition + 1) + insertOp.text + super.text.substring(insertOp.originalSelectionState.activePosition + 1);
                     } else {
                         outputText = super.text.substring(0, insertOp.originalSelectionState.anchorPosition) + insertOp.text + super.text.substring(insertOp.originalSelectionState.activePosition);
@@ -392,7 +404,7 @@
                         ac = ac + 1;
                     }
                 } else {
-
+                    //INSERT (TEXT NOT COMPLETE)
                     for (var i:int = 0; i < maskText.length; i++) {
                         if (stack.length == 0) {
                             break;
@@ -467,6 +479,11 @@
          * @param event the TextEvent
          */
         protected function overrideText(event:TextEvent):void {
+            //windows insert mode on (note that Flash Player does not track insertion mode state before running a SWF)
+            if (EditManager.overwriteMode) {
+                return;
+            }
+
             var an:int = selectionAnchorPosition;
             var ac:int = selectionActivePosition;


Transferred from the Adobe Open Source Subversion Repository

Revision: 17770
Author:   cframpto@adobe.com
Date:     2010-09-20T19:17:24.582797Z

Log Message:
-----------
When changing the column's width, maxWidth or minWidth, call setContentSize(0,0) so the scroller will allow the viewport to be sized smaller.

QE notes:
Doc notes:
Bugs: SDK-27530
Reviewer: Hans
Tests run: cyclone
Is noteworthy for integration:

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
@@ -486,7 +486,14 @@
         _width = value;

         invalidateGrid();
-
+
+        // Reset content size so scroller's viewport can be resized.  There
+        // is loop-prevention logic in the scroller which may not allow the
+        // width/height to be reduced if there are automatic scrollbars.
+        // See ScrollerLayout/measure().
+        if (grid)
+            grid.setContentSize(0, 0);
+
         dispatchChangeEvent("widthChanged");
     }

@@ -522,6 +529,13 @@
         _minWidth = value;

         invalidateGrid();
+
+        // Reset content size so scroller's viewport can be resized.  There
+        // is loop-prevention logic in the scroller which may not allow the
+        // width/height to be reduced if there are automatic scrollbars.
+        // See ScrollerLayout/measure().
+        if (grid)
+            grid.setContentSize(0, 0);

         dispatchChangeEvent("minWidthChanged");
     }
@@ -558,6 +572,13 @@
         _maxWidth = value;

         invalidateGrid();
+
+        // Reset content size so scroller's viewport can be resized.  There
+        // is loop-prevention logic in the scroller which may not allow the
+        // width/height to be reduced if there are automatic scrollbars.
+        // See ScrollerLayout/measure().
+        if (grid)
+            grid.setContentSize(0, 0);

         dispatchChangeEvent("maxWidthChanged");
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 18359
Author:   hmuller@adobe.com
Date:     2010-10-28T23:57:55.822002Z

Log Message:
-----------
Changed GridLayout/layoutItemRenderers(): call IGridItemRenderer/prepare() earlier, after the render has been initialized but before it has been validated.

Made similar change to GridColumnHeaderGroupLayout/updateDisplayList().

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

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
@@ -907,8 +907,6 @@

         const newVisibleRowIndices:Vector.<int> = new Vector.<int>();
         const newVisibleItemRenderers:Vector.<IGridItemRenderer> = new Vector.<IGridItemRenderer>();
-        const allocatedItemRenderers:Vector.<IGridItemRenderer> = new Vector.<IGridItemRenderer>();
-        var createdItemRenderers:Vector.<IGridItemRenderer> = null;

         var cellX:Number = startCellX;
         var cellY:Number = startCellY;
@@ -928,23 +926,13 @@
                     column = getGridColumn(colIndex);
                     var factory:IFactory = itemToRenderer(column, dataItem);
                     renderer = allocateGridElement(factory) as IGridItemRenderer;
-
-                    // Track which item renderers were created (uncommon) or recycled
-                    // for the sake of the IGridItemRenderer prepare() method.
-
-                    if (createdGridElement)
-                    {
-                        if (!createdItemRenderers)
-                            createdItemRenderers = new Vector.<IGridItemRenderer>();
-                        createdItemRenderers.push(renderer);
-                    }
-                    else
-                        allocatedItemRenderers.push(renderer);
                 }
                 if (renderer.parent != rendererLayer)
                     rendererLayer.addElement(renderer);
                 newVisibleItemRenderers.push(renderer);
                 initializeItemRenderer(renderer, rowIndex, colIndex);
+
+                renderer.prepare(!createdGridElement);

                 var colWidth:Number = gridDimensions.getColumnWidth(colIndex);
                 layoutItemRenderer(renderer, cellX, cellY, colWidth, rowHeight);
@@ -987,17 +975,6 @@
             else
                 availableHeight -= rowHeight + rowGap;
         }
-
-        // Run the prepare() method for renderers created or recycled for this pass
-
-        if (createdItemRenderers)
-        {
-            for each (var createdRenderer:IGridItemRenderer in createdItemRenderers)
-                createdRenderer.prepare(false);
-        }
-
-        for each (var allocatedRenderer:IGridItemRenderer in allocatedItemRenderers)
-            allocatedRenderer.prepare(true);

         // Free renderers that aren't in use


Transferred from the Adobe Open Source Subversion Repository

Revision: 10776
Author:   smgilson@adobe.com
Date:     2009-10-01T15:13:17.678879Z

Log Message:
-----------
Minor ASDoc updates for UIComponent.as add/remove events, List.as seletectedIndices/selectedItems, LayoutBase.as useVirtualLayout

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
+++ frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
@@ -156,6 +156,9 @@
      *  HorizontalLayout, and TileLayout supports virtual layout.
      *  Layout subclasses that do not support virtualization must prevent changing
      *  this property.

+     *
+     *
Note: The BasicLayout class throws a run-time error if you set
+     *  useVirtualLayout to true.

      *
      *
When true, layouts that support virtualization must use
      *  the target.getVirtualElementAt() method,


Transferred from the Adobe Open Source Subversion Repository

Revision: 21319
Author:   build@adobe.com
Date:     2011-06-01T17:45:41.136089Z

Log Message:
-----------
Version update to 4.5.2

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/airspark/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_air/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_spark/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/flex-config.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_spark/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark_dmv/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/rpc/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mx/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_flashflexkit/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_dmv/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/build.properties</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/modules/compiler/src/java/flex2/tools/VersionInfo.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/airframework/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/advancedgrids/src/mx/core/Version.as</path>

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

--- frameworks/projects/spark/src/spark/core/Version.as
+++ frameworks/projects/spark/src/spark/core/Version.as
@@ -15,4 +15,4 @@
  *  @private
  *  Version string for this class.
  */
-mx_internal static const VERSION:String = "4.5.1.0";
+mx_internal static const VERSION:String = "4.5.2.0";


Transferred from the Adobe Open Source Subversion Repository

Revision: 5914
Author:   jimurphy@adobe.com
Date:     2009-04-03T19:51:17.243500Z

Log Message:
-----------
Merge i11.5 revisions 5871-5872,5883,5885,5902 -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/flex-config.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/states/statefulNodes.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/i11.5/frameworks/mxml-2009-manifest.xml" copyfrom-rev="5902" action="A">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/Grammar.jj</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale3D.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/effectClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/air-config.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/spark-air-manifest.xml</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/halo-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/i11.5/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as" copyfrom-rev="5902" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>

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

--- frameworks/projects/spark/src/spark/effects/Move.as
+++ frameworks/projects/spark/src/spark/effects/Move.as
@@ -15,7 +15,7 @@

 import mx.effects.IEffectInstance;

-import spark.effects.effectClasses.AnimateTransformInstance;
+import spark.effects.supportClasses.AnimateTransformInstance;

 /**
  * This class is a utility wrapper around the AnimateTransform effect, exposing the


added stopEditVariableName()

added stopEditVariableName()

--- WeaveUI/src/weave/ui/VariableListController.as
+++ WeaveUI/src/weave/ui/VariableListController.as
@@ -294,6 +294,13 @@
 					dg.editedItemPosition = { columnIndex: 0, rowIndex: rowIndex };
 			}
 		}
+
+		public function stopEditVariableName():void
+		{
+			var dg:DataGrid = _editor as DataGrid;
+			if (dg)
+				dg.editedItemPosition = null;
+		}

 		/**
 		 * @param item


Transferred from the Adobe Open Source Subversion Repository

Revision: 7089
Author:   srahim@adobe.com
Date:     2009-05-19T20:50:14.933082Z

Log Message:
-----------
ASDoc updates
QE Notes: None
Doc Notes: None
Bugs: FLEXDOCS-831
Checkintests: passed

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/filters/BevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/filters/BlurFilter.as</path>

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

--- frameworks/projects/spark/src/spark/filters/ColorMatrixFilter.as
+++ frameworks/projects/spark/src/spark/filters/ColorMatrixFilter.as
@@ -33,6 +33,19 @@
  */
 public class ColorMatrixFilter extends BaseFilter implements IBitmapFilter
 {
+	/**
+	 * Constructor.
+	 *
+	 * @tiptext Initializes a new ColorMatrixFilter instance.
+	 *
+	 * @param matrix An array of 20 items arranged as a 4 x 5 matrix.
+	 *
+	 * @langversion 3.0
+ 	 * @playerversion Flash 10
+ 	 * @playerversion AIR 1.5
+ 	 * @productversion Flex 4
+	 */
+
 	public function ColorMatrixFilter(matrix:Array = null)
 	{
 		if (matrix != null)
@@ -85,6 +98,18 @@
 		}
 	}

+	/**
+	 * Returns a copy of this filter object.
+	 *
+	 * @return A new ColorMatrixFilter instance with all of the same
+	 * properties as the original one.
+	 *
+	 * @langversion 3.0
+	 * @playerversion Flash 10
+	 * @playerversion AIR 1.5
+	 * @productversion Flex 4
+	 */
+
 	public function clone():BitmapFilter
 	{
 		return new flash.filters.ColorMatrixFilter(_matrix);


We've got a utility method for filling an array with an initial value.

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

--- src/as/com/threerings/util/Throttle.as
+++ src/as/com/threerings/util/Throttle.as
@@ -62,7 +62,7 @@
      */
     public function Throttle (operations :int, period :int)
     {
-        _ops = makeArray(operations);
+        _ops = ArrayUtil.create(operations, 0);
         _period = period;
     }

@@ -76,7 +76,7 @@
      */
     public function reinit (operations :int, period :int) :void
     {
-        var ops :Array = makeArray(operations);
+        var ops :Array = ArrayUtil.create(operations, 0);
         // copy up to 'operations' of our most recent operations into our new array
         for (var ii :int = 0; ii < operations; ii++) {
             ops[operations-ii-1] = _ops[(_oldestOp + _ops.length - ii - 1) % _ops.length];
@@ -160,15 +160,6 @@
         return _ops.length + " ops per " + _period + "ms (oldest " + oldest + ")";
     }

-    protected function makeArray (operations :int) :Array
-    {
-        var ops :Array = new Array(operations);
-        for (var ii :int =  0; ii < operations; ii++) {
-            ops[ii] = 0;
-        }
-        return ops;
-    }
-
     protected var _ops :Array;
     protected var _oldestOp :int;
     protected var _period :int;


fixed null pointer error

fixed null pointer error

--- WeaveCore/src/weave/core/ExternalSessionStateInterface.as
+++ WeaveCore/src/weave/core/ExternalSessionStateInterface.as
@@ -329,9 +329,10 @@
 					throw new Error("Invalid variable name: " + Compiler.encodeString(assignVariableName));

 				// To avoid "variable is undefined" errors, treat variables[''] as an Array of keys and set any missing properties to undefined
-				for each (var key:String in variables[''])
-					if (!variables.hasOwnProperty(key))
-						variables[key] = undefined;
+				if (variables)
+					for each (var key:String in variables[''])
+						if (!variables.hasOwnProperty(key))
+							variables[key] = undefined;

 				var thisObject:Object = getObjectFromPathOrVariableName(scopeObjectPathOrVariableName);
 				if (getObjectFromPathOrVariableName_error)


Fix update of root localToWorldTransform.

--- src/aerys/minko/scene/controller/TransformController.as
+++ src/aerys/minko/scene/controller/TransformController.as
@@ -78,7 +78,7 @@
 				rootLocalToWorld.copyFrom(rootTransform);

 				if (nodeId != 0)
-					rootLocalToWorld.append(_transforms[_parentId]);
+					rootLocalToWorld.append(_transforms[_parentId[nodeId]]);

 				root.localToWorldTransformChanged.execute(root, rootLocalToWorld);
 			}


fix MeshController to create the mesh transforms data provider with the DataProviderUsage.EXCLUSIVE usage in order to avoid having it added twice on cloned meshes

--- src/aerys/minko/scene/controller/mesh/MeshController.as
+++ src/aerys/minko/scene/controller/mesh/MeshController.as
@@ -5,6 +5,7 @@
 	import aerys.minko.scene.node.Mesh;
 	import aerys.minko.scene.node.Scene;
 	import aerys.minko.type.binding.DataProvider;
+	import aerys.minko.type.enum.DataProviderUsage;
 	import aerys.minko.type.math.Matrix4x4;

 	public final class MeshController extends AbstractController
@@ -39,9 +40,12 @@
 			if (!target.scene)
 				return ;

-			_data = new DataProvider();
+			_data = new DataProvider(
+				null, target.name + '_transforms', DataProviderUsage.EXCLUSIVE
+			);
 			_data.setProperty('localToWorld', target.getLocalToWorldTransform());
-			_data.setProperty('worldToLocal', target.getWorldToLocalTransform(_worldToLocal));
+			_data.setProperty('worldToLocal', target.getWorldToLocalTransform(false, _worldToLocal));
+
 			target.bindings.addProvider(_data);

 			target.localToWorldTransformChanged.add(localToWorldChangedHandler);
@@ -56,6 +60,7 @@
 			target.localToWorldTransformChanged.remove(localToWorldChangedHandler);

 			target.bindings.removeProvider(_data);
+
 			_data = null;
 		}


add AbstractSkinningHelper.numMeshes property

--- src/aerys/minko/scene/controller/mesh/skinning/AbstractSkinningHelper.as
+++ src/aerys/minko/scene/controller/mesh/skinning/AbstractSkinningHelper.as
@@ -27,6 +27,11 @@
 		protected var _method			: uint;
 		protected var _bindShape		: Matrix3D;
 		protected var _invBindMatrices	: Vector.<Matrix3D>;
+
+		public function get numMeshes() : uint
+		{
+			return _targets.length;
+		}

 		public function AbstractSkinningHelper(method			: uint,
 											   bindShape		: Matrix3D,


rename variable.

rename variable.

--- bin/Data/Scripts/33_Urho2DSpriterAnimation.as
+++ bin/Data/Scripts/33_Urho2DSpriterAnimation.as
@@ -53,8 +53,8 @@
         return;

     spriterNode = scene_.CreateChild("SpriterAnimation");
-    AnimatedSprite2D@ animatedSprite = spriterNode.CreateComponent("AnimatedSprite2D");
-    animatedSprite.SetAnimation(spriterAnimationSet, spriterAnimationSet.GetAnimation(spriterAnimationIndex), LM_FORCE_LOOPED);
+    AnimatedSprite2D@ spriterAnimatedSprite = spriterNode.CreateComponent("AnimatedSprite2D");
+    spriterAnimatedSprite.SetAnimation(spriterAnimationSet, spriterAnimationSet.GetAnimation(spriterAnimationIndex), LM_FORCE_LOOPED);
 }

 void CreateInstructions()


Clear tabs

Clear tabs

--- bin/Data/Scripts/Editor/EditorUI.as
+++ bin/Data/Scripts/Editor/EditorUI.as
@@ -2103,24 +2103,24 @@
                 attributesDirty = true;
             }
         }
-		else if (coloringComponent.typeName == "Text3D")
-		{
-			Text3D@ txt = cast<Text3D>(coloringComponent);
-			if (txt !is null)
-			{
-				if (coloringPropertyName == "c")
-					txt.color = c;
-				else if (coloringPropertyName == "tl")
-					txt.colors[C_TOPLEFT] = c;
-				else if (coloringPropertyName == "tr")
-					txt.colors[C_TOPRIGHT] = c;
-				else if (coloringPropertyName == "bl")
-					txt.colors[C_BOTTOMLEFT] = c;
-				else if (coloringPropertyName == "br")
-					txt.colors[C_BOTTOMRIGHT] = c;
+        else if (coloringComponent.typeName == "Text3D")
+        {
+            Text3D@ txt = cast<Text3D>(coloringComponent);
+            if (txt !is null)
+            {
+                if (coloringPropertyName == "c")
+                    txt.color = c;
+                else if (coloringPropertyName == "tl")
+                    txt.colors[C_TOPLEFT] = c;
+                else if (coloringPropertyName == "tr")
+                    txt.colors[C_TOPRIGHT] = c;
+                else if (coloringPropertyName == "bl")
+                    txt.colors[C_BOTTOMLEFT] = c;
+                else if (coloringPropertyName == "br")
+                    txt.colors[C_BOTTOMRIGHT] = c;
                 attributesDirty = true;
-			}
-		}
+            }
+        }
     }

     timeToNextColoringGroupUpdate = time.systemTime + stepColoringGroupUpdate;


Fixed delay bug?

Fixed delay bug?

--- src/LevelStates/Time.as
+++ src/LevelStates/Time.as
@@ -39,13 +39,13 @@
 			for each (module in U.state.modules)
 				module.cacheValues();

-			moment += 1;
-
 			for each (module in U.state.modules)
 				module.updateState();

 			for each (module in U.state.modules)
 				module.clearCachedValues();
+
+			moment += 1;
 		}

 		public function backstep():Boolean {


Transferred from the Adobe Open Source Subversion Repository

Revision: 4790
Author:   jimurphy@adobe.com
Date:     2009-02-02T18:13:13.580538Z

Log Message:
-----------
Merged 3.x revisions 4710-4711,4741,4746-4747,4755,4777,4787 -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/HaloBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ListCollectionView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools_en.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/formatters/NumberBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/HaloFocusRect.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/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</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/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/formatters/DateFormatter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ArrayList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SWFBridgeRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>

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

--- frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as
+++ frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as
@@ -644,8 +644,18 @@
 	private function isSameOrChildApplicationDomain(target:Object):Boolean
 	{
 		var swfRoot:DisplayObject = SystemManager.getSWFRoot(target);
-		return (swfRoot != null);
-	}
+        if (swfRoot)
+            return true;
+
+        var me:InterManagerRequest = new InterManagerRequest(InterManagerRequest.SYSTEM_MANAGER_REQUEST);
+        me.name = "hasSWFBridges";
+        sandboxRoot.dispatchEvent(me);
+
+        // if no bridges, it might be a private/internal class so return true and hope we're right
+        if (!me.value) return true;
+
+        return false;
+    }

 	/**
 	 *  Marshal dispatchEvents


Transferred from the Adobe Open Source Subversion Repository

Revision: 17285
Author:   egeorgie@adobe.com
Date:     2010-08-11T22:37:22.979459Z

Log Message:
-----------
Specify SplashScreen as default preloader in airmobile-config.xml

QE notes:
Doc notes: None
Bugs: N/A
Reviewer: Ryan
Tests run: build, checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/airmobile-config.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreen.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreen.as
+++ frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreen.as
@@ -349,7 +349,7 @@

         // DPI scaling factor of the stage
         // FIXME (egeorgie): get this number from the SystemManager?
-        var dpiScaling:Number = Capabilities.screenDPI >= 240 ? 1.5 : 1;
+        var dpiScaling:Number = 1; //Capabilities.screenDPI >= 240 ? 1.5 : 1;

         // Get stage dimensions at default orientation
         var stageWidth:Number;


Transferred from the Adobe Open Source Subversion Repository

Revision: 8452
Author:   cframpto@adobe.com
Date:     2009-07-08T15:38:32.261224Z

Log Message:
-----------
- Fix flicker problem with constraint bound text that is being autoSized.  If the remeasure is done in a 2nd pass you will see a flicker as all the objects are moved to accommodate the reflowed text.
- Fix data binding issue with text setter.
- Rework measure() to accommodate implicit autoSize.

If explicitWidth or widthInChars specified and explicitHeight or heightInLines specified, or for now, blockProgression != "tb", the text has fixed dimensions and is not auto-sized.

If no text and width specified, but no height, start at specified width and one line high and grow taller.
If no text and height specified, start at 1 char wide with the specified height and grow wider.
If neither width nor height specified, and toFit lineBreaks, start at explicitMaxWidth, or default maxWidth of 160, and grow taller.
If neither width nor height specified, and explicit lineBreaks width is unlimited and can grow taller.

These are further constrained by min/max Width and Height except in the case that explicitWidth or explicitHeight are specified.

- Change default maxWidth for RichText and SimpleText to 160 to match RET.  Previously it was 10000.  This is used for
text with toFit lineBreaks if a width isn't specified.

QA Notes: 12 or so TextGraphic tests fail because of the new default maxWidth.
Doc Notes:SDK-22014, SDK-21837
Reviewers: Gordon

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/RichEditableTextContainerManager.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/RichEditableTextEditManager.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
@@ -271,6 +271,16 @@
     }

     //----------------------------------
+    //  maxWidth
+    //----------------------------------
+
+    override public function get maxWidth():Number
+    {
+        return !isNaN(_maxWidth) ? _maxWidth :
+                UIComponent.DEFAULT_MEASURED_WIDTH;      // 160 not 10000
+    }
+
+    //----------------------------------
     //  visible
     //----------------------------------


Well that sure exposed a massive amount of bugs. Fixed now.

--- raw/src/org/yellcorp/lib/bitmap/Scale9BitmapMesh.as
+++ raw/src/org/yellcorp/lib/bitmap/Scale9BitmapMesh.as
@@ -30,7 +30,7 @@
     private static const CORNER_PATCHES:uint = 0;
     private static const NO_CENTER_COLUMN:uint = 1;
     private static const NO_CENTER_ROW:uint = 2;
-    private static const ALL:uint = 2;
+    private static const ALL:uint = 3;

     private static var _indicesAll:Vector.<int>;
     private static var _indicesNoCenterRow:Vector.<int>;
@@ -165,8 +165,8 @@

     private function recalcVertsLinear():void
     {
-        verts[6]  = verts[30] = _width;
-        verts[25] = verts[26] = _height;
+        verts[6]  = verts[30] = _width - 1;
+        verts[25] = verts[31] = _height - 1;
         vertsNeedRecalc = false;
     }

@@ -223,42 +223,44 @@

     private function recalcUVs():void
     {
-        verts[2] = verts[10] = verts[18] = verts[26] = _scale9Grid.x / _bitmapData.width;
-        verts[4] = verts[12] = verts[20] = verts[28] = _scale9Grid.right / _bitmapData.width;
-        verts[9] = verts[11] = verts[13] = verts[15] = _scale9Grid.y / _bitmapData.height;
-        verts[17] = verts[19] = verts[21] = verts[23] = _scale9Grid.bottom / _bitmapData.height;
+        uvs[2] = uvs[10] = uvs[18] = uvs[26] = _scale9Grid.x / _bitmapData.width;
+        uvs[4] = uvs[12] = uvs[20] = uvs[28] = _scale9Grid.right / _bitmapData.width;
+        uvs[9] = uvs[11] = uvs[13] = uvs[15] = _scale9Grid.y / _bitmapData.height;
+        uvs[17] = uvs[19] = uvs[21] = uvs[23] = _scale9Grid.bottom / _bitmapData.height;
     }

     private function recalcVertsScale9():void
     {
-        if (_width - _scale9Grid.width > _scale9Grid.x)
+        var rightStripStart:Number = _width - 1 - _bitmapData.width + _scale9Grid.right;
+        if (rightStripStart > _scale9Grid.x)
         {
             drawIndexSet = CENTER_COLUMN;
             verts[2] = verts[10] = verts[18] = verts[26] = _scale9Grid.x;
-            verts[4] = verts[12] = verts[20] = verts[28] = _width - _scale9Grid.width;
+            verts[4] = verts[12] = verts[20] = verts[28] = rightStripStart;
         }
         else
         {
             drawIndexSet = 0;
             verts[2] = verts[10] = verts[18] = verts[26] =
             verts[4] = verts[12] = verts[20] = verts[28] =
-                _width * _scale9Grid.x / (_bitmapData.width - _scale9Grid.right);
-        }
-        verts[6] = verts[14] = verts[22] = verts[30] = _width;
-
-        if (_height - _scale9Grid.height > _scale9Grid.y)
+                _width * _scale9Grid.x / (_bitmapData.width - _scale9Grid.width);
+        }
+        verts[6] = verts[14] = verts[22] = verts[30] = _width - 1;
+
+        var bottomStripStart:Number = _height - 1 - _bitmapData.height + _scale9Grid.bottom;
+        if (bottomStripStart > _scale9Grid.y)
         {
             drawIndexSet |= CENTER_ROW;
             verts[9] = verts[11] = verts[13] = verts[15] = _scale9Grid.y;
-            verts[17] = verts[19] = verts[21] = verts[23] = _height - _scale9Grid.height;
+            verts[17] = verts[19] = verts[21] = verts[23] = bottomStripStart;
         }
         else
         {
             verts[9] = verts[11] = verts[13] = verts[15] =
             verts[17] = verts[19] = verts[21] = verts[23] =
-                _height * _scale9Grid.y / (_bitmapData.height - _scale9Grid.bottom);
-        }
-        verts[25] = verts[27] = verts[29] = verts[31] = _height;
+                _height * _scale9Grid.y / (_bitmapData.height - _scale9Grid.height);
+        }
+        verts[25] = verts[27] = verts[29] = verts[31] = _height - 1;
     }

     private function invalidate():void


Added Starling's additional params

Added Starling's additional params

Needed 4x assets for Retina iPad. Added
Context3DProfile.BASELINE_CONSTRAINED to allow for assets greater than
2048x2048.

--- brinkbit/fullscreenscreenextension/FullScreenExtension.as
+++ brinkbit/fullscreenscreenextension/FullScreenExtension.as
@@ -71,7 +71,10 @@
 											  height:int,
 											  horizontalGravity:String="center",
 											  verticalGravity:String="center",
-											  manuallySize:Boolean=false):Starling {
+											  manuallySize:Boolean=false,
+											  stage3D:Stage3D = null,
+											  renderMode:String = Context3DRenderMode.AUTO,
+											  profile:String = Context3DProfile.BASELINE_CONSTRAINED):Starling {
 			if (_starling != null)
 				return _starling;
 			if (horizontalGravity != HAlign.LEFT && horizontalGravity != HAlign.CENTER && horizontalGravity != HAlign.RIGHT)
@@ -87,7 +90,7 @@
 			// which will be triggered in starling's constructor. For now we just create everything
 			// and add it to the stage.
 			var screenViewPort:Rectangle = new Rectangle(0, 0, 1, 1);
-			_starling = new Starling(rootClass, flashStage, screenViewPort);
+			_starling = new Starling(rootClass, flashStage, screenViewPort, stage3D, renderMode, profile);
 			_stage = new starling.extensions.brinkbit.fullscreenscreenextension.Stage(1, 1, flashStage.color);
 			autoResize = !manuallySize;


Should handle subscription of from as well as none when checking for "pending" according to RFC 3921, 8.2.

git-svn-id: c197267f952b24206666de142881703007ca05d5@9578 b35dd754-fafc-0310-a699-88a17e54d16e

--- src/org/jivesoftware/xiff/im/Roster.as
+++ src/org/jivesoftware/xiff/im/Roster.as
@@ -491,7 +491,7 @@
 										// Add this item to the roster if it's not there and if the subscription type is not equal to 'remove' or 'none'
 										addRosterItem( item.jid, item.name, RosterExtension.SHOW_UNAVAILABLE, "Offline", group, item.subscription.toLowerCase(), item.askType != null ? item.askType.toLowerCase() : RosterExtension.ASK_TYPE_NONE );
 									}
-									else if( item.subscription.toLowerCase() == RosterExtension.SUBSCRIBE_TYPE_NONE && item.askType == RosterExtension.ASK_TYPE_SUBSCRIBE ) {
+									else if( (item.subscription.toLowerCase() == RosterExtension.SUBSCRIBE_TYPE_NONE || item.subscription.toLowerCase() == RosterExtension.SUBSCRIBE_TYPE_FROM) && item.askType == RosterExtension.ASK_TYPE_SUBSCRIBE ) {
 										// A contact was added to the roster, and its authorization is still pending.
 										addRosterItem( item.jid, item.name, RosterExtension.SHOW_PENDING, "Pending", group, item.subscription.toLowerCase(), item.askType != null ? item.askType.toLowerCase() : RosterExtension.ASK_TYPE_NONE );
 									}


Transferred from the Adobe Open Source Subversion Repository

Revision: 2814
Author:   jimurphy@adobe.com
Date:     2008-08-12T13:49:02.219041Z

Log Message:
-----------
Merged 3.0.x revs [2798,2804,2811] -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.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/managers/ISystemManager2.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>

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

--- frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as
+++ frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as
@@ -23,10 +23,6 @@
 import mx.events.SandboxBridgeEvent;
 import mx.utils.NameUtil;
 import mx.utils.SandboxUtil;
-
-// NOTE: Minimize the non-Flash classes you import here.
-// Any dependencies of SystemManager have to load in frame 1,
-// before the preloader, or anything else, can be displayed.

 use namespace mx_internal;

@@ -61,15 +57,29 @@
 		// We are a proxy for a popup - we are the hightest system manager.
         topLevel = true;

-        addEventListener("startDragging", startDraggingHandler);
-		addEventListener("stopDragging", stopDraggingHandler);
-
 		// Capture mouseDown so we can switch top level windows and activate
 		// the right focus manager before the components inside start
 		// processing the event.
 		addEventListener(MouseEvent.MOUSE_DOWN, proxyMouseDownHandler, true);
 	}

+    //--------------------------------------------------------------------------
+    //
+    //  Overriden properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  screen
+    //----------------------------------
+    /**
+     *  @inheritDoc
+     */
+    override public function get screen():Rectangle
+    {
+        return _systemManager.screen;
+    }
+
     //--------------------------------------------------------------------------
     //
     //  Properties
@@ -104,14 +114,6 @@
 	/**
 	 *  @inheritDoc
 	 */
-	override public function get screen():Rectangle
-	{
-		return _systemManager.screen;
-	}
-
-	/**
-	 *  @inheritDoc
-	 */
 	override public function getDefinitionByName(name:String):Object
 	{
 		return _systemManager.getDefinitionByName(name);
@@ -133,23 +135,6 @@
 		return false; // proxy does not want to use the bridge
 	}

-    /**
-     *  Override to size mouse catcher to the size fo the system manager
-     *  we are the proxy for.
-     */
-	override mx_internal function resizeMouseCatcher():void
-	{
-		if (mouseCatcher)
-		{
-			var g:Graphics = mouseCatcher.graphics;
-			var screen:Rectangle = SystemManager(_systemManager).screen;
-			g.clear();
-			g.beginFill(0x000000, 0);
-			g.drawRect(0, 0, screen.width, screen.height);
-			g.endFill();
-		}
-	}
-
 	/**
 	 *  @inheritDoc
 	 */
@@ -263,54 +248,6 @@
         if (findFocusManagerContainer(this))
             SystemManager(_systemManager).fireActivatedWindowEvent(this);
     }
-
-    /**
-     *  @private
-     *  Listens to when our popup has started dragging.
-     *  Expands the mouse catcher to catch all the mouse moves when dragging.
-     */
-    private function startDraggingHandler(event:Event):void
-    {
-        // trace("startDraggingHandler");
-
-        // Add the mouseCatcher as child 0.
-        if (!mouseCatcher)
-        {
-            mouseCatcher = new FlexSprite();
-            mouseCatcher.name = "mouseCatcher";
-            // Must use addChildAt because a creationComplete handler
-            // can create a dialog and insert it at 0.
-            noTopMostIndex++;
-            $addChildAt(mouseCatcher, 0);
-            resizeMouseCatcher();
-            if (!topLevel)
-            {
-                mouseCatcher.visible = false;
-                mask = mouseCatcher;
-            }
-        }
-
-        var screen:Rectangle = SystemManager(_systemManager).screen;
-        setActualSize(screen.width, screen.height);
-    }
-
-    /**
-     *  @private
-     *  Called when dragging has stopped.
-     *  We not reduce the size of the mouse catcher
-     *  so client area may be clicked on.
-     */
-    private function stopDraggingHandler(event:Event):void
-    {
-        // trace("stopDraggingHandler");
-
-        if (mouseCatcher)
-        {
-            $removeChildAt(0);
-            noTopMostIndex--;
-            mouseCatcher = null;
-        }
-    }
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

Modified Paths:
--------------
2361 paths were modified

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

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

 package mx.managers
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 3512
Author:   jimurphy@adobe.com
Date:     2008-10-07T20:28:56.871176Z

Log Message:
-----------
rename flex4 mx.effects.easing to mx.effects.fxEasing to avoid a name conflict in the framework

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Constant.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/EaseInOut.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="dir" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/easing" copyfrom-rev="3509" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Sine.as</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/easing</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/gumbo-manifest.xml</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/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/IEaser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateFilter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/CallAction.as</path>

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

--- frameworks/projects/spark/src/spark/effects/easing/EaseInOutBase.as
+++ frameworks/projects/spark/src/spark/effects/easing/EaseInOutBase.as
@@ -8,7 +8,7 @@
 //  in accordance with the terms of the license agreement accompanying it.
 //
 ////////////////////////////////////////////////////////////////////////////////
-package mx.effects.easing
+package mx.effects.fxEasing
 {
 /**
  * The superclass for classes that provide easing capability where there


Test ClassLevelCopyableCloneable class in ClonerTest.

--- dolly-framework/src/test/actionscript/dolly/ClonerTest.as
+++ dolly-framework/src/test/actionscript/dolly/ClonerTest.as
@@ -1,6 +1,7 @@
 package dolly {
 import dolly.core.dolly_internal;
 import dolly.data.ClassLevelCloneable;
+import dolly.data.ClassLevelCopyableCloneable;
 import dolly.data.PropertyLevelCloneable;

 import org.as3commons.reflect.Field;
@@ -16,6 +17,9 @@
 	private var classLevelCloneable:ClassLevelCloneable;
 	private var classLevelCloneableType:Type;

+	private var classLevelCopyableCloneable:ClassLevelCopyableCloneable;
+	private var classLevelCopyableCloneableType:Type;
+
 	private var propertyLevelCloneable:PropertyLevelCloneable;
 	private var propertyLevelCloneableType:Type;

@@ -26,6 +30,14 @@
 		classLevelCloneable.property2 = "value 2";
 		classLevelCloneable.property3 = "value 3";
 		classLevelCloneable.writableField = "value 4";
+		classLevelCloneableType = Type.forInstance(classLevelCloneable);
+
+		classLevelCopyableCloneable = new ClassLevelCopyableCloneable();
+		classLevelCopyableCloneable.property1 = "value 1";
+		classLevelCopyableCloneable.property2 = "value 2";
+		classLevelCopyableCloneable.property3 = "value 3";
+		classLevelCopyableCloneable.writableField = "value 4";
+		classLevelCopyableCloneableType = Type.forInstance(classLevelCopyableCloneable);

 		propertyLevelCloneable = new PropertyLevelCloneable();
 		propertyLevelCloneable.property1 = "value 1";
@@ -33,15 +45,18 @@
 		propertyLevelCloneable.property3 = "value 3";
 		propertyLevelCloneable.writableField = "value 4";

-		classLevelCloneableType = Type.forInstance(classLevelCloneable);
 		propertyLevelCloneableType = Type.forInstance(propertyLevelCloneable);
 	}

 	[After]
 	public function after():void {
 		classLevelCloneable = null;
+		classLevelCloneableType = null;
+
+		classLevelCopyableCloneable = null;
+		classLevelCopyableCloneableType = null;
+
 		propertyLevelCloneable = null;
-		classLevelCloneableType = null;
 		propertyLevelCloneableType = null;
 	}

@@ -49,6 +64,10 @@
 	public function testGetCloneableFieldsForType():void {
 		var cloneableFields:Vector.<Field> = Cloner.getCloneableFieldsForType(classLevelCloneableType);

+		assertNotNull(cloneableFields);
+		assertEquals(4, cloneableFields.length);
+
+		cloneableFields = Cloner.getCloneableFieldsForType(classLevelCloneableType);
 		assertNotNull(cloneableFields);
 		assertEquals(4, cloneableFields.length);


Transferred from the Adobe Open Source Subversion Repository

Revision: 1218
Author:   jimurphy@adobe.com
Date:     2008-04-15T16:09:32.174552Z

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/in/air/air_version.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/lib/flex-messaging-common.jar</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/codec/PNGEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MultiTopicProducer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/codec/JPEGEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SchemaTypeRegistry.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/codec/IImageEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MultiTopicConsumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/SOAPFault.as</path>
<path kind="file" action="M">/flex/sdk/trunk/build.xml</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/rpc/src/mx/rpc/soap/WebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Channel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/HaloColors.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/SliderThumbSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RoundedRectangle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/SOAPHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/WebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/wsdl/WSDLBinding.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/Operation.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/soap/mxml/Operation.as
+++ frameworks/projects/rpc/src/mx/rpc/soap/mxml/Operation.as
@@ -133,7 +133,7 @@
     //--------------------------------------------------------------------------

     /**
-     * Use superclass description.
+     * @inheritDoc
      */
     override public function cancel(id:String = null) : AsyncToken
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 2464
Author:   jimurphy@adobe.com
Date:     2008-07-14T19:50:33.449468Z

Log Message:
-----------
add flex 4 to trunk

Modified Paths:
--------------
134 paths were modified

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

--- frameworks/projects/spark/src/spark/filters/GlowFilter.as
+++ frameworks/projects/spark/src/spark/filters/GlowFilter.as
@@ -0,0 +1,108 @@
+package flex.filters
+{
+import flash.filters.BitmapFilter;
+import flash.filters.GlowFilter;
+
+public class GlowFilter extends BaseDimensionFilter implements IBitmapFilter
+{
+	public function GlowFilter(color:uint = 0xFF0000, alpha:Number = 1.0,
+							   blurX:Number = 6.0, blurY:Number = 6.0,
+							   strength:Number = 2, quality:int = 1,
+							   inner:Boolean = false, knockout:Boolean = false)
+	{
+		this.color = color;
+		this.alpha = alpha;
+		this.blurX = blurX;
+		this.blurY = blurY;
+		this.strength = strength;
+		this.quality = quality;
+		this.inner = inner;
+		this.knockout = knockout;
+	}
+
+	//----------------------------------
+    //  alpha
+    //----------------------------------
+
+	private var _alpha:Number = 1.0;
+
+	/**
+	 *  The alpha transparency value for the color. Valid values are 0 to 1.
+	 *  For example, .25 sets a transparency value of 25%.
+	 *
+	 *  @default 1
+	 */
+	public function get alpha():Number
+	{
+		return _alpha;
+	}
+
+	public function set alpha(value:Number):void
+	{
+		if (value != _alpha)
+		{
+			_alpha = value;
+			notifyFilterChanged();
+		}
+	}
+
+	//----------------------------------
+    //  color
+    //----------------------------------
+
+	private var _color:uint = 0xFF0000;
+
+	/**
+	 *  The color of the glow. Valid values are in the hexadecimal format
+	 * 	0xRRGGBB.
+	 *  @default 0xFF0000
+	 */
+	public function get color():uint
+	{
+		return _color;
+	}
+
+	public function set color(value:uint):void
+	{
+		if (value != _color)
+		{
+			_color = value;
+			notifyFilterChanged();
+		}
+	}
+
+	//----------------------------------
+    //  inner
+    //----------------------------------
+
+	private var _inner:Boolean = false;
+
+	/**
+	 *  Specifies whether the glow is an inner glow. The value true indicates an inner glow.
+	 *  The default is false, an outer glow (a glow around the outer edges of the object).
+	 */
+	public function get inner():Boolean
+	{
+		return _inner;
+	}
+
+	public function set inner(value:Boolean):void
+	{
+		if (value != _inner)
+		{
+			_inner = value;
+			notifyFilterChanged();
+		}
+	}
+
+	public function clone():BitmapFilter
+	{
+		return new flash.filters.GlowFilter(color, alpha, blurX, blurY, strength, quality, inner, knockout);
+	}
+
+
+
+
+}
+
+}