Transferred from the Adobe Open Source Subversion Repository

Revision: 19882
Author:   klin@adobe.com
Date:     2011-01-21T23:44:21.816516Z

Log Message:
-----------
Add RTE for a runtimeDPIProvider that doesn't subclass RuntimeDPIProvider by trying to coerce the created instance to RuntimeDPIProvider. Also, factor out classifyDPI to an mx_internal method for tooling in RuntimeDPIProvider.

QE notes: No
Doc notes: No
Bugs: SDK-29168
Reviewer: Evtim
Tests run: checkintests
Is noteworthy for integration: Yes, FB

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/DensityUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/RuntimeDPIProvider.as</path>

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

--- frameworks/projects/framework/src/mx/core/RuntimeDPIProvider.as
+++ frameworks/projects/framework/src/mx/core/RuntimeDPIProvider.as
@@ -1,6 +1,10 @@
 package mx.core
 {
 import flash.system.Capabilities;
+
+import mx.core.mx_internal;
+
+use namespace mx_internal;

 /**
  *  The RuntimeDPIProvider class provides the default mapping of
@@ -57,15 +61,30 @@
      */
     public function get runtimeDPI():Number
     {
-        var dpi:Number = Capabilities.screenDPI;
-
+        return classifyDPI(Capabilities.screenDPI);
+    }
+
+    /**
+     *  @private
+     *  Matches the specified DPI to a DPIClassification value.
+     *  A number of devices can have slightly different DPI values and classifyDPI
+     *  maps these into the several DPI classes.
+     *
+     *  This method is specifically kept for Design View. Flex uses RuntimeDPIProvider
+     *  to calculate DPI classes.
+     *
+     *  @param dpi The DPI value.
+     *  @return The corresponding DPIClassification value.
+     */
+    mx_internal static function classifyDPI(dpi:Number):Number
+    {
         if (dpi < 200)
             return DPIClassification.DPI_160;

         if (dpi <= 280)
             return DPIClassification.DPI_240;

-        return DPIClassification.DPI_320;
+        return DPIClassification.DPI_320;
     }
 }
 }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/events/SWFBridgeRequest.as
+++ frameworks/projects/framework/src/mx/events/SWFBridgeRequest.as
@@ -26,6 +26,11 @@
  *  to return data back to the dispatching SWF.
  *
  *  @see flash.display.LoaderInfo#sharedEvents
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class SWFBridgeRequest extends Event
 {
@@ -44,6 +49,11 @@
 	 *  The data property contains an identifier for the pop up. It is not
 	 *  always an actual reference to the pop up. No data is
 	 *  returned.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
     public static const ACTIVATE_POP_UP_REQUEST:String = "activatePopUpRequest";

@@ -57,6 +67,11 @@
 	 *  always an actual reference to the pop up. The receiving
 	 *  SystemManager sets the request's data property to true if
 	 *  the pop up can be activated.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const CAN_ACTIVATE_POP_UP_REQUEST:String = "canActivateRequestPopUpRequest";

@@ -67,6 +82,11 @@
 	 *  The data property contains an identifier for the pop up.  It is not
 	 *  always an actual reference to the pop up.  No data is
 	 *  returned.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const DEACTIVATE_POP_UP_REQUEST:String = "deactivatePopUpRequest";

@@ -79,6 +99,11 @@
      *  in the data property which is a Rectangle
      *  in global coordinates.
      *
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const GET_VISIBLE_RECT_REQUEST:String = "getVisibleRectRequest";

@@ -90,6 +115,11 @@
 	 *  is a reference to the DisplayObject. The receiving
 	 *  SystemManager sets the request's data property to true if
 	 *  the DisplayObject is a child of the SWF or one of its child SWFs.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const IS_BRIDGE_CHILD_REQUEST:String = "isBridgeChildRequest";

@@ -99,6 +129,11 @@
 	 *  a SystemManager to its parent SystemManager.  The data property
 	 *  is a combination of InvalidationRequestData flags. No data is
 	 *  returned.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const INVALIDATE_REQUEST:String = "invalidateRequest";

@@ -107,6 +142,11 @@
 	 *  when over this application. This request is sent to the bridge that is shared with
 	 *  the parent application and propagated up to the top-level root.
 	 *  The data property is not used
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const HIDE_MOUSE_CURSOR_REQUEST:String = "hideMouseCursorRequest";

@@ -115,6 +155,11 @@
 	 *  current location. Sent to the bridge shared with
 	 *  the parent application and propagated up to the top-level root.
      *  The data is set to true if the mouse cursor should be shown at this location
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const SHOW_MOUSE_CURSOR_REQUEST:String = "showMouseCursorRequest";

@@ -124,18 +169,33 @@
 	 *  should be shown or hidden. This request is sent to the bridge shared with
 	 *  the parent application and propagated up to the top-level root.
 	 *  The data property is not used
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const RESET_MOUSE_CURSOR_REQUEST:String = "resetMouseCursorRequest";

 	/**
 	 *  Sent from the top-level focus manager to a subordinate focus managers
 	 *  so all the focus managers participating in a tab loop get activated.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const ACTIVATE_FOCUS_REQUEST:String = "activateFocusRequest";

 	/**
 	 *  Sent from the top-level focus manager to a subordinate focus managers
 	 *  so all the focus managers participating in a tab loop get deactivated.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const DEACTIVATE_FOCUS_REQUEST:String = "deactivateFocusRequest";

@@ -148,6 +208,11 @@
 	 *  property is set to FocusDirection.FORWARD or FocusDirection.BACKWARD.
      *  When focus is moved to a child SWFs FocusManager, the direction
 	 *  property is set to FocusDirection.TOP or FocusDirection.BOTTOM.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const MOVE_FOCUS_REQUEST:String = "moveFocusRequest";

@@ -163,6 +228,11 @@
      *  describes the area to exclude from the modal window. The coordinates
      *  of the Rectangle are in global coordinates. The parameter will only be present when
      *  the requestor trusts the recipient of the request.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const CREATE_MODAL_WINDOW_REQUEST:String = "createModalWindowRequest";

@@ -177,6 +247,11 @@
      *  describes the area to exclude based on the current parent. The coordinates
      *  are in screen coordinates. The parameter will only be present when
      *  the requestor trusts the recipient of the message.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const SHOW_MODAL_WINDOW_REQUEST:String = "showModalWindowRequest";

@@ -187,6 +262,11 @@
      *  removed from the display lists as well as hidden. A value of true
      *  removes the modal window. A value of false hides only the
      *  modal window.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const HIDE_MODAL_WINDOW_REQUEST:String = "hideModalWindowRequest";

@@ -195,11 +275,21 @@
      	 *  The request is not honored by the targeted application unless there
      	 *  is mutual trust between the dispatching and receiving applications.
 	 *
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const ADD_POP_UP_REQUEST:String = "addPopUpRequest";

 	/**
 	 *  Removes a popup from the sandboxRoot's SystemManager.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const REMOVE_POP_UP_REQUEST:String = "removePopUpRequest";

@@ -209,12 +299,22 @@
          *  by a child that trusts it.
 	 *  A placeholder is sent to the top-level root SystemManager
          *  so activation and deactivation of all the pop ups can be managed there.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const ADD_POP_UP_PLACE_HOLDER_REQUEST:String =
 				"addPopUpPlaceHolderRequest";

 	/**
 	 *  Removes a placeholder.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const REMOVE_POP_UP_PLACE_HOLDER_REQUEST:String =
 				"removePopUpPlaceHolderRequest";
@@ -224,6 +324,11 @@
 	 *  Dispatched by the SWFLoader control to the child SystemManager
 	 *  to get the size of its content. The child SystemManager
 	 *  updates the width and height properties in the event object
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const GET_SIZE_REQUEST:String = "getSizeRequest";

@@ -232,6 +337,11 @@
 	 *  Dispatched by the SWFLoader control to the child SystemManager. The child
 	 *  SystemManager should update the size of its children
 	 *  based on the width and height properties in the event object
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const SET_ACTUAL_SIZE_REQUEST:String = "setActualSizeRequest";

@@ -242,6 +352,11 @@
      *  sent from the FocusManager that has its showFocusIndicator
      *  property set. From there the request is relayed to each FocusManager in
      *  the system.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const SET_SHOW_FOCUS_INDICATOR_REQUEST:String = "setShowFocusIndicatorRequest";

@@ -258,6 +373,11 @@
      *  @param event A SWFBridgeRequest which may have been created in a different ApplicationDomain.
      *
      *  @return A SWFBridgeRequest created in the caller's ApplicationDomain.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function marshal(event:Event):SWFBridgeRequest
     {
@@ -287,6 +407,11 @@
 	 *  @param requestor The bridge that sent the message.
 	 *
 	 *  @param data Data related to the event.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function SWFBridgeRequest(type:String, bubbles:Boolean = false,
                                          cancelable:Boolean = false,
@@ -311,6 +436,11 @@

 	/**
 	 *  Data related to the event. For information on how this object is used, see each event type.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var data:Object;

@@ -322,6 +452,11 @@
 	 *  The bridge that sent the message.
          *  This in used by the receiving SWF to track which SWFLoader
 	 *  holds the requesting SWF
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var requestor:IEventDispatcher;


Transferred from the Adobe Open Source Subversion Repository

Revision: 21593
Author:   aharui@adobe.com
Date:     2011-07-16T04:39:08.938529Z

Log Message:
-----------
Optimize Advanced CSS selector lookup.  Selectors are sorted into categories as they are registered so we can do quick elimination of some categories of selectors.

QE notes: New API in IAdvancedStyleClient
Doc notes: New API in IAdvancedStyleClient
Bugs: SDK-29880
Reviewer: Peter F
Tests run: Mustella Cyclone
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/styles/StyleProxy.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/styles/IStyleManager2.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>

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

--- frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as
+++ frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as
@@ -139,6 +139,15 @@
     //
     //--------------------------------------------------------------------------

+    /**
+     *  @private
+     *  Used to assign the selectorIndex in CSSStyleDeclaration so we can track
+     *  the order they were added to the StyleManager.
+     *  MatchStyleDeclarations has to return the declarations in the order
+     *  they were declared
+     */
+    private var selectorIndex:int = 0;
+
     /**
      *  @private
      */
@@ -657,9 +666,15 @@
         return false;
     }

