Transferred from the Adobe Open Source Subversion Repository

Revision: 3057
Author:   jimurphy@adobe.com
Date:     2008-09-02T15:18:38.819662Z

Log Message:
-----------
Merged 3.0.x revisions [2966,2969,2995,3004,3018-3019,3023,3029-3030,3046,3049,3052] -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/ModalWindowRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/InterDragManagerEvent.as" copyfrom-rev="3052" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/InterDragManagerEvent.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/PopUpRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerGlobals.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SWFBridgeEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/EventProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/SliderThumb.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/TreeItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/DividedBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SizeRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/InterManagerRequest.as" copyfrom-rev="3052" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/InterManagerRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FocusRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/wsdl/WSDL.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/dividedBoxClasses/BoxDivider.as</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/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SandboxRootDragEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxMouseEvent.as" copyfrom-rev="3052" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SandboxMouseEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SandboxRootRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/EventUtil.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SandboxRootMouseEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SWFBridgeRequest.as</path>

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

--- frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
+++ frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
@@ -71,7 +71,7 @@
 import mx.events.EffectEvent;
 import mx.events.FlexEvent;
 import mx.events.ListEvent;
-import mx.events.SandboxRootMouseEvent;
+import mx.events.SandboxMouseEvent;
 import mx.events.PropertyChangeEvent;
 import mx.events.ScrollEvent;
 import mx.events.ScrollEventDetail;
@@ -8892,7 +8892,7 @@
         mouseDownPoint = globalToLocal(pt);

         systemManager.getSandboxRoot().addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler, true, 0, true);
