Transferred from the Adobe Open Source Subversion Repository

Revision: 8574
Author:   aharui@adobe.com
Date:     2009-07-15T05:33:44.225721Z

Log Message:
-----------
Bugs related to TLF and focus.  Also TLF Marshall Plan adjustments, and some IME fixes

QE Notes: None
Doc Notes: None
Bugs: SDK-21278, SDK-21686, SDK-21375, SDK-18516, SDK-15093, SDK-21335
Reviewer: darrell, carol
tests: checkintests mustella/gumbo mustella/components

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IFocusManagerComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IIMESupport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.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/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SWFBridgeEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/alertClasses/AlertForm.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/RichEditableTextContainerManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.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/TextInput.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/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/FocusManagerMarshalMixin.as</path>

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

--- frameworks/projects/framework/src/mx/managers/IFocusManagerComponent.as
+++ frameworks/projects/framework/src/mx/managers/IFocusManagerComponent.as
@@ -52,7 +52,7 @@
 	 *
 	 *
This will cause the FocusManager to ignore this component
 	 *  and not monitor it for changes to the tabEnabled,
-	 *  tabChildren, and mouseFocusEnabled properties.
+	 *  hasFocusableChildren, and mouseFocusEnabled properties.
 	 *  This also means you cannot change this value after
 	 *  addChild() and expect the FocusManager to notice.

 	 *
@@ -72,6 +72,44 @@
 	 *  @private
 	 */
 	function set focusEnabled(value:Boolean):void;
+
+	//----------------------------------
+	//  hasFocusableChildren
+	//----------------------------------
+
+	/**
+	 *  A flag that indicates whether child objects can receive focus
+	 *
+	 *
This is similar to the tabChildren property
+     *  used by the Flash Player.
+	 *
+	 *
This is usually false because most components
+     *  either receive focus themselves or delegate focus to a single
+     *  internal sub-component and appear as if the component has
+     *  received focus.  For example, a TextInput contains a focusable
+     *  child RichEditableText control, but while the RichEditableText
+     *  sub-component actually receives focus, it appears as if the
+     *  TextInput has focus.  TextInput sets hasFocusableChildren
+     *  to false because TextInput is considered the
+     *  component that has focus.  Its internal structure is an
+     *  abstraction.

+     *
+	 *
Usually only navigator components like TabNavigator and
+     *  Accordion have this flag set to true because they
+     *  receive focus on Tab but focus goes to components in the child
+     *  containers on further Tabs.

+	 *
+	 *  @langversion 4.0
+	 *  @playerversion Flash 10
+	 *  @playerversion AIR 1.5
+	 *  @productversion Flex 4
+	 */
+	function get hasFocusableChildren():Boolean;
+
+	/**
+	 *  @private
+	 */
+	function set hasFocusableChildren(value:Boolean):void;

 	//----------------------------------
 	//  mouseFocusEnabled


Added proper error message for wrong XML configuration options to Injector#createInjectionPointsFromConfigXML

--- src/org/swiftsuspenders/Injector.as
+++ src/org/swiftsuspenders/Injector.as
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009 the original author or authors
+ * Copyright (c) 2009-2010 the original author or authors
  *
  * Permission is hereby granted to use, modify, and distribute this file
  * in accordance with the terms of the license agreement accompanying it.
@@ -305,6 +305,11 @@
 				else
 				{
 					typeNode = description.factory.*.(attribute('name') == node.@name)[0];
+					if (!typeNode)
+					{
+						throw new InjectorError('Error in XML configuration: Class "' + className +
+							'" doesn\'t contain the instance member "' + node.@name + '"');
+					}
 				}
 				typeNode.appendChild(metaNode);
 			}


当methodFullName找不到时不抛出异常

当methodFullName找不到时不抛出异常

--- as3/com/netease/protobuf/CustomOption.as
+++ as3/com/netease/protobuf/CustomOption.as
@@ -20,16 +20,21 @@
 			if (m == null) {
 				return null
 			}
-			const serviceClass:Class = Class(getDefinitionByName(m[1]));
-			var optionsBytesByMethodName:Object
+			const serviceClass:Class = Class(getDefinitionByName(m[1]))
+			var optionsBytes:ByteArray
 			try {
-				optionsBytesByMethodName = serviceClass.OPTIONS_BYTES_BY_METHOD_NAME
+				optionsBytes =
+					serviceClass.OPTIONS_BYTES_BY_METHOD_NAME[methodFullName]
 			} catch (e:ReferenceError) {
 				return null
 			}
