Transferred from the Adobe Open Source Subversion Repository

Revision: 4142
Author:   cframpto@adobe.com
Date:     2008-11-19T22:32:48.335847Z

Log Message:
-----------
Implement FxRadioButtonGroup.  Fix spelling in ASDOC in RadioButtonGroup.as.

QE Notes: none
Doc Notes: example code for FxRadioButton and FxRadioButtonGroup
Reviewer: Glenn and Paul
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.java</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButtonGroup.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButtonGroup.png</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/bundles/en_US/controls.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/DocumentBuilder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButtonGroup.as</path>

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

--- frameworks/projects/mx/src/mx/controls/RadioButtonGroup.as
+++ frameworks/projects/mx/src/mx/controls/RadioButtonGroup.as
@@ -29,10 +29,10 @@

 //--------------------------------------
 //  Events
-//--------------------------------------
+//--------------------------------------

 /**
- *  Dispatched when the value of the selected RadioButton control in
+ *  Dispatched when the value of the selected RadioButton control in
  *  this group changes.
  *
  *  @eventType flash.events.Event.CHANGE
@@ -49,7 +49,7 @@

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

 [DefaultBindingProperty(source="selection", destination="selection")]

@@ -59,45 +59,45 @@

 /**
  *  The RadioButtonGroup control defines a group of RadioButton controls
- *  that act as a single mutually exclusive control; therefore,
+ *  that act as a single mutually exclusive control; therefore,
  *  a user can select only one RadioButton control at a time.
  *  The id property is required when you use the
  *  <mx:RadioButtonGroup> tag to define the name
  *  of the group.
- *
- *
Notice that the RadioButtonGroup control is a subclass of EventDispatcher, not UIComponent,
- *  and implements the IMXMLObject interface.
- *  All other Flex visual components are subclasses of UIComponent, which implements
- *  the IUIComponent interface.
- *  The RadioButtonGroup control has support built into the Flex compiler
- *  that allows you to use the RadioButtonGroup control as a child of a Flex container,
- *  event though it does not implement IUIComponent.
+ *
+ *
Notice that the RadioButtonGroup control is a subclass of EventDispatcher, not UIComponent,
+ *  and implements the IMXMLObject interface.
+ *  All other Flex visual components are subclasses of UIComponent, which implements
+ *  the IUIComponent interface.
+ *  The RadioButtonGroup control has support built into the Flex compiler
+ *  that allows you to use the RadioButtonGroup control as a child of a Flex container,
+ *  even though it does not implement IUIComponent.
  *  All other container children must implement the IUIComponent interface.

  *
- *
Therefore, if you try to define a visual component as a subclass of
- *  EventDispatcher that implements the IMXMLObject interface,
+ *
Therefore, if you try to define a visual component as a subclass of
+ *  EventDispatcher that implements the IMXMLObject interface,
  *  you will not be able to use it as the child of a container.

- *
+ *
  *  @mxml
- *
+ *
  *
The <mx:RadioButtonGroup> tag inherits all of the
  *  tag attributes of its superclass, and adds the following tag attributes:

- *
+ *
  *

  *  <mx:RadioButtonGroup
  *    Properties
- *    enabled="true|false"
+ *    enabled="true|false"
  *    id="No default"
  *    labelPlacement="right|left|top|bottom"
- *
+ *
  *    Events
  *    change="No default"
  *    itemClick="No default"
  *  />
  *

- *
+ *
  *  @includeExample examples/RadioButtonGroupExample.mxml
- *
+ *
  *  @see mx.controls.RadioButton
  */
 public class RadioButtonGroup extends EventDispatcher implements IMXMLObject
@@ -113,7 +113,7 @@
     /**
      *  Constructor.
      *
-     *  @param document In simple cases where a class extends EventDispatcher,
+     *  @param document In simple cases where a class extends EventDispatcher,
      *  the document parameter should not be used.
      *
      *  @see flash.events.EventDispatcher
@@ -156,19 +156,19 @@

     /**
      *  Determines whether selection is allowed.
-     *
+     *
      *  @default true
      */
     public function get enabled():Boolean
     {
         var s:Number = 0;
-
+
         var n:int = numRadioButtons;
         for (var i:int = 0; i < n; i++)
         {
             s = s + getRadioButtonAt(i).enabled;
         }
-
+
         if (s == 0)
             return false;

@@ -210,14 +210,14 @@
      *  for each control in the group.
      *  You can override this setting for the individual controls.
      *
-     *
Valid values in MXML are "right", "left",
+     *
Valid values in MXML are "right", "left",
      *  "bottom", and "top".

      *
      *
In ActionScript, you use the following constants to set this property:
      *  ButtonLabelPlacement.RIGHT, ButtonLabelPlacement.LEFT,
      *  ButtonLabelPlacement.BOTTOM, and ButtonLabelPlacement.TOP.

      *
-     *  @default "right"
+     *  @default "right"
      */
     public function get labelPlacement():String
     {
@@ -241,12 +241,12 @@
     //----------------------------------
     //  numRadioButtons
     //----------------------------------
-
+
     [Bindable("numRadioButtonsChanged")]

     /**
      *  The number of RadioButtons that belong to this RadioButtonGroup.
-     *
+     *
      *  @default "undefined"
      */
     public function get numRadioButtons():int
@@ -263,7 +263,7 @@
      *  Storage for the selectedValue property.
      */
     private var _selectedValue:Object;
-
+
     [Bindable("change")]
     [Bindable("valueCommit")]
     [Inspectable(category="General")]
@@ -332,12 +332,12 @@

     /**
      *  Contains a reference to the currently selected
-     *  RadioButton control in the group.
+     *  RadioButton control in the group.
      *  You can access the property in ActionScript only;
-     *  it is not settable in MXML.
-     *  Setting this property to null deselects the currently selected RadioButton control.
-     *
-     *  @default null
+     *  it is not settable in MXML.
+     *  Setting this property to null deselects the currently selected RadioButton control.
+     *
+     *  @default null
      */
     public function get selection():RadioButton
     {
@@ -350,7 +350,7 @@
     public function set selection(value:RadioButton):void
     {
         // Going through the selection setter should never fire a change event.
-        setSelection(value, false);
+        setSelection(value, false);
     }

     //--------------------------------------------------------------------------
@@ -360,14 +360,14 @@
     //--------------------------------------------------------------------------

     /**
-     *  Implementation of the IMXMLObject.initialized() method
+     *  Implementation of the IMXMLObject.initialized() method
      *  to support deferred instantiation.
      *
      *  @param document The MXML document that created this object.
      *
-     *  @param id The identifier used by document to refer to this object.
+     *  @param id The identifier used by document to refer to this object.
      *  If the object is a deep property on document, id is null.
-     *
+     *
      *  @see mx.core.IMXMLObject
      */
     public function initialized(document:Object, id:String):void
@@ -376,11 +376,11 @@
                         IFlexDisplayObject(document) :
                         IFlexDisplayObject(Application.application);
     }
-
+
     /**
      *  Returns the RadioButton control at the specified index.
      *
-     *  @param index The index of the RadioButton control in the
+     *  @param index The index of the RadioButton control in the
      *  RadioButtonGroup control, where the index of the first control is 0.
      *
      *  @return The specified RadioButton control.
@@ -396,17 +396,17 @@
      */
     mx_internal function addInstance(instance:RadioButton):void
     {
-        instance.addEventListener(Event.REMOVED, radioButton_removedHandler);
-        radioButtons.push(instance);
-
+        instance.addEventListener(Event.REMOVED, radioButton_removedHandler);
+        radioButtons.push(instance);
+
         // Apply group indices in "breadth-first" order.
         radioButtons.sort(breadthOrderCompare);
         for (var i:int = 0; i < radioButtons.length; i++)
             radioButtons[i].indexNumber = i;
-
+
         if (_selectedValue != null)
             selectedValue = _selectedValue;
-
+
 		dispatchEvent(new Event("numRadioButtonsChanged"));
     }

@@ -418,12 +418,12 @@
     {
         if (instance)
         {
-
+
             var foundInstance:Boolean = false;
             for (var i:int = 0; i < numRadioButtons; i++)
             {
                 var rb:RadioButton = getRadioButtonAt(i);
-
+
                 if (foundInstance)
                 {
                     // Decrement the indexNumber for each button after the removed button.
@@ -432,24 +432,24 @@
                 else if (rb == instance)
                 {
                 	rb.group = null;
-
+
                     if (instance == _selection)
                     {
                         _selection = null;
                     }
                     // Remove the radio button from the internal array
-                    radioButtons.splice(i,1);
+                    radioButtons.splice(i,1);
                     foundInstance = true;
                     // redo the same index because we removed the previous item at this index
-                    i--;
+                    i--;
                 }
-            }
-
+            }
+
             if (foundInstance)
 				dispatchEvent(new Event("numRadioButtonsChanged"));
         }
     }
-
+
     /**
      *  @private
      *  Return the value or the label value
@@ -459,8 +459,8 @@
     {
         if (selection)
         {
-            return selection.value &&
-                   selection.value is String &&
+            return selection.value &&
+                   selection.value is String &&
                    String(selection.value).length != 0 ?
                    String(selection.value) :
                    selection.label;
@@ -484,7 +484,7 @@
                 dispatchEvent(new Event(Event.CHANGE));
         }
         else
-        {
+        {
             var n:int = numRadioButtons;
             for (var i:int = 0; i < n; i++)
             {
@@ -498,7 +498,7 @@

         dispatchEvent(new FlexEvent(FlexEvent.VALUE_COMMIT));
     }
-
+
     /**
      *  @private
      */
@@ -520,39 +520,39 @@
                 dispatchEvent(new Event(Event.CHANGE));
         }
     }
