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

--- frameworks/projects/mx/src/mx/containers/Panel.as
+++ frameworks/projects/mx/src/mx/containers/Panel.as
@@ -70,7 +70,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Style(name="borderAlpha", type="Number", inherit="no")]
+[Style(name="borderAlpha", type="Number", inherit="no", theme="halo")]

 /**
  *  Thickness of the bottom border of the Panel control.
@@ -86,7 +86,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Style(name="borderThicknessBottom", type="Number", format="Length", inherit="no")]
+[Style(name="borderThicknessBottom", type="Number", format="Length", inherit="no", theme="halo")]

 /**
  *  Thickness of the left border of the Panel.
@@ -98,7 +98,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Style(name="borderThicknessLeft", type="Number", format="Length", inherit="no")]
+[Style(name="borderThicknessLeft", type="Number", format="Length", inherit="no", theme="halo")]

 /**
  *  Thickness of the right border of the Panel.
@@ -110,7 +110,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Style(name="borderThicknessRight", type="Number", format="Length", inherit="no")]
+[Style(name="borderThicknessRight", type="Number", format="Length", inherit="no", theme="halo")]

 /**
  *  Thickness of the top border of the Panel.
@@ -122,7 +122,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Style(name="borderThicknessTop", type="Number", format="Length", inherit="no")]
+[Style(name="borderThicknessTop", type="Number", format="Length", inherit="no", theme="halo")]

 /**
  *  Name of the CSS style declaration that specifies styles to apply to
@@ -147,7 +147,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Style(name="cornerRadius", type="Number", format="Length", inherit="no")]
+[Style(name="cornerRadius", type="Number", format="Length", inherit="no", theme="halo")]

 /**
  *  Boolean property that controls the visibility
@@ -160,7 +160,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Style(name="dropShadowEnabled", type="Boolean", inherit="no")]
+[Style(name="dropShadowEnabled", type="Boolean", inherit="no", theme="halo")]

 /**
  *  Array of two colors used to draw the footer
@@ -178,7 +178,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Style(name="footerColors", type="Array", arrayType="uint", format="Color", inherit="yes")]
+[Style(name="footerColors", type="Array", arrayType="uint", format="Color", inherit="yes", theme="halo")]

 /**
  *  Array of two colors used to draw the header.
@@ -195,7 +195,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Style(name="headerColors", type="Array", arrayType="uint", format="Color", inherit="yes")]
+[Style(name="headerColors", type="Array", arrayType="uint", format="Color", inherit="yes", theme="halo")]

 /**
  *  Height of the header.
@@ -218,7 +218,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Style(name="highlightAlphas", type="Array", arrayType="Number", inherit="no")]
+[Style(name="highlightAlphas", type="Array", arrayType="Number", inherit="no", theme="halo")]

 /**
  *  Number of pixels between the container's lower border
@@ -259,7 +259,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Style(name="roundedBottomCorners", type="Boolean", inherit="no")]
+[Style(name="roundedBottomCorners", type="Boolean", inherit="no", theme="halo")]

 /**
  *  Direction of drop shadow.
@@ -273,7 +273,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Style(name="shadowDirection", type="String", enumeration="left,center,right", inherit="no")]
+[Style(name="shadowDirection", type="String", enumeration="left,center,right", inherit="no", theme="halo")]

 /**
  *  Distance of drop shadow.
@@ -286,7 +286,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Style(name="shadowDistance", type="Number", format="Length", inherit="no")]
+[Style(name="shadowDistance", type="Number", format="Length", inherit="no", theme="halo")]

 /**
  *  Style declaration name for the status in the title bar.


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 7062
Author:   dloverin@adobe.com
Date:     2009-05-19T11:16:05.869220Z

Log Message:
-----------
Spark WindowedApplication fixes.

https://bugs.adobe.com/jira/browse/SDK-21186

Fix returning a bogus state.

spark.components.Window
spark.components.WindowedApplication
                Return “disabled” instead of “disableActive”. “disabledActive” was renamed to “disabled” but the code didn’t get updated.

http://bugs.adobe.com/jira/browse/SDK-21039

Fix returning an out of range value from the “type” and “systemChrome” properties.

mx.core.WindowedApplication
spark.components.WindowedApplication

                get type()
                                The initial Window is always normal so don’t bother with getting the nativeWindow.

                get systemChrome()
                                Fix returning an out of range value.  Set the value as soon as possible and stick with it.

                override initialize() to set _systemChrome as early as possible.
                Initialize _nativateWindow in initialize() instead of in the createComplete handler. This seems better but doesn’t fix a bug.

QE Notes: None.
Doc Notes: None.
Bugs: SDK-21186, SDK-21039
Reviewer: Darrell
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>

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

--- frameworks/projects/airframework/src/mx/core/WindowedApplication.as
+++ frameworks/projects/airframework/src/mx/core/WindowedApplication.as
@@ -1748,6 +1748,8 @@
     //  systemChrome
     //----------------------------------

+    private var _systemChrome:String = NativeWindowSystemChrome.STANDARD;
+
     /**
      *  Specifies the type of system chrome (if any) the window has.
      *  The set of possible values is defined by the constants
@@ -1761,9 +1763,7 @@
      */
     public function get systemChrome():String
     {
-        if (nativeWindow.closed)
-            return "";
-        return nativeWindow.systemChrome;
+        return _systemChrome;
     }

     //----------------------------------
@@ -2039,10 +2039,7 @@
      */
     public function get type():String
     {
-        if (nativeWindow.closed)
-            return "standard";
-
-        return nativeWindow.type;
+        return NativeWindowType.NORMAL;
     }

     //--------------------------------------------------------------------------
@@ -2295,6 +2292,19 @@
                 nativeWindow.maximize();
         }
      }
