Transferred from the Adobe Open Source Subversion Repository

Revision: 8721
Author:   aharui@adobe.com
Date:     2009-07-21T22:11:37.692397Z

Log Message:
-----------
Hopefully final implementation of IME support.

QE Notes: None
Doc Notes: new API in IIMESupport
Bugs: SDK-22267, SDK-18516
Reviewer: Gordon
API Change: Yes
Is noteworthy for integration: Yes, new API in IIMESupport
tests: checkintests mustella/gumbo/components/TextInput mustella/gumbo/components/TextArea

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/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IIMESupport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>

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

--- frameworks/projects/spark/src/mx/core/UIFTETextField.as
+++ frameworks/projects/spark/src/mx/core/UIFTETextField.as
@@ -722,18 +722,19 @@
     }

     //----------------------------------
-    //  editable
-    //----------------------------------
-
-	/**
-     *  Specifies whether the user is allowed to edit the text in this control.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10
-	 *  @playerversion AIR 1.5
-	 *  @productversion Flex 4
-	 */
-    public function get editable():Boolean
+    //  enableIME
+    //----------------------------------
+
+    /**
+     *  A flag that indicates whether the IME should
+     *  be enabled when the component receives focus.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function get enableIME():Boolean
     {
         return type == TextFieldType.INPUT;
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 8408
Author:   gosmith@adobe.com
Date:     2009-07-06T23:11:17.146372Z

Log Message:
-----------
Kerning is now enabled by default for Spark components, but remains disabled by default for Halo components.

This is accomplished by having the global selector set 'kerning' to a new value, "default". Spark components now interpret "default" as "auto", while Halo components interpret "default" as false.

In Beta 1, kerning was accidentally enabled in some Spark components; then it was deliberately disabled in all of them as an interim step. Now we're enabling it in all Spark components, which is what we want for Flex 4.0. A cyclone build of this change was performance-tested and showed no degradation.

Background info:

In Halo components based on TextField, kerning is supposed to be true or false. The default in TextField and Flex 3 is false because kerning doesn't work for device fonts and is slow for embedded fonts.

In Spark components based on TLF and FTE, kerning is "auto", "on", or, "off". The default in TLF and FTE is "auto"  (which means kern non-Asian characters) because kerning works even on device fonts and has miminal performance impact.

Since a CSS selector or parent container can affect both Halo and Spark components, we need to map "auto" and "on" to true and "off" to false for Halo components in UITextField and  UITLFTextField. For Spark components, SimpleText and CSSTextLayoutFormat, we do the opposite mapping of true to "on" and false to "off".

We will also now support a value of "default"  (which will be set in the global selector) to mean false for Halo and "auto" for Spark. This will enable developers  to get the recommended behavior in both sets of components.

QE Notes: This change will require all baseline bitmaps for Spark components containing text to be regenerated.
Doc Notes: None
Bugs: SDK-21952
Reviewer: Carol

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/CSSTextLayoutFormat.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/SimpleText.as</path>

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

--- frameworks/projects/spark/src/spark/components/Label.as
+++ frameworks/projects/spark/src/spark/components/Label.as
@@ -566,7 +566,31 @@
     {
         var kerning:Object = getStyle("kerning");

-        if (kerning === true)
+		// In Halo components based on TextField,
+		// kerning is supposed to be true or false.
+		// The default in TextField and Flex 3 is false
+		// because kerning doesn't work for device fonts
+		// and is slow for embedded fonts.
+		// In Spark components based on TLF and FTE,
+		// kerning is "auto", "on", or, "off".
+		// The default in TLF and FTE is "auto"
+		// (which means kern non-Asian characters)
+		// because kerning works even on device fonts
+		// and has miminal performance impact.
+        // Since a CSS selector or parent container
+		// can affect both Halo and Spark components,
+		// we need to map true to "on" and false to "off"
+		// here and in SimpleText.
+		// For Halo components, UITextField and UITLFTextField
+		// do the opposite mapping
+		// of "auto" and "on" to true and "off" to false.
+		// We also support a value of "default"
+		// (which we set in the global selector)
+		// to mean "auto" for Spark and false for Halo
+		// to get the recommended behavior in both sets of components.
+        if (kerning === "default")
+			kerning = Kerning.AUTO;
+		else if (kerning === true)
             kerning = Kerning.ON;
         else if (kerning === false)
             kerning = Kerning.OFF;


Ugly duplicate code, go away :(

Ugly duplicate code, go away :(

git-svn-id: c197267f952b24206666de142881703007ca05d5@9657 b35dd754-fafc-0310-a699-88a17e54d16e

--- src/org/jivesoftware/xiff/im/Roster.as
+++ src/org/jivesoftware/xiff/im/Roster.as
@@ -300,18 +300,15 @@
 		private function updateContact( id:String, newName:String, newGroups:Array ):void
 		{
 			// Make sure we already subscribe
-			var l:uint = length;
-			for( var i:uint = 0; i < l; i++ ) {
-				if( id.toLowerCase() == getItemAt( i ).jid.toLowerCase() ) {
-					var tempIQ:IQ = new IQ( null, IQ.SET_TYPE, XMPPStanza.generateID("update_contact_") );
-					var ext:RosterExtension = new RosterExtension( tempIQ.getNode() );
-					var rosterItem:RosterItemVO = getContactInformation( id );
-
-					ext.addItem( id, rosterItem.subscribeType, newName, newGroups );
-					tempIQ.addExtension( ext );
-					myConnection.send( tempIQ );
-					break;
-				}
+			var contact:RosterItemVO = getContactInformation(id);
+			if(contact)
+			{
+				var tempIQ:IQ = new IQ( null, IQ.SET_TYPE, XMPPStanza.generateID("update_contact_") );
+				var ext:RosterExtension = new RosterExtension( tempIQ.getNode() );
+
+				ext.addItem( id, contact.subscribeType, newName, newGroups );
+				tempIQ.addExtension( ext );
+				myConnection.send( tempIQ );
 			}
 		}


minor trace message change

minor trace message change

--- flexEditor/src/org/arisgames/editor/services/AppServices.as
+++ flexEditor/src/org/arisgames/editor/services/AppServices.as
@@ -136,7 +136,7 @@
         }
         else
         {
-            trace("This NPC has an Id (" + npc.npcId + "), so call update NPC.  BTW, the game number is = '" + gid + "'; name = '" + npc.name + "'");
+            trace("This NPC has an Id (" + npc.npcId + "), so call update NPC. gameid:" + gid + " name:" + npc.name + "greeting:" + npc.greeting);
             r = AppDAO.getInstance().getNPCServer().updateNpc(gid, npc.npcId, npc.name, npc.description, npc.greeting, npc.mediaId, npc.iconMediaId);
         }
         r.addResponder(resp);


mispelling

mispelling

--- src/aerys/minko/scene/node/Scene.as
+++ src/aerys/minko/scene/node/Scene.as
@@ -66,7 +66,7 @@

 		public function belongsToLayer(leaf : ITaggable, layerName : String) : Boolean
 		{
-			var layer : uint = getLayerName(layerName);
+			var layer : uint = getLayerByName(layerName);

 			return (leaf.tag & layer) != 0;
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 8741
Author:   jimurphy@adobe.com
Date:     2009-07-22T21:00:56.965677Z

Log Message:
-----------
Merged 3.x revisions 8623,8685,8740 -> trunk

Modified Paths:
--------------
<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/xml/SimpleXMLDecoder.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</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/rpc/src/mx/rpc/remoting/mxml/RemoteObject.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/AbstractService.as</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/frameworks/projects/rpc/src/mx/rpc/soap/AbstractWebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/MessagePerformanceUtils.as</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/rpc/src/mx/rpc/xml/SimpleXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/Operation.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/http/Operation.as
+++ frameworks/projects/rpc/src/mx/rpc/http/Operation.as
@@ -48,7 +48,11 @@
     //---------------------------------

     /**
-     * Creates a new Operation.
+     *  Creates a new Operation.
+     *
+     *  @param service The HTTPMultiService object defining the service.
+     *
+     *  @param name The name of the service.
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -110,6 +114,9 @@
     private var _methodSet:Boolean = false;
     private var _method:String;

+    /**
+     *  @inheritDoc
+     */
     override public function get method():String
     {
         if (_methodSet)
@@ -117,6 +124,9 @@

         return _multiService.method;
     }
