Transferred from the Adobe Open Source Subversion Repository

Revision: 4318
Author:   rfrishbe@adobe.com
Date:     2008-12-16T01:06:12.577766Z

Log Message:
-----------
A bunch of small changes:

- Rename from "content" to "mxmlContent"--I missed some places before

- Remove references from Group to GraphicElement.  Change them to use IGraphicElement.

- Update the IGraphicElement interface for above.  Evtim will go in and clean it up more later

- Group optimization so we don't loop through all visual element children in validateProperties(), validateSize(), and validateDisplayList() if we have no graphic elements.  Some further optimizations are possible, but we're not sure if it's worth it.  For instance, we could just loop over the graphic elements directly, rather than all elements.  Also, we always call assignDisplayObjects() even if we don't need to (all elements are display objects and have layer == 0).

- Cleanup around setting alpha and blendMode in Group

- Cleanup around bindable properties in Group

- Commented a lot of code I didn't understand in Group

- Cleaned up some code in display object sharing for Group (no need for lastDisplayObject...just need insertIndex)

- All layouts now call super.measure() and super.updateDisplayList() even though the LayoutBase version of these methods does nothing.

QE Notes: None
Doc Notes: None
Bugs: SDK-18065
Reviewer: Jason
tests: checkintests, Mustella Group, FxContainer, GraphicTags, and layout

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Parser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/states/AddItems.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/IGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
@@ -844,6 +844,8 @@

     override public function measure():void
     {
+        super.measure();
+
     	var layoutTarget:GroupBase = target;
         if (!layoutTarget)
             return;
@@ -857,6 +859,8 @@

     override public function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
     {
+        super.updateDisplayList(unscaledWidth, unscaledHeight);
+
     	var layoutTarget:GroupBase = target;
         if (!layoutTarget)
             return;


placemarker updates qr code correctly on drag/drop

--- flexEditor/src/org/arisgames/editor/components/PlaceMarker.as
+++ flexEditor/src/org/arisgames/editor/components/PlaceMarker.as
@@ -72,8 +72,7 @@

     public function handleDragEndEvent(event:MapMouseEvent):void
     {
-        trace("Handle Drag End Event called...");
-        trace("Original Latitude: " + placemark.latitude + "; Original Longitude: " + placemark.longitude);
+        trace("PlaceMarker: Handle Drag End Event called...");
         placemark.latitude = event.latLng.lat();
         placemark.longitude = event.latLng.lng();
         trace("Updated Latitude: " + placemark.latitude + "; Updated Longitude: " + placemark.longitude);
@@ -91,6 +90,7 @@
         loc.forceView = placemark.forcedView;
 		loc.quickTravel = placemark.quickTravel;
         loc.error = placemark.errorRange;
+		loc.qrCode = placemark.qrCode;
         trace("location type looked up = '" + loc.type + "'");

         AppServices.getInstance().saveLocation(GameModel.getInstance().game.gameId, loc, new Responder(handleUpdateLocation, handleFault));


Transferred from the Adobe Open Source Subversion Repository

Revision: 11027
Author:   dloverin@adobe.com
Date:     2009-10-20T15:50:09.018295Z

Log Message:
-----------
Changes to enable using multiple style managers.

Multiple style managers are not the default yet. Can be enabled by compiling with -create-style-manager.

QE notes: None.
Doc notes: None.
Bugs:
Reviewer: Alex, Paul
Tests run: checkintests, all mustella
Is noteworthy for integration: Yes.

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/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/AbstractSyntaxTreeUtil.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/MxmlConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceGenerator.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexChangeEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/BusyCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSMergedStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/BusyCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java</path>

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

--- frameworks/projects/framework/src/mx/skins/halo/BusyCursor.as
+++ frameworks/projects/framework/src/mx/skins/halo/BusyCursor.as
@@ -46,6 +46,11 @@
 	/**
 	 *  Constructor.
 	 *
+     *  @param styleManager - The style manager associated with the object creating
+     *  the cursor. The style manager is used to get the style declaration of the
+     *  cursor manager which determines the class used for the busy cursor.
+     *  If styleManager is null, the top-level style manager will be used.
+     *
 	 *  @langversion 3.0
 	 *  @playerversion Flash 9
 	 *  @playerversion AIR 1.1
@@ -59,7 +64,7 @@
             styleManager = StyleManager.getStyleManager(null);

 		var cursorManagerStyleDeclaration:CSSStyleDeclaration =
-			styleManager.getStyleDeclaration("mx.managers.CursorManager");
+			styleManager.getMergedStyleDeclaration("mx.managers.CursorManager");

 		var cursorClass:Class =
 			cursorManagerStyleDeclaration.getStyle("busyCursorBackground");


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

--- frameworks/projects/mx/src/mx/styles/metadata/BorderStyles.as
+++ frameworks/projects/mx/src/mx/styles/metadata/BorderStyles.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  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.
+//  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
+//
+//      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.
 //
 ////////////////////////////////////////////////////////////////////////////////


if no AUD NALu found, don't stop parsing on IDR/NDR NALu, continue parsing until the end related to https://github.com/mangui/flashls/issues/162

--- src/org/mangui/hls/demux/Nalu.as
+++ src/org/mangui/hls/demux/Nalu.as
@@ -28,6 +28,7 @@
             var unit_start : int;
             var unit_type : int;
             var unit_header : int;
+            var aud_found : Boolean = false;
             // Loop through data to find NAL startcodes.
             var window : uint = 0;
             nalu.position = position;
@@ -42,8 +43,14 @@
                     unit_header = 4;
                     unit_start = nalu.position;
                     unit_type = nalu.readByte() & 0x1F;
-                    // NDR or IDR NAL unit
-                    if (unit_type == 1 || unit_type == 5) {
+                    if(unit_type ==9) {
+                        aud_found = true;
+                    }
+                    /* if AUD already found and newly found unit is NDR or IDR,
+                        stop parsing here and consider that this IDR/NDR is the last NAL unit
+                        breaking the loop here is done for optimization purpose, as NAL parsing is time consuming ...
+                     */
+                    if (aud_found && (unit_type == 1 || unit_type == 5)) {
                         break;
                     }
                     // Match three-byte startcodes
@@ -56,8 +63,14 @@
                     unit_header = 3;
                     unit_start = nalu.position;
                     unit_type = nalu.readByte() & 0x1F;
-                    // NDR or IDR NAL unit
-                    if (unit_type == 1 || unit_type == 5) {
+                    if(unit_type ==9) {
+                        aud_found = true;
+                    }
+                    /* if AUD already found and newly found unit is NDR or IDR,
+                        stop parsing here and consider that this IDR/NDR is the last NAL unit
+                        breaking the loop here is done for optimization purpose, as NAL parsing is time consuming ...
+                     */
+                    if (aud_found && (unit_type == 1 || unit_type == 5)) {
                         break;
                     }
                 } else {
@@ -89,7 +102,7 @@
                     if (units.length) {
                         var txt : String = "AVC: ";
                         for (var i : int = 0; i < units.length; i++) {
-                            txt += NAMES[units[i].type] + ":" + units[i].length + ",";
+                            txt += NAMES[units[i].type] + ","; //+ ":" + units[i].length
                         }
                         Log.debug2(txt.substr(0, txt.length - 2) + " slices");
                     } else {


FIX: Runtime errors in AsyncOperation weren't being caught by AsUnit (apart from AssertFailedError and IllegalOperationError).

--- as3/src/asunit/framework/AsyncOperation.as
+++ as3/src/asunit/framework/AsyncOperation.as
@@ -1,54 +1,57 @@
 package asunit.framework {
-    import flash.errors.IllegalOperationError;
-
-    import asunit.errors.AssertionFailedError;
-
-    import flash.events.TimerEvent;
-    import flash.utils.Timer;
-
+	import flash.errors.IllegalOperationError;
+
+	import asunit.errors.AssertionFailedError;
+
+	import flash.events.TimerEvent;
+	import flash.utils.Timer;
+

     public class AsyncOperation{

-        private var timeout:Timer;
-        private var testCase:TestCase;
-        private var callback:Function;
-        private var duration:Number;
+		private var timeout:Timer;
+		private var testCase:TestCase;
+		private var callback:Function;
+		private var duration:Number;

-        public function AsyncOperation(testCase:TestCase, handler:Function, duration:Number){
-            this.testCase = testCase;
-            this.duration = duration;
-            timeout = new Timer(duration, 1);
-            timeout.addEventListener(TimerEvent.TIMER_COMPLETE, onTimeoutComplete);
-            timeout.start();
-            if(handler == null) {
-                handler = function(args:*):* {return;};
-            }
-            var context:AsyncOperation = this;
-            callback = function(args:*):* {
-                timeout.stop();
-                try {
-                    handler.apply(testCase, arguments);
-                }
-                catch(e:AssertionFailedError) {
-                    testCase.getResult().addFailure(testCase, e);
-                }
-                catch(ioe:IllegalOperationError) {
-                    testCase.getResult().addError(testCase, ioe);
-                }
-                finally {
-                    testCase.asyncOperationComplete(context);
-                }
-                return;
-            };
-        }
-
-        public function getCallback():Function{
-            return callback;
-        }
+		public function AsyncOperation(testCase:TestCase, handler:Function, duration:Number){
+			this.testCase = testCase;
+			this.duration = duration;
+			timeout = new Timer(duration, 1);
+			timeout.addEventListener(TimerEvent.TIMER_COMPLETE, onTimeoutComplete);
+			timeout.start();
+			if(handler == null) {
+				handler = function(args:*):* {return;};
+			}
+			var context:AsyncOperation = this;
+			callback = function(args:*):* {
+				timeout.stop();
+				try {
+					handler.apply(testCase, arguments);
+				}
+				catch(e:AssertionFailedError) {
+					testCase.getResult().addFailure(testCase, e);
+				}
+				catch(ioe:IllegalOperationError) {
+					testCase.getResult().addError(testCase, ioe);
+				}
+				catch(unknownError:Error) {
+					testCase.getResult().addError(testCase, unknownError);
+				}
+				finally {
+					testCase.asyncOperationComplete(context);
+				}
+				return;
+			};
+		}

-        private function onTimeoutComplete(event:TimerEvent):void {
-            testCase.asyncOperationTimeout(this, duration);
-        }
-    }
-
+		public function getCallback():Function{
+			return callback;
+		}
+
+		private function onTimeoutComplete(event:TimerEvent):void {
+			testCase.asyncOperationTimeout(this, duration);
+		}
+	}
+
 }


support solid backgroundcolor

support solid backgroundcolor

--- frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/CSSTextField.as
+++ frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/CSSTextField.as
@@ -19,7 +19,7 @@
 package org.apache.flex.core
 {
 	import flash.text.TextField;
-    import flash.text.TextFieldAutoSize;
+	import flash.text.TextFieldAutoSize;
 	import flash.text.TextFormat;

 	import org.apache.flex.core.ValuesManager;
@@ -94,7 +94,17 @@
                 tf.align = "right";
 				autoSize = TextFieldAutoSize.NONE;
 			}
-
+            var backgroundColor:Object = ValuesManager.valuesImpl.getValue(sp, "background-color");
+            if (backgroundColor != null)
+            {
+                this.background = true;
+                if (backgroundColor is String)
+                {
+                    backgroundColor = backgroundColor.replace("#", "0x");
+                    backgroundColor = uint(backgroundColor);
+                }
+                this.backgroundColor = backgroundColor as uint;
+            }
 			defaultTextFormat = tf;
 			super.text = value;
 		}


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

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

 package mx.collections
 {


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

--- frameworks/projects/advancedgrids/src/mx/styles/metadata/LeadingStyle.as
+++ frameworks/projects/advancedgrids/src/mx/styles/metadata/LeadingStyle.as
@@ -0,0 +1,23 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+/**
+ *  Additional vertical space between lines of text.
+ *
+ *
The default value is 2.

+ *
The default value for the ComboBox control is 0.

+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="leading", type="Number", format="Length", inherit="yes")]


Transferred from the Adobe Open Source Subversion Repository

Revision: 18962
Author:   smgilson@adobe.com
Date:     2010-12-02T17:25:41.181545Z

Log Message:
-----------
ASDoc updates for DataGrid.as

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

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
@@ -315,6 +315,8 @@
      *  specify a different property name.
      *  For example, you could set the value to "FullName" when a user views a
      *  set of people's names included from a database.
+     *
+     *
GridColumn.dataTipField takes precedence over this property.

      *
      *
If this column or its grid specifies a value for the
      *  dataTipFunction property, then the


Transferred from the Adobe Open Source Subversion Repository

Revision: 17315
Author:   hmuller@adobe.com
Date:     2010-08-13T18:46:44.532951Z

Log Message:
-----------
DefaultGridItemRenderer performance optimization in GridLayout/layoutGridElement(): only call validateNow() once.

QE notes:
Doc notes:
Bugs:
Reviewer: Carol
Tests run: checkin, mustella cyclone
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
@@ -37,6 +37,7 @@
 import spark.components.IGridItemRenderer;
 import spark.components.IGridRowBackground;
 import spark.layouts.supportClasses.LayoutBase;
+import spark.skins.spark.DefaultGridItemRenderer;

 use namespace mx_internal;

@@ -1779,22 +1780,30 @@
         if (enablePerformanceStatistics)
             startTime = getTimer();

-        const validatingElt:IInvalidating = elt as IInvalidating;
-
-        if (!isNaN(width) || !isNaN(height))
-        {
-            if (validatingElt)
+        // The simple default grid item renderer doesn't have to be validated twice
+        // to accomodate text reflow.  This optimization improves updateDisplayList()
+        // performance by about 8%.
+
+        if (elt is DefaultGridItemRenderer)
+        {
+            if (!isNaN(width) || !isNaN(height))
+                elt.setLayoutBoundsSize(width, height);
+            //UIComponentGlobals.layoutManager.validateClient(UIComponent(elt), true);
+            DefaultGridItemRenderer(elt).validateNow();
+        }
+        else
+        {
+            const validatingElt:IInvalidating = elt as IInvalidating;
+            if (!isNaN(width) || !isNaN(height))
+            {
+                if (validatingElt)
+                    validatingElt.validateNow();
+                elt.setLayoutBoundsSize(width, height);
+            }
+            if (validatingElt)
                 validatingElt.validateNow();
-            elt.setLayoutBoundsSize(width, height);
-        }
-        if (validatingElt)
-            validatingElt.validateNow();
-
-        /*
-        if (elt is UIComponent)
-            UIComponentGlobals.layoutManager.validateClient(UIComponent(elt), true);
-        */
-
+        }
+
         elt.setLayoutBoundsPosition(x, y);

         if (enablePerformanceStatistics)


lose pubackMessage

lose pubackMessage

lose pubackMessage


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

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

 package mx.automation.delegates.containers
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

mx.core.IVisualElement
•	Rename layer -> depth

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

mx.graphics.GradientBase
•	Remove scaleX

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

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

mx.graphics.LinearGradient
•	Add scaleX

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

mx.graphics.RadialGradient
•	Add scaleX

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

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

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

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

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

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

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

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

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

spark.primitives.Rect
•	Rename drawElement -> draw

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

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

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

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

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

--- frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as
+++ frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as
@@ -61,8 +61,8 @@
 	public var updatePending:Boolean = false;

     /**
-     * storage for the layer value. Layering is considered 'advanced' layout behavior, and not something
-     * that gets used by the majority of the components out there.  So if a component has a non-zero layer,
+     * storage for the depth value. Layering is considered 'advanced' layout behavior, and not something
+     * that gets used by the majority of the components out there.  So if a component has a non-zero depth,
      * it will allocate a AdvancedLayoutFeatures object and store the value here.
      *
      *  @langversion 3.0
@@ -70,7 +70,7 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-	public var layer:Number = 0;
+	public var depth:Number = 0;

@@ -93,7 +93,7 @@
 	 * @private
 	 * offset values applied by the user
 	 */
-	private var _offsets:TransformOffsets;
+	private var _postLayoutTransformOffsets:TransformOffsets;

     /**
      * @private
@@ -516,7 +516,7 @@
 	 */
 	public function get is3D():Boolean
 	{
-		return (layout.is3D || (offsets != null && offsets.is3D));
+		return (layout.is3D || (postLayoutTransformOffsets != null && postLayoutTransformOffsets.is3D));
 	}

 	/**
@@ -543,28 +543,28 @@
 	 *  @playerversion AIR 1.1
 	 *  @productversion Flex 3
 	 */
-	public function set offsets(value:TransformOffsets):void
-	{
-		if(_offsets != null)
+	public function set postLayoutTransformOffsets(value:TransformOffsets):void
+	{
+		if(_postLayoutTransformOffsets != null)
 		{
-			_offsets.removeEventListener(Event.CHANGE,offsetsChangedHandler);
-			_offsets.owner = null;
+			_postLayoutTransformOffsets.removeEventListener(Event.CHANGE,postLayoutTransformOffsetsChangedHandler);
+			_postLayoutTransformOffsets.owner = null;
 		}
-		_offsets = value;
-		if(_offsets != null)
+		_postLayoutTransformOffsets = value;
+		if(_postLayoutTransformOffsets != null)
 		{
-			_offsets.addEventListener(Event.CHANGE,offsetsChangedHandler);
-			_offsets.owner = this;
+			_postLayoutTransformOffsets.addEventListener(Event.CHANGE,postLayoutTransformOffsetsChangedHandler);
+			_postLayoutTransformOffsets.owner = this;
 		}
 		invalidate();
 	}

-	public function get offsets():TransformOffsets
-	{
-		return _offsets;
-	}
-
-	private function offsetsChangedHandler(e:Event):void
+	public function get postLayoutTransformOffsets():TransformOffsets
+	{
+		return _postLayoutTransformOffsets;
+	}
+
+	private function postLayoutTransformOffsetsChangedHandler(e:Event):void
 	{
 		invalidate();
 	}
@@ -654,7 +654,7 @@
 		if(_flags & COMPUTED_MATRIX_VALID)
 			return _computedMatrix;

-		if(!offsets && stretchX == 1 && stretchY == 1)
+		if(!postLayoutTransformOffsets && stretchX == 1 && stretchY == 1)
 		{
 			return layout.matrix;
 		}
@@ -673,13 +673,13 @@
         var x:Number = layout.x;
         var y:Number = layout.y;

-        if (offsets)
+        if (postLayoutTransformOffsets)
         {
-            sx *= offsets.scaleX;
-            sy *= offsets.scaleY;
-            rz += offsets.rotationZ;
-            x += offsets.x;
-            y += offsets.y;
+            sx *= postLayoutTransformOffsets.scaleX;
+            sy *= postLayoutTransformOffsets.scaleY;
+            rz += postLayoutTransformOffsets.rotationZ;
+            x += postLayoutTransformOffsets.x;
+            y += postLayoutTransformOffsets.y;
         }

         if (stretchX != 1 || stretchY != 1)
@@ -704,7 +704,7 @@
 			return _computedMatrix3D;

-		if(!offsets && stretchX == 1 && stretchY == 1)
+		if(!postLayoutTransformOffsets && stretchX == 1 && stretchY == 1)
 		{
 			return layout.matrix3D;
 		}
@@ -728,17 +728,17 @@
         var y:Number = layout.y;
         var z:Number = layout.z;

-        if (offsets)
+        if (postLayoutTransformOffsets)
         {
-            sx *= offsets.scaleX;
-            sy *= offsets.scaleY;
-            sz *= offsets.scaleZ;
-            rx += offsets.rotationX;
-            ry += offsets.rotationY;
-            rz += offsets.rotationZ;
-            x += offsets.x;
-            y += offsets.y;
-            z += offsets.z;
+            sx *= postLayoutTransformOffsets.scaleX;
+            sy *= postLayoutTransformOffsets.scaleY;
+            sz *= postLayoutTransformOffsets.scaleZ;
+            rx += postLayoutTransformOffsets.rotationX;
+            ry += postLayoutTransformOffsets.rotationY;
+            rz += postLayoutTransformOffsets.rotationZ;
+            x += postLayoutTransformOffsets.x;
+            y += postLayoutTransformOffsets.y;
+            z += postLayoutTransformOffsets.z;
         }

 		build3DMatrix(m, tx, ty, tz, sx, sy, sz, rx, ry, rz, x, y, z);
@@ -880,14 +880,14 @@
                     invalidate();
                 }
             }
-            if (targetPostLayoutPosition != null && _offsets != null)
+            if (targetPostLayoutPosition != null && _postLayoutTransformOffsets != null)
             {
                 var adjustedComputedCenterV:Vector3D = transformVector(computedMatrix3D,transformCenter);
                 if (adjustedComputedCenterV.equals(targetPostLayoutPosition) == false)
                 {
-                    offsets.x +=targetPostLayoutPosition.x - adjustedComputedCenterV.x;
-                    offsets.y += targetPostLayoutPosition.y - adjustedComputedCenterV.y;
-                    offsets.z += targetPostLayoutPosition.z - adjustedComputedCenterV.z;
+                    postLayoutTransformOffsets.x +=targetPostLayoutPosition.x - adjustedComputedCenterV.x;
+                    postLayoutTransformOffsets.y += targetPostLayoutPosition.y - adjustedComputedCenterV.y;
+                    postLayoutTransformOffsets.z += targetPostLayoutPosition.z - adjustedComputedCenterV.z;
                     invalidate();
                 }
             }
@@ -907,15 +907,15 @@
                 }
             }

