Transferred from the Adobe Open Source Subversion Repository

Revision: 10672
Author:   dloverin@adobe.com
Date:     2009-09-29T11:43:11.672658Z

Log Message:
-----------
Use styleManager instance instead of the StyleManager singleton (airframework, halo, and spark projects)

A couple updates in the framework project as well.

QE notes: None.
Doc notes: None.
Bugs:
Reviewer: Alex
Tests run: checkintests
Is noteworthy for integration: no.

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/halo/src/mx/skins/halo/SliderTrackSkin.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/spark/src/spark/effects/supportClasses/SetActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ScrollTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/DataGridHeaderBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/dataGridClasses/TLFDataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ProgressTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/TitleBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ButtonBarButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/HaloBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/NumericStepperDownSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/PopUpButtonSkin.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/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/halo/src/mx/skins/halo/TabSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ScrollArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/CheckBoxIcon.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/AccordionHeaderSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/NumericStepperUpSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ButtonSkin.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/halo/src/mx/skins/halo/ProgressIndeterminateSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/RadioButtonIcon.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/DateChooserMonthArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/SliderThumbSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ComboBoxArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/MenuBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ProgressBarSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/BusyCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ScrollThumbSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SetStyleActionInstance.as</path>

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

--- frameworks/projects/framework/src/mx/effects/effectClasses/SetStyleActionInstance.as
+++ frameworks/projects/framework/src/mx/effects/effectClasses/SetStyleActionInstance.as
@@ -15,6 +15,7 @@
 import mx.core.mx_internal;
 import mx.styles.StyleManager;
 import mx.core.IFlexModuleFactory;
+import mx.core.IFlexModule;

 use namespace mx_internal;

