Transferred from the Adobe Open Source Subversion Repository

Revision: 6792
Author:   jimurphy@adobe.com
Date:     2009-05-11T18:24:09.346026Z

Log Message:
-----------
Merged revisions 6729,6731,6746,6755,6757,6765,6767-6768,6770-6772,6775,6784-6786,6790 from http://p01weblab02.corp.adobe.com/svn/opensource/flex/sdk/branches/beta1

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/utilities/src/FlashContainerPlaceholder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexFXG2SWFTranscoder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/FlexContentHolder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</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/flex4/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/TypeHelper.java</path>
<path kind="dir" copyfrom-path="/flex/sdk/branches/beta1/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/types" copyfrom-rev="6790" action="A">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/types</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.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/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/ButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/fxg/swf/FXG2SWFTranscoder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.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/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollerLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/RadioButtonSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/beta1/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/types/FXGMatrix.java" copyfrom-rev="6790" action="R">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/types/FXGMatrix.java</path>

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

--- frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as
+++ frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as
@@ -12,8 +12,12 @@
 package mx.flash
 {

+import flash.display.BitmapData;
+import flash.display.DisplayObject;
 import flash.display.DisplayObjectContainer;
 import flash.events.FocusEvent;
+import flash.geom.ColorTransform;
+import flash.geom.Point;
 import flash.geom.Rectangle;

 import mx.core.IUIComponent;
@@ -97,6 +101,48 @@
     //  Properties
     //
     //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  bounds
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Need to override here to set the scaleX and scaleY of the contentHolderObj.
+     */
+    override protected function get bounds():Rectangle
+    {
+        // not calling super.bounds but the functionality is copied here.
+
+        // if we have a bounding box, use that.  With a bounding box,
+        // this bounds getter might get called frequently.
+        if (boundingBoxName && boundingBoxName != ""
+            && boundingBoxName in this && this[boundingBoxName])
+        {
+            return this[boundingBoxName].getBounds(this);
+        }
+
+        // otherwise we need to change the scaleX and scaleY of the contentHolderObj so that we don't
+        // take the contentHolderObj into account at all
+        if (contentHolderObj)
+        {
+            var oldScaleX:Number = contentHolderObj.mx_internal::$scaleX;
+            var oldScaleY:Number = contentHolderObj.mx_internal::$scaleY;
+
+            contentHolderObj.mx_internal::$scaleX = 0.001;
+            contentHolderObj.mx_internal::$scaleY = 0.001;
+        }
+
+        var bounds:Rectangle = getBounds(this);
+
+        if (contentHolderObj)
+        {
+            contentHolderObj.mx_internal::$scaleX = oldScaleX;
+            contentHolderObj.mx_internal::$scaleY = oldScaleY;
+        }
+
+        return bounds;
+    }

     //----------------------------------
     //  contentHolder
@@ -204,48 +250,10 @@
     }

     //----------------------------------
-    //  fillContentToSize
-    //----------------------------------
-
-    private var _fillContentToSize:Boolean = false;
-
-    [Inspectable(category="General", enumeration="false,true", defaultValue="false")]
-    /**
-     *  Whether the flex content is sized to be the same size as the flash
-     *  container.
-     *
-     *
There is no layout system for the Flash container.  By default the
-     *  flex content is sized normally.  However, if you set this flag to true,
-     *  the flex content will be sized to 100% of the size of the flash
-     *  container.

-     *
-     *  @default false
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    public function get fillContentToSize():Boolean
-    {
-        return _fillContentToSize;
-    }
-
-   /**
-    *  @private
-    */
-    public function set fillContentToSize(value:Boolean):void
-    {
-        _fillContentToSize = value;
-
-        sizeContentHolder();
-    }
-
-    //----------------------------------
-    //  scaleContent
-    //----------------------------------
-
-    private var _scaleContent:Boolean = false;
+    //  scaleContentWhenResized
+    //----------------------------------
+
+    private var _scaleContentWhenResized:Boolean = false;

     [Inspectable(category="General", enumeration="false,true", defaultValue="false")]
     /**
@@ -267,17 +275,17 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function get scaleContent():Boolean
-    {
-        return _scaleContent;
+    public function get scaleContentWhenResized():Boolean
+    {
+        return _scaleContentWhenResized;
     }

    /**
     *  @private
     */
