--- src/org/igniterealtime/xiff/vcard/VCard.as
+++ src/org/igniterealtime/xiff/vcard/VCard.as
@@ -60,188 +60,157 @@
 	public class VCard extends EventDispatcher
 	{
 		/**
-		 *
-		 * @default
+		 * VCard cache indexed by the jid or the user
 		 */
 		private static var cache:Object = {};

 		/**
 		 * Flush the vcard cache every 6 hours
-		 * @default
 		 */
 		private static var cacheFlushTimer:Timer = new Timer( 6 * 60 * 60 * 1000, 0 );

 		/**
-		 *
-		 * @default
+		 * Queue of the pending requests
 		 */
 		private static var requestQueue:Array = [];

 		/**
-		 *
-		 * @default
+		 * Timer to prosess the queue
 		 */
 		private static var requestTimer:Timer;

 		/**
 		 *
-		 * @default
 		 */
 		public var birthDay:Date;

 		/**
 		 *
-		 * @default
 		 */
 		public var company:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var department:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var email:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var firstName:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var fullName:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var gender:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var homeAddress:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var homeCellNumber:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var homeCity:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var homeCountry:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var homeFaxNumber:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var homePagerNumber:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var homePostalCode:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var homeStateProvince:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var homeVoiceNumber:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var jid:UnescapedJID;

 		/**
 		 *
-		 * @default
 		 */
 		public var lastName:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var loaded:Boolean = false;

 		/**
 		 *
-		 * @default
 		 */
 		public var maritalStatus:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var middleName:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var namePrefix:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var nameSuffix:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var nickname:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var otherName:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var title:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var url:String;

@@ -252,78 +221,66 @@

 		/**
 		 *
-		 * @default
 		 */
 		public var workAddress:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var workCellNumber:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var workCity:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var workCountry:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var workFaxNumber:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var workPagerNumber:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var workPostalCode:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var workStateProvince:String;

 		/**
 		 *
-		 * @default
 		 */
 		public var workVoiceNumber:String;

 		/**
 		 *
-		 * @default
 		 */
 		private var _avatar:DisplayObject;

 		/**
 		 *
-		 * @default
 		 */
 		private var _imageBytes:ByteArray;

 		/**
 		 *
-		 * @default
 		 */
 		private var contact:RosterItemVO;

 		/**
-		 * Don't call directly VCard, use a static method and add a callback.
+		 * Don't call directly VCard, use a static method (getVCard) and add a callback.
 		 */
 		public function VCard()
 		{
@@ -334,54 +291,57 @@
 		 * Seems to be the way a vcard is requested and then later referred to:
 		 * var vCard:VCard = VCard.getVCard(_connection, item);

 		 * vCard.addEventListener(VCardEvent.LOADED, onVCard);
-		 * @param con
+		 * @param connection
 		 * @param user
 		 * @return Reference to the VCard which will be filled once the loaded event occurs.
 		 */
-		public static function getVCard( con:XMPPConnection, user:RosterItemVO ):VCard
+		public static function getVCard( connection:XMPPConnection, user:RosterItemVO ):VCard
 		{
 			if ( !cacheFlushTimer.running )
 			{
 				cacheFlushTimer.start();
 				cacheFlushTimer.addEventListener( TimerEvent.TIMER, function( event:TimerEvent ):void
+				{
+					var tempCache:Object = cache;
+					cache = {};
+					for each ( var cachedCard:VCard in tempCache )
 					{
-						var tempCache:Object = cache;
-						cache = {};
-						for each ( var cachedCard:VCard in tempCache )
-						{
-							pushRequest( con, vcard );
-						}
-					} );
+						pushRequest( connection, vcard );
+					}
+				} );
 			}

 			var jidString:String = user.jid.toString();

 			var cachedCard:VCard = cache[ jidString ];
 			if ( cachedCard )
+			{
 				return cachedCard;
+			}

 			var vcard:VCard = new VCard();
 			vcard.contact = user;
+			vcard.jid = user.jid;
 			cache[ jidString ] = vcard;

-			pushRequest( con, vcard );
+			pushRequest( connection, vcard );

 			return vcard;
 		}

 		/**
 		 * Add the request to the stack of requests
-		 * @param con
+		 * @param connection
 		 * @param vcard
 		 */
-		private static function pushRequest( con:XMPPConnection, vcard:VCard ):void
+		private static function pushRequest( connection:XMPPConnection, vcard:VCard ):void
 		{
 			if ( !requestTimer )
 			{
 				requestTimer = new Timer( 1, 1 );
 				requestTimer.addEventListener( TimerEvent.TIMER_COMPLETE, sendRequest );
 			}
-			requestQueue.push( { connection: con, card: vcard } );
+			requestQueue.push( { connection: connection, card: vcard } );
 			requestTimer.reset();
 			requestTimer.start();
 		}
@@ -393,9 +353,11 @@
 		private static function sendRequest( event:TimerEvent ):void
 		{
 			if ( requestQueue.length == 0 )
+			{
 				return;
+			}
 			var req:Object = requestQueue.pop();
-			var con:XMPPConnection = req.connection;
+			var connection:XMPPConnection = req.connection;
 			var vcard:VCard = req.card;
 			var user:RosterItemVO = vcard.contact;

@@ -406,7 +368,7 @@
 			iq.callbackScope = vcard;
 			iq.addExtension( new VCardExtension() );

-			con.send( iq );
+			connection.send( iq );
 			requestTimer.reset();
 			requestTimer.start();
 		}
@@ -446,12 +408,14 @@
 			namespace ns = "vcard-temp";
 			use namespace ns;

-			var node:XML = XML(iq.getNode());
+			var node:XML = XML( iq.getNode() );
 			var vCardNode:XML = node.children()[ 0 ];

 			//var vCardNode:XML = iq.node.children()[ 0 ];
 			if ( !vCardNode )
+			{
 				return;
+			}

 			version = Number( vCardNode.@version );

@@ -621,10 +585,10 @@

 		/**
 		 *
-		 * @param con
+		 * @param connection
 		 * @param user
 		 */
-		public function saveVCard( con:XMPPConnection, user:RosterItemVO ):void
+		public function saveVCard( connection:XMPPConnection, user:RosterItemVO ):void
 		{
 			var iq:IQ = new IQ( null, IQ.TYPE_SET, XMPPStanza.generateID( "save_vcard_" ),
 								null, this, _vCardSent );
@@ -869,7 +833,7 @@
 			}

 			iq.addExtension( vcardExt );
-			con.send( iq );
+			connection.send( iq );
 		}
 	}
 }


Same fix as last for VDividedBox (call forceInvalidateDisplayList when non-size changing event happens)

--- src/org/openPyro/containers/VDividedBox.as
+++ src/org/openPyro/containers/VDividedBox.as
@@ -131,7 +131,8 @@
 						currChild.percentUnusedHeight = currChild.percentUnusedHeight*unallocatedHeight/newUnallocatedHeight;
 					}
 				}