+    private static var propNames:Array = ["class", "id", "pseudo", "unconditional"];
+
     /**
      *  Retrieve all style declarations applicable to this subject. The subject
-     *  is the right most simple type selector in a selector chain.
+     *  is the right most simple type selector in a selector chain. Returns a
+     *  map of selectors with four properties: class for class selectors,
+     *  id for id selectors, pseudo for pseudo selectors and unconditional
+     *  for selectors without conditions
+     *
      *
      *  @param subject The subject of the style declaration's selector.
      *
@@ -668,7 +683,7 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function getStyleDeclarations(subject:String):Array // of CSSStyleDeclaration
+    public function getStyleDeclarations(subject:String):Object
     {
         // For Flex 3 and earlier, if we were passed a subject with a package
         // name, such as "mx.controls.Button", strip off the package name
@@ -683,23 +698,29 @@
             }
         }

-        // NOTE: It's important the the parent declarations come before this style
+        // NOTE: It's important the parent declarations come before this style
         // manager's styles because the order here is the order they are added to the
         // prototype chain.
-        var theSubjects:Array = null;
+        var theSubjects:Object = null;

         if (parent)
             theSubjects = parent.getStyleDeclarations(subject);

+        var subjectsObject:Object = _subjects[subject];
         if (!theSubjects)
         {
-            theSubjects = _subjects[subject] as Array;
-        }
-        else
-        {
-            var subjectsArray:Array = _subjects[subject] as Array;
-            if (subjectsArray)
-                theSubjects = theSubjects.concat(subjectsArray);
+            if (subjectsObject)
+                theSubjects = subjectsObject;
+        }
+        else if (subjectsObject)
+        {
+            var mergedSubjects:Object = {};
+            for each (var prop:String in propNames)
+            {
+                mergedSubjects[prop] = subjectsObject[prop];
+            }
+            mergedSubjects.parent = theSubjects;
+            theSubjects = mergedSubjects;
         }

         return theSubjects;
@@ -873,6 +894,7 @@

         // Populate the selectors Array for this style declaration
         styleDeclaration.selectorRefCount++;
+        styleDeclaration.selectorIndex = selectorIndex++;
         _selectors[selector] = styleDeclaration;

         // We also index by subject to help match advanced selectors
@@ -912,15 +934,25 @@

         if (subject != null)
         {
-            var declarations:Array = _subjects[subject] as Array;
+            // determine the kind of selector and add it to the appropriate
+            // bin of selectors for this subject
+            var kind:String = styleDeclaration.selector.conditions ?
+                    styleDeclaration.selector.conditions[0].kind :
+                    "unconditional";
+            var declarations:Object = _subjects[subject];
             if (declarations == null)
             {
-                declarations = [styleDeclaration];
+                declarations = {};
+                declarations[kind] = [styleDeclaration];
                 _subjects[subject] = declarations;
             }
             else
             {
-                declarations.push(styleDeclaration);
+                var declarationList:Array = declarations[kind] as Array;
+                if (declarationList == null)
+                    declarations[kind] = [styleDeclaration];
+                else
+                    declarationList.push(styleDeclaration);
             }
         }


also update _duration when receiving HLSEvent.MEDIA_TIME

--- src/org/mangui/chromeless/ChromelessPlayer.as
+++ src/org/mangui/chromeless/ChromelessPlayer.as
@@ -121,6 +121,7 @@

         private function _mediaTimeHandler(event : HLSEvent) : void {
             if (ExternalInterface.available) {
+                _duration = event.mediatime.duration;
                 _media_position = event.mediatime.position;
                 ExternalInterface.call("onPosition", event.mediatime.position, event.mediatime.duration, event.mediatime.live_sliding);
             }


CHANGED:added a empty Box2D world;

CHANGED:added a empty Box2D world;


Added missing field.

Added missing field.

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

--- src/as/com/threerings/presents/net/BootstrapData.as
+++ src/as/com/threerings/presents/net/BootstrapData.as
@@ -37,6 +37,9 @@
 public class BootstrapData
     implements Streamable
 {
+    /** The unique id of the client's connection. */
+    public var connectionId :int;
+
     /** The oid of this client's associated distributed object. */
     public var clientOid :int;