+
+    /**
+     *  @private
+     */
+    override public function initialize():void
+    {
+        // initialize _nativeWindow as soon as possible and
+        // get the value of systemChrome.
+        _nativeWindow = systemManager.stage.nativeWindow;
+        _systemChrome = _nativeWindow.systemChrome;
+
+        super.initialize();
+    }

     /**
      *  @private
@@ -2836,7 +2846,6 @@
     private function creationCompleteHandler(event:Event):void
     {
         addEventListener(Event.ENTER_FRAME, enterFrameHandler);
-        _nativeWindow = systemManager.stage.nativeWindow;
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 15923
Author:   chaase@adobe.com
Date:     2010-05-06T18:05:24.751600Z

Log Message:
-----------
Initial checkin of "Transition Interruption" feature. Set Transition.interruptionBehavior="stop" to get the new behavior, where interrupting transitions start from where the previous transition is at, rather than end()'ing the previous transition first. The default behavior is the same as it always was; transitionBehavior="end" is the default property, and that uses the previous behavior of ending the previous Transition.
New API: Transition.interruptionBehavior, mx.states.InterruptionBehavior

QE notes: Check out the spec for the details on the new API
Doc notes: none
Bugs: none
Reviewer: Jason
Tests run: checkintests, Mustella (mx/effects, spark/effects)
Is noteworthy for integration: Yes - feature requested by downstream teams

Modified Paths:
--------------
<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/spark/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/Transition.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Fade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/CompositeEffect.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/InterruptionBehavior.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/framework/src/mx/states/InterruptionBehavior.as
+++ frameworks/projects/framework/src/mx/states/InterruptionBehavior.as
@@ -0,0 +1,33 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2010 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+package mx.states
+{
+    /**
+     *  The InterruptionBehavior class defines constants for use with the
+     *  interruptionBehavior property of the Transition class.
+     *
+     *  @see Transition#interruptionBehavior
+     */
+    public final class InterruptionBehavior
+    {
+        /**
+         * Specifies that a transition that interrupts another running
+         * transition will end that other transition before starting.
+         */
+        public static const END:String = "end";
+
+        /**
+         * Specifies that a transition that interrupts another running
+         * transition will stop that other transition in place before starting.
+         */
+        public static const STOP:String = "stop";
+    }
+}


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

--- frameworks/projects/mx/src/mx/controls/sliderClasses/SliderThumb.as
+++ frameworks/projects/mx/src/mx/controls/sliderClasses/SliderThumb.as
@@ -286,23 +286,28 @@
 			Slider(owner).direction == SliderDirection.HORIZONTAL;

 		var newVal:Number;
-		if ((event.keyCode == Keyboard.DOWN && !isHorizontal) ||
-			(event.keyCode == Keyboard.LEFT && isHorizontal))
+
+        // If rtl layout, need to swap LEFT for RIGHT so correct action
+        // is done.
+        var keyCode:int = mapKeycodeForLayoutDirection(event);
+
+		if ((keyCode == Keyboard.DOWN && !isHorizontal) ||
+			(keyCode == Keyboard.LEFT && isHorizontal))
 		{
 			newVal = currentVal - moveInterval;
 		}
-		else if ((event.keyCode == Keyboard.UP && !isHorizontal) ||
-				 (event.keyCode == Keyboard.RIGHT && isHorizontal))
+		else if ((keyCode == Keyboard.UP && !isHorizontal) ||
+				 (keyCode == Keyboard.RIGHT && isHorizontal))
 		{
 			newVal = currentVal + moveInterval;
 		}
-		else if ((event.keyCode == Keyboard.PAGE_DOWN && !isHorizontal) ||
-				 (event.keyCode == Keyboard.HOME && isHorizontal))
+		else if ((keyCode == Keyboard.PAGE_DOWN && !isHorizontal) ||
+				 (keyCode == Keyboard.HOME && isHorizontal))
 		{
 			newVal = Slider(owner).getXFromValue(Slider(owner).minimum);
 		}
