Transferred from the Adobe Open Source Subversion Repository

Revision: 14124
Author:   cframpto@adobe.com
Date:     2010-02-11T17:53:35.882363Z

Log Message:
-----------
Merge 14123 from 4.x branch to trunk.

Log Message:
***********
Two additions/corrections to 14076.  Add key mappings for layoutDirection="rtl" for spark list components.  Correct type of keyCode variable so it is an uint rather than an int to match event.keyCode.

BitmapImage has a hard-coded layout direction="ltr".

QE notes: For layoutDirection="rtl" need to test LEFT, RIGHT, UP and DOWN keys.
Doc notes: None
Bugs: SDK-25330
Reviewed By: Hans
Tests run: checkintests
Is noteworthy for integration: No

Ticket Links:
***********
    http://bugs.adobe.com/jira/browse/SDK-25330

Modified Paths:
**************
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/containers/Accordion.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/ButtonBar.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/CalendarLayout.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/ColorPicker.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/Menu.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/MenuBar.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/RadioButton.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/Tree.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/sliderClasses/SliderThumb.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/Container.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/UIComponent.as
    flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/components/List.as
    flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/components/RadioButton.as
    flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as
    flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/components/supportClasses/DropDownListBase.as
    flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as
    flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/primitives/BitmapImage.as

Property Changed:
****************
    flex/sdk/branches/4.x/frameworks/

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="dir" action="M">/flex/sdk/trunk/frameworks</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DropDownListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/SliderThumb.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/BitmapImage.as</path>

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

--- frameworks/projects/mx/src/mx/controls/RadioButton.as
+++ frameworks/projects/mx/src/mx/controls/RadioButton.as
@@ -686,9 +686,9 @@
     		return;

-        // If rtl layout, need to swap LEFT for RIGHT so correct action
+        // If rtl layout, need to swap LEFT and RIGHT so correct action
         // is done.
-        var keyCode:int = mapKeycodeForLayoutDirection(event);
+        var keyCode:uint = mapKeycodeForLayoutDirection(event);

         switch (keyCode)
         {


Transferred from the Adobe Open Source Subversion Repository

Revision: 21654
Author:   jimurphy@adobe.com
Date:     2011-07-20T21:20:43.347800Z

Log Message:
-----------
Rollback rev# 21492 so when we do a CAB drop this change is not present - to be re-committed at a later date

QE notes: no
Doc notes: no
Bugs: no
Reviewer:  alex
Tests run: compile, ct
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/modules/ModuleManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mx/src/mx/modules/ModuleLoader.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/modules/ModuleLoader.as</path>

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

--- frameworks/projects/mx/src/mx/modules/ModuleLoader.as
+++ frameworks/projects/mx/src/mx/modules/ModuleLoader.as
@@ -14,9 +14,7 @@

 import flash.display.DisplayObject;
 import flash.display.DisplayObjectContainer;
-import flash.events.Event;
 import flash.system.ApplicationDomain;
-import flash.system.SecurityDomain;
 import flash.utils.ByteArray;
 import mx.containers.VBox;
 import mx.core.FlexVersion;
@@ -150,22 +148,6 @@
  *  only a single copy of the module SWF file is transferred over the network by using the
  *  ModuleManager singleton.

  *
- *

- *  <mx:ModuleLoader
- *    Properties
- *    url="No default"
- *    trustContent="false|true"
- *
- *    Events
- *    error="No default"
- *    loading="No default"
- *    progress="No default"
- *    ready="No default"
- *    setup="No default"
- *    unload="No default"
- *  />
- *

- *
  *  @see mx.modules.ModuleManager
  *  @see mx.controls.SWFLoader
  *
@@ -254,66 +236,6 @@
      */
     public var child:DisplayObject;

-    //----------------------------------
-    //  trustContent
-    //----------------------------------
-
-    /**
-     *  @private
-     *  Storage for the trustContent property.
-     */
-    private var _trustContent:Boolean = false;
-
-    [Bindable("trustContentChanged")]
-    [Inspectable(defaultValue="false")]
-
-    /**
-     *  If true, the content is loaded
-     *  into your security domain.
-     *  This means that the load fails if the content is in another domain
-     *  and that domain does not have a crossdomain.xml file allowing your
-     *  domain to access it.
-     *  This property only has an affect on the next load,
-     *  it will not start a new load on already loaded content.
-     *
-     *
The default value is false, which means load
-     *  any content without failing, but you cannot access the content.
-     *  Most importantly, the loaded content cannot
-     *  access your objects and code, which is the safest scenario.
-     *  Do not set this property to true unless you are absolutely sure of the safety
-     *  of the loaded content

-     *
-     *  @default false
-     *  @see flash.system.SecurityDomain
-     *  @see flash.system.ApplicationDomain
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.6
-     *  @productversion Flex 4.5.1
-     */
-    public function get trustContent():Boolean
-    {
-        return _trustContent;
-    }
-
-    /**
-     *  @private
-     */
-    public function set trustContent(value:Boolean):void
-    {
-        if (_trustContent != value)
-        {
-            _trustContent = value;
-
-            invalidateProperties();
-            invalidateSize();
-            invalidateDisplayList();
-
-            dispatchEvent(new Event("trustContentChanged"));
-        }
-    }
-
     //----------------------------------
     //  url
     //----------------------------------
@@ -473,10 +395,7 @@
             tempApplicationDomain = new ApplicationDomain(currentDomain);
         }

-        module.load(tempApplicationDomain,
-                    trustContent ? SecurityDomain.currentDomain : null,
-                    bytes,
-                    moduleFactory);
+        module.load(tempApplicationDomain, null, bytes, moduleFactory);
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 8131
Author:   chaase@adobe.com
Date:     2009-06-23T23:08:25.193334Z

Log Message:
-----------
Fix for 2 gumbo_priority bugs. One was a miscalculation of a Parallel effect's duration when it had zero-duration child effects, causing a problem when seeking into that parallel effect. The other was a fix to the easing model for transform effects. Now a transform effect will handle easing through its internal keyframes, preserving the behavior specified by the caller (or by the default easing behavior).

QE Notes: None. Behavior for AnimateTransform should be as before, although the way easing is applied to the subclasses has changed (and is now correct)
Doc Notes: None
Bugs: sdk-21477, sdk-21422
Reviewer: Jason
Tests: checkintests, Mustella spark/effects

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as</path>

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

--- frameworks/projects/spark/src/spark/effects/Rotate.as
+++ frameworks/projects/spark/src/spark/effects/Rotate.as
@@ -81,6 +81,7 @@
     {
         super(target);
         instanceClass = AnimateTransformInstance;
+        transformEffectSubclass = true;
     }

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


Default to unselectable text.

Default to unselectable text.

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


Fixed mouseover rendering for wires being drawn

--- src/Displays/DCurrent.as
+++ src/Displays/DCurrent.as
@@ -45,7 +45,7 @@

 			if (!moused)
 				for each (var dWire:DWire in dWires)
