Transferred from the Adobe Open Source Subversion Repository

Revision: 4866
Author:   hmuller@adobe.com
Date:     2009-02-05T22:14:08.037552Z

Log Message:
-----------
Bug fixes, notably support for "canceling" keyboard events that drive scrolling.  Added mouse-wheel scrolling to FxScroller.

QE Notes:
Doc Notes: None
Bugs: sdk-19027, sdk-19028, sdk-18903, sdk-18673
Reviewer: Evtim, Alex

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxRange.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/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxDefaultItemRenderer.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxTrackBase.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/FxList.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/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/VerticalLayout.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
@@ -625,7 +625,7 @@
         }

         if (virtualLayout)
-            updateDisplayListVirtual(i0);
+            g.invalidateDisplayList();

         setIndexInView(i0, i1);
     }
@@ -953,7 +953,7 @@
      *  for the initial layout and then, if it has changed, we loop through
      *  the layout items again and fix up the y/height values.
      */
-    private function updateDisplayListVirtual(startIndex:int = -1):void
+    private function updateDisplayListVirtual():void
     {
         var layoutTarget:GroupBase = target;
         var eltCount:int = layoutTarget.numLayoutElements;
@@ -962,14 +962,12 @@
         var maxVisibleX:Number = minVisibleX + layoutTarget.width;

         updateLLV(layoutTarget);
-        if (startIndex < 0)
-            startIndex = llv.indexOf(minVisibleX);
+        var startIndex:int = llv.indexOf(minVisibleX);

         var fixedColumnWidth:Number = NaN;
         if (!variableColumnWidth)
             fixedColumnWidth = columnWidth;  // may query typicalLayoutElement, elt at index=0

-        layoutTarget.beginVirtualLayout(startIndex);
         var contentHeight:Number = llv.minorSize;
         var containerHeight:Number = Math.max(contentHeight, targetHeight);
         var x:Number = llv.start(startIndex);
@@ -1012,7 +1010,6 @@
         setColumnCount(index - startIndex);
         setIndexInView(startIndex, endIndex);
         layoutTarget.setContentSize(llv.end(llv.length - 1), contentHeight);
-        layoutTarget.endVirtualLayout(startIndex, endIndex);
     }

     private function updateDisplayListReal():void


Transferred from the Adobe Open Source Subversion Repository

Revision: 18215
Author:   cframpto@adobe.com
Date:     2010-10-19T14:50:14.127382Z

Log Message:
-----------
Label should not use anything in TextUtil because it brings in too much of TLF.  Refactor TextUtil a bit so it minimizes its dependencies on TLF.

QE notes:
Doc notes:
Bugs: SDK-28241
Reviewer: Alex
Tests run: cyclone
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/mx/core/UIFTETextField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/utils/TextUtil.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
@@ -19,6 +19,9 @@
 import flash.geom.Rectangle;
 import flash.text.engine.FontLookup;
 import flash.text.engine.TextLine;
+import flash.text.engine.TextLineValidity;
+
+import flashx.textLayout.compose.TextLineRecycler;

 import mx.core.IFlexModuleFactory;
 import mx.core.UIComponent;
@@ -922,7 +925,20 @@
         var n:int = textLinesVector.length;
         for (var i:int = 0; i < n; i++)
         {
-            TextUtil.recycleTextLine(textLinesVector[i] as TextLine);
+            var textLine:TextLine = textLinesVector[i] as TextLine;
+            if (textLine)
+            {
+                // Throws an ArgumentError if validity set to INVALID in
+                // either of these cases.
+                if (textLine.validity != TextLineValidity.INVALID &&
+                    textLine.validity != TextLineValidity.STATIC)
+                {
+                    textLine.validity = TextLineValidity.INVALID;
+                }
+
+                textLine.userData = null;	// clear any userData
+                TextLineRecycler.addLineForReuse(textLine);
+            }
         }

         textLinesVector.length = 0;


Fix to Image class so loader remains invisible till the content has been resized.

--- src/org/openPyro/controls/Image.as
+++ src/org/openPyro/controls/Image.as
@@ -24,7 +24,7 @@
 			_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoadComplete);
 			_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onIOError);
 			addChild(_loader);