-        systemManager.getSandboxRoot().addEventListener(SandboxRootMouseEvent.MOUSE_UP_SOMEWHERE, mouseLeaveHandler, false, 0, true);
+        systemManager.getSandboxRoot().addEventListener(SandboxMouseEvent.MOUSE_UP_SOMEWHERE, mouseLeaveHandler, false, 0, true);

         if (!dragEnabled)
         {
@@ -8915,7 +8915,7 @@
     private function mouseIsUp():void
     {
         systemManager.getSandboxRoot().removeEventListener(MouseEvent.MOUSE_UP, mouseUpHandler, true);
-        systemManager.getSandboxRoot().removeEventListener(SandboxRootMouseEvent.MOUSE_UP_SOMEWHERE, mouseLeaveHandler);
+        systemManager.getSandboxRoot().removeEventListener(SandboxMouseEvent.MOUSE_UP_SOMEWHERE, mouseLeaveHandler);

         if (!dragEnabled && dragScrollingInterval != 0)
         {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/mx/src/mx/controls/listClasses/TileBase.as
+++ frameworks/projects/mx/src/mx/controls/listClasses/TileBase.as
@@ -57,6 +57,11 @@
  *  All items in a TileList are the same width and height.
  *
  *
This class is not used directly in applications.

+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class TileBase extends ListBase
 {
@@ -70,6 +75,11 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function TileBase()
     {
@@ -104,6 +114,11 @@

     /**
      *  Cache of measuring objects by factory.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected var measuringObjects:Dictionary;

@@ -137,6 +152,11 @@
      *  is reached and then a new row is started.  If more rows are created
      *  than can be displayed at once, the control will display a vertical scrollbar.
      *  The opposite is true if the value is TileBaseDirection.VERTICAL.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get direction():String
     {
@@ -195,6 +215,11 @@
      *  to display all the data.
      *
      *
The default value is 0 (no limit).

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get maxColumns():int
     {
@@ -236,6 +261,11 @@
      *  to display all the data.
      *
      *
The default value is 0 (no limit).

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get maxRows():int
     {
@@ -955,6 +985,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override protected function scrollHorizontally(pos:int, deltaPos:int,
                                                 scrollUp:Boolean):void
@@ -1929,6 +1964,11 @@
      *  @param data The renderer's data structure.
      *
      *  @return The item renderer.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function createItemRenderer(data:Object):IListItemRenderer
     {
@@ -2137,6 +2177,11 @@
      *  @param columnNum The columnIndex associated with this item.
      *
      *  @return A newly constructed ListData object.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function makeListData(data:Object, uid:String,
         rowNum:int, columnNum:int):BaseListData
@@ -2366,6 +2411,11 @@
      *  of the z-order in the listContent, and
      *  calls drawTileBackground() for each visible
      *  tile.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function drawTileBackgrounds():void
     {
@@ -2438,6 +2488,11 @@
      *
      *  @return The background Sprite.
      *
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function drawTileBackground(s:Sprite, rowIndex:int, columnIndex:int, width:Number, height:Number,
                                                                     color:uint, item:IListItemRenderer):DisplayObject
@@ -2683,6 +2738,11 @@
      *  @param unscaledWidth The width of the listContent before any external scaling is applied.
      *
      *  @param unscaledHeight The height of the listContent before any external scaling is applied.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override protected function adjustListContent(unscaledWidth:Number = -1,
                                        unscaledHeight:Number = -1):void


XIFF-99: Missed something very important...

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


RandomGenerator added

RandomGenerator added


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

--- frameworks/projects/mx/src/mx/events/ScrollEvent.as
+++ frameworks/projects/mx/src/mx/events/ScrollEvent.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  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.
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
 //
 ////////////////////////////////////////////////////////////////////////////////


Change 20080714-hqm-V by hqm@badtzmaru.home on 2008-07-14 21:40:34 EDT
    in /Users/hqm/openlaszlo/trunk4
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: ensure SOLO data loads are done with absolute URLs

New Features:

Bugs Fixed:

Technical Reviewer: pbr
QA Reviewer: max
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:

+ when loading a data URL, use an absolute URL, as relative URLs will
confuse the Flash security rules

Tests:

test/lfc/data/alldata.lzx (fails in other way, but no longer reports
security errors in loading http)

git-svn-id: d62bde4b5aa582fdf07c8d403e53e0399a7ed285@10364 fa20e4f9-1d0a-0410-b5f3-dc9c16b8b17c

--- WEB-INF/lps/lfc/kernel/swf9/LzHTTPLoader.as
+++ WEB-INF/lps/lfc/kernel/swf9/LzHTTPLoader.as
@@ -338,6 +338,10 @@
     // parseXML flag : if true, translate native XML tree into LzDataNode tree,
     //                 if false, don't attempt to translate the XML (if it exists)
     public function loadXMLDoc (method:String, url:String, headers:Object, postbody:String, ignorewhite:Boolean) :void {
+
+        var secure:Boolean = (url.indexOf("https:") == 0);
+        url = lz.Browser.toAbsoluteURL( url, secure );
+
         if (this.loader == null) {
             // TODO [hqm 2008-01] wonder if we should be throwing an
             // exception or returning some indication that the send


Transferred from the Adobe Open Source Subversion Repository

Revision: 19684
Author:   mcho@adobe.com
Date:     2011-01-10T23:28:35.118753Z

Log Message:
-----------
Allow the "alternatingItemColors" style accept a single color

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/listClasses/TileBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/wireframe/src/spark/skins/wireframe/DefaultItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/List.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as</path>

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

--- frameworks/projects/mx/src/mx/controls/List.as
+++ frameworks/projects/mx/src/mx/controls/List.as
@@ -24,9 +24,12 @@
 import flash.geom.Point;
 import flash.ui.Keyboard;
 import flash.utils.Dictionary;
+
 import mx.collections.CursorBookmark;
 import mx.collections.IList;
 import mx.collections.ItemResponder;
+import mx.collections.ItemWrapper;
+import mx.collections.ModifiedCollectionView;
 import mx.collections.errors.ItemPendingError;
 import mx.controls.listClasses.BaseListData;
 import mx.controls.listClasses.IDropInListItemRenderer;
@@ -48,6 +51,7 @@
 import mx.core.IIMESupport;
 import mx.core.IInvalidating;
 import mx.core.IPropertyChangeNotifier;
+import mx.core.IUIComponent;
 import mx.core.ScrollPolicy;
 import mx.core.UIComponent;
 import mx.core.UIComponentGlobals;
@@ -62,9 +66,6 @@
 import mx.managers.IFocusManager;
 import mx.managers.IFocusManagerComponent;
 import mx.managers.ISystemManager;
-import mx.collections.ItemWrapper;
-import mx.collections.ModifiedCollectionView;
-import mx.core.IUIComponent;

 use namespace mx_internal;

@@ -1197,8 +1198,10 @@
         }

         var colors:Array;
-
-        colors = getStyle("alternatingItemColors");
+		var colorsStyle:Object = getStyle("alternatingItemColors");
+		colorsStyle = getStyle("alternatingItemColors");
+		if (colorsStyle)
+			colors = (colorsStyle is Array) ? (colorsStyle as Array) : [colorsStyle];

         if (!colors || colors.length == 0)
         {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5331
Author:   dloverin@adobe.com
Date:     2009-03-16T20:29:20.872892Z

Log Message:
-----------
FxApplication related API changes.

1. Rename ApplicationGlobals.application -> FlexGlobals.topLevelApplication
2. Application.application will be deprecated. FlexGlobals.topLevelApplication will be the recommend alternative.
3. Application.application will return null if the top-level application is not of type Application or a subclass of Application.
4. Change the FxApplication.backgroundColor property from type Object to uint.

QE Notes: None
Doc Notes: None
Bugs: sdk-19677
Reviewer: Ryan
tests: checkintests, Application mustella tests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ActivatorSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/BrowserManagerImpl.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ApplicationGlobals.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/LayoutManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/haloclassic/src/haloclassic/ActivatorSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Alert.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButtonGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/HistoryManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButtonGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ActivatorSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/checkinapp/ProductDetail.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Glow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ApplicationGlobals.as" copyfrom-rev="5314" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexGlobals.as</path>

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

--- frameworks/projects/mx/src/mx/controls/Menu.as
+++ frameworks/projects/mx/src/mx/controls/Menu.as
@@ -37,10 +37,10 @@
 import mx.controls.menuClasses.MenuItemRenderer;
 import mx.controls.menuClasses.MenuListData;
 import mx.controls.treeClasses.DefaultDataDescriptor;
-import mx.core.ApplicationGlobals;
 import mx.core.ClassFactory;
 import mx.core.EdgeMetrics;
 import mx.core.EventPriority;
+import mx.core.FlexGlobals;
 import mx.core.IFlexDisplayObject;
 import mx.core.ScrollPolicy;
 import mx.core.UIComponent;
@@ -589,7 +589,7 @@
     {
         var menu:Menu = new Menu();
         menu.tabEnabled = false;
-        menu.owner = DisplayObjectContainer(ApplicationGlobals.application);
+        menu.owner = DisplayObjectContainer(FlexGlobals.topLevelApplication);
         menu.showRoot = showRoot;
         popUpMenu(menu, parent, mdp);
         return menu;
@@ -623,7 +623,7 @@
     {
         menu.parentDisplayObject = parent ?
                                    parent :
-                                   DisplayObject(ApplicationGlobals.application);
+                                   DisplayObject(FlexGlobals.topLevelApplication);

         if (!mdp)
             mdp = new XML();


Increased alpha on key hints

Increased alpha on key hints


Fixed doc comments for TestCase - they were using Java JUnit examples

--- as3/src/asunit/framework/TestCase.as
+++ as3/src/asunit/framework/TestCase.as
@@ -22,62 +22,31 @@
      * Here is an example:
      *

      * public class MathTest extends TestCase {
-     *      protected double fValue1;
-     *      protected double fValue2;
+     *      private var value1:Number;
+     *      private var value2:Number;
      *
      *      public function MathTest(methodName:String=null) {
      *         super(methodName);
      *      }
      *
-     *      protected void setUp() {
-     *         fValue1= 2.0;
-     *         fValue2= 3.0;
+     *      override protected function setUp():void {
+     *         super.setUp();
+     *         value1 = 2;
+     *         value2 = 3;
      *      }
      * }
      *

      *
      * For each test implement a method which interacts
      * with the fixture. Verify the expected results with assertions specified
-     * by calling assertTrue with a boolean.
+     * by calling assertTrue with a boolean, or assertEquals
+     * with two primitive values that should match.
      *

-     *    public void testAdd() {
-     *        double result= fValue1 + fValue2;
-     *        assertTrue(result == 5.0);
+     *    public function testAdd():void {
+     *        var result:Number = value1 + value2;
+     *        assertEquals(5, result);
      *    }
      *

-     * Once the methods are defined you can run them. The framework supports
-     * both a static type safe and more dynamic way to run a test.
-     * In the static way you override the runTest method and define the method to
-     * be invoked. A convenient way to do so is with an anonymous inner class.
-     *

-     * TestCase test= new MathTest("add") {
-     *        public void runTest() {
-     *            testAdd();
-     *        }
-     * };
-     * test.run();
-     *

-     * The dynamic way uses reflection to implement runTest. It dynamically finds
-     * and invokes a method.
-     * In this case the name of the test case has to correspond to the test method
-     * to be run.
-     *

-     * TestCase= new MathTest("testAdd");
-     * test.run();
-     *

-     * The tests to be run can be collected into a TestSuite. JUnit provides
-     * different test runners which can run a test suite and collect the results.
-     * A test runner either expects a static method suite as the entry
-     * point to get a test to run or it will extract the suite automatically.
-     *

-     * public static Test suite() {
-     *      suite.addTest(new MathTest("testAdd"));
-     *      suite.addTest(new MathTest("testDivideByZero"));
-     *      return suite;
-     *  }
-     *

-     * @see TestResult
-     * @see TestSuite
      */
     public class TestCase extends Assert implements Test {
         protected static const PRE_SET_UP:int        = 0;
@@ -85,23 +54,27 @@
         protected static const RUN_METHOD:int         = 2;
         protected static const TEAR_DOWN:int        = 3;
         protected static const DEFAULT_TIMEOUT:int     = 1000;
+
+        protected var context:DisplayObjectContainer;
         protected var fName:String;
+        protected var isComplete:Boolean;
         protected var result:TestListener;
         protected var testMethods:Array;
-        protected var isComplete:Boolean;
-        protected var context:DisplayObjectContainer;
-//        protected var methodIsAsynchronous:Boolean;
-//        protected var timeout:Timer;
-//        private var setUpIsAsynchronous:Boolean;
+
         private var asyncQueue:Array;
         private var currentMethod:String;
+        private var currentState:int;
+        private var layoutManager:Object;
+        private var methodIterator:Iterator;
         private var runSingle:Boolean;
-        private var methodIterator:Iterator;
-        private var layoutManager:Object;
-        private var currentState:int;

         /**
          * Constructs a test case with the given name.
+         *
+         * Be sure to implement the constructor in your own TestCase base classes.
+         *
+         * Using the optional testMethod constructor parameter is how we
+         * create and run a single test case and test method.
          */
         public function TestCase(testMethod:String = null) {
             var description:XML = describeType(this);
@@ -201,8 +174,7 @@

         /**
          * Runs the bare test sequence.
-         * @exception Error if any exception is thrown
-         *  throws Error
+         * @throws Error if any exception is thrown
          */
         public function runBare():void {
             if(isComplete) {
@@ -230,9 +202,11 @@
             return methodIterator;
         }

-        // Override this method in Asynchronous test cases
-        // or any other time you want to perform additional
-        // member cleanup after all test methods have run
+        /**
+        *   Override this method in Asynchronous test cases
+        *   or any other time you want to perform additional
+        *   member cleanup after all test methods have run
+        **/
         protected function cleanUp():void {
         }

@@ -265,17 +239,57 @@
         /**
          * Sets up the fixture, for example, instantiate a mock object.
          * This method is called before each test is executed.
-         * throws Exception on error
+         * throws Exception on error.
+         *
+         * @example This method is usually overridden in your concrete test cases:
+         *  <listing>
+         *  private var instance:MyInstance;
+         *
+         *  override protected function setUp():void {
+         *      super.setUp();
+         *      instance = new MyInstance();
+         *      addChild(instance);
+         *  }
+         *  </listing>
          */
         protected function setUp():void {
         }
         /**
-         * Tears down the fixture, for example, delete mock object.
-         * This method is called after a test is executed.
-         *  throws Exception on error
+         *  Tears down the fixture, for example, delete mock object.
+         *
+         *  This method is called after a test is executed - even if the test method
+         *  throws an exception or fails.
+         *
+         *  Even though the base class TestCase doesn't do anything on tearDown,
+         *  It's a good idea to call super.tearDown() in your subclasses. Many projects
+         *  wind up using some common fixtures which can often be extracted out a common project
+         *  TestCase.
+         *
+         *  tearDown is not called when we tell a test case to execute
+         *  a single test method.
+         *
+         *  @throws Error on error.
+         *
+         *  @example This method is usually overridden in your concrete test cases:
+         *  <listing>
+         *  private var instance:MyInstance;
+         *
+         *  override protected function setUp():void {
+         *      super.setUp();
+         *      instance = new MyInstance();
+         *      addChild(instance);
+         *  }
+         *
+         *  override protected function tearDown():void {
+         *      super.tearDown();
+         *      removeChild(instance);
+         *  }
+         *  </listing>
+         *
          */
         protected function tearDown():void {
         }
+
         /**
          * Returns a string representation of the test case
          */
@@ -307,6 +321,10 @@
             this.context = context;
         }

+        /**
+        *   Returns the visual DisplayObjectContainer that will be used by
+        *   addChild and removeChild helper methods.
+        **/
         public function getContext():DisplayObjectContainer {
             return context;
         }
@@ -448,9 +466,5 @@
             }
             return null;
         }
-
-//        public function fail(message:String):void {
-//            result.addFailure(this, new AssertionFailedError(message));
-//        }
     }
 }


Removed Log messages

Removed Log messages

--- samples/UICompSample/src/UICompSample.as
+++ samples/UICompSample/src/UICompSample.as
@@ -128,7 +128,6 @@

         public function handleReceive_iOS(payload :RemoteNotificationPayload_iOS)  :void {
             trace("Recieved Notification :" + payload.message);
-			Log.i("Recieved Notification :" + payload.message +" state :" );

             AlertDialog.show({
                 title: "Recieved message",


Add abcdump support for stagMetadata (bug 545117 r=tharwood+)

This SWF tag carries XML metadata with stripped whitespace,
so we just pretty print it using default XML toString() formatting.

--- utils/abcdump.as
+++ utils/abcdump.as
@@ -1193,8 +1193,9 @@
     }

     const stagDoABC                 :int = 72;   // embedded .abc (AVM+) bytecode
-    const stagSymbolClass               :int = 76;
-    const stagDoABC2                  :int = 82;   // revised ABC version with a name
+    const stagSymbolClass           :int = 76;
+    const stagMetadata              :int = 77;
+    const stagDoABC2                :int = 82;   // revised ABC version with a name

     var tagNames:Array = [
         "End",                  // 00
@@ -1298,7 +1299,7 @@
         "74 (invalid)",         // 74
         "75 (invalid)",         // 75
         "SymbolClass",          // 76
-        "77 (invalid)",         // 77
+        "Metadata",             // 77
         "78 (invalid)",         // 78
         "79 (invalid)",         // 79
         "80 (invalid)",         // 80
@@ -1353,6 +1354,9 @@
                     new Abc(data2).dump("  ")
                     infoPrint("")
                     break
+                case stagMetadata:
+                    infoPrint(new XML(readString()));
+                    break;
                 default:
                     data.position += length
                 }


Bug 706799: abcdump provide context when signaling error (r=fklockii).

--- utils/abcdump.as
+++ utils/abcdump.as
@@ -1198,8 +1198,14 @@

             for each (var m in methods)
             {
-                if (!m.dumped)
-                    m.dump(this,indent)
+                if (!m.dumped) {
+                    try {
+                        m.dump(this,indent)
+                    } catch (e:Error) {
+                        print(m.format())
+                        throw e
+                    }
+                }
             }

             infoPrint(align(14,"OPCODE",' ',"left")+"\tCOUNT\t SIZE\t% OF "+totalSize)


removed call to trace() in Group.cast()

removed call to trace() in Group.cast()

--- src/aerys/minko/scene/node/Group.as
+++ src/aerys/minko/scene/node/Group.as
@@ -300,7 +300,7 @@
 				if (mesh.geometry.boundingBox.testRay(ray, mesh.worldToLocal))
 					hit.push(mesh);
 			}
-			trace(hit);
+
 			return new SceneIterator(null, hit);
 		}


Added optional maxLength param to validateAndEncode.

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

--- src/as/com/threerings/util/ObjectMarshaller.as
+++ src/as/com/threerings/util/ObjectMarshaller.as
@@ -77,11 +77,19 @@

     /**
      * Validate the value and encode it. Arrays are not broken-up.
-     */
-    public static function validateAndEncode (obj :Object) :ByteArray
+     * @param maxLength The maximum size of the data after encoding,
+     *                  or -1 if no size restriction.
+     */
+    public static function validateAndEncode (obj :Object, maxLength :int = -1) :ByteArray
     {
         validateValue(obj);
-        return encode(obj, false) as ByteArray;
+
+        var data :ByteArray = encode(obj, false) as ByteArray;
+        if (maxLength >= 0 && data != null && data.length > maxLength) {
+            throw new ArgumentError("Cannot encode data of size " + data.length + " bytes. May be at most " + maxLength + " bytes.");
+        }
+
+        return data;
     }

     /**


Fixed 'saving spawnables returning junk' bug

--- flexEditor/src/org/arisgames/editor/view/SpawnableEditorView.as
+++ flexEditor/src/org/arisgames/editor/view/SpawnableEditorView.as
@@ -139,8 +139,14 @@
 		{
 			trace("SpawnableEditorView: handleSaveAndCloseButton()");
 			this.populateSpawnableFromForm();
-			AppServices.getInstance().saveSpawnableForObject(GameModel.getInstance().game.gameId, this.objectPaletteItem, this.spawnable, new Responder(handleLoadingOfSpawnable, handleFault));
+			AppServices.getInstance().saveSpawnableForObject(GameModel.getInstance().game.gameId, this.objectPaletteItem, this.spawnable, new Responder(handleSavingOfSpawnable, handleFault));
 			PopUpManager.removePopUp(this);
+		}
+
+		private function handleSavingOfSpawnable(obj:Object):void
+		{
+			if(obj.result.returnCode != 0)
+				Alert.show("There was an error saving the spawn settings.");
 		}

 		private function handleLoadingOfSpawnable(obj:Object):void


Transferred from the Adobe Open Source Subversion Repository

Revision: 11789
Author:   rfrishbe@adobe.com
Date:     2009-11-13T19:38:40.358315Z

Log Message:
-----------
When a UIMovieClip resizes, it does so through scaling. Before UIMC was keeping track of this on it's own.  Now that AdvancedLayoutFeatures support this through scaleX/scaleY, UIMC can now rely on this behavior.  This also helps fix some Effects bugs which rely on this to figure out the difference in transformations that get applied and contribute to the "width" and "height" properties and ones that don't.

QE notes: Can re-include the 3 FCK tests and regen the bitmaps
Doc notes: -
Bugs: SDK-23754, SDK-23779
Reviewer: Evtim
Tests run: checkintest, mustella FCK
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/FlexContentHolder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/utilities/src/MyFlexContentHolder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as</path>

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

--- frameworks/projects/authoringsupport/src/MyFlexContentHolder.as
+++ frameworks/projects/authoringsupport/src/MyFlexContentHolder.as
@@ -16,6 +16,8 @@
 import mx.core.mx_internal;
 import mx.flash.FlexContentHolder;

+use namespace mx_internal;
+
 [ExcludeClass]

 public class MyFlexContentHolder extends FlexContentHolder
@@ -23,14 +25,19 @@
     public function MyFlexContentHolder()
     {
         super();
-
+
+        // Add thumbnail first.  Then need to remeasure ourselves just
+        // like we do in the FlexContentHolder's constructor.
+        // We need to re-measure ourselves even after the super()
+        // call does it because there was no content at that point.
+        // Normally the "content" is baked in to the SWF tag.
         addChild(new FlexContentHolderThumbnail());

         // now need to re-measure ourselves:
         var bounds:Rectangle = getBounds(this);
         _width = bounds.width;
         _height = bounds.height;
-        mx_internal::$scaleX = mx_internal::$scaleY = 1;
+        $scaleX = $scaleY = 1;
     }
 }
 }


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

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


FLEX-33258 Put metadata just before type declaration

git-svn-id: 7d913817b0a978d84de757191e4bce372605a781@1409210 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/managers/ICursorManager.as
+++ frameworks/projects/framework/src/mx/managers/ICursorManager.as
@@ -20,9 +20,9 @@
 package mx.managers
 {

+import mx.core.IUIComponent;
+
 [ExcludeClass]
-
-import mx.core.IUIComponent;

 /**
  *  @private


Transferred from the Adobe Open Source Subversion Repository

Revision: 8408
Author:   gosmith@adobe.com
Date:     2009-07-06T23:11:17.146372Z

Log Message:
-----------
Kerning is now enabled by default for Spark components, but remains disabled by default for Halo components.

This is accomplished by having the global selector set 'kerning' to a new value, "default". Spark components now interpret "default" as "auto", while Halo components interpret "default" as false.

In Beta 1, kerning was accidentally enabled in some Spark components; then it was deliberately disabled in all of them as an interim step. Now we're enabling it in all Spark components, which is what we want for Flex 4.0. A cyclone build of this change was performance-tested and showed no degradation.

Background info:

In Halo components based on TextField, kerning is supposed to be true or false. The default in TextField and Flex 3 is false because kerning doesn't work for device fonts and is slow for embedded fonts.

In Spark components based on TLF and FTE, kerning is "auto", "on", or, "off". The default in TLF and FTE is "auto"  (which means kern non-Asian characters) because kerning works even on device fonts and has miminal performance impact.

Since a CSS selector or parent container can affect both Halo and Spark components, we need to map "auto" and "on" to true and "off" to false for Halo components in UITextField and  UITLFTextField. For Spark components, SimpleText and CSSTextLayoutFormat, we do the opposite mapping of true to "on" and false to "off".

We will also now support a value of "default"  (which will be set in the global selector) to mean false for Halo and "auto" for Spark. This will enable developers  to get the recommended behavior in both sets of components.

QE Notes: This change will require all baseline bitmaps for Spark components containing text to be regenerated.
Doc Notes: None
Bugs: SDK-21952
Reviewer: Carol

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/CSSTextLayoutFormat.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/SimpleText.as</path>

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

--- frameworks/projects/spark/src/spark/core/CSSTextLayoutFormat.as
+++ frameworks/projects/spark/src/spark/core/CSSTextLayoutFormat.as
@@ -13,6 +13,7 @@
 {

 import flash.text.engine.FontLookup;
+import flash.text.engine.Kerning;
 import flashx.textLayout.formats.ITextLayoutFormat;
 import mx.core.mx_internal;
 import mx.styles.IStyleClient;
@@ -279,7 +280,38 @@
 	 */
 	public function get kerning():*
 	{
-		return client.getStyle("kerning");
+		var kerning:Object = client.getStyle("kerning");
+
+		// In Halo components based on TextField,
+		// kerning is supposed to be true or false.
+		// The default in TextField and Flex 3 is false
+		// because kerning doesn't work for device fonts
+		// and is slow for embedded fonts.
+		// In Spark components based on TLF and FTE,
+		// kerning is "auto", "on", or, "off".
+		// The default in TLF and FTE is "auto"
+		// (which means kern non-Asian characters)
+		// because kerning works even on device fonts
+		// and has miminal performance impact.
+        // Since a CSS selector or parent container
+		// can affect both Halo and Spark components,
+		// we need to map true to "on" and false to "off"
+		// here and in SimpleText.
+		// For Halo components, UITextField and UITLFTextField
+		// do the opposite mapping
+		// of "auto" and "on" to true and "off" to false.
+		// We also support a value of "default"
+		// (which we set in the global selector)
+		// to mean "auto" for Spark and false for Halo
+		// to get the recommended behavior in both sets of components.
+		if (kerning === "default")
+			kerning = Kerning.AUTO;
+		else if (kerning === true)
+			kerning = Kerning.ON;
+		else if (kerning === false)
+			kerning = Kerning.OFF;
+
+		return kerning;
 	}

 	/**


Transferred from the Adobe Open Source Subversion Repository

Revision: 13283
Author:   egeorgie@adobe.com
Date:     2010-01-05T19:54:47.152032Z

Log Message:
-----------
Fix http://bugs.adobe.com/jira/browse/SDK-24416 Support major axis alignment in VerticalLayout/HorizontalLayout

Added horizontalAlign to HGroup, HorizontalLayout and verticalAlign to VGroup, VerticalLayout

QE notes: New tests needed for the new properties.
Doc notes: New properterties added to HGroup, HorizontalLayout, VGroup, VerticalLayout.
Bugs: SDK-24416
Reviewer: Hans
Tests run: checkintests, mustella cyclone
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VGroup.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/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HGroup.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
@@ -659,6 +659,52 @@
     }

     //----------------------------------
+    //  horizontalAlign
+    //----------------------------------
+
+    /**
+     *  @private
+     */
+    private var _horizontalAlign:String = HorizontalAlign.LEFT;
+
+    [Inspectable(category="General", enumeration="left,right,center", defaultValue="left")]
+
+    /**
+     *  The horizontal alignment of the content relative to the container's width.
+     *
+     *
This property has no effect when clipAndEnableScrolling is true
+     *  and the contentWidth is greater than the container's width.

+     *
+     *
This property does not affect the layout's measured size.

+     *
+     *  @default "left"
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function get horizontalAlign():String
+    {
+        return _horizontalAlign;
+    }
+
+    /**
+     *  @private
+     */
+    public function set horizontalAlign(value:String):void
+    {
+        if (value == _horizontalAlign)
+            return;
+
+        _horizontalAlign = value;
+
+        var layoutTarget:GroupBase = target;
+        if (layoutTarget)
+            layoutTarget.invalidateDisplayList();
+    }
+
+    //----------------------------------
     //  verticalAlign
     //----------------------------------

@@ -743,7 +789,22 @@
     //  Methods
     //
     //--------------------------------------------------------------------------
-
+
+    /**
+     *  @private
+     */
+    override public function set clipAndEnableScrolling(value:Boolean):void
+    {
+        super.clipAndEnableScrolling = value;
+        var hAlign:String = horizontalAlign;
+        if (hAlign == HorizontalAlign.CENTER || hAlign == HorizontalAlign.RIGHT)
+        {
+            var g:GroupBase = target;
+            if (g)
+                g.invalidateDisplayList();
+        }
+    }
+
     /**
      * @private
      */
@@ -751,7 +812,7 @@
     {
         llv.clear();
     }
-
+
     /**
      *  @private
      */
@@ -1634,12 +1695,39 @@
              }
         }

+        // Third pass: if neccessary, fix up x based on updated contentWidth
+        var contentWidth:Number = llv.end(llv.length - 1) - paddingLeft;
+        var targetWidth:Number = Math.max(0, layoutTarget.width - paddingLeft - paddingRight);
+        if (contentWidth < targetWidth)
+        {
+            var excessWidth:Number = targetWidth - contentWidth;
+            var dx:Number = 0;
+            var hAlign:String = horizontalAlign;
+            if (hAlign == HorizontalAlign.CENTER)
+            {
+                dx = Math.floor(excessWidth / 2);
+            }
+            else if (hAlign == HorizontalAlign.RIGHT)
+            {
+                dx = excessWidth;
+            }
+            if (dx > 0)
+            {
+                for (index = startIndex; index <= endIndex; index++)
+                {
+                    elt = layoutTarget.getVirtualElementAt(index, NaN, NaN);
+                    elt.setLayoutBoundsPosition(dx + elt.getLayoutBoundsX(), elt.getLayoutBoundsY());
+                }
+                contentWidth += dx;
+            }
+        }
+
         setColumnCount(index - startIndex);
         setIndexInView(startIndex, endIndex);

         // Make sure that if the content spans partially over a pixel to the right/bottom,
         // the content size includes the whole pixel.
-        var paddedContentWidth:Number = Math.ceil(llv.end(llv.length - 1) + paddingRight);
+        var paddedContentWidth:Number = Math.ceil(contentWidth + paddingLeft + paddingRight);
         var paddedContentHeight:Number = Math.ceil(contentHeight + paddingTop + paddingBottom);
         layoutTarget.setContentSize(paddedContentWidth, paddedContentHeight);
     }