-    public function set scaleContent(value:Boolean):void
-    {
-        _scaleContent = value;
+    public function set scaleContentWhenResized(value:Boolean):void
+    {
+        _scaleContentWhenResized = value;

         if (initialized)
             sizeContentHolder();
@@ -309,17 +317,13 @@
     {
         if (contentHolderObj)
         {
-            // secretScale is the amount we scaled by to change the width and height
-            var secretScaleX:Number = mx_internal::$scaleX/scaleX;
-            var secretScaleY:Number = mx_internal::$scaleY/scaleY;
-
             // width and height are what we actually want our content
             // to fill up, but it doesn't take in to account our secretScale.
-            if (!scaleContent)
+            if (!scaleContentWhenResized)
             {
                 // apply inverse of the scale
-                contentHolderObj.scaleX = 1/secretScaleX;
-                contentHolderObj.scaleY = 1/secretScaleY;
+                contentHolderObj.scaleX = 1/mx_internal::scaleXDueToSizing;
+                contentHolderObj.scaleY = 1/mx_internal::scaleYDueToSizing;
             }
             else
             {


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

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

 package mx.controls.dataGridClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 14869
Author:   cframpto@adobe.com
Date:     2010-03-19T02:24:27.434644Z

Log Message:
-----------
Merge mirroring changes 14728-14730, 14772-14775, 14806 from 4.x to trunk.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/UIFTETextField.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/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/components/WindowedApplication.as</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/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/CheckBoxSkin.mxml</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/components/VSlider.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.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/sparkskins/src/mx/skins/spark/CheckBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>

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

--- frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridHeader.as
+++ frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridHeader.as
@@ -29,6 +29,7 @@
 import mx.core.FlexSprite;
 import mx.core.IFlexDisplayObject;
 import mx.core.IUIComponent;
+import mx.core.LayoutDirection;
 import mx.core.UIComponent;
 import mx.core.UIComponentGlobals;
 import mx.events.DataGridEvent;
@@ -948,7 +949,7 @@
         // left (layoutDirection=”rtl”) half of the column, the drop indicator
         // should be shown before the next column.
         var deltaXInLocalCoordinates:Number =
-            (layoutDirection == "ltr" ? +deltaX : -deltaX);
+            (layoutDirection == LayoutDirection.LTR ? +deltaX : -deltaX);

         // Move header selection.
         s = Sprite(dgSelectionLayer.getChildByName("headerSelection"));


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

--- frameworks/projects/mx/src/mx/styles/metadata/SelectedFillColorsStyle.as
+++ frameworks/projects/mx/src/mx/styles/metadata/SelectedFillColorsStyle.as
@@ -1,2 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////

+/**
+ *  The two colors used to tint the background of the component
+ *  when in its selected state.
+ *  Pass the same color for both values for "flat" looking control.
+ *  The default value is undefined, which means the colors
+ *  are derived from themeColor.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
 [Style(name="selectedFillColors", type="Array", arrayType="uint", format="Color", inherit="no", theme="halo")]


Transferred from the Adobe Open Source Subversion Repository

Revision: 3780
Author:   rfrishbe@adobe.com
Date:     2008-10-21T17:51:40.243336Z

Log Message:
-----------
Fix for bug introduced yesterday when adding clipContent to FxContainer and FxDataContainer.  The default value needs to be true.

Also fixing a bug in SystemManager since application isn't always an IRawChildrenContainer anymore.  This was previously fixed and got clobbered in a merge.

QE Notes: None
Doc Notes: None
Bugs: SDK-17423, SDK-17697
Reviewer: Hans

Modified Paths:
--------------
<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/flex4/src/mx/components/FxDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>

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

--- frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
+++ frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
@@ -78,7 +78,7 @@
     //  clipContent
     //----------------------------------

-    private var _clipContent:Boolean;
+    private var _clipContent:Boolean = true;

     /**
      *  @copy mx.core.IViewport#clipContent


Transferred from the Adobe Open Source Subversion Repository

Revision: 16546
Author:   cframpto@adobe.com
Date:     2010-06-14T14:44:55.463043Z

Log Message:
-----------
The following changes apply to Spark DataGrid and Tree only.   Code reviews have been deferred until the implementation is closer to completion.

Initial implementation of Grid.typicalItem and GridLayout.typicalLayoutElement

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Grid.as</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>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
@@ -337,8 +337,17 @@
             return;

         _itemRenderer = value;
+
+        if (grid)
+        {
+            if (grid.layout)
+                grid.layout.typicalLayoutElement = null;
+            grid.invalidateDisplayList();
+        }
+
         dispatchChangeEvent("itemRendererChanged");
-        // TBD invalidate grid
+
+        // TBD invalidate grid
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 20498
Author:   jszeto@adobe.com
Date:     2011-03-01T00:07:38.619538Z

Log Message:
-----------
TextArea auto-scroll bug fix

http://bugs.adobe.com/jira/browse/SDK-29665 - TextArea auto-scrolls unneccessarily if smaller than the viewable area

Injection from revision 20458. The fix is to ignore the element local bounds when the viewable area is larger than the element.

QE notes: none
Doc notes: none
Bugs: SDK-29665
Reviewer: Glenn
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as

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

--- frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
+++ frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
@@ -1510,8 +1510,7 @@
             return null;

         if (isNaN(topOffset) && isNaN(bottomOffset) && isNaN(leftOffset) && isNaN(rightOffset) &&
-            !elementLocalBounds &&
-            (scrollR.containsRect(elementR) || elementR.containsRect(scrollR)))
+            (scrollR.containsRect(elementR) || (!elementLocalBounds && elementR.containsRect(scrollR))))
             return null;

         var dxl:Number = elementR.left - scrollR.left;     // left justify element


So, it turns out that actionscript's built in XML parsing isn't as handy as I thought it was.  Let's just go through XmlUtil for everything so that it's sane and we don't get empty strings when we clearly mean to be getting a null.

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

--- src/as/com/threerings/cast/PriorityOverride.as
+++ src/as/com/threerings/cast/PriorityOverride.as
@@ -19,6 +19,7 @@

 package com.threerings.cast {

+import com.threerings.util.ClassUtil;
 import com.threerings.util.Comparable;
 import com.threerings.util.DirectionUtil;
 import com.threerings.util.Hashable;
@@ -26,6 +27,7 @@
 import com.threerings.util.Set;
 import com.threerings.util.Sets;
 import com.threerings.util.StringUtil;
+import com.threerings.util.XmlUtil;

 /** Used to effect custom render orders for particular actions, orientations, etc. */
 public class PriorityOverride
@@ -35,10 +37,10 @@
     public var renderPriority :int;

     /** The action, if any, for which this override is appropriate. */
-    public var action :String;
+    public var action :String = null;

     /** The component, if any, for which this override is appropriate. */
-    public var component :String;
+    public var component :String = null;

     /** The orientations, if any, for which this override is appropriate. */
     public var orients :Set;
@@ -46,12 +48,20 @@
     public static function fromXml (xml :XML) :PriorityOverride
     {
         var override :PriorityOverride = new PriorityOverride;
-        override.renderPriority = xml.@renderPriority;
-        override.action = xml.@action;
-        override.component = xml.@component;
-        override.orients = Sets.newSetOf(int);
-        for each (var orient :int in toOrientArray(xml.@orients)) {
-            override.orients.add(orient);
+        override.renderPriority = XmlUtil.getIntAttr(xml, "renderPriority");
+        if (XmlUtil.hasAttribute(xml, "action")) {
+            override.action = XmlUtil.getStringAttr(xml, "action");
+        }
+
+        if (XmlUtil.hasAttribute(xml, "component")) {
+            override.component = XmlUtil.getStringAttr(xml, "component");
+        }
+
+        if (XmlUtil.hasAttribute(xml, "orients")) {
+            override.orients = Sets.newSetOf(int);
+            for each (var orient :int in toOrientArray(XmlUtil.getStringAttr(xml, "orients"))) {
+                override.orients.add(orient);
+            }
         }
         return override;
     }
@@ -73,7 +83,7 @@
      */
     public function matches (action :String, component :String, orient :int) :Boolean
     {
-        return (((orients == null) || orients.contains(orient)) &&
+        return (((this.orients == null) || orients.contains(orient)) &&
                 ((this.component == null) || this.component == component) &&
                 ((this.action == null) || this.action == action));
     }
@@ -81,7 +91,6 @@
     // documentation inherited from interface
     public function compareTo (po :Object) :int
     {
-
         // overrides with both an action and an orientation should come first in the list
         var pri :int = priority();
         var opri :int = PriorityOverride(po).priority();
@@ -105,7 +114,7 @@
         var otherOverride :PriorityOverride = PriorityOverride(other);

         return otherOverride.renderPriority == renderPriority && otherOverride.action == action &&
-            otherOverride.component == component;
+            otherOverride.component == component;
     }

     protected function priority () :int


Issue #66: Add more utility methods to URLUtil.

* Remove/Extract token.

* Ensure valid query string key-value pairs.

* Remove/Extract query string.

--- src/com/esri/builder/supportClasses/URLUtil.as
+++ src/com/esri/builder/supportClasses/URLUtil.as
@@ -51,5 +51,102 @@
         const SIMPLE_URL_EXPR:RegExp = /^ (?: f|ht)tps? :\/\/ .+ $/ix;
         return SIMPLE_URL_EXPR.test(url);
     }
+
+    public static function removeToken(url:String):String
+    {
+        const tokenKeyValue:RegExp = / &? token = [a-zA-Z0-9]* /igx;
+        var cleanURL:String = url ? url.replace(tokenKeyValue, "") : "";
+
+        const invalidQueryStringCharSequence:RegExp = / (\?) & /x;
+        cleanURL = cleanURL.replace(invalidQueryStringCharSequence, "$1");
+
+        const endingQueryDelimiter:RegExp = / \? \s* $ /x;
+        return cleanURL.replace(endingQueryDelimiter, "");
+    }
+
+    public static function extractToken(url:String):String
+    {
+        var token:String = "";
+
+        if (url)
+        {
+            const tokenKeyValue:RegExp = / &? token = ([a-zA-Z0-9]*) /ix;
+            var matches:Array = tokenKeyValue.exec(url);
+            if (matches && matches.length > 1) //want the first captured group (the token value)
+            {
+                token = matches[1];
+            }
+        }
+
+        return token;
+    }
+
+    public static function ensureValidKeyValuePairs(url:String):String
+    {
+        if (url == null)
+        {
+            url = "";
+        }
+
+        var queryDelimiterIndex:int = url.indexOf("?");
+        if (queryDelimiterIndex == -1)
+        {
+            return url;
+        }
+
+        var queryString:String = url.substr(queryDelimiterIndex + 1);
+        url = url.substr(0, queryDelimiterIndex);
+
+        var key:String;
+        var value:String;
+        var validKVPairs:Array = [];
+        var kvPairs:Array = queryString.split("&");
+        var kvPair:Array;
+
+        for each (var kv:String in kvPairs)
+        {
+            kvPair = kv.split("=");
+
+            if (kvPair.length < 2)
+            {
+                continue;
+            }
+
+            key = kvPair[0];
+            value = kvPair[1];
+
+            if (key && value)
+            {
+                validKVPairs.push(key + "=" + value);
+            }
+        }
+
+        queryString = validKVPairs.length > 0 ?
+            "?" + validKVPairs.join("&") : "";
+
+        return url + queryString;
+    }
+
+    public static function removeQueryString(url:String):String
+    {
+        if (url == null)
+        {
+            url = "";
+        }
+
+        var queryDelimiterIndex:int = url.indexOf("?");
+        return (queryDelimiterIndex > -1) ? url.substr(0, queryDelimiterIndex) : url;
+    }
+
+    public static function extractQueryString(url:String):String
+    {
+        if (url == null)
+        {
+            url = "";
+        }
+
+        var queryDelimiterIndex:int = url.indexOf("?");
+        return (queryDelimiterIndex > -1) ? url.substr(queryDelimiterIndex) : "";
+    }
 }
 }


updated documentation

updated documentation

--- WeaveAPI/src/weave/api/data/IPrimitiveColumn.as
+++ WeaveAPI/src/weave/api/data/IPrimitiveColumn.as
@@ -16,16 +16,13 @@
 package weave.api.data
 {
 	/**
-	 * IPrimitiveAttributeColumn
 	 * A primitive attribute column is one defined by primitive data and has both numeric and string
 	 * representations of its data values.
-	 *
-	 * @author adufilie
 	 */
 	public interface IPrimitiveColumn extends IAttributeColumn
 	{
 		/**
-		 * deriveStringFromNumber
+		 * Derives a String from a Number using this column's conversion method.
 		 * @param number The numeric value to convert to a String.
 		 * @return The String representation of the given number using this column's conversion method.
 		 */


Now bypassing URLLoader if the same host previously failed due to a security error.

--- WeaveData/src/weave/services/URLRequestUtils.as
+++ WeaveData/src/weave/services/URLRequestUtils.as
@@ -341,6 +341,13 @@
 				weaveTrace('requested ' + label);
 				URLRequestUtils.delayed.push({"label": label, "resume": resume});
 			}
+
+			if (failedHosts[getHost()])
+			{
+				// don't bother trying a URLLoader with the same host that previously failed due to a security error
+				ExternalDownloader.download(_urlRequest, dataFormat, _asyncToken);
+				return;
+			}

 			// set up event listeners
 			addEventListener(Event.COMPLETE, handleGetResult);
@@ -353,6 +360,19 @@
 			super.load(request);
 		}
 	}
+
+	/**
+	 * Lookup for hosts that previously failed due to crossdomain.xml security error
+	 */
+	private static const failedHosts:Object = {}; // host -> true
+	private function getHost():String
+	{
+		var url:String = _urlRequest.url;
+		var start:int = url.indexOf("/") + 2;
+		var length:int = url.indexOf("/", start);
+		var host:String = url.substr(0, length);
+		return host;
+	}

 	internal var label:String;
 	private var _asyncToken:AsyncToken = new AsyncToken();
@@ -522,8 +542,9 @@
 		fixErrorMessage(event);
 		if (ExternalInterface.available)
 		{
-			// Server did not have a permissive crossdomain.xml, so try JavaScript/CORS
-			ExternalDownloader.download(_urlRequest, dataFormat, _asyncToken, function():void { handleGetError(event); });
+			// Server did not have a permissive crossdomain.xml, so try JavaScript/CORS
+			failedHosts[getHost()] = true;
+			ExternalDownloader.download(_urlRequest, dataFormat, _asyncToken);
 		}
 		else
 		{


added ILinkableObject typing info which doesn't get used yet

--- WeaveJS/src/weavejs/api/core/ILinkableObject.as
+++ WeaveJS/src/weavejs/api/core/ILinkableObject.as
@@ -22,7 +22,7 @@
 	 *
 	 * @author adufilie
 	 */
-	public interface ILinkableObject
+	public interface ILinkableObject/*/ extends {_primitiveBrand?:void}/*/
 	{
 	}
 }


added LinkablePlaceholder.prototype.invalidateState()

--- WeaveJS/src/weavejs/core/LinkablePlaceholder.as
+++ WeaveJS/src/weavejs/core/LinkablePlaceholder.as
@@ -26,6 +26,7 @@

 		private var classDef:Class;
 		private var instance:ILinkableObject;
+		private var stateInvalid:Boolean = false;

 		public function getClass():/*/new(..._:any[])=>T/*/Class
 		{
@@ -51,6 +52,20 @@
 		}

 		/**
+		 * Tells the LinkablePlaceholder that its current state should be ignored when it is later replaced with an instance.
+		 */
+		public function invalidateState():void
+		{
+			stateInvalid = true;
+		}
+
+		override public function setSessionState(value:Object):void
+		{
+			stateInvalid = false;
+			super.setSessionState(value);
+		}
+
+		/**
 		 * @return success flag
 		 */
 		private static function replace(oldObject:ILinkableObject, newObject:ILinkableObject):void
@@ -70,6 +85,12 @@
 					lhm.setObject(lhm.getName(oldObject), newObject);
 				else if (ldo)
 					ldo.target = newObject;
+
+				// ignore LinkablePlaceholder state if it has been marked invalid
+				var oldPlaceholder:LinkablePlaceholder = oldObject as LinkablePlaceholder;
+				if (oldPlaceholder && oldPlaceholder.stateInvalid)
+					return;
+
 				Weave.setState(newObject, sessionState);
 			}
 			finally


set cancel flag before parsing TS (for sake of sanity)

--- src/org/mangui/HLS/streaming/FragmentLoader.as
+++ src/org/mangui/HLS/streaming/FragmentLoader.as
@@ -89,8 +89,8 @@
             if( _urlstreamloader.bytesAvailable > 0 ) {
               var loaderData:ByteArray = new ByteArray();
               _urlstreamloader.readBytes(loaderData,0,0);
+              _cancel_load = false;
               var ts:TS = new TS(loaderData,_readHandler);
-              _cancel_load = 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@1268880 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mx/src/mx/controls/listClasses/ListBaseFindPending.as
+++ frameworks/projects/mx/src/mx/controls/listClasses/ListBaseFindPending.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-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.
 //
 ////////////////////////////////////////////////////////////////////////////////


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

--- frameworks/projects/rpc/src/mx/messaging/management/MBeanAttributeInfo.as
+++ frameworks/projects/rpc/src/mx/messaging/management/MBeanAttributeInfo.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: 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@1264858 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mobilecomponents/src/spark/transitions/SlideViewTransitionMode.as
+++ frameworks/projects/mobilecomponents/src/spark/transitions/SlideViewTransitionMode.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.transitions
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17330
Author:   chiedozi@adobe.com
Date:     2010-08-16T17:36:59.538425Z

Log Message:
-----------
Removed the sections functionality from ViewNavigator and refactored that logic into TabbedViewNavigator.  Updated dependent performance tests and components.
Introduced MobileApplicationBase and TabbedMobileApplication do support the tabbed use case for mobile.
Deleted SliderSkin from the framework.  All mobile skins now extend MobileSkin.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/manifest.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/View.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/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/effects/ViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/core/managers/PersistenceManager.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorSection.as" copyfrom-rev="17260" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/NavigationStack.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileApplicationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/effects/FlipViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/ComponentCatalog/src/ScriptRunner.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/effects/SlideViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ActionBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/ComponentCatalog/src/ComponentCatalog.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorSection.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarThumbSkin.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedMobileApplicationSkin.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewHistoryData.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/MobileThemeClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/core/managers/IPersistenceManager.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/effects/IViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarTrackSkin.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedMobileApplication.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/SliderSkin.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/MobileApplicationSkin.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@1265672 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.as
@@ -1,15 +1,45 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2010 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
 package spark.skins.mobile
 {
 import spark.components.MobileApplication;
 import spark.components.ViewNavigator;
+import spark.skins.MobileSkin;

-public class MobileApplicationSkin extends SliderSkin
+/**
+ *  The ActionScript based skin used for MobileApplication.  This
+ *  skin contains a single ViewNavigator that spans the entire
+ *  content area of the application.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10.1
+ *  @playerversion AIR 2.5
+ *  @productversion Flex 4.5
+ */
+public class MobileApplicationSkin extends MobileSkin
 {
     //--------------------------------------------------------------------------
     //
     //  Constructor
     //
     //--------------------------------------------------------------------------
+    /**
+     *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
     public function MobileApplicationSkin()
     {
         super();
@@ -17,11 +47,26 @@

     //--------------------------------------------------------------------------
     //
-    //  Variables
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     * The navigator for the application
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public var navigator:ViewNavigator;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden Properties
     //
     //--------------------------------------------------------------------------
     public var hostComponent:MobileApplication;
-    public var navigator:ViewNavigator;

     //--------------------------------------------------------------------------
     //
@@ -30,7 +75,12 @@
     //--------------------------------------------------------------------------

     /**
+     *  @private
      *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     override protected function createChildren():void
     {
@@ -39,12 +89,17 @@
     }

     /**
+     *  @private
      *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
     {
+        navigator.setLayoutBoundsSize(unscaledWidth, unscaledHeight);
         navigator.setLayoutBoundsPosition(0, 0);
-        navigator.setLayoutBoundsSize(unscaledWidth, unscaledHeight);
     }
 }
 }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin.as
+++ frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin.as
@@ -44,7 +44,7 @@
 	//--------------------------------------------------------------------------

 	/**
-	 *  @private.
+	 *  @private
 	 */
 	override protected function updateDisplayList(unscaledWidth:Number,
 									  			  unscaledHeight:Number):void


Transferred from the Adobe Open Source Subversion Repository

Revision: 4090
Author:   gpburch@adobe.com
Date:     2008-11-12T21:33:28.429058Z

Log Message:
-----------
Removed dependency on Container from FxAnimateInstance.

QE: No
Doc: No
Checkintests: Pass
Reviewer: Chet & Corey
Bugs: None

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as
@@ -18,7 +18,6 @@

 import mx.components.Group;
 import mx.components.baseClasses.GroupBase;
-import mx.core.Container;
 import mx.core.UIComponent;
 import mx.effects.Animation;
 import mx.effects.EffectInstance;
@@ -824,13 +823,8 @@
             parent = target.parent;
         }

-        if (parent)
-        {
-            if (parent is Container)
-                Container(parent).autoLayout = enable;
-            else if (parent is GroupBase)
-                GroupBase(parent).autoLayout = enable;
-        }
+        if (parent && ("autoLayout" in parent))
+            parent.autoLayout = enable;
     }
 }
 }


Workaround for FlexJS closure bug in DataSourceUtils.initColumns

--- WeaveASJS/src/weavejs/data/DataSourceUtils.as
+++ WeaveASJS/src/weavejs/data/DataSourceUtils.as
@@ -88,6 +88,27 @@
 		 */
 		public static function initColumn(proxyColumn:ProxyColumn, keys:Array, data:Array):void
 		{
+			var asyncCallback:Function = function ():void
+			{
+				var newColumn:IAttributeColumn;
+				if (dataType == DataType.NUMBER)
+				{
+					newColumn = new NumberColumn(metadata);
+					(newColumn as NumberColumn).setRecords(qkeys, data);
+				}
+				else if (dataType == DataType.DATE)
+				{
+					newColumn = new DateColumn(metadata);
+					(newColumn as DateColumn).setRecords(qkeys, data);
+				}
+				else
+				{
+					newColumn = new StringColumn(metadata);
+					(newColumn as StringColumn).setRecords(qkeys, data);
+				}
+				proxyColumn.setInternalColumn(newColumn);
+			}
+
 			var metadata:Object = proxyColumn.getProxyMetadata();
 			var dataType:String = metadata[ColumnMetadata.DATA_TYPE];
 			if (!dataType && StandardLib.getArrayType(data) === Number)
@@ -111,26 +132,6 @@
 				(WeaveAPI.QKeyManager as QKeyManager).getQKeysAsync(proxyColumn, metadata[ColumnMetadata.KEY_TYPE], keys, asyncCallback, qkeys);
 			}

-			function asyncCallback():void
-			{
-				var newColumn:IAttributeColumn;
-				if (dataType == DataType.NUMBER)
-				{
-					newColumn = new NumberColumn(metadata);
-					(newColumn as NumberColumn).setRecords(qkeys, data);
-				}
-				else if (dataType == DataType.DATE)
-				{
-					newColumn = new DateColumn(metadata);
-					(newColumn as DateColumn).setRecords(qkeys, data);
-				}
-				else
-				{
-					newColumn = new StringColumn(metadata);
-					(newColumn as StringColumn).setRecords(qkeys, data);
-				}
-				proxyColumn.setInternalColumn(newColumn);
-			}
 		}
 	}
 }


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

