Transferred from the Adobe Open Source Subversion Repository

Revision: 8679
Author:   jimurphy@adobe.com
Date:     2009-07-20T13:23:31.007823Z

Log Message:
-----------
These are Asdoc edit from 3.x rev 8623.  I somehow missed committing these when they were supposed to be committed during my previous merge.

bug: no
qa: no
doc: no
checkintests: pass

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/PollingChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Consumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MultiTopicProducer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingConnectionHandler.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/CallResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/HTTPRequestMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MultiTopicConsumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureStreamingAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/config/ConfigMap.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/Responder.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/XMLLoadEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/IResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Producer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureStreamingHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncToken.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/WSDLLoadEvent.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/events/WSDLLoadEvent.as
+++ frameworks/projects/rpc/src/mx/rpc/events/WSDLLoadEvent.as
@@ -67,7 +67,9 @@
     public var wsdl:WSDL

     /**
-     * Returns a copy of this WSDLLoadEvent object.
+     *  Returns a copy of this WSDLLoadEvent object.
+     *
+     *  @return A copy of this WSDLLoadEvent object.
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -80,7 +82,9 @@
     }

     /**
-     * Returns a String representation of this WSDLLoadEvent object.
+     *  Returns a String representation of this WSDLLoadEvent object.
+     *
+     *  @return A String representation of this WSDLLoadEvent object.
      *
      *  @langversion 3.0
      *  @playerversion Flash 9


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/spark/src/spark/components/CheckBox.as
+++ frameworks/projects/spark/src/spark/components/CheckBox.as
@@ -9,7 +9,7 @@
 //
 ////////////////////////////////////////////////////////////////////////////////

-package flex.component
+package mx.components
 {

 import flash.events.Event;
@@ -18,7 +18,7 @@
 /**
  *  Documentation is not currently available.
  */