-
-    /**
-     *  @private
-     */
-    private function breadthOrderCompare(a:DisplayObject, b:DisplayObject):Number
-    {
+
+    /**
+     *  @private
+     */
+    private function breadthOrderCompare(a:DisplayObject, b:DisplayObject):Number
+    {
         var aParent:DisplayObject = a.parent;
         var bParent:DisplayObject = b.parent;
-
-        if (!aParent || !bParent)
+
+        if (!aParent || !bParent)
             return 0;
-
+
         var aNestLevel:int = (a is UIComponent) ? UIComponent(a).nestLevel : -1;
         var bNestLevel:int = (b is UIComponent) ? UIComponent(b).nestLevel : -1;
-
+
         var aIndex:int = aParent is IRawChildrenContainer ?
             IRawChildrenContainer(aParent).rawChildren.getChildIndex(a) :
             DisplayObjectContainer(aParent).getChildIndex(a);
-
+
         var bIndex:int = bParent is IRawChildrenContainer ?
             IRawChildrenContainer(bParent).rawChildren.getChildIndex(b) :
             DisplayObjectContainer(bParent).getChildIndex(b);
-
-        if (aNestLevel > bNestLevel || (a.parent == b.parent && aIndex > bIndex))
+
+        if (aNestLevel > bNestLevel || (a.parent == b.parent && aIndex > bIndex))
             return 1;
-        else if (aNestLevel < bNestLevel ||  (a.parent == b.parent && bIndex > aIndex))
+        else if (aNestLevel < bNestLevel ||  (a.parent == b.parent && bIndex > aIndex))
             return -1;
-        else if (a == b)
+        else if (a == b)
             return 0;
         else // Nest levels are identical, compare ancestors.
-            return breadthOrderCompare(aParent, bParent);
-    }
-
+            return breadthOrderCompare(aParent, bParent);
+    }
+
     //--------------------------------------------------------------------------
     //
     //  Event Handlers


Transferred from the Adobe Open Source Subversion Repository

Revision: 123
Author:   svetlink@adobe.com
Date:     2008-01-08T18:18:35.571895Z

Log Message:
-----------
Bugs: SDK-14233 Revert CL 189454 to keep pre-beta3 behavior with NaN values in web service calls.

QA: Please revert the tests in blazeds which test for the stricter behavior.
Doc: Maybe mention that the use of special numeric values (NaN, Inf, -Inf) is discouraged for schema types derived from xds:integer and xsd:decimal, but will pass without error.

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SchemaMarshaller.as

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

--- frameworks/projects/rpc/src/mx/rpc/xml/SchemaMarshaller.as
+++ frameworks/projects/rpc/src/mx/rpc/xml/SchemaMarshaller.as
@@ -327,7 +327,15 @@

         if (result != null)
         {
-            throw new Error("Invalid decimal value '" + value + "'.");
+            if (validating)
+            {
+                throw new Error("Invalid decimal value '" + value + "'.");
+            }
+            else
+            {
+                // As a last resort, we just go with the original input
+                result = whitespaceCollapse(value);
+            }
         }
         else
         {
@@ -739,14 +747,6 @@
         }

         var integer:Number = Math.floor(number);
-
-        result = specialNumber(integer);
-        if (result != null)
-        {
-            // Throw an error for NaN, Inf and -Inf even if validating is false.
-            throw new Error(result + " is not an allowed value for " + type.localName);
-        }
-
         if (integer >= min)
         {
             if (integer > max)


Transferred from the Adobe Open Source Subversion Repository

Revision: 11951
Author:   hhillen@paciellogroup.com
Date:     2009-11-18T20:35:52.215971Z

Log Message:
-----------
Accessibility implementation support for the spark ToggleButton, DropDownListBase and ComboBox components.
QE notes: none
Doc notes: none
Bugs: n/a
Reviewer: Gordon
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ToggleButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/DropDownListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ToggleButtonBase.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/DropDownListAccImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ComboBoxAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonAccImpl.as</path>

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

--- frameworks/projects/spark/src/spark/components/ComboBox.as
+++ frameworks/projects/spark/src/spark/components/ComboBox.as
@@ -87,6 +87,12 @@
  *  @productversion Flex 4
  */
 [Style(name="paddingTop", type="Number", format="Length", inherit="no")]
+
+//--------------------------------------
+//  Other metadata
+//--------------------------------------
+
+[AccessibilityClass(implementation="spark.accessibility.ComboBoxAccImpl")]

 /**
  *  The ComboBox control is a child class of the DropDownListBase control.
@@ -184,6 +190,18 @@
     [SkinPart(required="false")]
     public var textInput:TextInput;

+    //--------------------------------------------------------------------------
+    //
+    //  Class mixins
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Placeholder for mixin by ComboBoxAccImpl.
+     */
+    mx_internal static var createAccessibilityImplementation:Function;
+
     /**
      *  Constructor.
      *
@@ -541,6 +559,15 @@
     //--------------------------------------------------------------------------

     /**
+     *  @private
+     */
+    override protected function initializeAccessibility():void
+    {
+        if (ComboBox.createAccessibilityImplementation != null)
+            ComboBox.createAccessibilityImplementation(this);
+    }
+
+    /**
      *  @private
      */
     override protected function commitProperties():void


Transferred from the Adobe Open Source Subversion Repository

Revision: 18138
Author:   dloverin@adobe.com
Date:     2010-10-12T18:33:22.438823Z

Log Message:
-----------
Fix data grid editor problem in last commit.

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

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

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

--- frameworks/projects/spark/src/spark/components/DataGrid.as
+++ frameworks/projects/spark/src/spark/components/DataGrid.as
@@ -1796,6 +1796,11 @@

             if (columnHeaderBar)
                 columnHeaderBar.dataGrid = this;
+
+            // Data grid editor
+            editor = createEditor();
+            editor.initialize();
+
         }

         if (instance == alternatingRowColorsBackground)