@@ -1680,7 +1768,7 @@
             }
         }

-        distributeWidth(targetWidth, targetHeight, containerHeight);
+        var excessWidth:Number = distributeWidth(targetWidth, targetHeight, containerHeight);

         // default to top (0)
         var vAlign:Number = 0;
@@ -1705,6 +1793,20 @@
         var firstColInView:int = -1;
         var lastColInView:int = -1;

+        // Take horizontalAlign into account
+        if (excessWidth > 0 || !clipAndEnableScrolling)
+        {
+            var hAlign:String = horizontalAlign;
+            if (hAlign == HorizontalAlign.CENTER)
+            {
+                x = paddingLeft + Math.floor(excessWidth / 2);
+            }
+            else if (hAlign == HorizontalAlign.RIGHT)
+            {
+                x = paddingLeft + excessWidth;
+            }
+        }
+
         for (var index:int = 0; index < count; index++)
         {
             layoutElement = layoutTarget.getElementAt(index);
@@ -1816,10 +1918,10 @@
         // Distribute the extra space among the flexible children
         if (totalPercentWidth)
         {
-            spaceToDistribute = Flex.flexChildrenProportionally(width,
-                                                                spaceToDistribute,
-                                                                totalPercentWidth,
-                                                                childInfoArray);
+            Flex.flexChildrenProportionally(width,
+                                            spaceToDistribute,
+                                            totalPercentWidth,
+                                            childInfoArray);
             var roundOff:Number = 0;
             for each (childInfo in childInfoArray)
             {
@@ -1829,7 +1931,8 @@

                 sizeLayoutElement(childInfo.layoutElement, height, verticalAlign,
                                   restrictedHeight, childSize,
-                                  variableColumnWidth, cw);
+                                  variableColumnWidth, cw);
+                spaceToDistribute -= childSize;
             }
         }
         return spaceToDistribute;


