Transferred from the Adobe Open Source Subversion Repository

Revision: 8574
Author:   aharui@adobe.com
Date:     2009-07-15T05:33:44.225721Z

Log Message:
-----------
Bugs related to TLF and focus.  Also TLF Marshall Plan adjustments, and some IME fixes

QE Notes: None
Doc Notes: None
Bugs: SDK-21278, SDK-21686, SDK-21375, SDK-18516, SDK-15093, SDK-21335
Reviewer: darrell, carol
tests: checkintests mustella/gumbo mustella/components

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IFocusManagerComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IIMESupport.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/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.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/events/SWFBridgeEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/alertClasses/AlertForm.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/containers/TabNavigator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/RichEditableTextContainerManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.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/spark/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.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/src/mx/containers/Accordion.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/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/FocusManagerMarshalMixin.as</path>

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

--- frameworks/projects/mx/src/mx/containers/TabNavigator.as
+++ frameworks/projects/mx/src/mx/containers/TabNavigator.as
@@ -379,6 +379,7 @@
         // Container.init() has set tabEnabled false, so we
         // have to set it back to true.
         tabEnabled = true;
+        hasFocusableChildren = true;

         historyManagementEnabled = true;
     }


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 7053
Author:   egeorgie@adobe.com
Date:     2009-05-19T04:01:43.055157Z

Log Message:
-----------
Fix bug http://bugs.adobe.com/jira/browse/SDK-21194 [ASDoc] VerticalLayout documentation issues, http://bugs.adobe.com/jira/browse/SDK-21189 [ASDoc] HorizontalLayout documentation issues, http://bugs.adobe.com/jira/browse/SDK-21179 [ASDoc] spark.components.Button Button ASDoc issues, http://bugs.adobe.com/jira/browse/SDK-21192 [ASDoc] for BasicLayout need some clarification, add extra information, http://bugs.adobe.com/jira/browse/SDK-19538 UIComponent's includeInLayout property needs documentation.

Fix: update asdoc comments.

