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

--- frameworks/projects/framework/src/mx/effects/effectClasses/SequenceInstance.as
+++ frameworks/projects/framework/src/mx/effects/effectClasses/SequenceInstance.as
@@ -28,6 +28,11 @@
  *  you do not create one yourself.
  *
  *  @see mx.effects.Sequence
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class SequenceInstance extends CompositeEffectInstance
 {
@@ -44,6 +49,11 @@
 	 *
 	 *  @param target This argument is ignored for Sequence effects.
 	 *  It is included only for consistency with other types of effects.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function SequenceInstance(target:Object)
 	{
@@ -257,6 +267,11 @@
 	 *  Interrupts any effects that are currently playing, skips over
 	 *  any effects that haven't started playing, and jumps immediately
 	 *  to the end of the composite effect.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	override public function end():void
 	{
@@ -306,6 +321,11 @@
 	*  This method implements the method of the superclass.
 	*
 	*  @param childEffect The child effect.
+	*
+	*  @langversion 3.0
+	*  @playerversion Flash 9
+	*  @playerversion AIR 1.1
+	*  @productversion Flex 3
 	*/
 	override protected function onEffectEnd(childEffect:IEffectInstance):void
 	{
@@ -352,6 +372,11 @@
      * when they would have ended). Note that 'skipping' a child effect may
      * entail playing it with zero duration to avoid side-effects that may
      * occur from not playing the effect at all.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function seek(seekTime:Number):void
     {
@@ -375,6 +400,11 @@
         *   - else end the currently playing effects and start over from
         *   the beginning (playing effects with no duration or skipping,
         *   then playing/seeking for the correct child effect
+        *
+        *  @langversion 3.0
+        *  @playerversion Flash 9
+        *  @playerversion AIR 1.1
+        *  @productversion Flex 3
         */
         // TODO (chaase): handle startDelay

@@ -474,6 +504,11 @@
                 offset = isNaN(offset) ? 0 : offset;
                 TweenEffectInstance(childEffect).seek(offset);
             }
+            *
+            *  @langversion 3.0
+            *  @playerversion Flash 9
+            *  @playerversion AIR 1.1
+            *  @productversion Flex 3
             */

             currentSet.push(childEffect);
@@ -535,6 +570,11 @@
 		}

 		currentInstanceDuration += childEffect.duration;
+		*
+		*  @langversion 3.0
+		*  @playerversion Flash 9
+		*  @playerversion AIR 1.1
+		*  @productversion Flex 3
 		*/

 		return true;


Transferred from the Adobe Open Source Subversion Repository

Revision: 11811
Author:   dsubrama@adobe.com
Date:     2009-11-14T20:14:54.284449Z

Log Message:
-----------
Fixes for FXG 2.0.

SDK-23790 - We now set the blendMode correctly when switching from an AIM blendMode to a native Flash one.

SDK-24039 - We hoisted the AIM blendMode support up to UIComponent as per Catalyst's request.

SDK-23715 - Positioning of radial gradient strokes is now correct.

As part of this change, the spark.primitives.supportClasses.shaders packaged move into the framework swc/project, specifically mx.graphics.shaderClasses.

QE notes: Regression and re-gening of so many bitmaps.
Doc notes: None
Bugs: SDK-23790, SDK-24039, SDK-23715
Reviewer: Jason/Evtim/Pete
Tests run: Checkintests - known failures with bitmaps
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/shaders</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/LuminosityMaskFilter.pbk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorDodgeShader.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/HueShader.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/SoftLight.pbj</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexFXG2SWFTranscoder.java</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/SoftLight.pbk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorBurn.pbj</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorBurn.pbk</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/ExclusionShaderExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/ColorShaderExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/HueShaderExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/FilledElement.as</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/primitives/supportClasses</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/SoftLightShader.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorBurnShader.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/SaturationShaderExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Saturation.pbj</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Saturation.pbk</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/LuminosityShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/SparkClasses.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/SoftLightShaderExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/ks5792.jpg</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/ColorBurnShaderExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/LuminosityMaskShader.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/SaturationShader.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Exclusion.pbj</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Exclusion.pbk</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/LuminosityShaderExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Path.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Luminosity.pbj</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Luminosity.pbk</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Color.pbj</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Color.pbk</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/ColorDodgeShaderExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Hue.pbj</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorDodge.pbj</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Hue.pbk</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorDodge.pbk</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/LuminosityMaskShaderExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ExclusionShader.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/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/StrokedElement.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/LuminosityMaskFilter.pbj</path>

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

--- frameworks/projects/framework/src/mx/graphics/shaderClasses/SoftLightShader.as
+++ frameworks/projects/framework/src/mx/graphics/shaderClasses/SoftLightShader.as
@@ -0,0 +1,51 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.graphics.shaderClasses
+{
+import flash.display.Shader;
+
+/**
+ *  The SoftLightShader class creates a blend shader that is equivalent to
+ *  the 'Soft Light' blend mode for RGB premultiplied colors available
+ *  in Adobe Creative Suite tools. This blend mode is not native to Flash,
+ *  but is available in tools like Adobe Illustrator and Adobe Photoshop.
+ *
+ *  The 'softlight' blend mode can be set on Flex groups and graphic
+ *  elements and the visual appearance in tools like Adobe Illustrator and
+ *  Adobe Photoshop will be mimicked through this blend shader.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ *
+ *  @includeExample examples/SoftLightShaderExample.mxml
+ */
+public class SoftLightShader extends flash.display.Shader
+{
+    [Embed(source="SoftLight.pbj", mimeType="application/octet-stream")]
+    private static var ShaderClass:Class;
+
+    /**
+     *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function SoftLightShader()
+    {
+        super(new ShaderClass());
+    }
+}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 22036
Author:   egeorgie@adobe.com
Date:     2011-08-16T23:42:05.491851Z

Log Message:
-----------
Add Copyright Headers to SplashScreeImage and SplashScreenImageSource

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

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

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

--- frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreenImage.as
+++ frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreenImage.as
@@ -1,3 +1,14 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2011 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.preloaders
 {
 import mx.core.mx_internal;


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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/FilledElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/FilledElement.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2008 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: 6478
Author:   dloverin@adobe.com
Date:     2009-05-01T21:47:53.102002Z

Log Message:
-----------
Remove documentDescriptor code from Spark Application and Spark Window.

QE Notes: None.
Doc Notes: None.
Bugs:
Reviewer: Ryan
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Application.as</path>

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

--- frameworks/projects/airspark/src/spark/components/Window.as
+++ frameworks/projects/airspark/src/spark/components/Window.as
@@ -1812,37 +1812,6 @@
     /**
      *  @private
      */
-    override public function initialize():void
-    {
-        var sm:ISystemManager = systemManager;
-        if (documentDescriptor)
-        {
-            creationPolicy = documentDescriptor.properties.creationPolicy;
-            if (creationPolicy == null || creationPolicy.length == 0)
-                creationPolicy = ContainerCreationPolicy.AUTO;
-
-            var properties:Object = documentDescriptor.properties;
-
-            if (properties.width != null)
-            {
-                width = properties.width;
-                delete properties.width;
-            }
-            if (properties.height != null)
-            {
-                height = properties.height;
-                delete properties.height;
-            }
-
-            // Flex auto-generated code has already set up events.
-            documentDescriptor.events = null;
-        }
-         super.initialize();
-    }
-
-    /**
-     *  @private
-     */
     override protected function createChildren():void
     {
         // this is to help initialize the stage


Transferred from the Adobe Open Source Subversion Repository

Revision: 13693
Author:   hmuller@adobe.com
Date:     2010-01-21T20:25:54.403160Z

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

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

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

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

--- frameworks/projects/framework/src/mx/core/IVisualElement.as
+++ frameworks/projects/framework/src/mx/core/IVisualElement.as
@@ -23,7 +23,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-public interface IVisualElement extends ILayoutElement
+public interface IVisualElement extends ILayoutElement, ILayoutDirection
 {

     /**
@@ -254,7 +254,7 @@
      *  @private
      */
     function set postLayoutTransformOffsets(value:TransformOffsets):void;
-
+
     /**
      *  Contains true when the element is in 3D.
      *  The element can be in 3D either because


Transferred from the Adobe Open Source Subversion Repository

Revision: 3594
Author:   pfarland@adobe.com
Date:     2008-10-13T18:00:52.025975Z

Log Message:
-----------
Initial check-in for Advanced CSS selector support. Note that since direct AST generation for advanced styles (i.e. equivalent code of StyleModule.vm, StyleDef.vm, ClassDefLib.vm) is not yet implemented and as such advanced selector support is only enabled when the compiler -keep=true is enabled at this time. Direct AST generation to follow.

This change adds support for descendant type selectors (e.g. Panel VBox Button), non-global class selectors (e.g. Button.special), id selectors (e.g. Button#button14), and combinations of these types of selectors (e.e. Panel.special VBox.box12 Button.cancel). Pseudo selector awareness is included but it is not yet wired up to the runtime states mechanism as an efficient method of reacting to state changes is still being developed. Combinator conditional global selectors will be supported soon (i.e. the scenario of combining both an id and class selector at the top level, e.g. .foo#foo12, this requires a more expensive search of global class selectors).

This change juggles both the introduction of advanced selector support while retaining legacy styles APIs. The major difference with advanced styles is that multiple styles need to be considered for a type. This requires new data structures to keep track of selectors by subject. Performance analysis will be conducted to ensure these new data structures do not add unacceptable overhead to the style subsystem.

For the compiler this change consolidates styles processing in the base StyleModule class and then MXML-specific overrides (i.e. inline <Styles> nodes and SWC defaults.css) are in the StylesContainer.java class, which now extends StyleModule. The existing structure for legacy simple style codegen was retained and advanced style codegen wedged in.

QA: Yes
Doc: Not yet
Checkintests: Pass 100%
mxunit styles tests: Pass 100% (note that styles modules include tests you need to manually compile the .css files to swf and they're currently cleaned out each time a build runs... QE please correct this).
mustella styles tests: QE's select list of components testsuites pass 100%. Any failures in the full suite will be addressed in the next-checkin.
Reviewers: Glenn (framework), Paul (compiler)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/CssCompiler.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/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleManager3.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/config/ConfigMap.as</path>
<path kind="file" action="A">/flex/sdk/trunk/modules/compiler/src/java/flash/css/StyleSelector.java</path>
<path kind="file" action="A">/flex/sdk/trunk/modules/compiler/src/java/flash/css/StyleProperty.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flash/css/StyleDeclaration.java</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSSelectorKind.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSConditionKind.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flash/css/FontFaceRule.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flash/css/StyleSheet.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flash/css/StyleDocumentHandler.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSSelector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as</path>
<path kind="file" action="D">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleProperty.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.vm</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSCondition.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flash/css/Rule.java</path>
<path kind="file" action="A">/flex/sdk/trunk/modules/compiler/src/java/flash/css/StyleCondition.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flash/css/StyleParser.java</path>

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

--- frameworks/projects/framework/src/mx/styles/IStyleClient.as
+++ frameworks/projects/framework/src/mx/styles/IStyleClient.as
@@ -76,7 +76,8 @@
     //----------------------------------

     /**
-     *  The style declaration used by this object.
+     *  The style declaration that holds the inline styles declared by this
+     *  object.
      *
      *  @see mx.styles.CSSStyleDeclaration
      */


Transferred from the Adobe Open Source Subversion Repository

Revision: 10633
Author:   dloverin@adobe.com
Date:     2009-09-28T13:24:30.559033Z

Log Message:
-----------
Use styleManager instance instead of StyleManager singleton (framework and compiler generated code)

Modified compiler generated style code for the FlexInit class. The style related changes are only available with the -keep option. AST generation is coming later.

Only the framework project is changed here. The other projects are will be changed soon.

QE notes: None.
Doc notes: None.
Bugs:
Reviewer: Alex and Paul
Tests run: checkintests, all Mustella tests(no new failures)
Is noteworthy for integration: no.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ButtonBarButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/HaloBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/accordionClasses/AccordionHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/CanvasLayout.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/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollArrowSkin.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/skins/halo/ButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/configuration_en.properties</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/skins/halo/ProgressIndeterminateSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DateChooserMonthArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/SliderThumbSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/DividedBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollThumbSkin.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/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleModule.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/Form.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleManager2.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</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/framework/src/mx/styles/StyleManager.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/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/TitleBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/NumericStepperDownSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PopUpButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/ProgrammaticSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/TabSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/textClasses/TextRange.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/LayoutContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/AccordionHeaderSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/CheckBoxIcon.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/NumericStepperUpSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/RadioButtonIcon.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/states/SetStyle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ComboBoxArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeaderBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.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/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/MenuBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressBarSkin.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/skins/halo/BusyCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/Request.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.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/skins/halo/SliderTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollTrackSkin.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/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DataGridHeaderBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SetStyleActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm</path>

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

--- frameworks/projects/mx/src/mx/skins/halo/ScrollArrowSkin.as
+++ frameworks/projects/mx/src/mx/skins/halo/ScrollArrowSkin.as
@@ -145,7 +145,7 @@
 		var borderColor:uint = getStyle("borderColor");
 		var fillAlphas:Array = getStyle("fillAlphas");
 		var fillColors:Array = getStyle("fillColors");
-		StyleManager.getColorNames(fillColors);
+        styleManager.getColorNames(fillColors);
 		var highlightAlphas:Array = getStyle("highlightAlphas");
 		var themeColor:uint = getStyle("themeColor");


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

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


Transferred from the Adobe Open Source Subversion Repository

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

--- frameworks/projects/mx/src/mx/skins/halo/SwatchPanelSkin.as
+++ frameworks/projects/mx/src/mx/skins/halo/SwatchPanelSkin.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2004-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.skins.halo
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 4544
Author:   hmuller@adobe.com
Date:     2009-01-15T21:09:21.849819Z

Log Message:
-----------
Fixed DataGroup bug that caused mustella layout3D failures.

QE Notes: layout, layout3D, Scroller, and List mustella tests pass
Doc Notes: None
Bugs:
Reviewer: Ryan

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

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

--- frameworks/projects/spark/src/spark/components/DataGroup.as
+++ frameworks/projects/spark/src/spark/components/DataGroup.as
@@ -365,7 +365,7 @@

         if(_layeringFlags & LAYERING_DIRTY)
         {
-        	manageDisplayObjectLayers();
+            manageDisplayObjectLayers();
         }

         if (typicalItemChanged)
@@ -384,15 +384,12 @@

         var insertIndex:uint = 0;

-		_layeringFlags &= ~LAYERING_DIRTY;
-
-        // Iterate through all of the items
-        var len:int = super.numChildren;
-
+        _layeringFlags &= ~LAYERING_DIRTY;
+
+        var len:int = numLayoutElements;
         for (var i:int = 0; i < len; i++)
         {
-            var myItemRenderer:IVisualElement = IVisualElement(super.getChildAt(i));
-
+            var myItemRenderer:IVisualElement = mx_internal::getRendererForItemAt(i);
             var layer:Number = myItemRenderer.layer;

             if (layer != 0)
@@ -421,8 +418,8 @@
             len = topLayerItems.length;
             for (i=0;i<len;i++)
             {
-            	myItemRenderer = topLayerItems[i];
-	            super.setChildIndex(myItemRenderer as DisplayObject, insertIndex++);
+                myItemRenderer = topLayerItems[i];
+                super.setChildIndex(myItemRenderer as DisplayObject, insertIndex++);
             }
         }

@@ -436,8 +433,8 @@

             for (i=0;i<len;i++)
             {
-            	myItemRenderer = bottomLayerItems[i];
-	            super.setChildIndex(myItemRenderer as DisplayObject, insertIndex++);
+                myItemRenderer = bottomLayerItems[i];
+                super.setChildIndex(myItemRenderer as DisplayObject, insertIndex++);
             }
         }

@@ -464,9 +461,9 @@
         return dataProvider ? dataProvider.length : 0;
     }

+    private var itemToRenderer:Dictionary = new Dictionary(true);
     private var virtualLayoutOffset:int = 0;
     private var virtualLayoutUnderway:Boolean = false;
-    private var renderersInView:Dictionary = new Dictionary(true);
     private var freeRenderers:Array = new Array();

     /**
@@ -506,12 +503,12 @@

             // Remove previously "in view" IRs from the item=>IR table
             var item:Object = elt;
-            if ((renderersInView[item] != item) && (elt is IDataRenderer))
+            if ((itemToRenderer[item] != elt) && (elt is IDataRenderer))
             {
                 item = IDataRenderer(elt).data;
                 IDataRenderer(elt).data = null;  // reduce probability of leaks
             }
-            delete renderersInView[item];
+            delete itemToRenderer[item];

             // Free or remove the IR
             if ((item != elt) && (elt is IDataRenderer))
@@ -559,15 +556,17 @@
      */
     override public function getLayoutElementAt(index:int):ILayoutElement
     {
-        var elt:IVisualElement;   // an ItemRenderer or the dataProvider item itself
-
-        if (layout && layout.virtualLayout)
-        {
-            var item:Object = dataProvider.getItemAt(index);
+        if (dataProvider == null)
+            return null;
+
+        var item:Object = dataProvider.getItemAt(index);
+        var elt:IVisualElement = itemToRenderer[item];
+
+        if (virtualLayoutUnderway)
+        {
             var createdIR:Boolean = false;
             var recycledIR:Boolean = false;

-            elt = renderersInView[item];  // an IR that's currently displayed
             if (!elt)
             {
                 var recyclingOK:Boolean = (itemRendererFunction == null) && (itemRenderer != null);
@@ -585,7 +584,7 @@
                     createdIR = true;
                 }

-                renderersInView[item] = elt;  // weak reference
+                itemToRenderer[item] = elt;  // weak reference
             }

             addItemRendererToDisplayList(DisplayObject(elt), index - virtualLayoutOffset);
@@ -595,8 +594,6 @@
             if (createdIR)
                 dispatchEvent(new ItemExistenceChangedEvent(ItemExistenceChangedEvent.ITEM_ADD, false, false, item));
         }
-        else
-            elt = IVisualElement(super.getChildAt(index));

         return LayoutElementFactory.getLayoutElementFor(elt);
     }
@@ -607,8 +604,9 @@
      */
     mx_internal function getRendererForItemAt(index:int):IVisualElement
     {
-        var i:int = index - virtualLayoutOffset;
-        return ((i >= 0) && (i < super.numChildren)) ? IVisualElement(super.getChildAt(i)) : null;
+        if ((index < 0) || (dataProvider == null) || (index >= dataProvider.length))
+            return null;
+        return itemToRenderer[dataProvider.getItemAt(index)];
     }

     /**
@@ -617,8 +615,10 @@
      */
     mx_internal function getItemIndexForRenderer(renderer:IVisualElement):int
     {
-        var child:DisplayObject = DisplayObject(renderer);
-        return (child.parent == this) ? super.getChildIndex(child) : -1;
+        if ((dataProvider == null) || (renderer == null))
+            return -1;
+        var item:Object = (renderer is IDataRenderer) ? IDataRenderer(renderer).data : renderer;
+        return dataProvider.getItemIndex(item);
     }

@@ -627,21 +627,23 @@
      */
     override public function invalidateLayering():void
     {
-    	_layeringFlags |= (LAYERING_ENABLED | LAYERING_DIRTY);
+        _layeringFlags |= (LAYERING_ENABLED | LAYERING_DIRTY);
         invalidateProperties();
     }

     /**
-     *  Adds an item to this DataGroup.
-     *  Flex calls this method automatically; you do not call it directly.
+     *  Adds the itemRenderer for the specified dataProvider item to this DataGroup.
+     *
+     *  This method is called as needed by the DataGroup implementation,
+     *  it should not be called directly.
      *
-     *  @param item The item that was added.
-     *
-     *  @param index The index where the item was added.
+     *  @param item The item that was added, the value of dataProvider[index].
+     *  @param index The index where the dataProvider item was added.
      */
     mx_internal function itemAdded(item:Object, index:int):void
     {
         var myItemRenderer:IVisualElement = createRendererForItem(item);
+        itemToRenderer[item] = myItemRenderer;

         addItemRendererToDisplayList(myItemRenderer as DisplayObject, index);
         dispatchEvent(new ItemExistenceChangedEvent(
@@ -653,8 +655,10 @@
     }

     /**
-     *  Removes an item from this DataGroup.
-     *  Flex calls this method automatically; you do not call it directly.
+     *  Removes the itemRenderer for the specified dataProvider item from this DataGroup.
+     *
+     *  This method is called as needed by the DataGroup implementation,
+     *  it should not be called directly.
      *
      *  @param item The item that is being removed.
      *
@@ -662,7 +666,8 @@
      */
     mx_internal function itemRemoved(item:Object, index:int):void
     {
-        var myItemRenderer:IVisualElement = IVisualElement(super.getChildAt(index));
+        var myItemRenderer:IVisualElement = itemToRenderer[item];
+        delete itemToRenderer[item];

         dispatchEvent(new ItemExistenceChangedEvent(
                       ItemExistenceChangedEvent.ITEM_REMOVE, false, false,
@@ -716,8 +721,8 @@
         }

         if ((_layeringFlags & LAYERING_ENABLED) ||
-        	(child is IVisualElement && (child as IVisualElement).layer != 0))
-        	invalidateLayering();
+            (child is IVisualElement && (child as IVisualElement).layer != 0))
+            invalidateLayering();

         return super.addChildAt(child, index != -1 ? index : super.numChildren);
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 11789
Author:   rfrishbe@adobe.com
Date:     2009-11-13T19:38:40.358315Z

Log Message:
-----------
When a UIMovieClip resizes, it does so through scaling. Before UIMC was keeping track of this on it's own.  Now that AdvancedLayoutFeatures support this through scaleX/scaleY, UIMC can now rely on this behavior.  This also helps fix some Effects bugs which rely on this to figure out the difference in transformations that get applied and contribute to the "width" and "height" properties and ones that don't.

QE notes: Can re-include the 3 FCK tests and regen the bitmaps
Doc notes: -
Bugs: SDK-23754, SDK-23779
Reviewer: Evtim
Tests run: checkintest, mustella FCK
Is noteworthy for integration: No

Modified Paths:
--------------
<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/flash-integration/src/mx/flash/FlexContentHolder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/utilities/src/MyFlexContentHolder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as</path>

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

--- frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as
+++ frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as
@@ -2480,29 +2480,6 @@
     {
         super.scaleX = value;
     }
-
-    /**
-     *  @private
-     */
-    private var _scaleXDueToSizing:Number = 1;
-
-    /**
-     *  The scaleX of the component due to resizing.
-     *
-     *  @private
-     */
-    mx_internal function get scaleXDueToSizing():Number
-    {
-        return _scaleXDueToSizing;
-    }
-
-    /**
-     *  @private
-     */
-    mx_internal function set scaleXDueToSizing(value:Number):void
-    {
-        _scaleXDueToSizing = value;
-    }

     //----------------------------------
     //  scaleY
@@ -2558,14 +2535,14 @@
         invalidateParentSizeAndDisplayList();
     }

-    /**
-     *  The actual scaleY of the component.  Because scaling is used
-     *  to resize the component, this is considerred an internal
-     *  implementation detail, whereas scaleY is the user-set scale
-     *  of the component.
-     *
-     *  @private
-     */
+     /**
+      *  The actual scaleY of the component.  Because scaling is used
+      *  to resize the component, this is considerred an internal
+      *  implementation detail, whereas scaleY is the user-set scale
+      *  of the component.
+      *
+      *  @private
+      */
     mx_internal function get $scaleY():Number
     {
         return super.scaleY;
@@ -2577,29 +2554,6 @@
     mx_internal function set $scaleY(value:Number):void
     {
         super.scaleY = value;
-    }
-
-    /**
-     *  @private
-     */
-    private var _scaleYDueToSizing:Number = 1;
-
-    /**
-     *  The scaleX of the component due to resizing.
-     *
-     *  @private
-     */
-    mx_internal function get scaleYDueToSizing():Number
-    {
-        return _scaleYDueToSizing;
-    }
-
-    /**
-     *  @private
-     */
-    mx_internal function set scaleYDueToSizing(value:Number):void
-    {
-        _scaleYDueToSizing = value;
     }

     //----------------------------------
@@ -3591,7 +3545,7 @@
      *
      * storage for advanced layout and transform properties.
      */
-    private var _layoutFeatures:AdvancedLayoutFeatures;
+    mx_internal var _layoutFeatures:AdvancedLayoutFeatures;

 	/**
 	 *  @private
@@ -3663,14 +3617,6 @@
     {
         _layoutFeatures.updatePending = false;

-        // need to set the scale to the "real scale" (the user-set
-        // scale + the scale needed for sizing) to get a real matrix.
-        // Afterwards, we'll reset it to the "user-set" scale.
-        var oldScaleX:Number = _layoutFeatures.layoutScaleX;
-        var oldScaleY:Number = _layoutFeatures.layoutScaleY;
-        _layoutFeatures.layoutScaleX = _layoutFeatures.layoutScaleX * scaleXDueToSizing;
-        _layoutFeatures.layoutScaleY = _layoutFeatures.layoutScaleY * scaleYDueToSizing;
-
         if (_layoutFeatures.is3D)
         {
             super.transform.matrix3D = _layoutFeatures.computedMatrix3D;
@@ -3679,9 +3625,6 @@
         {
             super.transform.matrix = _layoutFeatures.computedMatrix;
         }
-
-        _layoutFeatures.layoutScaleX = oldScaleX;
-        _layoutFeatures.layoutScaleY = oldScaleY;
     }

     private function applyPerspectiveProjection():void
@@ -4424,13 +4367,22 @@

         // Use scaleX/scaleY to change our size since the new size is based
         // on our measured size, which can be different than our actual size.
-        scaleXDueToSizing = (newWidth / measuredWidth);
-        scaleYDueToSizing = (newHeight / measuredHeight);
-        $scaleX = scaleX*scaleXDueToSizing;
-        $scaleY = scaleY*scaleYDueToSizing;
-
-        // need to apply this scale if using layout offsets
-        invalidateTransform();
+        var widthScale:Number = (newWidth / measuredWidth);
+        var heightScale:Number = (newHeight / measuredHeight);
+
+        // if we need to scale due to sizing differences or if we might've scaled before,
+        // then we need to set _layoutFeatures.stretchX/stretchY
+        if (widthScale != 1 || heightScale != 1 || _layoutFeatures != null)
+        {
+            if (_layoutFeatures == null)
+                initAdvancedLayoutFeatures();
+
+            _layoutFeatures.stretchX = widthScale;
+            _layoutFeatures.stretchY = heightScale;
+
+            // need to apply this scale if using layout offsets
+            invalidateTransform();
+        }

         if (sizeChanged(width, oldWidth) || sizeChanged(height, oldHeight))
             dispatchResizeEvent();
@@ -4666,8 +4618,11 @@
         var currentBounds:Rectangle = bounds;

         // take secret scale into account as it's our real width/height
-        currentBounds.width *= scaleXDueToSizing;
-        currentBounds.height *= scaleYDueToSizing;
+        if (_layoutFeatures != null)
+        {
+            currentBounds.width *= _layoutFeatures.stretchX;
+            currentBounds.height *= _layoutFeatures.stretchY;
+        }

         if (sizeChanged(currentBounds.width, oldWidth) || sizeChanged(currentBounds.height, oldHeight))
         {


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

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

 package mx.events
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 12068
Author:   jszeto@adobe.com
Date:     2009-11-20T23:12:16.551186Z

Log Message:
-----------
Renaming Border to BorderContainer and BorderSkin to BorderContainerSkin

Updated the files, stylesheet, manifest file and the basicTest tests.

QE notes: tests need updating
Doc notes: Docs need updating
Bugs: SDK-24300
Reviewer: Glenn
Tests run: checkintests
Is noteworthy for integration: Yes. Tests and tools will be impacted.

Modified Paths:
--------------
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/BorderSkin.as" copyfrom-rev="12021" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/BorderContainerSkin.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/tests/basicTests/spark/scripts/BorderTestScript.mxml" copyfrom-rev="12021" action="A">/flex/sdk/trunk/frameworks/tests/basicTests/spark/scripts/BorderContainerTestScript.mxml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/tests/basicTests/spark/views/BorderTests.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/SparkClasses.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/tests/basicTests/spark/views/BorderTests.mxml" copyfrom-rev="12021" action="A">/flex/sdk/trunk/frameworks/tests/basicTests/spark/views/BorderContainerTests.mxml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/BorderExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Border.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/BorderExample.mxml" copyfrom-rev="12021" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/BorderContainerExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Border.as" copyfrom-rev="12021" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/BorderContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/defaults.css</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/BorderSkin.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/tests/basicTests/spark/scripts/BorderTestScript.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/BasicTests-config.xml</path>

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

--- frameworks/projects/spark/src/spark/components/BorderContainer.as
+++ frameworks/projects/spark/src/spark/components/BorderContainer.as
@@ -147,15 +147,15 @@
 [Style(name="dropShadowVisible", type="Boolean", inherit="no")]

 /**
- *  The Border class defines a set of CSS styles that control
+ *  The BorderContainer class defines a set of CSS styles that control
  *  the appearance of the border and background fill of the container.
  *
  *
Note: Becasue you use CSS styles and class properties to control
- *  the appearance of the Border container, you typically do not create a custom skin for it.
+ *  the appearance of the BorderContainer, you typically do not create a custom skin for it.
  *  If you do create a custom skin, your skin class should apply any styles to control the
  *  appearance of the container.

  *
- *
The Border control has the following default characteristics:

+ *
The BorderContainer control has the following default characteristics:

  *

  *
Characteristic	Description

  *
Default size	112 pixels by 112 pixels

@@ -165,11 +165,11 @@
  *
  *  @mxml
  *
- *
The <mx:Border> tag inherits all the tag attributes
+ *
The <mx:BorderContainer> tag inherits all the tag attributes
  *  of its superclass, and adds the following tag attributes:

  *
  *

- *  <mx:Border
+ *  <mx:BorderContainer
  *    Properties
  *    backgroundFill="null"
  *    borderStroke="null"
@@ -187,7 +187,7 @@
  *  />
  *

  *
- *  @see spark.skins.spark.BorderSkin
+ *  @see spark.skins.spark.BorderContainerSkin
  *  @includeExample examples/BorderExample.mxml
  *
  *  @langversion 3.0
@@ -195,7 +195,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-public class Border extends SkinnableContainer
+public class BorderContainer extends SkinnableContainer
 {
     /**
      *  Constructor.
@@ -205,7 +205,7 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function Border()
+    public function BorderContainer()
     {
         super();
     }
@@ -213,7 +213,7 @@
     private var _backgroundFill:IFill;

     /**
-     *  Defines the background of the Border.
+     *  Defines the background of the BorderContainer.
      *  Setting this property override the backgroundAlpha,
      *  backgroundColor, backgroundImage,
      *  and backgroundImageFillMode styles.
@@ -222,13 +222,13 @@
      *  to set the background color to red:

      *
      *

-     *  <s:Border cornerRadius="10">
+     *  <s:BorderContainer cornerRadius="10">
      *     <s:backgroundFill>
      *         <s:SolidColor
      *             color="red"
      *             alpha="1"/>
      *     </s:backgroundFill>
-     *  </s:Border>

+     *  </s:BorderContainer>

      *
      *  @default null
      *
@@ -259,7 +259,7 @@
     private var _borderStroke:IStroke;

     /**
-     *  Defines the stroke of the Border container.
+     *  Defines the stroke of the BorderContainer container.
      *  Setting this property override the borderAlpha,
      *  borderColor, borderStyle, borderVisible,
      *  and borderWeight styles.
@@ -267,13 +267,13 @@
      *
The following example sets the borderStroke property:

      *
      *

-     *  <s:Border cornerRadius="10">
+     *  <s:BorderContainer cornerRadius="10">
      *     <s:borderStroke>
      *         <mx:SolidColorStroke
      *             color="black"
      *             weight="3"/>
      *     </s:borderStroke>
-     *  </s:Border>

+     *  </s:BorderContainer>

      *
      *  @default null
      *


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 7502
Author:   jszeto@adobe.com
Date:     2009-06-03T00:34:08.950238Z

Log Message:
-----------
Fixed RadialGradientStroke rotation bug

http://bugs.adobe.com/jira/browse/SDK-18372 -  RadialGradientStroke transform does not rotate

Copied the logic from RadialGradient to RadialGradientStroke. The createGradientBox function doesn’t do what we want because it rotates first and then scales. We want to scale first and then rotate.

Added constant for the width and height of the untransformed gradient to all of the gradient classes.

QE Notes: Test RadialGradientStroke rotation
Doc Notes: None
Bugs: SDK-18372
Reviewer: Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradient.as</path>

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

--- frameworks/projects/framework/src/mx/graphics/LinearGradient.as
+++ frameworks/projects/framework/src/mx/graphics/LinearGradient.as
@@ -217,14 +217,14 @@
 	    	// If x and y are specified, then move the gradient so that the
 	    	// top left corner is at 0,0
 	    	if (!isNaN(tx) && !isNaN(ty))
-	    		commonMatrix.translate(819.2, 819.2); // 1638.4 / 2
+	    		commonMatrix.translate(GRADIENT_DIMENSION / 2, GRADIENT_DIMENSION / 2); // 1638.4 / 2

 	    	// Force the length to a minimum of 2. Values of 0 or 1 have undesired behavior
 	    	length = Math.max(length, 2);

 	    	// Scale the gradient in the x direction. The natural size is 1638.4px. No need
 	    	// to scale the y direction because it is infinite
-	    	commonMatrix.scale (length / 1638.4, 1);
+	    	commonMatrix.scale (length / GRADIENT_DIMENSION, 1);

 		    commonMatrix.rotate (!isNaN(mx_internal::_angle) ?
 										mx_internal::_angle : mx_internal::rotationInRadians);
@@ -236,7 +236,7 @@
 		}
 		else
 		{
-			commonMatrix.scale(rc.width / 1638.4, 1);
+			commonMatrix.scale(rc.width / GRADIENT_DIMENSION, 1);
 			commonMatrix.translate(rc.left + rc.width / 2, 0);
 			commonMatrix.concat(compoundTransform.matrix);
 		}


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

--- frameworks/projects/framework/src/mx/managers/BrowserManager.as
+++ frameworks/projects/framework/src/mx/managers/BrowserManager.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 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: 8233
Author:   smgilson@adobe.com
Date:     2009-06-25T15:55:19.890382Z

Log Message:
-----------
ASDoc updates post PARB

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

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

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

--- frameworks/projects/spark/src/spark/components/IItemRenderer.as
+++ frameworks/projects/spark/src/spark/components/IItemRenderer.as
@@ -21,8 +21,8 @@
  *  that a class must implement to create an item renderer that can
  *  communicate with a host component.
  *  The host component, such as the List or ButtonBar controls,
- *  must implement the IItemRendererOwner interface,
- *  .
+ *  must implement the IItemRendererOwner interface.
+ *
  *
  *  @see spark.components.IItemRendererOwner
  *
@@ -35,7 +35,7 @@
 public interface IItemRenderer extends IDataRenderer, IVisualElement
 {
     /**
-     *  Is true if the item renderer
+     *  Contains true if the item renderer
      *  can show itself as selected.
      *
      *  @langversion 3.0
@@ -48,7 +48,7 @@
     function set selected(value:Boolean):void;

     /**
-     *  Is true if the item renderer
+     *  Contains true if the item renderer
      *  can show itself as focused.
      *
      *  @langversion 3.0


Closing the underlying FEBEConnection on Connection close.

--- driver/src/main/flex/org/postgresql/db/Connection.as
+++ driver/src/main/flex/org/postgresql/db/Connection.as
@@ -70,7 +70,7 @@
         }

         public function close():void {
-
+            _baseConn.close();
         }

         internal function executeQuery(statement:IStatement, sql:String):void {
@@ -89,7 +89,7 @@
             if (!(statement in _active)) {
                 throw new ArgumentError("Attempting to close unregistered statement: " + statement);
             }
-            // Send close for portal / statement
+            // TODO: Send close for portal / statement
             delete _active[statement];
         }


SoundPlayInfo の soundId に setter 追加

SoundPlayInfo の soundId に setter 追加

--- project/SoundConductor/src/jp/hiiragi/managers/soundConductor/SoundPlayInfo.as
+++ project/SoundConductor/src/jp/hiiragi/managers/soundConductor/SoundPlayInfo.as
@@ -63,6 +63,8 @@
 		 * @return
 		 */
 		public function get soundId():SoundId  { return _soundId; }
+
+		public function set soundId(value:SoundId):void  { _soundId = value; }

 		//----------------------------------
 		//  startTimeByMS


Transferred from the Adobe Open Source Subversion Repository

Revision: 12912
Author:   pfarland@adobe.com
Date:     2009-12-14T20:08:35.669487Z

Log Message:
-----------
With TLF 571 checked in we can now revert the MXML 2009 changes for how the id language attribute is processed.

An unqualified id property will no longer be seen as a setter for a normal public, writable, non-static "id" property - which matches Flex 3 behavior.

As in earlier versions of Flex, the mechanism to retain MXML id attribute information at runtime is to implement mx.core.IMXMLObject. The compiler will generate a call to the intialized() method and pass in the id information.

Note: One exception to this rule seems to be UIComponent which instead get id attribute information via mx.core.IDeferredInstantiationUIComponent (although there seems to be a TODO in the codebase to remove this mechanism and thus should not be relied on by third parties).

QE notes: Please add tests for the TLF id property on flow elements (div, span, p, etc).
Doc notes: Please check that we have not documented
Bugs: N/A
Reviewer: Paul
Tests run: Checkintests, local test cases.
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.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="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IID.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/mxml/lang/StandardDefs.java</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/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/ValueInitializer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -1207,7 +1207,7 @@
  */
 public class UIComponent extends FlexSprite
     implements IAutomationObject, IChildList, IConstraintClient,
-    IDeferredInstantiationUIComponent, IFlexDisplayObject, IFlexModule, IID,
+    IDeferredInstantiationUIComponent, IFlexDisplayObject, IFlexModule,
     IInvalidating, ILayoutManagerClient, IPropertyChangeNotifier,
     IRepeaterClient, IStateClient, IAdvancedStyleClient, IToolTipManagerClient,
     IUIComponent, IValidatorListener, IVisualElement


Transferred from the Adobe Open Source Subversion Repository

Revision: 7743
Author:   clucier@adobe.com
Date:     2009-06-11T13:53:10.203664Z

Log Message:
-----------
Moving away from using namespace qualifiers in most cases in the SDK.  We've run into a few cases now where the use of qualifiers in code that is called excessively can slow things down.
Bugs: SDK-21337
Reviewer: Ryan, Paul
QE Notes: None
Tests: Ran several random Mustella test groups, checkintests.

Modified Paths:
--------------
106 paths were modified

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

--- frameworks/projects/framework/src/mx/effects/Dissolve.as
+++ frameworks/projects/framework/src/mx/effects/Dissolve.as
@@ -12,9 +12,12 @@
 package mx.effects
 {

+import mx.core.mx_internal;
 import mx.effects.effectClasses.DissolveInstance;
 import mx.graphics.RoundedRectangle;
 import mx.styles.StyleManager;
+
+use namespace mx_internal;

 /**
  *  Animate the component from transparent to opaque,
@@ -250,7 +253,7 @@
 		dissolveInstance.alphaFrom = alphaFrom;
 		dissolveInstance.alphaTo = alphaTo;
 		dissolveInstance.color = color;
-		dissolveInstance.mx_internal::persistAfterEnd = mx_internal::persistAfterEnd;
+		dissolveInstance.persistAfterEnd = persistAfterEnd;
 		dissolveInstance.targetArea = targetArea;
 	}
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 3509
Author:   jimurphy@adobe.com
Date:     2008-10-07T18:19:17.646255Z

Log Message:
-----------
Rename of flex -> mx.

For compatibility reasons it was decided that the new functionality remain integrated with the old framework, although we will continue to build two separate SWCs, one with primarily existing framework classes, and one with new Flex 4 classes. This change removes duplicate names from the Flex 4 framework to avoid class name overlapping with the old framework code.  The naming overlap consists of two major areas:  New Components, and New Effects

Modified Paths:
--------------
386 paths were modified

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

--- frameworks/projects/framework/src/mx/events/FlexEvent.as
+++ frameworks/projects/framework/src/mx/events/FlexEvent.as
@@ -120,6 +120,30 @@
      */
     public static const CREATION_COMPLETE:String = "creationComplete";

+	 /**
+     *  The FlexEvent.CONTENT_CREATION_COMPLETE constant defines the value of the
+     *  type property of the event object for a contentCreationComplete event.
+     *
+     *
The properties of the event object have the following values:

+     *

+     *
Property	Value

+     *
bubbles	false

+     *
cancelable	false

+     *
currentTarget	The Object that defines the
+     *       event listener that handles the event. For example, if you use
+     *       myButton.addEventListener() to register an event listener,
+     *       myButton is the value of the currentTarget.

+     *
target	The Object that dispatched the event;
+     *       it is not always the Object listening for the event.
+     *       Use the currentTarget property to always access the
+     *       Object listening for the event.

+     *

+     *
+     *  @eventType deferredContentCreate
+     */
+    public static const CONTENT_CREATION_COMPLETE:String = "contentCreationComplete";
+
+
     /**
      *  The FlexEvent.CURSOR_UPDATE constant defines the value of the
      *  type property of the event object for a cursorUpdate event.


Transferred from the Adobe Open Source Subversion Repository

Revision: 11444
Author:   hmuller@adobe.com
Date:     2009-11-04T20:22:02.152655Z

Log Message:
-----------
Initial commit of the TabBar component.  ButtonBar and TabBar share a new base class called ButtonBarBase.

QE notes: tests for TabBar are TBD
Doc notes: Please check the new TabBar, ButtonBarBase ASDoc
Bugs:
Reviewer: Alex, Glenn
Tests run: ButtonBar Mustella tests pass
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TabBarButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/SparkClasses.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TabBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TabBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</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/spark/src/spark/components/ButtonBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/TabBar.as
+++ frameworks/projects/spark/src/spark/components/TabBar.as
@@ -0,0 +1,73 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+import flash.events.EventPhase;
+import flash.events.FocusEvent;
+import flash.events.KeyboardEvent;
+import flash.events.MouseEvent;
+import flash.ui.Keyboard;
+
+import mx.core.EventPriority;
+import mx.core.IFactory;
+import mx.core.ISelectableList;
+import mx.core.IVisualElement;
+import mx.core.mx_internal;
+import mx.managers.IFocusManagerComponent;
+
+import spark.components.supportClasses.ButtonBarBase;
+import spark.components.supportClasses.ItemRenderer;
+import spark.events.IndexChangeEvent;
+import spark.events.RendererExistenceEvent;
+
+use namespace mx_internal;  // ListBase/setCurrentCaretIndex(index);
+
+/**
+ *  The radius of the tab bar buttons' top and right corners.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Style(name="cornerRadius", type="Number", format="Length", inherit="no", theme="spark")]
+
+/**
+ *  Displays a list of identical buttons called "tabs".  One tab can be selected at a time
+ *  and the first tab is selected by default.
+ *
+ *
The list of tabs is defined by the dataProvider and their appearance is
+ *  defined by the dataGroup's ItemRenderer, typically a ButtonBarButton.

+ *
+ *
The default TabBar skin arranges ButtonBarButton tabs in a single row.  The TabBar
+ *  cornerRadius style is used by the default skin to configure the cornerRadius
+ *  of ButtonBarButton tabs, setting the style on the TabBar affects all tabs.

+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+public class TabBar extends ButtonBarBase implements IFocusManagerComponent
+{
+    include "../core/Version.as";
+
+
+    public function TabBar()
+    {
+        super();
+
+        requireSelection = true;
+        mouseFocusEnabled = false;
+    }
+}
+}


滚动组件ScrollPane增加公开的mouseWheelEnabled方法，设置鼠标滚轮是否影响滚动。

--- source/fairygui/ScrollPane.as
+++ source/fairygui/ScrollPane.as
@@ -195,6 +195,14 @@
         public function set touchEffect(sc: Boolean):void {
             this._touchEffect = sc;
         }
+
+        public function get mouseWheelEnabled(): Boolean {
+            return this._mouseWheelEnabled;
+        }
+
+        public function set mouseWheelEnabled(val: Boolean):void {
+            this._mouseWheelEnabled = val;
+        }

         public function set scrollSpeed(val: Number):void {
             this._scrollSpeed = this.scrollSpeed;


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

--- frameworks/projects/framework/src/mx/events/DragEvent.as
+++ frameworks/projects/framework/src/mx/events/DragEvent.as
@@ -24,6 +24,11 @@
  *  @see mx.managers.DragManager
  *  @see mx.core.DragSource
  *  @see mx.core.UIComponent
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class DragEvent extends MouseEvent
 {
@@ -61,6 +66,11 @@
 	 *

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

@@ -90,6 +100,11 @@
 	 *

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

@@ -118,6 +133,11 @@
 	 *

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

@@ -147,6 +167,11 @@
 	 *

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

@@ -176,6 +201,11 @@
 	 *

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

@@ -205,6 +235,11 @@
 	 *

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

@@ -236,6 +271,11 @@
 	 *  @param altKey Indicates whether the Alt key was pressed.
 	 *
 	 *  @param shiftKey Indicates whether the Shift key was pressed.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function DragEvent(type:String, bubbles:Boolean = false,
 							  cancelable:Boolean = true,
@@ -270,6 +310,11 @@
 	 *  The requested action.
 	 *  One of DragManager.COPY, DragManager.LINK,
 	 *  DragManager.MOVE, or DragManager.NONE.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var action:String;

@@ -283,6 +328,11 @@
 	 *  this property contains the child IAutomationObject object near the mouse cursor.
 	 *  If the dragInitiator property does not contain
 	 *  an IAutomationObject object,  this proprty is null.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var draggedItem:Object;

@@ -292,6 +342,11 @@

 	/**
 	 *  The component that initiated the drag.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var dragInitiator:IUIComponent;

@@ -301,6 +356,11 @@

 	/**
 	 *  The DragSource object containing the data being dragged.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var dragSource:DragSource;


Transferred from the Adobe Open Source Subversion Repository

Revision: 20157
Author:   jszeto@adobe.com
Date:     2011-02-05T00:00:00.317113Z

Log Message:
-----------
ViewMenu and SoftKeyboard interaction bug fixes

http://bugs.adobe.com/jira/browse/SDK-29144 - Incorrect ViewMenu and Softkeyboard interraction

FocusManager listens for the VIEW_HIDE event and will clear focus if the lastFocus is contained in the View about to be hidden.

Small updates to Application to make sure the isSoftKeyboardActive flag is set in all use cases.

http://bugs.adobe.com/jira/browse/SDK-29384 - SoftKeybord does not appear onTextArea tap in some test cases

In mouseDown handler, if we are already in focus, then make sure the soft keyboard appears on mouseUp

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableTextField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Application.as</path>

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

--- frameworks/projects/framework/src/mx/events/FlexEvent.as
+++ frameworks/projects/framework/src/mx/events/FlexEvent.as
@@ -1421,6 +1421,35 @@
      */
     public static const VALUE_COMMIT:String = "valueCommit";

+    /**
+     *  The FlexEvent.VIEW_HIDE constant defines the value of the
+     *  type property of the event object for a viewHide
+     *  event.
+     *
+     *
The properties of the event object have the following values:

+     *

+     *
Property	Value

+     *
bubbles	false

+     *
cancelable	false

+     *
currentTarget	The Object that defines the
+     *       event listener that handles the event. For example, if you use
+     *       myButton.addEventListener() to register an event listener,
+     *       myButton is the value of the currentTarget.

+     *
target	The Object that dispatched the event;
+     *       it is not always the Object listening for the event.
+     *       Use the currentTarget property to always access the
+     *       Object listening for the event.

+     *

+     *
+     *  @eventType viewHide
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static const VIEW_HIDE:String = "viewHide";
+
     //--------------------------------------------------------------------------
     //
     //  Constructor


Transferred from the Adobe Open Source Subversion Repository

Revision: 3760
Author:   egeorgie@adobe.com
Date:     2008-10-20T23:02:44.235883Z

Log Message:
-----------
Fix bug http://bugs.adobe.com/jira/browse/SDK-16785 Disabled CheckBox is still, like, selectable.
QE Notes: None
Doc Notes: None
Bugs: sdk-16785
Reviewer: Ryan

Modified Paths:
--------------
<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/components/FxToggleButton.as</path>

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

--- frameworks/projects/spark/src/spark/components/Button.as
+++ frameworks/projects/spark/src/spark/components/Button.as
@@ -431,9 +431,7 @@
         addEventListener(MouseEvent.ROLL_OUT, mouseEventHandler);
         addEventListener(MouseEvent.MOUSE_DOWN, mouseEventHandler);
         addEventListener(MouseEvent.MOUSE_UP, mouseEventHandler);
-        // TODO EGeorgie: should revisit, we are handling the CLICK during capture phase,
-        // since instance handlers are registered before base class handlers.
-        addEventListener(MouseEvent.CLICK, mouseEventHandler, true /*useCapture*/);
+        addEventListener(MouseEvent.CLICK, mouseEventHandler);
         addEventListener("enabledChanged", enableChangedHandler);
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 8615
Author:   dsubrama@adobe.com
Date:     2009-07-16T00:06:27.325362Z

Log Message:
-----------
Added in enumerations to Inspectable metadata for a bunch of properties.

Reviewer: Ryan
QA: Yes, regress
Doc: No
Checkintests: Pass

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.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/spark/src/spark/core/IDeferredContentOwner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/BitmapImage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/VideoElement.as</path>

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

--- frameworks/projects/spark/src/spark/components/HGroup.as
+++ frameworks/projects/spark/src/spark/components/HGroup.as
@@ -312,7 +312,7 @@
     //  variablecolumnHeight
     //----------------------------------

-    [Inspectable(category="General")]
+    [Inspectable(category="General", enumeration="true,false")]

     /**
      * @copy spark.layouts.HorizontalLayout#variableColumnWidth


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

--- frameworks/projects/spark/src/spark/events/VideoEvent.as
+++ frameworks/projects/spark/src/spark/events/VideoEvent.as
@@ -1,13 +1,21 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  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.
-//
-///////////////////////////////////////////////////////////////////////////////
+//  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
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////

 package spark.events
 {