ConfigUtils: fixed some issues merging airOptions

--- src/com/as3mxml/asconfigc/utils/ConfigUtils.as
+++ src/com/as3mxml/asconfigc/utils/ConfigUtils.as
@@ -278,17 +278,23 @@
 				var hasBase:Boolean = baseAIROptions.hasOwnProperty(key);
 				if(hasConfig && hasBase)
 				{
+					var newValue:* = airOptions[key];
+					var baseValue:* = baseAIROptions[key];
 					if(handlePlatforms && platforms.has(key))
 					{
-						result[key] = mergeAIROptions(airOptions[key], baseAIROptions[key], false);
+						result[key] = mergeAIROptions(newValue, baseValue, false);
 					}
 					else if(key === AIROptions.FILES)
 					{
-						result[key] = mergeArrays(airOptions[key] as Array, baseAIROptions[key] as Array);
-					}
-					else if(key === AIROptions.EXTDIR)
-					{
-						result[key] = mergeArrays(airOptions[key] as Array, baseAIROptions[key] as Array);
+						result[key] = mergeArrayWithComparisonKey(newValue as Array, baseValue as Array, AIROptions.FILES_PATH);
+					}
+					else if(Array.isArray(newValue) && Array.isArray(baseValue))
+					{
+						result[key] = mergeArrays(newValue as Array, baseValue as Array);
+					}
+					else
+					{
+						result[key] = mergeObjectsSimple(airOptions[key], baseAIROptions[key]);
 					}
 				}
 				else if(hasConfig)