-					if (dWire.wire.exists && !dWire.outsideScreen() && dWire.overlapsPoint(U.mouseFlxLoc)) {
+					if (dWire.wire.exists && dWire.wire.deployed && !dWire.outsideScreen() && dWire.overlapsPoint(U.mouseFlxLoc)) {
 						buildDisplay(moused = dWire, carrier = dWire.wire);
 						break;
 					}


Fix log spam.

Fix log spam.

--- HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPStreamSource.as
+++ HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPStreamSource.as
@@ -484,7 +484,8 @@
 					{
 						CONFIG::LOGGING
 						{
-							logger.debug("_bestEffortDownloadResult = " + _bestEffortDownloadResult);
+							if(_bestEffortDownloadResult != null)
+								logger.debug("_bestEffortDownloadResult = " + _bestEffortDownloadResult);
 						}
 						if(_bestEffortDownloadResult == null)
 						{


fix coding style

fix coding style

--- src/aerys/minko/render/geometry/stream/VertexStream.as
+++ src/aerys/minko/render/geometry/stream/VertexStream.as
@@ -19,8 +19,8 @@

 		private static const TMP_NUMBERS	: Vector.<Number>	= new <Number>[];

-		minko_stream var _data			: Vector.<Number>	= null;
-		minko_stream var _localDispose	: Boolean			= false;
+		minko_stream var _data			: Vector.<Number>			= null;
+		minko_stream var _localDispose	: Boolean					= false;

 		private var _usage				: uint						= 0;
 		private var _format				: VertexFormat				= null;
@@ -389,6 +389,7 @@
 					var y	: Number 	= TMP_NUMBERS[i + 1];
 					var z	: Number 	= TMP_NUMBERS[i + 2];
 					var m	: Number 	= 1.0 / Math.sqrt(x * x + y * y + z * z);
+
 					vertices[k]			= x * m;
 					vertices[k + 1]		= y * m;
 					vertices[k + 2]		= z * m;


fix VertexDepthShader

fix VertexDepthShader


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

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

 package mx.olap
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 1159
Author:   mhorn@adobe.com
Date:     2008-04-09T18:01:48.771011Z

Log Message:
-----------
asdoc bug fix FLEXDOCS-339

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

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

--- frameworks/projects/framework/src/mx/collections/IViewCursor.as
+++ frameworks/projects/framework/src/mx/collections/IViewCursor.as
@@ -292,14 +292,10 @@
      *  false if the current value initially was or
      *  now is beforeFirst.
      *
-     *  @see #current
-     *  @see #moveNext()
-     *  @see mx.collections.errors.ItemPendingError
-     *
-     *  @example
+     *  For example:
      *

      *  var myArrayCollection:ICollectionView = new ArrayCollection([ "Bobby", "Mark", "Trevor", "Jacey", "Tyler" ]);
-     *  var cursor:ICursor = myArrayCollection.createCursor();
+     *  var cursor:IViewCursor = myArrayCollection.createCursor();
      *  cursor.seek(CursorBookmark.last);
      *  while (!cursor.beforeFirst)
      *  {
@@ -307,6 +303,10 @@
      *      cursor.movePrevious();
      *  }
      *

+     *
+     *  @see #current
+     *  @see #moveNext()
+     *  @see mx.collections.errors.ItemPendingError
      */
     function movePrevious():Boolean;


Transferred from the Adobe Open Source Subversion Repository

Revision: 4035
Author:   jszeto@adobe.com
Date:     2008-11-06T23:38:55.516366Z

Log Message:
-----------
RadialGradient and GradientEntry bug fixes

SDK-17745 - MXML application with multiple identical gradient fills doesn't render correctly

RadialGradient now takes into account the x/y position of the graphic element's bounds.

SDK-17652 - AI import; non-default angle and location of gradients are not retained on import of .ai or .fxg.

RadialGradient now rotates as expected. Previously, we set rotation using the Matrix.createGradientBox function. But this only rotate the gradients themselves and not the shape of the gradient as defined by scaleX and scaleY. Instead, we need to translate the center of the gradient to 0,0, rotate it, and then translate it back to the original location.

SDK-17654 - GradientEntry ratio behavior is inconsistent between MXML and ActionScript

Changed the default value for the ratio parameter in the GradientEntry constructor from -1 to NaN. GradientEntry was probably written before we had support for NaN in the language.

Added a couple of comments and removed some dead code.

QE Notes: Please test rotation on RadialGradient and graphic elements with top/left or x/y defined and a RadialGradient fill.
Doc Notes: Change default value of ratio parameter for GradientEntry constructor.
Bugs: SDK-17745, SDK-17652, SDK-17654
Reviewer:

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientEntry.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradient.as</path>

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

--- frameworks/projects/framework/src/mx/graphics/RadialGradient.as
+++ frameworks/projects/framework/src/mx/graphics/RadialGradient.as
@@ -239,17 +239,23 @@
     {
     	var w:Number = !isNaN(scaleX) ? scaleX : rc.width;
     	var h:Number = !isNaN(scaleY) ? scaleY : rc.height;
-		var tx:Number = !isNaN(x) ? x : rc.width / 2;
-		var ty:Number = !isNaN(y) ? y : rc.height / 2;
+		var regX:Number = rc.left + (!isNaN(x) ? x : rc.width / 2);
+		var regY:Number = rc.top + (!isNaN(y) ? y : rc.height / 2);
+		var tx:Number = regX - w / 2;
+		var ty:Number = regY - h / 2;

-		tx -= w / 2;
-		ty -= h / 2;
+        commonMatrix.createGradientBox(w, h, 0, tx, ty);

-        commonMatrix.createGradientBox(w, h,
-								!isNaN(mx_internal::_angle) ?
-									mx_internal::_angle : mx_internal::rotationInRadians,
-								 tx, ty);
-
+		// Translate the gradient so that the center is at (0,0),
+		// rotate, and then translate it back to the original position
+		if ((!isNaN(mx_internal::_angle) && mx_internal::_angle != 0) || mx_internal::rotationInRadians != 0)
+		{
+			commonMatrix.translate(-regX, -regY);
+			commonMatrix.rotate(!isNaN(mx_internal::_angle) ?
+										mx_internal::_angle : mx_internal::rotationInRadians);
+			commonMatrix.translate(regX, regY);
+	  	}
+
         target.beginGradientFill(GradientType.RADIAL, mx_internal::colors,
 								 mx_internal::alphas, mx_internal::ratios,
 								 commonMatrix, spreadMethod, interpolationMethod, focalPointRatio);


Transferred from the Adobe Open Source Subversion Repository

Revision: 5305
Author:   chaase@adobe.com
Date:     2009-03-13T20:07:42.611851Z

Log Message:
-----------
Fixed a few unrelated effects bugs, including an RTE when manually playing an FxRotate3D effect, incorrect calculations using valueBy in general, and allowing FxAnimateColor to handle color names instead of just uints.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxRotate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>

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

--- frameworks/projects/spark/src/spark/effects/AnimateTransform.as
+++ frameworks/projects/spark/src/spark/effects/AnimateTransform.as
@@ -128,6 +128,8 @@
      */
     static protected var transformInstancePerTarget:Dictionary = new Dictionary(true);

+    // TODO (chaase): consider putting the three per-target maps into one
+    // single structure
     /**
      * @private
      * These maps hold information about whether values have already been applied


Transferred from the Adobe Open Source Subversion Repository

Revision: 10131
Author:   chaase@adobe.com
Date:     2009-09-10T21:25:42.980194Z

Log Message:
-----------
Fixes to several effects bugs and one styles-related bug.

QE notes: Fixes to all filed auto-center feature bugs.
Doc notes: None
Bugs: sdk-22994, sdk-22992, sdk-22990, sdk-21850, sdk-22973
Reviewer: Jason (+Glenn for RadioButton/CheckBox changes, 21850)
Tests run: checkintests, Mustella (transform effects, Slider, DataGrid - all passed last week, prior to skin/test changes)
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SoundEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CheckBox.as</path>

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

--- frameworks/projects/spark/src/spark/effects/AnimateTransform.as
+++ frameworks/projects/spark/src/spark/effects/AnimateTransform.as
@@ -661,8 +661,11 @@
                 {
                     var propName:String = effectProps[j];
                     // Only record and apply values if they change between states
+                    // Special case for tx/ty because they may change implicitly due
+                    // to transform center changes
                     if (propName in valueMap &&
-                        valueMap[propName] != otherValueMap[propName])
+                        (propName == "translationX" || propName == "translationY" ||
+                         valueMap[propName] != otherValueMap[propName]))
                     {
                         transitionValues[propName] = valueMap[propName];
                     }
@@ -881,37 +884,6 @@
         }
         keyframes.push(newKF);
     }
-
-    /**
-     *  @private
-     *
-     *  Adds a MotionPath object to the transform effect with the
-     *  given parameters.
-     *  If a MotionPath object
-     *  on the same property already exists, adds the keyframes from the
-     *  new MotionPath object into the existing MotionPath object, sorted
-     *  by the time values.
-     *
-     *
Setting a post-layout motion path as part of an effect modifies the target,
-     *  but the parent container ignores the changes and does not update its layout.

-     *
-     *  @param property The name of the property being animated.
-     *
-     *  @param valueFrom The initial value of the property.
-     *
-     *  @param valueTo The final value of the property.
-     *
-     *  @param valueBy An optional parameter that specifies the delta with
-     *  which to calculate either the from or to values, if one is omitted.
-     */
-    mx_internal function addPostLayoutMotionPath(property:String,
-        valueFrom:Number = NaN, valueTo:Number = NaN, valueBy:Number = NaN):void
-    {
-        if(isNaN(valueFrom) && isNaN(valueTo) && isNaN(valueBy))
-           return;
-
-        addMotionPath(property,valueFrom,valueTo,valueBy);
-    }

     /**
      *  @private


Transferred from the Adobe Open Source Subversion Repository

Revision: 6843
Author:   jimurphy@adobe.com
Date:     2009-05-12T13:58:34.182467Z

Log Message:
-----------
Merged beta1 revisions 6793,6796-6797,6802,6805,6808-6809,6831 -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/ButtonBarFirstButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/utils/MouseShieldUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableContainerBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/TextAreaSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/ButtonBarLastButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/TileLayout.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/VerticalLayout.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
@@ -1185,6 +1185,16 @@
         if (!target || target.numElements < 1)
             return -1;

+        // Special case when nothing was previously selected
+        if (currentIndex == -1)
+        {
+            if (navigationUnit == NavigationUnit.LEFT)
+                return -1;
+
+            if (navigationUnit == NavigationUnit.RIGHT)
+                return 0;
+        }
+
         // Make sure currentIndex is within range
         var maxIndex:int = target.numElements - 1;
         currentIndex = Math.max(0, Math.min(maxIndex, currentIndex));


fixed incorrect variable name

fixed incorrect variable name

--- WeaveJS/src/weavejs/data/source/CSVDataSource.as
+++ WeaveJS/src/weavejs/data/source/CSVDataSource.as
@@ -165,7 +165,7 @@

 		private function updateKeys(forced:Boolean = false):void
 		{
-			var changed:Boolean = Weave.detectChange(updateKeys, keyType, keyColName);
+			var changed:Boolean = Weave.detectChange(updateKeys, keyType, keyColumn);
 			if (parsedRows && (forced || changed))
 			{
 				var colNames:Array = parsedRows[0] || [];
@@ -174,7 +174,7 @@
 				if (keyColumn.state is String)
 				{
 					keyColIndex = colNames.indexOf(keyColumn.state as String);
-					// treat invalid keyColName as an error
+					// treat invalid key column name as an error
 					if (keyColIndex < 0)
 						keyColIndex = -2;
 				}


Set smaller collision margin on the heightfield.

--- Bin/Data/Scripts/Terrain.as
+++ Bin/Data/Scripts/Terrain.as
@@ -145,7 +145,7 @@
         light.castShadows = true;
         light.shadowBias = BiasParameters(0.0001, 0.5);
         light.shadowCascade = CascadeParameters(10.0, 50.0, 200.0, 0.0, 0.8);
-        light.specularIntensity = 1.0;
+        light.specularIntensity = 0.5;
     }

     Terrain@ terrain;
@@ -162,6 +162,7 @@
         RigidBody@ body = terrainNode.CreateComponent("RigidBody");
         CollisionShape@ shape = terrainNode.CreateComponent("CollisionShape");
         shape.SetTerrain();
+        shape.margin = 0.01;
     }

     for (uint i = 0; i < 1000; ++i)


remove shameful editor bubblesort

remove shameful editor bubblesort

--- Bin/Data/Scripts/Editor/EditorUI.as
+++ Bin/Data/Scripts/Editor/EditorUI.as
@@ -187,23 +187,7 @@
             }
         }

-        {
-            QuickMenuItem@ a;
-            QuickMenuItem@ b;
-            for (uint x=0; x < filtered.length; x++)
-            {
-                for (uint y=0; y < filtered.length-1; y++)
-                {
-                    @a = filtered[y];
-                    @b = filtered[y+1];
-                    if(a.sortScore > b.sortScore)
-                    {
-                        @filtered[y+1] = a;
-                        @filtered[y] = b;
-                    }
-                }
-            }
-        }
+        filtered.Sort();

         {
             QuickMenuItem@ qi;
@@ -234,6 +218,10 @@
     {
         this.action = action;
         this.callback = callback;
+    }
+    int opCmp(QuickMenuItem@ b)
+    {
+        return sortScore - b.sortScore;
     }
 }


FLVMux: Correctly parse resolution from SPS.

--- src/com/axis/rtspclient/FLVMux.as
+++ src/com/axis/rtspclient/FLVMux.as
@@ -133,14 +133,22 @@
       var pic_width_in_mbs_minus1:uint              = sps.readUnsignedExpGolomb();
       var pic_height_in_map_units_minus1:uint       = sps.readUnsignedExpGolomb();
       var pic_frame_mbs_only_flag:uint              = sps.readBits(1);
-
-      /* There's more information here, but can't be bothered right now */
-
+      var direct_8x8_inference_flag:uint            = sps.readBits(1);
+      var frame_cropping_flag:uint                  = sps.readBits(1);
+      var frame_crop_left_offset:uint   = frame_cropping_flag ? sps.readUnsignedExpGolomb() : 0;
+      var frame_crop_right_offset:uint  = frame_cropping_flag ? sps.readUnsignedExpGolomb() : 0;
+      var frame_crop_top_offset:uint    = frame_cropping_flag ? sps.readUnsignedExpGolomb() : 0;
+      var frame_crop_bottom_offset:uint = frame_cropping_flag ? sps.readUnsignedExpGolomb() : 0;
+
+      var w:uint = (pic_width_in_mbs_minus1 + 1) * 16 -
+        (frame_crop_left_offset * 2) - (frame_crop_right_offset * 2);
+      var h:uint = (2 - pic_frame_mbs_only_flag) * (pic_height_in_map_units_minus1 + 1) * 16 -
+        (frame_crop_top_offset * 2) - (frame_crop_bottom_offset * 2)
       return {
         'profile' : profile,
         'level'   : level / 10.0,
-        'width'   : (pic_width_in_mbs_minus1 + 1) * 16,
-        'height'  : (2 - pic_frame_mbs_only_flag) * (pic_height_in_map_units_minus1 + 1) * 16
+        'width'   : w,
+        'height'  : h
       };
     }


Don't make endGame varargs. Shoulda done this a while ago.

git-svn-id: a3e1eb16dde062992de22c830ed8045c8013209a@226 c613c5cb-e716-0410-b11b-feb51c14d237

--- src/as/com/threerings/ezgame/EZGameControl.as
+++ src/as/com/threerings/ezgame/EZGameControl.as
@@ -479,13 +479,9 @@
     /**
      * End the game. The specified player ids are winners!
      */
-    public function endGame (... winnerIds) :void
-    {
-        var args :Array = winnerIds;
-        args.unshift("endGame_v2");
-
-        // goddamn var-args complications in actionscript
-        callEZCode.apply(null, args);
+    public function endGame (winnerIds :Array) :void
+    {
+        callEZCode("endGame_v2", winnerIds);
     }

     /**
@@ -590,6 +586,8 @@
                 }
             } catch (err :Error) {
                 trace("Unable to call ez code: " + err);
+                trace(err.getStackTrace());
+                //Log.testing(err.getStackTrace());
             }

         } else {


Implement correct FLV timestamp uint to int conversion helper.


Added mandatory NetStream client methods

--- src/Player.as
+++ src/Player.as
@@ -369,6 +369,26 @@
     public function onMetaData(item:Object):void {
       this.meta = item;
       this.videoResize();
+    }
+
+    private function onXMPData(event:Event):void {
+      Logger.log('XMPData received');
+    }
+
+    private function onCuePoint(cuePoint:Object):void {
+      Logger.log('CuePoint received: ' + cuePoint.name);
+    }
+
+    private function onImageData(imageData:Object):void {
+      Logger.log('ImageData received');
+    }
+
+    private function onSeekPoint(event:Event):void {
+      Logger.log('SeekPoint received');
+    }
+
+    private function onTextData(textData:Object):void {
+      Logger.log('TextData received');
     }

     public function onNetStreamCreated(ev:ClientEvent):void {


Updated documentation in MetaDataBuilder.

--- FlexUnit4/src/org/flexunit/internals/builders/MetaDataBuilder.as
+++ FlexUnit4/src/org/flexunit/internals/builders/MetaDataBuilder.as
@@ -52,14 +52,14 @@
 	 * implemented in one of the two following manners:

 	 *
 	 *

-	 * public function RunnerClass( testClass ) {
+	 * public function RunnerClass( testClass:Object ) {
 	 * }
 	 *

 	 *
 	 * Where testClass is the class to be run.

 	 *
 	 *

-	 * public function RunnerClass( testClass, suiteBuilder ) {
+	 * public function RunnerClass( testClass:Object, suiteBuilder:IRunnerBuilder ) {
 	 * }
 	 *

 	 *


Transferred from the Adobe Open Source Subversion Repository

Revision: 11067
Author:   egeorgie@adobe.com
Date:     2009-10-21T23:32:39.672345Z

Log Message:
-----------
Drag and Drop - tweak the positioning of the drop indicator, allow 1 pixel overlap with the container border

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
@@ -1869,8 +1869,10 @@
         }

         var x:Number = paddingLeft;
-        var y:Number = emptySpaceTop + Math.round((emptySpace - height)/2);
-        y = Math.max(-Math.ceil(height / 2), Math.min(target.contentHeight - Math.ceil(height/2), y));
+
+		var y:Number = emptySpaceTop + Math.round((emptySpace - height)/2);
+		// Allow 1 pixel overlap with container border
+        y = Math.max(-1, Math.min(target.contentHeight - height + 1, y));
         return new Rectangle(x, y, width, height);
     }
 }


Fixed issue with blocking teardowng

Fixed issue with blocking teardowng

--- asunit-4.0/src/asunit4/runners/TestRunner.as
+++ asunit-4.0/src/asunit4/runners/TestRunner.as
@@ -51,6 +51,7 @@
         protected var methodsToRun:TestIterator;
         protected var result:IResult;
         protected var startTime:Number;
+        protected var testMethodNameReceived:Boolean;
         protected var timer:Timer;
         protected var visualContext:DisplayObjectContainer;
         protected var visualInstances:Array;
@@ -67,11 +68,12 @@
         }

         public function runMethodByName(test:Class, result:IResult, methodName:String=null, visualContext:DisplayObjectContainer=null):void {
-            currentTest           = new test();
-            currentTestReflection = Reflection.create(test);
-            currentMethod         = null;
-            this.result           = result;
-            this.visualContext    = visualContext;
+            currentTest            = new test();
+            currentTestReflection  = Reflection.create(test);
+            currentMethod          = null;
+            testMethodNameReceived = (methodName != null);
+            this.result            = result;
+            this.visualContext     = visualContext;

             initializeInjectableMembers();

@@ -98,7 +100,7 @@
         }

         protected function runNextMethod(e:TimerEvent = null):void {
-            if(methodsToRun.readyToTearDown) {
+            if(!testMethodNameReceived && methodsToRun.readyToTearDown) {
                 removeInjectedMembers();
                 removeInjectedVisualInstances();
             }


Transferred from the Adobe Open Source Subversion Repository

Revision: 2647
Author:   jimurphy@adobe.com
Date:     2008-07-29T11:53:10.645915Z

Log Message:
-----------
Merged 3.0.x revisions [2630,2638] -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/ModalWindowRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -9204,7 +9204,7 @@
      *  Get the bounds of this object that are visible to the user
      *  on the screen.
      *
-     *  @param stopParent The parent to stop at when calculating the visible
+     *  @param targetParent The parent to stop at when calculating the visible
      *  bounds. If null, this object's system manager will be used as
      *  the parent.
      *
@@ -9212,20 +9212,19 @@
      *  object. The rectangle is in the coordinate system relative to the
      *  stopParent parameter.
      */
-    public function getVisibleRect(stopParent:DisplayObject):Rectangle
-    {
-        if (!stopParent)
-            stopParent = DisplayObject(systemManager);
+    public function getVisibleRect(targetParent:DisplayObject):Rectangle
+    {
+        if (!targetParent)
+            targetParent = DisplayObject(systemManager);

-        var pt:Point = new Point();
-        pt.x = x;
-        pt.y = y;
+        var pt:Point = new Point(x, y);
         pt = $parent.localToGlobal(pt);
-        pt = stopParent.globalToLocal(pt);
+
+        // bounds of this object to return. Keep in global coordinates
+        // until the end and set back to targetParent coordinates.
         var bounds:Rectangle = new Rectangle(pt.x, pt.y, width, height);
         var current:DisplayObject = this;
-        var currentRect:Rectangle;
-        var currentParent:DisplayObject;
+        var currentRect:Rectangle = new Rectangle();

         do
         {
@@ -9234,27 +9233,21 @@
             else
                 current = current.parent;

-            currentRect = current.scrollRect;
-            if (currentRect)
+            if (current.scrollRect)
             {
-                if (current is UIComponent)
-                    currentParent = UIComponent(current).$parent;
-                else
-                    currentParent = current.parent;
-
-                pt.x = current.x;
-                pt.y = current.y;
-
-                pt = currentParent.localToGlobal(pt);
-                pt = stopParent.globalToLocal(pt);
+                // clip the bounds by the scroll rect
+                currentRect = current.scrollRect.clone();
+                pt = current.localToGlobal(currentRect.topLeft);
                 currentRect.x = pt.x;
                 currentRect.y = pt.y;
-                currentRect.width = currentRect.width;
-                currentRect.height = currentRect.height;
                 bounds = bounds.intersection(currentRect);
             }
-        } while (current != stopParent);
-
+        } while (current != targetParent);
+
+        // convert the rect relative to the stop parent
+        pt = targetParent.globalToLocal(bounds.topLeft);
+        bounds.x = pt.x;
+        bounds.y = pt.y;
         return bounds;
     }


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

--- frameworks/projects/framework/src/mx/events/MoveEvent.as
+++ frameworks/projects/framework/src/mx/events/MoveEvent.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: 13693
Author:   hmuller@adobe.com
Date:     2010-01-21T20:25:54.403160Z

Log Message:
-----------
Initial version of the mirroring layout code.  Only Spark is supported.  API revisions for this feature are very likely to follow.

QE notes:
Doc notes:
Bugs:
Reviewer: Evtim
Tests run: All Mustella tests pass
Is noteworthy for integration: yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/CheckBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ILayoutDirection.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/PanelSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/utils/BitmapUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/framework/src/mx/utils/MatrixUtil.as
+++ frameworks/projects/framework/src/mx/utils/MatrixUtil.as
@@ -40,6 +40,7 @@
     // For use in getConcatenatedMatrix function
     private static var fakeDollarParent:QName;
     private static var uiComponentClass:Class;
+    private static var computedMatrixProperty:QName;

     //--------------------------------------------------------------------------
     //
@@ -1395,6 +1396,32 @@
         }
         return m;
     }
+
+    public static function getConcatenatedComputedMatrix(displayObject:DisplayObject):Matrix
+    {
+        var m:Matrix = new Matrix();
+        if (uiComponentClass == null)
+            uiComponentClass = Class(getDefinitionByName("mx.core.UIComponent"));
+        if (fakeDollarParent == null)
+            fakeDollarParent = new QName(mx_internal, "$parent");
+        if (computedMatrixProperty == null)
+            computedMatrixProperty = new QName(mx_internal, "computedMatrix");
+
+        while (displayObject && displayObject.transform.matrix)
+        {
+            var scrollRect:Rectangle = displayObject.scrollRect;
+            if (scrollRect != null)
+                m.translate(-scrollRect.x, -scrollRect.y);
+            const isUIComponent:Boolean = uiComponentClass && displayObject is uiComponentClass;
+            m.concat((isUIComponent) ? displayObject[computedMatrixProperty] : displayObject.transform.matrix);
+            if (isUIComponent)
+                displayObject = displayObject[fakeDollarParent] as DisplayObject;
+            else
+                displayObject = displayObject.parent as DisplayObject;
+        }
+        return m;
+    }
+
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 20845
Author:   mhorn@adobe.com
Date:     2011-03-14T15:29:23.391952Z

Log Message:
-----------
merge 20756,20790,20712,20805

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/NumberFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSCondition.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ISortField.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ArrayList.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/PolarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorDodgeShader.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/PolarDataCanvas.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/series/PlotSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/OnDemandEventDispatcher.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TabBar.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/globalization/StringTools.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/StringUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/CompoundTransform.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="dir" action="M">/private/flex/sdk/trunk</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/utils/ChangeWatcher.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as</path>

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

--- frameworks/projects/framework/src/mx/utils/StringUtil.as
+++ frameworks/projects/framework/src/mx/utils/StringUtil.as
@@ -211,7 +211,7 @@
      *  @langversion 3.0
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public static function repeat(str:String, n:int):String
     {
@@ -243,34 +243,34 @@
      *  @langversion 3.0
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public static function restrict(str:String, restrict:String):String
-	{
-		// A null 'restrict' string means all characters are allowed.
+    {
+        // A null 'restrict' string means all characters are allowed.
         if (restrict == null)
-			return str;
-
-		// An empty 'restrict' string means no characters are allowed.
+            return str;
+
+        // An empty 'restrict' string means no characters are allowed.
         if (restrict == "")
-			return "";
-
-		// Otherwise, we need to test each character in 'str'
+            return "";
+
+        // Otherwise, we need to test each character in 'str'
         // to determine whether the 'restrict' string allows it.
         var charCodes:Array = [];
-
-		var n:int = str.length;
-		for (var i:int = 0; i < n; i++)
-		{
-			var charCode:uint = str.charCodeAt(i);
-			if (testCharacter(charCode, restrict))
-				charCodes.push(charCode);
-		}
-
-		return String.fromCharCode.apply(null, charCodes);
-	}
-
-	/**
+
+        var n:int = str.length;
+        for (var i:int = 0; i < n; i++)
+        {
+            var charCode:uint = str.charCodeAt(i);
+            if (testCharacter(charCode, restrict))
+                charCodes.push(charCode);
+        }
+
+        return String.fromCharCode.apply(null, charCodes);
+    }
+
+    /**
      *  @private
      *  Helper method used by restrict() to test each character
      *  in the input string against the restriction string.
@@ -281,66 +281,66 @@
      */
     private static function testCharacter(charCode:uint,
                                           restrict:String):Boolean
-	{
-		var allowIt:Boolean = false;
-
-		var inBackSlash:Boolean = false;
-		var inRange:Boolean = false;
-		var setFlag:Boolean = true;
-		var lastCode:uint = 0;
-
-		var n:int = restrict.length;
-		var code:uint;
-
-		if (n > 0)
-		{
-			code = restrict.charCodeAt(0);
-			if (code == 94) // caret
-				allowIt = true;
-		}
-
-		for (var i:int = 0; i < n; i++)
-		{
-			code = restrict.charCodeAt(i)
-
-			var acceptCode:Boolean = false;
-			if (!inBackSlash)
-			{
-				if (code == 45) // hyphen
-					inRange = true;
-				else if (code == 94) // caret
-					setFlag = !setFlag;
-				else if (code == 92) // backslash
-					inBackSlash = true;
-				else
-					acceptCode = true;
-			}
-			else
-			{
-				acceptCode = true;
-				inBackSlash = false;
-			}
-
-			if (acceptCode)
-			{
-				if (inRange)
-				{
-					if (lastCode <= charCode && charCode <= code)
-						allowIt = setFlag;
-					inRange = false;
-					lastCode = 0;
-				}
-				else
-				{
-					if (charCode == code)
-						allowIt = setFlag;
-					lastCode = code;
-				}
-			}
-		}
-
-		return allowIt;
-	}
+    {
+        var allowIt:Boolean = false;
+
+        var inBackSlash:Boolean = false;
+        var inRange:Boolean = false;
+        var setFlag:Boolean = true;
+        var lastCode:uint = 0;
+
+        var n:int = restrict.length;
+        var code:uint;
+
+        if (n > 0)
+        {
+            code = restrict.charCodeAt(0);
+            if (code == 94) // caret
+                allowIt = true;
+        }
+
+        for (var i:int = 0; i < n; i++)
+        {
+            code = restrict.charCodeAt(i)
+
+            var acceptCode:Boolean = false;
+            if (!inBackSlash)
+            {
+                if (code == 45) // hyphen
+                    inRange = true;
+                else if (code == 94) // caret
+                    setFlag = !setFlag;
+                else if (code == 92) // backslash
+                    inBackSlash = true;
+                else
+                    acceptCode = true;
+            }
+            else
+            {
+                acceptCode = true;
+                inBackSlash = false;
+            }
+
+            if (acceptCode)
+            {
+                if (inRange)
+                {
+                    if (lastCode <= charCode && charCode <= code)
+                        allowIt = setFlag;
+                    inRange = false;
+                    lastCode = 0;
+                }
+                else
+                {
+                    if (charCode == code)
+                        allowIt = setFlag;
+                    lastCode = code;
+                }
+            }
+        }
+
+        return allowIt;
+    }
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 4804
Author:   jvroom@adobe.com
Date:     2009-02-03T01:56:22.023978Z

Log Message:
-----------
Bugs: LCDS-548: add code to deal with contentType="application/xml" with one parameter (avoid
name/value encoding in that case)
      LCDS-405: baseURL on HTTPMultiService should accept URLs which start with "/"

      Added convertParametersHandler and convertResultsHandler function hooks to RemoteObject
      to support framework code which wants to modify the service behavior.

      Moved "properties" from rpc/http/AbstractOperation to rpc/AbstractOperation so we can use
      it for customizing the handling of remote object results

      Couple of minor ASDoc fixes and one tab -> spaces change

Doc: minor asdoc edits
QE: LCDS QE will verify the bugs in this one
Reviewers: Mete, Pete, Seth, Ed reviewed different parts of this checkin

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/Operation.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as
+++ frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as
@@ -137,6 +137,7 @@
      */
     public var argumentNames:Array;

+
     //--------------------------------------------------------------------------
     //
     // Private Variables
@@ -164,6 +165,9 @@
     {
         if (service != null)
             service.initialize();
+
+        if (remoteObject.convertParametersHandler != null)
+            args = remoteObject.convertParametersHandler(args);

         if (operationManager != null)
             return operationManager(args);
@@ -260,6 +264,16 @@
         return token;
     }

+    override mx_internal function processResult(message:IMessage, token:AsyncToken):Boolean
+    {
+        if (super.processResult(message, token))
+        {
+            if (remoteObject.convertResultHandler != null)
+                _result = remoteObject.convertResultHandler(_result, this);
+            return true;
+        }
+        return false;
+    }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 9177
Author:   jimurphy@adobe.com
Date:     2009-08-07T21:15:07.894169Z

Log Message:
-----------
Merged 3.4 revisions 8630,8660,8683,8735,8750,8753,8755,8757,8759,8764,8776,8798,8821,8824,8837,8862,8911,8946,8949,8962,8965,9026,9109,9131,9138-9139,9147 -> trunk

integrates:
player: 10.0.32.18
AIR kit: 1.5.2.8870 (20090721ap)

checkintests: pass

(btw: I'm not happy about doing this on a Friday PM!)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/in/air/air_version.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/BrowserManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/mac/Install Flash Player 10 UB.dmg</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/mac/AIR Integration Kit.tbz2</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/player/10/playerglobal.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLDecoder.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/flashplayer.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/win/AIR Integration Kit.zip</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/libflashplayer.so.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/FlashPlayer.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/mac/Flash Player.app.zip</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/lib/flex-messaging-common.jar</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/Install Flash Player 10 Plugin.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/mxml/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/AbstractWebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/XMLDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/Install Flash Player 10 ActiveX.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/MessagePerformanceUtils.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageAgent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/mxml/IMXMLSupport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/ISOAPDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/install_flash_player_10_linux.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLSchemaInstance.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as
+++ frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as
@@ -36,11 +36,6 @@
  * An Operation can be called either by invoking the
  * function of the same name on the service or by accessing the Operation as a property on the service and
  * calling the send() method.
- *
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
  */
 public class Operation extends AbstractOperation
 {
@@ -49,18 +44,13 @@
     //---------------------------------

     /**
-     *  Creates a new Operation. This is usually done directly automatically by the RemoteObject
-     *  when an unknown operation has been accessed. It is not recommended that a developer use this constructor
-     *  directly.
+     * Creates a new Operation. This is usually done directly automatically by the RemoteObject
+     * when an unknown operation has been accessed. It is not recommended that a developer use this constructor
+     * directly.
      *
      *  @param service The ReoteObject object defining the service.
      *
      *  @param name The name of the service.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
      */
     public function Operation(remoteObject:AbstractService = null, name:String = null)
     {
@@ -80,11 +70,6 @@
     /**
      * The concurrency for this Operation.  If it has not been explicitly set the setting from the RemoteObject
      * will be used.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
      */
     public function get concurrency():String
     {
@@ -110,11 +95,6 @@

     /**
      * When this value is true, anonymous objects returned are forced to bindable objects.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
      */
     override public function get makeObjectsBindable():Boolean
     {
@@ -136,11 +116,6 @@
      * Whether this operation should show the busy cursor while it is executing.
      * If it has not been explicitly set the setting from the RemoteObject
      * will be used.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
      */
     public function get showBusyCursor():Boolean
     {
@@ -163,11 +138,6 @@
      * An ordered list of the names of the arguments to pass to a method invocation.  Since the arguments object is
      * a hashmap with no guaranteed ordering, this array helps put everything together correctly.
      * It will be set automatically by the MXML compiler, if necessary, when the Operation is used in tag form.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
      */
     public var argumentNames:Array;

@@ -194,11 +164,6 @@

     /**
      * @inheritDoc
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
      */
     override public function send(... args:Array):AsyncToken
     {
@@ -227,7 +192,7 @@
         // channelSet.
         if (asyncRequest.channelSet == null && remoteObject.endpoint != null)
         {
-            remoteObject.initEndpoint();
+            remoteObject.mx_internal::initEndpoint();
         }

         if (!args || (args.length == 0 && this.arguments))
@@ -256,11 +221,6 @@

     /**
      * @inheritDoc
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
      */
     override public function cancel(id:String = null):AsyncToken
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5099
Author:   gauravj@adobe.com
Date:     2009-02-27T03:43:02.639229Z

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:
--------------
147 paths were modified

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

--- frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as
+++ frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as
@@ -36,6 +36,11 @@
  * An Operation can be called either by invoking the
  * function of the same name on the service or by accessing the Operation as a property on the service and
  * calling the send() method.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class Operation extends AbstractOperation
 {
@@ -47,6 +52,11 @@
      * Creates a new Operation. This is usually done directly automatically by the RemoteObject
      * when an unknown operation has been accessed. It is not recommended that a developer use this constructor
      * directly.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function Operation(remoteObject:AbstractService = null, name:String = null)
     {
@@ -66,6 +76,11 @@
     /**
      * The concurrency for this Operation.  If it has not been explicitly set the setting from the RemoteObject
      * will be used.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get concurrency():String
     {
@@ -91,6 +106,11 @@

     /**
      * When this value is true, anonymous objects returned are forced to bindable objects.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function get makeObjectsBindable():Boolean
     {
@@ -112,6 +132,11 @@
      * Whether this operation should show the busy cursor while it is executing.
      * If it has not been explicitly set the setting from the RemoteObject
      * will be used.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get showBusyCursor():Boolean
     {
@@ -134,6 +159,11 @@
      * An ordered list of the names of the arguments to pass to a method invocation.  Since the arguments object is
      * a hashmap with no guaranteed ordering, this array helps put everything together correctly.
      * It will be set automatically by the MXML compiler, if necessary, when the Operation is used in tag form.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var argumentNames:Array;

@@ -160,6 +190,11 @@

     /**
      * @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function send(... args:Array):AsyncToken
     {
@@ -217,6 +252,11 @@

     /**
      * @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function cancel(id:String = null):AsyncToken
     {
@@ -245,6 +285,11 @@

     /*
      * Kill the busy cursor, find the matching call object and pass it back
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override mx_internal function preHandle(event:MessageEvent):AsyncToken
     {


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

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

 package spark.components
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 4337
Author:   egeorgie@adobe.com
Date:     2008-12-17T01:41:36.131845Z

Log Message:
-----------
ILayoutElement methods renames

Interface ILayoutElement
{
getLayoutWidth -> getLayoutBoundsWidth
getLayoutHeight -> getLayoutBoundsHeight
getLayoutPositionX -> getLayoutBoundsX
getLayoutPositionY -> getLayoutBoundsY
setLayoutSize -> setLayoutBoundsSize
setLayoutPosition -> setLayoutBoundsPosition
getPreferredWidth -> getPreferredBoundsWidth
getPreferredHeight -> getPreferredBoundsHeight
getMinWidth -> getMinBoundsWidth
getMinHeight -> getMinBoundsHeight
getMaxWidth -> getMaxBoundsWidth
getMaxHeight -> getMaxBoundsHeight

…unrelated stuff…
}

Reviewed by Gordon

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/layout/layout_tester.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LinearLayoutVector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/layouts/WheelLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/graphics/GraphicTags_checkintests.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxScrollerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Ellipse.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutElementUIC.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/components/Button.as
+++ frameworks/projects/spark/src/spark/components/Button.as
@@ -757,8 +757,8 @@
         // Check if the label text is truncated
         // TODO EGeorgie: use TextGraphicElement API to check for truncated text.
         labelField.validateNow();
-        var truncated:Boolean = labelField.getLayoutWidth() < labelField.getPreferredWidth() ||
-                                labelField.getLayoutHeight() < labelField.getPreferredHeight();
+        var truncated:Boolean = labelField.getLayoutBoundsWidth() < labelField.getPreferredBoundsWidth() ||
+                                labelField.getLayoutBoundsHeight() < labelField.getPreferredBoundsHeight();

         // If the label is truncated, show the whole label string as a tooltip
         super.toolTip = truncated ? labelField.text : null;


Transferred from the Adobe Open Source Subversion Repository

Revision: 6352
Author:   smgilson@adobe.com
Date:     2009-04-28T20:04:17.982098Z

Log Message:
-----------
ASDoc edits for containers

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/IItemRendererOwner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/IItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/events/RendererExistenceEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HGroup.as</path>

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

--- frameworks/projects/spark/src/spark/components/VGroup.as
+++ frameworks/projects/spark/src/spark/components/VGroup.as
@@ -18,12 +18,27 @@
 [IconFile("VGroup.png")]

 /**
- *  A Group with a VerticalLayout.
+ *  The VGroup container is an instance of the Group container
+ *  that uses the VerticalLayout class.
+ *  Do not modify the layout property.
+ *  instead, use the properties of the VGroup class to modify the
+ *  characteristics of the VerticalLayout class.
  *
- *  All of the VerticalLayout properties exposed by this class are simply
- *  delegated to the layout property.
- *
- *  The layout property should not be set or configured directly.
+ *  @mxml
+ *
+ *
The <VGroup> tag inherits all of the tag
+ *  attributes of its superclass and adds the following tag attributes:

+ *
+ *

+ *  <VGroup
+ *    Properties
+ *    gap="6"
+ *    horizontalAlign="left"
+ *    requestedRowCount"-1"
+ *    rowHeight="no default"
+ *    variableRowHeight="true"
+ *  />
+ *

  *
  *  @see spark.layouts.VerticalLayout
  *
@@ -35,12 +50,11 @@
 public class VGroup extends Group
 {
     include "../core/Version.as";
-
-    /**
-     *  Initializes the layout property to an instance of VerticalLayout.
-     *
-     *  Resetting the layout property or setting its properties directly
-     *  is not supported.
+
+    /**
+     *  Constructor.
+     *  Initializes the layout property to an instance of
+     *  the VerticalLayout class.
      *
      *  @see spark.layouts.VerticalLayout
      *  @see spark.components.HGroup
@@ -72,7 +86,9 @@
     //----------------------------------

     /**
-     * @copy spark.layouts.VerticalLayout#gap
+     *  @copy spark.layouts.VerticalLayout#gap
+     *
+     *  @default 6
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -97,7 +113,9 @@
     //----------------------------------

     /**
-     * @copy spark.layouts.VerticalLayout#horizontalAlign
+     *  @copy spark.layouts.VerticalLayout#horizontalAlign
+     *
+     *  @default "left"
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -124,7 +142,9 @@
     [Bindable("propertyChange")]

     /**
-     * @copy spark.layouts.VerticalLayout#rowCount
+     *  @copy spark.layouts.VerticalLayout#rowCount
+     *
+     *  @default -1
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -141,7 +161,9 @@
     //----------------------------------

     /**
-     * @copy spark.layouts.VerticalLayout#requestedRowCount
+     *  @copy spark.layouts.VerticalLayout#requestedRowCount
+     *
+     *  @default -1
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -168,7 +190,7 @@
     [Inspectable(category="General")]

     /**
-     * @copy spark.layouts.VerticalLayout#rowHeight
+     *  @copy spark.layouts.VerticalLayout#rowHeight
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -195,7 +217,9 @@
     [Inspectable(category="General")]

     /**
-     * @copy spark.layouts.VerticalLayout#variableRowHeight
+     *  @copy spark.layouts.VerticalLayout#variableRowHeight
+     *
+     *  @default true
      *
      *  @langversion 3.0
      *  @playerversion Flash 10


Tool tip bug fixed. The support text for enablers was popping up even for normal statements. This bug is fixed.

--- Arguments/src/components/ArgumentPanel.as
+++ Arguments/src/components/ArgumentPanel.as
@@ -162,7 +162,6 @@
 			width = 180;
 			minHeight = 100;
 			state = DISPLAY;
-			this.toolTip = Language.lookup("Enabler");
 			addEventListener(FlexEvent.CREATION_COMPLETE, onCreationComplete);
 		}

@@ -523,6 +522,7 @@
 			stmtInfoVG.gap = 0;
 			if(model.statementFunction == StatementModel.INFERENCE){
 				stmtInfoVG.visible = false;
+				this.toolTip = Language.lookup("Enabler");
 			}
 			topHG.addElement(stmtInfoVG);


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

--- frameworks/projects/framework/src/mx/managers/ISystemManager.as
+++ frameworks/projects/framework/src/mx/managers/ISystemManager.as
@@ -0,0 +1,337 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.managers
+{
+
+import flash.display.LoaderInfo;
+import flash.display.Sprite;
+import flash.display.Stage;
+import flash.events.IEventDispatcher;
+import flash.geom.Rectangle;
+import flash.text.TextFormat;
+import mx.core.IChildList;
+import mx.core.IFlexModuleFactory;
+import mx.managers.IFocusManagerContainer;
+
+/**
+ *  An ISystemManager manages an "application window".
+ *  Every application that runs on the desktop or in a browser
+ *  has an area where the visuals of the application will be
+ *  displayed.  It may be a window in the operating system
+ *  or an area within the browser.  That is an "application window"
+ *  and different from an instance of mx.core.Application, which
+ *  is the main "top-level" window within an application.
+ *
+ *
Every application has an ISystemManager.
+ *  The ISystemManager  sends an event if
+ *  the size of the application window changes (you cannot change it from
+ *  within the application, but only through interaction with the operating
+ *  system window or browser).  It parents all displayable items within the
+ *  application, such as the main mx.core.Application instance and all popups,
+ *  tooltips, cursors, an so on.  Any object parented by the ISystemManager is
+ *  considered to be a "top-level" window, even tooltips and cursors.

+ *
+ *
The ISystemManager also switches focus between top-level windows
+ *  if there  are more than one IFocusManagerContainer displayed and users
+ *  are interacting with components within the IFocusManagerContainers.

+ *
+ *
All keyboard and mouse activity that is not expressly trapped is seen
+ *  by the ISystemManager, making it a good place to monitor activity
+ *  should you need to do so.

+ *
+ *
If an application is loaded into another application, an ISystemManager
+ *  will still be created, but will not manage an "application window",
+ *  depending on security and domain rules.
+ *  Instead, it will be the content of the Loader
+ *  that loaded it and simply serve as the parent of the sub-application

+ *
+ *
The ISystemManager maintains multiple lists of children, one each for
+ *  tooltips, cursors, popup windows.
+ *  This is how it ensures that popup windows "float" above the main
+ *  application windows and that tooltips "float" above that
+ *  and cursors above that.
+ *  If you examine the numChildren property
+ *  or getChildAt() method on the ISystemManager
+ *  you are accessing the main application window and any other windows
+ *  that aren't popped up.
+ *  To get the list of all windows, including popups, tooltips and cursors,
+ *  use the rawChildren property.

+ */
+public interface ISystemManager extends IEventDispatcher, IChildList, IFlexModuleFactory
+{
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  cursorChildren
+    //----------------------------------
+
+	/**
+	 *  An list of the custom cursors
+	 *  being parented by this ISystemManager.
+	 *
+	 *
An ISystemManager has various types of children,
+	 *  such as the Application, popups, top-most windows,
+	 *  tooltips, and custom cursors.
+	 *  You can access the custom cursors through
+	 *  the cursorChildren property.

+	 *
+	 *
The IChildList object has methods like getChildAt()
+	 *  and properties like numChildren.
+	 *  For example, cursorChildren.numChildren gives
+	 *  the number of custom cursors (which will be either 0 or 1)
+	 *  and, if a custom cursor exists, you can access it as
+	 *  cursorChildren.getChildAt(0).

+	 */
+	function get cursorChildren():IChildList;
+
+    //----------------------------------
+    //  document
+    //----------------------------------
+
+	/**
+	 *  A reference to the document object.
+	 *  A document object is an Object at the top of the hierarchy of a
+	 *  Flex application, MXML component, or AS component.
+	 */
+	function get document():Object;
+
+	/**
+	 *  @private
+	 */
+	function set document(value:Object):void;
+
+    //----------------------------------
+    //  embeddedFontList
+    //----------------------------------
+
+	/**
+     *  @private
+	 */
+	function get embeddedFontList():Object;
+
+    //----------------------------------
+    //  focusPane
+    //----------------------------------
+
+	/**
+	 *  A single Sprite shared among components used as an overlay for drawing focus.
+	 *  You share it if you parent a focused component, not if you are IFocusManagerComponent.
+	 */
+	function get focusPane():Sprite;
+
+	/**
+	 *  @private
+	 */
+	function set focusPane(value:Sprite):void;
+
+    //----------------------------------
+    //  loaderInfo
+    //----------------------------------
+
+	/**
+	 *  The LoaderInfo object that represents information about the application.
+	 */
+	function get loaderInfo():LoaderInfo;
+
+    //----------------------------------
+    //  numModalWindows
+    //----------------------------------
+
+	/**
+	 *  The number of modal windows.
+	 *
+	 *
Modal windows don't allow
+	 *  clicking in another windows which would normally
+	 *  activate the FocusManager in that window.  The PopUpManager
+	 *  modifies this count as it creates and destroy modal windows.

+	 */
+	function get numModalWindows():int;
+
+	/**
+	 *  @private
+	 */
+	function set numModalWindows(value:int):void;
+
+    //----------------------------------
+    //  popUpChildren
+    //----------------------------------
+
+	/**
+	 *  An list of the topMost (popup)
+	 *  windows being parented by this ISystemManager.
+	 *
+	 *
An ISystemManager has various types of children,
+	 *  such as the Application, popups,
+	 *  tooltips, and custom cursors.
+	 *  You can access the top-most windows through
+	 *  the popUpChildren property.

+	 *
+	 *
The IChildList object has methods like getChildAt()
+	 *  and properties like numChildren.
+	 *  For example, popUpChildren.numChildren gives
+	 *  the number of topmost windows and you can access them as
+	 *  popUpChildren.getChildAt(i).

+	 *
+	 */
+	function get popUpChildren():IChildList;
+
+    //----------------------------------
+    //  rawChildren
+    //----------------------------------
+
+	/**
+	 *  A list of all children
+	 *  being parented by this ISystemManager.
+	 *
+	 *
An ISystemManager has various types of children,
+	 *  such as the Application, popups,
+	 *  tooltips, and custom cursors.

+	 *
+	 *
The IChildList object has methods like getChildAt()
+	 *  and properties like numChildren.

+	 */
+	function get rawChildren():IChildList;
+
+    //----------------------------------
+    //  screen
+    //----------------------------------
+
+	/**
+	 *  The size and position of the application window.
+	 *
+	 *  The Rectangle object contains x, y,
+	 *  width, and height properties.
+	 */
+	function get screen():Rectangle
+
+    //----------------------------------
+    //  stage
+    //----------------------------------
+
+	/**
+	 *  The flash.display.Stage that represents the application window
+	 *  mapped to this SystemManager
+	 */
+	function get stage():Stage
+
+    //----------------------------------
+    //  toolTipChildren
+    //----------------------------------
+
+	/**
+	 *  A list of the tooltips
+	 *  being parented by this ISystemManager.
+	 *
+	 *
An ISystemManager has various types of children,
+	 *  such as the Application, popups, topmost windows,
+	 *  tooltips, and custom cursors.

+	 *
+	 *
The IChildList object has methods like getChildAt()
+	 *  and properties like numChildren.
+	 *  For example, toolTipChildren.numChildren gives
+	 *  the number of tooltips (which will be either 0 or 1)
+	 *  and, if a tooltip exists, you can access it as
+	 *  toolTipChildren.getChildAt(0).

+	 */
+	function get toolTipChildren():IChildList;
+
+    //----------------------------------
+    //  topLevelSystemManager
+    //----------------------------------
+
+	/**
+	 *  The ISystemManager responsible for the application window.
+	 *  This will be the same ISystemManager unless this application
+	 *  has been loaded into another application.
+	 */
+	function get topLevelSystemManager():ISystemManager;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Registers a top-level window containing a FocusManager.
+	 *  Called by the FocusManager, generally not called by application code.
+	 *
+	 *  @param f The top-level window in the application.
+	 */
+	function addFocusManager(f:IFocusManagerContainer):void;
+
+	/**
+	 *  Unregisters a top-level window containing a FocusManager.
+	 *  Called by the FocusManager, generally not called by application code.
+	 *
+	 *  @param f The top-level window in the application.
+	 */
+	function removeFocusManager(f:IFocusManagerContainer):void;
+
+	/**
+	 *  Activates the FocusManager in an IFocusManagerContainer.
+	 *
+	 *  @param f IFocusManagerContainer the top-level window
+	 *  whose FocusManager should be activated.
+	 */
+	function activate(f:IFocusManagerContainer):void;
+
+	/**
+	 *  Deactivates the FocusManager in an IFocusManagerContainer, and activate
+	 *  the FocusManager of the next highest window that is an IFocusManagerContainer.
+	 *
+	 *  @param f IFocusManagerContainer the top-level window
+	 *  whose FocusManager should be deactivated.
+	 */
+	function deactivate(f:IFocusManagerContainer):void;
+
+	/**
+	 *  Converts the given String to a Class or package-level Function.
+	 *  Calls the appropriate ApplicationDomain.getDefinition()
+	 *  method based on
+	 *  whether you are loaded into another application or not.
+	 *
+	 *  @param name Name of class, for example "mx.video.VideoManager".
+	 *
+	 *  @return The Class represented by the name, or null.
+	 */
+	function getDefinitionByName(name:String):Object;
+
+	/**
+	 *  Returns true if this ISystemManager is responsible
+	 *  for an application window, and false if this
+	 *  application has been loaded into another application.
+	 *
+	 *  @return true if this ISystemManager is responsible
+	 *  for an application window.
+	 */
+	function isTopLevel():Boolean;
+
+    /**
+     *  Returns true if the required font face is embedded
+	 *  in this application, or has been registered globally by using the
+	 *  Font.registerFont() method.
+	 *
+	 *  @param tf The TextFormat class representing character formatting information.
+	 *
+	 *  @return true if the required font face is embedded
+	 *  in this application, or has been registered globally by using the
+	 *  Font.registerFont() method.
+     */
+    function isFontFaceEmbedded(tf:TextFormat):Boolean;
+}
+
+}


replace class Version by core.version

replace class Version by core.version

--- tests/GAv4/com/google/analytics/core/BrowserInfoTest.as
+++ tests/GAv4/com/google/analytics/core/BrowserInfoTest.as
@@ -19,13 +19,14 @@

 package com.google.analytics.core
 {
+	import com.google.analytics.utils.Environment;
+	import com.google.analytics.utils.FakeEnvironment;
+	import com.google.analytics.utils.Variables;
+	import com.google.analytics.v4.Configuration;
+
+	import core.version;
+
 	import library.ASTUce.framework.TestCase;
-
-    import com.google.analytics.utils.Environment;
-    import com.google.analytics.utils.FakeEnvironment;
-    import com.google.analytics.utils.Variables;
-    import com.google.analytics.utils.Version;
-    import com.google.analytics.v4.Configuration;

     public class BrowserInfoTest extends TestCase
     {
@@ -47,7 +48,7 @@
         public function setUp():void
         {
             _config = new Configuration();
-            _env0 = new FakeEnvironment("",null,"","","","","","",new Version(9,0,115,0),"en-GB","UTF-8","","","",null,800,600,"24");
+            _env0 = new FakeEnvironment("",null,"","","","","","",new version(9,0,115,0),"en-GB","UTF-8","","","",null,800,600,"24");
             _browserInfo0 = new BrowserInfo( _config, _env0 );
         }


Revert "added missing vracket."

Revert "added missing vracket."

This reverts commit bbead2cceaa0f186cacbbf5f307a119b531f26cb.


We should be able to pass ByteArrays around using the EZGame kit.

git-svn-id: a3e1eb16dde062992de22c830ed8045c8013209a@91 c613c5cb-e716-0410-b11b-feb51c14d237

--- src/as/com/threerings/ezgame/client/GameObjectImpl.as
+++ src/as/com/threerings/ezgame/client/GameObjectImpl.as
@@ -457,7 +457,11 @@
                 // kosher!
                 return;
             }
-            if (ClassUtil.getClass(value) != Object) {
+            var clazz :Class = ClassUtil.getClass(value);
+            if (clazz == ByteArray) {
+                return; // kosher
+            }
+            if (clazz != Object ) {
                 throw new ArgumentError(
                     "Non-simple properties may not be set.");
             }