-public class CheckBox extends ToggleButton
+public class FxCheckBox extends FxToggleButton
 {
     include "../core/Version.as";

@@ -31,7 +31,7 @@
     /**
      *  Constructor.
      */
-	public function CheckBox()
+	public function FxCheckBox()
 	{
 		super();
 	}


Transferred from the Adobe Open Source Subversion Repository

Revision: 8576
Author:   cframpto@adobe.com
Date:     2009-07-15T12:19:18.531995Z

Log Message:
-----------
RichEditableText will dispatch all the FlexEvent.COMMIT_VALUE events and SkinnableTextBase will redispatch them for TextInput and TextArea.  Dispatched on focusOut, set text/content/textFlow, and for the insertText() and appendText() API calls.

Also changed a few validateNow() calls to validateProperties() because that is all that is needed and it is a much safer call.

QA Notes:
Doc Notes: SDK-21991
Reviewers: Alex

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInput.as</path>

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

--- frameworks/projects/spark/src/spark/components/TextArea.as
+++ frameworks/projects/spark/src/spark/components/TextArea.as
@@ -226,9 +226,6 @@

         // Trigger bindings to textChanged.
         dispatchEvent(new Event("textChanged"));
-
-        // The default event to trigger a validator.
-        dispatchEvent(new FlexEvent(FlexEvent.VALUE_COMMIT));
     }

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/spark/src/spark/core/NavigationUnit.as
+++ frameworks/projects/spark/src/spark/core/NavigationUnit.as
@@ -0,0 +1,140 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2008 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package spark.core
+{
+
+/**
+ *  Enumerated type for the LayoutBase getDestinationIndex()
+ *  method.
+ *  List maps KeyboardEvent.keyCode to NavigationUnit values in its
+ *  mapEventToNavigationUnit method.
+ *
+ *  @see spark.layouts.LayoutBase#getDestinationIndex
+ *  @see spark.components.List#mapEventToNavigationUnit
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+public final class NavigationUnit
+{
+    /**
+     *  Don't go to a different item.
+     */
+    public static const NONE:uint = 0;
+
+    /**
+     *  Go to the first item in the container.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public static const HOME:uint = 1;
+
+    /**
+     *  Go to the last item in the container.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public static const END:uint = 2;
+
+    /**
+     *  Go to the destination item by moving in the upward direction.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public static const UP:uint = 3;
+
+    /**
+     *  Go to the destination item by moving in the downward direction.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public static const DOWN:uint = 4;
+
+    /**
+     *  Go to the destination item by moving in the left direction.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public static const LEFT:uint = 5;
+
+    /**
+     *  Go to the destination item by moving in the right direction.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public static const RIGHT:uint = 6;
+
+    /**
+     *  Go to the destination item by moving by
+     *  one page in the upward direction.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public static const PAGE_UP:uint = 7;
+
+    /**
+     *  Go to the destination item by moving by
+     *  one page in the downward direction.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public static const PAGE_DOWN:uint = 8;
+
+    /**
+     *  Go to the destination item by moving by
+     *  one page in the left direction.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public static const PAGE_LEFT:uint = 9;
+
+    /**
+     *  Go to the destination item by moving by
+     *  one page in the right direction.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public static const PAGE_RIGHT:uint = 10;
+}
+}


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

--- frameworks/projects/framework/src/mx/core/EdgeMetrics.as
+++ frameworks/projects/framework/src/mx/core/EdgeMetrics.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2004-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.core
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5331
Author:   dloverin@adobe.com
Date:     2009-03-16T20:29:20.872892Z

Log Message:
-----------
FxApplication related API changes.

1. Rename ApplicationGlobals.application -> FlexGlobals.topLevelApplication
2. Application.application will be deprecated. FlexGlobals.topLevelApplication will be the recommend alternative.
3. Application.application will return null if the top-level application is not of type Application or a subclass of Application.
4. Change the FxApplication.backgroundColor property from type Object to uint.

QE Notes: None
Doc Notes: None
Bugs: sdk-19677
Reviewer: Ryan
tests: checkintests, Application mustella tests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ActivatorSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.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/framework/src/mx/managers/BrowserManagerImpl.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ApplicationGlobals.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/LayoutManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectManager.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/haloclassic/src/haloclassic/ActivatorSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Alert.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButtonGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/HistoryManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButtonGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ActivatorSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/checkinapp/ProductDetail.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Glow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ApplicationGlobals.as" copyfrom-rev="5314" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexGlobals.as</path>

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

--- frameworks/projects/framework/src/mx/core/FlexGlobals.as
+++ frameworks/projects/framework/src/mx/core/FlexGlobals.as
@@ -1,7 +1,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
 //  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2006-2007 Adobe Systems Incorporated
+//  Copyright 2009 Adobe Systems Incorporated
 //  All Rights Reserved.
 //
 //  NOTICE: Adobe permits you to use, modify, and distribute this file
@@ -12,12 +12,17 @@
 package mx.core
 {

-[ExcludeClass]
-
 /**
- *  @private
+ *  A class that contains variables that are global to all applications within
+ *  the same ApplicationDomain.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ *
  */
-public class ApplicationGlobals
+public class FlexGlobals
 {
     //--------------------------------------------------------------------------
     //
@@ -26,11 +31,17 @@
     //--------------------------------------------------------------------------

     /**
-     *  @private
-     *  Storage for the application property.
-     *  Set in the constructor.
+     *  The first application run in an ApplicationDomain is the top-level application.
+     *  This property is set to a reference to the top-level application in the top-level
+     *  application's constructor. Each ApplicationDomain will have its own
+     *  topLevelApplication.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
-	public static var application:Object;
+	public static var topLevelApplication:Object;
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 7862
Author:   jszeto@adobe.com
Date:     2009-06-15T22:06:23.250745Z

Log Message:
-----------
GraphicElement PARB Changes

mx.core.AdvancedLayoutFeatures
•	Rename layer -> depth
•	Rename offsets -> postLayoutTransformOffsets

mx.core.IVisualElement
•	Rename layer -> depth

mx.core.UIComponent
•	Rename offsets -> postLayoutTransformOffsets
•	Rename layer -> depth

mx.graphics.GradientBase
•	Remove scaleX

mx.graphics.GradientStroke
•	Add apply(g:Graphics, bounds:Rectangle)

mx.graphics.IStroke
•	Remove draw
•	Change apply(g:Graphics) -> apply(g:Graphics, bounds:Rectangle)

mx.graphics.LinearGradient
•	Add scaleX

mx.graphics.LinearGradientStroke
•	Add scaleX
•	Remove draw
•	Change apply(g:Graphics) -> apply(g:Graphics, bounds:Rectangle)

mx.graphics.RadialGradient
•	Add scaleX

mx.graphics.RadialGradientStroke
•	Add scaleX
•	Remove draw
•	Change apply(g:Graphics) -> apply(g:Graphics, bounds:Rectangle)

mx.graphics.SolidColorStroke
•	Remove draw
•	Change apply(g:Graphics) -> apply(g:Graphics, bounds:Rectangle)

mx.flash.UIMovieClip
•	Rename offsets -> postLayoutTransformOffsets
•	Rename layer -> depth

spark.components.PopUpAnchor
•	Change popUp type from UIComponent -> IFlexDisplayObject
•	Rename positionPopUp -> calculatePopUpPosition
•	Rename autoSizePopUpWidth -> popUpWidthMatchesAnchorWidth
•	Rename autoSizePopUpHeight -> popUpHeightMatchesAnchorHeight

spark.core.RelativePosition
•	Rename and move spark.core.RelativePosition -> spark.components.PopUpPosition
•	Rename EXACT -> TOP_LEFT (topLeft)

spark.core.SpriteVisualElement
•	Rename layer -> depth
•	Remove computeMatrix

spark.primitives.BitmapImage
•	Change _NORMAL_UINT from protected -> private
•	Change _REPEAT_UINT from protected -> private
•	Change _SCALE_UINT from protected -> private
•	Change resizeModeToUINT from protected -> private
•	Rename drawElement -> draw

spark.primitives.Line
•	Rename skipMeasure -> canSkipMeasurement
•	Rename drawElement -> draw

spark.primitives.Path
•	Change graphicsPath fro protected -> mx_internal
•	Rename skipMeasure -> canSkipMeasurement
•	Rename drawElement -> draw
•	Rename renderGraphicsAtScale -> generateGraphicsPath
•	Change generateGraphicsPath from protected -> mx_internal
•	Rename notifyElementLayerChanged -> invalidateDisplayObjectSharing

spark.primitives.Rect
•	Rename drawElement -> draw

spark.primitives.supportClasses.GraphicElement
•	Rename layer -> depth
•	Rename offsets -> postLayoutTransformOffsets
•	Rename getBitmapData -> captureBitmapData
•	Rename notifyElementLayerChanged -> invalidateDisplayObjectSharing
•	Rename skipMeasure -> canSkipMeasurement
•	Add protected hasComplexLayoutMatrix:Boolean getter
•	Remove target
•	Remove computeMatrix
•	Change DEFAULT_MAX_WIDTH from public -> private
•	Change DEFAULT_MAX_HEIGHT from public -> private
•	Change DEFAULT_MIN_WIDTH from public -> private
•	Change DEFAULT_MIN_HEIGHT from public -> private
•	Change allocateLayoutFeatures from protected -> mx_internal
•	Change invalidateTransform from protected -> private
•	Change captureBitmapData from public -> mx_internal
•	Change applyMaskType from protected -> mx_internal
•	Change dispatchPropertyChangeEvent from protected -> private
•	Change applyComputedTransform from protected -> mx_internal
•	Change filterChangedHandler from protected -> private

spark.supportClasses.StrokedElement
•	Rename drawElement -> draw
•	Remove getStroke()
•	Add getStrokeExtents() override

QE Notes: None
Doc Notes: None
Bugs: N/A
Reviewer: Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/BitmapImage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/TransformOffsets.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Line.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Ellipse.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/FilledElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransitionShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.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/graphics/GradientBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/IFill.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Rect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/IStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.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/framework/src/mx/graphics/LinearGradient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -50,15 +50,14 @@
 import mx.events.FlexEvent;
 import mx.events.MoveEvent;
 import mx.events.PropertyChangeEvent;
-import mx.events.PropertyChangeEventKind;
 import mx.events.ResizeEvent;
 import mx.events.StateChangeEvent;
 import mx.events.ValidationResultEvent;
 import mx.filters.BaseFilter;
 import mx.filters.IBitmapFilter;
+import mx.graphics.RoundedRectangle;
 import mx.geom.Transform;
 import mx.geom.TransformOffsets;
-import mx.graphics.RoundedRectangle;
 import mx.managers.CursorManager;
 import mx.managers.ICursorManager;
 import mx.managers.IFocusManager;
@@ -11416,31 +11415,31 @@
      *  Defines a set of adjustments that can be applied to the component's transform in a way that is
      *  invisible to the component's parent's layout. For example, if you want a layout to adjust
      *  for a component that will be rotated 90 degrees, you set the component's rotation property.
-     *  If you want the layout to not adjust for the component being rotated, you set its offsets.rotationZ
-     *  property.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function set offsets(value:TransformOffsets):void
+     *  If you want the layout to not adjust for the component being rotated, you set its
+     *  postLayoutTransformOffsets.rotationZ property.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function set postLayoutTransformOffsets(value:TransformOffsets):void
     {
         if(_layoutFeatures == null) initAdvancedLayoutFeatures();

-        if(_layoutFeatures.offsets != null)
-            _layoutFeatures.offsets.removeEventListener(Event.CHANGE,transformOffsetsChangedHandler);
-        _layoutFeatures.offsets = value;
-        if(_layoutFeatures.offsets != null)
-            _layoutFeatures.offsets.addEventListener(Event.CHANGE,transformOffsetsChangedHandler);
+        if(_layoutFeatures.postLayoutTransformOffsets != null)
+            _layoutFeatures.postLayoutTransformOffsets.removeEventListener(Event.CHANGE,transformOffsetsChangedHandler);
+        _layoutFeatures.postLayoutTransformOffsets = value;
+        if(_layoutFeatures.postLayoutTransformOffsets != null)
+            _layoutFeatures.postLayoutTransformOffsets.addEventListener(Event.CHANGE,transformOffsetsChangedHandler);
     }

     /**
      * @private
      */
-    public function get offsets():TransformOffsets
-    {
-        return (_layoutFeatures != null)? _layoutFeatures.offsets:null;
+    public function get postLayoutTransformOffsets():TransformOffsets
+    {
+        return (_layoutFeatures != null)? _layoutFeatures.postLayoutTransformOffsets:null;
     }

     /**
@@ -11692,21 +11691,21 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public function get layer():Number
-    {
-        return (_layoutFeatures == null)? 0:_layoutFeatures.layer;
+    public function get depth():Number
+    {
+        return (_layoutFeatures == null)? 0:_layoutFeatures.depth;
     }

     [Bindable("layerChange")]
     /**
      * @private
      */
-    public function set layer(value:Number):void
-    {
-        if(value == layer)
+    public function set depth(value:Number):void
+    {
+        if(value == depth)
             return;
         if(_layoutFeatures == null) initAdvancedLayoutFeatures();
-        _layoutFeatures.layer = value;
+        _layoutFeatures.depth = value;
         dispatchEvent(new FlexEvent("layerChange"));
         if(parent != null && parent is UIComponent)
             (parent as UIComponent).invalidateLayering();


Transferred from the Adobe Open Source Subversion Repository

Revision: 3411
Author:   egeorgie@adobe.com
Date:     2008-09-29T23:44:01.337941Z

Log Message:
-----------
* Change layout-related width/height, explicit width/height, measured width/height properties from post-scale to pre-transform. yay!
* Flex3 containers are updated to support the new behavior.
* Repeatedly scaling a component can differ from before, since we no longer accumulate rounding errors.
* The change is gated by a version flag, in compatibility mode these properties don't change.

Reviewed by Glenn, Ely

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/BoxLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Box.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/CanvasLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Tile.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/PostScaleAdapter.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/containers/DividedBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/LayoutItemUIC.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -5803,31 +5803,51 @@
     {
         if (_scaleX != oldScaleX)
         {
-            var scalingFactorX:Number = Math.abs(_scaleX / oldScaleX);
-            if (!isNaN(explicitMinWidth))
-                explicitMinWidth *= scalingFactorX;
-            if (!isNaN(explicitWidth))
-                explicitWidth *= scalingFactorX;
-            if (!isNaN(explicitMaxWidth))
-                explicitMaxWidth *= scalingFactorX;
-
-            _width *= scalingFactorX;
+            if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_0)
+            {
+                var scalingFactorX:Number = Math.abs(_scaleX / oldScaleX);
+                if (!isNaN(explicitMinWidth))
+                    explicitMinWidth *= scalingFactorX;
+                if (!isNaN(explicitWidth))
+                    explicitWidth *= scalingFactorX;
+                if (!isNaN(explicitMaxWidth))
+                    explicitMaxWidth *= scalingFactorX;
+
+                _width *= scalingFactorX;
+            }
+            else if (invalidateSizeFlag)
+            {
+                // If we're not compatible with Flex3 (measuredWidth is pre-scale always)
+                // and scaleX is changing we need to invalidate parent size and display list
+                // since we are not going to detect a change in measured sizes during measure.
+                invalidateParentSizeAndDisplayList();
+            }

             super.scaleX = oldScaleX = _scaleX;
         }

         if (_scaleY != oldScaleY)
         {
-            var scalingFactorY:Number = Math.abs(_scaleY / oldScaleY);
-            if (!isNaN(explicitMinHeight))
-                explicitMinHeight *= scalingFactorY;
-            if (!isNaN(explicitHeight))
-                explicitHeight *= scalingFactorY;
-            if (!isNaN(explicitMaxHeight))
-                explicitMaxHeight *= scalingFactorY;
-
-            _height *= scalingFactorY;
-
+            if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_0)
+            {
+                var scalingFactorY:Number = Math.abs(_scaleY / oldScaleY);
+                if (!isNaN(explicitMinHeight))
+                    explicitMinHeight *= scalingFactorY;
+                if (!isNaN(explicitHeight))
+                    explicitHeight *= scalingFactorY;
+                if (!isNaN(explicitMaxHeight))
+                    explicitMaxHeight *= scalingFactorY;
+
+                _height *= scalingFactorY;
+            }
+            else if (invalidateSizeFlag)
+            {
+                // If we're not compatible with Flex3 (measuredHeight is pre-scale always)
+                // and scaleX is changing we need to invalidate parent size and display list
+                // since we are not going to detect a change in measured sizes during measure.
+                invalidateParentSizeAndDisplayList();
+            }
+
             super.scaleY = oldScaleY = _scaleY;
         }

@@ -5888,22 +5908,6 @@
      */
     protected function skipMeasure():Boolean
     {
-        return !isNaN(explicitWidth) && !isNaN(explicitHeight);
-    }
-
-    /**
-     *  @private
-     */
-    private function measureSizes():Boolean
-    {
-        var changed:Boolean = false;
-
-        if (!invalidateSizeFlag)
-            return changed;
-
-        var scalingFactor:Number;
-        var newValue:Number;
-
         // We can skip the measure function if the object's width and height
         // have been explicitly specified (e.g.: the object's MXML tag has
         // attributes like width="50" and height="100").
@@ -5911,8 +5915,22 @@
         // If an object's width and height have been explicitly specified,
         // then the explicitWidth and explicitHeight properties contain
         // Numbers (as opposed to NaN)
-
-
+        return !isNaN(explicitWidth) && !isNaN(explicitHeight);
+    }
+
+    /**
+     *  @private
+     */
+    private function measureSizes():Boolean
+    {
+        var changed:Boolean = false;
+
+        if (!invalidateSizeFlag)
+            return changed;
+
+        var scalingFactor:Number;
+        var newValue:Number;
+
         if (skipMeasure())
         {
             invalidateSizeFlag = false;
@@ -5924,16 +5942,19 @@
             var xScale:Number = Math.abs(scaleX);
             var yScale:Number = Math.abs(scaleY);

-            if (xScale != 1.0)
+            if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_0)
             {
-                _measuredMinWidth /= xScale;
-                _measuredWidth /= xScale;
-            }
-
-            if (yScale != 1.0)
-            {
-                _measuredMinHeight /= yScale;
-                _measuredHeight /= yScale;
+                if (xScale != 1.0)
+                {
+                    _measuredMinWidth /= xScale;
+                    _measuredWidth /= xScale;
+                }
+
+                if (yScale != 1.0)
+                {
+                    _measuredMinHeight /= yScale;
+                    _measuredHeight /= yScale;
+                }
             }

             measure();
@@ -5952,16 +5973,19 @@
             if (!isNaN(explicitMaxHeight) && measuredHeight > explicitMaxHeight)
                 measuredHeight = explicitMaxHeight;

-            if (xScale != 1.0)
+            if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_0)
             {
-                _measuredMinWidth *= xScale;
-                _measuredWidth *= xScale;
-            }
-
-            if (yScale != 1.0)
-            {
-                _measuredMinHeight *= yScale;
-                _measuredHeight *= yScale;
+                if (xScale != 1.0)
+                {
+                    _measuredMinWidth *= xScale;
+                    _measuredWidth *= xScale;
+                }
+
+                if (yScale != 1.0)
+                {
+                    _measuredMinHeight *= yScale;
+                    _measuredHeight *= yScale;
+                }
             }
         }

@@ -6106,32 +6130,38 @@

         if (xScale != oldScaleX)
         {
-            scalingFactor = Math.abs(xScale / oldScaleX);
-
-            if (explicitMinWidth)
-                explicitMinWidth *= scalingFactor;
-
-            if (!isNaN(explicitWidth))
-                explicitWidth *= scalingFactor;
-
-            if (explicitMaxWidth)
-                explicitMaxWidth *= scalingFactor;
+            if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_0)
+            {
+                scalingFactor = Math.abs(xScale / oldScaleX);
+
+                if (explicitMinWidth)
+                    explicitMinWidth *= scalingFactor;
+
+                if (!isNaN(explicitWidth))
+                    explicitWidth *= scalingFactor;
+
+                if (explicitMaxWidth)
+                    explicitMaxWidth *= scalingFactor;
+            }

             oldScaleX = xScale;
         }

         if (yScale != oldScaleY)
         {
-            scalingFactor = Math.abs(yScale / oldScaleY);
-
-            if (explicitMinHeight)
-                explicitMinHeight *= scalingFactor;
-
-            if (explicitHeight)
-                explicitHeight *= scalingFactor;
-
-            if (explicitMaxHeight)
-                explicitMaxHeight *= scalingFactor;
+            if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_0)
+            {
+                scalingFactor = Math.abs(yScale / oldScaleY);
+
+                if (explicitMinHeight)
+                    explicitMinHeight *= scalingFactor;
+
+                if (explicitHeight)
+                    explicitHeight *= scalingFactor;
+
+                if (explicitMaxHeight)
+                    explicitMaxHeight *= scalingFactor;
+            }

             oldScaleY = yScale;
         }
@@ -6172,7 +6202,10 @@
      */
     protected function get unscaledWidth():Number
     {
-        return width / Math.abs(scaleX);
+        if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_0)
+            return width / Math.abs(scaleX);
+        else
+            return width;
     }

     /**
@@ -6184,15 +6217,17 @@
      */
     mx_internal function setUnscaledWidth(value:Number):void
     {
-        var scaledValue:Number = value * Math.abs(oldScaleX);
-        if (_explicitWidth == scaledValue)
+        var newValue:Number = value;
+        if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_0)
+            newValue *= Math.abs(oldScaleX);
+        if (_explicitWidth == newValue)
             return;

         // width can be pixel or percent not both