Fixed LightTest.

Fixed LightTest.

--- Bin/Data/Scripts/LightTest.as
+++ Bin/Data/Scripts/LightTest.as
@@ -3,7 +3,6 @@
 Scene@ testScene;
 Camera@ camera;
 Node@ cameraNode;
-PostProcess@ edgeFilter;

 float yaw = 0.0;
 float pitch = 0.0;
@@ -117,12 +116,14 @@

     if (!engine.headless)
     {
-        edgeFilter = PostProcess();
-        edgeFilter.parameters = cache.GetResource("XMLFile", "PostProcess/EdgeFilter.xml");
-        edgeFilter.active = false; // Start out disabled
-
         renderer.viewports[0] = Viewport(testScene, camera);
-        renderer.viewports[0].AddPostProcess(edgeFilter);
+
+        // Add FXAA effect to the renderpath. Clone the default renderpath so that we don't affect it
+        RenderPath@ newRenderPath = renderer.viewports[0].renderPath.Clone();
+        newRenderPath.Append(cache.GetResource("XMLFile", "PostProcess/EdgeFilter.xml"));
+        newRenderPath.SetActive("Bloom", false);
+        newRenderPath.SetActive("EdgeFilter", false);
+        renderer.viewports[0].renderPath = newRenderPath;

         audio.listener = cameraNode.CreateComponent("SoundListener");
     }
@@ -191,7 +192,7 @@
         if (input.keyDown['D'])
             cameraNode.TranslateRelative(Vector3(10, 0, 0) * timeStep * speedMultiplier);

-        if (input.keyPress['2'])
+        if (input.keyPress['1'])
         {
             int quality = renderer.textureQuality;
             ++quality;
@@ -200,7 +201,7 @@
             renderer.textureQuality = quality;
         }

-        if (input.keyPress['3'])
+        if (input.keyPress['2'])
         {
             int quality = renderer.materialQuality;
             ++quality;
@@ -209,13 +210,13 @@
             renderer.materialQuality = quality;
         }

+        if (input.keyPress['3'])
+            renderer.specularLighting = !renderer.specularLighting;
+
         if (input.keyPress['4'])
-            renderer.specularLighting = !renderer.specularLighting;
+            renderer.drawShadows = !renderer.drawShadows;

         if (input.keyPress['5'])
-            renderer.drawShadows = !renderer.drawShadows;
-
-        if (input.keyPress['6'])
         {
             int size = renderer.shadowMapSize;
             size *= 2;
@@ -224,25 +225,25 @@
             renderer.shadowMapSize = size;
         }

+        if (input.keyPress['6'])
+            renderer.shadowQuality = renderer.shadowQuality + 1;
+
         if (input.keyPress['7'])
-            renderer.shadowQuality = renderer.shadowQuality + 1;
-
-        if (input.keyPress['8'])
         {
             bool occlusion = renderer.maxOccluderTriangles > 0;
             occlusion = !occlusion;
             renderer.maxOccluderTriangles = occlusion ? 5000 : 0;
         }

-        if (input.keyPress['9'])
+        if (input.keyPress['8'])
             renderer.dynamicInstancing = !renderer.dynamicInstancing;

         if (input.keyPress['O'])
             camera.orthographic = !camera.orthographic;

         if (input.keyPress['F'])
-            edgeFilter.active = !edgeFilter.active;
-
+            renderer.viewports[0].renderPath.ToggleActive("EdgeFilter");
+
         if (input.keyPress['T'])
             debugHud.Toggle(DEBUGHUD_SHOW_PROFILER);


Transferred from the Adobe Open Source Subversion Repository