@@ -53,6 +56,7 @@
     // documentation inherited from interface Streamable
     public function readObject (ins :ObjectInputStream) :void
     {
+        connectionId = ins.readInt();
         clientOid = ins.readInt();
         services = (ins.readObject() as StreamableArrayList);
     }


Fixed bug where some panels may not be removed when loading a new session state.

--- WeaveCore/src/weave/core/LinkableHashMap.as
+++ WeaveCore/src/weave/core/LinkableHashMap.as
@@ -336,7 +336,7 @@
 		public function removeAllObjects():void
 		{
 			delayCallbacks();
-			for each (var name:String in getNames())
+			for each (var name:String in _orderedNames.concat()) // iterate over a copy of the list
 				removeObject(name);
 			resumeCallbacks();
 		}
@@ -460,10 +460,8 @@
 			if (removeMissingDynamicObjects)
 			{
 				// third pass: remove objects based on the Boolean flags in remainingObjects.
-				i = _orderedNames.length;
-				while (i--)
+				for each (objectName in _orderedNames.concat()) // iterate over a copy of the list
 				{
-					objectName = _orderedNames[i];
 					if (remainingObjects[objectName] !== true)
 					{
 						//trace(LinkableHashMap, "missing value: "+objectName);


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


Transferred from the Adobe Open Source Subversion Repository

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

--- frameworks/projects/framework/src/mx/effects/EffectManager.as
+++ frameworks/projects/framework/src/mx/effects/EffectManager.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.effects
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 8103
Author:   smgilson@adobe.com
Date:     2009-06-23T18:27:49.232778Z

Log Message:
-----------
Fix for FLEXDOCS-501

QE Notes: None
Doc Notes: None
Bugs: - FLEXDOCS-501
checkintests - passed

Modified Paths:
--------------
<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/controls/TileList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>

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

--- frameworks/projects/spark/src/spark/components/Application.as
+++ frameworks/projects/spark/src/spark/components/Application.as
@@ -55,7 +55,7 @@

 /**
  *  Dispatched when an error occurs anywhere in the application,
- *  such as when an HTTPService, WebService, or RemoteObject fails.
+ *  or when an HTTPService call fails.
  *
  *  @eventType flash.events.ErrorEvent.ERROR
  *
@@ -793,10 +793,10 @@
         if (sm.isTopLevel())
         {
             focusManager = new FocusManager(this);
-			var awm:IActiveWindowManager =
-				IActiveWindowManager(sm.getImplementation("mx.managers::IActiveWindowManager"));
-			if (awm)
-           		awm.activate(this);
+            var awm:IActiveWindowManager =
+                IActiveWindowManager(sm.getImplementation("mx.managers::IActiveWindowManager"));
+            if (awm)
+                awm.activate(this);
             else
                 focusManager.activate();
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 16720
Author:   dloverin@adobe.com
Date:     2010-06-29T17:33:54.284541Z

Log Message:
-----------
Integrate OSMF 1.0 source and add http streaming capability to VideoDisplay.

QE notes: Many fragile tests that broke were fixed. A few more half-pixel off failures in mustella VideoPlayer tests need to be investigated.
Doc notes: None.
Bugs: none.
Reviewer: Ryan
Tests run: checkintests, VideoDisplay, VideoPlayer
Is noteworthy for integration: Yes.

Modified Paths:
--------------
415 paths were modified

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

--- frameworks/projects/spark/src/spark/components/VideoPlayer.as
+++ frameworks/projects/spark/src/spark/components/VideoPlayer.as
@@ -1909,6 +1909,7 @@
      */
     public function play():void
     {
+        //trace("play");
         videoDisplay.play();
     }

@@ -1961,7 +1962,7 @@

         // if streaming, then we pretend to have everything in view
         // if progressive, then look at the bytesLoaded and bytesTotal
-        if (!videoDisplay.videoPlayer.downloadable)
+        if (!videoDisplay.videoPlayer.canLoad)
             scrubBar.loadedRangeEnd = videoDisplay.duration;
         else if (videoDisplay.bytesTotal == 0)
             scrubBar.loadedRangeEnd = 0;
@@ -2092,6 +2093,8 @@

         if (playPauseButton)
             playPauseButton.selected = playing;
+
+        //trace("mediaPlayerStateChangeHandler " + event + " state = " + event.state + " playing = " + playing);

         dispatchEvent(event);
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 7448
Author:   jszeto@adobe.com
Date:     2009-05-29T21:11:34.571514Z

Log Message:
-----------
http://bugs.adobe.com/jira/browse/SDK-18373 - Defaults for some properties of Flex graphics classes do not match defaults in FXG xsd

Updated SolidColorStroke, GradientStroke, LinearGradientStroke and RadialGradientStroke with new default values. This shouldn't change the default behavior for caps and joints because the Player defaults to "round" if the value is null.

Updated GlowFilter and GradientGlowFilter

http://bugs.adobe.com/jira/browse/SDK-21493 - BitmapImage resizeMode default value is repeat should be normal

Updated the ASDoc comments to set default to "repeat"

QE Notes: None
Doc Notes: I made lots of small ASDoc changes
Bugs: SDK-18373, SDK-21493
Reviewer: Deepa

Modified Paths:
--------------
<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/graphics/LinearGradientStroke.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/filters/GradientGlowFilter.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/flex4/src/spark/filters/GlowFilter.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/BitmapImage.as
+++ frameworks/projects/spark/src/spark/primitives/BitmapImage.as
@@ -175,7 +175,7 @@
      *  When set to BitmapImageResizeMode.SCALE ("scale"), the bitmap
      *  stretches to fill the region.
      *
-     *  @default BitmapImageResizeMode.NORMAL
+     *  @default BitmapImageResizeMode.REPEAT
      *
      *  @langversion 3.0
      *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 6306
Author:   egeorgie@adobe.com
Date:     2009-04-28T01:17:42.359155Z

Log Message:
-----------
Layout PARB changes - rename "layout" package to "layouts"

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer:
tests: checkintests

Modified Paths:
--------------
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/BasicLayout.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/BasicLayout.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LayoutElementHelper.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LayoutElementHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/RowAlign.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/RowAlign.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/Block.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/Block.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/VerticalAlign.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/VerticalAlign.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LinearLayoutVector.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LinearLayoutVector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBarHorizontalLayout.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/HorizontalLayout.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/HorizontalLayout.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HGroup.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/TileLayout.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RichEditableText2.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollerLayout.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LayoutBase.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/HorizontalAlign.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/HorizontalAlign.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VGroup.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/VerticalLayout.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/ColumnAlign.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/ColumnAlign.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/TileOrientation.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/TileOrientation.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
@@ -39,8 +39,8 @@
 import mx.events.PropertyChangeEventKind;
 import spark.events.RendererExistenceEvent;
 import spark.core.MaskType;
-import spark.layout.BasicLayout;
-import spark.layout.supportClasses.LayoutBase;
+import spark.layouts.BasicLayout;
+import spark.layouts.supportClasses.LayoutBase;
 import mx.utils.MatrixUtil;

 use namespace mx_internal;
@@ -135,7 +135,7 @@
  *  A group component does not control the layout of the visual items that it contains.
  *  Instead, the layout is handled by a separate layout component.
  *
- *  @see spark.layout.supportClasses.LayoutBase
+ *  @see spark.layouts.supportClasses.LayoutBase
  *  @see spark.components.ResizeMode
  *
  *  @langversion 3.0
@@ -208,7 +208,7 @@
      *  This object is responsible for the measurement and layout of
      *  the visual elements in the container.
      *
-     *  @default spark.layout.BasicLayout
+     *  @default spark.layouts.BasicLayout
      *
      *  @see LayoutBase
      *


Transferred from the Adobe Open Source Subversion Repository

Revision: 11446
Author:   dsubrama@adobe.com
Date:     2009-11-05T00:02:15.984691Z

Log Message:
-----------
Bugfixes, ASDoc entries and PARB changes for FXG 2.0.

1.) PARB-mandated change. The shader classes have moved from spark.primtives.shaders to spark.primitives.supportClasses.shaders
2.) Fix for http://bugs.adobe.com/jira/browse/SDK-23949 - If luminosityClip or luminosityInvert changes dynamically on a Group or GraphicElement, we recalculate the luminosity mask shader filter's mode and reapply the filter.
3.) AsDoc entries for Group.luminosityClip, Group.luminosityInvert, Group.maskType, GraphicElement.luminosityClip, GraphicElement.luminosityInvert, GraphicElement.maskType and MaskType.CLIP (SDK-23843, SDK-23773)

