Transferred from the Adobe Open Source Subversion Repository

Revision: 11088
Author:   hhillen@paciellogroup.com
Date:     2009-10-22T20:14:16.491190Z

Log Message:
-----------
Spark AccImpl Classes

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TextAreaAccImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SpinnerAccImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/PanelAccImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonBarAccImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SliderAccImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TextInputAccImpl.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/CheckBoxAccImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ListBaseAccImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SkinnableTextBaseAccImpl.as</path>
<path kind="file" action="A">/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/RadioButtonAccImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonAccImpl.as</path>

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

--- frameworks/projects/spark/src/spark/accessibility/ListBaseAccImpl.as
+++ frameworks/projects/spark/src/spark/accessibility/ListBaseAccImpl.as
@@ -0,0 +1,471 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 spark.accessibility
+{
+import flash.accessibility.Accessibility;
+import flash.events.Event;
+
+import flash.geom.Point;
+
+import mx.accessibility.AccImpl;
+import mx.core.mx_internal;
+import mx.core.UIComponent;
+import spark.components.List;
+import spark.components.supportClasses.ListBase;
+
+
+
+use namespace mx_internal;
+
+/**
+ *  ListBaseAccImpl is a subclass of AccessibilityImplementation
+ *  which implements accessibility for the ListBase class.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+public class ListBaseAccImpl extends AccImpl
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    private static const ROLE_SYSTEM_LISTITEM:uint = 0x22;
+
+    /**
+     *  @private
+     */
+    private static const STATE_SYSTEM_FOCUSED:uint = 0x00000004;
+
+    /**
+     *  @private
+     */
+    private static const STATE_SYSTEM_INVISIBLE:uint = 0x00008000;
+
+    /**
+     *  @private
+     */
+    private static const STATE_SYSTEM_OFFSCREEN:uint = 0x00010000;
+
+    /**
+     *  @private
+     */
+    private static const STATE_SYSTEM_SELECTABLE:uint = 0x00200000;
+
+    /**
+     *  @private
+     */
+    private static const STATE_SYSTEM_SELECTED:uint = 0x00000002;
+
+    /**
+     *  @private
+     */
+    private static const STATE_SYSTEM_MULTISELECTABLE:uint =  0x01000000;
+
+    /**
+     *  @private
+     */
+    private static const EVENT_OBJECT_FOCUS:uint = 0x8005;
+
+    /**
+     *  @private
+     */
+    private static const EVENT_OBJECT_SELECTION:uint = 0x8006;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Enables accessibility in the ListBase class.
+     *
+     *
This method is called by application startup code
+     *  that is autogenerated by the MXML compiler.
+     *  Afterwards, when instances of ListBase are initialized,
+     *  their accessibilityImplementation property
+     *  will be set to an instance of this class.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public static function enableAccessibility():void
+    {
+        ListBase.createAccessibilityImplementation =
+            createAccessibilityImplementation;
+        List.createAccessibilityImplementation =
+            createAccessibilityImplementation;
+    }
+
+    /**
+     *  @private
+     *  Creates a ListBase's AccessibilityImplementation object.
+     *  This method is called from UIComponent's
+     *  initializeAccessibility() method.
+     */
+    mx_internal static function createAccessibilityImplementation(
+                                component:UIComponent):void
+    {
+        component.accessibilityImplementation =
+            new ListBaseAccImpl(component);
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  @param master The UIComponent instance that this AccImpl instance
+     *  is making accessible.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function ListBaseAccImpl(master:UIComponent)
+    {
+        super(master);
+
+        role = 0x21; // ROLE_SYSTEM_LIST
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden properties: AccImpl
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  eventsToHandle
+    //----------------------------------
+
+    /**
+     *  @private
+     *    Array of events that we should listen for from the master component.
+     */
+    override protected function get eventsToHandle():Array
+    {
+        return super.eventsToHandle.concat([ "change", "caretChange"]);
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods: AccessibilityImplementation
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Returns the name of the component.
+     *
+     *  @param childID uint.
+     *
+     *  @return Name of the component.
+     *
+     *  @tiptext Returns the name of the component
+     */
+    override public function get_accName(childID:uint):String
+    {
+        if (childID == 0)
+            return super.get_accName(childID);
+        var accName:String = getName(childID);
+        return (accName != null && accName != "") ? accName : null;
+    }
+
+
+    /**
+     *  @private
+     *  Gets the role for the component.
+     *
+     *  @param childID children of the component
+     */
+    override public function get_accRole(childID:uint):uint
+    {
+        return childID == 0 ? role : ROLE_SYSTEM_LISTITEM;
+    }
+
+    /**
+     *  @private
+     *  IAccessible method for returning the state of the ListItem.
+     *  States are predefined for all the components in MSAA.
+     *  Values are assigned to each state.
+     *  Depending upon the listItem being Selected, Selectable,
+     *  Invisible, Offscreen, a value is returned.
+     *
+     *  @param childID uint
+     *
+     *  @return State uint
+     */
+    override public function get_accState(childID:uint):uint
+    {
+        var accState:uint = getState(childID);
+
+        if (childID > 0)
+        {
+            var index:uint = childID - 1;
+
+            // For returning states (OffScreen and Invisible)
+            // when the list Item is not in the displayed rows.
+            var isInvisible:Boolean = false;
+            //TODO: Add invisibility check
+
+            if (isInvisible)
+            {
+            accState |= (STATE_SYSTEM_OFFSCREEN |
+                                 STATE_SYSTEM_INVISIBLE);
+            }
+            else
+            {
+                if (master is List)
+                    accState |= STATE_SYSTEM_SELECTABLE;
+
+                if (ListBase(master).isItemIndexSelected(index))
+                {
+                    accState |= STATE_SYSTEM_SELECTED;
+                }
+                if (index == ListBase(master).caretIndex)
+                    accState |= STATE_SYSTEM_FOCUSED;
+            }
+        }
+        else
+        {
+            if (master is List && List(master).allowMultipleSelection)
+                accState |= STATE_SYSTEM_MULTISELECTABLE;
+        }
+        return accState;
+    }
+
+    /**
+     *  @private
+     *  IAccessible method for returning the Default Action.
+     *
+     *  @param childID uint
+     *
+     *  @return DefaultAction String
+     */
+    override public function get_accDefaultAction(childID:uint):String
+    {
+        if (childID == 0)
+            return null;
+
+        return "Double Click";
+    }
+
+    /**
+     *  @private
+     *  IAccessible method for executing the Default Action.
+     *
+     *  @param childID uint
+     */
+    override public function accDoDefaultAction(childID:uint):void
+    {
+        if (childID > 0)
+            ListBase(master).selectedIndex = childID - 1;
+    }
+
+     /**
+     *  @private
+     *  Method to return an array of childIDs.
+     *
+     *  @return Array
+     */
+    override public function getChildIDArray():Array
+    {
+        var n:int = ListBase(master).dataProvider ?
+                    ListBase(master).dataProvider.length :
+                    0;
+
+        return createChildIDArray(n);;
+    }
+
+    /**
+     *  @private
+     *  IAccessible method for returning the bounding box of the ListItem.
+     *
+     *  @param childID uint
+     *
+     *  @return Location Object
+     */
+    override public function accLocation(childID:uint):*
+    {
+        var listBase:ListBase = ListBase(master);
+        var index:uint = childID - 1;
+        var isInvisible:Boolean = false;
+        //TODO: Add visibility check
+        if (isInvisible)
+            return null;
+        else
+            return getItemAt(index);
+    }
+
+    /**
+     *  @private
+     *  IAccessible method for returning the child Selections in the List.
+     *
+     *  @param childID uint
+     *
+     *  @return focused childID.
+     */
+    override public function get_accSelection():Array
+    {
+        var accSelection:Array = [];
+        var selectedIndices:Array = [];
+        if (master is List && List(master).allowMultipleSelection)
+            selectedIndices.concat(List(master).selectedIndices);
+        else
+            selectedIndices.concat(ListBase(master).selectedIndex);
+        var n:int = selectedIndices.length;
+        for (var i:int = 0; i < n; i++)
+        {
+            accSelection[i] = selectedIndices[i] + 1;
+        }
+
+        return accSelection;
+    }
+
+    /**
+     *  @private
+     *  IAccessible method for returning the childFocus of the List.
+     *
+     *  @param childID uint
+     *
+     *  @return focused childID.
+     */
+    override public function get_accFocus():uint
+    {
+        var index:uint = ListBase(master).caretIndex;
+
+        return index >= 0 ? index + 1 : 0;
+    }
+
+    /**
+     *  @private
+     *  IAccessible method for selecting an item.
+     *
+     *  @param childID uint
+     */
+    override public function accSelect(selFlag:uint, childID:uint):void
+    {
+        var listBase:ListBase = ListBase(master);
+
+        var index:uint = childID - 1;
+
+        if (index >= 0 && index < listBase.dataProvider.length)
+            listBase.selectedIndex = index;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods: AccImpl
+    //
+    //--------------------------------------------------------------------------
+
+     /**
+     *  @private
+     *  method for returning the name of the ListItem/ListBox
+     *  which is spoken out by the screen reader.
+     *  The ListItem should return the label as the name
+     *  and ListBox should return the name
+     *  specified in the Accessibility Panel.
+     *
+     *  @param childID uint
+     *
+     *  @return Name String
+     */
+    override protected function getName(childID:uint):String
+    {
+        if (childID == 0)
+            return "";
+        var listBase:ListBase = ListBase(master);
+        return listBase.dataProvider.getItemAt(childID - 1).toString();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden event handlers: AccImpl
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Override the generic event handler.
+     *  All AccImpl must implement this
+     *  to listen for events from its master component.
+     */
+    override protected function eventHandler(event:Event):void
+    {
+        // Let AccImpl class handle the events
+        // that all accessible UIComponents understand.
+        $eventHandler(event);
+        var index:uint;
+        var childID:uint;
+        switch (event.type)
+        {
+            case "change":
+            {
+                    index = ListBase(master).selectedIndex;
+
+                if (index >= 0)
+                {
+                    childID = index + 1;
+                    Accessibility.sendEvent(master, childID,
+                                            EVENT_OBJECT_SELECTION);
+                }
+                break;
+            }
+            case "caretChange":
+            {
+                index = ListBase(master).caretIndex;
+                childID = index + 1;
+                Accessibility.sendEvent(master, childID,
+                    EVENT_OBJECT_FOCUS);
+                break;
+            }
+        }
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    private function getItemAt(index:int):Object
+    {
+        if (ListBase(master).dataGroup)
+            return ListBase(master).dataGroup.getElementAt(index);
+        else
+            return master;
+    }
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 12934
Author:   rfrishbe@adobe.com
Date:     2009-12-15T01:54:22.402049Z

Log Message:
-----------
Cleaning up some FIXMEs in the code and fixing up some ASDocs.  Also fixing VSlider/HSlider dataTip positioning so that the thumb doesn't have to be in the same coordinate system as the Slider itself.

QE notes: -
Doc notes: -
Bugs: -
Reviewer: Kevin for part of it--otherwise just doc fixes
Tests run: checkintests, mustella Slider
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>

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

--- frameworks/projects/spark/src/spark/components/SkinnableContainer.as
+++ frameworks/projects/spark/src/spark/components/SkinnableContainer.as
@@ -847,7 +847,7 @@
                 {
                     var sourceContent:Array = _placeHolderGroup.getMXMLContent();

-                    // FIXME (rfrishbe): Also look at why we need a defensive copy for mxmlContent in Group,
+                    // TODO (rfrishbe): Also look at why we need a defensive copy for mxmlContent in Group,
                     // especially if we make it mx_internal.  Also look at controlBarContent.

                     // If a child element has been addElemented() to the placeHolderGroup,


Allow the currently registered ChatFilters to be retrieved.

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

--- src/as/com/threerings/crowd/chat/client/ChatDirector.as
+++ src/as/com/threerings/crowd/chat/client/ChatDirector.as
@@ -144,6 +144,18 @@
     }

     /**
+     * Get all registered chat Filters.
+     */
+    public function getChatFilters () :Array
+    {
+        var filters :Array = [];
+        _filters.apply(function (observer :ChatFilter) :void {
+            filters.push(observer);
+        });
+        return filters;
+    }
+
+    /**
      * Adds an observer that watches the chatters list, and updates it immediately.
      */
     public function addChatterObserver (co :ChatterObserver) :void


Cleanup.
Since MediaContainer imports this, I've got half a mind
to just reduce this simple player back down to play/pause
and have MsoyVideoDisplay subclass this.

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

--- src/as/com/threerings/flash/video/SimpleVideoDisplay.as
+++ src/as/com/threerings/flash/video/SimpleVideoDisplay.as
@@ -61,11 +61,6 @@
         var g :Graphics = masker.graphics;
         g.clear();
         g.beginFill(0xFFFFFF);
-        g.drawRect(0, 0, NATIVE_WIDTH, NATIVE_HEIGHT);
-        g.endFill();
-
-        g = this.graphics;
-        g.beginFill(0xFF000000);
         g.drawRect(0, 0, NATIVE_WIDTH, NATIVE_HEIGHT);
         g.endFill();


Transferred from the Adobe Open Source Subversion Repository

Revision: 20097
Author:   jasonsj@adobe.com
Date:     2011-02-03T17:48:25.773740Z

Log Message:
-----------
Remove use of minWidth and minHeight where possible from mobile skins to fix constraint use cases. Replace usage of minWidth/minHeight and layoutMeasuredWidth/layoutMeasuredHeight with MobileSkin property measuredDefaultWidth/measuredDefaultHeight.

Use minWidth/minHeight for skins that do not scale down: Beveled buttons, CheckBox, RadioButton, and scroll bars.

Doc notes:
Bugs:
SDK-28715 Cannot size and position button correctly in i4 build.
Reviewer: egeorgie
Tests run: checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/BeveledActionButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonBarFirstButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/HSliderDataTip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaVScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonBarMiddleButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuItemSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TabbedViewNavigatorTabBarTabSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonBarLastButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ImageSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/BeveledBackButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ActionBarButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/CheckBoxSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaHScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/RadioButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as
@@ -103,8 +103,8 @@
                 layoutPaddingTop = 20;
                 layoutPaddingBottom = 20;
                 layoutBorderSize = 2;
-                minWidth = 64;
-                minHeight = 86;
+                measuredDefaultWidth = 64;
+                measuredDefaultHeight = 86;

                 break;
             }
@@ -120,14 +120,14 @@
                 layoutPaddingTop = 15;
                 layoutPaddingBottom = 15;
                 layoutBorderSize = 1;
-                minWidth = 48;
-                minHeight = 65;
+                measuredDefaultWidth = 48;
+                measuredDefaultHeight = 65;

                 break;
             }
             default:
             {
-                // default PPI160
+                // default DPI_160
                 upBorderSkin = spark.skins.mobile160.assets.Button_up;
                 downBorderSkin = spark.skins.mobile160.assets.Button_down;

@@ -138,8 +138,8 @@
                 layoutPaddingTop = 10;
                 layoutPaddingBottom = 10;
                 layoutBorderSize = 1;
-                minWidth = 32;
-                minHeight = 43;
+                measuredDefaultWidth = 32;
+                measuredDefaultHeight = 43;

                 break;
             }


Transferred from the Adobe Open Source Subversion Repository

Revision: 3307
Author:   matamel@adobe.com
Date:     2008-09-23T02:38:31.193018Z

Log Message:
-----------
Feature: Message throttling - message priority sub-feature.
QA: Not yet.
Doc: Not yet.
Checkintests: Pass

Details: Adding message priority support to BlazeDS client code as outlined in the spec. This check-in enables setting the message priority at the Producer and message levels but the priority is not used in FlexClientOutboundQueueProcessor yet.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/AbstractProducer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/AbstractMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Producer.as</path>

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

--- frameworks/projects/rpc/src/mx/messaging/messages/AbstractMessage.as
+++ frameworks/projects/rpc/src/mx/messaging/messages/AbstractMessage.as
@@ -64,7 +64,14 @@
 	 *  messages once it has been assigned by the server.
 	 */
 	public static const FLEX_CLIENT_ID_HEADER:String = "DSId";
-
+
+    /**
+     *  Messages sent by a MessageAgent can have a priority header with a 0-9
+     *  numerical value (0 being lowest) and the server can choose to use this
+     *  numerical value to prioritize messages to clients.
+     */
+    public static const PRIORITY_HEADER:String = "DSPriority";
+
 	/**
      *  Messages that need to set remote credentials for a destination
      *  carry the Base64 encoded credentials in this header.


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

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

 package mx.core
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 4611
Author:   chaase@adobe.com
Date:     2009-01-22T00:30:21.783682Z

Log Message:
-----------
Various bug fixes in effects, mostly in the area of seeking, auto-reversing, and shader transitions.

QE Notes: None
Doc Notes: None
Bugs: sdk-17783, sdk-18767, sdk-18759, sdk-18461, sdk-18309, sdk-18013, sdk-18688
Reviewer: Jason
Tests: checkintests, Mustella: Effects, gumbo/effects, ListDataEffects

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/SetAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/UnconstrainItemAction.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/framework/src/mx/effects/AddChildAction.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/Parallel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/SetPropertyAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/RemoveChildAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateShaderTransitionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateShaderTransition.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/AddItemAction.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/framework/src/mx/effects/SetStyleAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/RemoveItemAction.as</path>

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

--- frameworks/projects/mx/src/mx/effects/UnconstrainItemAction.as
+++ frameworks/projects/mx/src/mx/effects/UnconstrainItemAction.as
@@ -69,7 +69,7 @@
     public function UnconstrainItemAction(target:Object = null)
     {
         super(target);
-
+        duration = 0;
         instanceClass = UnconstrainItemActionInstance;
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 12324
Author:   smgilson@adobe.com
Date:     2009-12-01T16:08:24.785393Z

Log Message:
-----------
ASDoc updates in preparation for localization

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/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/spark/components/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/BorderContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGroup.as</path>

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

--- frameworks/projects/spark/src/spark/components/DropDownList.as
+++ frameworks/projects/spark/src/spark/components/DropDownList.as
@@ -51,6 +51,15 @@
  *      clicking on a data item while pressing the Control key deselects
  *      the item and closes the drop-down list.

  *

+ *
+ *
The DropDownList control has the following default characteristics:

+ *

+ *
Characteristic	Description

+ *
Default size

+ *
Minimum size

+ *
Maximum size	No limit

+ *
Default skin class	spark.skins.spark.DropDownListSkin

+ *

  *
  *  @mxml
The <s:DropDownList> tag inherits all of the tag
  *  attributes of its superclass and adds the following tag attributes:

@@ -59,6 +68,7 @@
  *  <s:DropDownList
  *    Properties
  *    prompt=""
+ *    typicalItem="null"
  *
  *    Events
  *    closed="No default"


Transferred from the Adobe Open Source Subversion Repository

Revision: 12399
Author:   rfrishbe@adobe.com
Date:     2009-12-03T00:22:43.241602Z

Log Message:
-----------
Flex changes for adding in a resource bundle so that the OSMF RTE messages will be localized for Flex.

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

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/bundles/zh_TW/osmf.properties</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/bundles/nb_NO/osmf.properties</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/bundles/ru_RU/osmf.properties</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/bundles/es_ES/osmf.properties</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/bundles/fr_FR/osmf.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoDisplay.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/bundles/de_DE/osmf.properties</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/bundles/zh_CN/osmf.properties</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/bundles/da_DK/osmf.properties</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/bundles/nl_NL/osmf.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/build.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/bundles/ko_KR/osmf.properties</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/bundles/pt_BR/osmf.properties</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/bundles/it_IT/osmf.properties</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/bundles/en_US/osmf.properties</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/bundles/fi_FI/osmf.properties</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/bundles/sv_SE/osmf.properties</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/bundles/ja_JP/osmf.properties</path>

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

--- frameworks/projects/spark/src/spark/components/VideoDisplay.as
+++ frameworks/projects/spark/src/spark/components/VideoDisplay.as
@@ -21,6 +21,8 @@
 import mx.core.UIComponent;
 import mx.core.mx_internal;
 import mx.events.FlexEvent;
+import mx.resources.IResourceManager;
+import mx.resources.ResourceManager;

 import org.osmf.display.MediaPlayerSprite;
 import org.osmf.display.ScaleMode;
@@ -42,6 +44,7 @@
 import org.osmf.net.dynamicstreaming.DynamicStreamingNetLoader;
 import org.osmf.net.dynamicstreaming.DynamicStreamingResource;
 import org.osmf.utils.FMSURL;
+import org.osmf.utils.OSMFStrings;
 import org.osmf.utils.URL;
 import org.osmf.video.VideoElement;

@@ -108,6 +111,8 @@
 //--------------------------------------

 [DefaultProperty("source")]
+
+[ResourceBundle("osmf")]

 [IconFile("VideoDisplay.png")]

@@ -128,6 +133,30 @@
 {
     include "../core/Version.as";

+    //--------------------------------------------------------------------------
+    //
+    //  Class methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Set as the OSMF.resourceBundleFunction and used to look up
+     *  strings so the OSMF RTEs are localized in Flex.
+     */
+	private static function getResourceString(resourceName:String,
+											  args:Array = null):String
+	{
+		var resourceManager:IResourceManager = ResourceManager.getInstance();
+		return resourceManager.getString("osmf", resourceName, args);
+	}
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
     /**
      *  Constructor.
      *
@@ -147,6 +176,13 @@
         // start or stop the video
         addEventListener(Event.ADDED_TO_STAGE, addedToStageHandler);
         addEventListener(Event.REMOVED_FROM_STAGE, removedFromStageHandler);
+
+        // Set the TLF hook used for localizing runtime error messages.
+        // TLF itself has English-only messages,
+        // but higher layers like Flex can provide localized versions.
+        OSMFStrings.resourceStringFunction = getResourceString;
+
+        trace(getResourceString('drmAuthenticationFailed'));
     }

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


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

--- frameworks/projects/charts/src/mx/styles/metadata/GapStyles.as
+++ frameworks/projects/charts/src/mx/styles/metadata/GapStyles.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: 2067
Author:   clucier@adobe.com
Date:     2008-06-13T14:08:12.949451Z

Log Message:
-----------
Submitting user patch, SDK-14848.
Bugs: SDK-14840
QA: Yes

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/ProgrammaticSkin.as

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

--- frameworks/projects/framework/src/mx/skins/ProgrammaticSkin.as
+++ frameworks/projects/framework/src/mx/skins/ProgrammaticSkin.as
@@ -519,7 +519,7 @@
      */
     public function getStyle(styleProp:String):*
     {
-        return _styleName.getStyle(styleProp);
+        return _styleName ? _styleName.getStyle(styleProp) : null;
     }

 	/**


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/mx/src/mx/core/ContainerRawChildrenList.as
+++ frameworks/projects/mx/src/mx/core/ContainerRawChildrenList.as
@@ -79,6 +79,16 @@
 		But once Container overrides getChildAt(), there is no way
 		to call the supermethod through an instance.

+	*
+
+	*  @langversion 3.0
+
+	*  @playerversion Flash 9
+
+	*  @playerversion AIR 1.1
+
+	*  @productversion Flex 3
+
 	*/

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


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

--- frameworks/projects/spark/src/spark/components/VideoDisplay.as
+++ frameworks/projects/spark/src/spark/components/VideoDisplay.as
@@ -358,8 +358,8 @@
      *  play().

      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
     public function get enabled():Boolean
@@ -1244,8 +1244,6 @@
      * @copy INCManager#connectToURL()
      * @see INCManager#connectToURL()
      *
-     * @langversion 3.0
-     * @playerversion Flash 9.0.28.0
      */
     override public function connectToURL(url:String):Boolean {
         //ifdef DEBUG


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

--- frameworks/projects/automation_dmv/src/mx/automation/delegates/advancedDataGrid/AdvancedDataGridBaseExAutomationImpl.as
+++ frameworks/projects/automation_dmv/src/mx/automation/delegates/advancedDataGrid/AdvancedDataGridBaseExAutomationImpl.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.advancedDataGrid
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 10606
Author:   egeorgie@adobe.com
Date:     2009-09-25T23:01:50.455888Z

Log Message:
-----------
White space cleanup.

Doc notes: None
Bugs: None
Reviewer: Evtim
Tests run: build
Is noteworthy for integration: Nope

Modified Paths:
--------------
<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/framework/src/mx/geom/TransformOffsets.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/AddItems.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/OnDemandEventDispatcher.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/Block.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ToggleButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/CompoundTransform.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/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/LayoutElementUIComponentUtils.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ArrayList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ListCollectionView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LinearLayoutVector.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/framework/src/mx/utils/DescribeTypeCache.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/sparkTest/src/testWheel.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/SparkSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/framework/src/mx/collections/ArrayList.as
+++ frameworks/projects/framework/src/mx/collections/ArrayList.as
@@ -418,7 +418,7 @@
     public function addAllAt(addList:IList, index:int):void
     {
         var length:int = addList.length;
-        for(var i:int=0; i < length; i++)
+        for (var i:int = 0; i < length; i++)
         {
             this.addItemAt(addList.getItemAt(i), i+index);
         }


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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

 package mx.core
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 20845
Author:   mhorn@adobe.com
Date:     2011-03-14T15:29:23.391952Z

Log Message:
-----------
merge 20756,20790,20712,20805

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/NumberFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSCondition.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ISortField.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ArrayList.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/PolarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorDodgeShader.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/PolarDataCanvas.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/series/PlotSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/OnDemandEventDispatcher.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TabBar.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/globalization/StringTools.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/StringUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/CompoundTransform.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="dir" action="M">/private/flex/sdk/trunk</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/utils/ChangeWatcher.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as</path>

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 3756
Author:   gruehle@adobe.com
Date:     2008-10-20T21:38:18.681299Z

Log Message:
-----------
Adding placeholder icons for the Gumbo components that appear in the FB components panel. Where possible, these are simply copies of the Halo icons. There were some that didn't have a direct Halo counterpart, so the closest match was chosen.

QE Notes: None
Doc Notes: None
Bugs: SDK-17668
Reviewer: -

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextInput.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/HGroup.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVScrollBar.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextBox.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxSpinner.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/VGroup.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/HGroup.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxCheckBox.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextBox.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHSlider.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButton.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxToggleButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxSpinner.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxCheckBox.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVSlider.png</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/projects/flex4/src/mx/components/FxHSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxToggleButton.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextArea.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVScrollBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.png</path>

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

--- frameworks/projects/spark/src/spark/components/RadioButton.as
+++ frameworks/projects/spark/src/spark/components/RadioButton.as
@@ -11,6 +11,8 @@

 package mx.components
 {
+
+[IconFile("FxRadioButton.png")]

 /**
  *  Documentation is not currently available.


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

--- frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
@@ -26,6 +26,11 @@

 /**
  *  Documentation is not currently available.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 public class VerticalLayout extends LayoutBase
 {
@@ -80,6 +85,11 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function VerticalLayout():void
     {
@@ -108,6 +118,11 @@
      *  just one element, the gap has no effect on the layout.
      *
      *  @default 6
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get gap():int
     {
@@ -140,6 +155,11 @@
      *  Returns the current number of visible elements.
      *
      *  @default -1
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get rowCount():int
     {
@@ -155,6 +175,11 @@
      *  of visible rows.
      *
      *  @param value The number of visible rows.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     protected function setRowCount(value:int):void
     {
@@ -191,6 +216,11 @@
      *  This property does not affect the layout's measured size.
      *
      *  @default "left"
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get horizontalAlign():String
     {
@@ -230,6 +260,11 @@
      *  then this property has no effect.
      *
      *  @default -1
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get requestedRowCount():int
     {
@@ -265,6 +300,11 @@
      *
      *  The default value of this property is the preferred height
      *  of the typicalLayoutElement.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get rowHeight():Number
     {
@@ -313,6 +353,11 @@
      *  layout elements' percentHeight.
      *
      *  @default true
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get variableRowHeight():Boolean
     {
@@ -355,6 +400,11 @@
 	 *
 	 *  @see lastIndexInView
 	 *  @see inView
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10
+	 *  @playerversion AIR 1.5
+	 *  @productversion Flex 4
 	 */
 	public function get firstIndexInView():int
 	{
@@ -385,6 +435,11 @@
      *
      *  @see firstIndexInView
      *  @see inView
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10
+	 *  @playerversion AIR 1.5
+	 *  @productversion Flex 4
 	 */
 	public function get lastIndexInView():int
 	{
@@ -405,6 +460,11 @@
      *
      *  @see firstIndexInView
      *  @see lastIndexInview
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     protected function setIndexInView(firstIndex:int, lastIndex:int):void
     {
@@ -442,6 +502,11 @@
 	 *  @return the percentage of the specified element that's in view.
 	 *  @see firstIndexInView
 	 *  @see lastIndexInView
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10
+	 *  @playerversion AIR 1.5
+	 *  @productversion Flex 4
 	 */
 	public function inView(index:int):Number
 	{
@@ -557,6 +622,11 @@
     *  scroll position.
     *
     *  @see setIndexInView
+    *
+    *  @langversion 3.0
+    *  @playerversion Flash 10
+    *  @playerversion AIR 1.5
+    *  @productversion Flex 4
     */
     override protected function scrollPositionChanged():void
     {
@@ -869,6 +939,11 @@
      *  As before the difference is due to the fact that flexible items are only
      *  guaranteed their minWidth.
      *
+    *
+    *  @langversion 3.0
+    *  @playerversion Flash 10
+    *  @playerversion AIR 1.5
+    *  @productversion Flex 4
     */
     override public function measure():void
     {
@@ -1140,6 +1215,11 @@
      *
      *  The return value is any extra space that's left over
      *  after growing all children to their maxHeight.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function distributeHeight(width:Number,
                                      height:Number,


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

--- frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as
+++ frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-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 mx.core
 {
     import flash.events.Event;


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

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

 package mx.skins.halo
 {


before fixing username

before fixing username

--- Arguments/src/classes/UserData.as
+++ Arguments/src/classes/UserData.as
@@ -82,8 +82,6 @@
 			urlLoader.addEventListener(Event.COMPLETE,function(event:Event):void{verifyUser(event,object)});
 			urlLoader.addEventListener(IOErrorEvent.IO_ERROR,function(event:IOErrorEvent):void{errorHandler(event,object)});
 			urlLoader.load(request);
-		}
-
-
+		}
 	}
 }


Default to trace mode for logging.

Default to trace mode for logging.

--- flash/org/windmill/WMLogger.as
+++ flash/org/windmill/WMLogger.as
@@ -18,7 +18,11 @@
   import flash.external.ExternalInterface;

   public class WMLogger {
-    public static var mode:String = 'browser';
+    public static var modes:Object = {
+      TRACE: 'trace',
+      BROWSER: 'browser'
+    };
+    public static var mode:String = WMLogger.modes.TRACE;
     public static function log(msg:*):void {
       if (WMLogger.mode == 'browser') {
         ExternalInterface.call("console.log", msg);


added test for ArgumentError when value classes are supplied but no mapping function exists.

--- tests/org/osflash/signals/natives/NativeMappedSignalDefaultsTest.as
+++ tests/org/osflash/signals/natives/NativeMappedSignalDefaultsTest.as
@@ -7,13 +7,12 @@
 	import flash.display.Sprite;
 	import flash.events.MouseEvent;

-	import org.osflash.signals.ISignal;
-
 	public class NativeMappedSignalDefaultsTest
 	{
 		private var signalDefault:NativeMappedSignal;
 		private var signalDefaultWithMappingObject:NativeMappedSignal;
 		private var signalDefaultWithMappingFunction:NativeMappedSignal;
+		private var signalWithValueClassesWithoutMappingFunction:NativeMappedSignal
 		private var sprite:Sprite;
 		private const EventType:String = MouseEvent.CLICK;
 		private const MappedObject:String = "mapped " + EventType;
@@ -29,6 +28,7 @@
 					return MappedObject;
 				}
 			);
+			signalWithValueClassesWithoutMappingFunction = new NativeMappedSignal(sprite, EventType, MouseEvent, String)
 		}

 		[After]
@@ -40,27 +40,10 @@
 			signalDefaultWithMappingObject = null
 			signalDefaultWithMappingFunction.removeAll()
 			signalDefaultWithMappingFunction = null
+			signalWithValueClassesWithoutMappingFunction.removeAll()
+			signalWithValueClassesWithoutMappingFunction = null
 		}

-		public function testInstantiated():void
-		{
-			assertFalse('sprite has no click event listener to start', sprite.hasEventListener(EventType));
-
-			assertTrue("NativeMappedSignal instantiated", signalDefault is NativeMappedSignal);
-			assertTrue('implements ISignal', signalDefault is ISignal);
-			assertSame('has only one value class', 1, signalDefault.valueClasses.length);
-			assertSame('single value class is of type String', String, signalDefault.valueClasses[0]);
-
-			assertTrue("NativeMappedSignal instantiated", signalDefaultWithMappingObject is NativeMappedSignal);
-			assertTrue('implements ISignal', signalDefaultWithMappingObject is ISignal);
-			assertSame('has only one value class', 1, signalDefaultWithMappingObject.valueClasses.length);
-			assertSame('single value class is of type String', String, signalDefaultWithMappingObject.valueClasses[0]);
-
-			assertTrue("NativeMappedSignal instantiated", signalDefaultWithMappingFunction is NativeMappedSignal);
-			assertTrue('implements ISignal', signalDefaultWithMappingFunction is ISignal);
-			assertSame('has only one value class', 1, signalDefaultWithMappingFunction.valueClasses.length);
-			assertSame('single value class is of type String', signalDefaultWithMappingFunction, signalDefault.valueClasses[0]);
-		}
 		//////
 		[Test]
 		public function signal_default_add_then_emptyCallback_should_be_called():void
@@ -84,5 +67,11 @@
 			signalDefaultWithMappingFunction.add( addAsync(emptyCallback, 10) );
 			sprite.dispatchEvent(new MouseEvent(EventType));
 		}
+
+		[Test(expects="ArgumentError")]
+		public function signal_with_value_classes_without_mapping_function():void
+		{
+			signalWithValueClassesWithoutMappingFunction.dispatch(new MouseEvent(EventType))
+		}
 	}
 }


bug fix for loading modules.

bug fix for loading modules.

--- BroadleafCommerce/BroadleafCommerceAdminWeb/src/main/flex/org/broadleafcommerce/admin/core/commands/LoadModulesCommand.as
+++ BroadleafCommerce/BroadleafCommerceAdminWeb/src/main/flex/org/broadleafcommerce/admin/core/commands/LoadModulesCommand.as
@@ -51,10 +51,12 @@
 				for each(var role:Object in userRoles){
 					if(role["name"] != null && role["name"] is String){
 						if(moduleConfig.authenticatedRoles.indexOf(String(role["name"])) > -1){
-							try{
-								authModules.addItem(moduleConfig);
-							} catch (error:Error){
-								Alert.show("Error loading module: "+moduleConfig.label+": "+error.message);
+							if(!authModules.contains(moduleConfig)){
+								try{
+									authModules.addItem(moduleConfig);
+								} catch (error:Error){
+									Alert.show("Error loading module: "+moduleConfig.label+": "+error.message);
+								}
 							}

 						}


Transferred from the Adobe Open Source Subversion Repository

Revision: 17918
Author:   deeptika@adobe.com
Date:     2010-09-29T09:10:43.362516Z

Log Message:
-----------
Automation support for spark DG - 1
Only selection event is supported by automation. Header related events, column resize / sort, item edit and drag-drop are not yet supported by the component.

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

Modified Paths:
--------------
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/tabularData/SparkDataGridTabularData.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/manifest_automation_spark.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/AutomationSparkClasses.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkDataGridAutomationImpl.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/events/SparkDataGridItemSelectEvent.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/skins/spark/SparkDefaultGridItemRendererAutomationImpl.as</path>

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

--- frameworks/projects/automation_spark/src/AutomationSparkClasses.as
+++ frameworks/projects/automation_spark/src/AutomationSparkClasses.as
@@ -27,6 +27,7 @@
 		import spark.automation.delegates.components.SparkButtonBarButtonAutomationImpl;SparkButtonBarButtonAutomationImpl;
 		import spark.automation.delegates.components.SparkCheckBoxAutomationImpl;SparkCheckBoxAutomationImpl;
 		import spark.automation.delegates.components.SparkComboBoxAutomationImpl;SparkComboBoxAutomationImpl;
+		import spark.automation.delegates.components.SparkDataGridAutomationImpl;SparkDataGridAutomationImpl;
 		import spark.automation.delegates.components.SparkDataGroupAutomationImpl;SparkDataGroupAutomationImpl;
 		import spark.automation.delegates.components.SparkDropDownListAutomationImpl;SparkDropDownListAutomationImpl;
 		import spark.automation.delegates.components.SparkFormAutomationImpl;SparkFormAutomationImpl;
@@ -47,6 +48,7 @@
 		import spark.automation.delegates.components.SparkTileGroupAutomationImpl;SparkTileGroupAutomationImpl;
 		import spark.automation.delegates.components.SparkTitleWindowAutomationImpl;SparkTitleWindowAutomationImpl;
 		import spark.automation.delegates.components.SparkVideoPlayerAutomationImpl;SparkVideoPlayerAutomationImpl;
+		import spark.automation.delegates.components.SparkRichEditableTextAutomationImpl;SparkRichEditableTextAutomationImpl;

 		import spark.automation.delegates.components.mediaClasses.SparkMuteButtonAutomationImpl;SparkMuteButtonAutomationImpl;
 		import spark.automation.delegates.components.mediaClasses.SparkVolumeBarAutomationImpl;SparkVolumeBarAutomationImpl;
@@ -64,10 +66,12 @@
 		import spark.automation.delegates.components.supportClasses.SparkToggleButtonBaseAutomationImpl;SparkToggleButtonBaseAutomationImpl;
 		import spark.automation.delegates.components.supportClasses.SparkSkinnableTextBaseAutomationImpl;SparkSkinnableTextBaseAutomationImpl;

-		import spark.automation.delegates.components.SparkRichEditableTextAutomationImpl;SparkRichEditableTextAutomationImpl;
 		import spark.automation.delegates.skins.spark.SparkDefaultComplexItemRendererAutomationImpl;SparkDefaultComplexItemRendererAutomationImpl;
+		import spark.automation.delegates.skins.spark.SparkDefaultGridItemRendererAutomationImpl;SparkDefaultGridItemRendererAutomationImpl;
 		import spark.automation.delegates.skins.spark.SparkDefaultItemRendererAutomationImpl;SparkDefaultItemRendererAutomationImpl;
+
 		import spark.automation.tabularData.SkinnableContainerTabularData;SkinnableContainerTabularData;
+		import spark.automation.tabularData.SparkDataGridTabularData;SparkDataGridTabularData;

 		//Maintain alphabetical order