@@ -145,7 +146,9 @@
 				// backgroundColor.
 				if (name.toLowerCase().indexOf("color") != -1)
                 {
-                    var moduleFactory:IFlexModuleFactory = target.moduleFactory;
+                    var moduleFactory:IFlexModuleFactory = null;
+                    if (target is IFlexModule)
+                        moduleFactory = target.moduleFactory;
                     target.setStyle(name,
                         StyleManager.getStyleManager(moduleFactory).getColorName(value));
                 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 19060
Author:   harishs@adobe.com
Date:     2010-12-06T17:34:15.020965Z

Log Message:
-----------
QE notes: Did checkintests, performed full cyclone run. There were 19 failures in mustella report. QE Judy (Mingzhou Gao and Joann Chung Anderson) confirmed that they are known problems.
Doc notes: As part of Sort and Sortfield updates, the asdoc comments were updated to reflect globalization changes.
Bugs: Fixed sdk-28493, 28691,28494, 28345, 28320, 28387, 28314, 28145
Reviewer: Gordon Smith
Tests run: cyclone, checkintests, bugs testfiles
Is noteworthy for integration: Sort and Sortfield updated with globalization support using the new spark globalization sort classes.
Number and CurrencyValidators support national digits and unicode minus symbols.
groupingPattern property dropped for Number and Currency Validators.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/BasicTests-config.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/SortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/NumberValidatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ICollectionView.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ISort.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/spark-manifest.xml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ISortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/BasicTests.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/collections/Sort.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/NumberValidator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/olap/OLAPCube.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/CurrencyValidator.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/collections/SortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/bundles/en_US/validators.properties</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/collections</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/treeClasses/HierarchicalCollectionView.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ListCollectionView.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/GlobalizationUtils.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/olap/DefaultCubeImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/SortTestScript.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionView.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/Sort.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ModifiedCollectionView.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/SortTests.mxml</path>

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

--- frameworks/projects/spark/src/spark/validators/supportClasses/NumberValidatorBase.as
+++ frameworks/projects/spark/src/spark/validators/supportClasses/NumberValidatorBase.as
@@ -54,18 +54,23 @@

     private static const ALLOW_NEGATIVE:String = "allowNegative";
     private static const DECIMAL_SEPARATOR:String = "decimalSeparator";
+    private static const DIGITS_TYPE:String = "digitsType";
     private static const FRACTIONAL_DIGITS:String = "fractionalDigits";
-    private static const GROUPING_PATTERN:String = "groupingPattern";
     private static const GROUPING_SEPARATOR:String = "groupingSeparator";
     private static const NEGATIVE_SYMBOL:String = "negativeSymbol";

     // Used by inheritors.
     mx_internal static const NUMBER_VALIDATOR_TYPE:int = 1;
     mx_internal static const CURRENCY_VALIDATOR_TYPE:int = 2;
+    private static const NEGATIVE_SYMBOLS:String = "-" +
+        String.fromCharCode(0x2212, 0xFE63, 0xFF0D);
+    mx_internal static  const VALID_CHARS:String = DECIMAL_DIGITS + "("
+         + ")" + NEGATIVE_SYMBOLS;

     // Follows flash.globalization limit.
     private static const PATTERN_LENGTH_LIMIT:int = 10;
     private static const DECIMAL_SEP_STD:String = ".";
+

     /**
      *  @private
@@ -96,6 +101,7 @@
         // is a boolean. Hence load it explicitly.
         _allowNegative = allowNegativeOverride = resourceManager.getBoolean(
             "validators", "allowNegative");
+        _domain = NumberValidatorDomainType.REAL;
     }

     //--------------------------------------------------------------------------
@@ -249,7 +255,45 @@
         setBasicProperty(properties, DECIMAL_SEPARATOR, value);
     }

-
+    //----------------------------------
+    //  digitsType
+    //----------------------------------
+
+    [Bindable("change")]
+
+    /**
+     *  Defines the set of digit characters to be used when
+     *  validating numbers.
+     *
+     *
Different languages and regions use different sets of
+     *  characters to represent the
+     *  digits 0 through 9.  This property defines the set of digits
+     *  to be used.

+     *
+     *
The value of this property represents the Unicode value for
+     *  the zero digit of a decimal digit set.
+     *  The valid values for this property are defined in the
+     *  NationalDigitsType class.

+     *
+     *  The default value is dependent on the locale and operating system.
+     *
+     *  @see flash.globalization.NationalDigitsType
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public function get digitsType():uint
+    {
+        return getBasicProperty(properties, DIGITS_TYPE);
+    }
+
+    public function set digitsType(value:uint):void
+    {
+        setBasicProperty(properties, DIGITS_TYPE, value);
+    }
+
     //----------------------------------
     //  domain
     //----------------------------------
@@ -341,96 +385,6 @@
     public function set fractionalDigits(value:int):void
     {
         setBasicProperty(properties, FRACTIONAL_DIGITS, value);
-    }
-
-    //----------------------------------
-    //  groupingPattern
-    //----------------------------------
-
-    [Bindable("change")]
-
-    /**
-     *  Describes the placement of grouping separators within the
-     *  validated number string.
-     *
-     *
The grouping pattern is defined as a string containing
-     *  numbers separated by semicolons and optionally may end
-     *  with an asterisk. For example: "3;2;*".
-     *  Each number in the string represents the number of digits
-     *  in a group. The grouping separator is placed before each
-     *  group of digits. An asterisk at the end of the string
-     *  indicates that groups with that number of digits should be
-     *  repeated for the rest of the formatted string.
-     *  If there is no asterisk then there are no additional groups
-     *  or separators for the rest of the formatted string.

-     *
-     *
The first number in the string corresponds to the first
-     *  group of digits to the left of the decimal separator.
-     *  Subsequent numbers define the number of digits in subsequent
-     *  groups to the left. Thus the string "3;2;*"
-     *  indicates that a grouping separator is placed after the first
-     *  group of 3 digits, followed by groups of 2 digits.
-     *  For example: 98,76,54,321

-     *
-     *
The following table shows examples of formatting the
-     *  number 123456789.12 with various grouping patterns.
-     *  The grouping separator is a comma and the decimal separator
-     *  is a period.
-     *

-     *

-     *

-     *                Grouping Pattern
-     *                Sample Format
-     *

-     *

-     *                3;*
-     *                123,456,789.12
-     *

-     *

-     *                3;2;*
-     *                12,34,56,789.12
-     *

-     *

-     *                3
-     *                123456,789.12
-     *

-     *

-     *
-     *
Only a limited number of grouping sizes can be defined.
-     *  On some operating systems, grouping patterns can only contain
-     *  two numbers plus an asterisk. Other operating systems can
-     *  support up to four numbers and an asterisk.
-     *  For patterns without an asterisk, some operating systems
-     *  only support one number while others support up to three numbers.
-     *  If the maximum number of grouping pattern elements is exceeded,
-     *  then additional elements
-     *  are ignored and the lastOperationStatus property
-     *  is set to indicate that a fall back value is
-     *  being used.
-     *

-     *
-     *  @throws TypeError if this property is assigned a null value.
-     *
-     *  @default dependent on the locale and operating system.
-     *
-     *  @see #groupingSeparator
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-     */
-    public function get groupingPattern():String
-    {
-        return getBasicProperty(properties, GROUPING_PATTERN);
-    }
-
-    public function set groupingPattern(value:String):void
-    {
-        setBasicProperty(properties, GROUPING_PATTERN, value);
-        // donot override the default if grouping pattern is incorrect.
-        if (!parseGroupingPattern(value))
-            return;
     }

     //----------------------------------
@@ -606,7 +560,7 @@
     protected var decimalPointCountErrorOverride:String;

     [Inspectable(category="Errors", defaultValue="null")]
-
+    [Bindable("change")]
     /**
      *  Error message when the decimal separator character occurs more than
      *  once.
@@ -625,10 +579,15 @@

     public function set decimalPointCountError(value:String):void
     {
+        if (decimalPointCountErrorOverride &&
+            (decimalPointCountErrorOverride == value))
+            return;
+
         decimalPointCountErrorOverride = value;

         _decimalPointCountError = value ? value :
               resourceManager.getString("validators", "decimalPointCountError");
+        update();
     }

     //----------------------------------
@@ -647,7 +606,7 @@
     protected var fractionalDigitsErrorOverride:String;

     [Inspectable(category="Errors", defaultValue="null")]
-
+    [Bindable("change")]
     /**
      *  Error message when fraction digits exceeds the value specified
      *  by the fractionalDigits property.
@@ -667,10 +626,15 @@

     public function set fractionalDigitsError(value:String):void
     {
+        if (fractionalDigitsErrorOverride &&
+            (fractionalDigitsErrorOverride == value))
+            return;
+
         fractionalDigitsErrorOverride = value;

         _fractionalDigitsError = value ? value :
             resourceManager.getString("validators", "fractionalDigitsError");
+        update();
     }

     //----------------------------------
@@ -689,7 +653,7 @@
     protected var greaterThanMaxErrorOverride:String;

     [Inspectable(category="Errors", defaultValue="null")]
-
+    [Bindable("change")]
     /**
      *  Error message when the value exceeds the maxValue property.
      *
@@ -710,70 +674,34 @@
      */
     public function set greaterThanMaxError(value:String):void
     {
+        if (greaterThanMaxErrorOverride &&
+            (greaterThanMaxErrorOverride == value))
+            return;
+
         greaterThanMaxErrorOverride = value;

         _greaterThanMaxError = value ? value :
                    resourceManager.getString("validators", "exceedsMaxErrorNV");
-    }
-
-    //----------------------------------
-    //  groupingSeparationError
-    //----------------------------------
-
-    /**
-     *  @private
-     *  Storage for the groupingSeparationError property.
-     */
-    private var _groupingSeparationError:String;
-
-    /**
-     *  @private
-     */
-    protected var groupingSeparationErrorOverride:String;
+        update();
+    }
+
+    //----------------------------------
+    //  invalidCharError
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the invalidCharError property.
+     */
+    private var _invalidCharError:String;
+
+    /**
+     *  @private
+     */
+    protected var invalidCharErrorOverride:String;

     [Inspectable(category="Errors", defaultValue="null")]
-
-    /**
-     *  Error message when the grouping separator is in incorrect location.
-     *
-     *  @default "The number digits grouping is not following the grouping
-     *  pattern."
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-     */
-    public function get groupingSeparationError():String
-    {
-        return _groupingSeparationError;
-    }
-
-    public function set groupingSeparationError(value:String):void
-    {
-        groupingSeparationErrorOverride = value;
-
-        _groupingSeparationError = value ? value :
-            resourceManager.getString("validators", "groupingSeparationError");
-    }
-
-    //----------------------------------
-    //  invalidCharError
-    //----------------------------------
-
-    /**
-     *  @private
-     *  Storage for the invalidCharError property.
-     */
-    private var _invalidCharError:String;
-
-    /**
-     *  @private
-     */
-    protected var invalidCharErrorOverride:String;
-
-    [Inspectable(category="Errors", defaultValue="null")]
-
+    [Bindable("change")]
     /**
      *  Error message when the value contains invalid characters.
      *
@@ -794,10 +722,15 @@
      */
     public function set invalidCharError(value:String):void
     {
+        if (invalidCharErrorOverride &&
+            (invalidCharErrorOverride == value))
+            return;
+
         invalidCharErrorOverride = value;

         _invalidCharError = value ? value :
             resourceManager.getString("validators", "invalidCharError");
+        update();
     }

     //----------------------------------
