Transferred from the Adobe Open Source Subversion Repository

Revision: 4192
Author:   rfrishbe@adobe.com
Date:     2008-11-26T19:39:48.250759Z

Log Message:
-----------
This change will allow us to handle having the same items multiple times in the list, for example “Ryan Frishberg” can now be in the list twice.

In order to do it, rather than using the item to find the itemRenderer or to tell the list that an item’s been selected, we need to use the index instead.  Methods like getItemRenderer and getRendererItem were changed to accept an index rather than an item.  Other methods were added, like isItemIndexSelected() because I felt isItemSelected() is still a useful method to have, even though it’s ambiguous when multiple items come in to play.

For now, I just tried to change the parameters where needed.  Some of the names of the methods were updated to reflect the change, but others weren’t because PARB is going to review a lot of this on Thursday, so it’s easier to make a name change only once (and after PARB approves it).

I also added properties to ItemExistanceChangeEvent.as.  In a later checkin, I’ll create a separate RendererExistanceChangeEvent.as for DataGroups and use ItemExistanceChangeEvents only for IVisualElementContainers (Halo containers  will also dispatch these events).  However, this needs to be PARB reviewed, so I figured it’s best to hold off on this change until later.

Also included in this checkin are some small ASDoc updates to no longer use any of the “addItem(), numItems”, and instead use addElement() or numElements where appropriate.

QE Notes: Steve's excluded any failing tests.  As noted in the checkin, there will probably be some renaming related to these methods.  Also, add some tests for duplicate items now.
Doc Notes: None
Bugs: SDK-17912
Reviewer: Glenn
tests: checkintests, mustella DataGroup, FxDataContainer, FxList

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/events/ItemExistenceChangedEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/components/ButtonBar.as
+++ frameworks/projects/spark/src/spark/components/ButtonBar.as
@@ -18,11 +18,8 @@
 import flash.ui.Keyboard;

 import mx.components.baseClasses.FxListBase;
-import mx.core.ClassFactory;
 import mx.core.IFactory;
 import mx.events.ItemExistenceChangedEvent;
-import mx.layout.HorizontalLayout;
-import mx.layout.VerticalLayout;
 import mx.managers.IFocusManagerComponent;

 [IconFile("FxButtonBar.png")]
@@ -114,30 +111,24 @@
     /**
      *  @private
      */