QE notes: None, regress
Doc notes: Can you give the ASDoc entries a once-over?
Bugs: SDK-23949, SDK-23843, SDK-23773
Reviewer: Evtim
Tests run: FXG static and runtime
Is noteworthy for integration: Yes - package changes for the shader classes may affect tools

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="dir" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders" copyfrom-rev="11377" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/shaders</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/SparkClasses.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ExclusionShader.as" copyfrom-rev="11445" action="R">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/shaders/ExclusionShader.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/Saturation.pbj" copyfrom-rev="11445" action="R">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/shaders/Saturation.pbj</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexFXG2SWFTranscoder.java</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/LuminosityShader.as" copyfrom-rev="11445" action="R">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/shaders/LuminosityShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ColorShader.as" copyfrom-rev="11445" action="R">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/shaders/ColorShader.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/LuminosityMaskFilter.pbj" copyfrom-rev="11445" action="R">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/shaders/LuminosityMaskFilter.pbj</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/MaskType.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ColorDodgeShader.as" copyfrom-rev="11445" action="R">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/shaders/ColorDodgeShader.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/HueShader.as" copyfrom-rev="11445" action="R">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/shaders/HueShader.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/SoftLight.pbj" copyfrom-rev="11445" action="R">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/shaders/SoftLight.pbj</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ColorBurn.pbj" copyfrom-rev="11445" action="R">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/shaders/ColorBurn.pbj</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/LuminosityMaskShader.as" copyfrom-rev="11445" action="R">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/shaders/LuminosityMaskShader.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/SaturationShader.as" copyfrom-rev="11445" action="R">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/shaders/SaturationShader.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/Exclusion.pbj" copyfrom-rev="11445" action="R">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/shaders/Exclusion.pbj</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/Luminosity.pbj" copyfrom-rev="11445" action="R">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/shaders/Luminosity.pbj</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/Color.pbj" copyfrom-rev="11445" action="R">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/shaders/Color.pbj</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/Hue.pbj" copyfrom-rev="11445" action="R">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/shaders/Hue.pbj</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ColorDodge.pbj" copyfrom-rev="11445" action="R">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/shaders/ColorDodge.pbj</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/SoftLightShader.as" copyfrom-rev="11445" action="R">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/shaders/SoftLightShader.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ColorBurnShader.as" copyfrom-rev="11445" action="R">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/shaders/ColorBurnShader.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
@@ -16,7 +16,7 @@
 import flash.display.Sprite;
 import flash.events.Event;
 import flash.events.MouseEvent;
