https+proxy patch from Koji Tashiro

https+proxy patch from Koji Tashiro

--- src/org/httpclient/HttpSocket.as
+++ src/org/httpclient/HttpSocket.as
@@ -71,8 +71,8 @@
      * Create Socket or TLSSocket depending on URI scheme (http or https).
      */
     protected function createSocket(secure:Boolean = false):void {
-      if (!secure) _socket = new Socket();
-      else _socket = new TLSSocket();
+      if (secure && !_proxy) _socket = new TLSSocket();
+      else _socket = new Socket();

       _socket.addEventListener(Event.CONNECT, onConnect);
       _socket.addEventListener(Event.CLOSE, onClose);
@@ -106,7 +106,11 @@
      */
     public function request(uri:URI, request:HttpRequest):void {
       var onConnect:Function = function():void {
-        sendRequest(uri, request);
+        if (uri.scheme == "https" && _proxy) {
+          connectProxy(uri, request);
+        } else {
+          sendRequest(uri, request);
+        }
       };

       // Connect
@@ -137,6 +141,44 @@
       _socket.connect(host, port);
     }

+    /**
+     * Send CONNECT request for https proxy
+     * @param uri URI
+     */
+    protected function connectProxy(uri:URI, request:HttpRequest):void {
+      var proxyResponse:HttpResponse;
+
+      var onProxyHeader:Function = function(response:HttpResponse):void {
+        proxyResponse = response;
+      };
+
+      var onProxyData:Function = function(bytes:ByteArray):void {};
+
+      var onProxyComplete:Function = function(contentLength:Number):void {
+        _timer.stop();
+        if (proxyResponse.isSuccess) {
+          var socket:TLSSocket = new TLSSocket();
+          socket.startTLS(_socket, uri.authority);
+          _socket = socket;
+          sendRequest(uri, request);
+        } else {
+          _dispatcher.dispatchEvent(new HttpErrorEvent(HttpErrorEvent.ERROR, false, false, "CONNECT method failed", 1));
+        }
+      };
+
+      // Prepare response buffer
+      _responseBuffer = new HttpResponseBuffer(false, onProxyHeader, onProxyData, onProxyComplete);
+
+      var bytes:ByteArray = new ByteArray();
+      bytes.writeUTFBytes("CONNECT " + uri.authority + ":" + ((uri.port) ? uri.port : DEFAULT_HTTPS_PORT) + " HTTP/" + HTTP_VERSION + "\r\n\r\n");
+      bytes.position = 0;
+
+      _socket.writeBytes(bytes);
+      _socket.flush();
+      _timer.reset();
+      Log.debug("Send CONNECT done");
+    }
+
     /**
      * Send request.
      * @param uri URI


Transferred from the Adobe Open Source Subversion Repository

Revision: 18734
Author:   rfrishbe@adobe.com
Date:     2010-11-19T19:15:54.182511Z

Log Message:
-----------
Adding estimatedSize to mobile skins for containers.  This is needed so estimatedSize calculations get pushed down to children.

QE notes:
Doc notes:
Bugs: -
Reviewer: Alex, 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/ViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/SkinnableContainerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorApplicationSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.as
@@ -95,6 +95,14 @@
         addChild(navigator);
     }

+	/**
+	 *  @private
+	 */
+	override public function validateEstimatedSizesOfChildren():void
+	{
+		navigator.setEstimatedSize(estimatedWidth, estimatedHeight);
+	}
+
     /**
      *  @private
      */


added optional continuingLine parameter to drawDoubleCurve()

--- WeaveUISpark/src/weave/utils/DrawUtils.as
+++ WeaveUISpark/src/weave/utils/DrawUtils.as
@@ -85,11 +85,13 @@

 		/**
 		 * @param horizontalEndPoints When true, the curve starts and ends horizontal. When false, vertical.
-		 * @param curveNormValue Values that produce nice curves range from 0 to 1, 0 being a straight line.
+		 * @param curveNormValue Values that produce nice curves range from 0 to 1, 0 being a straight line.
+		 * @param continuingLine If true, the graphics cursor is assumed to be already at (startX,startY) and moveTo will not be used prior to drawing the curve.
 		 */
-		public static function drawDoubleCurve(graphics:Graphics, startX:Number, startY:Number, endX:Number, endY:Number, horizontalEndPoints:Boolean, curveNormValue:Number = 1):void
-		{
-			graphics.moveTo(startX, startY);
+		public static function drawDoubleCurve(graphics:Graphics, startX:Number, startY:Number, endX:Number, endY:Number, horizontalEndPoints:Boolean, curveNormValue:Number = 1, continuingLine:Boolean = false):void
+		{
+			if (!continuingLine)
+				graphics.moveTo(startX, startY);

 			var dx:Number = (endX - startX);
 			var dy:Number = (endY - startY);


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

--- frameworks/projects/mx/src/mx/containers/GridItem.as
+++ frameworks/projects/mx/src/mx/containers/GridItem.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.containers
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5770
Author:   gruehle@adobe.com
Date:     2009-03-30T20:58:54.529722Z

Log Message:
-----------
Add [Alternative] metadata to the Halo components that have a Gumbo replacement.

Bugs: SDK-20190
QA notes: none
Doc notes: Additional ASDoc comments added for many of the classes. These should all be reviewed.
Reviewer: Chet

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/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Zoom.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToggleButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/HBox.as</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/controls/RadioButtonGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Cubic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Fade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/RemoveChildAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/TweenEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeRight.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/VBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Glow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Quartic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Box.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeLeft.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Quintic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Tween.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Tile.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Quadratic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/AddChildAction.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/WipeDown.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/SetPropertyAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Canvas.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Resize.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/framework/src/mx/effects/Blur.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/LinkBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HorizontalList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeUp.as</path>

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

--- frameworks/projects/mx/src/mx/effects/easing/Sine.as
+++ frameworks/projects/mx/src/mx/effects/easing/Sine.as
@@ -11,6 +11,15 @@

 package mx.effects.easing
 {
+
+/**
+ *  The new effects provided as of Flex 4 use classes which implement the
+ *  IEaser interface instead of the easing functions in classes like Sine for
+ *  the earlier Flex 3 effects. To achieve the same functionality of the old Sine
+ *  class, create a spark.effects.Sine instance with an appropriate
+ *  easeInFraction to get the desired result.
+ */
+[Alternative(replacement="spark.effects.easing.Sine", since="4.0")]

 /**
  *  The Sine class defines three easing functions to implement


Transferred from the Adobe Open Source Subversion Repository

Revision: 3297
Author:   jimurphy@adobe.com
Date:     2008-09-22T17:59:53.303960Z

Log Message:
-----------
Merge 3.0.x revisions 3260,3262,3266,3271,3276,3282,3285,3292,3294 -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/FaultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/ResultEvent.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/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.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="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/Operation.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IFocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/AbstractMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/Fault.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISWFBridgeProvider.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/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISWFBridgeGroup.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/soap/Operation.as
+++ frameworks/projects/rpc/src/mx/rpc/soap/Operation.as
@@ -20,6 +20,7 @@
 import mx.logging.ILogger;
 import mx.messaging.ChannelSet;
 import mx.messaging.events.MessageEvent;
+import mx.messaging.events.MessageFaultEvent;
 import mx.messaging.messages.IMessage;
 import mx.messaging.messages.SOAPMessage;
 import mx.netmon.NetworkMonitor;
@@ -802,6 +803,24 @@
     }

     /**
+     * We intercept faults as the SOAP response content may still been present
+     * in the message body.
+     *
+     * @private
+     */
+    override mx_internal function processFault(message:IMessage, token:AsyncToken):Boolean
+    {
+        var dispatchFaultEvent:Boolean = true;
+
+        if (message != null && message.body != null)
+        {
+            dispatchFaultEvent = processSOAP(message, token);
+        }
+
+        return dispatchFaultEvent;
+    }
+
+    /**
      * We decode the SOAP encoded response and update the result and response
      * headers (if any).
      *
@@ -809,8 +828,16 @@
      */
     override mx_internal function processResult(message:IMessage, token:AsyncToken):Boolean
     {
+        return processSOAP(message, token);
+    }
+
+    /**
+     * @private
+     */
+    mx_internal function processSOAP(message:IMessage, token:AsyncToken):Boolean
+    {
         var body:Object = message.body;
-        var dispatchResultEvent:Boolean = true;
+        var eventDispatchRequired:Boolean = true;

         try
         {
@@ -830,7 +857,7 @@
             _responseHeaders = soapResult.headers;

             // Process headers for both result and fault
-            dispatchResultEvent = processHeaders(_responseHeaders, token, message);
+            eventDispatchRequired = processHeaders(_responseHeaders, token, message);

             // Handle faults
             if (soapResult.isFault)
@@ -838,29 +865,32 @@
                 var faults:Array = soapResult.result as Array;
                 for each (var soapFault:Fault in faults)
                 {
+                    soapFault.content = body;
                     dispatchRpcEvent(FaultEvent.createEvent(soapFault, token, message));
                 }
-                dispatchResultEvent = false;
+                eventDispatchRequired = false;
             }

-            if (dispatchResultEvent)
+            if (eventDispatchRequired)
                 _result = soapResult.result;
         }
-        catch(fault:Fault)
-        {
+        catch (fault:Fault)
+        {
+            fault.content = body;
             dispatchRpcEvent(FaultEvent.createEvent(fault, token, message));
-            return false;
-        }
-        catch(error:Error)
+            eventDispatchRequired = false;
+        }
+        catch (error:Error)
         {
             var errorMsg:String = error.message != null ? error.message : "";
             var fault2:Fault = new Fault("DecodingError", errorMsg);
+            fault2.content = body;
             var faultEvent:FaultEvent = FaultEvent.createEvent(fault2, token, message);
             dispatchRpcEvent(faultEvent);
-            return false;
-        }
-
-        return dispatchResultEvent;
+            eventDispatchRequired = false;
+        }
+
+        return eventDispatchRequired;
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 7836
Author:   chaase@adobe.com
Date:     2009-06-15T14:37:21.379918Z

Log Message:
-----------
PARB changes for effects. This includes various property renames, a couple of class renames, moving 3 classes to a sub-package, and various doc cleanups. This also includes changing a handful of Array properties to typed Vectors.

QE: This breaks Mustella due to the renames
Doc: Docs will need to be updated to reflect the changes as well
Bugs: None
Reviewer: Jason
Tests: checkintests, Thermo's transitionbug test

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/utils/BitmapUtil.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as" copyfrom-rev="7748" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EasingFraction.as</path>
<path kind="file" action="D">/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/interpolation/RGBInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/HSBInterpolator.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/AnimateColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/RepeatBehavior.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateShaderTransition.as" copyfrom-rev="7748" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransitionShader.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateShaderTransition.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/IInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/NumberInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/CallActionInstance.as</path>
<path kind="file" action="D">/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/supportClasses/AnimateColorInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateShaderTransitionInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateShaderTransitionInstance.as" copyfrom-rev="7748" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.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/easing/Sine.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/interpolation/ArrayInterpolator.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" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/SimpleMotionPath.as" copyfrom-rev="7748" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/SimpleMotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/HSBColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/IAnimationTarget.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/ResizeInstance.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Keyframe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/CrossFade.pbk</path>
<path kind="file" action="D">/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/supportClasses/WipeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>

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

--- frameworks/projects/spark/src/spark/effects/Scale.as
+++ frameworks/projects/spark/src/spark/effects/Scale.as
@@ -13,6 +13,7 @@
 {
 import mx.effects.IEffectInstance;

+import spark.effects.animation.MotionPath;
 import spark.effects.supportClasses.AnimateTransformInstance;

 /**
@@ -214,7 +215,7 @@
      */
     override public function createInstance(target:Object = null):IEffectInstance
     {
-        motionPaths = [];
+        motionPaths = new Vector.<MotionPath>();
         return super.createInstance(target);
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 6295
Author:   egreenfi@adobe.com
Date:     2009-04-27T19:25:10.102526Z

Log Message:
-----------
- Added a workaround for 3D bugs in 10.0 release of flash player when multiplying vectors against 3D matrices.
- integrated offset animation from Animate3D class into AnimateTransform class. AnimateTRansform can now correctly capture and animate values for target.offsets as well as target.
- integrated projection matrix management from Animate3D into AnimateTransform and subclasses.
- added affectsLayout flag to subclasses of AnimateTRansform.  THeir parameters can now optionally be used to animate the offsets of the target.
- setup correct defaults on all 3D subclasses of AnimateTransform, so they don't affect layout and do modify the local projection matrix by default.

Reviewer: Chet
QA: Yes!
Doc: Yes.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove.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/AnimateTransformMove3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.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/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/spark/src/spark/effects/Scale.as
+++ frameworks/projects/spark/src/spark/effects/Scale.as
@@ -76,6 +76,15 @@
     //--------------------------------------------------------------------------

     //----------------------------------
+    //  affectLayout
+    //----------------------------------
+    [Inspectable(category="General")]
+    /**
+     * whether or not this effect should animate the target directly or its post layout transform offsets.
+     */
+    public var affectLayout:Boolean = true;
+
+    //----------------------------------
     //  scaleYFrom
     //----------------------------------

@@ -205,8 +214,16 @@
      */
     override protected function initInstance(instance:IEffectInstance):void
     {
-        addMotionPath("scaleX", scaleXFrom, scaleXTo, scaleXBy);
-        addMotionPath("scaleY", scaleYFrom, scaleYTo, scaleYBy);
+        if(affectLayout)
+        {
+            addMotionPath("scaleX", scaleXFrom, scaleXTo, scaleXBy);
+            addMotionPath("scaleY", scaleYFrom, scaleYTo, scaleYBy);
+        }
+        else
+        {
+            addPostLayoutMotionPath("postLayoutScaleX", scaleXFrom, scaleXTo, scaleXBy);
+            addPostLayoutMotionPath("postLayoutScaleY", scaleYFrom, scaleYTo, scaleYBy);
+        }
         super.initInstance(instance);
     }
 }


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

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

 package mx.automation.codec
 {


Fix unexpected behavior with nested tabs

--- collect-client/src/generated/flex/org/openforis/collect/metamodel/proxy/UITabSetProxy.as
+++ collect-client/src/generated/flex/org/openforis/collect/metamodel/proxy/UITabSetProxy.as
@@ -16,10 +16,10 @@

 		public function getTab(name:String):UITabProxy {
 			var stack:Array = new Array();
-			stack.push(tabs);
+			stack.push(this.tabs);
 			while (stack.length > 0) {
-				var tabs:IList = stack.pop();
-				for each(var tab:UITabProxy in tabs) {
+				var currentTabs:IList = stack.pop();
+				for each(var tab:UITabProxy in currentTabs) {
 					if(tab.name == name) {
 						return tab;
 					}


LevelController:low priority listener,so that other listeners with default priority could seamlessly set hls.startLevel in their HLSEvent.MANIFEST_PARSED listener

--- src/org/mangui/hls/controller/LevelController.as
+++ src/org/mangui/hls/controller/LevelController.as
@@ -42,7 +42,9 @@
         public function LevelController(hls : HLS) : void {
             _hls = hls;
             _fpsController = new FPSController(hls);
-            _hls.addEventListener(HLSEvent.MANIFEST_PARSED, _manifestParsedHandler);
+            /* low priority listener, so that other listeners with default priority
+               could seamlessly set hls.startLevel in their HLSEvent.MANIFEST_PARSED listener */
+            _hls.addEventListener(HLSEvent.MANIFEST_PARSED, _manifestParsedHandler, false, int.MIN_VALUE);
             _hls.addEventListener(HLSEvent.MANIFEST_LOADED, _manifestLoadedHandler);
             _hls.addEventListener(HLSEvent.FRAGMENT_LOADED, _fragmentLoadedHandler);
             _hls.addEventListener(HLSEvent.FRAGMENT_LOAD_EMERGENCY_ABORTED, _fragmentLoadedHandler);


FLEX-34119 Renamed a Boolean for clarity in HierarchicalCollectionViewCursor.collectionChangeHandler.

--- frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as
+++ frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as
@@ -1148,7 +1148,7 @@
         var parentStack:Array = getParentStack(current);
         var isBefore:Boolean = false;
         var parentOfChangingNodeIndex:int;
-        var isOurAncestorChanging:Boolean;
+        var selectedAndChangingNodesHaveCommonAncestor:Boolean;
         var bookmarkInChangingCollection:CursorBookmark;

         // remember the current parent
@@ -1172,11 +1172,12 @@
                 if (isBefore)
                 {
                     // if the added node is before the current
-                    // and they share parent's then we have to
+                    // and they share parents then we have to
                     // adjust the currentChildIndex or
                     // the stack of child indexes.
                     parentOfChangingNode = collection.getParentItem(changingNode);
                     changingNodeAndSiblings = collection.getChildren(parentOfChangingNode);
+
                     if (parentOfChangingNode == parentOfCurrentNode)
                     {
                         if (changingNodeAndSiblings != null)
@@ -1195,8 +1196,8 @@
                     }
                     else {
                         parentOfChangingNodeIndex = parentStack.indexOf(parentOfChangingNode);
-                        isOurAncestorChanging = parentOfChangingNodeIndex != -1;
-                        if (isOurAncestorChanging)
+                        selectedAndChangingNodesHaveCommonAncestor = parentOfChangingNodeIndex != -1;
+                        if (selectedAndChangingNodesHaveCommonAncestor)
                         {
                             if (changingNodeAndSiblings != null)
                             {
@@ -1251,11 +1252,12 @@
                 if (isBefore)
                 {
                     // if the removed node is before the current
-                    // and they share parent's then we have to
+                    // and they share parents then we have to
                     // adjust the currentChildIndex or
                     // the stack of child indexes.
                     parentOfChangingNode = collection.getParentItem(changingNode);
                     changingNodeAndSiblings = collection.getChildren(parentOfChangingNode);
+
                     if (parentOfChangingNode == parentOfCurrentNode)
                     {
                         if (changingNodeAndSiblings != null)
@@ -1274,8 +1276,8 @@
                     }
                     else {
                         parentOfChangingNodeIndex = parentStack.indexOf(parentOfChangingNode);
-                        isOurAncestorChanging = parentOfChangingNodeIndex != -1;
-                        if (isOurAncestorChanging)
+                        selectedAndChangingNodesHaveCommonAncestor = parentOfChangingNodeIndex != -1;
+                        if (selectedAndChangingNodesHaveCommonAncestor)
                         {
                             if (changingNodeAndSiblings != null)
                             {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridLockedRowContentHolder.as
+++ frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridLockedRowContentHolder.as
@@ -0,0 +1,57 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.controls.dataGridClasses
+{
+
+import mx.controls.listClasses.ListBase;
+import mx.controls.listClasses.ListBaseContentHolder;
+
+/**
+ *  The DataGridLockedRowContentHolder class defines a container in a DataGrid control
+ *  of all of the control's item renderers and item editors.
+ *  Flex uses it to mask areas of the renderers that extend outside
+ *  of the control, and to block certain styles, such as backgroundColor,
+ *  from propagating to the renderers so that highlights and
+ *  alternating row colors can show through the control.
+ *
+ *  @see mx.controls.DataGrid
+ */
+public class DataGridLockedRowContentHolder extends ListBaseContentHolder
+{
+
+    /**
+     *  Constructor.
+     *
+     *  @param parentList The DataGrid control.
+     */
+    public function DataGridLockedRowContentHolder(parentList:ListBase)
+    {
+        super(parentList);
+        if (parentList.dataProvider)
+            iterator = parentList.dataProvider.createCursor();
+    }
+
+
+    /**
+     * The measured height of the DataGrid control.
+     */
+    override public function get measuredHeight():Number
+    {
+        var rc:Number = rowInfo.length;
+        if (rc == 0)
+            return 0;
+
+        return rowInfo[rc - 1].y + rowInfo[rc - 1].height;
+    }
+}
+
+}


fixed bug in LinkablePromise grouped callback

--- WeaveJS/src/weavejs/core/LinkablePromise.as
+++ WeaveJS/src/weavejs/core/LinkablePromise.as
@@ -67,7 +67,7 @@
 			_description = description;
 			_callbackCollection = WeaveAPI.SessionManager.getCallbackCollection(this);
 			_callbackCollection.addImmediateCallback(this, _immediateCallback);
-			_callbackCollection.addGroupedCallback(this, _groupedCallback, validateNow);
+			_callbackCollection.addGroupedCallback(this, _groupedCallback, validateNow, false);
 			if (validateNow)
 			{
 				_lazy = false;


fix warning when compiling in release mode

--- src/org/mangui/hls/stream/StreamBuffer.as
+++ src/org/mangui/hls/stream/StreamBuffer.as
@@ -187,8 +187,8 @@
                             // if same continuity counter, sliding can be computed using PTS, it will be more accurate
                             if(continuity == _fragMainInitialContinuity) {
                                 sliding = _playlistSlidingMain = _fragMainInitialStartPosition + (min_pts-_fragMainInitialPTS)/1000 - startPosition;
-                                if(sliding < 0) {
-                                    CONFIG::LOGGING {
+                                CONFIG::LOGGING {
+                                    if(sliding < 0) {
                                         Log.warn('negative sliding : sliding/min_pts/_fragMainInitialPTS/startPosition/_fragMainInitialStartPosition:' + sliding + '/' + min_pts + '/' + _fragMainInitialPTS + '/' + startPosition.toFixed(3) + '/' + _fragMainInitialStartPosition);
                                     }
                                 }


URLRequestUtils.request's Promise now rejects when a non-200 response code is received.

--- WeaveJS/src/weavejs/net/URLRequestUtils.as
+++ WeaveJS/src/weavejs/net/URLRequestUtils.as
@@ -11,10 +11,10 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/.
  *
- * ***** END LICENSE BLOCK ***** */
-
-package weavejs.net
-{
+ * ***** END LICENSE BLOCK ***** */
+
+package weavejs.net
+{
 	import weavejs.WeaveAPI;
 	import weavejs.api.core.ILinkableHashMap;
 	import weavejs.api.core.ILinkableObject;
@@ -22,9 +22,9 @@
 	import weavejs.util.Dictionary2D;
 	import weavejs.util.JS;
 	import weavejs.util.StandardLib;
-	import weavejs.util.WeavePromise;
+	import weavejs.util.WeavePromise;

-	public class URLRequestUtils implements IURLRequestUtils
+	public class URLRequestUtils implements IURLRequestUtils
 	{
 		private function byteArrayToDataUri(byteArray:/*/Uint8Array/*/Array, mimeType:String):String
 		{
@@ -95,9 +95,17 @@
 							result = new JS.Uint8Array(result);
 						if (responseType === ResponseType.DATAURI)
 							result = byteArrayToDataUri(new JS.Uint8Array(result), urlRequest.mimeType);
-
-						resolve(result);
-						done = true;
+
+						if (xhr.status < 200 || xhr.status > 299) /* If we did not receive a success status code (200 OK, 201 Created, etc...), reject */
+						{
+							reject(xhr);
+							done = true;
+						}
+						else
+						{
+							resolve(result);
+							done = true;
+						}
 					};
 					xhr.onerror = function(event:*):void {
 						if (!done)
@@ -167,5 +175,5 @@
 		{
 			return d2d_weaveRoot_fileName_promise.secondaryKeys(weaveRoot).sort();
 		}
-	}
+	}
 }


:memo:

:memo:

--- index.as
+++ index.as
@@ -18,7 +18,7 @@
 // [x] Parse/Build: Dereference
 // [ ] Parse/Build: Pointer Arithmetic

-// [ ] Cast: Primitive (function)
+// [x] Cast: Primitive (function)
 // [ ] Cast: Alias (pointer)

 // [ ] Implicit cast to type alias from unnamed _literal_ of underlying type


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

--- frameworks/projects/mx/src/mx/controls/Button.as
+++ frameworks/projects/mx/src/mx/controls/Button.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
 {


Added sortChildren method
Extracted getComparator method

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

--- flare.util/flare/util/Sort.as
+++ flare.util/flare/util/Sort.as
@@ -1,5 +1,7 @@
 package flare.util
-{
+{
+	import flash.display.DisplayObjectContainer;
+
 	/**
 	 * Utility methods for sorting and creating sorting functions.
 	 */
@@ -18,20 +20,56 @@
 		 * choice of comparators.
 		 * @param list the array to sort
 		 * @param cmp an optional comparator Function or comparison
-		 * specification. A specification is an array containing a set of data
-		 * field names to sort on, in priority order. In addition, an optional
-		 * boolean argument can follow each name, indicating whether sorting on
-		 * the preceding field should be done in ascending (true) or descending
-		 * (false) order.
+		 *  specification. A specification is an array containing a set of data
+		 *  field names to sort on, in priority order. In addition, an optional
+		 *  boolean argument can follow each name, indicating whether sorting
+		 *  on the preceding field should be done in ascending (true) or
+		 *  descending (false) order.
 		 */
 		public static function sort(list:Array, cmp:*=null):void
 		{
+			mergeSort(list, getComparator(cmp), 0, list.length-1);
+		}
+
+		/**
+		 * Sorts the children of the given DisplayObjectContainer using
+		 * an optional comparator function.
+		 * @param d a display object container to sort. The sort may change the
+		 *  rendering order in which the contained display objects are drawn.
+		 * @param cmp an optional comparator Function or comparison
+		 *  specification. A specification is an array containing a set of data
+		 *  field names to sort on, in priority order. In addition, an optional
+		 *  boolean argument can follow each name, indicating whether sorting
+		 *  on the preceding field should be done in ascending (true) or
+		 *  descending (false) order.
+		 */
+		public static function sortChildren(
+			d:DisplayObjectContainer, cmp:*=null):void
+		{
+			if (d==null) return;
+			var a:Array = new Array(d.numChildren);
+			for (var i:int=0; i<a.length; ++i) {
+				a[i] = d.getChildAt(i);
+			}
+			if (cmp==null) a.sort() else a.sort(getComparator(cmp));
+			for (i=0; i<a.length; ++i) {
+				d.setChildIndex(a[i], i);
+			}
+		}
+
+		private static function getComparator(cmp:*):Function
+		{
 			var c:Function;
-			if (cmp is Function) c = cmp as Function;
-			else if (cmp is Array) c = sorter(cmp as Array);
-			else throw new ArgumentError("Unknown parameter type: "+cmp);
-
-			mergeSort(list, c, 0, list.length-1);
+			if (cmp is Function) {
+				c = cmp as Function;
+			} else if (cmp is Array) {
+				c = sorter(cmp as Array);
+			} else if (cmp == null) {
+				c = function(a:*, b:*):int { return a<b ? -1 : a>b ? 1 : 0; }
+			} else {
+				throw new ArgumentError("Unknown parameter type: "+cmp);
+			}
+			return c;
 		}

 		/**


properly set keyword properties on Set.as

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

--- src/as/com/threerings/util/Set.as
+++ src/as/com/threerings/util/Set.as
@@ -1,5 +1,5 @@
 //
-// $Id: Set.as 4848 2007-10-18 23:55:26Z tim $
+// $Id$
 //
 // Narya library - tools for developing networked games
 // Copyright (C) 2002-2007 Three Rings Design, Inc., All Rights Reserved


Remove needless (and erroneous) type definition in the same place

--- Arguments/src/classes/AgoraMap.as
+++ Arguments/src/classes/AgoraMap.as
@@ -358,7 +358,7 @@
 			var nodes_map:Object = new Object;
 			//read all nodes. This includes setting the text of the node
 			//by reading the text in the corresponding textbox node
-			for each (xml:XML in nodes)
+			for each (xml in nodes)
 			{
 				var argumentPanel:ArgumentPanel = null;
 				if(xml.attribute("Type") == "Inference")


WMLoader is now ASTestLoader.

WMLoader is now ASTestLoader.

--- flash/org/windmill/astest/ASTestLoader.as
+++ flash/org/windmill/astest/ASTestLoader.as
@@ -28,19 +28,19 @@
   import flash.external.ExternalInterface;
   import flash.utils.getQualifiedClassName;

-  public class WMLoader {
+  public class ASTestLoader {
     private static var urls:Array = [];
-    public static function load(urls:Array):void {
-      WMLoader.urls = urls;
-      WMLoader.loadNext();
+    public static function load(u:Array):void {
+      urls = u;
+      loadNext();
     }
     private static function loadNext():void {
-      if (WMLoader.urls.length == 0) {
+      if (urls.length == 0) {
         ASTest.run();
       }
       else {
         var loader:Loader = new Loader();
-        var url:String = WMLoader.urls.shift();
+        var url:String = urls.shift();
         var req:URLRequest = new URLRequest(url);
         // checkPolicyFile is true so it knows to grab the crossdomain.xml
         // for wherever it's grabbing tests from
@@ -67,7 +67,7 @@
             instance: new c()
           });
           loader.unload();
-          WMLoader.loadNext();
+          loadNext();
         });
         loader.load(req, ctxt);
       }


Removing testing gui

Removing testing gui

--- src/heartattacks/states/PlayState.as
+++ src/heartattacks/states/PlayState.as
@@ -8,7 +8,6 @@
 	import heartattacks.doodads.Player;
 	import heartattacks.doodads.Girl;
 	import heartattacks.Level;
-	import heartattacks.TestingGui;
 	import net.flashpunk.Entity;
 	import net.flashpunk.graphics.Image;
 	import net.flashpunk.graphics.Text;
@@ -33,7 +32,6 @@
 		[Embed(source = "../../../res/tilemaps/TestLevel.oel", mimeType = "application/octet-stream")]
 		private var Map:Class;
 		private var level:Level;
-		private var testGui:TestingGui;

 		public override function begin():void
 		{
@@ -46,7 +44,6 @@

 			if (Input.pressed(Key.F5))
 			{
-				FP.stage.removeChild(this.testGui);
 				var oldPlayer:Player = this.level.player;
 				var oldGirl:Girl = this.level.girl;
 				this.removeAll();
@@ -89,9 +86,6 @@
 				this.level.player.MaxCameraSpeed = oldPlayer.MaxCameraSpeed;
 				this.level.girl.TimeTillNextMove = oldGirl.TimeTillNextMove;
 			}
-
-			this.testGui = new TestingGui(this.level.player, this.level.girl);
-			FP.stage.addChild(this.testGui);
 		}
 	}
 }


CSS/transitions
	- bugfix: Added guard against missing default values

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

--- src/reprise/css/transitions/CSSTransitionsManager.as
+++ src/reprise/css/transitions/CSSTransitionsManager.as
@@ -85,7 +85,6 @@
 			var transitionDelay : CSSProperty;
 			var transitionEasing : Function;
 			var transition : CSSPropertyTransition;
-			var startTime : int = getTimer();

 			if (newStyles.hasStyle('transitionFrameDropping') &&
 				newStyles.getStyle('transitionFrameDropping').specifiedValue() == 'prevent')
@@ -96,7 +95,7 @@
 			{
 				m_frameDuration = 10000;
 			}
-			if (newStyles && newStyles.getStyle('RepriseTransitionProperty'))
+			if (newStyles && newStyles.hasStyle('RepriseTransitionProperty'))
 			{
 				m_transitionProperties =
 					newStyles.getStyle('RepriseTransitionProperty').specifiedValue();
@@ -110,8 +109,10 @@
 					newStyles.hasStyle('RepriseTransitionTimingFunction')
 					? newStyles.getStyle('RepriseTransitionTimingFunction').specifiedValue()
 					: DEFAULT_EASING;
-				m_defaultValues = newStyles.getStyle(
-					'RepriseTransitionDefaultValue').specifiedValue();
+				m_defaultValues = newStyles.hasStyle('RepriseTransitionDefaultValue') &&
+					newStyles.hasStyle('RepriseTransitionDefaultValue')
+					? newStyles.getStyle('RepriseTransitionDefaultValue').specifiedValue()
+					: [];

 				//remove any transitions that aren't supposed to be active anymore
 				if (m_activeTransitions)


added string cast for url

added string cast for url

--- WeaveJS/src/weavejs/net/URLRequestUtils.as
+++ WeaveJS/src/weavejs/net/URLRequestUtils.as
@@ -47,9 +47,9 @@
 			var responseType:String = urlRequest.responseType || ResponseType.UINT8ARRAY;
 			var promise:WeavePromise;

-			if (urlRequest.url.indexOf(LOCAL_FILE_URL_SCHEME) == 0)
+			if (String(urlRequest.url).indexOf(LOCAL_FILE_URL_SCHEME) == 0)
 			{
-				var fileName:String = urlRequest.url.substr(LOCAL_FILE_URL_SCHEME.length);
+				var fileName:String = String(urlRequest.url).substr(LOCAL_FILE_URL_SCHEME.length);
 				var weaveRoot:ILinkableHashMap = Weave.getRoot(relevantContext as ILinkableObject);
 				var cachedPromise:WeavePromise = get_d2d_weaveRoot_fileName_promise(weaveRoot, fileName);
 				if (cachedPromise.getResult() == null && cachedPromise.getError() == null)


added internal class JsonSynchronizer; not used yet

Change-Id: I080be869be770c7f4caa629e0fba5424bd432707

--- WeaveUI/src/weave/editors/DynamicEditor.as
+++ WeaveUI/src/weave/editors/DynamicEditor.as
@@ -238,4 +238,47 @@
 			return indent;
 		}
 	}
-}+}
+
+import flash.display.DisplayObject;
+
+import mx.binding.utils.BindingUtils;
+
+import weave.api.core.ILinkableVariable;
+import weave.api.getCallbackCollection;
+import weave.core.ClassUtils;
+import weave.core.UIUtils;
+import weave.utils.EventUtils;
+
+internal class JsonSynchronizer
+{
+	public static function available():Boolean
+	{
+		return ClassUtils.getClassDefinition('JSON') != null;
+	}
+
+	public function JsonSynchronizer(linkableVariable:ILinkableVariable, host:DisplayObject, prop:String)
+	{
+		this.lv = linkableVariable;
+		this.host = host;
+		this.prop = prop;
+
+		getCallbackCollection(lv).addImmediateCallback(host, handleObject, true);
+		BindingUtils.bindSetter(EventUtils.generateDelayedCallback(linkableVariable, handleJson, 500, true), this.host, this.prop);
+	}
+
+	public var JSON:Object = ClassUtils.getClassDefinition('JSON');
+	public var lv:ILinkableVariable;
+	public var host:Object;
+	public var prop:String;
+
+	private function handleObject():void
+	{
+		host[prop] = JSON.stringify(lv.getSessionState());
+	}
+
+	private function handleJson(value:* = null):void
+	{
+		lv.setSessionState(JSON.parse(value));
+	}
+}


Bugfix: if no scrollbar exists, verticalScrollPosition getter returns 0

--- src/org/openPyro/core/UIContainer.as
+++ src/org/openPyro/core/UIContainer.as
@@ -653,7 +653,10 @@
 		}

 		public function get verticalScrollPosition():Number{
-			return _verticalScrollBar.value;
+			if(_verticalScrollBar){
+				return _verticalScrollBar.value;
+			}
+			return 0;
 		}

 		protected var scrollY:Number = 0;


Fixed Geometry.cast reading UV with bytes offset instead of offset. Resulted in reading erroneous values for UV

--- src/aerys/minko/render/geometry/Geometry.as
+++ src/aerys/minko/render/geometry/Geometry.as
@@ -1228,7 +1228,7 @@

 					var uvData 			: ByteArray = uvStream == xyzStream ? xyzData : uvStream.lock();
 					var uvVertexSize 	: uint 		= uvStream.format.numBytesPerVertex;
-					var uvOffset 		: uint 		= uvStream.format.getOffsetForComponent(VertexComponent.UV);
+					var uvOffset 		: uint 		= uvStream.format.getBytesOffsetForComponent(VertexComponent.UV);

 					indicesData.position = triangleIndice * 2;

@@ -1242,7 +1242,7 @@

 					uvData.position = indicesData.readUnsignedShort() * uvVertexSize + uvOffset;
 					var u2  : Number = uvData.readFloat();
-					var v2  : Number = uvData.readFloat();
+					var v2  : Number = uvData.readFloat();

 					lambda.z = 1 - lambda.x - lambda.y;


qnd: don't sent playthrough events in live

git-svn-id: 3f608e5a9a704dd448217c0a64c508e7f145cfa1@91218 6b8eccd3-e8c5-4e7d-8186-e12b5326b719

--- plugins/statisticsPlugin/src/com/kaltura/kdpfl/plugin/component/StatisticsMediator.as
+++ plugins/statisticsPlugin/src/com/kaltura/kdpfl/plugin/component/StatisticsMediator.as
@@ -3,6 +3,7 @@
 	import com.kaltura.commands.stats.StatsCollect;
 	import com.kaltura.config.KalturaConfig;
 	import com.kaltura.kdpfl.model.SequenceProxy;
+	import com.kaltura.kdpfl.model.MediaProxy;
 	import com.kaltura.kdpfl.model.type.AdsNotificationTypes;
 	import com.kaltura.kdpfl.model.type.NotificationType;
 	import com.kaltura.types.KalturaStatsEventType;
@@ -123,6 +124,8 @@
 		 * if set to true buffer_start and buffer_end events won't be sent
 		 */
 		public var bufferStatsDis:Boolean = false;
+
+		private var _mediaProxy:MediaProxy;

 		/**
 		 * Constructor
@@ -174,7 +177,7 @@
 		override public function onRegister():void
 		{
 			_flashvars = facade.retrieveProxy("configProxy")["vo"]["flashvars"];
-
+			_mediaProxy = facade.retrieveProxy("mediaProxy") as MediaProxy;
 			var config : KalturaConfig = new KalturaConfig();
 			config.domain = statsDomain ? statsDomain : _flashvars.host;
 			config.ks = facade.retrieveProxy("servicesProxy")["kalturaClient"]["ks"];
@@ -194,12 +197,12 @@
 			var config:Object = facade.retrieveProxy("configProxy");
 			var mediaPlayer:Object = facade.retrieveMediator("kMediaPlayerMediator");
 			var kse:KalturaStatsEvent = new KalturaStatsEvent();
-			kse.partnerId = config["vo"]["flashvars"].partnerId;
-			kse.widgetId = config["vo"]["flashvars"].id;
-			kse.uiconfId = config["vo"].flashvars.uiConfId;
+			kse.partnerId = _flashvars.partnerId;
+			kse.widgetId = _flashvars.id;
+			kse.uiconfId = _flashvars.uiConfId;
 			// this is where we choose the entry to report on
-			if ((facade.retrieveProxy("mediaProxy"))["vo"].entry.id)
-				kse.entryId = (facade.retrieveProxy("mediaProxy"))["vo"].entry.id;
+			if (_mediaProxy.vo.entry.id)
+				kse.entryId = _mediaProxy.vo.entry.id;
 			kse.clientVer = "3.0:" + facade["kdpVersion"];
 			var dt:Date = new Date();
 			kse.eventTimestamp = dt.time + dt.timezoneOffset - dt.timezoneOffset * 60; // milisec UTC + users timezone offset
@@ -209,20 +212,20 @@
 			}
 			kse.sessionId = config["vo"]["sessionId"];
 			kse.seek = _hasSeeked;
-			kse.referrer = config["vo"].flashvars.referer;
+			kse.referrer = _flashvars.referer;
 			if (!kse.referrer)
-				kse.referrer = config["vo"].flashvars.refferer;
+				kse.referrer = _flashvars.refferer;
 			// verify the the referrer is escaped once
 			kse.referrer = escape(unescape(kse.referrer));

-			if (config["vo"].flashvars.playbackContext)
-				kse.contextId = config["vo"].flashvars.playbackContext;
-			if (config["vo"].flashvars.originFeature)
-				kse.featureType = config["vo"].flashvars.originFeature;
-			if (config["vo"].flashvars.applicationName)
-				kse.applicationId = config["vo"].flashvars.applicationName;
-			if (config["vo"].flashvars.userId)
-				kse.userId = config["vo"].flashvars.userId;
+			if (_flashvars.playbackContext)
+				kse.contextId = _flashvars.playbackContext;
+			if (_flashvars.originFeature)
+				kse.featureType = _flashvars.originFeature;
+			if (_flashvars.applicationName)
+				kse.applicationId = _flashvars.applicationName;
+			if (_flashvars.userId)
+				kse.userId = _flashvars.userId;

 			return kse;
 		}
@@ -239,7 +242,7 @@
 			var percent:Number = 0;
 			var seekPercent:Number = 0;

-			if (_inDrag || _inFF) {
+			if (_inDrag || _inFF || _mediaProxy.vo.isLive) {
 				return int.MIN_VALUE;
 			}


fixed implementation of debug option "enableHistoryRewrite" false mode

--- WeaveCore/src/weave/core/SessionStateLog.as
+++ WeaveCore/src/weave/core/SessionStateLog.as
@@ -191,24 +191,34 @@
 				var backwardDiff:* = WeaveAPI.SessionManager.computeDiff(state, _prevState);
 				var oldEntry:LogEntry;
 				var newEntry:LogEntry;
-				if (_undoActive && enableHistoryRewrite)
+				if (_undoActive)
 				{
 					// To prevent new undo history from being added as a result of applying an undo, overwrite first redo entry.
 					// Keep existing delay/duration.
 					oldEntry = _redoHistory[0] as LogEntry;
 					newEntry = new LogEntry(_nextId++, backwardDiff, forwardDiff, oldEntry.triggerDelay, oldEntry.diffDuration);
-					_redoHistory[0] = newEntry;
+					if (enableHistoryRewrite)
+					{
+						_redoHistory[0] = newEntry;
+					}
+					else if (ObjectUtil.compare(oldEntry.forward, newEntry.forward) != 0)
+					{
+						_redoHistory.unshift(newEntry);
+					}
 				}
 				else
 				{
 					newEntry = new LogEntry(_nextId++, forwardDiff, backwardDiff, _triggerDelay, diffDuration);
-					if (_redoActive && enableHistoryRewrite)
+					if (_redoActive)
 					{
 						// To prevent new undo history from being added as a result of applying a redo, overwrite last undo entry.
 						// Keep existing delay/duration.
 						oldEntry = _undoHistory.pop() as LogEntry;
 						newEntry.triggerDelay = oldEntry.triggerDelay;
 						newEntry.diffDuration = oldEntry.diffDuration;
+
+						if (!enableHistoryRewrite && ObjectUtil.compare(oldEntry.forward, newEntry.forward) == 0)
+							newEntry = oldEntry; // keep old entry
 					}
 					// save new undo entry
 					_undoHistory.push(newEntry);


Transferred from the Adobe Open Source Subversion Repository

Revision: 18161
Author:   chiedozi@adobe.com
Date:     2010-10-14T23:15:44.404213Z

Log Message:
-----------
The ViewNavigator components now manage their orientation internally based on the stage width and height.  The landscapeOrientation property has been removed from all the components.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/View.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedMobileApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewMenu.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileApplicationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Application.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigatorApplication.as
+++ frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigatorApplication.as
@@ -293,15 +293,6 @@
     /**
      *  @private
      */
-    override protected function orientationChangeHandler(event:StageOrientationEvent):void
-    {
-        if (navigator)
-            navigator.landscapeOrientation = landscapeOrientation;
-    }
-
-    /**
-     *  @private
-     */
     // TODO (chiedozi): PARB
     override protected function persistApplicationState():void
     {
@@ -355,7 +346,6 @@
             var newNavigatorProperties:uint = 0;

             navigator.creationPolicy = _explicitCreationPolicy;
-            navigator.landscapeOrientation = landscapeOrientation;

             if (navigatorProperties.navigators !== undefined)
             {


FLEX-34119 Simplified two if statements, removed an unused variable, and removed Duplicate variable definition warnings in HierarchicalCollectionViewCursor.

--- frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as
+++ frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as
@@ -91,11 +91,7 @@
         modelCursor = model.createCursor();

         //check to see if the model has more than one top level items
-        if (model.length > 1)
-            more = true;
-        else
-            more = false;
-
+        more = model.length > 1;
     }

     //--------------------------------------------------------------------------
@@ -1061,10 +1057,7 @@
         // let it throw an IPE, the classes using this cursor will handle it
         modelCursor.seek(CursorBookmark.FIRST, 0);

-        if (model.length > 1)
-            more = true;
-        else
-            more = false;
+        more = model.length > 1;
         currentChildBookmark = CursorBookmark.FIRST;
         parentNodes = [];
         parentBookmarkStack = [];
@@ -1081,8 +1074,7 @@
         parentBookmarkStack = [];
         _currentDepth = 1;
         parentNodes = [];
-        var emptyBranch:Boolean = false;
-
+
         //first move to the end of the top level collection
         // let it throw an IPE, the classes using this cursor will handle it
         modelCursor.seek(CursorBookmark.LAST, 0);
@@ -1155,6 +1147,9 @@
         var parentOfCurrentNode:Object;
         var parentStack:Array = getParentStack(current);
         var isBefore:Boolean = false;
+        var parentOfChangingNodeIndex:int;
+        var isOurAncestorChanging:Boolean;
+        var bookmarkInChangingCollection:CursorBookmark;

         // remember the current parent
         parentOfCurrentNode = parentStack[parentStack.length - 1];
@@ -1199,15 +1194,15 @@
                         }
                     }
                     else {
-                        var parentOfChangingNodeIndex:int = parentStack.indexOf(parentOfChangingNode);
-                        var isOurAncestorChanging:Boolean = parentOfChangingNodeIndex != -1;
+                        parentOfChangingNodeIndex = parentStack.indexOf(parentOfChangingNode);
+                        isOurAncestorChanging = parentOfChangingNodeIndex != -1;
                         if (isOurAncestorChanging)
                         {
                             if (changingNodeAndSiblings != null)
                             {
                                 var changingNodeCollectionIndex:int = parentOfChangingNodeIndex + 1;
                                 changingCollectionCursor = changingNodeAndSiblings.createCursor();
-                                var bookmarkInChangingCollection:CursorBookmark = parentBookmarkStack[changingNodeCollectionIndex];
+                                bookmarkInChangingCollection = parentBookmarkStack[changingNodeCollectionIndex];
                                 try
                                 {
                                     changingCollectionCursor.seek(bookmarkInChangingCollection);
@@ -1278,15 +1273,15 @@
                         }
                     }
                     else {
-                        var parentOfChangingNodeIndex:int = parentStack.indexOf(parentOfChangingNode);
-                        var isOurAncestorChanging:Boolean = parentOfChangingNodeIndex != -1;
+                        parentOfChangingNodeIndex = parentStack.indexOf(parentOfChangingNode);
+                        isOurAncestorChanging = parentOfChangingNodeIndex != -1;
                         if (isOurAncestorChanging)
                         {
                             if (changingNodeAndSiblings != null)
                             {
                                 var changingNodeCollectionBookmarkIndex:int = parentOfChangingNodeIndex + 1;
                                 changingCollectionCursor = changingNodeAndSiblings.createCursor();
-                                var bookmarkInChangingCollection:CursorBookmark = parentBookmarkStack[changingNodeCollectionBookmarkIndex];
+                                bookmarkInChangingCollection = parentBookmarkStack[changingNodeCollectionBookmarkIndex];
                                 try
                                 {
                                     changingCollectionCursor.seek(bookmarkInChangingCollection);


* trace 更多信息

* trace 更多信息

--- age/src/age/assets/AvatarInfo.as
+++ age/src/age/assets/AvatarInfo.as
@@ -158,7 +158,7 @@
 			// id 不在 _list 中，这将返回 null
 			if (!(id in _list))
 			{
-				trace(id + " 不存在");
+				trace("[AvatarInfo.get]" + id + " 不存在");
 				return null;
 			}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 import mx.core.mx_internal;


Transferred from the Adobe Open Source Subversion Repository

Revision: 16822
Author:   deeptika@adobe.com
Date:     2010-07-07T06:16:32.586582Z

Log Message:
-----------
Removing deprecated API and their usage.

QE notes:
Doc notes:
Bugs: FLEXDMV-2463 (LineaSeries legendData marker are not working if the series has lineStroke to a SolidColorStroke)
FLEXDMV-2470 (Remove deprecation or Remove deprecated properties in charting)
Reviewer:
Tests run:
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/BarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_dmv/src/mx/automation/delegates/charts/CartesianChartAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/renderers/AreaRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/AreaChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/series/HLOCSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/series/LineSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/PlotChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/series/BubbleSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/series/ColumnSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation/src/mx/automation/tabularData/CartesianChartTabularData.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/CandlestickChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/HLOCChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/chartClasses/StackedSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/series/BarSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/LineChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/chartClasses/HLOCSeriesBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/chartClasses/CartesianChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/chartClasses/ChartBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/BubbleChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/series/AreaSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/chartClasses/PolarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/ColumnChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/series/PlotSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/renderers/HLOCItemRenderer.as</path>

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

--- frameworks/projects/charts/src/mx/charts/AreaChart.as
+++ frameworks/projects/charts/src/mx/charts/AreaChart.as
@@ -216,11 +216,7 @@
 			this.fill = new SolidColor(0xFFFFFF, 0);
 			this.calloutStroke = new Stroke(0x888888,2);
 			this.fontSize = 10;
-			this.horizontalAxisStyleName = "hangingCategoryAxis";
-			this.secondHorizontalAxisStyleName = "hangingCategoryAxis";
-			this.secondVerticalAxisStyleName = "blockNumericAxis";
 			this.textAlign = "left";
-			this.verticalAxisStyleName = "blockNumericAxis";
 			this.horizontalAxisStyleNames = ["hangingCategoryAxis"];
 			this.verticalAxisStyleNames = ["blockNumericAxis"];
 		}
@@ -316,26 +312,6 @@
 			}
 		}
 	}
-
-    //--------------------------------------------------------------------------
-    //
-    //  Overridden methods: CartesianChart
-    //
-    //--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 */
-	override protected function initSecondaryMode():void
-	{
-		super.initSecondaryMode();
-
-		if (!secondVerticalAxis)
-			secondVerticalAxis = new LinearAxis();
-
-		if (!secondVerticalAxisRenderer)
-			secondVerticalAxisRenderer = new AxisRenderer();
-	}
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 10633
Author:   dloverin@adobe.com
Date:     2009-09-28T13:24:30.559033Z

Log Message:
-----------
Use styleManager instance instead of StyleManager singleton (framework and compiler generated code)

Modified compiler generated style code for the FlexInit class. The style related changes are only available with the -keep option. AST generation is coming later.

Only the framework project is changed here. The other projects are will be changed soon.

QE notes: None.
Doc notes: None.
Bugs:
Reviewer: Alex and Paul
Tests run: checkintests, all Mustella tests(no new failures)
Is noteworthy for integration: no.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ButtonBarButtonSkin.as</path>
<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/containers/accordionClasses/AccordionHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/CanvasLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/configuration_en.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressIndeterminateSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DateChooserMonthArrowSkin.as</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/skins/halo/SliderThumbSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/DividedBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollThumbSkin.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/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleModule.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Form.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleManager2.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/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.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/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/TitleBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/NumericStepperDownSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PopUpButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/ProgrammaticSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/TabSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/textClasses/TextRange.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/LayoutContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/AccordionHeaderSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/CheckBoxIcon.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/NumericStepperUpSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/RadioButtonIcon.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/SetStyle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ComboBoxArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeaderBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/MenuBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressBarSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/BusyCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/Request.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.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/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/SliderTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DataGridHeaderBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SetStyleActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm</path>

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

--- frameworks/projects/mx/src/mx/containers/Accordion.as
+++ frameworks/projects/mx/src/mx/containers/Accordion.as
@@ -47,7 +47,6 @@
 import mx.managers.IFocusManagerComponent;
 import mx.managers.IHistoryManagerClient;
 import mx.styles.CSSStyleDeclaration;
-import mx.styles.StyleManager;

 use namespace mx_internal;

@@ -1513,7 +1512,7 @@
                 }
             }
         }
-        else if (StyleManager.isSizeInvalidatingStyle(styleProp))
+        else if (styleManager.isSizeInvalidatingStyle(styleProp))
         {
             layoutStyleChanged = true;
         }