Transferred from the Adobe Open Source Subversion Repository

Revision: 19231
Author:   jszeto@adobe.com
Date:     2010-12-09T19:25:51.943016Z

Log Message:
-----------
Mobile Skin Fixes

Merging in revisions 18989-19158 from hero_skin_sandbox.

The following component skins have been updated and 320 DPI skins added:

Button
CheckBox
RadioButton
TextInput
TextArea
ActionBar
HSlider

Updating MobileSkins test project

QE notes: baseline regen
Doc notes: none
Bugs: none
Reviewer: Jason San Jose, Tom Krakit
Tests run: full cyclone
Is noteworthy for integration: yes, updated skins!

Modified Paths:
--------------
129 paths were modified

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/CheckBoxSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/CheckBoxSkin.as
@@ -18,11 +18,23 @@

 import spark.skins.mobile.supportClasses.SelectableButtonSkinBase;
 import spark.skins.mobile160.assets.CheckBox_down;
-import spark.skins.mobile160.assets.CheckBox_symbol;
+import spark.skins.mobile160.assets.CheckBox_downSymbol;
+import spark.skins.mobile160.assets.CheckBox_downSymbolSelected;
 import spark.skins.mobile160.assets.CheckBox_up;
+import spark.skins.mobile160.assets.CheckBox_upSymbol;
+import spark.skins.mobile160.assets.CheckBox_upSymbolSelected;
 import spark.skins.mobile240.assets.CheckBox_down;
-import spark.skins.mobile240.assets.CheckBox_symbol;
+import spark.skins.mobile240.assets.CheckBox_downSymbol;
+import spark.skins.mobile240.assets.CheckBox_downSymbolSelected;
 import spark.skins.mobile240.assets.CheckBox_up;
+import spark.skins.mobile240.assets.CheckBox_upSymbol;
+import spark.skins.mobile240.assets.CheckBox_upSymbolSelected;
+import spark.skins.mobile320.assets.CheckBox_down;
+import spark.skins.mobile320.assets.CheckBox_downSymbol;
+import spark.skins.mobile320.assets.CheckBox_downSymbolSelected;
+import spark.skins.mobile320.assets.CheckBox_up;
+import spark.skins.mobile320.assets.CheckBox_upSymbol;
+import spark.skins.mobile320.assets.CheckBox_upSymbolSelected;

 /**
  *  Actionscript based skin for CheckBox on mobile applications.
@@ -54,41 +66,62 @@

         useChromeColor = true;

+        layoutPaddingLeft = 0;
+        layoutPaddingRight = 0;
+        layoutPaddingTop = 0;
+        layoutPaddingBottom = 0;
+
         switch (authorDensity)
         {
+            case DeviceDensity.PPI_320:
+            {
+                upIconClass = spark.skins.mobile320.assets.CheckBox_up;
+                upSelectedIconClass = spark.skins.mobile320.assets.CheckBox_up;
+                downIconClass = spark.skins.mobile320.assets.CheckBox_down;
+                downSelectedIconClass = spark.skins.mobile320.assets.CheckBox_down;
+                upSymbolIconClass = spark.skins.mobile320.assets.CheckBox_upSymbol;
+                upSymbolIconSelectedClass = spark.skins.mobile320.assets.CheckBox_upSymbolSelected;
+                downSymbolIconClass = spark.skins.mobile320.assets.CheckBox_downSymbol;
+                downSymbolIconSelectedClass = spark.skins.mobile320.assets.CheckBox_downSymbolSelected;
+
+                layoutGap = 20;
+                layoutMeasuredWidth = 64;
+                layoutBorderSize = 4;
+
+                break;
+            }
             case DeviceDensity.PPI_240:
             {
                 upIconClass = spark.skins.mobile240.assets.CheckBox_up;
                 upSelectedIconClass = spark.skins.mobile240.assets.CheckBox_up;
                 downIconClass = spark.skins.mobile240.assets.CheckBox_down;
                 downSelectedIconClass = spark.skins.mobile240.assets.CheckBox_down;
-                symbolIconClass = spark.skins.mobile240.assets.CheckBox_symbol;
+                upSymbolIconClass = spark.skins.mobile240.assets.CheckBox_upSymbol;
+                upSymbolIconSelectedClass = spark.skins.mobile240.assets.CheckBox_upSymbolSelected;
+                downSymbolIconClass = spark.skins.mobile240.assets.CheckBox_downSymbol;
+                downSymbolIconSelectedClass = spark.skins.mobile240.assets.CheckBox_downSymbolSelected;

                 layoutGap = 15;
-                layoutPaddingLeft = 15;
-                layoutPaddingRight = 15;
-                layoutPaddingTop = 15;
-                layoutPaddingBottom = 15;
                 layoutMeasuredWidth = 48;
+                layoutBorderSize = 2;

                 break;
             }
             default:
             {
-                // TODO (jasonsj): 160ppi XD spec
                 // default PPI160
-                upIconClass = spark.skins.mobile160.assets.CheckBox_up;
+                upIconClass = spark.skins.mobile160.assets.CheckBox_up;
                 upSelectedIconClass = spark.skins.mobile160.assets.CheckBox_up;
                 downIconClass = spark.skins.mobile160.assets.CheckBox_down;
                 downSelectedIconClass = spark.skins.mobile160.assets.CheckBox_down;
-                symbolIconClass = spark.skins.mobile160.assets.CheckBox_symbol;
+                upSymbolIconClass = spark.skins.mobile160.assets.CheckBox_upSymbol;
+                upSymbolIconSelectedClass = spark.skins.mobile160.assets.CheckBox_upSymbolSelected;
+                downSymbolIconClass = spark.skins.mobile160.assets.CheckBox_downSymbol;
+                downSymbolIconSelectedClass = spark.skins.mobile160.assets.CheckBox_downSymbolSelected;

-                layoutGap = 15;
-                layoutPaddingLeft = 15;
-                layoutPaddingRight = 15;
-                layoutPaddingTop = 15;
-                layoutPaddingBottom = 15;
-                layoutMeasuredWidth = 48;
+                layoutGap = 10;
+                layoutMeasuredWidth = 32;
+                layoutBorderSize = 2;

                 break;
             }
@@ -110,8 +143,12 @@
     {
         // get the size and position of iconDisplay
         var currentIcon:DisplayObject = getIconDisplay();
-        // TODO (jasonsj): layout variables for chrome color shape
-        chromeColorGraphics.drawRoundRect(currentIcon.x + 2, currentIcon.y + 2, currentIcon.width - 4, currentIcon.height - 4, 4, 4);
+        var widthAdjustment:Number = layoutBorderSize * 2;
+
+        chromeColorGraphics.drawRoundRect(currentIcon.x + layoutBorderSize,
+            currentIcon.y + layoutBorderSize,
+            currentIcon.width - widthAdjustment,
+            currentIcon.height - widthAdjustment, layoutBorderSize, layoutBorderSize);
     }

     override public function get focusSkinExclusions():Array


Layabout checkin: asdoc cleanup.

Layabout checkin: asdoc cleanup.

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

--- src/as/com/threerings/util/HashMap.as
+++ src/as/com/threerings/util/HashMap.as
@@ -50,7 +50,7 @@
      *                     implement Hashable. The signature should be
      *                     "function (obj) :*", where the return type is
      *                     numeric or String. Two objects that are equals
-     *                     according to the specified equalsFn *must*
+     *                     according to the specified equalsFn <b>must</b>
      *                     generate equal values when passed to the hashFn.
      */
     public function HashMap (
@@ -67,7 +67,7 @@
         _hashFn = hashFn;
     }

-    // documentation inherited from interface Map
+    /** @inheritDoc */
     public function clear () :void
     {
         _simpleData = null;
@@ -76,13 +76,13 @@
         _entriesSize = 0;
     }

-    // documentation inherited from interface Map
+    /** @inheritDoc */
     public function containsKey (key :Object) :Boolean
     {
         return (undefined !== get(key));
     }