-        if (!isNaN(scaledValue))
+        if (!isNaN(newValue))
             _percentWidth = NaN;

-        _explicitWidth = scaledValue;
+        _explicitWidth = newValue;

         // We invalidate size because locking in width
         // may change the measured height in flow-based components.
@@ -6212,7 +6247,10 @@
      */
     protected function get unscaledHeight():Number
     {
-        return height / Math.abs(scaleY);
+        if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_0)
+            return height / Math.abs(scaleY);
+        else
+            return height;
     }

     /**
@@ -6224,15 +6262,17 @@
      */
     mx_internal function setUnscaledHeight(value:Number):void
     {
-        var scaledValue:Number = value * Math.abs(oldScaleY);
-        if (_explicitHeight == scaledValue)
+        var newValue:Number = value;
+        if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_0)
+            newValue *= Math.abs(oldScaleY);
+        if (_explicitHeight == newValue)
             return;

         // height can be pixel or percent, not both
-        if (!isNaN(scaledValue))
+        if (!isNaN(newValue))
             _percentHeight = NaN;

-        _explicitHeight = scaledValue;
+        _explicitHeight = newValue;

         // We invalidate size because locking in height
         // may change the measured width in flow-based components.
@@ -6306,15 +6346,21 @@
                 }
             }

-            var unscaledWidth:Number = scaleX == 0 ? 0 : width / scaleX;
-            var unscaledHeight:Number = scaleY == 0 ? 0 : height / scaleY;
-            // Use some hysteresis to prevent roundoff errors from
-            // causing problems as we scale. This isn't a full solution,
-            // but it helps.
-            if (Math.abs(unscaledWidth - lastUnscaledWidth) < .00001)
-                unscaledWidth = lastUnscaledWidth;
-            if (Math.abs(unscaledHeight - lastUnscaledHeight) < .00001)
-                unscaledHeight = lastUnscaledHeight;
+            var unscaledWidth:Number = width;
+            var unscaledHeight:Number = height;
+            if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_0)
+            {
+                unscaledWidth = scaleX == 0 ? 0 : width / scaleX;
+                unscaledHeight = scaleY == 0 ? 0 : height / scaleY;
+
+                // Use some hysteresis to prevent roundoff errors from
+                // causing problems as we scale. This isn't a full solution,
+                // but it helps.
+                if (Math.abs(unscaledWidth - lastUnscaledWidth) < .00001)
+                    unscaledWidth = lastUnscaledWidth;
+                if (Math.abs(unscaledHeight - lastUnscaledHeight) < .00001)
+                    unscaledHeight = lastUnscaledHeight;
+            }
             updateDisplayList(unscaledWidth,unscaledHeight);
             lastUnscaledWidth = unscaledWidth;
             lastUnscaledHeight = unscaledHeight;


