Transferred from the Adobe Open Source Subversion Repository

Revision: 8483
Author:   smgilson@adobe.com
Date:     2009-07-09T17:52:48.367800Z

Log Message:
-----------
Second checkin to update the namespace in ASDoc MXML syntax descriptions for Spark components

QE Notes: None
Doc Notes: None
Bugs: -
Checkintests: passed

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/EaseInOutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Fade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/BlurFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/DisplacementMapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ShaderFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/DropShadowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/CallAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientBevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransitionShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Graphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Wipe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ConvolutionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Keyframe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientGlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/SetAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/BevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientFilter.as</path>

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

--- frameworks/projects/spark/src/spark/effects/Rotate.as
+++ frameworks/projects/spark/src/spark/effects/Rotate.as
@@ -44,7 +44,7 @@
  *  and adds the following tag attributes:

  *
  *

- *  <mx:Rotate
+ *  <s:Rotate
  *    id="ID"
  *    angleBy="val"
  *    angleFrom="val"


Transferred from the Adobe Open Source Subversion Repository

Revision: 2876
Author:   jimurphy@adobe.com
Date:     2008-08-19T00:53:52.343767Z

Log Message:
-----------
-integrate:
 -vellum build 152
 -player build 576

-applied Gordons patch for the vellum API change
-removed the player/[os] directories.  player/10/[os] will now be the directory in which players will be integrated
-added new variable to build.xml, player.target so that checkintests run properly and the staging for the packaging will continue to work with the structure changes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Parser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/Install Flash Player 10 Plugin.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/text_importExport.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/TextFlowComposer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/Install Flash Player 10 ActiveX.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/player/10/playerglobal.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/text_edit.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/flashplayer.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/utils/TextUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/install_flash_player_10_linux.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/libflashplayer.so.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/text_model.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/FlashPlayer.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/mac/Flash Player.app.zip</path>

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

--- frameworks/projects/spark/src/spark/utils/TextUtil.as
+++ frameworks/projects/spark/src/spark/utils/TextUtil.as
@@ -14,12 +14,12 @@

 import flash.utils.describeType;

-import text.model.ICharacterFormat;
-import text.model.IContainerFormat;
-import text.model.IParagraphFormat;
-import text.model.LeafElement;
-import text.model.Paragraph;
-import text.model.TextFlow;
+import text.elements.FlowLeafElement;
+import text.elements.ParagraphElement;
+import text.elements.TextFlow;
+import text.formats.ICharacterFormat;
+import text.formats.IContainerFormat;
+import text.formats.IParagraphFormat;

 [ExcludeClass]

@@ -121,10 +121,10 @@
     {
         var text:String = "";

-        var leaf:LeafElement = textFlow.getFirstLeaf();
+        var leaf:FlowLeafElement = textFlow.getFirstLeaf();
         while (leaf)
         {
-            var p:Paragraph = leaf.getParagraph();
+            var p:ParagraphElement = leaf.getParagraph();
             for (;;)
             {
                 text += leaf.text;


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.as
@@ -25,9 +25,11 @@
 import spark.skins.mobile.supportClasses.MobileSkin;

 /**
- *  The ActionScript based skin used for ViewNavigatorApplication.  This
+ *  The ActionScript-based skin used for ViewNavigatorApplication.  This
  *  skin contains a single ViewNavigator that spans the entire
  *  content area of the application.
+ *
+ * @see spark.components.ViewNavigatorApplication
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -63,7 +65,7 @@
     //--------------------------------------------------------------------------

     /**
-     * The navigator for the application
+     * The navigator for the application.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -83,6 +85,9 @@
     //  Overridden Properties
     //
     //--------------------------------------------------------------------------
+    /**
+     *  @copy spark.skins.spark.ApplicationSkin#hostComponent
+     */
     public var hostComponent:ViewNavigatorApplication;

     //--------------------------------------------------------------------------
@@ -131,7 +136,7 @@
             }
         }
     }
-
+
     /**
      *  @private
      */


Making the assert code DRY.

Making the assert code DRY.