Revision: 11810
Author:   rfrishbe@adobe.com
Date:     2009-11-14T01:07:56.269875Z

Log Message:
-----------
Fixing up some logic around pauseWhenHidden (there were some bugs) and also changing some logic around enabling/disabling.  Also fixing a small documentation bug on VideoPlayer2.scaleMode.

When a video component (or one of its ancestors) becomes disabled, the video pauses.  When it becomes re-enabled, we do not play the video.  This behavior is baked in to VideoDisplay and does not depend on the pauseWhenHidden flag.

QE notes: -
Doc notes: -
Bugs: SDK-24182, SDK-24181, SDK-24193
Reviewer: Kevin
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer2.as</path>

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

--- frameworks/projects/spark/src/spark/components/VideoPlayer.as
+++ frameworks/projects/spark/src/spark/components/VideoPlayer.as
@@ -651,42 +651,6 @@

     //--------------------------------------------------------------------------
     //
-    //  Overridden properties
-    //
-    //--------------------------------------------------------------------------
-
-    //----------------------------------
-    //  enabled
-    //----------------------------------
-
-    /**
-     *
-     *
-     *  Setting enabled to false disables the UI and
-     *  pauses the video if it was currently playing.  Re-enabling the component
-     *  does not cause the video to continue playing again; you must
-     *  explicitly call play().
-     *
-     *
Even though the component is initially paused while disabled,
-     *  if you want to play the video or perform some other action
-     *  while disabled, you may still do so through method calls, like
-     *  play().

-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    override public function set enabled(value:Boolean):void
-    {
-        super.enabled = value;
-
-        if (videoDisplay)
-            videoDisplay.enabled = value;
-    }
-
-    //--------------------------------------------------------------------------
-    //
     //  Properties
     //
     //--------------------------------------------------------------------------
@@ -1029,7 +993,7 @@
     //  scaleMode
     //----------------------------------

-    [Inspectable(Category="General", defaultValue="true")]
+    [Inspectable(Category="General", enumeration="none,stretch,letterbox,zoom", defaultValue="letterbox")]

     /**
      *  @copy spark.components.VideoDisplay#scaleMode
@@ -1362,8 +1326,6 @@

             videoDisplayProperties = newVideoProperties;

-            videoDisplay.enabled = enabled;
-
             if (volumeBar)
             {
                 volumeBar.value = videoDisplay.volume;


Disable attribute intermediate edits for array/struct length attributes such as "Anim States Count". Otherwise emptying the line edit would apply the value 0. Fixes #559.

--- Bin/Data/Scripts/Editor/AttributeEditor.as
+++ Bin/Data/Scripts/Editor/AttributeEditor.as
@@ -313,7 +313,9 @@
         // No enums, create a numeric editor
         LineEdit@ attrEdit = CreateAttributeLineEdit(parent, serializables, index, subIndex);
         CreateDragSlider(attrEdit);
-        SubscribeToEvent(attrEdit, "TextChanged", "EditAttribute");
+        // If the attribute is a counter for things like billboards or animation states, disable apply at each change
+        if (info.name.Find(" Count", 0, false) == -1)
+            SubscribeToEvent(attrEdit, "TextChanged", "EditAttribute");
         SubscribeToEvent(attrEdit, "TextFinished", "EditAttribute");
         // If the attribute is a node ID, make it a drag/drop target
         if (info.name.Contains("NodeID", false) || info.name.Contains("Node ID", false) || (info.mode & AM_NODEID) != 0)


XHR, Flash: Fix file name extracting regex to take into account query string.

--- src/flash/src/com/XMLHttpRequest.as
+++ src/flash/src/com/XMLHttpRequest.as
@@ -163,7 +163,7 @@
 				return null;
 			}

-			blob = new File([_response], { name: _options.url.replace(/^.+?\/([\w\-\.]+)$/, '$1').toLowerCase() });
+			blob = new File([_response], { name: _options.url.replace(/^.+?\/([\w\-\.]+)(\?.*$|$)/, '$1').toLowerCase() });
 			Moxie.compFactory.add(blob.uid, blob);
 			return blob.toObject();
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 10633
Author:   dloverin@adobe.com
Date:     2009-09-28T13:24:30.559033Z

Log Message:
-----------
Use styleManager instance instead of StyleManager singleton (framework and compiler generated code)

Modified compiler generated style code for the FlexInit class. The style related changes are only available with the -keep option. AST generation is coming later.

Only the framework project is changed here. The other projects are will be changed soon.

QE notes: None.
Doc notes: None.
Bugs:
Reviewer: Alex and Paul
Tests run: checkintests, all Mustella tests(no new failures)
Is noteworthy for integration: no.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ButtonBarButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/HaloBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/accordionClasses/AccordionHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/CanvasLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.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/framework/src/mx/managers/dragClasses/DragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/configuration_en.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressIndeterminateSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DateChooserMonthArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/SliderThumbSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/DividedBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollThumbSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleModule.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Form.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleManager2.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/TitleBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/NumericStepperDownSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PopUpButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/ProgrammaticSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/TabSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/textClasses/TextRange.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/LayoutContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/AccordionHeaderSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/CheckBoxIcon.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/NumericStepperUpSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/RadioButtonIcon.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/SetStyle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ComboBoxArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeaderBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/MenuBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressBarSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/BusyCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/Request.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/SliderTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DataGridHeaderBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SetStyleActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm</path>

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

--- frameworks/projects/mx/src/mx/skins/halo/NumericStepperUpSkin.as
+++ frameworks/projects/mx/src/mx/skins/halo/NumericStepperUpSkin.as
@@ -145,7 +145,7 @@
 		var cornerRadius:Number = getStyle("cornerRadius");
 		var fillAlphas:Array = getStyle("fillAlphas");
 		var fillColors:Array = getStyle("fillColors");
-		StyleManager.getColorNames(fillColors);
+        styleManager.getColorNames(fillColors);
 		var highlightAlphas:Array = getStyle("highlightAlphas");
 		var themeColor:uint = getStyle("themeColor");


Transferred from the Adobe Open Source Subversion Repository

Revision: 12625
Author:   mhorn@adobe.com
Date:     2009-12-07T21:50:25.279856Z

Log Message:
-----------
asdoc updates for l10n; add examples

Modified Paths:
--------------
<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/filters/ColorMatrixFilter.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/GradientGlowFilter.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/GlowFilter.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/filters/GradientBevelFilter.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@1284706 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/filters/ConvolutionFilter.as
+++ frameworks/projects/spark/src/spark/filters/ConvolutionFilter.as
@@ -65,6 +65,8 @@
 *  />
 *  </pre>
 *
+* @includeExample examples/ConvolutionFilterExample.mxml
+*
 * @langversion 3.0
 * @playerversion Flash 10
 * @playerversion AIR 1.5


fix warnings in LanguageTest, changing 'insteadof' for 'is'

--- examples/LanguageTests/src/LanguageTests.as
+++ examples/LanguageTests/src/LanguageTests.as
@@ -39,28 +39,28 @@

 		var b:B = new B();

-		testResult = this instanceof Sprite;
-		trace('this instanceof Sprite - true: ' + testResult.toString());
-		testResult = this instanceof B;
-		trace('this instanceof classes.B - false: ' + testResult.toString());
-		testResult = b instanceof classes.B;
-		trace('b instanceof classes.B - true: ' + testResult.toString());
-		testResult = b instanceof classes.C;
-		trace('b instanceof classes.C - true: ' + testResult.toString());
-		testResult = b instanceof interfaces.IC;
-		trace('b instanceof interfaces.IC - false: ' + testResult.toString());
-		testResult = b instanceof interfaces.IF;
-		trace('b instanceof interfaces.IF - false: ' + testResult.toString());
-		testResult = this instanceof IA;
-		trace('this instanceof interfaces.IA - false: ' + testResult.toString());
-		testResult = this instanceof IB;
-		trace('this instanceof interfaces.IB - false: ' + testResult.toString());
-		testResult = this instanceof IC;
-		trace('this instanceof interfaces.IC - false: ' + testResult.toString());
-		testResult = this instanceof ID;
-		trace('this instanceof interfaces.ID - false: ' + testResult.toString());
-		testResult = this instanceof IE;
-		trace('this instanceof interfaces.IE - false: ' + testResult.toString());
+		testResult = this is Sprite;
+		trace('this is Sprite - true: ' + testResult.toString());
+		testResult = this is B;
+		trace('this is classes.B - false: ' + testResult.toString());
+		testResult = b is classes.B;
+		trace('b is classes.B - true: ' + testResult.toString());
+		testResult = b is classes.C;
+		trace('b is classes.C - true: ' + testResult.toString());
+		testResult = b is interfaces.IC;
+		trace('b is interfaces.IC - false: ' + testResult.toString());
+		testResult = b is interfaces.IF;
+		trace('b is interfaces.IF - false: ' + testResult.toString());
+		testResult = this is IA;
+		trace('this is interfaces.IA - false: ' + testResult.toString());
+		testResult = this is IB;
+		trace('this is interfaces.IB - false: ' + testResult.toString());
+		testResult = this is IC;
+		trace('this is interfaces.IC - false: ' + testResult.toString());
+		testResult = this is ID;
+		trace('this is interfaces.ID - false: ' + testResult.toString());
+		testResult = this is IE;
+		trace('this is interfaces.IE - false: ' + testResult.toString());
 		trace();
 		testResult = this is Sprite;
 		trace('this is Sprite - true: ' + testResult.toString());


:memo:

:memo:

--- index.as
+++ index.as
@@ -5,17 +5,39 @@
 // [x] If Expression
 // [x] UNIT Type / Value
 // [ ] DIVERGENT Type / Value
+// [ ]   Global VS Local (Divergent Scope)
+// [ ]   `break` and `continue` are considered divergent (block)
 // [ ] Repeat: Break
 // [ ] Repeat: Continue

+
 // #[divergent]
 def main(): int32 {
-	// let a = if false { 302; } else { return 4; };     // [ ] OK
-	// let d = false or (return 20);                   // [ ] OK
-	let d = (return 200) or true;                   // [ ] OK
-	// let d = false or true;                   // [ ] OK
-	// let b = (return 30) + 10;                       // [ ] ERROR
-    // let c = return 32;                              // [x] OK
+	let a = if false { 302; } else { return 4; };   // [ ] OK
+	// let d = false or (return 20);                   // [x] OK
+	// let d = (return 200) or true;                   // [x] OK
+	// let d = false or true;                          // [x] OK
+	// let b = (return 30) + 10;                       // [x] ERROR
+  // let c = return 32;                              // [x] OK
  	// return c;                                       // [x] ERROR
+
+	// [ ] OK
+	// let counter = 0;
+	// while counter < 10 {
+	// 	counter = counter + if counter < 5 { 1; } else { break; };
+	// 	counter = counter + if counter < 5 { 1; } else { continue; };
+	// }
+
+	let num = if false {
+		320;
+	} else {
+		while true {
+			break; // Divergent to the while loop but NOT the IF
+		}
+		while false {
+			return 3; // Divergent to the while loop but NOT the IF
+		}
+	}
+
  	return 3;
 }


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

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


Handle the case where userAgent is null or undefined.

--- swfcat.as
+++ swfcat.as
@@ -159,13 +159,14 @@
             var ua:String;

             ua = ExternalInterface.call("window.navigator.userAgent.toString");
-
-            for (var i:uint = 0; i < UA_LIST.length; i++) {
-                var re:RegExp = UA_LIST[i];
-
-                if (ua.match(re)) {
-                    puts("Disabling because User-Agent matched " + re + ".");
-                    return true;
+            if (ua != null) {
+                for (var i:uint = 0; i < UA_LIST.length; i++) {
+                    var re:RegExp = UA_LIST[i];
+
+                    if (ua.match(re)) {
+                        puts("Disabling because User-Agent matched " + re + ".");
+                        return true;
+                    }
                 }
             }


Use a separate Badge class for UI.

Use a separate Badge class for UI.

Ported from rtmfp branch.

--- swfcat.as
+++ swfcat.as
@@ -36,42 +36,21 @@
         /* TextField for debug output. */
         private var output_text:TextField;