QE Notes: None
Doc Notes: None
Bugs: SDK-21194, SDK-21189, SDK-21179, SDK-21192, SDK-19538
Reviewer:
tests: build, checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/spark/src/spark/components/Button.as
+++ frameworks/projects/spark/src/spark/components/Button.as
@@ -25,7 +25,7 @@
 /**
  *  The Button component is a commonly used rectangular button.
  *  The Button component looks like it can be pressed.
- *  It can have a text label, an icon, or both on its face.
+ *  The default skin has a text label.
  *
  *  <p>Buttons typically use event listeners to perform an action
  *  when the user selects the control. When a user clicks the mouse
@@ -137,6 +137,9 @@
     //
     //--------------------------------------------------------------------------

+    /**
+     *  @private
+     */
     override public function set styleName(value:Object):void
     {
         super.styleName = value;
@@ -154,6 +157,10 @@
     //  Methods
     //
     //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
     private function emphasizeStyleName():void
     {
         var style:String = styleName is String ? styleName as String : "";


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

--- frameworks/projects/mx/src/mx/effects/SetPropertyAction.as
+++ frameworks/projects/mx/src/mx/effects/SetPropertyAction.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-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: 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@1274147 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/rpc/src/mx/rpc/events/WSDLLoadEvent.as
+++ frameworks/projects/rpc/src/mx/rpc/events/WSDLLoadEvent.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2006-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.rpc.events
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 1218
Author:   jimurphy@adobe.com
Date:     2008-04-15T16:09:32.174552Z

Log Message:
-----------
merge 3.0.x[1069:1202] -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/in/air/air_version.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/lib/flex-messaging-common.jar</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/codec/PNGEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MultiTopicProducer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/codec/JPEGEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SchemaTypeRegistry.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/codec/IImageEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MultiTopicConsumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/SOAPFault.as</path>
<path kind="file" action="M">/flex/sdk/trunk/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/WebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Channel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/HaloColors.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/skins/halo/SliderThumbSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RoundedRectangle.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/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/SOAPHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/WebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/wsdl/WSDLBinding.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/Operation.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/soap/mxml/WebService.as
+++ frameworks/projects/rpc/src/mx/rpc/soap/mxml/WebService.as
@@ -92,7 +92,10 @@

     /**
      * Creates a new WebService component.
-     * @param destination the destination of the WebService, should match a destination name in the services-config.xml file.
+     *
+     * @param destination The destination of the WebService, which should
+     * match a destination name in the services-config.xml file. If
+     * unspecified, the WebService component uses the DefaultHTTP destination.
      */
     public function WebService(destination:String = null)
     {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLEncoder.as
+++ frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLEncoder.as
@@ -0,0 +1,254 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.rpc.xml
+{
+
+import flash.xml.XMLDocument;
+import flash.xml.XMLNode;
+import mx.utils.ObjectUtil;
+
+/**
+ * The SimpleXMLEncoder class take ActionScript Objects and encodes them to XML.  Use default
+ * serialization.
+ */
+public class SimpleXMLEncoder
+{
+	//--------------------------------------------------------------------------
+	//
+	//  Class Methods
+	//
+	//--------------------------------------------------------------------------
+
+    static internal function encodeDate(rawDate:Date, dateType:String):String
+    {
+        var s:String = new String();
+        var n:Number;
+
+        if (dateType == "dateTime" || dateType == "date")
+        {
+            s = s.concat(rawDate.getUTCFullYear(), "-");
+
+            n = rawDate.getUTCMonth()+1;
+            if (n < 10) s = s.concat("0");
+            s = s.concat(n, "-");
+
+            n = rawDate.getUTCDate();
+            if (n < 10) s = s.concat("0");
+            s = s.concat(n);
+        }
+
+        if (dateType == "dateTime")
+        {
+            s = s.concat("T");
+        }
+
+        if (dateType == "dateTime" || dateType == "time")
+        {
+            n = rawDate.getUTCHours();
+            if (n < 10) s = s.concat("0");
+            s = s.concat(n, ":");
+
+            n = rawDate.getUTCMinutes();
+            if (n < 10) s = s.concat("0");
+            s = s.concat(n, ":");
+
+            n = rawDate.getUTCSeconds();
+            if (n < 10) s = s.concat("0");
+            s = s.concat(n, ".");
+
+            n = rawDate.getUTCMilliseconds();
+            if (n < 10) s = s.concat("00");
+            else if (n < 100) s = s.concat("0");
+            s = s.concat(n);
+        }
+
+        s = s.concat("Z");
+
+        return s;
+    }
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+    public function SimpleXMLEncoder(myXML:XMLDocument)
+    {
+        super();
+
+        this.myXMLDoc = myXML ? myXML : new XMLDocument();
+    }
+
+	//--------------------------------------------------------------------------
+	//
+	//  Variables
+	//
+	//--------------------------------------------------------------------------
+
+    private var myXMLDoc:XMLDocument;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+     * parentNode - optional, an XMLNode under which to
+     *              put the encoded value.  If this is present, we
+     *              will be able to use namespace prefixes already
+     *              defined above the encoded object - if not,
+     *              a well-formed XML document
+     *              including all NS declarations necessary is returned.
+     */
+    public function encodeValue(obj:Object, qname:QName, parentNode:XMLNode):XMLNode
+    {
+        var myElement:XMLNode;
+
+        if (obj == null)
+            return null;
+
+		// Skip properties that are functions
+        var typeType:uint = getDataTypeFromObject(obj);
+        if (typeType == SimpleXMLEncoder.FUNCTION_TYPE)
+            return null;
+
+        if (typeType == SimpleXMLEncoder.XML_TYPE)
+        {
+            myElement = obj.cloneNode(true);
+            parentNode.appendChild(myElement);
+            return myElement;
+        }
+
+        myElement = myXMLDoc.createElement("foo");
+        myElement.nodeName = qname.localName;
+        parentNode.appendChild(myElement);
+
+        if (typeType == SimpleXMLEncoder.OBJECT_TYPE)
+        {
+            var classInfo:Object = ObjectUtil.getClassInfo(obj, null, CLASS_INFO_OPTIONS);
+			var properties:Array = classInfo.properties;
+			var pCount:uint = properties.length;
+			for (var p:uint = 0; p < pCount; p++)
+			{
+				var fieldName:String = properties[p];
+				var propQName:QName = new QName("", fieldName);
+				encodeValue(obj[fieldName], propQName, myElement);
+			}
+        }
+        else if (typeType == SimpleXMLEncoder.ARRAY_TYPE)
+        {
+            var numMembers:uint = obj.length;
+            var itemQName:QName = new QName("", "item");
+
+            for (var i:uint = 0; i < numMembers; i++)
+            {
+                encodeValue(obj[i], itemQName, myElement);
+            }
+        }
+        else
+        {
+            // Simple types fall through to here
+            var valueString:String;
+
+            if (typeType == SimpleXMLEncoder.DATE_TYPE)
+            {
+                valueString = encodeDate(obj as Date, "dateTime");
+            }
+            else if (typeType == SimpleXMLEncoder.NUMBER_TYPE)
+            {
+                if (obj == Number.POSITIVE_INFINITY)
+                    valueString = "INF";
+                else if (obj == Number.NEGATIVE_INFINITY)
+                    valueString = "-INF";
+                else
+                {
+                    var rep:String = obj.toString();
+                    // see if its hex
+                    var start:String = rep.substr(0, 2);
+                    if (start == "0X" || start == "0x")
+                    {
+                        valueString = parseInt(rep).toString();
+                    }
+                    else
+                    {
+                        valueString = rep;
+                    }
+                }
+            }
+            else
+            {
+                valueString = obj.toString();
+            }
+
+            var valueNode:XMLNode = myXMLDoc.createTextNode(valueString);
+            myElement.appendChild(valueNode);
+        }
+
+        return myElement;
+    }
+
+    /**
+     *  @private
+     */
+    private function getDataTypeFromObject(obj:Object):uint
+    {
+        if (obj is Number)
+        	return SimpleXMLEncoder.NUMBER_TYPE;
+        else if (obj is Boolean)
+        	return SimpleXMLEncoder.BOOLEAN_TYPE;
+        else if (obj is String)
+        	return SimpleXMLEncoder.STRING_TYPE;
+        else if (obj is XMLDocument)
+			return SimpleXMLEncoder.XML_TYPE;
+		else if (obj is Date)
+			return SimpleXMLEncoder.DATE_TYPE;
+		else if (obj is Array)
+			return SimpleXMLEncoder.ARRAY_TYPE;
+        else if (obj is Function)
+            return SimpleXMLEncoder.FUNCTION_TYPE;
+		else if (obj is Object)
+            return SimpleXMLEncoder.OBJECT_TYPE;
+        else
+            // Otherwise force it to string
+        	return SimpleXMLEncoder.STRING_TYPE;
+    }
+
+
+    private static const NUMBER_TYPE:uint   = 0;
+    private static const STRING_TYPE:uint   = 1;
+    private static const OBJECT_TYPE:uint   = 2;
+    private static const DATE_TYPE:uint     = 3;
+    private static const BOOLEAN_TYPE:uint  = 4;
+    private static const XML_TYPE:uint      = 5;
+    private static const ARRAY_TYPE:uint    = 6;  // An array with a wrapper element
+    private static const MAP_TYPE:uint      = 7;
+    private static const ANY_TYPE:uint      = 8;
+    // We don't appear to use this type anywhere, commenting out
+    //private static const COLL_TYPE:uint     = 10; // A collection (no wrapper element, just maxOccurs)
+    private static const ROWSET_TYPE:uint   = 11;
+    private static const QBEAN_TYPE:uint    = 12; // CF QueryBean
+    private static const DOC_TYPE:uint      = 13;
+    private static const SCHEMA_TYPE:uint   = 14;
+    private static const FUNCTION_TYPE:uint = 15; // We currently do not serialize properties of type function
+    private static const ELEMENT_TYPE:uint  = 16;
+    private static const BASE64_BINARY_TYPE:uint = 17;
+    private static const HEX_BINARY_TYPE:uint = 18;
+
+    /**
+     * @private
+     */
+    private static const CLASS_INFO_OPTIONS:Object = {includeReadOnly:false, includeTransient:false};
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 19697
Author:   hmuller@adobe.com
Date:     2011-01-11T17:02:53.756073Z

Log Message:
-----------
Enable accessibilitiy for DataGrid descendants that take the focus.

Initialize accessibilityEnabled=false for GridItemRenderers.

QE notes:
Doc notes:
Bugs:
Reviewer: Darrell
Tests run: checkin, mustella
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>

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

--- frameworks/projects/spark/src/spark/components/DataGrid.as
+++ frameworks/projects/spark/src/spark/components/DataGrid.as
@@ -12,6 +12,7 @@
 package spark.components
 {
 import flash.display.DisplayObject;
+import flash.display.Graphics;
 import flash.events.Event;
 import flash.events.EventPhase;
 import flash.events.FocusEvent;
@@ -28,6 +29,7 @@
 import mx.core.IIMESupport;
 import mx.core.LayoutDirection;
 import mx.core.ScrollPolicy;
+import mx.core.UIComponent;
 import mx.core.mx_internal;
 import mx.events.FlexEvent;
 import mx.managers.CursorManager;
@@ -581,7 +583,7 @@

 /**
  *  The DataGrid displays a row of column headings above a scrollable grid.
- *  The gird is arranged as a collection of individual cells arranged
+ *  The grid is arranged as a collection of individual cells arranged
  *  in rows and columns.
  *  The DataGrid control is designed to support smooth scrolling through
  *  large numbers of rows and columns.
@@ -2027,6 +2029,45 @@
     //  Overridden methods
     //
     //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  This component holds the focus and accessibilityImplementation (DataGridAccImpl)
+     *  for the DataGrid to enable accessibility when the focus shifts to DataGrid descendants,
+     *  notably item editors.
+     *
+     *  DataGridAccImpl/createAccessibilityImplementation() initializes the focusOwner's
+     *  accessibilityImplementation, rather than the DataGrid's, so that the MSAA
+     *  representation of descendant components will not be "obscured" by DataGridAccImpl.
+     *
+     *  @see #createChidlren(), #setFocus(), #isOurFocus().
+     */
+    mx_internal var focusOwner:UIComponent;
+
+
+    /**
+     *  @private
+     *  Create the focusOwner - a component that holds the keyboard focus for the DataGrid
+     *  for the sake of the accessibility implementation.
+     *
+     *  This component fails to add its DataGridAccImpl accessibilityImplementation to
+     *  the MSAA if it doesn't render, so we draw one alpha=0.0 pixel here and make it
+     *  $visible=true.
+     */
+    override protected function createChildren():void
+    {
+        super.createChildren();
+
+        focusOwner = new UIComponent();
+        const g:Graphics = focusOwner.graphics;
+        g.clear();
+        g.beginFill(0x000000, 0.0);
+        g.drawRect(0, 0, 1, 1);
+        g.endFill();
+        $addChild(focusOwner);
+        focusOwner.$visible = true;
+    }
+

     /**
      *  @private
@@ -2036,6 +2077,23 @@
         if (DataGrid.createAccessibilityImplementation != null)
             DataGrid.createAccessibilityImplementation(this);
     }
+
+    /**
+     *  @private
+     */
+    override public function setFocus():void
+    {
+        if (grid)
+            focusOwner.setFocus();
+    }
+
+    /**
+     *  @private
+     */
+    override protected function isOurFocus(target:DisplayObject):Boolean
+    {
+        return (target == focusOwner) || super.isOurFocus(target);
+    }

     /**
      *  @private
@@ -2105,11 +2163,6 @@
      */
     override protected function keyDownHandler(event:KeyboardEvent):void
     {
-        // If the key is passed down to the Scroller it will come back here when
-        // it bubbles back up.  It may or may not have default prevented.
-        if (event.eventPhase != EventPhase.AT_TARGET)
-            return;
-
         if (!grid || event.isDefaultPrevented())
             return;


Transferred from the Adobe Open Source Subversion Repository

Revision: 16562
Author:   clucier@adobe.com
Date:     2010-06-15T13:16:05.732551Z

Log Message:
-----------
Since the static factories are shared between RichText instances we shouldn't assign a RichText specific swfContext to the shared factories within commitProperties since it can be stepped on by other RichText instances before the factories are actually used.

QE notes:  None
Doc notes: None
Bugs: SDK-26618
Reviewer: Carol, Alex
Tests run: Checking, Cyclone Assist
Is noteworthy for integration: No

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichText.as

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

--- frameworks/projects/spark/src/spark/components/RichText.as
+++ frameworks/projects/spark/src/spark/components/RichText.as
@@ -896,26 +896,34 @@
 	 *  @see spark.utils.TextFlowUtil#importFromXML()
      *  @see spark.components.RichEditableText#text
 	 */
-	public function get textFlow():TextFlow
-	{
-		// We might not have a valid _textFlow for two reasons:
-		// either because the 'text' was set (which is the state
-		// after construction) or because the 'content' was set.
-		if (!_textFlow)
-		{
-			if (_content != null)
-				_textFlow = createTextFlowFromContent(_content);
-			else
-				_textFlow = staticPlainTextImporter.importToFlow(_text);
+    public function get textFlow():TextFlow
+    {
+        // We might not have a valid _textFlow for two reasons:
+        // either because the 'text' was set (which is the state
+        // after construction) or because the 'content' was set.
+        if (!_textFlow)
+        {
+            if (_content != null)
+                _textFlow = createTextFlowFromContent(_content);
+            else
+                _textFlow = staticPlainTextImporter.importToFlow(_text);

             lastGeneration = _textFlow ? _textFlow.generation : 0;
-		}
-
-		_textFlow.addEventListener(DamageEvent.DAMAGE,
-								   textFlow_damageHandler);
-
-		return _textFlow;
-	}
+        }
+
+        _textFlow.addEventListener(DamageEvent.DAMAGE,
+                                   textFlow_damageHandler);
+
+        // Ensure our textFlow has the most appropriate
+        // swf context associated with it.
+        if (_textFlow.flowComposer)
+        {
+            _textFlow.flowComposer.swfContext =
+                ISWFContext(getEmbeddedSwfContext);
+        }
+
+        return _textFlow;
+    }

 	/**
 	 *  @private
@@ -1002,26 +1010,9 @@

         lastGeneration = _textFlow ? _textFlow.generation : 0;

-    	// At this point we know which TextLineFactory we're going to use
-    	// and we know the _text or _textFlow that it will compose.
-
-		var oldEmbeddedFontContext:IFlexModuleFactory = embeddedFontContext;
-
-		// If the CSS styles for this component specify an embedded font,
-		// embeddedFontContext will be set to the module factory that
-		// should create TextLines (since they must be created in the
-		// SWF where the embedded font is.)
-		// Otherwise, this will be null.
-		embeddedFontContext = getEmbeddedFontContext();
-
-		if (embeddedFontContext != oldEmbeddedFontContext)
-		{
-			staticTextFlowFactory.swfContext =
-				ISWFContext(embeddedFontContext)
-			staticStringFactory.swfContext =
-				ISWFContext(embeddedFontContext)
-		}
-
+        // At this point we know which TextLineFactory we're going to use
+        // and we know the _text or _textFlow that it will compose.
+
 		// If the styles have changed, hostFormat will have
 		// been set to null to indicate that it is invalid.
 		// In that case, create a new one.
@@ -1040,13 +1031,7 @@
 			// We might have a new TextFlow, or a new hostFormat,
 			// so attach the latter to the former.
 			_textFlow.hostFormat = hostFormat;
-
-			if (_textFlow.flowComposer)
-			{
-				_textFlow.flowComposer.swfContext =
-					staticTextFlowFactory.swfContext;
-			}
-
+
             // Add a damage handler.
             _textFlow.addEventListener(DamageEvent.DAMAGE,
                                        textFlow_damageHandler);
@@ -1242,17 +1227,17 @@
 	 *  Uses TextLineFactory to compose the textFlow
 	 *  into as many TextLines as fit into the bounds.
 	 */
-	private function createTextLines():void
-	{
-		// Clear any previously generated TextLines from the textLines Array.
-		textLines.length = 0;
-
-		// Note: Even if we have nothing to compose, we nevertheless
-		// use the StringTextLineFactory to compose an empty string.
-		// Since it appends the paragraph terminator "\u2029",
-		// it actually creates and measures one TextLine.
-		// Its width is 0 but its height is equal to the font's
-		// ascent plus descent.
+    private function createTextLines():void
+    {
+        // Clear any previously generated TextLines from the textLines Array.
+        textLines.length = 0;
+
+        // Note: Even if we have nothing to compose, we nevertheless
+        // use the StringTextLineFactory to compose an empty string.
+        // Since it appends the paragraph terminator "\u2029",
+        // it actually creates and measures one TextLine.
+        // Its width is 0 but its height is equal to the font's
+        // ascent plus descent.

         factory.compositionBounds = bounds;

@@ -1265,17 +1250,31 @@
             truncationOptions.truncationIndicator =
                 TextBase.truncationIndicatorResource;
         }
-		factory.truncationOptions = truncationOptions;
-
+        factory.truncationOptions = truncationOptions;
+
+        // If the CSS styles for this component specify an embedded font,
+        // embeddedFontContext will be set to the module factory that
+        // should create TextLines (since they must be created in the
+        // SWF where the embedded font is). Otherwise, this will be null.
+        embeddedFontContext = getEmbeddedFontContext();
+
         if (factory is StringTextLineFactory)
         {
-			// We know text is non-null since it got this far.
-			staticStringFactory.text = _text;
-			staticStringFactory.textFlowFormat = hostFormat;
-			staticStringFactory.createTextLines(addTextLine);
-		}
+            // We know text is non-null since it got this far.
+            staticStringFactory.text = _text;
+            staticStringFactory.textFlowFormat = hostFormat;
+            staticStringFactory.swfContext = ISWFContext(embeddedFontContext);
+            staticStringFactory.createTextLines(addTextLine);
+        }
         else if (factory is TextFlowTextLineFactory)
         {
+            if (_textFlow && _textFlow.flowComposer)
+            {
+                _textFlow.flowComposer.swfContext =
+                    ISWFContext(embeddedFontContext);
+            }
+
+            staticTextFlowFactory.swfContext = ISWFContext(embeddedFontContext);
             staticTextFlowFactory.createTextLines(addTextLine, _textFlow);
         }


Removed bindable compiler warning.

Removed bindable compiler warning.

--- examples/flexjs/MapSearch/src/models/MyModel.as
+++ examples/flexjs/MapSearch/src/models/MyModel.as
@@ -38,6 +38,8 @@
 		}

 		private var _cities:Array = ["Sydney", "NYC", "Mexico City", "London", "Rio de Janeiro"];
+
+		[Bindable]
 		public function get cities():Array
 		{
 			return _cities;


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

--- frameworks/projects/advancedgrids/src/mx/styles/metadata/GapStyles.as
+++ frameworks/projects/advancedgrids/src/mx/styles/metadata/GapStyles.as
@@ -0,0 +1,34 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+/**
+ *  Number of pixels between children in the horizontal direction.
+ *  The default value depends on the component class;
+ *  if not overriden for the class, the default value is 8.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="horizontalGap", type="Number", format="Length", inherit="no")]
+
+/**
+ *  Number of pixels between children in the vertical direction.
+ *  The default value depends on the component class;
+ *  if not overriden for the class, the default value is 6.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="verticalGap", type="Number", format="Length", inherit="no")]


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 20661
Author:   mhorn@adobe.com
Date:     2011-03-07T21:41:06.124806Z

Log Message:
-----------
ASdoc updates

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses/GlobalizationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses/CollatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/SortingCollator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/StringTools.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/MatchingCollator.as</path>

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

--- frameworks/projects/spark/src/spark/globalization/MatchingCollator.as
+++ frameworks/projects/spark/src/spark/globalization/MatchingCollator.as
@@ -40,6 +40,11 @@
  *  @includeExample examples/MatchingCollatorExample.mxml
  *
  *  @see flash.globalization.Collator
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10.1
+ *  @playerversion AIR 2.5
+ *  @productversion Flex 4.5
  */
 public class MatchingCollator extends CollatorBase
 {


Switched to separate phrases for every test of this particular class. Will do the same for the other tests later.

--- unittests/TestModusPonens.as
+++ unittests/TestModusPonens.as
@@ -10,9 +10,7 @@
 		[Before]
 		public function setUp():void
 		{
-			//ModusPonens(claimText:String,reasonText:Array,reversePos:Boolean,inferenceText:String="",inferencePresent:Boolean = false)
-			mp = new ModusPonens("Basic Claim", ["Reason 1", "Reason 2"], false,
-				"If Foo, then Bar is a sufficient condition for Baz provided Quux, and Flarp implies Bletch only if Snork", false);
+			//The functions are too various to use the same one over and over.
 		}

 		[After]
@@ -25,25 +23,17 @@
 		{
 			trace("Setting up Modus Ponens testing...");
 		}
-
 		[AfterClass]
 		public static function tearDownAfterClass():void
 		{
 		}
-		//Copied from the superclass tests
-		[Test]
-		public function testConstructorClaim():void{
-			Assert.assertEquals("Basic Claim", mp.getClaim());
-		}
-		[Test]
-		public function testConstructorReason():void{
-			Assert.assertEquals("Reason 1", mp.getReason()[0]);
-		}
-		//New tests for this subclass's particular functions
+
 		//Not asserting anything because it's currently pointless
 		[Test(order=1)]
 		public function testIfThenTrue():void
 		{
+			//ModusPonens(claimText:String,reasonText:Array,reversePos:Boolean,inferenceText:String="",inferencePresent:Boolean = false)
+			mp = new ModusPonens("Basic Claim", ["Reason 1", "Reason 2"], false, "If Foo, then Bar, and Baz", false);
 			mp.ifThen(true);
 			trace("~~ Printing all reasons in testIfThenTrue");
 			for each (var reason:String in mp.getReason()){
@@ -55,6 +45,7 @@
 		[Test(order=2)]
 		public function testIfThenFalse():void
 		{
+			mp = new ModusPonens("Basic Claim", ["Reason 1", "Reason 2"], false, "If Foo, then Bar, and Baz", false);
 			mp.ifThen(false);
 			trace("~~ Printing all reasons in testIfThenFalse");
 			for each (var reason:String in mp.getReason()){
@@ -67,6 +58,7 @@
 		[Test(order=3)]
 		public function testImpliesTrue():void
 		{
+			mp = new ModusPonens("Basic Claim", ["Reason 1", "Reason 2"], false, "Foo implies Bar, and Baz", false);
 			mp.implies(true);
 			trace("~~ Printing all reasons in testImpliesTrue");
 			for each (var reason:String in mp.getReason()){
@@ -78,6 +70,7 @@
 		[Test(order=4)]
 		public function testImpliesFalse():void
 		{
+			mp = new ModusPonens("Basic Claim", ["Reason 1", "Reason 2"], false, "Foo implies Bar, and Baz", false);
 			mp.implies(false);
 			trace("~~ Printing all reasons in testImpliesFalse");
 			for each (var reason:String in mp.getReason()){
@@ -90,6 +83,7 @@
 		[Test(order=5)]
 		public function testWheneverTrue():void
 		{
+			mp = new ModusPonens("Basic Claim", ["Reason 1", "Reason 2"], false, "Whenever Foo, Bar, and Baz", false);
 			mp.whenever(true);
 			trace("~~ Printing all reasons in testWheneverTrue");
 			for each (var reason:String in mp.getReason()){
@@ -101,6 +95,7 @@
 		[Test(order=6)]
 		public function testWheneverFalse():void
 		{
+			mp = new ModusPonens("Basic Claim", ["Reason 1", "Reason 2"], false, "Whenever Foo, Bar, and Baz", false);
 			mp.whenever(false);
 			trace("~~ Printing all reasons in testWheneverFalse");
 			for each (var reason:String in mp.getReason()){
@@ -113,6 +108,7 @@
 		[Test(order=7)]
 		public function testProvidedThatTrue():void
 		{
+			mp = new ModusPonens("Basic Claim", ["Reason 1", "Reason 2"], false, "Foo provided that Bar, and Baz", false);
 			mp.providedThat(true);
 			trace("~~ Printing all reasons in testProvidedThatTrue");
 			for each (var reason:String in mp.getReason()){
@@ -124,6 +120,7 @@
 		[Test(order=8)]
 		public function testProvidedThatFalse():void
 		{
+			mp = new ModusPonens("Basic Claim", ["Reason 1", "Reason 2"], false, "Foo provided that Bar, and Baz", false);
 			mp.providedThat(false);
 			trace("~~ Printing all reasons in testProvidedThatFalse");
 			for each (var reason:String in mp.getReason()){
@@ -136,6 +133,7 @@
 		[Test(order=9)]
 		public function testOnlyIfTrue():void
 		{
+			mp = new ModusPonens("Basic Claim", ["Reason 1", "Reason 2"], false, "Foo only if Bar, and Baz", false);
 			mp.onlyIf(true);
 			trace("~~ Printing all reasons in testOnlyIfTrue");
 			for each (var reason:String in mp.getReason()){
@@ -147,6 +145,7 @@
 		[Test(order=10)]
 		public function testOnlyIfFalse():void
 		{
+			mp = new ModusPonens("Basic Claim", ["Reason 1", "Reason 2"], false, "Foo only if Bar, and Baz", false);
 			mp.onlyIf(true);
 			trace("~~ Printing all reasons in testOnlyIfFalse");
 			for each (var reason:String in mp.getReason()){
@@ -159,6 +158,8 @@
 		[Test(order=11)]
 		public function testSufficientConditionTrue():void
 		{
+			mp = new ModusPonens("Basic Claim", ["Reason 1", "Reason 2"], false,
+				"Foo is a sufficient condition for Bar, and Baz", false);
 			mp.sufficientCondition(true);
 			trace("~~ Printing all reasons in testSufficientConditionTrue");
 			for each (var reason:String in mp.getReason()){
@@ -170,6 +171,8 @@
 		[Test(order=12)]
 		public function testSufficientConditionFalse():void
 		{
+			mp = new ModusPonens("Basic Claim", ["Reason 1", "Reason 2"], false,
+				"Foo is a sufficient condition for Bar, and Baz", false);
 			mp.sufficientCondition(true);
 			trace("~~ Printing all reasons in testSufficientConditionFalse");
 			for each (var reason:String in mp.getReason()){
@@ -178,17 +181,34 @@
 			trace("The claim is: ", mp.getClaim());
 			trace("The inference is: ", mp.getInference("sufficientCondition"));
 		}
-		[Test]
-		public function testModusPonens():void
-		{
-			Assert.fail("Test method Not yet implemented");
-		}
-
-		[Test]
-		public function testNecessaryCondition():void
-		{
-			Assert.fail("Test method Not yet implemented");
-		}
+
+		[Test(order=13)]
+		public function testNecessaryConditionTrue():void
+		{
+			mp = new ModusPonens("Basic Claim", ["Reason 1", "Reason 2"], false,
+				"Foo is a necessary condition for Bar, and Baz", false);
+			mp.necessaryCondition(true);
+			trace("~~ Printing all reasons in testNecessaryConditionTrue");
+			for each (var reason:String in mp.getReason()){
+				trace(reason);
+			}
+			trace("The claim is: ", mp.getClaim());
+			trace("The inference is: ", mp.getInference("necessaryCondition"));
+		}
+		[Test(order=14)]
+		public function testNecessaryConditionFalse():void
+		{
+			mp = new ModusPonens("Basic Claim", ["Reason 1", "Reason 2"], false,
+				"Foo is a necessary condition for Bar, and Baz", false);
+			mp.necessaryCondition(true);
+			trace("~~ Printing all reasons in testNecessaryConditionFalse");
+			for each (var reason:String in mp.getReason()){
+				trace(reason);
+			}
+			trace("The claim is: ", mp.getClaim());
+			trace("The inference is: ", mp.getInference("necessaryCondition"));
+		}
+

 	}
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 2743
Author:   jimurphy@adobe.com
Date:     2008-08-05T19:28:29.575474Z

Log Message:
-----------
Merged 3.0.x revisions [2649,2652,2670,2694,2699-2700,2713,2721-2723,2729,2731-2732] -> trunk

Modified Paths:
--------------
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IFocusManagerBridge.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Configuration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcLibrary.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/i18n/I18nUtils.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools_en.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.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/managers/ISystemManager2.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Compc.java</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/modules/compiler/src/java/flex2/tools/SwcChecksums.java" copyfrom-rev="2732" action="A">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/SwcChecksums.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Alert.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/XMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerSwcContext.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/ShowAlertRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemChildrenList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Mxmlc.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SandboxBridgeRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Application.java</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -9213,16 +9213,16 @@
      *  the parent.
      *
      *  @return a Rectangle including the visible portion of the this
-     *  object. The rectangle is in the coordinate system relative to the
-     *  stopParent parameter.
+     *  object. The rectangle is in global coordinates.
      */
-    public function getVisibleRect(targetParent:DisplayObject):Rectangle
+    public function getVisibleRect(targetParent:DisplayObject = null):Rectangle
     {
         if (!targetParent)
             targetParent = DisplayObject(systemManager);

         var pt:Point = new Point(x, y);
-        pt = $parent.localToGlobal(pt);
+        var thisParent:DisplayObject = $parent ? $parent : parent;
+        pt = thisParent.localToGlobal(pt);

         // bounds of this object to return. Keep in global coordinates
         // until the end and set back to targetParent coordinates.
@@ -9233,11 +9233,16 @@
         do
         {
             if (current is UIComponent)
-                current = UIComponent(current).$parent;
+            {
+                if (UIComponent(current).$parent)
+                    current = UIComponent(current).$parent;
+                else
+                    current = UIComponent(current).parent;
+            }
             else
                 current = current.parent;

-            if (current.scrollRect)
+            if (current && current.scrollRect)
             {
                 // clip the bounds by the scroll rect
                 currentRect = current.scrollRect.clone();
@@ -9246,12 +9251,8 @@
                 currentRect.y = pt.y;
                 bounds = bounds.intersection(currentRect);
             }
-        } while (current != targetParent);
-
-        // convert the rect relative to the stop parent
-        pt = targetParent.globalToLocal(bounds.topLeft);
-        bounds.x = pt.x;
-        bounds.y = pt.y;
+        } while (current && current != targetParent);
+
         return bounds;
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5757
Author:   jimurphy@adobe.com
Date:     2009-03-30T17:38:57.248111Z

Log Message:
-----------
Merged i11 revisions 5489,5524,5537 -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/managed/ManagedExtension.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcScript.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilationUnit.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ASDocExtension.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/SyntaxTreeEvaluator.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/linker/CULinkable.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Animate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/EmbedEvaluator.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/Swc.java</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerSwcContext.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/BindableExtension.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/OEMReport.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/Source.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/EmbedSkinClassEvaluator.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/linker/ConsoleApplication.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/PersistenceStore.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerAPI.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/abc/AbcCompiler.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcGroup.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/As3Compiler.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/StyleEvaluator.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/HostComponentEvaluator.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

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

         invalidateProperties();
+        if (parent && "childTransformChanged" in parent)
+        	parent["childTransformChanged"]();

         dispatchEvent(new Event("xChanged"));
     }
@@ -2246,6 +2248,8 @@
             invalidateTransform();
         }
         invalidateProperties();
+        if (parent && "childTransformChanged" in parent)
+        	parent["childTransformChanged"]();

         dispatchEvent(new Event("yChanged"));
     }


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 2743
Author:   jimurphy@adobe.com
Date:     2008-08-05T19:28:29.575474Z

Log Message:
-----------
Merged 3.0.x revisions [2649,2652,2670,2694,2699-2700,2713,2721-2723,2729,2731-2732] -> trunk

Modified Paths:
--------------
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IFocusManagerBridge.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Configuration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcLibrary.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/i18n/I18nUtils.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools_en.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.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/managers/ISystemManager2.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Compc.java</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/modules/compiler/src/java/flex2/tools/SwcChecksums.java" copyfrom-rev="2732" action="A">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/SwcChecksums.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Alert.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/XMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerSwcContext.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/ShowAlertRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemChildrenList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Mxmlc.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SandboxBridgeRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Application.java</path>

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

--- frameworks/projects/mx/src/mx/controls/CalendarLayout.as
+++ frameworks/projects/mx/src/mx/controls/CalendarLayout.as
@@ -19,8 +19,9 @@
 import flash.geom.Point;
 import flash.text.TextLineMetrics;
 import flash.ui.Keyboard;
+import flash.utils.describeType;
 import flash.utils.getQualifiedClassName;
-import flash.utils.describeType;
+
 import mx.core.IFlexDisplayObject;
 import mx.core.IFlexModuleFactory;
 import mx.core.IFontContextComponent;
@@ -32,8 +33,6 @@
 import mx.events.DateChooserEvent;
 import mx.events.DateChooserEventDetail;
 import mx.managers.IFocusManagerComponent;
-import mx.managers.ISystemManager;
-import mx.managers.SystemManager;
 import mx.skins.halo.DateChooserIndicator;
 import mx.styles.ISimpleStyleClient;

@@ -1669,20 +1668,10 @@
         var oldYear:int = displayedYear;
         var oldMonth:int = displayedMonth;

-        var newYear:int = oldYear + deltaY;
-        var newMonth:int = oldMonth + deltaM;
-
-        while (newMonth < 0)
-        {
-            newYear--;
-            newMonth += 12;
-        }
-
-        while (newMonth > 11)
-        {
-            newYear++;
-            newMonth -= 12;
-        }
+        var newDate:Object = getNewIncrementDate(oldYear, oldMonth, deltaY, deltaM);
+
+        var newYear:int = newDate.year;
+        var newMonth:int = newDate.month;

         _displayedMonth = newMonth;
         _displayedYear = newYear;
@@ -1700,6 +1689,30 @@
         else if (newMonth < oldMonth)
             event.detail = DateChooserEventDetail.PREVIOUS_MONTH;
     	dispatchEvent(event);
+    }
+
+    /**
+     *  @private Takes a year and a month as well as an increment year and month value
+     *           and returns a new valid year/month.
+     */
+    static mx_internal function getNewIncrementDate(oldYear:int, oldMonth:int, deltaY:int, deltaM:int):Object
+    {
+        var newYear:int = oldYear + deltaY;
+        var newMonth:int = oldMonth + deltaM;
+
+        while (newMonth < 0)
+        {
+            newYear--;
+            newMonth += 12;
+        }
+
+        while (newMonth > 11)
+        {
+            newYear++;
+            newMonth -= 12;
+        }
+
+        return {month: newMonth, year: newYear};
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

--- frameworks/projects/automation/src/mx/automation/events/AdvancedDataGridItemSelectEvent.as
+++ frameworks/projects/automation/src/mx/automation/events/AdvancedDataGridItemSelectEvent.as
@@ -0,0 +1,295 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.automation.events
+{
+
+    import flash.events.Event;
+    import mx.controls.listClasses.IListItemRenderer;
+
+    /**
+     *  The AdvancedDataGridItemSelectEvent class represents event objects that are dispatched
+     *  when an item in the header of an AdvancedDataGrid control is selected or deselected.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public class AdvancedDataGridItemSelectEvent extends Event
+    {
+        include "../../core/Version.as";
+
+        //--------------------------------------------------------------------------
+        //
+        //  Class constants
+        //
+        //--------------------------------------------------------------------------
+
+
+        /**
+         *  The AdvancedDataGridEvent.HEADER_RELEASE constant defines the value of the
+         *  type property of the event object for a
+         *  headerRelease event, which indicates that the
+         *  user pressed and released the mouse on a column header.
+         *
+         *
The properties of the event object have the following values:

+         *

+         *
Property	Value

+         *
bubbles	false

+         *
cancelable	true

+         *
columnIndex	 The zero-based index of the
+         *       item's column in the AdvancedDataGrid object's columns array.

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

+         *
dataField	The name of the field or property in the
+         *       data associated with the column.

+         *
itemRenderer	The header renderer that is
+         *       being released.

+         *
localX	NaN

+         *
reason	null

+         *
rowIndex	null

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

+         *
type	AdvancedDataGridEvent.HEADER_RELEASE

+         *

+         *
+         *  @eventType headerRelease
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+        public static const HEADER_RELEASE:String = "headerRelease";
+        //--------------------------------------------------------------------------
+        //
+        //  Constructor
+        //
+        //--------------------------------------------------------------------------
+
+        /**
+         *  Constructor.
+         *  Normally called by the Flex control and not used in application code.
+         *
+         *  @param type The event type; indicates the action that caused the event.
+         *
+         *  @param columnIndex The index of the current column being selected.
+         *
+         *  @param dataField The data field of the current column being selected.
+         *
+         *  @param headerPart The data field of the current column being selected If HEADER_RELEASE event, which part of the header was clicked.
+         *
+         *  @param bubbles Specifies whether the event can bubble
+         *  up the display list hierarchy.
+         *
+         *  @param cancelable Specifies whether the behavior
+         *  associated with the event can be prevented.
+         *
+         *  @param itemRenderer The item renderer object for the item.
+         *
+         *  @param triggerEvent The event, such as a mouse or keyboard event, that
+         *              triggered the selection action.
+         *
+         *  @param ctrlKey Whether the Ctrl key was pressed at the time of the event.
+         *
+         *  @param altKey Whether the Alt key was pressed at the time of the event.
+         *
+         *  @param shiftKey Whether the Shift key was pressed at the time of the event.
+         *
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+        public function AdvancedDataGridItemSelectEvent(type:String, columnIndex:int = -1,
+                                                        dataField:String="",
+                                                        headerPart:String="",
+                                                        bubbles:Boolean = false,
+                                                        cancelable:Boolean = false,
+                                                        itemRenderer:IListItemRenderer = null,
+                                                        triggerEvent:Event = null,
+                                                        ctrlKey:Boolean = false,
+                                                        altKey:Boolean = false,
+                                                        shiftKey:Boolean = false)
+        {
+            super(type, bubbles, cancelable);
+            this.columnIndex = columnIndex;
+            this.dataField = dataField;
+            this.headerPart = headerPart;
+            this.itemRenderer = itemRenderer;
+            this.triggerEvent = triggerEvent;
+            this.ctrlKey = ctrlKey;
+            this.altKey = altKey;
+            this.shiftKey = shiftKey;
+        }
+
+
+        //--------------------------------------------------------------------------
+        //
+        //  Properties
+        //
+        //--------------------------------------------------------------------------
+
+        //----------------------------------
+        //  altKey
+        //----------------------------------
+
+        /**
+         *  Indicates whether the Alt key was pressed at the time of the event, true,
+         *  or not, false.
+         *
+         *  @default false
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+        public var altKey:Boolean;
+
+        //----------------------------------
+        //  ctrlKey
+        //----------------------------------
+
+        /**
+         *  Indicates whether the Ctrl key was pressed at the time of the event, true,
+         *  or not, false.
+         *
+         *  @default false
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+        public var ctrlKey:Boolean;
+
+        //----------------------------------
+        //  triggerEvent
+        //----------------------------------
+
+        /**
+         *  Event that triggered the item selection event,
+         *  such as a keyboard or mouse event.
+         *
+         *  @default null
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+        public var triggerEvent:Event;
+
+        //----------------------------------
+        //  itemRenderer
+        //----------------------------------
+
+        /**
+         *  Item renderer object for the item being selected or deselected.
+         *  You can access the cell data using this property.
+         *
+         *  @default null
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+        public var itemRenderer:IListItemRenderer;
+
+        //----------------------------------
+        //  shiftKey
+        //----------------------------------
+
+        /**
+         *  Indicates whether the Shift key was pressed at the time of the event, true,
+         *  or not, false.
+         *
+         *  @default false
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+        public var shiftKey:Boolean;
+
+
+        /**
+         *  The automationValue string of the item to be selected.
+         *  This is used when the item to be selected is not visible in the control.
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+        public var itemAutomationValue:String;
+
+
+        /**
+         *  The data provider index of the item to be selected.
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+        public var columnIndex:int;
+
+
+        /**
+         *  The data field of the current column being selected.
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+        public var dataField:String;
+
+        /**
+         *  The data field of the current column being selected
+         * If HEADER_RELEASE event, which part of the header was clicked.
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion Flex 3
+         */
+        public var headerPart:String;
+
+        //--------------------------------------------------------------------------
+        //
+        //  Overridden methods: Event
+        //
+        //--------------------------------------------------------------------------
+
+        /**
+         *  @private
+         */
+        override public function clone():Event
+        {
+            return new AdvancedDataGridItemSelectEvent(type,  columnIndex,
+                dataField,headerPart,bubbles, cancelable,
+                itemRenderer,  triggerEvent,
+                ctrlKey, altKey, shiftKey);
+        }
+    }
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 20127
Author:   sameer@adobe.com
Date:     2011-02-04T09:07:55.998816Z

Log Message:
-----------
Remember the last edited item so that when the grid gets focus, editing behaves correctly.
Take the correct header items into account while configuring scroll bars.
QE notes: Test scroll bars and editing things
Doc notes: No
Bugs: http://bugs.adobe.com/jira/browse/FLEXDMV-2542
http://bugs.adobe.com/jira/browse/FLEXDMV-2325
Reviewer: Sreeni
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as</path>

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

--- frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as
+++ frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as
@@ -8102,6 +8102,22 @@
        }
         return 0;
     }
+
+   /**
+    * Get the length of the header items. Length calculation is different
+	* in case grouped columns are specified.
+	*  @private
+	*/
+   override protected function getHeaderItemsLength():int
+   {
+	   if (!columnGrouping)
+		   return super.getHeaderItemsLength();
+
+	   if (headerItemsList)
+		   return headerItemsList.length;
+
+	   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@1253139 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/charts/src/mx/charts/effects/SeriesInterpolate.as
+++ frameworks/projects/charts/src/mx/charts/effects/SeriesInterpolate.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.charts.effects
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as
+++ frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as
@@ -291,8 +291,7 @@
 			var regY:Number = rect.top + (!isNaN(y) ? y : rect.height / 2);

             matrix.scale (w / GRADIENT_DIMENSION, h / GRADIENT_DIMENSION);
-	        matrix.rotate(!isNaN(mx_internal::_angle) ?
-											mx_internal::_angle : mx_internal::rotationInRadians);
+	        matrix.rotate(!isNaN(_angle) ? _angle : rotationInRadians);
 	        matrix.translate(regX, regY);
         }
         else


Transferred from the Adobe Open Source Subversion Repository

Revision: 19337
Author:   mhorn@adobe.com
Date:     2010-12-13T22:01:27.841985Z

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/SkinnableContainerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TextSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ListSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderDataTip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ActionBarButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/SelectableButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/CheckBoxSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/RadioButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarThumbSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderSkin.as
@@ -21,16 +21,16 @@
 import spark.skins.mobile.supportClasses.MobileSkin;

 /**
- *  Actionscript based skin for HSlider on mobile applications.
+ *  ActionScript-based skin for HSlider controls in mobile applications.
  *
- *  The base Flex implementation creates an HSlider with fixed height
+ *
The base Flex implementation creates an HSlider with fixed height
  *  and variable width with a fixed-size thumb. As the height of the
  *  HSlider component increases, the vertical dimensions of the visible HSlider remain
- *  the same, and the HSlider stays vertically centered.
+ *  the same, and the HSlider stays vertically centered.

  *
- *  The thumb and track implementations can be customized by subclassing
+ *
The thumb and track implementations can be customized by subclassing
  *  this skin class and overriding the thumbSkinClass, trackSkinClass,
- *  and/or dataTipClass variables as necessary.
+ *  and/or dataTipClass variables as necessary.

  *
  *  @langversion 3.0
  *  @playerversion Flash 10


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

--- frameworks/projects/mx/src/mx/skins/halo/ProgressIndeterminateSkin.as
+++ frameworks/projects/mx/src/mx/skins/halo/ProgressIndeterminateSkin.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: 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@1273736 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXEncoder.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXEncoder.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-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: 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@1259065 13f79535-47bb-0310-9956-ffa450edef68

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

 package mx.core
 {


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

--- frameworks/projects/framework/src/mx/core/UIComponentGlobals.as
+++ frameworks/projects/framework/src/mx/core/UIComponentGlobals.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2006-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.core
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 11675
Author:   hmuller@adobe.com
Date:     2009-11-12T00:25:39.300334Z

Log Message:
-----------
Added minValue,maxValue,etc Style/Inspectable metadata tags for tools.

QE notes:
Doc notes:
Bugs: sdk-24100
Reviewer: Glenn
Tests run:
Is noteworthy for integration: yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/EaseInOutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Fade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/VideoElement.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/framework/src/mx/graphics/SolidColorStroke.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/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Rect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/styles/metadata/BasicNonInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientEntry.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Keyframe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/styles/metadata/AdvancedInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Range.as</path>

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

--- frameworks/projects/framework/src/mx/graphics/GradientStroke.as
+++ frameworks/projects/framework/src/mx/graphics/GradientStroke.as
@@ -226,7 +226,7 @@
     private var _miterLimit:Number = 3;

     [Bindable("propertyChange")]
-    [Inspectable(category="General")]
+    [Inspectable(category="General", minValue="0.0", maxValue="255.0")]

     /**
      *  A number that indicates the limit at which a miter is cut off.
@@ -396,7 +396,7 @@
     private var _weight:Number;

     [Bindable("propertyChange")]
-    [Inspectable(category="General")]
+    [Inspectable(category="General", minValue="0.0")]

     /**
      *  The stroke weight, in pixels.


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

--- frameworks/projects/mx/src/mx/controls/textClasses/TextRange.as
+++ frameworks/projects/mx/src/mx/controls/textClasses/TextRange.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.controls.textClasses
 {