Transferred from the Adobe Open Source Subversion Repository

Revision: 6215
Author:   smgilson@adobe.com
Date:     2009-04-23T17:12:57.259499Z

Log Message:
-----------
ASDoc updates for effect classes

Checkintests: passed

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/SimpleMotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Fade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove.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/effects/KeyFrame.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Wipe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/WipeDirection.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/CallAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/CrossFade.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/flex4/src/spark/effects/AnimateShaderTransition.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/SetAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate.as</path>

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

--- frameworks/projects/spark/src/spark/effects/Resize.as
+++ frameworks/projects/spark/src/spark/effects/Resize.as
@@ -15,16 +15,45 @@
 import mx.effects.IEffectInstance;

 /**
-*
-*  @includeExample examples/ResizeEffectExample.mxml
-*
-*
-*  @langversion 3.0
-*  @playerversion Flash 10
-*  @playerversion AIR 1.5
-*  @productversion Flex 4
-*/
-
+ *  The Resize effect changes the width, height, or both dimensions
+ *  of a component over a specified time interval.
+ *
+ *
If you specify only two of the three values of the
+ *  widthFrom, widthTo, and
+ *  widthBy properties, Flex calculates the third.
+ *  If you specify all three, Flex ignores the widthBy value.
+ *  If you specify only the widthBy or the
+ *  widthTo value, the widthFrom property
+ *  is set to be the object's current width.
+ *  The same is true for heightFrom, heightTo,
+ *  and heightBy property values.

+ *
+ *  @mxml
+ *
+ *
The <mx:Resize> tag
+ *  inherits all of the tag attributes of its superclass,
+ *  and adds the following tab attributes:

+ *
+ *

+ *  <mx:Resize
+ *    id="ID"
+ *    widthFrom="val"
+ *    heightFrom="val"
+ *    widthTo="val"
+ *    heightTo="val"
+ *    widthBy="val"
+ *    heightBy="val"
+ *    hideChildrenTargets=""
+ *  />
+ *

+ *
+ *  @see spark.effects.supportClasses.ResizeInstance
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
 public class Resize extends Animate
 {
     include "../core/Version.as";
@@ -102,7 +131,7 @@

     /**
      *  Initial height, in pixels.
-     *  If omitted, Flex uses the current height.
+     *  If omitted, Flex uses the current height of the target.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -118,7 +147,7 @@
     [Inspectable(category="General", defaultValue="NaN")]

     /**
-     *  Final height, in pixels.
+     *  Final height of the target, in pixels.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -134,7 +163,7 @@
     [Inspectable(category="General", defaultValue="NaN")]

     /**
-     *  Number of pixels by which to modify the width of the component.
+     *  Number of pixels by which to modify the width of the target.
      *  Values may be negative.
      *
      *  @langversion 3.0
@@ -151,7 +180,7 @@
     [Inspectable(category="General", defaultValue="NaN")]

     /**
-     *  Initial width, in pixels.
+     *  Initial width of the target, in pixels.
      *  If omitted, Flex uses the current width.
      *
      *  @langversion 3.0
@@ -168,7 +197,7 @@
     [Inspectable(category="General", defaultValue="NaN")]

     /**
-     *  Final width, in pixels.
+     *  Final width of the target, in pixels.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10


Fix for a bug in MethodInjectionPoint

Fix for a bug in MethodInjectionPoint

The global Array _parameterValues was incorrectly shared between
reentrant calls to MethodInjectionPoint.applyInjection, thus losing
some dependencies for injection.

--- src/org/swiftsuspenders/typedescriptions/MethodInjectionPoint.as
+++ src/org/swiftsuspenders/typedescriptions/MethodInjectionPoint.as
@@ -19,8 +19,6 @@
 	public class MethodInjectionPoint extends InjectionPoint
 	{
 		//----------------------       Private / Protected Properties       ----------------------//
-		private static const _parameterValues : Array = [];
-
 		protected var _parameterMappingIDs : Array;
 		protected var _requiredParameters : int;

@@ -55,7 +53,7 @@
 				target : Object, targetType : Class, injector : Injector) : Array
 		{
 			var length : int = _parameterMappingIDs.length;
-			var parameters : Array = _parameterValues;
+			var parameters : Array = [];
 			parameters.length = length;
 			for (var i : int = 0; i < length; i++)
 			{


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

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

 package mx.utils
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 2957
Author:   aharui@adobe.com
Date:     2008-08-22T09:01:31.559126Z

Log Message:
-----------
Changes from API Review

Highlights:

MarshalEvent -> SandboxRootRequest
MarshalMouseEvent -> SandboxRootMouseEvent
MarshalDragEvet -> SandboxRootDragEvent
SandboxBridgeEvent -> SWFBridgeEvent
SandboxBridgeRequest -> SWFBridgeRequest

Checkintests passed.  Mustella for Marshall Plan will certainly fail until tests updated to new APIs
Probably ok to merge to trunk.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/EventListenerRequest.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/Alert.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/FocusDirection.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/PopUpRequest.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxBridgeEvent.as</path>
<path kind="file" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SWFBridgeEvent.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/systemClasses/EventProxy.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SizeRequest.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/FocusRequest.as</path>
<path kind="file" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/FocusRequestDirection.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/MarshalEvent.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxRootDragEvent.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/MarshalMouseEvent.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollThumb.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxRootRequest.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/utils/EventUtil.as</path>
<path kind="file" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxRootMouseEvent.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/InvalidateRequestData.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxBridgeRequest.as</path>
<path kind="file" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SWFBridgeRequest.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/MarshalDragEvent.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/ModalWindowRequest.as</path>

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

--- frameworks/projects/framework/src/mx/managers/systemClasses/EventProxy.as
+++ frameworks/projects/framework/src/mx/managers/systemClasses/EventProxy.as
@@ -16,7 +16,7 @@
 import flash.events.IEventDispatcher;
 import flash.events.Event;
 import flash.events.MouseEvent;
-import mx.events.MarshalMouseEvent;
+import mx.events.SandboxRootMouseEvent;
 import mx.utils.EventUtil;
 import mx.managers.ISystemManager;

@@ -39,7 +39,7 @@
 		if (event is MouseEvent)
 		{
 			var me:MouseEvent = event as MouseEvent;;
-			var mme:MarshalMouseEvent = new MarshalMouseEvent(EventUtil.mouseEventMap[event.type],
+			var mme:SandboxRootMouseEvent = new SandboxRootMouseEvent(EventUtil.mouseEventMap[event.type],
 				false, false, me.ctrlKey, me.altKey, me.shiftKey, me.buttonDown);
 			// trace(">>marshalListener", systemManager, mme.type);
 			systemManager.dispatchEventFromSWFBridges(mme, null, true);


Transferred from the Adobe Open Source Subversion Repository

Revision: 1570
Author:   jimurphy@adobe.com
Date:     2008-05-06T17:43:41.713917Z

Log Message:
-----------
Merge 3.0.x revision [1569] -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TitleWindow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManager.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/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>

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

--- frameworks/projects/mx/src/mx/controls/DataGrid.as
+++ frameworks/projects/mx/src/mx/controls/DataGrid.as
@@ -314,7 +314,7 @@
 /**
  *  The class to use as the skin for the cursor that indicates that a column
  *  can be resized.
- *  @default mx.skins.halo.DataGridStretchCursor
+ *  The default value is the "cursorStretch" symbol from the Assets.swf file.
  */
 [Style(name="stretchCursor", type="Class", inherit="no")]

@@ -459,7 +459,7 @@
  *    rollOverColor="#E3FFD6"
  *    selectionColor="#CDFFC1"
  *    sortArrowSkin="DataGridSortArrow"
- *    stretchCursor="DataGridStretchCursor"
+ *    stretchCursor="<i>"cursorStretch" symbol from the Assets.swf file</i>"
  *    verticalGridLineColor="#666666"
  *    verticalGridLines="false|true"
  *    verticalLockedSeparatorSkin="undefined"


Transferred from the Adobe Open Source Subversion Repository

Revision: 3222
Author:   jimurphy@adobe.com
Date:     2008-09-16T14:09:08.134976Z

Log Message:
-----------
Merged 3.0.x revisions 3157,3162,3165-3166,3168,3177,3180-3183,3185,3187,3189,3199 -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TileList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/config/ServerConfig.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/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/build_framework.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/InterDragManagerEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextFormat.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.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/events/InterManagerRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>

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

--- frameworks/projects/mx/src/mx/controls/TileList.as
+++ frameworks/projects/mx/src/mx/controls/TileList.as
@@ -15,6 +15,10 @@
 import mx.controls.listClasses.TileBase;
 import mx.controls.listClasses.TileListItemRenderer;
 import mx.core.ClassFactory;
+import mx.core.mx_internal;
+import mx.core.ScrollPolicy;
+
+use namespace mx_internal;

 //--------------------------------------
 //  Other metadata
@@ -103,7 +107,7 @@
 	public function TileList()
 	{
 		super();
-
+		_horizontalScrollPolicy = ScrollPolicy.AUTO;
 		itemRenderer = new ClassFactory(TileListItemRenderer);
 	}
 }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/mx/src/mx/controls/DateChooser.as