--- frameworks/projects/framework/src/mx/validators/CreditCardValidatorCardType.as
+++ frameworks/projects/framework/src/mx/validators/CreditCardValidatorCardType.as
@@ -0,0 +1,59 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 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.validators
+{
+
+/**
+ *  The CreditCardValidatorCardType class defines value constants
+ *  for specifying the type of credit card to validate.
+ *  These values are used in the CreditCardValidator.cardType
+ *  property.
+ *
+ *  @see mx.validators.CreditCardValidator
+ */
+public final class CreditCardValidatorCardType
+{
+	include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class constants
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Specifies the card type as MasterCard.
+	 */
+	public static const MASTER_CARD:String = "MasterCard"
+
+	/**
+	 *  Specifies the card type as Visa.
+	 */
+	public static const VISA:String = "Visa";
+
+	/**
+	 *  Specifies the card type as American Express.
+	 */
+	public static const AMERICAN_EXPRESS:String = "American Express";
+
+	/**
+	 *  Specifies the card type as Discover.
+	 */
+	public static const DISCOVER:String = "Discover";
+
+	/**
+	 *  Specifies the card type as Diners Club.
+	 */
+	public static const DINERS_CLUB:String = "Diners Club";
+}
+
+}


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

--- frameworks/projects/rpc/src/mx/messaging/channels/SecureStreamingAMFChannel.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/SecureStreamingAMFChannel.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.messaging.channels
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 3554
Author:   hmuller@adobe.com
Date:     2008-10-09T23:47:11.193434Z