-        private var fac_addr:Object;
+        /* UI shown when debug is off. */
+        private var badge:Badge;

         /* Number of proxy pairs currently connected (up to
            MAX_NUM_PROXY_PAIRS). */
         private var num_proxy_pairs:int = 0;
-        /* Number of proxy pairs ever connected. */
-        private var total_proxy_pairs:int = 0;
+
+        private var fac_addr:Object;

         public var rate_limit:RateLimit;
-
-        /* Badge with a client counter */
-        [Embed(source="badge.png")]
-        private var BadgeImage:Class;
-        private var tot_client_count_tf:TextField;
-        private var tot_client_count_fmt:TextFormat;
-        private var cur_client_count_tf:TextField;
-        private var cur_client_count_fmt:TextFormat;

         public function puts(s:String):void
         {
             output_text.appendText(s + "\n");
             output_text.scrollV = output_text.maxScrollV;
-        }
-
-        public function update_client_count():void
-        {
-            /* Update total client count. */
-            if (String(total_proxy_pairs).length == 1)
-                tot_client_count_tf.text = "0" + String(total_proxy_pairs);
-            else
-                tot_client_count_tf.text = String(total_proxy_pairs);
-
-            /* Update current client count. */
-            cur_client_count_tf.text = "";
-            for(var i:Number=0; i<num_proxy_pairs; i++)
-                cur_client_count_tf.appendText(".");;
         }

         public function swfcat()
@@ -87,38 +66,7 @@
             output_text.backgroundColor = 0x001f0f;
             output_text.textColor = 0x44cc44;

-            /* Setup client counter for badge. */
-            tot_client_count_fmt = new TextFormat();
-            tot_client_count_fmt.color = 0xFFFFFF;
-            tot_client_count_fmt.align = "center";
-            tot_client_count_fmt.font = "courier-new";
-            tot_client_count_fmt.bold = true;
-            tot_client_count_fmt.size = 10;
-            tot_client_count_tf = new TextField();
-            tot_client_count_tf.width = 20;
-            tot_client_count_tf.height = 17;
-            tot_client_count_tf.background = false;
-            tot_client_count_tf.defaultTextFormat = tot_client_count_fmt;
-            tot_client_count_tf.x=47;
-            tot_client_count_tf.y=0;
-
-            cur_client_count_fmt = new TextFormat();
-            cur_client_count_fmt.color = 0xFFFFFF;
-            cur_client_count_fmt.align = "center";
-            cur_client_count_fmt.font = "courier-new";
-            cur_client_count_fmt.bold = true;
-            cur_client_count_fmt.size = 10;
-            cur_client_count_tf = new TextField();
-            cur_client_count_tf.width = 20;
-            cur_client_count_tf.height = 17;
-            cur_client_count_tf.background = false;
-            cur_client_count_tf.defaultTextFormat = cur_client_count_fmt;
-            cur_client_count_tf.x=47;
-            cur_client_count_tf.y=6;
-
-
-            /* Update the client counter on badge. */
-            update_client_count();
+            badge = new Badge();

             if (RATE_LIMIT)
                 rate_limit = new BucketRateLimit(RATE_LIMIT * RATE_LIMIT_HISTORY, RATE_LIMIT_HISTORY);
@@ -138,13 +86,8 @@

             if (this.loaderInfo.parameters["debug"])
                 addChild(output_text);
-            else {
-                addChild(new BadgeImage());
-                /* Tried unsuccessfully to add counter to badge. */
-                /* For now, need two addChilds :( */
-                addChild(tot_client_count_tf);
-                addChild(cur_client_count_tf);
-            }
+            else
+                addChild(badge);

             fac_addr = get_param_addr("facilitator", DEFAULT_FACILITATOR_ADDR);
             if (!fac_addr) {
@@ -236,17 +179,13 @@
             }

             num_proxy_pairs++;