+++ frameworks/projects/mx/src/mx/controls/DateChooser.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-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.controls
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 8581
Author:   mhorn@adobe.com
Date:     2009-07-15T15:47:47.191332Z

Log Message:
-----------
asdoc edits: bug fix FLEXDOCS-1000

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>

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

--- frameworks/projects/mx/src/mx/controls/RadioButton.as
+++ frameworks/projects/mx/src/mx/controls/RadioButton.as
@@ -393,9 +393,9 @@
         if (!value || value == "")
             return;

-        // Since Halo and Gumbo share the same automaticRadioButtonGroups slot in
-        // UIComponent, the Gumbo group names are decorated with a prefix to
-        // differentiate.  Gumbo group names can not start with the prefix.
+        // Since Halo and Spark share the same automaticRadioButtonGroups slot in
+        // UIComponent, the Spark group names are decorated with a prefix to
+        // differentiate.  Spark group names can not start with the prefix.
         if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_4_0)
         {
             const FX_GROUP_NAME_PREFIX:String = "_fx_";


Transferred from the Adobe Open Source Subversion Repository

Revision: 3035
Author:   jvroom@adobe.com
Date:     2008-08-29T06:18:11.275196Z

Log Message:
-----------
* Added HTTPMultiService component - refactored the guts of HTTPService into a new
class AbstractOperation which HTTPService now wraps.

* Moved concurrency and showBusyCursor classes up to the mx.rpc level from mx.rpc.mxml.
Partly this improves consistency and partly because it is awkward to implement them
with the wrapping design in the subclass.  This does introduce a new dependency on
CursorManager in mx.rpc.HTTPService, though I think that should turn into a "runtime binding"
so we remove the compile time binding altogether.

* Added managers, operationManager, resultType, resultElementType, properties to the
AbstractService and AbstractInvoker classes.  These are used to improve the metadata information
on these operations for better tooling in the future, and to allow management services to
tie into the service infrastructure.

* AsyncToken gets a default parameter for its constructor so it can be used in MXML.

* Moved endpoint property up from the MXML to the regular mx.rpc version to improve consistency

The blazeds RPC tests passed unfortunately I had problems getting the RPC tests in the sdk branch
to build and run so let me know if you see any problems on those.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/mxml/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractOperation.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/remoting/Operation.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/SerializationFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/Operation.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/WebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncToken.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/Operation.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as
+++ frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as
@@ -101,6 +101,39 @@
     {
         _makeObjectsBindable = b;
     }
+
+    /**
+     * This property is set usually by framework code which wants to modify the
+     * behavior of a service invocation without modifying the way in which the
+     * service is called externally.  This allows you to add a "filter" step on
+     * the method call to ensure for example to ensure you do not return duplicate
+     * instances for the same id or to insert parameters for performing on-demand
+     * paging.
+     *
+     * When this is set to a non-null value on the send call, the operationManager function
+     * is called instead.  It returns the token that the caller uses to be notified
+     * of the result.  Typically the called function will at some point clear this
+     * property temporarily, then invoke the operation again actually sending it to
+     * the server this time.
+     */
+    public var operationManager:Function;
+
+    /**
+     * Specifies an optional return type for the operation.  Used in situations where
+     * you want to coerce the over-the-wire information into a specific ActionScript class
+     * or to provide metadata for other services as to the return type of this operation.
+     */
+    public var resultType:Class;
+
+    /**
+     * Like resultType, used to define the ActionScript class used by a given operation though
+     * this property only applies to operations which return a multi-valued result (e.g. an Array
+     * or ArrayCollection (IList)).  This property specifies an ActionScript class for the members of the
+     * array or array collection.   When you set resultElementType, you do not have to set
+     * resultType.  In that case, the operation returns an Array if makeObjectsbindable is
+     * false and an ArrayCollection otherwise.
+     */
+    public var resultElementType:Class;

     /**
     *  Event dispatched for binding when the result property


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

--- frameworks/projects/spark/src/spark/core/IViewport.as
+++ frameworks/projects/spark/src/spark/core/IViewport.as
@@ -9,7 +9,7 @@
 //
 ////////////////////////////////////////////////////////////////////////////////

-package flex.intf
+package mx.core
 {
 import flash.events.IEventDispatcher;


Transferred from the Adobe Open Source Subversion Repository

Revision: 12015
Author:   aharui@adobe.com
Date:     2009-11-19T22:34:02.934215Z

Log Message:
-----------
Fix truncation in Label.  Fix baselines in Spark in general.

QE Notes: SS updated tests based on Cyclone
Doc Notes: None
Bugs: SDK-23992, SDK-23462, SDK-23931, SDK-23913, SDK-23842, SDK-23082
Reviewer: Carol, Gordon
API Change: No
Is noteworthy for integration: No
tests: checkintests mustella/gumbo/components/Label, cyclone

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/utils/TextUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGroup.as</path>

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

--- frameworks/projects/spark/src/spark/utils/TextUtil.as
+++ frameworks/projects/spark/src/spark/utils/TextUtil.as
@@ -12,13 +12,28 @@
 package spark.utils
 {

+import flash.text.TextFormat;
+import flash.text.engine.ElementFormat;
+import flash.text.engine.FontDescription;
+import flash.text.engine.FontLookup;
+import flash.text.engine.TextBlock;
+import flash.text.engine.TextElement;
+import flash.text.engine.TextLine;
 import flash.utils.describeType;

+import flashx.textLayout.compose.ISWFContext;
 import flashx.textLayout.elements.FlowLeafElement;
 import flashx.textLayout.elements.ParagraphElement;
 import flashx.textLayout.elements.SpanElement;
 import flashx.textLayout.elements.TextFlow;
 import flashx.textLayout.formats.ITextLayoutFormat;
+
+import mx.core.IEmbeddedFontRegistry;
+import mx.core.IFlexModuleFactory;
+import mx.core.IUIComponent;
+import mx.core.Singleton;
+import mx.managers.ISystemManager;
+import mx.styles.IStyleClient;

 import mx.resources.IResourceManager;
 import mx.resources.ResourceManager;
@@ -147,6 +162,200 @@
 		var resourceManager:IResourceManager = ResourceManager.getInstance();
 		return resourceManager.getString("textLayout", resourceName, args);
 	}
+
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods - Font Baseline
+    //
+    //--------------------------------------------------------------------------
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class properties
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Used in getEmbeddedFontContext().
+     */
+    private static var staticTextFormat:TextFormat;
+
+    //----------------------------------
+    //  embeddedFontRegistry
+    //----------------------------------
+
+    private static var noEmbeddedFonts:Boolean;
+
+    /**
+     *  @private
+     *  Storage for the _embeddedFontRegistry property.
+     *  Note: This gets initialized on first access,
+     *  not when this class is initialized, in order to ensure
+     *  that the Singleton registry has already been initialized.
+     */
+    private static var _embeddedFontRegistry:IEmbeddedFontRegistry;
+
+    /**
+     *  @private
+     *  A reference to the embedded font registry.
+     *  Single registry in the system.
+     *  Used to look up the moduleFactory of a font.
+     */
+    private static function get embeddedFontRegistry():IEmbeddedFontRegistry
+    {
+        if (!_embeddedFontRegistry && !noEmbeddedFonts)
+        {
+            try
+            {
+                _embeddedFontRegistry = IEmbeddedFontRegistry(
+                    Singleton.getInstance("mx.core::IEmbeddedFontRegistry"));
+            }
+            catch (e:Error)
+            {
+                noEmbeddedFonts = true;
+            }
+        }
+
+        return _embeddedFontRegistry;
+    }
+
+    /**
+     *  Method to measure baseline position
+     *
+     *  @param client The IStyleClient to use to calculate the baseline.
+     *  @param height Height of client.  Used only for degenerate cases.
+     *  @param moduleFactory The default moduleFactory to use for the font.
+     */
+    public static function calculateFontBaseline(client:IStyleClient, height:Number, moduleFactory:IFlexModuleFactory):Number
+    {
+        var fontDescription:FontDescription = new FontDescription();
+        var embeddedFontContext:IFlexModuleFactory;
+
+        var s:String;
+
+        s = client.getStyle("cffHinting");
+        if (s != null)
+            fontDescription.cffHinting = s;
+
+        s = client.getStyle("fontFamily");
+        if (s != null)
+            fontDescription.fontName = s;
+
+        s = client.getStyle("fontLookup");
+        if (s != null)
+        {
+            // FTE understands only "device" and "embeddedCFF"
+            // for fontLookup. But Flex allows this style to be
+            // set to "auto", in which case we automatically
+            // determine it based on whether the CSS styles
+            // specify an embedded font.
+            if (s == "auto")
+            {
+                embeddedFontContext = getEmbeddedFontContext(client, moduleFactory);
+                s = (embeddedFontContext) ?
+                    FontLookup.EMBEDDED_CFF :
+                    FontLookup.DEVICE;
+            }
+            fontDescription.fontLookup = s;
+        }
+
+        s = client.getStyle("fontStyle");
+        if (s != null)
+            fontDescription.fontPosture = s;
+
+        s = client.getStyle("fontWeight");
+        if (s != null)
+            fontDescription.fontWeight = s;
+
+        var elementFormat:ElementFormat = new ElementFormat();
+        elementFormat.fontDescription = fontDescription;
+        elementFormat.fontSize = client.getStyle("fontSize");
+
+        var textElement:TextElement = new TextElement();
+        textElement.elementFormat = elementFormat;
+        textElement.text = "Wj";
+
+        var textBlock:TextBlock = new TextBlock();
+        textBlock.content = textElement;
+
+        var textLine:TextLine;
+        if (embeddedFontContext)
+        {
+            var swfContext:ISWFContext = ISWFContext(embeddedFontContext);
+            textLine = swfContext.callInContext(
+						textBlock.createTextLine, textBlock,
+						[ null, 1000]);
+        }
+        else
+            textLine = textBlock.createTextLine(null, 1000);
+
+        if (height < 2 + textLine.ascent + 2)
+            return int(height + (textLine.ascent - height) / 2);
+
+        return 2 + textLine.ascent;
+    }
+
+	/**
+	 *  @private
+	 *  Uses the component's CSS styles to determine the module factory
+	 *  that should creates its TextLines.
+	 */
+    private static function getEmbeddedFontContext(client:IStyleClient, moduleFactory:IFlexModuleFactory):IFlexModuleFactory
+	{
+		var fontContext:IFlexModuleFactory;
+
+		var fontLookup:String = client.getStyle("fontLookup");
+		if (fontLookup != FontLookup.DEVICE)
+        {
+			var font:String = client.getStyle("fontFamily");
+			var bold:Boolean = client.getStyle("fontWeight") == "bold";
+			var italic:Boolean = client.getStyle("fontStyle") == "italic";
+
+            fontContext = embeddedFontRegistry.getAssociatedModuleFactory(
+            	font, bold, italic,
+                client, moduleFactory);
+
+            // If we found the font, then it is embedded.
+            // But some fonts are not listed in info()
+            // and are therefore not in the above registry.
+            // So we call isFontFaceEmbedded() which gets the list
+            // of embedded fonts from the player.
+            if (!fontContext)
+            {
+                var sm:ISystemManager;
+                if (moduleFactory != null && moduleFactory is ISystemManager)
+                	sm = ISystemManager(moduleFactory);
+                else if (client is IUIComponent)
+                {
+                    var uic:IUIComponent = IUIComponent(client);
+                    if (uic.parent is IUIComponent)
+                	    sm = IUIComponent(uic.parent).systemManager;
+                }
+
+                if (!staticTextFormat)
+                    staticTextFormat = new TextFormat();
+
+                staticTextFormat.font = font;
+                staticTextFormat.bold = bold;
+                staticTextFormat.italic = italic;
+
+                if (sm != null && sm.isFontFaceEmbedded(staticTextFormat))
+                    fontContext = sm;
+            }
+        }
+
+        if (!fontContext && fontLookup == FontLookup.EMBEDDED_CFF)
+        {
+            // if we couldn't find the font and somebody insists it is
+            // embedded, try the default fontContext
+            fontContext = moduleFactory;
+        }
+
+        return fontContext;
+	}
+
 }

 }


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