-			}
+			}
+			forceInvalidateDisplayList=true;
 		}

 		override public function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void{


Fixed issue where an SDK path ending in backslash on Windows would cause compilation to fail

--- src/ASConfigC.as
+++ src/ASConfigC.as
@@ -181,6 +181,12 @@
 					case "flexHome":
 					{
 						this._sdkHome = args[key] as String;
+						//on windows, don't let the path end with a backslash
+						//because resolving sub-directories may fail
+						if(this._sdkHome.endsWith("\\"))
+						{
+							this._sdkHome = this._sdkHome.substr(0, this._sdkHome.length - 1);
+						}
 						break;
 					}
 					case "p":


Made getOccupantNamed utility function public so that applications that wrap a Room can utilize it to retrieve occupants based on nickname (RoomEvent only gives nickname, it does not give RoomOccupant).

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

--- src/org/igniterealtime/xiff/conference/Room.as
+++ src/org/igniterealtime/xiff/conference/Room.as
@@ -707,7 +707,7 @@
 		 * @param	inName
 		 * @return
 		 */
-		private function getOccupantNamed( inName:String ):RoomOccupant
+		public function getOccupantNamed( inName:String ):RoomOccupant
 		{
 			for each ( var occ:RoomOccupant in this )
 			{
@@ -752,6 +752,7 @@
 								if ( !userexts || userexts.length == 0 || !( userexts[ 0 ].hasStatusCode( 100 )))
 								{
 									roomEvent = new RoomEvent( RoomEvent.GROUP_MESSAGE );
+									roomEvent.nickname = msg.from.resource;
 									roomEvent.data = msg;
 									dispatchEvent( roomEvent );
 								}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package mx.controls.dataGridClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5098
Author:   gauravj@adobe.com
Date:     2009-02-27T02:21:27.489350Z

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

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

--- frameworks/projects/spark/src/spark/effects/interpolation/MultiValueInterpolator.as
+++ frameworks/projects/spark/src/spark/effects/interpolation/MultiValueInterpolator.as
@@ -27,6 +27,11 @@
  * interpolation uses NumberInterpolator, but callers
  * can construct ArrayInterpolator with a different interpolator
  * instead.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 public class ArrayInterpolator implements IInterpolator
 {
@@ -36,6 +41,11 @@
      * interpolator that will be used for every element of the arrays.
      * If no interpolator is supplied, NumberInterpolator
      * will be used by default.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function ArrayInterpolator(value:IInterpolator = null)
     {
@@ -54,6 +64,11 @@
     /**
      * The internal interpolator that ArrayInterpolator uses for
      * each element of the input arrays
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get elementInterpolator():IInterpolator
     {
@@ -68,6 +83,11 @@
     /**
      * Returns the Array type, which is the type of
      * object interpolated by ArrayInterpolator
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get interpolatedType():Class
     {
@@ -80,6 +100,11 @@
      * Interpolation for ArrayInterpolator consists of running a separate
      * interpolation on each element of the startValue and endValue
      * arrays, returning a new Array that holds those interpolated values.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function interpolate(fraction:Number, startValue:Object,
         endValue:Object):Object
@@ -101,6 +126,11 @@
      * increment operation on each element of the baseValue array,
      * adding the same incrementValue to each one and
      * returning a new Array that holds those incremented values.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function increment(baseValue:Object, incrementValue:Object):Object
     {
@@ -119,6 +149,11 @@
      * decrement operation on each element of the baseValue array,
      * subtracting the same incrementValue from each one and
      * returning a new Array that holds those decremented values.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function decrement(baseValue:Object, decrementValue:Object):Object
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 18139
Author:   hmuller@adobe.com
Date:     2010-10-12T19:02:33.052295Z

Log Message:
-----------
Data,Grid variableRowHeight is now false by default.

The DefaultGridItemRenderer and UITextFieldItemRenderer classes now configure their wordWrap property to match variableRowHeight, unless wordWrap is explicitly specified.

Fixed layoutItemRenderers() which had never (!) called the prepare()/discard() IGridItemRenderer methods.

Fixed GridDimensions/getTypicalContentHeight() - removed dependency on variableRowHeight.

QE notes: This commit's cyclone failures have been vetted
Doc notes:
Bugs: SDK-28179
Reviewer: Kevin
Tests run: checkin, mustella cyclone
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/IGridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/UITextFieldGridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Grid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridDimensions.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/TextFieldGridItemRendererInclude.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultGridItemRenderer.as</path>

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

--- frameworks/projects/spark/src/spark/skins/spark/TextFieldGridItemRendererInclude.as
+++ frameworks/projects/spark/src/spark/skins/spark/TextFieldGridItemRendererInclude.as
@@ -291,38 +291,6 @@
     }

     //----------------------------------
-    //  singleLine (private)
-    //----------------------------------
-
-    private var _singleLine:Boolean = false;
-
-    /**
-     *  @private
-     *  If true, then the labelDisplay is confgured to not wrap and to display
-     *  only one line of text.  That's the most efficient rendering mode.  This
-     *  property is false by default, which means that multiline and wordWrap are
-     *  enabled (true) and autoSize is LEFT.
-     */
-    public function get singleLine():Boolean
-    {
-        return _singleLine
-    }
-
-    /**
-     *  @private
-     */
-    public function set singleLine(value:Boolean):void
-    {
-        if (_singleLine == value)
-            return;
-
-        _singleLine = value;
-
-        multiline = !singleLine;
-        wordWrap = !singleLine;
-    }
-
-    //----------------------------------
     //  dragging
     //----------------------------------

@@ -401,7 +369,21 @@
         preferredSizeInvalid = true;
         enableValidateNow = true;
     }
-
+
+    /**
+     *  @private
+     *  If set, then set the wordWrapSet flag.  This is used to enable the updatePreferredSize()
+     *  method to initialize the wordWrap based on the grid's varaibleRowHeight flag, if
+     *  wordWrap wasn't explicitly set.
+     */
+    override public function set wordWrap(value:Boolean):void
+    {
+        super.wordWrap = value;
+        wordWrapSet = true;
+    }
+
+    private var wordWrapSet:Boolean = false;
+
     //--------------------------------------------------------------------------
     //
     //  Overridden methods
@@ -414,7 +396,6 @@
     override public function styleChanged(styleProp:String):void
     {
         super.styleChanged(styleProp);
-        singleLine = getStyle("lineBreak") == "explicit";
         preferredSizeInvalid = true;
     }

@@ -429,6 +410,12 @@
     {
         if (!preferredSizeInvalid)
             return;
+
+        // If the wordWrap property hasn't been explicitly set, then it's value
+        // is the same as the grid's variableRowHeight property.
+
+        if (!wordWrapSet && column && column.grid)
+            super.wordWrap = column.grid.variableRowHeight;

         if (getStyle("lineBreak") == "explicit")
             multiline = _label.indexOf("\n") != -1;


Fixes #113 (naughty PreDestroy)

Fixes #113 (naughty PreDestroy)

--- src/robotlegs/bender/extensions/mediatorMap/impl/MediatorFactory.as
+++ src/robotlegs/bender/extensions/mediatorMap/impl/MediatorFactory.as
@@ -127,12 +127,16 @@
 			if (mediator)
 				return mediator;

-			if (guardsApprove(mapping.guards, _injector))
+			if (mapping.guards.length == 0 || guardsApprove(mapping.guards, _injector))
 			{
-				_injector.map(mapping.mediatorClass).asSingleton();
-				mediator = _injector.getInstance(mapping.mediatorClass);
-				applyHooks(mapping.hooks, _injector);
-				_injector.unmap(mapping.mediatorClass);
+				const mediatorClass:Class = mapping.mediatorClass;
+				mediator = _injector.instantiateUnmapped(mediatorClass);
+				if (mapping.hooks.length > 0)
+				{
+					_injector.map(mediatorClass).toValue(mediator);
+					applyHooks(mapping.hooks, _injector);
+					_injector.unmap(mediatorClass);
+				}
 				addMediator(mediator, item, mapping);
 			}
 			return mediator;


Transferred from the Adobe Open Source Subversion Repository

Revision: 2905
Author:   clucier@adobe.com
Date:     2008-08-19T20:45:59.993275Z

Log Message:
-----------
Changes to allow UIComponent to take advantage of the new bindable filters (bindable wrappers around DropShadowFilter, GlowFilter, etc. that will force the filter stack to be re-evaluated when one or more of the filter parameters change). Checkin-tests: PASS
Reviewer: Jason
Bugs: SDK-16311
QA: Yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Parser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/ConvolutionFilter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BaseDimensionFilter.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BaseDimensionFilter.as" copyfrom-rev="2873" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseDimensionFilter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/IBitmapFilter.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/IBitmapFilter.as" copyfrom-rev="2873" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IBitmapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/GradientGlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/BitmapGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/GradientFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BlurFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/DisplacementMapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/GlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BaseFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/DropShadowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/GradientBevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BaseFilter.as" copyfrom-rev="2873" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseFilter.as</path>

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

--- frameworks/projects/framework/src/FrameworkClasses.as
+++ frameworks/projects/framework/src/FrameworkClasses.as
@@ -67,6 +67,9 @@
 	import mx.effects.easing.Quintic; Quintic;
 	import mx.effects.easing.Sine; Sine;
 	import mx.events.ModuleEvent; ModuleEvent;
+	import mx.filters.BaseFilter; BaseFilter;
+	import mx.filters.BaseDimensionFilter; BaseDimensionFilter;
+	import mx.filters.IBitmapFilter; IBitmapFilter;
 	import mx.graphics.ImageSnapshot; ImageSnapshot;
 	import mx.graphics.codec.PNGEncoder; PNGEncoder;
 	import mx.graphics.codec.JPEGEncoder; JPEGEncoder;


Transferred from the Adobe Open Source Subversion Repository

Revision: 10950
Author:   jimurphy@adobe.com
Date:     2009-10-09T15:05:04.160257Z

Log Message:
-----------
Merge 3.x revs 10470,10689,10819
blocked 10775,10868

Modified Paths:
--------------
<path kind="dir" action="M">/flex/sdk/trunk</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/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>

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

--- frameworks/projects/mx/src/mx/containers/Accordion.as
+++ frameworks/projects/mx/src/mx/containers/Accordion.as
@@ -2200,7 +2200,7 @@
             drawHeaderFocus(_focusedIndex, showFocusIndicator);
         }

-        if (child as IAutomationObject);
+        if (child as IAutomationObject)
             IAutomationObject(child).showInAutomationHierarchy = true;
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 3429
Author:   hmuller@adobe.com
Date:     2008-09-30T20:57:43.716432Z

Log Message:
-----------
Removed the flex.layout.ILayout interface.   All references to this interface
have been replaced with flex.layout.LayoutBase.

Added verticalScrollPositionDelta() and horizontalScrollPositionDelta() to
IViewport put provisional implementations in TextView.

Added LayoutBase clipContent property and exposed same in GroupBase
and TextView.  The latter is provisional.

ScrollerSkin measure() and updateDisplayList() now handle a null viewport.
This fixes bugs 17079, 17029.

ScrollerSkin updateDisplayList() now respects the minimum width for
its horizontalScrollBar and the minimum height for verticalScrollBar
(the corresponding HSB height and VSB width are already set to their
preferred sizes).

ScrollSkin's measure now ignores the min size of its viewport, it's
minimum size is only based on its visible scrollbars.  This ensures
that the viewport can get as small as possible.  This change corrects
bug 16840.

QE: Removing ILayout may break some tests
Doc: No
Checkintests: Pass
Reviewer: Evtim
Bugs:
  SDK-17079 - RTE if empty Scroller is created
  SDK-17029 - RTE when Scroller's viewport is set to null
  SDK-16840 - Scroller is unusable if height is set as a percentage height

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/DataComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/ItemsComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/intf/IViewport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ScrollerSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/core/IViewport.as
+++ frameworks/projects/spark/src/spark/core/IViewport.as
@@ -26,6 +26,12 @@

     function get horizontalScrollPosition():Number;
     function set horizontalScrollPosition(value:Number):void;
+
+    function verticalScrollPositionDelta(unit:uint):Number
+    function horizontalScrollPositionDelta(unit:uint):Number
+
+    function get clipContent():Boolean;
+    function set clipContent(value:Boolean):void;
 }

 }


Add onBWDone handler to remove errors. See http://stackoverflow.com/questions/2296822/flash-as3-streaming-player-onbwdone

--- src/flash/htmlelements/VideoElement.as
+++ src/flash/htmlelements/VideoElement.as
@@ -110,6 +110,7 @@
 			addChild(_video);

 			_connection = new NetConnection();
+			_connection.client = { onBWDone: function():void{} };
 			_connection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
 			_connection.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
 			//_connection.connect(null);


Added a null check for looking up style declarations

--- src/flexlib/css/CSSPropertyInjector.as
+++ src/flexlib/css/CSSPropertyInjector.as
@@ -178,7 +178,7 @@
     protected function getCSSStyleDeclarations() : void
     {
         __cssStyleDeclarations = [];
-        if ( styleName != null )
+        if ( styleName != null && getCSSStyleDeclaration( styleName ) != null )
         {
             __cssStyleDeclarations.push( getCSSStyleDeclaration( styleName ) );
         }
@@ -187,7 +187,10 @@
         {
             for each ( var name : String in styleNames )
             {
-                __cssStyleDeclarations.push( getCSSStyleDeclaration( name ) );
+                if ( getCSSStyleDeclaration( name ) != null )
+                {
+                    __cssStyleDeclarations.push( getCSSStyleDeclaration( name ) );
+                }
             }
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 21618
Author:   smgilson@adobe.com
Date:     2011-07-19T17:27:07.633025Z

Log Message:
-----------
initial ASDoc pass on new splashscreen for 4.5.2

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

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

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

--- frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreenImageSource.as
+++ frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreenImageSource.as
@@ -6,16 +6,45 @@
 use namespace mx_internal;

 /**
- *  SplashScreenImageSource specifies a Class (typically an embedded image)
+ *  Use the SplashScreenImageSource class to specify a Class (typically an embedded image)
  *  to be displayed as splash screen at a particular device configuration such as
  *  DPI, orientation and resolution.
  *
- *  Developers typically use one or more SplashScreenImageSource
- *  objects to define a SplashScreenImage class in MXML
- *  and set the Application's splashScreenImage property to that class.
+ *
You typically use one or more SplashScreenImageSource
+ *  objects to define a SplashScreenImage class in MXML
+ *  and set the application's splashScreenImage property to that class.

+ *
+ *
Shown below is SplashScreenImage component with three different
+ *  definitions for SplashScreenImageSource:

+ *
+ *

+ *    <?xml version="1.0" encoding="utf-8"?>
+ *    <s:SplashScreenImage xmlns:fx="http://ns.adobe.com/mxml/2009"
+ *        xmlns:s="library://ns.adobe.com/flex/spark">
+ *
+ *        <!-- Default splashscreen image. -->
+ *        <s:SplashScreenImageSource
+ *            source="@Embed('assets/logoDefault.jpg')"/>
+ *
+ *        <s:SplashScreenImageSource
+ *            source="@Embed('assets/logo240Portrait.jpg')"
+ *            dpi="240"
+ *            aspectRatio="portrait"/>
+ *
+ *        <s:SplashScreenImageSource
+ *            source="@Embed('assets/logo240Landscape.jpg')"
+ *            dpi="240"
+ *            aspectRatio="landscape"/>
+ *
+ *    </s:SplashScreenImage>
+ *

  *
  *  @see spark.preloaders.SplashScreenImage
  *  @see spark.components.Application#splashScreenImage
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 3
+ *  @productversion Flex 4.5.2
  */
 public class SplashScreenImageSource
 {
@@ -28,6 +57,9 @@
     /**
      *  Constructor.
      *
+     *  @langversion 3.0
+     *  @playerversion AIR 3
+     *  @productversion Flex 4.5.2
      */
     public function SplashScreenImageSource()
     {
@@ -46,10 +78,17 @@
     [Inspectable(category="General", enumeration="portrait,landscape")]

     /**
-     *  The required aspectRatio of the device.
-     *  Can be either StageAspectRatio.PORTRAIT or StageAspectRatio.LANDSCAPE.
-     *
-     *
If not set SplashScreenImage ignores this.

+     *  The required aspect ratio of the mobile device.
+     *  This property can be either flash.display.StageAspectRatio.PORTRAIT
+     *  or flash.display.StageAspectRatio.LANDSCAPE.
+     *
+     *
If not set, then SplashScreenImage ignores this property.

+     *
+     *  @see flash.display.StageAspectRatio
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 3
+     *  @productversion Flex 4.5.2
      */
     public var aspectRatio:String = null;

@@ -60,11 +99,15 @@
     [Inspectable(category="General", enumeration="160,240,320")]

     /**
-     *  The required dpi of the device.
+     *  The required DPI of the device to display the associated image.
      *
-     *
A value of NaN is ignored by SplashScreenImage.

+     *
A value of NaN means the property is ignored by SplashScreenImage.

      *
      *  @default NaN
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 3
+     *  @productversion Flex 4.5.2
      */
     public var dpi:Number = NaN;

@@ -75,15 +118,23 @@
     [Inspectable(category="General")]

     /**
-     *  The required minimum size of the device resolution needed to display the image.
+     *  The required minimum size of the mobile device's resolution needed
+     *  to display the image.
      *  The device resolution is the maximum of the stage width and height, in pixels.
-     *
-     *  This property can be used to display different images based on the pixel
-     *  resolution of a device.
-     *
-     *
A value of NaN is ignored by the SplashScreenImage.

+     *  The value of the minResolution property is compared against the larger
+     *  of the values of the Stage.stageWidth and Stage.stageHeight properties.
+     *  The larger of the two values must be equal to or greater than the minResolution property.
+     *
+     *
You can use this property to display different images based on the pixel
+     *  resolution of a device.

+     *
+     *
A value of NaN means the property is ignored by the SplashScreenImage.

      *
      *  @default NaN
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 3
+     *  @productversion Flex 4.5.2
      */
     public var minResolution:Number = NaN;

@@ -95,16 +146,25 @@

     /**
      *  The image class for the splash screen to use for the defined
-     *  device configuration.  Typically you set this property to an
-     *  embedded resource.
-     *
-     *  For example:
-     *
-     *
source="@Embed('Default.png')"

+     *  device configuration.
+     *  Typically you set this property to an embedded resource.
+     *
+     *
For example:

+     *
+     *

+     *        <s:SplashScreenImageSource
+     *            source="@Embed('assets/logo240Portrait.jpg')"
+     *            dpi="240"
+     *            aspectRatio="portrait"/>
+     *

      *
      *  @see spark.preloaders.SplashScreenImage
      *
      *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 3
+     *  @productversion Flex 4.5.2
      */
     public var source:Class;


Transferred from the Adobe Open Source Subversion Repository

Revision: 19167
Author:   smgilson@adobe.com
Date:     2010-12-08T21:07:50.821383Z

Log Message:
-----------
first ASDoc pass on view transitions

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/CrossFadeViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/ZoomViewTransitionMode.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/FlipViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/ViewTransitionBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/FlipViewTransitionMode.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/SlideViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/ViewTransitionDirection.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/ZoomViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/SlideViewTransitionMode.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/transitions/FlipViewTransitionMode.as
+++ frameworks/projects/mobilecomponents/src/spark/transitions/FlipViewTransitionMode.as
@@ -11,35 +11,44 @@

 package spark.transitions
 {
-
+
 /**
- *  The FlipViewTransitionMode class provides the constants used when hinting
+ *  The FlipViewTransitionMode class defines the constants used when hinting
  *  the style mode of a flip transition instance.
+ *
+ *  @see FlipViewTransition
  *
  *  @langversion 3.0
- *  @playerversion Flash 10
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
 public class FlipViewTransitionMode
 {
-	//--------------------------------------------------------------------------
-	//
-	//  Class constants
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  The previous view flips at its center point as the new view is revealed
+    //--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  The previous view flips at its center point as the new view is revealed
      *  on the other side.
-	 */
-	public static const CARD:String = "card";
-
-	/**
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public static const CARD:String = "card";
+
+    /**
      * The previous view is transformed away like the face on a rotating cube, as
      * the new view is revealed as the adjacent face of the cube.
-	 */
-	public static const CUBE:String = "cube";
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public static const CUBE:String = "cube";
 }
-
+
 }


Доработка интерфейса Path

Доработка интерфейса Path

--- src/main/org/shypl/common/util/Path.as
+++ src/main/org/shypl/common/util/Path.as
@@ -10,5 +10,7 @@
 		function resolve(path:String):Path;

 		function resolveSibling(path:String):Path;
+
+		function toString():String;
 	}
 }


added comments

added comments

Change-Id: I8bd66460215cc45aea0487cc7df05dbaf90642a9

--- WeaveUI/src/weave/visualization/layers/PlotLayerContainer.as
+++ WeaveUI/src/weave/visualization/layers/PlotLayerContainer.as
@@ -283,13 +283,15 @@
 			var layers:Array = layers.getObjects(IPlotLayer);
 			for each (var key:* in keys)
 			{
+				// support for generic objects coming from JavaScript
 				if (!(key is IQualifiedKey))
 					key = WeaveAPI.QKeyManager.getQKey(key.keyType, key.localName);
+
 				for each (var layer:IPlotLayer in layers)
 				{
 					var boundsArray:Array = (layer.spatialIndex as SpatialIndex).getBoundsFromKey(key);
 					for each (var bounds:IBounds2D in boundsArray)
-					tempBounds.includeBounds(bounds);
+						tempBounds.includeBounds(bounds);
 				}
 			}

@@ -297,6 +299,7 @@
 			getCallbackCollection(zoomBounds).delayCallbacks();

 			// zoom to that bounds, expanding the area to keep the fixed aspect ratio
+			// if tempBounds is undefined and enableAutoZoomToExtent is enabled, this will zoom to the full extent.
 			zoomBounds.setDataBounds(tempBounds, true);

 			// zoom out to include the specified margin


fixed AnimationController.updateOnTime() to avoid updating _currentTime when the animation is not playing

--- src/aerys/minko/scene/controller/AnimationController.as
+++ src/aerys/minko/scene/controller/AnimationController.as
@@ -232,6 +232,8 @@
 		{
 			if (updateOnTime(time))
 			{
+				_updateOneTime = false;
+
 				for (var j : uint = 0; j < numTargets; ++j)
 				{
 					var ctrlTarget		: ISceneNode	= getTarget(j);
@@ -240,8 +242,6 @@

 					if (ctrlTarget.root != scene)
 						continue ;
-
-					_updateOneTime = false;

 					for (var i : int = 0; i < numTimelines; ++i)
 					{
@@ -266,9 +266,12 @@
 				var deltaT 			: Number = time - _lastTime;
 				var lastCurrentTime : Number = _currentTime;

-				_currentTime = _loopBeginTime
-					+ (_currentTime + deltaT - _loopBeginTime)
-					% (_loopEndTime - _loopBeginTime);
+				if (_isPlaying)
+				{
+					_currentTime = _loopBeginTime
+						+ (_currentTime + deltaT - _loopBeginTime)
+						% (_loopEndTime - _loopBeginTime);
+				}

 				if ((deltaT > 0 && lastCurrentTime > _currentTime)
 					|| (deltaT < 0 && (lastCurrentTime < _currentTime || _currentTime * lastCurrentTime < 0)))


Fixed Requested changes.

Fixed Requested changes.

--- Game/Resources/elevatorScene/Scripts/LightsOutScript.as
+++ Game/Resources/elevatorScene/Scripts/LightsOutScript.as
@@ -42,7 +42,6 @@
     }

     void Toggle(int index) {
-        buttonSound.Stop();
         buttonSound.Play();
         bool pressed = !bool(buttonStates["" + index]);
         buttonStates["" + index] = pressed;


Transferred from the Adobe Open Source Subversion Repository

Revision: 3510
Author:   jimurphy@adobe.com
Date:     2008-10-07T18:36:20.168841Z

Log Message:
-----------
some stragglers...

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxContainerBase.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxTextBase.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/CallAction.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SkinnableContainerBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SkinnableContainerBase.as
@@ -0,0 +1,135 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 mx.components.baseClasses
+{
+import flash.display.Sprite;
+
+import mx.components.baseClasses.FxComponent;
+
+import mx.managers.IFocusManagerContainer;
+
+
+/**
+ *  Skin states for this component.
+ */
+[SkinStates("normal", "disabled")]
+
+/**
+ *  Base class for skinnable container components.
+ */
+public class FxContainerBase extends FxComponent implements IFocusManagerContainer
+{
+    include "../../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     */
+    public function FxContainerBase()
+    {
+        super();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override public function set enabled(value:Boolean):void
+    {
+        super.enabled = value;
+        invalidateSkinState();
+        updateMouseShield();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @inheritDoc
+     */
+    override protected function getUpdatedSkinState():String
+    {
+        return enabled ? "normal" : "disabled";
+    }
+
+    /**
+     *  @inheritDoc
+     */
+    override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
+    {
+        super.updateDisplayList(unscaledWidth, unscaledHeight);
+
+        if (mouseShield)
+        {
+            mouseShield.width = unscaledWidth;
+            mouseShield.height = unscaledHeight;
+        }
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Private methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Mouse shield that is put up when this component is disabled.
+     */
+    private var mouseShield:Sprite;
+
+    /**
+     *  @private
+     */
+	private function updateMouseShield():void
+	{
+        if (enabled)
+        {
+            if (mouseShield)
+            {
+                removeChild(mouseShield);
+                mouseShield = null;
+            }
+        }
+        else
+        {
+            if (!mouseShield)
+            {
+				// Create a 100x100 invisible shape that will
+				// be scaled to the component size by
+				// setting width and height, below.
+				mouseShield = new Sprite();
+				mouseShield.graphics.beginFill(0, 0);
+				mouseShield.graphics.drawRect(0, 0, 100, 100);
+				mouseShield.graphics.endFill();
+				addChild(mouseShield);
+            }
+
+            mouseShield.width = width;
+            mouseShield.height = height;
+        }
+    }
+}
+}


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

--- frameworks/projects/rpc/src/mx/utils/Translator.as
+++ frameworks/projects/rpc/src/mx/utils/Translator.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2006-2007 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: 12850
Author:   jimurphy@adobe.com
Date:     2009-12-11T14:57:14.623098Z

Log Message:
-----------
add 6 new DMV projects to the SDK:
automation
automation_air
automation_dmv
automation_flashflexkit
automation_spark
datavisualization

These projects are setup to build in an ant main call.  There are currently several warnings in the datavisualization project that will be cleaned up.  No checkintests exist for these projects as of yet.

I also modified the exisitng projects build files for easier management of the localization targets, bundle and fat-swc. If the projects that I updated:airframework,airspark,framework,playerglobal,rpc,and spark.  All the new projects have been implemented this same way.

QE notes: DMV folks should run through their tests
Doc notes: probably
Bugs: nope
Reviewer:
Tests run: ran the following targets: compile,checkintests,other.locales and doc
Is noteworthy for integration: no

Modified Paths:
--------------
1404 paths were modified

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

--- frameworks/projects/advancedgrids/src/mx/olap/OLAPElement.as
+++ frameworks/projects/advancedgrids/src/mx/olap/OLAPElement.as
@@ -0,0 +1,205 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+import flash.utils.Proxy;
+
+/**
+ *  The OLAPElement class defines a base interface that provides common properties for all OLAP elements.
+ *
+ *  @mxml
+ *

+ *  The <mx:OLAPElement> tag inherits all of the tag attributes
+ *  of its superclass, and adds the following tag attributes:
+ *

+ *

+ *  <mx:OLAPElement
+ *    Properties
+ *    dimensions=""
+ *    name=""
+ *  />
+ *
+ *  @see mx.olap.IOLAPElement
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class OLAPElement extends Proxy implements IOLAPElement
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor
+     *
+     *  @param name The name of the OLAP element that includes the OLAP schema hierarchy of the element.
+     *  For example, "Time_Year", where "Year" is a level of the "Time" dimension in an OLAP schema.
+     *
+     *  @param displayName The name of the OLAP element, as a String, which can be used for display.
+     *
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function OLAPElement(name:String=null, displayName:String=null)
+    {
+        _name = name;
+        _displayName = displayName;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    // uniqueName
+    //----------------------------------
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get uniqueName():String
+    {
+        if (dimension)
+            return String("[" + dimension.name + "].[" + name + "]");
+        else
+            return name;
+    }
+
+    //----------------------------------
+    // displayName
+    //----------------------------------
+
+    /**
+     *  @private
+     */
+    private var _displayName:String;
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get displayName():String
+    {
+        return _displayName ? _displayName : name;
+    }
+
+    /**
+     *  @private
+     */
+    public function set displayName(value:String):void
+    {
+        _displayName = value;
+    }
+
+    //----------------------------------
+    // name
+    //----------------------------------
+
+    /**
+     *  @private
+     */
+    private var _name:String;
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get name():String
+    {
+        return _name;
+    }
+
+    /**
+     *  @private
+     */
+    public function set name(value:String):void
+    {
+        OLAPTrace.traceMsg("Setting the name to: " + value, OLAPTrace.TRACE_LEVEL_3);
+        _name = value;
+    }
+
+    //----------------------------------
+    // dimension
+    //----------------------------------
+
+    private var _dimension:IOLAPDimension;
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get dimension():IOLAPDimension
+    {
+        return _dimension;
+    }
+
+    /**
+     *  @private
+     */
+    public function set dimension(value:IOLAPDimension):void
+    {
+        _dimension = value;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Returns the unique name of the element.
+     *
+     *  @return The unique name of the element.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function toString():String
+    {
+        return uniqueName;
+    }
+
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 3042
Author:   smgilson@adobe.com
Date:     2008-08-29T16:06:20.180689Z

Log Message:
-----------
Fix invalid HTML in ASDoc comments

Checkin Test Passed: Yes
QA: No
Bug:
Doc: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/SerializationFilter.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/http/Operation.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as
+++ frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as
@@ -55,9 +55,9 @@
  * send(param1, param2) method, the body is typically formed by combining the argumentNames
  * property of the operation with the parameters sent.  An Object is created which uses the
  * argumentNames[i] as the key and the corresponding parameter as the value.
- *

- * The exact way in which the HTTP operation arguments is put into the HTTP body is determined
- * by the serializationFilter used.
+ *
+ *
The exact way in which the HTTP operation arguments is put into the HTTP body is determined
+ * by the serializationFilter used.

  */
 public class AbstractOperation extends mx.rpc.AbstractOperation
 {
@@ -563,8 +563,8 @@
         if (Concurrency.SINGLE == concurrency && activeCalls.hasActiveCalls())
         {
             token = new AsyncToken(null);
-			var m:String = resourceManager.getString(
-				"rpc", "pendingCallExists");
+            var m:String = resourceManager.getString(
+                "rpc", "pendingCallExists");
             fault = new Fault("ConcurrencyError", m);
             faultEvent = FaultEvent.createEvent(fault, token);
             new AsyncDispatcher(dispatchRpcEvent, [faultEvent], 10);
@@ -949,7 +949,7 @@

     private var _concurrency:String;

-	private var _showBusyCursor:Boolean;
+    private var _showBusyCursor:Boolean;

 }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/effects/effectClasses/AddRemoveEffectTargetFilter.as
+++ frameworks/projects/framework/src/mx/effects/effectClasses/AddRemoveEffectTargetFilter.as
@@ -20,6 +20,11 @@
  *  children to a container.
  *  If you set the Effect.filter property to "add" or "remove",
  *  then one of these is used.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class AddRemoveEffectTargetFilter extends EffectTargetFilter
 {
@@ -33,6 +38,11 @@

 	/**
 	 *  Constructor.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function AddRemoveEffectTargetFilter()
 	{
@@ -55,6 +65,11 @@
 	 *  Determines if this is an add or remove filter.
 	 *
 	 *  @default true
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var add:Boolean = true;


Transferred from the Adobe Open Source Subversion Repository

Revision: 3597
Author:   hmuller@adobe.com
Date:     2008-10-13T19:54:10.017567Z

Log Message:
-----------
Bug fix: 17257

All updates to FxRange's value property now cause a call to setValue().

QE: No
Doc: No
Checkintests: Pass
Reviewer: Chet
Bugs:
    SDK-17257 - Range::setValue() and Range::set value shouldn't be independent

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

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

--- frameworks/projects/spark/src/spark/components/HScrollBar.as
+++ frameworks/projects/spark/src/spark/components/HScrollBar.as
@@ -128,7 +128,13 @@
     }

     /**
+     *  If viewport is non null then ask it to compute the horizontal
+     *  scroll position delta for page up/down.  The delta is added
+     *  to this scrollbar's value.
      *
+     *  @see viewport
+     *  @see #setValue
+     *  @see IViewport#horizontalScrollPositionDelta
      */
     override public function page(increase:Boolean = true):void
     {
@@ -139,7 +145,13 @@
     }

     /**
+     *  If viewport is non null then ask it to compute the horizontal
+     *  scroll position delta for step up/down.  The delta is added
+     *  to this scrollbar's value.
      *
+     *  @see viewport
+     *  @see #setValue
+     *  @see IViewport#horizontalScrollPositionDelta
      */
     override public function step(increase:Boolean = true):void
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 3935
Author:   hmuller@adobe.com
Date:     2008-10-28T23:06:19.450100Z

Log Message:
-----------
Fix for 17281, 17751, 17765, and PARB changes: ClipContent now defaults to false, defined ScrollUnit enum and changed IViewport ScrollPositionDelta methods to use it.   Added "get" prefix to the ScrollPositionDelta methods.

Changed the default value of the clipContent property in GroupBase
and FxContainer from true to false.

Scroller now sets the clipContent of its viewport to true.

Removed clipContent="false" from spark skins, since false is
now the default.

Removed a clipContent="false" hack from CircularScrollbar test.

Removed calls to updateScrollRect from layout updateDisplayList()
methods, since the scrollRect is no longer contingent on
the value of the contentWidth,Height properties.  To keep
the scrollRect in sync with a component's size, we call
layout.updateScrollRect() in GroupBase::updateDisplayList()
and FxContainer::updateDisplayList().

Revised (simplified) the LayoutBase::updateScrollRect ASDoc.

Provisional change to make the FxContainer clipContent property work
correctly.

LayoutBase method renames per PARB feedback:
verticalScrollPositionDelta() => getVerticalScrollPositionDelta()
horizontalScrollPositionDelta() => getHorizontalScrollPositionDelta()

Defined a new mx.core.ScrollUnit enum per PARB feedback.  The
IViewport getHorizontal,VerticalScrollPositionDelta() methods now take
a ScrollUnit type argument, instead of a (character code) uint.

QE Notes: clipContent and ScrollUnit changes will break tests
Doc Notes: None
Bugs: sdk-17751, sdk-17257, sdk-17765
Reviewer: Ryan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxVSliderThumbSkin.mxml</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/skins/spark/FxButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/IViewport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxToggleButtonSkin.mxml</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="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/ScrollUnit.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxCheckBoxSkin.mxml</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/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxHSliderThumbSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxRadioButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>

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

--- frameworks/projects/spark/src/spark/components/VScrollBar.as
+++ frameworks/projects/spark/src/spark/components/VScrollBar.as
@@ -14,7 +14,8 @@
 import flash.ui.Keyboard;
 import mx.layout.ILayoutItem;
 import mx.layout.LayoutItemFactory;
-import mx.components.baseClasses.FxScrollBar;
+import mx.components.baseClasses.FxScrollBar;
+import mx.core.ScrollUnit;
 import mx.events.PropertyChangeEvent;
 import mx.events.ResizeEvent;
 import flash.events.Event;
@@ -142,9 +143,9 @@
      *
      *  @private
      */
-    private function updateViewportVSP(unit:uint):void
-    {
-        var delta:Number = viewport.verticalScrollPositionDelta(unit);
+    private function updateViewportVSP(unit:ScrollUnit):void
+    {
+        var delta:Number = viewport.getVerticalScrollPositionDelta(unit);
         setValue(viewport.verticalScrollPosition + delta);
     }

@@ -153,7 +154,7 @@
      *  change the vertical scroll position for page up or page down by
      *  scrolling the viewport.
      *  This method calculates the amount to scroll by calling the
-     *  IViewport.verticalScrollPositionDelta() method
+     *  IViewport.getVerticalScrollPositionDelta() method
      *  with either flash.ui.Keyboard.PAGE_UP
      *  or flash.ui.Keyboard.PAGE_DOWN.
      *  It then calls the setValue() method to
@@ -171,14 +172,14 @@
      *  @see mx.components.baseClasses.FxTrackBase#setValue()
      *  @see mx.core.IViewport
      *  @see mx.core.IViewport#verticalScrollPosition
-     *  @see mx.core.IViewport#verticalScrollPositionDelta()
+     *  @see mx.core.IViewport#getVerticalScrollPositionDelta()
     */
     override public function page(increase:Boolean = true):void
     {
         if (!viewport)
             super.page(increase);
         else
-            updateViewportVSP((increase) ? Keyboard.PAGE_DOWN : Keyboard.PAGE_UP);
+            updateViewportVSP((increase) ? ScrollUnit.PAGE_DOWN : ScrollUnit.PAGE_UP);
     }

     /**
@@ -186,7 +187,7 @@
      *  change the vertical scroll position for line up or line down by
      *  scrolling the viewport.
      *  This method calculates the amount to scroll by calling the
-     *  IViewport.verticalScrollPositionDelta() method
+     *  IViewport.getVerticalScrollPositionDelta() method
      *  with either flash.ui.Keyboard.RIGHT
      *  or flash.ui.Keyboard.LEFT.
      *  It then calls the setValue() method to
@@ -204,14 +205,14 @@
      *  @see mx.components.baseClasses.FxTrackBase#setValue()
      *  @see mx.core.IViewport
      *  @see mx.core.IViewport#verticalScrollPosition
-     *  @see mx.core.IViewport#verticalScrollPositionDelta()
+     *  @see mx.core.IViewport#getVerticalScrollPositionDelta()
      */
     override public function step(increase:Boolean = true):void
     {
         if (!viewport)
             super.step(increase);
         else
-            updateViewportVSP((increase) ? Keyboard.DOWN : Keyboard.UP);
+            updateViewportVSP((increase) ? ScrollUnit.DOWN : ScrollUnit.UP);
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 4170
Author:   egeorgie@adobe.com
Date:     2008-11-23T21:12:27.092823Z

Log Message:
-----------
1.	mx.layout.ILayoutItem gets renamed to mx.layout.ILayoutElement
2.	get actualPosition() -> getLayoutPositionX(postTransform:Boolean=true):Number, getLayoutPositionY(postTransform:Boolean=true):Number
3.	get actualSize() -> getLayoutWidth(postTransform:Boolean=true):Number, getLayoutHeight(postTransform:Boolean=true):Number
4.	get preferredSize() -> getPreferredWidth(postTransform:Boolean=true):Number, getPreferredHeight(postTransform:Boolean=true):Number
5.	get minSize() -> getMinWidth(postTransform:Boolean=true):Number, getMinHeight(postTransform:Boolean=true):Number
6.	get maxSize() -> getMaxWidth(postTransform:Boolean=true):Number, getMaxHeight(postTransform:Boolean=true):Number
7.	setActualSize() -> setlayoutSize(width:Number=NaN, height:Number=NaN, postTransform:Boolean=true):void
8.	setActualPosition() -> setLayoutPosition(width:Number=NaN, height:Number=NaN, postTransform:Boolean=true):void
10.     Add support for custom 3D layouts by exposing access to transform matrices through the ILayoutElement interface.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Hans
tests: checkintests, mustella (gumbo/components)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/layout/layout_tester.mxml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutItemHelper.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutItemUIC.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHSlider.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/ILayoutItem.as" copyfrom-rev="4137" action="A">/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/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimate3DInstance.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/ILayoutItem.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/layout/BasicLayout.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/components/FxVScrollBar.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutItemFactory.as" copyfrom-rev="4137" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutElementFactory.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="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutItemFactory.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutItemFDO.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutItemHelper.as" copyfrom-rev="4137" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutElementHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutItemUIC.as" copyfrom-rev="4137" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutElementUIC.as</path>

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

--- frameworks/projects/spark/src/spark/components/VScrollBar.as
+++ frameworks/projects/spark/src/spark/components/VScrollBar.as
@@ -16,8 +16,8 @@
 import mx.core.ScrollUnit;
 import mx.events.PropertyChangeEvent;
 import mx.events.ResizeEvent;
-import mx.layout.ILayoutItem;
-import mx.layout.LayoutItemFactory;
+import mx.layout.ILayoutElement;
+import mx.layout.LayoutElementFactory;

 [IconFile("FxVScrollBar.png")]

@@ -108,9 +108,9 @@
         if (thumb)
         {
             var trackPos:Number = track ? track.y : 0;
-            var layoutItem:ILayoutItem = LayoutItemFactory.getLayoutItemFor(thumb);
-            layoutItem.setActualPosition(layoutItem.actualPosition.x,
-                                         Math.round(trackPos + thumbPos));
+            var layoutElement:ILayoutElement = LayoutElementFactory.getLayoutElementFor(thumb);
+            layoutElement.setLayoutPosition(layoutElement.getLayoutPositionX(),
+                                            Math.round(trackPos + thumbPos));
         }
     }


Clicking top-left in module list no longer re-opens module list

--- src/LevelState.as
+++ src/LevelState.as
@@ -237,6 +237,7 @@
 			var listButton:GraphicButton = new GraphicButton(50, 10, _list_sprite, function listModules():void {
 				if (!tick) return;

+				listButton.exists = false;
 				if (currentModule) {
 					currentModule.exists = false;
 					currentModule = null;
@@ -257,6 +258,7 @@

 						modules.push(currentModule);
 						displayModules.push(midLayer.add(new DModule(currentModule)));
+						listButton.exists = true;
 						tick = 0;
 					}).setParam(moduleType));
 				}


fixed error in Location update where new argument was not included

--- flexEditor/src/org/arisgames/editor/services/AppServices.as
+++ flexEditor/src/org/arisgames/editor/services/AppServices.as
@@ -165,7 +165,7 @@
         else
         {
             trace("This Location has an Id (" + loc.locationId + "), so call update Location.");
-            l = AppDAO.getInstance().getLocationServer().updateLocation(gid, loc.locationId, loc.name, loc.iconMediaId, loc.latitude, loc.longitude, loc.error, loc.type, loc.typeId, loc.quantity, loc.hidden, loc.forceView);
+            l = AppDAO.getInstance().getLocationServer().updateLocation(gid, loc.locationId, loc.name, loc.iconMediaId, loc.latitude, loc.longitude, loc.error, loc.type, loc.typeId, loc.quantity, loc.hidden, loc.forceView,0);
         }
         l.addResponder(resp);
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 3451
Author:   egreenfi@adobe.com
Date:     2008-10-02T05:10:18.410127Z

Log Message:
-----------
- UIComponents, GraphicElements's matrix used for layout calculations, and set by the parent layouts, is now decoupled from the actual layout used by the flash player for rendering.
- Both UIComponents an d GraphicElements can be handed a TransformOffset object. The transformOffset allows developers to specify adjustments to the transform as defined by the compoennts parent layout.
- 3D properties on components and graphic elements are now supported.  Setting a 3D property or a 3D matrix on a component or element will affect it visually, but the 2D layouts will continue to lay out as though only the 2D portion of their layout is applied.
- transformX,Y,Z now fully supported on components and elements.  For layouts that don't try and set the post transform bounds (i.e., absolute layout without constraints), the layout scale and rotation will be centered on this point.  The offset transform will also be centered around this point.
- layering is now decoupled from item order.  By default, components now render in order based on the value of their 'layer' property.  All components' layers default to 0.  components with the same layer render in the order they appear in their parent group's item list.
- setting transform.matrix on UIComponent is now supported, and is roughly the same as setting the convenience layout properties on the component.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/.flexProperties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/utilities/build.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/ITransformable.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/IGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/.actionScriptProperties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/haloclassic/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/LayoutItemUIC.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/gumbo-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/framework/.actionScriptProperties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4/.flexLibProperties</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Parser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/framework/.flexLibProperties</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4/.actionScriptProperties</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/geom/Transform.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/flex/geom/Transform.as" copyfrom-rev="3342" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TransformUtil.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/TransformOffset.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/fxg-manifest.xml</path>

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

--- frameworks/projects/framework/src/mx/core/IVisualElement.as
+++ frameworks/projects/framework/src/mx/core/IVisualElement.as
@@ -0,0 +1,27 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-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 mx.core
+{
+	import mx.geom.ITransformable;
+
+/**
+ *  The IVisualItem interface represents the common methods and properties between UIComponents and
+ *  GraphicElements.
+ */
+	public interface IVisualItem extends ITransformable
+	{
+		/**
+		 * Documentation is not currently available.
+		 */
+		function set layer(value:Number):void;
+		function get layer():Number;
+	}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 13713
Author:   jimurphy@adobe.com
Date:     2010-01-22T15:29:59.207526Z

Log Message:
-----------
Merge /branches/4.0.0 revs 13667,13672,13683,13684,13691,13696,13708 -> trunk
Block /branches/4.0.0 revs 13682,13696,13702

------------------------------------------------------------------------
r13667 | cframpto@adobe.com | 2010-01-20 14:30:00 -0500 (Wed, 20 Jan 2010) | 11 lines

TLB Build  591.  Approved for checkin.

Looks like an IME focus issue was fixed.

------------------------------------------------------------------------

------------------------------------------------------------------------
r13672 | aharui@adobe.com | 2010-01-20 16:26:01 -0500 (Wed, 20 Jan 2010) | 11 lines

Focusable renderers cause focusOutHandler to destroy the editor while destroyItemEditor is in progress causing itemEditorInstance to be null as we finish up the method.

Add null check.

QE Notes: none
Doc Notes:  none
SDK-25151
------------------------------------------------------------------------

------------------------------------------------------------------------
r13683 | jszeto@adobe.com | 2010-01-20 23:36:24 -0500 (Wed, 20 Jan 2010) | 13 lines

Added missing metadata

http://bugs.adobe.com/jira/browse/SDK-25168 - Cannot set contentBackgroundAlpha in MXML on mx:VideoDisplay control [missing metadata]
SDK-25168
Added metadata

SDK-25168
------------------------------------------------------------------------

------------------------------------------------------------------------
r13684 | jszeto@adobe.com | 2010-01-20 23:42:17 -0500 (Wed, 20 Jan 2010) | 13 lines

Memory fix

http://bugs.adobe.com/jira/browse/SDK-25136 - BitmapFill doesn't destroy BitmapData if source is Class
SDK-25136
Set bitmapCreate flag to true if source is Class.

SDK-25136
------------------------------------------------------------------------

------------------------------------------------------------------------
r13691 | gauravj@adobe.com | 2010-01-21 15:13:29 -0500 (Thu, 21 Jan 2010) | 8 lines

Fix the build.xml file that gets packaged at the root for frameworks folder.

SDK-25188 Reviewed By: Jim
------------------------------------------------------------------------

------------------------------------------------------------------------
r13696 | rvollmar@adobe.com | 2010-01-21 16:54:04 -0500 (Thu, 21 Jan 2010) | 1 line

Removing.  These will be hosted elsewhere.
------------------------------------------------------------------------

------------------------------------------------------------------------
r13708 | gauravj@adobe.com | 2010-01-22 00:16:04 -0500 (Fri, 22 Jan 2010) | 8 lines

Fixes the some SDK BOM clean up tasks

SDK-25178 SDK-25197 SDK-25198 SDK-25199 Reviewed By: will be Jim
------------------------------------------------------------------------

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/build.xml</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/flex-config.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/EditManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/textLayout.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/bundles/en_US/docs/packages.dita</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/BuildInfo.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/IMEClient.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/rsls/textLayout_1.0.0.590.swf</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/build_framework.xml</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/4.0.0/frameworks/rsls/textLayout_1.0.0.591.swf" copyfrom-rev="13667" action="A">/flex/sdk/trunk/frameworks/rsls/textLayout_1.0.0.591.swf</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/air-config.xml</path>

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

--- frameworks/projects/framework/src/mx/graphics/BitmapFill.as
+++ frameworks/projects/framework/src/mx/graphics/BitmapFill.as
@@ -590,13 +590,14 @@
 			var oldValue:Object = _source;

 			var bitmapData:BitmapData;
-            var bitmapCreated:Boolean = false;
+            var bitmapCreated:Boolean = false;

 			if (value is Class)
 			{
 				var cls:Class = Class(value);
 				value = new cls();
-			}
+				bitmapCreated = true;
+			}

 			if (value is BitmapData)
 			{
@@ -636,9 +637,9 @@
                 bitmapData = transparentBitmap;
             }

-            _source = value;
+			_source = value;
             setBitmapData(bitmapData, bitmapCreated);
-
+
 			dispatchFillChangedEvent("source", oldValue, value);
         }
 	}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package mx.skins.halo
 {


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

--- frameworks/projects/mx/src/mx/skins/halo/ScrollTrackSkin.as
+++ frameworks/projects/mx/src/mx/skins/halo/ScrollTrackSkin.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2004-2007 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: 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@1274185 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as
+++ frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as
@@ -279,7 +279,8 @@
     /**
      *  The URL that the HTTPService object should use when computing relative URLs.
      *  This contains a prefix which is prepended onto any URLs when it is set.
-     *  It defaults to null in which case the URLs for each operation are used.
+     *  It defaults to null in which case the URL for the SWF is used to compute
+     *  relative URLs.
      */
     public var baseURL:String;