-            total_proxy_pairs++;
-            /* Update the client count on the badge. */
-            update_client_count();
+            badge.proxy_begin();

             proxy_pair = new ProxyPair(this, client_addr, relay_addr);
             proxy_pair.addEventListener(Event.COMPLETE, function(e:Event):void {
                 proxy_pair.log("Complete.");
-
                 num_proxy_pairs--;
-                /* Update the client count on the badge. */
-                update_client_count();
+                badge.proxy_end();
             });
             proxy_pair.connect();

@@ -272,6 +211,8 @@
 }

 import flash.display.Sprite;
+import flash.text.TextFormat;
+import flash.text.TextField;
 import flash.events.Event;
 import flash.events.EventDispatcher;
 import flash.events.IOErrorEvent;
@@ -284,6 +225,87 @@
 import flash.utils.getTimer;
 import flash.utils.setTimeout;

+class Badge extends flash.display.Sprite
+{
+    /* Number of proxy pairs currently connected. */
+    private var num_proxy_pairs:int = 0;
+    /* Number of proxy pairs ever connected. */
+    private var total_proxy_pairs:int = 0;
+
+    [Embed(source="badge.png")]
+    private var BadgeImage:Class;
+    private var tot_client_count_tf:TextField;
+    private var tot_client_count_fmt:TextFormat;
+    private var cur_client_count_tf:TextField;
+    private var cur_client_count_fmt:TextFormat;
+
+    public function Badge()
+    {
+        /* Setup client counter for badge. */
+        tot_client_count_fmt = new TextFormat();
+        tot_client_count_fmt.color = 0xFFFFFF;
+        tot_client_count_fmt.align = "center";
+        tot_client_count_fmt.font = "courier-new";
+        tot_client_count_fmt.bold = true;
+        tot_client_count_fmt.size = 10;
+        tot_client_count_tf = new TextField();
+        tot_client_count_tf.width = 20;
+        tot_client_count_tf.height = 17;
+        tot_client_count_tf.background = false;
+        tot_client_count_tf.defaultTextFormat = tot_client_count_fmt;
+        tot_client_count_tf.x=47;
+        tot_client_count_tf.y=0;
+
+        cur_client_count_fmt = new TextFormat();
+        cur_client_count_fmt.color = 0xFFFFFF;
+        cur_client_count_fmt.align = "center";
+        cur_client_count_fmt.font = "courier-new";
+        cur_client_count_fmt.bold = true;
+        cur_client_count_fmt.size = 10;
+        cur_client_count_tf = new TextField();
+        cur_client_count_tf.width = 20;
+        cur_client_count_tf.height = 17;
+        cur_client_count_tf.background = false;
+        cur_client_count_tf.defaultTextFormat = cur_client_count_fmt;
+        cur_client_count_tf.x=47;
+        cur_client_count_tf.y=6;
+
+        addChild(new BadgeImage());
+        addChild(tot_client_count_tf);
+        addChild(cur_client_count_tf);
+
+        /* Update the client counter on badge. */
+        update_client_count();
+    }
+
+    public function proxy_begin():void
+    {
+        num_proxy_pairs++;
+        total_proxy_pairs++;
+        update_client_count();
+    }
+
+    public function proxy_end():void
+    {
+        num_proxy_pairs--;
+        update_client_count();
+    }
+
+    private function update_client_count():void
+    {
+        /* Update total client count. */
+        if (String(total_proxy_pairs).length == 1)
+            tot_client_count_tf.text = "0" + String(total_proxy_pairs);
+        else
+            tot_client_count_tf.text = String(total_proxy_pairs);
+
+        /* Update current client count. */
+        cur_client_count_tf.text = "";
+        for(var i:Number = 0; i < num_proxy_pairs; i++)
+            cur_client_count_tf.appendText(".");
+    }
+}
+
 class RateLimit
 {
     public function RateLimit()


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

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

 package mx.binding
 {


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

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

 package mx.core
 {


added additional checks

added additional checks

Change-Id: Ie0562bd12398311e5166235c6fc6ddf6798e3701

--- WeaveUI/src/weave/application/VisApplication.as
+++ WeaveUI/src/weave/application/VisApplication.as
@@ -539,12 +539,12 @@

 		private function handleScreenshotImageSize():void
 		{
-			if(detectLinkableObjectChange(this,WeaveAPI.ErrorManager))
+			if (WeaveAPI.ErrorManager.errors.length)
 			{
 				handleRemoveScreenshot();
 				return;
 			}
-			if(_screenshot)
+			if (_screenshot)
 			{
 				var workspace:Canvas = visDesktop.internalCanvas;
 				_screenshot.width = this.width;
@@ -1100,10 +1100,13 @@

 		private function handleRemoveScreenshot(event:Event=null):void
 		{
-			_snapshotTimer.stop();
-			_snapshotTimer.removeEventListener(TimerEvent.TIMER,handleSnapShotTimer);
-			PopUpManager.removePopUp(_screenshot);
-			_screenshot = null;
+			if (_screenshot)
+			{
+				_snapshotTimer.stop();
+				_snapshotTimer.removeEventListener(TimerEvent.TIMER,handleSnapShotTimer);
+				PopUpManager.removePopUp(_screenshot);
+				_screenshot = null;
+			}
 		}

 		private function createGlobalObject(classDef:Class, name:String = null):*


change icons default size

change icons default size

--- bin/Data/Scripts/Editor/EditorViewDebugIcons.as
+++ bin/Data/Scripts/Editor/EditorViewDebugIcons.as
@@ -62,7 +62,7 @@
 const int splinePathResolution = 16;
 const float splineStep = 1.0f / splinePathResolution;
 bool debugIconsShow = true;
-Vector2 debugIconsSize = Vector2(0.025, 0.025);
+Vector2 debugIconsSize = Vector2(0.015, 0.015);
 Vector2 debugIconsSizeSmall = debugIconsSize / 1.5;
 Vector2 debugIconsSizeBig = debugIconsSize * 1.5;
 Vector2 debugIconsMaxSize = debugIconsSize * 50;
@@ -207,7 +207,7 @@

                         if(iconType==ICON_PARTICLE_EMITTER)
                         {
-                            bb.size = ClampToIconMaxSize(Max(debugIconsSizeBig * distance, debugIconsSizeBig));
+                            bb.size = ClampToIconMaxSize(Max(debugIconsSize * distance, debugIconsSize));
                         }
                         else if (iconType==ICON_TRIGGER)
                         {


should be seekFromLevel

should be seekFromLevel

--- src/org/mangui/hls/playlist/ManifestLoader.as
+++ src/org/mangui/hls/playlist/ManifestLoader.as
@@ -2,11 +2,11 @@
     import flash.events.*;
     import flash.net.*;
     import flash.utils.*;
-
+
     import org.mangui.hls.*;
     import org.mangui.hls.model.Level;
     import org.mangui.hls.model.Fragment;
-
+
     CONFIG::LOGGING {
     import org.mangui.hls.utils.Log;
     }
@@ -314,7 +314,7 @@
             } else {
                 if (HLSSettings.seekFromLevel > 0) {
                     // adjust start level using a rule by 3
-                    seek_level += Math.round(HLSSettings.startFromLevel * (_levels.length - seek_level - 1));
+                    seek_level += Math.round(HLSSettings.seekFromLevel * (_levels.length - seek_level - 1));
                 }
             }
             CONFIG::LOGGING {


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

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

 package mx.messaging
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/core/IFontContextComponent.as
+++ frameworks/projects/framework/src/mx/core/IFontContextComponent.as
@@ -23,6 +23,11 @@
  *  TextField objects can only use embedded fonts if they are created
  *  in the context of the embedded font.
  *  This interface provides for tracking the font context of a component.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public interface IFontContextComponent
 {
@@ -38,6 +43,11 @@

     /**
      *  The module factory that provides the font context for this component.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get fontContext():IFlexModuleFactory;


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

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

 package mx.core
 {