-            if (targetPostLayoutPosition != null && _offsets != null)
+            if (targetPostLayoutPosition != null && _postLayoutTransformOffsets != null)
             {
                 var currentPostLayoutPosition:Point =
                     computedMatrix.transformPoint(transformCenterP);
                 if (currentPostLayoutPosition.x != targetPostLayoutPosition.x ||
                     currentPostLayoutPosition.y != targetPostLayoutPosition.y)
                 {
-                    _offsets.x += targetPostLayoutPosition.x - currentPostLayoutPosition.x;
-                    _offsets.y += targetPostLayoutPosition.y - currentPostLayoutPosition.y;
+                    _postLayoutTransformOffsets.x += targetPostLayoutPosition.x - currentPostLayoutPosition.x;
+                    _postLayoutTransformOffsets.y += targetPostLayoutPosition.y - currentPostLayoutPosition.y;
                     invalidate();
                 }
             }
@@ -953,11 +953,11 @@
                 (postLayoutRotation.x != 0 || postLayoutRotation.y != 0)) ||
             (postLayoutTransformCenterPosition != null && postLayoutTransformCenterPosition.z != 0);

-        var needOffsets:Boolean = _offsets == null &&
+        var needOffsets:Boolean = _postLayoutTransformOffsets == null &&
             (postLayoutScale != null || postLayoutRotation != null ||
                 postLayoutTransformCenterPosition != null);
         if(needOffsets)