--- frameworks/projects/spark/src/spark/utils/TextUtil.as
+++ frameworks/projects/spark/src/spark/utils/TextUtil.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.utils
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5190
Author:   hmuller@adobe.com
Date:     2009-03-06T14:55:28.277220Z

Log Message:
-----------
Initial support for mirroring: added mirror and dir properties to IVisualElement, mirroring logic to UIComponent, GraphicElement, UIMovieClip.  Mirroring in mx.core.SpriteVisualElement is just a stub.  Support for the mirror bit and the mirror transform is in mx.core.AdvancedLayoutFeatures.

QE Notes: Mustella tests pass
Doc Notes: None
Bugs:
Reviewer: Ryan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.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/mx/graphics/baseClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.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/mx/components/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/mx/src/mx/controls/Button.as
+++ frameworks/projects/mx/src/mx/controls/Button.as
@@ -660,6 +660,8 @@
         addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
         addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
         addEventListener(MouseEvent.CLICK, clickHandler);
+
+        dir="ltr";
     }

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


Remove the reference to AlertWindow, even if it is commented

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

--- src/org/jivesoftware/xiff/vcard/VCard.as
+++ src/org/jivesoftware/xiff/vcard/VCard.as
@@ -426,8 +426,6 @@
 			if (resultIQ.type == IQ.ERROR_TYPE)
 			{
 				dispatchEvent(new VCardEvent(VCardEvent.ERROR, cache[resultIQ.to.toBareJID()], true, true));
-
-				//AlertWindow.show(Localizator.getText('vcard.error.save'), Localizator.getText('title.error'));
 			}
 			else
 				delete cache[resultIQ.to.toBareJID()];		// Force profile refresh on next view