-			const result:MethodOptions = new MethodOptions
-			result.mergeFrom(optionsBytesByMethodName[methodFullName])
-			return result
+			if (optionsBytes) {
+				const result:MethodOptions = new MethodOptions
+				result.mergeFrom(optionsBytes)
+				return result
+			} else {
+				return null
+			}
 		}

 		public static function getServiceOptions(serviceClass:Class):ServiceOptions {


Fix #35

Fix #35

--- as3/com/netease/protobuf/ReadUtils.as
+++ as3/com/netease/protobuf/ReadUtils.as
@@ -18,7 +18,7 @@
 		public static function skip(input:IDataInput, wireType:uint):void {
 			switch (wireType) {
 			case WireType.VARINT:
-				while (input.readUnsignedByte() > 0x80) {}
+				while (input.readUnsignedByte() >= 0x80) {}
 				break
 			case WireType.FIXED_64_BIT:
 				input.readInt()


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

--- frameworks/projects/framework/src/mx/graphics/Stroke.as
+++ frameworks/projects/framework/src/mx/graphics/Stroke.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.graphics
 {


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

--- frameworks/projects/mx/src/mx/containers/VDividedBox.as
+++ frameworks/projects/mx/src/mx/containers/VDividedBox.as
@@ -0,0 +1,118 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.containers
+{
+
+//--------------------------------------
+//  Excluded APIs
+//--------------------------------------
+
+[Exclude(name="direction", kind="property")]
+
+[Exclude(name="focusIn", kind="event")]
+[Exclude(name="focusOut", kind="event")]
+
+[Exclude(name="focusBlendMode", kind="style")]
+[Exclude(name="focusSkin", kind="style")]
+[Exclude(name="focusThickness", kind="style")]
+
+[Exclude(name="focusInEffect", kind="effect")]
+[Exclude(name="focusOutEffect", kind="effect")]
+
+//--------------------------------------
+//  Other metadata
+//--------------------------------------
+
+[IconFile("VDividedBox.png")]
+
+/**
+ *  The VDividedBox container lays out its children vertically
+ *  in the same way as the VBox container, but it inserts
+ *  a draggable divider in the gap between each child.
+ *  A user can drag the divider to resize the area allotted to each child.
+ *  The <mx:VDividedBox/> tag is the same as
+ *  <mx:DividedBox direction="vertical"/>.
+ *
+ *
A VDividedBox container has the following default sizing characteristics:

+ *

+ *

+ *           Characteristic
+ *           Description
+ *

+ *

+ *           Default size
+ *           Height is large enough to hold all of its children at the default or explicit
+ *               heights of the children, plus any vertical gap between the children, plus the top and bottom padding of the
+ *               container. The width is the default or explicit width of the widest child plus the left and right padding of
+ *               the container.
+ *

+ *

+ *           Default padding
+ *           0 pixels for the top, bottom, left, and right values.
+ *

+ *

+ *           Default gap
+ *           10 pixels for the horizontal and vertical gaps.
+ *

+ *

+ *
+ *  @mxml
+ *
+ *
The <mx:VDividedBox> tag inherits all of the tag
+ *  attributes of its superclass, except direction, and adds
+ *  no new tag attributes.

+ *
+ *  @includeExample examples/VDividedBoxExample.mxml
+ *
+ *  @see mx.containers.DividedBox
+ *  @see mx.containers.HDividedBox
+ */
+public class VDividedBox extends DividedBox
+{
+	include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 */
+	public function VDividedBox()
+	{
+		super();
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  direction
+	//----------------------------------
+
+	[Inspectable(environment="none")]
+
+	/**
+	 *  @private
+	 *  Don't allow user to change the direction
+	 */
+	override public function set direction(value:String):void
+	{
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 842
Author:   genovese@adobe.com
Date:     2008-03-17T21:51:41.069586Z

Log Message:
-----------
Minor ASDoc changes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/LoadEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractOperation.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/AsyncRequest.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/IResponder.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/AbstractOperation.as
+++ frameworks/projects/rpc/src/mx/rpc/AbstractOperation.as
@@ -160,9 +160,14 @@
      * the method call. If there are no arguments passed, the arguments object
      * is used as the source of parameters.
      *
+     * @param args Optional arguments passed in as part of the method call. If there
+     * are no arguments passed, the arguments object is used as the source of
+     * parameters.
+     *
      * @return AsyncToken Call using the asynchronous completion token pattern.
      * The same object is available in the result and
      * fault events from the token property.
+     *
      */
     /* abstract */ public function send(... args:Array):AsyncToken
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 20675
Author:   smgilson@adobe.com
Date:     2011-03-08T14:47:24.323678Z

Log Message:
-----------
ASDoc updates

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/spark/src/spark/events/GridEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/LoaderInvalidationEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/ListEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/GridSortEvent.as</path>

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

--- frameworks/projects/spark/src/spark/events/ListEvent.as
+++ frameworks/projects/spark/src/spark/events/ListEvent.as
@@ -270,6 +270,9 @@
     //
     //--------------------------------------------------------------------------

+    /**
+     *  @private
+     */
     override public function clone():Event
     {
         var cloneEvent:ListEvent = new ListEvent(type, bubbles, cancelable,


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

--- frameworks/projects/framework/src/mx/automation/Automation.as
+++ frameworks/projects/framework/src/mx/automation/Automation.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-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: 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@1261574 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/managers/IDragManager.as
+++ frameworks/projects/framework/src/mx/managers/IDragManager.as
@@ -0,0 +1,45 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2006-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.events.MouseEvent;
+
+import mx.core.DragSource;
+import mx.core.IFlexDisplayObject;
+import mx.core.IUIComponent;
+
+[ExcludeClass]
+
+/**
+ *  @private
+ */
+public interface IDragManager
+{
+	function get isDragging():Boolean;
+	function doDrag(
+			dragInitiator:IUIComponent,
+			dragSource:DragSource,
+			mouseEvent:MouseEvent,
+			dragImage:IFlexDisplayObject = null, // instance of dragged item(s)
+			xOffset:Number = 0,
+			yOffset:Number = 0,
+			imageAlpha:Number = 0.5,
+			allowMove:Boolean = true):void;
+	function acceptDragDrop(target:IUIComponent):void;
+	function showFeedback(feedback:String):void;
+	function getFeedback():String;
+	function endDrag():void;
+}
+
+}
+


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

--- frameworks/projects/mx/src/mx/styles/metadata/AnchorStyles.as
+++ frameworks/projects/mx/src/mx/styles/metadata/AnchorStyles.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: 7065
Author:   smgilson@adobe.com
Date:     2009-05-19T12:27:36.799816Z

Log Message:
-----------
ASDoc updates for styles

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/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/RadioButton.as
+++ frameworks/projects/spark/src/spark/components/RadioButton.as
@@ -31,7 +31,7 @@
 //--------------------------------------

 /**
- *  @copy spark.components.supportClasses.GroupBase#symbolColor
+ *  @copy spark.components.supportClasses.GroupBase#style:symbolColor
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 20555
Author:   smgilson@adobe.com
Date:     2011-03-02T21:32:19.735501Z

Log Message:
-----------
minor ASdoc edits for max row/column count and baseline align

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/spark/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
@@ -547,8 +547,8 @@
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public function get requestedMaxRowCount():int
     {
@@ -593,8 +593,8 @@
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public function get requestedMinRowCount():int
     {
@@ -1117,25 +1117,25 @@
         }

         if (useVirtualLayout)
-		{
-			var firstElement:ILayoutElement = g.getElementAt(_firstIndexInView);
-			var lastElement:ILayoutElement = g.getElementAt(_lastIndexInView);
-			var scrollRect:Rectangle = getScrollRect();
-
-			/* If the scrollRect is within the bounds of the elements, we do
-			   not need to call invalidateDisplayList(). This considerably speeds
-			   up small scrolls. */
-			if (!firstElement || !lastElement ||
-				scrollRect.top < firstElement.getLayoutBoundsY() ||
-				scrollRect.bottom >= (lastElement.getLayoutBoundsY() + lastElement.getLayoutBoundsHeight()))
-			{
-				g.invalidateDisplayList();
-			}
-		}
-
+        {
+            var firstElement:ILayoutElement = g.getElementAt(_firstIndexInView);
+            var lastElement:ILayoutElement = g.getElementAt(_lastIndexInView);
+            var scrollRect:Rectangle = getScrollRect();
+
+            /* If the scrollRect is within the bounds of the elements, we do
+               not need to call invalidateDisplayList(). This considerably speeds
+               up small scrolls. */
+            if (!firstElement || !lastElement ||
+                scrollRect.top < firstElement.getLayoutBoundsY() ||
+                scrollRect.bottom >= (lastElement.getLayoutBoundsY() + lastElement.getLayoutBoundsHeight()))
+            {
+                g.invalidateDisplayList();
+            }
+        }
+
         setIndexInView(i0, i1);
     }
-
+
     /**
      *  @private
      *


Transferred from the Adobe Open Source Subversion Repository

Revision: 2644
Author:   egeorgie@adobe.com
Date:     2008-07-28T23:58:09.872940Z

Log Message:
-----------
First pass at unifying layout APIs between UIComponent and GraphicElement, more to come with additional check-ins.

reviewed by Ryan, Glenn, Gordon, Chet

Modified Paths:
--------------
<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/frameworks/projects/flex4/src/flex/graphics/Ellipse.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Rect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextBox.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/frameworks/projects/flex4/src/flex/graphics/TextGraphic.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/graphics/StrokedElement.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/flex4/src/flex/graphics/Line.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/FilledElement.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/flex/graphics/BitmapGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/TextGraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/BitmapImage.as
+++ frameworks/projects/spark/src/spark/primitives/BitmapImage.as
@@ -16,7 +16,7 @@
 import flash.display.BlendMode;
 import flash.display.DisplayObject;
 import flash.display.Graphics;
-import flash.display.Shape;
+import flash.display.Sprite;
 import flash.events.Event;
 import flash.events.EventDispatcher;
 import flash.geom.Matrix;
@@ -78,7 +78,7 @@
 		if (value != _alwaysNeedsDisplayObject)
 		{
 			_alwaysNeedsDisplayObject = value;
-			notifyElementTransformChanged();
+			notifyElementLayerChanged();
 		}
 	}

@@ -115,7 +115,7 @@
 		if (value != oldValue)
 		{
 			_repeat = value;
-			notifyElementChanged();
+			invalidateDisplayList();
 			//dispatchPropertyChangeEvent("repeat", oldValue, value);
 		}
 	}
@@ -189,7 +189,8 @@

 			_fill.source = bitmapData;
 			dispatchPropertyChangeEvent("source", oldValue, value);
-			notifyElementChanged();
+			invalidateSize();
+			invalidateDisplayList();
 		}
 	}

@@ -212,7 +213,7 @@
 		if (value != _smooth)
 		{
 			_smooth = value;
-			notifyElementChanged();
+			invalidateDisplayList();
 		}
 	}

@@ -221,48 +222,6 @@
 		return _smooth;
 	}

-	//----------------------------------
-	//  height
-	//----------------------------------
-
-	private var heightSet:Boolean;
-
-	/**
-	 *  The height of the bitmap.  This property is optional. If not set, the
-	 *  entire bitmap is displayed. If this is set to a value that is smaller
-	 *  than the height of the bitmap, the bitmap is clipped. If this is set
-	 *  to a value that is larger than the height of the bitmap, and the repeat property
-	 *  is set, the bitmap image will be repeated.
-	 *
-	 *  @default NaN
-	 */
-	override public function set height(value:Number):void
-	{
-		super.height = value;
-		heightSet = !isNaN(value);
-	}
-
-	//----------------------------------
-	//  width
-	//----------------------------------
-
-	private var widthSet:Boolean;
-
-	/**
-	 *  The width of the bitmap.  This property is optional. If not set, the
-	 *  entire bitmap is displayed. If this is set to a value that is smaller
-	 *  than the width of the bitmap, the bitmap is clipped. If this is set
-	 *  to a value that is larger than the width of the bitmap, and the repeat property
-	 *  is set, the bitmap image will be repeated.
-	 *
-	 *  @default NaN
-	*/
-	override public function set width(value:Number):void
-	{
-		super.width = value;
-		widthSet = !isNaN(value);
-	}
-
 	//--------------------------------------------------------------------------
 	//
 	//  IGraphicElement Implementation
@@ -276,22 +235,31 @@
     override public function get bounds():Rectangle
 	{
 		return new Rectangle(0, 0,
-			widthSet ? width : (source ? source.width : 0),
-			heightSet ? height : (source ? source.height : 0));
+			!isNaN(explicitWidth) ? explicitWidth : (source ? source.width : 0),
+			!isNaN(explicitHeight) ? explicitHeight : (source ? source.height : 0));
 	}

 	/**
 	 *  @inheritDoc
 	 */
-	override public function draw(g:Graphics):void
-	{
+    override protected function updateDisplayList(unscaledWidth:Number,
+                                                  unscaledHeight:Number):void
+	{
+	    if (!displayObject || !(displayObject is Sprite))
+	        return;
+	    var g:Graphics = Sprite(displayObject).graphics;
+
+	    // TODO EGeorgie: clearing the graphics needs to be shared when
+	    // the display objects are shared.
+	    g.clear();
+
 		g.lineStyle(0,0,0);
 		_fill.offsetX = 0;
 		_fill.offsetY = 0;
 		_fill.repeat = repeat;
 		_fill.smooth = smooth;
-		var w:Number = drawWidth;
-		var h:Number = drawHeight;
+		var w:Number = width;
+		var h:Number = height;

 		if (!repeat)
 		{


Transferred from the Adobe Open Source Subversion Repository

Revision: 18614
Author:   smgilson@adobe.com
Date:     2010-11-16T15:54:53.323653Z

Log Message:
-----------
ASDoc edits

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/spark/src/spark/components/gridClasses/IDataGridElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/IGridItemEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/IGridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/IGridRowBackground.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/IGridItemRendererOwner.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/IDataGridElement.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/IDataGridElement.as
@@ -18,26 +18,29 @@
 import spark.components.DataGrid;

 /**
- *  DataGrid visual elements that must remain in sync with the grid's layout and scroll
- *  position must implement this interface.   When the DataGrid's grid skin part is added,
- *  it will set its IDataGridElements' dataGrid property (the grid's owner is the DataGrid).
- *  IDataGridElements should respond to this by adding listeners for dataGrid.grid scroll
- *  position changes.  When the DataGrid is changed in a way that affects row/colunm layout,
- *  all IDataGridElements will be invalidated.
+ *  Visual elements of the Spark DataGrid control that must
+ *  remain in sync with the grid's layout and scroll
+ *  position must implement this interface.
+ *  When the DataGrid control's grid skin part is added,
+ *  it sets the IDataGridElement.dataGrid property.
+ *  The IDataGridElements object can respond by adding event listeners
+ *  for scroll position changes.
+ *  When the DataGrid control is changed in a way that affects
+ *  its row or column layout, all IDataGridElements object are invalidated.
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
- *  @playerversion AIR 2.0
+ *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
 public interface IDataGridElement extends IVisualElement, ILayoutManagerClient, IInvalidating
 {
     /**
-     *  The DataGrid whose layout and grid scroll position this element must stay in sync with.
+     *  The DataGrid control associated with this element.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     function get dataGrid():DataGrid;


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

--- frameworks/projects/advancedgrids/src/mx/olap/OLAPResultAxis.as
+++ frameworks/projects/advancedgrids/src/mx/olap/OLAPResultAxis.as
@@ -0,0 +1,115 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 mx.collections.IList;
+import mx.collections.ArrayCollection;
+
+/**
+ *  The OLAPResultAxis class represents an axis of the result of an OLAP query.
+ *
+ *  @see mx.olap.OLAPQuery
+ *  @see mx.olap.OLAPQueryAxis
+ *  @see mx.olap.IOLAPResultAxis
+ *  @see mx.olap.IOLAPResult
+ *  @see mx.olap.OLAPResult
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class OLAPResultAxis implements IOLAPResultAxis
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    // positions
+    //----------------------------------
+
+    private var _positions:IList = new ArrayCollection; //of IOLAPAxisPositions
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get positions():IList
+    {
+        return _positions;
+    }
+
+    /**
+     *  @private
+     */
+    public function set positions(value:IList):void
+    {
+        _positions = value;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Adds a position to the axis of the query result.
+     *
+     *  @param p The IOLAPAxisPosition instance that represents the position.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function addPosition(p:IOLAPAxisPosition):void
+    {
+        _positions.addItem(p);
+    }
+
+    /**
+     *  Removes a position from the axis of the query result.
+     *
+     *  @param p The IOLAPAxisPosition instance that represents the position.
+     *
+     *  @return true if the position is removed from the axis,
+     *  and false if not.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function removePosition(p:IOLAPAxisPosition):Boolean
+    {
+        var index:int = _positions.getItemIndex(p);
+        if (index != -1)
+        {
+            _positions.removeItemAt(index);
+            return true;
+        }
+        return false;
+    }
+
+}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 8455
Author:   chaase@adobe.com
Date:     2009-07-08T17:14:01.590461Z

Log Message:
-----------
Fixed various effects bugs. Includes:
- fix when setting transform center on effect to (0, 0, 0)
- fix for transform effects running within a Sequence (they now run independently, instead of combining into a signle instance as they do in a Parallel effect)
- fix for asdoc error in AnimateTransform3D for applyLocalProjection
- fix in Resize where we were not setting up propertyChanges correctly for the targets affected by the effect
- fixes in AnimateTransformInstance to handle scaling in Z correctly and handling translation 'by' effects correctly

Bugs: sdk-21877, sdk-21610, sdk21584, sdk-21786
Doc Notes: fixed AnimateTransform3D.applyLocalProjection docs
QE Notes: may affect Sequence tests with transform effects (since it now actually works), but no failures in current mx/effects/Sequence tests. 11 failures overall in Mustella, some known, the rest Matt will exclude and investigate.
Reviewer: Jason (plus Ely for AdvancedLayoutFeatures changes)
Tests: checkintests, Mustella spark/effects, mx/effects/Sequence

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

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

--- frameworks/projects/spark/src/spark/effects/AnimateTransform.as
+++ frameworks/projects/spark/src/spark/effects/AnimateTransform.as
@@ -48,7 +48,9 @@
  *  rotation, are combined into single operations that act
  *  in parallel to avoid any conflict when modifying overlapping property values.
  *  This effect works by combining all current transform effects
- *  on a target into one single effect instance for that target.
+ *  on a target into one single effect instance for that target. That is, multiple
+ *  transform effects within the same Parallel effect will be combined (transform
+ *  effects within a Sequence will run separately).
  *
  *  <p>While this combination of multiple transform effects happens
  *  internally,
@@ -406,7 +408,9 @@
         if (!target)
             target = this.target;

-        if (!transformInstancePerTarget[target])
+        var parent:Effect = parentCompositeEffect;
+        if (!transformInstancePerTarget[target] ||
+            (parent && parent is Sequence))
         {
             // FIXME (chaase): need to clear out this entry once the effect
             // starts (stops?) because we don't want it hanging around for
@@ -1000,7 +1004,7 @@
      * @private
      *
      * This is where we create the single instance and/or feed extra
-     * MotionPath information (from othe transform-related effects) into the
+     * MotionPath information (from other transform-related effects) into the
      * single transform effect instance.
      */
     override protected function initInstance(instance:IEffectInstance):void


FLEX-33311
CAUSE:
It is possible for a call to ConstraintLayout.parseElementConstraints() to trigger, after a long series of other functions, a validation cycle on the same component whose layout is that ConstraintLayout instance. (If you want to see that series of stack traces, open stack.xml on the Jira ticket.) When this happens, either ConstraintLayout.measure() or ConstraintLayout.updateDisplayList() ends up calling clearConstraintCache(). (This is expected behaviour when there's no convoluted stack trace which ends up re-validating the same component, as we have here.) Now, when this inner validation cycle ends, and the outer call to parseConstraints() continues execution, it does so with all the cache variables nulled. This can result in a fatal if there is still a layout element remaining in parseConstraints() to parse via parseElementConstraints(). The latter function needs the cache Vector "rowBaselines", which is now null.

SOLUTION:
To cater for the special case when the call to parseConstraints() triggers another call to the same function, on the same ConstraintLayout instance, we use a counter to know when we're back in the outer call (when the counter is 0).

NOTES:
-The unit test now passes.
-Also removed an unused local variable.

--- frameworks/projects/spark/src/spark/layouts/ConstraintLayout.as
+++ frameworks/projects/spark/src/spark/layouts/ConstraintLayout.as
@@ -121,6 +121,10 @@
  */
 public class ConstraintLayout extends LayoutBase
 {
+
+    //See FLEX-33311 for more details on why this is used
+    private var constraintCacheNeeded:int = 0;
+
     //--------------------------------------------------------------------------
     //
     //  Class methods
@@ -1604,7 +1608,9 @@
         var layoutTarget:GroupBase = target;
         if (!layoutTarget)
             return;
-
+
+        constraintCacheNeeded++;
+
         var count:Number = layoutTarget.numElements;
         var layoutElement:ILayoutElement;

@@ -1614,7 +1620,7 @@
         // Populate rowBaselines with baseline information from rows.
         var n:int = _constraintRows.length;
         var row:ConstraintRow;
-        var obj:Object = {};
+
         if (rowBaselines == null)
             rowBaselines = new Vector.<Array>();
         else
@@ -1641,6 +1647,7 @@
         }

         this.constraintCache = cache;
+        constraintCacheNeeded--;
     }

     /**
@@ -1833,12 +1840,15 @@
      */
     private function clearConstraintCache():void
     {
-        colSpanElements = null;
-        rowSpanElements = null;
-        otherElements = null;
-        rowBaselines = null;
-        rowMaxAscents = null;
-        constraintCache = null;
+        if(!constraintCacheNeeded)
+        {
+            colSpanElements = null;
+            rowSpanElements = null;
+            otherElements = null;
+            rowBaselines = null;
+            rowMaxAscents = null;
+            constraintCache = null;
+        }
     }
 }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 4922
Author:   gosmith@adobe.com
Date:     2009-02-10T22:19:49.510252Z

Log Message:
-----------
Renamed mx.graphics.graphicsClasses to mx.graphics.baseClasses, based on PARB review.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Jason

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/BitmapGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxFadeInstance.as</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/TextFlowComposer.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as" copyfrom-rev="4920" action="R">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/GraphicElement.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/FxPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextGraphicElement.as" copyfrom-rev="4920" action="R">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/StrokedElement.as</path>
<path kind="dir" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses" copyfrom-rev="4916" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateShaderTransition.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextBox.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/graphics/baseClasses/TextBlockComposer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>

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

--- frameworks/projects/spark/src/spark/effects/AnimateTransitionShader.as
+++ frameworks/projects/spark/src/spark/effects/AnimateTransitionShader.as
@@ -19,7 +19,7 @@

 import mx.core.IUIComponent;
 import mx.effects.effectClasses.FxAnimateShaderTransitionInstance;
-import mx.graphics.graphicsClasses.GraphicElement;
+import mx.graphics.baseClasses.GraphicElement;
 import mx.resources.IResourceManager;
 import mx.resources.ResourceManager;


6502 snake main logic

6502 snake main logic

--- 6502/easy6502/snake-ex.as
+++ 6502/easy6502/snake-ex.as
@@ -28,3 +28,20 @@
 ; System variables
 define sysRandom    $fe
 define sysLastKey   $ff
+
+jsr init
+jsr loop
+
+init:
+jsr initSnake
+jsr generateApplePosition
+rts
+
+loop:
+  jsr readKeys
+  jsr checkCollision
+  jsr updateSnake
+  jsr drawApple
+  jsr drawSnake
+  jsr spinWheels
+  jmp loop


Add crude test for isDLCInstalled

Add crude test for isDLCInstalled

--- test/src/FRESteamWorksTest.as
+++ test/src/FRESteamWorksTest.as
@@ -102,6 +102,9 @@
 				log("getDLCCount() == " + Steamworks.getDLCCount());
 				log("isSubscribedApp(" + _appId + ") == " + Steamworks.isSubscribedApp(_appId));
 				log("isSubscribedApp(999999) == " + Steamworks.isSubscribedApp(999999));
+				// TODO: find better appID to test this for (i.e. one that can
+				//       potentially be installed)
+				log("isDLCInstalled(999999) == " + Steamworks.isDLCInstalled(999999));

 				var quota:Array = Steamworks.getQuota();
 				log("getQuota() == " + (quota ? "[" + quota.join(", ") + "]" : "null"));


Transferred from the Adobe Open Source Subversion Repository

Revision: 19997
Author:   dloverin@adobe.com
Date:     2011-01-28T15:06:21.506906Z

Log Message:
-----------
Change BusyIndicator default sizes.

New defaults:
160 dpi - 26x26
320 dpi - 52x52

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

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/BusyIndicator.as

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

--- frameworks/projects/mobilecomponents/src/spark/components/BusyIndicator.as
+++ frameworks/projects/mobilecomponents/src/spark/components/BusyIndicator.as
@@ -83,9 +83,9 @@
  *
The BusyIndicator has the following default characteristics:

  *

  *
Characteristic	Description

- *
Default size	160 DPI: 28x28 pixels

+ *
Default size	160 DPI: 26x26 pixels

  *                                  240 DPI: 40x40 pixels

- *                                  320 DPI: 56x56 pixels

+ *                                  320 DPI: 52x52 pixels

  *
Minimum size	20x20 pixels

  *
Maximum size	No limit

  *

@@ -307,13 +307,10 @@

         // Set the default measured size depending on the
         // applicationDPI
-
-        //trace("applicationDPI = " + applicationDPI);
-
         if (applicationDPI == DPIClassification.DPI_320)
         {
-            measuredWidth = 56;
-            measuredHeight = 56;
+            measuredWidth = 52;
+            measuredHeight = 52;
         }
         else if (applicationDPI == DPIClassification.DPI_240)
         {
@@ -322,8 +319,8 @@
         }
         else if (applicationDPI == DPIClassification.DPI_160)
         {
-            measuredWidth = 28;
-            measuredHeight = 28;
+            measuredWidth = 26;
+            measuredHeight = 26;
         }
         else
         {


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

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

 package mx.controls.buttonBarClasses
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/airspark/src/spark/components/WindowedApplication.as
+++ frameworks/projects/airspark/src/spark/components/WindowedApplication.as
@@ -371,7 +371,7 @@
  *  attributes of its superclass and adds the following tag attributes:

  *
  *

- *  <mx:WindowedApplication
+ *  <s:WindowedApplication
  *    Properties
  *    alwaysInFront="false"
  *    autoExit="true"


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

--- frameworks/projects/framework/src/mx/binding/RepeaterComponentWatcher.as
+++ frameworks/projects/framework/src/mx/binding/RepeaterComponentWatcher.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: 21756
Author:   jszeto@adobe.com
Date:     2011-08-01T18:58:00.702387Z

Log Message:
-----------
SpinnerList Fixes

- Rewrote the LayoutIterator in VerticalSpinnerLayout
- Implemented a smarter algorithm for detecting the closest enabled item
- Lowered padding values
- Updated SelectionIndicator gradient to have less of a contrast between the top and bottom
- DateSpinner is no longer resizable
- Fixed right border bug
- Decreased the minimum width for SpinnerList

QE notes: none
Doc notes: none
Bugs: none
Reviewer: Tom K
Tests run: checkintests, cyclone
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/DateSpinnerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListContainerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/SpinnerList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile320/assets/SpinnerListContainerSelectionIndicator.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile240/assets/SpinnerListContainerSelectionIndicator.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile160/assets/SpinnerListContainerSelectionIndicator.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/layouts/VerticalSpinnerLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/collections/NumericDataProvider.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/SpinnerList.as
+++ frameworks/projects/mobilecomponents/src/spark/components/SpinnerList.as
@@ -365,9 +365,6 @@
 		super.dataGroup_rendererAddHandler(event);
 		var renderer:IVisualElement = event.renderer;

-		/*if (renderer is IStyleClient)
-			IStyleClient(renderer).styleName = this;*/
-
 		if (!renderer)
 			return;


Transferred from the Adobe Open Source Subversion Repository

Revision: 14095
Author:   cframpto@adobe.com
Date:     2010-02-10T17:33:30.511669Z

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

Revision: 14076
Author:   cframpto@adobe.com
Date:     2010-02-09 15:23:15 -0800 (Tue, 09 Feb 2010)
Log Message:
***********
Add UIComponent.mapKeycodeForLayoutDirection().  This should be called by any keyDownHandlers() which handles Keyboard.LEFT and Keyboard.RIGHT, and optionally for Keyboard.UP and Keyboard.DOWN, if they behave like Keyboard.LEFT and Keyboard.RIGHT.  If the layoutDirection="rtl", it maps LEFT to RIGHT, RIGHT to LEFT, UP to RIGHT and DOWN to LEFT.  This allows the keyDownHandler() to perform the correct action without adding lots of special case code to the key handling code.

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:
--------------
<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/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/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/Spinner.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/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as</path>

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

--- frameworks/projects/mx/src/mx/controls/colorPickerClasses/SwatchPanel.as
+++ frameworks/projects/mx/src/mx/controls/colorPickerClasses/SwatchPanel.as
@@ -1335,7 +1335,12 @@

         var currentRow:int = Math.floor(focusedIndex / columnCount);

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 10766
Author:   gruehle@adobe.com
Date:     2009-09-30T22:55:55.205927Z

Log Message:
-----------
Re-commit compiler errors for other theme's styles feature. If Style metadata has a "themes" attribute, the style is only valid if that theme is applied.

The Spark theme is applied by default. The halo theme can be specified as a compiler argument or by selecting the "MX Only" component set in Builder.

All other themes need to be applied using theme+= instead of theme=. If you use theme= you will get warnings about styles used in CSS selectors, and errors if you use any theme-specific style as an attribute on an MXML tag.

By default, styles that aren't valid for the current theme are errors. These can be changed to warnings with the report-invalid-styles-as-warnings compiler option.

QE notes: Expect test breakage
Doc notes: The new policy for themes needs to be documented.
Bugs: none yet, but I'm sure there will be some...
Reviewer: Ryan
Tests run: checkintests, cyclone
Is noteworthy for integration: Yes

Modified Paths:
--------------
<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/controls/ToolTip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java</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/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/DefaultsConfigurator.java</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/controls/DateChooser.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ApplicationBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/defaults.css</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/themes/Spark/spark.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.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/styles/metadata/SkinStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.css</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/DeclarationHandler.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ToolTipBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Type.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/MxmlConfiguration.java</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/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/SparkSkinsClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationCompiler.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/MxmlConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/AttributeHandler.java</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/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FXGCompiler.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SkinnableDataContainerSkin.mxml</path>

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

--- frameworks/projects/mx/src/mx/controls/colorPickerClasses/SwatchPanel.as
+++ frameworks/projects/mx/src/mx/controls/colorPickerClasses/SwatchPanel.as
@@ -95,6 +95,7 @@

 include "../../styles/metadata/GapStyles.as"
 include "../../styles/metadata/PaddingStyles.as"
+include "../../styles/metadata/TextStyles.as"

 /**
  *  Background color of the component.
@@ -111,7 +112,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Style(name="backgroundColor", type="uint", format="Color", inherit="no", theme="halo")]
+[Style(name="backgroundColor", type="uint", format="Color", inherit="no")]

 /**
  *  Black section of a three-dimensional border, or the color section
@@ -128,7 +129,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Style(name="borderColor", type="uint", format="Color", inherit="no", theme="halo")]
+[Style(name="borderColor", type="uint", format="Color", inherit="no")]

 /**
  *  Number of columns in the swatch grid.
@@ -151,6 +152,28 @@
  *  @productversion Flex 3
  */
 [Style(name="highlightColor", type="uint", format="Color", inherit="yes", theme="halo")]
+
+/**
+ *  Number of pixels between the component's top border
+ *  and the top edge of its content area.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="paddingTop", type="Number", format="Length", inherit="no")]
+
+/**
+ *  Number of pixels between the component's bottom border
+ *  and the bottom edge of its content area.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="paddingBottom", type="Number", format="Length", inherit="no")]

 /**
  *  Color for the left and right inside edges of a component's skin.
@@ -218,7 +241,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Style(name="swatchBorderColor", type="uint", format="Color", inherit="no", theme="halo")]
+[Style(name="swatchBorderColor", type="uint", format="Color", inherit="no")]

 /**
  *  Size of the single border around the grid of swatches.
@@ -240,7 +263,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Style(name="swatchGridBackgroundColor", type="uint", format="Color", inherit="no", theme="halo")]
+[Style(name="swatchGridBackgroundColor", type="uint", format="Color", inherit="no")]

 /**
  *  Height of each swatch.


Transferred from the Adobe Open Source Subversion Repository

Revision: 16537
Author:   cframpto@adobe.com
Date:     2010-06-11T19:15:00.586464Z

Log Message:
-----------
Merge 16533 and 16535 from flex4_5 to hero_private.  16533 went into the wrong branch and 16535 was a botched attempt to fix 16533.

Modified Paths:
--------------
<path kind="dir" action="M">/private/flex/sdk/branches/hero_private</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridColumn.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
@@ -681,7 +681,9 @@
             for each (var pathElement:String in labelPath)
                 itemData = itemData[pathElement];

-            if (itemData)
+            // Make sure to check for null so that if itemData is "0" the
+            // expression will return true.
+            if (itemData != null)
                 return itemData.toString();
         }
         catch(ignored:Error) { }


Transferred from the Adobe Open Source Subversion Repository

Revision: 18150
Author:   dloverin@adobe.com
Date:     2010-10-14T13:11:14.955602Z

Log Message:
-----------
Fix scrolling issues with item editors and add editorIndicator skin part.

The editorIndicator is a skin part that provides a background for an item renderer when it is being edited. It will cover the selection indicator for that cell which will allow the focus rectangle to be easily seen.

QE notes: Close, but still not ready for testing.
Doc notes: None.
Bugs:
Reviewer: Hans
Tests run: cyclone server
Is noteworthy for integration: No.

Modified Paths:
--------------
<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/gridClasses/DataGridEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/TextGridItemEditor.mxml</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/gridClasses/GridItemEditor.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/DataGridSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/ComboBoxGridItemEditor.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
@@ -89,6 +89,7 @@
      */
     private var hoverIndicator:IVisualElement = null;
     private var caretIndicator:IVisualElement = null;
+    private var editorIndicator:IVisualElement = null;

     /**
      *  @private
@@ -273,6 +274,9 @@
         freeGridElement(caretIndicator);
         caretIndicator = null;

+        freeGridElement(editorIndicator);
+        editorIndicator = null;
+
         visibleItemRenderersBounds.setEmpty();
         visibleGridBounds.setEmpty();
     }
@@ -491,6 +495,7 @@
         layoutHoverIndicator(grid.backgroundLayer);
         layoutSelectionIndicators(grid.selectionLayer);
         layoutCaretIndicator(grid.overlayLayer);
+        layoutEditorIndicator(grid.editorIndicatorLayer);

         // To avoid flashing, force all of the layers to render now

@@ -1618,6 +1623,44 @@
             caretIndicator.visible = _showCaret;
     }

+    private function layoutEditorIndicator(layer:GridLayer):void
+    {
+        const rowIndex:int = grid.dataGrid.editorRowIndex;
+        const columnIndex:int = grid.dataGrid.editorColumnIndex;
+        var indicatorFactory:IFactory = grid.dataGrid.editorIndicator;
+
+        // If the indicatorFactory has changed for the specified non-null indicator,
+        // then free the old indicator.
+
+        if (editorIndicator && (indicatorFactory != elementToFactoryMap[editorIndicator]))
+        {
+            removeGridElement(editorIndicator);
+            editorIndicator = null;
+            if (indicatorFactory == null)
+                return;
+        }
+
+        if (rowIndex == -1 || columnIndex == -1)
+        {
+            if (editorIndicator)
+                editorIndicator.visible = false;
+            return;
+        }
+
+        if (!editorIndicator && indicatorFactory)
+            editorIndicator = createGridElement(indicatorFactory);
+
+        if (editorIndicator)
+        {
+            const bounds:Rectangle = gridDimensions.getCellBounds(rowIndex, columnIndex);
+
+            layoutGridElementR(editorIndicator, bounds);
+            layer.addGridElement(editorIndicator);
+            editorIndicator.visible = true;
+        }
+
+    }
+
     //--------------------------------------------------------------------------
     //
     //  CollectionEvent handling: dataProvider, columns


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

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

 package mx.core
 {


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

--- frameworks/projects/framework/src/mx/events/TweenEvent.as
+++ frameworks/projects/framework/src/mx/events/TweenEvent.as
@@ -24,6 +24,11 @@
  *
  *  @see mx.effects.TweenEffect
  *  @see mx.effects.Tween
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class TweenEvent extends Event
 {
@@ -60,6 +65,11 @@
 	 *  @see mx.effects.TweenEffect
 	 *  @see mx.events.EffectEvent
      *  @eventType tweenEnd
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const TWEEN_END:String = "tweenEnd";

@@ -85,6 +95,11 @@
 	 *

 	 *
      *  @eventType tweenStart
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const TWEEN_START:String = "tweenStart";

@@ -110,6 +125,11 @@
 	 *

 	 *
      *  @eventType tweenUpdate
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const TWEEN_UPDATE:String = "tweenUpdate";

@@ -132,6 +152,11 @@
 	 *  @param value For a tweenStart or tweenUpdate event, the value passed to the
 	 *  onTweenUpdate() method; for a tweenEnd event,
 	 *  the value passed to the onTweenEnd() method.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function TweenEvent(type:String, bubbles:Boolean = false,
 							   cancelable:Boolean = false,
@@ -170,6 +195,11 @@
  	 *  @see mx.effects.effectClasses.ResizeInstance
  	 *  @see mx.effects.effectClasses.RotateInstance
  	 *  @see mx.effects.effectClasses.ZoomInstance
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var value:Object;


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

--- frameworks/projects/mx/src/mx/skins/halo/ActivatorSkin.as
+++ frameworks/projects/mx/src/mx/skins/halo/ActivatorSkin.as
@@ -24,6 +24,11 @@

 /**
  *  Defines the up, down, and over states for MenuBarItem objects.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class ActivatorSkin extends Border
 {
@@ -79,6 +84,11 @@

 	/**
 	 *  Constructor.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function ActivatorSkin()
 	{
@@ -286,6 +296,11 @@

 	/**
 	 *  We don't use 'is' to prevent dependency issues
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	private static var acbs:Object = {};


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

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

 package spark.components
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 4885
Author:   jszeto@adobe.com
Date:     2009-02-07T00:12:32.609062Z

Log Message:
-----------
Flex SDK Framework - Update mx.filters API and class hierarchy

- Removed BaseFilter.as, BaseDimensionFilter.as, and GradientFilter.as
- Renamed IBitmapFilter.as to IFlexBitmapFilter.as
- Changed IBitmapFilter.clone to createBitmapFilter
- Moved properties and functions from base classes up to filter subclasses
- Changed ColorMatrixFilter constructor parameter from Array to Object
- Added Change metadata to all filter classes
- Changed notifyFilterChanged from public to private
- Added ASDoc comments
- Added copyright info
- Added a number of formatting and style fixes

QE Notes: Need to update tests based on API changes. Missing tests for DisplacementMapFilter.as.
Doc Notes: Need extensive ASDoc review. Consider using @copy for properties that match the flash.filters properties
Bugs: n/a
Reviewer: Gordon

Modified Paths:
--------------
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseDimensionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/BevelFilter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GradientFilter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IBitmapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/BlurFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/DisplacementMapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ShaderFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/DropShadowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GradientBevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Parser.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IBitmapFilter.as" copyfrom-rev="4821" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IFlexBitmapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ConvolutionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateFilterInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateFilter.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/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GradientGlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
@@ -19,6 +19,7 @@
 import flash.display.Sprite;
 import flash.events.Event;
 import flash.events.IEventDispatcher;
+import flash.filters.BitmapFilter;
 import flash.geom.ColorTransform;
 import flash.geom.Matrix;
 import flash.geom.Matrix3D;
@@ -40,8 +41,7 @@
 import mx.events.FlexEvent;
 import mx.events.PropertyChangeEvent;
 import mx.events.PropertyChangeEventKind;
-import mx.filters.BaseFilter;
-import mx.filters.IBitmapFilter;
+import mx.filters.IFlexBitmapFilter;
 import mx.geom.Transform;
 import mx.geom.TransformOffsets;
 import mx.graphics.IGraphicElement;
@@ -681,7 +681,7 @@
         {
             edFilter = _filters[i] as IEventDispatcher;
             if (edFilter)
-                edFilter.removeEventListener(BaseFilter.CHANGE, filterChangedHandler);
+                edFilter.removeEventListener(Event.CHANGE, filterChangedHandler);
         }

 		var previous:Boolean = needsDisplayObject;
@@ -693,16 +693,16 @@

         for (i = 0; i < newLen; i++)
         {
-            if (value[i] is IBitmapFilter)
-            {
-                edFilter = value[i] as IEventDispatcher;
+        	if (value[i] is IFlexBitmapFilter)
+        	{
+        		edFilter = value[i] as IEventDispatcher;
                 if (edFilter)
-                    edFilter.addEventListener(BaseFilter.CHANGE, filterChangedHandler);
-                _clonedFilters.push(IBitmapFilter(value[i]).clone());
-            }
+                    edFilter.addEventListener(Event.CHANGE, filterChangedHandler);
+                _clonedFilters.push(IFlexBitmapFilter(value[i]).createBitmapFilter());
+        	}
             else
             {
-                _clonedFilters.push(value[i]);
+            	_clonedFilters.push(value[i]);
             }
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 7039
Author:   jimurphy@adobe.com
Date:     2009-05-18T16:46:05.499802Z

Log Message:
-----------
Merged beta1 revisions 6962,6965,6977,6991,6996,7035 -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/OEMConfiguration.java</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexFXG2SWFTranscoder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/sax/FXGSAXScanner.java</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/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/ShapeHelper.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
@@ -2565,6 +2565,14 @@
      */
     public function set sharedIndex(value:int):void
     {
+        if (value != _sharedIndex && (value <= 0 || _sharedIndex <= 0))
+        {
+            // If the element was previously at the head of the shared sequence or
+            // it is assigned to be at the head, make sure to reapply the
+            // displayObject specific properties.
+            displayObjectChanged = true;
+            invalidateProperties();
+        }
         _sharedIndex = value;
     }

@@ -3037,8 +3045,10 @@
             }

             // If we don't share the DisplayObject, set the property directly.
-            if (displayObjectChanged && sharedIndex == -1)
-                displayObject.visible = _visible;
+            // If displayObject has changed and we're sharing, then ensure
+            // the visible property is set to true.
+            if (displayObjectChanged)
+                displayObject.visible = (sharedIndex == -1) ? _visible : true;

             updateTransform = true;
             displayObjectChanged = false;


Adds mp4 and 3gp to valid file type allowed <= 10MB

--- flexEditor/src/org/arisgames/editor/components/GameEditorMediaPickerUploadFormView.as
+++ flexEditor/src/org/arisgames/editor/components/GameEditorMediaPickerUploadFormView.as
@@ -183,7 +183,7 @@
 				{
 					trace("File to Upload: Name = '" + fileChooser.fileList[k].name + "'");
 					fileChosen = fileChooser.fileList[k];
-					if(fileChosen.type == "mov" || fileChosen.type == "m4v"){
+					if(fileChosen.type == "mov" || fileChosen.type == "m4v" || fileChosen.type == "3gp" || fileChosen.type == "mp4"){
 						if(fileChosen.size <= AppConstants.MAX_VIDEO_UPLOAD_SIZE){
 							fileName.text = fileChosen.name;
 							fileOK = true;


Avoid HashMap because it has tendrils into Flex. (Hashtable is just the
same but requires keys to be simple or Hashable.)

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

--- src/as/com/threerings/crowd/chat/client/ChatDirector.as
+++ src/as/com/threerings/crowd/chat/client/ChatDirector.as
@@ -24,7 +24,7 @@
 import mx.collections.ArrayCollection;

 import com.threerings.util.ArrayUtil;
-import com.threerings.util.HashMap;
+import com.threerings.util.Hashtable;
 import com.threerings.util.Map;
 import com.threerings.util.ObserverList;
 import com.threerings.util.ResultListener;
@@ -231,7 +231,7 @@
         var key :String = "c." + command;
         if (msg.exists(key)) {
             var tokens :Array = msg.get(key).split(/\s+/);
-            for each (var cmd :Object in tokens) {
+            for each (var cmd :String in tokens) {
                 _handlers.put(cmd, handler);
             }
         } else {
@@ -900,7 +900,7 @@
      */
     internal function getCommandHandlers (command :String) :Map
     {
-        var matches :Map = new HashMap();
+        var matches :Map = new Hashtable();
         var user :BodyObject =
             (_cctx.getClient().getClientObject() as BodyObject);
         var keys :Array = _handlers.keys();
@@ -1019,7 +1019,7 @@

     /** A mapping from auxiliary chat objects to the types under which
      * they are registered. */
-    protected var _auxes :HashMap = new HashMap();
+    protected var _auxes :Hashtable = new Hashtable();

     /** Validator of who may be added to the chatters list. */
     protected var _chatterValidator :ChatterValidator;
@@ -1031,7 +1031,7 @@
     protected var _chatterObservers :ObserverList = new ObserverList();

     /** Registered chat command handlers. */
-    protected static const _handlers :HashMap = new HashMap();
+    protected static const _handlers :Hashtable = new Hashtable();

     /** A history of chat commands. */
     protected static const _history :Array = new Array();


def: 5186 support in xml:id attribute in style

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

--- plugins/closedCaptionsPlugin/src/com/kaltura/kdpfl/plugin/component/ClosedCaptions.as
+++ plugins/closedCaptionsPlugin/src/com/kaltura/kdpfl/plugin/component/ClosedCaptions.as
@@ -248,7 +248,7 @@
 						stylingObject = new Object();
 						for each (var style:XML in styles) {
 							var sname:String = style.@id.toString();
-							if (!sname) {
+							if (!sname && xmlns_xml) {
 								sname = style.@xmlns_xml::id.toString();
 							}
 							//in case id was passed as "xml:id" flash will turn it to "aaa:id". extract id value:


scale fix

scale fix

scale fix
ó

--- src/ageofai/unit/base/BaseUnitView.as
+++ src/ageofai/unit/base/BaseUnitView.as
@@ -67,7 +67,7 @@
         private function calculateDirection( targetPoint:Point ):void
         {
             var direction:Number = targetPoint.x > this.x ? 1 : -1;
-            this.scaleX = direction;
+            this._graphicUI.scaleX = direction;
         }

         public function calculateMovingTime( point:Point ):Number