@@ -1826,6 +1831,7 @@

             if (instance == selectionIndicator)
                 grid.selectionIndicator = selectionIndicator;
+
         }

         if (instance == columnHeaderBar)
@@ -1840,12 +1846,6 @@
             columnHeaderBar.addEventListener(GridEvent.SEPARATOR_MOUSE_UP, separator_mouseUpHandler);
         }

-        if (instance == itemEditorLayer)
-        {
-            // Data grid editor
-            editor = createEditor();
-            editor.initialize();
-        }
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 18148
Author:   cframpto@adobe.com
Date:     2010-10-14T12:24:31.368801Z

Log Message:
-----------
Ctrl-A should not require a caret to be set to select all.

QE notes:
Doc notes:
Bugs: SDK-28207
Reviewer: Hans
Tests run: cyclone
Is noteworthy for integration:

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

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

--- frameworks/projects/spark/src/spark/components/DataGrid.as
+++ frameworks/projects/spark/src/spark/components/DataGrid.as
@@ -1630,10 +1630,27 @@

         if (!grid || event.isDefaultPrevented())
             return;
-
+
+        // Caret is not required for ctrl-A selectAll operation.
+        if (event.keyCode == Keyboard.A && event.ctrlKey)
+        {
+            if (selectionMode == GridSelectionMode.MULTIPLE_CELLS ||
+                selectionMode == GridSelectionMode.MULTIPLE_ROWS)
+            {
+                commitInteractiveSelection(
+                    GridSelectionEventKind.SELECT_ALL,
+                    0, 0, dataProvider.length, columns.length);
+
+                grid.anchorRowIndex = 0;
+                grid.anchorColumnIndex = 0;
+                commitCaretPosition(-1, -1);
+            }
+            return;
+        }
+
         // Row selection requires valid row caret, cell selection
         // requires both a valid row and a valid column caret.
-
+
         if (selectionMode == GridSelectionMode.NONE ||
             grid.caretRowIndex < 0 ||
             grid.caretRowIndex >= getDataProviderLength() ||
@@ -1702,17 +1719,6 @@
                     }
                 }
             }