-            _offsets = new TransformOffsets();
+            _postLayoutTransformOffsets = new TransformOffsets();

 		// now if they gave us a non-trivial transform center, and didn't tell us where they want it,
 		// we need to calculate where it is so that we can make sure we keep it there.
@@ -1003,15 +1003,15 @@

         if (postLayoutRotation != null)
         {
-            _offsets.rotationX = postLayoutRotation.x;
-            _offsets.rotationY = postLayoutRotation.y;
-            _offsets.rotationZ = postLayoutRotation.z;
+            _postLayoutTransformOffsets.rotationX = postLayoutRotation.x;
+            _postLayoutTransformOffsets.rotationY = postLayoutRotation.y;
+            _postLayoutTransformOffsets.rotationZ = postLayoutRotation.z;
         }
         if (postLayoutScale != null)
         {
-            _offsets.scaleX = postLayoutScale.x;
-            _offsets.scaleY = postLayoutScale.y;
-            _offsets.scaleZ = postLayoutScale.z;
+            _postLayoutTransformOffsets.scaleX = postLayoutScale.x;
+            _postLayoutTransformOffsets.scaleY = postLayoutScale.y;
+            _postLayoutTransformOffsets.scaleZ = postLayoutScale.z;
         }

 		// if they didn't pass us a transform center,