-
+			_loader.visible = false;
 			if(!_loaderContext)
 			{
 				_loaderContext = new LoaderContext(true);
@@ -178,8 +178,11 @@
 		override public function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
 		{
 			super.updateDisplayList(unscaledWidth, unscaledHeight);
-			if(_loader && _loader.content && _scaleToFit){
-				scaleImageContent()
+			if(_loader && _loader.content){
+				_loader.visible = true;
+				if(_scaleToFit){
+					scaleImageContent();
+				}
 			}
 			_loader.x = _padding.left
 			_loader.y = _padding.top;


asdoc didn't like the curly braces here

asdoc didn't like the curly braces here

--- frameworks/projects/Core/as/src/org/apache/flex/core/IFlexJSElement.as
+++ frameworks/projects/Core/as/src/org/apache/flex/core/IFlexJSElement.as
@@ -1,11 +1,9 @@
 package org.apache.flex.core
 {
     COMPILE::AS3
+    public interface IFlexJSElement
     {
-        public interface IFlexJSElement
-        {
-
-        }
+
     }

 	COMPILE::JS


Transferred from the Adobe Open Source Subversion Repository

Revision: 12190
Author:   rfrishbe@adobe.com
Date:     2009-11-24T23:11:42.792921Z

Log Message:
-----------
Added checks for localIndex == null in getItemIndex().  We do this in other places, like addItemAt().  The reason this could be null is if sort or filterFunction has just been set, but refresh() has not been applied yet.  I thought about not adding it and marking the bug file as NAB so that people would get an RTE and realize their mistake (they need to call refresh()), but given that addItemAt() already does this and the fact that they may have a localIndex based on an old sort (and wouldn’t get an RTE in that case), it makes sense to go ahead and add this null check.

I also added a similar check in findItem().  This will still RTE, but I think it will give a better error than a null pointer exception.

QE notes: -
Doc notes: -
Bugs: SDK-24268
Reviewer: Alex
Tests run: checkintests, mustella List and collections
Is noteworthy for integration: No

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ListCollectionView.as

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

--- frameworks/projects/framework/src/mx/collections/ListCollectionView.as
+++ frameworks/projects/framework/src/mx/collections/ListCollectionView.as
@@ -647,7 +647,7 @@
     {
         var i:int;

-        if (sort)
+        if (localIndex && sort)
         {
             var startIndex:int = sort.findItem(localIndex, item, Sort.FIRST_INDEX_MODE);
             if (startIndex == -1)
@@ -662,7 +662,7 @@

             return -1;
         }
-        else if (filterFunction != null)
+        else if (localIndex && filterFunction != null)
         {
             var len:int = localIndex.length;
             for (i = 0; i < len; i++)
@@ -1156,7 +1156,7 @@
      */
     mx_internal function findItem(values:Object, mode:String, insertIndex:Boolean = false):int
     {
-        if (!sort)
+        if (!sort || !localIndex)
         {
             var message:String = resourceManager.getString(
                 "collections", "itemNotFound");


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

--- frameworks/projects/sparkskins/src/mx/skins/spark/DataGridSortArrow.as
+++ frameworks/projects/sparkskins/src/mx/skins/spark/DataGridSortArrow.as
@@ -1,14 +1,4 @@

-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-2007 Adobe Systems Incorporated
-//  All Rights Reserved.
-//
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
-//
-////////////////////////////////////////////////////////////////////////////////

 package mx.skins.spark
 {


Simplify logic for finding module SWFs.

Simplify logic for finding module SWFs.

* Expects widget SWFs to be at the parent-directory level.

--- src/com/esri/builder/controllers/supportClasses/WidgetTypeLoader.as
+++ src/com/esri/builder/controllers/supportClasses/WidgetTypeLoader.as
@@ -22,7 +22,6 @@
 import com.esri.builder.supportClasses.LogUtil;
 import com.esri.builder.views.BuilderAlert;

-import flash.events.Event;
 import flash.events.EventDispatcher;
 import flash.filesystem.File;
 import flash.filesystem.FileMode;
@@ -58,12 +57,8 @@
         const modulesDirectory:File = WellKnownDirectories.getInstance().bundledModules;
         loadCustomWidgetTypes(WellKnownDirectories.getInstance().customModules);

-        // Find all swf files under the modules folder.
-        const swfList:Array = [];
-        if (modulesDirectory.isDirectory)
-        {
-            getSWFList(modulesDirectory, swfList);
-        }
+        const swfList:Array = getModuleSWFs(modulesDirectory);
+
         // Load the found modules.
         swfList.forEach(function(file:File, index:int, source:Array):void
         {
@@ -173,25 +168,26 @@
         return widgetIconPath;
     }

-    /**
-     * This will go through all sub folders in 'modules' looking for .swf files.
-     */
-    private function getSWFList(parentFile:File, arr:Array):void
-    {
-        const moduleFileName:RegExp = /^.*Module\.swf$/;
-        const list:Array = parentFile.getDirectoryListing();
-        list.forEach(function(file:File, index:int, source:Array):void
-        {
-            if (file.isDirectory)
-            {
-                getSWFList(file, arr);
-            }
-            else if (moduleFileName.test(file.name))
-            {
-                arr.push(file);
-            }
-        }
-        );
+    /* Finds module SWF files at the parent-directory level */
+    private function getModuleSWFs(directory:File):Array
+    {
+        var swfFiles:Array = [];
+
+        if (directory.isDirectory)
+        {
+            const moduleFileName:RegExp = /^.*Module\.swf$/;
+            const files:Array = directory.getDirectoryListing();
+
+            for each (var file:File in files)
+            {
+                if (!file.isDirectory && moduleFileName.test(file.name))
+                {
+                    swfFiles.push(file);
+                }
+            }
+        }
+
+        return swfFiles;
     }

     private function moduleInfo_readyHandler(event:ModuleEvent):void


Update flash/Recorder.as

Update flash/Recorder.as

Explicitly setting the codec used. If this library is used in conjunction with another flash library that makes use of the microphone, and that library changes the codec to Speex, then the sampling rate will be forever stuck at "16". This causes recordings to sound like "chipmunks".

--- flash/Recorder.as
+++ flash/Recorder.as
@@ -180,6 +180,7 @@
 		{
 			logger.log('setupMicrophone');
 			microphone = Microphone.getMicrophone();
+			microphone.codec = "Nellymoser";
 			microphone.setSilenceLevel(0);
 			microphone.rate = sampleRate;
 			microphone.gain = 50;


Transferred from the Adobe Open Source Subversion Repository

Revision: 4410
Author:   jszeto@adobe.com
Date:     2009-01-06T22:48:36.629482Z

Log Message:
-----------
FXG Bug Fixes

SDK-18287 RTE when trying to use databinding with FXG graphic assets

Added Bindable metadata back to FilledElement.fill and StrokedElement.stroke. These were causing RTEs because databinding was
attempting to access the fill or stroke before they were created.

SDK-17650 LinearGradient scaleX attribute doesn't work when linear gradient is rotated

When scaleX is set, we now honor the value when the gradient is rotated. Graphics.createGradientBox normally tries to "fit" the gradient into the available space when it is rotated.

SDK-17645 Data binding will not be able to detect assignments to LinearGradient rotation property

Added Bindable metadata to GradientBase.rotation

SDK-18293 mx.filters.ColorMatrixFilter matrix property needs to support a comma delimited String of values

Changed the matrix property from type Array to type Object. The underlying backing variable remains an array. The setter will convert a comma delimited string into an array. The getter will always return an array.

QE Notes: LinearGradient looks different than before when using scaleX and rotation together. Add tests for ColorMatrixFilter.
Doc Notes: Need docs for ColorMatrixFilter. Changed behavior of LinearGradient.scaleX and LinearGradient.rotation.
Bugs: SDK-18287, SDK-17650, SDK-17645, SDK-18293
Reviewer: Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/FilledElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/StrokedElement.as</path>

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

--- frameworks/projects/framework/src/mx/graphics/LinearGradient.as
+++ frameworks/projects/framework/src/mx/graphics/LinearGradient.as
@@ -12,8 +12,8 @@
 package mx.graphics
 {

+import flash.display.GradientType;
 import flash.display.Graphics;
-import flash.display.GradientType;
 import flash.geom.Matrix;
 import flash.geom.Rectangle;

@@ -138,17 +138,21 @@
 	public function begin(target:Graphics, rc:Rectangle):void
 	{
 		var w:Number = !isNaN(scaleX) ? scaleX : rc.width;
+		var h:Number = !isNaN(scaleX) ? scaleX : rc.height;
 		var tx:Number = !isNaN(x) ? x + rc.left : rc.left;
 		var ty:Number = !isNaN(y) ? y + rc.top : rc.top;

-		commonMatrix.createGradientBox(w, rc.height,
+		// createGradientBox normally tries to "fit" the gradient into the available space
+		// when rotated. By passing in scaleX for both width and height, we maintain scaleX
+		// since no "fitting" occurs when the box is square.
+		commonMatrix.createGradientBox(w, h,
 								!isNaN(mx_internal::_angle) ?
 									mx_internal::_angle : mx_internal::rotationInRadians,
 								 tx, ty);
-
+
 		target.beginGradientFill(GradientType.LINEAR, mx_internal::colors,
 								 mx_internal::alphas, mx_internal::ratios,
-								 commonMatrix, spreadMethod, interpolationMethod);
+								 commonMatrix, spreadMethod, interpolationMethod);
 	}

 	/**


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/graphics/RadialGradient.as
+++ frameworks/projects/framework/src/mx/graphics/RadialGradient.as
@@ -108,6 +108,11 @@
  *  @see mx.graphics.GradientEntry
  *  @see mx.graphics.LinearGradient
  *  @see mx.graphics.IFill
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class RadialGradient extends GradientBase implements IFill
 {
@@ -121,6 +126,11 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function RadialGradient()
     {
@@ -170,6 +180,11 @@
      *  of the bounding Rectangle.</p>
      *
      *  @default 0.0
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get focalPointRatio():Number
     {
@@ -202,6 +217,11 @@

     /**
      *  The vertical scale of the gradient transform, which defines the height of the (unrotated) gradient
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get scaleY():Number
     {
@@ -229,11 +249,21 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
 	private static var commonMatrix:Matrix = new Matrix();

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function begin(target:Graphics, rc:Rectangle):void
     {
@@ -263,6 +293,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function end(target:Graphics):void
     {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/rpc/src/mx/messaging/config/ServerConfig.as
+++ frameworks/projects/rpc/src/mx/messaging/config/ServerConfig.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 mx.messaging.config
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17179
Author:   chiedozi@adobe.com
Date:     2010-08-04T01:26:08.795688Z

Log Message:
-----------
Fixed two RTEs related to pushing and popping null views

QE notes:
Doc notes:
Bugs: SDK-27152,SDK-27220
Reviewer:
Tests run: checkintests
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/effects/SlideViewTransition.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@1264809 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mobilecomponents/src/spark/transitions/SlideViewTransition.as
+++ frameworks/projects/mobilecomponents/src/spark/transitions/SlideViewTransition.as
@@ -94,6 +94,9 @@
     /**
      *
      */
+    // TODO (chiedozi): ViewNavigator was changed to always create a dummy view
+    // if the instance was null for some reason.  In theory, the nextView and
+    // currentView properties should never be null.  Can remove the null checks.
     override public function prepare():void
     {
         actionBar = navigator.actionBar;


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

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


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

--- frameworks/projects/mobilecomponents/src/spark/components/SplitViewNavigator.as
+++ frameworks/projects/mobilecomponents/src/spark/components/SplitViewNavigator.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2011 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.
 //
 ////////////////////////////////////////////////////////////////////////////////


tests

tests

--- src/com/kemsky/impl/Stream.as
+++ src/com/kemsky/impl/Stream.as
@@ -824,7 +824,7 @@
             return "Stream{" + source.join(",") + "}";
         }

-        private function isNaNFast(target:*):Boolean
+        private static function isNaNFast(target:*):Boolean
         {
             return !(target <= 0) && !(target > 0);
         }


removed some unused code

removed some unused code

--- src/com/nodename/geom/Circle.as
+++ src/com/nodename/geom/Circle.as
@@ -18,79 +18,6 @@
 		{
 			return "Circle (center: " + center + "; radius: " + radius + ")";
 		}
-

-		// If points p0, p1 and p2 are not collinear, they define a circle on the plane;
-		// if the points are collinear, returns null.
-		public static function circleThroughThreePoints(p0:Point, p1:Point, p2:Point):Circle
-		{
-			var tmpObj:Object = new Object();
-			var centerX:Number;
-			var centerY:Number;
-			var radius:Number;
-
-			var bisect1:Object = findBisector(p0, p1);
-			var bisect2:Object = findBisector(p0, p2);
-
-			if (lineLineIntersection(bisect1.midPoint, bisect1.bisectDir, bisect2.midPoint, bisect2.bisectDir, tmpObj) == 1)
-			{
-				radius = new Point(p0.x - tmpObj.point1.x, p0.y - tmpObj.point1.y).length;
-				centerX = tmpObj.point1.x;
-				centerY = tmpObj.point1.y;
-				return new Circle(centerX, centerY, radius);
-			}
-		 	return null;
-		}
-
-		// find the bisector of a line segment defined on a couple points
-		// returns an object with two points, the mid point of the line segment
-		// and the direction or slope of the bisector
-		private static function findBisector(p0:Point, p1:Point):Object
-		{
-			var vec01:Point = new Point(p1.x - p0.x, p1.y - p0.y);
-
-			var retObj:Object = new Object();
-			retObj.midPoint = new Point(p0.x + 0.5 * vec01.x, p0.y + 0.5 * vec01.y);
-			retObj.bisectDir = new Point(-vec01.y, vec01.x);
-
-			return retObj;
-		}
-
-		// return value 0 = lines don't intersect
-		// return value 1 = lines intersect at single point, return object has field point1 with intersection
-		// return value 2 = lines are the same
-		private static function lineLineIntersection(p0:Point, d0:Point, p1:Point, d1:Point, retObj:Object):int
-		{
-			var E:Point = new Point(p1.x - p0.x, p1.y - p0.y);
-			var kross:Number = (d0.x * d1.y) - (d0.y * d1.x);
-			var sqrKross:Number = kross * kross;
-			var sqrLen0:Number = (d0.x * d0.x) + (d0.y * d0.y);
-			var sqrLen1:Number = (d1.x * d1.x) + (d1.y * d1.y);
-			var epsilon:Number = 0.005;
-			var sqrEpsilon:Number = epsilon * epsilon;
-
-			if (sqrKross > (sqrEpsilon * sqrLen0 * sqrLen1))
-			{
-				// lines of segment are not parallel
-				var s:Number = ((E.x * d1.y) - (E.y * d1.x)) / kross;
-
-				// intersection of lines is a point
-				retObj.point1 = new Point(p0.x + (s * d0.x), p0.y + (s * d0.y));
-				return 1;
-			}
-
-			// lines of segments are parallel
-			var sqrLenE:Number = (E.x * E.x) + (E.y * E.y);
-			kross = (E.x * d0.y) - (E.y * d0.x);
-			sqrKross = kross * kross;
-			if (sqrKross > (sqrEpsilon * sqrLen0 * sqrLenE))
-			{
-				// lines are parallel but not the same
-				return 0;
-			}
-
-			// Lines are the same.
-			return 2;
-		}
 	}
 }


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

--- frameworks/projects/framework/src/mx/core/ISystemCursorClient.as
+++ frameworks/projects/framework/src/mx/core/ISystemCursorClient.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  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.
 //
 ////////////////////////////////////////////////////////////////////////////////


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/mx/src/mx/accessibility/LinkButtonAccImpl.as
+++ frameworks/projects/mx/src/mx/accessibility/LinkButtonAccImpl.as
@@ -0,0 +1,129 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-2006 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.accessibility
+{
+
+import mx.controls.LinkButton;
+import mx.core.UIComponent;
+import mx.core.mx_internal;
+
+use namespace mx_internal;
+
+/**
+ *  The LinkButtonAccImpl class is the accessibility class for Link.
+ *
+ *  @helpid 3002
+ *  @tiptext This is the LinkButton Accessibility Class.
+ *  @review
+ */
+public class LinkButtonAccImpl extends ButtonAccImpl
+{
+    include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class initialization
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  Static variable triggering the hookAccessibility() method.
+	 *  This is used for initializing LinkButtonAccImpl class to hook its
+	 *  createAccessibilityImplementation() method to LinkButton class
+	 *  before it gets called from UIComponent.
+	 */
+	private static var accessibilityHooked:Boolean = hookAccessibility();
+
+	/**
+	 *  @private
+	 *  Static Method for swapping the
+	 *  createAccessibilityImplementation method of LinkButton with
+	 *  the LinkButtonAccImpl class.
+	 */
+	private static function hookAccessibility():Boolean
+	{
+		LinkButton.createAccessibilityImplementation =
+			createAccessibilityImplementation;
+
+		return true;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  Method for creating the Accessibility class.
+	 *  This method is called from UIComponent.
+	 *  @review
+	 */
+	mx_internal static function createAccessibilityImplementation(
+								component:UIComponent):void
+	{
+		component.accessibilityImplementation =
+			new LinkButtonAccImpl(component);
+	}
+
+	/**
+	 *  Method call for enabling accessibility for a component.
+	 *  This method is required for the compiler to activate
+	 *  the accessibility classes for a component.
+	 */
+	public static function enableAccessibility():void
+	{
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @param master The UIComponent instance that this AccImpl instance
+	 *  is making accessible.
+	 */
+	public function LinkButtonAccImpl(master:UIComponent)
+	{
+		super(master);
+
+		role = 0x1E;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: AccessibilityImplementation
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  IAccessible method for returning the default action
+	 *  of the LinkButton, which is Jump.
+	 *
+	 *  @param childID uint
+	 *
+	 *  @return DefaultAction String
+	 */
+	override public function get_accDefaultAction(childID:uint):String
+	{
+		return "Jump";
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 17444
Author:   clucier@adobe.com
Date:     2010-08-23T16:54:41.091790Z

Log Message:
-----------
We pass requestTimeout down to URLRequest.idleTimeout now if relevant (e.g. AIR 2.0).

QE notes: None
Doc notes: None
Bugs: SDK-22016
Reviewer: Paul, Peter
Tests run: Checkin
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/rpc/src/mx/rpc/soap/AbstractWebService.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/rpc/src/mx/messaging/channels/DirectHTTPChannel.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as</path>

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

--- frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as
@@ -520,15 +520,20 @@
             result.url = endpoint + _appendToURL;
         else
             result.url = endpoint;
-
-		monitorRpcMessage(message, result);
-
+
+        // Propagate our requestTimeout for those platforms
+        // supporting the idleTimeout property on URLRequest.
+        if ("idleTimeout" in result && requestTimeout > 0)
+            result["idleTimeout"] = requestTimeout * 1000;
+
+        monitorRpcMessage(message, result);
+
         result.contentType = HTTPRequestMessage.CONTENT_TYPE_XML;

         var packet:XML = _encoder.encode(message, null);
         result.data = packet.toString();
         result.method = "POST";
-
+
         return result;
     }


resize properly in certain scenarios

resize properly in certain scenarios

--- frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/TextFieldViewBase.as
+++ frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/TextFieldViewBase.as
@@ -104,7 +104,14 @@

             autoHeight = ilc.isHeightSizedToContent();
             autoWidth = ilc.isWidthSizedToContent();
-
+            if (!autoWidth && !isNaN(ilc.explicitWidth))
+            {
+                widthChangeHandler(null);
+            }
+            if (!autoHeight && !isNaN(ilc.explicitHeight))
+            {
+                heightChangeHandler(null);
+            }
 		}

         /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 18514
Author:   dthakkar@adobe.com
Date:     2010-11-10T00:38:39.528767Z

Log Message:
-----------
QE notes: Some testcases in spark formatters are failing because of behavior change. These testcases are excluded prior to submission. Globalization QE team has been informed about this.
Doc notes: Spark Formatters ASDocs are updated and also added samples for the spark formatters.
Bugs: SDK-28145, SDK-28345 ,SDK-28320 ,SDK-28287,SDK-28314
Reviewer: Gordon , Craig, Masa, Xie
Tests run: checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/MatchingCollatorExample.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/NumberValidatorTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/CurrencyValidatorTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/NumberValidatorTests.mxml</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/CurrencyValidatorTests.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses/CollatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/NumberFormatter.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples/NumberFormatterExample1.mxml</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/supportClasses/NumberBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/BasicTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples/CurrencyFormatterExample1.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization</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="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/SortingCollator.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/SortingCollatorExample.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/StringTools.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/StringToolsExample.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/validators/IValidator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/BasicTests-config.xml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/NumberValidatorBase.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses</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/spark/src/spark/validators/supportClasses/GlobalizationValidatorBase.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples/NumberFormatterExample2.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples/CurrencyFormatterExample2.mxml</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/NumberValidator.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/CurrencyValidator.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/validators/Validator.as</path>
<path kind="file" action="A">/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/spark/src/spark/globalization/supportClasses/GlobalizationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/formatters/IFormatter.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples/DateTimeFormatterExample.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/LastOperationStatus.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/supportClasses/NumberFormatterBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/MatchingCollator.as</path>

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

--- frameworks/projects/spark/src/spark/validators/supportClasses/GlobalizationUtils.as
+++ frameworks/projects/spark/src/spark/validators/supportClasses/GlobalizationUtils.as
@@ -0,0 +1,132 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.validators.supportClasses
+{
+/**
+ *  A utility class containing Unicode related functionality not supported in
+ *  Flex or ActionScript.
+ *
+ *
This class contains the utility routines needed for all Validators. Examples
+ *  of typical routines are checking for unicode white space, trimming all
+ *  spaces in a string at the beginning and end.

+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10.1
+ *  @playerversion AIR 2.5
+ *  @productversion Flex 4.5
+ */
+public class GlobalizationUtils
+{
+
+    include "../../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class Constants
+    //
+    //--------------------------------------------------------------------------
+
+    private static const ASCII_SPACE:uint = 0x20;
+    private static const NO_BREAK_SPACE:uint = 0xA0;
+    private static const UNICODE_OGHAM_SPACE_MARK:uint = 0x1680;
+    private static const UNICODE_MONGOLIAN_VOWEL_SEPARATOR:uint = 0x180E;
+    private static const UNICODE_SPACE_START:uint = 0x2000;
+    private static const UNICODE_SPACE_END:uint = 0x200B;
+    private static const UNICODE_NARROW_NOBREAK_SPACE:uint = 0x202F;
+    private static const UNICODE_MEDIUM_MATHEMATICAL_SPACE:uint = 0x205F;
+    private static const UNICODE_IDEOGRAPHIC_SPACE:uint = 0x3000;
+    private static const UNICODE_ZEROWIDTH_NOBREAK_SPACE:uint = 0xFEFF;
+
+    /**
+     *
 Check if codepoint is a white space.
+     *  Uses all unicode white space characters. See the list of public static
+     *  constants in this class.

+     *
+     *  @param int input codepoint
+     *  @returns Boolean true or false.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public static function isWhiteSpace(ccode:int):Boolean
+    {
+        if ((ccode == ASCII_SPACE) || (ccode == NO_BREAK_SPACE) ||
+            (ccode == 0x9))
+        {
+            return true;
+        }
+        else if ((ccode >= UNICODE_SPACE_START) && (ccode <= UNICODE_SPACE_END))
+        {
+            return true;
+        }
+        else if ((ccode == UNICODE_NARROW_NOBREAK_SPACE) ||
+                 (ccode == UNICODE_MEDIUM_MATHEMATICAL_SPACE))
+        {
+            return true;
+        }
+        else if ((ccode == UNICODE_IDEOGRAPHIC_SPACE) ||
+                 (ccode == UNICODE_ZEROWIDTH_NOBREAK_SPACE))
+        {
+            return true;
+        }
+        else if ((ccode == UNICODE_OGHAM_SPACE_MARK) ||
+                 (ccode == UNICODE_MONGOLIAN_VOWEL_SEPARATOR))
+        {
+            return true;
+        }
+
+        return false;
+    }
+
+    /**
+     *
 Remove leading and trailing white space

+     *
+     *  @param String  Input string to be processed
+     *  @return String Output string after removing leading and
+     *                              trailing space
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public static function trim(input:String):String
+    {
+        if (!input)
+            return null;
+
+        const len:int = input.length;
+
+        for (var i:int = 0; i < len; i++)
+        {
+            if (isWhiteSpace(input.charCodeAt(i)))
+                continue;
+            else
+                break;
+        }
+
+        for (var j:int = len - 1; j >= 0; j--)
+        {
+            if (isWhiteSpace(input.charCodeAt(j)))
+                continue;
+            else
+                break;
+        }
+
+        //substring() gets characters up to one index before.
+        return input.substring(i, j+1);
+    }
+}
+
+}


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

--- frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkDataGridAutomationImpl.as
+++ frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkDataGridAutomationImpl.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  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 spark.automation.delegates.components


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

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

 package spark.automation.delegates.components
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17889
Author:   chiedozi@adobe.com
Date:     2010-09-28T00:03:51.347470Z

Log Message:
-----------
Added an mx_internal activeView property to MobileApplicationBase
Added inspectable metadata to destructionPolicy on ViewNavigatorBase

QE notes:
Doc notes:
Bugs: SDK-28003
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/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>

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

--- frameworks/projects/mobilecomponents/src/spark/components/ViewNavigatorApplication.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ViewNavigatorApplication.as
@@ -145,6 +145,21 @@
             navigatorProperties.navigationStack = value;
     }

+    //----------------------------------
+    //  activeView
+    //----------------------------------
+
+    /**
+     *  @private
+     */
+    override mx_internal function get activeView():View
+    {
+        if (navigator)
+            return navigator.activeView;
+
+        return null;
+    }
+
     //--------------------------------------------------------------------------
     //
     //  Properties


- Updated the conferenceController to reflect latest changes in the Speaker model class (Now contains list of talk Ids)

--- core/src/main/flex/org/dukecon/controller/ConferenceController.as
+++ core/src/main/flex/org/dukecon/controller/ConferenceController.as
@@ -310,16 +310,7 @@
     }

     public function getTalksForSpeaker(speaker:Speaker):ArrayCollection {
-        var result:ArrayCollection = new ArrayCollection();
-        for each(var talk:Talk in talks) {
-            for each(var speakerId:Object in talk.speakerIds.split(",")) {
-                if(speakerId == speaker.id) {
-                    result.addItem(talk);
-                    break;
-                }
-            }
-        }
-        return result;
+        return TalkBase.select(conn, "id IN (" + speaker.talkIds + ")");
     }

     public function setRating(talk:Talk, rating:Number):void {


List streams differently now.

List streams differently now.

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


def: 6582 use mediaPlayerMediator.getCurrentTime instead of player.currentTime

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

--- plugins/statisticsPlugin/src/com/kaltura/kdpfl/plugin/component/StatisticsMediator.as
+++ plugins/statisticsPlugin/src/com/kaltura/kdpfl/plugin/component/StatisticsMediator.as
@@ -208,7 +208,7 @@
 			kse.eventTimestamp = dt.time + dt.timezoneOffset - dt.timezoneOffset * 60; // milisec UTC + users timezone offset
 			if (mediaPlayer) {
 				kse.duration = mediaPlayer["player"].duration;
-				kse.currentPoint = Number(mediaPlayer["player"].currentTime) * 1000;
+				kse.currentPoint = Number(mediaPlayer.getCurrentTime()) * 1000;
 			}
 			kse.sessionId = config["vo"]["sessionId"];
 			kse.seek = _hasSeeked;


Transferred from the Adobe Open Source Subversion Repository

Revision: 8955
Author:   aharui@adobe.com
Date:     2009-07-31T17:06:21.183659Z

Log Message:
-----------
Fix an injection from Frame1 cleanup.  Popups were not getting focus.

QE Notes: None
Doc Notes: None
Bugs: SDK-22416
Reviewer: Darrell
API Change: No
Is noteworthy for integration: No
tests: checkintests

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as

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

--- frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
+++ frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
@@ -339,12 +339,13 @@
         o.systemManager = smp;
         popupInfo.push(o);

+        var awm:IActiveWindowManager =
+              IActiveWindowManager(smp.getImplementation("mx.managers::IActiveWindowManager"));
+
         if (window is IFocusManagerContainer)
         {
             if (IFocusManagerContainer(window).focusManager)
             {
-                var awm:IActiveWindowManager =
-                      IActiveWindowManager(smp.getImplementation("mx.managers::IActiveWindowManager"));
                 awm.addFocusManager(IFocusManagerContainer(window));
             }
             else
@@ -412,6 +413,8 @@
                 event.systemManager = smp;
                 dispatchEvent(event);
             }
+            else
+                awm.activate(IFocusManagerContainer(window));
         }

         // trace("END POPUP: addPopUp" + parent);


Transferred from the Adobe Open Source Subversion Repository

Revision: 4692
Author:   gosmith@adobe.com
Date:     2009-01-27T22:13:03.562851Z

Log Message:
-----------
Fixed missing or misplaced 'break' statements in the eventHandler() methods of the mx.accessibility classes. These have probably been causing some unintented MSAA events to be dispatched.

Also, each accessible component now dispatches OBJ_NAMECHANGE when its toolTip or errorString property changes, because the MSAA name includes the tooltip or error tip.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Deepa

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ColorPickerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DataGridAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DateFieldAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/SliderAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ComboBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TabBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TreeAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DateChooserAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/UIComponentAccProps.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AlertAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TitleWindowAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccordionHeaderAccImpl.as</path>

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

--- frameworks/projects/mx/src/mx/accessibility/DateChooserAccImpl.as
+++ frameworks/projects/mx/src/mx/accessibility/DateChooserAccImpl.as
@@ -251,6 +251,10 @@
 	 */
 	override protected function eventHandler(event:Event):void
 	{
+		// Let AccImpl class handle the events
+		// that all accessible UIComponents understand.
+		$eventHandler(event);
+
 		var dateChooser:DateChooser = DateChooser(master);

 		var randomDate:int = dateChooser.displayedMonth + dateChooser.displayedYear;


now showing file/export html5 menu item if version is Custom

--- WeaveUI/src/weave/menus/FileMenu.as
+++ WeaveUI/src/weave/menus/FileMenu.as
@@ -212,7 +212,7 @@
 					},
 					{
 						shown: function():Boolean {
-							return Capabilities.isDebugger && Weave.properties.version.value == 'Custom';
+							return Weave.properties.version.value == 'Custom';
 						},
 						label: lang("Export to HTML5"),
 						click: function():void {


Change 20080521-maxcarlson-m by maxcarlson@Roboto on 2008-05-21 14:39:56 PDT
    in /Users/maxcarlson/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Don't init flash/js communication when apps are running outside the html wrappers.

New Features:

Bugs Fixed: LPP-5383 - Refresh Or Close Of SWF 8 Solo App In IE7 Causes Javascript 'No Object' Errors

Technical Reviewer: promanik
QA Reviewer: hminsky
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: Return after running the installer if a null id is passed into the constructor, which happens when there is no id init arg.  It's a shame the flash.external.ExternalInterface.available API does nothing to help in this case!

Tests: Compile a non-proxied version of an app, then load it in IE 7 directly  Reloading the app should no longer produce Javascript warnings in IE...  I used http://192.168.1.119:8080/trunk/my-apps/copy-of-hello.lzx?lzr=swf8&lzproxied=false followed by http://192.168.1.119:8080/trunk/my-apps/copy-of-hello.lzx.lzr%3Dswf8.swf

git-svn-id: d62bde4b5aa582fdf07c8d403e53e0399a7ed285@9285 fa20e4f9-1d0a-0410-b5f3-dc9c16b8b17c

--- WEB-INF/lps/lfc/kernel/swf/dojo/flash8/DojoExternalInterface.as
+++ WEB-INF/lps/lfc/kernel/swf/dojo/flash8/DojoExternalInterface.as
@@ -33,6 +33,10 @@
 		if(install.needsUpdate){
 			install.init();
 		}
+
+		// not loaded from the wrapper JS...
+		if (id == null) return;
+
 		this._id = id;

 		// register our callback functions


Fixed bug #1035 - Probed shapes are now selected even if selection polygon does not contain them.

--- WeaveUISpark/src/weave/visualization/layers/InteractiveVisualization.as
+++ WeaveUISpark/src/weave/visualization/layers/InteractiveVisualization.as
@@ -53,6 +53,7 @@
 	import weave.primitives.SimpleGeometry;
 	import weave.utils.CustomCursorManager;
 	import weave.utils.ProbeTextUtils;
+	import weave.utils.VectorUtils;
 	import weave.utils.ZoomUtils;

 	/**
@@ -720,7 +721,7 @@
 		private function clearSelection():void
 		{
 			for each (var name:String in plotManager.plotters.getNames())
-				setSelectionKeys(name, []);
+				setSelectionKeys(name, null);
 		}

 		/**
@@ -791,7 +792,7 @@
 			plotManager.zoomBounds.getScreenBounds(tempScreenBounds);

 			// loop from bottom layer to top layer
-			for each (var name:String in plotManager.plotters.getNames())
+			layerLoop: for each (var name:String in plotManager.plotters.getNames())
 			{
 				var plotter:IPlotter = plotManager.plotters.getObject(name) as IPlotter;
 				var settings:LayerSettings = plotManager.getLayerSettings(name);
@@ -799,8 +800,10 @@
 				if (!plotManager.layerShouldBeRendered(name) || !settings.selectable.value)
 					continue;
 				// skip this layer if it does not contain lastProbedQKey
-				if (_lastProbedQKey && !plotter.filteredKeySet.containsKey(_lastProbedQKey))
-					continue;
+				if (_lastProbedQKeys)
+					for each (var key:IQualifiedKey in _lastProbedQKeys)
+						if (!plotter.filteredKeySet.containsKey(key))
+							continue layerLoop;

 				// when using the selection layer, clear the probe
 				setProbeKeys(name, []);
@@ -814,10 +817,12 @@
 					continue;
 				tempDataBounds.constrainBounds(queryBounds, false);

-				var keys:Array = [];
+				var keys:Array = null;
 				if (Weave.properties.selectionMode.value == InteractionController.SELECTION_MODE_RECTANGLE)
 				{
-					keys = plotManager.hack_getSpatialIndex(name).getKeysGeometryOverlap(queryBounds, minImportance, false, tempDataBounds);
+					// if user has probed something and not dragged the mouse during selection, select only the probed shapes
+					if (!_lastProbedQKeys || !queryBounds.isEmpty())
+						keys = plotManager.hack_getSpatialIndex(name).getKeysGeometryOverlap(queryBounds, minImportance, false, tempDataBounds);
 				}
 				else if (Weave.properties.selectionMode.value == InteractionController.SELECTION_MODE_CIRCLE)
 				{
@@ -844,8 +849,8 @@
 					keys = plotManager.hack_getSpatialIndex(name).getKeysGeometryOverlapGeometry(_selectionGeometry, minImportance, false);
 				}

-
-				setSelectionKeys(name, keys, true);
+				keys = VectorUtils.flatten(_lastProbedQKeys, keys);
+				setSelectionKeys(name, keys);

 				break; // select only one layer at a time
 			}
@@ -864,8 +869,9 @@
 		/**
 		 * This is the last IQualifiedKey (record identifier) that was probed.
 		 */
-		public function get lastProbedKey():IQualifiedKey { return _lastProbedQKey; }
-		private var _lastProbedQKey:IQualifiedKey = null;
+		public function get lastProbedKey():IQualifiedKey { return _lastProbedQKeys ? _lastProbedQKeys[0] : null; }
+		public function get lastProbedKeys():Array { return _lastProbedQKeys; }
+		private var _lastProbedQKeys:Array = null;

 		protected function handleProbe(allowCallLater:Boolean = true):void
 		{
@@ -919,7 +925,7 @@
 					if (keys.length > 0)
 					{
 						setProbeKeys(name, keys);
-						_lastProbedQKey = keys[0] as IQualifiedKey;
+						_lastProbedQKeys = keys;

 						return;
 					}
@@ -930,26 +936,25 @@
 					setProbeKeys(lastActiveLayer, []);
 			}
 			// either not rolled over or nothing was probed
-			_lastProbedQKey = null;
-		}
-
-		protected function setSelectionKeys(layerName:String, keys:Array, useMouseMode:Boolean = false):void
-		{
+			_lastProbedQKeys = null;
+		}
+
+		protected function setSelectionKeys(layerName:String, keys:Array):void
+		{
 			if (!Weave.properties.enableToolSelection.value || !enableSelection.value)
 				return;

 			// set the probe filter to a new set of keys
 			var settings:LayerSettings = plotManager.getLayerSettings(layerName);
 			var keySet:KeySet = settings.selectionFilter.internalObject as KeySet;
-			if (keySet != null)
-			{
-				if (useMouseMode && _mouseMode == InteractionController.SELECT_ADD)
-					keySet.addKeys(keys);
-				else if (useMouseMode && _mouseMode == InteractionController.SELECT_REMOVE)
-					keySet.removeKeys(keys);
-				else
-					keySet.replaceKeys(keys);
-			}
+			if (!keys)
+				keySet.clearKeys();
+			else if (_mouseMode == InteractionController.SELECT_ADD)
+				keySet.addKeys(keys);
+			else if (_mouseMode == InteractionController.SELECT_REMOVE)
+				keySet.removeKeys(keys);
+			else
+				keySet.replaceKeys(keys);
 		}

 		protected function setProbeKeys(layerName:String, keys:Array):void


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/framework/src/mx/binding/EvalBindingResponder.as
+++ frameworks/projects/framework/src/mx/binding/EvalBindingResponder.as
@@ -0,0 +1,90 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2006 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.binding
+{
+
+import mx.rpc.IResponder;
+
+[ExcludeClass]
+
+/**
+ *  @private
+ *  This responder is a fallback in case the set or get methods
+ *  we are invoking to implement this binding do not properly
+ *  catch the ItemPendingError.  There may be some issues with
+ *  leaving this in long term as we are not handling the
+ *  case where this binding is executed multiple times in
+ *  rapid succession (and thus piling up responders) and
+ *  also not dealing with a potential stale item responder.
+ */
+public class EvalBindingResponder implements IResponder
+{
+    include "../core/Version.as";
+
+ 	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  Constructor.
+	 */
+    public function EvalBindingResponder(binding:Binding, object:Object)
+    {
+		super();
+
+        this.binding = binding;
+        this.object = object;
+    }
+
+ 	//--------------------------------------------------------------------------
+	//
+	//  Variables
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+    private var binding:Binding;
+
+	/**
+	 *  @private
+	 */
+	private var object:Object;
+
+ 	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+    public function result(data:Object):void
+    {
+        binding.execute(object);
+    }
+
+	/**
+	 *  @private
+	 */
+    public function fault(data:Object):void
+    {
+       // skip it
+    }
+}
+
+}


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

--- frameworks/projects/framework/src/mx/core/IPropertyChangeNotifier.as
+++ frameworks/projects/framework/src/mx/core/IPropertyChangeNotifier.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-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.
 //
 ////////////////////////////////////////////////////////////////////////////////


Transferred from the Adobe Open Source Subversion Repository

Revision: 22329
Author:   jasonsj@adobe.com
Date:     2011-08-31T19:48:14.005373Z

Log Message:
-----------
Fix CalloutPosition.AUTO edge cases:
* CalloutPosition.AUTO and the callout is sized larger than the owner. Add interior position support only in this case
* Set margin to zero when arrow is on the nudged side of the callout
* Do not use callout size to compute AUTO positions, use only available space

Remove CalloutButton TODOs

QE notes:
Doc notes:
Bugs:
SDK-31258 when the app is running on smaller devices (non-tablet), callout position changes
Reviewer: betravis
Tests run: checkintests, mustella-mobile
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/CalloutButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/Callout.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/Callout.as
+++ frameworks/projects/mobilecomponents/src/spark/components/Callout.as
@@ -897,12 +897,12 @@
         if (screen)
         {
             adjustedHorizontalPosition = adjustCalloutPosition(
-                horizontalPosition,
+                actualHorizontalPosition,
                 calloutBounds.left, calloutBounds.right,
                 screen.left, screen.right);

             adjustedVerticalPosition = adjustCalloutPosition(
-                verticalPosition,
+                actualVerticalPosition,
                 calloutBounds.top, calloutBounds.bottom,
                 screen.top, screen.bottom);
         }
@@ -987,11 +987,57 @@

         // If the callout still doesn't fit, then nudge it
         // so it is completely on the screen. Make sure to include scale.
+        var screenTop:Number = screen.top;
+        var screenBottom:Number = screen.bottom;
+        var screenLeft:Number = screen.left;
+        var screenRight:Number = screen.right;
+
+        // Allow zero margin on the the side with the arrow
+        switch (arrowDirection)
+        {
+            case ArrowDirection.UP:
+            {
+                screenBottom -= margin;
+                screenLeft += margin;
+                screenRight -= margin
+                break;
+            }
+            case ArrowDirection.DOWN:
+            {
+                screenTop += margin;
+                screenLeft += margin;
+                screenRight -= margin
+                break;
+            }
+            case ArrowDirection.LEFT:
+            {
+                screenTop += margin;
+                screenBottom -= margin;
+                screenRight -= margin
+                break;
+            }
+            case ArrowDirection.RIGHT:
+            {
+                screenTop += margin;
+                screenBottom -= margin;
+                screenLeft += margin;
+                break;
+            }
+            default:
+            {
+                screenTop += margin;
+                screenBottom -= margin;
+                screenLeft += margin;
+                screenRight -= margin
+                break;
+            }
+        }
+
         regPoint.y += nudgeToFit(calloutBounds.top, calloutBounds.bottom,
-            screen.top + margin, screen.bottom - margin, concatScaleY);
+            screenTop, screenBottom, concatScaleY);

         regPoint.x += nudgeToFit(calloutBounds.left, calloutBounds.right,
-            screen.left + margin, screen.right - margin, concatScaleX);
+            screenLeft, screenRight, concatScaleX);

         // Compute the stage coordinates of the upper,left corner of the PopUp, taking
         // the postTransformOffsets - which include mirroring - into account.
@@ -1055,15 +1101,6 @@
         var spaceRight:Number = screen.width - ownerBounds.right;
         var spaceTop:Number = ownerBounds.top;
         var spaceBottom:Number = screen.height - ownerBounds.bottom;
-
-        var calloutWidth:Number = getLayoutBoundsWidth();
-        var calloutHeight:Number = getLayoutBoundsHeight();
-
-        // Can the popUp fit in each direction?
-        spaceLeft -= calloutWidth;
-        spaceRight -= calloutWidth;
-        spaceTop -= calloutHeight;
-        spaceBottom -= calloutHeight;

         var canFitVertical:Boolean = ((spaceTop > 0) || (spaceBottom > 0));
         var canFitHorizontal:Boolean = ((spaceLeft > 0) || (spaceRight > 0));
@@ -1113,14 +1150,17 @@
         else // if ((verticalPosition == CalloutPosition.AUTO) && (horizontalPosition == CalloutPosition.AUTO))
         {
             var useVertical:Boolean = true;
+            var useInterior:Boolean = false;

             if (!canFitHorizontal && !canFitVertical)
             {
-                // Edge case where callout doesn't fit in any direction
-                var horizontalSpace:Number = (spaceLeft > spaceRight) ? spaceLeft : spaceRight;
-                var verticalSpace:Number = (spaceTop > spaceBottom) ? spaceTop : spaceBottom;
-
-                useVertical = (verticalSpace > horizontalSpace);
+                // Edge case where callout doesn't fit in any direction.
+                // Choose position based on aspect ratio
+                useVertical = !isLandscape;
+
+                // Only use interior positions when no space is available
+                useInterior = (spaceTop <= 0) && (spaceBottom <= 0) &&
+                              (spaceLeft <= 0) && (spaceRight <= 0);
             }
             else if (isLandscape)
             {
@@ -1132,15 +1172,18 @@
                 // Favor vertical before/after in portrait
                 useVertical = canFitVertical;
             }
+
+            var startPos:String = (useInterior) ? CalloutPosition.START : CalloutPosition.BEFORE;
+            var endPos:String = (useInterior) ? CalloutPosition.END : CalloutPosition.AFTER;

             if (useVertical)
             {
                 actualHorizontalPosition = CalloutPosition.MIDDLE;
-                actualVerticalPosition = (spaceBottom > spaceTop) ? CalloutPosition.AFTER : CalloutPosition.BEFORE;
+                actualVerticalPosition = (spaceBottom > spaceTop) ? endPos : startPos;
             }
             else
             {
-                actualHorizontalPosition = (spaceRight > spaceLeft) ? CalloutPosition.AFTER : CalloutPosition.BEFORE;
+                actualHorizontalPosition = (spaceRight > spaceLeft) ? endPos : startPos;
                 actualVerticalPosition = CalloutPosition.MIDDLE;
             }
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 11995
Author:   doug.lee@ssbbartgroup.com
Date:     2009-11-19T18:50:30.831767Z

Log Message:
-----------
Updated all AccImpls that use MSAA constants (except TextLayout) to
use the new AccConst references instead of hard-coding hex numbers and
local copies of the constants.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ListAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ColorPickerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/PanelAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/LabelAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DataGridAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/SliderAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TextInputAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/CheckBoxAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ComboBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TabBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/accessibility/WindowedApplicationAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SpinnerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TextBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/PanelAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SliderAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/DropDownListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/RichEditableTextAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/CheckBoxAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AlertAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/RadioButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccordionHeaderAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DateFieldAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/NumericStepperAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SkinnableTextBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ComboBoxAccImpl.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/framework/src/mx/accessibility/LinkButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/RadioButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ToggleButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TreeAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/accessibility/WindowAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DateChooserAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/VideoPlayerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TitleWindowAccImpl.as</path>

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

--- frameworks/projects/spark/src/spark/accessibility/ComboBoxAccImpl.as
+++ frameworks/projects/spark/src/spark/accessibility/ComboBoxAccImpl.as
@@ -15,6 +15,7 @@
     import flash.events.Event;
     import flash.events.FocusEvent;

+import mx.accessibility.AccConst;
     import mx.core.UIComponent;
     import mx.core.mx_internal;

@@ -38,31 +39,6 @@

         //--------------------------------------------------------------------------
         //
-        //  Class constants
-        //
-        //--------------------------------------------------------------------------
-        /**
-         *  @private
-         */
-        private static const EVENT_OBJECT_FOCUS:uint = 0x8005;
-
-        /**
-         *  @private
-         */
-        private static const EVENT_OBJECT_VALUECHANGE:uint = 0x800e;
-
-        /**
-         *  @private
-         */
-        private static const EVENT_SYSTEM_STATECHANGE:uint = 0x800a;
-
-        /**
-         *  @private
-         */
-        private static const ROLE_SYSTEM_TEXT:uint = 0x2a;
-
-        //--------------------------------------------------------------------------
-        //
         //  Class methods
         //
         //--------------------------------------------------------------------------
@@ -130,7 +106,7 @@
          */
         private function textInputChangeHandler(event:Event):void
         {
-            Accessibility.sendEvent(master, 0, EVENT_OBJECT_VALUECHANGE);
+            Accessibility.sendEvent(master, 0, AccConst.EVENT_OBJECT_VALUECHANGE);
         }

         //--------------------------------------------------------------------------
@@ -230,12 +206,12 @@
                 }
                 case "open":
                 {
-                    Accessibility.sendEvent(master, 0, EVENT_SYSTEM_STATECHANGE);
+                    Accessibility.sendEvent(master, 0, AccConst.EVENT_OBJECT_STATECHANGE);
                     break;
                 }
                 case "focusIn":
                 {
-                    Accessibility.sendEvent(master, 0, EVENT_OBJECT_FOCUS);
+                    Accessibility.sendEvent(master, 0, AccConst.EVENT_OBJECT_FOCUS);
                     break;
                 }
                 default:


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

--- frameworks/projects/rpc/src/mx/rpc/remoting/mxml/RemoteObject.as
+++ frameworks/projects/rpc/src/mx/rpc/remoting/mxml/RemoteObject.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 mx.rpc.remoting.mxml
 {


don't block if no fonts

don't block if no fonts

--- frameworks/projects/Core/as/src/org/apache/flex/core/CSSFontFaceBead.as
+++ frameworks/projects/Core/as/src/org/apache/flex/core/CSSFontFaceBead.as
@@ -88,6 +88,12 @@
         {
             if (!loaders)
                 loaders = [];
+
+            if (!fontFaces || fontFaces.length == 0)
+            {
+                IEventDispatcher(_strand).removeEventListener("preinitialize", preinitHandler);
+                return;
+            }

             for each (var url:String in fontFaces)
             {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17628
Author:   chiedozi@adobe.com
Date:     2010-09-09T05:25:07.805337Z

Log Message:
-----------
{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf320
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;\red18\green53\blue166;}
\margl1440\margr1440\vieww9000\viewh8400\viewkind0
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural

\f0\fs24 \cf0 Merging revision 17627 from hero_private_beta\
\pard\pardeftab720\ql\qnatural
\cf0 \
Fixed a bug where the current state of a View could be replaced with null if the landscape or portrait states weren't defined.\
\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
\cf0 QE notes: \
Doc notes: \
Bugs: \cf2 \ul \ulc2 SDK-27115\cf0 \ulnone \
Reviewer: Ryan\
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/View.as</path>
<path kind="dir" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark_dmv/src/mx/controls/advancedDataGridClasses</path>
<path kind="dir" action="M">/private/flex/sdk/branches/hero_private</path>
<path kind="dir" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance</path>
<path kind="dir" action="M">/private/flex/sdk/branches/hero_private/frameworks/locale/zh_TW</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/View.as
+++ frameworks/projects/mobilecomponents/src/spark/components/View.as
@@ -718,9 +718,9 @@
         if (landscape && hasState("landscape"))
             return "landscape";

-        // If none of the above states are defined in the view will
-        // return the empty string.
-        return null;
+        // If the appropriate state for the orientation of the device
+        // isn't defined, return the current state
+        return currentState;
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 18685
Author:   chiedozi@adobe.com
Date:     2010-11-17T23:41:28.244847Z

Log Message:
-----------
MobileApplication classes have been renamed to ViewNavigatorApplication.  Specific file changes are:
MobileApplicationBase  -->  ViewNavigatorApplicationBase
MobileApplication --> ViewNavigatorApplication
MobileApplicationSkin -->  ViewNavigatorApplicationSkin
TabbedMobileApplication -->  TabbedViewNavigatorApplication
TabbedMobileApplicationSkin --> TabbedViewNavigatorApplicationSkin

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/manifest.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchVirtualizedASTextField.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchVirtualizedMXMLLabel.mxml</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedMobileApplication.as" copyfrom-rev="18641" action="A">/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/mobiletheme/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewMenuItem.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/RadioStations/src/RadioStations.mxml</path>
<path kind="file" action="D">/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/tests/performance/mobile/TwitterSearch/src/TwitterSearchVirtualizedMXMLTextField.mxml</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/MobileApplicationSkin.as" copyfrom-rev="18641" action="A">/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/managers/PersistenceManager.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileApplication.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileApplicationBase.as" copyfrom-rev="18641" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorApplicationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewMenu.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ActionBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/ComponentCatalog/src/ComponentCatalog.mxml</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedMobileApplicationSkin.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileApplication.as" copyfrom-rev="18641" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigatorApplication.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/tests/performance/mobile/TwitterSearch/src/TwitterSearchASLabel.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/MobileThemeClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TextTest/src/TextTest.mxml</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedMobileApplicationSkin.as" copyfrom-rev="18641" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchASTextField.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchMXMLLabel.mxml</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedMobileApplication.as</path>
<path kind="dir" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/core/managers</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/managers/IPersistenceManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchMXMLTextField.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchVirtualizedASLabel.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TransitionTests/src/TransitionTests.mxml</path>
<path kind="dir" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/core/managers" copyfrom-rev="18641" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/managers</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/MobileApplicationSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.as
@@ -14,13 +14,13 @@
 import mx.core.ClassFactory;
 import mx.core.IFactory;

-import spark.components.MobileApplication;
+import spark.components.ViewNavigatorApplication;
 import spark.components.ViewMenu;
 import spark.components.ViewNavigator;
 import spark.skins.mobile.supportClasses.MobileSkin;

 /**
- *  The ActionScript based skin used for MobileApplication.  This
+ *  The ActionScript based skin used for ViewNavigatorApplication.  This
  *  skin contains a single ViewNavigator that spans the entire
  *  content area of the application.
  *
@@ -29,7 +29,7 @@
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
-public class MobileApplicationSkin extends MobileSkin
+public class ViewNavigatorApplicationSkin extends MobileSkin
 {
     //--------------------------------------------------------------------------
     //
@@ -44,7 +44,7 @@
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
-    public function MobileApplicationSkin()
+    public function ViewNavigatorApplicationSkin()
     {
         super();

@@ -78,7 +78,7 @@
     //  Overridden Properties
     //
     //--------------------------------------------------------------------------
-    public var hostComponent:MobileApplication;
+    public var hostComponent:ViewNavigatorApplication;

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