fixed bug focusing newly created table entity

--- WeaveAdmin/src/weave/services/Admin.as
+++ WeaveAdmin/src/weave/services/Admin.as
@@ -23,6 +23,7 @@
 	import mx.utils.URLUtil;

 	import weave.api.linkBindableProperty;
+	import weave.api.linkableObjectIsBusy;
 	import weave.api.data.ColumnMetadata;
 	import weave.api.services.beans.Entity;
 	import weave.api.services.beans.EntityHierarchyInfo;
@@ -68,7 +69,7 @@
 		public function getFocusEntityId():int
 		{
 			// if the entity does not exist on the server, don't attempt to focus on it
-			if (!entityCache.entityIsCached(focusEntityId))
+			if (!linkableObjectIsBusy(entityCache) && !entityCache.entityIsCached(focusEntityId))
 				focusEntityId = -1;
 			return focusEntityId;
 		}


removing columns from d2d on dispose

removing columns from d2d on dispose

--- WeaveJS/src/weavejs/data/AttributeColumnCache.as
+++ WeaveJS/src/weavejs/data/AttributeColumnCache.as
@@ -57,6 +57,10 @@
 				// If no column is associated with this hash value, request the
 				// column from its data source and save the column pointer.
 				column = dataSource.getAttributeColumn(metadata);
+				if (column)
+					column.addDisposeCallback(this, function():void {
+						this.d2d_dataSource_metadataHash_column.remove(dataSource, hashCode);
+					});
 				d2d_dataSource_metadataHash_column.set(dataSource, hashCode, column);
 			}
 			return column;


Move save()/saveAs() into the class body

--- exporter/src/main/as/flump/export/ExporterController.as
+++ exporter/src/main/as/flump/export/ExporterController.as
@@ -94,7 +94,6 @@
     }

     protected function setupMenus () :void {
-
         var fileMenuItem :NativeMenuItem;
         if (NativeApplication.supportsMenu) {
             // Grab the existing menu on macs. Use an index to get it as it's not going to be
@@ -140,47 +139,15 @@
         const saveMenuItem :NativeMenuItem =
             fileMenuItem.submenu.addItemAt(new NativeMenuItem("Save Project"), 3);
         saveMenuItem.keyEquivalent = "s";
-        function saveConf () :void {
-            Files.write(_confFile, function (out :IDataOutput) :void {
-                // Set directories relative to where this file is being saved. Fall back to absolute
-                // paths if relative paths aren't possible.
-                if (_importChooser.dir != null) {
-                    _conf.importDir = _confFile.parent.getRelativePath(_importChooser.dir, /*useDotDot=*/true);
-                    if (_conf.importDir == null) _conf.importDir = _importChooser.dir.nativePath;
-                }
-
-                if (_exportChooser.dir != null) {
-                    _conf.exportDir = _confFile.parent.getRelativePath(_exportChooser.dir, /*useDotDot=*/true);
-                    if (_conf.exportDir == null) _conf.exportDir = _exportChooser.dir.nativePath;
-                }
-
-                out.writeUTFBytes(JSON.stringify(_conf, null, /*space=*/2));
-                updateWindowTitle(false);
-            });
-        };
-        function saveAs (..._) :void {
-            var file :File = new File();
-            file.addEventListener(Event.SELECT, function (..._) :void {
-                // Ensure the filename ends with .flump
-                if (!StringUtil.endsWith(file.name.toLowerCase(), ".flump")) {
-                    file = file.parent.resolvePath(file.name + ".flump");
-                }
-
-                _confFile = file;
-                saveConfFilePath();
-                saveConf();
-            });
-            file.browseForSave("Save Flump Configuration");
-        };
         saveMenuItem.addEventListener(Event.SELECT, function (..._) :void {
-            if (_confFile == null) saveAs();
+            if (_confFile == null) saveConfAs();
             else saveConf();
         });

         const saveAsMenuItem :NativeMenuItem =
             fileMenuItem.submenu.addItemAt(new NativeMenuItem("Save Project As..."), 4);
         saveAsMenuItem.keyEquivalent = "S";
-        saveAsMenuItem.addEventListener(Event.SELECT, saveAs);
+        saveAsMenuItem.addEventListener(Event.SELECT, saveConfAs);
     }

     protected function updateWindowTitle (modified :Boolean) :void {
@@ -201,6 +168,40 @@
             _confFile = null;
         }
     }