Fix for release mode swfs

Fix for release mode swfs

--- FlexUnit4/src/flex/lang/reflect/builders/MethodBuilder.as
+++ FlexUnit4/src/flex/lang/reflect/builders/MethodBuilder.as
@@ -30,7 +30,7 @@

 	import flex.lang.reflect.Method;
 	import flex.lang.reflect.cache.ClassDataCache;
-	import flex.lang.reflect.utils.MetadataTools;
+	import flex.lang.reflect.utils.MetadataTools;

 	/**
 	 * Object responsible for building method objects
@@ -138,7 +138,9 @@
 				}

 				for ( var j:int=0; j<inheritance.length; j++ ) {
-					addMetaDataPerSuperClass( methodMap, ClassDataCache.describeType( inheritance[ j ] ) );
+					if ( inheritance[ j ] != Object ) {
+						addMetaDataPerSuperClass( methodMap, ClassDataCache.describeType( inheritance[ j ] ) );
+					}
 				}
 			}


undid last change

undid last change

git-svn-id: e38e7cdd6ace00d8230583a2d3b43e9a55f5c011@522 bc4816be-ef27-423a-9c4d-fc420be121a2

--- src/reprise/controls/RadioButtonGroup.as
+++ src/reprise/controls/RadioButtonGroup.as
@@ -50,6 +50,11 @@
 				g_radioGroups[name] = new RadioButtonGroup(name);
 			}
 			return g_radioGroups[name];
+		}
+
+		public function addRadioButton(btn:RadioButton):void
+		{
+			m_radioButtons.push(btn);
 		}

 		public function removeRadioButton(btn:RadioButton):void
@@ -120,15 +125,5 @@
 					DocumentView.FOCUS_METHOD_KEYBOARD);
 			}
 		}
-
-
-
-		//*****************************************************************************************
-		//*                                    Internal Methods                                   *
-		//*****************************************************************************************
-		internal public function addRadioButton(btn:RadioButton):void
-		{
-			m_radioButtons.push(btn);
-		}
 	}
 }


First pass at implementing requestColumnFromSource; testing pending creation of a UI.

--- WeaveData/src/weave/data/DataSources/GraphMLDataSource.as
+++ WeaveData/src/weave/data/DataSources/GraphMLDataSource.as
@@ -7,7 +7,8 @@
     import weave.api.data.IDataSource;
     import weave.api.data.IWeaveTreeNode;
     import weave.api.data.IColumnReference;
-    import weave.api.data.IAttributeColumn;
+    import weave.api.data.IAttributeColumn;
+    import weave.api.data.IQualifiedKey;
     import weave.api.getCallbackCollection;
     import weave.api.registerLinkableChild;
     import weave.api.newLinkableChild;
@@ -18,20 +19,32 @@
     import weave.core.LinkableVariable;
     import weave.core.SessionManager;
     import weave.data.AttributeColumns.ProxyColumn;
+    import weave.data.AttributeColumns.StringColumn;
+    import weave.data.AttributeColumns.NumberColumn;
+    import weave.data.AttributeColumns.DateColumn;
+    import weave.data.QKeyManager;
     import weave.core.ClassUtils;

+    import weave.utils.VectorUtils;
+
     public class GraphMLDataSource extends AbstractDataSource
     {
         WeaveAPI.registerImplementation(IDataSource, GraphMLDataSource, "GraphML file");

-        public static const COLUMNNAME_META:String = "__ColumnName__";
-        public static const FILTERVALUE_META:String = "__FilterValue__";
-        public static const FILTERCOLUMN_META:String = "__FilterColumn__";
-        public static const GROUP_META:String = "__Group__";
-
-        public const nodeColumnData:LinkableVariable = newLinkableChild(this, LinkableVariable, handleGraphMLDataChange);
-        public const edgeColumnData:LinkableVariable = newLinkableChild(this, LinkableVariable, handleGraphMLDataChange);
+        public static const COLUMNNAME_META:String = "__GraphElementProperty__";
+        public static const FILTERVALUE_META:String = "__GraphFilterValue__";
+        public static const FILTERCOLUMN_META:String = "__GraphFilterColumn__";
+        public static const GROUP_META:String = "__GraphGroup__";
+
+        public const nodeColumnData:LinkableVariable = newLinkableChild(this, LinkableVariable, handleGraphMLNodesChange);
+        public const edgeColumnData:LinkableVariable = newLinkableChild(this, LinkableVariable, handleGraphMLEdgesChange);
+
+        public const nodeProperties:LinkableVariable = newLinkableChild(this, LinkableVariable, handleGraphMLNodesChange);
+        public const edgeProperties:LinkableVariable = newLinkableChild(this, LinkableVariable, handleGraphMLEdgesChange);
+
+        public const nodeKeyType:LinkableString = newLinkableChild(this, LinkableString);
+        public const edgeKeyType:LinkableString = newLinkableChild(this, LinkableString);

         public const nodeKeyPropertyName:LinkableString = newLinkableChild(this, LinkableString, handleNodeKeyPropertyChange);
         public const edgeKeyPropertyName:LinkableString = newLinkableChild(this, LinkableString, handleEdgeKeyPropertyChange);
@@ -48,14 +61,11 @@
         public var nodeLayerNames:Array = [];
         public var edgeLayerNames:Array = [];

-        private var nodeKeyToId:Object = {};
-        private var nodeIdToKey:Object = {};
-
-        private var edgeKeyToId:Object = {};
-        private var edgeIdToKey:Object = {};
-
-        public var nodeProperties:Array = [];
-        public var edgeProperties:Array = [];
+        private var nodeKeyToId:Object = null;
+        private var nodeIdToKey:Object = null;
+
+        private var edgeKeyToId:Object = null;
+        private var edgeIdToKey:Object = null;

         public function GraphMLDataSource()
         {
@@ -105,6 +115,68 @@
         override protected function requestColumnFromSource(proxyColumn:ProxyColumn):void
         {
             var metadata:Object = proxyColumn.getProxyMetadata();
+            var raw_rows:Array;
+            var data_remap_src:Object = null;
+            var key_remap_src:Object = null;
+            var keyType:String;
+
+            if (metadata[GROUP_META] == GraphMLConverter.NODE)
+            {
+                raw_rows = (nodeColumnData.getSessionState() as Array);
+
+                key_remap_src = nodeIdToKey;
+
+                keyType = nodeKeyType.value;
+            }
+            else if (metadata[GROUP_META] == GraphMLConverter.EDGE)
+            {
+                raw_rows = (edgeColumnData.getSessionState() as Array);
+
+                data_remap_src = (metadata[COLUMNNAME_META] == GraphMLConverter.SOURCE ||
+                                 metadata[COLUMNNAME_META] == GraphMLConverter.TARGET) ? nodeIdToKey : null;
+
+                key_remap_src = edgeIdToKey;
+
+                keyType = edgeKeyType.value;
+            }
+
+            if (!raw_rows) return;
+
+            var data_column:Array = getPropertyArray(raw_rows, metadata[COLUMNNAME_META], data_remap_src);
+            var key_column:Array = getPropertyArray(raw_rows, GraphMLConverter.ID, key_remap_src);
+
+            /* TODO: Add type autodetection and proper handling of numeric types. */
+
+
+            var key_vector:Vector.<IQualifiedKey> = new Vector.<IQualifiedKey>();
+            var data_vector:Vector.<String> = new Vector.<String>(data_column);
+
+            function setRecords():void
+            {
+                    var new_column:IAttributeColumn;
+                    new_column = new StringColumn(metadata);
+                    (new_column as StringColumn).setRecords(key_vector, data_vector);
+                    proxyColumn.setInternalColumn(new_column);
+            }
+
+            (WeaveAPI.QKeyManager as QKeyManager).getQKeysAsync(keyType, key_column, proxyColumn, setRecords, key_vector);
+        }
+
+        private static function getPropertyArray(objects:Array, property:String, mapping:Object):Array
+        {
+            var output:Array = new Array(objects.length);
+            for (var idx:int = objects.length - 1; idx >= 0; idx--)
+            {
+                if (mapping)
+                {
+                    output[idx] = mapping[objects[idx][property]];
+                }
+                else
+                {
+                    output[idx] = objects[idx][property];
+                }
+            }
+            return output;
         }

         /* Implements from IDataSource */