Log Message:
-----------
Bug fixes: 17258, 17146, 17193

Now correctly handle the
HorizontalLayout::horizontalScrollPositionDelta() special case where
there's just one item the scrollRect, and the item is partially
visible and left justified, and the requested scroll unit is RIGHT.
Likewise for right justified and RIGHT and likewise for
VerticalLayout.

The fix is in findLayoutItemBounds() (defined in both Horizontal
and VerticalLayout), which now deals with this case correctly.
This method's responsibilities have changed as part of a larger
refactoring effort that also supports better step/page behavior
for extremely large items.

QE: No
Doc: No
Checkintests: Pass
Reviewer: Evtim
Bugs:
    SDK-17258 - inView method throws an RTE when passing in invalid indexes
    SDK-17146 - Horizontal Scroller only respond to RIGHT/LEFT buttons
    SDK-17193 - Scroll position delta methods loop when scrolling through items larger than the viewport size

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ScrollBarBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ScrollBarBase.as
@@ -18,6 +18,7 @@
 import flash.geom.Point;
 import flash.utils.Timer;
 import mx.components.FxButton;
+import mx.core.IViewport;

 /**
  *  A ScrollBar control is used to help position
@@ -169,6 +170,22 @@
         invalidateDisplayList();
     }

+    //----------------------------------
+    //  viewport
+    //----------------------------------
+
+    private var _viewport:IViewport;
+
+    public function get viewport():IViewport
+    {
+        return _viewport;
+    }
+
+    public function set viewport(value:IViewport):void
+    {
+        _viewport = value;
+    }
+
     //--------------------------------------------------------------------------
     //
     // Methods


Added example code to AsUnitCore asdocs

Added example code to AsUnitCore asdocs

--- asunit-4.0/src/asunit/framework/AsUnitCore.as
+++ asunit-4.0/src/asunit/framework/AsUnitCore.as
@@ -4,6 +4,58 @@

     import flash.display.DisplayObjectContainer;

+    /**
+     * This is the centralized entry point to an AsUnit test run.
+     *
+     * This class does not extend a visual entity in order to make
+     * it dead-simple to integrate AsUnit with any programming, or
+     * development environment.
+     *
+     * This includes environments such as:
+     *
+     * ActionScript 3, Flash Authoring, Flex Builder
+     * Flex SDK, Flash Builder, FDT, Flash Develop, etc.
+     *
+     * The only requirement that AsUnit 4.0 has, is that you must be
+     * able to compile ActionScript 3.0 and retain metadata declarations.
+     *
+     * @example The following code shows how an Document Class would
+     * instantiate and use the AsUnitCore class:
+     *
+     * <listing version="3.0">
+     *   package {
+     *
+     *      import asunit.framework.AsUnitCore;
+     *      import asunit.printers.TextPrinter;
+     *
+     *      import flash.display.MovieClip;
+     *
+     *      public class SomeProjectRunner extends MovieClip {
+     *
+     *          // Be sure to hold onto the reference so that
+     *          // it doesn't get garbage collected while
+     *          // waiting for async test runs:
+     *          private var core:AsUnitCore;
+     *
+     *          public function SomeProjectRunner() {
+     *              // Instantiate the Core class:
+     *              core = new AsUnitCore();
+     *              // Give it a DisplayObjectContainer to use
+     *              // for Visual tests:
+     *              // (Only necessary if you have visual tests)
+     *              core.setVisualContext(this);
+     *              // Add any number of TestObservers:
+     *              core.addObserver(new TextPrinter());
+     *
+     *              // Start the test run with a Suite or Test
+     *              // class reference:
+     *              start(AllTests);
+     *          }
+     *      }
+     *  }
+     * </listing>
+     *
+     *
 	public class AsUnitCore {

         protected var visualContext:DisplayObjectContainer;


:memo:

:memo:

--- index.as
+++ index.as
@@ -1,25 +1,24 @@
 // [ ] Pass: Declare
 // [ ] Select (if)
 // [ ] Loop (while)
-// [ ] Pointer (*)
 // [ ] Structure
 // [ ] Main!

 // [x] Parse: Mutable

-// [ ] ABI to ExternFunction
-
-// [ ] Parse: TypePointer
+// [x] Parse: TypePointer
 // [ ] Parse: TypeRecord
 // [ ] Parse: If
 // [ ] Parse: While
-// [ ] Build: TypePointer
+// [x] Build: TypePointer
 // [ ] Build: If
 // [ ] Build: While
 // [ ] Build: TypeRecord
-// [ ] Parse/Build: Address Of
-// [ ] Parse/Build: Dereference
+// [x] Parse/Build: Address Of
+// [x] Parse/Build: Dereference
 // [ ] Parse/Build: Pointer Arithmetic

 // [ ] Cast: Primitive (function)
 // [ ] Cast: Alias (pointer)
+
+// [ ] Implicit cast to type alias from unnamed _literal_ of underlying type


417 Made parseBoolean case-insensitive

417 Made parseBoolean case-insensitive

--- raw/src/org/yellcorp/lib/serial/ParseUtil.as
+++ raw/src/org/yellcorp/lib/serial/ParseUtil.as
@@ -20,7 +20,7 @@
         }
         else
         {
-            asString = String(value);
+            asString = String(value).toLowerCase();
             switch (asString)
             {
             case "t":


Include the room's JID in a Room's item data. This helps clients to correlate room occupants with the rooms they occupy (for example when a moderator kicks a user from the client). Also, when a user is kicked we only dispatch USER_KICKED, and not USER_DEPARTED in addition.

--- src/org/jivesoftware/xiff/conference/Room.as
+++ src/org/jivesoftware/xiff/conference/Room.as
@@ -1057,6 +1057,13 @@
 		        	if( aPresence.type == Presence.UNAVAILABLE_TYPE ) {
 						//trace("Room: updateRoomRoster: leaving room: " + userNickname);

+						var user:MUCUserExtension = aPresence.getAllExtensionsByNS(MUCUserExtension.NS)[0];
+						if (user.statusCode == 307) {
+							// User left as a result of a kick, so no need to dispatch a USER_DEPARTURE event as we already dispatched USER_KICKED
+							removeItemAt(i);
+							return;
+						}
+
                         // Notify listeners that a user has left the room
 		           		e = new RoomEvent(RoomEvent.USER_DEPARTURE);
 		            	e.nickname = userNickname
@@ -1089,7 +1096,8 @@

 		private function addToRoomRoster( nickname:String, show:String, affiliation:String, role:String, jid:String ):void
 		{
-			addItem({nickname:nickname, show:show, affiliation:affiliation, role:role, jid:jid});
+			// Here we add roomJid:myJID to facilitate clients in correlating room occupants with rooms.
+			addItem({nickname:nickname, show:show, affiliation:affiliation, role:role, jid:jid, roomJid:myJID});
 		}

 		/**


Adding the UNKNOWN Oid.

Adding the UNKNOWN Oid.

--- driver/src/main/flex/org/postgresql/Oid.as
+++ driver/src/main/flex/org/postgresql/Oid.as
@@ -29,5 +29,6 @@
         public static const INTERVAL:int = 1186;
         public static const CHAR:int = 18; // (single char)
         public static const VARBIT:int = 1562;
+        public static const UNKNOWN:int = 705;
     }
 }


Testing hudson ci server 2

Testing hudson ci server 2

--- spec/UIComponentSpecs.as
+++ spec/UIComponentSpecs.as
@@ -10,7 +10,7 @@
 		{
 			const instance:UIComponent = new Button;

-			describe (instance, 'is a component from the mx\.controls package', function () :void
+			describe (instance, 'is a component from the mx controls package', function () :void
 			{
 				it ('should be a UIComponent', function () :void
 				{


Transferred from the Adobe Open Source Subversion Repository

Revision: 12363
Author:   cframpto@adobe.com
Date:     2009-12-02T14:40:10.582696Z

Log Message:
-----------
Add back support for mask, luminosityClip, and luminosityInvert which was lost when RichText was changed from a GraphicElement to a UIComponent.

QE notes:
Doc notes:
Bugs: SDK-23930
Reviewer: Deepa
Tests run: checkintests, fxg, primitives
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichText.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/utils/MaskUtil.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
@@ -63,6 +63,7 @@
 import spark.core.DisplayObjectSharingMode;
 import spark.core.IGraphicElement;
 import spark.core.MaskType;
+import spark.utils.MaskUtil;

 use namespace mx_internal;

@@ -3164,66 +3165,6 @@
         displayObject.transform.matrix3D = oldMat3D;

         return snapshot;
-    }
-
-    /**
-     *  @private
-     *  Enables clipping, alpha or luminosity, depending on the
-     *  type of mask being applied.
-     */
-    mx_internal function applyMaskType():void
-    {
-        if (_mask)
-        {
-            if (_maskType == MaskType.CLIP)
-            {
-                // Turn off caching on mask
-                _mask.cacheAsBitmap = false;
-                // Save the original filters and clear the filters property
-                //originalMaskFilters = _mask.filters;
-                _mask.filters = [];
-            }
-            else if (_maskType == MaskType.ALPHA)
-            {
-                _mask.cacheAsBitmap = true;
-                //notifyElementLayerChanged(); // Trigger recreation of the layers
-                drawnDisplayObject.cacheAsBitmap = true;
-            }
-            else if (_maskType == MaskType.LUMINOSITY)
-            {
-                _mask.cacheAsBitmap = true;
-                drawnDisplayObject.cacheAsBitmap = true;
-
-                // Create the shader wrapper class which wraps the pixel bender filter
-                var luminosityMaskShader:LuminosityMaskShader = new LuminosityMaskShader();
-
-                // Sets up the shader's mode property based on
-                // whether the luminosityClip and
-                // luminosityInvert properties are on or off.
-                luminosityMaskShader.mode = calculateLuminositySettings();
-
-                // Create the shader filter
-                var shaderFilter:ShaderFilter = new ShaderFilter(luminosityMaskShader);
-
-                // Apply the shader filter to the mask
-                _mask.filters = [shaderFilter];
-            }
-        }
-    }
-
-    /**
-     *  @private
-     *  Calculates the luminosity mask shader's mode property which
-     *  determines how the shader is drawn.
-     */
-    private function calculateLuminositySettings():int
-    {
-        var mode:int = 0;
-        if (luminosityInvert)
-            mode += 1;
-        if (luminosityClip)
-            mode += 2;
-        return mode;
     }

     /**
@@ -3594,27 +3535,11 @@
                     // and maskee to displayObject.
                     if (!_mask.parent)
                     {
-                        Sprite(displayObject).addChild(_mask);
-                        var maskComp:UIComponent = _mask as UIComponent;
-                        if (maskComp)
-                        {
-                            if (parent)
-                            {
-                                // Add the mask to the UIComponent document tree.
-                                // This is required to properly render the mask.
-                                UIComponent(parent).addingChild(maskComp);
-                                UIComponent(parent).childAdded(maskComp);
-                            }
-
-                            // Size the mask so that it actually renders
-                            maskComp.validateProperties();
-                            maskComp.validateSize();
-                            // Call this to force the mask to complete initialization
-                            maskComp.invalidateDisplayList();
-                            maskComp.setActualSize(maskComp.getExplicitOrMeasuredWidth(),
-                                                   maskComp.getExplicitOrMeasuredHeight());
-
-                        }
+                        MaskUtil.applyMask(_mask, parent);
+
+                        // Parent after applying the mask since it won't do
+                        // anything if there is a parent.
+                        Sprite(displayObject).addChild(_mask);

                         if (!_drawnDisplayObject)
                         {
@@ -3639,38 +3564,16 @@
             {
                 luminositySettingsChanged = false;

-                if (_mask && _maskType == MaskType.LUMINOSITY && _mask.filters.length > 0)
-                {
-                    // Grab the shader filter
-                    var shaderFilterIndex:int;
-                    var shaderFilter:ShaderFilter;
-                    var len:int = _mask.filters.length;
-                    for (shaderFilterIndex = 0; shaderFilterIndex < len; shaderFilterIndex++)
-                    {
-                        if (_mask.filters[shaderFilterIndex] is ShaderFilter &&
-                            ShaderFilter(_mask.filters[shaderFilterIndex]).shader is LuminosityMaskShader)
-                        {
-                            shaderFilter = _mask.filters[shaderFilterIndex];
-                            break;
-                        }
-                    }
-
-                    if (shaderFilter)
-                    {
-                        // Reset the mode property
-                        LuminosityMaskShader(shaderFilter.shader).mode = calculateLuminositySettings();
-
-                        // Re-apply the filter to the mask
-                        _mask.filters[shaderFilterIndex] = shaderFilter;
-                        _mask.filters = _mask.filters;
-                    }
-                }
+                MaskUtil.applyLuminositySettings(
+                    _mask, _maskType, _luminosityInvert, _luminosityClip);
             }

             if (maskTypeChanged || displayObjectChanged)
             {
                 maskTypeChanged = false;
-                applyMaskType();
+                MaskUtil.applyMaskType(
+                    _mask, _maskType, _luminosityInvert, _luminosityClip,
+                    drawnDisplayObject);
             }

             // If we don't share the DisplayObject, set the property directly.


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

--- frameworks/projects/automation/src/mx/automation/delegates/controls/MenuBarAutomationImpl.as
+++ frameworks/projects/automation/src/mx/automation/delegates/controls/MenuBarAutomationImpl.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.
 //
 ////////////////////////////////////////////////////////////////////////////////


DrawCall.setGeometry will not throw a null pointer exception when the required stream is missing

--- src/aerys/minko/render/DrawCall.as
+++ src/aerys/minko/render/DrawCall.as
@@ -201,19 +201,17 @@
 				{
 					var vertexStream	: IVertexStream = geometry.getVertexStream(index + frame);
 					var stream	 		: VertexStream	= vertexStream.getStreamByComponent(component);
-					var format 			: VertexFormat	= stream.format;

 					if (stream == null)
 					{
 						throw new Error(
-							'Missing vertex component: ' + component.toString() + ' on '
-							+ getQualifiedClassName(geometry).split('::')[1]
+							'Missing vertex component: \'' + component.toString() + '\'.'
 						);
 					}

 					_vertexBuffers[i]	= stream.resource;
 					_formats[i]			= component.nativeFormatString;
-					_offsets[i]			= format.getOffsetForComponent(component);
+					_offsets[i]			= stream.format.getOffsetForComponent(component);
 				}
 			}
 		}


update license

update license

--- src/com/colorhook/spring/Spring.as
+++ src/com/colorhook/spring/Spring.as
@@ -4,15 +4,6 @@
  * @version: 2.4
  * @license: Released under the MIT License.
  *
- * Transplant from Flash AS3 APE Engine
- * http://www.cove.org/ape/
- * Copyright (c) 2006, 2007 Alec Cove
- * Released under the MIT Licenses.
- *
- * Dependency on EaselJS
- * http://easeljs.com/
- * Copyright (c) 2011 Grant Skinner
- * Released under the MIT License.
  */
 package com.colorhook.spring{


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

--- frameworks/projects/framework/src/mx/managers/IBrowserManager.as
+++ frameworks/projects/framework/src/mx/managers/IBrowserManager.as
@@ -20,6 +20,11 @@
  *  application in AIR, or by setting the property programmatically.
  *
  *  @eventType flash.events.Event.CHANGE
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="change", type="flash.events.Event")]