@@ -816,7 +749,7 @@
     protected var invalidFormatCharsErrorOverride:String;

     [Inspectable(category="Errors", defaultValue="null")]
-
+    [Bindable("change")]
     /**
      *  Error message when the value contains invalid format characters, which
      *  means that it contains a digit or minus sign (-) as a separator
@@ -836,10 +769,15 @@

     public function set invalidFormatCharsError(value:String):void
     {
+        if (invalidFormatCharsErrorOverride &&
+            (invalidFormatCharsErrorOverride == value))
+            return;
+
         invalidFormatCharsErrorOverride = value;

         _invalidFormatCharsError = value ? value :
             resourceManager.getString("validators", "invalidFormatCharsError");
+        update();
     }

     //----------------------------------
@@ -858,7 +796,7 @@
     protected var lessThanMinErrorOverride:String;

     [Inspectable(category="Errors", defaultValue="null")]
-
+    [Bindable("change")]
     /**
      *  Error message when the value is less than the minValue.
      *
@@ -876,10 +814,15 @@

     public function set lessThanMinError(value:String):void
     {
+        if (lessThanMinErrorOverride &&
+            (lessThanMinErrorOverride == value))
+            return;
+
         lessThanMinErrorOverride = value;

         _lessThanMinError = value ? value :
             resourceManager.getString("validators", "lowerThanMinError");
+        update();
     }

     //----------------------------------
@@ -893,6 +836,8 @@
     protected var localeUndefinedErrorOverride:String;

     [Inspectable(category="Errors", defaultValue="null")]
+    [Bindable("change")]
+
     /**
      *  Error message when the locale is undefined or is not available.
      *
@@ -910,10 +855,15 @@

     public function set localeUndefinedError(value:String):void
     {
+        if (localeUndefinedErrorOverride &&
+            (localeUndefinedErrorOverride == value))
+            return;
+
         localeUndefinedErrorOverride = value;

         _localeUndefinedError = value ? value :
             resourceManager.getString("validators", "localeUndefinedError");
+        update();
     }

     //----------------------------------
@@ -932,6 +882,7 @@
     protected var negativeErrorOverride:String;

     [Inspectable(category="Errors", defaultValue="null")]
+    [Bindable("change")]

     /**
      *  Error message when the value is negative and the
@@ -951,10 +902,15 @@

     public function set negativeError(value:String):void
     {
+        if (negativeErrorOverride &&
+            (negativeErrorOverride == value))
+            return;
+
         negativeErrorOverride = value;

         _negativeError = value ? value :
                        resourceManager.getString("validators", "negativeError");
+        update();
     }

     //----------------------------------
@@ -973,6 +929,7 @@
     protected var negativeSymbolErrorOverride:String;

     [Inspectable(category="Errors", defaultValue="null")]
+    [Bindable("change")]

     /**
      *  Error message when the negative symbol is repeated or is in wrong place.
@@ -991,10 +948,15 @@

     public function set negativeSymbolError(value:String):void
     {
+        if (negativeSymbolErrorOverride &&
+            (negativeSymbolErrorOverride == value))
+            return;
+
         negativeSymbolErrorOverride = value;

         _negativeSymbolError = value ? value :
             resourceManager.getString("validators", "negativeSymbolError");
+        update();
     }

     //----------------------------------
@@ -1013,7 +975,8 @@
     protected var notAnIntegerErrorOverride:String;

     [Inspectable(category="Errors", defaultValue="null")]
-
+    [Bindable("change")]
+
     /**
      *  Error message when the number must be an integer, as defined
      *  by the domain property.
@@ -1032,10 +995,14 @@

     public function set notAnIntegerError(value:String):void
     {
+        if (notAnIntegerErrorOverride &&
+            (notAnIntegerErrorOverride == value))
+            return;
         notAnIntegerErrorOverride = value;

         _notAnIntegerError = value ? value :
             resourceManager.getString("validators", "integerError");
+        update();
     }

     //----------------------------------
@@ -1049,6 +1016,8 @@
     protected var parseErrorOverride:String;

     [Inspectable(category="Errors", defaultValue="null")]
+    [Bindable("change")]
+
     /**
      *  Error message when number could not be parsed.
      *
@@ -1069,13 +1038,16 @@
      */
     public function set parseError(value:String):void
     {
+        if (parseErrorOverride &&
+            (parseErrorOverride == value))
+            return;
+
         parseErrorOverride = value;

         _parseError = value ? value :
             resourceManager.getString("validators", "parseError");
-    }
-
-
+        update();
+    }

     //--------------------------------------------------------------------------
     //