-import flash.filters.ShaderFilter;
+import flash.filters.ShaderFilter;
 import flash.geom.Rectangle;

 import mx.core.IVisualElement;
@@ -30,7 +30,7 @@
 import spark.events.DisplayLayerObjectExistenceEvent;
 import spark.layouts.BasicLayout;
 import spark.layouts.supportClasses.LayoutBase;
-import spark.primitives.shaders.LuminosityMaskShader;
+import spark.primitives.supportClasses.shaders.LuminosityMaskShader;

 use namespace mx_internal;

@@ -1009,6 +1009,8 @@
      */
     override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
     {
+		var shaderFilter:ShaderFilter;
+
         if (_resizeMode == ResizeMode.SCALE)
         {
             unscaledWidth = measuredWidth;
@@ -1039,6 +1041,31 @@
                 }
             }
         }
+
+		if (luminositySettingsChanged)
+		{
+			luminositySettingsChanged = false;
+
+			if (_mask && _maskType == MaskType.LUMINOSITY && _mask.filters.length > 0)
+			{
+				// Grab the shader filter and clear out the mask
+				shaderFilter = _mask.filters[0];
+
+				if (shaderFilter && (shaderFilter.shader is LuminosityMaskShader))
+				{
+					// Clear out the mask's filters because we could potentially
+					// have a rendering change by setting the mode dynamically
+					// while the filters have been set.
+					_mask.filters = [];
+
+					// Reset the mode property
+					LuminosityMaskShader(shaderFilter.shader).mode = calculateLuminositySettings();
+
+					// Re-apply the filter to the mask
+					_mask.filters = [shaderFilter];
+				}
+			}
+		}

         if (maskTypeChanged)
         {
@@ -1061,33 +1088,25 @@
                 }
 				else if (_maskType == MaskType.LUMINOSITY)
 				{
-					// Sets up the mask's mode property based on
-					// whether the luminosityClip and
-					// luminosityInvert properties are on or off.
-					var mode:int;
-					if (luminosityClip && !luminosityInvert)
-						mode = 0;
-					if (luminosityClip && luminosityInvert)
-						mode = 1;
-					if (!luminosityClip && !luminosityInvert)
-						mode = 2;
-					if (!luminosityClip && luminosityInvert)
-						mode = 3;
-
 					_mask.cacheAsBitmap = true;
 					cacheAsBitmap = true;

-					// Create the luminosityMask shader, apply the correct mode to it,
-					// and create the filter
+					// Create the shader class which wraps the pixel bender filter
 					var luminosityMaskShader:LuminosityMaskShader = new LuminosityMaskShader();
-					luminosityMaskShader.mode = mode;
-					var maskFilter:ShaderFilter = new ShaderFilter(luminosityMaskShader);

-					// Apply the filter to the mask
-					_mask.filters = [maskFilter];
+					// Sets up the shader's mode property based on
+					// whether the luminosityClip and
+					// luminosityInvert properties are on or off.
+					luminosityMaskShader.mode = calculateLuminositySettings();
+
+					// Create the shader filter
+					shaderFilter = new ShaderFilter(luminosityMaskShader);
+
+					// Apply the shader filter to the mask
+					_mask.filters = [shaderFilter];
 				}
             }
-        }
+        }

         if (layoutInvalidateDisplayListFlag)
         {
@@ -1099,6 +1118,26 @@
                 _layout.updateScrollRect(unscaledWidth, unscaledHeight);
         }
     }
+
+	/**
+	 *  @private
+	 *  Calculates the luminosity mask shader's mode property which
+	 *  determines how the shader is drawn.
+	 */
+	private function calculateLuminositySettings():int
+	{
+		var mode:int = -1;
+
+		if (luminosityClip && !luminosityInvert)
+			mode = 0;
+		if (luminosityClip && luminosityInvert)
+			mode = 1;
+		if (!luminosityClip && !luminosityInvert)
+			mode = 2;
+		if (!luminosityClip && luminosityInvert)
+			mode = 3;
+		return mode;
+	}

     /**
      *  @private
@@ -1526,11 +1565,38 @@
     private var originalMaskFilters:Array;

     /**
-     *  The mask type.
-     *  Possible values are MaskType.CLIP and MaskType.ALPHA
-	 *  or MaskType.LUMINOSITY.
+     *
The mask type. Possible values are MaskType.CLIP, MaskType.ALPHA
+	 *  or MaskType.LUMINOSITY.

      *
-     *
The default value is MaskType.CLIP, corresponding to "clip".

+	 *
Clip Masking

+     *
+     *
When masking in clip mode, a clipping masks is reduced to 1-bit.  This means that a mask will
+     *  not affect the opacity of a pixel in the source content; it either leaves the value unmodified,
+     *  if the corresponding pixel in the mask is has a non-zero alpha value, or makes it fully
+     *  transparent, if the mask pixel value has an alpha value of zero.

+	 *
+	 *
Alpha Masking

+     *
+     *
In alpha mode, the opacity of each pixel in the source content is multiplied by the opacity
+     *  of the corresponding region of the mask.  i.e., a pixel in the source content with an opacity of
+     *  1 that is masked by a region of opacity of .5 will have a resulting opacity of .5.  A source pixel
+     *  with an opacity of .8 masked by a region with opacity of .5 will have a resulting opacity of .4.

+	 *
+	 *
Luminosity Masking

+     *
+	 *
A luminosity mask, sometimes called a 'soft mask', works very similarly to an alpha mask
+	 *  except that both the opacity and RGB color value of a pixel in the source content is multiplied
+	 *  by the opacity and RGB color value of the corresponding region in the mask.

+	 *
+	 *
Luminosity masking is not native to Flash but is common in Adobe Creative Suite tools like Adobe
+	 *  Illustrator and Adobe Photoshop. In order to accomplish the visual effect of a luminosity mask in
+	 *  Flash-rendered content, a graphic element specifying a luminosity mask actually instantiates a shader
+	 *  filter that mimics the visual look of a luminosity mask as rendered in Adobe Creative Suite tools.

+	 *
+	 *
Objects being masked by luminosity masks can set properties to control the RGB color value and
+	 *  clipping of the mask. See the luminosityInvert and luminosityClip attributes.

+	 *
+     *  @default MaskType.CLIP
      *
      *  @see  spark.core.MaskType
      *
@@ -1570,18 +1636,26 @@
     /**
      *  @private
      */