-		else if ((event.keyCode == Keyboard.PAGE_UP && !isHorizontal) ||
-				 (event.keyCode == Keyboard.END && isHorizontal))
+		else if ((keyCode == Keyboard.PAGE_UP && !isHorizontal) ||
+				 (keyCode == Keyboard.END && isHorizontal))
 		{
 			newVal = Slider(owner).getXFromValue(Slider(owner).maximum);
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 20455
Author:   egeorgie@adobe.com
Date:     2011-02-24T18:39:34.625731Z

Log Message:
-----------
Fix for http://bugs.adobe.com/jira/browse/SDK-29635 When a child swf is loaded with loadForCompatibility=true, the Spark Slider pop up and DropDownList drop down are not positioned correctly.

In this change:
- update HSlider and VSlider to correctly convert the tooltip position form sandboxRoot to systemManager coordinates (the tip is in system manager coordinates).
- DropDown/ComboBox and other pop-up related code now calcualtes the concatenatedMatrix up to the sandboxRoot instead of the root sprite (the root sprite is the systemManager in a sub-app but the actual pop-up parent is the sandboxRoot).

QE notes: Verify grid item renderers' tooltips in sub-app/marshall plan/mobile density scaling scenarios; A general pass over drop-down and combo box in sub-app/marshall plan/mobile density scaling scenarios.
Doc notes:
Bugs: SDK-29635
Reviewer: Alex
Tests run: mustella full cyclone
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/utils/BitmapUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>

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

--- frameworks/projects/framework/src/mx/managers/DragManagerImpl.as
+++ frameworks/projects/framework/src/mx/managers/DragManagerImpl.as
@@ -317,7 +317,10 @@
 		dragProxy.allowMove = allowMove;

         // Make sure any scale/rotation from the initiator will be reflected.
-        var concatenatedMatrix:Matrix = MatrixUtil.getConcatenatedMatrix(DisplayObject(dragInitiator), true /*excludingRootSprite*/);
+        var concatenatedMatrix:Matrix =
+            MatrixUtil.getConcatenatedMatrix(DisplayObject(dragInitiator),
+                                             DisplayObject(sandboxRoot));
+
         // Zero out the translation part of the matrix, as we're going to
         // position the dragProxy explicitly further below.
         concatenatedMatrix.tx = 0;


Transferred from the Adobe Open Source Subversion Repository

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

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

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/mediaClasses/VolumeBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/mediaClasses/StreamingVideoSource.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/mediaClasses/StreamItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ToggleButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/CheckBox.as</path>

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

--- frameworks/projects/spark/src/spark/components/NumericStepper.as
+++ frameworks/projects/spark/src/spark/components/NumericStepper.as
@@ -77,6 +77,11 @@
  *

  *           Maximum size
  *           10000 pixels wide and 10000 pixels high
+ *

+ *

+ *           Default skin classes
+ *           spark.skins.spark.NumericStepperSkin
+ *
spark.skins.spark.NumericStepperTextInputSkin

  *

  *

  *


Transferred from the Adobe Open Source Subversion Repository

Revision: 7065
Author:   smgilson@adobe.com
Date:     2009-05-19T12:27:36.799816Z

Log Message:
-----------
ASDoc updates for styles

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.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/flex4/src/spark/components/SkinnableContainer.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/flex4/src/spark/layouts/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.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/flex4/src/spark/components/supportClasses/GroupBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/NumericStepper.as
+++ frameworks/projects/spark/src/spark/components/NumericStepper.as
@@ -25,7 +25,7 @@
 include "../styles/metadata/SelectionFormatTextStyles.as"

 /**
- *  @copy spark.components.supportClasses.GroupBase#contentBackgroundColor
+ *  @copy spark.components.supportClasses.GroupBase#style:contentBackgroundColor
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -379,29 +379,29 @@
      *  @private
      */
     override protected function commitProperties():void
-    {
+    {
         super.commitProperties();
-
-		if (maxChanged || stepSizeChanged || displayFormatFunctionChanged)
-    	{
-    		textInput.widthInChars = calculateWidestValue();
-    		maxChanged = false;
-    		stepSizeChanged = false;
-
-    		if (displayFormatFunctionChanged)
-    		{
+
+        if (maxChanged || stepSizeChanged || displayFormatFunctionChanged)
+        {
+            textInput.widthInChars = calculateWidestValue();
+            maxChanged = false;
+            stepSizeChanged = false;
+
+            if (displayFormatFunctionChanged)
+            {
                 applyDisplayFormatFunction();

                 displayFormatFunctionChanged = false;
-    		}
-    	}
-
-		if (extractValueFunctionChanged)
-		{
-			commitTextInput(false);
-			extractValueFunctionChanged = false;
-		}
-
+            }
+        }
+
+        if (extractValueFunctionChanged)
+        {
+            commitTextInput(false);
+            extractValueFunctionChanged = false;
+        }
+
         if (maxCharsChanged)
         {
             textInput.maxChars = _maxChars;
@@ -434,7 +434,7 @@

         if (instance == textInput)
         {
-        	textInput.addEventListener(FlexEvent.ENTER,
+            textInput.addEventListener(FlexEvent.ENTER,
                                        textInput_enterHandler);
             textInput.addEventListener(FocusEvent.FOCUS_OUT,
                                        textInput_focusOutHandler);
@@ -530,9 +530,9 @@
         var prevValue:Number = value;

         if (extractValueFunction != null)
-        	inputValue = extractValueFunction(textInput.text);
+            inputValue = extractValueFunction(textInput.text);
         else
-        	inputValue = Number(textInput.text);
+            inputValue = Number(textInput.text);

         if (textInput.text == "" || (inputValue != value &&
             (Math.abs(inputValue - value) >= 0.000001 || isNaN(inputValue))))
@@ -569,12 +569,12 @@
                               maximum.toString().length ?
                               minimum :
                               maximum;
-    	widestNumber += stepSize;
-
-    	if (displayFormatFunction != null)
-    	    return displayFormatFunction(widestNumber).length;
-    	else
-    	   return widestNumber.toString().length;
+        widestNumber += stepSize;
+
+        if (displayFormatFunction != null)
+            return displayFormatFunction(widestNumber).length;
+        else
+           return widestNumber.toString().length;
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 5101
Author:   gauravj@adobe.com
Date:     2009-02-27T05:22:45.887116Z

Log Message:
-----------
Update action script files with asdoc version tags.

QE Notes: None.
Doc Notes: Please review and update as necessary.
tests: checkintests

Modified Paths:
--------------
663 paths were modified

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

--- frameworks/projects/framework/src/mx/binding/StaticPropertyWatcher.as
+++ frameworks/projects/framework/src/mx/binding/StaticPropertyWatcher.as
@@ -39,6 +39,11 @@
      *  @param event The event type that indicates the static property has changed.
      *  @param listeners The binding objects that are listening to this Watcher.
      *  @param propertyGetter A helper function used to access non-public variables.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function StaticPropertyWatcher(propertyName:String,
                                           events:Object,
@@ -60,16 +65,31 @@

     /**
      *  The parent class of this static property.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private var parentObj:Class;

     /**
      *  The events that indicate the static property has changed
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected var events:Object;

     /**
      *  Storage for the propertyGetter property.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private var propertyGetter:Function;

@@ -85,11 +105,21 @@

     /**
      *  Storage for the propertyName property.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private var _propertyName:String;

     /**
      *  The name of the property this Watcher is watching.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get propertyName():String
     {
@@ -104,6 +134,11 @@

     /**
      *  If the parent has changed we need to update ourselves
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function updateParent(parent:Object):void
     {
@@ -176,6 +211,11 @@
     /**
      *  Gets the actual property then updates
      *  the Watcher's children appropriately.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private function updateProperty():void
     {
@@ -207,6 +247,11 @@
     /**
      *  The generic event handler.
      *  The only event we'll hear indicates that the property has changed.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function eventHandler(event:Event):void
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5101
Author:   gauravj@adobe.com
Date:     2009-02-27T05:22:45.887116Z

Log Message:
-----------
Update action script files with asdoc version tags.

QE Notes: None.
Doc Notes: Please review and update as necessary.
tests: checkintests

Modified Paths:
--------------
663 paths were modified

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

--- frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as
+++ frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as
@@ -16,6 +16,11 @@
  *  @see mx.graphics.GradientEntry
  *  @see mx.graphics.RadialGradient
  *  @see flash.display.Graphics
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class RadialGradientStroke extends GradientStroke implements IStroke
 {
@@ -76,6 +81,11 @@
      *  thickness of 10 pixels, the miter is cut off at 25 pixels.
      *  This parameter is optional,
      *  with a default value of 0.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function RadialGradientStroke(weight:Number = 1,
                                          pixelHinting:Boolean = false,
@@ -124,6 +134,11 @@
      *  of the bounding Rectangle.

      *
      *  @default 0.0
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get focalPointRatio():Number
     {
@@ -156,6 +171,11 @@

     /**
      *  The vertical scale of the gradient transform, which defines the height of the (unrotated) gradient
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get scaleY():Number
     {
@@ -191,6 +211,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
 	private static var commonMatrix:Matrix = new Matrix();

@@ -200,6 +225,11 @@
      *  @param g The graphics context where the stroke is drawn.
      *
      *  @param rc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function draw(g:Graphics, rc:Rectangle):void
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 23247
Author:   cframpto@adobe.com
Date:     2011-12-20T19:21:13.134833Z

Log Message:
-----------
Remove ADOBE SYSTEMS license and replace with Apache license in headers - frameworks.  A 2nd pass will be needed to get the files not handled up by the scripts.

Modified Paths:
--------------
4959 paths were modified

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

--- frameworks/projects/spark/src/spark/globalization/MatchingCollator.as
+++ frameworks/projects/spark/src/spark/globalization/MatchingCollator.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.
 //
 ////////////////////////////////////////////////////////////////////////////////


Changed error message

Changed error message

Changed error message for error 807.

--- src/com/axis/ErrorManager.as
+++ src/com/axis/ErrorManager.as
@@ -86,7 +86,7 @@
       '804': "RTSPClient: Handle unexpectedly closed.",
       '805': "Unknown determining byte: 0x%p. Stopping stream.",
       '806': "Cannot start unless in initial state.",
-      '807': "GET: Exhausted all authentication methods. Unable to authorize to %p.",
+      '807': "Authorization to %p failed. Please check the username and password.",
       '809': "RTSPClient:Failed to parse SDP file.",
       '810': "No tracks in SDP file.",
       '811': "Unable to pause. No active stream.",


Correct regex. Also value might be empty

--- src/com/axis/http/request.as
+++ src/com/axis/http/request.as
@@ -64,7 +64,7 @@
             hdr['www-authenticate'] = {};

           if (/^basic/i.test(val)) {
-            var basicRealm:RegExp = /realm=\"([^\"]+)\"/i;
+            var basicRealm:RegExp = /realm="([^"]*)"/i;
             hdr['www-authenticate'].basicRealm = basicRealm.exec(val)[1];
           }


Transferred from the Adobe Open Source Subversion Repository

Revision: 9916
Author:   chaase@adobe.com
Date:     2009-09-02T07:33:47.703481Z

Log Message:
-----------
Revert 9889. Various Slider/Scrollbar Mustella failures due to halo button size changes. Better fix is in process.

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as

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

--- frameworks/projects/mx/src/mx/controls/Button.as
+++ frameworks/projects/mx/src/mx/controls/Button.as
@@ -1737,13 +1737,10 @@
         var textWidth:Number = 0;
         var textHeight:Number = 0;

-        if (label || FlexVersion.compatibilityVersion >= FlexVersion.VERSION_4_0)
+        if (label)
         {
             var lineMetrics:TextLineMetrics = measureText(label);
-            // Always account for text height, but only account for width
-            // if the label is non-null.
-            if (label)
-                textWidth = lineMetrics.width + TEXT_WIDTH_PADDING;
+            textWidth = lineMetrics.width + TEXT_WIDTH_PADDING;
             textHeight = lineMetrics.height + UITextField.TEXT_HEIGHT_PADDING;
         }


now disabling generated sort function when column is disposed

Change-Id: I945d22eecc0562fc2da0a360fc57406de999f04f

--- WeaveData/src/weave/data/KeySets/SortedKeySet.as
+++ WeaveData/src/weave/data/KeySets/SortedKeySet.as
@@ -127,6 +127,11 @@
 			var n:int = columns.length;
 			var desc:Array = descendingFlags ? descendingFlags.concat() : [];
 			desc.length = n;
+
+			// when any of the columns are disposed, disable the compare function
+			for each (column in columns)
+				column.addDisposeCallback(null, function():void { n = 0; });
+
 			return function(key1:IQualifiedKey, key2:IQualifiedKey):int
 			{
 				for (i = 0; i < n; i++)


Updated sort() and sortBy() to use * instead of Array type, so Vectors can also be sorted.

--- net/flashpunk/FP.as
+++ net/flashpunk/FP.as
@@ -492,31 +492,27 @@

 		/**
 		 * Sorts the elements in the array.
-		 * @param	a			The array to sort.
+		 * @param	a			The Array or Vector to sort.
 		 * @param	ascending	If it should be sorted ascending (true) or descending (false).
-		 * @return	The provided array with elements sorted.
-		 */
-		public static function sort(a:Array, ascending:Boolean = true):Array
+		 */
+		public static function sort(a:*, ascending:Boolean = true):void
 		{
 			quicksort(a, 0, a.length - 1, ascending);
-			return a;
 		}

 		/**
 		 * Sorts the elements in the array by a property of the element.
-		 * @param	a			The array to sort.
+		 * @param	a			The Array or Vector to sort.
 		 * @param	property	The numeric property to sort by.
 		 * @param	ascending	If it should be sorted ascending (true) or descending (false).
-		 * @return	The provided array with elements sorted.
-		 */
-		public static function sortBy(a:Array, property:String, ascending:Boolean = true):Array
+		 */
+		public static function sortBy(a:*, property:String, ascending:Boolean = true):void
 		{
 			quicksortBy(a, 0, a.length - 1, ascending, property);
-			return a;
 		}

 		/** @private Quicksorts the array. */
-		private static function quicksort(a:Array, left:int, right:int, ascending:Boolean):void
+		private static function quicksort(a:*, left:int, right:int, ascending:Boolean):void
 		{
 			var i:int = left, j:int = right, t:Number,
 				p:Number = a[Math.round((left + right) * .5)];
@@ -553,7 +549,7 @@
 		}

 		/** @private Quicksorts the array by the property. */
-		private static function quicksortBy(a:Array, left:int, right:int, ascending:Boolean, property:String):void
+		private static function quicksortBy(a:*, left:int, right:int, ascending:Boolean, property:String):void
 		{
 			var i:int = left, j:int = right, t:Object,
 				p:Number = a[Math.round((left + right) * .5)][property];


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

--- frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as
+++ frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 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: 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@1285175 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
@@ -2402,12 +2402,58 @@
             delta.y = 0;
         return delta;
     }
+
+    /**
+     *  @private
+     *  Identifies the element which has its "compare point" located closest
+     *  to the specified position.
+     */
+    override mx_internal function getElementNearestScrollPosition(
+        position:Point,
+        elementComparePoint:String = "center"):int
+    {
+        if (!useVirtualLayout)
+            return super.getElementNearestScrollPosition(position, elementComparePoint);
+
+        var g:GroupBase = GroupBase(target);
+        if (!g || !llv)
+            return -1;
+
+        // Find the element which overlaps with the position
+        var index:int = llv.indexOf(position.x);
+
+        // Invalid index indicates that the position is past either end of the
+        // laid-out elements.   In this case, choose either the first or last one.
+        if (index == -1)
+            index = position.x < 0 ? 0 : g.numElements - 1;
+
+        var bounds:Rectangle = llv.getBounds(index);
+        var adjacentBounds:Rectangle;
+
+        // If we're comparing with a right-edge point, check both the current element and the element
+        // at index-1 to see which is closest.
+        if ((elementComparePoint == "topRight" || elementComparePoint == "bottomRight") && index > 0)
+        {
+            adjacentBounds = llv.getBounds(index - 1);
+            if (Point.distance(position, adjacentBounds.bottomRight) < Point.distance(position, bounds.bottomRight))
+                index--;
+        }
+
+        // If we're comparing with a left-edge point, check both the current element and the element
+        // at index+1 to see which is closest.
+        if ((elementComparePoint == "topLeft" || elementComparePoint == "bottomLeft") && index < g.numElements-1)
+        {
+            adjacentBounds = llv.getBounds(index + 1);
+            if (Point.distance(position, adjacentBounds.topLeft) < Point.distance(position, bounds.topLeft))
+                index++;
+        }
+        return index;
+    }
 }
 }

 import mx.containers.utilityClasses.FlexChildInfo;
 import mx.core.ILayoutElement;
-
 class HLayoutElementFlexChildInfo extends FlexChildInfo
 {
     public var layoutElement:ILayoutElement;


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

--- frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
@@ -1,12 +1,20 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2008 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.
-// foo
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
 ////////////////////////////////////////////////////////////////////////////////

 package spark.layouts


added apply() thisArg

added apply() thisArg

--- WeaveData/src/weave/data/KeySets/KeySet.as
+++ WeaveData/src/weave/data/KeySets/KeySet.as
@@ -17,11 +17,10 @@
 {
 	import flash.utils.Dictionary;

+	import weave.api.newLinkableChild;
 	import weave.api.data.IKeySet;
 	import weave.api.data.IQualifiedKey;
-	import weave.api.newLinkableChild;
 	import weave.compiler.Compiler;
-	import weave.compiler.StandardLib;
 	import weave.core.LinkableVariable;

 	/**
@@ -72,7 +71,7 @@
 			// each row of CSV represents a different keyType (keyType is the first token in the row)
 			var newKeys:Array = [];
 			for each (var row:Array in _sessionStateInternal)
-				newKeys.push.apply(null, WeaveAPI.QKeyManager.getQKeys(row[0], row.slice(1)));
+				newKeys.push.apply(newKeys, WeaveAPI.QKeyManager.getQKeys(row[0], row.slice(1)));

 			// avoid internal recursion while still allowing callbacks to cause recursion afterwards
 			delayCallbacks();


Transferred from the Adobe Open Source Subversion Repository

Revision: 13318
Author:   rfrishbe@adobe.com
Date:     2010-01-07T01:36:07.764515Z

Log Message:
-----------
Fixing a Flash Component Kit bug where the bounds of a container was larger than it should be when the container was sized smaller than it's natural size and scaleContentWhenResized=false.  This is because the "Flex Content Symbol" was getting resized and scaled out of the bounds.  To counter-act this, we now scale the symbol when appropriate.

I'm also updated the MXP file for the Flash Component Kit.

QE notes: -
Doc notes: -
Bugs: SDK-24930
Reviewer: Glenn, Chet
Tests run: checkintests, mustella FCK
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/FlexContentHolder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/flash-integration/FlexComponentKit.mxp</path>

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

--- frameworks/projects/flash-integration/src/mx/flash/FlexContentHolder.as
+++ frameworks/projects/flash-integration/src/mx/flash/FlexContentHolder.as
@@ -78,6 +78,25 @@
     private var flexContent:IUIComponent;           // The Flex content

     private var pendingFlexContent:IUIComponent;    // Only used if flexContent is set early
+
+    //--------------------------------------------------------------------------
+    //
+    //  Private Properties
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  The FlexContentHolder symbol that a user drags out on to the screen in
+     *  Flash Authoring to let us know where the Flash content goes.  This symbol is
+     *  actually a child of us (the FlashContentHolder, which is the actual object they
+     *  are dragging out).  We modify the scale and alpha of this object to get sizing
+     *  correct and to make sure this object doesn't actually show up in the Flex project.
+     */
+    private function get flexContentHolderSymbol():DisplayObject
+    {
+        return getChildAt(0);
+    }

     //--------------------------------------------------------------------------
     //
@@ -134,7 +153,7 @@
         // Since we are in Flex, let's hide the content placeholder.
         // Rather than removing it (which can cause problems with
         // sizing), we set the alpha to 0.
-        getChildAt(0).alpha = 0;
+        flexContentHolderSymbol.alpha = 0;

         // See if we have any pending flex content
         if (pendingFlexContent)
@@ -375,14 +394,28 @@

         // width and height are what we actually want our content
         // to fill up, but it doesn't take in to account our secretScale.
-        if (!myParent.scaleContentWhenResized)
+        if (!myParent.scaleContentWhenResized && myParent._layoutFeatures != null)
         {
             // apply the scale to the width/height
-            if (myParent._layoutFeatures != null)
-            {
-                containerWidth *= myParent._layoutFeatures.stretchX;
-                containerHeight *= myParent._layoutFeatures.stretchY;
-            }
+            containerWidth *= myParent._layoutFeatures.stretchX;
+            containerHeight *= myParent._layoutFeatures.stretchY;
+
+            // also need to scale our placeholder so the bounds are correct
+            // Example: object is naturally 100x100 but width=50, height=50
+            // ContainerMovieClip is scaled to .5
+            // However, the FlexContentHolder is scaled to 2 if scaleContentWhenResized == false
+            // to counteract this scale.
+            // In order for the FlexContentHolderSymbol to not extend outside of these bounds, we
+            // also scale that down to .5
+            flexContentHolderSymbol.scaleX = myParent._layoutFeatures.stretchX;
+            flexContentHolderSymbol.scaleY = myParent._layoutFeatures.stretchY;
+        }
+        else
+        {
+            // reset the FlexContentHolderSymbol's scale to 1 (see comment above where we set
+            // it to stretchX/stretchY from our parent)
+            flexContentHolderSymbol.scaleX = 1;
+            flexContentHolderSymbol.scaleY = 1;
         }

         // Size the flex content to what they want to be,


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

--- frameworks/projects/rpc/src/mx/messaging/messages/HTTPRequestMessage.as
+++ frameworks/projects/rpc/src/mx/messaging/messages/HTTPRequestMessage.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.messaging.messages
 {


adding onCacheUpdate event listener to spendrModel initialization

--- app/flex/spendr/controllers/SpendrModel.as
+++ app/flex/spendr/controllers/SpendrModel.as
@@ -1,25 +1,35 @@
 package spendr.controllers {
+  import org.restfulx.Rx;
+  import org.restfulx.collections.ModelsCollection;
+  import org.restfulx.events.CacheUpdateEvent;
+
   import spendr.models.Category;
   import spendr.models.Expenditure;
-  import spendr.models.User
-
-  import mx.collections.ArrayCollection;
-  import mx.collections.XMLListCollection;
-
-  import org.restfulx.Rx;
-  import org.restfulx.events.CacheUpdateEvent;
-  import org.restfulx.collections.ModelsCollection;
+  import spendr.models.User;

   [Bindable]
   public class SpendrModel {
+    private var _initialLoadCacheComplete:Boolean = false;
+
     public var currentUser:User;
     public var categories:ModelsCollection;
     public var expenditures:ModelsCollection;
+
+    public function initialLoadCache():void {
+      if (_initialLoadCacheComplete) return;
+      _initialLoadCacheComplete = true;
+      Rx.models.addEventListener(CacheUpdateEvent.ID, onCacheUpdate);
+      Rx.models.index(User);
+      Rx.models.index(Category);
+      Rx.models.index(Expenditure);
+    }
+

     private function onCacheUpdate(event:CacheUpdateEvent):void {
       //trace("SpendrModel#onCacheUpdate: " + event.fqn);
       if (event.isFor(User)) {
-        currentUser = Rx.models.cached(User).first;
+        trace("setting current User to " + Rx.models.cached(User)[0].email)
+        currentUser = Rx.models.cached(User)[0];
       }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 3049
Author:   aharui@adobe.com
Date:     2008-08-29T22:49:29.177346Z

Log Message:
-----------
SDK-16552, SDK-16391, SDK-16639

Final signoff bugfixes including API scrub changes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/PopUpRequest.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxRootDragEvent.as" copyfrom-rev="3039" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/InterDragManagerEvent.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/SystemManagerGlobals.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SWFBridgeEvent.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/systemClasses/EventProxy.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SizeRequest.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxRootRequest.as" copyfrom-rev="3039" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/InterManagerRequest.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/FocusRequest.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/containers/dividedBoxClasses/BoxDivider.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxRootDragEvent.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxRootMouseEvent.as" copyfrom-rev="3039" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxMouseEvent.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxRootRequest.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/utils/EventUtil.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxRootMouseEvent.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SWFBridgeRequest.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/ModalWindowRequest.as</path>

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

--- frameworks/projects/framework/src/mx/events/InterDragManagerEvent.as
+++ frameworks/projects/framework/src/mx/events/InterDragManagerEvent.as
@@ -28,12 +28,12 @@
  *  It can't directly dispatch the DragEvent to a potential
  *  target in another ApplicationDomain because code
  *  in that ApplicationDomain would not type-match on DragEvent.
- *  Instead, the DragManager dispatches a SandboxRootDragEvent
+ *  Instead, the DragManager dispatches a InterDragManagerEvent
  *  that the other ApplicationDomain's DragManager is listening
  *  for and it marshals the DragEvent and dispatches it to
  *  the potential dropTarget
  */
-public class SandboxRootDragEvent extends DragEvent
+public class InterDragManagerEvent extends DragEvent
 {
 	include "../core/Version.as";

@@ -62,7 +62,7 @@
 	/**
 	 *  Constructor.
 	 */
-	public function SandboxRootDragEvent(type:String, bubbles:Boolean = false,
+	public function InterDragManagerEvent(type:String, bubbles:Boolean = false,
 										cancelable:Boolean = false,
 										localX:Number = NaN,
 										localY:Number = NaN,


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

--- frameworks/projects/framework/src/mx/preloaders/IPreloaderDisplay.as
+++ frameworks/projects/framework/src/mx/preloaders/IPreloaderDisplay.as
@@ -0,0 +1,140 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.preloaders
+{
+
+import flash.display.Sprite;
+import flash.events.IEventDispatcher;
+
+/**
+ *  Defines the interface that
+ *  a class must implement to be used as a download progress bar.
+ *  The IPreloaderDisplay receives events from the Preloader class
+ *  and is responsible for visualizing that information to the user.
+ *
+ *  @see mx.preloaders.DownloadProgressBar
+ *  @see mx.preloaders.Preloader
+ */
+public interface IPreloaderDisplay extends IEventDispatcher
+{
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  backgroundAlpha
+    //----------------------------------
+
+    /**
+     *  @copy mx.preloaders.DownloadProgressBar#backgroundAlpha
+     */
+    function get backgroundAlpha():Number;
+
+    /**
+     *  @private
+     */
+    function set backgroundAlpha(value:Number):void;
+
+    //----------------------------------
+    //  backgroundColor
+    //----------------------------------
+
+    /**
+     *  @copy mx.preloaders.DownloadProgressBar#backgroundColor
+     */
+    function get backgroundColor():uint;
+
+    /**
+     *  @private
+     */
+    function set backgroundColor(value:uint):void;
+
+    //----------------------------------
+    //  backgroundImage
+    //----------------------------------
+
+    /**
+     *  @copy mx.preloaders.DownloadProgressBar#backgroundImage
+     */
+    function get backgroundImage():Object;
+
+    /**
+     *  @private
+     */
+    function set backgroundImage(value:Object):void;
+
+    //----------------------------------
+    //  backgroundSize
+    //----------------------------------
+
+    /**
+     *  @copy mx.preloaders.DownloadProgressBar#backgroundSize
+     */
+    function get backgroundSize():String;
+
+    /**
+     *  @private
+     */
+    function set backgroundSize(value:String):void;
+
+    //----------------------------------
+    //  preloader
+    //----------------------------------
+
+    /**
+     *  @copy mx.preloaders.DownloadProgressBar#preloader
+     */
+    function set preloader(obj:Sprite):void;
+
+    //----------------------------------
+    //  stageHeight
+    //----------------------------------
+
+    /**
+     *  @copy mx.preloaders.DownloadProgressBar#stageHeight
+     */
+    function get stageHeight():Number;
+
+    /**
+     *  @private
+     */
+    function set stageHeight(value:Number):void;
+
+    //----------------------------------
+    //  stageWidth
+    //----------------------------------
+
+    /**
+     *  @copy mx.preloaders.DownloadProgressBar#stageWidth
+     */
+    function get stageWidth():Number;
+
+    /**
+     *  @private
+     */
+    function set stageWidth(value:Number):void;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @copy mx.preloaders.DownloadProgressBar#initialize()
+     */
+    function initialize():void;
+}
+
+}


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

--- frameworks/projects/rpc/src/mx/messaging/events/ChannelFaultEvent.as
+++ frameworks/projects/rpc/src/mx/messaging/events/ChannelFaultEvent.as
@@ -0,0 +1,239 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.messaging.events
+{
+
+import flash.events.Event;
+import mx.messaging.Channel;
+import mx.messaging.messages.ErrorMessage;
+
+/**
+ *  The ChannelFaultEvent class is used to propagate channel fault events within the messaging system.
+ */
+public class ChannelFaultEvent extends ChannelEvent
+{
+    //--------------------------------------------------------------------------
+    //
+    // Static Constants
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  The FAULT event type; indicates that the Channel faulted.
+     *
The value of this constant is "channelFault".

+     *
+     *
The properties of the event object have the following values:

+     *

+     *
Property	Value

+     *
bubbles	false

+     *
cancelable	false

+     *
channel	The Channel that generated this event.

+     *
currentTarget	The Object that defines the
+     *       event listener that handles the event. For example, if you use
+     *       myButton.addEventListener() to register an event listener,
+     *       myButton is the value of the currentTarget.

+     *
faultCode	Provides destination-specific
+     *       details of the failure.

+     *
faultDetail	Provides access to the
+     *       destination-specific reason for the failure.

+     *
faultString	Provides access to the underlying
+     *        reason for the failure if the channel did not raise the failure itself.

+     *
reconnecting	 Indicates whether the channel
+     *       that generated this event is reconnecting.

+     *
rootCause	 Provides access to the underlying reason
+     *       for the failure if the channel did not raise the failure itself.

+     *
target	The Object that dispatched the event;
+     *       it is not always the Object listening for the event.
+     *       Use the currentTarget property to always access the
+     *       Object listening for the event.

+     *

+     *  @eventType channelFault
+     */
+    public static const FAULT:String = "channelFault";
+
+    //--------------------------------------------------------------------------
+    //
+    // Static Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Utility method to create a new ChannelFaultEvent that doesn't bubble and
+     *  is not cancelable.
+     *
+     *  @param channel The Channel generating the event.
+     *
+     *  @param reconnecting Indicates whether the Channel is in the process of
+     *  reconnecting or not.
+     *
+     *  @param code The fault code.
+     *
+     *  @param level The fault level.
+     *
+     *  @param description The fault description.
+     *
+     *  @param rejected Indicates whether the Channel's connection has been rejected,
+     *  which suppresses automatic reconnection.
+     *
+     *  @param connected Indicates whether the Channel that generated this event
+     *  is already connected.
+     *
+     *  @return New ChannelFaultEvent.
+     */
+    public static function createEvent(channel:Channel, reconnecting:Boolean = false,
+            code:String = null, level:String = null, description:String = null,
+            rejected:Boolean = false, connected:Boolean = false):ChannelFaultEvent
+    {
+        return new ChannelFaultEvent(ChannelFaultEvent.FAULT, false, false,
+                channel, reconnecting, code, level, description, rejected, connected);
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    // Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructs an instance of this event with the specified type.
+     *  Note that the rejected and connected arguments that correspond to properties
+     *  defined by the super-class ChannelEvent were not originally included in this method signature and have been
+     *  added at the end of the argument list to preserve backward compatibility even though this signature differs from
+     *  ChannelEvent's constructor.
+     *
+     *  @param channel The Channel generating the event.
+     *
+     *  @param reconnecting Indicates whether the Channel is in the process of
+     *                      reconnecting or not.
+     *
+     *  @param code The fault code.
+     *
+     *  @param level The fault level.
+     *
+     *  @param description The fault description.
+     *
+     *  @param rejected Indicates whether the Channel's connection has been rejected,
+     *  which suppresses automatic reconnection.
+     *
+     *  @param connected Indicates whether the Channel that generated this event
+     *  is already connected.
+     */
+    public function ChannelFaultEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false,
+            channel:Channel = null, reconnecting:Boolean = false, code:String = null, level:String = null, description:String = null,
+            rejected:Boolean = false, connected:Boolean = false)
+    {
+        super(type, bubbles, cancelable, channel, reconnecting, rejected, connected);
+
+        faultCode = code;
+        faultString = level;
+        faultDetail = description;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    // Variables
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Provides access to the destination-specific failure code. For more
+     *  specific details see the faultString and
+     *  faultDetails properties.
+     *
+     *
The format of the fault codes are provided by the remote destination,
+     *  but will typically have the following form: host.operation.error
+     *  e.g. "Server.Connect.Failed"

+     *
+     *  @see #faultString
+     *  @see #faultDetail
+     */
+    public var faultCode:String;
+
+    /**
+     *  Provides destination-specific details of the failure.
+     *
+     *
Typically fault details are a stack trace of an exception thrown at
+     *  the remote destination.

+     *
+     *  @see #faultString
+     *  @see #faultCode
+     */
+    public var faultDetail:String;
+
+    /**
+     *  Provides access to the destination-specific reason for the failure.
+     *
+     *  @see #faultCode
+     *  @see #faultDetail
+     */
+    public var faultString:String;
+
+    /**
+     * Provides access to the underlying reason for the failure if the channel did
+     * not raise the failure itself.
+     */
+    public var rootCause:Object;
+
+    //--------------------------------------------------------------------------
+    //
+    // Overridden Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Clones the ChannelFaultEvent.
+     *
+     *  @return Copy of this ChannelFaultEvent.
+     */
+    override public function clone():Event
+    {
+        var faultEvent:ChannelFaultEvent = new ChannelFaultEvent(type, bubbles, cancelable, channel, reconnecting, faultCode, faultString, faultDetail, rejected, connected);
+        faultEvent.rootCause = rootCause;
+        return faultEvent;
+    }
+
+    /**
+     *  Returns a string representation of the ChannelFaultEvent.
+     *
+     *  @return String representation of the ChannelFaultEvent.
+     */
+    override public function toString():String
+    {
+        return formatToString("ChannelFaultEvent", "faultCode", "faultString", "faultDetail",
+                "channelId", "type", "bubbles", "cancelable", "eventPhase");
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    // Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Creates an ErrorMessage based on the ChannelFaultEvent by copying over
+     *  the faultCode, faultString, faultDetail and rootCause to the new ErrorMessage.
+     *
+     *  @return The ErrorMessage.
+     */
+    public function createErrorMessage():ErrorMessage
+    {
+        var result:ErrorMessage = new ErrorMessage();
+        result.faultCode = faultCode;
+        result.faultString = faultString;
+        result.faultDetail = faultDetail;
+        result.rootCause = rootCause;
+        return result;
+    }
+
+}
+
+}


FLEX-26325 Minor performance improvement

--- frameworks/projects/rpc/src/mx/messaging/messages/AbstractMessage.as
+++ frameworks/projects/rpc/src/mx/messaging/messages/AbstractMessage.as
@@ -689,7 +689,8 @@
         }
         propertyNames.sort();

-        for (var i:uint = 0; i < propertyNames.length; i++)
+		var length:int = propertyNames.length;
+        for (var i:uint = 0; i < length; i++)
         {
             var name:String = String(propertyNames[i]);
             var value:String = RPCObjectUtil.toString(attributes[name]);


Transferred from the Adobe Open Source Subversion Repository

Revision: 8487
Author:   smgilson@adobe.com
Date:     2009-07-09T18:57:21.985536Z

Log Message:
-----------
final checkin to update the namespace in ASDoc MXML syntax descriptions for Spark components

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/EaseInOutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Fade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/BlurFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/DisplacementMapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ShaderFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/DropShadowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/CallAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientBevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransitionShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Graphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Wipe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ConvolutionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Keyframe.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/spark/src/spark/filters/GradientGlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/SetAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/BevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientFilter.as</path>

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

--- frameworks/projects/spark/src/spark/filters/DisplacementMapFilter.as
+++ frameworks/projects/spark/src/spark/filters/DisplacementMapFilter.as
@@ -49,7 +49,7 @@
 * the filter effect is not scaled. It is scaled only when the user zooms in on the Stage.

 *
 *  @mxml
-*
The <DisplacementMapFilter> tag inherits all of the tag
+*
The <s:DisplacementMapFilter> tag inherits all of the tag
 *  attributes of its superclass and adds the following tag attributes:

 *
 *


Transferred from the Adobe Open Source Subversion Repository

Revision: 17140
Author:   chiedozi@adobe.com
Date:     2010-07-30T18:52:08.702740Z

Log Message:
-----------
Views can now return an object to the previous view when popped by overriding the createReturnObject() method.  This object will be stored in the new view's returnedObject property.

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

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

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

--- frameworks/projects/mobilecomponents/src/spark/components/View.as
+++ frameworks/projects/mobilecomponents/src/spark/components/View.as
@@ -24,6 +24,19 @@
 //--------------------------------------
 //  Events
 //--------------------------------------
+
+/**
+ *  Dispatched when the data property changes.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ *
+ *  @eventType mx.events.FlexEvent.DATA_CHANGE
+ *
+ */
+[Event(name="dataChange", type="mx.events.FlexEvent")]

 /**
  *  Dispatched when the current view has been activated.
@@ -202,7 +215,31 @@
         if (_navigator != value)
             _navigator = value;
     }
-
+
+    //----------------------------------
+    //  returnedObject
+    //----------------------------------
+
+    private var _returnedObject:Object;
+
+    /**
+     *
+     *
+     */
+    [Bindable]
+    public function get returnedObject():Object
+    {
+        return _returnedObject;
+    }
+
+    /**
+     *  @private
+     */
+    public function set returnedObject(value:Object):void
+    {
+        _returnedObject = value;
+    }
+
     //--------------------------------------------------------------------------
     //
     //  UI Template Properties
@@ -476,15 +513,27 @@
     //  Methods
     //
     //--------------------------------------------------------------------------
-
+
+    /**
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public function createReturnObject():Object
+    {
+        return null;
+    }
+
     /**
      *
      *  @return A String specifying the name of the state to apply to the screen.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public function getCurrentViewState(isLandscape:Boolean):String
     {
@@ -504,11 +553,26 @@
     //  Persistence Methods
     //
     //--------------------------------------------------------------------------
+
+    /**
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
     public function getPersistenceData():Object
     {
         return data;
     }

+    /**
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
     public function deserializePersistenceData(value:Object):Object
     {
         return value;