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

--- frameworks/projects/framework/src/mx/styles/CSSCondition.as
+++ frameworks/projects/framework/src/mx/styles/CSSCondition.as
@@ -0,0 +1,169 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2008 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.styles
+{
+
+/**
+ *  Represents a condition for a CSSSelector which is used to match a subset of
+ *  components based on a particular property.
+ *
+ *  @see mx.styles.CSSConditionKind
+ */
+public class CSSCondition
+{
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  @param kind The kind of condition. For valid values see the
+     *  CSSConditionKind enumeration.
+     *  @param value The condition value (without CSS syntax).
+     */
+    public function CSSCondition(kind:uint, value:String)
+    {
+        _kind = kind;
+        _value = value;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  kind
+    //----------------------------------
+
+    /**
+     *  @private
+     */
+    private var _kind:uint;
+
+
+    /**
+     *  The kind of condition this instance represents. Options are class,
+     *  id and pseudo.
+     *
+     *  @see mx.styles.CSSConditionKind
+     */
+    public function get kind():uint
+    {
+        return _kind;
+    }
+
+    //----------------------------------
+    //  specificity
+    //----------------------------------
+
+    public function get specificity():uint
+    {
+        if (kind == CSSConditionKind.ID_CONDITION)
+            return 100;
+        else if (kind == CSSConditionKind.CLASS_CONDITION)
+            return 10;
+        else if (kind == CSSConditionKind.PSEUDO_CONDITION)
+            return 10;
+        else
+            return 0;
+    }
+
+    //----------------------------------
+    //  value
+    //----------------------------------
+
+    /**
+     *  @private
+     */
+    private var _value:String;
+
+    /**
+     *  The value of this condition without any CSS syntax. To get a String
+     *  representation that includes CSS syntax, call the toString() method.
+     */
+    public function get value():String
+    {
+        return _value;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Determines whether this condition matches the given component.
+     *
+     *  @param object The component to which the condition may apply.
+     *  @return true if component is a match, otherwise false.
+     */
+    public function isMatch(object:IAdvancedStyleClient):Boolean
+    {
+        var match:Boolean = false;
+
+        if (kind == CSSConditionKind.CLASS_CONDITION)
+        {
+            if (object.styleName != null && object.styleName is String)
+            {
+                // Look for a match in a potential list of styleNames
+                var styleNames:Array = object.styleName.split(/\s+/);
+                for (var i:uint = 0; i < styleNames.length; i++)
+                {
+                    if (styleNames[i] == value)
+                    {
+                        match = true;
+                        break;
+                    }
+                }
+            }
+        }
+        else if (kind == CSSConditionKind.ID_CONDITION)
+        {
+            if (object.id == value)
+                match = true;
+        }
+        else if (kind == CSSConditionKind.PSEUDO_CONDITION)
+        {
+            if (object.currentState == value)
+                match = true;
+        }
+
+        return match;
+    }
+
+    /**
+     *  @return A String representation of this condition, including CSS syntax.
+     */
+    public function toString():String
+    {
+        var s:String;
+
+        if (kind == CSSConditionKind.CLASS_CONDITION)
+            s = ("." + value);
+        else if (kind == CSSConditionKind.ID_CONDITION)
+            s = ("#" + value);
+        else if (kind == CSSConditionKind.PSEUDO_CONDITION)
+            s = (":" + value);
+        else
+            s = "";
+
+        return s;
+    }
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 2790
Author:   gosmith@adobe.com
Date:     2008-08-08T22:08:51.675681Z

Log Message:
-----------
Infrastructure for CSS support in TextGraphicElement.

TextGraphicElement now has stubs that implement the same two CSS interfaces that UIComponent implements, namely ISimpleStyleClient and IStyleClient.

Reviewer: Deepa
Bugs: -
QA: No
Doc: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NavBar.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/styles/StyleManager.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/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/TextGraphicElement.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/styles/StyleProtoChain.as</path>

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

--- frameworks/projects/framework/src/mx/styles/StyleManager.as
+++ frameworks/projects/framework/src/mx/styles/StyleManager.as
@@ -43,6 +43,18 @@
      *  String is not a legitimate color name.
      */
     public static const NOT_A_COLOR:uint = 0xFFFFFFFF;
+
+    /**
+     *  @private
+     *  The inheritingStyles and nonInheritingStyles properties
+     *  are initialized to this empty Object.
+     *  This allows the getStyle() and getStyle()
+     *  methods to simply access inheritingStyles[] and nonInheritingStyles[]
+     *  without needing to first check whether those objects exist.
+     *  If they were simply initialized to {}, we couldn't determine
+     *  whether the style chain has already been built or not.
+     */
+    mx_internal static const STYLE_UNINITIALIZED:Object = {};

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


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

--- frameworks/projects/mx/src/mx/skins/halo/ColorPickerSkin.as
+++ frameworks/projects/mx/src/mx/skins/halo/ColorPickerSkin.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2004-2007 Adobe Systems Incorporated
-//  All Rights Reserved.
-//
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
+//  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.
 //
 ////////////////////////////////////////////////////////////////////////////////


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

--- frameworks/projects/mx/src/mx/skins/halo/PopUpButtonSkin.as
+++ frameworks/projects/mx/src/mx/skins/halo/PopUpButtonSkin.as
@@ -148,7 +148,7 @@
         var cornerRadius:Number = getStyle("cornerRadius");
 		var fillAlphas:Array = getStyle("fillAlphas");
 		var fillColors:Array = getStyle("fillColors");
-        StyleManager.getColorNames(fillColors);
+        StyleManager.getStyleManager(moduleFactory).getColorNames(fillColors);
 		var highlightAlphas:Array = getStyle("highlightAlphas");
         var themeColor:uint = getStyle("themeColor");


Transferred from the Adobe Open Source Subversion Repository

Revision: 11112
Author:   hmuller@adobe.com
Date:     2009-10-23T19:35:31.222086Z

Log Message:
-----------
DatGroup and SkinnableDataContainer dispatch a "dataProviderChanged" event when the dataProvder changes.  Fixed a ScrollerLayout typo.

QE notes:
Doc notes: none
Bugs: sdk-23489
Reviewer: Ryan
Tests run: DataGroup
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ScrollerLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGroup.as</path>

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

--- frameworks/projects/spark/src/spark/components/DataGroup.as
+++ frameworks/projects/spark/src/spark/components/DataGroup.as
@@ -500,6 +500,7 @@
         _dataProvider = value;
         dataProviderChanged = true;
         invalidateProperties();
+        dispatchEvent(new Event("dataProviderChanged"));
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 7862
Author:   jszeto@adobe.com
Date:     2009-06-15T22:06:23.250745Z

Log Message:
-----------
GraphicElement PARB Changes

mx.core.AdvancedLayoutFeatures
•	Rename layer -> depth
•	Rename offsets -> postLayoutTransformOffsets

mx.core.IVisualElement
•	Rename layer -> depth

mx.core.UIComponent
•	Rename offsets -> postLayoutTransformOffsets
•	Rename layer -> depth

mx.graphics.GradientBase
•	Remove scaleX

mx.graphics.GradientStroke
•	Add apply(g:Graphics, bounds:Rectangle)

mx.graphics.IStroke
•	Remove draw
•	Change apply(g:Graphics) -> apply(g:Graphics, bounds:Rectangle)

mx.graphics.LinearGradient
•	Add scaleX

mx.graphics.LinearGradientStroke
•	Add scaleX
•	Remove draw
•	Change apply(g:Graphics) -> apply(g:Graphics, bounds:Rectangle)

mx.graphics.RadialGradient
•	Add scaleX

mx.graphics.RadialGradientStroke
•	Add scaleX
•	Remove draw
•	Change apply(g:Graphics) -> apply(g:Graphics, bounds:Rectangle)

mx.graphics.SolidColorStroke
•	Remove draw
•	Change apply(g:Graphics) -> apply(g:Graphics, bounds:Rectangle)

mx.flash.UIMovieClip
•	Rename offsets -> postLayoutTransformOffsets
•	Rename layer -> depth

spark.components.PopUpAnchor
•	Change popUp type from UIComponent -> IFlexDisplayObject
•	Rename positionPopUp -> calculatePopUpPosition
•	Rename autoSizePopUpWidth -> popUpWidthMatchesAnchorWidth
•	Rename autoSizePopUpHeight -> popUpHeightMatchesAnchorHeight

spark.core.RelativePosition
•	Rename and move spark.core.RelativePosition -> spark.components.PopUpPosition
•	Rename EXACT -> TOP_LEFT (topLeft)

spark.core.SpriteVisualElement
•	Rename layer -> depth
•	Remove computeMatrix

spark.primitives.BitmapImage
•	Change _NORMAL_UINT from protected -> private
•	Change _REPEAT_UINT from protected -> private
•	Change _SCALE_UINT from protected -> private
•	Change resizeModeToUINT from protected -> private
•	Rename drawElement -> draw

spark.primitives.Line
•	Rename skipMeasure -> canSkipMeasurement
•	Rename drawElement -> draw

spark.primitives.Path
•	Change graphicsPath fro protected -> mx_internal
•	Rename skipMeasure -> canSkipMeasurement
•	Rename drawElement -> draw
•	Rename renderGraphicsAtScale -> generateGraphicsPath
•	Change generateGraphicsPath from protected -> mx_internal
•	Rename notifyElementLayerChanged -> invalidateDisplayObjectSharing

spark.primitives.Rect
•	Rename drawElement -> draw

spark.primitives.supportClasses.GraphicElement
•	Rename layer -> depth
•	Rename offsets -> postLayoutTransformOffsets
•	Rename getBitmapData -> captureBitmapData
•	Rename notifyElementLayerChanged -> invalidateDisplayObjectSharing
•	Rename skipMeasure -> canSkipMeasurement
•	Add protected hasComplexLayoutMatrix:Boolean getter
•	Remove target
•	Remove computeMatrix
•	Change DEFAULT_MAX_WIDTH from public -> private
•	Change DEFAULT_MAX_HEIGHT from public -> private
•	Change DEFAULT_MIN_WIDTH from public -> private
•	Change DEFAULT_MIN_HEIGHT from public -> private
•	Change allocateLayoutFeatures from protected -> mx_internal
•	Change invalidateTransform from protected -> private
•	Change captureBitmapData from public -> mx_internal
•	Change applyMaskType from protected -> mx_internal
•	Change dispatchPropertyChangeEvent from protected -> private
•	Change applyComputedTransform from protected -> mx_internal
•	Change filterChangedHandler from protected -> private

spark.supportClasses.StrokedElement
•	Rename drawElement -> draw
•	Remove getStroke()
•	Add getStrokeExtents() override

QE Notes: None
Doc Notes: None
Bugs: N/A
Reviewer: Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/BitmapImage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/TransformOffsets.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.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/flex4/src/spark/primitives/Line.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Ellipse.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/FilledElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransitionShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.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/graphics/GradientBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/IFill.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.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/flex4/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Rect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/IStroke.as</path>
<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/flex4/src/spark/components/supportClasses/GroupBase.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/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/spark/src/spark/components/DataGroup.as
+++ frameworks/projects/spark/src/spark/components/DataGroup.as
@@ -778,7 +778,7 @@
         for (var i:int = startIndex; i <= endIndex; i++)
         {
             var myItemRenderer:IVisualElement = getElementAt(i);
-            var layer:Number = myItemRenderer.layer;
+            var layer:Number = myItemRenderer.depth;

             if (layer != 0)
             {
@@ -1289,7 +1289,7 @@
         }

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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 7533
Author:   hmuller@adobe.com
Date:     2009-06-03T19:29:25.336295Z

Log Message:
-----------
Fixing up another mistaken commit.   If this happens again, I'm taking the rest of the day off.

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

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

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

         if(_layeringFlags & LAYERING_DIRTY)
         {
-            if (layout && layout.useVirtualLayout)
-                invalidateDisplayList();
-            else
-                manageDisplayObjectLayers();
+            manageDisplayObjectLayers();
         }

         if (typicalItemChanged)
@@ -984,8 +981,6 @@
         if (virtualLayoutUnderway)
         {
             finishVirtualLayout();
-            if(_layeringFlags & LAYERING_DIRTY)
-                manageDisplayObjectLayers();
             virtualLayoutUnderway = false;
         }
     }
@@ -1267,9 +1262,10 @@
                 insertIndex = index;

             // Quietly ignore invalid indices since they're typically caused
-            // by duplicate data items and Halo quietly ignored those
+            // by duplicate data items and Halo quietly ignore those
             if ((insertIndex >= 0) && (insertIndex < super.numChildren))
                 super.setChildIndex(child, insertIndex);
+
             return child;
         }
         else if (child.parent && child.parent is DataGroup)


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

--- frameworks/projects/flash-integration/src/mx/flash/FlexContentHolder.as
+++ frameworks/projects/flash-integration/src/mx/flash/FlexContentHolder.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: 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@1263115 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/validators/PhoneNumberValidator.as
+++ frameworks/projects/framework/src/mx/validators/PhoneNumberValidator.as
@@ -42,6 +42,11 @@
  *  </pre>
  *
  *  @includeExample examples/PhoneNumberValidatorExample.mxml
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class PhoneNumberValidator extends Validator
 {
@@ -71,6 +76,11 @@
 	 *  object for each field examined by the validator.
 	 *
 	 *  @see mx.validators.ValidationResult
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static function validatePhoneNumber(validator:PhoneNumberValidator,
 											   value:Object,
@@ -133,6 +143,11 @@

 	/**
 	 *  Constructor.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function PhoneNumberValidator()
 	{
@@ -166,6 +181,11 @@
 	 *  The set of allowable formatting characters.
 	 *
 	 *  @default "()- .+"
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function get allowedFormatChars():String
 	{
@@ -227,6 +247,11 @@
 	 *  Error message when the value contains invalid characters.
 	 *
 	 *  @default "Your telephone number contains invalid characters."
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function get invalidCharError():String
 	{
@@ -267,6 +292,11 @@
 	 *  Error message when the value has fewer than 10 digits.
 	 *
 	 *  @default "Your telephone number must contain at least 10 digits."
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function get wrongLengthError():String
 	{
@@ -317,6 +347,11 @@
      *
 	 *  @return An Array of ValidationResult objects, with one ValidationResult
 	 *  object for each field examined by the validator.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	override protected function doValidation(value:Object):Array
     {


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

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


Error checking code for Geometry Plotter to ensure that GeneralizedGeometries are in the array. Code for Bug #1324.

--- WeaveUISpark/src/weave/visualization/plotters/GeometryPlotter.as
+++ WeaveUISpark/src/weave/visualization/plotters/GeometryPlotter.as
@@ -119,18 +119,29 @@
 		{
 			var geoms:Array = null;
 			var column:IAttributeColumn = geometryColumn;
+			var notGeoms:Boolean = false;

 			// the column value may contain a single geom or an array of geoms
 			var value:* = column.getValueFromKey(recordKey);
 			if (value is Array)
+			{
 				geoms = value; // array of geoms
+				//Need to ensure that it is an array of geoms
+				for( var j:int = 0; j < geoms.length; j++)
+					if( !(geoms[j] is GeneralizedGeometry) )
+					{
+						notGeoms = true;
+						break;
+					}
+			}
 			else if (value is GeneralizedGeometry)
 				geoms = [value as GeneralizedGeometry]; // single geom -- create array

 			var i:int = 0;
-			if (geoms != null)
-				for each (var geom:GeneralizedGeometry in geoms)
-					output[i++] = geom.bounds;
+			if( !notGeoms )
+				if (geoms != null)
+					for each (var geom:GeneralizedGeometry in geoms)
+						output[i++] = geom.bounds;
 			output.length = i;
 		}

@@ -138,16 +149,27 @@
 		{
 			var value:* = geometryColumn.getValueFromKey(recordKey);
 			var geoms:Array = null;
+			var notGeoms:Boolean = false;

 			if (value is Array)
+			{
 				geoms = value;
+				//Need to ensure that it is an array of geoms
+				for( var j:int = 0; j < geoms.length; j++)
+					if( !(geoms[j] is GeneralizedGeometry) )
+					{
+						notGeoms = true;
+						break;
+					}
+			}
 			else if (value is GeneralizedGeometry)
 				geoms = [ value as GeneralizedGeometry ];

 			var results:Array = [];
-			if (geoms != null)
-				for each (var geom:GeneralizedGeometry in geoms)
-					results.push(geom);
+			if( !notGeoms )
+				if (geoms != null)
+					for each (var geom:GeneralizedGeometry in geoms)
+						results.push(geom);

 			return results;
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 5097
Author:   gauravj@adobe.com
Date:     2009-02-27T02:06:23.424936Z

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:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/fileSystemClasses/FileSystemTreeDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemHistoryButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemTree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/FlexContentHolder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumeration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/AIREvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/StatusBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FileEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/WindowExistenceEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/ApplicationTitleBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/fileSystemClasses/FileSystemControlHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeMenuEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemRawChildrenList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMinimizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowRestoreButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMaximizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/IWindow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemSizeDisplayMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeWindowBoundsEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemChildrenList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowCloseButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as</path>

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

--- frameworks/projects/airframework/src/mx/utils/DirectoryEnumeration.as
+++ frameworks/projects/airframework/src/mx/utils/DirectoryEnumeration.as
@@ -41,6 +41,10 @@
      *
      *  @param source An Array of File instances representing
      *  the files and subdirectories in a file system directory.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function DirectoryEnumeration(source:Array = null)
     {
@@ -84,6 +88,10 @@
      *  and showHidden properties.
      *  The sorting is determined by the enumerationMode
      *  and nameCompareFunction properties.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get collection():ArrayCollection
     {
@@ -123,6 +131,10 @@
      *  @default DirectoryEnumerationMode.DIRECTORIES_FIRST
      *
      *  @see mx.utils.DirectoryEnumerationMode
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get enumerationMode():String
     {
@@ -187,6 +199,10 @@
      *  that is applied to the source.

      *
      *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get extensions():Array /* of String */
     {
@@ -244,6 +260,10 @@
      *  this property to change the collection.

      *
      *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get filterFunction():Function
     {
@@ -294,6 +314,10 @@
      *  the separate groups of files and directories.

      *
      *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get nameCompareFunction():Function
     {
@@ -326,6 +350,10 @@
      *  to include hidden files and directories.
      *
      *  @default false
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get showHidden():Boolean
     {
@@ -355,6 +383,10 @@
      *  You can obtain such an Array by calling the
      *  listDirectory() or listDirectoryAsync()
      *  of the File class.

+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get source():Array /* of File */
     {
@@ -387,6 +419,10 @@
      *  enumerationMode, extensions,
      *  filterFunction, nameCompareFunction,
      *  and showHidden properties.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function refresh():void
     {
@@ -399,6 +435,10 @@
      *
      *
At the end of its processing, this method calls your
      *  filterFunction if one is specified.

+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function fileFilterFunction(file:File):Boolean
     {
@@ -449,6 +489,10 @@
      *
      *
At the end of its processing, this method calls your
      *  nameCompareFunction if one is specified.

+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function fileCompareFunction(file1:File, file2:File,
                                         fields:Array = null):int
@@ -478,6 +522,10 @@
      *  Performs a case-insensitive, locale-dependent comparison
      *  of two file or directory names, using the String method
      *  toLocaleLowerCase().
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function defaultNameCompareFunction(name1:String, name2:String):int
     {


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

--- frameworks/projects/charts/src/mx/charts/styles/metadata/GapStyles.as
+++ frameworks/projects/charts/src/mx/charts/styles/metadata/GapStyles.as
@@ -1,23 +1,4 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.
-//
-////////////////////////////////////////////////////////////////////////////////

-/**
- *  Number of pixels between children in the horizontal direction.
- *  The default value is 8.
- *
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
 [Style(name="horizontalGap", type="Number", format="Length", inherit="no")]

 /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 7448
Author:   jszeto@adobe.com
Date:     2009-05-29T21:11:34.571514Z

Log Message:
-----------
http://bugs.adobe.com/jira/browse/SDK-18373 - Defaults for some properties of Flex graphics classes do not match defaults in FXG xsd

Updated SolidColorStroke, GradientStroke, LinearGradientStroke and RadialGradientStroke with new default values. This shouldn't change the default behavior for caps and joints because the Player defaults to "round" if the value is null.

Updated GlowFilter and GradientGlowFilter

http://bugs.adobe.com/jira/browse/SDK-21493 - BitmapImage resizeMode default value is repeat should be normal

Updated the ASDoc comments to set default to "repeat"

QE Notes: None
Doc Notes: I made lots of small ASDoc changes
Bugs: SDK-18373, SDK-21493
Reviewer: Deepa

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/BitmapImage.as</path>
<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/SolidColorStroke.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/flex4/src/spark/filters/GradientGlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/filters/GlowFilter.as</path>

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

--- frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as
+++ frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as
@@ -62,16 +62,16 @@
      *  A null value is equivalent to
      *  CapsStyle.ROUND.
      *  This parameter is optional,
-     *  with a default value of null.
+     *  with a default value of CapsStyle.ROUND.
      *
      *  @param joints A value from the JointStyle class
      *  that specifies the type of joint appearance used at angles.
      *  Valid values are JointStyle.BEVEL,
      *  JointStyle.MITER, and JointStyle.ROUND.
      *  A null value is equivalent to
-     *  JoinStyle.ROUND.
-     *  This parameter is optional,
-     *  with a default value of null.
+     *  JointStyle.ROUND.
+     *  This parameter is optional,
+     *  with a default value of JointStyle.ROUND.
      *
      *  @param miterLimit A number that indicates the limit
      *  at which a miter is cut off.
@@ -85,7 +85,7 @@
      *  For example, with a miterLimit factor of 2.5 and a
      *  thickness of 10 pixels, the miter is cut off at 25 pixels.
      *  This parameter is optional,
-     *  with a default value of 0.
+     *  with a default value of 3.
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -95,9 +95,9 @@
     public function RadialGradientStroke(weight:Number = 1,
                                          pixelHinting:Boolean = false,
                                          scaleMode:String = "normal",
-                                         caps:String = null,
-                                         joints:String = null,
-                                         miterLimit:Number = 0)
+                                         caps:String = "round",
+                                         joints:String = "round",
+                                         miterLimit:Number = 3)
     {
         super(weight, pixelHinting, scaleMode, caps, joints, miterLimit);
     }


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

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

 package spark.skins.mobile
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 7045
Author:   dsubrama@adobe.com
Date:     2009-05-18T20:55:10.752713Z

Log Message:
-----------
Single and multiple selection are now funneled through a single method, commitSelection(), to validate and commit selection. selectionChanged and selectionChanging events are now properly dispatched.

QA: Yes - please write tests for selectionChanged/selectionChanging
Doc: Now
Checkintests: Pass
Reviewer: Hans

Bugfixes:
https://bugs.adobe.com/jira/browse/SDK-21141
https://bugs.adobe.com/jira/browse/SDK-21157

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/IndexChangedEvent.as</path>

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

--- frameworks/projects/framework/src/mx/events/IndexChangedEvent.as
+++ frameworks/projects/framework/src/mx/events/IndexChangedEvent.as
@@ -303,9 +303,6 @@
      *  @param newIndex The zero-based index after the change.
      *
      *  @param triggerEvent The event that triggered this event.
-     *
-     *  @param multipleSelectionChange Whether or not the selection change was from a
-     *  change in multiple selection.
      *
      *
      *  @langversion 3.0
@@ -327,7 +324,6 @@
         this.oldIndex = oldIndex;
         this.newIndex = newIndex;
         this.triggerEvent = triggerEvent;
-        this.multipleSelectionChange = multipleSelectionChange;
     }

     //--------------------------------------------------------------------------
@@ -404,21 +400,6 @@
      */
     public var triggerEvent:Event;

-    //----------------------------------
-    //  multipleSelectionChange
-    //----------------------------------
-
-    /**
-     *  Whether or not the change in selection was from a multiple selection
-     *  change or not. If true, the newIndex and oldIndex parameters are -1.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    public var multipleSelectionChange:Boolean;
-
     //--------------------------------------------------------------------------
     //
     //  Overridden methods: Event
@@ -431,8 +412,8 @@
     override public function clone():Event
     {
         return new IndexChangedEvent(type, bubbles, cancelable,
-                                     relatedObject, oldIndex, newIndex,
-                                     triggerEvent, multipleSelectionChange);
+                                     relatedObject, oldIndex,
+                                     newIndex, triggerEvent);
     }
 }


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

--- frameworks/projects/framework/src/mx/formatters/DateFormatter.as
+++ frameworks/projects/framework/src/mx/formatters/DateFormatter.as
@@ -15,6 +15,8 @@
 import mx.core.mx_internal;
 import mx.managers.ISystemManager;
 import mx.managers.SystemManager;
+
+use namespace mx_internal;

 [ResourceBundle("SharedResources")]

@@ -163,10 +165,10 @@

                 // Allow for an exact match
                 // or a match to the first 3 letters as a prefix.
-                var n:int = DateBase.mx_internal::defaultStringKey.length;
+                var n:int = DateBase.defaultStringKey.length;
                 for (var i:int = 0; i < n; i++)
                 {
-                    var s:String = String(DateBase.mx_internal::defaultStringKey[i]);
+                    var s:String = String(DateBase.defaultStringKey[i]);
                     if (s.toLowerCase() == word.toLowerCase() ||
                         s.toLowerCase().substr(0,3) == word.toLowerCase())
                     {
@@ -615,7 +617,7 @@

         var dataFormatter:StringFormatter = new StringFormatter(
             formatString, VALID_PATTERN_CHARS,
-            DateBase.mx_internal::extractTokenDate);
+            DateBase.extractTokenDate);

         return dataFormatter.formatValue(value);
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 1451
Author:   jimurphy@adobe.com
Date:     2008-04-29T14:19:59.414928Z

Log Message:
-----------
Merge 3.0.x [1412,1415-1417,1444] -> Trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/lib/flex-messaging-common.jar</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/NetConnectionChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingConnectionHandler.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as</path>

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

--- frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as
@@ -50,9 +50,9 @@
  *  The HTTPChannel class provides the HTTP support for messaging.
  *  You can configure this Channel to poll the server at an interval
  *  to approximate server push.
- *  You can also use this Channel with polling disabled to send RPC messages
+ *  You can also use this Channel with polling disabled to send RPC messages
  *  to remote destinations to invoke their methods.
- *
+ *
  *

  *  The HTTPChannel relies on network services native to Flash Player and AIR,
  *  and exposed to ActionScript by the URLLoader class.
@@ -74,12 +74,12 @@
  *

  *
  *

- *  When used in polling mode, this Channel polls the server for new messages
+ *  When used in polling mode, this Channel polls the server for new messages
  *  based on the polling-interval-seconds property in the configuration file,
  *  and this can be changed by setting the pollingInterval property.
  *  The default value is 3 seconds.
- *  To enable polling, the channel must be connected and the polling-enabled
- *  property in the configuration file must be set to true, or the
+ *  To enable polling, the channel must be connected and the polling-enabled
+ *  property in the configuration file must be set to true, or the
  *  pollingEnabled property of the Channel must be set to true.
  *

  */
@@ -116,11 +116,11 @@
      *  @private
      */
     private var _appendToURL:String;
-
+
     /**
      *  @private
      *  The loader used to ping the server in internalConnect. We need to hang onto a reference
-     *  in order to time out a connect attempt.
+     *  in order to time out a connect attempt.
      */
     private var _connectLoader:ChannelRequestLoader;

@@ -130,14 +130,14 @@
     private var _encoder:AMFXEncoder;

     /**
-     *  @private
+     *  @private
      *  Records the request that needs to be completed before other
      *  requests can be sent.
      */
     private var _pendingRequest:ChannelRequestLoader = null;

     /**
-     *  @private
+     *  @private
      *  This queue contains the messages from send requests that
      *  occurred while an authentication attempt is underway.
      */
@@ -160,11 +160,11 @@
     {
         return pollOutstanding;
     }
-
+
     //----------------------------------
     //  piggybackingEnabled
     //----------------------------------
-
+
     /**
      *  Indicates whether this channel will piggyback poll requests along
      *  with regular outbound messages when an outstanding poll is not in
@@ -175,7 +175,7 @@
     {
         return internalPiggybackingEnabled;
     }
-
+
     /**
      *  @private
      */
@@ -183,7 +183,7 @@
     {
         internalPiggybackingEnabled = value;
     }
-
+
     //----------------------------------
     //  pollingEnabled
     //----------------------------------
@@ -229,7 +229,7 @@
     {
         internalPollingInterval = value;
     }
-
+
     //----------------------------------
     //  protocol
     //----------------------------------
@@ -286,7 +286,7 @@
         super.applySettings(settings);
         applyPollingSettings(settings);
     }
-
+
     //--------------------------------------------------------------------------
     //
     // Overridden Protected Methods
@@ -295,7 +295,7 @@

     /**
      *  @private
-     */
+     */
     override protected function connectTimeoutHandler(event:TimerEvent):void
     {
         _connectLoader.close();
@@ -331,7 +331,7 @@
         if (credentials != null)
         {
             msg.operation = CommandMessage.LOGIN_OPERATION;
-            msg.body = credentials;
+            msg.body = credentials;
         }
         else
         {
@@ -354,7 +354,7 @@
         _connectLoader.completeCallback = pingCompleteHandler;
         _connectLoader.load(urlRequest);
     }
-
+
     /**
      *  @private
      *  Disconnects from the remote destination.
@@ -371,14 +371,14 @@
         // Shutdown locally.
         setConnected(false);
         super.internalDisconnect(rejected);
-        disconnectSuccess(rejected); // make sure to notify everyone that we have disconnected.
+        disconnectSuccess(rejected); // make sure to notify everyone that we have disconnected.
     }

     /**
      *  @private
      */
     override protected function internalSend(msgResp:MessageResponder):void
-    {
+    {
         if (_pendingRequest != null)
         {
             _messageQueue.push(msgResp);
@@ -386,17 +386,17 @@
         else
         {
             // Set the global FlexClient Id.
-            setFlexClientIdOnMessage(msgResp.message);
+            setFlexClientIdOnMessage(msgResp.message);

             try
-            {
-                // If MPI is enabled initialize MPI object and stamp it with client send time
+            {
+                // If MPI is enabled initialize MPI object and stamp it with client send time
                 if (mpiEnabled)
                 {
                     var mpii:MessagePerformanceInfo = new MessagePerformanceInfo();
                     if (recordMessageTimes)
                         mpii.sendTime = new Date().getTime();
-                    msgResp.message.headers[MessagePerformanceUtils.MPI_HEADER_IN] = mpii;
+                    msgResp.message.headers[MessagePerformanceUtils.MPI_HEADER_IN] = mpii;
                 }

                 // Finally, if "Small Messages" are enabled, send this form instead of
@@ -411,7 +411,7 @@
                 */

                 var urlLoader:ChannelRequestLoader;
-                var urlRequest:URLRequest = createURLRequest(msgResp.message);
+                var urlRequest:URLRequest = createURLRequest(msgResp.message);
                 if (msgResp is HTTPMessageResponder)
                 {
                     var httpMsgResp:HTTPMessageResponder =
@@ -433,12 +433,12 @@
                     urlLoader.setErrorCallbacks(responderWrapper.errorHandler);
                 }
                 urlLoader.requestProcessedCallback = requestProcessedHandler;
-
+
                 // Do not consider poll requests as pending requests to allow
                 // clients to send messages while waiting for poll response.
                 if (!(msgResp.message is CommandMessage && CommandMessage(msgResp.message).operation == CommandMessage.POLL_OPERATION))
                     _pendingRequest = urlLoader;
-
+
                 urlLoader.load(urlRequest);
             }
             catch(e:MessageSerializationError)
@@ -457,18 +457,18 @@
     /**
      *  @private
      *  Utility function to handle a connection related ErrorMessage.
-     *
+     *
      *  @param msg The ErrorMessage returned during a connect attempt.
      */
     mx_internal function connectionError(msg:ErrorMessage):void
     {
         var faultEvent:ChannelFaultEvent = ChannelFaultEvent.createEvent(this, false,
-                "Channel.Connect.Failed", "error", msg.faultDetail + " url: '" + endpoint +
+                "Channel.Connect.Failed", "error", msg.faultDetail + " url: '" + endpoint +
                     (_appendToURL != null ? _appendToURL : "") + "'");
         faultEvent.rootCause = msg;
         connectFailed(faultEvent);
     }
-
+
     /**
      *  @private
      *  This method will serialize the specified message into a new instance of
@@ -493,7 +493,7 @@

         return result;
     }
-
+
     //--------------------------------------------------------------------------
     //
     // Protected Methods
@@ -502,13 +502,13 @@

     /**
      * @private
-     */
+     */
     protected function internalPingComplete(msg:AsyncMessage):void
     {
         if (msg != null)
         {
-            ServerConfig.updateServerConfigData(msg.body as ConfigMap, endpoint);
-
+            ServerConfig.updateServerConfigData(msg.body as ConfigMap, endpoint);
+
             // Set the server assigned FlexClient Id.
             if (FlexClient.getInstance().id == null && msg.headers[AbstractMessage.FLEX_CLIENT_ID_HEADER] != null)
                 FlexClient.getInstance().id = msg.headers[AbstractMessage.FLEX_CLIENT_ID_HEADER];
@@ -523,10 +523,10 @@
         }
         */

-        connectSuccess();
+        connectSuccess();
         if (credentials != null && !(msg is ErrorMessage))
             setAuthenticated(true);
-    }
+    }

     //--------------------------------------------------------------------------
     //
@@ -534,25 +534,70 @@
     //
     //--------------------------------------------------------------------------

-    private function decodePacket(event:Event):AsyncMessage
+    /**
+     *  @private
+     *  Special handler for AMFX packet level header "AppendToGatewayUrl".
+     *  When we receive this header we assume the server detected that a session
+     *  was created but it believed the client could not accept its session
+     *  cookie, so we need to decorate the channel endpoint with the session id.
+     *
+     *  We do not modify the underlying endpoint property, however, as this
+     *  session is transient and should not apply if the channel is disconnected
+     *  and re-connected at some point in the future.
+     */
+    private function AppendToGatewayUrl(value:String):void
+    {
+        if (value != null)
+            appendToURL = value;
+    }
+
+    private function decodePacket(event:Event):AMFXResult
     {
         var raw:String = String(URLLoader(event.target).data);
         var xmlData:XML = new XML(raw);
         var _decoder:AMFXDecoder = new AMFXDecoder();
         var packet:AMFXResult = _decoder.decode(xmlData);
-        return packet.result as AsyncMessage;
-    }
-
-    /**
-     *  @private
+        return packet;
+    }
+
+    /**
+     *  @private
+     *  Attempts to replicate the packet-level header functionality that AMFChannel
+     *  uses for response headers such as AppendToGatewayUrl for session id tracking.
+     */
+    private function processHeaders(packet:AMFXResult):void
+    {
+        if (packet.headers != null)
+        {
+            try
+            {
+                for (var i:uint = 0; i < packet.headers.length; i++)
+                {
+                    var header:AMFXHeader = packet.headers[i];
+                    if (header != null && header.name == APPEND_TO_URL_HEADER)
+                    {
+                        AppendToGatewayUrl(String(header.content));
+                    }
+                }
+            }
+            catch(e:Error)
+            {
+            }
+        }
+    }
+
+    /**
+     *  @private
      *  This method indicates that we successfully connected to the endpoint.
      *  Called as a result of the ping operation performed in the
      *  internalConnect() method.
      */
     private function pingCompleteHandler(event:Event):void
     {
-        var msg:AsyncMessage = decodePacket(event);
-        if (msg != null && (msg is ErrorMessage) &&
+        var packet:AMFXResult = decodePacket(event);
+        processHeaders(packet);
+        var msg:AsyncMessage = packet.result as AsyncMessage;
+        if (msg != null && (msg is ErrorMessage) &&
             ErrorMessage(msg).faultCode == "Client.Authentication")
         {
             internalPingComplete(msg);
@@ -575,10 +620,10 @@
     private function pingErrorHandler(event:Event):void
     {
         _log.debug("'{0}' fault handler called. {1}", id, event.toString());
-        var faultEvent:ChannelFaultEvent = ChannelFaultEvent.createEvent(this, false,
-                                                    "Channel.Ping.Failed",
-                                                    "error",
-                                                    " url: '" + endpoint +
+        var faultEvent:ChannelFaultEvent = ChannelFaultEvent.createEvent(this, false,
+                                                    "Channel.Ping.Failed",
+                                                    "error",
+                                                    " url: '" + endpoint +
                                                     (_appendToURL == null ? "" : _appendToURL + "'") + "'");
         faultEvent.rootCause = event;
         connectFailed(faultEvent);
@@ -602,14 +647,24 @@
             internalSend(MessageResponder(_messageQueue.shift()));
         }
     }
+
+    //--------------------------------------------------------------------------
+    //
+    // Static Constants
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    private static const APPEND_TO_URL_HEADER:String = "AppendToGatewayUrl";
 }
-
 }

 //------------------------------------------------------------------------------
 //
 // Private Classes
-//
+//
 //------------------------------------------------------------------------------

 import flash.events.ErrorEvent;
@@ -648,13 +703,13 @@
     //--------------------------------------------------------------------------
     //
     // Constructor
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  @private
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
      *  Constructs a HTTPWrappedResponder.
-     *
+     *
      *  @param wrappedResponder The responder to wrap.
      */
     public function HTTPWrapperResponder(wrappedResponder:MessageResponder)
@@ -666,9 +721,9 @@
     //--------------------------------------------------------------------------
     //
     // Variables
-    //
-    //--------------------------------------------------------------------------
-
+    //
+    //--------------------------------------------------------------------------
+
     /**
      *  @private
      */
@@ -684,13 +739,13 @@
     //--------------------------------------------------------------------------
     //
     // Methods
-    //
+    //
     //--------------------------------------------------------------------------

     /**
      *  @private
      *  Handles a result returned from the remote destination.
-     *
+     *
      *  @param event The completion event from the associated URLLoader.
      */
     public function completeHandler(event:Event):void
@@ -712,7 +767,7 @@
     /**
      *  @private
      *  Handles an error for an outbound request.
-     *
+     *
      *  @param event The error event from the associated URLLoader.
      */
     public function errorHandler(event:Event):void
@@ -753,11 +808,11 @@
     /**
      *  @private
      *  Constructs an HTTPMessageResponder.
-     *
+     *
      *  @param agent The associated MessageAgent.
-     *
+     *
      *  @param msg The message to send.
-     *
+     *
      *  @param channel The Channel to send the message over.
      */
     public function HTTPMessageResponder
@@ -795,18 +850,18 @@
      *  The loader associated with this responder.
      */
     public var urlLoader:ChannelRequestLoader;
-
+
     //--------------------------------------------------------------------------
     //
     // Overridden Protected Methods
     //
     //--------------------------------------------------------------------------
-
-    /**
-     *  @private
-     */
-    override protected function resultHandler(response:IMessage):void
-    {
+
+    /**
+     *  @private
+     */
+    override protected function resultHandler(response:IMessage):void
+    {
         var errorMsg:ErrorMessage;

         if (response is AsyncMessage)
@@ -879,14 +934,13 @@
         var raw:String = String(URLLoader(event.target).data);
         var xmlData:XML = new XML(raw);
         var packet:AMFXResult = decoder.decode(xmlData);
-        processHeaders(packet);

         if (packet.result is IMessage)
         {
             resultHandler(IMessage(packet.result));
         }
     }
-
+
     /**
      *  @private
      */
@@ -972,66 +1026,6 @@
         msg.rootCause = event;
         agent.fault(msg, message);
     }
-
-    //--------------------------------------------------------------------------
-    //
-    // Private Methods
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  @private
-     *  Special handler for AMFX packet level header "AppendToGatewayUrl".
-     *  When we receive this header we assume the server detected that a session
-     *  was created but it believed the client could not accept its session
-     *  cookie, so we need to decorate the channel endpoint with the session id.
-     *
-     *  We do not modify the underlying endpoint property, however, as this
-     *  session is transient and should not apply if the channel is disconnected
-     *  and re-connected at some point in the future.
-     */
-    private function AppendToGatewayUrl(value:String):void
-    {
-        if (value != null)
-            (channel as HTTPChannel).appendToURL = value;
-    }
-
-    /**
-     *  @private
-     *  Attempts to replicate the packet-level header functionality that AMFChannel
-     *  uses for response headers such as AppendToGatewayUrl for session id tracking.
-     */
-    private function processHeaders(packet:AMFXResult):void
-    {
-        if (packet.headers != null)
-        {
-            try
-            {
-                for (var i:uint = 0; i < packet.headers.length; i++)
-                {
-                    var header:AMFXHeader = packet.headers[i];
-                    if (header != null && header.name == APPEND_TO_URL_HEADER)
-                    {
-                        AppendToGatewayUrl(String(header.content));
-                    }
-                }
-            }
-            catch(e:Error)
-            {
-            }
-        }
-    }
-
-    //--------------------------------------------------------------------------
-    //
-    // Static Constants
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  @private
-     */
-    private static const APPEND_TO_URL_HEADER:String = "AppendToGatewayUrl";
 }

 /**
@@ -1049,7 +1043,7 @@
     /**
      *  @private
      *  Constructs a ChannelRequestLoader.
-     */
+     */
     public function ChannelRequestLoader()
     {
         super();
@@ -1070,7 +1064,7 @@
     /**
      *  @private
      *  The wrapped URLLoader.
-     */
+     */
     private var _urlLoader:URLLoader;

     //--------------------------------------------------------------------------
@@ -1083,22 +1077,22 @@
      *  @private
      */
     public var errorCallback:Function;
-
+
     /**
      *  @private
      */
     public var ioErrorCallback:Function;
-
+
     /**
      *  @private
      */
     public var securityErrorCallback:Function;
-
+
     /**
      *  @private
      */
     public var completeCallback:Function;
-
+
     /**
      *  @private
      */
@@ -1209,7 +1203,7 @@
  *  either a subscribe or unsubscribe command message.  If a successfull
  *  subscribe/unsubscribe is made this responder will inform the channel
  *  appropriately.
- *
+ *
  *  See the PollSyncMessageResponder in NetConnectionChannel - the prototype.
  */
 class PollSyncHTTPMessageResponder extends HTTPMessageResponder
@@ -1223,11 +1217,11 @@
     /**
      *  @private
      *  Constructs a PollSyncHTTPMessageResponder.
-     *
+     *
      *  @param agent The associated MessageAgent.
-     *
+     *
      *  @param msg The subscribe or unsubscribe message.
-     *
+     *
      *  @param channel The Channel used to send the message.
      */
     public function PollSyncHTTPMessageResponder
@@ -1274,5 +1268,5 @@
     public function HTTPFireAndForgetResponder(message:IMessage)
     {
         super(null, message, null);
-    }
+    }
 }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/rpc/src/mx/messaging/messages/SOAPMessage.as
+++ frameworks/projects/rpc/src/mx/messaging/messages/SOAPMessage.as
@@ -0,0 +1,91 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.messaging.messages
+{
+
+[RemoteClass(alias="flex.messaging.messages.SOAPMessage")]
+
+/**
+ *  SOAPMessages are similar to HTTPRequestMessages. However,
+ *  they always contain a SOAP XML envelope request body
+ *  that will always be sent using HTTP POST.
+ *  They also allow a SOAP action to be specified.
+ */
+public class SOAPMessage extends HTTPRequestMessage
+{
+    //--------------------------------------------------------------------------
+    //
+    // Static Constants
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  The HTTP header that stores the SOAP action for the SOAPMessage.
+     */
+    public static const SOAP_ACTION_HEADER:String = "SOAPAction";
+
+    //--------------------------------------------------------------------------
+    //
+    // Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructs an uninitialized SOAPMessage.
+     */
+    public function SOAPMessage()
+    {
+        super();
+        method = "POST";
+        contentType = CONTENT_TYPE_SOAP_XML;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    // Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Provides access to the name of the remote method/operation that
+     *  will be called.
+     */
+    public function getSOAPAction():String
+    {
+        return (httpHeaders != null) ? httpHeaders[SOAP_ACTION_HEADER] : null;
+    }
+
+    /**
+     *  @private
+     */
+    public function setSOAPAction(value:String):void
+    {
+        if (value != null)
+        {
+            if (value.indexOf('"') < 0)
+            {
+                var str:String = '"';
+                str += value;
+                str += '"';
+                value = str.toString();
+            }
+
+            if (httpHeaders == null)
+                httpHeaders = {};
+
+            httpHeaders[SOAP_ACTION_HEADER] = value;
+        }
+    }
+
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 13046
Author:   hneelu@adobe.com
Date:     2009-12-17T12:34:07.695337Z

Log Message:
-----------
Updating automation sources..

Modified Paths:
--------------
451 paths were modified

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

--- frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkTextInputAutomationImpl.as
+++ frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkTextInputAutomationImpl.as
@@ -0,0 +1,102 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package spark.automation.delegates.components
+{
+	import flash.display.DisplayObject;
+
+	import mx.automation.Automation;
+	import mx.core.mx_internal;
+
+	import spark.automation.delegates.components.supportClasses.SparkSkinnableTextBaseAutomationImpl;
+	import spark.components.TextInput;
+
+	use namespace mx_internal;
+
+	[Mixin]
+	/**
+	 *
+	 *  Defines methods and properties required to perform instrumentation for the
+	 *  TextInput control.
+	 *
+	 *  @see spark.components.TextInput
+	 *
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 4
+	 */
+	public class SparkTextInputAutomationImpl extends SparkSkinnableTextBaseAutomationImpl
+	{
+		include "../../../core/Version.as";
+
+		//--------------------------------------------------------------------------
+		//
+		//  Class methods
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  Registers the delegate class for a component class with automation manager.
+		 *
+		 *  @param root The SystemManger of the application.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 4
+		 */
+		public static function init(root:DisplayObject):void
+		{
+			Automation.registerDelegateClass(spark.components.TextInput, SparkTextInputAutomationImpl);
+		}
+
+		//--------------------------------------------------------------------------
+		//
+		//  Constructor
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  Constructor.
+		 * @param obj TextInput object to be automated.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 4
+		 */
+		public function SparkTextInputAutomationImpl(obj:spark.components.TextInput)
+		{
+			super(obj);
+		}
+
+
+		/**
+		 *  @private
+		 *  storage for the owner component
+		 */
+		protected function get  textInput():spark.components.TextInput
+		{
+			return uiComponent as spark.components.TextInput;
+		}
+
+		/**
+		 *  @private
+		 */
+		override public function get automationName():String
+		{
+			return  textInput.id || super.automationName;
+		}
+
+	}
+}


CategoryBinningDefinition is now asynchronous.

--- WeaveData/src/weave/data/BinningDefinitions/CategoryBinningDefinition.as
+++ WeaveData/src/weave/data/BinningDefinitions/CategoryBinningDefinition.as
@@ -19,11 +19,15 @@

 package weave.data.BinningDefinitions
 {
+	import flash.utils.getTimer;
+
 	import mx.utils.ObjectUtil;

 	import weave.api.data.IAttributeColumn;
-	import weave.api.data.IQualifiedKey;
+	import weave.api.linkableObjectIsBusy;
+	import weave.api.newDisposableChild;
 	import weave.core.SessionManager;
+	import weave.core.StageUtils;
 	import weave.data.BinClassifiers.SingleValueClassifier;
 	import weave.utils.AsyncSort;

@@ -36,8 +40,80 @@
 	{
 		public function CategoryBinningDefinition()
 		{
-			overrideBinNames.lock(); // no bin names allowed
+			// no bin names allowed
+			overrideBinNames.lock();
 			(WeaveAPI.SessionManager as SessionManager).unregisterLinkableChild(this, overrideBinNames);
+		}
+
+		override public function generateBinClassifiersForColumn(column:IAttributeColumn):void
+		{
+			// clear any existing bin classifiers
+			output.removeAllObjects();
+
+			// get all string values in the a column
+			_sortMap = {};
+			strArray = new Array(column.keys.length); // alloc max length
+			this.column = column;
+			i = iout = 0;
+			keys = column.keys;
+			_iterateAll(-1); // restart from first task
+			WeaveAPI.StageUtils.startTask(asyncResultCallbacks, _iterateAll, WeaveAPI.TASK_PRIORITY_2_BUILDING, _done);
+		}
+
+		private var _sortMap:Object; // used by _sortFunc
+		private var strArray:Array;
+		private var i:int;
+		private var iout:int;
+		private var str:String;
+		private var column:IAttributeColumn;
+		private var keys:Array;
+		private var _iterateAll:Function = StageUtils.generateCompoundIterativeTask(_iterate1, _iterate2);
+		private var asyncSort:AsyncSort = newDisposableChild(this, AsyncSort);
+
+		private function _iterate1(stopTime:int):Number
+		{
+			for (; i < keys.length; i++)
+			{
+				if (getTimer() > stopTime)
+					return i / keys.length;
+
+				str = column.getValueFromKey(keys[i], String) as String;
+				if (str && !_sortMap.hasOwnProperty(str))
+				{
+					strArray[int(iout++)] = str;
+					_sortMap[str] = column.getValueFromKey(keys[i], Number);
+				}
+			}
+
+			strArray.length = iout; // truncate
+			asyncSort.beginSort(strArray, _sortFunc); // sort strings by corresponding numeric values
+			i = 0;
+
+			return 1;
+		}
+
+		private function _iterate2(stopTime:int):Number
+		{
+			if (linkableObjectIsBusy(asyncSort))
+				return 0;
+
+			for (; i < strArray.length; i++)
+			{
+				if (getTimer() > stopTime)
+					return i / strArray.length;
+
+				str = strArray[i] as String;
+
+				var svc:SingleValueClassifier = output.requestObject(str, SingleValueClassifier, false);
+				svc.value = strArray[i];
+			}
+
+			return 1;
+		}
+
+		private function _done():void
+		{
+			asyncResultCallbacks.triggerCallbacks();
 		}

 		/**
@@ -47,48 +123,6 @@
 		{
 			return ObjectUtil.numericCompare(_sortMap[str1], _sortMap[str2])
 				|| ObjectUtil.stringCompare(str1, str2);
-		}
-
-		private var _sortMap:Object; // used by _sortFunc
-
-		/**
-		 * derive an explicit definition.
-		 */
-		override public function generateBinClassifiersForColumn(column:IAttributeColumn):void
-		{
-			// clear any existing bin classifiers
-			output.removeAllObjects();
-
-			// get all string values in the a column
-			_sortMap = {};
-			var strArray:Array = new Array(column.keys.length); // alloc max length
-			var i:int = 0;
-			var str:String;
-			for each (var key:IQualifiedKey in column.keys)
-			{
-				str = column.getValueFromKey(key, String) as String;
-				if (str && !_sortMap.hasOwnProperty(str))
-				{
-					strArray[int(i++)] = str;
-					_sortMap[str] = column.getValueFromKey(key, Number);
-				}
-			}
-			strArray.length = i; // truncate
-			AsyncSort.sortImmediately(strArray, _sortFunc); // sort strings by corresponding numeric values
-			var n:int = strArray.length;
-			for (i = 0; i < n; i++)
-			{
-				//first get name from overrideBinNames
-				str = strArray[i] as String;
-
-				//TODO: look up replacement name once we store original + modified names together rather than a simple Array of replacement names.
-
-				var svc:SingleValueClassifier = output.requestObject(str, SingleValueClassifier, false);
-				svc.value = strArray[i];
-			}
-
-			// trigger callbacks now because we're done updating the output
-			asyncResultCallbacks.triggerCallbacks();
 		}
 	}
 }