@@ -28,6 +33,11 @@
  *  by the browser.
  *
  *  @eventType mx.events.BrowserChangeEvent.BROWSER_URL_CHANGE
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="browserURLChange", type="mx.events.BrowserChangeEvent")]

@@ -36,6 +46,11 @@
  *  by the application.
  *
  *  @eventType mx.events.BrowserChangeEvent.URL_CHANGE
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="urlChange", type="mx.events.BrowserChangeEvent")]

@@ -46,6 +61,11 @@
  *  which is accessed with the BrowserManager.getInstance() method.
  *
  *  @see mx.managers.BrowserManager
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public interface IBrowserManager extends IEventDispatcher
 {
@@ -53,23 +73,43 @@
     /**
      *  The portion of current URL before the '#' as it appears
      *  in the browser address bar.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get base():String;

     /**
      *  The portion of current URL after the '#' as it appears
      *  in the browser address bar. Use the setURLFragment() method to change this value.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get fragment():String;

     /**
      *  The title of the application as it should appear in the
      *  browser history.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get title():String;

     /**
      *  The current URL as it appears in the browser address bar.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get url():String;

@@ -92,6 +132,11 @@
      *  is cancelled, the setBrowserURL() method will not be called.

      *
      * @param value The new fragment to use after the '#' in the URL.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function setFragment(value:String):void;

@@ -100,6 +145,11 @@
      *  This method does not affect the browser's history.
      *
      * @param value The new title to use in the browser's title bar.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function setTitle(value:String):void;

@@ -113,6 +163,11 @@
      *
      *  @param defaultFragment The fragment to use if no fragment is in the initial URL.
      *  @param defaultTitle The title to use if no fragment is in the initial URL.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function init(value:String = null, title:String = null):void;

@@ -123,6 +178,11 @@
      *  As a result, the init() method usually sets
      *  the value of the ApplicationGlobals.application.historyManagementEnabled property to false to disable
      *  the HistoryManager.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function initForHistoryManager():void;
 }


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

--- frameworks/projects/mx/src/mx/accessibility/LinkButtonAccImpl.as
+++ frameworks/projects/mx/src/mx/accessibility/LinkButtonAccImpl.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.
 //
 ////////////////////////////////////////////////////////////////////////////////


Remove warning.

Remove warning.

--- src/aerys/minko/type/binding/DataProvider.as
+++ src/aerys/minko/type/binding/DataProvider.as
@@ -228,7 +228,7 @@
 			if (_descriptor)
 				return _descriptor.hasOwnProperty(name);
 			else
-				return null;
+				return false;
 		}

 		public function invalidate() : DataProvider


live dvr: set minimum duration according to dvr window size

--- kdp3Lib/src/com/kaltura/kdpfl/view/media/KMediaPlayerMediator.as
+++ kdp3Lib/src/com/kaltura/kdpfl/view/media/KMediaPlayerMediator.as
@@ -330,7 +330,7 @@
 					{
 						_mediaProxy.vo.canSeek = true;
 						_duration = (_mediaProxy.vo.entry as KalturaLiveStreamEntry).dvrWindow * 60;
-					//	sendNotification( NotificationType.DURATION_CHANGE , {newValue:(_mediaProxy.vo.entry as KalturaLiveStreamEntry).dvrWindow});
+						//sendNotification( NotificationType.DURATION_CHANGE , {newValue:_duration});
 					}

 					break;
@@ -1314,7 +1314,16 @@
 			}
 			else if(event.time)
 			{
-				_duration=event.time;
+				//in live dvr: minimum duration should be dvrwindow size
+				if ((_mediaProxy.vo.entry is KalturaLiveStreamEntry &&
+					(_mediaProxy.vo.entry as KalturaLiveStreamEntry).dvrStatus == KalturaDVRStatus.ENABLED))
+				{
+					_duration = Math.max((_mediaProxy.vo.entry as KalturaLiveStreamEntry).dvrWindow * 60, event.time);
+				}
+				else
+				{
+					_duration=event.time;
+				}
 				sendNotification( NotificationType.DURATION_CHANGE , {newValue:_duration});
 				//save entryDuration in case we will go into intelliseek and need to use it.
 				if (!_sequenceProxy.vo.isInSequence)


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

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

 package mx.managers.systemClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17194
Author:   chiedozi@adobe.com
Date:     2010-08-05T00:26:29.040687Z

Log Message:
-----------
Renamed View.showActionBar and View.showTabBar to actionBarVisible and tabBarVisible to match standard flex practices.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/View.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/effects/SlideViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
@@ -1766,7 +1766,7 @@

 		// Update tabBar visibility
 		if (tabBar && sections.length > 1 && pendingView)
-			tabBar.visible = tabBar.includeInLayout = pendingView.showTabBar;
+			tabBar.visible = tabBar.includeInLayout = pendingView.tabBarVisible;

         if (pendingView.overlayControls != overlayControls)
         {
@@ -1864,7 +1864,7 @@
             actionBar.title = view && view.title ? view.title : title;
             actionBar.titleContent = view && view.titleContent ? view.titleContent : titleContent;
             actionBar.titleLayout = view && view.titleGroupLayout ? view.titleGroupLayout : titleGroupLayout;
-			actionBar.visible = actionBar.includeInLayout = view && view.showActionBar;
+			actionBar.visible = actionBar.includeInLayout = view && view.actionBarVisible;

             clearActionBarInvalidationFlags();
         }
@@ -1918,7 +1918,7 @@
                 titleGroupLayoutInvalidated = false;
             }

-			actionBar.visible = actionBar.includeInLayout = view && view.showActionBar;
+			actionBar.visible = actionBar.includeInLayout = view && view.actionBarVisible;
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5812
Author:   chaase@adobe.com
Date:     2009-03-31T18:34:56.901097Z

Log Message:
-----------
Fixed a bug where direct use of Animation failed because AnimationProperty was not setting up its internal keyframes with correct duration information, so the animation would skip immediately to the end.

Bugs: SDK-20356
QE Notes: spark/effects Mustella tests currently hosed, couldn't run test suite
Doc Notes: None
Reviewer: Jason
Testing: checkintests, Mustella effects tests could not be run (post-rename issues)

Modified Paths:
--------------
<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/RotateInstance.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/FadeInstance.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/flex4/src/spark/effects/supportClasses/ResizeInstance.as</path>
<path kind="file" action="M">/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/Rotate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/MoveInstance.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/FadeInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/FadeInstance.as
@@ -161,7 +161,7 @@
         }

         animationProperties =
-            [new AnimationProperty("alpha", alphaFrom, alphaTo)];
+            [new AnimationProperty("alpha",alphaFrom, alphaTo, duration)];

         super.play();
     }


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

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

 package mx.rpc.wsdl
 {


Refactor release logic into a function that is called by the various hover methods.


Added "local" parameter

Added "local" parameter

This parameter can optionally specify the local addr:port to connect to
in the case that you are a client swfcat.

--- swfcat.as
+++ swfcat.as
@@ -26,12 +26,12 @@
         };

         /* Local Tor client to use in case of RTMFP connection. */
-        private const LOCAL_TOR_CLIENT_ADDR:Object = {
+        private const DEFAULT_LOCAL_TOR_CLIENT_ADDR:Object = {
             host: "127.0.0.1",
             port: 9002
         };

-        private const MAX_NUM_PROXY_PAIRS:uint = 1;
+        private const MAX_NUM_PROXY_PAIRS:uint = 2;

         // Milliseconds.
         private const FACILITATOR_POLL_INTERVAL:int = 10000;
@@ -52,6 +52,8 @@
         private var num_proxy_pairs:int = 0;

         private var fac_addr:Object;
+
+        private var local_addr:Object;

         public var rate_limit:RateLimit;

@@ -104,6 +106,13 @@
                 return;
             }

+            if (this.loaderInfo.parameters["local"])
+                local_addr = get_param_addr("local", DEFAULT_LOCAL_TOR_CLIENT_ADDR);
+            else {
+                local_addr.host = DEFAULT_LOCAL_TOR_CLIENT_ADDR.host;
+                local_addr.port = DEFAULT_LOCAL_TOR_CLIENT_ADDR.port;
+            }
+
             if (this.loaderInfo.parameters["client"])
                 client_main();
             else
@@ -221,7 +230,7 @@
             proxy_pair = new ProxyPair(this, rs, function ():void {
                 /* Do nothing; already connected. */
             }, s_t, function ():void {
-                s_t.connect(LOCAL_TOR_CLIENT_ADDR.host, LOCAL_TOR_CLIENT_ADDR.port);
+                s_t.connect(local_addr.host, local_addr.port);
             });
             proxy_pair.connect();
         }