@@ -119,13 +191,6 @@
             return _rootNode;
         }

-
-
-        override public function getAttributeColumn(metadata:Object):IAttributeColumn
-        {
-            return null;
-        }
-
         /* Local logic */

         private function handleNodeLayeringChange():void
@@ -151,8 +216,8 @@

             if (!handleKeyPropertyChange(nodeKeyPropertyName, nodeKeyToId, nodeIdToKey))
             {
-                nodeKeyToId = {};
-                nodeIdToKey = {};
+                nodeKeyToId = null;
+                nodeIdToKey = null;
             }

             return;
@@ -164,8 +229,8 @@

             if (!handleKeyPropertyChange(edgeKeyPropertyName, edgeKeyToId, edgeIdToKey))
             {
-                edgeKeyToId = {};
-                edgeIdToKey = {};
+                edgeKeyToId = null;
+                edgeIdToKey = null;
             }

             return;
@@ -190,13 +255,16 @@
             return true;
         }

-        private function handleGraphMLDataChange():void
-        {
+        private function handleGraphMLNodesChange():void
+        {
+            handleNodeKeyPropertyChange();
             handleNodeLayeringChange();
+        }
+
+        private function handleGraphMLEdgesChange():void
+        {
+            handleEdgeKeyPropertyChange();
             handleEdgeLayeringChange();
-
-            handleNodeKeyPropertyChange();
-            handleEdgeKeyPropertyChange();
         }

         private function testKeyUniqueness(objects:Array, propertyName:String):Boolean
@@ -215,7 +283,7 @@

         private function translateReferences(idToKeyMappings:Object, values:Array):Array
         {
-            return values.map(function(item) { return idToKeyMappings[item]; });
+            return values.map(function(item:String, idx:int, arr:Array):String { return idToKeyMappings[item]; });
         }

         private function partitionElements(elements:Array, propertyName:String):Object
@@ -239,31 +307,16 @@
             return partitions;
         }