@@ -1107,10 +1079,6 @@
      */
     mx_internal function createWorkingInstanceCore(validatorType:int):void
     {
-        // release this array as it contains symbols based on previous locale
-        // grouping pattern.
-        groupingPatternSymbols = null;
-
         if (validatorType == NUMBER_VALIDATOR_TYPE)
             g11nWorkingInstance
             = new spark.formatters.NumberFormatter();
@@ -1169,15 +1137,193 @@
     }

     /**
+    *  @private
+    *  get the index of first digit.
+    */
+    mx_internal function indexOfFirstDigit(input:String, len:int,
+                                           start:int=0):int
+    {
+        if (!input || !len)
+            return -1;
+        for (var i:int = start; i < len; i++)
+        {
+            var c0:int = input.charCodeAt(i);
+            var c32:int = processSurrogates(input, c0, i, len);
+            if (c32 == -1)
+                return -1;
+            if (isDigit(c32))
+                return i;
+            if (c0 != c32)
+                i++;  // surrogate found. index increment for lower surrogate.
+        }
+        return -1;
+    }
+
+    /**
+     *  @private
+     *  get the index of last digit.
+     */
+    mx_internal function indexOfLastDigit(input:String, len:int,
+                                          end:int):int
+    {
+        if (!input || !len)
+            return -1;
+        for (var i:int = end; i >= 0; i--)
+        {
+
+            var c0:int = input.charCodeAt(i);
+            var c32:int = processSurrogates(input, c0, i, len);
+            if (c32 == -1)
+                return -1;
+            if (c0 != c32)
+                i--;  // surrogate found. index decrement for lower surrogate.
+            if (isDigit(c32))
+                return i;
+        }
+        return -1;
+    }
+
+    /**
+     *  @private
+     */
+    mx_internal function inputHasMultipleNegativeSymbols(input:String):Boolean
+    {
+        if (!input)
+            return false;
+
+        var nflag:Boolean = false;
+        var gflag:Boolean = false;
+        var i:int = 0;
+        var c:String;
+
+        if (negativeSymbol == decimalSeparator)
+        {
+            nflag = true;
+        }
+        else
+        {
+            for (i = 0; i < NEGATIVE_SYMBOLS.length; i++)
+            {
+                c = NEGATIVE_SYMBOLS.charAt(i);
+                if (decimalSeparator == c)
+                {
+                    nflag = true;
+                    break;
+                }
+            }
+        }
+
+        if (negativeSymbol == groupingSeparator)
+        {
+            gflag = true
+        }
+        else
+        {
+            for (i = 0; i < NEGATIVE_SYMBOLS.length; i++)
+            {
+                c = NEGATIVE_SYMBOLS.charAt(i);
+                if (groupingSeparator == c)
+                {
+                    gflag = true;
+                    break;
+                }
+            }
+        }
+
+
+        if (!nflag && !gflag && (input.indexOf(negativeSymbol) !=
+                                input.lastIndexOf(negativeSymbol)))
+        {
+            return true;
+        }
+
+        var nsymbols:String = NEGATIVE_SYMBOLS + negativeSymbol;
+        var ncount:int = 0;
+        for (i = 0; i < input.length; i++)
+        {
+            c = input.charAt(i);
+            if (nsymbols.indexOf(c) != -1)
+                ncount++;
+        }
+
+        if (!gflag)
+        {
+
+            if (!nflag)
+            {
+                if (ncount > 1)
+                    return true;
+            }
+            else
+            {
+                if (ncount > 2)
+                    return true;
+            }
+        }
+
+        return false;
+    }
+
+    /**
+     *  @private
+     */
+    mx_internal function inputHasNegativeSymbol(input:String):Boolean
+    {
+        if (!input)
+            return false;
+
+        if (input.indexOf(negativeSymbol) != -1)
+            return true;
+
+        for (var i:int = 0; i < input.length; i++)
+        {
+            var c:String = input.charAt(i);
+            if (NEGATIVE_SYMBOLS.indexOf(c) != -1)
+                return true;
+        }
+        return false;
+    }
+
+    /**
+     *  @private
+     *  Check if it is a digit..
+     */
+    private function isDigit(codepoint:int):Boolean
+    {
+        if (GlobalizationUtils.isDigit(codepoint))
+            return true;
+        // Adding 9 may not be right always. But there is no way for user to
+        // communicate the highest digit.
+        if ((codepoint >= digitsType) && (codepoint <= digitsType + 9 ))
+            return true;
+        return false;
+    }
+
+    /**
+     *  @private
+     */
+    mx_internal function isNegativeSymbol(input:String):Boolean
+    {
+        if (!input)
+            return false;
+
+        if (input == negativeSymbol)
+            return true;
+        for (var i:int = 0; i < NEGATIVE_SYMBOLS.length; i++)
+        {
+            var c:String = NEGATIVE_SYMBOLS.charAt(i);
+            if (input == c)
+                return true;
+        }
+        return false;
+    }
+
+    /**
      *  @private
      *  Load the error strings overrides.
      */
     mx_internal function loadChangedResources():void
     {
-        allowNegative = allowNegativeOverride;
-        domain = domainOverride;
-        maxValue = maxValueOverride;
-        minValue = minValueOverride;
         decimalPointCountError = decimalPointCountErrorOverride;
         greaterThanMaxError = greaterThanMaxErrorOverride;
         notAnIntegerError = notAnIntegerErrorOverride;
@@ -1187,84 +1333,67 @@
         negativeError = negativeErrorOverride;
         negativeSymbolError = negativeSymbolErrorOverride;
         fractionalDigitsError = fractionalDigitsErrorOverride;
-        groupingSeparationError = groupingSeparationErrorOverride;
         parseError = parseErrorOverride;
         localeUndefinedError = localeUndefinedError;
     }