@@ -1028,9 +1028,9 @@
             }
             if (postLayoutTransformCenterPosition != null)
             {
-                _offsets.x = postLayoutTransformCenterPosition.x - layout.x;
-                _offsets.y = postLayoutTransformCenterPosition.y - layout.y;
-                _offsets.z = postLayoutTransformCenterPosition.z - layout.z;
+                _postLayoutTransformOffsets.x = postLayoutTransformCenterPosition.x - layout.x;
+                _postLayoutTransformOffsets.y = postLayoutTransformCenterPosition.y - layout.y;
+                _postLayoutTransformOffsets.z = postLayoutTransformCenterPosition.z - layout.z;
             }
         }
         invalidate();


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 20405
Author:   smgilson@adobe.com
Date:     2011-02-22T19:50:20.544022Z

Log Message:
-----------
ASDoc edits for formatters

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as</path>

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

--- frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as
+++ frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as
@@ -419,9 +419,9 @@
      *
This pattern can be set in one of two ways:

      *
      *

-     *
By the dateSytle() and timeStyle
-     *     properties

-     *
By the dateTimePattern() property.

+     *
By setting the dateSytle and timeStyle
+     *     properties.

+     *
By setting the dateTimePattern property.

      *

      *
      *
If this property is assigned a value directly, as a side effect,


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

--- frameworks/projects/mx/src/mx/skins/halo/ColorPickerSkin.as
+++ frameworks/projects/mx/src/mx/skins/halo/ColorPickerSkin.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.skins.halo
 {


FLEX-33682 fixed issue with last commit ".." should be "."

--- frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridSortItemRenderer.as
+++ frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridSortItemRenderer.as
@@ -484,7 +484,7 @@
             var listData:AdvancedDataGridListData = (parent as IDropInListItemRenderer).listData
                                                     as AdvancedDataGridListData;
             if (listData && listData.columnIndex != -1)
-                return grid.getFieldSortInfo(grid..mx_internal::rawColumns[listData.columnIndex]);
+                return grid.getFieldSortInfo(grid.mx_internal::rawColumns[listData.columnIndex]);
         }

         return null;


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

--- frameworks/projects/automation_dmv/src/mx/automation/delegates/advancedDataGrid/OLAPDataGridAutomationImpl.as
+++ frameworks/projects/automation_dmv/src/mx/automation/delegates/advancedDataGrid/OLAPDataGridAutomationImpl.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  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.
+//  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
+//
+//      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: 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@1250031 13f79535-47bb-0310-9956-ffa450edef68

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

 package mx.managers
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 7274
Author:   chaase@adobe.com
Date:     2009-05-26T17:35:32.210331Z