-    override protected function itemSelected(item:Object, selected:Boolean):void
-    {
-        var item:Object = dataGroup.getItemRenderer(item);
-
-        if (item)
+    override protected function itemSelected(index:int, selected:Boolean):void
+    {
+        super.itemSelected(index, selected);
+
+        var renderer:Object = dataGroup.getItemRenderer(index);
+
+        if (renderer)
         {
-            if ("selected" in item)
-                item.selected = selected;
+            if ("selected" in renderer)
+                renderer.selected = selected;
             else
             {
                 // TODO: localize below (and other messages)
-                throw new Error("The item needs to support the \"selected\" property " +
+                throw new Error("The item renderer needs to support the \"selected\" property " +
                         "for selection to work.  An easy way to accomplish this is by wrapping " +
                         "your component in a DefaultComplexItemRenderer");
             }
         }
-    }
-
-    /**
-     *  Returns true if the item is selected.
-     */
-    public function isItemSelected(item:Object):Boolean
-    {
-        return item == selectedItem;
     }

     /**
@@ -209,13 +200,14 @@
      */
     private function dataGroup_itemAddHandler(event:ItemExistenceChangedEvent):void
     {
-        var renderer:Object = dataGroup.getItemRenderer(event.relatedObject);
+        var renderer:Object = event.renderer;
+        var index:int = event.index;

         if (renderer)
             renderer.addEventListener("click", item_clickHandler);

-        if (isItemSelected(event.relatedObject))
-            itemSelected(event.relatedObject, true);
+        if (isItemIndexSelected(index))
+            itemSelected(index, true);
     }

     /**
@@ -224,7 +216,7 @@
      */
     private function dataGroup_itemRemoveHandler(event:ItemExistenceChangedEvent):void
     {
-        var renderer:Object = dataGroup.getItemRenderer(event.relatedObject);
+        var renderer:Object = event.renderer;

         if (renderer)
             renderer.removeEventListener("click", item_clickHandler);
@@ -236,9 +228,9 @@
      */
     private function item_clickHandler(event:MouseEvent):void
     {
-        var item:Object = dataGroup.getRendererItem(DisplayObject(event.currentTarget));
+        var index:int = dataGroup.getRendererItem(event.currentTarget);

-		selectedItem = item;
+		selectedIndex = index;
     }

     /**
@@ -249,19 +241,17 @@
     private function buttonBar_focusInHandler(event:FocusEvent):void
     {
 		var currentButton:IFocusManagerComponent;
-		var item:Object;
 		var index:int;
 		var renderer:Object;

 		currentButton = focusManager.getFocus();
-		item = dataGroup.getRendererItem(DisplayObject(currentButton));
-		index = dataProvider.getItemIndex(item);
+		index = dataGroup.getRendererItem(currentButton);

 		var n:int = dataProvider.length;
 		var zz:int = 0;
 		for (var i:int = 0; i < n; i++)
 		{
-			renderer = dataGroup.getItemRenderer(dataProvider.getItemAt(i));
+			renderer = dataGroup.getItemRenderer(i);
 			if (renderer == currentButton)
 				renderer.layer = n - 1;
 			else
@@ -275,7 +265,6 @@
     private function buttonBar_keyDownHandler(event:KeyboardEvent):void
     {
 		var currentButton:IFocusManagerComponent;
-		var item:Object;
 		var index:int;
 		var renderer:Object;

@@ -286,11 +275,10 @@
             {
 				focusManager.showFocusIndicator = true;
 				currentButton = focusManager.getFocus();
-		        item = dataGroup.getRendererItem(DisplayObject(currentButton));
-				index = dataProvider.getItemIndex(item);
+		        index = dataGroup.getRendererItem(currentButton);
 				if (index > 0)
 				{
-					renderer = dataGroup.getItemRenderer(dataProvider.getItemAt(index - 1));
+					renderer = dataGroup.getItemRenderer(index-1);
 					IFocusManagerComponent(renderer).setFocus();
 				}

@@ -301,11 +289,10 @@
             {
 				focusManager.showFocusIndicator = true;
 				currentButton = focusManager.getFocus();
-		        item = dataGroup.getRendererItem(DisplayObject(currentButton));
-				index = dataProvider.getItemIndex(item);
+		        index = dataGroup.getRendererItem(currentButton);
 				if (index < dataProvider.length - 1)
 				{
-					renderer = dataGroup.getItemRenderer(dataProvider.getItemAt(index + 1));
+					renderer = dataGroup.getItemRenderer(index+1);
 					IFocusManagerComponent(renderer).setFocus();
 				}


Transferred from the Adobe Open Source Subversion Repository

Revision: 7094
Author:   hmuller@adobe.com
Date:     2009-05-19T22:45:07.849723Z

Log Message:
-----------
In SVN 6927, the line in DataGroup::finishVirtualLayout() that sets visible=false
for IRs that are no longer in use was inadvertantly deleted by yours truly.  Restored it.

QE Notes:
Doc Notes:
Bugs: sdk-21249
Reviewer: Evtim

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

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

--- frameworks/projects/spark/src/spark/components/DataGroup.as
+++ frameworks/projects/spark/src/spark/components/DataGroup.as
@@ -893,6 +893,7 @@
             {
                 // IDataRenderer(elt).data = null;  see https://bugs.adobe.com/jira/browse/SDK-20962
                 elt.includeInLayout = false;
+                elt.visible = false;

                 // Reset back to (0,0), otherwise when the element is reused
                 // it will be validated at its last layout size which causes


Transferred from the Adobe Open Source Subversion Repository

Revision: 8483
Author:   smgilson@adobe.com
Date:     2009-07-09T17:52:48.367800Z

Log Message:
-----------
Second checkin to update the namespace in ASDoc MXML syntax descriptions for Spark components

QE Notes: None
Doc Notes: None
Bugs: -
Checkintests: passed

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/EaseInOutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Fade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/BlurFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/DisplacementMapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ShaderFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/DropShadowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/CallAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientBevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransitionShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Graphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Wipe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ConvolutionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Keyframe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientGlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/SetAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/BevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientFilter.as</path>

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

--- frameworks/projects/spark/src/spark/filters/ShaderFilter.as
+++ frameworks/projects/spark/src/spark/filters/ShaderFilter.as
@@ -78,7 +78,7 @@
  *  attributes of its superclass and adds the following tag attributes:

  *
  *

- *  <ShaderFilter
+ *  <s:ShaderFilter
  *    Properties
  *    bottomExtension="0"
  *    leftExtension="0"


Tested and verified Dictionaries.

Tested and verified Dictionaries.

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

--- src/as/com/threerings/util/ObjectMarshaller.as
+++ src/as/com/threerings/util/ObjectMarshaller.as
@@ -193,6 +193,7 @@
     {
         registerClassAlias("Point", Point);
         registerClassAlias("Rectangle", Rectangle);
+        registerClassAlias("Dictionary", Dictionary);
     }
     staticInit();


list all alternate tracks in case of multiple default tracks. from https://github.com/r0ro/HLSprovider/commit/d7240a60c7d9859177e4c4797631b4ba99583d35

--- src/org/mangui/HLS/streaming/FragmentLoader.as
+++ src/org/mangui/HLS/streaming/FragmentLoader.as
@@ -640,7 +640,7 @@
       }
       // then append other audio tracks, start from manifest list, then continue with demux list
       for (i=0;i<_audioTracksfromManifest.length;i++) {
-         if(!_audioTracksfromManifest[i].isDefault) {
+         if(i != default_manifest) {
             Log.debug("alternate audio track found in Manifest");
             audioTrack_ = _audioTracksfromManifest[i];
             _audioTracks.push(audioTrack_);
@@ -648,7 +648,7 @@
       }

       for (i=0;i<_audioTracksfromDemux.length;i++) {
-         if(!_audioTracksfromDemux[i].isDefault) {
+         if(i != default_demux) {
             Log.debug("alternate audio track retrieved from demux");
             audioTrack_ = _audioTracksfromDemux[i];
             _audioTracks.push(audioTrack_);


method naming consistency

method naming consistency

--- actionscript/src/com/freshplanet/ane/AirDeviceId.as
+++ actionscript/src/com/freshplanet/ane/AirDeviceId.as
@@ -44,7 +44,7 @@
 				_extCtx = ExtensionContext.createExtensionContext( 'com.freshplanet.ane.AirDeviceId', null );

 				if  (_extCtx != null ) {
-					_extCtx.addEventListener( StatusEvent.STATUS, onStatus );
+					_extCtx.addEventListener( StatusEvent.STATUS, _onStatus );
 				}
 				else {
 					trace('[AirDeviceId] Error - Extension Context is null.');
@@ -177,7 +177,7 @@
 		 * Status events allow the native part of the ANE to communicate with the ActionScript part.
 		 * We use event.code to represent the type of event, and event.level to carry the data.
 		 */
-		private function onStatus( event:StatusEvent ) : void {
+		private function _onStatus( event:StatusEvent ) : void {

 			if ( event.code == 'LOGGING' ) {
 				trace( '[AirDeviceId] ' + event.level );


enables context builder tag to accept bundles and configs

--- src/robotlegs/bender/mxml/ContextBuilderTag.as
+++ src/robotlegs/bender/mxml/ContextBuilderTag.as
@@ -1,8 +1,8 @@
 //------------------------------------------------------------------------------
-//  Copyright (c) 2011 the original author or authors. All Rights Reserved.
-//
-//  NOTICE: You are permitted to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
+//  Copyright (c) 2011 the original author or authors. All Rights Reserved.
+//
+//  NOTICE: You are permitted to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
 //------------------------------------------------------------------------------

 package robotlegs.bender.mxml
@@ -11,32 +11,45 @@
 	import flash.utils.setTimeout;
 	import mx.core.IMXMLObject;
 	import robotlegs.bender.core.api.IContextBuilderBundle;
+	import robotlegs.bender.core.api.IContextConfig;
 	import robotlegs.bender.core.impl.ContextBuilder;

 	[DefaultProperty("configs")]
 	public class ContextBuilderTag extends ContextBuilder implements IMXMLObject
 	{

-		protected var _configs:Vector.<IContextBuilderBundle> = new Vector.<IContextBuilderBundle>;
+		/*============================================================================*/
+		/* Public Properties                                                          */
+		/*============================================================================*/

-		public function get configs():Vector.<IContextBuilderBundle>
+		private var _configs:Vector.<Object> = new Vector.<Object>;
+
+		public function get configs():Vector.<Object>
 		{
 			return _configs;
 		}

-		public function set configs(value:Vector.<IContextBuilderBundle>):void
+		public function set configs(value:Vector.<Object>):void
 		{
 			_configs = value;
 		}

-		protected var _contextView:DisplayObjectContainer;
+		private var _contextView:DisplayObjectContainer;

 		public function set contextView(value:DisplayObjectContainer):void
 		{
 			_contextView = value;
 		}

-		protected var _documentView:DisplayObjectContainer;
+		/*============================================================================*/
+		/* Private Properties                                                         */
+		/*============================================================================*/
+
+		private var _documentView:DisplayObjectContainer;
+
+		/*============================================================================*/
+		/* Public Functions                                                           */
+		/*============================================================================*/

 		public function initialized(document:Object, id:String):void
 		{
@@ -45,19 +58,35 @@
 			setTimeout(configureBuilder, 1);
 		}

-		protected function configureBuilder():void
+		/*============================================================================*/
+		/* Private Functions                                                          */
+		/*============================================================================*/
+
+		private function configureBuilder():void
 		{
 			if (!context.contextView)
 			{
 				withContextView(_contextView || _documentView);
 			}

-			configs.forEach(function(config:IContextBuilderBundle, ... rest):void
+			for each (var config:Object in configs)
 			{
-				withBundle(config['constructor'] as Class);
-			}, this);
+				const configClass:Class = config['constructor'] as Class;
+				if (config is IContextBuilderBundle)
+				{
+					withBundle(configClass);
+				}
+				else if (config is IContextConfig)
+				{
+					withConfig(configClass);
+				}
+				else
+				{
+					throw new Error("Unrecognised builder option.");
+				}
+			}

-			configs = null;
+			configs.length = 0;

 			build();
 		}


Removed test method that wasn't getting executed before, and didn't seem like it should have ever been meaningful

--- asunit-4.0/test/asunit/framework/AsyncMethodTest.as
+++ asunit-4.0/test/asunit/framework/AsyncMethodTest.as
@@ -47,17 +47,6 @@
             assertTrue(sprite is Sprite);
         }

-        [Ignore(description="This test wasn't getting called...")]
-        [Test]
-        public function testAsyncFailure():void {
-            var handler:Function = async.add(asyncFailure, 2);
-            setTimeout(handler, 10);
-        }
-
-        private function asyncFailure():void {
-            assertTrue(true);
-        }
-
         [Test]
         public function testAsyncVisualEntity2():void {
             var handler:Function = async.add(spriteHandler);


Added support for embedded XML
Removed uniqueness requirement for element ids

git-svn-id: 02605e11d3a461bc7e12f3f3880edf4b0c8dcfd0@4616 3e7533ad-8678-4d30-8e38-00a379d3f0d0

--- src/LAML.as
+++ src/LAML.as
@@ -20,6 +20,8 @@
 		private var iconButtonRef:IconButton;
 		private var labelRef:Label;
 		private var rowRef:Row;
+		private var hBoxRef:HBox;
+		private var vBoxRef:VBox;

 		public function LAML() {
 			trace("LAML instantiated!");


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

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

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

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

 package


Transferred from the Adobe Open Source Subversion Repository

Revision: 18279
Author:   chiedozi@adobe.com
Date:     2010-10-21T21:54:20.944908Z

Log Message:
-----------
PARB changes
updatePropertiesForView was renamed updateControlsForView
exitApplicationOnBackKey is now mx_internal in ViewNavigator and MobileApplication classes

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

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

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

--- frameworks/projects/mobilecomponents/src/spark/components/ViewNavigatorApplication.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ViewNavigatorApplication.as
@@ -119,7 +119,6 @@
     /**
      *  @private
      */
-    // TODO (chiedozi): Why did we decide to make this private?
     private function get navigationStack():NavigationStack
     {
         if (navigator)
@@ -170,7 +169,7 @@
     /**
      *  @private
      */
-    override public function get exitApplicationOnBackKey():Boolean
+    override mx_internal function get exitApplicationOnBackKey():Boolean
     {
         if (viewMenuOpen)
             return false;
@@ -585,7 +584,8 @@
      */
     override protected function restoreApplicationState():void
     {
-        // TODO (chiedozi): Figure out how to refactor this into base class
+        // TODO (chiedozi): Figure out how to refactor this into base class.  Need navigator
+        // to be a part of the base class
         super.restoreApplicationState();

         var savedState:Object = persistenceManager.getProperty("navigatorState");


Added slice status

Added slice status

--- protogeni/demo/shared/Geni.as
+++ protogeni/demo/shared/Geni.as
@@ -39,6 +39,7 @@
     public static var startSliver : Array = new Array(cm, "StartSliver");
     public static var updateSliver : Array = new Array(cm, "UpdateSliver");
     public static var resolveNode : Array = new Array(cm, "Resolve");
+    public static var sliceStatus : Array = new Array(cm, "SliceStatus");

     public static var map : Array = new Array(ses, "Map");


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

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

 package spark.skins.mobile
 {


Preserve pause state on seek.

Preserve pause state on seek.

--- HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPNetStream.as
+++ HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPNetStream.as
@@ -2072,6 +2072,10 @@
 						super.close();
 						super.play(null);
 						appendBytesAction(NetStreamAppendBytesAction.RESET_SEEK);
+
+						// Preserve pause state.
+						if(_isPaused)
+							super.pause();

 						_initialTime = NaN;


Transferred from the Adobe Open Source Subversion Repository

Revision: 10181
Author:   aharui@adobe.com
Date:     2009-09-11T23:15:16.310644Z

Log Message:
-----------
Update metadata on ButtonBar

QE Notes: None
Doc Notes: None
Bugs: SDK-21589
Reviewer: Corey
API Change: No
Is noteworthy for integration: No
tests: checkintests gumbo/components/ButtonBar

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

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

--- frameworks/projects/mx/src/mx/controls/ButtonBar.as
+++ frameworks/projects/mx/src/mx/controls/ButtonBar.as
@@ -235,6 +235,8 @@
 [DefaultTriggerEvent("itemClick")]

 [IconFile("ButtonBar.png")]
+
+[Alternative(replacement="spark.components.ButtonBar", since="4.0")]

 [MaxChildren(0)]


Transferred from the Adobe Open Source Subversion Repository

Revision: 20920
Author:   build@adobe.com
Date:     2011-03-18T19:54:14.958635Z

Log Message:
-----------
Version update to 4.5.1

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/airspark/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/automation_air/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/flex-config.xml</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/automation_spark/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/automation/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark_dmv/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/rpc/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mx/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/automation_flashflexkit/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/automation_dmv/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/VersionInfo.java</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/advancedgrids/src/mx/core/Version.as</path>

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

--- frameworks/projects/spark/src/spark/core/Version.as
+++ frameworks/projects/spark/src/spark/core/Version.as
@@ -15,4 +15,4 @@
  *  @private
  *  Version string for this class.
  */
-mx_internal static const VERSION:String = "4.5.0.0";
+mx_internal static const VERSION:String = "4.5.1.0";


Port was forced to one defined in the specification. This is not always the desired functionality.
Related discussion: http://www.igniterealtime.org/community/thread/40833

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

--- src/org/igniterealtime/xiff/core/XMPPBOSHConnection.as
+++ src/org/igniterealtime/xiff/core/XMPPBOSHConnection.as
@@ -604,7 +604,8 @@
 		}

 		/**
-		 * The usage of the secure or less secure port.
+		 * HTTP bind requests type. If secure, the requests will be sent
+		 * through HTTPS. If not, through HTTP.
 		 */
 		public function get secure():Boolean
 		{
@@ -613,7 +614,6 @@
 		public function set secure( value:Boolean ):void
 		{
 			_secure = value;
-			port = _secure ? HTTPS_PORT : HTTP_PORT;
 		}

 		/**


http://www.igniterealtime.org/community/thread/40676?tstart=0

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

--- src/org/igniterealtime/xiff/core/XMPPBOSHConnection.as
+++ src/org/igniterealtime/xiff/core/XMPPBOSHConnection.as
@@ -261,8 +261,18 @@

 		override protected function sendXML( someData:* ):void
 		{
+			var thisData:XMLNode;
+			if (someData is XML)
+			{
+				var x : XML = someData as XML;
+				thisData = new XMLDocument( x.toXMLString() );
+			}
+			else
+			{
+				thisData = someData as XMLNode;
+			}
 			// XMLNode
-			sendQueuedRequests( someData );
+			sendQueuedRequests( thisData );
 		}

 		/**


Added createReverse(), and make comparators compatible with a flex Sort
object.

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

--- src/as/com/threerings/util/Comparators.as
+++ src/as/com/threerings/util/Comparators.as
@@ -5,13 +5,14 @@

 /**
  * Contains sorting Comparators.
+ * These functions are suitable for passing to Array.sort(), or with a flex Sort object.
  */
 public class Comparators
 {
     /**
      * A standard Comparator for comparing Comparable values.
      */
-    public static function COMPARABLE (c1 :Comparable, c2 :Comparable) :int
+    public static function COMPARABLE (c1 :Comparable, c2 :Comparable, ... ignored) :int
     {
         if (c1 == c2) { // same object -or- both null
             return 0;
@@ -23,5 +24,15 @@
             return c1.compareTo(c2);
         }
     }
+
+    /**
+     * Create a Comparator function that reverses the ordering of the specified Comparator.
+     */
+    public static function createReverse (comparator :Function) :Function
+    {
+        return function (o1 :Object, o2 :Object, ... ignored) :int {
+            return comparator(o2, o1); // simply reverse the ordering
+        }
+    }
 }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 17376
Author:   jszeto@adobe.com
Date:     2010-08-19T05:43:23.652871Z

Log Message:
-----------
Mobile Button skin icon fix

SDK-27451 -  Icon not displayed on Buttons

Fixed ButtonSkinBase icon support. Forgot to update this logic when I switched from iconClass to icon.

QE notes: none
Doc notes: none
Bugs: SDK-27451
Reviewer: Glenn
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as
@@ -44,7 +44,7 @@
     */
     /**
      *  Actionscript based skin for mobile applications. The skin supports
-     *  iconClass and iconPlacement. It uses a couple of FXG classes to
+     *  icon and iconPlacement. It uses a couple of FXG classes to
      *  implement the vector drawing.
      *
      *  @langversion 3.0
@@ -75,7 +75,7 @@
         //
         //--------------------------------------------------------------------------

-        private var iconClassChanged:Boolean = true;
+        private var iconChanged:Boolean = true;

         /**
          *  labelDisplay skin part.
@@ -146,9 +146,9 @@
         override public function styleChanged(styleProp:String):void
         {
             if (!styleProp ||
-                styleProp == "styleName" || styleProp == "iconClass")
-            {
-                iconClassChanged = true;
+                styleProp == "styleName" || styleProp == "icon")
+            {
+                iconChanged = true;
                 invalidateProperties();
             }

@@ -164,21 +164,21 @@
         {
             super.commitProperties();

-            if (iconClassChanged)
+            if (iconChanged)
             {
                 if (iconDisplay)
                     removeChild(iconDisplay);

-                var iconClass:Class = getStyle("iconClass");
-
-                if (iconClass)
+                var icon:Class = getStyle("icon");
+
+                if (icon)
                 {
                     // Should be a bitmap
-                    iconDisplay = new iconClass();
+                    iconDisplay = new icon();
                     addChild(iconDisplay);
                 }

-                iconClassChanged = false;
+                iconChanged = false;
             }
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5104
Author:   clucier@adobe.com
Date:     2009-02-27T14:51:34.248850Z

Log Message:
-----------
Default button support for Spark containers and editable text controls.
QE Notes:
Doc Notes:
Bugs: SDK-19420
Reviewer: Glenn, Gordon

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxContainerBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ContainerGlobals.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/Flex4Classes.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IFocusManagerContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxDefaultButtonSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SkinnableContainerBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SkinnableContainerBase.as
@@ -11,9 +11,11 @@

 package mx.components.baseClasses
 {
+
 import flash.display.DisplayObject;
-
 import mx.components.baseClasses.FxComponent;
+import mx.core.ContainerGlobals;
+import mx.core.IFlexDisplayObject;
 import mx.managers.IFocusManagerContainer;
 import mx.utils.MouseShieldUtil;

@@ -88,6 +90,39 @@
         invalidateDisplayList();
     }

+    //----------------------------------
+    //  defaultButton
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the defaultButton property.
+     */
+    private var _defaultButton:IFlexDisplayObject;
+
+    [Inspectable(category="General")]
+
+    /**
+     *  The Button control designated as the default button for the container.
+     *  When controls in the container have focus, pressing the
+     *  Enter key is the same as clicking this Button control.
+     *
+     *  @default null
+     */
+    public function get defaultButton():IFlexDisplayObject
+    {
+        return _defaultButton;
+    }
+
+    /**
+     *  @private
+     */
+    public function set defaultButton(value:IFlexDisplayObject):void
+    {
+        _defaultButton = value;
+        ContainerGlobals.focusedContainer = null;
+    }
+
     //--------------------------------------------------------------------------
     //
     //  Overridden methods


According to spec: http://xmpp.org/extensions/xep-0048.html#format-url
Please note that the order of the constructor parameters have changed.

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

--- src/org/igniterealtime/xiff/bookmark/UrlBookmark.as
+++ src/org/igniterealtime/xiff/bookmark/UrlBookmark.as
@@ -29,39 +29,46 @@
 	import org.igniterealtime.xiff.data.ISerializable;
 	import org.igniterealtime.xiff.data.XMLStanza;

+	/**
+	 * The url element is designed for bookmarking web pages,
+	 * i.e., HTTP or HTTPS URLs.
+	 *
+	 * @see http://xmpp.org/extensions/xep-0048.html#format-url
+	 */
 	public class UrlBookmark extends XMLStanza implements ISerializable
 	{
 		public static const ELEMENT_NAME:String = "url";

 		/**
+		 * Bookmark an url.
 		 *
-		 * @param	name
-		 * @param	url
+		 * @param	url REQUIRED
+		 * @param	name RECOMMENDED
 		 */
-		public function UrlBookmark( name:String = null, url:String = null )
+		public function UrlBookmark( url:String, name:String = null )
 		{
-			if ( !name && !url )
+			xml.setLocalName( ELEMENT_NAME );
+			if (name != null)
 			{
-				return;
+				xml.@name = name;
 			}
-			else if ( !name || !url )
-			{
-				throw new Error( "Name and url cannot be null, they must either both be null or an Object" );
-			}
-
-			xml.setLocalName( ELEMENT_NAME );
-			xml.@name = name;
 			xml.@url = url;
 		}

+		/**
+		 * A friendly name for the bookmark.
+		 */
 		public function get name():String
 		{
 			return xml.@name;
 		}

+		/**
+		 * The HTTP or HTTPS URL of the web page.
+		 */
 		public function get url():String
 		{
-			return xml.@uri;
+			return xml.@url;
 		}
 	}
 }


AltAudioFragmentLoader : also reset retry counter and timeout when skipping alt audio fragment related to #295

--- src/org/mangui/hls/loader/AltAudioFragmentLoader.as
+++ src/org/mangui/hls/loader/AltAudioFragmentLoader.as
@@ -290,6 +290,8 @@
                         CONFIG::LOGGING {
                             Log.warn("max fragment load retry reached, skip fragment and load next one");
                         }
+                        _fragRetryCount = 0;
+                        _fragRetryTimeout = 1000;
                         _fragPrevious = _fragCurrent;
                         // set fragment first loaded to be true to ensure that we can skip first fragment as well
                         _fragmentFirstLoaded = true;


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

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

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

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

 package mx.rpc.soap
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 19060
Author:   harishs@adobe.com
Date:     2010-12-06T17:34:15.020965Z

Log Message:
-----------
QE notes: Did checkintests, performed full cyclone run. There were 19 failures in mustella report. QE Judy (Mingzhou Gao and Joann Chung Anderson) confirmed that they are known problems.
Doc notes: As part of Sort and Sortfield updates, the asdoc comments were updated to reflect globalization changes.
Bugs: Fixed sdk-28493, 28691,28494, 28345, 28320, 28387, 28314, 28145
Reviewer: Gordon Smith
Tests run: cyclone, checkintests, bugs testfiles
Is noteworthy for integration: Sort and Sortfield updated with globalization support using the new spark globalization sort classes.
Number and CurrencyValidators support national digits and unicode minus symbols.
groupingPattern property dropped for Number and Currency Validators.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/BasicTests-config.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/SortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/NumberValidatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ICollectionView.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ISort.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/spark-manifest.xml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ISortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/BasicTests.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/collections/Sort.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/NumberValidator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/olap/OLAPCube.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/CurrencyValidator.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/collections/SortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/bundles/en_US/validators.properties</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/collections</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/treeClasses/HierarchicalCollectionView.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ListCollectionView.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/GlobalizationUtils.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/olap/DefaultCubeImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/SortTestScript.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionView.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/Sort.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ModifiedCollectionView.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/SortTests.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -17,6 +17,7 @@
 import flash.geom.Rectangle;

 import mx.core.FlexVersion;
+import mx.styles.IAdvancedStyleClient;
 import mx.core.IFlexModule;
 import mx.core.IFontContextComponent;
 import mx.core.IUIComponent;
@@ -1136,6 +1137,22 @@
                     IStyleClient(child).notifyStyleChangeInChildren(styleProp, recursive);
             }
         }
+
+        if (advanceStyleClientChildren != null)
+		{
+			var nAdvanceStyleClientChildern:int =
+                                           advanceStyleClientChildren.length;
+			for (var j:int = 0; j < nAdvanceStyleClientChildern; j++)
+			{
+				var iAdvanceStyleClientChild:IAdvancedStyleClient =
+                                               advanceStyleClientChildren[j];
+
+				if (iAdvanceStyleClientChild)
+				{
+					iAdvanceStyleClientChild.styleChanged(styleProp);
+				}
+			}
+		}
     }

     /**
@@ -1171,6 +1188,20 @@
                 // If not, there's no need to regenerate a new one.
                 if (IUITextField(child).inheritingStyles)
                     StyleProtoChain.initTextField(IUITextField(child));
+            }
+        }
+
+        // Call this method on each non-visual StyleClient
+        if (advanceStyleClientChildren != null)
+        {
+            var nAdvanceStyleChildern:int = advanceStyleClientChildren.length;
+            for (var j:int = 0; j < nAdvanceStyleChildern; j++)
+            {
+                if (advanceStyleClientChildren[j].inheritingStyles !=
+                    StyleProtoChain.STYLE_UNINITIALIZED)
+                {
+                    advanceStyleClientChildren[j].regenerateStyleCache(recursive);
+                }
             }
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 10218
Author:   gruehle@adobe.com
Date:     2009-09-13T18:03:38.240578Z

Log Message:
-----------
Fix more skinning and styling bugs.

SDK-23161 – Halo VideoDisplay now has a white background instead of old black background.
* add contentBackgroundColor style to VideoDisplay selector. Still need backgroundColor style, so that one is not removed.

SDK-23122 – ApplicationControlBar looks different.
* set borderSkin for ApplicationControlBar to the HaloBorder. This brings back the Halo look for ACB (there is no Spark look specified by XD)

SDK-23115 – Halo Panel dropShadow displayed in closed divided box.
* hide the drop shadow if the panel width or height is 0

SDK-22551 – Background is not a gradient when compiling a Flex 3 app with Flex 4 and using the Halo theme.
* add ApplicationBackground to sparkskins, and removed Flex 4 specfic code from the Halo ApplicationBackground. The spark ApplicationBackground just draws a rect using backgroundColor. I tried removing it completely (why have an image drawing a solid color on top of the stage that is already that same color?), but that broke hundreds of bitmap comparisons. Apparently not all white pixels are created the same...

QE notes: None
Doc notes: None
Bugs: SDK-23161, SDK-23122, SDK-23115, SDK-22551
Reviewer: Corey
Tests run: checkintests, qe cyclone
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/SparkSkinsClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/PanelBorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ApplicationBackground.as</path>

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

--- frameworks/projects/sparkskins/src/SparkSkinsClasses.as
+++ frameworks/projects/sparkskins/src/SparkSkinsClasses.as
@@ -22,7 +22,8 @@
  */
 internal class SparkSkinsClasses
 {
-	import mx.skins.spark.AccordionHeaderSkin; AccordionHeaderSkin;
+    import mx.skins.spark.AccordionHeaderSkin; AccordionHeaderSkin;
+    import mx.skins.spark.ApplicationBackground; ApplicationBackground;
 	import mx.skins.spark.BorderSkin; BorderSkin;
 	import mx.skins.spark.ButtonSkin; ButtonSkin;
 	import mx.skins.spark.DefaultButtonSkin; DefaultButtonSkin;


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

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

 package mx.managers
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

@@ -846,4 +839,4 @@
 	}
 }

-}+}


--- for empty mem

--- for empty mem

--- src/Displays/DMemory.as
+++ src/Displays/DMemory.as
@@ -45,17 +45,25 @@

 				if (memValue != FixedValue.NULL || expValue != FixedValue.NULL) {
 					if (skip)
-						Y += ROW_HEIGHT;
+						Y += ROW_HEIGHT * 1.5;
 					skip = false;

-					page.add(U.BODY_FONT.configureFlxText(new FlxText(bg.x + INNER_BORDER, Y, COL_WIDTH, memLine+".")));
-					if (memValue != FixedValue.NULL)
-						page.add(U.BODY_FONT.configureFlxText(new FlxText(bg.x + INNER_BORDER * 2, Y, COL_WIDTH, memValue.toString()), 0xffffff, 'right' ));
-					if (expValue != FixedValue.NULL)
-						page.add(U.BODY_FONT.configureFlxText(new FlxText(bg.x + INNER_BORDER * 4 + COL_WIDTH, Y, COL_WIDTH, expValue.toString())));
+					page.add(U.BODY_FONT.configureFlxText(new FlxText(bg.x + INNER_BORDER, Y, COL_WIDTH, memLine + ".")));
+
+					var memValText:String = memValue != FixedValue.NULL ? memValue.toString() : "---";
+					page.add(U.BODY_FONT.configureFlxText(new FlxText(bg.x + INNER_BORDER * 2, Y, COL_WIDTH, memValText), 0xffffff, 'right' ));
+
+					var expValText:String = expValue != FixedValue.NULL ? expValue.toString() : "---";
+					page.add(U.BODY_FONT.configureFlxText(new FlxText(bg.x + INNER_BORDER * 4 + COL_WIDTH, Y, COL_WIDTH, expValText)));
 					Y += ROW_HEIGHT * 1.5;
-				} else
+				} else {
+					if (!skip) {
+						page.add(U.BODY_FONT.configureFlxText(new FlxText(bg.x + INNER_BORDER * 2, Y, COL_WIDTH, "---"), 0xffffff, 'right' ));
+						page.add(U.BODY_FONT.configureFlxText(new FlxText(bg.x + INNER_BORDER * 4 + COL_WIDTH, Y, COL_WIDTH, "---")));
+					}
+
 					skip = true;
+				}
 			}
 		}


fix textarea

fix textarea

--- frameworks/projects/HTML/as/src/org/apache/flex/html/TextArea.as
+++ frameworks/projects/HTML/as/src/org/apache/flex/html/TextArea.as
@@ -56,18 +56,34 @@
          *  @playerversion Flash 10.2
          *  @playerversion AIR 2.6
          *  @productversion FlexJS 0.0
+         *  @flexjsignorecoercion HTMLInputElement
          */
 		public function get text():String
 		{
-			return ITextModel(model).text;
+            COMPILE::AS3
+            {
+                return ITextModel(model).text;
+            }
+            COMPILE::JS
+            {
+                return (element as HTMLInputElement).value;
+            }
 		}

         /**
          *  @private
+         *  @flexjsignorecoercion HTMLInputElement
          */
 		public function set text(value:String):void
 		{
-			ITextModel(model).text = value;
+            COMPILE::AS3
+            {
+                ITextModel(model).text = value;
+            }
+            COMPILE::JS
+            {
+                (element as HTMLInputElement).value = value;
+            }
 		}

         /**