Transferred from the Adobe Open Source Subversion Repository

Revision: 6792
Author:   jimurphy@adobe.com
Date:     2009-05-11T18:24:09.346026Z

Log Message:
-----------
Merged revisions 6729,6731,6746,6755,6757,6765,6767-6768,6770-6772,6775,6784-6786,6790 from http://p01weblab02.corp.adobe.com/svn/opensource/flex/sdk/branches/beta1

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/utilities/src/FlashContainerPlaceholder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexFXG2SWFTranscoder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/FlexContentHolder.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/flash-integration/src/mx/flash/ContainerMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/TypeHelper.java</path>
<path kind="dir" copyfrom-path="/flex/sdk/branches/beta1/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/types" copyfrom-rev="6790" action="A">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/types</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/ButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/fxg/swf/FXG2SWFTranscoder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/ResizeInstance.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/supportClasses/ScrollerLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/RadioButtonSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/beta1/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/types/FXGMatrix.java" copyfrom-rev="6790" action="R">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/types/FXGMatrix.java</path>

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

--- frameworks/projects/mx/src/mx/containers/TabNavigator.as
+++ frameworks/projects/mx/src/mx/containers/TabNavigator.as
@@ -25,6 +25,7 @@
 import mx.core.IInvalidating;
 import mx.core.IProgrammaticSkin;
 import mx.core.IUIComponent;
+import mx.core.UIComponent;
 import mx.core.mx_internal;
 import mx.events.ItemClickEvent;
 import mx.managers.IFocusManagerComponent;
@@ -754,6 +755,10 @@
                     Container(parent).rawChildren.setChildIndex(
                         focusObj, Math.max(0, (fci == n) ? n - 1 : fci));
                 }