-            return;
-        }
-        else if (event.keyCode == Keyboard.A && event.ctrlKey)
-        {
-            commitInteractiveSelection(
-                GridSelectionEventKind.SELECT_ALL,
-                0, 0, dataProvider.length, columns.length);
-
-            grid.anchorRowIndex = 0;
-            grid.anchorColumnIndex = 0;
-            commitCaretPosition(-1, -1);
             return;
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 2533
Author:   gosmith@adobe.com
Date:     2008-07-18T23:52:27.329262Z

Log Message:
-----------
Added setSelection() and insertText() methods to TextView and TextArea.

Renamed their append() method to appendText().

Reviewer: Alex
Bug: -
QA: No
Doc: No

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

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

--- frameworks/projects/spark/src/spark/components/TextArea.as
+++ frameworks/projects/spark/src/spark/components/TextArea.as
@@ -176,12 +176,35 @@
 	/**
 	 *  Documentation is not currently available.
 	 */
-    public function append(text:String):void
-    {
-        if (!textView)
-            return;
-
-        textView.append(text);
+    public function setSelection(anchorIndex:int = 0,
+                                 activeIndex:int = int.MAX_VALUE):void
+    {
+        if (!textView)
+            return;
+
+        textView.setSelection(anchorIndex, activeIndex);
+    }
+
+	/**
+	 *  Documentation is not currently available.
+	 */
+    public function insertText(text:String):void
+    {
+        if (!textView)
+            return;
+
+        textView.insertText(text);
+    }
+
+	/**
+	 *  Documentation is not currently available.
+	 */
+    public function appendText(text:String):void
+    {
+        if (!textView)
+            return;
+
+        textView.appendText(text);
     }

 	/**


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

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

 package spark.core
 {


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

--- frameworks/projects/spark/src/spark/effects/ThrowEffect.as
+++ frameworks/projects/spark/src/spark/effects/ThrowEffect.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2011 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: 6122
Author:   chaase@adobe.com
Date:     2009-04-10T14:30:17.762458Z

Log Message:
-----------
Various refactorings/renamings/changes from effects PARB review.

QE Notes: mx/effects and spark/effects currently broken (and disabled) due to these API changes. Matt is fixing.
Doc Notes: None
Bugs:
Reviewer: Hans
tests: checkintests, mustella tests/ListDataEffects

Modified Paths:
--------------
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EaseInOut.as" copyfrom-rev="5944" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EaseInOutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/CompositeEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EaseInOut.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EasingFraction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/EffectEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/TweenEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Animate.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/RepeatBehavior.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/NumberArrayInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/IEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/Animate3DInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimationProperty.as" copyfrom-rev="5944" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/SimpleMotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateColorInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateShaderTransitionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateFilterInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/Rotate3DInstance.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/events/AnimationEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/ArrayInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/IEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/RotateInstance.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/IAnimationTarget.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/ResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimationProperty.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/MoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SequenceInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/AnimateColorInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/AnimateColorInstance.as
@@ -11,7 +11,7 @@

 package spark.effects.supportClasses
 {
-import spark.effects.AnimationProperty;
+import spark.effects.SimpleMotionPath;
 import spark.effects.interpolation.RGBInterpolator;
 import mx.styles.StyleManager;

@@ -95,8 +95,8 @@
             }
         }

-        animationProperties =
-            [ new AnimationProperty(colorPropertyName, colorFrom, colorTo, duration) ];
+        motionPaths =
+            [ new SimpleMotionPath(colorPropertyName, colorFrom, colorTo, duration) ];

         if (!interpolator)
             interpolator = RGBInterpolator.getInstance();


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/RemoveActionInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/RemoveActionInstance.as
@@ -29,6 +29,11 @@
  *  effect; you do not create one yourself.
  *
  *  @see mx.effects.RemoveChildAction
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 public class RemoveActionInstance extends ActionEffectInstance
 {
@@ -44,6 +49,11 @@
 	 *  Constructor.
 	 *
 	 *  @param target The Object to animate with this effect.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10
+	 *  @playerversion AIR 1.5
+	 *  @productversion Flex 4
 	 */
 	public function RemoveActionInstance(target:Object)
 	{


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

--- frameworks/projects/advancedgrids/src/mx/collections/LeafNodeCursor.as
+++ frameworks/projects/advancedgrids/src/mx/collections/LeafNodeCursor.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.collections
 {


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

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


Transferred from the Adobe Open Source Subversion Repository

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

--- frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as
+++ frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2006-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: 11027
Author:   dloverin@adobe.com
Date:     2009-10-20T15:50:09.018295Z

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

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

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/AbstractSyntaxTreeUtil.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/MxmlConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceGenerator.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexChangeEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/BusyCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSMergedStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/BusyCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java</path>

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

--- frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as
+++ frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as
@@ -217,7 +217,7 @@
     {
         var newCursorClass:Class = cursorClass;
 		var styleSheet:CSSStyleDeclaration =
-						styleManager.getStyleDeclaration("mx.managers.DragManager");
+						styleManager.getMergedStyleDeclaration("mx.managers.DragManager");

         if (action == DragManager.COPY)
             newCursorClass = styleSheet.getStyle("copyCursor");


Transferred from the Adobe Open Source Subversion Repository

Revision: 12287
Author:   aharui@adobe.com
Date:     2009-11-30T18:52:52.476947Z

Log Message:
-----------
Couple of DG fixes

QE Notes: None
Doc Notes: None
Bugs: SDK-24127, SDK-16262
Reviewer: Corey
API Change: No
Is noteworthy for integration: No
tests: checkintests mustella/components/DataGrid

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

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

--- frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridBase.as
+++ frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridBase.as
@@ -801,7 +801,7 @@
                 else
                     clearRow(contentHolder, rowNum);

-                bSelected = selectedData[uid] != null;
+                bSelected = isItemSelectable(data) && isItemSelected(uid);
                 bHighlight = highlightUID == uid;
                 bCaret = caretUID == uid;
                 setRowInfo(contentHolder, rowNum, yy, hh, uid);


Call updateAnimation() immediately on any starting animation.

git-svn-id: b675b909355d5cf946977f44a8ec5a6ceb3782e4@212 ed5b42cb-e716-0410-a449-f6a68f950b19

--- src/as/com/threerings/flash/AnimationManager.as
+++ src/as/com/threerings/flash/AnimationManager.as
@@ -24,12 +24,13 @@
     {
         var dex :int = _anims.indexOf(anim);
         if (dex == -1) {
+            dex = _anims.length;
             _anims.push(anim);
-            _anims.push(NaN);
+        }
+        _anims[dex + 1] = getTimer(); // mark it as starting

-        } else {
-            _anims[dex + 1] = NaN; // mark it as starting
-        }
+        // and update it immediately
+        anim.updateAnimation(0);

         if (!_framer) {
             _framer = new Sprite();
@@ -108,12 +109,7 @@
         var anim :Animation;
         var startStamp :Number;
         for (var ii :int = _anims.length - 2; ii >= 0; ii -= 2) {
-            anim = Animation(_anims[ii]);
-            startStamp = Number(_anims[ii + 1]);
-            if (isNaN(startStamp)) {
-                _anims[ii + 1] = startStamp = now;
-            }
-            anim.updateAnimation(now - startStamp);
+            Animation(_anims[ii]).updateAnimation(now - Number(_anims[ii + 1]));
         }
     }


added missing tool

added missing tool

--- WeaveUI/src/_InitializeWeaveUI.as
+++ WeaveUI/src/_InitializeWeaveUI.as
@@ -75,6 +75,7 @@
 	import weave.visualization.tools.ScatterPlotTool;
 	import weave.visualization.tools.ThermometerTool;
 	import weave.visualization.tools.TimeSliderTool;
+	import weave.visualization.tools.TransposedTableTool;

 	/**
 	 * Referencing this class will register WeaveAPI singleton implementations.
@@ -135,8 +136,9 @@
 			ScatterPlotTool,
 			ThermometerTool,
 			TimeSliderTool,
+			TransposedTableTool,
 			RamachandranPlotTool,
-			DataStatisticsTool,
+			DataStatisticsTool
 		]).toString();

 		/**


100 column formatting.

100 column formatting.

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

--- src/as/com/threerings/io/Translations.as
+++ src/as/com/threerings/io/Translations.as
@@ -41,8 +41,7 @@
         return (asName == null) ? javaName.replace("$", "_") : asName;
     }

-    public static function addTranslation (
-            asName :String, javaName :String) :void
+    public static function addTranslation (asName :String, javaName :String) :void
     {
         _toServer.put(asName, javaName);
         _fromServer.put(javaName, asName);


Transferred from the Adobe Open Source Subversion Repository

Revision: 3139
Author:   jimurphy@adobe.com
Date:     2008-09-08T15:42:37.788151Z

Log Message:
-----------
Merged 3.0.x revisions [3074,3079-3080,3086,3094,3096,3098,3101-3102,3104,3108,3114,3123,3125-3126] -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FocusRequestDirection.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/NetConnectionChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/EventListenerRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/config/ServerConfig.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/SecurityUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.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="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SandboxMouseEvent.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/InterDragManagerEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/SWFBridgeGroup.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/core/UITextFormat.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/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/InvalidateRequestData.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISWFBridgeProvider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/InterManagerRequest.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/events/SWFBridgeRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISWFBridgeGroup.as</path>

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

--- frameworks/projects/framework/src/mx/events/InterDragManagerEvent.as
+++ frameworks/projects/framework/src/mx/events/InterDragManagerEvent.as
@@ -20,18 +20,18 @@
 import mx.events.DragEvent;

 /**
- *  This is an event sent between DragManagers
- *  in separate ApplicationDomains that are trusted to
+ *  An event sent between DragManagers that are
+ *  in separate but trusted ApplicationDomains to
  *  handle the dispatching of DragEvents to the drag targets.
- *  One DragManager has a DragProxy that is moving with
- *  the mouse and looking for changes to the dropTarget.
- *  It can't directly dispatch the DragEvent to a potential
+ *  One DragManager has a DragProxy that moves with
+ *  the mouse and looks for changes to the dropTarget.
+ *  It cannot directly dispatch the DragEvent to a potential
  *  target in another ApplicationDomain because code
  *  in that ApplicationDomain would not type-match on DragEvent.
  *  Instead, the DragManager dispatches a InterDragManagerEvent
- *  that the other ApplicationDomain's DragManager is listening
+ *  that the other ApplicationDomain's DragManager listens
  *  for and it marshals the DragEvent and dispatches it to
- *  the potential dropTarget
+ *  the potential dropTarget.
  */
 public class InterDragManagerEvent extends DragEvent
 {
@@ -46,7 +46,7 @@
 	/**
 	 *	Dispatch a DragEvent event to a target in another ApplicationDomain.
 	 *  The receiving DragManager marshals the DragEvent and dispatches it
-	 *  to the target specified in the dropTarget property
+	 *  to the target specified in the dropTarget property.
 	 *
 	 */
     public static const DISPATCH_DRAG_EVENT:String =
@@ -61,6 +61,42 @@

 	/**
 	 *  Constructor.
+	 *
+	 *  @param type The event type; indicates the action that caused the event.
+	 *
+	 *  @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 localX The horizontal coordinate at which the event occurred relative to the containing sprite.
+	 *
+	 *  @param localY The vertical coordinate at which the event occurred relative to the containing sprite.
+	 *
+	 *  @param relatedObject A reference to a display list object that is related to the event.
+	 *
+	 *  @param ctrlKey Indicates whether the Ctrl key was pressed.
+	 *
+	 *  @param altKey Indicates whether the Alt key was pressed.
+	 *
+	 *  @param shiftKey Indicates whether the Shift key was pressed.
+	 *
+	 *  @param buttonDown Indicates whether the primary mouse button is pressed (true) or not (false).
+	 *
+	 *  @param delta Indicates how many lines should be scrolled for each unit the user rotates the mouse wheel.
+	 *
+	 *  @param dropTarget The potential drop target in the other application domain (which is why it is a DisplayObject and not some other class).
+	 *
+	 *  @param dragEventType The event type for the DragEvent to be used by the receiving DragManager when creating the marshaled DragEvent.
+	 *
+	 *  @param dragInitiator IUIComponent that specifies the component initiating
+	 *  the drag.
+	 *
+	 *  @param dragSource A DragSource object containing the data being dragged.
+	 *
+	 *  @param action The specified drop action, such as DragManager.MOVE.
+	 *
+	 *  @param draggedItem An object representing the item that was dragged.
+	 *
 	 */
 	public function InterDragManagerEvent(type:String, bubbles:Boolean = false,
 										cancelable:Boolean = false,
@@ -106,7 +142,7 @@
     //----------------------------------

 	/**
-	 *  The potential drop target in the other application domain
+	 *  The potential drop target in the other ApplicationDomain
      *  (which is why it is a DisplayObject and not some other class).
 	 */
 	public var dropTarget:DisplayObject;
@@ -119,6 +155,7 @@
 	 *  The event type for the DragEvent to be used
 	 *  by the receiving DragManager when creating the
 	 *  marshaled DragEvent.
+	 *
 	 *  @see mx.events.DragEvent
 	 */
 	public var dragEventType: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@1262304 13f79535-47bb-0310-9956-ffa450edef68

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


improved performance handling csv columns

Change-Id: I11de7f424139005941b5c2d08935e6d8f8a23d8c

--- WeaveData/src/weave/data/DataSources/CSVDataSource.as
+++ WeaveData/src/weave/data/DataSources/CSVDataSource.as
@@ -26,7 +26,7 @@
 	import mx.rpc.AsyncToken;
 	import mx.rpc.events.FaultEvent;
 	import mx.rpc.events.ResultEvent;
-	import mx.utils.ObjectUtil;
+	import mx.utils.StringUtil;

 	import weave.api.core.ILinkableHashMap;
 	import weave.api.data.ColumnMetadata;
@@ -530,76 +530,40 @@
 			// it is ok if keyColIndex is -1 because getColumnValues supports -1
 			var keyColIndex:int = keyColName.value ? colNames.indexOf(keyColName.value) : -1;

-			var i:int;
-			var csvDataColumn:Vector.<String> = new Vector.<String>();
-			getColumnValues(parsedRows, colIndex, csvDataColumn);
-
-			// loop through values, determine column type
-			var nullValue:String;
-			var dataType:String = metadata[ColumnMetadata.DATA_TYPE];
-			var isNumericColumn:Boolean = dataType == null || dataType == DataType.NUMBER;
-			if (isNumericColumn)
-			{
-				//check if it is a numeric column.
-				for each (var columnValue:String in csvDataColumn)
-				{
-					if (columnValue == null) // this is possible if rows have missing values
-						continue;
-					// if a string is 2 characters or more and begins with a '0', treat it as a string.
-					if (columnValue.length > 1 && columnValue.charAt(0) == '0' && columnValue.charAt(1) != '.')
-					{
-						isNumericColumn = false;
-						break;
-					}
-					if (!isNaN(getNumberFromString(columnValue)))
-						continue;
-					// if not numeric, compare to null values
-					if (!stringIsNullValue(columnValue))
-					{
-						// stop when it is determined that the column is not numeric
-						isNumericColumn = false;
-						break;
-					}
-				}
-			}
-
 			var keysVector:Vector.<IQualifiedKey> = new Vector.<IQualifiedKey>();
 			function setRecords():void
 			{
-				// fill in initializedProxyColumn.internalAttributeColumn based on column type (numeric or string)
+				var strings:Vector.<String> = getColumnValues(parsedRows, colIndex, new Vector.<String>());
+				var numbers:Vector.<Number> = null;
+
+				var dataType:String = metadata[ColumnMetadata.DATA_TYPE];
+				if (dataType == null || dataType == DataType.NUMBER)
+					numbers = stringsToNumbers(strings, dataType == DataType.NUMBER);
+
 				var newColumn:IAttributeColumn;
-				if (isNumericColumn)
+				if (numbers)
 				{
-					var numericVector:Vector.<Number> = new Vector.<Number>(csvDataColumn.length);
-					for (i = 0; i < csvDataColumn.length; i++)
-						numericVector[i] = getNumberFromString(csvDataColumn[i]);
-
 					newColumn = new NumberColumn(metadata);
-					(newColumn as NumberColumn).setRecords(keysVector, numericVector);
+					(newColumn as NumberColumn).setRecords(keysVector, numbers);
 				}
 				else
 				{
-					var stringVector:Vector.<String> = Vector.<String>(csvDataColumn);
-
 					if (dataType == DataType.DATE)
 					{
 						newColumn = new DateColumn(metadata);
-						(newColumn as DateColumn).setRecords(keysVector, stringVector);
+						(newColumn as DateColumn).setRecords(keysVector, strings);
 					}
 					else
 					{
 						newColumn = new StringColumn(metadata);
-						(newColumn as StringColumn).setRecords(keysVector, stringVector);
+						(newColumn as StringColumn).setRecords(keysVector, strings);
 					}
 				}
 				proxyColumn.setInternalColumn(newColumn);
-
-				//debugTrace(this, "initialized column", proxyColumn);
 			}

 			proxyColumn.setMetadata(metadata);
-			var keyStrings:Array = [];
-			getColumnValues(parsedRows, keyColIndex, keyStrings);
+			var keyStrings:Array = getColumnValues(parsedRows, keyColIndex, []);
 			(WeaveAPI.QKeyManager as QKeyManager).getQKeysAsync(keyType.value, keyStrings, proxyColumn, setRecords, keysVector);
 		}

@@ -607,8 +571,9 @@
 		 * @param rows The rows to get values from.
 		 * @param columnIndex If this is -1, record index values will be returned.  Otherwise, this specifies which column to get values from.
 		 * @param outputArrayOrVector Output Array or Vector to store the values from the specified column, excluding the first row, which is the header.
-		 */
-		private function getColumnValues(rows:Array, columnIndex:int, outputArrayOrVector:*):void
+		 * @return outputArrayOrVector
+		 */
+		private function getColumnValues(rows:Array, columnIndex:int, outputArrayOrVector:*):*
 		{
 			outputArrayOrVector.length = rows.length - 1;
 			var i:int;
@@ -624,22 +589,41 @@
 				for (i = 1; i < rows.length; i++)
 					outputArrayOrVector[i-1] = rows[i][columnIndex];
 			}
-		}
-
-		private function getNumberFromString(value:String):Number
-		{
-			if (stringIsNullValue(value))
-				return NaN;
-			// First trim out any commas since Number() does not work if numbers have commas.
-			return Number(value.split(",").join(""));
-		}
-
-		private function stringIsNullValue(value:String):Boolean
-		{
-			for each (var nullValue:String in nullValues)
-				if (ObjectUtil.stringCompare(value, nullValue, true) == 0)
-					return true;
-			return false;
+			return outputArrayOrVector;
+		}
+
+		private function stringsToNumbers(strings:Vector.<String>, forced:Boolean):Vector.<Number>
+		{
+			var numbers:Vector.<Number> = new Vector.<Number>(strings.length);
+			var i:int = strings.length;
+			outerLoop: while (i--)
+			{
+				var string:String = StringUtil.trim(strings[i]);
+				for each (var nullValue:String in nullValues)
+				{
+					var a:String = nullValue && nullValue.toLocaleLowerCase();
+					var b:String = string && string.toLocaleLowerCase();
+					if (a == b)
+					{
+						numbers[i] = NaN;
+						continue outerLoop;
+					}
+				}
+
+				// if a string is 2 characters or more and begins with a '0', treat it as a string.
+				if (!forced && string.length > 1 && string.charAt(0) == '0' && string.charAt(1) != '.')
+					return null;
+
+				if (string.indexOf(',') >= 0)
+					string = string.split(',').join('');
+
+				var number:Number = Number(string);
+				if (isNaN(number) && !forced)
+					return null;
+
+				numbers[i] = number;
+			}
+			return numbers;
 		}

 		private const nullValues:Array = [null, "", "null", "\\N", "NaN"];


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

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

 package
 {


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

--- frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.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.messaging.channels
 {


Removed unneeded set viewComponent method from IMediator. Tests still happy.

--- src/robotlegs/bender/extensions/mediatorMap/api/IMediator.as
+++ src/robotlegs/bender/extensions/mediatorMap/api/IMediator.as
@@ -10,8 +10,6 @@

 	public interface IMediator
 	{
-		function set viewComponent(view:Object):void;
-
 		function initialize():void;

 		function destroy():void;


XIFF-44.

XIFF-44.

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

--- src/org/igniterealtime/xiff/vcard/VCardPhoto.as
+++ src/org/igniterealtime/xiff/vcard/VCardPhoto.as
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2003-2012 Igniterealtime Community Contributors
- *
+ *
  *     Daniel Henninger
  *     Derrick Grigg <dgrigg@rogers.com>
  *     Juga Paazmaya <olavic@gmail.com>
@@ -9,14 +9,14 @@
  *     Sean Voisen <sean@voisen.org>
  *     Mark Walters
  *     Michael McCarthy <mikeycmccarthy@gmail.com>
- *
- *
+ *
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- *
+ *
  *     http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -31,6 +31,13 @@

 	/**
 	 * Photograph.
+	 *
+	 *
The image height and width SHOULD be between thirty-two (32) and ninety-six (96) pixels;
+	 * the recommended size is sixty-four (64) pixels high and sixty-four (64) pixels wide.

+	 *
+	 *
The image SHOULD be square.

+	 *
+	 * @see http://xmpp.org/extensions/xep-0153.html
 	 */
 	public class VCardPhoto implements IVCardPhoto
 	{
@@ -46,7 +53,7 @@
 		 * To save a photo, either binaryValue or externalValue are required, but not both.
 		 * If binaryValue is passed in, type is required.
 		 * If externalValue is passed in, type is not required.
-		 *
+		 *
 		 * @param	type The image type of the photo. Required if binaryValue is passed in.
 		 * @param	binaryValue The BASE64 encoded binary value of the photo. Either binaryValue or externalValue are required, but not both.
 		 * @param	externalValue The URI to an external photo. Either binaryValue or externalValue are required, but not both.
@@ -59,7 +66,15 @@
 		}

 		/**
+		 * Base64 encoded data.
+		 * The image SHOULD use less than eight kilobytes (8k) of data; this
+		 * restriction is to be enforced by the publishing client.
 		 *
+		 *
The image data MUST conform to the base64Binary datatype [7] and thus be encoded in accordance with
+		 * Section 6.8 of RFC 2045 [8], which recommends that base64 data should have lines limited to at most
+		 * 76 characters in length. However, any whitespace characters (e.g., '\\r' and '\\n') MUST be ignored.

+		 *
+		 * @see http://tools.ietf.org/html/rfc2045#section-6.8
 		 */
 		public function get binaryValue():String
 		{
@@ -68,7 +83,7 @@
 		public function set binaryValue( value:String ):void
 		{
 			_binaryValue = value;
-			if( value )
+			if ( value )
 			{
 				try
 				{
@@ -86,7 +101,7 @@
 		}

 		/**
-		 *
+		 * Image data
 		 */
 		public function get bytes():ByteArray
 		{
@@ -95,7 +110,7 @@
 		public function set bytes( value:ByteArray ):void
 		{
 			_bytes = value;
-			if( value )
+			if ( value )
 			{
 				try
 				{
@@ -113,7 +128,7 @@
 		}

 		/**
-		 *
+		 * The URI to an external photo
 		 */
 		public function get externalValue():String
 		{
@@ -125,7 +140,14 @@
 		}

 		/**
-		 * Possible types are ...
+		 * Mimetype of the given bytes value, if any.
+		 * Should be set by hand.
+		 *
+		 *
The image content type [6] SHOULD be image/gif, image/jpeg, or image/png; support for the
+		 * "image/png" content type is REQUIRED, support for the "image/gif" and "image/jpeg" content
+		 * types is RECOMMENDED, and support for any other content type is OPTIONAL.

+		 *
+		 * @exampleText image/jpeg
 		 */
 		public function get type():String
 		{


make catch block empty to improve performance

--- frameworks/projects/mx/src/mx/controls/List.as
+++ frameworks/projects/mx/src/mx/controls/List.as
@@ -1844,14 +1844,14 @@

             if (more)
             {
+				// if we run out of data, assume all remaining rows are the size of the previous row
+				more = false;
                 try
                 {
                     more = iterator.moveNext();
                 }
                 catch(e:ItemPendingError)
                 {
-                    // if we run out of data, assume all remaining rows are the size of the previous row
-                    more = false;
                 }
             }
         }


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

--- frameworks/projects/framework/src/mx/core/ITransientDeferredInstance.as
+++ frameworks/projects/framework/src/mx/core/ITransientDeferredInstance.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: 8207
Author:   smgilson@adobe.com
Date:     2009-06-24T22:55:28.494485Z

Log Message:
-----------
Fix ASDoc version tags

QE Notes: None
Doc Notes: None
Bugs: -

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RectangularDropShadow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/events/DropDownEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/events/TrackBaseEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Path.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/spark/src/spark/primitives/Ellipse.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/airframework/src/spark/components/windowClasses/TitleBar.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/spark/src/spark/primitives/VideoElement.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/RectangularDropShadow.as
+++ frameworks/projects/spark/src/spark/primitives/RectangularDropShadow.as
@@ -89,9 +89,9 @@
         /**
          *  @copy flash.filters.DropShadowFilter#alpha
          *
-         *  @langversion 4.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
+         *  @langversion 3.0
+         *  @playerversion Flash 10
+         *  @playerversion AIR 1.5
          *  @productversion Flex 4
          */
         override public function get alpha():Number
@@ -126,9 +126,9 @@
         /**
          *  @copy flash.filters.DropShadowFilter#angle
          *
-         *  @langversion 4.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
+         *  @langversion 3.0
+         *  @playerversion Flash 10
+         *  @playerversion AIR 1.5
          *  @productversion Flex 4
          */
         public function get angle():Number
@@ -163,9 +163,9 @@
         /**
          *  @copy flash.filters.DropShadowFilter#color
          *
-         *  @langversion 4.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
+         *  @langversion 3.0
+         *  @playerversion Flash 10
+         *  @playerversion AIR 1.5
          *  @productversion Flex 4
          */
         public function get color():int
@@ -200,9 +200,9 @@
         /**
          *  @copy flash.filters.DropShadowFilter#distance
          *
-         *  @langversion 4.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
+         *  @langversion 3.0
+         *  @playerversion Flash 10
+         *  @playerversion AIR 1.5
          *  @productversion Flex 4
          */
         public function get distance():Number
@@ -239,9 +239,9 @@
          *  of the rounded rectangle that is casting the shadow.
          *  May be zero for non-rounded rectangles.
          *
-         *  @langversion 4.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
+         *  @langversion 3.0
+         *  @playerversion Flash 10
+         *  @playerversion AIR 1.5
          *  @productversion Flex 4
          */
         public function get tlRadius():Number
@@ -278,9 +278,9 @@
          *  of the rounded rectangle that is casting the shadow.
          *  May be zero for non-rounded rectangles.
          *
-         *  @langversion 4.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
+         *  @langversion 3.0
+         *  @playerversion Flash 10
+         *  @playerversion AIR 1.5
          *  @productversion Flex 4
          */
         public function get trRadius():Number
@@ -318,9 +318,9 @@
          *  May be zero for non-rounded
          *  rectangles.
          *
-         *  @langversion 4.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
+         *  @langversion 3.0
+         *  @playerversion Flash 10
+         *  @playerversion AIR 1.5
          *  @productversion Flex 4
          */
         public function get blRadius():Number
@@ -357,9 +357,9 @@
          *  of the rounded rectangle that is casting the shadow.
          *  May be zero for non-rounded rectangles.
          *
-         *  @langversion 4.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
+         *  @langversion 3.0
+         *  @playerversion Flash 10
+         *  @playerversion AIR 1.5
          *  @productversion Flex 4
          */
         public function get brRadius():Number
@@ -395,9 +395,9 @@
          *  The amount of horizontal blur.
          *  @default 4
          *
-         *  @langversion 4.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
+         *  @langversion 3.0
+         *  @playerversion Flash 10
+         *  @playerversion AIR 1.5
          *  @productversion Flex 4
          */
         public function get blurX():Number
@@ -433,9 +433,9 @@
          *  The amount of vertical blur.
          *  @default 4
          *
-         *  @langversion 4.0
-         *  @playerversion Flash 9
-         *  @playerversion AIR 1.1
+         *  @langversion 3.0
+         *  @playerversion Flash 10
+         *  @playerversion AIR 1.5
          *  @productversion Flex 4
          */
         public function get blurY():Number


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

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

 package mx.automation.delegates.controls
 {


Install logger before doing anything else.

--- src/goplayer/Application.as
+++ src/goplayer/Application.as
@@ -25,6 +25,8 @@

     public function Application(parameters : Object)
     {
+      installLogger()
+
       this.configuration = ConfigurationParser.parse(parameters)

       api = new StreamioAPI
@@ -35,8 +37,6 @@
       addChild(background)
       addChild(contentLayer)
       addChild(debugLayer)
-
-      installLogger()
     }

     public function set listener(value : ApplicationListener) : void


:fire: prints

:fire: prints

--- gmb/cartridge.as
+++ gmb/cartridge.as
@@ -240,9 +240,5 @@
       self.ExternalRAM = true;
       self.Battery = true;
     }
-
-    // libc.printf("CART: %02X\n", self.Type);
-    // libc.printf("ROM: %d\n", self.ROMSize);
-    // libc.printf("RAM: %d\n", self.RAMSize);
   }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 11254
Author:   cframpto@adobe.com
Date:     2009-10-29T15:03:08.155215Z

Log Message:
-----------
Once initialized, hostFormat should never be null.  Styles can be changed in event handlers that are dispatched in the middle of the component lifecycle.  Added 10 styles from TLF's TextLayoutFormat to the sizeInvalidatingStyles array since they each can impact the text measurement.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichEditableText.as</path>

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

--- frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as
+++ frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as
@@ -89,6 +89,7 @@
             blockProgression: true,
             borderStyle: true,
             borderThickness: true,
+            breakOpportunity : true,
             cffHinting: true,
             columnCount: true,
             columnGap: true,
@@ -114,6 +115,7 @@
             justificationStyle: true,
             kerning: true,
             leading: true,
+            leadingModel: true,
             letterSpacing: true,
             ligatureLevel: true,
             lineBreak: true,
@@ -128,12 +130,20 @@
             paddingLeft: true,
             paddingRight: true,
             paddingTop: true,
+            paragraphEndIndent: true,
+            paragraphStartIndent: true,
+            paragraphSpaceAfter: true,
+            paragraphSpaceBefore: true,
             renderingMode: true,
             strokeWidth: true,
             tabHeight: true,
             tabWidth: true,
+            tabStops: true,
             textAlign: true,
             textAlignLast: true,
+            textDecoration: true,
+            textIndent: true,
+            textJustify: true,
             textRotation: true,
             tracking: true,
             trackingLeft: true,


add BasicMaterial.uvScale and BasicMaterial.uvOffset properties


fixed asdoc errors

fixed asdoc errors

--- WeaveData/src/weave/data/AttributeColumns/ColumnDataTask.as
+++ WeaveData/src/weave/data/AttributeColumns/ColumnDataTask.as
@@ -40,13 +40,13 @@

 		/**
 		 * Asynchronous output.
-		 * recordKey:IQualifiedKey -> Array<Number>
+		 * recordKey:IQualifiedKey -> Array<Number>
 		 */
 		public var uniqueKeys:Array = [];

 		/**
 		 * Asynchronous output.
-		 * (dataType:Class, recordKey:IQualifiedKey) -> value
+		 * (dataType:Class, recordKey:IQualifiedKey) -> value
 		 */
 		public var arrayData:Dictionary = new Dictionary();


Set datagrid cellRenderer Label witdh to 100 percent
Change-Id: I51e8151bd51f491babb73cb7e82bdc8c5996d1c2

--- WeaveUI/src/weave/ui/CustomDataGrid/DataGridCellRenderer.as
+++ WeaveUI/src/weave/ui/CustomDataGrid/DataGridCellRenderer.as
@@ -43,6 +43,7 @@
 		{
 			addChild(img);
 			addChild(lbl);
+			lbl.percentWidth = 100;

 			horizontalScrollPolicy = "off";

@@ -92,12 +93,12 @@
 			{
 				if (grid.isItemSelected(data) || grid.isItemHighlighted(data))
 				{
-					setStyle("fontWeight", "bold");
+					lbl.setStyle("fontWeight", "bold");
 					alpha = 1.0;
 				}
 				else
 				{
-					setStyle("fontWeight", "normal");
+					lbl.setStyle("fontWeight", "normal");
 					alpha = 0.3;
 				}
 			}


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

--- frameworks/projects/framework/src/mx/binding/RepeaterComponentWatcher.as
+++ frameworks/projects/framework/src/mx/binding/RepeaterComponentWatcher.as
@@ -0,0 +1,155 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.binding
+{
+
+import flash.events.Event;
+import mx.core.mx_internal;
+
+use namespace mx_internal;
+
+[ExcludeClass]
+
+/**
+ *  @private
+ */
+public class RepeaterComponentWatcher extends PropertyWatcher
+{
+    include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+     *
+     *  Create a RepeaterComponentWatcher
+     *
+     *  @param prop The name of the property to watch.
+     *  @param event The event type that indicates the property has changed.
+     *  @param listeners The binding objects that are listening to this Watcher.
+     *  @param propertyGetter A helper function used to access non-public variables.
+	 */
+    public function RepeaterComponentWatcher(propertyName:String,
+                                             events:Object,
+                                             listeners:Array,
+                                             propertyGetter:Function = null)
+    {
+		super(propertyName, events, listeners, propertyGetter);
+    }
+
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+    private var clones:Array;
+
+	/**
+	 *  @private
+	 */
+    private var original:Boolean = true;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: Watcher
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+    override public function updateChildren():void
+    {
+        if (original)
+        {
+            updateClones();
+        }
+        else
+        {
+            super.updateChildren();
+        }
+    }
+
+	/**
+	 *  @private
+	 */
+    override protected function shallowClone():Watcher
+    {
+        return new RepeaterComponentWatcher(propertyName, events, listeners, propertyGetter);
+    }
+
+	/**
+	 *  @private
+	 */
+    private function updateClones():void
+    {
+        var components:Array = value as Array;
+
+        if (components)
+        {
+            if (clones)
+                clones = clones.splice(0, components.length);
+            else
+                clones = [];
+
+            for (var i:int = 0; i < components.length; i++)
+            {
+                var clone:RepeaterComponentWatcher = RepeaterComponentWatcher(clones[i]);
+
+                if (!clone)
+                {
+                    clone = RepeaterComponentWatcher(deepClone(i));
+                    clone.original = false;
+                    clones[i] = clone;
+                }
+
+                clone.value = components[i];
+                clone.updateChildren();
+            }
+        }
+    }
+
+	//--------------------------------------------------------------------------
+	//
+	//  Event handlers
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+     *  Invokes super's notifyListeners() on each of the clones.
+     */
+    override public function notifyListeners(commitEvent:Boolean):void
+    {
+        if (original)
+        {
+            if (clones)
+            {
+                for (var i:int = 0; i < clones.length; i++)
+                {
+                    RepeaterComponentWatcher(clones[i]).notifyListeners(commitEvent);
+                }
+            }
+        }
+
+        super.notifyListeners(commitEvent);
+    }
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 10955
Author:   jszeto@adobe.com
Date:     2009-10-09T19:34:12.315199Z

Log Message:
-----------
ComboBox initial checkin

The ComboBox component is similar to a DropDownList but has a TextInput instead of a Label. A user can type into the TextInput and the dropDown will scroll to and highlight the closest match.

Users are allowed to type in an item not found in the dataProvider. With this behavior, a ComboBox acts as a list of suggested values, while a DropDownList acts as a list of possible values.

The full spec is located here:
http://opensource.adobe.com/wiki/display/flexsdk/Spark+ComboBox

This checkin includes the following:
- All public APIs implemented
- All styles implemented (except for cornerRadius)
- Basic keyboard and mouse interaction working
- Spark and Wireframe skins implemented
- Added custom selectedItem support to ListBase

What is missing:
- The keyboard and mouse interactions are partially implemented.
- The TextInput caret and selection behaviors are not implemented
- The changing event is not cancellable if setting a custom selected item
- Need to refactor DropDownList into DropDownList and DropDownListBase

QE notes: None
Doc notes: None
Bugs: None
Reviewer: Glenn
Tests run: List, DropDownList
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ComboBoxButtonSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/SparkClasses.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ComboBoxSkin.mxml</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/wireframe/src/WireframeClasses.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ComboBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ComboBoxTextInputSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ComboBoxButtonSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
+++ frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
@@ -57,6 +57,16 @@
 include "../styles/metadata/BasicInheritingTextStyles.as"

 /**
+ *  The alpha of the focus ring for this component.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Style(name="focusAlpha", type="Number", inherit="no", theme="spark")]
+
+/**
  *  Color of focus ring when the component is in focus.
  *
  *  @default 0x70B2EE
@@ -67,6 +77,18 @@
  *  @productversion Flex 4
  */
 [Style(name="focusColor", type="uint", format="Color", inherit="yes", theme="spark")]
+
+/**
+ *  Thickness, in pixels, of the focus rectangle outline.
+ *
+ *  @default 2
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="focusThickness", type="Number", format="Length", inherit="no")]

 [DefaultProperty("dataProvider")]


Transferred from the Adobe Open Source Subversion Repository

Revision: 18109
Author:   dloverin@adobe.com
Date:     2010-10-08T21:29:52.633486Z

Log Message:
-----------
Another round of item editor changes, ASDoc updates, and bug fixes.

QE notes: Not ready for testing.
Doc notes: None.
Bugs:
Reviewer: Hans
Tests run: checkintests
Is noteworthy for integration: No.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/IGridItemEditor.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/DataGridEditEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/DataGridEditEvent.as" copyfrom-rev="18071" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/GridItemEditorEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/TextGridItemEditor.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridColumn.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridItemEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/ComboBoxGridItemEditor.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
@@ -468,16 +468,12 @@
     [Bindable("itemEditorChanged")]

     /**
-     *  A factory for IGridItemEditors used to edit individual grid cells.
-     *  This property is only applies to grid columns that are used with
-     *  DataGrids.
-     *
-     *
If a column is editable this property determines the editor that
-     *  will be used. If this property is not specified, then the
-     *  itemEditor property of the DataGrid will be used. If the
-     *  DataGrid does not supply and editor then the TextGridItemEditor
-     *   will be used.
-     *

+     *  A factory for IGridItemEditors used to edit individual grid cells in
+     *  this column.
+
+     *  If this property is null, and the column grid's owner is a DataGrid,
+     *  then the value of the DataGrid's itemEditor property is used.   The
+     *  default DataGrid item editor is TextGridItemEditor.
      *
      *  @default null
      *


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

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