-    /**
-     *  @private
-     */
-    mx_internal var groupingPatternSymbols:Array;
-
-    /**
-     *  @private
-     *  Parse the grouping pattern and store the grouping information.
-     *
-     *
 Parse the grouping pattern and store the grouping information. The
-     *  stored grouping information is used by the validateGrouping() method.
-     *

-     *
-     *  @param  value  String specifying grouping pattern.
-     *  @returns Boolean true or false.
-     *
-     */
-    mx_internal function parseGroupingPattern(value:String):Boolean
-    {
-        var last_is_digit:int = 0;
-        var p:String;
-
-        if (!value)
+    private function inputHasNoDigits(input:String):Boolean
+    {
+        if (!input)
             return false;
-
-        var length:int = value.length;
-
-        if ((length >= PATTERN_LENGTH_LIMIT) ||
-           (value.charAt(length - 1) == ";"))
-        {
-            return false;
-        }
-        groupingPatternSymbols = new Array();
-        var i:int = 0;
-        while(length)
-        {
-            p = value.charAt(i);
-            var pnum:Number = Number(p);
-
-            if ((!last_is_digit) && ((pnum >= 1) && (pnum <= 9)))
-            {
-                ++i;
-                length--;
-                last_is_digit = 1;
-                groupingPatternSymbols.push(p);
-            }
-            else if ((last_is_digit) && (p == ";"))
-            {
-                ++i;
-                length--;
-                last_is_digit = 0;
-            }
-            else if ((!last_is_digit) && ( p == "*" ))
-            {
-                ++i;
-                length--;
-                groupingPatternSymbols.push(p);
-                if (length == 0)
-                    return true;
-                else
-                {
-                    groupingPatternSymbols.length = 0;
-                    return false;
-                }
-            }
-            else
-            {
-                groupingPatternSymbols.length = 0;
+
+        for (var i:int; i < input.length; i++)
+        {
+            var c0:int = input.charCodeAt(i);
+            var c1:int = processSurrogates(input, c0, i, input.length);
+            if (c1 == -1)
+                continue;
+            if (c0 != c1)
+                i++;
+            if (isDigit(c1))
                 return false;
-            }
         }
         return true;
     }
+    /**
+     *  @private
+     */
+     mx_internal function processSurrogates(input:String, c0:int, index:int,
+                                            len:int):int
+     {
+         var j:int = 0;
+         var c1:int;
+         if (GlobalizationUtils.isLeadingSurrogate(c0))
+         {
+            j = index + 1;
+             if (j < len)
+             {
+                 c1 = input.charCodeAt(j);
+                 if (GlobalizationUtils.isTrailingSurrogate(c1))
+                     c0 = GlobalizationUtils.surrogateToUTF32(c0, c1);
+                 else
+                     return -1;
+             }
+             else
+                 return -1;
+         }
+         else if (GlobalizationUtils.isTrailingSurrogate(c0))
+         {
+             j = index - 1;
+             if (j >= 0)
+             {
+                 c1 = input.charCodeAt(j);
+                 if (GlobalizationUtils.isLeadingSurrogate(c1))
+                     c0 = GlobalizationUtils.surrogateToUTF32(c1, c0);
+                 else
+                     return -1;
+             }
+             else
+                 return -1;
+         }
+
+         return c0;
+     }

     /**
      *  @private
@@ -1290,32 +1419,47 @@
      */
     mx_internal function validateDecimalString(input:String,
                                                baseField:String,
-                                               results:Array):Boolean
+                                               results:Array,
+                                               negPosLeft:Boolean):Boolean
     {
         if (!input)
             return true;

-        const dindex:int = input.indexOf(decimalSeparator);
+        var dindex:int;
+        if (negPosLeft)
+            dindex = input.lastIndexOf(decimalSeparator);
+        else
+            dindex = input.indexOf(decimalSeparator);
         var c:String;
-
+        var i:int;
+        var c0:int;
+        var c1:int;
         if (dindex == -1)
             return true;

-        for (var i:int = input.length - 1; i > dindex; i--)
-        {
-            c = input.charAt(i);
-            if (DECIMAL_DIGITS.indexOf(c) != -1)
+        for (i = input.length; i > dindex; i--)
+        {
+            c0 = input.charCodeAt(i);
+            c1 = processSurrogates(input, c0, i, eindex);
+            if (c1 == -1)
+                return false; //illegal surrogate
+            if (isDigit(c1))
                 break;
-        }
-
+            if (c0 != c1)
+                    i--; // digit was surrogate. increment string index.
+        }
         var eindex:int = i;
         i = dindex + decimalSeparator.length;

         for (; i < eindex; i++)
         {
-            c = input.charAt(i);
-            if (DECIMAL_DIGITS.indexOf(c) != -1)
+            c0 = input.charCodeAt(i);
+            c1 = processSurrogates(input, c0, i, eindex);
+
+            if ((c1 != -1) && isDigit(c1))
             {
+                if (c0 != c1)
+                    i++; // digit was surrogate. increment string index.
                 continue;
             }
             else
@@ -1386,7 +1530,16 @@

             // There may not be any digits after the decimal
             // if domain is int.
-            if ((i < len) && (DECIMAL_DIGITS.indexOf(input.charAt(i)) != -1))
+            var c0:int = input.charCodeAt(i);
+            var c32:int = processSurrogates(input, c0, i, len);
+            if (c32 == -1)
+            {
+                results.push(new ValidationResult(
+                    true, baseField, "invalidChar", invalidCharError));
+                return false;
+            }
+
+            if ((i < len) && isDigit(c32))
             {
                 if (domain == NumberValidatorDomainType.INT)
                 {
@@ -1398,9 +1551,19 @@

             for (;i < len; i++)
             {
+                c0 = input.charCodeAt(i);
+                c32 = processSurrogates(input, c0, i, len);
+                if (c32 == -1)
+                {
+                    results.push(new ValidationResult(
+                        true, baseField, "invalidChar", invalidCharError));
+                    return false;
+                }
+                if (c0 != c32)
+                    i++; // surrogate found. increment index of lower surrogate.
                 ++numDigitsAfterDecimal;
                 // break at ) or - or currency string when validatng fractions.
-                if (DECIMAL_DIGITS.indexOf(input.charAt(i)) == -1)
+                if (!isDigit(c32))
                     break;

                 // Make sure fractionalDigits is not exceeded.
@@ -1416,86 +1579,6 @@
         }
         return true;
     }
-    /**
-     *  @private
-     *  Validate the grouping of digits in the number string.
-     *
-     *
This method is called by both currency and number validator.
-     *  The algorithm is to
-     *  1. Start from the decimal end of the input string.
-     *  2. Find the index 'grSepIndex' of all grouping separators in the input
-     *     string.
-     *  3. Compute the supposed grouping symbol index 'sepIndex' per grouping
-     *     pattern.
-     *  4. Make sure that these two are same.

-     *
-     *  @param input String representing number being validated
-     *  @param end   Index of last character in the input string.
-     *  @returns Boolean true or false depending on grouping check.
-     */
-    mx_internal function validateGrouping(input:String, end:int):Boolean
-    {
-        if (!input)
-            return true;
-
-        // Be lenient on grouping separator. If grouping separator is not used,
-        // treat it as correct. mx:Validators have same behaviour.
-        if (input.indexOf(groupingSeparator) == -1)
-            return true;
-        if (groupingPatternSymbols == null)
-            parseGroupingPattern(groupingPattern);
-        const len:int = groupingPatternSymbols.length;
-
-        var j:int = 0;
-        var grPatNum:int = 0;
-        var sepIndex:int = end;
-        var i:int = 0;
-
-        while (sepIndex > 0)
-        {
-            var grPat:String;
-            // lastIndexOf() method searches upto including second parameter.
-            // Hence decrement sepIndex for next iteration if a separator
-            // symbol is found.
-            var grSepIndex:int = input.lastIndexOf(groupingSeparator, sepIndex);
-
-            if (j < len)
-            {
-                grPat = groupingPatternSymbols[j];
-            }
-            else if (grPat != "*")
-            {
-                grPat = "0";
-                sepIndex = -1; // no more checking of grouping symbol
-            }
-
-            if (grPat != "*")
-                grPatNum = Number(grPat);
-
-            // grouping separator could be before the actual index. i.e. in case
-            // of 3;3;* 123,3,45,678.56 grouping separator happens before the
-            // exact position.
-            var sepIndexCurrent:int = sepIndex - grPatNum -
-                                      (groupingSeparator.length - 1);
-            // special case: 1234^^^456^^^789, grouping pattern 3;*
-            if ((sepIndexCurrent < 0) && (grSepIndex < 0) &&
-                                               (sepIndex < grPatNum))
-                return true;
-            //enough digits, but no separator.
-            if ((grSepIndex < 0) && (sepIndex >= grPatNum))
-                return false;
-            sepIndex = sepIndexCurrent;
-            // case of 12,,345.56. grSepIndex is 2 and sepIndex = -1
-            if (sepIndex != grSepIndex)
-                return false;
-
-            // increase j to get the next grouping pattern symbol in the array
-            // decrement sepIndex to skip grouping separator already found.
-            j++;
-            sepIndex--;
-        }
-        return true;
-    }

     /**
      *  @private
@@ -1534,7 +1617,15 @@
             const c:String = input.charAt(i);
             if (validChars.indexOf(c) == -1)
             {
-                if (GlobalizationUtils.isWhiteSpace(c.charCodeAt(0)))
+                var c0:int = c.charCodeAt(0);
+                var c32:int = processSurrogates(input, c0, i, len);
+                if (c32 == -1)
+                    return true;
+                else if (c0 != c32) // surrogate. increment string index.
+                    i++;
+                if (isDigit(c0))
+                    continue;
+                if (GlobalizationUtils.isWhiteSpace(c0))
                     continue;
                 return true;
             }
@@ -1597,32 +1688,20 @@
             }
         }

-        if ((decimalSeparator == groupingSeparator) ||
-            (negativeSymbol == groupingSeparator) ||
-            (decimalSeparator == negativeSymbol))
+        if (decimalSeparator == groupingSeparator)
         {
             results.push(new ValidationResult(
                true, baseField, "invalidFormatChars", invalidFormatCharsError));
             return false;
         }
-        // handle "-." special case
-        else if (input == (negativeSymbol + decimalSeparator))
+        else if (inputHasNoDigits(input))
         {
             results.push(new ValidationResult(
-                true, baseField, "invalidChar", invalidCharError));
+                true, baseField, "parseError", parseError));
             return false;
         }
-        // handle "(.)" special case
-        else if (input == ("(" + decimalSeparator + ")"))
-        {
-            results.push(new ValidationResult(
-                true, baseField, "invalidChar", invalidCharError));
-            return false;
-        }
-        else if (input.indexOf(negativeSymbol) !=
-                 input.lastIndexOf(negativeSymbol))
-        {
-
+        else if (inputHasMultipleNegativeSymbols(input))
+        {
             results.push(new ValidationResult(
                     true, baseField, "negativeSymbol", negativeSymbolError));
             return false;


added check for flash debugger

added check for flash debugger

--- WeaveCore/src/weave/core/ProgressIndicator.as
+++ WeaveCore/src/weave/core/ProgressIndicator.as
@@ -15,6 +15,7 @@

 package weave.core
 {
+	import flash.system.Capabilities;
 	import flash.utils.Dictionary;

 	import mx.rpc.AsyncResponder;
@@ -47,7 +48,7 @@
 			{
 				var desc:String = _description[task] || "Unnamed task";
 				if (desc)
-					result.push("(" + StandardLib.roundSignificant(100*_progress[task], 3) + "%) " + desc);
+					result.push(debugId(task) + " (" + StandardLib.roundSignificant(100*_progress[task], 3) + "%) " + desc);
 			}
 			StandardLib.sort(result);
 			return result;
@@ -178,7 +179,11 @@
 			{
 				var stackTrace:String = _stackTrace[i]; // check this when debugging
 				var description:String = _description[i];
-				trace(debugId(i), description, stackTrace);
+				var args:Array = [debugId(i), description, stackTrace];
+				if (Capabilities.isDebugger)
+					trace.apply(null, args);
+				else
+					weaveTrace.apply(null, args);
 			}
 		}
 	}


Now clearing tile index when url pattern changes.

Change-Id: I59044fa435c4708984880922bfffef3d26a6073f

--- WeaveData/src/weave/services/wms/CustomWMS.as
+++ WeaveData/src/weave/services/wms/CustomWMS.as
@@ -25,7 +25,6 @@
 		public function CustomWMS()
 		{
 			_currentTileIndex = new WMSTileIndex();
-			getCallbackCollection(this).triggerCallbacks();
 		}

 		override public function getProjectionSRS():String
@@ -81,6 +80,8 @@

 		private function getImageAttributes():void
 		{
+			_currentTileIndex = new WMSTileIndex();
+
 			if (!wmsURL.value)
 				return;


bump version

bump version

--- src/ss5player/SS5Player.as
+++ src/ss5player/SS5Player.as
@@ -10,7 +10,7 @@
 		/**
 		 * Current version of SS5Player.
 		 */
-		public static const VERSION:String = "0.2.0";
+		public static const VERSION:String = "0.2.1";

 		public function SS5Player() {
 			super();


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package mx.olap
 {


Transferred from the Adobe Open Source Subversion Repository

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

--- frameworks/projects/mobilecomponents/src/MobileComponentsClasses.as
+++ frameworks/projects/mobilecomponents/src/MobileComponentsClasses.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
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17305
Author:   gruehle@adobe.com
Date:     2010-08-12T21:18:50.910120Z

Log Message:
-----------
This revision includes the following changes:
* Text skin parts for Spark components changed from TextBase and RichEditableText to IDisplayText and IEditableText
* TextBase implements IDisplayText
* RichEditableText implements IEditableText
* New mobile skins for TextInput and TextArea (TextArea appearance is placeholder for now)
* Add a TOUCH_SCROLL_STARTING handler to SkinnableTextBase. This handler prevents the touch scroll from happening if the text is selectable or editable.
* Change global contentBackgroundColor to #3F3F3F and mobile application backgroundColor to #484848

Now that text skin parts are interfaces they need to be cast to concrete types in a bunch of places. There are two general approaches taken here:
* For required functionality, cast to a known type like InteractiveObject
* For optional functionality, cast to the desired type using “as” and wrap the code with a null check.

QE notes: Mobile TextInput is ready for testing. TextArea has some issues with resizing, so testing should wait for now.
Doc notes: -
Bugs: -
Reviewer: Jason Szeto, Corey L.
Tests run: full mustella pass (thank you cyclone server!), checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInput_border.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileTextField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ComboBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkComboBoxAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/MobileThemeClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/accessibility/VideoPlayerAccImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/FormItem.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/FormHeading.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/MobileComponentsClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichEditableText.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/accessibility/PanelAccImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/DefaultColumnHeaderRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkSkinnableTextBaseAutomationImpl.as</path>

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

--- frameworks/projects/mobilecomponents/src/MobileComponentsClasses.as
+++ frameworks/projects/mobilecomponents/src/MobileComponentsClasses.as
@@ -24,5 +24,6 @@
  *  but ButtonSkin needs to be in framework.swc along with Button.
  */
     import spark.preloaders.SplashScreen; SplashScreen;
+    import spark.components.supportClasses.MobileTextField; MobileTextField;
 }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 19226
Author:   harishs@adobe.com
Date:     2010-12-09T18:33:35.483731Z

Log Message:
-----------
QE notes:
Doc notes: Updated asdocs for spark validators/sort/sortfield
Bugs:
Reviewer:
Tests run:
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/MatchingCollatorExample.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/collections/SortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/SortField.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/examples/SortingCollatorExample.mxml</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/SortingCollatorExample.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/examples/StringToolsExample.mxml</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/examples</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/collections/Sort.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/StringToolsExample.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/Sort.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/NumberValidator.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/examples/MatchingCollatorExample.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/CurrencyValidator.as</path>

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

--- frameworks/projects/spark/src/spark/validators/CurrencyValidator.as
+++ frameworks/projects/spark/src/spark/validators/CurrencyValidator.as
@@ -102,6 +102,9 @@
  *  />
  *  </pre>
  *
+ *
+ *  @includeExample examples/CurrencyValidatorExample1.mxml
+ *
  *  @see flash.globalization.CurrencyFormatter
  *
  *  @langversion 3.0


Transferred from the Adobe Open Source Subversion Repository

Revision: 1098
Author:   jimurphy@adobe.com
Date:     2008-04-03T21:50:39.896200Z

Log Message:
-----------
Merge 3.0.x -- 362:394, 427:429, 603:608, 644:645, 651:663, 672:676, 755:756, 763:766, 785:790, 812:814, 854:861, 862:866, 866:933,971:1009, 1050:1056 --> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/DefaultDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VRule.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/IList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/LayoutManager.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/framework/src/mx/core/IRepeaterClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/VideoError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/HTTPRequestMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/Locale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/Responder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/MessageSerializationError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/SOAPMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IBrowserManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ComponentDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/FaultEvent.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/collections/IViewCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/AbstractWebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Tween.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/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/menuClasses/IMenuItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridBase.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/preloaders/Preloader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ILayoutManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Spacer.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/rpc/src/mx/rpc/Fault.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/XMLListCollection.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectTargetFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SliderEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncToken.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/ScrollEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/CuePointManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/NumericStepperEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/BrowserManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/events/ChannelFaultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/CursorBookmark.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/WSDLLoadEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/LoadEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ListCollectionView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/FlexClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/SubscriptionInfo.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/DescribeTypeCache.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/logging/LogLogger.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageAgent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/build_framework.xml</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/rpc/src/mx/rpc/events/HeaderEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridDragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/DownloadProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/ITreeDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemDragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as</path>

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

--- frameworks/projects/airframework/src/mx/core/Window.as
+++ frameworks/projects/airframework/src/mx/core/Window.as
@@ -1947,8 +1947,9 @@
 			var sm:WindowedSystemManager = new WindowedSystemManager(this);
 			_nativeWindow.stage.addChild(sm);
 	    	systemManager = sm;
-	    	sm.$addChild(this);
+
 	    	sm.window = this;
+
 	    	_nativeWindow.alwaysInFront = _alwaysInFront;
 	    	initManagers(sm);
 	     	addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);


Transferred from the Adobe Open Source Subversion Repository

Revision: 12457
Author:   smgilson@adobe.com
Date:     2009-12-03T18:13:50.586970Z

Log Message:
-----------
asdoc updates for localization

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransitionShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Keyframe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/AnchorStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Wipe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/IEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>

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

--- frameworks/projects/framework/src/mx/effects/Effect.as
+++ frameworks/projects/framework/src/mx/effects/Effect.as
@@ -30,8 +30,8 @@

 /**
  *  Dispatched when the effect finishes playing,
- *  either when the effect finishes playing or when the effect has
- *  been interrupted by a call to the end() method.
+ *  either when the effect finishes playing or when the effect
+ *  is interrupted by a call to the end() method.
  *
  *  @eventType mx.events.EffectEvent.EFFECT_END
  *
@@ -44,9 +44,9 @@

 /**
  *  Dispatched when the effect has been stopped,
- *  which only occurs when the effect has
- *  been interrupted by a call to the stop() method.
- *  The EFFECT_END event will also be dispatched to indicate that
+ *  which only occurs when the effect is
+ *  interrupted by a call to the stop() method.
+ *  The EFFECT_END event is also dispatched to indicate that
  *  the effect has ended. This extra event is sent first, as an
  *  indicator to listeners that the effect did not reach its
  *  end state.
@@ -239,7 +239,7 @@
     // can choose to have the older behavior instead.
     /**
      * This flag controls whether the effect, when run in a transition,
-     * will automatically apply the property values according to the end
+     * automatically applies the property values according to the end
      * state, as opposed to leaving values as set by the effect itself.
      *
      * @default true
@@ -275,7 +275,7 @@

     /**
      *  @private
-	 *  Used in applyValueToTarget()
+     *  Used in applyValueToTarget()
      */
     mx_internal var applyActualDimensions:Boolean = true;

@@ -360,9 +360,9 @@
     private var _duration:Number = 500;

     /**
-	 *  @private
-	 */
-	mx_internal var durationExplicitlySet:Boolean = false;
+     *  @private
+     */
+    mx_internal var durationExplicitlySet:Boolean = false;

     [Inspectable(category="General", defaultValue="500", minValue="0.0")]

@@ -401,10 +401,10 @@
     //----------------------------------

     /**
-	 *  @private
-	 *  Storage for the effectTargetHost property.
-	 */
-	private var _effectTargetHost:IEffectTargetHost;
+     *  @private
+     *  Storage for the effectTargetHost property.
+     */
+    private var _effectTargetHost:IEffectTargetHost;

     /**
      *  @copy mx.effects.IEffect#effectTargetHost
@@ -433,13 +433,13 @@

     /**
      *  A flag containing true if the end values
-	 *  of an effect have already been determined,
+     *  of an effect have already been determined,
      *  or false if they should be acquired from the
-	 *  current properties of the effect targets when the effect runs.
+     *  current properties of the effect targets when the effect runs.
      *  This property is required by data effects because the sequence
-	 *  of setting up the data effects, such as DefaultListEffect
-	 *  and DefaultTileListEffect, is more complicated than for
-	 *  normal effects.
+     *  of setting up the data effects, such as DefaultListEffect
+     *  and DefaultTileListEffect, is more complicated than for
+     *  normal effects.
      *
      *  @default false
      *
@@ -565,11 +565,11 @@
     //  hideFocusRing
     //----------------------------------

-	/**
-	 *  @private
-	 *  Storage for the hideFocusRing property.
-	 */
-	private var _hideFocusRing:Boolean = false;
+    /**
+     *  @private
+     *  Storage for the hideFocusRing property.
+     */
+    private var _hideFocusRing:Boolean = false;

     /**
      *  @copy mx.effects.IEffect#hideFocusRing
@@ -608,7 +608,7 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-	public var instanceClass:Class = IEffectInstance;
+    public var instanceClass:Class = IEffectInstance;

     //----------------------------------
@@ -632,11 +632,11 @@
     //  perElementOffset
     //----------------------------------

-	/**
-	 *  @private
-	 *  Storage for the perElementOffset property.
-	 */
-	private var _perElementOffset:Number = 0;
+    /**
+     *  @private
+     *  Storage for the perElementOffset property.
+     */
+    private var _perElementOffset:Number = 0;

     [Inspectable(defaultValue="0", category="General", verbose="0", minValue="0.0")]

@@ -649,17 +649,17 @@
      *  @productversion Flex 3
      */
     public function get perElementOffset():Number
-	{
-		return _perElementOffset;
-	}
-
-	/**
-	 *  @private
-	 */
-	public function set perElementOffset(value:Number):void
-	{
-		_perElementOffset = value;
-	}
+    {
+        return _perElementOffset;
+    }
+
+    /**
+     *  @private
+     */
+    public function set perElementOffset(value:Number):void
+    {
+        _perElementOffset = value;
+    }

     //----------------------------------
     //  relevantProperties
@@ -701,7 +701,7 @@

     /**
      *  @private
-	 *  Storage for the relevantStyles property.
+     *  Storage for the relevantStyles property.
      */
     private var _relevantStyles:Array /* of String */ = [];

@@ -808,10 +808,10 @@
      *  However, the property should be set to false
      *  if either of the following is true:

      *

-     *
User input may arrive while the effect is playing,
+     *
User input can arrive while the effect is playing,
      *    and the application must respond to the user input
      *    before the effect finishes playing.

-     *
A response may arrive from the server while the effect
+     *
A response can arrive from the server while the effect
      *    is playing, and the application must process the response
      *    while the effect is still playing.

      *

@@ -919,9 +919,9 @@
      *  @productversion Flex 3
      */
     public function get triggerEvent():Event
-	{
-		return _triggerEvent;
-	}
+    {
+        return _triggerEvent;
+    }

     /**
      *  @private
@@ -1115,7 +1115,7 @@
      *
      *
When you create a custom effect, override this method to
      *  copy properties from the Effect class to the effect instance class.
-     *  In your override, you must call super.initInstance().

+     *  In your override, call super.initInstance().

      *
      *  @param EffectInstance The effect instance to initialize.
      *
@@ -1129,8 +1129,8 @@
         instance.duration = duration;
         Object(instance).durationExplicitlySet = durationExplicitlySet;
         instance.effect = this;
-		instance.effectTargetHost = effectTargetHost;
-		instance.hideFocusRing = hideFocusRing;
+        instance.effectTargetHost = effectTargetHost;
+        instance.hideFocusRing = hideFocusRing;
         instance.repeatCount = repeatCount;
         instance.repeatDelay = repeatDelay;
         instance.startDelay = startDelay;
@@ -1148,7 +1148,7 @@
     public function deleteInstance(instance:IEffectInstance):void
     {
         EventDispatcher(instance).removeEventListener(
-			EffectEvent.EFFECT_START, effectStartHandler);
+            EffectEvent.EFFECT_START, effectStartHandler);
         EventDispatcher(instance).removeEventListener(
             EffectEvent.EFFECT_STOP, effectStopHandler);
         EventDispatcher(instance).removeEventListener(
@@ -1414,8 +1414,8 @@
      *  Used internally to grab the values of the relevant properties
      */
     mx_internal function captureValues(propChanges:Array,
-									   setStartValues:Boolean,
-									   targetsToCapture:Array = null):Array
+                                       setStartValues:Boolean,
+                                       targetsToCapture:Array = null):Array
     {
         var n:int;
         var i:int;
@@ -1775,7 +1775,7 @@
     }

     /**
-     *  Called when an effect instance has been stopped by a call
+     *  Called when an effect instance has stopped by a call
      *  to the stop() method.
      *  If you override this method, ensure that you call the super method.
      *


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

--- frameworks/projects/mx/src/mx/containers/DividedBox.as
+++ frameworks/projects/mx/src/mx/containers/DividedBox.as
@@ -28,6 +28,7 @@
 import mx.events.DividerEvent;
 import mx.managers.CursorManager;
 import mx.managers.CursorManagerPriority;
+import mx.styles.IStyleManager2;
 import mx.styles.StyleManager;

 use namespace mx_internal;
@@ -311,38 +312,6 @@

 	//--------------------------------------------------------------------------
 	//
-	//  Class properties
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 */
-	private static var classInitialized:Boolean = false;
-
-	//--------------------------------------------------------------------------
-	//
-	//  Class methods
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 *  This method gets called once at first instance construction
-	 *  rather than during class initialization.
-	 *  In order for calls to StyleManager methods to work,
-	 *  the factory class for the application or module
-	 *  must have already registered StyleManagerImpl with Singleton.
-	 *  This may not be the case at class initialization time.
-	 */
-	private static function initializeClass():void
-	{
-		StyleManager.registerSizeInvalidatingStyle("dividerAffordance");
-		StyleManager.registerSizeInvalidatingStyle("dividerThickness");
-	}
-
-	//--------------------------------------------------------------------------
-	//
 	//  Constructor
 	//
 	//--------------------------------------------------------------------------
@@ -359,13 +328,10 @@
 	{
 		super();

-		if (!classInitialized)
-		{
-			initializeClass();
-			classInitialized = true;
-		}
-
-		addEventListener(ChildExistenceChangedEvent.CHILD_ADD, childAddHandler);
+        styleManager.registerSizeInvalidatingStyle("dividerAffordance");
+        styleManager.registerSizeInvalidatingStyle("dividerThickness");
+
+        addEventListener(ChildExistenceChangedEvent.CHILD_ADD, childAddHandler);
 		addEventListener(ChildExistenceChangedEvent.CHILD_REMOVE,
 						 childRemoveHandler);

@@ -759,7 +725,7 @@
 			}
 		}

-		if (StyleManager.isSizeInvalidatingStyle(styleProp))
+		if (styleManager.isSizeInvalidatingStyle(styleProp))
 		{
 			layoutStyleChanged = true;
 		}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

Modified Paths:
--------------
147 paths were modified

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

--- frameworks/projects/rpc/src/mx/rpc/wsdl/WSDLService.as
+++ frameworks/projects/rpc/src/mx/rpc/wsdl/WSDLService.as
@@ -42,6 +42,11 @@

     /**
      * The unique name of this service.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get name():String
     {
@@ -50,6 +55,11 @@

     /**
      * Provides access to this service's map of ports.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get ports():Object
     {
@@ -65,6 +75,11 @@

     /**
      * Registers a port with this service.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function addPort(port:WSDLPort):void
     {
@@ -75,6 +90,11 @@

     /**
      * Retrieves a port by name.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function getPort(name:String):WSDLPort
     {