+                else if (parent is UIComponent)
+                {
+                    UIComponent(parent).$setChildIndex(focusObj, 0);
+                }
                 else
                 {
                     parent.setChildIndex(focusObj, 0);
@@ -770,6 +775,10 @@
                 {
                     Container(parent).rawChildren.setChildIndex(
                             focusObj, Container(parent).rawChildren.numChildren - 1);
+                }
+                else if (parent is UIComponent)
+                {
+                    UIComponent(parent).$setChildIndex(focusObj, parent.numChildren - 1);
                 }
                 else
                 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 16937
Author:   smgilson@adobe.com
Date:     2010-07-15T16:35:17.543693Z

Log Message:
-----------
Add ASDoc comment about using component in an item renderer

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/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RadioButtonGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ComboBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Button.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ToggleButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Image.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>

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

--- frameworks/projects/spark/src/spark/components/Button.as
+++ frameworks/projects/spark/src/spark/components/Button.as
@@ -52,9 +52,9 @@
  *  rollOut, mouseDown, and
  *  mouseUp events whether enabled or disabled.

  *
- *
An item renderer lets you customize the display of a list-based component,
- *  such as a List or DataGrid control.
- *  For information about using this component in an item renderer, see
+ *
To use this component in a list-based component, such as a List or DataGrid,
+ *  create an item renderer.
+ *  For information about creating an item renderer, see
  *
  *  Custom Spark item renderers.

  *


Transferred from the Adobe Open Source Subversion Repository

Revision: 11582
Author:   hmuller@adobe.com
Date:     2009-11-09T21:16:17.471733Z

Log Message:
-----------
Minor revision to the ASDoc for the TabBar cornerRadius style.

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

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

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

--- frameworks/projects/spark/src/spark/components/TabBar.as
+++ frameworks/projects/spark/src/spark/components/TabBar.as
@@ -32,7 +32,8 @@
 use namespace mx_internal;  // ListBase/setCurrentCaretIndex(index);

 /**
- *  The radius of the tab bar buttons' top and right corners.
+ *  Defines the radius of the TabBar buttons' top-left and top-right corners for the default
+ *  TabBarButton skin.
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


remove console

remove console

--- src/Main.as
+++ src/Main.as
@@ -11,7 +11,7 @@
 		override public function init():void {
 			FP.screen.color = 0xffffff;
 			FP.world = new World1;
-			FP.console.enable();
+
 		}
 	}
 }


Removed unneeded import statements

Removed unneeded import statements

git-svn-id: 6aa7ccb0a2048310a30f08a72aaff4ca39d980ed@141 91848ab2-c4ae-4e4f-8e6a-6a52ea0dccc3

--- flare.query/flare/query/methods/not.as
+++ flare.query/flare/query/methods/not.as
@@ -1,6 +1,5 @@
 package flare.query.methods
 {
-	import flare.query.Expression;
 	import flare.query.Not;

 	/**


ColorRamp now uses lazy validation.

ColorRamp now uses lazy validation.

--- WeaveData/src/weave/primitives/ColorRamp.as
+++ WeaveData/src/weave/primitives/ColorRamp.as
@@ -42,8 +42,6 @@
 	{
 		public function ColorRamp(sessionState:Object = null)
 		{
-			super();
-			addImmediateCallback(this, firstCallback);
 			if (!sessionState)
 				sessionState = <colorRamp name="5-Color" source="OIC" category="basic">
 						<node color="0xEFF3FF" position="0"/>
@@ -52,13 +50,24 @@
 						<node color="0x3182BD" position="0.75"/>
 						<node color="0x08519C" position="1"/>
 					</colorRamp>;
-			value = (sessionState is XML) ? (sessionState as XML).toXMLString() : sessionState as String;
+
+			if (sessionState is XML)
+				sessionState = (sessionState as XML).toXMLString();
+
+			super(sessionState as String);
 		}

 		private var _isXML:Boolean = false;
-
-		private function firstCallback():void
-		{
+
+		private var _validateTriggerCount:uint = 0;
+
+		private function validate():void
+		{
+			if (_validateTriggerCount == triggerCounter)
+				return;
+
+			_validateTriggerCount = triggerCounter;
+
 			var i:int;
 			var pos:Number;
 			var color:Number;
@@ -116,7 +125,9 @@
 		}

 		public function reverse():void
-		{
+		{
+			validate();
+
 			if (_isXML)
 			{
 				var xml:XML = XML(value);
@@ -134,13 +145,17 @@

 		public function get name():String
 		{
+			validate();
+
 			if (_isXML)
 				return XML(value).@name;
 			else
-				return null;
+				return null;
 		}
 		public function set name(newName:String):void
-		{
+		{
+			validate();
+
 			if (_isXML)
 			{
 				var xml:XML = XML(value);
@@ -157,6 +172,8 @@

 		public function getColors():Array
 		{
+			validate();
+
 			var colors:Array = [];

 			for(var i:int =0;i< _colorNodes.length;i++)
@@ -173,7 +190,9 @@
 		 * @return A color.
 		 */
 		public function getColorFromNorm(normValue:Number):Number
-		{
+		{
+			validate();
+
 			if (normValue < 0 || normValue > 1 || _colorNodes.length == 0)
 				return NaN;

@@ -202,6 +221,8 @@
 		 */
 		public function draw(canvas:Canvas, vertical:Boolean):void
 		{
+			validate();
+
 			var g:Graphics = canvas.graphics;
 			g.clear();
 			var n:int = vertical ? canvas.height : canvas.width;


updated class label

updated class label

--- WeaveJS/src/WeaveJS.as
+++ WeaveJS/src/WeaveJS.as
@@ -90,7 +90,7 @@
 			var IDataSource_File:Class = IDataSource;
 			var IDataSource_Service:Class = IDataSource;
 			var IDataSource_Transform:Class = IDataSource;
-			WeaveAPI.ClassRegistry.registerImplementation(IDataSource_File, CSVDataSource, "CSV file / Delimited text");
+			WeaveAPI.ClassRegistry.registerImplementation(IDataSource_File, CSVDataSource, "CSV file");
 			WeaveAPI.ClassRegistry.registerImplementation(IDataSource_File, DBFDataSource, "SHP/DBF files");
 			WeaveAPI.ClassRegistry.registerImplementation(IDataSource_File, GeoJSONDataSource, "GeoJSON file");
 			WeaveAPI.ClassRegistry.registerImplementation(IDataSource_Service, WeaveDataSource, "Weave server");


Transferred from the Adobe Open Source Subversion Repository

Revision: 7743
Author:   clucier@adobe.com
Date:     2009-06-11T13:53:10.203664Z

Log Message:
-----------
Moving away from using namespace qualifiers in most cases in the SDK.  We've run into a few cases now where the use of qualifiers in code that is called excessively can slow things down.
Bugs: SDK-21337
Reviewer: Ryan, Paul
QE Notes: None
Tests: Ran several random Mustella test groups, checkintests.

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

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

--- frameworks/projects/framework/src/mx/effects/effectClasses/ZoomInstance.as
+++ frameworks/projects/framework/src/mx/effects/effectClasses/ZoomInstance.as
@@ -469,7 +469,7 @@
         // Zero-duration effects have no tween, so if !tween, tell
         // our superclass to layout and it will happen after we're done.
         if (tween)
-            tween.mx_internal::needToLayout = true;
+            tween.needToLayout = true;
         else
             needToLayout = true;

@@ -496,7 +496,7 @@
 			// to be rendered as with a width and height of zero. To
 			// avoid that situation, set its _width and _height explicitly.
 			if (target.parent && target.parent.autoLayout == false)
-				target.mx_internal::_width = curWidth;
+				target._width = curWidth;
 		}
 		if (!isNaN(origPercentHeight))
 		{
@@ -505,12 +505,12 @@
 			target.percentHeight = origPercentHeight;

 			if (target.parent && target.parent.autoLayout == false)
-				target.mx_internal::_height = curHeight;
+				target._height = curHeight;
 		}

 		super.onTweenEnd(value);

-		if (mx_internal::hideOnEffectEnd)
+		if (hideOnEffectEnd)
 		{
 			EffectManager.suspendEventHandling();


Transferred from the Adobe Open Source Subversion Repository

Revision: 17180
Author:   chiedozi@adobe.com
Date:     2010-08-04T01:48:29.118928Z

Log Message:
-----------
Fixed RTE that occurred when doing multiple pushes in succession on a ViewNavigator

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

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

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

--- frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
@@ -1578,13 +1578,15 @@
             currentViewChanged = true;
             executeViewChange();
         }
-
-        lastAction = NO_ACTION;
-        viewChanging = false;
-
-        // Notify listeners that the view change is complete
-        if (hasEventListener(Event.COMPLETE))
-            dispatchEvent(new Event(Event.COMPLETE));
+        else
+        {
+            lastAction = NO_ACTION;
+            viewChanging = false;
+
+            // Notify listeners that the view change is complete
+            if (hasEventListener(Event.COMPLETE))
+                dispatchEvent(new Event(Event.COMPLETE));
+        }
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 17044
Author:   chiedozi@adobe.com
Date:     2010-07-23T17:31:47.306994Z

Log Message:
-----------
Fixed a bug where the mouseEnabled and mouseChildren properties weren't restored properly on a ViewNavigator after executing multiple pushes

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

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

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

--- frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
@@ -921,6 +921,24 @@
         // Update view pointers
         currentViewData = pendingViewData;
         pendingViewData = null;
+
+        if (currentViewData)
+        {
+            currentView = currentViewData.instance;
+
+            if (currentView)
+            {
+                currentView.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE, view_propertyChangeHandler);
+
+                currentViewData.persistedData = currentView.getPersistenceData();
+                currentView.active = true;
+
+            }
+        }
+
+        // Restore mouse children properties before revalidation occurs
+        mouseChildren = explicitMouseChildren;
+        mouseEnabled = explicitMouseEnabled;

         if (revalidateWhenComplete)
         {
@@ -928,24 +946,7 @@
             currentViewChanged = true;
             executeViewChange();
         }
-        else
-        {
-            if (currentViewData)
-            {
-                currentView = currentViewData.instance;
-
-                if (currentView)
-                {
-                    currentView.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE, view_propertyChangeHandler);
-
-                    currentViewData.persistedData = currentView.getPersistenceData();
-                    currentView.active = true;
-                }
-            }
-        }
-
-        mouseChildren = explicitMouseChildren;
-        mouseEnabled = explicitMouseEnabled;
+

         lastAction = NO_ACTION;
         viewChanging = false;


Transferred from the Adobe Open Source Subversion Repository

Revision: 20097
Author:   jasonsj@adobe.com
Date:     2011-02-03T17:48:25.773740Z

Log Message:
-----------
Remove use of minWidth and minHeight where possible from mobile skins to fix constraint use cases. Replace usage of minWidth/minHeight and layoutMeasuredWidth/layoutMeasuredHeight with MobileSkin property measuredDefaultWidth/measuredDefaultHeight.

Use minWidth/minHeight for skins that do not scale down: Beveled buttons, CheckBox, RadioButton, and scroll bars.

Doc notes:
Bugs:
SDK-28715 Cannot size and position button correctly in i4 build.
Reviewer: egeorgie
Tests run: checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/BeveledActionButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonBarFirstButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/HSliderDataTip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaVScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonBarMiddleButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuItemSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TabbedViewNavigatorTabBarTabSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonBarLastButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ImageSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/BeveledBackButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ActionBarButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/CheckBoxSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaHScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/RadioButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderThumbSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderThumbSkin.as
@@ -96,7 +96,7 @@
             }
             default:
             {
-                // default PPI160
+                // default DPI_160
                 thumbImageWidth = 29;
                 thumbImageHeight = 29;


Fix 635836 - Allow tracers for roots to be generated (r=treilly)

--- utils/exactgc.as
+++ utils/exactgc.as
@@ -1101,6 +1101,7 @@
     function noUsefulTracer(n) {
         n = n.replace(/^MMgc::/,"")
         switch (n) {
+        case "GCRoot":
         case "GCFinalizedObject":
         case "GCTraceableObject":
         case "RCObject":


Made sure to use AES 128-bit encryption in flash SSL.

--- cpp/apps/bitmunk/flash/HttpPoolManager.as
+++ cpp/apps/bitmunk/flash/HttpPoolManager.as
@@ -31,6 +31,7 @@
    {
       import com.hurlant.crypto.cert.X509Certificate;
       import com.hurlant.crypto.cert.X509CertificateCollection;
+      import com.hurlant.crypto.tls.CipherSuites;
       import com.hurlant.crypto.tls.TLSConfig;
       import com.hurlant.crypto.tls.TLSEngine;
       import com.hurlant.util.der.PEM;
@@ -285,7 +286,10 @@
             // entity, cipher suites, compressions, cert, key, CA store
             tlsconfig = new TLSConfig(
                TLSEngine.CLIENT, // entity
-               null,             // cipher suites
+               // cipher suites
+               //[CipherSuites.TLS_RSA_WITH_RC4_128_MD5],
+               //[CipherSuites.TLS_RSA_WITH_RC4_128_SHA],
+               [CipherSuites.TLS_RSA_WITH_AES_128_CBC_SHA],
                null,             // compressions
                null,             // certificate
                null,             // private key


• Adding missing public properties for Stage.

git-svn-id: a0b640c5f6b946a52999c53230b38d51de4b98a3@9764 dfb7d73b-c2ec-0310-8fea-fb051d288c6d

--- Support/data/src/flash/display/Stage.as
+++ Support/data/src/flash/display/Stage.as
@@ -9,20 +9,24 @@
 	public class Stage extends DisplayObjectContainer
 	{
 		public var align:String;
-		public var focus:InteractiveObject;
-		public var frameRate:Number;
-		public var height:Number;
-		public var mouseChildren:Boolean;
-		public var numChildren:int;
-		public var quality:String;
-		public var scaleMode:String;
-		public var showDefaultContextMenu:Boolean;
-		public var stageFocusRect:Boolean;
-		public var stageHeight:int;
-		public var stageWidth:int;
-		public var tabChildren:Boolean;
-		public var textSnapshot:TextSnapshot;
-		public var width:Number;
+        public var displayState:String;
+        public var focus:InteractiveObject;
+        public var frameRate:Number;
+        public var fullScreenHeight:uint;
+        public var fullScreenSourceRect:Rectangle;
+        public var fullScreenWidth:uint;
+        public var height:Number;
+        public var mouseChildren:Boolean;
+        public var numChildren:int;
+        public var quality:String;
+        public var scaleMode:String;
+        public var showDefaultContextMenu:Boolean;
+        public var stageFocusRect:Boolean;
+        public var stageHeight:int;
+        public var stageWidth:int;
+        public var tabChildren:Boolean;
+        public var textSnapshot:TextSnapshot;
+        public var width:Number;
 		override function addChild(child:DisplayObject):DisplayObject;
 		override function addChildAt(child:DisplayObject, index:int):DisplayObject;
 		override function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void;


add EnterFrameController.numTargetsInScene property

--- src/aerys/minko/scene/controller/EnterFrameController.as
+++ src/aerys/minko/scene/controller/EnterFrameController.as
@@ -18,6 +18,11 @@
 	public class EnterFrameController extends AbstractController
 	{
 		private var _targetsInScene	: uint	= 0;
+
+		public function get numTargetsInScene() : uint
+		{
+			return _targetsInScene;
+		}

 		public function EnterFrameController(targetType	: Class = null)
 		{


Change 20081124-maxcarlson-H by maxcarlson@Bank.local on 2008-11-24 17:37:13 PST
    in /Users/maxcarlson/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Fix swf9 mouseover event timing to be consistent with swf8

Bugs Fixed: LPP-7335 (partial)

Technical Reviewer: promanik
QA Reviewer: andre.bargull@udo.edu

Details: Store reference to view that is moused over and delay sending event until the mouse goes up.

Tests: See LPP-7335

git-svn-id: d62bde4b5aa582fdf07c8d403e53e0399a7ed285@11880 fa20e4f9-1d0a-0410-b5f3-dc9c16b8b17c

--- WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
+++ WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
@@ -101,6 +101,8 @@
       // false if it's loaded from an external URL
       private var __isinternalresource:* = null;

+      // flag to track sprite the mouse went over while down to send mouseup event later -  see LPP-7300 and LPP-7335
+      private var __mouseoverInFront:* = null;

       public static var capabilities:* = {
       rotation: true
@@ -667,6 +669,10 @@
                 } else {
                     skipevent = true;
                 }
+                if (this.__mouseoverInFront != null) {
+                    LzMouseKernel.__sendEvent(this.__mouseoverInFront.owner, 'onmouseover');
+                    this.__mouseoverInFront = null;
+                }
             } else if (eventname == 'onmouseupoutside') {
                 this.__mousedown = false;
             } else {
@@ -690,15 +696,22 @@
                         location = target.localToGlobal(location);
                         var sprites:Array = LFCApplication.stage.getObjectsUnderPoint(location);
                         var sawself = false;
+                        var noreset = false;
                         for (var i = sprites.length; i >=0; i--) {
-                            if (sprites[i] == this) {
+                            var currsprite = sprites[i];
+                            if (currsprite == this) {
                                 sawself = true;
-                            } else if (sawself && sprites[i] == LzMouseKernel.__lastMouseDown) {
+                            } else if (sawself && currsprite == LzMouseKernel.__lastMouseDown) {
                                 // already saw ourselves, and we're on top of __lastMouseDown
-                                LzMouseKernel.__sendEvent(this.owner, eventname);
+                                // store reference to self for sending onmouseover event later - see LPP-7335
+                                LzMouseKernel.__lastMouseDown.__mouseoverInFront = this;
+                                noreset = true;
                                 break;

                             }
+                        }
+                        if (noreset == false) {
+                            LzMouseKernel.__lastMouseDown.__mouseoverInFront = null;
                         }
                     }


Added public getter to Tracker which returns the pageUrl detected by javascript external interface #45

--- snowplow-as3-tracker/src/com/snowplowanalytics/snowplow/tracker/Tracker.as
+++ snowplow-as3-tracker/src/com/snowplowanalytics/snowplow/tracker/Tracker.as
@@ -503,6 +503,13 @@
 		}

 		/**
+		 * Get page url
+		 */
+		public function getPageUrl ():String {
+			return javascriptInfo.pageUrl;
+		}
+
+		/**
 		* Get storage name with prefix and domain hash
 		*/
 		public function getSnowplowCookieName (baseName:String):String {


Single Livestream Start Time Fix Bug Fixes: - Fixed an issue causing livestreams to start at the beginning of the DVR   window when the primary manifest is also the only stream manifest.

--- HLSPlugin/src/com/kaltura/hls/HLSLoader.as
+++ HLSPlugin/src/com/kaltura/hls/HLSLoader.as
@@ -124,6 +124,9 @@
 			{
 				item = new DynamicStreamingItem(URLResource(loadTrait.resource).url, 0, 0, 0);
 				items.push(item);
+
+				// Also set the DVR state
+				if ( !stream.manifest.streamEnds ) isDVR = true;
 			}

 			var alternateAudioItems:Vector.<StreamingItem> = new <StreamingItem>[];


fixed bug handling csv data source changes

--- WeaveData/src/weave/data/DataSources/CSVDataSource.as
+++ WeaveData/src/weave/data/DataSources/CSVDataSource.as
@@ -529,10 +529,18 @@

 			// it is ok if keyColIndex is -1 because getColumnValues supports -1
 			var keyColIndex:int = keyColName.value ? colNames.indexOf(keyColName.value) : -1;
-
+
+			var source:CSVDataSource = this;
+			detectLinkableObjectChange(proxyColumn, source);
 			var keysVector:Vector.<IQualifiedKey> = new Vector.<IQualifiedKey>();
 			function setRecords():void
 			{
+				if (detectLinkableObjectChange(proxyColumn, source))
+				{
+					handlePendingColumnRequest(proxyColumn);
+					return;
+				}
+
 				var strings:Vector.<String> = getColumnValues(parsedRows, colIndex, new Vector.<String>());
 				var numbers:Vector.<Number> = null;


exposing launch() as a static function

exposing launch() as a static function

--- WeaveUI/src/weave/visualization/tools/ExternalTool.as
+++ WeaveUI/src/weave/visualization/tools/ExternalTool.as
@@ -17,11 +17,11 @@
 {
 	import mx.utils.UIDUtil;

+	import weave.api.getLinkableDescendants;
+	import weave.api.reportError;
 	import weave.api.core.ILinkableHashMap;
 	import weave.api.core.ILinkableObject;
 	import weave.api.data.IAttributeColumn;
-	import weave.api.getLinkableDescendants;
-	import weave.api.reportError;
 	import weave.api.ui.ISelectableAttributes;
 	import weave.compiler.StandardLib;
 	import weave.core.LinkableHashMap;
@@ -43,7 +43,7 @@
 		/**
 		 * The popup's window.name
 		 */
-		public const windowName:String = StandardLib.replace(UIDUtil.createUID(), '-', '');
+		public const windowName:String = generateWindowName();

 		public function ExternalTool()
 		{
@@ -57,21 +57,31 @@
 		{
 			if (toolUrl.value)
 			{
-				launch();
+				this.launch();
 			}
 		}

 		public function launch():Boolean
+		{
+			return ExternalTool.launch(this, toolUrl.value, windowName, "menubar=no,status=no,toolbar=no");
+		}
+
+		public static function generateWindowName():String
+		{
+			return StandardLib.replace(UIDUtil.createUID(), '-', '');
+		}
+
+		public static function launch(owner:ILinkableObject, url:String, windowName:String = '', features:String = null):Boolean
 		{
 			try
 			{
 				var success:Boolean = JavaScript.exec(
 					{
 						WEAVE_EXTERNAL_TOOLS: WEAVE_EXTERNAL_TOOLS,
-						"url": toolUrl.value,
+						"path": WeaveAPI.getPath(owner),
+						"url": url,
 						"windowName": windowName,
-						"features": "menubar=no,status=no,toolbar=no",
-						"path": WeaveAPI.getPath(this)
+						"features": features
 					},
 					'if (!window[WEAVE_EXTERNAL_TOOLS]) {',
 					'    window[WEAVE_EXTERNAL_TOOLS] = {};',


added debugging code

added debugging code

Change-Id: Ifef6dfbca0da9dc56d861d31b163b8b54906caf9

--- WeaveCore/src/weave/core/SessionManager.as
+++ WeaveCore/src/weave/core/SessionManager.as
@@ -1192,6 +1192,9 @@
 			if (linkFunctionCache.get(primary, secondary) is Function)
 				return; // already linked

+			if (CallbackCollection.debug)
+				var stackTrace:String = new Error().getStackTrace();
+
 			var setPrimary:Function = function():void { setSessionState(primary, getSessionState(secondary), true); };
 			var setSecondary:Function = function():void { setSessionState(secondary, getSessionState(primary), true); };


DynamicEditor now supports JSON input

DynamicEditor now supports JSON input

--- WeaveUI/src/weave/editors/DynamicEditor.as
+++ WeaveUI/src/weave/editors/DynamicEditor.as
@@ -37,6 +37,8 @@
 	import weave.api.ui.ISelectableAttributes;
 	import weave.core.LinkableBoolean;
 	import weave.core.LinkableNumber;
+	import weave.core.LinkableString;
+	import weave.core.LinkableVariable;
 	import weave.core.SessionManager;
 	import weave.core.UIUtils;
 	import weave.primitives.WeaveTreeItem;
@@ -78,6 +80,7 @@
 			if (ln)
 			{
 				var input:IndentTextInput = new IndentTextInput();
+				input.prompt = "number";
 				input.translate = true;
 				input.label = label;
 				linkBindableProperty(ln, input, 'text', 250, true);
@@ -89,7 +92,10 @@
 			{
 				var codeEditor:CodeEditor = new CodeEditor();
 				codeEditor.addEventListener(FlexEvent.CREATION_COMPLETE, function(event:Event):void {
-					linkBindableProperty(lv, event.target, 'text', 500, true)
+					if (!(lv is LinkableString) && JsonSynchronizer.available)
+						new JsonSynchronizer(lv, codeEditor, 'text');
+					else
+						linkBindableProperty(lv, event.target, 'text', 500, true)

 					var eb:ExpandButton = ExpandButton.makeExpandable(codeEditor, false, 24);
 					eb.addEventListener(MouseEvent.CLICK, function(e:Event):void {
@@ -173,6 +179,7 @@
 import mx.binding.utils.BindingUtils;
 import mx.containers.VBox;
 import mx.core.IUIComponent;
+import mx.core.UIComponent;
 import mx.utils.ObjectUtil;

 import weave.api.core.ILinkableHashMap;
@@ -284,33 +291,78 @@

 internal class JsonSynchronizer
 {
-	public static function available():Boolean
+	public static function get available():Boolean
 	{
 		return ClassUtils.getClassDefinition('JSON') != null;
 	}

-	public function JsonSynchronizer(linkableVariable:ILinkableVariable, host:DisplayObject, prop:String)
+	public function JsonSynchronizer(linkableVariable:ILinkableVariable, host:UIComponent, prop:String, delay:uint = 500)
 	{
 		this.lv = linkableVariable;
 		this.host = host;
 		this.prop = prop;

 		getCallbackCollection(lv).addImmediateCallback(host, handleObject, true);
-		BindingUtils.bindSetter(EventUtils.generateDelayedCallback(linkableVariable, handleJson, 500, true), this.host, this.prop);
+		BindingUtils.bindSetter(EventUtils.generateDelayedCallback(linkableVariable, handleJson, delay, true), this.host, this.prop);
 	}

 	public var JSON:Object = ClassUtils.getClassDefinition('JSON');
 	public var lv:ILinkableVariable;
-	public var host:Object;
+	public var host:UIComponent;
 	public var prop:String;
+	private var refreshPending:Boolean;

 	private function handleObject():void
 	{
-		host[prop] = JSON.stringify(lv.getSessionState());
+		refreshPending = true;
+		refreshHostOnFocusOut();
+	}
+
+	private function refreshHostOnFocusOut():void
+	{
+		if (!refreshPending)
+			return;
+
+		if (UIUtils.hasFocus(host))
+		{
+			host.callLater(refreshHostOnFocusOut);
+		}
+		else
+		{
+			refreshPending = false;
+			host[prop] = JSON.stringify(lv.getSessionState());
+			if (host.errorString)
+				host.errorString = null;
+		}
 	}

 	private function handleJson(value:* = null):void
 	{
-		lv.setSessionState(JSON.parse(value));
+		// do nothing if the host component does not have focus
+		if (!UIUtils.hasFocus(host))
+			return;
+
+		if (!refreshPending)
+		{
+			refreshPending = true;
+			refreshHostOnFocusOut();
+		}
+
+		var string:String = value;
+		var object:Object;
+		try
+		{
+			object = JSON.parse(value);
+			if (host.errorString)
+				host.errorString = null;
+		}
+		catch (e:Error)
+		{
+			// do nothing because user input was invalid
+			host.errorString = "Invalid JSON";
+			return;
+		}
+
+		lv.setSessionState(object);
 	}
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 19060
Author:   harishs@adobe.com
Date:     2010-12-06T17:34:15.020965Z

Log Message:
-----------
QE notes: Did checkintests, performed full cyclone run. There were 19 failures in mustella report. QE Judy (Mingzhou Gao and Joann Chung Anderson) confirmed that they are known problems.
Doc notes: As part of Sort and Sortfield updates, the asdoc comments were updated to reflect globalization changes.
Bugs: Fixed sdk-28493, 28691,28494, 28345, 28320, 28387, 28314, 28145
Reviewer: Gordon Smith
Tests run: cyclone, checkintests, bugs testfiles
Is noteworthy for integration: Sort and Sortfield updated with globalization support using the new spark globalization sort classes.
Number and CurrencyValidators support national digits and unicode minus symbols.
groupingPattern property dropped for Number and Currency Validators.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/BasicTests-config.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/SortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/NumberValidatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ICollectionView.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ISort.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/spark-manifest.xml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ISortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/BasicTests.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/collections/Sort.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/NumberValidator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/olap/OLAPCube.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/CurrencyValidator.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/collections/SortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/bundles/en_US/validators.properties</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/collections</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/treeClasses/HierarchicalCollectionView.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ListCollectionView.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/GlobalizationUtils.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/olap/DefaultCubeImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/SortTestScript.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionView.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/Sort.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ModifiedCollectionView.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/SortTests.mxml</path>

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

--- frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as
+++ frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as
@@ -34,6 +34,8 @@
 import mx.collections.ICollectionView;
 import mx.collections.IViewCursor;
 import mx.collections.ItemResponder;
+import mx.collections.ISort;
+import mx.collections.ISortField;
 import mx.collections.Sort;
 import mx.collections.SortField;
 import mx.collections.errors.ItemPendingError;
@@ -4728,7 +4730,7 @@
             return;

         var view:ICollectionView = ICollectionView(dataProvider);
-        var sort:Sort = view.sort;
+        var sort:ISort = view.sort;
         if (!sort)
         {
             sortIndex = lastSortIndex = -1;
@@ -4751,7 +4753,7 @@
         }

         // fields.length == 1, so the collection is sorted on a single field.
-        var sortField:SortField = fields[0];
+        var sortField:ISortField = fields[0];
         var n:int = _columns.length;
         for (var i:int = 0; i < n; i++)
         {
@@ -5955,7 +5957,7 @@
          if (!collection.sort || !collection.sort.fields)
          {
              singleColumnSort = true;
-             var sort:Sort = new Sort();
+             var sort:ISort = new Sort();
              sort.fields = [];

              collection.sort = sort;
@@ -5983,7 +5985,7 @@
         }

         column.sortDescending = desc;
-        var field:SortField = new SortField(columnName); // name
+        var field:ISortField = new SortField(columnName); // name
         field.descending = desc;

 //        field.name = column.dataField;
@@ -7958,7 +7960,7 @@
         var columnName:String = event.dataField;
         var columnNumber:int  = event.columnIndex;
         var sortFields:Array;
-        var sort:Sort;
+        var sort:ISort;

         if (!sortableColumns || !columns[columnNumber].sortable)
             return;


Transferred from the Adobe Open Source Subversion Repository

Revision: 18223
Author:   jasonsj@adobe.com
Date:     2010-10-19T18:54:19.289491Z

Log Message:
-----------
Fix ActionBar style declarations. Organize imports.

QE notes: Fixes mobile mustella compile errors
Doc notes:
Bugs:
Reviewer: chiedozi
Tests run: checkintests
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as
@@ -27,10 +27,7 @@
 import mx.events.SandboxMouseEvent;
 import mx.events.TouchInteractionEvent;
 import mx.managers.IFocusManagerComponent;
-import mx.utils.StringUtil;
-
-import spark.components.supportClasses.SkinnableComponent;
-import spark.components.supportClasses.TextBase;
+
 import spark.core.IDisplayText;
 import spark.primitives.BitmapImage;


Transferred from the Adobe Open Source Subversion Repository

Revision: 4155
Author:   jszeto@adobe.com
Date:     2008-11-21T02:04:53.722684Z

Log Message:
-----------
Flex SDK Slider Bug Fixes

SDK-17872 - Dragging Slider thumb has inconsistent behavior

Changed drag behavior. Possible drag values are multiples of valueInterval, not stepSize.

SDK-18082 - FxSlider cannot handle non-integer values

Copied over logic from Halo slider to handle floating point math errors

Other Changes: Using the keyboard to step the slider now uses valueInterval instead of stepSize to round off

QE Notes:
Doc Notes: None
Bugs: SDK-17872, SDK-18082
Reviewer: Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxRange.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxTrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxSlider.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as
@@ -404,7 +404,7 @@
             case Keyboard.DOWN:
             case Keyboard.LEFT:
             {
-                newValue = nearestValidValue(value - stepSize, stepSize);
+                newValue = nearestValidValue(value - stepSize, valueInterval);
                 positionThumb(valueToPosition(newValue));
                 setValue(newValue);
                 break;
@@ -413,7 +413,7 @@
             case Keyboard.UP:
             case Keyboard.RIGHT:
             {
-                newValue = nearestValidValue(value + stepSize, stepSize);
+                newValue = nearestValidValue(value + stepSize, valueInterval);
                 positionThumb(valueToPosition(newValue));
                 setValue(newValue);
                 break;


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

--- frameworks/projects/charts/src/mx/charts/series/ColumnSeries.as
+++ frameworks/projects/charts/src/mx/charts/series/ColumnSeries.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: 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@1273815 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/rpc/src/mx/messaging/events/ChannelEvent.as
+++ frameworks/projects/rpc/src/mx/messaging/events/ChannelEvent.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-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: 5337
Author:   hmuller@adobe.com
Date:     2009-03-16T22:42:26.202150Z

Log Message:
-----------
Virtualization bug fixes.

QE Notes: Mustella tests pass.
Doc Notes:
Bugs: sdk-19373, sdk-19840, sdk-19415, sdk-19852, sdk-19351
Reviewer: Ryan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LinearLayoutVector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/VerticalLayout.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
@@ -1057,7 +1057,9 @@
         var maxVisibleX:Number = minVisibleX + layoutTarget.width;

         updateLLV(layoutTarget);
-        var startIndex:int = llv.indexOf(minVisibleX);
+        var startIndex:int = llv.indexOf(minVisibleX);
+        if (startIndex == -1)
+            return;

         var fixedColumnWidth:Number = NaN;
         if (!variableColumnWidth)


Remove unused imports

Remove unused imports

--- examples/DataGridExample/src/mybeads/RowHeightBead.as
+++ examples/DataGridExample/src/mybeads/RowHeightBead.as
@@ -18,11 +18,9 @@
 ////////////////////////////////////////////////////////////////////////////////
 package mybeads
 {
-	import flash.display.DisplayObject;
-
+
 	import org.apache.flex.core.IBead;
 	import org.apache.flex.core.IDataGridModel;
-	import org.apache.flex.core.IItemRenderer;
 	import org.apache.flex.core.IItemRendererParent;
 	import org.apache.flex.core.IStrand;
 	import org.apache.flex.core.UIBase;