Log Message:
-----------
Fixed several feature-complete effects bugs, plus one ScrollBar bug.

QE Notes: None
Doc Notes: None
Bugs: sdk-21093, sdk-21130, sdk-21243, sdk-21128, sdk-20698, sdk-20125, sdk-21138
Reviewer: Jason
tests: checkintests mustella effects cyclone

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/IAnimationTarget.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/CompositeEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Fade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/AnimationTarget.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ScrollBarBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ScrollBarBase.as
@@ -575,9 +575,9 @@
     {
         var val:Number;
         if (increase)
-            val = value + pageSize;
+            val = Math.min(value + pageSize, maximum);
         else
-            val = value - pageSize;
+            val = Math.max(value - pageSize, minimum);
         if (smoothScrolling) {
             startAnimation(getStyle("repeatInterval"), val, Linear.getInstance());
             animatingSinglePage = true;


bugs in delete removed. Made more robust

--- Arguments/src/Controller/ArgumentController.as
+++ Arguments/src/Controller/ArgumentController.as
@@ -296,7 +296,13 @@
 		//--------------------- delete Map -------------------------------//
 		public function deleteNodes(gridPanel:GridPanel):void{
 			var model:StatementModel = (gridPanel as ArgumentPanel).model;
-			model.deleteMe();
+			if(model.supportingArguments.length == 0 && (model.argumentTypeModel && model.argumentTypeModel.inferenceModel.supportingArguments.length == 0) && (model.argumentTypeModel.reasonModels[0] != model)){
+				model.deleteMe();
+			}
+			else{
+				Alert.show("You cannot delete a statement that is supported, a statement whose enabler is supported, or the main claim");
+			}
+
 		}

 		public function onStatementDeleted(event:AGORAEvent):void{


Less strict typing to stop RTE as described FLEX-33405

git-svn-id: f8d5f742b420a6a114b58659a4f85f335318e53c@1454924 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableStageText.as
+++ frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableStageText.as
@@ -2463,7 +2463,7 @@
     //
     //--------------------------------------------------------------------------

-    private function ancestor_closeHandler(event:PopUpEvent):void
+    private function ancestor_closeHandler(event:Event):void
     {
         ancestorsVisible = false;
         invalidateAncestorsVisibleFlag = false;
@@ -2495,7 +2495,7 @@
         invalidateProperties();
     }

-    private function ancestor_openHandler(event:PopUpEvent):void
+    private function ancestor_openHandler(event:Event):void
     {
         invalidateAncestorsVisibleFlag = true;
         invalidateProperties();


fix null pointer exception caused by drawcalls updated/removed/added twice because the mesh marerial change signal was listen two twice (one from Mesh.materialChanged, the other from the 'effect' binding)

--- src/aerys/minko/scene/controller/scene/RenderingController.as
+++ src/aerys/minko/scene/controller/scene/RenderingController.as
@@ -412,7 +412,6 @@
 			mesh.bindings.addCallback('visible', meshVisibilityChangedHandler);
 			mesh.bindings.addCallback('insideFrustum', meshVisibilityChangedHandler);
 			mesh.bindings.addCallback('effect', meshEffectChangedHandler);
-			mesh.materialChanged.add(meshMaterialChangedHandler);
 			mesh.frameChanged.add(meshFrameChangedHandler);
 			mesh.geometryChanged.add(meshGeometryChangedHandler);

@@ -436,7 +435,6 @@
 			mesh.bindings.removeCallback('visible', meshVisibilityChangedHandler);
 			mesh.bindings.removeCallback('insideFrustum', meshVisibilityChangedHandler);
 			mesh.bindings.removeCallback('effect', meshEffectChangedHandler);
-			mesh.materialChanged.remove(meshMaterialChangedHandler);
 			mesh.frameChanged.remove(meshFrameChangedHandler);
 			mesh.geometryChanged.remove(meshGeometryChangedHandler);

@@ -491,17 +489,6 @@
 			}
 		}

-		private function meshMaterialChangedHandler(mesh		: Mesh,
-													oldMaterial	: Material,
-													newMaterial	: Material) : void
-		{
-			updateDrawCalls(
-				mesh,
-				oldMaterial ? oldMaterial.effect : null,
-				newMaterial ? newMaterial.effect : null
-			);
-		}
-
 		private function meshEffectChangedHandler(bindings		: DataBindings,
 												  propertyName	: String,
 												  oldEffect		: Effect,
@@ -550,7 +537,7 @@
 			drawCalls.length = 0;

 			var meshesWithSameEffect : Vector.<Mesh> = _effectToMeshes[oldEffect];
-
+
 			meshesWithSameEffect.splice(meshesWithSameEffect.indexOf(mesh), 1);
 			if (meshesWithSameEffect.length == 0)
 			{
@@ -585,7 +572,7 @@

 			if (!_effectToMeshes[newEffect])
 			{
-				_effectToMeshes[newEffect] = new Vector.<Mesh>();
+				_effectToMeshes[newEffect] = new <Mesh>[];
 				newEffect.passesChanged.add(effectPassesChangedHandler);
 			}

@@ -642,7 +629,6 @@

 		private function removeDrawCalls(mesh : Mesh, effect : Effect) : void
 		{
-			var meshEffect		: Effect		= mesh.material.effect;
 			var meshBindings	: DataBindings	= mesh.bindings;

 			// retrieve drawcalls
@@ -662,14 +648,14 @@
 			delete _meshToDrawCalls[mesh];
 			delete _meshBindingsToMesh[meshBindings];

-			var meshesWithSameEffect : Vector.<Mesh> = _effectToMeshes[meshEffect];
-
+			var meshesWithSameEffect : Vector.<Mesh> = _effectToMeshes[effect];
+
 			meshesWithSameEffect.splice(meshesWithSameEffect.indexOf(mesh), 1);

 			if (meshesWithSameEffect.length == 0)
 			{
-				delete _effectToMeshes[meshEffect];
-				meshEffect.passesChanged.remove(effectPassesChangedHandler);
+				delete _effectToMeshes[effect];
+                effect.passesChanged.remove(effectPassesChangedHandler);
 			}
 		}


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

--- frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridDragProxy.as
+++ frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridDragProxy.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  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.
+//  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
+//
+//      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: 6201
Author:   dsubrama@adobe.com
Date:     2009-04-22T21:15:50.846343Z

Log Message:
-----------
Introduces a new method to the IItemRendererOwner contract, updateRendererInformation(), which handles the setting of a renderer's data and data-dependant properties.

We also now support the CollectionEvent of kind UPDATE in DataGroup.

Checkintests: Pass
Reviewer: Ryan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/IItemRendererOwner.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/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
@@ -788,30 +788,20 @@
             {
                 itemAddedHandler(ce.items[0], ce.location);
             }
-            else if (ce.kind == CollectionEventKind.REPLACE)
-            {
-
-            }
             else if (ce.kind == CollectionEventKind.REMOVE)
             {
                 itemRemovedHandler(ce.items[0], ce.location);
-            }
-            else if (ce.kind == CollectionEventKind.MOVE)
-            {
-
-            }
-            else if (ce.kind == CollectionEventKind.REFRESH)
-            {
-
             }
             else if (ce.kind == CollectionEventKind.RESET)
             {
                 // Data provider is being reset, clear out the selection
                 _selectedIndex = -1;
             }
-            else if (ce.kind == CollectionEventKind.UPDATE)
+            else if (ce.kind == CollectionEventKind.REPLACE ||
+                ce.kind == CollectionEventKind.MOVE ||
+                ce.kind == CollectionEventKind.REFRESH)
             {
-
+                //These cases are handled by the DataGroup skinpart
             }
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 20649
Author:   smgilson@adobe.com
Date:     2011-03-07T20:19:16.700368Z

Log Message:
-----------
ASDoc updates

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/effects/animation/SimpleMotionPath.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/core/ContentRequest.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="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/effects/Fade.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/effects/interpolation/NumberInterpolator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/effects/interpolation/RGBInterpolator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/core/ContentCache.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/core/NavigationUnit.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/core/IGraphicElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>

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

--- frameworks/projects/spark/src/spark/effects/animation/SimpleMotionPath.as
+++ frameworks/projects/spark/src/spark/effects/animation/SimpleMotionPath.as
@@ -57,6 +57,11 @@
      *
      *  @param valueBy An optional parameter that specifies the delta with
      *  which to calculate either the from or to values, if one is omitted.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function SimpleMotionPath(property:String = null,
         valueFrom:Object = null, valueTo:Object = null,


Changed case of currentState values

Changed case of currentState values

Changed all currentState values to be all lower case.

--- src/Player.as
+++ src/Player.as
@@ -41,7 +41,7 @@
     private var urlParsed:Object;
     private var savedSpeakerVolume:Number;
     private var fullscreenAllowed:Boolean = true;
-    private var currentState:String = "Stopped";
+    private var currentState:String = "stopped";
     private var streamHasAudio:Boolean = false;
     private var streamHasVideo:Boolean = false;

@@ -172,7 +172,7 @@
     public function pause():void {
       client.pause();
       this.callAPI('streamPaused');
-      this.currentState = "Paused";
+      this.currentState = "paused";
     }

     public function resume():void {
@@ -185,7 +185,7 @@
       ns = null;
       client.stop();
       this.callAPI('streamStopped');
-      this.currentState = "Stopped";
+      this.currentState = "stopped";
       this.streamHasAudio = false;
       this.streamHasVideo = false;
     }
@@ -199,7 +199,7 @@
     }

     public function streamStatus():Object {
-      if (this.currentState === 'Playing') {
+      if (this.currentState === 'playing') {
         this.streamHasAudio = (this.streamHasAudio || this.ns.info.audioBufferByteLength);
         this.streamHasVideo = (this.streamHasVideo || this.ns.info.videoBufferByteLength);
       }
@@ -307,11 +307,11 @@
     }

     private function onStartPlay(ev:ClientEvent):void {
-      this.currentState = "Playing";
+      this.currentState = "playing";
     }

     public function onPlayStatus(ev:Object):void {
-      this.currentState = "Stopped";
+      this.currentState = "stopped";
     }

     private function callAPI(eventName:String, data:Object = null):void {


Transferred from the Adobe Open Source Subversion Repository

Revision: 7119
Author:   gosmith@adobe.com
Date:     2009-05-20T06:23:33.213267Z

Log Message:
-----------
RichEditableText now exposes non-inheriting backgroundColor and backgroundAlpha styles for drawing a background within the entire bounding rectangle of the component. We're adding this because TLF supports backgroundColor and backgroundAlpha on pieces of text.

QE Notes: None
Doc Notes: None
Bugs: Part of SDK-19818
Reviewer: Carol

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

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

--- frameworks/projects/spark/src/spark/components/supportClasses/RichEditableTextContainerManager.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/RichEditableTextContainerManager.as
@@ -24,6 +24,7 @@
 import flashx.undo.IUndoManager;
 import flashx.undo.UndoManager;

+import mx.styles.IStyleClient;
 import mx.core.mx_internal;

 import spark.primitives.RichEditableText;
@@ -108,15 +109,29 @@
             hasScrollRect = true;
         }

-        // Client must draw a background, even it if is 100% transparent.
+        // Client must draw a background to get mouse events,
+        // even it if is 100% transparent.
+    	// If backgroundColor is defined, fill the bounds of the component
+    	// with backgroundColor drawn with alpha level backgroundAlpha.
+    	// Otherwise, fill with transparent black.
+    	// (The color in this case is irrelevant.)
+    	var color:uint = 0x000000;
+    	var alpha:Number = 0.0;
+    	var styleableContainer:IStyleClient = container as IStyleClient;
+    	if (styleableContainer)
+    	{
+    		var backgroundColor:* =
+    			styleableContainer.getStyle("backgroundColor");
+    		if (backgroundColor !== undefined)
+    		{
+    			color = uint(backgroundColor);
+    			alpha = styleableContainer.getStyle("backgroundAlpha");
+    		}
+    	}
         var g:Graphics = container.graphics;
         g.clear();
         g.lineStyle();
-        var bc:Object = RichEditableText.mx_internal::backgroundColor;
-        if (bc != null)
-            g.beginFill(uint(bc));
-        else
-            g.beginFill(0x000000, 0);
+        g.beginFill(color, alpha);
         g.drawRect(scrollX, scrollY, width, height);
         g.endFill();


Comment clarification.

Comment clarification.

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

--- src/as/com/threerings/util/StringUtil.as
+++ src/as/com/threerings/util/StringUtil.as
@@ -45,7 +45,7 @@
     }

     /**
-     * Is the specified string null or does it contain only whitespace?
+     * Is the specified string null, empty, or does it contain only whitespace?
      */
     public static function isBlank (str :String) :Boolean
     {


Ensure the windows are brought up front when you hit preview.

--- exporter/src/main/as/flump/export/Exporter.as
+++ exporter/src/main/as/flump/export/Exporter.as
@@ -155,6 +155,9 @@
             _previewWindow.nativeWindow.visible = true;
             _previewControls.nativeWindow.visible = true;
         }
+
+        _previewWindow.orderToFront();
+        _previewControls.orderToFront();
     }

     // Causes a window to be hidden, rather than closed, when its close box is clicked


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

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

 package mx.olap
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5097
Author:   gauravj@adobe.com
Date:     2009-02-27T02:06:23.424936Z

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:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/fileSystemClasses/FileSystemTreeDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemHistoryButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemTree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/FlexContentHolder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumeration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/AIREvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/StatusBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FileEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/WindowExistenceEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/ApplicationTitleBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/fileSystemClasses/FileSystemControlHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeMenuEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemRawChildrenList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMinimizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowRestoreButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMaximizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/IWindow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemSizeDisplayMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeWindowBoundsEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemChildrenList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowCloseButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as</path>

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

--- frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as
+++ frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as
@@ -24,6 +24,10 @@
  *  to return a string indicating the location of the object
  *  within the hierarchy of DisplayObjects in the application.
  *
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class FlexHTMLLoader extends HTMLLoader implements IFocusManagerComplexComponent
 {
@@ -48,6 +52,10 @@
      *
      *  @see flash.display.DisplayObject#name
      *  @see mx.utils.NameUtils#createUniqueName()
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function FlexHTMLLoader()
     {
@@ -107,6 +115,10 @@
      *  programmatically in your setFocus() method;
      *  it just tells the FocusManager to ignore this IFocusManagerComponent
      *  component in the Tab and mouse searches.

+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get focusEnabled():Boolean
     {
@@ -144,6 +156,10 @@
      *  set to true.
      *
      *  @default true
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get mouseFocusEnabled():Boolean
     {
@@ -168,6 +184,10 @@
     /**
      *  Called by the FocusManager when the component receives focus.
      *  The component may in turn set focus to an internal component.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function setFocus():void
     {
@@ -181,6 +201,10 @@
      *
      *  @param isFocused If true, draw the focus indicator,
      *  otherwise hide it.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function drawFocus(isFocused:Boolean):void
     {
@@ -194,6 +218,10 @@
      *  keyboard.
      *
      *  @param direction one of flash.display.FocusDirection
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function assignFocus(direction:String):void
     {
@@ -219,6 +247,10 @@
      *
      *  @see flash.display.DisplayObject#name
      *  @see mx.utils.NameUtils#displayObjectToString()
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function toString():String
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17116
Author:   dloverin@adobe.com
Date:     2010-07-29T13:27:01.624740Z

Log Message:
-----------
Prevent sub-applications and modules from being pinned in memory by ResourceManager.

This set of changes fixes a module leak that is cause by resource bundles. The ResourceManager is a singleton the holds a reference to all resource bundles in the system. This includes sub-applications and modules. The leaks occurs when a sub-application or module defines a new resource bundle that is not in the application domain of the main application. Creating a new instance of this resource bundle creates a reference from the main application to the application domain of the sub-application or module, pinning it in memory.

The solution to the module leak problem is to modify the ResourceManager API to allow an application to opt-in to maintaining references to their own resource bundles instead of allowing ResourceManager to do it. Since the resource bundles are referenced by the applications or modules, the ResourceManager can keep a weak reference to the resource bundles which will allow the references to be garbage collected when the sub-applications or modules are garbage collected.

So how are does the ResourceManager allow you to opt-in? A useWeakReference parameter was added to both the addResourceBundle and installCompiledResourceBundles functions. The new parameter has a default value of "false" if no value is supplied. A value of "false" provides the old behavior so older applications compiling with the new API will see no change in behavior. A value of "true" for useWeakReference tells the ResourceManager to provide a weak reference with the agreement that the caller will provide a hard reference. Flex sub-applications and modules automatically opt-in to use the new weak reference capability.

The addResourceBundle function adds just the new useWeakReference. A value of true means the caller should store the passed resourceBundle in an application instance variable.

The installCompiledResourceBundles function also has a new parameter useWeakReference and now returns an Array (used to return void). The useWeakReference parameter has the same meaning as in addResourceBundle. The installCompiledResourceBundles function returns and array of resource bundles to give the caller and opportunity to had a hard reference to them.

QE notes: None.
Doc notes: None.
Bugs: SDK-24306
Reviewer: Alex (code), Gordon (API)
Tests run: checkintests, cyclone server
Is noteworthy for integration: No.

Modified Paths:
--------------
<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/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.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/resources/IResourceManager.as</path>

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

--- frameworks/projects/framework/src/mx/core/FlexModuleFactory.as
+++ frameworks/projects/framework/src/mx/core/FlexModuleFactory.as
@@ -200,6 +200,18 @@
 	 */
 	private var errorMessage:String = null;

+    /**
+     *  @private
+     *
+     *  This exists only to provide a reference to this
+     *  module's resource bundles. This module is opting
+     *  into referencing its own resource bundles so the
+     *  ResourceManager does not need to do it. This
+     *  arrangement keeps the ResourceManager from pinning
+     *  the module in memory.
+     */
+    private var resourceBundles:Array;
+
 	//--------------------------------------------------------------------------
 	//
 	//  Properties: IFlexModuleFactory
@@ -593,7 +605,7 @@
 		if (currentFrame < totalFrames)
             deferredNextFrame();
     }
-
+
     /**
 	 *  @private
 	 */
@@ -615,8 +627,8 @@
 		var resourceManager:IResourceManager =
 			ResourceManager.getInstance();

-		resourceManager.installCompiledResourceBundles(
-			applicationDomain, compiledLocales, compiledResourceBundleNames);
+		resourceBundles = resourceManager.installCompiledResourceBundles(
+			applicationDomain, compiledLocales, compiledResourceBundleNames, true);

 		// If the localeChain wasn't specified in the FlashVars of the SWF's
 		// HTML wrapper, or in the query parameters of the SWF URL,


Transferred from the Adobe Open Source Subversion Repository

Revision: 11382
Author:   dloverin@adobe.com
Date:     2009-11-02T22:42:30.388708Z

Log Message:
-----------
Fix RTE when getting overrides from a merged style declaration.

FlexModuleFactory.as
Merge 3.x module leak fix that didn’t make it into the trunk.

ModuleLoader.as
Don’t update the applicationDomain property when we choose a child applicationDomain. Put the results in temporary variable so the applicationDomain property is left for the user.

CSSMergedStyleDeclaration:
Create an array if one does not already exist. This fixes a null pointer RTE when creating a merged array of properties.

QE notes: None.
Doc notes: None.
Bugs: SDK-23937
Reviewer: Alex
Tests run: checkintests
Is noteworthy for integration: No.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexModuleFactory.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSMergedStyleDeclaration.as</path>

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

--- frameworks/projects/framework/src/mx/core/FlexModuleFactory.as
+++ frameworks/projects/framework/src/mx/core/FlexModuleFactory.as
@@ -145,15 +145,7 @@

 	    var docFrame:int = totalFrames == 1 ? 0 : 1;

-		addFrameScript(docFrame, docFrameHandler);
-
-		// Frame 1: module factory
-		// Frame 2: document class
-		// Frame 3+: extra classes
-	    for (i = docFrame + 1; i < totalFrames; i++)
-	    {
-		    addFrameScript(i, extraFrameHandler);
-		}
+        addEventListener(Event.ENTER_FRAME, docFrameListener);

 		timer = new Timer(100);
 		timer.addEventListener(TimerEvent.TIMER, timerHandler);
@@ -162,7 +154,32 @@
         update();
     }

-	//--------------------------------------------------------------------------
+    private function docFrameListener(event:Event):void
+    {
+        if (currentFrame == 2)
+        {
+            removeEventListener(Event.ENTER_FRAME, docFrameListener);
+            if (totalFrames > 2)
+                addEventListener(Event.ENTER_FRAME, extraFrameListener);
+
+            docFrameHandler();
+        }
+    }
+
+    private function extraFrameListener(event:Event):void
+    {
+        if (lastFrame == currentFrame)
+            return;
+
+        lastFrame = currentFrame;
+
+        if (currentFrame + 1 > totalFrames)
+            removeEventListener(Event.ENTER_FRAME, extraFrameListener);
+
+        extraFrameHandler();
+    }
+
+    //--------------------------------------------------------------------------
 	//
 	//  Variables
 	//
@@ -197,6 +214,13 @@
 	 *  @private
 	 */
 	private var timer:Timer = null;
+
+    /**
+     *  @private
+     *  Track which frame was last processed
+     */
+    private var lastFrame:int;
+
     /**
 	 *  @private
 	 */
@@ -436,6 +460,8 @@
         			timer.reset();

                     dispatchEvent(new Event("ready"));
+
+                    loaderInfo.removeEventListener(Event.COMPLETE, moduleCompleteHandler);
                 }
                 break;
 			}
@@ -458,6 +484,8 @@

                 dispatchEvent(new ModuleEvent(ModuleEvent.ERROR, false, false,
                               0, 0, errorMessage));
+
+                loaderInfo.removeEventListener(Event.COMPLETE, moduleCompleteHandler);
                 break;
 			}
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 6459
Author:   pfarland@adobe.com
Date:     2009-05-01T14:51:21.892049Z

Log Message:
-----------
Integrating latest fxgutils which also fixes SDK-20777.

Restoring FXG TextGraphic attribute validation and overriding createGraphicContext() so that transform attributes are left to programmatic generation so that we don't duplicate them between SWF primitives and ActionScript.

Also adding an advanced command line configuration switch --qualified-type-selectors=true or false to ease migration of legacy applications to Flex 4 so that CSS type selectors can be left unqualified for the case where an application only makes use of halo components. If -compatibility-version=3, this setting will always be false, and type selectors are unqualified.

QE: Yes, please confirm fix to and add a small test case of an MXML 2006 based application that makes use of unqualified type selectors.
Doc: For the migration guide, we may want to document the advanced --qualified-type-selectors switch for folks who do not want to run with -compatibility-version=3 but cannot up all of their type selectors.
Checkintests: Pass
Reviewer: Paul
Bugs:
SDK-20777 - EmptyStackException when <private> is indirectly nested in <private>

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/fills/BitmapFillNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/fxg/swf/AbstractFXG2SWFTranscoder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/MxmlConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/transforms/ColorTransformNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/AbstractFXGNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/ShapeHelper.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/GraphicContext.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexTextGraphicNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/fxg/FXGException.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/MxmlConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/sax/FXGSAXScanner.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/Configuration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/TypeHelper.java</path>

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

--- frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
+++ frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
@@ -81,7 +81,7 @@
      */
     public static function getClassStyleDeclarations(object:IStyleClient):Array
     {
-        var qualified:Boolean = FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_0 ? false : true;
+        var qualified:Boolean = StyleManager.qualifiedTypeSelectors;
         var className:String = qualified ? getQualifiedClassName(object) : object.className;
         var advancedObject:IAdvancedStyleClient = object as IAdvancedStyleClient;

@@ -751,7 +751,7 @@
      */
     public static function matchesCSSType(object:IAdvancedStyleClient, cssType:String):Boolean
     {
-        var qualified:Boolean = FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_0 ? false : true;
+        var qualified:Boolean = StyleManager.qualifiedTypeSelectors;
         var typeHierarchy:OrderedObject = getTypeHierarchy(object, qualified);
         return typeHierarchy[cssType] != null;
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 7889
Author:   dsubrama@adobe.com
Date:     2009-06-16T20:01:19.393557Z

Log Message:
-----------
First batch of PARB changes to List, ListBase, ItemRenderer and IItemRenderer as documented here: https://zerowing.corp.adobe.com/display/flex/PARB_RENAME_LIST

QA: Yes
Docs: Yes
Checkintests: Pass

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/DefaultItemRenderer.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.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/ButtonBarButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/IItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/DefaultComplexItemRenderer.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/IndexChangedEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>

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

--- frameworks/projects/spark/src/spark/components/DropDownList.as
+++ frameworks/projects/spark/src/spark/components/DropDownList.as
@@ -12,7 +12,7 @@
 /*  NOTES

 Keyboard Interaction
-- List current dispatches selectionChanged on arrowUp/Down. Should we subclass List
+- List current dispatches change on arrowUp/Down. Should we subclass List
 and change behavior to commit value only on ENTER, SPACE, or CTRL-UP?

 - Handle commitData
@@ -127,7 +127,7 @@
  *
Clicking outside of the drop-down list closes the drop-down list
  *      and commits the currently selected data item.

  *
Clicking on a data item selects that item and closes the drop-down list.

- *
If the requiresSelection property is false,
+ *
If the requireSelection property is false,
  *      clicking on a data item while pressing the Control key deselects
  *      the item and closes the drop-down list.

  *

@@ -597,7 +597,7 @@
                     itemSelected(proposedSelectedIndex, false);
                     proposedSelectedIndex = proposedNewIndex;
                     itemSelected(proposedSelectedIndex, true);
-                    ensureItemIsVisible(proposedSelectedIndex);
+                    ensureIndexIsVisible(proposedSelectedIndex);
                 }
             }
             else if (dataProvider)
@@ -683,7 +683,7 @@
     mx_internal function open_updateCompleteHandler(event:FlexEvent):void
     {
         removeEventListener(FlexEvent.UPDATE_COMPLETE, open_updateCompleteHandler);
-        ensureItemIsVisible(selectedIndex);
+        ensureIndexIsVisible(selectedIndex);

         dispatchEvent(new DropDownEvent(DropDownEvent.OPEN));
     }