--- flash/org/windmill/WMAssert.as
+++ flash/org/windmill/WMAssert.as
@@ -17,45 +17,143 @@
 package org.windmill {
   import org.windmill.WMLocator;
   import org.windmill.WMLogger;
-
+
   public class WMAssert {
     public function WMAssert():void {}
+
+    private static var matchTypes:Object = {
+      EXACT: 'exact',
+      CONTAINS: 'contains'
+    };
+
+    public static function assertDisplayObject(params:Object):Boolean {
+      var obj:* = WMLocator.lookupDisplayObject(params);
+      if (!!obj) {
+        return true;
+      }
+      else {
+        throw new Error('Object ' + obj.toString() + '
+            does not exist.');
+      }
+    }
+
+    public static function assertProperty(params:Object):Boolean {
+      return WMAssert.doAssert(params);
+    }
+
+    public static function assertText(params:Object):Boolean {
+      return WMAssert.assertTextGeneric(params, true);
+    }
+
+    public static function assertTextIn(params:Object):Boolean {
+      return WMAssert.assertTextGeneric(params, false);
+    }

-    public static function assertProperty(params:Object):Boolean {
+    private static function assertTextGeneric(params:Object,
+        exact:Boolean):Boolean {
+      return WMAssert.doAssert(params, {
+        attrName: ['htmlText', 'label'],
+        preMatchProcess: function (str:String):String {
+          return str.replace(/^\s*|\s*$/g, '');
+        },
+        matchType: exact ? WMAssert.matchTypes.EXACT :
+            WMAssert.matchTypes.CONTAINS
+      });
+    }
+
+    // Workhorse function that does all the main work for
+    // most asserts
+    private static function doAssert(params:Object,
+        opts:Object = null):Boolean {
+      // Ref to the object to do the lookup on
       var obj:* = WMLocator.lookupDisplayObject(params);
-      // validators can look like this:
+      // Exact vs. 'in' (contains) match
+      var matchType:String = WMAssert.matchTypes.EXACT;
+      var attrName:String;
+      var expectedVal:String;
+      // Explicitly passing in the attr name, or a list of
+      // possible names
+      if (opts) {
+        expectedVal = params.validator;
+        if ('matchType' in opts) {
+          matchType = opts.matchType;
+        }
+        // Passed attr name is a simple string, e.g.,
+        // opts.attrName = 'label'
+        if (opts.attrName is String) {
+          attrName = opts.attrName;
+          attrVal = obj[attrName];
+        }
+        // Passed attr is a list of possible ones
+        // to look for, in order of priority
+        // opts.attr = ['htmlText', 'label']
+        else if (opts.attrName is Array) {
+          for each (var item:String in opts.attrName) {
+            if (item in obj) {
+              attrName = item;
+              attrVal = obj[attrName];
+              break;
+            }
+          }
+        }
+      }
+      // Attr name is passed as part of the validator using
+      // the pipe syntax:
       // foo|bar (Check for attribute foo with value of bar)
       // foo.bar.baz|qux (Chained attr lookup -- look for
       //    bar on foo, then baz on bar, where baz has a
       //    value of qux.
-      var validator:Array = params.validator.split('|');
-      if (validator.length != 2) {
-        throw new Error('assertProperty needs a validator with a pipe separator.');
-      }
-      var attr:String = validator[0];
-      var val:String = validator[1];
-      // Attribute may be chained, so loop through any and
-      // look up the attr we want to check the value on
-      var attrArr:Array = attr.split('.');
-      var objRef:Object;
-      var key:String;
-      while (attrArr.length) {
-        if (!objRef) {
-          objRef = obj;
+      else {
+        var validatorStr:String = params.validator;
+        var validatorArr:Array = validatorStr.split('|');
+        if (validatorArr.length != 2) {
+          throw new Error('validator must have a pipe separator.');
         }
-        key = attrArr.shift();
-        if (key in objRef) {
-          objRef = objRef[key];
-        }
-        else {
-          throw new Error('"' + key + '" does not exist.');
+        attrName = validatorArr[0];
+        expectedVal = validatorArr[1];
+        // Attribute may be chained, so loop through any and
+        // look up the attr we want to check the value on
+        var attrArr:Array = attrName.split('.');
+        var attrVal:Object;
+        var key:String;
+        while (attrArr.length) {
+          if (!attrVal) {
+            attrVal = obj;
+          }
+          key = attrArr.shift();
+          if (key in attrVal) {
+            attrName = key;
+            attrVal = attrVal[attrName];
+          }
+          else {
+            throw new Error('"' + key +
+                '" attribute does not exist on this object.');
+          }
         }
       }
-      if (objRef == val) {
-        return true;
+
+      // Do any preprocessing of the value to check
+      if (opts.preMatchProcess) {
+        attrVal = opts.preMatchProcess(attrVal);
+      }
+
+      // Check for a match
+      var ret:Boolean = false;
+      var errMsg:String;
+      if (matchType == WMAssert.matchTypes.EXACT) {
+        ret = attrVal == expectedVal;
+        errMsg = 'Expected "' + expectedVal + '", got "' + attrVal + '"';
+      }
+      else if (matchType == WMAssert.matchTypes.CONTAINS) {
+        ret = attrVal.indexOf(expectedVal) > -1;
+        errMsg = '"' + attrVal + '" did not contain "' + expectedVal + '"';
+      }
+
+      if (ret) {
+        return ret;
       }
       else {
-        throw new Error('"' + key + '" does not equal "' + val + '"');
+        throw new Error(errMsg);
       }
     }
   }


Betwixt namespacing fix.

Betwixt namespacing fix.

--- exporter/src/main/as/flump/export/BetwixtPublisher.as
+++ exporter/src/main/as/flump/export/BetwixtPublisher.as
@@ -75,7 +75,7 @@
                 var movieXml :XML = movie.toXML();
                 movieXml.@authoredDevice = authoredDevice.name();
                 movieXml.@name = prefix + movieXml.@name;
-                for each (var kf :XML in movieXml..kf.@ref) {
+                for each (var kf :XML in movieXml..kf.(@ref != null)) {
                     kf.@ref = prefix + kf.@ref;
                 }
                 xml.appendChild(movieXml);


Transferred from the Adobe Open Source Subversion Repository

Revision: 15101
Author:   deeptika@adobe.com
Date:     2010-03-29T14:08:38.196745Z

Log Message:
-----------
Merging revision 15099 from 4.x branch

Setting truncateToFit to false so that chart labels would get scaled but not truncated if space is not enough
QE notes:
Doc notes:
Bugs: FLEXDMV-2359 ([Mirroring]Axis labels are clipped in sdk 4.1, since label is used instead of UITextField)
Reviewer:
Tests run:
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/datavisualization/src/mx/charts/AxisRenderer.as</path>

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

--- frameworks/projects/charts/src/mx/charts/AxisRenderer.as
+++ frameworks/projects/charts/src/mx/charts/AxisRenderer.as
@@ -2896,7 +2896,7 @@
             if (!_labelRenderer)
             {
                 _labelCache.properties =
-                    { selectable: false, styleName: this};
+                    { selectable: false, styleName: this, truncateToFit: false};
             }
             else
             {


Transferred from the Adobe Open Source Subversion Repository

Revision: 8425
Author:   mhorn@adobe.com
Date:     2009-07-07T16:50:10.985790Z

Log Message:
-----------
minor asdoc update

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -11844,6 +11844,14 @@
         return LayoutElementUIComponentUtils.getMaxBoundsWidth(this,postLayoutTransform? nonDeltaLayoutMatrix():null);
     }

+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
     public function getMaxBoundsHeight(postLayoutTransform:Boolean=true):Number
     {
         return LayoutElementUIComponentUtils.getMaxBoundsHeight(this,postLayoutTransform? nonDeltaLayoutMatrix():null);
@@ -11890,6 +11898,14 @@
         return LayoutElementUIComponentUtils.getLayoutBoundsWidth(this,postLayoutTransform? nonDeltaLayoutMatrix():null);
     }

+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
     public function getLayoutBoundsHeight(postLayoutTransform:Boolean=true):Number
     {
         return LayoutElementUIComponentUtils.getLayoutBoundsHeight(this,postLayoutTransform? nonDeltaLayoutMatrix():null);
@@ -11908,6 +11924,14 @@
         return LayoutElementUIComponentUtils.getLayoutBoundsX(this,postLayoutTransform? nonDeltaLayoutMatrix():null);
     }

+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
     public function getLayoutBoundsY(postLayoutTransform:Boolean=true):Number
     {
         return LayoutElementUIComponentUtils.getLayoutBoundsY(this,postLayoutTransform? nonDeltaLayoutMatrix():null);


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/framework/src/mx/core/mx_internal.as
+++ frameworks/projects/framework/src/mx/core/mx_internal.as
@@ -0,0 +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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.core
+{
+
+/**
+ *  This namespace is used for undocumented APIs -- usually implementation
+ *  details -- which can't be private because they need to visible
+ *  to other classes.
+ *  APIs in this namespace are completely unsupported and are likely to
+ *  change in future versions of Flex.
+ */
+public namespace mx_internal =
+	"http://www.adobe.com/2006/flex/mx/internal";
+}


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

--- frameworks/projects/framework/src/mx/effects/Sequence.as
+++ frameworks/projects/framework/src/mx/effects/Sequence.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2003-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: 11092
Author:   gruehle@adobe.com
Date:     2009-10-22T22:40:32.867834Z

Log Message:
-----------
Styling bug fixes:
- Halo Panel cornerRadius is for theme="halo, spark"
- Add support for borderAlpha and borderVisible to DateChooser.
- Halo NumericStepper proxies the borderVisible style down to the text input.
- Spark Spinner: add metadata for cornerRadius
- Spark FocusSkin: add null check
- SpinnerSkin/NumericStepperSkin: push cornerRadius down to increment/decrement buttons
- PanelBorderSkin: round corners of control bar

QE notes: None
Doc notes: None
Bugs: SDK-23537, SDK-23447, SDK-23350, SDK-23370, SDK-23271, SDK-23343, SDK-23341
Reviewer: Kevin
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/PanelBorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SpinnerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DataGridHeaderBackgroundSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/FocusSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/NumericStepperSkin.mxml</path>

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

--- frameworks/projects/mx/src/mx/controls/NumericStepper.as
+++ frameworks/projects/mx/src/mx/controls/NumericStepper.as
@@ -743,6 +743,7 @@
         "borderSkin" : "borderSkin",
         "borderStyle" : "borderStyle",
         "borderThickness" : "borderThickness",
+        "borderVisible" : "borderVisible",
         "dropShadowColor" : "dropShadowColor",
         "dropShadowEnabled" : "dropShadowEnabled",
         "embedFonts" : "embedFonts",


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/rpc/src/mx/rpc/soap/SOAPConstants.as
+++ frameworks/projects/rpc/src/mx/rpc/soap/SOAPConstants.as
@@ -175,6 +175,11 @@
      *
      * @return A new instance of the ICustomSOAPType, if registered, otherwise
      * null.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function getCustomSOAPType(type:QName):ICustomSOAPType
     {
@@ -203,6 +208,11 @@
      * Maps a type QName to a definition of an ISOAPType implementation.
      * The definition can be a String representation of the fully qualified
      * class name, an Object instance or the Class instance itself.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function registerCustomSOAPType(type:QName, definition:*):void
     {
@@ -220,6 +230,11 @@

     /**
      * Removes the ICustomSOAPType from the registry for the given type.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function unregisterCustomSOAPType(type:QName):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@1283199 13f79535-47bb-0310-9956-ffa450edef68

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


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

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

 package mx.rpc
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 6302
Author:   chaase@adobe.com
Date:     2009-04-27T22:30:05.183971Z

Log Message:
-----------
Deleted old Move/Rotate effects and renamed new AnimateTransformMove/Rotate/Scale effects to Move/Rotate/Scale. Also, renamed AnimateTransformMove3D/Scale3D to Move3D/Scale3D. AnimateTransformRotate3D stays where it is for now (that single class is still in flux).

QE Notes: Mustella will fail on the AnimateTransformMove/Rotate/Scale tests. Those tests should be ported to Move/Rotate/Scale to pass.
Doc Notes: None
Bugs:
Reviewer: Etviim
tests: checkintests

Modified Paths:
--------------
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove3D.as" copyfrom-rev="6296" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move3D.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate.as" copyfrom-rev="6296" action="R">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale3D.as" copyfrom-rev="6296" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove.as" copyfrom-rev="6296" action="R">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale.as" copyfrom-rev="6296" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove3D.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale3D.as</path>

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

--- frameworks/projects/spark/src/spark/effects/Move3D.as
+++ frameworks/projects/spark/src/spark/effects/Move3D.as
@@ -33,11 +33,11 @@
  * effect instance on any given target at a time, which means that they will
  * share the transform center set by any of the contributing effects.</p>
  */
-public class AnimateTransformMove3D extends AnimateTransformMove
+public class Move3D extends Move
 {
     include "../core/Version.as";

-    public function AnimateTransformMove3D(target:Object=null)
+    public function Move3D(target:Object=null)
     {
         super(target);
         affectLayout = false;


removed unnecessary accessor function

removed unnecessary accessor function

Change-Id: I40e10aa6eed7b3717f488d7405e012b334cdac14

--- WeaveClient/src/weave/VisApplication.as
+++ WeaveClient/src/weave/VisApplication.as
@@ -106,6 +106,7 @@
 	import weave.ui.settings.GlobalUISettings;
 	import weave.utils.CSSUtils;
 	import weave.utils.DebugUtils;
+	import weave.utils.PopUpUtils;
 	import weave.visualization.tools.CollaborationTool;
 	import weave.visualization.tools.ColorBinLegendTool;
 	import weave.visualization.tools.CompoundBarChartTool;
@@ -348,8 +349,6 @@
 		public static const CONFIG_FILE_FLASH_VAR_NAME:String = 'file';
 		public static const DEFAULT_CONFIG_FILE_NAME:String = 'defaults.xml';

-		private function get _application():Application { return application as Application; }
-
 		private var _maxProgressBarValue:int = 0;
 		private var _progressBar:ProgressBar = new ProgressBar;
 		private function handleProgressIndicatorCounterChange():void
@@ -410,7 +409,7 @@
 			//UIComponentGlobals.catchCallLaterExceptions = true;
 			//systemManager.addEventListener("callLaterError", reportError);

-			_application.addChild(visDesktop);
+			this.addChild(visDesktop);
 			visDesktop.percentWidth = 100;
 			visDesktop.percentHeight = 100;
 			Weave.properties.workspaceWidth.addImmediateCallback(this, updateWorkspaceSize);
@@ -445,19 +444,18 @@
 		}
 		private function updateWorkspaceSize(..._):void
 		{
-			var visDesktop:Application = _application;
-			if (!visDesktop.parent)
+			if (!this.parent)
 				return;
 			var w:Number = Weave.properties.workspaceWidth.value;
 			var h:Number = Weave.properties.workspaceHeight.value;
 			if (isFinite(w))
-				visDesktop.width = w;
+				this.width = w;
 			else
-				visDesktop.width = visDesktop.parent.width;
+				this.width = this.parent.width;
 			if (isFinite(h))
-				visDesktop.height = h;
+				this.height = h;
 			else
-				visDesktop.height = visDesktop.parent.height;
+				this.height = this.parent.height;
 		}

 		private var adminService:LocalAsyncService = null;
@@ -548,11 +546,12 @@
 					//trace("MENU BAR ADDED");
 					_weaveMenu.percentWidth = 100;
 					StageUtils.callLater(this,setupVisMenuItems,null,false);
+
+					//PopUpManager.addPopUp(_weaveMenu, this);
+					this.addChildAt(_weaveMenu, 0);

-					_application.addChildAt(_weaveMenu, 0);
-
-					if (_application == _oicLogoPane.parent)
-						_application.removeChild(_oicLogoPane);
+					if (this == _oicLogoPane.parent)
+						this.removeChild(_oicLogoPane);
 				}

 				// always show menu bar when admin service is present
@@ -563,18 +562,18 @@
 			{
 				try
 				{
-		   			if (_weaveMenu && _application == _weaveMenu.parent)
-						_application.removeChild(_weaveMenu);
+		   			if (_weaveMenu && this == _weaveMenu.parent)
+						this.removeChild(_weaveMenu);

 		   			_weaveMenu = null;

 					if (Weave.properties.showCopyright.value)
 					{
-						_application.addChildAt(_oicLogoPane, _application.numChildren);
-						_application.setStyle("horizontalAlign", "right");
+						this.addChildAt(_oicLogoPane, this.numChildren);
+						this.setStyle("horizontalAlign", "right");
 					}
-					else if (_application == _oicLogoPane.parent)
-						_application.removeChild(_oicLogoPane);
+					else if (this == _oicLogoPane.parent)
+						this.removeChild(_oicLogoPane);
 				}
 				catch(error:Error)
 				{


fixed memory to work with old code not calling select

--- as3/Apparat.Library.AS3/src/apparat/memory/Memory.as
+++ as3/Apparat.Library.AS3/src/apparat/memory/Memory.as
@@ -39,17 +39,20 @@
 	 *
 	 * @author Joa Ebert
 	 */
-	public final class Memory
-	{
-		private static var domainMemory:ByteArray=null;
+	public final class Memory {
+		/**
+		 * The current application domain.
+		 * @private
+		 */
+		private static const applicationDomain: ApplicationDomain = ApplicationDomain.currentDomain;
+
 		/**
 		 * Selects a ByteArray object as the current memory.
 		 *
 		 * @param byteArray The ByteArray object to work with.
 		 */
-		public static function select( byteArray: ByteArray ): void
-		{
-			ApplicationDomain.currentDomain.domainMemory = domainMemory = byteArray;
+		public static function select(byteArray: ByteArray): void {
+			applicationDomain.domainMemory = byteArray;
 		}

 		/**
@@ -58,10 +61,11 @@
 		 * @param address The address in memory.
 		 * @param value The value to write.
 		 */
-		public static function writeByte( value: int, address: int ): void
-		{
-			domainMemory.position = address;
-			domainMemory.writeByte( value );
+		public static function writeByte(value: int, address: int): void {
+			var domainMemory: ByteArray = applicationDomain.domainMemory;
+
+			domainMemory.position = address;
+			domainMemory.writeByte(value);
 		}

 		/**
@@ -70,10 +74,11 @@
 		 * @param address The address in memory.
 		 * @param value The value to write.
 		 */
-		public static function writeShort( value: int, address: int ): void
-		{
-			domainMemory.position = address;
-			domainMemory.writeShort( value );
+		public static function writeShort(value: int, address: int): void {
+			var domainMemory: ByteArray = applicationDomain.domainMemory;
+
+			domainMemory.position = address;
+			domainMemory.writeShort(value);
 		}

 		/**
@@ -82,10 +87,11 @@
 		 * @param address The address in memory.
 		 * @param value The value to write.
 		 */
-		public static function writeInt(value: int, address: int): void
-		{
-			domainMemory.position = address;
-			domainMemory.writeInt( value );
+		public static function writeInt(value: int, address: int): void {
+			var domainMemory: ByteArray = applicationDomain.domainMemory;
+
+			domainMemory.position = address;
+			domainMemory.writeInt(value);
 		}

 		/**
@@ -94,10 +100,11 @@
 		 * @param address The address in memory.
 		 * @param value The value to write.
 		 */
-		public static function writeFloat(value: Number, address: int): void
-		{
-			domainMemory.position = address;
-			domainMemory.writeFloat( value );
+		public static function writeFloat(value: Number, address: int): void {
+			var domainMemory: ByteArray = applicationDomain.domainMemory;
+
+			domainMemory.position = address;
+			domainMemory.writeFloat(value);
 		}

 		/**
@@ -106,10 +113,11 @@
 		 * @param address The address in memory.
 		 * @param value The value to write.
 		 */
-		public static function writeDouble(value: Number, address: int): void
-		{
-			domainMemory.position = address;
-			domainMemory.writeDouble( value );
+		public static function writeDouble(value: Number, address: int): void {
+			var domainMemory: ByteArray = applicationDomain.domainMemory;
+
+			domainMemory.position = address;
+			domainMemory.writeDouble(value);
 		}

 		/**
@@ -118,8 +126,9 @@
 		 * @param address The address in memory.
 		 * @return Unsigned byte at given address in memory.
 		 */
-		public static function readUnsignedByte( address: int ): int
-		{
+		public static function readUnsignedByte(address: int): int {
+			var domainMemory: ByteArray = applicationDomain.domainMemory;
+
 			domainMemory.position = address;
 			return domainMemory.readUnsignedByte();
 		}
@@ -130,8 +139,9 @@
 		 * @param address The address in memory.
 		 * @return Unsigned short at given address in memory.
 		 */
-		public static function readUnsignedShort(address: int): int
-		{
+		public static function readUnsignedShort(address: int): int {
+			var domainMemory: ByteArray = applicationDomain.domainMemory;
+
 			domainMemory.position = address;
 			return domainMemory.readUnsignedShort();
 		}
@@ -142,8 +152,9 @@
 		 * @param address The address in memory.
 		 * @return Signed integer at given address in memory.
 		 */
-		public static function readInt( address: int ): int
-		{
+		public static function readInt(address: int): int {
+			var domainMemory: ByteArray = applicationDomain.domainMemory;
+
 			domainMemory.position = address;
 			return domainMemory.readInt();
 		}
@@ -154,8 +165,9 @@
 		 * @param address The address in memory.
 		 * @return Float at given address in memory.
 		 */
-		public static function readFloat( address: int ): Number
-		{
+		public static function readFloat(address: int): Number {
+			var domainMemory: ByteArray = applicationDomain.domainMemory;
+
 			domainMemory.position = address;
 			return domainMemory.readFloat();
 		}
@@ -166,8 +178,9 @@
 		 * @param address The address in memory.
 		 * @return Double at given address in memory.
 		 */
-		public static function readDouble( address: int ): Number
-		{
+		public static function readDouble(address: int): Number {
+			var domainMemory: ByteArray = applicationDomain.domainMemory;
+
 			domainMemory.position = address;
 			return domainMemory.readDouble();
 		}
@@ -178,10 +191,8 @@
 		 * @param value The value to extend.
 		 * @return The extended value.
 		 */
-		public static function signExtend1( value: int ): int
-		{
-			if( 0 != ( value & 0x1 ) )
-			{
+		public static function signExtend1(value: int): int {
+			if(0 != (value & 0x1)) {
 				value &= 0x0;
 				value -= 0x1;
 			}
@@ -195,10 +206,8 @@
 		 * @param value The value to extend.
 		 * @return The extended value.
 		 */
-		public static function signExtend8( value: int ): int
-		{
-			if( 0 != ( value & 0x80 ) )
-			{
+		public static function signExtend8(value: int): int {
+			if(0 != (value & 0x80)) {
 				value &= 0x7f;
 				value -= 0x80;
 			}
@@ -212,10 +221,8 @@
 		 * @param value The value to extend.
 		 * @return The extended value.
 		 */
-		public static function signExtend16( value: int ): int
-		{
-			if( 0 != ( value & 0x8000 ) )
-			{
+		public static function signExtend16(value: int): int {
+			if(0 != (value & 0x8000)) {
 				value &= 0x7fff;
 				value -= 0x8000;
 			}
@@ -226,8 +233,7 @@
 		/**
 		 * @private
 		 */
-		public function Memory()
-		{
+		public function Memory() {
 			throw new Error( 'Can not instantiate Memory object.' );
 		}
 	}


use hasOwnProperty instead of != undefined to figure out if the object has the property

--- test/trace/trace_properties.as
+++ test/trace/trace_properties.as
@@ -430,7 +430,7 @@

   if (typeof (o) == "object" || typeof (o) == "function")
   {
-    if (o["mySecretId"] == undefined) {
+    if (!o.hasOwnProperty ("mySecretId")) {
       o["mySecretId"] = prefix + (prefix != "" ? "." : "") + identifier;
       generate_names (o, prefix, identifier);
     }


Add test for get{Current,Available}GameLanguage.

--- test/src/FRESteamWorksTest.as
+++ test/src/FRESteamWorksTest.as
@@ -108,6 +108,8 @@
 				_appId = Steamworks.getAppID();
 				log("App ID: " + _appId);
 				log("Persona name: " + Steamworks.getPersonaName());
+				log("Current game language: " + Steamworks.getCurrentGameLanguage());
+				log("Available game languages: " + Steamworks.getAvailableGameLanguages());
 				log("isCloudEnabledForApp() == "+Steamworks.isCloudEnabledForApp());
 				log("getFileCount() == "+Steamworks.getFileCount());
 				log("fileExists('test.txt') == "+Steamworks.fileExists('test.txt'));


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

--- frameworks/projects/framework/src/mx/managers/marshalClasses/DragManagerMarshalMixin.as
+++ frameworks/projects/framework/src/mx/managers/marshalClasses/DragManagerMarshalMixin.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: 18126
Author:   gruehle@adobe.com
Date:     2010-10-11T18:03:16.346900Z

Log Message:
-----------
Change name MobileTextField to StyleableTextField.

QE notes: Tests using MobileTextField by name will need updating.
Doc notes: Docs mentioning MobileTextField will need updating.
Bugs: SDK-27849
Reviewer: Ryan
Tests run: checkintests, QE cyclone
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileTextField.as" copyfrom-rev="18115" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableTextField.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/styles/metadata/MobileTextFieldTextStyles.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileTextField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileItemRenderer.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/mobilecomponents/src/spark/components/supportClasses/TextInputOperation.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ActionBar.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/styles/metadata/StyleableTextFieldTextStyles.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/MobileComponentsClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileIconItemRenderer.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as
@@ -36,7 +36,7 @@
     import spark.components.Group;
     import spark.components.IconPlacement;
     import spark.components.supportClasses.ButtonBase;
-    import spark.components.supportClasses.MobileTextField;
+    import spark.components.supportClasses.StyleableTextField;
     import spark.primitives.BitmapImage;
     import spark.skins.mobile.supportClasses.MobileSkin;

@@ -91,9 +91,9 @@
         /**
          *  labelDisplay skin part.
          */
-        public var labelDisplay:MobileTextField;
-
-        protected var labelDisplayShadow:MobileTextField;
+        public var labelDisplay:StyleableTextField;
+
+        protected var labelDisplayShadow:StyleableTextField;

         /**
          *  If true, then create the iconDisplay using the icon style
@@ -144,11 +144,11 @@
          */
         override protected function createChildren():void
         {
-            labelDisplay = MobileTextField(createInFontContext(MobileTextField));
+            labelDisplay = StyleableTextField(createInFontContext(StyleableTextField));
             labelDisplay.styleProvider = this;
             labelDisplay.addEventListener(FlexEvent.VALUE_COMMIT, labelDisplay_valueCommitHandler);

-            labelDisplayShadow = MobileTextField(createInFontContext(MobileTextField));
+            labelDisplayShadow = StyleableTextField(createInFontContext(StyleableTextField));
             labelDisplayShadow.styleProvider = this;

             labelDisplayShadow.colorName = "textShadowColor";


162 DebugUtil now caches any utilitiy objects it creates

--- raw/src/org/yellcorp/debug/DebugUtil.as
+++ raw/src/org/yellcorp/debug/DebugUtil.as
@@ -2,6 +2,7 @@
 {
 import org.yellcorp.debug.debugutil.DisplayTreeDumper;
 import org.yellcorp.debug.debugutil.ObjectDumper;
+import org.yellcorp.string.StringBuilder;
 import org.yellcorp.string.StringUtil;

 import flash.display.DisplayObjectContainer;
@@ -48,13 +49,35 @@

     public static function dumpDisplayTree(container:DisplayObjectContainer, maxDepth:int = 0):String
     {
-        return new DisplayTreeDumper().dump(container, maxDepth);
+        return getDisplayTreeDumper().dump(container, maxDepth);
+    }
+
+    private static var _displayTreeDumper:DisplayTreeDumper;
+
+    private static function getDisplayTreeDumper():DisplayTreeDumper
+    {
+        if (!_displayTreeDumper)
+        {
+            _displayTreeDumper = new DisplayTreeDumper();
+        }
+        return _displayTreeDumper;
     }

     public static function dumpObject(root:*, maxDepth:int = 3):String
     {
-        return new ObjectDumper().dump(root, maxDepth);
+        return getObjectDumper().dump(root, maxDepth);
+    }
+
+    private static var _objectDumper:ObjectDumper;
+
+    private static function getObjectDumper():ObjectDumper
+    {
+        if (!_objectDumper)
+        {
+            _objectDumper = new ObjectDumper();
+        }
+        return _objectDumper;
     }

@@ -64,12 +87,11 @@
         var byteIndex:uint;
         var endOfLine:uint;

-        var lines:Array = [ ];
-        var lineBuffer:Array = new Array(3);
+        var outputBuffer:StringBuilder = new StringBuilder();

         var valueString:String;
-        var valueBuffer:Array;
-        var valueBufferLength:uint = (bytesPerLine * 3) - 1;
+        var valueBuffer:StringBuilder = new StringBuilder();
+        var valueBufferLength:uint = (bytesPerLine * 3);

         var charCodeBuffer:Array;
         var nonPrintingCharCode:uint;
@@ -94,19 +116,21 @@
                 endOfLine = byteArray.length;
             }

-            valueBuffer = [ ];
+            valueBuffer.clear();
             charCodeBuffer = [ ];

-            lineBuffer[0] = StringUtil.padLeft(
+            outputBuffer.append(StringUtil.padLeft(
                     byteIndex.toString(16).toUpperCase(),
-                    8, "0");
+                    8, "0"));

             for (; byteIndex < endOfLine; byteIndex++)
             {
                 byte = byteArray[byteIndex];

                 valueString = byte.toString(16).toUpperCase();
-                valueBuffer.push(byte < 0x10 ? ("0" + valueString) : valueString);
+
+                valueBuffer.append(byte < 0x10 ? " 0" : " ");
+                valueBuffer.append(valueString);

                 if ((byte >= 0x20 && byte <= 0x7E) ||
                         (byte >= 0xA0 && byte <= 0xAC) ||
@@ -120,18 +144,18 @@
                 }
             }

-            lineBuffer[1] = StringUtil.padRight(
-                    valueBuffer.join(" "),
-                    valueBufferLength, " ");
-
-            lineBuffer[2] = StringUtil.padRight(
-                    String.fromCharCode.apply(String, charCodeBuffer),
-                    bytesPerLine, " ");
-
-            lines.push(lineBuffer.join(" "));
+            outputBuffer.appendva(
+                    StringUtil.padRight(
+                        valueBuffer.toString(),
+                        valueBufferLength, " "),
+                    " ",
+                    StringUtil.padRight(
+                        String.fromCharCode.apply(String, charCodeBuffer),
+                        bytesPerLine, " "),
+                    "\n");
         }

-        return lines.join("\n");
+        return outputBuffer.toString();
     }
 }
 }


added ActionScriptShader.dispose

added ActionScriptShader.dispose

--- src/aerys/minko/render/shader/ActionScriptShader.as
+++ src/aerys/minko/render/shader/ActionScriptShader.as
@@ -875,6 +875,12 @@
 			_invalid = true;
 		}

+		public function dispose() : void
+		{
+			for each (var shader : Shader in _hashToShader)
+				shader.dispose();
+		}
+
 		private function getNode(value : Object) : INode
 		{
 			if (value === null)


Debatable use of variable against getter...

--- src/org/igniterealtime/xiff/data/im/RosterItemVO.as
+++ src/org/igniterealtime/xiff/data/im/RosterItemVO.as
@@ -1,20 +1,20 @@
 /*
  * Copyright (C) 2003-2009 Igniterealtime Community Contributors
- *
+ *
  *     Daniel Henninger
  *     Derrick Grigg <dgrigg@rogers.com>
  *     Juga Paazmaya <olavic@gmail.com>
  *     Nick Velloff <nick.velloff@gmail.com>
  *     Sean Treadway <seant@oncotype.dk>
  *     Sean Voisen <sean@voisen.org>
- *
- *
+ *
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- *
+ *
  *     http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -62,7 +62,7 @@
 		}

 		/**
-		 * Returns an Roster item value object if it exists,
+		 * Returns an Roster item value object if it exists,
 		 * use the "create" parameter to create one if it does not.
 		 * @param	jid
 		 * @param	create
@@ -162,7 +162,7 @@
 				return;
 			var oldOnline:Boolean = online;
 			_online = value;
-			dispatchChangeEvent("online", online, oldOnline);
+			dispatchChangeEvent("online", _online, oldOnline);
 		}

 		/**
@@ -185,7 +185,7 @@
 		{
 			var oldPriority:int = priority;
 			_priority = value;
-			dispatchChangeEvent("priority", priority, oldPriority);
+			dispatchChangeEvent("priority", _priority, oldPriority);
 		}

 		/**
@@ -199,7 +199,7 @@
 		{
 			var oldShow:String = show;
 			_show = value;
-			dispatchChangeEvent("show", show, oldShow);
+			dispatchChangeEvent("show", _show, oldShow);
 		}

 		/**
@@ -215,7 +215,7 @@
 		{
 			var oldStatus:String = status;
 			_status = value;
-			dispatchChangeEvent("status", status, oldStatus);
+			dispatchChangeEvent("status", _status, oldStatus);
 		}

 		/**
@@ -229,7 +229,7 @@
 		{
 			var oldSub:String = subscribeType;
 			_subscribeType = value;
-			dispatchChangeEvent("subscribeType", subscribeType, oldSub);
+			dispatchChangeEvent("subscribeType", _subscribeType, oldSub);
 		}

 		/**


Editor: Use viewport callbacks to hide gizmo

--- Bin/Data/Scripts/Editor/EditorView.as
+++ Bin/Data/Scripts/Editor/EditorView.as
@@ -105,7 +105,7 @@
         viewport = Viewport(editorScene, camera, viewRect);
         index = index_;
         viewportId = viewportId_;
-        camera.viewMask = 0x80000000 + (uint(1) << index); // It's easier to only have 1 gizmo active this viewport is shared with the gizmo
+        camera.viewMask = 0x80000000; // It's easier to only have 1 gizmo active this viewport is shared with the gizmo
     }

     void ResetCamera()
@@ -1706,11 +1706,14 @@

 void HandleBeginViewUpdate(StringHash eventType, VariantMap& eventData)
 {
-    // Hide gizmo and grid from preview camera
-    if (eventData["Camera"].GetPtr() is previewCamera.Get())
+    // Hide gizmo and grid from any camera other then active viewport
+    if (eventData["Camera"].GetPtr() !is camera)
     {
         if (gizmo !is null)
             gizmo.viewMask = 0;
+    }
+    if (eventData["Camera"].GetPtr() is previewCamera.Get())
+    {
         if (grid !is null)
             grid.viewMask = 0;
     }
@@ -1718,11 +1721,14 @@

 void HandleEndViewUpdate(StringHash eventType, VariantMap& eventData)
 {
-    // Restore gizmo and grid after preview view update
-    if (eventData["Camera"].GetPtr() is previewCamera.Get())
+    // Restore gizmo and grid after camera view update
+    if (eventData["Camera"].GetPtr() !is camera)
     {
         if (gizmo !is null)
             gizmo.viewMask = 0x80000000;
+    }
+    if (eventData["Camera"].GetPtr() is previewCamera.Get())
+    {
         if (grid !is null)
             grid.viewMask = 0x80000000;
     }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

--- frameworks/projects/automation/src/mx/core/Version.as
+++ frameworks/projects/automation/src/mx/core/Version.as
@@ -0,0 +1,18 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+import mx.core.mx_internal;
+
+/**
+ *  @private
+ *  Version string for this class.
+ */
+mx_internal static const VERSION:String = "4.0.0.0";


Transferred from the Adobe Open Source Subversion Repository

Revision: 11468
Author:   smgilson@adobe.com
Date:     2009-11-05T16:54:31.738281Z

Log Message:
-----------
Part 1 of ASDoc localization bug fixes

QE notes: -
Doc notes: -
Bugs: - FLEXDOCS-934, FLEXDOCS-909, FLEXDOCS-908, FLEXDOCS-906, FLEXDOCS-882, FLEXDOCS-883, FLEXDOCS-881
Reviewer: -
Tests run: - checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Pause.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Quartic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeLeft.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Tween.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Quintic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Quadratic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Cubic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeDown.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/HSBColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ArrayUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/TweenEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeRight.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/DefaultListEffect.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeUp.as</path>

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

--- frameworks/projects/framework/src/mx/effects/Tween.as
+++ frameworks/projects/framework/src/mx/effects/Tween.as
@@ -24,8 +24,8 @@
 use namespace mx_internal;

 /**
- *  Tween is the underlying animation class for the effects in Flex 3. As of Flex 4, the new
- *  effects use the new Animation class to provide similar functionality.
+ *  Tween is the underlying animation class for the effects in Flex 3. As of Flex 4, the Spark
+ *  effects use the spark.effects.animation.Animation class to provide similar functionality.
  */
 [Alternative(replacement="spark.effects.animation.Animation", since="4.0")]


Transferred from the Adobe Open Source Subversion Repository

Revision: 19401
Author:   mhorn@adobe.com
Date:     2010-12-15T20:50:38.178104Z

Log Message:
-----------
Temporary ASDoc updates for bug fix SDK-28907

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/LinkBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/MenuBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/Button.as</path>

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

--- frameworks/projects/mx/src/mx/controls/PopUpButton.as
+++ frameworks/projects/mx/src/mx/controls/PopUpButton.as
@@ -168,7 +168,10 @@
 /**
  *  Skin class for the popUpDown state (when arrowButton is in down
  *  state) of the background and border.
- *  @default mx.skins.halo.PopUpButtonSkin
+ *
+ *
The default skin class is based on the theme. For example, with the Halo theme,
+ *  the default skin class is mx.skins.halo.PopUpButtonSkin. For the Spark theme, the default skin
+ *  class is mx.skins.spark.PopUpButtonSkin.

  *
  *  @langversion 3.0
  *  @playerversion Flash 9
@@ -194,7 +197,8 @@
  *  The icon used for the right button of PopUpButton.
  *  Supported classes are mx.skins.halo.PopUpIcon
  *  and mx.skins.halo.PopUpMenuIcon.
- *  @default mx.skins.halo.PopUpIcon
+ *
+ *  @default mx.skins.halo.PopUpIcon (for Halo and Spark themes)
  *
  *  @langversion 3.0
  *  @playerversion Flash 9
@@ -206,7 +210,10 @@
 /**
  *  Skin class for the popUpOver state (over arrowButton) of
  *  the background and border.
- *  @default mx.skins.halo.PopUpButtonSkin
+ *
+ *
The default skin class is based on the theme. For example, with the Halo theme,
+ *  the default skin class is mx.skins.halo.PopUpButtonSkin. For the Spark theme, the default skin
+ *  class is mx.skins.spark.PopUpButtonSkin.

  *
  *  @langversion 3.0
  *  @playerversion Flash 9


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

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

 package mx.controls
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 6622
Author:   gruehle@adobe.com
Date:     2009-05-05T00:23:56.997367Z

Log Message:
-----------
Port focus fix to wireframe list skin. Remove wireframe item renderers.

Bug: SDK-20916.
QA Notes: Any tests that use wireframe item renderers need to be updated to use the default item renderers instead.
Doc Notes: none

Modified Paths:
--------------
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/DefaultItemRenderer.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/WireframeClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ListSkin.mxml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/DefaultComplexItemRenderer.mxml</path>

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

--- frameworks/projects/wireframe/src/WireframeClasses.as
+++ frameworks/projects/wireframe/src/WireframeClasses.as
@@ -30,8 +30,6 @@
 	import spark.skins.wireframe.ButtonBarSkin; ButtonBarSkin;
 	import spark.skins.wireframe.ButtonSkin; ButtonSkin;
 	import spark.skins.wireframe.CheckBoxSkin; CheckBoxSkin;
-	import spark.skins.wireframe.DefaultComplexItemRenderer; DefaultComplexItemRenderer;
-	import spark.skins.wireframe.DefaultItemRenderer; DefaultItemRenderer;
 	import spark.skins.wireframe.HScrollBarSkin; HScrollBarSkin;
 	import spark.skins.wireframe.HScrollBarThumbSkin; HScrollBarThumbSkin;
 	import spark.skins.wireframe.HScrollBarTrackSkin; HScrollBarTrackSkin;


Data.save() did nothing.

Data.save() did nothing.

--- net/flashpunk/utils/Data.as
+++ net/flashpunk/utils/Data.as
@@ -29,8 +29,8 @@
 		 */
 		public static function save(file:String = ""):void
 		{
+			if (_shared) _shared.clear();
 			var data:Object = loadData(file);
-			_shared.clear();
 			for (var i:String in _data) data[i] = _data[i];
 			_shared.flush(SIZE);
 		}


Document the newly exposed clampValue function.

--- flare/src/flare/util/Maths.as
+++ flare/src/flare/util/Maths.as
@@ -248,8 +248,14 @@
 		// -- Inverse Interpolation Routines ----------------------------------

-		/*
-		 * Prevent values from ranging beyond the min and max.
+		/**
+		 * Restrict a numeric value from ranging beyond a minimum and maximum.
+		 *
+		 * @param v Is the numeric value to restrict.
+		 * @param min Is the minimum acceptable value.
+		 * @param min Is the minimum acceptable value.
+		 *
+		 * @return Returns v, min, or max.
 		 */
 		public static function clampValue(v:Number, min:Number, max:Number):Number
 		{


FLEX-33874 binding management is memory inefficient

--- frameworks/projects/framework/src/mx/binding/Binding.as
+++ frameworks/projects/framework/src/mx/binding/Binding.as
@@ -83,6 +83,7 @@
         this.destFunc = destFunc;
         this.destString = destString;
         this.srcString = srcString;
+        this.destFuncFailed = false;

         if (this.srcFunc == null)
         {
@@ -234,6 +235,11 @@
      *  @productversion Flex 3
      */
     mx_internal var destFunc:Function;
+
+    /**
+     * @private
+     */
+    mx_internal var destFuncFailed:Boolean;

 	/**
      *  The destination represented as a String.
@@ -285,6 +291,15 @@
         while (i < (chain.length - 1))
         {
             element = element[chain[i++]];
+            //if the element does not exist : avoid exception as it's heavy on memory allocations
+            if(element == null || element == undefined) {
+                destFuncFailed = true;
+                if (BindingManager.debugDestinationStrings[destString])
+                {
+                    trace("Binding: destString = " + destString + ", error = 1009");
+                }
+                return;
+            }
         }

         element[chain[i]] = value;
@@ -401,6 +416,10 @@
         try
         {
             var result:Object = wrappedFunction.apply(thisArg, args);
+            if(destFuncFailed == true) {
+                destFuncFailed = false;
+                return null;
+            }
             wrappedFunctionSuccessful = true;
             return result;
         }
@@ -474,6 +493,7 @@
      */
     private function innerExecute():void
     {
+        destFuncFailed = false;
         var value:Object = wrapFunctionCall(document, srcFunc);

         if (BindingManager.debugDestinationStrings[destString])
@@ -492,9 +512,11 @@
         	{
 	            destFunc.call(document, value);

-	            //	Note: state is not updated if destFunc throws
-	            lastValue = value;
-	            hasHadValue = true;
+                if(destFuncFailed == false) {
+                    //	Note: state is not updated if destFunc throws
+                    lastValue = value;
+                    hasHadValue = true;
+	            }
 	        }
         }
     }


skipping local data sources in convertToCachedDataSources() #weave-12 fixed

--- WeaveJS/src/weavejs/data/AttributeColumnCache.as
+++ WeaveJS/src/weavejs/data/AttributeColumnCache.as
@@ -107,6 +107,10 @@
 			var dataSources:Array = d2d_dataSource_metadataHash_column.primaryKeys();
 			for each (dataSource in dataSources)
 			{
+				// skip local data sources
+				if (dataSource.isLocal)
+					continue;
+
 				var dataSourceName:String = root.getName(dataSource);

 				// skip disposed data sources and global columns (EquationColumn, CSVColumn)
@@ -153,8 +157,10 @@
 			dataSources = root.getObjects(IDataSource);
 			for each (dataSource in dataSources)
 			{
-				if (Object(dataSource).hasOwnProperty('NO_CACHE_HACK') || dataSource is CachedDataSource)
+				// skip local data sources
+				if (dataSource.isLocal)
 					continue;
+
 				var type:String = Weave.className(dataSource);
 				var state:Object = Weave.getState(dataSource);
 				var cds:CachedDataSource = root.requestObject(root.getName(dataSource), CachedDataSource, false);


Add streaming mode to AS sample 15_Navigation.

--- bin/Data/Scripts/15_Navigation.as
+++ bin/Data/Scripts/15_Navigation.as
@@ -12,6 +12,12 @@
 Vector3 endPos;
 Array<Vector3> currentPath;
 Node@ jackNode;
+bool useStreaming = false;
+// Used for streaming only
+const int STREAMING_DISTANCE = 2;
+Array<VectorBuffer> navigationTilesData;
+Array<IntVector2> navigationTilesIdx;
+Array<IntVector2> addedTiles;

 void Start()
 {
@@ -101,6 +107,8 @@

     // Create a NavigationMesh component to the scene root
     NavigationMesh@ navMesh = scene_.CreateComponent("NavigationMesh");
+    // Set small tiles to show navigation mesh streaming
+    navMesh.tileSize = 32;
     // Create a Navigable component to the scene root. This tags all of the geometry in the scene as being part of the
     // navigation mesh. By default this is recursive, but the recursion could be turned off from Navigable
     scene_.CreateComponent("Navigable");
@@ -111,6 +119,15 @@
     // physics geometry from the scene nodes, as it often is simpler, but if it can not find any (like in this example)
     // it will use renderable geometry instead
     navMesh.Build();
+    // Save navigation data (used for streaming only).
+    IntVector2 numTiles = navMesh.numTiles;
+    for (int z = 0; z < numTiles.y; ++z)
+        for (int x = 0; x < numTiles.x; ++x)
+        {
+            IntVector2 idx(x, z);
+            navigationTilesData.Push(navMesh.GetTileData(idx));
+            navigationTilesIdx.Push(idx);
+        }

     // Create the camera. Limit far clip distance to match the fog
     cameraNode = scene_.CreateChild("Camera");
@@ -140,6 +157,7 @@
         "Use WASD keys to move, RMB to rotate view\n"
         "LMB to set destination, SHIFT+LMB to teleport\n"
         "MMB or O key to add or remove obstacles\n"
+        "Tab to toggle navigation mesh streaming\n"
         "Space to toggle debug geometry";
     instructionText.SetFont(cache.GetResource("Font", "Fonts/Anonymous Pro.ttf"), 15);
     // The text has multiple rows. Center them in relation to each other
@@ -341,6 +359,56 @@
     }
 }

+void SwitchStreaming(bool enabled)
+{
+    NavigationMesh@ navMesh = scene_.GetComponent("NavigationMesh");
+    if (enabled)
+    {
+        int maxTiles = (2 * STREAMING_DISTANCE + 1) * (2 * STREAMING_DISTANCE + 1);
+        BoundingBox boundingBox = navMesh.boundingBox;
+        navMesh.Allocate(boundingBox, maxTiles);
+    }
+    else
+        navMesh.Build();
+}
+
+void StreamNavMesh()
+{
+    NavigationMesh@ navMesh = scene_.GetComponent("NavigationMesh");
+
+    // Center the navigation mesh at the jack
+    IntVector2 jackTile = navMesh.GetTileIndex(jackNode.worldPosition);
+    IntVector2 beginTile = VectorMax(IntVector2(0, 0), jackTile - IntVector2(1, 1) * STREAMING_DISTANCE);
+    IntVector2 endTile = VectorMin(jackTile + IntVector2(1, 1) * STREAMING_DISTANCE, navMesh.numTiles - IntVector2(1, 1));
+
+    // Remove tiles
+    for (uint i = 0; i < addedTiles.length;)
+    {
+        IntVector2 tileIdx = addedTiles[i];
+        if (beginTile.x <= tileIdx.x && tileIdx.x <= endTile.x && beginTile.y <= tileIdx.y && tileIdx.y <= endTile.y)
+            ++i;
+        else
+        {
+            addedTiles.Erase(i);
+            navMesh.RemoveTile(tileIdx);
+        }
+    }
+
+    // Add tiles
+    for (int z = beginTile.y; z <= endTile.y; ++z)
+        for (int x = beginTile.x; x <= endTile.x; ++x)
+        {
+            const IntVector2 tileIdx(x, z);
+            int tileDataIdx = navigationTilesIdx.Find(tileIdx);
+            if (!navMesh.HasTile(tileIdx) && tileDataIdx != -1)
+            {
+                addedTiles.Push(tileIdx);
+                navMesh.AddTile(navigationTilesData[tileDataIdx]);
+                Print("Add tile " + tileIdx.ToString());
+            }
+        }
+}
+
 void HandleUpdate(StringHash eventType, VariantMap& eventData)
 {
     // Take the frame time step, which is stored as a float
@@ -351,6 +419,15 @@

     // Make Jack follow the Detour path
     FollowPath(timeStep);
+
+    // Update streaming
+    if (input.keyPress[KEY_TAB])
+    {
+        useStreaming = !useStreaming;
+        SwitchStreaming(useStreaming);
+    }
+    if (useStreaming)
+        StreamNavMesh();
 }

 void HandlePostRenderUpdate(StringHash eventType, VariantMap& eventData)


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

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

 package mx.automation.delegates.controls
 {


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

--- frameworks/projects/automation/src/mx/automation/tabularData/CartesianChartTabularData.as
+++ frameworks/projects/automation/src/mx/automation/tabularData/CartesianChartTabularData.as
@@ -103,8 +103,7 @@
 			maxItems = 0;
 			// code modified to avoid the usage of numAutomationChildren and
 			// getAutomationChildAt in a loop
-			//var childList:Array  = delegate.getAutomationChildren();
-			var childList:Array  = Automation.automationManager2.getAutomationChildrenArray(delegate);
+			var childList:Array  = delegate.getAutomationChildren();
 			var n:int = childList.length;
 			//for(var i:int = 0; i < delegate.numAutomationChildren; ++i)
 			for (var i:int = 0; i < n; ++i)
@@ -157,8 +156,7 @@
 			var j:int;
 			// code modified to avoid the usage of numAutomationChildren and
 			// getAutomationChildAt in a loop
-			//var childList:Array  = delegate.getAutomationChildren();
-			var childList:Array  = Automation.automationManager2.getAutomationChildrenArray(delegate);
+			var childList:Array  = delegate.getAutomationChildren();
 			var n:int = childList.length;
 			end = end>n?n:end;
 			for (i = start; i <= end; ++i)


NumberColumn.getValueFromKey() now supports IQualifiedKey as a requested dataType and provides appropriate String values for ambiguous aggregated data.

--- WeaveData/src/weave/data/AttributeColumns/NumberColumn.as
+++ WeaveData/src/weave/data/AttributeColumns/NumberColumn.as
@@ -113,9 +113,20 @@
 			{
 				var number:Number = getValueFromKey(key, Number);
 				if (numberToStringFunction != null)
+				{
 					return StandardLib.asString(numberToStringFunction(number, array));
+				}
+				if (isNaN(number) && array && array.length > 1)
+				{
+					var aggregation:String = (_metadata && _metadata[ColumnMetadata.AGGREGATION]) as String || Aggregation.DEFAULT;
+					if (aggregation == Aggregation.SAME)
+						return StringColumn.AMBIGUOUS_DATA;
+				}
 				return StandardLib.formatNumber(number);
 			}
+
+			if (dataType === IQualifiedKey)
+				return WeaveAPI.QKeyManager.getQKey(DataType.NUMBER, getValueFromKey(key, Number));

 			return null;
 		}


fixed null pointer errors

fixed null pointer errors

--- WeaveData/src/weave/data/AttributeColumns/BinnedColumn.as
+++ WeaveData/src/weave/data/AttributeColumns/BinnedColumn.as
@@ -82,10 +82,10 @@
 		}

 		private const _derivedBins:BinClassifierCollection = newLinkableChild(this, BinClassifierCollection); // returned by public getter
-		private var _binNames:Array = null; // maps a bin index to a bin name
-		private var _keyToBinIndexMap:Dictionary = null; // maps a record key to a bin index
-		private var _binnedKeysArray:Array = null; // maps a bin index to a list of keys in that bin
-		private var _binnedKeysMap:Object = null; // maps a bin name to a list of keys in that bin
+		private var _binNames:Array = []; // maps a bin index to a bin name
+		private var _keyToBinIndexMap:Dictionary = new Dictionary(); // maps a record key to a bin index
+		private var _binnedKeysArray:Array = []; // maps a bin index to a list of keys in that bin
+		private var _binnedKeysMap:Object = {}; // maps a bin name to a list of keys in that bin
 		private var _largestBinSize:uint = 0;
 		private var _prevTriggerCounter:uint;


Made aggregation a static function so it can be used consistently in other contexts.

--- WeaveData/src/weave/data/AttributeColumns/NumberColumn.as
+++ WeaveData/src/weave/data/AttributeColumns/NumberColumn.as
@@ -18,15 +18,15 @@
 */

 package weave.data.AttributeColumns
-{
-	import weave.api.data.Aggregation;
-	import weave.api.data.ColumnMetadata;
-	import weave.api.data.DataType;
-	import weave.api.data.IPrimitiveColumn;
-	import weave.api.data.IQualifiedKey;
-	import weave.api.reportError;
-	import weave.compiler.Compiler;
-	import weave.compiler.StandardLib;
+{
+	import weave.api.data.Aggregation;
+	import weave.api.data.ColumnMetadata;
+	import weave.api.data.DataType;
+	import weave.api.data.IPrimitiveColumn;
+	import weave.api.data.IQualifiedKey;
+	import weave.api.reportError;
+	import weave.compiler.Compiler;
+	import weave.compiler.StandardLib;
 	import weave.utils.Dictionary2D;

 	/**
@@ -111,24 +111,7 @@
 				if (!array)
 					return NaN;

-				switch (_metadata ? _metadata[ColumnMetadata.AGGREGATION] : null)
-				{
-					default:
-					case Aggregation.FIRST:
-						return array[0];
-					case Aggregation.LAST:
-						return array[array.length - 1];
-					case Aggregation.COUNT:
-						return array.length;
-					case Aggregation.MEAN:
-						return StandardLib.mean(array);
-					case Aggregation.SUM:
-						return StandardLib.sum(array);
-					case Aggregation.MIN:
-						return Math.min.apply(null, array);
-					case Aggregation.MAX:
-						return Math.max.apply(null, array);
-				}
+				return aggregate(array, _metadata);
 			}

 			if (dataType === String)
@@ -146,5 +129,28 @@
 		{
 			return debugId(this) + '{recordCount: '+keys.length+', keyType: "'+getMetadata('keyType')+'", title: "'+getMetadata('title')+'"}';
 		}
+
+		public static function aggregate(array:Array, metadata:Object):Number
+		{
+
+			switch (metadata ? metadata[ColumnMetadata.AGGREGATION] : null)
+			{
+				default:
+				case Aggregation.FIRST:
+					return array[0];
+				case Aggregation.LAST:
+					return array[array.length - 1];
+				case Aggregation.COUNT:
+					return array.length;
+				case Aggregation.MEAN:
+					return StandardLib.mean(array);
+				case Aggregation.SUM:
+					return StandardLib.sum(array);
+				case Aggregation.MIN:
+					return Math.min.apply(null, array);
+				case Aggregation.MAX:
+					return Math.max.apply(null, array);
+			}
+		}
 	}
 }


removed 'tradeable' until reflected on server

--- flexEditor/src/org/arisgames/editor/services/AppServices.as
+++ flexEditor/src/org/arisgames/editor/services/AppServices.as
@@ -216,12 +216,14 @@
         if (isNaN(item.itemId) || item.itemId == 0)
         {
             trace("This item doesn't have an itemId, so call create Item.");
-            r = AppDAO.getInstance().getItemServer().createItem(gid, item.name, item.description, item.iconMediaId, item.mediaId, item.dropable, item.tradeable, item.destroyable, item.isAttribute, item.maxQty, item.weight, item.url, item.type);
+			//r = AppDAO.getInstance().getItemServer().createItem(gid, item.name, item.description, item.iconMediaId, item.mediaId, item.dropable, item.tradeable, item.destroyable, item.isAttribute, item.maxQty, item.weight, item.url, item.type);
+			r = AppDAO.getInstance().getItemServer().createItem(gid, item.name, item.description, item.iconMediaId, item.mediaId, item.dropable, item.destroyable, item.isAttribute, item.maxQty, item.weight, item.url, item.type);
         }
         else
         {
             trace("This item has an itemId (" + item.itemId + "), so call update Item.");
-            r = AppDAO.getInstance().getItemServer().updateItem(gid, item.itemId, item.name, item.description, item.iconMediaId, item.mediaId, item.dropable, item.tradeable, item.destroyable, item.isAttribute, item.maxQty, item.weight, item.url, item.type);
+			//r = AppDAO.getInstance().getItemServer().updateItem(gid, item.itemId, item.name, item.description, item.iconMediaId, item.mediaId, item.dropable, item.tradeable, item.destroyable, item.isAttribute, item.maxQty, item.weight, item.url, item.type);
+			r = AppDAO.getInstance().getItemServer().updateItem(gid, item.itemId, item.name, item.description, item.iconMediaId, item.mediaId, item.dropable, item.destroyable, item.isAttribute, item.maxQty, item.weight, item.url, item.type);
         }
         r.addResponder(resp);
     }


UPDATED doc comment (ref #4)

UPDATED doc comment (ref #4)

--- actionscript/src/com/marpies/ane/onesignal/OneSignal.as
+++ actionscript/src/com/marpies/ane/onesignal/OneSignal.as
@@ -266,7 +266,7 @@
          *
          *
Extension must be initialized using OneSignal.init() before calling this method.

          *
-         * @param parameters Notification options, see OneSignal create notification REST API
+         * @param parameters Notification options, see OneSignal create notification REST API
          * @param callback Function with the following signature:
          * <listing version="3.0">
          * function callback( successResponse:Object, errorResponse:Object ):void {
@@ -278,7 +278,7 @@
          * };
          * </listing>
          *
-         * @see http://documentation.onesignal.com/v2.0/docs/notifications-create-notification OneSignal create notification REST API
+         * @see http://documentation.onesignal.com/reference#page-create-notification OneSignal create notification REST API
          */
         public static function postNotification( parameters:Object, callback:Function ):void {
             if( !isSupported ) return;


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

--- frameworks/projects/framework/src/mx/utils/Base64Decoder.as
+++ frameworks/projects/framework/src/mx/utils/Base64Decoder.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.utils
 {


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

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

 package mx.rpc.soap
 {


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