-    private var luminosityInvertChanged:Boolean;
+    private var luminositySettingsChanged:Boolean;

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

-    /**
-     *  Documentation is not currently available.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
+	/**
+	 *  A property that controls the calculation of the RGB
+	 *  color value of a graphic element being masked by
+	 *  a luminosity mask. If true, the RGB color value of a
+	 *  pixel in the source content is inverted and multipled
+	 *  by the corresponding region in the mask. If false,
+	 *  the source content's pixel's RGB color value is used
+	 *  directly.
+	 *
+	 *  @default false
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10
+	 *  @playerversion AIR 1.5
+	 *  @productversion Flex 4
+	 */
     public function get luminosityInvert():Boolean
     {
         return _luminosityInvert;
@@ -1596,6 +1670,8 @@
             return;

         _luminosityInvert = value;
+		luminositySettingsChanged = true;
+		invalidateDisplayList();
     }

 	//----------------------------------
@@ -1608,21 +1684,23 @@
      */
     private var _luminosityClip:Boolean = false;

-    /**
-     *  @private
-     */
-    private var luminosityClipChanged:Boolean;
-
     [Inspectable(category="General", enumeration="true,false", defaultValue="false")]

-    /**
-     *  Documentation is not currently available.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
+	/**
+	 *  A property that controls whether the luminosity
+	 *  mask clips the masked content. This property can
+	 *  only have an effect if the graphic element has a
+	 *  mask applied to it that is of type
+	 *  MaskType.LUMINOSITY.
+	 *
+	 *  @default false
+	 *  @see #maskType
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10
+	 *  @playerversion AIR 1.5
+	 *  @productversion Flex 4
+	 */
     public function get luminosityClip():Boolean
     {
         return _luminosityClip;
@@ -1637,6 +1715,8 @@
             return;

         _luminosityClip = value;
+		luminositySettingsChanged = true;
+		invalidateDisplayList();
     }

    /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 146
Author:   gosmith@adobe.com
Date:     2008-01-09T22:31:52.812711Z

Log Message:
-----------
Updated the copyright notice in a few files that my sweep had missed.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RichTextEditor.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/DefaultTileListEffect.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/easing_readme.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/DefaultListEffect.mxml</path>

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

--- frameworks/projects/rpc/src/mx/core/Version.as
+++ frameworks/projects/rpc/src/mx/core/Version.as
@@ -1,12 +1,13 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  Copyright (C) 2003-2006 Adobe Macromedia Software LLC and its licensors.
-//  All Rights Reserved. The following is Source Code and is subject to all
-//  restrictions on such code as contained in the End User License Agreement
-//  accompanying this product.
+//  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.
 //
 ////////////////////////////////////////////////////////////////////////////////