+    /**
+     *  @private
+     */
     override public function set method(m:String):void
     {
         _method = m;
@@ -132,12 +142,18 @@
     }

     private var _showBusyCursorSet:Boolean = false;
+    /**
+     *  @inheritDoc
+     */
     override public function get showBusyCursor():Boolean
     {
         if (_showBusyCursorSet)
             return super.showBusyCursor;
         return _multiService.showBusyCursor;
     }
+    /**
+     *  @private
+     */
     override public function set showBusyCursor(b:Boolean):void
     {
         super.showBusyCursor = b;
@@ -181,6 +197,9 @@

     private var _useProxySet:Boolean = false;

+    /**
+     *  @inheritDoc
+     */
     override public function get useProxy():Boolean
     {
         if (_useProxySet)
@@ -188,6 +207,9 @@
         return _multiService.useProxy;
     }

+    /**
+     *  @private
+     */
     override public function set useProxy(value:Boolean):void
     {
         _useProxySet = true;
@@ -196,6 +218,9 @@

     private var _contentTypeSet:Boolean = false;

+    /**
+     *  @inheritDoc
+     */
     override public function get contentType():String
     {
         if (_contentTypeSet)
@@ -203,6 +228,9 @@
         return _multiService.contentType;
     }

+    /**
+     *  @private
+     */
     override public function set contentType(ct:String):void
     {
         _contentTypeSet = ct != null;
@@ -295,6 +323,9 @@

     private var _resultFormatSet:Boolean = false;

+    /**
+     *  @inheritDoc
+     */
     override public function get resultFormat():String
     {
         if (_resultFormatSet)
@@ -302,12 +333,18 @@
         return _multiService.resultFormat;
     }

+    /**
+     *  @private
+     */
     override public function set resultFormat(rf:String):void
     {
         _resultFormatSet = rf != null;
         super.resultFormat = rf;
     }

+    /**
+     *  @private
+     */
     override protected function getSerializationFilter():SerializationFilter
     {
         var sf:SerializationFilter = serializationFilter;
@@ -316,6 +353,9 @@
         return sf;
     }

+    /**
+     *  @private
+     */
     override protected function getHeaders():Object
     {
         // TODO: support combining the headers maps if both are specified


Transferred from the Adobe Open Source Subversion Repository

Revision: 8535
Author:   chaase@adobe.com
Date:     2009-07-13T23:23:47.722512Z

Log Message:
-----------
Fixed some transform effects bugs plus a GraphicElement.localToGlobal() bug with the shared display object.

QE Notes: 8 failures in transform effects tests, 1 in Resize test, require changes to the test (new, correct behavior causes a change in the relevantStyles and affectedProperties return values)
Doc Notes: None
Bugs: sdk-21875, sdk-21465, sdk-21804, sdk-22165, sdk-21933
Reviewer: Jason, Glenn (for 21933)
Tests: checkintests, Mustella (spark/effects, mx/effects), Catalyst transition test

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/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>

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


- Fixed a problem when updating preferences after authenticating (in this case no auth was needed)

--- core/src/main/flex/org/dukecon/controller/UserPreferenceController.as
+++ core/src/main/flex/org/dukecon/controller/UserPreferenceController.as
@@ -84,46 +84,50 @@
         token.addEventListener(ResultEvent.RESULT, function (event:ResultEvent):void {
             var result:Object = event.result;

-            clientId = KeycloakToken(token).keycloakToken['sub'];
-            trace("ClientId: " + clientId);
-            // Flush the table and add each user preference returned by the server.
-            UserPreferenceBase.clearTable(conn);
-            var selectedEventIds:ArrayCollection = new ArrayCollection();
-            for each(var obj:Object in result as Array) {
-                var userPreference:UserPreference = new UserPreference(obj);
-                userPreference.persist(conn);
-                selectedEventIds.addItem(userPreference.eventId);
-            }
-            trace("Got: " + result.length + " preferences.");
-
-            // If there are outstanding creations or deletions, replay them now.
-            if (uncommittedAdditions.length > 0) {
-                trace("Replaying uncommitted additions:");
-                for each(var addition:UserPreference in uncommittedAdditions) {
-                    // Only re-send the addition if the event was not
-                    // selected, as it could have been added by another
-                    // client.
-                    if (!selectedEventIds.contains(addition.eventId)) {
-                        addUserPreference(addition);
+            if(KeycloakToken(token).keycloakToken) {
+                clientId = KeycloakToken(token).keycloakToken['sub'];
+            }
+            if(clientId) {
+                trace("ClientId: " + clientId);
+                // Flush the table and add each user preference returned by the server.
+                UserPreferenceBase.clearTable(conn);
+                var selectedEventIds:ArrayCollection = new ArrayCollection();
+                for each(var obj:Object in result as Array) {
+                    var userPreference:UserPreference = new UserPreference(obj);
+                    userPreference.persist(conn);
+                    selectedEventIds.addItem(userPreference.eventId);
+                }
+                trace("Got: " + result.length + " preferences.");
+
+                // If there are outstanding creations or deletions, replay them now.
+                if (uncommittedAdditions.length > 0) {
+                    trace("Replaying uncommitted additions:");
+                    for each(var addition:UserPreference in uncommittedAdditions) {
+                        // Only re-send the addition if the event was not
+                        // selected, as it could have been added by another
+                        // client.
+                        if (!selectedEventIds.contains(addition.eventId)) {
+                            addUserPreference(addition);
+                        }
                     }
+                    trace("Done replaying uncommitted additions.");
                 }
-                trace("Done replaying uncommitted additions.");
-            }
-            if (uncommittedDeletes.length > 0) {
-                trace("Replaying uncommitted deletions:");
-                for each(var deletion:UserPreference in uncommittedDeletes) {
-                    // Only re-send the deletion if the event was still
-                    // selected, as it could have been removed by another
-                    // client.
-                    if (selectedEventIds.contains(addition.eventId)) {
-                        deleteUserPreference(deletion);
+                if (uncommittedDeletes.length > 0) {
+                    trace("Replaying uncommitted deletions:");
+                    for each(var deletion:UserPreference in uncommittedDeletes) {
+                        // Only re-send the deletion if the event was still
+                        // selected, as it could have been removed by another
+                        // client.
+                        if (selectedEventIds.contains(addition.eventId)) {
+                            deleteUserPreference(deletion);
+                        }
                     }
+                    trace("Done replaying uncommitted deletions.");
                 }
-                trace("Done replaying uncommitted deletions.");
-            }
-
-            dispatchEvent(new UserPreferenceDataChangedEvent(
-                    UserPreferenceDataChangedEvent.USER_PREFERENCE_DATA_CHANGED));
+
+                dispatchEvent(new UserPreferenceDataChangedEvent(
+                        UserPreferenceDataChangedEvent.USER_PREFERENCE_DATA_CHANGED));
+            }
         });
     }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package mx.olap
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/framework/src/mx/styles/StyleManager.as
+++ frameworks/projects/framework/src/mx/styles/StyleManager.as
@@ -0,0 +1,577 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.styles
+{
+
+import flash.events.IEventDispatcher;
+import flash.system.ApplicationDomain;
+import flash.system.SecurityDomain;
+import mx.core.Singleton;
+import mx.core.mx_internal;
+
+/**
+ *  The StyleManager class manages the following:
+ *

+ *
Which CSS style properties the class inherits

+ *
Which style properties are colors, and therefore get special handling

+ *
A list of strings that are aliases for color values

+ *

+ *
+ *  @see mx.styles.CSSStyleDeclaration
+ */
+public class StyleManager
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  The getColorName() method returns this value if the passed-in
+     *  String is not a legitimate color name.
+     */
+    public static const NOT_A_COLOR:uint = 0xFFFFFFFF;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class variables
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Linker dependency on implementation class.
+     */
+    private static var implClassDependency:StyleManagerImpl;
+
+    /**
+     *  @private
+     *  Storage for the impl getter.
+     *  This gets initialized on first access,
+     *  not at static initialization time, in order to ensure
+     *  that the Singleton registry has already been initialized.
+     */
+    private static var _impl:IStyleManager2;
+
+    /**
+     *  @private
+     *  The singleton instance of StyleManagerImpl which was
+     *  registered as implementing the IStyleManager2 interface.
+     */
+    private static function get impl():IStyleManager2
+    {
+        if (!_impl)
+        {
+            _impl = IStyleManager2(
+                Singleton.getInstance("mx.styles::IStyleManager2"));
+        }
+
+        return _impl;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  The root of all proto chains used for looking up styles.
+     *  This object is initialized once by initProtoChainRoots() and
+     *  then updated by calls to setStyle() on the global CSSStyleDeclaration.
+     *  It is accessed by code that needs to construct proto chains,
+     *  such as the initProtoChain() method of UIComponent.
+     */
+    mx_internal static function get stylesRoot():Object
+    {
+        return impl.stylesRoot;
+    }
+    mx_internal static function set stylesRoot(value:Object):void
+    {
+        impl.stylesRoot = value;
+    }
+
+    /**
+     *  @private
+     *  Set of inheriting non-color styles.
+     *  This is not the complete set from CSS.
+     *  Some of the omitted we don't support at all,
+     *  others may be added later as needed.
+     *  The method registerInheritingStyle() adds to this set
+     *  and isInheritingStyle() queries this set.
+     */
+    mx_internal static function get inheritingStyles():Object
+    {
+        return impl.inheritingStyles;
+    }
+    mx_internal static function set inheritingStyles(value:Object):void
+    {
+        impl.inheritingStyles = value;
+    }
+
+    /**
+     *  @private
+     */
+    mx_internal static function get typeSelectorCache():Object
+    {
+        return impl.typeSelectorCache;
+    }
+    mx_internal static function set typeSelectorCache(value:Object):void
+    {
+        impl.typeSelectorCache = value;
+    }
+
+    /**
+     *  @private
+     *  This method is called by code autogenerated by the MXML compiler,
+     *  after StyleManager.styles is popuplated with CSSStyleDeclarations.
+     */
+    mx_internal static function initProtoChainRoots():void
+    {
+        impl.initProtoChainRoots();
+    }
+
+    /**
+     *  Returns an Array of all the CSS selectors that are registered with the StyleManager.
+     *  You can pass items in this Array to the getStyleDeclaration() method to get the corresponding CSSStyleDeclaration object.
+     *  Class selectors are prepended with a period.
+     *
+     *  @return An Array of all of the selectors
+     */
+    public static function get selectors():Array
+    {
+        return impl.selectors;
+    }
+
+    /**
+     *  Gets the CSSStyleDeclaration object that stores the rules
+     *  for the specified CSS selector.
+     *
+     *
If the selector parameter starts with a period (.),
+     *  the returned CSSStyleDeclaration is a class selector and applies only to those instances
+     *  whose styleName property specifies that selector
+     *  (not including the period).
+     *  For example, the class selector ".bigMargins"
+     *  applies to any UIComponent whose styleName
+     *  is "bigMargins".

+     *
+     *
If the selector parameter does not start with a period,
+     *  the returned CSSStyleDeclaration is a type selector and applies to all instances
+     *  of that type.
+     *  For example, the type selector "Button"
+     *  applies to all instances of Button and its subclasses.

+     *
+     *
The global selector is similar to a type selector
+     *  and does not start with a period.

+     *
+     *  @param selector The name of the CSS selector.
+     *
+     *  @return The style declaration whose name matches the selector property.
+     */
+    public static function getStyleDeclaration(
+                                selector:String):CSSStyleDeclaration
+    {
+        return impl.getStyleDeclaration(selector);
+    }
+
+    /**
+     *  Sets the CSSStyleDeclaration object that stores the rules
+     *  for the specified CSS selector.
+     *
+     *
If the selector parameter starts with a period (.),
+     *  the specified selector is a "class selector" and applies only to those instances
+     *  whose styleName property specifies that selector
+     *  (not including the period).
+     *  For example, the class selector ".bigMargins"
+     *  applies to any UIComponent whose styleName
+     *  is "bigMargins".

+     *
+     *
If the selector parameter does not start with a period,
+     *  the specified selector is a "type selector" and applies to all instances
+     *  of that type.
+     *  For example, the type selector "Button"
+     *  applies to all instances of Button and its subclasses.

+     *
+     *
The global selector is similar to a type selector
+     *  and does not start with a period.

+     *
+     *  @param selector The name of the CSS selector.
+     *  @param styleDeclaration The new style declaration.
+     *  @param update Set to true to force an immediate update of the styles; internally, Flex
+     *  calls the styleChanged() method of UIComponent.
+     *  Set to false to avoid an immediate update of the styles in the application.
+     *
+     *
The styles will be updated the next time one of the following methods is called with
+     *  the update property set to true:
+     *

+     *
clearStyleDeclaration()

+     *
loadStyleDeclarations()

+     *
setStyleDeclaration()

+     *
unloadStyleDeclarations()

+     *

+     *

+     *
+     *
Typically, if you call the one of these methods multiple times,
+     *  you set this property to true only on the last call,
+     *  so that Flex does not call the styleChanged() method multiple times.

+     *
+     *
If you call the getStyle() method, Flex returns the style value
+     *  that was last applied to the UIComponent through a call to the styleChanged() method.
+     *  The component's appearance might not reflect the value returned by the getStyle() method. This occurs
+     *  because one of these style declaration methods might not yet have been called with the
+     *  update property set to true.

+     *
+     */
+    public static function setStyleDeclaration(
+                                selector:String,
+                                styleDeclaration:CSSStyleDeclaration,
+                                update:Boolean):void
+    {
+        impl.setStyleDeclaration(selector, styleDeclaration, update);
+    }
+
+    /**
+     *  Clears the CSSStyleDeclaration object that stores the rules
+     *  for the specified CSS selector.
+     *
+     *
If the specified selector is a class selector (for example, ".bigMargins" or ".myStyle"),
+     *  you must be sure to start the
+     *  selector property with a period (.).

+     *
+     *
If the specified selector is a type selector (for example, "Button"), do not start the
+     *  selector property with a period.

+     *
+     *
The global selector is similar to a type selector
+     *  and does not start with a period.

+     *
+     *  @param selector The name of the CSS selector to clear.
+     *  @param update Set to true to force an immediate update of the styles.
+     *  Set to false to avoid an immediate update of the styles in the application.
+     *  For more information about this method, see the description in the setStyleDeclaration()
+     *  method.
+     *
+     *  @see #setStyleDeclaration()
+     */
+    public static function clearStyleDeclaration(selector:String,
+                                                 update:Boolean):void
+    {
+        impl.clearStyleDeclaration(selector, update);
+    }
+
+    /**
+     *  @private
+     *  After an entire selector is added, replaced, or removed,
+     *  this method updates all the DisplayList trees.
+     */
+    mx_internal static function styleDeclarationsChanged():void
+    {
+        impl.styleDeclarationsChanged();
+    }
+
+    /**
+     *  Adds to the list of styles that can inherit values
+     *  from their parents.
+     *
+     *
Note: Ensure that you avoid using duplicate style names, as name
+     *  collisions can result in decreased performance if a style that is
+     *  already used becomes inheriting.

+     *
+     *  @param styleName The name of the style that is added to the list of styles that can inherit values.
+     */
+    public static function registerInheritingStyle(styleName:String):void
+    {
+        impl.registerInheritingStyle(styleName);
+    }
+
+    /**
+     *  Tests to see if a style is inheriting.
+     *
+     *  @param styleName The name of the style that you test to see if it is inheriting.
+     *
+     *  @return Returns true if the specified style is inheriting.
+     */
+    public static function isInheritingStyle(styleName:String):Boolean
+    {
+        return impl.isInheritingStyle(styleName);
+    }
+
+    /**
+     *  Test to see if a TextFormat style is inheriting.
+     *
+     *  @param styleName The name of the style that you test to see if it is inheriting.
+     *
+     *  @return Returns true if the specified TextFormat style
+     *  is inheriting.
+     */
+    public static function isInheritingTextFormatStyle(styleName:String):Boolean
+    {
+        return impl.isInheritingTextFormatStyle(styleName);
+    }
+
+    /**
+     *  Adds to the list of styles which may affect the measured size
+     *  of the component.
+     *  When one of these styles is set with setStyle(),
+     *  the invalidateSize() method is automatically called on the component
+     *  to make its measured size get recalculated later.
+     *
+     *  @param styleName The name of the style that you add to the list.
+     */
+    public static function registerSizeInvalidatingStyle(styleName:String):void
+    {
+        impl.registerSizeInvalidatingStyle(styleName);
+    }
+
+    /**
+     *  Tests to see if a style changes the size of a component.
+     *
+     *
When one of these styles is set with the setStyle() method,
+     *  the invalidateSize() method is automatically called on the component
+     *  to make its measured size get recalculated later.

+     *
+     *  @param styleName The name of the style to test.
+     *
+     *  @return Returns true if the specified style is one
+     *  which may affect the measured size of the component.
+     */
+    public static function isSizeInvalidatingStyle(styleName:String):Boolean
+    {
+        return impl.isSizeInvalidatingStyle(styleName);
+    }
+
+    /**
+     *  Adds to the list of styles which may affect the measured size
+     *  of the component's parent container.
+     *
When one of these styles is set with setStyle(),
+     *  the invalidateSize() method is automatically called on the component's
+     *  parent container to make its measured size get recalculated
+     *  later.

+     *
+     *  @param styleName The name of the style to register.
+     */
+    public static function registerParentSizeInvalidatingStyle(styleName:String):void
+    {
+        impl.registerParentSizeInvalidatingStyle(styleName);
+    }
+
+    /**
+     *  Tests to see if the style changes the size of the component's parent container.
+     *
+     *
When one of these styles is set with setStyle(),
+     *  the invalidateSize() method is automatically called on the component's
+     *  parent container to make its measured size get recalculated
+     *  later.

+     *
+     *  @param styleName The name of the style to test.
+     *
+     *  @return Returns true if the specified style is one
+     *  which may affect the measured size of the component's
+     *  parent container.
+     */
+    public static function isParentSizeInvalidatingStyle(styleName:String):Boolean
+    {
+        return impl.isParentSizeInvalidatingStyle(styleName);
+    }
+
+    /**
+     *  Adds to the list of styles which may affect the appearance
+     *  or layout of the component's parent container.
+     *  When one of these styles is set with setStyle(),
+     *  the invalidateDisplayList() method is auomatically called on the component's
+     *  parent container to make it redraw and/or relayout its children.
+     *
+     *  @param styleName The name of the style to register.
+     */
+    public static function registerParentDisplayListInvalidatingStyle(
+                                styleName:String):void
+    {
+        impl.registerParentDisplayListInvalidatingStyle(styleName);
+    }
+
+    /**
+     *  Tests to see if this style affects the component's parent container in
+     *  such a way as to require that the parent container redraws itself when this style changes.
+     *
+     *
When one of these styles is set with setStyle(),
+     *  the invalidateDisplayList() method is auomatically called on the component's
+     *  parent container to make it redraw and/or relayout its children.

+     *
+     *  @param styleName The name of the style to test.
+     *
+     *  @return Returns true if the specified style is one
+     *  which may affect the appearance or layout of the component's
+     *  parent container.
+     */
+    public static function isParentDisplayListInvalidatingStyle(
+                                styleName:String):Boolean
+    {
+        return impl.isParentDisplayListInvalidatingStyle(styleName);
+    }
+
+    /**
+     *  Adds a color name to the list of aliases for colors.
+     *
+     *  @param colorName The name of the color to add to the list; for example, "blue".
+     *  If you later access this color name, the value is not case-sensitive.
+     *
+     *  @param colorValue Color value, for example, 0x0000FF.
+     */
+    public static function registerColorName(colorName:String, colorValue:uint):void
+    {
+        impl.registerColorName(colorName, colorValue);
+    }
+
+    /**
+     *  Tests to see if the given String is an alias for a color value. For example,
+     *  by default, the String "blue" is an alias for 0x0000FF.
+     *
+     *  @param colorName The color name to test. This parameter is not case-sensitive.
+     *
+     *  @return Returns true if colorName is an alias
+     *  for a color.
+     */
+    public static function isColorName(colorName:String):Boolean
+    {
+        return impl.isColorName(colorName);
+    }
+
+    /**
+     *  Returns the numeric RGB color value that corresponds to the
+     *  specified color string.
+     *  The color string can be either a case-insensitive color name
+     *  such as "red", "Blue", or
+     *  "haloGreen", a hexadecimal value such as 0xFF0000, or a #-hexadecimal String
+     *  such as "#FF0000".
+     *
+     *
This method returns a uint, such as 4521830, that represents a color. You can convert
+     *  this uint to a hexadecimal value by passing the numeric base (in this case, 16), to
+     *  the uint class's toString() method, as the following example shows:

+     *

+     *  import mx.styles.StyleManager;
+     *  private function getNewColorName():void {
+     *      StyleManager.registerColorName("soylentGreen",0x44FF66);
+     *      trace(StyleManager.getColorName("soylentGreen").toString(16));
+     *  }
+     *

+     *
+     *  @param colorName The color name.
+     *
+     *  @return Returns a uint that represents the color value or NOT_A_COLOR
+     *  if the value of the colorName property is not an alias for a color.
+     */
+    public static function getColorName(colorName:Object):uint
+    {
+        return impl.getColorName(colorName);
+    }
+
+    /**
+     *  Converts each element of the colors Array from a color name
+     *  to a numeric RGB color value.
+     *  Each color String can be either a case-insensitive color name
+     *  such as "red", "Blue", or
+     *  "haloGreen", a hexadecimal value such as 0xFF0000, or a #-hexadecimal String
+     *  such as "#FF0000"..
+     *
+     *  @param colors An Array of color names.
+     */
+    public static function getColorNames(colors:Array /* of Number or String */):void
+    {
+        impl.getColorNames(colors);
+    }
+
+    /**
+     *  Determines if a specified parameter is a valid style property. For example:
+     *
+     *

+     *  trace(StyleManager.isValidStyleValue(myButton.getStyle("color")).toString());
+     *

+     *
+     *
This can be useful because some styles can be set to values
+     *  such as 0, NaN,
+     *  the empty String (""), or null, which can
+     *  cause an if (value) test to fail.

+     *
+     *  @param value The style property to test.
+     *
+     *  @return If you pass the value returned by a getStyle() method call
+     *  to this method, it returns true if the style
+     *  was set and false if it was not set.
+     *
+     */
+    public static function isValidStyleValue(value:*):Boolean
+    {
+        return impl.isValidStyleValue(value);
+    }
+
+    /**
+     *  Loads a style SWF.
+     *
+     *  @param url Location of the style SWF.
+     *
+     *  @param update Set to true to force
+     *  an immediate update of the styles.
+     *  Set to false to avoid an immediate update
+     *  of the styles in the application.
+     *  This parameter is optional and defaults to true
+     *  For more information about this parameter, see the description
+     *  in the setStyleDeclaration() method.
+     *
+     *  @param trustContent Obsolete, no longer used.
+     *  This parameter is optional and defaults to false.
+     *
+     *  @param applicationDomain The ApplicationDomain passed to the
+     *  load() method of the IModuleInfo that loads the style SWF.
+     *  This parameter is optional and defaults to null.
+     *
+     *  @param securityDomain The SecurityDomain passed to the
+     *  load() method of the IModuleInfo that loads the style SWF.
+     *  This parameter is optional and defaults to null.
+     *
+     *  @return An IEventDispatcher implementation that supports
+     *          StyleEvent.PROGRESS, StyleEvent.COMPLETE, and
+     *          StyleEvent.ERROR.
+     *
+     *  @see #setStyleDeclaration()
+     */
+    public static function loadStyleDeclarations(
+                         url:String, update:Boolean = true,
+                         trustContent:Boolean = false,
+                         applicationDomain:ApplicationDomain = null,
+                         securityDomain:SecurityDomain = null):IEventDispatcher
+    {
+        return impl.loadStyleDeclarations2(url, update,
+                                           applicationDomain, securityDomain);
+    }
+
+    /**
+     *  Unloads a style SWF.
+     *
+     *  @param url Location of the style SWF.
+     *  @param update Set to true to force an immediate update of the styles.
+     *  Set to false to avoid an immediate update of the styles in the application.
+     *  For more information about this method, see the description in the setStyleDeclaration()
+     *  method.
+     *
+     *  @see #setStyleDeclaration()
+     */
+    public static function unloadStyleDeclarations(
+                                url:String, update:Boolean = true):void
+    {
+        impl.unloadStyleDeclarations(url, update);
+    }
+}
+
+}


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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package spark.skins.mobile
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5101
Author:   gauravj@adobe.com
Date:     2009-02-27T05:22:45.887116Z

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

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

Modified Paths:
--------------
663 paths were modified

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

--- frameworks/projects/mx/src/mx/controls/menuClasses/IMenuItemRenderer.as
+++ frameworks/projects/mx/src/mx/controls/menuClasses/IMenuItemRenderer.as
@@ -45,6 +45,11 @@
  *         _menu = value;
  *     }
  *  </pre>
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public interface IMenuItemRenderer
 {
@@ -64,6 +69,11 @@
      *  renderer is a branch node, capable of popping up a sub menu.
      *
      *  @return The reference to the Menu control.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get menu():Menu;

@@ -74,16 +84,31 @@

     /**
      *  The width of the icon.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get measuredIconWidth():Number;

     /**
      *  The width of the type icon (radio/check).
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get measuredTypeIconWidth():Number;

     /**
      *  The width of the branch icon.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get measuredBranchIconWidth():Number;
 }


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 5101
Author:   gauravj@adobe.com
Date:     2009-02-27T05:22:45.887116Z

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

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

Modified Paths:
--------------
663 paths were modified

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

--- frameworks/projects/framework/src/mx/managers/DragManager.as
+++ frameworks/projects/framework/src/mx/managers/DragManager.as
@@ -25,6 +25,11 @@
  *  Cursor displayed during a copy operation.
  *
  *  The default value is the "mx.skins.cursor.DragCopy" symbol in the Assets.swf file.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="copyCursor", type="Class", inherit="no")]

@@ -33,6 +38,11 @@
  *  which is also called the drag proxy.
  *
  *  @default mx.skins.halo.DefaultDragImage
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="defaultDragImageSkin", type="Class", inherit="no")]

@@ -40,6 +50,11 @@
  *  Cursor displayed during a link operation.
  *
  *  The default value is the "mx.skins.cursor.DragLink" symbol in the Assets.swf file.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="linkCursor", type="Class", inherit="no")]

@@ -47,6 +62,11 @@
  *  Cursor displayed during a move operation.
  *
  *  The default value is the "mx.skins.cursor.DragMove" symbol in the Assets.swf file.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="moveCursor", type="Class", inherit="no")]

@@ -54,6 +74,11 @@
  *  Cursor displayed for a reject operation.
  *
  *  The default value is the "mx.skins.cursor.DragReject" symbol in the Assets.swf file.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="rejectCursor", type="Class", inherit="no")]

@@ -87,6 +112,11 @@
  *  @see mx.core.DragSource
  *  @see mx.events.DragEvent
  *  @see mx.core.UIComponent
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class DragManager
 {
@@ -100,21 +130,41 @@

 	/**
 	 *  Constant that specifies that the type of drag action is "none".
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const NONE:String = "none";

 	/**
 	 *  Constant that specifies that the type of drag action is "copy".
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const COPY:String = "copy";

 	/**
 	 *  Constant that specifies that the type of drag action is "move".
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const MOVE:String = "move";

 	/**
 	 *  Constant that specifies that the type of drag action is "link".
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const LINK:String = "link";

@@ -181,6 +231,11 @@
 	/**
 	 *  Read-only property that returns true
 	 *  if a drag is in progress.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static function get isDragging():Boolean
 	{
@@ -228,6 +283,11 @@
 	 *  a value of 1.0 indicates it is fully opaque.
          *
          *  @param allowMove Indicates if a drop target is allowed to move the dragged data.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static function doDrag(
 			dragInitiator:IUIComponent,
@@ -253,6 +313,11 @@
 	 *
DragManager.acceptDragDrop(event.target);

 	 *
 	 *	@param target The drop target accepting the drag.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static function acceptDragDrop(target:IUIComponent):void
 	{
@@ -265,6 +330,11 @@
 	 *  DragManager.LINK, or DragManager.NONE.
 	 *
 	 *  @param feedback The type of feedback indicator to display.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static function showFeedback(feedback:String):void
 	{
@@ -277,6 +347,11 @@
 	 *  @return  Possible return values are DragManager.COPY,
 	 *  DragManager.MOVE,
 	 *  DragManager.LINK, or DragManager.NONE.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static function getFeedback():String
 	{


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

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

 package mx.messaging
 {


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

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

-package mx.components
+package spark.components
 {

 /**


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

--- frameworks/projects/spark/src/spark/effects/AnimateFilter.as
+++ frameworks/projects/spark/src/spark/effects/AnimateFilter.as
@@ -66,6 +66,11 @@
  *
  * </FxApplication>
  * </listing>
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 public class FxAnimateFilter extends FxAnimate
 {
@@ -79,6 +84,11 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function FxAnimateFilter(target:Object = null, filter:IBitmapFilter = null)
     {
@@ -99,6 +109,11 @@

     /**
      *  IBitmapFilter instance to apply and animate.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public var bitmapFilter:IBitmapFilter;


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package mx.binding
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5101
Author:   gauravj@adobe.com
Date:     2009-02-27T05:22:45.887116Z

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

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

Modified Paths:
--------------
663 paths were modified

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

--- frameworks/projects/framework/src/mx/controls/ButtonLabelPlacement.as
+++ frameworks/projects/framework/src/mx/controls/ButtonLabelPlacement.as
@@ -21,6 +21,11 @@
  *  @see mx.controls.CheckBox
  *  @see mx.controls.LinkButton
  *  @see mx.controls.RadioButton
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public final class ButtonLabelPlacement
 {
@@ -34,21 +39,41 @@

 	/**
 	 *  Specifies that the label appears below the icon.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const BOTTOM:String = "bottom";

 	/**
 	 *  Specifies that the label appears to the left of the icon.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const LEFT:String = "left";

 	/**
 	 *  Specifies that the label appears to the right of the icon.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const RIGHT:String = "right";

 	/**
 	 *  Specifies that the label appears above the icon.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static const TOP:String = "top";
 }


forgot that Resources can be used outside of a Flex app

--- frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as
+++ frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as
@@ -140,12 +140,12 @@
 		// Falcon injects this property and it is always false
 		// We ignore missing bundles because Falcon doesn't
 		// generate fallback bundles like MXMLC;
-		ignoreMissingBundles = info.hasOwnProperty("isMXMLC");
+		ignoreMissingBundles = info && info.hasOwnProperty("isMXMLC");

         if (info)
             processInfo(info, false);

-        ignoreMissingBundles = info.hasOwnProperty("isMXMLC");
+        ignoreMissingBundles = info && info.hasOwnProperty("isMXMLC");

         if (SystemManagerGlobals.topLevelSystemManagers.length)
 		    SystemManagerGlobals.topLevelSystemManagers[0].


Transferred from the Adobe Open Source Subversion Repository

Revision: 21808
Author:   jasonsj@adobe.com
Date:     2011-08-04T01:30:11.972874Z

Log Message:
-----------
Callout visual review: drop shadow, content shadow tweaking.
New Callout skin for SplitViewNavigator that disables the content shadow and mask.

QE notes:
Doc notes:
Bugs:
Reviewer: chiedozi
Tests run: checkintests, mustella-mobile
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutViewNavigatorSkin.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorCalloutSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SplitViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile320/assets/CalloutContentBackground.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile240/assets/CalloutContentBackground.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile160/assets/CalloutContentBackground.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/MobileThemeClasses.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutSkin.as
@@ -83,6 +83,7 @@
         super();

         blendMode = BlendMode.LAYER;
+        dropShadowAlpha = 0.7;

         switch (applicationDPI)
         {
@@ -91,12 +92,13 @@
                 backgroundCornerRadius = 16;
                 contentBackgroundClass = spark.skins.mobile320.assets.CalloutContentBackground;
                 backgroundGradientHeight = 220;
-                frameThickness = 20;
+                frameThickness = 16;
                 arrowWidth = 104;
                 arrowHeight = 52;
                 contentCornerRadius = 10;
-                dropShadowBlur = 12;
-                dropShadowDistance = 4;
+                dropShadowBlurX = 32;
+                dropShadowBlurY = 32;
+                dropShadowDistance = 6;
                 highlightWeight = 2;

                 break;
@@ -106,12 +108,13 @@
                 backgroundCornerRadius = 12;
                 contentBackgroundClass = spark.skins.mobile240.assets.CalloutContentBackground;
                 backgroundGradientHeight = 165;
-                frameThickness = 15;
+                frameThickness = 12;
                 arrowWidth = 78;
                 arrowHeight = 39;
                 contentCornerRadius = 7;
-                dropShadowBlur = 9;
-                dropShadowDistance = 3;
+                dropShadowBlurX = 24;
+                dropShadowBlurY = 24;
+                dropShadowDistance = 4;
                 highlightWeight = 1;

                 break;
@@ -122,12 +125,13 @@
                 backgroundCornerRadius = 8;
                 contentBackgroundClass = spark.skins.mobile160.assets.CalloutContentBackground;
                 backgroundGradientHeight = 110;
-                frameThickness = 10;
+                frameThickness = 8;
                 arrowWidth = 52;
                 arrowHeight = 26;
                 contentCornerRadius = 5;
-                dropShadowBlur = 6;
-                dropShadowDistance = 2;
+                dropShadowBlurX = 16;
+                dropShadowBlurY = 16;
+                dropShadowDistance = 3;
                 highlightWeight = 1;

                 break;
@@ -163,7 +167,7 @@
      *  @playerversion AIR 3
      *  @productversion Flex 4.5.2
      */
-    protected var dropShdaowVisible:Boolean = true;
+    protected var dropShadowVisible:Boolean = true;

     /**
      *  Enables a vertical linear gradient in the backgroundColor frame. This
@@ -278,9 +282,13 @@

     private var dropShadow:RectangularDropShadow;

-    private var dropShadowBlur:Number;
+    private var dropShadowBlurX:Number;
+
+    private var dropShadowBlurY:Number;

     private var dropShadowDistance:Number;
+
+    private var dropShadowAlpha:Number;

     private var fade:Fade;

@@ -315,15 +323,17 @@
     {
         super.createChildren();

-        if (dropShdaowVisible)
+        if (dropShadowVisible)
         {
             dropShadow = new RectangularDropShadow();
             dropShadow.angle = 90;
             dropShadow.distance = dropShadowDistance;
-            dropShadow.blurX = dropShadow.blurY = dropShadowBlur;
+            dropShadow.blurX = dropShadowBlurX;
+            dropShadow.blurY = dropShadowBlurY;
             dropShadow.tlRadius = dropShadow.trRadius = dropShadow.blRadius =
                 dropShadow.brRadius = backgroundCornerRadius;
             dropShadow.mouseEnabled = false;
+            dropShadow.alpha = dropShadowAlpha;
             addChild(dropShadow);
         }

@@ -345,21 +355,23 @@
         addChild(arrow);

         // contentGroup
-        if (contentBackgroundClass)
-        {
-            contentBackgroundGraphic = new contentBackgroundClass() as SpriteVisualElement;
-
-            if (contentBackgroundGraphic)
-                addChild(contentBackgroundGraphic);
-        }
-
         contentGroup = new Group();
         contentGroup.id = "contentGroup";
         addChild(contentGroup);

+        // contentBackgroundGraphic
+        if (contentBackgroundClass)
+        {
+            contentBackgroundGraphic = new contentBackgroundClass() as SpriteVisualElement;
+
+            if (contentBackgroundGraphic)
+                addChild(contentBackgroundGraphic);
+        }
+
+        // contentMask
         if (useContentMask)
         {
-            contentMask = new Sprite();
+            contentMask = new SpriteVisualElement();
             contentGroup.mask = contentMask;
         }
     }


Fix wrapping time issue.

Fix wrapping time issue.

--- HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPNetStream.as
+++ HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPNetStream.as
@@ -2383,7 +2383,7 @@
 				if(!vTag)
 					continue;

-				return vTag.timestamp;
+				return vTag.timestamp as int;
 			}

 			return 0;
@@ -2401,7 +2401,7 @@
 				if(!aTag)
 					continue;

-				return aTag.timestamp;
+				return aTag.timestamp as int;
 			}

 			return 0;


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package mx.controls
 {


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 7325
Author:   gruehle@adobe.com
Date:     2009-05-27T19:43:11.612195Z

Log Message:
-----------
Amendment to 7301. The scaleGrid property is set later in updateDisplayList(), so use isValidScaleGrid() test instead.

Bugs: SDK-21432
Reviewer: Jason
QA/Doc: none

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

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -778,7 +778,7 @@

             // If a scaleGrid is set, make sure the extent of the groups bounds are filled so
             // the player will scale our contents as expected.
-            if (scale9Grid && resizeMode == ResizeMode.SCALE)
+            if (isValidScaleGrid() && resizeMode == ResizeMode.SCALE)
             {
                 graphics.lineStyle();
                 graphics.beginFill(0, 0);


Transferred from the Adobe Open Source Subversion Repository

Revision: 4246
Author:   clucier@adobe.com
Date:     2008-12-05T22:24:43.108525Z

Log Message:
-----------
Reverting revision 4240 and going with a more localized solution.
Reviewer: Ryan
QE Notes: This should address a pair of Mustella issues.
Doc Notes: None

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

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -28,6 +28,7 @@
 import mx.collections.ICollectionView;
 import mx.collections.IList;
 import mx.collections.ListCollectionView;
+import mx.core.IUITextField;
 import mx.graphics.Graphic;
 import mx.graphics.IGraphicElement;
 import mx.graphics.graphicsClasses.GraphicElement;
@@ -40,7 +41,9 @@
 import mx.core.UIComponent;
 import mx.core.mx_internal;
 import mx.events.CollectionEvent;
+import mx.styles.ISimpleStyleClient;
 import mx.styles.IStyleClient;
+import mx.styles.StyleProtoChain;

 use namespace mx_internal;

@@ -343,6 +346,70 @@
             var element:GraphicElement = getElementAt(i) as GraphicElement;
             if (element)
                 element.validateDisplayList();
+        }
+    }
+
+    /**
+     *  @private
+     *  TODO: Most of this code is a duplicate of UIComponent::notifyStyleChangeInChildren,
+     *  refactor as appropriate to avoid code duplication once we have a common
+     *  child iterator between UIComponent and Group.
+     */
+    override public function notifyStyleChangeInChildren(
+                        styleProp:String, recursive:Boolean):void
+    {
+        var n:int = numElements;
+        for (var i:int = 0; i < n; i++)
+        {
+            var child:ISimpleStyleClient = getElementAt(i) as ISimpleStyleClient;
+            if (child)
+            {
+                child.styleChanged(styleProp);
+
+                // Always recursively call this function because of my
+                // descendants might have a styleName property that points
+                // to this object.  The recursive flag is respected in
+                // Container.notifyStyleChangeInChildren.
+                if (child is IStyleClient)
+                    IStyleClient(child).notifyStyleChangeInChildren(styleProp, recursive);
+            }
+        }
+    }
+
+    /**
+     *  @private
+     *  TODO: Most of this code is a duplicate of UIComponent::regenerateStyleCache,
+     *  refactor as appropriate to avoid code duplication once we have a common
+     *  child iterator between UIComponent and Group.
+     */
+    override public function regenerateStyleCache(recursive:Boolean):void
+    {
+        // Regenerate the proto chain for this object
+        initProtoChain();
+
+        // Recursively call this method on each child.
+        var n:int = numElements;
+        for (var i:int = 0; i < n; i++)
+        {
+            var child:Object = getItemAt(i);
+
+            if (child is IStyleClient)
+            {
+                // Does this object already have a proto chain?
+                // If not, there's no need to regenerate a new one.
+                if (IStyleClient(child).inheritingStyles !=
+                    StyleProtoChain.STYLE_UNINITIALIZED)
+                {
+                    IStyleClient(child).regenerateStyleCache(recursive);
+                }
+            }
+            else if (child is IUITextField)
+            {
+                // Does this object already have a proto chain?
+                // If not, there's no need to regenerate a new one.
+                if (IUITextField(child).inheritingStyles)
+                    StyleProtoChain.initTextField(IUITextField(child));
+            }
         }
     }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package spark.layouts
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 import mx.core.mx_internal;


Transferred from the Adobe Open Source Subversion Repository

Revision: 3973
Author:   rfrishbe@adobe.com
Date:     2008-10-30T20:30:13.007923Z

Log Message:
-----------
Adding IVisualContainer interface.  Group, FxContainer, and FxScroller implement this interface now.  Added owner and parent to IVisualItem.  GraphicElement and UIComponent implement this interface--work had to be done in GraphicElement to do this.  In doing so, elementHost is going to be renamed to parent.  For now, I added parent in GraphicElement and left elementHost in there; however, it is removed from IGraphicElement.  I’ve removed all references to elementHost in our code; however, I think mustella needs to be updated as do mustella tests, so I’m not going to remove elementHost until later.

Most of the changes here are name changes dealing with "elementHost" -> "parent".  If we decide that Gumbo components only support IVisualItems, we should clean up some of the code, but for now, I kept any assumptions that were in the original code (meaning we may be able to support DisplayObjects and old definitions of UIComponents/IUIComponents that aren’t IVisualItems).

I ran checkin tests, Group mustella tests, DataGroup mustella tests, FxContainer mustella tests, graphic tags tests, and all effects Mustella tests.

QE Notes: We will need to update mustella and mustella tests to use elementHost rather than parent.  We can also update mustella to use IVisualContainer rather than what it's doing now.  However, let's wait on these changes for now.  I'll send out an email when we're ready to make these changes and remove elementHost from GraphicElement.
Doc Notes: None
Bugs: -
Reviewer: Chet

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/IVisualContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/RemoveActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxFadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxFade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IUIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/IGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/AddActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>

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

--- frameworks/projects/framework/src/mx/core/IVisualElement.as
+++ frameworks/projects/framework/src/mx/core/IVisualElement.as
@@ -10,6 +10,8 @@
 ////////////////////////////////////////////////////////////////////////////////
 package mx.core
 {
+import flash.display.DisplayObjectContainer;
+
 import mx.geom.ITransformable;
 import mx.geom.TransformOffsets;

@@ -19,6 +21,34 @@
  */
 public interface IVisualItem extends ITransformable
 {
+
+    /**
+     *  The owner of this IVisualItem. By default, it is the parent of this IVisualItem.
+     *  However, if this IVisualItem object is a child component that is
+     *  popped up by its parent, such as the dropdown list of a ComboBox control,
+     *  the owner is the component that popped up this IVisualItem object.
+     *
+     *
This property is not managed by Flex, but by each component.
+     *  Therefore, if you use the PopUpManger.createPopUp() or
+     *  PopUpManger.addPopUp() method to pop up a child component,
+     *  you should set the owner property of the child component
+     *  to the component that popped it up.

+     *
+     *
The default value is the value of the parent property.

+     */
+    function get owner():DisplayObjectContainer;
+    function set owner(value:DisplayObjectContainer):void;
+
+    /**
+     *  The parent container or component for this component.
+     *  Only visual items should have a parent property.
+     *  Non-visual items should use another property to reference
+     *  the object to which they belong.
+     *  By convention, non-visual item objects use an owner
+     *  property to reference the object to which they belong.
+     */
+    function get parent():DisplayObjectContainer;
+
 	/**
 	 * Documentation is not currently available.
 	 */


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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as
+++ frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as
@@ -85,6 +85,11 @@
  * @see mx.rpc.http.HTTPService
  * @see mx.validators.Validator
  * @see mx.managers.CursorManager
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class HTTPService extends mx.rpc.http.HTTPService implements IMXMLSupport, IMXMLObject
 {
@@ -101,6 +106,11 @@
      * @param rootURL The URL the HTTPService should use when computing relative URLS.
      *
      * @param destination An HTTPService destination name in the service-config.xml file.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function HTTPService(rootURL:String = null, destination:String = null)
     {
@@ -134,6 +144,11 @@
      * @param id The identifier used by document to refer
      * to this object. If the object is a deep property on document,
      * id is null.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function initialized(document:Object, id:String):void
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 2736
Author:   gosmith@adobe.com
Date:     2008-08-04T23:44:10.712576Z

Log Message:
-----------
TextInput now sets the lineBreak property of its TextView to "explicit", to prevent the text from wrapping at the right edge. And TextArea now sets it back to "toFit", since TextArea extends TextInput.

Reviewer: Deepa
Bug: SDK-16220
QA: No
Doc: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextInput.as</path>

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

--- frameworks/projects/spark/src/spark/components/TextInput.as
+++ frameworks/projects/spark/src/spark/components/TextInput.as
@@ -19,6 +19,8 @@
 import flex.core.SkinnableComponent;
 import flex.events.TextOperationEvent;

+import text.model.LineBreak;
+
 //--------------------------------------
 //  Events
 //--------------------------------------
@@ -334,6 +336,7 @@
 		{
 			// Set the TextView to allow only one line of input.
             textView.heightInLines = 1;
+            textView.lineBreak = LineBreak.EXPLICIT;
 			textView.multiline = false;

 			// Start listening for various events from the TextView.


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

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


Transferred from the Adobe Open Source Subversion Repository

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

--- frameworks/projects/spark/src/spark/components/VScrollBar.as
+++ frameworks/projects/spark/src/spark/components/VScrollBar.as
@@ -9,11 +9,11 @@
 //
 ////////////////////////////////////////////////////////////////////////////////

-package flex.component
+package mx.components
 {
-import flex.intf.ILayoutItem;
-import flex.layout.LayoutItemFactory;
-
+import mx.layout.ILayoutItem;
+import mx.layout.LayoutItemFactory;
+import mx.components.baseClasses.FxScrollBar;

 /**
  *  The VScrollBar (vertical ScrollBar) control lets you control
@@ -26,7 +26,7 @@
  *  you usually combine it as part of another group of components to
  *  provide scrolling functionality.</p>
  */
-public class VScrollBar extends ScrollBar
+public class FxVScrollBar extends FxScrollBar
 {
     include "../core/Version.as";

@@ -39,7 +39,7 @@
     /**
      *  Constructor.
      */
-    public function VScrollBar()
+    public function FxVScrollBar()
     {
         super();
     }