+
+    protected function saveConf () :void {
+        Files.write(_confFile, function (out :IDataOutput) :void {
+            // Set directories relative to where this file is being saved. Fall back to absolute
+            // paths if relative paths aren't possible.
+            if (_importChooser.dir != null) {
+                _conf.importDir = _confFile.parent.getRelativePath(_importChooser.dir, /*useDotDot=*/true);
+                if (_conf.importDir == null) _conf.importDir = _importChooser.dir.nativePath;
+            }
+
+            if (_exportChooser.dir != null) {
+                _conf.exportDir = _confFile.parent.getRelativePath(_exportChooser.dir, /*useDotDot=*/true);
+                if (_conf.exportDir == null) _conf.exportDir = _exportChooser.dir.nativePath;
+            }
+
+            out.writeUTFBytes(JSON.stringify(_conf, null, /*space=*/2));
+            updateWindowTitle(false);
+        });
+    }
+
+    protected function saveConfAs (..._) :void {
+        var file :File = new File();
+        file.addEventListener(Event.SELECT, function (..._) :void {
+            // Ensure the filename ends with .flump
+            if (!StringUtil.endsWith(file.name.toLowerCase(), ".flump")) {
+                file = file.parent.resolvePath(file.name + ".flump");
+            }
+
+            _confFile = file;
+            saveConfFilePath();
+            saveConf();
+        });
+        file.browseForSave("Save Flump Configuration");
+    };

     protected function open (file :File) :void {
         _confFile = file;


Transferred from the Adobe Open Source Subversion Repository

Revision: 4651
Author:   gruehle@adobe.com
Date:     2009-01-24T00:32:28.879944Z

Log Message:
-----------
Group.checkForRangeError() now checks for negative index values.

QE Notes: Tests that passed negative numbers to the group API's will now fail with an RTE. Previous behavior was undefined.
Doc Notes: None
Bugs: SDK-16701
Reviewer: Jason
tests: checkintests

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -491,7 +491,7 @@
         if (addingElement)
             maxIndex++;

-        if (index > maxIndex)
+        if (index < 0 || index > maxIndex)
             throw new RangeError("Index " + index + " is out of range");
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 12370
Author:   smgilson@adobe.com
Date:     2009-12-02T16:48:37.124467Z

Log Message:
-----------
Fix for doc bug FLEXDOCS-1150

Added a few new examples and default sizes to Spark components

QE notes: -
Doc notes: -
Bugs: -
Reviewer: -
Tests run: - FLEXDOCS-1150
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/SkinnableContainerExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/VScrollBarExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TabBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/BorderContainerExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/HScrollBarExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TileGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/MyBorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/BorderContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VGroup.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/SkinnableDataContainerExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/formatters/DateFormatter.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/ApplicationContainerExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NavigatorContent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGroup.as</path>

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

--- frameworks/projects/spark/src/spark/components/Label.as
+++ frameworks/projects/spark/src/spark/components/Label.as
@@ -163,6 +163,15 @@
  *  For performance, its TextLines do not contain information
  *  about individual glyphs; for more info, see
  *  flash.text.engine.TextLineValidity.STATIC.

+ *
+ *
The Label control has the following default characteristics:

+ *

+ *
Characteristic	Description

+ *
Default size	0 pixels wide by 12 pixels high if it contains no text,
+ *        and large enough ti display the text if it does

+ *
Minimum size	0 pixels

+ *
Maximum size	10000 pixels wide and 10000 pixels high

+ *

  *
  *  @mxml
The <s:Label> tag inherits all of the tag
  *  attributes of its superclass and adds the following tag attributes:


Transferred from the Adobe Open Source Subversion Repository

Revision: 13125
Author:   smgilson@adobe.com
Date:     2009-12-21T20:40:37.345444Z

Log Message:
-----------
ASDoc L10N fixes

QE notes: -
Doc notes: -
Bugs: - FLEXDOCS-885, FLEXDOCS-841,FLEXDOCS-839, FLEXDOCS-769, FLEXDOCS-545, FLEXDOCS-540
Reviewer: -
Tests run: - checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Box.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Canvas.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Tile.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/VBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/BorderContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/HBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TitleWindowAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/CheckBox.as</path>

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

--- frameworks/projects/spark/src/spark/components/Panel.as
+++ frameworks/projects/spark/src/spark/components/Panel.as
@@ -130,7 +130,7 @@
  *      ...
  *      <i>child tags</i>
  *      ...
- *  </mx:Panel>
+ *  </s:Panel>
  *  </pre>
  *
  *  @includeExample examples/PanelExample.mxml
@@ -483,12 +483,12 @@
      */
     override protected function initializeAccessibility():void
     {
-		// Do nothing... don't even call super.
-		// The PanelAccImpl needs to be attached not to the Panel
-		// but to the Panel's titleDisplay, which is a skin part
-		// which may not exist initially and which may come and go.
-		// So we have to create and attach the PanelAccImpl
-		// in partAdded() instead.
+        // Do nothing... don't even call super.
+        // The PanelAccImpl needs to be attached not to the Panel
+        // but to the Panel's titleDisplay, which is a skin part
+        // which may not exist initially and which may come and go.
+        // So we have to create and attach the PanelAccImpl
+        // in partAdded() instead.
     }

     /**
@@ -497,7 +497,7 @@
     override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
     {
         // TODO (gosmith): this is not working
-		// to extend the height of the the titleDisplay
+        // to extend the height of the the titleDisplay
         super.updateDisplayList(unscaledWidth, unscaledHeight);
         if (titleDisplay)
         {
@@ -534,19 +534,19 @@
         if (instance == titleDisplay)
         {
             titleDisplay.text = title;
-
-			// Since the PanelAccImpl must be attached to the Panel's titleDisplay
-			// instead of to the Panel itself, we delay doing this until we are
-			// sure there is a titleDisplay, and we do it again if it gets
-			// re-added.
-			// But if the TitleWindow subclass has already attached its acc impl,
-			// leave that one.
-			if (getQualifiedClassName(titleDisplay.accessibilityImplementation) !=
-				"spark.accessibility::TitleWindowAccImpl")
-			{
-				if (Panel.createAccessibilityImplementation != null)
-					Panel.createAccessibilityImplementation(this);
-			}
+
+            // Since the PanelAccImpl must be attached to the Panel's titleDisplay
+            // instead of to the Panel itself, we delay doing this until we are
+            // sure there is a titleDisplay, and we do it again if it gets
+            // re-added.
+            // But if the TitleWindow subclass has already attached its acc impl,
+            // leave that one.
+            if (getQualifiedClassName(titleDisplay.accessibilityImplementation) !=
+                "spark.accessibility::TitleWindowAccImpl")
+            {
+                if (Panel.createAccessibilityImplementation != null)
+                    Panel.createAccessibilityImplementation(this);
+            }
         }
         else if (instance == controlBarGroup)
         {
@@ -590,14 +590,14 @@
     {
         super.partRemoved(partName, instance);

-		if (instance == titleDisplay)
-		{
-			// Since the PanelAccImpl must be attached to the Panel's titleDisplay
-			// instead of to the Panel itself, we remove it from the titleDisplay
-			// when the titleDisplay is removed from the Panel.
-			titleDisplay.accessibilityImplementation = null;
-		}
-		else if (instance == controlBarGroup)
+        if (instance == titleDisplay)
+        {
+            // Since the PanelAccImpl must be attached to the Panel's titleDisplay
+            // instead of to the Panel itself, we remove it from the titleDisplay
+            // when the titleDisplay is removed from the Panel.
+            titleDisplay.accessibilityImplementation = null;
+        }
+        else if (instance == controlBarGroup)
         {
             // copy proxied values from contentGroup (if explicitely set) to contentGroupProperties


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

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

 package spark.events
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 1098
Author:   jimurphy@adobe.com
Date:     2008-04-03T21:50:39.896200Z

Log Message:
-----------
Merge 3.0.x -- 362:394, 427:429, 603:608, 644:645, 651:663, 672:676, 755:756, 763:766, 785:790, 812:814, 854:861, 862:866, 866:933,971:1009, 1050:1056 --> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/DefaultDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VRule.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/IList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/LayoutManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingConnectionHandler.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IRepeaterClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/VideoError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/HTTPRequestMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/Locale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/Responder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/MessageSerializationError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/SOAPMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IBrowserManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ComponentDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/FaultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/IViewCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/AbstractWebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Tween.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/menuClasses/IMenuItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/Preloader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ILayoutManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Spacer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/Fault.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/XMLListCollection.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectTargetFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SliderEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncToken.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/ScrollEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/CuePointManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/NumericStepperEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/BrowserManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/events/ChannelFaultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/CursorBookmark.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/WSDLLoadEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/LoadEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ListCollectionView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/FlexClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/SubscriptionInfo.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/DescribeTypeCache.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/logging/LogLogger.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageAgent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/build_framework.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/HeaderEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridDragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/DownloadProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/ITreeDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemDragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as</path>

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

--- frameworks/projects/framework/src/mx/collections/IList.as
+++ frameworks/projects/framework/src/mx/collections/IList.as
@@ -190,9 +190,11 @@
     /**
      *  Returns an Array that is populated in the same order as the IList
      *  implementation.
-     *  This method may throw an ItemPendingError.
-     *
-     *  @throws mx.collections.errors.ItemPendingError if the data is not yet completely loaded
+     *  This method can throw an ItemPendingError.
+     *
+     *  @return The array.
+     *
+     *  @throws mx.collections.errors.ItemPendingError If the data is not yet completely loaded
      *  from a remote location.
      */
     function toArray():Array;


Transferred from the Adobe Open Source Subversion Repository

Revision: 19318
Author:   harishs@adobe.com
Date:     2010-12-13T19:22:11.302860Z

Log Message:
-----------
QE notes: Pulling back rev 19300 as it makes somes tests compilation fail...
Doc notes:
Bugs:
Reviewer:
Tests run:
Is noteworthy for integration:

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ISort.as

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

--- frameworks/projects/framework/src/mx/collections/ISort.as
+++ frameworks/projects/framework/src/mx/collections/ISort.as
@@ -156,6 +156,7 @@
      *  @productversion Flex 4.5
      */
     function get unique():Boolean;
+    function set unique(value:Boolean):void;

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 8031
Author:   egeorgie@adobe.com
Date:     2009-06-20T01:10:03.288554Z

Log Message:
-----------
Scrub the TODOs in the framework, convert to FIXMEs in the new convention and assigning an owner.

Doc Notes: N/A
Bugs: N/A
Reviewer: Deepa
tests: build, checkintests

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/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/layouts/WheelLayout.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/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Timeline.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/mediaClasses/VolumeBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/DropDownController.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ModifiedCollectionView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ErrorSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.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/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/MoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SequenceInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectTargetFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/utils/BitmapUtil.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/skins/spark/FocusSkin.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/components/DropDownList.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/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LayoutElementHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.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/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/mediaClasses/StreamingVideoSource.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/PropertyChanges.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ToggleButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/RemoveActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/pathSegments/LineSegment.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/components/VideoPlayer.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/supportClasses/AnimateTransitionShaderInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AddActionInstance.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/managers/FocusManager.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/flex4/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>

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

--- frameworks/projects/spark/src/spark/components/Spinner.as
+++ frameworks/projects/spark/src/spark/components/Spinner.as
@@ -233,7 +233,7 @@
      */
     override protected function partAdded(partName:String, instance:Object):void
     {
-        // TODO: autoRepeat as a property on Spinner?
+        // FIXME (hmuller): autoRepeat as a property on Spinner?
         if (instance == incrementButton)
         {
             incrementButton.focusEnabled = false;


Replaced setTimeout() with a Timer to reduce the failure call stack by 2 levels. Now most failure stacks are 5 high.

--- as3/src/asunit/framework/FreeRunner.as
+++ as3/src/asunit/framework/FreeRunner.as
@@ -4,6 +4,7 @@
 	import asunit.textui.ResultPrinter;
 	import flash.events.Event;
 	import flash.events.EventDispatcher;
+	import flash.events.TimerEvent;
 	import flash.utils.describeType;
 	import asunit.errors.AssertionFailedError;
 	import asunit.util.ArrayIterator;
@@ -16,6 +17,7 @@
 	import flash.display.DisplayObject;
 	import flash.display.StageAlign;
 	import flash.display.StageScaleMode;
+	import flash.utils.Timer;

 	public class FreeRunner extends MovieClip implements ITestRunner {
 		protected var result:FreeTestResult;
@@ -24,10 +26,13 @@
 		protected var currentMethodName:String;
 		protected var _printer:ResultPrinter;
 		protected var startTime:Number;
+		protected var timer:Timer;

 		public function FreeRunner(printer:ResultPrinter = null) {
 			result = new FreeTestResult();
 			this.printer = printer;
+			timer = new Timer(1, 1);
+			timer.addEventListener(TimerEvent.TIMER, runNextMethod);
 			configureListeners();
 		}

@@ -89,7 +94,7 @@
 			runNextMethod();
 		}

-		protected function runNextMethod():void {
+		protected function runNextMethod(e:TimerEvent = null):void {
 			if (completed) {
 				onCompleted();
 				return;
@@ -122,9 +127,10 @@
 				currentTest.tearDown();

-			// If setTimeout() were not used, the synchronous test methods
+			// If the asynchronous Timer were not used, the synchronous test methods
 			// would keep increasing the callstack.
-			setTimeout(runNextMethod, 1);
+			timer.reset();
+			timer.start();
 		}

 		protected function onAsyncMethodCalled(e:Event):void {


fix layouts responding when an image loads late.  We are now going to watch all children for changes just about everywhere

--- frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ContainerView.as
+++ frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ContainerView.as
@@ -167,7 +167,7 @@
 				if (num > 0) performLayout(event);
 			}
 			else {
-				// otherwise, wait until the unknown sizes hav been set and then finish
+				// otherwise, wait until the unknown sizes have been set and then finish
 				host.addEventListener("sizeChanged", deferredSizeHandler);
 			}
 		}
@@ -187,7 +187,11 @@
 			completeSetup();

 			var num:Number = contentView.numElements;
-			if (num > 0) performLayout(event);
+			if (num > 0)
+            {
+                performLayout(event);
+                childrenChangedHandler(event);
+            }
 		}

 		/**
@@ -454,12 +458,8 @@
 			var n:Number = contentView.numElements;
 			for (var i:int=0; i < n; i++) {
 				var child:IUIBase = contentView.getElementAt(i) as IUIBase;
-				if (host.isWidthSizedToContent()) {
-					child.addEventListener("widthChanged",childResizeHandler);
-				}
-				if (host.isHeightSizedToContent()) {
-					child.addEventListener("heightChanged",childResizeHandler);
-				}
+				child.addEventListener("widthChanged", childResizeHandler);
+				child.addEventListener("heightChanged", childResizeHandler);
 			}
 		}


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

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

@@ -8241,4 +8249,4 @@
     }
 }

-}+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 12074
Author:   gruehle@adobe.com
Date:     2009-11-21T01:02:03.186839Z

Log Message:
-----------
Change baseColor to chromeColor.

QE notes: Tests need to be updated.
Doc notes: ASDoc has been updated. Other docs need updating.
Bugs: SDK-24298
Reviewer: Ely
Tests run: checkintests, qe cyclone
Is noteworthy for integration: Yes

Modified Paths:
--------------
112 paths were modified

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

--- frameworks/projects/framework/src/mx/preloaders/SparkDownloadProgressBar.as
+++ frameworks/projects/framework/src/mx/preloaders/SparkDownloadProgressBar.as
@@ -560,14 +560,14 @@
                       totalWidth,
                       totalHeight);

-        var baseColor:uint = getPreloaderBaseColor();
-        if (baseColor != DEFAULT_COLOR)
+        var chromeColor:uint = getPreloaderChromeColor();
+        if (chromeColor != DEFAULT_COLOR)
         {
             var colorTransform:ColorTransform = new ColorTransform();

-            colorTransform.redOffset = ((baseColor & (0xFF << 16)) >> 16) - DEFAULT_COLOR_VALUE;
-            colorTransform.greenOffset = ((baseColor & (0xFF << 8)) >> 8) - DEFAULT_COLOR_VALUE;
-            colorTransform.blueOffset = (baseColor & 0xFF) - DEFAULT_COLOR_VALUE;
+            colorTransform.redOffset = ((chromeColor & (0xFF << 16)) >> 16) - DEFAULT_COLOR_VALUE;
+            colorTransform.greenOffset = ((chromeColor & (0xFF << 8)) >> 8) - DEFAULT_COLOR_VALUE;
+            colorTransform.blueOffset = (chromeColor & 0xFF) - DEFAULT_COLOR_VALUE;

             _bgSprite.transform.colorTransform = colorTransform;
             _barFrameSprite.transform.colorTransform = colorTransform;
@@ -583,13 +583,13 @@
      *  We don't have a reliable way to get the system manager for the currently
      *  loading application. During normal progres bar instantiation, the parent.parent
      *  is the system manager loading the app, so that is what we'll use.
-     *  This is only needed to grab the "preloaderBaseColor" property from the info()
+     *  This is only needed to grab the "preloaderChromeColor" property from the info()
      *  structure.
      */
-    private function getPreloaderBaseColor():uint
+    private function getPreloaderChromeColor():uint
     {
         const sm:ISystemManager = parent.parent as ISystemManager;
-        const valueObject:Object = (sm) ? sm.info()["preloaderBaseColor"] : null;
+        const valueObject:Object = (sm) ? sm.info()["preloaderChromeColor"] : null;

         var valueString:String = valueObject as String;
         if (valueString && (valueString.charAt(0) == "#"))


Transferred from the Adobe Open Source Subversion Repository

Revision: 19940
Author:   chiedozi@adobe.com
Date:     2011-01-25T22:15:05.923796Z

Log Message:
-----------
Removing Flash @playerversion tags from ASDocs for ViewNavigator components

QE notes:
Doc notes:
Bugs: SDK-29208
Reviewer: Ryan
Tests run:
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/View.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigatorApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewReturnObject.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorAction.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewDescriptor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/events/ViewNavigatorEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorApplicationSkin.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/events/ViewNavigatorEvent.as
+++ frameworks/projects/mobilecomponents/src/spark/events/ViewNavigatorEvent.as
@@ -20,7 +20,6 @@
  *  @see spark.components.View
  *
  *  @langversion 3.0
- *  @playerversion Flash 10
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
@@ -62,7 +61,6 @@
      *  @eventType removing
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -96,7 +94,6 @@
      *  @eventType activate
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -130,7 +127,6 @@
      *  @eventType deactivate
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -157,7 +153,6 @@
      *  that resulted in the event.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -186,7 +181,6 @@
      *  Possible actions include a view being activated or deactivated.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */


Transferred from the Adobe Open Source Subversion Repository

Revision: 11256
Author:   mhorn@adobe.com
Date:     2009-10-29T15:25:28.300240Z

Log Message:
-----------
minor asdoc updates

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextSelectionHighlighting.as</path>

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

--- frameworks/projects/spark/src/spark/components/TextSelectionHighlighting.as
+++ frameworks/projects/spark/src/spark/components/TextSelectionHighlighting.as
@@ -15,7 +15,12 @@
 /**
  *  This class specifies the allowed values for the
  *  selectionHighlighting property
- *  in RichEditableText, TextInput, and TextArea.
+ *  of the RichEditableText control, and controls that use
+ *  RichEditableText as a subcomponent (Spark TextInput and Spark TextArea).
+ *
+ *  @see spark.components.RichEditableText
+ *  @see spark.components.TextArea
+ *  @see spark.components.TextInput
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 17366
Author:   rfrishbe@adobe.com
Date:     2010-08-18T20:55:44.548390Z

Log Message:
-----------
Adding touchDelay and minimumDownState styles to Button.

In addition, there are some other PARB changes (touchScroll is renamed to more generic gestureCapture).  This means TouchScrollEvent has been renamed to GestureCaptureEvent as well.

QE notes: None
Doc notes: None
Bugs: -
Reviewer: Chiedo
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/TouchScrollEvent.as" copyfrom-rev="17335" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/GestureCaptureEvent.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/styles/metadata/MobileTextFieldTextStyles.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileIconItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/TouchScrollEvent.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as
@@ -24,7 +24,7 @@
 import mx.core.mx_internal;
 import mx.events.FlexEvent;
 import mx.events.SandboxMouseEvent;
-import mx.events.TouchScrollEvent;
+import mx.events.GestureCaptureEvent;
 import mx.managers.IFocusManagerComponent;
 import mx.utils.StringUtil;

@@ -113,6 +113,27 @@
 [Style(name="iconPlacement", type="String", enumeration="top,bottom,right,left", inherit="no", theme="spark")]

 /**
+ *  When there is a touchDelay, and the user gesture is complete (user mouseUp) before
+ *  the touchDelay is over, then the component goes in to the down state for a period
+ *  of time to ensure the user gets visual feedback on this operation.  This period of
+ *  time after mouseUp that the component is in the down state is the
+ *  minimumDownStateTime.
+ *
+ *
This property exists for quick taps that occur on a component and ensures
+ *  that the user receives reasonable feedback for their button click operation.

+ *
+ *
If the mobile theme is applied, the default value for this style is 100 ms for
+ *  typical buttons.  For toggle buttons, the default value for this style is 0 ms.

+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 2.5
+ *  @productversion Flex 4.5
+ */
+[Style(name="minimumDownStateTime", type="Number", format="Time", inherit="no", minValue="0.0")]
+
+
+/**
  *  Number of milliseconds to wait after the first buttonDown
  *  event before repeating buttonDown events at each
  *  repeatInterval.
@@ -138,6 +159,26 @@
  *  @productversion Flex 4
  */
 [Style(name="repeatInterval", type="Number", format="Time", inherit="no", minValueExclusive="0.0")]
+
+/**
+ *  When in touch interaction mode, the number of milliseconds to wait before showing the
+ *  component in a visually down state.
+ *
+ *
The reason for this delay is because when a user initiates a scroll gesture, we don't want
+ *  components to flicker as they touch the screen.  By having a reasonable delay, we make
+ *  sure that the user still gets feedback when they press down on a component, but that the
+ *  feedback doesn't come too quickly that it gets displayed during a scroll gesture
+ *  operation.

+ *
+ *
If the mobile theme is applied, the default value for this style is 100 ms for
+ *  components inside of a Scroller and 0 ms for components outside of a Scroller.

+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 2.5
+ *  @productversion Flex 4.5
+ */
+[Style(name="touchDelay", type="Number", format="Time", inherit="yes", minValue="0.0")]

 //--------------------------------------
 //  Events
@@ -296,10 +337,6 @@
      *  Placeholder for mixin by ButtonAccImpl.
      */
     mx_internal static var createAccessibilityImplementation:Function;
-
-    // FIXME (rfrishbe): These should be styles
-    private static const DELAY_TO_SHOW_SELECTION_IN_TOUCH_MODE:int = 150;
-    private static const DELAY_TO_REMOVE_SELECTION_IN_TOUCH_MODE:int = 100;

     //--------------------------------------------------------------------------
     //
@@ -890,7 +927,7 @@
         addEventListener(MouseEvent.MOUSE_DOWN, mouseEventHandler);
         addEventListener(MouseEvent.MOUSE_UP, mouseEventHandler);
         addEventListener(MouseEvent.CLICK, mouseEventHandler);
-        addEventListener(TouchScrollEvent.TOUCH_SCROLL_START, touchScrollStartHandler);
+        addEventListener(GestureCaptureEvent.GESTURE_CAPTURE_START, gestureCaptureStartHandler);
     }

     /**
@@ -1046,9 +1083,18 @@
      */
     private function startSelectButtonAfterDelayTimer():void
     {
-        mouseDownSelectTimer = new Timer(DELAY_TO_SHOW_SELECTION_IN_TOUCH_MODE, 1);
-        mouseDownSelectTimer.addEventListener(TimerEvent.TIMER_COMPLETE, mouseDownSelectTimer_timerCompleteHandler);
-        mouseDownSelectTimer.start();
+        var touchDelay:int = getStyle("touchDelay");
+
+        if (touchDelay > 0)
+        {
+            mouseDownSelectTimer = new Timer(touchDelay, 1);
+            mouseDownSelectTimer.addEventListener(TimerEvent.TIMER_COMPLETE, mouseDownSelectTimer_timerCompleteHandler);
+            mouseDownSelectTimer.start();
+        }
+        else
+        {
+            mouseDownSelectTimer_timerCompleteHandler();
+        }
     }

     /**
@@ -1070,9 +1116,18 @@
      */
     private function startDeselectButtonAfterDelayTimer():void
     {
-        mouseUpDeselectTimer = new Timer(DELAY_TO_REMOVE_SELECTION_IN_TOUCH_MODE, 1);
-        mouseUpDeselectTimer.addEventListener(TimerEvent.TIMER_COMPLETE, mouseUpDeselectTimer_timerCompleteHandler);
-        mouseUpDeselectTimer.start();
+        var minimumDownStateTime:int = getStyle("minimumDownStateTime");
+
+        if (minimumDownStateTime > 0)
+        {
+            mouseUpDeselectTimer = new Timer(minimumDownStateTime, 1);
+            mouseUpDeselectTimer.addEventListener(TimerEvent.TIMER_COMPLETE, mouseUpDeselectTimer_timerCompleteHandler);
+            mouseUpDeselectTimer.start();
+        }
+        else
+        {
+            mouseUpDeselectTimer_timerCompleteHandler();
+        }
     }

     /**
@@ -1162,7 +1217,7 @@
     /**
      *  @private
      */
-    private function touchScrollStartHandler(event:TouchScrollEvent):void
+    private function gestureCaptureStartHandler(event:GestureCaptureEvent):void
     {
         // if we have a timer going on, let's stop it to make sure we don't
         // select the button later
@@ -1350,7 +1405,7 @@
     /**
      *  @private
      */
-    private function mouseDownSelectTimer_timerCompleteHandler(event:TimerEvent):void
+    private function mouseDownSelectTimer_timerCompleteHandler(event:TimerEvent = null):void
     {
         mouseCaptured = true;
     }
@@ -1358,7 +1413,7 @@
     /**
      *  @private
      */
-    private function mouseUpDeselectTimer_timerCompleteHandler(event:TimerEvent):void
+    private function mouseUpDeselectTimer_timerCompleteHandler(event:TimerEvent = null):void
     {
         buttonReleased();
         mouseCaptured = false;


Transferred from the Adobe Open Source Subversion Repository

Revision: 11339
Author:   chaase@adobe.com
Date:     2009-10-30T22:36:04.023126Z

Log Message:
-----------
Fixed various effects bugs.
23236: Easing was being ignored for properties being auto-animated (basically, the post-layout transform center). This caused a mis-match between a resizing animation and a move animation, causing the object to swim back and forth as the easing on these animations were out of sync. This also fixes the high-priority 23856 bug, which was closed as a dup of 23236.
23421: There is a player bug related to a null concatenatedMatrix property on DisplayObjects which causes a mis-calculation of mouse hit testing when the matrix is changed too late in the frame cycle. Since we do not validate our properties until enterFrame or render time, this sometimes causes Flash to detect mouseOut on objects that the mouse is still over when the object goes in and out of 3D in that frame. This fix works around that player bug by forcing matrix validation early when we detect a 2D/3D switch.
23484: The transform code in AdvancedLayoutFeatures needed to account for stretchX/stretchY when using computedMatrix and computedMatrix3D. These matrices assume pre-stretched values. Since our transforms expect post-stretched values, they need to divide out the stretchX/Y values before using these matrices.

QE notes: None
Doc notes: None
Bugs: sdk-23236, sdk-23421, sdk-23484
Reviewer: Evtim
Tests run: ant checkintests, Mustella spark/effects
Is noteworthy for integration: Yes

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

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

--- frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as
+++ frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as
@@ -824,7 +824,7 @@
         var transformedP:Point;
         tempLocalPosition =
             localPosition ?
-            localPosition :
+            localPosition.clone() :
             new Vector3D();

         if (is3D || propertyIs3D)
@@ -839,6 +839,9 @@

             if (postLayoutPosition != null)
             {
+                // computedMatrix factor in stretchXY, so divide it out of position first
+                tempLocalPosition.x /= stretchX;
+                tempLocalPosition.y /= stretchY;
                 transformedV = transformVector(computedMatrix3D, tempLocalPosition);
                 postLayoutPosition.x = transformedV.x;
                 postLayoutPosition.y = transformedV.y;
@@ -859,6 +862,9 @@

             if (postLayoutPosition != null)
             {
+                // computedMatrix factor in stretchXY, so divide it out of position first
+                localP.x /= stretchX;
+                localP.y /= stretchY;
                 transformedP = computedMatrix.transformPoint(localP);
                 postLayoutPosition.x = transformedP.x;
                 postLayoutPosition.y = transformedP.y;
@@ -881,7 +887,7 @@
         {
             if (targetPosition != null)
             {
-                var adjustedLayoutCenterV:Vector3D = transformVector(layoutMatrix3D,transformCenter);
+                var adjustedLayoutCenterV:Vector3D = transformVector(layoutMatrix3D, transformCenter);
                 if (adjustedLayoutCenterV.equals(targetPosition) == false)
                 {
                     layout.translateBy(targetPosition.x - adjustedLayoutCenterV.x,
@@ -892,7 +898,11 @@
             }
             if (targetPostLayoutPosition != null && _postLayoutTransformOffsets != null)
             {
-                var adjustedComputedCenterV:Vector3D = transformVector(computedMatrix3D,transformCenter);
+                // computedMatrix factor in stretchXY, so divide it out of transform center first
+                var tmpPos:Vector3D = new Vector3D(transformCenter.x, transformCenter.y, transformCenter.z);
+                tmpPos.x /= stretchX;
+                tmpPos.y /= stretchY;
+                var adjustedComputedCenterV:Vector3D = transformVector(computedMatrix3D, tmpPos);
                 if (adjustedComputedCenterV.equals(targetPostLayoutPosition) == false)
                 {
                     postLayoutTransformOffsets.x +=targetPostLayoutPosition.x - adjustedComputedCenterV.x;
@@ -919,6 +929,9 @@

             if (targetPostLayoutPosition != null && _postLayoutTransformOffsets != null)
             {
+                // computedMatrix factor in stretchXY, so divide it out of transform center first
+                transformCenterP.x /= stretchX;
+                transformCenterP.y /= stretchY;
                 var currentPostLayoutPosition:Point =
                     computedMatrix.transformPoint(transformCenterP);
                 if (currentPostLayoutPosition.x != targetPostLayoutPosition.x ||


- fixed repositioning problems when exiting fullscreen

--- src/flash/FlashMediaElement.as
+++ src/flash/FlashMediaElement.as
@@ -374,6 +374,9 @@
 			// calculate ratios
 			var stageRatio, nativeRatio;

+			_video.x = 0;
+			_video.y = 0;
+
 			if(fullscreen == true) {
 				stageRatio = flash.system.Capabilities.screenResolutionX/flash.system.Capabilities.screenResolutionY;
 				nativeRatio = _nativeVideoWidth/_nativeVideoHeight;
@@ -390,8 +393,7 @@
 				} else if (stageRatio == nativeRatio) {
 					_video.height = flash.system.Capabilities.screenResolutionY;
 					_video.width = flash.system.Capabilities.screenResolutionX;
-					_video.x = 0;
-					_video.y = 0;
+
 				}
 			} else {
 				stageRatio = _stageWidth/_stageHeight;
@@ -409,8 +411,6 @@
 				} else if (stageRatio == nativeRatio) {
 					_video.height = _stageHeight;
 					_video.width = _stageWidth;
-					_video.x = 0;
-					_video.y = 0;
 				}
 			}


need to fix colorname now that baseclass also sets it

--- frameworks/projects/mobilecomponents/src/spark/components/calendarClasses/DateSpinnerItemRenderer.as
+++ frameworks/projects/mobilecomponents/src/spark/components/calendarClasses/DateSpinnerItemRenderer.as
@@ -150,5 +150,27 @@
             labelDisplay.alpha = enabled ? 1 : .5;
         }
     }
+
+    override public function set selected(value:Boolean):void
+    {
+        var oldValue:Boolean = selected;
+        super.selected = value;
+        if(oldValue != selected)
+        {
+            try
+            {
+                if (data["_emphasized_"] != undefined)
+                    _colorName = "accentColor"; // highlighted item
+                else
+                    _colorName = "color"; // reset to use standard color
+            }
+            catch (e:Error)
+            {
+                // Do nothing
+            }
+            setTextProperties();
+        }
+    }
+
 }
 }


Modified for JS-side event handling.

Modified for JS-side event handling.

--- frameworks/projects/HTML/as/src/org/apache/flex/html/beads/controllers/ItemRendererMouseController.as
+++ frameworks/projects/HTML/as/src/org/apache/flex/html/beads/controllers/ItemRendererMouseController.as
@@ -21,8 +21,18 @@
 	import org.apache.flex.core.IBeadController;
 	import org.apache.flex.core.ISelectableItemRenderer;
 	import org.apache.flex.core.IStrand;
+COMPILE::AS3 {
 	import org.apache.flex.events.Event;
-    import org.apache.flex.events.MouseEvent;
+	import org.apache.flex.events.MouseEvent;
+}
+COMPILE::JS {
+	import org.apache.flex.core.UIBase;
+	import org.apache.flex.core.WrappedHTMLElement;
+	import org.apache.flex.events.BrowserEvent;
+	import goog.events.Event;
+	import goog.events.EventType;
+	import goog.bind;
+}

 	/**
 	 *  The ItemRendererMouseController class bead handles mouse events in itemRenderers. This
@@ -33,6 +43,8 @@
 	 *  @playerversion Flash 10.2
 	 *  @playerversion AIR 2.6
 	 *  @productversion FlexJS 0.0
+	 *  @flexjsignoreimport goog.events.Event
+     *  @flexjsignoreimport goog.bind
 	 */
 	public class ItemRendererMouseController implements IBeadController
 	{
@@ -63,14 +75,27 @@
 		{
 			_strand = value;
             renderer = value as ISelectableItemRenderer;
-            renderer.addEventListener(MouseEvent.ROLL_OVER, rollOverHandler);
-            renderer.addEventListener(MouseEvent.ROLL_OUT, rollOutHandler);
-            renderer.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
+
+			COMPILE::AS3 {
+	            renderer.addEventListener(MouseEvent.ROLL_OVER, rollOverHandler);
+	            renderer.addEventListener(MouseEvent.ROLL_OUT, rollOutHandler);
+	            renderer.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
+			}
+
+			COMPILE::JS {
+				var element:WrappedHTMLElement = (_strand as UIBase).element;
+
+				goog.events.listen(element, goog.events.EventType.MOUSEOVER, this.handleMouseOver);
+				goog.events.listen(element, goog.events.EventType.MOUSEOUT, this.handleMouseOut);
+				goog.events.listen(element, goog.events.EventType.MOUSEDOWN, this.handleMouseDown);
+				goog.events.listen(element, goog.events.EventType.MOUSEUP, this.handleMouseUp);
+			}
 		}

 		/**
 		 * @private
 		 */
+		COMPILE::AS3
 		protected function rollOverHandler(event:MouseEvent):void
 		{
 			var target:ISelectableItemRenderer = event.target as ISelectableItemRenderer;
@@ -81,9 +106,20 @@
 			}
 		}

+		COMPILE::JS
+		protected function handleMouseOver(event:BrowserEvent):void
+		{
+			var target:ISelectableItemRenderer = event.target as ISelectableItemRenderer;
+			if (target) {
+				target.hovered = true;
+				target.dispatchEvent(new Event("rollover",true));
+			}
+		}
+
 		/**
 		 * @private
 		 */
+		COMPILE::AS3
 		protected function rollOutHandler(event:MouseEvent):void
 		{
 			var target:ISelectableItemRenderer = event.target as ISelectableItemRenderer;
@@ -93,10 +129,22 @@
                 target.down = false;
 			}
 		}
+
+		COMPILE::JS
+		protected function handleMouseOut(event:BrowserEvent):void
+		{
+			var target:ISelectableItemRenderer = event.target as ISelectableItemRenderer;
+			if (target)
+			{
+				target.hovered = false;
+				target.down = false;
+			}
+		}

 		/**
 		 * @private
 		 */
+		COMPILE::AS3
 		protected function mouseDownHandler(event:MouseEvent):void
 		{
 			var target:ISelectableItemRenderer = event.currentTarget as ISelectableItemRenderer;
@@ -107,9 +155,21 @@
 			}
 		}

+		COMPILE::JS
+		protected function handleMouseDown(event:BrowserEvent):void
+		{
+			var target:ISelectableItemRenderer = event.currentTarget as ISelectableItemRenderer;
+			if (target)
+			{
+				target.down = true;
+				target.hovered = false;
+			}
+		}
+
 		/**
 		 * @private
 		 */
+		COMPILE::AS3
 		protected function mouseUpHandler(event:MouseEvent):void
 		{
 			var target:ISelectableItemRenderer = event.currentTarget as ISelectableItemRenderer;
@@ -120,6 +180,17 @@
 				target.dispatchEvent(new Event("selected"));
 			}
 		}
+
+		COMPILE::JS
+		protected function handleMouseUp(event:BrowserEvent):void
+		{
+			var target:ISelectableItemRenderer = event.currentTarget as ISelectableItemRenderer;
+			if (target)
+			{
+				target.selected = true;
+				target.dispatchEvent(new Event("selected"));
+			}
+		}

 	}
 }


Rename `enable-chrome' => `skin:show-chrome' and `enable-title' => `skin:show-title'.

--- src/goplayer/ConfigurationParser.as
+++ src/goplayer/ConfigurationParser.as
@@ -10,7 +10,7 @@
     public static const VALID_PARAMETERS : Array = [
       "api", "tracker", "skin", "video", "bitrate",
       "enablertmp", "autoplay", "loop",
-      "enablechrome", "enabletitle" ]
+      "skin:showchrome", "skin:showtitle" ]

     private const result : Configuration = new Configuration

@@ -34,8 +34,8 @@
       result.enableRTMP = getBoolean("enablertmp", true)
       result.enableAutoplay = getBoolean("autoplay", false)
       result.enableLooping = getBoolean("loop", false)
-      result.enableChrome = getBoolean("enablechrome", true)
-      result.enableTitle = getBoolean("enabletitle", true)
+      result.enableChrome = getBoolean("skin:showchrome", true)
+      result.enableTitle = getBoolean("skin:showtitle", true)
     }

     public static function parse(parameters : Object) : Configuration
@@ -59,7 +59,7 @@
     }

     private static function normalize(name : String) : String
-    { return name.toLowerCase().replace(/[^a-z]/g, "") }
+    { return name.toLowerCase().replace(/[^a-z:]/g, "") }

     private static function reportUnknownParameter(name : String) : void
     { debug("Error: Unknown parameter: " + name) }


Added a check at creation of scrollbars to hide them if mouse is not over and ScrollPolicy is VISIBLE_ON_HOVER

--- src/org/openPyro/core/UIContainer.as
+++ src/org/openPyro/core/UIContainer.as
@@ -14,7 +14,8 @@
 	import org.openPyro.layout.AbsoluteLayout;
 	import org.openPyro.layout.IContainerMeasurementHelper;
 	import org.openPyro.layout.ILayout;
-
+	import org.openPyro.utils.MouseUtil;
+
 	/**
 	 * Event dispatched when content resizing causes the scrollbars to
 	 * change (either appear or disappear)
@@ -577,7 +578,12 @@
 			$addChild(_verticalScrollBar);
 			_verticalScrollBar.addEventListener(MouseEvent.MOUSE_UP, function(event:MouseEvent):void{
 				mouseOverDisabled = false;
-			})
+			});
+			if(this._verticalScrollPolicy == ScrollPolicy.VISIBLE_ON_HOVER){
+				if(!MouseUtil.isMouseOver(this)){
+					_verticalScrollBar.alpha = 0;
+				}
+			}
 		}

 		/**
@@ -625,6 +631,11 @@
 			_horizontalScrollBar.skin = IScrollableContainerSkin(_skin).horizontalScrollBarSkin;
 			_horizontalScrollBar.visible = false;
 			$addChild(_horizontalScrollBar);
+			if(this._horizontalScrollPolicy == ScrollPolicy.VISIBLE_ON_HOVER){
+				if(!MouseUtil.isMouseOver(this)){
+					_horizontalScrollBar.alpha = 0;
+				}
+			}
 		}

 		protected function onHorizontalScrollBarSizeValidated(event:PyroEvent):void


Minor bugfix: vertical scrollbar fadein/fadeout now doesnt happen if the content is scrolling Todo: same thing for horizontal scrollbar

--- src/org/openPyro/core/UIContainer.as
+++ src/org/openPyro/core/UIContainer.as
@@ -80,6 +80,15 @@

 		public static var mouseOverDisabled:Boolean = false;

+
+		/**
+		 * This flag is used to check at any time if the content is being scrolled verically.
+		 * Its useful when, for example, scrollpolicy is set to visible on hover but the act
+		 * of rolling off the content fades the scrollbar only if the content is not being
+		 * scrolled.
+		 */
+		protected var _scrollingVertically:Boolean = false;
+
 		protected function handleMouseOver(event:MouseEvent):void{
 			if(UIContainer.mouseOverDisabled){
 				event.stopImmediatePropagation();
@@ -92,7 +101,7 @@
 				}
 			}
 			if(this._verticalScrollPolicy == ScrollPolicy.VISIBLE_ON_HOVER){
-				if(_verticalScrollBar){
+				if(_verticalScrollBar && !_scrollingVertically){
 					Effect.on(_verticalScrollBar).cancelCurrent().fadeIn(1);
 				}
 			}
@@ -106,23 +115,44 @@
 				}
 			}
 			if(this._verticalScrollPolicy == ScrollPolicy.VISIBLE_ON_HOVER){
-				if(_verticalScrollBar){
+				if(_verticalScrollBar && !_scrollingVertically){
 					Effect.on(_verticalScrollBar).cancelCurrent().fadeOut(1);
 				}
 			}
 		}

+		/**
+		 * @private
+		 */
 		public function set horizontalScrollPolicy(policy:String):void{
 			_horizontalScrollPolicy = policy;
 		}
+
+		/**
+		 * Sets the behavior of the scrollbar for a UIContainer.
+		 * Note that if you set the scrollpolicy to FADE_ON_HOVER,
+		 * its advisable to set the backgroundPainter so that
+		 * the calculation of rollout/rollover does not get buggy as
+		 * the mouse rolls over the children of the UIContainer
+		 */
 		public function get horizontalScrollPolicy():String{
 			return _horizontalScrollPolicy;
 		}

+		/**
+		 * @private
+		 */
 		public function set verticalScrollPolicy(policy:String):void{
 			_verticalScrollPolicy = policy;
 		}

+		/**
+		 * Sets the behavior of the scrollbar for a UIContainer.
+		 * Note that if you set the scrollpolicy to FADE_ON_HOVER,
+		 * its advisable to set the backgroundPainter so that
+		 * the calculation of rollout/rollover does not get buggy as
+		 * the mouse rolls over the children of the UIContainer
+		 */
 		public function get verticalScrollPolicy():String{
 			return _verticalScrollPolicy;
 		}
@@ -575,9 +605,11 @@
 			_verticalScrollBar.addEventListener(Event.ADDED_TO_STAGE, function():void{
 				_verticalScrollBar.addEventListener(MouseEvent.MOUSE_DOWN, function(event:MouseEvent):void{
 					mouseOverDisabled = true;
+					_scrollingVertically = true;
 				})
 				_verticalScrollBar.stage.addEventListener(MouseEvent.MOUSE_UP, function(event:MouseEvent):void{
 					mouseOverDisabled = false;
+					_scrollingVertically = false;
 				})
 			});
 			_verticalScrollBar.addEventListener(PyroEvent.SIZE_VALIDATED, onVerticalScrollBarSizeValidated);


Slight changes to Joel's parent injector fixes

--- src/org/swiftsuspenders/Injector.as
+++ src/org/swiftsuspenders/Injector.as
@@ -269,9 +269,11 @@
 		private function getConfigurationForRequest(clazz : Class, named : String) : InjectionConfig
 		{
 			var requestName : String = getQualifiedClassName(clazz);
-            var config:InjectionConfig = m_mappings[requestName + '#' + named];
-            if(m_parentInjector && !config && m_parentInjector.hasMapping(clazz, named))
-                config = getParentMapping(clazz, named);
+			var config:InjectionConfig = m_mappings[requestName + '#' + named];
+			if(!config && m_parentInjector && m_parentInjector.hasMapping(clazz, named))
+			{
+				config = getParentMapping(clazz, named);
+			}
 			return config;
 		}


- change: Optimized box model debug messages, they now show 'auto' instead of '0px' for positioning properties that are left 'auto'

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

--- src/reprise/ui/DocumentView.as
+++ src/reprise/ui/DocumentView.as
@@ -413,11 +413,14 @@
 		{
 			m_currentDebugElement = element;
 			var style : ComputedStyles = element.style;
+			var autoFlags : Object = element.autoFlags;
 			var output : String = '\nElement: ' + element +
 				'\nSelectorpath: ' + element.selectorPath.split('@').join('') + '\n' +
 				'position: ' + (style.position || 'static') + ', ';
-			output += 'top: ' + style.top + 'px, right: ' + style.right +
-				'px, bottom: ' + style.bottom + 'px, left: ' + style.left + 'px\n';
+			output += 'top: ' + (autoFlags.top ? 'auto' : style.top + 'px') +
+				', right: ' + (autoFlags.right ? 'auto' : style.right + 'px') +
+				', bottom: ' + (autoFlags.bottom ? 'auto' : style.bottom + 'px') +
+				', left: ' + (autoFlags.left ? 'auto' : style.left + 'px') + '\n';
 			output += 'margin: ' + style.marginTop + 'px ' + style.marginRight + 'px ' +
 				style.marginBottom + 'px ' + style.marginLeft + 'px\n';


Momma said delete that cruft.

Momma said delete that cruft.

git-svn-id: b675b909355d5cf946977f44a8ec5a6ceb3782e4@147 ed5b42cb-e716-0410-a449-f6a68f950b19

--- src/as/com/threerings/flex/CommandMenu.as
+++ src/as/com/threerings/flex/CommandMenu.as
@@ -43,7 +43,6 @@
         verticalScrollPolicy = ScrollPolicy.OFF;

         addEventListener(MenuEvent.ITEM_CLICK, itemClicked);
-//        addEventListener(MenuEvent.MENU_SHOW, handleMenuShown);
     }

     /**


By properly using the nifty PopUpUtil, we can simplify and correct this code all at once.

git-svn-id: b675b909355d5cf946977f44a8ec5a6ceb3782e4@520 ed5b42cb-e716-0410-a449-f6a68f950b19

--- src/as/com/threerings/flex/CommandMenu.as
+++ src/as/com/threerings/flex/CommandMenu.as
@@ -185,7 +185,7 @@
             y = y - getExplicitOrMeasuredHeight();
         }

-        PopUpUtil.fit(this);
+        PopUpUtil.fitInRect(this, _fitting || screen);
     }

     /**
@@ -253,36 +253,16 @@

         // if we're lefting, upping or fitting make sure our submenu does so as well
         var submenu :Menu = IMenuItemRenderer(row).menu;
-        var lefting :Boolean = _lefting;
-        var upping :Boolean = _upping;
-        var fitting :Rectangle = _fitting != null ? _fitting :
-            new Rectangle(0, 0, stage.stageWidth, stage.stageHeight);
-        if (submenu.x + submenu.getExplicitOrMeasuredWidth() > fitting.right) {
-            lefting = true;
-        }
-        if (submenu.y + submenu.getExplicitOrMeasuredHeight() > fitting.bottom) {
-            upping = true;
-        }
-
-        if (lefting) {
+        if (_lefting) {
             submenu.x -= submenu.getExplicitOrMeasuredWidth();
         }
-        if (upping) {
+        if (_upping) {
             var displayObj :DisplayObject = DisplayObject(row);
             var rowLoc :Point = displayObj.localToGlobal(new Point(row.x, row.y));
             submenu.y = rowLoc.y - submenu.getExplicitOrMeasuredHeight() + displayObj.height;
         }

-        // if we've poped out of the boundaries, just snap it to the lower right corner, or upper
-        // if upping, left if lefting
-        if (submenu.x < fitting.left) {
-            submenu.x = lefting ? fitting.left : Math.max(
-                    fitting.right - submenu.getExplicitOrMeasuredWidth(), fitting.left);
-        }
-        if (submenu.y < fitting.top) {
-            submenu.y = upping ? fitting.top : Math.max(
-                    fitting.bottom - submenu.getExplicitOrMeasuredHeight(), fitting.top);
-        }
+        PopUpUtil.fitInRect(submenu, _fitting || screen);
     }

     // from List


fixed bug in AbstractDataSource.findHierarchyNode() - wasn't calling getHierarchyRoot()

--- WeaveData/src/weave/data/DataSources/AbstractDataSource.as
+++ WeaveData/src/weave/data/DataSources/AbstractDataSource.as
@@ -142,8 +142,8 @@
 		 * @inheritDoc
 		 */
 		public function findHierarchyNode(metadata:Object):IWeaveTreeNode
-		{
-			var path:Array = HierarchyUtils.findPathToNode(_rootNode, generateHierarchyNode(metadata));
+		{
+			var path:Array = HierarchyUtils.findPathToNode(getHierarchyRoot(), generateHierarchyNode(metadata));
 			if (path)
 				return path[path.length - 1];
 			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@1261984 13f79535-47bb-0310-9956-ffa450edef68

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


Made a small tweak to try to force jenkins to have another go as previous CI build hung

--- src/org/robotlegs/v2/core/impl/PackageFilter.as
+++ src/org/robotlegs/v2/core/impl/PackageFilter.as
@@ -85,8 +85,6 @@

 		private function createDescriptor():String
 		{
-			trace("PackageFilter::createDescriptor()", _anyOfPackages, _noneOfPackages);
-
 			return "require: " + _requirePackage
 				+ ", any of: " + _anyOfPackages.toString()
 				+ ", none of: " + _noneOfPackages.toString();


Transferred from the Adobe Open Source Subversion Repository

Revision: 2462
Author:   jimurphy@adobe.com
Date:     2008-07-14T19:13:06.620116Z

Log Message:
-----------
gumbo push to trunk

Modified Paths:
--------------
214 paths were modified

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

--- frameworks/projects/framework/src/mx/states/RemoveChild.as
+++ frameworks/projects/framework/src/mx/states/RemoveChild.as
@@ -14,7 +14,7 @@

 import flash.display.DisplayObject;
 import flash.display.DisplayObjectContainer;
-import mx.core.mx_internal;
+
 import mx.core.UIComponent;

 /**
@@ -43,9 +43,9 @@
  *
  *  @includeExample examples/StatesExample.mxml
  */
-public class RemoveChild implements IOverride
+public class RemoveChild extends OverrideBase implements IOverride
 {
-	include "../core/Version.as";
+    include "../core/Version.as";

     //--------------------------------------------------------------------------
     //
@@ -55,15 +55,15 @@

     /**
      *  Constructor.
-	 *
-	 *  @param target The child to remove from the view.
+     *
+     *  @param target The child to remove from the view.
      */
-	public function RemoveChild(target:DisplayObject = null)
-	{
-		super();
+    public function RemoveChild(target:DisplayObject = null)
+    {
+        super();

-		this.target = target;
-	}
+        this.target = target;
+    }

     //--------------------------------------------------------------------------
     //
@@ -75,18 +75,18 @@
      *  @private
      *  Parent of the removed child.
      */
-	private var oldParent:DisplayObjectContainer;
+    private var oldParent:DisplayObjectContainer;

     /**
      *  @private
      *  Index of the removed child.
      */
-	private var oldIndex:int;
-
-	/**
-	 *  @private
-	 */
-	private var removed:Boolean;
+    private var oldIndex:int;
+
+    /**
+     *  @private
+     */
+    private var removed:Boolean;

     //--------------------------------------------------------------------------
     //
@@ -95,15 +95,15 @@
     //--------------------------------------------------------------------------

     //----------------------------------
-	//  target
+    //  target
     //----------------------------------

-	[Inspectable(category="General")]
+    [Inspectable(category="General")]

-	/**
-	 *  The child to remove from the view.
-	 */
-	public var target:DisplayObject;
+    /**
+     *  The child to remove from the view.
+     */
+    public var target:Object;

     //--------------------------------------------------------------------------
     //
@@ -113,8 +113,8 @@

     /**
      *  IOverride interface method; this class implements it as an empty method.
-	 *
-	 *  @copy IOverride#initialize()
+     *
+     *  @copy IOverride#initialize()
      */
     public function initialize():void
     {
@@ -123,36 +123,40 @@
     /**
      *  @inheritDoc
      */
-	public function apply(parent:UIComponent):void
-	{
-		removed = false;
-
-		if (target.parent)
-		{
-			oldParent = target.parent;
-			oldIndex = oldParent.getChildIndex(target);
-			oldParent.removeChild(target);
-			removed = true;
-		}
-	}
+    public function apply(parent:UIComponent):void
+    {
+        removed = false;
+
+        var obj:* = getOverrideContext(target, parent);
+
+        if ((obj is DisplayObject) && obj.parent)
+        {
+            oldParent = obj.parent;
+            oldIndex = oldParent.getChildIndex(obj);
+            oldParent.removeChild(obj);
+            removed = true;
+        }
+    }

-	/**
+    /**
      *  @inheritDoc
-	 */
-	public function remove(parent:UIComponent):void
-	{
-		if (removed)
-		{
-			oldParent.addChildAt(target, oldIndex);
+     */
+    public function remove(parent:UIComponent):void
+    {
+        var obj:* = getOverrideContext(target, parent);
+
+        if (removed && (obj is DisplayObject))
+        {
+            oldParent.addChildAt(obj, oldIndex);

-			// Make sure any changes made while the child was removed are reflected
-			// properly.
-			if (target is UIComponent)
-				UIComponent(target).mx_internal::updateCallbacks();
+            // Make sure any changes made while the child was removed are reflected
+            // properly.
+            if (obj is UIComponent)
+                UIComponent(target).mx_internal::updateCallbacks();

-			removed = false;
-		}
-	}
+            removed = false;
+        }
+    }
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 14222
Author:   jszeto@adobe.com
Date:     2010-02-18T00:05:08.090078Z

Log Message:
-----------
ComboBox copy bug fix

http://bugs.adobe.com/jira/browse/SDK-25278 - Copying the selected text in a closed ComboBox causes it to open its drop-down

The CopyOperation was triggering opening the dropDown. Added a listener for the TextInput "changing" event, storing the text value. Then in the change handler, we only open the dropDown if the text has changed.

QE notes: add test
Doc notes: n/a
Bugs: SDK-25278
Reviewer: Kevin
Tests run: ComboBox, checkintests
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/components/ComboBox.as
+++ frameworks/projects/spark/src/spark/components/ComboBox.as
@@ -253,6 +253,8 @@

     private var userTypedIntoText:Boolean;

+    private var previousTextInputText:String = "";
+
     //--------------------------------------------------------------------------
     //
     //  Properties
@@ -690,6 +692,7 @@
         {
             updateLabelDisplay();
             textInput.addEventListener(TextOperationEvent.CHANGE, textInput_changeHandler);
+            textInput.addEventListener(TextOperationEvent.CHANGING, textInput_changingHandler);
             textInput.addEventListener(FocusEvent.FOCUS_IN, textInput_focusInHandler, true);
             textInput.addEventListener(FocusEvent.FOCUS_OUT, textInput_focusOutHandler, true);
             textInput.maxChars = maxChars;
@@ -710,6 +713,7 @@
         if (instance == textInput)
         {
             textInput.removeEventListener(TextOperationEvent.CHANGE, textInput_changeHandler);
+            textInput.removeEventListener(TextOperationEvent.CHANGING, textInput_changingHandler);
             textInput.removeEventListener(FocusEvent.FOCUS_IN, textInput_focusInHandler, true);
             textInput.removeEventListener(FocusEvent.FOCUS_OUT, textInput_focusOutHandler, true);
         }
@@ -891,6 +895,14 @@
     /**
      *  @private
      */
+    private function textInput_changingHandler(event:TextOperationEvent):void
+    {
+        previousTextInputText = textInput.text;
+    }
+
+    /**
+     *  @private
+     */
     protected function textInput_changeHandler(event:TextOperationEvent):void
     {
         userTypedIntoText = true;
@@ -902,7 +914,7 @@
         {
             super.changeHighlightedSelection(CUSTOM_SELECTED_ITEM);
         }
-        else
+        else if (previousTextInputText != textInput.text)
         {
             if (openOnInput)
             {


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

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

 package spark.components


Transferred from the Adobe Open Source Subversion Repository

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

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

Also, cleaning up text reflow for TextAreaSkin

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

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

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as
@@ -211,8 +211,8 @@
      */
     protected function layoutBorder(bgImg:DisplayObject, unscaledWidth:Number, unscaledHeight:Number):void
     {
-        resizeElement(bgImg, unscaledWidth, unscaledHeight);
-        positionElement(bgImg, 0, 0);
+        setElementSize(bgImg, unscaledWidth, unscaledHeight);
+        setElementPosition(bgImg, 0, 0);
     }

     override protected function drawChromeColor(chromeColorGraphics:Graphics, unscaledWidth:Number, unscaledHeight:Number):void


Transferred from the Adobe Open Source Subversion Repository

Revision: 3763
Author:   rfrishbe@adobe.com
Date:     2008-10-21T05:32:47.715962Z

Log Message:
-----------
Adding clipContent to FxContainer and FxDataContainer.  The rest of the IViewport interface should be added to these classes as well, but that'll come later.

Also fixing some minor ASDoc problems in GroupBase.

QE Notes: We'll need to add tests for the IViewport properties in FxDataContainer and FxContainer when it gets fully added.
Doc Notes: None
Bugs: SDK-17670
Reviewer: Glenn

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

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

--- frameworks/projects/spark/src/spark/components/SkinnableContainer.as
+++ frameworks/projects/spark/src/spark/components/SkinnableContainer.as
@@ -192,7 +192,32 @@
     //  Properties proxied to contentHolder
     //
     //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  clipContent
+    //----------------------------------
+
+    private var _clipContent:Boolean;
+
+    /**
+     *  @copy mx.core.IViewport#clipContent
+     */
+    public function get clipContent():Boolean
+    {
+        return (contentGroup) ? contentGroup.clipContent : _clipContent;
+    }
+
+    /**
+     *  @private
+     */
+    public function set clipContent(value:Boolean):void
+    {
+        _clipContent = value;

+        if (contentGroup)
+            contentGroup.clipContent = value;
+    }
+
     //----------------------------------
     //  content
     //----------------------------------
@@ -398,6 +423,7 @@
             }
             if (_layout != null)
                 contentGroup.layout = _layout;
+            contentGroup.clipContent = _clipContent;

             contentGroup.addEventListener(
                 ItemExistenceChangedEvent.ITEM_ADD, contentGroup_itemAddedHandler);