-
 import mx.core.mx_internal;

 /**


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

--- frameworks/projects/advancedgrids/src/mx/olap/OLAPResultAxis.as
+++ frameworks/projects/advancedgrids/src/mx/olap/OLAPResultAxis.as
@@ -0,0 +1,115 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+
+import mx.collections.IList;
+import mx.collections.ArrayCollection;
+
+/**
+ *  The OLAPResultAxis class represents an axis of the result of an OLAP query.
+ *
+ *  @see mx.olap.OLAPQuery
+ *  @see mx.olap.OLAPQueryAxis
+ *  @see mx.olap.IOLAPResultAxis
+ *  @see mx.olap.IOLAPResult
+ *  @see mx.olap.OLAPResult
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class OLAPResultAxis implements IOLAPResultAxis
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    // positions
+    //----------------------------------
+
+    private var _positions:IList = new ArrayCollection; //of IOLAPAxisPositions
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get positions():IList
+    {
+        return _positions;
+    }
+
+    /**
+     *  @private
+     */
+    public function set positions(value:IList):void
+    {
+        _positions = value;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Adds a position to the axis of the query result.
+     *
+     *  @param p The IOLAPAxisPosition instance that represents the position.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function addPosition(p:IOLAPAxisPosition):void
+    {
+        _positions.addItem(p);
+    }
+
+    /**
+     *  Removes a position from the axis of the query result.
+     *
+     *  @param p The IOLAPAxisPosition instance that represents the position.
+     *
+     *  @return true if the position is removed from the axis,
+     *  and false if not.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function removePosition(p:IOLAPAxisPosition):Boolean
+    {
+        var index:int = _positions.getItemIndex(p);
+        if (index != -1)
+        {
+            _positions.removeItemAt(index);
+            return true;
+        }
+        return false;
+    }
+
+}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 18432
Author:   dloverin@adobe.com
Date:     2010-11-03T20:02:02.380580Z

Log Message:
-----------
Initial check-in for RSL Sharing Among Modules Feature

QE notes: testable but not PARB'd
Doc notes: None.
Bugs: SDK-27917
Reviewer: Alex
Tests run: cylone server, checkintests
Is noteworthy for integration: No.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/compiler/config/ConfigurationException_en.properties</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/ApplicationDomainTarget.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/configuration_en.properties</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/compiler/config/ConfigurationException.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/IFlexModuleFactory.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/compiler/common/RuntimeSharedLibrarySettingsConfiguration.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/RSLData.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/FlexModuleFactory.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/LoaderUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/RSLEvent.as</path>

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

--- frameworks/projects/framework/src/mx/core/IFlexModuleFactory.as
+++ frameworks/projects/framework/src/mx/core/IFlexModuleFactory.as
@@ -39,11 +39,17 @@
     //--------------------------------------------------------------------------

     /**
-     *  The RSLs loaded by this IFlexModuleFactory before the application
-     *  starts. RSLs loaded by the application are not included in this list.
+     *  The RSLs loaded by this SystemManager or FlexModuleFactory before the
+     *  application starts. This dictionary may also include RSLs loaded into this
+     *  module factory's application domain by other modules or
+     *  sub-applications. When a new dictionary entry is added by a child module
+     *  factory an RSLEvent.RSL_ADD_PRELOADED event is dispatched
+     *  by module factory owning the dictionary.
      *
-     *  Information about preloaded RSLs is stored in a Dictionary. The key is
-     *  the RSL's LoaderInfo. The value is the url the RSL was loaded from.
+     *  Information about preloadedRSLs is stored in a Dictionary. The key is
+     *  the RSL's LoaderInfo. The value is an Array of the RSL's RSLData. The
+     *  first element in the array is the primary RSL. The remaining entries
+     *  are failover RSLs.
      */
     function get preloadedRSLs():Dictionary;


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


LinkableWatcher warning only shown one frame later if condition still true

--- WeaveJS/src/weavejs/core/LinkableWatcher.as
+++ WeaveJS/src/weavejs/core/LinkableWatcher.as
@@ -205,7 +205,11 @@
 			_foundRoot = root != null;
 			if (!_foundRoot && !_warned)
 			{
-				JS.error("Warning: LinkableWatcher has a targetPath but has not been registered with an instance of Weave.");
+				var error:Error = new Error("LinkableWatcher has a targetPath but has not been registered with an instance of Weave");
+				WeaveAPI.Scheduler.callLater(this, function():void {
+					if (!_foundRoot && !Weave.getWeave(this))
+						JS.error("Warning:", error);
+				});
 				_warned = true;
 			}
 			var node:ILinkableObject = Weave.followPath(root, _targetPath);


updated description

updated description

Change-Id: I9c530fca78b5d7800609998b3500474ba4843a9e

--- WeaveAPI/src/weave/api/core/ISessionManager.as
+++ WeaveAPI/src/weave/api/core/ISessionManager.as
@@ -16,7 +16,7 @@
 package weave.api.core
 {
 	/**
-	 * This is a collection of static core functions for Weave.
+	 * Session manager contains core functions for Weave related to session state.
 	 *
 	 * @author adufilie
 	 */


Update Matrix4x4.as

Update Matrix4x4.as

fix bug at appendTranslation & prependTranslation

--- src/aerys/minko/type/math/Matrix4x4.as
+++ src/aerys/minko/type/math/Matrix4x4.as
@@ -347,7 +347,7 @@
                                                 y : Number = 0.,
                                                 z : Number = 0.) : Matrix4x4
 		{
-			_invalidComponents = COMPONENT_TRANSLATION;
+			_invalidComponents |= COMPONENT_TRANSLATION;
 			_matrix.appendTranslation(x, y, z);

 			TMP_VECTOR4.set(x, y, z);
@@ -407,7 +407,7 @@
                                                  y : Number	= 1.,
                                                  z : Number	= 1.) : Matrix4x4
 		{
-			_invalidComponents = COMPONENT_TRANSLATION;
+			_invalidComponents |= COMPONENT_TRANSLATION;
 			_matrix.prependTranslation(x, y, z);

 			_hasChanged = true;


set _bindingConsumer to null when the bindings are unset

--- src/aerys/minko/render/DrawCall.as
+++ src/aerys/minko/render/DrawCall.as
@@ -183,6 +183,8 @@

 			if (meshBindings.hasCallback('localToWorld', transformChangedHandler))
 				meshBindings.removeCallback('localToWorld', transformChangedHandler);
+
+            _bindingsConsumer = null;
 		}

 		private function setProgram(program : Program3DResource) : void


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

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

 package mx.graphics
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 2905
Author:   clucier@adobe.com
Date:     2008-08-19T20:45:59.993275Z

Log Message:
-----------
Changes to allow UIComponent to take advantage of the new bindable filters (bindable wrappers around DropShadowFilter, GlowFilter, etc. that will force the filter stack to be re-evaluated when one or more of the filter parameters change). Checkin-tests: PASS
Reviewer: Jason
Bugs: SDK-16311
QA: Yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Parser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/ConvolutionFilter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BaseDimensionFilter.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BaseDimensionFilter.as" copyfrom-rev="2873" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseDimensionFilter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/IBitmapFilter.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/IBitmapFilter.as" copyfrom-rev="2873" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IBitmapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/GradientGlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/BitmapGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/GradientFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BlurFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/DisplacementMapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/GlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BaseFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/DropShadowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/GradientBevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BaseFilter.as" copyfrom-rev="2873" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseFilter.as</path>

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

--- frameworks/projects/spark/src/spark/filters/ColorMatrixFilter.as
+++ frameworks/projects/spark/src/spark/filters/ColorMatrixFilter.as
@@ -2,6 +2,8 @@
 {
 import flash.filters.BitmapFilter;
 import flash.filters.ColorMatrixFilter;
+import mx.filters.BaseFilter;
+import mx.filters.IBitmapFilter;

 public class ColorMatrixFilter extends BaseFilter implements IBitmapFilter
 {


Updated link to custom map instructions.

--- flexEditor/src/org/arisgames/editor/view/CustomMapsEditorView.as
+++ flexEditor/src/org/arisgames/editor/view/CustomMapsEditorView.as
@@ -447,7 +447,7 @@

 		protected function handleInstructionsButton(event:MouseEvent):void
 		{
-			var loc:String = "https://docs.google.com/document/d/1A4QvrjyTlzstbWmUDrvI-CpYGYo9zMinIyX1z7EJfhE/"; //GWS: PUT INSTRUCTIONS ON GOOGLE DOC AND LINK TO IT HERE
+			var loc:String = "https://docs.google.com/document/d/1A4QvrjyTlzstbWmUDrvI-CpYGYo9zMinIyX1z7EJfhE/edit";
 			navigateToURL(new URLRequest(loc),"_blank");
 		}


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

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

 package mx.events
 {


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

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

 package mx.messaging.channels
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 19635
Author:   aharui@adobe.com
Date:     2011-01-07T00:25:18.039632Z

Log Message:
-----------
revert the layout changes from svn 18635.  Management feels that there isn't enough time to thoroughly test the changes.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/layoutClasses/PriorityQueue.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ScrollerLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/core/Application.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/SkinnableContainerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/primitives/BitmapImage.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/BasicLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/IconItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/supportClasses/LinearLayoutVector.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airspark/src/spark/components/Window.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/IContainerInvalidating.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/ILayoutManagerContainerClient.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/IStyleManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/ILayoutElement.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/spark/src/spark/components/gridClasses/GridLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/TextFieldGridItemRendererInclude.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/core/Container.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/LayoutManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.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@1265705 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as
@@ -11,17 +11,11 @@

 package spark.skins.mobile
 {
-import mx.core.IContainerInvalidating;
-import mx.core.ILayoutElement;
-import mx.core.mx_internal;
-import mx.managers.ILayoutManagerContainerClient;

 import spark.components.ActionBar;
 import spark.components.Group;
 import spark.components.ViewNavigator;
 import spark.skins.mobile.supportClasses.MobileSkin;
-
-use namespace mx_internal;

 /**
  *  The ActionScript-based skin for view navigators in mobile
@@ -105,39 +99,6 @@

     /**
      *  @private
-     */
-    override mx_internal function validateEstimatedSizesOfChild(child:ILayoutElement):void
-    {
-        var cw:Number;
-        var ch:Number;
-        var c:Number;
-        var oldcw:Number = child.estimatedWidth;
-        var oldch:Number = child.estimatedHeight;
-        // the child actionBar and contentGroup are
-        // constrained to the width of the skin, but their
-        // height is not constrained
-        cw = estimatedWidth;
-        if (isNaN(cw) && !isNaN(explicitWidth))
-            cw = explicitWidth;
-        ch = NaN;
-
-        child.setEstimatedSize(cw, ch);
-        if (child is ILayoutManagerContainerClient)
-        {
-            var sameWidth:Boolean = isNaN(cw) && isNaN(oldcw) || cw == oldcw;
-            var sameHeight:Boolean = isNaN(ch) && isNaN(oldch) || ch == oldch;
-            if (!(sameHeight && sameWidth))
-            {
-                if (child is IContainerInvalidating)
-                    IContainerInvalidating(child).invalidateEstimatedSizesOfChildren();
-                ILayoutManagerContainerClient(child).validateEstimatedSizesOfChildren();
-            }
-        }
-    }
-
-
-    /**
-     *  @private
      */
     override protected function measure():void
     {
@@ -179,8 +140,7 @@
         var actionBarHeight:Number = 0;

         // The action bar is always placed at 0,0 and stretches the entire
-        // width of the navigator.
-        // If this changes, also update validateEstimatedSizesOfChild
+        // width of the navigator
         if (actionBar.includeInLayout)
         {
             actionBarHeight = Math.min(actionBar.getPreferredBoundsHeight(), unscaledHeight);


Transferred from the Adobe Open Source Subversion Repository

Revision: 19242
Author:   aharui@adobe.com
Date:     2010-12-09T22:27:31.442236Z

Log Message:
-----------
Disable MEASURED_SIZE_PRELIMINARY if icon not used.  All fix up propagation of estimatedSizes

QE notes: none
Doc notes: none
Bugs: SDK-28658
Reviewer: Evtim
Tests run: checkintests mustella full run
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/IconItemRenderer.as</path>
<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/mx/src/mx/core/Application.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/airspark/src/spark/components/Window.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorApplicationSkin.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@1265701 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as
@@ -11,9 +11,14 @@

 package spark.skins.mobile
 {
+import mx.core.IContainerInvalidating;
+import mx.core.ILayoutElement;
+import mx.core.mx_internal;
 import mx.effects.IEffect;
 import mx.states.State;
 import mx.states.Transition;
+import mx.managers.ILayoutManagerContainerClient;
+use namespace mx_internal;

 import spark.components.ActionBar;
 import spark.components.ButtonBar;
@@ -116,14 +121,38 @@
         }
     }

-	/**
-	 *  @private
-	 */
-	override public function validateEstimatedSizesOfChildren():void
-	{
-		actionBar.setEstimatedSize(estimatedWidth, NaN);
-		contentGroup.setEstimatedSize(estimatedWidth, NaN);
-	}
+    /**
+     *  @private
+     */
+    override mx_internal function validateEstimatedSizesOfChild(child:ILayoutElement):void
+    {
+        var cw:Number;
+        var ch:Number;
+        var c:Number;
+        var oldcw:Number = child.estimatedWidth;
+        var oldch:Number = child.estimatedHeight;
+        // the child actionBar and contentGroup are
+        // constrained to the width of the skin, but their
+        // height is not constrained
+        cw = estimatedWidth;
+        if (isNaN(cw) && !isNaN(explicitWidth))
+            cw = explicitWidth;
+        ch = NaN;
+
+        child.setEstimatedSize(cw, ch);
+        if (child is ILayoutManagerContainerClient)
+        {
+            var sameWidth:Boolean = isNaN(cw) && isNaN(oldcw) || cw == oldcw;
+            var sameHeight:Boolean = isNaN(ch) && isNaN(oldch) || ch == oldch;
+            if (!(sameHeight && sameWidth))
+            {
+                if (child is IContainerInvalidating)
+                    IContainerInvalidating(child).invalidateEstimatedSizesOfChildren();
+                ILayoutManagerContainerClient(child).validateEstimatedSizesOfChildren();
+            }
+        }
+    }
+

     /**
      *  @private
@@ -157,7 +186,8 @@
         var actionBarHeight:Number = 0;

         // The action bar is always placed at 0,0 and stretches the entire
-        // width of the navigator
+        // width of the navigator.
+        // If this changes, also update validateEstimatedSizesOfChild
         if (actionBar.includeInLayout)
         {
             actionBarHeight = Math.min(actionBar.getPreferredBoundsHeight(), unscaledHeight);
@@ -169,6 +199,7 @@
         // If the hostComponent is in overlay mode, the contentGroup extends
         // the entire bounds of the navigator and the alpha for the action
         // bar changes
+        // If this changes, also update validateEstimatedSizesOfChild
         if (currentState == "portraitAndOverlay" || currentState == "landscapeAndOverlay")
         {
             // FIXME (chiedozi): Update when XD spec is written


Transferred from the Adobe Open Source Subversion Repository

Revision: 12459
Author:   aharui@adobe.com
Date:     2009-12-03T19:16:58.161692Z

Log Message:
-----------
Fix bugs in DG found from MXItemRenderer testing

QE Notes: Might be two DG mustella test failures.
Doc Notes: None
Bugs: SDK-24483, SDK-24451, SDK-24448
Reviewer: Corey
API Change: No
Is noteworthy for integration: No
tests: checkintests mustella/components/DataGrid

Modified Paths:
--------------
<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/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>

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

--- frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
+++ frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
@@ -2824,10 +2824,12 @@
     {
         _itemRenderer = value;

+        invalidateProperties();
         invalidateSize();
         invalidateDisplayList();

         itemsSizeChanged = true;
+        itemsNeedMeasurement = true;
         rendererChanged = true;

         dispatchEvent(new Event("itemRendererChanged"));


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


Transferred from the Adobe Open Source Subversion Repository

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

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