Make a named constant FACILITATOR_POLL_INTERVAL.

--- swfcat.as
+++ swfcat.as
@@ -19,6 +19,9 @@
             port: 9001
         };

+        // Milliseconds.
+        private const FACILITATOR_POLL_INTERVAL:int = 1000;
+
         // Socket to facilitator.
         private var s_f:Socket;

@@ -108,19 +111,19 @@
             client_addr = parse_addr_spec(client_spec);
             if (!client_addr) {
                 puts("Error: Client spec must be in the form \"host:port\".");
-                setTimeout(main, 1000);
+                setTimeout(main, FACILITATOR_POLL_INTERVAL);
                 return;
             }
             if (client_addr.host == "0.0.0.0" && client_addr.port == 0) {
                 puts("Error: Facilitator has no clients.");
-                setTimeout(main, 1000);
+                setTimeout(main, FACILITATOR_POLL_INTERVAL);
                 return;
             }

             proxy_pair = new ProxyPair(this, client_addr, DEFAULT_TOR_ADDR);
             proxy_pair.connect();

-            setTimeout(main, 1000);
+            setTimeout(main, FACILITATOR_POLL_INTERVAL);
         }

         /* Parse an address in the form "host:port". Returns an Object with


Transferred from the Adobe Open Source Subversion Repository

Revision: 13046
Author:   hneelu@adobe.com
Date:     2009-12-17T12:34:07.695337Z

Log Message:
-----------
Updating automation sources..

Modified Paths:
--------------
451 paths were modified

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

--- frameworks/projects/automation/src/mx/automation/delegates/controls/ComboBoxAutomationImpl.as
+++ frameworks/projects/automation/src/mx/automation/delegates/controls/ComboBoxAutomationImpl.as
@@ -292,8 +292,7 @@
 		{
 			var delegate:IAutomationObject = comboBox.dropdown as IAutomationObject;

-			//return delegate.getAutomationChildren();
-			return Automation.automationManager2.getAutomationChildrenArray(delegate);
+			return delegate.getAutomationChildren();
 		}
 		/**
 		 *  @private


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

--- frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as
+++ frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.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.components.supportClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 20352
Author:   smgilson@adobe.com
Date:     2011-02-17T19:26:00.432539Z

Log Message:
-----------
Minor ASDoc cleanup

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/View.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/BusyIndicator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as
+++ frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as
@@ -825,10 +825,10 @@
      *  TabBar and the content group of the navigator.
      *
      *
TabbedViewNavigator will expect the includeInLayout
-     *  and visible properties of the tabBar to be true
+     *  and visible properties of the TabBar to be true
      *  after this effect is run.

      *
-     *  @return An effect to play when the TabBar control is hidden.
+     *  @return An effect to play when the TabBar control appears.
      *
      *  @langversion 3.0
      *  @playerversion AIR 2.5
@@ -844,9 +844,9 @@
      *  The produced effect is responsible for animating both the
      *  TabBar and the content group of the navigator.
      *
-     *
TabbedViewNavigator will expect the includeInLayout
-     *  and visible properties of the tabBar to be false
-     *  after this effect is run.

+     *
TabbedViewNavigator expects the includeInLayout
+     *  and visible properties of the TabBar to be false
+     *  after this effect runs.

      *
      *  @return An effect to play when the TabBar control is hidden.
      *