-        static private function transposeTable(table:Array, keys:Array):Object
-        {
-            var columns:Object = {};
-            var table_length:int = table.length;
-            for (var k_idx:int = keys.length;  k_idx >= 0; k_idx--)
-            {
-                var key:String = keys[k_idx];
-                var column:Array = new Array(table_length);
-
-                columns[key] = column;
-
-                for (var idx:int = table_length; idx >= 0; idx--)
-                {
-                    column[idx] = table[idx][key];
-                }
-            }
-            return columns;
-        }
-
         public function setFile(content:Object):void
         {
             var results:Object = GraphMLConverter.parse(content as XML);

             // Store results.nodeKeys and results.edgeKeys somewhere
+
+            nodeProperties.setSessionState(results.nodeKeys);
             nodeColumnData.setSessionState(results.nodes);
+
+            edgeProperties.setSessionState(results.edgeKeys);
             edgeColumnData.setSessionState(results.edges);
         }
     }
@@ -423,7 +476,9 @@
         if (children == null)
         {
             children = [];
-            var columns:Array = group.isNodeGroup() ? group.graph.source.nodeProperties : group.graph.source.edgeProperties;
+            var columns:Array = group.isNodeGroup() ?
+                group.graph.source.nodeProperties.getSessionState() as Array :
+                group.graph.source.edgeProperties.getSessionState() as Array;

             for (var idx:int = columns.length - 1; idx >= 0; idx--)
             {


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

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

 package mx.controls
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/framework/src/mx/formatters/DateFormatter.as
+++ frameworks/projects/framework/src/mx/formatters/DateFormatter.as
@@ -531,7 +531,7 @@
         // If value is null, or empty String just return ""
         // but treat it as an error for consistency.
         // Users will ignore it anyway.
-        if (!value || value == "")
+        if (!value || (value is String && value == ""))
         {
             error = defaultInvalidValueError;
             return "";


Transferred from the Adobe Open Source Subversion Repository

Revision: 88
Author:   open-source-svn-admin@adobe.com
Date:     2008-01-03T22:47:56.499469Z

Log Message:
-----------
Perforce Change 191925 by proberts@proberts-laptop-flex on 2008/01/03 16:47:12 Severity: ignore Details: doc additions/clean up for FlexNativeMenu. Also FLEXDOCS-320 (update documentation for FlexNativeMenuEvent.MENU_SHOW to explain that the index, label, and item properties are null) Affected files ...

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/in/air/air_version.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Consumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/NoChannelAvailableError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemHistoryButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/DirectHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemTree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/config/ServerConfig.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/mac/AIR Integration Kit.tbz2</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/messaging/errors/MessagingError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/InvalidChannelError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/AbstractProducer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/MessageSerializationError.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/messaging/Channel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.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/airframework/src/mx/controls/FileSystemList.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/in/air/win/AIR Integration Kit.zip</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/AbstractConsumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.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/messaging/channels/amfx/AMFXContext.as</path>
<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/airframework/src/mx/events/FlexNativeMenuEvent.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/lib/flex-messaging-common.jar</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/NetConnectionChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/mxml/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/Grammar.jj</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ConsumerMessageDispatcher.as</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/messaging/errors/InvalidDestinationError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXResult.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/AbstractMessageStore.as</path>

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

--- frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as
@@ -1,23 +1,17 @@
-/*************************************************************************
- *
- * ADOBE CONFIDENTIAL
- * __________________
- *
- *  [2002] - [2007] Adobe Systems Incorporated
- *  All Rights Reserved.
- *
- * NOTICE:  All information contained herein is, and remains
- * the property of Adobe Systems Incorporated and its suppliers,
- * if any.  The intellectual and technical concepts contained
- * herein are proprietary to Adobe Systems Incorporated
- * and its suppliers and may be covered by U.S. and Foreign Patents,
- * patents in process, and are protected by trade secret or copyright law.
- * Dissemination of this information or reproduction of this material
- * is strictly forbidden unless prior written permission is obtained
- * from Adobe Systems Incorporated.
- */
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
 package mx.messaging.channels
 {
+
 import flash.events.ErrorEvent;
 import flash.events.Event;
 import flash.events.IOErrorEvent;


Transferred from the Adobe Open Source Subversion Repository

Revision: 9864
Author:   anshulg@adobe.com
Date:     2009-09-01T07:42:25.296146Z

Log Message:
-----------
Added support to redirect NetConnectionChannel and HttpChannel requests to Network Monitor (for flex builder).
These changes were required to fix FB-21976
We tested these changes with check in tests for network monitor
Changes are reviewed by Mete Atamel
No change in documentation in SDK.
These changes need to be back ported in sdk3.x

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/NetConnectionChannel.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/netmon/NetworkMonitor.as</path>

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

--- frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as
@@ -29,6 +29,7 @@
 import mx.messaging.channels.amfx.AMFXHeader;
 import mx.messaging.channels.amfx.AMFXResult;
 import mx.messaging.config.ConfigMap;
+import mx.messaging.config.LoaderConfig;
 import mx.messaging.config.ServerConfig;
 import mx.messaging.errors.MessageSerializationError;
 import mx.messaging.events.ChannelFaultEvent;
@@ -41,6 +42,7 @@
 import mx.messaging.messages.IMessage;
 import mx.messaging.messages.MessagePerformanceInfo;
 import mx.messaging.messages.MessagePerformanceUtils;
+import mx.netmon.NetworkMonitor;
 import mx.utils.ObjectUtil;
 import mx.utils.StringUtil;

@@ -518,7 +520,9 @@
             result.url = endpoint + _appendToURL;
         else
             result.url = endpoint;
-
+
+		monitorRpcMessage(message, result);
+
         result.contentType = HTTPRequestMessage.CONTENT_TYPE_XML;

         var packet:XML = _encoder.encode(message, null);
@@ -527,7 +531,22 @@

         return result;
     }
-
+
+	/**
+	 * change the result url to redirect request to Network Monitor
+	 */
+
+	private function monitorRpcMessage(message:IMessage, result:URLRequest):void
+	{
+		if (NetworkMonitor.isMonitoring())
+		{
+			var redirectedUrl:String = NetworkMonitor.adjustNetConnectionURL(LoaderConfig.url, result.url);
+			if(redirectedUrl != null){
+				result.url = redirectedUrl;
+			}
+		}
+	}
+
     //--------------------------------------------------------------------------
     //
     // Protected Methods


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/rpc/src/mx/rpc/soap/types/ICustomSOAPType.as
+++ frameworks/projects/rpc/src/mx/rpc/soap/types/ICustomSOAPType.as
@@ -0,0 +1,33 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.rpc.soap.types
+{
+
+import mx.rpc.soap.SOAPDecoder;
+import mx.rpc.soap.SOAPEncoder;
+
+[ExcludeClass]
+
+/**
+ * Implementations handle encoding and decoding between custom SOAP types and
+ * ActionScript.
+ *
+ * @private
+ */
+public interface ICustomSOAPType
+{
+    function encode(encoder:SOAPEncoder, parent:XML, name:QName, value:*, restriction:XML = null):void;
+
+    function decode(decoder:SOAPDecoder, parent:*, name:*, value:*, restriction:XML = null):void;
+}
+
+}


* 兼容性修正

* 兼容性修正

--- ageb/src/ageb/modules/ae/AnimationLayerRendererEditable.as
+++ ageb/src/ageb/modules/ae/AnimationLayerRendererEditable.as
@@ -16,6 +16,10 @@
 			if (info)
 			{
 				info.onTexturesChange.remove(onTexturesChange);
+			}
+
+			if (infoEditable)
+			{
 				infoEditable.getFrameInfoAt(0).onBoxChange.remove(adjustSize);
 			}
 			super.info = value;
@@ -31,6 +35,10 @@
 			if (info)
 			{
 				info.onTexturesChange.remove(onTexturesChange);
+			}
+
+			if (infoEditable)
+			{
 				infoEditable.getFrameInfoAt(0).onBoxChange.add(adjustSize);
 			}
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 11656
Author:   rfrishbe@adobe.com
Date:     2009-11-11T17:20:44.117953Z

Log Message:
-----------
Fixing a bug in the Flash Component Kit for the Flex Component Templates for Flash.  The issue is around how we refactored the autoUpdateCurrentState flag and the first time we detect the currentState.  Before we would check the currentLabel on every enterFrame, but now we only do it when autoUpdateCurrentState is set.  In order to match what we were doing before, we decided to add that check in the constructor so the state gets set initially.

However, this isn’t exactly the behavior we had before, and using the Flex Component Templates for Flash, there’s a race condition.  When the skin loads up, the component will set the currentState on the UIMovieClip.  However, because we set _currentState in the constructor, the currentState setter short-circuits.  The problem with this is that now goToAndStop() isn’t called on the frame and the script continues to run.

For the fix, we delay the first time we set up _currentState for an enterFrame, which matches the behavior in 3.4.

QE notes: -
Doc notes: -
Bugs: SDK-24147
Reviewer: Glenn
Tests run: checkintest, mustella FCK
Is noteworthy for integration: No

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as

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

--- frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as
+++ frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as
@@ -624,8 +624,11 @@
         // to the stage
         addEventListener(FlexEvent.CREATION_COMPLETE, creationCompleteHandler);

-        if (currentLabel && currentLabel.indexOf(":") < 0 && currentLabel != _currentState)
-            _currentState = currentLabel;
+        // we want to set currentState initially by checking the currentLabel, but we
+        // defer this so that if curentState is set explicitely,
+        // we do a goToAndStop() instead of short-circuiting the currentState
+        // setter at "if (value == _currentState)"
+        addEventListener(Event.ENTER_FRAME, setUpFirstCurrentState);
     }

     //--------------------------------------------------------------------------
@@ -4692,8 +4695,20 @@
     protected function autoUpdateCurrentStateEnterFrameHandler(event:Event):void
     {
         // Check for the current state.  This is really only checked for if
-        // trackStateChanged == true.  This is so that if we magically land
+        // autoUpdateCurrentState == true.  This is so that if we magically land
         // on a "foo" labelled frame, we return "foo" as the currentState.
+        if (currentLabel && currentLabel.indexOf(":") < 0 && currentLabel != _currentState)
+            _currentState = currentLabel;
+    }
+
+    /**
+     *  @private
+     *  Sets up the current state the very first time.  This will only run once.
+     */
+    private function setUpFirstCurrentState(event:Event):void
+    {
+        // only run this code the very first time.
+        removeEventListener(Event.ENTER_FRAME, setUpFirstCurrentState);
         if (currentLabel && currentLabel.indexOf(":") < 0 && currentLabel != _currentState)
             _currentState = currentLabel;
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 18533
Author:   chiedozi@adobe.com
Date:     2010-11-10T22:15:24.428497Z

Log Message:
-----------
View is now a SkinnableContainer
Added an ActionScript skin for SkinnableContainer

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/View.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/MobileThemeClasses.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/SkinnableContainerSkin.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/View.as
+++ frameworks/projects/mobilecomponents/src/spark/components/View.as
@@ -121,7 +121,7 @@
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
-public class View extends Group implements IDataRenderer
+public class View extends SkinnableContainer implements IDataRenderer
 {
     //--------------------------------------------------------------------------
     //


fix play after vpaid

fix play after vpaid

--- kdp3Lib/src/com/kaltura/kdpfl/view/media/KMediaPlayerMediator.as
+++ kdp3Lib/src/com/kaltura/kdpfl/view/media/KMediaPlayerMediator.as
@@ -23,6 +23,7 @@
 	import com.kaltura.vo.KalturaMixEntry;

 	import flash.display.DisplayObjectContainer;
+	import flash.events.Event;
 	import flash.events.MouseEvent;
 	import flash.events.TimerEvent;
 	import flash.utils.Timer;
@@ -45,7 +46,7 @@
 	import org.osmf.traits.MediaTraitType;
 	import org.osmf.traits.TimeTrait;
 	import org.puremvc.as3.interfaces.INotification;
-	import org.puremvc.as3.patterns.mediator.Mediator;
+	import org.puremvc.as3.patterns.mediator.Mediator;

 	/**
 	 * Mediator for the KMediaPlayer component
@@ -141,6 +142,11 @@
 		/**
 		 * in case of mp4 intelliseek we will have to add this value to playhead position
 		 */
+
+		/**
+		 * flag to indicate if change media occur
+		*/
+		private var _changeMediaOccur:Boolean = false;
 		private var _offsetAddition:Number = 0;

 		/**
@@ -344,7 +350,7 @@
 				case NotificationType.CHANGE_MEDIA_PROCESS_STARTED:
 					//when we change the media we can reset the loadMediaOnPlay flag
 					var designatedEntryId : String = String(note.getBody().entryId);
-
+					_changeMediaOccur = true;
 					_loadMediaOnPlay = false;
 					_alertCalled = false;
 					player.removeEventListener( TimeEvent.COMPLETE , onTimeComplete );
@@ -797,7 +803,21 @@
 				//if we play image that not support duration we should act like we play somthing static
 				if(	_mediaProxy.vo.entry is KalturaMediaEntry && _mediaProxy.vo.entry.mediaType==KalturaMediaType.IMAGE)
 					sendNotification( NotificationType.PLAYER_PLAYED);
-			}
+				else
+				{
+					_changeMediaOccur = false;
+					player.addEventListener(MediaPlayerCapabilityChangeEvent.CAN_PLAY_CHANGE,function(event:Event):void
+					{
+
+						if (!_changeMediaOccur)
+						{
+							sendNotification(NotificationType.DO_PLAY);
+						}
+
+					});
+				}
+			}
+

 		}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

--- frameworks/projects/advancedgrids/src/mx/olap/aggregators/MaxAggregator.as
+++ frameworks/projects/advancedgrids/src/mx/olap/aggregators/MaxAggregator.as
@@ -0,0 +1,134 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+
+package mx.olap.aggregators
+{
+import mx.olap.IOLAPCustomAggregator;
+
+/**
+ *  The MaxAggregator class  implements the maximum aggregator.
+ *  The maximum aggregator returns the maximum value of all measures.
+ *  Flex uses this aggregator when you set the OLAPMeasure.aggregator property
+ *  to "MAX".
+ *
+ *  @see mx.olap.OLAPMeasure
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class MaxAggregator implements IOLAPCustomAggregator
+{
+	//--------------------------------------------------------------------------
+    //
+    // Methods
+    //
+    //--------------------------------------------------------------------------
+
+    // max functions.
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function computeBegin(dataField:String):Object
+    {
+        var newObj:Object = {};
+        newObj[dataField] = -Number.MAX_VALUE;
+        return newObj;
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function computeLoop(data:Object, dataField:String, rowData:Object):void
+    {
+    	var value:Number = rowData[dataField];
+    	if (typeof(value) == "xml")
+			value = Number(value.toString());
+
+        if (!data.hasOwnProperty(dataField))
+            data[dataField] = value;
+        else
+            data[dataField] =  data[dataField] > value ? data[dataField] : value;
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function computeEnd(data:Object, dataField:String):Number
+    {
+        return data[dataField];
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function computeObjectBegin(value:Object):Object
+    {
+        var newObj:Object = {};
+        for (var p:String in value)
+        {
+            newObj[p] = value[p];
+        }
+        return newObj;
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function computeObjectLoop(oldValue:Object, newValue:Object):void
+    {
+        for (var p:String in newValue)
+        {
+            oldValue[p] = oldValue[p] > newValue[p] ? oldValue[p] : newValue[p];
+        }
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function computeObjectEnd(oldValue:Object, dataField:String):Number
+    {
+        return oldValue[dataField];
+    }
+}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 18987
Author:   rfrishbe@adobe.com
Date:     2010-12-03T01:08:34.503999Z

Log Message:
-----------
PARB changes for sizeElement/positionElement.  MobileSkin and MobileItemRenderer's methods have been renamed: resizeElement() -> setElementSize(), positionElement() -> setElementPosition().

Also, cleaning up text reflow for TextAreaSkin

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileItemRenderer.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/VScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TextSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileIconItemRenderer.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/mobilecomponents/src/spark/components/supportClasses/StyleableTextField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ActionBarButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/SelectableButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderThumbSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderThumbSkin.as
@@ -304,8 +304,8 @@
      */
 	override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
 	{
-		resizeElement(currentThumbSkin, unscaledWidth, unscaledHeight);
-		positionElement(currentThumbSkin, 0, 0)
+		setElementSize(currentThumbSkin, unscaledWidth, unscaledHeight);
+		setElementPosition(currentThumbSkin, 0, 0)

         super.updateDisplayList(unscaledWidth, unscaledHeight);
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 12870
Author:   klin@adobe.com
Date:     2009-12-11T23:52:43.652707Z

Log Message:
-----------
Couple of minor fixes including SDK-24627 and SDK-24628.

-Added metadata so that resizeMode code hints. Needed to add the same metadata to Group since it doesn't inherit the enumerations from GroupBase. Renamed NOSCALE to NO_SCALE, which is more in line with naming conventions.
-Added null checks in VScrollBar and HScrollBar in pointToValue().
-Cleaned up VSlider's code.

QE notes: No
Doc notes: No
Bugs: SDK-24627, SDK-24628
Reviewer: Ryan
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ResizeMode.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
@@ -812,17 +812,19 @@
     //  resizeMode
     //----------------------------------

-    private var _resizeMode:String = ResizeMode.NOSCALE;
+    private var _resizeMode:String = ResizeMode.NO_SCALE;
+
+    [Inspectable(category="General", enumeration="noScale,scale", defaultValue="noScale")]

     /**
      *  The ResizeMode for this container. If the resize mode
-     *  is set to ResizeMode.NOSCALE, resizing is done by laying
+     *  is set to ResizeMode.NO_SCALE, resizing is done by laying
      *  out the children with the new width and height. If the
      *  resize mode is set to ResizeMode.SCALE, all of the children
      *  keep their unscaled width and height and the children
      *  are scaled to change size.
      *
-     *
The default value is ResizeMode.NOSCALE, corresponding to "noScale".

+     *
The default value is ResizeMode.NO_SCALE, corresponding to "noScale".

      *
      * @see spark.components.ResizeMode
      *
@@ -867,7 +869,7 @@
     private var _mouseEnabledWhereTransparent:Boolean = true;
     private var mouseEventReferenceCount:int;

-    [Inspectable(category="General", enumeration="true,false")]
+    [Inspectable(category="General", enumeration="true,false", defaultValue="true")]

     /**
      *  When set to true, the mouseOpaque property
@@ -1655,11 +1657,12 @@
     //  maskType
     //----------------------------------

-    [Bindable("propertyChange")]
-    [Inspectable(category="General", enumeration="clip,alpha,luminosity", defaultValue="clip")]
     private var _maskType:String = MaskType.CLIP;
     private var maskTypeChanged:Boolean;
     private var originalMaskFilters:Array;
+
+    [Bindable("propertyChange")]
+    [Inspectable(category="General", enumeration="clip,alpha,luminosity", defaultValue="clip")]

     /**
      *
The mask type. Possible values are MaskType.CLIP, MaskType.ALPHA


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

--- frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
@@ -1431,7 +1431,7 @@
         {
             for (var j:int = i;j > 0;j--)
             {
-                if ( a[j].layer < a[j-1].layer )
+                if ( a[j].depth < a[j-1].depth )
                 {
                     tmp = a[j];
                     a[j] = a[j-1];