-    // documentation inherited from interface Map
+    /** @inheritDoc */
     public function get (key :Object) :*
     {
         if (isSimple(key)) {
@@ -106,13 +106,13 @@
         return undefined;
     }

-    // documentation inherited from interface Map
+    /** @inheritDoc */
     public function isEmpty () :Boolean
     {
         return (size() == 0);
     }

-    // documentation inherited from interface Map
+    /** @inheritDoc */
     public function put (key :Object, value :Object) :*
     {
         var oldValue :*;
@@ -157,7 +157,7 @@
         return undefined;
     }

-    // documentation inherited from interface Map
+    /** @inheritDoc */
     public function remove (key :Object) :*
     {
         if (isSimple(key)) {
@@ -206,13 +206,13 @@
         return undefined; // never found
     }

-    // documentation inherited from interface Map
+    /** @inheritDoc */
     public function size () :int
     {
         return _simpleSize + _entriesSize;
     }

-    // documentation inherited from interface Map
+    /** @inheritDoc */
     public function keys () :Array
     {
         var keys :Array = new Array();
@@ -237,7 +237,7 @@
         return keys;
     }

-    // documentation inherited from interface Map
+    /** @inheritDoc */
     public function values () :Array
     {
         var vals :Array = new Array();
@@ -262,7 +262,7 @@
         return vals;
     }

-    // documentation inherited from interface Map
+    /** @inheritDoc */
     public function forEach (fn :Function) :void
     {
         if (_simpleData != null) {
@@ -283,6 +283,7 @@

     /**
      * Return a Hashable that represents the key.
+     * @private
      */
     protected function keyFor (key :Object) :Hashable
     {
@@ -300,6 +301,7 @@

     /**
      * Return an index for the specified hashcode.
+     * @private
      */
     protected function indexFor (hash :int) :int
     {
@@ -310,6 +312,7 @@
     /**
      * Return true if the specified key may be used to store values in a
      * Dictionary object.
+     * @private
      */
     protected function isSimple (key :Object) :Boolean
     {
@@ -319,6 +322,7 @@
     /**
      * Resize the entries with Hashable keys to optimize
      * the memory/performance tradeoff.
+     * @private
      */
     protected function resize (newSize :int) :void
     {
@@ -339,28 +343,28 @@
         }
     }

-    /** The current number of key/value pairs stored in the Dictionary. */
+    /** The current number of key/value pairs stored in the Dictionary. @private */
     protected var _simpleSize :int = 0;

-    /** The current number of key/value pairs stored in the _entries. */
+    /** The current number of key/value pairs stored in the _entries. @private */
     protected var _entriesSize :int = 0;

-    /** The load factor. */
+    /** The load factor. @private */
     protected var _loadFactor :Number;

-    /** If non-null, contains simple key/value pairs. */
+    /** If non-null, contains simple key/value pairs. @private */
     protected var _simpleData :Dictionary

-    /** If non-null, contains Hashable keys and their values. */
+    /** If non-null, contains Hashable keys and their values. @private */
     protected var _entries :Array;

-    /** The hashing function to use for non-Hashable complex keys. */
+    /** The hashing function to use for non-Hashable complex keys. @private */
     protected var _hashFn :Function;

-    /** The equality function to use for non-Hashable complex keys. */
+    /** The equality function to use for non-Hashable complex keys. @private */
     protected var _equalsFn :Function;

-    /** The default size for the bucketed hashmap. */
+    /** The default size for the bucketed hashmap. @private */
     protected static const DEFAULT_BUCKETS :int = 16;
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 18685
Author:   chiedozi@adobe.com
Date:     2010-11-17T23:41:28.244847Z

Log Message:
-----------
MobileApplication classes have been renamed to ViewNavigatorApplication.  Specific file changes are:
MobileApplicationBase  -->  ViewNavigatorApplicationBase
MobileApplication --> ViewNavigatorApplication
MobileApplicationSkin -->  ViewNavigatorApplicationSkin
TabbedMobileApplication -->  TabbedViewNavigatorApplication
TabbedMobileApplicationSkin --> TabbedViewNavigatorApplicationSkin

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/manifest.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchVirtualizedASTextField.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchVirtualizedMXMLLabel.mxml</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedMobileApplication.as" copyfrom-rev="18641" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigatorApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewMenuItem.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/RadioStations/src/RadioStations.mxml</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileApplicationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchVirtualizedMXMLTextField.mxml</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/MobileApplicationSkin.as" copyfrom-rev="18641" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/managers/PersistenceManager.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileApplication.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileApplicationBase.as" copyfrom-rev="18641" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorApplicationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewMenu.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ActionBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/ComponentCatalog/src/ComponentCatalog.mxml</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedMobileApplicationSkin.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileApplication.as" copyfrom-rev="18641" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigatorApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchASLabel.mxml</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/tests/performance/mobile/TextTest/src/TextTest.mxml</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedMobileApplicationSkin.as" copyfrom-rev="18641" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchASTextField.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchMXMLLabel.mxml</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedMobileApplication.as</path>
<path kind="dir" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/core/managers</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/managers/IPersistenceManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchMXMLTextField.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchVirtualizedASLabel.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TransitionTests/src/TransitionTests.mxml</path>
<path kind="dir" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/core/managers" copyfrom-rev="18641" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/managers</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/MobileApplicationSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorApplicationSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorApplicationSkin.as
@@ -11,12 +11,12 @@

 package spark.skins.mobile
 {
-import spark.components.TabbedMobileApplication;
+import spark.components.TabbedViewNavigatorApplication;
 import spark.components.TabbedViewNavigator;
 import spark.skins.mobile.supportClasses.MobileSkin;

 /**
- *  The ActionScript based skin used for TabbedMobileApplication.
+ *  The ActionScript based skin used for TabbedViewNavigatorApplication.
  *  This skin contains a single TabbedViewNavigator that spans the
  *  entire content area of the application.
  *
@@ -25,7 +25,7 @@
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
-public class TabbedMobileApplicationSkin extends MobileSkin
+public class TabbedViewNavigatorApplicationSkin extends MobileSkin
 {
     //--------------------------------------------------------------------------
     //
@@ -40,7 +40,7 @@
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
-    public function TabbedMobileApplicationSkin()
+    public function TabbedViewNavigatorApplicationSkin()
     {
         super();
     }
@@ -66,7 +66,7 @@
     //  Overridden Properties
     //
     //--------------------------------------------------------------------------
-    public var hostComponent:TabbedMobileApplication;
+    public var hostComponent:TabbedViewNavigatorApplication;

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


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

--- frameworks/projects/spark/src/spark/utils/DataItem.as
+++ frameworks/projects/spark/src/spark/utils/DataItem.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2010 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.
 //
 ////////////////////////////////////////////////////////////////////////////////


Minor booch: the fourth byte in the weird 29-bit integer format can use all 8 bits.

--- tamarin-central/thane/AMF3Encoder.as
+++ tamarin-central/thane/AMF3Encoder.as
@@ -99,10 +99,10 @@
             _ctx.bytes.writeByte(0x00 | (n & 0x7F));

         } else if (n < 0x3FFFFFFF) {
-            _ctx.bytes.writeByte(0x80 | (n >> 21));
-            _ctx.bytes.writeByte(0x80 | ((n >> 14) & 0x7F));
-            _ctx.bytes.writeByte(0x80 | ((n >> 7) & 0x7F));
-            _ctx.bytes.writeByte(0x00 | (n & 0x7F));
+            _ctx.bytes.writeByte(0x80 | (n >> 22));
+            _ctx.bytes.writeByte(0x80 | ((n >> 15) & 0x7F));
+            _ctx.bytes.writeByte(0x80 | ((n >> 8) & 0x7F));
+            _ctx.bytes.writeByte(0x00 | (n & 0xFF));

         } else {
             throw new Error("Internal error - numerical overflow: " + n);


Transferred from the Adobe Open Source Subversion Repository

Revision: 4790
Author:   jimurphy@adobe.com
Date:     2009-02-02T18:13:13.580538Z

Log Message:
-----------
Merged 3.x revisions 4710-4711,4741,4746-4747,4755,4777,4787 -> trunk

Modified Paths:
--------------
<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/controls/dataGridClasses/DataGridColumn.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/modules/compiler/src/java/flex2/tools_en.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.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/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/formatters/NumberBase.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/skins/halo/HaloFocusRect.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/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</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/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</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/formatters/DateFormatter.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/collections/ArrayList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SWFBridgeRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>

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

--- frameworks/projects/mx/src/mx/controls/ComboBox.as
+++ frameworks/projects/mx/src/mx/controls/ComboBox.as
@@ -1241,9 +1241,6 @@

         if (labelFunctionChanged)
         {
-            if (_dropdown)
-                _dropdown.labelFunction = _labelFunction;
-
             selectionChanged = true;
             if (!explicitText)
                 textInput.text = selectedLabel;
@@ -1478,7 +1475,7 @@
             _oldIndex = selectedIndex;
             _dropdown.verticalScrollPolicy = ScrollPolicy.AUTO;
             _dropdown.labelField = _labelField;
-            _dropdown.labelFunction = _labelFunction;
+            _dropdown.labelFunction = itemToLabel;
             _dropdown.allowDragSelection = true;

             _dropdown.addEventListener("change", dropdown_changeHandler);


Fix the if/else case, this restores to the previous conditions

--- test/acceptance/abcasm/abs_helper.as
+++ test/acceptance/abcasm/abs_helper.as
@@ -86,7 +86,7 @@
                 expected = "NaN number";
             }
         }
-        else if (expected !== actual)
+        if (expected !== actual)
             FAIL("STRICTEQ: "+name, typeof expected+"["+expected+"]", typeof actual+"["+actual+"]");
         else
             PASS(name);


qnd: version 3.6.8

qnd: version 3.6.8

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

--- kdp3Lib/src/com/kaltura/kdpfl/ApplicationFacade.as
+++ kdp3Lib/src/com/kaltura/kdpfl/ApplicationFacade.as
@@ -31,7 +31,7 @@
 		/**
 		 * The current version of the KDP.
 		 */
-		public var kdpVersion : String = "v3.6.7";
+		public var kdpVersion : String = "v3.6.8";

 		/**
 		 * save any mediator name that is registered to this array in order to delete at any time


def: 4098 fix label truncation bug

def: 4098 fix label truncation bug

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

--- kdp3Lib/src/com/kaltura/kdpfl/view/controls/KLabel.as
+++ kdp3Lib/src/com/kaltura/kdpfl/view/controls/KLabel.as
@@ -8,7 +8,6 @@
 	import fl.controls.Label;

 	import flash.text.Font;
-	import flash.text.TextField;
 	import flash.text.TextFormat;

 	/**
@@ -138,55 +137,58 @@

 			var truncationIndicator:String = "...";

+			if (width == 0)
+				return false;
+
 			var w:Number = width;
+			validateNow();

 			// Need to check if we should truncate, but it
 			// could be due to rounding error.  Let's check that it's not.
 			// Examples of rounding errors happen with "South Africa" and "Game"
 			// with verdana.ttf.
-			if (untruncatedText != null)
-			{
-				if (untruncatedText != "" && textField.textWidth + TEXT_WIDTH_PADDING > w + 0.00000000000001)
+			if (untruncatedText && textField.textWidth + TEXT_WIDTH_PADDING > w + 0.00000000000001)
+			{
+				function recursiveTruncate () : void
 				{
-					function recursiveTruncate () : void
+					if (textField.textWidth <= w)
 					{
-						if (textField.textWidth <= w)
+						var origText:String = textField.text;
+						textField.text = textField.text.concat(truncationIndicator);
+						//in case adding truncationIndicator caused the string to be too long
+						if (textField.textWidth > w)
 						{
-							var origText:String = textField.text;
-							textField.text = textField.text.concat(truncationIndicator);
-							//in case adding truncationIndicator caused the string to be too long
-							if (textField.textWidth > w)
-							{
-								origText = origText.slice(0, origText.length - truncationIndicator.length);
-								origText = origText.slice(0, origText.lastIndexOf(" "));
-								textField.text = origText.concat(origText, truncationIndicator);
-							}
-							return;
+							origText = origText.slice(0, origText.lastIndexOf(" "));
+							textField.text = origText.concat(truncationIndicator);
+
 						}
-						else
-						{
-							textField.text =  textField.text.slice(0, textField.text.lastIndexOf(" "));
-							recursiveTruncate ()
-						}
+						return;
+
 					}
-
-					recursiveTruncate ();
-
-					this.tooltip = untruncatedText;
-					_isTruncate = true;
-					return true;
+					else
+					{
+						textField.text =  textField.text.slice(0, textField.text.lastIndexOf(" "));
+						recursiveTruncate ();
+					}
 				}
-				else if(_isTruncate)
-				{
-					// if the text is Truncate and now the Label size is changed
-					// and we don't need a truncat text now we will return to untruncated text
-					_isTruncate = false;
-					super.text = untruncatedText;
-				}
-			}
-
+
+				recursiveTruncate ();
+
+				this.tooltip = untruncatedText;
+				_isTruncate = true;
+				return true;
+			}
+			else if(_isTruncate)
+			{
+				// if the text is Truncate and now the Label size is changed
+				// and we don't need a truncat text now we will return to untruncated text
+				_isTruncate = false;
+				super.text = untruncatedText;
+			}
+
 			this.tooltip = "";
 			return false;
+
 		}
 		/**
 		 * html text property of the Label.


Transferred from the Adobe Open Source Subversion Repository

Revision: 12850
Author:   jimurphy@adobe.com
Date:     2009-12-11T14:57:14.623098Z

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

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

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

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

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

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

--- frameworks/projects/automation/src/mx/automation/delegates/controls/ComboBoxAutomationImpl.as
+++ frameworks/projects/automation/src/mx/automation/delegates/controls/ComboBoxAutomationImpl.as
@@ -0,0 +1,441 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.automation.delegates.controls
+{
+	import flash.display.DisplayObject;
+	import flash.events.Event;
+	import flash.events.KeyboardEvent;
+	import flash.events.MouseEvent;
+	import flash.events.TextEvent;
+	import flash.ui.Keyboard;
+	import flash.utils.getTimer;
+	import mx.automation.Automation;
+	import mx.automation.AutomationIDPart;
+	import mx.automation.IAutomationObject;
+	import mx.automation.IAutomationObjectHelper;
+	import mx.automation.events.AutomationRecordEvent;
+	import mx.automation.events.ListItemSelectEvent;
+	import mx.automation.events.TextSelectionEvent;
+	import mx.controls.ComboBase;
+	import mx.controls.ComboBox;
+	import mx.controls.List;
+	import mx.core.EventPriority;
+	import mx.core.mx_internal;
+	import mx.core.UIComponent;
+	import mx.events.DropdownEvent;
+	import mx.events.ScrollEvent;
+	import mx.automation.AutomationManager;
+
+	use namespace mx_internal;
+
+	[Mixin]
+	/**
+	 *
+	 *  Defines methods and properties required to perform instrumentation for the
+	 *  ComboBox control.
+	 *
+	 *  @see mx.controls.ComboBox
+	 *
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public class ComboBoxAutomationImpl extends ComboBaseAutomationImpl
+	{
+		include "../../../core/Version.as";
+
+		//--------------------------------------------------------------------------
+		//
+		//  Class methods
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  @private
+		 * Registers the delegate class for a component class with automation manager.
+		 *
+		 *  @param root The SystemManger of the application.
+		 */
+		public static function init(root:DisplayObject):void
+		{
+			Automation.registerDelegateClass(ComboBox, ComboBoxAutomationImpl);
+		}
+
+		//--------------------------------------------------------------------------
+		//
+		//  Constructor
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  Constructor.
+		 *
+		 *  @param obj The ComboBox to be automated.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public function ComboBoxAutomationImpl(obj:ComboBox)
+		{
+			super(obj);
+			obj.addEventListener(DropdownEvent.CLOSE, openCloseHandler, false, 0, true);
+			obj.addEventListener(DropdownEvent.OPEN, openCloseHandler, false, 0, true);
+		}
+
+		/**
+		 *  @private
+		 *  storage for the owner component
+		 */
+		protected function get comboBox():ComboBox
+		{
+			return uiComponent as ComboBox;
+		}
+
+		/**
+		 *  @private
+		 *  Replays the event specified by the parameter if possible.
+		 *
+		 *  @param interaction The event to replay.
+		 *
+		 *  @return Whether or not a replay was successful.
+		 */
+		override public function replayAutomatableEvent(event:Event):Boolean
+		{
+			var completeTime:Number;
+			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+			var textReplayer:IAutomationObject =
+				comboBox.getTextInput() as IAutomationObject;
+			var aoDropDown:IAutomationObject = comboBox.dropdown as IAutomationObject;
+
+			if (event is ListItemSelectEvent)
+			{
+				var result:Boolean = aoDropDown.replayAutomatableEvent(event);
+
+				// selection closes the comboBox.
+				// We need to wait for the dropDown to close.
+				if (result)
+				{
+					completeTime = getTimer() + comboBox.getStyle("closeDuration");
+
+					help.addSynchronization(function():Boolean
+					{
+						return getTimer() >= completeTime;
+					});
+				}
+
+				return result;
+			}
+			else if (event is KeyboardEvent)
+			{
+				var keyEvent:KeyboardEvent = event as KeyboardEvent;
+				if (comboBox.getTextInput() && comboBox.editable)
+				{
+					if (keyEvent.keyCode == Keyboard.UP ||
+						keyEvent.keyCode == Keyboard.DOWN ||
+						keyEvent.keyCode == Keyboard.PAGE_UP ||
+						keyEvent.keyCode == Keyboard.PAGE_DOWN)
+						return help.replayKeyboardEvent(uiComponent, KeyboardEvent(event));
+					else
+						return textReplayer.replayAutomatableEvent(event);
+				}
+				else
+				{
+					// if comboBox is closing due to either selection or escape we need to wait
+					// and sync up
+					if (keyEvent.keyCode == Keyboard.ENTER || keyEvent.keyCode == Keyboard.ESCAPE)
+					{
+						completeTime = getTimer() + comboBox.getStyle("closeDuration");
+
+						help.addSynchronization(function():Boolean
+						{
+							return getTimer() >= completeTime;
+						});
+					}
+					return help.replayKeyboardEvent(uiComponent, KeyboardEvent(event));
+				}
+			}
+			else if (event is DropdownEvent)
+			{
+				var cbdEvent:DropdownEvent = DropdownEvent(event);
+				if (cbdEvent.triggerEvent is KeyboardEvent)
+				{
+					var kbEvent:KeyboardEvent =
+						new KeyboardEvent(KeyboardEvent.KEY_DOWN);
+					kbEvent.keyCode =
+						(cbdEvent.type == DropdownEvent.OPEN
+							? Keyboard.DOWN
+							: Keyboard.UP);
+					kbEvent.ctrlKey = true;
+					help.replayKeyboardEvent(uiComponent, kbEvent);
+				}
+				else //triggerEvent is MouseEvent
+				{
+					if ((cbdEvent.type == DropdownEvent.OPEN &&
+						!comboBox.isShowingDropdown) ||
+						(cbdEvent.type == DropdownEvent.CLOSE &&
+							comboBox.isShowingDropdown))
+
+						help.replayClick(comboBox.ComboDownArrowButton);
+				}
+
+				completeTime = getTimer() +
+					comboBox.getStyle(cbdEvent.type == DropdownEvent.OPEN ?
+						"openDuration" :
+						"closeDuration");
+
+				help.addSynchronization(function():Boolean
+				{
+					return getTimer() >= completeTime;
+				});
+
+				return true;
+			}
+			else if (comboBox.getTextInput() && (event is TextEvent || event is TextSelectionEvent) )
+			{
+				return textReplayer.replayAutomatableEvent(event);
+			}
+			else if (event is ScrollEvent)
+			{
+				return aoDropDown.replayAutomatableEvent(event);
+			}
+
+			return super.replayAutomatableEvent(event);
+		}
+
+		/**
+		 *  @private
+		 *  Provide a set of properties that identify the child within
+		 *  this container.  These values should not change during the
+		 *  lifespan of the application.
+		 *
+		 *  @param child the child for which to provide the id.
+		 *  @return a set of properties describing the child which can
+		 *          later be used to resolve the component.
+		 */
+		override public function createAutomationIDPart(child:IAutomationObject):Object
+		{
+			var delegate:IAutomationObject = comboBox.dropdown as IAutomationObject;
+			return  delegate.createAutomationIDPart(child);
+		}
+
+		/**
+		 *  @private
+		 */
+		override public function createAutomationIDPartWithRequiredProperties(child:IAutomationObject, properties:Array):Object
+		{
+			var delegate:IAutomationObject = comboBox.dropdown as IAutomationObject;
+			if(delegate)
+				return delegate.createAutomationIDPartWithRequiredProperties(child,properties);
+			/*
+			var delegateObj:Object = delegate as Object;
+			if(delegateObj &&(delegateObj.hasOwnProperty("createAutomationIDPartWithRequiredProperties")))
+				return  delegateObj.createAutomationIDPartWithRequiredProperties(child,properties);
+			if(delegate && delegate.automationDelegate &&(delegate.automationDelegate.hasOwnProperty("createAutomationIDPartWithRequiredProperties")))
+				return  delegate.automationDelegate.createAutomationIDPartWithRequiredProperties(child,properties);
+			*/
+
+			return null;
+		}
+
+		/**;
+		 *  @private
+		 *
+		 *  Resolve a child using the id provided.  The id is a set
+		 *  of properties as provided by createAutomationID.
+		 *
+		 *  @param criteria a set of properties describing the child.
+		 *         The criteria can contain regular expression values
+		 *         resulting in multiple children being matched.
+		 *  @return the an array of children that matched the criteria
+		 *          or <tt>null</tt> if no children could not be resolved.
+		 */
+		override public function resolveAutomationIDPart(criteria:Object):Array
+		{
+			var delegate:IAutomationObject = comboBox.dropdown as IAutomationObject;
+			return  delegate.resolveAutomationIDPart(criteria);
+		}
+
+		/**
+		 *  @private
+		 *  Provides the automation object at the specified index.  This list
+		 *  should not include any children that are composites.
+		 *
+		 *  @param index the index of the child to return
+		 *  @return the child at the specified index.
+		 */
+		override public function getAutomationChildAt(index:int):IAutomationObject
+		{
+			var delegate:IAutomationObject = comboBox.dropdown as IAutomationObject;
+			return  delegate.getAutomationChildAt(index);
+		}
+
+
+
+		/**
+		 * @private
+		 */
+		override public function getAutomationChildren():Array
+		{
+			var delegate:IAutomationObject = comboBox.dropdown as IAutomationObject;
+
+			//return delegate.getAutomationChildren();
+			return Automation.automationManager2.getAutomationChildrenArray(delegate);
+		}
+		/**
+		 *  @private
+		 *  Provides the number of automation children this container has.
+		 *  This sum should not include any composite children, though
+		 *  it does include those children not signficant within the
+		 *  automation hierarchy.
+		 *
+		 *  @return the number of automation children this container has.
+		 */
+		override public function get numAutomationChildren():int
+		{
+			var delegate:IAutomationObject = comboBox.dropdown as IAutomationObject;
+			return delegate.numAutomationChildren;
+		}
+
+		/**
+		 *  @private
+		 *  A matrix containing the automation values of all parts of the components.
+		 *  Should be row-major (return value is an array of rows, each of which is
+		 *  an array of "items").
+		 *
+		 *  @return A matrix containing the automation values of all parts of the components.
+		 */
+		override public function get automationTabularData():Object
+		{
+			var delegate:IAutomationObject = comboBox.dropdown as IAutomationObject;
+			return  delegate.automationTabularData;
+		}
+
+		/**
+		 * @private
+		 */
+		override protected function setupEditHandler():void
+		{
+			super.setupEditHandler();
+
+			var text:DisplayObject = comboBase.getTextInput()  as DisplayObject;
+			if (!text)
+				return;
+
+			// If comboBox is editable we setup a listener for the textInput control.
+			if(comboBox.editable)
+				text.addEventListener(KeyboardEvent.KEY_DOWN,
+					textKeyDownHandler, false, EventPriority.DEFAULT+1);
+			else
+				text.removeEventListener(KeyboardEvent.KEY_DOWN,
+					textKeyDownHandler, false);
+
+		}
+
+		//--------------------------------------------------------------------------
+		//
+		//  Event handlers
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  @private
+		 */
+		private function openCloseHandler(event:DropdownEvent):void
+		{
+			var textInput:DisplayObject = comboBox.getTextInput() as DisplayObject;
+			if (event.triggerEvent)
+				recordAutomatableEvent(event);
+			if (event.type == DropdownEvent.OPEN)
+			{
+				comboBox.dropdown.addEventListener(AutomationRecordEvent.RECORD,
+					dropdown_recordHandler, false, 0, true);
+			}
+			else
+			{
+				if (comboBox.hasDropdown())
+					comboBox.dropdown.removeEventListener(AutomationRecordEvent.RECORD, dropdown_recordHandler);
+			}
+		}
+
+		/**
+		 *  @private
+		 */
+		private function dropdown_recordHandler(event:AutomationRecordEvent):void
+		{
+			var re:Event = event.replayableEvent;
+			if ((re is ListItemSelectEvent || re is ScrollEvent)
+				&& event.target is List )
+				recordAutomatableEvent(event.replayableEvent, event.cacheable);
+		}
+
+		/**
+		 * @private
+		 * Keyboard events like up/down/page_up/page_down/enter are
+		 * recorded here. They are not recorded by textInput control but
+		 * we require them to be recorded.
+		 */
+		private function textKeyDownHandler(event:KeyboardEvent):void
+		{
+			// we do not record key events with modifiers
+			// open/close events with ctrl key are recorded seperately.
+			if (event.ctrlKey)
+				return;
+			// record keys which are of used for navigation in the dropdown list
+			if (event.keyCode == Keyboard.UP ||
+				event.keyCode == Keyboard.DOWN ||
+				event.keyCode == Keyboard.PAGE_UP ||
+				event.keyCode == Keyboard.PAGE_DOWN ||
+				event.keyCode == Keyboard.ESCAPE ||
+				event.keyCode == Keyboard.ENTER)
+
+				recordAutomatableEvent(event);
+		}
+
+		/**
+		 * @private
+		 */
+		override protected function keyDownHandler(event:KeyboardEvent):void
+		{
+			// if editable we have a different keydown handler
+			if (comboBox.editable)
+				return;
+
+			// we do not record key events with modifiers
+			if (event.ctrlKey)
+				return;
+
+			if(event.target == comboBox &&
+				event.keyCode != Keyboard.ENTER &&
+				event.keyCode != Keyboard.SPACE)
+				recordAutomatableEvent(event);
+
+			super.keyDownHandler(event);
+		}
+
+		/**
+		 * @private
+		 */
+		public function getItemsCount():int
+		{
+			if (comboBox.dataProvider)
+				return comboBox.dataProvider.length;
+
+			return 0;
+		}
+
+	}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 20091
Author:   deeptika@adobe.com
Date:     2011-02-03T13:14:30.129001Z

Log Message:
-----------
Using default automation name/value call back functions if item renderer is an editor instead of using functions to compute current automation value of the renderer

QE notes:
Doc notes:
Bugs: FLEXENT-1405 (QTP-Inavlid steps generated while recording editable [mx] Data Grid)
Reviewer:
Tests run:
Is noteworthy for integration:

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/automation/src/mx/automation/delegates/controls/DataGridAutomationImpl.as

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

--- frameworks/projects/automation/src/mx/automation/delegates/controls/DataGridAutomationImpl.as
+++ frameworks/projects/automation/src/mx/automation/delegates/controls/DataGridAutomationImpl.as
@@ -676,7 +676,54 @@
 			return result;
 		}

-
+		/**
+		 *  @private
+		 */
+		override public function createAutomationIDPart(child:IAutomationObject):Object
+		{
+			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+			if(grid.itemEditorInstance == child)
+			{
+				return (help
+					? help.helpCreateIDPart(uiAutomationObject, child)	: null);
+			}
+			else
+			{
+				return (help
+					? help.helpCreateIDPart(uiAutomationObject, child, itemAutomationNameFunction,
+						getItemAutomationIndex)
+					: null);
+			}
+		}
+
+		/**
+		 *  @private
+		 */
+		override public function createAutomationIDPartWithRequiredProperties(child:IAutomationObject, properties:Array):Object
+		{
+			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+			if(grid.itemEditorInstance == child)
+			{
+				return (help
+					? help.helpCreateIDPartWithRequiredProperties(uiAutomationObject, child, properties): null);
+			}
+			else
+			{
+				return (help
+					? help.helpCreateIDPartWithRequiredProperties(uiAutomationObject, child, properties,itemAutomationNameFunction,
+						getItemAutomationIndex)
+					: null);
+			}
+		}
+
+		/**
+		 *  @private
+		 */
+		override public function resolveAutomationIDPart(part:Object):Array
+		{
+			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+			return help ? help.helpResolveIDPart(uiAutomationObject, part) : null;
+		}

 	}
 }


modified for use in iOS simulator (no longer supported in simulator)

--- actionscript/src/com/freshplanet/ane/AirCapabilities/AirCapabilities.as
+++ actionscript/src/com/freshplanet/ane/AirCapabilities/AirCapabilities.as
@@ -35,7 +35,7 @@
 		 * Is the ANE supported on the current platform
 		 */
         static public function get isSupported():Boolean {
-            return Capabilities.manufacturer.indexOf("iOS") > -1 || Capabilities.manufacturer.indexOf("Android") > -1;
+            return (Capabilities.manufacturer.indexOf("iOS") > -1 && Capabilities.os.indexOf("x86_64") < 0 && Capabilities.os.indexOf("i386") < 0) || Capabilities.manufacturer.indexOf("Android") > -1;
         }

 		/**


fixed missing init. of ShaderSettings.depthSortDrawCalls in the cloned object in ShaderSettings.clone() (issue #18 in github)

--- src/aerys/minko/render/shader/ShaderSettings.as
+++ src/aerys/minko/render/shader/ShaderSettings.as
@@ -168,12 +168,13 @@
 		{
 			var clone : ShaderSettings = new ShaderSettings(signature);

-			clone.depthTest			= depthTest;
-			clone.blending			= blending;
-			clone.triangleCulling	= triangleCulling;
-			clone.renderTarget		= renderTarget;
+			clone.depthTest = depthTest;
+			clone.blending = blending;
+			clone.triangleCulling = triangleCulling;
+			clone.renderTarget = renderTarget;
 			clone.depthWriteEnabled	= depthWriteEnabled;
-			clone.scissorRectangle	= scissorRectangle;
+			clone.scissorRectangle = scissorRectangle;
+			clone.depthSortDrawCalls = depthSortDrawCalls;

 			return clone;
 		}


change AbstractSceneNode.parent setter to make sure the 'removed' signal is called before the parent's 'descendantRemoved' signal

--- src/aerys/minko/scene/node/AbstractSceneNode.as
+++ src/aerys/minko/scene/node/AbstractSceneNode.as
@@ -152,10 +152,9 @@
 				);

 				parent._numChildren--;
-				oldParent.descendantRemoved.execute(oldParent, this);
-
 				_parent = null;
 				_removed.execute(this, oldParent);
+				oldParent.descendantRemoved.execute(oldParent, this);
 			}

 			// set parent
@@ -166,9 +165,8 @@
 			{
 				_parent._children[_parent.numChildren] = this;
 				_parent._numChildren++;
+				_added.execute(this, _parent);
 				_parent.descendantAdded.execute(_parent, this);
-
-				_added.execute(this, _parent);
 			}
 		}


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 20687
Author:   smgilson@adobe.com
Date:     2011-03-08T20:09:56.755277Z

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

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ArrayCollection.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ArrayList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.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="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/controls/SWFLoader.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/mx/src/mx/controls/Label.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/containers/ViewStack.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/PopUpMenuButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/controls/MovieClipSWFLoader.as</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/mx/src/mx/controls/ComboBase.as</path>

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

--- frameworks/projects/mx/src/mx/controls/ComboBase.as
+++ frameworks/projects/mx/src/mx/controls/ComboBase.as
@@ -713,6 +713,11 @@
      *  @copy mx.controls.TextInput#imeMode
      *
      *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      **/
     public function get imeMode():String
     {
@@ -1141,7 +1146,7 @@
                 addChild(DisplayObject(border));

                 if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_4_0)
-                	border.visible = false;
+                    border.visible = false;
             }
         }

@@ -1274,10 +1279,10 @@
             // non-editable states.
             if (useFullDropdownSkin)
             {
-            	if (e && getStyle("editableSkin") != null)
-            		downArrowButton.skinName = "editableSkin";
-            	else
-            		downArrowButton.skinName = "skin";
+                if (e && getStyle("editableSkin") != null)
+                    downArrowButton.skinName = "editableSkin";
+                else
+                    downArrowButton.skinName = "skin";
                 downArrowButton.upSkinName = e ? "editableUpSkin" : "upSkin";
                 downArrowButton.overSkinName = e ? "editableOverSkin" : "overSkin";
                 downArrowButton.downSkinName = e ? "editableDownSkin" : "downSkin";
@@ -1419,7 +1424,7 @@
             downArrowButton.setActualSize(wh, wh);
             downArrowButton.move(w - arrowWidth - vm.right, vm.top);
             if (border)
-            	border.setActualSize(w, h);
+                border.setActualSize(w, h);
             textInput.setActualSize(w - arrowWidth, textInputHeight);
         }
         else
@@ -1431,7 +1436,7 @@

                 downArrowButton.move(0, 0);
                 if (border)
-                	border.setActualSize(w, h);
+                    border.setActualSize(w, h);
                 textInput.setActualSize(w - arrowWidth, textInputHeight);
                 textInput.showBorderAndBackground(false);
                 textInput.move(textInput.x, ((h - textInputHeight - paddingTop - paddingBottom) / 2) + paddingTop);
@@ -1441,7 +1446,7 @@
             {
                 downArrowButton.move(w - arrowWidth, 0);
                 if (border)
-                	border.setActualSize(w - arrowWidth, h);
+                    border.setActualSize(w - arrowWidth, h);
                 textInput.setActualSize(w - arrowWidth, h);
                 downArrowButton.setActualSize(arrowWidth, unscaledHeight);
                 textInput.showBorderAndBackground(true);


Transferred from the Adobe Open Source Subversion Repository

Revision: 15923
Author:   chaase@adobe.com
Date:     2010-05-06T18:05:24.751600Z

Log Message:
-----------
Initial checkin of "Transition Interruption" feature. Set Transition.interruptionBehavior="stop" to get the new behavior, where interrupting transitions start from where the previous transition is at, rather than end()'ing the previous transition first. The default behavior is the same as it always was; transitionBehavior="end" is the default property, and that uses the previous behavior of ending the previous Transition.
New API: Transition.interruptionBehavior, mx.states.InterruptionBehavior

QE notes: Check out the spec for the details on the new API
Doc notes: none
Bugs: none
Reviewer: Jason
Tests run: checkintests, Mustella (mx/effects, spark/effects)
Is noteworthy for integration: Yes - feature requested by downstream teams

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/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/Transition.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Fade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/CompositeEffect.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/InterruptionBehavior.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/spark/src/spark/effects/Fade.as
+++ frameworks/projects/spark/src/spark/effects/Fade.as
@@ -16,9 +16,12 @@

 import mx.core.IVisualElement;
 import mx.core.IVisualElementContainer;
+import mx.core.mx_internal;
 import mx.effects.IEffectInstance;

 import spark.effects.supportClasses.FadeInstance;
+
+use namespace mx_internal;

 /**
  *  The Fade effect animates the alpha property of a component.
@@ -179,6 +182,45 @@
     }

     /**
+     * @private
+     * This override handles the case caused by transition interruption
+     * where the target object may not have reached its final fade-in value, or
+     * may not have had the end value of '1' applied correctly because the
+     * transition was interrupted and the animation stopped. The logic
+     * checks to see whether the object was being faded in or out, based on
+     * the 'visible' or 'parent' properties. It then sets the end alpha to either
+     * the proper state value (the typical case) or to 1 (as a backup).
+     * Note that a faded-out object due to going away or becoming invisible
+     * should still have an alpha value of 1; it just won't be visible because
+     * it is either invisible or has no parent. But we want the alpha value
+     * to be opaque the next time it is made visible.
+     */
+    override mx_internal function applyEndValues(propChanges:Array,
+                                                 targets:Array):void
+    {
+        super.applyEndValues(propChanges, targets);
+        if (transitionInterruption && propChanges)
+        {
+            var n:int = propChanges.length;
+            for (var i:int = 0; i < n; i++)
+            {
+                var target:Object = propChanges[i].target;
+                if (this.targets.indexOf(target ) >= 0 &&
+                    (propChanges[i].start["parent"] !== undefined &&
+                     propChanges[i].end["parent"] !== undefined &&
+                     propChanges[i].start["parent"] != propChanges[i].end["parent"]) ||
+                    (propChanges[i].start["visible"] !== undefined &&
+                        propChanges[i].end["visible"] !== undefined &&
+                        propChanges[i].start["visible"] != propChanges[i].end["visible"]))
+                {
+                    target.alpha = (propChanges[i].end["alpha"] !== undefined) ?
+                            propChanges[i].end["alpha"] : 1;
+                }
+            }
+        }
+    }
+
+    /**
      *  @private
      */
     override protected function applyValueToTarget(target:Object,


Issue #92: Prevent unnecessary OS line-ending replacements.

--- src/com/esri/builder/supportClasses/FileUtil.as
+++ src/com/esri/builder/supportClasses/FileUtil.as
@@ -20,6 +20,9 @@

 public class FileUtil
 {
+    private static const CRLF_LINE_ENDING:String = "\r\n";
+    private static const LF_LINE_ENDING:String = "\n";
+
     public static function generateUniqueRelativePath(baseDirectory:File, relativeFilePath:String, relativePathBlackList:Array = null):String
     {
         var extensionIndex:int = relativeFilePath.lastIndexOf(".");
@@ -110,7 +113,27 @@

     public static function ensureOSLineEndings(text:String):String
     {
-        return text ? text.replace(/\n/g, File.lineEnding) : "";
+        if (File.lineEnding == CRLF_LINE_ENDING)
+        {
+            return ensureCRLF(text);
+        }
+
+        if (File.lineEnding == LF_LINE_ENDING)
+        {
+            return ensureLF(text);
+        }
+
+        return text ? text : "";
+    }
+
+    private static function ensureCRLF(text:String):String
+    {
+        return text ? text.replace(/(?<!\r)\n/g, CRLF_LINE_ENDING) : "";
+    }
+
+    private static function ensureLF(text:String):String
+    {
+        return text ? text.replace(/\r\n/g, LF_LINE_ENDING) : "";
     }
 }
 }


Added logging import.

Added logging import.

--- flash/org/windmill/WMLocator.as
+++ flash/org/windmill/WMLocator.as
@@ -16,6 +16,7 @@

 package org.windmill {
   import org.windmill.Windmill;
+  import org.windmill.WMLogger;
   import flash.display.DisplayObject;
   import flash.display.DisplayObjectContainer;


FLEX-28861 Added back in code for first guess - performance increase with large strings.

--- frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableTextField.as
+++ frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableTextField.as
@@ -1225,9 +1225,8 @@
             // This should get us into the ballpark.
             var s:String = originalText;

-            // TODO (rfrishbe): why is this here below...it does nothing (see SDK-26438)
-            //originalText.slice(0,
-            //    Math.floor((w / (textWidth + TEXT_WIDTH_PADDING)) * originalText.length));
+            s = originalText.slice(0,
+                Math.floor((w / (textWidth + TEXT_WIDTH_PADDING)) * originalText.length));

             while (s.length > 1 && (measuredTextSize.x > w))
             {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17700
Author:   gruehle@adobe.com
Date:     2010-09-14T19:08:06.078213Z

Log Message:
-----------
Mobile text bug fixes:
* added disabled state to TextInputSkin and TextAreaSkin
* changed implementation of insertText(), the player replaceSelectedText() method only works when the textfield has focus.
* dispatch VALUE_COMMIT events in appendText() and insertText()
* During the text skin part refactoring, I didn't realize that textDisplayProperties was an object until we had a textDisplay, at which time it becomes a bitfield. This caused RTEs in SkinnableTextBase.

QE notes:
Doc notes:
Bugs:  SDK-27635, SDK-27626, SDK-27605, SDK-27598, SDK-27615
Reviewer: Ryan
Tests run: checkin
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/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/mobilecomponents/src/spark/components/supportClasses/MobileTextField.as</path>
<path kind="file" action="M">/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/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableTextField.as
+++ frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableTextField.as
@@ -416,8 +416,30 @@
      */
     public function insertText(text:String):void
     {
-        replaceSelectedText(text);
-    }
+        replaceText(selectionAnchorPosition, selectionActivePosition, text);
+		dispatchEvent(new FlexEvent(FlexEvent.VALUE_COMMIT));
+    }
+
+	/**
+	 *  Appends the specified text to the end of the text component,
+	 *  as if you had clicked at the end and typed.
+	 *
+	 *
An insertion point is then set after the new text.
+	 *  If necessary, the text will scroll to ensure
+	 *  that the insertion point is visible.

+	 *
+	 *  @param text The text to be appended.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10.1
+	 *  @playerversion AIR 2.0
+	 *  @productversion Flex 4.5
+	 */
+	override public function appendText(text:String):void
+	{
+		super.appendText(text);
+		dispatchEvent(new FlexEvent(FlexEvent.VALUE_COMMIT));
+	}

     /**
      *  Selects a specified range of characters.


Now displaying metadata when viewType is not 'tabular'

Change-Id: I66b8bccf893889f2e6e946952152f172e66d102c

--- WeaveData/src/weave/data/DataSources/SocrataDataSource.as
+++ WeaveData/src/weave/data/DataSources/SocrataDataSource.as
@@ -300,6 +300,7 @@
 import weave.api.WeaveAPI;
 import weave.api.data.IColumnReference;
 import weave.api.data.IDataSource;
+import weave.api.data.IExternalLink;
 import weave.api.data.IWeaveTreeNode;
 import weave.api.data.IWeaveTreeNodeWithPathFinding;
 import weave.api.detectLinkableObjectChange;
@@ -311,7 +312,7 @@
 import weave.services.URLRequestUtils;
 import weave.utils.VectorUtils;

-internal class SocrataNode implements IWeaveTreeNode, IColumnReference, IWeaveTreeNodeWithPathFinding
+internal class SocrataNode implements IWeaveTreeNode, IColumnReference, IWeaveTreeNodeWithPathFinding, IExternalLink
 {
 	public static const VIEW_LIST:String = 'view_list';
 	public static const CATEGORY_LIST:String = 'category_list';
@@ -321,6 +322,8 @@

 	public static const GET_DATASOURCE:String = 'get_datasource';
 	public static const GET_COLUMN:String = 'get_column';
+	public static const METADATA_LIST:String = 'metadata_list';
+	public static const METADATA_SHOW:String = 'metadata_show';

 	private var source:SocrataDataSource;
 	/**
@@ -365,7 +368,7 @@

 		if (!action)
 			return WeaveAPI.globalHashMap.getName(source);
-
+
 		if (action == VIEW_LIST)
 			return lang("Views");
 		if (action == CATEGORY_LIST)
@@ -379,6 +382,12 @@
 		if (action == GET_DATASOURCE)
 			return metadata['name'] || id;

+		if (action == METADATA_LIST)
+			return id;
+
+		if (action == METADATA_SHOW)
+			return lang("{0}: {1}", id, Compiler.stringify(metadata));
+
 		return null;
 	}
 	public function isBranch():Boolean
@@ -386,7 +395,7 @@
 		if (internalNode)
 			return internalNode.isBranch();

-		return true;
+		return action != METADATA_SHOW;
 	}
 	public function hasChildBranches():Boolean
 	{
@@ -394,6 +403,8 @@
 			return internalNode.hasChildBranches();

 		if (action == GET_DATASOURCE)
+			return false;
+		if (action == METADATA_LIST || action == METADATA_SHOW)
 			return false;

 		return getChildren().length > 0;
@@ -469,8 +480,16 @@
 			list = source.getTagLookup()[id];
 		if (list)
 			return updateChildren(list, function(node:SocrataNode, view:Object):void {
-				node.action = GET_DATASOURCE;
-				node.id = view['id'];
+				if (view.viewType == 'tabular')
+				{
+					node.action = GET_DATASOURCE;
+					node.id = view['id'];
+				}
+				else
+				{
+					node.action = METADATA_LIST;
+					node.id = view['name'] || view['id'];
+				}
 				node.metadata = view;
 			});

@@ -489,6 +508,21 @@
 			}
 		}

+		if (action == METADATA_LIST)
+		{
+			var flattened:Object = VectorUtils.flattenObject(metadata);
+			var keys:Array = VectorUtils.getKeys(flattened);
+			keys = keys.filter(function(key:String, i:*, a:*):Boolean {
+				return flattened[key] != null && flattened[key] != '';
+			});
+			StandardLib.sort(keys);
+			return updateChildren(keys, function(node:SocrataNode, key:String):void {
+				node.action = METADATA_SHOW;
+				node.metadata = flattened[key];
+				node.id = key;
+			});
+		}
+
 		_childNodes.length = 0;
 		return _childNodes;
 	}
@@ -527,4 +561,11 @@
 		}
 		return null;
 	}
+
+	public function getURL():String
+	{
+		if (action == METADATA_SHOW && id.split('.').pop() == 'href')
+			return metadata as String;
+		return null;
+	}
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 9177
Author:   jimurphy@adobe.com
Date:     2009-08-07T21:15:07.894169Z

Log Message:
-----------
Merged 3.4 revisions 8630,8660,8683,8735,8750,8753,8755,8757,8759,8764,8776,8798,8821,8824,8837,8862,8911,8946,8949,8962,8965,9026,9109,9131,9138-9139,9147 -> trunk

integrates:
player: 10.0.32.18
AIR kit: 1.5.2.8870 (20090721ap)

checkintests: pass

(btw: I'm not happy about doing this on a Friday PM!)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/in/air/air_version.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/BrowserManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/mac/Install Flash Player 10 UB.dmg</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/mac/AIR Integration Kit.tbz2</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/player/10/playerglobal.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLDecoder.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/flashplayer.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/win/AIR Integration Kit.zip</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/in/player/10/lnx/libflashplayer.so.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/FlashPlayer.exe</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/in/player/10/mac/Flash Player.app.zip</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/http/Operation.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/lib/flex-messaging-common.jar</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/Install Flash Player 10 Plugin.exe</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/rpc/src/mx/rpc/remoting/mxml/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/AbstractWebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/XMLDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/Install Flash Player 10 ActiveX.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/MessagePerformanceUtils.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.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/projects/rpc/src/mx/rpc/mxml/IMXMLSupport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/ISOAPDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/install_flash_player_10_linux.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLSchemaInstance.as</path>

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

--- frameworks/projects/mx/src/mx/controls/DateField.as
+++ frameworks/projects/mx/src/mx/controls/DateField.as
@@ -46,6 +46,7 @@
 import mx.styles.CSSStyleDeclaration;
 import mx.styles.StyleManager;
 import mx.styles.StyleProxy;
+import mx.utils.ObjectUtil;

 use namespace mx_internal;

@@ -1840,6 +1841,7 @@

     [Bindable("change")]
     [Bindable("valueCommit")]
+    [Bindable("selectedDateChanged")]
     [Inspectable(category="General")]

     /**
@@ -1869,12 +1871,20 @@
      */
     public function set selectedDate(value:Date):void
     {
+        if (ObjectUtil.dateCompare(_selectedDate, value) == 0)
+            return;
+
         selectedDateSet = true;
         _selectedDate = scrubTimeValue(value) as Date;
         updateDateFiller = true;
         selectedDateChanged = true;

         invalidateProperties();
+
+        // Trigger bindings to 'selectedData'.
+        dispatchEvent(new Event("selectedDateChanged"));
+
+        dispatchEvent(new FlexEvent(FlexEvent.VALUE_COMMIT));
     }

     //----------------------------------
@@ -2152,7 +2162,6 @@
         {
             selectedDateChanged = false;
             dropdown.selectedDate = _selectedDate;
-            dispatchEvent(new FlexEvent(FlexEvent.VALUE_COMMIT));
         }

         if (showTodayChanged)
@@ -2700,8 +2709,6 @@
     private function dropdown_changeHandler(
                         event:CalendarLayoutChangeEvent):void
     {
-        _selectedDate = dropdown.selectedDate;
-
         // If this was generated by the dropdown as a result of a keystroke,
         // it is likely a Page-Up or Page-Down, or Arrow-Up or Arrow-Down.
         // If the selection changes due to a keystroke,
@@ -2710,6 +2717,12 @@
         // we close the dropdown.
         if (!inKeyDown)
             displayDropdown(false);
+
+        // Nothing to do if the dates are the same.
+        if (ObjectUtil.dateCompare(_selectedDate, dropdown.selectedDate) == 0)
+            return;
+
+        _selectedDate = dropdown.selectedDate;

         if (_selectedDate)
             dateFiller(_selectedDate);


Transferred from the Adobe Open Source Subversion Repository

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

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

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

Modified Paths:
--------------
151 paths were modified

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

--- frameworks/projects/spark/src/spark/effects/Fade.as
+++ frameworks/projects/spark/src/spark/effects/Fade.as
@@ -18,6 +18,11 @@
 /**
  *
  *  @includeExample examples/FxFadeEffectExample.mxml
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 public class FxFade extends FxAnimate
 {
@@ -48,6 +53,11 @@
      *  alpha property.
      *  If the effect causes the target component to appear,
      *  the default value is 0.0.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public var alphaFrom:Number;

@@ -66,6 +76,11 @@
      *  If the effect causes the target component to appear,
      *  the default value is the current value of the target's
      *  alpha property.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public var alphaTo:Number;


Adjusting test for PgURL move.

Adjusting test for PgURL move.

--- test/src/org/postgresql/pegasus/util/TestPgURL.as
+++ test/src/org/postgresql/pegasus/util/TestPgURL.as
@@ -1,7 +1,7 @@
 package org.postgresql.pegasus.util {

     import org.flexunit.Assert;
-    import org.postgresql.util.PgURL;
+    import org.postgresql.PgURL;

     [RunWith("org.flexunit.runners.Parameterized")]
     public class TestPgURL {


Transferred from the Adobe Open Source Subversion Repository

Revision: 15228
Author:   cframpto@adobe.com
Date:     2010-04-06T00:00:03.409456Z

Log Message:
-----------
Merge 15227 from 4.x to trunk.  Validation errorString.

Modified Paths:
--------------
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -11957,8 +11957,10 @@
                 msg = event.results[0].errorMessage;
             }

-            if (msg && validatorIndex != -1 && errorArray[validatorIndex] != msg)
+            if (msg && validatorIndex != -1)
             {
+                // Handle the case where this target already had this invalid
+                // event and the errorString has been cleared.
                 errorArray[validatorIndex] = msg;
                 errorString = errorArray.join("\n");
                 dispatchEvent(new FlexEvent(FlexEvent.INVALID));


Transferred from the Adobe Open Source Subversion Repository

Revision: 3453
Author:   egreenfi@adobe.com
Date:     2008-10-02T16:31:32.710618Z

Log Message:
-----------
Simple name change to remove conflict with charts

new commitTransform() function in UIComponent conflicted with a preexisting API in chart classes, so it's been renamed to applyComputedTransform() (which is more descriptive of what it's doing anyway).

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -6593,7 +6593,7 @@
     {
         if(_xformOffsets != null && _xformOffsets.updatePending == true)
         {
-         	validateTransform();
+         	applyComputedTransform();
         }

         if (invalidateDisplayListFlag)
@@ -9620,7 +9620,7 @@
 	 * Documentation is not currently available.
 	 * Commits the computed transform stored in the xformOffsets object to the flash displayObject's transform.
 	 */
-	protected function validateTransform():void
+	protected function applyComputedTransform():void
 	{
 		_xformOffsets.updatePending = false;
 		if(_xformOffsets.computedIs3D)


Transferred from the Adobe Open Source Subversion Repository

Revision: 9213
Author:   jszeto@adobe.com
Date:     2009-08-11T00:29:10.884707Z

Log Message:
-----------
Adding missing ASDoc comments to GraphicElement

QE notes: None
Doc notes: Review ASDoc comment additions
Bugs: FLEXDOCS-531
Reviewer: none
Tests run: none
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -11783,6 +11783,14 @@
         }
     }

+    /**
+     *  FIXME (chaase) : FLEXDOCS-1031
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
     public function transformPointToParent(transformCenter:Vector3D,position:Vector3D,postLayoutPosition:Vector3D):void
     {
         if (_layoutFeatures != null)


Transferred from the Adobe Open Source Subversion Repository

Revision: 12470
Author:   clucier@adobe.com
Date:     2009-12-03T22:07:11.713822Z

Log Message:
-----------
As it turns out, supressing MOVE and RESIZE when we can really helps out performance.  So replacing the hasEventListener check and fixing up DataGrid to avoid the need for capture.

QE notes: None
Doc notes: None
Bugs: None
Reviewer: Alex
Tests run: Checkin
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -222,6 +222,9 @@
  *  event is dispatched before the method returns.
  *  In all other situations, the move event is not dispatched
  *  until after the property changes.

+ *
+ *
This event only dispatched when there are one or more
+ *  relevant listeners attached to the dispatching object.

  *
  *  @eventType mx.events.MoveEvent.MOVE
  *
@@ -295,6 +298,9 @@
  *
  *
The resize event is not
  *  dispatched until after the property changes.

+ *
+ *
This event only dispatched when there are one or more
+ *  relevant listeners attached to the dispatching object.

  *
  *  @eventType mx.events.ResizeEvent.RESIZE
  *
@@ -9592,10 +9598,13 @@
      */
     private function dispatchMoveEvent():void
     {
-        var moveEvent:MoveEvent = new MoveEvent(MoveEvent.MOVE);
-        moveEvent.oldX = oldX;
-        moveEvent.oldY = oldY;
-        dispatchEvent(moveEvent);
+        if (hasEventListener(MoveEvent.MOVE))
+        {
+            var moveEvent:MoveEvent = new MoveEvent(MoveEvent.MOVE);
+            moveEvent.oldX = oldX;
+            moveEvent.oldY = oldY;
+            dispatchEvent(moveEvent);
+        }

         oldX = x;
         oldY = y;
@@ -9606,10 +9615,13 @@
      */
     private function dispatchResizeEvent():void
     {
-        var resizeEvent:ResizeEvent = new ResizeEvent(ResizeEvent.RESIZE);
-        resizeEvent.oldWidth = oldWidth;
-        resizeEvent.oldHeight = oldHeight;
-        dispatchEvent(resizeEvent);
+        if (hasEventListener(ResizeEvent.RESIZE))
+        {
+            var resizeEvent:ResizeEvent = new ResizeEvent(ResizeEvent.RESIZE);
+            resizeEvent.oldWidth = oldWidth;
+            resizeEvent.oldHeight = oldHeight;
+            dispatchEvent(resizeEvent);
+        }

         oldWidth = width;
         oldHeight = height;


Transferred from the Adobe Open Source Subversion Repository

Revision: 11027
Author:   dloverin@adobe.com
Date:     2009-10-20T15:50:09.018295Z

Log Message:
-----------
Changes to enable using multiple style managers.

Multiple style managers are not the default yet. Can be enabled by compiling with -create-style-manager.

QE notes: None.
Doc notes: None.
Bugs:
Reviewer: Alex, Paul
Tests run: checkintests, all mustella
Is noteworthy for integration: Yes.

Modified Paths:
--------------
<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/controls/dataGridClasses/DataGridColumn.as</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/as3/AbstractSyntaxTreeUtil.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/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/flex2/compiler/mxml/MxmlConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceGenerator.java</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/events/FlexChangeEvent.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/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.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/modules/compiler/src/java/flex2/compiler/css/StyleModule.java</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/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension.java</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/controls/DateField.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/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSMergedStyleDeclaration.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/managers/CursorManagerImpl.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/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/frameworks/projects/framework/src/mx/skins/halo/BusyCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -10052,7 +10052,7 @@
             {
                 var classSelector:Object =
                     styleName is String ?
-                    styleManager.getStyleDeclaration("." + styleName) :
+                    styleManager.getMergedStyleDeclaration("." + styleName) :
                     styleName;

                 if (classSelector)


Transferred from the Adobe Open Source Subversion Repository

Revision: 10263
Author:   cframpto@adobe.com
Date:     2009-09-15T13:45:57.609886Z

Log Message:
-----------
Add textInputClass class to the components that use it so that textInputClass can be specified via mxml for DateField, NumericStepper, ColorPicker and ComboBox.

QE notes:
Doc notes:
Bugs: SDK-22927
Reviewer: Gordon
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>

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

--- frameworks/projects/mx/src/mx/controls/NumericStepper.as
+++ frameworks/projects/mx/src/mx/controls/NumericStepper.as
@@ -207,6 +207,25 @@
  *  @productversion Flex 4
  */
 [Style(name="symbolColor", type="uint", format="Color", inherit="yes", theme="spark")]
+
+/**
+ *  The class implementing ITextInput that is used by this component
+ *  to input text.
+ *
+ *
It can be set to either the mx.core.TextInput class
+ *  (to use the classic Halo TextInput control)
+ *  or the mx.controls.TLFTextInput class
+ *  (to use the Spark TextInput component based on the Text Layout Framework
+ *  to get improved text rendering, including bidirectional layout).

+ *
+ *  @default mx.controls.TextInput
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="textInputClass", type="Class", inherit="no")]

 /**
  *  Name of the class to use as the default skin for the up arrow.


Transferred from the Adobe Open Source Subversion Repository

Revision: 10203
Author:   klin@adobe.com
Date:     2009-09-12T23:14:39.753219Z

Log Message:
-----------
http://bugs.adobe.com/jira/browse/SDK-23113 - Bug where backgroundColor and backgroundAlpha would show up twice in the ASDocs.

I pulled out the two styles into separate style files that distinguish between having just the halo theme (some components) or both halo and spark (Container and container subclasses). Updated other components to include the right style files.

QE notes: None
Doc notes: Check to make sure duplicates are not there.
Bugs: SDK-23113
Reviewer: Glenn
Tests run: local asdoc
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToolTip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BackgroundStyles.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/NumericStepper.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/ContainerBackgroundStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>

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

--- frameworks/projects/mx/src/mx/controls/NumericStepper.as
+++ frameworks/projects/mx/src/mx/controls/NumericStepper.as
@@ -78,6 +78,7 @@
 //  Styles
 //--------------------------------------

+include "../styles/metadata/BackgroundStyles.as"
 include "../styles/metadata/BorderStyles.as"
 include "../styles/metadata/FocusStyles.as"
 include "../styles/metadata/IconColorStyles.as"


Transferred from the Adobe Open Source Subversion Repository

Revision: 5545
Author:   jimurphy@adobe.com
Date:     2009-03-25T19:00:52.330680Z

Log Message:
-----------
1st pass of rename according to the spec http://opensource.adobe.com/wiki/display/flexsdk/Dropping+the+Fx+Prefix

Flex now requires CSS Style declarations to declare @namespace rules and disambiguate between halo and spark components using CSS 3 namespace prefixes on type selectors. At compile time, this namespace information will be used to map type names to qualified ActionScript class names. At runtime, type selectors are matched on qualified ActionScript class name (for example mx.controls.Button rather than just Button). Flex 3 applications must be compiled with -compatibility-version=3.0.0 to get unqualified CSS type selector behavior.

QE: Yes, this build may help in updating test cases to use the new namespaces and class names.
Dev: Not yet
Doc: Not yet

Modified Paths:
--------------
748 paths were modified

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

--- frameworks/projects/spark/src/spark/components/Button.as
+++ frameworks/projects/spark/src/spark/components/Button.as
@@ -9,41 +9,41 @@
 //
 ////////////////////////////////////////////////////////////////////////////////

-package mx.components
+package spark.components
 {

 import flash.events.Event;
-import mx.components.baseClasses.ButtonBase;
+import spark.components.supportClasses.ButtonBase;
 import mx.core.IButton;

 //--------------------------------------
 //  Other metadata
 //--------------------------------------

-[IconFile("FxButton.png")]
+[IconFile("Button.png")]

 /**
- *  The FxButton component is a commonly used rectangular button.
- *  The FxButton component looks like it can be pressed.
+ *  The Button component is a commonly used rectangular button.
+ *  The Button component looks like it can be pressed.
  *  It can have a text label, an icon, or both on its face.
  *
  *
Buttons typically use event listeners to perform an action
  *  when the user selects the control. When a user clicks the mouse
- *  on a FxButton control, and the FxButton control is enabled,
+ *  on a Button control, and the Button control is enabled,
  *  it dispatches a click event and a buttonDown event.
  *  A button always dispatches events such as the mouseMove,
  *  mouseOver, mouseOut, rollOver,
  *  rollOut, mouseDown, and
  *  mouseUp events whether enabled or disabled.

  *
- *  @includeExample examples/FxButtonExample.mxml
+ *  @includeExample examples/ButtonExample.mxml
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-public class FxButton extends ButtonBase implements IButton
+public class Button extends ButtonBase implements IButton
 {
     include "../core/Version.as";

@@ -61,7 +61,7 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function FxButton()
+    public function Button()
     {
         super();
     }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/spark/src/spark/components/Button.as
+++ frameworks/projects/spark/src/spark/components/Button.as
@@ -9,7 +9,7 @@
 //
 ////////////////////////////////////////////////////////////////////////////////

-package flex.component
+package mx.components
 {

 import flash.events.Event;
@@ -20,9 +20,9 @@
 import flash.ui.Keyboard;
 import flash.utils.Timer;

-import flex.core.Flags32;
-import flex.core.SkinnableComponent;
-import flex.graphics.TextBox;
+import mx.utils.Flags32;
+import mx.components.baseClasses.FxComponent;
+import mx.graphics.TextBox;

 import mx.events.FlexEvent;
 import mx.managers.IFocusManagerComponent;
@@ -32,9 +32,9 @@
  *  If the autoRepeat property is true,
  *  this event is dispatched repeatedly as long as the button stays down.
  *
- *  @eventType mx.events.FlexEvent.BUTTON_DOWN
+ *  @eventType mx.events.AnimationEvent.BUTTON_DOWN
  */
-[Event(name="buttonDown", type="mx.events.FlexEvent")]
+[Event(name="buttonDown", type="mx.events.AnimationEvent")]

 /**
  *  Number of milliseconds to wait after the first buttonDown
@@ -69,7 +69,7 @@
 /**
  *  Documentation is not currently available.
  */
-public class Button extends SkinnableComponent implements IFocusManagerComponent
+public class FxButton extends FxComponent implements IFocusManagerComponent
 {
     include "../core/Version.as";

@@ -82,7 +82,7 @@
     /**
      *  Constructor.
      */
-	public function Button()
+	public function FxButton()
 	{
 		super();